feat(coding-agent): remove the experimental server stack and the client, protocol, and server packages

Deletes packages/client, packages/protocol (CBOR codec), packages/server, coding-agent's
src/experimental (except source-resolver.ts, which source runs still preload), src/cli/experimental,
src/client, the example plugin, and their tests. coding-agent no longer depends on @earendil-works/chord.
The installer lock drops esbuild, so its platform-package sanity check goes too.
This commit is contained in:
Mario Zechner 2026-10-12 10:19:42 +00:00
parent 2ee5c1e56d
commit 7472cda0d6
161 changed files with 32 additions and 21561 deletions

View file

@ -18,19 +18,10 @@
},
"./rpc-entry": {
"import": "./dist/bundle/rpc-entry.js"
},
"./client": {
"source": "./src/client/index.ts"
},
"./experimental/plugin": {
"source": "./src/experimental/plugin.ts"
}
},
"files": [
"dist",
"!dist/client",
"!dist/experimental",
"!dist/cli/experimental",
"docs",
"examples",
"schemas",
@ -41,7 +32,7 @@
"clean": "shx rm -rf dist",
"build": "npm run build:unbundled && node ../../scripts/build-coding-agent-bundle.mjs",
"build:unbundled": "tsc -p tsconfig.build.json && shx chmod +x dist/cli.js dist/rpc-entry.js && npm run copy-assets",
"build:binary": "npm --prefix ../tui run build && npm --prefix ../telemetry run build && npm --prefix ../ai run build && npm --prefix ../agent run build && npm --prefix ../protocol run build && npm --prefix ../client run build && npm run build && bun build --compile --no-compile-autoload-bunfig --no-compile-autoload-dotenv ./dist/bun/cli.js ./src/utils/image-resize-worker.ts ./src/extensions/codemode/worker.ts --outfile dist/pi && npm run copy-binary-assets",
"build:binary": "npm --prefix ../tui run build && npm --prefix ../telemetry run build && npm --prefix ../ai run build && npm --prefix ../agent run build && npm run build && bun build --compile --no-compile-autoload-bunfig --no-compile-autoload-dotenv ./dist/bun/cli.js ./src/utils/image-resize-worker.ts ./src/extensions/codemode/worker.ts --outfile dist/pi && npm run copy-binary-assets",
"copy-assets": "shx mkdir -p dist/modes/interactive/theme && shx cp src/modes/interactive/theme/*.json dist/modes/interactive/theme/ && shx mkdir -p dist/modes/interactive/assets && shx cp src/modes/interactive/assets/*.png dist/modes/interactive/assets/ && shx mkdir -p dist/core/export-html/vendor && shx cp src/core/export-html/template.html src/core/export-html/template.css src/core/export-html/template.js dist/core/export-html/ && shx cp src/core/export-html/vendor/*.js dist/core/export-html/vendor/",
"copy-binary-assets": "shx cp package.json dist/ && shx cp README.md dist/ && shx cp CHANGELOG.md dist/ && shx mkdir -p dist/theme && shx cp src/modes/interactive/theme/*.json dist/theme/ && shx mkdir -p dist/assets && shx cp src/modes/interactive/assets/*.png dist/assets/ && shx mkdir -p dist/export-html/vendor && shx cp src/core/export-html/template.html dist/export-html/ && shx cp src/core/export-html/vendor/*.js dist/export-html/vendor/ && shx cp -r docs dist/ && shx cp -r examples dist/ && shx cp ../../node_modules/@silvia-odwyer/photon-node/photon_rs_bg.wasm dist/",
"test": "vitest --run",
@ -49,7 +40,6 @@
"prepublishOnly": "npm run clean && npm run build"
},
"dependencies": {
"@earendil-works/chord": "^1.1.0",
"@earendil-works/pi-agent-core": "^1.1.0",
"@earendil-works/pi-ai": "^1.1.0",
"@earendil-works/pi-codemode": "^1.1.0",
@ -77,9 +67,6 @@
"protobufjs": "7.6.6"
},
"devDependencies": {
"@earendil-works/pi-client": "^1.1.0",
"@earendil-works/pi-protocol": "^1.1.0",
"@earendil-works/pi-server": "^1.1.0",
"@types/cross-spawn": "6.0.6",
"@types/hosted-git-info": "3.0.5",
"@types/node": "22.19.19",