@kosuke-ai/kosuke 1.0.44 → 1.0.45
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.45
|
|
4
|
+
|
|
5
|
+
- `sessions messages list` and `sessions messages get --agent-output summary|compact` now describe the blocks they return as stored: heavy tool inputs, results and subagent output are previews flagged `inputCompacted`, `resultCompacted` or `outputOmitted` only when cut.
|
|
6
|
+
|
|
3
7
|
## 1.0.44
|
|
4
8
|
|
|
5
9
|
- `sessions messages list` and `messages get` show a running Turn's progress: its assistant message has `streaming: true` and the blocks produced so far; `--live false` reads it as stored.
|
|
@@ -6,7 +6,7 @@ export const operation = {
|
|
|
6
6
|
"messages",
|
|
7
7
|
"get"
|
|
8
8
|
],
|
|
9
|
-
"summary": "Read one message of a chat session with every block as recorded: whole tool inputs, results and subagent output, unless agentOutput is compact (subagent output
|
|
9
|
+
"summary": "Read one message of a chat session with every block as recorded: whole tool inputs, results and subagent output, unless agentOutput is compact (subagent output as stored) or summary (blocks as stored, as `kosuke sessions messages list` returns them). The assistant message of a running Turn has streaming: true and the blocks the Turn has produced so far, as the web app shows them; any other message has streaming: false.",
|
|
10
10
|
"pathParams": [
|
|
11
11
|
"projectId",
|
|
12
12
|
"sessionId",
|
|
@@ -18,7 +18,7 @@ export const operation = {
|
|
|
18
18
|
"flag": "agent-output",
|
|
19
19
|
"kind": "string",
|
|
20
20
|
"required": false,
|
|
21
|
-
"description": "full (the default) returns every block as recorded; compact returns whole tool inputs and results and
|
|
21
|
+
"description": "full (the default) returns every block as recorded; compact returns whole tool inputs and results and subagent output as stored, its last entry with outputCount; summary returns the blocks as stored, as `kosuke sessions messages list` does.",
|
|
22
22
|
"choices": [
|
|
23
23
|
"summary",
|
|
24
24
|
"compact",
|
|
@@ -6,7 +6,7 @@ export const operation = {
|
|
|
6
6
|
"messages",
|
|
7
7
|
"list"
|
|
8
8
|
],
|
|
9
|
-
"summary": "Read a chat session conversation oldest first: the whole of it, its last limit messages, the page before an olderCursor, or everything from one; newestCursor is what a poll passes as from to read only what changed since. messageCount counts the whole conversation. A running Turn's assistant message has streaming: true and the blocks the Turn has produced so far, as the web app shows them; every other message has streaming: false. Blocks come
|
|
9
|
+
"summary": "Read a chat session conversation oldest first: the whole of it, its last limit messages, the page before an olderCursor, or everything from one; newestCursor is what a poll passes as from to read only what changed since. messageCount counts the whole conversation. A running Turn's assistant message has streaming: true and the blocks the Turn has produced so far, as the web app shows them; every other message has streaming: false. Blocks come as stored: a tool call's input keeps its short fields (inputCompacted when cut), a result over 500 characters its first 500 (resultCompacted), and a subagent its last output entry with outputCount (outputOmitted when cut). `kosuke sessions messages get` reads one message whole.",
|
|
10
10
|
"pathParams": [
|
|
11
11
|
"projectId",
|
|
12
12
|
"sessionId"
|
package/openapi.json
CHANGED
|
@@ -13077,7 +13077,7 @@
|
|
|
13077
13077
|
"/api/projects/{projectId}/chat-sessions/{sessionId}/messages": {
|
|
13078
13078
|
"get": {
|
|
13079
13079
|
"operationId": "sessionsMessagesList",
|
|
13080
|
-
"summary": "Read a chat session conversation oldest first: the whole of it, its last limit messages, the page before an olderCursor, or everything from one; newestCursor is what a poll passes as from to read only what changed since. messageCount counts the whole conversation. A running Turn's assistant message has streaming: true and the blocks the Turn has produced so far, as the web app shows them; every other message has streaming: false. Blocks come
|
|
13080
|
+
"summary": "Read a chat session conversation oldest first: the whole of it, its last limit messages, the page before an olderCursor, or everything from one; newestCursor is what a poll passes as from to read only what changed since. messageCount counts the whole conversation. A running Turn's assistant message has streaming: true and the blocks the Turn has produced so far, as the web app shows them; every other message has streaming: false. Blocks come as stored: a tool call's input keeps its short fields (inputCompacted when cut), a result over 500 characters its first 500 (resultCompacted), and a subagent its last output entry with outputCount (outputOmitted when cut). `kosuke sessions messages get` reads one message whole.",
|
|
13081
13081
|
"tags": ["sessions"],
|
|
13082
13082
|
"x-kosuke-command": ["sessions", "messages", "list"],
|
|
13083
13083
|
"x-kosuke-sandbox-token": true,
|
|
@@ -13185,7 +13185,7 @@
|
|
|
13185
13185
|
"/api/projects/{projectId}/chat-sessions/{sessionId}/messages/{messageId}": {
|
|
13186
13186
|
"get": {
|
|
13187
13187
|
"operationId": "sessionsMessagesGet",
|
|
13188
|
-
"summary": "Read one message of a chat session with every block as recorded: whole tool inputs, results and subagent output, unless agentOutput is compact (subagent output
|
|
13188
|
+
"summary": "Read one message of a chat session with every block as recorded: whole tool inputs, results and subagent output, unless agentOutput is compact (subagent output as stored) or summary (blocks as stored, as `kosuke sessions messages list` returns them). The assistant message of a running Turn has streaming: true and the blocks the Turn has produced so far, as the web app shows them; any other message has streaming: false.",
|
|
13189
13189
|
"tags": ["sessions"],
|
|
13190
13190
|
"x-kosuke-command": ["sessions", "messages", "get"],
|
|
13191
13191
|
"x-kosuke-sandbox-token": true,
|
|
@@ -13226,9 +13226,9 @@
|
|
|
13226
13226
|
"name": "agentOutput",
|
|
13227
13227
|
"in": "query",
|
|
13228
13228
|
"required": false,
|
|
13229
|
-
"description": "full (the default) returns every block as recorded; compact returns whole tool inputs and results and
|
|
13229
|
+
"description": "full (the default) returns every block as recorded; compact returns whole tool inputs and results and subagent output as stored, its last entry with outputCount; summary returns the blocks as stored, as `kosuke sessions messages list` does.",
|
|
13230
13230
|
"schema": {
|
|
13231
|
-
"description": "full (the default) returns every block as recorded; compact returns whole tool inputs and results and
|
|
13231
|
+
"description": "full (the default) returns every block as recorded; compact returns whole tool inputs and results and subagent output as stored, its last entry with outputCount; summary returns the blocks as stored, as `kosuke sessions messages list` does.",
|
|
13232
13232
|
"type": "string",
|
|
13233
13233
|
"enum": ["summary", "compact", "full"]
|
|
13234
13234
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kosuke-ai/kosuke",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.45",
|
|
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,10 @@
|
|
|
40
40
|
"vitest": "^4.1.12"
|
|
41
41
|
},
|
|
42
42
|
"kosukeRelease": {
|
|
43
|
-
"sourceCommit": "
|
|
44
|
-
"sourceIdentity": "
|
|
43
|
+
"sourceCommit": "d1b8a395921f1292919a6c8d61a7aa80b7bb3360",
|
|
44
|
+
"sourceIdentity": "fab8c40a0305d925f88525b3a95e534a0cdfe9fe4ae0b56659996ca2a0093c26",
|
|
45
45
|
"fragments": [
|
|
46
|
-
"
|
|
46
|
+
"messages-blocks-as-stored-zedc5c.json"
|
|
47
47
|
]
|
|
48
48
|
}
|
|
49
49
|
}
|