@kosuke-ai/kosuke 1.0.102 → 1.0.104
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 +11 -0
- package/dist/agent/summary.js +13 -3
- package/dist/commands/merge-train-order.js +2 -1
- package/dist/generated/commands/index.js +242 -246
- package/dist/generated/commands/projects/create.js +0 -1
- package/dist/generated/commands/projects/merge-agent-ci-check-fix-start.js +20 -0
- package/dist/generated/commands/projects/merge-agent-ci-check-get.js +20 -0
- package/dist/generated/commands/projects/merge-agent-finish.js +30 -0
- package/dist/generated/commands/projects/merge-agent-get.js +1 -1
- package/dist/generated/commands/projects/merge-agent-model-set.js +1 -1
- package/dist/generated/commands/projects/merge-agent-runs-list.js +1 -1
- package/dist/generated/commands/projects/{batch-merging-set.js → merge-agent-set.js} +4 -12
- package/dist/generated/commands/sessions/go-ahead-delete.js +1 -1
- package/dist/generated/commands/sessions/go-ahead-set.js +1 -1
- package/dist/generated/commands/sessions/list--all.js +1 -1
- package/dist/generated/commands/sessions/list.js +1 -1
- package/dist/generated/commands/sessions/qa-runs-finish.js +0 -21
- package/dist/generated/commands/sessions/send.js +1 -1
- package/dist/generated/commands/sessions/steer.js +1 -1
- package/openapi.json +272 -477
- package/package.json +7 -4
- package/dist/generated/commands/projects/batch-merging-finish.js +0 -30
- package/dist/generated/commands/projects/batch-merging-get.js +0 -19
- package/dist/generated/commands/projects/batch-merging-members-create.js +0 -31
- package/dist/generated/commands/projects/batch-merging-members-delete.js +0 -45
- package/dist/generated/commands/projects/batch-merging-picks-set.js +0 -32
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kosuke-ai/kosuke",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.104",
|
|
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,13 @@
|
|
|
43
43
|
"minimatch": "^11.0.1"
|
|
44
44
|
},
|
|
45
45
|
"kosukeRelease": {
|
|
46
|
-
"sourceCommit": "
|
|
47
|
-
"sourceIdentity": "
|
|
46
|
+
"sourceCommit": "f4122b55135388204fc3d90299c5ac699494e7d9",
|
|
47
|
+
"sourceIdentity": "c50a6b973d679bb68171608c09207dbb0a666e6e82d54ca2f8be5564c87c26ae",
|
|
48
48
|
"fragments": [
|
|
49
|
-
"
|
|
49
|
+
"merge-agent-ci-check-tp706v.json",
|
|
50
|
+
"merge-train-wait-changes-dzhjsi.json",
|
|
51
|
+
"remove-batch-merging-69rlrr.json",
|
|
52
|
+
"merge-train-order-throughput-a98jft.json"
|
|
50
53
|
]
|
|
51
54
|
}
|
|
52
55
|
}
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
export const operation = {
|
|
2
|
-
"method": "post",
|
|
3
|
-
"path": "/api/projects/{projectId}/batch-merging/finish",
|
|
4
|
-
"command": [
|
|
5
|
-
"projects",
|
|
6
|
-
"batch-merging",
|
|
7
|
-
"finish"
|
|
8
|
-
],
|
|
9
|
-
"summary": "The running Batch's own session only: end the Batch with nothing to merge, when it left every pull request out or failed on its own work. The platform starts no Batch for the same ready pull requests for an hour, or until one changes. Kosuke then closes the Batch's pull request with a comment giving the reason, which archives its session. A Batch whose pull request merges or closes ends on its own.",
|
|
10
|
-
"pathParams": [
|
|
11
|
-
"projectId"
|
|
12
|
-
],
|
|
13
|
-
"query": [],
|
|
14
|
-
"body": {
|
|
15
|
-
"fields": [
|
|
16
|
-
{
|
|
17
|
-
"name": "reason",
|
|
18
|
-
"flag": "reason",
|
|
19
|
-
"kind": "string",
|
|
20
|
-
"required": true,
|
|
21
|
-
"description": "Why the Batch ends with nothing to merge."
|
|
22
|
-
}
|
|
23
|
-
],
|
|
24
|
-
"required": true
|
|
25
|
-
},
|
|
26
|
-
"multipart": null,
|
|
27
|
-
"attachments": false,
|
|
28
|
-
"anonymous": false,
|
|
29
|
-
"agents": "all"
|
|
30
|
-
};
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
export const operation = {
|
|
2
|
-
"method": "get",
|
|
3
|
-
"path": "/api/projects/{projectId}/batch-merging",
|
|
4
|
-
"command": [
|
|
5
|
-
"projects",
|
|
6
|
-
"batch-merging",
|
|
7
|
-
"get"
|
|
8
|
-
],
|
|
9
|
-
"summary": "Read the Merge agent's mode (train: the merge train, batch: Batch merging, off: the platform merges nothing and members merge themselves; mode alone says whether it is off, and the output has no enabled boolean), 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.",
|
|
10
|
-
"pathParams": [
|
|
11
|
-
"projectId"
|
|
12
|
-
],
|
|
13
|
-
"query": [],
|
|
14
|
-
"body": null,
|
|
15
|
-
"multipart": null,
|
|
16
|
-
"attachments": false,
|
|
17
|
-
"anonymous": false,
|
|
18
|
-
"agents": "all"
|
|
19
|
-
};
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
export const operation = {
|
|
2
|
-
"method": "post",
|
|
3
|
-
"path": "/api/projects/{projectId}/batch-merging/members",
|
|
4
|
-
"command": [
|
|
5
|
-
"projects",
|
|
6
|
-
"batch-merging",
|
|
7
|
-
"members",
|
|
8
|
-
"create"
|
|
9
|
-
],
|
|
10
|
-
"summary": "The running Batch's own session only: record that the Batch carries a task's pull request, before closing it on GitHub. Its task then stays under review, is completed when the Batch merges, and gets its pull request reopened when the Batch ends without merging. Safe to repeat.",
|
|
11
|
-
"pathParams": [
|
|
12
|
-
"projectId"
|
|
13
|
-
],
|
|
14
|
-
"query": [],
|
|
15
|
-
"body": {
|
|
16
|
-
"fields": [
|
|
17
|
-
{
|
|
18
|
-
"name": "pullRequest",
|
|
19
|
-
"flag": "pull-request",
|
|
20
|
-
"kind": "integer",
|
|
21
|
-
"required": true,
|
|
22
|
-
"description": "The task pull request the Batch carries and is about to close."
|
|
23
|
-
}
|
|
24
|
-
],
|
|
25
|
-
"required": true
|
|
26
|
-
},
|
|
27
|
-
"multipart": null,
|
|
28
|
-
"attachments": false,
|
|
29
|
-
"anonymous": false,
|
|
30
|
-
"agents": "all"
|
|
31
|
-
};
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
export const operation = {
|
|
2
|
-
"method": "post",
|
|
3
|
-
"path": "/api/projects/{projectId}/batch-merging/ejections",
|
|
4
|
-
"command": [
|
|
5
|
-
"projects",
|
|
6
|
-
"batch-merging",
|
|
7
|
-
"members",
|
|
8
|
-
"delete"
|
|
9
|
-
],
|
|
10
|
-
"summary": "The running Batch's own session only: leave a pull request out of the Batch and send the reason to that pull request's task, whose agent fixes it for the next Batch.",
|
|
11
|
-
"pathParams": [
|
|
12
|
-
"projectId"
|
|
13
|
-
],
|
|
14
|
-
"query": [],
|
|
15
|
-
"body": {
|
|
16
|
-
"fields": [
|
|
17
|
-
{
|
|
18
|
-
"name": "pullRequest",
|
|
19
|
-
"flag": "pull-request",
|
|
20
|
-
"kind": "integer",
|
|
21
|
-
"required": true,
|
|
22
|
-
"description": "The pull request the Batch leaves out."
|
|
23
|
-
},
|
|
24
|
-
{
|
|
25
|
-
"name": "reason",
|
|
26
|
-
"flag": "reason",
|
|
27
|
-
"kind": "string",
|
|
28
|
-
"required": true,
|
|
29
|
-
"description": "What failed, with the evidence its task needs to fix it."
|
|
30
|
-
},
|
|
31
|
-
{
|
|
32
|
-
"name": "summary",
|
|
33
|
-
"flag": "summary",
|
|
34
|
-
"kind": "string",
|
|
35
|
-
"required": false,
|
|
36
|
-
"description": "What its member reads on the task card, in one or two plain sentences: why it was left out, who handles it, and whether the member must act."
|
|
37
|
-
}
|
|
38
|
-
],
|
|
39
|
-
"required": true
|
|
40
|
-
},
|
|
41
|
-
"multipart": null,
|
|
42
|
-
"attachments": false,
|
|
43
|
-
"anonymous": false,
|
|
44
|
-
"agents": "all"
|
|
45
|
-
};
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
export const operation = {
|
|
2
|
-
"method": "put",
|
|
3
|
-
"path": "/api/projects/{projectId}/batch-merging/picks",
|
|
4
|
-
"command": [
|
|
5
|
-
"projects",
|
|
6
|
-
"batch-merging",
|
|
7
|
-
"picks",
|
|
8
|
-
"set"
|
|
9
|
-
],
|
|
10
|
-
"summary": "The open Batch's own session only: replace the list of task pull requests merged into its branch. Their tasks show the Batch while it runs, and stop once it ends. Safe to repeat.",
|
|
11
|
-
"pathParams": [
|
|
12
|
-
"projectId"
|
|
13
|
-
],
|
|
14
|
-
"query": [],
|
|
15
|
-
"body": {
|
|
16
|
-
"fields": [
|
|
17
|
-
{
|
|
18
|
-
"name": "pullRequests",
|
|
19
|
-
"flag": "pull-requests",
|
|
20
|
-
"kind": "json",
|
|
21
|
-
"required": true,
|
|
22
|
-
"description": "Every task pull request merged into this Batch's branch now, in merge order: the whole list, never its base Batch's. An empty list clears it.",
|
|
23
|
-
"shape": "integer[] (max 500)"
|
|
24
|
-
}
|
|
25
|
-
],
|
|
26
|
-
"required": true
|
|
27
|
-
},
|
|
28
|
-
"multipart": null,
|
|
29
|
-
"attachments": false,
|
|
30
|
-
"anonymous": false,
|
|
31
|
-
"agents": "all"
|
|
32
|
-
};
|