@ai-matrx/desktop-protocol 0.17.10 → 0.17.12
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 +14 -0
- package/dist/client.cjs +394 -298
- package/dist/client.cjs.map +1 -1
- package/dist/client.d.cts +2 -2
- package/dist/client.d.ts +2 -2
- package/dist/client.js +394 -298
- package/dist/client.js.map +1 -1
- package/dist/index.cjs +210 -84
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +232 -14
- package/dist/index.d.ts +232 -14
- package/dist/index.js +210 -84
- package/dist/index.js.map +1 -1
- package/dist/{models-BcBSKFeq.d.cts → models-A0PWllJz.d.cts} +395 -16
- package/dist/{models-BcBSKFeq.d.ts → models-A0PWllJz.d.ts} +395 -16
- package/dist/react.d.cts +192 -7
- package/dist/react.d.ts +192 -7
- package/generated/desktop-protocol.schema.json +525 -4
- package/package.json +1 -1
package/dist/index.d.cts
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 MlInstallPhase, A as MlInstallProgress, f as MlProgress, G as MlRuntimeState, I as MlServiceState, J as MlServiceStatus, K as MlStatusParams, N as MlStatusResult, P as ModelsInstallParams, Q as ModelsInstallResult, R as ModelsProgressEvent, U as ModelsStatusParams, V as ModelsStatusResult, X as ModelsTranscribeParams, M as ModelsTranscribeResult, Y as NAMED_SCHEMAS, Z as NamedSchemaId, c as OPS, _ as OpDescriptor, a as OpParams, b as OpResult, $ as OpSpec, a0 as PING_TEXT, a1 as PONG_TEXT, a2 as ProtocolErrorBody, a3 as RelayMsg, a4 as RequestMsg, a5 as ResponseMsg, a6 as SERVICES, a7 as SUBPROTOCOL, a8 as ServiceId, a9 as ServiceOpName, aa as ServiceOpSpec, ab as ServiceSpec, S as StreamMeta, ac as StreamMsg, ad as TranscriptSegment, T as TranscriptionModelId, ae as TranscriptionModelInfo, W as Welcome, af as closeRule, i as isDesktopProtocolError, ag as isTerminalClose } from './models-
|
|
2
|
+
import { O as OpName } from './models-A0PWllJz.cjs';
|
|
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 MlInstallPhase, A as MlInstallProgress, f as MlProgress, G as MlRuntimeState, I as MlServiceState, J as MlServiceStatus, K as MlStatusParams, N as MlStatusResult, P as ModelsInstallParams, Q as ModelsInstallResult, R as ModelsProgressEvent, U as ModelsStatusParams, V as ModelsStatusResult, X as ModelsTranscribeParams, M as ModelsTranscribeResult, Y as NAMED_SCHEMAS, Z as NamedSchemaId, c as OPS, _ as OpDescriptor, a as OpParams, b as OpResult, $ as OpSpec, a0 as PING_TEXT, a1 as PONG_TEXT, a2 as ProtocolErrorBody, a3 as RelayMsg, a4 as RequestMsg, a5 as ResponseMsg, a6 as SERVICES, a7 as SUBPROTOCOL, a8 as ServiceId, a9 as ServiceOpName, aa as ServiceOpSpec, ab as ServiceSpec, S as StreamMeta, ac as StreamMsg, ad as TranscriptSegment, T as TranscriptionModelId, ae as TranscriptionModelInfo, W as Welcome, af as closeRule, i as isDesktopProtocolError, ag as isTerminalClose } from './models-A0PWllJz.cjs';
|
|
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.cjs';
|
|
5
5
|
|
|
6
6
|
/** @ai-matrx/desktop-protocol — version and primitive schemas. Schema source: lint-enforced rules in scripts/check-schema-source.mjs. */
|
|
@@ -24,10 +24,12 @@ declare const PROTOCOL_MAJOR: 1;
|
|
|
24
24
|
* 1.9 — chats placed in windows / held, several filed at once, projects renamed / archived / copied;
|
|
25
25
|
* the list says when it is a saved copy being re-read (`updating`) and when it is not live.
|
|
26
26
|
* 1.14 — a chat row carries its original title, where it came from, and the person's rename.
|
|
27
|
+
* 1.15 — a chat row says when the app archived it (typed), and its title source is a closed set.
|
|
28
|
+
* 1.16 — the `stack` capability: the local AI Matrx servers, their logs, errors and history.
|
|
27
29
|
*/
|
|
28
|
-
declare const PROTOCOL_MINOR:
|
|
30
|
+
declare const PROTOCOL_MINOR: 16;
|
|
29
31
|
/** This package's version as the wire spells it ("major.minor"): hello, welcome, relay status. */
|
|
30
|
-
declare const PROTOCOL_VERSION: "1.
|
|
32
|
+
declare const PROTOCOL_VERSION: "1.16";
|
|
31
33
|
/** Internal building blocks — deliberately unnamed in $defs (inlined wherever used). */
|
|
32
34
|
declare const u32: z.ZodInt;
|
|
33
35
|
declare const nonNegInt: z.ZodInt;
|
|
@@ -1391,8 +1393,18 @@ declare const ChatRow: z.ZodObject<{
|
|
|
1391
1393
|
}, z.core.$strict>>;
|
|
1392
1394
|
tokens: z.ZodOptional<z.ZodInt>;
|
|
1393
1395
|
original_title: z.ZodOptional<z.ZodString>;
|
|
1394
|
-
title_source: z.ZodOptional<z.
|
|
1396
|
+
title_source: z.ZodOptional<z.ZodEnum<{
|
|
1397
|
+
app: "app";
|
|
1398
|
+
"app-remembered": "app-remembered";
|
|
1399
|
+
"custom-title": "custom-title";
|
|
1400
|
+
"ai-title": "ai-title";
|
|
1401
|
+
"agent-name": "agent-name";
|
|
1402
|
+
summary: "summary";
|
|
1403
|
+
"first-prompt": "first-prompt";
|
|
1404
|
+
"last-prompt": "last-prompt";
|
|
1405
|
+
}>>;
|
|
1395
1406
|
title_override: z.ZodOptional<z.ZodString>;
|
|
1407
|
+
archived: z.ZodOptional<z.ZodBoolean>;
|
|
1396
1408
|
}, z.core.$strict>;
|
|
1397
1409
|
type ChatRow = z.output<typeof ChatRow>;
|
|
1398
1410
|
/** 1.13: a project the app itself keeps (Codex's sidebar projects), never ours and never written. */
|
|
@@ -1472,8 +1484,18 @@ declare const AppsChatsListResult: z.ZodObject<{
|
|
|
1472
1484
|
}, z.core.$strict>>;
|
|
1473
1485
|
tokens: z.ZodOptional<z.ZodInt>;
|
|
1474
1486
|
original_title: z.ZodOptional<z.ZodString>;
|
|
1475
|
-
title_source: z.ZodOptional<z.
|
|
1487
|
+
title_source: z.ZodOptional<z.ZodEnum<{
|
|
1488
|
+
app: "app";
|
|
1489
|
+
"app-remembered": "app-remembered";
|
|
1490
|
+
"custom-title": "custom-title";
|
|
1491
|
+
"ai-title": "ai-title";
|
|
1492
|
+
"agent-name": "agent-name";
|
|
1493
|
+
summary: "summary";
|
|
1494
|
+
"first-prompt": "first-prompt";
|
|
1495
|
+
"last-prompt": "last-prompt";
|
|
1496
|
+
}>>;
|
|
1476
1497
|
title_override: z.ZodOptional<z.ZodString>;
|
|
1498
|
+
archived: z.ZodOptional<z.ZodBoolean>;
|
|
1477
1499
|
}, z.core.$strict>>;
|
|
1478
1500
|
new_window_ms: z.ZodInt;
|
|
1479
1501
|
updating: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -1556,8 +1578,18 @@ declare const AppsProjectsFileResult: z.ZodObject<{
|
|
|
1556
1578
|
}, z.core.$strict>>;
|
|
1557
1579
|
tokens: z.ZodOptional<z.ZodInt>;
|
|
1558
1580
|
original_title: z.ZodOptional<z.ZodString>;
|
|
1559
|
-
title_source: z.ZodOptional<z.
|
|
1581
|
+
title_source: z.ZodOptional<z.ZodEnum<{
|
|
1582
|
+
app: "app";
|
|
1583
|
+
"app-remembered": "app-remembered";
|
|
1584
|
+
"custom-title": "custom-title";
|
|
1585
|
+
"ai-title": "ai-title";
|
|
1586
|
+
"agent-name": "agent-name";
|
|
1587
|
+
summary: "summary";
|
|
1588
|
+
"first-prompt": "first-prompt";
|
|
1589
|
+
"last-prompt": "last-prompt";
|
|
1590
|
+
}>>;
|
|
1560
1591
|
title_override: z.ZodOptional<z.ZodString>;
|
|
1592
|
+
archived: z.ZodOptional<z.ZodBoolean>;
|
|
1561
1593
|
}, z.core.$strict>;
|
|
1562
1594
|
project: z.ZodObject<{
|
|
1563
1595
|
id: z.ZodString;
|
|
@@ -1619,8 +1651,18 @@ declare const AppsProjectsUnfileResult: z.ZodObject<{
|
|
|
1619
1651
|
}, z.core.$strict>>;
|
|
1620
1652
|
tokens: z.ZodOptional<z.ZodInt>;
|
|
1621
1653
|
original_title: z.ZodOptional<z.ZodString>;
|
|
1622
|
-
title_source: z.ZodOptional<z.
|
|
1654
|
+
title_source: z.ZodOptional<z.ZodEnum<{
|
|
1655
|
+
app: "app";
|
|
1656
|
+
"app-remembered": "app-remembered";
|
|
1657
|
+
"custom-title": "custom-title";
|
|
1658
|
+
"ai-title": "ai-title";
|
|
1659
|
+
"agent-name": "agent-name";
|
|
1660
|
+
summary: "summary";
|
|
1661
|
+
"first-prompt": "first-prompt";
|
|
1662
|
+
"last-prompt": "last-prompt";
|
|
1663
|
+
}>>;
|
|
1623
1664
|
title_override: z.ZodOptional<z.ZodString>;
|
|
1665
|
+
archived: z.ZodOptional<z.ZodBoolean>;
|
|
1624
1666
|
}, z.core.$strict>;
|
|
1625
1667
|
}, z.core.$strict>;
|
|
1626
1668
|
type AppsProjectsUnfileResult = z.output<typeof AppsProjectsUnfileResult>;
|
|
@@ -1676,8 +1718,18 @@ declare const AppsChatsStarResult: z.ZodObject<{
|
|
|
1676
1718
|
}, z.core.$strict>>;
|
|
1677
1719
|
tokens: z.ZodOptional<z.ZodInt>;
|
|
1678
1720
|
original_title: z.ZodOptional<z.ZodString>;
|
|
1679
|
-
title_source: z.ZodOptional<z.
|
|
1721
|
+
title_source: z.ZodOptional<z.ZodEnum<{
|
|
1722
|
+
app: "app";
|
|
1723
|
+
"app-remembered": "app-remembered";
|
|
1724
|
+
"custom-title": "custom-title";
|
|
1725
|
+
"ai-title": "ai-title";
|
|
1726
|
+
"agent-name": "agent-name";
|
|
1727
|
+
summary: "summary";
|
|
1728
|
+
"first-prompt": "first-prompt";
|
|
1729
|
+
"last-prompt": "last-prompt";
|
|
1730
|
+
}>>;
|
|
1680
1731
|
title_override: z.ZodOptional<z.ZodString>;
|
|
1732
|
+
archived: z.ZodOptional<z.ZodBoolean>;
|
|
1681
1733
|
}, z.core.$strict>;
|
|
1682
1734
|
}, z.core.$strict>;
|
|
1683
1735
|
type AppsChatsStarResult = z.output<typeof AppsChatsStarResult>;
|
|
@@ -1748,8 +1800,18 @@ declare const AppsChatsPlaceResult: z.ZodObject<{
|
|
|
1748
1800
|
}, z.core.$strict>>;
|
|
1749
1801
|
tokens: z.ZodOptional<z.ZodInt>;
|
|
1750
1802
|
original_title: z.ZodOptional<z.ZodString>;
|
|
1751
|
-
title_source: z.ZodOptional<z.
|
|
1803
|
+
title_source: z.ZodOptional<z.ZodEnum<{
|
|
1804
|
+
app: "app";
|
|
1805
|
+
"app-remembered": "app-remembered";
|
|
1806
|
+
"custom-title": "custom-title";
|
|
1807
|
+
"ai-title": "ai-title";
|
|
1808
|
+
"agent-name": "agent-name";
|
|
1809
|
+
summary: "summary";
|
|
1810
|
+
"first-prompt": "first-prompt";
|
|
1811
|
+
"last-prompt": "last-prompt";
|
|
1812
|
+
}>>;
|
|
1752
1813
|
title_override: z.ZodOptional<z.ZodString>;
|
|
1814
|
+
archived: z.ZodOptional<z.ZodBoolean>;
|
|
1753
1815
|
}, z.core.$strict>;
|
|
1754
1816
|
message: z.ZodString;
|
|
1755
1817
|
}, z.core.$strict>;
|
|
@@ -1808,8 +1870,18 @@ declare const AppsProjectsFileManyResult: z.ZodObject<{
|
|
|
1808
1870
|
}, z.core.$strict>>;
|
|
1809
1871
|
tokens: z.ZodOptional<z.ZodInt>;
|
|
1810
1872
|
original_title: z.ZodOptional<z.ZodString>;
|
|
1811
|
-
title_source: z.ZodOptional<z.
|
|
1873
|
+
title_source: z.ZodOptional<z.ZodEnum<{
|
|
1874
|
+
app: "app";
|
|
1875
|
+
"app-remembered": "app-remembered";
|
|
1876
|
+
"custom-title": "custom-title";
|
|
1877
|
+
"ai-title": "ai-title";
|
|
1878
|
+
"agent-name": "agent-name";
|
|
1879
|
+
summary: "summary";
|
|
1880
|
+
"first-prompt": "first-prompt";
|
|
1881
|
+
"last-prompt": "last-prompt";
|
|
1882
|
+
}>>;
|
|
1812
1883
|
title_override: z.ZodOptional<z.ZodString>;
|
|
1884
|
+
archived: z.ZodOptional<z.ZodBoolean>;
|
|
1813
1885
|
}, z.core.$strict>>;
|
|
1814
1886
|
project: z.ZodObject<{
|
|
1815
1887
|
id: z.ZodString;
|
|
@@ -2062,8 +2134,18 @@ declare const AppsProjectsMoveResult: z.ZodObject<{
|
|
|
2062
2134
|
}, z.core.$strict>>;
|
|
2063
2135
|
tokens: z.ZodOptional<z.ZodInt>;
|
|
2064
2136
|
original_title: z.ZodOptional<z.ZodString>;
|
|
2065
|
-
title_source: z.ZodOptional<z.
|
|
2137
|
+
title_source: z.ZodOptional<z.ZodEnum<{
|
|
2138
|
+
app: "app";
|
|
2139
|
+
"app-remembered": "app-remembered";
|
|
2140
|
+
"custom-title": "custom-title";
|
|
2141
|
+
"ai-title": "ai-title";
|
|
2142
|
+
"agent-name": "agent-name";
|
|
2143
|
+
summary: "summary";
|
|
2144
|
+
"first-prompt": "first-prompt";
|
|
2145
|
+
"last-prompt": "last-prompt";
|
|
2146
|
+
}>>;
|
|
2066
2147
|
title_override: z.ZodOptional<z.ZodString>;
|
|
2148
|
+
archived: z.ZodOptional<z.ZodBoolean>;
|
|
2067
2149
|
}, z.core.$strict>;
|
|
2068
2150
|
project: z.ZodObject<{
|
|
2069
2151
|
id: z.ZodString;
|
|
@@ -3458,6 +3540,141 @@ declare const ResourcesSnapshotResult: z.ZodObject<{
|
|
|
3458
3540
|
}, z.core.$strict>;
|
|
3459
3541
|
type ResourcesSnapshotResult = z.output<typeof ResourcesSnapshotResult>;
|
|
3460
3542
|
|
|
3543
|
+
/**
|
|
3544
|
+
* @ai-matrx/desktop-protocol — cap stack (SPEC §6): the local AI Matrx servers on this computer
|
|
3545
|
+
* (aidream's process-compose stack): each server's state in plain words, start / stop / restart,
|
|
3546
|
+
* its log read and followed by byte offset, every error of the last hour, and a history of what
|
|
3547
|
+
* happened. Schema source: lint-enforced rules in scripts/check-schema-source.mjs. Added in 1.16.
|
|
3548
|
+
*/
|
|
3549
|
+
|
|
3550
|
+
declare const StackStateParams: z.ZodObject<{}, z.core.$strict>;
|
|
3551
|
+
declare const StackStartParams: z.ZodObject<{}, z.core.$strict>;
|
|
3552
|
+
declare const StackStopParams: z.ZodObject<{}, z.core.$strict>;
|
|
3553
|
+
/** The request was accepted; the outcome lands in the history (action-done / action-failed). */
|
|
3554
|
+
declare const StackRunResult: z.ZodObject<{
|
|
3555
|
+
accepted: z.ZodBoolean;
|
|
3556
|
+
}, z.core.$strict>;
|
|
3557
|
+
declare const StackServerActionResult: z.ZodObject<{
|
|
3558
|
+
message: z.ZodString;
|
|
3559
|
+
}, z.core.$strict>;
|
|
3560
|
+
declare const StackErrorsParams: z.ZodObject<{
|
|
3561
|
+
window_minutes: z.ZodDefault<z.ZodInt>;
|
|
3562
|
+
}, z.core.$strict>;
|
|
3563
|
+
/** A server's name as the stack's config declares it ("aidream", "scraper"). */
|
|
3564
|
+
declare const StackServerName: z.ZodString;
|
|
3565
|
+
type StackServerName = z.output<typeof StackServerName>;
|
|
3566
|
+
/** good: healthy · wait: starting, stopping, unhealthy for now · bad: needs attention · off. */
|
|
3567
|
+
declare const StackTone: z.ZodEnum<{
|
|
3568
|
+
good: "good";
|
|
3569
|
+
wait: "wait";
|
|
3570
|
+
bad: "bad";
|
|
3571
|
+
off: "off";
|
|
3572
|
+
}>;
|
|
3573
|
+
type StackTone = z.output<typeof StackTone>;
|
|
3574
|
+
declare const StackServer: z.ZodObject<{
|
|
3575
|
+
name: z.ZodString;
|
|
3576
|
+
label: z.ZodString;
|
|
3577
|
+
tone: z.ZodEnum<{
|
|
3578
|
+
good: "good";
|
|
3579
|
+
wait: "wait";
|
|
3580
|
+
bad: "bad";
|
|
3581
|
+
off: "off";
|
|
3582
|
+
}>;
|
|
3583
|
+
sentence: z.ZodString;
|
|
3584
|
+
description: z.ZodString;
|
|
3585
|
+
open_url: z.ZodNullable<z.ZodString>;
|
|
3586
|
+
log_file: z.ZodString;
|
|
3587
|
+
last_output_at_ms: z.ZodNullable<z.ZodInt>;
|
|
3588
|
+
started_at_ms: z.ZodNullable<z.ZodInt>;
|
|
3589
|
+
restarts: z.ZodInt;
|
|
3590
|
+
exit_code: z.ZodNullable<z.ZodInt>;
|
|
3591
|
+
pid: z.ZodNullable<z.ZodInt>;
|
|
3592
|
+
}, z.core.$strict>;
|
|
3593
|
+
type StackServer = z.output<typeof StackServer>;
|
|
3594
|
+
/** One entry of the stack's history (the same file Local Admin keeps). */
|
|
3595
|
+
declare const StackEvent: z.ZodObject<{
|
|
3596
|
+
at_ms: z.ZodInt;
|
|
3597
|
+
server: z.ZodString;
|
|
3598
|
+
kind: z.ZodString;
|
|
3599
|
+
text: z.ZodString;
|
|
3600
|
+
}, z.core.$strict>;
|
|
3601
|
+
type StackEvent = z.output<typeof StackEvent>;
|
|
3602
|
+
declare const StackStateResult: z.ZodObject<{
|
|
3603
|
+
config_path: z.ZodNullable<z.ZodString>;
|
|
3604
|
+
problem: z.ZodNullable<z.ZodString>;
|
|
3605
|
+
stack_up: z.ZodBoolean;
|
|
3606
|
+
stack_started_at_ms: z.ZodNullable<z.ZodInt>;
|
|
3607
|
+
servers: z.ZodArray<z.ZodObject<{
|
|
3608
|
+
name: z.ZodString;
|
|
3609
|
+
label: z.ZodString;
|
|
3610
|
+
tone: z.ZodEnum<{
|
|
3611
|
+
good: "good";
|
|
3612
|
+
wait: "wait";
|
|
3613
|
+
bad: "bad";
|
|
3614
|
+
off: "off";
|
|
3615
|
+
}>;
|
|
3616
|
+
sentence: z.ZodString;
|
|
3617
|
+
description: z.ZodString;
|
|
3618
|
+
open_url: z.ZodNullable<z.ZodString>;
|
|
3619
|
+
log_file: z.ZodString;
|
|
3620
|
+
last_output_at_ms: z.ZodNullable<z.ZodInt>;
|
|
3621
|
+
started_at_ms: z.ZodNullable<z.ZodInt>;
|
|
3622
|
+
restarts: z.ZodInt;
|
|
3623
|
+
exit_code: z.ZodNullable<z.ZodInt>;
|
|
3624
|
+
pid: z.ZodNullable<z.ZodInt>;
|
|
3625
|
+
}, z.core.$strict>>;
|
|
3626
|
+
setup_note: z.ZodNullable<z.ZodString>;
|
|
3627
|
+
pending: z.ZodNullable<z.ZodObject<{
|
|
3628
|
+
verb: z.ZodEnum<{
|
|
3629
|
+
start: "start";
|
|
3630
|
+
stop: "stop";
|
|
3631
|
+
}>;
|
|
3632
|
+
label: z.ZodString;
|
|
3633
|
+
since_ms: z.ZodInt;
|
|
3634
|
+
}, z.core.$strict>>;
|
|
3635
|
+
events: z.ZodArray<z.ZodObject<{
|
|
3636
|
+
at_ms: z.ZodInt;
|
|
3637
|
+
server: z.ZodString;
|
|
3638
|
+
kind: z.ZodString;
|
|
3639
|
+
text: z.ZodString;
|
|
3640
|
+
}, z.core.$strict>>;
|
|
3641
|
+
}, z.core.$strict>;
|
|
3642
|
+
type StackStateResult = z.output<typeof StackStateResult>;
|
|
3643
|
+
declare const StackServerActionParams: z.ZodObject<{
|
|
3644
|
+
name: z.ZodString;
|
|
3645
|
+
verb: z.ZodEnum<{
|
|
3646
|
+
start: "start";
|
|
3647
|
+
stop: "stop";
|
|
3648
|
+
restart: "restart";
|
|
3649
|
+
}>;
|
|
3650
|
+
}, z.core.$strict>;
|
|
3651
|
+
type StackServerActionParams = z.output<typeof StackServerActionParams>;
|
|
3652
|
+
declare const StackLogsParams: z.ZodObject<{
|
|
3653
|
+
name: z.ZodString;
|
|
3654
|
+
lines: z.ZodDefault<z.ZodInt>;
|
|
3655
|
+
offset: z.ZodOptional<z.ZodInt>;
|
|
3656
|
+
since: z.ZodOptional<z.ZodInt>;
|
|
3657
|
+
wait_ms: z.ZodDefault<z.ZodInt>;
|
|
3658
|
+
}, z.core.$strict>;
|
|
3659
|
+
type StackLogsParams = z.output<typeof StackLogsParams>;
|
|
3660
|
+
declare const StackLogsResult: z.ZodObject<{
|
|
3661
|
+
lines: z.ZodArray<z.ZodString>;
|
|
3662
|
+
offset: z.ZodInt;
|
|
3663
|
+
since_valid: z.ZodBoolean;
|
|
3664
|
+
reset: z.ZodBoolean;
|
|
3665
|
+
log_file: z.ZodString;
|
|
3666
|
+
}, z.core.$strict>;
|
|
3667
|
+
type StackLogsResult = z.output<typeof StackLogsResult>;
|
|
3668
|
+
declare const StackErrorsResult: z.ZodObject<{
|
|
3669
|
+
sections: z.ZodArray<z.ZodObject<{
|
|
3670
|
+
name: z.ZodString;
|
|
3671
|
+
heading: z.ZodString;
|
|
3672
|
+
lines: z.ZodArray<z.ZodString>;
|
|
3673
|
+
}, z.core.$strict>>;
|
|
3674
|
+
window_minutes: z.ZodInt;
|
|
3675
|
+
}, z.core.$strict>;
|
|
3676
|
+
type StackErrorsResult = z.output<typeof StackErrorsResult>;
|
|
3677
|
+
|
|
3461
3678
|
/**
|
|
3462
3679
|
* @ai-matrx/desktop-protocol — cap audio (SPEC §6): the person's microphones and speakers; record a
|
|
3463
3680
|
* clip to a file, play a file. Speech to text is models.transcribe. Schema source: lint-enforced
|
|
@@ -3858,6 +4075,7 @@ declare const FIELDS_SINCE: {
|
|
|
3858
4075
|
readonly original_title: "1.14";
|
|
3859
4076
|
readonly title_source: "1.14";
|
|
3860
4077
|
readonly title_override: "1.14";
|
|
4078
|
+
readonly archived: "1.15";
|
|
3861
4079
|
};
|
|
3862
4080
|
readonly AccountUsage: {
|
|
3863
4081
|
readonly plan: "1.13";
|
|
@@ -3917,7 +4135,7 @@ declare function forPeer(op: OpName | null, part: "error", value: unknown, versi
|
|
|
3917
4135
|
declare const VERSIONED_RESULT_OPS: readonly OpName[];
|
|
3918
4136
|
|
|
3919
4137
|
/** SHA-256 of generated/desktop-protocol.schema.json: the contract both sides of a service connection were built from. */
|
|
3920
|
-
declare const CONTRACT_SHA256: "
|
|
4138
|
+
declare const CONTRACT_SHA256: "ee6873cbbdcba3960248ff0c5c71fe47c663b54c6e657d62d1ed5e04e51f17e2";
|
|
3921
4139
|
|
|
3922
4140
|
/**
|
|
3923
4141
|
* The local tool catalog (SPEC §10): every tool a platform agent calls on a person's computer, the
|
|
@@ -4044,4 +4262,4 @@ declare function buildToolStatus(files: readonly unknown[], opts: {
|
|
|
4044
4262
|
/** The committed text form. Columns: per platform, the three levels (P = programmatic, R = protocol, C = chat). */
|
|
4045
4263
|
declare function renderToolStatusMarkdown(status: ToolStatus): string;
|
|
4046
4264
|
|
|
4047
|
-
export { AbsPath, AccountReset, AccountUsage, AppFeatureStatus, AppInfo, AppKey, AppProfile, AppProfileId, AppProfileLocator, AppSupport, AppUsageReading, AppWindowInfo, AppsAccountsResetsParams, AppsAccountsResetsResult, AppsAccountsUsageParams, AppsAccountsUsageResult, AppsChatsChangedEvent, AppsChatsColdParams, AppsChatsColdResult, AppsChatsListParams, AppsChatsListResult, AppsChatsOpenParams, AppsChatsPlaceParams, AppsChatsPlaceResult, AppsChatsStarParams, AppsChatsStarResult, 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, AppsProjectsUnfileParams, AppsProjectsUnfileResult, AppsProjectsUpdateParams, AppsProjectsUpdateResult, AppsSpendParams, AppsSpendResult, AppsSyncRunParams, AppsSyncStatusParams, AppsSyncStatusResult, AppsWindowActionResult, AppsWindowsAddParams, AppsWindowsListParams, AppsWindowsListResult, AppsWindowsOpenParams, AppsWindowsProcessesParams, AppsWindowsProcessesResult, AppsWindowsRefreshUsageParams, AppsWindowsReloadParams, AppsWindowsRestartParams, AppsWindowsSaveNamesParams, AudioDevice, AudioDevicesParams, AudioDevicesResult, AudioPlayParams, AudioPlayResult, AudioRecordParams, AudioRecordResult, CONTRACT_SHA256, type CatalogTool, type CellState, ChatAppProject, ChatFamily, ChatHidden, ChatId, ChatLastUse, ChatPin, ChatPlace, ChatProject, ChatProjectId, ChatRow, ChatRunning, ChatWindow, ClipboardReadParams, ClipboardReadResult, ClipboardWriteParams, ClipboardWriteResult, CodingHistoryBlocked, CodingHistoryFailure, CodingHistoryImportMissingParams, CodingHistoryImportMissingResult, CodingHistoryProgressEvent, CodingHistoryRun, CodingHistoryStep, CodingImportNextParams, CodingPlanMissingParams, CodingServiceCredentials, CodingServiceProgress, ColdChat, ContractHash, CoreToServiceMsg, DEFAULT_MAX_FRAME_PAYLOAD_BYTES, DEFAULT_MAX_MESSAGE_BYTES, DEFAULT_WINDOW_BYTES, DeviceId, EXCLUDED_TOOLS, ExecCwdEvent, ExecExitedEvent, ExecJobId, ExecJobInfo, ExecJobListParams, ExecJobListResult, ExecJobOutputParams, ExecJobOutputResult, ExecJobStartParams, ExecJobStartResult, ExecJobStopParams, ExecJobStopResult, ExecListParams, ExecListResult, ExecPtyKillParams, ExecPtyKillResult, ExecPtyResizeParams, ExecPtyResizeResult, ExecPtySignalParams, ExecPtySignalResult, ExecPtyStartParams, ExecPtyStartResult, ExecPtyWriteParams, ExecPtyWriteResult, ExecRunParams, ExecRunResult, ExecTitleEvent, FIELDS_SINCE, type FieldsSincePath, FrameHeader, FsChange, FsChangedEvent, FsDeleteParams, FsDeleteResult, FsEncoding, FsEntry, FsKind, FsListParams, FsListResult, FsMkdirParams, FsMkdirResult, FsMoveParams, FsMoveResult, FsPatchEditApplied, FsPatchParams, FsPatchResult, FsReadParams, FsReadResult, FsReadStreamParams, FsReadStreamResult, FsSearchContentParams, FsSearchContentResult, FsSearchPathsParams, FsSearchPathsResult, FsStatParams, FsStatResult, FsWatchEventsParams, FsWatchEventsResult, FsWatchId, FsWatchParams, FsWatchResult, FsWatchStartParams, FsWatchStartResult, FsWatchStopParams, FsWatchStopResult, FsWriteParams, FsWriteResult, InputHotkeyParams, InputHotkeyResult, InputKey, InputMouseClickParams, InputMouseClickResult, InputMouseMoveParams, InputMouseMoveResult, InputPoint, InputTypeTextParams, InputTypeTextResult, LEGACY_ACTIONS, LEGACY_DISPATCHERS, type LegacyDisposition, NULL_SINCE, OpName, OsPermissionName, PROTOCOL_MAJOR, PROTOCOL_MINOR, PROTOCOL_VERSION, PowerPreventSleepParams, PowerPreventSleepResult, PowerStatusParams, PowerStatusResult, ProcInfo, ProcKillParams, ProcKillResult, ProcListParams, ProcListResult, ProcPort, ProcPortsParams, ProcPortsResult, ProcSort, ProtocolVersion, PtyInfo, REASONS_SINCE, RELAY_CALL_HELLO_ID, RELAY_CALL_REQUEST_ID, RELAY_CALL_VERSION_HEADER, RelayAuthExpiringEvent, RelayCallEnvelope, RelayCallHello, RelayCallRequest, RelayCallResponse, RelayDeviceStatusEvent, RelayHopConnectionEnd, RelayHopEnvelopeHeader, RelayStatusResponse, RequestId, ResourceId, ResourceInfo, ResourcesDisk, ResourcesSnapshotParams, ResourcesSnapshotResult, SERVICE_MAX_FRAME_BYTES, ScreenCaptureParams, ScreenCaptureResult, ScreenDisplay, ScreenListParams, ScreenListResult, ServiceCancel, ServiceErrorMsg, ServiceHello, ServiceName, ServicePing, ServicePong, ServiceProgressMsg, ServiceRequest, ServiceResponse, ServiceShutdown, ServiceToCoreMsg, ServiceToken, ServiceWelcome, SessionAttachParams, SessionAttachResult, SessionControlChangedEvent, SessionDetachParams, SessionDetachResult, SessionListParams, SessionListResult, SessionReleaseParams, SessionReleaseResult, Signal, SpendAccount, SpendChat, SpendHelper, SpendIdle, SpendIdleScope, SpendLive, SpendModel, SpendScopes, SpendSplit, SpendStart, type StatusCell, type StatusEvidence, type StatusRow, SysinfoGetParams, SysinfoGetResult, SystemNotifyParams, SystemNotifyResult, SystemOpenPathParams, SystemOpenPathResult, SystemOpenUrlParams, SystemOpenUrlResult, TOOL_CATALOG, TOOL_GROUPS, TOOL_LEVELS, TOOL_PLATFORMS, type ToolGroup, type ToolGroupId, ToolLevel, ToolLevelResult, ToolName, ToolOutcome, type ToolPath, ToolPlatform, ToolResultsFile, type ToolState, type ToolStatus, ToolTransport, VERSIONED_RESULT_OPS, WindowFocusParams, WindowFocusResult, WindowInfo, WindowListParams, WindowListResult, WindowMinimizeParams, WindowMinimizeResult, WindowMoveParams, WindowMoveResult, announcedVersion, buildToolStatus, builtOps, compareVersions, epochMs, forPeer, knows, negotiate, nonNegInt, renderToolStatusMarkdown, statusForPeer, u32, versionSubprotocol };
|
|
4265
|
+
export { AbsPath, AccountReset, AccountUsage, AppFeatureStatus, AppInfo, AppKey, AppProfile, AppProfileId, AppProfileLocator, AppSupport, AppUsageReading, AppWindowInfo, AppsAccountsResetsParams, AppsAccountsResetsResult, AppsAccountsUsageParams, AppsAccountsUsageResult, AppsChatsChangedEvent, AppsChatsColdParams, AppsChatsColdResult, AppsChatsListParams, AppsChatsListResult, AppsChatsOpenParams, AppsChatsPlaceParams, AppsChatsPlaceResult, AppsChatsStarParams, AppsChatsStarResult, 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, AppsProjectsUnfileParams, AppsProjectsUnfileResult, AppsProjectsUpdateParams, AppsProjectsUpdateResult, AppsSpendParams, AppsSpendResult, AppsSyncRunParams, AppsSyncStatusParams, AppsSyncStatusResult, AppsWindowActionResult, AppsWindowsAddParams, AppsWindowsListParams, AppsWindowsListResult, AppsWindowsOpenParams, AppsWindowsProcessesParams, AppsWindowsProcessesResult, AppsWindowsRefreshUsageParams, AppsWindowsReloadParams, AppsWindowsRestartParams, AppsWindowsSaveNamesParams, AudioDevice, AudioDevicesParams, AudioDevicesResult, AudioPlayParams, AudioPlayResult, AudioRecordParams, AudioRecordResult, CONTRACT_SHA256, type CatalogTool, type CellState, ChatAppProject, ChatFamily, ChatHidden, ChatId, ChatLastUse, ChatPin, ChatPlace, ChatProject, ChatProjectId, ChatRow, ChatRunning, ChatWindow, ClipboardReadParams, ClipboardReadResult, ClipboardWriteParams, ClipboardWriteResult, CodingHistoryBlocked, CodingHistoryFailure, CodingHistoryImportMissingParams, CodingHistoryImportMissingResult, CodingHistoryProgressEvent, CodingHistoryRun, CodingHistoryStep, CodingImportNextParams, CodingPlanMissingParams, CodingServiceCredentials, CodingServiceProgress, ColdChat, ContractHash, CoreToServiceMsg, DEFAULT_MAX_FRAME_PAYLOAD_BYTES, DEFAULT_MAX_MESSAGE_BYTES, DEFAULT_WINDOW_BYTES, DeviceId, EXCLUDED_TOOLS, ExecCwdEvent, ExecExitedEvent, ExecJobId, ExecJobInfo, ExecJobListParams, ExecJobListResult, ExecJobOutputParams, ExecJobOutputResult, ExecJobStartParams, ExecJobStartResult, ExecJobStopParams, ExecJobStopResult, ExecListParams, ExecListResult, ExecPtyKillParams, ExecPtyKillResult, ExecPtyResizeParams, ExecPtyResizeResult, ExecPtySignalParams, ExecPtySignalResult, ExecPtyStartParams, ExecPtyStartResult, ExecPtyWriteParams, ExecPtyWriteResult, ExecRunParams, ExecRunResult, ExecTitleEvent, FIELDS_SINCE, type FieldsSincePath, FrameHeader, FsChange, FsChangedEvent, FsDeleteParams, FsDeleteResult, FsEncoding, FsEntry, FsKind, FsListParams, FsListResult, FsMkdirParams, FsMkdirResult, FsMoveParams, FsMoveResult, FsPatchEditApplied, FsPatchParams, FsPatchResult, FsReadParams, FsReadResult, FsReadStreamParams, FsReadStreamResult, FsSearchContentParams, FsSearchContentResult, FsSearchPathsParams, FsSearchPathsResult, FsStatParams, FsStatResult, FsWatchEventsParams, FsWatchEventsResult, FsWatchId, FsWatchParams, FsWatchResult, FsWatchStartParams, FsWatchStartResult, FsWatchStopParams, FsWatchStopResult, FsWriteParams, FsWriteResult, InputHotkeyParams, InputHotkeyResult, InputKey, InputMouseClickParams, InputMouseClickResult, InputMouseMoveParams, InputMouseMoveResult, InputPoint, InputTypeTextParams, InputTypeTextResult, LEGACY_ACTIONS, LEGACY_DISPATCHERS, type LegacyDisposition, NULL_SINCE, OpName, OsPermissionName, PROTOCOL_MAJOR, PROTOCOL_MINOR, PROTOCOL_VERSION, PowerPreventSleepParams, PowerPreventSleepResult, PowerStatusParams, PowerStatusResult, ProcInfo, ProcKillParams, ProcKillResult, ProcListParams, ProcListResult, ProcPort, ProcPortsParams, ProcPortsResult, ProcSort, ProtocolVersion, PtyInfo, REASONS_SINCE, RELAY_CALL_HELLO_ID, RELAY_CALL_REQUEST_ID, RELAY_CALL_VERSION_HEADER, RelayAuthExpiringEvent, RelayCallEnvelope, RelayCallHello, RelayCallRequest, RelayCallResponse, RelayDeviceStatusEvent, RelayHopConnectionEnd, RelayHopEnvelopeHeader, RelayStatusResponse, RequestId, ResourceId, ResourceInfo, ResourcesDisk, ResourcesSnapshotParams, ResourcesSnapshotResult, SERVICE_MAX_FRAME_BYTES, ScreenCaptureParams, ScreenCaptureResult, ScreenDisplay, ScreenListParams, ScreenListResult, ServiceCancel, ServiceErrorMsg, ServiceHello, ServiceName, ServicePing, ServicePong, ServiceProgressMsg, ServiceRequest, ServiceResponse, ServiceShutdown, ServiceToCoreMsg, ServiceToken, ServiceWelcome, SessionAttachParams, SessionAttachResult, SessionControlChangedEvent, SessionDetachParams, SessionDetachResult, SessionListParams, SessionListResult, SessionReleaseParams, SessionReleaseResult, Signal, SpendAccount, SpendChat, SpendHelper, SpendIdle, SpendIdleScope, SpendLive, SpendModel, SpendScopes, SpendSplit, SpendStart, StackErrorsParams, StackErrorsResult, StackEvent, StackLogsParams, StackLogsResult, StackRunResult, StackServer, StackServerActionParams, StackServerActionResult, StackServerName, StackStartParams, StackStateParams, StackStateResult, StackStopParams, StackTone, type StatusCell, type StatusEvidence, type StatusRow, SysinfoGetParams, SysinfoGetResult, SystemNotifyParams, SystemNotifyResult, SystemOpenPathParams, SystemOpenPathResult, SystemOpenUrlParams, SystemOpenUrlResult, TOOL_CATALOG, TOOL_GROUPS, TOOL_LEVELS, TOOL_PLATFORMS, type ToolGroup, type ToolGroupId, ToolLevel, ToolLevelResult, ToolName, ToolOutcome, type ToolPath, ToolPlatform, ToolResultsFile, type ToolState, type ToolStatus, ToolTransport, VERSIONED_RESULT_OPS, WindowFocusParams, WindowFocusResult, WindowInfo, WindowListParams, WindowListResult, WindowMinimizeParams, WindowMinimizeResult, WindowMoveParams, WindowMoveResult, announcedVersion, buildToolStatus, builtOps, compareVersions, epochMs, forPeer, knows, negotiate, nonNegInt, renderToolStatusMarkdown, statusForPeer, u32, versionSubprotocol };
|