Commit Graph
630 Commits
Author SHA1 Message Date
arkon c748aedcd2 chore: bump version to 0.1560 2026-02-19 22:01:43 +01:00
arkon 3e8aae8c8d chore: bump version to 0.1559 2026-02-19 21:56:16 +01:00
arkon 00ad670441 chore: bump version to 0.1558 2026-02-19 21:44:03 +01:00
arkonandClaude Opus 4.6 dc6c65fd8b fix: detect stale tmux sessions on startInteractive/startShell
When Claude exits inside a tmux session, tmux destroys the session
(remain-on-exit is off), but the _muxSession reference persists.
On restart, startInteractive() treats it as a "restored session" and
tries to attach to the dead tmux — causing instant exit code 1.

Now checks tmux has-session before attaching. If the session is gone,
clears the stale reference and creates a fresh tmux session.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-19 21:38:01 +01:00
arkonandClaude Opus 4.6 cf0d9e7d83 chore: bump version to 0.1557
Lifecycle log window: draggable, resizable, wider (900px), hidden on mobile.
Fixed display toggle (block vs empty string).

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-19 19:55:04 +01:00
arkonandClaude Opus 4.6 383ed5e5a0 feat: session lifecycle audit log — append-only JSONL at ~/.claudeman/session-lifecycle.jsonl
Records every session create, start, exit, delete, recover, stale-clean,
mux-died, and server start/stop with timestamps, names, reasons, and exit
codes. Survives server restarts (unlike in-memory RunSummary).

- New SessionLifecycleLog singleton (src/session-lifecycle-log.ts)
- LifecycleEventType + LifecycleEntry types in types.ts
- GET /api/session-lifecycle endpoint with sessionId/event/since/limit filters
- cleanupSession() now takes reason parameter for audit trail
- state-store cleanupStaleSessions returns cleaned session IDs+names
- UI: lifecycle log modal accessible from header clipboard icon
- Auto-trims to 8k entries when exceeding 10k on server start

chore: bump version to 0.1556

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-19 18:30:14 +01:00
arkonandClaude Opus 4.6 342a2add10 fix: local echo overlay — move box-shadow from zero-height container to first line div
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-19 15:07:21 +01:00
arkon 219f06001e chore: bump version to 0.1554 2026-02-19 15:01:52 +01:00
arkonandClaude Opus 4.6 e1cec2a405 feat: local echo multi-line wrapping — long input wraps to next rows matching terminal character-wrap behavior
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-19 15:00:44 +01:00
arkonandClaude Opus 4.6 8b96470cce fix: local echo overlay lost on mobile redraws — preserve pending text across SSE reconnect, terminal resets, and Ink redraws
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-19 14:52:39 +01:00
arkonandClaude Opus 4.6 fe1f665531 fix: ralph tracker — 3 bugs: first-occurrence completion, double-counting, TodoWrite pattern
Bug 1 (CRITICAL): canonicalCount >= 1 always fired on first <promise> tag
(prompt echo). Changed to >= 2 so only 2nd+ occurrence triggers completion.

Bug 2: checkMultiLinePatterns() re-detected complete tags already handled
by processLine(), double-counting. Now only tries completion when partial
buffer is non-empty (cross-chunk scenario).

Bug 3: TodoWrite ✔ patterns required "Task #N" but real Claude Code output
is plain "✔ content". Added TODO_PLAIN_CHECKMARK_PATTERN fallback.

Includes 71 new deep tests + real-life verification.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-19 14:00:10 +01:00
arkon 926e77b1c2 chore: bump version to 0.1550 2026-02-19 08:49:36 +01:00
arkon 1833a9ac2d chore: bump version to 0.1549 2026-02-18 23:14:39 +01:00
arkonandClaude Opus 4.6 bd188df08d fix: Ink status bar redraw garbling — never discard incomplete DEC sync blocks, always buffer cursor-up redraws
chore: bump version to 0.1548

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-18 22:40:24 +01:00
arkonandClaude Opus 4.6 1450b8ce57 docs: add local echo feature to README mobile section
Highlights zero-latency typing as the headline mobile feature.
Adds comparison table entry and detailed feature breakdown.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-18 22:28:43 +01:00
arkonandClaude Opus 4.6 287f44ad3f feat: local echo for mobile input — instant keystroke feedback over high-latency connections
DOM overlay captures keystrokes locally and sends edited text + Enter as separate
events (matching Ink's sendCommand pattern). Block cursor matches Claude Code's
native cursor style. Enabled by default on mobile touch devices.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-18 22:24:37 +01:00
arkonandClaude Opus 4.6 d7ad617d7f chore: bump version to 0.1545
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-18 21:53:34 +01:00
arkonandClaude Opus 4.6 989f8386b1 fix: mobile subagent dropdown — single-tap restore, position at top
- Move subagent dropdown to top (near badge) instead of bottom on mobile
- Fix iOS double-tap issue: wrap :hover styles in @media(hover:hover)
- Pin dropdown immediately on first tap (prevent mouseleave auto-close)
- Hide subagents panel by default on mobile (floating windows sufficient)
- Revert broken mobile auto-minimize (agents auto-pop up again)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-18 20:05:01 +01:00
arkonandClaude Opus 4.6 3bacc232b8 chore: bump version to 0.1543
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-18 19:38:51 +01:00
arkon a3d45820a5 fix: subagent tracking not syncing to mobile — feature toggles wrongly in displayKeys 2026-02-18 18:19:46 +01:00
arkon a1924b91e3 chore: bump version to 0.1541 2026-02-18 18:14:13 +01:00
arkonandClaude Opus 4.6 4a1de883d4 chore: bump version to 0.1540
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-18 16:19:21 +01:00
arkon f1c109cff9 chore: bump version to 0.1539 2026-02-18 12:55:16 +01:00
arkon 88422cab57 chore: bump version to 0.1538 2026-02-18 12:51:35 +01:00
arkonandClaude Opus 4.6 c548c2d6ee fix: mobile keyboard handlers killed on SSE reconnect — re-init after cleanup
handleInit() called KeyboardHandler.cleanup() and MobileDetection.cleanup()
on every SSE connect but never re-initialized them, breaking keyboard
scroll-into-view and the /init /clear accessory bar on mobile.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-18 11:59:42 +01:00
arkonandClaude Opus 4.6 ee22ef204f chore: bump version to 0.1536
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-18 11:28:34 +01:00
arkonandClaude Opus 4.6 d5a3806aa3 fix: tab folder visibility controlled by Tall Tabs setting + cache busting
- Renamed "Two-Row Tabs" to "Tall Tabs (Name + Folder)" for clarity
- Tab folder path now only rendered in JS when setting is ON (not just CSS hidden)
- CSS specificity fix: mobile.css now matches .tabs-two-rows specificity (0,2,0)
- Server settings sync: display keys seed from server on fresh localStorage
- Bumped cache buster versions to 0.1534 to force browser reload

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-18 11:15:15 +01:00
arkon 6fd6ff770f chore: remove debug test file 2026-02-18 10:48:08 +01:00
arkon 30d6115c00 chore: bump version to 0.1534 2026-02-18 10:47:56 +01:00
arkon f178d02f13 chore: bump version to 0.1533 2026-02-18 10:40:49 +01:00
arkon 5261f8c395 chore: bump version to 0.1532 2026-02-18 10:28:46 +01:00
arkon 62ddfdea36 chore: bump version to 0.1531 2026-02-18 10:23:10 +01:00
arkon e05811d69a chore: bump version to 0.1530 2026-02-18 09:36:05 +01:00
arkon 50b17184ee chore: bump version to 0.1529 2026-02-18 07:28:15 +01:00
arkonandClaude Opus 4.6 31d3e7bc70 chore: bump version to 0.1528
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-18 07:06:34 +01:00
arkon 9d67a571ba chore: bump version to 0.1527 2026-02-18 05:36:20 +01:00
arkonandClaude Opus 4.6 38c42fb7e5 chore: bump version to 0.1526
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-18 05:02:27 +01:00
arkon 36a9e96bd1 chore: bump version to 0.1525 2026-02-17 21:27:43 +01:00
arkon 4fd8174680 chore: bump version to 0.1524 2026-02-17 16:47:54 +01:00
arkon dd9d43935d chore: bump version to 0.1523 2026-02-17 15:07:11 +01:00
arkon 74a69ad861 chore: bump version to 0.1522 2026-02-17 08:14:34 +01:00
arkon 28b175c74a chore: bump version to 0.1521 2026-02-17 07:08:26 +01:00
arkon ea3e534607 chore: bump version to 0.1520 2026-02-16 21:19:16 +01:00
arkon 70a406a183 chore: bump version to 0.1519 2026-02-16 21:10:33 +01:00
arkonandClaude Opus 4.6 2c7382f8b7 chore: bump version to 0.1518
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-16 21:00:55 +01:00
arkon cd34d20e63 chore: bump version to 0.1517 2026-02-16 20:47:50 +01:00
arkonandClaude Opus 4.6 5832230091 chore: bump version to 0.1516
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-16 16:45:47 +01:00
arkon ffffb02325 chore: bump version to 0.1515 2026-02-16 15:47:03 +01:00
arkon 167902c628 chore: bump version to 0.1514 2026-02-16 14:09:32 +01:00
arkonandClaude Opus 4.6 659ccd001b fix: mobile keyboard hides terminal content when typing
Send SIGWINCH to server on keyboard open/close so Ink renders at the
correct terminal dimensions. Previously only local xterm was resized
while server resize was suppressed, causing Ink to redraw at the old
(larger) row count on each keystroke — pushing content off screen.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-16 13:56:47 +01:00