Skip to content

Commit a244e25

Browse files
sync docs (#530)
Co-authored-by: michaeljguarino <[email protected]>
1 parent 0cc45cb commit a244e25

File tree

2 files changed

+146
-73
lines changed

2 files changed

+146
-73
lines changed

pages/overview/agent-api-reference.md

Lines changed: 52 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -213,6 +213,8 @@ _Appears in:_
213213
| `opencode` _[OpenCodeConfig](#opencodeconfig)_ | Config for OpenCode CLI runtime. | | Optional: \{\} <br /> |
214214

215215

216+
217+
216218
#### AgentRuntimeReference
217219

218220

@@ -309,6 +311,28 @@ _Appears in:_
309311
| `extraArgs` _string array_ | ExtraArgs CLI args for advanced flags not modeled here | | |
310312

311313

314+
#### ClaudeConfigRaw
315+
316+
317+
318+
ClaudeConfigRaw contains configuration for the Claude CLI runtime.
319+
320+
NOTE: Do not embed this struct directly, use ClaudeConfig instead.
321+
This is only used to read original ClaudeConfig secret data and be
322+
able to inject it into the pod as env vars.
323+
324+
325+
326+
_Appears in:_
327+
- [AgentRuntimeConfigRaw](#agentruntimeconfigraw)
328+
329+
| Field | Description | Default | Validation |
330+
| --- | --- | --- | --- |
331+
| `apiKey` _string_ | ApiKey is the raw API key to use. | | |
332+
| `model` _string_ | Model Name of the model to use. | | |
333+
| `extraArgs` _string array_ | ExtraArgs CLI args for advanced flags not modeled here | | |
334+
335+
312336
#### ClusterDrain
313337

314338

@@ -615,9 +639,34 @@ _Appears in:_
615639

616640
| Field | Description | Default | Validation |
617641
| --- | --- | --- | --- |
618-
| `endpoint` _string_ | API endpoint for the OpenCode service. | | |
619-
| `tokenSecretRef` _[SecretKeySelector](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.29/#secretkeyselector-v1-core)_ | Reference to a Kubernetes Secret containing the API token for OpenCode. | | |
620-
| `extraArgs` _string array_ | Extra args for advanced or experimental CLI flags. | | |
642+
| `provider` _string_ | Provider is the OpenCode provider to use. | | Enum: [plural openai] <br />Required: \{\} <br /> |
643+
| `endpoint` _string_ | Endpoint API endpoint for the OpenCode service. | | Required: \{\} <br /> |
644+
| `model` _string_ | Model is the LLM model to use. | | Optional: \{\} <br /> |
645+
| `tokenSecretRef` _[SecretKeySelector](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.29/#secretkeyselector-v1-core)_ | TokenSecretRef is a reference to a Kubernetes Secret containing the API token for OpenCode. | | Required: \{\} <br /> |
646+
| `extraArgs` _string array_ | ExtraArgs args for advanced or experimental CLI flags.<br />Deprecated: It is being ignored by the agent harness. | | |
647+
648+
649+
#### OpenCodeConfigRaw
650+
651+
652+
653+
OpenCodeConfigRaw contains configuration for the OpenCode CLI runtime.
654+
655+
NOTE: Do not embed this struct directly, use OpenCodeConfig instead.
656+
This is only used to read original OpenCodeConfig secret data and be
657+
able to inject it into the pod as env vars.
658+
659+
660+
661+
_Appears in:_
662+
- [AgentRuntimeConfigRaw](#agentruntimeconfigraw)
663+
664+
| Field | Description | Default | Validation |
665+
| --- | --- | --- | --- |
666+
| `provider` _string_ | Provider is the OpenCode provider to use. | | |
667+
| `endpoint` _string_ | Endpoint API endpoint for the OpenCode service. | | |
668+
| `model` _string_ | Model is the LLM model to use. | | |
669+
| `tokenSecretRef` _string_ | Token is the raw API token for OpenCode. | | |
621670

622671

623672
#### PipelineGate

0 commit comments

Comments
 (0)