@ai-matrx/desktop-protocol 0.21.65 → 0.21.67
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 +2 -1
- package/dist/{chunk-server-K7IQDLLV.js → chunk-server-AHS5QIQV.js} +104 -18
- package/dist/chunk-server-AHS5QIQV.js.map +1 -0
- package/dist/client.cjs +85 -17
- 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 +1 -1
- package/dist/index.cjs +104 -18
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +134 -6
- package/dist/index.d.ts +134 -6
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/{models-Bz990hcd.d.cts → models-C0Jgv2ev.d.cts} +111 -2
- package/dist/{models-Bz990hcd.d.ts → models-C0Jgv2ev.d.ts} +111 -2
- package/dist/react.d.cts +48 -1
- package/dist/react.d.ts +48 -1
- package/generated/desktop-protocol.schema.json +192 -5
- package/package.json +2 -2
- package/dist/chunk-server-K7IQDLLV.js.map +0 -1
package/dist/client.d.cts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { BackoffOptions } from '@ai-matrx/data/realtime';
|
|
2
2
|
export { RECONNECT_ALARM_ATTEMPTS } from '@ai-matrx/data/realtime';
|
|
3
3
|
import { z } from 'zod';
|
|
4
|
-
import { W as Welcome, D as DesktopProtocolError, C as CloseOutcome, O as OpName, a as OpParams, b as OpResult, c as OPS, S as StreamMeta, E as EndReason, d as EVENTS, e as ClientType, M as ModelsTranscribeResult, T as TranscriptionModelId, f as MlProgress } from './models-
|
|
5
|
-
export { i as isDesktopProtocolError } from './models-
|
|
4
|
+
import { W as Welcome, D as DesktopProtocolError, C as CloseOutcome, O as OpName, a as OpParams, b as OpResult, c as OPS, S as StreamMeta, E as EndReason, d as EVENTS, e as ClientType, M as ModelsTranscribeResult, T as TranscriptionModelId, f as MlProgress } from './models-C0Jgv2ev.cjs';
|
|
5
|
+
export { i as isDesktopProtocolError } from './models-C0Jgv2ev.cjs';
|
|
6
6
|
import { FrameHeader } from './frame.cjs';
|
|
7
7
|
|
|
8
8
|
/** The subset of the WHATWG WebSocket the client uses — browser, React Native, `ws` and Workers all fit. */
|
package/dist/client.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { BackoffOptions } from '@ai-matrx/data/realtime';
|
|
2
2
|
export { RECONNECT_ALARM_ATTEMPTS } from '@ai-matrx/data/realtime';
|
|
3
3
|
import { z } from 'zod';
|
|
4
|
-
import { W as Welcome, D as DesktopProtocolError, C as CloseOutcome, O as OpName, a as OpParams, b as OpResult, c as OPS, S as StreamMeta, E as EndReason, d as EVENTS, e as ClientType, M as ModelsTranscribeResult, T as TranscriptionModelId, f as MlProgress } from './models-
|
|
5
|
-
export { i as isDesktopProtocolError } from './models-
|
|
4
|
+
import { W as Welcome, D as DesktopProtocolError, C as CloseOutcome, O as OpName, a as OpParams, b as OpResult, c as OPS, S as StreamMeta, E as EndReason, d as EVENTS, e as ClientType, M as ModelsTranscribeResult, T as TranscriptionModelId, f as MlProgress } from './models-C0Jgv2ev.js';
|
|
5
|
+
export { i as isDesktopProtocolError } from './models-C0Jgv2ev.js';
|
|
6
6
|
import { FrameHeader } from './frame.js';
|
|
7
7
|
|
|
8
8
|
/** The subset of the WHATWG WebSocket the client uses — browser, React Native, `ws` and Workers all fit. */
|
package/dist/client.js
CHANGED
package/dist/index.cjs
CHANGED
|
@@ -915,7 +915,7 @@ module.exports = __toCommonJS(src_exports);
|
|
|
915
915
|
var import_zod = require("zod");
|
|
916
916
|
var import_uuid = require("@ai-matrx/kit/uuid");
|
|
917
917
|
var PROTOCOL_MAJOR = 1;
|
|
918
|
-
var PROTOCOL_MINOR =
|
|
918
|
+
var PROTOCOL_MINOR = 67;
|
|
919
919
|
var PROTOCOL_VERSION = `${PROTOCOL_MAJOR}.${PROTOCOL_MINOR}`;
|
|
920
920
|
var ProtocolVersion = import_zod.z.string().regex(/^[1-9][0-9]{0,2}\.[0-9]{1,3}$/);
|
|
921
921
|
var RequestId = import_zod.z.string().min(1).max(64).regex(/^[A-Za-z0-9_-]+$/);
|
|
@@ -4094,7 +4094,7 @@ var AudioRecordParams = import_zod30.z.strictObject({
|
|
|
4094
4094
|
path: AbsPath.optional(),
|
|
4095
4095
|
/** (1.66) 1 (mono, the default) or 2 (stereo). */
|
|
4096
4096
|
channels: import_zod30.z.int().min(1).max(2).optional(),
|
|
4097
|
-
/** (1.66) Samples per second;
|
|
4097
|
+
/** (1.66) Samples per second; 16000 when absent (the rate Whisper reads). */
|
|
4098
4098
|
sample_rate: import_zod30.z.int().min(8e3).max(192e3).optional()
|
|
4099
4099
|
});
|
|
4100
4100
|
var AudioRecordResult = import_zod30.z.strictObject({
|
|
@@ -4993,7 +4993,13 @@ var AutomationScriptResult = import_zod37.z.strictObject({
|
|
|
4993
4993
|
elapsed_ms: nonNegInt
|
|
4994
4994
|
});
|
|
4995
4995
|
var MailAccountsParams = import_zod37.z.strictObject({});
|
|
4996
|
-
var MailAccount = import_zod37.z.strictObject({
|
|
4996
|
+
var MailAccount = import_zod37.z.strictObject({
|
|
4997
|
+
name: import_zod37.z.string(),
|
|
4998
|
+
emails: import_zod37.z.array(import_zod37.z.string()),
|
|
4999
|
+
enabled: import_zod37.z.boolean(),
|
|
5000
|
+
/** (1.67) The account's mailboxes by name (Matrx Local's email_accounts listed them). */
|
|
5001
|
+
mailboxes: import_zod37.z.array(import_zod37.z.string()).optional()
|
|
5002
|
+
});
|
|
4997
5003
|
var MailAccountsResult = import_zod37.z.strictObject({ accounts: import_zod37.z.array(MailAccount) });
|
|
4998
5004
|
var MailListParams = import_zod37.z.strictObject({
|
|
4999
5005
|
/** The account's name in Mail; absent: every account. */
|
|
@@ -5018,6 +5024,8 @@ var MailListResult = import_zod37.z.strictObject({ messages: import_zod37.z.arra
|
|
|
5018
5024
|
var MailSendParams = import_zod37.z.strictObject({
|
|
5019
5025
|
to: import_zod37.z.array(import_zod37.z.string().min(3).max(320)).min(1).max(50),
|
|
5020
5026
|
cc: import_zod37.z.array(import_zod37.z.string().min(3).max(320)).max(50).default([]),
|
|
5027
|
+
/** (1.67) Blind copies (Matrx Local's send_email bcc). */
|
|
5028
|
+
bcc: import_zod37.z.array(import_zod37.z.string().min(3).max(320)).max(50).optional(),
|
|
5021
5029
|
subject: import_zod37.z.string().max(998),
|
|
5022
5030
|
body: Text,
|
|
5023
5031
|
/** The sending account's address; absent: Mail's default. */
|
|
@@ -5096,13 +5104,19 @@ var MessagesChat = import_zod37.z.strictObject({
|
|
|
5096
5104
|
name: import_zod37.z.string().nullable(),
|
|
5097
5105
|
participants: import_zod37.z.array(import_zod37.z.string()),
|
|
5098
5106
|
last_message_at_ms: epochMs.nullable(),
|
|
5099
|
-
service: import_zod37.z.string().nullable()
|
|
5107
|
+
service: import_zod37.z.string().nullable(),
|
|
5108
|
+
/** (1.67) The newest message's text (Matrx Local's list_conversations preview); absent when it has none. */
|
|
5109
|
+
last_message: import_zod37.z.string().optional()
|
|
5100
5110
|
});
|
|
5101
5111
|
var MessagesChatsResult = import_zod37.z.strictObject({ chats: import_zod37.z.array(MessagesChat) });
|
|
5102
5112
|
var MessagesListParams = import_zod37.z.strictObject({
|
|
5103
5113
|
/** One chat (messages.chats' chat_id); absent: the newest across all. */
|
|
5104
5114
|
chat_id: import_zod37.z.string().min(1).max(512).optional(),
|
|
5105
|
-
limit: import_zod37.z.int().min(1).max(500).default(50)
|
|
5115
|
+
limit: import_zod37.z.int().min(1).max(500).default(50),
|
|
5116
|
+
/** (1.67) Only messages with this handle or chat name in them (partial: a phone, an email, a name). */
|
|
5117
|
+
contact: import_zod37.z.string().min(1).max(320).optional(),
|
|
5118
|
+
/** (1.67) Only messages not yet read. */
|
|
5119
|
+
unread_only: import_zod37.z.boolean().optional()
|
|
5106
5120
|
});
|
|
5107
5121
|
var MessagesMessage = import_zod37.z.strictObject({
|
|
5108
5122
|
id: import_zod37.z.string(),
|
|
@@ -5111,7 +5125,13 @@ var MessagesMessage = import_zod37.z.strictObject({
|
|
|
5111
5125
|
from_me: import_zod37.z.boolean(),
|
|
5112
5126
|
/** The other person's handle (phone or email); null for the person's own messages. */
|
|
5113
5127
|
sender: import_zod37.z.string().nullable(),
|
|
5114
|
-
sent_at_ms: epochMs.nullable()
|
|
5128
|
+
sent_at_ms: epochMs.nullable(),
|
|
5129
|
+
/** (1.67) Whether it has been read. */
|
|
5130
|
+
read: import_zod37.z.boolean().optional(),
|
|
5131
|
+
/** (1.67) iMessage, SMS or RCS, as the Messages database says. */
|
|
5132
|
+
service: import_zod37.z.string().optional(),
|
|
5133
|
+
/** (1.67) The chat's name (group chats); absent for a one-to-one chat. */
|
|
5134
|
+
chat_name: import_zod37.z.string().optional()
|
|
5115
5135
|
});
|
|
5116
5136
|
var MessagesListResult = import_zod37.z.strictObject({ messages: import_zod37.z.array(MessagesMessage) });
|
|
5117
5137
|
var MessagesSendParams = import_zod37.z.strictObject({
|
|
@@ -5126,8 +5146,8 @@ var MessagesSendParams = import_zod37.z.strictObject({
|
|
|
5126
5146
|
});
|
|
5127
5147
|
var MessagesSendResult = import_zod37.z.strictObject({ sent: import_zod37.z.boolean() });
|
|
5128
5148
|
var ContactsSearchParams = import_zod37.z.strictObject({
|
|
5129
|
-
/** Matched against names, organizations, emails and phone numbers. */
|
|
5130
|
-
query: import_zod37.z.string().min(1).max(256),
|
|
5149
|
+
/** Matched against names, organizations, emails and phone numbers; absent (1.67): the first `limit` contacts. */
|
|
5150
|
+
query: import_zod37.z.string().min(1).max(256).optional(),
|
|
5131
5151
|
limit: import_zod37.z.int().min(1).max(200).default(25)
|
|
5132
5152
|
});
|
|
5133
5153
|
var ContactLabeled = import_zod37.z.strictObject({ label: import_zod37.z.string().nullable(), value: import_zod37.z.string() });
|
|
@@ -5157,6 +5177,8 @@ var CalendarListParams = import_zod37.z.strictObject({
|
|
|
5157
5177
|
to_ms: epochMs,
|
|
5158
5178
|
/** One calendar's name; absent: every calendar. */
|
|
5159
5179
|
calendar: import_zod37.z.string().min(1).max(256).optional(),
|
|
5180
|
+
/** (1.67) Several calendars by name (Matrx Local's calendar_names); with `calendar`, both count. */
|
|
5181
|
+
calendars: import_zod37.z.array(import_zod37.z.string().min(1).max(256)).min(1).max(100).optional(),
|
|
5160
5182
|
limit: import_zod37.z.int().min(1).max(500).default(100)
|
|
5161
5183
|
});
|
|
5162
5184
|
var CalendarEvent = import_zod37.z.strictObject({
|
|
@@ -5167,7 +5189,9 @@ var CalendarEvent = import_zod37.z.strictObject({
|
|
|
5167
5189
|
all_day: import_zod37.z.boolean(),
|
|
5168
5190
|
calendar: import_zod37.z.string(),
|
|
5169
5191
|
location: import_zod37.z.string().nullable(),
|
|
5170
|
-
notes: import_zod37.z.string().nullable()
|
|
5192
|
+
notes: import_zod37.z.string().nullable(),
|
|
5193
|
+
/** (1.67) The event's link; absent when it has none. */
|
|
5194
|
+
url: import_zod37.z.string().optional()
|
|
5171
5195
|
});
|
|
5172
5196
|
var CalendarListResult = import_zod37.z.strictObject({ events: import_zod37.z.array(CalendarEvent) });
|
|
5173
5197
|
var CalendarCreateParams = import_zod37.z.strictObject({
|
|
@@ -5184,6 +5208,8 @@ var CalendarCreateResult = import_zod37.z.strictObject({ id: import_zod37.z.stri
|
|
|
5184
5208
|
var RemindersListParams = import_zod37.z.strictObject({
|
|
5185
5209
|
/** One list's name; absent: every list. */
|
|
5186
5210
|
list: import_zod37.z.string().min(1).max(256).optional(),
|
|
5211
|
+
/** (1.67) Several lists by name (Matrx Local's list_names); with `list`, both count. */
|
|
5212
|
+
lists: import_zod37.z.array(import_zod37.z.string().min(1).max(256)).min(1).max(100).optional(),
|
|
5187
5213
|
include_completed: import_zod37.z.boolean().default(false),
|
|
5188
5214
|
limit: import_zod37.z.int().min(1).max(500).default(100)
|
|
5189
5215
|
});
|
|
@@ -5193,7 +5219,11 @@ var Reminder = import_zod37.z.strictObject({
|
|
|
5193
5219
|
list: import_zod37.z.string(),
|
|
5194
5220
|
due_ms: epochMs.nullable(),
|
|
5195
5221
|
completed: import_zod37.z.boolean(),
|
|
5196
|
-
notes: import_zod37.z.string().nullable()
|
|
5222
|
+
notes: import_zod37.z.string().nullable(),
|
|
5223
|
+
/** (1.67) 0 none, 1 high … 9 low (EventKit's scale). */
|
|
5224
|
+
priority: import_zod37.z.int().min(0).max(9).optional(),
|
|
5225
|
+
/** (1.67) When it was completed; absent while open. */
|
|
5226
|
+
completed_at_ms: epochMs.optional()
|
|
5197
5227
|
});
|
|
5198
5228
|
var RemindersListResult = import_zod37.z.strictObject({ reminders: import_zod37.z.array(Reminder) });
|
|
5199
5229
|
var RemindersCreateParams = import_zod37.z.strictObject({
|
|
@@ -5209,6 +5239,8 @@ var PhotosSearchParams = import_zod37.z.strictObject({
|
|
|
5209
5239
|
from_ms: epochMs.optional(),
|
|
5210
5240
|
to_ms: epochMs.optional(),
|
|
5211
5241
|
favorites_only: import_zod37.z.boolean().default(false),
|
|
5242
|
+
/** (1.67) image, video or all (Matrx Local's media_type); absent: all. */
|
|
5243
|
+
media_type: import_zod37.z.enum(["image", "video", "all"]).optional(),
|
|
5212
5244
|
limit: import_zod37.z.int().min(1).max(200).default(25)
|
|
5213
5245
|
});
|
|
5214
5246
|
var Photo = import_zod37.z.strictObject({
|
|
@@ -5218,15 +5250,26 @@ var Photo = import_zod37.z.strictObject({
|
|
|
5218
5250
|
width: nonNegInt.nullable(),
|
|
5219
5251
|
height: nonNegInt.nullable(),
|
|
5220
5252
|
favorite: import_zod37.z.boolean(),
|
|
5221
|
-
title: import_zod37.z.string().nullable()
|
|
5253
|
+
title: import_zod37.z.string().nullable(),
|
|
5254
|
+
/** (1.67) What the asset is. */
|
|
5255
|
+
media_type: import_zod37.z.enum(["image", "video", "audio", "unknown"]).optional(),
|
|
5256
|
+
/** (1.67) A video's length in seconds; absent for a still. */
|
|
5257
|
+
duration_s: import_zod37.z.number().min(0).optional()
|
|
5222
5258
|
});
|
|
5223
5259
|
var PhotosSearchResult = import_zod37.z.strictObject({ photos: import_zod37.z.array(Photo) });
|
|
5224
5260
|
var PhotosGetParams = import_zod37.z.strictObject({
|
|
5225
5261
|
id: import_zod37.z.string().min(1).max(256),
|
|
5226
5262
|
/** Copy the original into a folder Matrx 2 owns and answer its path (then fs_read or desktop_documents reads it). */
|
|
5227
|
-
export: import_zod37.z.boolean().default(false)
|
|
5263
|
+
export: import_zod37.z.boolean().default(false),
|
|
5264
|
+
/** (1.67) Also answer a PNG thumbnail no larger than this many pixels a side (Matrx Local's get_photo thumbnail). */
|
|
5265
|
+
thumbnail_size: import_zod37.z.int().min(64).max(2048).optional()
|
|
5266
|
+
});
|
|
5267
|
+
var PhotosGetResult = import_zod37.z.strictObject({
|
|
5268
|
+
photo: Photo,
|
|
5269
|
+
path: import_zod37.z.string().nullable(),
|
|
5270
|
+
/** (1.67) The thumbnail as base64 PNG, when thumbnail_size asked for one; absent when it could not be drawn. */
|
|
5271
|
+
thumbnail_png_base64: import_zod37.z.string().optional()
|
|
5228
5272
|
});
|
|
5229
|
-
var PhotosGetResult = import_zod37.z.strictObject({ photo: Photo, path: import_zod37.z.string().nullable() });
|
|
5230
5273
|
var LocationGetParams = import_zod37.z.strictObject({ timeout_s: import_zod37.z.int().min(1).max(60).default(15) });
|
|
5231
5274
|
var LocationGetResult = import_zod37.z.strictObject({
|
|
5232
5275
|
latitude: import_zod37.z.number().min(-90).max(90),
|
|
@@ -5235,7 +5278,12 @@ var LocationGetResult = import_zod37.z.strictObject({
|
|
|
5235
5278
|
accuracy_m: import_zod37.z.number().min(0).nullable(),
|
|
5236
5279
|
at_ms: epochMs,
|
|
5237
5280
|
/** Who answered: the OS's own location service. */
|
|
5238
|
-
source: import_zod37.z.enum(["corelocation", "windows", "geoclue"])
|
|
5281
|
+
source: import_zod37.z.enum(["corelocation", "windows", "geoclue"]),
|
|
5282
|
+
/** (1.67) Metres above sea level, its accuracy, speed (m/s) and course (degrees); absent where the OS does not say. */
|
|
5283
|
+
altitude_m: import_zod37.z.number().optional(),
|
|
5284
|
+
vertical_accuracy_m: import_zod37.z.number().min(0).optional(),
|
|
5285
|
+
speed_mps: import_zod37.z.number().min(0).optional(),
|
|
5286
|
+
course_deg: import_zod37.z.number().min(0).max(360).optional()
|
|
5239
5287
|
});
|
|
5240
5288
|
|
|
5241
5289
|
// src/schema/windows.ts
|
|
@@ -5267,6 +5315,8 @@ var WindowsRegistryWriteResult = import_zod38.z.strictObject({ key: import_zod38
|
|
|
5267
5315
|
var WindowsServicesParams = import_zod38.z.strictObject({
|
|
5268
5316
|
/** Matched against the service's name and display name. */
|
|
5269
5317
|
filter: import_zod38.z.string().min(1).max(256).optional(),
|
|
5318
|
+
/** (1.67) Only services in this state (Matrx Local's service_list status). */
|
|
5319
|
+
status: import_zod38.z.enum(["running", "stopped", "paused"]).optional(),
|
|
5270
5320
|
limit: import_zod38.z.int().min(1).max(1e3).default(200)
|
|
5271
5321
|
});
|
|
5272
5322
|
var WindowsService = import_zod38.z.strictObject({
|
|
@@ -5280,7 +5330,8 @@ var WindowsService = import_zod38.z.strictObject({
|
|
|
5280
5330
|
var WindowsServicesResult = import_zod38.z.strictObject({ services: import_zod38.z.array(WindowsService) });
|
|
5281
5331
|
var WindowsServiceControlParams = import_zod38.z.strictObject({
|
|
5282
5332
|
name: import_zod38.z.string().min(1).max(256),
|
|
5283
|
-
|
|
5333
|
+
/** pause and resume since 1.67 (Matrx Local's service_control). */
|
|
5334
|
+
action: import_zod38.z.enum(["start", "stop", "restart", "pause", "resume"])
|
|
5284
5335
|
});
|
|
5285
5336
|
var WindowsServiceControlResult = import_zod38.z.strictObject({ name: import_zod38.z.string(), status: import_zod38.z.string() });
|
|
5286
5337
|
var WindowsEventLogParams = import_zod38.z.strictObject({
|
|
@@ -5288,6 +5339,8 @@ var WindowsEventLogParams = import_zod38.z.strictObject({
|
|
|
5288
5339
|
/** Only these levels; absent: all. */
|
|
5289
5340
|
levels: import_zod38.z.array(import_zod38.z.enum(["critical", "error", "warning", "information", "verbose"])).max(5).optional(),
|
|
5290
5341
|
since_ms: epochMs.optional(),
|
|
5342
|
+
/** (1.67) Only events whose source (provider) name contains this. */
|
|
5343
|
+
source: import_zod38.z.string().min(1).max(256).optional(),
|
|
5291
5344
|
limit: import_zod38.z.int().min(1).max(500).default(50)
|
|
5292
5345
|
});
|
|
5293
5346
|
var WindowsEvent = import_zod38.z.strictObject({
|
|
@@ -5298,7 +5351,11 @@ var WindowsEvent = import_zod38.z.strictObject({
|
|
|
5298
5351
|
message: import_zod38.z.string()
|
|
5299
5352
|
});
|
|
5300
5353
|
var WindowsEventLogResult = import_zod38.z.strictObject({ log: import_zod38.z.string(), events: import_zod38.z.array(WindowsEvent) });
|
|
5301
|
-
var WindowsFeaturesParams = import_zod38.z.strictObject({
|
|
5354
|
+
var WindowsFeaturesParams = import_zod38.z.strictObject({
|
|
5355
|
+
filter: import_zod38.z.string().min(1).max(256).optional(),
|
|
5356
|
+
/** (1.67) Only features that are on (Matrx Local's windows_features installed_only). */
|
|
5357
|
+
installed_only: import_zod38.z.boolean().optional()
|
|
5358
|
+
});
|
|
5302
5359
|
var WindowsFeature = import_zod38.z.strictObject({ name: import_zod38.z.string(), state: import_zod38.z.string() });
|
|
5303
5360
|
var WindowsFeaturesResult = import_zod38.z.strictObject({ features: import_zod38.z.array(WindowsFeature) });
|
|
5304
5361
|
|
|
@@ -6706,6 +6763,24 @@ var FIELDS_SINCE = {
|
|
|
6706
6763
|
SysinfoGetResult: { requirements: "1.41" },
|
|
6707
6764
|
"SysinfoGetResult.permissions[]": { detail: "1.41" },
|
|
6708
6765
|
MessagesSendParams: { service: "1.42" },
|
|
6766
|
+
// 1.67: Matrx Local's local_mac_apps and local_windows_ps contracts, carried whole.
|
|
6767
|
+
MailAccount: { mailboxes: "1.67" },
|
|
6768
|
+
MailSendParams: { bcc: "1.67" },
|
|
6769
|
+
MessagesChat: { last_message: "1.67" },
|
|
6770
|
+
MessagesListParams: { contact: "1.67", unread_only: "1.67" },
|
|
6771
|
+
MessagesMessage: { read: "1.67", service: "1.67", chat_name: "1.67" },
|
|
6772
|
+
CalendarListParams: { calendars: "1.67" },
|
|
6773
|
+
CalendarEvent: { url: "1.67" },
|
|
6774
|
+
RemindersListParams: { lists: "1.67" },
|
|
6775
|
+
Reminder: { priority: "1.67", completed_at_ms: "1.67" },
|
|
6776
|
+
PhotosSearchParams: { media_type: "1.67" },
|
|
6777
|
+
Photo: { media_type: "1.67", duration_s: "1.67" },
|
|
6778
|
+
PhotosGetParams: { thumbnail_size: "1.67" },
|
|
6779
|
+
PhotosGetResult: { thumbnail_png_base64: "1.67" },
|
|
6780
|
+
LocationGetResult: { altitude_m: "1.67", vertical_accuracy_m: "1.67", speed_mps: "1.67", course_deg: "1.67" },
|
|
6781
|
+
WindowsServicesParams: { status: "1.67" },
|
|
6782
|
+
WindowsEventLogParams: { source: "1.67" },
|
|
6783
|
+
WindowsFeaturesParams: { installed_only: "1.67" },
|
|
6709
6784
|
SysinfoHardwareResult: { graphics: "1.45" },
|
|
6710
6785
|
DownloadRow: { error: "1.46" },
|
|
6711
6786
|
CopyRestart: { reopened: "1.60" }
|
|
@@ -6790,7 +6865,10 @@ var RESULT_PATH = /* @__PURE__ */ new Map([
|
|
|
6790
6865
|
["web.fetch_with_browser", "WebBrowserFetchResult"],
|
|
6791
6866
|
["sysinfo.get", "SysinfoGetResult"],
|
|
6792
6867
|
["sysinfo.hardware", "SysinfoHardwareResult"],
|
|
6793
|
-
["apps.projects.to_window", "AppsProjectsToWindowResult"]
|
|
6868
|
+
["apps.projects.to_window", "AppsProjectsToWindowResult"],
|
|
6869
|
+
// 1.67: Matrx Local's local_mac_apps result fields.
|
|
6870
|
+
["photos.get", "PhotosGetResult"],
|
|
6871
|
+
["location.get", "LocationGetResult"]
|
|
6794
6872
|
]);
|
|
6795
6873
|
var NESTED_RESULTS = /* @__PURE__ */ new Map([
|
|
6796
6874
|
["apps.chats.list", [["chats", "ChatRow"]]],
|
|
@@ -6814,6 +6892,14 @@ var NESTED_RESULTS = /* @__PURE__ */ new Map([
|
|
|
6814
6892
|
// 1.63: what an instance record still lacks.
|
|
6815
6893
|
["apps.instances.list", [["instances", "AppInstance"]]],
|
|
6816
6894
|
["apps.windows.set_remote_control", [["remote_control", "WindowRemoteControl"]]],
|
|
6895
|
+
// 1.67: Matrx Local's local_mac_apps result fields.
|
|
6896
|
+
["mail.accounts", [["accounts", "MailAccount"]]],
|
|
6897
|
+
["messages.chats", [["chats", "MessagesChat"]]],
|
|
6898
|
+
["messages.list", [["messages", "MessagesMessage"]]],
|
|
6899
|
+
["calendar.list", [["events", "CalendarEvent"]]],
|
|
6900
|
+
["reminders.list", [["reminders", "Reminder"]]],
|
|
6901
|
+
["photos.search", [["photos", "Photo"]]],
|
|
6902
|
+
["photos.get", [["photo", "Photo"]]],
|
|
6817
6903
|
["coding.providers", [["providers", "CodingProviderStatus"]]],
|
|
6818
6904
|
// 1.57: the account a coding record belongs to.
|
|
6819
6905
|
["coding.sessions.list", [["sessions", "CodingSessionRecord"], ["recent", "CodingRecentRow"]]],
|
|
@@ -6940,7 +7026,7 @@ function forPeer(op, part, value, version) {
|
|
|
6940
7026
|
var VERSIONED_RESULT_OPS = [.../* @__PURE__ */ new Set([...RESULT_PATH.keys(), ...WINDOW_RESULTS.keys(), ...NESTED_RESULTS.keys()])];
|
|
6941
7027
|
|
|
6942
7028
|
// src/contract.ts
|
|
6943
|
-
var CONTRACT_SHA256 = "
|
|
7029
|
+
var CONTRACT_SHA256 = "256927253d8ef5d1d79a347a7cefe6198ca2364b582a0b74b9ceb0fb53d4e183";
|
|
6944
7030
|
|
|
6945
7031
|
// src/close-policy.ts
|
|
6946
7032
|
var CLOSE_RULES = {
|