@ai-matrx/desktop-protocol 0.21.52 → 0.21.53

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.
@@ -1596,10 +1596,12 @@ declare const OPS: {
1596
1596
  readonly "models.llm.install": {
1597
1597
  readonly params: z.ZodObject<{
1598
1598
  model: z.ZodString;
1599
+ hf_token: z.ZodOptional<z.ZodString>;
1599
1600
  }, z.core.$strict>;
1600
1601
  readonly result: z.ZodObject<{
1601
1602
  model: z.ZodString;
1602
1603
  elapsed_ms: z.ZodInt;
1604
+ hashed: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1603
1605
  }, z.core.$strict>;
1604
1606
  readonly kind: "unary";
1605
1607
  readonly since: "1.31";
@@ -8530,10 +8532,12 @@ declare const SERVICES: {
8530
8532
  readonly "ml.llm_install": {
8531
8533
  readonly params: z.ZodObject<{
8532
8534
  model: z.ZodString;
8535
+ hf_token: z.ZodOptional<z.ZodString>;
8533
8536
  }, z.core.$strict>;
8534
8537
  readonly result: z.ZodObject<{
8535
8538
  model: z.ZodString;
8536
8539
  elapsed_ms: z.ZodInt;
8540
+ hashed: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
8537
8541
  }, z.core.$strict>;
8538
8542
  };
8539
8543
  readonly "ml.llm_start": {
@@ -8605,7 +8609,7 @@ declare const SERVICES: {
8605
8609
  path: z.ZodString;
8606
8610
  url: z.ZodString;
8607
8611
  size_bytes: z.ZodInt;
8608
- sha256: z.ZodString;
8612
+ sha256: z.ZodNullable<z.ZodString>;
8609
8613
  role: z.ZodString;
8610
8614
  }, z.core.$strict>>;
8611
8615
  }, z.core.$strict>>;
@@ -8618,7 +8622,7 @@ declare const SERVICES: {
8618
8622
  path: z.ZodString;
8619
8623
  url: z.ZodString;
8620
8624
  size_bytes: z.ZodInt;
8621
- sha256: z.ZodString;
8625
+ sha256: z.ZodNullable<z.ZodString>;
8622
8626
  role: z.ZodString;
8623
8627
  }, z.core.$strict>>;
8624
8628
  }, z.core.$strict>>;
@@ -10627,7 +10631,7 @@ declare const NAMED_SCHEMAS: {
10627
10631
  path: z.ZodString;
10628
10632
  url: z.ZodString;
10629
10633
  size_bytes: z.ZodInt;
10630
- sha256: z.ZodString;
10634
+ sha256: z.ZodNullable<z.ZodString>;
10631
10635
  role: z.ZodString;
10632
10636
  }, z.core.$strict>;
10633
10637
  readonly CatalogModelEntry: z.ZodObject<{
@@ -10639,7 +10643,7 @@ declare const NAMED_SCHEMAS: {
10639
10643
  path: z.ZodString;
10640
10644
  url: z.ZodString;
10641
10645
  size_bytes: z.ZodInt;
10642
- sha256: z.ZodString;
10646
+ sha256: z.ZodNullable<z.ZodString>;
10643
10647
  role: z.ZodString;
10644
10648
  }, z.core.$strict>>;
10645
10649
  }, z.core.$strict>;
@@ -10659,7 +10663,7 @@ declare const NAMED_SCHEMAS: {
10659
10663
  path: z.ZodString;
10660
10664
  url: z.ZodString;
10661
10665
  size_bytes: z.ZodInt;
10662
- sha256: z.ZodString;
10666
+ sha256: z.ZodNullable<z.ZodString>;
10663
10667
  role: z.ZodString;
10664
10668
  }, z.core.$strict>>;
10665
10669
  }, z.core.$strict>>;
@@ -10672,7 +10676,7 @@ declare const NAMED_SCHEMAS: {
10672
10676
  path: z.ZodString;
10673
10677
  url: z.ZodString;
10674
10678
  size_bytes: z.ZodInt;
10675
- sha256: z.ZodString;
10679
+ sha256: z.ZodNullable<z.ZodString>;
10676
10680
  role: z.ZodString;
10677
10681
  }, z.core.$strict>>;
10678
10682
  }, z.core.$strict>>;
@@ -10737,10 +10741,12 @@ declare const NAMED_SCHEMAS: {
10737
10741
  }, z.core.$strict>;
10738
10742
  readonly ModelsLlmInstallParams: z.ZodObject<{
10739
10743
  model: z.ZodString;
10744
+ hf_token: z.ZodOptional<z.ZodString>;
10740
10745
  }, z.core.$strict>;
10741
10746
  readonly ModelsLlmInstallResult: z.ZodObject<{
10742
10747
  model: z.ZodString;
10743
10748
  elapsed_ms: z.ZodInt;
10749
+ hashed: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
10744
10750
  }, z.core.$strict>;
10745
10751
  readonly ModelsLlmStartParams: z.ZodObject<{
10746
10752
  model: z.ZodString;
@@ -19330,7 +19336,7 @@ declare const CatalogFile: z.ZodObject<{
19330
19336
  path: z.ZodString;
19331
19337
  url: z.ZodString;
19332
19338
  size_bytes: z.ZodInt;
19333
- sha256: z.ZodString;
19339
+ sha256: z.ZodNullable<z.ZodString>;
19334
19340
  role: z.ZodString;
19335
19341
  }, z.core.$strict>;
19336
19342
  type CatalogFile = z.output<typeof CatalogFile>;
@@ -19343,7 +19349,7 @@ declare const CatalogModelEntry: z.ZodObject<{
19343
19349
  path: z.ZodString;
19344
19350
  url: z.ZodString;
19345
19351
  size_bytes: z.ZodInt;
19346
- sha256: z.ZodString;
19352
+ sha256: z.ZodNullable<z.ZodString>;
19347
19353
  role: z.ZodString;
19348
19354
  }, z.core.$strict>>;
19349
19355
  }, z.core.$strict>;
@@ -19366,7 +19372,7 @@ declare const MlCatalogSetParams: z.ZodObject<{
19366
19372
  path: z.ZodString;
19367
19373
  url: z.ZodString;
19368
19374
  size_bytes: z.ZodInt;
19369
- sha256: z.ZodString;
19375
+ sha256: z.ZodNullable<z.ZodString>;
19370
19376
  role: z.ZodString;
19371
19377
  }, z.core.$strict>>;
19372
19378
  }, z.core.$strict>>;
@@ -19379,7 +19385,7 @@ declare const MlCatalogSetParams: z.ZodObject<{
19379
19385
  path: z.ZodString;
19380
19386
  url: z.ZodString;
19381
19387
  size_bytes: z.ZodInt;
19382
- sha256: z.ZodString;
19388
+ sha256: z.ZodNullable<z.ZodString>;
19383
19389
  role: z.ZodString;
19384
19390
  }, z.core.$strict>>;
19385
19391
  }, z.core.$strict>>;
@@ -19555,11 +19561,13 @@ type ModelsLlmStatusParams = z.output<typeof ModelsLlmStatusParams>;
19555
19561
  /** Download the model server program (if missing) and one model's weights. Progress: models.progress. */
19556
19562
  declare const ModelsLlmInstallParams: z.ZodObject<{
19557
19563
  model: z.ZodString;
19564
+ hf_token: z.ZodOptional<z.ZodString>;
19558
19565
  }, z.core.$strict>;
19559
19566
  type ModelsLlmInstallParams = z.output<typeof ModelsLlmInstallParams>;
19560
19567
  declare const ModelsLlmInstallResult: z.ZodObject<{
19561
19568
  model: z.ZodString;
19562
19569
  elapsed_ms: z.ZodInt;
19570
+ hashed: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
19563
19571
  }, z.core.$strict>;
19564
19572
  type ModelsLlmInstallResult = z.output<typeof ModelsLlmInstallResult>;
19565
19573
  /** Load one downloaded model (stopping any other). Resolves once the server answers its health check. */
@@ -1596,10 +1596,12 @@ declare const OPS: {
1596
1596
  readonly "models.llm.install": {
1597
1597
  readonly params: z.ZodObject<{
1598
1598
  model: z.ZodString;
1599
+ hf_token: z.ZodOptional<z.ZodString>;
1599
1600
  }, z.core.$strict>;
1600
1601
  readonly result: z.ZodObject<{
1601
1602
  model: z.ZodString;
1602
1603
  elapsed_ms: z.ZodInt;
1604
+ hashed: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1603
1605
  }, z.core.$strict>;
1604
1606
  readonly kind: "unary";
1605
1607
  readonly since: "1.31";
@@ -8530,10 +8532,12 @@ declare const SERVICES: {
8530
8532
  readonly "ml.llm_install": {
8531
8533
  readonly params: z.ZodObject<{
8532
8534
  model: z.ZodString;
8535
+ hf_token: z.ZodOptional<z.ZodString>;
8533
8536
  }, z.core.$strict>;
8534
8537
  readonly result: z.ZodObject<{
8535
8538
  model: z.ZodString;
8536
8539
  elapsed_ms: z.ZodInt;
8540
+ hashed: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
8537
8541
  }, z.core.$strict>;
8538
8542
  };
8539
8543
  readonly "ml.llm_start": {
@@ -8605,7 +8609,7 @@ declare const SERVICES: {
8605
8609
  path: z.ZodString;
8606
8610
  url: z.ZodString;
8607
8611
  size_bytes: z.ZodInt;
8608
- sha256: z.ZodString;
8612
+ sha256: z.ZodNullable<z.ZodString>;
8609
8613
  role: z.ZodString;
8610
8614
  }, z.core.$strict>>;
8611
8615
  }, z.core.$strict>>;
@@ -8618,7 +8622,7 @@ declare const SERVICES: {
8618
8622
  path: z.ZodString;
8619
8623
  url: z.ZodString;
8620
8624
  size_bytes: z.ZodInt;
8621
- sha256: z.ZodString;
8625
+ sha256: z.ZodNullable<z.ZodString>;
8622
8626
  role: z.ZodString;
8623
8627
  }, z.core.$strict>>;
8624
8628
  }, z.core.$strict>>;
@@ -10627,7 +10631,7 @@ declare const NAMED_SCHEMAS: {
10627
10631
  path: z.ZodString;
10628
10632
  url: z.ZodString;
10629
10633
  size_bytes: z.ZodInt;
10630
- sha256: z.ZodString;
10634
+ sha256: z.ZodNullable<z.ZodString>;
10631
10635
  role: z.ZodString;
10632
10636
  }, z.core.$strict>;
10633
10637
  readonly CatalogModelEntry: z.ZodObject<{
@@ -10639,7 +10643,7 @@ declare const NAMED_SCHEMAS: {
10639
10643
  path: z.ZodString;
10640
10644
  url: z.ZodString;
10641
10645
  size_bytes: z.ZodInt;
10642
- sha256: z.ZodString;
10646
+ sha256: z.ZodNullable<z.ZodString>;
10643
10647
  role: z.ZodString;
10644
10648
  }, z.core.$strict>>;
10645
10649
  }, z.core.$strict>;
@@ -10659,7 +10663,7 @@ declare const NAMED_SCHEMAS: {
10659
10663
  path: z.ZodString;
10660
10664
  url: z.ZodString;
10661
10665
  size_bytes: z.ZodInt;
10662
- sha256: z.ZodString;
10666
+ sha256: z.ZodNullable<z.ZodString>;
10663
10667
  role: z.ZodString;
10664
10668
  }, z.core.$strict>>;
10665
10669
  }, z.core.$strict>>;
@@ -10672,7 +10676,7 @@ declare const NAMED_SCHEMAS: {
10672
10676
  path: z.ZodString;
10673
10677
  url: z.ZodString;
10674
10678
  size_bytes: z.ZodInt;
10675
- sha256: z.ZodString;
10679
+ sha256: z.ZodNullable<z.ZodString>;
10676
10680
  role: z.ZodString;
10677
10681
  }, z.core.$strict>>;
10678
10682
  }, z.core.$strict>>;
@@ -10737,10 +10741,12 @@ declare const NAMED_SCHEMAS: {
10737
10741
  }, z.core.$strict>;
10738
10742
  readonly ModelsLlmInstallParams: z.ZodObject<{
10739
10743
  model: z.ZodString;
10744
+ hf_token: z.ZodOptional<z.ZodString>;
10740
10745
  }, z.core.$strict>;
10741
10746
  readonly ModelsLlmInstallResult: z.ZodObject<{
10742
10747
  model: z.ZodString;
10743
10748
  elapsed_ms: z.ZodInt;
10749
+ hashed: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
10744
10750
  }, z.core.$strict>;
10745
10751
  readonly ModelsLlmStartParams: z.ZodObject<{
10746
10752
  model: z.ZodString;
@@ -19330,7 +19336,7 @@ declare const CatalogFile: z.ZodObject<{
19330
19336
  path: z.ZodString;
19331
19337
  url: z.ZodString;
19332
19338
  size_bytes: z.ZodInt;
19333
- sha256: z.ZodString;
19339
+ sha256: z.ZodNullable<z.ZodString>;
19334
19340
  role: z.ZodString;
19335
19341
  }, z.core.$strict>;
19336
19342
  type CatalogFile = z.output<typeof CatalogFile>;
@@ -19343,7 +19349,7 @@ declare const CatalogModelEntry: z.ZodObject<{
19343
19349
  path: z.ZodString;
19344
19350
  url: z.ZodString;
19345
19351
  size_bytes: z.ZodInt;
19346
- sha256: z.ZodString;
19352
+ sha256: z.ZodNullable<z.ZodString>;
19347
19353
  role: z.ZodString;
19348
19354
  }, z.core.$strict>>;
19349
19355
  }, z.core.$strict>;
@@ -19366,7 +19372,7 @@ declare const MlCatalogSetParams: z.ZodObject<{
19366
19372
  path: z.ZodString;
19367
19373
  url: z.ZodString;
19368
19374
  size_bytes: z.ZodInt;
19369
- sha256: z.ZodString;
19375
+ sha256: z.ZodNullable<z.ZodString>;
19370
19376
  role: z.ZodString;
19371
19377
  }, z.core.$strict>>;
19372
19378
  }, z.core.$strict>>;
@@ -19379,7 +19385,7 @@ declare const MlCatalogSetParams: z.ZodObject<{
19379
19385
  path: z.ZodString;
19380
19386
  url: z.ZodString;
19381
19387
  size_bytes: z.ZodInt;
19382
- sha256: z.ZodString;
19388
+ sha256: z.ZodNullable<z.ZodString>;
19383
19389
  role: z.ZodString;
19384
19390
  }, z.core.$strict>>;
19385
19391
  }, z.core.$strict>>;
@@ -19555,11 +19561,13 @@ type ModelsLlmStatusParams = z.output<typeof ModelsLlmStatusParams>;
19555
19561
  /** Download the model server program (if missing) and one model's weights. Progress: models.progress. */
19556
19562
  declare const ModelsLlmInstallParams: z.ZodObject<{
19557
19563
  model: z.ZodString;
19564
+ hf_token: z.ZodOptional<z.ZodString>;
19558
19565
  }, z.core.$strict>;
19559
19566
  type ModelsLlmInstallParams = z.output<typeof ModelsLlmInstallParams>;
19560
19567
  declare const ModelsLlmInstallResult: z.ZodObject<{
19561
19568
  model: z.ZodString;
19562
19569
  elapsed_ms: z.ZodInt;
19570
+ hashed: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
19563
19571
  }, z.core.$strict>;
19564
19572
  type ModelsLlmInstallResult = z.output<typeof ModelsLlmInstallResult>;
19565
19573
  /** Load one downloaded model (stopping any other). Resolves once the server answers its health check. */
package/dist/react.d.cts CHANGED
@@ -1032,10 +1032,12 @@ declare const OPS: {
1032
1032
  readonly "models.llm.install": {
1033
1033
  readonly params: z.ZodObject<{
1034
1034
  model: z.ZodString;
1035
+ hf_token: z.ZodOptional<z.ZodString>;
1035
1036
  }, z.core.$strict>;
1036
1037
  readonly result: z.ZodObject<{
1037
1038
  model: z.ZodString;
1038
1039
  elapsed_ms: z.ZodInt;
1040
+ hashed: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1039
1041
  }, z.core.$strict>;
1040
1042
  readonly kind: "unary";
1041
1043
  readonly since: "1.31";
package/dist/react.d.ts CHANGED
@@ -1032,10 +1032,12 @@ declare const OPS: {
1032
1032
  readonly "models.llm.install": {
1033
1033
  readonly params: z.ZodObject<{
1034
1034
  model: z.ZodString;
1035
+ hf_token: z.ZodOptional<z.ZodString>;
1035
1036
  }, z.core.$strict>;
1036
1037
  readonly result: z.ZodObject<{
1037
1038
  model: z.ZodString;
1038
1039
  elapsed_ms: z.ZodInt;
1040
+ hashed: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1039
1041
  }, z.core.$strict>;
1040
1042
  readonly kind: "unary";
1041
1043
  readonly since: "1.31";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ai-matrx/desktop-protocol",
3
- "version": "0.21.52",
3
+ "version": "0.21.53",
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": "cbd00cd23dc8d768dc7a833c003364b281fcdc08"
140
+ "gitHead": "37251414aa4b0a64fc50c757dddb3492cdaa66bc"
141
141
  }