Files
slopus--happy/package.json
Kirill Dubovitskiy 4bbff81d5c checkpoint: 29 loop iterations — happy-sync refactor before prompt overhaul
Work done by automated claude/codex loop (loop.sh) over ~9 hours:
- Renamed happy-wire → happy-sync, updated all imports across monorepo
- Built SyncNode class (transport, encryption, state, outbox, pagination)
- Deleted happy-agent package (absorbed into daemon + SyncNode)
- Deleted happy-wire package
- Removed legacy message processing from app (reducer, v3Converter, dual-write)
- Wired CLI sessions to SyncNode via SyncBridge
- Server auth + socket hardening for SyncNode tokens
- Level 0 unit tests passing (protocol, mappers, SyncNode state)
- Level 1 integration tests passing (20/20, auto-boots server)

NOT working (despite agents claiming 85% done):
- Level 2 e2e tests NEVER RAN — silently skipped due to env var checks
  and structurally broken (no CLI process spawned to respond to messages)
- Daemon → CLI spawn wiring on session creation not implemented
- E2e test infrastructure needs complete rework

Generated with [Claude Code](https://claude.ai/code)
via [Happy](https://happy.engineering)

Co-Authored-By: Claude <noreply@anthropic.com>
Co-Authored-By: Happy <yesreply@happy.engineering>
2026-03-22 15:18:01 -07:00

44 lines
1.7 KiB
JSON

{
"name": "monorepo",
"private": true,
"scripts": {
"cli": "yarn workspace happy-coder cli",
"release": "node ./scripts/release.cjs",
"web": "yarn workspace happy-app web",
"postinstall": "node ./scripts/postinstall.cjs",
"env:new": "tsx environments/environments.ts new",
"env:list": "tsx environments/environments.ts list",
"env:use": "tsx environments/environments.ts use",
"env:remove": "tsx environments/environments.ts remove",
"env:current": "tsx environments/environments.ts current",
"env:server": "tsx environments/environments.ts run server",
"env:web": "tsx environments/environments.ts run web",
"env:ios": "tsx environments/environments.ts run ios",
"env:android": "tsx environments/environments.ts run android",
"env:cli": "tsx environments/environments.ts run cli",
"env:seed": "tsx environments/environments.ts seed",
"env:up": "tsx environments/environments.ts up",
"env:up:authenticated": "yarn env:up --template authenticated-empty",
"env:down": "tsx environments/environments.ts down",
"env:tailscale": "tsx environments/environments.ts tailscale"
},
"workspaces": {
"packages": [
"packages/happy-app",
"packages/happy-cli",
"packages/happy-server",
"packages/happy-sync"
],
"nohoist": [
"**/zod",
"**/react",
"**/react-dom",
"**/react-native",
"**/react-native/**",
"**/react-native-edge-to-edge/**",
"**/react-native-incall-manager/**"
]
},
"packageManager": "yarn@1.22.22"
}