@ai-matrx/desktop-protocol 0.21.93 → 0.21.94
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +14 -1
- package/dist/{chunk-server-HBZSBBGI.js → chunk-server-5MKSD7FQ.js} +3 -3
- package/dist/chunk-server-5MKSD7FQ.js.map +1 -0
- package/dist/{chunk-server-FJWACRBP.js → chunk-server-PXHL7V3H.js} +3 -3
- package/dist/{chunk-server-MCBYY6QK.js → chunk-server-Q7F4IE6F.js} +9 -5
- package/dist/chunk-server-Q7F4IE6F.js.map +1 -0
- package/dist/{chunk-server-7CEUIBDY.js → chunk-server-RWKOPRNC.js} +51 -6
- package/dist/chunk-server-RWKOPRNC.js.map +1 -0
- package/dist/client.cjs +50 -8
- 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 +3 -3
- package/dist/index.cjs +59 -10
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +30 -17
- package/dist/index.d.ts +30 -17
- package/dist/index.js +14 -4
- package/dist/index.js.map +1 -1
- package/dist/{models-BpWoHvNe.d.cts → models-D2apXuiZ.d.cts} +335 -24
- package/dist/{models-BpWoHvNe.d.ts → models-D2apXuiZ.d.ts} +335 -24
- package/dist/react.d.cts +56 -1
- package/dist/react.d.ts +56 -1
- package/generated/desktop-protocol.schema.json +209 -4
- package/package.json +2 -2
- package/dist/chunk-server-7CEUIBDY.js.map +0 -1
- package/dist/chunk-server-HBZSBBGI.js.map +0 -1
- package/dist/chunk-server-MCBYY6QK.js.map +0 -1
- /package/dist/{chunk-server-FJWACRBP.js.map → chunk-server-PXHL7V3H.js.map} +0 -0
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,
|
|
2
|
+
import { O as OpName } from './models-D2apXuiZ.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 EmbeddingVector, v as EndMsg, E as EndReason, w as ErrorCode, x as ErrorCodeName, y as ErrorData, z as ErrorMsg, A as ErrorReason, F as ErrorReasonName, G as EventMsg, H as EventName, I as FsPatchEditFailure, J as HelloMsg, L as Limits, K as LlamaServerBuild, N as LlmEmbeddingSlot, P as LlmRunning, Q as LlmServerState, R as LlmSlot, U as LocalModelKind, V as LocalModelRow, X as MlCatalogSetParams, Y as MlCatalogSetResult, Z as MlInstallPhase, _ as MlInstallProgress, f as MlProgress, $ as MlRuntimeState, a0 as MlServiceState, a1 as MlServiceStatus, a2 as MlStatusParams, a3 as MlStatusResult, a4 as ModelKey, a5 as ModelsDownloadsCancelParams, a6 as ModelsDownloadsCancelResult, a7 as ModelsDownloadsListParams, a8 as ModelsDownloadsListResult, a9 as ModelsEmbedParams, aa as ModelsEmbedResult, ab as ModelsInstallParams, ac as ModelsInstallResult, ad as ModelsLlmChatParams, ae as ModelsLlmChatResult, af as ModelsLlmInstallParams, ag as ModelsLlmInstallResult, ah as ModelsLlmStartParams, ai as ModelsLlmStartResult, aj as ModelsLlmStatusParams, ak as ModelsLlmStatusResult, al as ModelsLlmStopParams, am as ModelsLlmStopResult, an as ModelsLocalListParams, ao as ModelsLocalListResult, ap as ModelsLocalRemoveParams, aq as ModelsLocalRemoveResult, ar as ModelsProgressEvent, as as ModelsStatusParams, at as ModelsStatusResult, au as ModelsTranscribeParams, M as ModelsTranscribeResult, av as ModelsTtsInstallParams, aw as ModelsTtsInstallResult, ax as ModelsTtsSpeakParams, ay as ModelsTtsSpeakResult, az as ModelsTtsStatusParams, aA as ModelsTtsStatusResult, aB as ModelsTtsVoiceRemoveParams, aC as ModelsTtsVoiceRemoveResult, aD as ModelsTtsVoiceSaveParams, aE as ModelsTtsVoiceSaveResult, aF as NAMED_SCHEMAS, aG as NamedSchemaId, c as OPS, aH as OpDescriptor, a as OpParams, b as OpResult, aI as OpSpec, aJ as PING_TEXT, aK as PONG_TEXT, aL as ProtocolErrorBody, aM as RelayMsg, aN as RequestMsg, aO as ResponseMsg, aP as SERVICES, aQ as SUBPROTOCOL, aR as ServiceId, aS as ServiceOpName, aT as ServiceOpSpec, aU as ServiceSpec, aV as Sha256Hex, S as StreamMeta, aW as StreamMsg, aX as TextModelId, aY as TextModelInfo, aZ as TranscriptSegment, T as TranscriptionModelId, a_ as TranscriptionModelInfo, a$ as TtsAudioChunk, b0 as TtsBlendPart, b1 as TtsModelInfo, b2 as TtsVoice, b3 as TtsVoiceId, b4 as UnusableTextModel, W as Welcome, b5 as closeRule, i as isDesktopProtocolError, b6 as isTerminalClose } from './models-D2apXuiZ.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. */
|
|
@@ -250,10 +250,15 @@ declare const PROTOCOL_MAJOR: 1;
|
|
|
250
250
|
* service, internal to the core. No Router op changes.
|
|
251
251
|
* 1.87 — fs.search_semantic / fs.semantic_status / fs.semantic_configure: semantic find, files
|
|
252
252
|
* found by meaning from this computer's own index of the folders a person chooses. New ops only.
|
|
253
|
+
* 1.88 — the model service's embeddings slot: models.embed (unary: text in, OpenAI-shaped vectors
|
|
254
|
+
* out, from the embedding model llama-server runs with --embeddings beside the chat model);
|
|
255
|
+
* models.llm.start / stop `slot` ("chat" default, "embed"); models.llm.status `embedding`
|
|
256
|
+
* (the slot's state, models, running, starting, error); ml.catalog_set `embedding` (the
|
|
257
|
+
* embedding models for this computer). New op and optional fields only.
|
|
253
258
|
*/
|
|
254
|
-
declare const PROTOCOL_MINOR:
|
|
259
|
+
declare const PROTOCOL_MINOR: 88;
|
|
255
260
|
/** This package's version as the wire spells it ("major.minor"): hello, welcome, relay status. */
|
|
256
|
-
declare const PROTOCOL_VERSION: "1.
|
|
261
|
+
declare const PROTOCOL_VERSION: "1.88";
|
|
257
262
|
/** Internal building blocks — deliberately unnamed in $defs (inlined wherever used). */
|
|
258
263
|
declare const u32: z.ZodInt;
|
|
259
264
|
declare const nonNegInt: z.ZodInt;
|
|
@@ -1309,8 +1314,8 @@ type ExecCwdEvent = z.output<typeof ExecCwdEvent>;
|
|
|
1309
1314
|
declare const SessionAttachParams: z.ZodObject<{
|
|
1310
1315
|
resource_id: z.ZodString;
|
|
1311
1316
|
mode: z.ZodDefault<z.ZodEnum<{
|
|
1312
|
-
read_only: "read_only";
|
|
1313
1317
|
control: "control";
|
|
1318
|
+
read_only: "read_only";
|
|
1314
1319
|
}>>;
|
|
1315
1320
|
since_seq: z.ZodOptional<z.ZodInt>;
|
|
1316
1321
|
window_bytes: z.ZodOptional<z.ZodInt>;
|
|
@@ -1461,8 +1466,8 @@ type SessionListResult = z.output<typeof SessionListResult>;
|
|
|
1461
1466
|
declare const SessionControlChangedEvent: z.ZodObject<{
|
|
1462
1467
|
controller_client_id: z.ZodNullable<z.ZodString>;
|
|
1463
1468
|
your_mode: z.ZodEnum<{
|
|
1464
|
-
read_only: "read_only";
|
|
1465
1469
|
control: "control";
|
|
1470
|
+
read_only: "read_only";
|
|
1466
1471
|
}>;
|
|
1467
1472
|
}, z.core.$strict>;
|
|
1468
1473
|
type SessionControlChangedEvent = z.output<typeof SessionControlChangedEvent>;
|
|
@@ -3408,9 +3413,9 @@ declare const AccountReset: z.ZodObject<{
|
|
|
3408
3413
|
account: z.ZodNullable<z.ZodString>;
|
|
3409
3414
|
next_reset_ms: z.ZodNullable<z.ZodInt>;
|
|
3410
3415
|
source: z.ZodNullable<z.ZodEnum<{
|
|
3411
|
-
claude: "claude";
|
|
3412
3416
|
usage_history: "usage_history";
|
|
3413
3417
|
your_list: "your_list";
|
|
3418
|
+
claude: "claude";
|
|
3414
3419
|
}>>;
|
|
3415
3420
|
official: z.ZodBoolean;
|
|
3416
3421
|
note: z.ZodNullable<z.ZodString>;
|
|
@@ -3492,9 +3497,9 @@ declare const AppsAccountsResetsResult: z.ZodObject<{
|
|
|
3492
3497
|
account: z.ZodNullable<z.ZodString>;
|
|
3493
3498
|
next_reset_ms: z.ZodNullable<z.ZodInt>;
|
|
3494
3499
|
source: z.ZodNullable<z.ZodEnum<{
|
|
3495
|
-
claude: "claude";
|
|
3496
3500
|
usage_history: "usage_history";
|
|
3497
3501
|
your_list: "your_list";
|
|
3502
|
+
claude: "claude";
|
|
3498
3503
|
}>>;
|
|
3499
3504
|
official: z.ZodBoolean;
|
|
3500
3505
|
note: z.ZodNullable<z.ZodString>;
|
|
@@ -4981,8 +4986,8 @@ type AccountResetSource = z.output<typeof AccountResetSource>;
|
|
|
4981
4986
|
/** What an account record still lacks (filled in the next time an instance signed into it opens). */
|
|
4982
4987
|
declare const AccountGap: z.ZodEnum<{
|
|
4983
4988
|
usage: "usage";
|
|
4984
|
-
plan: "plan";
|
|
4985
4989
|
email: "email";
|
|
4990
|
+
plan: "plan";
|
|
4986
4991
|
}>;
|
|
4987
4992
|
type AccountGap = z.output<typeof AccountGap>;
|
|
4988
4993
|
/** One account at the app's provider: who it is, and its newest usage reading from any instance. */
|
|
@@ -5012,8 +5017,8 @@ declare const AppAccount: z.ZodObject<{
|
|
|
5012
5017
|
last_seen_ms: z.ZodNullable<z.ZodInt>;
|
|
5013
5018
|
missing: z.ZodArray<z.ZodEnum<{
|
|
5014
5019
|
usage: "usage";
|
|
5015
|
-
plan: "plan";
|
|
5016
5020
|
email: "email";
|
|
5021
|
+
plan: "plan";
|
|
5017
5022
|
}>>;
|
|
5018
5023
|
profile: z.ZodOptional<z.ZodObject<{
|
|
5019
5024
|
name: z.ZodNullable<z.ZodString>;
|
|
@@ -5176,8 +5181,8 @@ declare const AppsAccountsListResult: z.ZodObject<{
|
|
|
5176
5181
|
last_seen_ms: z.ZodNullable<z.ZodInt>;
|
|
5177
5182
|
missing: z.ZodArray<z.ZodEnum<{
|
|
5178
5183
|
usage: "usage";
|
|
5179
|
-
plan: "plan";
|
|
5180
5184
|
email: "email";
|
|
5185
|
+
plan: "plan";
|
|
5181
5186
|
}>>;
|
|
5182
5187
|
profile: z.ZodOptional<z.ZodObject<{
|
|
5183
5188
|
name: z.ZodNullable<z.ZodString>;
|
|
@@ -5697,8 +5702,8 @@ type ServiceShutdown = z.output<typeof ServiceShutdown>;
|
|
|
5697
5702
|
/** Tool names are the platform registry's (`tool.definition.name`): `fs_read`, `shell_execute`… */
|
|
5698
5703
|
declare const ToolName: z.ZodString;
|
|
5699
5704
|
declare const ToolLevel: z.ZodEnum<{
|
|
5700
|
-
protocol: "protocol";
|
|
5701
5705
|
chat: "chat";
|
|
5706
|
+
protocol: "protocol";
|
|
5702
5707
|
programmatic: "programmatic";
|
|
5703
5708
|
}>;
|
|
5704
5709
|
type ToolLevel = z.output<typeof ToolLevel>;
|
|
@@ -5729,8 +5734,8 @@ type ToolTransport = z.output<typeof ToolTransport>;
|
|
|
5729
5734
|
declare const ToolLevelResult: z.ZodObject<{
|
|
5730
5735
|
tool: z.ZodString;
|
|
5731
5736
|
level: z.ZodEnum<{
|
|
5732
|
-
protocol: "protocol";
|
|
5733
5737
|
chat: "chat";
|
|
5738
|
+
protocol: "protocol";
|
|
5734
5739
|
programmatic: "programmatic";
|
|
5735
5740
|
}>;
|
|
5736
5741
|
platform: z.ZodEnum<{
|
|
@@ -5763,8 +5768,8 @@ declare const ToolResultsFile: z.ZodObject<{
|
|
|
5763
5768
|
results: z.ZodArray<z.ZodObject<{
|
|
5764
5769
|
tool: z.ZodString;
|
|
5765
5770
|
level: z.ZodEnum<{
|
|
5766
|
-
protocol: "protocol";
|
|
5767
5771
|
chat: "chat";
|
|
5772
|
+
protocol: "protocol";
|
|
5768
5773
|
programmatic: "programmatic";
|
|
5769
5774
|
}>;
|
|
5770
5775
|
platform: z.ZodEnum<{
|
|
@@ -10531,8 +10536,8 @@ declare const CodingSearchResult: z.ZodObject<{
|
|
|
10531
10536
|
cwd: z.ZodNullable<z.ZodString>;
|
|
10532
10537
|
updatedAt: z.ZodString;
|
|
10533
10538
|
where: z.ZodEnum<{
|
|
10534
|
-
content: "content";
|
|
10535
10539
|
title: "title";
|
|
10540
|
+
content: "content";
|
|
10536
10541
|
}>;
|
|
10537
10542
|
snippet: z.ZodNullable<z.ZodString>;
|
|
10538
10543
|
accountId: z.ZodOptional<z.ZodString>;
|
|
@@ -10935,8 +10940,8 @@ declare const CodingSearchHit: z.ZodObject<{
|
|
|
10935
10940
|
cwd: z.ZodNullable<z.ZodString>;
|
|
10936
10941
|
updatedAt: z.ZodString;
|
|
10937
10942
|
where: z.ZodEnum<{
|
|
10938
|
-
content: "content";
|
|
10939
10943
|
title: "title";
|
|
10944
|
+
content: "content";
|
|
10940
10945
|
}>;
|
|
10941
10946
|
snippet: z.ZodNullable<z.ZodString>;
|
|
10942
10947
|
accountId: z.ZodOptional<z.ZodString>;
|
|
@@ -13882,6 +13887,13 @@ declare const FIELDS_SINCE: {
|
|
|
13882
13887
|
readonly MlCatalogSetParams: {
|
|
13883
13888
|
readonly unusable: "1.69";
|
|
13884
13889
|
readonly speech: "1.81";
|
|
13890
|
+
readonly embedding: "1.88";
|
|
13891
|
+
};
|
|
13892
|
+
readonly ModelsLlmStatusResult: {
|
|
13893
|
+
readonly embedding: "1.88";
|
|
13894
|
+
};
|
|
13895
|
+
readonly ModelsLlmStopParams: {
|
|
13896
|
+
readonly slot: "1.88";
|
|
13885
13897
|
};
|
|
13886
13898
|
readonly MlProgress: {
|
|
13887
13899
|
readonly audio: "1.81";
|
|
@@ -13890,6 +13902,7 @@ declare const FIELDS_SINCE: {
|
|
|
13890
13902
|
readonly gpu_layers: "1.48";
|
|
13891
13903
|
readonly threads: "1.48";
|
|
13892
13904
|
readonly load_timeout_s: "1.48";
|
|
13905
|
+
readonly slot: "1.88";
|
|
13893
13906
|
};
|
|
13894
13907
|
readonly FsPatchResult: {
|
|
13895
13908
|
readonly edits_applied: "1.1";
|
|
@@ -14258,7 +14271,7 @@ declare function forPeer(op: OpName | null, part: "error", value: unknown, versi
|
|
|
14258
14271
|
declare const VERSIONED_RESULT_OPS: readonly OpName[];
|
|
14259
14272
|
|
|
14260
14273
|
/** SHA-256 of generated/desktop-protocol.schema.json: the contract both sides of a service connection were built from. */
|
|
14261
|
-
declare const CONTRACT_SHA256: "
|
|
14274
|
+
declare const CONTRACT_SHA256: "24650f34e966ce74c997fefcc7e6474b71fb9737ea81e81bfd1513a5e5018768";
|
|
14262
14275
|
|
|
14263
14276
|
/**
|
|
14264
14277
|
* The local tool catalog (SPEC §10): every tool a platform agent calls on a person's computer, the
|
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,
|
|
2
|
+
import { O as OpName } from './models-D2apXuiZ.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 EmbeddingVector, v as EndMsg, E as EndReason, w as ErrorCode, x as ErrorCodeName, y as ErrorData, z as ErrorMsg, A as ErrorReason, F as ErrorReasonName, G as EventMsg, H as EventName, I as FsPatchEditFailure, J as HelloMsg, L as Limits, K as LlamaServerBuild, N as LlmEmbeddingSlot, P as LlmRunning, Q as LlmServerState, R as LlmSlot, U as LocalModelKind, V as LocalModelRow, X as MlCatalogSetParams, Y as MlCatalogSetResult, Z as MlInstallPhase, _ as MlInstallProgress, f as MlProgress, $ as MlRuntimeState, a0 as MlServiceState, a1 as MlServiceStatus, a2 as MlStatusParams, a3 as MlStatusResult, a4 as ModelKey, a5 as ModelsDownloadsCancelParams, a6 as ModelsDownloadsCancelResult, a7 as ModelsDownloadsListParams, a8 as ModelsDownloadsListResult, a9 as ModelsEmbedParams, aa as ModelsEmbedResult, ab as ModelsInstallParams, ac as ModelsInstallResult, ad as ModelsLlmChatParams, ae as ModelsLlmChatResult, af as ModelsLlmInstallParams, ag as ModelsLlmInstallResult, ah as ModelsLlmStartParams, ai as ModelsLlmStartResult, aj as ModelsLlmStatusParams, ak as ModelsLlmStatusResult, al as ModelsLlmStopParams, am as ModelsLlmStopResult, an as ModelsLocalListParams, ao as ModelsLocalListResult, ap as ModelsLocalRemoveParams, aq as ModelsLocalRemoveResult, ar as ModelsProgressEvent, as as ModelsStatusParams, at as ModelsStatusResult, au as ModelsTranscribeParams, M as ModelsTranscribeResult, av as ModelsTtsInstallParams, aw as ModelsTtsInstallResult, ax as ModelsTtsSpeakParams, ay as ModelsTtsSpeakResult, az as ModelsTtsStatusParams, aA as ModelsTtsStatusResult, aB as ModelsTtsVoiceRemoveParams, aC as ModelsTtsVoiceRemoveResult, aD as ModelsTtsVoiceSaveParams, aE as ModelsTtsVoiceSaveResult, aF as NAMED_SCHEMAS, aG as NamedSchemaId, c as OPS, aH as OpDescriptor, a as OpParams, b as OpResult, aI as OpSpec, aJ as PING_TEXT, aK as PONG_TEXT, aL as ProtocolErrorBody, aM as RelayMsg, aN as RequestMsg, aO as ResponseMsg, aP as SERVICES, aQ as SUBPROTOCOL, aR as ServiceId, aS as ServiceOpName, aT as ServiceOpSpec, aU as ServiceSpec, aV as Sha256Hex, S as StreamMeta, aW as StreamMsg, aX as TextModelId, aY as TextModelInfo, aZ as TranscriptSegment, T as TranscriptionModelId, a_ as TranscriptionModelInfo, a$ as TtsAudioChunk, b0 as TtsBlendPart, b1 as TtsModelInfo, b2 as TtsVoice, b3 as TtsVoiceId, b4 as UnusableTextModel, W as Welcome, b5 as closeRule, i as isDesktopProtocolError, b6 as isTerminalClose } from './models-D2apXuiZ.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. */
|
|
@@ -250,10 +250,15 @@ declare const PROTOCOL_MAJOR: 1;
|
|
|
250
250
|
* service, internal to the core. No Router op changes.
|
|
251
251
|
* 1.87 — fs.search_semantic / fs.semantic_status / fs.semantic_configure: semantic find, files
|
|
252
252
|
* found by meaning from this computer's own index of the folders a person chooses. New ops only.
|
|
253
|
+
* 1.88 — the model service's embeddings slot: models.embed (unary: text in, OpenAI-shaped vectors
|
|
254
|
+
* out, from the embedding model llama-server runs with --embeddings beside the chat model);
|
|
255
|
+
* models.llm.start / stop `slot` ("chat" default, "embed"); models.llm.status `embedding`
|
|
256
|
+
* (the slot's state, models, running, starting, error); ml.catalog_set `embedding` (the
|
|
257
|
+
* embedding models for this computer). New op and optional fields only.
|
|
253
258
|
*/
|
|
254
|
-
declare const PROTOCOL_MINOR:
|
|
259
|
+
declare const PROTOCOL_MINOR: 88;
|
|
255
260
|
/** This package's version as the wire spells it ("major.minor"): hello, welcome, relay status. */
|
|
256
|
-
declare const PROTOCOL_VERSION: "1.
|
|
261
|
+
declare const PROTOCOL_VERSION: "1.88";
|
|
257
262
|
/** Internal building blocks — deliberately unnamed in $defs (inlined wherever used). */
|
|
258
263
|
declare const u32: z.ZodInt;
|
|
259
264
|
declare const nonNegInt: z.ZodInt;
|
|
@@ -1309,8 +1314,8 @@ type ExecCwdEvent = z.output<typeof ExecCwdEvent>;
|
|
|
1309
1314
|
declare const SessionAttachParams: z.ZodObject<{
|
|
1310
1315
|
resource_id: z.ZodString;
|
|
1311
1316
|
mode: z.ZodDefault<z.ZodEnum<{
|
|
1312
|
-
read_only: "read_only";
|
|
1313
1317
|
control: "control";
|
|
1318
|
+
read_only: "read_only";
|
|
1314
1319
|
}>>;
|
|
1315
1320
|
since_seq: z.ZodOptional<z.ZodInt>;
|
|
1316
1321
|
window_bytes: z.ZodOptional<z.ZodInt>;
|
|
@@ -1461,8 +1466,8 @@ type SessionListResult = z.output<typeof SessionListResult>;
|
|
|
1461
1466
|
declare const SessionControlChangedEvent: z.ZodObject<{
|
|
1462
1467
|
controller_client_id: z.ZodNullable<z.ZodString>;
|
|
1463
1468
|
your_mode: z.ZodEnum<{
|
|
1464
|
-
read_only: "read_only";
|
|
1465
1469
|
control: "control";
|
|
1470
|
+
read_only: "read_only";
|
|
1466
1471
|
}>;
|
|
1467
1472
|
}, z.core.$strict>;
|
|
1468
1473
|
type SessionControlChangedEvent = z.output<typeof SessionControlChangedEvent>;
|
|
@@ -3408,9 +3413,9 @@ declare const AccountReset: z.ZodObject<{
|
|
|
3408
3413
|
account: z.ZodNullable<z.ZodString>;
|
|
3409
3414
|
next_reset_ms: z.ZodNullable<z.ZodInt>;
|
|
3410
3415
|
source: z.ZodNullable<z.ZodEnum<{
|
|
3411
|
-
claude: "claude";
|
|
3412
3416
|
usage_history: "usage_history";
|
|
3413
3417
|
your_list: "your_list";
|
|
3418
|
+
claude: "claude";
|
|
3414
3419
|
}>>;
|
|
3415
3420
|
official: z.ZodBoolean;
|
|
3416
3421
|
note: z.ZodNullable<z.ZodString>;
|
|
@@ -3492,9 +3497,9 @@ declare const AppsAccountsResetsResult: z.ZodObject<{
|
|
|
3492
3497
|
account: z.ZodNullable<z.ZodString>;
|
|
3493
3498
|
next_reset_ms: z.ZodNullable<z.ZodInt>;
|
|
3494
3499
|
source: z.ZodNullable<z.ZodEnum<{
|
|
3495
|
-
claude: "claude";
|
|
3496
3500
|
usage_history: "usage_history";
|
|
3497
3501
|
your_list: "your_list";
|
|
3502
|
+
claude: "claude";
|
|
3498
3503
|
}>>;
|
|
3499
3504
|
official: z.ZodBoolean;
|
|
3500
3505
|
note: z.ZodNullable<z.ZodString>;
|
|
@@ -4981,8 +4986,8 @@ type AccountResetSource = z.output<typeof AccountResetSource>;
|
|
|
4981
4986
|
/** What an account record still lacks (filled in the next time an instance signed into it opens). */
|
|
4982
4987
|
declare const AccountGap: z.ZodEnum<{
|
|
4983
4988
|
usage: "usage";
|
|
4984
|
-
plan: "plan";
|
|
4985
4989
|
email: "email";
|
|
4990
|
+
plan: "plan";
|
|
4986
4991
|
}>;
|
|
4987
4992
|
type AccountGap = z.output<typeof AccountGap>;
|
|
4988
4993
|
/** One account at the app's provider: who it is, and its newest usage reading from any instance. */
|
|
@@ -5012,8 +5017,8 @@ declare const AppAccount: z.ZodObject<{
|
|
|
5012
5017
|
last_seen_ms: z.ZodNullable<z.ZodInt>;
|
|
5013
5018
|
missing: z.ZodArray<z.ZodEnum<{
|
|
5014
5019
|
usage: "usage";
|
|
5015
|
-
plan: "plan";
|
|
5016
5020
|
email: "email";
|
|
5021
|
+
plan: "plan";
|
|
5017
5022
|
}>>;
|
|
5018
5023
|
profile: z.ZodOptional<z.ZodObject<{
|
|
5019
5024
|
name: z.ZodNullable<z.ZodString>;
|
|
@@ -5176,8 +5181,8 @@ declare const AppsAccountsListResult: z.ZodObject<{
|
|
|
5176
5181
|
last_seen_ms: z.ZodNullable<z.ZodInt>;
|
|
5177
5182
|
missing: z.ZodArray<z.ZodEnum<{
|
|
5178
5183
|
usage: "usage";
|
|
5179
|
-
plan: "plan";
|
|
5180
5184
|
email: "email";
|
|
5185
|
+
plan: "plan";
|
|
5181
5186
|
}>>;
|
|
5182
5187
|
profile: z.ZodOptional<z.ZodObject<{
|
|
5183
5188
|
name: z.ZodNullable<z.ZodString>;
|
|
@@ -5697,8 +5702,8 @@ type ServiceShutdown = z.output<typeof ServiceShutdown>;
|
|
|
5697
5702
|
/** Tool names are the platform registry's (`tool.definition.name`): `fs_read`, `shell_execute`… */
|
|
5698
5703
|
declare const ToolName: z.ZodString;
|
|
5699
5704
|
declare const ToolLevel: z.ZodEnum<{
|
|
5700
|
-
protocol: "protocol";
|
|
5701
5705
|
chat: "chat";
|
|
5706
|
+
protocol: "protocol";
|
|
5702
5707
|
programmatic: "programmatic";
|
|
5703
5708
|
}>;
|
|
5704
5709
|
type ToolLevel = z.output<typeof ToolLevel>;
|
|
@@ -5729,8 +5734,8 @@ type ToolTransport = z.output<typeof ToolTransport>;
|
|
|
5729
5734
|
declare const ToolLevelResult: z.ZodObject<{
|
|
5730
5735
|
tool: z.ZodString;
|
|
5731
5736
|
level: z.ZodEnum<{
|
|
5732
|
-
protocol: "protocol";
|
|
5733
5737
|
chat: "chat";
|
|
5738
|
+
protocol: "protocol";
|
|
5734
5739
|
programmatic: "programmatic";
|
|
5735
5740
|
}>;
|
|
5736
5741
|
platform: z.ZodEnum<{
|
|
@@ -5763,8 +5768,8 @@ declare const ToolResultsFile: z.ZodObject<{
|
|
|
5763
5768
|
results: z.ZodArray<z.ZodObject<{
|
|
5764
5769
|
tool: z.ZodString;
|
|
5765
5770
|
level: z.ZodEnum<{
|
|
5766
|
-
protocol: "protocol";
|
|
5767
5771
|
chat: "chat";
|
|
5772
|
+
protocol: "protocol";
|
|
5768
5773
|
programmatic: "programmatic";
|
|
5769
5774
|
}>;
|
|
5770
5775
|
platform: z.ZodEnum<{
|
|
@@ -10531,8 +10536,8 @@ declare const CodingSearchResult: z.ZodObject<{
|
|
|
10531
10536
|
cwd: z.ZodNullable<z.ZodString>;
|
|
10532
10537
|
updatedAt: z.ZodString;
|
|
10533
10538
|
where: z.ZodEnum<{
|
|
10534
|
-
content: "content";
|
|
10535
10539
|
title: "title";
|
|
10540
|
+
content: "content";
|
|
10536
10541
|
}>;
|
|
10537
10542
|
snippet: z.ZodNullable<z.ZodString>;
|
|
10538
10543
|
accountId: z.ZodOptional<z.ZodString>;
|
|
@@ -10935,8 +10940,8 @@ declare const CodingSearchHit: z.ZodObject<{
|
|
|
10935
10940
|
cwd: z.ZodNullable<z.ZodString>;
|
|
10936
10941
|
updatedAt: z.ZodString;
|
|
10937
10942
|
where: z.ZodEnum<{
|
|
10938
|
-
content: "content";
|
|
10939
10943
|
title: "title";
|
|
10944
|
+
content: "content";
|
|
10940
10945
|
}>;
|
|
10941
10946
|
snippet: z.ZodNullable<z.ZodString>;
|
|
10942
10947
|
accountId: z.ZodOptional<z.ZodString>;
|
|
@@ -13882,6 +13887,13 @@ declare const FIELDS_SINCE: {
|
|
|
13882
13887
|
readonly MlCatalogSetParams: {
|
|
13883
13888
|
readonly unusable: "1.69";
|
|
13884
13889
|
readonly speech: "1.81";
|
|
13890
|
+
readonly embedding: "1.88";
|
|
13891
|
+
};
|
|
13892
|
+
readonly ModelsLlmStatusResult: {
|
|
13893
|
+
readonly embedding: "1.88";
|
|
13894
|
+
};
|
|
13895
|
+
readonly ModelsLlmStopParams: {
|
|
13896
|
+
readonly slot: "1.88";
|
|
13885
13897
|
};
|
|
13886
13898
|
readonly MlProgress: {
|
|
13887
13899
|
readonly audio: "1.81";
|
|
@@ -13890,6 +13902,7 @@ declare const FIELDS_SINCE: {
|
|
|
13890
13902
|
readonly gpu_layers: "1.48";
|
|
13891
13903
|
readonly threads: "1.48";
|
|
13892
13904
|
readonly load_timeout_s: "1.48";
|
|
13905
|
+
readonly slot: "1.88";
|
|
13893
13906
|
};
|
|
13894
13907
|
readonly FsPatchResult: {
|
|
13895
13908
|
readonly edits_applied: "1.1";
|
|
@@ -14258,7 +14271,7 @@ declare function forPeer(op: OpName | null, part: "error", value: unknown, versi
|
|
|
14258
14271
|
declare const VERSIONED_RESULT_OPS: readonly OpName[];
|
|
14259
14272
|
|
|
14260
14273
|
/** SHA-256 of generated/desktop-protocol.schema.json: the contract both sides of a service connection were built from. */
|
|
14261
|
-
declare const CONTRACT_SHA256: "
|
|
14274
|
+
declare const CONTRACT_SHA256: "24650f34e966ce74c997fefcc7e6474b71fb9737ea81e81bfd1513a5e5018768";
|
|
14262
14275
|
|
|
14263
14276
|
/**
|
|
14264
14277
|
* The local tool catalog (SPEC §10): every tool a platform agent calls on a person's computer, the
|
package/dist/index.js
CHANGED
|
@@ -14,7 +14,7 @@ import {
|
|
|
14
14
|
negotiate,
|
|
15
15
|
statusForPeer,
|
|
16
16
|
versionSubprotocol
|
|
17
|
-
} from "./chunk-server-
|
|
17
|
+
} from "./chunk-server-Q7F4IE6F.js";
|
|
18
18
|
import {
|
|
19
19
|
AccountAgent,
|
|
20
20
|
AccountAgentDetail,
|
|
@@ -427,6 +427,7 @@ import {
|
|
|
427
427
|
DownloadRow,
|
|
428
428
|
EVENTS,
|
|
429
429
|
ElsewhereInstance,
|
|
430
|
+
EmbeddingVector,
|
|
430
431
|
EntitiesNerParams,
|
|
431
432
|
EntitiesNerResult,
|
|
432
433
|
EntitiesPiiParams,
|
|
@@ -544,8 +545,10 @@ import {
|
|
|
544
545
|
InstanceGap,
|
|
545
546
|
InstanceStatus,
|
|
546
547
|
LlamaServerBuild,
|
|
548
|
+
LlmEmbeddingSlot,
|
|
547
549
|
LlmRunning,
|
|
548
550
|
LlmServerState,
|
|
551
|
+
LlmSlot,
|
|
549
552
|
LocalModelKind,
|
|
550
553
|
LocalModelRow,
|
|
551
554
|
LocationGetParams,
|
|
@@ -584,6 +587,8 @@ import {
|
|
|
584
587
|
ModelsDownloadsCancelResult,
|
|
585
588
|
ModelsDownloadsListParams,
|
|
586
589
|
ModelsDownloadsListResult,
|
|
590
|
+
ModelsEmbedParams,
|
|
591
|
+
ModelsEmbedResult,
|
|
587
592
|
ModelsInstallParams,
|
|
588
593
|
ModelsInstallResult,
|
|
589
594
|
ModelsLlmChatParams,
|
|
@@ -928,7 +933,7 @@ import {
|
|
|
928
933
|
WindowsServiceControlResult,
|
|
929
934
|
WindowsServicesParams,
|
|
930
935
|
WindowsServicesResult
|
|
931
|
-
} from "./chunk-server-
|
|
936
|
+
} from "./chunk-server-RWKOPRNC.js";
|
|
932
937
|
import {
|
|
933
938
|
AbsPath,
|
|
934
939
|
BEARER_PREFIX,
|
|
@@ -975,7 +980,7 @@ import {
|
|
|
975
980
|
epochMs,
|
|
976
981
|
nonNegInt,
|
|
977
982
|
u32
|
|
978
|
-
} from "./chunk-server-
|
|
983
|
+
} from "./chunk-server-5MKSD7FQ.js";
|
|
979
984
|
import {
|
|
980
985
|
BROADCAST_CID,
|
|
981
986
|
DesktopProtocolError,
|
|
@@ -996,7 +1001,7 @@ import {
|
|
|
996
1001
|
} from "./chunk-server-OVLU5III.js";
|
|
997
1002
|
|
|
998
1003
|
// src/contract.ts
|
|
999
|
-
var CONTRACT_SHA256 = "
|
|
1004
|
+
var CONTRACT_SHA256 = "24650f34e966ce74c997fefcc7e6474b71fb9737ea81e81bfd1513a5e5018768";
|
|
1000
1005
|
|
|
1001
1006
|
// src/tools/catalog.ts
|
|
1002
1007
|
var TOOL_GROUPS = [
|
|
@@ -1798,6 +1803,7 @@ export {
|
|
|
1798
1803
|
EVENTS,
|
|
1799
1804
|
EXCLUDED_TOOLS,
|
|
1800
1805
|
ElsewhereInstance,
|
|
1806
|
+
EmbeddingVector,
|
|
1801
1807
|
EndMsg,
|
|
1802
1808
|
EndReason,
|
|
1803
1809
|
EntitiesNerParams,
|
|
@@ -1933,8 +1939,10 @@ export {
|
|
|
1933
1939
|
LEGACY_DISPATCHERS,
|
|
1934
1940
|
Limits,
|
|
1935
1941
|
LlamaServerBuild,
|
|
1942
|
+
LlmEmbeddingSlot,
|
|
1936
1943
|
LlmRunning,
|
|
1937
1944
|
LlmServerState,
|
|
1945
|
+
LlmSlot,
|
|
1938
1946
|
LocalModelKind,
|
|
1939
1947
|
LocalModelRow,
|
|
1940
1948
|
LocationGetParams,
|
|
@@ -1973,6 +1981,8 @@ export {
|
|
|
1973
1981
|
ModelsDownloadsCancelResult,
|
|
1974
1982
|
ModelsDownloadsListParams,
|
|
1975
1983
|
ModelsDownloadsListResult,
|
|
1984
|
+
ModelsEmbedParams,
|
|
1985
|
+
ModelsEmbedResult,
|
|
1976
1986
|
ModelsInstallParams,
|
|
1977
1987
|
ModelsInstallResult,
|
|
1978
1988
|
ModelsLlmChatParams,
|