@ai-matrx/desktop-protocol 0.21.18 → 0.21.19

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,11 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.21.19
4
+
5
+ Automatic changed-only republish (docs/metadata drift since the last tag — see
6
+ `git diff npm/desktop-protocol/v0.21.18..npm/desktop-protocol/v0.21.19 -- apps/shared/desktop-protocol`).
7
+ No source changes intended and no consumer action required.
8
+
3
9
  ## 0.21.18
4
10
 
5
11
  Automatic changed-only republish (docs/metadata drift since the last tag — see
package/dist/client.cjs CHANGED
@@ -144,7 +144,7 @@ var import_zod2 = require("zod");
144
144
  var import_zod = require("zod");
145
145
  var import_uuid = require("@ai-matrx/kit/uuid");
146
146
  var PROTOCOL_MAJOR = 1;
147
- var PROTOCOL_MINOR = 24;
147
+ var PROTOCOL_MINOR = 25;
148
148
  var PROTOCOL_VERSION = `${PROTOCOL_MAJOR}.${PROTOCOL_MINOR}`;
149
149
  var ProtocolVersion = import_zod.z.string().regex(/^[1-9][0-9]{0,2}\.[0-9]{1,3}$/);
150
150
  var RequestId = import_zod.z.string().min(1).max(64).regex(/^[A-Za-z0-9_-]+$/);
@@ -2244,7 +2244,13 @@ var AccountUsage = import_zod30.z.strictObject({
2244
2244
  /** 1.13: the account's plan as the app names it (Codex: "pro", "prolite"), when recorded. */
2245
2245
  plan: import_zod30.z.string().max(80).optional(),
2246
2246
  /** 1.13: the account's credit balance as the app records it (Codex), when recorded. */
2247
- credits: import_zod30.z.string().max(40).optional()
2247
+ credits: import_zod30.z.string().max(40).optional(),
2248
+ /**
2249
+ * 1.25: the latest the account's 5-hour window can reset: 5 hours after the first reading of this
2250
+ * window's use (its usage history), so the real reset is at or before it. Absent when no 5-hour
2251
+ * window is running (no use in the last reading, or the reading is over 5 hours old).
2252
+ */
2253
+ five_hour_resets_by_ms: epochMs.optional()
2248
2254
  });
2249
2255
  var AccountReset = import_zod30.z.strictObject({
2250
2256
  window: ChatPlace,