@kosuke-ai/kosuke 1.0.58 → 1.0.60
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/CHANGELOG.md +15 -0
- package/README.md +31 -2
- package/dist/commands/hand-written.js +15 -0
- package/dist/commands/help.js +52 -0
- package/dist/generated/commands/crons/create--personal.js +2 -1
- package/dist/generated/commands/crons/update--personal.js +2 -1
- package/dist/generated/commands/deploys/queue-update.js +2 -1
- package/dist/generated/commands/find/index.js +17 -0
- package/dist/generated/commands/index.js +279 -291
- package/dist/generated/commands/integrations/tools-call.js +2 -1
- package/dist/generated/commands/projects/batch-merging-get.js +1 -1
- package/dist/generated/commands/projects/batch-merging-picks-set.js +2 -1
- package/dist/generated/commands/projects/batch-merging-set.js +19 -1
- package/dist/generated/commands/projects/create.js +21 -9
- package/dist/generated/commands/projects/labels-delete.js +2 -1
- package/dist/generated/commands/projects/live-logs-list.js +1 -1
- package/dist/generated/commands/projects/live-queries-run.js +1 -1
- package/dist/generated/commands/projects/live-traffic-get.js +1 -1
- package/dist/generated/commands/projects/releases-list.js +1 -1
- package/dist/generated/commands/projects/services-create.js +6 -3
- package/dist/generated/commands/projects/services-update.js +6 -3
- package/dist/generated/commands/projects/settings-set.js +4 -2
- package/dist/generated/commands/projects/versions-list.js +1 -1
- package/dist/generated/commands/sensei/cards-mark-read.js +1 -1
- package/dist/generated/commands/sensei/cards-set.js +40 -10
- package/dist/generated/commands/sensei/connect-buttons-create.js +2 -1
- package/dist/generated/commands/sensei/describe-cards-create.js +1 -1
- package/dist/generated/commands/sensei/messages-send.js +2 -1
- package/dist/generated/commands/sensei/sessions-assessments-create.js +3 -1
- package/dist/generated/commands/sensei/sessions-facts-get.js +1 -1
- package/dist/generated/commands/sensei/suggestions-create.js +2 -1
- package/dist/generated/commands/sensei/threads-get.js +8 -1
- package/dist/generated/commands/sensei/threads-split.js +2 -1
- package/dist/generated/commands/sensei/tickets-merge.js +4 -2
- package/dist/generated/commands/sensei/watch-reads-finish.js +4 -2
- package/dist/generated/commands/sensei/writing-samples-create.js +2 -1
- package/dist/generated/commands/sessions/get.js +1 -1
- package/dist/generated/commands/sessions/labels-set.js +6 -3
- package/dist/generated/commands/sessions/labels-update.js +4 -2
- package/dist/generated/commands/sessions/list--all.js +2 -3
- package/dist/generated/commands/sessions/qa-runs-finish.js +2 -1
- package/dist/generated/commands/sessions/qa-runs-results-create.js +2 -1
- package/dist/generated/commands/sessions/qa-runs-start.js +2 -1
- package/dist/generated/commands/sessions/queue-update.js +2 -1
- package/dist/generated/commands/sessions/send.js +4 -2
- package/dist/generated/commands/sessions/update.js +2 -1
- package/dist/generated/commands/skills/create--personal.js +2 -1
- package/dist/generated/commands/skills/create.js +2 -1
- package/dist/generated/commands/skills/update--personal.js +2 -1
- package/dist/generated/commands/skills/update.js +2 -1
- package/dist/generated/commands/tasks/create--personal.js +235 -11
- package/dist/generated/commands/tasks/create.js +1 -1
- package/dist/generated/commands/tasks/delete--personal.js +6 -3
- package/dist/generated/commands/tasks/get--personal.js +6 -3
- package/dist/generated/commands/tasks/list--all.js +1 -1
- package/dist/generated/commands/tasks/list--personal.js +91 -9
- package/dist/generated/commands/tasks/move--personal.js +7 -4
- package/dist/generated/commands/tasks/start--personal.js +6 -3
- package/dist/generated/commands/tasks/update--personal.js +85 -10
- package/dist/generated/commands/tasks/update.js +3 -2
- package/dist/generated/commands/user/personal-space-get.js +19 -0
- package/dist/generated/commands/workspaces/sandboxes-stop.js +2 -1
- package/dist/program.js +13 -2
- package/dist/runtime/arguments.js +58 -0
- package/dist/runtime/attach.js +177 -18
- package/dist/runtime/help.js +398 -0
- package/dist/runtime/personal-space-id.js +26 -0
- package/dist/runtime/personal-space.js +10 -0
- package/dist/runtime/runtime.js +25 -5
- package/dist/runtime/thread-text.js +316 -0
- package/openapi.json +321 -599
- package/package.json +11 -4
- package/dist/generated/commands/projects/backlog-items-create.js +0 -35
- package/dist/generated/commands/projects/backlog-items-delete.js +0 -20
- package/dist/generated/commands/projects/backlog-items-list.js +0 -19
- package/dist/generated/commands/projects/backlog-items-send.js +0 -20
- package/dist/generated/commands/projects/backlog-items-update.js +0 -42
- package/dist/generated/commands/projects/live-writes-create.js +0 -38
- package/dist/generated/commands/projects/live-writes-get.js +0 -21
- package/dist/generated/commands/projects/workflow-set.js +0 -33
package/openapi.json
CHANGED
|
@@ -564,11 +564,11 @@
|
|
|
564
564
|
"name": "kind",
|
|
565
565
|
"in": "query",
|
|
566
566
|
"required": false,
|
|
567
|
-
"description": "
|
|
567
|
+
"description": "Kept for older clients: every session is a task session, so it narrows nothing.",
|
|
568
568
|
"schema": {
|
|
569
|
-
"description": "
|
|
569
|
+
"description": "Kept for older clients: every session is a task session, so it narrows nothing.",
|
|
570
570
|
"type": "string",
|
|
571
|
-
"enum": ["tasks"
|
|
571
|
+
"enum": ["tasks"]
|
|
572
572
|
}
|
|
573
573
|
},
|
|
574
574
|
{
|
|
@@ -2660,6 +2660,63 @@
|
|
|
2660
2660
|
}
|
|
2661
2661
|
}
|
|
2662
2662
|
},
|
|
2663
|
+
"/api/find/{query}": {
|
|
2664
|
+
"get": {
|
|
2665
|
+
"operationId": "find",
|
|
2666
|
+
"summary": "Find sessions and tasks by pull request number, session, task or Sensei Thread id, or title words (every word, any case), across what `kosuke sessions list` reaches, archived and ended ones included. One row per match, at most 20, exact matches first, then live before ended: match, workspaceId, workspaceName, projectId, projectName, sessionId, sessionTitle, status, threadId (your own Sensei Thread that follows it), taskId, pullRequestNumber, headSha and url. A task with no session has a null sessionId. An agent token finds within its own workspace.",
|
|
2667
|
+
"tags": ["find"],
|
|
2668
|
+
"x-kosuke-command": ["find"],
|
|
2669
|
+
"x-kosuke-sandbox-token": true,
|
|
2670
|
+
"x-kosuke-cron-token": true,
|
|
2671
|
+
"x-kosuke-sensei-token": true,
|
|
2672
|
+
"parameters": [
|
|
2673
|
+
{
|
|
2674
|
+
"name": "query",
|
|
2675
|
+
"in": "path",
|
|
2676
|
+
"required": true,
|
|
2677
|
+
"description": "A pull request number (3323 or #3323), a session, task or thread id, or title words.",
|
|
2678
|
+
"schema": {
|
|
2679
|
+
"type": "string",
|
|
2680
|
+
"minLength": 1,
|
|
2681
|
+
"maxLength": 200,
|
|
2682
|
+
"description": "A pull request number (3323 or #3323), a session, task or thread id, or title words."
|
|
2683
|
+
}
|
|
2684
|
+
}
|
|
2685
|
+
],
|
|
2686
|
+
"responses": {
|
|
2687
|
+
"2XX": {
|
|
2688
|
+
"description": "Success envelope",
|
|
2689
|
+
"content": {
|
|
2690
|
+
"application/json": {
|
|
2691
|
+
"schema": {
|
|
2692
|
+
"$ref": "#/components/schemas/ApiSuccess"
|
|
2693
|
+
}
|
|
2694
|
+
}
|
|
2695
|
+
}
|
|
2696
|
+
},
|
|
2697
|
+
"4XX": {
|
|
2698
|
+
"description": "Error envelope",
|
|
2699
|
+
"content": {
|
|
2700
|
+
"application/json": {
|
|
2701
|
+
"schema": {
|
|
2702
|
+
"$ref": "#/components/schemas/ApiError"
|
|
2703
|
+
}
|
|
2704
|
+
}
|
|
2705
|
+
}
|
|
2706
|
+
},
|
|
2707
|
+
"5XX": {
|
|
2708
|
+
"description": "Error envelope",
|
|
2709
|
+
"content": {
|
|
2710
|
+
"application/json": {
|
|
2711
|
+
"schema": {
|
|
2712
|
+
"$ref": "#/components/schemas/ApiError"
|
|
2713
|
+
}
|
|
2714
|
+
}
|
|
2715
|
+
}
|
|
2716
|
+
}
|
|
2717
|
+
}
|
|
2718
|
+
}
|
|
2719
|
+
},
|
|
2663
2720
|
"/api/members": {
|
|
2664
2721
|
"get": {
|
|
2665
2722
|
"operationId": "workspacesMembersListAll",
|
|
@@ -8135,6 +8192,7 @@
|
|
|
8135
8192
|
"summary": "List tasks in one workspace. Before you file or propose a ticket, read the open ones (--status todo,in_progress --include-prompt, following meta.pagination.nextCursor with --cursor) and judge overlap by meaning, not title words: work another task or session already covers gets no new ticket.",
|
|
8136
8193
|
"tags": ["tasks"],
|
|
8137
8194
|
"x-kosuke-command": ["tasks", "list"],
|
|
8195
|
+
"x-kosuke-personal-space": true,
|
|
8138
8196
|
"x-kosuke-sandbox-token": true,
|
|
8139
8197
|
"x-kosuke-cron-token": true,
|
|
8140
8198
|
"x-kosuke-sensei-token": true,
|
|
@@ -8354,9 +8412,96 @@
|
|
|
8354
8412
|
},
|
|
8355
8413
|
"post": {
|
|
8356
8414
|
"operationId": "tasksCreate",
|
|
8357
|
-
"summary": "File a task. A hint files into that project;
|
|
8415
|
+
"summary": "File a task. A hint files into that project. personal files a task in your Personal space, yours alone; dueOn, threadId and in_progress are for that one, and from a Sensei Turn it joins the Turn's thread unless threadId names another. From Sensei, ownerId is the member, or the teammate they name; leave sandboxSize to the member, who changes it in the task's Properties. Answers shareUrl: link the task's title to it.",
|
|
8358
8416
|
"tags": ["tasks"],
|
|
8359
8417
|
"x-kosuke-command": ["tasks", "create"],
|
|
8418
|
+
"x-kosuke-personal-space": true,
|
|
8419
|
+
"x-kosuke-personal-body": {
|
|
8420
|
+
"type": "object",
|
|
8421
|
+
"properties": {
|
|
8422
|
+
"title": {
|
|
8423
|
+
"type": "string",
|
|
8424
|
+
"minLength": 1,
|
|
8425
|
+
"maxLength": 255
|
|
8426
|
+
},
|
|
8427
|
+
"model": {
|
|
8428
|
+
"description": "A model, or kosuke-free for personal work. Workspace tasks never use Sensei free.",
|
|
8429
|
+
"type": "string"
|
|
8430
|
+
},
|
|
8431
|
+
"auto": {
|
|
8432
|
+
"description": "True starts the session on Auto: the platform picks the Model and Provider of each Turn. False keeps it off. Absent follows your Default Model.",
|
|
8433
|
+
"type": "boolean"
|
|
8434
|
+
},
|
|
8435
|
+
"kosukeFree": {
|
|
8436
|
+
"description": "true starts the session on Sensei free, on the serving source's model. A member who can run no provider starts on it anyway; false never does.",
|
|
8437
|
+
"type": "boolean"
|
|
8438
|
+
},
|
|
8439
|
+
"ownerId": {
|
|
8440
|
+
"type": "string",
|
|
8441
|
+
"minLength": 1
|
|
8442
|
+
},
|
|
8443
|
+
"priority": {
|
|
8444
|
+
"type": "string",
|
|
8445
|
+
"enum": ["urgent", "high", "medium", "low", "none"]
|
|
8446
|
+
},
|
|
8447
|
+
"startBranch": {
|
|
8448
|
+
"type": "string",
|
|
8449
|
+
"minLength": 1,
|
|
8450
|
+
"maxLength": 255
|
|
8451
|
+
},
|
|
8452
|
+
"branch": {
|
|
8453
|
+
"description": "An existing branch the session works on: it checks it out, pushes to it and opens its pull request from it. Not the default branch, the Target Branch, or a branch another open session works on. Absent: a new branch. Repository projects only; not with startBranch.",
|
|
8454
|
+
"type": "string",
|
|
8455
|
+
"minLength": 1,
|
|
8456
|
+
"maxLength": 255
|
|
8457
|
+
},
|
|
8458
|
+
"reason": {
|
|
8459
|
+
"description": "Why this session is being filed and what turned it up, in one line. Required from a sandbox or a Cron Run, ignored from anyone else.",
|
|
8460
|
+
"type": "string",
|
|
8461
|
+
"minLength": 1,
|
|
8462
|
+
"maxLength": 200
|
|
8463
|
+
},
|
|
8464
|
+
"startWhenDeployed": {
|
|
8465
|
+
"description": "With status=backlog, from a member: when the project's first Deploy has not landed, the platform starts the ticket with /kosuke:ship as its Assignee once it lands. The session's startWhenDeployedAt says whether it was marked; ignored otherwise.",
|
|
8466
|
+
"type": "boolean"
|
|
8467
|
+
},
|
|
8468
|
+
"sandboxSize": {
|
|
8469
|
+
"type": "string",
|
|
8470
|
+
"enum": ["small", "medium", "large", "xlarge"],
|
|
8471
|
+
"description": "The session's Sandbox size: small (2 CPU, 4 GB), medium (4 CPU, 8 GB), large (8 CPU, 16 GB) or xlarge (16 CPU, 32 GB). Absent boots the project's size. Fixed once the session starts."
|
|
8472
|
+
},
|
|
8473
|
+
"appStack": {
|
|
8474
|
+
"type": "string",
|
|
8475
|
+
"enum": ["start", "skip"],
|
|
8476
|
+
"description": "start (default) runs the project's services when the sandbox boots. skip boots setup and the agent only; a member or the session's agent starts the services later with `kosuke sessions app-stack start`. Fixed once the session starts."
|
|
8477
|
+
},
|
|
8478
|
+
"description": {
|
|
8479
|
+
"type": "string",
|
|
8480
|
+
"description": "Markdown someone with none of your context can act on: the goal, why it matters, the limits, what done contains, and what the repository does not hold (a log line, an error, a URL). Resolve every \"it\" and @mention; keep the member's decisions and scope; leave out empty sections."
|
|
8481
|
+
},
|
|
8482
|
+
"hintProjectId": {
|
|
8483
|
+
"x-kosuke-flag": "hint-project",
|
|
8484
|
+
"type": "string",
|
|
8485
|
+
"format": "uuid",
|
|
8486
|
+
"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)$"
|
|
8487
|
+
},
|
|
8488
|
+
"status": {
|
|
8489
|
+
"type": "string",
|
|
8490
|
+
"enum": ["todo", "in_progress", "done"]
|
|
8491
|
+
},
|
|
8492
|
+
"dueOn": {
|
|
8493
|
+
"type": "string",
|
|
8494
|
+
"format": "date",
|
|
8495
|
+
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"
|
|
8496
|
+
},
|
|
8497
|
+
"threadId": {
|
|
8498
|
+
"type": "string",
|
|
8499
|
+
"format": "uuid",
|
|
8500
|
+
"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)$"
|
|
8501
|
+
}
|
|
8502
|
+
},
|
|
8503
|
+
"required": ["title"]
|
|
8504
|
+
},
|
|
8360
8505
|
"x-kosuke-attachments": true,
|
|
8361
8506
|
"x-kosuke-attachment-max-files": 20,
|
|
8362
8507
|
"x-kosuke-attachment-max-bytes": 10485760,
|
|
@@ -8596,6 +8741,7 @@
|
|
|
8596
8741
|
"summary": "Get a task and its execution details.",
|
|
8597
8742
|
"tags": ["tasks"],
|
|
8598
8743
|
"x-kosuke-command": ["tasks", "get"],
|
|
8744
|
+
"x-kosuke-personal-space": true,
|
|
8599
8745
|
"x-kosuke-sandbox-token": true,
|
|
8600
8746
|
"x-kosuke-cron-token": true,
|
|
8601
8747
|
"x-kosuke-sensei-token": true,
|
|
@@ -8658,6 +8804,7 @@
|
|
|
8658
8804
|
"summary": "Edit a task.",
|
|
8659
8805
|
"tags": ["tasks"],
|
|
8660
8806
|
"x-kosuke-command": ["tasks", "update"],
|
|
8807
|
+
"x-kosuke-personal-space": true,
|
|
8661
8808
|
"x-kosuke-sandbox-token": true,
|
|
8662
8809
|
"x-kosuke-cron-token": true,
|
|
8663
8810
|
"x-kosuke-sensei-token": true,
|
|
@@ -8821,7 +8968,7 @@
|
|
|
8821
8968
|
"type": "string"
|
|
8822
8969
|
},
|
|
8823
8970
|
"ifRevision": {
|
|
8824
|
-
"description": "The descriptionRevision `tasks get` printed. Sensei and a Cron Run must pass it with description; a changed task answers 409 TASK_CONFLICT, so read it again and reconcile.",
|
|
8971
|
+
"description": "The descriptionRevision `tasks get` printed. Sensei and a Cron Run must pass it with description on workspace or repository tasks. For sessionless Personal tasks it is optional and also accepts updatedAt; a changed task answers 409 TASK_CONFLICT, so read it again and reconcile.",
|
|
8825
8972
|
"type": "string"
|
|
8826
8973
|
},
|
|
8827
8974
|
"hintProjectId": {
|
|
@@ -8874,6 +9021,7 @@
|
|
|
8874
9021
|
"summary": "Delete a task.",
|
|
8875
9022
|
"tags": ["tasks"],
|
|
8876
9023
|
"x-kosuke-command": ["tasks", "delete"],
|
|
9024
|
+
"x-kosuke-personal-space": true,
|
|
8877
9025
|
"x-kosuke-sandbox-token": true,
|
|
8878
9026
|
"x-kosuke-cron-token": true,
|
|
8879
9027
|
"x-kosuke-sensei-token": true,
|
|
@@ -8938,6 +9086,7 @@
|
|
|
8938
9086
|
"summary": "Move a Todo or In progress Personal task into a workspace. Members and Sensei only.",
|
|
8939
9087
|
"tags": ["tasks"],
|
|
8940
9088
|
"x-kosuke-command": ["tasks", "move"],
|
|
9089
|
+
"x-kosuke-personal-space": true,
|
|
8941
9090
|
"x-kosuke-sandbox-token": true,
|
|
8942
9091
|
"x-kosuke-cron-token": true,
|
|
8943
9092
|
"x-kosuke-sensei-token": true,
|
|
@@ -9020,6 +9169,7 @@
|
|
|
9020
9169
|
"summary": "Start a Todo task. Members and Sensei only. sandboxSize and appStack set the task's Sandbox size and App stack as it starts; absent keeps what the task holds. The member's ask to start is the yes: start without reading back credits or sandboxes. A refusal leaves it in the Backlog: say what the platform answered and do not retry.",
|
|
9021
9170
|
"tags": ["tasks"],
|
|
9022
9171
|
"x-kosuke-command": ["tasks", "start"],
|
|
9172
|
+
"x-kosuke-personal-space": true,
|
|
9023
9173
|
"x-kosuke-sandbox-token": true,
|
|
9024
9174
|
"x-kosuke-cron-token": true,
|
|
9025
9175
|
"x-kosuke-sensei-token": true,
|
|
@@ -9341,7 +9491,8 @@
|
|
|
9341
9491
|
"/api/personal-tasks": {
|
|
9342
9492
|
"get": {
|
|
9343
9493
|
"operationId": "tasksListPersonal",
|
|
9344
|
-
"summary": "List your personal tasks, newest first. status is a csv of todo, in_progress, done; includeOpenCount counts Todo and In progress with the same filters, independent of status and cursor.",
|
|
9494
|
+
"summary": "Deprecated: `kosuke tasks list personal` now calls GET /api/organizations/{workspaceId}/tasks with your Personal space id. List your personal tasks, newest first. status is a csv of todo, in_progress, done; includeOpenCount counts Todo and In progress with the same filters, independent of status and cursor.",
|
|
9495
|
+
"deprecated": true,
|
|
9345
9496
|
"tags": ["tasks"],
|
|
9346
9497
|
"x-kosuke-command": ["tasks", "list"],
|
|
9347
9498
|
"x-kosuke-variant": {
|
|
@@ -9458,7 +9609,8 @@
|
|
|
9458
9609
|
},
|
|
9459
9610
|
"post": {
|
|
9460
9611
|
"operationId": "tasksCreatePersonal",
|
|
9461
|
-
"summary": "File a personal task: yours alone, in no workspace. From a Sensei Turn it joins the Turn’s thread unless threadId names another. Check `kosuke tasks list personal` for one that covers it first.",
|
|
9612
|
+
"summary": "Deprecated: `kosuke tasks create personal` now calls POST /api/organizations/{workspaceId}/tasks with your Personal space id. File a personal task: yours alone, in no workspace. From a Sensei Turn it joins the Turn’s thread unless threadId names another. Check `kosuke tasks list personal` for one that covers it first.",
|
|
9613
|
+
"deprecated": true,
|
|
9462
9614
|
"tags": ["tasks"],
|
|
9463
9615
|
"x-kosuke-command": ["tasks", "create"],
|
|
9464
9616
|
"x-kosuke-variant": {
|
|
@@ -9545,7 +9697,8 @@
|
|
|
9545
9697
|
"/api/personal-tasks/{taskId}": {
|
|
9546
9698
|
"get": {
|
|
9547
9699
|
"operationId": "tasksGetPersonal",
|
|
9548
|
-
"summary": "Get one of your personal tasks.",
|
|
9700
|
+
"summary": "Deprecated: `kosuke tasks get personal` now calls GET /api/organizations/{workspaceId}/tasks/{taskId} with your Personal space id. Get one of your personal tasks.",
|
|
9701
|
+
"deprecated": true,
|
|
9549
9702
|
"tags": ["tasks"],
|
|
9550
9703
|
"x-kosuke-command": ["tasks", "get"],
|
|
9551
9704
|
"x-kosuke-variant": {
|
|
@@ -9601,7 +9754,8 @@
|
|
|
9601
9754
|
},
|
|
9602
9755
|
"patch": {
|
|
9603
9756
|
"operationId": "tasksUpdatePersonal",
|
|
9604
|
-
"summary": "Edit one of your personal tasks. dueOn or threadId null clears it.",
|
|
9757
|
+
"summary": "Deprecated: `kosuke tasks update personal` now calls PATCH /api/organizations/{workspaceId}/tasks/{taskId} with your Personal space id. Edit one of your personal tasks. dueOn or threadId null clears it.",
|
|
9758
|
+
"deprecated": true,
|
|
9605
9759
|
"tags": ["tasks"],
|
|
9606
9760
|
"x-kosuke-command": ["tasks", "update"],
|
|
9607
9761
|
"x-kosuke-variant": {
|
|
@@ -9716,7 +9870,8 @@
|
|
|
9716
9870
|
},
|
|
9717
9871
|
"delete": {
|
|
9718
9872
|
"operationId": "tasksDeletePersonal",
|
|
9719
|
-
"summary": "Delete one of your personal tasks.",
|
|
9873
|
+
"summary": "Deprecated: `kosuke tasks delete personal` now calls DELETE /api/organizations/{workspaceId}/tasks/{taskId} with your Personal space id. Delete one of your personal tasks.",
|
|
9874
|
+
"deprecated": true,
|
|
9720
9875
|
"tags": ["tasks"],
|
|
9721
9876
|
"x-kosuke-command": ["tasks", "delete"],
|
|
9722
9877
|
"x-kosuke-variant": {
|
|
@@ -9774,7 +9929,8 @@
|
|
|
9774
9929
|
"/api/personal-tasks/{taskId}/move": {
|
|
9775
9930
|
"post": {
|
|
9776
9931
|
"operationId": "tasksMovePersonal",
|
|
9777
|
-
"summary": "Move a Todo or In progress personal task into a workspace you belong to, as its Todo task assigned to you; the personal task is removed. A due date becomes the description’s last line. Only when the member asks.",
|
|
9932
|
+
"summary": "Deprecated: `kosuke tasks move personal` now calls POST /api/organizations/{workspaceId}/tasks/{taskId}/move with your Personal space id. Move a Todo or In progress personal task into a workspace you belong to, as its Todo task assigned to you; the personal task is removed. A due date becomes the description’s last line. Only when the member asks.",
|
|
9933
|
+
"deprecated": true,
|
|
9778
9934
|
"tags": ["tasks"],
|
|
9779
9935
|
"x-kosuke-command": ["tasks", "move"],
|
|
9780
9936
|
"x-kosuke-variant": {
|
|
@@ -9850,7 +10006,8 @@
|
|
|
9850
10006
|
"/api/personal-tasks/{taskId}/start": {
|
|
9851
10007
|
"post": {
|
|
9852
10008
|
"operationId": "tasksStartPersonal",
|
|
9853
|
-
"summary": "Start a Todo or In progress Personal task in a deployed Personal Repository.",
|
|
10009
|
+
"summary": "Deprecated: `kosuke tasks start personal` now calls POST /api/organizations/{workspaceId}/tasks/{taskId}/start with your Personal space id. Start a Todo or In progress Personal task in a deployed Personal Repository.",
|
|
10010
|
+
"deprecated": true,
|
|
9854
10011
|
"tags": ["tasks"],
|
|
9855
10012
|
"x-kosuke-command": ["tasks", "start"],
|
|
9856
10013
|
"x-kosuke-variant": {
|
|
@@ -9985,7 +10142,7 @@
|
|
|
9985
10142
|
},
|
|
9986
10143
|
"post": {
|
|
9987
10144
|
"operationId": "projectsCreate",
|
|
9988
|
-
"summary": "Connect a GitHub repository as a project in a workspace, or describe what to build to
|
|
10145
|
+
"summary": "Connect a GitHub repository as a project in a workspace (its Merge agent starts Off), or describe what to build to start a repository from kosuke-starter on a new Kosuke-Org repository (its Merge agent starts on the merge train with the go-ahead from passing checks, unless mergeAgentMode and mergeGoAhead say otherwise). With a repository, an optional prompt files its first task. Pass personal instead of orgId to create it in your Personal: your own credential, or your Sensei. Its first Deploy starts by itself, as the caller's; the first task starts on /kosuke:ship once it lands. Imports only a repository your own GitHub Connection can write to: 403 GITHUB_REPOSITORY_ACCESS_REQUIRED otherwise, 401 GITHUB_RECONNECT_REQUIRED when GitHub no longer accepts your connection. Pass personal only when the member asked for it. Report a chatError.",
|
|
9989
10146
|
"tags": ["projects"],
|
|
9990
10147
|
"x-kosuke-command": ["projects", "create"],
|
|
9991
10148
|
"x-kosuke-sandbox-token": true,
|
|
@@ -10005,23 +10162,28 @@
|
|
|
10005
10162
|
"maxLength": 100
|
|
10006
10163
|
},
|
|
10007
10164
|
"repositoryUrl": {
|
|
10008
|
-
"description": "The GitHub repository to import.
|
|
10165
|
+
"description": "The GitHub repository to import. Its Merge agent starts Off.",
|
|
10009
10166
|
"type": "string",
|
|
10010
10167
|
"minLength": 1
|
|
10011
10168
|
},
|
|
10012
10169
|
"description": {
|
|
10013
|
-
"description": "What to build, in a sentence.
|
|
10170
|
+
"description": "What to build, in a sentence. Starts a repository from kosuke-starter on a new private Kosuke-Org repository, with its first task filed from it.",
|
|
10014
10171
|
"type": "string",
|
|
10015
10172
|
"minLength": 1,
|
|
10016
10173
|
"maxLength": 2000
|
|
10017
10174
|
},
|
|
10018
|
-
"
|
|
10019
|
-
"description": "
|
|
10175
|
+
"mergeAgentMode": {
|
|
10176
|
+
"description": "With description: the Merge agent mode the new repository starts in. Defaults to train.",
|
|
10020
10177
|
"type": "string",
|
|
10021
|
-
"enum": ["
|
|
10178
|
+
"enum": ["train", "batch", "off"]
|
|
10179
|
+
},
|
|
10180
|
+
"mergeGoAhead": {
|
|
10181
|
+
"description": "With description and the train mode: what gives a pull request the go-ahead, a member (member) or its required checks passing on its head (checks). Defaults to checks.",
|
|
10182
|
+
"type": "string",
|
|
10183
|
+
"enum": ["member", "checks"]
|
|
10022
10184
|
},
|
|
10023
10185
|
"prompt": {
|
|
10024
|
-
"description": "With repositoryUrl
|
|
10186
|
+
"description": "With repositoryUrl: the first task's message. It starts on /kosuke:ship when the first Deploy lands.",
|
|
10025
10187
|
"type": "string",
|
|
10026
10188
|
"minLength": 1,
|
|
10027
10189
|
"maxLength": 2000
|
|
@@ -10322,359 +10484,10 @@
|
|
|
10322
10484
|
}
|
|
10323
10485
|
}
|
|
10324
10486
|
},
|
|
10325
|
-
"/api/projects/{projectId}/backlog-items": {
|
|
10326
|
-
"get": {
|
|
10327
|
-
"operationId": "projectsBacklogItemsList",
|
|
10328
|
-
"summary": "List a YOLO project's Backlog items in order: each one's title, prompt, state (parked, in_chat or done) and, once Done, the Version it was saved as.",
|
|
10329
|
-
"tags": ["projects"],
|
|
10330
|
-
"x-kosuke-command": ["projects", "backlog-items", "list"],
|
|
10331
|
-
"x-kosuke-sandbox-token": true,
|
|
10332
|
-
"x-kosuke-cron-token": true,
|
|
10333
|
-
"x-kosuke-sensei-token": true,
|
|
10334
|
-
"parameters": [
|
|
10335
|
-
{
|
|
10336
|
-
"name": "projectId",
|
|
10337
|
-
"in": "path",
|
|
10338
|
-
"required": true,
|
|
10339
|
-
"schema": {
|
|
10340
|
-
"type": "string",
|
|
10341
|
-
"format": "uuid",
|
|
10342
|
-
"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)$"
|
|
10343
|
-
}
|
|
10344
|
-
}
|
|
10345
|
-
],
|
|
10346
|
-
"responses": {
|
|
10347
|
-
"2XX": {
|
|
10348
|
-
"description": "Success envelope",
|
|
10349
|
-
"content": {
|
|
10350
|
-
"application/json": {
|
|
10351
|
-
"schema": {
|
|
10352
|
-
"$ref": "#/components/schemas/ApiSuccess"
|
|
10353
|
-
}
|
|
10354
|
-
}
|
|
10355
|
-
}
|
|
10356
|
-
},
|
|
10357
|
-
"4XX": {
|
|
10358
|
-
"description": "Error envelope",
|
|
10359
|
-
"content": {
|
|
10360
|
-
"application/json": {
|
|
10361
|
-
"schema": {
|
|
10362
|
-
"$ref": "#/components/schemas/ApiError"
|
|
10363
|
-
}
|
|
10364
|
-
}
|
|
10365
|
-
}
|
|
10366
|
-
},
|
|
10367
|
-
"5XX": {
|
|
10368
|
-
"description": "Error envelope",
|
|
10369
|
-
"content": {
|
|
10370
|
-
"application/json": {
|
|
10371
|
-
"schema": {
|
|
10372
|
-
"$ref": "#/components/schemas/ApiError"
|
|
10373
|
-
}
|
|
10374
|
-
}
|
|
10375
|
-
}
|
|
10376
|
-
}
|
|
10377
|
-
}
|
|
10378
|
-
},
|
|
10379
|
-
"post": {
|
|
10380
|
-
"operationId": "projectsBacklogItemsCreate",
|
|
10381
|
-
"summary": "Add a Backlog item to a YOLO project: a title and an optional prompt, Parked until someone sends it to the chat.",
|
|
10382
|
-
"tags": ["projects"],
|
|
10383
|
-
"x-kosuke-command": ["projects", "backlog-items", "create"],
|
|
10384
|
-
"x-kosuke-sandbox-token": true,
|
|
10385
|
-
"x-kosuke-cron-token": true,
|
|
10386
|
-
"x-kosuke-sensei-token": true,
|
|
10387
|
-
"parameters": [
|
|
10388
|
-
{
|
|
10389
|
-
"name": "projectId",
|
|
10390
|
-
"in": "path",
|
|
10391
|
-
"required": true,
|
|
10392
|
-
"schema": {
|
|
10393
|
-
"type": "string",
|
|
10394
|
-
"format": "uuid",
|
|
10395
|
-
"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)$"
|
|
10396
|
-
}
|
|
10397
|
-
}
|
|
10398
|
-
],
|
|
10399
|
-
"requestBody": {
|
|
10400
|
-
"required": true,
|
|
10401
|
-
"content": {
|
|
10402
|
-
"application/json": {
|
|
10403
|
-
"schema": {
|
|
10404
|
-
"type": "object",
|
|
10405
|
-
"properties": {
|
|
10406
|
-
"title": {
|
|
10407
|
-
"type": "string",
|
|
10408
|
-
"minLength": 1,
|
|
10409
|
-
"maxLength": 200
|
|
10410
|
-
},
|
|
10411
|
-
"prompt": {
|
|
10412
|
-
"type": "string",
|
|
10413
|
-
"maxLength": 20000
|
|
10414
|
-
}
|
|
10415
|
-
},
|
|
10416
|
-
"required": ["title"]
|
|
10417
|
-
}
|
|
10418
|
-
}
|
|
10419
|
-
}
|
|
10420
|
-
},
|
|
10421
|
-
"responses": {
|
|
10422
|
-
"2XX": {
|
|
10423
|
-
"description": "Success envelope",
|
|
10424
|
-
"content": {
|
|
10425
|
-
"application/json": {
|
|
10426
|
-
"schema": {
|
|
10427
|
-
"$ref": "#/components/schemas/ApiSuccess"
|
|
10428
|
-
}
|
|
10429
|
-
}
|
|
10430
|
-
}
|
|
10431
|
-
},
|
|
10432
|
-
"4XX": {
|
|
10433
|
-
"description": "Error envelope",
|
|
10434
|
-
"content": {
|
|
10435
|
-
"application/json": {
|
|
10436
|
-
"schema": {
|
|
10437
|
-
"$ref": "#/components/schemas/ApiError"
|
|
10438
|
-
}
|
|
10439
|
-
}
|
|
10440
|
-
}
|
|
10441
|
-
},
|
|
10442
|
-
"5XX": {
|
|
10443
|
-
"description": "Error envelope",
|
|
10444
|
-
"content": {
|
|
10445
|
-
"application/json": {
|
|
10446
|
-
"schema": {
|
|
10447
|
-
"$ref": "#/components/schemas/ApiError"
|
|
10448
|
-
}
|
|
10449
|
-
}
|
|
10450
|
-
}
|
|
10451
|
-
}
|
|
10452
|
-
}
|
|
10453
|
-
}
|
|
10454
|
-
},
|
|
10455
|
-
"/api/projects/{projectId}/backlog-items/{itemId}": {
|
|
10456
|
-
"patch": {
|
|
10457
|
-
"operationId": "projectsBacklogItemsUpdate",
|
|
10458
|
-
"summary": "Change a Backlog item's title, prompt or position in the list.",
|
|
10459
|
-
"tags": ["projects"],
|
|
10460
|
-
"x-kosuke-command": ["projects", "backlog-items", "update"],
|
|
10461
|
-
"x-kosuke-sandbox-token": true,
|
|
10462
|
-
"x-kosuke-cron-token": true,
|
|
10463
|
-
"x-kosuke-sensei-token": true,
|
|
10464
|
-
"parameters": [
|
|
10465
|
-
{
|
|
10466
|
-
"name": "projectId",
|
|
10467
|
-
"in": "path",
|
|
10468
|
-
"required": true,
|
|
10469
|
-
"schema": {
|
|
10470
|
-
"type": "string",
|
|
10471
|
-
"format": "uuid",
|
|
10472
|
-
"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)$"
|
|
10473
|
-
}
|
|
10474
|
-
},
|
|
10475
|
-
{
|
|
10476
|
-
"name": "itemId",
|
|
10477
|
-
"in": "path",
|
|
10478
|
-
"required": true,
|
|
10479
|
-
"schema": {
|
|
10480
|
-
"type": "string",
|
|
10481
|
-
"format": "uuid",
|
|
10482
|
-
"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)$"
|
|
10483
|
-
}
|
|
10484
|
-
}
|
|
10485
|
-
],
|
|
10486
|
-
"requestBody": {
|
|
10487
|
-
"required": true,
|
|
10488
|
-
"content": {
|
|
10489
|
-
"application/json": {
|
|
10490
|
-
"schema": {
|
|
10491
|
-
"type": "object",
|
|
10492
|
-
"properties": {
|
|
10493
|
-
"title": {
|
|
10494
|
-
"type": "string",
|
|
10495
|
-
"minLength": 1,
|
|
10496
|
-
"maxLength": 200
|
|
10497
|
-
},
|
|
10498
|
-
"prompt": {
|
|
10499
|
-
"type": "string",
|
|
10500
|
-
"maxLength": 20000
|
|
10501
|
-
},
|
|
10502
|
-
"position": {
|
|
10503
|
-
"type": "integer",
|
|
10504
|
-
"minimum": 0,
|
|
10505
|
-
"maximum": 9007199254740991
|
|
10506
|
-
}
|
|
10507
|
-
}
|
|
10508
|
-
}
|
|
10509
|
-
}
|
|
10510
|
-
}
|
|
10511
|
-
},
|
|
10512
|
-
"responses": {
|
|
10513
|
-
"2XX": {
|
|
10514
|
-
"description": "Success envelope",
|
|
10515
|
-
"content": {
|
|
10516
|
-
"application/json": {
|
|
10517
|
-
"schema": {
|
|
10518
|
-
"$ref": "#/components/schemas/ApiSuccess"
|
|
10519
|
-
}
|
|
10520
|
-
}
|
|
10521
|
-
}
|
|
10522
|
-
},
|
|
10523
|
-
"4XX": {
|
|
10524
|
-
"description": "Error envelope",
|
|
10525
|
-
"content": {
|
|
10526
|
-
"application/json": {
|
|
10527
|
-
"schema": {
|
|
10528
|
-
"$ref": "#/components/schemas/ApiError"
|
|
10529
|
-
}
|
|
10530
|
-
}
|
|
10531
|
-
}
|
|
10532
|
-
},
|
|
10533
|
-
"5XX": {
|
|
10534
|
-
"description": "Error envelope",
|
|
10535
|
-
"content": {
|
|
10536
|
-
"application/json": {
|
|
10537
|
-
"schema": {
|
|
10538
|
-
"$ref": "#/components/schemas/ApiError"
|
|
10539
|
-
}
|
|
10540
|
-
}
|
|
10541
|
-
}
|
|
10542
|
-
}
|
|
10543
|
-
}
|
|
10544
|
-
},
|
|
10545
|
-
"delete": {
|
|
10546
|
-
"operationId": "projectsBacklogItemsDelete",
|
|
10547
|
-
"summary": "Delete a Backlog item. One already sent to the chat stays in Up next.",
|
|
10548
|
-
"tags": ["projects"],
|
|
10549
|
-
"x-kosuke-command": ["projects", "backlog-items", "delete"],
|
|
10550
|
-
"x-kosuke-sandbox-token": true,
|
|
10551
|
-
"x-kosuke-cron-token": true,
|
|
10552
|
-
"x-kosuke-sensei-token": true,
|
|
10553
|
-
"parameters": [
|
|
10554
|
-
{
|
|
10555
|
-
"name": "projectId",
|
|
10556
|
-
"in": "path",
|
|
10557
|
-
"required": true,
|
|
10558
|
-
"schema": {
|
|
10559
|
-
"type": "string",
|
|
10560
|
-
"format": "uuid",
|
|
10561
|
-
"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)$"
|
|
10562
|
-
}
|
|
10563
|
-
},
|
|
10564
|
-
{
|
|
10565
|
-
"name": "itemId",
|
|
10566
|
-
"in": "path",
|
|
10567
|
-
"required": true,
|
|
10568
|
-
"schema": {
|
|
10569
|
-
"type": "string",
|
|
10570
|
-
"format": "uuid",
|
|
10571
|
-
"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)$"
|
|
10572
|
-
}
|
|
10573
|
-
}
|
|
10574
|
-
],
|
|
10575
|
-
"responses": {
|
|
10576
|
-
"2XX": {
|
|
10577
|
-
"description": "Success envelope",
|
|
10578
|
-
"content": {
|
|
10579
|
-
"application/json": {
|
|
10580
|
-
"schema": {
|
|
10581
|
-
"$ref": "#/components/schemas/ApiSuccess"
|
|
10582
|
-
}
|
|
10583
|
-
}
|
|
10584
|
-
}
|
|
10585
|
-
},
|
|
10586
|
-
"4XX": {
|
|
10587
|
-
"description": "Error envelope",
|
|
10588
|
-
"content": {
|
|
10589
|
-
"application/json": {
|
|
10590
|
-
"schema": {
|
|
10591
|
-
"$ref": "#/components/schemas/ApiError"
|
|
10592
|
-
}
|
|
10593
|
-
}
|
|
10594
|
-
}
|
|
10595
|
-
},
|
|
10596
|
-
"5XX": {
|
|
10597
|
-
"description": "Error envelope",
|
|
10598
|
-
"content": {
|
|
10599
|
-
"application/json": {
|
|
10600
|
-
"schema": {
|
|
10601
|
-
"$ref": "#/components/schemas/ApiError"
|
|
10602
|
-
}
|
|
10603
|
-
}
|
|
10604
|
-
}
|
|
10605
|
-
}
|
|
10606
|
-
}
|
|
10607
|
-
}
|
|
10608
|
-
},
|
|
10609
|
-
"/api/projects/{projectId}/backlog-items/{itemId}/send": {
|
|
10610
|
-
"post": {
|
|
10611
|
-
"operationId": "projectsBacklogItemsSend",
|
|
10612
|
-
"summary": "Send a Backlog item to the project's chat. It starts a Turn when the chat is idle and waits Up next, marked from Backlog, when it is working.",
|
|
10613
|
-
"tags": ["projects"],
|
|
10614
|
-
"x-kosuke-command": ["projects", "backlog-items", "send"],
|
|
10615
|
-
"x-kosuke-sandbox-token": true,
|
|
10616
|
-
"x-kosuke-cron-token": true,
|
|
10617
|
-
"x-kosuke-sensei-token": true,
|
|
10618
|
-
"parameters": [
|
|
10619
|
-
{
|
|
10620
|
-
"name": "projectId",
|
|
10621
|
-
"in": "path",
|
|
10622
|
-
"required": true,
|
|
10623
|
-
"schema": {
|
|
10624
|
-
"type": "string",
|
|
10625
|
-
"format": "uuid",
|
|
10626
|
-
"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)$"
|
|
10627
|
-
}
|
|
10628
|
-
},
|
|
10629
|
-
{
|
|
10630
|
-
"name": "itemId",
|
|
10631
|
-
"in": "path",
|
|
10632
|
-
"required": true,
|
|
10633
|
-
"schema": {
|
|
10634
|
-
"type": "string",
|
|
10635
|
-
"format": "uuid",
|
|
10636
|
-
"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)$"
|
|
10637
|
-
}
|
|
10638
|
-
}
|
|
10639
|
-
],
|
|
10640
|
-
"responses": {
|
|
10641
|
-
"2XX": {
|
|
10642
|
-
"description": "Success envelope",
|
|
10643
|
-
"content": {
|
|
10644
|
-
"application/json": {
|
|
10645
|
-
"schema": {
|
|
10646
|
-
"$ref": "#/components/schemas/ApiSuccess"
|
|
10647
|
-
}
|
|
10648
|
-
}
|
|
10649
|
-
}
|
|
10650
|
-
},
|
|
10651
|
-
"4XX": {
|
|
10652
|
-
"description": "Error envelope",
|
|
10653
|
-
"content": {
|
|
10654
|
-
"application/json": {
|
|
10655
|
-
"schema": {
|
|
10656
|
-
"$ref": "#/components/schemas/ApiError"
|
|
10657
|
-
}
|
|
10658
|
-
}
|
|
10659
|
-
}
|
|
10660
|
-
},
|
|
10661
|
-
"5XX": {
|
|
10662
|
-
"description": "Error envelope",
|
|
10663
|
-
"content": {
|
|
10664
|
-
"application/json": {
|
|
10665
|
-
"schema": {
|
|
10666
|
-
"$ref": "#/components/schemas/ApiError"
|
|
10667
|
-
}
|
|
10668
|
-
}
|
|
10669
|
-
}
|
|
10670
|
-
}
|
|
10671
|
-
}
|
|
10672
|
-
}
|
|
10673
|
-
},
|
|
10674
10487
|
"/api/projects/{projectId}/batch-merging": {
|
|
10675
10488
|
"get": {
|
|
10676
10489
|
"operationId": "projectsBatchMergingGet",
|
|
10677
|
-
"summary": "Read the Merge agent's mode (train: the merge train, batch: Batch merging, off: the platform merges nothing and members merge themselves; enabled is true for batch), how many go-ahead pull requests wait, and the run open now.",
|
|
10490
|
+
"summary": "Read the Merge agent's mode (train: the merge train, batch: Batch merging, off: the platform merges nothing and members merge themselves; enabled is true for batch), its Go-ahead under the merge train (goAhead member: a member gives each pull request the go-ahead; checks: a pull request whose required checks pass on its latest commit has it) and waitForQa (under checks, QA must pass too), how many go-ahead pull requests wait, and the run open now.",
|
|
10678
10491
|
"tags": ["projects"],
|
|
10679
10492
|
"x-kosuke-command": ["projects", "batch-merging", "get"],
|
|
10680
10493
|
"x-kosuke-sandbox-token": true,
|
|
@@ -10727,7 +10540,7 @@
|
|
|
10727
10540
|
},
|
|
10728
10541
|
"put": {
|
|
10729
10542
|
"operationId": "projectsBatchMergingSet",
|
|
10730
|
-
"summary": "Switch the Merge agent's mode. batch: Batch merging, a batch agent combines go-ahead pull requests into one Batch pull request, reviews and QAs it, then an admin approves it. train: the merge train merges them one at a time. off, the mode
|
|
10543
|
+
"summary": "Switch the Merge agent's mode, its Go-ahead, or Wait for QA; give any of them, and the others stay. mode batch: Batch merging, a batch agent combines go-ahead pull requests into one Batch pull request, reviews and QAs it, then an admin approves it. train: the merge train merges them one at a time. off, the mode an imported repository starts in: the platform merges, enqueues and batches nothing; members merge their pull requests themselves, and a run already open finishes what it carries. Batches run as the member who turned Batch merging on. goAhead, under the merge train: member, a member gives each pull request the go-ahead (QA must pass too); checks, a pull request a platform agent works on whose required checks pass on its latest commit has the go-ahead with nobody giving it, and waitForQa true makes it wait for QA to pass there too. Leaving train with checks takes back every go-ahead the checks gave. Switching to train or batch starts a run for the go-ahead pull requests that wait.",
|
|
10731
10544
|
"tags": ["projects"],
|
|
10732
10545
|
"x-kosuke-command": ["projects", "batch-merging", "set"],
|
|
10733
10546
|
"x-kosuke-sandbox-token": true,
|
|
@@ -10760,6 +10573,15 @@
|
|
|
10760
10573
|
"enabled": {
|
|
10761
10574
|
"description": "Older form of mode: true is batch, false is train. Give mode or enabled.",
|
|
10762
10575
|
"type": "boolean"
|
|
10576
|
+
},
|
|
10577
|
+
"goAhead": {
|
|
10578
|
+
"description": "Under the merge train, what gives a pull request the go-ahead. member: a member gives each one, today's behaviour. checks: a pull request whose required checks pass on its latest commit has the go-ahead; nobody has to give it.",
|
|
10579
|
+
"type": "string",
|
|
10580
|
+
"enum": ["member", "checks"]
|
|
10581
|
+
},
|
|
10582
|
+
"waitForQa": {
|
|
10583
|
+
"description": "Under goAhead checks: true makes a pull request also wait for its QA to pass on its latest commit before it merges. Under member, QA is always required.",
|
|
10584
|
+
"type": "boolean"
|
|
10763
10585
|
}
|
|
10764
10586
|
}
|
|
10765
10587
|
}
|
|
@@ -11586,7 +11408,7 @@
|
|
|
11586
11408
|
"/api/projects/{projectId}/chat-sessions/{sessionId}": {
|
|
11587
11409
|
"get": {
|
|
11588
11410
|
"operationId": "sessionsGet",
|
|
11589
|
-
"summary": "Read one chat session with its URL, latest job, pull request and taskId (the linked task in the project workspace, or null). A Backlog session also carries its promptRevision, which `kosuke sessions prompt update --if-revision` and `kosuke sensei tickets merge` name for each ticket an edit was written from. Each session carries waitingForDeploy: true while it waits for the Deploy to finish, false once the Deploy ends, before its sandbox starts.",
|
|
11411
|
+
"summary": "Read one chat session with its URL, latest job, pull request and taskId (the linked task in the project workspace, or null). A Backlog session also carries its promptRevision, which `kosuke sessions prompt update --if-revision` and `kosuke sensei tickets merge` name for each ticket an edit was written from. Each session carries waitingForDeploy: true while it waits for the Deploy to finish, false once the Deploy ends, before its sandbox starts. senseiThread is your Sensei thread that follows the session (id, title, url, and for a Sensei Turn thisThread: whether it is that Turn's own), or null: its events and cards go there.",
|
|
11590
11412
|
"tags": ["sessions"],
|
|
11591
11413
|
"x-kosuke-command": ["sessions", "get"],
|
|
11592
11414
|
"x-kosuke-sandbox-token": true,
|
|
@@ -14769,6 +14591,37 @@
|
|
|
14769
14591
|
"mainParent": {
|
|
14770
14592
|
"type": ["string", "null"]
|
|
14771
14593
|
},
|
|
14594
|
+
"since": {
|
|
14595
|
+
"anyOf": [
|
|
14596
|
+
{
|
|
14597
|
+
"type": "string",
|
|
14598
|
+
"pattern": "^[0-9a-f]{7,40}$"
|
|
14599
|
+
},
|
|
14600
|
+
{
|
|
14601
|
+
"type": "null"
|
|
14602
|
+
}
|
|
14603
|
+
]
|
|
14604
|
+
},
|
|
14605
|
+
"merges": {
|
|
14606
|
+
"maxItems": 100,
|
|
14607
|
+
"type": "array",
|
|
14608
|
+
"items": {
|
|
14609
|
+
"type": "object",
|
|
14610
|
+
"properties": {
|
|
14611
|
+
"merge": {
|
|
14612
|
+
"type": "string"
|
|
14613
|
+
},
|
|
14614
|
+
"firstParent": {
|
|
14615
|
+
"type": "string"
|
|
14616
|
+
},
|
|
14617
|
+
"mainParent": {
|
|
14618
|
+
"type": "string"
|
|
14619
|
+
}
|
|
14620
|
+
},
|
|
14621
|
+
"required": ["merge", "firstParent", "mainParent"],
|
|
14622
|
+
"additionalProperties": {}
|
|
14623
|
+
}
|
|
14624
|
+
},
|
|
14772
14625
|
"items": {
|
|
14773
14626
|
"type": "object",
|
|
14774
14627
|
"propertyNames": {
|
|
@@ -15594,7 +15447,38 @@
|
|
|
15594
15447
|
}
|
|
15595
15448
|
]
|
|
15596
15449
|
},
|
|
15597
|
-
"standin": {
|
|
15450
|
+
"standin": {
|
|
15451
|
+
"anyOf": [
|
|
15452
|
+
{
|
|
15453
|
+
"anyOf": [
|
|
15454
|
+
{
|
|
15455
|
+
"type": "object",
|
|
15456
|
+
"properties": {
|
|
15457
|
+
"simulator": {
|
|
15458
|
+
"type": "string",
|
|
15459
|
+
"minLength": 1,
|
|
15460
|
+
"maxLength": 200
|
|
15461
|
+
},
|
|
15462
|
+
"replaces": {
|
|
15463
|
+
"type": "string",
|
|
15464
|
+
"minLength": 1,
|
|
15465
|
+
"maxLength": 500
|
|
15466
|
+
}
|
|
15467
|
+
},
|
|
15468
|
+
"required": ["simulator", "replaces"],
|
|
15469
|
+
"additionalProperties": {}
|
|
15470
|
+
},
|
|
15471
|
+
{
|
|
15472
|
+
"type": "string",
|
|
15473
|
+
"maxLength": 2048
|
|
15474
|
+
}
|
|
15475
|
+
]
|
|
15476
|
+
},
|
|
15477
|
+
{
|
|
15478
|
+
"type": "null"
|
|
15479
|
+
}
|
|
15480
|
+
]
|
|
15481
|
+
},
|
|
15598
15482
|
"probeRun": {
|
|
15599
15483
|
"anyOf": [
|
|
15600
15484
|
{
|
|
@@ -17153,7 +17037,7 @@
|
|
|
17153
17037
|
"/api/projects/{projectId}/live/logs": {
|
|
17154
17038
|
"get": {
|
|
17155
17039
|
"operationId": "projectsLiveLogsList",
|
|
17156
|
-
"summary": "Read a published
|
|
17040
|
+
"summary": "Read a published repository's recent log lines from Workers Logs.",
|
|
17157
17041
|
"tags": ["projects"],
|
|
17158
17042
|
"x-kosuke-command": ["projects", "live", "logs", "list"],
|
|
17159
17043
|
"x-kosuke-sandbox-token": true,
|
|
@@ -17234,7 +17118,7 @@
|
|
|
17234
17118
|
"/api/projects/{projectId}/live/query": {
|
|
17235
17119
|
"post": {
|
|
17236
17120
|
"operationId": "projectsLiveQueriesRun",
|
|
17237
|
-
"summary": "Run one read-only SQL statement against a published
|
|
17121
|
+
"summary": "Run one read-only SQL statement against a published repository's live database and return at most 500 rows. Anything that writes is refused.",
|
|
17238
17122
|
"tags": ["projects"],
|
|
17239
17123
|
"x-kosuke-command": ["projects", "live", "queries", "run"],
|
|
17240
17124
|
"x-kosuke-sandbox-token": true,
|
|
@@ -17308,7 +17192,7 @@
|
|
|
17308
17192
|
"/api/projects/{projectId}/live/traffic": {
|
|
17309
17193
|
"get": {
|
|
17310
17194
|
"operationId": "projectsLiveTrafficGet",
|
|
17311
|
-
"summary": "Read a published
|
|
17195
|
+
"summary": "Read a published repository's request and error counts over the last hours, by status.",
|
|
17312
17196
|
"tags": ["projects"],
|
|
17313
17197
|
"x-kosuke-command": ["projects", "live", "traffic", "get"],
|
|
17314
17198
|
"x-kosuke-sandbox-token": true,
|
|
@@ -17373,150 +17257,6 @@
|
|
|
17373
17257
|
}
|
|
17374
17258
|
}
|
|
17375
17259
|
},
|
|
17376
|
-
"/api/projects/{projectId}/live/writes": {
|
|
17377
|
-
"post": {
|
|
17378
|
-
"operationId": "projectsLiveWritesCreate",
|
|
17379
|
-
"summary": "Propose a write to a published YOLO project's live database. Nothing runs: the chat shows a card with the table, the rows before and after and the exact SQL, and a member applies it. Only the project's chat proposes one. Any other caller gets 409 NO_CHAT.",
|
|
17380
|
-
"tags": ["projects"],
|
|
17381
|
-
"x-kosuke-command": ["projects", "live", "writes", "create"],
|
|
17382
|
-
"x-kosuke-sandbox-token": true,
|
|
17383
|
-
"x-kosuke-cron-token": true,
|
|
17384
|
-
"x-kosuke-sensei-token": true,
|
|
17385
|
-
"parameters": [
|
|
17386
|
-
{
|
|
17387
|
-
"name": "projectId",
|
|
17388
|
-
"in": "path",
|
|
17389
|
-
"required": true,
|
|
17390
|
-
"schema": {
|
|
17391
|
-
"type": "string",
|
|
17392
|
-
"format": "uuid",
|
|
17393
|
-
"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)$"
|
|
17394
|
-
}
|
|
17395
|
-
}
|
|
17396
|
-
],
|
|
17397
|
-
"requestBody": {
|
|
17398
|
-
"required": true,
|
|
17399
|
-
"content": {
|
|
17400
|
-
"application/json": {
|
|
17401
|
-
"schema": {
|
|
17402
|
-
"type": "object",
|
|
17403
|
-
"properties": {
|
|
17404
|
-
"sql": {
|
|
17405
|
-
"type": "string",
|
|
17406
|
-
"minLength": 1,
|
|
17407
|
-
"maxLength": 10000,
|
|
17408
|
-
"description": "One UPDATE, INSERT or DELETE on one table."
|
|
17409
|
-
},
|
|
17410
|
-
"reason": {
|
|
17411
|
-
"description": "One line on why, shown on the card the member confirms.",
|
|
17412
|
-
"type": "string",
|
|
17413
|
-
"maxLength": 500
|
|
17414
|
-
}
|
|
17415
|
-
},
|
|
17416
|
-
"required": ["sql"]
|
|
17417
|
-
}
|
|
17418
|
-
}
|
|
17419
|
-
}
|
|
17420
|
-
},
|
|
17421
|
-
"responses": {
|
|
17422
|
-
"2XX": {
|
|
17423
|
-
"description": "Success envelope",
|
|
17424
|
-
"content": {
|
|
17425
|
-
"application/json": {
|
|
17426
|
-
"schema": {
|
|
17427
|
-
"$ref": "#/components/schemas/ApiSuccess"
|
|
17428
|
-
}
|
|
17429
|
-
}
|
|
17430
|
-
}
|
|
17431
|
-
},
|
|
17432
|
-
"4XX": {
|
|
17433
|
-
"description": "Error envelope",
|
|
17434
|
-
"content": {
|
|
17435
|
-
"application/json": {
|
|
17436
|
-
"schema": {
|
|
17437
|
-
"$ref": "#/components/schemas/ApiError"
|
|
17438
|
-
}
|
|
17439
|
-
}
|
|
17440
|
-
}
|
|
17441
|
-
},
|
|
17442
|
-
"5XX": {
|
|
17443
|
-
"description": "Error envelope",
|
|
17444
|
-
"content": {
|
|
17445
|
-
"application/json": {
|
|
17446
|
-
"schema": {
|
|
17447
|
-
"$ref": "#/components/schemas/ApiError"
|
|
17448
|
-
}
|
|
17449
|
-
}
|
|
17450
|
-
}
|
|
17451
|
-
}
|
|
17452
|
-
}
|
|
17453
|
-
}
|
|
17454
|
-
},
|
|
17455
|
-
"/api/projects/{projectId}/live/writes/{writeId}": {
|
|
17456
|
-
"get": {
|
|
17457
|
-
"operationId": "projectsLiveWritesGet",
|
|
17458
|
-
"summary": "Read a proposed live write: its SQL, the rows before and after, and whether a member applied or dismissed it, who and when.",
|
|
17459
|
-
"tags": ["projects"],
|
|
17460
|
-
"x-kosuke-command": ["projects", "live", "writes", "get"],
|
|
17461
|
-
"x-kosuke-sandbox-token": true,
|
|
17462
|
-
"x-kosuke-cron-token": true,
|
|
17463
|
-
"x-kosuke-sensei-token": true,
|
|
17464
|
-
"parameters": [
|
|
17465
|
-
{
|
|
17466
|
-
"name": "projectId",
|
|
17467
|
-
"in": "path",
|
|
17468
|
-
"required": true,
|
|
17469
|
-
"schema": {
|
|
17470
|
-
"type": "string",
|
|
17471
|
-
"format": "uuid",
|
|
17472
|
-
"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)$"
|
|
17473
|
-
}
|
|
17474
|
-
},
|
|
17475
|
-
{
|
|
17476
|
-
"name": "writeId",
|
|
17477
|
-
"in": "path",
|
|
17478
|
-
"required": true,
|
|
17479
|
-
"schema": {
|
|
17480
|
-
"type": "string",
|
|
17481
|
-
"format": "uuid",
|
|
17482
|
-
"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)$"
|
|
17483
|
-
}
|
|
17484
|
-
}
|
|
17485
|
-
],
|
|
17486
|
-
"responses": {
|
|
17487
|
-
"2XX": {
|
|
17488
|
-
"description": "Success envelope",
|
|
17489
|
-
"content": {
|
|
17490
|
-
"application/json": {
|
|
17491
|
-
"schema": {
|
|
17492
|
-
"$ref": "#/components/schemas/ApiSuccess"
|
|
17493
|
-
}
|
|
17494
|
-
}
|
|
17495
|
-
}
|
|
17496
|
-
},
|
|
17497
|
-
"4XX": {
|
|
17498
|
-
"description": "Error envelope",
|
|
17499
|
-
"content": {
|
|
17500
|
-
"application/json": {
|
|
17501
|
-
"schema": {
|
|
17502
|
-
"$ref": "#/components/schemas/ApiError"
|
|
17503
|
-
}
|
|
17504
|
-
}
|
|
17505
|
-
}
|
|
17506
|
-
},
|
|
17507
|
-
"5XX": {
|
|
17508
|
-
"description": "Error envelope",
|
|
17509
|
-
"content": {
|
|
17510
|
-
"application/json": {
|
|
17511
|
-
"schema": {
|
|
17512
|
-
"$ref": "#/components/schemas/ApiError"
|
|
17513
|
-
}
|
|
17514
|
-
}
|
|
17515
|
-
}
|
|
17516
|
-
}
|
|
17517
|
-
}
|
|
17518
|
-
}
|
|
17519
|
-
},
|
|
17520
17260
|
"/api/projects/{projectId}/merge-agent": {
|
|
17521
17261
|
"get": {
|
|
17522
17262
|
"operationId": "projectsMergeAgentGet",
|
|
@@ -18324,7 +18064,7 @@
|
|
|
18324
18064
|
"/api/projects/{projectId}/releases": {
|
|
18325
18065
|
"get": {
|
|
18326
18066
|
"operationId": "projectsReleasesList",
|
|
18327
|
-
"summary": "List a
|
|
18067
|
+
"summary": "List a repository's Releases, newest first: the Version each published, its status (publishing, live, superseded or failed), and whether it changed the database schema.",
|
|
18328
18068
|
"tags": ["projects"],
|
|
18329
18069
|
"x-kosuke-command": ["projects", "releases", "list"],
|
|
18330
18070
|
"x-kosuke-sandbox-token": true,
|
|
@@ -20458,7 +20198,7 @@
|
|
|
20458
20198
|
"/api/projects/{projectId}/versions": {
|
|
20459
20199
|
"get": {
|
|
20460
20200
|
"operationId": "projectsVersionsList",
|
|
20461
|
-
"summary": "List a
|
|
20201
|
+
"summary": "List a repository's Versions, newest first: each task merged into the default branch (and, for a migrated App, each Turn it saved), with its commit and, for a Restore, the Version it brought back.",
|
|
20462
20202
|
"tags": ["projects"],
|
|
20463
20203
|
"x-kosuke-command": ["projects", "versions", "list"],
|
|
20464
20204
|
"x-kosuke-sandbox-token": true,
|
|
@@ -20510,78 +20250,6 @@
|
|
|
20510
20250
|
}
|
|
20511
20251
|
}
|
|
20512
20252
|
},
|
|
20513
|
-
"/api/projects/{projectId}/workflow": {
|
|
20514
|
-
"post": {
|
|
20515
|
-
"operationId": "projectsWorkflowSet",
|
|
20516
|
-
"summary": "Switch a project between YOLO mode and Collaboration. YOLO completes every Active and Under Review session and turns Backlog sessions into Backlog items; switching back revives the sessions it closed. Before a switch to YOLO, list the Active, Under Review and Backlog sessions it closes (`sessions list --status active,under-review,backlog`) and switch only on the member's yes in a later message. A YOLO project's work goes into its one chat, the oldest session not Completed: steer it, or create one when there is none, and never run /kosuke:ship there. A refusal (BRANCH_PROTECTED, TURN_IN_FLIGHT, QUEUED_FILES, BACKLOG_FILES) changed nothing: say it.",
|
|
20517
|
-
"tags": ["projects"],
|
|
20518
|
-
"x-kosuke-command": ["projects", "workflow", "set"],
|
|
20519
|
-
"x-kosuke-sandbox-token": true,
|
|
20520
|
-
"x-kosuke-cron-token": true,
|
|
20521
|
-
"x-kosuke-sensei-token": true,
|
|
20522
|
-
"parameters": [
|
|
20523
|
-
{
|
|
20524
|
-
"name": "projectId",
|
|
20525
|
-
"in": "path",
|
|
20526
|
-
"required": true,
|
|
20527
|
-
"schema": {
|
|
20528
|
-
"type": "string",
|
|
20529
|
-
"format": "uuid",
|
|
20530
|
-
"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)$"
|
|
20531
|
-
}
|
|
20532
|
-
}
|
|
20533
|
-
],
|
|
20534
|
-
"requestBody": {
|
|
20535
|
-
"required": true,
|
|
20536
|
-
"content": {
|
|
20537
|
-
"application/json": {
|
|
20538
|
-
"schema": {
|
|
20539
|
-
"type": "object",
|
|
20540
|
-
"properties": {
|
|
20541
|
-
"workflow": {
|
|
20542
|
-
"type": "string",
|
|
20543
|
-
"enum": ["collaboration", "yolo"]
|
|
20544
|
-
}
|
|
20545
|
-
},
|
|
20546
|
-
"required": ["workflow"]
|
|
20547
|
-
}
|
|
20548
|
-
}
|
|
20549
|
-
}
|
|
20550
|
-
},
|
|
20551
|
-
"responses": {
|
|
20552
|
-
"2XX": {
|
|
20553
|
-
"description": "Success envelope",
|
|
20554
|
-
"content": {
|
|
20555
|
-
"application/json": {
|
|
20556
|
-
"schema": {
|
|
20557
|
-
"$ref": "#/components/schemas/ApiSuccess"
|
|
20558
|
-
}
|
|
20559
|
-
}
|
|
20560
|
-
}
|
|
20561
|
-
},
|
|
20562
|
-
"4XX": {
|
|
20563
|
-
"description": "Error envelope",
|
|
20564
|
-
"content": {
|
|
20565
|
-
"application/json": {
|
|
20566
|
-
"schema": {
|
|
20567
|
-
"$ref": "#/components/schemas/ApiError"
|
|
20568
|
-
}
|
|
20569
|
-
}
|
|
20570
|
-
}
|
|
20571
|
-
},
|
|
20572
|
-
"5XX": {
|
|
20573
|
-
"description": "Error envelope",
|
|
20574
|
-
"content": {
|
|
20575
|
-
"application/json": {
|
|
20576
|
-
"schema": {
|
|
20577
|
-
"$ref": "#/components/schemas/ApiError"
|
|
20578
|
-
}
|
|
20579
|
-
}
|
|
20580
|
-
}
|
|
20581
|
-
}
|
|
20582
|
-
}
|
|
20583
|
-
}
|
|
20584
|
-
},
|
|
20585
20253
|
"/api/prototypes/render": {
|
|
20586
20254
|
"post": {
|
|
20587
20255
|
"operationId": "prototypesCreate",
|
|
@@ -22850,7 +22518,7 @@
|
|
|
22850
22518
|
"/api/sensei/cards/mark-read": {
|
|
22851
22519
|
"post": {
|
|
22852
22520
|
"operationId": "senseiCardsMarkRead",
|
|
22853
|
-
"summary": "Execute only the stored mark_read action of the card this member approved",
|
|
22521
|
+
"summary": "Execute only the stored mark_read action of the card this member approved. A result with readUnconfirmed may have reached WhatsApp: run it again to check and re-send",
|
|
22854
22522
|
"tags": ["sensei"],
|
|
22855
22523
|
"x-kosuke-command": ["sensei", "cards", "mark-read"],
|
|
22856
22524
|
"x-kosuke-sandbox-token": true,
|
|
@@ -23395,7 +23063,7 @@
|
|
|
23395
23063
|
"/api/sensei/describe": {
|
|
23396
23064
|
"post": {
|
|
23397
23065
|
"operationId": "senseiDescribeCardsCreate",
|
|
23398
|
-
"summary": "Put the Describe card in a message of your Turn's own thread, under your words: the member writes what the app does and creates it as a
|
|
23066
|
+
"summary": "Put the Describe card in a message of your Turn's own thread, under your words: the member writes what the app does and creates it as a repository from kosuke-starter in the workspace it names. Once created, the thread carries on in a Turn of its own. End your Turn after it. Refused when your Turn stopped.",
|
|
23399
23067
|
"tags": ["sensei"],
|
|
23400
23068
|
"x-kosuke-command": ["sensei", "describe-cards", "create"],
|
|
23401
23069
|
"x-kosuke-sandbox-token": true,
|
|
@@ -24113,7 +23781,8 @@
|
|
|
24113
23781
|
"type": ["number", "null"]
|
|
24114
23782
|
}
|
|
24115
23783
|
},
|
|
24116
|
-
"required": ["owner", "name",
|
|
23784
|
+
"required": ["owner", "name"],
|
|
23785
|
+
"description": "The pull request's repository as {\"owner\":\"...\",\"name\":\"...\"}, with the installationId facts return when known; the kosuke CLI also takes owner/repo."
|
|
24117
23786
|
},
|
|
24118
23787
|
"pullRequestNumber": {
|
|
24119
23788
|
"anyOf": [
|
|
@@ -24207,7 +23876,7 @@
|
|
|
24207
23876
|
"/api/sensei/sessions/facts": {
|
|
24208
23877
|
"get": {
|
|
24209
23878
|
"operationId": "senseiSessionsFactsGet",
|
|
24210
|
-
"summary": "Read fresh session evidence and the opaque revision needed for an assessment. Requires the running Sensei Turn to follow this session in its own thread.",
|
|
23879
|
+
"summary": "Read fresh session evidence and the opaque revision needed for an assessment, with the pull request's headSha, mergeable, mergeStateStatus, reviewDecision, reviewRequests and isDraft at the top level (null when there is no readable pull request). Requires the running Sensei Turn to follow this session in its own thread.",
|
|
24211
23880
|
"tags": ["sensei"],
|
|
24212
23881
|
"x-kosuke-command": ["sensei", "sessions", "facts", "get"],
|
|
24213
23882
|
"x-kosuke-sandbox-token": true,
|
|
@@ -24837,7 +24506,7 @@
|
|
|
24837
24506
|
"/api/sensei/threads/{threadId}": {
|
|
24838
24507
|
"get": {
|
|
24839
24508
|
"operationId": "senseiThreadsGet",
|
|
24840
|
-
"summary": "Read one of your Sensei Threads: its name, state, sessions and root, its replies oldest first, the Turn that runs or last ran in it, and its Up next. Paged: `limit` replies at a time,
|
|
24509
|
+
"summary": "Read one of your Sensei Threads: its name, state, sessions and root, its replies oldest first, the Turn that runs or last ran in it, and its Up next. Paged: `limit` replies at a time, `before` for the ones older than a reply already read, and `since` for the ones newer than it. `session` keeps the rows about one Chat Session.",
|
|
24841
24510
|
"tags": ["sensei"],
|
|
24842
24511
|
"x-kosuke-command": ["sensei", "threads", "get"],
|
|
24843
24512
|
"x-kosuke-sandbox-token": true,
|
|
@@ -24878,6 +24547,18 @@
|
|
|
24878
24547
|
"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)$"
|
|
24879
24548
|
}
|
|
24880
24549
|
},
|
|
24550
|
+
{
|
|
24551
|
+
"name": "since",
|
|
24552
|
+
"in": "query",
|
|
24553
|
+
"required": false,
|
|
24554
|
+
"description": "The id of the newest reply already read: answers only the replies after it, oldest first, alone.",
|
|
24555
|
+
"schema": {
|
|
24556
|
+
"description": "The id of the newest reply already read: answers only the replies after it, oldest first, alone.",
|
|
24557
|
+
"type": "string",
|
|
24558
|
+
"format": "uuid",
|
|
24559
|
+
"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)$"
|
|
24560
|
+
}
|
|
24561
|
+
},
|
|
24881
24562
|
{
|
|
24882
24563
|
"name": "session",
|
|
24883
24564
|
"in": "query",
|
|
@@ -25590,7 +25271,7 @@
|
|
|
25590
25271
|
"/api/tasks": {
|
|
25591
25272
|
"get": {
|
|
25592
25273
|
"operationId": "tasksListAll",
|
|
25593
|
-
"summary": "List tasks across your workspaces. Agent credentials stay in their workspace. includeOpenCount counts Todo and In progress with the same filters, independent of status and cursor. Before you file or propose a ticket, read the open ones (--status todo,in_progress --include-prompt, following meta.pagination.nextCursor with --cursor) and judge overlap by meaning, not title words: work another task or session already covers gets no new ticket.",
|
|
25274
|
+
"summary": "List tasks across your workspaces, your own Personal space included. Agent credentials stay in their workspace. includeOpenCount counts Todo and In progress with the same filters, independent of status and cursor. Before you file or propose a ticket, read the open ones (--status todo,in_progress --include-prompt, following meta.pagination.nextCursor with --cursor) and judge overlap by meaning, not title words: work another task or session already covers gets no new ticket.",
|
|
25594
25275
|
"tags": ["tasks"],
|
|
25595
25276
|
"x-kosuke-command": ["tasks", "list"],
|
|
25596
25277
|
"x-kosuke-variant": {
|
|
@@ -27496,6 +27177,47 @@
|
|
|
27496
27177
|
}
|
|
27497
27178
|
}
|
|
27498
27179
|
},
|
|
27180
|
+
"/api/user/personal-space": {
|
|
27181
|
+
"get": {
|
|
27182
|
+
"operationId": "userPersonalSpaceGet",
|
|
27183
|
+
"summary": "Your Personal space id: the workspaceId that personal stands for in kosuke tasks. Made on first use; yours alone.",
|
|
27184
|
+
"tags": ["user"],
|
|
27185
|
+
"x-kosuke-command": ["user", "personal-space", "get"],
|
|
27186
|
+
"x-kosuke-sensei-token": true,
|
|
27187
|
+
"responses": {
|
|
27188
|
+
"2XX": {
|
|
27189
|
+
"description": "Success envelope",
|
|
27190
|
+
"content": {
|
|
27191
|
+
"application/json": {
|
|
27192
|
+
"schema": {
|
|
27193
|
+
"$ref": "#/components/schemas/ApiSuccess"
|
|
27194
|
+
}
|
|
27195
|
+
}
|
|
27196
|
+
}
|
|
27197
|
+
},
|
|
27198
|
+
"4XX": {
|
|
27199
|
+
"description": "Error envelope",
|
|
27200
|
+
"content": {
|
|
27201
|
+
"application/json": {
|
|
27202
|
+
"schema": {
|
|
27203
|
+
"$ref": "#/components/schemas/ApiError"
|
|
27204
|
+
}
|
|
27205
|
+
}
|
|
27206
|
+
}
|
|
27207
|
+
},
|
|
27208
|
+
"5XX": {
|
|
27209
|
+
"description": "Error envelope",
|
|
27210
|
+
"content": {
|
|
27211
|
+
"application/json": {
|
|
27212
|
+
"schema": {
|
|
27213
|
+
"$ref": "#/components/schemas/ApiError"
|
|
27214
|
+
}
|
|
27215
|
+
}
|
|
27216
|
+
}
|
|
27217
|
+
}
|
|
27218
|
+
}
|
|
27219
|
+
}
|
|
27220
|
+
},
|
|
27499
27221
|
"/api/user/plugins": {
|
|
27500
27222
|
"get": {
|
|
27501
27223
|
"operationId": "pluginsListPersonal",
|