Documentation
¶
Overview ¶
Package codexsubscription implements the isolated, subscription-backed Primary Channel execution contract. It is deliberately separate from the ordinary tool-capable native Codex provider.
Index ¶
Constants ¶
const ( // DeveloperInstruction is the exact policy input supplied to every // subscription-backed Primary Channel target. It has no trailing newline. DeveloperInstruction = "" /* 573-byte string literal not displayed */ DeveloperInstructionRevision = "0aa9805087e459f9566e74e5283555a207fa2f3defcab3f20929457e64c564bc" CodexVersion = "codex-cli 0.147.0-alpha.6.5" CodexExecutableRevision = "e4432c0c085e4a2e5b9cf982e4dd2ebdb44ed33c422827b6e6c64353778e773b" CodexNormalSchemaRevision = "be9de4ce887d8338794dbd330202fb5bdbd43316cc73b721efacf4542c8607b9" CodexNormalSchemaFiles = 285 CodexExperimentalSchemaRevision = "2b6fb0da3b974ed25389d021f274900837c3ae5d406ba85be8cde45a21d0214f" CodexExperimentalSchemaFiles = 361 CodexSchemaRevision = "c59b4927dfaaaddcd78fd581bbe4c18649bb9adc42453a23b719b9df403156f2" TargetTimeoutMillis = 120_000 IsolationRevision = "ec32ed5aa097ce69223769027987bd7ddd647f097b7e5ab47a67d90f59c2aab5" AdapterRevision = "2b417c00d7e5b831eed5121e896aade874610b9df2b505e142baf97cc2c02412" PolicyRevision = "4ee11ff5bc8c7ab3332d6a7d90124fe8a0f84e3564d44a759dc9d2bdafff000d" )
Variables ¶
This section is empty.
Functions ¶
func DisabledFeatures ¶
func DisabledFeatures() []string
DisabledFeatures returns the immutable feature-denial portion of the accepted execution contract. The returned slice is a copy.
func ExecArguments ¶
ExecArguments constructs the exact direct argv after the held Codex executable path. Prompt, model, and workdir are already validated by the caller; no shell parses the returned values.
func RequiredConfigOverrides ¶
func RequiredConfigOverrides() []string
RequiredConfigOverrides returns the exact strict config supplied to Codex. The returned slice is a copy and each entry is one value following -c.
Types ¶
type HeldExecutable ¶
type Resolver ¶
type Resolver interface {
ResolveCodex(context.Context) (HeldExecutable, error)
}
Resolver returns immutable, capability-authorized Codex bytes and the schema identity verified against those same bytes.
type Runtime ¶
type Runtime struct {
// contains filtered or unexported fields
}
func (*Runtime) Dispatch ¶
func (r *Runtime) Dispatch(parent context.Context, spec coreruntime.RunSpec) (coreruntime.Run, error)