Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions .github/workflows/tests/test_protocol_matrix.py
Original file line number Diff line number Diff line change
Expand Up @@ -109,23 +109,23 @@ def test_ensure_binary_executable_ignores_non_binary(tmp_path):
def test_parse_agent_csv_handles_empty_values_and_whitespace():
assert parse_agent_csv(None) == []
assert parse_agent_csv("") == []
assert parse_agent_csv(" codex-acp, crow-cli ,, gemini ") == [
assert parse_agent_csv(" codex-acp, crow-cli ,, qwen-code ") == [
"codex-acp",
"crow-cli",
"gemini",
"qwen-code",
]


def test_select_agents_applies_include_and_skip_filters():
agents = [{"id": "codex-acp"}, {"id": "crow-cli"}, {"id": "gemini"}]
agents = [{"id": "codex-acp"}, {"id": "crow-cli"}, {"id": "qwen-code"}]

selected, unknown_skip = select_agents(
agents,
include_csv="codex-acp,crow-cli,gemini",
include_csv="codex-acp,crow-cli,qwen-code",
skip_csv="crow-cli",
)

assert [agent["id"] for agent in selected] == ["codex-acp", "gemini"]
assert [agent["id"] for agent in selected] == ["codex-acp", "qwen-code"]
assert unknown_skip == []


Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/tests/test_registry_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,10 @@

class TestExtractNpmPackageName:
def test_scoped_with_version(self):
assert extract_npm_package_name("@google/gemini-cli@0.30.0") == "@google/gemini-cli"
assert extract_npm_package_name("@example/some-package@0.30.0") == "@example/some-package"

def test_scoped_without_version(self):
assert extract_npm_package_name("@google/gemini-cli") == "@google/gemini-cli"
assert extract_npm_package_name("@example/some-package") == "@example/some-package"

def test_unscoped_with_version(self):
assert extract_npm_package_name("some-package@1.2.3") == "some-package"
Expand All @@ -42,10 +42,10 @@ def test_empty_string(self):

class TestExtractNpmPackageVersion:
def test_scoped_with_version(self):
assert extract_npm_package_version("@google/gemini-cli@0.30.0") == "0.30.0"
assert extract_npm_package_version("@example/some-package@0.30.0") == "0.30.0"

def test_scoped_without_version(self):
assert extract_npm_package_version("@google/gemini-cli") is None
assert extract_npm_package_version("@example/some-package") is None

def test_unscoped_with_version(self):
assert extract_npm_package_version("some-package@1.2.3") == "1.2.3"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/update_versions.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
python .github/workflows/update_versions.py --apply

# Check specific agents
python .github/workflows/update_versions.py --agents gemini,goose
python .github/workflows/update_versions.py --agents qwen-code,goose

Environment variables:
GITHUB_TOKEN: GitHub token for API requests (increases rate limit)
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/verify_agents.py
Original file line number Diff line number Diff line change
Expand Up @@ -956,7 +956,7 @@ def main():
epilog="""
Examples:
%(prog)s # Verify all agents (basic launch test)
%(prog)s -a claude-acp,gemini # Verify specific agents (comma-separated)
%(prog)s -a claude-acp,qwen-code # Verify specific agents (comma-separated)
%(prog)s -t npx # Verify only npx distributions
%(prog)s --clean # Clean sandboxes before running
%(prog)s --clean-all # Remove all sandboxes and exit
Expand Down
4 changes: 2 additions & 2 deletions AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ uv run .github/workflows/update_versions.py
uv run .github/workflows/update_versions.py --apply

# Check specific agents only
uv run .github/workflows/update_versions.py --agents gemini,github-copilot
uv run .github/workflows/update_versions.py --agents qwen-code,github-copilot
```

The workflow can also be triggered manually via GitHub Actions with options to apply updates and filter by agent IDs.
Expand All @@ -132,7 +132,7 @@ Update `agent.json`:

- Update the `version` field
- Update version in all distribution URLs (use replace-all for consistency)
- For npm: update `package` field (e.g., `@google/gemini-cli@0.22.5`)
- For npm: update `package` field (e.g., `@qwen-code/qwen-code@0.18.5`)
- For binaries: update archive URLs with new version/tag

Run build to validate: `uv run --with jsonschema .github/workflows/build_registry.py`
Expand Down
20 changes: 0 additions & 20 deletions gemini/agent.json

This file was deleted.

3 changes: 0 additions & 3 deletions gemini/icon.svg

This file was deleted.