@retaw106/mmc-pi 2.2.0 → 2.3.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@retaw106/mmc-pi",
3
- "version": "2.2.0",
3
+ "version": "2.3.0",
4
4
  "type": "module",
5
5
  "description": "Pi and OMP coding agent extension for Magic Context — cross-session memory and context management",
6
6
  "main": "dist/index.js",
@@ -31,7 +31,7 @@
31
31
  "dist",
32
32
  "README.md"
33
33
  ],
34
- "//": "The build intentionally bundles typebox (no --external typebox) and keeps it a regular dependency. OMP's extension loader rewrites every bare `typebox` import to its own omptype-based shim, whose schemas are callable objects rather than JSON Schema; they fail structuredClone during tool registration, so an external typebox import stops Magic Context loading on OMP. src/typebox-bundling.test.ts guards this.",
34
+ "//": "The build intentionally bundles typebox (no --external typebox): OMP's extension loader rewrites every bare `typebox` import to its own omptype-based shim, whose schemas are callable objects rather than JSON Schema; they fail structuredClone during tool registration, so an external typebox import stops Magic Context loading on OMP. The package nonetheless declares typebox as an optional peer \"*\": Pi treats it as a host-provided extension package and warns on startup when it appears in dependencies (upstream issue #571). The bundled copy is the only one loaded at runtime. src/typebox-bundling.test.ts guards both facts.",
35
35
  "scripts": {
36
36
  "build": "bun ../../scripts/check-bun.mjs && bun ../../scripts/clean-dist-chunks.mjs dist index.js historian-calibration-extension.js config-init.js cli.js && rm -rf dist/web && bun build src/index.ts src/historian-calibration-extension.ts --outdir dist --target node --format esm --splitting --external @earendil-works/pi-coding-agent --external @earendil-works/pi-tui --external node:sqlite && bun run build:web && bun run build:config-init && bun run build:cli",
37
37
  "build:web": "bun build src/web/main.ts --outfile dist/web/main.js --target node --format esm --external @earendil-works/pi-coding-agent --external @earendil-works/pi-tui --external node:sqlite && mkdir -p dist/web/ui && cp ../plugin/src/web/ui/* dist/web/ui/",
@@ -51,25 +51,24 @@
51
51
  "dependencies": {
52
52
  "ai-tokenizer": "^1.0.6",
53
53
  "comment-json": "^5.0.0",
54
- "typebox": "^1.3.1",
55
54
  "zod": "^4.1.8"
56
55
  },
57
56
  "devDependencies": {
58
57
  "@biomejs/biome": "^2.5.1",
59
- "@earendil-works/pi-ai": "0.83.0",
60
- "@earendil-works/pi-coding-agent": "0.83.0",
61
- "@earendil-works/pi-tui": "0.83.0",
58
+ "@earendil-works/pi-ai": "1.3.0",
59
+ "@earendil-works/pi-agent-core": "1.3.0",
60
+ "@earendil-works/pi-coding-agent": "1.3.0",
61
+ "@earendil-works/pi-tui": "1.3.0",
62
62
  "@types/better-sqlite3": "^7.6.13",
63
63
  "@types/bun": "^1.3.10",
64
64
  "@types/node": "^22.20.0",
65
- "pi-ai-086": "npm:@earendil-works/pi-ai@0.86.0",
66
- "pi-coding-agent-086": "npm:@earendil-works/pi-coding-agent@0.86.0",
67
- "pi-coding-agent-087": "npm:@earendil-works/pi-coding-agent@0.87.1",
65
+ "typebox": "^1.3.1",
68
66
  "typescript": "^5.8.0"
69
67
  },
70
68
  "peerDependencies": {
71
- "@earendil-works/pi-coding-agent": ">=0.80.2",
72
- "@earendil-works/pi-tui": ">=0.80.2"
69
+ "@earendil-works/pi-coding-agent": ">=1.3.0",
70
+ "@earendil-works/pi-tui": ">=1.3.0",
71
+ "typebox": "*"
73
72
  },
74
73
  "peerDependenciesMeta": {
75
74
  "@earendil-works/pi-coding-agent": {
@@ -77,6 +76,9 @@
77
76
  },
78
77
  "@earendil-works/pi-tui": {
79
78
  "optional": true
79
+ },
80
+ "typebox": {
81
+ "optional": true
80
82
  }
81
83
  },
82
84
  "exports": {