@ai-matrx/desktop-protocol 0.19.0 → 0.21.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +12 -0
- package/dist/client.cjs +460 -361
- 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 +460 -361
- package/dist/client.js.map +1 -1
- package/dist/index.cjs +312 -189
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +210 -7
- package/dist/index.d.ts +210 -7
- package/dist/index.js +312 -189
- package/dist/index.js.map +1 -1
- package/dist/{models-DTtWH_yC.d.cts → models-C98SDul-.d.cts} +284 -1
- package/dist/{models-DTtWH_yC.d.ts → models-C98SDul-.d.ts} +284 -1
- package/dist/react.d.cts +111 -0
- package/dist/react.d.ts +111 -0
- package/generated/desktop-protocol.schema.json +385 -2
- 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-C98SDul-.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-C98SDul-.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. */
|
|
@@ -32,10 +32,12 @@ declare const PROTOCOL_MAJOR: 1;
|
|
|
32
32
|
* 1.18 — a local server says what it is using (StackServer `cpu_percent`, `memory_bytes`).
|
|
33
33
|
* 1.19 — apps.projects.to_window: every chat of a project into one window (plan first), taking
|
|
34
34
|
* them off other side windows where safe, optionally grouped in that window's sidebar.
|
|
35
|
+
* 1.20 — the device's error ledger: diag.errors.list, diag.errors.report, event diag.errors.changed.
|
|
36
|
+
* 1.21 — apps.windows.shown: what a window's sidebar draws right now (read-only), e.g. a project's group.
|
|
35
37
|
*/
|
|
36
|
-
declare const PROTOCOL_MINOR:
|
|
38
|
+
declare const PROTOCOL_MINOR: 21;
|
|
37
39
|
/** This package's version as the wire spells it ("major.minor"): hello, welcome, relay status. */
|
|
38
|
-
declare const PROTOCOL_VERSION: "1.
|
|
40
|
+
declare const PROTOCOL_VERSION: "1.21";
|
|
39
41
|
/** Internal building blocks — deliberately unnamed in $defs (inlined wherever used). */
|
|
40
42
|
declare const u32: z.ZodInt;
|
|
41
43
|
declare const nonNegInt: z.ZodInt;
|
|
@@ -1941,6 +1943,30 @@ type AppsProjectsCopyResult = z.output<typeof AppsProjectsCopyResult>;
|
|
|
1941
1943
|
* scripts/check-schema-source.mjs.
|
|
1942
1944
|
*/
|
|
1943
1945
|
|
|
1946
|
+
/** Quit and reopen a window; refused (CONFLICT) while chats are open in it unless `force`. */
|
|
1947
|
+
/**
|
|
1948
|
+
* What a window's sidebar draws right now (read-only: Accessibility, no focus, no input). A closed
|
|
1949
|
+
* window draws nothing (`open` false, `sections` empty); `problem` says why an open one could not be read.
|
|
1950
|
+
*/
|
|
1951
|
+
declare const ShownSection: z.ZodObject<{
|
|
1952
|
+
title: z.ZodString;
|
|
1953
|
+
rows: z.ZodNumber;
|
|
1954
|
+
expanded: z.ZodBoolean;
|
|
1955
|
+
}, z.core.$strict>;
|
|
1956
|
+
declare const AppsWindowsShownParams: z.ZodObject<{
|
|
1957
|
+
app_key: z.ZodString;
|
|
1958
|
+
window: z.ZodString;
|
|
1959
|
+
}, z.core.$strict>;
|
|
1960
|
+
declare const AppsWindowsShownResult: z.ZodObject<{
|
|
1961
|
+
window: z.ZodString;
|
|
1962
|
+
open: z.ZodBoolean;
|
|
1963
|
+
sections: z.ZodArray<z.ZodObject<{
|
|
1964
|
+
title: z.ZodString;
|
|
1965
|
+
rows: z.ZodNumber;
|
|
1966
|
+
expanded: z.ZodBoolean;
|
|
1967
|
+
}, z.core.$strict>>;
|
|
1968
|
+
problem: z.ZodNullable<z.ZodString>;
|
|
1969
|
+
}, z.core.$strict>;
|
|
1944
1970
|
/** One window (profile) of the app on this device. */
|
|
1945
1971
|
declare const AppWindowInfo: z.ZodObject<{
|
|
1946
1972
|
key: z.ZodString;
|
|
@@ -2072,7 +2098,6 @@ declare const AppsWindowsReloadParams: z.ZodObject<{
|
|
|
2072
2098
|
window: z.ZodString;
|
|
2073
2099
|
}, z.core.$strict>;
|
|
2074
2100
|
type AppsWindowsReloadParams = z.output<typeof AppsWindowsReloadParams>;
|
|
2075
|
-
/** Quit and reopen a window; refused (CONFLICT) while chats are open in it unless `force`. */
|
|
2076
2101
|
declare const AppsWindowsRestartParams: z.ZodObject<{
|
|
2077
2102
|
app_key: z.ZodString;
|
|
2078
2103
|
window: z.ZodString;
|
|
@@ -3576,6 +3601,184 @@ declare const PowerPreventSleepResult: z.ZodObject<{
|
|
|
3576
3601
|
}, z.core.$strict>;
|
|
3577
3602
|
type PowerPreventSleepResult = z.output<typeof PowerPreventSleepResult>;
|
|
3578
3603
|
|
|
3604
|
+
/**
|
|
3605
|
+
* @ai-matrx/desktop-protocol — cap diag (SPEC §3.12): the device's error ledger. Every process's
|
|
3606
|
+
* errors (main, every renderer and hosted page, the core, the PTY host, the Python services, the
|
|
3607
|
+
* relay client) are collected on the device, grouped by signature, kept in the state DB and
|
|
3608
|
+
* delivered to the platform's one error system (ops.system_error, source_app `matrx-desktop`).
|
|
3609
|
+
* These ops show the ledger to a screen and let a renderer report what only it sees.
|
|
3610
|
+
* Schema source: lint-enforced rules in scripts/check-schema-source.mjs. Added in protocol 1.20.
|
|
3611
|
+
*/
|
|
3612
|
+
|
|
3613
|
+
/** Which part of the app the error came from. */
|
|
3614
|
+
declare const DiagProcess: z.ZodEnum<{
|
|
3615
|
+
relay: "relay";
|
|
3616
|
+
main: "main";
|
|
3617
|
+
renderer: "renderer";
|
|
3618
|
+
hosted_page: "hosted_page";
|
|
3619
|
+
core: "core";
|
|
3620
|
+
pty_host: "pty_host";
|
|
3621
|
+
python_ml: "python_ml";
|
|
3622
|
+
python_coding: "python_coding";
|
|
3623
|
+
python_tools: "python_tools";
|
|
3624
|
+
coding_sessions: "coding_sessions";
|
|
3625
|
+
claude_accounts: "claude_accounts";
|
|
3626
|
+
}>;
|
|
3627
|
+
type DiagProcess = z.output<typeof DiagProcess>;
|
|
3628
|
+
/** What happened. */
|
|
3629
|
+
declare const DiagErrorKind: z.ZodEnum<{
|
|
3630
|
+
uncaught_exception: "uncaught_exception";
|
|
3631
|
+
unhandled_rejection: "unhandled_rejection";
|
|
3632
|
+
renderer_crash: "renderer_crash";
|
|
3633
|
+
native_crash: "native_crash";
|
|
3634
|
+
console_error: "console_error";
|
|
3635
|
+
load_failed: "load_failed";
|
|
3636
|
+
op_failed: "op_failed";
|
|
3637
|
+
child_exit: "child_exit";
|
|
3638
|
+
banner: "banner";
|
|
3639
|
+
logged_error: "logged_error";
|
|
3640
|
+
}>;
|
|
3641
|
+
type DiagErrorKind = z.output<typeof DiagErrorKind>;
|
|
3642
|
+
/** waiting = not yet delivered (signed out, offline); sent = in the platform's error queue; resolved = an agent closed it there. */
|
|
3643
|
+
declare const DiagErrorStatus: z.ZodEnum<{
|
|
3644
|
+
waiting: "waiting";
|
|
3645
|
+
sent: "sent";
|
|
3646
|
+
resolved: "resolved";
|
|
3647
|
+
}>;
|
|
3648
|
+
type DiagErrorStatus = z.output<typeof DiagErrorStatus>;
|
|
3649
|
+
/** One error signature: every occurrence of the same failure in the same place. */
|
|
3650
|
+
declare const DiagErrorEntry: z.ZodObject<{
|
|
3651
|
+
signature: z.ZodString;
|
|
3652
|
+
process: z.ZodEnum<{
|
|
3653
|
+
relay: "relay";
|
|
3654
|
+
main: "main";
|
|
3655
|
+
renderer: "renderer";
|
|
3656
|
+
hosted_page: "hosted_page";
|
|
3657
|
+
core: "core";
|
|
3658
|
+
pty_host: "pty_host";
|
|
3659
|
+
python_ml: "python_ml";
|
|
3660
|
+
python_coding: "python_coding";
|
|
3661
|
+
python_tools: "python_tools";
|
|
3662
|
+
coding_sessions: "coding_sessions";
|
|
3663
|
+
claude_accounts: "claude_accounts";
|
|
3664
|
+
}>;
|
|
3665
|
+
kind: z.ZodEnum<{
|
|
3666
|
+
uncaught_exception: "uncaught_exception";
|
|
3667
|
+
unhandled_rejection: "unhandled_rejection";
|
|
3668
|
+
renderer_crash: "renderer_crash";
|
|
3669
|
+
native_crash: "native_crash";
|
|
3670
|
+
console_error: "console_error";
|
|
3671
|
+
load_failed: "load_failed";
|
|
3672
|
+
op_failed: "op_failed";
|
|
3673
|
+
child_exit: "child_exit";
|
|
3674
|
+
banner: "banner";
|
|
3675
|
+
logged_error: "logged_error";
|
|
3676
|
+
}>;
|
|
3677
|
+
source: z.ZodString;
|
|
3678
|
+
code: z.ZodNullable<z.ZodString>;
|
|
3679
|
+
message: z.ZodString;
|
|
3680
|
+
count: z.ZodInt;
|
|
3681
|
+
first_seen_ms: z.ZodInt;
|
|
3682
|
+
last_seen_ms: z.ZodInt;
|
|
3683
|
+
status: z.ZodEnum<{
|
|
3684
|
+
waiting: "waiting";
|
|
3685
|
+
sent: "sent";
|
|
3686
|
+
resolved: "resolved";
|
|
3687
|
+
}>;
|
|
3688
|
+
resolution_note: z.ZodNullable<z.ZodString>;
|
|
3689
|
+
app_version: z.ZodString;
|
|
3690
|
+
}, z.core.$strict>;
|
|
3691
|
+
type DiagErrorEntry = z.output<typeof DiagErrorEntry>;
|
|
3692
|
+
declare const DiagErrorsListParams: z.ZodObject<{
|
|
3693
|
+
status: z.ZodDefault<z.ZodEnum<{
|
|
3694
|
+
open: "open";
|
|
3695
|
+
all: "all";
|
|
3696
|
+
}>>;
|
|
3697
|
+
limit: z.ZodDefault<z.ZodInt>;
|
|
3698
|
+
}, z.core.$strict>;
|
|
3699
|
+
type DiagErrorsListParams = z.output<typeof DiagErrorsListParams>;
|
|
3700
|
+
declare const DiagErrorsListResult: z.ZodObject<{
|
|
3701
|
+
entries: z.ZodArray<z.ZodObject<{
|
|
3702
|
+
signature: z.ZodString;
|
|
3703
|
+
process: z.ZodEnum<{
|
|
3704
|
+
relay: "relay";
|
|
3705
|
+
main: "main";
|
|
3706
|
+
renderer: "renderer";
|
|
3707
|
+
hosted_page: "hosted_page";
|
|
3708
|
+
core: "core";
|
|
3709
|
+
pty_host: "pty_host";
|
|
3710
|
+
python_ml: "python_ml";
|
|
3711
|
+
python_coding: "python_coding";
|
|
3712
|
+
python_tools: "python_tools";
|
|
3713
|
+
coding_sessions: "coding_sessions";
|
|
3714
|
+
claude_accounts: "claude_accounts";
|
|
3715
|
+
}>;
|
|
3716
|
+
kind: z.ZodEnum<{
|
|
3717
|
+
uncaught_exception: "uncaught_exception";
|
|
3718
|
+
unhandled_rejection: "unhandled_rejection";
|
|
3719
|
+
renderer_crash: "renderer_crash";
|
|
3720
|
+
native_crash: "native_crash";
|
|
3721
|
+
console_error: "console_error";
|
|
3722
|
+
load_failed: "load_failed";
|
|
3723
|
+
op_failed: "op_failed";
|
|
3724
|
+
child_exit: "child_exit";
|
|
3725
|
+
banner: "banner";
|
|
3726
|
+
logged_error: "logged_error";
|
|
3727
|
+
}>;
|
|
3728
|
+
source: z.ZodString;
|
|
3729
|
+
code: z.ZodNullable<z.ZodString>;
|
|
3730
|
+
message: z.ZodString;
|
|
3731
|
+
count: z.ZodInt;
|
|
3732
|
+
first_seen_ms: z.ZodInt;
|
|
3733
|
+
last_seen_ms: z.ZodInt;
|
|
3734
|
+
status: z.ZodEnum<{
|
|
3735
|
+
waiting: "waiting";
|
|
3736
|
+
sent: "sent";
|
|
3737
|
+
resolved: "resolved";
|
|
3738
|
+
}>;
|
|
3739
|
+
resolution_note: z.ZodNullable<z.ZodString>;
|
|
3740
|
+
app_version: z.ZodString;
|
|
3741
|
+
}, z.core.$strict>>;
|
|
3742
|
+
total_signatures: z.ZodInt;
|
|
3743
|
+
total_occurrences: z.ZodInt;
|
|
3744
|
+
waiting: z.ZodInt;
|
|
3745
|
+
delivery: z.ZodEnum<{
|
|
3746
|
+
ok: "ok";
|
|
3747
|
+
signed_out: "signed_out";
|
|
3748
|
+
failing: "failing";
|
|
3749
|
+
}>;
|
|
3750
|
+
last_delivery_ms: z.ZodNullable<z.ZodInt>;
|
|
3751
|
+
}, z.core.$strict>;
|
|
3752
|
+
type DiagErrorsListResult = z.output<typeof DiagErrorsListResult>;
|
|
3753
|
+
/** A renderer or hosted page reports what only it sees (a banner shown to the person, a caught error). */
|
|
3754
|
+
declare const DiagErrorsReportParams: z.ZodObject<{
|
|
3755
|
+
process: z.ZodEnum<{
|
|
3756
|
+
renderer: "renderer";
|
|
3757
|
+
hosted_page: "hosted_page";
|
|
3758
|
+
}>;
|
|
3759
|
+
kind: z.ZodEnum<{
|
|
3760
|
+
uncaught_exception: "uncaught_exception";
|
|
3761
|
+
unhandled_rejection: "unhandled_rejection";
|
|
3762
|
+
console_error: "console_error";
|
|
3763
|
+
banner: "banner";
|
|
3764
|
+
}>;
|
|
3765
|
+
source: z.ZodString;
|
|
3766
|
+
message: z.ZodString;
|
|
3767
|
+
code: z.ZodOptional<z.ZodString>;
|
|
3768
|
+
stack: z.ZodOptional<z.ZodString>;
|
|
3769
|
+
}, z.core.$strict>;
|
|
3770
|
+
type DiagErrorsReportParams = z.output<typeof DiagErrorsReportParams>;
|
|
3771
|
+
declare const DiagErrorsReportResult: z.ZodObject<{
|
|
3772
|
+
signature: z.ZodString;
|
|
3773
|
+
}, z.core.$strict>;
|
|
3774
|
+
type DiagErrorsReportResult = z.output<typeof DiagErrorsReportResult>;
|
|
3775
|
+
/** The ledger changed (a new occurrence, a delivery, a resolution). */
|
|
3776
|
+
declare const DiagErrorsChangedEvent: z.ZodObject<{
|
|
3777
|
+
total_signatures: z.ZodInt;
|
|
3778
|
+
waiting: z.ZodInt;
|
|
3779
|
+
}, z.core.$strict>;
|
|
3780
|
+
type DiagErrorsChangedEvent = z.output<typeof DiagErrorsChangedEvent>;
|
|
3781
|
+
|
|
3579
3782
|
/**
|
|
3580
3783
|
* @ai-matrx/desktop-protocol — cap resources (SPEC §6): how busy the computer is — CPU, memory and
|
|
3581
3784
|
* disks — and (1.17) what is using it, grouped into jobs, with a slowdown log. The busiest single
|
|
@@ -4468,7 +4671,7 @@ declare function forPeer(op: OpName | null, part: "error", value: unknown, versi
|
|
|
4468
4671
|
declare const VERSIONED_RESULT_OPS: readonly OpName[];
|
|
4469
4672
|
|
|
4470
4673
|
/** SHA-256 of generated/desktop-protocol.schema.json: the contract both sides of a service connection were built from. */
|
|
4471
|
-
declare const CONTRACT_SHA256: "
|
|
4674
|
+
declare const CONTRACT_SHA256: "5745ca5b70c283eadfce68d0c66c06207405b60c7e112cb75aca7ff29b15d12e";
|
|
4472
4675
|
|
|
4473
4676
|
/**
|
|
4474
4677
|
* The local tool catalog (SPEC §10): every tool a platform agent calls on a person's computer, the
|
|
@@ -4595,4 +4798,4 @@ declare function buildToolStatus(files: readonly unknown[], opts: {
|
|
|
4595
4798
|
/** The committed text form. Columns: per platform, the three levels (P = programmatic, R = protocol, C = chat). */
|
|
4596
4799
|
declare function renderToolStatusMarkdown(status: ToolStatus): string;
|
|
4597
4800
|
|
|
4598
|
-
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, AppsProjectsToWindowParams, AppsProjectsToWindowResult, 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, ProjectMoveChat, ProjectMoveGroup, ProjectMoveSkip, ProtocolVersion, PtyInfo, REASONS_SINCE, RELAY_CALL_HELLO_ID, RELAY_CALL_REQUEST_ID, RELAY_CALL_VERSION_HEADER, RelayAuthExpiringEvent, RelayCallEnvelope, RelayCallHello, RelayCallRequest, RelayCallResponse, RelayDeviceStatusEvent, RelayHopConnectionEnd, RelayHopEnvelopeHeader, RelayStatusResponse, RequestId, ResourceId, ResourceInfo, ResourcesActivityParams, ResourcesActivityResult, ResourcesDisk, ResourcesIncident, ResourcesIncidentsParams, ResourcesIncidentsResult, ResourcesJob, ResourcesJobKind, ResourcesPressure, ResourcesProcess, ResourcesSample, ResourcesSnapshotParams, ResourcesSnapshotResult, ResourcesStopJobParams, ResourcesStopJobResult, ResourcesStrain, ResourcesVerdict, SERVICE_MAX_FRAME_BYTES, ScreenCaptureParams, ScreenCaptureResult, ScreenDisplay, ScreenListParams, ScreenListResult, ServiceCancel, ServiceErrorMsg, ServiceHello, ServiceName, ServicePing, ServicePong, ServiceProgressMsg, ServiceRequest, ServiceResponse, ServiceShutdown, ServiceToCoreMsg, ServiceToken, ServiceWelcome, SessionAttachParams, SessionAttachResult, SessionControlChangedEvent, SessionDetachParams, SessionDetachResult, SessionListParams, SessionListResult, SessionReleaseParams, SessionReleaseResult, 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 };
|
|
4801
|
+
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, AppsProjectsToWindowParams, AppsProjectsToWindowResult, AppsProjectsUnfileParams, AppsProjectsUnfileResult, AppsProjectsUpdateParams, AppsProjectsUpdateResult, AppsSpendParams, AppsSpendResult, AppsSyncRunParams, AppsSyncStatusParams, AppsSyncStatusResult, AppsWindowActionResult, AppsWindowsAddParams, AppsWindowsListParams, AppsWindowsListResult, AppsWindowsOpenParams, AppsWindowsProcessesParams, AppsWindowsProcessesResult, AppsWindowsRefreshUsageParams, AppsWindowsReloadParams, AppsWindowsRestartParams, AppsWindowsSaveNamesParams, AppsWindowsShownParams, AppsWindowsShownResult, 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, DiagErrorEntry, DiagErrorKind, DiagErrorStatus, DiagErrorsChangedEvent, DiagErrorsListParams, DiagErrorsListResult, DiagErrorsReportParams, DiagErrorsReportResult, DiagProcess, EXCLUDED_TOOLS, ExecCwdEvent, ExecExitedEvent, ExecJobId, ExecJobInfo, ExecJobListParams, ExecJobListResult, ExecJobOutputParams, ExecJobOutputResult, ExecJobStartParams, ExecJobStartResult, ExecJobStopParams, ExecJobStopResult, ExecListParams, ExecListResult, ExecPtyKillParams, ExecPtyKillResult, ExecPtyResizeParams, ExecPtyResizeResult, ExecPtySignalParams, ExecPtySignalResult, ExecPtyStartParams, ExecPtyStartResult, ExecPtyWriteParams, ExecPtyWriteResult, ExecRunParams, ExecRunResult, ExecTitleEvent, FIELDS_SINCE, type FieldsSincePath, FrameHeader, FsChange, FsChangedEvent, 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, ProjectMoveChat, ProjectMoveGroup, ProjectMoveSkip, ProtocolVersion, PtyInfo, REASONS_SINCE, RELAY_CALL_HELLO_ID, RELAY_CALL_REQUEST_ID, RELAY_CALL_VERSION_HEADER, RelayAuthExpiringEvent, RelayCallEnvelope, RelayCallHello, RelayCallRequest, RelayCallResponse, RelayDeviceStatusEvent, RelayHopConnectionEnd, RelayHopEnvelopeHeader, RelayStatusResponse, RequestId, ResourceId, ResourceInfo, ResourcesActivityParams, ResourcesActivityResult, ResourcesDisk, ResourcesIncident, ResourcesIncidentsParams, ResourcesIncidentsResult, ResourcesJob, ResourcesJobKind, ResourcesPressure, ResourcesProcess, ResourcesSample, ResourcesSnapshotParams, ResourcesSnapshotResult, ResourcesStopJobParams, ResourcesStopJobResult, ResourcesStrain, ResourcesVerdict, SERVICE_MAX_FRAME_BYTES, ScreenCaptureParams, ScreenCaptureResult, ScreenDisplay, ScreenListParams, ScreenListResult, ServiceCancel, ServiceErrorMsg, ServiceHello, ServiceName, ServicePing, ServicePong, ServiceProgressMsg, ServiceRequest, ServiceResponse, ServiceShutdown, ServiceToCoreMsg, ServiceToken, ServiceWelcome, SessionAttachParams, SessionAttachResult, SessionControlChangedEvent, SessionDetachParams, SessionDetachResult, SessionListParams, SessionListResult, SessionReleaseParams, SessionReleaseResult, ShownSection, Signal, SpendAccount, SpendChat, 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 };
|
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 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-C98SDul-.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 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-C98SDul-.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. */
|
|
@@ -32,10 +32,12 @@ declare const PROTOCOL_MAJOR: 1;
|
|
|
32
32
|
* 1.18 — a local server says what it is using (StackServer `cpu_percent`, `memory_bytes`).
|
|
33
33
|
* 1.19 — apps.projects.to_window: every chat of a project into one window (plan first), taking
|
|
34
34
|
* them off other side windows where safe, optionally grouped in that window's sidebar.
|
|
35
|
+
* 1.20 — the device's error ledger: diag.errors.list, diag.errors.report, event diag.errors.changed.
|
|
36
|
+
* 1.21 — apps.windows.shown: what a window's sidebar draws right now (read-only), e.g. a project's group.
|
|
35
37
|
*/
|
|
36
|
-
declare const PROTOCOL_MINOR:
|
|
38
|
+
declare const PROTOCOL_MINOR: 21;
|
|
37
39
|
/** This package's version as the wire spells it ("major.minor"): hello, welcome, relay status. */
|
|
38
|
-
declare const PROTOCOL_VERSION: "1.
|
|
40
|
+
declare const PROTOCOL_VERSION: "1.21";
|
|
39
41
|
/** Internal building blocks — deliberately unnamed in $defs (inlined wherever used). */
|
|
40
42
|
declare const u32: z.ZodInt;
|
|
41
43
|
declare const nonNegInt: z.ZodInt;
|
|
@@ -1941,6 +1943,30 @@ type AppsProjectsCopyResult = z.output<typeof AppsProjectsCopyResult>;
|
|
|
1941
1943
|
* scripts/check-schema-source.mjs.
|
|
1942
1944
|
*/
|
|
1943
1945
|
|
|
1946
|
+
/** Quit and reopen a window; refused (CONFLICT) while chats are open in it unless `force`. */
|
|
1947
|
+
/**
|
|
1948
|
+
* What a window's sidebar draws right now (read-only: Accessibility, no focus, no input). A closed
|
|
1949
|
+
* window draws nothing (`open` false, `sections` empty); `problem` says why an open one could not be read.
|
|
1950
|
+
*/
|
|
1951
|
+
declare const ShownSection: z.ZodObject<{
|
|
1952
|
+
title: z.ZodString;
|
|
1953
|
+
rows: z.ZodNumber;
|
|
1954
|
+
expanded: z.ZodBoolean;
|
|
1955
|
+
}, z.core.$strict>;
|
|
1956
|
+
declare const AppsWindowsShownParams: z.ZodObject<{
|
|
1957
|
+
app_key: z.ZodString;
|
|
1958
|
+
window: z.ZodString;
|
|
1959
|
+
}, z.core.$strict>;
|
|
1960
|
+
declare const AppsWindowsShownResult: z.ZodObject<{
|
|
1961
|
+
window: z.ZodString;
|
|
1962
|
+
open: z.ZodBoolean;
|
|
1963
|
+
sections: z.ZodArray<z.ZodObject<{
|
|
1964
|
+
title: z.ZodString;
|
|
1965
|
+
rows: z.ZodNumber;
|
|
1966
|
+
expanded: z.ZodBoolean;
|
|
1967
|
+
}, z.core.$strict>>;
|
|
1968
|
+
problem: z.ZodNullable<z.ZodString>;
|
|
1969
|
+
}, z.core.$strict>;
|
|
1944
1970
|
/** One window (profile) of the app on this device. */
|
|
1945
1971
|
declare const AppWindowInfo: z.ZodObject<{
|
|
1946
1972
|
key: z.ZodString;
|
|
@@ -2072,7 +2098,6 @@ declare const AppsWindowsReloadParams: z.ZodObject<{
|
|
|
2072
2098
|
window: z.ZodString;
|
|
2073
2099
|
}, z.core.$strict>;
|
|
2074
2100
|
type AppsWindowsReloadParams = z.output<typeof AppsWindowsReloadParams>;
|
|
2075
|
-
/** Quit and reopen a window; refused (CONFLICT) while chats are open in it unless `force`. */
|
|
2076
2101
|
declare const AppsWindowsRestartParams: z.ZodObject<{
|
|
2077
2102
|
app_key: z.ZodString;
|
|
2078
2103
|
window: z.ZodString;
|
|
@@ -3576,6 +3601,184 @@ declare const PowerPreventSleepResult: z.ZodObject<{
|
|
|
3576
3601
|
}, z.core.$strict>;
|
|
3577
3602
|
type PowerPreventSleepResult = z.output<typeof PowerPreventSleepResult>;
|
|
3578
3603
|
|
|
3604
|
+
/**
|
|
3605
|
+
* @ai-matrx/desktop-protocol — cap diag (SPEC §3.12): the device's error ledger. Every process's
|
|
3606
|
+
* errors (main, every renderer and hosted page, the core, the PTY host, the Python services, the
|
|
3607
|
+
* relay client) are collected on the device, grouped by signature, kept in the state DB and
|
|
3608
|
+
* delivered to the platform's one error system (ops.system_error, source_app `matrx-desktop`).
|
|
3609
|
+
* These ops show the ledger to a screen and let a renderer report what only it sees.
|
|
3610
|
+
* Schema source: lint-enforced rules in scripts/check-schema-source.mjs. Added in protocol 1.20.
|
|
3611
|
+
*/
|
|
3612
|
+
|
|
3613
|
+
/** Which part of the app the error came from. */
|
|
3614
|
+
declare const DiagProcess: z.ZodEnum<{
|
|
3615
|
+
relay: "relay";
|
|
3616
|
+
main: "main";
|
|
3617
|
+
renderer: "renderer";
|
|
3618
|
+
hosted_page: "hosted_page";
|
|
3619
|
+
core: "core";
|
|
3620
|
+
pty_host: "pty_host";
|
|
3621
|
+
python_ml: "python_ml";
|
|
3622
|
+
python_coding: "python_coding";
|
|
3623
|
+
python_tools: "python_tools";
|
|
3624
|
+
coding_sessions: "coding_sessions";
|
|
3625
|
+
claude_accounts: "claude_accounts";
|
|
3626
|
+
}>;
|
|
3627
|
+
type DiagProcess = z.output<typeof DiagProcess>;
|
|
3628
|
+
/** What happened. */
|
|
3629
|
+
declare const DiagErrorKind: z.ZodEnum<{
|
|
3630
|
+
uncaught_exception: "uncaught_exception";
|
|
3631
|
+
unhandled_rejection: "unhandled_rejection";
|
|
3632
|
+
renderer_crash: "renderer_crash";
|
|
3633
|
+
native_crash: "native_crash";
|
|
3634
|
+
console_error: "console_error";
|
|
3635
|
+
load_failed: "load_failed";
|
|
3636
|
+
op_failed: "op_failed";
|
|
3637
|
+
child_exit: "child_exit";
|
|
3638
|
+
banner: "banner";
|
|
3639
|
+
logged_error: "logged_error";
|
|
3640
|
+
}>;
|
|
3641
|
+
type DiagErrorKind = z.output<typeof DiagErrorKind>;
|
|
3642
|
+
/** waiting = not yet delivered (signed out, offline); sent = in the platform's error queue; resolved = an agent closed it there. */
|
|
3643
|
+
declare const DiagErrorStatus: z.ZodEnum<{
|
|
3644
|
+
waiting: "waiting";
|
|
3645
|
+
sent: "sent";
|
|
3646
|
+
resolved: "resolved";
|
|
3647
|
+
}>;
|
|
3648
|
+
type DiagErrorStatus = z.output<typeof DiagErrorStatus>;
|
|
3649
|
+
/** One error signature: every occurrence of the same failure in the same place. */
|
|
3650
|
+
declare const DiagErrorEntry: z.ZodObject<{
|
|
3651
|
+
signature: z.ZodString;
|
|
3652
|
+
process: z.ZodEnum<{
|
|
3653
|
+
relay: "relay";
|
|
3654
|
+
main: "main";
|
|
3655
|
+
renderer: "renderer";
|
|
3656
|
+
hosted_page: "hosted_page";
|
|
3657
|
+
core: "core";
|
|
3658
|
+
pty_host: "pty_host";
|
|
3659
|
+
python_ml: "python_ml";
|
|
3660
|
+
python_coding: "python_coding";
|
|
3661
|
+
python_tools: "python_tools";
|
|
3662
|
+
coding_sessions: "coding_sessions";
|
|
3663
|
+
claude_accounts: "claude_accounts";
|
|
3664
|
+
}>;
|
|
3665
|
+
kind: z.ZodEnum<{
|
|
3666
|
+
uncaught_exception: "uncaught_exception";
|
|
3667
|
+
unhandled_rejection: "unhandled_rejection";
|
|
3668
|
+
renderer_crash: "renderer_crash";
|
|
3669
|
+
native_crash: "native_crash";
|
|
3670
|
+
console_error: "console_error";
|
|
3671
|
+
load_failed: "load_failed";
|
|
3672
|
+
op_failed: "op_failed";
|
|
3673
|
+
child_exit: "child_exit";
|
|
3674
|
+
banner: "banner";
|
|
3675
|
+
logged_error: "logged_error";
|
|
3676
|
+
}>;
|
|
3677
|
+
source: z.ZodString;
|
|
3678
|
+
code: z.ZodNullable<z.ZodString>;
|
|
3679
|
+
message: z.ZodString;
|
|
3680
|
+
count: z.ZodInt;
|
|
3681
|
+
first_seen_ms: z.ZodInt;
|
|
3682
|
+
last_seen_ms: z.ZodInt;
|
|
3683
|
+
status: z.ZodEnum<{
|
|
3684
|
+
waiting: "waiting";
|
|
3685
|
+
sent: "sent";
|
|
3686
|
+
resolved: "resolved";
|
|
3687
|
+
}>;
|
|
3688
|
+
resolution_note: z.ZodNullable<z.ZodString>;
|
|
3689
|
+
app_version: z.ZodString;
|
|
3690
|
+
}, z.core.$strict>;
|
|
3691
|
+
type DiagErrorEntry = z.output<typeof DiagErrorEntry>;
|
|
3692
|
+
declare const DiagErrorsListParams: z.ZodObject<{
|
|
3693
|
+
status: z.ZodDefault<z.ZodEnum<{
|
|
3694
|
+
open: "open";
|
|
3695
|
+
all: "all";
|
|
3696
|
+
}>>;
|
|
3697
|
+
limit: z.ZodDefault<z.ZodInt>;
|
|
3698
|
+
}, z.core.$strict>;
|
|
3699
|
+
type DiagErrorsListParams = z.output<typeof DiagErrorsListParams>;
|
|
3700
|
+
declare const DiagErrorsListResult: z.ZodObject<{
|
|
3701
|
+
entries: z.ZodArray<z.ZodObject<{
|
|
3702
|
+
signature: z.ZodString;
|
|
3703
|
+
process: z.ZodEnum<{
|
|
3704
|
+
relay: "relay";
|
|
3705
|
+
main: "main";
|
|
3706
|
+
renderer: "renderer";
|
|
3707
|
+
hosted_page: "hosted_page";
|
|
3708
|
+
core: "core";
|
|
3709
|
+
pty_host: "pty_host";
|
|
3710
|
+
python_ml: "python_ml";
|
|
3711
|
+
python_coding: "python_coding";
|
|
3712
|
+
python_tools: "python_tools";
|
|
3713
|
+
coding_sessions: "coding_sessions";
|
|
3714
|
+
claude_accounts: "claude_accounts";
|
|
3715
|
+
}>;
|
|
3716
|
+
kind: z.ZodEnum<{
|
|
3717
|
+
uncaught_exception: "uncaught_exception";
|
|
3718
|
+
unhandled_rejection: "unhandled_rejection";
|
|
3719
|
+
renderer_crash: "renderer_crash";
|
|
3720
|
+
native_crash: "native_crash";
|
|
3721
|
+
console_error: "console_error";
|
|
3722
|
+
load_failed: "load_failed";
|
|
3723
|
+
op_failed: "op_failed";
|
|
3724
|
+
child_exit: "child_exit";
|
|
3725
|
+
banner: "banner";
|
|
3726
|
+
logged_error: "logged_error";
|
|
3727
|
+
}>;
|
|
3728
|
+
source: z.ZodString;
|
|
3729
|
+
code: z.ZodNullable<z.ZodString>;
|
|
3730
|
+
message: z.ZodString;
|
|
3731
|
+
count: z.ZodInt;
|
|
3732
|
+
first_seen_ms: z.ZodInt;
|
|
3733
|
+
last_seen_ms: z.ZodInt;
|
|
3734
|
+
status: z.ZodEnum<{
|
|
3735
|
+
waiting: "waiting";
|
|
3736
|
+
sent: "sent";
|
|
3737
|
+
resolved: "resolved";
|
|
3738
|
+
}>;
|
|
3739
|
+
resolution_note: z.ZodNullable<z.ZodString>;
|
|
3740
|
+
app_version: z.ZodString;
|
|
3741
|
+
}, z.core.$strict>>;
|
|
3742
|
+
total_signatures: z.ZodInt;
|
|
3743
|
+
total_occurrences: z.ZodInt;
|
|
3744
|
+
waiting: z.ZodInt;
|
|
3745
|
+
delivery: z.ZodEnum<{
|
|
3746
|
+
ok: "ok";
|
|
3747
|
+
signed_out: "signed_out";
|
|
3748
|
+
failing: "failing";
|
|
3749
|
+
}>;
|
|
3750
|
+
last_delivery_ms: z.ZodNullable<z.ZodInt>;
|
|
3751
|
+
}, z.core.$strict>;
|
|
3752
|
+
type DiagErrorsListResult = z.output<typeof DiagErrorsListResult>;
|
|
3753
|
+
/** A renderer or hosted page reports what only it sees (a banner shown to the person, a caught error). */
|
|
3754
|
+
declare const DiagErrorsReportParams: z.ZodObject<{
|
|
3755
|
+
process: z.ZodEnum<{
|
|
3756
|
+
renderer: "renderer";
|
|
3757
|
+
hosted_page: "hosted_page";
|
|
3758
|
+
}>;
|
|
3759
|
+
kind: z.ZodEnum<{
|
|
3760
|
+
uncaught_exception: "uncaught_exception";
|
|
3761
|
+
unhandled_rejection: "unhandled_rejection";
|
|
3762
|
+
console_error: "console_error";
|
|
3763
|
+
banner: "banner";
|
|
3764
|
+
}>;
|
|
3765
|
+
source: z.ZodString;
|
|
3766
|
+
message: z.ZodString;
|
|
3767
|
+
code: z.ZodOptional<z.ZodString>;
|
|
3768
|
+
stack: z.ZodOptional<z.ZodString>;
|
|
3769
|
+
}, z.core.$strict>;
|
|
3770
|
+
type DiagErrorsReportParams = z.output<typeof DiagErrorsReportParams>;
|
|
3771
|
+
declare const DiagErrorsReportResult: z.ZodObject<{
|
|
3772
|
+
signature: z.ZodString;
|
|
3773
|
+
}, z.core.$strict>;
|
|
3774
|
+
type DiagErrorsReportResult = z.output<typeof DiagErrorsReportResult>;
|
|
3775
|
+
/** The ledger changed (a new occurrence, a delivery, a resolution). */
|
|
3776
|
+
declare const DiagErrorsChangedEvent: z.ZodObject<{
|
|
3777
|
+
total_signatures: z.ZodInt;
|
|
3778
|
+
waiting: z.ZodInt;
|
|
3779
|
+
}, z.core.$strict>;
|
|
3780
|
+
type DiagErrorsChangedEvent = z.output<typeof DiagErrorsChangedEvent>;
|
|
3781
|
+
|
|
3579
3782
|
/**
|
|
3580
3783
|
* @ai-matrx/desktop-protocol — cap resources (SPEC §6): how busy the computer is — CPU, memory and
|
|
3581
3784
|
* disks — and (1.17) what is using it, grouped into jobs, with a slowdown log. The busiest single
|
|
@@ -4468,7 +4671,7 @@ declare function forPeer(op: OpName | null, part: "error", value: unknown, versi
|
|
|
4468
4671
|
declare const VERSIONED_RESULT_OPS: readonly OpName[];
|
|
4469
4672
|
|
|
4470
4673
|
/** SHA-256 of generated/desktop-protocol.schema.json: the contract both sides of a service connection were built from. */
|
|
4471
|
-
declare const CONTRACT_SHA256: "
|
|
4674
|
+
declare const CONTRACT_SHA256: "5745ca5b70c283eadfce68d0c66c06207405b60c7e112cb75aca7ff29b15d12e";
|
|
4472
4675
|
|
|
4473
4676
|
/**
|
|
4474
4677
|
* The local tool catalog (SPEC §10): every tool a platform agent calls on a person's computer, the
|
|
@@ -4595,4 +4798,4 @@ declare function buildToolStatus(files: readonly unknown[], opts: {
|
|
|
4595
4798
|
/** The committed text form. Columns: per platform, the three levels (P = programmatic, R = protocol, C = chat). */
|
|
4596
4799
|
declare function renderToolStatusMarkdown(status: ToolStatus): string;
|
|
4597
4800
|
|
|
4598
|
-
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, AppsProjectsToWindowParams, AppsProjectsToWindowResult, 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, ProjectMoveChat, ProjectMoveGroup, ProjectMoveSkip, ProtocolVersion, PtyInfo, REASONS_SINCE, RELAY_CALL_HELLO_ID, RELAY_CALL_REQUEST_ID, RELAY_CALL_VERSION_HEADER, RelayAuthExpiringEvent, RelayCallEnvelope, RelayCallHello, RelayCallRequest, RelayCallResponse, RelayDeviceStatusEvent, RelayHopConnectionEnd, RelayHopEnvelopeHeader, RelayStatusResponse, RequestId, ResourceId, ResourceInfo, ResourcesActivityParams, ResourcesActivityResult, ResourcesDisk, ResourcesIncident, ResourcesIncidentsParams, ResourcesIncidentsResult, ResourcesJob, ResourcesJobKind, ResourcesPressure, ResourcesProcess, ResourcesSample, ResourcesSnapshotParams, ResourcesSnapshotResult, ResourcesStopJobParams, ResourcesStopJobResult, ResourcesStrain, ResourcesVerdict, SERVICE_MAX_FRAME_BYTES, ScreenCaptureParams, ScreenCaptureResult, ScreenDisplay, ScreenListParams, ScreenListResult, ServiceCancel, ServiceErrorMsg, ServiceHello, ServiceName, ServicePing, ServicePong, ServiceProgressMsg, ServiceRequest, ServiceResponse, ServiceShutdown, ServiceToCoreMsg, ServiceToken, ServiceWelcome, SessionAttachParams, SessionAttachResult, SessionControlChangedEvent, SessionDetachParams, SessionDetachResult, SessionListParams, SessionListResult, SessionReleaseParams, SessionReleaseResult, 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 };
|
|
4801
|
+
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, AppsProjectsToWindowParams, AppsProjectsToWindowResult, AppsProjectsUnfileParams, AppsProjectsUnfileResult, AppsProjectsUpdateParams, AppsProjectsUpdateResult, AppsSpendParams, AppsSpendResult, AppsSyncRunParams, AppsSyncStatusParams, AppsSyncStatusResult, AppsWindowActionResult, AppsWindowsAddParams, AppsWindowsListParams, AppsWindowsListResult, AppsWindowsOpenParams, AppsWindowsProcessesParams, AppsWindowsProcessesResult, AppsWindowsRefreshUsageParams, AppsWindowsReloadParams, AppsWindowsRestartParams, AppsWindowsSaveNamesParams, AppsWindowsShownParams, AppsWindowsShownResult, 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, DiagErrorEntry, DiagErrorKind, DiagErrorStatus, DiagErrorsChangedEvent, DiagErrorsListParams, DiagErrorsListResult, DiagErrorsReportParams, DiagErrorsReportResult, DiagProcess, EXCLUDED_TOOLS, ExecCwdEvent, ExecExitedEvent, ExecJobId, ExecJobInfo, ExecJobListParams, ExecJobListResult, ExecJobOutputParams, ExecJobOutputResult, ExecJobStartParams, ExecJobStartResult, ExecJobStopParams, ExecJobStopResult, ExecListParams, ExecListResult, ExecPtyKillParams, ExecPtyKillResult, ExecPtyResizeParams, ExecPtyResizeResult, ExecPtySignalParams, ExecPtySignalResult, ExecPtyStartParams, ExecPtyStartResult, ExecPtyWriteParams, ExecPtyWriteResult, ExecRunParams, ExecRunResult, ExecTitleEvent, FIELDS_SINCE, type FieldsSincePath, FrameHeader, FsChange, FsChangedEvent, 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, ProjectMoveChat, ProjectMoveGroup, ProjectMoveSkip, ProtocolVersion, PtyInfo, REASONS_SINCE, RELAY_CALL_HELLO_ID, RELAY_CALL_REQUEST_ID, RELAY_CALL_VERSION_HEADER, RelayAuthExpiringEvent, RelayCallEnvelope, RelayCallHello, RelayCallRequest, RelayCallResponse, RelayDeviceStatusEvent, RelayHopConnectionEnd, RelayHopEnvelopeHeader, RelayStatusResponse, RequestId, ResourceId, ResourceInfo, ResourcesActivityParams, ResourcesActivityResult, ResourcesDisk, ResourcesIncident, ResourcesIncidentsParams, ResourcesIncidentsResult, ResourcesJob, ResourcesJobKind, ResourcesPressure, ResourcesProcess, ResourcesSample, ResourcesSnapshotParams, ResourcesSnapshotResult, ResourcesStopJobParams, ResourcesStopJobResult, ResourcesStrain, ResourcesVerdict, SERVICE_MAX_FRAME_BYTES, ScreenCaptureParams, ScreenCaptureResult, ScreenDisplay, ScreenListParams, ScreenListResult, ServiceCancel, ServiceErrorMsg, ServiceHello, ServiceName, ServicePing, ServicePong, ServiceProgressMsg, ServiceRequest, ServiceResponse, ServiceShutdown, ServiceToCoreMsg, ServiceToken, ServiceWelcome, SessionAttachParams, SessionAttachResult, SessionControlChangedEvent, SessionDetachParams, SessionDetachResult, SessionListParams, SessionListResult, SessionReleaseParams, SessionReleaseResult, ShownSection, Signal, SpendAccount, SpendChat, 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 };
|