@kosuke-ai/kosuke 1.2.3606 → 1.2.3613
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 +8 -0
- package/dist/generated/commands/preview/get.js +18 -0
- package/dist/generated/commands/preview/health-get.js +12 -0
- package/dist/generated/commands/preview/sandbox-reset.js +6 -0
- package/dist/generated/commands/sensei/reels-later-holds-create.js +1 -1
- package/dist/generated/commands/sensei/reels-later-holds-list.js +1 -1
- package/openapi.json +34 -2
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 1.2.3613
|
|
4
|
+
|
|
5
|
+
- A card put off with Later stays put off for its 30 minutes on every device, even when Sensei updates it or its session moves on; it still comes back sooner when you bring it back or it closes.
|
|
6
|
+
|
|
7
|
+
## 1.2.3609
|
|
8
|
+
|
|
9
|
+
- `preview health get --session-id` now returns `browserUrl`: the address a browser opens for that task's preview, whatever its sandbox is doing. A browser that opens it while the sandbox is paused or still being created waits on the starting page. `preview get --session-id <id> --intent open` tells Kosuke the member is about to open that preview in a browser that cannot say so itself, so the starting page wakes the sandbox even on a second open.
|
|
10
|
+
|
|
3
11
|
## 1.2.3606
|
|
4
12
|
|
|
5
13
|
- Name each connection's full connectionId in `kosuke integrations list` and in a tool call's meta.ranOn, so a card can reference it.
|
|
@@ -27,11 +27,29 @@ export const operation = {
|
|
|
27
27
|
"wait",
|
|
28
28
|
"restart"
|
|
29
29
|
]
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
"name": "intent",
|
|
33
|
+
"flag": "intent",
|
|
34
|
+
"kind": "string",
|
|
35
|
+
"required": false,
|
|
36
|
+
"description": "A session's preview only: the member is about to open it in a browser that cannot say so itself (the iPhone app's Preview row), so its next handoff wakes the sandbox as a member's own tap.",
|
|
37
|
+
"choices": [
|
|
38
|
+
"open"
|
|
39
|
+
]
|
|
30
40
|
}
|
|
31
41
|
],
|
|
32
42
|
"body": null,
|
|
33
43
|
"multipart": null,
|
|
34
44
|
"attachments": false,
|
|
45
|
+
"fields": [
|
|
46
|
+
"projectId",
|
|
47
|
+
"sandboxKey",
|
|
48
|
+
"frontendUrls",
|
|
49
|
+
"provisioning",
|
|
50
|
+
"startAttemptId",
|
|
51
|
+
"creditLimitReached"
|
|
52
|
+
],
|
|
35
53
|
"anonymous": false,
|
|
36
54
|
"agents": "all"
|
|
37
55
|
};
|
|
@@ -22,6 +22,18 @@ export const operation = {
|
|
|
22
22
|
"body": null,
|
|
23
23
|
"multipart": null,
|
|
24
24
|
"attachments": false,
|
|
25
|
+
"fields": [
|
|
26
|
+
"state",
|
|
27
|
+
"paused",
|
|
28
|
+
"needsStart",
|
|
29
|
+
"startInFlight",
|
|
30
|
+
"startFailure",
|
|
31
|
+
"sandboxAvailable",
|
|
32
|
+
"creditLimitReached",
|
|
33
|
+
"sandboxLimitReached",
|
|
34
|
+
"indeterminate",
|
|
35
|
+
"browserUrl"
|
|
36
|
+
],
|
|
25
37
|
"anonymous": false,
|
|
26
38
|
"agents": "all"
|
|
27
39
|
};
|
|
@@ -31,7 +31,7 @@ export const operation = {
|
|
|
31
31
|
"flag": "carried",
|
|
32
32
|
"kind": "json",
|
|
33
33
|
"required": false,
|
|
34
|
-
"description": "A hold this browser kept before Later was stored on the server: it keeps its own end
|
|
34
|
+
"description": "A hold this browser kept before Later was stored on the server: it keeps its own end, and is dropped once that has passed.",
|
|
35
35
|
"shape": "{heldAt: string, until: string, activityVersion: string}"
|
|
36
36
|
}
|
|
37
37
|
],
|
|
@@ -7,7 +7,7 @@ export const operation = {
|
|
|
7
7
|
"later-holds",
|
|
8
8
|
"list"
|
|
9
9
|
],
|
|
10
|
-
"summary": "List the Deck cards you put off with Later that still wait: each comes back 30 minutes after it was put off, or sooner when
|
|
10
|
+
"summary": "List the Deck cards you put off with Later that still wait: each comes back 30 minutes after it was put off, or sooner when you bring it back or it closes. Sensei updating the card or its session moving on keeps it put off.",
|
|
11
11
|
"pathParams": [],
|
|
12
12
|
"query": [],
|
|
13
13
|
"body": null,
|
package/openapi.json
CHANGED
|
@@ -20744,6 +20744,14 @@
|
|
|
20744
20744
|
"summary": "Read the preview URLs of the project's main sandbox, or of one chat session's. Starts a paused or missing sandbox in the background; poll health until it is up.",
|
|
20745
20745
|
"tags": ["preview"],
|
|
20746
20746
|
"x-kosuke-command": ["preview", "get"],
|
|
20747
|
+
"x-kosuke-fields": [
|
|
20748
|
+
"projectId",
|
|
20749
|
+
"sandboxKey",
|
|
20750
|
+
"frontendUrls",
|
|
20751
|
+
"provisioning",
|
|
20752
|
+
"startAttemptId",
|
|
20753
|
+
"creditLimitReached"
|
|
20754
|
+
],
|
|
20747
20755
|
"x-kosuke-sandbox-token": true,
|
|
20748
20756
|
"x-kosuke-cron-token": true,
|
|
20749
20757
|
"x-kosuke-sensei-token": true,
|
|
@@ -20780,6 +20788,17 @@
|
|
|
20780
20788
|
"type": "string",
|
|
20781
20789
|
"enum": ["wait", "restart"]
|
|
20782
20790
|
}
|
|
20791
|
+
},
|
|
20792
|
+
{
|
|
20793
|
+
"name": "intent",
|
|
20794
|
+
"in": "query",
|
|
20795
|
+
"required": false,
|
|
20796
|
+
"description": "A session's preview only: the member is about to open it in a browser that cannot say so itself (the iPhone app's Preview row), so its next handoff wakes the sandbox as a member's own tap.",
|
|
20797
|
+
"schema": {
|
|
20798
|
+
"description": "A session's preview only: the member is about to open it in a browser that cannot say so itself (the iPhone app's Preview row), so its next handoff wakes the sandbox as a member's own tap.",
|
|
20799
|
+
"type": "string",
|
|
20800
|
+
"const": "open"
|
|
20801
|
+
}
|
|
20783
20802
|
}
|
|
20784
20803
|
],
|
|
20785
20804
|
"responses": {
|
|
@@ -20822,6 +20841,18 @@
|
|
|
20822
20841
|
"summary": "Read the health of every service behind a preview, and whether a background start is running or failed.",
|
|
20823
20842
|
"tags": ["preview"],
|
|
20824
20843
|
"x-kosuke-command": ["preview", "health", "get"],
|
|
20844
|
+
"x-kosuke-fields": [
|
|
20845
|
+
"state",
|
|
20846
|
+
"paused",
|
|
20847
|
+
"needsStart",
|
|
20848
|
+
"startInFlight",
|
|
20849
|
+
"startFailure",
|
|
20850
|
+
"sandboxAvailable",
|
|
20851
|
+
"creditLimitReached",
|
|
20852
|
+
"sandboxLimitReached",
|
|
20853
|
+
"indeterminate",
|
|
20854
|
+
"browserUrl"
|
|
20855
|
+
],
|
|
20825
20856
|
"x-kosuke-sandbox-token": true,
|
|
20826
20857
|
"x-kosuke-cron-token": true,
|
|
20827
20858
|
"x-kosuke-sensei-token": true,
|
|
@@ -20889,6 +20920,7 @@
|
|
|
20889
20920
|
"summary": "Kill a sandbox that is stuck or crashed and does not recover by itself (not a slow preview), paused or unreachable included; the platform creates a new one. Uncommitted work and the agent's memory of the chat are lost, so an agent first asks the member on a card saying so and runs it only once they approve; an Event Turn or a teammate's message is never that approval.",
|
|
20890
20921
|
"tags": ["preview"],
|
|
20891
20922
|
"x-kosuke-command": ["preview", "sandbox", "reset"],
|
|
20923
|
+
"x-kosuke-fields": ["status", "projectId", "sandboxKey", "alreadyInFlight"],
|
|
20892
20924
|
"x-kosuke-sensei-token": true,
|
|
20893
20925
|
"parameters": [
|
|
20894
20926
|
{
|
|
@@ -27113,7 +27145,7 @@
|
|
|
27113
27145
|
"/api/sensei/reels/later/holds": {
|
|
27114
27146
|
"get": {
|
|
27115
27147
|
"operationId": "senseiReelsLaterHoldsList",
|
|
27116
|
-
"summary": "List the Deck cards you put off with Later that still wait: each comes back 30 minutes after it was put off, or sooner when
|
|
27148
|
+
"summary": "List the Deck cards you put off with Later that still wait: each comes back 30 minutes after it was put off, or sooner when you bring it back or it closes. Sensei updating the card or its session moving on keeps it put off.",
|
|
27117
27149
|
"tags": ["sensei"],
|
|
27118
27150
|
"x-kosuke-command": ["sensei", "reels", "later-holds", "list"],
|
|
27119
27151
|
"x-kosuke-fields": ["id", "claim", "revision", "activityVersion", "heldAt", "until"],
|
|
@@ -27176,7 +27208,7 @@
|
|
|
27176
27208
|
"description": "The card revision you saw."
|
|
27177
27209
|
},
|
|
27178
27210
|
"carried": {
|
|
27179
|
-
"description": "A hold this browser kept before Later was stored on the server: it keeps its own end
|
|
27211
|
+
"description": "A hold this browser kept before Later was stored on the server: it keeps its own end, and is dropped once that has passed.",
|
|
27180
27212
|
"type": "object",
|
|
27181
27213
|
"properties": {
|
|
27182
27214
|
"heldAt": {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kosuke-ai/kosuke",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.3613",
|
|
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": "a095c2881085150af75d248e10ee55dbfd06dc30",
|
|
47
|
+
"sourceIdentity": "bedea128355fb10c2541b77f920a3260b497bd4d6a5b1d949107cfba26214b52",
|
|
48
48
|
"fragments": [
|
|
49
|
-
"
|
|
49
|
+
"later-stays-put-off-9xq2kd.json"
|
|
50
50
|
]
|
|
51
51
|
}
|
|
52
52
|
}
|