- 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>
- Deleted AgentExecutor.swift which spawned CLI subprocesses
- Updated all tests to use AgentInternalExecutor instead of PeekabooCommandExecutor
- Fixed direct agent invocation with argument preprocessing in main.swift
- Fixed enum references in OpenAIAgent.swift for Swift 6 compatibility
- All agent functionality now uses direct PeekabooCore API calls for ~10x performance improvement
Benefits:
- Eliminated subprocess spawning overhead
- Removed JSON serialization/deserialization between processes
- Simplified error handling
- Better type safety with direct Swift API usage
- Consistent with project's migration to PeekabooCore services
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
- Added comprehensive AI agent section to README with real-world examples
- Explained two ways to invoke the agent (direct vs explicit command)
- Added behind-the-scenes explanation of agent command execution
- Included debugging tips with --verbose flag examples
- Updated Quick Start section with agent examples
- Added quick build instructions to CLAUDE.md for easy CLI compilation
- Build script now forces binary replacement with cp -f
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
- Move core libraries to Core/ directory (PeekabooCore, AXorcist)
- Move applications to Apps/ directory (Mac, CLI)
- Move TypeScript server to Server/ directory
- Move scripts to Scripts/ directory
- Archive deprecated PeekabooInspector (now integrated into Mac app)
- Update all build configurations and paths
- Update CI/CD workflows for new structure
- Fix build scripts to use new paths
This reorganization provides:
- Clear separation between core libraries, apps, and server
- Flattened Mac app structure (removed double nesting)
- Consistent naming conventions
- Better code sharing through PeekabooCore
- Easier maintenance and development