@useconvoy/cli 0.48.0 → 0.49.3
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/README.md +17 -17
- package/dist/marketplace/.claude-plugin/marketplace.json +6 -6
- package/dist/marketplace/convoy/.claude-plugin/plugin.json +5 -0
- package/dist/marketplace/{opensana → convoy}/README.md +14 -14
- package/dist/marketplace/{opensana → convoy}/skills/tasks/SKILL.md +7 -7
- package/dist/marketplace/{opensana → convoy}/skills/tasks/references/mcp-setup.md +8 -8
- package/dist/src/agent/app/chunk-flush-buffer.js +26 -3
- package/dist/src/agent/app/chunk-flush-buffer.js.map +1 -1
- package/dist/src/agent/app/runner.js.map +1 -1
- package/dist/src/agent/app/thread-attachment-cache.js +2 -2
- package/dist/src/agent/app/thread-attachment-cache.js.map +1 -1
- package/dist/src/agent/app/thread-processor.d.ts +2 -2
- package/dist/src/agent/app/thread-processor.js +2 -2
- package/dist/src/agent/app/thread-processor.js.map +1 -1
- package/dist/src/agent/app/worktree-op-processor.d.ts +2 -2
- package/dist/src/agent/app/worktree-op-processor.js.map +1 -1
- package/dist/src/agent/runtimes/agent-instructions.d.ts +2 -2
- package/dist/src/agent/runtimes/agent-instructions.js +3 -3
- package/dist/src/agent/runtimes/agent-instructions.js.map +1 -1
- package/dist/src/agent/runtimes/claudeCode/prompts.js +1 -1
- package/dist/src/agent/runtimes/claudeCode/prompts.js.map +1 -1
- package/dist/src/agent/runtimes/claudeCode/runner.js +8 -8
- package/dist/src/agent/runtimes/claudeCode/runner.js.map +1 -1
- package/dist/src/agent/runtimes/claudeCode/runtime.js +2 -2
- package/dist/src/agent/runtimes/claudeCode/runtime.js.map +1 -1
- package/dist/src/agent/runtimes/codex/app-server-runner.js +3 -3
- package/dist/src/agent/runtimes/codex/app-server-runner.js.map +1 -1
- package/dist/src/agent/runtimes/codex/commands.d.ts +2 -2
- package/dist/src/agent/runtimes/codex/commands.js +2 -2
- package/dist/src/agent/runtimes/codex/runner.d.ts +1 -1
- package/dist/src/agent/runtimes/codex/runner.js +2 -2
- package/dist/src/agent/runtimes/codex/runner.js.map +1 -1
- package/dist/src/agent/runtimes/codex/runtime.js +5 -1
- package/dist/src/agent/runtimes/codex/runtime.js.map +1 -1
- package/dist/src/agent/runtimes/codex/streaming.d.ts +7 -0
- package/dist/src/agent/runtimes/codex/streaming.js +45 -0
- package/dist/src/agent/runtimes/codex/streaming.js.map +1 -0
- package/dist/src/agent/runtimes/contracts.d.ts +3 -5
- package/dist/src/agent/runtimes/cursor/commands.d.ts +1 -1
- package/dist/src/agent/runtimes/cursor/commands.js +1 -1
- package/dist/src/agent/runtimes/cursor/runner.d.ts +1 -1
- package/dist/src/agent/runtimes/cursor/runner.js +3 -3
- package/dist/src/agent/runtimes/cursor/runner.js.map +1 -1
- package/dist/src/agent/runtimes/cursor/runtime.js +1 -1
- package/dist/src/agent/runtimes/cursor/runtime.js.map +1 -1
- package/dist/src/agent/runtimes/debug.d.ts +1 -1
- package/dist/src/agent/runtimes/debug.js +2 -2
- package/dist/src/agent/runtimes/debug.js.map +1 -1
- package/dist/src/agent/runtimes/opencode/detect.d.ts +7 -1
- package/dist/src/agent/runtimes/opencode/detect.js +32 -9
- package/dist/src/agent/runtimes/opencode/detect.js.map +1 -1
- package/dist/src/agent/runtimes/opencode/runner.js +3 -3
- package/dist/src/agent/runtimes/opencode/runner.js.map +1 -1
- package/dist/src/agent/runtimes/opencode/runtime.js +1 -1
- package/dist/src/agent/runtimes/opencode/runtime.js.map +1 -1
- package/dist/src/agent/runtimes/opencode/server.d.ts +1 -1
- package/dist/src/agent/runtimes/opencode/server.js +3 -3
- package/dist/src/agent/runtimes/opencode/server.js.map +1 -1
- package/dist/src/agent/sdk/constants.d.ts +1 -1
- package/dist/src/agent/sdk/constants.js +1 -1
- package/dist/src/agent/sdk/constants.js.map +1 -1
- package/dist/src/agent/sdk/runtime/isolation-env.js +1 -1
- package/dist/src/agent/sdk/runtime/isolation-env.js.map +1 -1
- package/dist/src/agent/sdk/session-manager.js +1 -1
- package/dist/src/agent/sdk/session-manager.js.map +1 -1
- package/dist/src/commands/connect/workflow.js +1 -1
- package/dist/src/commands/connect/workflow.js.map +1 -1
- package/dist/src/commands/devcontainer/command.js +2 -2
- package/dist/src/commands/devcontainer/command.js.map +1 -1
- package/dist/src/commands/devcontainer/install.d.ts +2 -2
- package/dist/src/commands/devcontainer/install.js +2 -2
- package/dist/src/commands/devcontainer/install.js.map +1 -1
- package/dist/src/commands/init/config/claude-mcp.d.ts +2 -2
- package/dist/src/commands/init/config/claude-mcp.js +3 -3
- package/dist/src/commands/init/config/claude-mcp.js.map +1 -1
- package/dist/src/commands/init/config/codex-mcp.d.ts +2 -2
- package/dist/src/commands/init/config/codex-mcp.js +4 -4
- package/dist/src/commands/init/config/codex-mcp.js.map +1 -1
- package/dist/src/commands/init/config/opencode-mcp.d.ts +2 -2
- package/dist/src/commands/init/config/opencode-mcp.js +4 -4
- package/dist/src/commands/init/config/opencode-mcp.js.map +1 -1
- package/dist/src/commands/init/io/file-copy.js +1 -1
- package/dist/src/commands/init/io/file-copy.js.map +1 -1
- package/dist/src/commands/init/prompts.js +1 -1
- package/dist/src/commands/init/prompts.js.map +1 -1
- package/dist/src/commands/init/targets/claude.js +9 -9
- package/dist/src/commands/init/targets/claude.js.map +1 -1
- package/dist/src/commands/init/targets/codex.js +4 -4
- package/dist/src/commands/init/targets/codex.js.map +1 -1
- package/dist/src/commands/init/targets/opencode.js +4 -4
- package/dist/src/commands/init/targets/opencode.js.map +1 -1
- package/dist/src/commands/init/types.d.ts +1 -1
- package/dist/src/commands/init/types.js +2 -2
- package/dist/src/commands/init/types.js.map +1 -1
- package/dist/src/commands/init.js +5 -5
- package/dist/src/commands/init.js.map +1 -1
- package/dist/src/commands/labels/resolve.d.ts +2 -2
- package/dist/src/commands/labels/resolve.js.map +1 -1
- package/dist/src/commands/lists/resolve.d.ts +2 -2
- package/dist/src/commands/lists/resolve.js.map +1 -1
- package/dist/src/commands/prompts/resolve.d.ts +2 -2
- package/dist/src/commands/prompts/resolve.js.map +1 -1
- package/dist/src/commands/setup/workflow.js +1 -1
- package/dist/src/commands/setup/workflow.js.map +1 -1
- package/dist/src/commands/tasks/artifacts/index.js +2 -0
- package/dist/src/commands/tasks/artifacts/index.js.map +1 -1
- package/dist/src/commands/tasks/artifacts/move.d.ts +2 -0
- package/dist/src/commands/tasks/artifacts/move.js +39 -0
- package/dist/src/commands/tasks/artifacts/move.js.map +1 -0
- package/dist/src/commands/tasks/attachments/index.js +2 -0
- package/dist/src/commands/tasks/attachments/index.js.map +1 -1
- package/dist/src/commands/tasks/attachments/move.d.ts +2 -0
- package/dist/src/commands/tasks/attachments/move.js +48 -0
- package/dist/src/commands/tasks/attachments/move.js.map +1 -0
- package/dist/src/commands/tasks/attachments/resolve.d.ts +2 -2
- package/dist/src/commands/tasks/attachments/resolve.js.map +1 -1
- package/dist/src/commands/tasks/attachments/transfer.d.ts +2 -2
- package/dist/src/commands/tasks/attachments/transfer.js.map +1 -1
- package/dist/src/commands/tasks/hydrate.d.ts +3 -3
- package/dist/src/commands/tasks/hydrate.js.map +1 -1
- package/dist/src/commands/tasks/resolve.d.ts +3 -3
- package/dist/src/commands/tasks/resolve.js.map +1 -1
- package/dist/src/commands/threads/spawn-target.d.ts +2 -2
- package/dist/src/commands/threads/spawn-target.js.map +1 -1
- package/dist/src/convex/_generated/api.d.ts +2 -0
- package/dist/src/lib/config/convex-client.d.ts +1 -1
- package/dist/src/lib/config/index.d.ts +1 -1
- package/dist/src/lib/config/index.js +1 -1
- package/dist/src/lib/config/index.js.map +1 -1
- package/dist/src/lib/config/profile.d.ts +1 -1
- package/dist/src/lib/config/profile.js +1 -1
- package/dist/src/lib/config/provider-keys.d.ts +1 -1
- package/dist/src/lib/config/provider-keys.js +1 -1
- package/dist/src/lib/config/provider-keys.js.map +1 -1
- package/dist/src/lib/constants.d.ts +6 -6
- package/dist/src/lib/constants.js +6 -6
- package/dist/src/lib/constants.js.map +1 -1
- package/dist/src/lib/git/checkpoint.d.ts +1 -1
- package/dist/src/lib/git/checkpoint.js +4 -4
- package/dist/src/lib/git/checkpoint.js.map +1 -1
- package/dist/src/lib/git/worktrees.d.ts +1 -1
- package/dist/src/lib/git/worktrees.js +1 -1
- package/dist/src/lib/one-shot-command.d.ts +2 -2
- package/dist/src/lib/one-shot-command.js.map +1 -1
- package/dist/src/lib/project-resolution.d.ts +2 -2
- package/dist/src/lib/project-resolution.js.map +1 -1
- package/dist/src/lib/skill-install-guidance.d.ts +2 -2
- package/dist/src/lib/skill-install-guidance.js +7 -7
- package/dist/src/lib/skill-install-guidance.js.map +1 -1
- package/dist/src/lib/thread-attachments.d.ts +2 -2
- package/dist/src/lib/thread-attachments.js.map +1 -1
- package/dist/templates/devcontainer/README.md +6 -6
- package/dist/templates/devcontainer/devcontainer.json +4 -4
- package/dist/templates/devcontainer/init-firewall.sh +1 -1
- package/package.json +4 -4
- package/dist/marketplace/opensana/.claude-plugin/plugin.json +0 -5
|
@@ -2,19 +2,19 @@
|
|
|
2
2
|
|
|
3
3
|
A sandboxed dev container for running AI coding agents (Claude Code, Codex, OpenCode, Cursor CLI) against any project, with an optional outbound-network firewall.
|
|
4
4
|
|
|
5
|
-
This is the distributable version of the [
|
|
5
|
+
This is the distributable version of the [Convoy](https://convoy.build) dev container. It is generic: nothing in it requires Convoy, but Convoy users get their CLI profiles and Convex backend wired in automatically when the corresponding env vars are set.
|
|
6
6
|
|
|
7
7
|
## What you get
|
|
8
8
|
|
|
9
9
|
- **Claude Code, Codex CLI, OpenCode CLI, and Cursor CLI** installed globally from `latest` on container create (via `postCreateCommand`, so rebuilds are never stuck on a cached image layer's versions)
|
|
10
|
-
- **Agent auth shared with the host** — log in once on the host, the container reuses `~/.codex`, `~/.cursor`, `~/.local/share/opencode`, `~/.config/opencode`, and (optionally) `~/.config/
|
|
10
|
+
- **Agent auth shared with the host** — log in once on the host, the container reuses `~/.codex`, `~/.cursor`, `~/.local/share/opencode`, `~/.config/opencode`, and (optionally) `~/.config/convoy`
|
|
11
11
|
- **Two network modes** — `strict` blocks all outbound traffic except a curated allowlist; `open` skips the firewall
|
|
12
12
|
- **Persistent shell history and Claude Code config** across container rebuilds (Docker volumes)
|
|
13
13
|
- zsh + powerlevel10k, fzf, git-delta, gh, jq, corepack (pnpm/yarn via project pin)
|
|
14
14
|
|
|
15
15
|
## Install
|
|
16
16
|
|
|
17
|
-
### With the
|
|
17
|
+
### With the Convoy CLI
|
|
18
18
|
|
|
19
19
|
```bash
|
|
20
20
|
cd your-project
|
|
@@ -45,7 +45,7 @@ Everything is optional. The container pulls values from your host environment vi
|
|
|
45
45
|
| `AWS_BEARER_TOKEN_BEDROCK` | (unset) | Set to use Claude Code via AWS Bedrock |
|
|
46
46
|
| `CLAUDE_CODE_USE_BEDROCK` | (unset) | Set to `1` to route Claude Code through Bedrock |
|
|
47
47
|
| `AWS_REGION` | `us-east-1` | AWS region for the Bedrock firewall allowlist entry |
|
|
48
|
-
| `CONVEX_DEPLOYMENT` | (unset) |
|
|
48
|
+
| `CONVEX_DEPLOYMENT` | (unset) | Convoy/Convex deployment slug — adds `$CONVEX_DEPLOYMENT.convex.site` and `.convex.cloud` to the allowlist |
|
|
49
49
|
|
|
50
50
|
Export them in your shell profile (`~/.zshrc` / `~/.bashrc`) **before** the container starts, then rebuild.
|
|
51
51
|
|
|
@@ -99,7 +99,7 @@ The firewall resolves allowed domains to IPs once at startup. Providers rotate I
|
|
|
99
99
|
- **Codex** — shared with the host via `~/.codex`. Run `codex login` on the host; the container reuses `~/.codex/auth.json`.
|
|
100
100
|
- **OpenCode** — shared with the host via `~/.local/share/opencode` (auth) and `~/.config/opencode` (config). Run `opencode auth login` on the host. Providers other than Anthropic/OpenAI need their API endpoints added to the allowlist in strict mode.
|
|
101
101
|
- **Cursor CLI** — shared with the host via `~/.cursor`. Run `cursor-agent login` on the host; the container reuses the stored credentials.
|
|
102
|
-
- **
|
|
102
|
+
- **Convoy CLI** — profiles and API keys shared via `~/.config/convoy`. If you don't use Convoy the mount is harmless (the directory is auto-created empty).
|
|
103
103
|
|
|
104
104
|
## Mounted volumes
|
|
105
105
|
|
|
@@ -111,7 +111,7 @@ The firewall resolves allowed domains to IPs once at startup. Providers rotate I
|
|
|
111
111
|
| `~/.cursor/` | `/home/node/.cursor/` | Cursor CLI auth and config (shared with host) |
|
|
112
112
|
| `~/.local/share/opencode/` | `/home/node/.local/share/opencode/` | OpenCode auth and sessions (shared with host) |
|
|
113
113
|
| `~/.config/opencode/` | `/home/node/.config/opencode/` | OpenCode configuration (shared with host) |
|
|
114
|
-
| `~/.config/
|
|
114
|
+
| `~/.config/convoy/` | `/home/node/.config/convoy/` | Convoy CLI profiles and API keys (optional) |
|
|
115
115
|
|
|
116
116
|
The container's `initializeCommand` creates the host directories automatically if they are missing.
|
|
117
117
|
|
|
@@ -42,8 +42,8 @@
|
|
|
42
42
|
"source=${localEnv:HOME}/.cursor,target=/home/node/.cursor,type=bind,consistency=cached",
|
|
43
43
|
"source=${localEnv:HOME}/.local/share/opencode,target=/home/node/.local/share/opencode,type=bind,consistency=cached",
|
|
44
44
|
"source=${localEnv:HOME}/.config/opencode,target=/home/node/.config/opencode,type=bind,consistency=cached",
|
|
45
|
-
// Optional:
|
|
46
|
-
"source=${localEnv:HOME}/.config/
|
|
45
|
+
// Optional: Convoy CLI profiles and API keys (harmless if you don't use Convoy)
|
|
46
|
+
"source=${localEnv:HOME}/.config/convoy,target=/home/node/.config/convoy,type=bind,consistency=cached"
|
|
47
47
|
],
|
|
48
48
|
"containerEnv": {
|
|
49
49
|
"DEVCONTAINER_NETWORK_MODE": "${localEnv:DEVCONTAINER_NETWORK_MODE:strict}",
|
|
@@ -67,14 +67,14 @@
|
|
|
67
67
|
"AWS_BEARER_TOKEN_BEDROCK": "${localEnv:AWS_BEARER_TOKEN_BEDROCK}",
|
|
68
68
|
"AWS_REGION": "${localEnv:AWS_REGION:us-east-1}",
|
|
69
69
|
"CLAUDE_CODE_USE_BEDROCK": "${localEnv:CLAUDE_CODE_USE_BEDROCK}",
|
|
70
|
-
// Optional:
|
|
70
|
+
// Optional: Convoy/Convex backend — adds $CONVEX_DEPLOYMENT.convex.{site,cloud} to the strict-mode firewall allowlist
|
|
71
71
|
"CONVEX_DEPLOYMENT": "${localEnv:CONVEX_DEPLOYMENT}",
|
|
72
72
|
// Optional: extra domains for the strict-mode firewall allowlist (comma or space separated)
|
|
73
73
|
"DEVCONTAINER_EXTRA_ALLOWED_DOMAINS": "${localEnv:DEVCONTAINER_EXTRA_ALLOWED_DOMAINS}"
|
|
74
74
|
},
|
|
75
75
|
"workspaceMount": "source=${localWorkspaceFolder},target=/workspace,type=bind,consistency=delegated",
|
|
76
76
|
"workspaceFolder": "/workspace",
|
|
77
|
-
"initializeCommand": "mkdir -p \"${localEnv:HOME}/.codex\" \"${localEnv:HOME}/.cursor\" \"${localEnv:HOME}/.local/share/opencode\" \"${localEnv:HOME}/.config/opencode\" \"${localEnv:HOME}/.config/
|
|
77
|
+
"initializeCommand": "mkdir -p \"${localEnv:HOME}/.codex\" \"${localEnv:HOME}/.cursor\" \"${localEnv:HOME}/.local/share/opencode\" \"${localEnv:HOME}/.config/opencode\" \"${localEnv:HOME}/.config/convoy\"",
|
|
78
78
|
// Agent CLIs install here, not in the Dockerfile: Docker caches a
|
|
79
79
|
// `RUN npm install -g ...@latest` layer forever, so rebuilds silently keep the
|
|
80
80
|
// first build's versions. postCreateCommand runs once per container create,
|
|
@@ -130,7 +130,7 @@ ALLOWED_DOMAINS=(
|
|
|
130
130
|
"bedrock-runtime.${AWS_REGION_VALUE}.amazonaws.com"
|
|
131
131
|
)
|
|
132
132
|
|
|
133
|
-
# Optional:
|
|
133
|
+
# Optional: Convoy/Convex backend (set CONVEX_DEPLOYMENT on the host to enable)
|
|
134
134
|
if [ -n "${CONVEX_DEPLOYMENT:-}" ]; then
|
|
135
135
|
ALLOWED_DOMAINS+=(
|
|
136
136
|
"${CONVEX_DEPLOYMENT}.convex.site"
|
package/package.json
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@useconvoy/cli",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.49.3",
|
|
4
4
|
"description": "CLI agent for Convoy",
|
|
5
5
|
"license": "Elastic-2.0",
|
|
6
|
-
"homepage": "https://docs.
|
|
6
|
+
"homepage": "https://docs.convoy.build/docs/cli/install",
|
|
7
7
|
"repository": {
|
|
8
8
|
"type": "git",
|
|
9
|
-
"url": "git+https://github.com/
|
|
9
|
+
"url": "git+https://github.com/packtrain/convoy.git",
|
|
10
10
|
"directory": "apps/cli"
|
|
11
11
|
},
|
|
12
12
|
"bugs": {
|
|
13
|
-
"url": "https://github.com/
|
|
13
|
+
"url": "https://github.com/packtrain/convoy/issues"
|
|
14
14
|
},
|
|
15
15
|
"keywords": [
|
|
16
16
|
"convoy",
|