@kosuke-ai/kosuke 1.0.78 → 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,13 @@
|
|
|
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
|
+
|
|
7
|
+
## 1.0.79
|
|
8
|
+
|
|
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.
|
|
10
|
+
|
|
3
11
|
## 1.0.78
|
|
4
12
|
|
|
5
13
|
- `kosuke prototypes create` runs the prototype's script before upload and refuses a state its `show` entry cannot reach, listing each in `details.issues`.
|
|
@@ -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,
|
|
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,
|
|
@@ -30,7 +30,7 @@ export const operation = {
|
|
|
30
30
|
"required": true,
|
|
31
31
|
"shape": [
|
|
32
32
|
"T[] (max 12), each T one of:",
|
|
33
|
-
"{type: \"text\", role?: \"message\"|\"draft\", text: string, media?: {eventId: string, parts: integer[] (max 10)}}",
|
|
33
|
+
"{type: \"text\", role?: \"message\"|\"draft\", text: string, media?: {eventId: string, parts: integer[] (max 10)}, network?: \"gmail\"|\"slack\"|\"telegram\"|\"whatsapp\"|\"linkedin\"|\"x\"}",
|
|
34
34
|
"{type: \"facts\", rows: {label: string, value: string}[] (max 20)}",
|
|
35
35
|
"{type: \"qa_report\", status?: \"passed\"|\"failed\"|\"blocked\"|\"skipped\"|\"running\", reason?: string, passed: integer, total: integer, sections: {title: string, passed: integer, total: integer, note?: string}[] (max 30), failed: {section: string, item: string, reason: string}[] (max 30), links: {label: string, href: string}[] (max 8)}",
|
|
36
36
|
"{type: \"diff\", summary: string, text?: {current: string, proposed: string}, files: {path: string, added: integer, removed: integer}[] (max 50)}",
|
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,
|
|
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,
|
|
@@ -21066,6 +21066,11 @@
|
|
|
21066
21066
|
"required": ["eventId", "parts"],
|
|
21067
21067
|
"additionalProperties": false,
|
|
21068
21068
|
"description": "The parts of an incoming message to draw: the event's id, and each part's place in its `parts`, from 0. Only a part with a `preview`."
|
|
21069
|
+
},
|
|
21070
|
+
"network": {
|
|
21071
|
+
"description": "Where the draft is sent.",
|
|
21072
|
+
"type": "string",
|
|
21073
|
+
"enum": ["gmail", "slack", "telegram", "whatsapp", "linkedin", "x"]
|
|
21069
21074
|
}
|
|
21070
21075
|
},
|
|
21071
21076
|
"required": ["type", "text"]
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kosuke-ai/kosuke",
|
|
3
|
-
"version": "1.0.
|
|
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,12 +43,10 @@
|
|
|
43
43
|
"minimatch": "^11.0.1"
|
|
44
44
|
},
|
|
45
45
|
"kosukeRelease": {
|
|
46
|
-
"sourceCommit": "
|
|
47
|
-
"sourceIdentity": "
|
|
46
|
+
"sourceCommit": "090ffd9bf7da31fe79017c66f03cd991ceba93e1",
|
|
47
|
+
"sourceIdentity": "a30610cb094b3e2f54117e3f45016cbdd83e9d4188acd60e696965f736c459a1",
|
|
48
48
|
"fragments": [
|
|
49
|
-
"
|
|
50
|
-
"task-create-labels-yu73lp.json",
|
|
51
|
-
"sensei-recover-reply-76uipp.json"
|
|
49
|
+
"workspace-mac-first-u12z4c.json"
|
|
52
50
|
]
|
|
53
51
|
}
|
|
54
52
|
}
|