executor 1.1.9 → 1.1.10-beta.5

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.
Files changed (35) hide show
  1. package/README.md +17 -7
  2. package/bin/emscripten-module.wasm +0 -0
  3. package/bin/executor.mjs +367034 -157926
  4. package/bin/impl/edit.js +201 -0
  5. package/bin/impl/format.js +275 -0
  6. package/bin/impl/parser.js +682 -0
  7. package/bin/impl/scanner.js +456 -0
  8. package/bin/impl/string-intern.js +42 -0
  9. package/bin/openapi-extractor-wasm/openapi_extractor_bg.wasm +0 -0
  10. package/package.json +1 -4
  11. package/resources/web/assets/__vite-browser-external-BIHI7g3E.js +1 -0
  12. package/resources/web/assets/{highlighted-body-TPN3WLV5-D2YQWXND.js → highlighted-body-TPN3WLV5-CNtoUE2O.js} +1 -1
  13. package/resources/web/assets/{index-BnjZoxRo.js → index-Dyhx5qgf.js} +2 -2
  14. package/resources/web/assets/mermaid-O7DHMXV3-CfqEcqYS.js +658 -0
  15. package/resources/web/assets/mermaid-O7DHMXV3-D1toCiZx.css +1 -0
  16. package/resources/web/assets/openapi_extractor_bg-IMRXzuHp.wasm +0 -0
  17. package/resources/web/index.html +1 -1
  18. package/bin/pglite.data +0 -0
  19. package/bin/pglite.wasm +0 -0
  20. package/bin/postinstall.js +0 -38
  21. package/resources/migrations/20260306091536_abnormal_martin_li/migration.sql +0 -158
  22. package/resources/migrations/20260306091536_abnormal_martin_li/snapshot.json +0 -1937
  23. package/resources/migrations/20260306094249_large_giant_girl/migration.sql +0 -39
  24. package/resources/migrations/20260306094249_large_giant_girl/snapshot.json +0 -2425
  25. package/resources/migrations/20260307090915_blue_bullseye/migration.sql +0 -70
  26. package/resources/migrations/20260307090915_blue_bullseye/snapshot.json +0 -3122
  27. package/resources/migrations/20260307134000_openapi_tool_identity/migration.sql +0 -37
  28. package/resources/migrations/20260307152000_source_document_text/migration.sql +0 -1
  29. package/resources/migrations/20260308041000_credentials_model/migration.sql +0 -41
  30. package/resources/migrations/20260308120000_search_and_indexes/migration.sql +0 -16
  31. package/resources/migrations/20260308140000_secret_materials_name/migration.sql +0 -1
  32. package/resources/migrations/20260309103000_policy_scope_and_interaction_purpose/migration.sql +0 -17
  33. package/resources/web/assets/mermaid-O7DHMXV3-37jaM6li.js +0 -393
  34. package/resources/web/assets/mermaid-O7DHMXV3-DgCU8P81.css +0 -1
  35. package/resources/web/assets/openapi_extractor_bg-DZrbVm4x.wasm +0 -0
@@ -1,3122 +0,0 @@
1
- {
2
- "version": "8",
3
- "dialect": "postgres",
4
- "id": "3e9aa0ec-194c-4364-9e57-4539db8fb2ad",
5
- "prevIds": [
6
- "1141497b-c500-44ff-87db-6a440062becb"
7
- ],
8
- "ddl": [
9
- {
10
- "isRlsEnabled": false,
11
- "name": "accounts",
12
- "entityType": "tables",
13
- "schema": "public"
14
- },
15
- {
16
- "isRlsEnabled": false,
17
- "name": "execution_interactions",
18
- "entityType": "tables",
19
- "schema": "public"
20
- },
21
- {
22
- "isRlsEnabled": false,
23
- "name": "executions",
24
- "entityType": "tables",
25
- "schema": "public"
26
- },
27
- {
28
- "isRlsEnabled": false,
29
- "name": "local_installations",
30
- "entityType": "tables",
31
- "schema": "public"
32
- },
33
- {
34
- "isRlsEnabled": false,
35
- "name": "organization_memberships",
36
- "entityType": "tables",
37
- "schema": "public"
38
- },
39
- {
40
- "isRlsEnabled": false,
41
- "name": "organizations",
42
- "entityType": "tables",
43
- "schema": "public"
44
- },
45
- {
46
- "isRlsEnabled": false,
47
- "name": "policies",
48
- "entityType": "tables",
49
- "schema": "public"
50
- },
51
- {
52
- "isRlsEnabled": false,
53
- "name": "secret_materials",
54
- "entityType": "tables",
55
- "schema": "public"
56
- },
57
- {
58
- "isRlsEnabled": false,
59
- "name": "source_auth_sessions",
60
- "entityType": "tables",
61
- "schema": "public"
62
- },
63
- {
64
- "isRlsEnabled": false,
65
- "name": "source_credential_bindings",
66
- "entityType": "tables",
67
- "schema": "public"
68
- },
69
- {
70
- "isRlsEnabled": false,
71
- "name": "sources",
72
- "entityType": "tables",
73
- "schema": "public"
74
- },
75
- {
76
- "isRlsEnabled": false,
77
- "name": "tool_artifact_parameters",
78
- "entityType": "tables",
79
- "schema": "public"
80
- },
81
- {
82
- "isRlsEnabled": false,
83
- "name": "tool_artifact_ref_hint_keys",
84
- "entityType": "tables",
85
- "schema": "public"
86
- },
87
- {
88
- "isRlsEnabled": false,
89
- "name": "tool_artifact_request_body_content_types",
90
- "entityType": "tables",
91
- "schema": "public"
92
- },
93
- {
94
- "isRlsEnabled": false,
95
- "name": "tool_artifacts",
96
- "entityType": "tables",
97
- "schema": "public"
98
- },
99
- {
100
- "isRlsEnabled": false,
101
- "name": "workspaces",
102
- "entityType": "tables",
103
- "schema": "public"
104
- },
105
- {
106
- "type": "text",
107
- "typeSchema": null,
108
- "notNull": true,
109
- "dimensions": 0,
110
- "default": null,
111
- "generated": null,
112
- "identity": null,
113
- "name": "id",
114
- "entityType": "columns",
115
- "schema": "public",
116
- "table": "accounts"
117
- },
118
- {
119
- "type": "text",
120
- "typeSchema": null,
121
- "notNull": true,
122
- "dimensions": 0,
123
- "default": null,
124
- "generated": null,
125
- "identity": null,
126
- "name": "provider",
127
- "entityType": "columns",
128
- "schema": "public",
129
- "table": "accounts"
130
- },
131
- {
132
- "type": "text",
133
- "typeSchema": null,
134
- "notNull": true,
135
- "dimensions": 0,
136
- "default": null,
137
- "generated": null,
138
- "identity": null,
139
- "name": "subject",
140
- "entityType": "columns",
141
- "schema": "public",
142
- "table": "accounts"
143
- },
144
- {
145
- "type": "text",
146
- "typeSchema": null,
147
- "notNull": false,
148
- "dimensions": 0,
149
- "default": null,
150
- "generated": null,
151
- "identity": null,
152
- "name": "email",
153
- "entityType": "columns",
154
- "schema": "public",
155
- "table": "accounts"
156
- },
157
- {
158
- "type": "text",
159
- "typeSchema": null,
160
- "notNull": false,
161
- "dimensions": 0,
162
- "default": null,
163
- "generated": null,
164
- "identity": null,
165
- "name": "display_name",
166
- "entityType": "columns",
167
- "schema": "public",
168
- "table": "accounts"
169
- },
170
- {
171
- "type": "bigint",
172
- "typeSchema": null,
173
- "notNull": true,
174
- "dimensions": 0,
175
- "default": null,
176
- "generated": null,
177
- "identity": null,
178
- "name": "created_at",
179
- "entityType": "columns",
180
- "schema": "public",
181
- "table": "accounts"
182
- },
183
- {
184
- "type": "bigint",
185
- "typeSchema": null,
186
- "notNull": true,
187
- "dimensions": 0,
188
- "default": null,
189
- "generated": null,
190
- "identity": null,
191
- "name": "updated_at",
192
- "entityType": "columns",
193
- "schema": "public",
194
- "table": "accounts"
195
- },
196
- {
197
- "type": "text",
198
- "typeSchema": null,
199
- "notNull": true,
200
- "dimensions": 0,
201
- "default": null,
202
- "generated": null,
203
- "identity": null,
204
- "name": "id",
205
- "entityType": "columns",
206
- "schema": "public",
207
- "table": "execution_interactions"
208
- },
209
- {
210
- "type": "text",
211
- "typeSchema": null,
212
- "notNull": true,
213
- "dimensions": 0,
214
- "default": null,
215
- "generated": null,
216
- "identity": null,
217
- "name": "execution_id",
218
- "entityType": "columns",
219
- "schema": "public",
220
- "table": "execution_interactions"
221
- },
222
- {
223
- "type": "text",
224
- "typeSchema": null,
225
- "notNull": true,
226
- "dimensions": 0,
227
- "default": null,
228
- "generated": null,
229
- "identity": null,
230
- "name": "status",
231
- "entityType": "columns",
232
- "schema": "public",
233
- "table": "execution_interactions"
234
- },
235
- {
236
- "type": "text",
237
- "typeSchema": null,
238
- "notNull": true,
239
- "dimensions": 0,
240
- "default": null,
241
- "generated": null,
242
- "identity": null,
243
- "name": "kind",
244
- "entityType": "columns",
245
- "schema": "public",
246
- "table": "execution_interactions"
247
- },
248
- {
249
- "type": "text",
250
- "typeSchema": null,
251
- "notNull": true,
252
- "dimensions": 0,
253
- "default": null,
254
- "generated": null,
255
- "identity": null,
256
- "name": "payload_json",
257
- "entityType": "columns",
258
- "schema": "public",
259
- "table": "execution_interactions"
260
- },
261
- {
262
- "type": "text",
263
- "typeSchema": null,
264
- "notNull": false,
265
- "dimensions": 0,
266
- "default": null,
267
- "generated": null,
268
- "identity": null,
269
- "name": "response_json",
270
- "entityType": "columns",
271
- "schema": "public",
272
- "table": "execution_interactions"
273
- },
274
- {
275
- "type": "bigint",
276
- "typeSchema": null,
277
- "notNull": true,
278
- "dimensions": 0,
279
- "default": null,
280
- "generated": null,
281
- "identity": null,
282
- "name": "created_at",
283
- "entityType": "columns",
284
- "schema": "public",
285
- "table": "execution_interactions"
286
- },
287
- {
288
- "type": "bigint",
289
- "typeSchema": null,
290
- "notNull": true,
291
- "dimensions": 0,
292
- "default": null,
293
- "generated": null,
294
- "identity": null,
295
- "name": "updated_at",
296
- "entityType": "columns",
297
- "schema": "public",
298
- "table": "execution_interactions"
299
- },
300
- {
301
- "type": "text",
302
- "typeSchema": null,
303
- "notNull": true,
304
- "dimensions": 0,
305
- "default": null,
306
- "generated": null,
307
- "identity": null,
308
- "name": "id",
309
- "entityType": "columns",
310
- "schema": "public",
311
- "table": "executions"
312
- },
313
- {
314
- "type": "text",
315
- "typeSchema": null,
316
- "notNull": true,
317
- "dimensions": 0,
318
- "default": null,
319
- "generated": null,
320
- "identity": null,
321
- "name": "workspace_id",
322
- "entityType": "columns",
323
- "schema": "public",
324
- "table": "executions"
325
- },
326
- {
327
- "type": "text",
328
- "typeSchema": null,
329
- "notNull": true,
330
- "dimensions": 0,
331
- "default": null,
332
- "generated": null,
333
- "identity": null,
334
- "name": "created_by_account_id",
335
- "entityType": "columns",
336
- "schema": "public",
337
- "table": "executions"
338
- },
339
- {
340
- "type": "text",
341
- "typeSchema": null,
342
- "notNull": true,
343
- "dimensions": 0,
344
- "default": null,
345
- "generated": null,
346
- "identity": null,
347
- "name": "status",
348
- "entityType": "columns",
349
- "schema": "public",
350
- "table": "executions"
351
- },
352
- {
353
- "type": "text",
354
- "typeSchema": null,
355
- "notNull": true,
356
- "dimensions": 0,
357
- "default": null,
358
- "generated": null,
359
- "identity": null,
360
- "name": "code",
361
- "entityType": "columns",
362
- "schema": "public",
363
- "table": "executions"
364
- },
365
- {
366
- "type": "text",
367
- "typeSchema": null,
368
- "notNull": false,
369
- "dimensions": 0,
370
- "default": null,
371
- "generated": null,
372
- "identity": null,
373
- "name": "result_json",
374
- "entityType": "columns",
375
- "schema": "public",
376
- "table": "executions"
377
- },
378
- {
379
- "type": "text",
380
- "typeSchema": null,
381
- "notNull": false,
382
- "dimensions": 0,
383
- "default": null,
384
- "generated": null,
385
- "identity": null,
386
- "name": "error_text",
387
- "entityType": "columns",
388
- "schema": "public",
389
- "table": "executions"
390
- },
391
- {
392
- "type": "text",
393
- "typeSchema": null,
394
- "notNull": false,
395
- "dimensions": 0,
396
- "default": null,
397
- "generated": null,
398
- "identity": null,
399
- "name": "logs_json",
400
- "entityType": "columns",
401
- "schema": "public",
402
- "table": "executions"
403
- },
404
- {
405
- "type": "bigint",
406
- "typeSchema": null,
407
- "notNull": false,
408
- "dimensions": 0,
409
- "default": null,
410
- "generated": null,
411
- "identity": null,
412
- "name": "started_at",
413
- "entityType": "columns",
414
- "schema": "public",
415
- "table": "executions"
416
- },
417
- {
418
- "type": "bigint",
419
- "typeSchema": null,
420
- "notNull": false,
421
- "dimensions": 0,
422
- "default": null,
423
- "generated": null,
424
- "identity": null,
425
- "name": "completed_at",
426
- "entityType": "columns",
427
- "schema": "public",
428
- "table": "executions"
429
- },
430
- {
431
- "type": "bigint",
432
- "typeSchema": null,
433
- "notNull": true,
434
- "dimensions": 0,
435
- "default": null,
436
- "generated": null,
437
- "identity": null,
438
- "name": "created_at",
439
- "entityType": "columns",
440
- "schema": "public",
441
- "table": "executions"
442
- },
443
- {
444
- "type": "bigint",
445
- "typeSchema": null,
446
- "notNull": true,
447
- "dimensions": 0,
448
- "default": null,
449
- "generated": null,
450
- "identity": null,
451
- "name": "updated_at",
452
- "entityType": "columns",
453
- "schema": "public",
454
- "table": "executions"
455
- },
456
- {
457
- "type": "text",
458
- "typeSchema": null,
459
- "notNull": true,
460
- "dimensions": 0,
461
- "default": null,
462
- "generated": null,
463
- "identity": null,
464
- "name": "id",
465
- "entityType": "columns",
466
- "schema": "public",
467
- "table": "local_installations"
468
- },
469
- {
470
- "type": "text",
471
- "typeSchema": null,
472
- "notNull": true,
473
- "dimensions": 0,
474
- "default": null,
475
- "generated": null,
476
- "identity": null,
477
- "name": "account_id",
478
- "entityType": "columns",
479
- "schema": "public",
480
- "table": "local_installations"
481
- },
482
- {
483
- "type": "text",
484
- "typeSchema": null,
485
- "notNull": true,
486
- "dimensions": 0,
487
- "default": null,
488
- "generated": null,
489
- "identity": null,
490
- "name": "organization_id",
491
- "entityType": "columns",
492
- "schema": "public",
493
- "table": "local_installations"
494
- },
495
- {
496
- "type": "text",
497
- "typeSchema": null,
498
- "notNull": true,
499
- "dimensions": 0,
500
- "default": null,
501
- "generated": null,
502
- "identity": null,
503
- "name": "workspace_id",
504
- "entityType": "columns",
505
- "schema": "public",
506
- "table": "local_installations"
507
- },
508
- {
509
- "type": "bigint",
510
- "typeSchema": null,
511
- "notNull": true,
512
- "dimensions": 0,
513
- "default": null,
514
- "generated": null,
515
- "identity": null,
516
- "name": "created_at",
517
- "entityType": "columns",
518
- "schema": "public",
519
- "table": "local_installations"
520
- },
521
- {
522
- "type": "bigint",
523
- "typeSchema": null,
524
- "notNull": true,
525
- "dimensions": 0,
526
- "default": null,
527
- "generated": null,
528
- "identity": null,
529
- "name": "updated_at",
530
- "entityType": "columns",
531
- "schema": "public",
532
- "table": "local_installations"
533
- },
534
- {
535
- "type": "text",
536
- "typeSchema": null,
537
- "notNull": true,
538
- "dimensions": 0,
539
- "default": null,
540
- "generated": null,
541
- "identity": null,
542
- "name": "id",
543
- "entityType": "columns",
544
- "schema": "public",
545
- "table": "organization_memberships"
546
- },
547
- {
548
- "type": "text",
549
- "typeSchema": null,
550
- "notNull": true,
551
- "dimensions": 0,
552
- "default": null,
553
- "generated": null,
554
- "identity": null,
555
- "name": "organization_id",
556
- "entityType": "columns",
557
- "schema": "public",
558
- "table": "organization_memberships"
559
- },
560
- {
561
- "type": "text",
562
- "typeSchema": null,
563
- "notNull": true,
564
- "dimensions": 0,
565
- "default": null,
566
- "generated": null,
567
- "identity": null,
568
- "name": "account_id",
569
- "entityType": "columns",
570
- "schema": "public",
571
- "table": "organization_memberships"
572
- },
573
- {
574
- "type": "text",
575
- "typeSchema": null,
576
- "notNull": true,
577
- "dimensions": 0,
578
- "default": null,
579
- "generated": null,
580
- "identity": null,
581
- "name": "role",
582
- "entityType": "columns",
583
- "schema": "public",
584
- "table": "organization_memberships"
585
- },
586
- {
587
- "type": "text",
588
- "typeSchema": null,
589
- "notNull": true,
590
- "dimensions": 0,
591
- "default": null,
592
- "generated": null,
593
- "identity": null,
594
- "name": "status",
595
- "entityType": "columns",
596
- "schema": "public",
597
- "table": "organization_memberships"
598
- },
599
- {
600
- "type": "boolean",
601
- "typeSchema": null,
602
- "notNull": true,
603
- "dimensions": 0,
604
- "default": null,
605
- "generated": null,
606
- "identity": null,
607
- "name": "billable",
608
- "entityType": "columns",
609
- "schema": "public",
610
- "table": "organization_memberships"
611
- },
612
- {
613
- "type": "text",
614
- "typeSchema": null,
615
- "notNull": false,
616
- "dimensions": 0,
617
- "default": null,
618
- "generated": null,
619
- "identity": null,
620
- "name": "invited_by_account_id",
621
- "entityType": "columns",
622
- "schema": "public",
623
- "table": "organization_memberships"
624
- },
625
- {
626
- "type": "bigint",
627
- "typeSchema": null,
628
- "notNull": false,
629
- "dimensions": 0,
630
- "default": null,
631
- "generated": null,
632
- "identity": null,
633
- "name": "joined_at",
634
- "entityType": "columns",
635
- "schema": "public",
636
- "table": "organization_memberships"
637
- },
638
- {
639
- "type": "bigint",
640
- "typeSchema": null,
641
- "notNull": true,
642
- "dimensions": 0,
643
- "default": null,
644
- "generated": null,
645
- "identity": null,
646
- "name": "created_at",
647
- "entityType": "columns",
648
- "schema": "public",
649
- "table": "organization_memberships"
650
- },
651
- {
652
- "type": "bigint",
653
- "typeSchema": null,
654
- "notNull": true,
655
- "dimensions": 0,
656
- "default": null,
657
- "generated": null,
658
- "identity": null,
659
- "name": "updated_at",
660
- "entityType": "columns",
661
- "schema": "public",
662
- "table": "organization_memberships"
663
- },
664
- {
665
- "type": "text",
666
- "typeSchema": null,
667
- "notNull": true,
668
- "dimensions": 0,
669
- "default": null,
670
- "generated": null,
671
- "identity": null,
672
- "name": "id",
673
- "entityType": "columns",
674
- "schema": "public",
675
- "table": "organizations"
676
- },
677
- {
678
- "type": "text",
679
- "typeSchema": null,
680
- "notNull": true,
681
- "dimensions": 0,
682
- "default": null,
683
- "generated": null,
684
- "identity": null,
685
- "name": "slug",
686
- "entityType": "columns",
687
- "schema": "public",
688
- "table": "organizations"
689
- },
690
- {
691
- "type": "text",
692
- "typeSchema": null,
693
- "notNull": true,
694
- "dimensions": 0,
695
- "default": null,
696
- "generated": null,
697
- "identity": null,
698
- "name": "name",
699
- "entityType": "columns",
700
- "schema": "public",
701
- "table": "organizations"
702
- },
703
- {
704
- "type": "text",
705
- "typeSchema": null,
706
- "notNull": true,
707
- "dimensions": 0,
708
- "default": null,
709
- "generated": null,
710
- "identity": null,
711
- "name": "status",
712
- "entityType": "columns",
713
- "schema": "public",
714
- "table": "organizations"
715
- },
716
- {
717
- "type": "text",
718
- "typeSchema": null,
719
- "notNull": false,
720
- "dimensions": 0,
721
- "default": null,
722
- "generated": null,
723
- "identity": null,
724
- "name": "created_by_account_id",
725
- "entityType": "columns",
726
- "schema": "public",
727
- "table": "organizations"
728
- },
729
- {
730
- "type": "bigint",
731
- "typeSchema": null,
732
- "notNull": true,
733
- "dimensions": 0,
734
- "default": null,
735
- "generated": null,
736
- "identity": null,
737
- "name": "created_at",
738
- "entityType": "columns",
739
- "schema": "public",
740
- "table": "organizations"
741
- },
742
- {
743
- "type": "bigint",
744
- "typeSchema": null,
745
- "notNull": true,
746
- "dimensions": 0,
747
- "default": null,
748
- "generated": null,
749
- "identity": null,
750
- "name": "updated_at",
751
- "entityType": "columns",
752
- "schema": "public",
753
- "table": "organizations"
754
- },
755
- {
756
- "type": "text",
757
- "typeSchema": null,
758
- "notNull": true,
759
- "dimensions": 0,
760
- "default": null,
761
- "generated": null,
762
- "identity": null,
763
- "name": "id",
764
- "entityType": "columns",
765
- "schema": "public",
766
- "table": "policies"
767
- },
768
- {
769
- "type": "text",
770
- "typeSchema": null,
771
- "notNull": true,
772
- "dimensions": 0,
773
- "default": null,
774
- "generated": null,
775
- "identity": null,
776
- "name": "workspace_id",
777
- "entityType": "columns",
778
- "schema": "public",
779
- "table": "policies"
780
- },
781
- {
782
- "type": "text",
783
- "typeSchema": null,
784
- "notNull": false,
785
- "dimensions": 0,
786
- "default": null,
787
- "generated": null,
788
- "identity": null,
789
- "name": "target_account_id",
790
- "entityType": "columns",
791
- "schema": "public",
792
- "table": "policies"
793
- },
794
- {
795
- "type": "text",
796
- "typeSchema": null,
797
- "notNull": false,
798
- "dimensions": 0,
799
- "default": null,
800
- "generated": null,
801
- "identity": null,
802
- "name": "client_id",
803
- "entityType": "columns",
804
- "schema": "public",
805
- "table": "policies"
806
- },
807
- {
808
- "type": "text",
809
- "typeSchema": null,
810
- "notNull": true,
811
- "dimensions": 0,
812
- "default": null,
813
- "generated": null,
814
- "identity": null,
815
- "name": "resource_type",
816
- "entityType": "columns",
817
- "schema": "public",
818
- "table": "policies"
819
- },
820
- {
821
- "type": "text",
822
- "typeSchema": null,
823
- "notNull": true,
824
- "dimensions": 0,
825
- "default": null,
826
- "generated": null,
827
- "identity": null,
828
- "name": "resource_pattern",
829
- "entityType": "columns",
830
- "schema": "public",
831
- "table": "policies"
832
- },
833
- {
834
- "type": "text",
835
- "typeSchema": null,
836
- "notNull": true,
837
- "dimensions": 0,
838
- "default": null,
839
- "generated": null,
840
- "identity": null,
841
- "name": "match_type",
842
- "entityType": "columns",
843
- "schema": "public",
844
- "table": "policies"
845
- },
846
- {
847
- "type": "text",
848
- "typeSchema": null,
849
- "notNull": true,
850
- "dimensions": 0,
851
- "default": null,
852
- "generated": null,
853
- "identity": null,
854
- "name": "effect",
855
- "entityType": "columns",
856
- "schema": "public",
857
- "table": "policies"
858
- },
859
- {
860
- "type": "text",
861
- "typeSchema": null,
862
- "notNull": true,
863
- "dimensions": 0,
864
- "default": null,
865
- "generated": null,
866
- "identity": null,
867
- "name": "approval_mode",
868
- "entityType": "columns",
869
- "schema": "public",
870
- "table": "policies"
871
- },
872
- {
873
- "type": "text",
874
- "typeSchema": null,
875
- "notNull": false,
876
- "dimensions": 0,
877
- "default": null,
878
- "generated": null,
879
- "identity": null,
880
- "name": "argument_conditions_json",
881
- "entityType": "columns",
882
- "schema": "public",
883
- "table": "policies"
884
- },
885
- {
886
- "type": "bigint",
887
- "typeSchema": null,
888
- "notNull": true,
889
- "dimensions": 0,
890
- "default": null,
891
- "generated": null,
892
- "identity": null,
893
- "name": "priority",
894
- "entityType": "columns",
895
- "schema": "public",
896
- "table": "policies"
897
- },
898
- {
899
- "type": "boolean",
900
- "typeSchema": null,
901
- "notNull": true,
902
- "dimensions": 0,
903
- "default": null,
904
- "generated": null,
905
- "identity": null,
906
- "name": "enabled",
907
- "entityType": "columns",
908
- "schema": "public",
909
- "table": "policies"
910
- },
911
- {
912
- "type": "bigint",
913
- "typeSchema": null,
914
- "notNull": true,
915
- "dimensions": 0,
916
- "default": null,
917
- "generated": null,
918
- "identity": null,
919
- "name": "created_at",
920
- "entityType": "columns",
921
- "schema": "public",
922
- "table": "policies"
923
- },
924
- {
925
- "type": "bigint",
926
- "typeSchema": null,
927
- "notNull": true,
928
- "dimensions": 0,
929
- "default": null,
930
- "generated": null,
931
- "identity": null,
932
- "name": "updated_at",
933
- "entityType": "columns",
934
- "schema": "public",
935
- "table": "policies"
936
- },
937
- {
938
- "type": "text",
939
- "typeSchema": null,
940
- "notNull": true,
941
- "dimensions": 0,
942
- "default": null,
943
- "generated": null,
944
- "identity": null,
945
- "name": "id",
946
- "entityType": "columns",
947
- "schema": "public",
948
- "table": "secret_materials"
949
- },
950
- {
951
- "type": "text",
952
- "typeSchema": null,
953
- "notNull": true,
954
- "dimensions": 0,
955
- "default": null,
956
- "generated": null,
957
- "identity": null,
958
- "name": "purpose",
959
- "entityType": "columns",
960
- "schema": "public",
961
- "table": "secret_materials"
962
- },
963
- {
964
- "type": "text",
965
- "typeSchema": null,
966
- "notNull": true,
967
- "dimensions": 0,
968
- "default": null,
969
- "generated": null,
970
- "identity": null,
971
- "name": "value",
972
- "entityType": "columns",
973
- "schema": "public",
974
- "table": "secret_materials"
975
- },
976
- {
977
- "type": "bigint",
978
- "typeSchema": null,
979
- "notNull": true,
980
- "dimensions": 0,
981
- "default": null,
982
- "generated": null,
983
- "identity": null,
984
- "name": "created_at",
985
- "entityType": "columns",
986
- "schema": "public",
987
- "table": "secret_materials"
988
- },
989
- {
990
- "type": "bigint",
991
- "typeSchema": null,
992
- "notNull": true,
993
- "dimensions": 0,
994
- "default": null,
995
- "generated": null,
996
- "identity": null,
997
- "name": "updated_at",
998
- "entityType": "columns",
999
- "schema": "public",
1000
- "table": "secret_materials"
1001
- },
1002
- {
1003
- "type": "text",
1004
- "typeSchema": null,
1005
- "notNull": true,
1006
- "dimensions": 0,
1007
- "default": null,
1008
- "generated": null,
1009
- "identity": null,
1010
- "name": "id",
1011
- "entityType": "columns",
1012
- "schema": "public",
1013
- "table": "source_auth_sessions"
1014
- },
1015
- {
1016
- "type": "text",
1017
- "typeSchema": null,
1018
- "notNull": true,
1019
- "dimensions": 0,
1020
- "default": null,
1021
- "generated": null,
1022
- "identity": null,
1023
- "name": "workspace_id",
1024
- "entityType": "columns",
1025
- "schema": "public",
1026
- "table": "source_auth_sessions"
1027
- },
1028
- {
1029
- "type": "text",
1030
- "typeSchema": null,
1031
- "notNull": true,
1032
- "dimensions": 0,
1033
- "default": null,
1034
- "generated": null,
1035
- "identity": null,
1036
- "name": "source_id",
1037
- "entityType": "columns",
1038
- "schema": "public",
1039
- "table": "source_auth_sessions"
1040
- },
1041
- {
1042
- "type": "text",
1043
- "typeSchema": null,
1044
- "notNull": false,
1045
- "dimensions": 0,
1046
- "default": null,
1047
- "generated": null,
1048
- "identity": null,
1049
- "name": "execution_id",
1050
- "entityType": "columns",
1051
- "schema": "public",
1052
- "table": "source_auth_sessions"
1053
- },
1054
- {
1055
- "type": "text",
1056
- "typeSchema": null,
1057
- "notNull": false,
1058
- "dimensions": 0,
1059
- "default": null,
1060
- "generated": null,
1061
- "identity": null,
1062
- "name": "interaction_id",
1063
- "entityType": "columns",
1064
- "schema": "public",
1065
- "table": "source_auth_sessions"
1066
- },
1067
- {
1068
- "type": "text",
1069
- "typeSchema": null,
1070
- "notNull": true,
1071
- "dimensions": 0,
1072
- "default": null,
1073
- "generated": null,
1074
- "identity": null,
1075
- "name": "strategy",
1076
- "entityType": "columns",
1077
- "schema": "public",
1078
- "table": "source_auth_sessions"
1079
- },
1080
- {
1081
- "type": "text",
1082
- "typeSchema": null,
1083
- "notNull": true,
1084
- "dimensions": 0,
1085
- "default": null,
1086
- "generated": null,
1087
- "identity": null,
1088
- "name": "status",
1089
- "entityType": "columns",
1090
- "schema": "public",
1091
- "table": "source_auth_sessions"
1092
- },
1093
- {
1094
- "type": "text",
1095
- "typeSchema": null,
1096
- "notNull": true,
1097
- "dimensions": 0,
1098
- "default": null,
1099
- "generated": null,
1100
- "identity": null,
1101
- "name": "endpoint",
1102
- "entityType": "columns",
1103
- "schema": "public",
1104
- "table": "source_auth_sessions"
1105
- },
1106
- {
1107
- "type": "text",
1108
- "typeSchema": null,
1109
- "notNull": true,
1110
- "dimensions": 0,
1111
- "default": null,
1112
- "generated": null,
1113
- "identity": null,
1114
- "name": "state",
1115
- "entityType": "columns",
1116
- "schema": "public",
1117
- "table": "source_auth_sessions"
1118
- },
1119
- {
1120
- "type": "text",
1121
- "typeSchema": null,
1122
- "notNull": true,
1123
- "dimensions": 0,
1124
- "default": null,
1125
- "generated": null,
1126
- "identity": null,
1127
- "name": "redirect_uri",
1128
- "entityType": "columns",
1129
- "schema": "public",
1130
- "table": "source_auth_sessions"
1131
- },
1132
- {
1133
- "type": "text",
1134
- "typeSchema": null,
1135
- "notNull": false,
1136
- "dimensions": 0,
1137
- "default": null,
1138
- "generated": null,
1139
- "identity": null,
1140
- "name": "scope",
1141
- "entityType": "columns",
1142
- "schema": "public",
1143
- "table": "source_auth_sessions"
1144
- },
1145
- {
1146
- "type": "text",
1147
- "typeSchema": null,
1148
- "notNull": false,
1149
- "dimensions": 0,
1150
- "default": null,
1151
- "generated": null,
1152
- "identity": null,
1153
- "name": "resource_metadata_url",
1154
- "entityType": "columns",
1155
- "schema": "public",
1156
- "table": "source_auth_sessions"
1157
- },
1158
- {
1159
- "type": "text",
1160
- "typeSchema": null,
1161
- "notNull": false,
1162
- "dimensions": 0,
1163
- "default": null,
1164
- "generated": null,
1165
- "identity": null,
1166
- "name": "authorization_server_url",
1167
- "entityType": "columns",
1168
- "schema": "public",
1169
- "table": "source_auth_sessions"
1170
- },
1171
- {
1172
- "type": "text",
1173
- "typeSchema": null,
1174
- "notNull": false,
1175
- "dimensions": 0,
1176
- "default": null,
1177
- "generated": null,
1178
- "identity": null,
1179
- "name": "resource_metadata_json",
1180
- "entityType": "columns",
1181
- "schema": "public",
1182
- "table": "source_auth_sessions"
1183
- },
1184
- {
1185
- "type": "text",
1186
- "typeSchema": null,
1187
- "notNull": false,
1188
- "dimensions": 0,
1189
- "default": null,
1190
- "generated": null,
1191
- "identity": null,
1192
- "name": "authorization_server_metadata_json",
1193
- "entityType": "columns",
1194
- "schema": "public",
1195
- "table": "source_auth_sessions"
1196
- },
1197
- {
1198
- "type": "text",
1199
- "typeSchema": null,
1200
- "notNull": false,
1201
- "dimensions": 0,
1202
- "default": null,
1203
- "generated": null,
1204
- "identity": null,
1205
- "name": "client_information_json",
1206
- "entityType": "columns",
1207
- "schema": "public",
1208
- "table": "source_auth_sessions"
1209
- },
1210
- {
1211
- "type": "text",
1212
- "typeSchema": null,
1213
- "notNull": false,
1214
- "dimensions": 0,
1215
- "default": null,
1216
- "generated": null,
1217
- "identity": null,
1218
- "name": "code_verifier",
1219
- "entityType": "columns",
1220
- "schema": "public",
1221
- "table": "source_auth_sessions"
1222
- },
1223
- {
1224
- "type": "text",
1225
- "typeSchema": null,
1226
- "notNull": false,
1227
- "dimensions": 0,
1228
- "default": null,
1229
- "generated": null,
1230
- "identity": null,
1231
- "name": "authorization_url",
1232
- "entityType": "columns",
1233
- "schema": "public",
1234
- "table": "source_auth_sessions"
1235
- },
1236
- {
1237
- "type": "text",
1238
- "typeSchema": null,
1239
- "notNull": false,
1240
- "dimensions": 0,
1241
- "default": null,
1242
- "generated": null,
1243
- "identity": null,
1244
- "name": "error_text",
1245
- "entityType": "columns",
1246
- "schema": "public",
1247
- "table": "source_auth_sessions"
1248
- },
1249
- {
1250
- "type": "bigint",
1251
- "typeSchema": null,
1252
- "notNull": false,
1253
- "dimensions": 0,
1254
- "default": null,
1255
- "generated": null,
1256
- "identity": null,
1257
- "name": "completed_at",
1258
- "entityType": "columns",
1259
- "schema": "public",
1260
- "table": "source_auth_sessions"
1261
- },
1262
- {
1263
- "type": "bigint",
1264
- "typeSchema": null,
1265
- "notNull": true,
1266
- "dimensions": 0,
1267
- "default": null,
1268
- "generated": null,
1269
- "identity": null,
1270
- "name": "created_at",
1271
- "entityType": "columns",
1272
- "schema": "public",
1273
- "table": "source_auth_sessions"
1274
- },
1275
- {
1276
- "type": "bigint",
1277
- "typeSchema": null,
1278
- "notNull": true,
1279
- "dimensions": 0,
1280
- "default": null,
1281
- "generated": null,
1282
- "identity": null,
1283
- "name": "updated_at",
1284
- "entityType": "columns",
1285
- "schema": "public",
1286
- "table": "source_auth_sessions"
1287
- },
1288
- {
1289
- "type": "text",
1290
- "typeSchema": null,
1291
- "notNull": true,
1292
- "dimensions": 0,
1293
- "default": null,
1294
- "generated": null,
1295
- "identity": null,
1296
- "name": "workspace_id",
1297
- "entityType": "columns",
1298
- "schema": "public",
1299
- "table": "source_credential_bindings"
1300
- },
1301
- {
1302
- "type": "text",
1303
- "typeSchema": null,
1304
- "notNull": true,
1305
- "dimensions": 0,
1306
- "default": null,
1307
- "generated": null,
1308
- "identity": null,
1309
- "name": "source_id",
1310
- "entityType": "columns",
1311
- "schema": "public",
1312
- "table": "source_credential_bindings"
1313
- },
1314
- {
1315
- "type": "text",
1316
- "typeSchema": null,
1317
- "notNull": false,
1318
- "dimensions": 0,
1319
- "default": null,
1320
- "generated": null,
1321
- "identity": null,
1322
- "name": "token_provider_id",
1323
- "entityType": "columns",
1324
- "schema": "public",
1325
- "table": "source_credential_bindings"
1326
- },
1327
- {
1328
- "type": "text",
1329
- "typeSchema": null,
1330
- "notNull": false,
1331
- "dimensions": 0,
1332
- "default": null,
1333
- "generated": null,
1334
- "identity": null,
1335
- "name": "token_handle",
1336
- "entityType": "columns",
1337
- "schema": "public",
1338
- "table": "source_credential_bindings"
1339
- },
1340
- {
1341
- "type": "text",
1342
- "typeSchema": null,
1343
- "notNull": false,
1344
- "dimensions": 0,
1345
- "default": null,
1346
- "generated": null,
1347
- "identity": null,
1348
- "name": "refresh_token_provider_id",
1349
- "entityType": "columns",
1350
- "schema": "public",
1351
- "table": "source_credential_bindings"
1352
- },
1353
- {
1354
- "type": "text",
1355
- "typeSchema": null,
1356
- "notNull": false,
1357
- "dimensions": 0,
1358
- "default": null,
1359
- "generated": null,
1360
- "identity": null,
1361
- "name": "refresh_token_handle",
1362
- "entityType": "columns",
1363
- "schema": "public",
1364
- "table": "source_credential_bindings"
1365
- },
1366
- {
1367
- "type": "bigint",
1368
- "typeSchema": null,
1369
- "notNull": true,
1370
- "dimensions": 0,
1371
- "default": null,
1372
- "generated": null,
1373
- "identity": null,
1374
- "name": "created_at",
1375
- "entityType": "columns",
1376
- "schema": "public",
1377
- "table": "source_credential_bindings"
1378
- },
1379
- {
1380
- "type": "bigint",
1381
- "typeSchema": null,
1382
- "notNull": true,
1383
- "dimensions": 0,
1384
- "default": null,
1385
- "generated": null,
1386
- "identity": null,
1387
- "name": "updated_at",
1388
- "entityType": "columns",
1389
- "schema": "public",
1390
- "table": "source_credential_bindings"
1391
- },
1392
- {
1393
- "type": "text",
1394
- "typeSchema": null,
1395
- "notNull": true,
1396
- "dimensions": 0,
1397
- "default": null,
1398
- "generated": null,
1399
- "identity": null,
1400
- "name": "workspace_id",
1401
- "entityType": "columns",
1402
- "schema": "public",
1403
- "table": "sources"
1404
- },
1405
- {
1406
- "type": "text",
1407
- "typeSchema": null,
1408
- "notNull": true,
1409
- "dimensions": 0,
1410
- "default": null,
1411
- "generated": null,
1412
- "identity": null,
1413
- "name": "source_id",
1414
- "entityType": "columns",
1415
- "schema": "public",
1416
- "table": "sources"
1417
- },
1418
- {
1419
- "type": "text",
1420
- "typeSchema": null,
1421
- "notNull": true,
1422
- "dimensions": 0,
1423
- "default": null,
1424
- "generated": null,
1425
- "identity": null,
1426
- "name": "name",
1427
- "entityType": "columns",
1428
- "schema": "public",
1429
- "table": "sources"
1430
- },
1431
- {
1432
- "type": "text",
1433
- "typeSchema": null,
1434
- "notNull": true,
1435
- "dimensions": 0,
1436
- "default": null,
1437
- "generated": null,
1438
- "identity": null,
1439
- "name": "kind",
1440
- "entityType": "columns",
1441
- "schema": "public",
1442
- "table": "sources"
1443
- },
1444
- {
1445
- "type": "text",
1446
- "typeSchema": null,
1447
- "notNull": true,
1448
- "dimensions": 0,
1449
- "default": null,
1450
- "generated": null,
1451
- "identity": null,
1452
- "name": "endpoint",
1453
- "entityType": "columns",
1454
- "schema": "public",
1455
- "table": "sources"
1456
- },
1457
- {
1458
- "type": "text",
1459
- "typeSchema": null,
1460
- "notNull": true,
1461
- "dimensions": 0,
1462
- "default": null,
1463
- "generated": null,
1464
- "identity": null,
1465
- "name": "status",
1466
- "entityType": "columns",
1467
- "schema": "public",
1468
- "table": "sources"
1469
- },
1470
- {
1471
- "type": "boolean",
1472
- "typeSchema": null,
1473
- "notNull": true,
1474
- "dimensions": 0,
1475
- "default": null,
1476
- "generated": null,
1477
- "identity": null,
1478
- "name": "enabled",
1479
- "entityType": "columns",
1480
- "schema": "public",
1481
- "table": "sources"
1482
- },
1483
- {
1484
- "type": "text",
1485
- "typeSchema": null,
1486
- "notNull": false,
1487
- "dimensions": 0,
1488
- "default": null,
1489
- "generated": null,
1490
- "identity": null,
1491
- "name": "namespace",
1492
- "entityType": "columns",
1493
- "schema": "public",
1494
- "table": "sources"
1495
- },
1496
- {
1497
- "type": "text",
1498
- "typeSchema": null,
1499
- "notNull": false,
1500
- "dimensions": 0,
1501
- "default": null,
1502
- "generated": null,
1503
- "identity": null,
1504
- "name": "transport",
1505
- "entityType": "columns",
1506
- "schema": "public",
1507
- "table": "sources"
1508
- },
1509
- {
1510
- "type": "text",
1511
- "typeSchema": null,
1512
- "notNull": false,
1513
- "dimensions": 0,
1514
- "default": null,
1515
- "generated": null,
1516
- "identity": null,
1517
- "name": "query_params_json",
1518
- "entityType": "columns",
1519
- "schema": "public",
1520
- "table": "sources"
1521
- },
1522
- {
1523
- "type": "text",
1524
- "typeSchema": null,
1525
- "notNull": false,
1526
- "dimensions": 0,
1527
- "default": null,
1528
- "generated": null,
1529
- "identity": null,
1530
- "name": "headers_json",
1531
- "entityType": "columns",
1532
- "schema": "public",
1533
- "table": "sources"
1534
- },
1535
- {
1536
- "type": "text",
1537
- "typeSchema": null,
1538
- "notNull": false,
1539
- "dimensions": 0,
1540
- "default": null,
1541
- "generated": null,
1542
- "identity": null,
1543
- "name": "spec_url",
1544
- "entityType": "columns",
1545
- "schema": "public",
1546
- "table": "sources"
1547
- },
1548
- {
1549
- "type": "text",
1550
- "typeSchema": null,
1551
- "notNull": false,
1552
- "dimensions": 0,
1553
- "default": null,
1554
- "generated": null,
1555
- "identity": null,
1556
- "name": "default_headers_json",
1557
- "entityType": "columns",
1558
- "schema": "public",
1559
- "table": "sources"
1560
- },
1561
- {
1562
- "type": "text",
1563
- "typeSchema": null,
1564
- "notNull": true,
1565
- "dimensions": 0,
1566
- "default": null,
1567
- "generated": null,
1568
- "identity": null,
1569
- "name": "auth_kind",
1570
- "entityType": "columns",
1571
- "schema": "public",
1572
- "table": "sources"
1573
- },
1574
- {
1575
- "type": "text",
1576
- "typeSchema": null,
1577
- "notNull": false,
1578
- "dimensions": 0,
1579
- "default": null,
1580
- "generated": null,
1581
- "identity": null,
1582
- "name": "auth_header_name",
1583
- "entityType": "columns",
1584
- "schema": "public",
1585
- "table": "sources"
1586
- },
1587
- {
1588
- "type": "text",
1589
- "typeSchema": null,
1590
- "notNull": false,
1591
- "dimensions": 0,
1592
- "default": null,
1593
- "generated": null,
1594
- "identity": null,
1595
- "name": "auth_prefix",
1596
- "entityType": "columns",
1597
- "schema": "public",
1598
- "table": "sources"
1599
- },
1600
- {
1601
- "type": "text",
1602
- "typeSchema": null,
1603
- "notNull": false,
1604
- "dimensions": 0,
1605
- "default": null,
1606
- "generated": null,
1607
- "identity": null,
1608
- "name": "source_hash",
1609
- "entityType": "columns",
1610
- "schema": "public",
1611
- "table": "sources"
1612
- },
1613
- {
1614
- "type": "text",
1615
- "typeSchema": null,
1616
- "notNull": false,
1617
- "dimensions": 0,
1618
- "default": null,
1619
- "generated": null,
1620
- "identity": null,
1621
- "name": "last_error",
1622
- "entityType": "columns",
1623
- "schema": "public",
1624
- "table": "sources"
1625
- },
1626
- {
1627
- "type": "bigint",
1628
- "typeSchema": null,
1629
- "notNull": true,
1630
- "dimensions": 0,
1631
- "default": null,
1632
- "generated": null,
1633
- "identity": null,
1634
- "name": "created_at",
1635
- "entityType": "columns",
1636
- "schema": "public",
1637
- "table": "sources"
1638
- },
1639
- {
1640
- "type": "bigint",
1641
- "typeSchema": null,
1642
- "notNull": true,
1643
- "dimensions": 0,
1644
- "default": null,
1645
- "generated": null,
1646
- "identity": null,
1647
- "name": "updated_at",
1648
- "entityType": "columns",
1649
- "schema": "public",
1650
- "table": "sources"
1651
- },
1652
- {
1653
- "type": "text",
1654
- "typeSchema": null,
1655
- "notNull": true,
1656
- "dimensions": 0,
1657
- "default": null,
1658
- "generated": null,
1659
- "identity": null,
1660
- "name": "workspace_id",
1661
- "entityType": "columns",
1662
- "schema": "public",
1663
- "table": "tool_artifact_parameters"
1664
- },
1665
- {
1666
- "type": "text",
1667
- "typeSchema": null,
1668
- "notNull": true,
1669
- "dimensions": 0,
1670
- "default": null,
1671
- "generated": null,
1672
- "identity": null,
1673
- "name": "path",
1674
- "entityType": "columns",
1675
- "schema": "public",
1676
- "table": "tool_artifact_parameters"
1677
- },
1678
- {
1679
- "type": "bigint",
1680
- "typeSchema": null,
1681
- "notNull": true,
1682
- "dimensions": 0,
1683
- "default": null,
1684
- "generated": null,
1685
- "identity": null,
1686
- "name": "position",
1687
- "entityType": "columns",
1688
- "schema": "public",
1689
- "table": "tool_artifact_parameters"
1690
- },
1691
- {
1692
- "type": "text",
1693
- "typeSchema": null,
1694
- "notNull": true,
1695
- "dimensions": 0,
1696
- "default": null,
1697
- "generated": null,
1698
- "identity": null,
1699
- "name": "name",
1700
- "entityType": "columns",
1701
- "schema": "public",
1702
- "table": "tool_artifact_parameters"
1703
- },
1704
- {
1705
- "type": "text",
1706
- "typeSchema": null,
1707
- "notNull": true,
1708
- "dimensions": 0,
1709
- "default": null,
1710
- "generated": null,
1711
- "identity": null,
1712
- "name": "location",
1713
- "entityType": "columns",
1714
- "schema": "public",
1715
- "table": "tool_artifact_parameters"
1716
- },
1717
- {
1718
- "type": "boolean",
1719
- "typeSchema": null,
1720
- "notNull": true,
1721
- "dimensions": 0,
1722
- "default": null,
1723
- "generated": null,
1724
- "identity": null,
1725
- "name": "required",
1726
- "entityType": "columns",
1727
- "schema": "public",
1728
- "table": "tool_artifact_parameters"
1729
- },
1730
- {
1731
- "type": "text",
1732
- "typeSchema": null,
1733
- "notNull": true,
1734
- "dimensions": 0,
1735
- "default": null,
1736
- "generated": null,
1737
- "identity": null,
1738
- "name": "workspace_id",
1739
- "entityType": "columns",
1740
- "schema": "public",
1741
- "table": "tool_artifact_ref_hint_keys"
1742
- },
1743
- {
1744
- "type": "text",
1745
- "typeSchema": null,
1746
- "notNull": true,
1747
- "dimensions": 0,
1748
- "default": null,
1749
- "generated": null,
1750
- "identity": null,
1751
- "name": "path",
1752
- "entityType": "columns",
1753
- "schema": "public",
1754
- "table": "tool_artifact_ref_hint_keys"
1755
- },
1756
- {
1757
- "type": "bigint",
1758
- "typeSchema": null,
1759
- "notNull": true,
1760
- "dimensions": 0,
1761
- "default": null,
1762
- "generated": null,
1763
- "identity": null,
1764
- "name": "position",
1765
- "entityType": "columns",
1766
- "schema": "public",
1767
- "table": "tool_artifact_ref_hint_keys"
1768
- },
1769
- {
1770
- "type": "text",
1771
- "typeSchema": null,
1772
- "notNull": true,
1773
- "dimensions": 0,
1774
- "default": null,
1775
- "generated": null,
1776
- "identity": null,
1777
- "name": "ref_hint_key",
1778
- "entityType": "columns",
1779
- "schema": "public",
1780
- "table": "tool_artifact_ref_hint_keys"
1781
- },
1782
- {
1783
- "type": "text",
1784
- "typeSchema": null,
1785
- "notNull": true,
1786
- "dimensions": 0,
1787
- "default": null,
1788
- "generated": null,
1789
- "identity": null,
1790
- "name": "workspace_id",
1791
- "entityType": "columns",
1792
- "schema": "public",
1793
- "table": "tool_artifact_request_body_content_types"
1794
- },
1795
- {
1796
- "type": "text",
1797
- "typeSchema": null,
1798
- "notNull": true,
1799
- "dimensions": 0,
1800
- "default": null,
1801
- "generated": null,
1802
- "identity": null,
1803
- "name": "path",
1804
- "entityType": "columns",
1805
- "schema": "public",
1806
- "table": "tool_artifact_request_body_content_types"
1807
- },
1808
- {
1809
- "type": "bigint",
1810
- "typeSchema": null,
1811
- "notNull": true,
1812
- "dimensions": 0,
1813
- "default": null,
1814
- "generated": null,
1815
- "identity": null,
1816
- "name": "position",
1817
- "entityType": "columns",
1818
- "schema": "public",
1819
- "table": "tool_artifact_request_body_content_types"
1820
- },
1821
- {
1822
- "type": "text",
1823
- "typeSchema": null,
1824
- "notNull": true,
1825
- "dimensions": 0,
1826
- "default": null,
1827
- "generated": null,
1828
- "identity": null,
1829
- "name": "content_type",
1830
- "entityType": "columns",
1831
- "schema": "public",
1832
- "table": "tool_artifact_request_body_content_types"
1833
- },
1834
- {
1835
- "type": "text",
1836
- "typeSchema": null,
1837
- "notNull": true,
1838
- "dimensions": 0,
1839
- "default": null,
1840
- "generated": null,
1841
- "identity": null,
1842
- "name": "workspace_id",
1843
- "entityType": "columns",
1844
- "schema": "public",
1845
- "table": "tool_artifacts"
1846
- },
1847
- {
1848
- "type": "text",
1849
- "typeSchema": null,
1850
- "notNull": true,
1851
- "dimensions": 0,
1852
- "default": null,
1853
- "generated": null,
1854
- "identity": null,
1855
- "name": "path",
1856
- "entityType": "columns",
1857
- "schema": "public",
1858
- "table": "tool_artifacts"
1859
- },
1860
- {
1861
- "type": "text",
1862
- "typeSchema": null,
1863
- "notNull": true,
1864
- "dimensions": 0,
1865
- "default": null,
1866
- "generated": null,
1867
- "identity": null,
1868
- "name": "tool_id",
1869
- "entityType": "columns",
1870
- "schema": "public",
1871
- "table": "tool_artifacts"
1872
- },
1873
- {
1874
- "type": "text",
1875
- "typeSchema": null,
1876
- "notNull": true,
1877
- "dimensions": 0,
1878
- "default": null,
1879
- "generated": null,
1880
- "identity": null,
1881
- "name": "source_id",
1882
- "entityType": "columns",
1883
- "schema": "public",
1884
- "table": "tool_artifacts"
1885
- },
1886
- {
1887
- "type": "text",
1888
- "typeSchema": null,
1889
- "notNull": false,
1890
- "dimensions": 0,
1891
- "default": null,
1892
- "generated": null,
1893
- "identity": null,
1894
- "name": "title",
1895
- "entityType": "columns",
1896
- "schema": "public",
1897
- "table": "tool_artifacts"
1898
- },
1899
- {
1900
- "type": "text",
1901
- "typeSchema": null,
1902
- "notNull": false,
1903
- "dimensions": 0,
1904
- "default": null,
1905
- "generated": null,
1906
- "identity": null,
1907
- "name": "description",
1908
- "entityType": "columns",
1909
- "schema": "public",
1910
- "table": "tool_artifacts"
1911
- },
1912
- {
1913
- "type": "text",
1914
- "typeSchema": null,
1915
- "notNull": true,
1916
- "dimensions": 0,
1917
- "default": null,
1918
- "generated": null,
1919
- "identity": null,
1920
- "name": "search_namespace",
1921
- "entityType": "columns",
1922
- "schema": "public",
1923
- "table": "tool_artifacts"
1924
- },
1925
- {
1926
- "type": "text",
1927
- "typeSchema": null,
1928
- "notNull": true,
1929
- "dimensions": 0,
1930
- "default": null,
1931
- "generated": null,
1932
- "identity": null,
1933
- "name": "search_text",
1934
- "entityType": "columns",
1935
- "schema": "public",
1936
- "table": "tool_artifacts"
1937
- },
1938
- {
1939
- "type": "text",
1940
- "typeSchema": null,
1941
- "notNull": false,
1942
- "dimensions": 0,
1943
- "default": null,
1944
- "generated": null,
1945
- "identity": null,
1946
- "name": "input_schema_json",
1947
- "entityType": "columns",
1948
- "schema": "public",
1949
- "table": "tool_artifacts"
1950
- },
1951
- {
1952
- "type": "text",
1953
- "typeSchema": null,
1954
- "notNull": false,
1955
- "dimensions": 0,
1956
- "default": null,
1957
- "generated": null,
1958
- "identity": null,
1959
- "name": "output_schema_json",
1960
- "entityType": "columns",
1961
- "schema": "public",
1962
- "table": "tool_artifacts"
1963
- },
1964
- {
1965
- "type": "text",
1966
- "typeSchema": null,
1967
- "notNull": true,
1968
- "dimensions": 0,
1969
- "default": null,
1970
- "generated": null,
1971
- "identity": null,
1972
- "name": "provider_kind",
1973
- "entityType": "columns",
1974
- "schema": "public",
1975
- "table": "tool_artifacts"
1976
- },
1977
- {
1978
- "type": "text",
1979
- "typeSchema": null,
1980
- "notNull": false,
1981
- "dimensions": 0,
1982
- "default": null,
1983
- "generated": null,
1984
- "identity": null,
1985
- "name": "mcp_tool_name",
1986
- "entityType": "columns",
1987
- "schema": "public",
1988
- "table": "tool_artifacts"
1989
- },
1990
- {
1991
- "type": "text",
1992
- "typeSchema": null,
1993
- "notNull": false,
1994
- "dimensions": 0,
1995
- "default": null,
1996
- "generated": null,
1997
- "identity": null,
1998
- "name": "openapi_method",
1999
- "entityType": "columns",
2000
- "schema": "public",
2001
- "table": "tool_artifacts"
2002
- },
2003
- {
2004
- "type": "text",
2005
- "typeSchema": null,
2006
- "notNull": false,
2007
- "dimensions": 0,
2008
- "default": null,
2009
- "generated": null,
2010
- "identity": null,
2011
- "name": "openapi_path_template",
2012
- "entityType": "columns",
2013
- "schema": "public",
2014
- "table": "tool_artifacts"
2015
- },
2016
- {
2017
- "type": "text",
2018
- "typeSchema": null,
2019
- "notNull": false,
2020
- "dimensions": 0,
2021
- "default": null,
2022
- "generated": null,
2023
- "identity": null,
2024
- "name": "openapi_operation_hash",
2025
- "entityType": "columns",
2026
- "schema": "public",
2027
- "table": "tool_artifacts"
2028
- },
2029
- {
2030
- "type": "boolean",
2031
- "typeSchema": null,
2032
- "notNull": false,
2033
- "dimensions": 0,
2034
- "default": null,
2035
- "generated": null,
2036
- "identity": null,
2037
- "name": "openapi_request_body_required",
2038
- "entityType": "columns",
2039
- "schema": "public",
2040
- "table": "tool_artifacts"
2041
- },
2042
- {
2043
- "type": "bigint",
2044
- "typeSchema": null,
2045
- "notNull": true,
2046
- "dimensions": 0,
2047
- "default": null,
2048
- "generated": null,
2049
- "identity": null,
2050
- "name": "created_at",
2051
- "entityType": "columns",
2052
- "schema": "public",
2053
- "table": "tool_artifacts"
2054
- },
2055
- {
2056
- "type": "bigint",
2057
- "typeSchema": null,
2058
- "notNull": true,
2059
- "dimensions": 0,
2060
- "default": null,
2061
- "generated": null,
2062
- "identity": null,
2063
- "name": "updated_at",
2064
- "entityType": "columns",
2065
- "schema": "public",
2066
- "table": "tool_artifacts"
2067
- },
2068
- {
2069
- "type": "text",
2070
- "typeSchema": null,
2071
- "notNull": true,
2072
- "dimensions": 0,
2073
- "default": null,
2074
- "generated": null,
2075
- "identity": null,
2076
- "name": "id",
2077
- "entityType": "columns",
2078
- "schema": "public",
2079
- "table": "workspaces"
2080
- },
2081
- {
2082
- "type": "text",
2083
- "typeSchema": null,
2084
- "notNull": true,
2085
- "dimensions": 0,
2086
- "default": null,
2087
- "generated": null,
2088
- "identity": null,
2089
- "name": "organization_id",
2090
- "entityType": "columns",
2091
- "schema": "public",
2092
- "table": "workspaces"
2093
- },
2094
- {
2095
- "type": "text",
2096
- "typeSchema": null,
2097
- "notNull": true,
2098
- "dimensions": 0,
2099
- "default": null,
2100
- "generated": null,
2101
- "identity": null,
2102
- "name": "name",
2103
- "entityType": "columns",
2104
- "schema": "public",
2105
- "table": "workspaces"
2106
- },
2107
- {
2108
- "type": "text",
2109
- "typeSchema": null,
2110
- "notNull": false,
2111
- "dimensions": 0,
2112
- "default": null,
2113
- "generated": null,
2114
- "identity": null,
2115
- "name": "created_by_account_id",
2116
- "entityType": "columns",
2117
- "schema": "public",
2118
- "table": "workspaces"
2119
- },
2120
- {
2121
- "type": "bigint",
2122
- "typeSchema": null,
2123
- "notNull": true,
2124
- "dimensions": 0,
2125
- "default": null,
2126
- "generated": null,
2127
- "identity": null,
2128
- "name": "created_at",
2129
- "entityType": "columns",
2130
- "schema": "public",
2131
- "table": "workspaces"
2132
- },
2133
- {
2134
- "type": "bigint",
2135
- "typeSchema": null,
2136
- "notNull": true,
2137
- "dimensions": 0,
2138
- "default": null,
2139
- "generated": null,
2140
- "identity": null,
2141
- "name": "updated_at",
2142
- "entityType": "columns",
2143
- "schema": "public",
2144
- "table": "workspaces"
2145
- },
2146
- {
2147
- "nameExplicit": true,
2148
- "columns": [
2149
- {
2150
- "value": "provider",
2151
- "isExpression": false,
2152
- "asc": true,
2153
- "nullsFirst": false,
2154
- "opclass": null
2155
- },
2156
- {
2157
- "value": "subject",
2158
- "isExpression": false,
2159
- "asc": true,
2160
- "nullsFirst": false,
2161
- "opclass": null
2162
- }
2163
- ],
2164
- "isUnique": true,
2165
- "where": null,
2166
- "with": "",
2167
- "method": "btree",
2168
- "concurrently": false,
2169
- "name": "accounts_provider_subject_idx",
2170
- "entityType": "indexes",
2171
- "schema": "public",
2172
- "table": "accounts"
2173
- },
2174
- {
2175
- "nameExplicit": true,
2176
- "columns": [
2177
- {
2178
- "value": "updated_at",
2179
- "isExpression": false,
2180
- "asc": true,
2181
- "nullsFirst": false,
2182
- "opclass": null
2183
- },
2184
- {
2185
- "value": "id",
2186
- "isExpression": false,
2187
- "asc": true,
2188
- "nullsFirst": false,
2189
- "opclass": null
2190
- }
2191
- ],
2192
- "isUnique": false,
2193
- "where": null,
2194
- "with": "",
2195
- "method": "btree",
2196
- "concurrently": false,
2197
- "name": "accounts_updated_idx",
2198
- "entityType": "indexes",
2199
- "schema": "public",
2200
- "table": "accounts"
2201
- },
2202
- {
2203
- "nameExplicit": true,
2204
- "columns": [
2205
- {
2206
- "value": "execution_id",
2207
- "isExpression": false,
2208
- "asc": true,
2209
- "nullsFirst": false,
2210
- "opclass": null
2211
- },
2212
- {
2213
- "value": "updated_at",
2214
- "isExpression": false,
2215
- "asc": true,
2216
- "nullsFirst": false,
2217
- "opclass": null
2218
- },
2219
- {
2220
- "value": "id",
2221
- "isExpression": false,
2222
- "asc": true,
2223
- "nullsFirst": false,
2224
- "opclass": null
2225
- }
2226
- ],
2227
- "isUnique": false,
2228
- "where": null,
2229
- "with": "",
2230
- "method": "btree",
2231
- "concurrently": false,
2232
- "name": "execution_interactions_execution_idx",
2233
- "entityType": "indexes",
2234
- "schema": "public",
2235
- "table": "execution_interactions"
2236
- },
2237
- {
2238
- "nameExplicit": true,
2239
- "columns": [
2240
- {
2241
- "value": "workspace_id",
2242
- "isExpression": false,
2243
- "asc": true,
2244
- "nullsFirst": false,
2245
- "opclass": null
2246
- },
2247
- {
2248
- "value": "updated_at",
2249
- "isExpression": false,
2250
- "asc": true,
2251
- "nullsFirst": false,
2252
- "opclass": null
2253
- },
2254
- {
2255
- "value": "id",
2256
- "isExpression": false,
2257
- "asc": true,
2258
- "nullsFirst": false,
2259
- "opclass": null
2260
- }
2261
- ],
2262
- "isUnique": false,
2263
- "where": null,
2264
- "with": "",
2265
- "method": "btree",
2266
- "concurrently": false,
2267
- "name": "executions_workspace_idx",
2268
- "entityType": "indexes",
2269
- "schema": "public",
2270
- "table": "executions"
2271
- },
2272
- {
2273
- "nameExplicit": true,
2274
- "columns": [
2275
- {
2276
- "value": "organization_id",
2277
- "isExpression": false,
2278
- "asc": true,
2279
- "nullsFirst": false,
2280
- "opclass": null
2281
- }
2282
- ],
2283
- "isUnique": false,
2284
- "where": null,
2285
- "with": "",
2286
- "method": "btree",
2287
- "concurrently": false,
2288
- "name": "organization_memberships_org_idx",
2289
- "entityType": "indexes",
2290
- "schema": "public",
2291
- "table": "organization_memberships"
2292
- },
2293
- {
2294
- "nameExplicit": true,
2295
- "columns": [
2296
- {
2297
- "value": "account_id",
2298
- "isExpression": false,
2299
- "asc": true,
2300
- "nullsFirst": false,
2301
- "opclass": null
2302
- }
2303
- ],
2304
- "isUnique": false,
2305
- "where": null,
2306
- "with": "",
2307
- "method": "btree",
2308
- "concurrently": false,
2309
- "name": "organization_memberships_account_idx",
2310
- "entityType": "indexes",
2311
- "schema": "public",
2312
- "table": "organization_memberships"
2313
- },
2314
- {
2315
- "nameExplicit": true,
2316
- "columns": [
2317
- {
2318
- "value": "organization_id",
2319
- "isExpression": false,
2320
- "asc": true,
2321
- "nullsFirst": false,
2322
- "opclass": null
2323
- },
2324
- {
2325
- "value": "account_id",
2326
- "isExpression": false,
2327
- "asc": true,
2328
- "nullsFirst": false,
2329
- "opclass": null
2330
- }
2331
- ],
2332
- "isUnique": true,
2333
- "where": null,
2334
- "with": "",
2335
- "method": "btree",
2336
- "concurrently": false,
2337
- "name": "organization_memberships_org_account_idx",
2338
- "entityType": "indexes",
2339
- "schema": "public",
2340
- "table": "organization_memberships"
2341
- },
2342
- {
2343
- "nameExplicit": true,
2344
- "columns": [
2345
- {
2346
- "value": "slug",
2347
- "isExpression": false,
2348
- "asc": true,
2349
- "nullsFirst": false,
2350
- "opclass": null
2351
- }
2352
- ],
2353
- "isUnique": true,
2354
- "where": null,
2355
- "with": "",
2356
- "method": "btree",
2357
- "concurrently": false,
2358
- "name": "organizations_slug_idx",
2359
- "entityType": "indexes",
2360
- "schema": "public",
2361
- "table": "organizations"
2362
- },
2363
- {
2364
- "nameExplicit": true,
2365
- "columns": [
2366
- {
2367
- "value": "updated_at",
2368
- "isExpression": false,
2369
- "asc": true,
2370
- "nullsFirst": false,
2371
- "opclass": null
2372
- },
2373
- {
2374
- "value": "id",
2375
- "isExpression": false,
2376
- "asc": true,
2377
- "nullsFirst": false,
2378
- "opclass": null
2379
- }
2380
- ],
2381
- "isUnique": false,
2382
- "where": null,
2383
- "with": "",
2384
- "method": "btree",
2385
- "concurrently": false,
2386
- "name": "organizations_updated_idx",
2387
- "entityType": "indexes",
2388
- "schema": "public",
2389
- "table": "organizations"
2390
- },
2391
- {
2392
- "nameExplicit": true,
2393
- "columns": [
2394
- {
2395
- "value": "workspace_id",
2396
- "isExpression": false,
2397
- "asc": true,
2398
- "nullsFirst": false,
2399
- "opclass": null
2400
- },
2401
- {
2402
- "value": "updated_at",
2403
- "isExpression": false,
2404
- "asc": true,
2405
- "nullsFirst": false,
2406
- "opclass": null
2407
- },
2408
- {
2409
- "value": "id",
2410
- "isExpression": false,
2411
- "asc": true,
2412
- "nullsFirst": false,
2413
- "opclass": null
2414
- }
2415
- ],
2416
- "isUnique": false,
2417
- "where": null,
2418
- "with": "",
2419
- "method": "btree",
2420
- "concurrently": false,
2421
- "name": "policies_workspace_idx",
2422
- "entityType": "indexes",
2423
- "schema": "public",
2424
- "table": "policies"
2425
- },
2426
- {
2427
- "nameExplicit": true,
2428
- "columns": [
2429
- {
2430
- "value": "updated_at",
2431
- "isExpression": false,
2432
- "asc": true,
2433
- "nullsFirst": false,
2434
- "opclass": null
2435
- },
2436
- {
2437
- "value": "id",
2438
- "isExpression": false,
2439
- "asc": true,
2440
- "nullsFirst": false,
2441
- "opclass": null
2442
- }
2443
- ],
2444
- "isUnique": false,
2445
- "where": null,
2446
- "with": "",
2447
- "method": "btree",
2448
- "concurrently": false,
2449
- "name": "secret_materials_updated_idx",
2450
- "entityType": "indexes",
2451
- "schema": "public",
2452
- "table": "secret_materials"
2453
- },
2454
- {
2455
- "nameExplicit": true,
2456
- "columns": [
2457
- {
2458
- "value": "workspace_id",
2459
- "isExpression": false,
2460
- "asc": true,
2461
- "nullsFirst": false,
2462
- "opclass": null
2463
- },
2464
- {
2465
- "value": "updated_at",
2466
- "isExpression": false,
2467
- "asc": true,
2468
- "nullsFirst": false,
2469
- "opclass": null
2470
- },
2471
- {
2472
- "value": "id",
2473
- "isExpression": false,
2474
- "asc": true,
2475
- "nullsFirst": false,
2476
- "opclass": null
2477
- }
2478
- ],
2479
- "isUnique": false,
2480
- "where": null,
2481
- "with": "",
2482
- "method": "btree",
2483
- "concurrently": false,
2484
- "name": "source_auth_sessions_workspace_idx",
2485
- "entityType": "indexes",
2486
- "schema": "public",
2487
- "table": "source_auth_sessions"
2488
- },
2489
- {
2490
- "nameExplicit": true,
2491
- "columns": [
2492
- {
2493
- "value": "state",
2494
- "isExpression": false,
2495
- "asc": true,
2496
- "nullsFirst": false,
2497
- "opclass": null
2498
- }
2499
- ],
2500
- "isUnique": true,
2501
- "where": null,
2502
- "with": "",
2503
- "method": "btree",
2504
- "concurrently": false,
2505
- "name": "source_auth_sessions_state_idx",
2506
- "entityType": "indexes",
2507
- "schema": "public",
2508
- "table": "source_auth_sessions"
2509
- },
2510
- {
2511
- "nameExplicit": true,
2512
- "columns": [
2513
- {
2514
- "value": "workspace_id",
2515
- "isExpression": false,
2516
- "asc": true,
2517
- "nullsFirst": false,
2518
- "opclass": null
2519
- },
2520
- {
2521
- "value": "updated_at",
2522
- "isExpression": false,
2523
- "asc": true,
2524
- "nullsFirst": false,
2525
- "opclass": null
2526
- },
2527
- {
2528
- "value": "source_id",
2529
- "isExpression": false,
2530
- "asc": true,
2531
- "nullsFirst": false,
2532
- "opclass": null
2533
- }
2534
- ],
2535
- "isUnique": false,
2536
- "where": null,
2537
- "with": "",
2538
- "method": "btree",
2539
- "concurrently": false,
2540
- "name": "source_credential_bindings_workspace_idx",
2541
- "entityType": "indexes",
2542
- "schema": "public",
2543
- "table": "source_credential_bindings"
2544
- },
2545
- {
2546
- "nameExplicit": true,
2547
- "columns": [
2548
- {
2549
- "value": "workspace_id",
2550
- "isExpression": false,
2551
- "asc": true,
2552
- "nullsFirst": false,
2553
- "opclass": null
2554
- },
2555
- {
2556
- "value": "name",
2557
- "isExpression": false,
2558
- "asc": true,
2559
- "nullsFirst": false,
2560
- "opclass": null
2561
- }
2562
- ],
2563
- "isUnique": true,
2564
- "where": null,
2565
- "with": "",
2566
- "method": "btree",
2567
- "concurrently": false,
2568
- "name": "sources_workspace_name_idx",
2569
- "entityType": "indexes",
2570
- "schema": "public",
2571
- "table": "sources"
2572
- },
2573
- {
2574
- "nameExplicit": true,
2575
- "columns": [
2576
- {
2577
- "value": "workspace_id",
2578
- "isExpression": false,
2579
- "asc": true,
2580
- "nullsFirst": false,
2581
- "opclass": null
2582
- },
2583
- {
2584
- "value": "path",
2585
- "isExpression": false,
2586
- "asc": true,
2587
- "nullsFirst": false,
2588
- "opclass": null
2589
- },
2590
- {
2591
- "value": "position",
2592
- "isExpression": false,
2593
- "asc": true,
2594
- "nullsFirst": false,
2595
- "opclass": null
2596
- }
2597
- ],
2598
- "isUnique": false,
2599
- "where": null,
2600
- "with": "",
2601
- "method": "btree",
2602
- "concurrently": false,
2603
- "name": "tool_artifact_parameters_lookup_idx",
2604
- "entityType": "indexes",
2605
- "schema": "public",
2606
- "table": "tool_artifact_parameters"
2607
- },
2608
- {
2609
- "nameExplicit": true,
2610
- "columns": [
2611
- {
2612
- "value": "workspace_id",
2613
- "isExpression": false,
2614
- "asc": true,
2615
- "nullsFirst": false,
2616
- "opclass": null
2617
- },
2618
- {
2619
- "value": "path",
2620
- "isExpression": false,
2621
- "asc": true,
2622
- "nullsFirst": false,
2623
- "opclass": null
2624
- },
2625
- {
2626
- "value": "position",
2627
- "isExpression": false,
2628
- "asc": true,
2629
- "nullsFirst": false,
2630
- "opclass": null
2631
- }
2632
- ],
2633
- "isUnique": false,
2634
- "where": null,
2635
- "with": "",
2636
- "method": "btree",
2637
- "concurrently": false,
2638
- "name": "tool_artifact_ref_hint_keys_lookup_idx",
2639
- "entityType": "indexes",
2640
- "schema": "public",
2641
- "table": "tool_artifact_ref_hint_keys"
2642
- },
2643
- {
2644
- "nameExplicit": true,
2645
- "columns": [
2646
- {
2647
- "value": "workspace_id",
2648
- "isExpression": false,
2649
- "asc": true,
2650
- "nullsFirst": false,
2651
- "opclass": null
2652
- },
2653
- {
2654
- "value": "path",
2655
- "isExpression": false,
2656
- "asc": true,
2657
- "nullsFirst": false,
2658
- "opclass": null
2659
- },
2660
- {
2661
- "value": "position",
2662
- "isExpression": false,
2663
- "asc": true,
2664
- "nullsFirst": false,
2665
- "opclass": null
2666
- }
2667
- ],
2668
- "isUnique": false,
2669
- "where": null,
2670
- "with": "",
2671
- "method": "btree",
2672
- "concurrently": false,
2673
- "name": "tool_artifact_request_body_content_types_lookup_idx",
2674
- "entityType": "indexes",
2675
- "schema": "public",
2676
- "table": "tool_artifact_request_body_content_types"
2677
- },
2678
- {
2679
- "nameExplicit": true,
2680
- "columns": [
2681
- {
2682
- "value": "workspace_id",
2683
- "isExpression": false,
2684
- "asc": true,
2685
- "nullsFirst": false,
2686
- "opclass": null
2687
- },
2688
- {
2689
- "value": "source_id",
2690
- "isExpression": false,
2691
- "asc": true,
2692
- "nullsFirst": false,
2693
- "opclass": null
2694
- },
2695
- {
2696
- "value": "updated_at",
2697
- "isExpression": false,
2698
- "asc": true,
2699
- "nullsFirst": false,
2700
- "opclass": null
2701
- },
2702
- {
2703
- "value": "path",
2704
- "isExpression": false,
2705
- "asc": true,
2706
- "nullsFirst": false,
2707
- "opclass": null
2708
- }
2709
- ],
2710
- "isUnique": false,
2711
- "where": null,
2712
- "with": "",
2713
- "method": "btree",
2714
- "concurrently": false,
2715
- "name": "tool_artifacts_workspace_source_idx",
2716
- "entityType": "indexes",
2717
- "schema": "public",
2718
- "table": "tool_artifacts"
2719
- },
2720
- {
2721
- "nameExplicit": true,
2722
- "columns": [
2723
- {
2724
- "value": "workspace_id",
2725
- "isExpression": false,
2726
- "asc": true,
2727
- "nullsFirst": false,
2728
- "opclass": null
2729
- },
2730
- {
2731
- "value": "search_namespace",
2732
- "isExpression": false,
2733
- "asc": true,
2734
- "nullsFirst": false,
2735
- "opclass": null
2736
- },
2737
- {
2738
- "value": "path",
2739
- "isExpression": false,
2740
- "asc": true,
2741
- "nullsFirst": false,
2742
- "opclass": null
2743
- }
2744
- ],
2745
- "isUnique": false,
2746
- "where": null,
2747
- "with": "",
2748
- "method": "btree",
2749
- "concurrently": false,
2750
- "name": "tool_artifacts_workspace_namespace_idx",
2751
- "entityType": "indexes",
2752
- "schema": "public",
2753
- "table": "tool_artifacts"
2754
- },
2755
- {
2756
- "nameExplicit": true,
2757
- "columns": [
2758
- {
2759
- "value": "organization_id",
2760
- "isExpression": false,
2761
- "asc": true,
2762
- "nullsFirst": false,
2763
- "opclass": null
2764
- }
2765
- ],
2766
- "isUnique": false,
2767
- "where": null,
2768
- "with": "",
2769
- "method": "btree",
2770
- "concurrently": false,
2771
- "name": "workspaces_org_idx",
2772
- "entityType": "indexes",
2773
- "schema": "public",
2774
- "table": "workspaces"
2775
- },
2776
- {
2777
- "nameExplicit": true,
2778
- "columns": [
2779
- {
2780
- "value": "organization_id",
2781
- "isExpression": false,
2782
- "asc": true,
2783
- "nullsFirst": false,
2784
- "opclass": null
2785
- },
2786
- {
2787
- "value": "name",
2788
- "isExpression": false,
2789
- "asc": true,
2790
- "nullsFirst": false,
2791
- "opclass": null
2792
- }
2793
- ],
2794
- "isUnique": true,
2795
- "where": null,
2796
- "with": "",
2797
- "method": "btree",
2798
- "concurrently": false,
2799
- "name": "workspaces_org_name_idx",
2800
- "entityType": "indexes",
2801
- "schema": "public",
2802
- "table": "workspaces"
2803
- },
2804
- {
2805
- "columns": [
2806
- "workspace_id",
2807
- "source_id"
2808
- ],
2809
- "nameExplicit": false,
2810
- "name": "source_credential_bindings_pkey",
2811
- "entityType": "pks",
2812
- "schema": "public",
2813
- "table": "source_credential_bindings"
2814
- },
2815
- {
2816
- "columns": [
2817
- "workspace_id",
2818
- "source_id"
2819
- ],
2820
- "nameExplicit": false,
2821
- "name": "sources_pkey",
2822
- "entityType": "pks",
2823
- "schema": "public",
2824
- "table": "sources"
2825
- },
2826
- {
2827
- "columns": [
2828
- "workspace_id",
2829
- "path",
2830
- "position"
2831
- ],
2832
- "nameExplicit": false,
2833
- "name": "tool_artifact_parameters_pkey",
2834
- "entityType": "pks",
2835
- "schema": "public",
2836
- "table": "tool_artifact_parameters"
2837
- },
2838
- {
2839
- "columns": [
2840
- "workspace_id",
2841
- "path",
2842
- "position"
2843
- ],
2844
- "nameExplicit": false,
2845
- "name": "tool_artifact_ref_hint_keys_pkey",
2846
- "entityType": "pks",
2847
- "schema": "public",
2848
- "table": "tool_artifact_ref_hint_keys"
2849
- },
2850
- {
2851
- "columns": [
2852
- "workspace_id",
2853
- "path",
2854
- "position"
2855
- ],
2856
- "nameExplicit": false,
2857
- "name": "tool_artifact_request_body_content_types_pkey",
2858
- "entityType": "pks",
2859
- "schema": "public",
2860
- "table": "tool_artifact_request_body_content_types"
2861
- },
2862
- {
2863
- "columns": [
2864
- "workspace_id",
2865
- "path"
2866
- ],
2867
- "nameExplicit": false,
2868
- "name": "tool_artifacts_pkey",
2869
- "entityType": "pks",
2870
- "schema": "public",
2871
- "table": "tool_artifacts"
2872
- },
2873
- {
2874
- "columns": [
2875
- "id"
2876
- ],
2877
- "nameExplicit": false,
2878
- "name": "accounts_pkey",
2879
- "schema": "public",
2880
- "table": "accounts",
2881
- "entityType": "pks"
2882
- },
2883
- {
2884
- "columns": [
2885
- "id"
2886
- ],
2887
- "nameExplicit": false,
2888
- "name": "execution_interactions_pkey",
2889
- "schema": "public",
2890
- "table": "execution_interactions",
2891
- "entityType": "pks"
2892
- },
2893
- {
2894
- "columns": [
2895
- "id"
2896
- ],
2897
- "nameExplicit": false,
2898
- "name": "executions_pkey",
2899
- "schema": "public",
2900
- "table": "executions",
2901
- "entityType": "pks"
2902
- },
2903
- {
2904
- "columns": [
2905
- "id"
2906
- ],
2907
- "nameExplicit": false,
2908
- "name": "local_installations_pkey",
2909
- "schema": "public",
2910
- "table": "local_installations",
2911
- "entityType": "pks"
2912
- },
2913
- {
2914
- "columns": [
2915
- "id"
2916
- ],
2917
- "nameExplicit": false,
2918
- "name": "organization_memberships_pkey",
2919
- "schema": "public",
2920
- "table": "organization_memberships",
2921
- "entityType": "pks"
2922
- },
2923
- {
2924
- "columns": [
2925
- "id"
2926
- ],
2927
- "nameExplicit": false,
2928
- "name": "organizations_pkey",
2929
- "schema": "public",
2930
- "table": "organizations",
2931
- "entityType": "pks"
2932
- },
2933
- {
2934
- "columns": [
2935
- "id"
2936
- ],
2937
- "nameExplicit": false,
2938
- "name": "policies_pkey",
2939
- "schema": "public",
2940
- "table": "policies",
2941
- "entityType": "pks"
2942
- },
2943
- {
2944
- "columns": [
2945
- "id"
2946
- ],
2947
- "nameExplicit": false,
2948
- "name": "secret_materials_pkey",
2949
- "schema": "public",
2950
- "table": "secret_materials",
2951
- "entityType": "pks"
2952
- },
2953
- {
2954
- "columns": [
2955
- "id"
2956
- ],
2957
- "nameExplicit": false,
2958
- "name": "source_auth_sessions_pkey",
2959
- "schema": "public",
2960
- "table": "source_auth_sessions",
2961
- "entityType": "pks"
2962
- },
2963
- {
2964
- "columns": [
2965
- "id"
2966
- ],
2967
- "nameExplicit": false,
2968
- "name": "workspaces_pkey",
2969
- "schema": "public",
2970
- "table": "workspaces",
2971
- "entityType": "pks"
2972
- },
2973
- {
2974
- "value": "\"provider\" in ('local', 'workos', 'service')",
2975
- "name": "accounts_provider_check",
2976
- "entityType": "checks",
2977
- "schema": "public",
2978
- "table": "accounts"
2979
- },
2980
- {
2981
- "value": "\"status\" in ('pending', 'resolved', 'cancelled')",
2982
- "name": "execution_interactions_status_check",
2983
- "entityType": "checks",
2984
- "schema": "public",
2985
- "table": "execution_interactions"
2986
- },
2987
- {
2988
- "value": "\"status\" in ('pending', 'running', 'waiting_for_interaction', 'completed', 'failed', 'cancelled')",
2989
- "name": "executions_status_check",
2990
- "entityType": "checks",
2991
- "schema": "public",
2992
- "table": "executions"
2993
- },
2994
- {
2995
- "value": "\"role\" in ('viewer', 'editor', 'admin', 'owner')",
2996
- "name": "organization_memberships_role_check",
2997
- "entityType": "checks",
2998
- "schema": "public",
2999
- "table": "organization_memberships"
3000
- },
3001
- {
3002
- "value": "\"status\" in ('invited', 'active', 'suspended', 'removed')",
3003
- "name": "organization_memberships_status_check",
3004
- "entityType": "checks",
3005
- "schema": "public",
3006
- "table": "organization_memberships"
3007
- },
3008
- {
3009
- "value": "\"status\" in ('active', 'suspended', 'archived')",
3010
- "name": "organizations_status_check",
3011
- "entityType": "checks",
3012
- "schema": "public",
3013
- "table": "organizations"
3014
- },
3015
- {
3016
- "value": "\"resource_type\" in ('all_tools', 'source', 'namespace', 'tool_path')",
3017
- "name": "policies_resource_type_check",
3018
- "entityType": "checks",
3019
- "schema": "public",
3020
- "table": "policies"
3021
- },
3022
- {
3023
- "value": "\"match_type\" in ('glob', 'exact')",
3024
- "name": "policies_match_type_check",
3025
- "entityType": "checks",
3026
- "schema": "public",
3027
- "table": "policies"
3028
- },
3029
- {
3030
- "value": "\"effect\" in ('allow', 'deny')",
3031
- "name": "policies_effect_check",
3032
- "entityType": "checks",
3033
- "schema": "public",
3034
- "table": "policies"
3035
- },
3036
- {
3037
- "value": "\"approval_mode\" in ('auto', 'required')",
3038
- "name": "policies_approval_mode_check",
3039
- "entityType": "checks",
3040
- "schema": "public",
3041
- "table": "policies"
3042
- },
3043
- {
3044
- "value": "\"purpose\" in ('auth_material', 'oauth_access_token', 'oauth_refresh_token', 'oauth_client_info')",
3045
- "name": "secret_materials_purpose_check",
3046
- "entityType": "checks",
3047
- "schema": "public",
3048
- "table": "secret_materials"
3049
- },
3050
- {
3051
- "value": "\"strategy\" in ('oauth2_authorization_code')",
3052
- "name": "source_auth_sessions_strategy_check",
3053
- "entityType": "checks",
3054
- "schema": "public",
3055
- "table": "source_auth_sessions"
3056
- },
3057
- {
3058
- "value": "\"status\" in ('pending', 'completed', 'failed', 'cancelled')",
3059
- "name": "source_auth_sessions_status_check",
3060
- "entityType": "checks",
3061
- "schema": "public",
3062
- "table": "source_auth_sessions"
3063
- },
3064
- {
3065
- "value": "\"kind\" in ('mcp', 'openapi', 'graphql', 'internal')",
3066
- "name": "sources_kind_check",
3067
- "entityType": "checks",
3068
- "schema": "public",
3069
- "table": "sources"
3070
- },
3071
- {
3072
- "value": "\"status\" in ('draft', 'probing', 'auth_required', 'connected', 'error')",
3073
- "name": "sources_status_check",
3074
- "entityType": "checks",
3075
- "schema": "public",
3076
- "table": "sources"
3077
- },
3078
- {
3079
- "value": "\"transport\" is null or \"transport\" in ('auto', 'streamable-http', 'sse')",
3080
- "name": "sources_transport_check",
3081
- "entityType": "checks",
3082
- "schema": "public",
3083
- "table": "sources"
3084
- },
3085
- {
3086
- "value": "\"auth_kind\" in ('none', 'bearer', 'oauth2')",
3087
- "name": "sources_auth_kind_check",
3088
- "entityType": "checks",
3089
- "schema": "public",
3090
- "table": "sources"
3091
- },
3092
- {
3093
- "value": "\"location\" in ('path', 'query', 'header', 'cookie')",
3094
- "name": "tool_artifact_parameters_location_check",
3095
- "entityType": "checks",
3096
- "schema": "public",
3097
- "table": "tool_artifact_parameters"
3098
- },
3099
- {
3100
- "value": "\"provider_kind\" in ('mcp', 'openapi')",
3101
- "name": "tool_artifacts_provider_kind_check",
3102
- "entityType": "checks",
3103
- "schema": "public",
3104
- "table": "tool_artifacts"
3105
- },
3106
- {
3107
- "value": "\"provider_kind\" <> 'mcp'\n or (\n \"mcp_tool_name\" is not null\n and \"openapi_method\" is null\n and \"openapi_path_template\" is null\n and \"openapi_operation_hash\" is null\n and \"openapi_request_body_required\" is null\n )",
3108
- "name": "tool_artifacts_mcp_shape_check",
3109
- "entityType": "checks",
3110
- "schema": "public",
3111
- "table": "tool_artifacts"
3112
- },
3113
- {
3114
- "value": "\"provider_kind\" <> 'openapi'\n or (\n \"mcp_tool_name\" is null\n and \"openapi_method\" in ('get', 'put', 'post', 'delete', 'patch', 'head', 'options', 'trace')\n and \"openapi_path_template\" is not null\n and \"openapi_operation_hash\" is not null\n )",
3115
- "name": "tool_artifacts_openapi_shape_check",
3116
- "entityType": "checks",
3117
- "schema": "public",
3118
- "table": "tool_artifacts"
3119
- }
3120
- ],
3121
- "renames": []
3122
- }