AIDK API Reference / aidk-kernel / ContextMetadata
Interface: ContextMetadata ​
Defined in: packages/kernel/src/context.ts:108
Extensible metadata storage within the context.
Use this to store application-specific data that should flow through the execution context.
Example ​
typescript
const ctx = Context.create({
metadata: {
conversationId: 'conv-123',
feature_flags: { beta: true },
}
});
// Access later
const convId = Context.get().metadata.conversationId;Extends ​
Record<string,any>
Extended by ​
Indexable ​
ts
[key: string]: any