@ai-matrx/desktop-protocol 0.17.5 → 0.17.7
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 +29 -0
- package/dist/client.cjs +209 -2
- 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 +209 -2
- package/dist/client.js.map +1 -1
- package/dist/index.cjs +559 -264
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +588 -6
- package/dist/index.d.ts +588 -6
- package/dist/index.js +559 -264
- package/dist/index.js.map +1 -1
- package/dist/{models-Bb87iuvw.d.cts → models-Os6toG3X.d.cts} +945 -1
- package/dist/{models-Bb87iuvw.d.ts → models-Os6toG3X.d.ts} +945 -1
- package/dist/react.d.cts +440 -0
- package/dist/react.d.ts +440 -0
- package/generated/desktop-protocol.schema.json +1645 -69
- 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-Os6toG3X.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-Os6toG3X.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,9 +24,9 @@ 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
|
*/
|
|
27
|
-
declare const PROTOCOL_MINOR:
|
|
27
|
+
declare const PROTOCOL_MINOR: 11;
|
|
28
28
|
/** This package's version as the wire spells it ("major.minor"): hello, welcome, relay status. */
|
|
29
|
-
declare const PROTOCOL_VERSION: "1.
|
|
29
|
+
declare const PROTOCOL_VERSION: "1.11";
|
|
30
30
|
/** Internal building blocks — deliberately unnamed in $defs (inlined wherever used). */
|
|
31
31
|
declare const u32: z.ZodInt;
|
|
32
32
|
declare const nonNegInt: z.ZodInt;
|
|
@@ -1386,6 +1386,13 @@ declare const ChatRow: z.ZodObject<{
|
|
|
1386
1386
|
}, z.core.$strict>>;
|
|
1387
1387
|
}, z.core.$strict>;
|
|
1388
1388
|
type ChatRow = z.output<typeof ChatRow>;
|
|
1389
|
+
/** 1.10: a chat's family: the conversation it was forked from, or the original it is a copy of. */
|
|
1390
|
+
declare const ChatFamily: z.ZodObject<{
|
|
1391
|
+
id: z.ZodString;
|
|
1392
|
+
fork_of: z.ZodNullable<z.ZodString>;
|
|
1393
|
+
copy_of: z.ZodNullable<z.ZodString>;
|
|
1394
|
+
}, z.core.$strict>;
|
|
1395
|
+
type ChatFamily = z.output<typeof ChatFamily>;
|
|
1389
1396
|
declare const AppsChatsListParams: z.ZodObject<{
|
|
1390
1397
|
app_key: z.ZodString;
|
|
1391
1398
|
ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -1448,6 +1455,11 @@ declare const AppsChatsListResult: z.ZodObject<{
|
|
|
1448
1455
|
new_window_ms: z.ZodInt;
|
|
1449
1456
|
updating: z.ZodOptional<z.ZodBoolean>;
|
|
1450
1457
|
live: z.ZodOptional<z.ZodBoolean>;
|
|
1458
|
+
families: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1459
|
+
id: z.ZodString;
|
|
1460
|
+
fork_of: z.ZodNullable<z.ZodString>;
|
|
1461
|
+
copy_of: z.ZodNullable<z.ZodString>;
|
|
1462
|
+
}, z.core.$strict>>>;
|
|
1451
1463
|
}, z.core.$strict>;
|
|
1452
1464
|
type AppsChatsListResult = z.output<typeof AppsChatsListResult>;
|
|
1453
1465
|
declare const AppsChatsWatchParams: z.ZodObject<{
|
|
@@ -1778,6 +1790,575 @@ declare const AppsProjectsCopyResult: z.ZodObject<{
|
|
|
1778
1790
|
}, z.core.$strict>;
|
|
1779
1791
|
type AppsProjectsCopyResult = z.output<typeof AppsProjectsCopyResult>;
|
|
1780
1792
|
|
|
1793
|
+
/**
|
|
1794
|
+
* @ai-matrx/desktop-protocol — cap apps, a coding app's windows and the accounts behind them
|
|
1795
|
+
* (SPEC §6 `apps`, §6.2, plan `apps-chats` phase 2): each window (profile) with the account it is
|
|
1796
|
+
* meant for and the one signed in, open or closed; each account's plan usage (5-hour, weekly,
|
|
1797
|
+
* extra) as the app records it; each account's weekly reset; and the window actions (bring to
|
|
1798
|
+
* front or open, reload its list, restart, open briefly for a fresh usage reading). Claude is the
|
|
1799
|
+
* first adapter. Added in protocol 1.10. Schema source: lint-enforced rules in
|
|
1800
|
+
* scripts/check-schema-source.mjs.
|
|
1801
|
+
*/
|
|
1802
|
+
|
|
1803
|
+
/** One window (profile) of the app on this device. */
|
|
1804
|
+
declare const AppWindowInfo: z.ZodObject<{
|
|
1805
|
+
key: z.ZodString;
|
|
1806
|
+
main: z.ZodBoolean;
|
|
1807
|
+
account: z.ZodNullable<z.ZodString>;
|
|
1808
|
+
signed_in: z.ZodNullable<z.ZodString>;
|
|
1809
|
+
signed_in_is_email: z.ZodBoolean;
|
|
1810
|
+
mismatch: z.ZodBoolean;
|
|
1811
|
+
created: z.ZodBoolean;
|
|
1812
|
+
running: z.ZodBoolean;
|
|
1813
|
+
open_chats: z.ZodInt;
|
|
1814
|
+
}, z.core.$strict>;
|
|
1815
|
+
type AppWindowInfo = z.output<typeof AppWindowInfo>;
|
|
1816
|
+
/** One account's plan usage, newest reading from any window (an account is matched to an org by vote). */
|
|
1817
|
+
declare const AccountUsage: z.ZodObject<{
|
|
1818
|
+
account: z.ZodString;
|
|
1819
|
+
org: z.ZodNullable<z.ZodString>;
|
|
1820
|
+
account_certain: z.ZodBoolean;
|
|
1821
|
+
five_hour: z.ZodNullable<z.ZodNumber>;
|
|
1822
|
+
five_hour_reset_since: z.ZodBoolean;
|
|
1823
|
+
weekly: z.ZodNullable<z.ZodNumber>;
|
|
1824
|
+
weekly_reset_since: z.ZodBoolean;
|
|
1825
|
+
extra_usage: z.ZodNullable<z.ZodNumber>;
|
|
1826
|
+
extra_usage_as_of_ms: z.ZodNullable<z.ZodInt>;
|
|
1827
|
+
as_of_ms: z.ZodInt;
|
|
1828
|
+
windows: z.ZodArray<z.ZodString>;
|
|
1829
|
+
live: z.ZodBoolean;
|
|
1830
|
+
weekly_resets_at_ms: z.ZodNullable<z.ZodInt>;
|
|
1831
|
+
weekly_reset_official: z.ZodNullable<z.ZodBoolean>;
|
|
1832
|
+
}, z.core.$strict>;
|
|
1833
|
+
type AccountUsage = z.output<typeof AccountUsage>;
|
|
1834
|
+
/** One window's account's next weekly reset and where the time came from. */
|
|
1835
|
+
declare const AccountReset: z.ZodObject<{
|
|
1836
|
+
window: z.ZodString;
|
|
1837
|
+
account: z.ZodNullable<z.ZodString>;
|
|
1838
|
+
next_reset_ms: z.ZodNullable<z.ZodInt>;
|
|
1839
|
+
source: z.ZodNullable<z.ZodEnum<{
|
|
1840
|
+
claude: "claude";
|
|
1841
|
+
usage_history: "usage_history";
|
|
1842
|
+
your_list: "your_list";
|
|
1843
|
+
}>>;
|
|
1844
|
+
official: z.ZodBoolean;
|
|
1845
|
+
note: z.ZodNullable<z.ZodString>;
|
|
1846
|
+
}, z.core.$strict>;
|
|
1847
|
+
type AccountReset = z.output<typeof AccountReset>;
|
|
1848
|
+
declare const AppsWindowsListParams: z.ZodObject<{
|
|
1849
|
+
app_key: z.ZodString;
|
|
1850
|
+
}, z.core.$strict>;
|
|
1851
|
+
type AppsWindowsListParams = z.output<typeof AppsWindowsListParams>;
|
|
1852
|
+
declare const AppsWindowsListResult: z.ZodObject<{
|
|
1853
|
+
app_key: z.ZodString;
|
|
1854
|
+
windows: z.ZodArray<z.ZodObject<{
|
|
1855
|
+
key: z.ZodString;
|
|
1856
|
+
main: z.ZodBoolean;
|
|
1857
|
+
account: z.ZodNullable<z.ZodString>;
|
|
1858
|
+
signed_in: z.ZodNullable<z.ZodString>;
|
|
1859
|
+
signed_in_is_email: z.ZodBoolean;
|
|
1860
|
+
mismatch: z.ZodBoolean;
|
|
1861
|
+
created: z.ZodBoolean;
|
|
1862
|
+
running: z.ZodBoolean;
|
|
1863
|
+
open_chats: z.ZodInt;
|
|
1864
|
+
}, z.core.$strict>>;
|
|
1865
|
+
}, z.core.$strict>;
|
|
1866
|
+
type AppsWindowsListResult = z.output<typeof AppsWindowsListResult>;
|
|
1867
|
+
declare const AppsAccountsUsageParams: z.ZodObject<{
|
|
1868
|
+
app_key: z.ZodString;
|
|
1869
|
+
}, z.core.$strict>;
|
|
1870
|
+
type AppsAccountsUsageParams = z.output<typeof AppsAccountsUsageParams>;
|
|
1871
|
+
declare const AppsAccountsUsageResult: z.ZodObject<{
|
|
1872
|
+
app_key: z.ZodString;
|
|
1873
|
+
accounts: z.ZodArray<z.ZodObject<{
|
|
1874
|
+
account: z.ZodString;
|
|
1875
|
+
org: z.ZodNullable<z.ZodString>;
|
|
1876
|
+
account_certain: z.ZodBoolean;
|
|
1877
|
+
five_hour: z.ZodNullable<z.ZodNumber>;
|
|
1878
|
+
five_hour_reset_since: z.ZodBoolean;
|
|
1879
|
+
weekly: z.ZodNullable<z.ZodNumber>;
|
|
1880
|
+
weekly_reset_since: z.ZodBoolean;
|
|
1881
|
+
extra_usage: z.ZodNullable<z.ZodNumber>;
|
|
1882
|
+
extra_usage_as_of_ms: z.ZodNullable<z.ZodInt>;
|
|
1883
|
+
as_of_ms: z.ZodInt;
|
|
1884
|
+
windows: z.ZodArray<z.ZodString>;
|
|
1885
|
+
live: z.ZodBoolean;
|
|
1886
|
+
weekly_resets_at_ms: z.ZodNullable<z.ZodInt>;
|
|
1887
|
+
weekly_reset_official: z.ZodNullable<z.ZodBoolean>;
|
|
1888
|
+
}, z.core.$strict>>;
|
|
1889
|
+
}, z.core.$strict>;
|
|
1890
|
+
type AppsAccountsUsageResult = z.output<typeof AppsAccountsUsageResult>;
|
|
1891
|
+
declare const AppsAccountsResetsParams: z.ZodObject<{
|
|
1892
|
+
app_key: z.ZodString;
|
|
1893
|
+
}, z.core.$strict>;
|
|
1894
|
+
type AppsAccountsResetsParams = z.output<typeof AppsAccountsResetsParams>;
|
|
1895
|
+
declare const AppsAccountsResetsResult: z.ZodObject<{
|
|
1896
|
+
app_key: z.ZodString;
|
|
1897
|
+
resets: z.ZodArray<z.ZodObject<{
|
|
1898
|
+
window: z.ZodString;
|
|
1899
|
+
account: z.ZodNullable<z.ZodString>;
|
|
1900
|
+
next_reset_ms: z.ZodNullable<z.ZodInt>;
|
|
1901
|
+
source: z.ZodNullable<z.ZodEnum<{
|
|
1902
|
+
claude: "claude";
|
|
1903
|
+
usage_history: "usage_history";
|
|
1904
|
+
your_list: "your_list";
|
|
1905
|
+
}>>;
|
|
1906
|
+
official: z.ZodBoolean;
|
|
1907
|
+
note: z.ZodNullable<z.ZodString>;
|
|
1908
|
+
}, z.core.$strict>>;
|
|
1909
|
+
}, z.core.$strict>;
|
|
1910
|
+
type AppsAccountsResetsResult = z.output<typeof AppsAccountsResetsResult>;
|
|
1911
|
+
/** A window action's answer: what happened, in one line. */
|
|
1912
|
+
declare const AppsWindowActionResult: z.ZodObject<{
|
|
1913
|
+
message: z.ZodString;
|
|
1914
|
+
}, z.core.$strict>;
|
|
1915
|
+
type AppsWindowActionResult = z.output<typeof AppsWindowActionResult>;
|
|
1916
|
+
/** Bring the window to the front if it is open (never a second copy), else open it. */
|
|
1917
|
+
declare const AppsWindowsOpenParams: z.ZodObject<{
|
|
1918
|
+
app_key: z.ZodString;
|
|
1919
|
+
window: z.ZodString;
|
|
1920
|
+
}, z.core.$strict>;
|
|
1921
|
+
type AppsWindowsOpenParams = z.output<typeof AppsWindowsOpenParams>;
|
|
1922
|
+
/** Reload an open window's page (⌘R) so it re-reads its chat list; its chats keep running. */
|
|
1923
|
+
declare const AppsWindowsReloadParams: z.ZodObject<{
|
|
1924
|
+
app_key: z.ZodString;
|
|
1925
|
+
window: z.ZodString;
|
|
1926
|
+
}, z.core.$strict>;
|
|
1927
|
+
type AppsWindowsReloadParams = z.output<typeof AppsWindowsReloadParams>;
|
|
1928
|
+
/** Quit and reopen a window; refused (CONFLICT) while chats are open in it unless `force`. */
|
|
1929
|
+
declare const AppsWindowsRestartParams: z.ZodObject<{
|
|
1930
|
+
app_key: z.ZodString;
|
|
1931
|
+
window: z.ZodString;
|
|
1932
|
+
force: z.ZodDefault<z.ZodBoolean>;
|
|
1933
|
+
}, z.core.$strict>;
|
|
1934
|
+
type AppsWindowsRestartParams = z.output<typeof AppsWindowsRestartParams>;
|
|
1935
|
+
/** Open a closed window in the background until it records a fresh usage reading, then close it. */
|
|
1936
|
+
declare const AppsWindowsRefreshUsageParams: z.ZodObject<{
|
|
1937
|
+
app_key: z.ZodString;
|
|
1938
|
+
window: z.ZodString;
|
|
1939
|
+
}, z.core.$strict>;
|
|
1940
|
+
type AppsWindowsRefreshUsageParams = z.output<typeof AppsWindowsRefreshUsageParams>;
|
|
1941
|
+
/** Move a chat from one project to another (made if new by name). */
|
|
1942
|
+
declare const AppsProjectsMoveParams: z.ZodObject<{
|
|
1943
|
+
app_key: z.ZodString;
|
|
1944
|
+
chat_id: z.ZodString;
|
|
1945
|
+
from_project_id: z.ZodString;
|
|
1946
|
+
to_project_id: z.ZodOptional<z.ZodString>;
|
|
1947
|
+
new_project_name: z.ZodOptional<z.ZodString>;
|
|
1948
|
+
}, z.core.$strict>;
|
|
1949
|
+
type AppsProjectsMoveParams = z.output<typeof AppsProjectsMoveParams>;
|
|
1950
|
+
declare const AppsProjectsMoveResult: z.ZodObject<{
|
|
1951
|
+
chat: z.ZodObject<{
|
|
1952
|
+
id: z.ZodString;
|
|
1953
|
+
short_id: z.ZodString;
|
|
1954
|
+
record: z.ZodNullable<z.ZodString>;
|
|
1955
|
+
title: z.ZodString;
|
|
1956
|
+
last_active_ms: z.ZodNullable<z.ZodInt>;
|
|
1957
|
+
created_ms: z.ZodNullable<z.ZodInt>;
|
|
1958
|
+
projects: z.ZodArray<z.ZodString>;
|
|
1959
|
+
starred: z.ZodBoolean;
|
|
1960
|
+
pinned_in: z.ZodArray<z.ZodObject<{
|
|
1961
|
+
window: z.ZodString;
|
|
1962
|
+
observed_at_ms: z.ZodNullable<z.ZodInt>;
|
|
1963
|
+
}, z.core.$strict>>;
|
|
1964
|
+
places: z.ZodArray<z.ZodString>;
|
|
1965
|
+
held: z.ZodBoolean;
|
|
1966
|
+
running: z.ZodArray<z.ZodObject<{
|
|
1967
|
+
window: z.ZodString;
|
|
1968
|
+
how: z.ZodEnum<{
|
|
1969
|
+
process: "process";
|
|
1970
|
+
activity: "activity";
|
|
1971
|
+
}>;
|
|
1972
|
+
}, z.core.$strict>>;
|
|
1973
|
+
hidden_in: z.ZodArray<z.ZodObject<{
|
|
1974
|
+
window: z.ZodString;
|
|
1975
|
+
reason: z.ZodString;
|
|
1976
|
+
}, z.core.$strict>>;
|
|
1977
|
+
hidden_from_main: z.ZodBoolean;
|
|
1978
|
+
main_pending: z.ZodBoolean;
|
|
1979
|
+
scheduled: z.ZodNullable<z.ZodString>;
|
|
1980
|
+
new_unfiled: z.ZodBoolean;
|
|
1981
|
+
warnings: z.ZodArray<z.ZodString>;
|
|
1982
|
+
last_use: z.ZodNullable<z.ZodObject<{
|
|
1983
|
+
at_ms: z.ZodInt;
|
|
1984
|
+
window: z.ZodNullable<z.ZodString>;
|
|
1985
|
+
account: z.ZodNullable<z.ZodString>;
|
|
1986
|
+
how: z.ZodNullable<z.ZodString>;
|
|
1987
|
+
cache_warm: z.ZodBoolean;
|
|
1988
|
+
cache_minutes_left: z.ZodInt;
|
|
1989
|
+
}, z.core.$strict>>;
|
|
1990
|
+
}, z.core.$strict>;
|
|
1991
|
+
project: z.ZodObject<{
|
|
1992
|
+
id: z.ZodString;
|
|
1993
|
+
name: z.ZodString;
|
|
1994
|
+
archived: z.ZodBoolean;
|
|
1995
|
+
count: z.ZodInt;
|
|
1996
|
+
}, z.core.$strict>;
|
|
1997
|
+
}, z.core.$strict>;
|
|
1998
|
+
type AppsProjectsMoveResult = z.output<typeof AppsProjectsMoveResult>;
|
|
1999
|
+
/** A new, empty project. */
|
|
2000
|
+
declare const AppsProjectsCreateParams: z.ZodObject<{
|
|
2001
|
+
app_key: z.ZodString;
|
|
2002
|
+
name: z.ZodString;
|
|
2003
|
+
}, z.core.$strict>;
|
|
2004
|
+
type AppsProjectsCreateParams = z.output<typeof AppsProjectsCreateParams>;
|
|
2005
|
+
declare const AppsProjectsCreateResult: z.ZodObject<{
|
|
2006
|
+
project: z.ZodObject<{
|
|
2007
|
+
id: z.ZodString;
|
|
2008
|
+
name: z.ZodString;
|
|
2009
|
+
archived: z.ZodBoolean;
|
|
2010
|
+
count: z.ZodInt;
|
|
2011
|
+
}, z.core.$strict>;
|
|
2012
|
+
}, z.core.$strict>;
|
|
2013
|
+
type AppsProjectsCreateResult = z.output<typeof AppsProjectsCreateResult>;
|
|
2014
|
+
/** Refresh pins: the Unsorted project becomes every pinned chat in no other project (never touches the app's pins). */
|
|
2015
|
+
declare const AppsProjectsImportPinsParams: z.ZodObject<{
|
|
2016
|
+
app_key: z.ZodString;
|
|
2017
|
+
}, z.core.$strict>;
|
|
2018
|
+
type AppsProjectsImportPinsParams = z.output<typeof AppsProjectsImportPinsParams>;
|
|
2019
|
+
declare const AppsProjectsImportPinsResult: z.ZodObject<{
|
|
2020
|
+
message: z.ZodString;
|
|
2021
|
+
}, z.core.$strict>;
|
|
2022
|
+
type AppsProjectsImportPinsResult = z.output<typeof AppsProjectsImportPinsResult>;
|
|
2023
|
+
/** A chat waiting for the person, with when its prompt cache goes cold and what waking it costs (API list prices, USD). */
|
|
2024
|
+
declare const ColdChat: z.ZodObject<{
|
|
2025
|
+
id: z.ZodString;
|
|
2026
|
+
title: z.ZodString;
|
|
2027
|
+
repo: z.ZodNullable<z.ZodString>;
|
|
2028
|
+
window: z.ZodNullable<z.ZodString>;
|
|
2029
|
+
account: z.ZodNullable<z.ZodString>;
|
|
2030
|
+
model_name: z.ZodNullable<z.ZodString>;
|
|
2031
|
+
context_tokens: z.ZodInt;
|
|
2032
|
+
cold_at_ms: z.ZodInt;
|
|
2033
|
+
cold_cost: z.ZodNullable<z.ZodNumber>;
|
|
2034
|
+
warm_cost: z.ZodNullable<z.ZodNumber>;
|
|
2035
|
+
extra_usage: z.ZodBoolean;
|
|
2036
|
+
scheduled: z.ZodBoolean;
|
|
2037
|
+
openable: z.ZodBoolean;
|
|
2038
|
+
how: z.ZodNullable<z.ZodString>;
|
|
2039
|
+
}, z.core.$strict>;
|
|
2040
|
+
type ColdChat = z.output<typeof ColdChat>;
|
|
2041
|
+
declare const AppsChatsColdParams: z.ZodObject<{
|
|
2042
|
+
app_key: z.ZodString;
|
|
2043
|
+
}, z.core.$strict>;
|
|
2044
|
+
type AppsChatsColdParams = z.output<typeof AppsChatsColdParams>;
|
|
2045
|
+
declare const AppsChatsColdResult: z.ZodObject<{
|
|
2046
|
+
app_key: z.ZodString;
|
|
2047
|
+
waiting: z.ZodArray<z.ZodObject<{
|
|
2048
|
+
id: z.ZodString;
|
|
2049
|
+
title: z.ZodString;
|
|
2050
|
+
repo: z.ZodNullable<z.ZodString>;
|
|
2051
|
+
window: z.ZodNullable<z.ZodString>;
|
|
2052
|
+
account: z.ZodNullable<z.ZodString>;
|
|
2053
|
+
model_name: z.ZodNullable<z.ZodString>;
|
|
2054
|
+
context_tokens: z.ZodInt;
|
|
2055
|
+
cold_at_ms: z.ZodInt;
|
|
2056
|
+
cold_cost: z.ZodNullable<z.ZodNumber>;
|
|
2057
|
+
warm_cost: z.ZodNullable<z.ZodNumber>;
|
|
2058
|
+
extra_usage: z.ZodBoolean;
|
|
2059
|
+
scheduled: z.ZodBoolean;
|
|
2060
|
+
openable: z.ZodBoolean;
|
|
2061
|
+
how: z.ZodNullable<z.ZodString>;
|
|
2062
|
+
}, z.core.$strict>>;
|
|
2063
|
+
recently_cold: z.ZodArray<z.ZodObject<{
|
|
2064
|
+
id: z.ZodString;
|
|
2065
|
+
title: z.ZodString;
|
|
2066
|
+
repo: z.ZodNullable<z.ZodString>;
|
|
2067
|
+
window: z.ZodNullable<z.ZodString>;
|
|
2068
|
+
account: z.ZodNullable<z.ZodString>;
|
|
2069
|
+
model_name: z.ZodNullable<z.ZodString>;
|
|
2070
|
+
context_tokens: z.ZodInt;
|
|
2071
|
+
cold_at_ms: z.ZodInt;
|
|
2072
|
+
cold_cost: z.ZodNullable<z.ZodNumber>;
|
|
2073
|
+
warm_cost: z.ZodNullable<z.ZodNumber>;
|
|
2074
|
+
extra_usage: z.ZodBoolean;
|
|
2075
|
+
scheduled: z.ZodBoolean;
|
|
2076
|
+
openable: z.ZodBoolean;
|
|
2077
|
+
how: z.ZodNullable<z.ZodString>;
|
|
2078
|
+
}, z.core.$strict>>;
|
|
2079
|
+
working: z.ZodInt;
|
|
2080
|
+
}, z.core.$strict>;
|
|
2081
|
+
type AppsChatsColdResult = z.output<typeof AppsChatsColdResult>;
|
|
2082
|
+
/** Show one chat in its window (Claude's own "Continue session" link, sent to that window only); never sends it anything. */
|
|
2083
|
+
declare const AppsChatsOpenParams: z.ZodObject<{
|
|
2084
|
+
app_key: z.ZodString;
|
|
2085
|
+
chat_id: z.ZodString;
|
|
2086
|
+
window: z.ZodOptional<z.ZodString>;
|
|
2087
|
+
}, z.core.$strict>;
|
|
2088
|
+
type AppsChatsOpenParams = z.output<typeof AppsChatsOpenParams>;
|
|
2089
|
+
/** Main conversation and helpers, USD at API list prices. */
|
|
2090
|
+
declare const SpendSplit: z.ZodObject<{
|
|
2091
|
+
main: z.ZodNumber;
|
|
2092
|
+
helpers: z.ZodNumber;
|
|
2093
|
+
}, z.core.$strict>;
|
|
2094
|
+
type SpendSplit = z.output<typeof SpendSplit>;
|
|
2095
|
+
declare const SpendScopes: z.ZodObject<{
|
|
2096
|
+
today: z.ZodObject<{
|
|
2097
|
+
main: z.ZodNumber;
|
|
2098
|
+
helpers: z.ZodNumber;
|
|
2099
|
+
}, z.core.$strict>;
|
|
2100
|
+
week: z.ZodObject<{
|
|
2101
|
+
main: z.ZodNumber;
|
|
2102
|
+
helpers: z.ZodNumber;
|
|
2103
|
+
}, z.core.$strict>;
|
|
2104
|
+
}, z.core.$strict>;
|
|
2105
|
+
type SpendScopes = z.output<typeof SpendScopes>;
|
|
2106
|
+
declare const SpendAccount: z.ZodObject<{
|
|
2107
|
+
account: z.ZodString;
|
|
2108
|
+
spend: z.ZodObject<{
|
|
2109
|
+
today: z.ZodObject<{
|
|
2110
|
+
main: z.ZodNumber;
|
|
2111
|
+
helpers: z.ZodNumber;
|
|
2112
|
+
}, z.core.$strict>;
|
|
2113
|
+
week: z.ZodObject<{
|
|
2114
|
+
main: z.ZodNumber;
|
|
2115
|
+
helpers: z.ZodNumber;
|
|
2116
|
+
}, z.core.$strict>;
|
|
2117
|
+
}, z.core.$strict>;
|
|
2118
|
+
last_hour: z.ZodNullable<z.ZodNumber>;
|
|
2119
|
+
last_5h: z.ZodNullable<z.ZodNumber>;
|
|
2120
|
+
five_hour: z.ZodNullable<z.ZodNumber>;
|
|
2121
|
+
weekly: z.ZodNullable<z.ZodNumber>;
|
|
2122
|
+
as_of_ms: z.ZodNullable<z.ZodInt>;
|
|
2123
|
+
weekly_resets_at_ms: z.ZodNullable<z.ZodInt>;
|
|
2124
|
+
five_hour_full_at_ms: z.ZodNullable<z.ZodInt>;
|
|
2125
|
+
weekly_full_at_ms: z.ZodNullable<z.ZodInt>;
|
|
2126
|
+
stale: z.ZodBoolean;
|
|
2127
|
+
}, z.core.$strict>;
|
|
2128
|
+
type SpendAccount = z.output<typeof SpendAccount>;
|
|
2129
|
+
declare const SpendModel: z.ZodObject<{
|
|
2130
|
+
model: z.ZodString;
|
|
2131
|
+
name: z.ZodString;
|
|
2132
|
+
spend: z.ZodObject<{
|
|
2133
|
+
today: z.ZodObject<{
|
|
2134
|
+
main: z.ZodNumber;
|
|
2135
|
+
helpers: z.ZodNumber;
|
|
2136
|
+
}, z.core.$strict>;
|
|
2137
|
+
week: z.ZodObject<{
|
|
2138
|
+
main: z.ZodNumber;
|
|
2139
|
+
helpers: z.ZodNumber;
|
|
2140
|
+
}, z.core.$strict>;
|
|
2141
|
+
}, z.core.$strict>;
|
|
2142
|
+
}, z.core.$strict>;
|
|
2143
|
+
type SpendModel = z.output<typeof SpendModel>;
|
|
2144
|
+
declare const SpendChat: z.ZodObject<{
|
|
2145
|
+
id: z.ZodString;
|
|
2146
|
+
title: z.ZodString;
|
|
2147
|
+
repo: z.ZodNullable<z.ZodString>;
|
|
2148
|
+
window: z.ZodNullable<z.ZodString>;
|
|
2149
|
+
spend: z.ZodObject<{
|
|
2150
|
+
today: z.ZodObject<{
|
|
2151
|
+
main: z.ZodNumber;
|
|
2152
|
+
helpers: z.ZodNumber;
|
|
2153
|
+
}, z.core.$strict>;
|
|
2154
|
+
week: z.ZodObject<{
|
|
2155
|
+
main: z.ZodNumber;
|
|
2156
|
+
helpers: z.ZodNumber;
|
|
2157
|
+
}, z.core.$strict>;
|
|
2158
|
+
}, z.core.$strict>;
|
|
2159
|
+
helpers: z.ZodInt;
|
|
2160
|
+
}, z.core.$strict>;
|
|
2161
|
+
type SpendChat = z.output<typeof SpendChat>;
|
|
2162
|
+
declare const SpendHelper: z.ZodObject<{
|
|
2163
|
+
model: z.ZodString;
|
|
2164
|
+
steps: z.ZodInt;
|
|
2165
|
+
over_steps: z.ZodBoolean;
|
|
2166
|
+
description: z.ZodString;
|
|
2167
|
+
}, z.core.$strict>;
|
|
2168
|
+
type SpendHelper = z.output<typeof SpendHelper>;
|
|
2169
|
+
declare const SpendLive: z.ZodObject<{
|
|
2170
|
+
id: z.ZodString;
|
|
2171
|
+
title: z.ZodString;
|
|
2172
|
+
window: z.ZodNullable<z.ZodString>;
|
|
2173
|
+
helpers: z.ZodArray<z.ZodObject<{
|
|
2174
|
+
model: z.ZodString;
|
|
2175
|
+
steps: z.ZodInt;
|
|
2176
|
+
over_steps: z.ZodBoolean;
|
|
2177
|
+
description: z.ZodString;
|
|
2178
|
+
}, z.core.$strict>>;
|
|
2179
|
+
}, z.core.$strict>;
|
|
2180
|
+
type SpendLive = z.output<typeof SpendLive>;
|
|
2181
|
+
declare const SpendIdleScope: z.ZodObject<{
|
|
2182
|
+
count: z.ZodInt;
|
|
2183
|
+
tokens: z.ZodInt;
|
|
2184
|
+
cost: z.ZodNumber;
|
|
2185
|
+
avoidable: z.ZodNumber;
|
|
2186
|
+
}, z.core.$strict>;
|
|
2187
|
+
type SpendIdleScope = z.output<typeof SpendIdleScope>;
|
|
2188
|
+
/** Idle cache re-saves, grouped by chat and by who re-saved (the chat itself or one helper). */
|
|
2189
|
+
declare const SpendIdle: z.ZodObject<{
|
|
2190
|
+
id: z.ZodString;
|
|
2191
|
+
chat: z.ZodString;
|
|
2192
|
+
who: z.ZodString;
|
|
2193
|
+
today: z.ZodObject<{
|
|
2194
|
+
count: z.ZodInt;
|
|
2195
|
+
tokens: z.ZodInt;
|
|
2196
|
+
cost: z.ZodNumber;
|
|
2197
|
+
avoidable: z.ZodNumber;
|
|
2198
|
+
}, z.core.$strict>;
|
|
2199
|
+
week: z.ZodObject<{
|
|
2200
|
+
count: z.ZodInt;
|
|
2201
|
+
tokens: z.ZodInt;
|
|
2202
|
+
cost: z.ZodNumber;
|
|
2203
|
+
avoidable: z.ZodNumber;
|
|
2204
|
+
}, z.core.$strict>;
|
|
2205
|
+
last_ms: z.ZodInt;
|
|
2206
|
+
}, z.core.$strict>;
|
|
2207
|
+
type SpendIdle = z.output<typeof SpendIdle>;
|
|
2208
|
+
/** How big each repo's helpers start (their first request's tokens). */
|
|
2209
|
+
declare const SpendStart: z.ZodObject<{
|
|
2210
|
+
repo: z.ZodString;
|
|
2211
|
+
count: z.ZodInt;
|
|
2212
|
+
median: z.ZodInt;
|
|
2213
|
+
latest: z.ZodArray<z.ZodInt>;
|
|
2214
|
+
alarm: z.ZodNullable<z.ZodString>;
|
|
2215
|
+
}, z.core.$strict>;
|
|
2216
|
+
type SpendStart = z.output<typeof SpendStart>;
|
|
2217
|
+
declare const AppsSpendParams: z.ZodObject<{
|
|
2218
|
+
app_key: z.ZodString;
|
|
2219
|
+
}, z.core.$strict>;
|
|
2220
|
+
type AppsSpendParams = z.output<typeof AppsSpendParams>;
|
|
2221
|
+
declare const AppsSpendResult: z.ZodObject<{
|
|
2222
|
+
app_key: z.ZodString;
|
|
2223
|
+
complete: z.ZodBoolean;
|
|
2224
|
+
today_total: z.ZodNumber;
|
|
2225
|
+
week_total: z.ZodNumber;
|
|
2226
|
+
idle_today: z.ZodNumber;
|
|
2227
|
+
idle_week: z.ZodNumber;
|
|
2228
|
+
unpriced: z.ZodArray<z.ZodString>;
|
|
2229
|
+
alarms: z.ZodArray<z.ZodString>;
|
|
2230
|
+
live: z.ZodArray<z.ZodObject<{
|
|
2231
|
+
id: z.ZodString;
|
|
2232
|
+
title: z.ZodString;
|
|
2233
|
+
window: z.ZodNullable<z.ZodString>;
|
|
2234
|
+
helpers: z.ZodArray<z.ZodObject<{
|
|
2235
|
+
model: z.ZodString;
|
|
2236
|
+
steps: z.ZodInt;
|
|
2237
|
+
over_steps: z.ZodBoolean;
|
|
2238
|
+
description: z.ZodString;
|
|
2239
|
+
}, z.core.$strict>>;
|
|
2240
|
+
}, z.core.$strict>>;
|
|
2241
|
+
accounts: z.ZodArray<z.ZodObject<{
|
|
2242
|
+
account: z.ZodString;
|
|
2243
|
+
spend: z.ZodObject<{
|
|
2244
|
+
today: z.ZodObject<{
|
|
2245
|
+
main: z.ZodNumber;
|
|
2246
|
+
helpers: z.ZodNumber;
|
|
2247
|
+
}, z.core.$strict>;
|
|
2248
|
+
week: z.ZodObject<{
|
|
2249
|
+
main: z.ZodNumber;
|
|
2250
|
+
helpers: z.ZodNumber;
|
|
2251
|
+
}, z.core.$strict>;
|
|
2252
|
+
}, z.core.$strict>;
|
|
2253
|
+
last_hour: z.ZodNullable<z.ZodNumber>;
|
|
2254
|
+
last_5h: z.ZodNullable<z.ZodNumber>;
|
|
2255
|
+
five_hour: z.ZodNullable<z.ZodNumber>;
|
|
2256
|
+
weekly: z.ZodNullable<z.ZodNumber>;
|
|
2257
|
+
as_of_ms: z.ZodNullable<z.ZodInt>;
|
|
2258
|
+
weekly_resets_at_ms: z.ZodNullable<z.ZodInt>;
|
|
2259
|
+
five_hour_full_at_ms: z.ZodNullable<z.ZodInt>;
|
|
2260
|
+
weekly_full_at_ms: z.ZodNullable<z.ZodInt>;
|
|
2261
|
+
stale: z.ZodBoolean;
|
|
2262
|
+
}, z.core.$strict>>;
|
|
2263
|
+
models: z.ZodArray<z.ZodObject<{
|
|
2264
|
+
model: z.ZodString;
|
|
2265
|
+
name: z.ZodString;
|
|
2266
|
+
spend: z.ZodObject<{
|
|
2267
|
+
today: z.ZodObject<{
|
|
2268
|
+
main: z.ZodNumber;
|
|
2269
|
+
helpers: z.ZodNumber;
|
|
2270
|
+
}, z.core.$strict>;
|
|
2271
|
+
week: z.ZodObject<{
|
|
2272
|
+
main: z.ZodNumber;
|
|
2273
|
+
helpers: z.ZodNumber;
|
|
2274
|
+
}, z.core.$strict>;
|
|
2275
|
+
}, z.core.$strict>;
|
|
2276
|
+
}, z.core.$strict>>;
|
|
2277
|
+
chats: z.ZodArray<z.ZodObject<{
|
|
2278
|
+
id: z.ZodString;
|
|
2279
|
+
title: z.ZodString;
|
|
2280
|
+
repo: z.ZodNullable<z.ZodString>;
|
|
2281
|
+
window: z.ZodNullable<z.ZodString>;
|
|
2282
|
+
spend: z.ZodObject<{
|
|
2283
|
+
today: z.ZodObject<{
|
|
2284
|
+
main: z.ZodNumber;
|
|
2285
|
+
helpers: z.ZodNumber;
|
|
2286
|
+
}, z.core.$strict>;
|
|
2287
|
+
week: z.ZodObject<{
|
|
2288
|
+
main: z.ZodNumber;
|
|
2289
|
+
helpers: z.ZodNumber;
|
|
2290
|
+
}, z.core.$strict>;
|
|
2291
|
+
}, z.core.$strict>;
|
|
2292
|
+
helpers: z.ZodInt;
|
|
2293
|
+
}, z.core.$strict>>;
|
|
2294
|
+
idle: z.ZodArray<z.ZodObject<{
|
|
2295
|
+
id: z.ZodString;
|
|
2296
|
+
chat: z.ZodString;
|
|
2297
|
+
who: z.ZodString;
|
|
2298
|
+
today: z.ZodObject<{
|
|
2299
|
+
count: z.ZodInt;
|
|
2300
|
+
tokens: z.ZodInt;
|
|
2301
|
+
cost: z.ZodNumber;
|
|
2302
|
+
avoidable: z.ZodNumber;
|
|
2303
|
+
}, z.core.$strict>;
|
|
2304
|
+
week: z.ZodObject<{
|
|
2305
|
+
count: z.ZodInt;
|
|
2306
|
+
tokens: z.ZodInt;
|
|
2307
|
+
cost: z.ZodNumber;
|
|
2308
|
+
avoidable: z.ZodNumber;
|
|
2309
|
+
}, z.core.$strict>;
|
|
2310
|
+
last_ms: z.ZodInt;
|
|
2311
|
+
}, z.core.$strict>>;
|
|
2312
|
+
starts: z.ZodArray<z.ZodObject<{
|
|
2313
|
+
repo: z.ZodString;
|
|
2314
|
+
count: z.ZodInt;
|
|
2315
|
+
median: z.ZodInt;
|
|
2316
|
+
latest: z.ZodArray<z.ZodInt>;
|
|
2317
|
+
alarm: z.ZodNullable<z.ZodString>;
|
|
2318
|
+
}, z.core.$strict>>;
|
|
2319
|
+
}, z.core.$strict>;
|
|
2320
|
+
type AppsSpendResult = z.output<typeof AppsSpendResult>;
|
|
2321
|
+
/** The chat sync's own read-only health check (is every chat reaching main?). */
|
|
2322
|
+
declare const AppsSyncStatusParams: z.ZodObject<{
|
|
2323
|
+
app_key: z.ZodString;
|
|
2324
|
+
}, z.core.$strict>;
|
|
2325
|
+
type AppsSyncStatusParams = z.output<typeof AppsSyncStatusParams>;
|
|
2326
|
+
declare const AppsSyncStatusResult: z.ZodObject<{
|
|
2327
|
+
healthy: z.ZodBoolean;
|
|
2328
|
+
summary: z.ZodString;
|
|
2329
|
+
problems: z.ZodArray<z.ZodString>;
|
|
2330
|
+
warnings: z.ZodArray<z.ZodString>;
|
|
2331
|
+
unnamed_accounts: z.ZodArray<z.ZodString>;
|
|
2332
|
+
output: z.ZodString;
|
|
2333
|
+
}, z.core.$strict>;
|
|
2334
|
+
type AppsSyncStatusResult = z.output<typeof AppsSyncStatusResult>;
|
|
2335
|
+
/** Run the chat sync now (main shows the result within a minute). */
|
|
2336
|
+
declare const AppsSyncRunParams: z.ZodObject<{
|
|
2337
|
+
app_key: z.ZodString;
|
|
2338
|
+
}, z.core.$strict>;
|
|
2339
|
+
type AppsSyncRunParams = z.output<typeof AppsSyncRunParams>;
|
|
2340
|
+
/** The app's processes still running (an app update installs only when there are none). */
|
|
2341
|
+
declare const AppsWindowsProcessesParams: z.ZodObject<{
|
|
2342
|
+
app_key: z.ZodString;
|
|
2343
|
+
}, z.core.$strict>;
|
|
2344
|
+
type AppsWindowsProcessesParams = z.output<typeof AppsWindowsProcessesParams>;
|
|
2345
|
+
declare const AppsWindowsProcessesResult: z.ZodObject<{
|
|
2346
|
+
processes: z.ZodArray<z.ZodString>;
|
|
2347
|
+
}, z.core.$strict>;
|
|
2348
|
+
type AppsWindowsProcessesResult = z.output<typeof AppsWindowsProcessesResult>;
|
|
2349
|
+
/** A window for another account: a short lowercase name and the account's email. */
|
|
2350
|
+
declare const AppsWindowsAddParams: z.ZodObject<{
|
|
2351
|
+
app_key: z.ZodString;
|
|
2352
|
+
window: z.ZodString;
|
|
2353
|
+
email: z.ZodString;
|
|
2354
|
+
}, z.core.$strict>;
|
|
2355
|
+
type AppsWindowsAddParams = z.output<typeof AppsWindowsAddParams>;
|
|
2356
|
+
/** Save each window's signed-in account id → its email, so every list shows names. */
|
|
2357
|
+
declare const AppsWindowsSaveNamesParams: z.ZodObject<{
|
|
2358
|
+
app_key: z.ZodString;
|
|
2359
|
+
}, z.core.$strict>;
|
|
2360
|
+
type AppsWindowsSaveNamesParams = z.output<typeof AppsWindowsSaveNamesParams>;
|
|
2361
|
+
|
|
1781
2362
|
/**
|
|
1782
2363
|
* @ai-matrx/desktop-protocol — the internal envelope between Matrx 2's core and its supervised
|
|
1783
2364
|
* Python services (SPEC §3.10). Schema source: lint-enforced rules in scripts/check-schema-source.mjs.
|
|
@@ -3186,6 +3767,7 @@ declare const FIELDS_SINCE: {
|
|
|
3186
3767
|
readonly AppsChatsListResult: {
|
|
3187
3768
|
readonly updating: "1.9";
|
|
3188
3769
|
readonly live: "1.9";
|
|
3770
|
+
readonly families: "1.10";
|
|
3189
3771
|
};
|
|
3190
3772
|
};
|
|
3191
3773
|
type FieldsSincePath = keyof typeof FIELDS_SINCE;
|
|
@@ -3241,7 +3823,7 @@ declare function forPeer(op: OpName | null, part: "error", value: unknown, versi
|
|
|
3241
3823
|
declare const VERSIONED_RESULT_OPS: readonly OpName[];
|
|
3242
3824
|
|
|
3243
3825
|
/** SHA-256 of generated/desktop-protocol.schema.json: the contract both sides of a service connection were built from. */
|
|
3244
|
-
declare const CONTRACT_SHA256: "
|
|
3826
|
+
declare const CONTRACT_SHA256: "de809e319141925b0d86c5acbfe2493f3a85cad7c668c3e20b082e9319f5199b";
|
|
3245
3827
|
|
|
3246
3828
|
/**
|
|
3247
3829
|
* The local tool catalog (SPEC §10): every tool a platform agent calls on a person's computer, the
|
|
@@ -3368,4 +3950,4 @@ declare function buildToolStatus(files: readonly unknown[], opts: {
|
|
|
3368
3950
|
/** The committed text form. Columns: per platform, the three levels (P = programmatic, R = protocol, C = chat). */
|
|
3369
3951
|
declare function renderToolStatusMarkdown(status: ToolStatus): string;
|
|
3370
3952
|
|
|
3371
|
-
export { AbsPath, AppFeatureStatus, AppInfo, AppKey, AppProfile, AppProfileId, AppProfileLocator, AppSupport, AppUsageReading, AppsChatsChangedEvent, AppsChatsListParams, AppsChatsListResult, AppsChatsPlaceParams, AppsChatsPlaceResult, AppsChatsStarParams, AppsChatsStarResult, AppsChatsWatchParams, AppsChatsWatchResult, AppsChatsWatchStateEvent, AppsListParams, AppsListResult, AppsOpenParams, AppsOpenResult, AppsProfilesListParams, AppsProfilesListResult, AppsProfilesRemoveParams, AppsProfilesRemoveResult, AppsProfilesSaveParams, AppsProfilesSaveResult, AppsProjectsCopyParams, AppsProjectsCopyResult, AppsProjectsFileManyParams, AppsProjectsFileManyResult, AppsProjectsFileParams, AppsProjectsFileResult, AppsProjectsUnfileParams, AppsProjectsUnfileResult, AppsProjectsUpdateParams, AppsProjectsUpdateResult, AudioDevice, AudioDevicesParams, AudioDevicesResult, AudioPlayParams, AudioPlayResult, AudioRecordParams, AudioRecordResult, CONTRACT_SHA256, type CatalogTool, type CellState, 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, 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, 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 };
|
|
3953
|
+
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, 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 };
|