@include-tools/toolbox-pi-extension
v0.1.0-preview.0
Published
pi extension for toolbox codemode sessions
Downloads
79
Maintainers
Readme
@include-tools/toolbox-pi-extension
pi extension for toolbox codemode sessions.
Install
Preview:
pi install npm:@include-tools/toolbox-pi-extension@nextUse
Auto-load a toolset at startup:
pi --toolset ./toolbox.toolset.json -e npm:@include-tools/toolbox-pi-extension@nextOr load a toolset after startup:
/toolbox-load
/toolbox-load ./some-other.toolset.jsonUnload the current toolbox session:
/toolbox-unloadOnce loaded, the extension exposes super_tool. Invoke it with:
typescript_cell_source: calc.calc.add(2, 3)Notes
super_toolis backed by toolboxcodemode.- The extension keeps one composed codemode handle open per pi session.
--toolsetand/toolbox-loadboth resolve paths relative to the current working directory.sdkbridgedoes not currently expose compose-timeeffects, so this extension does not add an effects option.TOOLBOX_BINARY_PATHcan be used to point at an explicit toolbox binary for local development or debugging.
Publishing
First manual preview publish from a local machine:
npm run pack:dry-run
node ./scripts/publish-npm.mjs --channel previewAfter the first successful publish, GitHub Actions can publish subsequent tagged releases with npm trusted publishing.
