10 Commits

Author SHA1 Message Date
xiaomo 7993ecc6d6 feat: extract @uncaged/pulse-local package, remove createStore from core exports
CI / test (push) Has been cancelled
Phase 2 of PulseDatabase abstraction:
- Create @uncaged/pulse-local with bun:sqlite implementation
- Core @uncaged/pulse now exports types only for store (no createStore/createScopedStore)
- Update pulse-workflows, upulse to import factories from @uncaged/pulse-local
- All tests passing (267 core, 39 pulse-workflows)
2026-04-20 01:34:46 +00:00
xiaoju 40a7804dfb refactor: migrate business workflows to @upulse/workflows package
CI / test (push) Has been cancelled
- Move coding, coding-tdd, report, werewolf, cursor-health workflows
  to packages/pulse-workflows/
- Move analyst, architect, coder, renderer, reviewer roles to
  packages/pulse-workflows/
- Update all imports in migrated files to use @uncaged/pulse
- Update daemon and e2e files to import from @upulse/workflows
- Clean up core workflows/index.ts re-exports
- Add AgentExecutor, LlmRoleFactory, Scaffold exports to core index.ts
- Core package: 25 tests pass, workflows package: 40 tests pass

小橘 🍊 (NEKO Team)
2026-04-18 09:56:43 +00:00
xiaomo 272aa9728a feat: pulseflare package — CF Workers + D1 runtime (refs #5)
CI / test (push) Has been cancelled
2026-04-18 07:51:37 +00:00
xiaomo 4c9439facf feat: implement Definition Layer (RFC #58 Phase 1)
- Add three append-only definition tables: object_defs, event_defs, projection_defs
- Support content-addressed versioning with SHA-256 hashes
- Implement JSONata expression validation for projections
- Add projection_def_sources table with foreign key constraints
- Support (name, code_rev) unique constraints for versioning
- Add comprehensive test suite covering all 9 scenarios from Issue #60

closes #60
2026-04-15 03:14:54 +00:00
小橘 🍊 a9be34f563 feat: @uncaged/pulse-openclaw — OpenClaw adapter package (closes #40)
* feat: @uncaged/pulse-oc — OpenClaw adapter package (closes #40)

- Extract gateway-health & llm-health watchers from core to pulse-oc
- Add gateway-health-guard rule and archive-sessions executor
- Update CI, README, CONTRIBUTING for the new package
- Fix E2E tests to use core ESSENTIAL_PROCESSES after openclaw removal

Made-with: Cursor

* feat: @uncaged/pulse-openclaw — OpenClaw adapter package (closes #40)

* chore: rename pulse-oc → pulse-openclaw

Made-with: Cursor

---------

Co-authored-by: 小橘 <xiaoju@shazhou.work>
2026-04-15 00:15:09 +08:00
小橘 🍊 e457f631c7 refactor: extract cursor-agent executor to @uncaged/pulse-cursor package
Made-with: Cursor

Co-authored-by: 小橘 <xiaoju@shazhou.work>
2026-04-14 23:52:24 +08:00
小橘 🍊 701198cb2c feat: @uncaged/pulse-hermes — watcher + executor adapter (#37)
* feat: @uncaged/pulse-hermes — watcher + executor adapter (closes #35)

New package: @uncaged/pulse-hermes

Watcher (hermes-watcher.ts):
- Reads gateway_state.json for gateway health, active sessions, platform states
- Checks process liveness via PID + pgrep fallback
- Checks cron scheduler liveness
- shouldWake triggers on: gateway death, error state, agent idle transition

Executor (hermes-executor.ts):
- CLI mode: spawns `hermes run` with prompt file
- Supports model override, toolset selection, timeout
- API and Telegram modes stubbed for future implementation

22 tests, all passing.

* fix: biome lint — template literals, unused imports, import order

---------

Co-authored-by: 鹿鸣 <luming@shazhou.work>
2026-04-14 23:16:42 +08:00
xiaoju 5a8195eec8 chore: clean up pnpm remnants, restore bun as package manager
Made-with: Cursor
2026-04-14 14:58:39 +00:00
xiaomo 7d73efd298 chore: remove leftover bun.lock and npm lock files 2026-04-14 14:32:17 +00:00
小橘 🍊 b7d7ae9774 chore: add Biome linter + format all code + CI lint step (#26)
- biome.json: 2-space indent, single quotes, recommended rules
- All 30 source files formatted (auto-fix, no logic changes)
- CI: Biome lint runs before type check and tests
- Root package.json with lint/lint:fix scripts

89 unit tests green (82 core + 7 watcher).

小橘 🍊(NEKO Team)

Co-authored-by: 小橘 <xiaoju@shazhou.work>
2026-04-14 19:22:54 +08:00