@agent-compose/sdk 0.8.5 → 0.8.6
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 +213 -189
- package/dist/agent/agent-context.d.ts +3 -3
- package/dist/agent/agent-loop.d.ts +4 -5
- package/dist/agent/perf-sampler.d.ts +27 -2
- package/dist/agent/run-agent.d.ts +1 -1
- package/dist/client.d.ts +105 -52
- package/dist/directives.d.ts +3 -3
- package/dist/display.d.ts +7 -0
- package/dist/errors.d.ts +1 -1
- package/dist/generated/agentc-commands.d.ts +34 -0
- package/dist/index.d.ts +12 -12
- package/dist/index.js +716 -203
- package/dist/request-context/request-context.d.ts +1 -1
- package/dist/runtimes/_cli-agent.d.ts +182 -68
- package/dist/runtimes/claude-code.d.ts +60 -1
- package/dist/runtimes/claude.d.ts +1 -1
- package/dist/runtimes/codex.d.ts +94 -6
- package/dist/runtimes/codex.mid-turn-hook.test.d.ts +10 -0
- package/dist/runtimes/openai-desktop.js +686 -199
- package/dist/runtimes/opencode.d.ts +48 -11
- package/dist/runtimes/opencode.test.d.ts +14 -0
- package/dist/sandbox/baked-clis.d.ts +75 -0
- package/dist/sandbox/exec-stream.d.ts +1 -2
- package/dist/sandbox/network-policy.d.ts +23 -5
- package/dist/sandbox.d.ts +4 -2
- package/dist/step-invocation/protocol.d.ts +3 -4
- package/dist/step-invocation/server.d.ts +2 -2
- package/dist/step-invocation/types.d.ts +1 -1
- package/dist/types/api-conversations.d.ts +442 -29
- package/dist/types/api-factory.d.ts +78 -8
- package/dist/types/api-projects.d.ts +480 -0
- package/dist/types/api-runs.d.ts +8 -0
- package/dist/types/api-scopes.d.ts +32 -3
- package/dist/types/conversation-stream.d.ts +5 -0
- package/dist/types/execution-context.d.ts +1 -1
- package/dist/types/protocol.d.ts +65 -2
- package/dist/types/runtime.d.ts +9 -2
- package/dist/types/workflow-metadata.d.ts +2 -4
- package/dist/types/workflow-plan.d.ts +1 -3
- package/dist/utils/bundler.d.ts +23 -0
- package/dist/workflow-steps/observability.d.ts +2 -3
- package/dist/workflow-steps/runner.d.ts +5 -8
- package/dist/workflow-steps/types.d.ts +8 -10
- package/dist/workflow-steps/workflow.d.ts +2 -1
- package/dist/workflows/engine.d.ts +3 -5
- package/dist/workflows/invoke-child.d.ts +2 -2
- package/package.json +2 -2
- package/src/agent/agent-context.ts +168 -125
- package/src/agent/agent-loop.ts +5 -4
- package/src/agent/perf-sampler.ts +54 -3
- package/src/agent/run-agent.ts +1 -1
- package/src/client.ts +191 -71
- package/src/directives.ts +3 -3
- package/src/display.ts +12 -0
- package/src/errors.ts +1 -0
- package/src/generated/agentc-commands.ts +571 -0
- package/src/index.ts +54 -21
- package/src/pause/pause-core.ts +2 -1
- package/src/request-context/request-context.ts +1 -1
- package/src/runtimes/_cli-agent.ts +306 -122
- package/src/runtimes/claude-code.ts +179 -9
- package/src/runtimes/claude.ts +1 -1
- package/src/runtimes/codex.ts +188 -19
- package/src/runtimes/opencode.ts +195 -26
- package/src/sandbox/baked-clis.ts +86 -0
- package/src/sandbox/exec-stream.ts +1 -2
- package/src/sandbox/network-policy.ts +51 -7
- package/src/sandbox/providers/e2b.ts +3 -3
- package/src/sandbox/providers/vercel.ts +6 -6
- package/src/sandbox.ts +8 -2
- package/src/step-invocation/invoker.ts +2 -6
- package/src/step-invocation/protocol.ts +3 -4
- package/src/step-invocation/server.ts +2 -2
- package/src/types/api-conversations.ts +366 -23
- package/src/types/api-factory.ts +74 -8
- package/src/types/api-projects.ts +443 -0
- package/src/types/api-runs.ts +5 -0
- package/src/types/api-scopes.ts +32 -3
- package/src/types/conversation-stream.ts +5 -0
- package/src/types/execution-context.ts +1 -1
- package/src/types/protocol.ts +67 -1
- package/src/types/runtime.ts +8 -2
- package/src/types/sandbox-environment.ts +1 -2
- package/src/types/workflow-metadata.ts +2 -4
- package/src/types/workflow-plan.ts +1 -3
- package/src/utils/bundler.ts +88 -19
- package/src/workflow-steps/observability.ts +2 -3
- package/src/workflow-steps/runner.ts +5 -8
- package/src/workflow-steps/types.ts +8 -10
- package/src/workflow-steps/workflow.ts +2 -1
- package/src/workflows/engine.ts +3 -5
- package/src/workflows/invoke-child.ts +2 -2
- package/dist/generated/verb-synopsis.d.ts +0 -34
- package/dist/pause/__tests__/errors.test.d.ts +0 -1
- package/dist/pause/__tests__/wrappers.test.d.ts +0 -1
- package/dist/step-invocation/__tests__/protocol.test.d.ts +0 -1
- package/src/generated/verb-synopsis.ts +0 -544
|
@@ -1,544 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* GENERATED FILE — DO NOT EDIT.
|
|
3
|
-
*
|
|
4
|
-
* Regenerate with `cd cli && bun run generate:verbs` (the CLI build chains
|
|
5
|
-
* it). Source of truth: the commander registry in `cli/src/program.ts`.
|
|
6
|
-
* Generator: `cli/scripts/generate-verb-synopsis.ts`.
|
|
7
|
-
*
|
|
8
|
-
* This is the complete list of `agentc` verbs, shipped verbatim into every
|
|
9
|
-
* agent-facing context — the cloud-session system prompt
|
|
10
|
-
* (server/src/agent/cloud-executor.ts) and the in-sandbox platform manual
|
|
11
|
-
* (sdk/src/agent/agent-context.ts). It exists because a hand-maintained
|
|
12
|
-
* subset drifted: an agent told its owner the CLI "has no cancel verb"
|
|
13
|
-
* while `agentc cancel` had shipped long before. A lockstep test
|
|
14
|
-
* (cli/src/__tests__/verb-synopsis.test.ts) fails the build if a registered
|
|
15
|
-
* command is missing here, so the drift cannot recur.
|
|
16
|
-
*/
|
|
17
|
-
|
|
18
|
-
/** One top-level verb, one subcommand level deep. `args` is a leaf verb's
|
|
19
|
-
* typed shape (positional args + mandatory options); subcommand entries
|
|
20
|
-
* carry their own signatures inline. */
|
|
21
|
-
export interface AgentcVerbEntry {
|
|
22
|
-
name: string;
|
|
23
|
-
aliases: readonly string[];
|
|
24
|
-
args: string;
|
|
25
|
-
description: string;
|
|
26
|
-
subcommands: readonly string[];
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
/** Every registered top-level verb, sorted by name. */
|
|
30
|
-
export const AGENTC_VERBS: readonly AgentcVerbEntry[] = [
|
|
31
|
-
{
|
|
32
|
-
"name": "auth",
|
|
33
|
-
"aliases": [],
|
|
34
|
-
"args": "",
|
|
35
|
-
"description": "Manage authentication",
|
|
36
|
-
"subcommands": [
|
|
37
|
-
"login <key>",
|
|
38
|
-
"logout",
|
|
39
|
-
"status"
|
|
40
|
-
]
|
|
41
|
-
},
|
|
42
|
-
{
|
|
43
|
-
"name": "branch",
|
|
44
|
-
"aliases": [],
|
|
45
|
-
"args": "",
|
|
46
|
-
"description": "Session drive branches: claim/release write authority, rebase on main",
|
|
47
|
-
"subcommands": [
|
|
48
|
-
"claim <target>",
|
|
49
|
-
"rebase [target]",
|
|
50
|
-
"release [target]",
|
|
51
|
-
"status"
|
|
52
|
-
]
|
|
53
|
-
},
|
|
54
|
-
{
|
|
55
|
-
"name": "bridge",
|
|
56
|
-
"aliases": [],
|
|
57
|
-
"args": "",
|
|
58
|
-
"description": "Connect a local coding agent (Claude Code / OpenCode) to…",
|
|
59
|
-
"subcommands": [
|
|
60
|
-
"login --agent <kind>",
|
|
61
|
-
"status",
|
|
62
|
-
"logout"
|
|
63
|
-
]
|
|
64
|
-
},
|
|
65
|
-
{
|
|
66
|
-
"name": "calendar",
|
|
67
|
-
"aliases": [],
|
|
68
|
-
"args": "",
|
|
69
|
-
"description": "Check your owner's calendar",
|
|
70
|
-
"subcommands": []
|
|
71
|
-
},
|
|
72
|
-
{
|
|
73
|
-
"name": "cancel",
|
|
74
|
-
"aliases": [],
|
|
75
|
-
"args": "<run-id>",
|
|
76
|
-
"description": "Cancel an in-progress run",
|
|
77
|
-
"subcommands": []
|
|
78
|
-
},
|
|
79
|
-
{
|
|
80
|
-
"name": "compliance",
|
|
81
|
-
"aliases": [],
|
|
82
|
-
"args": "",
|
|
83
|
-
"description": "Break-glass compliance sessions",
|
|
84
|
-
"subcommands": [
|
|
85
|
-
"request --scope <kind> --reason <text> --ttl <duration>",
|
|
86
|
-
"approve <session-id>",
|
|
87
|
-
"revoke <session-id>",
|
|
88
|
-
"list",
|
|
89
|
-
"accesses <session-id>"
|
|
90
|
-
]
|
|
91
|
-
},
|
|
92
|
-
{
|
|
93
|
-
"name": "connect",
|
|
94
|
-
"aliases": [],
|
|
95
|
-
"args": "",
|
|
96
|
-
"description": "Connect this machine: sign in if needed (one browser approval),…",
|
|
97
|
-
"subcommands": []
|
|
98
|
-
},
|
|
99
|
-
{
|
|
100
|
-
"name": "conv",
|
|
101
|
-
"aliases": [],
|
|
102
|
-
"args": "",
|
|
103
|
-
"description": "List and read conversations",
|
|
104
|
-
"subcommands": [
|
|
105
|
-
"list",
|
|
106
|
-
"read <conversationId>",
|
|
107
|
-
"post <channelId> [text]",
|
|
108
|
-
"members <conversationId>",
|
|
109
|
-
"invite <conversationId> <users...>",
|
|
110
|
-
"role"
|
|
111
|
-
]
|
|
112
|
-
},
|
|
113
|
-
{
|
|
114
|
-
"name": "display",
|
|
115
|
-
"aliases": [],
|
|
116
|
-
"args": "",
|
|
117
|
-
"description": "Render a rich card into the conversation transcript",
|
|
118
|
-
"subcommands": [
|
|
119
|
-
"run <runId>",
|
|
120
|
-
"changes <runId>",
|
|
121
|
-
"document <drive-path>",
|
|
122
|
-
"plan --entries <json>",
|
|
123
|
-
"image <drive-path>",
|
|
124
|
-
"desktop",
|
|
125
|
-
"preview <drive-path>",
|
|
126
|
-
"table",
|
|
127
|
-
"chart --data <json> --kind <kind>",
|
|
128
|
-
"diff <drive-path> --from <rev> --to <rev>",
|
|
129
|
-
"ask --prompt <text>"
|
|
130
|
-
]
|
|
131
|
-
},
|
|
132
|
-
{
|
|
133
|
-
"name": "events",
|
|
134
|
-
"aliases": [],
|
|
135
|
-
"args": "",
|
|
136
|
-
"description": "Send or list run events",
|
|
137
|
-
"subcommands": [
|
|
138
|
-
"send <run-id> <name>",
|
|
139
|
-
"list [run-id]"
|
|
140
|
-
]
|
|
141
|
-
},
|
|
142
|
-
{
|
|
143
|
-
"name": "factory",
|
|
144
|
-
"aliases": [],
|
|
145
|
-
"args": "",
|
|
146
|
-
"description": "Manage factories",
|
|
147
|
-
"subcommands": [
|
|
148
|
-
"list",
|
|
149
|
-
"create <slug>",
|
|
150
|
-
"use <slug>",
|
|
151
|
-
"delete <slug>",
|
|
152
|
-
"show"
|
|
153
|
-
]
|
|
154
|
-
},
|
|
155
|
-
{
|
|
156
|
-
"name": "files",
|
|
157
|
-
"aliases": [],
|
|
158
|
-
"args": "",
|
|
159
|
-
"description": "Read/write documents on a factory's drive",
|
|
160
|
-
"subcommands": [
|
|
161
|
-
"conflicts",
|
|
162
|
-
"mount [dir]",
|
|
163
|
-
"unmount",
|
|
164
|
-
"mounts",
|
|
165
|
-
"merge",
|
|
166
|
-
"flush",
|
|
167
|
-
"put <local-file> <drive-path>",
|
|
168
|
-
"ls [prefix]",
|
|
169
|
-
"read <drive-path>",
|
|
170
|
-
"write <drive-path>",
|
|
171
|
-
"pull <drive-path>",
|
|
172
|
-
"get <drive-path>"
|
|
173
|
-
]
|
|
174
|
-
},
|
|
175
|
-
{
|
|
176
|
-
"name": "import",
|
|
177
|
-
"aliases": [],
|
|
178
|
-
"args": "",
|
|
179
|
-
"description": "Move a local Claude Code session into Agent Compose: history,…",
|
|
180
|
-
"subcommands": []
|
|
181
|
-
},
|
|
182
|
-
{
|
|
183
|
-
"name": "init",
|
|
184
|
-
"aliases": [],
|
|
185
|
-
"args": "",
|
|
186
|
-
"description": "Install agentc skills",
|
|
187
|
-
"subcommands": []
|
|
188
|
-
},
|
|
189
|
-
{
|
|
190
|
-
"name": "invoke",
|
|
191
|
-
"aliases": [],
|
|
192
|
-
"args": "[template]",
|
|
193
|
-
"description": "Invoke a registered workflow template or a platform default",
|
|
194
|
-
"subcommands": []
|
|
195
|
-
},
|
|
196
|
-
{
|
|
197
|
-
"name": "keys",
|
|
198
|
-
"aliases": [],
|
|
199
|
-
"args": "",
|
|
200
|
-
"description": "Manage API keys",
|
|
201
|
-
"subcommands": [
|
|
202
|
-
"create <name>",
|
|
203
|
-
"list"
|
|
204
|
-
]
|
|
205
|
-
},
|
|
206
|
-
{
|
|
207
|
-
"name": "list",
|
|
208
|
-
"aliases": [],
|
|
209
|
-
"args": "",
|
|
210
|
-
"description": "List workflow templates you can invoke",
|
|
211
|
-
"subcommands": []
|
|
212
|
-
},
|
|
213
|
-
{
|
|
214
|
-
"name": "login",
|
|
215
|
-
"aliases": [],
|
|
216
|
-
"args": "",
|
|
217
|
-
"description": "Log in via your browser",
|
|
218
|
-
"subcommands": []
|
|
219
|
-
},
|
|
220
|
-
{
|
|
221
|
-
"name": "logout",
|
|
222
|
-
"aliases": [],
|
|
223
|
-
"args": "",
|
|
224
|
-
"description": "Clear this machine's browser-login credentials",
|
|
225
|
-
"subcommands": []
|
|
226
|
-
},
|
|
227
|
-
{
|
|
228
|
-
"name": "logs",
|
|
229
|
-
"aliases": [],
|
|
230
|
-
"args": "<run-id>",
|
|
231
|
-
"description": "Stream logs for a run",
|
|
232
|
-
"subcommands": []
|
|
233
|
-
},
|
|
234
|
-
{
|
|
235
|
-
"name": "machine",
|
|
236
|
-
"aliases": [],
|
|
237
|
-
"args": "",
|
|
238
|
-
"description": "Resize this session's machine",
|
|
239
|
-
"subcommands": [
|
|
240
|
-
"upsize"
|
|
241
|
-
]
|
|
242
|
-
},
|
|
243
|
-
{
|
|
244
|
-
"name": "mail",
|
|
245
|
-
"aliases": [],
|
|
246
|
-
"args": "",
|
|
247
|
-
"description": "Check your owner's email",
|
|
248
|
-
"subcommands": [
|
|
249
|
-
"search [query...]",
|
|
250
|
-
"read <message-id>"
|
|
251
|
-
]
|
|
252
|
-
},
|
|
253
|
-
{
|
|
254
|
-
"name": "members",
|
|
255
|
-
"aliases": [],
|
|
256
|
-
"args": "",
|
|
257
|
-
"description": "List teammates and flag them for attention",
|
|
258
|
-
"subcommands": [
|
|
259
|
-
"list",
|
|
260
|
-
"notify --user <id-or-email> --text <message>"
|
|
261
|
-
]
|
|
262
|
-
},
|
|
263
|
-
{
|
|
264
|
-
"name": "merge",
|
|
265
|
-
"aliases": [],
|
|
266
|
-
"args": "",
|
|
267
|
-
"description": "Merge THIS session's own drive branch into the shared drive's…",
|
|
268
|
-
"subcommands": []
|
|
269
|
-
},
|
|
270
|
-
{
|
|
271
|
-
"name": "navigate",
|
|
272
|
-
"aliases": [],
|
|
273
|
-
"args": "<path>",
|
|
274
|
-
"description": "Take the user's dashboard to a page",
|
|
275
|
-
"subcommands": []
|
|
276
|
-
},
|
|
277
|
-
{
|
|
278
|
-
"name": "notify",
|
|
279
|
-
"aliases": [],
|
|
280
|
-
"args": "[need...]",
|
|
281
|
-
"description": "Push a non-blocking need OR FINDING to your owner's queue…",
|
|
282
|
-
"subcommands": []
|
|
283
|
-
},
|
|
284
|
-
{
|
|
285
|
-
"name": "pause",
|
|
286
|
-
"aliases": [],
|
|
287
|
-
"args": "--reason <text>",
|
|
288
|
-
"description": "Ask the human a question and block until they answer",
|
|
289
|
-
"subcommands": []
|
|
290
|
-
},
|
|
291
|
-
{
|
|
292
|
-
"name": "preview",
|
|
293
|
-
"aliases": [],
|
|
294
|
-
"args": "",
|
|
295
|
-
"description": "Expose a dev-server port on a hosted, member-gated URL",
|
|
296
|
-
"subcommands": [
|
|
297
|
-
"open|announce <port>",
|
|
298
|
-
"list",
|
|
299
|
-
"close <port>"
|
|
300
|
-
]
|
|
301
|
-
},
|
|
302
|
-
{
|
|
303
|
-
"name": "project",
|
|
304
|
-
"aliases": [],
|
|
305
|
-
"args": "",
|
|
306
|
-
"description": "Create and manage projects",
|
|
307
|
-
"subcommands": [
|
|
308
|
-
"create <name>",
|
|
309
|
-
"list",
|
|
310
|
-
"show <ref>",
|
|
311
|
-
"delete <ref>",
|
|
312
|
-
"members <ref>",
|
|
313
|
-
"invite <ref>",
|
|
314
|
-
"role",
|
|
315
|
-
"remove-member <ref> <user>",
|
|
316
|
-
"leave <ref>",
|
|
317
|
-
"objects <ref>",
|
|
318
|
-
"add <ref> <objectRef>",
|
|
319
|
-
"refresh <ref> <sessionRef>",
|
|
320
|
-
"remove <ref> <objectRef>"
|
|
321
|
-
]
|
|
322
|
-
},
|
|
323
|
-
{
|
|
324
|
-
"name": "register",
|
|
325
|
-
"aliases": [],
|
|
326
|
-
"args": "<workflow>",
|
|
327
|
-
"description": "Register a workflow with the server",
|
|
328
|
-
"subcommands": []
|
|
329
|
-
},
|
|
330
|
-
{
|
|
331
|
-
"name": "repos",
|
|
332
|
-
"aliases": [],
|
|
333
|
-
"args": "",
|
|
334
|
-
"description": "Link factory-drive directories to GitHub repositories",
|
|
335
|
-
"subcommands": [
|
|
336
|
-
"link <repoFullName> --prefix <dir>",
|
|
337
|
-
"links",
|
|
338
|
-
"unlink <linkId>",
|
|
339
|
-
"clone <link>",
|
|
340
|
-
"restore",
|
|
341
|
-
"setup",
|
|
342
|
-
"gh-token [link]",
|
|
343
|
-
"git-credential [op]",
|
|
344
|
-
"mirror <link>"
|
|
345
|
-
]
|
|
346
|
-
},
|
|
347
|
-
{
|
|
348
|
-
"name": "review",
|
|
349
|
-
"aliases": [],
|
|
350
|
-
"args": "",
|
|
351
|
-
"description": "In-sandbox toolbelt for a spawned diff-review session",
|
|
352
|
-
"subcommands": [
|
|
353
|
-
"findings",
|
|
354
|
-
"publish --notes <file>",
|
|
355
|
-
"git-credential <action>",
|
|
356
|
-
"changes",
|
|
357
|
-
"file <path>"
|
|
358
|
-
]
|
|
359
|
-
},
|
|
360
|
-
{
|
|
361
|
-
"name": "run",
|
|
362
|
-
"aliases": [],
|
|
363
|
-
"args": "",
|
|
364
|
-
"description": "Dispatch workflows and check run status",
|
|
365
|
-
"subcommands": [
|
|
366
|
-
"dispatch <templateName> --input <json>",
|
|
367
|
-
"get <runId>",
|
|
368
|
-
"watch <runId>",
|
|
369
|
-
"list",
|
|
370
|
-
"artifacts <runId> [path]",
|
|
371
|
-
"latest"
|
|
372
|
-
]
|
|
373
|
-
},
|
|
374
|
-
{
|
|
375
|
-
"name": "schedule",
|
|
376
|
-
"aliases": [],
|
|
377
|
-
"args": "",
|
|
378
|
-
"description": "Manage cron schedules attached to registered workflows",
|
|
379
|
-
"subcommands": [
|
|
380
|
-
"create <name> --workflow <name> --cron <expr>",
|
|
381
|
-
"list",
|
|
382
|
-
"delete <id>"
|
|
383
|
-
]
|
|
384
|
-
},
|
|
385
|
-
{
|
|
386
|
-
"name": "search",
|
|
387
|
-
"aliases": [],
|
|
388
|
-
"args": "<query>",
|
|
389
|
-
"description": "Search factory files",
|
|
390
|
-
"subcommands": []
|
|
391
|
-
},
|
|
392
|
-
{
|
|
393
|
-
"name": "secrets",
|
|
394
|
-
"aliases": [],
|
|
395
|
-
"args": "",
|
|
396
|
-
"description": "Manage secrets",
|
|
397
|
-
"subcommands": [
|
|
398
|
-
"set <workflow> <key> <value>",
|
|
399
|
-
"list <workflow>",
|
|
400
|
-
"delete <workflow> <key>",
|
|
401
|
-
"factory",
|
|
402
|
-
"session"
|
|
403
|
-
]
|
|
404
|
-
},
|
|
405
|
-
{
|
|
406
|
-
"name": "services",
|
|
407
|
-
"aliases": [],
|
|
408
|
-
"args": "",
|
|
409
|
-
"description": "Durable services manifest",
|
|
410
|
-
"subcommands": [
|
|
411
|
-
"list",
|
|
412
|
-
"add <name> --command <cmd>",
|
|
413
|
-
"remove <name>",
|
|
414
|
-
"restore [names...]"
|
|
415
|
-
]
|
|
416
|
-
},
|
|
417
|
-
{
|
|
418
|
-
"name": "session",
|
|
419
|
-
"aliases": [
|
|
420
|
-
"chat"
|
|
421
|
-
],
|
|
422
|
-
"args": "",
|
|
423
|
-
"description": "Interactive terminal chat on a conversation",
|
|
424
|
-
"subcommands": [
|
|
425
|
-
"login",
|
|
426
|
-
"logout",
|
|
427
|
-
"add",
|
|
428
|
-
"import",
|
|
429
|
-
"resume <conversationId>",
|
|
430
|
-
"terminal <conversationId>",
|
|
431
|
-
"fork [conversationId]",
|
|
432
|
-
"share <conversationId>",
|
|
433
|
-
"unshare <conversationId>",
|
|
434
|
-
"attach <channelId> [conversationId]",
|
|
435
|
-
"detach <channelId> [conversationId]",
|
|
436
|
-
"share-file <conversationId> <path>",
|
|
437
|
-
"unshare-file <conversationId> <path>",
|
|
438
|
-
"message <target> [text]"
|
|
439
|
-
]
|
|
440
|
-
},
|
|
441
|
-
{
|
|
442
|
-
"name": "setup",
|
|
443
|
-
"aliases": [],
|
|
444
|
-
"args": "",
|
|
445
|
-
"description": "Set this machine up so any agent on it can…",
|
|
446
|
-
"subcommands": []
|
|
447
|
-
},
|
|
448
|
-
{
|
|
449
|
-
"name": "share",
|
|
450
|
-
"aliases": [],
|
|
451
|
-
"args": "<ref>",
|
|
452
|
-
"description": "Share a drive document or a workflow template",
|
|
453
|
-
"subcommands": []
|
|
454
|
-
},
|
|
455
|
-
{
|
|
456
|
-
"name": "skills",
|
|
457
|
-
"aliases": [],
|
|
458
|
-
"args": "",
|
|
459
|
-
"description": "Bring your own skills: import local Claude Code skills into…",
|
|
460
|
-
"subcommands": [
|
|
461
|
-
"import",
|
|
462
|
-
"list",
|
|
463
|
-
"show <name>",
|
|
464
|
-
"adopt <name>",
|
|
465
|
-
"rm <name>",
|
|
466
|
-
"share <name>",
|
|
467
|
-
"unshare <name>"
|
|
468
|
-
]
|
|
469
|
-
},
|
|
470
|
-
{
|
|
471
|
-
"name": "snapshot",
|
|
472
|
-
"aliases": [],
|
|
473
|
-
"args": "",
|
|
474
|
-
"description": "Manage captured sandbox snapshots",
|
|
475
|
-
"subcommands": [
|
|
476
|
-
"list",
|
|
477
|
-
"delete <run-id> [snapshot-id]",
|
|
478
|
-
"show <run-id>"
|
|
479
|
-
]
|
|
480
|
-
},
|
|
481
|
-
{
|
|
482
|
-
"name": "takeover",
|
|
483
|
-
"aliases": [],
|
|
484
|
-
"args": "",
|
|
485
|
-
"description": "Offer the human this desktop",
|
|
486
|
-
"subcommands": []
|
|
487
|
-
},
|
|
488
|
-
{
|
|
489
|
-
"name": "thread",
|
|
490
|
-
"aliases": [],
|
|
491
|
-
"args": "",
|
|
492
|
-
"description": "Read this session's thread queue on your owner's board",
|
|
493
|
-
"subcommands": [
|
|
494
|
-
"progress [note...]"
|
|
495
|
-
]
|
|
496
|
-
},
|
|
497
|
-
{
|
|
498
|
-
"name": "upgrade",
|
|
499
|
-
"aliases": [],
|
|
500
|
-
"args": "",
|
|
501
|
-
"description": "Update the agentc CLI to the latest published version",
|
|
502
|
-
"subcommands": []
|
|
503
|
-
},
|
|
504
|
-
{
|
|
505
|
-
"name": "usage",
|
|
506
|
-
"aliases": [],
|
|
507
|
-
"args": "",
|
|
508
|
-
"description": "Show billable usage",
|
|
509
|
-
"subcommands": []
|
|
510
|
-
},
|
|
511
|
-
{
|
|
512
|
-
"name": "watch",
|
|
513
|
-
"aliases": [],
|
|
514
|
-
"args": "",
|
|
515
|
-
"description": "Connect the claude-code session already running in this directory to…",
|
|
516
|
-
"subcommands": []
|
|
517
|
-
},
|
|
518
|
-
{
|
|
519
|
-
"name": "web",
|
|
520
|
-
"aliases": [],
|
|
521
|
-
"args": "<query...>",
|
|
522
|
-
"description": "Search the web",
|
|
523
|
-
"subcommands": []
|
|
524
|
-
},
|
|
525
|
-
{
|
|
526
|
-
"name": "work",
|
|
527
|
-
"aliases": [],
|
|
528
|
-
"args": "",
|
|
529
|
-
"description": "Hold or release this session's background-work busy lease",
|
|
530
|
-
"subcommands": [
|
|
531
|
-
"hold",
|
|
532
|
-
"watch --cmd <shell>",
|
|
533
|
-
"release"
|
|
534
|
-
]
|
|
535
|
-
}
|
|
536
|
-
] as const;
|
|
537
|
-
|
|
538
|
-
/** The rendered block: title, one framing line, then one line per verb.
|
|
539
|
-
* Ships verbatim in the server's cloud-session system prompt. */
|
|
540
|
-
export const AGENTC_VERB_SYNOPSIS = "agentc verbs — the complete list:\nGenerated from the CLI's own registry — if a verb is listed here it EXISTS on your PATH; run `agentc <verb> --help` for its flags, and never tell anyone a capability is missing without checking this list first.\n- agentc auth login <key>, logout, status — Manage authentication\n- agentc branch claim <target>, rebase [target], release [target], status — Session drive branches: claim/release write authority, rebase on main\n- agentc bridge login --agent <kind>, status, logout — Connect a local coding agent (Claude Code / OpenCode) to…\n- agentc calendar — Check your owner's calendar\n- agentc cancel <run-id> — Cancel an in-progress run\n- agentc compliance request --scope <kind> --reason <text> --ttl <duration>, approve <session-id>, revoke <session-id>, list, accesses <session-id> — Break-glass compliance sessions\n- agentc connect — Connect this machine: sign in if needed (one browser approval),…\n- agentc conv list, read <conversationId>, post <channelId> [text], members <conversationId>, invite <conversationId> <users...>, role — List and read conversations\n- agentc display run <runId>, changes <runId>, document <drive-path>, plan --entries <json>, image <drive-path>, desktop, preview <drive-path>, table, chart --data <json> --kind <kind>, diff <drive-path> --from <rev> --to <rev>, ask --prompt <text> — Render a rich card into the conversation transcript\n- agentc events send <run-id> <name>, list [run-id] — Send or list run events\n- agentc factory list, create <slug>, use <slug>, delete <slug>, show — Manage factories\n- agentc files conflicts, mount [dir], unmount, mounts, merge, flush, put <local-file> <drive-path>, ls [prefix], read <drive-path>, write <drive-path>, pull <drive-path>, get <drive-path> — Read/write documents on a factory's drive\n- agentc import — Move a local Claude Code session into Agent Compose: history,…\n- agentc init — Install agentc skills\n- agentc invoke [template] — Invoke a registered workflow template or a platform default\n- agentc keys create <name>, list — Manage API keys\n- agentc list — List workflow templates you can invoke\n- agentc login — Log in via your browser\n- agentc logout — Clear this machine's browser-login credentials\n- agentc logs <run-id> — Stream logs for a run\n- agentc machine upsize — Resize this session's machine\n- agentc mail search [query...], read <message-id> — Check your owner's email\n- agentc members list, notify --user <id-or-email> --text <message> — List teammates and flag them for attention\n- agentc merge — Merge THIS session's own drive branch into the shared drive's…\n- agentc navigate <path> — Take the user's dashboard to a page\n- agentc notify [need...] — Push a non-blocking need OR FINDING to your owner's queue…\n- agentc pause --reason <text> — Ask the human a question and block until they answer\n- agentc preview open|announce <port>, list, close <port> — Expose a dev-server port on a hosted, member-gated URL\n- agentc project create <name>, list, show <ref>, delete <ref>, members <ref>, invite <ref>, role, remove-member <ref> <user>, leave <ref>, objects <ref>, add <ref> <objectRef>, refresh <ref> <sessionRef>, remove <ref> <objectRef> — Create and manage projects\n- agentc register <workflow> — Register a workflow with the server\n- agentc repos link <repoFullName> --prefix <dir>, links, unlink <linkId>, clone <link>, restore, setup, gh-token [link], git-credential [op], mirror <link> — Link factory-drive directories to GitHub repositories\n- agentc review findings, publish --notes <file>, git-credential <action>, changes, file <path> — In-sandbox toolbelt for a spawned diff-review session\n- agentc run dispatch <templateName> --input <json>, get <runId>, watch <runId>, list, artifacts <runId> [path], latest — Dispatch workflows and check run status\n- agentc schedule create <name> --workflow <name> --cron <expr>, list, delete <id> — Manage cron schedules attached to registered workflows\n- agentc search <query> — Search factory files\n- agentc secrets set <workflow> <key> <value>, list <workflow>, delete <workflow> <key>, factory, session — Manage secrets\n- agentc services list, add <name> --command <cmd>, remove <name>, restore [names...] — Durable services manifest\n- agentc session|chat login, logout, add, import, resume <conversationId>, terminal <conversationId>, fork [conversationId], share <conversationId>, unshare <conversationId>, attach <channelId> [conversationId], detach <channelId> [conversationId], share-file <conversationId> <path>, unshare-file <conversationId> <path>, message <target> [text] — Interactive terminal chat on a conversation\n- agentc setup — Set this machine up so any agent on it can…\n- agentc share <ref> — Share a drive document or a workflow template\n- agentc skills import, list, show <name>, adopt <name>, rm <name>, share <name>, unshare <name> — Bring your own skills: import local Claude Code skills into…\n- agentc snapshot list, delete <run-id> [snapshot-id], show <run-id> — Manage captured sandbox snapshots\n- agentc takeover — Offer the human this desktop\n- agentc thread progress [note...] — Read this session's thread queue on your owner's board\n- agentc upgrade — Update the agentc CLI to the latest published version\n- agentc usage — Show billable usage\n- agentc watch — Connect the claude-code session already running in this directory to…\n- agentc web <query...> — Search the web\n- agentc work hold, watch --cmd <shell>, release — Hold or release this session's background-work busy lease";
|
|
541
|
-
|
|
542
|
-
/** The same block as a markdown `##` section — ships verbatim inside the
|
|
543
|
-
* in-sandbox platform manual (`AGENT_COMPOSE_MANUAL`). Same verb lines. */
|
|
544
|
-
export const AGENTC_VERB_SYNOPSIS_MD = "## agentc verbs — the complete list\n\nGenerated from the CLI's own registry — if a verb is listed here it EXISTS on your PATH; run `agentc <verb> --help` for its flags, and never tell anyone a capability is missing without checking this list first.\n\n- agentc auth login <key>, logout, status — Manage authentication\n- agentc branch claim <target>, rebase [target], release [target], status — Session drive branches: claim/release write authority, rebase on main\n- agentc bridge login --agent <kind>, status, logout — Connect a local coding agent (Claude Code / OpenCode) to…\n- agentc calendar — Check your owner's calendar\n- agentc cancel <run-id> — Cancel an in-progress run\n- agentc compliance request --scope <kind> --reason <text> --ttl <duration>, approve <session-id>, revoke <session-id>, list, accesses <session-id> — Break-glass compliance sessions\n- agentc connect — Connect this machine: sign in if needed (one browser approval),…\n- agentc conv list, read <conversationId>, post <channelId> [text], members <conversationId>, invite <conversationId> <users...>, role — List and read conversations\n- agentc display run <runId>, changes <runId>, document <drive-path>, plan --entries <json>, image <drive-path>, desktop, preview <drive-path>, table, chart --data <json> --kind <kind>, diff <drive-path> --from <rev> --to <rev>, ask --prompt <text> — Render a rich card into the conversation transcript\n- agentc events send <run-id> <name>, list [run-id] — Send or list run events\n- agentc factory list, create <slug>, use <slug>, delete <slug>, show — Manage factories\n- agentc files conflicts, mount [dir], unmount, mounts, merge, flush, put <local-file> <drive-path>, ls [prefix], read <drive-path>, write <drive-path>, pull <drive-path>, get <drive-path> — Read/write documents on a factory's drive\n- agentc import — Move a local Claude Code session into Agent Compose: history,…\n- agentc init — Install agentc skills\n- agentc invoke [template] — Invoke a registered workflow template or a platform default\n- agentc keys create <name>, list — Manage API keys\n- agentc list — List workflow templates you can invoke\n- agentc login — Log in via your browser\n- agentc logout — Clear this machine's browser-login credentials\n- agentc logs <run-id> — Stream logs for a run\n- agentc machine upsize — Resize this session's machine\n- agentc mail search [query...], read <message-id> — Check your owner's email\n- agentc members list, notify --user <id-or-email> --text <message> — List teammates and flag them for attention\n- agentc merge — Merge THIS session's own drive branch into the shared drive's…\n- agentc navigate <path> — Take the user's dashboard to a page\n- agentc notify [need...] — Push a non-blocking need OR FINDING to your owner's queue…\n- agentc pause --reason <text> — Ask the human a question and block until they answer\n- agentc preview open|announce <port>, list, close <port> — Expose a dev-server port on a hosted, member-gated URL\n- agentc project create <name>, list, show <ref>, delete <ref>, members <ref>, invite <ref>, role, remove-member <ref> <user>, leave <ref>, objects <ref>, add <ref> <objectRef>, refresh <ref> <sessionRef>, remove <ref> <objectRef> — Create and manage projects\n- agentc register <workflow> — Register a workflow with the server\n- agentc repos link <repoFullName> --prefix <dir>, links, unlink <linkId>, clone <link>, restore, setup, gh-token [link], git-credential [op], mirror <link> — Link factory-drive directories to GitHub repositories\n- agentc review findings, publish --notes <file>, git-credential <action>, changes, file <path> — In-sandbox toolbelt for a spawned diff-review session\n- agentc run dispatch <templateName> --input <json>, get <runId>, watch <runId>, list, artifacts <runId> [path], latest — Dispatch workflows and check run status\n- agentc schedule create <name> --workflow <name> --cron <expr>, list, delete <id> — Manage cron schedules attached to registered workflows\n- agentc search <query> — Search factory files\n- agentc secrets set <workflow> <key> <value>, list <workflow>, delete <workflow> <key>, factory, session — Manage secrets\n- agentc services list, add <name> --command <cmd>, remove <name>, restore [names...] — Durable services manifest\n- agentc session|chat login, logout, add, import, resume <conversationId>, terminal <conversationId>, fork [conversationId], share <conversationId>, unshare <conversationId>, attach <channelId> [conversationId], detach <channelId> [conversationId], share-file <conversationId> <path>, unshare-file <conversationId> <path>, message <target> [text] — Interactive terminal chat on a conversation\n- agentc setup — Set this machine up so any agent on it can…\n- agentc share <ref> — Share a drive document or a workflow template\n- agentc skills import, list, show <name>, adopt <name>, rm <name>, share <name>, unshare <name> — Bring your own skills: import local Claude Code skills into…\n- agentc snapshot list, delete <run-id> [snapshot-id], show <run-id> — Manage captured sandbox snapshots\n- agentc takeover — Offer the human this desktop\n- agentc thread progress [note...] — Read this session's thread queue on your owner's board\n- agentc upgrade — Update the agentc CLI to the latest published version\n- agentc usage — Show billable usage\n- agentc watch — Connect the claude-code session already running in this directory to…\n- agentc web <query...> — Search the web\n- agentc work hold, watch --cmd <shell>, release — Hold or release this session's background-work busy lease";
|