@ai-matrx/desktop-protocol 0.21.36 → 0.21.38

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,45 @@ 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
+ error: z.ZodOptional<z.ZodString>;
1759
+ }, z.core.$strict>>;
1760
+ }, z.core.$strict>;
1761
+ readonly kind: "unary";
1762
+ readonly since: "1.45";
1763
+ readonly errors: readonly ["INTERNAL"];
1764
+ };
1765
+ readonly "models.downloads.cancel": {
1766
+ readonly params: z.ZodObject<{
1767
+ key: z.ZodString;
1768
+ }, z.core.$strict>;
1769
+ readonly result: z.ZodObject<{
1770
+ cancelled: z.ZodBoolean;
1771
+ }, z.core.$strict>;
1772
+ readonly kind: "unary";
1773
+ readonly since: "1.45";
1774
+ readonly errors: readonly ["NOT_FOUND", "INTERNAL"];
1775
+ };
1730
1776
  readonly "apps.list": {
1731
1777
  readonly params: z.ZodObject<{}, z.core.$strict>;
1732
1778
  readonly result: z.ZodObject<{
@@ -6132,9 +6178,9 @@ declare const OPS: {
6132
6178
  id: z.ZodString;
6133
6179
  name: z.ZodString;
6134
6180
  kind: z.ZodEnum<{
6181
+ key: "key";
6135
6182
  login: "login";
6136
6183
  passkey: "passkey";
6137
- key: "key";
6138
6184
  other: "other";
6139
6185
  }>;
6140
6186
  definition: z.ZodString;
@@ -6237,9 +6283,9 @@ declare const OPS: {
6237
6283
  waiting: "waiting";
6238
6284
  }>>;
6239
6285
  sort: z.ZodOptional<z.ZodEnum<{
6286
+ started_at: "started_at";
6240
6287
  status: "status";
6241
6288
  cost: "cost";
6242
- started_at: "started_at";
6243
6289
  duration: "duration";
6244
6290
  }>>;
6245
6291
  descending: z.ZodOptional<z.ZodBoolean>;
@@ -8260,6 +8306,39 @@ declare const SERVICES: {
8260
8306
  stopped: z.ZodBoolean;
8261
8307
  }, z.core.$strict>;
8262
8308
  };
8309
+ readonly "ml.downloads": {
8310
+ readonly params: z.ZodObject<{}, z.core.$strict>;
8311
+ readonly result: z.ZodObject<{
8312
+ downloads: z.ZodArray<z.ZodObject<{
8313
+ key: z.ZodString;
8314
+ kind: z.ZodEnum<{
8315
+ runtime: "runtime";
8316
+ speech_model: "speech_model";
8317
+ text_model: "text_model";
8318
+ }>;
8319
+ model: z.ZodNullable<z.ZodString>;
8320
+ state: z.ZodEnum<{
8321
+ running: "running";
8322
+ stopped: "stopped";
8323
+ }>;
8324
+ step: z.ZodNullable<z.ZodString>;
8325
+ bytes_done: z.ZodInt;
8326
+ bytes_total: z.ZodNullable<z.ZodInt>;
8327
+ fraction: z.ZodNullable<z.ZodNumber>;
8328
+ started_at: z.ZodNullable<z.ZodInt>;
8329
+ path: z.ZodNullable<z.ZodString>;
8330
+ error: z.ZodOptional<z.ZodString>;
8331
+ }, z.core.$strict>>;
8332
+ }, z.core.$strict>;
8333
+ };
8334
+ readonly "ml.download_cancel": {
8335
+ readonly params: z.ZodObject<{
8336
+ key: z.ZodString;
8337
+ }, z.core.$strict>;
8338
+ readonly result: z.ZodObject<{
8339
+ cancelled: z.ZodBoolean;
8340
+ }, z.core.$strict>;
8341
+ };
8263
8342
  };
8264
8343
  };
8265
8344
  readonly coding: {
@@ -9232,6 +9311,20 @@ declare const NAMED_SCHEMAS: {
9232
9311
  os_name: z.ZodNullable<z.ZodString>;
9233
9312
  os_version: z.ZodNullable<z.ZodString>;
9234
9313
  os_build: z.ZodNullable<z.ZodString>;
9314
+ graphics: z.ZodOptional<z.ZodArray<z.ZodObject<{
9315
+ name: z.ZodString;
9316
+ vendor: z.ZodNullable<z.ZodString>;
9317
+ memory_bytes: z.ZodNullable<z.ZodInt>;
9318
+ memory_approximate: z.ZodBoolean;
9319
+ unified: z.ZodBoolean;
9320
+ }, z.core.$strict>>>;
9321
+ }, z.core.$strict>;
9322
+ readonly SysinfoGraphicsAdapter: z.ZodObject<{
9323
+ name: z.ZodString;
9324
+ vendor: z.ZodNullable<z.ZodString>;
9325
+ memory_bytes: z.ZodNullable<z.ZodInt>;
9326
+ memory_approximate: z.ZodBoolean;
9327
+ unified: z.ZodBoolean;
9235
9328
  }, z.core.$strict>;
9236
9329
  readonly FsKind: z.ZodEnum<{
9237
9330
  file: "file";
@@ -10261,6 +10354,60 @@ declare const NAMED_SCHEMAS: {
10261
10354
  readonly ModelsLlmStopResult: z.ZodObject<{
10262
10355
  stopped: z.ZodBoolean;
10263
10356
  }, z.core.$strict>;
10357
+ readonly DownloadKind: z.ZodEnum<{
10358
+ runtime: "runtime";
10359
+ speech_model: "speech_model";
10360
+ text_model: "text_model";
10361
+ }>;
10362
+ readonly DownloadRow: z.ZodObject<{
10363
+ key: z.ZodString;
10364
+ kind: z.ZodEnum<{
10365
+ runtime: "runtime";
10366
+ speech_model: "speech_model";
10367
+ text_model: "text_model";
10368
+ }>;
10369
+ model: z.ZodNullable<z.ZodString>;
10370
+ state: z.ZodEnum<{
10371
+ running: "running";
10372
+ stopped: "stopped";
10373
+ }>;
10374
+ step: z.ZodNullable<z.ZodString>;
10375
+ bytes_done: z.ZodInt;
10376
+ bytes_total: z.ZodNullable<z.ZodInt>;
10377
+ fraction: z.ZodNullable<z.ZodNumber>;
10378
+ started_at: z.ZodNullable<z.ZodInt>;
10379
+ path: z.ZodNullable<z.ZodString>;
10380
+ error: z.ZodOptional<z.ZodString>;
10381
+ }, z.core.$strict>;
10382
+ readonly ModelsDownloadsListParams: z.ZodObject<{}, z.core.$strict>;
10383
+ readonly ModelsDownloadsListResult: z.ZodObject<{
10384
+ downloads: z.ZodArray<z.ZodObject<{
10385
+ key: z.ZodString;
10386
+ kind: z.ZodEnum<{
10387
+ runtime: "runtime";
10388
+ speech_model: "speech_model";
10389
+ text_model: "text_model";
10390
+ }>;
10391
+ model: z.ZodNullable<z.ZodString>;
10392
+ state: z.ZodEnum<{
10393
+ running: "running";
10394
+ stopped: "stopped";
10395
+ }>;
10396
+ step: z.ZodNullable<z.ZodString>;
10397
+ bytes_done: z.ZodInt;
10398
+ bytes_total: z.ZodNullable<z.ZodInt>;
10399
+ fraction: z.ZodNullable<z.ZodNumber>;
10400
+ started_at: z.ZodNullable<z.ZodInt>;
10401
+ path: z.ZodNullable<z.ZodString>;
10402
+ error: z.ZodOptional<z.ZodString>;
10403
+ }, z.core.$strict>>;
10404
+ }, z.core.$strict>;
10405
+ readonly ModelsDownloadsCancelParams: z.ZodObject<{
10406
+ key: z.ZodString;
10407
+ }, z.core.$strict>;
10408
+ readonly ModelsDownloadsCancelResult: z.ZodObject<{
10409
+ cancelled: z.ZodBoolean;
10410
+ }, z.core.$strict>;
10264
10411
  readonly CodingServiceCredentials: z.ZodObject<{
10265
10412
  access_token: z.ZodString;
10266
10413
  user_id: z.ZodString;
@@ -16423,9 +16570,9 @@ declare const NAMED_SCHEMAS: {
16423
16570
  }, z.core.$strict>>;
16424
16571
  }, z.core.$strict>;
16425
16572
  readonly VaultItemKind: z.ZodEnum<{
16573
+ key: "key";
16426
16574
  login: "login";
16427
16575
  passkey: "passkey";
16428
- key: "key";
16429
16576
  other: "other";
16430
16577
  }>;
16431
16578
  readonly VaultFieldSummary: z.ZodObject<{
@@ -16441,9 +16588,9 @@ declare const NAMED_SCHEMAS: {
16441
16588
  id: z.ZodString;
16442
16589
  name: z.ZodString;
16443
16590
  kind: z.ZodEnum<{
16591
+ key: "key";
16444
16592
  login: "login";
16445
16593
  passkey: "passkey";
16446
- key: "key";
16447
16594
  other: "other";
16448
16595
  }>;
16449
16596
  definition: z.ZodString;
@@ -16476,9 +16623,9 @@ declare const NAMED_SCHEMAS: {
16476
16623
  id: z.ZodString;
16477
16624
  name: z.ZodString;
16478
16625
  kind: z.ZodEnum<{
16626
+ key: "key";
16479
16627
  login: "login";
16480
16628
  passkey: "passkey";
16481
- key: "key";
16482
16629
  other: "other";
16483
16630
  }>;
16484
16631
  definition: z.ZodString;
@@ -16628,9 +16775,9 @@ declare const NAMED_SCHEMAS: {
16628
16775
  has_transcript: z.ZodBoolean;
16629
16776
  }, z.core.$strict>;
16630
16777
  readonly AccountAgentRunSort: z.ZodEnum<{
16778
+ started_at: "started_at";
16631
16779
  status: "status";
16632
16780
  cost: "cost";
16633
- started_at: "started_at";
16634
16781
  duration: "duration";
16635
16782
  }>;
16636
16783
  readonly AccountAgentsRunsParams: z.ZodObject<{
@@ -16644,9 +16791,9 @@ declare const NAMED_SCHEMAS: {
16644
16791
  waiting: "waiting";
16645
16792
  }>>;
16646
16793
  sort: z.ZodOptional<z.ZodEnum<{
16794
+ started_at: "started_at";
16647
16795
  status: "status";
16648
16796
  cost: "cost";
16649
- started_at: "started_at";
16650
16797
  duration: "duration";
16651
16798
  }>>;
16652
16799
  descending: z.ZodOptional<z.ZodBoolean>;
@@ -18229,6 +18376,20 @@ declare const ModelsLlmStopParams: z.ZodObject<{}, z.core.$strict>;
18229
18376
  declare const ModelsLlmStopResult: z.ZodObject<{
18230
18377
  stopped: z.ZodBoolean;
18231
18378
  }, z.core.$strict>;
18379
+ /** What a download fetches: a speech model, a language model, or a runtime (speech runtime, model server program). */
18380
+ declare const DownloadKind: z.ZodEnum<{
18381
+ runtime: "runtime";
18382
+ speech_model: "speech_model";
18383
+ text_model: "text_model";
18384
+ }>;
18385
+ declare const ModelsDownloadsListParams: z.ZodObject<{}, z.core.$strict>;
18386
+ /** Cancel one running download (every caller waiting on it gets CANCELLED); its half-done file stays for Resume. */
18387
+ declare const ModelsDownloadsCancelParams: z.ZodObject<{
18388
+ key: z.ZodString;
18389
+ }, z.core.$strict>;
18390
+ declare const ModelsDownloadsCancelResult: z.ZodObject<{
18391
+ cancelled: z.ZodBoolean;
18392
+ }, z.core.$strict>;
18232
18393
  /** The supervisor's view of the `ml` service process. */
18233
18394
  declare const MlServiceState: z.ZodEnum<{
18234
18395
  failed: "failed";
@@ -18582,6 +18743,50 @@ declare const ModelsLlmStartResult: z.ZodObject<{
18582
18743
  elapsed_ms: z.ZodInt;
18583
18744
  }, z.core.$strict>;
18584
18745
  type ModelsLlmStartResult = z.output<typeof ModelsLlmStartResult>;
18746
+ declare const DownloadRow: z.ZodObject<{
18747
+ key: z.ZodString;
18748
+ kind: z.ZodEnum<{
18749
+ runtime: "runtime";
18750
+ speech_model: "speech_model";
18751
+ text_model: "text_model";
18752
+ }>;
18753
+ model: z.ZodNullable<z.ZodString>;
18754
+ state: z.ZodEnum<{
18755
+ running: "running";
18756
+ stopped: "stopped";
18757
+ }>;
18758
+ step: z.ZodNullable<z.ZodString>;
18759
+ bytes_done: z.ZodInt;
18760
+ bytes_total: z.ZodNullable<z.ZodInt>;
18761
+ fraction: z.ZodNullable<z.ZodNumber>;
18762
+ started_at: z.ZodNullable<z.ZodInt>;
18763
+ path: z.ZodNullable<z.ZodString>;
18764
+ error: z.ZodOptional<z.ZodString>;
18765
+ }, z.core.$strict>;
18766
+ type DownloadRow = z.output<typeof DownloadRow>;
18767
+ declare const ModelsDownloadsListResult: z.ZodObject<{
18768
+ downloads: z.ZodArray<z.ZodObject<{
18769
+ key: z.ZodString;
18770
+ kind: z.ZodEnum<{
18771
+ runtime: "runtime";
18772
+ speech_model: "speech_model";
18773
+ text_model: "text_model";
18774
+ }>;
18775
+ model: z.ZodNullable<z.ZodString>;
18776
+ state: z.ZodEnum<{
18777
+ running: "running";
18778
+ stopped: "stopped";
18779
+ }>;
18780
+ step: z.ZodNullable<z.ZodString>;
18781
+ bytes_done: z.ZodInt;
18782
+ bytes_total: z.ZodNullable<z.ZodInt>;
18783
+ fraction: z.ZodNullable<z.ZodNumber>;
18784
+ started_at: z.ZodNullable<z.ZodInt>;
18785
+ path: z.ZodNullable<z.ZodString>;
18786
+ error: z.ZodOptional<z.ZodString>;
18787
+ }, z.core.$strict>>;
18788
+ }, z.core.$strict>;
18789
+ type ModelsDownloadsListResult = z.output<typeof ModelsDownloadsListResult>;
18585
18790
  declare const TranscriptSegment: z.ZodObject<{
18586
18791
  start_s: z.ZodNumber;
18587
18792
  end_s: z.ZodNumber;
@@ -18589,4 +18794,4 @@ declare const TranscriptSegment: z.ZodObject<{
18589
18794
  }, z.core.$strict>;
18590
18795
  type TranscriptSegment = z.output<typeof TranscriptSegment>;
18591
18796
 
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 };
18797
+ 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 };