@hanzo/ui 8.27.79 → 8.27.81

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.
@@ -0,0 +1,25 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.RESEARCH = void 0;
4
+ exports.withResearch = withResearch;
5
+ /**
6
+ * The models that exist and cannot be called, said once for every list of
7
+ * models: a picker draws each one disabled, a catalogue page draws it muted.
8
+ * `/v1/models` never answers for one, so nothing can route to it.
9
+ */
10
+ exports.RESEARCH = [
11
+ {
12
+ id: 'zen7',
13
+ owned_by: 'zenlm',
14
+ family: 'zen',
15
+ name: 'Zen 7',
16
+ access: 'research',
17
+ request: 'https://hanzo.ai/research-access',
18
+ description: 'The next open-weight generation after Zen 6, in research preview.',
19
+ },
20
+ ];
21
+ /** The catalog with the research models it does not already list, appended. */
22
+ function withResearch(models) {
23
+ const ids = new Set(models.map((m) => m.id));
24
+ return [...models, ...exports.RESEARCH.filter((m) => !ids.has(m.id))];
25
+ }
@@ -0,0 +1,15 @@
1
+ /**
2
+ * The models that exist and cannot be called, apart from the rest of the
3
+ * catalog so that a page naming one (hanzo.ai's lib/zen) loads this row alone.
4
+ * `./catalog` re-exports both names.
5
+ */
6
+ import type { ModelCatalogEntry } from './catalog.js';
7
+ /**
8
+ * The models that exist and cannot be called, said once for every list of
9
+ * models: a picker draws each one disabled, a catalogue page draws it muted.
10
+ * `/v1/models` never answers for one, so nothing can route to it.
11
+ */
12
+ export declare const RESEARCH: ModelCatalogEntry[];
13
+ /** The catalog with the research models it does not already list, appended. */
14
+ export declare function withResearch(models: readonly ModelCatalogEntry[]): ModelCatalogEntry[];
15
+ //# sourceMappingURL=research.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"research.d.ts","sourceRoot":"","sources":["../../src/models/research.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,WAAW,CAAA;AAElD;;;;GAIG;AACH,eAAO,MAAM,QAAQ,EAAE,iBAAiB,EAUvC,CAAA;AAED,+EAA+E;AAC/E,wBAAgB,YAAY,CAAC,MAAM,EAAE,SAAS,iBAAiB,EAAE,GAAG,iBAAiB,EAAE,CAGtF"}
@@ -0,0 +1,22 @@
1
+ /**
2
+ * The models that exist and cannot be called, said once for every list of
3
+ * models: a picker draws each one disabled, a catalogue page draws it muted.
4
+ * `/v1/models` never answers for one, so nothing can route to it.
5
+ */
6
+ export const RESEARCH = [
7
+ {
8
+ id: 'zen7',
9
+ owned_by: 'zenlm',
10
+ family: 'zen',
11
+ name: 'Zen 7',
12
+ access: 'research',
13
+ request: 'https://hanzo.ai/research-access',
14
+ description: 'The next open-weight generation after Zen 6, in research preview.',
15
+ },
16
+ ];
17
+ /** The catalog with the research models it does not already list, appended. */
18
+ export function withResearch(models) {
19
+ const ids = new Set(models.map((m) => m.id));
20
+ return [...models, ...RESEARCH.filter((m) => !ids.has(m.id))];
21
+ }
22
+ //# sourceMappingURL=research.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"research.js","sourceRoot":"","sources":["../../src/models/research.ts"],"names":[],"mappings":"AAOA;;;;GAIG;AACH,MAAM,CAAC,MAAM,QAAQ,GAAwB;IAC3C;QACE,EAAE,EAAE,MAAM;QACV,QAAQ,EAAE,OAAO;QACjB,MAAM,EAAE,KAAK;QACb,IAAI,EAAE,OAAO;QACb,MAAM,EAAE,UAAU;QAClB,OAAO,EAAE,kCAAkC;QAC3C,WAAW,EAAE,mEAAmE;KACjF;CACF,CAAA;AAED,+EAA+E;AAC/E,MAAM,UAAU,YAAY,CAAC,MAAoC;IAC/D,MAAM,GAAG,GAAG,IAAI,GAAG,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAA;IAC5C,OAAO,CAAC,GAAG,MAAM,EAAE,GAAG,QAAQ,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAA;AAC/D,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hanzo/ui",
3
- "version": "8.27.79",
3
+ "version": "8.27.81",
4
4
  "type": "module",
5
5
  "description": "Hanzo UI — the one canonical Hanzo component library, on @hanzo/gui + @hanzo/design. ONE substrate: every component renders through @hanzo/gui primitives, so the same import works on web, native (expo) and desktop (Tauri). Self-contained (theme.css), presentational, host-agnostic, clean-room.",
6
6
  "exports": {