From d3dfc7470477cb1b5bab9b36655264bad800516f Mon Sep 17 00:00:00 2001 From: qaisjp Date: Fri, 10 Jul 2026 11:51:45 -0700 Subject: [PATCH 1/3] Add .github/CODEOWNERS --- .github/CODEOWNERS | 1 + 1 file changed, 1 insertion(+) create mode 100644 .github/CODEOWNERS diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS new file mode 100644 index 0000000..d368ae7 --- /dev/null +++ b/.github/CODEOWNERS @@ -0,0 +1 @@ +* @stripe/developer-ai From 243cd8ed41f50b04b6b8ab6fa7b2204f858933a8 Mon Sep 17 00:00:00 2001 From: Mathew Varughese Date: Wed, 15 Jul 2026 13:54:57 -0400 Subject: [PATCH 2/3] feat(agents): add cline and openclaw; extend codex and antigravity detectors - Add CLINE (CLINE_ACTIVE) and OPENCLAW (OPENCLAW_SHELL) agents - Add CODEX_SANDBOX_NETWORK_DISABLED to codex match conditions - Add ANTIGRAVITY_CLI_ALIAS to antigravity match conditions Co-Authored-By: Claude Sonnet 4.6 Committed-By-Agent: claude --- agents.json | 24 ++++++++++++++++++++++-- 1 file changed, 22 insertions(+), 2 deletions(-) diff --git a/agents.json b/agents.json index ffde92f..78f24f6 100644 --- a/agents.json +++ b/agents.json @@ -35,6 +35,14 @@ "conditions": [{ "type": "env_set", "name": "GEMINI_CLI" }] } }, + { + "key": "CLINE", + "name": "cline", + "match": { + "type": "anyOf", + "conditions": [{ "type": "env_set", "name": "CLINE_ACTIVE" }] + } + }, { "key": "CODEX", "name": "codex", @@ -43,7 +51,8 @@ "conditions": [ { "type": "env_set", "name": "CODEX_SANDBOX" }, { "type": "env_set", "name": "CODEX_CI" }, - { "type": "env_set", "name": "CODEX_THREAD_ID" } + { "type": "env_set", "name": "CODEX_THREAD_ID" }, + { "type": "env_set", "name": "CODEX_SANDBOX_NETWORK_DISABLED" } ] } }, @@ -52,7 +61,10 @@ "name": "antigravity", "match": { "type": "anyOf", - "conditions": [{ "type": "env_set", "name": "ANTIGRAVITY_AGENT" }] + "conditions": [ + { "type": "env_set", "name": "ANTIGRAVITY_AGENT" }, + { "type": "env_set", "name": "ANTIGRAVITY_CLI_ALIAS" } + ] } }, { @@ -169,6 +181,14 @@ ] } }, + { + "key": "OPENCLAW", + "name": "openclaw", + "match": { + "type": "anyOf", + "conditions": [{ "type": "env_set", "name": "OPENCLAW_SHELL" }] + } + }, { "key": "DEVIN", "name": "devin", From 10a322c38a557cc441584e81a38bd514b1aacbaa Mon Sep 17 00:00:00 2001 From: Mathew Varughese Date: Wed, 15 Jul 2026 16:32:46 -0400 Subject: [PATCH 3/3] chore: remove stripe CODEOWNERS and add cline/openclaw to README Co-Authored-By: Claude Sonnet 4.6 Committed-By-Agent: claude --- .github/CODEOWNERS | 1 - README.md | 4 +++- 2 files changed, 3 insertions(+), 2 deletions(-) delete mode 100644 .github/CODEOWNERS diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS deleted file mode 100644 index d368ae7..0000000 --- a/.github/CODEOWNERS +++ /dev/null @@ -1 +0,0 @@ -* @stripe/developer-ai diff --git a/README.md b/README.md index 646d0f0..c4ce36e 100644 --- a/README.md +++ b/README.md @@ -72,7 +72,9 @@ This package can detect the following AI agents and development environments: - **Codex** (OpenAI) - **Antigravity** (Google DeepMind) - **Augment** +- **Cline** - **OpenCode** +- **OpenClaw** - **Goose** (Block) - **Junie** (JetBrains) - **Kiro** (AWS) @@ -162,7 +164,7 @@ We welcome contributions! To add support for a new AI agent: 1. Add the agent's detection rule to [`agents.json`](./agents.json), following the structure defined in [`agents.schema.json`](./agents.schema.json). Agents are evaluated in array order — the first match wins, so place more specific rules before more general ones. -2. Add test cases in `src/determine-agent.test.ts` (TypeScript) and `detect_test.go` / `evaluate_condition_test.go` (Go). Go test files live alongside the source at the repo root. +2. Add test cases in `testcases.json`. 3. Add the agent to the **Supported Agents** list above. ## Links