@ai-matrx/desktop-protocol 0.17.7 → 0.17.8

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,12 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.17.8
4
+ ### (protocol 1.12)
5
+
6
+ - `apps.accounts.usage` and `apps.accounts.resets` gain optional `problem` (the rows are right, something around them failed, e.g. a newly read reset time could not be saved), stripped for peers below 1.12 (guard: versioning.test.ts "apps accounts 1.12").
7
+
8
+ Consumer action: none for older peers.
9
+
3
10
  ## 0.17.7
4
11
  ### (protocol 1.11)
5
12
 
package/dist/client.cjs CHANGED
@@ -143,7 +143,7 @@ var import_zod2 = require("zod");
143
143
  // src/schema/primitives.ts
144
144
  var import_zod = require("zod");
145
145
  var PROTOCOL_MAJOR = 1;
146
- var PROTOCOL_MINOR = 11;
146
+ var PROTOCOL_MINOR = 12;
147
147
  var PROTOCOL_VERSION = `${PROTOCOL_MAJOR}.${PROTOCOL_MINOR}`;
148
148
  var ProtocolVersion = import_zod.z.string().regex(/^[1-9][0-9]{0,2}\.[0-9]{1,3}$/);
149
149
  var RequestId = import_zod.z.string().min(1).max(64).regex(/^[A-Za-z0-9_-]+$/);
@@ -1643,9 +1643,19 @@ var AccountReset = import_zod25.z.strictObject({
1643
1643
  var AppsWindowsListParams = import_zod25.z.strictObject({ app_key: AppKey });
1644
1644
  var AppsWindowsListResult = import_zod25.z.strictObject({ app_key: AppKey, windows: import_zod25.z.array(AppWindowInfo).max(200) });
1645
1645
  var AppsAccountsUsageParams = import_zod25.z.strictObject({ app_key: AppKey });
1646
- var AppsAccountsUsageResult = import_zod25.z.strictObject({ app_key: AppKey, accounts: import_zod25.z.array(AccountUsage).max(500) });
1646
+ var AppsAccountsUsageResult = import_zod25.z.strictObject({
1647
+ app_key: AppKey,
1648
+ accounts: import_zod25.z.array(AccountUsage).max(500),
1649
+ /** 1.12: the rows are right but something around them failed (a newly read reset time could not be saved); shown, never hidden. */
1650
+ problem: import_zod25.z.string().max(400).optional()
1651
+ });
1647
1652
  var AppsAccountsResetsParams = import_zod25.z.strictObject({ app_key: AppKey });
1648
- var AppsAccountsResetsResult = import_zod25.z.strictObject({ app_key: AppKey, resets: import_zod25.z.array(AccountReset).max(200) });
1653
+ var AppsAccountsResetsResult = import_zod25.z.strictObject({
1654
+ app_key: AppKey,
1655
+ resets: import_zod25.z.array(AccountReset).max(200),
1656
+ /** 1.12: as on `apps.accounts.usage`. */
1657
+ problem: import_zod25.z.string().max(400).optional()
1658
+ });
1649
1659
  var AppsWindowActionResult = import_zod25.z.strictObject({ message: import_zod25.z.string().max(400) });
1650
1660
  var AppsWindowsOpenParams = import_zod25.z.strictObject({ app_key: AppKey, window: ChatPlace });
1651
1661
  var AppsWindowsReloadParams = import_zod25.z.strictObject({ app_key: AppKey, window: ChatPlace });