@ai-matrx/desktop-protocol 0.21.69 → 0.21.70
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 +21 -2
- package/dist/{chunk-server-TH6RJ5S5.js → chunk-server-I6R2ZKMX.js} +29 -6
- package/dist/chunk-server-I6R2ZKMX.js.map +1 -0
- package/dist/client.cjs +24 -5
- 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 +1 -1
- package/dist/index.cjs +29 -6
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +16 -5
- package/dist/index.d.ts +16 -5
- package/dist/index.js +4 -2
- package/dist/index.js.map +1 -1
- package/dist/{models-BaCCJM1M.d.cts → models-_17aNpEC.d.cts} +45 -1
- package/dist/{models-BaCCJM1M.d.ts → models-_17aNpEC.d.ts} +45 -1
- package/dist/react.d.cts +2 -0
- package/dist/react.d.ts +2 -0
- package/generated/desktop-protocol.schema.json +56 -2
- package/package.json +2 -2
- package/dist/chunk-server-TH6RJ5S5.js.map +0 -1
|
@@ -1568,6 +1568,8 @@ declare const OPS: {
|
|
|
1568
1568
|
id: z.ZodString;
|
|
1569
1569
|
size_bytes: z.ZodInt;
|
|
1570
1570
|
installed: z.ZodBoolean;
|
|
1571
|
+
title: z.ZodOptional<z.ZodString>;
|
|
1572
|
+
problem: z.ZodOptional<z.ZodString>;
|
|
1571
1573
|
}, z.core.$strict>>;
|
|
1572
1574
|
running: z.ZodNullable<z.ZodObject<{
|
|
1573
1575
|
id: z.ZodString;
|
|
@@ -8903,6 +8905,8 @@ declare const SERVICES: {
|
|
|
8903
8905
|
id: z.ZodString;
|
|
8904
8906
|
size_bytes: z.ZodInt;
|
|
8905
8907
|
installed: z.ZodBoolean;
|
|
8908
|
+
title: z.ZodOptional<z.ZodString>;
|
|
8909
|
+
problem: z.ZodOptional<z.ZodString>;
|
|
8906
8910
|
}, z.core.$strict>>;
|
|
8907
8911
|
running: z.ZodNullable<z.ZodObject<{
|
|
8908
8912
|
id: z.ZodString;
|
|
@@ -9030,6 +9034,12 @@ declare const SERVICES: {
|
|
|
9030
9034
|
}, z.core.$strict>>;
|
|
9031
9035
|
default_transcription: z.ZodNullable<z.ZodString>;
|
|
9032
9036
|
catalog_updated_at: z.ZodString;
|
|
9037
|
+
unusable: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
9038
|
+
key: z.ZodString;
|
|
9039
|
+
title: z.ZodString;
|
|
9040
|
+
size_bytes: z.ZodInt;
|
|
9041
|
+
problem: z.ZodString;
|
|
9042
|
+
}, z.core.$strict>>>;
|
|
9033
9043
|
}, z.core.$strict>;
|
|
9034
9044
|
readonly result: z.ZodObject<{
|
|
9035
9045
|
text: z.ZodInt;
|
|
@@ -11067,6 +11077,14 @@ declare const NAMED_SCHEMAS: {
|
|
|
11067
11077
|
id: z.ZodString;
|
|
11068
11078
|
size_bytes: z.ZodInt;
|
|
11069
11079
|
installed: z.ZodBoolean;
|
|
11080
|
+
title: z.ZodOptional<z.ZodString>;
|
|
11081
|
+
problem: z.ZodOptional<z.ZodString>;
|
|
11082
|
+
}, z.core.$strict>;
|
|
11083
|
+
readonly UnusableTextModel: z.ZodObject<{
|
|
11084
|
+
key: z.ZodString;
|
|
11085
|
+
title: z.ZodString;
|
|
11086
|
+
size_bytes: z.ZodInt;
|
|
11087
|
+
problem: z.ZodString;
|
|
11070
11088
|
}, z.core.$strict>;
|
|
11071
11089
|
readonly ModelKey: z.ZodString;
|
|
11072
11090
|
readonly Sha256Hex: z.ZodString;
|
|
@@ -11131,6 +11149,12 @@ declare const NAMED_SCHEMAS: {
|
|
|
11131
11149
|
}, z.core.$strict>>;
|
|
11132
11150
|
default_transcription: z.ZodNullable<z.ZodString>;
|
|
11133
11151
|
catalog_updated_at: z.ZodString;
|
|
11152
|
+
unusable: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
11153
|
+
key: z.ZodString;
|
|
11154
|
+
title: z.ZodString;
|
|
11155
|
+
size_bytes: z.ZodInt;
|
|
11156
|
+
problem: z.ZodString;
|
|
11157
|
+
}, z.core.$strict>>>;
|
|
11134
11158
|
}, z.core.$strict>;
|
|
11135
11159
|
readonly MlCatalogSetResult: z.ZodObject<{
|
|
11136
11160
|
text: z.ZodInt;
|
|
@@ -11161,6 +11185,8 @@ declare const NAMED_SCHEMAS: {
|
|
|
11161
11185
|
id: z.ZodString;
|
|
11162
11186
|
size_bytes: z.ZodInt;
|
|
11163
11187
|
installed: z.ZodBoolean;
|
|
11188
|
+
title: z.ZodOptional<z.ZodString>;
|
|
11189
|
+
problem: z.ZodOptional<z.ZodString>;
|
|
11164
11190
|
}, z.core.$strict>>;
|
|
11165
11191
|
running: z.ZodNullable<z.ZodObject<{
|
|
11166
11192
|
id: z.ZodString;
|
|
@@ -20311,6 +20337,12 @@ declare const MlCatalogSetParams: z.ZodObject<{
|
|
|
20311
20337
|
}, z.core.$strict>>;
|
|
20312
20338
|
default_transcription: z.ZodNullable<z.ZodString>;
|
|
20313
20339
|
catalog_updated_at: z.ZodString;
|
|
20340
|
+
unusable: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
20341
|
+
key: z.ZodString;
|
|
20342
|
+
title: z.ZodString;
|
|
20343
|
+
size_bytes: z.ZodInt;
|
|
20344
|
+
problem: z.ZodString;
|
|
20345
|
+
}, z.core.$strict>>>;
|
|
20314
20346
|
}, z.core.$strict>;
|
|
20315
20347
|
type MlCatalogSetParams = z.output<typeof MlCatalogSetParams>;
|
|
20316
20348
|
/**
|
|
@@ -20337,6 +20369,8 @@ declare const ModelsLlmStatusResult: z.ZodObject<{
|
|
|
20337
20369
|
id: z.ZodString;
|
|
20338
20370
|
size_bytes: z.ZodInt;
|
|
20339
20371
|
installed: z.ZodBoolean;
|
|
20372
|
+
title: z.ZodOptional<z.ZodString>;
|
|
20373
|
+
problem: z.ZodOptional<z.ZodString>;
|
|
20340
20374
|
}, z.core.$strict>>;
|
|
20341
20375
|
running: z.ZodNullable<z.ZodObject<{
|
|
20342
20376
|
id: z.ZodString;
|
|
@@ -20460,8 +20494,18 @@ declare const TextModelInfo: z.ZodObject<{
|
|
|
20460
20494
|
id: z.ZodString;
|
|
20461
20495
|
size_bytes: z.ZodInt;
|
|
20462
20496
|
installed: z.ZodBoolean;
|
|
20497
|
+
title: z.ZodOptional<z.ZodString>;
|
|
20498
|
+
problem: z.ZodOptional<z.ZodString>;
|
|
20463
20499
|
}, z.core.$strict>;
|
|
20464
20500
|
type TextModelInfo = z.output<typeof TextModelInfo>;
|
|
20501
|
+
/** (1.69) A language model on this computer that cannot run here (ml.catalog_set `unusable`): listed with why, never started. */
|
|
20502
|
+
declare const UnusableTextModel: z.ZodObject<{
|
|
20503
|
+
key: z.ZodString;
|
|
20504
|
+
title: z.ZodString;
|
|
20505
|
+
size_bytes: z.ZodInt;
|
|
20506
|
+
problem: z.ZodString;
|
|
20507
|
+
}, z.core.$strict>;
|
|
20508
|
+
type UnusableTextModel = z.output<typeof UnusableTextModel>;
|
|
20465
20509
|
/** The model server's process: one model loaded at a time. */
|
|
20466
20510
|
declare const LlmServerState: z.ZodEnum<{
|
|
20467
20511
|
running: "running";
|
|
@@ -20550,4 +20594,4 @@ type MlServiceStatus = z.output<typeof MlServiceStatus>;
|
|
|
20550
20594
|
declare const ModelsStatusParams: z.ZodObject<{}, z.core.$strict>;
|
|
20551
20595
|
type ModelsStatusParams = z.output<typeof ModelsStatusParams>;
|
|
20552
20596
|
|
|
20553
|
-
export { ModelKey as $, type ErrorReasonName as A, BEARER_PREFIX as B, type CloseOutcome as C, DesktopProtocolError as D, EndReason as E, EventMsg as F, type EventName as G, FsPatchEditFailure as H, HelloMsg as I, LlamaServerBuild as J, LlmRunning as K, Limits as L, ModelsTranscribeResult as M, LlmServerState as N, type OpName as O, MlCatalogSetParams as P, MlCatalogSetResult as Q, MlInstallPhase as R, StreamMeta as S, TranscriptionModelId as T, MlInstallProgress as U, MlRuntimeState as V, Welcome as W, MlServiceState as X, MlServiceStatus as Y, MlStatusParams as Z, MlStatusResult as _, type OpParams as a, ModelsDownloadsCancelParams as a0, ModelsDownloadsCancelResult as a1, ModelsDownloadsListParams as a2, ModelsDownloadsListResult as a3, ModelsInstallParams as a4, ModelsInstallResult as a5, ModelsLlmInstallParams as a6, ModelsLlmInstallResult as a7, ModelsLlmStartParams as a8, ModelsLlmStartResult as a9, TextModelId as aA, TextModelInfo as aB, TranscriptSegment as aC, TranscriptionModelInfo as aD,
|
|
20597
|
+
export { ModelKey as $, type ErrorReasonName as A, BEARER_PREFIX as B, type CloseOutcome as C, DesktopProtocolError as D, EndReason as E, EventMsg as F, type EventName as G, FsPatchEditFailure as H, HelloMsg as I, LlamaServerBuild as J, LlmRunning as K, Limits as L, ModelsTranscribeResult as M, LlmServerState as N, type OpName as O, MlCatalogSetParams as P, MlCatalogSetResult as Q, MlInstallPhase as R, StreamMeta as S, TranscriptionModelId as T, MlInstallProgress as U, MlRuntimeState as V, Welcome as W, MlServiceState as X, MlServiceStatus as Y, MlStatusParams as Z, MlStatusResult as _, type OpParams as a, ModelsDownloadsCancelParams as a0, ModelsDownloadsCancelResult as a1, ModelsDownloadsListParams as a2, ModelsDownloadsListResult as a3, ModelsInstallParams as a4, ModelsInstallResult as a5, ModelsLlmInstallParams as a6, ModelsLlmInstallResult as a7, ModelsLlmStartParams as a8, ModelsLlmStartResult as a9, TextModelId as aA, TextModelInfo as aB, TranscriptSegment as aC, TranscriptionModelInfo as aD, UnusableTextModel as aE, closeRule as aF, isTerminalClose as aG, ModelsLlmStatusParams as aa, ModelsLlmStatusResult as ab, ModelsLlmStopParams as ac, ModelsLlmStopResult as ad, ModelsProgressEvent as ae, ModelsStatusParams as af, ModelsStatusResult as ag, ModelsTranscribeParams as ah, NAMED_SCHEMAS as ai, type NamedSchemaId as aj, OpDescriptor as ak, type OpSpec as al, PING_TEXT as am, PONG_TEXT as an, ProtocolErrorBody as ao, RelayMsg as ap, RequestMsg as aq, ResponseMsg as ar, SERVICES as as, SUBPROTOCOL as at, type ServiceId as au, type ServiceOpName as av, type ServiceOpSpec as aw, type ServiceSpec as ax, Sha256Hex as ay, StreamMsg as az, type OpResult as b, OPS as c, EVENTS as d, ClientType as e, MlProgress as f, CLOSE_RULES as g, CancelMsg as h, isDesktopProtocolError as i, CatalogFile as j, CatalogModelEntry as k, ClientToCoreMsg as l, type CloseAction as m, CloseCode as n, CloseCodeValue as o, type CloseRule as p, CoreToClientMsg as q, CreditMsg as r, DownloadKind as s, DownloadRow as t, EndMsg as u, ErrorCode as v, type ErrorCodeName as w, type ErrorData as x, ErrorMsg as y, ErrorReason as z };
|
package/dist/react.d.cts
CHANGED
|
@@ -1004,6 +1004,8 @@ declare const OPS: {
|
|
|
1004
1004
|
id: z.ZodString;
|
|
1005
1005
|
size_bytes: z.ZodInt;
|
|
1006
1006
|
installed: z.ZodBoolean;
|
|
1007
|
+
title: z.ZodOptional<z.ZodString>;
|
|
1008
|
+
problem: z.ZodOptional<z.ZodString>;
|
|
1007
1009
|
}, z.core.$strict>>;
|
|
1008
1010
|
running: z.ZodNullable<z.ZodObject<{
|
|
1009
1011
|
id: z.ZodString;
|
package/dist/react.d.ts
CHANGED
|
@@ -1004,6 +1004,8 @@ declare const OPS: {
|
|
|
1004
1004
|
id: z.ZodString;
|
|
1005
1005
|
size_bytes: z.ZodInt;
|
|
1006
1006
|
installed: z.ZodBoolean;
|
|
1007
|
+
title: z.ZodOptional<z.ZodString>;
|
|
1008
|
+
problem: z.ZodOptional<z.ZodString>;
|
|
1007
1009
|
}, z.core.$strict>>;
|
|
1008
1010
|
running: z.ZodNullable<z.ZodObject<{
|
|
1009
1011
|
id: z.ZodString;
|
|
@@ -4248,6 +4248,16 @@
|
|
|
4248
4248
|
},
|
|
4249
4249
|
"installed": {
|
|
4250
4250
|
"type": "boolean"
|
|
4251
|
+
},
|
|
4252
|
+
"title": {
|
|
4253
|
+
"type": "string",
|
|
4254
|
+
"minLength": 1,
|
|
4255
|
+
"maxLength": 200
|
|
4256
|
+
},
|
|
4257
|
+
"problem": {
|
|
4258
|
+
"type": "string",
|
|
4259
|
+
"minLength": 1,
|
|
4260
|
+
"maxLength": 300
|
|
4251
4261
|
}
|
|
4252
4262
|
},
|
|
4253
4263
|
"required": [
|
|
@@ -4257,6 +4267,36 @@
|
|
|
4257
4267
|
],
|
|
4258
4268
|
"additionalProperties": false
|
|
4259
4269
|
},
|
|
4270
|
+
"UnusableTextModel": {
|
|
4271
|
+
"type": "object",
|
|
4272
|
+
"properties": {
|
|
4273
|
+
"key": {
|
|
4274
|
+
"$ref": "#/$defs/ModelKey"
|
|
4275
|
+
},
|
|
4276
|
+
"title": {
|
|
4277
|
+
"type": "string",
|
|
4278
|
+
"minLength": 1,
|
|
4279
|
+
"maxLength": 200
|
|
4280
|
+
},
|
|
4281
|
+
"size_bytes": {
|
|
4282
|
+
"type": "integer",
|
|
4283
|
+
"minimum": 0,
|
|
4284
|
+
"maximum": 9007199254740991
|
|
4285
|
+
},
|
|
4286
|
+
"problem": {
|
|
4287
|
+
"type": "string",
|
|
4288
|
+
"minLength": 1,
|
|
4289
|
+
"maxLength": 300
|
|
4290
|
+
}
|
|
4291
|
+
},
|
|
4292
|
+
"required": [
|
|
4293
|
+
"key",
|
|
4294
|
+
"title",
|
|
4295
|
+
"size_bytes",
|
|
4296
|
+
"problem"
|
|
4297
|
+
],
|
|
4298
|
+
"additionalProperties": false
|
|
4299
|
+
},
|
|
4260
4300
|
"ModelKey": {
|
|
4261
4301
|
"type": "string",
|
|
4262
4302
|
"minLength": 1,
|
|
@@ -4416,6 +4456,13 @@
|
|
|
4416
4456
|
"catalog_updated_at": {
|
|
4417
4457
|
"type": "string",
|
|
4418
4458
|
"maxLength": 40
|
|
4459
|
+
},
|
|
4460
|
+
"unusable": {
|
|
4461
|
+
"maxItems": 512,
|
|
4462
|
+
"type": "array",
|
|
4463
|
+
"items": {
|
|
4464
|
+
"$ref": "#/$defs/UnusableTextModel"
|
|
4465
|
+
}
|
|
4419
4466
|
}
|
|
4420
4467
|
},
|
|
4421
4468
|
"required": [
|
|
@@ -4501,7 +4548,7 @@
|
|
|
4501
4548
|
"$ref": "#/$defs/LlmServerState"
|
|
4502
4549
|
},
|
|
4503
4550
|
"models": {
|
|
4504
|
-
"maxItems":
|
|
4551
|
+
"maxItems": 1024,
|
|
4505
4552
|
"type": "array",
|
|
4506
4553
|
"items": {
|
|
4507
4554
|
"$ref": "#/$defs/TextModelInfo"
|
|
@@ -27021,6 +27068,13 @@
|
|
|
27021
27068
|
"gpu_layers": "1.48",
|
|
27022
27069
|
"threads": "1.48"
|
|
27023
27070
|
},
|
|
27071
|
+
"TextModelInfo": {
|
|
27072
|
+
"title": "1.69",
|
|
27073
|
+
"problem": "1.69"
|
|
27074
|
+
},
|
|
27075
|
+
"MlCatalogSetParams": {
|
|
27076
|
+
"unusable": "1.69"
|
|
27077
|
+
},
|
|
27024
27078
|
"ModelsLlmStartParams": {
|
|
27025
27079
|
"gpu_layers": "1.48",
|
|
27026
27080
|
"threads": "1.48",
|
|
@@ -27295,5 +27349,5 @@
|
|
|
27295
27349
|
"olderPeersGet": 0
|
|
27296
27350
|
}
|
|
27297
27351
|
},
|
|
27298
|
-
"x-protocol-version": "1.
|
|
27352
|
+
"x-protocol-version": "1.69"
|
|
27299
27353
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ai-matrx/desktop-protocol",
|
|
3
|
-
"version": "0.21.
|
|
3
|
+
"version": "0.21.70",
|
|
4
4
|
"description": "The one wire contract between Matrx 2 (the desktop app) and every client that drives it — phone, web app, extension, server: zod schemas for the envelope and every cap.op, the 16-byte binary frame codec, a reconnecting request/stream/credit/reattach client, React hooks, and a generated JSON Schema + Pydantic twin that CI keeps byte-identical.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.cjs",
|
|
@@ -137,5 +137,5 @@
|
|
|
137
137
|
"test:watch": "vitest",
|
|
138
138
|
"verify:tarball": "node ./scripts/verify-tarball.mjs"
|
|
139
139
|
},
|
|
140
|
-
"gitHead": "
|
|
140
|
+
"gitHead": "1616be4a1be76ae84a25a958f7531aaf9dbb6a86"
|
|
141
141
|
}
|