@lightblues/jig 0.0.6 → 0.0.8
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/README.md +1 -1
- package/dist/agent-chat/follow.d.ts +44 -0
- package/dist/agent-chat/follow.js +146 -0
- package/dist/agent-chat/index.d.ts +12 -0
- package/dist/agent-chat/index.js +9 -0
- package/dist/agent-chat/react.d.ts +57 -0
- package/dist/agent-chat/react.js +90 -0
- package/dist/agent-chat/reduce.d.ts +103 -0
- package/dist/agent-chat/reduce.js +211 -0
- package/dist/agent-chat/sse.d.ts +13 -0
- package/dist/agent-chat/sse.js +74 -0
- package/dist/agent-pi/index.d.ts +11 -0
- package/dist/agent-pi/index.js +8 -0
- package/dist/agent-pi/models.d.ts +91 -0
- package/dist/agent-pi/models.js +107 -0
- package/dist/agent-pi/run.d.ts +160 -0
- package/dist/agent-pi/run.js +471 -0
- package/dist/agent-pi/store.d.ts +112 -0
- package/dist/agent-pi/store.js +161 -0
- package/package.json +41 -2
|
@@ -0,0 +1,112 @@
|
|
|
1
|
+
/** How a run ended. `stopped`: the host's signal aborted it; `cut`: a limit (tool calls, time) ended it. */
|
|
2
|
+
export type RunStatus = "ok" | "failed" | "cut" | "stopped";
|
|
3
|
+
export interface RunUsage {
|
|
4
|
+
/** Input tokens including cache reads. */
|
|
5
|
+
inputTokens: number;
|
|
6
|
+
cachedTokens: number;
|
|
7
|
+
outputTokens: number;
|
|
8
|
+
toolCalls: number;
|
|
9
|
+
/** At the model's price, in US dollars; 0 for an unpriced model. */
|
|
10
|
+
costUsd: number;
|
|
11
|
+
}
|
|
12
|
+
/** A run as `startRun` records it, `running` until `endRun`. */
|
|
13
|
+
export interface RunStart {
|
|
14
|
+
runId: string;
|
|
15
|
+
ownerId: string;
|
|
16
|
+
purpose: string;
|
|
17
|
+
/** The model id. */
|
|
18
|
+
model: string;
|
|
19
|
+
tier: string;
|
|
20
|
+
thinking: string;
|
|
21
|
+
/** Null for a run that keeps no session (`persist: false`). */
|
|
22
|
+
sessionId: string | null;
|
|
23
|
+
/** Host columns of the run row (vibeU: `{ user_id }`), from `runAgent({ runColumns })`. */
|
|
24
|
+
columns?: Record<string, string | number | boolean | null>;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Where `runAgent` keeps pi sessions and run rows. `pgSessionStore` implements it over the hosts' Postgres tables; a
|
|
28
|
+
* host that stores sessions another way (intake's JSONL) supplies its own. Entries are pi's `FileEntry` objects, the
|
|
29
|
+
* header first, in the order pi wrote them; a store keeps them as they are.
|
|
30
|
+
*/
|
|
31
|
+
export interface SessionStore {
|
|
32
|
+
/** The session of `scope` with all its entries (header first), or null when the scope has none yet. */
|
|
33
|
+
load(scope: string): Promise<{
|
|
34
|
+
id: string;
|
|
35
|
+
entries: unknown[];
|
|
36
|
+
} | null>;
|
|
37
|
+
/** A new session under the id pi gave it. `scope` is null for a one-off run (a batch), which no later run continues. */
|
|
38
|
+
insert(session: {
|
|
39
|
+
id: string;
|
|
40
|
+
ownerId: string;
|
|
41
|
+
scope: string | null;
|
|
42
|
+
purpose: string;
|
|
43
|
+
}): Promise<void>;
|
|
44
|
+
/**
|
|
45
|
+
* Stores `entries` as seq `from`, `from + 1`, …, leaving a seq already stored as it is (the runner retries a range
|
|
46
|
+
* after a failed append), and touches the session's `updated_at`.
|
|
47
|
+
*/
|
|
48
|
+
append(sessionId: string, from: number, entries: unknown[]): Promise<void>;
|
|
49
|
+
startRun(run: RunStart): Promise<void>;
|
|
50
|
+
/** `error` is null for `ok`, otherwise why (the model's error, `tool call limit`, `time limit`, `stopped`). */
|
|
51
|
+
endRun(runId: string, status: RunStatus, usage: RunUsage, error: string | null): Promise<void>;
|
|
52
|
+
/** At startup: runs still `running` were never finished (the server restarted); marks them failed. Returns how many. */
|
|
53
|
+
failStaleRuns(): Promise<number>;
|
|
54
|
+
}
|
|
55
|
+
/** A driver's query, as `pg` has it. postgres.js: `(text, params) => sql.unsafe(text, params).then((rows) => ({ rows }))`. */
|
|
56
|
+
export type Query = (text: string, params?: unknown[]) => Promise<{
|
|
57
|
+
rows: any[];
|
|
58
|
+
}>;
|
|
59
|
+
export interface PgSessionStoreOptions {
|
|
60
|
+
query: Query;
|
|
61
|
+
/** Table names. Default `agent_sessions`, `agent_entries`, `ai_runs`. */
|
|
62
|
+
tables?: {
|
|
63
|
+
sessions?: string;
|
|
64
|
+
entries?: string;
|
|
65
|
+
runs?: string;
|
|
66
|
+
};
|
|
67
|
+
/** The owner column of the sessions and runs tables (erudite `user_id`, vibeU `space_id`, lemma `learner`). */
|
|
68
|
+
ownerColumn: string;
|
|
69
|
+
/** `agent_entries.entry`'s type: `jsonb` (erudite, lemma) or `text` (vibeU, new hosts: model output can hold NUL, which jsonb rejects). Default `text`. */
|
|
70
|
+
entryType?: "jsonb" | "text";
|
|
71
|
+
/** A sessions column that takes the run's purpose (vibeU `purpose`); none by default. */
|
|
72
|
+
sessionPurposeColumn?: string;
|
|
73
|
+
/**
|
|
74
|
+
* Run-row columns a host's table may lack: null leaves it out. Defaults `thinking`, `cost_usd`, `duration_ms`
|
|
75
|
+
* (vibeU has no `cost_usd` or `duration_ms`, lemma no `thinking`).
|
|
76
|
+
*/
|
|
77
|
+
runColumns?: {
|
|
78
|
+
thinking?: string | null;
|
|
79
|
+
costUsd?: string | null;
|
|
80
|
+
durationMs?: string | null;
|
|
81
|
+
};
|
|
82
|
+
/** The status written for each `RunStatus` (lemma's CHECK has no `stopped`: `{ stopped: 'cut' }`). */
|
|
83
|
+
statuses?: Partial<Record<RunStatus, string>>;
|
|
84
|
+
}
|
|
85
|
+
/** `run_` and 12 random base64url characters, as erudite and vibeU make them. */
|
|
86
|
+
export declare const newRunId: () => string;
|
|
87
|
+
/**
|
|
88
|
+
* `SessionStore` over the host's existing tables. It runs no migration; `PI_SESSION_DDL` is the reference schema for a
|
|
89
|
+
* new host. Every write is one statement, so it needs no transaction and works with any driver's `query`.
|
|
90
|
+
*/
|
|
91
|
+
export declare function pgSessionStore(o: PgSessionStoreOptions): SessionStore;
|
|
92
|
+
/**
|
|
93
|
+
* The reference schema, for a new host's own migration (the part runs none). The host adds its FK on `owner_id`, or
|
|
94
|
+
* names the column its own way and passes `ownerColumn`. Entries are `text`: model output can hold NUL, which jsonb rejects.
|
|
95
|
+
*/
|
|
96
|
+
export declare const PI_SESSION_DDL = "CREATE TABLE agent_sessions (\n id text PRIMARY KEY,\n owner_id text NOT NULL,\n scope text UNIQUE,\n created_at timestamptz NOT NULL DEFAULT now(),\n updated_at timestamptz NOT NULL DEFAULT now()\n);\nCREATE INDEX agent_sessions_oneoff ON agent_sessions (updated_at) WHERE scope IS NULL;\n\nCREATE TABLE agent_entries (\n session_id text NOT NULL REFERENCES agent_sessions(id) ON DELETE CASCADE,\n seq integer NOT NULL,\n entry text NOT NULL,\n PRIMARY KEY (session_id, seq)\n);\n\nCREATE TABLE ai_runs (\n id text PRIMARY KEY,\n owner_id text NOT NULL,\n purpose text NOT NULL,\n model text NOT NULL,\n tier text NOT NULL,\n thinking text NOT NULL,\n session_id text REFERENCES agent_sessions(id) ON DELETE SET NULL,\n status text NOT NULL CHECK (status IN ('running', 'ok', 'failed', 'cut', 'stopped')),\n error text,\n input_tokens integer NOT NULL DEFAULT 0,\n cached_tokens integer NOT NULL DEFAULT 0,\n output_tokens integer NOT NULL DEFAULT 0,\n tool_calls integer NOT NULL DEFAULT 0,\n cost_usd double precision NOT NULL DEFAULT 0,\n duration_ms integer,\n started_at timestamptz NOT NULL DEFAULT now(),\n ended_at timestamptz\n);\nCREATE INDEX ai_runs_owner ON ai_runs (owner_id, purpose, started_at);\n";
|
|
97
|
+
/** A `SessionStore` in memory, for tests and for runs that keep nothing. `runs` and `sessions` are readable. */
|
|
98
|
+
export declare function memorySessionStore(): SessionStore & {
|
|
99
|
+
sessions: Map<string, {
|
|
100
|
+
id: string;
|
|
101
|
+
ownerId: string;
|
|
102
|
+
scope: string | null;
|
|
103
|
+
purpose: string;
|
|
104
|
+
entries: Map<number, string>;
|
|
105
|
+
}>;
|
|
106
|
+
runs: Map<string, RunStart & {
|
|
107
|
+
status: RunStatus | "running";
|
|
108
|
+
usage?: RunUsage;
|
|
109
|
+
error?: string | null;
|
|
110
|
+
}>;
|
|
111
|
+
entriesOf(sessionId: string): unknown[];
|
|
112
|
+
};
|
|
@@ -0,0 +1,161 @@
|
|
|
1
|
+
import { randomBytes } from "node:crypto";
|
|
2
|
+
const IDENT = /^[a-z_][a-z0-9_]*(\.[a-z_][a-z0-9_]*)?$/;
|
|
3
|
+
function ident(name) {
|
|
4
|
+
if (!IDENT.test(name))
|
|
5
|
+
throw new Error(`not a plain SQL identifier: ${name}`);
|
|
6
|
+
return name;
|
|
7
|
+
}
|
|
8
|
+
/** `run_` and 12 random base64url characters, as erudite and vibeU make them. */
|
|
9
|
+
export const newRunId = () => `run_${randomBytes(9).toString("base64url")}`;
|
|
10
|
+
/**
|
|
11
|
+
* `SessionStore` over the host's existing tables. It runs no migration; `PI_SESSION_DDL` is the reference schema for a
|
|
12
|
+
* new host. Every write is one statement, so it needs no transaction and works with any driver's `query`.
|
|
13
|
+
*/
|
|
14
|
+
export function pgSessionStore(o) {
|
|
15
|
+
const sessions = ident(o.tables?.sessions ?? "agent_sessions");
|
|
16
|
+
const entries = ident(o.tables?.entries ?? "agent_entries");
|
|
17
|
+
const runs = ident(o.tables?.runs ?? "ai_runs");
|
|
18
|
+
const owner = ident(o.ownerColumn);
|
|
19
|
+
const entryType = o.entryType ?? "text";
|
|
20
|
+
const purposeColumn = o.sessionPurposeColumn ? ident(o.sessionPurposeColumn) : null;
|
|
21
|
+
const col = (given, fallback) => (given === null ? null : ident(given ?? fallback));
|
|
22
|
+
const thinkingColumn = col(o.runColumns?.thinking, "thinking");
|
|
23
|
+
const costColumn = col(o.runColumns?.costUsd, "cost_usd");
|
|
24
|
+
const durationColumn = col(o.runColumns?.durationMs, "duration_ms");
|
|
25
|
+
const status = (s) => o.statuses?.[s] ?? s;
|
|
26
|
+
const q = o.query;
|
|
27
|
+
return {
|
|
28
|
+
async load(scope) {
|
|
29
|
+
const { rows } = await q(`SELECT id FROM ${sessions} WHERE scope = $1`, [scope]);
|
|
30
|
+
if (!rows[0])
|
|
31
|
+
return null;
|
|
32
|
+
const id = String(rows[0].id);
|
|
33
|
+
const stored = await q(`SELECT entry FROM ${entries} WHERE session_id = $1 ORDER BY seq`, [id]);
|
|
34
|
+
return { id, entries: stored.rows.map((row) => (typeof row.entry === "string" ? JSON.parse(row.entry) : row.entry)) };
|
|
35
|
+
},
|
|
36
|
+
async insert(s) {
|
|
37
|
+
const columns = ["id", owner, "scope", ...(purposeColumn ? [purposeColumn] : [])];
|
|
38
|
+
const values = [s.id, s.ownerId, s.scope, ...(purposeColumn ? [s.purpose] : [])];
|
|
39
|
+
await q(`INSERT INTO ${sessions} (${columns.join(", ")}) VALUES (${values.map((_, i) => `$${i + 1}`).join(", ")})`, values);
|
|
40
|
+
},
|
|
41
|
+
async append(sessionId, from, list) {
|
|
42
|
+
if (!list.length)
|
|
43
|
+
return;
|
|
44
|
+
// The entries go as one text parameter, read back as json: `json` keeps each element's text as written (a NUL
|
|
45
|
+
// escape included), and a text parameter is never re-encoded by a driver's json serializer (postgres.js).
|
|
46
|
+
await q(`WITH added AS (
|
|
47
|
+
INSERT INTO ${entries} (session_id, seq, entry)
|
|
48
|
+
SELECT $1, $2::integer + e.n::integer - 1, e.entry::${entryType} FROM json_array_elements($3::text::json) WITH ORDINALITY AS e(entry, n)
|
|
49
|
+
ON CONFLICT DO NOTHING
|
|
50
|
+
)
|
|
51
|
+
UPDATE ${sessions} SET updated_at = now() WHERE id = $1`, [sessionId, from, JSON.stringify(list)]);
|
|
52
|
+
},
|
|
53
|
+
async startRun(r) {
|
|
54
|
+
const columns = ["id", owner, "purpose", "model", "tier", "session_id", "status"];
|
|
55
|
+
const values = [r.runId, r.ownerId, r.purpose, r.model, r.tier, r.sessionId, "running"];
|
|
56
|
+
if (thinkingColumn)
|
|
57
|
+
columns.push(thinkingColumn), values.push(r.thinking);
|
|
58
|
+
for (const [name, value] of Object.entries(r.columns ?? {}))
|
|
59
|
+
columns.push(ident(name)), values.push(value);
|
|
60
|
+
await q(`INSERT INTO ${runs} (${columns.join(", ")}) VALUES (${values.map((_, i) => `$${i + 1}`).join(", ")})`, values);
|
|
61
|
+
},
|
|
62
|
+
async endRun(runId, s, usage, error) {
|
|
63
|
+
const sets = ["status = $2", "input_tokens = $3", "cached_tokens = $4", "output_tokens = $5", "tool_calls = $6", "error = $7", "ended_at = now()"];
|
|
64
|
+
const values = [runId, status(s), usage.inputTokens, usage.cachedTokens, usage.outputTokens, usage.toolCalls, error];
|
|
65
|
+
if (costColumn)
|
|
66
|
+
sets.push(`${costColumn} = $8`), values.push(usage.costUsd);
|
|
67
|
+
if (durationColumn)
|
|
68
|
+
sets.push(`${durationColumn} = (extract(epoch FROM now() - started_at) * 1000)::integer`);
|
|
69
|
+
await q(`UPDATE ${runs} SET ${sets.join(", ")} WHERE id = $1`, values);
|
|
70
|
+
},
|
|
71
|
+
async failStaleRuns() {
|
|
72
|
+
const { rows } = await q(`UPDATE ${runs} SET status = $1, error = 'server restarted', ended_at = now() WHERE status = 'running' RETURNING id`, [status("failed")]);
|
|
73
|
+
return rows.length;
|
|
74
|
+
},
|
|
75
|
+
};
|
|
76
|
+
}
|
|
77
|
+
/**
|
|
78
|
+
* The reference schema, for a new host's own migration (the part runs none). The host adds its FK on `owner_id`, or
|
|
79
|
+
* names the column its own way and passes `ownerColumn`. Entries are `text`: model output can hold NUL, which jsonb rejects.
|
|
80
|
+
*/
|
|
81
|
+
export const PI_SESSION_DDL = `CREATE TABLE agent_sessions (
|
|
82
|
+
id text PRIMARY KEY,
|
|
83
|
+
owner_id text NOT NULL,
|
|
84
|
+
scope text UNIQUE,
|
|
85
|
+
created_at timestamptz NOT NULL DEFAULT now(),
|
|
86
|
+
updated_at timestamptz NOT NULL DEFAULT now()
|
|
87
|
+
);
|
|
88
|
+
CREATE INDEX agent_sessions_oneoff ON agent_sessions (updated_at) WHERE scope IS NULL;
|
|
89
|
+
|
|
90
|
+
CREATE TABLE agent_entries (
|
|
91
|
+
session_id text NOT NULL REFERENCES agent_sessions(id) ON DELETE CASCADE,
|
|
92
|
+
seq integer NOT NULL,
|
|
93
|
+
entry text NOT NULL,
|
|
94
|
+
PRIMARY KEY (session_id, seq)
|
|
95
|
+
);
|
|
96
|
+
|
|
97
|
+
CREATE TABLE ai_runs (
|
|
98
|
+
id text PRIMARY KEY,
|
|
99
|
+
owner_id text NOT NULL,
|
|
100
|
+
purpose text NOT NULL,
|
|
101
|
+
model text NOT NULL,
|
|
102
|
+
tier text NOT NULL,
|
|
103
|
+
thinking text NOT NULL,
|
|
104
|
+
session_id text REFERENCES agent_sessions(id) ON DELETE SET NULL,
|
|
105
|
+
status text NOT NULL CHECK (status IN ('running', 'ok', 'failed', 'cut', 'stopped')),
|
|
106
|
+
error text,
|
|
107
|
+
input_tokens integer NOT NULL DEFAULT 0,
|
|
108
|
+
cached_tokens integer NOT NULL DEFAULT 0,
|
|
109
|
+
output_tokens integer NOT NULL DEFAULT 0,
|
|
110
|
+
tool_calls integer NOT NULL DEFAULT 0,
|
|
111
|
+
cost_usd double precision NOT NULL DEFAULT 0,
|
|
112
|
+
duration_ms integer,
|
|
113
|
+
started_at timestamptz NOT NULL DEFAULT now(),
|
|
114
|
+
ended_at timestamptz
|
|
115
|
+
);
|
|
116
|
+
CREATE INDEX ai_runs_owner ON ai_runs (owner_id, purpose, started_at);
|
|
117
|
+
`;
|
|
118
|
+
/** A `SessionStore` in memory, for tests and for runs that keep nothing. `runs` and `sessions` are readable. */
|
|
119
|
+
export function memorySessionStore() {
|
|
120
|
+
const sessions = new Map();
|
|
121
|
+
const runs = new Map();
|
|
122
|
+
const entriesOf = (id) => [...(sessions.get(id)?.entries ?? new Map()).entries()].sort(([a], [b]) => a - b).map(([, e]) => JSON.parse(e));
|
|
123
|
+
return {
|
|
124
|
+
sessions,
|
|
125
|
+
runs,
|
|
126
|
+
entriesOf,
|
|
127
|
+
async load(scope) {
|
|
128
|
+
const s = [...sessions.values()].find((x) => x.scope === scope);
|
|
129
|
+
return s ? { id: s.id, entries: entriesOf(s.id) } : null;
|
|
130
|
+
},
|
|
131
|
+
async insert(s) {
|
|
132
|
+
if (sessions.has(s.id) || (s.scope !== null && [...sessions.values()].some((x) => x.scope === s.scope)))
|
|
133
|
+
throw new Error(`session exists: ${s.scope ?? s.id}`);
|
|
134
|
+
sessions.set(s.id, { ...s, entries: new Map() });
|
|
135
|
+
},
|
|
136
|
+
async append(id, from, list) {
|
|
137
|
+
const s = sessions.get(id);
|
|
138
|
+
if (!s)
|
|
139
|
+
throw new Error(`no session ${id}`);
|
|
140
|
+
list.forEach((e, i) => {
|
|
141
|
+
if (!s.entries.has(from + i))
|
|
142
|
+
s.entries.set(from + i, JSON.stringify(e));
|
|
143
|
+
});
|
|
144
|
+
},
|
|
145
|
+
async startRun(r) {
|
|
146
|
+
runs.set(r.runId, { ...r, status: "running" });
|
|
147
|
+
},
|
|
148
|
+
async endRun(id, status, usage, error) {
|
|
149
|
+
const r = runs.get(id);
|
|
150
|
+
if (r)
|
|
151
|
+
Object.assign(r, { status, usage, error });
|
|
152
|
+
},
|
|
153
|
+
async failStaleRuns() {
|
|
154
|
+
let n = 0;
|
|
155
|
+
for (const r of runs.values())
|
|
156
|
+
if (r.status === "running")
|
|
157
|
+
Object.assign(r, { status: "failed", error: "server restarted" }), n++;
|
|
158
|
+
return n;
|
|
159
|
+
},
|
|
160
|
+
};
|
|
161
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lightblues/jig",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.8",
|
|
4
4
|
"description": "Reusable parts for my apps: agent runtimes (Paseo, pi) that speak AG-UI, a thin thread-following client, and more as they prove reusable.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
@@ -28,6 +28,18 @@
|
|
|
28
28
|
"types": "./dist/agent-paseo/index.d.ts",
|
|
29
29
|
"default": "./dist/agent-paseo/index.js"
|
|
30
30
|
},
|
|
31
|
+
"./agent-chat": {
|
|
32
|
+
"types": "./dist/agent-chat/index.d.ts",
|
|
33
|
+
"default": "./dist/agent-chat/index.js"
|
|
34
|
+
},
|
|
35
|
+
"./agent-chat/react": {
|
|
36
|
+
"types": "./dist/agent-chat/react.d.ts",
|
|
37
|
+
"default": "./dist/agent-chat/react.js"
|
|
38
|
+
},
|
|
39
|
+
"./agent-pi": {
|
|
40
|
+
"types": "./dist/agent-pi/index.d.ts",
|
|
41
|
+
"default": "./dist/agent-pi/index.js"
|
|
42
|
+
},
|
|
31
43
|
"./package.json": "./package.json"
|
|
32
44
|
},
|
|
33
45
|
"scripts": {
|
|
@@ -39,20 +51,47 @@
|
|
|
39
51
|
},
|
|
40
52
|
"devDependencies": {
|
|
41
53
|
"@ag-ui/core": "1.0.5",
|
|
54
|
+
"@earendil-works/pi-agent-core": "1.4.0",
|
|
55
|
+
"@earendil-works/pi-ai": "1.4.0",
|
|
56
|
+
"@earendil-works/pi-coding-agent": "1.4.0",
|
|
42
57
|
"@getpaseo/client": "0.16.1",
|
|
43
58
|
"@types/node": "^24.0.0",
|
|
59
|
+
"@types/react": "19.3.0",
|
|
60
|
+
"@types/react-test-renderer": "19.3.1",
|
|
61
|
+
"esbuild": "0.28.2",
|
|
62
|
+
"react": "19.3.1",
|
|
63
|
+
"react-test-renderer": "19.3.1",
|
|
64
|
+
"@types/pg": "8.23.1",
|
|
65
|
+
"pg": "8.23.1",
|
|
66
|
+
"postgres": "3.4.9",
|
|
44
67
|
"typescript": "^5.9.0"
|
|
45
68
|
},
|
|
46
69
|
"peerDependencies": {
|
|
47
70
|
"@ag-ui/core": "^1.0.5",
|
|
48
|
-
"@
|
|
71
|
+
"@earendil-works/pi-agent-core": "~1.4.0",
|
|
72
|
+
"@earendil-works/pi-ai": "~1.4.0",
|
|
73
|
+
"@earendil-works/pi-coding-agent": "~1.4.0",
|
|
74
|
+
"@getpaseo/client": "0.16.1",
|
|
75
|
+
"react": ">=18"
|
|
49
76
|
},
|
|
50
77
|
"peerDependenciesMeta": {
|
|
51
78
|
"@ag-ui/core": {
|
|
52
79
|
"optional": true
|
|
53
80
|
},
|
|
81
|
+
"@earendil-works/pi-agent-core": {
|
|
82
|
+
"optional": true
|
|
83
|
+
},
|
|
84
|
+
"@earendil-works/pi-ai": {
|
|
85
|
+
"optional": true
|
|
86
|
+
},
|
|
87
|
+
"@earendil-works/pi-coding-agent": {
|
|
88
|
+
"optional": true
|
|
89
|
+
},
|
|
54
90
|
"@getpaseo/client": {
|
|
55
91
|
"optional": true
|
|
92
|
+
},
|
|
93
|
+
"react": {
|
|
94
|
+
"optional": true
|
|
56
95
|
}
|
|
57
96
|
}
|
|
58
97
|
}
|