notesoup 0.54.1 → 0.55.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/plugins/pi/budget.js +1 -1
- package/dist/plugins/pi/marker.d.ts +1 -1
- package/dist/plugins/pi/marker.js +11 -7
- package/dist/plugins/pi/notes/tools.js +5 -1
- package/dist/plugins/pi/render.d.ts +4 -1
- package/dist/plugins/pi/render.js +3 -7
- package/dist/plugins/pi/runtime.js +4 -2
- package/dist/plugins/pi/tool-result.d.ts +4 -2
- package/dist/plugins/pi/tool-result.js +4 -3
- package/dist/src/history/history.d.ts +1 -1
- package/dist/src/history/history.js +1 -1
- package/dist/src/tools/history.js +4 -7
- package/dist/src/tools/notes.d.ts +2 -7
- package/dist/src/tools/notes.js +5 -26
- package/dist/test/budget-settings.integration.test.js +2 -2
- package/dist/test/claude-history.test.js +4 -6
- package/dist/test/codex-history.test.js +3 -2
- package/dist/test/dependencies.test.js +3 -4
- package/dist/test/dream-tools.test.js +3 -3
- package/dist/test/history-corpus.test.js +1 -1
- package/dist/test/history.integration.test.js +9 -9
- package/dist/test/host-neutral.test.js +7 -9
- package/dist/test/marker.test.js +34 -27
- package/dist/test/notes.integration.test.js +8 -10
- package/dist/test/notes.test.js +9 -7
- package/dist/test/pi-render.test.js +7 -7
- package/dist/test/project-namespace.test.js +4 -4
- package/docs/tool-results.md +1 -1
- package/package.json +3 -4
- package/plugins/claude/.claude-plugin/plugin.json +1 -1
- package/plugins/claude/dist/claude/helper.js +493 -514
- package/plugins/codex/dist/codex/notesoup.js +667 -688
- package/plugins/paseo/OVERVIEW.md +2 -2
- package/plugins/paseo/client/brain-empty-card.tsx +1 -1
- package/plugins/paseo/client/notes-op-card.tsx +2 -2
- package/plugins/paseo/client/notes-op-transformer.ts +16 -1
- package/plugins/paseo/client/paper-palette.ts +18 -18
- package/plugins/paseo/test/fixtures/claude-tool-calls.ts +1 -1
- package/plugins/paseo/test/notes-op.test.ts +4 -4
- package/plugins/paseo/test/paper-palette.test.ts +3 -3
- package/plugins/pi/budget.ts +1 -1
- package/plugins/pi/marker.ts +11 -6
- package/plugins/pi/notes/tools.ts +5 -1
- package/plugins/pi/render.ts +7 -8
- package/plugins/pi/runtime.ts +3 -1
- package/plugins/pi/tool-result.ts +9 -8
- package/src/history/history.ts +1 -1
- package/src/tools/history.ts +4 -7
- package/src/tools/notes.ts +5 -27
package/dist/test/marker.test.js
CHANGED
|
@@ -9,65 +9,72 @@ const env = installExtensionTestEnvironment("notesoup-marker-test");
|
|
|
9
9
|
test.beforeEach(env.beforeEach);
|
|
10
10
|
test.afterEach(env.afterEach);
|
|
11
11
|
test.after(env.dispose);
|
|
12
|
-
function
|
|
13
|
-
return runHandlers(captured, "
|
|
12
|
+
function beforeAgentStart(captured, ctx) {
|
|
13
|
+
return runHandlers(captured, "before_agent_start", { type: "before_agent_start" }, ctx);
|
|
14
14
|
}
|
|
15
|
-
test("marker stamps its own seq once the interval is reached,
|
|
16
|
-
const sessionManager = managerWithMessages(
|
|
15
|
+
test("marker stamps its own seq at run start once the interval is reached, never mid-turn", async () => {
|
|
16
|
+
const sessionManager = managerWithMessages(119);
|
|
17
17
|
const captured = makeExtension(sessionManager);
|
|
18
18
|
const ctx = context(sessionManager);
|
|
19
|
-
|
|
19
|
+
// Mid-run tool turns never inject a standalone marker message.
|
|
20
|
+
await runHandlers(captured, "turn_start", { type: "turn_start" }, ctx);
|
|
21
|
+
assert.equal(sentOf(captured, MARKER_TYPE).length, 0);
|
|
22
|
+
await beforeAgentStart(captured, ctx);
|
|
20
23
|
const sent = sentOf(captured, MARKER_TYPE);
|
|
21
24
|
assert.equal(sent.length, 1);
|
|
22
|
-
assert.deepEqual(sent[0].message.details, { seq:
|
|
25
|
+
assert.deepEqual(sent[0].message.details, { seq: 120 });
|
|
23
26
|
assert.equal(sent[0].message.display, false);
|
|
24
27
|
assert.equal(sent[0].options?.triggerTurn, false);
|
|
25
|
-
assert.equal(sent[0].message.content, '<notesoup:marker seq="
|
|
26
|
-
assert.equal(nextHistorySeq(ctx),
|
|
27
|
-
// An immediate second
|
|
28
|
-
await
|
|
28
|
+
assert.equal(sent[0].message.content, '<notesoup:marker seq="120" />');
|
|
29
|
+
assert.equal(nextHistorySeq(ctx), 121, "the marker occupies the seq it names");
|
|
30
|
+
// An immediate second run is only one seq later: no new marker.
|
|
31
|
+
await beforeAgentStart(captured, ctx);
|
|
29
32
|
assert.equal(sentOf(captured, MARKER_TYPE).length, 1);
|
|
30
|
-
// The next marker lands
|
|
31
|
-
appendText(sessionManager, "user", "x"
|
|
32
|
-
for (let i = 0; i <
|
|
33
|
+
// The next marker lands one interval after the last.
|
|
34
|
+
appendText(sessionManager, "user", "x");
|
|
35
|
+
for (let i = 0; i < 118; i++)
|
|
33
36
|
appendText(sessionManager, "assistant", "y");
|
|
34
|
-
await
|
|
37
|
+
await beforeAgentStart(captured, ctx);
|
|
35
38
|
const all = sentOf(captured, MARKER_TYPE);
|
|
36
39
|
assert.equal(all.length, 2);
|
|
37
|
-
assert.deepEqual(all[1].message.details, { seq:
|
|
40
|
+
assert.deepEqual(all[1].message.details, { seq: 240 });
|
|
38
41
|
});
|
|
39
42
|
test("no marker before the interval", async () => {
|
|
40
|
-
const sessionManager = managerWithMessages(
|
|
43
|
+
const sessionManager = managerWithMessages(118);
|
|
41
44
|
const captured = makeExtension(sessionManager);
|
|
42
|
-
await
|
|
45
|
+
await beforeAgentStart(captured, context(sessionManager));
|
|
43
46
|
assert.equal(sentOf(captured, MARKER_TYPE).length, 0);
|
|
44
|
-
assert.equal(MARKER_INTERVAL,
|
|
47
|
+
assert.equal(MARKER_INTERVAL, 120);
|
|
45
48
|
});
|
|
46
|
-
test("a reset tail awaiting repair
|
|
47
|
-
const sessionManager = managerWithMessages(
|
|
49
|
+
test("a reset tail awaiting repair blocks markers, and boot anchors the new window's interval", async () => {
|
|
50
|
+
const sessionManager = managerWithMessages(119);
|
|
48
51
|
const captured = makeExtension(sessionManager);
|
|
49
52
|
const ctx = context(sessionManager);
|
|
50
53
|
// A marker with neither boot nor continuation still expects repair; stay out of its tail.
|
|
51
54
|
sessionManager.appendCustomEntry(RESET_MARKER_TYPE, { windowId: "pcw:test:w1" });
|
|
52
|
-
await
|
|
55
|
+
await beforeAgentStart(captured, ctx);
|
|
53
56
|
assert.equal(sentOf(captured, MARKER_TYPE).length, 0);
|
|
54
57
|
// Boot alone is still an open tail.
|
|
55
58
|
sessionManager.appendCustomMessageEntry(BOOT_TYPE, "boot", false, { windowId: "pcw:test:w1" });
|
|
56
|
-
await
|
|
59
|
+
await beforeAgentStart(captured, ctx);
|
|
57
60
|
assert.equal(sentOf(captured, MARKER_TYPE).length, 0);
|
|
58
|
-
// Once the
|
|
61
|
+
// Once the reset tail is closed, boot (seq 120) already anchored the window's start seq.
|
|
59
62
|
sessionManager.appendCustomMessageEntry(CONTINUATION_TYPE, "continued", false);
|
|
60
|
-
await
|
|
63
|
+
await beforeAgentStart(captured, ctx);
|
|
64
|
+
assert.equal(sentOf(captured, MARKER_TYPE).length, 0);
|
|
65
|
+
for (let i = 0; i < 118; i++)
|
|
66
|
+
appendText(sessionManager, "assistant", "y");
|
|
67
|
+
await beforeAgentStart(captured, ctx);
|
|
61
68
|
const sent = sentOf(captured, MARKER_TYPE);
|
|
62
69
|
assert.equal(sent.length, 1);
|
|
63
|
-
assert.deepEqual(sent[0].message.details, { seq:
|
|
70
|
+
assert.deepEqual(sent[0].message.details, { seq: 240 });
|
|
64
71
|
});
|
|
65
72
|
test("notesoup off silences the odometer", async () => {
|
|
66
|
-
const sessionManager = managerWithMessages(
|
|
73
|
+
const sessionManager = managerWithMessages(119);
|
|
67
74
|
const captured = makeExtension(sessionManager);
|
|
68
75
|
const ctx = context(sessionManager);
|
|
69
76
|
await runCommand(captured, "notesoup", "off", ctx);
|
|
70
|
-
await
|
|
77
|
+
await beforeAgentStart(captured, ctx);
|
|
71
78
|
assert.equal(sentOf(captured, MARKER_TYPE).length, 0);
|
|
72
79
|
});
|
|
73
80
|
function managerWithMessages(count) {
|
|
@@ -187,9 +187,10 @@ test("crumple lifecycle: metadata-only edits close and smooth a note without tou
|
|
|
187
187
|
await call(captured, "notes_write", { address: "journal.md", content: "log line" }, ctx);
|
|
188
188
|
const updatedBefore = (await listNotes(ctx))[0].meta.updatedAt;
|
|
189
189
|
// metadata-only: content unchanged, and the recorded time is the original one
|
|
190
|
-
const
|
|
190
|
+
const markOnlyRaw = await call(captured, "notes_update", { address: "journal.md", crumpled: true }, ctx);
|
|
191
|
+
const markOnly = resultData(markOnlyRaw);
|
|
191
192
|
assert.equal(markOnly.change_kind, "metadata");
|
|
192
|
-
assert.match(
|
|
193
|
+
assert.match(markOnlyRaw.details?.diff ?? "", /^\+\s*\d+\s+crumpledAt: \d{4}-\d{2}-\d{2}T/m);
|
|
193
194
|
assert.deepEqual(await listNotes(ctx), [], "a crumpled note leaves the live list");
|
|
194
195
|
const basket = (await listNotes(ctx, { crumpled: true }))[0];
|
|
195
196
|
assert.ok(basket.meta.crumpledAt);
|
|
@@ -476,23 +477,20 @@ test("notes_search scopes by glob; a non-matching glob is an empty page, not an
|
|
|
476
477
|
const none = resultData(await call(captured, "notes_search", { query: "needle", glob: "absent/**" }, ctx));
|
|
477
478
|
assert.deepEqual(none.files, [], "a non-matching glob is an empty page, not a refusal");
|
|
478
479
|
});
|
|
479
|
-
test("
|
|
480
|
+
test("a large mutation keeps a one-line receipt while details.diff carries the UI diff", async () => {
|
|
480
481
|
const session = manager();
|
|
481
482
|
const captured = makeExtension(session);
|
|
482
483
|
const ctx = context(session);
|
|
483
484
|
const line = `${"a".repeat(300)}\n`;
|
|
484
485
|
await call(captured, "notes_write", { address: "bulk-edit.md", content: line.repeat(1500) }, ctx);
|
|
485
486
|
const raw = await call(captured, "notes_update", { address: "bulk-edit.md", edits: [{ oldText: "a".repeat(300), newText: "b".repeat(300) }], replace_all: true }, ctx);
|
|
486
|
-
assertWithinBudget(raw, "
|
|
487
|
+
assertWithinBudget(raw, "bulk edit receipt");
|
|
487
488
|
const update = resultData(raw);
|
|
488
489
|
assert.equal(update.change_kind, "body");
|
|
489
|
-
assert.
|
|
490
|
-
assert.
|
|
491
|
-
assert.match(textOf(raw), /^updated bulk-edit\.md/, "the receipt still names the note it updated");
|
|
492
|
-
assert.ok(textOf(raw).includes("[diff truncated; update applied]"), "the model-facing text carries the same marker");
|
|
493
|
-
assert.equal(textOf(raw).includes(`+${"b".repeat(300)}`), false, "the delivered diff prefix stops inside the first change");
|
|
490
|
+
assert.equal(textOf(raw), "updated bulk-edit.md", "model-facing text is the one-line receipt without redundant diff");
|
|
491
|
+
assert.match(raw.details?.diff ?? "", new RegExp(`\\+.*?${"b".repeat(300)}`), "details.diff carries the UI diff");
|
|
494
492
|
const body = resultRead(await call(captured, "notes_read", { address: "bulk-edit.md", max_chars: 300 }, ctx)).content;
|
|
495
|
-
assert.equal(body, "b".repeat(300), "every one of the 1500 replacements was applied
|
|
493
|
+
assert.equal(body, "b".repeat(300), "every one of the 1500 replacements was applied");
|
|
496
494
|
});
|
|
497
495
|
test("oversized note metadata is named in place instead of riding along in the envelope", async () => {
|
|
498
496
|
const session = manager();
|
package/dist/test/notes.test.js
CHANGED
|
@@ -339,15 +339,17 @@ test("write and update receipts distinguish outcomes and no-op edits", async ()
|
|
|
339
339
|
assert.equal(resultData(await call(captured, "notes_write", { address: "@agents/anonymous/alias.md", content: "new body" }, ctx)).outcome, "overwrote");
|
|
340
340
|
await call(captured, "notes_update", { address: "@self/alias", crumpled: true }, ctx);
|
|
341
341
|
assert.equal(resultData(await call(captured, "notes_write", { address: "@self/alias", content: "restored" }, ctx)).outcome, "uncrumpled");
|
|
342
|
-
const
|
|
343
|
-
|
|
342
|
+
const noChangeRaw = await call(captured, "notes_update", { address: "@self/alias", edits: [{ oldText: "restored", newText: "restored" }], crumpled: false }, ctx);
|
|
343
|
+
const noChange = resultData(noChangeRaw);
|
|
344
|
+
assert.equal(noChange.change_kind, "none");
|
|
345
|
+
assert.equal(noChangeRaw.details, undefined);
|
|
344
346
|
const mixed = resultData(await call(captured, "notes_update", { address: "@self/alias", edits: [{ oldText: "restored", newText: "restored" }, { oldText: "restored", newText: "changed" }] }, ctx));
|
|
345
347
|
assert.equal(mixed.change_kind, "body");
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
const combined = resultData(
|
|
348
|
+
// A body edit that also rewrites frontmatter is still a body change; details.diff carries the rest.
|
|
349
|
+
const combinedRaw = await call(captured, "notes_update", { address: "@self/alias", edits: [{ oldText: "changed", newText: "changed once more" }], origin: "user" }, ctx);
|
|
350
|
+
const combined = resultData(combinedRaw);
|
|
349
351
|
assert.equal(combined.change_kind, "body", "an edit that also rewrites frontmatter is a body change, not a whole file");
|
|
350
|
-
assert.match(
|
|
352
|
+
assert.match(combinedRaw.details?.diff ?? "", /origin/, "details.diff still carries the frontmatter part");
|
|
351
353
|
});
|
|
352
354
|
test("empty results distinguish hidden notes and unavailable notebooks", async () => {
|
|
353
355
|
freshRoot();
|
|
@@ -417,7 +419,7 @@ test("mutation receipts keep their existing shape outside named project notebook
|
|
|
417
419
|
const written = await call(captured, "notes_write", { address: "@project/decision", content: "body" }, ctx);
|
|
418
420
|
const updated = await call(captured, "notes_update", { address: "@project/decision", edits: [{ oldText: "body", newText: "changed" }] }, ctx);
|
|
419
421
|
assert.deepEqual(Object.keys(resultData(written)).sort(), ["address", "outcome", "project_key"]);
|
|
420
|
-
assert.deepEqual(Object.keys(resultData(updated)).sort(), ["address", "change_kind", "
|
|
422
|
+
assert.deepEqual(Object.keys(resultData(updated)).sort(), ["address", "change_kind", "project_key"]);
|
|
421
423
|
for (const [name, result] of [["notes_write", written], ["notes_update", updated]]) {
|
|
422
424
|
assert.equal(Check(captured.tools.get(name).outputSchema, result.structuredContent), true, `${name} keeps its ordinary project receipt`);
|
|
423
425
|
}
|
|
@@ -11,8 +11,8 @@ const flatTheme = {
|
|
|
11
11
|
italic: (text) => text,
|
|
12
12
|
strikethrough: (text) => `~~${text}~~`,
|
|
13
13
|
};
|
|
14
|
-
function toolResult(outcome) {
|
|
15
|
-
return { content: [{ type: "text", text: "receipt" }], structuredContent: wireResult(outcome), isError: !outcome.ok, details:
|
|
14
|
+
function toolResult(outcome, details) {
|
|
15
|
+
return { content: [{ type: "text", text: "receipt" }], structuredContent: wireResult(outcome), isError: !outcome.ok, details: details };
|
|
16
16
|
}
|
|
17
17
|
function jsonResult(value, isError = false) {
|
|
18
18
|
return { content: [{ type: "text", text: JSON.stringify(value) }], isError, details: undefined };
|
|
@@ -31,22 +31,22 @@ test("notes_write expanded: the written content follows the header", () => {
|
|
|
31
31
|
assert.equal(lines(component), "wrote plan.md · overwrote · 7 chars\n\none\ntwo");
|
|
32
32
|
});
|
|
33
33
|
test("notes_update edited: collapsed peeks at the first added line", () => {
|
|
34
|
-
const result = toolResult(success({ address: "a.md", change_kind: "body", diff: " 1 old\n-2 gone\n+2 here" })
|
|
34
|
+
const result = toolResult(success({ address: "a.md", change_kind: "body" }), { diff: " 1 old\n-2 gone\n+2 here" });
|
|
35
35
|
const component = notesUpdateRenderers.renderResult(result, { expanded: false }, flatTheme, { args: { address: "a.md" } });
|
|
36
36
|
assert.equal(lines(component), "edited a.md · + here");
|
|
37
37
|
});
|
|
38
38
|
test("notes_update crumple: the address is struck through", () => {
|
|
39
|
-
const result = toolResult(success({ address: "@self/stale.md", change_kind: "metadata"
|
|
39
|
+
const result = toolResult(success({ address: "@self/stale.md", change_kind: "metadata" }));
|
|
40
40
|
const component = notesUpdateRenderers.renderResult(result, { expanded: false }, flatTheme, { args: { address: "@self/stale.md", crumpled: true } });
|
|
41
41
|
assert.equal(lines(component), "✂ crumpled ~~@self/stale.md~~");
|
|
42
42
|
});
|
|
43
43
|
test("notes_update moved: both addresses stay on the line", () => {
|
|
44
|
-
const result = toolResult(success({ address: "@self/new.md", change_kind: "moved",
|
|
44
|
+
const result = toolResult(success({ address: "@self/new.md", change_kind: "moved", rename_from: "a.md" }));
|
|
45
45
|
const component = notesUpdateRenderers.renderResult(result, { expanded: false }, flatTheme, { args: { address: "a.md", rename_to: "@self/new.md" } });
|
|
46
46
|
assert.equal(lines(component), "renamed a.md → @self/new.md");
|
|
47
47
|
});
|
|
48
48
|
test("notes_update unchanged keeps quiet", () => {
|
|
49
|
-
const result = toolResult(success({ address: "a.md", change_kind: "none"
|
|
49
|
+
const result = toolResult(success({ address: "a.md", change_kind: "none" }));
|
|
50
50
|
const component = notesUpdateRenderers.renderResult(result, { expanded: false }, flatTheme, { args: { address: "a.md" } });
|
|
51
51
|
assert.equal(lines(component), "unchanged a.md");
|
|
52
52
|
});
|
|
@@ -115,7 +115,7 @@ test("empty_brain keeps the divider and handoff within very narrow widths", () =
|
|
|
115
115
|
});
|
|
116
116
|
test("notes_update expanded diff goes through the host's diff renderer", () => {
|
|
117
117
|
initTheme();
|
|
118
|
-
const result = toolResult(success({ address: "a.md", change_kind: "body", diff: " 1 old\n-2 gone\n+2 here" })
|
|
118
|
+
const result = toolResult(success({ address: "a.md", change_kind: "body" }), { diff: " 1 old\n-2 gone\n+2 here" });
|
|
119
119
|
const component = notesUpdateRenderers.renderResult(result, { expanded: true }, flatTheme, { args: { address: "a.md" } });
|
|
120
120
|
assert.equal(lines(component), "edited a.md · + here\n\n 1 old\n-2 gone\n+2 here");
|
|
121
121
|
});
|
|
@@ -312,10 +312,10 @@ test("named project writes, edits, crumples and both move endpoints refuse, incl
|
|
|
312
312
|
const address = "@projects/api/decision";
|
|
313
313
|
for (const result of [
|
|
314
314
|
await notesWrite.execute({ address, content: "replacement" }, toolContext(own)),
|
|
315
|
-
await notesUpdate.execute({ address, edits: [{ oldText: "body", newText: "changed" }] }, toolContext(own)
|
|
316
|
-
await notesUpdate.execute({ address, crumpled: true }, toolContext(own)
|
|
317
|
-
await notesUpdate.execute({ address, rename_to: "@project/moved" }, toolContext(own)
|
|
318
|
-
await notesUpdate.execute({ address: "@project/decision", rename_to: "@projects/api/moved" }, toolContext(own)
|
|
315
|
+
await notesUpdate.execute({ address, edits: [{ oldText: "body", newText: "changed" }] }, toolContext(own)),
|
|
316
|
+
await notesUpdate.execute({ address, crumpled: true }, toolContext(own)),
|
|
317
|
+
await notesUpdate.execute({ address, rename_to: "@project/moved" }, toolContext(own)),
|
|
318
|
+
await notesUpdate.execute({ address: "@project/decision", rename_to: "@projects/api/moved" }, toolContext(own)),
|
|
319
319
|
])
|
|
320
320
|
assert.match(refused(result), /read-only; use @project\//);
|
|
321
321
|
assert.equal(data(await notesRead.execute({ address }, toolContext(own))).text, "body");
|
package/docs/tool-results.md
CHANGED
|
@@ -71,7 +71,7 @@ History pages carry `page_older` and `page_newer`, the exact params to merge int
|
|
|
71
71
|
|
|
72
72
|
A note read reports unrecognized frontmatter under `metadata.extra`; a value too large to carry, or past the verbatim budget, is named in place as `[omitted: too large]` under its key rather than delivered in part, and the value itself stays in the note file. A rename receipt uses `address` for the destination and `rename_from` for the source; it has no duplicate `rename_to` field.
|
|
73
73
|
|
|
74
|
-
`output_too_large` is not one failure
|
|
74
|
+
`output_too_large` is not one failure. Each operation's own message says what it means: a read that cannot deliver a single advancing character is refused rather than answered with an empty window, and a search result whose first match line cannot fit is cut to the longest prefix that does and ends with ` [truncated]`. `notes_update` returns a one-line receipt; Pi attaches the rendered diff under `details.diff` for the UI rather than repeating it in model-facing text or `structuredContent`. Narrowing helps only where a parameter genuinely reduces the selection — `glob` or `query`, `roles`, `limit`, `max_chars_per_item`, a `before_seq`/`after_seq` range, or a `since`/`until` time window — and cannot help a read whose own metadata is what overflows. History pages refuse with `page_too_large` for the same reason. Nothing is ever quietly delivered short: every other omission is reported on the successful result that carries it.
|
|
75
75
|
|
|
76
76
|
## Ownership
|
|
77
77
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "notesoup",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.55.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "./dist/src/index.js",
|
|
6
6
|
"types": "./dist/src/index.d.ts",
|
|
@@ -65,10 +65,8 @@
|
|
|
65
65
|
"prepublishOnly": "npm run typecheck",
|
|
66
66
|
"prepack": "npm run build"
|
|
67
67
|
},
|
|
68
|
-
"dependencies": {
|
|
69
|
-
"typebox": "1.3.27"
|
|
70
|
-
},
|
|
71
68
|
"peerDependencies": {
|
|
69
|
+
"typebox": "*",
|
|
72
70
|
"@earendil-works/pi-agent-core": "*",
|
|
73
71
|
"@earendil-works/pi-ai": "*",
|
|
74
72
|
"@earendil-works/pi-coding-agent": "*",
|
|
@@ -141,6 +139,7 @@
|
|
|
141
139
|
"@modelcontextprotocol/sdk": "^1.32.1",
|
|
142
140
|
"@types/node": "^22.19.19",
|
|
143
141
|
"esbuild": "^0.28.2",
|
|
142
|
+
"typebox": "1.3.27",
|
|
144
143
|
"typescript": "^5.9.3"
|
|
145
144
|
},
|
|
146
145
|
"publishConfig": {
|