clawdie-ai/package.json
Clawdie AI f990d5650e refactor: derive DB identity from AGENT_NAME, drop hardcoded agent refs
- Remove 7 redundant .env vars: DB_NAME, DB_USER, DB_HOST, DB_PORT,
  MEMORY_DB_NAME, MEMORY_DB_USER, MEMORY_DB_URL — all now derived from
  AGENT_NAME by config.ts and common.sh
- Fix DB_HOST in common.sh pointing to .2 (controlplane) instead of .3 (db)
- common.sh: normalise AGENT_NAME → Postgres identifier, same algorithm
  as db-identifiers.ts; embed config now reads from .env instead of
  overriding with stale OpenRouter values
- embed.sh: drop OPENROUTER_API_KEY requirement; use EMBED_BASE_URL +
  EMBED_API_KEY (empty = local llama-server, no auth needed)
- memory-hydrate-pg.sh, memory-lifecycle.ts: replace ai_brain/clawdie_brain
  literals with live DB_NAME / MEMORY_DB_NAME values

Bump to 0.9.1.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

---
Build: pass | Tests: pass — Tests  431 passed (431)
2026-03-28 08:55:06 +00:00

53 lines
1.7 KiB
JSON

{
"name": "clawdie",
"version": "0.9.1",
"description": "Personal AI assistant. Lightweight, secure, customizable.",
"license": "BSD-3-Clause",
"type": "module",
"main": "dist/index.js",
"scripts": {
"build": "tsc",
"start": "node dist/index.js",
"dev": "tsx src/index.ts",
"doctor": "tsx src/doctor.ts",
"auth": "tsx setup/telegram-auth.ts",
"typecheck": "tsc --noEmit",
"format": "prettier --write \"src/**/*.ts\"",
"format:check": "prettier --check \"src/**/*.ts\"",
"setup": "tsx setup/index.ts",
"wizard": "tsx setup/index.ts --step onboarding",
"preflight-check": "tsx setup/index.ts --step preflight",
"hostd": "sudo node dist/hostd/index.js",
"hostd:dev": "sudo tsx src/hostd/index.ts",
"test": "vitest run",
"test:watch": "vitest",
"gen-changelog": "npx tsx scripts/gen-changelog.ts",
"backup": "tsx scripts/backup.ts",
"install-all": "tsx setup/install.ts",
"install-hooks": "git config core.hooksPath hooks",
"release": "node -e \"const v='v'+require('./package.json').version; require('child_process').execSync('git tag -a '+v+' -m '+v+' && git push origin '+v, {stdio:'inherit'});\""
},
"dependencies": {
"better-sqlite3": "^11.8.1",
"cron-parser": "^5.5.0",
"grammy": "^1.41.1",
"pg": "^8.20.0",
"pino": "^9.6.0",
"pino-pretty": "^13.0.0",
"yaml": "^2.8.2",
"zod": "^4.3.6"
},
"devDependencies": {
"@types/better-sqlite3": "^7.6.12",
"@types/node": "^22.10.0",
"@types/pg": "^8.18.0",
"@vitest/coverage-v8": "^4.0.18",
"prettier": "^3.8.1",
"tsx": "^4.19.0",
"typescript": "^5.7.0",
"vitest": "^4.0.18"
},
"engines": {
"node": ">=24"
}
}