@kosuke-ai/kosuke 1.0.79 → 1.0.80

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.80
4
+
5
+ - `kosuke devices list` lists workspace devices before personal Macs and says a busy workspace device is waited for in its line, never replaced by a personal Mac.
6
+
3
7
  ## 1.0.79
4
8
 
5
9
  - `kosuke sensei cards set` takes an optional `network` on a draft text block, naming where the draft is sent so the card shows the right Sign as Sensei marker.
@@ -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 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 is for Sensei's `osascript` through System Events: a session's shell runs in its fence, where macOS refuses Apple Events, so a session opens menu bar icons with `kosuke mac click`; grants.screenRecording is \"unknown\", with grants.screenRecordingReason, when the app could not read it, which is no missing permission), 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.",
8
+ "summary": "From a Chat Session: the devices it may use, workspace devices first; use one with the tools the test needs at once with --device-id, no request, and ask for the session member's own Mac with `kosuke devices requests create`, before any mac command on it, only when no workspace device fits (none online with those tools) or the member asks for it; a busy workspace device that fits is waited for in its line, never replaced by a personal Mac. Each device has its id, kind, whether it is online, the tools it offers, its macOS grants (grants.systemEvents is for Sensei's `osascript` through System Events: a session's shell runs in its fence, where macOS refuses Apple Events, so a session opens menu bar icons with `kosuke mac click`; grants.screenRecording is \"unknown\", with grants.screenRecordingReason, when the app could not read it, which is no missing permission), 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. Choose by kind and tools, whatever the names or past approvals; among devices of one kind, pick a free one. 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,
package/openapi.json CHANGED
@@ -1220,7 +1220,7 @@
1220
1220
  "/api/devices/available": {
1221
1221
  "get": {
1222
1222
  "operationId": "devicesList",
1223
- "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 is for Sensei's `osascript` through System Events: a session's shell runs in its fence, where macOS refuses Apple Events, so a session opens menu bar icons with `kosuke mac click`; grants.screenRecording is \"unknown\", with grants.screenRecordingReason, when the app could not read it, which is no missing permission), 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.",
1223
+ "summary": "From a Chat Session: the devices it may use, workspace devices first; use one with the tools the test needs at once with --device-id, no request, and ask for the session member's own Mac with `kosuke devices requests create`, before any mac command on it, only when no workspace device fits (none online with those tools) or the member asks for it; a busy workspace device that fits is waited for in its line, never replaced by a personal Mac. Each device has its id, kind, whether it is online, the tools it offers, its macOS grants (grants.systemEvents is for Sensei's `osascript` through System Events: a session's shell runs in its fence, where macOS refuses Apple Events, so a session opens menu bar icons with `kosuke mac click`; grants.screenRecording is \"unknown\", with grants.screenRecordingReason, when the app could not read it, which is no missing permission), 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. Choose by kind and tools, whatever the names or past approvals; among devices of one kind, pick a free one. 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.",
1224
1224
  "tags": ["devices"],
1225
1225
  "x-kosuke-command": ["devices", "list"],
1226
1226
  "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.79",
3
+ "version": "1.0.80",
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": "4c0ec80f6043147c3dcec70e4275fd60b57359e3",
47
- "sourceIdentity": "4b8b417be15e38adb4e91450bb7216d36c09d59331da357f3bffebda1c988812",
46
+ "sourceCommit": "090ffd9bf7da31fe79017c66f03cd991ceba93e1",
47
+ "sourceIdentity": "a30610cb094b3e2f54117e3f45016cbdd83e9d4188acd60e696965f736c459a1",
48
48
  "fragments": [
49
- "sensei-card-draft-network.json"
49
+ "workspace-mac-first-u12z4c.json"
50
50
  ]
51
51
  }
52
52
  }