@hasura/promptql 2.0.0-alpha.40 → 2.0.0-alpha.42
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/README.md +33 -57
- package/biome.json +1 -1
- package/dist/index.d.mts +885 -71
- package/dist/index.d.ts +885 -71
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +3 -3
package/dist/index.d.mts
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { ApolloClient, Observable } from '@apollo/client';
|
|
2
|
-
import * as graphql_ws from 'graphql-ws';
|
|
3
2
|
import { Client } from 'graphql-ws';
|
|
4
3
|
|
|
5
4
|
/**
|
|
@@ -20,6 +19,27 @@ type ThreadEvent$1 = {
|
|
|
20
19
|
message: UserMessage;
|
|
21
20
|
provenance?: UserEventProvenance | null;
|
|
22
21
|
};
|
|
22
|
+
} | {
|
|
23
|
+
AutomatedSystemTrigger: {
|
|
24
|
+
automated_system_trigger_event_id: AutomatedSystemTriggerEventId;
|
|
25
|
+
/**
|
|
26
|
+
* The user this automated session runs in the context of.
|
|
27
|
+
*/
|
|
28
|
+
user_id: string;
|
|
29
|
+
/**
|
|
30
|
+
* The full prompt text the agent should respond to, composed by the
|
|
31
|
+
* seeding caller (the console).
|
|
32
|
+
*/
|
|
33
|
+
prompt: string;
|
|
34
|
+
/**
|
|
35
|
+
* When the trigger was created.
|
|
36
|
+
*/
|
|
37
|
+
timestamp: string;
|
|
38
|
+
/**
|
|
39
|
+
* The user's timezone, carried through to the reconstructed prompt.
|
|
40
|
+
*/
|
|
41
|
+
timezone: string;
|
|
42
|
+
};
|
|
23
43
|
} | {
|
|
24
44
|
ScheduledAgentTriggerEvent: {
|
|
25
45
|
scheduled_agent_trigger_event_id: ScheduledAgentTriggerEventId;
|
|
@@ -96,18 +116,53 @@ type ThreadEvent$1 = {
|
|
|
96
116
|
update: ProgramExecuteUpdate;
|
|
97
117
|
server_metadata?: ServerMetadata | null;
|
|
98
118
|
};
|
|
119
|
+
} | {
|
|
120
|
+
SystemError: {
|
|
121
|
+
timestamp: string;
|
|
122
|
+
/**
|
|
123
|
+
* Machine-readable category, e.g. `event_deserialization_failed`.
|
|
124
|
+
*/
|
|
125
|
+
error_type: string;
|
|
126
|
+
/**
|
|
127
|
+
* User-facing message rendered in the chat UI.
|
|
128
|
+
*/
|
|
129
|
+
message: string;
|
|
130
|
+
};
|
|
131
|
+
} | {
|
|
132
|
+
ThreadForked: {
|
|
133
|
+
source_thread_id: ThreadId;
|
|
134
|
+
artifact_id_mapping: ForkedArtifactMapping[];
|
|
135
|
+
};
|
|
99
136
|
};
|
|
100
137
|
type PromptQlUserId = string;
|
|
101
138
|
type ArtifactId = string;
|
|
102
139
|
type TzWrapper = string;
|
|
140
|
+
/**
|
|
141
|
+
* Which runtime an interaction runs in / a message requests.
|
|
142
|
+
*/
|
|
143
|
+
type ExecutionMode = "pyodide" | "vm";
|
|
103
144
|
type UserEventProvenance = {
|
|
104
145
|
user: {};
|
|
105
146
|
} | {
|
|
106
147
|
promptql: {
|
|
107
148
|
thread_id: ThreadId;
|
|
149
|
+
/**
|
|
150
|
+
* The originating message in the source thread that triggered the
|
|
151
|
+
* cross-post (so a reader can deep-link to *what* spun off this
|
|
152
|
+
* thread, not just the source thread). Optional and additive:
|
|
153
|
+
* historical cross-post events predate this field and must keep
|
|
154
|
+
* deserializing, falling back to a whole-thread link.
|
|
155
|
+
*/
|
|
156
|
+
message_id?: string | null;
|
|
108
157
|
};
|
|
109
158
|
};
|
|
110
159
|
type ThreadId = string;
|
|
160
|
+
/**
|
|
161
|
+
* Identifies a single [`ThreadEvent::AutomatedSystemTrigger`]. A distinct type
|
|
162
|
+
* from [`UserMessageId`] because a system trigger is not a user message (mirrors
|
|
163
|
+
* [`ScheduledAgentTriggerEventId`]).
|
|
164
|
+
*/
|
|
165
|
+
type AutomatedSystemTriggerEventId = string;
|
|
111
166
|
type ScheduledAgentTriggerEventId = string;
|
|
112
167
|
/**
|
|
113
168
|
* A registered scheduled agent trigger ID
|
|
@@ -118,6 +173,18 @@ type VersionedOrUnversionedAgentUpdate = VersionedAgentUpdate | AgentUpdate;
|
|
|
118
173
|
type AgentUpdateContent = {
|
|
119
174
|
interaction_started: {
|
|
120
175
|
triggered_by?: AgentTrigger | null;
|
|
176
|
+
/**
|
|
177
|
+
* Which runtime the interaction actually executed in; absent
|
|
178
|
+
* (all historical events) = pyodide.
|
|
179
|
+
*/
|
|
180
|
+
execution_mode?: ExecutionMode | null;
|
|
181
|
+
/**
|
|
182
|
+
* The `llm_config` the thread selected for this interaction's main
|
|
183
|
+
* loop (the powerful tier), if any. Records the intent so the model
|
|
184
|
+
* that actually ran (usage.model on LlmResponse) can be matched
|
|
185
|
+
* against it. Absent = no per-thread selection (project/tier default).
|
|
186
|
+
*/
|
|
187
|
+
llm_config_id?: LlmConfigId | null;
|
|
121
188
|
};
|
|
122
189
|
} | {
|
|
123
190
|
interaction_update: InteractionUpdate;
|
|
@@ -141,6 +208,12 @@ type AgentTrigger = {
|
|
|
141
208
|
scheduled_agent_trigger_event_id: ScheduledAgentTriggerEventId;
|
|
142
209
|
};
|
|
143
210
|
};
|
|
211
|
+
/**
|
|
212
|
+
* A selectable `llm_config` row (the `public.llm_config` table). Recorded on
|
|
213
|
+
* `InteractionStarted` to capture which config the thread selected, so the
|
|
214
|
+
* model that actually ran can be matched against the intent.
|
|
215
|
+
*/
|
|
216
|
+
type LlmConfigId = string;
|
|
144
217
|
type InteractionUpdate = {
|
|
145
218
|
interaction_decision: InteractionDecisionUpdate;
|
|
146
219
|
} | {
|
|
@@ -181,16 +254,34 @@ type WikiSelectionUpdate = {
|
|
|
181
254
|
wiki_pages_selected: {
|
|
182
255
|
wiki_page_titles?: string[] | null;
|
|
183
256
|
target_pages?: TargetWikiPage[] | null;
|
|
184
|
-
/**
|
|
185
|
-
* LLM usage during wiki selection
|
|
186
|
-
*/
|
|
187
|
-
llm_usage?: LlmUsage[];
|
|
188
257
|
/**
|
|
189
258
|
* Which user message this wiki selection is for. `None` for legacy
|
|
190
259
|
* threads or for the current trigger's selection. `Some(id)` for
|
|
191
260
|
* retroactive wiki selection of a past user message.
|
|
192
261
|
*/
|
|
193
262
|
user_message_id?: string | null;
|
|
263
|
+
/**
|
|
264
|
+
* Wiki search hits computed alongside selection (Deterministic mode
|
|
265
|
+
* only). `None` for LLM-mode selections, for events written before
|
|
266
|
+
* this field existed, and when no wiki was configured.
|
|
267
|
+
* `Some(vec![])` means search ran and returned no hits.
|
|
268
|
+
*/
|
|
269
|
+
search_hits?: SearchHit[] | null;
|
|
270
|
+
/**
|
|
271
|
+
* Provenance for each entry of `target_pages`, in the same order and
|
|
272
|
+
* with the same length. `Some(..)` distinguishes a page the user
|
|
273
|
+
* explicitly @-mentioned (`Mentioned`) from a heuristic/LLM
|
|
274
|
+
* selection. `None` for events written before this field existed and
|
|
275
|
+
* for the no-wiki path (where `target_pages` is empty anyway).
|
|
276
|
+
*/
|
|
277
|
+
page_sources?: WikiPageSource[] | null;
|
|
278
|
+
/**
|
|
279
|
+
* Audit cursor at the moment the wiki was read for this selection.
|
|
280
|
+
* Pass to `wiki_loader::WikiLoader::load_at` to reconstruct exactly
|
|
281
|
+
* which set of pages the LLM picked from. `None` for legacy events
|
|
282
|
+
* or when the project had no audit history at fetch time.
|
|
283
|
+
*/
|
|
284
|
+
audit_cursor?: string | null;
|
|
194
285
|
};
|
|
195
286
|
} | {
|
|
196
287
|
completed: {};
|
|
@@ -226,6 +317,12 @@ type WikiTitle = string;
|
|
|
226
317
|
* The name of a federated wiki
|
|
227
318
|
*/
|
|
228
319
|
type FederatedWikiName = string;
|
|
320
|
+
/**
|
|
321
|
+
* Why a page ended up in `target_pages`. Recorded per page (parallel to
|
|
322
|
+
* `target_pages`) so auditing can tell an explicitly @-mentioned page apart
|
|
323
|
+
* from one the selection heuristics surfaced.
|
|
324
|
+
*/
|
|
325
|
+
type WikiPageSource = "mentioned" | "heuristic" | "llm";
|
|
229
326
|
type AgentLoopUpdate = {
|
|
230
327
|
started: {};
|
|
231
328
|
} | {
|
|
@@ -349,6 +446,11 @@ type AgentLoopActionLegacy = ({
|
|
|
349
446
|
* region of a large file.
|
|
350
447
|
*/
|
|
351
448
|
offset?: number | null;
|
|
449
|
+
/**
|
|
450
|
+
* `None`/thread = the thread's event-sourced filesystem;
|
|
451
|
+
* vm = the thread's sandbox VM.
|
|
452
|
+
*/
|
|
453
|
+
target?: ExecutionTarget | null;
|
|
352
454
|
};
|
|
353
455
|
} | {
|
|
354
456
|
list_files: {
|
|
@@ -369,12 +471,22 @@ type AgentLoopActionLegacy = ({
|
|
|
369
471
|
write_file: {
|
|
370
472
|
path: string;
|
|
371
473
|
content: string;
|
|
474
|
+
/**
|
|
475
|
+
* `None`/thread = the thread's event-sourced filesystem;
|
|
476
|
+
* vm = the thread's sandbox VM.
|
|
477
|
+
*/
|
|
478
|
+
target?: ExecutionTarget | null;
|
|
372
479
|
};
|
|
373
480
|
} | {
|
|
374
481
|
edit_file: {
|
|
375
482
|
path: string;
|
|
376
483
|
old_text: string;
|
|
377
484
|
new_text: string;
|
|
485
|
+
/**
|
|
486
|
+
* `None`/thread = the thread's event-sourced filesystem;
|
|
487
|
+
* vm = the thread's sandbox VM.
|
|
488
|
+
*/
|
|
489
|
+
target?: ExecutionTarget | null;
|
|
378
490
|
};
|
|
379
491
|
} | {
|
|
380
492
|
run_program: {
|
|
@@ -386,6 +498,10 @@ type AgentLoopActionLegacy = ({
|
|
|
386
498
|
*/
|
|
387
499
|
arguments?: string[] | null;
|
|
388
500
|
};
|
|
501
|
+
} | {
|
|
502
|
+
run_shell: {
|
|
503
|
+
command: string;
|
|
504
|
+
};
|
|
389
505
|
} | {
|
|
390
506
|
responding_to_user: {
|
|
391
507
|
message: string;
|
|
@@ -400,6 +516,11 @@ type AgentLoopActionLegacy = ({
|
|
|
400
516
|
federated_wiki_name?: FederatedWikiName | null;
|
|
401
517
|
namespace?: string | null;
|
|
402
518
|
};
|
|
519
|
+
} | {
|
|
520
|
+
read_wiki_page_section: {
|
|
521
|
+
target_page: TargetWikiPage;
|
|
522
|
+
section_title: string;
|
|
523
|
+
};
|
|
403
524
|
} | {
|
|
404
525
|
search_wiki_pages: {
|
|
405
526
|
search_query: string;
|
|
@@ -444,6 +565,10 @@ type AgentLoopActionLegacy = ({
|
|
|
444
565
|
* Follows the database constraint: ^[a-z][a-z0-9_]*$
|
|
445
566
|
*/
|
|
446
567
|
type ProgramPackageName = string;
|
|
568
|
+
/**
|
|
569
|
+
* Which filesystem a file action addressed.
|
|
570
|
+
*/
|
|
571
|
+
type ExecutionTarget = "thread" | "vm";
|
|
447
572
|
type ScheduledAgentTriggerType = {
|
|
448
573
|
one_time: {
|
|
449
574
|
scheduled_for: string;
|
|
@@ -514,6 +639,11 @@ type AgentLoopAction = {
|
|
|
514
639
|
* region of a large file.
|
|
515
640
|
*/
|
|
516
641
|
offset?: number | null;
|
|
642
|
+
/**
|
|
643
|
+
* `None`/thread = the thread's event-sourced filesystem;
|
|
644
|
+
* vm = the thread's sandbox VM.
|
|
645
|
+
*/
|
|
646
|
+
target?: ExecutionTarget | null;
|
|
517
647
|
};
|
|
518
648
|
} | {
|
|
519
649
|
list_files: {
|
|
@@ -534,12 +664,22 @@ type AgentLoopAction = {
|
|
|
534
664
|
write_file: {
|
|
535
665
|
path: string;
|
|
536
666
|
content: string;
|
|
667
|
+
/**
|
|
668
|
+
* `None`/thread = the thread's event-sourced filesystem;
|
|
669
|
+
* vm = the thread's sandbox VM.
|
|
670
|
+
*/
|
|
671
|
+
target?: ExecutionTarget | null;
|
|
537
672
|
};
|
|
538
673
|
} | {
|
|
539
674
|
edit_file: {
|
|
540
675
|
path: string;
|
|
541
676
|
old_text: string;
|
|
542
677
|
new_text: string;
|
|
678
|
+
/**
|
|
679
|
+
* `None`/thread = the thread's event-sourced filesystem;
|
|
680
|
+
* vm = the thread's sandbox VM.
|
|
681
|
+
*/
|
|
682
|
+
target?: ExecutionTarget | null;
|
|
543
683
|
};
|
|
544
684
|
} | {
|
|
545
685
|
run_program: {
|
|
@@ -551,6 +691,10 @@ type AgentLoopAction = {
|
|
|
551
691
|
*/
|
|
552
692
|
arguments?: string[] | null;
|
|
553
693
|
};
|
|
694
|
+
} | {
|
|
695
|
+
run_shell: {
|
|
696
|
+
command: string;
|
|
697
|
+
};
|
|
554
698
|
} | {
|
|
555
699
|
responding_to_user: {
|
|
556
700
|
message: string;
|
|
@@ -565,6 +709,11 @@ type AgentLoopAction = {
|
|
|
565
709
|
federated_wiki_name?: FederatedWikiName | null;
|
|
566
710
|
namespace?: string | null;
|
|
567
711
|
};
|
|
712
|
+
} | {
|
|
713
|
+
read_wiki_page_section: {
|
|
714
|
+
target_page: TargetWikiPage;
|
|
715
|
+
section_title: string;
|
|
716
|
+
};
|
|
568
717
|
} | {
|
|
569
718
|
search_wiki_pages: {
|
|
570
719
|
search_query: string;
|
|
@@ -617,13 +766,12 @@ type AgentLoopAction = {
|
|
|
617
766
|
*/
|
|
618
767
|
type AgentLoopActionUpdate = AgentLoopActionUpdateVersioned | AgentLoopActionUpdateUnversioned;
|
|
619
768
|
/**
|
|
620
|
-
* Versioned shape of [`AgentLoopActionUpdate`].
|
|
621
|
-
* deserializers and consumers but not yet produced by any emitter.
|
|
769
|
+
* Versioned shape of [`AgentLoopActionUpdate`].
|
|
622
770
|
*/
|
|
623
771
|
type AgentLoopActionUpdateVersioned = {
|
|
624
772
|
program_run_event: ProgramRunEvent;
|
|
625
773
|
};
|
|
626
|
-
type ProgramRunEvent = RunStarted | StepExecutionStarted | DataArtifactUpdated | OutputEmitted | CodeError | SqlError | SqlExecuteStarted | SqlExecuteCompleted | BuildError | ArtifactError | InternalError | PipelineProgress | ShelfTransactionOpened | ShelfTransactionSuspended | StepExecutionFinished | RunFinished | LlmUsageEvent;
|
|
774
|
+
type ProgramRunEvent = RunStarted | StepExecutionStarted | DataArtifactUpdated | OutputEmitted | CodeError | SqlError | SqlExecuteStarted | SqlExecuteCompleted | BuildError | ArtifactError | InternalError | PipelineProgress | ShelfTransactionOpened | ShelfTransactionSuspended | StepExecutionFinished | RunFinished | LlmUsageEvent | HttpExecuteStarted | HttpExecuteCompleted | HttpApprovalDecision | ScasExecuteStarted | ScasExecuteCompleted;
|
|
627
775
|
type RunStarted = {
|
|
628
776
|
type: "RunStarted";
|
|
629
777
|
} & RunStartedV1;
|
|
@@ -656,6 +804,7 @@ type SqlQueryId = string;
|
|
|
656
804
|
* A SQL query string.
|
|
657
805
|
*/
|
|
658
806
|
type Sql = string;
|
|
807
|
+
type BuildFqdn = string;
|
|
659
808
|
type SqlExecuteCompleted = {
|
|
660
809
|
type: "SqlExecuteCompleted";
|
|
661
810
|
} & SqlExecuteCompletedV1;
|
|
@@ -714,6 +863,8 @@ type PipelineSourceState = {
|
|
|
714
863
|
} | {
|
|
715
864
|
state: unknown;
|
|
716
865
|
type: "python-state";
|
|
866
|
+
} | {
|
|
867
|
+
type: "python-exhausted";
|
|
717
868
|
};
|
|
718
869
|
/**
|
|
719
870
|
* Emitted when the pipeline successfully opens a new shelf transaction.
|
|
@@ -747,6 +898,28 @@ type RunFinishedOutcome = {
|
|
|
747
898
|
type LlmUsageEvent = {
|
|
748
899
|
type: "LlmUsage";
|
|
749
900
|
} & LlmUsageEventV1;
|
|
901
|
+
type HttpExecuteStarted = {
|
|
902
|
+
type: "HttpExecuteStarted";
|
|
903
|
+
} & HttpExecuteStartedV1;
|
|
904
|
+
type HttpExecuteCompleted = {
|
|
905
|
+
type: "HttpExecuteCompleted";
|
|
906
|
+
} & HttpExecuteCompletedV1;
|
|
907
|
+
type HttpApprovalDecision = {
|
|
908
|
+
type: "HttpApprovalDecision";
|
|
909
|
+
} & HttpApprovalDecisionV1;
|
|
910
|
+
/**
|
|
911
|
+
* Outcome of an HTTP action approval. Stored on `HttpApprovalDecision`
|
|
912
|
+
* audit events and surfaced as the `decision` column of
|
|
913
|
+
* `promptql.audit.thread_http_approval_audit`. Serializes as
|
|
914
|
+
* `"approved"` / `"rejected"` / `"timeout"`.
|
|
915
|
+
*/
|
|
916
|
+
type HttpApprovalOutcome = "approved" | "rejected" | "timeout";
|
|
917
|
+
type ScasExecuteStarted = {
|
|
918
|
+
type: "ScasExecuteStarted";
|
|
919
|
+
} & ScasExecuteStartedV1;
|
|
920
|
+
type ScasExecuteCompleted = {
|
|
921
|
+
type: "ScasExecuteCompleted";
|
|
922
|
+
} & ScasExecuteCompletedV1;
|
|
750
923
|
/**
|
|
751
924
|
* Unversioned shape of [`AgentLoopActionUpdate`]. This is what current
|
|
752
925
|
* emitters produce and what persisted events on disk use.
|
|
@@ -783,6 +956,45 @@ type AgentLoopActionUpdateUnversioned = {
|
|
|
783
956
|
llm_usage: {
|
|
784
957
|
usage: LlmUsage;
|
|
785
958
|
};
|
|
959
|
+
} | {
|
|
960
|
+
http_execute_start: {
|
|
961
|
+
request_id: string;
|
|
962
|
+
method: string;
|
|
963
|
+
url: string;
|
|
964
|
+
integration_name?: string | null;
|
|
965
|
+
request_body?: string | null;
|
|
966
|
+
request_bytes?: number | null;
|
|
967
|
+
};
|
|
968
|
+
} | {
|
|
969
|
+
http_execute_complete: {
|
|
970
|
+
request_id: string;
|
|
971
|
+
status_code?: number | null;
|
|
972
|
+
duration_ms: number;
|
|
973
|
+
outcome_type: string;
|
|
974
|
+
error_message?: string | null;
|
|
975
|
+
response_bytes?: number | null;
|
|
976
|
+
};
|
|
977
|
+
} | {
|
|
978
|
+
http_approval_decision: {
|
|
979
|
+
request_id: string;
|
|
980
|
+
decision: HttpApprovalOutcome;
|
|
981
|
+
time_to_decision_ms: number;
|
|
982
|
+
integration_name?: string | null;
|
|
983
|
+
};
|
|
984
|
+
} | {
|
|
985
|
+
scas_execute_start: {
|
|
986
|
+
job_id: string;
|
|
987
|
+
agent_id?: string | null;
|
|
988
|
+
prompt_bytes: number;
|
|
989
|
+
};
|
|
990
|
+
} | {
|
|
991
|
+
scas_execute_complete: {
|
|
992
|
+
job_id: string;
|
|
993
|
+
duration_ms: number;
|
|
994
|
+
response_bytes: number;
|
|
995
|
+
outcome_type: string;
|
|
996
|
+
error_message?: string | null;
|
|
997
|
+
};
|
|
786
998
|
};
|
|
787
999
|
type RuntimeArtifactType = "text" | "table" | "visualization" | "html" | "file";
|
|
788
1000
|
type ArtifactDataPreview = {
|
|
@@ -820,6 +1032,24 @@ type AgentLoopActionResult = {
|
|
|
820
1032
|
accessed_artifacts: string[];
|
|
821
1033
|
modified_artifacts: ArtifactUpdate[];
|
|
822
1034
|
agent_loop_action_result_type: "code_executed";
|
|
1035
|
+
} | {
|
|
1036
|
+
/**
|
|
1037
|
+
* Stdout of the command.
|
|
1038
|
+
*/
|
|
1039
|
+
output: string;
|
|
1040
|
+
/**
|
|
1041
|
+
* Stderr, kept separate from stdout.
|
|
1042
|
+
*/
|
|
1043
|
+
stderr: string;
|
|
1044
|
+
/**
|
|
1045
|
+
* Exit code of the process; `None` if it never exited normally.
|
|
1046
|
+
*/
|
|
1047
|
+
exit_code?: number | null;
|
|
1048
|
+
/**
|
|
1049
|
+
* Infrastructure-level failure (not a non-zero exit code).
|
|
1050
|
+
*/
|
|
1051
|
+
error?: string | null;
|
|
1052
|
+
agent_loop_action_result_type: "shell_executed";
|
|
823
1053
|
} | {
|
|
824
1054
|
message: string;
|
|
825
1055
|
agent_loop_action_result_type: "message_sent";
|
|
@@ -850,17 +1080,34 @@ type AgentLoopActionResult = {
|
|
|
850
1080
|
agent_loop_action_result_type: "operation_failed";
|
|
851
1081
|
} | {
|
|
852
1082
|
page_title: string;
|
|
853
|
-
page: WikiPageV1;
|
|
854
1083
|
federated_wiki_name?: FederatedWikiName | null;
|
|
1084
|
+
/**
|
|
1085
|
+
* Wiki audit cursor at read time — see `WikiPagesSelected.audit_cursor`.
|
|
1086
|
+
*/
|
|
1087
|
+
audit_cursor?: string | null;
|
|
855
1088
|
agent_loop_action_result_type: "wiki_page_read";
|
|
856
1089
|
} | {
|
|
857
1090
|
page_title: string;
|
|
858
|
-
|
|
1091
|
+
/**
|
|
1092
|
+
* Wiki audit cursor at read time — see `WikiPagesSelected.audit_cursor`.
|
|
1093
|
+
*/
|
|
1094
|
+
audit_cursor?: string | null;
|
|
859
1095
|
agent_loop_action_result_type: "prompt_ql_wiki_page_read";
|
|
860
1096
|
} | {
|
|
861
1097
|
page_title: string;
|
|
862
|
-
|
|
1098
|
+
/**
|
|
1099
|
+
* Wiki audit cursor at read time — see `WikiPagesSelected.audit_cursor`.
|
|
1100
|
+
*/
|
|
1101
|
+
audit_cursor?: string | null;
|
|
863
1102
|
agent_loop_action_result_type: "guide_wiki_page_read";
|
|
1103
|
+
} | {
|
|
1104
|
+
target_page: TargetWikiPage;
|
|
1105
|
+
section_title: string;
|
|
1106
|
+
/**
|
|
1107
|
+
* Wiki audit cursor at read time — see `WikiPagesSelected.audit_cursor`.
|
|
1108
|
+
*/
|
|
1109
|
+
audit_cursor?: string | null;
|
|
1110
|
+
agent_loop_action_result_type: "wiki_page_section_read";
|
|
864
1111
|
} | {
|
|
865
1112
|
/**
|
|
866
1113
|
* Option cause of old events. New events will always have this set.
|
|
@@ -878,6 +1125,10 @@ type AgentLoopActionResult = {
|
|
|
878
1125
|
* Backward compat: LLM summary from old LLM-based format.
|
|
879
1126
|
*/
|
|
880
1127
|
summary?: string | null;
|
|
1128
|
+
/**
|
|
1129
|
+
* Wiki audit cursor at search time — see `WikiPagesSelected.audit_cursor`.
|
|
1130
|
+
*/
|
|
1131
|
+
audit_cursor?: string | null;
|
|
881
1132
|
agent_loop_action_result_type: "wiki_pages_searched";
|
|
882
1133
|
} | {
|
|
883
1134
|
tables: string[];
|
|
@@ -909,10 +1160,6 @@ type AgentLoopActionResult = {
|
|
|
909
1160
|
failed_obsolete_ids?: LearningBlockId[];
|
|
910
1161
|
agent_loop_action_result_type: "learning_block_completed";
|
|
911
1162
|
};
|
|
912
|
-
/**
|
|
913
|
-
* The markdown content of block or section in a wiki page
|
|
914
|
-
*/
|
|
915
|
-
type WikiContent = string;
|
|
916
1163
|
type WikiLearningSuggestionUpdate = {
|
|
917
1164
|
started: {};
|
|
918
1165
|
} | {
|
|
@@ -1943,7 +2190,16 @@ type WikiChange = {
|
|
|
1943
2190
|
DeletedPage: {
|
|
1944
2191
|
page_title: WikiTitle;
|
|
1945
2192
|
};
|
|
2193
|
+
} | {
|
|
2194
|
+
ModifiedGuidePage: {
|
|
2195
|
+
guide_title: WikiTitle;
|
|
2196
|
+
modified_details: WikiContent;
|
|
2197
|
+
};
|
|
1946
2198
|
};
|
|
2199
|
+
/**
|
|
2200
|
+
* The markdown content of block or section in a wiki page
|
|
2201
|
+
*/
|
|
2202
|
+
type WikiContent = string;
|
|
1947
2203
|
type LearningSuggestionUpdate = LearningSuggestionUpdateV1;
|
|
1948
2204
|
type LearningSuggestionUpdateV1 = {
|
|
1949
2205
|
StartedGeneration: {
|
|
@@ -2042,7 +2298,7 @@ type AgentLearningUpdate = {
|
|
|
2042
2298
|
ApplyingWikiChanges: {};
|
|
2043
2299
|
} | {
|
|
2044
2300
|
WikiChangesApplied: {
|
|
2045
|
-
build_id
|
|
2301
|
+
build_id?: string | null;
|
|
2046
2302
|
audit_ids?: WikiAuditId[] | null;
|
|
2047
2303
|
};
|
|
2048
2304
|
} | {
|
|
@@ -2131,6 +2387,10 @@ type ExecuteProgramRequestProvenance = {
|
|
|
2131
2387
|
Artifact: {
|
|
2132
2388
|
artifact_reference: ArtifactReference1;
|
|
2133
2389
|
};
|
|
2390
|
+
} | {
|
|
2391
|
+
Thread: {
|
|
2392
|
+
thread_id: ThreadId;
|
|
2393
|
+
};
|
|
2134
2394
|
};
|
|
2135
2395
|
/**
|
|
2136
2396
|
* Versioned update emitted by an `ExecuteProgramResponse` thread event.
|
|
@@ -2200,6 +2460,12 @@ interface UserMessage {
|
|
|
2200
2460
|
* Controls whether the agent should respond to this message.
|
|
2201
2461
|
*/
|
|
2202
2462
|
agent_response_config?: "agent_decides" | "force_respond" | "force_skip";
|
|
2463
|
+
/**
|
|
2464
|
+
* Per-message user request for the execution runtime (console toggle);
|
|
2465
|
+
* absent = no preference. The server resolves the actual mode — this
|
|
2466
|
+
* field is a request, not the record.
|
|
2467
|
+
*/
|
|
2468
|
+
execution_mode?: ExecutionMode | null;
|
|
2203
2469
|
}
|
|
2204
2470
|
/**
|
|
2205
2471
|
* A file or data artifact uploaded by a user as part of their message
|
|
@@ -2225,6 +2491,23 @@ interface VersionedAgentUpdate {
|
|
|
2225
2491
|
timestamp: string;
|
|
2226
2492
|
content: AgentUpdateContent;
|
|
2227
2493
|
}
|
|
2494
|
+
/**
|
|
2495
|
+
* A wiki search hit recorded alongside a `WikiPagesSelected` event.
|
|
2496
|
+
*
|
|
2497
|
+
* Produced by deterministic wiki selection (BM25 ranking via Tantivy).
|
|
2498
|
+
* Snippet is `None` when Tantivy could not extract a highlighted excerpt for
|
|
2499
|
+
* the page.
|
|
2500
|
+
*/
|
|
2501
|
+
interface SearchHit {
|
|
2502
|
+
target: TargetWikiPage;
|
|
2503
|
+
/**
|
|
2504
|
+
* Raw BM25 score Tantivy assigned to this hit. Persisted so we can
|
|
2505
|
+
* observe the score distribution in production and tune a future
|
|
2506
|
+
* absolute floor.
|
|
2507
|
+
*/
|
|
2508
|
+
score: number;
|
|
2509
|
+
snippet?: string | null;
|
|
2510
|
+
}
|
|
2228
2511
|
/**
|
|
2229
2512
|
* Language model usage statistics
|
|
2230
2513
|
*
|
|
@@ -2354,6 +2637,10 @@ interface SqlExecuteStartedV1 {
|
|
|
2354
2637
|
sql_query_id: SqlQueryId;
|
|
2355
2638
|
sql: Sql;
|
|
2356
2639
|
is_streaming: boolean;
|
|
2640
|
+
/**
|
|
2641
|
+
* `build_fqdn` resolved at dispatch time, when available.
|
|
2642
|
+
*/
|
|
2643
|
+
build_fqdn?: BuildFqdn | null;
|
|
2357
2644
|
version: "V1";
|
|
2358
2645
|
}
|
|
2359
2646
|
interface SqlExecuteCompletedV1 {
|
|
@@ -2416,54 +2703,72 @@ interface LlmUsageEventV1 {
|
|
|
2416
2703
|
usage: LlmUsage;
|
|
2417
2704
|
version: "V1";
|
|
2418
2705
|
}
|
|
2419
|
-
interface
|
|
2420
|
-
|
|
2421
|
-
|
|
2422
|
-
|
|
2423
|
-
|
|
2424
|
-
|
|
2706
|
+
interface HttpExecuteStartedV1 {
|
|
2707
|
+
request_id: string;
|
|
2708
|
+
method: string;
|
|
2709
|
+
url: string;
|
|
2710
|
+
integration_name?: string | null;
|
|
2711
|
+
request_body?: string | null;
|
|
2712
|
+
request_bytes?: number | null;
|
|
2713
|
+
version: "V1";
|
|
2425
2714
|
}
|
|
2426
|
-
|
|
2427
|
-
|
|
2428
|
-
|
|
2429
|
-
|
|
2430
|
-
|
|
2431
|
-
|
|
2432
|
-
|
|
2433
|
-
title: WikiTitle;
|
|
2715
|
+
interface HttpExecuteCompletedV1 {
|
|
2716
|
+
request_id: string;
|
|
2717
|
+
status_code?: number | null;
|
|
2718
|
+
duration_ms: number;
|
|
2719
|
+
outcome_type: string;
|
|
2720
|
+
error_message?: string | null;
|
|
2721
|
+
response_bytes?: number | null;
|
|
2434
2722
|
/**
|
|
2435
|
-
*
|
|
2723
|
+
* Integration id (e.g. `__gemini-api`), or `None` for plain HTTP.
|
|
2436
2724
|
*/
|
|
2437
|
-
|
|
2725
|
+
provider_id?: string | null;
|
|
2438
2726
|
/**
|
|
2439
|
-
*
|
|
2727
|
+
* The request URL, unmasked (masking happens in the DP->CP push).
|
|
2440
2728
|
*/
|
|
2441
|
-
|
|
2729
|
+
url?: string | null;
|
|
2442
2730
|
/**
|
|
2443
|
-
*
|
|
2731
|
+
* HTTP method (e.g. `GET` / `POST`).
|
|
2444
2732
|
*/
|
|
2445
|
-
|
|
2733
|
+
method?: string | null;
|
|
2446
2734
|
/**
|
|
2447
|
-
*
|
|
2735
|
+
* Request body size in bytes (denormalised from the start event).
|
|
2448
2736
|
*/
|
|
2449
|
-
|
|
2737
|
+
request_bytes?: number | null;
|
|
2450
2738
|
/**
|
|
2451
|
-
*
|
|
2739
|
+
* Provider-shaped usage as JSON-encoded text (parsed to a jsonb object by
|
|
2740
|
+
* the DP->CP push before insertion into lux).
|
|
2452
2741
|
*/
|
|
2453
|
-
|
|
2742
|
+
usage_data?: string | null;
|
|
2743
|
+
version: "V1";
|
|
2454
2744
|
}
|
|
2455
|
-
|
|
2456
|
-
|
|
2457
|
-
|
|
2458
|
-
|
|
2459
|
-
|
|
2460
|
-
|
|
2461
|
-
|
|
2462
|
-
|
|
2463
|
-
|
|
2464
|
-
|
|
2465
|
-
|
|
2466
|
-
|
|
2745
|
+
interface HttpApprovalDecisionV1 {
|
|
2746
|
+
request_id: string;
|
|
2747
|
+
decision: HttpApprovalOutcome;
|
|
2748
|
+
time_to_decision_ms: number;
|
|
2749
|
+
integration_name?: string | null;
|
|
2750
|
+
version: "V1";
|
|
2751
|
+
}
|
|
2752
|
+
interface ScasExecuteStartedV1 {
|
|
2753
|
+
job_id: string;
|
|
2754
|
+
agent_id?: string | null;
|
|
2755
|
+
prompt_bytes: number;
|
|
2756
|
+
version: "V1";
|
|
2757
|
+
}
|
|
2758
|
+
interface ScasExecuteCompletedV1 {
|
|
2759
|
+
job_id: string;
|
|
2760
|
+
duration_ms: number;
|
|
2761
|
+
response_bytes: number;
|
|
2762
|
+
outcome_type: string;
|
|
2763
|
+
error_message?: string | null;
|
|
2764
|
+
version: "V1";
|
|
2765
|
+
}
|
|
2766
|
+
interface ArtifactUpdate {
|
|
2767
|
+
identifier: string;
|
|
2768
|
+
title: string;
|
|
2769
|
+
artifact_type: RuntimeArtifactType;
|
|
2770
|
+
data?: ArtifactDataPreview | null;
|
|
2771
|
+
artifact_reference: ArtifactReference1;
|
|
2467
2772
|
}
|
|
2468
2773
|
/**
|
|
2469
2774
|
* Per-page search result stored in the event log.
|
|
@@ -2471,11 +2776,16 @@ interface WikiSection {
|
|
|
2471
2776
|
interface WikiPageSearchResult {
|
|
2472
2777
|
page: WikiPagePreview;
|
|
2473
2778
|
score: string;
|
|
2779
|
+
/**
|
|
2780
|
+
* Highlighted excerpt of the matched page body (Tantivy snippet HTML).
|
|
2781
|
+
* Defaulted so historical events serialized before this field existed
|
|
2782
|
+
* still deserialize.
|
|
2783
|
+
*/
|
|
2784
|
+
snippet?: string | null;
|
|
2474
2785
|
}
|
|
2475
2786
|
interface WikiPagePreview {
|
|
2476
2787
|
page_title: WikiTitle;
|
|
2477
2788
|
federated_wiki_name?: FederatedWikiName | null;
|
|
2478
|
-
definition?: WikiContent | null;
|
|
2479
2789
|
aliases: WikiTitle[];
|
|
2480
2790
|
}
|
|
2481
2791
|
interface LlmResponse {
|
|
@@ -3043,6 +3353,48 @@ interface WikiDelta {
|
|
|
3043
3353
|
changes: WikiChange[];
|
|
3044
3354
|
nudge_text: string;
|
|
3045
3355
|
}
|
|
3356
|
+
/**
|
|
3357
|
+
* Definition of a wiki page
|
|
3358
|
+
*/
|
|
3359
|
+
interface WikiPageV1 {
|
|
3360
|
+
/**
|
|
3361
|
+
* The title of the wiki page
|
|
3362
|
+
*/
|
|
3363
|
+
title: WikiTitle;
|
|
3364
|
+
/**
|
|
3365
|
+
* The alias titles of the wiki page
|
|
3366
|
+
*/
|
|
3367
|
+
aliases?: WikiTitle[];
|
|
3368
|
+
/**
|
|
3369
|
+
* Whether this is a stub page
|
|
3370
|
+
*/
|
|
3371
|
+
stub?: boolean;
|
|
3372
|
+
/**
|
|
3373
|
+
* The definition of the topic of the wiki page
|
|
3374
|
+
*/
|
|
3375
|
+
definition?: WikiContent | null;
|
|
3376
|
+
/**
|
|
3377
|
+
* Detailed information about the topic of the wiki page
|
|
3378
|
+
*/
|
|
3379
|
+
details?: WikiContent | null;
|
|
3380
|
+
/**
|
|
3381
|
+
* Additional sections for related topics of the wiki page
|
|
3382
|
+
*/
|
|
3383
|
+
sections?: WikiSection[];
|
|
3384
|
+
}
|
|
3385
|
+
/**
|
|
3386
|
+
* Definition of a section inside a wiki page
|
|
3387
|
+
*/
|
|
3388
|
+
interface WikiSection {
|
|
3389
|
+
/**
|
|
3390
|
+
* The title of the section
|
|
3391
|
+
*/
|
|
3392
|
+
title: WikiTitle;
|
|
3393
|
+
/**
|
|
3394
|
+
* The markdown content of the section
|
|
3395
|
+
*/
|
|
3396
|
+
content: WikiContent;
|
|
3397
|
+
}
|
|
3046
3398
|
/**
|
|
3047
3399
|
* Metadata about the server instance that emitted an event. Used to detect
|
|
3048
3400
|
* when an event was authored by a worker other than the one that is currently
|
|
@@ -3109,6 +3461,14 @@ interface ExecuteProgramRequestData {
|
|
|
3109
3461
|
*/
|
|
3110
3462
|
request_provenance?: ExecuteProgramRequestProvenance | null;
|
|
3111
3463
|
}
|
|
3464
|
+
/**
|
|
3465
|
+
* A single source → fork `artifact_id` remapping entry carried by
|
|
3466
|
+
* [`ThreadEvent::ThreadForked`].
|
|
3467
|
+
*/
|
|
3468
|
+
interface ForkedArtifactMapping {
|
|
3469
|
+
source_artifact_id: ArtifactId;
|
|
3470
|
+
new_artifact_id: ArtifactId;
|
|
3471
|
+
}
|
|
3112
3472
|
|
|
3113
3473
|
/** Internal type. DO NOT USE DIRECTLY. */
|
|
3114
3474
|
type Exact<T extends {
|
|
@@ -3144,6 +3504,11 @@ type Int_Comparison_Exp = {
|
|
|
3144
3504
|
_neq?: number | null | undefined;
|
|
3145
3505
|
_nin?: Array<number> | null | undefined;
|
|
3146
3506
|
};
|
|
3507
|
+
type ScopeClaimInput = {
|
|
3508
|
+
claimKeyId: string;
|
|
3509
|
+
level?: string | null | undefined;
|
|
3510
|
+
value?: string | null | undefined;
|
|
3511
|
+
};
|
|
3147
3512
|
/** Boolean expression to compare columns of type "String". All fields are combined with logical 'AND'. */
|
|
3148
3513
|
type String_Comparison_Exp = {
|
|
3149
3514
|
_eq?: string | null | undefined;
|
|
@@ -3254,6 +3619,7 @@ type Admin_Wiki_Bool_Exp = {
|
|
|
3254
3619
|
content?: Jsonb_Comparison_Exp | null | undefined;
|
|
3255
3620
|
created_at?: Timestamptz_Comparison_Exp | null | undefined;
|
|
3256
3621
|
created_by_user_id?: Uuid_Comparison_Exp | null | undefined;
|
|
3622
|
+
definition_excerpt?: String_Comparison_Exp | null | undefined;
|
|
3257
3623
|
deleted_at?: Timestamptz_Comparison_Exp | null | undefined;
|
|
3258
3624
|
effective_permission?: String_Comparison_Exp | null | undefined;
|
|
3259
3625
|
federated_by?: Admin_Federated_Wiki_Bool_Exp | null | undefined;
|
|
@@ -3262,7 +3628,12 @@ type Admin_Wiki_Bool_Exp = {
|
|
|
3262
3628
|
last_modified_by_user_id?: Uuid_Comparison_Exp | null | undefined;
|
|
3263
3629
|
page_id?: String_Comparison_Exp | null | undefined;
|
|
3264
3630
|
permissions?: Admin_Wiki_Permission_Bool_Exp | null | undefined;
|
|
3631
|
+
project_configuration?: Project_Configuration_Bool_Exp | null | undefined;
|
|
3265
3632
|
project_id?: Uuid_Comparison_Exp | null | undefined;
|
|
3633
|
+
rooms?: Rooms_Bool_Exp | null | undefined;
|
|
3634
|
+
rooms_aggregate?: Rooms_Aggregate_Bool_Exp | null | undefined;
|
|
3635
|
+
wiki_scope_claims?: Admin_Wiki_Scope_Claims_Bool_Exp | null | undefined;
|
|
3636
|
+
wiki_scope_claims_aggregate?: Admin_Wiki_Scope_Claims_Aggregate_Bool_Exp | null | undefined;
|
|
3266
3637
|
};
|
|
3267
3638
|
/** Ordering options when selecting data from "admin.wiki". */
|
|
3268
3639
|
type Admin_Wiki_Order_By = {
|
|
@@ -3270,6 +3641,7 @@ type Admin_Wiki_Order_By = {
|
|
|
3270
3641
|
content?: Order_By | null | undefined;
|
|
3271
3642
|
created_at?: Order_By | null | undefined;
|
|
3272
3643
|
created_by_user_id?: Order_By | null | undefined;
|
|
3644
|
+
definition_excerpt?: Order_By | null | undefined;
|
|
3273
3645
|
deleted_at?: Order_By | null | undefined;
|
|
3274
3646
|
effective_permission?: Order_By | null | undefined;
|
|
3275
3647
|
federated_by_aggregate?: Admin_Federated_Wiki_Aggregate_Order_By | null | undefined;
|
|
@@ -3278,7 +3650,10 @@ type Admin_Wiki_Order_By = {
|
|
|
3278
3650
|
last_modified_by_user_id?: Order_By | null | undefined;
|
|
3279
3651
|
page_id?: Order_By | null | undefined;
|
|
3280
3652
|
permissions_aggregate?: Admin_Wiki_Permission_Aggregate_Order_By | null | undefined;
|
|
3653
|
+
project_configuration?: Project_Configuration_Order_By | null | undefined;
|
|
3281
3654
|
project_id?: Order_By | null | undefined;
|
|
3655
|
+
rooms_aggregate?: Rooms_Aggregate_Order_By | null | undefined;
|
|
3656
|
+
wiki_scope_claims_aggregate?: Admin_Wiki_Scope_Claims_Aggregate_Order_By | null | undefined;
|
|
3282
3657
|
};
|
|
3283
3658
|
/** order by aggregate values of table "admin.wiki_permission" */
|
|
3284
3659
|
type Admin_Wiki_Permission_Aggregate_Order_By = {
|
|
@@ -3292,6 +3667,7 @@ type Admin_Wiki_Permission_Bool_Exp = {
|
|
|
3292
3667
|
_not?: Admin_Wiki_Permission_Bool_Exp | null | undefined;
|
|
3293
3668
|
_or?: Array<Admin_Wiki_Permission_Bool_Exp> | null | undefined;
|
|
3294
3669
|
claim_key?: String_Comparison_Exp | null | undefined;
|
|
3670
|
+
claim_key_id?: Uuid_Comparison_Exp | null | undefined;
|
|
3295
3671
|
claim_value?: String_Comparison_Exp | null | undefined;
|
|
3296
3672
|
created_at?: Timestamptz_Comparison_Exp | null | undefined;
|
|
3297
3673
|
granted_by_user?: Promptql_Users_Bool_Exp | null | undefined;
|
|
@@ -3310,7 +3686,7 @@ type Admin_Wiki_Permission_Bool_Exp = {
|
|
|
3310
3686
|
};
|
|
3311
3687
|
/** order by max() on columns of table "admin.wiki_permission" */
|
|
3312
3688
|
type Admin_Wiki_Permission_Max_Order_By = {
|
|
3313
|
-
|
|
3689
|
+
claim_key_id?: Order_By | null | undefined;
|
|
3314
3690
|
claim_value?: Order_By | null | undefined;
|
|
3315
3691
|
created_at?: Order_By | null | undefined;
|
|
3316
3692
|
granted_by_user_id?: Order_By | null | undefined;
|
|
@@ -3324,7 +3700,7 @@ type Admin_Wiki_Permission_Max_Order_By = {
|
|
|
3324
3700
|
};
|
|
3325
3701
|
/** order by min() on columns of table "admin.wiki_permission" */
|
|
3326
3702
|
type Admin_Wiki_Permission_Min_Order_By = {
|
|
3327
|
-
|
|
3703
|
+
claim_key_id?: Order_By | null | undefined;
|
|
3328
3704
|
claim_value?: Order_By | null | undefined;
|
|
3329
3705
|
created_at?: Order_By | null | undefined;
|
|
3330
3706
|
granted_by_user_id?: Order_By | null | undefined;
|
|
@@ -3336,6 +3712,68 @@ type Admin_Wiki_Permission_Min_Order_By = {
|
|
|
3336
3712
|
updated_by_user_id?: Order_By | null | undefined;
|
|
3337
3713
|
wiki_id?: Order_By | null | undefined;
|
|
3338
3714
|
};
|
|
3715
|
+
type Admin_Wiki_Scope_Claims_Aggregate_Bool_Exp = {
|
|
3716
|
+
count?: Admin_Wiki_Scope_Claims_Aggregate_Bool_Exp_Count | null | undefined;
|
|
3717
|
+
};
|
|
3718
|
+
type Admin_Wiki_Scope_Claims_Aggregate_Bool_Exp_Count = {
|
|
3719
|
+
arguments?: Array<Admin_Wiki_Scope_Claims_Select_Column> | null | undefined;
|
|
3720
|
+
distinct?: boolean | null | undefined;
|
|
3721
|
+
filter?: Admin_Wiki_Scope_Claims_Bool_Exp | null | undefined;
|
|
3722
|
+
predicate: Int_Comparison_Exp;
|
|
3723
|
+
};
|
|
3724
|
+
/** order by aggregate values of table "admin.wiki_scope_claims" */
|
|
3725
|
+
type Admin_Wiki_Scope_Claims_Aggregate_Order_By = {
|
|
3726
|
+
count?: Order_By | null | undefined;
|
|
3727
|
+
max?: Admin_Wiki_Scope_Claims_Max_Order_By | null | undefined;
|
|
3728
|
+
min?: Admin_Wiki_Scope_Claims_Min_Order_By | null | undefined;
|
|
3729
|
+
};
|
|
3730
|
+
/** Boolean expression to filter rows from the table "admin.wiki_scope_claims". All fields are combined with a logical 'AND'. */
|
|
3731
|
+
type Admin_Wiki_Scope_Claims_Bool_Exp = {
|
|
3732
|
+
_and?: Array<Admin_Wiki_Scope_Claims_Bool_Exp> | null | undefined;
|
|
3733
|
+
_not?: Admin_Wiki_Scope_Claims_Bool_Exp | null | undefined;
|
|
3734
|
+
_or?: Array<Admin_Wiki_Scope_Claims_Bool_Exp> | null | undefined;
|
|
3735
|
+
assigned_at?: Timestamptz_Comparison_Exp | null | undefined;
|
|
3736
|
+
assigned_by?: Promptql_Users_Bool_Exp | null | undefined;
|
|
3737
|
+
assigned_by_user_id?: Uuid_Comparison_Exp | null | undefined;
|
|
3738
|
+
claim_key?: Custom_Claim_Keys_Bool_Exp | null | undefined;
|
|
3739
|
+
claim_key_id?: Uuid_Comparison_Exp | null | undefined;
|
|
3740
|
+
claim_value?: String_Comparison_Exp | null | undefined;
|
|
3741
|
+
wiki?: Admin_Wiki_Bool_Exp | null | undefined;
|
|
3742
|
+
wiki_id?: Uuid_Comparison_Exp | null | undefined;
|
|
3743
|
+
wiki_scope_claim_id?: Uuid_Comparison_Exp | null | undefined;
|
|
3744
|
+
};
|
|
3745
|
+
/** order by max() on columns of table "admin.wiki_scope_claims" */
|
|
3746
|
+
type Admin_Wiki_Scope_Claims_Max_Order_By = {
|
|
3747
|
+
assigned_at?: Order_By | null | undefined;
|
|
3748
|
+
assigned_by_user_id?: Order_By | null | undefined;
|
|
3749
|
+
claim_key_id?: Order_By | null | undefined;
|
|
3750
|
+
claim_value?: Order_By | null | undefined;
|
|
3751
|
+
wiki_id?: Order_By | null | undefined;
|
|
3752
|
+
wiki_scope_claim_id?: Order_By | null | undefined;
|
|
3753
|
+
};
|
|
3754
|
+
/** order by min() on columns of table "admin.wiki_scope_claims" */
|
|
3755
|
+
type Admin_Wiki_Scope_Claims_Min_Order_By = {
|
|
3756
|
+
assigned_at?: Order_By | null | undefined;
|
|
3757
|
+
assigned_by_user_id?: Order_By | null | undefined;
|
|
3758
|
+
claim_key_id?: Order_By | null | undefined;
|
|
3759
|
+
claim_value?: Order_By | null | undefined;
|
|
3760
|
+
wiki_id?: Order_By | null | undefined;
|
|
3761
|
+
wiki_scope_claim_id?: Order_By | null | undefined;
|
|
3762
|
+
};
|
|
3763
|
+
/** select columns of table "admin.wiki_scope_claims" */
|
|
3764
|
+
type Admin_Wiki_Scope_Claims_Select_Column =
|
|
3765
|
+
/** column name */
|
|
3766
|
+
'assigned_at'
|
|
3767
|
+
/** column name */
|
|
3768
|
+
| 'assigned_by_user_id'
|
|
3769
|
+
/** column name */
|
|
3770
|
+
| 'claim_key_id'
|
|
3771
|
+
/** column name */
|
|
3772
|
+
| 'claim_value'
|
|
3773
|
+
/** column name */
|
|
3774
|
+
| 'wiki_id'
|
|
3775
|
+
/** column name */
|
|
3776
|
+
| 'wiki_scope_claim_id';
|
|
3339
3777
|
type Artifact_Versions_Aggregate_Bool_Exp = {
|
|
3340
3778
|
count?: Artifact_Versions_Aggregate_Bool_Exp_Count | null | undefined;
|
|
3341
3779
|
};
|
|
@@ -3603,18 +4041,23 @@ type Custom_Claim_Assignments_Bool_Exp = {
|
|
|
3603
4041
|
claim_key_id?: Uuid_Comparison_Exp | null | undefined;
|
|
3604
4042
|
claim_value?: String_Comparison_Exp | null | undefined;
|
|
3605
4043
|
custom_claim_key?: Custom_Claim_Keys_Bool_Exp | null | undefined;
|
|
4044
|
+
wiki_permissions?: String_Comparison_Exp | null | undefined;
|
|
3606
4045
|
};
|
|
3607
4046
|
/** order by max() on columns of table "custom_claim_assignments" */
|
|
3608
4047
|
type Custom_Claim_Assignments_Max_Order_By = {
|
|
3609
4048
|
assignee_id?: Order_By | null | undefined;
|
|
3610
4049
|
claim_key_id?: Order_By | null | undefined;
|
|
3611
4050
|
claim_value?: Order_By | null | undefined;
|
|
4051
|
+
/** Per-(user, claim) wiki access level (edit|view). Caps the user's tag-derived wiki access for this claim, independent of the room; effective tag level = min(this, room's per-tag level). Default edit = no cap (pre-migration behavior). Named wiki_permissions to scope it to wiki access; ignored by non-wiki uses of custom_claim_assignments. */
|
|
4052
|
+
wiki_permissions?: Order_By | null | undefined;
|
|
3612
4053
|
};
|
|
3613
4054
|
/** order by min() on columns of table "custom_claim_assignments" */
|
|
3614
4055
|
type Custom_Claim_Assignments_Min_Order_By = {
|
|
3615
4056
|
assignee_id?: Order_By | null | undefined;
|
|
3616
4057
|
claim_key_id?: Order_By | null | undefined;
|
|
3617
4058
|
claim_value?: Order_By | null | undefined;
|
|
4059
|
+
/** Per-(user, claim) wiki access level (edit|view). Caps the user's tag-derived wiki access for this claim, independent of the room; effective tag level = min(this, room's per-tag level). Default edit = no cap (pre-migration behavior). Named wiki_permissions to scope it to wiki access; ignored by non-wiki uses of custom_claim_assignments. */
|
|
4060
|
+
wiki_permissions?: Order_By | null | undefined;
|
|
3618
4061
|
};
|
|
3619
4062
|
/** Boolean expression to filter rows from the table "custom_claim_keys". All fields are combined with a logical 'AND'. */
|
|
3620
4063
|
type Custom_Claim_Keys_Bool_Exp = {
|
|
@@ -3682,6 +4125,33 @@ type Jsonb_Comparison_Exp = {
|
|
|
3682
4125
|
_neq?: any;
|
|
3683
4126
|
_nin?: Array<any> | null | undefined;
|
|
3684
4127
|
};
|
|
4128
|
+
/** Boolean expression to filter rows from the table "llm_config". All fields are combined with a logical 'AND'. */
|
|
4129
|
+
type Llm_Config_Bool_Exp = {
|
|
4130
|
+
_and?: Array<Llm_Config_Bool_Exp> | null | undefined;
|
|
4131
|
+
_not?: Llm_Config_Bool_Exp | null | undefined;
|
|
4132
|
+
_or?: Array<Llm_Config_Bool_Exp> | null | undefined;
|
|
4133
|
+
created_at?: Timestamptz_Comparison_Exp | null | undefined;
|
|
4134
|
+
created_by?: Uuid_Comparison_Exp | null | undefined;
|
|
4135
|
+
deleted_at?: Timestamptz_Comparison_Exp | null | undefined;
|
|
4136
|
+
display_label?: String_Comparison_Exp | null | undefined;
|
|
4137
|
+
id?: Uuid_Comparison_Exp | null | undefined;
|
|
4138
|
+
model_reference?: String_Comparison_Exp | null | undefined;
|
|
4139
|
+
project_configuration?: Project_Configuration_Bool_Exp | null | undefined;
|
|
4140
|
+
project_id?: Uuid_Comparison_Exp | null | undefined;
|
|
4141
|
+
updated_at?: Timestamptz_Comparison_Exp | null | undefined;
|
|
4142
|
+
};
|
|
4143
|
+
/** Ordering options when selecting data from "llm_config". */
|
|
4144
|
+
type Llm_Config_Order_By = {
|
|
4145
|
+
created_at?: Order_By | null | undefined;
|
|
4146
|
+
created_by?: Order_By | null | undefined;
|
|
4147
|
+
deleted_at?: Order_By | null | undefined;
|
|
4148
|
+
display_label?: Order_By | null | undefined;
|
|
4149
|
+
id?: Order_By | null | undefined;
|
|
4150
|
+
model_reference?: Order_By | null | undefined;
|
|
4151
|
+
project_configuration?: Project_Configuration_Order_By | null | undefined;
|
|
4152
|
+
project_id?: Order_By | null | undefined;
|
|
4153
|
+
updated_at?: Order_By | null | undefined;
|
|
4154
|
+
};
|
|
3685
4155
|
type Message_Reactions_Aggregate_Bool_Exp = {
|
|
3686
4156
|
count?: Message_Reactions_Aggregate_Bool_Exp_Count | null | undefined;
|
|
3687
4157
|
};
|
|
@@ -4087,6 +4557,10 @@ type Project_Configuration_Bool_Exp = {
|
|
|
4087
4557
|
_and?: Array<Project_Configuration_Bool_Exp> | null | undefined;
|
|
4088
4558
|
_not?: Project_Configuration_Bool_Exp | null | undefined;
|
|
4089
4559
|
_or?: Array<Project_Configuration_Bool_Exp> | null | undefined;
|
|
4560
|
+
agent_avatar_bytes?: Bytea_Comparison_Exp | null | undefined;
|
|
4561
|
+
agent_avatar_mime_type?: String_Comparison_Exp | null | undefined;
|
|
4562
|
+
agent_name?: String_Comparison_Exp | null | undefined;
|
|
4563
|
+
ai_disclaimer_message?: String_Comparison_Exp | null | undefined;
|
|
4090
4564
|
created_at?: Timestamptz_Comparison_Exp | null | undefined;
|
|
4091
4565
|
data_studio?: Boolean_Comparison_Exp | null | undefined;
|
|
4092
4566
|
default_onboarding_modal_visibility?: Boolean_Comparison_Exp | null | undefined;
|
|
@@ -4095,13 +4569,20 @@ type Project_Configuration_Bool_Exp = {
|
|
|
4095
4569
|
default_thread_visibility?: Thread_Visibility_Enum_Enum_Comparison_Exp | null | undefined;
|
|
4096
4570
|
enable_social_feed?: Boolean_Comparison_Exp | null | undefined;
|
|
4097
4571
|
github_installations?: Jsonb_Comparison_Exp | null | undefined;
|
|
4572
|
+
is_community_project?: Boolean_Comparison_Exp | null | undefined;
|
|
4098
4573
|
project_id?: Uuid_Comparison_Exp | null | undefined;
|
|
4574
|
+
restrict_member_add_to_admins?: Boolean_Comparison_Exp | null | undefined;
|
|
4099
4575
|
show_github_project_onboarding?: Boolean_Comparison_Exp | null | undefined;
|
|
4100
4576
|
thread_sharing_enabled?: Boolean_Comparison_Exp | null | undefined;
|
|
4101
4577
|
updated_at?: Timestamptz_Comparison_Exp | null | undefined;
|
|
4578
|
+
world_readable_enabled?: Boolean_Comparison_Exp | null | undefined;
|
|
4102
4579
|
};
|
|
4103
4580
|
/** Ordering options when selecting data from "project_configuration". */
|
|
4104
4581
|
type Project_Configuration_Order_By = {
|
|
4582
|
+
agent_avatar_bytes?: Order_By | null | undefined;
|
|
4583
|
+
agent_avatar_mime_type?: Order_By | null | undefined;
|
|
4584
|
+
agent_name?: Order_By | null | undefined;
|
|
4585
|
+
ai_disclaimer_message?: Order_By | null | undefined;
|
|
4105
4586
|
created_at?: Order_By | null | undefined;
|
|
4106
4587
|
data_studio?: Order_By | null | undefined;
|
|
4107
4588
|
default_onboarding_modal_visibility?: Order_By | null | undefined;
|
|
@@ -4110,10 +4591,13 @@ type Project_Configuration_Order_By = {
|
|
|
4110
4591
|
default_thread_visibility?: Order_By | null | undefined;
|
|
4111
4592
|
enable_social_feed?: Order_By | null | undefined;
|
|
4112
4593
|
github_installations?: Order_By | null | undefined;
|
|
4594
|
+
is_community_project?: Order_By | null | undefined;
|
|
4113
4595
|
project_id?: Order_By | null | undefined;
|
|
4596
|
+
restrict_member_add_to_admins?: Order_By | null | undefined;
|
|
4114
4597
|
show_github_project_onboarding?: Order_By | null | undefined;
|
|
4115
4598
|
thread_sharing_enabled?: Order_By | null | undefined;
|
|
4116
4599
|
updated_at?: Order_By | null | undefined;
|
|
4600
|
+
world_readable_enabled?: Order_By | null | undefined;
|
|
4117
4601
|
};
|
|
4118
4602
|
/** order by aggregate values of table "promptql_users" */
|
|
4119
4603
|
type Promptql_Users_Aggregate_Order_By = {
|
|
@@ -4138,16 +4622,20 @@ type Promptql_Users_Bool_Exp = {
|
|
|
4138
4622
|
_and?: Array<Promptql_Users_Bool_Exp> | null | undefined;
|
|
4139
4623
|
_not?: Promptql_Users_Bool_Exp | null | undefined;
|
|
4140
4624
|
_or?: Array<Promptql_Users_Bool_Exp> | null | undefined;
|
|
4625
|
+
avatar_path?: String_Comparison_Exp | null | undefined;
|
|
4141
4626
|
control_plane_user_id?: Uuid_Comparison_Exp | null | undefined;
|
|
4142
4627
|
created_at?: Timestamptz_Comparison_Exp | null | undefined;
|
|
4143
4628
|
custom_claim_assignments?: Custom_Claim_Assignments_Bool_Exp | null | undefined;
|
|
4144
4629
|
display_name?: String_Comparison_Exp | null | undefined;
|
|
4145
4630
|
email?: Citext_Comparison_Exp | null | undefined;
|
|
4631
|
+
external_user_data_access?: Boolean_Comparison_Exp | null | undefined;
|
|
4146
4632
|
is_active?: Boolean_Comparison_Exp | null | undefined;
|
|
4147
4633
|
is_app_admin?: Boolean_Comparison_Exp | null | undefined;
|
|
4148
4634
|
is_bot?: Boolean_Comparison_Exp | null | undefined;
|
|
4635
|
+
project_configuration?: Project_Configuration_Bool_Exp | null | undefined;
|
|
4149
4636
|
project_id?: Uuid_Comparison_Exp | null | undefined;
|
|
4150
4637
|
promptql_user_id?: Uuid_Comparison_Exp | null | undefined;
|
|
4638
|
+
rooms_participants?: Rooms_Participants_Bool_Exp | null | undefined;
|
|
4151
4639
|
slack_info?: Slack_Info_Bool_Exp | null | undefined;
|
|
4152
4640
|
starred_artifacts?: Starred_Artifacts_Bool_Exp | null | undefined;
|
|
4153
4641
|
starred_threads?: Starred_Threads_Bool_Exp | null | undefined;
|
|
@@ -4157,12 +4645,14 @@ type Promptql_Users_Bool_Exp = {
|
|
|
4157
4645
|
user_group_members?: User_Group_Members_Bool_Exp | null | undefined;
|
|
4158
4646
|
user_preference?: User_Preferences_Bool_Exp | null | undefined;
|
|
4159
4647
|
user_slack_notification_preference?: User_Slack_Notification_Preferences_Bool_Exp | null | undefined;
|
|
4648
|
+
user_type?: User_Type_Enum_Enum_Comparison_Exp | null | undefined;
|
|
4160
4649
|
weight?: Int_Comparison_Exp | null | undefined;
|
|
4161
4650
|
wiki?: Admin_Wiki_Bool_Exp | null | undefined;
|
|
4162
4651
|
wiki_id?: Uuid_Comparison_Exp | null | undefined;
|
|
4163
4652
|
};
|
|
4164
4653
|
/** order by max() on columns of table "promptql_users" */
|
|
4165
4654
|
type Promptql_Users_Max_Order_By = {
|
|
4655
|
+
avatar_path?: Order_By | null | undefined;
|
|
4166
4656
|
control_plane_user_id?: Order_By | null | undefined;
|
|
4167
4657
|
created_at?: Order_By | null | undefined;
|
|
4168
4658
|
display_name?: Order_By | null | undefined;
|
|
@@ -4175,6 +4665,7 @@ type Promptql_Users_Max_Order_By = {
|
|
|
4175
4665
|
};
|
|
4176
4666
|
/** order by min() on columns of table "promptql_users" */
|
|
4177
4667
|
type Promptql_Users_Min_Order_By = {
|
|
4668
|
+
avatar_path?: Order_By | null | undefined;
|
|
4178
4669
|
control_plane_user_id?: Order_By | null | undefined;
|
|
4179
4670
|
created_at?: Order_By | null | undefined;
|
|
4180
4671
|
display_name?: Order_By | null | undefined;
|
|
@@ -4187,16 +4678,20 @@ type Promptql_Users_Min_Order_By = {
|
|
|
4187
4678
|
};
|
|
4188
4679
|
/** Ordering options when selecting data from "promptql_users". */
|
|
4189
4680
|
type Promptql_Users_Order_By = {
|
|
4681
|
+
avatar_path?: Order_By | null | undefined;
|
|
4190
4682
|
control_plane_user_id?: Order_By | null | undefined;
|
|
4191
4683
|
created_at?: Order_By | null | undefined;
|
|
4192
4684
|
custom_claim_assignments_aggregate?: Custom_Claim_Assignments_Aggregate_Order_By | null | undefined;
|
|
4193
4685
|
display_name?: Order_By | null | undefined;
|
|
4194
4686
|
email?: Order_By | null | undefined;
|
|
4687
|
+
external_user_data_access?: Order_By | null | undefined;
|
|
4195
4688
|
is_active?: Order_By | null | undefined;
|
|
4196
4689
|
is_app_admin?: Order_By | null | undefined;
|
|
4197
4690
|
is_bot?: Order_By | null | undefined;
|
|
4691
|
+
project_configuration?: Project_Configuration_Order_By | null | undefined;
|
|
4198
4692
|
project_id?: Order_By | null | undefined;
|
|
4199
4693
|
promptql_user_id?: Order_By | null | undefined;
|
|
4694
|
+
rooms_participants_aggregate?: Rooms_Participants_Aggregate_Order_By | null | undefined;
|
|
4200
4695
|
slack_info?: Slack_Info_Order_By | null | undefined;
|
|
4201
4696
|
starred_artifacts_aggregate?: Starred_Artifacts_Aggregate_Order_By | null | undefined;
|
|
4202
4697
|
starred_threads_aggregate?: Starred_Threads_Aggregate_Order_By | null | undefined;
|
|
@@ -4205,6 +4700,7 @@ type Promptql_Users_Order_By = {
|
|
|
4205
4700
|
user_group_members_aggregate?: User_Group_Members_Aggregate_Order_By | null | undefined;
|
|
4206
4701
|
user_preference?: User_Preferences_Order_By | null | undefined;
|
|
4207
4702
|
user_slack_notification_preference?: User_Slack_Notification_Preferences_Order_By | null | undefined;
|
|
4703
|
+
user_type?: Order_By | null | undefined;
|
|
4208
4704
|
weight?: Order_By | null | undefined;
|
|
4209
4705
|
wiki?: Admin_Wiki_Order_By | null | undefined;
|
|
4210
4706
|
wiki_id?: Order_By | null | undefined;
|
|
@@ -4365,6 +4861,104 @@ type Room_Pinned_Artifact_Order_By = {
|
|
|
4365
4861
|
room?: Rooms_Order_By | null | undefined;
|
|
4366
4862
|
room_id?: Order_By | null | undefined;
|
|
4367
4863
|
};
|
|
4864
|
+
type Room_Scope_Claims_Aggregate_Bool_Exp = {
|
|
4865
|
+
count?: Room_Scope_Claims_Aggregate_Bool_Exp_Count | null | undefined;
|
|
4866
|
+
};
|
|
4867
|
+
type Room_Scope_Claims_Aggregate_Bool_Exp_Count = {
|
|
4868
|
+
arguments?: Array<Room_Scope_Claims_Select_Column> | null | undefined;
|
|
4869
|
+
distinct?: boolean | null | undefined;
|
|
4870
|
+
filter?: Room_Scope_Claims_Bool_Exp | null | undefined;
|
|
4871
|
+
predicate: Int_Comparison_Exp;
|
|
4872
|
+
};
|
|
4873
|
+
/** order by aggregate values of table "room_scope_claims" */
|
|
4874
|
+
type Room_Scope_Claims_Aggregate_Order_By = {
|
|
4875
|
+
count?: Order_By | null | undefined;
|
|
4876
|
+
max?: Room_Scope_Claims_Max_Order_By | null | undefined;
|
|
4877
|
+
min?: Room_Scope_Claims_Min_Order_By | null | undefined;
|
|
4878
|
+
};
|
|
4879
|
+
/** Boolean expression to filter rows from the table "room_scope_claims". All fields are combined with a logical 'AND'. */
|
|
4880
|
+
type Room_Scope_Claims_Bool_Exp = {
|
|
4881
|
+
_and?: Array<Room_Scope_Claims_Bool_Exp> | null | undefined;
|
|
4882
|
+
_not?: Room_Scope_Claims_Bool_Exp | null | undefined;
|
|
4883
|
+
_or?: Array<Room_Scope_Claims_Bool_Exp> | null | undefined;
|
|
4884
|
+
assigned_at?: Timestamptz_Comparison_Exp | null | undefined;
|
|
4885
|
+
assigned_by?: Promptql_Users_Bool_Exp | null | undefined;
|
|
4886
|
+
assigned_by_user_id?: Uuid_Comparison_Exp | null | undefined;
|
|
4887
|
+
claim_key?: Custom_Claim_Keys_Bool_Exp | null | undefined;
|
|
4888
|
+
claim_key_id?: Uuid_Comparison_Exp | null | undefined;
|
|
4889
|
+
claim_value?: String_Comparison_Exp | null | undefined;
|
|
4890
|
+
permission?: String_Comparison_Exp | null | undefined;
|
|
4891
|
+
room?: Rooms_Bool_Exp | null | undefined;
|
|
4892
|
+
room_id?: Uuid_Comparison_Exp | null | undefined;
|
|
4893
|
+
room_scope_claim_id?: Uuid_Comparison_Exp | null | undefined;
|
|
4894
|
+
};
|
|
4895
|
+
/** order by max() on columns of table "room_scope_claims" */
|
|
4896
|
+
type Room_Scope_Claims_Max_Order_By = {
|
|
4897
|
+
assigned_at?: Order_By | null | undefined;
|
|
4898
|
+
assigned_by_user_id?: Order_By | null | undefined;
|
|
4899
|
+
claim_key_id?: Order_By | null | undefined;
|
|
4900
|
+
claim_value?: Order_By | null | undefined;
|
|
4901
|
+
/** Read/write level (edit|view) this room grants for the tag. The room is the ceiling for tag-derived wiki access; default edit preserves pre-migration behavior. */
|
|
4902
|
+
permission?: Order_By | null | undefined;
|
|
4903
|
+
room_id?: Order_By | null | undefined;
|
|
4904
|
+
room_scope_claim_id?: Order_By | null | undefined;
|
|
4905
|
+
};
|
|
4906
|
+
/** order by min() on columns of table "room_scope_claims" */
|
|
4907
|
+
type Room_Scope_Claims_Min_Order_By = {
|
|
4908
|
+
assigned_at?: Order_By | null | undefined;
|
|
4909
|
+
assigned_by_user_id?: Order_By | null | undefined;
|
|
4910
|
+
claim_key_id?: Order_By | null | undefined;
|
|
4911
|
+
claim_value?: Order_By | null | undefined;
|
|
4912
|
+
/** Read/write level (edit|view) this room grants for the tag. The room is the ceiling for tag-derived wiki access; default edit preserves pre-migration behavior. */
|
|
4913
|
+
permission?: Order_By | null | undefined;
|
|
4914
|
+
room_id?: Order_By | null | undefined;
|
|
4915
|
+
room_scope_claim_id?: Order_By | null | undefined;
|
|
4916
|
+
};
|
|
4917
|
+
/** select columns of table "room_scope_claims" */
|
|
4918
|
+
type Room_Scope_Claims_Select_Column =
|
|
4919
|
+
/** column name */
|
|
4920
|
+
'assigned_at'
|
|
4921
|
+
/** column name */
|
|
4922
|
+
| 'assigned_by_user_id'
|
|
4923
|
+
/** column name */
|
|
4924
|
+
| 'claim_key_id'
|
|
4925
|
+
/** column name */
|
|
4926
|
+
| 'claim_value'
|
|
4927
|
+
/** column name */
|
|
4928
|
+
| 'permission'
|
|
4929
|
+
/** column name */
|
|
4930
|
+
| 'room_id'
|
|
4931
|
+
/** column name */
|
|
4932
|
+
| 'room_scope_claim_id';
|
|
4933
|
+
type Rooms_Aggregate_Bool_Exp = {
|
|
4934
|
+
bool_and?: Rooms_Aggregate_Bool_Exp_Bool_And | null | undefined;
|
|
4935
|
+
bool_or?: Rooms_Aggregate_Bool_Exp_Bool_Or | null | undefined;
|
|
4936
|
+
count?: Rooms_Aggregate_Bool_Exp_Count | null | undefined;
|
|
4937
|
+
};
|
|
4938
|
+
type Rooms_Aggregate_Bool_Exp_Bool_And = {
|
|
4939
|
+
arguments: Rooms_Select_Column_Rooms_Aggregate_Bool_Exp_Bool_And_Arguments_Columns;
|
|
4940
|
+
distinct?: boolean | null | undefined;
|
|
4941
|
+
filter?: Rooms_Bool_Exp | null | undefined;
|
|
4942
|
+
predicate: Boolean_Comparison_Exp;
|
|
4943
|
+
};
|
|
4944
|
+
type Rooms_Aggregate_Bool_Exp_Bool_Or = {
|
|
4945
|
+
arguments: Rooms_Select_Column_Rooms_Aggregate_Bool_Exp_Bool_Or_Arguments_Columns;
|
|
4946
|
+
distinct?: boolean | null | undefined;
|
|
4947
|
+
filter?: Rooms_Bool_Exp | null | undefined;
|
|
4948
|
+
predicate: Boolean_Comparison_Exp;
|
|
4949
|
+
};
|
|
4950
|
+
type Rooms_Aggregate_Bool_Exp_Count = {
|
|
4951
|
+
arguments?: Array<Rooms_Select_Column> | null | undefined;
|
|
4952
|
+
distinct?: boolean | null | undefined;
|
|
4953
|
+
filter?: Rooms_Bool_Exp | null | undefined;
|
|
4954
|
+
predicate: Int_Comparison_Exp;
|
|
4955
|
+
};
|
|
4956
|
+
/** order by aggregate values of table "rooms" */
|
|
4957
|
+
type Rooms_Aggregate_Order_By = {
|
|
4958
|
+
count?: Order_By | null | undefined;
|
|
4959
|
+
max?: Rooms_Max_Order_By | null | undefined;
|
|
4960
|
+
min?: Rooms_Min_Order_By | null | undefined;
|
|
4961
|
+
};
|
|
4368
4962
|
/** Boolean expression to filter rows from the table "rooms". All fields are combined with a logical 'AND'. */
|
|
4369
4963
|
type Rooms_Bool_Exp = {
|
|
4370
4964
|
_and?: Array<Rooms_Bool_Exp> | null | undefined;
|
|
@@ -4372,6 +4966,7 @@ type Rooms_Bool_Exp = {
|
|
|
4372
4966
|
_or?: Array<Rooms_Bool_Exp> | null | undefined;
|
|
4373
4967
|
active_members?: Room_Active_Member_Bool_Exp | null | undefined;
|
|
4374
4968
|
active_members_count?: Int_Comparison_Exp | null | undefined;
|
|
4969
|
+
allow_cross_room_access?: Boolean_Comparison_Exp | null | undefined;
|
|
4375
4970
|
created_at?: Timestamptz_Comparison_Exp | null | undefined;
|
|
4376
4971
|
deleted_at?: Timestamptz_Comparison_Exp | null | undefined;
|
|
4377
4972
|
description?: String_Comparison_Exp | null | undefined;
|
|
@@ -4384,6 +4979,8 @@ type Rooms_Bool_Exp = {
|
|
|
4384
4979
|
public_room_active_users?: Public_Room_Active_Users_Bool_Exp | null | undefined;
|
|
4385
4980
|
room_id?: Uuid_Comparison_Exp | null | undefined;
|
|
4386
4981
|
room_pinned_artifact?: Room_Pinned_Artifact_Bool_Exp | null | undefined;
|
|
4982
|
+
room_scope_claims?: Room_Scope_Claims_Bool_Exp | null | undefined;
|
|
4983
|
+
room_scope_claims_aggregate?: Room_Scope_Claims_Aggregate_Bool_Exp | null | undefined;
|
|
4387
4984
|
rooms_participants?: Rooms_Participants_Bool_Exp | null | undefined;
|
|
4388
4985
|
threads?: Threads_V2_Bool_Exp | null | undefined;
|
|
4389
4986
|
threads_aggregate?: Threads_V2_Aggregate_Bool_Exp | null | undefined;
|
|
@@ -4394,10 +4991,37 @@ type Rooms_Bool_Exp = {
|
|
|
4394
4991
|
wiki?: Admin_Wiki_Bool_Exp | null | undefined;
|
|
4395
4992
|
wiki_id?: Uuid_Comparison_Exp | null | undefined;
|
|
4396
4993
|
};
|
|
4994
|
+
/** order by max() on columns of table "rooms" */
|
|
4995
|
+
type Rooms_Max_Order_By = {
|
|
4996
|
+
created_at?: Order_By | null | undefined;
|
|
4997
|
+
deleted_at?: Order_By | null | undefined;
|
|
4998
|
+
description?: Order_By | null | undefined;
|
|
4999
|
+
name?: Order_By | null | undefined;
|
|
5000
|
+
project_id?: Order_By | null | undefined;
|
|
5001
|
+
room_id?: Order_By | null | undefined;
|
|
5002
|
+
updated_at?: Order_By | null | undefined;
|
|
5003
|
+
user_id?: Order_By | null | undefined;
|
|
5004
|
+
visibility?: Order_By | null | undefined;
|
|
5005
|
+
wiki_id?: Order_By | null | undefined;
|
|
5006
|
+
};
|
|
5007
|
+
/** order by min() on columns of table "rooms" */
|
|
5008
|
+
type Rooms_Min_Order_By = {
|
|
5009
|
+
created_at?: Order_By | null | undefined;
|
|
5010
|
+
deleted_at?: Order_By | null | undefined;
|
|
5011
|
+
description?: Order_By | null | undefined;
|
|
5012
|
+
name?: Order_By | null | undefined;
|
|
5013
|
+
project_id?: Order_By | null | undefined;
|
|
5014
|
+
room_id?: Order_By | null | undefined;
|
|
5015
|
+
updated_at?: Order_By | null | undefined;
|
|
5016
|
+
user_id?: Order_By | null | undefined;
|
|
5017
|
+
visibility?: Order_By | null | undefined;
|
|
5018
|
+
wiki_id?: Order_By | null | undefined;
|
|
5019
|
+
};
|
|
4397
5020
|
/** Ordering options when selecting data from "rooms". */
|
|
4398
5021
|
type Rooms_Order_By = {
|
|
4399
5022
|
active_members_aggregate?: Room_Active_Member_Aggregate_Order_By | null | undefined;
|
|
4400
5023
|
active_members_count?: Order_By | null | undefined;
|
|
5024
|
+
allow_cross_room_access?: Order_By | null | undefined;
|
|
4401
5025
|
created_at?: Order_By | null | undefined;
|
|
4402
5026
|
deleted_at?: Order_By | null | undefined;
|
|
4403
5027
|
description?: Order_By | null | undefined;
|
|
@@ -4410,6 +5034,7 @@ type Rooms_Order_By = {
|
|
|
4410
5034
|
public_room_active_users_aggregate?: Public_Room_Active_Users_Aggregate_Order_By | null | undefined;
|
|
4411
5035
|
room_id?: Order_By | null | undefined;
|
|
4412
5036
|
room_pinned_artifact?: Room_Pinned_Artifact_Order_By | null | undefined;
|
|
5037
|
+
room_scope_claims_aggregate?: Room_Scope_Claims_Aggregate_Order_By | null | undefined;
|
|
4413
5038
|
rooms_participants_aggregate?: Rooms_Participants_Aggregate_Order_By | null | undefined;
|
|
4414
5039
|
threads_aggregate?: Threads_V2_Aggregate_Order_By | null | undefined;
|
|
4415
5040
|
updated_at?: Order_By | null | undefined;
|
|
@@ -4452,6 +5077,38 @@ type Rooms_Participants_Min_Order_By = {
|
|
|
4452
5077
|
room_id?: Order_By | null | undefined;
|
|
4453
5078
|
updated_at?: Order_By | null | undefined;
|
|
4454
5079
|
};
|
|
5080
|
+
/** select columns of table "rooms" */
|
|
5081
|
+
type Rooms_Select_Column =
|
|
5082
|
+
/** column name */
|
|
5083
|
+
'allow_cross_room_access'
|
|
5084
|
+
/** column name */
|
|
5085
|
+
| 'created_at'
|
|
5086
|
+
/** column name */
|
|
5087
|
+
| 'deleted_at'
|
|
5088
|
+
/** column name */
|
|
5089
|
+
| 'description'
|
|
5090
|
+
/** column name */
|
|
5091
|
+
| 'name'
|
|
5092
|
+
/** column name */
|
|
5093
|
+
| 'project_id'
|
|
5094
|
+
/** column name */
|
|
5095
|
+
| 'room_id'
|
|
5096
|
+
/** column name */
|
|
5097
|
+
| 'updated_at'
|
|
5098
|
+
/** column name */
|
|
5099
|
+
| 'user_id'
|
|
5100
|
+
/** column name */
|
|
5101
|
+
| 'visibility'
|
|
5102
|
+
/** column name */
|
|
5103
|
+
| 'wiki_id';
|
|
5104
|
+
/** select "rooms_aggregate_bool_exp_bool_and_arguments_columns" columns of table "rooms" */
|
|
5105
|
+
type Rooms_Select_Column_Rooms_Aggregate_Bool_Exp_Bool_And_Arguments_Columns =
|
|
5106
|
+
/** column name */
|
|
5107
|
+
'allow_cross_room_access';
|
|
5108
|
+
/** select "rooms_aggregate_bool_exp_bool_or_arguments_columns" columns of table "rooms" */
|
|
5109
|
+
type Rooms_Select_Column_Rooms_Aggregate_Bool_Exp_Bool_Or_Arguments_Columns =
|
|
5110
|
+
/** column name */
|
|
5111
|
+
'allow_cross_room_access';
|
|
4455
5112
|
/** order by aggregate values of table "shared_threads" */
|
|
4456
5113
|
type Shared_Threads_Aggregate_Order_By = {
|
|
4457
5114
|
avg?: Shared_Threads_Avg_Order_By | null | undefined;
|
|
@@ -4583,33 +5240,46 @@ type Slack_Integration_Bool_Exp = {
|
|
|
4583
5240
|
chat_enabled?: Boolean_Comparison_Exp | null | undefined;
|
|
4584
5241
|
created_at?: Timestamptz_Comparison_Exp | null | undefined;
|
|
4585
5242
|
created_by?: Uuid_Comparison_Exp | null | undefined;
|
|
5243
|
+
default_llm_config_id?: Uuid_Comparison_Exp | null | undefined;
|
|
4586
5244
|
id?: Uuid_Comparison_Exp | null | undefined;
|
|
4587
5245
|
is_global_app?: Boolean_Comparison_Exp | null | undefined;
|
|
5246
|
+
mention_dm_notifications_enabled?: Boolean_Comparison_Exp | null | undefined;
|
|
4588
5247
|
project_id?: Uuid_Comparison_Exp | null | undefined;
|
|
4589
5248
|
promptql_user?: Promptql_Users_Bool_Exp | null | undefined;
|
|
4590
5249
|
slack_app_id?: String_Comparison_Exp | null | undefined;
|
|
4591
5250
|
slack_app_name?: String_Comparison_Exp | null | undefined;
|
|
4592
5251
|
slack_workspace_id?: String_Comparison_Exp | null | undefined;
|
|
5252
|
+
slack_workspace_name?: String_Comparison_Exp | null | undefined;
|
|
5253
|
+
sync_mode?: String_Comparison_Exp | null | undefined;
|
|
5254
|
+
version?: String_Comparison_Exp | null | undefined;
|
|
4593
5255
|
};
|
|
4594
5256
|
/** order by max() on columns of table "slack_integration" */
|
|
4595
5257
|
type Slack_Integration_Max_Order_By = {
|
|
4596
5258
|
created_at?: Order_By | null | undefined;
|
|
4597
5259
|
created_by?: Order_By | null | undefined;
|
|
5260
|
+
default_llm_config_id?: Order_By | null | undefined;
|
|
4598
5261
|
id?: Order_By | null | undefined;
|
|
4599
5262
|
project_id?: Order_By | null | undefined;
|
|
4600
5263
|
slack_app_id?: Order_By | null | undefined;
|
|
4601
5264
|
slack_app_name?: Order_By | null | undefined;
|
|
4602
5265
|
slack_workspace_id?: Order_By | null | undefined;
|
|
5266
|
+
slack_workspace_name?: Order_By | null | undefined;
|
|
5267
|
+
sync_mode?: Order_By | null | undefined;
|
|
5268
|
+
version?: Order_By | null | undefined;
|
|
4603
5269
|
};
|
|
4604
5270
|
/** order by min() on columns of table "slack_integration" */
|
|
4605
5271
|
type Slack_Integration_Min_Order_By = {
|
|
4606
5272
|
created_at?: Order_By | null | undefined;
|
|
4607
5273
|
created_by?: Order_By | null | undefined;
|
|
5274
|
+
default_llm_config_id?: Order_By | null | undefined;
|
|
4608
5275
|
id?: Order_By | null | undefined;
|
|
4609
5276
|
project_id?: Order_By | null | undefined;
|
|
4610
5277
|
slack_app_id?: Order_By | null | undefined;
|
|
4611
5278
|
slack_app_name?: Order_By | null | undefined;
|
|
4612
5279
|
slack_workspace_id?: Order_By | null | undefined;
|
|
5280
|
+
slack_workspace_name?: Order_By | null | undefined;
|
|
5281
|
+
sync_mode?: Order_By | null | undefined;
|
|
5282
|
+
version?: Order_By | null | undefined;
|
|
4613
5283
|
};
|
|
4614
5284
|
/** order by aggregate values of table "social_feed_candidates" */
|
|
4615
5285
|
type Social_Feed_Candidates_Aggregate_Order_By = {
|
|
@@ -4818,8 +5488,22 @@ type Starred_Threads_Variance_Order_By = {
|
|
|
4818
5488
|
position?: Order_By | null | undefined;
|
|
4819
5489
|
};
|
|
4820
5490
|
type Thread_Artifacts_Aggregate_Bool_Exp = {
|
|
5491
|
+
bool_and?: Thread_Artifacts_Aggregate_Bool_Exp_Bool_And | null | undefined;
|
|
5492
|
+
bool_or?: Thread_Artifacts_Aggregate_Bool_Exp_Bool_Or | null | undefined;
|
|
4821
5493
|
count?: Thread_Artifacts_Aggregate_Bool_Exp_Count | null | undefined;
|
|
4822
5494
|
};
|
|
5495
|
+
type Thread_Artifacts_Aggregate_Bool_Exp_Bool_And = {
|
|
5496
|
+
arguments: Thread_Artifacts_Select_Column_Thread_Artifacts_Aggregate_Bool_Exp_Bool_And_Arguments_Columns;
|
|
5497
|
+
distinct?: boolean | null | undefined;
|
|
5498
|
+
filter?: Thread_Artifacts_Bool_Exp | null | undefined;
|
|
5499
|
+
predicate: Boolean_Comparison_Exp;
|
|
5500
|
+
};
|
|
5501
|
+
type Thread_Artifacts_Aggregate_Bool_Exp_Bool_Or = {
|
|
5502
|
+
arguments: Thread_Artifacts_Select_Column_Thread_Artifacts_Aggregate_Bool_Exp_Bool_Or_Arguments_Columns;
|
|
5503
|
+
distinct?: boolean | null | undefined;
|
|
5504
|
+
filter?: Thread_Artifacts_Bool_Exp | null | undefined;
|
|
5505
|
+
predicate: Boolean_Comparison_Exp;
|
|
5506
|
+
};
|
|
4823
5507
|
type Thread_Artifacts_Aggregate_Bool_Exp_Count = {
|
|
4824
5508
|
arguments?: Array<Thread_Artifacts_Select_Column> | null | undefined;
|
|
4825
5509
|
distinct?: boolean | null | undefined;
|
|
@@ -4839,25 +5523,41 @@ type Thread_Artifacts_Bool_Exp = {
|
|
|
4839
5523
|
_or?: Array<Thread_Artifacts_Bool_Exp> | null | undefined;
|
|
4840
5524
|
artifact?: Artifacts_Bool_Exp | null | undefined;
|
|
4841
5525
|
artifact_id?: Uuid_Comparison_Exp | null | undefined;
|
|
5526
|
+
hidden?: Boolean_Comparison_Exp | null | undefined;
|
|
5527
|
+
identifier?: String_Comparison_Exp | null | undefined;
|
|
4842
5528
|
thread?: Threads_V2_Bool_Exp | null | undefined;
|
|
4843
5529
|
thread_id?: Uuid_Comparison_Exp | null | undefined;
|
|
4844
5530
|
};
|
|
4845
5531
|
/** order by max() on columns of table "thread_artifacts" */
|
|
4846
5532
|
type Thread_Artifacts_Max_Order_By = {
|
|
4847
5533
|
artifact_id?: Order_By | null | undefined;
|
|
5534
|
+
identifier?: Order_By | null | undefined;
|
|
4848
5535
|
thread_id?: Order_By | null | undefined;
|
|
4849
5536
|
};
|
|
4850
5537
|
/** order by min() on columns of table "thread_artifacts" */
|
|
4851
5538
|
type Thread_Artifacts_Min_Order_By = {
|
|
4852
5539
|
artifact_id?: Order_By | null | undefined;
|
|
5540
|
+
identifier?: Order_By | null | undefined;
|
|
4853
5541
|
thread_id?: Order_By | null | undefined;
|
|
4854
5542
|
};
|
|
4855
5543
|
/** select columns of table "thread_artifacts" */
|
|
4856
5544
|
type Thread_Artifacts_Select_Column =
|
|
4857
5545
|
/** column name */
|
|
4858
5546
|
'artifact_id'
|
|
5547
|
+
/** column name */
|
|
5548
|
+
| 'hidden'
|
|
5549
|
+
/** column name */
|
|
5550
|
+
| 'identifier'
|
|
4859
5551
|
/** column name */
|
|
4860
5552
|
| 'thread_id';
|
|
5553
|
+
/** select "thread_artifacts_aggregate_bool_exp_bool_and_arguments_columns" columns of table "thread_artifacts" */
|
|
5554
|
+
type Thread_Artifacts_Select_Column_Thread_Artifacts_Aggregate_Bool_Exp_Bool_And_Arguments_Columns =
|
|
5555
|
+
/** column name */
|
|
5556
|
+
'hidden';
|
|
5557
|
+
/** select "thread_artifacts_aggregate_bool_exp_bool_or_arguments_columns" columns of table "thread_artifacts" */
|
|
5558
|
+
type Thread_Artifacts_Select_Column_Thread_Artifacts_Aggregate_Bool_Exp_Bool_Or_Arguments_Columns =
|
|
5559
|
+
/** column name */
|
|
5560
|
+
'hidden';
|
|
4861
5561
|
type Thread_Event_Mentions_Aggregate_Bool_Exp = {
|
|
4862
5562
|
count?: Thread_Event_Mentions_Aggregate_Bool_Exp_Count | null | undefined;
|
|
4863
5563
|
};
|
|
@@ -5165,6 +5865,19 @@ type Thread_Feedback_Variance_Order_By = {
|
|
|
5165
5865
|
/** -1 means negative, 1 means positive */
|
|
5166
5866
|
feedback?: Order_By | null | undefined;
|
|
5167
5867
|
};
|
|
5868
|
+
type Thread_Lock_Reason_Enum_Enum =
|
|
5869
|
+
/** Thread was forked into a corrupt state and can no longer be used */
|
|
5870
|
+
'CORRUPT_FORKED_STATE'
|
|
5871
|
+
/** Thread ran on the deprecated legacy workflow-agent and can no longer be resumed */
|
|
5872
|
+
| 'WORKFLOW_AGENT_DEPRECATED';
|
|
5873
|
+
/** Boolean expression to compare columns of type "thread_lock_reason_enum_enum". All fields are combined with logical 'AND'. */
|
|
5874
|
+
type Thread_Lock_Reason_Enum_Enum_Comparison_Exp = {
|
|
5875
|
+
_eq?: Thread_Lock_Reason_Enum_Enum | null | undefined;
|
|
5876
|
+
_in?: Array<Thread_Lock_Reason_Enum_Enum> | null | undefined;
|
|
5877
|
+
_is_null?: boolean | null | undefined;
|
|
5878
|
+
_neq?: Thread_Lock_Reason_Enum_Enum | null | undefined;
|
|
5879
|
+
_nin?: Array<Thread_Lock_Reason_Enum_Enum> | null | undefined;
|
|
5880
|
+
};
|
|
5168
5881
|
/** Boolean expression to filter rows from the table "thread_notification_preference_enum". All fields are combined with a logical 'AND'. */
|
|
5169
5882
|
type Thread_Notification_Preference_Enum_Bool_Exp = {
|
|
5170
5883
|
_and?: Array<Thread_Notification_Preference_Enum_Bool_Exp> | null | undefined;
|
|
@@ -5473,8 +6186,22 @@ type Thread_Visibility_Enum_Enum_Comparison_Exp = {
|
|
|
5473
6186
|
_nin?: Array<Thread_Visibility_Enum_Enum> | null | undefined;
|
|
5474
6187
|
};
|
|
5475
6188
|
type Threads_V2_Aggregate_Bool_Exp = {
|
|
6189
|
+
bool_and?: Threads_V2_Aggregate_Bool_Exp_Bool_And | null | undefined;
|
|
6190
|
+
bool_or?: Threads_V2_Aggregate_Bool_Exp_Bool_Or | null | undefined;
|
|
5476
6191
|
count?: Threads_V2_Aggregate_Bool_Exp_Count | null | undefined;
|
|
5477
6192
|
};
|
|
6193
|
+
type Threads_V2_Aggregate_Bool_Exp_Bool_And = {
|
|
6194
|
+
arguments: Threads_V2_Select_Column_Threads_V2_Aggregate_Bool_Exp_Bool_And_Arguments_Columns;
|
|
6195
|
+
distinct?: boolean | null | undefined;
|
|
6196
|
+
filter?: Threads_V2_Bool_Exp | null | undefined;
|
|
6197
|
+
predicate: Boolean_Comparison_Exp;
|
|
6198
|
+
};
|
|
6199
|
+
type Threads_V2_Aggregate_Bool_Exp_Bool_Or = {
|
|
6200
|
+
arguments: Threads_V2_Select_Column_Threads_V2_Aggregate_Bool_Exp_Bool_Or_Arguments_Columns;
|
|
6201
|
+
distinct?: boolean | null | undefined;
|
|
6202
|
+
filter?: Threads_V2_Bool_Exp | null | undefined;
|
|
6203
|
+
predicate: Boolean_Comparison_Exp;
|
|
6204
|
+
};
|
|
5478
6205
|
type Threads_V2_Aggregate_Bool_Exp_Count = {
|
|
5479
6206
|
arguments?: Array<Threads_V2_Select_Column> | null | undefined;
|
|
5480
6207
|
distinct?: boolean | null | undefined;
|
|
@@ -5505,6 +6232,7 @@ type Threads_V2_Bool_Exp = {
|
|
|
5505
6232
|
_and?: Array<Threads_V2_Bool_Exp> | null | undefined;
|
|
5506
6233
|
_not?: Threads_V2_Bool_Exp | null | undefined;
|
|
5507
6234
|
_or?: Array<Threads_V2_Bool_Exp> | null | undefined;
|
|
6235
|
+
artifact_db_identifiers_enforced?: Boolean_Comparison_Exp | null | undefined;
|
|
5508
6236
|
build_id?: Uuid_Comparison_Exp | null | undefined;
|
|
5509
6237
|
created_at?: Timestamptz_Comparison_Exp | null | undefined;
|
|
5510
6238
|
created_from?: String_Comparison_Exp | null | undefined;
|
|
@@ -5515,6 +6243,10 @@ type Threads_V2_Bool_Exp = {
|
|
|
5515
6243
|
interactors?: Promptql_Users_Bool_Exp | null | undefined;
|
|
5516
6244
|
is_starred?: Boolean_Comparison_Exp | null | undefined;
|
|
5517
6245
|
learning_suggestion?: String_Comparison_Exp | null | undefined;
|
|
6246
|
+
llm_config?: Llm_Config_Bool_Exp | null | undefined;
|
|
6247
|
+
llm_config_id?: Uuid_Comparison_Exp | null | undefined;
|
|
6248
|
+
lock_reason?: Thread_Lock_Reason_Enum_Enum_Comparison_Exp | null | undefined;
|
|
6249
|
+
locked_at?: Timestamptz_Comparison_Exp | null | undefined;
|
|
5518
6250
|
message_reactions?: Message_Reactions_Bool_Exp | null | undefined;
|
|
5519
6251
|
message_reactions_aggregate?: Message_Reactions_Aggregate_Bool_Exp | null | undefined;
|
|
5520
6252
|
pinned_threads_v2s?: Pinned_Threads_V2_Bool_Exp | null | undefined;
|
|
@@ -5557,8 +6289,10 @@ type Threads_V2_Max_Order_By = {
|
|
|
5557
6289
|
/** Denormalized first thread_event_id for fast room new-thread queries. */
|
|
5558
6290
|
first_event_id?: Order_By | null | undefined;
|
|
5559
6291
|
forked_from?: Order_By | null | undefined;
|
|
6292
|
+
llm_config_id?: Order_By | null | undefined;
|
|
6293
|
+
locked_at?: Order_By | null | undefined;
|
|
5560
6294
|
project_id?: Order_By | null | undefined;
|
|
5561
|
-
/** The room this thread belongs to.
|
|
6295
|
+
/** The room this thread belongs to. NULL for roomless threads, which are private and visible only to their thread participants. */
|
|
5562
6296
|
room_id?: Order_By | null | undefined;
|
|
5563
6297
|
thread_id?: Order_By | null | undefined;
|
|
5564
6298
|
title?: Order_By | null | undefined;
|
|
@@ -5577,8 +6311,10 @@ type Threads_V2_Min_Order_By = {
|
|
|
5577
6311
|
/** Denormalized first thread_event_id for fast room new-thread queries. */
|
|
5578
6312
|
first_event_id?: Order_By | null | undefined;
|
|
5579
6313
|
forked_from?: Order_By | null | undefined;
|
|
6314
|
+
llm_config_id?: Order_By | null | undefined;
|
|
6315
|
+
locked_at?: Order_By | null | undefined;
|
|
5580
6316
|
project_id?: Order_By | null | undefined;
|
|
5581
|
-
/** The room this thread belongs to.
|
|
6317
|
+
/** The room this thread belongs to. NULL for roomless threads, which are private and visible only to their thread participants. */
|
|
5582
6318
|
room_id?: Order_By | null | undefined;
|
|
5583
6319
|
thread_id?: Order_By | null | undefined;
|
|
5584
6320
|
title?: Order_By | null | undefined;
|
|
@@ -5589,6 +6325,7 @@ type Threads_V2_Min_Order_By = {
|
|
|
5589
6325
|
};
|
|
5590
6326
|
/** Ordering options when selecting data from "threads_v2". */
|
|
5591
6327
|
type Threads_V2_Order_By = {
|
|
6328
|
+
artifact_db_identifiers_enforced?: Order_By | null | undefined;
|
|
5592
6329
|
build_id?: Order_By | null | undefined;
|
|
5593
6330
|
created_at?: Order_By | null | undefined;
|
|
5594
6331
|
created_from?: Order_By | null | undefined;
|
|
@@ -5599,6 +6336,10 @@ type Threads_V2_Order_By = {
|
|
|
5599
6336
|
interactors_aggregate?: Promptql_Users_Aggregate_Order_By | null | undefined;
|
|
5600
6337
|
is_starred?: Order_By | null | undefined;
|
|
5601
6338
|
learning_suggestion?: Order_By | null | undefined;
|
|
6339
|
+
llm_config?: Llm_Config_Order_By | null | undefined;
|
|
6340
|
+
llm_config_id?: Order_By | null | undefined;
|
|
6341
|
+
lock_reason?: Order_By | null | undefined;
|
|
6342
|
+
locked_at?: Order_By | null | undefined;
|
|
5602
6343
|
message_reactions_aggregate?: Message_Reactions_Aggregate_Order_By | null | undefined;
|
|
5603
6344
|
pinned_threads_v2s_aggregate?: Pinned_Threads_V2_Aggregate_Order_By | null | undefined;
|
|
5604
6345
|
project_config?: Project_Configuration_Order_By | null | undefined;
|
|
@@ -5627,7 +6368,9 @@ type Threads_V2_Order_By = {
|
|
|
5627
6368
|
/** select columns of table "threads_v2" */
|
|
5628
6369
|
type Threads_V2_Select_Column =
|
|
5629
6370
|
/** column name */
|
|
5630
|
-
'
|
|
6371
|
+
'artifact_db_identifiers_enforced'
|
|
6372
|
+
/** column name */
|
|
6373
|
+
| 'build_id'
|
|
5631
6374
|
/** column name */
|
|
5632
6375
|
| 'created_at'
|
|
5633
6376
|
/** column name */
|
|
@@ -5640,6 +6383,12 @@ type Threads_V2_Select_Column =
|
|
|
5640
6383
|
| 'first_event_id'
|
|
5641
6384
|
/** column name */
|
|
5642
6385
|
| 'forked_from'
|
|
6386
|
+
/** column name */
|
|
6387
|
+
| 'llm_config_id'
|
|
6388
|
+
/** column name */
|
|
6389
|
+
| 'lock_reason'
|
|
6390
|
+
/** column name */
|
|
6391
|
+
| 'locked_at'
|
|
5643
6392
|
/** column name */
|
|
5644
6393
|
| 'project_id'
|
|
5645
6394
|
/** column name */
|
|
@@ -5654,6 +6403,14 @@ type Threads_V2_Select_Column =
|
|
|
5654
6403
|
| 'user_id'
|
|
5655
6404
|
/** column name */
|
|
5656
6405
|
| 'visibility';
|
|
6406
|
+
/** select "threads_v2_aggregate_bool_exp_bool_and_arguments_columns" columns of table "threads_v2" */
|
|
6407
|
+
type Threads_V2_Select_Column_Threads_V2_Aggregate_Bool_Exp_Bool_And_Arguments_Columns =
|
|
6408
|
+
/** column name */
|
|
6409
|
+
'artifact_db_identifiers_enforced';
|
|
6410
|
+
/** select "threads_v2_aggregate_bool_exp_bool_or_arguments_columns" columns of table "threads_v2" */
|
|
6411
|
+
type Threads_V2_Select_Column_Threads_V2_Aggregate_Bool_Exp_Bool_Or_Arguments_Columns =
|
|
6412
|
+
/** column name */
|
|
6413
|
+
'artifact_db_identifiers_enforced';
|
|
5657
6414
|
/** order by stddev() on columns of table "threads_v2" */
|
|
5658
6415
|
type Threads_V2_Stddev_Order_By = {
|
|
5659
6416
|
/** Denormalized first thread_event_id for fast room new-thread queries. */
|
|
@@ -5870,6 +6627,19 @@ type User_Slack_Notification_Preferences_Order_By = {
|
|
|
5870
6627
|
promptql_user?: Promptql_Users_Order_By | null | undefined;
|
|
5871
6628
|
promptql_user_id?: Order_By | null | undefined;
|
|
5872
6629
|
};
|
|
6630
|
+
type User_Type_Enum_Enum =
|
|
6631
|
+
/** External user; access limited to rooms/threads they are explicitly added to */
|
|
6632
|
+
'external'
|
|
6633
|
+
/** Regular project member with full access */
|
|
6634
|
+
| 'internal';
|
|
6635
|
+
/** Boolean expression to compare columns of type "user_type_enum_enum". All fields are combined with logical 'AND'. */
|
|
6636
|
+
type User_Type_Enum_Enum_Comparison_Exp = {
|
|
6637
|
+
_eq?: User_Type_Enum_Enum | null | undefined;
|
|
6638
|
+
_in?: Array<User_Type_Enum_Enum> | null | undefined;
|
|
6639
|
+
_is_null?: boolean | null | undefined;
|
|
6640
|
+
_neq?: User_Type_Enum_Enum | null | undefined;
|
|
6641
|
+
_nin?: Array<User_Type_Enum_Enum> | null | undefined;
|
|
6642
|
+
};
|
|
5873
6643
|
/** Boolean expression to compare columns of type "uuid". All fields are combined with logical 'AND'. */
|
|
5874
6644
|
type Uuid_Comparison_Exp = {
|
|
5875
6645
|
_eq?: string | null | undefined;
|
|
@@ -5922,6 +6692,8 @@ type CreateRoomMutationVariables = Exact<{
|
|
|
5922
6692
|
name: string;
|
|
5923
6693
|
visibility?: string | null | undefined;
|
|
5924
6694
|
description?: string | null | undefined;
|
|
6695
|
+
allowCrossRoomAccess?: boolean | null | undefined;
|
|
6696
|
+
scopeClaims?: Array<ScopeClaimInput> | ScopeClaimInput | null | undefined;
|
|
5925
6697
|
}>;
|
|
5926
6698
|
type SendThreadMessageMutationVariables = Exact<{
|
|
5927
6699
|
message: string;
|
|
@@ -5934,6 +6706,7 @@ type SendThreadMessageMutation = {
|
|
|
5934
6706
|
send_thread_message: {
|
|
5935
6707
|
thread_event_id: string;
|
|
5936
6708
|
created_at: string;
|
|
6709
|
+
message_id: string;
|
|
5937
6710
|
} | null;
|
|
5938
6711
|
};
|
|
5939
6712
|
type StartThreadMutationVariables = Exact<{
|
|
@@ -5946,6 +6719,8 @@ type StartThreadMutationVariables = Exact<{
|
|
|
5946
6719
|
uploads?: Array<UserUploadInput> | UserUploadInput | null | undefined;
|
|
5947
6720
|
visibility?: string | null | undefined;
|
|
5948
6721
|
createdFrom?: string | null | undefined;
|
|
6722
|
+
llmConfigId?: string | null | undefined;
|
|
6723
|
+
roomless?: boolean | null | undefined;
|
|
5949
6724
|
}>;
|
|
5950
6725
|
type StartThreadMutation = {
|
|
5951
6726
|
start_thread: {
|
|
@@ -5953,6 +6728,7 @@ type StartThreadMutation = {
|
|
|
5953
6728
|
title: string | null;
|
|
5954
6729
|
created_at: string;
|
|
5955
6730
|
updated_at: string;
|
|
6731
|
+
message_id: string;
|
|
5956
6732
|
thread_events: Array<{
|
|
5957
6733
|
created_at: string;
|
|
5958
6734
|
thread_event_id: string;
|
|
@@ -5964,6 +6740,8 @@ type GetProjectInfoQuery = {
|
|
|
5964
6740
|
projectId: string;
|
|
5965
6741
|
projectName: string;
|
|
5966
6742
|
promptqlConsoleUrl: string;
|
|
6743
|
+
promptqlUserId: string | null;
|
|
6744
|
+
controlPlaneUserId: string | null;
|
|
5967
6745
|
} | null;
|
|
5968
6746
|
};
|
|
5969
6747
|
type GetRoomsQueryVariables = Exact<{
|
|
@@ -6037,10 +6815,6 @@ type PromptQLSdkOptions = {
|
|
|
6037
6815
|
* An [IANA timezone](https://data.iana.org/time-zones/tzdb-2021a/zone1970.tab) for interpreting time-based queries. Default is the timezone from the client config.
|
|
6038
6816
|
*/
|
|
6039
6817
|
timezone?: string;
|
|
6040
|
-
/**
|
|
6041
|
-
* UUID of the DDN build. Default is the applied build.
|
|
6042
|
-
*/
|
|
6043
|
-
buildId?: string;
|
|
6044
6818
|
};
|
|
6045
6819
|
/**
|
|
6046
6820
|
* Request arguments of the startThread mutation.
|
|
@@ -6057,8 +6831,35 @@ type StartThreadArguments = {
|
|
|
6057
6831
|
/**
|
|
6058
6832
|
* UUID of the DDN build. Default is the applied build.
|
|
6059
6833
|
*/
|
|
6060
|
-
buildId?: string;
|
|
6061
|
-
|
|
6834
|
+
buildId?: string | null;
|
|
6835
|
+
/**
|
|
6836
|
+
* FQDN of the DDN build. Default is the applied build.
|
|
6837
|
+
*/
|
|
6838
|
+
buildFqdn?: string | null | undefined;
|
|
6839
|
+
/**
|
|
6840
|
+
* Attachments to be uploaded.
|
|
6841
|
+
*/
|
|
6842
|
+
uploads?: UserUploadInput | UserUploadInput[] | null | undefined;
|
|
6843
|
+
/**
|
|
6844
|
+
* Visibility type of the thread.
|
|
6845
|
+
*/
|
|
6846
|
+
visibility?: ThreadVisibilityType;
|
|
6847
|
+
/**
|
|
6848
|
+
* Specify the LLM by ID.
|
|
6849
|
+
*/
|
|
6850
|
+
llmConfigId?: string | null | undefined;
|
|
6851
|
+
} & ({
|
|
6852
|
+
/**
|
|
6853
|
+
* Whether creating the thread without assigning room.
|
|
6854
|
+
*/
|
|
6855
|
+
roomless?: boolean | null | undefined | undefined;
|
|
6856
|
+
} | {
|
|
6857
|
+
/**
|
|
6858
|
+
* ID of the room that thread will be created in.
|
|
6859
|
+
* If roomless is false and roomId is null, the thread will be automatically created in the general room.
|
|
6860
|
+
*/
|
|
6861
|
+
roomId?: string | null | undefined;
|
|
6862
|
+
});
|
|
6062
6863
|
/**
|
|
6063
6864
|
* Output of the startThread mutation.
|
|
6064
6865
|
*/
|
|
@@ -6079,6 +6880,14 @@ type SendMessageToThreadArguments = {
|
|
|
6079
6880
|
* An [IANA timezone](https://data.iana.org/time-zones/tzdb-2021a/zone1970.tab) for interpreting time-based queries. Default is the timezone from the client config.
|
|
6080
6881
|
*/
|
|
6081
6882
|
timezone?: string;
|
|
6883
|
+
/**
|
|
6884
|
+
* FQDN of the DDN build. Default is the applied build.
|
|
6885
|
+
*/
|
|
6886
|
+
buildFqdn?: string | null;
|
|
6887
|
+
/**
|
|
6888
|
+
* Attachments to be uploaded.
|
|
6889
|
+
*/
|
|
6890
|
+
uploads?: Array<UserUploadInput> | UserUploadInput | null;
|
|
6082
6891
|
};
|
|
6083
6892
|
/**
|
|
6084
6893
|
* Output of the continueThread mutation.
|
|
@@ -6180,6 +6989,10 @@ type StreamThreadEventOptions = {
|
|
|
6180
6989
|
*/
|
|
6181
6990
|
timeout?: number;
|
|
6182
6991
|
};
|
|
6992
|
+
/**
|
|
6993
|
+
* Enum type for the visibility of a thread.
|
|
6994
|
+
*/
|
|
6995
|
+
type ThreadVisibilityType = "PUBLIC" | "PRIVATE";
|
|
6183
6996
|
/**
|
|
6184
6997
|
* Enum type for the visibility of a room.
|
|
6185
6998
|
*/
|
|
@@ -6384,11 +7197,11 @@ declare function createWikiPage(client: ApolloClient, { slug, ...others }: Creat
|
|
|
6384
7197
|
/**
|
|
6385
7198
|
* Update a wiki page with content.
|
|
6386
7199
|
*/
|
|
6387
|
-
declare function updateWikiPage(client: ApolloClient, id: string, content: UpdateWikiContentArgs): Promise<string | undefined>;
|
|
7200
|
+
declare function updateWikiPage(client: ApolloClient, id: string, content: UpdateWikiContentArgs): Promise<string | null | undefined>;
|
|
6388
7201
|
/**
|
|
6389
7202
|
* Delete a wiki page by id.
|
|
6390
7203
|
*/
|
|
6391
|
-
declare function deleteWikiPage(client: ApolloClient, id: string): Promise<string | undefined>;
|
|
7204
|
+
declare function deleteWikiPage(client: ApolloClient, id: string): Promise<string | null | undefined>;
|
|
6392
7205
|
|
|
6393
7206
|
/**
|
|
6394
7207
|
* A low-level API class for PromptQL.
|
|
@@ -6397,7 +7210,7 @@ declare class PromptQLApi {
|
|
|
6397
7210
|
readonly options: PromptQLSdkOptions;
|
|
6398
7211
|
readonly defaultTimezone: string;
|
|
6399
7212
|
readonly client: ApolloClient;
|
|
6400
|
-
readonly wsClient: Client;
|
|
7213
|
+
readonly wsClient: Client | null;
|
|
6401
7214
|
private project;
|
|
6402
7215
|
constructor(options: PromptQLSdkOptions);
|
|
6403
7216
|
/**
|
|
@@ -6533,11 +7346,11 @@ declare class Wiki {
|
|
|
6533
7346
|
/**
|
|
6534
7347
|
* Update a wiki page with content.
|
|
6535
7348
|
*/
|
|
6536
|
-
update(id: string, args: UpdateWikiContentArgs): Promise<string | undefined>;
|
|
7349
|
+
update(id: string, args: UpdateWikiContentArgs): Promise<string | null | undefined>;
|
|
6537
7350
|
/**
|
|
6538
7351
|
* Delete a wiki page by ID.
|
|
6539
7352
|
*/
|
|
6540
|
-
delete(id: string): Promise<string | undefined>;
|
|
7353
|
+
delete(id: string): Promise<string | null | undefined>;
|
|
6541
7354
|
}
|
|
6542
7355
|
|
|
6543
7356
|
/**
|
|
@@ -6565,10 +7378,11 @@ type ApolloClientOptions = {
|
|
|
6565
7378
|
url: string;
|
|
6566
7379
|
headers: Record<string, string> | (() => PromiseLike<Record<string, string>>);
|
|
6567
7380
|
fetch?: typeof fetch;
|
|
7381
|
+
disableSubscriptions?: boolean;
|
|
6568
7382
|
};
|
|
6569
7383
|
declare const createApolloClient: (options: ApolloClientOptions) => {
|
|
6570
7384
|
client: ApolloClient;
|
|
6571
|
-
wsClient:
|
|
7385
|
+
wsClient: Client | null;
|
|
6572
7386
|
};
|
|
6573
7387
|
|
|
6574
7388
|
/**
|
|
@@ -6752,4 +7566,4 @@ declare function getAgentInteractionFinishedEvent(eventData: ThreadEvent$1): Int
|
|
|
6752
7566
|
declare function getThreadEventMessageId(event: ThreadEvent$1 | undefined): string | undefined;
|
|
6753
7567
|
declare function buildAuthHeader(accessToken: string): Record<string, string>;
|
|
6754
7568
|
|
|
6755
|
-
export { type AgentGeneratedResponse, type AgentLearningUpdate, type AgentLoopAction, type AgentLoopActionLegacy, type AgentLoopActionResult, type AgentLoopActionUpdate, type AgentLoopActionUpdateUnversioned, type AgentLoopActionUpdateVersioned, type AgentLoopTerminalAction, type AgentLoopUpdate, type AgentTrigger, type AgentUpdate, type AgentUpdateContent, type ApolloClientOptions, type ArtifactDataPreview, type ArtifactError, type ArtifactErrorV1, type ArtifactId, type ArtifactMetadata, type ArtifactReference, type ArtifactReference1, type ArtifactType, type ArtifactUpdate, type ArtifactUpdate1, type AssumptionFactCheck, type BuildError, type BuildErrorV1, type BuiltUi, type BuiltUi1, type CancelAgentMessageMutationVariables, type CheckedAssumption, type CheckedTopic, type CodeBlock, type CodeError, type CodeErrorV1, type CodeExecutionComplete, type CodeOutputAnalysis, type CodeOutputAnalyzed, type ComponentResponse, type ComponentResponse1, type ComponentResponse2, type ComponentResponse3, type ComponentResponse4, type ComponentResponse5, type ConfidenceAnalysis, type ConfidenceAnalysisLlmUsage, type ConfidenceAnalysisUpdate, type ContextExplorerCompleted, type ContextExplorerStarted, type ContextExplorerUpdate, type CopyFileEntry, type CreateRoomArguments, type CreateWikiPageArgs, type DataArtifactUpdated, type DataArtifactUpdatedV1, type DecideNextStepsFields, type EventOfKind, type ExecuteProgramRequestData, type ExecuteProgramRequestProvenance, type ExternalKnowledgeExplorerAttempt, type ExternalKnowledgeExplorerAttempt1, type ExternalKnowledgeSummary, type FactSource, type FederatedWikiName, type GeneratedCode, type GeneratedFile, type GeneratedResponse, type GeneratedUiCode, type GetThreadEventOptions, type GetThreadsQueryVariables, type IPromptQLSdk, type InteractionDecision, type InteractionDecisionAccept, type InteractionDecisionDecline, type InteractionDecisionUpdate, type InteractionFinishedEvent, type InteractionFinishedUpdate, type InteractionOutcome, type InteractionOutcomeStatus, type InteractionUpdate, type InternalError, type InternalErrorV1, type InternalUpdate, type InterruptedByTrigger, type KeysOfUnion, type LearningBlockId, type LearningSuggestion, type LearningSuggestionUpdate, type LearningSuggestionUpdateV1, type ListWikiPageArgs, type LlmResponse, type LlmUsage, type LlmUsageEvent, type LlmUsageEventV1, type MessageProcessingStarted, type MessageProcessingUpdate, type NeedsSupportUpdate, type OrchestratorUpdate, type Order_By, type OutputEmitted, type OutputEmittedV1, type PipelineProgress, type PipelineProgressV1, type PipelineProgressV2, type PipelineRunStepDetails, type PipelineSourceState, type PlanGenerationStarted, type PlanStepGenerated, type PlanningDecisionCompleted, type PlanningDecisionPlanningRequired, type PlanningDecisionStarted, type PlanningDecisionUpdate, type ProgramExecuteOutcome, type ProgramExecuteUpdate, type ProgramExecutionTriggerInterruption, type ProgramId, type ProgramPackageName, type ProgramRunEvent, type ProgramRunSqlExecuteOutcome, type ProgramRunnerAction, type ProgrammerUpdate, type ProjectInfo, type ProjectInfoOutput, PromptQLSdk, type PromptQLSdkOptions, type PromptQlUserId, type PythonRunStepDetails, ROOM_NAME_REGEX, type ResponseGenerationUpdate, type ResponseTruncation, type RoomFragment, type RoomVisibilityType, type RunFinished, type RunFinishedOutcome, type RunFinishedV1, type RunProgramRequest, type RunSavedProgramRequest, type RunStarted, type RunStartedV1, type RunStepDetails, type RuntimeArtifactType, type SavedProgramRunnerUpdate, type SavedProgramRunnerUpdateV0, type ScheduledAgentTriggerEventId, type ScheduledAgentTriggerId, type ScheduledAgentTriggerPayload, type ScheduledAgentTriggerPayloadV1, type ScheduledAgentTriggerType, type SchemaContext, type SchemaExplored, type SchemaExplorerCompleted, type SchemaExplorerStarted, type SchemaExplorerUpdate, type SchemaTask, type SchemaTasksGenerationCompleted, type SchemaTasksGenerationStarted, type SchemaTasksGenerationUpdate, type SearchWikiPageItem, type SearchWikiPagesResult, type SendMessageToThreadArguments, type SendMessageToThreadOutput, type SendThreadMessageMutationVariables, type ServerMetadata, type ShelfActionEvent, type ShelfSchemaName, type ShelfTransactionOpened, type ShelfTransactionOpenedV1, type ShelfTransactionSuspended, type ShelfTransactionSuspendedV1, type ShelfUpdate, type ShelfUpdateV1, type SkillType, type SocialFeedRatingLlmUsage, type SocialFeedRatingUpdate, type Span, type Sql, type SqlError, type SqlErrorType, type SqlErrorV1, type SqlExecuteCompleted, type SqlExecuteCompletedV1, type SqlExecuteOutcome, type SqlExecuteStarted, type SqlExecuteStartedV1, type SqlQueryId, type SqlRunStepDetails, type StartThreadArguments, type StartThreadMutationVariables, type StartThreadOutput, type StartingOrchestrator, type StepExecutionFinished, type StepExecutionFinishedV1, type StepExecutionStarted, type StepExecutionStartedV1, type StepUpdate, type StreamThreadEventOptions, type TargetWikiPage, type TasksGenerated, type Teaching, type TeachingId, type ThreadDetail, type ThreadEvent, type ThreadEvent$1 as ThreadEventData, type ThreadFragment, type ThreadId, type TransactionId, type TzWrapper, USER_AGENT, type UiBuildFailure, type UiBuildRunStepDetails, type UiMetadata, type UiProgrammerUpdate, type UpdateWikiContentArgs, type UserCancel, type UserCancelEvent, type UserEventProvenance, type UserMessage, type UserMessageEvent, type UserUpload, type VersionedAgentUpdate, type VersionedOrUnversionedAgentUpdate, type Warning, type WikiAuditId, type WikiChange, type WikiContent, type WikiDelta, type WikiExplorerCompleted, type WikiExplorerStarted, type WikiExplorerUpdate, type WikiGenerationUpdate, type WikiInfoGenerated, type WikiLearningSuggestionUpdate, type WikiPageDetail, type WikiPageItem, type WikiPageNamespace, type WikiPagePreview, type WikiPageSearchResult, type WikiPageV1, type WikiSection, type WikiSelectionUpdate, type WikiTitle, buildAuthHeader, cancelAgentMessage, createApolloClient, createRoom, createWikiPage, deleteWikiPage, diffThreadEvents, downloadArtifactData, 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, getArtifactMetadata, getProjectInfo, getThread, getThreadAndEvents, getThreadEventMessageId, getThreadEvents, getUserCancelEvent, getUserMessageEvent, getWikiPage, isInteractionAnalyzing, listArtifactMetadataByThreadId, listRooms, listThreads, listWikiPages, searchWikiPages, sendThreadMessage, startThread, streamThreadMessageEvents, subscribeThreadEvents, updateWikiPage, validateRoomName };
|
|
7569
|
+
export { type AgentGeneratedResponse, type AgentLearningUpdate, type AgentLoopAction, type AgentLoopActionLegacy, type AgentLoopActionResult, type AgentLoopActionUpdate, type AgentLoopActionUpdateUnversioned, type AgentLoopActionUpdateVersioned, type AgentLoopTerminalAction, type AgentLoopUpdate, type AgentTrigger, type AgentUpdate, type AgentUpdateContent, type ApolloClientOptions, type ArtifactDataPreview, type ArtifactError, type ArtifactErrorV1, type ArtifactId, type ArtifactMetadata, type ArtifactReference, type ArtifactReference1, type ArtifactType, type ArtifactUpdate, type ArtifactUpdate1, type AssumptionFactCheck, type AutomatedSystemTriggerEventId, type BuildError, type BuildErrorV1, type BuildFqdn, type BuiltUi, type BuiltUi1, type CancelAgentMessageMutationVariables, type CheckedAssumption, type CheckedTopic, type CodeBlock, type CodeError, type CodeErrorV1, type CodeExecutionComplete, type CodeOutputAnalysis, type CodeOutputAnalyzed, type ComponentResponse, type ComponentResponse1, type ComponentResponse2, type ComponentResponse3, type ComponentResponse4, type ComponentResponse5, type ConfidenceAnalysis, type ConfidenceAnalysisLlmUsage, type ConfidenceAnalysisUpdate, type ContextExplorerCompleted, type ContextExplorerStarted, type ContextExplorerUpdate, type CopyFileEntry, type CreateRoomArguments, type CreateWikiPageArgs, type DataArtifactUpdated, type DataArtifactUpdatedV1, type DecideNextStepsFields, type EventOfKind, type ExecuteProgramRequestData, type ExecuteProgramRequestProvenance, type ExecutionMode, type ExecutionTarget, type ExternalKnowledgeExplorerAttempt, type ExternalKnowledgeExplorerAttempt1, type ExternalKnowledgeSummary, type FactSource, type FederatedWikiName, type ForkedArtifactMapping, type GeneratedCode, type GeneratedFile, type GeneratedResponse, type GeneratedUiCode, type GetThreadEventOptions, type GetThreadsQueryVariables, type HttpApprovalDecision, type HttpApprovalDecisionV1, type HttpApprovalOutcome, type HttpExecuteCompleted, type HttpExecuteCompletedV1, type HttpExecuteStarted, type HttpExecuteStartedV1, type IPromptQLSdk, type InteractionDecision, type InteractionDecisionAccept, type InteractionDecisionDecline, type InteractionDecisionUpdate, type InteractionFinishedEvent, type InteractionFinishedUpdate, type InteractionOutcome, type InteractionOutcomeStatus, type InteractionUpdate, type InternalError, type InternalErrorV1, type InternalUpdate, type InterruptedByTrigger, type KeysOfUnion, type LearningBlockId, type LearningSuggestion, type LearningSuggestionUpdate, type LearningSuggestionUpdateV1, type ListWikiPageArgs, type LlmConfigId, type LlmResponse, type LlmUsage, type LlmUsageEvent, type LlmUsageEventV1, type MessageProcessingStarted, type MessageProcessingUpdate, type NeedsSupportUpdate, type OrchestratorUpdate, type Order_By, type OutputEmitted, type OutputEmittedV1, type PipelineProgress, type PipelineProgressV1, type PipelineProgressV2, type PipelineRunStepDetails, type PipelineSourceState, type PlanGenerationStarted, type PlanStepGenerated, type PlanningDecisionCompleted, type PlanningDecisionPlanningRequired, type PlanningDecisionStarted, type PlanningDecisionUpdate, type ProgramExecuteOutcome, type ProgramExecuteUpdate, type ProgramExecutionTriggerInterruption, type ProgramId, type ProgramPackageName, type ProgramRunEvent, type ProgramRunSqlExecuteOutcome, type ProgramRunnerAction, type ProgrammerUpdate, type ProjectInfo, type ProjectInfoOutput, PromptQLSdk, type PromptQLSdkOptions, type PromptQlUserId, type PythonRunStepDetails, ROOM_NAME_REGEX, type ResponseGenerationUpdate, type ResponseTruncation, type RoomFragment, type RoomVisibilityType, type RunFinished, type RunFinishedOutcome, type RunFinishedV1, type RunProgramRequest, type RunSavedProgramRequest, type RunStarted, type RunStartedV1, type RunStepDetails, type RuntimeArtifactType, type SavedProgramRunnerUpdate, type SavedProgramRunnerUpdateV0, type ScasExecuteCompleted, type ScasExecuteCompletedV1, type ScasExecuteStarted, type ScasExecuteStartedV1, type ScheduledAgentTriggerEventId, type ScheduledAgentTriggerId, type ScheduledAgentTriggerPayload, type ScheduledAgentTriggerPayloadV1, type ScheduledAgentTriggerType, type SchemaContext, type SchemaExplored, type SchemaExplorerCompleted, type SchemaExplorerStarted, type SchemaExplorerUpdate, type SchemaTask, type SchemaTasksGenerationCompleted, type SchemaTasksGenerationStarted, type SchemaTasksGenerationUpdate, type SearchHit, type SearchWikiPageItem, type SearchWikiPagesResult, type SendMessageToThreadArguments, type SendMessageToThreadOutput, type SendThreadMessageMutationVariables, type ServerMetadata, type ShelfActionEvent, type ShelfSchemaName, type ShelfTransactionOpened, type ShelfTransactionOpenedV1, type ShelfTransactionSuspended, type ShelfTransactionSuspendedV1, type ShelfUpdate, type ShelfUpdateV1, type SkillType, type SocialFeedRatingLlmUsage, type SocialFeedRatingUpdate, type Span, type Sql, type SqlError, type SqlErrorType, type SqlErrorV1, type SqlExecuteCompleted, type SqlExecuteCompletedV1, type SqlExecuteOutcome, type SqlExecuteStarted, type SqlExecuteStartedV1, type SqlQueryId, type SqlRunStepDetails, type StartThreadArguments, type StartThreadMutationVariables, type StartThreadOutput, type StartingOrchestrator, type StepExecutionFinished, type StepExecutionFinishedV1, type StepExecutionStarted, type StepExecutionStartedV1, type StepUpdate, type StreamThreadEventOptions, type TargetWikiPage, type TasksGenerated, type Teaching, type TeachingId, type ThreadDetail, type ThreadEvent, type ThreadEvent$1 as ThreadEventData, type ThreadFragment, type ThreadId, type ThreadVisibilityType, type TransactionId, type TzWrapper, USER_AGENT, type UiBuildFailure, type UiBuildRunStepDetails, type UiMetadata, type UiProgrammerUpdate, type UpdateWikiContentArgs, type UserCancel, type UserCancelEvent, type UserEventProvenance, type UserMessage, type UserMessageEvent, type UserUpload, type VersionedAgentUpdate, type VersionedOrUnversionedAgentUpdate, type Warning, type WikiAuditId, type WikiChange, type WikiContent, type WikiDelta, type WikiExplorerCompleted, type WikiExplorerStarted, type WikiExplorerUpdate, type WikiGenerationUpdate, type WikiInfoGenerated, type WikiLearningSuggestionUpdate, type WikiPageDetail, type WikiPageItem, type WikiPageNamespace, type WikiPagePreview, type WikiPageSearchResult, type WikiPageSource, type WikiPageV1, type WikiSection, type WikiSelectionUpdate, type WikiTitle, buildAuthHeader, cancelAgentMessage, createApolloClient, createRoom, createWikiPage, deleteWikiPage, diffThreadEvents, downloadArtifactData, 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, getArtifactMetadata, getProjectInfo, getThread, getThreadAndEvents, getThreadEventMessageId, getThreadEvents, getUserCancelEvent, getUserMessageEvent, getWikiPage, isInteractionAnalyzing, listArtifactMetadataByThreadId, listRooms, listThreads, listWikiPages, searchWikiPages, sendThreadMessage, startThread, streamThreadMessageEvents, subscribeThreadEvents, updateWikiPage, validateRoomName };
|