@hasura/promptql 2.0.0-alpha.14 → 2.0.0-alpha.16
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/biome.json +1 -1
- package/dist/index.d.mts +167 -129
- package/dist/index.d.ts +167 -129
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +3 -3
package/biome.json
CHANGED
package/dist/index.d.mts
CHANGED
|
@@ -76,7 +76,7 @@ type InteractionUpdate = {
|
|
|
76
76
|
} | {
|
|
77
77
|
main_agent: AgentLoopUpdate;
|
|
78
78
|
} | {
|
|
79
|
-
|
|
79
|
+
wiki_learning_suggestion: WikiLearningSuggestionUpdate;
|
|
80
80
|
};
|
|
81
81
|
/**
|
|
82
82
|
* The agent's decision on whether to process a user interaction
|
|
@@ -106,17 +106,13 @@ type InteractionDecisionUpdate = {
|
|
|
106
106
|
type WikiSelectionUpdate = {
|
|
107
107
|
started: {};
|
|
108
108
|
} | {
|
|
109
|
-
|
|
109
|
+
wiki_pages_selected: {
|
|
110
110
|
/**
|
|
111
|
-
*
|
|
111
|
+
* Titles of wiki pages that were found to be relevant
|
|
112
112
|
*/
|
|
113
|
-
|
|
113
|
+
wiki_page_titles: string[];
|
|
114
114
|
/**
|
|
115
|
-
*
|
|
116
|
-
*/
|
|
117
|
-
wiki_page_ids: string[];
|
|
118
|
-
/**
|
|
119
|
-
* LLM usage during wiki exploration
|
|
115
|
+
* LLM usage during wiki selection
|
|
120
116
|
*/
|
|
121
117
|
llm_usage?: LlmUsage[];
|
|
122
118
|
};
|
|
@@ -132,9 +128,23 @@ type AgentLoopUpdate = {
|
|
|
132
128
|
} | {
|
|
133
129
|
llm_response: {
|
|
134
130
|
response_text: string;
|
|
135
|
-
|
|
131
|
+
thinking_text?: string | null;
|
|
136
132
|
usage: LlmUsage;
|
|
137
133
|
};
|
|
134
|
+
} | {
|
|
135
|
+
actions_parsed: {
|
|
136
|
+
actions: AgentLoopAction[];
|
|
137
|
+
/**
|
|
138
|
+
* If barrier truncation occurred, records where the response was cut.
|
|
139
|
+
* Absent / `None` for older persisted events and when no truncation
|
|
140
|
+
* occurred.
|
|
141
|
+
*/
|
|
142
|
+
truncation?: ResponseTruncation | null;
|
|
143
|
+
};
|
|
144
|
+
} | {
|
|
145
|
+
actions_parsing_failed: {
|
|
146
|
+
error: string;
|
|
147
|
+
};
|
|
138
148
|
} | {
|
|
139
149
|
action_started: {
|
|
140
150
|
action: AgentLoopAction;
|
|
@@ -151,10 +161,15 @@ type AgentLoopUpdate = {
|
|
|
151
161
|
turn_completed: {
|
|
152
162
|
turn_index: number;
|
|
153
163
|
};
|
|
164
|
+
} | {
|
|
165
|
+
context_transitioned: {
|
|
166
|
+
summary: string;
|
|
167
|
+
next_steps: string;
|
|
168
|
+
skill: SkillType;
|
|
169
|
+
};
|
|
154
170
|
} | {
|
|
155
171
|
completed: {
|
|
156
172
|
summary: string;
|
|
157
|
-
success: boolean;
|
|
158
173
|
};
|
|
159
174
|
};
|
|
160
175
|
/**
|
|
@@ -164,6 +179,8 @@ type AgentLoopAction = {
|
|
|
164
179
|
create_program: {
|
|
165
180
|
package_name: ProgramPackageName;
|
|
166
181
|
};
|
|
182
|
+
} | {
|
|
183
|
+
list_programs: {};
|
|
167
184
|
} | {
|
|
168
185
|
read_file: {
|
|
169
186
|
path: string;
|
|
@@ -200,16 +217,28 @@ type AgentLoopAction = {
|
|
|
200
217
|
entrypoint: string;
|
|
201
218
|
package_name?: ProgramPackageName | null;
|
|
202
219
|
};
|
|
203
|
-
} | {
|
|
204
|
-
run_sub_agent: {
|
|
205
|
-
task: string;
|
|
206
|
-
user_facing_title: string;
|
|
207
|
-
sub_agent_type: SubAgentType;
|
|
208
|
-
};
|
|
209
220
|
} | {
|
|
210
221
|
responding_to_user: {
|
|
211
222
|
message: string;
|
|
212
223
|
};
|
|
224
|
+
} | {
|
|
225
|
+
decide_next_steps: {
|
|
226
|
+
summary: string;
|
|
227
|
+
next_steps: string;
|
|
228
|
+
with_skill?: SkillType | null;
|
|
229
|
+
};
|
|
230
|
+
} | {
|
|
231
|
+
read_wiki_page: {
|
|
232
|
+
page_title: string;
|
|
233
|
+
};
|
|
234
|
+
} | {
|
|
235
|
+
search_wiki_pages: {
|
|
236
|
+
search_query: string;
|
|
237
|
+
};
|
|
238
|
+
} | {
|
|
239
|
+
find_relevant_tables_functions: {
|
|
240
|
+
search_query: string;
|
|
241
|
+
};
|
|
213
242
|
};
|
|
214
243
|
/**
|
|
215
244
|
* Program Package Name is the unique name for a program within a project that usable from code
|
|
@@ -217,9 +246,9 @@ type AgentLoopAction = {
|
|
|
217
246
|
*/
|
|
218
247
|
type ProgramPackageName = string;
|
|
219
248
|
/**
|
|
220
|
-
*
|
|
249
|
+
* Skill type identifier for the new skill-based architecture.
|
|
221
250
|
*/
|
|
222
|
-
type
|
|
251
|
+
type SkillType = "python_programming" | "react_programming" | "knowledge_exploration" | "saved_programs" | "response_generation";
|
|
223
252
|
/**
|
|
224
253
|
* Intermediate updates emitted during action execution.
|
|
225
254
|
*/
|
|
@@ -239,8 +268,6 @@ type AgentLoopActionUpdate = {
|
|
|
239
268
|
artifact_modified: {
|
|
240
269
|
artifact_update: ArtifactUpdate;
|
|
241
270
|
};
|
|
242
|
-
} | {
|
|
243
|
-
sub_agent_update: AgentLoopUpdateV1;
|
|
244
271
|
};
|
|
245
272
|
type ArtifactType = "text" | "table" | "visualization" | "html" | "file";
|
|
246
273
|
type ArtifactPreview = {
|
|
@@ -251,44 +278,6 @@ type ArtifactPreview = {
|
|
|
251
278
|
}[];
|
|
252
279
|
};
|
|
253
280
|
};
|
|
254
|
-
/**
|
|
255
|
-
* Events from the agent loop execution.
|
|
256
|
-
* Mirrors `AgentEvent<ProgrammerTask>` from the agent crate.
|
|
257
|
-
*/
|
|
258
|
-
type AgentLoopUpdateV1 = {
|
|
259
|
-
started: {};
|
|
260
|
-
} | {
|
|
261
|
-
turn_started: {
|
|
262
|
-
turn_index: number;
|
|
263
|
-
};
|
|
264
|
-
} | {
|
|
265
|
-
llm_response: {
|
|
266
|
-
response_text: string;
|
|
267
|
-
actions: AgentLoopAction[];
|
|
268
|
-
usage: LlmUsage;
|
|
269
|
-
};
|
|
270
|
-
} | {
|
|
271
|
-
action_started: {
|
|
272
|
-
action: AgentLoopAction;
|
|
273
|
-
};
|
|
274
|
-
} | {
|
|
275
|
-
action_progress: {
|
|
276
|
-
update: AgentLoopActionUpdate;
|
|
277
|
-
};
|
|
278
|
-
} | {
|
|
279
|
-
action_completed: {
|
|
280
|
-
result: AgentLoopActionResult;
|
|
281
|
-
};
|
|
282
|
-
} | {
|
|
283
|
-
turn_completed: {
|
|
284
|
-
turn_index: number;
|
|
285
|
-
};
|
|
286
|
-
} | {
|
|
287
|
-
completed: {
|
|
288
|
-
summary: string;
|
|
289
|
-
success: boolean;
|
|
290
|
-
};
|
|
291
|
-
};
|
|
292
281
|
/**
|
|
293
282
|
* The final result of executing an action.
|
|
294
283
|
*/
|
|
@@ -298,32 +287,21 @@ type AgentLoopActionResult = {
|
|
|
298
287
|
} | {
|
|
299
288
|
path: string;
|
|
300
289
|
agent_loop_action_result_type: "file_edited";
|
|
301
|
-
} | {
|
|
302
|
-
path: string;
|
|
303
|
-
message: string;
|
|
304
|
-
agent_loop_action_result_type: "file_edit_error";
|
|
305
290
|
} | {
|
|
306
291
|
output: string;
|
|
307
292
|
error?: string | null;
|
|
308
293
|
accessed_artifacts: string[];
|
|
309
294
|
modified_artifacts: ArtifactUpdate[];
|
|
310
295
|
agent_loop_action_result_type: "code_executed";
|
|
311
|
-
} | {
|
|
312
|
-
message: string;
|
|
313
|
-
agent_loop_action_result_type: "code_execution_failed";
|
|
314
|
-
} | {
|
|
315
|
-
summary: string;
|
|
316
|
-
success: boolean;
|
|
317
|
-
agent_loop_action_result_type: "sub_agent_completed";
|
|
318
|
-
} | {
|
|
319
|
-
message: string;
|
|
320
|
-
agent_loop_action_result_type: "sub_agent_failed";
|
|
321
296
|
} | {
|
|
322
297
|
message: string;
|
|
323
298
|
agent_loop_action_result_type: "message_sent";
|
|
324
299
|
} | {
|
|
325
300
|
package_name: ProgramPackageName;
|
|
326
301
|
agent_loop_action_result_type: "program_created";
|
|
302
|
+
} | {
|
|
303
|
+
programs: ProgramPackageName[];
|
|
304
|
+
agent_loop_action_result_type: "programs_listed";
|
|
327
305
|
} | {
|
|
328
306
|
path: string;
|
|
329
307
|
content: string;
|
|
@@ -340,14 +318,45 @@ type AgentLoopActionResult = {
|
|
|
340
318
|
} | {
|
|
341
319
|
message: string;
|
|
342
320
|
agent_loop_action_result_type: "operation_failed";
|
|
321
|
+
} | {
|
|
322
|
+
loaded_skill?: SkillType | null;
|
|
323
|
+
agent_loop_action_result_type: "decide_next_steps_result";
|
|
324
|
+
} | {
|
|
325
|
+
page_title: string;
|
|
326
|
+
page: WikiPageV1;
|
|
327
|
+
agent_loop_action_result_type: "wiki_page_read";
|
|
328
|
+
} | {
|
|
329
|
+
page_titles: string[];
|
|
330
|
+
summary: string;
|
|
331
|
+
llm_usage: LlmUsage[];
|
|
332
|
+
agent_loop_action_result_type: "wiki_pages_searched";
|
|
333
|
+
} | {
|
|
334
|
+
tables: string[];
|
|
335
|
+
functions: string[];
|
|
336
|
+
summary: string;
|
|
337
|
+
llm_usage: LlmUsage[];
|
|
338
|
+
agent_loop_action_result_type: "relevant_tables_found";
|
|
343
339
|
};
|
|
344
|
-
|
|
340
|
+
/**
|
|
341
|
+
* The title of a wiki page or section
|
|
342
|
+
*/
|
|
343
|
+
type WikiTitle = string;
|
|
344
|
+
/**
|
|
345
|
+
* The markdown content of block or section in a wiki page
|
|
346
|
+
*/
|
|
347
|
+
type WikiContent = string;
|
|
348
|
+
type WikiLearningSuggestionUpdate = {
|
|
345
349
|
started: {};
|
|
346
350
|
} | {
|
|
347
351
|
completed: {
|
|
348
352
|
llm_usage?: LlmUsage[];
|
|
353
|
+
llm_responses?: LlmResponse[];
|
|
349
354
|
learning_suggestion?: LearningSuggestion | null;
|
|
350
355
|
};
|
|
356
|
+
} | {
|
|
357
|
+
errored: {
|
|
358
|
+
error: string;
|
|
359
|
+
};
|
|
351
360
|
};
|
|
352
361
|
type InteractionOutcome = {
|
|
353
362
|
completed: {
|
|
@@ -1336,14 +1345,6 @@ type WikiChange = {
|
|
|
1336
1345
|
page_title: WikiTitle;
|
|
1337
1346
|
};
|
|
1338
1347
|
};
|
|
1339
|
-
/**
|
|
1340
|
-
* The title of a wiki page or section
|
|
1341
|
-
*/
|
|
1342
|
-
type WikiTitle = string;
|
|
1343
|
-
/**
|
|
1344
|
-
* The markdown content of block or section in a wiki page
|
|
1345
|
-
*/
|
|
1346
|
-
type WikiContent = string;
|
|
1347
1348
|
type LearningSuggestionUpdate = LearningSuggestionUpdateV1;
|
|
1348
1349
|
type LearningSuggestionUpdateV1 = {
|
|
1349
1350
|
StartedGeneration: {
|
|
@@ -1432,6 +1433,7 @@ type AgentLearningUpdate = {
|
|
|
1432
1433
|
WikiChangesGenerated: {
|
|
1433
1434
|
wiki_changes: WikiChange[];
|
|
1434
1435
|
llm_usages: LlmUsage[];
|
|
1436
|
+
llm_responses?: LlmResponse[];
|
|
1435
1437
|
};
|
|
1436
1438
|
} | {
|
|
1437
1439
|
ApplyingWikiChanges: {};
|
|
@@ -2135,6 +2137,25 @@ interface CopyFileEntry {
|
|
|
2135
2137
|
source_path: string;
|
|
2136
2138
|
target_path: string;
|
|
2137
2139
|
}
|
|
2140
|
+
/**
|
|
2141
|
+
* Metadata about barrier truncation applied to an LLM response.
|
|
2142
|
+
*
|
|
2143
|
+
* When the parser encounters a barrier action (e.g. `run_program`,
|
|
2144
|
+
* `decide_next_steps`), everything after the barrier is silently discarded.
|
|
2145
|
+
* This struct records where the cut happened so the original response text
|
|
2146
|
+
* (from `LlmResponse`) can be sliced to produce the effective text.
|
|
2147
|
+
*/
|
|
2148
|
+
interface ResponseTruncation {
|
|
2149
|
+
/**
|
|
2150
|
+
* Byte offset (exclusive) where the response was truncated.
|
|
2151
|
+
* `response_text[..kept_bytes]` is the effective text.
|
|
2152
|
+
*/
|
|
2153
|
+
kept_bytes: number;
|
|
2154
|
+
/**
|
|
2155
|
+
* Total byte length of the original LLM response.
|
|
2156
|
+
*/
|
|
2157
|
+
total_bytes: number;
|
|
2158
|
+
}
|
|
2138
2159
|
interface ArtifactUpdate {
|
|
2139
2160
|
identifier: string;
|
|
2140
2161
|
title: string;
|
|
@@ -2146,6 +2167,53 @@ interface ArtifactReference1 {
|
|
|
2146
2167
|
artifact_id: ArtifactId;
|
|
2147
2168
|
version: number;
|
|
2148
2169
|
}
|
|
2170
|
+
/**
|
|
2171
|
+
* Definition of a wiki page
|
|
2172
|
+
*/
|
|
2173
|
+
interface WikiPageV1 {
|
|
2174
|
+
/**
|
|
2175
|
+
* The title of the wiki page
|
|
2176
|
+
*/
|
|
2177
|
+
title: WikiTitle;
|
|
2178
|
+
/**
|
|
2179
|
+
* The alias titles of the wiki page
|
|
2180
|
+
*/
|
|
2181
|
+
aliases?: WikiTitle[];
|
|
2182
|
+
/**
|
|
2183
|
+
* Whether this is a stub page
|
|
2184
|
+
*/
|
|
2185
|
+
stub?: boolean;
|
|
2186
|
+
/**
|
|
2187
|
+
* The definition of the topic of the wiki page
|
|
2188
|
+
*/
|
|
2189
|
+
definition?: WikiContent | null;
|
|
2190
|
+
/**
|
|
2191
|
+
* Detailed information about the topic of the wiki page
|
|
2192
|
+
*/
|
|
2193
|
+
details?: WikiContent | null;
|
|
2194
|
+
/**
|
|
2195
|
+
* Additional sections for related topics of the wiki page
|
|
2196
|
+
*/
|
|
2197
|
+
sections?: WikiSection[];
|
|
2198
|
+
}
|
|
2199
|
+
/**
|
|
2200
|
+
* Definition of a section inside a wiki page
|
|
2201
|
+
*/
|
|
2202
|
+
interface WikiSection {
|
|
2203
|
+
/**
|
|
2204
|
+
* The title of the section
|
|
2205
|
+
*/
|
|
2206
|
+
title: WikiTitle;
|
|
2207
|
+
/**
|
|
2208
|
+
* The markdown content of the section
|
|
2209
|
+
*/
|
|
2210
|
+
content: WikiContent;
|
|
2211
|
+
}
|
|
2212
|
+
interface LlmResponse {
|
|
2213
|
+
thinking?: string | null;
|
|
2214
|
+
response_text: string;
|
|
2215
|
+
llm_usage: LlmUsage;
|
|
2216
|
+
}
|
|
2149
2217
|
interface LearningSuggestion {
|
|
2150
2218
|
learnings_markdown: string;
|
|
2151
2219
|
}
|
|
@@ -2706,48 +2774,6 @@ interface WikiDelta {
|
|
|
2706
2774
|
changes: WikiChange[];
|
|
2707
2775
|
nudge_text: string;
|
|
2708
2776
|
}
|
|
2709
|
-
/**
|
|
2710
|
-
* Definition of a wiki page
|
|
2711
|
-
*/
|
|
2712
|
-
interface WikiPageV1 {
|
|
2713
|
-
/**
|
|
2714
|
-
* The title of the wiki page
|
|
2715
|
-
*/
|
|
2716
|
-
title: WikiTitle;
|
|
2717
|
-
/**
|
|
2718
|
-
* The alias titles of the wiki page
|
|
2719
|
-
*/
|
|
2720
|
-
aliases?: WikiTitle[];
|
|
2721
|
-
/**
|
|
2722
|
-
* Whether this is a stub page
|
|
2723
|
-
*/
|
|
2724
|
-
stub?: boolean;
|
|
2725
|
-
/**
|
|
2726
|
-
* The definition of the topic of the wiki page
|
|
2727
|
-
*/
|
|
2728
|
-
definition?: WikiContent | null;
|
|
2729
|
-
/**
|
|
2730
|
-
* Detailed information about the topic of the wiki page
|
|
2731
|
-
*/
|
|
2732
|
-
details?: WikiContent | null;
|
|
2733
|
-
/**
|
|
2734
|
-
* Additional sections for related topics of the wiki page
|
|
2735
|
-
*/
|
|
2736
|
-
sections?: WikiSection[];
|
|
2737
|
-
}
|
|
2738
|
-
/**
|
|
2739
|
-
* Definition of a section inside a wiki page
|
|
2740
|
-
*/
|
|
2741
|
-
interface WikiSection {
|
|
2742
|
-
/**
|
|
2743
|
-
* The title of the section
|
|
2744
|
-
*/
|
|
2745
|
-
title: WikiTitle;
|
|
2746
|
-
/**
|
|
2747
|
-
* The markdown content of the section
|
|
2748
|
-
*/
|
|
2749
|
-
content: WikiContent;
|
|
2750
|
-
}
|
|
2751
2777
|
/**
|
|
2752
2778
|
* A request from a user to cancel a running agent interaction
|
|
2753
2779
|
*/
|
|
@@ -5163,6 +5189,10 @@ declare function subscribeThreadEvents(client: ApolloClient, threadId: string, f
|
|
|
5163
5189
|
* Note: if you want to get all events, use the getEvents method instead.
|
|
5164
5190
|
*/
|
|
5165
5191
|
declare function streamThreadMessageEvents(client: ApolloClient, threadId: string, options?: StreamThreadEventOptions): Observable<ThreadEvent[]>;
|
|
5192
|
+
/**
|
|
5193
|
+
* The guard to check if the thread interaction was finished.
|
|
5194
|
+
*/
|
|
5195
|
+
declare function wasInteractionFinished(events: ThreadEvent[], skipAnalysis?: boolean): boolean;
|
|
5166
5196
|
|
|
5167
5197
|
/**
|
|
5168
5198
|
* Constructor options for a PromptQL authenticator.
|
|
@@ -5426,13 +5456,21 @@ declare function getAgentOrchestratorStepUiProgrammerEvent(eventData: ThreadEven
|
|
|
5426
5456
|
*/
|
|
5427
5457
|
declare function getAgentOrchestratorStepSavedProgramRunnerEvent(eventData: ThreadEvent$1): SavedProgramRunnerUpdate | null;
|
|
5428
5458
|
/**
|
|
5429
|
-
*
|
|
5459
|
+
* Extract the status enum of the interaction outcome.
|
|
5430
5460
|
*/
|
|
5431
|
-
|
|
5432
|
-
|
|
5461
|
+
type InteractionOutcomeStatus = KeysOfUnion<InteractionOutcome> | "agent_declined";
|
|
5462
|
+
/**
|
|
5463
|
+
* The common output of the interaction finished event after evaluated from event v2 or v3.
|
|
5464
|
+
*/
|
|
5465
|
+
type InteractionFinishedEvent = {
|
|
5466
|
+
status: InteractionOutcomeStatus | "unknown";
|
|
5433
5467
|
reason?: string;
|
|
5434
5468
|
timestamp?: string;
|
|
5435
5469
|
warnings?: Warning[];
|
|
5436
|
-
}
|
|
5470
|
+
};
|
|
5471
|
+
/**
|
|
5472
|
+
* Validate and return the InteractionFinished event from the step update.
|
|
5473
|
+
*/
|
|
5474
|
+
declare function getAgentInteractionFinishedEvent(eventData: ThreadEvent$1): InteractionFinishedEvent | null;
|
|
5437
5475
|
|
|
5438
|
-
export { type AgentInteraction, type AgentLearningUpdate, type AgentLoopAction, type AgentLoopActionResult, type AgentLoopActionUpdate, type AgentLoopUpdate, type
|
|
5476
|
+
export { type AgentInteraction, type AgentLearningUpdate, type AgentLoopAction, type AgentLoopActionResult, type AgentLoopActionUpdate, type AgentLoopUpdate, type AgentState, type AgentUpdate, type AgentUpdateContent, type AllTheServerTypes, type AnalyzedCodeAction, type AnalyzedCodeAction2, type ApolloClientOptions, type ArtifactError, type ArtifactErrorV1, type ArtifactId, type ArtifactPreview, type ArtifactReference, type ArtifactReference1, type ArtifactReference2, type ArtifactState, type ArtifactType, type ArtifactType2, type ArtifactUpdate, type ArtifactUpdate1, type AssumptionFactCheck, type BuildError, type BuildErrorV1, type BuiltUi, type BuiltUi1, type CancelAgentMessageMutationVariables, type CheckedAssumption, type CheckedTopic, type CodeAction, type CodeAction2, type CodeBlock, type CodeError, type CodeErrorV1, type CodeExecutionComplete, type CodeOutputAnalysis, type CodeOutputAnalysis1, type CodeOutputAnalyzed, type ComponentResponse, type ComponentResponse1, type ComponentResponse2, type ComponentResponse3, type ComponentResponse4, type ComponentResponse5, type ConfidenceAnalysis, type ConfidenceAnalysis1, type ConfidenceAnalysisLlmUsage, type ConfidenceAnalysisOutcome, type ConfidenceAnalysisUpdate, type ContextExplorerCompleted, type ContextExplorerStarted, type ContextExplorerState, type ContextExplorerUpdate, type CopyFileEntry, type CurrentAction, type DataArtifactUpdated, type DataArtifactUpdatedV1, type Dependency, type EventOfKind, type ExternalKnowledgeExplorerAttempt, type ExternalKnowledgeExplorerAttempt1, type ExternalKnowledgeExplorerAttempt2, type ExternalKnowledgeExplorerState, type ExternalKnowledgeSummary, type ExternalKnowledgeTaskGeneratorState, type FactSource, type GeneratedCode, type GeneratedFile, type GeneratedFile2, type GeneratedProgramRunnerOutput, type GeneratedResponse, type GeneratedUiCode, type GeneratedUiCode1, type GetThreadEventOptions, type GetThreadsQueryVariables, type IPromptQLSdk, type Interaction, type InteractionDecision, type InteractionDecisionAccept, type InteractionDecisionDecline, type InteractionDecisionUpdate, type InteractionDeclineReason, type InteractionError, type InteractionFinishedEvent, type InteractionFinishedUpdate, type InteractionOutcome, type InteractionOutcome2, type InteractionOutcomeStatus, type InteractionUpdate, type InternalError, type InternalErrorV1, type InternalUpdate, type KeysOfUnion, type LearningSuggestion, type LearningSuggestionOutcome, type LearningSuggestionUpdate, type LearningSuggestionUpdateV1, type LlmResponse, type LlmUsage, type MessageProcessingStarted, type MessageProcessingState, type MessageProcessingUpdate, type NeedsSupportAnalysis, type NeedsSupportOutcome, type NeedsSupportUpdate, type OrchestratorState, type OrchestratorUpdate, type Order_By, type OutputEmitted, type OutputEmittedV1, type PipelineColumn, type PipelineColumnType, type PipelinePartitionSpec, type PipelinePartitionTransform, type PipelineProgress, type PipelineProgressV1, type PipelineRunStepDetails, type PipelineSchema, type PipelineSink, type PipelineSource, type PipelineStep, type PipelineTransform, type PlanGenerationStarted, type PlanState, type PlanStateStep, type PlanStepGenerated, type PlanningDecisionCompleted, type PlanningDecisionPlanningRequired, type PlanningDecisionStarted, type PlanningDecisionState, type PlanningDecisionUpdate, type ProgramId, type ProgramPackageName, type ProgramRunEvent, type ProgramRunResult, type ProgramRunnerAction, type ProgramRunnerAction2, type ProgramRunnerActionResult, type ProgramRunnerAttempt, type ProgramTransform, type ProgrammerState, type ProgrammerUpdate, PromptQLSdk, type PromptQLSdkOptions, type PromptQlConfigFeatureFlagModel, type PromptQlUserId, type PythonRunStepDetails, type PythonStep, type ResponseGenerationState, type ResponseGenerationUpdate, type ResponseTruncation, type RunConfigV1, type RunFinished, type RunFinishedOutcome, type RunFinishedV1, type RunProgramRequest, type RunProgramRequest2, type RunSavedProgramRequest, type RunSavedProgramRequest2, type RunStarted, type RunStartedV1, type RunStepDetails, type SavedProgramRunnerStage, type SavedProgramRunnerState, type SavedProgramRunnerUpdate, type SavedProgramRunnerUpdateV0, type SchemaContext, type SchemaContext1, type SchemaExplored, type SchemaExplorerCompleted, type SchemaExplorerStarted, type SchemaExplorerState, type SchemaExplorerUpdate, type SchemaTask, type SchemaTasksGenerationCompleted, type SchemaTasksGenerationStarted, type SchemaTasksGenerationState, type SchemaTasksGenerationUpdate, type SendMessageToThreadArguments, type SendMessageToThreadOutput, type SendThreadMessageMutationVariables, type ShelfActionEvent, type ShelfSink, type ShelfUpdate, type ShelfUpdateV1, type SkillType, type SocialFeedRating, type SocialFeedRatingLlmUsage, type SocialFeedRatingOutcome, type SocialFeedRatingUpdate, type Span, type SqlError, type SqlErrorV1, type SqlRunStepDetails, type SqlSource, type SqlStep, type StartThreadArguments, type StartThreadMutationVariables, type StartThreadOutput, type StartingOrchestrator, type Step, type StepExecutionFinished, type StepExecutionFinishedV1, type StepExecutionStarted, type StepExecutionStartedV1, type StepState, type StepUpdate, type StreamThreadEventOptions, type SummaryAction, type TasksGenerated, type Teaching, type TeachingId, type TeachingOutcome, type TeachingState, type ThreadEvent, type ThreadEvent$1 as ThreadEventData, type ThreadFragment, type ThreadParticipants, type TransactionId, type UiBuild, type UiBuild2, type UiBuildFailure, type UiBuildResult, type UiBuildRunStepDetails, type UiBuildStep, type UiMetadata, type UiProgrammerState, type UiProgrammerUpdate, type UserCancel, type UserCancelEvent, type UserInteraction, type UserMessage, type UserMessageEvent, type UserUpload, type UserUploadMetadata, type Version, type VersionedAgentUpdate, type VersionedOrUnversionedAgentUpdate, type Warning, type WikiChange, type WikiContent, type WikiDelta, type WikiExplorerCompleted, type WikiExplorerStarted, type WikiExplorerState, type WikiExplorerUpdate, type WikiGenerationOutcome, type WikiGenerationUpdate, type WikiInfoGenerated, type WikiLearningSuggestionUpdate, type WikiPageV1, type WikiSection, type WikiSelectionUpdate, type WikiTitle, cancelAgentMessage, createApolloClient, createPromptQLAuthTokenGenerator, diffThreadEvents, getAgentGeneratedResponse, getAgentInteractionDecisionAcceptInteractionEvent, getAgentInteractionDecisionDeclineInteractionEvent, getAgentInteractionFinishedEvent, getAgentMessageProcessingStartedEvent, getAgentOrchestratorContextExplorerCompletedEvent, getAgentOrchestratorContextExplorerStartedEvent, getAgentOrchestratorContextExplorerUpdateEvent, getAgentOrchestratorSchemaExplorerCodeExecutionCompleteEvent, getAgentOrchestratorSchemaExplorerCodeOutputAnalyzedEvent, getAgentOrchestratorSchemaExplorerCompletedEvent, getAgentOrchestratorSchemaExplorerGeneratedCodeEvent, getAgentOrchestratorSchemaExplorerSchemaExploredEvent, getAgentOrchestratorSchemaExplorerStartedEvent, getAgentOrchestratorSchemaExplorerUpdateEvent, getAgentOrchestratorSchemaTasksGeneratedEvent, getAgentOrchestratorSchemaTasksGenerationCompletedEvent, getAgentOrchestratorSchemaTasksGenerationStartedEvent, getAgentOrchestratorSchemaTasksGenerationUpdateEvent, getAgentOrchestratorStepProgrammerEvent, getAgentOrchestratorStepSavedProgramRunnerEvent, getAgentOrchestratorStepUiProgrammerEvent, getAgentOrchestratorStepUpdateEvent, getAgentOrchestratorUpdateEvent, getAgentOrchestratorWikiExplorerCompletedEvent, getAgentOrchestratorWikiExplorerStartedEvent, getAgentOrchestratorWikiExplorerUpdateEvent, getAgentOrchestratorWikiInfoGeneratedEvent, getAgentPlanGenerationStartedEvent, getAgentPlanStepGeneratedEvent, getAgentPlanningDecisionCompletedEvent, getAgentPlanningDecisionPlanningRequiredEvent, getAgentPlanningDecisionStartedEvent, getAgentPlanningDecisionUpdateEvent, getAgentStartingOrchestratorEvent, getThread, getThreadEvents, getUserCancelEvent, getUserMessageEvent, listThreads, sendThreadMessage, startThread, streamThreadMessageEvents, subscribeThreadEvents, wasInteractionFinished };
|