Jailed Shell Client
-
Task 39: Jailed Shell Client
- Create a test file:
src/morpheum-bot/jailClient.test.ts. Write a failing test that attempts to send a command to a mock TCP server and receive a response. - Create the client module:
src/morpheum-bot/jailClient.ts. - Reimplement the TCP socket logic from
jail/agent.tsdirectly within this module, creating a clean programmatic interface. - Make the test pass.
- Create a test file:
Morpheum