@kosuke-ai/kosuke 1.0.128 → 1.0.129

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.129
4
+
5
+ - Each Gmail send-as address now has a signature rule (`every`, `new_only` or `off`), and Sensei adds the address's Gmail signature to the emails it sends by that rule. The rule is read and changed in Settings on the web and iPhone apps (`GET` and `PUT /api/user/integrations/gmail/connections/{connectionId}/signature`, not open to an API key), and a Gmail draft block on a Sensei card may name its `connection`, `email` kind and `from` address.
6
+
3
7
  ## 1.0.128
4
8
 
5
9
  - `projects merge-agent runs list` returns each run's `outcome` (merged, nothing_to_merge, refused or failed; null while it runs) and `mergedAt`, its last merge. A merge train run now stores how it ended, from what it did: merged when it merged or queued a pull request through `projects merge-agent merge`, which it now records, nothing to merge when it finished without one, failed when its session ended without one. Admin's new Merge agents page reads both.
@@ -31,7 +31,7 @@ export const operation = {
31
31
  "description": "The body, in order. The first text block, unless it has a role, opens on a lead of 160 characters at most before its first blank line, the part a phone shows before more. A card with one clarification question takes it, word for word, as its headline. A clarification question offers 2 to 3 options (a session's question relayed as question-<n> keeps its own, and the daily report's archive-sessions-<date> card asks its own, 4 at most). Each option's shown title, label else title, is 4 words at most and clear on its own; its description is 85 characters at most, two lines on a phone, with no line break. A question over these is refused with the field to rewrite.",
32
32
  "shape": [
33
33
  "T[] (max 12), each T one of:",
34
- "{type: \"text\", role?: \"message\"|\"draft\", text: string, media?: {eventId: string, parts: integer[] (max 10)}, network?: \"gmail\"|\"slack\"|\"telegram\"|\"whatsapp\"|\"linkedin\"|\"x\"}",
34
+ "{type: \"text\", role?: \"message\"|\"draft\", text: string, media?: {eventId: string, parts: integer[] (max 10)}, network?: \"gmail\"|\"slack\"|\"telegram\"|\"whatsapp\"|\"linkedin\"|\"x\", connection?: string, email?: \"new\"|\"reply\"|\"forward\", from?: string}",
35
35
  "{type: \"facts\", rows: {label: string, value: string}[] (max 20)}",
36
36
  "{type: \"qa_report\", status?: \"passed\"|\"failed\"|\"blocked\"|\"skipped\"|\"running\", reason?: string, passed: integer, total: integer, sections: {title: string, passed: integer, total: integer, note?: string}[] (max 30), failed: {section: string, item: string, reason: string}[] (max 30), links: {label: string, href: string}[] (max 8)}",
37
37
  "{type: \"diff\", summary: string, text?: {current: string, proposed: string}, files: {path: string, added: integer, removed: integer}[] (max 50)}",
package/openapi.json CHANGED
@@ -22110,6 +22110,24 @@
22110
22110
  "description": "The network the draft is sent on. Set it on a draft a connected tool sends with no bound reply: it draws Sign as Sensei and the marker that send adds. Leave it out of a draft that goes into a session or to a teammate.",
22111
22111
  "type": "string",
22112
22112
  "enum": ["gmail", "slack", "telegram", "whatsapp", "linkedin", "x"]
22113
+ },
22114
+ "connection": {
22115
+ "description": "On a Gmail draft (`network` gmail): the id of the Gmail connection that sends it, so the card ends the draft with the Gmail signature that send adds.",
22116
+ "type": "string",
22117
+ "format": "uuid",
22118
+ "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)$"
22119
+ },
22120
+ "email": {
22121
+ "description": "On a Gmail draft (`network` gmail): whether it is a new email, a reply or a forward, which decides whether its Gmail signature goes in.",
22122
+ "type": "string",
22123
+ "enum": ["new", "reply", "forward"]
22124
+ },
22125
+ "from": {
22126
+ "description": "On a Gmail draft (`network` gmail): the send-as address it goes from (the tool's `from_email`), when it is not the account's default: each address has its own signature and rule.",
22127
+ "type": "string",
22128
+ "maxLength": 320,
22129
+ "format": "email",
22130
+ "pattern": "^(?:[A-Za-z0-9_'+\\-]+\\.)*[A-Za-z0-9_'+\\-]*[A-Za-z0-9_+-]@(?:[A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$"
22113
22131
  }
22114
22132
  },
22115
22133
  "required": ["type", "text"]
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kosuke-ai/kosuke",
3
- "version": "1.0.128",
3
+ "version": "1.0.129",
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": "3f381adc69ee4e7cc8e5e0c73442d3a13aa8dd2a",
47
- "sourceIdentity": "b313581f01ee5ca09b4c049c207d4279a12ab2dd7477b4b4df6caa8aa7e64ccd",
46
+ "sourceCommit": "b98c5c7b26d6c05510838e72d0c5a173f27623fa",
47
+ "sourceIdentity": "2fe69497d32257dffad3f913cbcb5ce486736a8d20e95604199ec61b797342a8",
48
48
  "fragments": [
49
- "admin-merge-agents-nspxrj.json"
49
+ "gmail-signature-setting-q8m3tz.json"
50
50
  ]
51
51
  }
52
52
  }