Skip to content

Commit c235db8

Browse files
committed
better manual test instructions
Signed-off-by: Connor Braa <connor@dagger.io>
1 parent 53d2d5c commit c235db8

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

AGENT.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ ENVIRONMENT:
66

77
- ALWAYS use ONLY Environments for ANY and ALL file, code, or shell operations—NO EXCEPTIONS—even for simple or generic requests.
88
- DO NOT install or use the git cli with the environment_run_cmd tool. All environment tools will handle git operations for you. Changing ".git" yourself will compromise the integrity of your environment.
9-
- You MUST inform the user how to view your work using `cu log <env_id>` AND `cu checkout <env_id>`. Failure to do this will make your work inaccessible to others.
9+
- You MUST inform the user how to view your work using `container-use log <env_id>` AND `container-use checkout <env_id>`. Failure to do this will make your work inaccessible to others.
1010

1111
DEVELOPMENT WORKFLOW:
1212

@@ -17,6 +17,7 @@ DEVELOPMENT WORKFLOW:
1717
- Dependencies: Run 'go mod download' to install dependencies, 'go mod tidy' to clean up
1818

1919
MANUAL STDIO TESTING:
20+
- IMPORTANT: container-use cannot be manually tested in its own /workdir. First initialize a new git repository elsewhere on disk (e.g., /tmp/test-repo) and manually test from there
2021
- Test stdio interface: Use 'echo $request | timeout $seconds container-use stdio' where:
2122
- $request is a JSON-formatted MCP request (e.g., '{"jsonrpc":"2.0","method":"ping","id":1}')
2223
- $seconds is timeout duration (e.g., 10 for 10 seconds)
@@ -26,7 +27,7 @@ MANUAL STDIO TESTING:
2627
- Common test requests:
2728
- Ping: '{"jsonrpc":"2.0","method":"ping","id":1}'
2829
- List tools: '{"jsonrpc":"2.0","method":"tools/list","id":1}'
29-
- Initialize: '{"jsonrpc":"2.0","method":"initialize","params":{"protocolVersion":"2024-11-05","capabilities":{"roots":{"listChanged":true},"sampling":{}}},"id":1}'
30+
- Initialize: '{"jsonrpc":"2.0","method":"initialize","params":{"protocolVersion":"2025-06-18","capabilities":{}}},"id":1}'
3031

3132
DAGGER MODULE (more details in .dagger/):
3233

0 commit comments

Comments
 (0)