@ai-matrx/desktop-protocol 0.21.29 → 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 +6 -0
- package/dist/client.cjs +1277 -754
- 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 +1277 -754
- package/dist/client.js.map +1 -1
- package/dist/index.cjs +1136 -456
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +2195 -85
- package/dist/index.d.ts +2195 -85
- package/dist/index.js +1136 -456
- package/dist/index.js.map +1 -1
- package/dist/{models-BpzT2hqF.d.cts → models-CzKyJhDP.d.cts} +6864 -3303
- package/dist/{models-BpzT2hqF.d.ts → models-CzKyJhDP.d.ts} +6864 -3303
- package/dist/react.d.cts +1585 -1
- package/dist/react.d.ts +1585 -1
- package/generated/desktop-protocol.schema.json +3923 -222
- 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. */
|
|
@@ -82,10 +82,20 @@ declare const PROTOCOL_MAJOR: 1;
|
|
|
82
82
|
* and entities.* (names, private data); browser.tool_metrics, browser.reset_counters and
|
|
83
83
|
* browser.log (the bridge's diagnostics for every one of the owner's clients). A 1.36 core
|
|
84
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.
|
|
85
95
|
*/
|
|
86
|
-
declare const PROTOCOL_MINOR:
|
|
96
|
+
declare const PROTOCOL_MINOR: 39;
|
|
87
97
|
/** This package's version as the wire spells it ("major.minor"): hello, welcome, relay status. */
|
|
88
|
-
declare const PROTOCOL_VERSION: "1.
|
|
98
|
+
declare const PROTOCOL_VERSION: "1.39";
|
|
89
99
|
/** Internal building blocks — deliberately unnamed in $defs (inlined wherever used). */
|
|
90
100
|
declare const u32: z.ZodInt;
|
|
91
101
|
declare const nonNegInt: z.ZodInt;
|
|
@@ -1245,6 +1255,17 @@ declare const AccountAgent: z.ZodObject<{
|
|
|
1245
1255
|
shared_by: z.ZodNullable<z.ZodString>;
|
|
1246
1256
|
organization: z.ZodNullable<z.ZodString>;
|
|
1247
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>;
|
|
1248
1269
|
}, z.core.$strict>;
|
|
1249
1270
|
type AccountAgent = z.output<typeof AccountAgent>;
|
|
1250
1271
|
declare const AccountAgentsListParams: z.ZodObject<{}, z.core.$strict>;
|
|
@@ -1267,6 +1288,17 @@ declare const AccountAgentsListResult: z.ZodObject<{
|
|
|
1267
1288
|
shared_by: z.ZodNullable<z.ZodString>;
|
|
1268
1289
|
organization: z.ZodNullable<z.ZodString>;
|
|
1269
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>;
|
|
1270
1302
|
}, z.core.$strict>>;
|
|
1271
1303
|
}, z.core.$strict>;
|
|
1272
1304
|
type AccountAgentsListResult = z.output<typeof AccountAgentsListResult>;
|
|
@@ -1366,6 +1398,204 @@ declare const AccountVaultCopyResult: z.ZodObject<{
|
|
|
1366
1398
|
clears_at_ms: z.ZodInt;
|
|
1367
1399
|
}, z.core.$strict>;
|
|
1368
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>;
|
|
1369
1599
|
|
|
1370
1600
|
/**
|
|
1371
1601
|
* @ai-matrx/desktop-protocol — cap apps (SPEC §6): the desktop apps a person uses (Claude, Codex,
|
|
@@ -3436,9 +3666,9 @@ type ToolPlatform = z.output<typeof ToolPlatform>;
|
|
|
3436
3666
|
*/
|
|
3437
3667
|
declare const ToolTransport: z.ZodEnum<{
|
|
3438
3668
|
relay: "relay";
|
|
3669
|
+
agent: "agent";
|
|
3439
3670
|
in_process: "in_process";
|
|
3440
3671
|
localhost: "localhost";
|
|
3441
|
-
agent: "agent";
|
|
3442
3672
|
}>;
|
|
3443
3673
|
type ToolTransport = z.output<typeof ToolTransport>;
|
|
3444
3674
|
declare const ToolLevelResult: z.ZodObject<{
|
|
@@ -3455,9 +3685,9 @@ declare const ToolLevelResult: z.ZodObject<{
|
|
|
3455
3685
|
}>;
|
|
3456
3686
|
transport: z.ZodEnum<{
|
|
3457
3687
|
relay: "relay";
|
|
3688
|
+
agent: "agent";
|
|
3458
3689
|
in_process: "in_process";
|
|
3459
3690
|
localhost: "localhost";
|
|
3460
|
-
agent: "agent";
|
|
3461
3691
|
}>;
|
|
3462
3692
|
outcome: z.ZodEnum<{
|
|
3463
3693
|
pass: "pass";
|
|
@@ -3488,9 +3718,9 @@ declare const ToolResultsFile: z.ZodObject<{
|
|
|
3488
3718
|
}>;
|
|
3489
3719
|
transport: z.ZodEnum<{
|
|
3490
3720
|
relay: "relay";
|
|
3721
|
+
agent: "agent";
|
|
3491
3722
|
in_process: "in_process";
|
|
3492
3723
|
localhost: "localhost";
|
|
3493
|
-
agent: "agent";
|
|
3494
3724
|
}>;
|
|
3495
3725
|
outcome: z.ZodEnum<{
|
|
3496
3726
|
pass: "pass";
|
|
@@ -5517,97 +5747,1968 @@ declare const CodingHistoryProgressEvent: z.ZodObject<{
|
|
|
5517
5747
|
type CodingHistoryProgressEvent = z.output<typeof CodingHistoryProgressEvent>;
|
|
5518
5748
|
|
|
5519
5749
|
/**
|
|
5520
|
-
* @ai-matrx/desktop-protocol —
|
|
5521
|
-
*
|
|
5522
|
-
*
|
|
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.
|
|
5523
5754
|
*
|
|
5524
|
-
*
|
|
5525
|
-
*
|
|
5526
|
-
*
|
|
5527
|
-
*
|
|
5528
|
-
*
|
|
5529
|
-
*
|
|
5530
|
-
*
|
|
5531
|
-
*
|
|
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).
|
|
5532
5767
|
*/
|
|
5533
5768
|
|
|
5534
|
-
/**
|
|
5535
|
-
declare const
|
|
5536
|
-
declare const
|
|
5537
|
-
|
|
5538
|
-
|
|
5539
|
-
|
|
5540
|
-
|
|
5541
|
-
|
|
5542
|
-
|
|
5543
|
-
|
|
5544
|
-
brave: "brave";
|
|
5545
|
-
arc: "arc";
|
|
5546
|
-
opera: "opera";
|
|
5547
|
-
vivaldi: "vivaldi";
|
|
5548
|
-
chromium: "chromium";
|
|
5549
|
-
firefox: "firefox";
|
|
5550
|
-
}>;
|
|
5551
|
-
extension_version: z.ZodString;
|
|
5552
|
-
state: z.ZodEnum<{
|
|
5553
|
-
connected: "connected";
|
|
5554
|
-
different_account: "different_account";
|
|
5555
|
-
extension_signed_out: "extension_signed_out";
|
|
5556
|
-
device_signed_out: "device_signed_out";
|
|
5557
|
-
unverified: "unverified";
|
|
5558
|
-
}>;
|
|
5559
|
-
routable: z.ZodBoolean;
|
|
5560
|
-
account_email: z.ZodNullable<z.ZodString>;
|
|
5561
|
-
connected_at_ms: z.ZodInt;
|
|
5562
|
-
last_call_at_ms: z.ZodNullable<z.ZodInt>;
|
|
5563
|
-
calls: z.ZodInt;
|
|
5564
|
-
errors: z.ZodInt;
|
|
5565
|
-
p50_ms: z.ZodNullable<z.ZodInt>;
|
|
5566
|
-
p95_ms: z.ZodNullable<z.ZodInt>;
|
|
5567
|
-
awaiting_confirmation: z.ZodBoolean;
|
|
5568
|
-
}, 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;
|
|
5569
5779
|
}, z.core.$strict>;
|
|
5570
|
-
declare const
|
|
5571
|
-
|
|
5572
|
-
|
|
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>;
|
|
5573
5785
|
}, z.core.$strict>;
|
|
5574
|
-
declare const
|
|
5575
|
-
|
|
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;
|
|
5576
5794
|
}, z.core.$strict>;
|
|
5577
|
-
|
|
5578
|
-
|
|
5579
|
-
|
|
5580
|
-
|
|
5581
|
-
|
|
5582
|
-
|
|
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";
|
|
5583
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>>;
|
|
5584
5810
|
}, z.core.$strict>;
|
|
5585
|
-
declare const
|
|
5586
|
-
|
|
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>>;
|
|
5587
5877
|
}, z.core.$strict>;
|
|
5588
|
-
declare const
|
|
5589
|
-
declare const
|
|
5590
|
-
|
|
5878
|
+
declare const CodingSessionsListParams: z.ZodObject<{}, z.core.$strict>;
|
|
5879
|
+
declare const CodingDiscoverParams: z.ZodObject<{
|
|
5880
|
+
limit: z.ZodOptional<z.ZodInt>;
|
|
5591
5881
|
}, z.core.$strict>;
|
|
5592
|
-
declare const
|
|
5593
|
-
|
|
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>>;
|
|
5594
5920
|
}, z.core.$strict>;
|
|
5595
|
-
declare const
|
|
5596
|
-
|
|
5921
|
+
declare const CodingRunsListParams: z.ZodObject<{
|
|
5922
|
+
session_id: z.ZodString;
|
|
5597
5923
|
}, z.core.$strict>;
|
|
5598
|
-
declare const
|
|
5599
|
-
|
|
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>>;
|
|
5600
5967
|
}, z.core.$strict>;
|
|
5601
|
-
/**
|
|
5602
|
-
declare const
|
|
5603
|
-
|
|
5604
|
-
|
|
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>;
|
|
5605
5972
|
}, z.core.$strict>;
|
|
5606
|
-
declare const
|
|
5607
|
-
|
|
5608
|
-
|
|
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;
|
|
5609
6026
|
}, z.core.$strict>;
|
|
5610
|
-
declare const
|
|
6027
|
+
declare const CodingTranscriptReadParams: z.ZodObject<{
|
|
6028
|
+
provider: z.ZodEnum<{
|
|
6029
|
+
claude: "claude";
|
|
6030
|
+
codex: "codex";
|
|
6031
|
+
}>;
|
|
6032
|
+
provider_session_id: z.ZodString;
|
|
6033
|
+
max_bytes: z.ZodOptional<z.ZodInt>;
|
|
6034
|
+
}, z.core.$strict>;
|
|
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>>;
|
|
6353
|
+
}, z.core.$strict>;
|
|
6354
|
+
/**
|
|
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).
|
|
6357
|
+
*/
|
|
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>;
|
|
6583
|
+
/**
|
|
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.
|
|
6587
|
+
*/
|
|
6588
|
+
declare const CodingReconcileParams: z.ZodObject<{
|
|
6589
|
+
provider: z.ZodEnum<{
|
|
6590
|
+
claude: "claude";
|
|
6591
|
+
codex: "codex";
|
|
6592
|
+
}>;
|
|
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;
|
|
7048
|
+
state: z.ZodEnum<{
|
|
7049
|
+
running: "running";
|
|
7050
|
+
idle: "idle";
|
|
7051
|
+
needs_attention: "needs_attention";
|
|
7052
|
+
new_output: "new_output";
|
|
7053
|
+
elsewhere: "elsewhere";
|
|
7054
|
+
}>;
|
|
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<{
|
|
5611
7712
|
client_instance: z.ZodString;
|
|
5612
7713
|
}, z.core.$strict>;
|
|
5613
7714
|
/** `reset` false: that browser is not connected (its numbers by tool were cleared all the same). */
|
|
@@ -7158,6 +9259,15 @@ declare const FIELDS_SINCE: {
|
|
|
7158
9259
|
readonly AppsChatsTitlesCheckResult: {
|
|
7159
9260
|
readonly stale_windows: "1.33";
|
|
7160
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
|
+
};
|
|
7161
9271
|
};
|
|
7162
9272
|
type FieldsSincePath = keyof typeof FIELDS_SINCE;
|
|
7163
9273
|
/**
|
|
@@ -7218,7 +9328,7 @@ declare function forPeer(op: OpName | null, part: "error", value: unknown, versi
|
|
|
7218
9328
|
declare const VERSIONED_RESULT_OPS: readonly OpName[];
|
|
7219
9329
|
|
|
7220
9330
|
/** SHA-256 of generated/desktop-protocol.schema.json: the contract both sides of a service connection were built from. */
|
|
7221
|
-
declare const CONTRACT_SHA256: "
|
|
9331
|
+
declare const CONTRACT_SHA256: "542bc69319741eea52154d413b4fe974ee5a56f7aef351e78b866b0562e82753";
|
|
7222
9332
|
|
|
7223
9333
|
/**
|
|
7224
9334
|
* The local tool catalog (SPEC §10): every tool a platform agent calls on a person's computer, the
|
|
@@ -7355,4 +9465,4 @@ declare function toolsSending(op: string): string[];
|
|
|
7355
9465
|
*/
|
|
7356
9466
|
declare function sharedOpsBlocking(tool: string, disabledTools: readonly string[]): string[];
|
|
7357
9467
|
|
|
7358
|
-
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, 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, CodingHistoryBlocked, CodingHistoryFailure, CodingHistoryImportMissingParams, CodingHistoryImportMissingResult, CodingHistoryProgressEvent, CodingHistoryRun, CodingHistoryStep, CodingImportNextParams, CodingPlanMissingParams, CodingServiceCredentials, CodingServiceProgress, 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, 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 };
|
|
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 };
|