chore: remove the packages excluded from the community edition (P2.2)
Delete apps/www, packages/admin-web, every packages/hive-mind-* package, packages/memory-mcp and packages/wiki-compiler (ADR-0002), with what existed only for them: their tests kept outside the packages, the hook runtime build, the hive-mind OSS subtree-split and drift scripts, the www deploy and hive-mind-cli workflows, the staged hook lifecycle step in the Windows desktop workflows, and the root dev:www, build:www and build:hook-runtime scripts. Drop the matching excludes from the Vitest, ESLint and workspace dependency checks, the next override, and the extraneous workspace entries from package-lock.json. The smart-router qualification seed now writes its spend to waggle.db, where the sidecar has read cost traces since P1.5.
This commit is contained in:
@@ -613,11 +613,11 @@ export async function seedQualificationDailySpend(
|
||||
throw new RangeError('Qualification spend seed must be a positive finite amount');
|
||||
}
|
||||
await mkdir(dataDir, { recursive: true });
|
||||
const [{ MindDB }, { ExecutionTraceStore }] = await Promise.all([
|
||||
import('../packages/hive-mind-core/src/mind/db.js'),
|
||||
import('../packages/hive-mind-core/src/mind/execution-traces.js'),
|
||||
const [{ WaggleDB }, { ExecutionTraceStore }] = await Promise.all([
|
||||
import('../packages/core/src/waggle-db.js'),
|
||||
import('../packages/core/src/execution-traces.js'),
|
||||
]);
|
||||
const db = new MindDB(path.join(dataDir, 'personal.mind'));
|
||||
const db = WaggleDB.openInDataDir(dataDir);
|
||||
try {
|
||||
const store = new ExecutionTraceStore(db);
|
||||
const traceId = store.start({
|
||||
|
||||
Reference in New Issue
Block a user