BashOutput
Base classes¶
| Name | Children | Inherits |
|---|---|---|
| dict builtins dict() -> new empty dictionary |
|
⋔ Inheritance diagram¶
graph TD
1167028418["output_types.BashOutput"]
2645524081["builtins.dict"]
2751680898["builtins.object"]
2645524081 --> 1167028418
2751680898 --> 2645524081
🛈 DocStrings¶
Bases: TypedDict
tool_use_result for the Bash tool.
Source code in src/clawd_code_sdk/models/output_types.py
backgroundCwdHint
instance-attribute
¶
Note that the session cwd was not changed by a backgrounded directory-change command.
backgroundEndsWithFinalResponse
instance-attribute
¶
True when this backgrounded command is terminated at its caller's final response.
backgroundTaskId
instance-attribute
¶
Task ID when run_in_background=true was used.
backgroundWakesOwner
instance-attribute
¶
True when the subagent owning this backgrounded command is woken by its end.
backgroundedByUser
instance-attribute
¶
True if the user manually backgrounded the command with Ctrl+B.
dangerouslyDisableSandbox
instance-attribute
¶
Whether sandbox mode was overridden.
ghRateLimitHint
instance-attribute
¶
Model-facing sys-reminder appended when a gh cmd reports a GitHub API rate-limit error.
gitOperation
instance-attribute
¶
gitOperation: NotRequired[BashGitOperation]
Structured classification of git/gh operations detected in this command.
noOutputExpected
instance-attribute
¶
Whether the command is expected to produce no output on success.
persistedOutputPath
instance-attribute
¶
Path to persisted full output (when output is too large for inline).
persistedOutputSize
instance-attribute
¶
Total size of the output in bytes (when output is too large for inline).
rawOutputPath
instance-attribute
¶
Path to raw output file for large MCP tool outputs.
returnCodeInterpretation
instance-attribute
¶
Semantic interpretation for non-error exit codes with special meaning.
staleReadFileStateHint
instance-attribute
¶
Model-facing note listing readFileState entries whose mtime bumped during this command.
structuredContent
instance-attribute
¶
Structured content blocks.
timedOutAfterMs
instance-attribute
¶
Set when the command hit its timeout and was auto-backgrounded; the timeout in ms.