Skip to content

Commit ec9c6be

Browse files
committed
rely directly on runtimed/schema for the livestore bits
1 parent e8440fe commit ec9c6be

File tree

5 files changed

+7
-11
lines changed

5 files changed

+7
-11
lines changed

packages/lib/src/config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
// extended by specific runtime implementations (Python, JavaScript, etc.).
55

66
import { logger } from "./logging.ts";
7-
import type { Adapter } from "npm:@livestore/livestore";
7+
import type { Adapter } from "jsr:@runtimed/schema";
88
import type {
99
IArtifactClient,
1010
RuntimeAgentOptions,

packages/lib/src/runtime-agent.ts

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,6 @@
11
// RuntimeAgent - Base class for building Anode runtime agents
22

3-
import {
4-
createStorePromise,
5-
queryDb,
6-
type Store,
7-
} from "npm:@livestore/livestore";
3+
import { createStorePromise, queryDb, type Store } from "jsr:@runtimed/schema";
84

95
import {
106
events,
@@ -15,7 +11,7 @@ import {
1511
tables,
1612
} from "@runt/schema";
1713
import { logger } from "./logging.ts";
18-
import { makeSchema, State } from "npm:@livestore/livestore";
14+
import { makeSchema, State } from "jsr:@runtimed/schema";
1915

2016
// Create schema locally
2117
const state = State.SQLite.makeState({ tables, materializers });

packages/lib/src/types.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@
44
// the runtime agent library, importing existing types from @runt/schema
55
// and adding runtime-specific extensions.
66

7-
import type { Adapter, Store } from "npm:@livestore/livestore";
7+
import type { Adapter, Store } from "jsr:@runtimed/schema";
88
import type { CellData, ExecutionQueueData, OutputType } from "@runt/schema";
99
import { events, materializers, tables } from "@runt/schema";
10-
import { makeSchema, State } from "npm:@livestore/livestore";
10+
import { makeSchema, State } from "jsr:@runtimed/schema";
1111

1212
// Create schema locally
1313
const state = State.SQLite.makeState({ tables, materializers });

packages/lib/test/runtime-agent-text-representations.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ import type {
1414
RawOutputData,
1515
RuntimeCapabilities,
1616
} from "../src/types.ts";
17-
import { queryDb, Schema, sql } from "npm:@livestore/livestore";
17+
import { queryDb, Schema, sql } from "jsr:@runtimed/schema";
1818

1919
function sleep(ms: number): Promise<void> {
2020
return new Promise((resolve) => setTimeout(resolve, ms));

packages/pyodide-runtime-agent/src/pyodide-agent.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import {
99
createPyodideRuntimeConfig,
1010
type PyodideRuntimeConfig,
1111
} from "./pyodide-config.ts";
12-
import type { Adapter } from "npm:@livestore/livestore";
12+
import type { Adapter } from "jsr:@runtimed/schema";
1313
import type {
1414
ExecutionContext,
1515
MediaBundle,

0 commit comments

Comments
 (0)