@personaai/reactv0.10.0

PersonaSandboxCommand — @personaai/react

Generated field table for PersonaSandboxCommand — do not edit

Generated from sdk/react/dist/typedoc.json — do not edit.

PersonaSandboxCommand

One execute tool call against an Agent's sandbox (real shell execution in an isolated CodeSandbox VM — requires the Agent's sandboxEnabled and a CSB_API_KEY Project Secret; see the Agent's sandboxEnabled field). Derived from PersonaToolCalls named execute across every message in the conversation, in stream order — not a separate live/history-tracked state, so it's always consistent with messages.

Source: types.ts:123

Interface

FieldTypeDescription
toolCallIdstring— _ types.ts:124_
commandstringThe shell command, parsed from the tool call's args. Falls back to the raw args string while still streaming/incomplete. — _ types.ts:126_
output?stringstdout/stderr, once the call finishes. — _ types.ts:128_
exitCode?number | nullnull when the result parsed but didn't carry an exit code; undefined while still running. — _ types.ts:130_
status"running" | "done" | "error"— _ types.ts:131_
seq?number— _ types.ts:132_