7 Commits

Author SHA1 Message Date
07be0d3dfa refactor: move all build output to dist/
- senses build to dist/senses/<name>/index.js
- workflows build to dist/workflows/<name>/index.js
- scripts/build.mjs: clean dist/ before build, output to dist/
- .gitignore: simplified to just dist/

小橘 <xiaoju@shazhou.work>
2026-04-30 09:16:04 +00:00
0fdd2d26cc chore: remove build artifacts from git tracking
These are esbuild outputs, now covered by .gitignore.

小橘 <xiaoju@shazhou.work>
2026-04-30 09:11:16 +00:00
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
495d8d1b60 chore(workflow): auto-generated commit 2026-04-28 12:55:08 +00:00