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.149.0-alpha.4.1" CodexExecutableRevision = "fa8b41f0e7ae971171d05ca55451a3ffb8b7e74e01837a2f5c177513a5403c5d" CodexNormalSchemaRevision = "bfa21213f862696b6919e8ddf60c454be5f24e6f432735651fc4fbaa7d2b3919" CodexNormalSchemaFiles = 291 CodexExperimentalSchemaRevision = "780383c87746e4840e0eaeef83f636030c291ed05b44be2cb233c39e757a144a" CodexExperimentalSchemaFiles = 401 CodexSchemaRevision = "8d0cb6c2ce8aa47a0866d17c28f2adea2b562f0b8d69ad6e876c06010efac35b" 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)