@shiftlabs/codemode0.48.0
Code mode for agents — turn any API or command into a callable action
Untested on omp
This is a pi package. No one has reported whether it works on omp yet. If you try it, add your result below.
Reports 0
No reports yet.
Readme
codemode
The codemode library and command-line interface, published on npm as @shiftlabs/codemode. See the repository README and the documentation for installation and usage.
Layout
| Path | Contents |
|---|---|
src/ |
The engine, plugin API and loader, connections, credentials, package manager, MCP manager, and commands |
src/tests/ |
The test suite |
scripts/ |
Repository tooling, such as the generator for the bundled plugin table |
dist/plugins/ |
The bundled plugins, copied from packages/codemode-plugins/dist by the build |
Scripts
Run these from this folder:
| Task | Command |
|---|---|
| Run the command-line interface from source | bun run dev -- exec 'return 1 + 2' |
| Compile the library and bundle the plugins | bun run build |
| Run the tests | bun run test |
| Typecheck the source and the tests | bun run typecheck |
| Lint and check formatting | bun run check |
build compiles src/ with tsc, builds codemode-plugins, and copies the result into dist/plugins/, so the published package contains every bundled plugin.
Regenerate the table in docs/bundled-plugins.md after adding or changing a bundled plugin. The script reads the built plugins:
bun run build
node scripts/generate-plugin-table.js --write