You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+43-5Lines changed: 43 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
# agent-commander
2
2
3
-
A JavaScript library to control agents enclosed in CLI commands like Anthropic Claude Code CLI, OpenAI Codex, OpenCode, Qwen Code, and @link-assistant/agent.
3
+
A JavaScript library to control agents enclosed in CLI commands like Anthropic Claude Code CLI, OpenAI Codex, OpenCode, Qwen Code, Gemini CLI, and @link-assistant/agent.
4
4
5
5
Built on the success of [hive-mind](https://github.com/link-assistant/hive-mind), `agent-commander` provides a flexible JavaScript interface and CLI tools for managing agent processes with various isolation levels.
6
6
@@ -12,6 +12,7 @@ Built on the success of [hive-mind](https://github.com/link-assistant/hive-mind)
12
12
-`codex` - OpenAI Codex CLI
13
13
-`opencode` - OpenCode CLI
14
14
-`qwen` - Qwen Code CLI (Alibaba's AI coding agent)
# Case Study: JSON Output/Input Documentation Accuracy
2
+
3
+
**Issue:**[#15 - Double check for JSON Output and JSON Input for all our tools](https://github.com/link-assistant/agent-commander/issues/15)
4
+
5
+
This document captures the investigation and resolution of documentation discrepancies in the agent-commander README.md regarding JSON input/output support for supported CLI tools.
6
+
7
+
## Overview
8
+
9
+
The issue identified two documentation problems:
10
+
1.**Missing Gemini CLI** - Not listed in the Supported Tools table despite being fully implemented
11
+
2.**Incorrect Agent CLI JSON Input status** - Marked as ❌ but actually supports JSON input
12
+
13
+
## Investigation Methodology
14
+
15
+
### Data Collection
16
+
17
+
1.**Repository Analysis**: Examined the codebase for actual tool configurations
**Root Cause**: The Gemini CLI tool was added to the codebase in a previous update (gemini.mjs created, index.mjs updated), but the README.md Supported Tools table was not updated to include this new tool.
37
+
38
+
**Evidence**:
39
+
-`js/src/tools/gemini.mjs` exists with full implementation (318 lines)
40
+
-`js/src/tools/index.mjs` imports and exports `geminiTool`
41
+
- README.md table only lists: claude, codex, opencode, qwen, agent
42
+
43
+
### Problem 2: Incorrect Agent JSON Input Status
44
+
45
+
**Root Cause**: Documentation lag - the Agent CLI's JSON input capability was either overlooked during initial documentation or the capability was added after documentation was written.
46
+
47
+
**Evidence**:
48
+
-`js/src/tools/agent.mjs:246` explicitly states `supportsJsonInput: true`
-[Issue #15](https://github.com/link-assistant/agent-commander/issues/15) - Original issue report
116
+
117
+
## Conclusion
118
+
119
+
The documentation discrepancies were caused by documentation lag rather than technical issues. The actual code implementations were correct - only the README.md needed updating to accurately reflect the supported tools and their capabilities.
120
+
121
+
Key insight: Maintaining accurate documentation requires systematic verification against both the codebase and upstream tool capabilities. Creating case studies for such investigations helps prevent similar issues and provides a reference for future contributors.
0 commit comments