- @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.
27 lines
738 B
TypeScript
27 lines
738 B
TypeScript
import { defineConfig } from 'tsup';
|
|
|
|
export default defineConfig({
|
|
entry: ['src/cli.ts'],
|
|
format: ['esm'],
|
|
target: 'node18',
|
|
clean: true,
|
|
shims: true,
|
|
banner: {
|
|
js: '#!/usr/bin/env node',
|
|
},
|
|
// Inline all @waggle/* workspace packages into the bundle.
|
|
// Third-party npm packages stay external (installed as dependencies).
|
|
noExternal: [/^@waggle\//],
|
|
// Runtime packages that cannot be bundled safely.
|
|
external: [
|
|
'@huggingface/transformers',
|
|
'onnxruntime-node',
|
|
'adm-zip',
|
|
'playwright-core',
|
|
'chromium-bidi',
|
|
// mem0 loads a client for each provider it supports on demand; those are
|
|
// optional peers Waggle does not install (see scripts/build-sidecar.mjs).
|
|
'mem0ai',
|
|
],
|
|
});
|