@kosuke-ai/kosuke 1.0.26 → 1.0.27
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
CHANGED
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 1.0.27
|
|
4
|
+
|
|
5
|
+
- `kosuke devices list` and `kosuke devices requests create` say that a workspace device needs no approval: a Chat Session uses it at once with --device-id.
|
|
6
|
+
|
|
3
7
|
## 1.0.26
|
|
4
8
|
|
|
5
9
|
- Reels and the watch show open cards newest first by when they last changed; the `sensei reels ranks list` command is removed.
|
|
@@ -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
|
|
8
|
+
"summary": "From a Chat Session: the devices it may use, the workspace's devices and the session member's own Macs, each with its id, kind, whether it is online, the tools it offers, its macOS grants (grants.systemEvents: menu bar icons open with `osascript` through System Events), this session's access: none, pending or approved (a workspace device is always approved: it needs no request), 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. Use a workspace device at once with --device-id; request a personal Mac with `kosuke devices requests create` before any mac command on it. Use a device only when the test truly needs a real Mac. One session at a time uses a device: on MAC_BUSY, wait in its line with `kosuke devices locks create` rather than give up or call again, and let it go with `kosuke devices locks delete` once done.",
|
|
9
9
|
"pathParams": [],
|
|
10
10
|
"query": [],
|
|
11
11
|
"body": null,
|
|
@@ -6,7 +6,7 @@ export const operation = {
|
|
|
6
6
|
"locks",
|
|
7
7
|
"delete"
|
|
8
8
|
],
|
|
9
|
-
"summary": "From a Chat Session: let a device go as soon as you are done with it, after QA say, rather than at the end of your Turn, and leave its line if you wait in it. The next session in line gets it at once. Your
|
|
9
|
+
"summary": "From a Chat Session: let a device go as soon as you are done with it, after QA say, rather than at the end of your Turn, and leave its line if you wait in it. The next session in line gets it at once. Your access stays: a later mac command or devices locks create takes the device again. Answers released and leftQueue.",
|
|
10
10
|
"pathParams": [
|
|
11
11
|
"deviceId"
|
|
12
12
|
],
|
|
@@ -6,7 +6,7 @@ export const operation = {
|
|
|
6
6
|
"requests",
|
|
7
7
|
"create"
|
|
8
8
|
],
|
|
9
|
-
"summary": "From a Chat Session: ask to use
|
|
9
|
+
"summary": "From a Chat Session: ask to use a personal Mac from devices list, with the reason its owner reads on a card in this session's chat. A workspace device needs no request: it answers approved at once with grantId null, and no one is asked. The owner approves a personal Mac once per session: after that, asking again answers approved at once. Answers status pending or approved. Check devices list again for the answer; it expires after 30 minutes without an answer. While it is pending, go on with other work; when it is declined or expires, go on without it and say so. Once approved it stays approved for the rest of the session: pass --device-id on every mac command. One session at a time uses the device: on MAC_BUSY, wait with devices locks create, and run devices locks delete once done.",
|
|
10
10
|
"pathParams": [
|
|
11
11
|
"deviceId"
|
|
12
12
|
],
|
|
@@ -18,7 +18,7 @@ export const operation = {
|
|
|
18
18
|
"flag": "reason",
|
|
19
19
|
"kind": "string",
|
|
20
20
|
"required": true,
|
|
21
|
-
"description": "One or two sentences for the
|
|
21
|
+
"description": "One or two sentences for the Mac’s owner: what you test on it, and why a real Mac."
|
|
22
22
|
}
|
|
23
23
|
],
|
|
24
24
|
"required": true
|
package/openapi.json
CHANGED
|
@@ -909,7 +909,7 @@
|
|
|
909
909
|
},
|
|
910
910
|
"delete": {
|
|
911
911
|
"operationId": "devicesLocksDelete",
|
|
912
|
-
"summary": "From a Chat Session: let a device go as soon as you are done with it, after QA say, rather than at the end of your Turn, and leave its line if you wait in it. The next session in line gets it at once. Your
|
|
912
|
+
"summary": "From a Chat Session: let a device go as soon as you are done with it, after QA say, rather than at the end of your Turn, and leave its line if you wait in it. The next session in line gets it at once. Your access stays: a later mac command or devices locks create takes the device again. Answers released and leftQueue.",
|
|
913
913
|
"tags": ["devices"],
|
|
914
914
|
"x-kosuke-command": ["devices", "locks", "delete"],
|
|
915
915
|
"x-kosuke-sandbox-token": true,
|
|
@@ -961,7 +961,7 @@
|
|
|
961
961
|
"/api/devices/{deviceId}/requests": {
|
|
962
962
|
"post": {
|
|
963
963
|
"operationId": "devicesRequestsCreate",
|
|
964
|
-
"summary": "From a Chat Session: ask to use
|
|
964
|
+
"summary": "From a Chat Session: ask to use a personal Mac from devices list, with the reason its owner reads on a card in this session's chat. A workspace device needs no request: it answers approved at once with grantId null, and no one is asked. The owner approves a personal Mac once per session: after that, asking again answers approved at once. Answers status pending or approved. Check devices list again for the answer; it expires after 30 minutes without an answer. While it is pending, go on with other work; when it is declined or expires, go on without it and say so. Once approved it stays approved for the rest of the session: pass --device-id on every mac command. One session at a time uses the device: on MAC_BUSY, wait with devices locks create, and run devices locks delete once done.",
|
|
965
965
|
"tags": ["devices"],
|
|
966
966
|
"x-kosuke-command": ["devices", "requests", "create"],
|
|
967
967
|
"x-kosuke-sandbox-token": true,
|
|
@@ -987,7 +987,7 @@
|
|
|
987
987
|
"type": "string",
|
|
988
988
|
"minLength": 1,
|
|
989
989
|
"maxLength": 500,
|
|
990
|
-
"description": "One or two sentences for the
|
|
990
|
+
"description": "One or two sentences for the Mac’s owner: what you test on it, and why a real Mac."
|
|
991
991
|
}
|
|
992
992
|
},
|
|
993
993
|
"required": ["reason"]
|
|
@@ -1032,7 +1032,7 @@
|
|
|
1032
1032
|
"/api/devices/available": {
|
|
1033
1033
|
"get": {
|
|
1034
1034
|
"operationId": "devicesList",
|
|
1035
|
-
"summary": "From a Chat Session: the devices it may
|
|
1035
|
+
"summary": "From a Chat Session: the devices it may use, the workspace's devices and the session member's own Macs, each with its id, kind, whether it is online, the tools it offers, its macOS grants (grants.systemEvents: menu bar icons open with `osascript` through System Events), this session's access: none, pending or approved (a workspace device is always approved: it needs no request), 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. Use a workspace device at once with --device-id; request a personal Mac with `kosuke devices requests create` before any mac command on it. Use a device only when the test truly needs a real Mac. One session at a time uses a device: on MAC_BUSY, wait in its line with `kosuke devices locks create` rather than give up or call again, and let it go with `kosuke devices locks delete` once done.",
|
|
1036
1036
|
"tags": ["devices"],
|
|
1037
1037
|
"x-kosuke-command": ["devices", "list"],
|
|
1038
1038
|
"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.27",
|
|
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,14 +40,10 @@
|
|
|
40
40
|
"vitest": "^4.1.12"
|
|
41
41
|
},
|
|
42
42
|
"kosukeRelease": {
|
|
43
|
-
"sourceCommit": "
|
|
44
|
-
"sourceIdentity": "
|
|
43
|
+
"sourceCommit": "41f9001f07e438ce79caa03a789e1f9e2b0a1c3f",
|
|
44
|
+
"sourceIdentity": "fe49218e647ccf61dd663f776ca88a152f8a218c803aa0b21e1958f382ba0201",
|
|
45
45
|
"fragments": [
|
|
46
|
-
"
|
|
47
|
-
"sensei-card-actions-p3c4rd.json",
|
|
48
|
-
"github-writes-through-gh-m8t2qa.json",
|
|
49
|
-
"merge-agent-merge-sync-q8v2tn.json",
|
|
50
|
-
"merge-agent-status-trim-w3k9fd.json"
|
|
46
|
+
"workspace-devices-no-approval-4rdore.json"
|
|
51
47
|
]
|
|
52
48
|
}
|
|
53
49
|
}
|