@teable/agent-gateway 1.0.10 → 1.0.12
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/protocol.d.ts +22 -1
- package/package.json +1 -1
package/dist/protocol.d.ts
CHANGED
|
@@ -378,7 +378,10 @@ export interface AgentQuestionRequest {
|
|
|
378
378
|
toolCallId: string | null;
|
|
379
379
|
questions: AgentQuestion[];
|
|
380
380
|
}
|
|
381
|
-
/**
|
|
381
|
+
/**
|
|
382
|
+
* The answer to questions: for each, in order, the labels picked and the
|
|
383
|
+
* person's own words, neither for one they skipped; or none.
|
|
384
|
+
*/
|
|
382
385
|
export type AgentQuestionOutcome = {
|
|
383
386
|
outcome: "answered";
|
|
384
387
|
answers: {
|
|
@@ -666,6 +669,14 @@ export type TabOp =
|
|
|
666
669
|
type: "archive";
|
|
667
670
|
archived: boolean;
|
|
668
671
|
}
|
|
672
|
+
/**
|
|
673
|
+
* Delete the session for good, as the old App Builder deletes a chat: it
|
|
674
|
+
* is closed (its agent stops), then it and all its events are gone, and
|
|
675
|
+
* what they weighed is free again. Every tab of the app hears `deleted`.
|
|
676
|
+
*/
|
|
677
|
+
| {
|
|
678
|
+
type: "delete";
|
|
679
|
+
}
|
|
669
680
|
/**
|
|
670
681
|
* Answer what the agent asks the person (a permission, questions, a plan),
|
|
671
682
|
* named by the `seq` of the event that asked, with the outcome its kind
|
|
@@ -950,4 +961,14 @@ export type HubToTab = TabEvent | Ack
|
|
|
950
961
|
| {
|
|
951
962
|
type: "gateway";
|
|
952
963
|
gateway: GatewayStatus;
|
|
964
|
+
}
|
|
965
|
+
/**
|
|
966
|
+
* A session was deleted (`delete`): the tab drops it and its events. It
|
|
967
|
+
* is not an event, since nothing of the session is kept to number it
|
|
968
|
+
* among; a tab that was away hears it as the next snapshot not listing
|
|
969
|
+
* the session.
|
|
970
|
+
*/
|
|
971
|
+
| {
|
|
972
|
+
type: "deleted";
|
|
973
|
+
session: string;
|
|
953
974
|
};
|
package/package.json
CHANGED