@waggle/memory-contract defines MemoryStore: remember (text, or a conversation to extract facts from), search, list, count, get, update, forget, forgetMatching and history over personal and workspace scopes, with kinds, importance, source, origin and session in place of the old content prefixes and named sessions. It ships an in-memory store and a compatibility suite that every implementation runs. @waggle/memory-mem0 implements the contract on mem0ai 3.3.1 in-process: SQLite files in one directory, scope as mem0's agent_id, Waggle's own embedder through mem0's langchain provider, fact extraction through any OpenAI-compatible endpoint. mem0's telemetry and remote notice download are switched off before the module loads; a test asserts that no request is made. Memory survives a restart (tested). New dependencies: mem0ai 3.3.1 (Apache-2.0, pinned exactly) with its required peers compromise (MIT) and @cloudflare/workers-types (MIT OR Apache-2.0); transitive openai (Apache-2.0), axios (MIT) and others under MIT or BSD-2-Clause.
122 lines
5.3 KiB
JSON
122 lines
5.3 KiB
JSON
{
|
|
"name": "waggle-os",
|
|
"version": "0.1.0",
|
|
"description": "Waggle OS — workspace-native AI agent platform with persistent memory",
|
|
"type": "module",
|
|
"private": true,
|
|
"engines": {
|
|
"node": "^20.19.0 || >=22.12.0"
|
|
},
|
|
"workspaces": [
|
|
"apps/*",
|
|
"packages/*"
|
|
],
|
|
"scripts": {
|
|
"bench": "npx tsx benchmarks/harness/src/runner.ts",
|
|
"dev": "cd apps/web && npx vite",
|
|
"dev:web": "npm run dev",
|
|
"dev:server": "cd packages/server && npx tsx src/local/start.ts",
|
|
"build": "cd apps/web && npx tsc --noEmit -p tsconfig.app.json && npx vite build --outDir ../../dist --emptyOutDir",
|
|
"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 ../waggle-dance && npx tsc --build --force && cd ../hive-mind-core && npx tsc --build && cd ../core && npx tsc --build && cd ../weaver && npx tsc --build && cd ../wiki-compiler && npx tsc --build && cd ../marketplace && npx tsc --build && cd ../agent && npx tsc --build && cd ../server && npx tsc --build && cd ../worker && npm run 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",
|
|
"build:www": "npm run build -w apps/www",
|
|
"lint": "eslint .",
|
|
"check:deps": "node scripts/check-workspace-deps.mjs",
|
|
"lint:no-invalid-snapshots": "node scripts/check-no-invalid-snapshots.mjs",
|
|
"ux:contrast": "node scripts/ux-gates/contrast-tokens.mjs",
|
|
"ux:color-guard": "node scripts/ux-gates/text-color-guard.mjs",
|
|
"ux:contrast-runtime": "node scripts/ux-gates/contrast-runtime.mjs",
|
|
"ux:warm-gate": "node scripts/ux-gates/warm-interaction-gate.mjs",
|
|
"test": "vitest run",
|
|
"test:critical": "vitest run --config vitest.critical.config.ts --coverage",
|
|
"test:perf": "vitest run --config vitest.perf.config.ts",
|
|
"test:infra": "vitest run --config vitest.infra.config.ts",
|
|
"test:watch": "vitest",
|
|
"test:e2e": "node node_modules/playwright/cli.js test tests/e2e -c playwright.config.ts --project=chromium --reporter=list --retries=0 --timeout=60000",
|
|
"test:e2e:smoke": "node node_modules/playwright/cli.js test tests/e2e/user-journeys.spec.ts --grep=\"J1:|J2:|J6:|J8:|J-mobile: Settings\" --project=chromium --reporter=list",
|
|
"test:visual": "node node_modules/playwright/cli.js test tests/visual --project=chromium --reporter=list",
|
|
"test:all": "node node_modules/playwright/cli.js test --grep-invert=\"persona:\" --reporter=list",
|
|
"test:retry": "node node_modules/playwright/cli.js test --last-failed --reporter=list",
|
|
"test:fast": "node node_modules/playwright/cli.js test tests/e2e -c playwright.config.ts --project=chromium --grep-invert=\"4\\.9|B8\\.5\" --reporter=list --retries=0 --timeout=60000",
|
|
"persona:seal": "tsx scripts/seal-persona-acceptance.ts"
|
|
},
|
|
"author": "Marko Markovic",
|
|
"license": "MIT",
|
|
"overrides": {
|
|
"protobufjs": ">=7.6.3 <8",
|
|
"tar": ">=7.5.21 <8",
|
|
"js-cookie": ">=3.0.6 <4",
|
|
"lodash": ">=4.17.24 <5",
|
|
"tmp": ">=0.2.6 <0.3",
|
|
"fastify": ">5.8.4 <6",
|
|
"@fastify/static": ">=10.1.2 <11",
|
|
"@clerk/fastify": ">=3.1.16 <4",
|
|
"@xmldom/xmldom": "0.8.13",
|
|
"@huggingface/transformers": {
|
|
"sharp": "0.35.3"
|
|
},
|
|
"brace-expansion@1": "1.1.18",
|
|
"brace-expansion@2": "2.1.4",
|
|
"brace-expansion@5": "5.0.9",
|
|
"fast-uri": "3.1.5",
|
|
"ip-address": "10.4.0",
|
|
"find-my-way": "9.7.0",
|
|
"js-yaml": "4.3.1",
|
|
"better-sqlite3": "12.6.2",
|
|
"next": "16.3.0"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/marolinik/waggle-os.git"
|
|
},
|
|
"keywords": [
|
|
"ai",
|
|
"agent",
|
|
"swarm",
|
|
"memory",
|
|
"llm",
|
|
"waggle"
|
|
],
|
|
"devDependencies": {
|
|
"@swc/core": "^1.15.21",
|
|
"@testing-library/jest-dom": "^6.9.1",
|
|
"@testing-library/react": "^16.3.2",
|
|
"axe-core": "^4.12.1",
|
|
"esbuild": "^0.27.4",
|
|
"js-yaml": "4.3.1",
|
|
"jsdom": "^20.0.3",
|
|
"react": "^19.1.0",
|
|
"react-dom": "^19.1.0",
|
|
"tsx": "4.21.0",
|
|
"typescript": "^5.8.3",
|
|
"@vitest/coverage-v8": "^3.2.7"
|
|
},
|
|
"dependencies": {
|
|
"@base-ui/react": "^1.3.0",
|
|
"@huggingface/transformers": "3.8.1",
|
|
"@tailwindcss/vite": "^4.2.2",
|
|
"@tauri-apps/api": "^2.10.1",
|
|
"@tauri-apps/plugin-shell": "^2.3.5",
|
|
"@vitejs/plugin-react": "5.1.1",
|
|
"sharp": "0.35.3",
|
|
"tailwind-merge": "^3.5.0"
|
|
},
|
|
"//optionalDependencies": "Platform-specific native binaries — optional so npm SKIPS them on os/cpu mismatch (Linux/macOS CI) instead of failing install with EBADPLATFORM. See docs/audits/2026-06-01-full-repo-verification-sweep.md.",
|
|
"optionalDependencies": {
|
|
"@rolldown/binding-win32-x64-msvc": "^1.0.0-rc.13",
|
|
"@rollup/rollup-darwin-arm64": "4.60.4",
|
|
"@rollup/rollup-darwin-x64": "4.60.4",
|
|
"@rollup/rollup-linux-x64-gnu": "4.60.4",
|
|
"@rollup/rollup-linux-x64-musl": "4.60.4",
|
|
"@rollup/rollup-win32-x64-msvc": "4.60.4",
|
|
"@swc/core-win32-x64-msvc": "^1.15.21",
|
|
"lightningcss-win32-x64-msvc": "^1.32.0",
|
|
"sqlite-vec-windows-x64": "^0.1.9"
|
|
}
|
|
}
|