From 7b8f48c05319981ff54f1edae8c685fe3eae6272 Mon Sep 17 00:00:00 2001 From: Ronald Tse Date: Sat, 5 Sep 2026 09:36:01 +0200 Subject: [PATCH 1/2] feat(ml): DEFAULT_INDEX_URL pins index-v3 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The 22-model surface (2.1 + layerdrop trio). Merging this to main does not publish anything; the next npm release — a version decision — carries it to consumers. --- src/ml/imf/registry.ts | 2 +- test/imf.test.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ml/imf/registry.ts b/src/ml/imf/registry.ts index 264cc01..3eebd57 100644 --- a/src/ml/imf/registry.ts +++ b/src/ml/imf/registry.ts @@ -16,7 +16,7 @@ import { load as loadYaml } from "js-yaml" export const DEFAULT_INDEX_URL = - "https://github.com/interscript/interscript-ml/releases/download/index-v2/models-index.yaml" + "https://github.com/interscript/interscript-ml/releases/download/index-v3/models-index.yaml" export interface Part { url: string diff --git a/test/imf.test.ts b/test/imf.test.ts index 0df00bb..f316f25 100644 --- a/test/imf.test.ts +++ b/test/imf.test.ts @@ -259,7 +259,7 @@ describe("registry", () => { it("DEFAULT_INDEX_URL pins a GitHub Release asset, never raw", async () => { const { DEFAULT_INDEX_URL } = await import("../src/ml/imf/registry.js") expect(DEFAULT_INDEX_URL).toMatch( - /^https:\/\/github\.com\/interscript\/interscript-ml\/releases\/download\/index-v2\/models-index\.yaml$/, + /^https:\/\/github\.com\/interscript\/interscript-ml\/releases\/download\/index-v3\/models-index\.yaml$/, ) expect(DEFAULT_INDEX_URL).not.toMatch(/raw\.githubusercontent/) }) From 982e6dca14725218ab000a0b19ede7ef567efe70 Mon Sep 17 00:00:00 2001 From: Ronald Tse Date: Sat, 5 Sep 2026 09:37:44 +0200 Subject: [PATCH 2/2] test: pin the re-export surface test to index-v3 --- test/imf.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/imf.test.ts b/test/imf.test.ts index f316f25..60ccf8e 100644 --- a/test/imf.test.ts +++ b/test/imf.test.ts @@ -367,7 +367,7 @@ describe("registry", () => { expect(typeof imf!["resolve"]).toBe("function") expect(typeof imf!["IMFModel"]).toBe("function") expect(imf!["DEFAULT_INDEX_URL"]).toMatch( - /github\.com\/interscript\/interscript-ml\/releases\/download\/index-v2\/models-index\.yaml/, + /github\.com\/interscript\/interscript-ml\/releases\/download\/index-v3\/models-index\.yaml/, ) }) })