@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 +6 -0
- package/dist/client.cjs +7 -2
- package/dist/client.cjs.map +1 -1
- package/dist/client.d.cts +2 -2
- package/dist/client.d.ts +2 -2
- package/dist/client.js +7 -2
- package/dist/client.js.map +1 -1
- package/dist/index.cjs +13 -5
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +12 -5
- package/dist/index.d.ts +12 -5
- package/dist/index.js +13 -5
- package/dist/index.js.map +1 -1
- package/dist/{models-C4JytZ8c.d.cts → models-BNbWn8EL.d.cts} +8 -0
- package/dist/{models-C4JytZ8c.d.ts → models-BNbWn8EL.d.ts} +8 -0
- package/dist/react.d.cts +4 -0
- package/dist/react.d.ts +4 -0
- package/generated/desktop-protocol.schema.json +11 -1
- package/package.json +2 -2
package/dist/index.cjs
CHANGED
|
@@ -844,7 +844,7 @@ module.exports = __toCommonJS(src_exports);
|
|
|
844
844
|
var import_zod = require("zod");
|
|
845
845
|
var import_uuid = require("@ai-matrx/kit/uuid");
|
|
846
846
|
var PROTOCOL_MAJOR = 1;
|
|
847
|
-
var PROTOCOL_MINOR =
|
|
847
|
+
var PROTOCOL_MINOR = 42;
|
|
848
848
|
var PROTOCOL_VERSION = `${PROTOCOL_MAJOR}.${PROTOCOL_MINOR}`;
|
|
849
849
|
var ProtocolVersion = import_zod.z.string().regex(/^[1-9][0-9]{0,2}\.[0-9]{1,3}$/);
|
|
850
850
|
var RequestId = import_zod.z.string().min(1).max(64).regex(/^[A-Za-z0-9_-]+$/);
|
|
@@ -4532,7 +4532,12 @@ var MessagesListResult = import_zod36.z.strictObject({ messages: import_zod36.z.
|
|
|
4532
4532
|
var MessagesSendParams = import_zod36.z.strictObject({
|
|
4533
4533
|
/** A phone number or email the person can message. */
|
|
4534
4534
|
to: import_zod36.z.string().min(3).max(320),
|
|
4535
|
-
text: import_zod36.z.string().min(1).max(2e4)
|
|
4535
|
+
text: import_zod36.z.string().min(1).max(2e4),
|
|
4536
|
+
/**
|
|
4537
|
+
* Send only over this service (Matrx Local's SendMessage `service`). Absent: iMessage first, and
|
|
4538
|
+
* SMS when the recipient has no iMessage (since 1.42).
|
|
4539
|
+
*/
|
|
4540
|
+
service: import_zod36.z.enum(["iMessage", "SMS"]).optional()
|
|
4536
4541
|
});
|
|
4537
4542
|
var MessagesSendResult = import_zod36.z.strictObject({ sent: import_zod36.z.boolean() });
|
|
4538
4543
|
var ContactsSearchParams = import_zod36.z.strictObject({
|
|
@@ -5994,7 +5999,8 @@ var FIELDS_SINCE = {
|
|
|
5994
5999
|
WebBrowserFetchParams: { land: "1.40" },
|
|
5995
6000
|
WebBrowserFetchResult: { source: "1.40" },
|
|
5996
6001
|
SysinfoGetResult: { requirements: "1.41" },
|
|
5997
|
-
"SysinfoGetResult.permissions[]": { detail: "1.41" }
|
|
6002
|
+
"SysinfoGetResult.permissions[]": { detail: "1.41" },
|
|
6003
|
+
MessagesSendParams: { service: "1.42" }
|
|
5998
6004
|
};
|
|
5999
6005
|
var NULL_SINCE = {
|
|
6000
6006
|
"RelayDeviceStatusEvent.since_ms": { since: "1.1", olderPeersGet: 0 }
|
|
@@ -6156,7 +6162,7 @@ function forPeer(op, part, value, version) {
|
|
|
6156
6162
|
var VERSIONED_RESULT_OPS = [.../* @__PURE__ */ new Set([...RESULT_PATH.keys(), ...WINDOW_RESULTS.keys(), ...NESTED_RESULTS.keys()])];
|
|
6157
6163
|
|
|
6158
6164
|
// src/contract.ts
|
|
6159
|
-
var CONTRACT_SHA256 = "
|
|
6165
|
+
var CONTRACT_SHA256 = "c96c1a43bc4b34d518fa088be9300d96baab63938ce0dbfb9425cdc706097668";
|
|
6160
6166
|
|
|
6161
6167
|
// src/close-policy.ts
|
|
6162
6168
|
var CLOSE_RULES = {
|
|
@@ -6227,7 +6233,9 @@ var TOOL_CATALOG = [
|
|
|
6227
6233
|
{ name: "desktop_contacts", group: "personal_automation", state: "built", path: "device_op", ops: ["contacts.search", "contacts.get"], platforms: ["darwin"], summary: "Contacts: search, one card" },
|
|
6228
6234
|
{ name: "desktop_calendar", group: "personal_automation", state: "built", path: "device_op", ops: ["calendar.list", "calendar.create", "reminders.list", "reminders.create"], platforms: ["darwin"], summary: "Calendar and Reminders: list and add" },
|
|
6229
6235
|
{ name: "desktop_photos", group: "personal_automation", state: "built", path: "device_op", ops: ["photos.search", "photos.get"], platforms: ["darwin"], summary: "The Photos library: find, export an original" },
|
|
6230
|
-
|
|
6236
|
+
// Windows comes back once a Windows location fix is proven (plan attack retire-local 2026-10-12, B6):
|
|
6237
|
+
// until then local_mac_apps (macOS-only) is judged on macOS and nothing claims Windows.
|
|
6238
|
+
{ name: "desktop_location", group: "personal_automation", state: "built", path: "device_op", ops: ["location.get"], platforms: ["darwin"], summary: "Where the computer is (the OS's location service)" },
|
|
6231
6239
|
{ name: "desktop_net", group: "personal_automation", state: "built", path: "device_op", ops: ["net.info", "net.wifi", "net.bluetooth", "net.devices", "net.mdns", "net.scan", "net.download"], platforms: ALL, summary: "Local network, Wi-Fi, Bluetooth, open ports and downloads" },
|
|
6232
6240
|
{ name: "desktop_schedule", group: "personal_automation", state: "built", path: "device_op", ops: ["schedule.create", "schedule.list", "schedule.cancel"], platforms: ALL, summary: "Run a tool's op on this computer on an interval; list and cancel" },
|
|
6233
6241
|
// 1.38, code from anywhere: the person's Claude Code and Codex sessions on this computer. Turning
|