f7cf1a1cb2
refactor: single-package workspace with root esbuild build
...
Merge workflow and sense devDependencies into root, remove per-package package.json and workflow tsconfigs, add scripts/build.mjs for consistent outputs.
Fixes #22
2026-04-30 09:03:05 +00:00
8774d71d57
feat: update senses to return ComputeResult<T>
...
Wrap compute return values in { signal, workflow: null }
to match new SenseComputeFn contract.
— 小橘 🍊 (NEKO Team)
2026-04-30 00:38:34 +00:00
1d9e574c94
fix: remove unused AbortSignal param from sense compute
...
— 小橘 🍊 (NEKO Team)
2026-04-30 00:23:12 +00:00
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
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