Skip to content

ThreadStartResponse

Base classes

Name Children Inherits
CodexBaseModel
codexed.models.base
Base model for all Codex API models.

⋔ Inheritance diagram

graph TD
  362431108["v2_protocol.ThreadStartResponse"]
  3116041069["base.CodexBaseModel"]
  3879467795["main.BaseModel"]
  2751680898["builtins.object"]
  3116041069 --> 362431108
  3879467795 --> 3116041069
  2751680898 --> 3879467795

🛈 DocStrings

Bases: CodexBaseModel

Source code in src/codexed/models/v2_protocol.py
class ThreadStartResponse(CodexBaseModel):
    active_permission_profile: ActivePermissionProfile | None = None
    """
    Named or implicit built-in profile that produced the active permissions, when known.
    """
    approval_policy: AskForApproval
    approvals_reviewer: ApprovalsReviewer
    """
    Reviewer currently used for approval requests on this thread.
    """
    cwd: AbsolutePathBuf
    disabled_plugin_ids: list[str] | None = []
    """
    Saved list of disabled plugin IDs. Does not yet filter plugin capabilities.
    """
    instruction_sources: list[LegacyAppPathString] | None = []
    """
    Environment-native paths to instruction source files currently loaded for this thread.
    """
    model: str
    model_provider: str
    multi_agent_mode: MultiAgentMode | None = Field("explicitRequestOnly", validate_default=True)
    """
    @deprecated Always `explicitRequestOnly`. Use `reasoningEffort` for Ultra behavior.
    """
    reasoning_effort: ReasoningEffort | None = None
    runtime_workspace_roots: list[AbsolutePathBuf] | None = []
    """
    Thread-scoped runtime workspace roots used to materialize `:workspace_roots`.
    """
    sandbox: SandboxPolicy
    """
    Legacy sandbox policy retained for compatibility. Experimental clients should prefer `activePermissionProfile` for profile provenance.
    """
    service_tier: str | None = None
    thread: Thread

active_permission_profile class-attribute instance-attribute

active_permission_profile: ActivePermissionProfile | None = None

Named or implicit built-in profile that produced the active permissions, when known.

approvals_reviewer instance-attribute

approvals_reviewer: ApprovalsReviewer

Reviewer currently used for approval requests on this thread.

disabled_plugin_ids class-attribute instance-attribute

disabled_plugin_ids: list[str] | None = []

Saved list of disabled plugin IDs. Does not yet filter plugin capabilities.

instruction_sources class-attribute instance-attribute

instruction_sources: list[LegacyAppPathString] | None = []

Environment-native paths to instruction source files currently loaded for this thread.

multi_agent_mode class-attribute instance-attribute

multi_agent_mode: MultiAgentMode | None = Field('explicitRequestOnly', validate_default=True)

@deprecated Always explicitRequestOnly. Use reasoningEffort for Ultra behavior.

runtime_workspace_roots class-attribute instance-attribute

runtime_workspace_roots: list[AbsolutePathBuf] | None = []

Thread-scoped runtime workspace roots used to materialize :workspace_roots.

sandbox instance-attribute

sandbox: SandboxPolicy

Legacy sandbox policy retained for compatibility. Experimental clients should prefer activePermissionProfile for profile provenance.

:fa-brands-github: Show source on GitHub