Skip to content

Commit a380dea

Browse files
committed
refine: keep only kode command, add documentation
- Remove kwa/kd aliases, register only the kode command - Simplify network policy binaries to kode and node only - Add Kode to supported-agents and default-policy docs
1 parent e886fbb commit a380dea

4 files changed

Lines changed: 3 additions & 5 deletions

File tree

crates/openshell-providers/src/lib.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ pub fn normalize_provider_type(input: &str) -> Option<&'static str> {
136136
"nvidia" => Some("nvidia"),
137137
"gitlab" | "glab" => Some("gitlab"),
138138
"github" | "gh" => Some("github"),
139-
"kode" | "kwa" | "kd" => Some("kode"),
139+
"kode" => Some("kode"),
140140
"outlook" => Some("outlook"),
141141
_ => None,
142142
}
@@ -167,8 +167,6 @@ mod tests {
167167
assert_eq!(normalize_provider_type("anthropic"), Some("anthropic"));
168168
assert_eq!(normalize_provider_type("nvidia"), Some("nvidia"));
169169
assert_eq!(normalize_provider_type("kode"), Some("kode"));
170-
assert_eq!(normalize_provider_type("kwa"), Some("kode"));
171-
assert_eq!(normalize_provider_type("kd"), Some("kode"));
172170
assert_eq!(normalize_provider_type("unknown"), None);
173171
}
174172

crates/openshell-sandbox/testdata/sandbox-policy.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,6 @@ network_policies:
4646
- { host: api.openai.com, port: 443 }
4747
binaries:
4848
- { path: /usr/local/bin/kode }
49-
- { path: /usr/local/bin/kwa }
50-
- { path: /usr/local/bin/kd }
5149
- { path: /usr/bin/node }
5250

5351
github_ssh_over_https:

docs/about/supported-agents.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ The following table summarizes the agents that run in OpenShell sandboxes. All a
55
| Agent | Source | Default Policy | Notes |
66
|---|---|---|---|
77
| [Claude Code](https://docs.anthropic.com/en/docs/claude-code) | [`base`](https://github.com/NVIDIA/OpenShell-Community/tree/main/sandboxes/base) | Full coverage | Works out of the box. Requires `ANTHROPIC_API_KEY`. |
8+
| [Kode](https://github.com/shareAI-lab/Kode-Agent) | [`base`](https://github.com/NVIDIA/OpenShell-Community/tree/main/sandboxes/base) | Full coverage | Multi-model AI coding agent. Requires `ANTHROPIC_API_KEY` and/or `OPENAI_API_KEY`. |
89
| [OpenCode](https://opencode.ai/) | [`base`](https://github.com/NVIDIA/OpenShell-Community/tree/main/sandboxes/base) | Partial coverage | Pre-installed. Add `opencode.ai` endpoint and OpenCode binary paths to the policy for full functionality. |
910
| [Codex](https://developers.openai.com/codex) | [`base`](https://github.com/NVIDIA/OpenShell-Community/tree/main/sandboxes/base) | No coverage | Pre-installed. Requires a custom policy with OpenAI endpoints and Codex binary paths. Requires `OPENAI_API_KEY`. |
1011
| [OpenClaw](https://openclaw.ai/) | [`openclaw`](https://github.com/NVIDIA/OpenShell-Community/tree/main/sandboxes/openclaw) | Bundled | Agent orchestration layer. Launch with `openshell sandbox create --from openclaw`. |

docs/reference/default-policy.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ The following table shows the coverage of the default policy for common agents.
2323
| Agent | Coverage | Action Required |
2424
|---|---|---|
2525
| Claude Code | Full | None. Works out of the box. |
26+
| Kode | Full | None. Works out of the box. |
2627
| OpenCode | Partial | Add `opencode.ai` endpoint and OpenCode binary paths. |
2728
| Codex | None | Provide a complete custom policy with OpenAI endpoints and Codex binary paths. |
2829

0 commit comments

Comments
 (0)