Skip to content

feat!: remove remote shell and agent daemon#27

Merged
YairEtzion merged 2 commits into
mainfrom
feat/remove-agent-shell
Apr 12, 2026
Merged

feat!: remove remote shell and agent daemon#27
YairEtzion merged 2 commits into
mainfrom
feat/remove-agent-shell

Conversation

@YairEtzion
Copy link
Copy Markdown
Contributor

Summary

  • Remove the agent daemon, shell client, and all supporting code (commands, relay handlers, crypto, types, tests, docs, landing pages)
  • amesh now focuses exclusively on device-bound M2M authentication — reduced attack surface, simpler relay, clearer product story
  • 53 files changed, ~3,200 lines removed

Changes

  • CLI: removed agent start/stop, shell, grant, reset commands + agent.ts, shell-cipher/client/handshake.ts, frame.ts + 4 test files
  • Relay: removed agent-store.ts, challenge-response auth, shell routing, ping handlers from server.ts
  • Core: removed deriveShellSessionKey from ecdh.ts
  • Keystore: removed DevicePermissions, updatePermissions, permissions.shell
  • Docs: removed remote-shell-spec.md, remote-shell-security-review.md; updated guide.md, protocol-spec.md, architecture-decisions.md (ADR-011 superseded)
  • Landing page: removed /docs/remote-shell, /use-cases/remote-shell; updated navigation, sitemap, changelog (v0.7.0), troubleshooting, blog posts
  • CI/packaging: updated smoke tests, firebase config, build script

Test plan

  • bun run build — all 6 packages compile
  • bun run lint — clean
  • bun run test — 169 pass, 0 fail (8 Redis skipped)
  • bun run format:check — clean
  • No broken links in landing page (grep verified)
  • CI passes on this PR

Remove the agent daemon, shell client, and all supporting code.
amesh now focuses exclusively on device-bound M2M authentication.

Removed commands: agent start/stop, shell, grant, reset
Removed CLI files: agent.ts, shell-client/cipher/handshake.ts, frame.ts
Removed relay: agent-store, challenge-response, shell routing handlers
Removed core: deriveShellSessionKey
Removed keystore: DevicePermissions, updatePermissions
Removed docs: remote-shell-spec.md, remote-shell-security-review.md
Removed landing pages: /docs/remote-shell, /use-cases/remote-shell
Updated: changelog (v0.7.0), ADR-011 (superseded), protocol-spec audit table
@YairEtzion YairEtzion merged commit 6bb59ed into main Apr 12, 2026
1 check passed
@YairEtzion YairEtzion deleted the feat/remove-agent-shell branch April 12, 2026 13:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant