mirror of
https://github.com/getcompanion-ai/co-mono.git
synced 2026-04-15 14:03:49 +00:00
Add note about npm dependencies in extensions
This commit is contained in:
parent
f4a3724b7e
commit
c8cfef7225
1 changed files with 2 additions and 0 deletions
|
|
@ -143,6 +143,8 @@ The `package.json` approach enables:
|
|||
| `@mariozechner/pi-ai` | AI utilities (`StringEnum` for Google-compatible enums) |
|
||||
| `@mariozechner/pi-tui` | TUI components for custom rendering |
|
||||
|
||||
npm dependencies work too. Add a `package.json` next to your extension (or in a parent directory), run `npm install`, and imports from `node_modules/` are resolved automatically.
|
||||
|
||||
Node.js built-ins (`node:fs`, `node:path`, etc.) are also available.
|
||||
|
||||
## Writing an Extension
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue