@kosuke-ai/cli 5.7.0 → 5.9.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/agent/summary.js +129 -8
- package/dist/generated/commands/activity/list.js +3 -3
- package/dist/generated/commands/crons/artifacts-list.js +4 -4
- package/dist/generated/commands/crons/create.js +4 -4
- package/dist/generated/commands/crons/get.js +4 -4
- package/dist/generated/commands/crons/list.js +4 -4
- package/dist/generated/commands/crons/projects-resume.js +4 -4
- package/dist/generated/commands/crons/run.js +4 -4
- package/dist/generated/commands/crons/runs-artifacts-get.js +3 -3
- package/dist/generated/commands/crons/runs-artifacts-list.js +3 -3
- package/dist/generated/commands/crons/runs-cancel.js +4 -4
- package/dist/generated/commands/crons/runs-get.js +4 -4
- package/dist/generated/commands/crons/runs-list.js +4 -4
- package/dist/generated/commands/crons/runs-messages.js +4 -4
- package/dist/generated/commands/crons/update.js +4 -4
- package/dist/generated/commands/deploy/cancel.js +4 -4
- package/dist/generated/commands/deploy/list.js +2 -2
- package/dist/generated/commands/deploy/messages.js +2 -2
- package/dist/generated/commands/deploy/queue-list.js +4 -4
- package/dist/generated/commands/deploy/queue-move.js +4 -4
- package/dist/generated/commands/deploy/queue-resume.js +4 -4
- package/dist/generated/commands/deploy/queue-send.js +4 -4
- package/dist/generated/commands/deploy/queue-steer.js +4 -4
- package/dist/generated/commands/deploy/queue-update.js +4 -4
- package/dist/generated/commands/deploy/run.js +4 -4
- package/dist/generated/commands/deploy/set-model.js +4 -4
- package/dist/generated/commands/github/repositories.js +4 -4
- package/dist/generated/commands/github/status.js +4 -4
- package/dist/generated/commands/index.js +123 -109
- package/dist/generated/commands/preview/get.js +4 -4
- package/dist/generated/commands/preview/health.js +4 -4
- package/dist/generated/commands/preview/reset.js +4 -4
- package/dist/generated/commands/preview/share-create.js +4 -4
- package/dist/generated/commands/preview/share-get.js +4 -4
- package/dist/generated/commands/projects/branches.js +4 -4
- package/dist/generated/commands/projects/create.js +4 -4
- package/dist/generated/commands/projects/env-vars-add.js +4 -4
- package/dist/generated/commands/projects/get.js +2 -2
- package/dist/generated/commands/projects/labels-color.js +4 -4
- package/dist/generated/commands/projects/labels.js +1 -1
- package/dist/generated/commands/projects/list.js +2 -2
- package/dist/generated/commands/projects/qa-guide-get.js +22 -0
- package/dist/generated/commands/projects/qa-guide-set.js +33 -0
- package/dist/generated/commands/projects/services-add.js +4 -4
- package/dist/generated/commands/projects/services-list.js +4 -4
- package/dist/generated/commands/projects/services-update.js +4 -4
- package/dist/generated/commands/projects/settings-get.js +4 -4
- package/dist/generated/commands/projects/settings-import.js +11 -4
- package/dist/generated/commands/projects/settings-update.js +12 -5
- package/dist/generated/commands/projects/skills.js +2 -2
- package/dist/generated/commands/projects/update.js +4 -4
- package/dist/generated/commands/sessions/activate.js +19 -5
- package/dist/generated/commands/sessions/all.js +3 -3
- package/dist/generated/commands/sessions/artifacts-attach.js +3 -3
- package/dist/generated/commands/sessions/artifacts-get.js +3 -3
- package/dist/generated/commands/sessions/artifacts-list.js +3 -3
- package/dist/generated/commands/sessions/comments-add.js +4 -4
- package/dist/generated/commands/sessions/comments-list.js +4 -4
- package/dist/generated/commands/sessions/comments-update.js +4 -4
- package/dist/generated/commands/sessions/diff-comments-add.js +4 -4
- package/dist/generated/commands/sessions/diff-comments-list.js +4 -4
- package/dist/generated/commands/sessions/diff-comments-update.js +4 -4
- package/dist/generated/commands/sessions/diff-commits.js +4 -4
- package/dist/generated/commands/sessions/diff-files.js +3 -3
- package/dist/generated/commands/sessions/diff-patch.js +3 -3
- package/dist/generated/commands/sessions/edit-prompt.js +1 -1
- package/dist/generated/commands/sessions/files-get.js +4 -4
- package/dist/generated/commands/sessions/files-list.js +4 -4
- package/dist/generated/commands/sessions/files-write.js +4 -4
- package/dist/generated/commands/sessions/get.js +2 -2
- package/dist/generated/commands/sessions/git-commit-message.js +4 -4
- package/dist/generated/commands/sessions/git-commit.js +4 -4
- package/dist/generated/commands/sessions/git-push.js +4 -4
- package/dist/generated/commands/sessions/git-state.js +4 -4
- package/dist/generated/commands/sessions/jobs-cancel.js +4 -4
- package/dist/generated/commands/sessions/jobs-get.js +1 -1
- package/dist/generated/commands/sessions/jobs-list.js +2 -2
- package/dist/generated/commands/sessions/labels-edit.js +3 -3
- package/dist/generated/commands/sessions/labels-set.js +3 -3
- package/dist/generated/commands/sessions/mark-read.js +4 -4
- package/dist/generated/commands/sessions/messages.js +1 -1
- package/dist/generated/commands/sessions/needs-you.js +4 -4
- package/dist/generated/commands/sessions/qa-slot.js +22 -0
- package/dist/generated/commands/sessions/queue-list.js +3 -3
- package/dist/generated/commands/sessions/queue-move.js +4 -4
- package/dist/generated/commands/sessions/queue-resume.js +4 -4
- package/dist/generated/commands/sessions/queue-send.js +4 -4
- package/dist/generated/commands/sessions/queue-steer.js +4 -4
- package/dist/generated/commands/sessions/queue-update.js +4 -4
- package/dist/generated/commands/sessions/runtime-command.js +4 -4
- package/dist/generated/commands/sessions/search.js +2 -2
- package/dist/generated/commands/sessions/send.js +2 -2
- package/dist/generated/commands/sessions/steer.js +4 -4
- package/dist/generated/commands/sessions/title-generate.js +4 -4
- package/dist/generated/commands/sessions/update.js +1 -1
- package/dist/generated/commands/user/plugins-list.js +3 -3
- package/dist/generated/commands/user/plugins-update.js +4 -4
- package/dist/generated/commands/user/profile.js +4 -4
- package/dist/generated/commands/user/skills-create.js +4 -4
- package/dist/generated/commands/user/skills-get.js +3 -3
- package/dist/generated/commands/user/skills-list.js +3 -3
- package/dist/generated/commands/user/skills-update.js +4 -4
- package/dist/generated/commands/user/subscriptions-get.js +4 -4
- package/dist/generated/commands/user/subscriptions-usage.js +4 -4
- package/dist/generated/commands/workspaces/access-status.js +4 -4
- package/dist/generated/commands/workspaces/ai-provider-get.js +4 -4
- package/dist/generated/commands/workspaces/ai-provider-usage-claude.js +4 -4
- package/dist/generated/commands/workspaces/ai-provider-usage-codex.js +4 -4
- package/dist/generated/commands/workspaces/ai-provider-usage-coding-plan.js +4 -4
- package/dist/generated/commands/workspaces/artifacts.js +3 -3
- package/dist/generated/commands/workspaces/credits.js +3 -3
- package/dist/generated/commands/workspaces/get.js +4 -4
- package/dist/generated/commands/workspaces/getting-started-get.js +4 -4
- package/dist/generated/commands/workspaces/getting-started-update.js +4 -4
- package/dist/generated/commands/workspaces/integrations-sentry-get.js +4 -4
- package/dist/generated/commands/workspaces/integrations-slack-get.js +4 -4
- package/dist/generated/commands/workspaces/lead-cards.js +21 -0
- package/dist/generated/commands/workspaces/lead-notifications-open.js +23 -0
- package/dist/generated/commands/workspaces/lead-proposals-create.js +25 -0
- package/dist/generated/commands/workspaces/lead-triage.js +60 -0
- package/dist/generated/commands/workspaces/list.js +3 -3
- package/dist/generated/commands/workspaces/members.js +4 -4
- package/dist/generated/commands/workspaces/plugins-list.js +2 -2
- package/dist/generated/commands/workspaces/plugins-update.js +4 -4
- package/dist/generated/commands/workspaces/sandbox-limit.js +3 -3
- package/dist/generated/commands/workspaces/skills-create.js +5 -11
- package/dist/generated/commands/workspaces/skills-delete.js +1 -1
- package/dist/generated/commands/workspaces/skills-get.js +3 -3
- package/dist/generated/commands/workspaces/skills-list.js +3 -3
- package/dist/generated/commands/workspaces/skills-update.js +5 -5
- package/dist/generated/commands/workspaces/stop-sandboxes.js +4 -4
- package/dist/generated/commands/workspaces/usage.js +3 -3
- package/dist/program.js +7 -10
- package/openapi.json +1253 -47
- package/package.json +1 -1
package/openapi.json
CHANGED
|
@@ -17,6 +17,9 @@
|
|
|
17
17
|
"summary": "List Activity across every workspace you belong to, newest first: Changes Kosuke observed and what members did. Each event names its workspace. A browser session reads its active workspace only.",
|
|
18
18
|
"tags": ["activity"],
|
|
19
19
|
"x-kosuke-command": ["activity", "list"],
|
|
20
|
+
"x-kosuke-sandbox-token": true,
|
|
21
|
+
"x-kosuke-orchestrator-token": true,
|
|
22
|
+
"x-kosuke-cron-token": true,
|
|
20
23
|
"x-kosuke-lead-token": true,
|
|
21
24
|
"parameters": [
|
|
22
25
|
{
|
|
@@ -144,6 +147,10 @@
|
|
|
144
147
|
"summary": "List the repositories the Kosuke GitHub App can reach through your connection, all at once, with installUrl when there is no connection yet. With an API key this is always your own listing, never the staff one. 401 GITHUB_RECONNECT_REQUIRED when GitHub no longer accepts your connection.",
|
|
145
148
|
"tags": ["github"],
|
|
146
149
|
"x-kosuke-command": ["github", "repositories"],
|
|
150
|
+
"x-kosuke-sandbox-token": true,
|
|
151
|
+
"x-kosuke-orchestrator-token": true,
|
|
152
|
+
"x-kosuke-cron-token": true,
|
|
153
|
+
"x-kosuke-lead-token": true,
|
|
147
154
|
"responses": {
|
|
148
155
|
"2XX": {
|
|
149
156
|
"description": "Success envelope",
|
|
@@ -184,6 +191,10 @@
|
|
|
184
191
|
"summary": "Whether your GitHub connection exists, the account and date behind it, and reconnectRequired when GitHub no longer accepts it.",
|
|
185
192
|
"tags": ["github"],
|
|
186
193
|
"x-kosuke-command": ["github", "status"],
|
|
194
|
+
"x-kosuke-sandbox-token": true,
|
|
195
|
+
"x-kosuke-orchestrator-token": true,
|
|
196
|
+
"x-kosuke-cron-token": true,
|
|
197
|
+
"x-kosuke-lead-token": true,
|
|
187
198
|
"responses": {
|
|
188
199
|
"2XX": {
|
|
189
200
|
"description": "Success envelope",
|
|
@@ -224,6 +235,9 @@
|
|
|
224
235
|
"summary": "List chat sessions across every workspace you belong to, each with its workspace, project, URL and Needs You reason. q narrows them to titles containing it, ids to the sessions it names. With needsYou, at most 100, most severe first. A browser session reads its active workspace only.",
|
|
225
236
|
"tags": ["sessions"],
|
|
226
237
|
"x-kosuke-command": ["sessions", "all"],
|
|
238
|
+
"x-kosuke-sandbox-token": true,
|
|
239
|
+
"x-kosuke-orchestrator-token": true,
|
|
240
|
+
"x-kosuke-cron-token": true,
|
|
227
241
|
"x-kosuke-lead-token": true,
|
|
228
242
|
"parameters": [
|
|
229
243
|
{
|
|
@@ -381,6 +395,10 @@
|
|
|
381
395
|
"summary": "List your own Active and Under Review chat sessions in three groups, as the desktop menu bar shows them: needsYou (a Clarification waiting on you, or a Turn that finished or failed since you last read it), running, and recent. Each item names its project, the reason it is listed and the latest chat job. At most 50 per group, newest activity first; counts gives each group in full. With an API key or Connector Token this spans every workspace you belong to; a browser session sees only its active workspace.",
|
|
382
396
|
"tags": ["sessions"],
|
|
383
397
|
"x-kosuke-command": ["sessions", "needs-you"],
|
|
398
|
+
"x-kosuke-sandbox-token": true,
|
|
399
|
+
"x-kosuke-orchestrator-token": true,
|
|
400
|
+
"x-kosuke-cron-token": true,
|
|
401
|
+
"x-kosuke-lead-token": true,
|
|
384
402
|
"responses": {
|
|
385
403
|
"2XX": {
|
|
386
404
|
"description": "Success envelope",
|
|
@@ -418,10 +436,11 @@
|
|
|
418
436
|
"/api/chat-sessions/search": {
|
|
419
437
|
"get": {
|
|
420
438
|
"operationId": "sessionsSearch",
|
|
421
|
-
"summary": "Search chat sessions by title. With an API key this spans every workspace you belong to; a browser session searches its active workspace;
|
|
439
|
+
"summary": "Search chat sessions by title. With an API key this spans every workspace you belong to; a browser session searches its active workspace; an agent token searches its own workspace, or its own project when no member stands behind it.",
|
|
422
440
|
"tags": ["sessions"],
|
|
423
441
|
"x-kosuke-command": ["sessions", "search"],
|
|
424
442
|
"x-kosuke-sandbox-token": true,
|
|
443
|
+
"x-kosuke-orchestrator-token": true,
|
|
425
444
|
"x-kosuke-cron-token": true,
|
|
426
445
|
"x-kosuke-lead-token": true,
|
|
427
446
|
"parameters": [
|
|
@@ -520,6 +539,9 @@
|
|
|
520
539
|
"summary": "List the workspaces you belong to.",
|
|
521
540
|
"tags": ["workspaces"],
|
|
522
541
|
"x-kosuke-command": ["workspaces", "list"],
|
|
542
|
+
"x-kosuke-sandbox-token": true,
|
|
543
|
+
"x-kosuke-orchestrator-token": true,
|
|
544
|
+
"x-kosuke-cron-token": true,
|
|
523
545
|
"x-kosuke-lead-token": true,
|
|
524
546
|
"responses": {
|
|
525
547
|
"2XX": {
|
|
@@ -561,6 +583,10 @@
|
|
|
561
583
|
"summary": "Read one workspace and your role in it.",
|
|
562
584
|
"tags": ["workspaces"],
|
|
563
585
|
"x-kosuke-command": ["workspaces", "get"],
|
|
586
|
+
"x-kosuke-sandbox-token": true,
|
|
587
|
+
"x-kosuke-orchestrator-token": true,
|
|
588
|
+
"x-kosuke-cron-token": true,
|
|
589
|
+
"x-kosuke-lead-token": true,
|
|
564
590
|
"parameters": [
|
|
565
591
|
{
|
|
566
592
|
"name": "workspaceId",
|
|
@@ -612,6 +638,10 @@
|
|
|
612
638
|
"summary": "Read which providers you, or the workspace, can run.",
|
|
613
639
|
"tags": ["workspaces"],
|
|
614
640
|
"x-kosuke-command": ["workspaces", "access-status"],
|
|
641
|
+
"x-kosuke-sandbox-token": true,
|
|
642
|
+
"x-kosuke-orchestrator-token": true,
|
|
643
|
+
"x-kosuke-cron-token": true,
|
|
644
|
+
"x-kosuke-lead-token": true,
|
|
615
645
|
"parameters": [
|
|
616
646
|
{
|
|
617
647
|
"name": "workspaceId",
|
|
@@ -674,6 +704,10 @@
|
|
|
674
704
|
"summary": "Read the workspace credentials and active auth method per provider. Secrets are masked.",
|
|
675
705
|
"tags": ["workspaces"],
|
|
676
706
|
"x-kosuke-command": ["workspaces", "ai-provider", "get"],
|
|
707
|
+
"x-kosuke-sandbox-token": true,
|
|
708
|
+
"x-kosuke-orchestrator-token": true,
|
|
709
|
+
"x-kosuke-cron-token": true,
|
|
710
|
+
"x-kosuke-lead-token": true,
|
|
677
711
|
"parameters": [
|
|
678
712
|
{
|
|
679
713
|
"name": "workspaceId",
|
|
@@ -950,6 +984,10 @@
|
|
|
950
984
|
"summary": "Read the session and weekly utilization of the workspace's Claude login. 400 when the workspace holds no Claude login or it needs reconnecting.",
|
|
951
985
|
"tags": ["workspaces"],
|
|
952
986
|
"x-kosuke-command": ["workspaces", "ai-provider", "usage", "claude"],
|
|
987
|
+
"x-kosuke-sandbox-token": true,
|
|
988
|
+
"x-kosuke-orchestrator-token": true,
|
|
989
|
+
"x-kosuke-cron-token": true,
|
|
990
|
+
"x-kosuke-lead-token": true,
|
|
953
991
|
"parameters": [
|
|
954
992
|
{
|
|
955
993
|
"name": "workspaceId",
|
|
@@ -1001,6 +1039,10 @@
|
|
|
1001
1039
|
"summary": "Read the session and weekly utilization of the workspace's Codex login. 400 when the workspace holds no Codex login or it needs reconnecting.",
|
|
1002
1040
|
"tags": ["workspaces"],
|
|
1003
1041
|
"x-kosuke-command": ["workspaces", "ai-provider", "usage", "codex"],
|
|
1042
|
+
"x-kosuke-sandbox-token": true,
|
|
1043
|
+
"x-kosuke-orchestrator-token": true,
|
|
1044
|
+
"x-kosuke-cron-token": true,
|
|
1045
|
+
"x-kosuke-lead-token": true,
|
|
1004
1046
|
"parameters": [
|
|
1005
1047
|
{
|
|
1006
1048
|
"name": "workspaceId",
|
|
@@ -1052,6 +1094,10 @@
|
|
|
1052
1094
|
"summary": "Read the session and weekly utilization of the workspace's GLM Coding Plan. 400 when the workspace holds no Coding Plan.",
|
|
1053
1095
|
"tags": ["workspaces"],
|
|
1054
1096
|
"x-kosuke-command": ["workspaces", "ai-provider", "usage", "coding-plan"],
|
|
1097
|
+
"x-kosuke-sandbox-token": true,
|
|
1098
|
+
"x-kosuke-orchestrator-token": true,
|
|
1099
|
+
"x-kosuke-cron-token": true,
|
|
1100
|
+
"x-kosuke-lead-token": true,
|
|
1055
1101
|
"parameters": [
|
|
1056
1102
|
{
|
|
1057
1103
|
"name": "workspaceId",
|
|
@@ -1103,6 +1149,9 @@
|
|
|
1103
1149
|
"summary": "Search the Artifacts of a workspace by title, across its Chat Sessions and its Cron Runs. Rows only, each naming the session or run it was written in; read one with `sessions artifacts get` or `crons runs artifacts get`.",
|
|
1104
1150
|
"tags": ["workspaces"],
|
|
1105
1151
|
"x-kosuke-command": ["workspaces", "artifacts"],
|
|
1152
|
+
"x-kosuke-sandbox-token": true,
|
|
1153
|
+
"x-kosuke-orchestrator-token": true,
|
|
1154
|
+
"x-kosuke-cron-token": true,
|
|
1106
1155
|
"x-kosuke-lead-token": true,
|
|
1107
1156
|
"parameters": [
|
|
1108
1157
|
{
|
|
@@ -1165,6 +1214,9 @@
|
|
|
1165
1214
|
"summary": "Read the credit balance and limit of a workspace.",
|
|
1166
1215
|
"tags": ["workspaces"],
|
|
1167
1216
|
"x-kosuke-command": ["workspaces", "credits"],
|
|
1217
|
+
"x-kosuke-sandbox-token": true,
|
|
1218
|
+
"x-kosuke-orchestrator-token": true,
|
|
1219
|
+
"x-kosuke-cron-token": true,
|
|
1168
1220
|
"x-kosuke-lead-token": true,
|
|
1169
1221
|
"parameters": [
|
|
1170
1222
|
{
|
|
@@ -1217,6 +1269,10 @@
|
|
|
1217
1269
|
"summary": "List the workspace's crons, newest first, with each one's projects, creator and last run status. A cron fails as soon as the latest run of any of its projects failed.",
|
|
1218
1270
|
"tags": ["crons"],
|
|
1219
1271
|
"x-kosuke-command": ["crons", "list"],
|
|
1272
|
+
"x-kosuke-sandbox-token": true,
|
|
1273
|
+
"x-kosuke-orchestrator-token": true,
|
|
1274
|
+
"x-kosuke-cron-token": true,
|
|
1275
|
+
"x-kosuke-lead-token": true,
|
|
1220
1276
|
"parameters": [
|
|
1221
1277
|
{
|
|
1222
1278
|
"name": "workspaceId",
|
|
@@ -1323,6 +1379,10 @@
|
|
|
1323
1379
|
"summary": "Create a cron, enabled, with you as its creator, in one or more of the workspace's projects: each fire runs the Cron Agent in every one of them at once. Every run spends the workspace's Credentials, never a member's Subscription, so a workspace with no usable provider is refused. The model is an encoded id such as anthropic:opus__xhigh; null or left out uses the saved Workspace Default Model when its Provider has usable workspace Credentials, otherwise Kosuke's choice among usable workspace Credentials at run time. The crontab may not fire more often than every 15 minutes.",
|
|
1324
1380
|
"tags": ["crons"],
|
|
1325
1381
|
"x-kosuke-command": ["crons", "create"],
|
|
1382
|
+
"x-kosuke-sandbox-token": true,
|
|
1383
|
+
"x-kosuke-orchestrator-token": true,
|
|
1384
|
+
"x-kosuke-cron-token": true,
|
|
1385
|
+
"x-kosuke-lead-token": true,
|
|
1326
1386
|
"parameters": [
|
|
1327
1387
|
{
|
|
1328
1388
|
"name": "workspaceId",
|
|
@@ -1432,6 +1492,10 @@
|
|
|
1432
1492
|
"summary": "Read one cron: its prompt, schedule, model, creator, when it runs next, and its projects, each with its last run status and whether five failed runs in a row paused it.",
|
|
1433
1493
|
"tags": ["crons"],
|
|
1434
1494
|
"x-kosuke-command": ["crons", "get"],
|
|
1495
|
+
"x-kosuke-sandbox-token": true,
|
|
1496
|
+
"x-kosuke-orchestrator-token": true,
|
|
1497
|
+
"x-kosuke-cron-token": true,
|
|
1498
|
+
"x-kosuke-lead-token": true,
|
|
1435
1499
|
"parameters": [
|
|
1436
1500
|
{
|
|
1437
1501
|
"name": "workspaceId",
|
|
@@ -1491,6 +1555,10 @@
|
|
|
1491
1555
|
"summary": "Change a cron; only the fields sent change. projectIds replaces its projects. Any edit starts every project over: no project stays paused and every failure count goes back to zero. enabled=false pauses the cron and enabled=true resumes it; model=null goes back to the workspace default. The creator or a workspace admin only.",
|
|
1492
1556
|
"tags": ["crons"],
|
|
1493
1557
|
"x-kosuke-command": ["crons", "update"],
|
|
1558
|
+
"x-kosuke-sandbox-token": true,
|
|
1559
|
+
"x-kosuke-orchestrator-token": true,
|
|
1560
|
+
"x-kosuke-cron-token": true,
|
|
1561
|
+
"x-kosuke-lead-token": true,
|
|
1494
1562
|
"parameters": [
|
|
1495
1563
|
{
|
|
1496
1564
|
"name": "workspaceId",
|
|
@@ -1672,6 +1740,10 @@
|
|
|
1672
1740
|
"summary": "List the Artifacts a cron's runs published, across all of its runs, most recently changed first: each one's title, kind and version, with the run and the project it came from, and the total the filters keep. One row per Artifact: the same slug published by two runs is two rows. Rows only: a body or a file url comes from crons runs artifacts get, with the row's runId. The project and kind filters each take several values and keep an Artifact matching any of them.",
|
|
1673
1741
|
"tags": ["crons"],
|
|
1674
1742
|
"x-kosuke-command": ["crons", "artifacts", "list"],
|
|
1743
|
+
"x-kosuke-sandbox-token": true,
|
|
1744
|
+
"x-kosuke-orchestrator-token": true,
|
|
1745
|
+
"x-kosuke-cron-token": true,
|
|
1746
|
+
"x-kosuke-lead-token": true,
|
|
1675
1747
|
"parameters": [
|
|
1676
1748
|
{
|
|
1677
1749
|
"name": "workspaceId",
|
|
@@ -1788,6 +1860,10 @@
|
|
|
1788
1860
|
"summary": "Resume one project that five failed runs in a row paused inside a cron: it takes part in the next fire and its failure count goes back to zero, while the cron's other projects keep their state. A cron that disabled itself because every project was paused is enabled again; one a member paused stays paused. The creator or a workspace admin only.",
|
|
1789
1861
|
"tags": ["crons"],
|
|
1790
1862
|
"x-kosuke-command": ["crons", "projects", "resume"],
|
|
1863
|
+
"x-kosuke-sandbox-token": true,
|
|
1864
|
+
"x-kosuke-orchestrator-token": true,
|
|
1865
|
+
"x-kosuke-cron-token": true,
|
|
1866
|
+
"x-kosuke-lead-token": true,
|
|
1791
1867
|
"parameters": [
|
|
1792
1868
|
{
|
|
1793
1869
|
"name": "workspaceId",
|
|
@@ -1859,6 +1935,10 @@
|
|
|
1859
1935
|
"summary": "Fire a cron once now, paused or not, exactly as a scheduled fire: one Cron Run per project, each in that project's main sandbox on the workspace's Credentials, and the sessions they file are Kosuke's, not yours. Every project that five failed runs in a row did not pause, or only the projects named. Answers with runs, one { projectId, runId, status } per project: status is the run's status when the request answers, after waiting up to about ten seconds for the fire: running once the run was handed to the Cron Agent, failed or skipped when the fire refused it, succeeded, failed or cancelled when the run had already ended, and queued when the fire had not opened the run yet. crons runs get reads any of the run ids. The creator or a workspace admin only.",
|
|
1860
1936
|
"tags": ["crons"],
|
|
1861
1937
|
"x-kosuke-command": ["crons", "run"],
|
|
1938
|
+
"x-kosuke-sandbox-token": true,
|
|
1939
|
+
"x-kosuke-orchestrator-token": true,
|
|
1940
|
+
"x-kosuke-cron-token": true,
|
|
1941
|
+
"x-kosuke-lead-token": true,
|
|
1862
1942
|
"parameters": [
|
|
1863
1943
|
{
|
|
1864
1944
|
"name": "workspaceId",
|
|
@@ -1942,6 +2022,10 @@
|
|
|
1942
2022
|
"summary": "List a cron's runs, newest first: each one's project, status, the first line of its reply or its error, with the total and failed counts of the runs the filters keep. The project and status filters each take several values and keep a run matching any of them.",
|
|
1943
2023
|
"tags": ["crons"],
|
|
1944
2024
|
"x-kosuke-command": ["crons", "runs", "list"],
|
|
2025
|
+
"x-kosuke-sandbox-token": true,
|
|
2026
|
+
"x-kosuke-orchestrator-token": true,
|
|
2027
|
+
"x-kosuke-cron-token": true,
|
|
2028
|
+
"x-kosuke-lead-token": true,
|
|
1945
2029
|
"parameters": [
|
|
1946
2030
|
{
|
|
1947
2031
|
"name": "workspaceId",
|
|
@@ -2058,6 +2142,10 @@
|
|
|
2058
2142
|
"summary": "Read one run of a cron: its project, its status, the model it ran on, the Cron Agent's reply, and the sessions it filed with each one's status and whether it waits for an answer.",
|
|
2059
2143
|
"tags": ["crons"],
|
|
2060
2144
|
"x-kosuke-command": ["crons", "runs", "get"],
|
|
2145
|
+
"x-kosuke-sandbox-token": true,
|
|
2146
|
+
"x-kosuke-orchestrator-token": true,
|
|
2147
|
+
"x-kosuke-cron-token": true,
|
|
2148
|
+
"x-kosuke-lead-token": true,
|
|
2061
2149
|
"parameters": [
|
|
2062
2150
|
{
|
|
2063
2151
|
"name": "workspaceId",
|
|
@@ -2129,6 +2217,9 @@
|
|
|
2129
2217
|
"summary": "List the Artifacts a run of a cron published, most recently changed first. Rows only: a body or a file url comes from reading one.",
|
|
2130
2218
|
"tags": ["crons"],
|
|
2131
2219
|
"x-kosuke-command": ["crons", "runs", "artifacts", "list"],
|
|
2220
|
+
"x-kosuke-sandbox-token": true,
|
|
2221
|
+
"x-kosuke-orchestrator-token": true,
|
|
2222
|
+
"x-kosuke-cron-token": true,
|
|
2132
2223
|
"x-kosuke-lead-token": true,
|
|
2133
2224
|
"parameters": [
|
|
2134
2225
|
{
|
|
@@ -2201,6 +2292,9 @@
|
|
|
2201
2292
|
"summary": "Read one Artifact of a run of a cron: a markdown or html one carries its body, an image or a video a presigned url, its media type and its size.",
|
|
2202
2293
|
"tags": ["crons"],
|
|
2203
2294
|
"x-kosuke-command": ["crons", "runs", "artifacts", "get"],
|
|
2295
|
+
"x-kosuke-sandbox-token": true,
|
|
2296
|
+
"x-kosuke-orchestrator-token": true,
|
|
2297
|
+
"x-kosuke-cron-token": true,
|
|
2204
2298
|
"x-kosuke-lead-token": true,
|
|
2205
2299
|
"parameters": [
|
|
2206
2300
|
{
|
|
@@ -2283,6 +2377,10 @@
|
|
|
2283
2377
|
"summary": "Stop a run of a cron that is still going, the way Stop on its page does. The run ends cancelled; the Artifacts it stored and the sessions it filed stay, and the cron's runs in its other projects go on. The creator or a workspace admin only.",
|
|
2284
2378
|
"tags": ["crons"],
|
|
2285
2379
|
"x-kosuke-command": ["crons", "runs", "cancel"],
|
|
2380
|
+
"x-kosuke-sandbox-token": true,
|
|
2381
|
+
"x-kosuke-orchestrator-token": true,
|
|
2382
|
+
"x-kosuke-cron-token": true,
|
|
2383
|
+
"x-kosuke-lead-token": true,
|
|
2286
2384
|
"parameters": [
|
|
2287
2385
|
{
|
|
2288
2386
|
"name": "workspaceId",
|
|
@@ -2425,6 +2523,10 @@
|
|
|
2425
2523
|
"summary": "Read the Cron Agent's transcript of one run of a cron: the prompt it was given, then everything it did, with the run's status.",
|
|
2426
2524
|
"tags": ["crons"],
|
|
2427
2525
|
"x-kosuke-command": ["crons", "runs", "messages"],
|
|
2526
|
+
"x-kosuke-sandbox-token": true,
|
|
2527
|
+
"x-kosuke-orchestrator-token": true,
|
|
2528
|
+
"x-kosuke-cron-token": true,
|
|
2529
|
+
"x-kosuke-lead-token": true,
|
|
2428
2530
|
"parameters": [
|
|
2429
2531
|
{
|
|
2430
2532
|
"name": "workspaceId",
|
|
@@ -2496,6 +2598,10 @@
|
|
|
2496
2598
|
"summary": "Read the getting-started guide and which milestones are done.",
|
|
2497
2599
|
"tags": ["workspaces"],
|
|
2498
2600
|
"x-kosuke-command": ["workspaces", "getting-started", "get"],
|
|
2601
|
+
"x-kosuke-sandbox-token": true,
|
|
2602
|
+
"x-kosuke-orchestrator-token": true,
|
|
2603
|
+
"x-kosuke-cron-token": true,
|
|
2604
|
+
"x-kosuke-lead-token": true,
|
|
2499
2605
|
"parameters": [
|
|
2500
2606
|
{
|
|
2501
2607
|
"name": "workspaceId",
|
|
@@ -2545,6 +2651,10 @@
|
|
|
2545
2651
|
"summary": "Dismiss the guide (empty body or action=dismiss) or record the preview milestone.",
|
|
2546
2652
|
"tags": ["workspaces"],
|
|
2547
2653
|
"x-kosuke-command": ["workspaces", "getting-started", "update"],
|
|
2654
|
+
"x-kosuke-sandbox-token": true,
|
|
2655
|
+
"x-kosuke-orchestrator-token": true,
|
|
2656
|
+
"x-kosuke-cron-token": true,
|
|
2657
|
+
"x-kosuke-lead-token": true,
|
|
2548
2658
|
"parameters": [
|
|
2549
2659
|
{
|
|
2550
2660
|
"name": "workspaceId",
|
|
@@ -2612,6 +2722,10 @@
|
|
|
2612
2722
|
"summary": "Read the workspace Sentry integration: status, organization, requested scopes, who authorized it and whether remote cleanup is pending. Never a credential or a connected-account identifier.",
|
|
2613
2723
|
"tags": ["workspaces"],
|
|
2614
2724
|
"x-kosuke-command": ["workspaces", "integrations", "sentry", "get"],
|
|
2725
|
+
"x-kosuke-sandbox-token": true,
|
|
2726
|
+
"x-kosuke-orchestrator-token": true,
|
|
2727
|
+
"x-kosuke-cron-token": true,
|
|
2728
|
+
"x-kosuke-lead-token": true,
|
|
2615
2729
|
"parameters": [
|
|
2616
2730
|
{
|
|
2617
2731
|
"name": "workspaceId",
|
|
@@ -2712,6 +2826,10 @@
|
|
|
2712
2826
|
"summary": "Read the workspace Slack integration: the connected Slack workspace, who authorized it and when. Never the bot token.",
|
|
2713
2827
|
"tags": ["workspaces"],
|
|
2714
2828
|
"x-kosuke-command": ["workspaces", "integrations", "slack", "get"],
|
|
2829
|
+
"x-kosuke-sandbox-token": true,
|
|
2830
|
+
"x-kosuke-orchestrator-token": true,
|
|
2831
|
+
"x-kosuke-cron-token": true,
|
|
2832
|
+
"x-kosuke-lead-token": true,
|
|
2715
2833
|
"parameters": [
|
|
2716
2834
|
{
|
|
2717
2835
|
"name": "workspaceId",
|
|
@@ -2757,12 +2875,16 @@
|
|
|
2757
2875
|
}
|
|
2758
2876
|
}
|
|
2759
2877
|
},
|
|
2760
|
-
"/api/organizations/{workspaceId}/
|
|
2878
|
+
"/api/organizations/{workspaceId}/lead/cards": {
|
|
2761
2879
|
"get": {
|
|
2762
|
-
"operationId": "
|
|
2763
|
-
"summary": "List
|
|
2880
|
+
"operationId": "workspacesLeadCards",
|
|
2881
|
+
"summary": "List your open Lead Cards in a workspace, in the order the triager ranked them.",
|
|
2764
2882
|
"tags": ["workspaces"],
|
|
2765
|
-
"x-kosuke-command": ["workspaces", "
|
|
2883
|
+
"x-kosuke-command": ["workspaces", "lead-cards"],
|
|
2884
|
+
"x-kosuke-sandbox-token": true,
|
|
2885
|
+
"x-kosuke-orchestrator-token": true,
|
|
2886
|
+
"x-kosuke-cron-token": true,
|
|
2887
|
+
"x-kosuke-lead-token": true,
|
|
2766
2888
|
"parameters": [
|
|
2767
2889
|
{
|
|
2768
2890
|
"name": "workspaceId",
|
|
@@ -2772,16 +2894,6 @@
|
|
|
2772
2894
|
"type": "string",
|
|
2773
2895
|
"minLength": 1
|
|
2774
2896
|
}
|
|
2775
|
-
},
|
|
2776
|
-
{
|
|
2777
|
-
"name": "includeInvitations",
|
|
2778
|
-
"in": "query",
|
|
2779
|
-
"required": false,
|
|
2780
|
-
"description": "Include pending invitations. Defaults to true; only the literal 'false' turns it off.",
|
|
2781
|
-
"schema": {
|
|
2782
|
-
"description": "Include pending invitations. Defaults to true; only the literal 'false' turns it off.",
|
|
2783
|
-
"type": "boolean"
|
|
2784
|
-
}
|
|
2785
2897
|
}
|
|
2786
2898
|
],
|
|
2787
2899
|
"responses": {
|
|
@@ -2818,14 +2930,16 @@
|
|
|
2818
2930
|
}
|
|
2819
2931
|
}
|
|
2820
2932
|
},
|
|
2821
|
-
"/api/organizations/{workspaceId}/
|
|
2822
|
-
"
|
|
2823
|
-
"operationId": "
|
|
2824
|
-
"summary": "
|
|
2933
|
+
"/api/organizations/{workspaceId}/lead/notifications/{notificationId}/open": {
|
|
2934
|
+
"post": {
|
|
2935
|
+
"operationId": "workspacesLeadNotificationsOpen",
|
|
2936
|
+
"summary": "Mark one of your Lead notifications as opened.",
|
|
2825
2937
|
"tags": ["workspaces"],
|
|
2826
|
-
"x-kosuke-command": ["workspaces", "
|
|
2938
|
+
"x-kosuke-command": ["workspaces", "lead-notifications", "open"],
|
|
2827
2939
|
"x-kosuke-sandbox-token": true,
|
|
2940
|
+
"x-kosuke-orchestrator-token": true,
|
|
2828
2941
|
"x-kosuke-cron-token": true,
|
|
2942
|
+
"x-kosuke-lead-token": true,
|
|
2829
2943
|
"parameters": [
|
|
2830
2944
|
{
|
|
2831
2945
|
"name": "workspaceId",
|
|
@@ -2837,12 +2951,13 @@
|
|
|
2837
2951
|
}
|
|
2838
2952
|
},
|
|
2839
2953
|
{
|
|
2840
|
-
"name": "
|
|
2841
|
-
"in": "
|
|
2842
|
-
"required":
|
|
2954
|
+
"name": "notificationId",
|
|
2955
|
+
"in": "path",
|
|
2956
|
+
"required": true,
|
|
2843
2957
|
"schema": {
|
|
2844
2958
|
"type": "string",
|
|
2845
|
-
"
|
|
2959
|
+
"format": "uuid",
|
|
2960
|
+
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
|
|
2846
2961
|
}
|
|
2847
2962
|
}
|
|
2848
2963
|
],
|
|
@@ -2880,12 +2995,579 @@
|
|
|
2880
2995
|
}
|
|
2881
2996
|
}
|
|
2882
2997
|
},
|
|
2883
|
-
"/api/organizations/{workspaceId}/
|
|
2884
|
-
"
|
|
2885
|
-
"operationId": "
|
|
2886
|
-
"summary": "
|
|
2998
|
+
"/api/organizations/{workspaceId}/lead/proposals": {
|
|
2999
|
+
"post": {
|
|
3000
|
+
"operationId": "workspacesLeadProposalsCreate",
|
|
3001
|
+
"summary": "Open a Lead Card in your own Needs you that proposes one thing, with one line of why. kind start proposes starting a Backlog session, and is refused unless you are idle. kind delete_ticket (with evidence), merge_tickets (with sessionIds, mergedContent and the promptRevision sessions get gave for each ticket in revisions) and create_cron (with name, prompt, crontab, timezone and projectIds, and no sessionId) change nothing until you accept the card. Pass the body whole with --body.",
|
|
2887
3002
|
"tags": ["workspaces"],
|
|
2888
|
-
"x-kosuke-command": ["workspaces", "
|
|
3003
|
+
"x-kosuke-command": ["workspaces", "lead-proposals", "create"],
|
|
3004
|
+
"x-kosuke-sandbox-token": true,
|
|
3005
|
+
"x-kosuke-orchestrator-token": true,
|
|
3006
|
+
"x-kosuke-cron-token": true,
|
|
3007
|
+
"x-kosuke-lead-token": true,
|
|
3008
|
+
"parameters": [
|
|
3009
|
+
{
|
|
3010
|
+
"name": "workspaceId",
|
|
3011
|
+
"in": "path",
|
|
3012
|
+
"required": true,
|
|
3013
|
+
"schema": {
|
|
3014
|
+
"type": "string",
|
|
3015
|
+
"minLength": 1
|
|
3016
|
+
}
|
|
3017
|
+
}
|
|
3018
|
+
],
|
|
3019
|
+
"requestBody": {
|
|
3020
|
+
"required": true,
|
|
3021
|
+
"content": {
|
|
3022
|
+
"application/json": {
|
|
3023
|
+
"schema": {
|
|
3024
|
+
"oneOf": [
|
|
3025
|
+
{
|
|
3026
|
+
"type": "object",
|
|
3027
|
+
"properties": {
|
|
3028
|
+
"kind": {
|
|
3029
|
+
"type": "string",
|
|
3030
|
+
"const": "start"
|
|
3031
|
+
},
|
|
3032
|
+
"projectId": {
|
|
3033
|
+
"type": "string",
|
|
3034
|
+
"format": "uuid",
|
|
3035
|
+
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
|
|
3036
|
+
"description": "The project the card is filed under."
|
|
3037
|
+
},
|
|
3038
|
+
"sessionId": {
|
|
3039
|
+
"type": "string",
|
|
3040
|
+
"format": "uuid",
|
|
3041
|
+
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
|
|
3042
|
+
"description": "A Backlog session of that project."
|
|
3043
|
+
},
|
|
3044
|
+
"why": {
|
|
3045
|
+
"type": "string",
|
|
3046
|
+
"minLength": 1,
|
|
3047
|
+
"maxLength": 300,
|
|
3048
|
+
"description": "One line: why the member should accept this."
|
|
3049
|
+
}
|
|
3050
|
+
},
|
|
3051
|
+
"required": ["kind", "projectId", "sessionId", "why"]
|
|
3052
|
+
},
|
|
3053
|
+
{
|
|
3054
|
+
"type": "object",
|
|
3055
|
+
"properties": {
|
|
3056
|
+
"kind": {
|
|
3057
|
+
"type": "string",
|
|
3058
|
+
"const": "delete_ticket"
|
|
3059
|
+
},
|
|
3060
|
+
"projectId": {
|
|
3061
|
+
"type": "string",
|
|
3062
|
+
"format": "uuid",
|
|
3063
|
+
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
|
|
3064
|
+
"description": "The project the card is filed under."
|
|
3065
|
+
},
|
|
3066
|
+
"sessionId": {
|
|
3067
|
+
"type": "string",
|
|
3068
|
+
"format": "uuid",
|
|
3069
|
+
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
|
|
3070
|
+
"description": "A Backlog session of that project."
|
|
3071
|
+
},
|
|
3072
|
+
"why": {
|
|
3073
|
+
"type": "string",
|
|
3074
|
+
"minLength": 1,
|
|
3075
|
+
"maxLength": 300,
|
|
3076
|
+
"description": "One line: why the member should accept this."
|
|
3077
|
+
},
|
|
3078
|
+
"evidence": {
|
|
3079
|
+
"type": "string",
|
|
3080
|
+
"minLength": 1,
|
|
3081
|
+
"maxLength": 300,
|
|
3082
|
+
"description": "The pull request or session that already did the work."
|
|
3083
|
+
}
|
|
3084
|
+
},
|
|
3085
|
+
"required": ["kind", "projectId", "sessionId", "why", "evidence"]
|
|
3086
|
+
},
|
|
3087
|
+
{
|
|
3088
|
+
"type": "object",
|
|
3089
|
+
"properties": {
|
|
3090
|
+
"kind": {
|
|
3091
|
+
"type": "string",
|
|
3092
|
+
"const": "merge_tickets"
|
|
3093
|
+
},
|
|
3094
|
+
"projectId": {
|
|
3095
|
+
"type": "string",
|
|
3096
|
+
"format": "uuid",
|
|
3097
|
+
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
|
|
3098
|
+
"description": "The project the card is filed under."
|
|
3099
|
+
},
|
|
3100
|
+
"sessionId": {
|
|
3101
|
+
"type": "string",
|
|
3102
|
+
"format": "uuid",
|
|
3103
|
+
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
|
|
3104
|
+
"description": "The Backlog ticket that is kept."
|
|
3105
|
+
},
|
|
3106
|
+
"why": {
|
|
3107
|
+
"type": "string",
|
|
3108
|
+
"minLength": 1,
|
|
3109
|
+
"maxLength": 300,
|
|
3110
|
+
"description": "One line: why the member should accept this."
|
|
3111
|
+
},
|
|
3112
|
+
"sessionIds": {
|
|
3113
|
+
"minItems": 1,
|
|
3114
|
+
"maxItems": 20,
|
|
3115
|
+
"type": "array",
|
|
3116
|
+
"items": {
|
|
3117
|
+
"type": "string",
|
|
3118
|
+
"format": "uuid",
|
|
3119
|
+
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
|
|
3120
|
+
},
|
|
3121
|
+
"description": "The other Backlog tickets of the same project, deleted on Accept."
|
|
3122
|
+
},
|
|
3123
|
+
"mergedContent": {
|
|
3124
|
+
"type": "string",
|
|
3125
|
+
"minLength": 1,
|
|
3126
|
+
"maxLength": 50000,
|
|
3127
|
+
"description": "The prompt the kept ticket holds after the merge."
|
|
3128
|
+
},
|
|
3129
|
+
"revisions": {
|
|
3130
|
+
"type": "object",
|
|
3131
|
+
"propertyNames": {
|
|
3132
|
+
"type": "string",
|
|
3133
|
+
"format": "uuid",
|
|
3134
|
+
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
|
|
3135
|
+
},
|
|
3136
|
+
"additionalProperties": {
|
|
3137
|
+
"type": "string",
|
|
3138
|
+
"pattern": "^[0-9a-f]{64}$"
|
|
3139
|
+
},
|
|
3140
|
+
"description": "The promptRevision `kosuke sessions get` gave for each ticket mergedContent was written from, the kept one included, keyed by session id."
|
|
3141
|
+
}
|
|
3142
|
+
},
|
|
3143
|
+
"required": [
|
|
3144
|
+
"kind",
|
|
3145
|
+
"projectId",
|
|
3146
|
+
"sessionId",
|
|
3147
|
+
"why",
|
|
3148
|
+
"sessionIds",
|
|
3149
|
+
"mergedContent",
|
|
3150
|
+
"revisions"
|
|
3151
|
+
]
|
|
3152
|
+
},
|
|
3153
|
+
{
|
|
3154
|
+
"type": "object",
|
|
3155
|
+
"properties": {
|
|
3156
|
+
"kind": {
|
|
3157
|
+
"type": "string",
|
|
3158
|
+
"const": "create_cron"
|
|
3159
|
+
},
|
|
3160
|
+
"projectId": {
|
|
3161
|
+
"type": "string",
|
|
3162
|
+
"format": "uuid",
|
|
3163
|
+
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
|
|
3164
|
+
"description": "The project the card is filed under."
|
|
3165
|
+
},
|
|
3166
|
+
"why": {
|
|
3167
|
+
"type": "string",
|
|
3168
|
+
"minLength": 1,
|
|
3169
|
+
"maxLength": 300,
|
|
3170
|
+
"description": "One line: why the member should accept this."
|
|
3171
|
+
},
|
|
3172
|
+
"name": {
|
|
3173
|
+
"type": "string",
|
|
3174
|
+
"minLength": 1,
|
|
3175
|
+
"maxLength": 100
|
|
3176
|
+
},
|
|
3177
|
+
"prompt": {
|
|
3178
|
+
"type": "string",
|
|
3179
|
+
"minLength": 1,
|
|
3180
|
+
"description": "What each run asks the Cron Agent to do, handed to it word for word."
|
|
3181
|
+
},
|
|
3182
|
+
"crontab": {
|
|
3183
|
+
"type": "string",
|
|
3184
|
+
"minLength": 1,
|
|
3185
|
+
"maxLength": 100,
|
|
3186
|
+
"description": "Five fields: minute, hour, day of month, month, day of week. At most one fire every 15 minutes."
|
|
3187
|
+
},
|
|
3188
|
+
"timezone": {
|
|
3189
|
+
"type": "string",
|
|
3190
|
+
"minLength": 1,
|
|
3191
|
+
"maxLength": 64,
|
|
3192
|
+
"description": "The IANA zone the crontab is read in, e.g. Europe/Zurich or UTC."
|
|
3193
|
+
},
|
|
3194
|
+
"projectIds": {
|
|
3195
|
+
"minItems": 1,
|
|
3196
|
+
"maxItems": 50,
|
|
3197
|
+
"type": "array",
|
|
3198
|
+
"items": {
|
|
3199
|
+
"type": "string",
|
|
3200
|
+
"format": "uuid",
|
|
3201
|
+
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
|
|
3202
|
+
}
|
|
3203
|
+
}
|
|
3204
|
+
},
|
|
3205
|
+
"required": [
|
|
3206
|
+
"kind",
|
|
3207
|
+
"projectId",
|
|
3208
|
+
"why",
|
|
3209
|
+
"name",
|
|
3210
|
+
"prompt",
|
|
3211
|
+
"crontab",
|
|
3212
|
+
"timezone",
|
|
3213
|
+
"projectIds"
|
|
3214
|
+
]
|
|
3215
|
+
}
|
|
3216
|
+
]
|
|
3217
|
+
}
|
|
3218
|
+
}
|
|
3219
|
+
}
|
|
3220
|
+
},
|
|
3221
|
+
"responses": {
|
|
3222
|
+
"2XX": {
|
|
3223
|
+
"description": "Success envelope",
|
|
3224
|
+
"content": {
|
|
3225
|
+
"application/json": {
|
|
3226
|
+
"schema": {
|
|
3227
|
+
"$ref": "#/components/schemas/ApiSuccess"
|
|
3228
|
+
}
|
|
3229
|
+
}
|
|
3230
|
+
}
|
|
3231
|
+
},
|
|
3232
|
+
"4XX": {
|
|
3233
|
+
"description": "Error envelope",
|
|
3234
|
+
"content": {
|
|
3235
|
+
"application/json": {
|
|
3236
|
+
"schema": {
|
|
3237
|
+
"$ref": "#/components/schemas/ApiError"
|
|
3238
|
+
}
|
|
3239
|
+
}
|
|
3240
|
+
}
|
|
3241
|
+
},
|
|
3242
|
+
"5XX": {
|
|
3243
|
+
"description": "Error envelope",
|
|
3244
|
+
"content": {
|
|
3245
|
+
"application/json": {
|
|
3246
|
+
"schema": {
|
|
3247
|
+
"$ref": "#/components/schemas/ApiError"
|
|
3248
|
+
}
|
|
3249
|
+
}
|
|
3250
|
+
}
|
|
3251
|
+
}
|
|
3252
|
+
}
|
|
3253
|
+
}
|
|
3254
|
+
},
|
|
3255
|
+
"/api/organizations/{workspaceId}/lead/triage": {
|
|
3256
|
+
"post": {
|
|
3257
|
+
"operationId": "workspacesLeadTriage",
|
|
3258
|
+
"summary": "Write the triage of your own open Lead Cards in a workspace: their order, one line of why per card, who reviews and merges a ready pull request, one notification, and the Welcome back sentence. Answers what was ranked, whether the notification went out, and every part it refused with the reason.",
|
|
3259
|
+
"tags": ["workspaces"],
|
|
3260
|
+
"x-kosuke-command": ["workspaces", "lead-triage"],
|
|
3261
|
+
"x-kosuke-sandbox-token": true,
|
|
3262
|
+
"x-kosuke-orchestrator-token": true,
|
|
3263
|
+
"x-kosuke-cron-token": true,
|
|
3264
|
+
"x-kosuke-lead-token": true,
|
|
3265
|
+
"parameters": [
|
|
3266
|
+
{
|
|
3267
|
+
"name": "workspaceId",
|
|
3268
|
+
"in": "path",
|
|
3269
|
+
"required": true,
|
|
3270
|
+
"schema": {
|
|
3271
|
+
"type": "string",
|
|
3272
|
+
"minLength": 1
|
|
3273
|
+
}
|
|
3274
|
+
}
|
|
3275
|
+
],
|
|
3276
|
+
"requestBody": {
|
|
3277
|
+
"required": true,
|
|
3278
|
+
"content": {
|
|
3279
|
+
"application/json": {
|
|
3280
|
+
"schema": {
|
|
3281
|
+
"type": "object",
|
|
3282
|
+
"properties": {
|
|
3283
|
+
"rank": {
|
|
3284
|
+
"description": "Open card ids, most urgent first. Cards left out keep their place behind these. A JSON array.",
|
|
3285
|
+
"maxItems": 200,
|
|
3286
|
+
"type": "array",
|
|
3287
|
+
"items": {
|
|
3288
|
+
"type": "string",
|
|
3289
|
+
"format": "uuid",
|
|
3290
|
+
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
|
|
3291
|
+
}
|
|
3292
|
+
},
|
|
3293
|
+
"whys": {
|
|
3294
|
+
"description": "One line of why per card, kept to 300 characters. A JSON array.",
|
|
3295
|
+
"maxItems": 200,
|
|
3296
|
+
"type": "array",
|
|
3297
|
+
"items": {
|
|
3298
|
+
"type": "object",
|
|
3299
|
+
"properties": {
|
|
3300
|
+
"cardId": {
|
|
3301
|
+
"type": "string",
|
|
3302
|
+
"format": "uuid",
|
|
3303
|
+
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
|
|
3304
|
+
},
|
|
3305
|
+
"why": {
|
|
3306
|
+
"type": "string",
|
|
3307
|
+
"minLength": 1,
|
|
3308
|
+
"maxLength": 1000
|
|
3309
|
+
}
|
|
3310
|
+
},
|
|
3311
|
+
"required": ["cardId", "why"]
|
|
3312
|
+
}
|
|
3313
|
+
},
|
|
3314
|
+
"picks": {
|
|
3315
|
+
"description": "Who reviews and who merges the pull request of a To approve or Merge card. A JSON array.",
|
|
3316
|
+
"maxItems": 50,
|
|
3317
|
+
"type": "array",
|
|
3318
|
+
"items": {
|
|
3319
|
+
"type": "object",
|
|
3320
|
+
"properties": {
|
|
3321
|
+
"cardId": {
|
|
3322
|
+
"type": "string",
|
|
3323
|
+
"format": "uuid",
|
|
3324
|
+
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
|
|
3325
|
+
},
|
|
3326
|
+
"reviewers": {
|
|
3327
|
+
"maxItems": 10,
|
|
3328
|
+
"type": "array",
|
|
3329
|
+
"items": {
|
|
3330
|
+
"type": "object",
|
|
3331
|
+
"properties": {
|
|
3332
|
+
"id": {
|
|
3333
|
+
"type": "string",
|
|
3334
|
+
"minLength": 1,
|
|
3335
|
+
"description": "A member id from the candidates list."
|
|
3336
|
+
},
|
|
3337
|
+
"why": {
|
|
3338
|
+
"type": "string",
|
|
3339
|
+
"minLength": 1,
|
|
3340
|
+
"maxLength": 300
|
|
3341
|
+
}
|
|
3342
|
+
},
|
|
3343
|
+
"required": ["id", "why"]
|
|
3344
|
+
}
|
|
3345
|
+
},
|
|
3346
|
+
"merger": {
|
|
3347
|
+
"type": "object",
|
|
3348
|
+
"properties": {
|
|
3349
|
+
"id": {
|
|
3350
|
+
"type": "string",
|
|
3351
|
+
"minLength": 1,
|
|
3352
|
+
"description": "A member id from the candidates list."
|
|
3353
|
+
},
|
|
3354
|
+
"why": {
|
|
3355
|
+
"type": "string",
|
|
3356
|
+
"minLength": 1,
|
|
3357
|
+
"maxLength": 300
|
|
3358
|
+
}
|
|
3359
|
+
},
|
|
3360
|
+
"required": ["id", "why"]
|
|
3361
|
+
}
|
|
3362
|
+
},
|
|
3363
|
+
"required": ["cardId"]
|
|
3364
|
+
}
|
|
3365
|
+
},
|
|
3366
|
+
"notify": {
|
|
3367
|
+
"description": "One notification for one card. Refused while the Lead is on screen. A JSON object.",
|
|
3368
|
+
"type": "object",
|
|
3369
|
+
"properties": {
|
|
3370
|
+
"cardId": {
|
|
3371
|
+
"type": "string",
|
|
3372
|
+
"format": "uuid",
|
|
3373
|
+
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
|
|
3374
|
+
},
|
|
3375
|
+
"title": {
|
|
3376
|
+
"type": "string",
|
|
3377
|
+
"minLength": 1,
|
|
3378
|
+
"maxLength": 120
|
|
3379
|
+
},
|
|
3380
|
+
"body": {
|
|
3381
|
+
"type": "string",
|
|
3382
|
+
"maxLength": 500
|
|
3383
|
+
}
|
|
3384
|
+
},
|
|
3385
|
+
"required": ["cardId", "title", "body"]
|
|
3386
|
+
},
|
|
3387
|
+
"welcome": {
|
|
3388
|
+
"description": "The one sentence under \"Welcome back, N waiting\".",
|
|
3389
|
+
"type": "string",
|
|
3390
|
+
"minLength": 1,
|
|
3391
|
+
"maxLength": 300
|
|
3392
|
+
}
|
|
3393
|
+
}
|
|
3394
|
+
}
|
|
3395
|
+
}
|
|
3396
|
+
}
|
|
3397
|
+
},
|
|
3398
|
+
"responses": {
|
|
3399
|
+
"2XX": {
|
|
3400
|
+
"description": "Success envelope",
|
|
3401
|
+
"content": {
|
|
3402
|
+
"application/json": {
|
|
3403
|
+
"schema": {
|
|
3404
|
+
"$ref": "#/components/schemas/ApiSuccess"
|
|
3405
|
+
}
|
|
3406
|
+
}
|
|
3407
|
+
}
|
|
3408
|
+
},
|
|
3409
|
+
"4XX": {
|
|
3410
|
+
"description": "Error envelope",
|
|
3411
|
+
"content": {
|
|
3412
|
+
"application/json": {
|
|
3413
|
+
"schema": {
|
|
3414
|
+
"$ref": "#/components/schemas/ApiError"
|
|
3415
|
+
}
|
|
3416
|
+
}
|
|
3417
|
+
}
|
|
3418
|
+
},
|
|
3419
|
+
"5XX": {
|
|
3420
|
+
"description": "Error envelope",
|
|
3421
|
+
"content": {
|
|
3422
|
+
"application/json": {
|
|
3423
|
+
"schema": {
|
|
3424
|
+
"$ref": "#/components/schemas/ApiError"
|
|
3425
|
+
}
|
|
3426
|
+
}
|
|
3427
|
+
}
|
|
3428
|
+
}
|
|
3429
|
+
}
|
|
3430
|
+
}
|
|
3431
|
+
},
|
|
3432
|
+
"/api/organizations/{workspaceId}/members": {
|
|
3433
|
+
"get": {
|
|
3434
|
+
"operationId": "workspacesMembers",
|
|
3435
|
+
"summary": "List the members of a workspace, and its pending invitations unless excluded.",
|
|
3436
|
+
"tags": ["workspaces"],
|
|
3437
|
+
"x-kosuke-command": ["workspaces", "members"],
|
|
3438
|
+
"x-kosuke-sandbox-token": true,
|
|
3439
|
+
"x-kosuke-orchestrator-token": true,
|
|
3440
|
+
"x-kosuke-cron-token": true,
|
|
3441
|
+
"x-kosuke-lead-token": true,
|
|
3442
|
+
"parameters": [
|
|
3443
|
+
{
|
|
3444
|
+
"name": "workspaceId",
|
|
3445
|
+
"in": "path",
|
|
3446
|
+
"required": true,
|
|
3447
|
+
"schema": {
|
|
3448
|
+
"type": "string",
|
|
3449
|
+
"minLength": 1
|
|
3450
|
+
}
|
|
3451
|
+
},
|
|
3452
|
+
{
|
|
3453
|
+
"name": "includeInvitations",
|
|
3454
|
+
"in": "query",
|
|
3455
|
+
"required": false,
|
|
3456
|
+
"description": "Include pending invitations. Defaults to true; only the literal 'false' turns it off.",
|
|
3457
|
+
"schema": {
|
|
3458
|
+
"description": "Include pending invitations. Defaults to true; only the literal 'false' turns it off.",
|
|
3459
|
+
"type": "boolean"
|
|
3460
|
+
}
|
|
3461
|
+
}
|
|
3462
|
+
],
|
|
3463
|
+
"responses": {
|
|
3464
|
+
"2XX": {
|
|
3465
|
+
"description": "Success envelope",
|
|
3466
|
+
"content": {
|
|
3467
|
+
"application/json": {
|
|
3468
|
+
"schema": {
|
|
3469
|
+
"$ref": "#/components/schemas/ApiSuccess"
|
|
3470
|
+
}
|
|
3471
|
+
}
|
|
3472
|
+
}
|
|
3473
|
+
},
|
|
3474
|
+
"4XX": {
|
|
3475
|
+
"description": "Error envelope",
|
|
3476
|
+
"content": {
|
|
3477
|
+
"application/json": {
|
|
3478
|
+
"schema": {
|
|
3479
|
+
"$ref": "#/components/schemas/ApiError"
|
|
3480
|
+
}
|
|
3481
|
+
}
|
|
3482
|
+
}
|
|
3483
|
+
},
|
|
3484
|
+
"5XX": {
|
|
3485
|
+
"description": "Error envelope",
|
|
3486
|
+
"content": {
|
|
3487
|
+
"application/json": {
|
|
3488
|
+
"schema": {
|
|
3489
|
+
"$ref": "#/components/schemas/ApiError"
|
|
3490
|
+
}
|
|
3491
|
+
}
|
|
3492
|
+
}
|
|
3493
|
+
}
|
|
3494
|
+
}
|
|
3495
|
+
}
|
|
3496
|
+
},
|
|
3497
|
+
"/api/organizations/{workspaceId}/plugins": {
|
|
3498
|
+
"get": {
|
|
3499
|
+
"operationId": "workspacesPluginsList",
|
|
3500
|
+
"summary": "List the plugins the Official Marketplaces offer, Anthropic's for Claude and OpenAI's for Codex, or one Provider's with provider=anthropic or provider=openai, with whether the workspace has each on and the last failed install in its chat sessions. Plugins that carry MCP servers or ChatGPT apps are not offered. Workspace plugins are installed in every chat session of the workspace.",
|
|
3501
|
+
"tags": ["workspaces"],
|
|
3502
|
+
"x-kosuke-command": ["workspaces", "plugins", "list"],
|
|
3503
|
+
"x-kosuke-sandbox-token": true,
|
|
3504
|
+
"x-kosuke-orchestrator-token": true,
|
|
3505
|
+
"x-kosuke-cron-token": true,
|
|
3506
|
+
"x-kosuke-lead-token": true,
|
|
3507
|
+
"parameters": [
|
|
3508
|
+
{
|
|
3509
|
+
"name": "workspaceId",
|
|
3510
|
+
"in": "path",
|
|
3511
|
+
"required": true,
|
|
3512
|
+
"schema": {
|
|
3513
|
+
"type": "string",
|
|
3514
|
+
"minLength": 1
|
|
3515
|
+
}
|
|
3516
|
+
},
|
|
3517
|
+
{
|
|
3518
|
+
"name": "provider",
|
|
3519
|
+
"in": "query",
|
|
3520
|
+
"required": false,
|
|
3521
|
+
"schema": {
|
|
3522
|
+
"type": "string",
|
|
3523
|
+
"enum": ["anthropic", "openai"]
|
|
3524
|
+
}
|
|
3525
|
+
}
|
|
3526
|
+
],
|
|
3527
|
+
"responses": {
|
|
3528
|
+
"2XX": {
|
|
3529
|
+
"description": "Success envelope",
|
|
3530
|
+
"content": {
|
|
3531
|
+
"application/json": {
|
|
3532
|
+
"schema": {
|
|
3533
|
+
"$ref": "#/components/schemas/ApiSuccess"
|
|
3534
|
+
}
|
|
3535
|
+
}
|
|
3536
|
+
}
|
|
3537
|
+
},
|
|
3538
|
+
"4XX": {
|
|
3539
|
+
"description": "Error envelope",
|
|
3540
|
+
"content": {
|
|
3541
|
+
"application/json": {
|
|
3542
|
+
"schema": {
|
|
3543
|
+
"$ref": "#/components/schemas/ApiError"
|
|
3544
|
+
}
|
|
3545
|
+
}
|
|
3546
|
+
}
|
|
3547
|
+
},
|
|
3548
|
+
"5XX": {
|
|
3549
|
+
"description": "Error envelope",
|
|
3550
|
+
"content": {
|
|
3551
|
+
"application/json": {
|
|
3552
|
+
"schema": {
|
|
3553
|
+
"$ref": "#/components/schemas/ApiError"
|
|
3554
|
+
}
|
|
3555
|
+
}
|
|
3556
|
+
}
|
|
3557
|
+
}
|
|
3558
|
+
}
|
|
3559
|
+
}
|
|
3560
|
+
},
|
|
3561
|
+
"/api/organizations/{workspaceId}/plugins/{pluginId}": {
|
|
3562
|
+
"patch": {
|
|
3563
|
+
"operationId": "workspacesPluginsUpdate",
|
|
3564
|
+
"summary": "Turn a workspace plugin on or off by its plugin@marketplace id, as the list returns it. Running chat sessions install or remove it at their next turn. Admins only. Answers 204.",
|
|
3565
|
+
"tags": ["workspaces"],
|
|
3566
|
+
"x-kosuke-command": ["workspaces", "plugins", "update"],
|
|
3567
|
+
"x-kosuke-sandbox-token": true,
|
|
3568
|
+
"x-kosuke-orchestrator-token": true,
|
|
3569
|
+
"x-kosuke-cron-token": true,
|
|
3570
|
+
"x-kosuke-lead-token": true,
|
|
2889
3571
|
"parameters": [
|
|
2890
3572
|
{
|
|
2891
3573
|
"name": "workspaceId",
|
|
@@ -3205,6 +3887,9 @@
|
|
|
3205
3887
|
"summary": "Read how many sandboxes may run at once and which sessions are running now.",
|
|
3206
3888
|
"tags": ["workspaces"],
|
|
3207
3889
|
"x-kosuke-command": ["workspaces", "sandbox-limit"],
|
|
3890
|
+
"x-kosuke-sandbox-token": true,
|
|
3891
|
+
"x-kosuke-orchestrator-token": true,
|
|
3892
|
+
"x-kosuke-cron-token": true,
|
|
3208
3893
|
"x-kosuke-lead-token": true,
|
|
3209
3894
|
"parameters": [
|
|
3210
3895
|
{
|
|
@@ -3254,11 +3939,13 @@
|
|
|
3254
3939
|
"/api/organizations/{workspaceId}/skills": {
|
|
3255
3940
|
"get": {
|
|
3256
3941
|
"operationId": "workspacesSkillsList",
|
|
3257
|
-
"summary": "List the workspace skills
|
|
3942
|
+
"summary": "List the workspace's custom skills: what each SKILL.md declares, how many files the skill holds, and whether it is enabled. Kosuke's own skills are not listed: every chat session carries them, always on, as kosuke:<name>.",
|
|
3258
3943
|
"tags": ["workspaces"],
|
|
3259
3944
|
"x-kosuke-command": ["workspaces", "skills", "list"],
|
|
3260
3945
|
"x-kosuke-sandbox-token": true,
|
|
3946
|
+
"x-kosuke-orchestrator-token": true,
|
|
3261
3947
|
"x-kosuke-cron-token": true,
|
|
3948
|
+
"x-kosuke-lead-token": true,
|
|
3262
3949
|
"parameters": [
|
|
3263
3950
|
{
|
|
3264
3951
|
"name": "workspaceId",
|
|
@@ -3305,9 +3992,13 @@
|
|
|
3305
3992
|
},
|
|
3306
3993
|
"post": {
|
|
3307
3994
|
"operationId": "workspacesSkillsCreate",
|
|
3308
|
-
"summary": "Add a custom skill from its files. A SKILL.md is required; its frontmatter carries the kebab-case name, the description and an optional argument-hint. Text files only, 100 KiB each, 50 files and 1 MiB in all.
|
|
3995
|
+
"summary": "Add a custom skill from its files. A SKILL.md is required; its frontmatter carries the kebab-case name, the description and an optional argument-hint. Text files only, 100 KiB each, 50 files and 1 MiB in all. Admins only. Answers 201 with the id of the new skill.",
|
|
3309
3996
|
"tags": ["workspaces"],
|
|
3310
3997
|
"x-kosuke-command": ["workspaces", "skills", "create"],
|
|
3998
|
+
"x-kosuke-sandbox-token": true,
|
|
3999
|
+
"x-kosuke-orchestrator-token": true,
|
|
4000
|
+
"x-kosuke-cron-token": true,
|
|
4001
|
+
"x-kosuke-lead-token": true,
|
|
3311
4002
|
"parameters": [
|
|
3312
4003
|
{
|
|
3313
4004
|
"name": "workspaceId",
|
|
@@ -3344,11 +4035,6 @@
|
|
|
3344
4035
|
},
|
|
3345
4036
|
"enabled": {
|
|
3346
4037
|
"type": "boolean"
|
|
3347
|
-
},
|
|
3348
|
-
"factoryId": {
|
|
3349
|
-
"type": "string",
|
|
3350
|
-
"minLength": 1,
|
|
3351
|
-
"maxLength": 128
|
|
3352
4038
|
}
|
|
3353
4039
|
},
|
|
3354
4040
|
"required": ["files"],
|
|
@@ -3394,11 +4080,13 @@
|
|
|
3394
4080
|
"/api/organizations/{workspaceId}/skills/{skillId}": {
|
|
3395
4081
|
"get": {
|
|
3396
4082
|
"operationId": "workspacesSkillsGet",
|
|
3397
|
-
"summary": "Get one
|
|
4083
|
+
"summary": "Get one custom skill with every file it holds, SKILL.md included.",
|
|
3398
4084
|
"tags": ["workspaces"],
|
|
3399
4085
|
"x-kosuke-command": ["workspaces", "skills", "get"],
|
|
3400
4086
|
"x-kosuke-sandbox-token": true,
|
|
4087
|
+
"x-kosuke-orchestrator-token": true,
|
|
3401
4088
|
"x-kosuke-cron-token": true,
|
|
4089
|
+
"x-kosuke-lead-token": true,
|
|
3402
4090
|
"parameters": [
|
|
3403
4091
|
{
|
|
3404
4092
|
"name": "workspaceId",
|
|
@@ -3454,9 +4142,13 @@
|
|
|
3454
4142
|
},
|
|
3455
4143
|
"patch": {
|
|
3456
4144
|
"operationId": "workspacesSkillsUpdate",
|
|
3457
|
-
"summary": "Enable or disable a skill, or replace every file
|
|
4145
|
+
"summary": "Enable or disable a custom skill, or replace every file it holds; at least one of enabled and files. Admins only. Answers 204.",
|
|
3458
4146
|
"tags": ["workspaces"],
|
|
3459
4147
|
"x-kosuke-command": ["workspaces", "skills", "update"],
|
|
4148
|
+
"x-kosuke-sandbox-token": true,
|
|
4149
|
+
"x-kosuke-orchestrator-token": true,
|
|
4150
|
+
"x-kosuke-cron-token": true,
|
|
4151
|
+
"x-kosuke-lead-token": true,
|
|
3460
4152
|
"parameters": [
|
|
3461
4153
|
{
|
|
3462
4154
|
"name": "workspaceId",
|
|
@@ -3544,7 +4236,7 @@
|
|
|
3544
4236
|
},
|
|
3545
4237
|
"delete": {
|
|
3546
4238
|
"operationId": "workspacesSkillsDelete",
|
|
3547
|
-
"summary": "Delete a custom skill
|
|
4239
|
+
"summary": "Delete a custom skill and its files. Admins only.",
|
|
3548
4240
|
"tags": ["workspaces"],
|
|
3549
4241
|
"x-kosuke-command": ["workspaces", "skills", "delete"],
|
|
3550
4242
|
"parameters": [
|
|
@@ -3607,6 +4299,10 @@
|
|
|
3607
4299
|
"summary": "Pause the sandboxes of the given chat sessions.",
|
|
3608
4300
|
"tags": ["workspaces"],
|
|
3609
4301
|
"x-kosuke-command": ["workspaces", "stop-sandboxes"],
|
|
4302
|
+
"x-kosuke-sandbox-token": true,
|
|
4303
|
+
"x-kosuke-orchestrator-token": true,
|
|
4304
|
+
"x-kosuke-cron-token": true,
|
|
4305
|
+
"x-kosuke-lead-token": true,
|
|
3610
4306
|
"parameters": [
|
|
3611
4307
|
{
|
|
3612
4308
|
"name": "workspaceId",
|
|
@@ -3681,6 +4377,9 @@
|
|
|
3681
4377
|
"summary": "Read sandbox usage by day and by project. start must precede end and the range is capped at 366 days.",
|
|
3682
4378
|
"tags": ["workspaces"],
|
|
3683
4379
|
"x-kosuke-command": ["workspaces", "usage"],
|
|
4380
|
+
"x-kosuke-sandbox-token": true,
|
|
4381
|
+
"x-kosuke-orchestrator-token": true,
|
|
4382
|
+
"x-kosuke-cron-token": true,
|
|
3684
4383
|
"x-kosuke-lead-token": true,
|
|
3685
4384
|
"parameters": [
|
|
3686
4385
|
{
|
|
@@ -3753,7 +4452,9 @@
|
|
|
3753
4452
|
"summary": "List the projects you can reach. With an API key this spans every workspace you belong to; a browser session sees only its active workspace.",
|
|
3754
4453
|
"tags": ["projects"],
|
|
3755
4454
|
"x-kosuke-command": ["projects", "list"],
|
|
4455
|
+
"x-kosuke-sandbox-token": true,
|
|
3756
4456
|
"x-kosuke-orchestrator-token": true,
|
|
4457
|
+
"x-kosuke-cron-token": true,
|
|
3757
4458
|
"x-kosuke-lead-token": true,
|
|
3758
4459
|
"responses": {
|
|
3759
4460
|
"2XX": {
|
|
@@ -3793,6 +4494,10 @@
|
|
|
3793
4494
|
"summary": "Connect a GitHub repository as a project in a workspace.",
|
|
3794
4495
|
"tags": ["projects"],
|
|
3795
4496
|
"x-kosuke-command": ["projects", "create"],
|
|
4497
|
+
"x-kosuke-sandbox-token": true,
|
|
4498
|
+
"x-kosuke-orchestrator-token": true,
|
|
4499
|
+
"x-kosuke-cron-token": true,
|
|
4500
|
+
"x-kosuke-lead-token": true,
|
|
3796
4501
|
"requestBody": {
|
|
3797
4502
|
"required": true,
|
|
3798
4503
|
"content": {
|
|
@@ -3859,7 +4564,9 @@
|
|
|
3859
4564
|
"summary": "Read one project.",
|
|
3860
4565
|
"tags": ["projects"],
|
|
3861
4566
|
"x-kosuke-command": ["projects", "get"],
|
|
4567
|
+
"x-kosuke-sandbox-token": true,
|
|
3862
4568
|
"x-kosuke-orchestrator-token": true,
|
|
4569
|
+
"x-kosuke-cron-token": true,
|
|
3863
4570
|
"x-kosuke-lead-token": true,
|
|
3864
4571
|
"parameters": [
|
|
3865
4572
|
{
|
|
@@ -3911,6 +4618,10 @@
|
|
|
3911
4618
|
"summary": "Rename a project.",
|
|
3912
4619
|
"tags": ["projects"],
|
|
3913
4620
|
"x-kosuke-command": ["projects", "update"],
|
|
4621
|
+
"x-kosuke-sandbox-token": true,
|
|
4622
|
+
"x-kosuke-orchestrator-token": true,
|
|
4623
|
+
"x-kosuke-cron-token": true,
|
|
4624
|
+
"x-kosuke-lead-token": true,
|
|
3914
4625
|
"parameters": [
|
|
3915
4626
|
{
|
|
3916
4627
|
"name": "projectId",
|
|
@@ -4031,6 +4742,10 @@
|
|
|
4031
4742
|
"summary": "List the repository's branches, 30 per page in alphabetical order; pass nextCursor back as cursor for the next page, and search to filter by name.",
|
|
4032
4743
|
"tags": ["projects"],
|
|
4033
4744
|
"x-kosuke-command": ["projects", "branches"],
|
|
4745
|
+
"x-kosuke-sandbox-token": true,
|
|
4746
|
+
"x-kosuke-orchestrator-token": true,
|
|
4747
|
+
"x-kosuke-cron-token": true,
|
|
4748
|
+
"x-kosuke-lead-token": true,
|
|
4034
4749
|
"parameters": [
|
|
4035
4750
|
{
|
|
4036
4751
|
"name": "projectId",
|
|
@@ -4401,10 +5116,11 @@
|
|
|
4401
5116
|
"/api/projects/{projectId}/chat-sessions/{sessionId}": {
|
|
4402
5117
|
"get": {
|
|
4403
5118
|
"operationId": "sessionsGet",
|
|
4404
|
-
"summary": "Read one chat session with its latest job and pull request.",
|
|
5119
|
+
"summary": "Read one chat session with its latest job and pull request. A Backlog session also carries its promptRevision, which a merge proposal names for each ticket it was written from.",
|
|
4405
5120
|
"tags": ["sessions"],
|
|
4406
5121
|
"x-kosuke-command": ["sessions", "get"],
|
|
4407
5122
|
"x-kosuke-sandbox-token": true,
|
|
5123
|
+
"x-kosuke-orchestrator-token": true,
|
|
4408
5124
|
"x-kosuke-cron-token": true,
|
|
4409
5125
|
"x-kosuke-lead-token": true,
|
|
4410
5126
|
"parameters": [
|
|
@@ -4468,6 +5184,7 @@
|
|
|
4468
5184
|
"tags": ["sessions"],
|
|
4469
5185
|
"x-kosuke-command": ["sessions", "update"],
|
|
4470
5186
|
"x-kosuke-sandbox-token": true,
|
|
5187
|
+
"x-kosuke-orchestrator-token": true,
|
|
4471
5188
|
"x-kosuke-cron-token": true,
|
|
4472
5189
|
"x-kosuke-lead-token": true,
|
|
4473
5190
|
"parameters": [
|
|
@@ -4641,9 +5358,12 @@
|
|
|
4641
5358
|
"/api/projects/{projectId}/chat-sessions/{sessionId}/activate": {
|
|
4642
5359
|
"post": {
|
|
4643
5360
|
"operationId": "sessionsActivate",
|
|
4644
|
-
"summary": "Start a backlog session: claim a sandbox and run its saved prompt as the first turn.",
|
|
5361
|
+
"summary": "Start a backlog session: claim a sandbox and run its saved prompt as the first turn. With --skill ship the first turn is /kosuke:ship on that prompt.",
|
|
4645
5362
|
"tags": ["sessions"],
|
|
4646
5363
|
"x-kosuke-command": ["sessions", "activate"],
|
|
5364
|
+
"x-kosuke-sandbox-token": true,
|
|
5365
|
+
"x-kosuke-orchestrator-token": true,
|
|
5366
|
+
"x-kosuke-cron-token": true,
|
|
4647
5367
|
"x-kosuke-lead-token": true,
|
|
4648
5368
|
"parameters": [
|
|
4649
5369
|
{
|
|
@@ -4667,6 +5387,23 @@
|
|
|
4667
5387
|
}
|
|
4668
5388
|
}
|
|
4669
5389
|
],
|
|
5390
|
+
"requestBody": {
|
|
5391
|
+
"required": false,
|
|
5392
|
+
"content": {
|
|
5393
|
+
"application/json": {
|
|
5394
|
+
"schema": {
|
|
5395
|
+
"type": "object",
|
|
5396
|
+
"properties": {
|
|
5397
|
+
"skill": {
|
|
5398
|
+
"description": "Run the saved prompt through this skill: `ship` starts `/kosuke:ship` on the ticket.",
|
|
5399
|
+
"type": "string",
|
|
5400
|
+
"enum": ["ship"]
|
|
5401
|
+
}
|
|
5402
|
+
}
|
|
5403
|
+
}
|
|
5404
|
+
}
|
|
5405
|
+
}
|
|
5406
|
+
},
|
|
4670
5407
|
"responses": {
|
|
4671
5408
|
"2XX": {
|
|
4672
5409
|
"description": "Success envelope",
|
|
@@ -4707,6 +5444,9 @@
|
|
|
4707
5444
|
"summary": "List the session's artifacts, most recently changed first. Rows only: a body or a file url comes from reading one.",
|
|
4708
5445
|
"tags": ["sessions"],
|
|
4709
5446
|
"x-kosuke-command": ["sessions", "artifacts", "list"],
|
|
5447
|
+
"x-kosuke-sandbox-token": true,
|
|
5448
|
+
"x-kosuke-orchestrator-token": true,
|
|
5449
|
+
"x-kosuke-cron-token": true,
|
|
4710
5450
|
"x-kosuke-lead-token": true,
|
|
4711
5451
|
"parameters": [
|
|
4712
5452
|
{
|
|
@@ -4768,6 +5508,9 @@
|
|
|
4768
5508
|
"summary": "Copy one of your Lead's Prototypes onto a Backlog session as its own artifacts: the variant named, or every variant.",
|
|
4769
5509
|
"tags": ["sessions"],
|
|
4770
5510
|
"x-kosuke-command": ["sessions", "artifacts", "attach"],
|
|
5511
|
+
"x-kosuke-sandbox-token": true,
|
|
5512
|
+
"x-kosuke-orchestrator-token": true,
|
|
5513
|
+
"x-kosuke-cron-token": true,
|
|
4771
5514
|
"x-kosuke-lead-token": true,
|
|
4772
5515
|
"parameters": [
|
|
4773
5516
|
{
|
|
@@ -4860,6 +5603,9 @@
|
|
|
4860
5603
|
"summary": "Read one artifact of the session: a markdown or html one carries its body, an image or a video a presigned url, its media type and its size.",
|
|
4861
5604
|
"tags": ["sessions"],
|
|
4862
5605
|
"x-kosuke-command": ["sessions", "artifacts", "get"],
|
|
5606
|
+
"x-kosuke-sandbox-token": true,
|
|
5607
|
+
"x-kosuke-orchestrator-token": true,
|
|
5608
|
+
"x-kosuke-cron-token": true,
|
|
4863
5609
|
"x-kosuke-lead-token": true,
|
|
4864
5610
|
"parameters": [
|
|
4865
5611
|
{
|
|
@@ -4933,6 +5679,10 @@
|
|
|
4933
5679
|
"summary": "List the session's own comments, oldest first. Review comments on the diff are under sessions diff comments.",
|
|
4934
5680
|
"tags": ["sessions"],
|
|
4935
5681
|
"x-kosuke-command": ["sessions", "comments", "list"],
|
|
5682
|
+
"x-kosuke-sandbox-token": true,
|
|
5683
|
+
"x-kosuke-orchestrator-token": true,
|
|
5684
|
+
"x-kosuke-cron-token": true,
|
|
5685
|
+
"x-kosuke-lead-token": true,
|
|
4936
5686
|
"parameters": [
|
|
4937
5687
|
{
|
|
4938
5688
|
"name": "projectId",
|
|
@@ -4993,6 +5743,10 @@
|
|
|
4993
5743
|
"summary": "Comment on the session, or reply to one of its comments with replyToId.",
|
|
4994
5744
|
"tags": ["sessions"],
|
|
4995
5745
|
"x-kosuke-command": ["sessions", "comments", "add"],
|
|
5746
|
+
"x-kosuke-sandbox-token": true,
|
|
5747
|
+
"x-kosuke-orchestrator-token": true,
|
|
5748
|
+
"x-kosuke-cron-token": true,
|
|
5749
|
+
"x-kosuke-lead-token": true,
|
|
4996
5750
|
"parameters": [
|
|
4997
5751
|
{
|
|
4998
5752
|
"name": "projectId",
|
|
@@ -5078,6 +5832,10 @@
|
|
|
5078
5832
|
"summary": "Edit the text of your own session comment.",
|
|
5079
5833
|
"tags": ["sessions"],
|
|
5080
5834
|
"x-kosuke-command": ["sessions", "comments", "update"],
|
|
5835
|
+
"x-kosuke-sandbox-token": true,
|
|
5836
|
+
"x-kosuke-orchestrator-token": true,
|
|
5837
|
+
"x-kosuke-cron-token": true,
|
|
5838
|
+
"x-kosuke-lead-token": true,
|
|
5081
5839
|
"parameters": [
|
|
5082
5840
|
{
|
|
5083
5841
|
"name": "projectId",
|
|
@@ -5239,7 +5997,9 @@
|
|
|
5239
5997
|
"tags": ["sessions"],
|
|
5240
5998
|
"x-kosuke-command": ["sessions", "jobs", "list"],
|
|
5241
5999
|
"x-kosuke-sandbox-token": true,
|
|
6000
|
+
"x-kosuke-orchestrator-token": true,
|
|
5242
6001
|
"x-kosuke-cron-token": true,
|
|
6002
|
+
"x-kosuke-lead-token": true,
|
|
5243
6003
|
"parameters": [
|
|
5244
6004
|
{
|
|
5245
6005
|
"name": "projectId",
|
|
@@ -5325,7 +6085,9 @@
|
|
|
5325
6085
|
"tags": ["sessions"],
|
|
5326
6086
|
"x-kosuke-command": ["sessions", "send"],
|
|
5327
6087
|
"x-kosuke-attachments": true,
|
|
6088
|
+
"x-kosuke-sandbox-token": true,
|
|
5328
6089
|
"x-kosuke-orchestrator-token": true,
|
|
6090
|
+
"x-kosuke-cron-token": true,
|
|
5329
6091
|
"x-kosuke-lead-token": true,
|
|
5330
6092
|
"parameters": [
|
|
5331
6093
|
{
|
|
@@ -5529,6 +6291,7 @@
|
|
|
5529
6291
|
"tags": ["sessions"],
|
|
5530
6292
|
"x-kosuke-command": ["sessions", "jobs", "get"],
|
|
5531
6293
|
"x-kosuke-sandbox-token": true,
|
|
6294
|
+
"x-kosuke-orchestrator-token": true,
|
|
5532
6295
|
"x-kosuke-cron-token": true,
|
|
5533
6296
|
"x-kosuke-lead-token": true,
|
|
5534
6297
|
"parameters": [
|
|
@@ -5603,6 +6366,10 @@
|
|
|
5603
6366
|
"summary": "Stop a running turn. Steers it had not taken go back to the top of Up next, which pauses.",
|
|
5604
6367
|
"tags": ["sessions"],
|
|
5605
6368
|
"x-kosuke-command": ["sessions", "jobs", "cancel"],
|
|
6369
|
+
"x-kosuke-sandbox-token": true,
|
|
6370
|
+
"x-kosuke-orchestrator-token": true,
|
|
6371
|
+
"x-kosuke-cron-token": true,
|
|
6372
|
+
"x-kosuke-lead-token": true,
|
|
5606
6373
|
"parameters": [
|
|
5607
6374
|
{
|
|
5608
6375
|
"name": "projectId",
|
|
@@ -5675,6 +6442,9 @@
|
|
|
5675
6442
|
"summary": "Replace the session's Session Labels. New names join the project's labels; a session with a pull request syncs them to it in the background while labelsSyncPending is true.",
|
|
5676
6443
|
"tags": ["sessions"],
|
|
5677
6444
|
"x-kosuke-command": ["sessions", "labels", "set"],
|
|
6445
|
+
"x-kosuke-sandbox-token": true,
|
|
6446
|
+
"x-kosuke-orchestrator-token": true,
|
|
6447
|
+
"x-kosuke-cron-token": true,
|
|
5678
6448
|
"x-kosuke-lead-token": true,
|
|
5679
6449
|
"parameters": [
|
|
5680
6450
|
{
|
|
@@ -5757,10 +6527,12 @@
|
|
|
5757
6527
|
},
|
|
5758
6528
|
"patch": {
|
|
5759
6529
|
"operationId": "sessionsLabelsEdit",
|
|
5760
|
-
"summary": "Add and remove Session Labels, leaving the session's other labels as they are. color sets the initial project color only for newly created labels in add; existing label colors stay unchanged. A
|
|
6530
|
+
"summary": "Add and remove Session Labels, leaving the session's other labels as they are. color sets the initial project color only for newly created labels in add; existing label colors stay unchanged. A session token nobody stands behind may edit only its own session. A session with a pull request syncs them to it in the background while labelsSyncPending is true; one without gets them when its pull request opens.",
|
|
5761
6531
|
"tags": ["sessions"],
|
|
5762
6532
|
"x-kosuke-command": ["sessions", "labels", "edit"],
|
|
5763
6533
|
"x-kosuke-sandbox-token": true,
|
|
6534
|
+
"x-kosuke-orchestrator-token": true,
|
|
6535
|
+
"x-kosuke-cron-token": true,
|
|
5764
6536
|
"x-kosuke-lead-token": true,
|
|
5765
6537
|
"parameters": [
|
|
5766
6538
|
{
|
|
@@ -5863,6 +6635,7 @@
|
|
|
5863
6635
|
"tags": ["sessions"],
|
|
5864
6636
|
"x-kosuke-command": ["sessions", "messages"],
|
|
5865
6637
|
"x-kosuke-sandbox-token": true,
|
|
6638
|
+
"x-kosuke-orchestrator-token": true,
|
|
5866
6639
|
"x-kosuke-cron-token": true,
|
|
5867
6640
|
"x-kosuke-lead-token": true,
|
|
5868
6641
|
"parameters": [
|
|
@@ -5950,6 +6723,10 @@
|
|
|
5950
6723
|
"summary": "List the review comments left on the diff.",
|
|
5951
6724
|
"tags": ["sessions"],
|
|
5952
6725
|
"x-kosuke-command": ["sessions", "diff", "comments", "list"],
|
|
6726
|
+
"x-kosuke-sandbox-token": true,
|
|
6727
|
+
"x-kosuke-orchestrator-token": true,
|
|
6728
|
+
"x-kosuke-cron-token": true,
|
|
6729
|
+
"x-kosuke-lead-token": true,
|
|
5953
6730
|
"parameters": [
|
|
5954
6731
|
{
|
|
5955
6732
|
"name": "projectId",
|
|
@@ -6010,6 +6787,10 @@
|
|
|
6010
6787
|
"summary": "Leave a review comment on a range of lines in the diff.",
|
|
6011
6788
|
"tags": ["sessions"],
|
|
6012
6789
|
"x-kosuke-command": ["sessions", "diff", "comments", "add"],
|
|
6790
|
+
"x-kosuke-sandbox-token": true,
|
|
6791
|
+
"x-kosuke-orchestrator-token": true,
|
|
6792
|
+
"x-kosuke-cron-token": true,
|
|
6793
|
+
"x-kosuke-lead-token": true,
|
|
6013
6794
|
"parameters": [
|
|
6014
6795
|
{
|
|
6015
6796
|
"name": "projectId",
|
|
@@ -6120,6 +6901,10 @@
|
|
|
6120
6901
|
"summary": "Edit the body of your own comment, or resolve or reopen any comment. One of the two per call.",
|
|
6121
6902
|
"tags": ["sessions"],
|
|
6122
6903
|
"x-kosuke-command": ["sessions", "diff", "comments", "update"],
|
|
6904
|
+
"x-kosuke-sandbox-token": true,
|
|
6905
|
+
"x-kosuke-orchestrator-token": true,
|
|
6906
|
+
"x-kosuke-cron-token": true,
|
|
6907
|
+
"x-kosuke-lead-token": true,
|
|
6123
6908
|
"parameters": [
|
|
6124
6909
|
{
|
|
6125
6910
|
"name": "projectId",
|
|
@@ -6295,6 +7080,10 @@
|
|
|
6295
7080
|
"summary": "List the commits the session's branch adds over its pull request's base branch, or over the target branch before a pull request is open. Needs a running sandbox; otherwise commits is empty and unavailable says why.",
|
|
6296
7081
|
"tags": ["sessions"],
|
|
6297
7082
|
"x-kosuke-command": ["sessions", "diff", "commits"],
|
|
7083
|
+
"x-kosuke-sandbox-token": true,
|
|
7084
|
+
"x-kosuke-orchestrator-token": true,
|
|
7085
|
+
"x-kosuke-cron-token": true,
|
|
7086
|
+
"x-kosuke-lead-token": true,
|
|
6298
7087
|
"parameters": [
|
|
6299
7088
|
{
|
|
6300
7089
|
"name": "projectId",
|
|
@@ -6357,6 +7146,9 @@
|
|
|
6357
7146
|
"summary": "List the files the session's branch changes against its base, with totals.",
|
|
6358
7147
|
"tags": ["sessions"],
|
|
6359
7148
|
"x-kosuke-command": ["sessions", "diff", "files"],
|
|
7149
|
+
"x-kosuke-sandbox-token": true,
|
|
7150
|
+
"x-kosuke-orchestrator-token": true,
|
|
7151
|
+
"x-kosuke-cron-token": true,
|
|
6360
7152
|
"x-kosuke-lead-token": true,
|
|
6361
7153
|
"parameters": [
|
|
6362
7154
|
{
|
|
@@ -6420,6 +7212,9 @@
|
|
|
6420
7212
|
"summary": "Read patches: a page (cursor), one file (path, with hunkOffset/hunkEnd), or one file with both sides (path and contents=1). path and cursor are mutually exclusive.",
|
|
6421
7213
|
"tags": ["sessions"],
|
|
6422
7214
|
"x-kosuke-command": ["sessions", "diff", "patch"],
|
|
7215
|
+
"x-kosuke-sandbox-token": true,
|
|
7216
|
+
"x-kosuke-orchestrator-token": true,
|
|
7217
|
+
"x-kosuke-cron-token": true,
|
|
6423
7218
|
"x-kosuke-lead-token": true,
|
|
6424
7219
|
"parameters": [
|
|
6425
7220
|
{
|
|
@@ -6580,6 +7375,10 @@
|
|
|
6580
7375
|
"summary": "List the files in the session's sandbox. Empty when the sandbox is not running.",
|
|
6581
7376
|
"tags": ["sessions"],
|
|
6582
7377
|
"x-kosuke-command": ["sessions", "files", "list"],
|
|
7378
|
+
"x-kosuke-sandbox-token": true,
|
|
7379
|
+
"x-kosuke-orchestrator-token": true,
|
|
7380
|
+
"x-kosuke-cron-token": true,
|
|
7381
|
+
"x-kosuke-lead-token": true,
|
|
6583
7382
|
"parameters": [
|
|
6584
7383
|
{
|
|
6585
7384
|
"name": "projectId",
|
|
@@ -6642,6 +7441,10 @@
|
|
|
6642
7441
|
"summary": "Read one file from the session's sandbox.",
|
|
6643
7442
|
"tags": ["sessions"],
|
|
6644
7443
|
"x-kosuke-command": ["sessions", "files", "get"],
|
|
7444
|
+
"x-kosuke-sandbox-token": true,
|
|
7445
|
+
"x-kosuke-orchestrator-token": true,
|
|
7446
|
+
"x-kosuke-cron-token": true,
|
|
7447
|
+
"x-kosuke-lead-token": true,
|
|
6645
7448
|
"parameters": [
|
|
6646
7449
|
{
|
|
6647
7450
|
"name": "projectId",
|
|
@@ -6713,6 +7516,10 @@
|
|
|
6713
7516
|
"summary": "Write one file in the session's sandbox. Refused while a turn is running, and for binary content.",
|
|
6714
7517
|
"tags": ["sessions"],
|
|
6715
7518
|
"x-kosuke-command": ["sessions", "files", "write"],
|
|
7519
|
+
"x-kosuke-sandbox-token": true,
|
|
7520
|
+
"x-kosuke-orchestrator-token": true,
|
|
7521
|
+
"x-kosuke-cron-token": true,
|
|
7522
|
+
"x-kosuke-lead-token": true,
|
|
6716
7523
|
"parameters": [
|
|
6717
7524
|
{
|
|
6718
7525
|
"name": "projectId",
|
|
@@ -6802,6 +7609,10 @@
|
|
|
6802
7609
|
"summary": "Read whether the session's sandbox has uncommitted changes, unpushed commits, or commits ahead of its base branch.",
|
|
6803
7610
|
"tags": ["sessions"],
|
|
6804
7611
|
"x-kosuke-command": ["sessions", "git", "state"],
|
|
7612
|
+
"x-kosuke-sandbox-token": true,
|
|
7613
|
+
"x-kosuke-orchestrator-token": true,
|
|
7614
|
+
"x-kosuke-cron-token": true,
|
|
7615
|
+
"x-kosuke-lead-token": true,
|
|
6805
7616
|
"parameters": [
|
|
6806
7617
|
{
|
|
6807
7618
|
"name": "projectId",
|
|
@@ -6864,6 +7675,10 @@
|
|
|
6864
7675
|
"summary": "Commit the uncommitted changes in the sandbox. Refused while a turn is running.",
|
|
6865
7676
|
"tags": ["sessions"],
|
|
6866
7677
|
"x-kosuke-command": ["sessions", "git", "commit"],
|
|
7678
|
+
"x-kosuke-sandbox-token": true,
|
|
7679
|
+
"x-kosuke-orchestrator-token": true,
|
|
7680
|
+
"x-kosuke-cron-token": true,
|
|
7681
|
+
"x-kosuke-lead-token": true,
|
|
6867
7682
|
"parameters": [
|
|
6868
7683
|
{
|
|
6869
7684
|
"name": "projectId",
|
|
@@ -6944,6 +7759,10 @@
|
|
|
6944
7759
|
"summary": "Draft a commit message for the uncommitted changes. Needs a running sandbox.",
|
|
6945
7760
|
"tags": ["sessions"],
|
|
6946
7761
|
"x-kosuke-command": ["sessions", "git", "commit-message"],
|
|
7762
|
+
"x-kosuke-sandbox-token": true,
|
|
7763
|
+
"x-kosuke-orchestrator-token": true,
|
|
7764
|
+
"x-kosuke-cron-token": true,
|
|
7765
|
+
"x-kosuke-lead-token": true,
|
|
6947
7766
|
"parameters": [
|
|
6948
7767
|
{
|
|
6949
7768
|
"name": "projectId",
|
|
@@ -7006,6 +7825,10 @@
|
|
|
7006
7825
|
"summary": "Push the session's branch to GitHub. Refused while a turn is running.",
|
|
7007
7826
|
"tags": ["sessions"],
|
|
7008
7827
|
"x-kosuke-command": ["sessions", "git", "push"],
|
|
7828
|
+
"x-kosuke-sandbox-token": true,
|
|
7829
|
+
"x-kosuke-orchestrator-token": true,
|
|
7830
|
+
"x-kosuke-cron-token": true,
|
|
7831
|
+
"x-kosuke-lead-token": true,
|
|
7009
7832
|
"parameters": [
|
|
7010
7833
|
{
|
|
7011
7834
|
"name": "projectId",
|
|
@@ -7070,6 +7893,7 @@
|
|
|
7070
7893
|
"x-kosuke-command": ["sessions", "edit-prompt"],
|
|
7071
7894
|
"x-kosuke-attachments": true,
|
|
7072
7895
|
"x-kosuke-sandbox-token": true,
|
|
7896
|
+
"x-kosuke-orchestrator-token": true,
|
|
7073
7897
|
"x-kosuke-cron-token": true,
|
|
7074
7898
|
"x-kosuke-lead-token": true,
|
|
7075
7899
|
"parameters": [
|
|
@@ -7162,12 +7986,81 @@
|
|
|
7162
7986
|
}
|
|
7163
7987
|
}
|
|
7164
7988
|
},
|
|
7989
|
+
"/api/projects/{projectId}/chat-sessions/{sessionId}/qa-slot": {
|
|
7990
|
+
"post": {
|
|
7991
|
+
"operationId": "sessionsQaSlot",
|
|
7992
|
+
"summary": "Ask for the project's QA slot before a QA run: one session runs QA at a time per project. Answers granted, or the session's 1-based position among those waiting. Safe to repeat; a waiting session is resumed by the platform when its turn comes.",
|
|
7993
|
+
"tags": ["sessions"],
|
|
7994
|
+
"x-kosuke-command": ["sessions", "qa-slot"],
|
|
7995
|
+
"x-kosuke-sandbox-token": true,
|
|
7996
|
+
"x-kosuke-orchestrator-token": true,
|
|
7997
|
+
"x-kosuke-cron-token": true,
|
|
7998
|
+
"x-kosuke-lead-token": true,
|
|
7999
|
+
"parameters": [
|
|
8000
|
+
{
|
|
8001
|
+
"name": "projectId",
|
|
8002
|
+
"in": "path",
|
|
8003
|
+
"required": true,
|
|
8004
|
+
"schema": {
|
|
8005
|
+
"type": "string",
|
|
8006
|
+
"format": "uuid",
|
|
8007
|
+
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
|
|
8008
|
+
}
|
|
8009
|
+
},
|
|
8010
|
+
{
|
|
8011
|
+
"name": "sessionId",
|
|
8012
|
+
"in": "path",
|
|
8013
|
+
"required": true,
|
|
8014
|
+
"schema": {
|
|
8015
|
+
"type": "string",
|
|
8016
|
+
"format": "uuid",
|
|
8017
|
+
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
|
|
8018
|
+
}
|
|
8019
|
+
}
|
|
8020
|
+
],
|
|
8021
|
+
"responses": {
|
|
8022
|
+
"2XX": {
|
|
8023
|
+
"description": "Success envelope",
|
|
8024
|
+
"content": {
|
|
8025
|
+
"application/json": {
|
|
8026
|
+
"schema": {
|
|
8027
|
+
"$ref": "#/components/schemas/ApiSuccess"
|
|
8028
|
+
}
|
|
8029
|
+
}
|
|
8030
|
+
}
|
|
8031
|
+
},
|
|
8032
|
+
"4XX": {
|
|
8033
|
+
"description": "Error envelope",
|
|
8034
|
+
"content": {
|
|
8035
|
+
"application/json": {
|
|
8036
|
+
"schema": {
|
|
8037
|
+
"$ref": "#/components/schemas/ApiError"
|
|
8038
|
+
}
|
|
8039
|
+
}
|
|
8040
|
+
}
|
|
8041
|
+
},
|
|
8042
|
+
"5XX": {
|
|
8043
|
+
"description": "Error envelope",
|
|
8044
|
+
"content": {
|
|
8045
|
+
"application/json": {
|
|
8046
|
+
"schema": {
|
|
8047
|
+
"$ref": "#/components/schemas/ApiError"
|
|
8048
|
+
}
|
|
8049
|
+
}
|
|
8050
|
+
}
|
|
8051
|
+
}
|
|
8052
|
+
}
|
|
8053
|
+
}
|
|
8054
|
+
},
|
|
7165
8055
|
"/api/projects/{projectId}/chat-sessions/{sessionId}/queue": {
|
|
7166
8056
|
"get": {
|
|
7167
8057
|
"operationId": "sessionsQueueList",
|
|
7168
8058
|
"summary": "List the messages waiting Up next in the session, in the order they will be sent, and whether Up next is paused.",
|
|
7169
8059
|
"tags": ["sessions"],
|
|
7170
8060
|
"x-kosuke-command": ["sessions", "queue", "list"],
|
|
8061
|
+
"x-kosuke-sandbox-token": true,
|
|
8062
|
+
"x-kosuke-orchestrator-token": true,
|
|
8063
|
+
"x-kosuke-cron-token": true,
|
|
7171
8064
|
"x-kosuke-lead-token": true,
|
|
7172
8065
|
"parameters": [
|
|
7173
8066
|
{
|
|
@@ -7232,6 +8125,10 @@
|
|
|
7232
8125
|
"tags": ["sessions"],
|
|
7233
8126
|
"x-kosuke-command": ["sessions", "queue", "update"],
|
|
7234
8127
|
"x-kosuke-attachments": true,
|
|
8128
|
+
"x-kosuke-sandbox-token": true,
|
|
8129
|
+
"x-kosuke-orchestrator-token": true,
|
|
8130
|
+
"x-kosuke-cron-token": true,
|
|
8131
|
+
"x-kosuke-lead-token": true,
|
|
7235
8132
|
"parameters": [
|
|
7236
8133
|
{
|
|
7237
8134
|
"name": "projectId",
|
|
@@ -7415,6 +8312,10 @@
|
|
|
7415
8312
|
"summary": "Move your own queued message to another place in Up next.",
|
|
7416
8313
|
"tags": ["sessions"],
|
|
7417
8314
|
"x-kosuke-command": ["sessions", "queue", "move"],
|
|
8315
|
+
"x-kosuke-sandbox-token": true,
|
|
8316
|
+
"x-kosuke-orchestrator-token": true,
|
|
8317
|
+
"x-kosuke-cron-token": true,
|
|
8318
|
+
"x-kosuke-lead-token": true,
|
|
7418
8319
|
"parameters": [
|
|
7419
8320
|
{
|
|
7420
8321
|
"name": "projectId",
|
|
@@ -7506,6 +8407,10 @@
|
|
|
7506
8407
|
"summary": "Send your own queued message now as a turn of its own, ahead of the rest of Up next. Only while no turn is running; it resumes a paused Up next.",
|
|
7507
8408
|
"tags": ["sessions"],
|
|
7508
8409
|
"x-kosuke-command": ["sessions", "queue", "send"],
|
|
8410
|
+
"x-kosuke-sandbox-token": true,
|
|
8411
|
+
"x-kosuke-orchestrator-token": true,
|
|
8412
|
+
"x-kosuke-cron-token": true,
|
|
8413
|
+
"x-kosuke-lead-token": true,
|
|
7509
8414
|
"parameters": [
|
|
7510
8415
|
{
|
|
7511
8416
|
"name": "projectId",
|
|
@@ -7578,6 +8483,10 @@
|
|
|
7578
8483
|
"summary": "Send your own queued message into your running turn as a steer. Claude and GLM sessions only; the message stays queued when nothing can take it.",
|
|
7579
8484
|
"tags": ["sessions"],
|
|
7580
8485
|
"x-kosuke-command": ["sessions", "queue", "steer"],
|
|
8486
|
+
"x-kosuke-sandbox-token": true,
|
|
8487
|
+
"x-kosuke-orchestrator-token": true,
|
|
8488
|
+
"x-kosuke-cron-token": true,
|
|
8489
|
+
"x-kosuke-lead-token": true,
|
|
7581
8490
|
"parameters": [
|
|
7582
8491
|
{
|
|
7583
8492
|
"name": "projectId",
|
|
@@ -7650,6 +8559,10 @@
|
|
|
7650
8559
|
"summary": "Resume a session's paused Up next. Its top message is sent as soon as nothing is running.",
|
|
7651
8560
|
"tags": ["sessions"],
|
|
7652
8561
|
"x-kosuke-command": ["sessions", "queue", "resume"],
|
|
8562
|
+
"x-kosuke-sandbox-token": true,
|
|
8563
|
+
"x-kosuke-orchestrator-token": true,
|
|
8564
|
+
"x-kosuke-cron-token": true,
|
|
8565
|
+
"x-kosuke-lead-token": true,
|
|
7653
8566
|
"parameters": [
|
|
7654
8567
|
{
|
|
7655
8568
|
"name": "projectId",
|
|
@@ -7712,6 +8625,10 @@
|
|
|
7712
8625
|
"summary": "Mark a chat session read, clearing its unread marker, as opening it in the app does. The assignee clears their marker; any member clears the shared marker of a session booked to Kosuke.",
|
|
7713
8626
|
"tags": ["sessions"],
|
|
7714
8627
|
"x-kosuke-command": ["sessions", "mark-read"],
|
|
8628
|
+
"x-kosuke-sandbox-token": true,
|
|
8629
|
+
"x-kosuke-orchestrator-token": true,
|
|
8630
|
+
"x-kosuke-cron-token": true,
|
|
8631
|
+
"x-kosuke-lead-token": true,
|
|
7715
8632
|
"parameters": [
|
|
7716
8633
|
{
|
|
7717
8634
|
"name": "projectId",
|
|
@@ -7774,6 +8691,10 @@
|
|
|
7774
8691
|
"summary": "Run a runtime command on the agent session: clear starts a fresh conversation, compact summarizes it (Claude and GLM only), with optional focus instructions. Queued Up next while a turn or another command is running. Compact waits for the sandbox and can take a minute.",
|
|
7775
8692
|
"tags": ["sessions"],
|
|
7776
8693
|
"x-kosuke-command": ["sessions", "runtime-command"],
|
|
8694
|
+
"x-kosuke-sandbox-token": true,
|
|
8695
|
+
"x-kosuke-orchestrator-token": true,
|
|
8696
|
+
"x-kosuke-cron-token": true,
|
|
8697
|
+
"x-kosuke-lead-token": true,
|
|
7777
8698
|
"parameters": [
|
|
7778
8699
|
{
|
|
7779
8700
|
"name": "projectId",
|
|
@@ -7856,6 +8777,10 @@
|
|
|
7856
8777
|
"summary": "Send a message and steer it into your running turn. Answers delivery steer, queued (the turn could not take it), job (no turn was running) or refused (the turn was stopped).",
|
|
7857
8778
|
"tags": ["sessions"],
|
|
7858
8779
|
"x-kosuke-command": ["sessions", "steer"],
|
|
8780
|
+
"x-kosuke-sandbox-token": true,
|
|
8781
|
+
"x-kosuke-orchestrator-token": true,
|
|
8782
|
+
"x-kosuke-cron-token": true,
|
|
8783
|
+
"x-kosuke-lead-token": true,
|
|
7859
8784
|
"parameters": [
|
|
7860
8785
|
{
|
|
7861
8786
|
"name": "projectId",
|
|
@@ -7942,6 +8867,10 @@
|
|
|
7942
8867
|
"summary": "Generate a title for a backlog session from the prompt text given as content. The title is returned, not saved.",
|
|
7943
8868
|
"tags": ["sessions"],
|
|
7944
8869
|
"x-kosuke-command": ["sessions", "title-generate"],
|
|
8870
|
+
"x-kosuke-sandbox-token": true,
|
|
8871
|
+
"x-kosuke-orchestrator-token": true,
|
|
8872
|
+
"x-kosuke-cron-token": true,
|
|
8873
|
+
"x-kosuke-lead-token": true,
|
|
7945
8874
|
"parameters": [
|
|
7946
8875
|
{
|
|
7947
8876
|
"name": "projectId",
|
|
@@ -8023,7 +8952,9 @@
|
|
|
8023
8952
|
"tags": ["deploy"],
|
|
8024
8953
|
"x-kosuke-command": ["deploy", "messages"],
|
|
8025
8954
|
"x-kosuke-sandbox-token": true,
|
|
8955
|
+
"x-kosuke-orchestrator-token": true,
|
|
8026
8956
|
"x-kosuke-cron-token": true,
|
|
8957
|
+
"x-kosuke-lead-token": true,
|
|
8027
8958
|
"parameters": [
|
|
8028
8959
|
{
|
|
8029
8960
|
"name": "projectId",
|
|
@@ -8077,7 +9008,9 @@
|
|
|
8077
9008
|
"tags": ["deploy"],
|
|
8078
9009
|
"x-kosuke-command": ["deploy", "list"],
|
|
8079
9010
|
"x-kosuke-sandbox-token": true,
|
|
9011
|
+
"x-kosuke-orchestrator-token": true,
|
|
8080
9012
|
"x-kosuke-cron-token": true,
|
|
9013
|
+
"x-kosuke-lead-token": true,
|
|
8081
9014
|
"parameters": [
|
|
8082
9015
|
{
|
|
8083
9016
|
"name": "projectId",
|
|
@@ -8155,6 +9088,7 @@
|
|
|
8155
9088
|
"tags": ["projects"],
|
|
8156
9089
|
"x-kosuke-command": ["projects", "labels"],
|
|
8157
9090
|
"x-kosuke-sandbox-token": true,
|
|
9091
|
+
"x-kosuke-orchestrator-token": true,
|
|
8158
9092
|
"x-kosuke-cron-token": true,
|
|
8159
9093
|
"x-kosuke-lead-token": true,
|
|
8160
9094
|
"parameters": [
|
|
@@ -8207,6 +9141,10 @@
|
|
|
8207
9141
|
"summary": "Recolor a Session Label. Sessions whose pull request carries it resync, which recolors the repository label on GitHub to match.",
|
|
8208
9142
|
"tags": ["projects"],
|
|
8209
9143
|
"x-kosuke-command": ["projects", "labels", "color"],
|
|
9144
|
+
"x-kosuke-sandbox-token": true,
|
|
9145
|
+
"x-kosuke-orchestrator-token": true,
|
|
9146
|
+
"x-kosuke-cron-token": true,
|
|
9147
|
+
"x-kosuke-lead-token": true,
|
|
8210
9148
|
"parameters": [
|
|
8211
9149
|
{
|
|
8212
9150
|
"name": "projectId",
|
|
@@ -8282,6 +9220,10 @@
|
|
|
8282
9220
|
"summary": "Read the preview URLs of the project's main sandbox, or of one chat session's.",
|
|
8283
9221
|
"tags": ["preview"],
|
|
8284
9222
|
"x-kosuke-command": ["preview", "get"],
|
|
9223
|
+
"x-kosuke-sandbox-token": true,
|
|
9224
|
+
"x-kosuke-orchestrator-token": true,
|
|
9225
|
+
"x-kosuke-cron-token": true,
|
|
9226
|
+
"x-kosuke-lead-token": true,
|
|
8285
9227
|
"parameters": [
|
|
8286
9228
|
{
|
|
8287
9229
|
"name": "projectId",
|
|
@@ -8346,6 +9288,10 @@
|
|
|
8346
9288
|
"summary": "Read the health of every service behind a preview.",
|
|
8347
9289
|
"tags": ["preview"],
|
|
8348
9290
|
"x-kosuke-command": ["preview", "health"],
|
|
9291
|
+
"x-kosuke-sandbox-token": true,
|
|
9292
|
+
"x-kosuke-orchestrator-token": true,
|
|
9293
|
+
"x-kosuke-cron-token": true,
|
|
9294
|
+
"x-kosuke-lead-token": true,
|
|
8349
9295
|
"parameters": [
|
|
8350
9296
|
{
|
|
8351
9297
|
"name": "projectId",
|
|
@@ -8410,6 +9356,10 @@
|
|
|
8410
9356
|
"summary": "Restart the services of a preview's running sandbox in place. Fails when the sandbox is paused.",
|
|
8411
9357
|
"tags": ["preview"],
|
|
8412
9358
|
"x-kosuke-command": ["preview", "reset"],
|
|
9359
|
+
"x-kosuke-sandbox-token": true,
|
|
9360
|
+
"x-kosuke-orchestrator-token": true,
|
|
9361
|
+
"x-kosuke-cron-token": true,
|
|
9362
|
+
"x-kosuke-lead-token": true,
|
|
8413
9363
|
"parameters": [
|
|
8414
9364
|
{
|
|
8415
9365
|
"name": "projectId",
|
|
@@ -8477,6 +9427,10 @@
|
|
|
8477
9427
|
"summary": "Read the public share link of a preview, if one exists.",
|
|
8478
9428
|
"tags": ["preview"],
|
|
8479
9429
|
"x-kosuke-command": ["preview", "share", "get"],
|
|
9430
|
+
"x-kosuke-sandbox-token": true,
|
|
9431
|
+
"x-kosuke-orchestrator-token": true,
|
|
9432
|
+
"x-kosuke-cron-token": true,
|
|
9433
|
+
"x-kosuke-lead-token": true,
|
|
8480
9434
|
"parameters": [
|
|
8481
9435
|
{
|
|
8482
9436
|
"name": "projectId",
|
|
@@ -8539,6 +9493,10 @@
|
|
|
8539
9493
|
"summary": "Create the public share link of a preview. The body sessionId wins over the query one.",
|
|
8540
9494
|
"tags": ["preview"],
|
|
8541
9495
|
"x-kosuke-command": ["preview", "share", "create"],
|
|
9496
|
+
"x-kosuke-sandbox-token": true,
|
|
9497
|
+
"x-kosuke-orchestrator-token": true,
|
|
9498
|
+
"x-kosuke-cron-token": true,
|
|
9499
|
+
"x-kosuke-lead-token": true,
|
|
8542
9500
|
"parameters": [
|
|
8543
9501
|
{
|
|
8544
9502
|
"name": "projectId",
|
|
@@ -8689,6 +9647,10 @@
|
|
|
8689
9647
|
"summary": "Read the project settings: setup commands, services, environment and sandbox size.",
|
|
8690
9648
|
"tags": ["projects"],
|
|
8691
9649
|
"x-kosuke-command": ["projects", "settings", "get"],
|
|
9650
|
+
"x-kosuke-sandbox-token": true,
|
|
9651
|
+
"x-kosuke-orchestrator-token": true,
|
|
9652
|
+
"x-kosuke-cron-token": true,
|
|
9653
|
+
"x-kosuke-lead-token": true,
|
|
8692
9654
|
"parameters": [
|
|
8693
9655
|
{
|
|
8694
9656
|
"name": "projectId",
|
|
@@ -8736,9 +9698,13 @@
|
|
|
8736
9698
|
},
|
|
8737
9699
|
"patch": {
|
|
8738
9700
|
"operationId": "projectsSettingsUpdate",
|
|
8739
|
-
"summary": "Change setup commands, branches, working directory or
|
|
9701
|
+
"summary": "Change setup commands, branches, working directory, sandbox tier or the Project QA Guide.",
|
|
8740
9702
|
"tags": ["projects"],
|
|
8741
9703
|
"x-kosuke-command": ["projects", "settings", "update"],
|
|
9704
|
+
"x-kosuke-sandbox-token": true,
|
|
9705
|
+
"x-kosuke-orchestrator-token": true,
|
|
9706
|
+
"x-kosuke-cron-token": true,
|
|
9707
|
+
"x-kosuke-lead-token": true,
|
|
8742
9708
|
"parameters": [
|
|
8743
9709
|
{
|
|
8744
9710
|
"name": "projectId",
|
|
@@ -8832,6 +9798,18 @@
|
|
|
8832
9798
|
}
|
|
8833
9799
|
]
|
|
8834
9800
|
},
|
|
9801
|
+
"qaGuide": {
|
|
9802
|
+
"description": "The Project QA Guide: markdown on how to test this project in a sandbox. automated-qa writes it through `kosuke projects qa-guide set`.",
|
|
9803
|
+
"anyOf": [
|
|
9804
|
+
{
|
|
9805
|
+
"type": "string",
|
|
9806
|
+
"maxLength": 102400
|
|
9807
|
+
},
|
|
9808
|
+
{
|
|
9809
|
+
"type": "null"
|
|
9810
|
+
}
|
|
9811
|
+
]
|
|
9812
|
+
},
|
|
8835
9813
|
"sandboxTier": {
|
|
8836
9814
|
"description": "Sandbox resource tier provisioned for the preview: SMALL, MEDIUM, LARGE, or XLARGE. Omitted leaves the current tier. A first deploy boots on XLARGE (unknown footprint) — measure actual peak usage and set the right-sized tier here so later sandboxes use it.",
|
|
8837
9815
|
"type": "string",
|
|
@@ -8883,6 +9861,10 @@
|
|
|
8883
9861
|
"tags": ["deploy"],
|
|
8884
9862
|
"x-kosuke-command": ["deploy", "run"],
|
|
8885
9863
|
"x-kosuke-attachments": true,
|
|
9864
|
+
"x-kosuke-sandbox-token": true,
|
|
9865
|
+
"x-kosuke-orchestrator-token": true,
|
|
9866
|
+
"x-kosuke-cron-token": true,
|
|
9867
|
+
"x-kosuke-lead-token": true,
|
|
8886
9868
|
"parameters": [
|
|
8887
9869
|
{
|
|
8888
9870
|
"name": "projectId",
|
|
@@ -8982,6 +9964,10 @@
|
|
|
8982
9964
|
"summary": "Stop the running deploy. Steers its agent had not taken go back to the top of Up next, which pauses; instructions sent while its sandbox built are discarded and listed.",
|
|
8983
9965
|
"tags": ["deploy"],
|
|
8984
9966
|
"x-kosuke-command": ["deploy", "cancel"],
|
|
9967
|
+
"x-kosuke-sandbox-token": true,
|
|
9968
|
+
"x-kosuke-orchestrator-token": true,
|
|
9969
|
+
"x-kosuke-cron-token": true,
|
|
9970
|
+
"x-kosuke-lead-token": true,
|
|
8985
9971
|
"parameters": [
|
|
8986
9972
|
{
|
|
8987
9973
|
"name": "projectId",
|
|
@@ -9034,6 +10020,10 @@
|
|
|
9034
10020
|
"summary": "Pick the model the deploy agent runs on, as an encoded id such as anthropic:sonnet__medium. Refused while a deploy runs or waits for an answer.",
|
|
9035
10021
|
"tags": ["deploy"],
|
|
9036
10022
|
"x-kosuke-command": ["deploy", "set-model"],
|
|
10023
|
+
"x-kosuke-sandbox-token": true,
|
|
10024
|
+
"x-kosuke-orchestrator-token": true,
|
|
10025
|
+
"x-kosuke-cron-token": true,
|
|
10026
|
+
"x-kosuke-lead-token": true,
|
|
9037
10027
|
"parameters": [
|
|
9038
10028
|
{
|
|
9039
10029
|
"name": "projectId",
|
|
@@ -9103,6 +10093,10 @@
|
|
|
9103
10093
|
"summary": "List the messages waiting Up next in the Deploy Chat, in the order they will be sent, and whether Up next is paused.",
|
|
9104
10094
|
"tags": ["deploy"],
|
|
9105
10095
|
"x-kosuke-command": ["deploy", "queue", "list"],
|
|
10096
|
+
"x-kosuke-sandbox-token": true,
|
|
10097
|
+
"x-kosuke-orchestrator-token": true,
|
|
10098
|
+
"x-kosuke-cron-token": true,
|
|
10099
|
+
"x-kosuke-lead-token": true,
|
|
9106
10100
|
"parameters": [
|
|
9107
10101
|
{
|
|
9108
10102
|
"name": "projectId",
|
|
@@ -9156,6 +10150,10 @@
|
|
|
9156
10150
|
"tags": ["deploy"],
|
|
9157
10151
|
"x-kosuke-command": ["deploy", "queue", "update"],
|
|
9158
10152
|
"x-kosuke-attachments": true,
|
|
10153
|
+
"x-kosuke-sandbox-token": true,
|
|
10154
|
+
"x-kosuke-orchestrator-token": true,
|
|
10155
|
+
"x-kosuke-cron-token": true,
|
|
10156
|
+
"x-kosuke-lead-token": true,
|
|
9159
10157
|
"parameters": [
|
|
9160
10158
|
{
|
|
9161
10159
|
"name": "projectId",
|
|
@@ -9318,6 +10316,10 @@
|
|
|
9318
10316
|
"summary": "Move your own queued Deploy Chat message to another place in Up next.",
|
|
9319
10317
|
"tags": ["deploy"],
|
|
9320
10318
|
"x-kosuke-command": ["deploy", "queue", "move"],
|
|
10319
|
+
"x-kosuke-sandbox-token": true,
|
|
10320
|
+
"x-kosuke-orchestrator-token": true,
|
|
10321
|
+
"x-kosuke-cron-token": true,
|
|
10322
|
+
"x-kosuke-lead-token": true,
|
|
9321
10323
|
"parameters": [
|
|
9322
10324
|
{
|
|
9323
10325
|
"name": "projectId",
|
|
@@ -9399,6 +10401,10 @@
|
|
|
9399
10401
|
"summary": "Send your own queued Deploy Chat message now, ahead of the rest of Up next. Only while the deploy agent is idle; it resumes a paused Up next.",
|
|
9400
10402
|
"tags": ["deploy"],
|
|
9401
10403
|
"x-kosuke-command": ["deploy", "queue", "send"],
|
|
10404
|
+
"x-kosuke-sandbox-token": true,
|
|
10405
|
+
"x-kosuke-orchestrator-token": true,
|
|
10406
|
+
"x-kosuke-cron-token": true,
|
|
10407
|
+
"x-kosuke-lead-token": true,
|
|
9402
10408
|
"parameters": [
|
|
9403
10409
|
{
|
|
9404
10410
|
"name": "projectId",
|
|
@@ -9461,6 +10467,10 @@
|
|
|
9461
10467
|
"summary": "Send your own queued Deploy Chat message into the running deploy agent Turn as a steer. Claude deploys only; the message stays queued when nothing can take it.",
|
|
9462
10468
|
"tags": ["deploy"],
|
|
9463
10469
|
"x-kosuke-command": ["deploy", "queue", "steer"],
|
|
10470
|
+
"x-kosuke-sandbox-token": true,
|
|
10471
|
+
"x-kosuke-orchestrator-token": true,
|
|
10472
|
+
"x-kosuke-cron-token": true,
|
|
10473
|
+
"x-kosuke-lead-token": true,
|
|
9464
10474
|
"parameters": [
|
|
9465
10475
|
{
|
|
9466
10476
|
"name": "projectId",
|
|
@@ -9523,6 +10533,10 @@
|
|
|
9523
10533
|
"summary": "Resume the Deploy Chat's paused Up next. Its top message is sent as soon as the deploy is idle.",
|
|
9524
10534
|
"tags": ["deploy"],
|
|
9525
10535
|
"x-kosuke-command": ["deploy", "queue", "resume"],
|
|
10536
|
+
"x-kosuke-sandbox-token": true,
|
|
10537
|
+
"x-kosuke-orchestrator-token": true,
|
|
10538
|
+
"x-kosuke-cron-token": true,
|
|
10539
|
+
"x-kosuke-lead-token": true,
|
|
9526
10540
|
"parameters": [
|
|
9527
10541
|
{
|
|
9528
10542
|
"name": "projectId",
|
|
@@ -9575,6 +10589,10 @@
|
|
|
9575
10589
|
"summary": "Add environment variables. The body is a JSON array of { key, value, isSecret? }.",
|
|
9576
10590
|
"tags": ["projects"],
|
|
9577
10591
|
"x-kosuke-command": ["projects", "env-vars", "add"],
|
|
10592
|
+
"x-kosuke-sandbox-token": true,
|
|
10593
|
+
"x-kosuke-orchestrator-token": true,
|
|
10594
|
+
"x-kosuke-cron-token": true,
|
|
10595
|
+
"x-kosuke-lead-token": true,
|
|
9578
10596
|
"parameters": [
|
|
9579
10597
|
{
|
|
9580
10598
|
"name": "projectId",
|
|
@@ -9725,6 +10743,10 @@
|
|
|
9725
10743
|
"summary": "Replace the services and environment from a kosuke.config.json document. Cross-service rules (unique ports, after references, one preview endpoint) are checked by the handler, not by the schema.",
|
|
9726
10744
|
"tags": ["projects"],
|
|
9727
10745
|
"x-kosuke-command": ["projects", "settings", "import"],
|
|
10746
|
+
"x-kosuke-sandbox-token": true,
|
|
10747
|
+
"x-kosuke-orchestrator-token": true,
|
|
10748
|
+
"x-kosuke-cron-token": true,
|
|
10749
|
+
"x-kosuke-lead-token": true,
|
|
9728
10750
|
"parameters": [
|
|
9729
10751
|
{
|
|
9730
10752
|
"name": "projectId",
|
|
@@ -9818,6 +10840,18 @@
|
|
|
9818
10840
|
}
|
|
9819
10841
|
]
|
|
9820
10842
|
},
|
|
10843
|
+
"qaGuide": {
|
|
10844
|
+
"description": "The Project QA Guide: markdown on how to test this project in a sandbox. automated-qa writes it through `kosuke projects qa-guide set`.",
|
|
10845
|
+
"anyOf": [
|
|
10846
|
+
{
|
|
10847
|
+
"type": "string",
|
|
10848
|
+
"maxLength": 102400
|
|
10849
|
+
},
|
|
10850
|
+
{
|
|
10851
|
+
"type": "null"
|
|
10852
|
+
}
|
|
10853
|
+
]
|
|
10854
|
+
},
|
|
9821
10855
|
"sandboxTier": {
|
|
9822
10856
|
"description": "Sandbox resource tier provisioned for the preview: SMALL, MEDIUM, LARGE, or XLARGE. Omitted leaves the current tier. A first deploy boots on XLARGE (unknown footprint) — measure actual peak usage and set the right-sized tier here so later sandboxes use it.",
|
|
9823
10857
|
"type": "string",
|
|
@@ -9985,12 +11019,145 @@
|
|
|
9985
11019
|
}
|
|
9986
11020
|
}
|
|
9987
11021
|
},
|
|
11022
|
+
"/api/projects/{projectId}/settings/qa-guide": {
|
|
11023
|
+
"get": {
|
|
11024
|
+
"operationId": "projectsQaGuideGet",
|
|
11025
|
+
"summary": "Read the project's saved Project QA Guide. It can be newer than the one a running session started with.",
|
|
11026
|
+
"tags": ["projects"],
|
|
11027
|
+
"x-kosuke-command": ["projects", "qa-guide", "get"],
|
|
11028
|
+
"x-kosuke-sandbox-token": true,
|
|
11029
|
+
"x-kosuke-orchestrator-token": true,
|
|
11030
|
+
"x-kosuke-cron-token": true,
|
|
11031
|
+
"x-kosuke-lead-token": true,
|
|
11032
|
+
"parameters": [
|
|
11033
|
+
{
|
|
11034
|
+
"name": "projectId",
|
|
11035
|
+
"in": "path",
|
|
11036
|
+
"required": true,
|
|
11037
|
+
"schema": {
|
|
11038
|
+
"type": "string",
|
|
11039
|
+
"format": "uuid",
|
|
11040
|
+
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
|
|
11041
|
+
}
|
|
11042
|
+
}
|
|
11043
|
+
],
|
|
11044
|
+
"responses": {
|
|
11045
|
+
"2XX": {
|
|
11046
|
+
"description": "Success envelope",
|
|
11047
|
+
"content": {
|
|
11048
|
+
"application/json": {
|
|
11049
|
+
"schema": {
|
|
11050
|
+
"$ref": "#/components/schemas/ApiSuccess"
|
|
11051
|
+
}
|
|
11052
|
+
}
|
|
11053
|
+
}
|
|
11054
|
+
},
|
|
11055
|
+
"4XX": {
|
|
11056
|
+
"description": "Error envelope",
|
|
11057
|
+
"content": {
|
|
11058
|
+
"application/json": {
|
|
11059
|
+
"schema": {
|
|
11060
|
+
"$ref": "#/components/schemas/ApiError"
|
|
11061
|
+
}
|
|
11062
|
+
}
|
|
11063
|
+
}
|
|
11064
|
+
},
|
|
11065
|
+
"5XX": {
|
|
11066
|
+
"description": "Error envelope",
|
|
11067
|
+
"content": {
|
|
11068
|
+
"application/json": {
|
|
11069
|
+
"schema": {
|
|
11070
|
+
"$ref": "#/components/schemas/ApiError"
|
|
11071
|
+
}
|
|
11072
|
+
}
|
|
11073
|
+
}
|
|
11074
|
+
}
|
|
11075
|
+
}
|
|
11076
|
+
},
|
|
11077
|
+
"put": {
|
|
11078
|
+
"operationId": "projectsQaGuideSet",
|
|
11079
|
+
"summary": "Save the project's Project QA Guide. Chat sessions created after the save get it; running sessions keep the one they started with.",
|
|
11080
|
+
"tags": ["projects"],
|
|
11081
|
+
"x-kosuke-command": ["projects", "qa-guide", "set"],
|
|
11082
|
+
"x-kosuke-sandbox-token": true,
|
|
11083
|
+
"x-kosuke-orchestrator-token": true,
|
|
11084
|
+
"x-kosuke-cron-token": true,
|
|
11085
|
+
"x-kosuke-lead-token": true,
|
|
11086
|
+
"parameters": [
|
|
11087
|
+
{
|
|
11088
|
+
"name": "projectId",
|
|
11089
|
+
"in": "path",
|
|
11090
|
+
"required": true,
|
|
11091
|
+
"schema": {
|
|
11092
|
+
"type": "string",
|
|
11093
|
+
"format": "uuid",
|
|
11094
|
+
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
|
|
11095
|
+
}
|
|
11096
|
+
}
|
|
11097
|
+
],
|
|
11098
|
+
"requestBody": {
|
|
11099
|
+
"required": true,
|
|
11100
|
+
"content": {
|
|
11101
|
+
"application/json": {
|
|
11102
|
+
"schema": {
|
|
11103
|
+
"type": "object",
|
|
11104
|
+
"properties": {
|
|
11105
|
+
"content": {
|
|
11106
|
+
"type": "string",
|
|
11107
|
+
"minLength": 1,
|
|
11108
|
+
"maxLength": 102400,
|
|
11109
|
+
"description": "The whole Project QA Guide, in Markdown. It replaces the saved one."
|
|
11110
|
+
}
|
|
11111
|
+
},
|
|
11112
|
+
"required": ["content"]
|
|
11113
|
+
}
|
|
11114
|
+
}
|
|
11115
|
+
}
|
|
11116
|
+
},
|
|
11117
|
+
"responses": {
|
|
11118
|
+
"2XX": {
|
|
11119
|
+
"description": "Success envelope",
|
|
11120
|
+
"content": {
|
|
11121
|
+
"application/json": {
|
|
11122
|
+
"schema": {
|
|
11123
|
+
"$ref": "#/components/schemas/ApiSuccess"
|
|
11124
|
+
}
|
|
11125
|
+
}
|
|
11126
|
+
}
|
|
11127
|
+
},
|
|
11128
|
+
"4XX": {
|
|
11129
|
+
"description": "Error envelope",
|
|
11130
|
+
"content": {
|
|
11131
|
+
"application/json": {
|
|
11132
|
+
"schema": {
|
|
11133
|
+
"$ref": "#/components/schemas/ApiError"
|
|
11134
|
+
}
|
|
11135
|
+
}
|
|
11136
|
+
}
|
|
11137
|
+
},
|
|
11138
|
+
"5XX": {
|
|
11139
|
+
"description": "Error envelope",
|
|
11140
|
+
"content": {
|
|
11141
|
+
"application/json": {
|
|
11142
|
+
"schema": {
|
|
11143
|
+
"$ref": "#/components/schemas/ApiError"
|
|
11144
|
+
}
|
|
11145
|
+
}
|
|
11146
|
+
}
|
|
11147
|
+
}
|
|
11148
|
+
}
|
|
11149
|
+
}
|
|
11150
|
+
},
|
|
9988
11151
|
"/api/projects/{projectId}/settings/services": {
|
|
9989
11152
|
"get": {
|
|
9990
11153
|
"operationId": "projectsServicesList",
|
|
9991
11154
|
"summary": "List the project services, in the order they start. Carries no environment variables.",
|
|
9992
11155
|
"tags": ["projects"],
|
|
9993
11156
|
"x-kosuke-command": ["projects", "services", "list"],
|
|
11157
|
+
"x-kosuke-sandbox-token": true,
|
|
11158
|
+
"x-kosuke-orchestrator-token": true,
|
|
11159
|
+
"x-kosuke-cron-token": true,
|
|
11160
|
+
"x-kosuke-lead-token": true,
|
|
9994
11161
|
"parameters": [
|
|
9995
11162
|
{
|
|
9996
11163
|
"name": "projectId",
|
|
@@ -10041,6 +11208,10 @@
|
|
|
10041
11208
|
"summary": "Add a service. A port already used by another service is rejected by the handler.",
|
|
10042
11209
|
"tags": ["projects"],
|
|
10043
11210
|
"x-kosuke-command": ["projects", "services", "add"],
|
|
11211
|
+
"x-kosuke-sandbox-token": true,
|
|
11212
|
+
"x-kosuke-orchestrator-token": true,
|
|
11213
|
+
"x-kosuke-cron-token": true,
|
|
11214
|
+
"x-kosuke-lead-token": true,
|
|
10044
11215
|
"parameters": [
|
|
10045
11216
|
{
|
|
10046
11217
|
"name": "projectId",
|
|
@@ -10198,6 +11369,10 @@
|
|
|
10198
11369
|
"summary": "Change one service. Every field is optional; only the ones sent change.",
|
|
10199
11370
|
"tags": ["projects"],
|
|
10200
11371
|
"x-kosuke-command": ["projects", "services", "update"],
|
|
11372
|
+
"x-kosuke-sandbox-token": true,
|
|
11373
|
+
"x-kosuke-orchestrator-token": true,
|
|
11374
|
+
"x-kosuke-cron-token": true,
|
|
11375
|
+
"x-kosuke-lead-token": true,
|
|
10201
11376
|
"parameters": [
|
|
10202
11377
|
{
|
|
10203
11378
|
"name": "projectId",
|
|
@@ -10408,10 +11583,11 @@
|
|
|
10408
11583
|
"/api/projects/{projectId}/skills": {
|
|
10409
11584
|
"get": {
|
|
10410
11585
|
"operationId": "projectsSkills",
|
|
10411
|
-
"summary": "List the skills the agent can invoke in this project, for one provider
|
|
11586
|
+
"summary": "List the skills the agent can invoke in this project, for one provider: the project's own, the workspace's and the member's, the plugins', and Kosuke's own skills in the kosuke plugin, which every chat session carries as kosuke:<name>. From a sandbox, sessionId defaults to its own chat session.",
|
|
10412
11587
|
"tags": ["projects"],
|
|
10413
11588
|
"x-kosuke-command": ["projects", "skills"],
|
|
10414
11589
|
"x-kosuke-sandbox-token": true,
|
|
11590
|
+
"x-kosuke-orchestrator-token": true,
|
|
10415
11591
|
"x-kosuke-cron-token": true,
|
|
10416
11592
|
"x-kosuke-lead-token": true,
|
|
10417
11593
|
"parameters": [
|
|
@@ -10776,11 +11952,13 @@
|
|
|
10776
11952
|
"/api/user/plugins": {
|
|
10777
11953
|
"get": {
|
|
10778
11954
|
"operationId": "userPluginsList",
|
|
10779
|
-
"summary": "List the plugins the Official Marketplaces offer, or one Provider's with provider=anthropic or provider=openai, with whether you have each on as a personal plugin, the last failed install in the chat sessions you are the assignee of, and the workspaces of yours that already have it on. Plugins that carry MCP servers or ChatGPT apps are not offered. Personal plugins follow you into every workspace you belong to, alongside its workspace plugins. From
|
|
11955
|
+
"summary": "List the plugins the Official Marketplaces offer, or one Provider's with provider=anthropic or provider=openai, with whether you have each on as a personal plugin, the last failed install in the chat sessions you are the assignee of, and the workspaces of yours that already have it on. Plugins that carry MCP servers or ChatGPT apps are not offered. Personal plugins follow you into every workspace you belong to, alongside its workspace plugins. From an agent token, those of the member it acts as, with only this workspace and, for a sandbox or a Cron Run, this project's sessions. From a Cron Run with no member behind it, none.",
|
|
10780
11956
|
"tags": ["user"],
|
|
10781
11957
|
"x-kosuke-command": ["user", "plugins", "list"],
|
|
10782
11958
|
"x-kosuke-sandbox-token": true,
|
|
11959
|
+
"x-kosuke-orchestrator-token": true,
|
|
10783
11960
|
"x-kosuke-cron-token": true,
|
|
11961
|
+
"x-kosuke-lead-token": true,
|
|
10784
11962
|
"parameters": [
|
|
10785
11963
|
{
|
|
10786
11964
|
"name": "provider",
|
|
@@ -10832,6 +12010,10 @@
|
|
|
10832
12010
|
"summary": "Turn one of your personal plugins on or off by its plugin@marketplace id, as the list returns it, in every workspace at once. Chat sessions you are the assignee of install or remove it at their next turn. Answers 204.",
|
|
10833
12011
|
"tags": ["user"],
|
|
10834
12012
|
"x-kosuke-command": ["user", "plugins", "update"],
|
|
12013
|
+
"x-kosuke-sandbox-token": true,
|
|
12014
|
+
"x-kosuke-orchestrator-token": true,
|
|
12015
|
+
"x-kosuke-cron-token": true,
|
|
12016
|
+
"x-kosuke-lead-token": true,
|
|
10835
12017
|
"parameters": [
|
|
10836
12018
|
{
|
|
10837
12019
|
"name": "pluginId",
|
|
@@ -10900,6 +12082,10 @@
|
|
|
10900
12082
|
"summary": "Read your account: id, email, name, onboarding state, default model, auto-commit and plain-language settings.",
|
|
10901
12083
|
"tags": ["user"],
|
|
10902
12084
|
"x-kosuke-command": ["user", "profile"],
|
|
12085
|
+
"x-kosuke-sandbox-token": true,
|
|
12086
|
+
"x-kosuke-orchestrator-token": true,
|
|
12087
|
+
"x-kosuke-cron-token": true,
|
|
12088
|
+
"x-kosuke-lead-token": true,
|
|
10903
12089
|
"responses": {
|
|
10904
12090
|
"2XX": {
|
|
10905
12091
|
"description": "Success envelope",
|
|
@@ -10937,11 +12123,13 @@
|
|
|
10937
12123
|
"/api/user/skills": {
|
|
10938
12124
|
"get": {
|
|
10939
12125
|
"operationId": "userSkillsList",
|
|
10940
|
-
"summary": "List your personal skills: what each SKILL.md declares, how many files the skill holds, whether it is enabled, and the workspaces where it replaces an enabled workspace skill of the same name. Personal skills follow you into every workspace you belong to and reach the chat sessions you are the assignee of. From
|
|
12126
|
+
"summary": "List your personal skills: what each SKILL.md declares, how many files the skill holds, whether it is enabled, and the workspaces where it replaces an enabled workspace skill of the same name. Personal skills follow you into every workspace you belong to and reach the chat sessions you are the assignee of. From an agent token, those of the member it acts as, naming only this workspace. From a Cron Run with no member behind it, none.",
|
|
10941
12127
|
"tags": ["user"],
|
|
10942
12128
|
"x-kosuke-command": ["user", "skills", "list"],
|
|
10943
12129
|
"x-kosuke-sandbox-token": true,
|
|
12130
|
+
"x-kosuke-orchestrator-token": true,
|
|
10944
12131
|
"x-kosuke-cron-token": true,
|
|
12132
|
+
"x-kosuke-lead-token": true,
|
|
10945
12133
|
"responses": {
|
|
10946
12134
|
"2XX": {
|
|
10947
12135
|
"description": "Success envelope",
|
|
@@ -10980,6 +12168,10 @@
|
|
|
10980
12168
|
"summary": "Add a personal skill from its files. A SKILL.md is required; its frontmatter carries the kebab-case name, the description and an optional argument-hint. Text files only, 100 KiB each, 50 files and 1 MiB in all. Names are unique among your own personal skills. Answers 201 with the id of the new skill.",
|
|
10981
12169
|
"tags": ["user"],
|
|
10982
12170
|
"x-kosuke-command": ["user", "skills", "create"],
|
|
12171
|
+
"x-kosuke-sandbox-token": true,
|
|
12172
|
+
"x-kosuke-orchestrator-token": true,
|
|
12173
|
+
"x-kosuke-cron-token": true,
|
|
12174
|
+
"x-kosuke-lead-token": true,
|
|
10983
12175
|
"requestBody": {
|
|
10984
12176
|
"required": true,
|
|
10985
12177
|
"content": {
|
|
@@ -11050,11 +12242,13 @@
|
|
|
11050
12242
|
"/api/user/skills/{skillId}": {
|
|
11051
12243
|
"get": {
|
|
11052
12244
|
"operationId": "userSkillsGet",
|
|
11053
|
-
"summary": "Get one of your personal skills with every file it holds, SKILL.md included. From
|
|
12245
|
+
"summary": "Get one of your personal skills with every file it holds, SKILL.md included. From an agent token, one of the member it acts as. From a Cron Run with no member behind it, never one: it acts as Kosuke, which holds no personal skills.",
|
|
11054
12246
|
"tags": ["user"],
|
|
11055
12247
|
"x-kosuke-command": ["user", "skills", "get"],
|
|
11056
12248
|
"x-kosuke-sandbox-token": true,
|
|
12249
|
+
"x-kosuke-orchestrator-token": true,
|
|
11057
12250
|
"x-kosuke-cron-token": true,
|
|
12251
|
+
"x-kosuke-lead-token": true,
|
|
11058
12252
|
"parameters": [
|
|
11059
12253
|
{
|
|
11060
12254
|
"name": "skillId",
|
|
@@ -11105,6 +12299,10 @@
|
|
|
11105
12299
|
"summary": "Enable or disable one of your personal skills, or replace every file it holds; at least one of enabled and files. The switch applies in every workspace at once. Answers 204.",
|
|
11106
12300
|
"tags": ["user"],
|
|
11107
12301
|
"x-kosuke-command": ["user", "skills", "update"],
|
|
12302
|
+
"x-kosuke-sandbox-token": true,
|
|
12303
|
+
"x-kosuke-orchestrator-token": true,
|
|
12304
|
+
"x-kosuke-cron-token": true,
|
|
12305
|
+
"x-kosuke-lead-token": true,
|
|
11108
12306
|
"parameters": [
|
|
11109
12307
|
{
|
|
11110
12308
|
"name": "skillId",
|
|
@@ -11239,6 +12437,10 @@
|
|
|
11239
12437
|
"summary": "Read your Claude, Codex and GLM Coding Plan subscriptions (connected, needsReauth, accountEmail) and your default model.",
|
|
11240
12438
|
"tags": ["user"],
|
|
11241
12439
|
"x-kosuke-command": ["user", "subscriptions", "get"],
|
|
12440
|
+
"x-kosuke-sandbox-token": true,
|
|
12441
|
+
"x-kosuke-orchestrator-token": true,
|
|
12442
|
+
"x-kosuke-cron-token": true,
|
|
12443
|
+
"x-kosuke-lead-token": true,
|
|
11242
12444
|
"responses": {
|
|
11243
12445
|
"2XX": {
|
|
11244
12446
|
"description": "Success envelope",
|
|
@@ -11648,6 +12850,10 @@
|
|
|
11648
12850
|
"summary": "Read the session and weekly utilization of your Claude (claude_code, the default), Codex or GLM Coding Plan (coding_plan) subscription. 400 when it is not connected or needs reconnecting.",
|
|
11649
12851
|
"tags": ["user"],
|
|
11650
12852
|
"x-kosuke-command": ["user", "subscriptions", "usage"],
|
|
12853
|
+
"x-kosuke-sandbox-token": true,
|
|
12854
|
+
"x-kosuke-orchestrator-token": true,
|
|
12855
|
+
"x-kosuke-cron-token": true,
|
|
12856
|
+
"x-kosuke-lead-token": true,
|
|
11651
12857
|
"parameters": [
|
|
11652
12858
|
{
|
|
11653
12859
|
"name": "provider",
|