@kynver-app/tools-cli
v0.0.6
Published
Kynver Tool Marketplace authoring CLI — scaffold, list, and locally invoke a tool against the same sandbox harness Kynver runs in production.
Readme
@kynver-app/tools-cli (kynver-tool)
Author CLI for the Kynver Tool Marketplace — scaffold a tool project, list its tools, and invoke them locally against the same sandbox harness Kynver runs in production.
Phase-1 alpha. Run
npm run buildin this package (builds@kynver-app/tool-sdkfirst for tests). Publish SDK then CLI to npm.
Commands
# Scaffold a new tool project
kynver-tool init my-tool
cd my-tool
npm install
# List the tools your module exports
kynver-tool list
# Run one tool locally — instant feedback, no account, no network
kynver-tool invoke greet --args '{"name":"world"}'invoke uses the same harness + createGuardedFetch Kynver runs in production. What works here also works once it's deployed.
Flags
| Flag | Meaning |
|---|---|
| --module <path> | Path to the tool module (default ./tool.ts) |
| --args '<json>' | JSON arguments for invoke |
| --egress <h1,h2> | Egress allow-list for ctx.fetch (else read from kynver.tool.json) |
| --dir <path> | (init) Target directory (default ./<name>) |
From inside this monorepo
npm run marketplace:cli -- init my-tool
npm run marketplace:cli -- list --module ./tool.ts
npm run marketplace:cli -- invoke greet --args '{"name":"world"}'See the Tool Marketplace map.
