@parcha/agentrun 0.4.5 → 0.4.7
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 +11 -3
- package/lib/cli.mjs +2 -2
- package/lib/commands.generated.mjs +1033 -85
- package/lib/follow.mjs +2 -1
- package/lib/start.mjs +2 -2
- package/lib/template.mjs +42 -0
- package/package.json +2 -2
- package/skills/agentrun-cli/SKILL.md +25 -9
- package/skills/agentrun-cli/references/commands.md +284 -5
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
// Generated by scripts/generate-clients.mjs from the server's OpenAPI document. Do not edit: run node scripts/generate-clients.mjs.
|
|
2
|
-
// SHA-256 of what the table is made of (operationsOf in scripts/generate-clients.mjs): daf5a6b21d009c9b74da813a177b33cb79efd89f533ecbbea3be6ca7b3dd242f
|
|
3
2
|
export const COMMANDS = [
|
|
4
3
|
{
|
|
5
4
|
"command": [
|
|
@@ -23,6 +22,45 @@ export const COMMANDS = [
|
|
|
23
22
|
"raw": false,
|
|
24
23
|
"summary": "Archive the agent: hidden from the lists, kept with its history"
|
|
25
24
|
},
|
|
25
|
+
{
|
|
26
|
+
"command": [
|
|
27
|
+
"agents",
|
|
28
|
+
"connect-native"
|
|
29
|
+
],
|
|
30
|
+
"operationId": "connectNative",
|
|
31
|
+
"method": "POST",
|
|
32
|
+
"path": "/native/connect",
|
|
33
|
+
"pathParams": [],
|
|
34
|
+
"multiSegment": [],
|
|
35
|
+
"query": [],
|
|
36
|
+
"headers": [],
|
|
37
|
+
"bodyFlags": [
|
|
38
|
+
{
|
|
39
|
+
"name": "project",
|
|
40
|
+
"type": "string",
|
|
41
|
+
"required": true,
|
|
42
|
+
"description": ""
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
"name": "runtime",
|
|
46
|
+
"type": "string",
|
|
47
|
+
"enum": [
|
|
48
|
+
"claude-code",
|
|
49
|
+
"codex"
|
|
50
|
+
],
|
|
51
|
+
"required": true,
|
|
52
|
+
"description": ""
|
|
53
|
+
}
|
|
54
|
+
],
|
|
55
|
+
"hasBody": true,
|
|
56
|
+
"bodyRequired": true,
|
|
57
|
+
"bodyTypes": [
|
|
58
|
+
"application/json"
|
|
59
|
+
],
|
|
60
|
+
"secretBody": false,
|
|
61
|
+
"raw": false,
|
|
62
|
+
"summary": "Connect a native project using ordinary agent and revision storage"
|
|
63
|
+
},
|
|
26
64
|
{
|
|
27
65
|
"command": [
|
|
28
66
|
"agents",
|
|
@@ -92,6 +130,67 @@ export const COMMANDS = [
|
|
|
92
130
|
"raw": false,
|
|
93
131
|
"summary": "Remove an agent's own Archil disk, and everything on it"
|
|
94
132
|
},
|
|
133
|
+
{
|
|
134
|
+
"command": [
|
|
135
|
+
"agents",
|
|
136
|
+
"disconnect-native"
|
|
137
|
+
],
|
|
138
|
+
"operationId": "disconnectNative",
|
|
139
|
+
"method": "POST",
|
|
140
|
+
"path": "/agents/{agent_id}/native/disconnect",
|
|
141
|
+
"pathParams": [
|
|
142
|
+
"agent_id"
|
|
143
|
+
],
|
|
144
|
+
"multiSegment": [],
|
|
145
|
+
"query": [],
|
|
146
|
+
"headers": [],
|
|
147
|
+
"bodyFlags": [],
|
|
148
|
+
"hasBody": false,
|
|
149
|
+
"bodyRequired": false,
|
|
150
|
+
"bodyTypes": [],
|
|
151
|
+
"secretBody": false,
|
|
152
|
+
"raw": false,
|
|
153
|
+
"summary": "Disconnect future native jobs while retaining source configuration and history"
|
|
154
|
+
},
|
|
155
|
+
{
|
|
156
|
+
"command": [
|
|
157
|
+
"agents",
|
|
158
|
+
"discover-native"
|
|
159
|
+
],
|
|
160
|
+
"operationId": "discoverNative",
|
|
161
|
+
"method": "POST",
|
|
162
|
+
"path": "/native/discover",
|
|
163
|
+
"pathParams": [],
|
|
164
|
+
"multiSegment": [],
|
|
165
|
+
"query": [],
|
|
166
|
+
"headers": [],
|
|
167
|
+
"bodyFlags": [
|
|
168
|
+
{
|
|
169
|
+
"name": "project",
|
|
170
|
+
"type": "string",
|
|
171
|
+
"required": true,
|
|
172
|
+
"description": ""
|
|
173
|
+
},
|
|
174
|
+
{
|
|
175
|
+
"name": "runtime",
|
|
176
|
+
"type": "string",
|
|
177
|
+
"enum": [
|
|
178
|
+
"claude-code",
|
|
179
|
+
"codex"
|
|
180
|
+
],
|
|
181
|
+
"required": false,
|
|
182
|
+
"description": ""
|
|
183
|
+
}
|
|
184
|
+
],
|
|
185
|
+
"hasBody": true,
|
|
186
|
+
"bodyRequired": true,
|
|
187
|
+
"bodyTypes": [
|
|
188
|
+
"application/json"
|
|
189
|
+
],
|
|
190
|
+
"secretBody": false,
|
|
191
|
+
"raw": false,
|
|
192
|
+
"summary": "Discover existing native projects on this source machine without running a model"
|
|
193
|
+
},
|
|
95
194
|
{
|
|
96
195
|
"command": [
|
|
97
196
|
"agents",
|
|
@@ -159,6 +258,50 @@ export const COMMANDS = [
|
|
|
159
258
|
"raw": false,
|
|
160
259
|
"summary": "The agent's own Archil disk, once its first run made it"
|
|
161
260
|
},
|
|
261
|
+
{
|
|
262
|
+
"command": [
|
|
263
|
+
"agents",
|
|
264
|
+
"get-learning-loop"
|
|
265
|
+
],
|
|
266
|
+
"operationId": "getLearningLoop",
|
|
267
|
+
"method": "GET",
|
|
268
|
+
"path": "/agents/{agent_id}/learning/loop",
|
|
269
|
+
"pathParams": [
|
|
270
|
+
"agent_id"
|
|
271
|
+
],
|
|
272
|
+
"multiSegment": [],
|
|
273
|
+
"query": [],
|
|
274
|
+
"headers": [],
|
|
275
|
+
"bodyFlags": [],
|
|
276
|
+
"hasBody": false,
|
|
277
|
+
"bodyRequired": false,
|
|
278
|
+
"bodyTypes": [],
|
|
279
|
+
"secretBody": false,
|
|
280
|
+
"raw": false,
|
|
281
|
+
"summary": "The self-learning loop's own record: each compile turn, and each guarded step of the learned workflows"
|
|
282
|
+
},
|
|
283
|
+
{
|
|
284
|
+
"command": [
|
|
285
|
+
"agents",
|
|
286
|
+
"get-native"
|
|
287
|
+
],
|
|
288
|
+
"operationId": "getNative",
|
|
289
|
+
"method": "GET",
|
|
290
|
+
"path": "/agents/{agent_id}/native",
|
|
291
|
+
"pathParams": [
|
|
292
|
+
"agent_id"
|
|
293
|
+
],
|
|
294
|
+
"multiSegment": [],
|
|
295
|
+
"query": [],
|
|
296
|
+
"headers": [],
|
|
297
|
+
"bodyFlags": [],
|
|
298
|
+
"hasBody": false,
|
|
299
|
+
"bodyRequired": false,
|
|
300
|
+
"bodyTypes": [],
|
|
301
|
+
"secretBody": false,
|
|
302
|
+
"raw": false,
|
|
303
|
+
"summary": "Read a native connection"
|
|
304
|
+
},
|
|
162
305
|
{
|
|
163
306
|
"command": [
|
|
164
307
|
"agents",
|
|
@@ -196,110 +339,441 @@ export const COMMANDS = [
|
|
|
196
339
|
"bodyTypes": [],
|
|
197
340
|
"secretBody": false,
|
|
198
341
|
"raw": false,
|
|
199
|
-
"summary": "List agents"
|
|
342
|
+
"summary": "List agents"
|
|
343
|
+
},
|
|
344
|
+
{
|
|
345
|
+
"command": [
|
|
346
|
+
"agents",
|
|
347
|
+
"list-learning-promotions"
|
|
348
|
+
],
|
|
349
|
+
"operationId": "listLearningPromotions",
|
|
350
|
+
"method": "GET",
|
|
351
|
+
"path": "/agents/{agent_id}/learning/promotions",
|
|
352
|
+
"pathParams": [
|
|
353
|
+
"agent_id"
|
|
354
|
+
],
|
|
355
|
+
"multiSegment": [],
|
|
356
|
+
"query": [],
|
|
357
|
+
"headers": [],
|
|
358
|
+
"bodyFlags": [],
|
|
359
|
+
"hasBody": false,
|
|
360
|
+
"bodyRequired": false,
|
|
361
|
+
"bodyTypes": [],
|
|
362
|
+
"secretBody": false,
|
|
363
|
+
"raw": false,
|
|
364
|
+
"summary": "Each learned workflow revision's promotion: its replay's numbers and whether it serves"
|
|
365
|
+
},
|
|
366
|
+
{
|
|
367
|
+
"command": [
|
|
368
|
+
"agents",
|
|
369
|
+
"runs"
|
|
370
|
+
],
|
|
371
|
+
"operationId": "listRuns",
|
|
372
|
+
"method": "GET",
|
|
373
|
+
"path": "/agents/{agent_id}/runs",
|
|
374
|
+
"pathParams": [
|
|
375
|
+
"agent_id"
|
|
376
|
+
],
|
|
377
|
+
"multiSegment": [],
|
|
378
|
+
"query": [
|
|
379
|
+
{
|
|
380
|
+
"name": "limit",
|
|
381
|
+
"type": "integer",
|
|
382
|
+
"required": false,
|
|
383
|
+
"description": ""
|
|
384
|
+
},
|
|
385
|
+
{
|
|
386
|
+
"name": "cursor",
|
|
387
|
+
"type": "string",
|
|
388
|
+
"required": false,
|
|
389
|
+
"description": "`next_cursor` from the previous page."
|
|
390
|
+
},
|
|
391
|
+
{
|
|
392
|
+
"name": "status",
|
|
393
|
+
"type": "string",
|
|
394
|
+
"enum": [
|
|
395
|
+
"queued",
|
|
396
|
+
"working",
|
|
397
|
+
"paused",
|
|
398
|
+
"input_required",
|
|
399
|
+
"completed",
|
|
400
|
+
"failed",
|
|
401
|
+
"cancelled"
|
|
402
|
+
],
|
|
403
|
+
"required": false,
|
|
404
|
+
"description": "Only runs with this status."
|
|
405
|
+
}
|
|
406
|
+
],
|
|
407
|
+
"headers": [],
|
|
408
|
+
"bodyFlags": [],
|
|
409
|
+
"hasBody": false,
|
|
410
|
+
"bodyRequired": false,
|
|
411
|
+
"bodyTypes": [],
|
|
412
|
+
"secretBody": false,
|
|
413
|
+
"raw": false,
|
|
414
|
+
"summary": "The agent's runs index"
|
|
415
|
+
},
|
|
416
|
+
{
|
|
417
|
+
"command": [
|
|
418
|
+
"agents",
|
|
419
|
+
"unarchive"
|
|
420
|
+
],
|
|
421
|
+
"operationId": "unarchiveAgent",
|
|
422
|
+
"method": "POST",
|
|
423
|
+
"path": "/agents/{agent_id}/unarchive",
|
|
424
|
+
"pathParams": [
|
|
425
|
+
"agent_id"
|
|
426
|
+
],
|
|
427
|
+
"multiSegment": [],
|
|
428
|
+
"query": [],
|
|
429
|
+
"headers": [],
|
|
430
|
+
"bodyFlags": [],
|
|
431
|
+
"hasBody": false,
|
|
432
|
+
"bodyRequired": false,
|
|
433
|
+
"bodyTypes": [],
|
|
434
|
+
"secretBody": false,
|
|
435
|
+
"raw": false,
|
|
436
|
+
"summary": "Show the archived agent in the lists again"
|
|
437
|
+
},
|
|
438
|
+
{
|
|
439
|
+
"command": [
|
|
440
|
+
"agents",
|
|
441
|
+
"update"
|
|
442
|
+
],
|
|
443
|
+
"operationId": "updateDefinition",
|
|
444
|
+
"method": "PUT",
|
|
445
|
+
"path": "/agents/{agent_id}/definition",
|
|
446
|
+
"pathParams": [
|
|
447
|
+
"agent_id"
|
|
448
|
+
],
|
|
449
|
+
"multiSegment": [],
|
|
450
|
+
"query": [],
|
|
451
|
+
"headers": [
|
|
452
|
+
{
|
|
453
|
+
"name": "If-Match",
|
|
454
|
+
"type": "string",
|
|
455
|
+
"required": false,
|
|
456
|
+
"description": "The home's current ETag (`homeRevision`), as `GET /agents/{agent_id}` returned it. Required with the contract's body; this server's own body (`{definition, skills?, note?}`) may leave it out."
|
|
457
|
+
}
|
|
458
|
+
],
|
|
459
|
+
"bodyFlags": [],
|
|
460
|
+
"hasBody": true,
|
|
461
|
+
"bodyRequired": true,
|
|
462
|
+
"bodyTypes": [
|
|
463
|
+
"application/json"
|
|
464
|
+
],
|
|
465
|
+
"secretBody": false,
|
|
466
|
+
"raw": false,
|
|
467
|
+
"summary": "Replace the agent's definition"
|
|
468
|
+
},
|
|
469
|
+
{
|
|
470
|
+
"command": [
|
|
471
|
+
"agents",
|
|
472
|
+
"verify-native"
|
|
473
|
+
],
|
|
474
|
+
"operationId": "verifyNative",
|
|
475
|
+
"method": "POST",
|
|
476
|
+
"path": "/agents/{agent_id}/native/verify",
|
|
477
|
+
"pathParams": [
|
|
478
|
+
"agent_id"
|
|
479
|
+
],
|
|
480
|
+
"multiSegment": [],
|
|
481
|
+
"query": [],
|
|
482
|
+
"headers": [],
|
|
483
|
+
"bodyFlags": [],
|
|
484
|
+
"hasBody": false,
|
|
485
|
+
"bodyRequired": false,
|
|
486
|
+
"bodyTypes": [],
|
|
487
|
+
"secretBody": false,
|
|
488
|
+
"raw": false,
|
|
489
|
+
"summary": "Check native CLI and sign-in without a paid model call"
|
|
490
|
+
},
|
|
491
|
+
{
|
|
492
|
+
"command": [
|
|
493
|
+
"connectors",
|
|
494
|
+
"complete-remote-command"
|
|
495
|
+
],
|
|
496
|
+
"operationId": "completeRemoteCommand",
|
|
497
|
+
"method": "POST",
|
|
498
|
+
"path": "/connectors/{connector_id}/commands/{command_id}/complete",
|
|
499
|
+
"pathParams": [
|
|
500
|
+
"connector_id",
|
|
501
|
+
"command_id"
|
|
502
|
+
],
|
|
503
|
+
"multiSegment": [],
|
|
504
|
+
"query": [],
|
|
505
|
+
"headers": [],
|
|
506
|
+
"bodyFlags": [
|
|
507
|
+
{
|
|
508
|
+
"name": "lease_token",
|
|
509
|
+
"type": "string",
|
|
510
|
+
"required": true,
|
|
511
|
+
"description": ""
|
|
512
|
+
},
|
|
513
|
+
{
|
|
514
|
+
"name": "error",
|
|
515
|
+
"type": "string",
|
|
516
|
+
"required": false,
|
|
517
|
+
"description": ""
|
|
518
|
+
}
|
|
519
|
+
],
|
|
520
|
+
"hasBody": true,
|
|
521
|
+
"bodyRequired": true,
|
|
522
|
+
"bodyTypes": [
|
|
523
|
+
"application/json"
|
|
524
|
+
],
|
|
525
|
+
"secretBody": false,
|
|
526
|
+
"raw": false,
|
|
527
|
+
"summary": "Complete a source command once under its valid lease"
|
|
528
|
+
},
|
|
529
|
+
{
|
|
530
|
+
"command": [
|
|
531
|
+
"connectors",
|
|
532
|
+
"enroll-remote-connector"
|
|
533
|
+
],
|
|
534
|
+
"operationId": "enrollRemoteConnector",
|
|
535
|
+
"method": "POST",
|
|
536
|
+
"path": "/connectors/enrollment",
|
|
537
|
+
"pathParams": [],
|
|
538
|
+
"multiSegment": [],
|
|
539
|
+
"query": [],
|
|
540
|
+
"headers": [],
|
|
541
|
+
"bodyFlags": [
|
|
542
|
+
{
|
|
543
|
+
"name": "label",
|
|
544
|
+
"type": "string",
|
|
545
|
+
"required": false,
|
|
546
|
+
"description": ""
|
|
547
|
+
}
|
|
548
|
+
],
|
|
549
|
+
"hasBody": true,
|
|
550
|
+
"bodyRequired": true,
|
|
551
|
+
"bodyTypes": [
|
|
552
|
+
"application/json"
|
|
553
|
+
],
|
|
554
|
+
"secretBody": false,
|
|
555
|
+
"raw": false,
|
|
556
|
+
"summary": "Create a ten-minute one-use connection code"
|
|
557
|
+
},
|
|
558
|
+
{
|
|
559
|
+
"command": [
|
|
560
|
+
"connectors",
|
|
561
|
+
"import-remote-history"
|
|
562
|
+
],
|
|
563
|
+
"operationId": "importRemoteHistory",
|
|
564
|
+
"method": "POST",
|
|
565
|
+
"path": "/connectors/{connector_id}/targets/{target_id}/history",
|
|
566
|
+
"pathParams": [
|
|
567
|
+
"connector_id",
|
|
568
|
+
"target_id"
|
|
569
|
+
],
|
|
570
|
+
"multiSegment": [],
|
|
571
|
+
"query": [],
|
|
572
|
+
"headers": [],
|
|
573
|
+
"bodyFlags": [],
|
|
574
|
+
"hasBody": true,
|
|
575
|
+
"bodyRequired": true,
|
|
576
|
+
"bodyTypes": [
|
|
577
|
+
"application/json"
|
|
578
|
+
],
|
|
579
|
+
"secretBody": false,
|
|
580
|
+
"raw": false,
|
|
581
|
+
"summary": "Import explicitly selected, redacted past sessions without running or learning from them"
|
|
582
|
+
},
|
|
583
|
+
{
|
|
584
|
+
"command": [
|
|
585
|
+
"connectors",
|
|
586
|
+
"import-remote-target"
|
|
587
|
+
],
|
|
588
|
+
"operationId": "importRemoteTarget",
|
|
589
|
+
"method": "POST",
|
|
590
|
+
"path": "/connectors/{connector_id}/import",
|
|
591
|
+
"pathParams": [
|
|
592
|
+
"connector_id"
|
|
593
|
+
],
|
|
594
|
+
"multiSegment": [],
|
|
595
|
+
"query": [],
|
|
596
|
+
"headers": [],
|
|
597
|
+
"bodyFlags": [
|
|
598
|
+
{
|
|
599
|
+
"name": "target_id",
|
|
600
|
+
"type": "string",
|
|
601
|
+
"required": true,
|
|
602
|
+
"description": ""
|
|
603
|
+
},
|
|
604
|
+
{
|
|
605
|
+
"name": "name",
|
|
606
|
+
"type": "string",
|
|
607
|
+
"required": false,
|
|
608
|
+
"description": ""
|
|
609
|
+
},
|
|
610
|
+
{
|
|
611
|
+
"name": "history_only",
|
|
612
|
+
"type": "boolean",
|
|
613
|
+
"required": false,
|
|
614
|
+
"description": ""
|
|
615
|
+
}
|
|
616
|
+
],
|
|
617
|
+
"hasBody": true,
|
|
618
|
+
"bodyRequired": true,
|
|
619
|
+
"bodyTypes": [
|
|
620
|
+
"application/json"
|
|
621
|
+
],
|
|
622
|
+
"secretBody": false,
|
|
623
|
+
"raw": false,
|
|
624
|
+
"summary": "Import an explicitly selected source-native agent reference"
|
|
625
|
+
},
|
|
626
|
+
{
|
|
627
|
+
"command": [
|
|
628
|
+
"connectors",
|
|
629
|
+
"list-remote-connectors"
|
|
630
|
+
],
|
|
631
|
+
"operationId": "listRemoteConnectors",
|
|
632
|
+
"method": "GET",
|
|
633
|
+
"path": "/connectors",
|
|
634
|
+
"pathParams": [],
|
|
635
|
+
"multiSegment": [],
|
|
636
|
+
"query": [],
|
|
637
|
+
"headers": [],
|
|
638
|
+
"bodyFlags": [],
|
|
639
|
+
"hasBody": false,
|
|
640
|
+
"bodyRequired": false,
|
|
641
|
+
"bodyTypes": [],
|
|
642
|
+
"secretBody": false,
|
|
643
|
+
"raw": false,
|
|
644
|
+
"summary": "List remote source machines and imported agent targets"
|
|
645
|
+
},
|
|
646
|
+
{
|
|
647
|
+
"command": [
|
|
648
|
+
"connectors",
|
|
649
|
+
"poll-remote-connector"
|
|
650
|
+
],
|
|
651
|
+
"operationId": "pollRemoteConnector",
|
|
652
|
+
"method": "POST",
|
|
653
|
+
"path": "/connectors/{connector_id}/poll",
|
|
654
|
+
"pathParams": [
|
|
655
|
+
"connector_id"
|
|
656
|
+
],
|
|
657
|
+
"multiSegment": [],
|
|
658
|
+
"query": [],
|
|
659
|
+
"headers": [],
|
|
660
|
+
"bodyFlags": [
|
|
661
|
+
{
|
|
662
|
+
"name": "worker_id",
|
|
663
|
+
"type": "string",
|
|
664
|
+
"required": true,
|
|
665
|
+
"description": ""
|
|
666
|
+
}
|
|
667
|
+
],
|
|
668
|
+
"hasBody": true,
|
|
669
|
+
"bodyRequired": true,
|
|
670
|
+
"bodyTypes": [
|
|
671
|
+
"application/json"
|
|
672
|
+
],
|
|
673
|
+
"secretBody": false,
|
|
674
|
+
"raw": false,
|
|
675
|
+
"summary": "Renew active source leases and claim one command without replay"
|
|
200
676
|
},
|
|
201
677
|
{
|
|
202
678
|
"command": [
|
|
203
|
-
"
|
|
204
|
-
"
|
|
205
|
-
],
|
|
206
|
-
"operationId": "listRuns",
|
|
207
|
-
"method": "GET",
|
|
208
|
-
"path": "/agents/{agent_id}/runs",
|
|
209
|
-
"pathParams": [
|
|
210
|
-
"agent_id"
|
|
679
|
+
"connectors",
|
|
680
|
+
"register-remote-connector"
|
|
211
681
|
],
|
|
682
|
+
"operationId": "registerRemoteConnector",
|
|
683
|
+
"method": "POST",
|
|
684
|
+
"path": "/connectors",
|
|
685
|
+
"pathParams": [],
|
|
212
686
|
"multiSegment": [],
|
|
213
|
-
"query": [
|
|
687
|
+
"query": [],
|
|
688
|
+
"headers": [],
|
|
689
|
+
"bodyFlags": [
|
|
214
690
|
{
|
|
215
|
-
"name": "
|
|
216
|
-
"type": "
|
|
217
|
-
"required":
|
|
691
|
+
"name": "installation_id",
|
|
692
|
+
"type": "string",
|
|
693
|
+
"required": true,
|
|
218
694
|
"description": ""
|
|
219
695
|
},
|
|
220
696
|
{
|
|
221
|
-
"name": "
|
|
697
|
+
"name": "operation_id",
|
|
222
698
|
"type": "string",
|
|
223
|
-
"required":
|
|
224
|
-
"description": "
|
|
699
|
+
"required": true,
|
|
700
|
+
"description": ""
|
|
225
701
|
},
|
|
226
702
|
{
|
|
227
|
-
"name": "
|
|
703
|
+
"name": "label",
|
|
228
704
|
"type": "string",
|
|
229
|
-
"enum": [
|
|
230
|
-
"queued",
|
|
231
|
-
"working",
|
|
232
|
-
"paused",
|
|
233
|
-
"input_required",
|
|
234
|
-
"completed",
|
|
235
|
-
"failed",
|
|
236
|
-
"cancelled"
|
|
237
|
-
],
|
|
238
705
|
"required": false,
|
|
239
|
-
"description": "
|
|
706
|
+
"description": ""
|
|
240
707
|
}
|
|
241
708
|
],
|
|
242
|
-
"
|
|
243
|
-
"
|
|
244
|
-
"
|
|
245
|
-
|
|
246
|
-
|
|
709
|
+
"hasBody": true,
|
|
710
|
+
"bodyRequired": true,
|
|
711
|
+
"bodyTypes": [
|
|
712
|
+
"application/json"
|
|
713
|
+
],
|
|
247
714
|
"secretBody": false,
|
|
248
715
|
"raw": false,
|
|
249
|
-
"summary": "
|
|
716
|
+
"summary": "Exchange a one-use enrollment code for a connector-scoped credential"
|
|
250
717
|
},
|
|
251
718
|
{
|
|
252
719
|
"command": [
|
|
253
|
-
"
|
|
254
|
-
"
|
|
720
|
+
"connectors",
|
|
721
|
+
"remote-command-events"
|
|
255
722
|
],
|
|
256
|
-
"operationId": "
|
|
723
|
+
"operationId": "remoteCommandEvents",
|
|
257
724
|
"method": "POST",
|
|
258
|
-
"path": "/
|
|
725
|
+
"path": "/connectors/{connector_id}/commands/{command_id}/events",
|
|
259
726
|
"pathParams": [
|
|
260
|
-
"
|
|
727
|
+
"connector_id",
|
|
728
|
+
"command_id"
|
|
261
729
|
],
|
|
262
730
|
"multiSegment": [],
|
|
263
731
|
"query": [],
|
|
264
732
|
"headers": [],
|
|
265
|
-
"bodyFlags": [
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
733
|
+
"bodyFlags": [
|
|
734
|
+
{
|
|
735
|
+
"name": "lease_token",
|
|
736
|
+
"type": "string",
|
|
737
|
+
"required": true,
|
|
738
|
+
"description": ""
|
|
739
|
+
},
|
|
740
|
+
{
|
|
741
|
+
"name": "sequence",
|
|
742
|
+
"type": "integer",
|
|
743
|
+
"required": true,
|
|
744
|
+
"description": ""
|
|
745
|
+
}
|
|
746
|
+
],
|
|
747
|
+
"hasBody": true,
|
|
748
|
+
"bodyRequired": true,
|
|
749
|
+
"bodyTypes": [
|
|
750
|
+
"application/json"
|
|
751
|
+
],
|
|
269
752
|
"secretBody": false,
|
|
270
753
|
"raw": false,
|
|
271
|
-
"summary": "
|
|
754
|
+
"summary": "Append an ordered idempotent native event batch for a valid command lease"
|
|
272
755
|
},
|
|
273
756
|
{
|
|
274
757
|
"command": [
|
|
275
|
-
"
|
|
276
|
-
"
|
|
758
|
+
"connectors",
|
|
759
|
+
"revoke-remote-connector"
|
|
277
760
|
],
|
|
278
|
-
"operationId": "
|
|
279
|
-
"method": "
|
|
280
|
-
"path": "/
|
|
761
|
+
"operationId": "revokeRemoteConnector",
|
|
762
|
+
"method": "DELETE",
|
|
763
|
+
"path": "/connectors/{connector_id}",
|
|
281
764
|
"pathParams": [
|
|
282
|
-
"
|
|
765
|
+
"connector_id"
|
|
283
766
|
],
|
|
284
767
|
"multiSegment": [],
|
|
285
768
|
"query": [],
|
|
286
|
-
"headers": [
|
|
287
|
-
{
|
|
288
|
-
"name": "If-Match",
|
|
289
|
-
"type": "string",
|
|
290
|
-
"required": false,
|
|
291
|
-
"description": "The home's current ETag (`homeRevision`), as `GET /agents/{agent_id}` returned it. Required with the contract's body; this server's own body (`{definition, skills?, note?}`) may leave it out."
|
|
292
|
-
}
|
|
293
|
-
],
|
|
769
|
+
"headers": [],
|
|
294
770
|
"bodyFlags": [],
|
|
295
|
-
"hasBody":
|
|
296
|
-
"bodyRequired":
|
|
297
|
-
"bodyTypes": [
|
|
298
|
-
"application/json"
|
|
299
|
-
],
|
|
771
|
+
"hasBody": false,
|
|
772
|
+
"bodyRequired": false,
|
|
773
|
+
"bodyTypes": [],
|
|
300
774
|
"secretBody": false,
|
|
301
775
|
"raw": false,
|
|
302
|
-
"summary": "
|
|
776
|
+
"summary": "Revoke a source connector and stop its outstanding commands"
|
|
303
777
|
},
|
|
304
778
|
{
|
|
305
779
|
"command": [
|
|
@@ -710,7 +1184,7 @@ export const COMMANDS = [
|
|
|
710
1184
|
"csv"
|
|
711
1185
|
],
|
|
712
1186
|
"required": false,
|
|
713
|
-
"description": "`csv`: the runs as CSV, columns n, run_id, started_at, path, workflow, learned_revision, cost_usd, learning_usd, total_usd."
|
|
1187
|
+
"description": "`csv`: the runs as CSV, columns n, run_id, started_at, path, workflow, learned_revision, cost_usd, cost_upper_bound, learning_usd, total_usd."
|
|
714
1188
|
}
|
|
715
1189
|
],
|
|
716
1190
|
"headers": [],
|
|
@@ -945,6 +1419,31 @@ export const COMMANDS = [
|
|
|
945
1419
|
"raw": false,
|
|
946
1420
|
"summary": "Record a held-out test of the agent: its counts and the cost a task, with learning and by hand"
|
|
947
1421
|
},
|
|
1422
|
+
{
|
|
1423
|
+
"command": [
|
|
1424
|
+
"learning",
|
|
1425
|
+
"replay"
|
|
1426
|
+
],
|
|
1427
|
+
"operationId": "getLearnedWorkflowReplay",
|
|
1428
|
+
"method": "GET",
|
|
1429
|
+
"path": "/agents/{agent_id}/learning/workflows/{name}/revisions/{digest}/replays/{replay_id}",
|
|
1430
|
+
"pathParams": [
|
|
1431
|
+
"agent_id",
|
|
1432
|
+
"name",
|
|
1433
|
+
"digest",
|
|
1434
|
+
"replay_id"
|
|
1435
|
+
],
|
|
1436
|
+
"multiSegment": [],
|
|
1437
|
+
"query": [],
|
|
1438
|
+
"headers": [],
|
|
1439
|
+
"bodyFlags": [],
|
|
1440
|
+
"hasBody": false,
|
|
1441
|
+
"bodyRequired": false,
|
|
1442
|
+
"bodyTypes": [],
|
|
1443
|
+
"secretBody": false,
|
|
1444
|
+
"raw": false,
|
|
1445
|
+
"summary": "Read a replay's result: running, done or failed, its counts and its score (start one from the console's Learning tab)"
|
|
1446
|
+
},
|
|
948
1447
|
{
|
|
949
1448
|
"command": [
|
|
950
1449
|
"learning",
|
|
@@ -1072,6 +1571,28 @@ export const COMMANDS = [
|
|
|
1072
1571
|
"raw": false,
|
|
1073
1572
|
"summary": "A code that pairs a person's own computer with this server"
|
|
1074
1573
|
},
|
|
1574
|
+
{
|
|
1575
|
+
"command": [
|
|
1576
|
+
"local",
|
|
1577
|
+
"delete-composio-subscription"
|
|
1578
|
+
],
|
|
1579
|
+
"operationId": "deleteComposioSubscription",
|
|
1580
|
+
"method": "DELETE",
|
|
1581
|
+
"path": "/settings/mcp-servers/{name}/composio/subscription",
|
|
1582
|
+
"pathParams": [
|
|
1583
|
+
"name"
|
|
1584
|
+
],
|
|
1585
|
+
"multiSegment": [],
|
|
1586
|
+
"query": [],
|
|
1587
|
+
"headers": [],
|
|
1588
|
+
"bodyFlags": [],
|
|
1589
|
+
"hasBody": false,
|
|
1590
|
+
"bodyRequired": false,
|
|
1591
|
+
"bodyTypes": [],
|
|
1592
|
+
"secretBody": false,
|
|
1593
|
+
"raw": false,
|
|
1594
|
+
"summary": "Delete the Composio project's webhook subscription, once no trigger uses it"
|
|
1595
|
+
},
|
|
1075
1596
|
{
|
|
1076
1597
|
"command": [
|
|
1077
1598
|
"local",
|
|
@@ -1174,6 +1695,50 @@ export const COMMANDS = [
|
|
|
1174
1695
|
"raw": false,
|
|
1175
1696
|
"summary": "Whether run folders are on Archil disks (Mode 2), the settings, and whether its keys are saved"
|
|
1176
1697
|
},
|
|
1698
|
+
{
|
|
1699
|
+
"command": [
|
|
1700
|
+
"local",
|
|
1701
|
+
"list-composio-events"
|
|
1702
|
+
],
|
|
1703
|
+
"operationId": "listComposioEvents",
|
|
1704
|
+
"method": "GET",
|
|
1705
|
+
"path": "/settings/mcp-servers/{name}/composio/events",
|
|
1706
|
+
"pathParams": [
|
|
1707
|
+
"name"
|
|
1708
|
+
],
|
|
1709
|
+
"multiSegment": [],
|
|
1710
|
+
"query": [],
|
|
1711
|
+
"headers": [],
|
|
1712
|
+
"bodyFlags": [],
|
|
1713
|
+
"hasBody": false,
|
|
1714
|
+
"bodyRequired": false,
|
|
1715
|
+
"bodyTypes": [],
|
|
1716
|
+
"secretBody": false,
|
|
1717
|
+
"raw": false,
|
|
1718
|
+
"summary": "List a saved Composio server's toolkit's events, for a composio trigger"
|
|
1719
|
+
},
|
|
1720
|
+
{
|
|
1721
|
+
"command": [
|
|
1722
|
+
"local",
|
|
1723
|
+
"list-composio-triggers"
|
|
1724
|
+
],
|
|
1725
|
+
"operationId": "listComposioTriggers",
|
|
1726
|
+
"method": "GET",
|
|
1727
|
+
"path": "/settings/mcp-servers/{name}/composio/triggers",
|
|
1728
|
+
"pathParams": [
|
|
1729
|
+
"name"
|
|
1730
|
+
],
|
|
1731
|
+
"multiSegment": [],
|
|
1732
|
+
"query": [],
|
|
1733
|
+
"headers": [],
|
|
1734
|
+
"bodyFlags": [],
|
|
1735
|
+
"hasBody": false,
|
|
1736
|
+
"bodyRequired": false,
|
|
1737
|
+
"bodyTypes": [],
|
|
1738
|
+
"secretBody": false,
|
|
1739
|
+
"raw": false,
|
|
1740
|
+
"summary": "A saved Composio server's triggers, each with its instance's state on Composio"
|
|
1741
|
+
},
|
|
1177
1742
|
{
|
|
1178
1743
|
"command": [
|
|
1179
1744
|
"local",
|
|
@@ -1216,6 +1781,52 @@ export const COMMANDS = [
|
|
|
1216
1781
|
"raw": false,
|
|
1217
1782
|
"summary": "Settings → Computers: the kinds of computer this server offers, each provider and whether its keys are saved"
|
|
1218
1783
|
},
|
|
1784
|
+
{
|
|
1785
|
+
"command": [
|
|
1786
|
+
"local",
|
|
1787
|
+
"receive-hook-composio"
|
|
1788
|
+
],
|
|
1789
|
+
"operationId": "receiveHook_composio",
|
|
1790
|
+
"method": "POST",
|
|
1791
|
+
"path": "/hooks/composio/{hook}",
|
|
1792
|
+
"pathParams": [
|
|
1793
|
+
"hook"
|
|
1794
|
+
],
|
|
1795
|
+
"multiSegment": [],
|
|
1796
|
+
"query": [],
|
|
1797
|
+
"headers": [],
|
|
1798
|
+
"bodyFlags": [],
|
|
1799
|
+
"hasBody": true,
|
|
1800
|
+
"bodyRequired": true,
|
|
1801
|
+
"bodyTypes": [
|
|
1802
|
+
"*/*"
|
|
1803
|
+
],
|
|
1804
|
+
"secretBody": false,
|
|
1805
|
+
"raw": false,
|
|
1806
|
+
"summary": "Fire a Composio trigger: a request it checks, no token"
|
|
1807
|
+
},
|
|
1808
|
+
{
|
|
1809
|
+
"command": [
|
|
1810
|
+
"local",
|
|
1811
|
+
"rotate-composio-secret"
|
|
1812
|
+
],
|
|
1813
|
+
"operationId": "rotateComposioSecret",
|
|
1814
|
+
"method": "POST",
|
|
1815
|
+
"path": "/settings/mcp-servers/{name}/composio/rotate-secret",
|
|
1816
|
+
"pathParams": [
|
|
1817
|
+
"name"
|
|
1818
|
+
],
|
|
1819
|
+
"multiSegment": [],
|
|
1820
|
+
"query": [],
|
|
1821
|
+
"headers": [],
|
|
1822
|
+
"bodyFlags": [],
|
|
1823
|
+
"hasBody": false,
|
|
1824
|
+
"bodyRequired": false,
|
|
1825
|
+
"bodyTypes": [],
|
|
1826
|
+
"secretBody": false,
|
|
1827
|
+
"raw": false,
|
|
1828
|
+
"summary": "Rotate the Composio project's webhook subscription's secret, and keep the new one"
|
|
1829
|
+
},
|
|
1219
1830
|
{
|
|
1220
1831
|
"command": [
|
|
1221
1832
|
"local",
|
|
@@ -1384,6 +1995,39 @@ export const COMMANDS = [
|
|
|
1384
1995
|
"raw": false,
|
|
1385
1996
|
"summary": "List a saved MCP server's tools again, keep them, and say what changed"
|
|
1386
1997
|
},
|
|
1998
|
+
{
|
|
1999
|
+
"command": [
|
|
2000
|
+
"Observations",
|
|
2001
|
+
"get-observations"
|
|
2002
|
+
],
|
|
2003
|
+
"operationId": "getObservations",
|
|
2004
|
+
"method": "GET",
|
|
2005
|
+
"path": "/observations",
|
|
2006
|
+
"pathParams": [],
|
|
2007
|
+
"multiSegment": [],
|
|
2008
|
+
"query": [
|
|
2009
|
+
{
|
|
2010
|
+
"name": "days",
|
|
2011
|
+
"type": "integer",
|
|
2012
|
+
"required": false,
|
|
2013
|
+
"description": "UTC calendar days including today; session details remain visible for their full retention period."
|
|
2014
|
+
},
|
|
2015
|
+
{
|
|
2016
|
+
"name": "session_id",
|
|
2017
|
+
"type": "string",
|
|
2018
|
+
"required": false,
|
|
2019
|
+
"description": ""
|
|
2020
|
+
}
|
|
2021
|
+
],
|
|
2022
|
+
"headers": [],
|
|
2023
|
+
"bodyFlags": [],
|
|
2024
|
+
"hasBody": false,
|
|
2025
|
+
"bodyRequired": false,
|
|
2026
|
+
"bodyTypes": [],
|
|
2027
|
+
"secretBody": false,
|
|
2028
|
+
"raw": false,
|
|
2029
|
+
"summary": "Read activity and token usage reported by externally running agents"
|
|
2030
|
+
},
|
|
1387
2031
|
{
|
|
1388
2032
|
"command": [
|
|
1389
2033
|
"revisions",
|
|
@@ -1636,14 +2280,10 @@ export const COMMANDS = [
|
|
|
1636
2280
|
"description": "Run at a quote's terms. A different `effort` or `max_cost_usd` than the quote's is `409 quote_invalid`."
|
|
1637
2281
|
},
|
|
1638
2282
|
{
|
|
1639
|
-
"name": "
|
|
1640
|
-
"type": "
|
|
1641
|
-
"enum": [
|
|
1642
|
-
"expected",
|
|
1643
|
-
"strict"
|
|
1644
|
-
],
|
|
2283
|
+
"name": "workflow_first",
|
|
2284
|
+
"type": "boolean",
|
|
1645
2285
|
"required": false,
|
|
1646
|
-
"description": "
|
|
2286
|
+
"description": "Whether a run of an agent that learns may start on one of its learned workflows. On (absent or true), a run whose input fits exactly one active learned workflow (its input schema has a required field, and the run's input passes it) runs that workflow first, with no turn of the agent's model: its answer is the run's answer, and if it hands the job back (it escalates, a step fails), the same run goes on with the agent, given what the workflow found. The run keeps which path it took: `workflow`, `handed_back` or `agent`. false: the agent takes the run from its first turn."
|
|
1647
2287
|
},
|
|
1648
2288
|
{
|
|
1649
2289
|
"name": "learning",
|
|
@@ -1738,13 +2378,60 @@ export const COMMANDS = [
|
|
|
1738
2378
|
"multiSegment": [],
|
|
1739
2379
|
"query": [],
|
|
1740
2380
|
"headers": [],
|
|
1741
|
-
"bodyFlags": [],
|
|
1742
|
-
"hasBody": false,
|
|
1743
|
-
"bodyRequired": false,
|
|
1744
|
-
"bodyTypes": [],
|
|
2381
|
+
"bodyFlags": [],
|
|
2382
|
+
"hasBody": false,
|
|
2383
|
+
"bodyRequired": false,
|
|
2384
|
+
"bodyTypes": [],
|
|
2385
|
+
"secretBody": false,
|
|
2386
|
+
"raw": false,
|
|
2387
|
+
"summary": "One run"
|
|
2388
|
+
},
|
|
2389
|
+
{
|
|
2390
|
+
"command": [
|
|
2391
|
+
"runs",
|
|
2392
|
+
"grade-run"
|
|
2393
|
+
],
|
|
2394
|
+
"operationId": "gradeRun",
|
|
2395
|
+
"method": "PUT",
|
|
2396
|
+
"path": "/runs/{run_id}/grade",
|
|
2397
|
+
"pathParams": [
|
|
2398
|
+
"run_id"
|
|
2399
|
+
],
|
|
2400
|
+
"multiSegment": [],
|
|
2401
|
+
"query": [],
|
|
2402
|
+
"headers": [],
|
|
2403
|
+
"bodyFlags": [
|
|
2404
|
+
{
|
|
2405
|
+
"name": "correct",
|
|
2406
|
+
"type": "boolean",
|
|
2407
|
+
"required": true,
|
|
2408
|
+
"description": ""
|
|
2409
|
+
},
|
|
2410
|
+
{
|
|
2411
|
+
"name": "source",
|
|
2412
|
+
"type": "string",
|
|
2413
|
+
"enum": [
|
|
2414
|
+
"feedback",
|
|
2415
|
+
"eval"
|
|
2416
|
+
],
|
|
2417
|
+
"required": false,
|
|
2418
|
+
"description": ""
|
|
2419
|
+
},
|
|
2420
|
+
{
|
|
2421
|
+
"name": "label",
|
|
2422
|
+
"type": "string",
|
|
2423
|
+
"required": false,
|
|
2424
|
+
"description": "The grade's words (a teacher's label, a reviewer's note): what the run's look-back or its workflow's revision ask reads."
|
|
2425
|
+
}
|
|
2426
|
+
],
|
|
2427
|
+
"hasBody": true,
|
|
2428
|
+
"bodyRequired": true,
|
|
2429
|
+
"bodyTypes": [
|
|
2430
|
+
"application/json"
|
|
2431
|
+
],
|
|
1745
2432
|
"secretBody": false,
|
|
1746
2433
|
"raw": false,
|
|
1747
|
-
"summary": "
|
|
2434
|
+
"summary": "Grade an ended run's answer: right or wrong, and the fields a right answer holds"
|
|
1748
2435
|
},
|
|
1749
2436
|
{
|
|
1750
2437
|
"command": [
|
|
@@ -2111,14 +2798,10 @@ export const COMMANDS = [
|
|
|
2111
2798
|
"description": "Run at a quote's terms. A different `effort` or `max_cost_usd` than the quote's is `409 quote_invalid`."
|
|
2112
2799
|
},
|
|
2113
2800
|
{
|
|
2114
|
-
"name": "
|
|
2115
|
-
"type": "
|
|
2116
|
-
"enum": [
|
|
2117
|
-
"expected",
|
|
2118
|
-
"strict"
|
|
2119
|
-
],
|
|
2801
|
+
"name": "workflow_first",
|
|
2802
|
+
"type": "boolean",
|
|
2120
2803
|
"required": false,
|
|
2121
|
-
"description": "
|
|
2804
|
+
"description": "Whether a run of an agent that learns may start on one of its learned workflows. On (absent or true), a run whose input fits exactly one active learned workflow (its input schema has a required field, and the run's input passes it) runs that workflow first, with no turn of the agent's model: its answer is the run's answer, and if it hands the job back (it escalates, a step fails), the same run goes on with the agent, given what the workflow found. The run keeps which path it took: `workflow`, `handed_back` or `agent`. false: the agent takes the run from its first turn."
|
|
2122
2805
|
},
|
|
2123
2806
|
{
|
|
2124
2807
|
"name": "learning",
|
|
@@ -2263,6 +2946,15 @@ export const COMMANDS = [
|
|
|
2263
2946
|
"type": "integer",
|
|
2264
2947
|
"required": false,
|
|
2265
2948
|
"description": "At most this many rows in a page (1 to 500, default 500); has_more says when another waits."
|
|
2949
|
+
},
|
|
2950
|
+
{
|
|
2951
|
+
"name": "calls",
|
|
2952
|
+
"type": "string",
|
|
2953
|
+
"enum": [
|
|
2954
|
+
"whole"
|
|
2955
|
+
],
|
|
2956
|
+
"required": false,
|
|
2957
|
+
"description": "`whole`: each `tool_use` row carries its call's arguments (`tool_input`) and each `tool_result` row the head of its output to 8000 characters (`tool_result_text`; a web call's every url, only its long texts cut), both through the run's redaction, for a reader that grades the run (a template eval). Its rows are another page sequence: a cursor (`after`, `Last-Event-ID`) from one read goes with the same `calls`."
|
|
2266
2958
|
}
|
|
2267
2959
|
],
|
|
2268
2960
|
"headers": [
|
|
@@ -2303,6 +2995,199 @@ export const COMMANDS = [
|
|
|
2303
2995
|
"raw": false,
|
|
2304
2996
|
"summary": "Show the archived run in the lists again"
|
|
2305
2997
|
},
|
|
2998
|
+
{
|
|
2999
|
+
"command": [
|
|
3000
|
+
"sdk-runs",
|
|
3001
|
+
"complete"
|
|
3002
|
+
],
|
|
3003
|
+
"operationId": "completeSdkRun",
|
|
3004
|
+
"method": "POST",
|
|
3005
|
+
"path": "/sdk-runs/{run_id}/complete",
|
|
3006
|
+
"pathParams": [
|
|
3007
|
+
"run_id"
|
|
3008
|
+
],
|
|
3009
|
+
"multiSegment": [],
|
|
3010
|
+
"query": [],
|
|
3011
|
+
"headers": [
|
|
3012
|
+
{
|
|
3013
|
+
"name": "Idempotency-Key",
|
|
3014
|
+
"type": "string",
|
|
3015
|
+
"required": false,
|
|
3016
|
+
"description": ""
|
|
3017
|
+
}
|
|
3018
|
+
],
|
|
3019
|
+
"bodyFlags": [
|
|
3020
|
+
{
|
|
3021
|
+
"name": "status",
|
|
3022
|
+
"type": "string",
|
|
3023
|
+
"enum": [
|
|
3024
|
+
"completed",
|
|
3025
|
+
"failed",
|
|
3026
|
+
"cancelled"
|
|
3027
|
+
],
|
|
3028
|
+
"required": true,
|
|
3029
|
+
"description": ""
|
|
3030
|
+
},
|
|
3031
|
+
{
|
|
3032
|
+
"name": "answer",
|
|
3033
|
+
"type": "string",
|
|
3034
|
+
"required": true,
|
|
3035
|
+
"description": ""
|
|
3036
|
+
},
|
|
3037
|
+
{
|
|
3038
|
+
"name": "error",
|
|
3039
|
+
"type": "string",
|
|
3040
|
+
"required": false,
|
|
3041
|
+
"description": ""
|
|
3042
|
+
},
|
|
3043
|
+
{
|
|
3044
|
+
"name": "model",
|
|
3045
|
+
"type": "string",
|
|
3046
|
+
"required": false,
|
|
3047
|
+
"description": ""
|
|
3048
|
+
},
|
|
3049
|
+
{
|
|
3050
|
+
"name": "session_id",
|
|
3051
|
+
"type": "string",
|
|
3052
|
+
"required": false,
|
|
3053
|
+
"description": ""
|
|
3054
|
+
},
|
|
3055
|
+
{
|
|
3056
|
+
"name": "evidence_complete",
|
|
3057
|
+
"type": "boolean",
|
|
3058
|
+
"required": false,
|
|
3059
|
+
"description": ""
|
|
3060
|
+
}
|
|
3061
|
+
],
|
|
3062
|
+
"hasBody": true,
|
|
3063
|
+
"bodyRequired": true,
|
|
3064
|
+
"bodyTypes": [
|
|
3065
|
+
"application/json"
|
|
3066
|
+
],
|
|
3067
|
+
"secretBody": false,
|
|
3068
|
+
"raw": false,
|
|
3069
|
+
"summary": "Complete a backend SDK task"
|
|
3070
|
+
},
|
|
3071
|
+
{
|
|
3072
|
+
"command": [
|
|
3073
|
+
"sdk-runs",
|
|
3074
|
+
"events"
|
|
3075
|
+
],
|
|
3076
|
+
"operationId": "sdkRunEvents",
|
|
3077
|
+
"method": "POST",
|
|
3078
|
+
"path": "/sdk-runs/{run_id}/events",
|
|
3079
|
+
"pathParams": [
|
|
3080
|
+
"run_id"
|
|
3081
|
+
],
|
|
3082
|
+
"multiSegment": [],
|
|
3083
|
+
"query": [],
|
|
3084
|
+
"headers": [
|
|
3085
|
+
{
|
|
3086
|
+
"name": "Idempotency-Key",
|
|
3087
|
+
"type": "string",
|
|
3088
|
+
"required": false,
|
|
3089
|
+
"description": ""
|
|
3090
|
+
}
|
|
3091
|
+
],
|
|
3092
|
+
"bodyFlags": [
|
|
3093
|
+
{
|
|
3094
|
+
"name": "sequence",
|
|
3095
|
+
"type": "integer",
|
|
3096
|
+
"required": true,
|
|
3097
|
+
"description": ""
|
|
3098
|
+
}
|
|
3099
|
+
],
|
|
3100
|
+
"hasBody": true,
|
|
3101
|
+
"bodyRequired": true,
|
|
3102
|
+
"bodyTypes": [
|
|
3103
|
+
"application/json"
|
|
3104
|
+
],
|
|
3105
|
+
"secretBody": false,
|
|
3106
|
+
"raw": false,
|
|
3107
|
+
"summary": "Record bounded SDK execution evidence"
|
|
3108
|
+
},
|
|
3109
|
+
{
|
|
3110
|
+
"command": [
|
|
3111
|
+
"sdk-runs",
|
|
3112
|
+
"get"
|
|
3113
|
+
],
|
|
3114
|
+
"operationId": "getSdkRun",
|
|
3115
|
+
"method": "GET",
|
|
3116
|
+
"path": "/sdk-runs/{run_id}",
|
|
3117
|
+
"pathParams": [
|
|
3118
|
+
"run_id"
|
|
3119
|
+
],
|
|
3120
|
+
"multiSegment": [],
|
|
3121
|
+
"query": [],
|
|
3122
|
+
"headers": [],
|
|
3123
|
+
"bodyFlags": [],
|
|
3124
|
+
"hasBody": false,
|
|
3125
|
+
"bodyRequired": false,
|
|
3126
|
+
"bodyTypes": [],
|
|
3127
|
+
"secretBody": false,
|
|
3128
|
+
"raw": false,
|
|
3129
|
+
"summary": "Read SDK run and learning state"
|
|
3130
|
+
},
|
|
3131
|
+
{
|
|
3132
|
+
"command": [
|
|
3133
|
+
"sdk-runs",
|
|
3134
|
+
"start"
|
|
3135
|
+
],
|
|
3136
|
+
"operationId": "startSdkRun",
|
|
3137
|
+
"method": "POST",
|
|
3138
|
+
"path": "/agents/{agent_id}/sdk-runs",
|
|
3139
|
+
"pathParams": [
|
|
3140
|
+
"agent_id"
|
|
3141
|
+
],
|
|
3142
|
+
"multiSegment": [],
|
|
3143
|
+
"query": [],
|
|
3144
|
+
"headers": [
|
|
3145
|
+
{
|
|
3146
|
+
"name": "Idempotency-Key",
|
|
3147
|
+
"type": "string",
|
|
3148
|
+
"required": true,
|
|
3149
|
+
"description": ""
|
|
3150
|
+
}
|
|
3151
|
+
],
|
|
3152
|
+
"bodyFlags": [
|
|
3153
|
+
{
|
|
3154
|
+
"name": "runtime",
|
|
3155
|
+
"type": "string",
|
|
3156
|
+
"enum": [
|
|
3157
|
+
"claude-agent-sdk",
|
|
3158
|
+
"codex-sdk"
|
|
3159
|
+
],
|
|
3160
|
+
"required": true,
|
|
3161
|
+
"description": ""
|
|
3162
|
+
},
|
|
3163
|
+
{
|
|
3164
|
+
"name": "input",
|
|
3165
|
+
"type": "string",
|
|
3166
|
+
"required": true,
|
|
3167
|
+
"description": ""
|
|
3168
|
+
},
|
|
3169
|
+
{
|
|
3170
|
+
"name": "instructions",
|
|
3171
|
+
"type": "string",
|
|
3172
|
+
"required": true,
|
|
3173
|
+
"description": ""
|
|
3174
|
+
},
|
|
3175
|
+
{
|
|
3176
|
+
"name": "model",
|
|
3177
|
+
"type": "string",
|
|
3178
|
+
"required": false,
|
|
3179
|
+
"description": ""
|
|
3180
|
+
}
|
|
3181
|
+
],
|
|
3182
|
+
"hasBody": true,
|
|
3183
|
+
"bodyRequired": true,
|
|
3184
|
+
"bodyTypes": [
|
|
3185
|
+
"application/json"
|
|
3186
|
+
],
|
|
3187
|
+
"secretBody": false,
|
|
3188
|
+
"raw": false,
|
|
3189
|
+
"summary": "Register a task executed by an existing backend SDK"
|
|
3190
|
+
},
|
|
2306
3191
|
{
|
|
2307
3192
|
"command": [
|
|
2308
3193
|
"server",
|
|
@@ -2465,6 +3350,69 @@ export const COMMANDS = [
|
|
|
2465
3350
|
"raw": false,
|
|
2466
3351
|
"summary": "Apply a template package: make its agent, with its skills, then its triggers"
|
|
2467
3352
|
},
|
|
3353
|
+
{
|
|
3354
|
+
"command": [
|
|
3355
|
+
"template",
|
|
3356
|
+
"delete"
|
|
3357
|
+
],
|
|
3358
|
+
"operationId": "deleteTemplate",
|
|
3359
|
+
"method": "DELETE",
|
|
3360
|
+
"path": "/templates/{template}",
|
|
3361
|
+
"pathParams": [
|
|
3362
|
+
"template"
|
|
3363
|
+
],
|
|
3364
|
+
"multiSegment": [],
|
|
3365
|
+
"query": [],
|
|
3366
|
+
"headers": [],
|
|
3367
|
+
"bodyFlags": [],
|
|
3368
|
+
"hasBody": false,
|
|
3369
|
+
"bodyRequired": false,
|
|
3370
|
+
"bodyTypes": [],
|
|
3371
|
+
"secretBody": false,
|
|
3372
|
+
"raw": false,
|
|
3373
|
+
"summary": "Remove an imported template package"
|
|
3374
|
+
},
|
|
3375
|
+
{
|
|
3376
|
+
"command": [
|
|
3377
|
+
"template",
|
|
3378
|
+
"import"
|
|
3379
|
+
],
|
|
3380
|
+
"operationId": "importTemplate",
|
|
3381
|
+
"method": "POST",
|
|
3382
|
+
"path": "/templates/import",
|
|
3383
|
+
"pathParams": [],
|
|
3384
|
+
"multiSegment": [],
|
|
3385
|
+
"query": [],
|
|
3386
|
+
"headers": [],
|
|
3387
|
+
"bodyFlags": [
|
|
3388
|
+
{
|
|
3389
|
+
"name": "source",
|
|
3390
|
+
"type": "string",
|
|
3391
|
+
"required": true,
|
|
3392
|
+
"description": "Where the package is: `github:<owner>/<repo>[/<path>][@<ref>]` (the ref, a branch, tag or commit, defaults to the default branch), or the folder's https://github.com/<owner>/<repo>/tree/<ref>/<path> URL. A public repository on github.com alone."
|
|
3393
|
+
},
|
|
3394
|
+
{
|
|
3395
|
+
"name": "dry_run",
|
|
3396
|
+
"type": "boolean",
|
|
3397
|
+
"required": false,
|
|
3398
|
+
"description": "True: read and check the package and answer it, storing nothing (the install preview). Absent or false: store it, listed by GET /templates."
|
|
3399
|
+
},
|
|
3400
|
+
{
|
|
3401
|
+
"name": "trust_publisher",
|
|
3402
|
+
"type": "boolean",
|
|
3403
|
+
"required": false,
|
|
3404
|
+
"description": "The owner's \"I trust <publisher>\": needed (true) for the first import this server stores from a GitHub account, and remembered for that account. Never needed for a dry run."
|
|
3405
|
+
}
|
|
3406
|
+
],
|
|
3407
|
+
"hasBody": true,
|
|
3408
|
+
"bodyRequired": true,
|
|
3409
|
+
"bodyTypes": [
|
|
3410
|
+
"application/json"
|
|
3411
|
+
],
|
|
3412
|
+
"secretBody": false,
|
|
3413
|
+
"raw": false,
|
|
3414
|
+
"summary": "Import a template package from a public GitHub repository, or preview it (dry_run)"
|
|
3415
|
+
},
|
|
2468
3416
|
{
|
|
2469
3417
|
"command": [
|
|
2470
3418
|
"template",
|
|
@@ -2483,7 +3431,7 @@ export const COMMANDS = [
|
|
|
2483
3431
|
"bodyTypes": [],
|
|
2484
3432
|
"secretBody": false,
|
|
2485
3433
|
"raw": false,
|
|
2486
|
-
"summary": "The template packages this server ships: each makes an agent, its skills and its triggers"
|
|
3434
|
+
"summary": "The template packages this server ships, and those imported here: each makes an agent, its skills and its triggers"
|
|
2487
3435
|
},
|
|
2488
3436
|
{
|
|
2489
3437
|
"command": [
|