@mondaydotcomorg/atp-runtime
Version:
Runtime SDK injected into sandbox for Agent Tool Protocol
46 lines • 1.01 kB
TypeScript
/**
* Callback types that can pause execution
*/
export declare enum CallbackType {
LLM = "llm",
APPROVAL = "approval",
EMBEDDING = "embedding",
TOOL = "tool"
}
/**
* LLM callback operations
*/
export declare enum LLMOperation {
CALL = "call",
EXTRACT = "extract",
CLASSIFY = "classify"
}
/**
* Embedding callback operations
*/
export declare enum EmbeddingOperation {
EMBED = "embed",
SEARCH = "search"
}
/**
* Approval callback operations
*/
export declare enum ApprovalOperation {
REQUEST = "request"
}
/**
* Tool callback operations
*/
export declare enum ToolOperation {
CALL = "call"
}
/**
* Thrown when execution needs to pause for client callback
*/
export declare class PauseExecutionError extends Error {
readonly type: CallbackType;
readonly operation: string;
readonly payload: Record<string, unknown>;
constructor(type: CallbackType, operation: string, payload: Record<string, unknown>);
}
//# sourceMappingURL=types.d.ts.map