Skip to main content

Crate codex_runtime

Crate codex_runtime 

Source
Expand description

Public facade for the Codex Runtime workspace. Default path: use this crate first. Use codex_runtime::runtime for low-level control.

Re-exports§

pub use plugin::FilteredPostHook;
pub use plugin::FilteredPreHook;
pub use plugin::HookMatcher;
pub use runtime::ShellCommandHook;

Modules§

artifact
automation
Minimal session-scoped automation above crate::runtime::Session.
plugin
rpc_methods
Canonical app-server JSON-RPC method names.
runtime
web

Structs§

AppServer
Thin, explicit JSON-RPC facade for codex app-server.
Workflow
One reusable workflow handle:
WorkflowConfig
One explicit data model for reusable workflow defaults. This keeps simple and advanced paths on a single concrete structure.

Enums§

QuickRunError
Error model for one-shot convenience calls. Side effects are explicit: run errors can carry shutdown errors.

Functions§

quick_run
One-shot convenience: connect -> run(default profile) -> shutdown
quick_run_with_profile
One-shot convenience with explicit profile: connect -> run(profile) -> shutdown