@ai-matrx/desktop-protocol 0.21.36 → 0.21.37

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.
@@ -711,7 +711,7 @@ type OpSpec = {
711
711
  readonly params: z.ZodType;
712
712
  readonly result: z.ZodType;
713
713
  readonly kind: "unary" | "stream" | "resource";
714
- readonly since: "1.0" | "1.2" | "1.3" | "1.4" | "1.5" | "1.6" | "1.8" | "1.9" | "1.10" | "1.11" | "1.16" | "1.17" | "1.19" | "1.20" | "1.21" | "1.22" | "1.23" | "1.24" | "1.26" | "1.28" | "1.29" | "1.30" | "1.31" | "1.37" | "1.38" | "1.39" | "1.40" | "1.43" | "1.44";
714
+ readonly since: "1.0" | "1.2" | "1.3" | "1.4" | "1.5" | "1.6" | "1.8" | "1.9" | "1.10" | "1.11" | "1.16" | "1.17" | "1.19" | "1.20" | "1.21" | "1.22" | "1.23" | "1.24" | "1.26" | "1.28" | "1.29" | "1.30" | "1.31" | "1.37" | "1.38" | "1.39" | "1.40" | "1.43" | "1.44" | "1.45";
715
715
  readonly errors: readonly z.infer<typeof ErrorCode>[];
716
716
  };
717
717
  declare const OPS: {
@@ -820,6 +820,13 @@ declare const OPS: {
820
820
  os_name: z.ZodNullable<z.ZodString>;
821
821
  os_version: z.ZodNullable<z.ZodString>;
822
822
  os_build: z.ZodNullable<z.ZodString>;
823
+ graphics: z.ZodOptional<z.ZodArray<z.ZodObject<{
824
+ name: z.ZodString;
825
+ vendor: z.ZodNullable<z.ZodString>;
826
+ memory_bytes: z.ZodNullable<z.ZodInt>;
827
+ memory_approximate: z.ZodBoolean;
828
+ unified: z.ZodBoolean;
829
+ }, z.core.$strict>>>;
823
830
  }, z.core.$strict>;
824
831
  readonly kind: "unary";
825
832
  readonly since: "1.24";
@@ -1727,6 +1734,44 @@ declare const OPS: {
1727
1734
  readonly since: "1.31";
1728
1735
  readonly errors: readonly ["INTERNAL"];
1729
1736
  };
1737
+ readonly "models.downloads.list": {
1738
+ readonly params: z.ZodObject<{}, z.core.$strict>;
1739
+ readonly result: z.ZodObject<{
1740
+ downloads: z.ZodArray<z.ZodObject<{
1741
+ key: z.ZodString;
1742
+ kind: z.ZodEnum<{
1743
+ runtime: "runtime";
1744
+ speech_model: "speech_model";
1745
+ text_model: "text_model";
1746
+ }>;
1747
+ model: z.ZodNullable<z.ZodString>;
1748
+ state: z.ZodEnum<{
1749
+ running: "running";
1750
+ stopped: "stopped";
1751
+ }>;
1752
+ step: z.ZodNullable<z.ZodString>;
1753
+ bytes_done: z.ZodInt;
1754
+ bytes_total: z.ZodNullable<z.ZodInt>;
1755
+ fraction: z.ZodNullable<z.ZodNumber>;
1756
+ started_at: z.ZodNullable<z.ZodInt>;
1757
+ path: z.ZodNullable<z.ZodString>;
1758
+ }, z.core.$strict>>;
1759
+ }, z.core.$strict>;
1760
+ readonly kind: "unary";
1761
+ readonly since: "1.45";
1762
+ readonly errors: readonly ["INTERNAL"];
1763
+ };
1764
+ readonly "models.downloads.cancel": {
1765
+ readonly params: z.ZodObject<{
1766
+ key: z.ZodString;
1767
+ }, z.core.$strict>;
1768
+ readonly result: z.ZodObject<{
1769
+ cancelled: z.ZodBoolean;
1770
+ }, z.core.$strict>;
1771
+ readonly kind: "unary";
1772
+ readonly since: "1.45";
1773
+ readonly errors: readonly ["NOT_FOUND", "INTERNAL"];
1774
+ };
1730
1775
  readonly "apps.list": {
1731
1776
  readonly params: z.ZodObject<{}, z.core.$strict>;
1732
1777
  readonly result: z.ZodObject<{
@@ -6132,9 +6177,9 @@ declare const OPS: {
6132
6177
  id: z.ZodString;
6133
6178
  name: z.ZodString;
6134
6179
  kind: z.ZodEnum<{
6180
+ key: "key";
6135
6181
  login: "login";
6136
6182
  passkey: "passkey";
6137
- key: "key";
6138
6183
  other: "other";
6139
6184
  }>;
6140
6185
  definition: z.ZodString;
@@ -6237,9 +6282,9 @@ declare const OPS: {
6237
6282
  waiting: "waiting";
6238
6283
  }>>;
6239
6284
  sort: z.ZodOptional<z.ZodEnum<{
6285
+ started_at: "started_at";
6240
6286
  status: "status";
6241
6287
  cost: "cost";
6242
- started_at: "started_at";
6243
6288
  duration: "duration";
6244
6289
  }>>;
6245
6290
  descending: z.ZodOptional<z.ZodBoolean>;
@@ -8260,6 +8305,38 @@ declare const SERVICES: {
8260
8305
  stopped: z.ZodBoolean;
8261
8306
  }, z.core.$strict>;
8262
8307
  };
8308
+ readonly "ml.downloads": {
8309
+ readonly params: z.ZodObject<{}, z.core.$strict>;
8310
+ readonly result: z.ZodObject<{
8311
+ downloads: z.ZodArray<z.ZodObject<{
8312
+ key: z.ZodString;
8313
+ kind: z.ZodEnum<{
8314
+ runtime: "runtime";
8315
+ speech_model: "speech_model";
8316
+ text_model: "text_model";
8317
+ }>;
8318
+ model: z.ZodNullable<z.ZodString>;
8319
+ state: z.ZodEnum<{
8320
+ running: "running";
8321
+ stopped: "stopped";
8322
+ }>;
8323
+ step: z.ZodNullable<z.ZodString>;
8324
+ bytes_done: z.ZodInt;
8325
+ bytes_total: z.ZodNullable<z.ZodInt>;
8326
+ fraction: z.ZodNullable<z.ZodNumber>;
8327
+ started_at: z.ZodNullable<z.ZodInt>;
8328
+ path: z.ZodNullable<z.ZodString>;
8329
+ }, z.core.$strict>>;
8330
+ }, z.core.$strict>;
8331
+ };
8332
+ readonly "ml.download_cancel": {
8333
+ readonly params: z.ZodObject<{
8334
+ key: z.ZodString;
8335
+ }, z.core.$strict>;
8336
+ readonly result: z.ZodObject<{
8337
+ cancelled: z.ZodBoolean;
8338
+ }, z.core.$strict>;
8339
+ };
8263
8340
  };
8264
8341
  };
8265
8342
  readonly coding: {
@@ -9232,6 +9309,20 @@ declare const NAMED_SCHEMAS: {
9232
9309
  os_name: z.ZodNullable<z.ZodString>;
9233
9310
  os_version: z.ZodNullable<z.ZodString>;
9234
9311
  os_build: z.ZodNullable<z.ZodString>;
9312
+ graphics: z.ZodOptional<z.ZodArray<z.ZodObject<{
9313
+ name: z.ZodString;
9314
+ vendor: z.ZodNullable<z.ZodString>;
9315
+ memory_bytes: z.ZodNullable<z.ZodInt>;
9316
+ memory_approximate: z.ZodBoolean;
9317
+ unified: z.ZodBoolean;
9318
+ }, z.core.$strict>>>;
9319
+ }, z.core.$strict>;
9320
+ readonly SysinfoGraphicsAdapter: z.ZodObject<{
9321
+ name: z.ZodString;
9322
+ vendor: z.ZodNullable<z.ZodString>;
9323
+ memory_bytes: z.ZodNullable<z.ZodInt>;
9324
+ memory_approximate: z.ZodBoolean;
9325
+ unified: z.ZodBoolean;
9235
9326
  }, z.core.$strict>;
9236
9327
  readonly FsKind: z.ZodEnum<{
9237
9328
  file: "file";
@@ -10261,6 +10352,58 @@ declare const NAMED_SCHEMAS: {
10261
10352
  readonly ModelsLlmStopResult: z.ZodObject<{
10262
10353
  stopped: z.ZodBoolean;
10263
10354
  }, z.core.$strict>;
10355
+ readonly DownloadKind: z.ZodEnum<{
10356
+ runtime: "runtime";
10357
+ speech_model: "speech_model";
10358
+ text_model: "text_model";
10359
+ }>;
10360
+ readonly DownloadRow: z.ZodObject<{
10361
+ key: z.ZodString;
10362
+ kind: z.ZodEnum<{
10363
+ runtime: "runtime";
10364
+ speech_model: "speech_model";
10365
+ text_model: "text_model";
10366
+ }>;
10367
+ model: z.ZodNullable<z.ZodString>;
10368
+ state: z.ZodEnum<{
10369
+ running: "running";
10370
+ stopped: "stopped";
10371
+ }>;
10372
+ step: z.ZodNullable<z.ZodString>;
10373
+ bytes_done: z.ZodInt;
10374
+ bytes_total: z.ZodNullable<z.ZodInt>;
10375
+ fraction: z.ZodNullable<z.ZodNumber>;
10376
+ started_at: z.ZodNullable<z.ZodInt>;
10377
+ path: z.ZodNullable<z.ZodString>;
10378
+ }, z.core.$strict>;
10379
+ readonly ModelsDownloadsListParams: z.ZodObject<{}, z.core.$strict>;
10380
+ readonly ModelsDownloadsListResult: z.ZodObject<{
10381
+ downloads: z.ZodArray<z.ZodObject<{
10382
+ key: z.ZodString;
10383
+ kind: z.ZodEnum<{
10384
+ runtime: "runtime";
10385
+ speech_model: "speech_model";
10386
+ text_model: "text_model";
10387
+ }>;
10388
+ model: z.ZodNullable<z.ZodString>;
10389
+ state: z.ZodEnum<{
10390
+ running: "running";
10391
+ stopped: "stopped";
10392
+ }>;
10393
+ step: z.ZodNullable<z.ZodString>;
10394
+ bytes_done: z.ZodInt;
10395
+ bytes_total: z.ZodNullable<z.ZodInt>;
10396
+ fraction: z.ZodNullable<z.ZodNumber>;
10397
+ started_at: z.ZodNullable<z.ZodInt>;
10398
+ path: z.ZodNullable<z.ZodString>;
10399
+ }, z.core.$strict>>;
10400
+ }, z.core.$strict>;
10401
+ readonly ModelsDownloadsCancelParams: z.ZodObject<{
10402
+ key: z.ZodString;
10403
+ }, z.core.$strict>;
10404
+ readonly ModelsDownloadsCancelResult: z.ZodObject<{
10405
+ cancelled: z.ZodBoolean;
10406
+ }, z.core.$strict>;
10264
10407
  readonly CodingServiceCredentials: z.ZodObject<{
10265
10408
  access_token: z.ZodString;
10266
10409
  user_id: z.ZodString;
@@ -16423,9 +16566,9 @@ declare const NAMED_SCHEMAS: {
16423
16566
  }, z.core.$strict>>;
16424
16567
  }, z.core.$strict>;
16425
16568
  readonly VaultItemKind: z.ZodEnum<{
16569
+ key: "key";
16426
16570
  login: "login";
16427
16571
  passkey: "passkey";
16428
- key: "key";
16429
16572
  other: "other";
16430
16573
  }>;
16431
16574
  readonly VaultFieldSummary: z.ZodObject<{
@@ -16441,9 +16584,9 @@ declare const NAMED_SCHEMAS: {
16441
16584
  id: z.ZodString;
16442
16585
  name: z.ZodString;
16443
16586
  kind: z.ZodEnum<{
16587
+ key: "key";
16444
16588
  login: "login";
16445
16589
  passkey: "passkey";
16446
- key: "key";
16447
16590
  other: "other";
16448
16591
  }>;
16449
16592
  definition: z.ZodString;
@@ -16476,9 +16619,9 @@ declare const NAMED_SCHEMAS: {
16476
16619
  id: z.ZodString;
16477
16620
  name: z.ZodString;
16478
16621
  kind: z.ZodEnum<{
16622
+ key: "key";
16479
16623
  login: "login";
16480
16624
  passkey: "passkey";
16481
- key: "key";
16482
16625
  other: "other";
16483
16626
  }>;
16484
16627
  definition: z.ZodString;
@@ -16628,9 +16771,9 @@ declare const NAMED_SCHEMAS: {
16628
16771
  has_transcript: z.ZodBoolean;
16629
16772
  }, z.core.$strict>;
16630
16773
  readonly AccountAgentRunSort: z.ZodEnum<{
16774
+ started_at: "started_at";
16631
16775
  status: "status";
16632
16776
  cost: "cost";
16633
- started_at: "started_at";
16634
16777
  duration: "duration";
16635
16778
  }>;
16636
16779
  readonly AccountAgentsRunsParams: z.ZodObject<{
@@ -16644,9 +16787,9 @@ declare const NAMED_SCHEMAS: {
16644
16787
  waiting: "waiting";
16645
16788
  }>>;
16646
16789
  sort: z.ZodOptional<z.ZodEnum<{
16790
+ started_at: "started_at";
16647
16791
  status: "status";
16648
16792
  cost: "cost";
16649
- started_at: "started_at";
16650
16793
  duration: "duration";
16651
16794
  }>>;
16652
16795
  descending: z.ZodOptional<z.ZodBoolean>;
@@ -18229,6 +18372,20 @@ declare const ModelsLlmStopParams: z.ZodObject<{}, z.core.$strict>;
18229
18372
  declare const ModelsLlmStopResult: z.ZodObject<{
18230
18373
  stopped: z.ZodBoolean;
18231
18374
  }, z.core.$strict>;
18375
+ /** What a download fetches: a speech model, a language model, or a runtime (speech runtime, model server program). */
18376
+ declare const DownloadKind: z.ZodEnum<{
18377
+ runtime: "runtime";
18378
+ speech_model: "speech_model";
18379
+ text_model: "text_model";
18380
+ }>;
18381
+ declare const ModelsDownloadsListParams: z.ZodObject<{}, z.core.$strict>;
18382
+ /** Cancel one running download (every caller waiting on it gets CANCELLED); its half-done file stays for Resume. */
18383
+ declare const ModelsDownloadsCancelParams: z.ZodObject<{
18384
+ key: z.ZodString;
18385
+ }, z.core.$strict>;
18386
+ declare const ModelsDownloadsCancelResult: z.ZodObject<{
18387
+ cancelled: z.ZodBoolean;
18388
+ }, z.core.$strict>;
18232
18389
  /** The supervisor's view of the `ml` service process. */
18233
18390
  declare const MlServiceState: z.ZodEnum<{
18234
18391
  failed: "failed";
@@ -18582,6 +18739,48 @@ declare const ModelsLlmStartResult: z.ZodObject<{
18582
18739
  elapsed_ms: z.ZodInt;
18583
18740
  }, z.core.$strict>;
18584
18741
  type ModelsLlmStartResult = z.output<typeof ModelsLlmStartResult>;
18742
+ declare const DownloadRow: z.ZodObject<{
18743
+ key: z.ZodString;
18744
+ kind: z.ZodEnum<{
18745
+ runtime: "runtime";
18746
+ speech_model: "speech_model";
18747
+ text_model: "text_model";
18748
+ }>;
18749
+ model: z.ZodNullable<z.ZodString>;
18750
+ state: z.ZodEnum<{
18751
+ running: "running";
18752
+ stopped: "stopped";
18753
+ }>;
18754
+ step: z.ZodNullable<z.ZodString>;
18755
+ bytes_done: z.ZodInt;
18756
+ bytes_total: z.ZodNullable<z.ZodInt>;
18757
+ fraction: z.ZodNullable<z.ZodNumber>;
18758
+ started_at: z.ZodNullable<z.ZodInt>;
18759
+ path: z.ZodNullable<z.ZodString>;
18760
+ }, z.core.$strict>;
18761
+ type DownloadRow = z.output<typeof DownloadRow>;
18762
+ declare const ModelsDownloadsListResult: z.ZodObject<{
18763
+ downloads: z.ZodArray<z.ZodObject<{
18764
+ key: z.ZodString;
18765
+ kind: z.ZodEnum<{
18766
+ runtime: "runtime";
18767
+ speech_model: "speech_model";
18768
+ text_model: "text_model";
18769
+ }>;
18770
+ model: z.ZodNullable<z.ZodString>;
18771
+ state: z.ZodEnum<{
18772
+ running: "running";
18773
+ stopped: "stopped";
18774
+ }>;
18775
+ step: z.ZodNullable<z.ZodString>;
18776
+ bytes_done: z.ZodInt;
18777
+ bytes_total: z.ZodNullable<z.ZodInt>;
18778
+ fraction: z.ZodNullable<z.ZodNumber>;
18779
+ started_at: z.ZodNullable<z.ZodInt>;
18780
+ path: z.ZodNullable<z.ZodString>;
18781
+ }, z.core.$strict>>;
18782
+ }, z.core.$strict>;
18783
+ type ModelsDownloadsListResult = z.output<typeof ModelsDownloadsListResult>;
18585
18784
  declare const TranscriptSegment: z.ZodObject<{
18586
18785
  start_s: z.ZodNumber;
18587
18786
  end_s: z.ZodNumber;
@@ -18589,4 +18788,4 @@ declare const TranscriptSegment: z.ZodObject<{
18589
18788
  }, z.core.$strict>;
18590
18789
  type TranscriptSegment = z.output<typeof TranscriptSegment>;
18591
18790
 
18592
- export { ModelsLlmStatusResult as $, LlmServerState as A, BEARER_PREFIX as B, type CloseOutcome as C, DesktopProtocolError as D, EndReason as E, FsPatchEditFailure as F, MlInstallPhase as G, HelloMsg as H, MlInstallProgress as I, MlRuntimeState as J, MlServiceState as K, Limits as L, ModelsTranscribeResult as M, MlServiceStatus as N, type OpName as O, MlStatusParams as P, MlStatusResult as Q, ModelsInstallParams as R, StreamMeta as S, TranscriptionModelId as T, ModelsInstallResult as U, ModelsLlmInstallParams as V, Welcome as W, ModelsLlmInstallResult as X, ModelsLlmStartParams as Y, ModelsLlmStartResult as Z, ModelsLlmStatusParams as _, type OpParams as a, ModelsLlmStopParams as a0, ModelsLlmStopResult as a1, ModelsProgressEvent as a2, ModelsStatusParams as a3, ModelsStatusResult as a4, ModelsTranscribeParams as a5, NAMED_SCHEMAS as a6, type NamedSchemaId as a7, OpDescriptor as a8, type OpSpec as a9, PING_TEXT as aa, PONG_TEXT as ab, ProtocolErrorBody as ac, RelayMsg as ad, RequestMsg as ae, ResponseMsg as af, SERVICES as ag, SUBPROTOCOL as ah, type ServiceId as ai, type ServiceOpName as aj, type ServiceOpSpec as ak, type ServiceSpec as al, StreamMsg as am, TextModelId as an, TextModelInfo as ao, TranscriptSegment as ap, TranscriptionModelInfo as aq, closeRule as ar, isTerminalClose as as, 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, ClientToCoreMsg as j, type CloseAction as k, CloseCode as l, CloseCodeValue as m, type CloseRule as n, CoreToClientMsg as o, CreditMsg as p, EndMsg as q, ErrorCode as r, type ErrorCodeName as s, type ErrorData as t, ErrorMsg as u, ErrorReason as v, type ErrorReasonName as w, EventMsg as x, type EventName as y, LlmRunning as z };
18791
+ export { ModelsInstallResult as $, type EventName as A, BEARER_PREFIX as B, type CloseOutcome as C, DesktopProtocolError as D, EndReason as E, FsPatchEditFailure as F, LlmRunning as G, HelloMsg as H, LlmServerState as I, MlInstallPhase as J, MlInstallProgress as K, Limits as L, ModelsTranscribeResult as M, MlRuntimeState as N, type OpName as O, MlServiceState as P, MlServiceStatus as Q, MlStatusParams as R, StreamMeta as S, TranscriptionModelId as T, MlStatusResult as U, ModelsDownloadsCancelParams as V, Welcome as W, ModelsDownloadsCancelResult as X, ModelsDownloadsListParams as Y, ModelsDownloadsListResult as Z, ModelsInstallParams as _, type OpParams as a, ModelsLlmInstallParams as a0, ModelsLlmInstallResult as a1, ModelsLlmStartParams as a2, ModelsLlmStartResult as a3, ModelsLlmStatusParams as a4, ModelsLlmStatusResult as a5, ModelsLlmStopParams as a6, ModelsLlmStopResult as a7, ModelsProgressEvent as a8, ModelsStatusParams as a9, ModelsStatusResult as aa, ModelsTranscribeParams as ab, NAMED_SCHEMAS as ac, type NamedSchemaId as ad, OpDescriptor as ae, type OpSpec as af, PING_TEXT as ag, PONG_TEXT as ah, ProtocolErrorBody as ai, RelayMsg as aj, RequestMsg as ak, ResponseMsg as al, SERVICES as am, SUBPROTOCOL as an, type ServiceId as ao, type ServiceOpName as ap, type ServiceOpSpec as aq, type ServiceSpec as ar, StreamMsg as as, TextModelId as at, TextModelInfo as au, TranscriptSegment as av, TranscriptionModelInfo as aw, closeRule as ax, isTerminalClose as ay, 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, ClientToCoreMsg as j, type CloseAction as k, CloseCode as l, CloseCodeValue as m, type CloseRule as n, CoreToClientMsg as o, CreditMsg as p, DownloadKind as q, DownloadRow as r, EndMsg as s, ErrorCode as t, type ErrorCodeName as u, type ErrorData as v, ErrorMsg as w, ErrorReason as x, type ErrorReasonName as y, EventMsg as z };