@ai-matrx/desktop-protocol 0.21.18 → 0.21.20
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 +36 -3
- 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 +36 -3
- package/dist/client.js.map +1 -1
- package/dist/index.cjs +51 -6
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +59 -6
- package/dist/index.d.ts +59 -6
- package/dist/index.js +51 -6
- package/dist/index.js.map +1 -1
- package/dist/{models-xHAz1vPQ.d.cts → models-Cx6q_tRu.d.cts} +77 -1
- package/dist/{models-xHAz1vPQ.d.ts → models-Cx6q_tRu.d.ts} +77 -1
- package/dist/react.d.cts +45 -0
- package/dist/react.d.ts +45 -0
- package/generated/desktop-protocol.schema.json +207 -2
- package/package.json +2 -2
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-Cx6q_tRu.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-Cx6q_tRu.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. */
|
|
@@ -43,10 +43,14 @@ declare const PROTOCOL_MAJOR: 1;
|
|
|
43
43
|
* rotation and refresh rate, power's energy settings and power.history, the keyboard's
|
|
44
44
|
* repeat, fn key and input sources (input.keyboard_settings/set_keyboard_settings),
|
|
45
45
|
* system.open_settings (the OS's own settings page), Spend's last 7 days.
|
|
46
|
+
* 1.25 — each coding account's 5-hour reset (AccountUsage.five_hour_resets_by_ms), so Accounts
|
|
47
|
+
* sorts and filters by when an account is usable again.
|
|
48
|
+
* 1.26 — the coding app's own update: apps.windows.update_state (pending, which windows closed),
|
|
49
|
+
* apps.windows.reopen and apps.windows.update_and_reopen (quit all, install, reopen all).
|
|
46
50
|
*/
|
|
47
|
-
declare const PROTOCOL_MINOR:
|
|
51
|
+
declare const PROTOCOL_MINOR: 26;
|
|
48
52
|
/** This package's version as the wire spells it ("major.minor"): hello, welcome, relay status. */
|
|
49
|
-
declare const PROTOCOL_VERSION: "1.
|
|
53
|
+
declare const PROTOCOL_VERSION: "1.26";
|
|
50
54
|
/** Internal building blocks — deliberately unnamed in $defs (inlined wherever used). */
|
|
51
55
|
declare const u32: z.ZodInt;
|
|
52
56
|
declare const nonNegInt: z.ZodInt;
|
|
@@ -2150,6 +2154,7 @@ declare const AccountUsage: z.ZodObject<{
|
|
|
2150
2154
|
weekly_reset_official: z.ZodNullable<z.ZodBoolean>;
|
|
2151
2155
|
plan: z.ZodOptional<z.ZodString>;
|
|
2152
2156
|
credits: z.ZodOptional<z.ZodString>;
|
|
2157
|
+
five_hour_resets_by_ms: z.ZodOptional<z.ZodInt>;
|
|
2153
2158
|
}, z.core.$strict>;
|
|
2154
2159
|
type AccountUsage = z.output<typeof AccountUsage>;
|
|
2155
2160
|
/** One window's account's next weekly reset and where the time came from. */
|
|
@@ -2208,6 +2213,7 @@ declare const AppsAccountsUsageResult: z.ZodObject<{
|
|
|
2208
2213
|
weekly_reset_official: z.ZodNullable<z.ZodBoolean>;
|
|
2209
2214
|
plan: z.ZodOptional<z.ZodString>;
|
|
2210
2215
|
credits: z.ZodOptional<z.ZodString>;
|
|
2216
|
+
five_hour_resets_by_ms: z.ZodOptional<z.ZodInt>;
|
|
2211
2217
|
}, z.core.$strict>>;
|
|
2212
2218
|
problem: z.ZodOptional<z.ZodString>;
|
|
2213
2219
|
}, z.core.$strict>;
|
|
@@ -2810,6 +2816,52 @@ declare const AppsWindowsShownResult: z.ZodObject<{
|
|
|
2810
2816
|
problem: z.ZodNullable<z.ZodString>;
|
|
2811
2817
|
}, z.core.$strict>;
|
|
2812
2818
|
type AppsWindowsShownResult = z.output<typeof AppsWindowsShownResult>;
|
|
2819
|
+
/**
|
|
2820
|
+
* Whether the app has downloaded an update that installs only once every window has quit, and the
|
|
2821
|
+
* windows that closed while it waited (they do not come back by themselves). Apps without such an
|
|
2822
|
+
* updater answer `pending` false.
|
|
2823
|
+
*/
|
|
2824
|
+
declare const AppsWindowsUpdateStateParams: z.ZodObject<{
|
|
2825
|
+
app_key: z.ZodString;
|
|
2826
|
+
}, z.core.$strict>;
|
|
2827
|
+
type AppsWindowsUpdateStateParams = z.output<typeof AppsWindowsUpdateStateParams>;
|
|
2828
|
+
declare const AppsWindowsUpdateStateResult: z.ZodObject<{
|
|
2829
|
+
app_key: z.ZodString;
|
|
2830
|
+
pending: z.ZodBoolean;
|
|
2831
|
+
version: z.ZodNullable<z.ZodString>;
|
|
2832
|
+
since_ms: z.ZodNullable<z.ZodInt>;
|
|
2833
|
+
closed: z.ZodArray<z.ZodString>;
|
|
2834
|
+
}, z.core.$strict>;
|
|
2835
|
+
type AppsWindowsUpdateStateResult = z.output<typeof AppsWindowsUpdateStateResult>;
|
|
2836
|
+
/** Open these windows again (main first), one at a time. */
|
|
2837
|
+
declare const AppsWindowsReopenParams: z.ZodObject<{
|
|
2838
|
+
app_key: z.ZodString;
|
|
2839
|
+
windows: z.ZodArray<z.ZodString>;
|
|
2840
|
+
}, z.core.$strict>;
|
|
2841
|
+
type AppsWindowsReopenParams = z.output<typeof AppsWindowsReopenParams>;
|
|
2842
|
+
declare const AppsWindowsReopenResult: z.ZodObject<{
|
|
2843
|
+
message: z.ZodString;
|
|
2844
|
+
opened: z.ZodArray<z.ZodString>;
|
|
2845
|
+
}, z.core.$strict>;
|
|
2846
|
+
type AppsWindowsReopenResult = z.output<typeof AppsWindowsReopenResult>;
|
|
2847
|
+
/**
|
|
2848
|
+
* Install the pending update and bring every window back: quits the open windows (refused with
|
|
2849
|
+
* CONFLICT while chats are open in any, unless `force`), waits for the install, then reopens main
|
|
2850
|
+
* first and the rest after. `dry_run` answers the plan only.
|
|
2851
|
+
*/
|
|
2852
|
+
declare const AppsWindowsUpdateAndReopenParams: z.ZodObject<{
|
|
2853
|
+
app_key: z.ZodString;
|
|
2854
|
+
force: z.ZodDefault<z.ZodBoolean>;
|
|
2855
|
+
dry_run: z.ZodDefault<z.ZodBoolean>;
|
|
2856
|
+
}, z.core.$strict>;
|
|
2857
|
+
type AppsWindowsUpdateAndReopenParams = z.output<typeof AppsWindowsUpdateAndReopenParams>;
|
|
2858
|
+
declare const AppsWindowsUpdateAndReopenResult: z.ZodObject<{
|
|
2859
|
+
message: z.ZodString;
|
|
2860
|
+
quit: z.ZodArray<z.ZodString>;
|
|
2861
|
+
reopened: z.ZodArray<z.ZodString>;
|
|
2862
|
+
installed_version: z.ZodNullable<z.ZodString>;
|
|
2863
|
+
}, z.core.$strict>;
|
|
2864
|
+
type AppsWindowsUpdateAndReopenResult = z.output<typeof AppsWindowsUpdateAndReopenResult>;
|
|
2813
2865
|
|
|
2814
2866
|
/**
|
|
2815
2867
|
* @ai-matrx/desktop-protocol — the internal envelope between Matrx 2's core and its supervised
|
|
@@ -5251,6 +5303,7 @@ declare const FIELDS_SINCE: {
|
|
|
5251
5303
|
readonly AccountUsage: {
|
|
5252
5304
|
readonly plan: "1.13";
|
|
5253
5305
|
readonly credits: "1.13";
|
|
5306
|
+
readonly five_hour_resets_by_ms: "1.25";
|
|
5254
5307
|
};
|
|
5255
5308
|
readonly ResourcesDisk: {
|
|
5256
5309
|
readonly name: "1.17";
|
|
@@ -5327,7 +5380,7 @@ declare function forPeer(op: OpName | null, part: "error", value: unknown, versi
|
|
|
5327
5380
|
declare const VERSIONED_RESULT_OPS: readonly OpName[];
|
|
5328
5381
|
|
|
5329
5382
|
/** SHA-256 of generated/desktop-protocol.schema.json: the contract both sides of a service connection were built from. */
|
|
5330
|
-
declare const CONTRACT_SHA256: "
|
|
5383
|
+
declare const CONTRACT_SHA256: "42d314c6051a4dde86faa4b606bb9b8dcc7b2638d8b0cfb25852e8924920f44b";
|
|
5331
5384
|
|
|
5332
5385
|
/**
|
|
5333
5386
|
* The local tool catalog (SPEC §10): every tool a platform agent calls on a person's computer, the
|
|
@@ -5454,4 +5507,4 @@ declare function buildToolStatus(files: readonly unknown[], opts: {
|
|
|
5454
5507
|
/** The committed text form. Columns: per platform, the three levels (P = programmatic, R = protocol, C = chat). */
|
|
5455
5508
|
declare function renderToolStatusMarkdown(status: ToolStatus): string;
|
|
5456
5509
|
|
|
5457
|
-
export { AbsPath, AccountAgent, AccountAgentsListParams, AccountAgentsListResult, AccountReadState, AccountReset, AccountRowId, AccountUsage, AccountVaultCopyParams, AccountVaultCopyResult, AccountVaultListParams, AccountVaultListResult, AppFeatureStatus, AppInfo, AppKey, AppProfile, AppProfileId, AppProfileLocator, AppSupport, AppUsageReading, AppWindowInfo, AppsAccountsResetsParams, AppsAccountsResetsResult, AppsAccountsUsageParams, AppsAccountsUsageResult, AppsChatsChangedEvent, AppsChatsColdParams, AppsChatsColdResult, AppsChatsListParams, AppsChatsListResult, AppsChatsOpenParams, AppsChatsPlaceParams, AppsChatsPlaceResult, AppsChatsStarParams, AppsChatsStarResult, 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, AudioLevelsParams, AudioLevelsResult, AudioPlayParams, AudioPlayResult, AudioRecordParams, AudioRecordResult, AudioSetLevelsParams, 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, GIT_MAX_OUTPUT_CHARS, GitAddParams, GitBranchParams, GitBranchResult, GitCloneParams, GitCommitParams, GitCommitResult, GitDiffParams, GitDiffResult, GitLogCommit, GitLogParams, GitLogResult, GitOutputResult, GitPullParams, GitPushParams, GitStashParams, GitStatusFile, GitStatusParams, GitStatusResult, InputHotkeyParams, InputHotkeyResult, InputKey, InputKeyboardSettingsParams, InputKeyboardSettingsResult, InputMouseClickParams, InputMouseClickResult, InputMouseMoveParams, InputMouseMoveResult, InputPoint, InputSetKeyboardSettingsParams, InputTypeTextParams, InputTypeTextResult, LEGACY_ACTIONS, LEGACY_DISPATCHERS, type LegacyDisposition, NULL_SINCE, OpName, OsPermissionName, PROTOCOL_MAJOR, PROTOCOL_MINOR, PROTOCOL_VERSION, PowerEnergy, PowerHistoryParams, PowerHistoryPoint, PowerHistoryResult, PowerPreventSleepParams, PowerPreventSleepResult, PowerStatusParams, PowerStatusResult, ProcInfo, ProcKillParams, ProcKillResult, ProcListParams, ProcListResult, ProcPort, ProcPortsParams, ProcPortsResult, ProcSort, ProjectMoveChat, ProjectMoveGroup, ProjectMoveSkip, ProtocolVersion, PtyInfo, REASONS_SINCE, RELAY_CALL_HELLO_ID, RELAY_CALL_REQUEST_ID, RELAY_CALL_VERSION_HEADER, RelayAuthExpiringEvent, RelayCallEnvelope, RelayCallHello, RelayCallRequest, RelayCallResponse, RelayDeviceStatusEvent, RelayHopConnectionEnd, RelayHopEnvelopeHeader, RelayStatusResponse, RequestId, ResourceId, ResourceInfo, ResourcesActivityParams, ResourcesActivityResult, ResourcesDisk, ResourcesIncident, ResourcesIncidentsParams, ResourcesIncidentsResult, ResourcesJob, ResourcesJobKind, ResourcesPressure, ResourcesProcess, ResourcesSample, ResourcesSnapshotParams, ResourcesSnapshotResult, ResourcesStopJobParams, ResourcesStopJobResult, ResourcesStrain, ResourcesVerdict, SERVICE_MAX_FRAME_BYTES, ScreenCaptureParams, ScreenCaptureResult, ScreenDisplay, ScreenListParams, ScreenListResult, ServiceCancel, ServiceErrorMsg, ServiceHello, ServiceName, ServicePing, ServicePong, ServiceProgressMsg, ServiceRequest, ServiceResponse, ServiceShutdown, ServiceToCoreMsg, ServiceToken, ServiceWelcome, SessionAttachParams, SessionAttachResult, SessionControlChangedEvent, SessionDetachParams, SessionDetachResult, SessionListParams, SessionListResult, SessionReleaseParams, SessionReleaseResult, ShownSection, Signal, SpendAccount, SpendChat, SpendDay, SpendHelper, SpendIdle, SpendIdleScope, SpendLive, SpendModel, SpendScopes, SpendSplit, SpendStart, StackErrorsParams, StackErrorsResult, StackEvent, StackLogsParams, StackLogsResult, StackRunResult, StackServer, StackServerActionParams, StackServerActionResult, StackServerName, StackStartParams, StackStateParams, StackStateResult, StackStopParams, StackTone, type StatusCell, type StatusEvidence, type StatusRow, SysinfoGetParams, SysinfoGetResult, SysinfoHardwareParams, SysinfoHardwareResult, SystemNotifyParams, SystemNotifyResult, SystemOpenPathParams, SystemOpenPathResult, SystemOpenSettingsParams, SystemOpenSettingsResult, SystemOpenUrlParams, SystemOpenUrlResult, SystemSettingsPane, TOOL_CATALOG, TOOL_GROUPS, TOOL_LEVELS, TOOL_PLATFORMS, type ToolGroup, type ToolGroupId, ToolLevel, ToolLevelResult, ToolName, ToolOutcome, type ToolPath, ToolPlatform, ToolResultsFile, type ToolState, type ToolStatus, ToolTransport, ToolsServiceProgress, ToolsWebSearchParams, VERSIONED_RESULT_OPS, VaultFieldSummary, VaultItemKind, VaultItemSummary, WEB_MAX_TEXT_CHARS, WebBrowserFetchParams, WebBrowserFetchResult, WebFetchParams, WebFetchResult, WebHeader, WebScrapePage, WebScrapeParams, WebScrapeResult, WebSearchHit, WebSearchParams, WebSearchQueryResult, WebSearchResult, WindowFocusParams, WindowFocusResult, WindowInfo, WindowListParams, WindowListResult, WindowMinimizeParams, WindowMinimizeResult, WindowMoveParams, WindowMoveResult, announcedVersion, buildToolStatus, builtOps, compareVersions, epochMs, forPeer, knows, negotiate, nonNegInt, renderToolStatusMarkdown, statusForPeer, u32, versionSubprotocol };
|
|
5510
|
+
export { AbsPath, AccountAgent, AccountAgentsListParams, AccountAgentsListResult, AccountReadState, AccountReset, AccountRowId, AccountUsage, AccountVaultCopyParams, AccountVaultCopyResult, AccountVaultListParams, AccountVaultListResult, AppFeatureStatus, AppInfo, AppKey, AppProfile, AppProfileId, AppProfileLocator, AppSupport, AppUsageReading, AppWindowInfo, AppsAccountsResetsParams, AppsAccountsResetsResult, AppsAccountsUsageParams, AppsAccountsUsageResult, AppsChatsChangedEvent, AppsChatsColdParams, AppsChatsColdResult, AppsChatsListParams, AppsChatsListResult, AppsChatsOpenParams, AppsChatsPlaceParams, AppsChatsPlaceResult, AppsChatsStarParams, AppsChatsStarResult, AppsChatsWatchParams, AppsChatsWatchResult, AppsChatsWatchStateEvent, AppsListParams, AppsListResult, AppsOpenParams, AppsOpenResult, AppsProfilesListParams, AppsProfilesListResult, AppsProfilesRemoveParams, AppsProfilesRemoveResult, AppsProfilesSaveParams, AppsProfilesSaveResult, AppsProjectsCopyParams, AppsProjectsCopyResult, AppsProjectsCreateParams, AppsProjectsCreateResult, AppsProjectsFileManyParams, AppsProjectsFileManyResult, AppsProjectsFileParams, AppsProjectsFileResult, AppsProjectsImportPinsParams, AppsProjectsImportPinsResult, AppsProjectsMoveParams, AppsProjectsMoveResult, AppsProjectsToWindowParams, AppsProjectsToWindowResult, AppsProjectsUnfileParams, AppsProjectsUnfileResult, AppsProjectsUpdateParams, AppsProjectsUpdateResult, AppsSpendParams, AppsSpendResult, AppsSyncRunParams, AppsSyncStatusParams, AppsSyncStatusResult, AppsWindowActionResult, AppsWindowsAddParams, AppsWindowsListParams, AppsWindowsListResult, AppsWindowsOpenParams, AppsWindowsProcessesParams, AppsWindowsProcessesResult, AppsWindowsRefreshUsageParams, AppsWindowsReloadParams, AppsWindowsReopenParams, AppsWindowsReopenResult, AppsWindowsRestartParams, AppsWindowsSaveNamesParams, AppsWindowsShownParams, AppsWindowsShownResult, AppsWindowsUpdateAndReopenParams, AppsWindowsUpdateAndReopenResult, AppsWindowsUpdateStateParams, AppsWindowsUpdateStateResult, AudioDevice, AudioDevicesParams, AudioDevicesResult, AudioLevelsParams, AudioLevelsResult, AudioPlayParams, AudioPlayResult, AudioRecordParams, AudioRecordResult, AudioSetLevelsParams, 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, GIT_MAX_OUTPUT_CHARS, GitAddParams, GitBranchParams, GitBranchResult, GitCloneParams, GitCommitParams, GitCommitResult, GitDiffParams, GitDiffResult, GitLogCommit, GitLogParams, GitLogResult, GitOutputResult, GitPullParams, GitPushParams, GitStashParams, GitStatusFile, GitStatusParams, GitStatusResult, InputHotkeyParams, InputHotkeyResult, InputKey, InputKeyboardSettingsParams, InputKeyboardSettingsResult, InputMouseClickParams, InputMouseClickResult, InputMouseMoveParams, InputMouseMoveResult, InputPoint, InputSetKeyboardSettingsParams, InputTypeTextParams, InputTypeTextResult, LEGACY_ACTIONS, LEGACY_DISPATCHERS, type LegacyDisposition, NULL_SINCE, OpName, OsPermissionName, PROTOCOL_MAJOR, PROTOCOL_MINOR, PROTOCOL_VERSION, PowerEnergy, PowerHistoryParams, PowerHistoryPoint, PowerHistoryResult, PowerPreventSleepParams, PowerPreventSleepResult, PowerStatusParams, PowerStatusResult, ProcInfo, ProcKillParams, ProcKillResult, ProcListParams, ProcListResult, ProcPort, ProcPortsParams, ProcPortsResult, ProcSort, ProjectMoveChat, ProjectMoveGroup, ProjectMoveSkip, ProtocolVersion, PtyInfo, REASONS_SINCE, RELAY_CALL_HELLO_ID, RELAY_CALL_REQUEST_ID, RELAY_CALL_VERSION_HEADER, RelayAuthExpiringEvent, RelayCallEnvelope, RelayCallHello, RelayCallRequest, RelayCallResponse, RelayDeviceStatusEvent, RelayHopConnectionEnd, RelayHopEnvelopeHeader, RelayStatusResponse, RequestId, ResourceId, ResourceInfo, ResourcesActivityParams, ResourcesActivityResult, ResourcesDisk, ResourcesIncident, ResourcesIncidentsParams, ResourcesIncidentsResult, ResourcesJob, ResourcesJobKind, ResourcesPressure, ResourcesProcess, ResourcesSample, ResourcesSnapshotParams, ResourcesSnapshotResult, ResourcesStopJobParams, ResourcesStopJobResult, ResourcesStrain, ResourcesVerdict, SERVICE_MAX_FRAME_BYTES, ScreenCaptureParams, ScreenCaptureResult, ScreenDisplay, ScreenListParams, ScreenListResult, ServiceCancel, ServiceErrorMsg, ServiceHello, ServiceName, ServicePing, ServicePong, ServiceProgressMsg, ServiceRequest, ServiceResponse, ServiceShutdown, ServiceToCoreMsg, ServiceToken, ServiceWelcome, SessionAttachParams, SessionAttachResult, SessionControlChangedEvent, SessionDetachParams, SessionDetachResult, SessionListParams, SessionListResult, SessionReleaseParams, SessionReleaseResult, ShownSection, Signal, SpendAccount, SpendChat, SpendDay, SpendHelper, SpendIdle, SpendIdleScope, SpendLive, SpendModel, SpendScopes, SpendSplit, SpendStart, StackErrorsParams, StackErrorsResult, StackEvent, StackLogsParams, StackLogsResult, StackRunResult, StackServer, StackServerActionParams, StackServerActionResult, StackServerName, StackStartParams, StackStateParams, StackStateResult, StackStopParams, StackTone, type StatusCell, type StatusEvidence, type StatusRow, SysinfoGetParams, SysinfoGetResult, SysinfoHardwareParams, SysinfoHardwareResult, SystemNotifyParams, SystemNotifyResult, SystemOpenPathParams, SystemOpenPathResult, SystemOpenSettingsParams, SystemOpenSettingsResult, SystemOpenUrlParams, SystemOpenUrlResult, SystemSettingsPane, TOOL_CATALOG, TOOL_GROUPS, TOOL_LEVELS, TOOL_PLATFORMS, type ToolGroup, type ToolGroupId, ToolLevel, ToolLevelResult, ToolName, ToolOutcome, type ToolPath, ToolPlatform, ToolResultsFile, type ToolState, type ToolStatus, ToolTransport, ToolsServiceProgress, ToolsWebSearchParams, VERSIONED_RESULT_OPS, VaultFieldSummary, VaultItemKind, VaultItemSummary, WEB_MAX_TEXT_CHARS, WebBrowserFetchParams, WebBrowserFetchResult, WebFetchParams, WebFetchResult, WebHeader, WebScrapePage, WebScrapeParams, WebScrapeResult, WebSearchHit, WebSearchParams, WebSearchQueryResult, WebSearchResult, WindowFocusParams, WindowFocusResult, WindowInfo, WindowListParams, WindowListResult, WindowMinimizeParams, WindowMinimizeResult, WindowMoveParams, WindowMoveResult, announcedVersion, buildToolStatus, builtOps, compareVersions, epochMs, forPeer, knows, negotiate, nonNegInt, 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-Cx6q_tRu.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-Cx6q_tRu.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. */
|
|
@@ -43,10 +43,14 @@ declare const PROTOCOL_MAJOR: 1;
|
|
|
43
43
|
* rotation and refresh rate, power's energy settings and power.history, the keyboard's
|
|
44
44
|
* repeat, fn key and input sources (input.keyboard_settings/set_keyboard_settings),
|
|
45
45
|
* system.open_settings (the OS's own settings page), Spend's last 7 days.
|
|
46
|
+
* 1.25 — each coding account's 5-hour reset (AccountUsage.five_hour_resets_by_ms), so Accounts
|
|
47
|
+
* sorts and filters by when an account is usable again.
|
|
48
|
+
* 1.26 — the coding app's own update: apps.windows.update_state (pending, which windows closed),
|
|
49
|
+
* apps.windows.reopen and apps.windows.update_and_reopen (quit all, install, reopen all).
|
|
46
50
|
*/
|
|
47
|
-
declare const PROTOCOL_MINOR:
|
|
51
|
+
declare const PROTOCOL_MINOR: 26;
|
|
48
52
|
/** This package's version as the wire spells it ("major.minor"): hello, welcome, relay status. */
|
|
49
|
-
declare const PROTOCOL_VERSION: "1.
|
|
53
|
+
declare const PROTOCOL_VERSION: "1.26";
|
|
50
54
|
/** Internal building blocks — deliberately unnamed in $defs (inlined wherever used). */
|
|
51
55
|
declare const u32: z.ZodInt;
|
|
52
56
|
declare const nonNegInt: z.ZodInt;
|
|
@@ -2150,6 +2154,7 @@ declare const AccountUsage: z.ZodObject<{
|
|
|
2150
2154
|
weekly_reset_official: z.ZodNullable<z.ZodBoolean>;
|
|
2151
2155
|
plan: z.ZodOptional<z.ZodString>;
|
|
2152
2156
|
credits: z.ZodOptional<z.ZodString>;
|
|
2157
|
+
five_hour_resets_by_ms: z.ZodOptional<z.ZodInt>;
|
|
2153
2158
|
}, z.core.$strict>;
|
|
2154
2159
|
type AccountUsage = z.output<typeof AccountUsage>;
|
|
2155
2160
|
/** One window's account's next weekly reset and where the time came from. */
|
|
@@ -2208,6 +2213,7 @@ declare const AppsAccountsUsageResult: z.ZodObject<{
|
|
|
2208
2213
|
weekly_reset_official: z.ZodNullable<z.ZodBoolean>;
|
|
2209
2214
|
plan: z.ZodOptional<z.ZodString>;
|
|
2210
2215
|
credits: z.ZodOptional<z.ZodString>;
|
|
2216
|
+
five_hour_resets_by_ms: z.ZodOptional<z.ZodInt>;
|
|
2211
2217
|
}, z.core.$strict>>;
|
|
2212
2218
|
problem: z.ZodOptional<z.ZodString>;
|
|
2213
2219
|
}, z.core.$strict>;
|
|
@@ -2810,6 +2816,52 @@ declare const AppsWindowsShownResult: z.ZodObject<{
|
|
|
2810
2816
|
problem: z.ZodNullable<z.ZodString>;
|
|
2811
2817
|
}, z.core.$strict>;
|
|
2812
2818
|
type AppsWindowsShownResult = z.output<typeof AppsWindowsShownResult>;
|
|
2819
|
+
/**
|
|
2820
|
+
* Whether the app has downloaded an update that installs only once every window has quit, and the
|
|
2821
|
+
* windows that closed while it waited (they do not come back by themselves). Apps without such an
|
|
2822
|
+
* updater answer `pending` false.
|
|
2823
|
+
*/
|
|
2824
|
+
declare const AppsWindowsUpdateStateParams: z.ZodObject<{
|
|
2825
|
+
app_key: z.ZodString;
|
|
2826
|
+
}, z.core.$strict>;
|
|
2827
|
+
type AppsWindowsUpdateStateParams = z.output<typeof AppsWindowsUpdateStateParams>;
|
|
2828
|
+
declare const AppsWindowsUpdateStateResult: z.ZodObject<{
|
|
2829
|
+
app_key: z.ZodString;
|
|
2830
|
+
pending: z.ZodBoolean;
|
|
2831
|
+
version: z.ZodNullable<z.ZodString>;
|
|
2832
|
+
since_ms: z.ZodNullable<z.ZodInt>;
|
|
2833
|
+
closed: z.ZodArray<z.ZodString>;
|
|
2834
|
+
}, z.core.$strict>;
|
|
2835
|
+
type AppsWindowsUpdateStateResult = z.output<typeof AppsWindowsUpdateStateResult>;
|
|
2836
|
+
/** Open these windows again (main first), one at a time. */
|
|
2837
|
+
declare const AppsWindowsReopenParams: z.ZodObject<{
|
|
2838
|
+
app_key: z.ZodString;
|
|
2839
|
+
windows: z.ZodArray<z.ZodString>;
|
|
2840
|
+
}, z.core.$strict>;
|
|
2841
|
+
type AppsWindowsReopenParams = z.output<typeof AppsWindowsReopenParams>;
|
|
2842
|
+
declare const AppsWindowsReopenResult: z.ZodObject<{
|
|
2843
|
+
message: z.ZodString;
|
|
2844
|
+
opened: z.ZodArray<z.ZodString>;
|
|
2845
|
+
}, z.core.$strict>;
|
|
2846
|
+
type AppsWindowsReopenResult = z.output<typeof AppsWindowsReopenResult>;
|
|
2847
|
+
/**
|
|
2848
|
+
* Install the pending update and bring every window back: quits the open windows (refused with
|
|
2849
|
+
* CONFLICT while chats are open in any, unless `force`), waits for the install, then reopens main
|
|
2850
|
+
* first and the rest after. `dry_run` answers the plan only.
|
|
2851
|
+
*/
|
|
2852
|
+
declare const AppsWindowsUpdateAndReopenParams: z.ZodObject<{
|
|
2853
|
+
app_key: z.ZodString;
|
|
2854
|
+
force: z.ZodDefault<z.ZodBoolean>;
|
|
2855
|
+
dry_run: z.ZodDefault<z.ZodBoolean>;
|
|
2856
|
+
}, z.core.$strict>;
|
|
2857
|
+
type AppsWindowsUpdateAndReopenParams = z.output<typeof AppsWindowsUpdateAndReopenParams>;
|
|
2858
|
+
declare const AppsWindowsUpdateAndReopenResult: z.ZodObject<{
|
|
2859
|
+
message: z.ZodString;
|
|
2860
|
+
quit: z.ZodArray<z.ZodString>;
|
|
2861
|
+
reopened: z.ZodArray<z.ZodString>;
|
|
2862
|
+
installed_version: z.ZodNullable<z.ZodString>;
|
|
2863
|
+
}, z.core.$strict>;
|
|
2864
|
+
type AppsWindowsUpdateAndReopenResult = z.output<typeof AppsWindowsUpdateAndReopenResult>;
|
|
2813
2865
|
|
|
2814
2866
|
/**
|
|
2815
2867
|
* @ai-matrx/desktop-protocol — the internal envelope between Matrx 2's core and its supervised
|
|
@@ -5251,6 +5303,7 @@ declare const FIELDS_SINCE: {
|
|
|
5251
5303
|
readonly AccountUsage: {
|
|
5252
5304
|
readonly plan: "1.13";
|
|
5253
5305
|
readonly credits: "1.13";
|
|
5306
|
+
readonly five_hour_resets_by_ms: "1.25";
|
|
5254
5307
|
};
|
|
5255
5308
|
readonly ResourcesDisk: {
|
|
5256
5309
|
readonly name: "1.17";
|
|
@@ -5327,7 +5380,7 @@ declare function forPeer(op: OpName | null, part: "error", value: unknown, versi
|
|
|
5327
5380
|
declare const VERSIONED_RESULT_OPS: readonly OpName[];
|
|
5328
5381
|
|
|
5329
5382
|
/** SHA-256 of generated/desktop-protocol.schema.json: the contract both sides of a service connection were built from. */
|
|
5330
|
-
declare const CONTRACT_SHA256: "
|
|
5383
|
+
declare const CONTRACT_SHA256: "42d314c6051a4dde86faa4b606bb9b8dcc7b2638d8b0cfb25852e8924920f44b";
|
|
5331
5384
|
|
|
5332
5385
|
/**
|
|
5333
5386
|
* The local tool catalog (SPEC §10): every tool a platform agent calls on a person's computer, the
|
|
@@ -5454,4 +5507,4 @@ declare function buildToolStatus(files: readonly unknown[], opts: {
|
|
|
5454
5507
|
/** The committed text form. Columns: per platform, the three levels (P = programmatic, R = protocol, C = chat). */
|
|
5455
5508
|
declare function renderToolStatusMarkdown(status: ToolStatus): string;
|
|
5456
5509
|
|
|
5457
|
-
export { AbsPath, AccountAgent, AccountAgentsListParams, AccountAgentsListResult, AccountReadState, AccountReset, AccountRowId, AccountUsage, AccountVaultCopyParams, AccountVaultCopyResult, AccountVaultListParams, AccountVaultListResult, AppFeatureStatus, AppInfo, AppKey, AppProfile, AppProfileId, AppProfileLocator, AppSupport, AppUsageReading, AppWindowInfo, AppsAccountsResetsParams, AppsAccountsResetsResult, AppsAccountsUsageParams, AppsAccountsUsageResult, AppsChatsChangedEvent, AppsChatsColdParams, AppsChatsColdResult, AppsChatsListParams, AppsChatsListResult, AppsChatsOpenParams, AppsChatsPlaceParams, AppsChatsPlaceResult, AppsChatsStarParams, AppsChatsStarResult, 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, AudioLevelsParams, AudioLevelsResult, AudioPlayParams, AudioPlayResult, AudioRecordParams, AudioRecordResult, AudioSetLevelsParams, 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, GIT_MAX_OUTPUT_CHARS, GitAddParams, GitBranchParams, GitBranchResult, GitCloneParams, GitCommitParams, GitCommitResult, GitDiffParams, GitDiffResult, GitLogCommit, GitLogParams, GitLogResult, GitOutputResult, GitPullParams, GitPushParams, GitStashParams, GitStatusFile, GitStatusParams, GitStatusResult, InputHotkeyParams, InputHotkeyResult, InputKey, InputKeyboardSettingsParams, InputKeyboardSettingsResult, InputMouseClickParams, InputMouseClickResult, InputMouseMoveParams, InputMouseMoveResult, InputPoint, InputSetKeyboardSettingsParams, InputTypeTextParams, InputTypeTextResult, LEGACY_ACTIONS, LEGACY_DISPATCHERS, type LegacyDisposition, NULL_SINCE, OpName, OsPermissionName, PROTOCOL_MAJOR, PROTOCOL_MINOR, PROTOCOL_VERSION, PowerEnergy, PowerHistoryParams, PowerHistoryPoint, PowerHistoryResult, PowerPreventSleepParams, PowerPreventSleepResult, PowerStatusParams, PowerStatusResult, ProcInfo, ProcKillParams, ProcKillResult, ProcListParams, ProcListResult, ProcPort, ProcPortsParams, ProcPortsResult, ProcSort, ProjectMoveChat, ProjectMoveGroup, ProjectMoveSkip, ProtocolVersion, PtyInfo, REASONS_SINCE, RELAY_CALL_HELLO_ID, RELAY_CALL_REQUEST_ID, RELAY_CALL_VERSION_HEADER, RelayAuthExpiringEvent, RelayCallEnvelope, RelayCallHello, RelayCallRequest, RelayCallResponse, RelayDeviceStatusEvent, RelayHopConnectionEnd, RelayHopEnvelopeHeader, RelayStatusResponse, RequestId, ResourceId, ResourceInfo, ResourcesActivityParams, ResourcesActivityResult, ResourcesDisk, ResourcesIncident, ResourcesIncidentsParams, ResourcesIncidentsResult, ResourcesJob, ResourcesJobKind, ResourcesPressure, ResourcesProcess, ResourcesSample, ResourcesSnapshotParams, ResourcesSnapshotResult, ResourcesStopJobParams, ResourcesStopJobResult, ResourcesStrain, ResourcesVerdict, SERVICE_MAX_FRAME_BYTES, ScreenCaptureParams, ScreenCaptureResult, ScreenDisplay, ScreenListParams, ScreenListResult, ServiceCancel, ServiceErrorMsg, ServiceHello, ServiceName, ServicePing, ServicePong, ServiceProgressMsg, ServiceRequest, ServiceResponse, ServiceShutdown, ServiceToCoreMsg, ServiceToken, ServiceWelcome, SessionAttachParams, SessionAttachResult, SessionControlChangedEvent, SessionDetachParams, SessionDetachResult, SessionListParams, SessionListResult, SessionReleaseParams, SessionReleaseResult, ShownSection, Signal, SpendAccount, SpendChat, SpendDay, SpendHelper, SpendIdle, SpendIdleScope, SpendLive, SpendModel, SpendScopes, SpendSplit, SpendStart, StackErrorsParams, StackErrorsResult, StackEvent, StackLogsParams, StackLogsResult, StackRunResult, StackServer, StackServerActionParams, StackServerActionResult, StackServerName, StackStartParams, StackStateParams, StackStateResult, StackStopParams, StackTone, type StatusCell, type StatusEvidence, type StatusRow, SysinfoGetParams, SysinfoGetResult, SysinfoHardwareParams, SysinfoHardwareResult, SystemNotifyParams, SystemNotifyResult, SystemOpenPathParams, SystemOpenPathResult, SystemOpenSettingsParams, SystemOpenSettingsResult, SystemOpenUrlParams, SystemOpenUrlResult, SystemSettingsPane, TOOL_CATALOG, TOOL_GROUPS, TOOL_LEVELS, TOOL_PLATFORMS, type ToolGroup, type ToolGroupId, ToolLevel, ToolLevelResult, ToolName, ToolOutcome, type ToolPath, ToolPlatform, ToolResultsFile, type ToolState, type ToolStatus, ToolTransport, ToolsServiceProgress, ToolsWebSearchParams, VERSIONED_RESULT_OPS, VaultFieldSummary, VaultItemKind, VaultItemSummary, WEB_MAX_TEXT_CHARS, WebBrowserFetchParams, WebBrowserFetchResult, WebFetchParams, WebFetchResult, WebHeader, WebScrapePage, WebScrapeParams, WebScrapeResult, WebSearchHit, WebSearchParams, WebSearchQueryResult, WebSearchResult, WindowFocusParams, WindowFocusResult, WindowInfo, WindowListParams, WindowListResult, WindowMinimizeParams, WindowMinimizeResult, WindowMoveParams, WindowMoveResult, announcedVersion, buildToolStatus, builtOps, compareVersions, epochMs, forPeer, knows, negotiate, nonNegInt, renderToolStatusMarkdown, statusForPeer, u32, versionSubprotocol };
|
|
5510
|
+
export { AbsPath, AccountAgent, AccountAgentsListParams, AccountAgentsListResult, AccountReadState, AccountReset, AccountRowId, AccountUsage, AccountVaultCopyParams, AccountVaultCopyResult, AccountVaultListParams, AccountVaultListResult, AppFeatureStatus, AppInfo, AppKey, AppProfile, AppProfileId, AppProfileLocator, AppSupport, AppUsageReading, AppWindowInfo, AppsAccountsResetsParams, AppsAccountsResetsResult, AppsAccountsUsageParams, AppsAccountsUsageResult, AppsChatsChangedEvent, AppsChatsColdParams, AppsChatsColdResult, AppsChatsListParams, AppsChatsListResult, AppsChatsOpenParams, AppsChatsPlaceParams, AppsChatsPlaceResult, AppsChatsStarParams, AppsChatsStarResult, AppsChatsWatchParams, AppsChatsWatchResult, AppsChatsWatchStateEvent, AppsListParams, AppsListResult, AppsOpenParams, AppsOpenResult, AppsProfilesListParams, AppsProfilesListResult, AppsProfilesRemoveParams, AppsProfilesRemoveResult, AppsProfilesSaveParams, AppsProfilesSaveResult, AppsProjectsCopyParams, AppsProjectsCopyResult, AppsProjectsCreateParams, AppsProjectsCreateResult, AppsProjectsFileManyParams, AppsProjectsFileManyResult, AppsProjectsFileParams, AppsProjectsFileResult, AppsProjectsImportPinsParams, AppsProjectsImportPinsResult, AppsProjectsMoveParams, AppsProjectsMoveResult, AppsProjectsToWindowParams, AppsProjectsToWindowResult, AppsProjectsUnfileParams, AppsProjectsUnfileResult, AppsProjectsUpdateParams, AppsProjectsUpdateResult, AppsSpendParams, AppsSpendResult, AppsSyncRunParams, AppsSyncStatusParams, AppsSyncStatusResult, AppsWindowActionResult, AppsWindowsAddParams, AppsWindowsListParams, AppsWindowsListResult, AppsWindowsOpenParams, AppsWindowsProcessesParams, AppsWindowsProcessesResult, AppsWindowsRefreshUsageParams, AppsWindowsReloadParams, AppsWindowsReopenParams, AppsWindowsReopenResult, AppsWindowsRestartParams, AppsWindowsSaveNamesParams, AppsWindowsShownParams, AppsWindowsShownResult, AppsWindowsUpdateAndReopenParams, AppsWindowsUpdateAndReopenResult, AppsWindowsUpdateStateParams, AppsWindowsUpdateStateResult, AudioDevice, AudioDevicesParams, AudioDevicesResult, AudioLevelsParams, AudioLevelsResult, AudioPlayParams, AudioPlayResult, AudioRecordParams, AudioRecordResult, AudioSetLevelsParams, 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, GIT_MAX_OUTPUT_CHARS, GitAddParams, GitBranchParams, GitBranchResult, GitCloneParams, GitCommitParams, GitCommitResult, GitDiffParams, GitDiffResult, GitLogCommit, GitLogParams, GitLogResult, GitOutputResult, GitPullParams, GitPushParams, GitStashParams, GitStatusFile, GitStatusParams, GitStatusResult, InputHotkeyParams, InputHotkeyResult, InputKey, InputKeyboardSettingsParams, InputKeyboardSettingsResult, InputMouseClickParams, InputMouseClickResult, InputMouseMoveParams, InputMouseMoveResult, InputPoint, InputSetKeyboardSettingsParams, InputTypeTextParams, InputTypeTextResult, LEGACY_ACTIONS, LEGACY_DISPATCHERS, type LegacyDisposition, NULL_SINCE, OpName, OsPermissionName, PROTOCOL_MAJOR, PROTOCOL_MINOR, PROTOCOL_VERSION, PowerEnergy, PowerHistoryParams, PowerHistoryPoint, PowerHistoryResult, PowerPreventSleepParams, PowerPreventSleepResult, PowerStatusParams, PowerStatusResult, ProcInfo, ProcKillParams, ProcKillResult, ProcListParams, ProcListResult, ProcPort, ProcPortsParams, ProcPortsResult, ProcSort, ProjectMoveChat, ProjectMoveGroup, ProjectMoveSkip, ProtocolVersion, PtyInfo, REASONS_SINCE, RELAY_CALL_HELLO_ID, RELAY_CALL_REQUEST_ID, RELAY_CALL_VERSION_HEADER, RelayAuthExpiringEvent, RelayCallEnvelope, RelayCallHello, RelayCallRequest, RelayCallResponse, RelayDeviceStatusEvent, RelayHopConnectionEnd, RelayHopEnvelopeHeader, RelayStatusResponse, RequestId, ResourceId, ResourceInfo, ResourcesActivityParams, ResourcesActivityResult, ResourcesDisk, ResourcesIncident, ResourcesIncidentsParams, ResourcesIncidentsResult, ResourcesJob, ResourcesJobKind, ResourcesPressure, ResourcesProcess, ResourcesSample, ResourcesSnapshotParams, ResourcesSnapshotResult, ResourcesStopJobParams, ResourcesStopJobResult, ResourcesStrain, ResourcesVerdict, SERVICE_MAX_FRAME_BYTES, ScreenCaptureParams, ScreenCaptureResult, ScreenDisplay, ScreenListParams, ScreenListResult, ServiceCancel, ServiceErrorMsg, ServiceHello, ServiceName, ServicePing, ServicePong, ServiceProgressMsg, ServiceRequest, ServiceResponse, ServiceShutdown, ServiceToCoreMsg, ServiceToken, ServiceWelcome, SessionAttachParams, SessionAttachResult, SessionControlChangedEvent, SessionDetachParams, SessionDetachResult, SessionListParams, SessionListResult, SessionReleaseParams, SessionReleaseResult, ShownSection, Signal, SpendAccount, SpendChat, SpendDay, SpendHelper, SpendIdle, SpendIdleScope, SpendLive, SpendModel, SpendScopes, SpendSplit, SpendStart, StackErrorsParams, StackErrorsResult, StackEvent, StackLogsParams, StackLogsResult, StackRunResult, StackServer, StackServerActionParams, StackServerActionResult, StackServerName, StackStartParams, StackStateParams, StackStateResult, StackStopParams, StackTone, type StatusCell, type StatusEvidence, type StatusRow, SysinfoGetParams, SysinfoGetResult, SysinfoHardwareParams, SysinfoHardwareResult, SystemNotifyParams, SystemNotifyResult, SystemOpenPathParams, SystemOpenPathResult, SystemOpenSettingsParams, SystemOpenSettingsResult, SystemOpenUrlParams, SystemOpenUrlResult, SystemSettingsPane, TOOL_CATALOG, TOOL_GROUPS, TOOL_LEVELS, TOOL_PLATFORMS, type ToolGroup, type ToolGroupId, ToolLevel, ToolLevelResult, ToolName, ToolOutcome, type ToolPath, ToolPlatform, ToolResultsFile, type ToolState, type ToolStatus, ToolTransport, ToolsServiceProgress, ToolsWebSearchParams, VERSIONED_RESULT_OPS, VaultFieldSummary, VaultItemKind, VaultItemSummary, WEB_MAX_TEXT_CHARS, WebBrowserFetchParams, WebBrowserFetchResult, WebFetchParams, WebFetchResult, WebHeader, WebScrapePage, WebScrapeParams, WebScrapeResult, WebSearchHit, WebSearchParams, WebSearchQueryResult, WebSearchResult, WindowFocusParams, WindowFocusResult, WindowInfo, WindowListParams, WindowListResult, WindowMinimizeParams, WindowMinimizeResult, WindowMoveParams, WindowMoveResult, announcedVersion, buildToolStatus, builtOps, compareVersions, epochMs, forPeer, knows, negotiate, nonNegInt, renderToolStatusMarkdown, statusForPeer, u32, versionSubprotocol };
|
package/dist/index.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import { z } from "zod";
|
|
3
3
|
import { UUID_SHAPE_PATTERN } from "@ai-matrx/kit/uuid";
|
|
4
4
|
var PROTOCOL_MAJOR = 1;
|
|
5
|
-
var PROTOCOL_MINOR =
|
|
5
|
+
var PROTOCOL_MINOR = 26;
|
|
6
6
|
var PROTOCOL_VERSION = `${PROTOCOL_MAJOR}.${PROTOCOL_MINOR}`;
|
|
7
7
|
var ProtocolVersion = z.string().regex(/^[1-9][0-9]{0,2}\.[0-9]{1,3}$/);
|
|
8
8
|
var RequestId = z.string().min(1).max(64).regex(/^[A-Za-z0-9_-]+$/);
|
|
@@ -1200,7 +1200,13 @@ var AccountUsage = z14.strictObject({
|
|
|
1200
1200
|
/** 1.13: the account's plan as the app names it (Codex: "pro", "prolite"), when recorded. */
|
|
1201
1201
|
plan: z14.string().max(80).optional(),
|
|
1202
1202
|
/** 1.13: the account's credit balance as the app records it (Codex), when recorded. */
|
|
1203
|
-
credits: z14.string().max(40).optional()
|
|
1203
|
+
credits: z14.string().max(40).optional(),
|
|
1204
|
+
/**
|
|
1205
|
+
* 1.25: the latest the account's 5-hour window can reset: 5 hours after the first reading of this
|
|
1206
|
+
* window's use (its usage history), so the real reset is at or before it. Absent when no 5-hour
|
|
1207
|
+
* window is running (no use in the last reading, or the reading is over 5 hours old).
|
|
1208
|
+
*/
|
|
1209
|
+
five_hour_resets_by_ms: epochMs.optional()
|
|
1204
1210
|
});
|
|
1205
1211
|
var AccountReset = z14.strictObject({
|
|
1206
1212
|
window: ChatPlace,
|
|
@@ -1399,6 +1405,29 @@ var AppsWindowsProcessesParams = z14.strictObject({ app_key: AppKey });
|
|
|
1399
1405
|
var AppsWindowsProcessesResult = z14.strictObject({ processes: z14.array(z14.string().max(2e3)).max(2e3) });
|
|
1400
1406
|
var AppsWindowsAddParams = z14.strictObject({ app_key: AppKey, window: ChatPlace, email: z14.string().min(3).max(320) });
|
|
1401
1407
|
var AppsWindowsSaveNamesParams = z14.strictObject({ app_key: AppKey });
|
|
1408
|
+
var AppsWindowsUpdateStateParams = z14.strictObject({ app_key: AppKey });
|
|
1409
|
+
var AppsWindowsUpdateStateResult = z14.strictObject({
|
|
1410
|
+
app_key: AppKey,
|
|
1411
|
+
pending: z14.boolean(),
|
|
1412
|
+
/** The downloaded release's name (Claude: "Claude 2.31226.1"), when the app's log names it. */
|
|
1413
|
+
version: z14.string().max(120).nullable(),
|
|
1414
|
+
/** When the update became pending (the download's time), when known. */
|
|
1415
|
+
since_ms: epochMs.nullable(),
|
|
1416
|
+
/** Windows open when the update became pending (or last seen open) that are closed now. */
|
|
1417
|
+
closed: z14.array(ChatPlace).max(200)
|
|
1418
|
+
});
|
|
1419
|
+
var AppsWindowsReopenParams = z14.strictObject({ app_key: AppKey, windows: z14.array(ChatPlace).min(1).max(200) });
|
|
1420
|
+
var AppsWindowsReopenResult = z14.strictObject({ message: z14.string().max(400), opened: z14.array(ChatPlace).max(200) });
|
|
1421
|
+
var AppsWindowsUpdateAndReopenParams = z14.strictObject({ app_key: AppKey, force: z14.boolean().default(false), dry_run: z14.boolean().default(false) });
|
|
1422
|
+
var AppsWindowsUpdateAndReopenResult = z14.strictObject({
|
|
1423
|
+
message: z14.string().max(400),
|
|
1424
|
+
/** Windows quit (with dry_run: to be quit). */
|
|
1425
|
+
quit: z14.array(ChatPlace).max(200),
|
|
1426
|
+
/** Windows reopened (with dry_run: to be reopened), main first. */
|
|
1427
|
+
reopened: z14.array(ChatPlace).max(200),
|
|
1428
|
+
/** The version installed, null when the install did not happen (or dry_run). */
|
|
1429
|
+
installed_version: z14.string().max(64).nullable()
|
|
1430
|
+
});
|
|
1402
1431
|
|
|
1403
1432
|
// src/schema/service.ts
|
|
1404
1433
|
import { z as z15 } from "zod";
|
|
@@ -2629,7 +2658,11 @@ var OPS = {
|
|
|
2629
2658
|
// 1.23: the signed-in person's own agents and Vault, read as them (the desktop's Agents library and Vault).
|
|
2630
2659
|
"account.agents.list": { params: AccountAgentsListParams, result: AccountAgentsListResult, kind: "unary", since: "1.23", errors: ["INTERNAL"] },
|
|
2631
2660
|
"account.vault.list": { params: AccountVaultListParams, result: AccountVaultListResult, kind: "unary", since: "1.23", errors: ["INTERNAL"] },
|
|
2632
|
-
"account.vault.copy": { params: AccountVaultCopyParams, result: AccountVaultCopyResult, kind: "unary", since: "1.23", errors: ["AUTH_REQUIRED", "AUTH_FORBIDDEN", "NOT_FOUND", "INVALID_PARAMS", "DEVICE_OFFLINE", "INTERNAL"] }
|
|
2661
|
+
"account.vault.copy": { params: AccountVaultCopyParams, result: AccountVaultCopyResult, kind: "unary", since: "1.23", errors: ["AUTH_REQUIRED", "AUTH_FORBIDDEN", "NOT_FOUND", "INVALID_PARAMS", "DEVICE_OFFLINE", "INTERNAL"] },
|
|
2662
|
+
// 1.26: the app's own update (it installs only once every window quit) and bringing the windows back.
|
|
2663
|
+
"apps.windows.update_state": { params: AppsWindowsUpdateStateParams, result: AppsWindowsUpdateStateResult, kind: "unary", since: "1.26", errors: ["NOT_FOUND", "PLATFORM_UNSUPPORTED", "INTERNAL"] },
|
|
2664
|
+
"apps.windows.reopen": { params: AppsWindowsReopenParams, result: AppsWindowsReopenResult, kind: "unary", since: "1.26", errors: ["NOT_FOUND", "PLATFORM_UNSUPPORTED", "INTERNAL"] },
|
|
2665
|
+
"apps.windows.update_and_reopen": { params: AppsWindowsUpdateAndReopenParams, result: AppsWindowsUpdateAndReopenResult, kind: "unary", since: "1.26", errors: ["NOT_FOUND", "CONFLICT", "TIMEOUT", "PLATFORM_UNSUPPORTED", "INTERNAL"] }
|
|
2633
2666
|
};
|
|
2634
2667
|
var EVENTS = {
|
|
2635
2668
|
"fs.changed": FsChangedEvent,
|
|
@@ -3090,7 +3123,13 @@ var NAMED_SCHEMAS = {
|
|
|
3090
3123
|
AccountVaultListParams,
|
|
3091
3124
|
AccountVaultListResult,
|
|
3092
3125
|
AccountVaultCopyParams,
|
|
3093
|
-
AccountVaultCopyResult
|
|
3126
|
+
AccountVaultCopyResult,
|
|
3127
|
+
AppsWindowsUpdateStateParams,
|
|
3128
|
+
AppsWindowsUpdateStateResult,
|
|
3129
|
+
AppsWindowsReopenParams,
|
|
3130
|
+
AppsWindowsReopenResult,
|
|
3131
|
+
AppsWindowsUpdateAndReopenParams,
|
|
3132
|
+
AppsWindowsUpdateAndReopenResult
|
|
3094
3133
|
};
|
|
3095
3134
|
|
|
3096
3135
|
// src/versioning.ts
|
|
@@ -3104,7 +3143,7 @@ var FIELDS_SINCE = {
|
|
|
3104
3143
|
AppsAccountsUsageResult: { problem: "1.12" },
|
|
3105
3144
|
AppsAccountsResetsResult: { problem: "1.12" },
|
|
3106
3145
|
ChatRow: { app_project: "1.13", tokens: "1.13", original_title: "1.14", title_source: "1.14", title_override: "1.14", archived: "1.15" },
|
|
3107
|
-
AccountUsage: { plan: "1.13", credits: "1.13" },
|
|
3146
|
+
AccountUsage: { plan: "1.13", credits: "1.13", five_hour_resets_by_ms: "1.25" },
|
|
3108
3147
|
ResourcesDisk: { name: "1.17" },
|
|
3109
3148
|
StackServer: { cpu_percent: "1.18", memory_bytes: "1.18" },
|
|
3110
3149
|
AudioDevice: { kind: "1.24" },
|
|
@@ -3240,7 +3279,7 @@ function forPeer(op, part, value, version) {
|
|
|
3240
3279
|
var VERSIONED_RESULT_OPS = [.../* @__PURE__ */ new Set([...RESULT_PATH.keys(), ...WINDOW_RESULTS.keys(), ...NESTED_RESULTS.keys()])];
|
|
3241
3280
|
|
|
3242
3281
|
// src/contract.ts
|
|
3243
|
-
var CONTRACT_SHA256 = "
|
|
3282
|
+
var CONTRACT_SHA256 = "42d314c6051a4dde86faa4b606bb9b8dcc7b2638d8b0cfb25852e8924920f44b";
|
|
3244
3283
|
|
|
3245
3284
|
// src/close-policy.ts
|
|
3246
3285
|
var CLOSE_RULES = {
|
|
@@ -3663,10 +3702,16 @@ export {
|
|
|
3663
3702
|
AppsWindowsProcessesResult,
|
|
3664
3703
|
AppsWindowsRefreshUsageParams,
|
|
3665
3704
|
AppsWindowsReloadParams,
|
|
3705
|
+
AppsWindowsReopenParams,
|
|
3706
|
+
AppsWindowsReopenResult,
|
|
3666
3707
|
AppsWindowsRestartParams,
|
|
3667
3708
|
AppsWindowsSaveNamesParams,
|
|
3668
3709
|
AppsWindowsShownParams,
|
|
3669
3710
|
AppsWindowsShownResult,
|
|
3711
|
+
AppsWindowsUpdateAndReopenParams,
|
|
3712
|
+
AppsWindowsUpdateAndReopenResult,
|
|
3713
|
+
AppsWindowsUpdateStateParams,
|
|
3714
|
+
AppsWindowsUpdateStateResult,
|
|
3670
3715
|
AudioDevice,
|
|
3671
3716
|
AudioDevicesParams,
|
|
3672
3717
|
AudioDevicesResult,
|