OptionalconversationURI of the conversation feed (queue) — today always an EID, but typed as
URI.URI to accommodate future entity-kind extensions. Narrow with EID.parse
at the point of use.
Passed to the process environment so nested operations can resolve HarnessService and related services.
OptionalnotifyRequest user-facing notifications at the given invocation phases.
Optional Readonlyerror?: string | [string, { count?: number; defaultValue?: string; ns: string }]Shown when the invocation fails.
Optional Readonlystart?: string | [string, { count?: number; defaultValue?: string; ns: string }]Shown when the invocation starts.
Optional Readonlysuccess?: string | [string, { count?: number; defaultValue?: string; ns: string }]Shown when the invocation succeeds.
OptionalonSpecifies the runtime environment for the operation. By default, the operation is executed on the local runtime.
OptionalspaceSpace ID to provide database context for the handler.
OptionaltracingTracing metadata stamped on the process that runs the invocation.
Optional Readonlyconversation?: Ref<Unknown>Ref to the conversation feed object if present.
Optional ReadonlyparentPid?: stringOptional ReadonlyparentThread?: stringLight thread of the parent process's turn that spawned this process.
Optional Readonlypid?: stringOptional ReadonlyprocessName?: stringOptional ReadonlyrunId?: stringPid of the first invocation of the run this message belongs to.
A run that calls Operation.runAgain() continues in a new invocation with its own pid; each
continuation carries the first invocation's pid here so consumers can show the run as one unit.
Absent on the first invocation, whose own pid is the run's id.
Optional ReadonlyruntimeName?: string & Brand<"@dxos/compute/Trace/RuntimeName">Extensible name informing which runtime executed the code that produced the event.
Optional Readonlyspace?: stringSpace the message was produced in.
Stored as a string to avoid circular dependency on @dxos/keys.
Optional Readonlythread?: stringLane of the process's turn that produced the event (see CurrentThread).
Optional ReadonlytoolCallId?: stringID of the tool call that created the current process.
Optional Readonlytrigger?: Ref<Trigger.Trigger & OfKind<Object> & Unknown>Ref to the trigger object if invocation resulted from a trigger.
Options for operation invocation.