@agentshouse/mdruntime-families 0.1.0-c4c112ac29832 → 0.1.0-c4dbafcb08099
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.
|
@@ -187,6 +187,9 @@ export type ConversationEvent = {
|
|
|
187
187
|
} | {
|
|
188
188
|
kind: 'list';
|
|
189
189
|
entries: readonly ListedConversation[];
|
|
190
|
+
whole: boolean;
|
|
191
|
+
more: boolean;
|
|
192
|
+
cursor: string | null;
|
|
190
193
|
} | {
|
|
191
194
|
kind: 'listed';
|
|
192
195
|
entry: ListedConversation;
|
|
@@ -201,6 +204,7 @@ export type ListedAgent = {
|
|
|
201
204
|
};
|
|
202
205
|
export type ConversationStream = {
|
|
203
206
|
replicate(conversations: readonly string[]): void;
|
|
207
|
+
hold(cursor: string | null): void;
|
|
204
208
|
observe(notify: (event: ConversationEvent) => void): () => void;
|
|
205
209
|
agents?(): Promise<readonly ListedAgent[] | null>;
|
|
206
210
|
history?(request: ConversationHistoryRequest): Promise<ActionResult>;
|
|
@@ -93,7 +93,7 @@ export type ConversationDependencies = {
|
|
|
93
93
|
export type ConversationStore = {
|
|
94
94
|
surface: ConversationSurface;
|
|
95
95
|
chatDraft: ChatDraftSurface;
|
|
96
|
-
hydrate(held: readonly HeldConversation[], drafts: readonly ChatDraftRecord[], list: readonly ListedConversation[] | null): void;
|
|
96
|
+
hydrate(held: readonly HeldConversation[], drafts: readonly ChatDraftRecord[], list: readonly ListedConversation[] | null, cursor: string | null): void;
|
|
97
97
|
reconcile(): Promise<void>;
|
|
98
98
|
catchUp(progress: CycleProgress): Promise<void>;
|
|
99
99
|
resend(progress: CycleProgress): Promise<void>;
|
|
@@ -90,6 +90,7 @@ export type Opened = {
|
|
|
90
90
|
readonly targets: Readonly<Record<string, TargetRecord>>;
|
|
91
91
|
readonly presentation: readonly PresentationRecord[];
|
|
92
92
|
readonly conversationList: readonly ListedConversation[] | null;
|
|
93
|
+
readonly conversationCursor: string | null;
|
|
93
94
|
};
|
|
94
95
|
export type Commit = {
|
|
95
96
|
readonly rooms: readonly RoomCommit[];
|
package/package.json
CHANGED