@ai-matrx/desktop-protocol 0.21.31 → 0.21.32

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.32
4
+
5
+ Automatic changed-only republish (docs/metadata drift since the last tag — see
6
+ `git diff npm/desktop-protocol/v0.21.31..npm/desktop-protocol/v0.21.32 -- apps/shared/desktop-protocol`).
7
+ No source changes intended and no consumer action required.
8
+
3
9
  ## 0.21.31
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 = 41;
147
+ var PROTOCOL_MINOR = 42;
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_-]+$/);
@@ -3641,7 +3641,12 @@ var MessagesListResult = import_zod34.z.strictObject({ messages: import_zod34.z.
3641
3641
  var MessagesSendParams = import_zod34.z.strictObject({
3642
3642
  /** A phone number or email the person can message. */
3643
3643
  to: import_zod34.z.string().min(3).max(320),
3644
- text: import_zod34.z.string().min(1).max(2e4)
3644
+ text: import_zod34.z.string().min(1).max(2e4),
3645
+ /**
3646
+ * Send only over this service (Matrx Local's SendMessage `service`). Absent: iMessage first, and
3647
+ * SMS when the recipient has no iMessage (since 1.42).
3648
+ */
3649
+ service: import_zod34.z.enum(["iMessage", "SMS"]).optional()
3645
3650
  });
3646
3651
  var MessagesSendResult = import_zod34.z.strictObject({ sent: import_zod34.z.boolean() });
3647
3652
  var ContactsSearchParams = import_zod34.z.strictObject({