@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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kosuke-ai/kosuke",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.60",
|
|
4
4
|
"description": "Sensei platform CLI. The client customers install to drive app.kosuke.ai from their own machine.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -43,10 +43,17 @@
|
|
|
43
43
|
"minimatch": "^11.0.1"
|
|
44
44
|
},
|
|
45
45
|
"kosukeRelease": {
|
|
46
|
-
"sourceCommit": "
|
|
47
|
-
"sourceIdentity": "
|
|
46
|
+
"sourceCommit": "fd01a38ea4b04bf040e7df08e609efe75a1ea7ec",
|
|
47
|
+
"sourceIdentity": "b6d74e8173a3552187cfbb747effe3742c6378035773bcd69e85fc7be917c540",
|
|
48
48
|
"fragments": [
|
|
49
|
-
"
|
|
49
|
+
"repositories-only-cli-h59dec.json",
|
|
50
|
+
"qa-standin-simulator-r8aj6e.json",
|
|
51
|
+
"tasks-personal-space-b6cli7.json",
|
|
52
|
+
"cron-reattach-drain-hakfn4.json",
|
|
53
|
+
"mark-read-unconfirmed-eh4l04.json",
|
|
54
|
+
"kosuke-cli-agents-vjgjqn.json",
|
|
55
|
+
"qa-sync-since-z8xrol.json",
|
|
56
|
+
"merge-train-go-ahead-h59dec.json"
|
|
50
57
|
]
|
|
51
58
|
}
|
|
52
59
|
}
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
export const operation = {
|
|
2
|
-
"method": "post",
|
|
3
|
-
"path": "/api/projects/{projectId}/backlog-items",
|
|
4
|
-
"command": [
|
|
5
|
-
"projects",
|
|
6
|
-
"backlog-items",
|
|
7
|
-
"create"
|
|
8
|
-
],
|
|
9
|
-
"summary": "Add a Backlog item to a YOLO project: a title and an optional prompt, Parked until someone sends it to the chat.",
|
|
10
|
-
"pathParams": [
|
|
11
|
-
"projectId"
|
|
12
|
-
],
|
|
13
|
-
"query": [],
|
|
14
|
-
"body": {
|
|
15
|
-
"fields": [
|
|
16
|
-
{
|
|
17
|
-
"name": "title",
|
|
18
|
-
"flag": "title",
|
|
19
|
-
"kind": "string",
|
|
20
|
-
"required": true
|
|
21
|
-
},
|
|
22
|
-
{
|
|
23
|
-
"name": "prompt",
|
|
24
|
-
"flag": "prompt",
|
|
25
|
-
"kind": "string",
|
|
26
|
-
"required": false
|
|
27
|
-
}
|
|
28
|
-
],
|
|
29
|
-
"required": true
|
|
30
|
-
},
|
|
31
|
-
"multipart": null,
|
|
32
|
-
"attachments": false,
|
|
33
|
-
"anonymous": false,
|
|
34
|
-
"agents": "all"
|
|
35
|
-
};
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
export const operation = {
|
|
2
|
-
"method": "delete",
|
|
3
|
-
"path": "/api/projects/{projectId}/backlog-items/{itemId}",
|
|
4
|
-
"command": [
|
|
5
|
-
"projects",
|
|
6
|
-
"backlog-items",
|
|
7
|
-
"delete"
|
|
8
|
-
],
|
|
9
|
-
"summary": "Delete a Backlog item. One already sent to the chat stays in Up next.",
|
|
10
|
-
"pathParams": [
|
|
11
|
-
"projectId",
|
|
12
|
-
"itemId"
|
|
13
|
-
],
|
|
14
|
-
"query": [],
|
|
15
|
-
"body": null,
|
|
16
|
-
"multipart": null,
|
|
17
|
-
"attachments": false,
|
|
18
|
-
"anonymous": false,
|
|
19
|
-
"agents": "all"
|
|
20
|
-
};
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
export const operation = {
|
|
2
|
-
"method": "get",
|
|
3
|
-
"path": "/api/projects/{projectId}/backlog-items",
|
|
4
|
-
"command": [
|
|
5
|
-
"projects",
|
|
6
|
-
"backlog-items",
|
|
7
|
-
"list"
|
|
8
|
-
],
|
|
9
|
-
"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.",
|
|
10
|
-
"pathParams": [
|
|
11
|
-
"projectId"
|
|
12
|
-
],
|
|
13
|
-
"query": [],
|
|
14
|
-
"body": null,
|
|
15
|
-
"multipart": null,
|
|
16
|
-
"attachments": false,
|
|
17
|
-
"anonymous": false,
|
|
18
|
-
"agents": "all"
|
|
19
|
-
};
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
export const operation = {
|
|
2
|
-
"method": "post",
|
|
3
|
-
"path": "/api/projects/{projectId}/backlog-items/{itemId}/send",
|
|
4
|
-
"command": [
|
|
5
|
-
"projects",
|
|
6
|
-
"backlog-items",
|
|
7
|
-
"send"
|
|
8
|
-
],
|
|
9
|
-
"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.",
|
|
10
|
-
"pathParams": [
|
|
11
|
-
"projectId",
|
|
12
|
-
"itemId"
|
|
13
|
-
],
|
|
14
|
-
"query": [],
|
|
15
|
-
"body": null,
|
|
16
|
-
"multipart": null,
|
|
17
|
-
"attachments": false,
|
|
18
|
-
"anonymous": false,
|
|
19
|
-
"agents": "all"
|
|
20
|
-
};
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
export const operation = {
|
|
2
|
-
"method": "patch",
|
|
3
|
-
"path": "/api/projects/{projectId}/backlog-items/{itemId}",
|
|
4
|
-
"command": [
|
|
5
|
-
"projects",
|
|
6
|
-
"backlog-items",
|
|
7
|
-
"update"
|
|
8
|
-
],
|
|
9
|
-
"summary": "Change a Backlog item's title, prompt or position in the list.",
|
|
10
|
-
"pathParams": [
|
|
11
|
-
"projectId",
|
|
12
|
-
"itemId"
|
|
13
|
-
],
|
|
14
|
-
"query": [],
|
|
15
|
-
"body": {
|
|
16
|
-
"fields": [
|
|
17
|
-
{
|
|
18
|
-
"name": "title",
|
|
19
|
-
"flag": "title",
|
|
20
|
-
"kind": "string",
|
|
21
|
-
"required": false
|
|
22
|
-
},
|
|
23
|
-
{
|
|
24
|
-
"name": "prompt",
|
|
25
|
-
"flag": "prompt",
|
|
26
|
-
"kind": "string",
|
|
27
|
-
"required": false
|
|
28
|
-
},
|
|
29
|
-
{
|
|
30
|
-
"name": "position",
|
|
31
|
-
"flag": "position",
|
|
32
|
-
"kind": "integer",
|
|
33
|
-
"required": false
|
|
34
|
-
}
|
|
35
|
-
],
|
|
36
|
-
"required": true
|
|
37
|
-
},
|
|
38
|
-
"multipart": null,
|
|
39
|
-
"attachments": false,
|
|
40
|
-
"anonymous": false,
|
|
41
|
-
"agents": "all"
|
|
42
|
-
};
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
export const operation = {
|
|
2
|
-
"method": "post",
|
|
3
|
-
"path": "/api/projects/{projectId}/live/writes",
|
|
4
|
-
"command": [
|
|
5
|
-
"projects",
|
|
6
|
-
"live",
|
|
7
|
-
"writes",
|
|
8
|
-
"create"
|
|
9
|
-
],
|
|
10
|
-
"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.",
|
|
11
|
-
"pathParams": [
|
|
12
|
-
"projectId"
|
|
13
|
-
],
|
|
14
|
-
"query": [],
|
|
15
|
-
"body": {
|
|
16
|
-
"fields": [
|
|
17
|
-
{
|
|
18
|
-
"name": "sql",
|
|
19
|
-
"flag": "sql",
|
|
20
|
-
"kind": "string",
|
|
21
|
-
"required": true,
|
|
22
|
-
"description": "One UPDATE, INSERT or DELETE on one table."
|
|
23
|
-
},
|
|
24
|
-
{
|
|
25
|
-
"name": "reason",
|
|
26
|
-
"flag": "reason",
|
|
27
|
-
"kind": "string",
|
|
28
|
-
"required": false,
|
|
29
|
-
"description": "One line on why, shown on the card the member confirms."
|
|
30
|
-
}
|
|
31
|
-
],
|
|
32
|
-
"required": true
|
|
33
|
-
},
|
|
34
|
-
"multipart": null,
|
|
35
|
-
"attachments": false,
|
|
36
|
-
"anonymous": false,
|
|
37
|
-
"agents": "all"
|
|
38
|
-
};
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
export const operation = {
|
|
2
|
-
"method": "get",
|
|
3
|
-
"path": "/api/projects/{projectId}/live/writes/{writeId}",
|
|
4
|
-
"command": [
|
|
5
|
-
"projects",
|
|
6
|
-
"live",
|
|
7
|
-
"writes",
|
|
8
|
-
"get"
|
|
9
|
-
],
|
|
10
|
-
"summary": "Read a proposed live write: its SQL, the rows before and after, and whether a member applied or dismissed it, who and when.",
|
|
11
|
-
"pathParams": [
|
|
12
|
-
"projectId",
|
|
13
|
-
"writeId"
|
|
14
|
-
],
|
|
15
|
-
"query": [],
|
|
16
|
-
"body": null,
|
|
17
|
-
"multipart": null,
|
|
18
|
-
"attachments": false,
|
|
19
|
-
"anonymous": false,
|
|
20
|
-
"agents": "all"
|
|
21
|
-
};
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
export const operation = {
|
|
2
|
-
"method": "post",
|
|
3
|
-
"path": "/api/projects/{projectId}/workflow",
|
|
4
|
-
"command": [
|
|
5
|
-
"projects",
|
|
6
|
-
"workflow",
|
|
7
|
-
"set"
|
|
8
|
-
],
|
|
9
|
-
"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.",
|
|
10
|
-
"pathParams": [
|
|
11
|
-
"projectId"
|
|
12
|
-
],
|
|
13
|
-
"query": [],
|
|
14
|
-
"body": {
|
|
15
|
-
"fields": [
|
|
16
|
-
{
|
|
17
|
-
"name": "workflow",
|
|
18
|
-
"flag": "workflow",
|
|
19
|
-
"kind": "string",
|
|
20
|
-
"required": true,
|
|
21
|
-
"choices": [
|
|
22
|
-
"collaboration",
|
|
23
|
-
"yolo"
|
|
24
|
-
]
|
|
25
|
-
}
|
|
26
|
-
],
|
|
27
|
-
"required": true
|
|
28
|
-
},
|
|
29
|
-
"multipart": null,
|
|
30
|
-
"attachments": false,
|
|
31
|
-
"anonymous": false,
|
|
32
|
-
"agents": "all"
|
|
33
|
-
};
|