Peekaboo/tests/unit/tools
Peter Steinberger d4fd96184c fix: Improve resume functionality and fix compilation warnings
- Fix resume logic to support latest session resumption without ID
- Add UUID validation to distinguish between session IDs and tasks
- Support --resume "task" to resume latest session with new task
- Update help text to clarify resume usage patterns
- Fix compilation warning for String comparison to nil

Now supports three usage patterns:
- --resume "" : show recent sessions
- --resume "task" : resume latest session with new task
- --resume <session-id> <task> : resume specific session

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-26 15:02:22 +02:00
..
agent.test.ts fix: Improve resume functionality and fix compilation warnings 2025-07-26 15:02:22 +02:00
analyze-edge-cases.test.ts test: update tests for new PeekabooCore architecture 2025-07-26 15:02:21 +02:00
analyze.test.ts test: update tests for new PeekabooCore architecture 2025-07-26 15:02:21 +02:00
app.test.ts fix: Improve resume functionality and fix compilation warnings 2025-07-26 15:02:22 +02:00
browser-helper-filtering.test.ts test: update tests for new PeekabooCore architecture 2025-07-26 15:02:21 +02:00
clean.test.ts test: update tests for new PeekabooCore architecture 2025-07-26 15:02:21 +02:00
click.test.ts test: update tests for new PeekabooCore architecture 2025-07-26 15:02:21 +02:00
defensive-format-validation.test.ts test: update tests for new PeekabooCore architecture 2025-07-26 15:02:21 +02:00
edge-case-fixes.test.ts test: update tests for new PeekabooCore architecture 2025-07-26 15:02:21 +02:00
hotkey.test.ts test: update tests for new PeekabooCore architecture 2025-07-26 15:02:21 +02:00
image-edge-cases.test.ts test: update tests for new PeekabooCore architecture 2025-07-26 15:02:21 +02:00
image.test.ts test: update tests for new PeekabooCore architecture 2025-07-26 15:02:21 +02:00
improved-window-error-messages.test.ts test: update tests for new PeekabooCore architecture 2025-07-26 15:02:21 +02:00
invalid-format.test.ts test: update tests for new PeekabooCore architecture 2025-07-26 15:02:21 +02:00
list.test.ts test: update tests for new PeekabooCore architecture 2025-07-26 15:02:21 +02:00
menu.test.ts fix: Improve resume functionality and fix compilation warnings 2025-07-26 15:02:22 +02:00
multiple-app-matches.test.ts test: update tests for new PeekabooCore architecture 2025-07-26 15:02:21 +02:00
path-traversal-error-handling.test.ts test: update tests for new PeekabooCore architecture 2025-07-26 15:02:21 +02:00
pid-targeting.test.ts test: update tests for new PeekabooCore architecture 2025-07-26 15:02:21 +02:00
run.test.ts test: update tests for new PeekabooCore architecture 2025-07-26 15:02:21 +02:00
scroll.test.ts test: update tests for new PeekabooCore architecture 2025-07-26 15:02:21 +02:00
see.test.ts test: update tests for new PeekabooCore architecture 2025-07-26 15:02:21 +02:00
server-status-ai-providers.test.ts test: update tests for new PeekabooCore architecture 2025-07-26 15:02:21 +02:00
sleep.test.ts test: update tests for new PeekabooCore architecture 2025-07-26 15:02:21 +02:00
swipe.test.ts test: update tests for new PeekabooCore architecture 2025-07-26 15:02:21 +02:00
type.test.ts test: update tests for new PeekabooCore architecture 2025-07-26 15:02:21 +02:00
window-title-matching.test.ts test: update tests for new PeekabooCore architecture 2025-07-26 15:02:21 +02:00
window.test.ts fix: Improve resume functionality and fix compilation warnings 2025-07-26 15:02:22 +02:00