Repository navigation
v0.0.8
Delegate to pi's built-in tools + test reorganization.
Changes
Refactoring
- Delegate to pi's built-in tools (read, write, edit, bash, grep, find, ls) when no SSH host is configured
- Removes ~100 lines of redundant local file operation code
- Local mode now automatically gets image support, truncation, and future pi improvements
Tests
- Split monolithic 2000+ line test file into focused per-tool test files
- Added shared test utilities in
tests/setup.tsandtests/test-utils.ts - 85 unit tests + 38 e2e tests = 123 tests total
Test Files
tests/ssh-remote-core.test.ts- Core functionality teststests/ssh-remote-bash.test.ts- Bash tool teststests/ssh-remote-read.test.ts- Read tool teststests/ssh-remote-write.test.ts- Write tool teststests/ssh-remote-edit.test.ts- Edit tool teststests/ssh-remote-grep.test.ts- Grep tool teststests/ssh-remote-find.test.ts- Find tool teststests/ssh-remote-ls.test.ts- Ls tool teststests/ssh-remote-rendering.test.ts- Render function tests