Skip to content
Merged
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
17 changes: 17 additions & 0 deletions docs-site/src/content/docs/guides/providers.md
Original file line number Diff line number Diff line change
Expand Up @@ -697,6 +697,23 @@ complete declared-tool call with no native counterpart is restored only after a
interrupted or filtered turns leave the markup as text. Create Provider-API keys at
[Command Code Studio](https://commandcode.ai/studio/).

For a provider using the native `command-code` adapter, `projectContext: "on"` opts into
sending local project files in the `/alpha/generate` `memory`, `taste`, and `skills` fields.
With `projectContext` unset or `"off"`, no project files (`AGENTS.md`, taste, or skills)
are read or sent; the existing `config` metadata payload is unchanged.
The roots are resolved from the **opencodex proxy process working directory**, not from a
caller's remote workspace. The loader reads `AGENTS.md`, `.commandcode/taste/taste.md`,
and `SKILL.md` files in immediate child directories of `.commandcode/skills`,
`.agents/skills`, and `.pi/skills` under that working directory. Enabling the option sends
the collected contents upstream to the configured Command Code endpoint. It is rejected
for other adapters. Asynchronous path checks keep reads inside the resolved working
directory, including when that directory is a filesystem root; only regular-file
content is read. Skill-directory symlinks resolving inside that directory are allowed;
those resolving outside are rejected. Every visited entry counts toward the scan budget; at
most 16 skills are selected. File bytes, total skill bytes, and loading time are bounded;
unreadable or missing files produce empty fields. Stable results are cached for 30 seconds;
timeouts and filesystem-admission refusals are not cached, so a later request can retry.

**OrcaRouter authentication and discovery.** Choose either `ocx login orcarouter-oauth` for
one-click browser authorization or `ocx login orcarouter` to paste an existing API key. The PKCE
flow starts a loopback listener first, sends a fresh S256 challenge and state to
Expand Down
1 change: 1 addition & 0 deletions scripts/test-layout/layout.json
Original file line number Diff line number Diff line change
Expand Up @@ -604,6 +604,7 @@
"combos.test.ts": "codex-integration",
"command-code-error-finish.test.ts": "providers",
"command-code-efforts.test.ts": "providers",
"command-code-project-context.test.ts": "providers",
"command-code-provider.test.ts": "providers",
"command-code-quota.test.ts": "providers",
"command-code-tool-text.test.ts": "providers",
Expand Down
Loading
Loading