Eyejoker
5ea3439c5f
refactor: extract shared utilities, protocol constants, and retry loop
...
Phase 3: provider-retry.ts — shared Claude rotation loop (SSOT)
- retryClaudeWithRotation extracted from message-agent-executor + task-scheduler
- ~200 lines of duplicated retry logic removed
Phase 4: types.ts — AgentOutputPhase + VisiblePhase unified
Phase 5: types.ts — AgentConfig extended with claudeThinking/claudeThinkingBudget
Utilities (utils.ts):
- getErrorMessage: 14 occurrences of instanceof Error pattern → 1 function
- readJsonFile/writeJsonFile: 19 occurrences of JSON+fs pattern → 2 functions
- fetchWithTimeout: 3 occurrences of AbortController pattern → 1 function
- formatElapsedKorean: deduplicated from task-watch-status + message-turn-controller
Protocol (agent-protocol.ts):
- OUTPUT_START/END_MARKER centralized (runners keep local copies with SSOT reference)
- IMAGE_TAG_RE, IPC constants documented
Runner: show "대화 요약 중..." progress message during auto-compact
Net: -137 lines, 354/354 tests passing
2026-03-25 04:59:49 +09:00
Eyejoker
d28b6151a8
chore: rebrand runtime and docs to EJClaw
2026-03-23 08:09:15 +09:00
Eyejoker
02408aae8e
refactor: make runners single-turn
2026-03-23 04:51:54 +09:00
Eyejoker
6eb72ad499
Merge origin/main into chore/nanoclaw-recursive-room
2026-03-20 03:48:29 +09:00
Eyejoker
a293a701f4
fix: restore regressions from discord-only refactor
2026-03-20 03:41:53 +09:00
Eyejoker
bb0628e8f4
refactor: remove legacy container and non-discord remnants
2026-03-20 01:07:46 +09:00
Eyejoker
f2ad1331a9
Rebrand NanoClaw to EJClaw
2026-03-19 03:31:41 +09:00
Eyejoker
779d57c392
Stabilize paired-room orchestration and Codex app-server flow
2026-03-19 02:57:14 +09:00
Eyejoker
9a6d9f4c4b
revert: roll back DB merge, keep useful improvements
...
Fully revert DB merge patch (WAL, composite PK, SERVICE_ID in IPC/
router_state/sessions). Return to proven split-DB architecture.
Keep:
- Docker/Apple Container cleanup
- Usage dashboard CLAUDE_CODE_OAUTH_TOKEN fallback
- Codex runner heartbeat
- Agent-runner stderr timeout reset
2026-03-15 22:35:53 +09:00
Eyejoker
e2d6476cdf
refactor: rename container/ to runners/
...
No longer using Docker containers — agents run as direct host
processes. The directory name now reflects the actual purpose.
Updated all references across source code, docs, and skills.
2026-03-15 19:29:23 +09:00