Skip to content

v0.0.8

Choose a tag to compare

@cv cv released this 07 Jan 09:46
· 5 commits to main since this release
Immutable release. Only release title and notes can be modified.

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.ts and tests/test-utils.ts
  • 85 unit tests + 38 e2e tests = 123 tests total

Test Files

  • tests/ssh-remote-core.test.ts - Core functionality tests
  • tests/ssh-remote-bash.test.ts - Bash tool tests
  • tests/ssh-remote-read.test.ts - Read tool tests
  • tests/ssh-remote-write.test.ts - Write tool tests
  • tests/ssh-remote-edit.test.ts - Edit tool tests
  • tests/ssh-remote-grep.test.ts - Grep tool tests
  • tests/ssh-remote-find.test.ts - Find tool tests
  • tests/ssh-remote-ls.test.ts - Ls tool tests
  • tests/ssh-remote-rendering.test.ts - Render function tests