@kosuke-ai/kosuke 1.0.125 → 1.0.126
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 +4 -0
- 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 +336 -5
- package/package.json +4 -4
package/openapi.json
CHANGED
|
@@ -9025,6 +9025,16 @@
|
|
|
9025
9025
|
"enum": ["start", "skip"],
|
|
9026
9026
|
"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."
|
|
9027
9027
|
},
|
|
9028
|
+
"qa": {
|
|
9029
|
+
"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.",
|
|
9030
|
+
"type": "string",
|
|
9031
|
+
"enum": ["on", "off", "default"]
|
|
9032
|
+
},
|
|
9033
|
+
"review": {
|
|
9034
|
+
"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.",
|
|
9035
|
+
"type": "string",
|
|
9036
|
+
"enum": ["on", "off", "default"]
|
|
9037
|
+
},
|
|
9028
9038
|
"description": {
|
|
9029
9039
|
"type": "string",
|
|
9030
9040
|
"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."
|
|
@@ -9141,6 +9151,16 @@
|
|
|
9141
9151
|
"enum": ["start", "skip"],
|
|
9142
9152
|
"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."
|
|
9143
9153
|
},
|
|
9154
|
+
"qa": {
|
|
9155
|
+
"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.",
|
|
9156
|
+
"type": "string",
|
|
9157
|
+
"enum": ["on", "off", "default"]
|
|
9158
|
+
},
|
|
9159
|
+
"review": {
|
|
9160
|
+
"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.",
|
|
9161
|
+
"type": "string",
|
|
9162
|
+
"enum": ["on", "off", "default"]
|
|
9163
|
+
},
|
|
9144
9164
|
"description": {
|
|
9145
9165
|
"type": "string",
|
|
9146
9166
|
"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."
|
|
@@ -9236,6 +9256,16 @@
|
|
|
9236
9256
|
"enum": ["start", "skip"],
|
|
9237
9257
|
"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."
|
|
9238
9258
|
},
|
|
9259
|
+
"qa": {
|
|
9260
|
+
"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.",
|
|
9261
|
+
"type": "string",
|
|
9262
|
+
"enum": ["on", "off", "default"]
|
|
9263
|
+
},
|
|
9264
|
+
"review": {
|
|
9265
|
+
"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.",
|
|
9266
|
+
"type": "string",
|
|
9267
|
+
"enum": ["on", "off", "default"]
|
|
9268
|
+
},
|
|
9239
9269
|
"description": {
|
|
9240
9270
|
"type": "string",
|
|
9241
9271
|
"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."
|
|
@@ -9496,6 +9526,16 @@
|
|
|
9496
9526
|
"enum": ["start", "skip"],
|
|
9497
9527
|
"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."
|
|
9498
9528
|
},
|
|
9529
|
+
"qa": {
|
|
9530
|
+
"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.",
|
|
9531
|
+
"type": "string",
|
|
9532
|
+
"enum": ["on", "off", "default"]
|
|
9533
|
+
},
|
|
9534
|
+
"review": {
|
|
9535
|
+
"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.",
|
|
9536
|
+
"type": "string",
|
|
9537
|
+
"enum": ["on", "off", "default"]
|
|
9538
|
+
},
|
|
9499
9539
|
"status": {
|
|
9500
9540
|
"type": "string",
|
|
9501
9541
|
"enum": ["todo", "in_progress", "done", "archived"]
|
|
@@ -11724,6 +11764,16 @@
|
|
|
11724
11764
|
"type": "string",
|
|
11725
11765
|
"enum": ["start", "skip"],
|
|
11726
11766
|
"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."
|
|
11767
|
+
},
|
|
11768
|
+
"qa": {
|
|
11769
|
+
"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.",
|
|
11770
|
+
"type": "string",
|
|
11771
|
+
"enum": ["on", "off", "default"]
|
|
11772
|
+
},
|
|
11773
|
+
"review": {
|
|
11774
|
+
"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.",
|
|
11775
|
+
"type": "string",
|
|
11776
|
+
"enum": ["on", "off", "default"]
|
|
11727
11777
|
}
|
|
11728
11778
|
}
|
|
11729
11779
|
}
|
|
@@ -11791,6 +11841,16 @@
|
|
|
11791
11841
|
"type": "string",
|
|
11792
11842
|
"enum": ["start", "skip"],
|
|
11793
11843
|
"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."
|
|
11844
|
+
},
|
|
11845
|
+
"qa": {
|
|
11846
|
+
"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.",
|
|
11847
|
+
"type": "string",
|
|
11848
|
+
"enum": ["on", "off", "default"]
|
|
11849
|
+
},
|
|
11850
|
+
"review": {
|
|
11851
|
+
"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.",
|
|
11852
|
+
"type": "string",
|
|
11853
|
+
"enum": ["on", "off", "default"]
|
|
11794
11854
|
}
|
|
11795
11855
|
}
|
|
11796
11856
|
}
|
|
@@ -12027,6 +12087,16 @@
|
|
|
12027
12087
|
"type": "string",
|
|
12028
12088
|
"enum": ["start", "skip"],
|
|
12029
12089
|
"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."
|
|
12090
|
+
},
|
|
12091
|
+
"qa": {
|
|
12092
|
+
"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.",
|
|
12093
|
+
"type": "string",
|
|
12094
|
+
"enum": ["on", "off", "default"]
|
|
12095
|
+
},
|
|
12096
|
+
"review": {
|
|
12097
|
+
"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.",
|
|
12098
|
+
"type": "string",
|
|
12099
|
+
"enum": ["on", "off", "default"]
|
|
12030
12100
|
}
|
|
12031
12101
|
}
|
|
12032
12102
|
}
|
|
@@ -17881,7 +17951,7 @@
|
|
|
17881
17951
|
"/api/projects/{projectId}/merge-agent": {
|
|
17882
17952
|
"get": {
|
|
17883
17953
|
"operationId": "projectsMergeAgentGet",
|
|
17884
|
-
"summary": "Read the project's Merge agent: its mode (train, or off, where a new project starts), the base and whether it has GitHub's merge queue, the model the next run starts on (null: the Default Model), the go-ahead pull requests waiting for the merge train with their QA, recorded head, stored review decision and state word (merged, waiting, failed or ready, the one the Tasks board shows), the merge train's order as its open run saved it (trainOrder: each waiting pull request's place, group and reason, else null), and the open run and the last ten earlier runs, each with the model and effort its session runs on. `kosuke projects merge-agent runs list` lists every run. --live false reads Sensei's own data only: no GitHub call, and GitHub's facts (the merge queue) are null.",
|
|
17954
|
+
"summary": "Read the project's Merge agent: its mode (train, or off, where a new project starts), its goAhead and its qaLevel (scaleup or enterprise; waitForQa is deprecated and true only for enterprise), the base and whether it has GitHub's merge queue, the model the next run starts on (null: the Default Model), the go-ahead pull requests waiting for the merge train with their QA, each one's effective ship settings (shipQa, shipReview) and the QA it needs to merge (effectiveQaLevel scaleup, enterprise or null when its ship QA is off; qaLevelSource repository, runtime or qa-off; qaLevelReason), recorded head, stored review decision and state word (merged, waiting, failed or ready, the one the Tasks board shows), the order members pinned (memberOrder: each pinned pull request's position and who moved it, else null), the merge train's order as its open run saved it (trainOrder: each waiting pull request's place, group and reason, else null), and the open run and the last ten earlier runs, each with the model and effort its session runs on. `kosuke projects merge-agent runs list` lists every run. --live false reads Sensei's own data only: no GitHub call, and GitHub's facts (the merge queue) are null.",
|
|
17885
17955
|
"tags": ["projects"],
|
|
17886
17956
|
"x-kosuke-command": ["projects", "merge-agent", "get"],
|
|
17887
17957
|
"x-kosuke-sandbox-token": true,
|
|
@@ -17943,11 +18013,9 @@
|
|
|
17943
18013
|
},
|
|
17944
18014
|
"put": {
|
|
17945
18015
|
"operationId": "projectsMergeAgentSet",
|
|
17946
|
-
"summary": "Switch the Merge agent's mode, its Go-ahead
|
|
18016
|
+
"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.",
|
|
17947
18017
|
"tags": ["projects"],
|
|
17948
18018
|
"x-kosuke-command": ["projects", "merge-agent", "set"],
|
|
17949
|
-
"x-kosuke-sandbox-token": true,
|
|
17950
|
-
"x-kosuke-cron-token": true,
|
|
17951
18019
|
"x-kosuke-sensei-token": true,
|
|
17952
18020
|
"parameters": [
|
|
17953
18021
|
{
|
|
@@ -17978,8 +18046,14 @@
|
|
|
17978
18046
|
"type": "string",
|
|
17979
18047
|
"enum": ["member", "checks"]
|
|
17980
18048
|
},
|
|
18049
|
+
"qaLevel": {
|
|
18050
|
+
"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.",
|
|
18051
|
+
"type": "string",
|
|
18052
|
+
"enum": ["scaleup", "enterprise"]
|
|
18053
|
+
},
|
|
17981
18054
|
"waitForQa": {
|
|
17982
|
-
"
|
|
18055
|
+
"deprecated": true,
|
|
18056
|
+
"description": "Deprecated: send qaLevel (scaleup or enterprise) instead, with kosuke projects merge-agent set --qa-level. waitForQa true sets enterprise, false sets scaleup. Upgrade @kosuke-ai/kosuke (npm install -g @kosuke-ai/kosuke@latest).",
|
|
17983
18057
|
"type": "boolean"
|
|
17984
18058
|
}
|
|
17985
18059
|
}
|
|
@@ -18202,6 +18276,135 @@
|
|
|
18202
18276
|
}
|
|
18203
18277
|
}
|
|
18204
18278
|
},
|
|
18279
|
+
"/api/projects/{projectId}/merge-agent/member-order": {
|
|
18280
|
+
"post": {
|
|
18281
|
+
"operationId": "projectsMergeAgentOrderMove",
|
|
18282
|
+
"summary": "Move a waiting pull request to a place in the merge train's order, as a member: the member order (memberOrder in `kosuke projects merge-agent get`) pins every pull request from the top down to the one moved, ahead of the train's own ranking, with who moved it. Refused with 409 NOT_IN_QUEUE unless the pull request has a go-ahead and waits, open and unmerged, on the base. The merge train hears who moved it where. A pull request that merges or leaves drops out by itself. Members and their Sensei only.",
|
|
18283
|
+
"tags": ["projects"],
|
|
18284
|
+
"x-kosuke-command": ["projects", "merge-agent", "order", "move"],
|
|
18285
|
+
"x-kosuke-sensei-token": true,
|
|
18286
|
+
"parameters": [
|
|
18287
|
+
{
|
|
18288
|
+
"name": "projectId",
|
|
18289
|
+
"in": "path",
|
|
18290
|
+
"required": true,
|
|
18291
|
+
"schema": {
|
|
18292
|
+
"type": "string",
|
|
18293
|
+
"format": "uuid",
|
|
18294
|
+
"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)$"
|
|
18295
|
+
}
|
|
18296
|
+
}
|
|
18297
|
+
],
|
|
18298
|
+
"requestBody": {
|
|
18299
|
+
"required": true,
|
|
18300
|
+
"content": {
|
|
18301
|
+
"application/json": {
|
|
18302
|
+
"schema": {
|
|
18303
|
+
"type": "object",
|
|
18304
|
+
"properties": {
|
|
18305
|
+
"number": {
|
|
18306
|
+
"type": "integer",
|
|
18307
|
+
"exclusiveMinimum": 0,
|
|
18308
|
+
"maximum": 9007199254740991,
|
|
18309
|
+
"description": "The pull request to move: one with a go-ahead waiting in the merge train."
|
|
18310
|
+
},
|
|
18311
|
+
"to": {
|
|
18312
|
+
"type": "integer",
|
|
18313
|
+
"minimum": 1,
|
|
18314
|
+
"maximum": 200,
|
|
18315
|
+
"description": "Its place in the order shown, from 1 (Next). Past the end puts it last of the pinned ones."
|
|
18316
|
+
}
|
|
18317
|
+
},
|
|
18318
|
+
"required": ["number", "to"]
|
|
18319
|
+
}
|
|
18320
|
+
}
|
|
18321
|
+
}
|
|
18322
|
+
},
|
|
18323
|
+
"responses": {
|
|
18324
|
+
"2XX": {
|
|
18325
|
+
"description": "Success envelope",
|
|
18326
|
+
"content": {
|
|
18327
|
+
"application/json": {
|
|
18328
|
+
"schema": {
|
|
18329
|
+
"$ref": "#/components/schemas/ApiSuccess"
|
|
18330
|
+
}
|
|
18331
|
+
}
|
|
18332
|
+
}
|
|
18333
|
+
},
|
|
18334
|
+
"4XX": {
|
|
18335
|
+
"description": "Error envelope",
|
|
18336
|
+
"content": {
|
|
18337
|
+
"application/json": {
|
|
18338
|
+
"schema": {
|
|
18339
|
+
"$ref": "#/components/schemas/ApiError"
|
|
18340
|
+
}
|
|
18341
|
+
}
|
|
18342
|
+
}
|
|
18343
|
+
},
|
|
18344
|
+
"5XX": {
|
|
18345
|
+
"description": "Error envelope",
|
|
18346
|
+
"content": {
|
|
18347
|
+
"application/json": {
|
|
18348
|
+
"schema": {
|
|
18349
|
+
"$ref": "#/components/schemas/ApiError"
|
|
18350
|
+
}
|
|
18351
|
+
}
|
|
18352
|
+
}
|
|
18353
|
+
}
|
|
18354
|
+
}
|
|
18355
|
+
},
|
|
18356
|
+
"delete": {
|
|
18357
|
+
"operationId": "projectsMergeAgentOrderDelete",
|
|
18358
|
+
"summary": "Clear the member order of the project's base: the merge train ranks every waiting pull request itself again, and hears who cleared it. Answers null. Members and their Sensei only.",
|
|
18359
|
+
"tags": ["projects"],
|
|
18360
|
+
"x-kosuke-command": ["projects", "merge-agent", "order", "delete"],
|
|
18361
|
+
"x-kosuke-sensei-token": true,
|
|
18362
|
+
"parameters": [
|
|
18363
|
+
{
|
|
18364
|
+
"name": "projectId",
|
|
18365
|
+
"in": "path",
|
|
18366
|
+
"required": true,
|
|
18367
|
+
"schema": {
|
|
18368
|
+
"type": "string",
|
|
18369
|
+
"format": "uuid",
|
|
18370
|
+
"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)$"
|
|
18371
|
+
}
|
|
18372
|
+
}
|
|
18373
|
+
],
|
|
18374
|
+
"responses": {
|
|
18375
|
+
"2XX": {
|
|
18376
|
+
"description": "Success envelope",
|
|
18377
|
+
"content": {
|
|
18378
|
+
"application/json": {
|
|
18379
|
+
"schema": {
|
|
18380
|
+
"$ref": "#/components/schemas/ApiSuccess"
|
|
18381
|
+
}
|
|
18382
|
+
}
|
|
18383
|
+
}
|
|
18384
|
+
},
|
|
18385
|
+
"4XX": {
|
|
18386
|
+
"description": "Error envelope",
|
|
18387
|
+
"content": {
|
|
18388
|
+
"application/json": {
|
|
18389
|
+
"schema": {
|
|
18390
|
+
"$ref": "#/components/schemas/ApiError"
|
|
18391
|
+
}
|
|
18392
|
+
}
|
|
18393
|
+
}
|
|
18394
|
+
},
|
|
18395
|
+
"5XX": {
|
|
18396
|
+
"description": "Error envelope",
|
|
18397
|
+
"content": {
|
|
18398
|
+
"application/json": {
|
|
18399
|
+
"schema": {
|
|
18400
|
+
"$ref": "#/components/schemas/ApiError"
|
|
18401
|
+
}
|
|
18402
|
+
}
|
|
18403
|
+
}
|
|
18404
|
+
}
|
|
18405
|
+
}
|
|
18406
|
+
}
|
|
18407
|
+
},
|
|
18205
18408
|
"/api/projects/{projectId}/merge-agent/model": {
|
|
18206
18409
|
"put": {
|
|
18207
18410
|
"operationId": "projectsMergeAgentModelSet",
|
|
@@ -21059,6 +21262,134 @@
|
|
|
21059
21262
|
}
|
|
21060
21263
|
}
|
|
21061
21264
|
},
|
|
21265
|
+
"/api/projects/{projectId}/settings/shipping": {
|
|
21266
|
+
"get": {
|
|
21267
|
+
"operationId": "projectsShippingGet",
|
|
21268
|
+
"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.",
|
|
21269
|
+
"tags": ["projects"],
|
|
21270
|
+
"x-kosuke-command": ["projects", "shipping", "get"],
|
|
21271
|
+
"x-kosuke-sandbox-token": true,
|
|
21272
|
+
"x-kosuke-cron-token": true,
|
|
21273
|
+
"x-kosuke-sensei-token": true,
|
|
21274
|
+
"parameters": [
|
|
21275
|
+
{
|
|
21276
|
+
"name": "projectId",
|
|
21277
|
+
"in": "path",
|
|
21278
|
+
"required": true,
|
|
21279
|
+
"schema": {
|
|
21280
|
+
"type": "string",
|
|
21281
|
+
"format": "uuid",
|
|
21282
|
+
"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)$"
|
|
21283
|
+
}
|
|
21284
|
+
}
|
|
21285
|
+
],
|
|
21286
|
+
"responses": {
|
|
21287
|
+
"2XX": {
|
|
21288
|
+
"description": "Success envelope",
|
|
21289
|
+
"content": {
|
|
21290
|
+
"application/json": {
|
|
21291
|
+
"schema": {
|
|
21292
|
+
"$ref": "#/components/schemas/ApiSuccess"
|
|
21293
|
+
}
|
|
21294
|
+
}
|
|
21295
|
+
}
|
|
21296
|
+
},
|
|
21297
|
+
"4XX": {
|
|
21298
|
+
"description": "Error envelope",
|
|
21299
|
+
"content": {
|
|
21300
|
+
"application/json": {
|
|
21301
|
+
"schema": {
|
|
21302
|
+
"$ref": "#/components/schemas/ApiError"
|
|
21303
|
+
}
|
|
21304
|
+
}
|
|
21305
|
+
}
|
|
21306
|
+
},
|
|
21307
|
+
"5XX": {
|
|
21308
|
+
"description": "Error envelope",
|
|
21309
|
+
"content": {
|
|
21310
|
+
"application/json": {
|
|
21311
|
+
"schema": {
|
|
21312
|
+
"$ref": "#/components/schemas/ApiError"
|
|
21313
|
+
}
|
|
21314
|
+
}
|
|
21315
|
+
}
|
|
21316
|
+
}
|
|
21317
|
+
}
|
|
21318
|
+
},
|
|
21319
|
+
"put": {
|
|
21320
|
+
"operationId": "projectsShippingSet",
|
|
21321
|
+
"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.",
|
|
21322
|
+
"tags": ["projects"],
|
|
21323
|
+
"x-kosuke-command": ["projects", "shipping", "set"],
|
|
21324
|
+
"x-kosuke-sensei-token": true,
|
|
21325
|
+
"parameters": [
|
|
21326
|
+
{
|
|
21327
|
+
"name": "projectId",
|
|
21328
|
+
"in": "path",
|
|
21329
|
+
"required": true,
|
|
21330
|
+
"schema": {
|
|
21331
|
+
"type": "string",
|
|
21332
|
+
"format": "uuid",
|
|
21333
|
+
"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)$"
|
|
21334
|
+
}
|
|
21335
|
+
}
|
|
21336
|
+
],
|
|
21337
|
+
"requestBody": {
|
|
21338
|
+
"required": true,
|
|
21339
|
+
"content": {
|
|
21340
|
+
"application/json": {
|
|
21341
|
+
"schema": {
|
|
21342
|
+
"type": "object",
|
|
21343
|
+
"properties": {
|
|
21344
|
+
"qa": {
|
|
21345
|
+
"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.",
|
|
21346
|
+
"type": "string",
|
|
21347
|
+
"enum": ["on", "off"]
|
|
21348
|
+
},
|
|
21349
|
+
"review": {
|
|
21350
|
+
"description": "off: /kosuke:ship skips its review step. on: it reviews before QA. A task's own (`sessions update --review`) overrides it.",
|
|
21351
|
+
"type": "string",
|
|
21352
|
+
"enum": ["on", "off"]
|
|
21353
|
+
}
|
|
21354
|
+
}
|
|
21355
|
+
}
|
|
21356
|
+
}
|
|
21357
|
+
}
|
|
21358
|
+
},
|
|
21359
|
+
"responses": {
|
|
21360
|
+
"2XX": {
|
|
21361
|
+
"description": "Success envelope",
|
|
21362
|
+
"content": {
|
|
21363
|
+
"application/json": {
|
|
21364
|
+
"schema": {
|
|
21365
|
+
"$ref": "#/components/schemas/ApiSuccess"
|
|
21366
|
+
}
|
|
21367
|
+
}
|
|
21368
|
+
}
|
|
21369
|
+
},
|
|
21370
|
+
"4XX": {
|
|
21371
|
+
"description": "Error envelope",
|
|
21372
|
+
"content": {
|
|
21373
|
+
"application/json": {
|
|
21374
|
+
"schema": {
|
|
21375
|
+
"$ref": "#/components/schemas/ApiError"
|
|
21376
|
+
}
|
|
21377
|
+
}
|
|
21378
|
+
}
|
|
21379
|
+
},
|
|
21380
|
+
"5XX": {
|
|
21381
|
+
"description": "Error envelope",
|
|
21382
|
+
"content": {
|
|
21383
|
+
"application/json": {
|
|
21384
|
+
"schema": {
|
|
21385
|
+
"$ref": "#/components/schemas/ApiError"
|
|
21386
|
+
}
|
|
21387
|
+
}
|
|
21388
|
+
}
|
|
21389
|
+
}
|
|
21390
|
+
}
|
|
21391
|
+
}
|
|
21392
|
+
},
|
|
21062
21393
|
"/api/projects/{projectId}/ship-estimates/accuracy": {
|
|
21063
21394
|
"get": {
|
|
21064
21395
|
"operationId": "projectsEstimateAccuracyGet",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kosuke-ai/kosuke",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.126",
|
|
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,10 @@
|
|
|
43
43
|
"minimatch": "^11.0.1"
|
|
44
44
|
},
|
|
45
45
|
"kosukeRelease": {
|
|
46
|
-
"sourceCommit": "
|
|
47
|
-
"sourceIdentity": "
|
|
46
|
+
"sourceCommit": "7609aa02752c14f9b309dad27516466d391707bb",
|
|
47
|
+
"sourceIdentity": "0b9eaa0156e4b428d682feef618966de55e34d1083b46bb7f094965e4554bc78",
|
|
48
48
|
"fragments": [
|
|
49
|
-
"
|
|
49
|
+
"merge-qa-levels-shipping-q7l2ev.json"
|
|
50
50
|
]
|
|
51
51
|
}
|
|
52
52
|
}
|