SpawnHandle¶
Fields¶
session¶
Returns the ULID that the session of the child will use. The same id
also appears in the table returned by run.
- Type:
string - Access: read-only
Methods¶
run¶
Run the child to completion and return
{ personality, session, reply }, where reply is the final assistant
message of the child and may be empty. Raises if the child fails to
build or run, or if the handle was already run. run_subagent
itself deletes a captured fork log on a setup failure (before the log is
adopted into the child); once adopted, a run failure leaves the log in
place, since it may hold real history the child appended.
Returns
any