Interface: ThreadStartEvent<TContext>
Defined in: packages/kernl/src/lifecycle.ts:17
Emitted when a thread starts execution.
Type Parameters
| Type Parameter | Default type |
|---|---|
TContext | unknown |
Properties
| Property | Modifier | Type | Description | Defined in |
|---|---|---|---|---|
agentId | public | string | The agent executing this thread. | packages/kernl/src/lifecycle.ts:28 |
context | public | Context<TContext> | The context for this execution. NOTE: Includes context.agent reference for tools - may be optimized in future. | packages/kernl/src/lifecycle.ts:40 |
kind | readonly | "thread.start" | - | packages/kernl/src/lifecycle.ts:18 |
namespace | public | string | The namespace of the thread. | packages/kernl/src/lifecycle.ts:33 |
threadId | public | string | The thread ID. | packages/kernl/src/lifecycle.ts:23 |