@kosuke-ai/kosuke 1.3.3622 → 1.3.3629

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,14 @@
1
1
  # Changelog
2
2
 
3
+ ## 1.3.3629
4
+
5
+ - 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.
6
+
7
+ ## 1.3.3624
8
+
9
+ - 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.
10
+ - Delegated Runs that go to another provider now pick their model by the Artificial Analysis Intelligence Index score and its cost per task, in place of Terminal-Bench 4.0 alone. Kimi K3 Max and Gemini 3.8 Flash Low, which the Intelligence Index publishes no score or cost for, are no longer picked.
11
+
3
12
  ## 1.3.3622
4
13
 
5
14
  - `sensei messages send --file-ids` sends up to 10 workspace File ids with a teammate message; the recipient's card shows each one. A Personal File, another workspace's File, a folder, a deleted or an expired File is refused with 400 naming each, and nothing is sent.
@@ -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",
@@ -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": {
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
  },
@@ -27924,7 +27948,7 @@
27924
27948
  "/api/sensei/teammate-messages/reply": {
27925
27949
  "post": {
27926
27950
  "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.",
27951
+ "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
27952
  "tags": ["sensei"],
27929
27953
  "x-kosuke-command": ["sensei", "messages", "reply"],
27930
27954
  "x-kosuke-sandbox-token": true,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kosuke-ai/kosuke",
3
- "version": "1.3.3622",
3
+ "version": "1.3.3629",
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": "61581d4d5281500f2e0661be93622cc48fe65d9c",
47
- "sourceIdentity": "45b50589e30588ba1961767f8cadc0883d7866a9514a99268abd162e341bc26b",
46
+ "sourceCommit": "62a382a7cafc95b25c06b70fe3f4cb7f9d9ab8f4",
47
+ "sourceIdentity": "cee34f15afc892dd2da8fbea2b8ab5b9ce954b655a48b06d9de530154413e349",
48
48
  "fragments": [
49
- "teammate-message-attachments-b3emig.json"
49
+ "sensei-reply-card-1dwekg.json"
50
50
  ]
51
51
  }
52
52
  }