Skip to content

feat(cli): add agent command with test fixture support - #91

Merged
benbenbang merged 1 commit into
mainfrom
feature/mcp-client-runner
Oct 14, 2026
Merged

benbenbang merged 1 commit into
mainfrom
feature/mcp-client-runner

Conversation

@benbenbang

Copy link
Copy Markdown
Member

This change introduces a new agent command to the CLI along with its
test coverage. The main additions are grouped below.

New agent command:

  • Added internal/cli/agent_command.go implementing the agent command
    capability for users.
  • Added internal/cli/agent_command_test.go with tests covering the new
    agent command behaviour.

Test fixture wiring:

  • Updated TestMain in internal/cli/mcp_process_test.go to dispatch to
    runAgentCommandFixture when invoked with the
    __jevwise-client-fixture argument, enabling the agent command tests
    to exercise a synthetic client in an isolated subprocess.

This change introduces a new agent command to the CLI along with its
test coverage. The main additions are grouped below.

**New agent command:**
* Added `internal/cli/agent_command.go` implementing the agent command
  capability for users.
* Added `internal/cli/agent_command_test.go` with tests covering the new
  agent command behaviour.

**Test fixture wiring:**
* Updated `TestMain` in `internal/cli/mcp_process_test.go` to dispatch to
  `runAgentCommandFixture` when invoked with the
  `__jevwise-client-fixture` argument, enabling the agent command tests
  to exercise a synthetic client in an isolated subprocess.
@benbenbang
benbenbang enabled auto-merge (squash) October 14, 2026 03:13
@benbenbang
benbenbang merged commit 7685714 into main Oct 14, 2026
5 checks passed
@benbenbang
benbenbang deleted the feature/mcp-client-runner branch October 14, 2026 03:14
@ptah-bw-technical-app

Copy link
Copy Markdown

🎉 This PR is included in version 1.6.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant