@kosuke-ai/kosuke 1.0.44 → 1.0.46
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.46
|
|
4
|
+
|
|
5
|
+
- `kosuke sessions go-ahead set` now marks a draft pull request ready for review on GitHub, as the member, before it saves the go-ahead. When GitHub refuses, nothing is saved and the command fails with GitHub's reason.
|
|
6
|
+
|
|
7
|
+
## 1.0.45
|
|
8
|
+
|
|
9
|
+
- `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.
|
|
10
|
+
|
|
3
11
|
## 1.0.44
|
|
4
12
|
|
|
5
13
|
- `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
|
"go-ahead",
|
|
7
7
|
"set"
|
|
8
8
|
],
|
|
9
|
-
"summary": "Give the session's pull request the go-ahead to merge, as the session's member, on one head: goAheadSha, goAheadBy and goAheadAt. The project's Merge agent (the merge train, or Batch merging when it is on) is woken and merges it only at that head. Members and their Sensei only.",
|
|
9
|
+
"summary": "Give the session's pull request the go-ahead to merge, as the session's member, on one head: goAheadSha, goAheadBy and goAheadAt. A draft pull request is first marked ready for review on GitHub as the member; when GitHub refuses, nothing is saved (503). The project's Merge agent (the merge train, or Batch merging when it is on) is woken and merges it only at that head. Members and their Sensei only.",
|
|
10
10
|
"pathParams": [
|
|
11
11
|
"projectId",
|
|
12
12
|
"sessionId"
|
|
@@ -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
|
@@ -12257,7 +12257,7 @@
|
|
|
12257
12257
|
"/api/projects/{projectId}/chat-sessions/{sessionId}/go-ahead": {
|
|
12258
12258
|
"put": {
|
|
12259
12259
|
"operationId": "sessionsGoAheadSet",
|
|
12260
|
-
"summary": "Give the session's pull request the go-ahead to merge, as the session's member, on one head: goAheadSha, goAheadBy and goAheadAt. The project's Merge agent (the merge train, or Batch merging when it is on) is woken and merges it only at that head. Members and their Sensei only.",
|
|
12260
|
+
"summary": "Give the session's pull request the go-ahead to merge, as the session's member, on one head: goAheadSha, goAheadBy and goAheadAt. A draft pull request is first marked ready for review on GitHub as the member; when GitHub refuses, nothing is saved (503). The project's Merge agent (the merge train, or Batch merging when it is on) is woken and merges it only at that head. Members and their Sensei only.",
|
|
12261
12261
|
"tags": ["sessions"],
|
|
12262
12262
|
"x-kosuke-command": ["sessions", "go-ahead", "set"],
|
|
12263
12263
|
"x-kosuke-sandbox-token": true,
|
|
@@ -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.46",
|
|
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": "f4683aa88f4cb9eb6912d2a4200eb6c1f200bcf7",
|
|
44
|
+
"sourceIdentity": "fdca0a6ab0b23ad62544a8f7e689f390510d911a476dee7ab45956bfb173e44b",
|
|
45
45
|
"fragments": [
|
|
46
|
-
"
|
|
46
|
+
"go-ahead-marks-ready-h7yijc.json"
|
|
47
47
|
]
|
|
48
48
|
}
|
|
49
49
|
}
|