@ai-matrx/desktop-protocol 0.21.28 → 0.21.30
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 +12 -0
- package/dist/client.cjs +1553 -369
- package/dist/client.cjs.map +1 -1
- package/dist/client.d.cts +7 -2
- package/dist/client.d.ts +7 -2
- package/dist/client.js +1553 -369
- package/dist/client.js.map +1 -1
- package/dist/index.cjs +1694 -95
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +3650 -264
- package/dist/index.d.ts +3650 -264
- package/dist/index.js +1694 -95
- package/dist/index.js.map +1 -1
- package/dist/{models-NgxBS190.d.cts → models-CzKyJhDP.d.cts} +9669 -4046
- package/dist/{models-NgxBS190.d.ts → models-CzKyJhDP.d.ts} +9669 -4046
- package/dist/react.d.cts +2977 -404
- package/dist/react.d.ts +2977 -404
- package/generated/desktop-protocol.schema.json +14917 -7363
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
import { O as OpName } from './models-
|
|
3
|
-
export { B as BEARER_PREFIX, g as CLOSE_RULES, h as CancelMsg, j as ClientToCoreMsg, e as ClientType, k as CloseAction, l as CloseCode, m as CloseCodeValue, C as CloseOutcome, n as CloseRule, o as CoreToClientMsg, p as CreditMsg, D as DesktopProtocolError, d as EVENTS, q as EndMsg, E as EndReason, r as ErrorCode, s as ErrorCodeName, t as ErrorData, u as ErrorMsg, v as ErrorReason, w as ErrorReasonName, x as EventMsg, y as EventName, F as FsPatchEditFailure, H as HelloMsg, L as Limits, z as LlmRunning, A as LlmServerState, G as MlInstallPhase, I as MlInstallProgress, f as MlProgress, J as MlRuntimeState, K as MlServiceState, N as MlServiceStatus, P as MlStatusParams, Q as MlStatusResult, R as ModelsInstallParams, U as ModelsInstallResult, V as ModelsLlmInstallParams, X as ModelsLlmInstallResult, Y as ModelsLlmStartParams, Z as ModelsLlmStartResult, _ as ModelsLlmStatusParams, $ as ModelsLlmStatusResult, a0 as ModelsLlmStopParams, a1 as ModelsLlmStopResult, a2 as ModelsProgressEvent, a3 as ModelsStatusParams, a4 as ModelsStatusResult, a5 as ModelsTranscribeParams, M as ModelsTranscribeResult, a6 as NAMED_SCHEMAS, a7 as NamedSchemaId, c as OPS, a8 as OpDescriptor, a as OpParams, b as OpResult, a9 as OpSpec, aa as PING_TEXT, ab as PONG_TEXT, ac as ProtocolErrorBody, ad as RelayMsg, ae as RequestMsg, af as ResponseMsg, ag as SERVICES, ah as SUBPROTOCOL, ai as ServiceId, aj as ServiceOpName, ak as ServiceOpSpec, al as ServiceSpec, S as StreamMeta, am as StreamMsg, an as TextModelId, ao as TextModelInfo, ap as TranscriptSegment, T as TranscriptionModelId, aq as TranscriptionModelInfo, W as Welcome, ar as closeRule, i as isDesktopProtocolError, as as isTerminalClose } from './models-
|
|
2
|
+
import { O as OpName } from './models-CzKyJhDP.js';
|
|
3
|
+
export { B as BEARER_PREFIX, g as CLOSE_RULES, h as CancelMsg, j as ClientToCoreMsg, e as ClientType, k as CloseAction, l as CloseCode, m as CloseCodeValue, C as CloseOutcome, n as CloseRule, o as CoreToClientMsg, p as CreditMsg, D as DesktopProtocolError, d as EVENTS, q as EndMsg, E as EndReason, r as ErrorCode, s as ErrorCodeName, t as ErrorData, u as ErrorMsg, v as ErrorReason, w as ErrorReasonName, x as EventMsg, y as EventName, F as FsPatchEditFailure, H as HelloMsg, L as Limits, z as LlmRunning, A as LlmServerState, G as MlInstallPhase, I as MlInstallProgress, f as MlProgress, J as MlRuntimeState, K as MlServiceState, N as MlServiceStatus, P as MlStatusParams, Q as MlStatusResult, R as ModelsInstallParams, U as ModelsInstallResult, V as ModelsLlmInstallParams, X as ModelsLlmInstallResult, Y as ModelsLlmStartParams, Z as ModelsLlmStartResult, _ as ModelsLlmStatusParams, $ as ModelsLlmStatusResult, a0 as ModelsLlmStopParams, a1 as ModelsLlmStopResult, a2 as ModelsProgressEvent, a3 as ModelsStatusParams, a4 as ModelsStatusResult, a5 as ModelsTranscribeParams, M as ModelsTranscribeResult, a6 as NAMED_SCHEMAS, a7 as NamedSchemaId, c as OPS, a8 as OpDescriptor, a as OpParams, b as OpResult, a9 as OpSpec, aa as PING_TEXT, ab as PONG_TEXT, ac as ProtocolErrorBody, ad as RelayMsg, ae as RequestMsg, af as ResponseMsg, ag as SERVICES, ah as SUBPROTOCOL, ai as ServiceId, aj as ServiceOpName, ak as ServiceOpSpec, al as ServiceSpec, S as StreamMeta, am as StreamMsg, an as TextModelId, ao as TextModelInfo, ap as TranscriptSegment, T as TranscriptionModelId, aq as TranscriptionModelInfo, W as Welcome, ar as closeRule, i as isDesktopProtocolError, as as isTerminalClose } from './models-CzKyJhDP.js';
|
|
4
4
|
export { BROADCAST_CID, DecodedFrame, FRAME_HEADER_BYTES, FRAME_STRUCT_FORMAT, FRAME_VERSION, FrameChannel, FrameChannelValue, FrameFlag, assertFrameHeader, connectionEndFrame, decodeFrame, encodeFrame, hasFlag, isConnectionEnd, readCid, stampCid } from './frame.js';
|
|
5
5
|
|
|
6
6
|
/** @ai-matrx/desktop-protocol — version and primitive schemas. Schema source: lint-enforced rules in scripts/check-schema-source.mjs. */
|
|
@@ -65,10 +65,37 @@ declare const PROTOCOL_MAJOR: 1;
|
|
|
65
65
|
* closed, else queued for its next close (result `pin`: when, pinned, already, queued).
|
|
66
66
|
* 1.33 — apps.chats.titles_check `stale_windows`: windows that keep writing replaced chat names
|
|
67
67
|
* back from memory (rewritten each pass; reloading the window stops it).
|
|
68
|
+
* 1.34 — error reason `tool_disabled_on_device` (AUTH_FORBIDDEN): the person turned the tool
|
|
69
|
+
* that sends this op off for agents on this computer (the per-device tool policy,
|
|
70
|
+
* src/tools/policy.ts). An older peer gets the code and message without the reason.
|
|
71
|
+
* 1.35 — system.open_settings pane `microphone` (Privacy & Security › Microphone; Windows'
|
|
72
|
+
* microphone privacy page): the one place the person allows the microphone. A 1.34 core
|
|
73
|
+
* refuses the pane as INVALID_PARAMS, so a client asks only a 1.35 core for it.
|
|
74
|
+
* 1.36 — apps.projects.to_window `chat_ids` (a batch: exactly these chats of the project, no
|
|
75
|
+
* other) and `take_off_from` (take them off that one side window only, never main). A
|
|
76
|
+
* 1.35 core refuses them as INVALID_PARAMS, so a client sends them only to a 1.36 core.
|
|
77
|
+
* 1.37 — Matrx Local's remaining sidecar tools, served by the core: net.* (interfaces, Wi-Fi,
|
|
78
|
+
* Bluetooth, local devices, mDNS, port scan, download), automation.script, mail.*,
|
|
79
|
+
* messages.* (chats, list, send), contacts.*, calendar.*, reminders.*, photos.*, location.get, windows.*
|
|
80
|
+
* (registry, services, event log, features), schedule.* (an op on an interval),
|
|
81
|
+
* notes.* (Documents/Matrx/Notes), documents.* (PDF text, OCR, image resize, Office files)
|
|
82
|
+
* and entities.* (names, private data); browser.tool_metrics, browser.reset_counters and
|
|
83
|
+
* browser.log (the bridge's diagnostics for every one of the owner's clients). A 1.36 core
|
|
84
|
+
* answers UNKNOWN_OPERATION.
|
|
85
|
+
* 1.38 — code from anywhere: coding.* (the coding engine's sessions, runs, transcripts, preferences
|
|
86
|
+
* and recent rows; start, send, stop, take over, stop elsewhere, Full Download, reconcile;
|
|
87
|
+
* live watches coding.watch / coding.session.watch with events coding.changed,
|
|
88
|
+
* coding.watch_state, coding.item, coding.gap) and session.identify (a client's label,
|
|
89
|
+
* e.g. "iPhone", for "Started from iPhone"). A 1.37 core answers UNKNOWN_OPERATION.
|
|
90
|
+
* 1.39 — Agents in the desktop app: account.agents.get (one agent's inputs and what it uses),
|
|
91
|
+
* account.agents.runs (one agent's runs, mandate.run_history) and account.agents.favorite
|
|
92
|
+
* (the catalogue's one star write); AccountAgent gains the catalogue's own fields (tags,
|
|
93
|
+
* model_id, access_level, organization_id, origin, is_archived, orchestra), optional. A
|
|
94
|
+
* 1.38 core answers UNKNOWN_OPERATION.
|
|
68
95
|
*/
|
|
69
|
-
declare const PROTOCOL_MINOR:
|
|
96
|
+
declare const PROTOCOL_MINOR: 39;
|
|
70
97
|
/** This package's version as the wire spells it ("major.minor"): hello, welcome, relay status. */
|
|
71
|
-
declare const PROTOCOL_VERSION: "1.
|
|
98
|
+
declare const PROTOCOL_VERSION: "1.39";
|
|
72
99
|
/** Internal building blocks — deliberately unnamed in $defs (inlined wherever used). */
|
|
73
100
|
declare const u32: z.ZodInt;
|
|
74
101
|
declare const nonNegInt: z.ZodInt;
|
|
@@ -1149,6 +1176,7 @@ declare const RelayCallResponse: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1149
1176
|
browser_account_mismatch: "browser_account_mismatch";
|
|
1150
1177
|
browser_connection_off: "browser_connection_off";
|
|
1151
1178
|
awaiting_confirmation: "awaiting_confirmation";
|
|
1179
|
+
tool_disabled_on_device: "tool_disabled_on_device";
|
|
1152
1180
|
}>>;
|
|
1153
1181
|
cap: z.ZodOptional<z.ZodString>;
|
|
1154
1182
|
op: z.ZodOptional<z.ZodString>;
|
|
@@ -1227,6 +1255,17 @@ declare const AccountAgent: z.ZodObject<{
|
|
|
1227
1255
|
shared_by: z.ZodNullable<z.ZodString>;
|
|
1228
1256
|
organization: z.ZodNullable<z.ZodString>;
|
|
1229
1257
|
updated_at_ms: z.ZodInt;
|
|
1258
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1259
|
+
model_id: z.ZodOptional<z.ZodString>;
|
|
1260
|
+
access_level: z.ZodOptional<z.ZodString>;
|
|
1261
|
+
organization_id: z.ZodOptional<z.ZodString>;
|
|
1262
|
+
origin: z.ZodOptional<z.ZodEnum<{
|
|
1263
|
+
mine: "mine";
|
|
1264
|
+
shared: "shared";
|
|
1265
|
+
system: "system";
|
|
1266
|
+
}>>;
|
|
1267
|
+
is_archived: z.ZodOptional<z.ZodBoolean>;
|
|
1268
|
+
orchestra: z.ZodOptional<z.ZodBoolean>;
|
|
1230
1269
|
}, z.core.$strict>;
|
|
1231
1270
|
type AccountAgent = z.output<typeof AccountAgent>;
|
|
1232
1271
|
declare const AccountAgentsListParams: z.ZodObject<{}, z.core.$strict>;
|
|
@@ -1249,6 +1288,17 @@ declare const AccountAgentsListResult: z.ZodObject<{
|
|
|
1249
1288
|
shared_by: z.ZodNullable<z.ZodString>;
|
|
1250
1289
|
organization: z.ZodNullable<z.ZodString>;
|
|
1251
1290
|
updated_at_ms: z.ZodInt;
|
|
1291
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1292
|
+
model_id: z.ZodOptional<z.ZodString>;
|
|
1293
|
+
access_level: z.ZodOptional<z.ZodString>;
|
|
1294
|
+
organization_id: z.ZodOptional<z.ZodString>;
|
|
1295
|
+
origin: z.ZodOptional<z.ZodEnum<{
|
|
1296
|
+
mine: "mine";
|
|
1297
|
+
shared: "shared";
|
|
1298
|
+
system: "system";
|
|
1299
|
+
}>>;
|
|
1300
|
+
is_archived: z.ZodOptional<z.ZodBoolean>;
|
|
1301
|
+
orchestra: z.ZodOptional<z.ZodBoolean>;
|
|
1252
1302
|
}, z.core.$strict>>;
|
|
1253
1303
|
}, z.core.$strict>;
|
|
1254
1304
|
type AccountAgentsListResult = z.output<typeof AccountAgentsListResult>;
|
|
@@ -1348,6 +1398,204 @@ declare const AccountVaultCopyResult: z.ZodObject<{
|
|
|
1348
1398
|
clears_at_ms: z.ZodInt;
|
|
1349
1399
|
}, z.core.$strict>;
|
|
1350
1400
|
type AccountVaultCopyResult = z.output<typeof AccountVaultCopyResult>;
|
|
1401
|
+
/** One agent, opened (Shortcuts' editor and its Details inspector): what it asks for and what it uses. */
|
|
1402
|
+
declare const AccountAgentVariable: z.ZodObject<{
|
|
1403
|
+
name: z.ZodString;
|
|
1404
|
+
default_value: z.ZodString;
|
|
1405
|
+
required: z.ZodBoolean;
|
|
1406
|
+
help: z.ZodString;
|
|
1407
|
+
}, z.core.$strict>;
|
|
1408
|
+
type AccountAgentVariable = z.output<typeof AccountAgentVariable>;
|
|
1409
|
+
declare const AccountAgentDetail: z.ZodObject<{
|
|
1410
|
+
agent: z.ZodObject<{
|
|
1411
|
+
id: z.ZodString;
|
|
1412
|
+
name: z.ZodString;
|
|
1413
|
+
description: z.ZodString;
|
|
1414
|
+
category: z.ZodString;
|
|
1415
|
+
agent_type: z.ZodString;
|
|
1416
|
+
is_favorite: z.ZodBoolean;
|
|
1417
|
+
is_owner: z.ZodBoolean;
|
|
1418
|
+
shared_by: z.ZodNullable<z.ZodString>;
|
|
1419
|
+
organization: z.ZodNullable<z.ZodString>;
|
|
1420
|
+
updated_at_ms: z.ZodInt;
|
|
1421
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1422
|
+
model_id: z.ZodOptional<z.ZodString>;
|
|
1423
|
+
access_level: z.ZodOptional<z.ZodString>;
|
|
1424
|
+
organization_id: z.ZodOptional<z.ZodString>;
|
|
1425
|
+
origin: z.ZodOptional<z.ZodEnum<{
|
|
1426
|
+
mine: "mine";
|
|
1427
|
+
shared: "shared";
|
|
1428
|
+
system: "system";
|
|
1429
|
+
}>>;
|
|
1430
|
+
is_archived: z.ZodOptional<z.ZodBoolean>;
|
|
1431
|
+
orchestra: z.ZodOptional<z.ZodBoolean>;
|
|
1432
|
+
}, z.core.$strict>;
|
|
1433
|
+
variables: z.ZodArray<z.ZodObject<{
|
|
1434
|
+
name: z.ZodString;
|
|
1435
|
+
default_value: z.ZodString;
|
|
1436
|
+
required: z.ZodBoolean;
|
|
1437
|
+
help: z.ZodString;
|
|
1438
|
+
}, z.core.$strict>>;
|
|
1439
|
+
tool_count: z.ZodInt;
|
|
1440
|
+
custom_tool_count: z.ZodInt;
|
|
1441
|
+
skill_count: z.ZodInt;
|
|
1442
|
+
connection_count: z.ZodInt;
|
|
1443
|
+
model_name: z.ZodNullable<z.ZodString>;
|
|
1444
|
+
}, z.core.$strict>;
|
|
1445
|
+
type AccountAgentDetail = z.output<typeof AccountAgentDetail>;
|
|
1446
|
+
declare const AccountAgentsGetParams: z.ZodObject<{
|
|
1447
|
+
agent_id: z.ZodString;
|
|
1448
|
+
}, z.core.$strict>;
|
|
1449
|
+
type AccountAgentsGetParams = z.output<typeof AccountAgentsGetParams>;
|
|
1450
|
+
declare const AccountAgentsGetResult: z.ZodObject<{
|
|
1451
|
+
state: z.ZodEnum<{
|
|
1452
|
+
ok: "ok";
|
|
1453
|
+
signed_out: "signed_out";
|
|
1454
|
+
unavailable: "unavailable";
|
|
1455
|
+
}>;
|
|
1456
|
+
problem: z.ZodNullable<z.ZodString>;
|
|
1457
|
+
detail: z.ZodNullable<z.ZodObject<{
|
|
1458
|
+
agent: z.ZodObject<{
|
|
1459
|
+
id: z.ZodString;
|
|
1460
|
+
name: z.ZodString;
|
|
1461
|
+
description: z.ZodString;
|
|
1462
|
+
category: z.ZodString;
|
|
1463
|
+
agent_type: z.ZodString;
|
|
1464
|
+
is_favorite: z.ZodBoolean;
|
|
1465
|
+
is_owner: z.ZodBoolean;
|
|
1466
|
+
shared_by: z.ZodNullable<z.ZodString>;
|
|
1467
|
+
organization: z.ZodNullable<z.ZodString>;
|
|
1468
|
+
updated_at_ms: z.ZodInt;
|
|
1469
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1470
|
+
model_id: z.ZodOptional<z.ZodString>;
|
|
1471
|
+
access_level: z.ZodOptional<z.ZodString>;
|
|
1472
|
+
organization_id: z.ZodOptional<z.ZodString>;
|
|
1473
|
+
origin: z.ZodOptional<z.ZodEnum<{
|
|
1474
|
+
mine: "mine";
|
|
1475
|
+
shared: "shared";
|
|
1476
|
+
system: "system";
|
|
1477
|
+
}>>;
|
|
1478
|
+
is_archived: z.ZodOptional<z.ZodBoolean>;
|
|
1479
|
+
orchestra: z.ZodOptional<z.ZodBoolean>;
|
|
1480
|
+
}, z.core.$strict>;
|
|
1481
|
+
variables: z.ZodArray<z.ZodObject<{
|
|
1482
|
+
name: z.ZodString;
|
|
1483
|
+
default_value: z.ZodString;
|
|
1484
|
+
required: z.ZodBoolean;
|
|
1485
|
+
help: z.ZodString;
|
|
1486
|
+
}, z.core.$strict>>;
|
|
1487
|
+
tool_count: z.ZodInt;
|
|
1488
|
+
custom_tool_count: z.ZodInt;
|
|
1489
|
+
skill_count: z.ZodInt;
|
|
1490
|
+
connection_count: z.ZodInt;
|
|
1491
|
+
model_name: z.ZodNullable<z.ZodString>;
|
|
1492
|
+
}, z.core.$strict>>;
|
|
1493
|
+
}, z.core.$strict>;
|
|
1494
|
+
type AccountAgentsGetResult = z.output<typeof AccountAgentsGetResult>;
|
|
1495
|
+
/** A run's status as mandate.run_history names it. */
|
|
1496
|
+
declare const AccountAgentRunStatus: z.ZodEnum<{
|
|
1497
|
+
running: "running";
|
|
1498
|
+
failed: "failed";
|
|
1499
|
+
stopped: "stopped";
|
|
1500
|
+
succeeded: "succeeded";
|
|
1501
|
+
warned: "warned";
|
|
1502
|
+
waiting: "waiting";
|
|
1503
|
+
}>;
|
|
1504
|
+
type AccountAgentRunStatus = z.output<typeof AccountAgentRunStatus>;
|
|
1505
|
+
/** One run of one agent (mandate.run_history, view "mine"): never its content beyond one line. */
|
|
1506
|
+
declare const AccountAgentRun: z.ZodObject<{
|
|
1507
|
+
run_id: z.ZodString;
|
|
1508
|
+
status: z.ZodEnum<{
|
|
1509
|
+
running: "running";
|
|
1510
|
+
failed: "failed";
|
|
1511
|
+
stopped: "stopped";
|
|
1512
|
+
succeeded: "succeeded";
|
|
1513
|
+
warned: "warned";
|
|
1514
|
+
waiting: "waiting";
|
|
1515
|
+
}>;
|
|
1516
|
+
started_at_ms: z.ZodInt;
|
|
1517
|
+
completed_at_ms: z.ZodNullable<z.ZodInt>;
|
|
1518
|
+
duration_ms: z.ZodNullable<z.ZodInt>;
|
|
1519
|
+
cost: z.ZodNullable<z.ZodNumber>;
|
|
1520
|
+
tokens: z.ZodNullable<z.ZodInt>;
|
|
1521
|
+
output_preview: z.ZodNullable<z.ZodString>;
|
|
1522
|
+
error: z.ZodNullable<z.ZodString>;
|
|
1523
|
+
mandate_key: z.ZodNullable<z.ZodString>;
|
|
1524
|
+
organization: z.ZodNullable<z.ZodString>;
|
|
1525
|
+
conversation_id: z.ZodNullable<z.ZodString>;
|
|
1526
|
+
has_transcript: z.ZodBoolean;
|
|
1527
|
+
}, z.core.$strict>;
|
|
1528
|
+
type AccountAgentRun = z.output<typeof AccountAgentRun>;
|
|
1529
|
+
declare const AccountAgentRunSort: z.ZodEnum<{
|
|
1530
|
+
status: "status";
|
|
1531
|
+
cost: "cost";
|
|
1532
|
+
started_at: "started_at";
|
|
1533
|
+
duration: "duration";
|
|
1534
|
+
}>;
|
|
1535
|
+
type AccountAgentRunSort = z.output<typeof AccountAgentRunSort>;
|
|
1536
|
+
declare const AccountAgentsRunsParams: z.ZodObject<{
|
|
1537
|
+
agent_id: z.ZodString;
|
|
1538
|
+
status: z.ZodOptional<z.ZodEnum<{
|
|
1539
|
+
running: "running";
|
|
1540
|
+
failed: "failed";
|
|
1541
|
+
stopped: "stopped";
|
|
1542
|
+
succeeded: "succeeded";
|
|
1543
|
+
warned: "warned";
|
|
1544
|
+
waiting: "waiting";
|
|
1545
|
+
}>>;
|
|
1546
|
+
sort: z.ZodOptional<z.ZodEnum<{
|
|
1547
|
+
status: "status";
|
|
1548
|
+
cost: "cost";
|
|
1549
|
+
started_at: "started_at";
|
|
1550
|
+
duration: "duration";
|
|
1551
|
+
}>>;
|
|
1552
|
+
descending: z.ZodOptional<z.ZodBoolean>;
|
|
1553
|
+
offset: z.ZodOptional<z.ZodInt>;
|
|
1554
|
+
limit: z.ZodOptional<z.ZodInt>;
|
|
1555
|
+
}, z.core.$strict>;
|
|
1556
|
+
type AccountAgentsRunsParams = z.output<typeof AccountAgentsRunsParams>;
|
|
1557
|
+
declare const AccountAgentsRunsResult: z.ZodObject<{
|
|
1558
|
+
state: z.ZodEnum<{
|
|
1559
|
+
ok: "ok";
|
|
1560
|
+
signed_out: "signed_out";
|
|
1561
|
+
unavailable: "unavailable";
|
|
1562
|
+
}>;
|
|
1563
|
+
problem: z.ZodNullable<z.ZodString>;
|
|
1564
|
+
total: z.ZodInt;
|
|
1565
|
+
rows: z.ZodArray<z.ZodObject<{
|
|
1566
|
+
run_id: z.ZodString;
|
|
1567
|
+
status: z.ZodEnum<{
|
|
1568
|
+
running: "running";
|
|
1569
|
+
failed: "failed";
|
|
1570
|
+
stopped: "stopped";
|
|
1571
|
+
succeeded: "succeeded";
|
|
1572
|
+
warned: "warned";
|
|
1573
|
+
waiting: "waiting";
|
|
1574
|
+
}>;
|
|
1575
|
+
started_at_ms: z.ZodInt;
|
|
1576
|
+
completed_at_ms: z.ZodNullable<z.ZodInt>;
|
|
1577
|
+
duration_ms: z.ZodNullable<z.ZodInt>;
|
|
1578
|
+
cost: z.ZodNullable<z.ZodNumber>;
|
|
1579
|
+
tokens: z.ZodNullable<z.ZodInt>;
|
|
1580
|
+
output_preview: z.ZodNullable<z.ZodString>;
|
|
1581
|
+
error: z.ZodNullable<z.ZodString>;
|
|
1582
|
+
mandate_key: z.ZodNullable<z.ZodString>;
|
|
1583
|
+
organization: z.ZodNullable<z.ZodString>;
|
|
1584
|
+
conversation_id: z.ZodNullable<z.ZodString>;
|
|
1585
|
+
has_transcript: z.ZodBoolean;
|
|
1586
|
+
}, z.core.$strict>>;
|
|
1587
|
+
}, z.core.$strict>;
|
|
1588
|
+
type AccountAgentsRunsResult = z.output<typeof AccountAgentsRunsResult>;
|
|
1589
|
+
/** Star or unstar an agent: the catalogue's one favorite write (the person's own entity state). */
|
|
1590
|
+
declare const AccountAgentsFavoriteParams: z.ZodObject<{
|
|
1591
|
+
agent_id: z.ZodString;
|
|
1592
|
+
favorite: z.ZodBoolean;
|
|
1593
|
+
}, z.core.$strict>;
|
|
1594
|
+
type AccountAgentsFavoriteParams = z.output<typeof AccountAgentsFavoriteParams>;
|
|
1595
|
+
declare const AccountAgentsFavoriteResult: z.ZodObject<{
|
|
1596
|
+
favorite: z.ZodBoolean;
|
|
1597
|
+
}, z.core.$strict>;
|
|
1598
|
+
type AccountAgentsFavoriteResult = z.output<typeof AccountAgentsFavoriteResult>;
|
|
1351
1599
|
|
|
1352
1600
|
/**
|
|
1353
1601
|
* @ai-matrx/desktop-protocol — cap apps (SPEC §6): the desktop apps a person uses (Claude, Codex,
|
|
@@ -2957,6 +3205,8 @@ declare const AppsProjectsToWindowParams: z.ZodObject<{
|
|
|
2957
3205
|
take_off: z.ZodDefault<z.ZodBoolean>;
|
|
2958
3206
|
group: z.ZodDefault<z.ZodBoolean>;
|
|
2959
3207
|
pin: z.ZodOptional<z.ZodBoolean>;
|
|
3208
|
+
chat_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3209
|
+
take_off_from: z.ZodOptional<z.ZodString>;
|
|
2960
3210
|
dry_run: z.ZodDefault<z.ZodBoolean>;
|
|
2961
3211
|
}, z.core.$strict>;
|
|
2962
3212
|
type AppsProjectsToWindowParams = z.output<typeof AppsProjectsToWindowParams>;
|
|
@@ -3192,6 +3442,7 @@ declare const ServiceErrorMsg: z.ZodObject<{
|
|
|
3192
3442
|
browser_account_mismatch: "browser_account_mismatch";
|
|
3193
3443
|
browser_connection_off: "browser_connection_off";
|
|
3194
3444
|
awaiting_confirmation: "awaiting_confirmation";
|
|
3445
|
+
tool_disabled_on_device: "tool_disabled_on_device";
|
|
3195
3446
|
}>>;
|
|
3196
3447
|
cap: z.ZodOptional<z.ZodString>;
|
|
3197
3448
|
op: z.ZodOptional<z.ZodString>;
|
|
@@ -3332,6 +3583,7 @@ declare const ServiceToCoreMsg: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
3332
3583
|
browser_account_mismatch: "browser_account_mismatch";
|
|
3333
3584
|
browser_connection_off: "browser_connection_off";
|
|
3334
3585
|
awaiting_confirmation: "awaiting_confirmation";
|
|
3586
|
+
tool_disabled_on_device: "tool_disabled_on_device";
|
|
3335
3587
|
}>>;
|
|
3336
3588
|
cap: z.ZodOptional<z.ZodString>;
|
|
3337
3589
|
op: z.ZodOptional<z.ZodString>;
|
|
@@ -3414,9 +3666,9 @@ type ToolPlatform = z.output<typeof ToolPlatform>;
|
|
|
3414
3666
|
*/
|
|
3415
3667
|
declare const ToolTransport: z.ZodEnum<{
|
|
3416
3668
|
relay: "relay";
|
|
3669
|
+
agent: "agent";
|
|
3417
3670
|
in_process: "in_process";
|
|
3418
3671
|
localhost: "localhost";
|
|
3419
|
-
agent: "agent";
|
|
3420
3672
|
}>;
|
|
3421
3673
|
type ToolTransport = z.output<typeof ToolTransport>;
|
|
3422
3674
|
declare const ToolLevelResult: z.ZodObject<{
|
|
@@ -3433,9 +3685,9 @@ declare const ToolLevelResult: z.ZodObject<{
|
|
|
3433
3685
|
}>;
|
|
3434
3686
|
transport: z.ZodEnum<{
|
|
3435
3687
|
relay: "relay";
|
|
3688
|
+
agent: "agent";
|
|
3436
3689
|
in_process: "in_process";
|
|
3437
3690
|
localhost: "localhost";
|
|
3438
|
-
agent: "agent";
|
|
3439
3691
|
}>;
|
|
3440
3692
|
outcome: z.ZodEnum<{
|
|
3441
3693
|
pass: "pass";
|
|
@@ -3466,9 +3718,9 @@ declare const ToolResultsFile: z.ZodObject<{
|
|
|
3466
3718
|
}>;
|
|
3467
3719
|
transport: z.ZodEnum<{
|
|
3468
3720
|
relay: "relay";
|
|
3721
|
+
agent: "agent";
|
|
3469
3722
|
in_process: "in_process";
|
|
3470
3723
|
localhost: "localhost";
|
|
3471
|
-
agent: "agent";
|
|
3472
3724
|
}>;
|
|
3473
3725
|
outcome: z.ZodEnum<{
|
|
3474
3726
|
pass: "pass";
|
|
@@ -3911,6 +4163,7 @@ type ToolsServiceProgress = z.output<typeof ToolsServiceProgress>;
|
|
|
3911
4163
|
|
|
3912
4164
|
/** (1.24) An OS settings page Matrx 2 can open: the person's own place to change what Matrx 2 only shows. */
|
|
3913
4165
|
declare const SystemSettingsPane: z.ZodEnum<{
|
|
4166
|
+
microphone: "microphone";
|
|
3914
4167
|
displays: "displays";
|
|
3915
4168
|
night_shift: "night_shift";
|
|
3916
4169
|
sound: "sound";
|
|
@@ -3926,6 +4179,7 @@ declare const SystemSettingsPane: z.ZodEnum<{
|
|
|
3926
4179
|
type SystemSettingsPane = z.output<typeof SystemSettingsPane>;
|
|
3927
4180
|
declare const SystemOpenSettingsParams: z.ZodObject<{
|
|
3928
4181
|
pane: z.ZodEnum<{
|
|
4182
|
+
microphone: "microphone";
|
|
3929
4183
|
displays: "displays";
|
|
3930
4184
|
night_shift: "night_shift";
|
|
3931
4185
|
sound: "sound";
|
|
@@ -3942,6 +4196,7 @@ declare const SystemOpenSettingsParams: z.ZodObject<{
|
|
|
3942
4196
|
type SystemOpenSettingsParams = z.output<typeof SystemOpenSettingsParams>;
|
|
3943
4197
|
declare const SystemOpenSettingsResult: z.ZodObject<{
|
|
3944
4198
|
pane: z.ZodEnum<{
|
|
4199
|
+
microphone: "microphone";
|
|
3945
4200
|
displays: "displays";
|
|
3946
4201
|
night_shift: "night_shift";
|
|
3947
4202
|
sound: "sound";
|
|
@@ -5492,303 +5747,3422 @@ declare const CodingHistoryProgressEvent: z.ZodObject<{
|
|
|
5492
5747
|
type CodingHistoryProgressEvent = z.output<typeof CodingHistoryProgressEvent>;
|
|
5493
5748
|
|
|
5494
5749
|
/**
|
|
5495
|
-
* @ai-matrx/desktop-protocol —
|
|
5496
|
-
*
|
|
5497
|
-
*
|
|
5750
|
+
* @ai-matrx/desktop-protocol — the `coding` capability's sessions (SPEC §6 `coding`, "code from
|
|
5751
|
+
* anywhere"): the Claude Code and Codex chats Matrx 2's engine (`@ai-matrx/coding-sessions`) runs
|
|
5752
|
+
* and discovers on this computer, read and driven from a phone, the web or an agent through the
|
|
5753
|
+
* relay. Schema source: lint-enforced rules in scripts/check-schema-source.mjs. Added in 1.38.
|
|
5498
5754
|
*
|
|
5499
|
-
*
|
|
5500
|
-
*
|
|
5501
|
-
*
|
|
5502
|
-
*
|
|
5503
|
-
*
|
|
5504
|
-
*
|
|
5505
|
-
*
|
|
5506
|
-
*
|
|
5755
|
+
* TWO SHAPES, ON PURPOSE:
|
|
5756
|
+
* - Params are wire-designed (snake_case), like every other op.
|
|
5757
|
+
* - The RECORDS the engine owns (a session, a run, a transcript item, a discovered chat, a
|
|
5758
|
+
* provider's status, a preference) travel in the engine's own shape (camelCase), so the Mac's
|
|
5759
|
+
* own screen (IPC) and a phone (relay) render exactly the same rows with the same code
|
|
5760
|
+
* (`@ai-matrx/coding-sessions/react`). The core fills every "optional or null" engine field
|
|
5761
|
+
* with null before sending (the strict Python twin cannot mirror optional+nullable), so each
|
|
5762
|
+
* record's z.output is assignable to the package's own type (proven in coding-sessions).
|
|
5763
|
+
*
|
|
5764
|
+
* Not on the wire, by design (they act on the computer's own screen or its own sign-in): open a
|
|
5765
|
+
* folder in an app, the screen's own preferences and drafts, retrying the apps' titles, and the
|
|
5766
|
+
* agent catalogue reads (a web client reads the catalogue directly as the same person).
|
|
5507
5767
|
*/
|
|
5508
5768
|
|
|
5509
|
-
/**
|
|
5510
|
-
declare const
|
|
5511
|
-
declare const
|
|
5512
|
-
|
|
5513
|
-
|
|
5514
|
-
|
|
5515
|
-
|
|
5516
|
-
|
|
5517
|
-
|
|
5518
|
-
|
|
5519
|
-
brave: "brave";
|
|
5520
|
-
arc: "arc";
|
|
5521
|
-
opera: "opera";
|
|
5522
|
-
vivaldi: "vivaldi";
|
|
5523
|
-
chromium: "chromium";
|
|
5524
|
-
firefox: "firefox";
|
|
5525
|
-
}>;
|
|
5526
|
-
extension_version: z.ZodString;
|
|
5527
|
-
state: z.ZodEnum<{
|
|
5528
|
-
connected: "connected";
|
|
5529
|
-
different_account: "different_account";
|
|
5530
|
-
extension_signed_out: "extension_signed_out";
|
|
5531
|
-
device_signed_out: "device_signed_out";
|
|
5532
|
-
unverified: "unverified";
|
|
5533
|
-
}>;
|
|
5534
|
-
routable: z.ZodBoolean;
|
|
5535
|
-
account_email: z.ZodNullable<z.ZodString>;
|
|
5536
|
-
connected_at_ms: z.ZodInt;
|
|
5537
|
-
last_call_at_ms: z.ZodNullable<z.ZodInt>;
|
|
5538
|
-
calls: z.ZodInt;
|
|
5539
|
-
errors: z.ZodInt;
|
|
5540
|
-
p50_ms: z.ZodNullable<z.ZodInt>;
|
|
5541
|
-
p95_ms: z.ZodNullable<z.ZodInt>;
|
|
5542
|
-
awaiting_confirmation: z.ZodBoolean;
|
|
5543
|
-
}, z.core.$strict>;
|
|
5769
|
+
/** Exactly-once sends (the core keeps these ids 10 minutes). */
|
|
5770
|
+
declare const CodingClientRequestId: z.ZodString;
|
|
5771
|
+
declare const CodingSessionAgentPart: z.ZodObject<{
|
|
5772
|
+
part: z.ZodEnum<{
|
|
5773
|
+
tools: "tools";
|
|
5774
|
+
instructions: "instructions";
|
|
5775
|
+
skills: "skills";
|
|
5776
|
+
}>;
|
|
5777
|
+
loaded: z.ZodInt;
|
|
5778
|
+
total: z.ZodInt;
|
|
5544
5779
|
}, z.core.$strict>;
|
|
5545
|
-
declare const
|
|
5546
|
-
|
|
5547
|
-
|
|
5780
|
+
declare const CodingQuotaWindow: z.ZodObject<{
|
|
5781
|
+
label: z.ZodString;
|
|
5782
|
+
usedPercent: z.ZodNullable<z.ZodNumber>;
|
|
5783
|
+
resetsAt: z.ZodNullable<z.ZodString>;
|
|
5784
|
+
valueLabel: z.ZodNullable<z.ZodString>;
|
|
5548
5785
|
}, z.core.$strict>;
|
|
5549
|
-
declare const
|
|
5550
|
-
|
|
5786
|
+
declare const CodingProviderProblem: z.ZodObject<{
|
|
5787
|
+
kind: z.ZodEnum<{
|
|
5788
|
+
"usage-limit": "usage-limit";
|
|
5789
|
+
"signed-out": "signed-out";
|
|
5790
|
+
}>;
|
|
5791
|
+
message: z.ZodString;
|
|
5792
|
+
until: z.ZodNullable<z.ZodString>;
|
|
5793
|
+
at: z.ZodString;
|
|
5551
5794
|
}, z.core.$strict>;
|
|
5552
|
-
|
|
5553
|
-
|
|
5554
|
-
|
|
5555
|
-
|
|
5556
|
-
|
|
5557
|
-
|
|
5795
|
+
declare const CodingProviderBinary: z.ZodObject<{
|
|
5796
|
+
path: z.ZodString;
|
|
5797
|
+
version: z.ZodNullable<z.ZodString>;
|
|
5798
|
+
source: z.ZodEnum<{
|
|
5799
|
+
path: "path";
|
|
5800
|
+
"desktop-app": "desktop-app";
|
|
5801
|
+
"npm-global": "npm-global";
|
|
5802
|
+
configured: "configured";
|
|
5558
5803
|
}>;
|
|
5804
|
+
sourceLabel: z.ZodString;
|
|
5805
|
+
newer: z.ZodNullable<z.ZodObject<{
|
|
5806
|
+
path: z.ZodString;
|
|
5807
|
+
version: z.ZodString;
|
|
5808
|
+
sourceLabel: z.ZodString;
|
|
5809
|
+
}, z.core.$strict>>;
|
|
5559
5810
|
}, z.core.$strict>;
|
|
5560
|
-
declare const
|
|
5561
|
-
|
|
5811
|
+
declare const CodingProvidersParams: z.ZodObject<{}, z.core.$strict>;
|
|
5812
|
+
declare const CodingProvidersResult: z.ZodObject<{
|
|
5813
|
+
providers: z.ZodArray<z.ZodObject<{
|
|
5814
|
+
provider: z.ZodEnum<{
|
|
5815
|
+
claude: "claude";
|
|
5816
|
+
codex: "codex";
|
|
5817
|
+
}>;
|
|
5818
|
+
label: z.ZodString;
|
|
5819
|
+
installed: z.ZodBoolean;
|
|
5820
|
+
version: z.ZodNullable<z.ZodString>;
|
|
5821
|
+
loggedIn: z.ZodBoolean;
|
|
5822
|
+
billing: z.ZodEnum<{
|
|
5823
|
+
unknown: "unknown";
|
|
5824
|
+
subscription: "subscription";
|
|
5825
|
+
api: "api";
|
|
5826
|
+
}>;
|
|
5827
|
+
plan: z.ZodNullable<z.ZodString>;
|
|
5828
|
+
account: z.ZodNullable<z.ZodString>;
|
|
5829
|
+
problem: z.ZodNullable<z.ZodString>;
|
|
5830
|
+
fix: z.ZodNullable<z.ZodString>;
|
|
5831
|
+
ready: z.ZodBoolean;
|
|
5832
|
+
lastProblem: z.ZodNullable<z.ZodObject<{
|
|
5833
|
+
kind: z.ZodEnum<{
|
|
5834
|
+
"usage-limit": "usage-limit";
|
|
5835
|
+
"signed-out": "signed-out";
|
|
5836
|
+
}>;
|
|
5837
|
+
message: z.ZodString;
|
|
5838
|
+
until: z.ZodNullable<z.ZodString>;
|
|
5839
|
+
at: z.ZodString;
|
|
5840
|
+
}, z.core.$strict>>;
|
|
5841
|
+
quota: z.ZodArray<z.ZodObject<{
|
|
5842
|
+
label: z.ZodString;
|
|
5843
|
+
usedPercent: z.ZodNullable<z.ZodNumber>;
|
|
5844
|
+
resetsAt: z.ZodNullable<z.ZodString>;
|
|
5845
|
+
valueLabel: z.ZodNullable<z.ZodString>;
|
|
5846
|
+
}, z.core.$strict>>;
|
|
5847
|
+
models: z.ZodArray<z.ZodObject<{
|
|
5848
|
+
id: z.ZodString;
|
|
5849
|
+
label: z.ZodString;
|
|
5850
|
+
}, z.core.$strict>>;
|
|
5851
|
+
efforts: z.ZodArray<z.ZodString>;
|
|
5852
|
+
defaultModel: z.ZodNullable<z.ZodObject<{
|
|
5853
|
+
id: z.ZodString;
|
|
5854
|
+
source: z.ZodEnum<{
|
|
5855
|
+
settings: "settings";
|
|
5856
|
+
driver: "driver";
|
|
5857
|
+
}>;
|
|
5858
|
+
}, z.core.$strict>>;
|
|
5859
|
+
defaultEffort: z.ZodNullable<z.ZodString>;
|
|
5860
|
+
binary: z.ZodNullable<z.ZodObject<{
|
|
5861
|
+
path: z.ZodString;
|
|
5862
|
+
version: z.ZodNullable<z.ZodString>;
|
|
5863
|
+
source: z.ZodEnum<{
|
|
5864
|
+
path: "path";
|
|
5865
|
+
"desktop-app": "desktop-app";
|
|
5866
|
+
"npm-global": "npm-global";
|
|
5867
|
+
configured: "configured";
|
|
5868
|
+
}>;
|
|
5869
|
+
sourceLabel: z.ZodString;
|
|
5870
|
+
newer: z.ZodNullable<z.ZodObject<{
|
|
5871
|
+
path: z.ZodString;
|
|
5872
|
+
version: z.ZodString;
|
|
5873
|
+
sourceLabel: z.ZodString;
|
|
5874
|
+
}, z.core.$strict>>;
|
|
5875
|
+
}, z.core.$strict>>;
|
|
5876
|
+
}, z.core.$strict>>;
|
|
5562
5877
|
}, z.core.$strict>;
|
|
5563
|
-
declare const
|
|
5564
|
-
declare const
|
|
5565
|
-
|
|
5878
|
+
declare const CodingSessionsListParams: z.ZodObject<{}, z.core.$strict>;
|
|
5879
|
+
declare const CodingDiscoverParams: z.ZodObject<{
|
|
5880
|
+
limit: z.ZodOptional<z.ZodInt>;
|
|
5566
5881
|
}, z.core.$strict>;
|
|
5567
|
-
declare const
|
|
5568
|
-
|
|
5882
|
+
declare const CodingDiscoverResult: z.ZodObject<{
|
|
5883
|
+
chats: z.ZodArray<z.ZodObject<{
|
|
5884
|
+
provider: z.ZodEnum<{
|
|
5885
|
+
claude: "claude";
|
|
5886
|
+
codex: "codex";
|
|
5887
|
+
}>;
|
|
5888
|
+
providerSessionId: z.ZodString;
|
|
5889
|
+
cwd: z.ZodNullable<z.ZodString>;
|
|
5890
|
+
title: z.ZodString;
|
|
5891
|
+
titleSource: z.ZodOptional<z.ZodEnum<{
|
|
5892
|
+
unknown: "unknown";
|
|
5893
|
+
app: "app";
|
|
5894
|
+
"app-remembered": "app-remembered";
|
|
5895
|
+
"custom-title": "custom-title";
|
|
5896
|
+
"ai-title": "ai-title";
|
|
5897
|
+
"agent-name": "agent-name";
|
|
5898
|
+
summary: "summary";
|
|
5899
|
+
"first-prompt": "first-prompt";
|
|
5900
|
+
"last-prompt": "last-prompt";
|
|
5901
|
+
}>>;
|
|
5902
|
+
titlePending: z.ZodOptional<z.ZodBoolean>;
|
|
5903
|
+
archived: z.ZodOptional<z.ZodBoolean>;
|
|
5904
|
+
scheduled: z.ZodOptional<z.ZodBoolean>;
|
|
5905
|
+
unlisted: z.ZodOptional<z.ZodBoolean>;
|
|
5906
|
+
unavailable: z.ZodNullable<z.ZodString>;
|
|
5907
|
+
updatedAt: z.ZodString;
|
|
5908
|
+
source: z.ZodNullable<z.ZodString>;
|
|
5909
|
+
activeElsewhere: z.ZodNullable<z.ZodObject<{
|
|
5910
|
+
reason: z.ZodEnum<{
|
|
5911
|
+
open: "open";
|
|
5912
|
+
process: "process";
|
|
5913
|
+
"recent-write": "recent-write";
|
|
5914
|
+
"open-tool-call": "open-tool-call";
|
|
5915
|
+
}>;
|
|
5916
|
+
message: z.ZodString;
|
|
5917
|
+
pid: z.ZodNullable<z.ZodInt>;
|
|
5918
|
+
}, z.core.$strict>>;
|
|
5919
|
+
}, z.core.$strict>>;
|
|
5569
5920
|
}, z.core.$strict>;
|
|
5570
|
-
declare const
|
|
5571
|
-
|
|
5921
|
+
declare const CodingRunsListParams: z.ZodObject<{
|
|
5922
|
+
session_id: z.ZodString;
|
|
5572
5923
|
}, z.core.$strict>;
|
|
5573
|
-
declare const
|
|
5574
|
-
|
|
5924
|
+
declare const CodingRunsListResult: z.ZodObject<{
|
|
5925
|
+
runs: z.ZodArray<z.ZodObject<{
|
|
5926
|
+
runId: z.ZodString;
|
|
5927
|
+
sessionId: z.ZodString;
|
|
5928
|
+
provider: z.ZodEnum<{
|
|
5929
|
+
claude: "claude";
|
|
5930
|
+
codex: "codex";
|
|
5931
|
+
}>;
|
|
5932
|
+
cwd: z.ZodString;
|
|
5933
|
+
prompt: z.ZodString;
|
|
5934
|
+
model: z.ZodNullable<z.ZodString>;
|
|
5935
|
+
status: z.ZodEnum<{
|
|
5936
|
+
completed: "completed";
|
|
5937
|
+
running: "running";
|
|
5938
|
+
failed: "failed";
|
|
5939
|
+
stopped: "stopped";
|
|
5940
|
+
starting: "starting";
|
|
5941
|
+
}>;
|
|
5942
|
+
startedAt: z.ZodString;
|
|
5943
|
+
endedAt: z.ZodNullable<z.ZodString>;
|
|
5944
|
+
error: z.ZodNullable<z.ZodString>;
|
|
5945
|
+
usage: z.ZodNullable<z.ZodObject<{
|
|
5946
|
+
inputTokens: z.ZodInt;
|
|
5947
|
+
outputTokens: z.ZodInt;
|
|
5948
|
+
cachedInputTokens: z.ZodInt;
|
|
5949
|
+
}, z.core.$strict>>;
|
|
5950
|
+
costUsd: z.ZodNullable<z.ZodNumber>;
|
|
5951
|
+
billing: z.ZodNullable<z.ZodEnum<{
|
|
5952
|
+
unknown: "unknown";
|
|
5953
|
+
subscription: "subscription";
|
|
5954
|
+
api: "api";
|
|
5955
|
+
}>>;
|
|
5956
|
+
startedBy: z.ZodNullable<z.ZodObject<{
|
|
5957
|
+
kind: z.ZodEnum<{
|
|
5958
|
+
web: "web";
|
|
5959
|
+
agent: "agent";
|
|
5960
|
+
other: "other";
|
|
5961
|
+
this_computer: "this_computer";
|
|
5962
|
+
phone: "phone";
|
|
5963
|
+
}>;
|
|
5964
|
+
label: z.ZodString;
|
|
5965
|
+
}, z.core.$strict>>;
|
|
5966
|
+
}, z.core.$strict>>;
|
|
5575
5967
|
}, z.core.$strict>;
|
|
5576
|
-
/**
|
|
5577
|
-
declare const
|
|
5578
|
-
|
|
5579
|
-
|
|
5968
|
+
/** A first page defaults to the device's config (256 KB); "Show earlier" asks for more. */
|
|
5969
|
+
declare const CodingHistoryParams: z.ZodObject<{
|
|
5970
|
+
session_id: z.ZodString;
|
|
5971
|
+
max_bytes: z.ZodOptional<z.ZodInt>;
|
|
5580
5972
|
}, z.core.$strict>;
|
|
5581
|
-
declare const
|
|
5582
|
-
|
|
5583
|
-
|
|
5584
|
-
|
|
5585
|
-
|
|
5973
|
+
declare const CodingHistoryResult: z.ZodObject<{
|
|
5974
|
+
items: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
5975
|
+
kind: z.ZodLiteral<"user">;
|
|
5976
|
+
id: z.ZodString;
|
|
5977
|
+
text: z.ZodString;
|
|
5978
|
+
at: z.ZodNullable<z.ZodString>;
|
|
5979
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
5980
|
+
kind: z.ZodLiteral<"text">;
|
|
5981
|
+
id: z.ZodString;
|
|
5982
|
+
text: z.ZodString;
|
|
5983
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
5984
|
+
kind: z.ZodLiteral<"text-delta">;
|
|
5985
|
+
id: z.ZodString;
|
|
5986
|
+
text: z.ZodString;
|
|
5987
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
5988
|
+
kind: z.ZodLiteral<"reasoning">;
|
|
5989
|
+
id: z.ZodString;
|
|
5990
|
+
text: z.ZodString;
|
|
5991
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
5992
|
+
kind: z.ZodLiteral<"tool-call">;
|
|
5993
|
+
id: z.ZodString;
|
|
5994
|
+
name: z.ZodString;
|
|
5995
|
+
input: z.ZodUnknown;
|
|
5996
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
5997
|
+
kind: z.ZodLiteral<"tool-result">;
|
|
5998
|
+
id: z.ZodString;
|
|
5999
|
+
output: z.ZodString;
|
|
6000
|
+
isError: z.ZodBoolean;
|
|
6001
|
+
fullBytes: z.ZodOptional<z.ZodInt>;
|
|
6002
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
6003
|
+
kind: z.ZodLiteral<"usage">;
|
|
6004
|
+
usage: z.ZodObject<{
|
|
6005
|
+
inputTokens: z.ZodInt;
|
|
6006
|
+
outputTokens: z.ZodInt;
|
|
6007
|
+
cachedInputTokens: z.ZodInt;
|
|
6008
|
+
}, z.core.$strict>;
|
|
6009
|
+
costUsd: z.ZodNullable<z.ZodNumber>;
|
|
6010
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
6011
|
+
kind: z.ZodLiteral<"notice">;
|
|
6012
|
+
id: z.ZodString;
|
|
6013
|
+
level: z.ZodEnum<{
|
|
6014
|
+
warning: "warning";
|
|
6015
|
+
info: "info";
|
|
6016
|
+
}>;
|
|
6017
|
+
text: z.ZodString;
|
|
6018
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
6019
|
+
kind: z.ZodLiteral<"error">;
|
|
6020
|
+
id: z.ZodString;
|
|
6021
|
+
text: z.ZodString;
|
|
6022
|
+
}, z.core.$strict>], "kind">>;
|
|
6023
|
+
truncated: z.ZodBoolean;
|
|
6024
|
+
unavailable: z.ZodNullable<z.ZodString>;
|
|
6025
|
+
seq: z.ZodInt;
|
|
5586
6026
|
}, z.core.$strict>;
|
|
5587
|
-
|
|
5588
|
-
|
|
5589
|
-
|
|
5590
|
-
|
|
5591
|
-
phase: z.ZodEnum<{
|
|
5592
|
-
awaiting_confirmation: "awaiting_confirmation";
|
|
5593
|
-
running: "running";
|
|
6027
|
+
declare const CodingTranscriptReadParams: z.ZodObject<{
|
|
6028
|
+
provider: z.ZodEnum<{
|
|
6029
|
+
claude: "claude";
|
|
6030
|
+
codex: "codex";
|
|
5594
6031
|
}>;
|
|
6032
|
+
provider_session_id: z.ZodString;
|
|
6033
|
+
max_bytes: z.ZodOptional<z.ZodInt>;
|
|
5595
6034
|
}, z.core.$strict>;
|
|
5596
|
-
|
|
5597
|
-
|
|
5598
|
-
|
|
6035
|
+
declare const CodingTranscriptReadResult: z.ZodObject<{
|
|
6036
|
+
items: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
6037
|
+
kind: z.ZodLiteral<"user">;
|
|
6038
|
+
id: z.ZodString;
|
|
6039
|
+
text: z.ZodString;
|
|
6040
|
+
at: z.ZodNullable<z.ZodString>;
|
|
6041
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
6042
|
+
kind: z.ZodLiteral<"text">;
|
|
6043
|
+
id: z.ZodString;
|
|
6044
|
+
text: z.ZodString;
|
|
6045
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
6046
|
+
kind: z.ZodLiteral<"text-delta">;
|
|
6047
|
+
id: z.ZodString;
|
|
6048
|
+
text: z.ZodString;
|
|
6049
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
6050
|
+
kind: z.ZodLiteral<"reasoning">;
|
|
6051
|
+
id: z.ZodString;
|
|
6052
|
+
text: z.ZodString;
|
|
6053
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
6054
|
+
kind: z.ZodLiteral<"tool-call">;
|
|
6055
|
+
id: z.ZodString;
|
|
6056
|
+
name: z.ZodString;
|
|
6057
|
+
input: z.ZodUnknown;
|
|
6058
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
6059
|
+
kind: z.ZodLiteral<"tool-result">;
|
|
6060
|
+
id: z.ZodString;
|
|
6061
|
+
output: z.ZodString;
|
|
6062
|
+
isError: z.ZodBoolean;
|
|
6063
|
+
fullBytes: z.ZodOptional<z.ZodInt>;
|
|
6064
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
6065
|
+
kind: z.ZodLiteral<"usage">;
|
|
6066
|
+
usage: z.ZodObject<{
|
|
6067
|
+
inputTokens: z.ZodInt;
|
|
6068
|
+
outputTokens: z.ZodInt;
|
|
6069
|
+
cachedInputTokens: z.ZodInt;
|
|
6070
|
+
}, z.core.$strict>;
|
|
6071
|
+
costUsd: z.ZodNullable<z.ZodNumber>;
|
|
6072
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
6073
|
+
kind: z.ZodLiteral<"notice">;
|
|
6074
|
+
id: z.ZodString;
|
|
6075
|
+
level: z.ZodEnum<{
|
|
6076
|
+
warning: "warning";
|
|
6077
|
+
info: "info";
|
|
6078
|
+
}>;
|
|
6079
|
+
text: z.ZodString;
|
|
6080
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
6081
|
+
kind: z.ZodLiteral<"error">;
|
|
6082
|
+
id: z.ZodString;
|
|
6083
|
+
text: z.ZodString;
|
|
6084
|
+
}, z.core.$strict>], "kind">>;
|
|
6085
|
+
truncated: z.ZodBoolean;
|
|
6086
|
+
unavailable: z.ZodNullable<z.ZodString>;
|
|
6087
|
+
seq: z.ZodInt;
|
|
6088
|
+
}, z.core.$strict>;
|
|
6089
|
+
/** The whole of one tool output the transcript carried only the start of. */
|
|
6090
|
+
declare const CodingItemFullParams: z.ZodObject<{
|
|
6091
|
+
provider: z.ZodEnum<{
|
|
6092
|
+
claude: "claude";
|
|
6093
|
+
codex: "codex";
|
|
6094
|
+
}>;
|
|
6095
|
+
provider_session_id: z.ZodString;
|
|
6096
|
+
item_id: z.ZodString;
|
|
6097
|
+
}, z.core.$strict>;
|
|
6098
|
+
declare const CodingItemFullResult: z.ZodObject<{
|
|
6099
|
+
output: z.ZodString;
|
|
6100
|
+
bytes: z.ZodInt;
|
|
6101
|
+
}, z.core.$strict>;
|
|
6102
|
+
declare const CodingActivityParams: z.ZodObject<{
|
|
6103
|
+
provider: z.ZodEnum<{
|
|
6104
|
+
claude: "claude";
|
|
6105
|
+
codex: "codex";
|
|
6106
|
+
}>;
|
|
6107
|
+
provider_session_id: z.ZodString;
|
|
6108
|
+
}, z.core.$strict>;
|
|
6109
|
+
declare const CodingActivityResult: z.ZodObject<{
|
|
6110
|
+
active: z.ZodNullable<z.ZodObject<{
|
|
6111
|
+
reason: z.ZodEnum<{
|
|
6112
|
+
open: "open";
|
|
6113
|
+
process: "process";
|
|
6114
|
+
"recent-write": "recent-write";
|
|
6115
|
+
"open-tool-call": "open-tool-call";
|
|
6116
|
+
}>;
|
|
6117
|
+
message: z.ZodString;
|
|
6118
|
+
pid: z.ZodNullable<z.ZodInt>;
|
|
6119
|
+
}, z.core.$strict>>;
|
|
6120
|
+
}, z.core.$strict>;
|
|
6121
|
+
declare const CodingFoldersRecentParams: z.ZodObject<{}, z.core.$strict>;
|
|
6122
|
+
declare const CodingFoldersRecentResult: z.ZodObject<{
|
|
6123
|
+
folders: z.ZodArray<z.ZodObject<{
|
|
6124
|
+
path: z.ZodString;
|
|
6125
|
+
lastUsedAt: z.ZodString;
|
|
6126
|
+
exists: z.ZodBoolean;
|
|
6127
|
+
}, z.core.$strict>>;
|
|
6128
|
+
}, z.core.$strict>;
|
|
6129
|
+
declare const CodingFoldersCheckParams: z.ZodObject<{
|
|
6130
|
+
path: z.ZodString;
|
|
6131
|
+
}, z.core.$strict>;
|
|
6132
|
+
declare const CodingFoldersCheckResult: z.ZodObject<{
|
|
6133
|
+
path: z.ZodString;
|
|
6134
|
+
exists: z.ZodBoolean;
|
|
6135
|
+
isDirectory: z.ZodBoolean;
|
|
6136
|
+
}, z.core.$strict>;
|
|
6137
|
+
declare const CodingFoldersCreateParams: z.ZodObject<{
|
|
6138
|
+
path: z.ZodString;
|
|
6139
|
+
}, z.core.$strict>;
|
|
6140
|
+
declare const CodingFoldersCreateResult: z.ZodObject<{
|
|
6141
|
+
path: z.ZodString;
|
|
6142
|
+
exists: z.ZodBoolean;
|
|
6143
|
+
isDirectory: z.ZodBoolean;
|
|
6144
|
+
}, z.core.$strict>;
|
|
6145
|
+
declare const CodingStartResult: z.ZodObject<{
|
|
6146
|
+
session: z.ZodObject<{
|
|
6147
|
+
id: z.ZodString;
|
|
6148
|
+
provider: z.ZodEnum<{
|
|
6149
|
+
claude: "claude";
|
|
6150
|
+
codex: "codex";
|
|
6151
|
+
}>;
|
|
6152
|
+
providerSessionId: z.ZodNullable<z.ZodString>;
|
|
6153
|
+
cwd: z.ZodString;
|
|
6154
|
+
title: z.ZodString;
|
|
6155
|
+
model: z.ZodNullable<z.ZodString>;
|
|
6156
|
+
effort: z.ZodNullable<z.ZodString>;
|
|
6157
|
+
origin: z.ZodEnum<{
|
|
6158
|
+
started: "started";
|
|
6159
|
+
takeover: "takeover";
|
|
6160
|
+
}>;
|
|
6161
|
+
createdAt: z.ZodString;
|
|
6162
|
+
updatedAt: z.ZodString;
|
|
6163
|
+
lastRunId: z.ZodNullable<z.ZodString>;
|
|
6164
|
+
lastRunStatus: z.ZodNullable<z.ZodEnum<{
|
|
6165
|
+
completed: "completed";
|
|
6166
|
+
running: "running";
|
|
6167
|
+
failed: "failed";
|
|
6168
|
+
stopped: "stopped";
|
|
6169
|
+
starting: "starting";
|
|
6170
|
+
}>>;
|
|
6171
|
+
queued: z.ZodArray<z.ZodString>;
|
|
6172
|
+
agent: z.ZodNullable<z.ZodObject<{
|
|
6173
|
+
agentId: z.ZodString;
|
|
6174
|
+
versionId: z.ZodNullable<z.ZodString>;
|
|
6175
|
+
versionNumber: z.ZodNullable<z.ZodInt>;
|
|
6176
|
+
name: z.ZodString;
|
|
6177
|
+
definitionHash: z.ZodString;
|
|
6178
|
+
loaded: z.ZodArray<z.ZodObject<{
|
|
6179
|
+
part: z.ZodEnum<{
|
|
6180
|
+
tools: "tools";
|
|
6181
|
+
instructions: "instructions";
|
|
6182
|
+
skills: "skills";
|
|
6183
|
+
}>;
|
|
6184
|
+
loaded: z.ZodInt;
|
|
6185
|
+
total: z.ZodInt;
|
|
6186
|
+
}, z.core.$strict>>;
|
|
6187
|
+
unavailable: z.ZodArray<z.ZodObject<{
|
|
6188
|
+
kind: z.ZodString;
|
|
6189
|
+
name: z.ZodString;
|
|
6190
|
+
reason: z.ZodString;
|
|
6191
|
+
}, z.core.$strict>>;
|
|
6192
|
+
skills: z.ZodArray<z.ZodString>;
|
|
6193
|
+
tools: z.ZodArray<z.ZodString>;
|
|
6194
|
+
variables: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
6195
|
+
blockDue: z.ZodBoolean;
|
|
6196
|
+
deliveredAt: z.ZodNullable<z.ZodString>;
|
|
6197
|
+
replaces: z.ZodNullable<z.ZodString>;
|
|
6198
|
+
}, z.core.$strict>>;
|
|
6199
|
+
agentRemovedDue: z.ZodBoolean;
|
|
6200
|
+
}, z.core.$strict>;
|
|
6201
|
+
run: z.ZodNullable<z.ZodObject<{
|
|
6202
|
+
runId: z.ZodString;
|
|
6203
|
+
sessionId: z.ZodString;
|
|
6204
|
+
provider: z.ZodEnum<{
|
|
6205
|
+
claude: "claude";
|
|
6206
|
+
codex: "codex";
|
|
6207
|
+
}>;
|
|
6208
|
+
cwd: z.ZodString;
|
|
6209
|
+
prompt: z.ZodString;
|
|
6210
|
+
model: z.ZodNullable<z.ZodString>;
|
|
6211
|
+
status: z.ZodEnum<{
|
|
6212
|
+
completed: "completed";
|
|
6213
|
+
running: "running";
|
|
6214
|
+
failed: "failed";
|
|
6215
|
+
stopped: "stopped";
|
|
6216
|
+
starting: "starting";
|
|
6217
|
+
}>;
|
|
6218
|
+
startedAt: z.ZodString;
|
|
6219
|
+
endedAt: z.ZodNullable<z.ZodString>;
|
|
6220
|
+
error: z.ZodNullable<z.ZodString>;
|
|
6221
|
+
usage: z.ZodNullable<z.ZodObject<{
|
|
6222
|
+
inputTokens: z.ZodInt;
|
|
6223
|
+
outputTokens: z.ZodInt;
|
|
6224
|
+
cachedInputTokens: z.ZodInt;
|
|
6225
|
+
}, z.core.$strict>>;
|
|
6226
|
+
costUsd: z.ZodNullable<z.ZodNumber>;
|
|
6227
|
+
billing: z.ZodNullable<z.ZodEnum<{
|
|
6228
|
+
unknown: "unknown";
|
|
6229
|
+
subscription: "subscription";
|
|
6230
|
+
api: "api";
|
|
6231
|
+
}>>;
|
|
6232
|
+
startedBy: z.ZodNullable<z.ZodObject<{
|
|
6233
|
+
kind: z.ZodEnum<{
|
|
6234
|
+
web: "web";
|
|
6235
|
+
agent: "agent";
|
|
6236
|
+
other: "other";
|
|
6237
|
+
this_computer: "this_computer";
|
|
6238
|
+
phone: "phone";
|
|
6239
|
+
}>;
|
|
6240
|
+
label: z.ZodString;
|
|
6241
|
+
}, z.core.$strict>>;
|
|
6242
|
+
}, z.core.$strict>>;
|
|
6243
|
+
queued: z.ZodBoolean;
|
|
6244
|
+
}, z.core.$strict>;
|
|
6245
|
+
declare const CodingTakeoverResult: z.ZodObject<{
|
|
6246
|
+
session: z.ZodObject<{
|
|
6247
|
+
id: z.ZodString;
|
|
6248
|
+
provider: z.ZodEnum<{
|
|
6249
|
+
claude: "claude";
|
|
6250
|
+
codex: "codex";
|
|
6251
|
+
}>;
|
|
6252
|
+
providerSessionId: z.ZodNullable<z.ZodString>;
|
|
6253
|
+
cwd: z.ZodString;
|
|
6254
|
+
title: z.ZodString;
|
|
6255
|
+
model: z.ZodNullable<z.ZodString>;
|
|
6256
|
+
effort: z.ZodNullable<z.ZodString>;
|
|
6257
|
+
origin: z.ZodEnum<{
|
|
6258
|
+
started: "started";
|
|
6259
|
+
takeover: "takeover";
|
|
6260
|
+
}>;
|
|
6261
|
+
createdAt: z.ZodString;
|
|
6262
|
+
updatedAt: z.ZodString;
|
|
6263
|
+
lastRunId: z.ZodNullable<z.ZodString>;
|
|
6264
|
+
lastRunStatus: z.ZodNullable<z.ZodEnum<{
|
|
6265
|
+
completed: "completed";
|
|
6266
|
+
running: "running";
|
|
6267
|
+
failed: "failed";
|
|
6268
|
+
stopped: "stopped";
|
|
6269
|
+
starting: "starting";
|
|
6270
|
+
}>>;
|
|
6271
|
+
queued: z.ZodArray<z.ZodString>;
|
|
6272
|
+
agent: z.ZodNullable<z.ZodObject<{
|
|
6273
|
+
agentId: z.ZodString;
|
|
6274
|
+
versionId: z.ZodNullable<z.ZodString>;
|
|
6275
|
+
versionNumber: z.ZodNullable<z.ZodInt>;
|
|
6276
|
+
name: z.ZodString;
|
|
6277
|
+
definitionHash: z.ZodString;
|
|
6278
|
+
loaded: z.ZodArray<z.ZodObject<{
|
|
6279
|
+
part: z.ZodEnum<{
|
|
6280
|
+
tools: "tools";
|
|
6281
|
+
instructions: "instructions";
|
|
6282
|
+
skills: "skills";
|
|
6283
|
+
}>;
|
|
6284
|
+
loaded: z.ZodInt;
|
|
6285
|
+
total: z.ZodInt;
|
|
6286
|
+
}, z.core.$strict>>;
|
|
6287
|
+
unavailable: z.ZodArray<z.ZodObject<{
|
|
6288
|
+
kind: z.ZodString;
|
|
6289
|
+
name: z.ZodString;
|
|
6290
|
+
reason: z.ZodString;
|
|
6291
|
+
}, z.core.$strict>>;
|
|
6292
|
+
skills: z.ZodArray<z.ZodString>;
|
|
6293
|
+
tools: z.ZodArray<z.ZodString>;
|
|
6294
|
+
variables: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
6295
|
+
blockDue: z.ZodBoolean;
|
|
6296
|
+
deliveredAt: z.ZodNullable<z.ZodString>;
|
|
6297
|
+
replaces: z.ZodNullable<z.ZodString>;
|
|
6298
|
+
}, z.core.$strict>>;
|
|
6299
|
+
agentRemovedDue: z.ZodBoolean;
|
|
6300
|
+
}, z.core.$strict>;
|
|
6301
|
+
}, z.core.$strict>;
|
|
6302
|
+
declare const CodingSendParams: z.ZodObject<{
|
|
6303
|
+
session_id: z.ZodString;
|
|
6304
|
+
prompt: z.ZodString;
|
|
6305
|
+
client_request_id: z.ZodString;
|
|
6306
|
+
}, z.core.$strict>;
|
|
6307
|
+
declare const CodingStopParams: z.ZodObject<{
|
|
6308
|
+
run_id: z.ZodString;
|
|
6309
|
+
}, z.core.$strict>;
|
|
6310
|
+
declare const CodingStopResult: z.ZodObject<{
|
|
6311
|
+
run: z.ZodNullable<z.ZodObject<{
|
|
6312
|
+
runId: z.ZodString;
|
|
6313
|
+
sessionId: z.ZodString;
|
|
6314
|
+
provider: z.ZodEnum<{
|
|
6315
|
+
claude: "claude";
|
|
6316
|
+
codex: "codex";
|
|
6317
|
+
}>;
|
|
6318
|
+
cwd: z.ZodString;
|
|
6319
|
+
prompt: z.ZodString;
|
|
6320
|
+
model: z.ZodNullable<z.ZodString>;
|
|
6321
|
+
status: z.ZodEnum<{
|
|
6322
|
+
completed: "completed";
|
|
6323
|
+
running: "running";
|
|
6324
|
+
failed: "failed";
|
|
6325
|
+
stopped: "stopped";
|
|
6326
|
+
starting: "starting";
|
|
6327
|
+
}>;
|
|
6328
|
+
startedAt: z.ZodString;
|
|
6329
|
+
endedAt: z.ZodNullable<z.ZodString>;
|
|
6330
|
+
error: z.ZodNullable<z.ZodString>;
|
|
6331
|
+
usage: z.ZodNullable<z.ZodObject<{
|
|
6332
|
+
inputTokens: z.ZodInt;
|
|
6333
|
+
outputTokens: z.ZodInt;
|
|
6334
|
+
cachedInputTokens: z.ZodInt;
|
|
6335
|
+
}, z.core.$strict>>;
|
|
6336
|
+
costUsd: z.ZodNullable<z.ZodNumber>;
|
|
6337
|
+
billing: z.ZodNullable<z.ZodEnum<{
|
|
6338
|
+
unknown: "unknown";
|
|
6339
|
+
subscription: "subscription";
|
|
6340
|
+
api: "api";
|
|
6341
|
+
}>>;
|
|
6342
|
+
startedBy: z.ZodNullable<z.ZodObject<{
|
|
6343
|
+
kind: z.ZodEnum<{
|
|
6344
|
+
web: "web";
|
|
6345
|
+
agent: "agent";
|
|
6346
|
+
other: "other";
|
|
6347
|
+
this_computer: "this_computer";
|
|
6348
|
+
phone: "phone";
|
|
6349
|
+
}>;
|
|
6350
|
+
label: z.ZodString;
|
|
6351
|
+
}, z.core.$strict>>;
|
|
6352
|
+
}, z.core.$strict>>;
|
|
5599
6353
|
}, z.core.$strict>;
|
|
5600
6354
|
/**
|
|
5601
|
-
*
|
|
5602
|
-
*
|
|
5603
|
-
* constant is the one both sides read. The development ID is accepted only by development builds.
|
|
6355
|
+
* Stop a chat running in another app: the process is re-read at stop time and refused with a
|
|
6356
|
+
* sentence when it is gone or is now something else (a reused pid).
|
|
5604
6357
|
*/
|
|
5605
|
-
declare const
|
|
5606
|
-
|
|
5607
|
-
|
|
5608
|
-
|
|
5609
|
-
|
|
5610
|
-
|
|
5611
|
-
|
|
5612
|
-
|
|
5613
|
-
|
|
5614
|
-
|
|
5615
|
-
|
|
5616
|
-
|
|
5617
|
-
|
|
5618
|
-
|
|
5619
|
-
|
|
5620
|
-
|
|
5621
|
-
|
|
5622
|
-
|
|
5623
|
-
|
|
5624
|
-
|
|
5625
|
-
|
|
5626
|
-
|
|
6358
|
+
declare const CodingStopElsewhereParams: z.ZodObject<{
|
|
6359
|
+
provider: z.ZodEnum<{
|
|
6360
|
+
claude: "claude";
|
|
6361
|
+
codex: "codex";
|
|
6362
|
+
}>;
|
|
6363
|
+
provider_session_id: z.ZodString;
|
|
6364
|
+
pid: z.ZodInt;
|
|
6365
|
+
}, z.core.$strict>;
|
|
6366
|
+
declare const CodingStopElsewhereResult: z.ZodObject<{
|
|
6367
|
+
stopped: z.ZodBoolean;
|
|
6368
|
+
message: z.ZodString;
|
|
6369
|
+
}, z.core.$strict>;
|
|
6370
|
+
/** The next run's model or effort; "" = the provider's own default. */
|
|
6371
|
+
declare const CodingOptionsSetParams: z.ZodObject<{
|
|
6372
|
+
session_id: z.ZodString;
|
|
6373
|
+
model: z.ZodOptional<z.ZodString>;
|
|
6374
|
+
effort: z.ZodOptional<z.ZodString>;
|
|
6375
|
+
}, z.core.$strict>;
|
|
6376
|
+
declare const CodingOptionsSetResult: z.ZodObject<{
|
|
6377
|
+
session: z.ZodObject<{
|
|
6378
|
+
id: z.ZodString;
|
|
6379
|
+
provider: z.ZodEnum<{
|
|
6380
|
+
claude: "claude";
|
|
6381
|
+
codex: "codex";
|
|
6382
|
+
}>;
|
|
6383
|
+
providerSessionId: z.ZodNullable<z.ZodString>;
|
|
6384
|
+
cwd: z.ZodString;
|
|
6385
|
+
title: z.ZodString;
|
|
6386
|
+
model: z.ZodNullable<z.ZodString>;
|
|
6387
|
+
effort: z.ZodNullable<z.ZodString>;
|
|
6388
|
+
origin: z.ZodEnum<{
|
|
6389
|
+
started: "started";
|
|
6390
|
+
takeover: "takeover";
|
|
6391
|
+
}>;
|
|
6392
|
+
createdAt: z.ZodString;
|
|
6393
|
+
updatedAt: z.ZodString;
|
|
6394
|
+
lastRunId: z.ZodNullable<z.ZodString>;
|
|
6395
|
+
lastRunStatus: z.ZodNullable<z.ZodEnum<{
|
|
6396
|
+
completed: "completed";
|
|
6397
|
+
running: "running";
|
|
6398
|
+
failed: "failed";
|
|
6399
|
+
stopped: "stopped";
|
|
6400
|
+
starting: "starting";
|
|
6401
|
+
}>>;
|
|
6402
|
+
queued: z.ZodArray<z.ZodString>;
|
|
6403
|
+
agent: z.ZodNullable<z.ZodObject<{
|
|
6404
|
+
agentId: z.ZodString;
|
|
6405
|
+
versionId: z.ZodNullable<z.ZodString>;
|
|
6406
|
+
versionNumber: z.ZodNullable<z.ZodInt>;
|
|
6407
|
+
name: z.ZodString;
|
|
6408
|
+
definitionHash: z.ZodString;
|
|
6409
|
+
loaded: z.ZodArray<z.ZodObject<{
|
|
6410
|
+
part: z.ZodEnum<{
|
|
6411
|
+
tools: "tools";
|
|
6412
|
+
instructions: "instructions";
|
|
6413
|
+
skills: "skills";
|
|
6414
|
+
}>;
|
|
6415
|
+
loaded: z.ZodInt;
|
|
6416
|
+
total: z.ZodInt;
|
|
6417
|
+
}, z.core.$strict>>;
|
|
6418
|
+
unavailable: z.ZodArray<z.ZodObject<{
|
|
6419
|
+
kind: z.ZodString;
|
|
6420
|
+
name: z.ZodString;
|
|
6421
|
+
reason: z.ZodString;
|
|
6422
|
+
}, z.core.$strict>>;
|
|
6423
|
+
skills: z.ZodArray<z.ZodString>;
|
|
6424
|
+
tools: z.ZodArray<z.ZodString>;
|
|
6425
|
+
variables: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
6426
|
+
blockDue: z.ZodBoolean;
|
|
6427
|
+
deliveredAt: z.ZodNullable<z.ZodString>;
|
|
6428
|
+
replaces: z.ZodNullable<z.ZodString>;
|
|
6429
|
+
}, z.core.$strict>>;
|
|
6430
|
+
agentRemovedDue: z.ZodBoolean;
|
|
6431
|
+
}, z.core.$strict>;
|
|
6432
|
+
}, z.core.$strict>;
|
|
6433
|
+
/** Load a different agent from the next message on; absent `agent` removes it. */
|
|
6434
|
+
declare const CodingAgentSetParams: z.ZodObject<{
|
|
6435
|
+
session_id: z.ZodString;
|
|
6436
|
+
agent: z.ZodOptional<z.ZodObject<{
|
|
6437
|
+
agent_id: z.ZodString;
|
|
6438
|
+
version_id: z.ZodOptional<z.ZodString>;
|
|
6439
|
+
variables: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
6440
|
+
}, z.core.$strict>>;
|
|
6441
|
+
}, z.core.$strict>;
|
|
6442
|
+
declare const CodingAgentSetResult: z.ZodObject<{
|
|
6443
|
+
session: z.ZodObject<{
|
|
6444
|
+
id: z.ZodString;
|
|
6445
|
+
provider: z.ZodEnum<{
|
|
6446
|
+
claude: "claude";
|
|
6447
|
+
codex: "codex";
|
|
6448
|
+
}>;
|
|
6449
|
+
providerSessionId: z.ZodNullable<z.ZodString>;
|
|
6450
|
+
cwd: z.ZodString;
|
|
6451
|
+
title: z.ZodString;
|
|
6452
|
+
model: z.ZodNullable<z.ZodString>;
|
|
6453
|
+
effort: z.ZodNullable<z.ZodString>;
|
|
6454
|
+
origin: z.ZodEnum<{
|
|
6455
|
+
started: "started";
|
|
6456
|
+
takeover: "takeover";
|
|
6457
|
+
}>;
|
|
6458
|
+
createdAt: z.ZodString;
|
|
6459
|
+
updatedAt: z.ZodString;
|
|
6460
|
+
lastRunId: z.ZodNullable<z.ZodString>;
|
|
6461
|
+
lastRunStatus: z.ZodNullable<z.ZodEnum<{
|
|
6462
|
+
completed: "completed";
|
|
6463
|
+
running: "running";
|
|
6464
|
+
failed: "failed";
|
|
6465
|
+
stopped: "stopped";
|
|
6466
|
+
starting: "starting";
|
|
6467
|
+
}>>;
|
|
6468
|
+
queued: z.ZodArray<z.ZodString>;
|
|
6469
|
+
agent: z.ZodNullable<z.ZodObject<{
|
|
6470
|
+
agentId: z.ZodString;
|
|
6471
|
+
versionId: z.ZodNullable<z.ZodString>;
|
|
6472
|
+
versionNumber: z.ZodNullable<z.ZodInt>;
|
|
6473
|
+
name: z.ZodString;
|
|
6474
|
+
definitionHash: z.ZodString;
|
|
6475
|
+
loaded: z.ZodArray<z.ZodObject<{
|
|
6476
|
+
part: z.ZodEnum<{
|
|
6477
|
+
tools: "tools";
|
|
6478
|
+
instructions: "instructions";
|
|
6479
|
+
skills: "skills";
|
|
6480
|
+
}>;
|
|
6481
|
+
loaded: z.ZodInt;
|
|
6482
|
+
total: z.ZodInt;
|
|
6483
|
+
}, z.core.$strict>>;
|
|
6484
|
+
unavailable: z.ZodArray<z.ZodObject<{
|
|
6485
|
+
kind: z.ZodString;
|
|
6486
|
+
name: z.ZodString;
|
|
6487
|
+
reason: z.ZodString;
|
|
6488
|
+
}, z.core.$strict>>;
|
|
6489
|
+
skills: z.ZodArray<z.ZodString>;
|
|
6490
|
+
tools: z.ZodArray<z.ZodString>;
|
|
6491
|
+
variables: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
6492
|
+
blockDue: z.ZodBoolean;
|
|
6493
|
+
deliveredAt: z.ZodNullable<z.ZodString>;
|
|
6494
|
+
replaces: z.ZodNullable<z.ZodString>;
|
|
6495
|
+
}, z.core.$strict>>;
|
|
6496
|
+
agentRemovedDue: z.ZodBoolean;
|
|
6497
|
+
}, z.core.$strict>;
|
|
6498
|
+
}, z.core.$strict>;
|
|
6499
|
+
/** Whether this computer is signed in to AI Matrx, so an agent can load into a session. */
|
|
6500
|
+
declare const CodingAgentsAccessParams: z.ZodObject<{}, z.core.$strict>;
|
|
6501
|
+
declare const CodingAgentsAccessResult: z.ZodObject<{
|
|
6502
|
+
signedIn: z.ZodBoolean;
|
|
6503
|
+
userId: z.ZodNullable<z.ZodString>;
|
|
6504
|
+
organizationId: z.ZodNullable<z.ZodString>;
|
|
6505
|
+
configured: z.ZodBoolean;
|
|
6506
|
+
}, z.core.$strict>;
|
|
6507
|
+
declare const CodingTitlesStatusParams: z.ZodObject<{}, z.core.$strict>;
|
|
6508
|
+
declare const CodingTitlesStatusResult: z.ZodObject<{
|
|
6509
|
+
owner: z.ZodBoolean;
|
|
6510
|
+
pending: z.ZodBoolean;
|
|
6511
|
+
problem: z.ZodNullable<z.ZodString>;
|
|
6512
|
+
renames: z.ZodNullable<z.ZodString>;
|
|
6513
|
+
}, z.core.$strict>;
|
|
6514
|
+
declare const CodingPrefsListParams: z.ZodObject<{}, z.core.$strict>;
|
|
6515
|
+
declare const CodingPrefsListResult: z.ZodObject<{
|
|
6516
|
+
preferences: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
6517
|
+
title: z.ZodNullable<z.ZodString>;
|
|
6518
|
+
pinned: z.ZodBoolean;
|
|
6519
|
+
hidden: z.ZodBoolean;
|
|
6520
|
+
lastSeenAt: z.ZodNullable<z.ZodString>;
|
|
6521
|
+
updatedAt: z.ZodNullable<z.ZodString>;
|
|
6522
|
+
}, z.core.$strict>>;
|
|
6523
|
+
}, z.core.$strict>;
|
|
6524
|
+
/** Rename (`title`; `clear_title` restores the chat's own), pin, hide. */
|
|
6525
|
+
declare const CodingPrefsSetParams: z.ZodObject<{
|
|
6526
|
+
key: z.ZodString;
|
|
6527
|
+
title: z.ZodOptional<z.ZodString>;
|
|
6528
|
+
clear_title: z.ZodOptional<z.ZodBoolean>;
|
|
6529
|
+
pinned: z.ZodOptional<z.ZodBoolean>;
|
|
6530
|
+
hidden: z.ZodOptional<z.ZodBoolean>;
|
|
6531
|
+
}, z.core.$strict>;
|
|
6532
|
+
declare const CodingPrefsSetResult: z.ZodObject<{
|
|
6533
|
+
preferences: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
6534
|
+
title: z.ZodNullable<z.ZodString>;
|
|
6535
|
+
pinned: z.ZodBoolean;
|
|
6536
|
+
hidden: z.ZodBoolean;
|
|
6537
|
+
lastSeenAt: z.ZodNullable<z.ZodString>;
|
|
6538
|
+
updatedAt: z.ZodNullable<z.ZodString>;
|
|
6539
|
+
}, z.core.$strict>>;
|
|
6540
|
+
}, z.core.$strict>;
|
|
6541
|
+
/** The person opened this chat (on any screen): its "New output" dot clears everywhere. */
|
|
6542
|
+
declare const CodingRecentSeenParams: z.ZodObject<{
|
|
6543
|
+
target: z.ZodString;
|
|
6544
|
+
}, z.core.$strict>;
|
|
6545
|
+
declare const CodingRecentSeenResult: z.ZodObject<{
|
|
6546
|
+
recent: z.ZodArray<z.ZodObject<{
|
|
6547
|
+
target: z.ZodString;
|
|
6548
|
+
title: z.ZodString;
|
|
6549
|
+
provider: z.ZodEnum<{
|
|
6550
|
+
claude: "claude";
|
|
6551
|
+
codex: "codex";
|
|
6552
|
+
}>;
|
|
6553
|
+
sessionId: z.ZodNullable<z.ZodString>;
|
|
6554
|
+
providerSessionId: z.ZodNullable<z.ZodString>;
|
|
6555
|
+
cwd: z.ZodNullable<z.ZodString>;
|
|
6556
|
+
updatedAt: z.ZodString;
|
|
6557
|
+
state: z.ZodEnum<{
|
|
6558
|
+
running: "running";
|
|
6559
|
+
idle: "idle";
|
|
6560
|
+
needs_attention: "needs_attention";
|
|
6561
|
+
new_output: "new_output";
|
|
6562
|
+
elsewhere: "elsewhere";
|
|
6563
|
+
}>;
|
|
6564
|
+
stateLabel: z.ZodNullable<z.ZodString>;
|
|
6565
|
+
pinned: z.ZodBoolean;
|
|
6566
|
+
startedBy: z.ZodNullable<z.ZodObject<{
|
|
6567
|
+
kind: z.ZodEnum<{
|
|
6568
|
+
web: "web";
|
|
6569
|
+
agent: "agent";
|
|
6570
|
+
other: "other";
|
|
6571
|
+
this_computer: "this_computer";
|
|
6572
|
+
phone: "phone";
|
|
6573
|
+
}>;
|
|
6574
|
+
label: z.ZodString;
|
|
6575
|
+
}, z.core.$strict>>;
|
|
6576
|
+
}, z.core.$strict>>;
|
|
6577
|
+
}, z.core.$strict>;
|
|
6578
|
+
declare const CodingSearchParams: z.ZodObject<{
|
|
6579
|
+
query: z.ZodString;
|
|
6580
|
+
cursor: z.ZodOptional<z.ZodInt>;
|
|
6581
|
+
limit: z.ZodOptional<z.ZodInt>;
|
|
6582
|
+
}, z.core.$strict>;
|
|
5627
6583
|
/**
|
|
5628
|
-
*
|
|
5629
|
-
*
|
|
5630
|
-
*
|
|
5631
|
-
* - `extension_signed_out` — the extension is signed out of AI Matrx: listed, never driven;
|
|
5632
|
-
* - `device_signed_out` — Matrx 2 itself is signed out, so there is no owner to match: listed, never driven;
|
|
5633
|
-
* - `unverified` — the account could not be checked (no network, keys unavailable): retried on the next register.
|
|
6584
|
+
* "Ask the desktop app to reconcile this conversation" (the web's sync panel): deliver this one
|
|
6585
|
+
* chat's missing entries to AI Matrx through the shared importer. Progress arrives as
|
|
6586
|
+
* coding.history.progress for this request.
|
|
5634
6587
|
*/
|
|
5635
|
-
declare const
|
|
5636
|
-
|
|
5637
|
-
|
|
5638
|
-
|
|
5639
|
-
device_signed_out: "device_signed_out";
|
|
5640
|
-
unverified: "unverified";
|
|
5641
|
-
}>;
|
|
5642
|
-
type BrowserSessionState = z.output<typeof BrowserSessionState>;
|
|
5643
|
-
declare const BrowserSession: z.ZodObject<{
|
|
5644
|
-
client_instance: z.ZodString;
|
|
5645
|
-
client_label: z.ZodString;
|
|
5646
|
-
browser: z.ZodEnum<{
|
|
5647
|
-
other: "other";
|
|
5648
|
-
chrome: "chrome";
|
|
5649
|
-
edge: "edge";
|
|
5650
|
-
brave: "brave";
|
|
5651
|
-
arc: "arc";
|
|
5652
|
-
opera: "opera";
|
|
5653
|
-
vivaldi: "vivaldi";
|
|
5654
|
-
chromium: "chromium";
|
|
5655
|
-
firefox: "firefox";
|
|
6588
|
+
declare const CodingReconcileParams: z.ZodObject<{
|
|
6589
|
+
provider: z.ZodEnum<{
|
|
6590
|
+
claude: "claude";
|
|
6591
|
+
codex: "codex";
|
|
5656
6592
|
}>;
|
|
5657
|
-
|
|
6593
|
+
provider_session_id: z.ZodString;
|
|
6594
|
+
}, z.core.$strict>;
|
|
6595
|
+
/**
|
|
6596
|
+
* FULL DOWNLOAD over any transport: the provider's own complete transcript file, byte for byte,
|
|
6597
|
+
* on the op's stream. It also refreshes the person's opt-in cloud backup and counts the chat's
|
|
6598
|
+
* subagent transcripts. `available: false` says why (the stream then carries nothing).
|
|
6599
|
+
*/
|
|
6600
|
+
declare const CodingTranscriptRawParams: z.ZodObject<{
|
|
6601
|
+
provider: z.ZodEnum<{
|
|
6602
|
+
claude: "claude";
|
|
6603
|
+
codex: "codex";
|
|
6604
|
+
}>;
|
|
6605
|
+
provider_session_id: z.ZodString;
|
|
6606
|
+
}, z.core.$strict>;
|
|
6607
|
+
/** Live changes to the sessions, runs, preferences, titles and recent rows (coding.changed). */
|
|
6608
|
+
declare const CodingWatchParams: z.ZodObject<{}, z.core.$strict>;
|
|
6609
|
+
declare const CodingWatchResult: z.ZodObject<{
|
|
6610
|
+
resource_id: z.ZodString;
|
|
6611
|
+
}, z.core.$strict>;
|
|
6612
|
+
/**
|
|
6613
|
+
* One chat's live items (coding.item), replayed from `since_seq` when it is still in the device's
|
|
6614
|
+
* ring; older than the ring → coding.gap first, and the client reads history again.
|
|
6615
|
+
*/
|
|
6616
|
+
declare const CodingSessionWatchParams: z.ZodObject<{
|
|
6617
|
+
session_id: z.ZodString;
|
|
6618
|
+
since_seq: z.ZodOptional<z.ZodInt>;
|
|
6619
|
+
}, z.core.$strict>;
|
|
6620
|
+
declare const CodingSessionWatchResult: z.ZodObject<{
|
|
6621
|
+
resource_id: z.ZodString;
|
|
6622
|
+
seq: z.ZodInt;
|
|
6623
|
+
}, z.core.$strict>;
|
|
6624
|
+
/**
|
|
6625
|
+
* Sent once after hello by a client that knows the core is 1.38+ (an older core answers
|
|
6626
|
+
* UNKNOWN_OPERATION; a new hello field would have made every older core refuse the hello).
|
|
6627
|
+
*/
|
|
6628
|
+
declare const SessionIdentifyParams: z.ZodObject<{
|
|
6629
|
+
label: z.ZodString;
|
|
6630
|
+
}, z.core.$strict>;
|
|
6631
|
+
declare const SessionIdentifyResult: z.ZodObject<{
|
|
6632
|
+
label: z.ZodString;
|
|
6633
|
+
}, z.core.$strict>;
|
|
6634
|
+
declare const CodingProviderName: z.ZodEnum<{
|
|
6635
|
+
claude: "claude";
|
|
6636
|
+
codex: "codex";
|
|
6637
|
+
}>;
|
|
6638
|
+
type CodingProviderName = z.output<typeof CodingProviderName>;
|
|
6639
|
+
declare const CodingRunStatus: z.ZodEnum<{
|
|
6640
|
+
completed: "completed";
|
|
6641
|
+
running: "running";
|
|
6642
|
+
failed: "failed";
|
|
6643
|
+
stopped: "stopped";
|
|
6644
|
+
starting: "starting";
|
|
6645
|
+
}>;
|
|
6646
|
+
type CodingRunStatus = z.output<typeof CodingRunStatus>;
|
|
6647
|
+
declare const CodingRunUsage: z.ZodObject<{
|
|
6648
|
+
inputTokens: z.ZodInt;
|
|
6649
|
+
outputTokens: z.ZodInt;
|
|
6650
|
+
cachedInputTokens: z.ZodInt;
|
|
6651
|
+
}, z.core.$strict>;
|
|
6652
|
+
type CodingRunUsage = z.output<typeof CodingRunUsage>;
|
|
6653
|
+
/**
|
|
6654
|
+
* Who started a run, stamped by the core from the connection (never from call arguments):
|
|
6655
|
+
* "This Mac", "iPhone", "Safari on Mac", "An agent".
|
|
6656
|
+
*/
|
|
6657
|
+
declare const CodingStartedBy: z.ZodObject<{
|
|
6658
|
+
kind: z.ZodEnum<{
|
|
6659
|
+
web: "web";
|
|
6660
|
+
agent: "agent";
|
|
6661
|
+
other: "other";
|
|
6662
|
+
this_computer: "this_computer";
|
|
6663
|
+
phone: "phone";
|
|
6664
|
+
}>;
|
|
6665
|
+
label: z.ZodString;
|
|
6666
|
+
}, z.core.$strict>;
|
|
6667
|
+
type CodingStartedBy = z.output<typeof CodingStartedBy>;
|
|
6668
|
+
declare const CodingRunRecord: z.ZodObject<{
|
|
6669
|
+
runId: z.ZodString;
|
|
6670
|
+
sessionId: z.ZodString;
|
|
6671
|
+
provider: z.ZodEnum<{
|
|
6672
|
+
claude: "claude";
|
|
6673
|
+
codex: "codex";
|
|
6674
|
+
}>;
|
|
6675
|
+
cwd: z.ZodString;
|
|
6676
|
+
prompt: z.ZodString;
|
|
6677
|
+
model: z.ZodNullable<z.ZodString>;
|
|
6678
|
+
status: z.ZodEnum<{
|
|
6679
|
+
completed: "completed";
|
|
6680
|
+
running: "running";
|
|
6681
|
+
failed: "failed";
|
|
6682
|
+
stopped: "stopped";
|
|
6683
|
+
starting: "starting";
|
|
6684
|
+
}>;
|
|
6685
|
+
startedAt: z.ZodString;
|
|
6686
|
+
endedAt: z.ZodNullable<z.ZodString>;
|
|
6687
|
+
error: z.ZodNullable<z.ZodString>;
|
|
6688
|
+
usage: z.ZodNullable<z.ZodObject<{
|
|
6689
|
+
inputTokens: z.ZodInt;
|
|
6690
|
+
outputTokens: z.ZodInt;
|
|
6691
|
+
cachedInputTokens: z.ZodInt;
|
|
6692
|
+
}, z.core.$strict>>;
|
|
6693
|
+
costUsd: z.ZodNullable<z.ZodNumber>;
|
|
6694
|
+
billing: z.ZodNullable<z.ZodEnum<{
|
|
6695
|
+
unknown: "unknown";
|
|
6696
|
+
subscription: "subscription";
|
|
6697
|
+
api: "api";
|
|
6698
|
+
}>>;
|
|
6699
|
+
startedBy: z.ZodNullable<z.ZodObject<{
|
|
6700
|
+
kind: z.ZodEnum<{
|
|
6701
|
+
web: "web";
|
|
6702
|
+
agent: "agent";
|
|
6703
|
+
other: "other";
|
|
6704
|
+
this_computer: "this_computer";
|
|
6705
|
+
phone: "phone";
|
|
6706
|
+
}>;
|
|
6707
|
+
label: z.ZodString;
|
|
6708
|
+
}, z.core.$strict>>;
|
|
6709
|
+
}, z.core.$strict>;
|
|
6710
|
+
type CodingRunRecord = z.output<typeof CodingRunRecord>;
|
|
6711
|
+
declare const CodingSessionAgent: z.ZodObject<{
|
|
6712
|
+
agentId: z.ZodString;
|
|
6713
|
+
versionId: z.ZodNullable<z.ZodString>;
|
|
6714
|
+
versionNumber: z.ZodNullable<z.ZodInt>;
|
|
6715
|
+
name: z.ZodString;
|
|
6716
|
+
definitionHash: z.ZodString;
|
|
6717
|
+
loaded: z.ZodArray<z.ZodObject<{
|
|
6718
|
+
part: z.ZodEnum<{
|
|
6719
|
+
tools: "tools";
|
|
6720
|
+
instructions: "instructions";
|
|
6721
|
+
skills: "skills";
|
|
6722
|
+
}>;
|
|
6723
|
+
loaded: z.ZodInt;
|
|
6724
|
+
total: z.ZodInt;
|
|
6725
|
+
}, z.core.$strict>>;
|
|
6726
|
+
unavailable: z.ZodArray<z.ZodObject<{
|
|
6727
|
+
kind: z.ZodString;
|
|
6728
|
+
name: z.ZodString;
|
|
6729
|
+
reason: z.ZodString;
|
|
6730
|
+
}, z.core.$strict>>;
|
|
6731
|
+
skills: z.ZodArray<z.ZodString>;
|
|
6732
|
+
tools: z.ZodArray<z.ZodString>;
|
|
6733
|
+
variables: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
6734
|
+
blockDue: z.ZodBoolean;
|
|
6735
|
+
deliveredAt: z.ZodNullable<z.ZodString>;
|
|
6736
|
+
replaces: z.ZodNullable<z.ZodString>;
|
|
6737
|
+
}, z.core.$strict>;
|
|
6738
|
+
type CodingSessionAgent = z.output<typeof CodingSessionAgent>;
|
|
6739
|
+
declare const CodingSessionRecord: z.ZodObject<{
|
|
6740
|
+
id: z.ZodString;
|
|
6741
|
+
provider: z.ZodEnum<{
|
|
6742
|
+
claude: "claude";
|
|
6743
|
+
codex: "codex";
|
|
6744
|
+
}>;
|
|
6745
|
+
providerSessionId: z.ZodNullable<z.ZodString>;
|
|
6746
|
+
cwd: z.ZodString;
|
|
6747
|
+
title: z.ZodString;
|
|
6748
|
+
model: z.ZodNullable<z.ZodString>;
|
|
6749
|
+
effort: z.ZodNullable<z.ZodString>;
|
|
6750
|
+
origin: z.ZodEnum<{
|
|
6751
|
+
started: "started";
|
|
6752
|
+
takeover: "takeover";
|
|
6753
|
+
}>;
|
|
6754
|
+
createdAt: z.ZodString;
|
|
6755
|
+
updatedAt: z.ZodString;
|
|
6756
|
+
lastRunId: z.ZodNullable<z.ZodString>;
|
|
6757
|
+
lastRunStatus: z.ZodNullable<z.ZodEnum<{
|
|
6758
|
+
completed: "completed";
|
|
6759
|
+
running: "running";
|
|
6760
|
+
failed: "failed";
|
|
6761
|
+
stopped: "stopped";
|
|
6762
|
+
starting: "starting";
|
|
6763
|
+
}>>;
|
|
6764
|
+
queued: z.ZodArray<z.ZodString>;
|
|
6765
|
+
agent: z.ZodNullable<z.ZodObject<{
|
|
6766
|
+
agentId: z.ZodString;
|
|
6767
|
+
versionId: z.ZodNullable<z.ZodString>;
|
|
6768
|
+
versionNumber: z.ZodNullable<z.ZodInt>;
|
|
6769
|
+
name: z.ZodString;
|
|
6770
|
+
definitionHash: z.ZodString;
|
|
6771
|
+
loaded: z.ZodArray<z.ZodObject<{
|
|
6772
|
+
part: z.ZodEnum<{
|
|
6773
|
+
tools: "tools";
|
|
6774
|
+
instructions: "instructions";
|
|
6775
|
+
skills: "skills";
|
|
6776
|
+
}>;
|
|
6777
|
+
loaded: z.ZodInt;
|
|
6778
|
+
total: z.ZodInt;
|
|
6779
|
+
}, z.core.$strict>>;
|
|
6780
|
+
unavailable: z.ZodArray<z.ZodObject<{
|
|
6781
|
+
kind: z.ZodString;
|
|
6782
|
+
name: z.ZodString;
|
|
6783
|
+
reason: z.ZodString;
|
|
6784
|
+
}, z.core.$strict>>;
|
|
6785
|
+
skills: z.ZodArray<z.ZodString>;
|
|
6786
|
+
tools: z.ZodArray<z.ZodString>;
|
|
6787
|
+
variables: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
6788
|
+
blockDue: z.ZodBoolean;
|
|
6789
|
+
deliveredAt: z.ZodNullable<z.ZodString>;
|
|
6790
|
+
replaces: z.ZodNullable<z.ZodString>;
|
|
6791
|
+
}, z.core.$strict>>;
|
|
6792
|
+
agentRemovedDue: z.ZodBoolean;
|
|
6793
|
+
}, z.core.$strict>;
|
|
6794
|
+
type CodingSessionRecord = z.output<typeof CodingSessionRecord>;
|
|
6795
|
+
declare const CodingActiveElsewhere: z.ZodObject<{
|
|
6796
|
+
reason: z.ZodEnum<{
|
|
6797
|
+
open: "open";
|
|
6798
|
+
process: "process";
|
|
6799
|
+
"recent-write": "recent-write";
|
|
6800
|
+
"open-tool-call": "open-tool-call";
|
|
6801
|
+
}>;
|
|
6802
|
+
message: z.ZodString;
|
|
6803
|
+
pid: z.ZodNullable<z.ZodInt>;
|
|
6804
|
+
}, z.core.$strict>;
|
|
6805
|
+
type CodingActiveElsewhere = z.output<typeof CodingActiveElsewhere>;
|
|
6806
|
+
declare const CodingDiscoveredChat: z.ZodObject<{
|
|
6807
|
+
provider: z.ZodEnum<{
|
|
6808
|
+
claude: "claude";
|
|
6809
|
+
codex: "codex";
|
|
6810
|
+
}>;
|
|
6811
|
+
providerSessionId: z.ZodString;
|
|
6812
|
+
cwd: z.ZodNullable<z.ZodString>;
|
|
6813
|
+
title: z.ZodString;
|
|
6814
|
+
titleSource: z.ZodOptional<z.ZodEnum<{
|
|
6815
|
+
unknown: "unknown";
|
|
6816
|
+
app: "app";
|
|
6817
|
+
"app-remembered": "app-remembered";
|
|
6818
|
+
"custom-title": "custom-title";
|
|
6819
|
+
"ai-title": "ai-title";
|
|
6820
|
+
"agent-name": "agent-name";
|
|
6821
|
+
summary: "summary";
|
|
6822
|
+
"first-prompt": "first-prompt";
|
|
6823
|
+
"last-prompt": "last-prompt";
|
|
6824
|
+
}>>;
|
|
6825
|
+
titlePending: z.ZodOptional<z.ZodBoolean>;
|
|
6826
|
+
archived: z.ZodOptional<z.ZodBoolean>;
|
|
6827
|
+
scheduled: z.ZodOptional<z.ZodBoolean>;
|
|
6828
|
+
unlisted: z.ZodOptional<z.ZodBoolean>;
|
|
6829
|
+
unavailable: z.ZodNullable<z.ZodString>;
|
|
6830
|
+
updatedAt: z.ZodString;
|
|
6831
|
+
source: z.ZodNullable<z.ZodString>;
|
|
6832
|
+
activeElsewhere: z.ZodNullable<z.ZodObject<{
|
|
6833
|
+
reason: z.ZodEnum<{
|
|
6834
|
+
open: "open";
|
|
6835
|
+
process: "process";
|
|
6836
|
+
"recent-write": "recent-write";
|
|
6837
|
+
"open-tool-call": "open-tool-call";
|
|
6838
|
+
}>;
|
|
6839
|
+
message: z.ZodString;
|
|
6840
|
+
pid: z.ZodNullable<z.ZodInt>;
|
|
6841
|
+
}, z.core.$strict>>;
|
|
6842
|
+
}, z.core.$strict>;
|
|
6843
|
+
type CodingDiscoveredChat = z.output<typeof CodingDiscoveredChat>;
|
|
6844
|
+
declare const CodingTranscriptItem: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
6845
|
+
kind: z.ZodLiteral<"user">;
|
|
6846
|
+
id: z.ZodString;
|
|
6847
|
+
text: z.ZodString;
|
|
6848
|
+
at: z.ZodNullable<z.ZodString>;
|
|
6849
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
6850
|
+
kind: z.ZodLiteral<"text">;
|
|
6851
|
+
id: z.ZodString;
|
|
6852
|
+
text: z.ZodString;
|
|
6853
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
6854
|
+
kind: z.ZodLiteral<"text-delta">;
|
|
6855
|
+
id: z.ZodString;
|
|
6856
|
+
text: z.ZodString;
|
|
6857
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
6858
|
+
kind: z.ZodLiteral<"reasoning">;
|
|
6859
|
+
id: z.ZodString;
|
|
6860
|
+
text: z.ZodString;
|
|
6861
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
6862
|
+
kind: z.ZodLiteral<"tool-call">;
|
|
6863
|
+
id: z.ZodString;
|
|
6864
|
+
name: z.ZodString;
|
|
6865
|
+
input: z.ZodUnknown;
|
|
6866
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
6867
|
+
kind: z.ZodLiteral<"tool-result">;
|
|
6868
|
+
id: z.ZodString;
|
|
6869
|
+
output: z.ZodString;
|
|
6870
|
+
isError: z.ZodBoolean;
|
|
6871
|
+
fullBytes: z.ZodOptional<z.ZodInt>;
|
|
6872
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
6873
|
+
kind: z.ZodLiteral<"usage">;
|
|
6874
|
+
usage: z.ZodObject<{
|
|
6875
|
+
inputTokens: z.ZodInt;
|
|
6876
|
+
outputTokens: z.ZodInt;
|
|
6877
|
+
cachedInputTokens: z.ZodInt;
|
|
6878
|
+
}, z.core.$strict>;
|
|
6879
|
+
costUsd: z.ZodNullable<z.ZodNumber>;
|
|
6880
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
6881
|
+
kind: z.ZodLiteral<"notice">;
|
|
6882
|
+
id: z.ZodString;
|
|
6883
|
+
level: z.ZodEnum<{
|
|
6884
|
+
warning: "warning";
|
|
6885
|
+
info: "info";
|
|
6886
|
+
}>;
|
|
6887
|
+
text: z.ZodString;
|
|
6888
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
6889
|
+
kind: z.ZodLiteral<"error">;
|
|
6890
|
+
id: z.ZodString;
|
|
6891
|
+
text: z.ZodString;
|
|
6892
|
+
}, z.core.$strict>], "kind">;
|
|
6893
|
+
type CodingTranscriptItem = z.output<typeof CodingTranscriptItem>;
|
|
6894
|
+
declare const CodingHistoryRecord: z.ZodObject<{
|
|
6895
|
+
items: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
6896
|
+
kind: z.ZodLiteral<"user">;
|
|
6897
|
+
id: z.ZodString;
|
|
6898
|
+
text: z.ZodString;
|
|
6899
|
+
at: z.ZodNullable<z.ZodString>;
|
|
6900
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
6901
|
+
kind: z.ZodLiteral<"text">;
|
|
6902
|
+
id: z.ZodString;
|
|
6903
|
+
text: z.ZodString;
|
|
6904
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
6905
|
+
kind: z.ZodLiteral<"text-delta">;
|
|
6906
|
+
id: z.ZodString;
|
|
6907
|
+
text: z.ZodString;
|
|
6908
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
6909
|
+
kind: z.ZodLiteral<"reasoning">;
|
|
6910
|
+
id: z.ZodString;
|
|
6911
|
+
text: z.ZodString;
|
|
6912
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
6913
|
+
kind: z.ZodLiteral<"tool-call">;
|
|
6914
|
+
id: z.ZodString;
|
|
6915
|
+
name: z.ZodString;
|
|
6916
|
+
input: z.ZodUnknown;
|
|
6917
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
6918
|
+
kind: z.ZodLiteral<"tool-result">;
|
|
6919
|
+
id: z.ZodString;
|
|
6920
|
+
output: z.ZodString;
|
|
6921
|
+
isError: z.ZodBoolean;
|
|
6922
|
+
fullBytes: z.ZodOptional<z.ZodInt>;
|
|
6923
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
6924
|
+
kind: z.ZodLiteral<"usage">;
|
|
6925
|
+
usage: z.ZodObject<{
|
|
6926
|
+
inputTokens: z.ZodInt;
|
|
6927
|
+
outputTokens: z.ZodInt;
|
|
6928
|
+
cachedInputTokens: z.ZodInt;
|
|
6929
|
+
}, z.core.$strict>;
|
|
6930
|
+
costUsd: z.ZodNullable<z.ZodNumber>;
|
|
6931
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
6932
|
+
kind: z.ZodLiteral<"notice">;
|
|
6933
|
+
id: z.ZodString;
|
|
6934
|
+
level: z.ZodEnum<{
|
|
6935
|
+
warning: "warning";
|
|
6936
|
+
info: "info";
|
|
6937
|
+
}>;
|
|
6938
|
+
text: z.ZodString;
|
|
6939
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
6940
|
+
kind: z.ZodLiteral<"error">;
|
|
6941
|
+
id: z.ZodString;
|
|
6942
|
+
text: z.ZodString;
|
|
6943
|
+
}, z.core.$strict>], "kind">>;
|
|
6944
|
+
truncated: z.ZodBoolean;
|
|
6945
|
+
unavailable: z.ZodNullable<z.ZodString>;
|
|
6946
|
+
seq: z.ZodInt;
|
|
6947
|
+
}, z.core.$strict>;
|
|
6948
|
+
type CodingHistoryRecord = z.output<typeof CodingHistoryRecord>;
|
|
6949
|
+
declare const CodingProviderStatus: z.ZodObject<{
|
|
6950
|
+
provider: z.ZodEnum<{
|
|
6951
|
+
claude: "claude";
|
|
6952
|
+
codex: "codex";
|
|
6953
|
+
}>;
|
|
6954
|
+
label: z.ZodString;
|
|
6955
|
+
installed: z.ZodBoolean;
|
|
6956
|
+
version: z.ZodNullable<z.ZodString>;
|
|
6957
|
+
loggedIn: z.ZodBoolean;
|
|
6958
|
+
billing: z.ZodEnum<{
|
|
6959
|
+
unknown: "unknown";
|
|
6960
|
+
subscription: "subscription";
|
|
6961
|
+
api: "api";
|
|
6962
|
+
}>;
|
|
6963
|
+
plan: z.ZodNullable<z.ZodString>;
|
|
6964
|
+
account: z.ZodNullable<z.ZodString>;
|
|
6965
|
+
problem: z.ZodNullable<z.ZodString>;
|
|
6966
|
+
fix: z.ZodNullable<z.ZodString>;
|
|
6967
|
+
ready: z.ZodBoolean;
|
|
6968
|
+
lastProblem: z.ZodNullable<z.ZodObject<{
|
|
6969
|
+
kind: z.ZodEnum<{
|
|
6970
|
+
"usage-limit": "usage-limit";
|
|
6971
|
+
"signed-out": "signed-out";
|
|
6972
|
+
}>;
|
|
6973
|
+
message: z.ZodString;
|
|
6974
|
+
until: z.ZodNullable<z.ZodString>;
|
|
6975
|
+
at: z.ZodString;
|
|
6976
|
+
}, z.core.$strict>>;
|
|
6977
|
+
quota: z.ZodArray<z.ZodObject<{
|
|
6978
|
+
label: z.ZodString;
|
|
6979
|
+
usedPercent: z.ZodNullable<z.ZodNumber>;
|
|
6980
|
+
resetsAt: z.ZodNullable<z.ZodString>;
|
|
6981
|
+
valueLabel: z.ZodNullable<z.ZodString>;
|
|
6982
|
+
}, z.core.$strict>>;
|
|
6983
|
+
models: z.ZodArray<z.ZodObject<{
|
|
6984
|
+
id: z.ZodString;
|
|
6985
|
+
label: z.ZodString;
|
|
6986
|
+
}, z.core.$strict>>;
|
|
6987
|
+
efforts: z.ZodArray<z.ZodString>;
|
|
6988
|
+
defaultModel: z.ZodNullable<z.ZodObject<{
|
|
6989
|
+
id: z.ZodString;
|
|
6990
|
+
source: z.ZodEnum<{
|
|
6991
|
+
settings: "settings";
|
|
6992
|
+
driver: "driver";
|
|
6993
|
+
}>;
|
|
6994
|
+
}, z.core.$strict>>;
|
|
6995
|
+
defaultEffort: z.ZodNullable<z.ZodString>;
|
|
6996
|
+
binary: z.ZodNullable<z.ZodObject<{
|
|
6997
|
+
path: z.ZodString;
|
|
6998
|
+
version: z.ZodNullable<z.ZodString>;
|
|
6999
|
+
source: z.ZodEnum<{
|
|
7000
|
+
path: "path";
|
|
7001
|
+
"desktop-app": "desktop-app";
|
|
7002
|
+
"npm-global": "npm-global";
|
|
7003
|
+
configured: "configured";
|
|
7004
|
+
}>;
|
|
7005
|
+
sourceLabel: z.ZodString;
|
|
7006
|
+
newer: z.ZodNullable<z.ZodObject<{
|
|
7007
|
+
path: z.ZodString;
|
|
7008
|
+
version: z.ZodString;
|
|
7009
|
+
sourceLabel: z.ZodString;
|
|
7010
|
+
}, z.core.$strict>>;
|
|
7011
|
+
}, z.core.$strict>>;
|
|
7012
|
+
}, z.core.$strict>;
|
|
7013
|
+
type CodingProviderStatus = z.output<typeof CodingProviderStatus>;
|
|
7014
|
+
/** The person's rename, pin, hide and "last looked at" for one chat, by the engine's chat key. */
|
|
7015
|
+
declare const CodingChatPreference: z.ZodObject<{
|
|
7016
|
+
title: z.ZodNullable<z.ZodString>;
|
|
7017
|
+
pinned: z.ZodBoolean;
|
|
7018
|
+
hidden: z.ZodBoolean;
|
|
7019
|
+
lastSeenAt: z.ZodNullable<z.ZodString>;
|
|
7020
|
+
updatedAt: z.ZodNullable<z.ZodString>;
|
|
7021
|
+
}, z.core.$strict>;
|
|
7022
|
+
type CodingChatPreference = z.output<typeof CodingChatPreference>;
|
|
7023
|
+
declare const CodingTitleStatus: z.ZodObject<{
|
|
7024
|
+
owner: z.ZodBoolean;
|
|
7025
|
+
pending: z.ZodBoolean;
|
|
7026
|
+
problem: z.ZodNullable<z.ZodString>;
|
|
7027
|
+
renames: z.ZodNullable<z.ZodString>;
|
|
7028
|
+
}, z.core.$strict>;
|
|
7029
|
+
type CodingTitleStatus = z.output<typeof CodingTitleStatus>;
|
|
7030
|
+
/**
|
|
7031
|
+
* One row of THE recent coding chats (the Mac's Code › Recent and the phone's Sessions list draw
|
|
7032
|
+
* exactly these): the chats driven here and the coding apps' own chats, newest first, each with
|
|
7033
|
+
* the Mac's dot. `state`: running (amber "Running"), needs_attention (amber: failed or
|
|
7034
|
+
* interrupted since the person last looked), new_output (blue), elsewhere (amber "Running in
|
|
7035
|
+
* <app>"), idle (no dot).
|
|
7036
|
+
*/
|
|
7037
|
+
declare const CodingRecentRow: z.ZodObject<{
|
|
7038
|
+
target: z.ZodString;
|
|
7039
|
+
title: z.ZodString;
|
|
7040
|
+
provider: z.ZodEnum<{
|
|
7041
|
+
claude: "claude";
|
|
7042
|
+
codex: "codex";
|
|
7043
|
+
}>;
|
|
7044
|
+
sessionId: z.ZodNullable<z.ZodString>;
|
|
7045
|
+
providerSessionId: z.ZodNullable<z.ZodString>;
|
|
7046
|
+
cwd: z.ZodNullable<z.ZodString>;
|
|
7047
|
+
updatedAt: z.ZodString;
|
|
5658
7048
|
state: z.ZodEnum<{
|
|
5659
|
-
|
|
5660
|
-
|
|
5661
|
-
|
|
5662
|
-
|
|
5663
|
-
|
|
7049
|
+
running: "running";
|
|
7050
|
+
idle: "idle";
|
|
7051
|
+
needs_attention: "needs_attention";
|
|
7052
|
+
new_output: "new_output";
|
|
7053
|
+
elsewhere: "elsewhere";
|
|
5664
7054
|
}>;
|
|
5665
|
-
|
|
5666
|
-
|
|
5667
|
-
|
|
5668
|
-
|
|
5669
|
-
|
|
5670
|
-
|
|
5671
|
-
|
|
5672
|
-
|
|
5673
|
-
|
|
7055
|
+
stateLabel: z.ZodNullable<z.ZodString>;
|
|
7056
|
+
pinned: z.ZodBoolean;
|
|
7057
|
+
startedBy: z.ZodNullable<z.ZodObject<{
|
|
7058
|
+
kind: z.ZodEnum<{
|
|
7059
|
+
web: "web";
|
|
7060
|
+
agent: "agent";
|
|
7061
|
+
other: "other";
|
|
7062
|
+
this_computer: "this_computer";
|
|
7063
|
+
phone: "phone";
|
|
7064
|
+
}>;
|
|
7065
|
+
label: z.ZodString;
|
|
7066
|
+
}, z.core.$strict>>;
|
|
7067
|
+
}, z.core.$strict>;
|
|
7068
|
+
type CodingRecentRow = z.output<typeof CodingRecentRow>;
|
|
7069
|
+
declare const CodingFolderCheck: z.ZodObject<{
|
|
7070
|
+
path: z.ZodString;
|
|
7071
|
+
exists: z.ZodBoolean;
|
|
7072
|
+
isDirectory: z.ZodBoolean;
|
|
7073
|
+
}, z.core.$strict>;
|
|
7074
|
+
type CodingFolderCheck = z.output<typeof CodingFolderCheck>;
|
|
7075
|
+
declare const CodingRecentFolder: z.ZodObject<{
|
|
7076
|
+
path: z.ZodString;
|
|
7077
|
+
lastUsedAt: z.ZodString;
|
|
7078
|
+
exists: z.ZodBoolean;
|
|
7079
|
+
}, z.core.$strict>;
|
|
7080
|
+
type CodingRecentFolder = z.output<typeof CodingRecentFolder>;
|
|
7081
|
+
declare const CodingAgentSelectionParams: z.ZodObject<{
|
|
7082
|
+
agent_id: z.ZodString;
|
|
7083
|
+
version_id: z.ZodOptional<z.ZodString>;
|
|
7084
|
+
variables: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
7085
|
+
}, z.core.$strict>;
|
|
7086
|
+
type CodingAgentSelectionParams = z.output<typeof CodingAgentSelectionParams>;
|
|
7087
|
+
declare const CodingSendResult: z.ZodObject<{
|
|
7088
|
+
session: z.ZodObject<{
|
|
7089
|
+
id: z.ZodString;
|
|
7090
|
+
provider: z.ZodEnum<{
|
|
7091
|
+
claude: "claude";
|
|
7092
|
+
codex: "codex";
|
|
7093
|
+
}>;
|
|
7094
|
+
providerSessionId: z.ZodNullable<z.ZodString>;
|
|
7095
|
+
cwd: z.ZodString;
|
|
7096
|
+
title: z.ZodString;
|
|
7097
|
+
model: z.ZodNullable<z.ZodString>;
|
|
7098
|
+
effort: z.ZodNullable<z.ZodString>;
|
|
7099
|
+
origin: z.ZodEnum<{
|
|
7100
|
+
started: "started";
|
|
7101
|
+
takeover: "takeover";
|
|
7102
|
+
}>;
|
|
7103
|
+
createdAt: z.ZodString;
|
|
7104
|
+
updatedAt: z.ZodString;
|
|
7105
|
+
lastRunId: z.ZodNullable<z.ZodString>;
|
|
7106
|
+
lastRunStatus: z.ZodNullable<z.ZodEnum<{
|
|
7107
|
+
completed: "completed";
|
|
7108
|
+
running: "running";
|
|
7109
|
+
failed: "failed";
|
|
7110
|
+
stopped: "stopped";
|
|
7111
|
+
starting: "starting";
|
|
7112
|
+
}>>;
|
|
7113
|
+
queued: z.ZodArray<z.ZodString>;
|
|
7114
|
+
agent: z.ZodNullable<z.ZodObject<{
|
|
7115
|
+
agentId: z.ZodString;
|
|
7116
|
+
versionId: z.ZodNullable<z.ZodString>;
|
|
7117
|
+
versionNumber: z.ZodNullable<z.ZodInt>;
|
|
7118
|
+
name: z.ZodString;
|
|
7119
|
+
definitionHash: z.ZodString;
|
|
7120
|
+
loaded: z.ZodArray<z.ZodObject<{
|
|
7121
|
+
part: z.ZodEnum<{
|
|
7122
|
+
tools: "tools";
|
|
7123
|
+
instructions: "instructions";
|
|
7124
|
+
skills: "skills";
|
|
7125
|
+
}>;
|
|
7126
|
+
loaded: z.ZodInt;
|
|
7127
|
+
total: z.ZodInt;
|
|
7128
|
+
}, z.core.$strict>>;
|
|
7129
|
+
unavailable: z.ZodArray<z.ZodObject<{
|
|
7130
|
+
kind: z.ZodString;
|
|
7131
|
+
name: z.ZodString;
|
|
7132
|
+
reason: z.ZodString;
|
|
7133
|
+
}, z.core.$strict>>;
|
|
7134
|
+
skills: z.ZodArray<z.ZodString>;
|
|
7135
|
+
tools: z.ZodArray<z.ZodString>;
|
|
7136
|
+
variables: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
7137
|
+
blockDue: z.ZodBoolean;
|
|
7138
|
+
deliveredAt: z.ZodNullable<z.ZodString>;
|
|
7139
|
+
replaces: z.ZodNullable<z.ZodString>;
|
|
7140
|
+
}, z.core.$strict>>;
|
|
7141
|
+
agentRemovedDue: z.ZodBoolean;
|
|
7142
|
+
}, z.core.$strict>;
|
|
7143
|
+
run: z.ZodNullable<z.ZodObject<{
|
|
7144
|
+
runId: z.ZodString;
|
|
7145
|
+
sessionId: z.ZodString;
|
|
7146
|
+
provider: z.ZodEnum<{
|
|
7147
|
+
claude: "claude";
|
|
7148
|
+
codex: "codex";
|
|
7149
|
+
}>;
|
|
7150
|
+
cwd: z.ZodString;
|
|
7151
|
+
prompt: z.ZodString;
|
|
7152
|
+
model: z.ZodNullable<z.ZodString>;
|
|
7153
|
+
status: z.ZodEnum<{
|
|
7154
|
+
completed: "completed";
|
|
7155
|
+
running: "running";
|
|
7156
|
+
failed: "failed";
|
|
7157
|
+
stopped: "stopped";
|
|
7158
|
+
starting: "starting";
|
|
7159
|
+
}>;
|
|
7160
|
+
startedAt: z.ZodString;
|
|
7161
|
+
endedAt: z.ZodNullable<z.ZodString>;
|
|
7162
|
+
error: z.ZodNullable<z.ZodString>;
|
|
7163
|
+
usage: z.ZodNullable<z.ZodObject<{
|
|
7164
|
+
inputTokens: z.ZodInt;
|
|
7165
|
+
outputTokens: z.ZodInt;
|
|
7166
|
+
cachedInputTokens: z.ZodInt;
|
|
7167
|
+
}, z.core.$strict>>;
|
|
7168
|
+
costUsd: z.ZodNullable<z.ZodNumber>;
|
|
7169
|
+
billing: z.ZodNullable<z.ZodEnum<{
|
|
7170
|
+
unknown: "unknown";
|
|
7171
|
+
subscription: "subscription";
|
|
7172
|
+
api: "api";
|
|
7173
|
+
}>>;
|
|
7174
|
+
startedBy: z.ZodNullable<z.ZodObject<{
|
|
7175
|
+
kind: z.ZodEnum<{
|
|
7176
|
+
web: "web";
|
|
7177
|
+
agent: "agent";
|
|
7178
|
+
other: "other";
|
|
7179
|
+
this_computer: "this_computer";
|
|
7180
|
+
phone: "phone";
|
|
7181
|
+
}>;
|
|
7182
|
+
label: z.ZodString;
|
|
7183
|
+
}, z.core.$strict>>;
|
|
7184
|
+
}, z.core.$strict>>;
|
|
7185
|
+
queued: z.ZodBoolean;
|
|
7186
|
+
}, z.core.$strict>;
|
|
7187
|
+
type CodingSendResult = z.output<typeof CodingSendResult>;
|
|
7188
|
+
declare const CodingSessionsListResult: z.ZodObject<{
|
|
7189
|
+
sessions: z.ZodArray<z.ZodObject<{
|
|
7190
|
+
id: z.ZodString;
|
|
7191
|
+
provider: z.ZodEnum<{
|
|
7192
|
+
claude: "claude";
|
|
7193
|
+
codex: "codex";
|
|
7194
|
+
}>;
|
|
7195
|
+
providerSessionId: z.ZodNullable<z.ZodString>;
|
|
7196
|
+
cwd: z.ZodString;
|
|
7197
|
+
title: z.ZodString;
|
|
7198
|
+
model: z.ZodNullable<z.ZodString>;
|
|
7199
|
+
effort: z.ZodNullable<z.ZodString>;
|
|
7200
|
+
origin: z.ZodEnum<{
|
|
7201
|
+
started: "started";
|
|
7202
|
+
takeover: "takeover";
|
|
7203
|
+
}>;
|
|
7204
|
+
createdAt: z.ZodString;
|
|
7205
|
+
updatedAt: z.ZodString;
|
|
7206
|
+
lastRunId: z.ZodNullable<z.ZodString>;
|
|
7207
|
+
lastRunStatus: z.ZodNullable<z.ZodEnum<{
|
|
7208
|
+
completed: "completed";
|
|
7209
|
+
running: "running";
|
|
7210
|
+
failed: "failed";
|
|
7211
|
+
stopped: "stopped";
|
|
7212
|
+
starting: "starting";
|
|
7213
|
+
}>>;
|
|
7214
|
+
queued: z.ZodArray<z.ZodString>;
|
|
7215
|
+
agent: z.ZodNullable<z.ZodObject<{
|
|
7216
|
+
agentId: z.ZodString;
|
|
7217
|
+
versionId: z.ZodNullable<z.ZodString>;
|
|
7218
|
+
versionNumber: z.ZodNullable<z.ZodInt>;
|
|
7219
|
+
name: z.ZodString;
|
|
7220
|
+
definitionHash: z.ZodString;
|
|
7221
|
+
loaded: z.ZodArray<z.ZodObject<{
|
|
7222
|
+
part: z.ZodEnum<{
|
|
7223
|
+
tools: "tools";
|
|
7224
|
+
instructions: "instructions";
|
|
7225
|
+
skills: "skills";
|
|
7226
|
+
}>;
|
|
7227
|
+
loaded: z.ZodInt;
|
|
7228
|
+
total: z.ZodInt;
|
|
7229
|
+
}, z.core.$strict>>;
|
|
7230
|
+
unavailable: z.ZodArray<z.ZodObject<{
|
|
7231
|
+
kind: z.ZodString;
|
|
7232
|
+
name: z.ZodString;
|
|
7233
|
+
reason: z.ZodString;
|
|
7234
|
+
}, z.core.$strict>>;
|
|
7235
|
+
skills: z.ZodArray<z.ZodString>;
|
|
7236
|
+
tools: z.ZodArray<z.ZodString>;
|
|
7237
|
+
variables: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
7238
|
+
blockDue: z.ZodBoolean;
|
|
7239
|
+
deliveredAt: z.ZodNullable<z.ZodString>;
|
|
7240
|
+
replaces: z.ZodNullable<z.ZodString>;
|
|
7241
|
+
}, z.core.$strict>>;
|
|
7242
|
+
agentRemovedDue: z.ZodBoolean;
|
|
7243
|
+
}, z.core.$strict>>;
|
|
7244
|
+
runs: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
7245
|
+
runId: z.ZodString;
|
|
7246
|
+
sessionId: z.ZodString;
|
|
7247
|
+
provider: z.ZodEnum<{
|
|
7248
|
+
claude: "claude";
|
|
7249
|
+
codex: "codex";
|
|
7250
|
+
}>;
|
|
7251
|
+
cwd: z.ZodString;
|
|
7252
|
+
prompt: z.ZodString;
|
|
7253
|
+
model: z.ZodNullable<z.ZodString>;
|
|
7254
|
+
status: z.ZodEnum<{
|
|
7255
|
+
completed: "completed";
|
|
7256
|
+
running: "running";
|
|
7257
|
+
failed: "failed";
|
|
7258
|
+
stopped: "stopped";
|
|
7259
|
+
starting: "starting";
|
|
7260
|
+
}>;
|
|
7261
|
+
startedAt: z.ZodString;
|
|
7262
|
+
endedAt: z.ZodNullable<z.ZodString>;
|
|
7263
|
+
error: z.ZodNullable<z.ZodString>;
|
|
7264
|
+
usage: z.ZodNullable<z.ZodObject<{
|
|
7265
|
+
inputTokens: z.ZodInt;
|
|
7266
|
+
outputTokens: z.ZodInt;
|
|
7267
|
+
cachedInputTokens: z.ZodInt;
|
|
7268
|
+
}, z.core.$strict>>;
|
|
7269
|
+
costUsd: z.ZodNullable<z.ZodNumber>;
|
|
7270
|
+
billing: z.ZodNullable<z.ZodEnum<{
|
|
7271
|
+
unknown: "unknown";
|
|
7272
|
+
subscription: "subscription";
|
|
7273
|
+
api: "api";
|
|
7274
|
+
}>>;
|
|
7275
|
+
startedBy: z.ZodNullable<z.ZodObject<{
|
|
7276
|
+
kind: z.ZodEnum<{
|
|
7277
|
+
web: "web";
|
|
7278
|
+
agent: "agent";
|
|
7279
|
+
other: "other";
|
|
7280
|
+
this_computer: "this_computer";
|
|
7281
|
+
phone: "phone";
|
|
7282
|
+
}>;
|
|
7283
|
+
label: z.ZodString;
|
|
7284
|
+
}, z.core.$strict>>;
|
|
7285
|
+
}, z.core.$strict>>;
|
|
7286
|
+
recent: z.ZodArray<z.ZodObject<{
|
|
7287
|
+
target: z.ZodString;
|
|
7288
|
+
title: z.ZodString;
|
|
7289
|
+
provider: z.ZodEnum<{
|
|
7290
|
+
claude: "claude";
|
|
7291
|
+
codex: "codex";
|
|
7292
|
+
}>;
|
|
7293
|
+
sessionId: z.ZodNullable<z.ZodString>;
|
|
7294
|
+
providerSessionId: z.ZodNullable<z.ZodString>;
|
|
7295
|
+
cwd: z.ZodNullable<z.ZodString>;
|
|
7296
|
+
updatedAt: z.ZodString;
|
|
7297
|
+
state: z.ZodEnum<{
|
|
7298
|
+
running: "running";
|
|
7299
|
+
idle: "idle";
|
|
7300
|
+
needs_attention: "needs_attention";
|
|
7301
|
+
new_output: "new_output";
|
|
7302
|
+
elsewhere: "elsewhere";
|
|
7303
|
+
}>;
|
|
7304
|
+
stateLabel: z.ZodNullable<z.ZodString>;
|
|
7305
|
+
pinned: z.ZodBoolean;
|
|
7306
|
+
startedBy: z.ZodNullable<z.ZodObject<{
|
|
7307
|
+
kind: z.ZodEnum<{
|
|
7308
|
+
web: "web";
|
|
7309
|
+
agent: "agent";
|
|
7310
|
+
other: "other";
|
|
7311
|
+
this_computer: "this_computer";
|
|
7312
|
+
phone: "phone";
|
|
7313
|
+
}>;
|
|
7314
|
+
label: z.ZodString;
|
|
7315
|
+
}, z.core.$strict>>;
|
|
7316
|
+
}, z.core.$strict>>;
|
|
7317
|
+
title_status: z.ZodObject<{
|
|
7318
|
+
owner: z.ZodBoolean;
|
|
7319
|
+
pending: z.ZodBoolean;
|
|
7320
|
+
problem: z.ZodNullable<z.ZodString>;
|
|
7321
|
+
renames: z.ZodNullable<z.ZodString>;
|
|
7322
|
+
}, z.core.$strict>;
|
|
7323
|
+
}, z.core.$strict>;
|
|
7324
|
+
type CodingSessionsListResult = z.output<typeof CodingSessionsListResult>;
|
|
7325
|
+
declare const CodingSearchResult: z.ZodObject<{
|
|
7326
|
+
query: z.ZodString;
|
|
7327
|
+
hits: z.ZodArray<z.ZodObject<{
|
|
7328
|
+
provider: z.ZodEnum<{
|
|
7329
|
+
claude: "claude";
|
|
7330
|
+
codex: "codex";
|
|
7331
|
+
}>;
|
|
7332
|
+
providerSessionId: z.ZodString;
|
|
7333
|
+
title: z.ZodString;
|
|
7334
|
+
cwd: z.ZodNullable<z.ZodString>;
|
|
7335
|
+
updatedAt: z.ZodString;
|
|
7336
|
+
where: z.ZodEnum<{
|
|
7337
|
+
content: "content";
|
|
7338
|
+
title: "title";
|
|
7339
|
+
}>;
|
|
7340
|
+
snippet: z.ZodNullable<z.ZodString>;
|
|
7341
|
+
}, z.core.$strict>>;
|
|
7342
|
+
scanned: z.ZodInt;
|
|
7343
|
+
total: z.ZodInt;
|
|
7344
|
+
nextCursor: z.ZodNullable<z.ZodInt>;
|
|
7345
|
+
}, z.core.$strict>;
|
|
7346
|
+
type CodingSearchResult = z.output<typeof CodingSearchResult>;
|
|
7347
|
+
declare const CodingTranscriptRawResult: z.ZodObject<{
|
|
7348
|
+
available: z.ZodBoolean;
|
|
7349
|
+
reason: z.ZodNullable<z.ZodString>;
|
|
7350
|
+
file_name: z.ZodNullable<z.ZodString>;
|
|
7351
|
+
bytes: z.ZodInt;
|
|
7352
|
+
backup_refreshed: z.ZodBoolean;
|
|
7353
|
+
subagents: z.ZodInt;
|
|
7354
|
+
}, z.core.$strict>;
|
|
7355
|
+
type CodingTranscriptRawResult = z.output<typeof CodingTranscriptRawResult>;
|
|
7356
|
+
declare const CodingChangedEvent: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
7357
|
+
kind: z.ZodLiteral<"session">;
|
|
7358
|
+
session: z.ZodObject<{
|
|
7359
|
+
id: z.ZodString;
|
|
7360
|
+
provider: z.ZodEnum<{
|
|
7361
|
+
claude: "claude";
|
|
7362
|
+
codex: "codex";
|
|
7363
|
+
}>;
|
|
7364
|
+
providerSessionId: z.ZodNullable<z.ZodString>;
|
|
7365
|
+
cwd: z.ZodString;
|
|
7366
|
+
title: z.ZodString;
|
|
7367
|
+
model: z.ZodNullable<z.ZodString>;
|
|
7368
|
+
effort: z.ZodNullable<z.ZodString>;
|
|
7369
|
+
origin: z.ZodEnum<{
|
|
7370
|
+
started: "started";
|
|
7371
|
+
takeover: "takeover";
|
|
7372
|
+
}>;
|
|
7373
|
+
createdAt: z.ZodString;
|
|
7374
|
+
updatedAt: z.ZodString;
|
|
7375
|
+
lastRunId: z.ZodNullable<z.ZodString>;
|
|
7376
|
+
lastRunStatus: z.ZodNullable<z.ZodEnum<{
|
|
7377
|
+
completed: "completed";
|
|
7378
|
+
running: "running";
|
|
7379
|
+
failed: "failed";
|
|
7380
|
+
stopped: "stopped";
|
|
7381
|
+
starting: "starting";
|
|
7382
|
+
}>>;
|
|
7383
|
+
queued: z.ZodArray<z.ZodString>;
|
|
7384
|
+
agent: z.ZodNullable<z.ZodObject<{
|
|
7385
|
+
agentId: z.ZodString;
|
|
7386
|
+
versionId: z.ZodNullable<z.ZodString>;
|
|
7387
|
+
versionNumber: z.ZodNullable<z.ZodInt>;
|
|
7388
|
+
name: z.ZodString;
|
|
7389
|
+
definitionHash: z.ZodString;
|
|
7390
|
+
loaded: z.ZodArray<z.ZodObject<{
|
|
7391
|
+
part: z.ZodEnum<{
|
|
7392
|
+
tools: "tools";
|
|
7393
|
+
instructions: "instructions";
|
|
7394
|
+
skills: "skills";
|
|
7395
|
+
}>;
|
|
7396
|
+
loaded: z.ZodInt;
|
|
7397
|
+
total: z.ZodInt;
|
|
7398
|
+
}, z.core.$strict>>;
|
|
7399
|
+
unavailable: z.ZodArray<z.ZodObject<{
|
|
7400
|
+
kind: z.ZodString;
|
|
7401
|
+
name: z.ZodString;
|
|
7402
|
+
reason: z.ZodString;
|
|
7403
|
+
}, z.core.$strict>>;
|
|
7404
|
+
skills: z.ZodArray<z.ZodString>;
|
|
7405
|
+
tools: z.ZodArray<z.ZodString>;
|
|
7406
|
+
variables: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
7407
|
+
blockDue: z.ZodBoolean;
|
|
7408
|
+
deliveredAt: z.ZodNullable<z.ZodString>;
|
|
7409
|
+
replaces: z.ZodNullable<z.ZodString>;
|
|
7410
|
+
}, z.core.$strict>>;
|
|
7411
|
+
agentRemovedDue: z.ZodBoolean;
|
|
7412
|
+
}, z.core.$strict>;
|
|
7413
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
7414
|
+
kind: z.ZodLiteral<"run">;
|
|
7415
|
+
run: z.ZodObject<{
|
|
7416
|
+
runId: z.ZodString;
|
|
7417
|
+
sessionId: z.ZodString;
|
|
7418
|
+
provider: z.ZodEnum<{
|
|
7419
|
+
claude: "claude";
|
|
7420
|
+
codex: "codex";
|
|
7421
|
+
}>;
|
|
7422
|
+
cwd: z.ZodString;
|
|
7423
|
+
prompt: z.ZodString;
|
|
7424
|
+
model: z.ZodNullable<z.ZodString>;
|
|
7425
|
+
status: z.ZodEnum<{
|
|
7426
|
+
completed: "completed";
|
|
7427
|
+
running: "running";
|
|
7428
|
+
failed: "failed";
|
|
7429
|
+
stopped: "stopped";
|
|
7430
|
+
starting: "starting";
|
|
7431
|
+
}>;
|
|
7432
|
+
startedAt: z.ZodString;
|
|
7433
|
+
endedAt: z.ZodNullable<z.ZodString>;
|
|
7434
|
+
error: z.ZodNullable<z.ZodString>;
|
|
7435
|
+
usage: z.ZodNullable<z.ZodObject<{
|
|
7436
|
+
inputTokens: z.ZodInt;
|
|
7437
|
+
outputTokens: z.ZodInt;
|
|
7438
|
+
cachedInputTokens: z.ZodInt;
|
|
7439
|
+
}, z.core.$strict>>;
|
|
7440
|
+
costUsd: z.ZodNullable<z.ZodNumber>;
|
|
7441
|
+
billing: z.ZodNullable<z.ZodEnum<{
|
|
7442
|
+
unknown: "unknown";
|
|
7443
|
+
subscription: "subscription";
|
|
7444
|
+
api: "api";
|
|
7445
|
+
}>>;
|
|
7446
|
+
startedBy: z.ZodNullable<z.ZodObject<{
|
|
7447
|
+
kind: z.ZodEnum<{
|
|
7448
|
+
web: "web";
|
|
7449
|
+
agent: "agent";
|
|
7450
|
+
other: "other";
|
|
7451
|
+
this_computer: "this_computer";
|
|
7452
|
+
phone: "phone";
|
|
7453
|
+
}>;
|
|
7454
|
+
label: z.ZodString;
|
|
7455
|
+
}, z.core.$strict>>;
|
|
7456
|
+
}, z.core.$strict>;
|
|
7457
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
7458
|
+
kind: z.ZodLiteral<"preferences">;
|
|
7459
|
+
preferences: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
7460
|
+
title: z.ZodNullable<z.ZodString>;
|
|
7461
|
+
pinned: z.ZodBoolean;
|
|
7462
|
+
hidden: z.ZodBoolean;
|
|
7463
|
+
lastSeenAt: z.ZodNullable<z.ZodString>;
|
|
7464
|
+
updatedAt: z.ZodNullable<z.ZodString>;
|
|
7465
|
+
}, z.core.$strict>>;
|
|
7466
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
7467
|
+
kind: z.ZodLiteral<"titles">;
|
|
7468
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
7469
|
+
kind: z.ZodLiteral<"recent">;
|
|
7470
|
+
recent: z.ZodArray<z.ZodObject<{
|
|
7471
|
+
target: z.ZodString;
|
|
7472
|
+
title: z.ZodString;
|
|
7473
|
+
provider: z.ZodEnum<{
|
|
7474
|
+
claude: "claude";
|
|
7475
|
+
codex: "codex";
|
|
7476
|
+
}>;
|
|
7477
|
+
sessionId: z.ZodNullable<z.ZodString>;
|
|
7478
|
+
providerSessionId: z.ZodNullable<z.ZodString>;
|
|
7479
|
+
cwd: z.ZodNullable<z.ZodString>;
|
|
7480
|
+
updatedAt: z.ZodString;
|
|
7481
|
+
state: z.ZodEnum<{
|
|
7482
|
+
running: "running";
|
|
7483
|
+
idle: "idle";
|
|
7484
|
+
needs_attention: "needs_attention";
|
|
7485
|
+
new_output: "new_output";
|
|
7486
|
+
elsewhere: "elsewhere";
|
|
7487
|
+
}>;
|
|
7488
|
+
stateLabel: z.ZodNullable<z.ZodString>;
|
|
7489
|
+
pinned: z.ZodBoolean;
|
|
7490
|
+
startedBy: z.ZodNullable<z.ZodObject<{
|
|
7491
|
+
kind: z.ZodEnum<{
|
|
7492
|
+
web: "web";
|
|
7493
|
+
agent: "agent";
|
|
7494
|
+
other: "other";
|
|
7495
|
+
this_computer: "this_computer";
|
|
7496
|
+
phone: "phone";
|
|
7497
|
+
}>;
|
|
7498
|
+
label: z.ZodString;
|
|
7499
|
+
}, z.core.$strict>>;
|
|
7500
|
+
}, z.core.$strict>>;
|
|
7501
|
+
}, z.core.$strict>], "kind">;
|
|
7502
|
+
type CodingChangedEvent = z.output<typeof CodingChangedEvent>;
|
|
7503
|
+
/** Repeated every heartbeat: a watcher that hears nothing for 2.5× the beat says "Not live". */
|
|
7504
|
+
declare const CodingWatchStateEvent: z.ZodObject<{
|
|
7505
|
+
live: z.ZodBoolean;
|
|
7506
|
+
reason: z.ZodNullable<z.ZodString>;
|
|
7507
|
+
beat_ms: z.ZodInt;
|
|
7508
|
+
}, z.core.$strict>;
|
|
7509
|
+
type CodingWatchStateEvent = z.output<typeof CodingWatchStateEvent>;
|
|
7510
|
+
declare const CodingItemEvent: z.ZodObject<{
|
|
7511
|
+
session_id: z.ZodString;
|
|
7512
|
+
run_id: z.ZodString;
|
|
7513
|
+
seq: z.ZodInt;
|
|
7514
|
+
item: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
7515
|
+
kind: z.ZodLiteral<"user">;
|
|
7516
|
+
id: z.ZodString;
|
|
7517
|
+
text: z.ZodString;
|
|
7518
|
+
at: z.ZodNullable<z.ZodString>;
|
|
7519
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
7520
|
+
kind: z.ZodLiteral<"text">;
|
|
7521
|
+
id: z.ZodString;
|
|
7522
|
+
text: z.ZodString;
|
|
7523
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
7524
|
+
kind: z.ZodLiteral<"text-delta">;
|
|
7525
|
+
id: z.ZodString;
|
|
7526
|
+
text: z.ZodString;
|
|
7527
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
7528
|
+
kind: z.ZodLiteral<"reasoning">;
|
|
7529
|
+
id: z.ZodString;
|
|
7530
|
+
text: z.ZodString;
|
|
7531
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
7532
|
+
kind: z.ZodLiteral<"tool-call">;
|
|
7533
|
+
id: z.ZodString;
|
|
7534
|
+
name: z.ZodString;
|
|
7535
|
+
input: z.ZodUnknown;
|
|
7536
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
7537
|
+
kind: z.ZodLiteral<"tool-result">;
|
|
7538
|
+
id: z.ZodString;
|
|
7539
|
+
output: z.ZodString;
|
|
7540
|
+
isError: z.ZodBoolean;
|
|
7541
|
+
fullBytes: z.ZodOptional<z.ZodInt>;
|
|
7542
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
7543
|
+
kind: z.ZodLiteral<"usage">;
|
|
7544
|
+
usage: z.ZodObject<{
|
|
7545
|
+
inputTokens: z.ZodInt;
|
|
7546
|
+
outputTokens: z.ZodInt;
|
|
7547
|
+
cachedInputTokens: z.ZodInt;
|
|
7548
|
+
}, z.core.$strict>;
|
|
7549
|
+
costUsd: z.ZodNullable<z.ZodNumber>;
|
|
7550
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
7551
|
+
kind: z.ZodLiteral<"notice">;
|
|
7552
|
+
id: z.ZodString;
|
|
7553
|
+
level: z.ZodEnum<{
|
|
7554
|
+
warning: "warning";
|
|
7555
|
+
info: "info";
|
|
7556
|
+
}>;
|
|
7557
|
+
text: z.ZodString;
|
|
7558
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
7559
|
+
kind: z.ZodLiteral<"error">;
|
|
7560
|
+
id: z.ZodString;
|
|
7561
|
+
text: z.ZodString;
|
|
7562
|
+
}, z.core.$strict>], "kind">;
|
|
7563
|
+
}, z.core.$strict>;
|
|
7564
|
+
type CodingItemEvent = z.output<typeof CodingItemEvent>;
|
|
7565
|
+
/** Items between `since_seq` and `seq` are no longer held: read history again. */
|
|
7566
|
+
declare const CodingGapEvent: z.ZodObject<{
|
|
7567
|
+
session_id: z.ZodString;
|
|
7568
|
+
since_seq: z.ZodInt;
|
|
7569
|
+
seq: z.ZodInt;
|
|
7570
|
+
}, z.core.$strict>;
|
|
7571
|
+
type CodingGapEvent = z.output<typeof CodingGapEvent>;
|
|
7572
|
+
declare const CodingStartParams: z.ZodObject<{
|
|
7573
|
+
provider: z.ZodEnum<{
|
|
7574
|
+
claude: "claude";
|
|
7575
|
+
codex: "codex";
|
|
7576
|
+
}>;
|
|
7577
|
+
cwd: z.ZodString;
|
|
7578
|
+
prompt: z.ZodString;
|
|
7579
|
+
model: z.ZodOptional<z.ZodString>;
|
|
7580
|
+
effort: z.ZodOptional<z.ZodString>;
|
|
7581
|
+
agent: z.ZodOptional<z.ZodObject<{
|
|
7582
|
+
agent_id: z.ZodString;
|
|
7583
|
+
version_id: z.ZodOptional<z.ZodString>;
|
|
7584
|
+
variables: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
7585
|
+
}, z.core.$strict>>;
|
|
7586
|
+
account_profile_id: z.ZodOptional<z.ZodString>;
|
|
7587
|
+
client_request_id: z.ZodString;
|
|
7588
|
+
}, z.core.$strict>;
|
|
7589
|
+
type CodingStartParams = z.output<typeof CodingStartParams>;
|
|
7590
|
+
/**
|
|
7591
|
+
* Continue a chat from another app here. When it is live elsewhere the core refuses with
|
|
7592
|
+
* RESOURCE_BUSY carrying the sentence, unless `confirm_elsewhere` (the person saw the warning).
|
|
7593
|
+
*/
|
|
7594
|
+
declare const CodingTakeoverParams: z.ZodObject<{
|
|
7595
|
+
provider: z.ZodEnum<{
|
|
7596
|
+
claude: "claude";
|
|
7597
|
+
codex: "codex";
|
|
7598
|
+
}>;
|
|
7599
|
+
provider_session_id: z.ZodString;
|
|
7600
|
+
cwd: z.ZodString;
|
|
7601
|
+
title: z.ZodOptional<z.ZodString>;
|
|
7602
|
+
agent: z.ZodOptional<z.ZodObject<{
|
|
7603
|
+
agent_id: z.ZodString;
|
|
7604
|
+
version_id: z.ZodOptional<z.ZodString>;
|
|
7605
|
+
variables: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
7606
|
+
}, z.core.$strict>>;
|
|
7607
|
+
confirm_elsewhere: z.ZodOptional<z.ZodBoolean>;
|
|
7608
|
+
}, z.core.$strict>;
|
|
7609
|
+
type CodingTakeoverParams = z.output<typeof CodingTakeoverParams>;
|
|
7610
|
+
declare const CodingReconcileResult: z.ZodObject<{
|
|
7611
|
+
state: z.ZodEnum<{
|
|
7612
|
+
done: "done";
|
|
7613
|
+
blocked: "blocked";
|
|
7614
|
+
nothing_to_do: "nothing_to_do";
|
|
7615
|
+
}>;
|
|
7616
|
+
summary: z.ZodString;
|
|
7617
|
+
}, z.core.$strict>;
|
|
7618
|
+
type CodingReconcileResult = z.output<typeof CodingReconcileResult>;
|
|
7619
|
+
|
|
7620
|
+
/**
|
|
7621
|
+
* @ai-matrx/desktop-protocol — cap browser (protocol 1.28): the AI Matrx browser extension as a
|
|
7622
|
+
* client of Matrx 2, and Matrx 2's agents driving it. Schema source: lint-enforced rules in
|
|
7623
|
+
* scripts/check-schema-source.mjs.
|
|
7624
|
+
*
|
|
7625
|
+
* The extension finds Matrx 2 with `GET /v1/health` (DesktopHealth, public, no token), pairs once
|
|
7626
|
+
* with `POST /v1/pair` (BrowserPairRequest → BrowserPairResult, loopback + an allowed extension
|
|
7627
|
+
* Origin), connects to `/v1/connect` as clientType "extension" with `bearer.<pair token>`, says
|
|
7628
|
+
* hello as usual (the envelope is unchanged) and then `browser.register` — once the welcome lists
|
|
7629
|
+
* it. Matrx 2 checks the extension's account against the device owner; only a session of the same
|
|
7630
|
+
* account is ever driven. An agent's call (`browser.call`) reaches exactly one session as the event
|
|
7631
|
+
* `browser.invoke`; the extension answers with `browser.result` (accepted only from that session)
|
|
7632
|
+
* and may say `browser.progress` while a person confirms the action in Chrome.
|
|
7633
|
+
*/
|
|
7634
|
+
|
|
7635
|
+
/** Stable per Chrome profile (the extension mints it once): one session per instance. */
|
|
7636
|
+
declare const BrowserClientInstance: z.ZodString;
|
|
7637
|
+
declare const BrowserRegisterResult: z.ZodObject<{
|
|
7638
|
+
session: z.ZodObject<{
|
|
7639
|
+
client_instance: z.ZodString;
|
|
7640
|
+
client_label: z.ZodString;
|
|
7641
|
+
browser: z.ZodEnum<{
|
|
7642
|
+
other: "other";
|
|
7643
|
+
chrome: "chrome";
|
|
7644
|
+
edge: "edge";
|
|
7645
|
+
brave: "brave";
|
|
7646
|
+
arc: "arc";
|
|
7647
|
+
opera: "opera";
|
|
7648
|
+
vivaldi: "vivaldi";
|
|
7649
|
+
chromium: "chromium";
|
|
7650
|
+
firefox: "firefox";
|
|
7651
|
+
}>;
|
|
7652
|
+
extension_version: z.ZodString;
|
|
7653
|
+
state: z.ZodEnum<{
|
|
7654
|
+
connected: "connected";
|
|
7655
|
+
different_account: "different_account";
|
|
7656
|
+
extension_signed_out: "extension_signed_out";
|
|
7657
|
+
device_signed_out: "device_signed_out";
|
|
7658
|
+
unverified: "unverified";
|
|
7659
|
+
}>;
|
|
7660
|
+
routable: z.ZodBoolean;
|
|
7661
|
+
account_email: z.ZodNullable<z.ZodString>;
|
|
7662
|
+
connected_at_ms: z.ZodInt;
|
|
7663
|
+
last_call_at_ms: z.ZodNullable<z.ZodInt>;
|
|
7664
|
+
calls: z.ZodInt;
|
|
7665
|
+
errors: z.ZodInt;
|
|
7666
|
+
p50_ms: z.ZodNullable<z.ZodInt>;
|
|
7667
|
+
p95_ms: z.ZodNullable<z.ZodInt>;
|
|
7668
|
+
awaiting_confirmation: z.ZodBoolean;
|
|
7669
|
+
}, z.core.$strict>;
|
|
7670
|
+
}, z.core.$strict>;
|
|
7671
|
+
declare const BrowserCallError: z.ZodObject<{
|
|
7672
|
+
message: z.ZodString;
|
|
7673
|
+
code: z.ZodNullable<z.ZodString>;
|
|
7674
|
+
}, z.core.$strict>;
|
|
7675
|
+
declare const BrowserResultResult: z.ZodObject<{
|
|
7676
|
+
accepted: z.ZodBoolean;
|
|
7677
|
+
}, z.core.$strict>;
|
|
7678
|
+
/** The extension says where a call stands (the person is being asked to confirm it). */
|
|
7679
|
+
declare const BrowserProgressParams: z.ZodObject<{
|
|
7680
|
+
call_id: z.ZodString;
|
|
7681
|
+
phase: z.ZodEnum<{
|
|
7682
|
+
awaiting_confirmation: "awaiting_confirmation";
|
|
7683
|
+
running: "running";
|
|
7684
|
+
}>;
|
|
7685
|
+
}, z.core.$strict>;
|
|
7686
|
+
declare const BrowserProgressResult: z.ZodObject<{
|
|
7687
|
+
accepted: z.ZodBoolean;
|
|
7688
|
+
}, z.core.$strict>;
|
|
7689
|
+
declare const BrowserSessionsParams: z.ZodObject<{}, z.core.$strict>;
|
|
7690
|
+
declare const BrowserDisconnectParams: z.ZodObject<{
|
|
7691
|
+
client_instance: z.ZodString;
|
|
7692
|
+
}, z.core.$strict>;
|
|
7693
|
+
declare const BrowserDisconnectResult: z.ZodObject<{
|
|
7694
|
+
disconnected: z.ZodBoolean;
|
|
7695
|
+
}, z.core.$strict>;
|
|
7696
|
+
declare const BrowserSetEnabledParams: z.ZodObject<{
|
|
7697
|
+
enabled: z.ZodBoolean;
|
|
7698
|
+
}, z.core.$strict>;
|
|
7699
|
+
declare const BrowserSetEnabledResult: z.ZodObject<{
|
|
7700
|
+
enabled: z.ZodBoolean;
|
|
7701
|
+
}, z.core.$strict>;
|
|
7702
|
+
/** The pairing code a browser on another computer types in (screen clients on this computer only). */
|
|
7703
|
+
declare const BrowserPairCodeParams: z.ZodObject<{}, z.core.$strict>;
|
|
7704
|
+
declare const BrowserPairCodeResult: z.ZodObject<{
|
|
7705
|
+
code: z.ZodString;
|
|
7706
|
+
}, z.core.$strict>;
|
|
7707
|
+
declare const BrowserPairResetParams: z.ZodObject<{}, z.core.$strict>;
|
|
7708
|
+
declare const BrowserToolMetricsParams: z.ZodObject<{
|
|
7709
|
+
client_instance: z.ZodString;
|
|
7710
|
+
}, z.core.$strict>;
|
|
7711
|
+
declare const BrowserResetCountersParams: z.ZodObject<{
|
|
7712
|
+
client_instance: z.ZodString;
|
|
7713
|
+
}, z.core.$strict>;
|
|
7714
|
+
/** `reset` false: that browser is not connected (its numbers by tool were cleared all the same). */
|
|
7715
|
+
declare const BrowserResetCountersResult: z.ZodObject<{
|
|
7716
|
+
reset: z.ZodBoolean;
|
|
7717
|
+
}, z.core.$strict>;
|
|
7718
|
+
/** Core → the app's screens: the session list changed (re-read browser.sessions). */
|
|
7719
|
+
declare const BrowserSessionsChangedEvent: z.ZodObject<{
|
|
7720
|
+
count: z.ZodInt;
|
|
7721
|
+
enabled: z.ZodBoolean;
|
|
7722
|
+
}, z.core.$strict>;
|
|
7723
|
+
/** Core → the caller of a browser.call: where it stands. */
|
|
7724
|
+
declare const BrowserProgressEvent: z.ZodObject<{
|
|
7725
|
+
call_id: z.ZodString;
|
|
7726
|
+
client_instance: z.ZodString;
|
|
7727
|
+
phase: z.ZodEnum<{
|
|
7728
|
+
awaiting_confirmation: "awaiting_confirmation";
|
|
7729
|
+
running: "running";
|
|
7730
|
+
}>;
|
|
7731
|
+
}, z.core.$strict>;
|
|
7732
|
+
/** `POST /v1/pair` body. */
|
|
7733
|
+
declare const BrowserPairRequest: z.ZodObject<{
|
|
7734
|
+
client_instance: z.ZodString;
|
|
7735
|
+
}, z.core.$strict>;
|
|
7736
|
+
/**
|
|
7737
|
+
* The extension IDs allowed to pair (Origin `chrome-extension://<id>`): the Chrome Web Store build
|
|
7738
|
+
* and the keyed development build. matrx-extend's src/config/identity.ts names the same IDs; this
|
|
7739
|
+
* constant is the one both sides read. The development ID is accepted only by development builds.
|
|
7740
|
+
*/
|
|
7741
|
+
declare const MATRX_EXTENSION_IDS: {
|
|
7742
|
+
readonly store: "hnfolienncfklkgmdjjmhhegglimlamg";
|
|
7743
|
+
readonly development: "cihdmkcdjjckfhjpgoedmgfpoljebaml";
|
|
7744
|
+
};
|
|
7745
|
+
/** The discovery file Matrx 2 writes under ~/.matrx (Matrx Local keeps local.json). */
|
|
7746
|
+
declare const DISCOVERY_FILE: {
|
|
7747
|
+
readonly live: "matrx2.json";
|
|
7748
|
+
readonly development: "matrx2-dev.json";
|
|
7749
|
+
};
|
|
7750
|
+
/** The browser the extension runs in, as the extension reports it. */
|
|
7751
|
+
declare const BrowserKind: z.ZodEnum<{
|
|
7752
|
+
other: "other";
|
|
7753
|
+
chrome: "chrome";
|
|
7754
|
+
edge: "edge";
|
|
7755
|
+
brave: "brave";
|
|
7756
|
+
arc: "arc";
|
|
7757
|
+
opera: "opera";
|
|
7758
|
+
vivaldi: "vivaldi";
|
|
7759
|
+
chromium: "chromium";
|
|
7760
|
+
firefox: "firefox";
|
|
7761
|
+
}>;
|
|
7762
|
+
type BrowserKind = z.output<typeof BrowserKind>;
|
|
7763
|
+
/**
|
|
7764
|
+
* Whether this computer's agents may drive the session:
|
|
7765
|
+
* - `connected` — same account as the device owner: routable;
|
|
7766
|
+
* - `different_account` — the extension is signed in to another AI Matrx account: listed, never driven;
|
|
7767
|
+
* - `extension_signed_out` — the extension is signed out of AI Matrx: listed, never driven;
|
|
7768
|
+
* - `device_signed_out` — Matrx 2 itself is signed out, so there is no owner to match: listed, never driven;
|
|
7769
|
+
* - `unverified` — the account could not be checked (no network, keys unavailable): retried on the next register.
|
|
7770
|
+
*/
|
|
7771
|
+
declare const BrowserSessionState: z.ZodEnum<{
|
|
7772
|
+
connected: "connected";
|
|
7773
|
+
different_account: "different_account";
|
|
7774
|
+
extension_signed_out: "extension_signed_out";
|
|
7775
|
+
device_signed_out: "device_signed_out";
|
|
7776
|
+
unverified: "unverified";
|
|
7777
|
+
}>;
|
|
7778
|
+
type BrowserSessionState = z.output<typeof BrowserSessionState>;
|
|
7779
|
+
declare const BrowserSession: z.ZodObject<{
|
|
7780
|
+
client_instance: z.ZodString;
|
|
7781
|
+
client_label: z.ZodString;
|
|
7782
|
+
browser: z.ZodEnum<{
|
|
7783
|
+
other: "other";
|
|
7784
|
+
chrome: "chrome";
|
|
7785
|
+
edge: "edge";
|
|
7786
|
+
brave: "brave";
|
|
7787
|
+
arc: "arc";
|
|
7788
|
+
opera: "opera";
|
|
7789
|
+
vivaldi: "vivaldi";
|
|
7790
|
+
chromium: "chromium";
|
|
7791
|
+
firefox: "firefox";
|
|
7792
|
+
}>;
|
|
7793
|
+
extension_version: z.ZodString;
|
|
7794
|
+
state: z.ZodEnum<{
|
|
7795
|
+
connected: "connected";
|
|
7796
|
+
different_account: "different_account";
|
|
7797
|
+
extension_signed_out: "extension_signed_out";
|
|
7798
|
+
device_signed_out: "device_signed_out";
|
|
7799
|
+
unverified: "unverified";
|
|
7800
|
+
}>;
|
|
7801
|
+
routable: z.ZodBoolean;
|
|
7802
|
+
account_email: z.ZodNullable<z.ZodString>;
|
|
7803
|
+
connected_at_ms: z.ZodInt;
|
|
7804
|
+
last_call_at_ms: z.ZodNullable<z.ZodInt>;
|
|
7805
|
+
calls: z.ZodInt;
|
|
7806
|
+
errors: z.ZodInt;
|
|
7807
|
+
p50_ms: z.ZodNullable<z.ZodInt>;
|
|
7808
|
+
p95_ms: z.ZodNullable<z.ZodInt>;
|
|
7809
|
+
awaiting_confirmation: z.ZodBoolean;
|
|
7810
|
+
}, z.core.$strict>;
|
|
7811
|
+
type BrowserSession = z.output<typeof BrowserSession>;
|
|
7812
|
+
declare const BrowserRegisterParams: z.ZodObject<{
|
|
7813
|
+
client_instance: z.ZodString;
|
|
7814
|
+
client_label: z.ZodString;
|
|
7815
|
+
browser: z.ZodEnum<{
|
|
7816
|
+
other: "other";
|
|
7817
|
+
chrome: "chrome";
|
|
7818
|
+
edge: "edge";
|
|
7819
|
+
brave: "brave";
|
|
7820
|
+
arc: "arc";
|
|
7821
|
+
opera: "opera";
|
|
7822
|
+
vivaldi: "vivaldi";
|
|
7823
|
+
chromium: "chromium";
|
|
7824
|
+
firefox: "firefox";
|
|
7825
|
+
}>;
|
|
7826
|
+
extension_version: z.ZodString;
|
|
7827
|
+
account_token: z.ZodNullable<z.ZodString>;
|
|
7828
|
+
}, z.core.$strict>;
|
|
7829
|
+
type BrowserRegisterParams = z.output<typeof BrowserRegisterParams>;
|
|
7830
|
+
/** The extension's answer to one `browser.invoke`. */
|
|
7831
|
+
declare const BrowserResultParams: z.ZodObject<{
|
|
7832
|
+
call_id: z.ZodString;
|
|
7833
|
+
ok: z.ZodBoolean;
|
|
7834
|
+
result: z.ZodUnknown;
|
|
7835
|
+
error: z.ZodNullable<z.ZodObject<{
|
|
7836
|
+
message: z.ZodString;
|
|
7837
|
+
code: z.ZodNullable<z.ZodString>;
|
|
7838
|
+
}, z.core.$strict>>;
|
|
7839
|
+
}, z.core.$strict>;
|
|
7840
|
+
type BrowserResultParams = z.output<typeof BrowserResultParams>;
|
|
7841
|
+
declare const BrowserCallPhase: z.ZodEnum<{
|
|
7842
|
+
awaiting_confirmation: "awaiting_confirmation";
|
|
7843
|
+
running: "running";
|
|
7844
|
+
}>;
|
|
7845
|
+
type BrowserCallPhase = z.output<typeof BrowserCallPhase>;
|
|
7846
|
+
declare const BrowserSessionsResult: z.ZodObject<{
|
|
7847
|
+
enabled: z.ZodBoolean;
|
|
7848
|
+
owner_signed_in: z.ZodBoolean;
|
|
7849
|
+
sessions: z.ZodArray<z.ZodObject<{
|
|
7850
|
+
client_instance: z.ZodString;
|
|
7851
|
+
client_label: z.ZodString;
|
|
7852
|
+
browser: z.ZodEnum<{
|
|
7853
|
+
other: "other";
|
|
7854
|
+
chrome: "chrome";
|
|
7855
|
+
edge: "edge";
|
|
7856
|
+
brave: "brave";
|
|
7857
|
+
arc: "arc";
|
|
7858
|
+
opera: "opera";
|
|
7859
|
+
vivaldi: "vivaldi";
|
|
7860
|
+
chromium: "chromium";
|
|
7861
|
+
firefox: "firefox";
|
|
7862
|
+
}>;
|
|
7863
|
+
extension_version: z.ZodString;
|
|
7864
|
+
state: z.ZodEnum<{
|
|
7865
|
+
connected: "connected";
|
|
7866
|
+
different_account: "different_account";
|
|
7867
|
+
extension_signed_out: "extension_signed_out";
|
|
7868
|
+
device_signed_out: "device_signed_out";
|
|
7869
|
+
unverified: "unverified";
|
|
7870
|
+
}>;
|
|
7871
|
+
routable: z.ZodBoolean;
|
|
7872
|
+
account_email: z.ZodNullable<z.ZodString>;
|
|
7873
|
+
connected_at_ms: z.ZodInt;
|
|
7874
|
+
last_call_at_ms: z.ZodNullable<z.ZodInt>;
|
|
7875
|
+
calls: z.ZodInt;
|
|
7876
|
+
errors: z.ZodInt;
|
|
7877
|
+
p50_ms: z.ZodNullable<z.ZodInt>;
|
|
7878
|
+
p95_ms: z.ZodNullable<z.ZodInt>;
|
|
7879
|
+
awaiting_confirmation: z.ZodBoolean;
|
|
7880
|
+
}, z.core.$strict>>;
|
|
7881
|
+
}, z.core.$strict>;
|
|
7882
|
+
type BrowserSessionsResult = z.output<typeof BrowserSessionsResult>;
|
|
7883
|
+
/**
|
|
7884
|
+
* Run one of the extension's own tools (any `chrome-extension` tool_def row) in one session. The
|
|
7885
|
+
* server validates `args` against that row's parameters; here they are opaque and size-capped.
|
|
7886
|
+
*/
|
|
7887
|
+
declare const BrowserCallParams: z.ZodObject<{
|
|
7888
|
+
tool: z.ZodString;
|
|
7889
|
+
args: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
7890
|
+
client_instance: z.ZodOptional<z.ZodString>;
|
|
7891
|
+
timeout_ms: z.ZodOptional<z.ZodInt>;
|
|
7892
|
+
}, z.core.$strict>;
|
|
7893
|
+
type BrowserCallParams = z.output<typeof BrowserCallParams>;
|
|
7894
|
+
declare const BrowserCallResult: z.ZodObject<{
|
|
7895
|
+
client_instance: z.ZodString;
|
|
7896
|
+
result: z.ZodUnknown;
|
|
7897
|
+
duration_ms: z.ZodInt;
|
|
7898
|
+
}, z.core.$strict>;
|
|
7899
|
+
type BrowserCallResult = z.output<typeof BrowserCallResult>;
|
|
7900
|
+
/** Core → one extension session: run this tool and answer with browser.result. */
|
|
7901
|
+
declare const BrowserInvokeEvent: z.ZodObject<{
|
|
7902
|
+
call_id: z.ZodString;
|
|
7903
|
+
tool: z.ZodString;
|
|
7904
|
+
args: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
7905
|
+
deadline_ms: z.ZodInt;
|
|
7906
|
+
}, z.core.$strict>;
|
|
7907
|
+
type BrowserInvokeEvent = z.output<typeof BrowserInvokeEvent>;
|
|
7908
|
+
/** `GET /v1/health`: public, no token, no user id. Matrx 2 never serves `/health` (Matrx Local's). */
|
|
7909
|
+
declare const DesktopHealth: z.ZodObject<{
|
|
7910
|
+
status: z.ZodLiteral<"ok">;
|
|
7911
|
+
service: z.ZodLiteral<"matrx-desktop">;
|
|
7912
|
+
version: z.ZodString;
|
|
7913
|
+
protocol_version: z.ZodString;
|
|
7914
|
+
ws_path: z.ZodLiteral<"/v1/connect">;
|
|
7915
|
+
device_id: z.ZodString;
|
|
7916
|
+
browser_connection: z.ZodEnum<{
|
|
7917
|
+
off: "off";
|
|
7918
|
+
on: "on";
|
|
7919
|
+
}>;
|
|
7920
|
+
}, z.core.$strict>;
|
|
7921
|
+
type DesktopHealth = z.output<typeof DesktopHealth>;
|
|
7922
|
+
declare const BrowserToolMetric: z.ZodObject<{
|
|
7923
|
+
tool: z.ZodString;
|
|
7924
|
+
calls: z.ZodInt;
|
|
7925
|
+
errors: z.ZodInt;
|
|
7926
|
+
p50_ms: z.ZodNullable<z.ZodInt>;
|
|
7927
|
+
p95_ms: z.ZodNullable<z.ZodInt>;
|
|
7928
|
+
last_call_at_ms: z.ZodNullable<z.ZodInt>;
|
|
7929
|
+
last_error: z.ZodNullable<z.ZodString>;
|
|
7930
|
+
}, z.core.$strict>;
|
|
7931
|
+
type BrowserToolMetric = z.output<typeof BrowserToolMetric>;
|
|
7932
|
+
declare const BrowserToolMetricsResult: z.ZodObject<{
|
|
7933
|
+
client_instance: z.ZodString;
|
|
7934
|
+
tools: z.ZodArray<z.ZodObject<{
|
|
7935
|
+
tool: z.ZodString;
|
|
7936
|
+
calls: z.ZodInt;
|
|
7937
|
+
errors: z.ZodInt;
|
|
7938
|
+
p50_ms: z.ZodNullable<z.ZodInt>;
|
|
7939
|
+
p95_ms: z.ZodNullable<z.ZodInt>;
|
|
7940
|
+
last_call_at_ms: z.ZodNullable<z.ZodInt>;
|
|
7941
|
+
last_error: z.ZodNullable<z.ZodString>;
|
|
7942
|
+
}, z.core.$strict>>;
|
|
7943
|
+
}, z.core.$strict>;
|
|
7944
|
+
type BrowserToolMetricsResult = z.output<typeof BrowserToolMetricsResult>;
|
|
7945
|
+
declare const BrowserLogMessage: z.ZodObject<{
|
|
7946
|
+
seq: z.ZodInt;
|
|
7947
|
+
at_ms: z.ZodInt;
|
|
7948
|
+
direction: z.ZodEnum<{
|
|
7949
|
+
core: "core";
|
|
7950
|
+
to_browser: "to_browser";
|
|
7951
|
+
from_browser: "from_browser";
|
|
7952
|
+
}>;
|
|
7953
|
+
client_instance: z.ZodString;
|
|
7954
|
+
kind: z.ZodEnum<{
|
|
7955
|
+
result: "result";
|
|
7956
|
+
timeout: "timeout";
|
|
7957
|
+
progress: "progress";
|
|
7958
|
+
closed: "closed";
|
|
7959
|
+
register: "register";
|
|
7960
|
+
invoke: "invoke";
|
|
7961
|
+
}>;
|
|
7962
|
+
tool: z.ZodNullable<z.ZodString>;
|
|
7963
|
+
call_id: z.ZodNullable<z.ZodString>;
|
|
7964
|
+
ok: z.ZodNullable<z.ZodBoolean>;
|
|
7965
|
+
detail: z.ZodString;
|
|
7966
|
+
}, z.core.$strict>;
|
|
7967
|
+
type BrowserLogMessage = z.output<typeof BrowserLogMessage>;
|
|
7968
|
+
declare const BrowserLogParams: z.ZodObject<{
|
|
7969
|
+
after_seq: z.ZodDefault<z.ZodInt>;
|
|
7970
|
+
limit: z.ZodDefault<z.ZodInt>;
|
|
7971
|
+
}, z.core.$strict>;
|
|
7972
|
+
type BrowserLogParams = z.output<typeof BrowserLogParams>;
|
|
7973
|
+
declare const BrowserLogResult: z.ZodObject<{
|
|
7974
|
+
messages: z.ZodArray<z.ZodObject<{
|
|
7975
|
+
seq: z.ZodInt;
|
|
7976
|
+
at_ms: z.ZodInt;
|
|
7977
|
+
direction: z.ZodEnum<{
|
|
7978
|
+
core: "core";
|
|
7979
|
+
to_browser: "to_browser";
|
|
7980
|
+
from_browser: "from_browser";
|
|
7981
|
+
}>;
|
|
7982
|
+
client_instance: z.ZodString;
|
|
7983
|
+
kind: z.ZodEnum<{
|
|
7984
|
+
result: "result";
|
|
7985
|
+
timeout: "timeout";
|
|
7986
|
+
progress: "progress";
|
|
7987
|
+
closed: "closed";
|
|
7988
|
+
register: "register";
|
|
7989
|
+
invoke: "invoke";
|
|
7990
|
+
}>;
|
|
7991
|
+
tool: z.ZodNullable<z.ZodString>;
|
|
7992
|
+
call_id: z.ZodNullable<z.ZodString>;
|
|
7993
|
+
ok: z.ZodNullable<z.ZodBoolean>;
|
|
7994
|
+
detail: z.ZodString;
|
|
7995
|
+
}, z.core.$strict>>;
|
|
7996
|
+
last_seq: z.ZodInt;
|
|
7997
|
+
}, z.core.$strict>;
|
|
7998
|
+
type BrowserLogResult = z.output<typeof BrowserLogResult>;
|
|
7999
|
+
/** `POST /v1/pair` answer: the token rides `bearer.<pair_token>` on /v1/connect. */
|
|
8000
|
+
declare const BrowserPairResult: z.ZodObject<{
|
|
8001
|
+
pair_token: z.ZodString;
|
|
8002
|
+
ws_path: z.ZodLiteral<"/v1/connect">;
|
|
8003
|
+
}, z.core.$strict>;
|
|
8004
|
+
type BrowserPairResult = z.output<typeof BrowserPairResult>;
|
|
8005
|
+
|
|
8006
|
+
/**
|
|
8007
|
+
* @ai-matrx/desktop-protocol — cap net (SPEC §6, §10 desktop_net): the computer's own network as it
|
|
8008
|
+
* sees it (interfaces, Wi-Fi, Bluetooth, the devices on the local network, Bonjour services, open
|
|
8009
|
+
* ports on a host) and downloads onto the computer. Matrx Local's local_net and local_web.download.
|
|
8010
|
+
* Served by the core's `net` owner. Schema source: lint-enforced rules in
|
|
8011
|
+
* scripts/check-schema-source.mjs. Added in protocol 1.37.
|
|
8012
|
+
*/
|
|
8013
|
+
|
|
8014
|
+
declare const NetInfoParams: z.ZodObject<{}, z.core.$strict>;
|
|
8015
|
+
type NetInfoParams = z.output<typeof NetInfoParams>;
|
|
8016
|
+
declare const NetAddress: z.ZodObject<{
|
|
8017
|
+
address: z.ZodString;
|
|
8018
|
+
family: z.ZodEnum<{
|
|
8019
|
+
ipv4: "ipv4";
|
|
8020
|
+
ipv6: "ipv6";
|
|
8021
|
+
}>;
|
|
8022
|
+
netmask: z.ZodNullable<z.ZodString>;
|
|
8023
|
+
cidr: z.ZodNullable<z.ZodString>;
|
|
8024
|
+
}, z.core.$strict>;
|
|
8025
|
+
type NetAddress = z.output<typeof NetAddress>;
|
|
8026
|
+
declare const NetInterface: z.ZodObject<{
|
|
8027
|
+
name: z.ZodString;
|
|
8028
|
+
mac: z.ZodNullable<z.ZodString>;
|
|
8029
|
+
internal: z.ZodBoolean;
|
|
8030
|
+
addresses: z.ZodArray<z.ZodObject<{
|
|
8031
|
+
address: z.ZodString;
|
|
8032
|
+
family: z.ZodEnum<{
|
|
8033
|
+
ipv4: "ipv4";
|
|
8034
|
+
ipv6: "ipv6";
|
|
8035
|
+
}>;
|
|
8036
|
+
netmask: z.ZodNullable<z.ZodString>;
|
|
8037
|
+
cidr: z.ZodNullable<z.ZodString>;
|
|
8038
|
+
}, z.core.$strict>>;
|
|
8039
|
+
}, z.core.$strict>;
|
|
8040
|
+
type NetInterface = z.output<typeof NetInterface>;
|
|
8041
|
+
declare const NetInfoResult: z.ZodObject<{
|
|
8042
|
+
hostname: z.ZodString;
|
|
8043
|
+
interfaces: z.ZodArray<z.ZodObject<{
|
|
8044
|
+
name: z.ZodString;
|
|
8045
|
+
mac: z.ZodNullable<z.ZodString>;
|
|
8046
|
+
internal: z.ZodBoolean;
|
|
8047
|
+
addresses: z.ZodArray<z.ZodObject<{
|
|
8048
|
+
address: z.ZodString;
|
|
8049
|
+
family: z.ZodEnum<{
|
|
8050
|
+
ipv4: "ipv4";
|
|
8051
|
+
ipv6: "ipv6";
|
|
8052
|
+
}>;
|
|
8053
|
+
netmask: z.ZodNullable<z.ZodString>;
|
|
8054
|
+
cidr: z.ZodNullable<z.ZodString>;
|
|
8055
|
+
}, z.core.$strict>>;
|
|
8056
|
+
}, z.core.$strict>>;
|
|
8057
|
+
gateway: z.ZodNullable<z.ZodString>;
|
|
8058
|
+
dns: z.ZodArray<z.ZodString>;
|
|
8059
|
+
}, z.core.$strict>;
|
|
8060
|
+
type NetInfoResult = z.output<typeof NetInfoResult>;
|
|
8061
|
+
declare const NetWifiParams: z.ZodObject<{}, z.core.$strict>;
|
|
8062
|
+
type NetWifiParams = z.output<typeof NetWifiParams>;
|
|
8063
|
+
declare const NetWifiNetwork: z.ZodObject<{
|
|
8064
|
+
ssid: z.ZodNullable<z.ZodString>;
|
|
8065
|
+
rssi: z.ZodNullable<z.ZodInt>;
|
|
8066
|
+
channel: z.ZodNullable<z.ZodString>;
|
|
8067
|
+
security: z.ZodNullable<z.ZodString>;
|
|
8068
|
+
}, z.core.$strict>;
|
|
8069
|
+
type NetWifiNetwork = z.output<typeof NetWifiNetwork>;
|
|
8070
|
+
declare const NetWifiResult: z.ZodObject<{
|
|
8071
|
+
available: z.ZodBoolean;
|
|
8072
|
+
current: z.ZodNullable<z.ZodObject<{
|
|
8073
|
+
ssid: z.ZodNullable<z.ZodString>;
|
|
8074
|
+
rssi: z.ZodNullable<z.ZodInt>;
|
|
8075
|
+
channel: z.ZodNullable<z.ZodString>;
|
|
8076
|
+
security: z.ZodNullable<z.ZodString>;
|
|
8077
|
+
}, z.core.$strict>>;
|
|
8078
|
+
networks: z.ZodArray<z.ZodObject<{
|
|
8079
|
+
ssid: z.ZodNullable<z.ZodString>;
|
|
8080
|
+
rssi: z.ZodNullable<z.ZodInt>;
|
|
8081
|
+
channel: z.ZodNullable<z.ZodString>;
|
|
8082
|
+
security: z.ZodNullable<z.ZodString>;
|
|
8083
|
+
}, z.core.$strict>>;
|
|
8084
|
+
}, z.core.$strict>;
|
|
8085
|
+
type NetWifiResult = z.output<typeof NetWifiResult>;
|
|
8086
|
+
declare const NetBluetoothParams: z.ZodObject<{}, z.core.$strict>;
|
|
8087
|
+
type NetBluetoothParams = z.output<typeof NetBluetoothParams>;
|
|
8088
|
+
declare const NetBluetoothDevice: z.ZodObject<{
|
|
8089
|
+
name: z.ZodString;
|
|
8090
|
+
address: z.ZodNullable<z.ZodString>;
|
|
8091
|
+
connected: z.ZodBoolean;
|
|
8092
|
+
kind: z.ZodNullable<z.ZodString>;
|
|
8093
|
+
battery: z.ZodNullable<z.ZodInt>;
|
|
8094
|
+
}, z.core.$strict>;
|
|
8095
|
+
type NetBluetoothDevice = z.output<typeof NetBluetoothDevice>;
|
|
8096
|
+
declare const NetBluetoothResult: z.ZodObject<{
|
|
8097
|
+
powered: z.ZodNullable<z.ZodBoolean>;
|
|
8098
|
+
devices: z.ZodArray<z.ZodObject<{
|
|
8099
|
+
name: z.ZodString;
|
|
8100
|
+
address: z.ZodNullable<z.ZodString>;
|
|
8101
|
+
connected: z.ZodBoolean;
|
|
8102
|
+
kind: z.ZodNullable<z.ZodString>;
|
|
8103
|
+
battery: z.ZodNullable<z.ZodInt>;
|
|
8104
|
+
}, z.core.$strict>>;
|
|
8105
|
+
}, z.core.$strict>;
|
|
8106
|
+
type NetBluetoothResult = z.output<typeof NetBluetoothResult>;
|
|
8107
|
+
declare const NetDevicesParams: z.ZodObject<{}, z.core.$strict>;
|
|
8108
|
+
type NetDevicesParams = z.output<typeof NetDevicesParams>;
|
|
8109
|
+
declare const NetDevice: z.ZodObject<{
|
|
8110
|
+
ip: z.ZodString;
|
|
8111
|
+
mac: z.ZodNullable<z.ZodString>;
|
|
8112
|
+
interface: z.ZodNullable<z.ZodString>;
|
|
8113
|
+
hostname: z.ZodNullable<z.ZodString>;
|
|
8114
|
+
}, z.core.$strict>;
|
|
8115
|
+
type NetDevice = z.output<typeof NetDevice>;
|
|
8116
|
+
declare const NetDevicesResult: z.ZodObject<{
|
|
8117
|
+
devices: z.ZodArray<z.ZodObject<{
|
|
8118
|
+
ip: z.ZodString;
|
|
8119
|
+
mac: z.ZodNullable<z.ZodString>;
|
|
8120
|
+
interface: z.ZodNullable<z.ZodString>;
|
|
8121
|
+
hostname: z.ZodNullable<z.ZodString>;
|
|
8122
|
+
}, z.core.$strict>>;
|
|
8123
|
+
}, z.core.$strict>;
|
|
8124
|
+
type NetDevicesResult = z.output<typeof NetDevicesResult>;
|
|
8125
|
+
declare const NetMdnsParams: z.ZodObject<{
|
|
8126
|
+
service_type: z.ZodOptional<z.ZodString>;
|
|
8127
|
+
timeout_s: z.ZodDefault<z.ZodInt>;
|
|
8128
|
+
}, z.core.$strict>;
|
|
8129
|
+
type NetMdnsParams = z.output<typeof NetMdnsParams>;
|
|
8130
|
+
declare const NetMdnsService: z.ZodObject<{
|
|
8131
|
+
name: z.ZodString;
|
|
8132
|
+
type: z.ZodString;
|
|
8133
|
+
domain: z.ZodString;
|
|
8134
|
+
interface: z.ZodNullable<z.ZodString>;
|
|
8135
|
+
}, z.core.$strict>;
|
|
8136
|
+
type NetMdnsService = z.output<typeof NetMdnsService>;
|
|
8137
|
+
declare const NetMdnsResult: z.ZodObject<{
|
|
8138
|
+
services: z.ZodArray<z.ZodObject<{
|
|
8139
|
+
name: z.ZodString;
|
|
8140
|
+
type: z.ZodString;
|
|
8141
|
+
domain: z.ZodString;
|
|
8142
|
+
interface: z.ZodNullable<z.ZodString>;
|
|
8143
|
+
}, z.core.$strict>>;
|
|
8144
|
+
}, z.core.$strict>;
|
|
8145
|
+
type NetMdnsResult = z.output<typeof NetMdnsResult>;
|
|
8146
|
+
declare const NetScanParams: z.ZodObject<{
|
|
8147
|
+
host: z.ZodString;
|
|
8148
|
+
ports: z.ZodArray<z.ZodInt>;
|
|
8149
|
+
timeout_ms: z.ZodDefault<z.ZodInt>;
|
|
8150
|
+
allow_public: z.ZodDefault<z.ZodBoolean>;
|
|
8151
|
+
}, z.core.$strict>;
|
|
8152
|
+
type NetScanParams = z.output<typeof NetScanParams>;
|
|
8153
|
+
declare const NetScanResult: z.ZodObject<{
|
|
8154
|
+
host: z.ZodString;
|
|
8155
|
+
address: z.ZodString;
|
|
8156
|
+
open: z.ZodArray<z.ZodInt>;
|
|
8157
|
+
closed: z.ZodInt;
|
|
8158
|
+
elapsed_ms: z.ZodInt;
|
|
8159
|
+
}, z.core.$strict>;
|
|
8160
|
+
type NetScanResult = z.output<typeof NetScanResult>;
|
|
8161
|
+
declare const NetDownloadParams: z.ZodObject<{
|
|
8162
|
+
url: z.ZodString;
|
|
8163
|
+
path: z.ZodString;
|
|
8164
|
+
overwrite: z.ZodDefault<z.ZodBoolean>;
|
|
8165
|
+
timeout_s: z.ZodDefault<z.ZodInt>;
|
|
8166
|
+
max_bytes: z.ZodDefault<z.ZodInt>;
|
|
8167
|
+
}, z.core.$strict>;
|
|
8168
|
+
type NetDownloadParams = z.output<typeof NetDownloadParams>;
|
|
8169
|
+
declare const NetDownloadResult: z.ZodObject<{
|
|
8170
|
+
path: z.ZodString;
|
|
8171
|
+
bytes: z.ZodInt;
|
|
8172
|
+
content_type: z.ZodNullable<z.ZodString>;
|
|
8173
|
+
url: z.ZodString;
|
|
8174
|
+
elapsed_ms: z.ZodInt;
|
|
8175
|
+
}, z.core.$strict>;
|
|
8176
|
+
type NetDownloadResult = z.output<typeof NetDownloadResult>;
|
|
8177
|
+
|
|
8178
|
+
/**
|
|
8179
|
+
* @ai-matrx/desktop-protocol — the person's own apps and automation (SPEC §6, §10 group 3): scripts
|
|
8180
|
+
* (AppleScript / JavaScript for Automation on a Mac, PowerShell on Windows), Mail, Messages,
|
|
8181
|
+
* Contacts, Calendar and Reminders, Photos, and where the computer is. Matrx Local's
|
|
8182
|
+
* local_mac_apps and local_windows_ps.run. Served by the core's `automation` and `personal`
|
|
8183
|
+
* owners through the OS's own scripting; each op answers PERMISSION_DENIED_OS (reason
|
|
8184
|
+
* `os_permission`) when the person has not allowed Matrx 2 that app, and PLATFORM_UNSUPPORTED
|
|
8185
|
+
* where the OS has no such app. Schema source: lint-enforced rules in
|
|
8186
|
+
* scripts/check-schema-source.mjs. Added in protocol 1.37.
|
|
8187
|
+
*/
|
|
8188
|
+
|
|
8189
|
+
declare const AutomationScriptParams: z.ZodObject<{
|
|
8190
|
+
language: z.ZodEnum<{
|
|
8191
|
+
applescript: "applescript";
|
|
8192
|
+
jxa: "jxa";
|
|
8193
|
+
powershell: "powershell";
|
|
8194
|
+
}>;
|
|
8195
|
+
script: z.ZodString;
|
|
8196
|
+
timeout_s: z.ZodDefault<z.ZodInt>;
|
|
8197
|
+
}, z.core.$strict>;
|
|
8198
|
+
type AutomationScriptParams = z.output<typeof AutomationScriptParams>;
|
|
8199
|
+
declare const AutomationScriptResult: z.ZodObject<{
|
|
8200
|
+
stdout: z.ZodString;
|
|
8201
|
+
stderr: z.ZodString;
|
|
8202
|
+
exit_code: z.ZodInt;
|
|
8203
|
+
timed_out: z.ZodBoolean;
|
|
8204
|
+
truncated: z.ZodBoolean;
|
|
8205
|
+
elapsed_ms: z.ZodInt;
|
|
8206
|
+
}, z.core.$strict>;
|
|
8207
|
+
type AutomationScriptResult = z.output<typeof AutomationScriptResult>;
|
|
8208
|
+
declare const MailAccountsParams: z.ZodObject<{}, z.core.$strict>;
|
|
8209
|
+
type MailAccountsParams = z.output<typeof MailAccountsParams>;
|
|
8210
|
+
declare const MailAccount: z.ZodObject<{
|
|
8211
|
+
name: z.ZodString;
|
|
8212
|
+
emails: z.ZodArray<z.ZodString>;
|
|
8213
|
+
enabled: z.ZodBoolean;
|
|
8214
|
+
}, z.core.$strict>;
|
|
8215
|
+
type MailAccount = z.output<typeof MailAccount>;
|
|
8216
|
+
declare const MailAccountsResult: z.ZodObject<{
|
|
8217
|
+
accounts: z.ZodArray<z.ZodObject<{
|
|
8218
|
+
name: z.ZodString;
|
|
8219
|
+
emails: z.ZodArray<z.ZodString>;
|
|
8220
|
+
enabled: z.ZodBoolean;
|
|
8221
|
+
}, z.core.$strict>>;
|
|
8222
|
+
}, z.core.$strict>;
|
|
8223
|
+
type MailAccountsResult = z.output<typeof MailAccountsResult>;
|
|
8224
|
+
declare const MailListParams: z.ZodObject<{
|
|
8225
|
+
account: z.ZodOptional<z.ZodString>;
|
|
8226
|
+
mailbox: z.ZodDefault<z.ZodString>;
|
|
8227
|
+
unread_only: z.ZodDefault<z.ZodBoolean>;
|
|
8228
|
+
limit: z.ZodDefault<z.ZodInt>;
|
|
8229
|
+
}, z.core.$strict>;
|
|
8230
|
+
type MailListParams = z.output<typeof MailListParams>;
|
|
8231
|
+
declare const MailMessage: z.ZodObject<{
|
|
8232
|
+
id: z.ZodString;
|
|
8233
|
+
subject: z.ZodString;
|
|
8234
|
+
sender: z.ZodString;
|
|
8235
|
+
received_at_ms: z.ZodNullable<z.ZodInt>;
|
|
8236
|
+
read: z.ZodBoolean;
|
|
8237
|
+
account: z.ZodString;
|
|
8238
|
+
mailbox: z.ZodString;
|
|
8239
|
+
preview: z.ZodString;
|
|
8240
|
+
}, z.core.$strict>;
|
|
8241
|
+
type MailMessage = z.output<typeof MailMessage>;
|
|
8242
|
+
declare const MailListResult: z.ZodObject<{
|
|
8243
|
+
messages: z.ZodArray<z.ZodObject<{
|
|
8244
|
+
id: z.ZodString;
|
|
8245
|
+
subject: z.ZodString;
|
|
8246
|
+
sender: z.ZodString;
|
|
8247
|
+
received_at_ms: z.ZodNullable<z.ZodInt>;
|
|
8248
|
+
read: z.ZodBoolean;
|
|
8249
|
+
account: z.ZodString;
|
|
8250
|
+
mailbox: z.ZodString;
|
|
8251
|
+
preview: z.ZodString;
|
|
8252
|
+
}, z.core.$strict>>;
|
|
8253
|
+
}, z.core.$strict>;
|
|
8254
|
+
type MailListResult = z.output<typeof MailListResult>;
|
|
8255
|
+
declare const MailSendParams: z.ZodObject<{
|
|
8256
|
+
to: z.ZodArray<z.ZodString>;
|
|
8257
|
+
cc: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
8258
|
+
subject: z.ZodString;
|
|
8259
|
+
body: z.ZodString;
|
|
8260
|
+
from: z.ZodOptional<z.ZodString>;
|
|
8261
|
+
send: z.ZodDefault<z.ZodBoolean>;
|
|
8262
|
+
}, z.core.$strict>;
|
|
8263
|
+
type MailSendParams = z.output<typeof MailSendParams>;
|
|
8264
|
+
declare const MailSendResult: z.ZodObject<{
|
|
8265
|
+
sent: z.ZodBoolean;
|
|
8266
|
+
}, z.core.$strict>;
|
|
8267
|
+
type MailSendResult = z.output<typeof MailSendResult>;
|
|
8268
|
+
/** Messages' chats (its own word in the app is conversations; the op says chats). */
|
|
8269
|
+
declare const MessagesChatsParams: z.ZodObject<{
|
|
8270
|
+
limit: z.ZodDefault<z.ZodInt>;
|
|
8271
|
+
}, z.core.$strict>;
|
|
8272
|
+
type MessagesChatsParams = z.output<typeof MessagesChatsParams>;
|
|
8273
|
+
declare const MessagesChat: z.ZodObject<{
|
|
8274
|
+
chat_id: z.ZodString;
|
|
8275
|
+
name: z.ZodNullable<z.ZodString>;
|
|
8276
|
+
participants: z.ZodArray<z.ZodString>;
|
|
8277
|
+
last_message_at_ms: z.ZodNullable<z.ZodInt>;
|
|
8278
|
+
service: z.ZodNullable<z.ZodString>;
|
|
8279
|
+
}, z.core.$strict>;
|
|
8280
|
+
type MessagesChat = z.output<typeof MessagesChat>;
|
|
8281
|
+
declare const MessagesChatsResult: z.ZodObject<{
|
|
8282
|
+
chats: z.ZodArray<z.ZodObject<{
|
|
8283
|
+
chat_id: z.ZodString;
|
|
8284
|
+
name: z.ZodNullable<z.ZodString>;
|
|
8285
|
+
participants: z.ZodArray<z.ZodString>;
|
|
8286
|
+
last_message_at_ms: z.ZodNullable<z.ZodInt>;
|
|
8287
|
+
service: z.ZodNullable<z.ZodString>;
|
|
8288
|
+
}, z.core.$strict>>;
|
|
8289
|
+
}, z.core.$strict>;
|
|
8290
|
+
type MessagesChatsResult = z.output<typeof MessagesChatsResult>;
|
|
8291
|
+
declare const MessagesListParams: z.ZodObject<{
|
|
8292
|
+
chat_id: z.ZodOptional<z.ZodString>;
|
|
8293
|
+
limit: z.ZodDefault<z.ZodInt>;
|
|
8294
|
+
}, z.core.$strict>;
|
|
8295
|
+
type MessagesListParams = z.output<typeof MessagesListParams>;
|
|
8296
|
+
declare const MessagesMessage: z.ZodObject<{
|
|
8297
|
+
id: z.ZodString;
|
|
8298
|
+
chat_id: z.ZodNullable<z.ZodString>;
|
|
8299
|
+
text: z.ZodString;
|
|
8300
|
+
from_me: z.ZodBoolean;
|
|
8301
|
+
sender: z.ZodNullable<z.ZodString>;
|
|
8302
|
+
sent_at_ms: z.ZodNullable<z.ZodInt>;
|
|
8303
|
+
}, z.core.$strict>;
|
|
8304
|
+
type MessagesMessage = z.output<typeof MessagesMessage>;
|
|
8305
|
+
declare const MessagesListResult: z.ZodObject<{
|
|
8306
|
+
messages: z.ZodArray<z.ZodObject<{
|
|
8307
|
+
id: z.ZodString;
|
|
8308
|
+
chat_id: z.ZodNullable<z.ZodString>;
|
|
8309
|
+
text: z.ZodString;
|
|
8310
|
+
from_me: z.ZodBoolean;
|
|
8311
|
+
sender: z.ZodNullable<z.ZodString>;
|
|
8312
|
+
sent_at_ms: z.ZodNullable<z.ZodInt>;
|
|
8313
|
+
}, z.core.$strict>>;
|
|
8314
|
+
}, z.core.$strict>;
|
|
8315
|
+
type MessagesListResult = z.output<typeof MessagesListResult>;
|
|
8316
|
+
declare const MessagesSendParams: z.ZodObject<{
|
|
8317
|
+
to: z.ZodString;
|
|
8318
|
+
text: z.ZodString;
|
|
8319
|
+
}, z.core.$strict>;
|
|
8320
|
+
type MessagesSendParams = z.output<typeof MessagesSendParams>;
|
|
8321
|
+
declare const MessagesSendResult: z.ZodObject<{
|
|
8322
|
+
sent: z.ZodBoolean;
|
|
8323
|
+
}, z.core.$strict>;
|
|
8324
|
+
type MessagesSendResult = z.output<typeof MessagesSendResult>;
|
|
8325
|
+
declare const ContactsSearchParams: z.ZodObject<{
|
|
8326
|
+
query: z.ZodString;
|
|
8327
|
+
limit: z.ZodDefault<z.ZodInt>;
|
|
8328
|
+
}, z.core.$strict>;
|
|
8329
|
+
type ContactsSearchParams = z.output<typeof ContactsSearchParams>;
|
|
8330
|
+
declare const ContactLabeled: z.ZodObject<{
|
|
8331
|
+
label: z.ZodNullable<z.ZodString>;
|
|
8332
|
+
value: z.ZodString;
|
|
8333
|
+
}, z.core.$strict>;
|
|
8334
|
+
type ContactLabeled = z.output<typeof ContactLabeled>;
|
|
8335
|
+
declare const ContactSummary: z.ZodObject<{
|
|
8336
|
+
id: z.ZodString;
|
|
8337
|
+
name: z.ZodString;
|
|
8338
|
+
organization: z.ZodNullable<z.ZodString>;
|
|
8339
|
+
emails: z.ZodArray<z.ZodObject<{
|
|
8340
|
+
label: z.ZodNullable<z.ZodString>;
|
|
8341
|
+
value: z.ZodString;
|
|
8342
|
+
}, z.core.$strict>>;
|
|
8343
|
+
phones: z.ZodArray<z.ZodObject<{
|
|
8344
|
+
label: z.ZodNullable<z.ZodString>;
|
|
8345
|
+
value: z.ZodString;
|
|
8346
|
+
}, z.core.$strict>>;
|
|
8347
|
+
}, z.core.$strict>;
|
|
8348
|
+
type ContactSummary = z.output<typeof ContactSummary>;
|
|
8349
|
+
declare const ContactsSearchResult: z.ZodObject<{
|
|
8350
|
+
contacts: z.ZodArray<z.ZodObject<{
|
|
8351
|
+
id: z.ZodString;
|
|
8352
|
+
name: z.ZodString;
|
|
8353
|
+
organization: z.ZodNullable<z.ZodString>;
|
|
8354
|
+
emails: z.ZodArray<z.ZodObject<{
|
|
8355
|
+
label: z.ZodNullable<z.ZodString>;
|
|
8356
|
+
value: z.ZodString;
|
|
8357
|
+
}, z.core.$strict>>;
|
|
8358
|
+
phones: z.ZodArray<z.ZodObject<{
|
|
8359
|
+
label: z.ZodNullable<z.ZodString>;
|
|
8360
|
+
value: z.ZodString;
|
|
8361
|
+
}, z.core.$strict>>;
|
|
8362
|
+
}, z.core.$strict>>;
|
|
8363
|
+
}, z.core.$strict>;
|
|
8364
|
+
type ContactsSearchResult = z.output<typeof ContactsSearchResult>;
|
|
8365
|
+
declare const ContactsGetParams: z.ZodObject<{
|
|
8366
|
+
id: z.ZodString;
|
|
8367
|
+
}, z.core.$strict>;
|
|
8368
|
+
type ContactsGetParams = z.output<typeof ContactsGetParams>;
|
|
8369
|
+
declare const ContactDetail: z.ZodObject<{
|
|
8370
|
+
id: z.ZodString;
|
|
8371
|
+
name: z.ZodString;
|
|
8372
|
+
organization: z.ZodNullable<z.ZodString>;
|
|
8373
|
+
job_title: z.ZodNullable<z.ZodString>;
|
|
8374
|
+
emails: z.ZodArray<z.ZodObject<{
|
|
8375
|
+
label: z.ZodNullable<z.ZodString>;
|
|
8376
|
+
value: z.ZodString;
|
|
8377
|
+
}, z.core.$strict>>;
|
|
8378
|
+
phones: z.ZodArray<z.ZodObject<{
|
|
8379
|
+
label: z.ZodNullable<z.ZodString>;
|
|
8380
|
+
value: z.ZodString;
|
|
8381
|
+
}, z.core.$strict>>;
|
|
8382
|
+
addresses: z.ZodArray<z.ZodObject<{
|
|
8383
|
+
label: z.ZodNullable<z.ZodString>;
|
|
8384
|
+
value: z.ZodString;
|
|
8385
|
+
}, z.core.$strict>>;
|
|
8386
|
+
birthday: z.ZodNullable<z.ZodString>;
|
|
8387
|
+
note: z.ZodNullable<z.ZodString>;
|
|
8388
|
+
}, z.core.$strict>;
|
|
8389
|
+
type ContactDetail = z.output<typeof ContactDetail>;
|
|
8390
|
+
declare const ContactsGetResult: z.ZodObject<{
|
|
8391
|
+
contact: z.ZodObject<{
|
|
8392
|
+
id: z.ZodString;
|
|
8393
|
+
name: z.ZodString;
|
|
8394
|
+
organization: z.ZodNullable<z.ZodString>;
|
|
8395
|
+
job_title: z.ZodNullable<z.ZodString>;
|
|
8396
|
+
emails: z.ZodArray<z.ZodObject<{
|
|
8397
|
+
label: z.ZodNullable<z.ZodString>;
|
|
8398
|
+
value: z.ZodString;
|
|
8399
|
+
}, z.core.$strict>>;
|
|
8400
|
+
phones: z.ZodArray<z.ZodObject<{
|
|
8401
|
+
label: z.ZodNullable<z.ZodString>;
|
|
8402
|
+
value: z.ZodString;
|
|
8403
|
+
}, z.core.$strict>>;
|
|
8404
|
+
addresses: z.ZodArray<z.ZodObject<{
|
|
8405
|
+
label: z.ZodNullable<z.ZodString>;
|
|
8406
|
+
value: z.ZodString;
|
|
8407
|
+
}, z.core.$strict>>;
|
|
8408
|
+
birthday: z.ZodNullable<z.ZodString>;
|
|
8409
|
+
note: z.ZodNullable<z.ZodString>;
|
|
8410
|
+
}, z.core.$strict>;
|
|
8411
|
+
}, z.core.$strict>;
|
|
8412
|
+
type ContactsGetResult = z.output<typeof ContactsGetResult>;
|
|
8413
|
+
declare const CalendarListParams: z.ZodObject<{
|
|
8414
|
+
from_ms: z.ZodInt;
|
|
8415
|
+
to_ms: z.ZodInt;
|
|
8416
|
+
calendar: z.ZodOptional<z.ZodString>;
|
|
8417
|
+
limit: z.ZodDefault<z.ZodInt>;
|
|
8418
|
+
}, z.core.$strict>;
|
|
8419
|
+
type CalendarListParams = z.output<typeof CalendarListParams>;
|
|
8420
|
+
declare const CalendarEvent: z.ZodObject<{
|
|
8421
|
+
id: z.ZodString;
|
|
8422
|
+
title: z.ZodString;
|
|
8423
|
+
start_ms: z.ZodInt;
|
|
8424
|
+
end_ms: z.ZodInt;
|
|
8425
|
+
all_day: z.ZodBoolean;
|
|
8426
|
+
calendar: z.ZodString;
|
|
8427
|
+
location: z.ZodNullable<z.ZodString>;
|
|
8428
|
+
notes: z.ZodNullable<z.ZodString>;
|
|
8429
|
+
}, z.core.$strict>;
|
|
8430
|
+
type CalendarEvent = z.output<typeof CalendarEvent>;
|
|
8431
|
+
declare const CalendarListResult: z.ZodObject<{
|
|
8432
|
+
events: z.ZodArray<z.ZodObject<{
|
|
8433
|
+
id: z.ZodString;
|
|
8434
|
+
title: z.ZodString;
|
|
8435
|
+
start_ms: z.ZodInt;
|
|
8436
|
+
end_ms: z.ZodInt;
|
|
8437
|
+
all_day: z.ZodBoolean;
|
|
8438
|
+
calendar: z.ZodString;
|
|
8439
|
+
location: z.ZodNullable<z.ZodString>;
|
|
8440
|
+
notes: z.ZodNullable<z.ZodString>;
|
|
8441
|
+
}, z.core.$strict>>;
|
|
8442
|
+
}, z.core.$strict>;
|
|
8443
|
+
type CalendarListResult = z.output<typeof CalendarListResult>;
|
|
8444
|
+
declare const CalendarCreateParams: z.ZodObject<{
|
|
8445
|
+
title: z.ZodString;
|
|
8446
|
+
start_ms: z.ZodInt;
|
|
8447
|
+
end_ms: z.ZodInt;
|
|
8448
|
+
all_day: z.ZodDefault<z.ZodBoolean>;
|
|
8449
|
+
calendar: z.ZodOptional<z.ZodString>;
|
|
8450
|
+
location: z.ZodOptional<z.ZodString>;
|
|
8451
|
+
notes: z.ZodOptional<z.ZodString>;
|
|
8452
|
+
}, z.core.$strict>;
|
|
8453
|
+
type CalendarCreateParams = z.output<typeof CalendarCreateParams>;
|
|
8454
|
+
declare const CalendarCreateResult: z.ZodObject<{
|
|
8455
|
+
id: z.ZodString;
|
|
8456
|
+
calendar: z.ZodString;
|
|
8457
|
+
}, z.core.$strict>;
|
|
8458
|
+
type CalendarCreateResult = z.output<typeof CalendarCreateResult>;
|
|
8459
|
+
declare const RemindersListParams: z.ZodObject<{
|
|
8460
|
+
list: z.ZodOptional<z.ZodString>;
|
|
8461
|
+
include_completed: z.ZodDefault<z.ZodBoolean>;
|
|
8462
|
+
limit: z.ZodDefault<z.ZodInt>;
|
|
8463
|
+
}, z.core.$strict>;
|
|
8464
|
+
type RemindersListParams = z.output<typeof RemindersListParams>;
|
|
8465
|
+
declare const Reminder: z.ZodObject<{
|
|
8466
|
+
id: z.ZodString;
|
|
8467
|
+
title: z.ZodString;
|
|
8468
|
+
list: z.ZodString;
|
|
8469
|
+
due_ms: z.ZodNullable<z.ZodInt>;
|
|
8470
|
+
completed: z.ZodBoolean;
|
|
8471
|
+
notes: z.ZodNullable<z.ZodString>;
|
|
8472
|
+
}, z.core.$strict>;
|
|
8473
|
+
type Reminder = z.output<typeof Reminder>;
|
|
8474
|
+
declare const RemindersListResult: z.ZodObject<{
|
|
8475
|
+
reminders: z.ZodArray<z.ZodObject<{
|
|
8476
|
+
id: z.ZodString;
|
|
8477
|
+
title: z.ZodString;
|
|
8478
|
+
list: z.ZodString;
|
|
8479
|
+
due_ms: z.ZodNullable<z.ZodInt>;
|
|
8480
|
+
completed: z.ZodBoolean;
|
|
8481
|
+
notes: z.ZodNullable<z.ZodString>;
|
|
8482
|
+
}, z.core.$strict>>;
|
|
8483
|
+
}, z.core.$strict>;
|
|
8484
|
+
type RemindersListResult = z.output<typeof RemindersListResult>;
|
|
8485
|
+
declare const RemindersCreateParams: z.ZodObject<{
|
|
8486
|
+
title: z.ZodString;
|
|
8487
|
+
due_ms: z.ZodOptional<z.ZodInt>;
|
|
8488
|
+
list: z.ZodOptional<z.ZodString>;
|
|
8489
|
+
notes: z.ZodOptional<z.ZodString>;
|
|
8490
|
+
}, z.core.$strict>;
|
|
8491
|
+
type RemindersCreateParams = z.output<typeof RemindersCreateParams>;
|
|
8492
|
+
declare const RemindersCreateResult: z.ZodObject<{
|
|
8493
|
+
id: z.ZodString;
|
|
8494
|
+
list: z.ZodString;
|
|
8495
|
+
}, z.core.$strict>;
|
|
8496
|
+
type RemindersCreateResult = z.output<typeof RemindersCreateResult>;
|
|
8497
|
+
declare const PhotosSearchParams: z.ZodObject<{
|
|
8498
|
+
query: z.ZodOptional<z.ZodString>;
|
|
8499
|
+
from_ms: z.ZodOptional<z.ZodInt>;
|
|
8500
|
+
to_ms: z.ZodOptional<z.ZodInt>;
|
|
8501
|
+
favorites_only: z.ZodDefault<z.ZodBoolean>;
|
|
8502
|
+
limit: z.ZodDefault<z.ZodInt>;
|
|
8503
|
+
}, z.core.$strict>;
|
|
8504
|
+
type PhotosSearchParams = z.output<typeof PhotosSearchParams>;
|
|
8505
|
+
declare const Photo: z.ZodObject<{
|
|
8506
|
+
id: z.ZodString;
|
|
8507
|
+
filename: z.ZodString;
|
|
8508
|
+
taken_at_ms: z.ZodNullable<z.ZodInt>;
|
|
8509
|
+
width: z.ZodNullable<z.ZodInt>;
|
|
8510
|
+
height: z.ZodNullable<z.ZodInt>;
|
|
8511
|
+
favorite: z.ZodBoolean;
|
|
8512
|
+
title: z.ZodNullable<z.ZodString>;
|
|
8513
|
+
}, z.core.$strict>;
|
|
8514
|
+
type Photo = z.output<typeof Photo>;
|
|
8515
|
+
declare const PhotosSearchResult: z.ZodObject<{
|
|
8516
|
+
photos: z.ZodArray<z.ZodObject<{
|
|
8517
|
+
id: z.ZodString;
|
|
8518
|
+
filename: z.ZodString;
|
|
8519
|
+
taken_at_ms: z.ZodNullable<z.ZodInt>;
|
|
8520
|
+
width: z.ZodNullable<z.ZodInt>;
|
|
8521
|
+
height: z.ZodNullable<z.ZodInt>;
|
|
8522
|
+
favorite: z.ZodBoolean;
|
|
8523
|
+
title: z.ZodNullable<z.ZodString>;
|
|
8524
|
+
}, z.core.$strict>>;
|
|
8525
|
+
}, z.core.$strict>;
|
|
8526
|
+
type PhotosSearchResult = z.output<typeof PhotosSearchResult>;
|
|
8527
|
+
declare const PhotosGetParams: z.ZodObject<{
|
|
8528
|
+
id: z.ZodString;
|
|
8529
|
+
export: z.ZodDefault<z.ZodBoolean>;
|
|
8530
|
+
}, z.core.$strict>;
|
|
8531
|
+
type PhotosGetParams = z.output<typeof PhotosGetParams>;
|
|
8532
|
+
declare const PhotosGetResult: z.ZodObject<{
|
|
8533
|
+
photo: z.ZodObject<{
|
|
8534
|
+
id: z.ZodString;
|
|
8535
|
+
filename: z.ZodString;
|
|
8536
|
+
taken_at_ms: z.ZodNullable<z.ZodInt>;
|
|
8537
|
+
width: z.ZodNullable<z.ZodInt>;
|
|
8538
|
+
height: z.ZodNullable<z.ZodInt>;
|
|
8539
|
+
favorite: z.ZodBoolean;
|
|
8540
|
+
title: z.ZodNullable<z.ZodString>;
|
|
8541
|
+
}, z.core.$strict>;
|
|
8542
|
+
path: z.ZodNullable<z.ZodString>;
|
|
8543
|
+
}, z.core.$strict>;
|
|
8544
|
+
type PhotosGetResult = z.output<typeof PhotosGetResult>;
|
|
8545
|
+
declare const LocationGetParams: z.ZodObject<{
|
|
8546
|
+
timeout_s: z.ZodDefault<z.ZodInt>;
|
|
8547
|
+
}, z.core.$strict>;
|
|
8548
|
+
type LocationGetParams = z.output<typeof LocationGetParams>;
|
|
8549
|
+
declare const LocationGetResult: z.ZodObject<{
|
|
8550
|
+
latitude: z.ZodNumber;
|
|
8551
|
+
longitude: z.ZodNumber;
|
|
8552
|
+
accuracy_m: z.ZodNullable<z.ZodNumber>;
|
|
8553
|
+
at_ms: z.ZodInt;
|
|
8554
|
+
source: z.ZodEnum<{
|
|
8555
|
+
windows: "windows";
|
|
8556
|
+
corelocation: "corelocation";
|
|
8557
|
+
geoclue: "geoclue";
|
|
8558
|
+
}>;
|
|
8559
|
+
}, z.core.$strict>;
|
|
8560
|
+
type LocationGetResult = z.output<typeof LocationGetResult>;
|
|
8561
|
+
|
|
8562
|
+
/**
|
|
8563
|
+
* @ai-matrx/desktop-protocol — cap windows (SPEC §10 desktop_windows_admin): Windows
|
|
8564
|
+
* administration — the registry, services, the event log and optional features. Matrx Local's
|
|
8565
|
+
* local_windows_ps. Served by the core's `windows` owner through reg.exe and PowerShell; every op
|
|
8566
|
+
* answers PLATFORM_UNSUPPORTED off Windows, and PERMISSION_DENIED_OS where Windows needs an
|
|
8567
|
+
* administrator. Schema source: lint-enforced rules in scripts/check-schema-source.mjs. Added in
|
|
8568
|
+
* protocol 1.37.
|
|
8569
|
+
*/
|
|
8570
|
+
|
|
8571
|
+
declare const RegistryValueType: z.ZodEnum<{
|
|
8572
|
+
REG_SZ: "REG_SZ";
|
|
8573
|
+
REG_EXPAND_SZ: "REG_EXPAND_SZ";
|
|
8574
|
+
REG_MULTI_SZ: "REG_MULTI_SZ";
|
|
8575
|
+
REG_DWORD: "REG_DWORD";
|
|
8576
|
+
REG_QWORD: "REG_QWORD";
|
|
8577
|
+
REG_BINARY: "REG_BINARY";
|
|
8578
|
+
REG_NONE: "REG_NONE";
|
|
8579
|
+
}>;
|
|
8580
|
+
type RegistryValueType = z.output<typeof RegistryValueType>;
|
|
8581
|
+
declare const WindowsRegistryReadParams: z.ZodObject<{
|
|
8582
|
+
key: z.ZodString;
|
|
8583
|
+
name: z.ZodOptional<z.ZodString>;
|
|
8584
|
+
}, z.core.$strict>;
|
|
8585
|
+
type WindowsRegistryReadParams = z.output<typeof WindowsRegistryReadParams>;
|
|
8586
|
+
declare const RegistryValue: z.ZodObject<{
|
|
8587
|
+
name: z.ZodString;
|
|
8588
|
+
type: z.ZodEnum<{
|
|
8589
|
+
REG_SZ: "REG_SZ";
|
|
8590
|
+
REG_EXPAND_SZ: "REG_EXPAND_SZ";
|
|
8591
|
+
REG_MULTI_SZ: "REG_MULTI_SZ";
|
|
8592
|
+
REG_DWORD: "REG_DWORD";
|
|
8593
|
+
REG_QWORD: "REG_QWORD";
|
|
8594
|
+
REG_BINARY: "REG_BINARY";
|
|
8595
|
+
REG_NONE: "REG_NONE";
|
|
8596
|
+
}>;
|
|
8597
|
+
data: z.ZodString;
|
|
8598
|
+
}, z.core.$strict>;
|
|
8599
|
+
type RegistryValue = z.output<typeof RegistryValue>;
|
|
8600
|
+
declare const WindowsRegistryReadResult: z.ZodObject<{
|
|
8601
|
+
key: z.ZodString;
|
|
8602
|
+
exists: z.ZodBoolean;
|
|
8603
|
+
values: z.ZodArray<z.ZodObject<{
|
|
8604
|
+
name: z.ZodString;
|
|
8605
|
+
type: z.ZodEnum<{
|
|
8606
|
+
REG_SZ: "REG_SZ";
|
|
8607
|
+
REG_EXPAND_SZ: "REG_EXPAND_SZ";
|
|
8608
|
+
REG_MULTI_SZ: "REG_MULTI_SZ";
|
|
8609
|
+
REG_DWORD: "REG_DWORD";
|
|
8610
|
+
REG_QWORD: "REG_QWORD";
|
|
8611
|
+
REG_BINARY: "REG_BINARY";
|
|
8612
|
+
REG_NONE: "REG_NONE";
|
|
8613
|
+
}>;
|
|
8614
|
+
data: z.ZodString;
|
|
8615
|
+
}, z.core.$strict>>;
|
|
8616
|
+
subkeys: z.ZodArray<z.ZodString>;
|
|
8617
|
+
}, z.core.$strict>;
|
|
8618
|
+
type WindowsRegistryReadResult = z.output<typeof WindowsRegistryReadResult>;
|
|
8619
|
+
declare const WindowsRegistryWriteParams: z.ZodObject<{
|
|
8620
|
+
key: z.ZodString;
|
|
8621
|
+
name: z.ZodString;
|
|
8622
|
+
type: z.ZodDefault<z.ZodEnum<{
|
|
8623
|
+
REG_SZ: "REG_SZ";
|
|
8624
|
+
REG_EXPAND_SZ: "REG_EXPAND_SZ";
|
|
8625
|
+
REG_MULTI_SZ: "REG_MULTI_SZ";
|
|
8626
|
+
REG_DWORD: "REG_DWORD";
|
|
8627
|
+
REG_QWORD: "REG_QWORD";
|
|
8628
|
+
REG_BINARY: "REG_BINARY";
|
|
8629
|
+
REG_NONE: "REG_NONE";
|
|
8630
|
+
}>>;
|
|
8631
|
+
data: z.ZodString;
|
|
8632
|
+
delete: z.ZodDefault<z.ZodBoolean>;
|
|
8633
|
+
}, z.core.$strict>;
|
|
8634
|
+
type WindowsRegistryWriteParams = z.output<typeof WindowsRegistryWriteParams>;
|
|
8635
|
+
declare const WindowsRegistryWriteResult: z.ZodObject<{
|
|
8636
|
+
key: z.ZodString;
|
|
8637
|
+
name: z.ZodString;
|
|
8638
|
+
deleted: z.ZodBoolean;
|
|
8639
|
+
}, z.core.$strict>;
|
|
8640
|
+
type WindowsRegistryWriteResult = z.output<typeof WindowsRegistryWriteResult>;
|
|
8641
|
+
declare const WindowsServicesParams: z.ZodObject<{
|
|
8642
|
+
filter: z.ZodOptional<z.ZodString>;
|
|
8643
|
+
limit: z.ZodDefault<z.ZodInt>;
|
|
8644
|
+
}, z.core.$strict>;
|
|
8645
|
+
type WindowsServicesParams = z.output<typeof WindowsServicesParams>;
|
|
8646
|
+
declare const WindowsService: z.ZodObject<{
|
|
8647
|
+
name: z.ZodString;
|
|
8648
|
+
display_name: z.ZodString;
|
|
8649
|
+
status: z.ZodString;
|
|
8650
|
+
start_type: z.ZodNullable<z.ZodString>;
|
|
8651
|
+
}, z.core.$strict>;
|
|
8652
|
+
type WindowsService = z.output<typeof WindowsService>;
|
|
8653
|
+
declare const WindowsServicesResult: z.ZodObject<{
|
|
8654
|
+
services: z.ZodArray<z.ZodObject<{
|
|
8655
|
+
name: z.ZodString;
|
|
8656
|
+
display_name: z.ZodString;
|
|
8657
|
+
status: z.ZodString;
|
|
8658
|
+
start_type: z.ZodNullable<z.ZodString>;
|
|
8659
|
+
}, z.core.$strict>>;
|
|
8660
|
+
}, z.core.$strict>;
|
|
8661
|
+
type WindowsServicesResult = z.output<typeof WindowsServicesResult>;
|
|
8662
|
+
declare const WindowsServiceControlParams: z.ZodObject<{
|
|
8663
|
+
name: z.ZodString;
|
|
8664
|
+
action: z.ZodEnum<{
|
|
8665
|
+
start: "start";
|
|
8666
|
+
stop: "stop";
|
|
8667
|
+
restart: "restart";
|
|
8668
|
+
}>;
|
|
8669
|
+
}, z.core.$strict>;
|
|
8670
|
+
type WindowsServiceControlParams = z.output<typeof WindowsServiceControlParams>;
|
|
8671
|
+
declare const WindowsServiceControlResult: z.ZodObject<{
|
|
8672
|
+
name: z.ZodString;
|
|
8673
|
+
status: z.ZodString;
|
|
8674
|
+
}, z.core.$strict>;
|
|
8675
|
+
type WindowsServiceControlResult = z.output<typeof WindowsServiceControlResult>;
|
|
8676
|
+
declare const WindowsEventLogParams: z.ZodObject<{
|
|
8677
|
+
log: z.ZodDefault<z.ZodString>;
|
|
8678
|
+
levels: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
8679
|
+
error: "error";
|
|
8680
|
+
warning: "warning";
|
|
8681
|
+
critical: "critical";
|
|
8682
|
+
information: "information";
|
|
8683
|
+
verbose: "verbose";
|
|
8684
|
+
}>>>;
|
|
8685
|
+
since_ms: z.ZodOptional<z.ZodInt>;
|
|
8686
|
+
limit: z.ZodDefault<z.ZodInt>;
|
|
8687
|
+
}, z.core.$strict>;
|
|
8688
|
+
type WindowsEventLogParams = z.output<typeof WindowsEventLogParams>;
|
|
8689
|
+
declare const WindowsEvent: z.ZodObject<{
|
|
8690
|
+
id: z.ZodInt;
|
|
8691
|
+
level: z.ZodString;
|
|
8692
|
+
source: z.ZodString;
|
|
8693
|
+
at_ms: z.ZodInt;
|
|
8694
|
+
message: z.ZodString;
|
|
8695
|
+
}, z.core.$strict>;
|
|
8696
|
+
type WindowsEvent = z.output<typeof WindowsEvent>;
|
|
8697
|
+
declare const WindowsEventLogResult: z.ZodObject<{
|
|
8698
|
+
log: z.ZodString;
|
|
8699
|
+
events: z.ZodArray<z.ZodObject<{
|
|
8700
|
+
id: z.ZodInt;
|
|
8701
|
+
level: z.ZodString;
|
|
8702
|
+
source: z.ZodString;
|
|
8703
|
+
at_ms: z.ZodInt;
|
|
8704
|
+
message: z.ZodString;
|
|
8705
|
+
}, z.core.$strict>>;
|
|
8706
|
+
}, z.core.$strict>;
|
|
8707
|
+
type WindowsEventLogResult = z.output<typeof WindowsEventLogResult>;
|
|
8708
|
+
declare const WindowsFeaturesParams: z.ZodObject<{
|
|
8709
|
+
filter: z.ZodOptional<z.ZodString>;
|
|
5674
8710
|
}, z.core.$strict>;
|
|
5675
|
-
type
|
|
5676
|
-
declare const
|
|
5677
|
-
|
|
5678
|
-
|
|
5679
|
-
browser: z.ZodEnum<{
|
|
5680
|
-
other: "other";
|
|
5681
|
-
chrome: "chrome";
|
|
5682
|
-
edge: "edge";
|
|
5683
|
-
brave: "brave";
|
|
5684
|
-
arc: "arc";
|
|
5685
|
-
opera: "opera";
|
|
5686
|
-
vivaldi: "vivaldi";
|
|
5687
|
-
chromium: "chromium";
|
|
5688
|
-
firefox: "firefox";
|
|
5689
|
-
}>;
|
|
5690
|
-
extension_version: z.ZodString;
|
|
5691
|
-
account_token: z.ZodNullable<z.ZodString>;
|
|
8711
|
+
type WindowsFeaturesParams = z.output<typeof WindowsFeaturesParams>;
|
|
8712
|
+
declare const WindowsFeature: z.ZodObject<{
|
|
8713
|
+
name: z.ZodString;
|
|
8714
|
+
state: z.ZodString;
|
|
5692
8715
|
}, z.core.$strict>;
|
|
5693
|
-
type
|
|
5694
|
-
|
|
5695
|
-
|
|
5696
|
-
|
|
8716
|
+
type WindowsFeature = z.output<typeof WindowsFeature>;
|
|
8717
|
+
declare const WindowsFeaturesResult: z.ZodObject<{
|
|
8718
|
+
features: z.ZodArray<z.ZodObject<{
|
|
8719
|
+
name: z.ZodString;
|
|
8720
|
+
state: z.ZodString;
|
|
8721
|
+
}, z.core.$strict>>;
|
|
8722
|
+
}, z.core.$strict>;
|
|
8723
|
+
type WindowsFeaturesResult = z.output<typeof WindowsFeaturesResult>;
|
|
8724
|
+
|
|
8725
|
+
/**
|
|
8726
|
+
* @ai-matrx/desktop-protocol — cap schedule (SPEC §10 desktop_schedule): one protocol op run on
|
|
8727
|
+
* this computer again and again, on an interval, until it is cancelled or has run its count
|
|
8728
|
+
* (Matrx Local's ScheduleTask, ListScheduled, CancelScheduled). The core's `schedule` owner keeps
|
|
8729
|
+
* each task in its own device store, so tasks outlive a restart, and runs the op through the
|
|
8730
|
+
* Router as the device's owner, exactly as the agent would have sent it. A task can never run a
|
|
8731
|
+
* schedule op itself. Schema source: lint-enforced rules in scripts/check-schema-source.mjs.
|
|
8732
|
+
* Added in protocol 1.37.
|
|
8733
|
+
*/
|
|
8734
|
+
|
|
8735
|
+
declare const ScheduleCreateParams: z.ZodObject<{
|
|
8736
|
+
name: z.ZodString;
|
|
8737
|
+
op: z.ZodString;
|
|
8738
|
+
params: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
8739
|
+
interval_s: z.ZodInt;
|
|
8740
|
+
max_runs: z.ZodOptional<z.ZodInt>;
|
|
8741
|
+
run_now: z.ZodDefault<z.ZodBoolean>;
|
|
8742
|
+
}, z.core.$strict>;
|
|
8743
|
+
type ScheduleCreateParams = z.output<typeof ScheduleCreateParams>;
|
|
8744
|
+
declare const ScheduleRun: z.ZodObject<{
|
|
8745
|
+
at_ms: z.ZodInt;
|
|
5697
8746
|
ok: z.ZodBoolean;
|
|
5698
|
-
|
|
5699
|
-
error: z.ZodNullable<z.
|
|
5700
|
-
|
|
5701
|
-
|
|
8747
|
+
elapsed_ms: z.ZodInt;
|
|
8748
|
+
error: z.ZodNullable<z.ZodString>;
|
|
8749
|
+
result_preview: z.ZodNullable<z.ZodString>;
|
|
8750
|
+
}, z.core.$strict>;
|
|
8751
|
+
type ScheduleRun = z.output<typeof ScheduleRun>;
|
|
8752
|
+
declare const ScheduledTask: z.ZodObject<{
|
|
8753
|
+
id: z.ZodString;
|
|
8754
|
+
name: z.ZodString;
|
|
8755
|
+
op: z.ZodString;
|
|
8756
|
+
params: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
8757
|
+
interval_s: z.ZodInt;
|
|
8758
|
+
max_runs: z.ZodNullable<z.ZodInt>;
|
|
8759
|
+
runs: z.ZodInt;
|
|
8760
|
+
created_at_ms: z.ZodInt;
|
|
8761
|
+
next_run_at_ms: z.ZodNullable<z.ZodInt>;
|
|
8762
|
+
state: z.ZodEnum<{
|
|
8763
|
+
cancelled: "cancelled";
|
|
8764
|
+
done: "done";
|
|
8765
|
+
active: "active";
|
|
8766
|
+
}>;
|
|
8767
|
+
recent: z.ZodArray<z.ZodObject<{
|
|
8768
|
+
at_ms: z.ZodInt;
|
|
8769
|
+
ok: z.ZodBoolean;
|
|
8770
|
+
elapsed_ms: z.ZodInt;
|
|
8771
|
+
error: z.ZodNullable<z.ZodString>;
|
|
8772
|
+
result_preview: z.ZodNullable<z.ZodString>;
|
|
5702
8773
|
}, z.core.$strict>>;
|
|
5703
8774
|
}, z.core.$strict>;
|
|
5704
|
-
type
|
|
5705
|
-
declare const
|
|
5706
|
-
|
|
5707
|
-
|
|
5708
|
-
|
|
5709
|
-
|
|
5710
|
-
|
|
5711
|
-
|
|
5712
|
-
|
|
5713
|
-
|
|
5714
|
-
|
|
5715
|
-
|
|
5716
|
-
|
|
5717
|
-
|
|
5718
|
-
|
|
5719
|
-
|
|
5720
|
-
brave: "brave";
|
|
5721
|
-
arc: "arc";
|
|
5722
|
-
opera: "opera";
|
|
5723
|
-
vivaldi: "vivaldi";
|
|
5724
|
-
chromium: "chromium";
|
|
5725
|
-
firefox: "firefox";
|
|
8775
|
+
type ScheduledTask = z.output<typeof ScheduledTask>;
|
|
8776
|
+
declare const ScheduleCreateResult: z.ZodObject<{
|
|
8777
|
+
task: z.ZodObject<{
|
|
8778
|
+
id: z.ZodString;
|
|
8779
|
+
name: z.ZodString;
|
|
8780
|
+
op: z.ZodString;
|
|
8781
|
+
params: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
8782
|
+
interval_s: z.ZodInt;
|
|
8783
|
+
max_runs: z.ZodNullable<z.ZodInt>;
|
|
8784
|
+
runs: z.ZodInt;
|
|
8785
|
+
created_at_ms: z.ZodInt;
|
|
8786
|
+
next_run_at_ms: z.ZodNullable<z.ZodInt>;
|
|
8787
|
+
state: z.ZodEnum<{
|
|
8788
|
+
cancelled: "cancelled";
|
|
8789
|
+
done: "done";
|
|
8790
|
+
active: "active";
|
|
5726
8791
|
}>;
|
|
5727
|
-
|
|
8792
|
+
recent: z.ZodArray<z.ZodObject<{
|
|
8793
|
+
at_ms: z.ZodInt;
|
|
8794
|
+
ok: z.ZodBoolean;
|
|
8795
|
+
elapsed_ms: z.ZodInt;
|
|
8796
|
+
error: z.ZodNullable<z.ZodString>;
|
|
8797
|
+
result_preview: z.ZodNullable<z.ZodString>;
|
|
8798
|
+
}, z.core.$strict>>;
|
|
8799
|
+
}, z.core.$strict>;
|
|
8800
|
+
}, z.core.$strict>;
|
|
8801
|
+
type ScheduleCreateResult = z.output<typeof ScheduleCreateResult>;
|
|
8802
|
+
declare const ScheduleListParams: z.ZodObject<{
|
|
8803
|
+
include_finished: z.ZodDefault<z.ZodBoolean>;
|
|
8804
|
+
}, z.core.$strict>;
|
|
8805
|
+
type ScheduleListParams = z.output<typeof ScheduleListParams>;
|
|
8806
|
+
declare const ScheduleListResult: z.ZodObject<{
|
|
8807
|
+
tasks: z.ZodArray<z.ZodObject<{
|
|
8808
|
+
id: z.ZodString;
|
|
8809
|
+
name: z.ZodString;
|
|
8810
|
+
op: z.ZodString;
|
|
8811
|
+
params: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
8812
|
+
interval_s: z.ZodInt;
|
|
8813
|
+
max_runs: z.ZodNullable<z.ZodInt>;
|
|
8814
|
+
runs: z.ZodInt;
|
|
8815
|
+
created_at_ms: z.ZodInt;
|
|
8816
|
+
next_run_at_ms: z.ZodNullable<z.ZodInt>;
|
|
5728
8817
|
state: z.ZodEnum<{
|
|
5729
|
-
|
|
5730
|
-
|
|
5731
|
-
|
|
5732
|
-
device_signed_out: "device_signed_out";
|
|
5733
|
-
unverified: "unverified";
|
|
8818
|
+
cancelled: "cancelled";
|
|
8819
|
+
done: "done";
|
|
8820
|
+
active: "active";
|
|
5734
8821
|
}>;
|
|
5735
|
-
|
|
5736
|
-
|
|
5737
|
-
|
|
5738
|
-
|
|
5739
|
-
|
|
5740
|
-
|
|
5741
|
-
|
|
5742
|
-
p95_ms: z.ZodNullable<z.ZodInt>;
|
|
5743
|
-
awaiting_confirmation: z.ZodBoolean;
|
|
8822
|
+
recent: z.ZodArray<z.ZodObject<{
|
|
8823
|
+
at_ms: z.ZodInt;
|
|
8824
|
+
ok: z.ZodBoolean;
|
|
8825
|
+
elapsed_ms: z.ZodInt;
|
|
8826
|
+
error: z.ZodNullable<z.ZodString>;
|
|
8827
|
+
result_preview: z.ZodNullable<z.ZodString>;
|
|
8828
|
+
}, z.core.$strict>>;
|
|
5744
8829
|
}, z.core.$strict>>;
|
|
5745
8830
|
}, z.core.$strict>;
|
|
5746
|
-
type
|
|
8831
|
+
type ScheduleListResult = z.output<typeof ScheduleListResult>;
|
|
8832
|
+
declare const ScheduleCancelParams: z.ZodObject<{
|
|
8833
|
+
id: z.ZodString;
|
|
8834
|
+
}, z.core.$strict>;
|
|
8835
|
+
type ScheduleCancelParams = z.output<typeof ScheduleCancelParams>;
|
|
8836
|
+
declare const ScheduleCancelResult: z.ZodObject<{
|
|
8837
|
+
task: z.ZodObject<{
|
|
8838
|
+
id: z.ZodString;
|
|
8839
|
+
name: z.ZodString;
|
|
8840
|
+
op: z.ZodString;
|
|
8841
|
+
params: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
8842
|
+
interval_s: z.ZodInt;
|
|
8843
|
+
max_runs: z.ZodNullable<z.ZodInt>;
|
|
8844
|
+
runs: z.ZodInt;
|
|
8845
|
+
created_at_ms: z.ZodInt;
|
|
8846
|
+
next_run_at_ms: z.ZodNullable<z.ZodInt>;
|
|
8847
|
+
state: z.ZodEnum<{
|
|
8848
|
+
cancelled: "cancelled";
|
|
8849
|
+
done: "done";
|
|
8850
|
+
active: "active";
|
|
8851
|
+
}>;
|
|
8852
|
+
recent: z.ZodArray<z.ZodObject<{
|
|
8853
|
+
at_ms: z.ZodInt;
|
|
8854
|
+
ok: z.ZodBoolean;
|
|
8855
|
+
elapsed_ms: z.ZodInt;
|
|
8856
|
+
error: z.ZodNullable<z.ZodString>;
|
|
8857
|
+
result_preview: z.ZodNullable<z.ZodString>;
|
|
8858
|
+
}, z.core.$strict>>;
|
|
8859
|
+
}, z.core.$strict>;
|
|
8860
|
+
}, z.core.$strict>;
|
|
8861
|
+
type ScheduleCancelResult = z.output<typeof ScheduleCancelResult>;
|
|
8862
|
+
|
|
5747
8863
|
/**
|
|
5748
|
-
*
|
|
5749
|
-
*
|
|
8864
|
+
* @ai-matrx/desktop-protocol — cap notes (SPEC §10 desktop_notes): the person's local notes, the
|
|
8865
|
+
* Markdown files in Documents/Matrx/Notes that Matrx Local kept (its ListDocuments,
|
|
8866
|
+
* ListDocumentFolders, ReadDocument, WriteDocument and SearchDocuments). A folder is a directory
|
|
8867
|
+
* under that root; a note is `<label>.md`. Every path is relative to the root and never leaves it.
|
|
8868
|
+
* Served by the core's `notes` owner. Schema source: lint-enforced rules in
|
|
8869
|
+
* scripts/check-schema-source.mjs. Added in protocol 1.37.
|
|
5750
8870
|
*/
|
|
5751
|
-
|
|
5752
|
-
|
|
5753
|
-
|
|
5754
|
-
|
|
5755
|
-
|
|
8871
|
+
|
|
8872
|
+
declare const NotesFoldersParams: z.ZodObject<{}, z.core.$strict>;
|
|
8873
|
+
type NotesFoldersParams = z.output<typeof NotesFoldersParams>;
|
|
8874
|
+
declare const NotesFolder: z.ZodObject<{
|
|
8875
|
+
folder: z.ZodString;
|
|
8876
|
+
notes: z.ZodInt;
|
|
8877
|
+
}, z.core.$strict>;
|
|
8878
|
+
type NotesFolder = z.output<typeof NotesFolder>;
|
|
8879
|
+
declare const NotesFoldersResult: z.ZodObject<{
|
|
8880
|
+
root: z.ZodString;
|
|
8881
|
+
folders: z.ZodArray<z.ZodObject<{
|
|
8882
|
+
folder: z.ZodString;
|
|
8883
|
+
notes: z.ZodInt;
|
|
8884
|
+
}, z.core.$strict>>;
|
|
5756
8885
|
}, z.core.$strict>;
|
|
5757
|
-
type
|
|
5758
|
-
declare const
|
|
5759
|
-
|
|
5760
|
-
|
|
5761
|
-
duration_ms: z.ZodInt;
|
|
8886
|
+
type NotesFoldersResult = z.output<typeof NotesFoldersResult>;
|
|
8887
|
+
declare const NotesListParams: z.ZodObject<{
|
|
8888
|
+
folder: z.ZodOptional<z.ZodString>;
|
|
8889
|
+
limit: z.ZodDefault<z.ZodInt>;
|
|
5762
8890
|
}, z.core.$strict>;
|
|
5763
|
-
type
|
|
5764
|
-
|
|
5765
|
-
|
|
5766
|
-
|
|
5767
|
-
|
|
5768
|
-
|
|
5769
|
-
|
|
8891
|
+
type NotesListParams = z.output<typeof NotesListParams>;
|
|
8892
|
+
declare const NoteEntry: z.ZodObject<{
|
|
8893
|
+
path: z.ZodString;
|
|
8894
|
+
label: z.ZodString;
|
|
8895
|
+
folder: z.ZodString;
|
|
8896
|
+
bytes: z.ZodInt;
|
|
8897
|
+
modified_at_ms: z.ZodInt;
|
|
5770
8898
|
}, z.core.$strict>;
|
|
5771
|
-
type
|
|
5772
|
-
|
|
5773
|
-
|
|
5774
|
-
|
|
5775
|
-
|
|
5776
|
-
|
|
5777
|
-
|
|
5778
|
-
|
|
5779
|
-
|
|
5780
|
-
|
|
5781
|
-
|
|
5782
|
-
|
|
8899
|
+
type NoteEntry = z.output<typeof NoteEntry>;
|
|
8900
|
+
declare const NotesListResult: z.ZodObject<{
|
|
8901
|
+
root: z.ZodString;
|
|
8902
|
+
notes: z.ZodArray<z.ZodObject<{
|
|
8903
|
+
path: z.ZodString;
|
|
8904
|
+
label: z.ZodString;
|
|
8905
|
+
folder: z.ZodString;
|
|
8906
|
+
bytes: z.ZodInt;
|
|
8907
|
+
modified_at_ms: z.ZodInt;
|
|
8908
|
+
}, z.core.$strict>>;
|
|
8909
|
+
total: z.ZodInt;
|
|
8910
|
+
}, z.core.$strict>;
|
|
8911
|
+
type NotesListResult = z.output<typeof NotesListResult>;
|
|
8912
|
+
declare const NotesReadParams: z.ZodObject<{
|
|
8913
|
+
path: z.ZodString;
|
|
8914
|
+
}, z.core.$strict>;
|
|
8915
|
+
type NotesReadParams = z.output<typeof NotesReadParams>;
|
|
8916
|
+
declare const NotesReadResult: z.ZodObject<{
|
|
8917
|
+
path: z.ZodString;
|
|
8918
|
+
content: z.ZodString;
|
|
8919
|
+
bytes: z.ZodInt;
|
|
8920
|
+
modified_at_ms: z.ZodInt;
|
|
8921
|
+
hash: z.ZodString;
|
|
8922
|
+
}, z.core.$strict>;
|
|
8923
|
+
type NotesReadResult = z.output<typeof NotesReadResult>;
|
|
8924
|
+
declare const NotesWriteParams: z.ZodObject<{
|
|
8925
|
+
folder: z.ZodDefault<z.ZodString>;
|
|
8926
|
+
label: z.ZodString;
|
|
8927
|
+
content: z.ZodString;
|
|
8928
|
+
if_hash: z.ZodOptional<z.ZodString>;
|
|
8929
|
+
}, z.core.$strict>;
|
|
8930
|
+
type NotesWriteParams = z.output<typeof NotesWriteParams>;
|
|
8931
|
+
declare const NotesWriteResult: z.ZodObject<{
|
|
8932
|
+
path: z.ZodString;
|
|
8933
|
+
bytes: z.ZodInt;
|
|
8934
|
+
created: z.ZodBoolean;
|
|
8935
|
+
hash: z.ZodString;
|
|
8936
|
+
}, z.core.$strict>;
|
|
8937
|
+
type NotesWriteResult = z.output<typeof NotesWriteResult>;
|
|
8938
|
+
declare const NotesSearchParams: z.ZodObject<{
|
|
8939
|
+
query: z.ZodString;
|
|
8940
|
+
limit: z.ZodDefault<z.ZodInt>;
|
|
8941
|
+
}, z.core.$strict>;
|
|
8942
|
+
type NotesSearchParams = z.output<typeof NotesSearchParams>;
|
|
8943
|
+
declare const NotesMatch: z.ZodObject<{
|
|
8944
|
+
path: z.ZodString;
|
|
8945
|
+
label: z.ZodString;
|
|
8946
|
+
folder: z.ZodString;
|
|
8947
|
+
lines: z.ZodArray<z.ZodString>;
|
|
8948
|
+
}, z.core.$strict>;
|
|
8949
|
+
type NotesMatch = z.output<typeof NotesMatch>;
|
|
8950
|
+
declare const NotesSearchResult: z.ZodObject<{
|
|
8951
|
+
matches: z.ZodArray<z.ZodObject<{
|
|
8952
|
+
path: z.ZodString;
|
|
8953
|
+
label: z.ZodString;
|
|
8954
|
+
folder: z.ZodString;
|
|
8955
|
+
lines: z.ZodArray<z.ZodString>;
|
|
8956
|
+
}, z.core.$strict>>;
|
|
8957
|
+
total: z.ZodInt;
|
|
8958
|
+
}, z.core.$strict>;
|
|
8959
|
+
type NotesSearchResult = z.output<typeof NotesSearchResult>;
|
|
8960
|
+
|
|
8961
|
+
/**
|
|
8962
|
+
* @ai-matrx/desktop-protocol — caps documents and entities (SPEC §10 desktop_documents,
|
|
8963
|
+
* desktop_entities): a PDF's text, text in an image (OCR), an image resized, an Office file
|
|
8964
|
+
* written, and the names and private data in a text — all on the computer, nothing uploaded.
|
|
8965
|
+
* Matrx Local's local_media (ocr, resize, pdf_extract, office_generate) and local_ner. Served by
|
|
8966
|
+
* the core's `documents` owner with what the OS already has (macOS: PDFKit, Vision,
|
|
8967
|
+
* NaturalLanguage and sips; Windows: PowerShell; Linux: the usual command-line tools where
|
|
8968
|
+
* installed), answering PLATFORM_UNSUPPORTED, with what to install, where a computer has none.
|
|
8969
|
+
* Schema source: lint-enforced rules in scripts/check-schema-source.mjs. Added in protocol 1.37.
|
|
8970
|
+
*/
|
|
8971
|
+
|
|
8972
|
+
/** The most text a documents op returns; longer text is cut and says so (`truncated`). */
|
|
8973
|
+
declare const DOCUMENTS_MAX_TEXT_CHARS: 1048576;
|
|
8974
|
+
declare const DocumentsPdfTextParams: z.ZodObject<{
|
|
8975
|
+
path: z.ZodString;
|
|
8976
|
+
first_page: z.ZodOptional<z.ZodInt>;
|
|
8977
|
+
last_page: z.ZodOptional<z.ZodInt>;
|
|
8978
|
+
max_chars: z.ZodDefault<z.ZodInt>;
|
|
8979
|
+
}, z.core.$strict>;
|
|
8980
|
+
type DocumentsPdfTextParams = z.output<typeof DocumentsPdfTextParams>;
|
|
8981
|
+
declare const DocumentsPdfPage: z.ZodObject<{
|
|
8982
|
+
page: z.ZodInt;
|
|
8983
|
+
text: z.ZodString;
|
|
8984
|
+
}, z.core.$strict>;
|
|
8985
|
+
type DocumentsPdfPage = z.output<typeof DocumentsPdfPage>;
|
|
8986
|
+
declare const DocumentsPdfTextResult: z.ZodObject<{
|
|
8987
|
+
pages: z.ZodInt;
|
|
8988
|
+
read: z.ZodArray<z.ZodObject<{
|
|
8989
|
+
page: z.ZodInt;
|
|
8990
|
+
text: z.ZodString;
|
|
8991
|
+
}, z.core.$strict>>;
|
|
8992
|
+
truncated: z.ZodBoolean;
|
|
8993
|
+
title: z.ZodNullable<z.ZodString>;
|
|
8994
|
+
author: z.ZodNullable<z.ZodString>;
|
|
8995
|
+
}, z.core.$strict>;
|
|
8996
|
+
type DocumentsPdfTextResult = z.output<typeof DocumentsPdfTextResult>;
|
|
8997
|
+
declare const DocumentsOcrParams: z.ZodObject<{
|
|
8998
|
+
path: z.ZodString;
|
|
8999
|
+
languages: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
9000
|
+
fast: z.ZodDefault<z.ZodBoolean>;
|
|
9001
|
+
}, z.core.$strict>;
|
|
9002
|
+
type DocumentsOcrParams = z.output<typeof DocumentsOcrParams>;
|
|
9003
|
+
declare const DocumentsOcrLine: z.ZodObject<{
|
|
9004
|
+
text: z.ZodString;
|
|
9005
|
+
confidence: z.ZodNullable<z.ZodNumber>;
|
|
9006
|
+
}, z.core.$strict>;
|
|
9007
|
+
type DocumentsOcrLine = z.output<typeof DocumentsOcrLine>;
|
|
9008
|
+
declare const DocumentsOcrResult: z.ZodObject<{
|
|
9009
|
+
text: z.ZodString;
|
|
9010
|
+
lines: z.ZodArray<z.ZodObject<{
|
|
9011
|
+
text: z.ZodString;
|
|
9012
|
+
confidence: z.ZodNullable<z.ZodNumber>;
|
|
9013
|
+
}, z.core.$strict>>;
|
|
9014
|
+
truncated: z.ZodBoolean;
|
|
9015
|
+
engine: z.ZodString;
|
|
9016
|
+
}, z.core.$strict>;
|
|
9017
|
+
type DocumentsOcrResult = z.output<typeof DocumentsOcrResult>;
|
|
9018
|
+
declare const DocumentsImageResizeParams: z.ZodObject<{
|
|
9019
|
+
path: z.ZodString;
|
|
9020
|
+
out_path: z.ZodOptional<z.ZodString>;
|
|
9021
|
+
max_size: z.ZodOptional<z.ZodInt>;
|
|
9022
|
+
format: z.ZodOptional<z.ZodEnum<{
|
|
9023
|
+
jpeg: "jpeg";
|
|
9024
|
+
png: "png";
|
|
9025
|
+
tiff: "tiff";
|
|
9026
|
+
heic: "heic";
|
|
9027
|
+
bmp: "bmp";
|
|
9028
|
+
gif: "gif";
|
|
9029
|
+
}>>;
|
|
9030
|
+
overwrite: z.ZodDefault<z.ZodBoolean>;
|
|
9031
|
+
}, z.core.$strict>;
|
|
9032
|
+
type DocumentsImageResizeParams = z.output<typeof DocumentsImageResizeParams>;
|
|
9033
|
+
declare const DocumentsImageResizeResult: z.ZodObject<{
|
|
9034
|
+
path: z.ZodString;
|
|
9035
|
+
width: z.ZodInt;
|
|
9036
|
+
height: z.ZodInt;
|
|
9037
|
+
bytes: z.ZodInt;
|
|
9038
|
+
}, z.core.$strict>;
|
|
9039
|
+
type DocumentsImageResizeResult = z.output<typeof DocumentsImageResizeResult>;
|
|
9040
|
+
declare const DocumentsParagraph: z.ZodObject<{
|
|
9041
|
+
style: z.ZodDefault<z.ZodEnum<{
|
|
9042
|
+
code: "code";
|
|
9043
|
+
title: "title";
|
|
9044
|
+
body: "body";
|
|
9045
|
+
quote: "quote";
|
|
9046
|
+
heading1: "heading1";
|
|
9047
|
+
heading2: "heading2";
|
|
9048
|
+
heading3: "heading3";
|
|
9049
|
+
bullet: "bullet";
|
|
9050
|
+
numbered: "numbered";
|
|
9051
|
+
}>>;
|
|
9052
|
+
text: z.ZodString;
|
|
9053
|
+
}, z.core.$strict>;
|
|
9054
|
+
type DocumentsParagraph = z.output<typeof DocumentsParagraph>;
|
|
9055
|
+
declare const DocumentsSheet: z.ZodObject<{
|
|
9056
|
+
name: z.ZodString;
|
|
9057
|
+
rows: z.ZodArray<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>>>;
|
|
9058
|
+
header: z.ZodDefault<z.ZodBoolean>;
|
|
9059
|
+
}, z.core.$strict>;
|
|
9060
|
+
type DocumentsSheet = z.output<typeof DocumentsSheet>;
|
|
9061
|
+
declare const DocumentsOfficeGenerateParams: z.ZodObject<{
|
|
9062
|
+
kind: z.ZodEnum<{
|
|
9063
|
+
docx: "docx";
|
|
9064
|
+
xlsx: "xlsx";
|
|
5783
9065
|
}>;
|
|
9066
|
+
path: z.ZodString;
|
|
9067
|
+
title: z.ZodOptional<z.ZodString>;
|
|
9068
|
+
paragraphs: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
9069
|
+
style: z.ZodDefault<z.ZodEnum<{
|
|
9070
|
+
code: "code";
|
|
9071
|
+
title: "title";
|
|
9072
|
+
body: "body";
|
|
9073
|
+
quote: "quote";
|
|
9074
|
+
heading1: "heading1";
|
|
9075
|
+
heading2: "heading2";
|
|
9076
|
+
heading3: "heading3";
|
|
9077
|
+
bullet: "bullet";
|
|
9078
|
+
numbered: "numbered";
|
|
9079
|
+
}>>;
|
|
9080
|
+
text: z.ZodString;
|
|
9081
|
+
}, z.core.$strict>>>;
|
|
9082
|
+
sheets: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
9083
|
+
name: z.ZodString;
|
|
9084
|
+
rows: z.ZodArray<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>>>;
|
|
9085
|
+
header: z.ZodDefault<z.ZodBoolean>;
|
|
9086
|
+
}, z.core.$strict>>>;
|
|
9087
|
+
overwrite: z.ZodDefault<z.ZodBoolean>;
|
|
5784
9088
|
}, z.core.$strict>;
|
|
5785
|
-
type
|
|
5786
|
-
|
|
5787
|
-
|
|
5788
|
-
|
|
5789
|
-
ws_path: z.ZodLiteral<"/v1/connect">;
|
|
9089
|
+
type DocumentsOfficeGenerateParams = z.output<typeof DocumentsOfficeGenerateParams>;
|
|
9090
|
+
declare const DocumentsOfficeGenerateResult: z.ZodObject<{
|
|
9091
|
+
path: z.ZodString;
|
|
9092
|
+
bytes: z.ZodInt;
|
|
5790
9093
|
}, z.core.$strict>;
|
|
5791
|
-
type
|
|
9094
|
+
type DocumentsOfficeGenerateResult = z.output<typeof DocumentsOfficeGenerateResult>;
|
|
9095
|
+
declare const EntitiesNerParams: z.ZodObject<{
|
|
9096
|
+
text: z.ZodString;
|
|
9097
|
+
labels: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
9098
|
+
organization: "organization";
|
|
9099
|
+
place: "place";
|
|
9100
|
+
person: "person";
|
|
9101
|
+
}>>>;
|
|
9102
|
+
}, z.core.$strict>;
|
|
9103
|
+
type EntitiesNerParams = z.output<typeof EntitiesNerParams>;
|
|
9104
|
+
declare const EntitySpan: z.ZodObject<{
|
|
9105
|
+
text: z.ZodString;
|
|
9106
|
+
label: z.ZodString;
|
|
9107
|
+
start: z.ZodInt;
|
|
9108
|
+
end: z.ZodInt;
|
|
9109
|
+
}, z.core.$strict>;
|
|
9110
|
+
type EntitySpan = z.output<typeof EntitySpan>;
|
|
9111
|
+
declare const EntitiesNerResult: z.ZodObject<{
|
|
9112
|
+
entities: z.ZodArray<z.ZodObject<{
|
|
9113
|
+
text: z.ZodString;
|
|
9114
|
+
label: z.ZodString;
|
|
9115
|
+
start: z.ZodInt;
|
|
9116
|
+
end: z.ZodInt;
|
|
9117
|
+
}, z.core.$strict>>;
|
|
9118
|
+
engine: z.ZodString;
|
|
9119
|
+
}, z.core.$strict>;
|
|
9120
|
+
type EntitiesNerResult = z.output<typeof EntitiesNerResult>;
|
|
9121
|
+
declare const PiiKind: z.ZodEnum<{
|
|
9122
|
+
url: "url";
|
|
9123
|
+
email: "email";
|
|
9124
|
+
phone: "phone";
|
|
9125
|
+
credit_card: "credit_card";
|
|
9126
|
+
us_ssn: "us_ssn";
|
|
9127
|
+
iban: "iban";
|
|
9128
|
+
ip_address: "ip_address";
|
|
9129
|
+
api_key: "api_key";
|
|
9130
|
+
}>;
|
|
9131
|
+
type PiiKind = z.output<typeof PiiKind>;
|
|
9132
|
+
declare const EntitiesPiiParams: z.ZodObject<{
|
|
9133
|
+
text: z.ZodString;
|
|
9134
|
+
kinds: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
9135
|
+
url: "url";
|
|
9136
|
+
email: "email";
|
|
9137
|
+
phone: "phone";
|
|
9138
|
+
credit_card: "credit_card";
|
|
9139
|
+
us_ssn: "us_ssn";
|
|
9140
|
+
iban: "iban";
|
|
9141
|
+
ip_address: "ip_address";
|
|
9142
|
+
api_key: "api_key";
|
|
9143
|
+
}>>>;
|
|
9144
|
+
redact: z.ZodDefault<z.ZodBoolean>;
|
|
9145
|
+
}, z.core.$strict>;
|
|
9146
|
+
type EntitiesPiiParams = z.output<typeof EntitiesPiiParams>;
|
|
9147
|
+
declare const EntitiesPiiResult: z.ZodObject<{
|
|
9148
|
+
findings: z.ZodArray<z.ZodObject<{
|
|
9149
|
+
kind: z.ZodEnum<{
|
|
9150
|
+
url: "url";
|
|
9151
|
+
email: "email";
|
|
9152
|
+
phone: "phone";
|
|
9153
|
+
credit_card: "credit_card";
|
|
9154
|
+
us_ssn: "us_ssn";
|
|
9155
|
+
iban: "iban";
|
|
9156
|
+
ip_address: "ip_address";
|
|
9157
|
+
api_key: "api_key";
|
|
9158
|
+
}>;
|
|
9159
|
+
text: z.ZodString;
|
|
9160
|
+
start: z.ZodInt;
|
|
9161
|
+
end: z.ZodInt;
|
|
9162
|
+
}, z.core.$strict>>;
|
|
9163
|
+
redacted: z.ZodNullable<z.ZodString>;
|
|
9164
|
+
}, z.core.$strict>;
|
|
9165
|
+
type EntitiesPiiResult = z.output<typeof EntitiesPiiResult>;
|
|
5792
9166
|
|
|
5793
9167
|
/**
|
|
5794
9168
|
* Version skew is the normal state: a phone, the server and a desktop app in the field run
|
|
@@ -5876,6 +9250,8 @@ declare const FIELDS_SINCE: {
|
|
|
5876
9250
|
};
|
|
5877
9251
|
readonly AppsProjectsToWindowParams: {
|
|
5878
9252
|
readonly pin: "1.32";
|
|
9253
|
+
readonly chat_ids: "1.36";
|
|
9254
|
+
readonly take_off_from: "1.36";
|
|
5879
9255
|
};
|
|
5880
9256
|
readonly AppsProjectsToWindowResult: {
|
|
5881
9257
|
readonly pin: "1.32";
|
|
@@ -5883,6 +9259,15 @@ declare const FIELDS_SINCE: {
|
|
|
5883
9259
|
readonly AppsChatsTitlesCheckResult: {
|
|
5884
9260
|
readonly stale_windows: "1.33";
|
|
5885
9261
|
};
|
|
9262
|
+
readonly AccountAgent: {
|
|
9263
|
+
readonly tags: "1.39";
|
|
9264
|
+
readonly model_id: "1.39";
|
|
9265
|
+
readonly access_level: "1.39";
|
|
9266
|
+
readonly organization_id: "1.39";
|
|
9267
|
+
readonly origin: "1.39";
|
|
9268
|
+
readonly is_archived: "1.39";
|
|
9269
|
+
readonly orchestra: "1.39";
|
|
9270
|
+
};
|
|
5886
9271
|
};
|
|
5887
9272
|
type FieldsSincePath = keyof typeof FIELDS_SINCE;
|
|
5888
9273
|
/**
|
|
@@ -5913,6 +9298,7 @@ declare const REASONS_SINCE: {
|
|
|
5913
9298
|
readonly browser_account_mismatch: "1.28";
|
|
5914
9299
|
readonly browser_connection_off: "1.28";
|
|
5915
9300
|
readonly awaiting_confirmation: "1.28";
|
|
9301
|
+
readonly tool_disabled_on_device: "1.34";
|
|
5916
9302
|
};
|
|
5917
9303
|
/** A device status for a reader at `version`: `since_ms` null ("never") becomes 0 before 1.1. */
|
|
5918
9304
|
declare function statusForPeer<T extends {
|
|
@@ -5942,7 +9328,7 @@ declare function forPeer(op: OpName | null, part: "error", value: unknown, versi
|
|
|
5942
9328
|
declare const VERSIONED_RESULT_OPS: readonly OpName[];
|
|
5943
9329
|
|
|
5944
9330
|
/** SHA-256 of generated/desktop-protocol.schema.json: the contract both sides of a service connection were built from. */
|
|
5945
|
-
declare const CONTRACT_SHA256: "
|
|
9331
|
+
declare const CONTRACT_SHA256: "542bc69319741eea52154d413b4fe974ee5a56f7aef351e78b866b0562e82753";
|
|
5946
9332
|
|
|
5947
9333
|
/**
|
|
5948
9334
|
* The local tool catalog (SPEC §10): every tool a platform agent calls on a person's computer, the
|
|
@@ -5974,7 +9360,7 @@ declare const TOOL_GROUPS: readonly ToolGroup[];
|
|
|
5974
9360
|
* the tool reads a local path; see `note`).
|
|
5975
9361
|
*/
|
|
5976
9362
|
type ToolPath = "sandbox_proxy" | "device_op" | "server";
|
|
5977
|
-
/** `built`: the ops exist and the
|
|
9363
|
+
/** `built`: the ops exist in the protocol and Matrx 2's core serves them (registered on the platform for agents with the server tool); `planned`: designed, not built; `broken`: registered but wrong on a device. */
|
|
5978
9364
|
type ToolState = "built" | "planned" | "broken";
|
|
5979
9365
|
interface CatalogTool {
|
|
5980
9366
|
/** The platform registry name (`tool.definition.name`). */
|
|
@@ -6079,4 +9465,4 @@ declare function toolsSending(op: string): string[];
|
|
|
6079
9465
|
*/
|
|
6080
9466
|
declare function sharedOpsBlocking(tool: string, disabledTools: readonly string[]): string[];
|
|
6081
9467
|
|
|
6082
|
-
export { AbsPath, AccountAgent, AccountAgentsListParams, AccountAgentsListResult, AccountReadState, AccountReset, AccountRowId, AccountUsage, AccountVaultCopyParams, AccountVaultCopyResult, AccountVaultListParams, AccountVaultListResult, AppFeatureStatus, AppInfo, AppKey, AppProfile, AppProfileId, AppProfileLocator, AppSupport, AppUsageReading, AppWindowInfo, AppsAccountsResetsParams, AppsAccountsResetsResult, AppsAccountsUsageParams, AppsAccountsUsageResult, AppsChatsChangedEvent, AppsChatsColdParams, AppsChatsColdResult, AppsChatsListParams, AppsChatsListResult, AppsChatsOpenParams, AppsChatsPlaceParams, AppsChatsPlaceResult, AppsChatsStarParams, AppsChatsStarResult, AppsChatsTitlesCheckParams, AppsChatsTitlesCheckResult, AppsChatsTitlesPushParams, AppsChatsTitlesPushResult, AppsChatsWatchParams, AppsChatsWatchResult, AppsChatsWatchStateEvent, AppsListParams, AppsListResult, AppsOpenParams, AppsOpenResult, AppsProfilesListParams, AppsProfilesListResult, AppsProfilesRemoveParams, AppsProfilesRemoveResult, AppsProfilesSaveParams, AppsProfilesSaveResult, AppsProjectsCopyParams, AppsProjectsCopyResult, AppsProjectsCreateParams, AppsProjectsCreateResult, AppsProjectsFileManyParams, AppsProjectsFileManyResult, AppsProjectsFileParams, AppsProjectsFileResult, AppsProjectsImportPinsParams, AppsProjectsImportPinsResult, AppsProjectsMoveParams, AppsProjectsMoveResult, AppsProjectsToWindowParams, AppsProjectsToWindowResult, AppsProjectsUnfileParams, AppsProjectsUnfileResult, AppsProjectsUpdateParams, AppsProjectsUpdateResult, AppsSpendParams, AppsSpendResult, AppsSyncRunParams, AppsSyncStatusParams, AppsSyncStatusResult, AppsWindowActionResult, AppsWindowsAddParams, AppsWindowsListParams, AppsWindowsListResult, AppsWindowsOpenParams, AppsWindowsProcessesParams, AppsWindowsProcessesResult, AppsWindowsRefreshUsageParams, AppsWindowsReloadParams, AppsWindowsReopenParams, AppsWindowsReopenResult, AppsWindowsRestartParams, AppsWindowsSaveNamesParams, AppsWindowsShownParams, AppsWindowsShownResult, AppsWindowsUpdateAndReopenParams, AppsWindowsUpdateAndReopenResult, AppsWindowsUpdateStateParams, AppsWindowsUpdateStateResult, AudioDevice, AudioDevicesParams, AudioDevicesResult, AudioLevelsParams, AudioLevelsResult, AudioPlayParams, AudioPlayResult, AudioRecordParams, AudioRecordResult, AudioSetLevelsParams, BrowserCallError, BrowserCallParams, BrowserCallPhase, BrowserCallResult, BrowserClientInstance, BrowserDisconnectParams, BrowserDisconnectResult, BrowserInvokeEvent, BrowserKind, BrowserPairCodeParams, BrowserPairCodeResult, BrowserPairRequest, BrowserPairResetParams, BrowserPairResult, BrowserProgressEvent, BrowserProgressParams, BrowserProgressResult, BrowserRegisterParams, BrowserRegisterResult, BrowserResultParams, BrowserResultResult, BrowserSession, BrowserSessionState, BrowserSessionsChangedEvent, BrowserSessionsParams, BrowserSessionsResult, BrowserSetEnabledParams, BrowserSetEnabledResult, CONTRACT_SHA256, type CatalogTool, type CellState, ChatAppProject, ChatFamily, ChatHidden, ChatId, ChatLastUse, ChatPin, ChatPlace, ChatProject, ChatProjectId, ChatRow, ChatRunning, ChatWindow, ClipboardReadParams, ClipboardReadResult, ClipboardWriteParams, ClipboardWriteResult, CodingHistoryBlocked, CodingHistoryFailure, CodingHistoryImportMissingParams, CodingHistoryImportMissingResult, CodingHistoryProgressEvent, CodingHistoryRun, CodingHistoryStep, CodingImportNextParams, CodingPlanMissingParams, CodingServiceCredentials, CodingServiceProgress, ColdChat, ContractHash, CoreToServiceMsg, DEFAULT_MAX_FRAME_PAYLOAD_BYTES, DEFAULT_MAX_MESSAGE_BYTES, DEFAULT_WINDOW_BYTES, DISCOVERY_FILE, DesktopHealth, DeviceId, DiagErrorEntry, DiagErrorKind, DiagErrorStatus, DiagErrorsChangedEvent, DiagErrorsListParams, DiagErrorsListResult, DiagErrorsReportParams, DiagErrorsReportResult, DiagProcess, EXCLUDED_TOOLS, ExecCwdEvent, ExecExitedEvent, ExecJobId, ExecJobInfo, ExecJobListParams, ExecJobListResult, ExecJobOutputParams, ExecJobOutputResult, ExecJobStartParams, ExecJobStartResult, ExecJobStopParams, ExecJobStopResult, ExecListParams, ExecListResult, ExecPtyKillParams, ExecPtyKillResult, ExecPtyResizeParams, ExecPtyResizeResult, ExecPtySignalParams, ExecPtySignalResult, ExecPtyStartParams, ExecPtyStartResult, ExecPtyWriteParams, ExecPtyWriteResult, ExecRunParams, ExecRunResult, ExecTitleEvent, FIELDS_SINCE, type FieldsSincePath, FrameHeader, FsChange, FsChangedEvent, FsCopyParams, FsCopyResult, FsDeleteParams, FsDeleteResult, FsEncoding, FsEntry, FsInfoParams, FsInfoResult, FsKind, FsListParams, FsListResult, FsMkdirParams, FsMkdirResult, FsMoveParams, FsMoveResult, FsPatchEditApplied, FsPatchParams, FsPatchResult, FsReadParams, FsReadResult, FsReadStreamParams, FsReadStreamResult, FsSearchContentParams, FsSearchContentResult, FsSearchIndexParams, FsSearchIndexResult, FsSearchPathsParams, FsSearchPathsResult, FsStatParams, FsStatResult, FsWatchEventsParams, FsWatchEventsResult, FsWatchId, FsWatchParams, FsWatchResult, FsWatchStartParams, FsWatchStartResult, FsWatchStopParams, FsWatchStopResult, FsWriteParams, FsWriteResult, GIT_MAX_OUTPUT_CHARS, GitAddParams, GitBranchParams, GitBranchResult, GitCloneParams, GitCommitParams, GitCommitResult, GitDiffParams, GitDiffResult, GitLogCommit, GitLogParams, GitLogResult, GitOutputResult, GitPullParams, GitPushParams, GitStashParams, GitStatusFile, GitStatusParams, GitStatusResult, InputHotkeyParams, InputHotkeyResult, InputKey, InputKeyboardSettingsParams, InputKeyboardSettingsResult, InputMouseClickParams, InputMouseClickResult, InputMouseMoveParams, InputMouseMoveResult, InputPoint, InputSetKeyboardSettingsParams, InputTypeTextParams, InputTypeTextResult, LEGACY_ACTIONS, LEGACY_DISPATCHERS, type LegacyDisposition, MATRX_EXTENSION_IDS, NULL_SINCE, OpName, OsPermissionName, PROTOCOL_MAJOR, PROTOCOL_MINOR, PROTOCOL_VERSION, PowerEnergy, PowerHistoryParams, PowerHistoryPoint, PowerHistoryResult, PowerPreventSleepParams, PowerPreventSleepResult, PowerStatusParams, PowerStatusResult, ProcInfo, ProcKillParams, ProcKillResult, ProcListParams, ProcListResult, ProcPort, ProcPortsParams, ProcPortsResult, ProcSort, ProjectMoveChat, ProjectMoveGroup, ProjectMovePin, ProjectMoveSkip, ProtocolVersion, PtyInfo, REASONS_SINCE, RELAY_CALL_HELLO_ID, RELAY_CALL_REQUEST_ID, RELAY_CALL_VERSION_HEADER, RelayAuthExpiringEvent, RelayCallEnvelope, RelayCallHello, RelayCallRequest, RelayCallResponse, RelayDeviceStatusEvent, RelayHopConnectionEnd, RelayHopEnvelopeHeader, RelayStatusResponse, RequestId, ResourceId, ResourceInfo, ResourcesActivityParams, ResourcesActivityResult, ResourcesDisk, ResourcesIncident, ResourcesIncidentsParams, ResourcesIncidentsResult, ResourcesJob, ResourcesJobKind, ResourcesPressure, ResourcesProcess, ResourcesSample, ResourcesSnapshotParams, ResourcesSnapshotResult, ResourcesStopJobParams, ResourcesStopJobResult, ResourcesStrain, ResourcesVerdict, SERVICE_MAX_FRAME_BYTES, ScreenCaptureParams, ScreenCaptureResult, ScreenDisplay, ScreenListParams, ScreenListResult, ServiceCancel, ServiceErrorMsg, ServiceHello, ServiceName, ServicePing, ServicePong, ServiceProgressMsg, ServiceRequest, ServiceResponse, ServiceShutdown, ServiceToCoreMsg, ServiceToken, ServiceWelcome, SessionAttachParams, SessionAttachResult, SessionControlChangedEvent, SessionDetachParams, SessionDetachResult, SessionListParams, SessionListResult, SessionReleaseParams, SessionReleaseResult, ShownSection, Signal, SpendAccount, SpendChat, SpendDay, SpendHelper, SpendIdle, SpendIdleScope, SpendLive, SpendModel, SpendScopes, SpendSplit, SpendStart, StackErrorsParams, StackErrorsResult, StackEvent, StackLogsParams, StackLogsResult, StackRunResult, StackServer, StackServerActionParams, StackServerActionResult, StackServerName, StackStartParams, StackStateParams, StackStateResult, StackStopParams, StackTone, StaleTitleWindow, type StatusCell, type StatusEvidence, type StatusRow, SysinfoGetParams, SysinfoGetResult, SysinfoHardwareParams, SysinfoHardwareResult, SystemNotifyParams, SystemNotifyResult, SystemOpenPathParams, SystemOpenPathResult, SystemOpenSettingsParams, SystemOpenSettingsResult, SystemOpenUrlParams, SystemOpenUrlResult, SystemSettingsPane, TOOL_CATALOG, TOOL_GROUPS, TOOL_LEVELS, TOOL_PLATFORMS, TitleCopies, TitleMismatch, type ToolGroup, type ToolGroupId, ToolLevel, ToolLevelResult, ToolName, ToolOutcome, type ToolPath, ToolPlatform, ToolResultsFile, type ToolState, type ToolStatus, ToolTransport, ToolsServiceProgress, ToolsWebSearchParams, VERSIONED_RESULT_OPS, VaultFieldSummary, VaultItemKind, VaultItemSummary, WEB_MAX_TEXT_CHARS, WebBrowserFetchParams, WebBrowserFetchResult, WebFetchParams, WebFetchResult, WebHeader, WebScrapePage, WebScrapeParams, WebScrapeResult, WebSearchHit, WebSearchParams, WebSearchQueryResult, WebSearchResult, WindowFocusParams, WindowFocusResult, WindowInfo, WindowListParams, WindowListResult, WindowMinimizeParams, WindowMinimizeResult, WindowMoveParams, WindowMoveResult, announcedVersion, buildToolStatus, builtOps, compareVersions, epochMs, forPeer, knows, negotiate, nonNegInt, refusedOps, renderToolStatusMarkdown, sharedOpsBlocking, statusForPeer, toolsSending, u32, versionSubprotocol };
|
|
9468
|
+
export { AbsPath, AccountAgent, AccountAgentDetail, AccountAgentRun, AccountAgentRunSort, AccountAgentRunStatus, AccountAgentVariable, AccountAgentsFavoriteParams, AccountAgentsFavoriteResult, AccountAgentsGetParams, AccountAgentsGetResult, AccountAgentsListParams, AccountAgentsListResult, AccountAgentsRunsParams, AccountAgentsRunsResult, AccountReadState, AccountReset, AccountRowId, AccountUsage, AccountVaultCopyParams, AccountVaultCopyResult, AccountVaultListParams, AccountVaultListResult, AppFeatureStatus, AppInfo, AppKey, AppProfile, AppProfileId, AppProfileLocator, AppSupport, AppUsageReading, AppWindowInfo, AppsAccountsResetsParams, AppsAccountsResetsResult, AppsAccountsUsageParams, AppsAccountsUsageResult, AppsChatsChangedEvent, AppsChatsColdParams, AppsChatsColdResult, AppsChatsListParams, AppsChatsListResult, AppsChatsOpenParams, AppsChatsPlaceParams, AppsChatsPlaceResult, AppsChatsStarParams, AppsChatsStarResult, AppsChatsTitlesCheckParams, AppsChatsTitlesCheckResult, AppsChatsTitlesPushParams, AppsChatsTitlesPushResult, AppsChatsWatchParams, AppsChatsWatchResult, AppsChatsWatchStateEvent, AppsListParams, AppsListResult, AppsOpenParams, AppsOpenResult, AppsProfilesListParams, AppsProfilesListResult, AppsProfilesRemoveParams, AppsProfilesRemoveResult, AppsProfilesSaveParams, AppsProfilesSaveResult, AppsProjectsCopyParams, AppsProjectsCopyResult, AppsProjectsCreateParams, AppsProjectsCreateResult, AppsProjectsFileManyParams, AppsProjectsFileManyResult, AppsProjectsFileParams, AppsProjectsFileResult, AppsProjectsImportPinsParams, AppsProjectsImportPinsResult, AppsProjectsMoveParams, AppsProjectsMoveResult, AppsProjectsToWindowParams, AppsProjectsToWindowResult, AppsProjectsUnfileParams, AppsProjectsUnfileResult, AppsProjectsUpdateParams, AppsProjectsUpdateResult, AppsSpendParams, AppsSpendResult, AppsSyncRunParams, AppsSyncStatusParams, AppsSyncStatusResult, AppsWindowActionResult, AppsWindowsAddParams, AppsWindowsListParams, AppsWindowsListResult, AppsWindowsOpenParams, AppsWindowsProcessesParams, AppsWindowsProcessesResult, AppsWindowsRefreshUsageParams, AppsWindowsReloadParams, AppsWindowsReopenParams, AppsWindowsReopenResult, AppsWindowsRestartParams, AppsWindowsSaveNamesParams, AppsWindowsShownParams, AppsWindowsShownResult, AppsWindowsUpdateAndReopenParams, AppsWindowsUpdateAndReopenResult, AppsWindowsUpdateStateParams, AppsWindowsUpdateStateResult, AudioDevice, AudioDevicesParams, AudioDevicesResult, AudioLevelsParams, AudioLevelsResult, AudioPlayParams, AudioPlayResult, AudioRecordParams, AudioRecordResult, AudioSetLevelsParams, AutomationScriptParams, AutomationScriptResult, BrowserCallError, BrowserCallParams, BrowserCallPhase, BrowserCallResult, BrowserClientInstance, BrowserDisconnectParams, BrowserDisconnectResult, BrowserInvokeEvent, BrowserKind, BrowserLogMessage, BrowserLogParams, BrowserLogResult, BrowserPairCodeParams, BrowserPairCodeResult, BrowserPairRequest, BrowserPairResetParams, BrowserPairResult, BrowserProgressEvent, BrowserProgressParams, BrowserProgressResult, BrowserRegisterParams, BrowserRegisterResult, BrowserResetCountersParams, BrowserResetCountersResult, BrowserResultParams, BrowserResultResult, BrowserSession, BrowserSessionState, BrowserSessionsChangedEvent, BrowserSessionsParams, BrowserSessionsResult, BrowserSetEnabledParams, BrowserSetEnabledResult, BrowserToolMetric, BrowserToolMetricsParams, BrowserToolMetricsResult, CONTRACT_SHA256, CalendarCreateParams, CalendarCreateResult, CalendarEvent, CalendarListParams, CalendarListResult, type CatalogTool, type CellState, ChatAppProject, ChatFamily, ChatHidden, ChatId, ChatLastUse, ChatPin, ChatPlace, ChatProject, ChatProjectId, ChatRow, ChatRunning, ChatWindow, ClipboardReadParams, ClipboardReadResult, ClipboardWriteParams, ClipboardWriteResult, CodingActiveElsewhere, CodingActivityParams, CodingActivityResult, CodingAgentSelectionParams, CodingAgentSetParams, CodingAgentSetResult, CodingAgentsAccessParams, CodingAgentsAccessResult, CodingChangedEvent, CodingChatPreference, CodingClientRequestId, CodingDiscoverParams, CodingDiscoverResult, CodingDiscoveredChat, CodingFolderCheck, CodingFoldersCheckParams, CodingFoldersCheckResult, CodingFoldersCreateParams, CodingFoldersCreateResult, CodingFoldersRecentParams, CodingFoldersRecentResult, CodingGapEvent, CodingHistoryBlocked, CodingHistoryFailure, CodingHistoryImportMissingParams, CodingHistoryImportMissingResult, CodingHistoryParams, CodingHistoryProgressEvent, CodingHistoryRecord, CodingHistoryResult, CodingHistoryRun, CodingHistoryStep, CodingImportNextParams, CodingItemEvent, CodingItemFullParams, CodingItemFullResult, CodingOptionsSetParams, CodingOptionsSetResult, CodingPlanMissingParams, CodingPrefsListParams, CodingPrefsListResult, CodingPrefsSetParams, CodingPrefsSetResult, CodingProviderBinary, CodingProviderName, CodingProviderProblem, CodingProviderStatus, CodingProvidersParams, CodingProvidersResult, CodingQuotaWindow, CodingRecentFolder, CodingRecentRow, CodingRecentSeenParams, CodingRecentSeenResult, CodingReconcileParams, CodingReconcileResult, CodingRunRecord, CodingRunStatus, CodingRunUsage, CodingRunsListParams, CodingRunsListResult, CodingSearchParams, CodingSearchResult, CodingSendParams, CodingSendResult, CodingServiceCredentials, CodingServiceProgress, CodingSessionAgent, CodingSessionAgentPart, CodingSessionRecord, CodingSessionWatchParams, CodingSessionWatchResult, CodingSessionsListParams, CodingSessionsListResult, CodingStartParams, CodingStartResult, CodingStartedBy, CodingStopElsewhereParams, CodingStopElsewhereResult, CodingStopParams, CodingStopResult, CodingTakeoverParams, CodingTakeoverResult, CodingTitleStatus, CodingTitlesStatusParams, CodingTitlesStatusResult, CodingTranscriptItem, CodingTranscriptRawParams, CodingTranscriptRawResult, CodingTranscriptReadParams, CodingTranscriptReadResult, CodingWatchParams, CodingWatchResult, CodingWatchStateEvent, ColdChat, ContactDetail, ContactLabeled, ContactSummary, ContactsGetParams, ContactsGetResult, ContactsSearchParams, ContactsSearchResult, ContractHash, CoreToServiceMsg, DEFAULT_MAX_FRAME_PAYLOAD_BYTES, DEFAULT_MAX_MESSAGE_BYTES, DEFAULT_WINDOW_BYTES, DISCOVERY_FILE, DOCUMENTS_MAX_TEXT_CHARS, DesktopHealth, DeviceId, DiagErrorEntry, DiagErrorKind, DiagErrorStatus, DiagErrorsChangedEvent, DiagErrorsListParams, DiagErrorsListResult, DiagErrorsReportParams, DiagErrorsReportResult, DiagProcess, DocumentsImageResizeParams, DocumentsImageResizeResult, DocumentsOcrLine, DocumentsOcrParams, DocumentsOcrResult, DocumentsOfficeGenerateParams, DocumentsOfficeGenerateResult, DocumentsParagraph, DocumentsPdfPage, DocumentsPdfTextParams, DocumentsPdfTextResult, DocumentsSheet, EXCLUDED_TOOLS, EntitiesNerParams, EntitiesNerResult, EntitiesPiiParams, EntitiesPiiResult, EntitySpan, ExecCwdEvent, ExecExitedEvent, ExecJobId, ExecJobInfo, ExecJobListParams, ExecJobListResult, ExecJobOutputParams, ExecJobOutputResult, ExecJobStartParams, ExecJobStartResult, ExecJobStopParams, ExecJobStopResult, ExecListParams, ExecListResult, ExecPtyKillParams, ExecPtyKillResult, ExecPtyResizeParams, ExecPtyResizeResult, ExecPtySignalParams, ExecPtySignalResult, ExecPtyStartParams, ExecPtyStartResult, ExecPtyWriteParams, ExecPtyWriteResult, ExecRunParams, ExecRunResult, ExecTitleEvent, FIELDS_SINCE, type FieldsSincePath, FrameHeader, FsChange, FsChangedEvent, FsCopyParams, FsCopyResult, FsDeleteParams, FsDeleteResult, FsEncoding, FsEntry, FsInfoParams, FsInfoResult, FsKind, FsListParams, FsListResult, FsMkdirParams, FsMkdirResult, FsMoveParams, FsMoveResult, FsPatchEditApplied, FsPatchParams, FsPatchResult, FsReadParams, FsReadResult, FsReadStreamParams, FsReadStreamResult, FsSearchContentParams, FsSearchContentResult, FsSearchIndexParams, FsSearchIndexResult, FsSearchPathsParams, FsSearchPathsResult, FsStatParams, FsStatResult, FsWatchEventsParams, FsWatchEventsResult, FsWatchId, FsWatchParams, FsWatchResult, FsWatchStartParams, FsWatchStartResult, FsWatchStopParams, FsWatchStopResult, FsWriteParams, FsWriteResult, GIT_MAX_OUTPUT_CHARS, GitAddParams, GitBranchParams, GitBranchResult, GitCloneParams, GitCommitParams, GitCommitResult, GitDiffParams, GitDiffResult, GitLogCommit, GitLogParams, GitLogResult, GitOutputResult, GitPullParams, GitPushParams, GitStashParams, GitStatusFile, GitStatusParams, GitStatusResult, InputHotkeyParams, InputHotkeyResult, InputKey, InputKeyboardSettingsParams, InputKeyboardSettingsResult, InputMouseClickParams, InputMouseClickResult, InputMouseMoveParams, InputMouseMoveResult, InputPoint, InputSetKeyboardSettingsParams, InputTypeTextParams, InputTypeTextResult, LEGACY_ACTIONS, LEGACY_DISPATCHERS, type LegacyDisposition, LocationGetParams, LocationGetResult, MATRX_EXTENSION_IDS, MailAccount, MailAccountsParams, MailAccountsResult, MailListParams, MailListResult, MailMessage, MailSendParams, MailSendResult, MessagesChat, MessagesChatsParams, MessagesChatsResult, MessagesListParams, MessagesListResult, MessagesMessage, MessagesSendParams, MessagesSendResult, NULL_SINCE, NetAddress, NetBluetoothDevice, NetBluetoothParams, NetBluetoothResult, NetDevice, NetDevicesParams, NetDevicesResult, NetDownloadParams, NetDownloadResult, NetInfoParams, NetInfoResult, NetInterface, NetMdnsParams, NetMdnsResult, NetMdnsService, NetScanParams, NetScanResult, NetWifiNetwork, NetWifiParams, NetWifiResult, NoteEntry, NotesFolder, NotesFoldersParams, NotesFoldersResult, NotesListParams, NotesListResult, NotesMatch, NotesReadParams, NotesReadResult, NotesSearchParams, NotesSearchResult, NotesWriteParams, NotesWriteResult, OpName, OsPermissionName, PROTOCOL_MAJOR, PROTOCOL_MINOR, PROTOCOL_VERSION, Photo, PhotosGetParams, PhotosGetResult, PhotosSearchParams, PhotosSearchResult, PiiKind, PowerEnergy, PowerHistoryParams, PowerHistoryPoint, PowerHistoryResult, PowerPreventSleepParams, PowerPreventSleepResult, PowerStatusParams, PowerStatusResult, ProcInfo, ProcKillParams, ProcKillResult, ProcListParams, ProcListResult, ProcPort, ProcPortsParams, ProcPortsResult, ProcSort, ProjectMoveChat, ProjectMoveGroup, ProjectMovePin, ProjectMoveSkip, ProtocolVersion, PtyInfo, REASONS_SINCE, RELAY_CALL_HELLO_ID, RELAY_CALL_REQUEST_ID, RELAY_CALL_VERSION_HEADER, RegistryValue, RegistryValueType, RelayAuthExpiringEvent, RelayCallEnvelope, RelayCallHello, RelayCallRequest, RelayCallResponse, RelayDeviceStatusEvent, RelayHopConnectionEnd, RelayHopEnvelopeHeader, RelayStatusResponse, Reminder, RemindersCreateParams, RemindersCreateResult, RemindersListParams, RemindersListResult, RequestId, ResourceId, ResourceInfo, ResourcesActivityParams, ResourcesActivityResult, ResourcesDisk, ResourcesIncident, ResourcesIncidentsParams, ResourcesIncidentsResult, ResourcesJob, ResourcesJobKind, ResourcesPressure, ResourcesProcess, ResourcesSample, ResourcesSnapshotParams, ResourcesSnapshotResult, ResourcesStopJobParams, ResourcesStopJobResult, ResourcesStrain, ResourcesVerdict, SERVICE_MAX_FRAME_BYTES, ScheduleCancelParams, ScheduleCancelResult, ScheduleCreateParams, ScheduleCreateResult, ScheduleListParams, ScheduleListResult, ScheduleRun, ScheduledTask, ScreenCaptureParams, ScreenCaptureResult, ScreenDisplay, ScreenListParams, ScreenListResult, ServiceCancel, ServiceErrorMsg, ServiceHello, ServiceName, ServicePing, ServicePong, ServiceProgressMsg, ServiceRequest, ServiceResponse, ServiceShutdown, ServiceToCoreMsg, ServiceToken, ServiceWelcome, SessionAttachParams, SessionAttachResult, SessionControlChangedEvent, SessionDetachParams, SessionDetachResult, SessionIdentifyParams, SessionIdentifyResult, SessionListParams, SessionListResult, SessionReleaseParams, SessionReleaseResult, ShownSection, Signal, SpendAccount, SpendChat, SpendDay, SpendHelper, SpendIdle, SpendIdleScope, SpendLive, SpendModel, SpendScopes, SpendSplit, SpendStart, StackErrorsParams, StackErrorsResult, StackEvent, StackLogsParams, StackLogsResult, StackRunResult, StackServer, StackServerActionParams, StackServerActionResult, StackServerName, StackStartParams, StackStateParams, StackStateResult, StackStopParams, StackTone, StaleTitleWindow, type StatusCell, type StatusEvidence, type StatusRow, SysinfoGetParams, SysinfoGetResult, SysinfoHardwareParams, SysinfoHardwareResult, SystemNotifyParams, SystemNotifyResult, SystemOpenPathParams, SystemOpenPathResult, SystemOpenSettingsParams, SystemOpenSettingsResult, SystemOpenUrlParams, SystemOpenUrlResult, SystemSettingsPane, TOOL_CATALOG, TOOL_GROUPS, TOOL_LEVELS, TOOL_PLATFORMS, TitleCopies, TitleMismatch, type ToolGroup, type ToolGroupId, ToolLevel, ToolLevelResult, ToolName, ToolOutcome, type ToolPath, ToolPlatform, ToolResultsFile, type ToolState, type ToolStatus, ToolTransport, ToolsServiceProgress, ToolsWebSearchParams, VERSIONED_RESULT_OPS, VaultFieldSummary, VaultItemKind, VaultItemSummary, WEB_MAX_TEXT_CHARS, WebBrowserFetchParams, WebBrowserFetchResult, WebFetchParams, WebFetchResult, WebHeader, WebScrapePage, WebScrapeParams, WebScrapeResult, WebSearchHit, WebSearchParams, WebSearchQueryResult, WebSearchResult, WindowFocusParams, WindowFocusResult, WindowInfo, WindowListParams, WindowListResult, WindowMinimizeParams, WindowMinimizeResult, WindowMoveParams, WindowMoveResult, WindowsEvent, WindowsEventLogParams, WindowsEventLogResult, WindowsFeature, WindowsFeaturesParams, WindowsFeaturesResult, WindowsRegistryReadParams, WindowsRegistryReadResult, WindowsRegistryWriteParams, WindowsRegistryWriteResult, WindowsService, WindowsServiceControlParams, WindowsServiceControlResult, WindowsServicesParams, WindowsServicesResult, announcedVersion, buildToolStatus, builtOps, compareVersions, epochMs, forPeer, knows, negotiate, nonNegInt, refusedOps, renderToolStatusMarkdown, sharedOpsBlocking, statusForPeer, toolsSending, u32, versionSubprotocol };
|