@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.
Files changed (156) hide show
  1. package/README.md +17 -17
  2. package/dist/marketplace/.claude-plugin/marketplace.json +6 -6
  3. package/dist/marketplace/convoy/.claude-plugin/plugin.json +5 -0
  4. package/dist/marketplace/{opensana → convoy}/README.md +14 -14
  5. package/dist/marketplace/{opensana → convoy}/skills/tasks/SKILL.md +7 -7
  6. package/dist/marketplace/{opensana → convoy}/skills/tasks/references/mcp-setup.md +8 -8
  7. package/dist/src/agent/app/chunk-flush-buffer.js +26 -3
  8. package/dist/src/agent/app/chunk-flush-buffer.js.map +1 -1
  9. package/dist/src/agent/app/runner.js.map +1 -1
  10. package/dist/src/agent/app/thread-attachment-cache.js +2 -2
  11. package/dist/src/agent/app/thread-attachment-cache.js.map +1 -1
  12. package/dist/src/agent/app/thread-processor.d.ts +2 -2
  13. package/dist/src/agent/app/thread-processor.js +2 -2
  14. package/dist/src/agent/app/thread-processor.js.map +1 -1
  15. package/dist/src/agent/app/worktree-op-processor.d.ts +2 -2
  16. package/dist/src/agent/app/worktree-op-processor.js.map +1 -1
  17. package/dist/src/agent/runtimes/agent-instructions.d.ts +2 -2
  18. package/dist/src/agent/runtimes/agent-instructions.js +3 -3
  19. package/dist/src/agent/runtimes/agent-instructions.js.map +1 -1
  20. package/dist/src/agent/runtimes/claudeCode/prompts.js +1 -1
  21. package/dist/src/agent/runtimes/claudeCode/prompts.js.map +1 -1
  22. package/dist/src/agent/runtimes/claudeCode/runner.js +8 -8
  23. package/dist/src/agent/runtimes/claudeCode/runner.js.map +1 -1
  24. package/dist/src/agent/runtimes/claudeCode/runtime.js +2 -2
  25. package/dist/src/agent/runtimes/claudeCode/runtime.js.map +1 -1
  26. package/dist/src/agent/runtimes/codex/app-server-runner.js +3 -3
  27. package/dist/src/agent/runtimes/codex/app-server-runner.js.map +1 -1
  28. package/dist/src/agent/runtimes/codex/commands.d.ts +2 -2
  29. package/dist/src/agent/runtimes/codex/commands.js +2 -2
  30. package/dist/src/agent/runtimes/codex/runner.d.ts +1 -1
  31. package/dist/src/agent/runtimes/codex/runner.js +2 -2
  32. package/dist/src/agent/runtimes/codex/runner.js.map +1 -1
  33. package/dist/src/agent/runtimes/codex/runtime.js +5 -1
  34. package/dist/src/agent/runtimes/codex/runtime.js.map +1 -1
  35. package/dist/src/agent/runtimes/codex/streaming.d.ts +7 -0
  36. package/dist/src/agent/runtimes/codex/streaming.js +45 -0
  37. package/dist/src/agent/runtimes/codex/streaming.js.map +1 -0
  38. package/dist/src/agent/runtimes/contracts.d.ts +3 -5
  39. package/dist/src/agent/runtimes/cursor/commands.d.ts +1 -1
  40. package/dist/src/agent/runtimes/cursor/commands.js +1 -1
  41. package/dist/src/agent/runtimes/cursor/runner.d.ts +1 -1
  42. package/dist/src/agent/runtimes/cursor/runner.js +3 -3
  43. package/dist/src/agent/runtimes/cursor/runner.js.map +1 -1
  44. package/dist/src/agent/runtimes/cursor/runtime.js +1 -1
  45. package/dist/src/agent/runtimes/cursor/runtime.js.map +1 -1
  46. package/dist/src/agent/runtimes/debug.d.ts +1 -1
  47. package/dist/src/agent/runtimes/debug.js +2 -2
  48. package/dist/src/agent/runtimes/debug.js.map +1 -1
  49. package/dist/src/agent/runtimes/opencode/detect.d.ts +7 -1
  50. package/dist/src/agent/runtimes/opencode/detect.js +32 -9
  51. package/dist/src/agent/runtimes/opencode/detect.js.map +1 -1
  52. package/dist/src/agent/runtimes/opencode/runner.js +3 -3
  53. package/dist/src/agent/runtimes/opencode/runner.js.map +1 -1
  54. package/dist/src/agent/runtimes/opencode/runtime.js +1 -1
  55. package/dist/src/agent/runtimes/opencode/runtime.js.map +1 -1
  56. package/dist/src/agent/runtimes/opencode/server.d.ts +1 -1
  57. package/dist/src/agent/runtimes/opencode/server.js +3 -3
  58. package/dist/src/agent/runtimes/opencode/server.js.map +1 -1
  59. package/dist/src/agent/sdk/constants.d.ts +1 -1
  60. package/dist/src/agent/sdk/constants.js +1 -1
  61. package/dist/src/agent/sdk/constants.js.map +1 -1
  62. package/dist/src/agent/sdk/runtime/isolation-env.js +1 -1
  63. package/dist/src/agent/sdk/runtime/isolation-env.js.map +1 -1
  64. package/dist/src/agent/sdk/session-manager.js +1 -1
  65. package/dist/src/agent/sdk/session-manager.js.map +1 -1
  66. package/dist/src/commands/connect/workflow.js +1 -1
  67. package/dist/src/commands/connect/workflow.js.map +1 -1
  68. package/dist/src/commands/devcontainer/command.js +2 -2
  69. package/dist/src/commands/devcontainer/command.js.map +1 -1
  70. package/dist/src/commands/devcontainer/install.d.ts +2 -2
  71. package/dist/src/commands/devcontainer/install.js +2 -2
  72. package/dist/src/commands/devcontainer/install.js.map +1 -1
  73. package/dist/src/commands/init/config/claude-mcp.d.ts +2 -2
  74. package/dist/src/commands/init/config/claude-mcp.js +3 -3
  75. package/dist/src/commands/init/config/claude-mcp.js.map +1 -1
  76. package/dist/src/commands/init/config/codex-mcp.d.ts +2 -2
  77. package/dist/src/commands/init/config/codex-mcp.js +4 -4
  78. package/dist/src/commands/init/config/codex-mcp.js.map +1 -1
  79. package/dist/src/commands/init/config/opencode-mcp.d.ts +2 -2
  80. package/dist/src/commands/init/config/opencode-mcp.js +4 -4
  81. package/dist/src/commands/init/config/opencode-mcp.js.map +1 -1
  82. package/dist/src/commands/init/io/file-copy.js +1 -1
  83. package/dist/src/commands/init/io/file-copy.js.map +1 -1
  84. package/dist/src/commands/init/prompts.js +1 -1
  85. package/dist/src/commands/init/prompts.js.map +1 -1
  86. package/dist/src/commands/init/targets/claude.js +9 -9
  87. package/dist/src/commands/init/targets/claude.js.map +1 -1
  88. package/dist/src/commands/init/targets/codex.js +4 -4
  89. package/dist/src/commands/init/targets/codex.js.map +1 -1
  90. package/dist/src/commands/init/targets/opencode.js +4 -4
  91. package/dist/src/commands/init/targets/opencode.js.map +1 -1
  92. package/dist/src/commands/init/types.d.ts +1 -1
  93. package/dist/src/commands/init/types.js +2 -2
  94. package/dist/src/commands/init/types.js.map +1 -1
  95. package/dist/src/commands/init.js +5 -5
  96. package/dist/src/commands/init.js.map +1 -1
  97. package/dist/src/commands/labels/resolve.d.ts +2 -2
  98. package/dist/src/commands/labels/resolve.js.map +1 -1
  99. package/dist/src/commands/lists/resolve.d.ts +2 -2
  100. package/dist/src/commands/lists/resolve.js.map +1 -1
  101. package/dist/src/commands/prompts/resolve.d.ts +2 -2
  102. package/dist/src/commands/prompts/resolve.js.map +1 -1
  103. package/dist/src/commands/setup/workflow.js +1 -1
  104. package/dist/src/commands/setup/workflow.js.map +1 -1
  105. package/dist/src/commands/tasks/artifacts/index.js +2 -0
  106. package/dist/src/commands/tasks/artifacts/index.js.map +1 -1
  107. package/dist/src/commands/tasks/artifacts/move.d.ts +2 -0
  108. package/dist/src/commands/tasks/artifacts/move.js +39 -0
  109. package/dist/src/commands/tasks/artifacts/move.js.map +1 -0
  110. package/dist/src/commands/tasks/attachments/index.js +2 -0
  111. package/dist/src/commands/tasks/attachments/index.js.map +1 -1
  112. package/dist/src/commands/tasks/attachments/move.d.ts +2 -0
  113. package/dist/src/commands/tasks/attachments/move.js +48 -0
  114. package/dist/src/commands/tasks/attachments/move.js.map +1 -0
  115. package/dist/src/commands/tasks/attachments/resolve.d.ts +2 -2
  116. package/dist/src/commands/tasks/attachments/resolve.js.map +1 -1
  117. package/dist/src/commands/tasks/attachments/transfer.d.ts +2 -2
  118. package/dist/src/commands/tasks/attachments/transfer.js.map +1 -1
  119. package/dist/src/commands/tasks/hydrate.d.ts +3 -3
  120. package/dist/src/commands/tasks/hydrate.js.map +1 -1
  121. package/dist/src/commands/tasks/resolve.d.ts +3 -3
  122. package/dist/src/commands/tasks/resolve.js.map +1 -1
  123. package/dist/src/commands/threads/spawn-target.d.ts +2 -2
  124. package/dist/src/commands/threads/spawn-target.js.map +1 -1
  125. package/dist/src/convex/_generated/api.d.ts +2 -0
  126. package/dist/src/lib/config/convex-client.d.ts +1 -1
  127. package/dist/src/lib/config/index.d.ts +1 -1
  128. package/dist/src/lib/config/index.js +1 -1
  129. package/dist/src/lib/config/index.js.map +1 -1
  130. package/dist/src/lib/config/profile.d.ts +1 -1
  131. package/dist/src/lib/config/profile.js +1 -1
  132. package/dist/src/lib/config/provider-keys.d.ts +1 -1
  133. package/dist/src/lib/config/provider-keys.js +1 -1
  134. package/dist/src/lib/config/provider-keys.js.map +1 -1
  135. package/dist/src/lib/constants.d.ts +6 -6
  136. package/dist/src/lib/constants.js +6 -6
  137. package/dist/src/lib/constants.js.map +1 -1
  138. package/dist/src/lib/git/checkpoint.d.ts +1 -1
  139. package/dist/src/lib/git/checkpoint.js +4 -4
  140. package/dist/src/lib/git/checkpoint.js.map +1 -1
  141. package/dist/src/lib/git/worktrees.d.ts +1 -1
  142. package/dist/src/lib/git/worktrees.js +1 -1
  143. package/dist/src/lib/one-shot-command.d.ts +2 -2
  144. package/dist/src/lib/one-shot-command.js.map +1 -1
  145. package/dist/src/lib/project-resolution.d.ts +2 -2
  146. package/dist/src/lib/project-resolution.js.map +1 -1
  147. package/dist/src/lib/skill-install-guidance.d.ts +2 -2
  148. package/dist/src/lib/skill-install-guidance.js +7 -7
  149. package/dist/src/lib/skill-install-guidance.js.map +1 -1
  150. package/dist/src/lib/thread-attachments.d.ts +2 -2
  151. package/dist/src/lib/thread-attachments.js.map +1 -1
  152. package/dist/templates/devcontainer/README.md +6 -6
  153. package/dist/templates/devcontainer/devcontainer.json +4 -4
  154. package/dist/templates/devcontainer/init-firewall.sh +1 -1
  155. package/package.json +4 -4
  156. 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 [OpenSana](https://opensana.dev) dev container. It is generic: nothing in it requires OpenSana, but OpenSana users get their CLI profiles and Convex backend wired in automatically when the corresponding env vars are set.
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/opensana`
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 OpenSana CLI
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) | OpenSana/Convex deployment slug — adds `$CONVEX_DEPLOYMENT.convex.site` and `.convex.cloud` to the allowlist |
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
- - **OpenSana CLI** — profiles and API keys shared via `~/.config/opensana`. If you don't use OpenSana the mount is harmless (the directory is auto-created empty).
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/opensana/` | `/home/node/.config/opensana/` | OpenSana CLI profiles and API keys (optional) |
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: OpenSana CLI profiles and API keys (harmless if you don't use OpenSana)
46
- "source=${localEnv:HOME}/.config/opensana,target=/home/node/.config/opensana,type=bind,consistency=cached"
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: OpenSana/Convex backend — adds $CONVEX_DEPLOYMENT.convex.{site,cloud} to the strict-mode firewall allowlist
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/opensana\"",
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: OpenSana/Convex backend (set CONVEX_DEPLOYMENT on the host to enable)
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.48.0",
3
+ "version": "0.49.3",
4
4
  "description": "CLI agent for Convoy",
5
5
  "license": "Elastic-2.0",
6
- "homepage": "https://docs.opensana.dev/docs/cli/install",
6
+ "homepage": "https://docs.convoy.build/docs/cli/install",
7
7
  "repository": {
8
8
  "type": "git",
9
- "url": "git+https://github.com/gecko0/opensana.git",
9
+ "url": "git+https://github.com/packtrain/convoy.git",
10
10
  "directory": "apps/cli"
11
11
  },
12
12
  "bugs": {
13
- "url": "https://github.com/gecko0/opensana/issues"
13
+ "url": "https://github.com/packtrain/convoy/issues"
14
14
  },
15
15
  "keywords": [
16
16
  "convoy",
@@ -1,5 +0,0 @@
1
- {
2
- "name": "opensana",
3
- "version": "0.1.0",
4
- "description": "Opensana task management via MCP — setup, configure, and manage projects and tasks directly from Claude Code."
5
- }