Commit Graph
621 Commits
Author SHA1 Message Date
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
arkonandClaude Opus 4.6 6b8f863666 fix: mobile keyboard accessory buttons — split text/Enter, double-tap confirm for clear/compact
- Remove confirm() dialog which dismissed keyboard and broke Enter delivery
- Send command text and Enter as separate requests with 120ms delay so Ink processes them as distinct events
- Add double-tap confirmation for /clear and /compact (amber "Tap again" state, 2s timeout)
- /init sends immediately (non-destructive)
- Refocus terminal after first tap on confirm buttons to keep keyboard open
- Match accessory button font size to toolbar buttons (0.65rem)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-16 12:43:18 +01:00
arkonandClaude Opus 4.6 da74ac248b fix: mobile keyboard layout — scroll-to-bottom on show, robust dismiss detection
Three bugs fixed in KeyboardHandler:
1. onKeyboardShow() used sessionData.terminal (always undefined) instead of app.terminal
2. Keyboard dismiss threshold (50px) too tight for iOS address bar drift — widened to 100px
3. No terminal refit on keyboard hide — caused black gap below terminal

Also added: dynamic baseline update for initialViewportHeight, safety check in
updateLayoutForKeyboard() that forces dismiss when keyboardOffset <= 0.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-16 12:10:44 +01:00
arkon bd6d777294 chore: bump version to 0.1510 2026-02-15 06:02:19 +01:00
arkon c3e70dcfe0 chore: bump version to 0.1509 2026-02-15 05:58:13 +01:00
arkon 79b58c7807 chore: bump version to 0.1508 2026-02-15 05:55:18 +01:00
arkon 5bd08df80d chore: bump version to 0.1507 2026-02-15 05:34:18 +01:00
arkonandClaude Opus 4.6 9ab62adfa8 fix: medium severity audit fixes — races, leaks, perf, warnings
- Clear teams/teamTasks maps in handleInit() on SSE reconnect
- Fix saveNowAsync() race condition with in-flight promise guard
- Add setMaxListeners() on Session, WebServer, SubagentWatcher,
  ImageWatcher, TmuxManager to prevent MaxListenersExceeded warnings
- Debounce persistSessionState() per-session (100ms) to reduce
  redundant toState() serialization across 25+ call sites
- Cache getLightSessionsState() with 1s TTL to avoid re-serializing
  all sessions on every SSE connect and /api/sessions request

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-15 05:33:34 +01:00
arkon f783dd91f4 chore: bump version to 0.1506 2026-02-15 05:27:19 +01:00
arkonandClaude Opus 4.6 f223501164 fix: async I/O, map iteration bug, unified cleanup, Zod validation, error handling
- Convert sync readFileSync/statSync to async in subagent-watcher.ts to
  unblock event loop on hot paths (transcript reads, liveness checks)
- Fix Map mutation during iteration in closeSessionLogViewerWindows and
  closeSessionImagePopups (collect IDs first, then iterate to close)
- Unify session cleanup into shared _cleanupSessionData() method called
  from both closeSession() and session:deleted handler to prevent leaks
- Add Zod validation schemas for 20+ API routes that used raw type casts
- Add consecutive error tracking (5 errors/60s triggers exit for systemd
  restart) and SIGHUP handler for SSH disconnect safety

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-15 05:26:29 +01:00