@kosuke-ai/kosuke 1.0.13 → 1.0.14
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 +5 -0
- package/dist/generated/commands/devices/list.js +1 -1
- package/dist/generated/commands/sensei/device-requests-list.js +1 -1
- package/dist/generated/commands/sessions/create.js +14 -0
- package/dist/generated/commands/tasks/create.js +14 -0
- package/openapi.json +26 -2
- package/package.json +5 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 1.0.14
|
|
4
|
+
|
|
5
|
+
- `kosuke devices list` says whether another session or Sensei already uses each device, and `kosuke sensei device-requests list` says it for each pending request.
|
|
6
|
+
- `kosuke tasks create` and `kosuke sessions create` take --branch: the session works on that existing branch.
|
|
7
|
+
|
|
3
8
|
## 1.0.13
|
|
4
9
|
|
|
5
10
|
- Update help text: Sensei deletes Backlog sessions, imports into Personal and reuses browser sign-ins in any Turn, whatever started it.
|
|
@@ -5,7 +5,7 @@ export const operation = {
|
|
|
5
5
|
"devices",
|
|
6
6
|
"list"
|
|
7
7
|
],
|
|
8
|
-
"summary": "From a Chat Session: the devices it may ask for, the workspace's devices and the session member's own Macs, each with its id, kind, whether it is online, the tools it offers
|
|
8
|
+
"summary": "From a Chat Session: the devices it may ask for, the workspace's devices and the session member's own Macs, each with its id, kind, whether it is online, the tools it offers, this session's access: none, pending or approved, and occupied with occupiedBy (session or sensei) when someone else uses it now. Pick an online device with the tools the test needs: a workspace device first, and the member's own Mac only when no workspace device fits, whatever the names or past approvals. Of those, pick a free one, and ask for an occupied one only when no free device fits. Request one with `kosuke devices requests create` before any mac command, and use one only when the test truly needs a real Mac.",
|
|
9
9
|
"pathParams": [],
|
|
10
10
|
"query": [],
|
|
11
11
|
"body": null,
|
|
@@ -6,7 +6,7 @@ export const operation = {
|
|
|
6
6
|
"device-requests",
|
|
7
7
|
"list"
|
|
8
8
|
],
|
|
9
|
-
"summary": "List the Device Requests of a Chat Session, oldest first, as you would see them on its cards: id, device, kind, owner, reason, status (pending, approved, declined, expired, withdrawn or closed), who asked and who answered, when,
|
|
9
|
+
"summary": "List the Device Requests of a Chat Session, oldest first, as you would see them on its cards: id, device, kind, owner, reason, status (pending, approved, declined, expired, withdrawn or closed), who asked and who answered, when, canApprove, whether you may answer it, and occupiedBy, session or sensei when someone else uses the device while it is pending. A request past its 30 minutes reads expired.",
|
|
10
10
|
"pathParams": [],
|
|
11
11
|
"query": [
|
|
12
12
|
{
|
|
@@ -78,6 +78,13 @@ export const operation = {
|
|
|
78
78
|
"kind": "string",
|
|
79
79
|
"required": false
|
|
80
80
|
},
|
|
81
|
+
{
|
|
82
|
+
"name": "branch",
|
|
83
|
+
"flag": "branch",
|
|
84
|
+
"kind": "string",
|
|
85
|
+
"required": false,
|
|
86
|
+
"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."
|
|
87
|
+
},
|
|
81
88
|
{
|
|
82
89
|
"name": "reason",
|
|
83
90
|
"flag": "reason",
|
|
@@ -186,6 +193,13 @@ export const operation = {
|
|
|
186
193
|
"kind": "string",
|
|
187
194
|
"required": false
|
|
188
195
|
},
|
|
196
|
+
{
|
|
197
|
+
"name": "branch",
|
|
198
|
+
"flag": "branch",
|
|
199
|
+
"kind": "string",
|
|
200
|
+
"required": false,
|
|
201
|
+
"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."
|
|
202
|
+
},
|
|
189
203
|
{
|
|
190
204
|
"name": "reason",
|
|
191
205
|
"flag": "reason",
|
|
@@ -64,6 +64,13 @@ export const operation = {
|
|
|
64
64
|
"kind": "string",
|
|
65
65
|
"required": false
|
|
66
66
|
},
|
|
67
|
+
{
|
|
68
|
+
"name": "branch",
|
|
69
|
+
"flag": "branch",
|
|
70
|
+
"kind": "string",
|
|
71
|
+
"required": false,
|
|
72
|
+
"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."
|
|
73
|
+
},
|
|
67
74
|
{
|
|
68
75
|
"name": "reason",
|
|
69
76
|
"flag": "reason",
|
|
@@ -194,6 +201,13 @@ export const operation = {
|
|
|
194
201
|
"kind": "string",
|
|
195
202
|
"required": false
|
|
196
203
|
},
|
|
204
|
+
{
|
|
205
|
+
"name": "branch",
|
|
206
|
+
"flag": "branch",
|
|
207
|
+
"kind": "string",
|
|
208
|
+
"required": false,
|
|
209
|
+
"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."
|
|
210
|
+
},
|
|
197
211
|
{
|
|
198
212
|
"name": "reason",
|
|
199
213
|
"flag": "reason",
|
package/openapi.json
CHANGED
|
@@ -799,7 +799,7 @@
|
|
|
799
799
|
"/api/devices/available": {
|
|
800
800
|
"get": {
|
|
801
801
|
"operationId": "devicesList",
|
|
802
|
-
"summary": "From a Chat Session: the devices it may ask for, the workspace's devices and the session member's own Macs, each with its id, kind, whether it is online, the tools it offers
|
|
802
|
+
"summary": "From a Chat Session: the devices it may ask for, the workspace's devices and the session member's own Macs, each with its id, kind, whether it is online, the tools it offers, this session's access: none, pending or approved, and occupied with occupiedBy (session or sensei) when someone else uses it now. Pick an online device with the tools the test needs: a workspace device first, and the member's own Mac only when no workspace device fits, whatever the names or past approvals. Of those, pick a free one, and ask for an occupied one only when no free device fits. Request one with `kosuke devices requests create` before any mac command, and use one only when the test truly needs a real Mac.",
|
|
803
803
|
"tags": ["devices"],
|
|
804
804
|
"x-kosuke-command": ["devices", "list"],
|
|
805
805
|
"x-kosuke-sandbox-token": true,
|
|
@@ -8041,6 +8041,12 @@
|
|
|
8041
8041
|
"minLength": 1,
|
|
8042
8042
|
"maxLength": 255
|
|
8043
8043
|
},
|
|
8044
|
+
"branch": {
|
|
8045
|
+
"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.",
|
|
8046
|
+
"type": "string",
|
|
8047
|
+
"minLength": 1,
|
|
8048
|
+
"maxLength": 255
|
|
8049
|
+
},
|
|
8044
8050
|
"reason": {
|
|
8045
8051
|
"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.",
|
|
8046
8052
|
"type": "string",
|
|
@@ -8123,6 +8129,12 @@
|
|
|
8123
8129
|
"minLength": 1,
|
|
8124
8130
|
"maxLength": 255
|
|
8125
8131
|
},
|
|
8132
|
+
"branch": {
|
|
8133
|
+
"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.",
|
|
8134
|
+
"type": "string",
|
|
8135
|
+
"minLength": 1,
|
|
8136
|
+
"maxLength": 255
|
|
8137
|
+
},
|
|
8126
8138
|
"reason": {
|
|
8127
8139
|
"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.",
|
|
8128
8140
|
"type": "string",
|
|
@@ -10835,6 +10847,12 @@
|
|
|
10835
10847
|
"minLength": 1,
|
|
10836
10848
|
"maxLength": 255
|
|
10837
10849
|
},
|
|
10850
|
+
"branch": {
|
|
10851
|
+
"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.",
|
|
10852
|
+
"type": "string",
|
|
10853
|
+
"minLength": 1,
|
|
10854
|
+
"maxLength": 255
|
|
10855
|
+
},
|
|
10838
10856
|
"reason": {
|
|
10839
10857
|
"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.",
|
|
10840
10858
|
"type": "string",
|
|
@@ -10900,6 +10918,12 @@
|
|
|
10900
10918
|
"minLength": 1,
|
|
10901
10919
|
"maxLength": 255
|
|
10902
10920
|
},
|
|
10921
|
+
"branch": {
|
|
10922
|
+
"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.",
|
|
10923
|
+
"type": "string",
|
|
10924
|
+
"minLength": 1,
|
|
10925
|
+
"maxLength": 255
|
|
10926
|
+
},
|
|
10903
10927
|
"reason": {
|
|
10904
10928
|
"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.",
|
|
10905
10929
|
"type": "string",
|
|
@@ -22053,7 +22077,7 @@
|
|
|
22053
22077
|
"/api/sensei/device-requests": {
|
|
22054
22078
|
"get": {
|
|
22055
22079
|
"operationId": "senseiDeviceRequestsList",
|
|
22056
|
-
"summary": "List the Device Requests of a Chat Session, oldest first, as you would see them on its cards: id, device, kind, owner, reason, status (pending, approved, declined, expired, withdrawn or closed), who asked and who answered, when,
|
|
22080
|
+
"summary": "List the Device Requests of a Chat Session, oldest first, as you would see them on its cards: id, device, kind, owner, reason, status (pending, approved, declined, expired, withdrawn or closed), who asked and who answered, when, canApprove, whether you may answer it, and occupiedBy, session or sensei when someone else uses the device while it is pending. A request past its 30 minutes reads expired.",
|
|
22057
22081
|
"tags": ["sensei"],
|
|
22058
22082
|
"x-kosuke-command": ["sensei", "device-requests", "list"],
|
|
22059
22083
|
"x-kosuke-sandbox-token": true,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kosuke-ai/kosuke",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.14",
|
|
4
4
|
"description": "Kosuke platform CLI. The client customers install to drive app.kosuke.ai from their own machine.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -40,10 +40,11 @@
|
|
|
40
40
|
"vitest": "^4.1.12"
|
|
41
41
|
},
|
|
42
42
|
"kosukeRelease": {
|
|
43
|
-
"sourceCommit": "
|
|
44
|
-
"sourceIdentity": "
|
|
43
|
+
"sourceCommit": "76f5440713c26ece8b7a10148e2756fcda195399",
|
|
44
|
+
"sourceIdentity": "6d76d9b36ed84006ecffb3cbf97a91c26c66ebf3596e530a3aa342cbb7421ed0",
|
|
45
45
|
"fragments": [
|
|
46
|
-
"
|
|
46
|
+
"devices-list-occupied-mmw6bi.json",
|
|
47
|
+
"task-requested-branch.json"
|
|
47
48
|
]
|
|
48
49
|
}
|
|
49
50
|
}
|