interscript 3.1.0 → 3.2.0
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.
- package/dist/ml/index.d.ts +6 -0
- package/dist/ml/index.d.ts.map +1 -1
- package/dist/ml/index.js +6 -0
- package/dist/ml/index.js.map +1 -1
- package/package.json +1 -1
package/dist/ml/index.d.ts
CHANGED
|
@@ -19,6 +19,12 @@ export { registerModel, loadModel, registeredKinds, resetModels } from "./regist
|
|
|
19
19
|
export { createSession, detectBackend } from "./session/index.js";
|
|
20
20
|
export { setModelBase, getModelBase } from "./provision/base.js";
|
|
21
21
|
export { loadManifest, resolveManifestEntry, artifactUrls, sidecarFilenames, setInlineManifest, setManifestUrl, type AssetVariant, type Manifest, type ManifestModelEntry, } from "./provision/manifest.js";
|
|
22
|
+
/**
|
|
23
|
+
* The IMF v1 registry — models.yaml resolution over GitHub Releases
|
|
24
|
+
* (sha256-sidecar-verified). This is the canonical way to load models
|
|
25
|
+
* by id; `import { imf } from "interscript/ml"`.
|
|
26
|
+
*/
|
|
27
|
+
export * as imf from "./imf/index.js";
|
|
22
28
|
import "./models/rababa/index.js";
|
|
23
29
|
import "./models/secryst/index.js";
|
|
24
30
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/ml/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/ml/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AAEH,YAAY,EACV,KAAK,EACL,cAAc,EACd,YAAY,EACZ,SAAS,EACT,eAAe,EACf,QAAQ,EACR,eAAe,EACf,gBAAgB,EAChB,gBAAgB,EAChB,MAAM,GACP,MAAM,YAAY,CAAA;AAEnB,OAAO,EAAE,aAAa,EAAE,SAAS,EAAE,eAAe,EAAE,WAAW,EAAE,MAAM,eAAe,CAAA;AAEtF,OAAO,EAAE,aAAa,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAA;AAEjE,OAAO,EAAE,YAAY,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAA;AAEhE,OAAO,EACL,YAAY,EACZ,oBAAoB,EACpB,YAAY,EACZ,gBAAgB,EAChB,iBAAiB,EACjB,cAAc,EACd,KAAK,YAAY,EACjB,KAAK,QAAQ,EACb,KAAK,kBAAkB,GACxB,MAAM,yBAAyB,CAAA;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/ml/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AAEH,YAAY,EACV,KAAK,EACL,cAAc,EACd,YAAY,EACZ,SAAS,EACT,eAAe,EACf,QAAQ,EACR,eAAe,EACf,gBAAgB,EAChB,gBAAgB,EAChB,MAAM,GACP,MAAM,YAAY,CAAA;AAEnB,OAAO,EAAE,aAAa,EAAE,SAAS,EAAE,eAAe,EAAE,WAAW,EAAE,MAAM,eAAe,CAAA;AAEtF,OAAO,EAAE,aAAa,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAA;AAEjE,OAAO,EAAE,YAAY,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAA;AAEhE,OAAO,EACL,YAAY,EACZ,oBAAoB,EACpB,YAAY,EACZ,gBAAgB,EAChB,iBAAiB,EACjB,cAAc,EACd,KAAK,YAAY,EACjB,KAAK,QAAQ,EACb,KAAK,kBAAkB,GACxB,MAAM,yBAAyB,CAAA;AAEhC;;;;GAIG;AACH,OAAO,KAAK,GAAG,MAAM,gBAAgB,CAAA;AAIrC,OAAO,0BAA0B,CAAA;AACjC,OAAO,2BAA2B,CAAA"}
|
package/dist/ml/index.js
CHANGED
|
@@ -18,6 +18,12 @@ export { registerModel, loadModel, registeredKinds, resetModels } from "./regist
|
|
|
18
18
|
export { createSession, detectBackend } from "./session/index.js";
|
|
19
19
|
export { setModelBase, getModelBase } from "./provision/base.js";
|
|
20
20
|
export { loadManifest, resolveManifestEntry, artifactUrls, sidecarFilenames, setInlineManifest, setManifestUrl, } from "./provision/manifest.js";
|
|
21
|
+
/**
|
|
22
|
+
* The IMF v1 registry — models.yaml resolution over GitHub Releases
|
|
23
|
+
* (sha256-sidecar-verified). This is the canonical way to load models
|
|
24
|
+
* by id; `import { imf } from "interscript/ml"`.
|
|
25
|
+
*/
|
|
26
|
+
export * as imf from "./imf/index.js";
|
|
21
27
|
// Side-effect: register built-in model kinds. Adding a new model kind
|
|
22
28
|
// = adding a new import here. Order doesn't matter.
|
|
23
29
|
import "./models/rababa/index.js";
|
package/dist/ml/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/ml/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AAeH,OAAO,EAAE,aAAa,EAAE,SAAS,EAAE,eAAe,EAAE,WAAW,EAAE,MAAM,eAAe,CAAA;AAEtF,OAAO,EAAE,aAAa,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAA;AAEjE,OAAO,EAAE,YAAY,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAA;AAEhE,OAAO,EACL,YAAY,EACZ,oBAAoB,EACpB,YAAY,EACZ,gBAAgB,EAChB,iBAAiB,EACjB,cAAc,GAIf,MAAM,yBAAyB,CAAA;AAEhC,sEAAsE;AACtE,oDAAoD;AACpD,OAAO,0BAA0B,CAAA;AACjC,OAAO,2BAA2B,CAAA"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/ml/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AAeH,OAAO,EAAE,aAAa,EAAE,SAAS,EAAE,eAAe,EAAE,WAAW,EAAE,MAAM,eAAe,CAAA;AAEtF,OAAO,EAAE,aAAa,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAA;AAEjE,OAAO,EAAE,YAAY,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAA;AAEhE,OAAO,EACL,YAAY,EACZ,oBAAoB,EACpB,YAAY,EACZ,gBAAgB,EAChB,iBAAiB,EACjB,cAAc,GAIf,MAAM,yBAAyB,CAAA;AAEhC;;;;GAIG;AACH,OAAO,KAAK,GAAG,MAAM,gBAAgB,CAAA;AAErC,sEAAsE;AACtE,oDAAoD;AACpD,OAAO,0BAA0B,CAAA;AACjC,OAAO,2BAA2B,CAAA"}
|