CommandExecutionThreadItem
Base classes¶
| Name | Children | Inherits |
|---|---|---|
| CodexBaseModel codexed.models.base Base model for all Codex API models. |
⋔ Inheritance diagram¶
graph TD
2883811924["v2_protocol.CommandExecutionThreadItem"]
3116041069["base.CodexBaseModel"]
3879467795["main.BaseModel"]
2751680898["builtins.object"]
3116041069 --> 2883811924
3879467795 --> 3116041069
2751680898 --> 3879467795
🛈 DocStrings¶
Bases: CodexBaseModel
A thread item and its recorded lifecycle times. The payload stays flat on the wire.
Source code in src/codexed/models/v2_protocol.py
aggregated_output
class-attribute
instance-attribute
¶
The command's output, aggregated from stdout and stderr.
command_actions
instance-attribute
¶
A best-effort parsing of the command to understand the action(s) it will perform. This returns a list of CommandAction objects because a single shell command may be composed of many commands piped together.
completed_at_ms
class-attribute
instance-attribute
¶
Unix timestamp in milliseconds when the item completed, if recorded.
duration_ms
class-attribute
instance-attribute
¶
The duration of the command execution in milliseconds.
exit_code
class-attribute
instance-attribute
¶
The command's exit code.
plugin_id
class-attribute
instance-attribute
¶
Trusted first-party plugin id when this command resolves to one plugin script.
process_id
class-attribute
instance-attribute
¶
Identifier for the underlying PTY process (when available).
script_path
class-attribute
instance-attribute
¶
Safe plugin-relative path when this command resolves to one plugin script.
started_at_ms
class-attribute
instance-attribute
¶
Unix timestamp in milliseconds when the item started, if recorded.