@ai-matrx/agents 0.59.187 → 0.59.188

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.
@@ -642,6 +642,10 @@ interface LocalVariant {
642
642
  artifacts: LocalArtifact[];
643
643
  /** Set only on a variant that came from a pasted link or a search (`fromDiscovery`); catalog rows never carry it. */
644
644
  discovery?: VariantDiscovery;
645
+ /** ai.model_variant.review_state (set by `readModelCatalog`; "offered" = listed in apps). */
646
+ review_state?: string;
647
+ /** The public.catalog_entries rows this variant carries (metadata.catalog_entry_ids; set by `readModelCatalog`). */
648
+ catalog_entry_ids?: string[];
645
649
  }
646
650
  /** What discovery said about a variant: the server's own words, carried so the one judge can show them. */
647
651
  interface VariantDiscovery {
@@ -672,6 +676,12 @@ interface LocalPresentation {
672
676
  url: string;
673
677
  }>;
674
678
  thumbnail_file_id: string | null;
679
+ /** The admin's curated position (ai.model_presentation.display_order); `orderCatalogModels` sorts by it. */
680
+ display_order?: number | null;
681
+ hero_file_id?: string | null;
682
+ gallery_file_ids?: string[];
683
+ /** Admin display facts (ai.model_presentation.facts): ratings, speed, cutoff, tier, notes. Always set by `readModelCatalog`. */
684
+ facts?: Record<string, unknown>;
675
685
  }
676
686
  interface LocalModel {
677
687
  id: string;
@@ -689,6 +699,15 @@ interface LocalModel {
689
699
  };
690
700
  presentation: LocalPresentation | null;
691
701
  variants: LocalVariant[];
702
+ /** Matrx 2's 1.48 id for a model seeded from its old list (metadata.desktop_id). */
703
+ desktop_id?: string | null;
704
+ maker_logo_file_id?: string | null;
705
+ /** The admin Catalogs kind (`catalogKindOf`): llm_model, whisper_model, tts_model_file, image_gen_model, video_gen_model, ner_model, wake_word_model, lora. */
706
+ kind?: string;
707
+ /** At least one variant is offered (Matrx 2 lists it). */
708
+ offered?: boolean;
709
+ /** The later of the model's and its presentation's updated_at: what an admin edit sends as expected_updated_at. */
710
+ updated_at?: string | null;
692
711
  }
693
712
  interface LocalCompatRow {
694
713
  hardware_class: HardwareClass;
@@ -642,6 +642,10 @@ interface LocalVariant {
642
642
  artifacts: LocalArtifact[];
643
643
  /** Set only on a variant that came from a pasted link or a search (`fromDiscovery`); catalog rows never carry it. */
644
644
  discovery?: VariantDiscovery;
645
+ /** ai.model_variant.review_state (set by `readModelCatalog`; "offered" = listed in apps). */
646
+ review_state?: string;
647
+ /** The public.catalog_entries rows this variant carries (metadata.catalog_entry_ids; set by `readModelCatalog`). */
648
+ catalog_entry_ids?: string[];
645
649
  }
646
650
  /** What discovery said about a variant: the server's own words, carried so the one judge can show them. */
647
651
  interface VariantDiscovery {
@@ -672,6 +676,12 @@ interface LocalPresentation {
672
676
  url: string;
673
677
  }>;
674
678
  thumbnail_file_id: string | null;
679
+ /** The admin's curated position (ai.model_presentation.display_order); `orderCatalogModels` sorts by it. */
680
+ display_order?: number | null;
681
+ hero_file_id?: string | null;
682
+ gallery_file_ids?: string[];
683
+ /** Admin display facts (ai.model_presentation.facts): ratings, speed, cutoff, tier, notes. Always set by `readModelCatalog`. */
684
+ facts?: Record<string, unknown>;
675
685
  }
676
686
  interface LocalModel {
677
687
  id: string;
@@ -689,6 +699,15 @@ interface LocalModel {
689
699
  };
690
700
  presentation: LocalPresentation | null;
691
701
  variants: LocalVariant[];
702
+ /** Matrx 2's 1.48 id for a model seeded from its old list (metadata.desktop_id). */
703
+ desktop_id?: string | null;
704
+ maker_logo_file_id?: string | null;
705
+ /** The admin Catalogs kind (`catalogKindOf`): llm_model, whisper_model, tts_model_file, image_gen_model, video_gen_model, ner_model, wake_word_model, lora. */
706
+ kind?: string;
707
+ /** At least one variant is offered (Matrx 2 lists it). */
708
+ offered?: boolean;
709
+ /** The later of the model's and its presentation's updated_at: what an admin edit sends as expected_updated_at. */
710
+ updated_at?: string | null;
692
711
  }
693
712
  interface LocalCompatRow {
694
713
  hardware_class: HardwareClass;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ai-matrx/agents",
3
- "version": "0.59.187",
3
+ "version": "0.59.188",
4
4
  "description": "Portable AI Matrx agent stream protocol, event projection, and safe result-presentation primitives.",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",
@@ -508,15 +508,15 @@
508
508
  },
509
509
  "sideEffects": false,
510
510
  "dependencies": {
511
- "@ai-matrx/api": "latest",
512
- "@ai-matrx/alchemy": "latest",
513
- "@ai-matrx/associations": "latest",
514
- "@ai-matrx/content-ir": "latest",
515
- "@ai-matrx/design-system": "latest",
516
511
  "@ai-matrx/data": "latest",
512
+ "@ai-matrx/associations": "latest",
513
+ "@ai-matrx/api": "latest",
517
514
  "@ai-matrx/diff": "latest",
515
+ "@ai-matrx/design-system": "latest",
518
516
  "@ai-matrx/icons": "latest",
519
- "@ai-matrx/kit": "latest"
517
+ "@ai-matrx/content-ir": "latest",
518
+ "@ai-matrx/kit": "latest",
519
+ "@ai-matrx/alchemy": "latest"
520
520
  },
521
521
  "peerDependencies": {
522
522
  "react": ">=18.0.0",
@@ -555,11 +555,11 @@
555
555
  "scripts": {
556
556
  "build": "pnpm clean && node ./scripts/build-parts.mjs && node ../scripts/check-node-env-not-inlined.mjs",
557
557
  "clean": "node -e \"require('node:fs').rmSync('dist',{recursive:true,force:true})\"",
558
- "check:package": "node ../scripts/check-agents-below-chat.mjs && node ../scripts/check-agents-below-chat.mjs --self-test && pnpm build && node ../scripts/check-exports-agreement.mjs && publint && pnpm verify:tarball && node ../scripts/check-tarball-relative-imports.mjs --self-test && node ../scripts/check-tarball-relative-imports.mjs --pack . && node ../scripts/check-package-rules.mjs --self-test && node ../scripts/check-package-rules.mjs .",
558
+ "check:package": "node ./scripts/check-catalog-reader-columns.mjs && node ./scripts/check-catalog-reader-columns.mjs --self-test && node ../scripts/check-agents-below-chat.mjs && node ../scripts/check-agents-below-chat.mjs --self-test && pnpm build && node ../scripts/check-exports-agreement.mjs && publint && pnpm verify:tarball && node ../scripts/check-tarball-relative-imports.mjs --self-test && node ../scripts/check-tarball-relative-imports.mjs --pack . && node ../scripts/check-package-rules.mjs --self-test && node ../scripts/check-package-rules.mjs .",
559
559
  "typecheck": "tsc --noEmit",
560
560
  "test": "vitest run",
561
561
  "verify:tarball": "node ./scripts/verify-tarball.mjs",
562
562
  "typegen:self-test": "node scripts/typegen/drop-guard.self-test.mjs && node scripts/typegen/check-api-types-fresh.mjs --self-test"
563
563
  },
564
- "gitHead": "435b705867b69a903b2ca23f68772d765282b151"
564
+ "gitHead": "27c653019f18528d1da0d0c6d0b9807e81a37713"
565
565
  }