mirror of
https://github.com/github/spec-kit.git
synced 2026-01-31 21:13:36 +00:00
Compare commits
4 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
7050a3151c | ||
|
|
9e84f46e56 | ||
|
|
098380a46f | ||
|
|
74f7e508a4 |
@@ -6,7 +6,7 @@ JSON_MODE=false
|
|||||||
SHORT_NAME=""
|
SHORT_NAME=""
|
||||||
ARGS=()
|
ARGS=()
|
||||||
i=0
|
i=0
|
||||||
while [ $i -lt $# ]; do
|
while [ $i -le $# ]; do
|
||||||
arg="${!i}"
|
arg="${!i}"
|
||||||
case "$arg" in
|
case "$arg" in
|
||||||
--json)
|
--json)
|
||||||
@@ -197,4 +197,4 @@ else
|
|||||||
echo "SPEC_FILE: $SPEC_FILE"
|
echo "SPEC_FILE: $SPEC_FILE"
|
||||||
echo "FEATURE_NUM: $FEATURE_NUM"
|
echo "FEATURE_NUM: $FEATURE_NUM"
|
||||||
echo "SPECIFY_FEATURE environment variable set to: $BRANCH_NAME"
|
echo "SPECIFY_FEATURE environment variable set to: $BRANCH_NAME"
|
||||||
fi
|
fi
|
||||||
|
|||||||
@@ -1164,18 +1164,25 @@ def check():
|
|||||||
|
|
||||||
tracker.add("git", "Git version control")
|
tracker.add("git", "Git version control")
|
||||||
git_ok = check_tool("git", tracker=tracker)
|
git_ok = check_tool("git", tracker=tracker)
|
||||||
|
|
||||||
agent_results = {}
|
agent_results = {}
|
||||||
for agent_key, agent_config in AGENT_CONFIG.items():
|
for agent_key, agent_config in AGENT_CONFIG.items():
|
||||||
agent_name = agent_config["name"]
|
agent_name = agent_config["name"]
|
||||||
|
requires_cli = agent_config["requires_cli"]
|
||||||
|
|
||||||
tracker.add(agent_key, agent_name)
|
tracker.add(agent_key, agent_name)
|
||||||
agent_results[agent_key] = check_tool(agent_key, tracker=tracker)
|
|
||||||
|
if requires_cli:
|
||||||
|
agent_results[agent_key] = check_tool(agent_key, tracker=tracker)
|
||||||
|
else:
|
||||||
|
# IDE-based agent - skip CLI check and mark as optional
|
||||||
|
tracker.skip(agent_key, "IDE-based, no CLI check")
|
||||||
|
agent_results[agent_key] = False # Don't count IDE agents as "found"
|
||||||
|
|
||||||
# Check VS Code variants (not in agent config)
|
# Check VS Code variants (not in agent config)
|
||||||
tracker.add("code", "Visual Studio Code")
|
tracker.add("code", "Visual Studio Code")
|
||||||
code_ok = check_tool("code", tracker=tracker)
|
code_ok = check_tool("code", tracker=tracker)
|
||||||
|
|
||||||
tracker.add("code-insiders", "Visual Studio Code Insiders")
|
tracker.add("code-insiders", "Visual Studio Code Insiders")
|
||||||
code_insiders_ok = check_tool("code-insiders", tracker=tracker)
|
code_insiders_ok = check_tool("code-insiders", tracker=tracker)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user