Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion dist/src/engine.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* Engine wiring: the native async interpreter from interscript-ts over
* the assets-backed map loader. No regex compilation, ever.
*/
import { type SystemCode } from "interscript-ts";
import { type SystemCode } from "interscript";
import { bundledSystemCodes, type MapAssets } from "./maps.js";
export declare function transliterate(assets: MapAssets, systemCode: string, input: string): Promise<string>;
export declare function detect(assets: MapAssets, input: string, output: string): Promise<{
Expand Down
2 changes: 1 addition & 1 deletion dist/src/engine.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* Engine wiring: the native async interpreter from interscript-ts over
* the assets-backed map loader. No regex compilation, ever.
*/
import { configure, transliterateAsync } from "interscript-ts";
import { configure, transliterateAsync } from "interscript";
import { bundledSystemCodes, detectableSystemCodes, loadMap } from "./maps.js";
let configuredFor;
function ensureEngine(assets) {
Expand Down
6 changes: 3 additions & 3 deletions dist/src/index.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/src/maps.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
* Assets binding). Tests inject an equivalent object backed by the
* local filesystem.
*/
import { type CompiledMap, type SystemCode } from "interscript-ts";
import { type CompiledMap, type SystemCode } from "interscript";
export interface MapAssets {
fetch(input: RequestInfo): Promise<Response>;
}
Expand Down
2 changes: 1 addition & 1 deletion dist/src/maps.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
* Assets binding). Tests inject an equivalent object backed by the
* local filesystem.
*/
import { MapNotFoundError, normaliseMap, } from "interscript-ts";
import { MapNotFoundError, normaliseMap, } from "interscript";
import { systemCodes } from "../maps/manifest.js";
// These four are dependency libraries, not user-addressable systems —
// the Ruby API lists maps only (var-* FAMILY maps are real systems).
Expand Down
2 changes: 1 addition & 1 deletion dist/src/resolvers.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* Resolvers — behavior-matched to the Ruby API. The map assets binding
* arrives via the Yoga context (yoga.fetch(request, env, ctx)).
*/
import { MapNotFoundError as EngineMapNotFoundError } from "interscript-ts";
import { MapNotFoundError as EngineMapNotFoundError } from "interscript";
import { detect, transliterate } from "./engine.js";
import { InputTooLongError, MapNotFoundError } from "./errors.js";
import { INFER_TIMEOUT_MS, LIMITS } from "./limits.js";
Expand Down
2 changes: 1 addition & 1 deletion dist/test/rest.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ describe("REST detect", () => {
const body = (await res.json());
expect(body.count).toBeGreaterThan(0);
expect(body.results[0]?.mapName).toContain("kat");
});
}, 120_000);
});
describe("REST models + inference", () => {
it("GET /v1/models lists the IMF index", async () => {
Expand Down
Loading