252162ea8e
refactor: pure sense compute — return data instead of db.insert
...
All 5 senses updated to new API:
- compute(signal: AbortSignal) => Promise<T | null>
- Export table for runtime-side insert
- Remove drizzle-orm/libsql imports
Refs uncaged/nerve#264
— 小橘 🍊 (NEKO Team)
2026-04-30 00:15:03 +00:00
0fab8a68c3
chore: declare pnpm workspace, remove per-package lockfiles and pnpm config
...
- Add pnpm-workspace.yaml (senses/*, workflows/*)
- Add root build script: pnpm -r build
- Remove pnpm.onlyBuiltDependencies from sense package.json
- Remove pnpm.overrides from workflow package.json
- Remove per-package pnpm-lock.yaml and node_modules
2026-04-28 11:11:41 +00:00
4cf10ad7bf
feat: migrate senses to TypeScript source + esbuild bundle
...
- Move index.js → src/index.ts with proper types for all 4 senses
- Move schema.ts → src/schema.ts
- Add package.json with esbuild build script per sense
- Bundle to index.js at sense root (daemon loads this)
- Update sense-generator coder prompt with TypeScript conventions
Fixes #224
2026-04-28 07:26:53 +00:00
9a3c50c257
refactor: consolidate senses — merge tcp-socket-stats into system-health, remove cpu-usage
...
- Remove cpu-usage sense (redundant with system-health loadavg)
- Remove linux-tcp-socket-stats (merged into linux-system-health)
- Remove disk-usage-mounts (unused)
- Add tcp socket fields to system-health schema + migration
- Simplify nerve.yaml: 4 senses → 2
小橘 <xiaoju@shazhou.work>
2026-04-24 06:13:51 +00:00
d7e2913d99
feat: add linux-system-health sense + update config
...
- Add linux-system-health sense (CPU load, memory, disk, uptime)
- Register in nerve.yaml with 30s interval
- Clean up .gitignore (ignore logs, pid, sock, false/)
- Remove stale pnpm metadata cache (false/)
小橘 🍊 (NEKO Team)
2026-04-23 10:39:26 +00:00