wicked-crew 0.17.1 → 0.18.0

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 (518) hide show
  1. package/README.md +49 -14
  2. package/adapters/web-source.lock +1314 -0
  3. package/dist/api/audit.d.ts +5 -0
  4. package/dist/api/audit.d.ts.map +1 -1
  5. package/dist/api/audit.js +20 -0
  6. package/dist/api/audit.js.map +1 -1
  7. package/dist/api/auth.d.ts.map +1 -1
  8. package/dist/api/auth.js +3 -0
  9. package/dist/api/auth.js.map +1 -1
  10. package/dist/api/chat-context.js +1 -1
  11. package/dist/api/chat-history.d.ts +3 -0
  12. package/dist/api/chat-history.d.ts.map +1 -1
  13. package/dist/api/chat-history.js +6 -1
  14. package/dist/api/chat-history.js.map +1 -1
  15. package/dist/api/chat-jobs.d.ts +30 -1
  16. package/dist/api/chat-jobs.d.ts.map +1 -1
  17. package/dist/api/chat-jobs.js +172 -10
  18. package/dist/api/chat-jobs.js.map +1 -1
  19. package/dist/api/chat-proposals.d.ts +178 -8
  20. package/dist/api/chat-proposals.d.ts.map +1 -1
  21. package/dist/api/chat-proposals.js +775 -54
  22. package/dist/api/chat-proposals.js.map +1 -1
  23. package/dist/api/chat-requirements.d.ts +54 -0
  24. package/dist/api/chat-requirements.d.ts.map +1 -0
  25. package/dist/api/chat-requirements.js +282 -0
  26. package/dist/api/chat-requirements.js.map +1 -0
  27. package/dist/api/chat-scope.d.ts +56 -0
  28. package/dist/api/chat-scope.d.ts.map +1 -1
  29. package/dist/api/chat-scope.js +175 -5
  30. package/dist/api/chat-scope.js.map +1 -1
  31. package/dist/api/chat-transcripts.d.ts +7 -0
  32. package/dist/api/chat-transcripts.d.ts.map +1 -1
  33. package/dist/api/chat-transcripts.js +17 -1
  34. package/dist/api/chat-transcripts.js.map +1 -1
  35. package/dist/api/delivery-index.d.ts +109 -5
  36. package/dist/api/delivery-index.d.ts.map +1 -1
  37. package/dist/api/delivery-index.js +199 -7
  38. package/dist/api/delivery-index.js.map +1 -1
  39. package/dist/api/mcp.d.ts +7 -2
  40. package/dist/api/mcp.d.ts.map +1 -1
  41. package/dist/api/mcp.js +1 -1
  42. package/dist/api/mcp.js.map +1 -1
  43. package/dist/api/needs.d.ts.map +1 -1
  44. package/dist/api/needs.js +19 -1
  45. package/dist/api/needs.js.map +1 -1
  46. package/dist/api/product.d.ts +9 -2
  47. package/dist/api/product.d.ts.map +1 -1
  48. package/dist/api/product.js +10 -2
  49. package/dist/api/product.js.map +1 -1
  50. package/dist/api/proposal-theme.d.ts +23 -0
  51. package/dist/api/proposal-theme.d.ts.map +1 -0
  52. package/dist/api/proposal-theme.js +30 -0
  53. package/dist/api/proposal-theme.js.map +1 -0
  54. package/dist/api/recording.d.ts +70 -10
  55. package/dist/api/recording.d.ts.map +1 -1
  56. package/dist/api/recording.js +278 -39
  57. package/dist/api/recording.js.map +1 -1
  58. package/dist/api/repo-input.d.ts +55 -0
  59. package/dist/api/repo-input.d.ts.map +1 -0
  60. package/dist/api/repo-input.js +113 -0
  61. package/dist/api/repo-input.js.map +1 -0
  62. package/dist/api/requirements.d.ts +75 -0
  63. package/dist/api/requirements.d.ts.map +1 -1
  64. package/dist/api/requirements.js +97 -9
  65. package/dist/api/requirements.js.map +1 -1
  66. package/dist/api/review-change.d.ts +64 -0
  67. package/dist/api/review-change.d.ts.map +1 -0
  68. package/dist/api/review-change.js +214 -0
  69. package/dist/api/review-change.js.map +1 -0
  70. package/dist/api/roster-standing.d.ts +4 -0
  71. package/dist/api/roster-standing.d.ts.map +1 -1
  72. package/dist/api/roster-standing.js +43 -10
  73. package/dist/api/roster-standing.js.map +1 -1
  74. package/dist/api/routes.d.ts +63 -6
  75. package/dist/api/routes.d.ts.map +1 -1
  76. package/dist/api/routes.js +818 -269
  77. package/dist/api/routes.js.map +1 -1
  78. package/dist/api/run-documents.d.ts +97 -0
  79. package/dist/api/run-documents.d.ts.map +1 -0
  80. package/dist/api/run-documents.js +458 -0
  81. package/dist/api/run-documents.js.map +1 -0
  82. package/dist/api/run-sources.d.ts +51 -0
  83. package/dist/api/run-sources.d.ts.map +1 -0
  84. package/dist/api/run-sources.js +133 -0
  85. package/dist/api/run-sources.js.map +1 -0
  86. package/dist/api/runtime-state.d.ts +41 -0
  87. package/dist/api/runtime-state.d.ts.map +1 -0
  88. package/dist/api/runtime-state.js +75 -0
  89. package/dist/api/runtime-state.js.map +1 -0
  90. package/dist/api/seat-container-login.d.ts +51 -0
  91. package/dist/api/seat-container-login.d.ts.map +1 -1
  92. package/dist/api/seat-container-login.js +317 -1
  93. package/dist/api/seat-container-login.js.map +1 -1
  94. package/dist/api/seat-images.d.ts.map +1 -1
  95. package/dist/api/seat-images.js +7 -0
  96. package/dist/api/seat-images.js.map +1 -1
  97. package/dist/api/server.d.ts +7 -0
  98. package/dist/api/server.d.ts.map +1 -1
  99. package/dist/api/server.js +204 -25
  100. package/dist/api/server.js.map +1 -1
  101. package/dist/api/skills.d.ts +8 -0
  102. package/dist/api/skills.d.ts.map +1 -1
  103. package/dist/api/skills.js +21 -0
  104. package/dist/api/skills.js.map +1 -1
  105. package/dist/api/system-snapshot.d.ts +3 -2
  106. package/dist/api/system-snapshot.d.ts.map +1 -1
  107. package/dist/api/system-snapshot.js +19 -6
  108. package/dist/api/system-snapshot.js.map +1 -1
  109. package/dist/api/testing.d.ts +3 -3
  110. package/dist/api/ui-text.d.ts +45 -0
  111. package/dist/api/ui-text.d.ts.map +1 -0
  112. package/dist/api/ui-text.js +188 -0
  113. package/dist/api/ui-text.js.map +1 -0
  114. package/dist/apps/actions/card.d.ts +62 -0
  115. package/dist/apps/actions/card.d.ts.map +1 -0
  116. package/dist/apps/actions/card.js +111 -0
  117. package/dist/apps/actions/card.js.map +1 -0
  118. package/dist/apps/actions/write-path.d.ts.map +1 -1
  119. package/dist/apps/actions/write-path.js +26 -77
  120. package/dist/apps/actions/write-path.js.map +1 -1
  121. package/dist/apps/exec/sources.d.ts.map +1 -1
  122. package/dist/apps/exec/sources.js +3 -0
  123. package/dist/apps/exec/sources.js.map +1 -1
  124. package/dist/apps/publish/artifacts.d.ts +18 -0
  125. package/dist/apps/publish/artifacts.d.ts.map +1 -0
  126. package/dist/apps/publish/artifacts.js +87 -0
  127. package/dist/apps/publish/artifacts.js.map +1 -0
  128. package/dist/apps/publish/check.d.ts +103 -0
  129. package/dist/apps/publish/check.d.ts.map +1 -0
  130. package/dist/apps/publish/check.js +235 -0
  131. package/dist/apps/publish/check.js.map +1 -0
  132. package/dist/apps/publish/image.d.ts +2 -0
  133. package/dist/apps/publish/image.d.ts.map +1 -1
  134. package/dist/apps/publish/image.js +2 -1
  135. package/dist/apps/publish/image.js.map +1 -1
  136. package/dist/apps/publish/render.d.ts +71 -0
  137. package/dist/apps/publish/render.d.ts.map +1 -0
  138. package/dist/apps/publish/render.js +122 -0
  139. package/dist/apps/publish/render.js.map +1 -0
  140. package/dist/apps/publish/run.d.ts +35 -0
  141. package/dist/apps/publish/run.d.ts.map +1 -0
  142. package/dist/apps/publish/run.js +127 -0
  143. package/dist/apps/publish/run.js.map +1 -0
  144. package/dist/apps/routes.d.ts +54 -2
  145. package/dist/apps/routes.d.ts.map +1 -1
  146. package/dist/apps/routes.js +124 -7
  147. package/dist/apps/routes.js.map +1 -1
  148. package/dist/apps/spec.d.ts +8 -8
  149. package/dist/apps/store.d.ts +84 -5
  150. package/dist/apps/store.d.ts.map +1 -1
  151. package/dist/apps/store.js +191 -4
  152. package/dist/apps/store.js.map +1 -1
  153. package/dist/apps/turns.d.ts +19 -1
  154. package/dist/apps/turns.d.ts.map +1 -1
  155. package/dist/apps/turns.js +60 -2
  156. package/dist/apps/turns.js.map +1 -1
  157. package/dist/apps/views.d.ts +5 -1
  158. package/dist/apps/views.d.ts.map +1 -1
  159. package/dist/apps/views.js +18 -7
  160. package/dist/apps/views.js.map +1 -1
  161. package/dist/apps-server/Dockerfile +25 -0
  162. package/dist/apps-server/runners/sqlite-runner.mjs +110 -0
  163. package/dist/apps-server/server/lib/bundle/server.mjs +92523 -0
  164. package/dist/apps-server/server/node_modules/@pgsql/types/LICENSE +22 -0
  165. package/dist/apps-server/server/node_modules/@pgsql/types/README.md +106 -0
  166. package/dist/apps-server/server/node_modules/@pgsql/types/enums.d.ts +76 -0
  167. package/dist/apps-server/server/node_modules/@pgsql/types/enums.js +2 -0
  168. package/dist/apps-server/server/node_modules/@pgsql/types/esm/enums.js +1 -0
  169. package/dist/apps-server/server/node_modules/@pgsql/types/esm/index.js +2 -0
  170. package/dist/apps-server/server/node_modules/@pgsql/types/esm/types.js +1 -0
  171. package/dist/apps-server/server/node_modules/@pgsql/types/index.d.ts +2 -0
  172. package/dist/apps-server/server/node_modules/@pgsql/types/index.js +18 -0
  173. package/dist/apps-server/server/node_modules/@pgsql/types/package.json +36 -0
  174. package/dist/apps-server/server/node_modules/@pgsql/types/types.d.ts +2488 -0
  175. package/dist/apps-server/server/node_modules/@pgsql/types/types.js +2 -0
  176. package/dist/apps-server/server/node_modules/libpg-query/LICENSE +22 -0
  177. package/dist/apps-server/server/node_modules/libpg-query/README.md +275 -0
  178. package/dist/apps-server/server/node_modules/libpg-query/package.json +58 -0
  179. package/dist/apps-server/server/node_modules/libpg-query/wasm/index.cjs +369 -0
  180. package/dist/apps-server/server/node_modules/libpg-query/wasm/index.d.ts +48 -0
  181. package/dist/apps-server/server/node_modules/libpg-query/wasm/index.js +344 -0
  182. package/dist/apps-server/server/node_modules/libpg-query/wasm/libpg-query.js +2 -0
  183. package/dist/apps-server/server/node_modules/libpg-query/wasm/libpg-query.wasm +0 -0
  184. package/dist/apps-server/server/shim/host.css +22 -0
  185. package/dist/apps-server/server/shim/host.js +1 -0
  186. package/dist/cli/apps-check.d.ts +18 -0
  187. package/dist/cli/apps-check.d.ts.map +1 -1
  188. package/dist/cli/apps-check.js +179 -5
  189. package/dist/cli/apps-check.js.map +1 -1
  190. package/dist/cli/apps-produce.d.ts +9 -0
  191. package/dist/cli/apps-produce.d.ts.map +1 -0
  192. package/dist/cli/apps-produce.js +27 -0
  193. package/dist/cli/apps-produce.js.map +1 -0
  194. package/dist/cli/index.d.ts.map +1 -1
  195. package/dist/cli/index.js +15 -3
  196. package/dist/cli/index.js.map +1 -1
  197. package/dist/cli/insights-facts.d.ts +17 -0
  198. package/dist/cli/insights-facts.d.ts.map +1 -0
  199. package/dist/cli/insights-facts.js +56 -0
  200. package/dist/cli/insights-facts.js.map +1 -0
  201. package/dist/core/adapter.d.ts +74 -15
  202. package/dist/core/adapter.d.ts.map +1 -1
  203. package/dist/core/adapter.js +245 -53
  204. package/dist/core/adapter.js.map +1 -1
  205. package/dist/core/engine-roster.d.ts.map +1 -1
  206. package/dist/core/engine-roster.js +1 -0
  207. package/dist/core/engine-roster.js.map +1 -1
  208. package/dist/core/estate-mcp-client.d.ts +3 -2
  209. package/dist/core/estate-mcp-client.d.ts.map +1 -1
  210. package/dist/core/estate-mcp-client.js +3 -2
  211. package/dist/core/estate-mcp-client.js.map +1 -1
  212. package/dist/core/run-identity.d.ts.map +1 -1
  213. package/dist/core/run-identity.js +3 -0
  214. package/dist/core/run-identity.js.map +1 -1
  215. package/dist/core/types.d.ts +5 -0
  216. package/dist/core/types.d.ts.map +1 -1
  217. package/dist/core/types.js.map +1 -1
  218. package/dist/editors/conformance-runtime.d.ts +107 -0
  219. package/dist/editors/conformance-runtime.d.ts.map +1 -1
  220. package/dist/editors/conformance-runtime.js +268 -13
  221. package/dist/editors/conformance-runtime.js.map +1 -1
  222. package/dist/editors/csp.d.ts +2 -2
  223. package/dist/editors/csp.d.ts.map +1 -1
  224. package/dist/editors/csp.js +4 -2
  225. package/dist/editors/csp.js.map +1 -1
  226. package/dist/editors/pack-install.d.ts +28 -13
  227. package/dist/editors/pack-install.d.ts.map +1 -1
  228. package/dist/editors/pack-install.js +96 -48
  229. package/dist/editors/pack-install.js.map +1 -1
  230. package/dist/editors/registry.d.ts +111 -8
  231. package/dist/editors/registry.d.ts.map +1 -1
  232. package/dist/editors/registry.js +183 -7
  233. package/dist/editors/registry.js.map +1 -1
  234. package/dist/editors/routes.d.ts +66 -13
  235. package/dist/editors/routes.d.ts.map +1 -1
  236. package/dist/editors/routes.js +277 -44
  237. package/dist/editors/routes.js.map +1 -1
  238. package/dist/evals/replay.d.ts +6 -0
  239. package/dist/evals/replay.d.ts.map +1 -1
  240. package/dist/evals/replay.js +24 -1
  241. package/dist/evals/replay.js.map +1 -1
  242. package/dist/evals/routes.d.ts.map +1 -1
  243. package/dist/evals/routes.js +17 -2
  244. package/dist/evals/routes.js.map +1 -1
  245. package/dist/evals/runner.d.ts.map +1 -1
  246. package/dist/evals/runner.js +5 -0
  247. package/dist/evals/runner.js.map +1 -1
  248. package/dist/evals/shape-corrections.d.ts +146 -0
  249. package/dist/evals/shape-corrections.d.ts.map +1 -0
  250. package/dist/evals/shape-corrections.js +394 -0
  251. package/dist/evals/shape-corrections.js.map +1 -0
  252. package/dist/evals/shape.d.ts +145 -0
  253. package/dist/evals/shape.d.ts.map +1 -0
  254. package/dist/evals/shape.js +376 -0
  255. package/dist/evals/shape.js.map +1 -0
  256. package/dist/evals/types.d.ts +2 -2
  257. package/dist/evals/types.d.ts.map +1 -1
  258. package/dist/evals/types.js +2 -1
  259. package/dist/evals/types.js.map +1 -1
  260. package/dist/insights/analyze.d.ts +14 -1
  261. package/dist/insights/analyze.d.ts.map +1 -1
  262. package/dist/insights/analyze.js +35 -8
  263. package/dist/insights/analyze.js.map +1 -1
  264. package/dist/insights/cost.d.ts +123 -0
  265. package/dist/insights/cost.d.ts.map +1 -0
  266. package/dist/insights/cost.js +221 -0
  267. package/dist/insights/cost.js.map +1 -0
  268. package/dist/insights/review-service.d.ts +20 -1
  269. package/dist/insights/review-service.d.ts.map +1 -1
  270. package/dist/insights/review-service.js +50 -25
  271. package/dist/insights/review-service.js.map +1 -1
  272. package/dist/insights/routes.d.ts +29 -0
  273. package/dist/insights/routes.d.ts.map +1 -1
  274. package/dist/insights/routes.js +62 -0
  275. package/dist/insights/routes.js.map +1 -1
  276. package/dist/insights/run-facts.d.ts +16 -0
  277. package/dist/insights/run-facts.d.ts.map +1 -1
  278. package/dist/insights/run-facts.js +26 -3
  279. package/dist/insights/run-facts.js.map +1 -1
  280. package/dist/interactive/bridge-pool.d.ts +11 -2
  281. package/dist/interactive/bridge-pool.d.ts.map +1 -1
  282. package/dist/interactive/bridge-pool.js +10 -1
  283. package/dist/interactive/bridge-pool.js.map +1 -1
  284. package/dist/interactive/chat-events.d.ts +74 -1
  285. package/dist/interactive/chat-events.d.ts.map +1 -1
  286. package/dist/interactive/chat-events.js +338 -6
  287. package/dist/interactive/chat-events.js.map +1 -1
  288. package/dist/interactive/doc-binding.d.ts +15 -0
  289. package/dist/interactive/doc-binding.d.ts.map +1 -1
  290. package/dist/interactive/doc-binding.js +4 -0
  291. package/dist/interactive/doc-binding.js.map +1 -1
  292. package/dist/interactive/doc-checks-routes.d.ts +34 -1
  293. package/dist/interactive/doc-checks-routes.d.ts.map +1 -1
  294. package/dist/interactive/doc-checks-routes.js +84 -0
  295. package/dist/interactive/doc-checks-routes.js.map +1 -1
  296. package/dist/interactive/draft-events.d.ts +7 -0
  297. package/dist/interactive/draft-events.d.ts.map +1 -1
  298. package/dist/interactive/draft-events.js +38 -6
  299. package/dist/interactive/draft-events.js.map +1 -1
  300. package/dist/interactive/draft-skill.d.ts +76 -6
  301. package/dist/interactive/draft-skill.d.ts.map +1 -1
  302. package/dist/interactive/draft-skill.js +219 -17
  303. package/dist/interactive/draft-skill.js.map +1 -1
  304. package/dist/interactive/edit-events.d.ts.map +1 -1
  305. package/dist/interactive/edit-events.js +4 -2
  306. package/dist/interactive/edit-events.js.map +1 -1
  307. package/dist/interactive/landing-guard.d.ts +47 -0
  308. package/dist/interactive/landing-guard.d.ts.map +1 -0
  309. package/dist/interactive/landing-guard.js +43 -0
  310. package/dist/interactive/landing-guard.js.map +1 -0
  311. package/dist/interactive/landing-record.d.ts +68 -0
  312. package/dist/interactive/landing-record.d.ts.map +1 -0
  313. package/dist/interactive/landing-record.js +154 -0
  314. package/dist/interactive/landing-record.js.map +1 -0
  315. package/dist/interactive/proposal-create.d.ts +3 -1
  316. package/dist/interactive/proposal-create.d.ts.map +1 -1
  317. package/dist/interactive/proposal-create.js +14 -2
  318. package/dist/interactive/proposal-create.js.map +1 -1
  319. package/dist/interactive/proposal-refine.d.ts +48 -0
  320. package/dist/interactive/proposal-refine.d.ts.map +1 -0
  321. package/dist/interactive/proposal-refine.js +99 -0
  322. package/dist/interactive/proposal-refine.js.map +1 -0
  323. package/dist/interactive/protected-edits.d.ts +67 -0
  324. package/dist/interactive/protected-edits.d.ts.map +1 -0
  325. package/dist/interactive/protected-edits.js +160 -0
  326. package/dist/interactive/protected-edits.js.map +1 -0
  327. package/dist/interactive/proxy-routes.js +2 -2
  328. package/dist/interactive/review-events.js +1 -1
  329. package/dist/interactive/run-units.d.ts +1 -1
  330. package/dist/interactive/run-units.d.ts.map +1 -1
  331. package/dist/interactive/run-units.js +8 -2
  332. package/dist/interactive/run-units.js.map +1 -1
  333. package/dist/interactive/source-packet.d.ts +66 -1
  334. package/dist/interactive/source-packet.d.ts.map +1 -1
  335. package/dist/interactive/source-packet.js +309 -60
  336. package/dist/interactive/source-packet.js.map +1 -1
  337. package/dist/interactive/theme-events.js +1 -1
  338. package/dist/knowledge/adapters/web/egress.d.ts +99 -0
  339. package/dist/knowledge/adapters/web/egress.d.ts.map +1 -0
  340. package/dist/knowledge/adapters/web/egress.js +330 -0
  341. package/dist/knowledge/adapters/web/egress.js.map +1 -0
  342. package/dist/knowledge/adapters/web/engine.d.ts +54 -0
  343. package/dist/knowledge/adapters/web/engine.d.ts.map +1 -0
  344. package/dist/knowledge/adapters/web/engine.js +101 -0
  345. package/dist/knowledge/adapters/web/engine.js.map +1 -0
  346. package/dist/knowledge/adapters/web/fetch.d.ts +131 -0
  347. package/dist/knowledge/adapters/web/fetch.d.ts.map +1 -0
  348. package/dist/knowledge/adapters/web/fetch.js +325 -0
  349. package/dist/knowledge/adapters/web/fetch.js.map +1 -0
  350. package/dist/knowledge/adapters/web/gate-web.d.ts +182 -0
  351. package/dist/knowledge/adapters/web/gate-web.d.ts.map +1 -0
  352. package/dist/knowledge/adapters/web/gate-web.js +496 -0
  353. package/dist/knowledge/adapters/web/gate-web.js.map +1 -0
  354. package/dist/knowledge/adapters/web/routes.d.ts +36 -0
  355. package/dist/knowledge/adapters/web/routes.d.ts.map +1 -0
  356. package/dist/knowledge/adapters/web/routes.js +99 -0
  357. package/dist/knowledge/adapters/web/routes.js.map +1 -0
  358. package/dist/knowledge/adapters/web/searxng.d.ts +89 -0
  359. package/dist/knowledge/adapters/web/searxng.d.ts.map +1 -0
  360. package/dist/knowledge/adapters/web/searxng.js +274 -0
  361. package/dist/knowledge/adapters/web/searxng.js.map +1 -0
  362. package/dist/knowledge/adapters/web/source.d.ts +65 -0
  363. package/dist/knowledge/adapters/web/source.d.ts.map +1 -0
  364. package/dist/knowledge/adapters/web/source.js +192 -0
  365. package/dist/knowledge/adapters/web/source.js.map +1 -0
  366. package/dist/knowledge/gate/gate.d.ts +22 -0
  367. package/dist/knowledge/gate/gate.d.ts.map +1 -1
  368. package/dist/knowledge/gate/gate.js +62 -1
  369. package/dist/knowledge/gate/gate.js.map +1 -1
  370. package/dist/knowledge/gate/sources.d.ts +2 -0
  371. package/dist/knowledge/gate/sources.d.ts.map +1 -1
  372. package/dist/knowledge/gate/sources.js +5 -2
  373. package/dist/knowledge/gate/sources.js.map +1 -1
  374. package/dist/knowledge/package.d.ts +7 -0
  375. package/dist/knowledge/package.d.ts.map +1 -1
  376. package/dist/knowledge/package.js +15 -1
  377. package/dist/knowledge/package.js.map +1 -1
  378. package/dist/knowledge/trackers/actions.js +1 -1
  379. package/dist/knowledge/trackers/actions.js.map +1 -1
  380. package/dist/knowledge/trackers/bindings.d.ts +3 -3
  381. package/dist/knowledge/trackers/bindings.d.ts.map +1 -1
  382. package/dist/knowledge/trackers/bindings.js +36 -23
  383. package/dist/knowledge/trackers/bindings.js.map +1 -1
  384. package/dist/knowledge/trackers/routes.js +1 -1
  385. package/dist/knowledge/trackers/routes.js.map +1 -1
  386. package/dist/learnings/service.d.ts.map +1 -1
  387. package/dist/learnings/service.js +2 -0
  388. package/dist/learnings/service.js.map +1 -1
  389. package/dist/mcp/broker.d.ts +8 -0
  390. package/dist/mcp/broker.d.ts.map +1 -1
  391. package/dist/mcp/broker.js +48 -3
  392. package/dist/mcp/broker.js.map +1 -1
  393. package/dist/mcp/estate-relay.d.ts +43 -1
  394. package/dist/mcp/estate-relay.d.ts.map +1 -1
  395. package/dist/mcp/estate-relay.js +38 -2
  396. package/dist/mcp/estate-relay.js.map +1 -1
  397. package/dist/mcp/registry.d.ts +6 -0
  398. package/dist/mcp/registry.d.ts.map +1 -1
  399. package/dist/mcp/registry.js +42 -3
  400. package/dist/mcp/registry.js.map +1 -1
  401. package/dist/mcp/run-fence.d.ts +57 -0
  402. package/dist/mcp/run-fence.d.ts.map +1 -0
  403. package/dist/mcp/run-fence.js +86 -0
  404. package/dist/mcp/run-fence.js.map +1 -0
  405. package/dist/mcp/tool-list.d.ts +5 -0
  406. package/dist/mcp/tool-list.d.ts.map +1 -1
  407. package/dist/mcp/tool-list.js +7 -3
  408. package/dist/mcp/tool-list.js.map +1 -1
  409. package/dist/presets/routes.d.ts.map +1 -1
  410. package/dist/presets/routes.js +6 -0
  411. package/dist/presets/routes.js.map +1 -1
  412. package/dist/projects/routes.d.ts +1 -1
  413. package/dist/projects/state-home-preflight.d.ts.map +1 -1
  414. package/dist/projects/state-home-preflight.js +2 -0
  415. package/dist/projects/state-home-preflight.js.map +1 -1
  416. package/dist/setup/tool-path.d.ts +16 -0
  417. package/dist/setup/tool-path.d.ts.map +1 -0
  418. package/dist/setup/tool-path.js +66 -0
  419. package/dist/setup/tool-path.js.map +1 -0
  420. package/dist/skills/plugin-source.d.ts +42 -88
  421. package/dist/skills/plugin-source.d.ts.map +1 -1
  422. package/dist/skills/plugin-source.js +140 -100
  423. package/dist/skills/plugin-source.js.map +1 -1
  424. package/dist/skills/runtime.d.ts.map +1 -1
  425. package/dist/skills/runtime.js +15 -7
  426. package/dist/skills/runtime.js.map +1 -1
  427. package/dist/skills/store.d.ts.map +1 -1
  428. package/dist/skills/store.js +25 -14
  429. package/dist/skills/store.js.map +1 -1
  430. package/dist/skills/usage.d.ts +238 -0
  431. package/dist/skills/usage.d.ts.map +1 -0
  432. package/dist/skills/usage.js +789 -0
  433. package/dist/skills/usage.js.map +1 -0
  434. package/dist/skills/venv.d.ts +18 -2
  435. package/dist/skills/venv.d.ts.map +1 -1
  436. package/dist/skills/venv.js +2 -2
  437. package/dist/skills/venv.js.map +1 -1
  438. package/dist/sources/routes.d.ts +3 -1
  439. package/dist/sources/routes.d.ts.map +1 -1
  440. package/dist/sources/routes.js +11 -0
  441. package/dist/sources/routes.js.map +1 -1
  442. package/dist/standing-orders/parse.d.ts +19 -0
  443. package/dist/standing-orders/parse.d.ts.map +1 -1
  444. package/dist/standing-orders/parse.js +61 -18
  445. package/dist/standing-orders/parse.js.map +1 -1
  446. package/dist/studio/apps-standalone/fixture.html +12 -0
  447. package/dist/studio/apps-standalone/fixture.js +10 -0
  448. package/dist/studio/apps-standalone/runtime.css +139 -0
  449. package/dist/studio/apps-standalone/runtime.js +1 -0
  450. package/dist/studio/assets/{KnowledgeGraph-Cpm46tEp.js → KnowledgeGraph-AtkRlS3c.js} +1 -1
  451. package/dist/studio/assets/index-CdbCAs7s.css +32 -0
  452. package/dist/studio/assets/index-DU_8o4uq.js +1104 -0
  453. package/dist/studio/editors/wicked-apps/editor.json +1 -1
  454. package/dist/studio/editors/wicked-apps/index.html +2 -2
  455. package/dist/studio/editors/wicked-deck/editor.json +1 -1
  456. package/dist/studio/editors/wicked-deck/index.html +14 -1
  457. package/dist/studio/editors/wicked-doc/editor.json +1 -1
  458. package/dist/studio/editors/wicked-doc/index.html +1 -1
  459. package/dist/studio/editors/wicked-insights/editor.json +1 -1
  460. package/dist/studio/editors/wicked-insights/index.html +1 -1
  461. package/dist/studio/editors/wicked-page/editor.json +10 -1
  462. package/dist/studio/editors/wicked-page/index.html +2 -2
  463. package/dist/studio/editors/wicked-video/editor.json +7 -2
  464. package/dist/studio/editors/wicked-video/index.html +14 -11
  465. package/dist/studio/index.html +2 -2
  466. package/dist/studio/testid-inventory.json +2069 -242
  467. package/dist/team/routes.d.ts +1 -1
  468. package/dist/workflow-catalog/build-v2.d.ts +6 -2
  469. package/dist/workflow-catalog/build-v2.d.ts.map +1 -1
  470. package/dist/workflow-catalog/build-v2.js +37 -13
  471. package/dist/workflow-catalog/build-v2.js.map +1 -1
  472. package/dist/workflow-catalog/catalog-data-v2.d.ts.map +1 -1
  473. package/dist/workflow-catalog/catalog-data-v2.js +310 -105
  474. package/dist/workflow-catalog/catalog-data-v2.js.map +1 -1
  475. package/dist/workflow-catalog/catalog-data.d.ts.map +1 -1
  476. package/dist/workflow-catalog/catalog-data.js +2 -20
  477. package/dist/workflow-catalog/catalog-data.js.map +1 -1
  478. package/dist/workflow-catalog/detect-service.d.ts +95 -0
  479. package/dist/workflow-catalog/detect-service.d.ts.map +1 -0
  480. package/dist/workflow-catalog/detect-service.js +239 -0
  481. package/dist/workflow-catalog/detect-service.js.map +1 -0
  482. package/dist/workflow-catalog/detect.d.ts +213 -0
  483. package/dist/workflow-catalog/detect.d.ts.map +1 -0
  484. package/dist/workflow-catalog/detect.js +653 -0
  485. package/dist/workflow-catalog/detect.js.map +1 -0
  486. package/dist/workflow-catalog/shape.d.ts +3 -1
  487. package/dist/workflow-catalog/shape.d.ts.map +1 -1
  488. package/dist/workflow-catalog/shape.js +7 -1
  489. package/dist/workflow-catalog/shape.js.map +1 -1
  490. package/dist/working-doc/bridge-backend.js +2 -2
  491. package/dist/working-doc/event-lines.d.ts +67 -2
  492. package/dist/working-doc/event-lines.d.ts.map +1 -1
  493. package/dist/working-doc/event-lines.js +155 -8
  494. package/dist/working-doc/event-lines.js.map +1 -1
  495. package/dist/working-doc/notes-index.d.ts +35 -0
  496. package/dist/working-doc/notes-index.d.ts.map +1 -0
  497. package/dist/working-doc/notes-index.js +82 -0
  498. package/dist/working-doc/notes-index.js.map +1 -0
  499. package/dist/working-doc/routes.js +4 -4
  500. package/dist/working-doc/sections.js +2 -2
  501. package/dist/working-doc/service.d.ts +260 -21
  502. package/dist/working-doc/service.d.ts.map +1 -1
  503. package/dist/working-doc/service.js +791 -90
  504. package/dist/working-doc/service.js.map +1 -1
  505. package/dist/working-doc/store.d.ts +50 -1
  506. package/dist/working-doc/store.d.ts.map +1 -1
  507. package/dist/working-doc/store.js +4 -1
  508. package/dist/working-doc/store.js.map +1 -1
  509. package/endpoint-manifest.json +187 -3
  510. package/evals/corpora/shape-corrections-v1.json +594 -0
  511. package/evals/corpora/shape-corrections-v1.seat-fixture.json +186 -0
  512. package/evals/corpora/shape-v1.json +2113 -0
  513. package/evals/corpora/shape-v1.seat-fixture.json +1800 -0
  514. package/package.json +11 -7
  515. package/scripts/apps-render.py +226 -0
  516. package/workflows/detect-shape.json +29 -0
  517. package/dist/studio/assets/index-BRBwWQMH.css +0 -32
  518. package/dist/studio/assets/index-CVrWDGRP.js +0 -1097
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,22 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2021 Dan Lynch <pyramation@gmail.com>
4
+ Copyright (c) 2025 Constructive <developers@constructive.io>
5
+
6
+ Permission is hereby granted, free of charge, to any person obtaining a copy
7
+ of this software and associated documentation files (the "Software"), to deal
8
+ in the Software without restriction, including without limitation the rights
9
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
10
+ copies of the Software, and to permit persons to whom the Software is
11
+ furnished to do so, subject to the following conditions:
12
+
13
+ The above copyright notice and this permission notice shall be included in all
14
+ copies or substantial portions of the Software.
15
+
16
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
22
+ SOFTWARE.
@@ -0,0 +1,275 @@
1
+ # libpg-query
2
+
3
+ <p align="center" width="100%">
4
+ <img height="250" src="https://raw.githubusercontent.com/constructive-io/constructive/refs/heads/main/assets/outline-logo.svg" alt="constructive.io">
5
+ </p>
6
+
7
+ <p align="center" width="100%">
8
+ <a href="https://www.npmjs.com/package/libpg-query"><img height="20" src="https://img.shields.io/npm/dt/libpg-query"></a>
9
+ <a href="https://www.npmjs.com/package/libpg-query"><img height="20" src="https://img.shields.io/npm/dw/libpg-query"/></a>
10
+ <a href="https://github.com/constructive-io/libpg-query/blob/main/LICENSE-MIT"><img height="20" src="https://img.shields.io/badge/license-MIT-blue.svg"/></a>
11
+ <a href="https://www.npmjs.com/package/libpg-query"><img height="20" src="https://img.shields.io/github/package-json/v/constructive-io/libpg-query-node?filename=versions%2F17%2Fpackage.json"/></a><br />
12
+ <a href="https://github.com/constructive-io/libpg-query-node/actions/workflows/ci.yml"><img height="20" src="https://github.com/constructive-io/libpg-query-node/actions/workflows/ci.yml/badge.svg" /></a>
13
+ <a href="https://github.com/constructive-io/libpg-query-node/actions/workflows/ci.yml"><img height="20" src="https://img.shields.io/badge/macOS-available-333333?logo=apple&logoColor=white" /></a>
14
+ <a href="https://github.com/constructive-io/libpg-query-node/actions/workflows/ci.yml"><img height="20" src="https://img.shields.io/badge/Windows-available-333333?logo=windows&logoColor=white" /></a>
15
+ <a href="https://github.com/constructive-io/libpg-query-node/actions/workflows/ci.yml"><img height="20" src="https://img.shields.io/badge/Linux-available-333333?logo=linux&logoColor=white" /></a>
16
+ </p>
17
+
18
+ # The Real PostgreSQL Parser for JavaScript
19
+
20
+ ### Bring the power of PostgreSQL’s native parser to your JavaScript projects — no native builds, no platform headaches.
21
+
22
+ This is the official PostgreSQL parser, compiled to WebAssembly (WASM) for seamless, cross-platform compatibility. Use it in Node.js or the browser, on Linux, Windows, or anywhere JavaScript runs.
23
+
24
+ Built to power [pgsql-parser](https://github.com/constructive-io/pgsql-parser), this library delivers full fidelity with the Postgres C codebase — no rewrites, no shortcuts.
25
+
26
+ ### Features
27
+
28
+ * 🔧 **Powered by PostgreSQL** – Uses the official Postgres C parser compiled to WebAssembly
29
+ * 🖥️ **Cross-Platform** – Runs smoothly on macOS, Linux, and Windows
30
+ * 🌐 **Node.js & Browser Support** – Consistent behavior in any JS environment
31
+ * 📦 **No Native Builds Required** – No compilation, no system-specific dependencies
32
+ * 🧠 **Spec-Accurate Parsing** – Produces faithful, standards-compliant ASTs
33
+ * 🚀 **Production-Grade** – Millions of downloads and trusted by countless projects and top teams
34
+
35
+ ## 🚀 For Round-trip Codegen
36
+
37
+ > 🎯 **Want to parse + deparse (full round trip)?**
38
+ > We highly recommend using [`pgsql-parser`](https://github.com/constructive-io/pgsql-parser) which leverages a pure TypeScript deparser that has been battle-tested against 23,000+ SQL statements and is built on top of libpg-query.
39
+
40
+ ## Installation
41
+
42
+ ```sh
43
+ npm install libpg-query
44
+ ```
45
+
46
+ ## Example
47
+
48
+ ```typescript
49
+ import { parse } from 'libpg-query';
50
+
51
+ const result = await parse('SELECT * FROM users WHERE active = true');
52
+ // {"version":170004,"stmts":[{"stmt":{"SelectStmt":{"targetList":[{"ResTarget" ... "op":"SETOP_NONE"}}}]}
53
+ ```
54
+
55
+ ## Versions
56
+
57
+ Our latest is built with the `18-latest` branch from libpg_query
58
+
59
+ | PG Major Version | libpg_query | npm dist-tag
60
+ |--------------------------|-------------|---------|
61
+ | 18 | 18.0.0 | [`pg18`](https://www.npmjs.com/package/libpg-query/v/pg18)
62
+ | 17 | 17-6.1.0 | [`pg17`](https://www.npmjs.com/package/libpg-query/v/pg17)
63
+ | 16 | 16-5.2.0 | [`pg16`](https://www.npmjs.com/package/libpg-query/v/pg16)
64
+ | 15 | 15-4.2.4 | [`pg15`](https://www.npmjs.com/package/libpg-query/v/pg15)
65
+ | 14 | 14-3.0.0 | [`pg14`](https://www.npmjs.com/package/libpg-query/v/pg14)
66
+ | 13 | 13-2.2.0 | [`pg13`](https://www.npmjs.com/package/libpg-query/v/pg13)
67
+
68
+ ## Usage
69
+
70
+ ### `parse(query: string): Promise<ParseResult>`
71
+
72
+ Parses the SQL and returns a Promise for the parse tree. May reject with a parse error.
73
+
74
+ ```typescript
75
+ import { parse } from 'libpg-query';
76
+
77
+ const result = await parse('SELECT * FROM users WHERE active = true');
78
+ // Returns: ParseResult - parsed query object
79
+ ```
80
+
81
+ ### `parseSync(query: string): ParseResult`
82
+
83
+ Synchronous version that returns the parse tree directly. May throw a parse error.
84
+
85
+ ```typescript
86
+ import { parseSync } from 'libpg-query';
87
+
88
+ const result = parseSync('SELECT * FROM users WHERE active = true');
89
+ // Returns: ParseResult - parsed query object
90
+ ```
91
+
92
+ ⚠ **Note:** This package only parses. For `fingerprint`, `normalize`, `scan` and `parsePlPgSQL`, upgrade to [`libpg-query@pg18`](https://www.npmjs.com/package/libpg-query/v/pg18).
93
+
94
+ ### Initialization
95
+
96
+ The library provides both async and sync methods. Async methods handle initialization automatically, while sync methods require explicit initialization.
97
+
98
+ #### Async Methods (Recommended)
99
+
100
+ Async methods handle initialization automatically and are always safe to use:
101
+
102
+ ```typescript
103
+ import { parse } from 'libpg-query';
104
+
105
+ // These handle initialization automatically
106
+ const result = await parse('SELECT * FROM users');
107
+ ```
108
+
109
+ #### Sync Methods
110
+
111
+ Sync methods require explicit initialization using `loadModule()`:
112
+
113
+ ```typescript
114
+ import { loadModule, parseSync } from 'libpg-query';
115
+
116
+ // Initialize first
117
+ await loadModule();
118
+
119
+ // Now safe to use sync methods
120
+ const result = parseSync('SELECT * FROM users');
121
+ ```
122
+
123
+ ### `loadModule(): Promise<void>`
124
+
125
+ Explicitly initializes the WASM module. Required before using any sync methods.
126
+
127
+ ```typescript
128
+ import { loadModule, parseSync } from 'libpg-query';
129
+
130
+ // Initialize before using sync methods
131
+ await loadModule();
132
+ const result = parseSync('SELECT * FROM users');
133
+ ```
134
+
135
+ Note: We recommend using async methods as they handle initialization automatically. Use sync methods only when necessary, and always call `loadModule()` first.
136
+
137
+ ### `loadModule({ wasm }): Promise<void>`
138
+
139
+ For hosts where the wrapper cannot read `libpg-query.wasm` itself (for example a custom protocol without fetch support), pass the file's bytes or a compiled `WebAssembly.Module`. It is compiled once, and every later instance is created from it. Pass only the `libpg-query.wasm` shipped with this package (or bytes you trust as much): whatever you pass runs as the parser.
140
+
141
+ ```typescript
142
+ import { loadModule, parseSync } from 'libpg-query';
143
+ import wasm from 'libpg-query/wasm/libpg-query.wasm'; // bytes, via your bundler's binary loader
144
+
145
+ await loadModule({ wasm });
146
+ const result = parseSync('SELECT * FROM users');
147
+ ```
148
+
149
+ ### Type Definitions
150
+
151
+ ```typescript
152
+ interface ParseResult {
153
+ version: number;
154
+ stmts: Statement[];
155
+ }
156
+
157
+ interface Statement {
158
+ stmt_type: string;
159
+ stmt_len: number;
160
+ stmt_location: number;
161
+ query: string;
162
+ }
163
+
164
+ ```
165
+
166
+ **Note:** The return value is an array, as multiple queries may be provided in a single string (semicolon-delimited, as PostgreSQL expects).
167
+
168
+ ## Build Instructions
169
+
170
+ This package uses a **WASM-only build system** for true cross-platform compatibility without native compilation dependencies.
171
+
172
+ ### Prerequisites
173
+
174
+ - Node.js (version 16 or higher recommended)
175
+ - [pnpm](https://pnpm.io/) (v8+ recommended)
176
+
177
+ ### Building WASM Artifacts
178
+
179
+ 1. **Install dependencies:**
180
+ ```bash
181
+ pnpm install
182
+ ```
183
+
184
+ 2. **Build WASM artifacts:**
185
+ ```bash
186
+ pnpm run build
187
+ ```
188
+
189
+ 3. **Clean WASM build (if needed):**
190
+ ```bash
191
+ pnpm run clean
192
+ ```
193
+
194
+ 4. **Rebuild WASM artifacts from scratch:**
195
+ ```bash
196
+ pnpm run clean && pnpm run build
197
+ ```
198
+
199
+ ### Build Process Details
200
+
201
+ The WASM build process:
202
+ - Uses Emscripten SDK for compilation
203
+ - Compiles C wrapper code to WebAssembly
204
+ - Generates `wasm/libpg-query.js` and `wasm/libpg-query.wasm` files
205
+ - No native compilation or node-gyp dependencies required
206
+
207
+ ## Testing
208
+
209
+ ### Running Tests
210
+
211
+ ```bash
212
+ pnpm run test
213
+ ```
214
+
215
+ ### Test Requirements
216
+
217
+ - WASM artifacts must be built before running tests
218
+ - If tests fail with "fetch failed" errors, rebuild WASM artifacts:
219
+ ```bash
220
+ pnpm run clean && pnpm run build && pnpm run test
221
+ ```
222
+
223
+ ## Troubleshooting
224
+
225
+ ### Common Issues
226
+
227
+ **"fetch failed" errors during tests:**
228
+ - This indicates stale or missing WASM artifacts
229
+ - Solution: `pnpm run clean && pnpm run build`
230
+
231
+ **"WASM module not initialized" errors:**
232
+ - Ensure you call an async method first to initialize the WASM module
233
+ - Or use the async versions of methods which handle initialization automatically
234
+
235
+ **Build environment issues:**
236
+ - Ensure Emscripten SDK is properly installed and configured
237
+ - Check that all required build dependencies are available
238
+
239
+ ### Build Artifacts
240
+
241
+ The build process generates these files:
242
+ - `wasm/libpg-query.js` - Emscripten-generated JavaScript loader
243
+ - `wasm/libpg-query.wasm` - WebAssembly binary
244
+ - `wasm/index.js` - ES module exports
245
+ - `wasm/index.cjs` - CommonJS exports with sync wrappers
246
+
247
+ ## Credits
248
+
249
+ Built on the excellent work of several contributors:
250
+
251
+ * **[Dan Lynch](https://github.com/pyramation)** — official maintainer since 2018 and architect of the current implementation
252
+ * **[Lukas Fittl](https://github.com/lfittl)** for [libpg_query](https://github.com/pganalyze/libpg_query) — the core PostgreSQL parser that powers this project
253
+ * **[Greg Richardson](https://github.com/gregnr)** for AST guidance and pushing the transition to WASM and multiple PG runtimes for better interoperability
254
+ * **[Ethan Resnick](https://github.com/ethanresnick)** for the original Node.js N-API bindings
255
+ * **[Zac McCormick](https://github.com/zhm)** for the foundational [node-pg-query-native](https://github.com/zhm/node-pg-query-native) parser
256
+
257
+ **🛠 Built by the [Constructive](https://constructive.io) team — creators of modular Postgres tooling for secure, composable backends. If you like our work, contribute on [GitHub](https://github.com/constructive-io).**
258
+
259
+
260
+ ## Related
261
+
262
+ * [pgsql-parser](https://www.npmjs.com/package/pgsql-parser): The real PostgreSQL parser for Node.js, providing symmetric parsing and deparsing of SQL statements with actual PostgreSQL parser integration.
263
+ * [pgsql-deparser](https://www.npmjs.com/package/pgsql-deparser): A streamlined tool designed for converting PostgreSQL ASTs back into SQL queries, focusing solely on deparser functionality to complement `pgsql-parser`.
264
+ * [@pgsql/parser](https://www.npmjs.com/package/@pgsql/parser): Multi-version PostgreSQL parser with dynamic version selection at runtime, supporting PostgreSQL 15, 16, 17, and 18 in a single package.
265
+ * [@pgsql/types](https://www.npmjs.com/package/@pgsql/types): Offers TypeScript type definitions for PostgreSQL AST nodes, facilitating type-safe construction, analysis, and manipulation of ASTs.
266
+ * [@pgsql/enums](https://www.npmjs.com/package/@pgsql/enums): Provides TypeScript enum definitions for PostgreSQL constants, enabling type-safe usage of PostgreSQL enums and constants in your applications.
267
+ * [@pgsql/utils](https://www.npmjs.com/package/@pgsql/utils): A comprehensive utility library for PostgreSQL, offering type-safe AST node creation and enum value conversions, simplifying the construction and manipulation of PostgreSQL ASTs.
268
+ * [pg-proto-parser](https://www.npmjs.com/package/pg-proto-parser): A TypeScript tool that parses PostgreSQL Protocol Buffers definitions to generate TypeScript interfaces, utility functions, and JSON mappings for enums.
269
+ * [libpg-query](https://github.com/constructive-io/libpg-query-node): The real PostgreSQL parser exposed for Node.js, used primarily in `pgsql-parser` for parsing and deparsing SQL queries.
270
+
271
+ ## Disclaimer
272
+
273
+ AS DESCRIBED IN THE LICENSES, THE SOFTWARE IS PROVIDED "AS IS", AT YOUR OWN RISK, AND WITHOUT WARRANTIES OF ANY KIND.
274
+
275
+ No developer or entity involved in creating Software will be liable for any claims or damages whatsoever associated with your use, inability to use, or your interaction with other users of the Software code or Software CLI, including any direct, indirect, incidental, special, exemplary, punitive or consequential damages, or loss of profits, cryptocurrencies, tokens, or anything else of value.
@@ -0,0 +1,58 @@
1
+ {
2
+ "name": "libpg-query",
3
+ "version": "17.8.2",
4
+ "description": "The real PostgreSQL query parser",
5
+ "homepage": "https://github.com/constructive-io/libpg-query-node",
6
+ "main": "./wasm/index.cjs",
7
+ "module": "./wasm/index.js",
8
+ "typings": "./wasm/index.d.ts",
9
+ "publishConfig": {
10
+ "access": "public"
11
+ },
12
+ "x-publish": {
13
+ "publishName": "libpg-query",
14
+ "pgVersion": "17",
15
+ "distTag": "pg17",
16
+ "libpgQueryRepo": "https://github.com/constructive-io/libpg_query.git",
17
+ "libpgQueryTag": "17-constructive",
18
+ "libpgQueryCommit": "1ade880fd1bbc6e89c33ea2424ddc366c41c1408",
19
+ "wasmSha256": {
20
+ "wasm/libpg-query.wasm": "27a3fb059946aa5940d65981c540ccb58b5671cc04bdc35c25fc14824a0be30e",
21
+ "wasm/libpg-query.js": "b6c1a60cfe748dfc359172c409dbd4cb37e2114e4135271305b74c01e235683d"
22
+ }
23
+ },
24
+ "files": [
25
+ "wasm/*"
26
+ ],
27
+ "scripts": {
28
+ "clean": "pnpm wasm:clean && rimraf wasm/*.js wasm/*.cjs wasm/*.d.ts",
29
+ "build:js": "node scripts/build.js",
30
+ "build": "pnpm clean && pnpm wasm:build && pnpm build:js",
31
+ "publish:pkg": "node ../../scripts/publish-single-version.js",
32
+ "wasm:make": "docker run --rm -v $(pwd):/src -u $(id -u):$(id -g) emscripten/emsdk:6.0.3 emmake make",
33
+ "wasm:build": "pnpm wasm:make build",
34
+ "wasm:rebuild": "pnpm wasm:make rebuild",
35
+ "wasm:clean": "pnpm wasm:make clean",
36
+ "wasm:clean-cache": "pnpm wasm:make clean-cache",
37
+ "test": "node --test test/parsing.test.js test/errors.test.js test/input-encoding.test.js test/wasm-recovery.test.js test/load-module.test.js"
38
+ },
39
+ "author": "Constructive <developers@constructive.io>",
40
+ "license": "MIT",
41
+ "repository": {
42
+ "type": "git",
43
+ "url": "git://github.com/constructive-io/libpg-query-node.git"
44
+ },
45
+ "devDependencies": {},
46
+ "dependencies": {
47
+ "@pgsql/types": "^17.6.2"
48
+ },
49
+ "keywords": [
50
+ "sql",
51
+ "postgres",
52
+ "postgresql",
53
+ "pg",
54
+ "query",
55
+ "plpgsql",
56
+ "database"
57
+ ]
58
+ }