@kosuke-ai/kosuke 1.0.125 → 1.0.127
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 +8 -0
- package/dist/generated/commands/crons/create--personal.js +1 -1
- package/dist/generated/commands/index.js +227 -219
- package/dist/generated/commands/projects/merge-agent-get.js +1 -1
- package/dist/generated/commands/projects/merge-agent-order-delete.js +22 -0
- package/dist/generated/commands/projects/merge-agent-order-move.js +40 -0
- package/dist/generated/commands/projects/merge-agent-set.js +12 -6
- package/dist/generated/commands/projects/shipping-get.js +19 -0
- package/dist/generated/commands/projects/shipping-set.js +47 -0
- package/dist/generated/commands/sessions/create.js +48 -0
- package/dist/generated/commands/sessions/update.js +24 -0
- package/dist/generated/commands/tasks/create--personal.js +48 -0
- package/dist/generated/commands/tasks/create.js +48 -0
- package/dist/generated/commands/tasks/update--personal.js +24 -0
- package/dist/generated/commands/tasks/update.js +24 -0
- package/openapi.json +337 -6
- package/package.json +4 -4
|
@@ -6,7 +6,7 @@ export const operation = {
|
|
|
6
6
|
"merge-agent",
|
|
7
7
|
"set"
|
|
8
8
|
],
|
|
9
|
-
"summary": "Switch the Merge agent's mode, its Go-ahead
|
|
9
|
+
"summary": "Switch the Merge agent's mode, its Go-ahead or its QA level; give any of them, and the others stay. mode train: the merge train merges go-ahead pull requests one at a time. off, the mode an imported repository starts in: the platform merges and enqueues nothing; members merge their pull requests themselves, and a run already open finishes what it carries. goAhead, under the merge train: member, a member gives each pull request the go-ahead; checks, a pull request a platform agent works on whose required checks pass on its latest commit, with QA as its level asks, has the go-ahead with nobody giving it. qaLevel scaleup (a new project's) or enterprise: what QA a pull request whose ship QA is on needs before it merges. Leaving train with checks takes back every go-ahead the checks gave; a stricter level takes back those it no longer allows. Switching to train starts a run for the go-ahead pull requests that wait. Members and their Sensei only.",
|
|
10
10
|
"pathParams": [
|
|
11
11
|
"projectId"
|
|
12
12
|
],
|
|
@@ -36,11 +36,15 @@ export const operation = {
|
|
|
36
36
|
]
|
|
37
37
|
},
|
|
38
38
|
{
|
|
39
|
-
"name": "
|
|
40
|
-
"flag": "
|
|
41
|
-
"kind": "
|
|
39
|
+
"name": "qaLevel",
|
|
40
|
+
"flag": "qa-level",
|
|
41
|
+
"kind": "string",
|
|
42
42
|
"required": false,
|
|
43
|
-
"description": "
|
|
43
|
+
"description": "How much QA the merge train asks of a pull request whose ship QA is on. scaleup: QA passed once on the pull request, at any commit, counts, and a sync keeps it, unless main brought a runtime change (a migration, a dependency manifest or lockfile, a Dockerfile, the sandbox runtime) since. enterprise: QA must pass at the exact head, and every sync needs QA again. A task whose ship QA is off (`projects shipping set`, `sessions update --qa`) needs no QA to merge.",
|
|
44
|
+
"choices": [
|
|
45
|
+
"scaleup",
|
|
46
|
+
"enterprise"
|
|
47
|
+
]
|
|
44
48
|
}
|
|
45
49
|
],
|
|
46
50
|
"required": true
|
|
@@ -48,5 +52,7 @@ export const operation = {
|
|
|
48
52
|
"multipart": null,
|
|
49
53
|
"attachments": false,
|
|
50
54
|
"anonymous": false,
|
|
51
|
-
"agents":
|
|
55
|
+
"agents": [
|
|
56
|
+
"senseiToken"
|
|
57
|
+
]
|
|
52
58
|
};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export const operation = {
|
|
2
|
+
"method": "get",
|
|
3
|
+
"path": "/api/projects/{projectId}/settings/shipping",
|
|
4
|
+
"command": [
|
|
5
|
+
"projects",
|
|
6
|
+
"shipping",
|
|
7
|
+
"get"
|
|
8
|
+
],
|
|
9
|
+
"summary": "Read the project's Shipping: shipQa and shipReview, whether /kosuke:ship runs its QA step and its review step for a task that does not set its own. Both start on.",
|
|
10
|
+
"pathParams": [
|
|
11
|
+
"projectId"
|
|
12
|
+
],
|
|
13
|
+
"query": [],
|
|
14
|
+
"body": null,
|
|
15
|
+
"multipart": null,
|
|
16
|
+
"attachments": false,
|
|
17
|
+
"anonymous": false,
|
|
18
|
+
"agents": "all"
|
|
19
|
+
};
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
export const operation = {
|
|
2
|
+
"method": "put",
|
|
3
|
+
"path": "/api/projects/{projectId}/settings/shipping",
|
|
4
|
+
"command": [
|
|
5
|
+
"projects",
|
|
6
|
+
"shipping",
|
|
7
|
+
"set"
|
|
8
|
+
],
|
|
9
|
+
"summary": "Turn the project's Shipping QA or review on or off, for every task that does not set its own: ship skips a step that is off. A task with QA off needs no QA to merge; turning QA on takes back the checks' go-aheads it no longer allows. Members and their Sensei only.",
|
|
10
|
+
"pathParams": [
|
|
11
|
+
"projectId"
|
|
12
|
+
],
|
|
13
|
+
"query": [],
|
|
14
|
+
"body": {
|
|
15
|
+
"fields": [
|
|
16
|
+
{
|
|
17
|
+
"name": "qa",
|
|
18
|
+
"flag": "qa",
|
|
19
|
+
"kind": "string",
|
|
20
|
+
"required": false,
|
|
21
|
+
"description": "off: /kosuke:ship skips its QA step (no QA Report), and a task needs no QA to merge. on: ship runs QA, and the merge train asks for it as the Merge agent's qaLevel says. A task's own (`sessions update --qa`) overrides it.",
|
|
22
|
+
"choices": [
|
|
23
|
+
"on",
|
|
24
|
+
"off"
|
|
25
|
+
]
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
"name": "review",
|
|
29
|
+
"flag": "review",
|
|
30
|
+
"kind": "string",
|
|
31
|
+
"required": false,
|
|
32
|
+
"description": "off: /kosuke:ship skips its review step. on: it reviews before QA. A task's own (`sessions update --review`) overrides it.",
|
|
33
|
+
"choices": [
|
|
34
|
+
"on",
|
|
35
|
+
"off"
|
|
36
|
+
]
|
|
37
|
+
}
|
|
38
|
+
],
|
|
39
|
+
"required": true
|
|
40
|
+
},
|
|
41
|
+
"multipart": null,
|
|
42
|
+
"attachments": false,
|
|
43
|
+
"anonymous": false,
|
|
44
|
+
"agents": [
|
|
45
|
+
"senseiToken"
|
|
46
|
+
]
|
|
47
|
+
};
|
|
@@ -115,6 +115,30 @@ export const operation = {
|
|
|
115
115
|
"start",
|
|
116
116
|
"skip"
|
|
117
117
|
]
|
|
118
|
+
},
|
|
119
|
+
{
|
|
120
|
+
"name": "qa",
|
|
121
|
+
"flag": "qa",
|
|
122
|
+
"kind": "string",
|
|
123
|
+
"required": false,
|
|
124
|
+
"description": "This task's own ship QA: off skips /kosuke:ship's QA step and needs no QA to merge; on runs it; default follows the project's Shipping. Members and their Sensei only.",
|
|
125
|
+
"choices": [
|
|
126
|
+
"on",
|
|
127
|
+
"off",
|
|
128
|
+
"default"
|
|
129
|
+
]
|
|
130
|
+
},
|
|
131
|
+
{
|
|
132
|
+
"name": "review",
|
|
133
|
+
"flag": "review",
|
|
134
|
+
"kind": "string",
|
|
135
|
+
"required": false,
|
|
136
|
+
"description": "This task's own ship review: off skips /kosuke:ship's review step; on runs it; default follows the project's Shipping. Members and their Sensei only.",
|
|
137
|
+
"choices": [
|
|
138
|
+
"on",
|
|
139
|
+
"off",
|
|
140
|
+
"default"
|
|
141
|
+
]
|
|
118
142
|
}
|
|
119
143
|
],
|
|
120
144
|
"required": true
|
|
@@ -223,6 +247,30 @@ export const operation = {
|
|
|
223
247
|
"start",
|
|
224
248
|
"skip"
|
|
225
249
|
]
|
|
250
|
+
},
|
|
251
|
+
{
|
|
252
|
+
"name": "qa",
|
|
253
|
+
"flag": "qa",
|
|
254
|
+
"kind": "string",
|
|
255
|
+
"required": false,
|
|
256
|
+
"description": "This task's own ship QA: off skips /kosuke:ship's QA step and needs no QA to merge; on runs it; default follows the project's Shipping. Members and their Sensei only.",
|
|
257
|
+
"choices": [
|
|
258
|
+
"on",
|
|
259
|
+
"off",
|
|
260
|
+
"default"
|
|
261
|
+
]
|
|
262
|
+
},
|
|
263
|
+
{
|
|
264
|
+
"name": "review",
|
|
265
|
+
"flag": "review",
|
|
266
|
+
"kind": "string",
|
|
267
|
+
"required": false,
|
|
268
|
+
"description": "This task's own ship review: off skips /kosuke:ship's review step; on runs it; default follows the project's Shipping. Members and their Sensei only.",
|
|
269
|
+
"choices": [
|
|
270
|
+
"on",
|
|
271
|
+
"off",
|
|
272
|
+
"default"
|
|
273
|
+
]
|
|
226
274
|
}
|
|
227
275
|
],
|
|
228
276
|
"attachments": {
|
|
@@ -102,6 +102,30 @@ export const operation = {
|
|
|
102
102
|
"start",
|
|
103
103
|
"skip"
|
|
104
104
|
]
|
|
105
|
+
},
|
|
106
|
+
{
|
|
107
|
+
"name": "qa",
|
|
108
|
+
"flag": "qa",
|
|
109
|
+
"kind": "string",
|
|
110
|
+
"required": false,
|
|
111
|
+
"description": "This task's own ship QA: off skips /kosuke:ship's QA step and needs no QA to merge; on runs it; default follows the project's Shipping. Members and their Sensei only.",
|
|
112
|
+
"choices": [
|
|
113
|
+
"on",
|
|
114
|
+
"off",
|
|
115
|
+
"default"
|
|
116
|
+
]
|
|
117
|
+
},
|
|
118
|
+
{
|
|
119
|
+
"name": "review",
|
|
120
|
+
"flag": "review",
|
|
121
|
+
"kind": "string",
|
|
122
|
+
"required": false,
|
|
123
|
+
"description": "This task's own ship review: off skips /kosuke:ship's review step; on runs it; default follows the project's Shipping. Members and their Sensei only.",
|
|
124
|
+
"choices": [
|
|
125
|
+
"on",
|
|
126
|
+
"off",
|
|
127
|
+
"default"
|
|
128
|
+
]
|
|
105
129
|
}
|
|
106
130
|
],
|
|
107
131
|
"required": true
|
|
@@ -105,6 +105,30 @@ export const operation = {
|
|
|
105
105
|
"skip"
|
|
106
106
|
]
|
|
107
107
|
},
|
|
108
|
+
{
|
|
109
|
+
"name": "qa",
|
|
110
|
+
"flag": "qa",
|
|
111
|
+
"kind": "string",
|
|
112
|
+
"required": false,
|
|
113
|
+
"description": "This task's own ship QA: off skips /kosuke:ship's QA step and needs no QA to merge; on runs it; default follows the project's Shipping. Members and their Sensei only.",
|
|
114
|
+
"choices": [
|
|
115
|
+
"on",
|
|
116
|
+
"off",
|
|
117
|
+
"default"
|
|
118
|
+
]
|
|
119
|
+
},
|
|
120
|
+
{
|
|
121
|
+
"name": "review",
|
|
122
|
+
"flag": "review",
|
|
123
|
+
"kind": "string",
|
|
124
|
+
"required": false,
|
|
125
|
+
"description": "This task's own ship review: off skips /kosuke:ship's review step; on runs it; default follows the project's Shipping. Members and their Sensei only.",
|
|
126
|
+
"choices": [
|
|
127
|
+
"on",
|
|
128
|
+
"off",
|
|
129
|
+
"default"
|
|
130
|
+
]
|
|
131
|
+
},
|
|
108
132
|
{
|
|
109
133
|
"name": "description",
|
|
110
134
|
"flag": "description",
|
|
@@ -244,6 +268,30 @@ export const operation = {
|
|
|
244
268
|
"skip"
|
|
245
269
|
]
|
|
246
270
|
},
|
|
271
|
+
{
|
|
272
|
+
"name": "qa",
|
|
273
|
+
"flag": "qa",
|
|
274
|
+
"kind": "string",
|
|
275
|
+
"required": false,
|
|
276
|
+
"description": "This task's own ship QA: off skips /kosuke:ship's QA step and needs no QA to merge; on runs it; default follows the project's Shipping. Members and their Sensei only.",
|
|
277
|
+
"choices": [
|
|
278
|
+
"on",
|
|
279
|
+
"off",
|
|
280
|
+
"default"
|
|
281
|
+
]
|
|
282
|
+
},
|
|
283
|
+
{
|
|
284
|
+
"name": "review",
|
|
285
|
+
"flag": "review",
|
|
286
|
+
"kind": "string",
|
|
287
|
+
"required": false,
|
|
288
|
+
"description": "This task's own ship review: off skips /kosuke:ship's review step; on runs it; default follows the project's Shipping. Members and their Sensei only.",
|
|
289
|
+
"choices": [
|
|
290
|
+
"on",
|
|
291
|
+
"off",
|
|
292
|
+
"default"
|
|
293
|
+
]
|
|
294
|
+
},
|
|
247
295
|
{
|
|
248
296
|
"name": "description",
|
|
249
297
|
"flag": "description",
|
|
@@ -103,6 +103,30 @@ export const operation = {
|
|
|
103
103
|
"skip"
|
|
104
104
|
]
|
|
105
105
|
},
|
|
106
|
+
{
|
|
107
|
+
"name": "qa",
|
|
108
|
+
"flag": "qa",
|
|
109
|
+
"kind": "string",
|
|
110
|
+
"required": false,
|
|
111
|
+
"description": "This task's own ship QA: off skips /kosuke:ship's QA step and needs no QA to merge; on runs it; default follows the project's Shipping. Members and their Sensei only.",
|
|
112
|
+
"choices": [
|
|
113
|
+
"on",
|
|
114
|
+
"off",
|
|
115
|
+
"default"
|
|
116
|
+
]
|
|
117
|
+
},
|
|
118
|
+
{
|
|
119
|
+
"name": "review",
|
|
120
|
+
"flag": "review",
|
|
121
|
+
"kind": "string",
|
|
122
|
+
"required": false,
|
|
123
|
+
"description": "This task's own ship review: off skips /kosuke:ship's review step; on runs it; default follows the project's Shipping. Members and their Sensei only.",
|
|
124
|
+
"choices": [
|
|
125
|
+
"on",
|
|
126
|
+
"off",
|
|
127
|
+
"default"
|
|
128
|
+
]
|
|
129
|
+
},
|
|
106
130
|
{
|
|
107
131
|
"name": "description",
|
|
108
132
|
"flag": "description",
|
|
@@ -242,6 +266,30 @@ export const operation = {
|
|
|
242
266
|
"skip"
|
|
243
267
|
]
|
|
244
268
|
},
|
|
269
|
+
{
|
|
270
|
+
"name": "qa",
|
|
271
|
+
"flag": "qa",
|
|
272
|
+
"kind": "string",
|
|
273
|
+
"required": false,
|
|
274
|
+
"description": "This task's own ship QA: off skips /kosuke:ship's QA step and needs no QA to merge; on runs it; default follows the project's Shipping. Members and their Sensei only.",
|
|
275
|
+
"choices": [
|
|
276
|
+
"on",
|
|
277
|
+
"off",
|
|
278
|
+
"default"
|
|
279
|
+
]
|
|
280
|
+
},
|
|
281
|
+
{
|
|
282
|
+
"name": "review",
|
|
283
|
+
"flag": "review",
|
|
284
|
+
"kind": "string",
|
|
285
|
+
"required": false,
|
|
286
|
+
"description": "This task's own ship review: off skips /kosuke:ship's review step; on runs it; default follows the project's Shipping. Members and their Sensei only.",
|
|
287
|
+
"choices": [
|
|
288
|
+
"on",
|
|
289
|
+
"off",
|
|
290
|
+
"default"
|
|
291
|
+
]
|
|
292
|
+
},
|
|
245
293
|
{
|
|
246
294
|
"name": "description",
|
|
247
295
|
"flag": "description",
|
|
@@ -93,6 +93,30 @@ export const operation = {
|
|
|
93
93
|
"skip"
|
|
94
94
|
]
|
|
95
95
|
},
|
|
96
|
+
{
|
|
97
|
+
"name": "qa",
|
|
98
|
+
"flag": "qa",
|
|
99
|
+
"kind": "string",
|
|
100
|
+
"required": false,
|
|
101
|
+
"description": "This task's own ship QA: off skips /kosuke:ship's QA step and needs no QA to merge; on runs it; default follows the project's Shipping. Members and their Sensei only.",
|
|
102
|
+
"choices": [
|
|
103
|
+
"on",
|
|
104
|
+
"off",
|
|
105
|
+
"default"
|
|
106
|
+
]
|
|
107
|
+
},
|
|
108
|
+
{
|
|
109
|
+
"name": "review",
|
|
110
|
+
"flag": "review",
|
|
111
|
+
"kind": "string",
|
|
112
|
+
"required": false,
|
|
113
|
+
"description": "This task's own ship review: off skips /kosuke:ship's review step; on runs it; default follows the project's Shipping. Members and their Sensei only.",
|
|
114
|
+
"choices": [
|
|
115
|
+
"on",
|
|
116
|
+
"off",
|
|
117
|
+
"default"
|
|
118
|
+
]
|
|
119
|
+
},
|
|
96
120
|
{
|
|
97
121
|
"name": "status",
|
|
98
122
|
"flag": "status",
|
|
@@ -90,6 +90,30 @@ export const operation = {
|
|
|
90
90
|
"skip"
|
|
91
91
|
]
|
|
92
92
|
},
|
|
93
|
+
{
|
|
94
|
+
"name": "qa",
|
|
95
|
+
"flag": "qa",
|
|
96
|
+
"kind": "string",
|
|
97
|
+
"required": false,
|
|
98
|
+
"description": "This task's own ship QA: off skips /kosuke:ship's QA step and needs no QA to merge; on runs it; default follows the project's Shipping. Members and their Sensei only.",
|
|
99
|
+
"choices": [
|
|
100
|
+
"on",
|
|
101
|
+
"off",
|
|
102
|
+
"default"
|
|
103
|
+
]
|
|
104
|
+
},
|
|
105
|
+
{
|
|
106
|
+
"name": "review",
|
|
107
|
+
"flag": "review",
|
|
108
|
+
"kind": "string",
|
|
109
|
+
"required": false,
|
|
110
|
+
"description": "This task's own ship review: off skips /kosuke:ship's review step; on runs it; default follows the project's Shipping. Members and their Sensei only.",
|
|
111
|
+
"choices": [
|
|
112
|
+
"on",
|
|
113
|
+
"off",
|
|
114
|
+
"default"
|
|
115
|
+
]
|
|
116
|
+
},
|
|
93
117
|
{
|
|
94
118
|
"name": "status",
|
|
95
119
|
"flag": "status",
|