@kosuke-ai/kosuke 1.0.168 → 1.0.169

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.169
4
+
5
+ - `kosuke sensei threads split` and `threads create` say they run only when the member asks for a separate thread.
6
+
3
7
  ## 1.0.168
4
8
 
5
9
  - Accept a workspace's slug from an app URL wherever a workspace id goes: a refused slug is looked up among your workspaces and sent again as its id.
@@ -6,7 +6,7 @@ export const operation = {
6
6
  "threads",
7
7
  "create"
8
8
  ],
9
- "summary": "Open a new thread for the member, at any point of this Turn, on a prompt you write. Only Sensei calls it, for a separate topic that should not go on in this thread. Never for the asks of the member’s message that started this thread: `sensei threads split` does that. The new thread gets its own Turn, which may read Queued, and links back here; nothing of this thread goes with it, so the prompt says all it needs. A Turn opens at most 3 threads, and so do the threads opened from one thread in all. Answers the new thread id and turn id: do not do that work here.",
9
+ "summary": "Open a new thread for the member, at any point of this Turn, on a prompt you write. Only Sensei calls it, and only when the member asks for a new thread: another topic goes on here, or in the thread that holds it (`sensei threads search`). Never for the asks of the member’s message that started this thread: `sensei threads split` does that. The new thread gets its own Turn, which may read Queued, and links back here; nothing of this thread goes with it, so the prompt says all it needs. A Turn opens at most 3 threads, and so do the threads opened from one thread in all. Answers the new thread id and turn id: do not do that work here.",
10
10
  "pathParams": [],
11
11
  "query": [],
12
12
  "body": {
@@ -6,7 +6,7 @@ export const operation = {
6
6
  "threads",
7
7
  "split"
8
8
  ],
9
- "summary": "Split the member’s message that started this Turn’s thread into one thread per ask. Only Sensei calls it, once per message. The member’s message stays the root of this thread, which does the first ask; each other ask becomes a thread of its own with its own Turn. The reply lists the asks handed off: do not do those here. Each ask stands alone: \"Ship A, B and C\" is three asks, the steps of one piece of work are one.",
9
+ "summary": "Split the member’s message that started this Turn’s thread into one thread per ask, only when the member asked for separate threads: one thread runs several asks at once, so \"Ship A, B and C\" stays here. Only Sensei calls it, once per message. The member’s message stays the root of this thread, which does the first ask; each other ask becomes a thread of its own with its own Turn. The reply lists the asks handed off: do not do those here.",
10
10
  "pathParams": [],
11
11
  "query": [],
12
12
  "body": {
@@ -76,7 +76,7 @@ export const operation = {
76
76
  "flag": "branch",
77
77
  "kind": "string",
78
78
  "required": false,
79
- "description": "An existing branch the session works on: it checks it out, pushes to it and opens its pull request from it. Not the default branch, the Target Branch, or a branch another open session works on. Absent: a new branch. Repository projects only; not with startBranch."
79
+ "description": "An existing branch the session works on: it checks it out, pushes to it, and takes the pull request already open on it or opens one from it. Not the default branch, the Target Branch, or a branch another open session works on. Absent: a new branch. Repository projects only; not with startBranch."
80
80
  },
81
81
  {
82
82
  "name": "reason",
@@ -208,7 +208,7 @@ export const operation = {
208
208
  "flag": "branch",
209
209
  "kind": "string",
210
210
  "required": false,
211
- "description": "An existing branch the session works on: it checks it out, pushes to it and opens its pull request from it. Not the default branch, the Target Branch, or a branch another open session works on. Absent: a new branch. Repository projects only; not with startBranch."
211
+ "description": "An existing branch the session works on: it checks it out, pushes to it, and takes the pull request already open on it or opens one from it. Not the default branch, the Target Branch, or a branch another open session works on. Absent: a new branch. Repository projects only; not with startBranch."
212
212
  },
213
213
  {
214
214
  "name": "reason",
@@ -65,7 +65,7 @@ export const operation = {
65
65
  "flag": "branch",
66
66
  "kind": "string",
67
67
  "required": false,
68
- "description": "An existing branch the session works on: it checks it out, pushes to it and opens its pull request from it. Not the default branch, the Target Branch, or a branch another open session works on. Absent: a new branch. Repository projects only; not with startBranch."
68
+ "description": "An existing branch the session works on: it checks it out, pushes to it, and takes the pull request already open on it or opens one from it. Not the default branch, the Target Branch, or a branch another open session works on. Absent: a new branch. Repository projects only; not with startBranch."
69
69
  },
70
70
  {
71
71
  "name": "reason",
@@ -228,7 +228,7 @@ export const operation = {
228
228
  "flag": "branch",
229
229
  "kind": "string",
230
230
  "required": false,
231
- "description": "An existing branch the session works on: it checks it out, pushes to it and opens its pull request from it. Not the default branch, the Target Branch, or a branch another open session works on. Absent: a new branch. Repository projects only; not with startBranch."
231
+ "description": "An existing branch the session works on: it checks it out, pushes to it, and takes the pull request already open on it or opens one from it. Not the default branch, the Target Branch, or a branch another open session works on. Absent: a new branch. Repository projects only; not with startBranch."
232
232
  },
233
233
  {
234
234
  "name": "reason",
@@ -63,7 +63,7 @@ export const operation = {
63
63
  "flag": "branch",
64
64
  "kind": "string",
65
65
  "required": false,
66
- "description": "An existing branch the session works on: it checks it out, pushes to it and opens its pull request from it. Not the default branch, the Target Branch, or a branch another open session works on. Absent: a new branch. Repository projects only; not with startBranch."
66
+ "description": "An existing branch the session works on: it checks it out, pushes to it, and takes the pull request already open on it or opens one from it. Not the default branch, the Target Branch, or a branch another open session works on. Absent: a new branch. Repository projects only; not with startBranch."
67
67
  },
68
68
  {
69
69
  "name": "reason",
@@ -226,7 +226,7 @@ export const operation = {
226
226
  "flag": "branch",
227
227
  "kind": "string",
228
228
  "required": false,
229
- "description": "An existing branch the session works on: it checks it out, pushes to it and opens its pull request from it. Not the default branch, the Target Branch, or a branch another open session works on. Absent: a new branch. Repository projects only; not with startBranch."
229
+ "description": "An existing branch the session works on: it checks it out, pushes to it, and takes the pull request already open on it or opens one from it. Not the default branch, the Target Branch, or a branch another open session works on. Absent: a new branch. Repository projects only; not with startBranch."
230
230
  },
231
231
  {
232
232
  "name": "reason",
package/openapi.json CHANGED
@@ -11061,7 +11061,7 @@
11061
11061
  "maxLength": 255
11062
11062
  },
11063
11063
  "branch": {
11064
- "description": "An existing branch the session works on: it checks it out, pushes to it and opens its pull request from it. Not the default branch, the Target Branch, or a branch another open session works on. Absent: a new branch. Repository projects only; not with startBranch.",
11064
+ "description": "An existing branch the session works on: it checks it out, pushes to it, and takes the pull request already open on it or opens one from it. Not the default branch, the Target Branch, or a branch another open session works on. Absent: a new branch. Repository projects only; not with startBranch.",
11065
11065
  "type": "string",
11066
11066
  "minLength": 1,
11067
11067
  "maxLength": 255
@@ -11187,7 +11187,7 @@
11187
11187
  "maxLength": 255
11188
11188
  },
11189
11189
  "branch": {
11190
- "description": "An existing branch the session works on: it checks it out, pushes to it and opens its pull request from it. Not the default branch, the Target Branch, or a branch another open session works on. Absent: a new branch. Repository projects only; not with startBranch.",
11190
+ "description": "An existing branch the session works on: it checks it out, pushes to it, and takes the pull request already open on it or opens one from it. Not the default branch, the Target Branch, or a branch another open session works on. Absent: a new branch. Repository projects only; not with startBranch.",
11191
11191
  "type": "string",
11192
11192
  "minLength": 1,
11193
11193
  "maxLength": 255
@@ -11292,7 +11292,7 @@
11292
11292
  "maxLength": 255
11293
11293
  },
11294
11294
  "branch": {
11295
- "description": "An existing branch the session works on: it checks it out, pushes to it and opens its pull request from it. Not the default branch, the Target Branch, or a branch another open session works on. Absent: a new branch. Repository projects only; not with startBranch.",
11295
+ "description": "An existing branch the session works on: it checks it out, pushes to it, and takes the pull request already open on it or opens one from it. Not the default branch, the Target Branch, or a branch another open session works on. Absent: a new branch. Repository projects only; not with startBranch.",
11296
11296
  "type": "string",
11297
11297
  "minLength": 1,
11298
11298
  "maxLength": 255
@@ -14188,7 +14188,7 @@
14188
14188
  "maxLength": 255
14189
14189
  },
14190
14190
  "branch": {
14191
- "description": "An existing branch the session works on: it checks it out, pushes to it and opens its pull request from it. Not the default branch, the Target Branch, or a branch another open session works on. Absent: a new branch. Repository projects only; not with startBranch.",
14191
+ "description": "An existing branch the session works on: it checks it out, pushes to it, and takes the pull request already open on it or opens one from it. Not the default branch, the Target Branch, or a branch another open session works on. Absent: a new branch. Repository projects only; not with startBranch.",
14192
14192
  "type": "string",
14193
14193
  "minLength": 1,
14194
14194
  "maxLength": 255
@@ -14265,7 +14265,7 @@
14265
14265
  "maxLength": 255
14266
14266
  },
14267
14267
  "branch": {
14268
- "description": "An existing branch the session works on: it checks it out, pushes to it and opens its pull request from it. Not the default branch, the Target Branch, or a branch another open session works on. Absent: a new branch. Repository projects only; not with startBranch.",
14268
+ "description": "An existing branch the session works on: it checks it out, pushes to it, and takes the pull request already open on it or opens one from it. Not the default branch, the Target Branch, or a branch another open session works on. Absent: a new branch. Repository projects only; not with startBranch.",
14269
14269
  "type": "string",
14270
14270
  "minLength": 1,
14271
14271
  "maxLength": 255
@@ -27670,7 +27670,7 @@
27670
27670
  "/api/sensei/thread-create": {
27671
27671
  "post": {
27672
27672
  "operationId": "senseiThreadsCreate",
27673
- "summary": "Open a new thread for the member, at any point of this Turn, on a prompt you write. Only Sensei calls it, for a separate topic that should not go on in this thread. Never for the asks of the member’s message that started this thread: `sensei threads split` does that. The new thread gets its own Turn, which may read Queued, and links back here; nothing of this thread goes with it, so the prompt says all it needs. A Turn opens at most 3 threads, and so do the threads opened from one thread in all. Answers the new thread id and turn id: do not do that work here.",
27673
+ "summary": "Open a new thread for the member, at any point of this Turn, on a prompt you write. Only Sensei calls it, and only when the member asks for a new thread: another topic goes on here, or in the thread that holds it (`sensei threads search`). Never for the asks of the member’s message that started this thread: `sensei threads split` does that. The new thread gets its own Turn, which may read Queued, and links back here; nothing of this thread goes with it, so the prompt says all it needs. A Turn opens at most 3 threads, and so do the threads opened from one thread in all. Answers the new thread id and turn id: do not do that work here.",
27674
27674
  "tags": ["sensei"],
27675
27675
  "x-kosuke-command": ["sensei", "threads", "create"],
27676
27676
  "x-kosuke-sandbox-token": true,
@@ -27921,7 +27921,7 @@
27921
27921
  "/api/sensei/thread-split": {
27922
27922
  "post": {
27923
27923
  "operationId": "senseiThreadsSplit",
27924
- "summary": "Split the member’s message that started this Turn’s thread into one thread per ask. Only Sensei calls it, once per message. The member’s message stays the root of this thread, which does the first ask; each other ask becomes a thread of its own with its own Turn. The reply lists the asks handed off: do not do those here. Each ask stands alone: \"Ship A, B and C\" is three asks, the steps of one piece of work are one.",
27924
+ "summary": "Split the member’s message that started this Turn’s thread into one thread per ask, only when the member asked for separate threads: one thread runs several asks at once, so \"Ship A, B and C\" stays here. Only Sensei calls it, once per message. The member’s message stays the root of this thread, which does the first ask; each other ask becomes a thread of its own with its own Turn. The reply lists the asks handed off: do not do those here.",
27925
27925
  "tags": ["sensei"],
27926
27926
  "x-kosuke-command": ["sensei", "threads", "split"],
27927
27927
  "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.168",
3
+ "version": "1.0.169",
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": "0fa55482dc518c6bd3ddcbaae22962b84e6ce455",
47
- "sourceIdentity": "3909e257786e2bd044575f8de584203f4f89ede99004114724427036f72b68c9",
46
+ "sourceCommit": "57a8cd52af9f8a9b2cc73e2fdb4879350ff9585a",
47
+ "sourceIdentity": "1822471fb9ca087cd347060a2188775c02c945c67a47d2c9c6b5a117bf237ccf",
48
48
  "fragments": [
49
- "cli-workspace-slug-r7k2mq.json"
49
+ "fewer-threads-ux-q7m2kd.json"
50
50
  ]
51
51
  }
52
52
  }