@ai-matrx/desktop-protocol 0.21.57 → 0.21.59
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 +19 -1
- package/dist/chunk-server-4RNDE5ZL.js +6669 -0
- package/dist/chunk-server-4RNDE5ZL.js.map +1 -0
- package/dist/chunk-server-OVLU5III.js +144 -0
- package/dist/chunk-server-OVLU5III.js.map +1 -0
- package/dist/client.cjs +7 -7
- package/dist/client.cjs.map +1 -1
- package/dist/client.d.cts +4 -4
- package/dist/client.d.ts +4 -4
- package/dist/client.js +24 -4783
- package/dist/client.js.map +1 -1
- package/dist/frame.js +16 -121
- package/dist/frame.js.map +1 -1
- package/dist/index.cjs +7 -7
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +6 -6
- package/dist/index.d.ts +6 -6
- package/dist/index.js +819 -5895
- package/dist/index.js.map +1 -1
- package/dist/{models-DbIm7Isi.d.cts → models-pTklrHwM.d.cts} +1 -1
- package/dist/{models-DbIm7Isi.d.ts → models-pTklrHwM.d.ts} +1 -1
- package/dist/react.cjs.map +1 -1
- package/dist/react.d.cts +1 -1
- package/dist/react.d.ts +1 -1
- package/dist/react.js.map +1 -1
- package/package.json +3 -3
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 CatalogFile, k as CatalogModelEntry, l as ClientToCoreMsg, e as ClientType, m as CloseAction, n as CloseCode, o as CloseCodeValue, C as CloseOutcome, p as CloseRule, q as CoreToClientMsg, r as CreditMsg, D as DesktopProtocolError, s as DownloadKind, t as DownloadRow, d as EVENTS, u as EndMsg, E as EndReason, v as ErrorCode, w as ErrorCodeName, x as ErrorData, y as ErrorMsg, z as ErrorReason, A as ErrorReasonName, F as EventMsg, G as EventName, H as FsPatchEditFailure, I as HelloMsg, L as Limits, J as LlamaServerBuild, K as LlmRunning, N as LlmServerState, P as MlCatalogSetParams, Q as MlCatalogSetResult, R as MlInstallPhase, U as MlInstallProgress, f as MlProgress, V as MlRuntimeState, X as MlServiceState, Y as MlServiceStatus, Z as MlStatusParams, _ as MlStatusResult, $ as ModelKey, a0 as ModelsDownloadsCancelParams, a1 as ModelsDownloadsCancelResult, a2 as ModelsDownloadsListParams, a3 as ModelsDownloadsListResult, a4 as ModelsInstallParams, a5 as ModelsInstallResult, a6 as ModelsLlmInstallParams, a7 as ModelsLlmInstallResult, a8 as ModelsLlmStartParams, a9 as ModelsLlmStartResult, aa as ModelsLlmStatusParams, ab as ModelsLlmStatusResult, ac as ModelsLlmStopParams, ad as ModelsLlmStopResult, ae as ModelsProgressEvent, af as ModelsStatusParams, ag as ModelsStatusResult, ah as ModelsTranscribeParams, M as ModelsTranscribeResult, ai as NAMED_SCHEMAS, aj as NamedSchemaId, c as OPS, ak as OpDescriptor, a as OpParams, b as OpResult, al as OpSpec, am as PING_TEXT, an as PONG_TEXT, ao as ProtocolErrorBody, ap as RelayMsg, aq as RequestMsg, ar as ResponseMsg, as as SERVICES, at as SUBPROTOCOL, au as ServiceId, av as ServiceOpName, aw as ServiceOpSpec, ax as ServiceSpec, ay as Sha256Hex, S as StreamMeta, az as StreamMsg, aA as TextModelId, aB as TextModelInfo, aC as TranscriptSegment, T as TranscriptionModelId, aD as TranscriptionModelInfo, W as Welcome, aE as closeRule, i as isDesktopProtocolError, aF as isTerminalClose } from './models-
|
|
2
|
+
import { O as OpName } from './models-pTklrHwM.cjs';
|
|
3
|
+
export { B as BEARER_PREFIX, g as CLOSE_RULES, h as CancelMsg, j as CatalogFile, k as CatalogModelEntry, l as ClientToCoreMsg, e as ClientType, m as CloseAction, n as CloseCode, o as CloseCodeValue, C as CloseOutcome, p as CloseRule, q as CoreToClientMsg, r as CreditMsg, D as DesktopProtocolError, s as DownloadKind, t as DownloadRow, d as EVENTS, u as EndMsg, E as EndReason, v as ErrorCode, w as ErrorCodeName, x as ErrorData, y as ErrorMsg, z as ErrorReason, A as ErrorReasonName, F as EventMsg, G as EventName, H as FsPatchEditFailure, I as HelloMsg, L as Limits, J as LlamaServerBuild, K as LlmRunning, N as LlmServerState, P as MlCatalogSetParams, Q as MlCatalogSetResult, R as MlInstallPhase, U as MlInstallProgress, f as MlProgress, V as MlRuntimeState, X as MlServiceState, Y as MlServiceStatus, Z as MlStatusParams, _ as MlStatusResult, $ as ModelKey, a0 as ModelsDownloadsCancelParams, a1 as ModelsDownloadsCancelResult, a2 as ModelsDownloadsListParams, a3 as ModelsDownloadsListResult, a4 as ModelsInstallParams, a5 as ModelsInstallResult, a6 as ModelsLlmInstallParams, a7 as ModelsLlmInstallResult, a8 as ModelsLlmStartParams, a9 as ModelsLlmStartResult, aa as ModelsLlmStatusParams, ab as ModelsLlmStatusResult, ac as ModelsLlmStopParams, ad as ModelsLlmStopResult, ae as ModelsProgressEvent, af as ModelsStatusParams, ag as ModelsStatusResult, ah as ModelsTranscribeParams, M as ModelsTranscribeResult, ai as NAMED_SCHEMAS, aj as NamedSchemaId, c as OPS, ak as OpDescriptor, a as OpParams, b as OpResult, al as OpSpec, am as PING_TEXT, an as PONG_TEXT, ao as ProtocolErrorBody, ap as RelayMsg, aq as RequestMsg, ar as ResponseMsg, as as SERVICES, at as SUBPROTOCOL, au as ServiceId, av as ServiceOpName, aw as ServiceOpSpec, ax as ServiceSpec, ay as Sha256Hex, S as StreamMeta, az as StreamMsg, aA as TextModelId, aB as TextModelInfo, aC as TranscriptSegment, T as TranscriptionModelId, aD as TranscriptionModelInfo, W as Welcome, aE as closeRule, i as isDesktopProtocolError, aF as isTerminalClose } from './models-pTklrHwM.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. */
|
|
@@ -657,7 +657,7 @@ declare const FsSearchIndexResult: z.ZodObject<{
|
|
|
657
657
|
type FsSearchIndexResult = z.output<typeof FsSearchIndexResult>;
|
|
658
658
|
/**
|
|
659
659
|
* Delete. Default goes to the OS Trash (Finder/Explorer semantics: undoable from the phone's
|
|
660
|
-
* "Undo" toast via fs.move back). to_trash:false is a permanent delete — the daemon's
|
|
660
|
+
* "Undo" toast via fs.move back). to_trash:false is a permanent delete — the daemon's behavior,
|
|
661
661
|
* used by agents through _sandbox_proxy.
|
|
662
662
|
*/
|
|
663
663
|
declare const FsDeleteParams: z.ZodObject<{
|
|
@@ -3806,7 +3806,7 @@ declare const AppsWindowsUpdateAndReopenResult: z.ZodObject<{
|
|
|
3806
3806
|
}, z.core.$strict>;
|
|
3807
3807
|
type AppsWindowsUpdateAndReopenResult = z.output<typeof AppsWindowsUpdateAndReopenResult>;
|
|
3808
3808
|
/**
|
|
3809
|
-
* 1.55: copy (or move) chats to another account with their
|
|
3809
|
+
* 1.55: copy (or move) chats to another account with their organization, in ONE engine pass
|
|
3810
3810
|
* (Arman, 2026-10-16). Each chat lands in the target's group of the same name it had in the origin
|
|
3811
3811
|
* (made when missing), a chat pinned in the origin is pinned there too, and a copy groups them in the
|
|
3812
3812
|
* origin as `source_group` ("Copied to <target>"). `restart`: "queued" writes what it can now and
|
|
@@ -7333,7 +7333,7 @@ type CodingHistoryImportMissingParams = z.output<typeof CodingHistoryImportMissi
|
|
|
7333
7333
|
*
|
|
7334
7334
|
* Not on the wire, by design (they act on the computer's own screen or its own sign-in): open a
|
|
7335
7335
|
* folder in an app, the screen's own preferences and drafts, retrying the apps' titles, and the
|
|
7336
|
-
* agent
|
|
7336
|
+
* agent catalog reads (a web client reads the catalog directly as the same person).
|
|
7337
7337
|
*/
|
|
7338
7338
|
|
|
7339
7339
|
declare const CodingHistoryResult: z.ZodObject<{
|
|
@@ -10766,7 +10766,7 @@ type WindowsFeaturesResult = z.output<typeof WindowsFeaturesResult>;
|
|
|
10766
10766
|
|
|
10767
10767
|
/**
|
|
10768
10768
|
* @ai-matrx/desktop-protocol — cap schedule (SPEC §10 desktop_schedule): one protocol op run on
|
|
10769
|
-
* this computer again and again, on an interval, until it is
|
|
10769
|
+
* this computer again and again, on an interval, until it is canceled or has run its count
|
|
10770
10770
|
* (Matrx Local's ScheduleTask, ListScheduled, CancelScheduled). The core's `schedule` owner keeps
|
|
10771
10771
|
* each task in its own device store, so tasks outlive a restart, and runs the op through the
|
|
10772
10772
|
* Router as the device's owner, exactly as the agent would have sent it. A task can never run a
|
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 CatalogFile, k as CatalogModelEntry, l as ClientToCoreMsg, e as ClientType, m as CloseAction, n as CloseCode, o as CloseCodeValue, C as CloseOutcome, p as CloseRule, q as CoreToClientMsg, r as CreditMsg, D as DesktopProtocolError, s as DownloadKind, t as DownloadRow, d as EVENTS, u as EndMsg, E as EndReason, v as ErrorCode, w as ErrorCodeName, x as ErrorData, y as ErrorMsg, z as ErrorReason, A as ErrorReasonName, F as EventMsg, G as EventName, H as FsPatchEditFailure, I as HelloMsg, L as Limits, J as LlamaServerBuild, K as LlmRunning, N as LlmServerState, P as MlCatalogSetParams, Q as MlCatalogSetResult, R as MlInstallPhase, U as MlInstallProgress, f as MlProgress, V as MlRuntimeState, X as MlServiceState, Y as MlServiceStatus, Z as MlStatusParams, _ as MlStatusResult, $ as ModelKey, a0 as ModelsDownloadsCancelParams, a1 as ModelsDownloadsCancelResult, a2 as ModelsDownloadsListParams, a3 as ModelsDownloadsListResult, a4 as ModelsInstallParams, a5 as ModelsInstallResult, a6 as ModelsLlmInstallParams, a7 as ModelsLlmInstallResult, a8 as ModelsLlmStartParams, a9 as ModelsLlmStartResult, aa as ModelsLlmStatusParams, ab as ModelsLlmStatusResult, ac as ModelsLlmStopParams, ad as ModelsLlmStopResult, ae as ModelsProgressEvent, af as ModelsStatusParams, ag as ModelsStatusResult, ah as ModelsTranscribeParams, M as ModelsTranscribeResult, ai as NAMED_SCHEMAS, aj as NamedSchemaId, c as OPS, ak as OpDescriptor, a as OpParams, b as OpResult, al as OpSpec, am as PING_TEXT, an as PONG_TEXT, ao as ProtocolErrorBody, ap as RelayMsg, aq as RequestMsg, ar as ResponseMsg, as as SERVICES, at as SUBPROTOCOL, au as ServiceId, av as ServiceOpName, aw as ServiceOpSpec, ax as ServiceSpec, ay as Sha256Hex, S as StreamMeta, az as StreamMsg, aA as TextModelId, aB as TextModelInfo, aC as TranscriptSegment, T as TranscriptionModelId, aD as TranscriptionModelInfo, W as Welcome, aE as closeRule, i as isDesktopProtocolError, aF as isTerminalClose } from './models-
|
|
2
|
+
import { O as OpName } from './models-pTklrHwM.js';
|
|
3
|
+
export { B as BEARER_PREFIX, g as CLOSE_RULES, h as CancelMsg, j as CatalogFile, k as CatalogModelEntry, l as ClientToCoreMsg, e as ClientType, m as CloseAction, n as CloseCode, o as CloseCodeValue, C as CloseOutcome, p as CloseRule, q as CoreToClientMsg, r as CreditMsg, D as DesktopProtocolError, s as DownloadKind, t as DownloadRow, d as EVENTS, u as EndMsg, E as EndReason, v as ErrorCode, w as ErrorCodeName, x as ErrorData, y as ErrorMsg, z as ErrorReason, A as ErrorReasonName, F as EventMsg, G as EventName, H as FsPatchEditFailure, I as HelloMsg, L as Limits, J as LlamaServerBuild, K as LlmRunning, N as LlmServerState, P as MlCatalogSetParams, Q as MlCatalogSetResult, R as MlInstallPhase, U as MlInstallProgress, f as MlProgress, V as MlRuntimeState, X as MlServiceState, Y as MlServiceStatus, Z as MlStatusParams, _ as MlStatusResult, $ as ModelKey, a0 as ModelsDownloadsCancelParams, a1 as ModelsDownloadsCancelResult, a2 as ModelsDownloadsListParams, a3 as ModelsDownloadsListResult, a4 as ModelsInstallParams, a5 as ModelsInstallResult, a6 as ModelsLlmInstallParams, a7 as ModelsLlmInstallResult, a8 as ModelsLlmStartParams, a9 as ModelsLlmStartResult, aa as ModelsLlmStatusParams, ab as ModelsLlmStatusResult, ac as ModelsLlmStopParams, ad as ModelsLlmStopResult, ae as ModelsProgressEvent, af as ModelsStatusParams, ag as ModelsStatusResult, ah as ModelsTranscribeParams, M as ModelsTranscribeResult, ai as NAMED_SCHEMAS, aj as NamedSchemaId, c as OPS, ak as OpDescriptor, a as OpParams, b as OpResult, al as OpSpec, am as PING_TEXT, an as PONG_TEXT, ao as ProtocolErrorBody, ap as RelayMsg, aq as RequestMsg, ar as ResponseMsg, as as SERVICES, at as SUBPROTOCOL, au as ServiceId, av as ServiceOpName, aw as ServiceOpSpec, ax as ServiceSpec, ay as Sha256Hex, S as StreamMeta, az as StreamMsg, aA as TextModelId, aB as TextModelInfo, aC as TranscriptSegment, T as TranscriptionModelId, aD as TranscriptionModelInfo, W as Welcome, aE as closeRule, i as isDesktopProtocolError, aF as isTerminalClose } from './models-pTklrHwM.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. */
|
|
@@ -657,7 +657,7 @@ declare const FsSearchIndexResult: z.ZodObject<{
|
|
|
657
657
|
type FsSearchIndexResult = z.output<typeof FsSearchIndexResult>;
|
|
658
658
|
/**
|
|
659
659
|
* Delete. Default goes to the OS Trash (Finder/Explorer semantics: undoable from the phone's
|
|
660
|
-
* "Undo" toast via fs.move back). to_trash:false is a permanent delete — the daemon's
|
|
660
|
+
* "Undo" toast via fs.move back). to_trash:false is a permanent delete — the daemon's behavior,
|
|
661
661
|
* used by agents through _sandbox_proxy.
|
|
662
662
|
*/
|
|
663
663
|
declare const FsDeleteParams: z.ZodObject<{
|
|
@@ -3806,7 +3806,7 @@ declare const AppsWindowsUpdateAndReopenResult: z.ZodObject<{
|
|
|
3806
3806
|
}, z.core.$strict>;
|
|
3807
3807
|
type AppsWindowsUpdateAndReopenResult = z.output<typeof AppsWindowsUpdateAndReopenResult>;
|
|
3808
3808
|
/**
|
|
3809
|
-
* 1.55: copy (or move) chats to another account with their
|
|
3809
|
+
* 1.55: copy (or move) chats to another account with their organization, in ONE engine pass
|
|
3810
3810
|
* (Arman, 2026-10-16). Each chat lands in the target's group of the same name it had in the origin
|
|
3811
3811
|
* (made when missing), a chat pinned in the origin is pinned there too, and a copy groups them in the
|
|
3812
3812
|
* origin as `source_group` ("Copied to <target>"). `restart`: "queued" writes what it can now and
|
|
@@ -7333,7 +7333,7 @@ type CodingHistoryImportMissingParams = z.output<typeof CodingHistoryImportMissi
|
|
|
7333
7333
|
*
|
|
7334
7334
|
* Not on the wire, by design (they act on the computer's own screen or its own sign-in): open a
|
|
7335
7335
|
* folder in an app, the screen's own preferences and drafts, retrying the apps' titles, and the
|
|
7336
|
-
* agent
|
|
7336
|
+
* agent catalog reads (a web client reads the catalog directly as the same person).
|
|
7337
7337
|
*/
|
|
7338
7338
|
|
|
7339
7339
|
declare const CodingHistoryResult: z.ZodObject<{
|
|
@@ -10766,7 +10766,7 @@ type WindowsFeaturesResult = z.output<typeof WindowsFeaturesResult>;
|
|
|
10766
10766
|
|
|
10767
10767
|
/**
|
|
10768
10768
|
* @ai-matrx/desktop-protocol — cap schedule (SPEC §10 desktop_schedule): one protocol op run on
|
|
10769
|
-
* this computer again and again, on an interval, until it is
|
|
10769
|
+
* this computer again and again, on an interval, until it is canceled or has run its count
|
|
10770
10770
|
* (Matrx Local's ScheduleTask, ListScheduled, CancelScheduled). The core's `schedule` owner keeps
|
|
10771
10771
|
* each task in its own device store, so tasks outlive a restart, and runs the op through the
|
|
10772
10772
|
* Router as the device's owner, exactly as the agent would have sent it. A task can never run a
|