@tangle-network/agent-interface 0.12.0 → 0.13.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +0 -19
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -217,20 +217,6 @@ export type StreamEvent = MessagePartUpdatedEvent | {
|
|
|
217
217
|
type: "interaction.cancel";
|
|
218
218
|
id: string;
|
|
219
219
|
reason?: string;
|
|
220
|
-
}
|
|
221
|
-
/** @deprecated Use the `interaction` event with `kind: "question"`. Retained
|
|
222
|
-
* so existing emitters/consumers keep working during migration. */
|
|
223
|
-
| {
|
|
224
|
-
type: "question";
|
|
225
|
-
questionId: string;
|
|
226
|
-
questions: Array<{
|
|
227
|
-
question: string;
|
|
228
|
-
options?: Array<{
|
|
229
|
-
label: string;
|
|
230
|
-
description?: string;
|
|
231
|
-
}>;
|
|
232
|
-
multiSelect?: boolean;
|
|
233
|
-
}>;
|
|
234
220
|
};
|
|
235
221
|
export type ToolInvocation = {
|
|
236
222
|
toolName: string;
|
|
@@ -611,11 +597,6 @@ export interface SdkProviderAdapter {
|
|
|
611
597
|
* provider's native control call to unblock the agent.
|
|
612
598
|
*/
|
|
613
599
|
respondToInteraction?(response: InteractionResponse): Promise<void>;
|
|
614
|
-
/**
|
|
615
|
-
* @deprecated Use `respondToInteraction`. Retained for back-compat; an
|
|
616
|
-
* adapter implementing only this still answers `kind: "question"` asks.
|
|
617
|
-
*/
|
|
618
|
-
submitQuestionAnswer?(answers: Record<string, string[]>): Promise<void>;
|
|
619
600
|
}
|
|
620
601
|
export * from "./interaction.js";
|
|
621
602
|
export * from "./agent-profile.js";
|