refactor: drop the legacy memory engine from core, the server and the build (P1.5)
- @waggle/core no longer re-exports @waggle/hive-mind-core and no longer depends on it. - The server no longer opens personal.mind or a cache of workspace minds; the legacy files are only read by the one-time copies of legacy data. releaseWorkspace closes the workspace's sessions and detaches it from the shared orchestrator. - WorkspaceManager stops creating an empty workspace.mind. - memory-center-legacy.ts had no callers left and is removed. - build:packages no longer builds hive-mind-core and wiki-compiler; the sidecar aliases the memory packages to source instead. - mem0ai stays external in the sidecar and launcher bundles: it imports a client for every provider it supports on demand, and bundling it failed on the optional peers Waggle does not install. The launcher declares mem0ai and no longer needs sqlite-vec.
This commit is contained in:
@@ -19,7 +19,7 @@
|
||||
"build:dev": "cd apps/web && npx vite build --mode development --outDir ../../dist --emptyOutDir",
|
||||
"typecheck:web": "cd apps/web && npx tsc --noEmit -p tsconfig.app.json",
|
||||
"preview": "cd apps/web && npx vite preview",
|
||||
"build:packages": "cd packages/shared && npx tsc --build && cd ../memory-contract && npx tsc --build && cd ../memory-mem0 && npx tsc --build && cd ../hive-mind-core && npx tsc --build && cd ../core && npx tsc --build && cd ../wiki-compiler && npx tsc --build && cd ../marketplace && npx tsc --build && cd ../agent && npx tsc --build && cd ../server && npx tsc --build",
|
||||
"build:packages": "cd packages/shared && npx tsc --build && cd ../memory-contract && npx tsc --build && cd ../memory-mem0 && npx tsc --build && cd ../core && npx tsc --build && cd ../marketplace && npx tsc --build && cd ../agent && npx tsc --build && cd ../server && npx tsc --build",
|
||||
"build:hook-runtime": "node scripts/build-hook-runtime.mjs",
|
||||
"build:all": "npm run build:packages && npm run build",
|
||||
"dev:www": "npm run dev -w apps/www",
|
||||
|
||||
Reference in New Issue
Block a user