lurqrun 0.1.6 → 0.1.7

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 (206) hide show
  1. package/README.md +18 -10
  2. package/dist/auditHandler-JCOJSUYW.js +23 -0
  3. package/dist/bin/lurq.js +3090 -23306
  4. package/dist/browserAuth-B6G27USY.js +95 -0
  5. package/dist/cache-DKI34SVS.js +12 -0
  6. package/dist/check-2FDGUOV7.js +192 -0
  7. package/dist/checkUpgrade-F2WESBPM.js +103 -0
  8. package/dist/chunk-2VMOWSRY.js +300 -0
  9. package/dist/chunk-3GHJR7XR.js +2049 -0
  10. package/dist/chunk-3N3Q3DSW.js +214 -0
  11. package/dist/chunk-4ESO33J6.js +34 -0
  12. package/dist/chunk-4F7ZESPO.js +132 -0
  13. package/dist/chunk-4KCPOMG6.js +68 -0
  14. package/dist/chunk-4ZYCIMY4.js +155 -0
  15. package/dist/chunk-63MUJNZL.js +318 -0
  16. package/dist/chunk-6AAEVQ7I.js +6336 -0
  17. package/dist/chunk-6EQ3ARXA.js +304 -0
  18. package/dist/chunk-6L3U7DZ5.js +23 -0
  19. package/dist/chunk-AHBP533R.js +220 -0
  20. package/dist/chunk-B43LCXBM.js +223 -0
  21. package/dist/chunk-BCANRN5B.js +33 -0
  22. package/dist/chunk-BUALU27S.js +123 -0
  23. package/dist/chunk-BULZAX2U.js +1554 -0
  24. package/dist/chunk-BV32UNLL.js +154 -0
  25. package/dist/chunk-C6GLE626.js +160 -0
  26. package/dist/chunk-CIDWNUAP.js +145 -0
  27. package/dist/chunk-CUP36ND3.js +2126 -0
  28. package/dist/chunk-CW5HJ3LX.js +96 -0
  29. package/dist/chunk-DB2VF5UD.js +315 -0
  30. package/dist/chunk-DWAGCNEL.js +210 -0
  31. package/dist/chunk-EA3DP5HG.js +293 -0
  32. package/dist/chunk-ELGCAM7P.js +184 -0
  33. package/dist/chunk-FW6BD2NO.js +1915 -0
  34. package/dist/chunk-GE37NVLN.js +15 -0
  35. package/dist/chunk-GPTKSNR6.js +171 -0
  36. package/dist/chunk-GRJXQBQZ.js +793 -0
  37. package/dist/chunk-HWBBVLOT.js +92 -0
  38. package/dist/chunk-I2JUKN6Z.js +24 -0
  39. package/dist/chunk-I3M2KJXB.js +56 -0
  40. package/dist/chunk-IQ4SDKKY.js +733 -0
  41. package/dist/chunk-J5FZYN4A.js +116 -0
  42. package/dist/chunk-L6N4JFW2.js +263 -0
  43. package/dist/chunk-LBFGSSF2.js +126 -0
  44. package/dist/chunk-LEGPB7DO.js +81 -0
  45. package/dist/chunk-LO35HLQZ.js +219 -0
  46. package/dist/chunk-LRD4GBYE.js +73 -0
  47. package/dist/chunk-LUAKDHLZ.js +40 -0
  48. package/dist/chunk-LYMPYETA.js +965 -0
  49. package/dist/chunk-M6NYEXCW.js +38 -0
  50. package/dist/chunk-MHUEVBVO.js +35 -0
  51. package/dist/chunk-MYGSLK44.js +37 -0
  52. package/dist/chunk-NH5I4KHH.js +201 -0
  53. package/dist/chunk-OQS4GUSI.js +1391 -0
  54. package/dist/chunk-PSX3GIAN.js +176 -0
  55. package/dist/chunk-Q5VPF4WI.js +26 -0
  56. package/dist/chunk-QKGYDMWB.js +7409 -0
  57. package/dist/chunk-QSL6QN5X.js +115 -0
  58. package/dist/chunk-SHCEBP3J.js +107 -0
  59. package/dist/chunk-SJOVFF7B.js +201 -0
  60. package/dist/chunk-ST2X2GYN.js +373 -0
  61. package/dist/chunk-TNTXWSYA.js +19 -0
  62. package/dist/chunk-U5AT3TD4.js +2128 -0
  63. package/dist/chunk-UDVNA7EA.js +483 -0
  64. package/dist/chunk-VL2E5T2A.js +109 -0
  65. package/dist/chunk-VLRHFMGJ.js +58 -0
  66. package/dist/chunk-WHX2ZFCG.js +4048 -0
  67. package/dist/chunk-WQ23REYT.js +37 -0
  68. package/dist/chunk-XBIDMHSK.js +15425 -0
  69. package/dist/chunk-Y5GI7RL3.js +66 -0
  70. package/dist/client-IRKAMDYZ.js +15 -0
  71. package/dist/commands-FIL5ET6P.js +911 -0
  72. package/dist/compat-R3UTFQ5Q.js +201 -0
  73. package/dist/dashboardIssue-WYYMBFIB.js +192 -0
  74. package/dist/diff-GZA2774U.js +13 -0
  75. package/dist/dist-4XXIXHHZ.js +12945 -0
  76. package/dist/e2b-FVPHDULZ.js +172 -0
  77. package/dist/extract-NKGKLIVT.js +444 -0
  78. package/dist/fetch-QYTUJVG2.js +22 -0
  79. package/dist/firstTouch-QQTJH4QX.js +55 -0
  80. package/dist/handlers-GEJAVZDK.js +53 -0
  81. package/dist/http-ETPYMBGD.js +5360 -0
  82. package/dist/ingestQueue-VKN4KBIF.js +35 -0
  83. package/dist/install-EK3W2COX.js +20 -0
  84. package/dist/installSkill-VQJWJVCL.js +52 -0
  85. package/dist/inventory-5AWSLJYU.js +31 -0
  86. package/dist/local-XPZMRH5R.js +13 -0
  87. package/dist/mcp-3JHD5SUZ.js +472 -0
  88. package/dist/mcpHandlers-QFN4MCFL.js +22 -0
  89. package/dist/mcpScan-QZHWENIP.js +1871 -0
  90. package/dist/mcpScanWorkflow-JPYCBGC4.js +81 -0
  91. package/dist/mcpStack-BYJCZNIV.js +20 -0
  92. package/dist/packages-THVFMWFP.js +42 -0
  93. package/dist/plan-V4OEI3J4.js +463 -0
  94. package/dist/planView-JRXGCG2N.js +79 -0
  95. package/dist/policy-3P6BGRDN.js +115 -0
  96. package/dist/references-6N7VEPHT.js +14 -0
  97. package/dist/release-4U4ABNSJ.js +128 -0
  98. package/dist/remote-YGCXYI4V.js +32 -0
  99. package/dist/reportRuns-CKQQYLY4.js +64 -0
  100. package/dist/sandbox-MEZLAODF.js +39 -0
  101. package/dist/server-KFUD5X57.js +55 -0
  102. package/dist/surface-V62GE554.js +141 -0
  103. package/dist/surface-YL6O67W3.js +36 -0
  104. package/dist/surfaceHandlers-X2IZKA3E.js +20 -0
  105. package/dist/typecheck-X7U5ELMR.js +268 -0
  106. package/dist/types-M5JP2W3D.js +10 -0
  107. package/dist/uninstall-P7RGBX6G.js +174 -0
  108. package/dist/upgrade-NQ5IWFZB.js +596 -0
  109. package/dist/upgradePlan-A4LRKLEG.js +146 -0
  110. package/dist/userConfig-Z3GQE776.js +20 -0
  111. package/dist/watch-DGFMWUDL.js +214 -0
  112. package/package.json +26 -21
  113. package/templates/agent-rules.md +4 -4
  114. package/templates/skill-instructions.md +13 -14
  115. package/dist/bin/lurq.js.map +0 -1
  116. package/dist/index.d.ts +0 -805
  117. package/dist/index.js +0 -23570
  118. package/dist/index.js.map +0 -1
  119. package/drizzle/0000_confused_fabian_cortez.sql +0 -54
  120. package/drizzle/0001_aspiring_timeslip.sql +0 -15
  121. package/drizzle/0002_lyrical_lila_cheney.sql +0 -14
  122. package/drizzle/0003_violet_giant_girl.sql +0 -14
  123. package/drizzle/0004_slim_valeria_richards.sql +0 -15
  124. package/drizzle/0005_petite_luke_cage.sql +0 -12
  125. package/drizzle/0006_calm_nighthawk.sql +0 -3
  126. package/drizzle/0007_slimy_naoko.sql +0 -1
  127. package/drizzle/0008_peaceful_tigra.sql +0 -1
  128. package/drizzle/0009_smooth_harrier.sql +0 -10
  129. package/drizzle/0010_curved_amphibian.sql +0 -2
  130. package/drizzle/0011_compat_provenance_closures.sql +0 -11
  131. package/drizzle/0012_api_surfaces.sql +0 -9
  132. package/drizzle/0013_nice_thanos.sql +0 -1
  133. package/drizzle/0014_luxuriant_malcolm_colcord.sql +0 -10
  134. package/drizzle/0015_past_fat_cobra.sql +0 -11
  135. package/drizzle/0016_futuristic_junta.sql +0 -50
  136. package/drizzle/0017_absent_grandmaster.sql +0 -20
  137. package/drizzle/0018_rainy_proemial_gods.sql +0 -1
  138. package/drizzle/0019_dashing_korvac.sql +0 -11
  139. package/drizzle/0020_normal_vulture.sql +0 -3
  140. package/drizzle/0021_dazzling_blue_shield.sql +0 -17
  141. package/drizzle/0022_massive_ghost_rider.sql +0 -24
  142. package/drizzle/0023_next_shatterstar.sql +0 -1
  143. package/drizzle/0024_dusty_maelstrom.sql +0 -15
  144. package/drizzle/0025_gifted_harpoon.sql +0 -5
  145. package/drizzle/0026_awesome_mordo.sql +0 -1
  146. package/drizzle/0027_charming_ulik.sql +0 -2
  147. package/drizzle/0028_romantic_loners.sql +0 -2
  148. package/drizzle/0029_busy_korvac.sql +0 -16
  149. package/drizzle/0030_steady_mathemanic.sql +0 -6
  150. package/drizzle/0031_redundant_maginty.sql +0 -2
  151. package/drizzle/0032_stack_resolutions.sql +0 -14
  152. package/drizzle/0033_graceful_tyger_tiger.sql +0 -3
  153. package/drizzle/0034_uneven_thunderbird.sql +0 -1
  154. package/drizzle/0035_api_key_scopes.sql +0 -1
  155. package/drizzle/0036_policy_audit.sql +0 -21
  156. package/drizzle/0037_subscription_seats.sql +0 -1
  157. package/drizzle/0038_symbol_offsets.sql +0 -2
  158. package/drizzle/0039_mcp_runtime_scans.sql +0 -80
  159. package/drizzle/0040_subscription_overage_and_interval.sql +0 -4
  160. package/drizzle/0041_account_email.sql +0 -38
  161. package/drizzle/0042_alert_channels.sql +0 -21
  162. package/drizzle/meta/0000_snapshot.json +0 -370
  163. package/drizzle/meta/0001_snapshot.json +0 -482
  164. package/drizzle/meta/0002_snapshot.json +0 -575
  165. package/drizzle/meta/0003_snapshot.json +0 -667
  166. package/drizzle/meta/0004_snapshot.json +0 -769
  167. package/drizzle/meta/0005_snapshot.json +0 -864
  168. package/drizzle/meta/0006_snapshot.json +0 -882
  169. package/drizzle/meta/0007_snapshot.json +0 -876
  170. package/drizzle/meta/0008_snapshot.json +0 -882
  171. package/drizzle/meta/0009_snapshot.json +0 -948
  172. package/drizzle/meta/0010_snapshot.json +0 -969
  173. package/drizzle/meta/0011_snapshot.json +0 -1049
  174. package/drizzle/meta/0012_snapshot.json +0 -1115
  175. package/drizzle/meta/0013_snapshot.json +0 -1121
  176. package/drizzle/meta/0014_snapshot.json +0 -1190
  177. package/drizzle/meta/0015_snapshot.json +0 -1280
  178. package/drizzle/meta/0016_snapshot.json +0 -1683
  179. package/drizzle/meta/0017_snapshot.json +0 -1834
  180. package/drizzle/meta/0018_snapshot.json +0 -1834
  181. package/drizzle/meta/0019_snapshot.json +0 -1909
  182. package/drizzle/meta/0020_snapshot.json +0 -1921
  183. package/drizzle/meta/0021_snapshot.json +0 -2045
  184. package/drizzle/meta/0022_snapshot.json +0 -2246
  185. package/drizzle/meta/0023_snapshot.json +0 -2252
  186. package/drizzle/meta/0024_snapshot.json +0 -2375
  187. package/drizzle/meta/0025_snapshot.json +0 -2407
  188. package/drizzle/meta/0026_snapshot.json +0 -2413
  189. package/drizzle/meta/0027_snapshot.json +0 -2425
  190. package/drizzle/meta/0028_snapshot.json +0 -2438
  191. package/drizzle/meta/0029_snapshot.json +0 -2546
  192. package/drizzle/meta/0030_snapshot.json +0 -2586
  193. package/drizzle/meta/0031_snapshot.json +0 -2598
  194. package/drizzle/meta/0032_snapshot.json +0 -2699
  195. package/drizzle/meta/0033_snapshot.json +0 -2712
  196. package/drizzle/meta/0034_snapshot.json +0 -2719
  197. package/drizzle/meta/0035_snapshot.json +0 -2726
  198. package/drizzle/meta/0036_snapshot.json +0 -2876
  199. package/drizzle/meta/0037_snapshot.json +0 -2883
  200. package/drizzle/meta/0038_snapshot.json +0 -2895
  201. package/drizzle/meta/0039_snapshot.json +0 -3501
  202. package/drizzle/meta/0040_snapshot.json +0 -3527
  203. package/drizzle/meta/0041_snapshot.json +0 -3824
  204. package/drizzle/meta/0042_snapshot.json +0 -3960
  205. package/drizzle/meta/_journal.json +0 -307
  206. package/src/data/seed.json +0 -253
@@ -1,1280 +0,0 @@
1
- {
2
- "id": "060332fe-b654-4d02-989e-58567dce7b9b",
3
- "prevId": "359468a1-b48d-4c85-8401-37c16e5213b8",
4
- "version": "7",
5
- "dialect": "postgresql",
6
- "tables": {
7
- "public.api_keys": {
8
- "name": "api_keys",
9
- "schema": "",
10
- "columns": {
11
- "id": {
12
- "name": "id",
13
- "type": "serial",
14
- "primaryKey": true,
15
- "notNull": true
16
- },
17
- "key_hash": {
18
- "name": "key_hash",
19
- "type": "text",
20
- "primaryKey": false,
21
- "notNull": true
22
- },
23
- "prefix": {
24
- "name": "prefix",
25
- "type": "text",
26
- "primaryKey": false,
27
- "notNull": true
28
- },
29
- "label": {
30
- "name": "label",
31
- "type": "text",
32
- "primaryKey": false,
33
- "notNull": false
34
- },
35
- "owner_id": {
36
- "name": "owner_id",
37
- "type": "text",
38
- "primaryKey": false,
39
- "notNull": false
40
- },
41
- "tier": {
42
- "name": "tier",
43
- "type": "text",
44
- "primaryKey": false,
45
- "notNull": true,
46
- "default": "'free'"
47
- },
48
- "created_at": {
49
- "name": "created_at",
50
- "type": "timestamp with time zone",
51
- "primaryKey": false,
52
- "notNull": true,
53
- "default": "now()"
54
- },
55
- "last_used_at": {
56
- "name": "last_used_at",
57
- "type": "timestamp with time zone",
58
- "primaryKey": false,
59
- "notNull": false
60
- },
61
- "revoked_at": {
62
- "name": "revoked_at",
63
- "type": "timestamp with time zone",
64
- "primaryKey": false,
65
- "notNull": false
66
- }
67
- },
68
- "indexes": {
69
- "api_keys_owner_idx": {
70
- "name": "api_keys_owner_idx",
71
- "columns": [
72
- {
73
- "expression": "owner_id",
74
- "isExpression": false,
75
- "asc": true,
76
- "nulls": "last"
77
- }
78
- ],
79
- "isUnique": false,
80
- "concurrently": false,
81
- "method": "btree",
82
- "with": {}
83
- }
84
- },
85
- "foreignKeys": {},
86
- "compositePrimaryKeys": {},
87
- "uniqueConstraints": {
88
- "api_keys_key_hash_unique": {
89
- "name": "api_keys_key_hash_unique",
90
- "nullsNotDistinct": false,
91
- "columns": [
92
- "key_hash"
93
- ]
94
- }
95
- },
96
- "policies": {},
97
- "checkConstraints": {},
98
- "isRLSEnabled": false
99
- },
100
- "public.api_surfaces": {
101
- "name": "api_surfaces",
102
- "schema": "",
103
- "columns": {
104
- "id": {
105
- "name": "id",
106
- "type": "serial",
107
- "primaryKey": true,
108
- "notNull": true
109
- },
110
- "package_name": {
111
- "name": "package_name",
112
- "type": "text",
113
- "primaryKey": false,
114
- "notNull": true
115
- },
116
- "version": {
117
- "name": "version",
118
- "type": "text",
119
- "primaryKey": false,
120
- "notNull": true
121
- },
122
- "surface": {
123
- "name": "surface",
124
- "type": "jsonb",
125
- "primaryKey": false,
126
- "notNull": true
127
- },
128
- "extracted_at": {
129
- "name": "extracted_at",
130
- "type": "timestamp with time zone",
131
- "primaryKey": false,
132
- "notNull": true,
133
- "default": "now()"
134
- }
135
- },
136
- "indexes": {
137
- "api_surfaces_pkg_idx": {
138
- "name": "api_surfaces_pkg_idx",
139
- "columns": [
140
- {
141
- "expression": "package_name",
142
- "isExpression": false,
143
- "asc": true,
144
- "nulls": "last"
145
- },
146
- {
147
- "expression": "version",
148
- "isExpression": false,
149
- "asc": true,
150
- "nulls": "last"
151
- }
152
- ],
153
- "isUnique": true,
154
- "concurrently": false,
155
- "method": "btree",
156
- "with": {}
157
- }
158
- },
159
- "foreignKeys": {},
160
- "compositePrimaryKeys": {},
161
- "uniqueConstraints": {},
162
- "policies": {},
163
- "checkConstraints": {},
164
- "isRLSEnabled": false
165
- },
166
- "public.compat_edges": {
167
- "name": "compat_edges",
168
- "schema": "",
169
- "columns": {
170
- "id": {
171
- "name": "id",
172
- "type": "serial",
173
- "primaryKey": true,
174
- "notNull": true
175
- },
176
- "package_a": {
177
- "name": "package_a",
178
- "type": "text",
179
- "primaryKey": false,
180
- "notNull": true
181
- },
182
- "version_a": {
183
- "name": "version_a",
184
- "type": "text",
185
- "primaryKey": false,
186
- "notNull": true
187
- },
188
- "package_b": {
189
- "name": "package_b",
190
- "type": "text",
191
- "primaryKey": false,
192
- "notNull": true
193
- },
194
- "version_b": {
195
- "name": "version_b",
196
- "type": "text",
197
- "primaryKey": false,
198
- "notNull": true
199
- },
200
- "status": {
201
- "name": "status",
202
- "type": "text",
203
- "primaryKey": false,
204
- "notNull": true
205
- },
206
- "provenance": {
207
- "name": "provenance",
208
- "type": "text",
209
- "primaryKey": false,
210
- "notNull": true,
211
- "default": "'verified'"
212
- },
213
- "witness_count": {
214
- "name": "witness_count",
215
- "type": "integer",
216
- "primaryKey": false,
217
- "notNull": true,
218
- "default": 0
219
- },
220
- "driver": {
221
- "name": "driver",
222
- "type": "text",
223
- "primaryKey": false,
224
- "notNull": true
225
- },
226
- "ran_at": {
227
- "name": "ran_at",
228
- "type": "timestamp with time zone",
229
- "primaryKey": false,
230
- "notNull": false
231
- }
232
- },
233
- "indexes": {
234
- "compat_edges_pair_idx": {
235
- "name": "compat_edges_pair_idx",
236
- "columns": [
237
- {
238
- "expression": "package_a",
239
- "isExpression": false,
240
- "asc": true,
241
- "nulls": "last"
242
- },
243
- {
244
- "expression": "version_a",
245
- "isExpression": false,
246
- "asc": true,
247
- "nulls": "last"
248
- },
249
- {
250
- "expression": "package_b",
251
- "isExpression": false,
252
- "asc": true,
253
- "nulls": "last"
254
- },
255
- {
256
- "expression": "version_b",
257
- "isExpression": false,
258
- "asc": true,
259
- "nulls": "last"
260
- }
261
- ],
262
- "isUnique": true,
263
- "concurrently": false,
264
- "method": "btree",
265
- "with": {}
266
- }
267
- },
268
- "foreignKeys": {},
269
- "compositePrimaryKeys": {},
270
- "uniqueConstraints": {},
271
- "policies": {},
272
- "checkConstraints": {},
273
- "isRLSEnabled": false
274
- },
275
- "public.compat_verify_queue": {
276
- "name": "compat_verify_queue",
277
- "schema": "",
278
- "columns": {
279
- "id": {
280
- "name": "id",
281
- "type": "serial",
282
- "primaryKey": true,
283
- "notNull": true
284
- },
285
- "set_key": {
286
- "name": "set_key",
287
- "type": "text",
288
- "primaryKey": false,
289
- "notNull": true
290
- },
291
- "packages": {
292
- "name": "packages",
293
- "type": "jsonb",
294
- "primaryKey": false,
295
- "notNull": true
296
- },
297
- "attempts": {
298
- "name": "attempts",
299
- "type": "integer",
300
- "primaryKey": false,
301
- "notNull": true,
302
- "default": 0
303
- },
304
- "requested_at": {
305
- "name": "requested_at",
306
- "type": "timestamp with time zone",
307
- "primaryKey": false,
308
- "notNull": true,
309
- "default": "now()"
310
- }
311
- },
312
- "indexes": {
313
- "compat_verify_queue_requested_idx": {
314
- "name": "compat_verify_queue_requested_idx",
315
- "columns": [
316
- {
317
- "expression": "requested_at",
318
- "isExpression": false,
319
- "asc": true,
320
- "nulls": "last"
321
- }
322
- ],
323
- "isUnique": false,
324
- "concurrently": false,
325
- "method": "btree",
326
- "with": {}
327
- }
328
- },
329
- "foreignKeys": {},
330
- "compositePrimaryKeys": {},
331
- "uniqueConstraints": {
332
- "compat_verify_queue_set_key_unique": {
333
- "name": "compat_verify_queue_set_key_unique",
334
- "nullsNotDistinct": false,
335
- "columns": [
336
- "set_key"
337
- ]
338
- }
339
- },
340
- "policies": {},
341
- "checkConstraints": {},
342
- "isRLSEnabled": false
343
- },
344
- "public.discovery_queue": {
345
- "name": "discovery_queue",
346
- "schema": "",
347
- "columns": {
348
- "id": {
349
- "name": "id",
350
- "type": "serial",
351
- "primaryKey": true,
352
- "notNull": true
353
- },
354
- "name": {
355
- "name": "name",
356
- "type": "text",
357
- "primaryKey": false,
358
- "notNull": true
359
- },
360
- "discovered_via": {
361
- "name": "discovered_via",
362
- "type": "text",
363
- "primaryKey": false,
364
- "notNull": true
365
- },
366
- "pre_score": {
367
- "name": "pre_score",
368
- "type": "integer",
369
- "primaryKey": false,
370
- "notNull": false
371
- },
372
- "status": {
373
- "name": "status",
374
- "type": "text",
375
- "primaryKey": false,
376
- "notNull": true,
377
- "default": "'pending'"
378
- },
379
- "discovered_at": {
380
- "name": "discovered_at",
381
- "type": "timestamp with time zone",
382
- "primaryKey": false,
383
- "notNull": true,
384
- "default": "now()"
385
- }
386
- },
387
- "indexes": {
388
- "discovery_queue_status_idx": {
389
- "name": "discovery_queue_status_idx",
390
- "columns": [
391
- {
392
- "expression": "status",
393
- "isExpression": false,
394
- "asc": true,
395
- "nulls": "last"
396
- }
397
- ],
398
- "isUnique": false,
399
- "concurrently": false,
400
- "method": "btree",
401
- "with": {}
402
- }
403
- },
404
- "foreignKeys": {},
405
- "compositePrimaryKeys": {},
406
- "uniqueConstraints": {
407
- "discovery_queue_name_unique": {
408
- "name": "discovery_queue_name_unique",
409
- "nullsNotDistinct": false,
410
- "columns": [
411
- "name"
412
- ]
413
- }
414
- },
415
- "policies": {},
416
- "checkConstraints": {},
417
- "isRLSEnabled": false
418
- },
419
- "public.owner_usage_daily": {
420
- "name": "owner_usage_daily",
421
- "schema": "",
422
- "columns": {
423
- "owner_id": {
424
- "name": "owner_id",
425
- "type": "text",
426
- "primaryKey": false,
427
- "notNull": true
428
- },
429
- "date": {
430
- "name": "date",
431
- "type": "date",
432
- "primaryKey": false,
433
- "notNull": true
434
- },
435
- "tool": {
436
- "name": "tool",
437
- "type": "text",
438
- "primaryKey": false,
439
- "notNull": true
440
- },
441
- "count": {
442
- "name": "count",
443
- "type": "integer",
444
- "primaryKey": false,
445
- "notNull": true,
446
- "default": 0
447
- }
448
- },
449
- "indexes": {
450
- "owner_usage_daily_owner_date_idx": {
451
- "name": "owner_usage_daily_owner_date_idx",
452
- "columns": [
453
- {
454
- "expression": "owner_id",
455
- "isExpression": false,
456
- "asc": true,
457
- "nulls": "last"
458
- },
459
- {
460
- "expression": "date",
461
- "isExpression": false,
462
- "asc": true,
463
- "nulls": "last"
464
- }
465
- ],
466
- "isUnique": false,
467
- "concurrently": false,
468
- "method": "btree",
469
- "with": {}
470
- }
471
- },
472
- "foreignKeys": {},
473
- "compositePrimaryKeys": {
474
- "owner_usage_daily_owner_id_date_tool_pk": {
475
- "name": "owner_usage_daily_owner_id_date_tool_pk",
476
- "columns": [
477
- "owner_id",
478
- "date",
479
- "tool"
480
- ]
481
- }
482
- },
483
- "uniqueConstraints": {},
484
- "policies": {},
485
- "checkConstraints": {},
486
- "isRLSEnabled": false
487
- },
488
- "public.package_versions": {
489
- "name": "package_versions",
490
- "schema": "",
491
- "columns": {
492
- "package_name": {
493
- "name": "package_name",
494
- "type": "text",
495
- "primaryKey": false,
496
- "notNull": true
497
- },
498
- "version": {
499
- "name": "version",
500
- "type": "text",
501
- "primaryKey": false,
502
- "notNull": true
503
- },
504
- "published_at": {
505
- "name": "published_at",
506
- "type": "timestamp with time zone",
507
- "primaryKey": false,
508
- "notNull": false
509
- }
510
- },
511
- "indexes": {
512
- "package_versions_name_published_idx": {
513
- "name": "package_versions_name_published_idx",
514
- "columns": [
515
- {
516
- "expression": "package_name",
517
- "isExpression": false,
518
- "asc": true,
519
- "nulls": "last"
520
- },
521
- {
522
- "expression": "published_at",
523
- "isExpression": false,
524
- "asc": true,
525
- "nulls": "last"
526
- }
527
- ],
528
- "isUnique": false,
529
- "concurrently": false,
530
- "method": "btree",
531
- "with": {}
532
- }
533
- },
534
- "foreignKeys": {},
535
- "compositePrimaryKeys": {
536
- "package_versions_package_name_version_pk": {
537
- "name": "package_versions_package_name_version_pk",
538
- "columns": [
539
- "package_name",
540
- "version"
541
- ]
542
- }
543
- },
544
- "uniqueConstraints": {},
545
- "policies": {},
546
- "checkConstraints": {},
547
- "isRLSEnabled": false
548
- },
549
- "public.packages": {
550
- "name": "packages",
551
- "schema": "",
552
- "columns": {
553
- "id": {
554
- "name": "id",
555
- "type": "serial",
556
- "primaryKey": true,
557
- "notNull": true
558
- },
559
- "name": {
560
- "name": "name",
561
- "type": "text",
562
- "primaryKey": false,
563
- "notNull": true
564
- },
565
- "ecosystem": {
566
- "name": "ecosystem",
567
- "type": "text",
568
- "primaryKey": false,
569
- "notNull": true,
570
- "default": "'npm'"
571
- },
572
- "category": {
573
- "name": "category",
574
- "type": "text",
575
- "primaryKey": false,
576
- "notNull": false
577
- },
578
- "category_source": {
579
- "name": "category_source",
580
- "type": "text",
581
- "primaryKey": false,
582
- "notNull": false
583
- },
584
- "description": {
585
- "name": "description",
586
- "type": "text",
587
- "primaryKey": false,
588
- "notNull": false
589
- },
590
- "summary": {
591
- "name": "summary",
592
- "type": "text",
593
- "primaryKey": false,
594
- "notNull": false
595
- },
596
- "repo_url": {
597
- "name": "repo_url",
598
- "type": "text",
599
- "primaryKey": false,
600
- "notNull": false
601
- },
602
- "homepage": {
603
- "name": "homepage",
604
- "type": "text",
605
- "primaryKey": false,
606
- "notNull": false
607
- },
608
- "latest_version": {
609
- "name": "latest_version",
610
- "type": "text",
611
- "primaryKey": false,
612
- "notNull": false
613
- },
614
- "license": {
615
- "name": "license",
616
- "type": "text",
617
- "primaryKey": false,
618
- "notNull": false
619
- },
620
- "deprecated": {
621
- "name": "deprecated",
622
- "type": "boolean",
623
- "primaryKey": false,
624
- "notNull": true,
625
- "default": false
626
- },
627
- "archived": {
628
- "name": "archived",
629
- "type": "boolean",
630
- "primaryKey": false,
631
- "notNull": true,
632
- "default": false
633
- },
634
- "first_published_at": {
635
- "name": "first_published_at",
636
- "type": "timestamp with time zone",
637
- "primaryKey": false,
638
- "notNull": false
639
- },
640
- "last_release_at": {
641
- "name": "last_release_at",
642
- "type": "timestamp with time zone",
643
- "primaryKey": false,
644
- "notNull": false
645
- },
646
- "weekly_downloads": {
647
- "name": "weekly_downloads",
648
- "type": "bigint",
649
- "primaryKey": false,
650
- "notNull": false
651
- },
652
- "download_growth_90d": {
653
- "name": "download_growth_90d",
654
- "type": "real",
655
- "primaryKey": false,
656
- "notNull": false
657
- },
658
- "stars": {
659
- "name": "stars",
660
- "type": "integer",
661
- "primaryKey": false,
662
- "notNull": false
663
- },
664
- "open_issues": {
665
- "name": "open_issues",
666
- "type": "integer",
667
- "primaryKey": false,
668
- "notNull": false
669
- },
670
- "closed_issues": {
671
- "name": "closed_issues",
672
- "type": "integer",
673
- "primaryKey": false,
674
- "notNull": false
675
- },
676
- "scorecard": {
677
- "name": "scorecard",
678
- "type": "real",
679
- "primaryKey": false,
680
- "notNull": false
681
- },
682
- "bundle_min_gzip_kb": {
683
- "name": "bundle_min_gzip_kb",
684
- "type": "real",
685
- "primaryKey": false,
686
- "notNull": false
687
- },
688
- "advisories": {
689
- "name": "advisories",
690
- "type": "jsonb",
691
- "primaryKey": false,
692
- "notNull": false
693
- },
694
- "peer_dependencies": {
695
- "name": "peer_dependencies",
696
- "type": "jsonb",
697
- "primaryKey": false,
698
- "notNull": false
699
- },
700
- "peer_dependencies_meta": {
701
- "name": "peer_dependencies_meta",
702
- "type": "jsonb",
703
- "primaryKey": false,
704
- "notNull": false
705
- },
706
- "engines": {
707
- "name": "engines",
708
- "type": "jsonb",
709
- "primaryKey": false,
710
- "notNull": false
711
- },
712
- "health_score": {
713
- "name": "health_score",
714
- "type": "integer",
715
- "primaryKey": false,
716
- "notNull": false
717
- },
718
- "quality_score": {
719
- "name": "quality_score",
720
- "type": "integer",
721
- "primaryKey": false,
722
- "notNull": false
723
- },
724
- "confidence": {
725
- "name": "confidence",
726
- "type": "text",
727
- "primaryKey": false,
728
- "notNull": false
729
- },
730
- "score_breakdown": {
731
- "name": "score_breakdown",
732
- "type": "jsonb",
733
- "primaryKey": false,
734
- "notNull": false
735
- },
736
- "usage_guide": {
737
- "name": "usage_guide",
738
- "type": "jsonb",
739
- "primaryKey": false,
740
- "notNull": false
741
- },
742
- "embedding": {
743
- "name": "embedding",
744
- "type": "vector(1536)",
745
- "primaryKey": false,
746
- "notNull": false
747
- },
748
- "embedding_provider": {
749
- "name": "embedding_provider",
750
- "type": "text",
751
- "primaryKey": false,
752
- "notNull": false
753
- },
754
- "search_vector": {
755
- "name": "search_vector",
756
- "type": "tsvector",
757
- "primaryKey": false,
758
- "notNull": false,
759
- "generated": {
760
- "as": "setweight(to_tsvector('english', coalesce(name, '')), 'A') || setweight(to_tsvector('english', coalesce(category, '')), 'B') || setweight(to_tsvector('english', coalesce(summary, description, '')), 'C')",
761
- "type": "stored"
762
- }
763
- },
764
- "data_as_of": {
765
- "name": "data_as_of",
766
- "type": "timestamp with time zone",
767
- "primaryKey": false,
768
- "notNull": false
769
- },
770
- "graph_scanned_version": {
771
- "name": "graph_scanned_version",
772
- "type": "text",
773
- "primaryKey": false,
774
- "notNull": false
775
- },
776
- "created_at": {
777
- "name": "created_at",
778
- "type": "timestamp with time zone",
779
- "primaryKey": false,
780
- "notNull": true,
781
- "default": "now()"
782
- },
783
- "updated_at": {
784
- "name": "updated_at",
785
- "type": "timestamp with time zone",
786
- "primaryKey": false,
787
- "notNull": true,
788
- "default": "now()"
789
- },
790
- "first_requested_by_owner_id": {
791
- "name": "first_requested_by_owner_id",
792
- "type": "text",
793
- "primaryKey": false,
794
- "notNull": false
795
- }
796
- },
797
- "indexes": {
798
- "packages_category_idx": {
799
- "name": "packages_category_idx",
800
- "columns": [
801
- {
802
- "expression": "category",
803
- "isExpression": false,
804
- "asc": true,
805
- "nulls": "last"
806
- }
807
- ],
808
- "isUnique": false,
809
- "concurrently": false,
810
- "method": "btree",
811
- "with": {}
812
- },
813
- "packages_health_score_idx": {
814
- "name": "packages_health_score_idx",
815
- "columns": [
816
- {
817
- "expression": "health_score",
818
- "isExpression": false,
819
- "asc": true,
820
- "nulls": "last"
821
- }
822
- ],
823
- "isUnique": false,
824
- "concurrently": false,
825
- "method": "btree",
826
- "with": {}
827
- },
828
- "packages_embedding_idx": {
829
- "name": "packages_embedding_idx",
830
- "columns": [
831
- {
832
- "expression": "embedding",
833
- "isExpression": false,
834
- "asc": true,
835
- "nulls": "last",
836
- "opclass": "vector_cosine_ops"
837
- }
838
- ],
839
- "isUnique": false,
840
- "concurrently": false,
841
- "method": "hnsw",
842
- "with": {}
843
- },
844
- "packages_search_vector_idx": {
845
- "name": "packages_search_vector_idx",
846
- "columns": [
847
- {
848
- "expression": "search_vector",
849
- "isExpression": false,
850
- "asc": true,
851
- "nulls": "last"
852
- }
853
- ],
854
- "isUnique": false,
855
- "concurrently": false,
856
- "method": "gin",
857
- "with": {}
858
- },
859
- "packages_first_requested_by_idx": {
860
- "name": "packages_first_requested_by_idx",
861
- "columns": [
862
- {
863
- "expression": "first_requested_by_owner_id",
864
- "isExpression": false,
865
- "asc": true,
866
- "nulls": "last"
867
- }
868
- ],
869
- "isUnique": false,
870
- "concurrently": false,
871
- "method": "btree",
872
- "with": {}
873
- }
874
- },
875
- "foreignKeys": {},
876
- "compositePrimaryKeys": {},
877
- "uniqueConstraints": {
878
- "packages_name_unique": {
879
- "name": "packages_name_unique",
880
- "nullsNotDistinct": false,
881
- "columns": [
882
- "name"
883
- ]
884
- }
885
- },
886
- "policies": {},
887
- "checkConstraints": {},
888
- "isRLSEnabled": false
889
- },
890
- "public.recommendation_outcomes": {
891
- "name": "recommendation_outcomes",
892
- "schema": "",
893
- "columns": {
894
- "id": {
895
- "name": "id",
896
- "type": "serial",
897
- "primaryKey": true,
898
- "notNull": true
899
- },
900
- "owner_id": {
901
- "name": "owner_id",
902
- "type": "text",
903
- "primaryKey": false,
904
- "notNull": false
905
- },
906
- "package_name": {
907
- "name": "package_name",
908
- "type": "text",
909
- "primaryKey": false,
910
- "notNull": true
911
- },
912
- "accepted": {
913
- "name": "accepted",
914
- "type": "boolean",
915
- "primaryKey": false,
916
- "notNull": true
917
- },
918
- "build_signal": {
919
- "name": "build_signal",
920
- "type": "text",
921
- "primaryKey": false,
922
- "notNull": false
923
- },
924
- "need": {
925
- "name": "need",
926
- "type": "text",
927
- "primaryKey": false,
928
- "notNull": false
929
- },
930
- "created_at": {
931
- "name": "created_at",
932
- "type": "timestamp with time zone",
933
- "primaryKey": false,
934
- "notNull": true,
935
- "default": "now()"
936
- }
937
- },
938
- "indexes": {
939
- "recommendation_outcomes_pkg_idx": {
940
- "name": "recommendation_outcomes_pkg_idx",
941
- "columns": [
942
- {
943
- "expression": "package_name",
944
- "isExpression": false,
945
- "asc": true,
946
- "nulls": "last"
947
- }
948
- ],
949
- "isUnique": false,
950
- "concurrently": false,
951
- "method": "btree",
952
- "with": {}
953
- },
954
- "recommendation_outcomes_owner_idx": {
955
- "name": "recommendation_outcomes_owner_idx",
956
- "columns": [
957
- {
958
- "expression": "owner_id",
959
- "isExpression": false,
960
- "asc": true,
961
- "nulls": "last"
962
- }
963
- ],
964
- "isUnique": false,
965
- "concurrently": false,
966
- "method": "btree",
967
- "with": {}
968
- }
969
- },
970
- "foreignKeys": {},
971
- "compositePrimaryKeys": {},
972
- "uniqueConstraints": {},
973
- "policies": {},
974
- "checkConstraints": {},
975
- "isRLSEnabled": false
976
- },
977
- "public.resolved_closures": {
978
- "name": "resolved_closures",
979
- "schema": "",
980
- "columns": {
981
- "id": {
982
- "name": "id",
983
- "type": "serial",
984
- "primaryKey": true,
985
- "notNull": true
986
- },
987
- "package_name": {
988
- "name": "package_name",
989
- "type": "text",
990
- "primaryKey": false,
991
- "notNull": true
992
- },
993
- "version": {
994
- "name": "version",
995
- "type": "text",
996
- "primaryKey": false,
997
- "notNull": true
998
- },
999
- "nodes": {
1000
- "name": "nodes",
1001
- "type": "jsonb",
1002
- "primaryKey": false,
1003
- "notNull": true
1004
- },
1005
- "fetched_at": {
1006
- "name": "fetched_at",
1007
- "type": "timestamp with time zone",
1008
- "primaryKey": false,
1009
- "notNull": true,
1010
- "default": "now()"
1011
- }
1012
- },
1013
- "indexes": {
1014
- "resolved_closures_pkg_idx": {
1015
- "name": "resolved_closures_pkg_idx",
1016
- "columns": [
1017
- {
1018
- "expression": "package_name",
1019
- "isExpression": false,
1020
- "asc": true,
1021
- "nulls": "last"
1022
- },
1023
- {
1024
- "expression": "version",
1025
- "isExpression": false,
1026
- "asc": true,
1027
- "nulls": "last"
1028
- }
1029
- ],
1030
- "isUnique": true,
1031
- "concurrently": false,
1032
- "method": "btree",
1033
- "with": {}
1034
- }
1035
- },
1036
- "foreignKeys": {},
1037
- "compositePrimaryKeys": {},
1038
- "uniqueConstraints": {},
1039
- "policies": {},
1040
- "checkConstraints": {},
1041
- "isRLSEnabled": false
1042
- },
1043
- "public.seed_packages": {
1044
- "name": "seed_packages",
1045
- "schema": "",
1046
- "columns": {
1047
- "name": {
1048
- "name": "name",
1049
- "type": "text",
1050
- "primaryKey": true,
1051
- "notNull": true
1052
- },
1053
- "category": {
1054
- "name": "category",
1055
- "type": "text",
1056
- "primaryKey": false,
1057
- "notNull": false
1058
- },
1059
- "added_at": {
1060
- "name": "added_at",
1061
- "type": "timestamp with time zone",
1062
- "primaryKey": false,
1063
- "notNull": true,
1064
- "default": "now()"
1065
- }
1066
- },
1067
- "indexes": {},
1068
- "foreignKeys": {},
1069
- "compositePrimaryKeys": {},
1070
- "uniqueConstraints": {},
1071
- "policies": {},
1072
- "checkConstraints": {},
1073
- "isRLSEnabled": false
1074
- },
1075
- "public.sync_runs": {
1076
- "name": "sync_runs",
1077
- "schema": "",
1078
- "columns": {
1079
- "id": {
1080
- "name": "id",
1081
- "type": "serial",
1082
- "primaryKey": true,
1083
- "notNull": true
1084
- },
1085
- "started_at": {
1086
- "name": "started_at",
1087
- "type": "timestamp with time zone",
1088
- "primaryKey": false,
1089
- "notNull": true,
1090
- "default": "now()"
1091
- },
1092
- "finished_at": {
1093
- "name": "finished_at",
1094
- "type": "timestamp with time zone",
1095
- "primaryKey": false,
1096
- "notNull": false
1097
- },
1098
- "packages_seen": {
1099
- "name": "packages_seen",
1100
- "type": "integer",
1101
- "primaryKey": false,
1102
- "notNull": true,
1103
- "default": 0
1104
- },
1105
- "packages_updated": {
1106
- "name": "packages_updated",
1107
- "type": "integer",
1108
- "primaryKey": false,
1109
- "notNull": true,
1110
- "default": 0
1111
- },
1112
- "errors": {
1113
- "name": "errors",
1114
- "type": "jsonb",
1115
- "primaryKey": false,
1116
- "notNull": true,
1117
- "default": "'[]'::jsonb"
1118
- },
1119
- "status": {
1120
- "name": "status",
1121
- "type": "text",
1122
- "primaryKey": false,
1123
- "notNull": true,
1124
- "default": "'running'"
1125
- }
1126
- },
1127
- "indexes": {},
1128
- "foreignKeys": {},
1129
- "compositePrimaryKeys": {},
1130
- "uniqueConstraints": {},
1131
- "policies": {},
1132
- "checkConstraints": {},
1133
- "isRLSEnabled": false
1134
- },
1135
- "public.verification_runs": {
1136
- "name": "verification_runs",
1137
- "schema": "",
1138
- "columns": {
1139
- "id": {
1140
- "name": "id",
1141
- "type": "serial",
1142
- "primaryKey": true,
1143
- "notNull": true
1144
- },
1145
- "package_name": {
1146
- "name": "package_name",
1147
- "type": "text",
1148
- "primaryKey": false,
1149
- "notNull": true
1150
- },
1151
- "version": {
1152
- "name": "version",
1153
- "type": "text",
1154
- "primaryKey": false,
1155
- "notNull": true
1156
- },
1157
- "driver": {
1158
- "name": "driver",
1159
- "type": "text",
1160
- "primaryKey": false,
1161
- "notNull": true
1162
- },
1163
- "module_system": {
1164
- "name": "module_system",
1165
- "type": "text",
1166
- "primaryKey": false,
1167
- "notNull": true
1168
- },
1169
- "installed": {
1170
- "name": "installed",
1171
- "type": "boolean",
1172
- "primaryKey": false,
1173
- "notNull": true
1174
- },
1175
- "imported": {
1176
- "name": "imported",
1177
- "type": "boolean",
1178
- "primaryKey": false,
1179
- "notNull": false
1180
- },
1181
- "ran_scripts": {
1182
- "name": "ran_scripts",
1183
- "type": "boolean",
1184
- "primaryKey": false,
1185
- "notNull": true,
1186
- "default": false
1187
- },
1188
- "duration_ms": {
1189
- "name": "duration_ms",
1190
- "type": "integer",
1191
- "primaryKey": false,
1192
- "notNull": false
1193
- },
1194
- "error": {
1195
- "name": "error",
1196
- "type": "text",
1197
- "primaryKey": false,
1198
- "notNull": false
1199
- },
1200
- "ran_at": {
1201
- "name": "ran_at",
1202
- "type": "timestamp with time zone",
1203
- "primaryKey": false,
1204
- "notNull": false
1205
- }
1206
- },
1207
- "indexes": {
1208
- "verification_runs_pkg_idx": {
1209
- "name": "verification_runs_pkg_idx",
1210
- "columns": [
1211
- {
1212
- "expression": "package_name",
1213
- "isExpression": false,
1214
- "asc": true,
1215
- "nulls": "last"
1216
- },
1217
- {
1218
- "expression": "version",
1219
- "isExpression": false,
1220
- "asc": true,
1221
- "nulls": "last"
1222
- }
1223
- ],
1224
- "isUnique": false,
1225
- "concurrently": false,
1226
- "method": "btree",
1227
- "with": {}
1228
- }
1229
- },
1230
- "foreignKeys": {},
1231
- "compositePrimaryKeys": {},
1232
- "uniqueConstraints": {},
1233
- "policies": {},
1234
- "checkConstraints": {},
1235
- "isRLSEnabled": false
1236
- },
1237
- "public.watch_state": {
1238
- "name": "watch_state",
1239
- "schema": "",
1240
- "columns": {
1241
- "id": {
1242
- "name": "id",
1243
- "type": "text",
1244
- "primaryKey": true,
1245
- "notNull": true
1246
- },
1247
- "seq": {
1248
- "name": "seq",
1249
- "type": "text",
1250
- "primaryKey": false,
1251
- "notNull": true
1252
- },
1253
- "updated_at": {
1254
- "name": "updated_at",
1255
- "type": "timestamp with time zone",
1256
- "primaryKey": false,
1257
- "notNull": false
1258
- }
1259
- },
1260
- "indexes": {},
1261
- "foreignKeys": {},
1262
- "compositePrimaryKeys": {},
1263
- "uniqueConstraints": {},
1264
- "policies": {},
1265
- "checkConstraints": {},
1266
- "isRLSEnabled": false
1267
- }
1268
- },
1269
- "enums": {},
1270
- "schemas": {},
1271
- "sequences": {},
1272
- "roles": {},
1273
- "policies": {},
1274
- "views": {},
1275
- "_meta": {
1276
- "columns": {},
1277
- "schemas": {},
1278
- "tables": {}
1279
- }
1280
- }