0.7.0 — Privileged Host Daemon + PF Web Edge: - clawdie-hostd: root daemon on /var/run/clawdie-hostd.sock with whitelisted Zod-validated op handlers (bastille, zfs, pf, service, pkg, sysrc, sanoid) - setup/pf.ts: writes /etc/pf.conf with NAT egress + rdr pass 80/443 → cms jail - src/controlplane.ts: self-healing checks hostd, service jails, PF; repairs via hostd; process.exit(1) if db jail still down after fix - setup/hostd.ts: installs rc.d script, sets clawdie_hostd_enable=YES - setup/service.ts: tmux session with setup window when PI_PROFILE=setup - Preflight: 15 steps (pf at position 3, hostd at position 12) - Removed infra/ansible/playbooks/host-nginx.yaml 0.7.1 — Control Plane Refactoring: - src/infra.ts → src/controlplane.ts (runControlPlaneChecks, CONTROLPLANE_CHECK_INTERVAL_MS, ControlPlaneReport, ControlPlaneCheckResult) - Watchdog stores lastControlPlaneReport; exposed as controlplane in IPC status - doctor now queries watchdog IPC: prints WATCHDOG_* and CONTROLPLANE_* lines - Docs: README simplified, MONITORING rewritten with watchdog/controlplane layers, SECURITY updated with hostd in architecture diagram, HOST-OPERATOR-MODEL gets privilege delegation section, CMS-DEPLOYMENT-PLAN updated with implementation status - Skills: nginx fully rewritten to cms-jail model; setup + freebsd-admin updated - All stale src/infra.ts references eliminated --- Build: pass | Tests: pass — 414 passed (45 files) Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> --- Build: pass | Tests: pass — Tests 414 passed | 10 skipped (424) --- Build: pass | Tests: pass — Tests 414 passed | 10 skipped (424)
49 lines
1.4 KiB
JSON
49 lines
1.4 KiB
JSON
{
|
|
"name": "clawdie",
|
|
"version": "0.7.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"
|
|
},
|
|
"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"
|
|
}
|
|
}
|