Repository navigation
docs(commandcode): align provider copy and clean contract fixtures #6756
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -24,7 +24,7 @@ file, and removes it again. Eighteen clients work this way, each with a switch: | |
| | omo (Pi / senpi) | `~/.omo/agent/models.json` | JSON | new sessions | loopback placeholder | | ||
| | Cline CLI | `~/.cline/data/settings/providers.json` and sibling `models.json` | JSON pair | after stopping and restarting Cline | loopback placeholder | | ||
| | Kilo | first existing `kilo.jsonc`, `kilo.json`, `opencode.jsonc`, `opencode.json`, or `config.json` under `~/.config/kilo` | JSONC | new sessions | `OPENCODEX_KILO_API_KEY` | | ||
| | Command Code | `~/.commandcode/providers.json` (on Windows: `%HOME%` if set, otherwise `%USERPROFILE%`, under `.commandcode\providers.json`) | JSON | next launch of Command Code | none — keyless loopback (`apiKey: false`) | | ||
| | Command Code | `~/.commandcode/providers.json` (on Windows with the default home: use `HOME ?? USERPROFILE` only if nonblank and Windows-absolute, otherwise `homedir()`; a separately supplied home is preserved; append `.commandcode\providers.json`) | JSON | next launch of Command Code | none — keyless loopback (`apiKey: false`) | | ||
| | Factory Droid | `~/.factory/settings.json` (`%USERPROFILE%\.factory\settings.json` on Windows) | JSON | immediately via file watching | none — keyless loopback | | ||
|
|
||
| "omo" names three products that share the `~/.omo` folder. The **omo** tab manages Pi-based omo | ||
|
|
@@ -764,8 +764,10 @@ client resolves `HOME ?? USERPROFILE` and then appends `/.commandcode/providers. | |
| it does not consult that variable. An override this integration honoured but the | ||
| client ignored would make Apply report success at a path Command Code never opens, so | ||
| the path is always `~/.commandcode/providers.json`. | ||
| On Windows, the integration follows the same HOME-then-USERPROFILE order as the | ||
| client, so a HOME set by Git for Windows or MSYS2 is honoured. | ||
| On Windows with the default home, the integration uses `HOME ?? USERPROFILE` | ||
| only when the selected value is nonblank and Windows-absolute; otherwise it uses | ||
| `homedir()`. A separately supplied home is preserved. A `HOME` set by Git for | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🎯 Functional Correctness | 🟡 Minor | ⚡ Quick win 🔎 Supported by static analysis🏁 Script executed: for f in \
docs-site/src/content/docs/guides/integrations.md \
docs-site/src/content/docs/reference/cli/agents.md \
docs-site/src/content/docs/fr/guides/integrations.md \
docs-site/src/content/docs/fr/reference/cli/agents.md \
docs-site/src/content/docs/ja/guides/integrations.md \
docs-site/src/content/docs/ja/reference/cli/agents.md \
docs-site/src/content/docs/ko/guides/integrations.md \
docs-site/src/content/docs/ko/reference/cli/agents.md \
docs-site/src/content/docs/ru/guides/integrations.md \
docs-site/src/content/docs/ru/reference/cli/agents.md \
docs-site/src/content/docs/tr/guides/integrations.md \
docs-site/src/content/docs/tr/reference/cli/agents.md \
docs-site/src/content/docs/zh-cn/guides/integrations.md \
docs-site/src/content/docs/zh-cn/reference/cli/agents.md \
docs-site/src/content/docs/zh-tw/guides/integrations.md \
docs-site/src/content/docs/zh-tw/reference/cli/agents.md; do
echo "=== $f"
rg -n -i -C 2 'commandcode|command code|USERPROFILE|homedir|HOME' "$f"
done
rg -n -C 3 'commandCodeUserHome|commandCodeConfigPath|homedir\(' src/clients/config-export.ts src/integrations/registry.ts src/integrations/writer.tsRepository: lidge-jun/opencodex Length of output: 41787 🏁 Script executed: set -eu
base=89cad95b6f5651341adc8faa022bed47abf6ddda
head=73ae2df561f26cba0c647366cad6af0cccc6f418
printf '%s\n' '=== changed documentation files ==='
git diff --name-only "$base" "$head" -- docs-site/src/content/docs
printf '%s\n' '=== changed Command Code documentation hunks ==='
git diff --unified=2 "$base" "$head" -- \
docs-site/src/content/docs/guides/integrations.md \
docs-site/src/content/docs/reference/cli/agents.md \
docs-site/src/content/docs/fr/guides/integrations.md \
docs-site/src/content/docs/fr/reference/cli/agents.md \
docs-site/src/content/docs/ja/guides/integrations.md \
docs-site/src/content/docs/ja/reference/cli/agents.md \
docs-site/src/content/docs/ko/guides/integrations.md \
docs-site/src/content/docs/ko/reference/cli/agents.md \
docs-site/src/content/docs/ru/guides/integrations.md \
docs-site/src/content/docs/ru/reference/cli/agents.md \
docs-site/src/content/docs/tr/guides/integrations.md \
docs-site/src/content/docs/tr/reference/cli/agents.md \
docs-site/src/content/docs/zh-cn/guides/integrations.md \
docs-site/src/content/docs/zh-cn/reference/cli/agents.md \
docs-site/src/content/docs/zh-tw/guides/integrations.md \
docs-site/src/content/docs/zh-tw/reference/cli/agents.md
printf '%s\n' '=== current Command Code wording in all locale guide/reference pages ==='
for f in docs-site/src/content/docs/guides/integrations.md \
docs-site/src/content/docs/reference/cli/agents.md \
docs-site/src/content/docs/fr/guides/integrations.md \
docs-site/src/content/docs/fr/reference/cli/agents.md \
docs-site/src/content/docs/ja/guides/integrations.md \
docs-site/src/content/docs/ja/reference/cli/agents.md \
docs-site/src/content/docs/ko/guides/integrations.md \
docs-site/src/content/docs/ko/reference/cli/agents.md \
docs-site/src/content/docs/ru/guides/integrations.md \
docs-site/src/content/docs/ru/reference/cli/agents.md \
docs-site/src/content/docs/tr/guides/integrations.md \
docs-site/src/content/docs/tr/reference/cli/agents.md \
docs-site/src/content/docs/zh-cn/guides/integrations.md \
docs-site/src/content/docs/zh-cn/reference/cli/agents.md \
docs-site/src/content/docs/zh-tw/guides/integrations.md \
docs-site/src/content/docs/zh-tw/reference/cli/agents.md; do
matches=$(rg -n -i -C 1 'commandcode|command code|USERPROFILE|homedir|separately|séparément|provided|supplied|explicit|preserv|保留|保持|передан|ayrı|提供' "$f" || true)
if [ -n "$matches" ]; then
printf '\n=== %s ===\n%s\n' "$f" "$matches"
fi
doneRepository: lidge-jun/opencodex Length of output: 41298 🏁 Script executed: set -eu
base=89cad95b6f5651341adc8faa022bed47abf6ddda
head=73ae2df561f26cba0c647366cad6af0cccc6f418
git diff --name-only "$base" "$head" -- docs-site/src/content/docs
for f in \
docs-site/src/content/docs/guides/integrations.md \
docs-site/src/content/docs/reference/cli/agents.md \
docs-site/src/content/docs/fr/guides/integrations.md \
docs-site/src/content/docs/fr/reference/cli/agents.md \
docs-site/src/content/docs/ja/guides/integrations.md \
docs-site/src/content/docs/ja/reference/cli/agents.md \
docs-site/src/content/docs/ko/guides/integrations.md \
docs-site/src/content/docs/ko/reference/cli/agents.md \
docs-site/src/content/docs/ru/guides/integrations.md \
docs-site/src/content/docs/ru/reference/cli/agents.md \
docs-site/src/content/docs/tr/guides/integrations.md \
docs-site/src/content/docs/tr/reference/cli/agents.md \
docs-site/src/content/docs/zh-cn/guides/integrations.md \
docs-site/src/content/docs/zh-cn/reference/cli/agents.md \
docs-site/src/content/docs/zh-tw/guides/integrations.md \
docs-site/src/content/docs/zh-tw/reference/cli/agents.md; do
printf '\n=== %s ===\n' "$f"
rg -n -i 'commandcode|command code' "$f" | tail -n 3
doneRepository: lidge-jun/opencodex Length of output: 11788 Qualify the supplied-home guarantee in every changed locale page.
Update all 16 changed Command Code pages, including the Japanese, Korean, Russian, Turkish, Simplified Chinese, and Traditional Chinese pages. State that a supplied home is preserved only when it differs from Suggested wording- A separately supplied home is preserved.
+ A supplied home different from `homedir()` is preserved.Apply the equivalent localized wording to the Command Code rows at:
🤖 Prompt for AI Agents |
||
| Windows or MSYS2 is therefore honoured only when it passes those checks. | ||
|
|
||
| Paste the key yourself if you later move the provider off loopback: Command Code | ||
| stores keys in `~/.commandcode/auth.json` (via `/connect`), not in `providers.json`. | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.