@kosuke-ai/kosuke 1.0.74 → 1.0.75

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.75
4
+
5
+ - `kosuke sensei cards set` takes `--quoted`, the earlier words a card answers (a teammate's ask, quoted exactly).
6
+
3
7
  ## 1.0.74
4
8
 
5
9
  - Show your own time in `kosuke agent summary get` and count `user usage get` and `workspaces usage breakdown get` days in your own timezone unless `--tz` is passed. Other JSON stays ISO UTC.
@@ -61,7 +61,7 @@ export const operation = {
61
61
  "flag": "open",
62
62
  "kind": "json",
63
63
  "required": false,
64
- "description": "The page the primary button opens in place of an instruction, such as the link a teammate's message shares. The verb is the button's label (\"Open\", \"Read\"), and the tap opens the page, closes the card and sends nothing to Sensei. It takes a verb and an outcome, and no instruction, clarification block, Deploy form, action or covers.",
64
+ "description": "The page the primary button opens, in place of an instruction, such as the link a teammate's message shares. The verb is the button's label (\"Open\", \"Read\"), and the tap opens the page, closes the card and sends nothing to Sensei. It takes a verb and an outcome, and no instruction, clarification block, Deploy form, action or covers.",
65
65
  "shape": "{href: string}"
66
66
  },
67
67
  {
@@ -153,6 +153,14 @@ export const operation = {
153
153
  "required": false,
154
154
  "shape": "{id: string}"
155
155
  },
156
+ {
157
+ "name": "quoted",
158
+ "flag": "quoted",
159
+ "kind": "json",
160
+ "required": false,
161
+ "description": "Earlier words the card answers, quoted at its top under a label the app writes (You asked, You replied, You said, Nicola asked). Kosuke fills it for a card a member's message started: their words, their voice note's transcript, or their reply to a card. Set it for a teammate's ask: author {kind: teammate, name, memberId when known}, kind ask, text the teammate's exact words from the message or review event the card answers (never a paraphrase, trimmed only of quoted history), at when they said it, source where (github for a GitHub review, slack, gmail, kosuke for a Kosuke message), ref.eventId the event. A value you set wins over Kosuke's.",
162
+ "shape": "{author: {kind: \"member\"|\"teammate\", memberId?: string, name: string}, kind: \"question\"|\"prompt\"|\"reply\"|\"voice\"|\"ask\", text: string, at: string, source?: \"thread\"|\"card_reply\"|\"kosuke\"|\"github\"|\"slack\"|\"gmail\"|\"whatsapp\"|\"telegram\"|\"linkedin\"|\"x\", cardHeadline?: string, ref?: {turnId?: string, cardId?: string, eventId?: string}}"
163
+ },
156
164
  {
157
165
  "name": "links",
158
166
  "flag": "links",
@@ -179,7 +187,7 @@ export const operation = {
179
187
  "flag": "sign-in",
180
188
  "kind": "json",
181
189
  "required": false,
182
- "description": "A sign-in card on the member's Mac: the site, the Chrome profile ID, the Mac and, on the Sign in card of a site other than LinkedIn and X, the wall's url. Its Approve allows one tapped `kosuke mac browser login` for exactly these. Key it mac-sign-in:<site>:<profile> (the profile ID lowercase, spaces as hyphens: Profile 6 is profile-6) for Sign in, with :done for I'm signed in and :account for Continue as, both of which run --take. Only a card keyed mac-sign-in: takes it, and such a card needs it. A Sign in card for LinkedIn or X marks that connection signed out.",
190
+ "description": "The member's Mac sign-in: the site, the Chrome profile ID, the Mac and, on the Sign in card of a site other than LinkedIn and X, the wall's url. Its Approve allows one tapped `kosuke mac browser login` for exactly these. Key it mac-sign-in:<site>:<profile> (the profile ID lowercase, spaces as hyphens: Profile 6 is profile-6) for Sign in, with :done for I'm signed in and :account for Continue as, both of which run --take. Only a card keyed mac-sign-in: takes it, and such a card needs it. A Sign in card for LinkedIn or X marks that connection signed out.",
183
191
  "shape": "{site: string, profile: string, deviceId: string, url?: string}"
184
192
  },
185
193
  {
@@ -187,7 +195,7 @@ export const operation = {
187
195
  "flag": "covers",
188
196
  "kind": "json",
189
197
  "required": false,
190
- "description": "The ids of the incoming_message events of this thread that this card answers: a reply covers the message it answers, a task or calendar card the message in its evidence, an FYI the event of every row. An FYI update keeps unread commitments and the events in its current evidence, discarding processed history; name at most 50 events per write. The open FYI keeps a reference to every message it has covered, which its Mark read marks, and its card read gives their count and the newest.",
198
+ "description": "Events this card answers, the ids of the incoming_message events of this thread: a reply covers the message it answers, a task or calendar card the message in its evidence, an FYI the event of every row. An FYI update keeps unread commitments and the events in its current evidence, discarding processed history; name at most 50 events per write. The open FYI keeps a reference to every message it has covered, which its Mark read marks, and its card read gives their count and the newest.",
191
199
  "shape": "string[] (max 50)"
192
200
  },
193
201
  {
package/openapi.json CHANGED
@@ -21846,7 +21846,7 @@
21846
21846
  "maxLength": 60000
21847
21847
  },
21848
21848
  "open": {
21849
- "description": "The page the primary button opens in place of an instruction, such as the link a teammate's message shares. The verb is the button's label (\"Open\", \"Read\"), and the tap opens the page, closes the card and sends nothing to Sensei. It takes a verb and an outcome, and no instruction, clarification block, Deploy form, action or covers.",
21849
+ "description": "The page the primary button opens, in place of an instruction, such as the link a teammate's message shares. The verb is the button's label (\"Open\", \"Read\"), and the tap opens the page, closes the card and sends nothing to Sensei. It takes a verb and an outcome, and no instruction, clarification block, Deploy form, action or covers.",
21850
21850
  "type": "object",
21851
21851
  "properties": {
21852
21852
  "href": {
@@ -21964,6 +21964,90 @@
21964
21964
  "required": ["id"],
21965
21965
  "additionalProperties": false
21966
21966
  },
21967
+ "quoted": {
21968
+ "type": "object",
21969
+ "properties": {
21970
+ "author": {
21971
+ "type": "object",
21972
+ "properties": {
21973
+ "kind": {
21974
+ "type": "string",
21975
+ "enum": ["member", "teammate"]
21976
+ },
21977
+ "memberId": {
21978
+ "type": "string",
21979
+ "minLength": 1,
21980
+ "maxLength": 255
21981
+ },
21982
+ "name": {
21983
+ "type": "string",
21984
+ "minLength": 1,
21985
+ "maxLength": 80
21986
+ }
21987
+ },
21988
+ "required": ["kind", "name"],
21989
+ "additionalProperties": false
21990
+ },
21991
+ "kind": {
21992
+ "type": "string",
21993
+ "enum": ["question", "prompt", "reply", "voice", "ask"]
21994
+ },
21995
+ "text": {
21996
+ "type": "string",
21997
+ "minLength": 1,
21998
+ "maxLength": 4000
21999
+ },
22000
+ "at": {
22001
+ "type": "string",
22002
+ "format": "date-time",
22003
+ "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
22004
+ },
22005
+ "source": {
22006
+ "type": "string",
22007
+ "enum": [
22008
+ "thread",
22009
+ "card_reply",
22010
+ "kosuke",
22011
+ "github",
22012
+ "slack",
22013
+ "gmail",
22014
+ "whatsapp",
22015
+ "telegram",
22016
+ "linkedin",
22017
+ "x"
22018
+ ]
22019
+ },
22020
+ "cardHeadline": {
22021
+ "type": "string",
22022
+ "minLength": 1,
22023
+ "maxLength": 140
22024
+ },
22025
+ "ref": {
22026
+ "type": "object",
22027
+ "properties": {
22028
+ "turnId": {
22029
+ "type": "string",
22030
+ "format": "uuid",
22031
+ "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)$"
22032
+ },
22033
+ "cardId": {
22034
+ "type": "string",
22035
+ "format": "uuid",
22036
+ "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)$"
22037
+ },
22038
+ "eventId": {
22039
+ "type": "string",
22040
+ "format": "uuid",
22041
+ "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)$"
22042
+ }
22043
+ },
22044
+ "additionalProperties": false
22045
+ }
22046
+ },
22047
+ "required": ["author", "kind", "text", "at"],
22048
+ "additionalProperties": false,
22049
+ "description": "Earlier words the card answers, quoted at its top under a label the app writes (You asked, You replied, You said, Nicola asked). Kosuke fills it for a card a member's message started: their words, their voice note's transcript, or their reply to a card. Set it for a teammate's ask: author {kind: teammate, name, memberId when known}, kind ask, text the teammate's exact words from the message or review event the card answers (never a paraphrase, trimmed only of quoted history), at when they said it, source where (github for a GitHub review, slack, gmail, kosuke for a Kosuke message), ref.eventId the event. A value you set wins over Kosuke's."
22050
+ },
21967
22051
  "links": {
21968
22052
  "default": [],
21969
22053
  "maxItems": 8,
@@ -22516,7 +22600,7 @@
22516
22600
  ]
22517
22601
  },
22518
22602
  "signIn": {
22519
- "description": "A sign-in card on the member's Mac: the site, the Chrome profile ID, the Mac and, on the Sign in card of a site other than LinkedIn and X, the wall's url. Its Approve allows one tapped `kosuke mac browser login` for exactly these. Key it mac-sign-in:<site>:<profile> (the profile ID lowercase, spaces as hyphens: Profile 6 is profile-6) for Sign in, with :done for I'm signed in and :account for Continue as, both of which run --take. Only a card keyed mac-sign-in: takes it, and such a card needs it. A Sign in card for LinkedIn or X marks that connection signed out.",
22603
+ "description": "The member's Mac sign-in: the site, the Chrome profile ID, the Mac and, on the Sign in card of a site other than LinkedIn and X, the wall's url. Its Approve allows one tapped `kosuke mac browser login` for exactly these. Key it mac-sign-in:<site>:<profile> (the profile ID lowercase, spaces as hyphens: Profile 6 is profile-6) for Sign in, with :done for I'm signed in and :account for Continue as, both of which run --take. Only a card keyed mac-sign-in: takes it, and such a card needs it. A Sign in card for LinkedIn or X marks that connection signed out.",
22520
22604
  "type": "object",
22521
22605
  "properties": {
22522
22606
  "site": {
@@ -22548,7 +22632,7 @@
22548
22632
  "additionalProperties": false
22549
22633
  },
22550
22634
  "covers": {
22551
- "description": "The ids of the incoming_message events of this thread that this card answers: a reply covers the message it answers, a task or calendar card the message in its evidence, an FYI the event of every row. An FYI update keeps unread commitments and the events in its current evidence, discarding processed history; name at most 50 events per write. The open FYI keeps a reference to every message it has covered, which its Mark read marks, and its card read gives their count and the newest.",
22635
+ "description": "Events this card answers, the ids of the incoming_message events of this thread: a reply covers the message it answers, a task or calendar card the message in its evidence, an FYI the event of every row. An FYI update keeps unread commitments and the events in its current evidence, discarding processed history; name at most 50 events per write. The open FYI keeps a reference to every message it has covered, which its Mark read marks, and its card read gives their count and the newest.",
22552
22636
  "minItems": 1,
22553
22637
  "maxItems": 50,
22554
22638
  "type": "array",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kosuke-ai/kosuke",
3
- "version": "1.0.74",
3
+ "version": "1.0.75",
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": "ea906260a23d549bf0919c11e7fd7cf972e7726f",
47
- "sourceIdentity": "e9b425585b87d8b82b09f3dd1c4947b27476185e6542c0e457e0f2383215c3f2",
46
+ "sourceCommit": "3bc0660afe20181e8e7f71defd26b891307da387",
47
+ "sourceIdentity": "4e048893ec5a25f64dadb13b7dc3e7008289d29b695df760110efd92e50fa7ce",
48
48
  "fragments": [
49
- "cli-member-time-zone-wevg70.json"
49
+ "sensei-cards-quoted-r4k9tw.json"
50
50
  ]
51
51
  }
52
52
  }