@kosuke-ai/kosuke 1.3.3624 → 1.3.3631

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.3.3631
4
+
5
+ - Add Sensei's Single chat mode: every event lands in one chat with Sensei's line under it, Home ranks the cards, and Sensei reads new events every 1, 2 or 5 minutes.
6
+
7
+ ## 1.3.3629
8
+
9
+ - Sensei cards can bind a sensei_reply action that sends a teammate the shown reply with no Turn, and `sensei messages reply` refuses words the member did not write on such a card.
10
+
3
11
  ## 1.3.3624
4
12
 
5
13
  - Add Gemini 4 Neon (Low, Medium, High, xHigh) to the Google models, on a Google sign-in that offers it. The Gemini picker reads Carbon, Neon, Hydrogen, Argon, then 3.8 Flash.
@@ -231,144 +231,145 @@ import { operation as o229 } from './sensei/delegates-stop.js';
231
231
  import { operation as o230 } from './sensei/describe-cards-create.js';
232
232
  import { operation as o231 } from './sensei/device-requests-list.js';
233
233
  import { operation as o232 } from './sensei/device-requests-update.js';
234
- import { operation as o233 } from './sensei/fyi-move.js';
235
- import { operation as o234 } from './sensei/memory-get.js';
236
- import { operation as o235 } from './sensei/memory-set.js';
237
- import { operation as o236 } from './sensei/merge-rule-set.js';
238
- import { operation as o237 } from './sensei/messages-move.js';
239
- import { operation as o238 } from './sensei/messages-reply.js';
240
- import { operation as o239 } from './sensei/messages-send.js';
241
- import { operation as o240 } from './sensei/notifications-mark-read.js';
242
- import { operation as o241 } from './sensei/reels-activity-list.js';
243
- import { operation as o242 } from './sensei/reels-later-holds-create.js';
244
- import { operation as o243 } from './sensei/reels-later-holds-delete.js';
245
- import { operation as o244 } from './sensei/reels-later-holds-list.js';
246
- import { operation as o245 } from './sensei/repository-cards-create.js';
247
- import { operation as o246 } from './sensei/search.js';
248
- import { operation as o247 } from './sensei/sessions-assessments-create.js';
249
- import { operation as o248 } from './sensei/sessions-facts-get.js';
250
- import { operation as o249 } from './sensei/suggestions-create.js';
251
- import { operation as o250 } from './sensei/threads-archive.js';
252
- import { operation as o251 } from './sensei/threads-close.js';
253
- import { operation as o252 } from './sensei/threads-create.js';
254
- import { operation as o253 } from './sensei/threads-get.js';
255
- import { operation as o254 } from './sensei/threads-list.js';
256
- import { operation as o255 } from './sensei/threads-move.js';
257
- import { operation as o256 } from './sensei/threads-notes-get.js';
258
- import { operation as o257 } from './sensei/threads-notes-send.js';
259
- import { operation as o258 } from './sensei/threads-search.js';
260
- import { operation as o259 } from './sensei/threads-split.js';
261
- import { operation as o260 } from './sensei/threads-unarchive.js';
262
- import { operation as o261 } from './sensei/tickets-merge.js';
263
- import { operation as o262 } from './sensei/watch-reads-finish.js';
264
- import { operation as o263 } from './sensei/widgets-get.js';
265
- import { operation as o264 } from './sensei/writing-get.js';
266
- import { operation as o265 } from './sensei/writing-set.js';
267
- import { operation as o266 } from './sensei/writing-samples-create.js';
268
- import { operation as o267 } from './sessions/app-stack-start.js';
269
- import { operation as o268 } from './sessions/create.js';
270
- import { operation as o269 } from './sessions/delete.js';
271
- import { operation as o270 } from './sessions/desktop-control-set.js';
272
- import { operation as o271 } from './sessions/desktop-get.js';
273
- import { operation as o272 } from './sessions/desktop-start.js';
274
- import { operation as o273 } from './sessions/diff-comments-create.js';
275
- import { operation as o274 } from './sessions/diff-comments-delete.js';
276
- import { operation as o275 } from './sessions/diff-comments-list.js';
277
- import { operation as o276 } from './sessions/diff-comments-update.js';
278
- import { operation as o277 } from './sessions/diff-commits-list.js';
279
- import { operation as o278 } from './sessions/diff-files-list.js';
280
- import { operation as o279 } from './sessions/diff-patch-get.js';
281
- import { operation as o280 } from './sessions/env-sync.js';
282
- import { operation as o281 } from './sessions/files-attach.js';
283
- import { operation as o282 } from './sessions/files-get.js';
284
- import { operation as o283 } from './sessions/files-list.js';
285
- import { operation as o284 } from './sessions/get.js';
286
- import { operation as o285 } from './sessions/git-state-get.js';
287
- import { operation as o286 } from './sessions/go-ahead-delete.js';
288
- import { operation as o287 } from './sessions/go-ahead-set.js';
289
- import { operation as o288 } from './sessions/jobs-cancel.js';
290
- import { operation as o289 } from './sessions/jobs-get.js';
291
- import { operation as o290 } from './sessions/jobs-list.js';
292
- import { operation as o291 } from './sessions/labels-set.js';
293
- import { operation as o292 } from './sessions/labels-update.js';
294
- import { operation as o293 } from './sessions/list.js';
295
- import { operation as o294 } from './sessions/list--all.js';
296
- import { operation as o295 } from './sessions/mark-read.js';
297
- import { operation as o296 } from './sessions/messages-get.js';
298
- import { operation as o297 } from './sessions/messages-list.js';
299
- import { operation as o298 } from './sessions/prompt-update.js';
300
- import { operation as o299 } from './sessions/qa-runs-finish.js';
301
- import { operation as o300 } from './sessions/qa-runs-fixes-create.js';
302
- import { operation as o301 } from './sessions/qa-runs-get.js';
303
- import { operation as o302 } from './sessions/qa-runs-results-create.js';
304
- import { operation as o303 } from './sessions/qa-runs-start.js';
305
- import { operation as o304 } from './sessions/qa-runs-stop.js';
306
- import { operation as o305 } from './sessions/qa-set.js';
307
- import { operation as o306 } from './sessions/review-set.js';
308
- import { operation as o307 } from './sessions/runtime-commands-run.js';
309
- import { operation as o308 } from './sessions/sandbox-files-get.js';
310
- import { operation as o309 } from './sessions/sandbox-files-list.js';
311
- import { operation as o310 } from './sessions/sandbox-files-set.js';
312
- import { operation as o311 } from './sessions/search.js';
313
- import { operation as o312 } from './sessions/send.js';
314
- import { operation as o313 } from './sessions/start.js';
315
- import { operation as o314 } from './sessions/steer.js';
316
- import { operation as o315 } from './sessions/update.js';
317
- import { operation as o316 } from './skills/create.js';
318
- import { operation as o317 } from './skills/create--personal.js';
319
- import { operation as o318 } from './skills/delete.js';
320
- import { operation as o319 } from './skills/delete--personal.js';
321
- import { operation as o320 } from './skills/get.js';
322
- import { operation as o321 } from './skills/get--personal.js';
323
- import { operation as o322 } from './skills/list.js';
324
- import { operation as o323 } from './skills/list--personal.js';
325
- import { operation as o324 } from './skills/update.js';
326
- import { operation as o325 } from './skills/update--personal.js';
327
- import { operation as o326 } from './tasks/create.js';
328
- import { operation as o327 } from './tasks/create--personal.js';
329
- import { operation as o328 } from './tasks/delete.js';
330
- import { operation as o329 } from './tasks/delete--personal.js';
331
- import { operation as o330 } from './tasks/get.js';
332
- import { operation as o331 } from './tasks/get--personal.js';
333
- import { operation as o332 } from './tasks/labels-list.js';
334
- import { operation as o333 } from './tasks/list.js';
335
- import { operation as o334 } from './tasks/list--all.js';
336
- import { operation as o335 } from './tasks/list--personal.js';
337
- import { operation as o336 } from './tasks/move.js';
338
- import { operation as o337 } from './tasks/move--personal.js';
339
- import { operation as o338 } from './tasks/project-set.js';
340
- import { operation as o339 } from './tasks/start.js';
341
- import { operation as o340 } from './tasks/start--personal.js';
342
- import { operation as o341 } from './tasks/thread-get.js';
343
- import { operation as o342 } from './tasks/thread-get--personal.js';
344
- import { operation as o343 } from './tasks/thread-move.js';
345
- import { operation as o344 } from './tasks/thread-move--personal.js';
346
- import { operation as o345 } from './tasks/update.js';
347
- import { operation as o346 } from './tasks/update--personal.js';
348
- import { operation as o347 } from './user/api-keys-delete.js';
349
- import { operation as o348 } from './user/personal-space-get.js';
350
- import { operation as o349 } from './user/phone-set.js';
351
- import { operation as o350 } from './user/plan-get.js';
352
- import { operation as o351 } from './user/profile-get.js';
353
- import { operation as o352 } from './user/push-devices-create.js';
354
- import { operation as o353 } from './user/push-devices-delete.js';
355
- import { operation as o354 } from './user/settings-get.js';
356
- import { operation as o355 } from './user/settings-update.js';
357
- import { operation as o356 } from './user/usage-get.js';
358
- import { operation as o357 } from './workspaces/credits-get.js';
359
- import { operation as o358 } from './workspaces/get.js';
360
- import { operation as o359 } from './workspaces/list.js';
361
- import { operation as o360 } from './workspaces/members-list.js';
362
- import { operation as o361 } from './workspaces/members-list--all.js';
363
- import { operation as o362 } from './workspaces/memory-get.js';
364
- import { operation as o363 } from './workspaces/memory-set.js';
365
- import { operation as o364 } from './workspaces/personal-runtime-get.js';
366
- import { operation as o365 } from './workspaces/sandbox-hours-get.js';
367
- import { operation as o366 } from './workspaces/sandbox-limit-get.js';
368
- import { operation as o367 } from './workspaces/sandboxes-stop.js';
369
- import { operation as o368 } from './workspaces/timezone-set.js';
370
- import { operation as o369 } from './workspaces/usage-breakdown-get.js';
371
- import { operation as o370 } from './workspaces/usage-get.js';
234
+ import { operation as o233 } from './sensei/events-lines-set.js';
235
+ import { operation as o234 } from './sensei/fyi-move.js';
236
+ import { operation as o235 } from './sensei/memory-get.js';
237
+ import { operation as o236 } from './sensei/memory-set.js';
238
+ import { operation as o237 } from './sensei/merge-rule-set.js';
239
+ import { operation as o238 } from './sensei/messages-move.js';
240
+ import { operation as o239 } from './sensei/messages-reply.js';
241
+ import { operation as o240 } from './sensei/messages-send.js';
242
+ import { operation as o241 } from './sensei/notifications-mark-read.js';
243
+ import { operation as o242 } from './sensei/reels-activity-list.js';
244
+ import { operation as o243 } from './sensei/reels-later-holds-create.js';
245
+ import { operation as o244 } from './sensei/reels-later-holds-delete.js';
246
+ import { operation as o245 } from './sensei/reels-later-holds-list.js';
247
+ import { operation as o246 } from './sensei/repository-cards-create.js';
248
+ import { operation as o247 } from './sensei/search.js';
249
+ import { operation as o248 } from './sensei/sessions-assessments-create.js';
250
+ import { operation as o249 } from './sensei/sessions-facts-get.js';
251
+ import { operation as o250 } from './sensei/suggestions-create.js';
252
+ import { operation as o251 } from './sensei/threads-archive.js';
253
+ import { operation as o252 } from './sensei/threads-close.js';
254
+ import { operation as o253 } from './sensei/threads-create.js';
255
+ import { operation as o254 } from './sensei/threads-get.js';
256
+ import { operation as o255 } from './sensei/threads-list.js';
257
+ import { operation as o256 } from './sensei/threads-move.js';
258
+ import { operation as o257 } from './sensei/threads-notes-get.js';
259
+ import { operation as o258 } from './sensei/threads-notes-send.js';
260
+ import { operation as o259 } from './sensei/threads-search.js';
261
+ import { operation as o260 } from './sensei/threads-split.js';
262
+ import { operation as o261 } from './sensei/threads-unarchive.js';
263
+ import { operation as o262 } from './sensei/tickets-merge.js';
264
+ import { operation as o263 } from './sensei/watch-reads-finish.js';
265
+ import { operation as o264 } from './sensei/widgets-get.js';
266
+ import { operation as o265 } from './sensei/writing-get.js';
267
+ import { operation as o266 } from './sensei/writing-set.js';
268
+ import { operation as o267 } from './sensei/writing-samples-create.js';
269
+ import { operation as o268 } from './sessions/app-stack-start.js';
270
+ import { operation as o269 } from './sessions/create.js';
271
+ import { operation as o270 } from './sessions/delete.js';
272
+ import { operation as o271 } from './sessions/desktop-control-set.js';
273
+ import { operation as o272 } from './sessions/desktop-get.js';
274
+ import { operation as o273 } from './sessions/desktop-start.js';
275
+ import { operation as o274 } from './sessions/diff-comments-create.js';
276
+ import { operation as o275 } from './sessions/diff-comments-delete.js';
277
+ import { operation as o276 } from './sessions/diff-comments-list.js';
278
+ import { operation as o277 } from './sessions/diff-comments-update.js';
279
+ import { operation as o278 } from './sessions/diff-commits-list.js';
280
+ import { operation as o279 } from './sessions/diff-files-list.js';
281
+ import { operation as o280 } from './sessions/diff-patch-get.js';
282
+ import { operation as o281 } from './sessions/env-sync.js';
283
+ import { operation as o282 } from './sessions/files-attach.js';
284
+ import { operation as o283 } from './sessions/files-get.js';
285
+ import { operation as o284 } from './sessions/files-list.js';
286
+ import { operation as o285 } from './sessions/get.js';
287
+ import { operation as o286 } from './sessions/git-state-get.js';
288
+ import { operation as o287 } from './sessions/go-ahead-delete.js';
289
+ import { operation as o288 } from './sessions/go-ahead-set.js';
290
+ import { operation as o289 } from './sessions/jobs-cancel.js';
291
+ import { operation as o290 } from './sessions/jobs-get.js';
292
+ import { operation as o291 } from './sessions/jobs-list.js';
293
+ import { operation as o292 } from './sessions/labels-set.js';
294
+ import { operation as o293 } from './sessions/labels-update.js';
295
+ import { operation as o294 } from './sessions/list.js';
296
+ import { operation as o295 } from './sessions/list--all.js';
297
+ import { operation as o296 } from './sessions/mark-read.js';
298
+ import { operation as o297 } from './sessions/messages-get.js';
299
+ import { operation as o298 } from './sessions/messages-list.js';
300
+ import { operation as o299 } from './sessions/prompt-update.js';
301
+ import { operation as o300 } from './sessions/qa-runs-finish.js';
302
+ import { operation as o301 } from './sessions/qa-runs-fixes-create.js';
303
+ import { operation as o302 } from './sessions/qa-runs-get.js';
304
+ import { operation as o303 } from './sessions/qa-runs-results-create.js';
305
+ import { operation as o304 } from './sessions/qa-runs-start.js';
306
+ import { operation as o305 } from './sessions/qa-runs-stop.js';
307
+ import { operation as o306 } from './sessions/qa-set.js';
308
+ import { operation as o307 } from './sessions/review-set.js';
309
+ import { operation as o308 } from './sessions/runtime-commands-run.js';
310
+ import { operation as o309 } from './sessions/sandbox-files-get.js';
311
+ import { operation as o310 } from './sessions/sandbox-files-list.js';
312
+ import { operation as o311 } from './sessions/sandbox-files-set.js';
313
+ import { operation as o312 } from './sessions/search.js';
314
+ import { operation as o313 } from './sessions/send.js';
315
+ import { operation as o314 } from './sessions/start.js';
316
+ import { operation as o315 } from './sessions/steer.js';
317
+ import { operation as o316 } from './sessions/update.js';
318
+ import { operation as o317 } from './skills/create.js';
319
+ import { operation as o318 } from './skills/create--personal.js';
320
+ import { operation as o319 } from './skills/delete.js';
321
+ import { operation as o320 } from './skills/delete--personal.js';
322
+ import { operation as o321 } from './skills/get.js';
323
+ import { operation as o322 } from './skills/get--personal.js';
324
+ import { operation as o323 } from './skills/list.js';
325
+ import { operation as o324 } from './skills/list--personal.js';
326
+ import { operation as o325 } from './skills/update.js';
327
+ import { operation as o326 } from './skills/update--personal.js';
328
+ import { operation as o327 } from './tasks/create.js';
329
+ import { operation as o328 } from './tasks/create--personal.js';
330
+ import { operation as o329 } from './tasks/delete.js';
331
+ import { operation as o330 } from './tasks/delete--personal.js';
332
+ import { operation as o331 } from './tasks/get.js';
333
+ import { operation as o332 } from './tasks/get--personal.js';
334
+ import { operation as o333 } from './tasks/labels-list.js';
335
+ import { operation as o334 } from './tasks/list.js';
336
+ import { operation as o335 } from './tasks/list--all.js';
337
+ import { operation as o336 } from './tasks/list--personal.js';
338
+ import { operation as o337 } from './tasks/move.js';
339
+ import { operation as o338 } from './tasks/move--personal.js';
340
+ import { operation as o339 } from './tasks/project-set.js';
341
+ import { operation as o340 } from './tasks/start.js';
342
+ import { operation as o341 } from './tasks/start--personal.js';
343
+ import { operation as o342 } from './tasks/thread-get.js';
344
+ import { operation as o343 } from './tasks/thread-get--personal.js';
345
+ import { operation as o344 } from './tasks/thread-move.js';
346
+ import { operation as o345 } from './tasks/thread-move--personal.js';
347
+ import { operation as o346 } from './tasks/update.js';
348
+ import { operation as o347 } from './tasks/update--personal.js';
349
+ import { operation as o348 } from './user/api-keys-delete.js';
350
+ import { operation as o349 } from './user/personal-space-get.js';
351
+ import { operation as o350 } from './user/phone-set.js';
352
+ import { operation as o351 } from './user/plan-get.js';
353
+ import { operation as o352 } from './user/profile-get.js';
354
+ import { operation as o353 } from './user/push-devices-create.js';
355
+ import { operation as o354 } from './user/push-devices-delete.js';
356
+ import { operation as o355 } from './user/settings-get.js';
357
+ import { operation as o356 } from './user/settings-update.js';
358
+ import { operation as o357 } from './user/usage-get.js';
359
+ import { operation as o358 } from './workspaces/credits-get.js';
360
+ import { operation as o359 } from './workspaces/get.js';
361
+ import { operation as o360 } from './workspaces/list.js';
362
+ import { operation as o361 } from './workspaces/members-list.js';
363
+ import { operation as o362 } from './workspaces/members-list--all.js';
364
+ import { operation as o363 } from './workspaces/memory-get.js';
365
+ import { operation as o364 } from './workspaces/memory-set.js';
366
+ import { operation as o365 } from './workspaces/personal-runtime-get.js';
367
+ import { operation as o366 } from './workspaces/sandbox-hours-get.js';
368
+ import { operation as o367 } from './workspaces/sandbox-limit-get.js';
369
+ import { operation as o368 } from './workspaces/sandboxes-stop.js';
370
+ import { operation as o369 } from './workspaces/timezone-set.js';
371
+ import { operation as o370 } from './workspaces/usage-breakdown-get.js';
372
+ import { operation as o371 } from './workspaces/usage-get.js';
372
373
  export const operations = [
373
374
  o0,
374
375
  o1,
@@ -741,4 +742,5 @@ export const operations = [
741
742
  o368,
742
743
  o369,
743
744
  o370,
745
+ o371,
744
746
  ];
@@ -101,6 +101,7 @@ export const operation = {
101
101
  "messageParts",
102
102
  "deployVariables",
103
103
  "messageContext",
104
+ "senseiMessage",
104
105
  "decided",
105
106
  "title",
106
107
  "body",
@@ -187,7 +187,8 @@ export const operation = {
187
187
  "flag": "action",
188
188
  "kind": "json",
189
189
  "required": false,
190
- "shape": "{type: \"reply\", connection: string, conversation: string, eventId?: string, messageId: string, text: string, attachments?: {fileId: string, version: integer, name: string, mediaType: string, byteSize: integer, workspaceId?: string}[] (max 3)} | {type: \"mark_read\", rows: {connection: string, conversation: string, messageIds: string[] (max 12)}[] (max 50)}"
190
+ "description": "What Send runs, bound so the tap sends exactly the draft shown. reply sends a watched conversation's draft and mark_read marks its messages read (both with target.messages). sensei_reply answers a teammate's Sensei message that owes an answer: bind it on that message's msg-<12 of its identity> card, with messageId its identity and text the full reply in the member's voice, the same words as the card's one text block with role draft (no network). Send delivers those words, or the member's edit, as the answer the teammate's card quotes, with no Turn. It takes no covers, actions, open link or clarification; instruction, verb and negativeLabel default to the action's instruction, Send and Skip; it needs request and outcome, as any card with a verb. A session's, the Merge agent's or a Cron's message keeps today's card.",
191
+ "shape": "{type: \"reply\", connection: string, conversation: string, eventId?: string, messageId: string, text: string, attachments?: {fileId: string, version: integer, name: string, mediaType: string, byteSize: integer, workspaceId?: string}[] (max 3)} | {type: \"mark_read\", rows: {connection: string, conversation: string, messageIds: string[] (max 12)}[] (max 50)} | {type: \"sensei_reply\", messageId: string, text: string}"
191
192
  },
192
193
  {
193
194
  "name": "signIn",
@@ -0,0 +1,59 @@
1
+ export const operation = {
2
+ "method": "post",
3
+ "path": "/api/sensei/events/lines",
4
+ "command": [
5
+ "sensei",
6
+ "events",
7
+ "lines",
8
+ "set"
9
+ ],
10
+ "summary": "In a single chat read, write the member's line for events this read was sent: one outcome for all the ids given, with an optional short note and the key of the card that took them. Call it once per outcome, before you end. Refused for an id this read was not sent.",
11
+ "pathParams": [],
12
+ "query": [],
13
+ "body": {
14
+ "fields": [
15
+ {
16
+ "name": "events",
17
+ "flag": "event",
18
+ "kind": "string",
19
+ "required": true,
20
+ "description": "The ids of the events this line is for, each from this read’s WHAT HAPPENED.",
21
+ "repeated": true
22
+ },
23
+ {
24
+ "name": "outcome",
25
+ "flag": "outcome",
26
+ "kind": "string",
27
+ "required": true,
28
+ "description": "quiet: nothing for the member. moved: work already moving went a step forward. added: an open card took it. needs_you: a new card. answered: you answered the member here. did: you did what the member asked.",
29
+ "choices": [
30
+ "quiet",
31
+ "moved",
32
+ "added",
33
+ "needs_you",
34
+ "answered",
35
+ "did"
36
+ ]
37
+ },
38
+ {
39
+ "name": "note",
40
+ "flag": "note",
41
+ "kind": "string",
42
+ "required": false,
43
+ "description": "One short sentence the member reads under the event, on why. Plain words."
44
+ },
45
+ {
46
+ "name": "card",
47
+ "flag": "card",
48
+ "kind": "string",
49
+ "required": false,
50
+ "description": "The key of the open card that took the events, for added and needs_you."
51
+ }
52
+ ],
53
+ "required": true
54
+ },
55
+ "multipart": null,
56
+ "attachments": false,
57
+ "anonymous": false,
58
+ "agents": "all"
59
+ };
@@ -6,7 +6,7 @@ export const operation = {
6
6
  "messages",
7
7
  "reply"
8
8
  ],
9
- "summary": "Pass your member's reply to a message card back to the teammate, session or Cron who sent it, when the words are meant for them. It updates the answer that teammate already got for the message, so their answer card quotes the words instead of saying your member replied to their Sensei; a session is woken with the words, and a Cron's next run reads them. messageId is the message's identity and replyId the reply's id, as the reply's note names them. The same words again write nothing. Only the Turn of your member's reply sends one, for the card that reply decided. Refused with 404 when this Turn carries no reply with that replyId to the message with that messageId, and with 409 ANSWER_CHANGED when your member decided the message again since the reply. Answers the answer's id, revision, updated and the sender: memberId, sessionId or cronId, with its name.",
9
+ "summary": "Pass your member's reply to a message card back to the teammate, session or Cron who sent it, when the words are meant for them. It updates the answer that teammate already got for the message, so their answer card quotes the words instead of saying your member replied to their Sensei; a session is woken with the words, and a Cron's next run reads them. messageId is the message's identity and replyId the reply's id, as the reply's note names them. The same words again write nothing. Only the Turn of your member's reply sends one, for the card that reply decided. Refused with 404 when this Turn carries no reply with that replyId to the message with that messageId, with 409 ANSWER_CHANGED when your member decided the message again since the reply, and with 409 NOT_THE_MEMBERS_WORDS on a Sensei reply card when the words are not your member's own, as written in their reply: its draft was not sent. Answers the answer's id, revision, updated and the sender: memberId, sessionId or cronId, with its name.",
10
10
  "pathParams": [],
11
11
  "query": [],
12
12
  "body": {
@@ -23,6 +23,8 @@ export const operation = {
23
23
  "marketingEmails",
24
24
  "fyiDigestMinutes",
25
25
  "threadRouting",
26
+ "senseiMode",
27
+ "senseiReadMinutes",
26
28
  "locale",
27
29
  "defaultModel",
28
30
  "isSuperAdmin",
@@ -40,7 +40,8 @@ export const operation = {
40
40
  "daily-report",
41
41
  "find-us",
42
42
  "daily-ideas",
43
- "weekly-card"
43
+ "weekly-card",
44
+ "clean-inbox"
44
45
  ]
45
46
  },
46
47
  {
package/openapi.json CHANGED
@@ -23818,6 +23818,7 @@
23818
23818
  "messageParts",
23819
23819
  "deployVariables",
23820
23820
  "messageContext",
23821
+ "senseiMessage",
23821
23822
  "decided",
23822
23823
  "title",
23823
23824
  "body",
@@ -25701,6 +25702,7 @@
25701
25702
  ]
25702
25703
  },
25703
25704
  "action": {
25705
+ "description": "What Send runs, bound so the tap sends exactly the draft shown. reply sends a watched conversation's draft and mark_read marks its messages read (both with target.messages). sensei_reply answers a teammate's Sensei message that owes an answer: bind it on that message's msg-<12 of its identity> card, with messageId its identity and text the full reply in the member's voice, the same words as the card's one text block with role draft (no network). Send delivers those words, or the member's edit, as the answer the teammate's card quotes, with no Turn. It takes no covers, actions, open link or clarification; instruction, verb and negativeLabel default to the action's instruction, Send and Skip; it needs request and outcome, as any card with a verb. A session's, the Merge agent's or a Cron's message keeps today's card.",
25704
25706
  "oneOf": [
25705
25707
  {
25706
25708
  "type": "object",
@@ -25826,6 +25828,28 @@
25826
25828
  },
25827
25829
  "required": ["type", "rows"],
25828
25830
  "additionalProperties": false
25831
+ },
25832
+ {
25833
+ "type": "object",
25834
+ "properties": {
25835
+ "type": {
25836
+ "type": "string",
25837
+ "const": "sensei_reply"
25838
+ },
25839
+ "messageId": {
25840
+ "type": "string",
25841
+ "pattern": "^[0-9a-f]{64}$",
25842
+ "description": "The identity of the teammate's message the reply answers, as its event names it."
25843
+ },
25844
+ "text": {
25845
+ "type": "string",
25846
+ "minLength": 1,
25847
+ "maxLength": 4000,
25848
+ "description": "The full reply as the member would send it, in their voice: the teammate's answer card quotes it. The card's one draft text block holds the same words."
25849
+ }
25850
+ },
25851
+ "required": ["type", "messageId", "text"],
25852
+ "additionalProperties": false
25829
25853
  }
25830
25854
  ]
25831
25855
  },
@@ -26804,6 +26828,91 @@
26804
26828
  }
26805
26829
  }
26806
26830
  },
26831
+ "/api/sensei/events/lines": {
26832
+ "post": {
26833
+ "operationId": "senseiEventsLinesSet",
26834
+ "summary": "In a single chat read, write the member's line for events this read was sent: one outcome for all the ids given, with an optional short note and the key of the card that took them. Call it once per outcome, before you end. Refused for an id this read was not sent.",
26835
+ "tags": ["sensei"],
26836
+ "x-kosuke-command": ["sensei", "events", "lines", "set"],
26837
+ "x-kosuke-sandbox-token": true,
26838
+ "x-kosuke-cron-token": true,
26839
+ "x-kosuke-sensei-token": true,
26840
+ "requestBody": {
26841
+ "required": true,
26842
+ "content": {
26843
+ "application/json": {
26844
+ "schema": {
26845
+ "type": "object",
26846
+ "properties": {
26847
+ "events": {
26848
+ "minItems": 1,
26849
+ "maxItems": 50,
26850
+ "type": "array",
26851
+ "items": {
26852
+ "type": "string",
26853
+ "format": "uuid",
26854
+ "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
26855
+ },
26856
+ "x-kosuke-flag": "event",
26857
+ "description": "The ids of the events this line is for, each from this read’s WHAT HAPPENED."
26858
+ },
26859
+ "outcome": {
26860
+ "type": "string",
26861
+ "enum": ["quiet", "moved", "added", "needs_you", "answered", "did"],
26862
+ "description": "quiet: nothing for the member. moved: work already moving went a step forward. added: an open card took it. needs_you: a new card. answered: you answered the member here. did: you did what the member asked."
26863
+ },
26864
+ "note": {
26865
+ "description": "One short sentence the member reads under the event, on why. Plain words.",
26866
+ "type": "string",
26867
+ "minLength": 1,
26868
+ "maxLength": 160
26869
+ },
26870
+ "card": {
26871
+ "description": "The key of the open card that took the events, for added and needs_you.",
26872
+ "type": "string",
26873
+ "minLength": 1,
26874
+ "maxLength": 64
26875
+ }
26876
+ },
26877
+ "required": ["events", "outcome"]
26878
+ }
26879
+ }
26880
+ }
26881
+ },
26882
+ "responses": {
26883
+ "2XX": {
26884
+ "description": "Success envelope",
26885
+ "content": {
26886
+ "application/json": {
26887
+ "schema": {
26888
+ "$ref": "#/components/schemas/ApiSuccess"
26889
+ }
26890
+ }
26891
+ }
26892
+ },
26893
+ "4XX": {
26894
+ "description": "Error envelope",
26895
+ "content": {
26896
+ "application/json": {
26897
+ "schema": {
26898
+ "$ref": "#/components/schemas/ApiError"
26899
+ }
26900
+ }
26901
+ }
26902
+ },
26903
+ "5XX": {
26904
+ "description": "Error envelope",
26905
+ "content": {
26906
+ "application/json": {
26907
+ "schema": {
26908
+ "$ref": "#/components/schemas/ApiError"
26909
+ }
26910
+ }
26911
+ }
26912
+ }
26913
+ }
26914
+ }
26915
+ },
26807
26916
  "/api/sensei/fyi/move": {
26808
26917
  "post": {
26809
26918
  "operationId": "senseiFyiMove",
@@ -27924,7 +28033,7 @@
27924
28033
  "/api/sensei/teammate-messages/reply": {
27925
28034
  "post": {
27926
28035
  "operationId": "senseiMessagesReply",
27927
- "summary": "Pass your member's reply to a message card back to the teammate, session or Cron who sent it, when the words are meant for them. It updates the answer that teammate already got for the message, so their answer card quotes the words instead of saying your member replied to their Sensei; a session is woken with the words, and a Cron's next run reads them. messageId is the message's identity and replyId the reply's id, as the reply's note names them. The same words again write nothing. Only the Turn of your member's reply sends one, for the card that reply decided. Refused with 404 when this Turn carries no reply with that replyId to the message with that messageId, and with 409 ANSWER_CHANGED when your member decided the message again since the reply. Answers the answer's id, revision, updated and the sender: memberId, sessionId or cronId, with its name.",
28036
+ "summary": "Pass your member's reply to a message card back to the teammate, session or Cron who sent it, when the words are meant for them. It updates the answer that teammate already got for the message, so their answer card quotes the words instead of saying your member replied to their Sensei; a session is woken with the words, and a Cron's next run reads them. messageId is the message's identity and replyId the reply's id, as the reply's note names them. The same words again write nothing. Only the Turn of your member's reply sends one, for the card that reply decided. Refused with 404 when this Turn carries no reply with that replyId to the message with that messageId, with 409 ANSWER_CHANGED when your member decided the message again since the reply, and with 409 NOT_THE_MEMBERS_WORDS on a Sensei reply card when the words are not your member's own, as written in their reply: its draft was not sent. Answers the answer's id, revision, updated and the sender: memberId, sessionId or cronId, with its name.",
27928
28037
  "tags": ["sensei"],
27929
28038
  "x-kosuke-command": ["sensei", "messages", "reply"],
27930
28039
  "x-kosuke-sandbox-token": true,
@@ -32056,6 +32165,8 @@
32056
32165
  "marketingEmails",
32057
32166
  "fyiDigestMinutes",
32058
32167
  "threadRouting",
32168
+ "senseiMode",
32169
+ "senseiReadMinutes",
32059
32170
  "locale",
32060
32171
  "defaultModel",
32061
32172
  "isSuperAdmin",
@@ -32186,7 +32297,8 @@
32186
32297
  "daily-report",
32187
32298
  "find-us",
32188
32299
  "daily-ideas",
32189
- "weekly-card"
32300
+ "weekly-card",
32301
+ "clean-inbox"
32190
32302
  ]
32191
32303
  },
32192
32304
  "systemCronOn": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kosuke-ai/kosuke",
3
- "version": "1.3.3624",
3
+ "version": "1.3.3631",
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,11 +43,10 @@
43
43
  "minimatch": "^11.0.1"
44
44
  },
45
45
  "kosukeRelease": {
46
- "sourceCommit": "468c91c99170a64d5d33ca8402f6b7cd062a0f25",
47
- "sourceIdentity": "6c225e3596c68f8c4a858b3b1d7d6fe05d77aa66b7d8bf43d13a02fc61bbf4df",
46
+ "sourceCommit": "889647acb57ef6f724bf447c9a66b7c324ec3fda",
47
+ "sourceIdentity": "b4c3b9a9e382b2e837f8f7263947c99514ecf240113bf253a24d558ae77b873c",
48
48
  "fragments": [
49
- "gemini-4-neon-p7k3wd.json",
50
- "model-scores-intelligence-index-3mowyi.json"
49
+ "sensei-single-chat-mode-q7m2.json"
51
50
  ]
52
51
  }
53
52
  }