openmates 0.12.0-alpha.4 → 0.12.0-alpha.5

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.
@@ -5475,7 +5475,7 @@ Required: ${schema.required.join(", ")}`
5475
5475
  async refreshWsToken() {
5476
5476
  const session = this.requireSession();
5477
5477
  try {
5478
- const res = await this.http.post("/v1/auth/session", {}, this.getCliRequestHeaders());
5478
+ const res = await this.http.post("/v1/auth/session", { session_id: session.sessionId }, this.getCliRequestHeaders());
5479
5479
  if (res.ok && res.data.ws_token) {
5480
5480
  session.wsToken = res.data.ws_token;
5481
5481
  }
@@ -25562,6 +25562,70 @@ Only output the final Markdown table. Do NOT include explanations, notes, or any
25562
25562
  text: "Rejected memories request."
25563
25563
  }
25564
25564
  },
25565
+ connected_account_permissions: {
25566
+ title: {
25567
+ text: "Connected account approval"
25568
+ },
25569
+ question: {
25570
+ text: "Allow this chat to use your connected account for this {action} action?"
25571
+ },
25572
+ approve: {
25573
+ text: "Approve once"
25574
+ },
25575
+ loading: {
25576
+ text: "Approving..."
25577
+ }
25578
+ },
25579
+ connected_account_receipts: {
25580
+ completed: {
25581
+ text: "{action} completed."
25582
+ },
25583
+ undone: {
25584
+ text: "Action undone."
25585
+ },
25586
+ rejected: {
25587
+ text: "{action} rejected."
25588
+ },
25589
+ cancelled: {
25590
+ text: "{action} cancelled."
25591
+ },
25592
+ failed: {
25593
+ text: "{action} could not be completed."
25594
+ },
25595
+ undo: {
25596
+ text: "Undo"
25597
+ },
25598
+ undoing: {
25599
+ text: "Undoing..."
25600
+ },
25601
+ undo_started: {
25602
+ text: "Undo completed"
25603
+ },
25604
+ undo_failed: {
25605
+ text: "Could not undo this action."
25606
+ },
25607
+ undo_available: {
25608
+ text: "Undo is available."
25609
+ },
25610
+ action_read: {
25611
+ text: "Calendar read"
25612
+ },
25613
+ action_write: {
25614
+ text: "Calendar write"
25615
+ },
25616
+ action_update: {
25617
+ text: "Calendar update"
25618
+ },
25619
+ action_delete: {
25620
+ text: "Calendar delete"
25621
+ },
25622
+ action_undo: {
25623
+ text: "Calendar undo"
25624
+ },
25625
+ action_unknown: {
25626
+ text: "Connected account action"
25627
+ }
25628
+ },
25565
25629
  report_bad_answer: {
25566
25630
  button_text: {
25567
25631
  text: "Report bad answer"
@@ -35244,6 +35308,47 @@ As of mid-2026, the severe supply shocks from the 2024\u20132025 avian flu have
35244
35308
  text: "Content type not found."
35245
35309
  }
35246
35310
  },
35311
+ connected_accounts: {
35312
+ title: {
35313
+ text: "Connected accounts"
35314
+ },
35315
+ description: {
35316
+ text: "Connect provider accounts so mates can ask for permission before using private app data."
35317
+ },
35318
+ google_calendar_title: {
35319
+ text: "Google Calendar"
35320
+ },
35321
+ loading: {
35322
+ text: "Checking connected accounts..."
35323
+ },
35324
+ connected_count: {
35325
+ text: "{count} connected"
35326
+ },
35327
+ not_connected: {
35328
+ text: "Not connected yet."
35329
+ },
35330
+ connect_button: {
35331
+ text: "Connect Google Calendar"
35332
+ },
35333
+ finalizing: {
35334
+ text: "Encrypting and saving your connected account..."
35335
+ },
35336
+ connected_success: {
35337
+ text: "Google Calendar connected. Your token was encrypted before saving."
35338
+ },
35339
+ sign_in_required: {
35340
+ text: "Sign in again before connecting Google Calendar."
35341
+ },
35342
+ load_error: {
35343
+ text: "Could not load connected accounts."
35344
+ },
35345
+ start_error: {
35346
+ text: "Could not start Google Calendar connection."
35347
+ },
35348
+ finalize_error: {
35349
+ text: "Could not finish connecting Google Calendar."
35350
+ }
35351
+ },
35247
35352
  focus_modes: {
35248
35353
  title: {
35249
35354
  text: "Focus Modes"
package/dist/cli.js CHANGED
@@ -2,7 +2,7 @@
2
2
  import {
3
3
  getExtForLang,
4
4
  serializeToYaml
5
- } from "./chunk-MWM6T3MG.js";
5
+ } from "./chunk-RV656PRS.js";
6
6
  import "./chunk-AXNRPVLE.js";
7
7
  export {
8
8
  getExtForLang,
package/dist/index.js CHANGED
@@ -7,7 +7,7 @@ import {
7
7
  getExtForLang,
8
8
  parseNewChatSuggestionText,
9
9
  serializeToYaml
10
- } from "./chunk-MWM6T3MG.js";
10
+ } from "./chunk-RV656PRS.js";
11
11
  import "./chunk-AXNRPVLE.js";
12
12
  export {
13
13
  MATE_NAMES,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "openmates",
3
- "version": "0.12.0-alpha.4",
3
+ "version": "0.12.0-alpha.5",
4
4
  "description": "OpenMates CLI and SDK",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",