@hasura/promptql 2.0.0-alpha.41 → 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 +880 -68
- package/dist/index.d.ts +880 -68
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +3 -3
package/dist/index.d.ts
CHANGED
|
@@ -19,6 +19,27 @@ type ThreadEvent$1 = {
|
|
|
19
19
|
message: UserMessage;
|
|
20
20
|
provenance?: UserEventProvenance | null;
|
|
21
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
|
+
};
|
|
22
43
|
} | {
|
|
23
44
|
ScheduledAgentTriggerEvent: {
|
|
24
45
|
scheduled_agent_trigger_event_id: ScheduledAgentTriggerEventId;
|
|
@@ -95,18 +116,53 @@ type ThreadEvent$1 = {
|
|
|
95
116
|
update: ProgramExecuteUpdate;
|
|
96
117
|
server_metadata?: ServerMetadata | null;
|
|
97
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
|
+
};
|
|
98
136
|
};
|
|
99
137
|
type PromptQlUserId = string;
|
|
100
138
|
type ArtifactId = string;
|
|
101
139
|
type TzWrapper = string;
|
|
140
|
+
/**
|
|
141
|
+
* Which runtime an interaction runs in / a message requests.
|
|
142
|
+
*/
|
|
143
|
+
type ExecutionMode = "pyodide" | "vm";
|
|
102
144
|
type UserEventProvenance = {
|
|
103
145
|
user: {};
|
|
104
146
|
} | {
|
|
105
147
|
promptql: {
|
|
106
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;
|
|
107
157
|
};
|
|
108
158
|
};
|
|
109
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;
|
|
110
166
|
type ScheduledAgentTriggerEventId = string;
|
|
111
167
|
/**
|
|
112
168
|
* A registered scheduled agent trigger ID
|
|
@@ -117,6 +173,18 @@ type VersionedOrUnversionedAgentUpdate = VersionedAgentUpdate | AgentUpdate;
|
|
|
117
173
|
type AgentUpdateContent = {
|
|
118
174
|
interaction_started: {
|
|
119
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;
|
|
120
188
|
};
|
|
121
189
|
} | {
|
|
122
190
|
interaction_update: InteractionUpdate;
|
|
@@ -140,6 +208,12 @@ type AgentTrigger = {
|
|
|
140
208
|
scheduled_agent_trigger_event_id: ScheduledAgentTriggerEventId;
|
|
141
209
|
};
|
|
142
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;
|
|
143
217
|
type InteractionUpdate = {
|
|
144
218
|
interaction_decision: InteractionDecisionUpdate;
|
|
145
219
|
} | {
|
|
@@ -180,16 +254,34 @@ type WikiSelectionUpdate = {
|
|
|
180
254
|
wiki_pages_selected: {
|
|
181
255
|
wiki_page_titles?: string[] | null;
|
|
182
256
|
target_pages?: TargetWikiPage[] | null;
|
|
183
|
-
/**
|
|
184
|
-
* LLM usage during wiki selection
|
|
185
|
-
*/
|
|
186
|
-
llm_usage?: LlmUsage[];
|
|
187
257
|
/**
|
|
188
258
|
* Which user message this wiki selection is for. `None` for legacy
|
|
189
259
|
* threads or for the current trigger's selection. `Some(id)` for
|
|
190
260
|
* retroactive wiki selection of a past user message.
|
|
191
261
|
*/
|
|
192
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;
|
|
193
285
|
};
|
|
194
286
|
} | {
|
|
195
287
|
completed: {};
|
|
@@ -225,6 +317,12 @@ type WikiTitle = string;
|
|
|
225
317
|
* The name of a federated wiki
|
|
226
318
|
*/
|
|
227
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";
|
|
228
326
|
type AgentLoopUpdate = {
|
|
229
327
|
started: {};
|
|
230
328
|
} | {
|
|
@@ -348,6 +446,11 @@ type AgentLoopActionLegacy = ({
|
|
|
348
446
|
* region of a large file.
|
|
349
447
|
*/
|
|
350
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;
|
|
351
454
|
};
|
|
352
455
|
} | {
|
|
353
456
|
list_files: {
|
|
@@ -368,12 +471,22 @@ type AgentLoopActionLegacy = ({
|
|
|
368
471
|
write_file: {
|
|
369
472
|
path: string;
|
|
370
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;
|
|
371
479
|
};
|
|
372
480
|
} | {
|
|
373
481
|
edit_file: {
|
|
374
482
|
path: string;
|
|
375
483
|
old_text: string;
|
|
376
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;
|
|
377
490
|
};
|
|
378
491
|
} | {
|
|
379
492
|
run_program: {
|
|
@@ -385,6 +498,10 @@ type AgentLoopActionLegacy = ({
|
|
|
385
498
|
*/
|
|
386
499
|
arguments?: string[] | null;
|
|
387
500
|
};
|
|
501
|
+
} | {
|
|
502
|
+
run_shell: {
|
|
503
|
+
command: string;
|
|
504
|
+
};
|
|
388
505
|
} | {
|
|
389
506
|
responding_to_user: {
|
|
390
507
|
message: string;
|
|
@@ -399,6 +516,11 @@ type AgentLoopActionLegacy = ({
|
|
|
399
516
|
federated_wiki_name?: FederatedWikiName | null;
|
|
400
517
|
namespace?: string | null;
|
|
401
518
|
};
|
|
519
|
+
} | {
|
|
520
|
+
read_wiki_page_section: {
|
|
521
|
+
target_page: TargetWikiPage;
|
|
522
|
+
section_title: string;
|
|
523
|
+
};
|
|
402
524
|
} | {
|
|
403
525
|
search_wiki_pages: {
|
|
404
526
|
search_query: string;
|
|
@@ -443,6 +565,10 @@ type AgentLoopActionLegacy = ({
|
|
|
443
565
|
* Follows the database constraint: ^[a-z][a-z0-9_]*$
|
|
444
566
|
*/
|
|
445
567
|
type ProgramPackageName = string;
|
|
568
|
+
/**
|
|
569
|
+
* Which filesystem a file action addressed.
|
|
570
|
+
*/
|
|
571
|
+
type ExecutionTarget = "thread" | "vm";
|
|
446
572
|
type ScheduledAgentTriggerType = {
|
|
447
573
|
one_time: {
|
|
448
574
|
scheduled_for: string;
|
|
@@ -513,6 +639,11 @@ type AgentLoopAction = {
|
|
|
513
639
|
* region of a large file.
|
|
514
640
|
*/
|
|
515
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;
|
|
516
647
|
};
|
|
517
648
|
} | {
|
|
518
649
|
list_files: {
|
|
@@ -533,12 +664,22 @@ type AgentLoopAction = {
|
|
|
533
664
|
write_file: {
|
|
534
665
|
path: string;
|
|
535
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;
|
|
536
672
|
};
|
|
537
673
|
} | {
|
|
538
674
|
edit_file: {
|
|
539
675
|
path: string;
|
|
540
676
|
old_text: string;
|
|
541
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;
|
|
542
683
|
};
|
|
543
684
|
} | {
|
|
544
685
|
run_program: {
|
|
@@ -550,6 +691,10 @@ type AgentLoopAction = {
|
|
|
550
691
|
*/
|
|
551
692
|
arguments?: string[] | null;
|
|
552
693
|
};
|
|
694
|
+
} | {
|
|
695
|
+
run_shell: {
|
|
696
|
+
command: string;
|
|
697
|
+
};
|
|
553
698
|
} | {
|
|
554
699
|
responding_to_user: {
|
|
555
700
|
message: string;
|
|
@@ -564,6 +709,11 @@ type AgentLoopAction = {
|
|
|
564
709
|
federated_wiki_name?: FederatedWikiName | null;
|
|
565
710
|
namespace?: string | null;
|
|
566
711
|
};
|
|
712
|
+
} | {
|
|
713
|
+
read_wiki_page_section: {
|
|
714
|
+
target_page: TargetWikiPage;
|
|
715
|
+
section_title: string;
|
|
716
|
+
};
|
|
567
717
|
} | {
|
|
568
718
|
search_wiki_pages: {
|
|
569
719
|
search_query: string;
|
|
@@ -616,13 +766,12 @@ type AgentLoopAction = {
|
|
|
616
766
|
*/
|
|
617
767
|
type AgentLoopActionUpdate = AgentLoopActionUpdateVersioned | AgentLoopActionUpdateUnversioned;
|
|
618
768
|
/**
|
|
619
|
-
* Versioned shape of [`AgentLoopActionUpdate`].
|
|
620
|
-
* deserializers and consumers but not yet produced by any emitter.
|
|
769
|
+
* Versioned shape of [`AgentLoopActionUpdate`].
|
|
621
770
|
*/
|
|
622
771
|
type AgentLoopActionUpdateVersioned = {
|
|
623
772
|
program_run_event: ProgramRunEvent;
|
|
624
773
|
};
|
|
625
|
-
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;
|
|
626
775
|
type RunStarted = {
|
|
627
776
|
type: "RunStarted";
|
|
628
777
|
} & RunStartedV1;
|
|
@@ -655,6 +804,7 @@ type SqlQueryId = string;
|
|
|
655
804
|
* A SQL query string.
|
|
656
805
|
*/
|
|
657
806
|
type Sql = string;
|
|
807
|
+
type BuildFqdn = string;
|
|
658
808
|
type SqlExecuteCompleted = {
|
|
659
809
|
type: "SqlExecuteCompleted";
|
|
660
810
|
} & SqlExecuteCompletedV1;
|
|
@@ -713,6 +863,8 @@ type PipelineSourceState = {
|
|
|
713
863
|
} | {
|
|
714
864
|
state: unknown;
|
|
715
865
|
type: "python-state";
|
|
866
|
+
} | {
|
|
867
|
+
type: "python-exhausted";
|
|
716
868
|
};
|
|
717
869
|
/**
|
|
718
870
|
* Emitted when the pipeline successfully opens a new shelf transaction.
|
|
@@ -746,6 +898,28 @@ type RunFinishedOutcome = {
|
|
|
746
898
|
type LlmUsageEvent = {
|
|
747
899
|
type: "LlmUsage";
|
|
748
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;
|
|
749
923
|
/**
|
|
750
924
|
* Unversioned shape of [`AgentLoopActionUpdate`]. This is what current
|
|
751
925
|
* emitters produce and what persisted events on disk use.
|
|
@@ -782,6 +956,45 @@ type AgentLoopActionUpdateUnversioned = {
|
|
|
782
956
|
llm_usage: {
|
|
783
957
|
usage: LlmUsage;
|
|
784
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
|
+
};
|
|
785
998
|
};
|
|
786
999
|
type RuntimeArtifactType = "text" | "table" | "visualization" | "html" | "file";
|
|
787
1000
|
type ArtifactDataPreview = {
|
|
@@ -819,6 +1032,24 @@ type AgentLoopActionResult = {
|
|
|
819
1032
|
accessed_artifacts: string[];
|
|
820
1033
|
modified_artifacts: ArtifactUpdate[];
|
|
821
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";
|
|
822
1053
|
} | {
|
|
823
1054
|
message: string;
|
|
824
1055
|
agent_loop_action_result_type: "message_sent";
|
|
@@ -849,17 +1080,34 @@ type AgentLoopActionResult = {
|
|
|
849
1080
|
agent_loop_action_result_type: "operation_failed";
|
|
850
1081
|
} | {
|
|
851
1082
|
page_title: string;
|
|
852
|
-
page: WikiPageV1;
|
|
853
1083
|
federated_wiki_name?: FederatedWikiName | null;
|
|
1084
|
+
/**
|
|
1085
|
+
* Wiki audit cursor at read time — see `WikiPagesSelected.audit_cursor`.
|
|
1086
|
+
*/
|
|
1087
|
+
audit_cursor?: string | null;
|
|
854
1088
|
agent_loop_action_result_type: "wiki_page_read";
|
|
855
1089
|
} | {
|
|
856
1090
|
page_title: string;
|
|
857
|
-
|
|
1091
|
+
/**
|
|
1092
|
+
* Wiki audit cursor at read time — see `WikiPagesSelected.audit_cursor`.
|
|
1093
|
+
*/
|
|
1094
|
+
audit_cursor?: string | null;
|
|
858
1095
|
agent_loop_action_result_type: "prompt_ql_wiki_page_read";
|
|
859
1096
|
} | {
|
|
860
1097
|
page_title: string;
|
|
861
|
-
|
|
1098
|
+
/**
|
|
1099
|
+
* Wiki audit cursor at read time — see `WikiPagesSelected.audit_cursor`.
|
|
1100
|
+
*/
|
|
1101
|
+
audit_cursor?: string | null;
|
|
862
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";
|
|
863
1111
|
} | {
|
|
864
1112
|
/**
|
|
865
1113
|
* Option cause of old events. New events will always have this set.
|
|
@@ -877,6 +1125,10 @@ type AgentLoopActionResult = {
|
|
|
877
1125
|
* Backward compat: LLM summary from old LLM-based format.
|
|
878
1126
|
*/
|
|
879
1127
|
summary?: string | null;
|
|
1128
|
+
/**
|
|
1129
|
+
* Wiki audit cursor at search time — see `WikiPagesSelected.audit_cursor`.
|
|
1130
|
+
*/
|
|
1131
|
+
audit_cursor?: string | null;
|
|
880
1132
|
agent_loop_action_result_type: "wiki_pages_searched";
|
|
881
1133
|
} | {
|
|
882
1134
|
tables: string[];
|
|
@@ -908,10 +1160,6 @@ type AgentLoopActionResult = {
|
|
|
908
1160
|
failed_obsolete_ids?: LearningBlockId[];
|
|
909
1161
|
agent_loop_action_result_type: "learning_block_completed";
|
|
910
1162
|
};
|
|
911
|
-
/**
|
|
912
|
-
* The markdown content of block or section in a wiki page
|
|
913
|
-
*/
|
|
914
|
-
type WikiContent = string;
|
|
915
1163
|
type WikiLearningSuggestionUpdate = {
|
|
916
1164
|
started: {};
|
|
917
1165
|
} | {
|
|
@@ -1942,7 +2190,16 @@ type WikiChange = {
|
|
|
1942
2190
|
DeletedPage: {
|
|
1943
2191
|
page_title: WikiTitle;
|
|
1944
2192
|
};
|
|
2193
|
+
} | {
|
|
2194
|
+
ModifiedGuidePage: {
|
|
2195
|
+
guide_title: WikiTitle;
|
|
2196
|
+
modified_details: WikiContent;
|
|
2197
|
+
};
|
|
1945
2198
|
};
|
|
2199
|
+
/**
|
|
2200
|
+
* The markdown content of block or section in a wiki page
|
|
2201
|
+
*/
|
|
2202
|
+
type WikiContent = string;
|
|
1946
2203
|
type LearningSuggestionUpdate = LearningSuggestionUpdateV1;
|
|
1947
2204
|
type LearningSuggestionUpdateV1 = {
|
|
1948
2205
|
StartedGeneration: {
|
|
@@ -2041,7 +2298,7 @@ type AgentLearningUpdate = {
|
|
|
2041
2298
|
ApplyingWikiChanges: {};
|
|
2042
2299
|
} | {
|
|
2043
2300
|
WikiChangesApplied: {
|
|
2044
|
-
build_id
|
|
2301
|
+
build_id?: string | null;
|
|
2045
2302
|
audit_ids?: WikiAuditId[] | null;
|
|
2046
2303
|
};
|
|
2047
2304
|
} | {
|
|
@@ -2130,6 +2387,10 @@ type ExecuteProgramRequestProvenance = {
|
|
|
2130
2387
|
Artifact: {
|
|
2131
2388
|
artifact_reference: ArtifactReference1;
|
|
2132
2389
|
};
|
|
2390
|
+
} | {
|
|
2391
|
+
Thread: {
|
|
2392
|
+
thread_id: ThreadId;
|
|
2393
|
+
};
|
|
2133
2394
|
};
|
|
2134
2395
|
/**
|
|
2135
2396
|
* Versioned update emitted by an `ExecuteProgramResponse` thread event.
|
|
@@ -2199,6 +2460,12 @@ interface UserMessage {
|
|
|
2199
2460
|
* Controls whether the agent should respond to this message.
|
|
2200
2461
|
*/
|
|
2201
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;
|
|
2202
2469
|
}
|
|
2203
2470
|
/**
|
|
2204
2471
|
* A file or data artifact uploaded by a user as part of their message
|
|
@@ -2224,6 +2491,23 @@ interface VersionedAgentUpdate {
|
|
|
2224
2491
|
timestamp: string;
|
|
2225
2492
|
content: AgentUpdateContent;
|
|
2226
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
|
+
}
|
|
2227
2511
|
/**
|
|
2228
2512
|
* Language model usage statistics
|
|
2229
2513
|
*
|
|
@@ -2353,6 +2637,10 @@ interface SqlExecuteStartedV1 {
|
|
|
2353
2637
|
sql_query_id: SqlQueryId;
|
|
2354
2638
|
sql: Sql;
|
|
2355
2639
|
is_streaming: boolean;
|
|
2640
|
+
/**
|
|
2641
|
+
* `build_fqdn` resolved at dispatch time, when available.
|
|
2642
|
+
*/
|
|
2643
|
+
build_fqdn?: BuildFqdn | null;
|
|
2356
2644
|
version: "V1";
|
|
2357
2645
|
}
|
|
2358
2646
|
interface SqlExecuteCompletedV1 {
|
|
@@ -2415,54 +2703,72 @@ interface LlmUsageEventV1 {
|
|
|
2415
2703
|
usage: LlmUsage;
|
|
2416
2704
|
version: "V1";
|
|
2417
2705
|
}
|
|
2418
|
-
interface
|
|
2419
|
-
|
|
2420
|
-
|
|
2421
|
-
|
|
2422
|
-
|
|
2423
|
-
|
|
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";
|
|
2424
2714
|
}
|
|
2425
|
-
|
|
2426
|
-
|
|
2427
|
-
|
|
2428
|
-
|
|
2429
|
-
|
|
2430
|
-
|
|
2431
|
-
|
|
2432
|
-
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;
|
|
2433
2722
|
/**
|
|
2434
|
-
*
|
|
2723
|
+
* Integration id (e.g. `__gemini-api`), or `None` for plain HTTP.
|
|
2435
2724
|
*/
|
|
2436
|
-
|
|
2725
|
+
provider_id?: string | null;
|
|
2437
2726
|
/**
|
|
2438
|
-
*
|
|
2727
|
+
* The request URL, unmasked (masking happens in the DP->CP push).
|
|
2439
2728
|
*/
|
|
2440
|
-
|
|
2729
|
+
url?: string | null;
|
|
2441
2730
|
/**
|
|
2442
|
-
*
|
|
2731
|
+
* HTTP method (e.g. `GET` / `POST`).
|
|
2443
2732
|
*/
|
|
2444
|
-
|
|
2733
|
+
method?: string | null;
|
|
2445
2734
|
/**
|
|
2446
|
-
*
|
|
2735
|
+
* Request body size in bytes (denormalised from the start event).
|
|
2447
2736
|
*/
|
|
2448
|
-
|
|
2737
|
+
request_bytes?: number | null;
|
|
2449
2738
|
/**
|
|
2450
|
-
*
|
|
2739
|
+
* Provider-shaped usage as JSON-encoded text (parsed to a jsonb object by
|
|
2740
|
+
* the DP->CP push before insertion into lux).
|
|
2451
2741
|
*/
|
|
2452
|
-
|
|
2742
|
+
usage_data?: string | null;
|
|
2743
|
+
version: "V1";
|
|
2453
2744
|
}
|
|
2454
|
-
|
|
2455
|
-
|
|
2456
|
-
|
|
2457
|
-
|
|
2458
|
-
|
|
2459
|
-
|
|
2460
|
-
|
|
2461
|
-
|
|
2462
|
-
|
|
2463
|
-
|
|
2464
|
-
|
|
2465
|
-
|
|
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;
|
|
2466
2772
|
}
|
|
2467
2773
|
/**
|
|
2468
2774
|
* Per-page search result stored in the event log.
|
|
@@ -2470,11 +2776,16 @@ interface WikiSection {
|
|
|
2470
2776
|
interface WikiPageSearchResult {
|
|
2471
2777
|
page: WikiPagePreview;
|
|
2472
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;
|
|
2473
2785
|
}
|
|
2474
2786
|
interface WikiPagePreview {
|
|
2475
2787
|
page_title: WikiTitle;
|
|
2476
2788
|
federated_wiki_name?: FederatedWikiName | null;
|
|
2477
|
-
definition?: WikiContent | null;
|
|
2478
2789
|
aliases: WikiTitle[];
|
|
2479
2790
|
}
|
|
2480
2791
|
interface LlmResponse {
|
|
@@ -3042,6 +3353,48 @@ interface WikiDelta {
|
|
|
3042
3353
|
changes: WikiChange[];
|
|
3043
3354
|
nudge_text: string;
|
|
3044
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
|
+
}
|
|
3045
3398
|
/**
|
|
3046
3399
|
* Metadata about the server instance that emitted an event. Used to detect
|
|
3047
3400
|
* when an event was authored by a worker other than the one that is currently
|
|
@@ -3108,6 +3461,14 @@ interface ExecuteProgramRequestData {
|
|
|
3108
3461
|
*/
|
|
3109
3462
|
request_provenance?: ExecuteProgramRequestProvenance | null;
|
|
3110
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
|
+
}
|
|
3111
3472
|
|
|
3112
3473
|
/** Internal type. DO NOT USE DIRECTLY. */
|
|
3113
3474
|
type Exact<T extends {
|
|
@@ -3143,6 +3504,11 @@ type Int_Comparison_Exp = {
|
|
|
3143
3504
|
_neq?: number | null | undefined;
|
|
3144
3505
|
_nin?: Array<number> | null | undefined;
|
|
3145
3506
|
};
|
|
3507
|
+
type ScopeClaimInput = {
|
|
3508
|
+
claimKeyId: string;
|
|
3509
|
+
level?: string | null | undefined;
|
|
3510
|
+
value?: string | null | undefined;
|
|
3511
|
+
};
|
|
3146
3512
|
/** Boolean expression to compare columns of type "String". All fields are combined with logical 'AND'. */
|
|
3147
3513
|
type String_Comparison_Exp = {
|
|
3148
3514
|
_eq?: string | null | undefined;
|
|
@@ -3253,6 +3619,7 @@ type Admin_Wiki_Bool_Exp = {
|
|
|
3253
3619
|
content?: Jsonb_Comparison_Exp | null | undefined;
|
|
3254
3620
|
created_at?: Timestamptz_Comparison_Exp | null | undefined;
|
|
3255
3621
|
created_by_user_id?: Uuid_Comparison_Exp | null | undefined;
|
|
3622
|
+
definition_excerpt?: String_Comparison_Exp | null | undefined;
|
|
3256
3623
|
deleted_at?: Timestamptz_Comparison_Exp | null | undefined;
|
|
3257
3624
|
effective_permission?: String_Comparison_Exp | null | undefined;
|
|
3258
3625
|
federated_by?: Admin_Federated_Wiki_Bool_Exp | null | undefined;
|
|
@@ -3261,7 +3628,12 @@ type Admin_Wiki_Bool_Exp = {
|
|
|
3261
3628
|
last_modified_by_user_id?: Uuid_Comparison_Exp | null | undefined;
|
|
3262
3629
|
page_id?: String_Comparison_Exp | null | undefined;
|
|
3263
3630
|
permissions?: Admin_Wiki_Permission_Bool_Exp | null | undefined;
|
|
3631
|
+
project_configuration?: Project_Configuration_Bool_Exp | null | undefined;
|
|
3264
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;
|
|
3265
3637
|
};
|
|
3266
3638
|
/** Ordering options when selecting data from "admin.wiki". */
|
|
3267
3639
|
type Admin_Wiki_Order_By = {
|
|
@@ -3269,6 +3641,7 @@ type Admin_Wiki_Order_By = {
|
|
|
3269
3641
|
content?: Order_By | null | undefined;
|
|
3270
3642
|
created_at?: Order_By | null | undefined;
|
|
3271
3643
|
created_by_user_id?: Order_By | null | undefined;
|
|
3644
|
+
definition_excerpt?: Order_By | null | undefined;
|
|
3272
3645
|
deleted_at?: Order_By | null | undefined;
|
|
3273
3646
|
effective_permission?: Order_By | null | undefined;
|
|
3274
3647
|
federated_by_aggregate?: Admin_Federated_Wiki_Aggregate_Order_By | null | undefined;
|
|
@@ -3277,7 +3650,10 @@ type Admin_Wiki_Order_By = {
|
|
|
3277
3650
|
last_modified_by_user_id?: Order_By | null | undefined;
|
|
3278
3651
|
page_id?: Order_By | null | undefined;
|
|
3279
3652
|
permissions_aggregate?: Admin_Wiki_Permission_Aggregate_Order_By | null | undefined;
|
|
3653
|
+
project_configuration?: Project_Configuration_Order_By | null | undefined;
|
|
3280
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;
|
|
3281
3657
|
};
|
|
3282
3658
|
/** order by aggregate values of table "admin.wiki_permission" */
|
|
3283
3659
|
type Admin_Wiki_Permission_Aggregate_Order_By = {
|
|
@@ -3291,6 +3667,7 @@ type Admin_Wiki_Permission_Bool_Exp = {
|
|
|
3291
3667
|
_not?: Admin_Wiki_Permission_Bool_Exp | null | undefined;
|
|
3292
3668
|
_or?: Array<Admin_Wiki_Permission_Bool_Exp> | null | undefined;
|
|
3293
3669
|
claim_key?: String_Comparison_Exp | null | undefined;
|
|
3670
|
+
claim_key_id?: Uuid_Comparison_Exp | null | undefined;
|
|
3294
3671
|
claim_value?: String_Comparison_Exp | null | undefined;
|
|
3295
3672
|
created_at?: Timestamptz_Comparison_Exp | null | undefined;
|
|
3296
3673
|
granted_by_user?: Promptql_Users_Bool_Exp | null | undefined;
|
|
@@ -3309,7 +3686,7 @@ type Admin_Wiki_Permission_Bool_Exp = {
|
|
|
3309
3686
|
};
|
|
3310
3687
|
/** order by max() on columns of table "admin.wiki_permission" */
|
|
3311
3688
|
type Admin_Wiki_Permission_Max_Order_By = {
|
|
3312
|
-
|
|
3689
|
+
claim_key_id?: Order_By | null | undefined;
|
|
3313
3690
|
claim_value?: Order_By | null | undefined;
|
|
3314
3691
|
created_at?: Order_By | null | undefined;
|
|
3315
3692
|
granted_by_user_id?: Order_By | null | undefined;
|
|
@@ -3323,7 +3700,7 @@ type Admin_Wiki_Permission_Max_Order_By = {
|
|
|
3323
3700
|
};
|
|
3324
3701
|
/** order by min() on columns of table "admin.wiki_permission" */
|
|
3325
3702
|
type Admin_Wiki_Permission_Min_Order_By = {
|
|
3326
|
-
|
|
3703
|
+
claim_key_id?: Order_By | null | undefined;
|
|
3327
3704
|
claim_value?: Order_By | null | undefined;
|
|
3328
3705
|
created_at?: Order_By | null | undefined;
|
|
3329
3706
|
granted_by_user_id?: Order_By | null | undefined;
|
|
@@ -3335,6 +3712,68 @@ type Admin_Wiki_Permission_Min_Order_By = {
|
|
|
3335
3712
|
updated_by_user_id?: Order_By | null | undefined;
|
|
3336
3713
|
wiki_id?: Order_By | null | undefined;
|
|
3337
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';
|
|
3338
3777
|
type Artifact_Versions_Aggregate_Bool_Exp = {
|
|
3339
3778
|
count?: Artifact_Versions_Aggregate_Bool_Exp_Count | null | undefined;
|
|
3340
3779
|
};
|
|
@@ -3602,18 +4041,23 @@ type Custom_Claim_Assignments_Bool_Exp = {
|
|
|
3602
4041
|
claim_key_id?: Uuid_Comparison_Exp | null | undefined;
|
|
3603
4042
|
claim_value?: String_Comparison_Exp | null | undefined;
|
|
3604
4043
|
custom_claim_key?: Custom_Claim_Keys_Bool_Exp | null | undefined;
|
|
4044
|
+
wiki_permissions?: String_Comparison_Exp | null | undefined;
|
|
3605
4045
|
};
|
|
3606
4046
|
/** order by max() on columns of table "custom_claim_assignments" */
|
|
3607
4047
|
type Custom_Claim_Assignments_Max_Order_By = {
|
|
3608
4048
|
assignee_id?: Order_By | null | undefined;
|
|
3609
4049
|
claim_key_id?: Order_By | null | undefined;
|
|
3610
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;
|
|
3611
4053
|
};
|
|
3612
4054
|
/** order by min() on columns of table "custom_claim_assignments" */
|
|
3613
4055
|
type Custom_Claim_Assignments_Min_Order_By = {
|
|
3614
4056
|
assignee_id?: Order_By | null | undefined;
|
|
3615
4057
|
claim_key_id?: Order_By | null | undefined;
|
|
3616
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;
|
|
3617
4061
|
};
|
|
3618
4062
|
/** Boolean expression to filter rows from the table "custom_claim_keys". All fields are combined with a logical 'AND'. */
|
|
3619
4063
|
type Custom_Claim_Keys_Bool_Exp = {
|
|
@@ -3681,6 +4125,33 @@ type Jsonb_Comparison_Exp = {
|
|
|
3681
4125
|
_neq?: any;
|
|
3682
4126
|
_nin?: Array<any> | null | undefined;
|
|
3683
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
|
+
};
|
|
3684
4155
|
type Message_Reactions_Aggregate_Bool_Exp = {
|
|
3685
4156
|
count?: Message_Reactions_Aggregate_Bool_Exp_Count | null | undefined;
|
|
3686
4157
|
};
|
|
@@ -4086,6 +4557,10 @@ type Project_Configuration_Bool_Exp = {
|
|
|
4086
4557
|
_and?: Array<Project_Configuration_Bool_Exp> | null | undefined;
|
|
4087
4558
|
_not?: Project_Configuration_Bool_Exp | null | undefined;
|
|
4088
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;
|
|
4089
4564
|
created_at?: Timestamptz_Comparison_Exp | null | undefined;
|
|
4090
4565
|
data_studio?: Boolean_Comparison_Exp | null | undefined;
|
|
4091
4566
|
default_onboarding_modal_visibility?: Boolean_Comparison_Exp | null | undefined;
|
|
@@ -4094,13 +4569,20 @@ type Project_Configuration_Bool_Exp = {
|
|
|
4094
4569
|
default_thread_visibility?: Thread_Visibility_Enum_Enum_Comparison_Exp | null | undefined;
|
|
4095
4570
|
enable_social_feed?: Boolean_Comparison_Exp | null | undefined;
|
|
4096
4571
|
github_installations?: Jsonb_Comparison_Exp | null | undefined;
|
|
4572
|
+
is_community_project?: Boolean_Comparison_Exp | null | undefined;
|
|
4097
4573
|
project_id?: Uuid_Comparison_Exp | null | undefined;
|
|
4574
|
+
restrict_member_add_to_admins?: Boolean_Comparison_Exp | null | undefined;
|
|
4098
4575
|
show_github_project_onboarding?: Boolean_Comparison_Exp | null | undefined;
|
|
4099
4576
|
thread_sharing_enabled?: Boolean_Comparison_Exp | null | undefined;
|
|
4100
4577
|
updated_at?: Timestamptz_Comparison_Exp | null | undefined;
|
|
4578
|
+
world_readable_enabled?: Boolean_Comparison_Exp | null | undefined;
|
|
4101
4579
|
};
|
|
4102
4580
|
/** Ordering options when selecting data from "project_configuration". */
|
|
4103
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;
|
|
4104
4586
|
created_at?: Order_By | null | undefined;
|
|
4105
4587
|
data_studio?: Order_By | null | undefined;
|
|
4106
4588
|
default_onboarding_modal_visibility?: Order_By | null | undefined;
|
|
@@ -4109,10 +4591,13 @@ type Project_Configuration_Order_By = {
|
|
|
4109
4591
|
default_thread_visibility?: Order_By | null | undefined;
|
|
4110
4592
|
enable_social_feed?: Order_By | null | undefined;
|
|
4111
4593
|
github_installations?: Order_By | null | undefined;
|
|
4594
|
+
is_community_project?: Order_By | null | undefined;
|
|
4112
4595
|
project_id?: Order_By | null | undefined;
|
|
4596
|
+
restrict_member_add_to_admins?: Order_By | null | undefined;
|
|
4113
4597
|
show_github_project_onboarding?: Order_By | null | undefined;
|
|
4114
4598
|
thread_sharing_enabled?: Order_By | null | undefined;
|
|
4115
4599
|
updated_at?: Order_By | null | undefined;
|
|
4600
|
+
world_readable_enabled?: Order_By | null | undefined;
|
|
4116
4601
|
};
|
|
4117
4602
|
/** order by aggregate values of table "promptql_users" */
|
|
4118
4603
|
type Promptql_Users_Aggregate_Order_By = {
|
|
@@ -4137,16 +4622,20 @@ type Promptql_Users_Bool_Exp = {
|
|
|
4137
4622
|
_and?: Array<Promptql_Users_Bool_Exp> | null | undefined;
|
|
4138
4623
|
_not?: Promptql_Users_Bool_Exp | null | undefined;
|
|
4139
4624
|
_or?: Array<Promptql_Users_Bool_Exp> | null | undefined;
|
|
4625
|
+
avatar_path?: String_Comparison_Exp | null | undefined;
|
|
4140
4626
|
control_plane_user_id?: Uuid_Comparison_Exp | null | undefined;
|
|
4141
4627
|
created_at?: Timestamptz_Comparison_Exp | null | undefined;
|
|
4142
4628
|
custom_claim_assignments?: Custom_Claim_Assignments_Bool_Exp | null | undefined;
|
|
4143
4629
|
display_name?: String_Comparison_Exp | null | undefined;
|
|
4144
4630
|
email?: Citext_Comparison_Exp | null | undefined;
|
|
4631
|
+
external_user_data_access?: Boolean_Comparison_Exp | null | undefined;
|
|
4145
4632
|
is_active?: Boolean_Comparison_Exp | null | undefined;
|
|
4146
4633
|
is_app_admin?: Boolean_Comparison_Exp | null | undefined;
|
|
4147
4634
|
is_bot?: Boolean_Comparison_Exp | null | undefined;
|
|
4635
|
+
project_configuration?: Project_Configuration_Bool_Exp | null | undefined;
|
|
4148
4636
|
project_id?: Uuid_Comparison_Exp | null | undefined;
|
|
4149
4637
|
promptql_user_id?: Uuid_Comparison_Exp | null | undefined;
|
|
4638
|
+
rooms_participants?: Rooms_Participants_Bool_Exp | null | undefined;
|
|
4150
4639
|
slack_info?: Slack_Info_Bool_Exp | null | undefined;
|
|
4151
4640
|
starred_artifacts?: Starred_Artifacts_Bool_Exp | null | undefined;
|
|
4152
4641
|
starred_threads?: Starred_Threads_Bool_Exp | null | undefined;
|
|
@@ -4156,12 +4645,14 @@ type Promptql_Users_Bool_Exp = {
|
|
|
4156
4645
|
user_group_members?: User_Group_Members_Bool_Exp | null | undefined;
|
|
4157
4646
|
user_preference?: User_Preferences_Bool_Exp | null | undefined;
|
|
4158
4647
|
user_slack_notification_preference?: User_Slack_Notification_Preferences_Bool_Exp | null | undefined;
|
|
4648
|
+
user_type?: User_Type_Enum_Enum_Comparison_Exp | null | undefined;
|
|
4159
4649
|
weight?: Int_Comparison_Exp | null | undefined;
|
|
4160
4650
|
wiki?: Admin_Wiki_Bool_Exp | null | undefined;
|
|
4161
4651
|
wiki_id?: Uuid_Comparison_Exp | null | undefined;
|
|
4162
4652
|
};
|
|
4163
4653
|
/** order by max() on columns of table "promptql_users" */
|
|
4164
4654
|
type Promptql_Users_Max_Order_By = {
|
|
4655
|
+
avatar_path?: Order_By | null | undefined;
|
|
4165
4656
|
control_plane_user_id?: Order_By | null | undefined;
|
|
4166
4657
|
created_at?: Order_By | null | undefined;
|
|
4167
4658
|
display_name?: Order_By | null | undefined;
|
|
@@ -4174,6 +4665,7 @@ type Promptql_Users_Max_Order_By = {
|
|
|
4174
4665
|
};
|
|
4175
4666
|
/** order by min() on columns of table "promptql_users" */
|
|
4176
4667
|
type Promptql_Users_Min_Order_By = {
|
|
4668
|
+
avatar_path?: Order_By | null | undefined;
|
|
4177
4669
|
control_plane_user_id?: Order_By | null | undefined;
|
|
4178
4670
|
created_at?: Order_By | null | undefined;
|
|
4179
4671
|
display_name?: Order_By | null | undefined;
|
|
@@ -4186,16 +4678,20 @@ type Promptql_Users_Min_Order_By = {
|
|
|
4186
4678
|
};
|
|
4187
4679
|
/** Ordering options when selecting data from "promptql_users". */
|
|
4188
4680
|
type Promptql_Users_Order_By = {
|
|
4681
|
+
avatar_path?: Order_By | null | undefined;
|
|
4189
4682
|
control_plane_user_id?: Order_By | null | undefined;
|
|
4190
4683
|
created_at?: Order_By | null | undefined;
|
|
4191
4684
|
custom_claim_assignments_aggregate?: Custom_Claim_Assignments_Aggregate_Order_By | null | undefined;
|
|
4192
4685
|
display_name?: Order_By | null | undefined;
|
|
4193
4686
|
email?: Order_By | null | undefined;
|
|
4687
|
+
external_user_data_access?: Order_By | null | undefined;
|
|
4194
4688
|
is_active?: Order_By | null | undefined;
|
|
4195
4689
|
is_app_admin?: Order_By | null | undefined;
|
|
4196
4690
|
is_bot?: Order_By | null | undefined;
|
|
4691
|
+
project_configuration?: Project_Configuration_Order_By | null | undefined;
|
|
4197
4692
|
project_id?: Order_By | null | undefined;
|
|
4198
4693
|
promptql_user_id?: Order_By | null | undefined;
|
|
4694
|
+
rooms_participants_aggregate?: Rooms_Participants_Aggregate_Order_By | null | undefined;
|
|
4199
4695
|
slack_info?: Slack_Info_Order_By | null | undefined;
|
|
4200
4696
|
starred_artifacts_aggregate?: Starred_Artifacts_Aggregate_Order_By | null | undefined;
|
|
4201
4697
|
starred_threads_aggregate?: Starred_Threads_Aggregate_Order_By | null | undefined;
|
|
@@ -4204,6 +4700,7 @@ type Promptql_Users_Order_By = {
|
|
|
4204
4700
|
user_group_members_aggregate?: User_Group_Members_Aggregate_Order_By | null | undefined;
|
|
4205
4701
|
user_preference?: User_Preferences_Order_By | null | undefined;
|
|
4206
4702
|
user_slack_notification_preference?: User_Slack_Notification_Preferences_Order_By | null | undefined;
|
|
4703
|
+
user_type?: Order_By | null | undefined;
|
|
4207
4704
|
weight?: Order_By | null | undefined;
|
|
4208
4705
|
wiki?: Admin_Wiki_Order_By | null | undefined;
|
|
4209
4706
|
wiki_id?: Order_By | null | undefined;
|
|
@@ -4364,6 +4861,104 @@ type Room_Pinned_Artifact_Order_By = {
|
|
|
4364
4861
|
room?: Rooms_Order_By | null | undefined;
|
|
4365
4862
|
room_id?: Order_By | null | undefined;
|
|
4366
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
|
+
};
|
|
4367
4962
|
/** Boolean expression to filter rows from the table "rooms". All fields are combined with a logical 'AND'. */
|
|
4368
4963
|
type Rooms_Bool_Exp = {
|
|
4369
4964
|
_and?: Array<Rooms_Bool_Exp> | null | undefined;
|
|
@@ -4371,6 +4966,7 @@ type Rooms_Bool_Exp = {
|
|
|
4371
4966
|
_or?: Array<Rooms_Bool_Exp> | null | undefined;
|
|
4372
4967
|
active_members?: Room_Active_Member_Bool_Exp | null | undefined;
|
|
4373
4968
|
active_members_count?: Int_Comparison_Exp | null | undefined;
|
|
4969
|
+
allow_cross_room_access?: Boolean_Comparison_Exp | null | undefined;
|
|
4374
4970
|
created_at?: Timestamptz_Comparison_Exp | null | undefined;
|
|
4375
4971
|
deleted_at?: Timestamptz_Comparison_Exp | null | undefined;
|
|
4376
4972
|
description?: String_Comparison_Exp | null | undefined;
|
|
@@ -4383,6 +4979,8 @@ type Rooms_Bool_Exp = {
|
|
|
4383
4979
|
public_room_active_users?: Public_Room_Active_Users_Bool_Exp | null | undefined;
|
|
4384
4980
|
room_id?: Uuid_Comparison_Exp | null | undefined;
|
|
4385
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;
|
|
4386
4984
|
rooms_participants?: Rooms_Participants_Bool_Exp | null | undefined;
|
|
4387
4985
|
threads?: Threads_V2_Bool_Exp | null | undefined;
|
|
4388
4986
|
threads_aggregate?: Threads_V2_Aggregate_Bool_Exp | null | undefined;
|
|
@@ -4393,10 +4991,37 @@ type Rooms_Bool_Exp = {
|
|
|
4393
4991
|
wiki?: Admin_Wiki_Bool_Exp | null | undefined;
|
|
4394
4992
|
wiki_id?: Uuid_Comparison_Exp | null | undefined;
|
|
4395
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
|
+
};
|
|
4396
5020
|
/** Ordering options when selecting data from "rooms". */
|
|
4397
5021
|
type Rooms_Order_By = {
|
|
4398
5022
|
active_members_aggregate?: Room_Active_Member_Aggregate_Order_By | null | undefined;
|
|
4399
5023
|
active_members_count?: Order_By | null | undefined;
|
|
5024
|
+
allow_cross_room_access?: Order_By | null | undefined;
|
|
4400
5025
|
created_at?: Order_By | null | undefined;
|
|
4401
5026
|
deleted_at?: Order_By | null | undefined;
|
|
4402
5027
|
description?: Order_By | null | undefined;
|
|
@@ -4409,6 +5034,7 @@ type Rooms_Order_By = {
|
|
|
4409
5034
|
public_room_active_users_aggregate?: Public_Room_Active_Users_Aggregate_Order_By | null | undefined;
|
|
4410
5035
|
room_id?: Order_By | null | undefined;
|
|
4411
5036
|
room_pinned_artifact?: Room_Pinned_Artifact_Order_By | null | undefined;
|
|
5037
|
+
room_scope_claims_aggregate?: Room_Scope_Claims_Aggregate_Order_By | null | undefined;
|
|
4412
5038
|
rooms_participants_aggregate?: Rooms_Participants_Aggregate_Order_By | null | undefined;
|
|
4413
5039
|
threads_aggregate?: Threads_V2_Aggregate_Order_By | null | undefined;
|
|
4414
5040
|
updated_at?: Order_By | null | undefined;
|
|
@@ -4451,6 +5077,38 @@ type Rooms_Participants_Min_Order_By = {
|
|
|
4451
5077
|
room_id?: Order_By | null | undefined;
|
|
4452
5078
|
updated_at?: Order_By | null | undefined;
|
|
4453
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';
|
|
4454
5112
|
/** order by aggregate values of table "shared_threads" */
|
|
4455
5113
|
type Shared_Threads_Aggregate_Order_By = {
|
|
4456
5114
|
avg?: Shared_Threads_Avg_Order_By | null | undefined;
|
|
@@ -4582,33 +5240,46 @@ type Slack_Integration_Bool_Exp = {
|
|
|
4582
5240
|
chat_enabled?: Boolean_Comparison_Exp | null | undefined;
|
|
4583
5241
|
created_at?: Timestamptz_Comparison_Exp | null | undefined;
|
|
4584
5242
|
created_by?: Uuid_Comparison_Exp | null | undefined;
|
|
5243
|
+
default_llm_config_id?: Uuid_Comparison_Exp | null | undefined;
|
|
4585
5244
|
id?: Uuid_Comparison_Exp | null | undefined;
|
|
4586
5245
|
is_global_app?: Boolean_Comparison_Exp | null | undefined;
|
|
5246
|
+
mention_dm_notifications_enabled?: Boolean_Comparison_Exp | null | undefined;
|
|
4587
5247
|
project_id?: Uuid_Comparison_Exp | null | undefined;
|
|
4588
5248
|
promptql_user?: Promptql_Users_Bool_Exp | null | undefined;
|
|
4589
5249
|
slack_app_id?: String_Comparison_Exp | null | undefined;
|
|
4590
5250
|
slack_app_name?: String_Comparison_Exp | null | undefined;
|
|
4591
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;
|
|
4592
5255
|
};
|
|
4593
5256
|
/** order by max() on columns of table "slack_integration" */
|
|
4594
5257
|
type Slack_Integration_Max_Order_By = {
|
|
4595
5258
|
created_at?: Order_By | null | undefined;
|
|
4596
5259
|
created_by?: Order_By | null | undefined;
|
|
5260
|
+
default_llm_config_id?: Order_By | null | undefined;
|
|
4597
5261
|
id?: Order_By | null | undefined;
|
|
4598
5262
|
project_id?: Order_By | null | undefined;
|
|
4599
5263
|
slack_app_id?: Order_By | null | undefined;
|
|
4600
5264
|
slack_app_name?: Order_By | null | undefined;
|
|
4601
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;
|
|
4602
5269
|
};
|
|
4603
5270
|
/** order by min() on columns of table "slack_integration" */
|
|
4604
5271
|
type Slack_Integration_Min_Order_By = {
|
|
4605
5272
|
created_at?: Order_By | null | undefined;
|
|
4606
5273
|
created_by?: Order_By | null | undefined;
|
|
5274
|
+
default_llm_config_id?: Order_By | null | undefined;
|
|
4607
5275
|
id?: Order_By | null | undefined;
|
|
4608
5276
|
project_id?: Order_By | null | undefined;
|
|
4609
5277
|
slack_app_id?: Order_By | null | undefined;
|
|
4610
5278
|
slack_app_name?: Order_By | null | undefined;
|
|
4611
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;
|
|
4612
5283
|
};
|
|
4613
5284
|
/** order by aggregate values of table "social_feed_candidates" */
|
|
4614
5285
|
type Social_Feed_Candidates_Aggregate_Order_By = {
|
|
@@ -4817,8 +5488,22 @@ type Starred_Threads_Variance_Order_By = {
|
|
|
4817
5488
|
position?: Order_By | null | undefined;
|
|
4818
5489
|
};
|
|
4819
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;
|
|
4820
5493
|
count?: Thread_Artifacts_Aggregate_Bool_Exp_Count | null | undefined;
|
|
4821
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
|
+
};
|
|
4822
5507
|
type Thread_Artifacts_Aggregate_Bool_Exp_Count = {
|
|
4823
5508
|
arguments?: Array<Thread_Artifacts_Select_Column> | null | undefined;
|
|
4824
5509
|
distinct?: boolean | null | undefined;
|
|
@@ -4838,25 +5523,41 @@ type Thread_Artifacts_Bool_Exp = {
|
|
|
4838
5523
|
_or?: Array<Thread_Artifacts_Bool_Exp> | null | undefined;
|
|
4839
5524
|
artifact?: Artifacts_Bool_Exp | null | undefined;
|
|
4840
5525
|
artifact_id?: Uuid_Comparison_Exp | null | undefined;
|
|
5526
|
+
hidden?: Boolean_Comparison_Exp | null | undefined;
|
|
5527
|
+
identifier?: String_Comparison_Exp | null | undefined;
|
|
4841
5528
|
thread?: Threads_V2_Bool_Exp | null | undefined;
|
|
4842
5529
|
thread_id?: Uuid_Comparison_Exp | null | undefined;
|
|
4843
5530
|
};
|
|
4844
5531
|
/** order by max() on columns of table "thread_artifacts" */
|
|
4845
5532
|
type Thread_Artifacts_Max_Order_By = {
|
|
4846
5533
|
artifact_id?: Order_By | null | undefined;
|
|
5534
|
+
identifier?: Order_By | null | undefined;
|
|
4847
5535
|
thread_id?: Order_By | null | undefined;
|
|
4848
5536
|
};
|
|
4849
5537
|
/** order by min() on columns of table "thread_artifacts" */
|
|
4850
5538
|
type Thread_Artifacts_Min_Order_By = {
|
|
4851
5539
|
artifact_id?: Order_By | null | undefined;
|
|
5540
|
+
identifier?: Order_By | null | undefined;
|
|
4852
5541
|
thread_id?: Order_By | null | undefined;
|
|
4853
5542
|
};
|
|
4854
5543
|
/** select columns of table "thread_artifacts" */
|
|
4855
5544
|
type Thread_Artifacts_Select_Column =
|
|
4856
5545
|
/** column name */
|
|
4857
5546
|
'artifact_id'
|
|
5547
|
+
/** column name */
|
|
5548
|
+
| 'hidden'
|
|
5549
|
+
/** column name */
|
|
5550
|
+
| 'identifier'
|
|
4858
5551
|
/** column name */
|
|
4859
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';
|
|
4860
5561
|
type Thread_Event_Mentions_Aggregate_Bool_Exp = {
|
|
4861
5562
|
count?: Thread_Event_Mentions_Aggregate_Bool_Exp_Count | null | undefined;
|
|
4862
5563
|
};
|
|
@@ -5164,6 +5865,19 @@ type Thread_Feedback_Variance_Order_By = {
|
|
|
5164
5865
|
/** -1 means negative, 1 means positive */
|
|
5165
5866
|
feedback?: Order_By | null | undefined;
|
|
5166
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
|
+
};
|
|
5167
5881
|
/** Boolean expression to filter rows from the table "thread_notification_preference_enum". All fields are combined with a logical 'AND'. */
|
|
5168
5882
|
type Thread_Notification_Preference_Enum_Bool_Exp = {
|
|
5169
5883
|
_and?: Array<Thread_Notification_Preference_Enum_Bool_Exp> | null | undefined;
|
|
@@ -5472,8 +6186,22 @@ type Thread_Visibility_Enum_Enum_Comparison_Exp = {
|
|
|
5472
6186
|
_nin?: Array<Thread_Visibility_Enum_Enum> | null | undefined;
|
|
5473
6187
|
};
|
|
5474
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;
|
|
5475
6191
|
count?: Threads_V2_Aggregate_Bool_Exp_Count | null | undefined;
|
|
5476
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
|
+
};
|
|
5477
6205
|
type Threads_V2_Aggregate_Bool_Exp_Count = {
|
|
5478
6206
|
arguments?: Array<Threads_V2_Select_Column> | null | undefined;
|
|
5479
6207
|
distinct?: boolean | null | undefined;
|
|
@@ -5504,6 +6232,7 @@ type Threads_V2_Bool_Exp = {
|
|
|
5504
6232
|
_and?: Array<Threads_V2_Bool_Exp> | null | undefined;
|
|
5505
6233
|
_not?: Threads_V2_Bool_Exp | null | undefined;
|
|
5506
6234
|
_or?: Array<Threads_V2_Bool_Exp> | null | undefined;
|
|
6235
|
+
artifact_db_identifiers_enforced?: Boolean_Comparison_Exp | null | undefined;
|
|
5507
6236
|
build_id?: Uuid_Comparison_Exp | null | undefined;
|
|
5508
6237
|
created_at?: Timestamptz_Comparison_Exp | null | undefined;
|
|
5509
6238
|
created_from?: String_Comparison_Exp | null | undefined;
|
|
@@ -5514,6 +6243,10 @@ type Threads_V2_Bool_Exp = {
|
|
|
5514
6243
|
interactors?: Promptql_Users_Bool_Exp | null | undefined;
|
|
5515
6244
|
is_starred?: Boolean_Comparison_Exp | null | undefined;
|
|
5516
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;
|
|
5517
6250
|
message_reactions?: Message_Reactions_Bool_Exp | null | undefined;
|
|
5518
6251
|
message_reactions_aggregate?: Message_Reactions_Aggregate_Bool_Exp | null | undefined;
|
|
5519
6252
|
pinned_threads_v2s?: Pinned_Threads_V2_Bool_Exp | null | undefined;
|
|
@@ -5556,8 +6289,10 @@ type Threads_V2_Max_Order_By = {
|
|
|
5556
6289
|
/** Denormalized first thread_event_id for fast room new-thread queries. */
|
|
5557
6290
|
first_event_id?: Order_By | null | undefined;
|
|
5558
6291
|
forked_from?: Order_By | null | undefined;
|
|
6292
|
+
llm_config_id?: Order_By | null | undefined;
|
|
6293
|
+
locked_at?: Order_By | null | undefined;
|
|
5559
6294
|
project_id?: Order_By | null | undefined;
|
|
5560
|
-
/** 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. */
|
|
5561
6296
|
room_id?: Order_By | null | undefined;
|
|
5562
6297
|
thread_id?: Order_By | null | undefined;
|
|
5563
6298
|
title?: Order_By | null | undefined;
|
|
@@ -5576,8 +6311,10 @@ type Threads_V2_Min_Order_By = {
|
|
|
5576
6311
|
/** Denormalized first thread_event_id for fast room new-thread queries. */
|
|
5577
6312
|
first_event_id?: Order_By | null | undefined;
|
|
5578
6313
|
forked_from?: Order_By | null | undefined;
|
|
6314
|
+
llm_config_id?: Order_By | null | undefined;
|
|
6315
|
+
locked_at?: Order_By | null | undefined;
|
|
5579
6316
|
project_id?: Order_By | null | undefined;
|
|
5580
|
-
/** 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. */
|
|
5581
6318
|
room_id?: Order_By | null | undefined;
|
|
5582
6319
|
thread_id?: Order_By | null | undefined;
|
|
5583
6320
|
title?: Order_By | null | undefined;
|
|
@@ -5588,6 +6325,7 @@ type Threads_V2_Min_Order_By = {
|
|
|
5588
6325
|
};
|
|
5589
6326
|
/** Ordering options when selecting data from "threads_v2". */
|
|
5590
6327
|
type Threads_V2_Order_By = {
|
|
6328
|
+
artifact_db_identifiers_enforced?: Order_By | null | undefined;
|
|
5591
6329
|
build_id?: Order_By | null | undefined;
|
|
5592
6330
|
created_at?: Order_By | null | undefined;
|
|
5593
6331
|
created_from?: Order_By | null | undefined;
|
|
@@ -5598,6 +6336,10 @@ type Threads_V2_Order_By = {
|
|
|
5598
6336
|
interactors_aggregate?: Promptql_Users_Aggregate_Order_By | null | undefined;
|
|
5599
6337
|
is_starred?: Order_By | null | undefined;
|
|
5600
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;
|
|
5601
6343
|
message_reactions_aggregate?: Message_Reactions_Aggregate_Order_By | null | undefined;
|
|
5602
6344
|
pinned_threads_v2s_aggregate?: Pinned_Threads_V2_Aggregate_Order_By | null | undefined;
|
|
5603
6345
|
project_config?: Project_Configuration_Order_By | null | undefined;
|
|
@@ -5626,7 +6368,9 @@ type Threads_V2_Order_By = {
|
|
|
5626
6368
|
/** select columns of table "threads_v2" */
|
|
5627
6369
|
type Threads_V2_Select_Column =
|
|
5628
6370
|
/** column name */
|
|
5629
|
-
'
|
|
6371
|
+
'artifact_db_identifiers_enforced'
|
|
6372
|
+
/** column name */
|
|
6373
|
+
| 'build_id'
|
|
5630
6374
|
/** column name */
|
|
5631
6375
|
| 'created_at'
|
|
5632
6376
|
/** column name */
|
|
@@ -5639,6 +6383,12 @@ type Threads_V2_Select_Column =
|
|
|
5639
6383
|
| 'first_event_id'
|
|
5640
6384
|
/** column name */
|
|
5641
6385
|
| 'forked_from'
|
|
6386
|
+
/** column name */
|
|
6387
|
+
| 'llm_config_id'
|
|
6388
|
+
/** column name */
|
|
6389
|
+
| 'lock_reason'
|
|
6390
|
+
/** column name */
|
|
6391
|
+
| 'locked_at'
|
|
5642
6392
|
/** column name */
|
|
5643
6393
|
| 'project_id'
|
|
5644
6394
|
/** column name */
|
|
@@ -5653,6 +6403,14 @@ type Threads_V2_Select_Column =
|
|
|
5653
6403
|
| 'user_id'
|
|
5654
6404
|
/** column name */
|
|
5655
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';
|
|
5656
6414
|
/** order by stddev() on columns of table "threads_v2" */
|
|
5657
6415
|
type Threads_V2_Stddev_Order_By = {
|
|
5658
6416
|
/** Denormalized first thread_event_id for fast room new-thread queries. */
|
|
@@ -5869,6 +6627,19 @@ type User_Slack_Notification_Preferences_Order_By = {
|
|
|
5869
6627
|
promptql_user?: Promptql_Users_Order_By | null | undefined;
|
|
5870
6628
|
promptql_user_id?: Order_By | null | undefined;
|
|
5871
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
|
+
};
|
|
5872
6643
|
/** Boolean expression to compare columns of type "uuid". All fields are combined with logical 'AND'. */
|
|
5873
6644
|
type Uuid_Comparison_Exp = {
|
|
5874
6645
|
_eq?: string | null | undefined;
|
|
@@ -5921,6 +6692,8 @@ type CreateRoomMutationVariables = Exact<{
|
|
|
5921
6692
|
name: string;
|
|
5922
6693
|
visibility?: string | null | undefined;
|
|
5923
6694
|
description?: string | null | undefined;
|
|
6695
|
+
allowCrossRoomAccess?: boolean | null | undefined;
|
|
6696
|
+
scopeClaims?: Array<ScopeClaimInput> | ScopeClaimInput | null | undefined;
|
|
5924
6697
|
}>;
|
|
5925
6698
|
type SendThreadMessageMutationVariables = Exact<{
|
|
5926
6699
|
message: string;
|
|
@@ -5933,6 +6706,7 @@ type SendThreadMessageMutation = {
|
|
|
5933
6706
|
send_thread_message: {
|
|
5934
6707
|
thread_event_id: string;
|
|
5935
6708
|
created_at: string;
|
|
6709
|
+
message_id: string;
|
|
5936
6710
|
} | null;
|
|
5937
6711
|
};
|
|
5938
6712
|
type StartThreadMutationVariables = Exact<{
|
|
@@ -5945,6 +6719,8 @@ type StartThreadMutationVariables = Exact<{
|
|
|
5945
6719
|
uploads?: Array<UserUploadInput> | UserUploadInput | null | undefined;
|
|
5946
6720
|
visibility?: string | null | undefined;
|
|
5947
6721
|
createdFrom?: string | null | undefined;
|
|
6722
|
+
llmConfigId?: string | null | undefined;
|
|
6723
|
+
roomless?: boolean | null | undefined;
|
|
5948
6724
|
}>;
|
|
5949
6725
|
type StartThreadMutation = {
|
|
5950
6726
|
start_thread: {
|
|
@@ -5952,6 +6728,7 @@ type StartThreadMutation = {
|
|
|
5952
6728
|
title: string | null;
|
|
5953
6729
|
created_at: string;
|
|
5954
6730
|
updated_at: string;
|
|
6731
|
+
message_id: string;
|
|
5955
6732
|
thread_events: Array<{
|
|
5956
6733
|
created_at: string;
|
|
5957
6734
|
thread_event_id: string;
|
|
@@ -6038,10 +6815,6 @@ type PromptQLSdkOptions = {
|
|
|
6038
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.
|
|
6039
6816
|
*/
|
|
6040
6817
|
timezone?: string;
|
|
6041
|
-
/**
|
|
6042
|
-
* UUID of the DDN build. Default is the applied build.
|
|
6043
|
-
*/
|
|
6044
|
-
buildId?: string;
|
|
6045
6818
|
};
|
|
6046
6819
|
/**
|
|
6047
6820
|
* Request arguments of the startThread mutation.
|
|
@@ -6058,8 +6831,35 @@ type StartThreadArguments = {
|
|
|
6058
6831
|
/**
|
|
6059
6832
|
* UUID of the DDN build. Default is the applied build.
|
|
6060
6833
|
*/
|
|
6061
|
-
buildId?: string;
|
|
6062
|
-
|
|
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
|
+
});
|
|
6063
6863
|
/**
|
|
6064
6864
|
* Output of the startThread mutation.
|
|
6065
6865
|
*/
|
|
@@ -6080,6 +6880,14 @@ type SendMessageToThreadArguments = {
|
|
|
6080
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.
|
|
6081
6881
|
*/
|
|
6082
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;
|
|
6083
6891
|
};
|
|
6084
6892
|
/**
|
|
6085
6893
|
* Output of the continueThread mutation.
|
|
@@ -6181,6 +6989,10 @@ type StreamThreadEventOptions = {
|
|
|
6181
6989
|
*/
|
|
6182
6990
|
timeout?: number;
|
|
6183
6991
|
};
|
|
6992
|
+
/**
|
|
6993
|
+
* Enum type for the visibility of a thread.
|
|
6994
|
+
*/
|
|
6995
|
+
type ThreadVisibilityType = "PUBLIC" | "PRIVATE";
|
|
6184
6996
|
/**
|
|
6185
6997
|
* Enum type for the visibility of a room.
|
|
6186
6998
|
*/
|
|
@@ -6385,11 +7197,11 @@ declare function createWikiPage(client: ApolloClient, { slug, ...others }: Creat
|
|
|
6385
7197
|
/**
|
|
6386
7198
|
* Update a wiki page with content.
|
|
6387
7199
|
*/
|
|
6388
|
-
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>;
|
|
6389
7201
|
/**
|
|
6390
7202
|
* Delete a wiki page by id.
|
|
6391
7203
|
*/
|
|
6392
|
-
declare function deleteWikiPage(client: ApolloClient, id: string): Promise<string | undefined>;
|
|
7204
|
+
declare function deleteWikiPage(client: ApolloClient, id: string): Promise<string | null | undefined>;
|
|
6393
7205
|
|
|
6394
7206
|
/**
|
|
6395
7207
|
* A low-level API class for PromptQL.
|
|
@@ -6534,11 +7346,11 @@ declare class Wiki {
|
|
|
6534
7346
|
/**
|
|
6535
7347
|
* Update a wiki page with content.
|
|
6536
7348
|
*/
|
|
6537
|
-
update(id: string, args: UpdateWikiContentArgs): Promise<string | undefined>;
|
|
7349
|
+
update(id: string, args: UpdateWikiContentArgs): Promise<string | null | undefined>;
|
|
6538
7350
|
/**
|
|
6539
7351
|
* Delete a wiki page by ID.
|
|
6540
7352
|
*/
|
|
6541
|
-
delete(id: string): Promise<string | undefined>;
|
|
7353
|
+
delete(id: string): Promise<string | null | undefined>;
|
|
6542
7354
|
}
|
|
6543
7355
|
|
|
6544
7356
|
/**
|
|
@@ -6754,4 +7566,4 @@ declare function getAgentInteractionFinishedEvent(eventData: ThreadEvent$1): Int
|
|
|
6754
7566
|
declare function getThreadEventMessageId(event: ThreadEvent$1 | undefined): string | undefined;
|
|
6755
7567
|
declare function buildAuthHeader(accessToken: string): Record<string, string>;
|
|
6756
7568
|
|
|
6757
|
-
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 };
|