@sema-agent/core
Version:
Stateless, task-oriented AI agent core
5 lines (4 loc) • 365 B
TypeScript
/** The id an extension's own call (`$.tool.call`, `$.agent.spawn`) runs under: both doors mint it here. */
export declare function mintExtensionCallId(): string;
/** Whether `id` is a call id {@link mintExtensionCallId} could have minted — the one reading of "an extension's own call id". */
export declare function isExtensionCallId(id: unknown): id is string;