Enum Class RemoteStreamDetail
- All Implemented Interfaces:
Serializable,Comparable<RemoteStreamDetail>,Constable
How much of a remote subagent's event stream the caller wants, sent as
context.detail.
Each level is a superset of the previous one. The wire value is the lower-case enum name.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionSTATUSplus text and thinking deltas.Lifecycle, tool call boundaries, tool results and confirmation requests.FULLplus every remainingAgentEvent— block boundaries, tool argument and tool output deltas, model calls with token usage, hints, custom events — forwarded asRemoteEventType.AGENT_EVENT. -
Method Summary
Modifier and TypeMethodDescriptionbooleanincludes(RemoteStreamDetail required) Whether this level includes events requiring at leastrequired.static RemoteStreamDetailParses a wire value, falling back toSTATUSfor null or unknown input.static RemoteStreamDetailReturns the enum constant of this class with the specified name.static RemoteStreamDetail[]values()Returns an array containing the constants of this enum class, in the order they are declared.Lower-case wire value, e.g.
-
Enum Constant Details
-
STATUS
Lifecycle, tool call boundaries, tool results and confirmation requests. -
FULL
STATUSplus text and thinking deltas. The default for a streaming parent. -
VERBOSE
FULLplus every remainingAgentEvent— block boundaries, tool argument and tool output deltas, model calls with token usage, hints, custom events — forwarded asRemoteEventType.AGENT_EVENT.This is the only level that reproduces a local subagent's stream in full, at the cost of noticeably more traffic on high-frequency runs.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
wireValue
Lower-case wire value, e.g."verbose". -
includes
Whether this level includes events requiring at leastrequired. -
parse
Parses a wire value, falling back toSTATUSfor null or unknown input.
-