@useconvoy/cli 0.48.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +90 -0
- package/README.md +495 -0
- package/dist/bin/convoy.d.ts +2 -0
- package/dist/bin/convoy.js +129 -0
- package/dist/bin/convoy.js.map +1 -0
- package/dist/marketplace/.claude-plugin/marketplace.json +14 -0
- package/dist/marketplace/opensana/.claude-plugin/plugin.json +5 -0
- package/dist/marketplace/opensana/README.md +90 -0
- package/dist/marketplace/opensana/skills/tasks/SKILL.md +133 -0
- package/dist/marketplace/opensana/skills/tasks/references/mcp-setup.md +164 -0
- package/dist/src/agent/app/chunk-flush-buffer.d.ts +35 -0
- package/dist/src/agent/app/chunk-flush-buffer.js +133 -0
- package/dist/src/agent/app/chunk-flush-buffer.js.map +1 -0
- package/dist/src/agent/app/chunk-scrub.d.ts +9 -0
- package/dist/src/agent/app/chunk-scrub.js +120 -0
- package/dist/src/agent/app/chunk-scrub.js.map +1 -0
- package/dist/src/agent/app/interaction-router.d.ts +16 -0
- package/dist/src/agent/app/interaction-router.js +29 -0
- package/dist/src/agent/app/interaction-router.js.map +1 -0
- package/dist/src/agent/app/runner.d.ts +41 -0
- package/dist/src/agent/app/runner.js +353 -0
- package/dist/src/agent/app/runner.js.map +1 -0
- package/dist/src/agent/app/runtime-config.d.ts +3 -0
- package/dist/src/agent/app/runtime-config.js +4 -0
- package/dist/src/agent/app/runtime-config.js.map +1 -0
- package/dist/src/agent/app/thread-attachment-cache.d.ts +17 -0
- package/dist/src/agent/app/thread-attachment-cache.js +124 -0
- package/dist/src/agent/app/thread-attachment-cache.js.map +1 -0
- package/dist/src/agent/app/thread-processor.d.ts +40 -0
- package/dist/src/agent/app/thread-processor.js +792 -0
- package/dist/src/agent/app/thread-processor.js.map +1 -0
- package/dist/src/agent/app/worktree-op-processor.d.ts +27 -0
- package/dist/src/agent/app/worktree-op-processor.js +173 -0
- package/dist/src/agent/app/worktree-op-processor.js.map +1 -0
- package/dist/src/agent/runtimes/agent-instructions.d.ts +16 -0
- package/dist/src/agent/runtimes/agent-instructions.js +33 -0
- package/dist/src/agent/runtimes/agent-instructions.js.map +1 -0
- package/dist/src/agent/runtimes/claudeCode/continuation.d.ts +1 -0
- package/dist/src/agent/runtimes/claudeCode/continuation.js +30 -0
- package/dist/src/agent/runtimes/claudeCode/continuation.js.map +1 -0
- package/dist/src/agent/runtimes/claudeCode/detect.d.ts +12 -0
- package/dist/src/agent/runtimes/claudeCode/detect.js +109 -0
- package/dist/src/agent/runtimes/claudeCode/detect.js.map +1 -0
- package/dist/src/agent/runtimes/claudeCode/interactions.d.ts +13 -0
- package/dist/src/agent/runtimes/claudeCode/interactions.js +167 -0
- package/dist/src/agent/runtimes/claudeCode/interactions.js.map +1 -0
- package/dist/src/agent/runtimes/claudeCode/models.d.ts +3 -0
- package/dist/src/agent/runtimes/claudeCode/models.js +16 -0
- package/dist/src/agent/runtimes/claudeCode/models.js.map +1 -0
- package/dist/src/agent/runtimes/claudeCode/prompts.d.ts +1 -0
- package/dist/src/agent/runtimes/claudeCode/prompts.js +5 -0
- package/dist/src/agent/runtimes/claudeCode/prompts.js.map +1 -0
- package/dist/src/agent/runtimes/claudeCode/runner.d.ts +32 -0
- package/dist/src/agent/runtimes/claudeCode/runner.js +941 -0
- package/dist/src/agent/runtimes/claudeCode/runner.js.map +1 -0
- package/dist/src/agent/runtimes/claudeCode/runtime.d.ts +2 -0
- package/dist/src/agent/runtimes/claudeCode/runtime.js +126 -0
- package/dist/src/agent/runtimes/claudeCode/runtime.js.map +1 -0
- package/dist/src/agent/runtimes/claudeCode/streaming.d.ts +8 -0
- package/dist/src/agent/runtimes/claudeCode/streaming.js +88 -0
- package/dist/src/agent/runtimes/claudeCode/streaming.js.map +1 -0
- package/dist/src/agent/runtimes/codex/app-server-rpc.d.ts +26 -0
- package/dist/src/agent/runtimes/codex/app-server-rpc.js +109 -0
- package/dist/src/agent/runtimes/codex/app-server-rpc.js.map +1 -0
- package/dist/src/agent/runtimes/codex/app-server-runner.d.ts +59 -0
- package/dist/src/agent/runtimes/codex/app-server-runner.js +688 -0
- package/dist/src/agent/runtimes/codex/app-server-runner.js.map +1 -0
- package/dist/src/agent/runtimes/codex/commands.d.ts +23 -0
- package/dist/src/agent/runtimes/codex/commands.js +25 -0
- package/dist/src/agent/runtimes/codex/commands.js.map +1 -0
- package/dist/src/agent/runtimes/codex/detect.d.ts +5 -0
- package/dist/src/agent/runtimes/codex/detect.js +17 -0
- package/dist/src/agent/runtimes/codex/detect.js.map +1 -0
- package/dist/src/agent/runtimes/codex/models.d.ts +2 -0
- package/dist/src/agent/runtimes/codex/models.js +4 -0
- package/dist/src/agent/runtimes/codex/models.js.map +1 -0
- package/dist/src/agent/runtimes/codex/runner.d.ts +46 -0
- package/dist/src/agent/runtimes/codex/runner.js +298 -0
- package/dist/src/agent/runtimes/codex/runner.js.map +1 -0
- package/dist/src/agent/runtimes/codex/runtime.d.ts +10 -0
- package/dist/src/agent/runtimes/codex/runtime.js +73 -0
- package/dist/src/agent/runtimes/codex/runtime.js.map +1 -0
- package/dist/src/agent/runtimes/contracts.d.ts +215 -0
- package/dist/src/agent/runtimes/contracts.js +33 -0
- package/dist/src/agent/runtimes/contracts.js.map +1 -0
- package/dist/src/agent/runtimes/cursor/commands.d.ts +7 -0
- package/dist/src/agent/runtimes/cursor/commands.js +39 -0
- package/dist/src/agent/runtimes/cursor/commands.js.map +1 -0
- package/dist/src/agent/runtimes/cursor/detect.d.ts +17 -0
- package/dist/src/agent/runtimes/cursor/detect.js +54 -0
- package/dist/src/agent/runtimes/cursor/detect.js.map +1 -0
- package/dist/src/agent/runtimes/cursor/models.d.ts +9 -0
- package/dist/src/agent/runtimes/cursor/models.js +97 -0
- package/dist/src/agent/runtimes/cursor/models.js.map +1 -0
- package/dist/src/agent/runtimes/cursor/runner.d.ts +36 -0
- package/dist/src/agent/runtimes/cursor/runner.js +293 -0
- package/dist/src/agent/runtimes/cursor/runner.js.map +1 -0
- package/dist/src/agent/runtimes/cursor/runtime.d.ts +2 -0
- package/dist/src/agent/runtimes/cursor/runtime.js +48 -0
- package/dist/src/agent/runtimes/cursor/runtime.js.map +1 -0
- package/dist/src/agent/runtimes/cursor/streaming.d.ts +8 -0
- package/dist/src/agent/runtimes/cursor/streaming.js +78 -0
- package/dist/src/agent/runtimes/cursor/streaming.js.map +1 -0
- package/dist/src/agent/runtimes/debug.d.ts +8 -0
- package/dist/src/agent/runtimes/debug.js +19 -0
- package/dist/src/agent/runtimes/debug.js.map +1 -0
- package/dist/src/agent/runtimes/message-format.d.ts +6 -0
- package/dist/src/agent/runtimes/message-format.js +31 -0
- package/dist/src/agent/runtimes/message-format.js.map +1 -0
- package/dist/src/agent/runtimes/opencode/client.d.ts +82 -0
- package/dist/src/agent/runtimes/opencode/client.js +109 -0
- package/dist/src/agent/runtimes/opencode/client.js.map +1 -0
- package/dist/src/agent/runtimes/opencode/detect.d.ts +18 -0
- package/dist/src/agent/runtimes/opencode/detect.js +100 -0
- package/dist/src/agent/runtimes/opencode/detect.js.map +1 -0
- package/dist/src/agent/runtimes/opencode/json.d.ts +4 -0
- package/dist/src/agent/runtimes/opencode/json.js +17 -0
- package/dist/src/agent/runtimes/opencode/json.js.map +1 -0
- package/dist/src/agent/runtimes/opencode/runner.d.ts +50 -0
- package/dist/src/agent/runtimes/opencode/runner.js +598 -0
- package/dist/src/agent/runtimes/opencode/runner.js.map +1 -0
- package/dist/src/agent/runtimes/opencode/runtime.d.ts +9 -0
- package/dist/src/agent/runtimes/opencode/runtime.js +82 -0
- package/dist/src/agent/runtimes/opencode/runtime.js.map +1 -0
- package/dist/src/agent/runtimes/opencode/server.d.ts +36 -0
- package/dist/src/agent/runtimes/opencode/server.js +210 -0
- package/dist/src/agent/runtimes/opencode/server.js.map +1 -0
- package/dist/src/agent/runtimes/opencode/streaming.d.ts +7 -0
- package/dist/src/agent/runtimes/opencode/streaming.js +47 -0
- package/dist/src/agent/runtimes/opencode/streaming.js.map +1 -0
- package/dist/src/agent/runtimes/registry.d.ts +10 -0
- package/dist/src/agent/runtimes/registry.js +48 -0
- package/dist/src/agent/runtimes/registry.js.map +1 -0
- package/dist/src/agent/sdk/adapters/adapter-interface.d.ts +2 -0
- package/dist/src/agent/sdk/adapters/adapter-interface.js +4 -0
- package/dist/src/agent/sdk/adapters/adapter-interface.js.map +1 -0
- package/dist/src/agent/sdk/adapters/claude/claude-adapter.d.ts +9 -0
- package/dist/src/agent/sdk/adapters/claude/claude-adapter.js +95 -0
- package/dist/src/agent/sdk/adapters/claude/claude-adapter.js.map +1 -0
- package/dist/src/agent/sdk/adapters/codex/codex-adapter.d.ts +10 -0
- package/dist/src/agent/sdk/adapters/codex/codex-adapter.js +87 -0
- package/dist/src/agent/sdk/adapters/codex/codex-adapter.js.map +1 -0
- package/dist/src/agent/sdk/adapters/executable-resolution.d.ts +2 -0
- package/dist/src/agent/sdk/adapters/executable-resolution.js +50 -0
- package/dist/src/agent/sdk/adapters/executable-resolution.js.map +1 -0
- package/dist/src/agent/sdk/adapters/generic/generic-subprocess-adapter.d.ts +11 -0
- package/dist/src/agent/sdk/adapters/generic/generic-subprocess-adapter.js +61 -0
- package/dist/src/agent/sdk/adapters/generic/generic-subprocess-adapter.js.map +1 -0
- package/dist/src/agent/sdk/adapters/provider-registry.d.ts +8 -0
- package/dist/src/agent/sdk/adapters/provider-registry.js +32 -0
- package/dist/src/agent/sdk/adapters/provider-registry.js.map +1 -0
- package/dist/src/agent/sdk/constants.d.ts +5 -0
- package/dist/src/agent/sdk/constants.js +29 -0
- package/dist/src/agent/sdk/constants.js.map +1 -0
- package/dist/src/agent/sdk/index.d.ts +2 -0
- package/dist/src/agent/sdk/index.js +2 -0
- package/dist/src/agent/sdk/index.js.map +1 -0
- package/dist/src/agent/sdk/run-handle.d.ts +22 -0
- package/dist/src/agent/sdk/run-handle.js +90 -0
- package/dist/src/agent/sdk/run-handle.js.map +1 -0
- package/dist/src/agent/sdk/runtime/isolation-env.d.ts +9 -0
- package/dist/src/agent/sdk/runtime/isolation-env.js +39 -0
- package/dist/src/agent/sdk/runtime/isolation-env.js.map +1 -0
- package/dist/src/agent/sdk/runtime/line-parser.d.ts +11 -0
- package/dist/src/agent/sdk/runtime/line-parser.js +59 -0
- package/dist/src/agent/sdk/runtime/line-parser.js.map +1 -0
- package/dist/src/agent/sdk/runtime/output-pump.d.ts +20 -0
- package/dist/src/agent/sdk/runtime/output-pump.js +88 -0
- package/dist/src/agent/sdk/runtime/output-pump.js.map +1 -0
- package/dist/src/agent/sdk/runtime/process-group.d.ts +9 -0
- package/dist/src/agent/sdk/runtime/process-group.js +69 -0
- package/dist/src/agent/sdk/runtime/process-group.js.map +1 -0
- package/dist/src/agent/sdk/runtime/provider-supervisor-entrypoint.d.ts +1 -0
- package/dist/src/agent/sdk/runtime/provider-supervisor-entrypoint.js +3 -0
- package/dist/src/agent/sdk/runtime/provider-supervisor-entrypoint.js.map +1 -0
- package/dist/src/agent/sdk/runtime/provider-supervisor.d.ts +1 -0
- package/dist/src/agent/sdk/runtime/provider-supervisor.js +190 -0
- package/dist/src/agent/sdk/runtime/provider-supervisor.js.map +1 -0
- package/dist/src/agent/sdk/runtime/spawn-process.d.ts +7 -0
- package/dist/src/agent/sdk/runtime/spawn-process.js +16 -0
- package/dist/src/agent/sdk/runtime/spawn-process.js.map +1 -0
- package/dist/src/agent/sdk/runtime/spawn-supervised-process.d.ts +17 -0
- package/dist/src/agent/sdk/runtime/spawn-supervised-process.js +203 -0
- package/dist/src/agent/sdk/runtime/spawn-supervised-process.js.map +1 -0
- package/dist/src/agent/sdk/runtime/supervisor-protocol.d.ts +29 -0
- package/dist/src/agent/sdk/runtime/supervisor-protocol.js +90 -0
- package/dist/src/agent/sdk/runtime/supervisor-protocol.js.map +1 -0
- package/dist/src/agent/sdk/runtime/timeouts.d.ts +24 -0
- package/dist/src/agent/sdk/runtime/timeouts.js +65 -0
- package/dist/src/agent/sdk/runtime/timeouts.js.map +1 -0
- package/dist/src/agent/sdk/session-manager.d.ts +38 -0
- package/dist/src/agent/sdk/session-manager.js +557 -0
- package/dist/src/agent/sdk/session-manager.js.map +1 -0
- package/dist/src/agent/sdk/transport/json-stream-decoder.d.ts +6 -0
- package/dist/src/agent/sdk/transport/json-stream-decoder.js +29 -0
- package/dist/src/agent/sdk/transport/json-stream-decoder.js.map +1 -0
- package/dist/src/agent/sdk/transport/line-text-decoder.d.ts +6 -0
- package/dist/src/agent/sdk/transport/line-text-decoder.js +9 -0
- package/dist/src/agent/sdk/transport/line-text-decoder.js.map +1 -0
- package/dist/src/agent/sdk/transport/pty-contract.d.ts +12 -0
- package/dist/src/agent/sdk/transport/pty-contract.js +2 -0
- package/dist/src/agent/sdk/transport/pty-contract.js.map +1 -0
- package/dist/src/agent/sdk/types.d.ts +194 -0
- package/dist/src/agent/sdk/types.js +2 -0
- package/dist/src/agent/sdk/types.js.map +1 -0
- package/dist/src/agent/sdk/versioning/provider-version.d.ts +9 -0
- package/dist/src/agent/sdk/versioning/provider-version.js +41 -0
- package/dist/src/agent/sdk/versioning/provider-version.js.map +1 -0
- package/dist/src/cli.d.ts +7 -0
- package/dist/src/cli.js +56 -0
- package/dist/src/cli.js.map +1 -0
- package/dist/src/commands/config/command.d.ts +2 -0
- package/dist/src/commands/config/command.js +150 -0
- package/dist/src/commands/config/command.js.map +1 -0
- package/dist/src/commands/connect/command.d.ts +4 -0
- package/dist/src/commands/connect/command.js +19 -0
- package/dist/src/commands/connect/command.js.map +1 -0
- package/dist/src/commands/connect/workflow.d.ts +92 -0
- package/dist/src/commands/connect/workflow.js +381 -0
- package/dist/src/commands/connect/workflow.js.map +1 -0
- package/dist/src/commands/devcontainer/command.d.ts +2 -0
- package/dist/src/commands/devcontainer/command.js +49 -0
- package/dist/src/commands/devcontainer/command.js.map +1 -0
- package/dist/src/commands/devcontainer/install.d.ts +46 -0
- package/dist/src/commands/devcontainer/install.js +107 -0
- package/dist/src/commands/devcontainer/install.js.map +1 -0
- package/dist/src/commands/init/config/claude-mcp.d.ts +27 -0
- package/dist/src/commands/init/config/claude-mcp.js +56 -0
- package/dist/src/commands/init/config/claude-mcp.js.map +1 -0
- package/dist/src/commands/init/config/codex-mcp.d.ts +12 -0
- package/dist/src/commands/init/config/codex-mcp.js +83 -0
- package/dist/src/commands/init/config/codex-mcp.js.map +1 -0
- package/dist/src/commands/init/config/opencode-mcp.d.ts +16 -0
- package/dist/src/commands/init/config/opencode-mcp.js +55 -0
- package/dist/src/commands/init/config/opencode-mcp.js.map +1 -0
- package/dist/src/commands/init/errors.d.ts +3 -0
- package/dist/src/commands/init/errors.js +7 -0
- package/dist/src/commands/init/errors.js.map +1 -0
- package/dist/src/commands/init/index.d.ts +9 -0
- package/dist/src/commands/init/index.js +10 -0
- package/dist/src/commands/init/index.js.map +1 -0
- package/dist/src/commands/init/io/file-copy.d.ts +18 -0
- package/dist/src/commands/init/io/file-copy.js +129 -0
- package/dist/src/commands/init/io/file-copy.js.map +1 -0
- package/dist/src/commands/init/marketplace.d.ts +8 -0
- package/dist/src/commands/init/marketplace.js +25 -0
- package/dist/src/commands/init/marketplace.js.map +1 -0
- package/dist/src/commands/init/mcp-service.d.ts +2 -0
- package/dist/src/commands/init/mcp-service.js +66 -0
- package/dist/src/commands/init/mcp-service.js.map +1 -0
- package/dist/src/commands/init/parsers.d.ts +4 -0
- package/dist/src/commands/init/parsers.js +40 -0
- package/dist/src/commands/init/parsers.js.map +1 -0
- package/dist/src/commands/init/prompts.d.ts +4 -0
- package/dist/src/commands/init/prompts.js +72 -0
- package/dist/src/commands/init/prompts.js.map +1 -0
- package/dist/src/commands/init/skill-service.d.ts +2 -0
- package/dist/src/commands/init/skill-service.js +36 -0
- package/dist/src/commands/init/skill-service.js.map +1 -0
- package/dist/src/commands/init/summary.d.ts +2 -0
- package/dist/src/commands/init/summary.js +22 -0
- package/dist/src/commands/init/summary.js.map +1 -0
- package/dist/src/commands/init/targets/claude.d.ts +4 -0
- package/dist/src/commands/init/targets/claude.js +178 -0
- package/dist/src/commands/init/targets/claude.js.map +1 -0
- package/dist/src/commands/init/targets/codex.d.ts +4 -0
- package/dist/src/commands/init/targets/codex.js +75 -0
- package/dist/src/commands/init/targets/codex.js.map +1 -0
- package/dist/src/commands/init/targets/driver.d.ts +28 -0
- package/dist/src/commands/init/targets/driver.js +2 -0
- package/dist/src/commands/init/targets/driver.js.map +1 -0
- package/dist/src/commands/init/targets/opencode.d.ts +4 -0
- package/dist/src/commands/init/targets/opencode.js +77 -0
- package/dist/src/commands/init/targets/opencode.js.map +1 -0
- package/dist/src/commands/init/targets/registry.d.ts +4 -0
- package/dist/src/commands/init/targets/registry.js +15 -0
- package/dist/src/commands/init/targets/registry.js.map +1 -0
- package/dist/src/commands/init/types.d.ts +30 -0
- package/dist/src/commands/init/types.js +7 -0
- package/dist/src/commands/init/types.js.map +1 -0
- package/dist/src/commands/init.d.ts +3 -0
- package/dist/src/commands/init.js +143 -0
- package/dist/src/commands/init.js.map +1 -0
- package/dist/src/commands/keys/command.d.ts +2 -0
- package/dist/src/commands/keys/command.js +154 -0
- package/dist/src/commands/keys/command.js.map +1 -0
- package/dist/src/commands/labels/create.d.ts +2 -0
- package/dist/src/commands/labels/create.js +31 -0
- package/dist/src/commands/labels/create.js.map +1 -0
- package/dist/src/commands/labels/delete.d.ts +2 -0
- package/dist/src/commands/labels/delete.js +51 -0
- package/dist/src/commands/labels/delete.js.map +1 -0
- package/dist/src/commands/labels/formatters.d.ts +4 -0
- package/dist/src/commands/labels/formatters.js +6 -0
- package/dist/src/commands/labels/formatters.js.map +1 -0
- package/dist/src/commands/labels/index.d.ts +2 -0
- package/dist/src/commands/labels/index.js +13 -0
- package/dist/src/commands/labels/index.js.map +1 -0
- package/dist/src/commands/labels/list.d.ts +2 -0
- package/dist/src/commands/labels/list.js +29 -0
- package/dist/src/commands/labels/list.js.map +1 -0
- package/dist/src/commands/labels/resolve.d.ts +9 -0
- package/dist/src/commands/labels/resolve.js +23 -0
- package/dist/src/commands/labels/resolve.js.map +1 -0
- package/dist/src/commands/labels/update.d.ts +2 -0
- package/dist/src/commands/labels/update.js +37 -0
- package/dist/src/commands/labels/update.js.map +1 -0
- package/dist/src/commands/lists/constants.d.ts +7 -0
- package/dist/src/commands/lists/constants.js +14 -0
- package/dist/src/commands/lists/constants.js.map +1 -0
- package/dist/src/commands/lists/create.d.ts +2 -0
- package/dist/src/commands/lists/create.js +45 -0
- package/dist/src/commands/lists/create.js.map +1 -0
- package/dist/src/commands/lists/index.d.ts +2 -0
- package/dist/src/commands/lists/index.js +10 -0
- package/dist/src/commands/lists/index.js.map +1 -0
- package/dist/src/commands/lists/list.d.ts +2 -0
- package/dist/src/commands/lists/list.js +66 -0
- package/dist/src/commands/lists/list.js.map +1 -0
- package/dist/src/commands/lists/resolve.d.ts +11 -0
- package/dist/src/commands/lists/resolve.js +24 -0
- package/dist/src/commands/lists/resolve.js.map +1 -0
- package/dist/src/commands/lists/update.d.ts +2 -0
- package/dist/src/commands/lists/update.js +61 -0
- package/dist/src/commands/lists/update.js.map +1 -0
- package/dist/src/commands/login/command.d.ts +8 -0
- package/dist/src/commands/login/command.js +20 -0
- package/dist/src/commands/login/command.js.map +1 -0
- package/dist/src/commands/orgs/index.d.ts +2 -0
- package/dist/src/commands/orgs/index.js +6 -0
- package/dist/src/commands/orgs/index.js.map +1 -0
- package/dist/src/commands/orgs/list.d.ts +2 -0
- package/dist/src/commands/orgs/list.js +29 -0
- package/dist/src/commands/orgs/list.js.map +1 -0
- package/dist/src/commands/paths/command.d.ts +2 -0
- package/dist/src/commands/paths/command.js +90 -0
- package/dist/src/commands/paths/command.js.map +1 -0
- package/dist/src/commands/profiles/index.d.ts +2 -0
- package/dist/src/commands/profiles/index.js +6 -0
- package/dist/src/commands/profiles/index.js.map +1 -0
- package/dist/src/commands/profiles/list.d.ts +2 -0
- package/dist/src/commands/profiles/list.js +50 -0
- package/dist/src/commands/profiles/list.js.map +1 -0
- package/dist/src/commands/project-agents/create.d.ts +2 -0
- package/dist/src/commands/project-agents/create.js +53 -0
- package/dist/src/commands/project-agents/create.js.map +1 -0
- package/dist/src/commands/project-agents/index.d.ts +2 -0
- package/dist/src/commands/project-agents/index.js +10 -0
- package/dist/src/commands/project-agents/index.js.map +1 -0
- package/dist/src/commands/project-agents/list.d.ts +2 -0
- package/dist/src/commands/project-agents/list.js +30 -0
- package/dist/src/commands/project-agents/list.js.map +1 -0
- package/dist/src/commands/project-agents/parsers.d.ts +16 -0
- package/dist/src/commands/project-agents/parsers.js +80 -0
- package/dist/src/commands/project-agents/parsers.js.map +1 -0
- package/dist/src/commands/project-agents/update.d.ts +2 -0
- package/dist/src/commands/project-agents/update.js +74 -0
- package/dist/src/commands/project-agents/update.js.map +1 -0
- package/dist/src/commands/projects/index.d.ts +2 -0
- package/dist/src/commands/projects/index.js +6 -0
- package/dist/src/commands/projects/index.js.map +1 -0
- package/dist/src/commands/projects/list.d.ts +2 -0
- package/dist/src/commands/projects/list.js +41 -0
- package/dist/src/commands/projects/list.js.map +1 -0
- package/dist/src/commands/prompts/create.d.ts +2 -0
- package/dist/src/commands/prompts/create.js +48 -0
- package/dist/src/commands/prompts/create.js.map +1 -0
- package/dist/src/commands/prompts/formatters.d.ts +4 -0
- package/dist/src/commands/prompts/formatters.js +7 -0
- package/dist/src/commands/prompts/formatters.js.map +1 -0
- package/dist/src/commands/prompts/index.d.ts +2 -0
- package/dist/src/commands/prompts/index.js +11 -0
- package/dist/src/commands/prompts/index.js.map +1 -0
- package/dist/src/commands/prompts/list.d.ts +2 -0
- package/dist/src/commands/prompts/list.js +34 -0
- package/dist/src/commands/prompts/list.js.map +1 -0
- package/dist/src/commands/prompts/parsers.d.ts +9 -0
- package/dist/src/commands/prompts/parsers.js +12 -0
- package/dist/src/commands/prompts/parsers.js.map +1 -0
- package/dist/src/commands/prompts/resolve.d.ts +17 -0
- package/dist/src/commands/prompts/resolve.js +43 -0
- package/dist/src/commands/prompts/resolve.js.map +1 -0
- package/dist/src/commands/prompts/update.d.ts +2 -0
- package/dist/src/commands/prompts/update.js +58 -0
- package/dist/src/commands/prompts/update.js.map +1 -0
- package/dist/src/commands/setup/command.d.ts +2 -0
- package/dist/src/commands/setup/command.js +15 -0
- package/dist/src/commands/setup/command.js.map +1 -0
- package/dist/src/commands/setup/prompts.d.ts +66 -0
- package/dist/src/commands/setup/prompts.js +199 -0
- package/dist/src/commands/setup/prompts.js.map +1 -0
- package/dist/src/commands/setup/workflow.d.ts +17 -0
- package/dist/src/commands/setup/workflow.js +141 -0
- package/dist/src/commands/setup/workflow.js.map +1 -0
- package/dist/src/commands/status/command.d.ts +2 -0
- package/dist/src/commands/status/command.js +83 -0
- package/dist/src/commands/status/command.js.map +1 -0
- package/dist/src/commands/task-types/index.d.ts +2 -0
- package/dist/src/commands/task-types/index.js +6 -0
- package/dist/src/commands/task-types/index.js.map +1 -0
- package/dist/src/commands/task-types/list.d.ts +2 -0
- package/dist/src/commands/task-types/list.js +32 -0
- package/dist/src/commands/task-types/list.js.map +1 -0
- package/dist/src/commands/tasks/artifacts/comments/add.d.ts +2 -0
- package/dist/src/commands/tasks/artifacts/comments/add.js +32 -0
- package/dist/src/commands/tasks/artifacts/comments/add.js.map +1 -0
- package/dist/src/commands/tasks/artifacts/comments/formatters.d.ts +7 -0
- package/dist/src/commands/tasks/artifacts/comments/formatters.js +32 -0
- package/dist/src/commands/tasks/artifacts/comments/formatters.js.map +1 -0
- package/dist/src/commands/tasks/artifacts/comments/index.d.ts +2 -0
- package/dist/src/commands/tasks/artifacts/comments/index.js +13 -0
- package/dist/src/commands/tasks/artifacts/comments/index.js.map +1 -0
- package/dist/src/commands/tasks/artifacts/comments/list.d.ts +2 -0
- package/dist/src/commands/tasks/artifacts/comments/list.js +24 -0
- package/dist/src/commands/tasks/artifacts/comments/list.js.map +1 -0
- package/dist/src/commands/tasks/artifacts/comments/parsers.d.ts +6 -0
- package/dist/src/commands/tasks/artifacts/comments/parsers.js +8 -0
- package/dist/src/commands/tasks/artifacts/comments/parsers.js.map +1 -0
- package/dist/src/commands/tasks/artifacts/comments/reply.d.ts +2 -0
- package/dist/src/commands/tasks/artifacts/comments/reply.js +23 -0
- package/dist/src/commands/tasks/artifacts/comments/reply.js.map +1 -0
- package/dist/src/commands/tasks/artifacts/comments/resolve.d.ts +3 -0
- package/dist/src/commands/tasks/artifacts/comments/resolve.js +26 -0
- package/dist/src/commands/tasks/artifacts/comments/resolve.js.map +1 -0
- package/dist/src/commands/tasks/artifacts/create.d.ts +2 -0
- package/dist/src/commands/tasks/artifacts/create.js +63 -0
- package/dist/src/commands/tasks/artifacts/create.js.map +1 -0
- package/dist/src/commands/tasks/artifacts/delete.d.ts +2 -0
- package/dist/src/commands/tasks/artifacts/delete.js +27 -0
- package/dist/src/commands/tasks/artifacts/delete.js.map +1 -0
- package/dist/src/commands/tasks/artifacts/get.d.ts +2 -0
- package/dist/src/commands/tasks/artifacts/get.js +54 -0
- package/dist/src/commands/tasks/artifacts/get.js.map +1 -0
- package/dist/src/commands/tasks/artifacts/index.d.ts +2 -0
- package/dist/src/commands/tasks/artifacts/index.js +18 -0
- package/dist/src/commands/tasks/artifacts/index.js.map +1 -0
- package/dist/src/commands/tasks/artifacts/list.d.ts +2 -0
- package/dist/src/commands/tasks/artifacts/list.js +31 -0
- package/dist/src/commands/tasks/artifacts/list.js.map +1 -0
- package/dist/src/commands/tasks/artifacts/parsers.d.ts +13 -0
- package/dist/src/commands/tasks/artifacts/parsers.js +24 -0
- package/dist/src/commands/tasks/artifacts/parsers.js.map +1 -0
- package/dist/src/commands/tasks/artifacts/replace.d.ts +2 -0
- package/dist/src/commands/tasks/artifacts/replace.js +62 -0
- package/dist/src/commands/tasks/artifacts/replace.js.map +1 -0
- package/dist/src/commands/tasks/artifacts/update.d.ts +2 -0
- package/dist/src/commands/tasks/artifacts/update.js +55 -0
- package/dist/src/commands/tasks/artifacts/update.js.map +1 -0
- package/dist/src/commands/tasks/attach.d.ts +2 -0
- package/dist/src/commands/tasks/attach.js +70 -0
- package/dist/src/commands/tasks/attach.js.map +1 -0
- package/dist/src/commands/tasks/attachments/delete.d.ts +2 -0
- package/dist/src/commands/tasks/attachments/delete.js +61 -0
- package/dist/src/commands/tasks/attachments/delete.js.map +1 -0
- package/dist/src/commands/tasks/attachments/download.d.ts +2 -0
- package/dist/src/commands/tasks/attachments/download.js +42 -0
- package/dist/src/commands/tasks/attachments/download.js.map +1 -0
- package/dist/src/commands/tasks/attachments/formatters.d.ts +5 -0
- package/dist/src/commands/tasks/attachments/formatters.js +18 -0
- package/dist/src/commands/tasks/attachments/formatters.js.map +1 -0
- package/dist/src/commands/tasks/attachments/index.d.ts +2 -0
- package/dist/src/commands/tasks/attachments/index.js +11 -0
- package/dist/src/commands/tasks/attachments/index.js.map +1 -0
- package/dist/src/commands/tasks/attachments/list.d.ts +2 -0
- package/dist/src/commands/tasks/attachments/list.js +36 -0
- package/dist/src/commands/tasks/attachments/list.js.map +1 -0
- package/dist/src/commands/tasks/attachments/resolve.d.ts +6 -0
- package/dist/src/commands/tasks/attachments/resolve.js +15 -0
- package/dist/src/commands/tasks/attachments/resolve.js.map +1 -0
- package/dist/src/commands/tasks/attachments/transfer.d.ts +11 -0
- package/dist/src/commands/tasks/attachments/transfer.js +71 -0
- package/dist/src/commands/tasks/attachments/transfer.js.map +1 -0
- package/dist/src/commands/tasks/comments/add.d.ts +2 -0
- package/dist/src/commands/tasks/comments/add.js +44 -0
- package/dist/src/commands/tasks/comments/add.js.map +1 -0
- package/dist/src/commands/tasks/comments/index.d.ts +2 -0
- package/dist/src/commands/tasks/comments/index.js +6 -0
- package/dist/src/commands/tasks/comments/index.js.map +1 -0
- package/dist/src/commands/tasks/create.d.ts +2 -0
- package/dist/src/commands/tasks/create.js +77 -0
- package/dist/src/commands/tasks/create.js.map +1 -0
- package/dist/src/commands/tasks/delete.d.ts +2 -0
- package/dist/src/commands/tasks/delete.js +31 -0
- package/dist/src/commands/tasks/delete.js.map +1 -0
- package/dist/src/commands/tasks/formatters.d.ts +25 -0
- package/dist/src/commands/tasks/formatters.js +40 -0
- package/dist/src/commands/tasks/formatters.js.map +1 -0
- package/dist/src/commands/tasks/get.d.ts +2 -0
- package/dist/src/commands/tasks/get.js +94 -0
- package/dist/src/commands/tasks/get.js.map +1 -0
- package/dist/src/commands/tasks/hydrate.d.ts +20 -0
- package/dist/src/commands/tasks/hydrate.js +47 -0
- package/dist/src/commands/tasks/hydrate.js.map +1 -0
- package/dist/src/commands/tasks/index.d.ts +2 -0
- package/dist/src/commands/tasks/index.js +33 -0
- package/dist/src/commands/tasks/index.js.map +1 -0
- package/dist/src/commands/tasks/links.d.ts +4 -0
- package/dist/src/commands/tasks/links.js +121 -0
- package/dist/src/commands/tasks/links.js.map +1 -0
- package/dist/src/commands/tasks/list.d.ts +2 -0
- package/dist/src/commands/tasks/list.js +47 -0
- package/dist/src/commands/tasks/list.js.map +1 -0
- package/dist/src/commands/tasks/move-to-list.d.ts +2 -0
- package/dist/src/commands/tasks/move-to-list.js +41 -0
- package/dist/src/commands/tasks/move-to-list.js.map +1 -0
- package/dist/src/commands/tasks/move.d.ts +2 -0
- package/dist/src/commands/tasks/move.js +61 -0
- package/dist/src/commands/tasks/move.js.map +1 -0
- package/dist/src/commands/tasks/parsers.d.ts +22 -0
- package/dist/src/commands/tasks/parsers.js +118 -0
- package/dist/src/commands/tasks/parsers.js.map +1 -0
- package/dist/src/commands/tasks/refs.d.ts +2 -0
- package/dist/src/commands/tasks/refs.js +89 -0
- package/dist/src/commands/tasks/refs.js.map +1 -0
- package/dist/src/commands/tasks/resolve.d.ts +20 -0
- package/dist/src/commands/tasks/resolve.js +57 -0
- package/dist/src/commands/tasks/resolve.js.map +1 -0
- package/dist/src/commands/tasks/search.d.ts +2 -0
- package/dist/src/commands/tasks/search.js +110 -0
- package/dist/src/commands/tasks/search.js.map +1 -0
- package/dist/src/commands/tasks/update.d.ts +2 -0
- package/dist/src/commands/tasks/update.js +101 -0
- package/dist/src/commands/tasks/update.js.map +1 -0
- package/dist/src/commands/test-helpers.d.ts +2 -0
- package/dist/src/commands/test-helpers.js +6 -0
- package/dist/src/commands/test-helpers.js.map +1 -0
- package/dist/src/commands/threads/create.d.ts +2 -0
- package/dist/src/commands/threads/create.js +99 -0
- package/dist/src/commands/threads/create.js.map +1 -0
- package/dist/src/commands/threads/formatters.d.ts +10 -0
- package/dist/src/commands/threads/formatters.js +17 -0
- package/dist/src/commands/threads/formatters.js.map +1 -0
- package/dist/src/commands/threads/get.d.ts +2 -0
- package/dist/src/commands/threads/get.js +53 -0
- package/dist/src/commands/threads/get.js.map +1 -0
- package/dist/src/commands/threads/index.d.ts +2 -0
- package/dist/src/commands/threads/index.js +14 -0
- package/dist/src/commands/threads/index.js.map +1 -0
- package/dist/src/commands/threads/list.d.ts +2 -0
- package/dist/src/commands/threads/list.js +69 -0
- package/dist/src/commands/threads/list.js.map +1 -0
- package/dist/src/commands/threads/messages.d.ts +2 -0
- package/dist/src/commands/threads/messages.js +59 -0
- package/dist/src/commands/threads/messages.js.map +1 -0
- package/dist/src/commands/threads/parsers.d.ts +5 -0
- package/dist/src/commands/threads/parsers.js +19 -0
- package/dist/src/commands/threads/parsers.js.map +1 -0
- package/dist/src/commands/threads/send.d.ts +2 -0
- package/dist/src/commands/threads/send.js +49 -0
- package/dist/src/commands/threads/send.js.map +1 -0
- package/dist/src/commands/threads/spawn-target.d.ts +29 -0
- package/dist/src/commands/threads/spawn-target.js +62 -0
- package/dist/src/commands/threads/spawn-target.js.map +1 -0
- package/dist/src/convex/_generated/ai/ai-files.state.json +6 -0
- package/dist/src/convex/_generated/ai/guidelines.md +371 -0
- package/dist/src/convex/_generated/api.d.ts +598 -0
- package/dist/src/convex/_generated/api.js +23 -0
- package/dist/src/convex/_generated/dataModel.d.ts +60 -0
- package/dist/src/convex/_generated/server.d.ts +143 -0
- package/dist/src/convex/_generated/server.js +93 -0
- package/dist/src/lib/argv.d.ts +1 -0
- package/dist/src/lib/argv.js +7 -0
- package/dist/src/lib/argv.js.map +1 -0
- package/dist/src/lib/browser-login.d.ts +43 -0
- package/dist/src/lib/browser-login.js +216 -0
- package/dist/src/lib/browser-login.js.map +1 -0
- package/dist/src/lib/config/convex-client.d.ts +41 -0
- package/dist/src/lib/config/convex-client.js +53 -0
- package/dist/src/lib/config/convex-client.js.map +1 -0
- package/dist/src/lib/config/index.d.ts +7 -0
- package/dist/src/lib/config/index.js +13 -0
- package/dist/src/lib/config/index.js.map +1 -0
- package/dist/src/lib/config/profile.d.ts +40 -0
- package/dist/src/lib/config/profile.js +155 -0
- package/dist/src/lib/config/profile.js.map +1 -0
- package/dist/src/lib/config/provider-keys.d.ts +47 -0
- package/dist/src/lib/config/provider-keys.js +97 -0
- package/dist/src/lib/config/provider-keys.js.map +1 -0
- package/dist/src/lib/config/toml.d.ts +78 -0
- package/dist/src/lib/config/toml.js +228 -0
- package/dist/src/lib/config/toml.js.map +1 -0
- package/dist/src/lib/config/types.d.ts +98 -0
- package/dist/src/lib/config/types.js +65 -0
- package/dist/src/lib/config/types.js.map +1 -0
- package/dist/src/lib/config/validate.d.ts +30 -0
- package/dist/src/lib/config/validate.js +66 -0
- package/dist/src/lib/config/validate.js.map +1 -0
- package/dist/src/lib/connect-events.d.ts +42 -0
- package/dist/src/lib/connect-events.js +65 -0
- package/dist/src/lib/connect-events.js.map +1 -0
- package/dist/src/lib/constants.d.ts +20 -0
- package/dist/src/lib/constants.js +27 -0
- package/dist/src/lib/constants.js.map +1 -0
- package/dist/src/lib/content-type.d.ts +1 -0
- package/dist/src/lib/content-type.js +27 -0
- package/dist/src/lib/content-type.js.map +1 -0
- package/dist/src/lib/convex-error.d.ts +12 -0
- package/dist/src/lib/convex-error.js +33 -0
- package/dist/src/lib/convex-error.js.map +1 -0
- package/dist/src/lib/git/checkpoint.d.ts +74 -0
- package/dist/src/lib/git/checkpoint.js +210 -0
- package/dist/src/lib/git/checkpoint.js.map +1 -0
- package/dist/src/lib/git/exec.d.ts +23 -0
- package/dist/src/lib/git/exec.js +46 -0
- package/dist/src/lib/git/exec.js.map +1 -0
- package/dist/src/lib/git/file-index.d.ts +8 -0
- package/dist/src/lib/git/file-index.js +125 -0
- package/dist/src/lib/git/file-index.js.map +1 -0
- package/dist/src/lib/git/index.d.ts +5 -0
- package/dist/src/lib/git/index.js +6 -0
- package/dist/src/lib/git/index.js.map +1 -0
- package/dist/src/lib/git/repo.d.ts +32 -0
- package/dist/src/lib/git/repo.js +95 -0
- package/dist/src/lib/git/repo.js.map +1 -0
- package/dist/src/lib/git/worktrees.d.ts +49 -0
- package/dist/src/lib/git/worktrees.js +97 -0
- package/dist/src/lib/git/worktrees.js.map +1 -0
- package/dist/src/lib/global-options.d.ts +3 -0
- package/dist/src/lib/global-options.js +8 -0
- package/dist/src/lib/global-options.js.map +1 -0
- package/dist/src/lib/id.d.ts +3 -0
- package/dist/src/lib/id.js +14 -0
- package/dist/src/lib/id.js.map +1 -0
- package/dist/src/lib/one-shot-command.d.ts +7 -0
- package/dist/src/lib/one-shot-command.js +30 -0
- package/dist/src/lib/one-shot-command.js.map +1 -0
- package/dist/src/lib/one-shot-config.d.ts +3 -0
- package/dist/src/lib/one-shot-config.js +7 -0
- package/dist/src/lib/one-shot-config.js.map +1 -0
- package/dist/src/lib/output.d.ts +10 -0
- package/dist/src/lib/output.js +27 -0
- package/dist/src/lib/output.js.map +1 -0
- package/dist/src/lib/pagination.d.ts +16 -0
- package/dist/src/lib/pagination.js +45 -0
- package/dist/src/lib/pagination.js.map +1 -0
- package/dist/src/lib/parsers.d.ts +2 -0
- package/dist/src/lib/parsers.js +21 -0
- package/dist/src/lib/parsers.js.map +1 -0
- package/dist/src/lib/project-resolution.d.ts +41 -0
- package/dist/src/lib/project-resolution.js +84 -0
- package/dist/src/lib/project-resolution.js.map +1 -0
- package/dist/src/lib/pull-requests.d.ts +47 -0
- package/dist/src/lib/pull-requests.js +305 -0
- package/dist/src/lib/pull-requests.js.map +1 -0
- package/dist/src/lib/skill-install-guidance.d.ts +5 -0
- package/dist/src/lib/skill-install-guidance.js +41 -0
- package/dist/src/lib/skill-install-guidance.js.map +1 -0
- package/dist/src/lib/text-input.d.ts +18 -0
- package/dist/src/lib/text-input.js +36 -0
- package/dist/src/lib/text-input.js.map +1 -0
- package/dist/src/lib/thread-attachments.d.ts +21 -0
- package/dist/src/lib/thread-attachments.js +104 -0
- package/dist/src/lib/thread-attachments.js.map +1 -0
- package/dist/src/lib/url.d.ts +13 -0
- package/dist/src/lib/url.js +25 -0
- package/dist/src/lib/url.js.map +1 -0
- package/dist/src/lib/version.d.ts +2 -0
- package/dist/src/lib/version.js +33 -0
- package/dist/src/lib/version.js.map +1 -0
- package/dist/templates/devcontainer/Dockerfile +95 -0
- package/dist/templates/devcontainer/README.md +129 -0
- package/dist/templates/devcontainer/devcontainer.json +92 -0
- package/dist/templates/devcontainer/init-firewall.sh +271 -0
- package/package.json +79 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
Elastic License 2.0
|
|
2
|
+
|
|
3
|
+
URL: https://www.elastic.co/licensing/elastic-license
|
|
4
|
+
|
|
5
|
+
## Acceptance
|
|
6
|
+
|
|
7
|
+
By using the software, you agree to all of the terms and conditions below.
|
|
8
|
+
|
|
9
|
+
## Copyright License
|
|
10
|
+
|
|
11
|
+
The licensor grants you a non-exclusive, royalty-free, worldwide, non-sublicensable,
|
|
12
|
+
non-transferable license to use, copy, distribute, make available, and prepare
|
|
13
|
+
derivative works of the software, in each case subject to the limitations and
|
|
14
|
+
conditions below.
|
|
15
|
+
|
|
16
|
+
## Limitations
|
|
17
|
+
|
|
18
|
+
You may not provide the software to third parties as a hosted or managed service,
|
|
19
|
+
where the service provides users with access to any substantial set of the features
|
|
20
|
+
or functionality of the software.
|
|
21
|
+
|
|
22
|
+
You may not move, change, disable, or circumvent the license key functionality in
|
|
23
|
+
the software, and you may not remove or obscure any functionality in the software
|
|
24
|
+
that is protected by the license key.
|
|
25
|
+
|
|
26
|
+
You may not alter, remove, or obscure any licensing, copyright, or other notices of
|
|
27
|
+
the licensor in the software. Any use of the licensor's trademarks is subject to
|
|
28
|
+
applicable law.
|
|
29
|
+
|
|
30
|
+
## Patents
|
|
31
|
+
|
|
32
|
+
The licensor grants you a license, under any patent claims the licensor can license,
|
|
33
|
+
or becomes able to license, to make, have made, use, sell, offer for sale, import
|
|
34
|
+
and have imported the software, in each case subject to the limitations and
|
|
35
|
+
conditions in this license. This license does not cover any patent claims that you
|
|
36
|
+
cause to be infringed by modifications or additions to the software. If you or your
|
|
37
|
+
company make any written claim that the software infringes or contributes to
|
|
38
|
+
infringement of any patent, your patent license for the software granted under these
|
|
39
|
+
terms ends immediately. If your company makes such a claim, your patent license ends
|
|
40
|
+
immediately for work on behalf of your company.
|
|
41
|
+
|
|
42
|
+
## Notices
|
|
43
|
+
|
|
44
|
+
You must ensure that anyone who gets a copy of any part of the software from you
|
|
45
|
+
also gets a copy of these terms.
|
|
46
|
+
|
|
47
|
+
If you modify the software, you must include in any modified copies of the software
|
|
48
|
+
prominent notices stating that you have modified the software.
|
|
49
|
+
|
|
50
|
+
## No Other Rights
|
|
51
|
+
|
|
52
|
+
These terms do not imply any licenses other than those expressly granted under these
|
|
53
|
+
terms.
|
|
54
|
+
|
|
55
|
+
## Termination
|
|
56
|
+
|
|
57
|
+
If you use the software in violation of these terms, such use is not licensed, and
|
|
58
|
+
your licenses will automatically terminate. If the licensor provides you with a
|
|
59
|
+
notice of your violation, and you cease all violation of this license no later than
|
|
60
|
+
30 days after you receive that notice, your licenses will be reinstated
|
|
61
|
+
retroactively. However, if you violate these terms after such reinstatement, any
|
|
62
|
+
additional violation of this license will cause your licenses to terminate
|
|
63
|
+
automatically and permanently.
|
|
64
|
+
|
|
65
|
+
## No Liability
|
|
66
|
+
|
|
67
|
+
As far as the law allows, the software comes as is, without any warranty or
|
|
68
|
+
condition, and the licensor will not be liable to you for any damages arising out of
|
|
69
|
+
these terms or the use or nature of the software, under any kind of legal claim.
|
|
70
|
+
|
|
71
|
+
## Definitions
|
|
72
|
+
|
|
73
|
+
The licensor is the entity offering these terms, and the software is the software
|
|
74
|
+
the licensor makes available under these terms, including any portion of it.
|
|
75
|
+
|
|
76
|
+
you refers to the individual or entity agreeing to these terms.
|
|
77
|
+
|
|
78
|
+
your company is any legal entity, sole proprietorship, or other kind of organization
|
|
79
|
+
that you work for, plus all organizations that have control over, are under the
|
|
80
|
+
control of, or are under common control with that organization. control means
|
|
81
|
+
ownership of substantially all the assets of an entity, or the power to direct its
|
|
82
|
+
management and policies by vote, contract, or otherwise. Control can be direct or
|
|
83
|
+
indirect.
|
|
84
|
+
|
|
85
|
+
your licenses are all the licenses granted to you for the software under these
|
|
86
|
+
terms.
|
|
87
|
+
|
|
88
|
+
use means anything you do with the software requiring one of your licenses.
|
|
89
|
+
|
|
90
|
+
trademark means trademarks, service marks, and similar rights.
|
package/README.md
ADDED
|
@@ -0,0 +1,495 @@
|
|
|
1
|
+
# Convoy CLI
|
|
2
|
+
|
|
3
|
+
CLI agent for Convoy - connects your local repository to the web app.
|
|
4
|
+
|
|
5
|
+
## Quick Start
|
|
6
|
+
|
|
7
|
+
```bash
|
|
8
|
+
# First time setup (interactive wizard)
|
|
9
|
+
convoy
|
|
10
|
+
|
|
11
|
+
# Or if already configured
|
|
12
|
+
convoy # Starts agent connection directly
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
## Installation
|
|
16
|
+
|
|
17
|
+
```bash
|
|
18
|
+
npx @useconvoy/cli --help
|
|
19
|
+
```
|
|
20
|
+
|
|
21
|
+
Run once without installing:
|
|
22
|
+
|
|
23
|
+
```bash
|
|
24
|
+
npx @useconvoy/cli connect
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
Install globally so `convoy` is available in your terminal:
|
|
28
|
+
|
|
29
|
+
```bash
|
|
30
|
+
npm install -g @useconvoy/cli
|
|
31
|
+
convoy --help
|
|
32
|
+
```
|
|
33
|
+
|
|
34
|
+
Windows notes:
|
|
35
|
+
|
|
36
|
+
```powershell
|
|
37
|
+
npx @useconvoy/cli --help
|
|
38
|
+
npm install -g @useconvoy/cli
|
|
39
|
+
convoy --help
|
|
40
|
+
```
|
|
41
|
+
|
|
42
|
+
`npm`/`npx` will create the platform-specific launcher automatically:
|
|
43
|
+
- macOS/Linux: `convoy`
|
|
44
|
+
- Windows: `convoy.cmd` and `convoy.ps1` (invoked as `convoy`)
|
|
45
|
+
|
|
46
|
+
Publishing is automated: bump `version` in `apps/cli/package.json` and merge to
|
|
47
|
+
`main`. See [docs/agents/publishing-the-cli.md](../../docs/agents/publishing-the-cli.md).
|
|
48
|
+
|
|
49
|
+
## Global Options
|
|
50
|
+
|
|
51
|
+
All commands support these global options:
|
|
52
|
+
|
|
53
|
+
```bash
|
|
54
|
+
--url <url> Convex backend URL (overrides profile)
|
|
55
|
+
--api-key <key> API key (overrides profile)
|
|
56
|
+
--profile <key> Profile key for lookup
|
|
57
|
+
--project <id> Project ID (overrides profile)
|
|
58
|
+
```
|
|
59
|
+
|
|
60
|
+
Options can be placed before or after the command:
|
|
61
|
+
```bash
|
|
62
|
+
convoy --profile work connect
|
|
63
|
+
convoy connect --profile work # Same result
|
|
64
|
+
```
|
|
65
|
+
|
|
66
|
+
## Commands
|
|
67
|
+
|
|
68
|
+
### Default (no command)
|
|
69
|
+
|
|
70
|
+
Running `convoy` without a command:
|
|
71
|
+
- If a profile matches the current directory: starts the agent connection
|
|
72
|
+
- If no profile matches but profiles exist: prompts with three choices (create new, add folder to existing, connect once)
|
|
73
|
+
- If no profiles exist: runs the setup wizard
|
|
74
|
+
|
|
75
|
+
### `setup`
|
|
76
|
+
|
|
77
|
+
Interactive setup wizard. Guides you through:
|
|
78
|
+
1. Convex URL
|
|
79
|
+
2. API key (validated against server)
|
|
80
|
+
3. Project selection
|
|
81
|
+
4. Profile name and key
|
|
82
|
+
5. Workspace folder
|
|
83
|
+
6. Starts agent connection
|
|
84
|
+
|
|
85
|
+
```bash
|
|
86
|
+
convoy setup
|
|
87
|
+
convoy setup --url https://xxx.convex.cloud --api-key sk_user_xxx # Prefill URL and key
|
|
88
|
+
convoy setup --profile work # Prefill profile name
|
|
89
|
+
convoy setup --project proj_abc123 # Skip project selection
|
|
90
|
+
convoy setup --url https://xxx.convex.cloud --api-key sk_user_xxx --project proj_abc123 --profile-key work --profile "Work" --path . # Fully non-interactive create-only
|
|
91
|
+
convoy setup --url https://xxx.convex.cloud --api-key sk_user_xxx --project proj_abc123 --profile-key work --force # Overwrite existing key
|
|
92
|
+
```
|
|
93
|
+
|
|
94
|
+
`setup` becomes fully non-interactive when `--url`, `--api-key`, `--project`, and `--profile-key` are all provided. In that mode it validates inputs, writes the profile, and exits without starting `connect`.
|
|
95
|
+
Use `--path .` to explicitly save the current directory; if omitted in non-interactive mode, the current directory is still saved for backward compatibility.
|
|
96
|
+
|
|
97
|
+
### `connect`
|
|
98
|
+
|
|
99
|
+
Start agent connection (long-running process).
|
|
100
|
+
|
|
101
|
+
```bash
|
|
102
|
+
convoy connect
|
|
103
|
+
convoy connect --profile work
|
|
104
|
+
convoy connect --name "My Laptop" # Custom connection name (defaults to hostname)
|
|
105
|
+
convoy connect -c 8 # Allow up to 8 concurrent chat subprocesses
|
|
106
|
+
convoy connect --buffered # Turn off live token streaming (on by default)
|
|
107
|
+
convoy connect --codex-exec # Run Codex through `codex exec` instead of app-server
|
|
108
|
+
```
|
|
109
|
+
|
|
110
|
+
`connect` serves the runtimes detected on this machine (Claude Code, Codex, OpenCode). If none is installed, startup fails with a clear error.
|
|
111
|
+
Use `-c` / `--concurrency` to control max simultaneous chat subprocesses per `convoy connect` process (valid range: `1-50`). Without the flag, the resolved profile's optional `concurrency` value is used, then the default `5`.
|
|
112
|
+
Partial (delta) agent event streaming is on by default, so responses render token-by-token in the web app. Use `--buffered` to send whole events only (a profile can default this with `streaming = false` in `config.toml`; the flag wins).
|
|
113
|
+
Codex threads are served over the `codex app-server` protocol by default — this enables mid-run approval prompts and questions, read-only Plan mode, steering queued messages into a running turn, live deltas, and the context-window meter. Use `--codex-exec` to fall back to non-interactive `codex exec`. The app-server transport needs codex-cli ≥ 0.142; an older binary is detected at connect time and downgraded to `codex exec` with a warning.
|
|
114
|
+
|
|
115
|
+
#### Debug logging
|
|
116
|
+
|
|
117
|
+
Use SDK debug logs to inspect spawned command args, resume/fork behavior, and streamed frames:
|
|
118
|
+
|
|
119
|
+
```bash
|
|
120
|
+
OPENSANA_CLI_DEBUG=1 convoy connect # Debug logs, truncated at 400 chars
|
|
121
|
+
OPENSANA_CLI_DEBUG=2 convoy connect # Debug logs, full JSON output (no truncation)
|
|
122
|
+
```
|
|
123
|
+
|
|
124
|
+
With level `1`, you can fine-tune truncation length via `OPENSANA_CLI_DEBUG_MAX_CHARS` (default: `400` chars, `0` = no truncation):
|
|
125
|
+
|
|
126
|
+
```bash
|
|
127
|
+
OPENSANA_CLI_DEBUG=1 OPENSANA_CLI_DEBUG_MAX_CHARS=0 convoy connect
|
|
128
|
+
```
|
|
129
|
+
|
|
130
|
+
#### Simulation mode
|
|
131
|
+
|
|
132
|
+
Use `-s` / `--stream` to replay a JSONL fixture file instead of spawning a real agent. Each line is sent to the backend with a delay, simulating a live agent session. This is useful for developing and testing the web UI without running an actual AI agent.
|
|
133
|
+
|
|
134
|
+
```bash
|
|
135
|
+
convoy connect -s fixtures/claude-code-review.jsonl # Stream fixture with default 1500ms delay
|
|
136
|
+
convoy connect -s fixtures/claude-code-grep.jsonl -d 500 # Custom delay (500ms between lines)
|
|
137
|
+
convoy connect -s fixtures/claude-code-grep.jsonl -c 4 # Fixture mode with bounded parallel chat workers
|
|
138
|
+
```
|
|
139
|
+
|
|
140
|
+
During development you can use the `pnpm dev` shorthand:
|
|
141
|
+
|
|
142
|
+
```bash
|
|
143
|
+
pnpm dev connect -s fixtures/claude-code-review.jsonl
|
|
144
|
+
pnpm dev connect -s fixtures/claude-code-overview.jsonl -d 200
|
|
145
|
+
```
|
|
146
|
+
|
|
147
|
+
Available fixtures in `fixtures/`:
|
|
148
|
+
|
|
149
|
+
| File | Description |
|
|
150
|
+
|---|---|
|
|
151
|
+
| `claude-code-grep.jsonl` | Fixture for grep-style responses |
|
|
152
|
+
| `claude-code-review.jsonl` | Code review session |
|
|
153
|
+
| `claude-code-overview.jsonl` | Codebase overview session |
|
|
154
|
+
| `claude-code-tool-askuserquestion.jsonl` | Session with user question tool use |
|
|
155
|
+
|
|
156
|
+
### `config`
|
|
157
|
+
|
|
158
|
+
Manage stored profiles.
|
|
159
|
+
|
|
160
|
+
```bash
|
|
161
|
+
convoy config # Show profile summary
|
|
162
|
+
convoy config list # List all profiles
|
|
163
|
+
convoy config show # Show resolved profile for current directory
|
|
164
|
+
convoy config delete <key> # Delete a profile
|
|
165
|
+
convoy config default <key> # Set default profile
|
|
166
|
+
```
|
|
167
|
+
|
|
168
|
+
### `paths`
|
|
169
|
+
|
|
170
|
+
Manage paths within a profile. The profile is resolved from the current directory or `--profile` flag.
|
|
171
|
+
|
|
172
|
+
```bash
|
|
173
|
+
convoy paths list # List paths for the resolved profile
|
|
174
|
+
convoy paths add # Add current directory to profile
|
|
175
|
+
convoy paths add /path/to/repo # Add a specific path to profile
|
|
176
|
+
convoy paths remove /path/to/repo # Remove a path from profile
|
|
177
|
+
```
|
|
178
|
+
|
|
179
|
+
A profile must always have at least one path. Removing the last path is not allowed.
|
|
180
|
+
|
|
181
|
+
### `status`
|
|
182
|
+
|
|
183
|
+
Show current configuration and connection status.
|
|
184
|
+
|
|
185
|
+
```bash
|
|
186
|
+
convoy status
|
|
187
|
+
convoy status --profile work
|
|
188
|
+
```
|
|
189
|
+
|
|
190
|
+
### `projects list`
|
|
191
|
+
|
|
192
|
+
List accessible projects.
|
|
193
|
+
|
|
194
|
+
```bash
|
|
195
|
+
convoy projects list
|
|
196
|
+
convoy projects list --profile work
|
|
197
|
+
convoy projects list --org org_abc123
|
|
198
|
+
```
|
|
199
|
+
|
|
200
|
+
### `orgs list`
|
|
201
|
+
|
|
202
|
+
List accessible organizations (derived from accessible projects).
|
|
203
|
+
|
|
204
|
+
```bash
|
|
205
|
+
convoy orgs list
|
|
206
|
+
convoy orgs list --profile work
|
|
207
|
+
convoy orgs list --output json
|
|
208
|
+
```
|
|
209
|
+
|
|
210
|
+
### `task-types list`
|
|
211
|
+
|
|
212
|
+
List the task types available in the resolved project.
|
|
213
|
+
|
|
214
|
+
```bash
|
|
215
|
+
convoy task-types list --project WEB
|
|
216
|
+
convoy task-types list --project WEB --output json
|
|
217
|
+
```
|
|
218
|
+
|
|
219
|
+
### `profiles list`
|
|
220
|
+
|
|
221
|
+
List your CLI profiles in the resolved project, with online state, CLI version,
|
|
222
|
+
available runtimes, and each working path's ID. This is the server's view of your
|
|
223
|
+
connected machines — `paths` and `status` read local config instead.
|
|
224
|
+
|
|
225
|
+
```bash
|
|
226
|
+
convoy profiles list
|
|
227
|
+
convoy profiles list --project WEB
|
|
228
|
+
convoy profiles list --output json
|
|
229
|
+
```
|
|
230
|
+
|
|
231
|
+
### `threads`
|
|
232
|
+
|
|
233
|
+
Read and drive CLI threads. A thread group lists as one row with a child count;
|
|
234
|
+
pass its container ID to list the members.
|
|
235
|
+
|
|
236
|
+
```bash
|
|
237
|
+
convoy threads list --project WEB
|
|
238
|
+
convoy threads list --project WEB --include-done --limit 5
|
|
239
|
+
convoy threads list <containerId>
|
|
240
|
+
|
|
241
|
+
convoy threads get <threadId>
|
|
242
|
+
convoy threads messages <threadId> --limit 3
|
|
243
|
+
|
|
244
|
+
convoy threads create --profile-id <profileId> --path-id <pathId> \
|
|
245
|
+
--cli-type claude-code --content "Review the invoice rounding"
|
|
246
|
+
convoy threads create --source <threadId> --content "Review my work"
|
|
247
|
+
convoy threads send <threadId> "Ship it"
|
|
248
|
+
convoy threads send <threadId> --attach ./screenshot.png
|
|
249
|
+
```
|
|
250
|
+
|
|
251
|
+
`threads messages` takes `--limit` 1-20 (default 10) and prints oldest first.
|
|
252
|
+
Message text is the agent's prose only — no tool calls, tool output, or
|
|
253
|
+
reasoning.
|
|
254
|
+
|
|
255
|
+
`threads create --source` spawns beside an existing thread — inheriting its
|
|
256
|
+
profile, path, and runtime — which groups the two. Pass a container ID to join an
|
|
257
|
+
existing group. `--attach` takes up to 10 files per message and uploads them
|
|
258
|
+
before the send; a failed send discards the uploads.
|
|
259
|
+
|
|
260
|
+
### `project-agents`
|
|
261
|
+
|
|
262
|
+
Manage Project agents through direct Convex one-shot commands.
|
|
263
|
+
|
|
264
|
+
```bash
|
|
265
|
+
convoy project-agents list --project WEB
|
|
266
|
+
convoy project-agents create --project WEB --name "Reviewer" --color "#3b82f6"
|
|
267
|
+
convoy project-agents create --project WEB --name "Planner" --color "#8b5cf6" --automation enabled --automation-cli-type codex --automation-workspace worktree
|
|
268
|
+
convoy project-agents update <projectAgentId> --description "Reviews pull requests"
|
|
269
|
+
convoy project-agents update <projectAgentId> --clear-automation
|
|
270
|
+
```
|
|
271
|
+
|
|
272
|
+
### `tasks`
|
|
273
|
+
|
|
274
|
+
One-shot task commands (non-interactive, run once and exit).
|
|
275
|
+
|
|
276
|
+
Manual command catalog for this workspace:
|
|
277
|
+
- See `/src/docs/specs/cli-one-shot-manual-tests.md`
|
|
278
|
+
|
|
279
|
+
```bash
|
|
280
|
+
convoy tasks list
|
|
281
|
+
convoy tasks list --project WEB --org acme
|
|
282
|
+
convoy tasks list --status "Triage" "Plan Review"
|
|
283
|
+
convoy tasks list --archived --output json
|
|
284
|
+
|
|
285
|
+
convoy tasks search "billing bug"
|
|
286
|
+
convoy tasks search "billing bug" --project WEB --org acme --limit 5
|
|
287
|
+
convoy tasks search "billing bug" --archive-mode archived --status "Plan Review"
|
|
288
|
+
convoy tasks search "billing bug" --assignee-id user_123 --output json
|
|
289
|
+
|
|
290
|
+
convoy tasks get task_abc123
|
|
291
|
+
convoy tasks get task_abc123 --comments 5
|
|
292
|
+
convoy tasks refs WEB-12 WEB-42 --project WEB --org acme
|
|
293
|
+
convoy tasks refs WEB-12 WEB-42 --project WEB --comments 5
|
|
294
|
+
|
|
295
|
+
convoy tasks attach WEB-12 ./spec.pdf ./screenshot.png --project WEB
|
|
296
|
+
convoy tasks attachments list WEB-12 --project WEB
|
|
297
|
+
convoy tasks attachments download WEB-12 attachment_abc123 --output ./spec.pdf --json
|
|
298
|
+
convoy tasks attachments delete WEB-12 attachment_abc123 --yes
|
|
299
|
+
opensana task attachment list WEB-12 --project WEB # singular aliases also work
|
|
300
|
+
|
|
301
|
+
convoy tasks artifacts list task_abc123
|
|
302
|
+
convoy tasks artifacts get artifact_abc123
|
|
303
|
+
convoy tasks artifacts create task_abc123 --name "Implementation plan" --content-file ./tmp/plan.md
|
|
304
|
+
convoy tasks artifacts update artifact_abc123 --name "Revised plan" --clear-run-id
|
|
305
|
+
convoy tasks artifacts delete artifact_abc123
|
|
306
|
+
|
|
307
|
+
convoy tasks create --name "Fix login bug" --project WEB --org acme --priority High --task-type-key bug
|
|
308
|
+
convoy tasks update task_abc123 --status "Plan Review" --task-type-key feature --assignee-id user_123
|
|
309
|
+
convoy tasks update task_abc123 --clear-due-date --unassign
|
|
310
|
+
convoy tasks move WEB-12 --parent WEB-42 --project WEB --org acme
|
|
311
|
+
convoy tasks move task_abc123 --top-level
|
|
312
|
+
convoy tasks move-to-list WEB-12 WEB-42 --list SPRINT-1 --project WEB
|
|
313
|
+
convoy tasks move-to-list task_abc123 --list BACKLOG --project WEB --json
|
|
314
|
+
convoy tasks comments add WEB-12 --message "Ready for review" --project WEB
|
|
315
|
+
convoy tasks comments add task_abc123 --message-file ./tmp/comment.md --json
|
|
316
|
+
convoy tasks delete task_abc123 --cascade keep_children
|
|
317
|
+
```
|
|
318
|
+
|
|
319
|
+
Notes:
|
|
320
|
+
|
|
321
|
+
- `--project` accepts project ID or alias.
|
|
322
|
+
- `--org` accepts organization ID or slug, and is used to disambiguate alias lookups.
|
|
323
|
+
- If `--project` is omitted, task commands use the resolved profile `project_id`.
|
|
324
|
+
- Status values are normalized locally but validated by the backend/project configuration.
|
|
325
|
+
- `--task-type-key` is passed through to the backend and validated there.
|
|
326
|
+
- `tasks search` uses cursor pagination with `--limit` and `--cursor`.
|
|
327
|
+
- `tasks move` accepts raw task IDs, bare refs, or scoped refs like `acme/WEB-12`, and computes rank server-side.
|
|
328
|
+
- `tasks move-to-list` resolves up to 25 task IDs/refs and moves them in one atomic backend mutation; targets accept List IDs, bare refs, or `BACKLOG`.
|
|
329
|
+
- `tasks comments add` creates ordinary task comments from `--message` or `--message-file`; artifact comments remain under `tasks artifacts comments`.
|
|
330
|
+
- `tasks attach` uploads one or more local files to a task; `tasks attachments list/download/delete` manages task file attachments.
|
|
331
|
+
- Multi-file `tasks attach` is best-effort: it prints uploaded attachments and failed files, then exits nonzero if any file failed.
|
|
332
|
+
- `task` and `attachment` are aliases for `tasks` and `attachments`.
|
|
333
|
+
- `tasks attachments download` uses `--output <path>` for the local file path; use `--json` for JSON output on that command.
|
|
334
|
+
- `tasks artifacts create` and `tasks artifacts update` support `--content` or `--content-file`; `update` also supports `--clear-content` and `--clear-run-id`.
|
|
335
|
+
- `tasks get` and `tasks refs` text output now includes artifact summary sections without embedding artifact markdown content.
|
|
336
|
+
- `tasks get` and `tasks refs` omit comments by default; pass `--comments <n>` to include the latest 1-50 comments.
|
|
337
|
+
|
|
338
|
+
### One-shot output mode
|
|
339
|
+
|
|
340
|
+
All one-shot commands support:
|
|
341
|
+
|
|
342
|
+
```bash
|
|
343
|
+
--output <text|json>
|
|
344
|
+
--json
|
|
345
|
+
```
|
|
346
|
+
|
|
347
|
+
Default output mode is `text`.
|
|
348
|
+
|
|
349
|
+
### `init`
|
|
350
|
+
|
|
351
|
+
Initialize MCP config and/or install Opensana skills for supported CLIs.
|
|
352
|
+
|
|
353
|
+
```bash
|
|
354
|
+
convoy init # MCP + skill setup
|
|
355
|
+
convoy init mcp # MCP config for selected targets
|
|
356
|
+
convoy init skill # prompt target(s): claude/codex (default both)
|
|
357
|
+
convoy init skill --cli claude --scope user
|
|
358
|
+
convoy init skill --cli codex --scope project
|
|
359
|
+
convoy init --cli claude,codex --scope user
|
|
360
|
+
convoy init mcp --cli codex # writes only .codex/config.toml
|
|
361
|
+
convoy init mcp --cli claude # writes only .mcp.json
|
|
362
|
+
```
|
|
363
|
+
|
|
364
|
+
`init skill` options:
|
|
365
|
+
|
|
366
|
+
- `--cli <target...>`: `claude`, `codex` (repeat or comma-separated)
|
|
367
|
+
- `--scope <scope>`: Skill scope (`user`, `project`)
|
|
368
|
+
- `--force`: overwrite existing skill files or links without prompts
|
|
369
|
+
|
|
370
|
+
`init mcp` options:
|
|
371
|
+
|
|
372
|
+
- `--cli <target...>`: MCP target(s): `claude`, `codex` (repeat/comma-separated; default both)
|
|
373
|
+
- `--output-dir <path>`: write config files under this directory
|
|
374
|
+
- `--force`: overwrite existing opensana entries without prompts
|
|
375
|
+
|
|
376
|
+
Behavior notes:
|
|
377
|
+
|
|
378
|
+
- If `--cli` is omitted, target selection is prompted with both selected by default.
|
|
379
|
+
- `init` uses one `--cli` selection for both MCP setup and skill setup.
|
|
380
|
+
- MCP file mapping: `claude` -> `.mcp.json`, `codex` -> `.codex/config.toml`.
|
|
381
|
+
- If Claude is selected but `claude` is unavailable, Claude is skipped and other targets continue.
|
|
382
|
+
- Project-scoped raw skills are stored once in `.agents/skills/opensana-tasks`.
|
|
383
|
+
- Project-scoped Claude raw installs link `.claude/skills/opensana-tasks` to that `.agents` copy.
|
|
384
|
+
- Existing skill files or links prompt before overwrite unless `--force` is passed.
|
|
385
|
+
- Codex install does not require a detected `codex` binary.
|
|
386
|
+
- If no selected target installs successfully, the command exits non-zero.
|
|
387
|
+
|
|
388
|
+
#### skills.sh alternative
|
|
389
|
+
|
|
390
|
+
`convoy init skill` uses the bundled OpenSana skill files and keeps installation deterministic. If you prefer the external `skills.sh` manager, install the same skill directly:
|
|
391
|
+
|
|
392
|
+
```bash
|
|
393
|
+
npx skills add https://github.com/gecko0/opensana/tree/main/plugins/opensana/skills --skill opensana-tasks
|
|
394
|
+
```
|
|
395
|
+
|
|
396
|
+
Use `--agent claude-code` or `--agent codex` to target one client, `--global` for user-wide installation, and `--copy` if you do not want skills.sh to use its default symlink-based install.
|
|
397
|
+
|
|
398
|
+
## Configuration
|
|
399
|
+
|
|
400
|
+
### Unified Config File
|
|
401
|
+
|
|
402
|
+
All configuration is stored in a single TOML file at `~/.config/opensana/config.toml`:
|
|
403
|
+
|
|
404
|
+
```toml
|
|
405
|
+
[settings]
|
|
406
|
+
default_profile = "my-project" # Optional fallback when no profile matches
|
|
407
|
+
|
|
408
|
+
[profiles.my-project]
|
|
409
|
+
name = "My Project"
|
|
410
|
+
url = "https://xxx.convex.cloud"
|
|
411
|
+
api_key = "sk_user_xxx"
|
|
412
|
+
project_id = "proj_abc123"
|
|
413
|
+
paths = ["/Users/me/my-project"]
|
|
414
|
+
concurrency = 8
|
|
415
|
+
|
|
416
|
+
[profiles.work]
|
|
417
|
+
name = "Work"
|
|
418
|
+
url = "https://work.convex.cloud"
|
|
419
|
+
api_key = "sk_user_yyy"
|
|
420
|
+
project_id = "proj_def456"
|
|
421
|
+
paths = ["/Users/me/work/frontend", "/Users/me/work/backend"]
|
|
422
|
+
```
|
|
423
|
+
|
|
424
|
+
### Profile Resolution
|
|
425
|
+
|
|
426
|
+
When you run the CLI, it resolves a profile in this order (highest priority first):
|
|
427
|
+
|
|
428
|
+
1. `--profile` CLI flag
|
|
429
|
+
2. `OPENSANA_PROFILE` environment variable
|
|
430
|
+
3. Path match (any entry in profile's `paths` matches current directory or is ancestor)
|
|
431
|
+
4. `settings.default_profile` from config
|
|
432
|
+
5. No match (prompts to create, add folder, or connect once)
|
|
433
|
+
|
|
434
|
+
When multiple profiles match, the most specific path (longest match) wins.
|
|
435
|
+
|
|
436
|
+
### Environment Variables
|
|
437
|
+
|
|
438
|
+
```bash
|
|
439
|
+
OPENSANA_URL # Override Convex URL (also pre-fills `convoy setup` prompt)
|
|
440
|
+
OPENSANA_API_KEY # Override API key
|
|
441
|
+
OPENSANA_PROFILE # Specify profile key
|
|
442
|
+
```
|
|
443
|
+
|
|
444
|
+
Set *on* the spawned coding runtime (not read by the CLI):
|
|
445
|
+
|
|
446
|
+
```bash
|
|
447
|
+
OPENSANA_THREAD_ID # OpenSana thread the run belongs to (all runtimes except opencode)
|
|
448
|
+
```
|
|
449
|
+
|
|
450
|
+
### Multiple Paths
|
|
451
|
+
|
|
452
|
+
A single profile can manage multiple directories. This is useful when you have several repos or worktrees that all belong to the same project:
|
|
453
|
+
|
|
454
|
+
```toml
|
|
455
|
+
[profiles.my-project]
|
|
456
|
+
name = "My Project"
|
|
457
|
+
url = "https://xxx.convex.cloud"
|
|
458
|
+
api_key = "sk_user_xxx"
|
|
459
|
+
project_id = "proj_abc123"
|
|
460
|
+
paths = [
|
|
461
|
+
"/Users/me/my-project",
|
|
462
|
+
"/Users/me/my-project-worktree",
|
|
463
|
+
"/Users/me/other-repo"
|
|
464
|
+
]
|
|
465
|
+
```
|
|
466
|
+
|
|
467
|
+
All paths are synced to the backend when the agent connects. The web UI lets you select which path to use when creating a new chat.
|
|
468
|
+
|
|
469
|
+
Add or remove paths with the `paths` command:
|
|
470
|
+
```bash
|
|
471
|
+
cd /Users/me/other-repo
|
|
472
|
+
convoy paths add # Adds current directory to the resolved profile
|
|
473
|
+
convoy paths remove /old/path # Removes a path
|
|
474
|
+
```
|
|
475
|
+
|
|
476
|
+
### Running from Any Directory
|
|
477
|
+
|
|
478
|
+
The CLI can run from any directory:
|
|
479
|
+
- If a profile matches the directory (via any path in `paths`), it uses that profile
|
|
480
|
+
- If no profile matches but profiles exist, you're prompted with three choices:
|
|
481
|
+
- **Create new profile** — runs the setup wizard
|
|
482
|
+
- **Add folder to existing profile** — adds the current directory to the selected profile's `paths`, then connects
|
|
483
|
+
- **Connect once** — connects using the selected profile without saving the directory
|
|
484
|
+
|
|
485
|
+
## Development
|
|
486
|
+
|
|
487
|
+
```bash
|
|
488
|
+
pnpm dev # Run CLI (no args = setup wizard or connect)
|
|
489
|
+
pnpm dev setup # Run setup command
|
|
490
|
+
pnpm dev config list # Run with args
|
|
491
|
+
pnpm dev:watch # Run with file watching (not for interactive prompts)
|
|
492
|
+
pnpm test # Run tests
|
|
493
|
+
pnpm test:once # Run tests once
|
|
494
|
+
pnpm build # Build for production
|
|
495
|
+
```
|