neon 8.13.2 → 8.14.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 (360) hide show
  1. package/dist/_chunks/{api-GbEaBZJ5.js → api-1MKsfpY3.js} +2 -3
  2. package/dist/_chunks/{api_keys-CNnnugbQ.js → api_keys-6Xnxl7a8.js} +2 -3
  3. package/dist/_chunks/{ask-DVwy0eUL.js → ask-Xlek1Pxh.js} +2 -3
  4. package/dist/_chunks/{auth-CIUtXByB.js → auth-DPSDYYtG.js} +6 -7
  5. package/dist/_chunks/{auth_selection-YX5_KZgD.js → auth_selection-CwGLN9Qz.js} +2 -3
  6. package/dist/_chunks/{bootstrap-wPZWa1sT.js → bootstrap-BDkvsAVJ.js} +2 -3
  7. package/dist/_chunks/{branches-BNa1xX1L.js → branches-Bp-5z1lM.js} +2 -3
  8. package/dist/_chunks/{bucket-BCdryTkD.js → bucket-D06bvDSa.js} +2 -3
  9. package/dist/_chunks/{checkout-CXIOydqZ.js → checkout-C6VMMgY6.js} +5 -6
  10. package/dist/_chunks/{claim-DqAvAvDm.js → claim-DlLZmcq0.js} +4 -5
  11. package/dist/_chunks/{cmd_pipeline-CEk93dGN.js → cmd_pipeline-BDE-TGto.js} +3 -6
  12. package/dist/_chunks/{config-BH_qRHiG.js → config-7SIE_C5O.js} +3 -4
  13. package/dist/_chunks/{connection_string-DB4awPzZ.js → connection_string-C9e7N4xk.js} +3 -4
  14. package/dist/_chunks/{credential_io-BS-0Pmwc.js → credential_io-DbeSh3Pl.js} +6 -9
  15. package/dist/_chunks/{credentials-BSjE9fRR.js → credentials-BMBNmW0t.js} +2 -3
  16. package/dist/_chunks/{data_api-Djxj5ZQD.js → data_api-CHDwvMTG.js} +2 -3
  17. package/dist/_chunks/{databases-Dok4wru7.js → databases-DC2h6IW2.js} +2 -3
  18. package/dist/_chunks/{deploy-D7B0Xfjg.js → deploy-DmKZcAnR.js} +3 -4
  19. package/dist/_chunks/{dev-CSvxAecE.js → dev-Dv0HKcFF.js} +7 -8
  20. package/dist/_chunks/{diff-DhxxbdQE.js → diff-dnxneH0u.js} +2 -3
  21. package/dist/_chunks/{docs-CrVybkTP.js → docs-CClmgj_Z.js} +2 -3
  22. package/dist/_chunks/{env-5HS5qQGd.js → env-BOt9AZ1j.js} +4 -5
  23. package/dist/_chunks/{env-BNm69Qh8.js → env-CIFMBEon.js} +3 -5
  24. package/dist/_chunks/{env-BpP3Dqpe.js → env-JgoSsmyt.js} +2 -3
  25. package/dist/_chunks/{feedback-CMayyTa8.js → feedback-mQmdTRFn.js} +2 -3
  26. package/dist/_chunks/{functions-Q0zuvtnk.js → functions-3ypiRwZK.js} +2 -3
  27. package/dist/_chunks/{git-H32TNt6M.js → git-Dxw9w9dK.js} +4 -5
  28. package/dist/_chunks/{init-BkA6RilG.js → init-BOOGv-mD.js} +2 -3
  29. package/dist/_chunks/{inspect-g0wekylj.js → inspect-yFAb61qo.js} +2 -3
  30. package/dist/_chunks/{ip_allow-5lLFvIuE.js → ip_allow-DBdxNEUa.js} +2 -3
  31. package/dist/_chunks/{link-BgtkOBws.js → link-CcwTXRny.js} +6 -7
  32. package/dist/_chunks/{logs-DWkpjzIH.js → logs-BB4uvblR.js} +2 -3
  33. package/dist/_chunks/{mcp-Bo-7TKc7.js → mcp-BznTRK3w.js} +2 -3
  34. package/dist/_chunks/{neon_auth-DpF83S24.js → neon_auth-Dw-ucM5Y.js} +102 -28
  35. package/dist/_chunks/{open-CX3BT3Tp.js → open-T2nI89Oh.js} +2 -3
  36. package/dist/_chunks/{operations-D4I-AxVs.js → operations-CzaR_uqx.js} +2 -3
  37. package/dist/_chunks/{orgs-xGfANwHQ.js → orgs-Dpbr-K0A.js} +2 -3
  38. package/dist/_chunks/{paths-DMq0Lt7a.js → paths-B55ZfOg1.js} +1 -2
  39. package/dist/_chunks/{plugins-Dj0H6lDA.js → plugins-CKOcBuuP.js} +2 -3
  40. package/dist/_chunks/{profile-yXOiKk9R.js → profile-H0d7gFrX.js} +9 -10
  41. package/dist/_chunks/{profiles-DIB1av2Q.js → profiles-DTazQtjK.js} +4 -6
  42. package/dist/_chunks/{projects-BwI2Uo0z.js → projects-a3X4OFEJ.js} +2 -3
  43. package/dist/_chunks/{psql-BM-doe8e.js → psql-Bce4X0NG.js} +3 -4
  44. package/dist/_chunks/{psql-BNljLda2.js → psql-DwGeP0IV.js} +2 -4
  45. package/dist/_chunks/{realtime-BRqIyGR-.js → realtime-BwtzYf5a.js} +2 -3
  46. package/dist/_chunks/{roles-C3M4q9DS.js → roles-Bd9r8_pX.js} +1 -2
  47. package/dist/_chunks/{roles-B4w3YT_7.js → roles-xRuu0462.js} +2 -3
  48. package/dist/_chunks/{rolldown-runtime-8H4AJuhK.js → rolldown-runtime-BJohB4LM.js} +1 -2
  49. package/dist/_chunks/{secure_file-BucZj4yQ.js → secure_file-Caskdohg.js} +1 -2
  50. package/dist/_chunks/{set_context-DbrwoImy.js → set_context-ompB6d2D.js} +2 -3
  51. package/dist/_chunks/{skills-BP6pIm7O.js → skills-DKgafm65.js} +2 -3
  52. package/dist/_chunks/{snapshots-RJBzW8GM.js → snapshots-DxNhjcco.js} +3 -4
  53. package/dist/_chunks/{status-DV8Z2kw3.js → status-DS_yUXFo.js} +3 -4
  54. package/dist/_chunks/{triggers-BrRo1z4b.js → triggers-BfvyeJUC.js} +2 -3
  55. package/dist/_chunks/{user-dlOGXbX9.js → user-D9mC430O.js} +2 -3
  56. package/dist/_chunks/{vpc_endpoints-CNb0YfMo.js → vpc_endpoints-C-Y4WK2M.js} +3 -4
  57. package/dist/_shared/auth_selection.js +1 -2
  58. package/dist/_shared/credentials.js +1 -2
  59. package/dist/_shared/paths.js +1 -2
  60. package/dist/_shared/profiles.js +1 -2
  61. package/dist/_shared/secure_file.js +1 -2
  62. package/dist/analytics.js +3 -4
  63. package/dist/anonymous_id.js +2 -3
  64. package/dist/api.js +1 -2
  65. package/dist/auth.js +1 -2
  66. package/dist/auth_context.js +1 -2
  67. package/dist/auth_recovery.js +3 -4
  68. package/dist/claimable/api.js +1 -2
  69. package/dist/claimable/state.js +2 -3
  70. package/dist/cli.js +1 -2
  71. package/dist/commands/api.js +1 -1
  72. package/dist/commands/api_keys.js +1 -1
  73. package/dist/commands/ask.js +1 -1
  74. package/dist/commands/ask_sse.js +1 -2
  75. package/dist/commands/auth.js +1 -1
  76. package/dist/commands/bootstrap.js +1 -1
  77. package/dist/commands/branches.js +1 -1
  78. package/dist/commands/bucket.js +1 -1
  79. package/dist/commands/checkout.js +1 -1
  80. package/dist/commands/claim.js +1 -1
  81. package/dist/commands/config.js +1 -1
  82. package/dist/commands/connection_string.js +1 -1
  83. package/dist/commands/credentials.js +1 -1
  84. package/dist/commands/data_api.js +1 -1
  85. package/dist/commands/databases.js +1 -1
  86. package/dist/commands/deploy.js +1 -1
  87. package/dist/commands/deploy_help.js +1 -2
  88. package/dist/commands/dev.js +1 -1
  89. package/dist/commands/diff.js +1 -1
  90. package/dist/commands/docs.js +1 -1
  91. package/dist/commands/env.js +1 -1
  92. package/dist/commands/env_output.js +2 -3
  93. package/dist/commands/feedback.js +1 -1
  94. package/dist/commands/functions.js +1 -1
  95. package/dist/commands/functions_new.js +2 -3
  96. package/dist/commands/git.js +1 -1
  97. package/dist/commands/index.js +46 -47
  98. package/dist/commands/init.js +1 -1
  99. package/dist/commands/inspect.js +1 -1
  100. package/dist/commands/ip_allow.js +1 -1
  101. package/dist/commands/link.js +1 -1
  102. package/dist/commands/link_output.js +1 -2
  103. package/dist/commands/logs.js +1 -1
  104. package/dist/commands/manifest.js +1 -2
  105. package/dist/commands/mcp.js +1 -1
  106. package/dist/commands/neon_auth.js +1 -1
  107. package/dist/commands/open.js +1 -1
  108. package/dist/commands/operations.js +1 -1
  109. package/dist/commands/orgs.js +1 -1
  110. package/dist/commands/plugins.js +1 -1
  111. package/dist/commands/profile.js +1 -1
  112. package/dist/commands/projects.js +1 -1
  113. package/dist/commands/psql.js +1 -1
  114. package/dist/commands/realtime.js +1 -1
  115. package/dist/commands/roles.js +1 -1
  116. package/dist/commands/schema_diff.js +1 -2
  117. package/dist/commands/set_context.js +1 -1
  118. package/dist/commands/skills.js +1 -1
  119. package/dist/commands/snapshots.js +1 -1
  120. package/dist/commands/status.js +1 -1
  121. package/dist/commands/subscribe.js +2 -3
  122. package/dist/commands/thinking_spinner.js +1 -2
  123. package/dist/commands/triggers.js +1 -1
  124. package/dist/commands/user.js +1 -1
  125. package/dist/commands/vpc_endpoints.js +1 -1
  126. package/dist/config.js +2 -3
  127. package/dist/config_edit.js +1 -2
  128. package/dist/config_format.js +1 -2
  129. package/dist/config_services.js +1 -2
  130. package/dist/config_source.js +1 -2
  131. package/dist/config_template.js +1 -2
  132. package/dist/context.js +1 -2
  133. package/dist/credential_io.js +1 -1
  134. package/dist/current_branch_fast_path.js +1 -2
  135. package/dist/custom_domains_api.js +1 -2
  136. package/dist/dev/env.js +1 -1
  137. package/dist/dev/functions.js +1 -2
  138. package/dist/dev/inputs.js +1 -2
  139. package/dist/dev/runtime.js +1 -2
  140. package/dist/dev/websocket.js +1 -2
  141. package/dist/env.js +1 -2
  142. package/dist/env_file.js +1 -2
  143. package/dist/env_services.js +2 -3
  144. package/dist/error_reporting.js +80 -160
  145. package/dist/errors.js +1 -2
  146. package/dist/functions/registry.js +1 -2
  147. package/dist/functions/scaffold.js +1 -2
  148. package/dist/functions/source.js +1 -2
  149. package/dist/functions_api.js +1 -2
  150. package/dist/help.js +1 -2
  151. package/dist/human_table.js +1 -2
  152. package/dist/index.js +3 -4
  153. package/dist/init/agents.js +1 -2
  154. package/dist/init/auth.js +5 -6
  155. package/dist/init/bootstrap.js +1 -2
  156. package/dist/init/build_config.js +1 -2
  157. package/dist/init/cancelled.js +1 -2
  158. package/dist/init/choices.js +2 -3
  159. package/dist/init/chrome.js +1 -2
  160. package/dist/init/copy.js +1 -2
  161. package/dist/init/detect.js +4 -5
  162. package/dist/init/detect_host.js +1 -2
  163. package/dist/init/funnel.js +1 -2
  164. package/dist/init/link.js +4 -5
  165. package/dist/init/mode.js +1 -2
  166. package/dist/init/plan.js +1 -2
  167. package/dist/init/run.js +5 -6
  168. package/dist/init/template_title.js +1 -2
  169. package/dist/init/tooling.js +4 -5
  170. package/dist/init/wizard.js +1 -2
  171. package/dist/keyring.js +1 -2
  172. package/dist/log.js +1 -2
  173. package/dist/mcp/agents.js +1 -2
  174. package/dist/mcp/install.js +1 -2
  175. package/dist/mcp/mint.js +2 -3
  176. package/dist/mcp/plan.js +1 -2
  177. package/dist/mcp/targets.js +1 -2
  178. package/dist/mcp/wizard.js +1 -2
  179. package/dist/neon_services.js +1 -2
  180. package/dist/node_version.js +1 -2
  181. package/dist/notices.js +1 -2
  182. package/dist/parameters.gen.js +1 -2
  183. package/dist/pkg.js +1 -2
  184. package/dist/plugins/plan.js +1 -2
  185. package/dist/plugins/run.js +1 -2
  186. package/dist/plugins/targets.js +1 -2
  187. package/dist/profile_keys.js +1 -2
  188. package/dist/project.js +1 -2
  189. package/dist/psql/cli.js +2 -3
  190. package/dist/psql/command/cmd_cond.js +1 -2
  191. package/dist/psql/command/cmd_connect.js +1 -2
  192. package/dist/psql/command/cmd_copy.js +2 -3
  193. package/dist/psql/command/cmd_describe.js +1 -2
  194. package/dist/psql/command/cmd_format.js +1 -2
  195. package/dist/psql/command/cmd_io.js +1 -1
  196. package/dist/psql/command/cmd_lo.js +1 -2
  197. package/dist/psql/command/cmd_meta.js +1 -2
  198. package/dist/psql/command/cmd_misc.js +1 -2
  199. package/dist/psql/command/cmd_pipeline.js +1 -1
  200. package/dist/psql/command/cmd_restrict.js +1 -2
  201. package/dist/psql/command/cmd_show.js +1 -2
  202. package/dist/psql/command/dispatch.js +2 -3
  203. package/dist/psql/command/inputQueue.js +1 -2
  204. package/dist/psql/command/shared.js +1 -2
  205. package/dist/psql/complete/filenames.js +1 -2
  206. package/dist/psql/complete/index.js +1 -2
  207. package/dist/psql/complete/matcher.js +1 -2
  208. package/dist/psql/complete/psqlVars.js +1 -2
  209. package/dist/psql/complete/queries.js +1 -2
  210. package/dist/psql/complete/rules.js +1 -2
  211. package/dist/psql/core/common.js +1 -1
  212. package/dist/psql/core/help.js +1 -2
  213. package/dist/psql/core/mainloop.js +2 -3
  214. package/dist/psql/core/prompt.js +1 -2
  215. package/dist/psql/core/settings.js +1 -2
  216. package/dist/psql/core/sqlHelp.js +1 -2
  217. package/dist/psql/core/startup.js +1 -1
  218. package/dist/psql/core/syncVars.js +1 -2
  219. package/dist/psql/core/variables.js +1 -2
  220. package/dist/psql/describe/formatters.js +1 -2
  221. package/dist/psql/describe/processNamePattern.js +1 -2
  222. package/dist/psql/describe/queries.js +1 -2
  223. package/dist/psql/describe/versionGate.js +1 -2
  224. package/dist/psql/index.js +1 -1
  225. package/dist/psql/io/history.js +1 -2
  226. package/dist/psql/io/input.js +1 -2
  227. package/dist/psql/io/lineEditor/buffer.js +1 -2
  228. package/dist/psql/io/lineEditor/complete.js +1 -2
  229. package/dist/psql/io/lineEditor/filename.js +1 -2
  230. package/dist/psql/io/lineEditor/index.js +1 -2
  231. package/dist/psql/io/lineEditor/keymap.js +1 -2
  232. package/dist/psql/io/lineEditor/vt100.js +1 -2
  233. package/dist/psql/io/pgpass.js +1 -2
  234. package/dist/psql/io/pgservice.js +1 -2
  235. package/dist/psql/io/psqlrc.js +2 -3
  236. package/dist/psql/print/aligned.js +1 -2
  237. package/dist/psql/print/asciidoc.js +1 -2
  238. package/dist/psql/print/crosstab.js +1 -2
  239. package/dist/psql/print/csv.js +1 -2
  240. package/dist/psql/print/html.js +1 -2
  241. package/dist/psql/print/json.js +1 -2
  242. package/dist/psql/print/latex.js +1 -2
  243. package/dist/psql/print/pager.js +1 -2
  244. package/dist/psql/print/troff.js +1 -2
  245. package/dist/psql/print/unaligned.js +1 -2
  246. package/dist/psql/print/units.js +1 -2
  247. package/dist/psql/scanner/slash.js +1 -2
  248. package/dist/psql/scanner/sql.js +1 -2
  249. package/dist/psql/scanner/stringutils.js +1 -2
  250. package/dist/psql/types/scanner.js +1 -2
  251. package/dist/psql/wire/connection.js +1 -2
  252. package/dist/psql/wire/copy.js +1 -2
  253. package/dist/psql/wire/notify.js +1 -2
  254. package/dist/psql/wire/pipeline.js +1 -2
  255. package/dist/psql/wire/protocol.js +1 -2
  256. package/dist/psql/wire/sasl.js +1 -2
  257. package/dist/psql/wire/tls.js +1 -2
  258. package/dist/refresh_lock.js +1 -2
  259. package/dist/retire_credential.js +2 -3
  260. package/dist/skills/catalog.js +1 -2
  261. package/dist/skills/check_worker.js +1 -2
  262. package/dist/skills/freshness.js +1 -2
  263. package/dist/skills/plan.js +1 -2
  264. package/dist/skills/run.js +1 -2
  265. package/dist/skills/targets.js +1 -2
  266. package/dist/skills/wizard.js +1 -2
  267. package/dist/sso_recovery.js +1 -2
  268. package/dist/storage_api.js +1 -2
  269. package/dist/test_utils/fixtures.js +1 -2
  270. package/dist/test_utils/neon_api_server.js +1 -2
  271. package/dist/test_utils/npm_env.js +1 -2
  272. package/dist/test_utils/oauth_server.js +1 -2
  273. package/dist/test_utils/project_dir.js +1 -2
  274. package/dist/test_utils/registry.js +1 -2
  275. package/dist/test_utils/rotating_oauth_server.js +1 -2
  276. package/dist/update_check_worker.js +1 -2
  277. package/dist/update_notifier.js +1 -2
  278. package/dist/utils/agent_flag.js +1 -2
  279. package/dist/utils/agent_picker.js +1 -2
  280. package/dist/utils/ai_gateway_notice.js +1 -2
  281. package/dist/utils/api_enums.js +3 -3
  282. package/dist/utils/auth.js +1 -2
  283. package/dist/utils/branch_name.js +1 -2
  284. package/dist/utils/branch_notice.js +1 -2
  285. package/dist/utils/branch_picker.js +1 -2
  286. package/dist/utils/cli_name.js +1 -2
  287. package/dist/utils/compute_units.js +1 -2
  288. package/dist/utils/config_diff.js +1 -2
  289. package/dist/utils/enrichers.js +1 -2
  290. package/dist/utils/esbuild.js +1 -2
  291. package/dist/utils/flags.js +1 -2
  292. package/dist/utils/formats.js +1 -2
  293. package/dist/utils/function_slug.js +1 -2
  294. package/dist/utils/git.js +1 -2
  295. package/dist/utils/git_diff.js +1 -2
  296. package/dist/utils/help_text.js +1 -2
  297. package/dist/utils/hooks.js +2 -3
  298. package/dist/utils/inspect_db.js +3 -4
  299. package/dist/utils/inspect_queries.js +1 -2
  300. package/dist/utils/json_file.js +1 -2
  301. package/dist/utils/middlewares.js +2 -3
  302. package/dist/utils/openapi.js +1 -2
  303. package/dist/utils/package_manager.js +1 -2
  304. package/dist/utils/point_in_time.js +1 -2
  305. package/dist/utils/psql.js +1 -2
  306. package/dist/utils/repeated_flags.js +1 -2
  307. package/dist/utils/service_picker.js +1 -2
  308. package/dist/utils/staging.js +1 -2
  309. package/dist/utils/string.js +1 -2
  310. package/dist/utils/ui.js +1 -2
  311. package/dist/utils/write_sync.js +1 -2
  312. package/dist/utils/zip.js +1 -2
  313. package/dist/vendor/postgres-meta/constants.js +1 -2
  314. package/dist/vendor/postgres-meta/lib/PostgresMeta.js +1 -2
  315. package/dist/vendor/postgres-meta/lib/PostgresMetaColumnPrivileges.js +1 -2
  316. package/dist/vendor/postgres-meta/lib/PostgresMetaColumns.js +1 -2
  317. package/dist/vendor/postgres-meta/lib/PostgresMetaConfig.js +1 -2
  318. package/dist/vendor/postgres-meta/lib/PostgresMetaExtensions.js +1 -2
  319. package/dist/vendor/postgres-meta/lib/PostgresMetaForeignTables.js +1 -2
  320. package/dist/vendor/postgres-meta/lib/PostgresMetaFunctions.js +1 -2
  321. package/dist/vendor/postgres-meta/lib/PostgresMetaIndexes.js +1 -2
  322. package/dist/vendor/postgres-meta/lib/PostgresMetaMaterializedViews.js +1 -2
  323. package/dist/vendor/postgres-meta/lib/PostgresMetaPolicies.js +1 -2
  324. package/dist/vendor/postgres-meta/lib/PostgresMetaPublications.js +1 -2
  325. package/dist/vendor/postgres-meta/lib/PostgresMetaRelationships.js +1 -2
  326. package/dist/vendor/postgres-meta/lib/PostgresMetaRoles.js +1 -2
  327. package/dist/vendor/postgres-meta/lib/PostgresMetaSchemas.js +1 -2
  328. package/dist/vendor/postgres-meta/lib/PostgresMetaTablePrivileges.js +1 -2
  329. package/dist/vendor/postgres-meta/lib/PostgresMetaTables.js +1 -2
  330. package/dist/vendor/postgres-meta/lib/PostgresMetaTriggers.js +1 -2
  331. package/dist/vendor/postgres-meta/lib/PostgresMetaTypes.js +1 -2
  332. package/dist/vendor/postgres-meta/lib/PostgresMetaVersion.js +1 -2
  333. package/dist/vendor/postgres-meta/lib/PostgresMetaViews.js +1 -2
  334. package/dist/vendor/postgres-meta/lib/constants.js +1 -2
  335. package/dist/vendor/postgres-meta/lib/db.js +1 -2
  336. package/dist/vendor/postgres-meta/lib/generators.js +1 -2
  337. package/dist/vendor/postgres-meta/lib/helpers.js +1 -2
  338. package/dist/vendor/postgres-meta/lib/sql/column_privileges.sql.js +1 -2
  339. package/dist/vendor/postgres-meta/lib/sql/columns.sql.js +1 -2
  340. package/dist/vendor/postgres-meta/lib/sql/config.sql.js +1 -2
  341. package/dist/vendor/postgres-meta/lib/sql/extensions.sql.js +1 -2
  342. package/dist/vendor/postgres-meta/lib/sql/foreign_tables.sql.js +1 -2
  343. package/dist/vendor/postgres-meta/lib/sql/functions.sql.js +1 -2
  344. package/dist/vendor/postgres-meta/lib/sql/indexes.sql.js +1 -2
  345. package/dist/vendor/postgres-meta/lib/sql/materialized_views.sql.js +1 -2
  346. package/dist/vendor/postgres-meta/lib/sql/policies.sql.js +1 -2
  347. package/dist/vendor/postgres-meta/lib/sql/publications.sql.js +1 -2
  348. package/dist/vendor/postgres-meta/lib/sql/roles.sql.js +1 -2
  349. package/dist/vendor/postgres-meta/lib/sql/schemas.sql.js +1 -2
  350. package/dist/vendor/postgres-meta/lib/sql/table.sql.js +1 -2
  351. package/dist/vendor/postgres-meta/lib/sql/table_privileges.sql.js +1 -2
  352. package/dist/vendor/postgres-meta/lib/sql/table_relationships.sql.js +1 -2
  353. package/dist/vendor/postgres-meta/lib/sql/triggers.sql.js +1 -2
  354. package/dist/vendor/postgres-meta/lib/sql/types.sql.js +1 -2
  355. package/dist/vendor/postgres-meta/lib/sql/version.sql.js +1 -2
  356. package/dist/vendor/postgres-meta/lib/sql/views.sql.js +1 -2
  357. package/dist/vendor/postgres-meta/lib/sql/views_key_dependencies.sql.js +1 -2
  358. package/dist/vendor/postgres-meta/templates/typescript.js +1 -2
  359. package/dist/writer.js +1 -2
  360. package/package.json +6 -6
@@ -1,4 +1,4 @@
1
- import { t as __exportAll } from "./rolldown-runtime-8H4AJuhK.js";
1
+ import { t as __exportAll } from "./rolldown-runtime-BJohB4LM.js";
2
2
  import { codeFromBody, isNeonApiError } from "../api.js";
3
3
  import { writer } from "../writer.js";
4
4
  import { describeOperation, getEndpoints, loadSpec } from "../utils/openapi.js";
@@ -6,7 +6,7 @@ import { readFileSync } from "node:fs";
6
6
  import { resolve } from "node:path";
7
7
  import chalk from "chalk";
8
8
  import YAML from "yaml";
9
- //#region src/commands/api.ts
9
+ // src/commands/api.ts
10
10
  var api_exports = /* @__PURE__ */ __exportAll({
11
11
  buildBody: () => buildBody,
12
12
  buildQuery: () => buildQuery,
@@ -384,5 +384,4 @@ const handler = async (args) => {
384
384
  }
385
385
  await runRequest(apiArgs);
386
386
  };
387
- //#endregion
388
387
  export { colorizeJson as a, handler as c, parseTypedValue as d, setDeep as f, builder as i, parseHeaders as l, buildBody as n, command as o, buildQuery as r, describe as s, api_exports as t, parseKeyValue as u };
@@ -1,9 +1,9 @@
1
- import { t as __exportAll } from "./rolldown-runtime-8H4AJuhK.js";
1
+ import { t as __exportAll } from "./rolldown-runtime-BJohB4LM.js";
2
2
  import { log } from "../log.js";
3
3
  import { isNeonApiError } from "../api.js";
4
4
  import { writer } from "../writer.js";
5
5
  import { noPassthrough, single } from "../utils/flags.js";
6
- //#region src/commands/api_keys.ts
6
+ // src/commands/api_keys.ts
7
7
  var api_keys_exports = /* @__PURE__ */ __exportAll({
8
8
  aliases: () => aliases,
9
9
  builder: () => builder,
@@ -277,5 +277,4 @@ const orgIdForProject = async (client, projectId, usage = "api-keys") => {
277
277
  if (!orgId) throw new Error(usage === "mcp" ? `Project ${projectId} does not belong to an organization, so it cannot have a project-scoped API key. Pass --oauth to pin tools without minting, or omit --project-id to mint an account-wide key.` : `Project ${projectId} does not belong to an organization, so it cannot have a project-scoped API key. Omit --project-id to create an account key.`);
278
278
  return orgId;
279
279
  };
280
- //#endregion
281
280
  export { describe as a, command as i, api_keys_exports as n, handler as o, builder as r, orgIdForProject as s, aliases as t };
@@ -1,11 +1,11 @@
1
- import { t as __exportAll } from "./rolldown-runtime-8H4AJuhK.js";
1
+ import { t as __exportAll } from "./rolldown-runtime-BJohB4LM.js";
2
2
  import { isCi } from "../env.js";
3
3
  import { isNetworkError } from "../errors.js";
4
4
  import { writer } from "../writer.js";
5
5
  import { noPassthrough, single } from "../utils/flags.js";
6
6
  import { isEventStreamContentType, readAskSse } from "../commands/ask_sse.js";
7
7
  import { createThinkingSpinner } from "../commands/thinking_spinner.js";
8
- //#region src/commands/ask.ts
8
+ // src/commands/ask.ts
9
9
  var ask_exports = /* @__PURE__ */ __exportAll({
10
10
  DEFAULT_ASK_URL: () => DEFAULT_ASK_URL,
11
11
  builder: () => builder,
@@ -151,5 +151,4 @@ async function askAssistant(opts) {
151
151
  }
152
152
  return askText(await readJsonBody(response));
153
153
  }
154
- //#endregion
155
154
  export { describe as a, command as i, ask_exports as n, handler as o, builder as r, resolveAskUrl as s, DEFAULT_ASK_URL as t };
@@ -1,16 +1,16 @@
1
- import { t as __exportAll } from "./rolldown-runtime-8H4AJuhK.js";
2
- import { a as OAUTH, i as API_KEY, l as interpretCredentials, s as credentialLabel, t as storeFor } from "./credential_io-BS-0Pmwc.js";
1
+ import { t as __exportAll } from "./rolldown-runtime-BJohB4LM.js";
2
+ import { a as OAUTH, i as API_KEY, l as interpretCredentials, s as credentialLabel, t as storeFor } from "./credential_io-DbeSh3Pl.js";
3
3
  import { isCi } from "../env.js";
4
4
  import { log } from "../log.js";
5
5
  import { withExclusiveLock } from "../refresh_lock.js";
6
6
  import { getApiClient, isNeonApiError } from "../api.js";
7
7
  import { setAuthContext } from "../auth_context.js";
8
- import { a as isOwnedCredentialPath } from "./paths-DMq0Lt7a.js";
8
+ import { a as isOwnedCredentialPath } from "./paths-B55ZfOg1.js";
9
9
  import { currentContextFile, isAskCommand, isClaimCommand, isConfigAdd, isConfigInit, isCurrentBranchProbe, isDocsCommand, isFeedbackCommand, isFunctionsTemplateCommand, isGitLocalCommand, isInspectDbUrl, isMcpCommand, isMcpOauth, isPluginsCommand, isProfileCommand, isSkillsCommand, isUnfollowedGitHookSync, readContextFile } from "../context.js";
10
- import { _ as upsertProfile, d as newProfileLocation, g as selectProfileName, h as resolveProfile, i as assertValidProfileName, l as locationForName, m as readProfiles, n as KEYRING_CREDENTIALS, p as profilesUsingPath, r as assertProfilesUsable, s as isKeyringPointer, t as DEFAULT_PROFILE, u as locationOf } from "./profiles-DIB1av2Q.js";
10
+ import { _ as upsertProfile, d as newProfileLocation, g as selectProfileName, h as resolveProfile, i as assertValidProfileName, l as locationForName, m as readProfiles, n as KEYRING_CREDENTIALS, p as profilesUsingPath, r as assertProfilesUsable, s as isKeyringPointer, t as DEFAULT_PROFILE, u as locationOf } from "./profiles-DTazQtjK.js";
11
11
  import { extendTokenSet } from "../utils/auth.js";
12
12
  import { AuthRefreshError, auth, classifyRefreshFailure, refreshToken } from "../auth.js";
13
- import { i as selectCredential, n as displacedProfileWarning, t as credentialInputs } from "./auth_selection-YX5_KZgD.js";
13
+ import { i as selectCredential, n as displacedProfileWarning, t as credentialInputs } from "./auth_selection-CwGLN9Qz.js";
14
14
  import { ClaimableClient, ClaimableServiceError } from "../claimable/api.js";
15
15
  import { assertionHasExpired, claimableCredentialsExist, claimableCredentialsPath, readLinkedClaimableCredentials, shouldUseClaimableCredentials } from "../claimable/state.js";
16
16
  import { readOutgoingCredential, retirePreviousCredential } from "../retire_credential.js";
@@ -19,7 +19,7 @@ import { helpEpilogue, helpWidth, wrapHelpText } from "../utils/help_text.js";
19
19
  import { existsSync } from "node:fs";
20
20
  import { join } from "node:path";
21
21
  import { createHash } from "node:crypto";
22
- //#region src/commands/auth.ts
22
+ // src/commands/auth.ts
23
23
  var auth_exports = /* @__PURE__ */ __exportAll({
24
24
  aliases: () => aliases,
25
25
  authFlow: () => authFlow,
@@ -491,5 +491,4 @@ const deleteCredentialsAt = (at, configDir) => {
491
491
  }
492
492
  };
493
493
  const md5hash = (s) => createHash("md5").update(s).digest("hex");
494
- //#endregion
495
494
  export { command as a, ensureAuth as c, locationForAuth as d, refreshStoredCredentials as f, builder as i, handler as l, authFlow as n, deleteCredentialsAt as o, usableCredential as p, auth_exports as r, describe as s, aliases as t, isAccessTokenUsable as u };
@@ -1,5 +1,5 @@
1
- import "./profiles-DIB1av2Q.js";
2
- //#region ../../internals/cli-core/dist/auth_selection.js
1
+ import "./profiles-DTazQtjK.js";
2
+ // ../../internals/cli-core/dist/auth_selection.js
3
3
  /**
4
4
  * # Which credential an invocation authenticates with
5
5
  *
@@ -81,5 +81,4 @@ function nonEmpty(value) {
81
81
  const trimmed = value.trim();
82
82
  return trimmed === "" ? void 0 : trimmed;
83
83
  }
84
- //#endregion
85
84
  export { selectCredential as i, displacedProfileWarning as n, recordCredentialInputs as r, credentialInputs as t };
@@ -1,4 +1,4 @@
1
- import { t as __exportAll } from "./rolldown-runtime-8H4AJuhK.js";
1
+ import { t as __exportAll } from "./rolldown-runtime-BJohB4LM.js";
2
2
  import { isCi } from "../env.js";
3
3
  import { log } from "../log.js";
4
4
  import { recordCommandSuccessExtras, recordScaffoldedTemplate } from "../analytics.js";
@@ -17,7 +17,7 @@ import { runAgentTooling } from "../init/tooling.js";
17
17
  import { existsSync } from "node:fs";
18
18
  import { join, relative, resolve } from "node:path";
19
19
  import prompts from "prompts";
20
- //#region src/commands/bootstrap.ts
20
+ // src/commands/bootstrap.ts
21
21
  var bootstrap_exports = /* @__PURE__ */ __exportAll({
22
22
  builder: () => builder,
23
23
  command: () => command,
@@ -495,5 +495,4 @@ const onPromptState = (state) => {
495
495
  process.exit(1);
496
496
  }
497
497
  };
498
- //#endregion
499
498
  export { handler as a, describe as i, builder as n, command as r, bootstrap_exports as t };
@@ -1,4 +1,4 @@
1
- import { t as __exportAll } from "./rolldown-runtime-8H4AJuhK.js";
1
+ import { t as __exportAll } from "./rolldown-runtime-BJohB4LM.js";
2
2
  import { log } from "../log.js";
3
3
  import { retryOnLock } from "../api.js";
4
4
  import { contextBranch, readContextFile } from "../context.js";
@@ -12,7 +12,7 @@ import { psql } from "../utils/psql.js";
12
12
  import { parsePointInTime } from "../utils/point_in_time.js";
13
13
  import { parseSchemaDiffParams, schemaDiff } from "../commands/schema_diff.js";
14
14
  import chalk from "chalk";
15
- //#region src/commands/branches.ts
15
+ // src/commands/branches.ts
16
16
  var branches_exports = /* @__PURE__ */ __exportAll({
17
17
  BRANCH_FIELDS: () => BRANCH_FIELDS,
18
18
  aliases: () => aliases,
@@ -456,5 +456,4 @@ const setExpiration = async (props) => {
456
456
  })
457
457
  });
458
458
  };
459
- //#endregion
460
459
  export { command as a, builder as i, aliases as n, describe as o, branches_exports as r, handler as s, BRANCH_FIELDS as t };
@@ -1,4 +1,4 @@
1
- import { t as __exportAll } from "./rolldown-runtime-8H4AJuhK.js";
1
+ import { t as __exportAll } from "./rolldown-runtime-BJohB4LM.js";
2
2
  import { log } from "../log.js";
3
3
  import { isNeonApiError, retryOnLock } from "../api.js";
4
4
  import { createProjectBranchBucket, deleteProjectBranchBucket, deleteProjectBranchBucketObject, deleteProjectBranchBucketObjectsByPrefix, getProjectBranchBucketObject, listProjectBranchBucketObjects, listProjectBranchBuckets, presignUpload } from "../storage_api.js";
@@ -8,7 +8,7 @@ import { createReadStream, createWriteStream } from "node:fs";
8
8
  import { basename } from "node:path";
9
9
  import { stat, unlink } from "node:fs/promises";
10
10
  import { pipeline } from "node:stream/promises";
11
- //#region src/commands/bucket.ts
11
+ // src/commands/bucket.ts
12
12
  var bucket_exports = /* @__PURE__ */ __exportAll({
13
13
  aliases: () => aliases,
14
14
  builder: () => builder,
@@ -405,5 +405,4 @@ const deleteObject = async (props) => {
405
405
  }
406
406
  log.info(`Object "${rest}" deleted from bucket "${bucket}" on branch ${branchId}`);
407
407
  };
408
- //#endregion
409
408
  export { describe as a, splitBucketTarget as c, command as i, bucket_exports as n, handler as o, builder as r, resolveListDelimiter as s, aliases as t };
@@ -1,4 +1,4 @@
1
- import { t as __exportAll } from "./rolldown-runtime-8H4AJuhK.js";
1
+ import { t as __exportAll } from "./rolldown-runtime-BJohB4LM.js";
2
2
  import { isCi } from "../env.js";
3
3
  import { log } from "../log.js";
4
4
  import { isNeonApiError } from "../api.js";
@@ -11,12 +11,12 @@ import { looksLikeBranchId } from "../utils/formats.js";
11
11
  import { fillSingleProject, listAllProjectBranches } from "../utils/enrichers.js";
12
12
  import { buildCheckoutEvent, readGitContext } from "../utils/git.js";
13
13
  import { buildHookBranch, loadHookConfig, resolveHookEnv, runCheckoutAfterHook, runCheckoutBeforeHook, runCreateAfterHook, runCreateBeforeHook } from "../utils/hooks.js";
14
- import { n as autoPullEnvAfterPin } from "./env-5HS5qQGd.js";
15
- import { a as applyPolicyOnCreate, f as envFlag, l as createBranchFromPolicyOnCheckout } from "./config-BH_qRHiG.js";
16
- import { i as handler$1 } from "./link-BgtkOBws.js";
14
+ import { n as autoPullEnvAfterPin } from "./env-BOt9AZ1j.js";
15
+ import { a as applyPolicyOnCreate, f as envFlag, l as createBranchFromPolicyOnCheckout } from "./config-7SIE_C5O.js";
16
+ import { i as handler$1 } from "./link-CcwTXRny.js";
17
17
  import chalk from "chalk";
18
18
  import prompts from "prompts";
19
- //#region src/commands/checkout.ts
19
+ // src/commands/checkout.ts
20
20
  var checkout_exports = /* @__PURE__ */ __exportAll({
21
21
  builder: () => builder,
22
22
  command: () => command,
@@ -344,5 +344,4 @@ const tryAutoDetectProject = async (props) => {
344
344
  return;
345
345
  }
346
346
  };
347
- //#endregion
348
347
  export { formatCheckoutPolicyFailure as a, describe as i, checkout_exports as n, handler as o, command as r, builder as t };
@@ -1,9 +1,9 @@
1
- import { t as __exportAll } from "./rolldown-runtime-8H4AJuhK.js";
1
+ import { t as __exportAll } from "./rolldown-runtime-BJohB4LM.js";
2
2
  import { isCi } from "../env.js";
3
3
  import { log } from "../log.js";
4
4
  import { getApiClient } from "../api.js";
5
5
  import { applyContext, contextBranch, readContextFile } from "../context.js";
6
- import { t as credentialInputs } from "./auth_selection-YX5_KZgD.js";
6
+ import { t as credentialInputs } from "./auth_selection-CwGLN9Qz.js";
7
7
  import { ClaimableClient, ClaimableServiceError } from "../claimable/api.js";
8
8
  import { assertionHasExpired, listClaimableCredentials, readClaimableCredentials, readLinkedClaimableCredentials, removeClaimableCredentials, writeClaimableCredentials } from "../claimable/state.js";
9
9
  import { NEON_SERVICES, deprecatedServiceMessage, parseServices, servicesFlagValue, servicesOption } from "../neon_services.js";
@@ -12,12 +12,12 @@ import { projectConfigPath } from "../project.js";
12
12
  import { resolveEnvFilePath } from "../env_file.js";
13
13
  import { writer } from "../writer.js";
14
14
  import { noPassthrough } from "../utils/flags.js";
15
- import { c as pull } from "./env-5HS5qQGd.js";
15
+ import { c as pull } from "./env-BOt9AZ1j.js";
16
16
  import { existsSync, readFileSync, unlinkSync, writeFileSync } from "node:fs";
17
17
  import open from "open";
18
18
  import prompts from "prompts";
19
19
  import { loadConfigFromFile } from "@neon/config-runtime";
20
- //#region src/commands/claim.ts
20
+ // src/commands/claim.ts
21
21
  var claim_exports = /* @__PURE__ */ __exportAll({
22
22
  CLAIM_CREATE_FIELDS: () => CLAIM_CREATE_FIELDS,
23
23
  CLAIM_LIST_FIELDS: () => CLAIM_LIST_FIELDS,
@@ -469,5 +469,4 @@ const finishClaimedContext = (props, projectId, contextMatches) => {
469
469
  }
470
470
  log.info("Dropped the local identity assertion. The next command needs `neon login` or `neon link`.");
471
471
  };
472
- //#endregion
473
472
  export { claimCreateFields as a, command as c, handler as d, builder as i, create as l, CLAIM_LIST_FIELDS as n, claim_exports as o, aliases as r, claimableCapabilities as s, CLAIM_CREATE_FIELDS as t, describe as u };
@@ -15,7 +15,7 @@ import { closeSync, createWriteStream, fsyncSync, openSync, promises } from "nod
15
15
  import * as path from "node:path";
16
16
  import { platform } from "node:os";
17
17
  import { spawn } from "node:child_process";
18
- //#region src/psql/core/common.ts
18
+ // src/psql/core/common.ts
19
19
  /**
20
20
  * psql common — the unified send-query / process-result pipeline.
21
21
  *
@@ -836,8 +836,7 @@ const __testing = {
836
836
  SAVEPOINT_NAME,
837
837
  CURSOR_NAME
838
838
  };
839
- //#endregion
840
- //#region src/psql/command/cmd_io.ts
839
+ // src/psql/command/cmd_io.ts
841
840
  /**
842
841
  * psql I/O & control backslash commands.
843
842
  *
@@ -2222,8 +2221,7 @@ const registerIoCommands = (registry) => {
2222
2221
  registry.register(cmdGexec);
2223
2222
  registry.register(cmdWatch);
2224
2223
  };
2225
- //#endregion
2226
- //#region src/psql/command/cmd_pipeline.ts
2224
+ // src/psql/command/cmd_pipeline.ts
2227
2225
  /**
2228
2226
  * psql pipeline / extended-query backslash commands (WP-21).
2229
2227
  *
@@ -2816,5 +2814,4 @@ const registerPipelineCommands = (registry) => {
2816
2814
  registry.register(cmdSendPipeline);
2817
2815
  registry.register(cmdGetResults);
2818
2816
  };
2819
- //#endregion
2820
2817
  export { cmdPrint as A, psqlExec as B, cmdGdesc as C, cmdInclude as D, cmdGx as E, registerIoCommands as F, writeQueryError as G, renderResultSet as H, __testing as I, captureLastError as L, cmdWrite as M, formatWatchTimestamp as N, cmdIncludeRel as O, getQueryFout as P, executeAndPrint as R, cmdG as S, cmdGset as T, sendQuery as U, refreshErrorVars as V, stripLeadingCommentsAndWS as W, stagedNamedBindPresent as _, cmdFlush as a, WATCH_TEST_CONTROLLER as b, cmdParse as c, cmdSyncPipeline as d, consumeBindState as f, registerPipelineCommands as g, lookupPrepared as h, cmdEndPipeline as i, cmdWatch as j, cmdOut as k, cmdSendPipeline as l, getPipelineState as m, cmdBindNamed as n, cmdFlushRequest as o, dropPrepared as p, cmdClosePrepared as r, cmdGetResults as s, cmdBind as t, cmdStartPipeline as u, stashPrepared as v, cmdGexec as w, clearPipelineGateErrors as x, DEFAULT_WATCH_INTERVAL as y, pickOut$1 as z };
@@ -1,4 +1,4 @@
1
- import { t as __exportAll } from "./rolldown-runtime-8H4AJuhK.js";
1
+ import { t as __exportAll } from "./rolldown-runtime-BJohB4LM.js";
2
2
  import { isCi, isInteractiveTerminal } from "../env.js";
3
3
  import { log } from "../log.js";
4
4
  import { getApiClient } from "../api.js";
@@ -23,13 +23,13 @@ import { readGitContext } from "../utils/git.js";
23
23
  import { resolveHookEnv, runDeployAfterHook, runDeployBeforeHook } from "../utils/hooks.js";
24
24
  import { pickServicesInteractively } from "../utils/service_picker.js";
25
25
  import { zipBundle } from "../utils/zip.js";
26
- import { n as autoPullEnvAfterPin } from "./env-5HS5qQGd.js";
26
+ import { n as autoPullEnvAfterPin } from "./env-BOt9AZ1j.js";
27
27
  import { existsSync, mkdirSync, readFileSync, writeFileSync } from "node:fs";
28
28
  import { dirname, join, relative, resolve } from "node:path";
29
29
  import chalk from "chalk";
30
30
  import { defineConfig, packagesToStage, previewGaWarningForConfig, resolveConfig } from "@neon/config";
31
31
  import { PushAbortedError, PushConflictError, apply, assertZipWithinLimits, bundleAsIs, createBranch, describeNativeFinding, enforceLimits, findUndeclaredNativePackages, inspect, isPartialBranchCreateError, plan, resolveEsbuildEntry, traceNativePackages, zipFunctionBundle } from "@neon/config-runtime";
32
- //#region src/commands/config.ts
32
+ // src/commands/config.ts
33
33
  var config_exports = /* @__PURE__ */ __exportAll({
34
34
  ConfigInstallFailed: () => ConfigInstallFailed,
35
35
  addCmd: () => addCmd,
@@ -1109,5 +1109,4 @@ const createBranchFromPolicyOnCheckout = async (props) => {
1109
1109
  throw err;
1110
1110
  }
1111
1111
  };
1112
- //#endregion
1113
1112
  export { missingDependencies as _, applyPolicyOnCreate as a, config_exports as c, ensureConfigPackages as d, envFlag as f, installCommandFrom as g, initCmd as h, applyFlags as i, createBranchFromPolicyOnCheckout as l, handler as m, addCmd as n, builder as o, envPullFlag as p, applyCmd as r, command as s, ConfigInstallFailed as t, describe as u, planCmd as v, status as y };
@@ -1,11 +1,11 @@
1
- import { t as __exportAll } from "./rolldown-runtime-8H4AJuhK.js";
2
- import { n as defaultConnectionRole } from "./roles-C3M4q9DS.js";
1
+ import { t as __exportAll } from "./rolldown-runtime-BJohB4LM.js";
2
+ import { n as defaultConnectionRole } from "./roles-Bd9r8_pX.js";
3
3
  import { writer } from "../writer.js";
4
4
  import { EndpointType } from "../utils/api_enums.js";
5
5
  import { branchIdFromProps, fillSingleProject } from "../utils/enrichers.js";
6
6
  import { psql } from "../utils/psql.js";
7
7
  import { parsePITBranch } from "../utils/point_in_time.js";
8
- //#region src/commands/connection_string.ts
8
+ // src/commands/connection_string.ts
9
9
  var connection_string_exports = /* @__PURE__ */ __exportAll({
10
10
  SSL_MODES: () => SSL_MODES,
11
11
  aliases: () => aliases,
@@ -150,5 +150,4 @@ const handler = async (props) => {
150
150
  ] });
151
151
  else process.stdout.write(connectionString.toString() + "\n");
152
152
  };
153
- //#endregion
154
153
  export { connection_string_exports as a, command as i, aliases as n, describe as o, builder as r, handler as s, SSL_MODES as t };
@@ -1,11 +1,11 @@
1
- import { t as writeSecretFile } from "./secure_file-BucZj4yQ.js";
2
- import { a as isOwnedCredentialPath } from "./paths-DMq0Lt7a.js";
3
- import { f as profilesFilePath, v as CRED_STORAGE_FILE, y as CRED_STORAGE_KEYRING } from "./profiles-DIB1av2Q.js";
1
+ import { t as writeSecretFile } from "./secure_file-Caskdohg.js";
2
+ import { a as isOwnedCredentialPath } from "./paths-B55ZfOg1.js";
3
+ import { f as profilesFilePath, v as CRED_STORAGE_FILE, y as CRED_STORAGE_KEYRING } from "./profiles-DTazQtjK.js";
4
4
  import { tryLoadKeyring } from "../keyring.js";
5
5
  import { existsSync, readFileSync, rmSync } from "node:fs";
6
6
  import { dirname } from "node:path";
7
7
  import { createHash } from "node:crypto";
8
- //#region ../../internals/cli-core/dist/credentials.js
8
+ // ../../internals/cli-core/dist/credentials.js
9
9
  /**
10
10
  * # Stored credentials — one file per account, two kinds
11
11
  *
@@ -188,8 +188,7 @@ const isSameCredential = (existingKey, replacementKey) => {
188
188
  const trimmed = existingKey.trim();
189
189
  return trimmed !== "" && trimmed === replacementKey.trim();
190
190
  };
191
- //#endregion
192
- //#region ../../internals/cli-core/dist/credential_store.js
191
+ // ../../internals/cli-core/dist/credential_store.js
193
192
  const KEYRING_SERVICE = "com.neon.neon-cli";
194
193
  /** Hashing the resolved profiles directory isolates config roots while keeping profile names visible. */
195
194
  const keyringAccount = (configDir, profile) => `cli:${createHash("sha256").update(dirname(profilesFilePath(configDir))).digest("hex")}:${profile}`;
@@ -411,8 +410,6 @@ const createCredentialStore = (dir, options = {}) => {
411
410
  assertKeyringWritable
412
411
  };
413
412
  };
414
- //#endregion
415
- //#region src/credential_io.ts
413
+ // src/credential_io.ts
416
414
  const storeFor = (dir) => createCredentialStore(dir, { keyring: tryLoadKeyring() });
417
- //#endregion
418
415
  export { OAUTH as a, describeScope as c, scopeOf as d, API_KEY as i, interpretCredentials as l, KEYRING_SERVICE as n, apiKeyCredentials as o, keyringAccount as r, credentialLabel as s, storeFor as t, isSameCredential as u };
@@ -1,9 +1,9 @@
1
- import { t as __exportAll } from "./rolldown-runtime-8H4AJuhK.js";
1
+ import { t as __exportAll } from "./rolldown-runtime-BJohB4LM.js";
2
2
  import { log } from "../log.js";
3
3
  import { isNeonApiError, messageFromBody, retryOnLock } from "../api.js";
4
4
  import { writer } from "../writer.js";
5
5
  import { branchIdFromProps, fillSingleProject } from "../utils/enrichers.js";
6
- //#region src/commands/credentials.ts
6
+ // src/commands/credentials.ts
7
7
  var credentials_exports = /* @__PURE__ */ __exportAll({
8
8
  aliases: () => aliases,
9
9
  builder: () => builder,
@@ -142,5 +142,4 @@ const revoke = async (props) => {
142
142
  await withCredentialNotFound(props.tokenId, branchId, () => retryOnLock(() => props.apiClient.revokeCredential(props.projectId, branchId, props.tokenId)));
143
143
  log.info(`Credential ${props.tokenId} revoked`);
144
144
  };
145
- //#endregion
146
145
  export { credentials_exports as a, list as c, rotate as d, create as i, reveal as l, builder as n, describe as o, command as r, handler as s, aliases as t, revoke as u };
@@ -1,10 +1,10 @@
1
- import { t as __exportAll } from "./rolldown-runtime-8H4AJuhK.js";
1
+ import { t as __exportAll } from "./rolldown-runtime-BJohB4LM.js";
2
2
  import { log } from "../log.js";
3
3
  import { isNeonApiError, retryOnLock } from "../api.js";
4
4
  import { getCliName } from "../utils/cli_name.js";
5
5
  import { writer } from "../writer.js";
6
6
  import { branchIdFromProps, fillSingleProject, resolveSingleDatabase } from "../utils/enrichers.js";
7
- //#region src/commands/data_api.ts
7
+ // src/commands/data_api.ts
8
8
  var data_api_exports = /* @__PURE__ */ __exportAll({
9
9
  builder: () => builder,
10
10
  command: () => command,
@@ -259,5 +259,4 @@ const deleteDataApi = async (props) => {
259
259
  }
260
260
  log.info(`Data API deleted for ${database} on branch ${branchId}`);
261
261
  };
262
- //#endregion
263
262
  export { handler as a, describe as i, command as n, data_api_exports as r, builder as t };
@@ -1,8 +1,8 @@
1
- import { t as __exportAll } from "./rolldown-runtime-8H4AJuhK.js";
1
+ import { t as __exportAll } from "./rolldown-runtime-BJohB4LM.js";
2
2
  import { retryOnLock } from "../api.js";
3
3
  import { writer } from "../writer.js";
4
4
  import { fillSingleProject, resolveBranchFromProps } from "../utils/enrichers.js";
5
- //#region src/commands/databases.ts
5
+ // src/commands/databases.ts
6
6
  var databases_exports = /* @__PURE__ */ __exportAll({
7
7
  DATABASE_FIELDS: () => DATABASE_FIELDS,
8
8
  aliases: () => aliases,
@@ -80,5 +80,4 @@ const deleteDb = async (props) => {
80
80
  humanTitle: `Database deleted from ${branch?.name ?? branchId}`
81
81
  });
82
82
  };
83
- //#endregion
84
83
  export { create as a, describe as c, command as i, handler as l, aliases as n, databases_exports as o, builder as r, deleteDb as s, DATABASE_FIELDS as t, list as u };
@@ -1,8 +1,8 @@
1
- import { t as __exportAll } from "./rolldown-runtime-8H4AJuhK.js";
1
+ import { t as __exportAll } from "./rolldown-runtime-BJohB4LM.js";
2
2
  import { fillSingleProject } from "../utils/enrichers.js";
3
- import { f as envFlag, i as applyFlags, p as envPullFlag, r as applyCmd } from "./config-BH_qRHiG.js";
3
+ import { f as envFlag, i as applyFlags, p as envPullFlag, r as applyCmd } from "./config-7SIE_C5O.js";
4
4
  import { DEPLOY_COMMANDS_EPILOGUE } from "../commands/deploy_help.js";
5
- //#region src/commands/deploy.ts
5
+ // src/commands/deploy.ts
6
6
  var deploy_exports = /* @__PURE__ */ __exportAll({
7
7
  builder: () => builder,
8
8
  command: () => command,
@@ -29,5 +29,4 @@ const builder = (argv) => argv.usage("$0 deploy [options]").options({
29
29
  ...envPullFlag
30
30
  }).middleware(fillSingleProject).epilogue(DEPLOY_COMMANDS_EPILOGUE).strict();
31
31
  const handler = (props) => applyCmd(props);
32
- //#endregion
33
32
  export { handler as a, describe as i, command as n, deploy_exports as r, builder as t };
@@ -1,15 +1,15 @@
1
- import { t as __exportAll } from "./rolldown-runtime-8H4AJuhK.js";
1
+ import { t as __exportAll } from "./rolldown-runtime-BJohB4LM.js";
2
2
  import { log } from "../log.js";
3
3
  import { isClaimableEnvTarget } from "../claimable/state.js";
4
4
  import { getCliName } from "../utils/cli_name.js";
5
5
  import { defaultDevEnvFiles, readEnvFile, resolveEnvFilePath } from "../env_file.js";
6
- import { l as functionBaseUrlKey } from "./env-BpP3Dqpe.js";
7
- import { branchIdResolve } from "../utils/enrichers.js";
8
- import { bundleEntry } from "../utils/esbuild.js";
9
- import { a as resolveDevEnv } from "./env-BNm69Qh8.js";
10
- import { f as envFlag } from "./config-BH_qRHiG.js";
6
+ import { l as functionBaseUrlKey } from "./env-JgoSsmyt.js";
7
+ import { a as resolveDevEnv } from "./env-CIFMBEon.js";
11
8
  import { findConfigFunctionBySource, resolveFunctionsFromConfig } from "../dev/functions.js";
12
9
  import { resolveWatchInputs } from "../dev/inputs.js";
10
+ import { branchIdResolve } from "../utils/enrichers.js";
11
+ import { bundleEntry } from "../utils/esbuild.js";
12
+ import { f as envFlag } from "./config-7SIE_C5O.js";
13
13
  import { existsSync, mkdirSync, rmSync, statSync, writeFileSync } from "node:fs";
14
14
  import { basename, dirname, join, relative, resolve } from "node:path";
15
15
  import { fileURLToPath } from "node:url";
@@ -18,7 +18,7 @@ import { spawn, spawnSync } from "node:child_process";
18
18
  import { bundleAsIs, describeNativeFinding, findUndeclaredNativePackages, resolveEsbuildEntry } from "@neon/config-runtime";
19
19
  import { once } from "node:events";
20
20
  import { createServer } from "node:net";
21
- //#region src/commands/dev.ts
21
+ // src/commands/dev.ts
22
22
  var dev_exports = /* @__PURE__ */ __exportAll({
23
23
  builder: () => builder,
24
24
  captureShellEnv: () => captureShellEnv,
@@ -941,5 +941,4 @@ const resolveRuntimePath = () => {
941
941
  if (!existsSync(candidate)) throw new Error(`Could not locate the dev runtime at ${candidate}`);
942
942
  return candidate;
943
943
  };
944
- //#endregion
945
944
  export { devBundleDir as a, diffUnits as c, handler as d, loadDevEnvFiles as f, sourceFunctionUrlOverlay as g, reportDevCredential as h, describe as i, formatEnvFiles as l, planFunctionsToUnits as m, captureShellEnv as n, devEnvContext as o, localFunctionUrlEnv as p, command as r, dev_exports as s, builder as t, formatEnvSummary as u };
@@ -1,4 +1,4 @@
1
- import { t as __exportAll } from "./rolldown-runtime-8H4AJuhK.js";
1
+ import { t as __exportAll } from "./rolldown-runtime-BJohB4LM.js";
2
2
  import { log } from "../log.js";
3
3
  import { isNeonApiError } from "../api.js";
4
4
  import { writer } from "../writer.js";
@@ -6,7 +6,7 @@ import { looksLikeBranchId } from "../utils/formats.js";
6
6
  import { fillSingleProject, listAllProjectBranches } from "../utils/enrichers.js";
7
7
  import { renderDatabaseSchemaDiff, renderSchemaDiffReport } from "../utils/git_diff.js";
8
8
  import chalk from "chalk";
9
- //#region src/commands/diff.ts
9
+ // src/commands/diff.ts
10
10
  var diff_exports = /* @__PURE__ */ __exportAll({
11
11
  builder: () => builder,
12
12
  command: () => command,
@@ -174,5 +174,4 @@ const writeStructured = (props, diffs) => {
174
174
  "diff"
175
175
  ] });
176
176
  };
177
- //#endregion
178
177
  export { handler as a, diff_exports as i, command as n, describe as r, builder as t };
@@ -1,4 +1,4 @@
1
- import { t as __exportAll } from "./rolldown-runtime-8H4AJuhK.js";
1
+ import { t as __exportAll } from "./rolldown-runtime-BJohB4LM.js";
2
2
  import { getCliAgent, isCi } from "../env.js";
3
3
  import pkg_default from "../pkg.js";
4
4
  import { isNetworkError } from "../errors.js";
@@ -6,7 +6,7 @@ import { resolveOutputWidth, stripAnsi, truncateTo } from "../human_table.js";
6
6
  import { writer } from "../writer.js";
7
7
  import { single } from "../utils/flags.js";
8
8
  import chalk from "chalk";
9
- //#region src/commands/docs.ts
9
+ // src/commands/docs.ts
10
10
  var docs_exports = /* @__PURE__ */ __exportAll({
11
11
  DEFAULT_SITE_SEARCH_URL: () => DEFAULT_SITE_SEARCH_URL,
12
12
  MAX_LIMIT: () => 40,
@@ -193,5 +193,4 @@ function parseSearchHits(raw) {
193
193
  };
194
194
  });
195
195
  }
196
- //#endregion
197
196
  export { builder as a, docs_exports as c, resolveSiteSearchUrl as d, siteSearchHeaders as f, SITE_SEARCH_CATEGORIES as i, formatSearchResults as l, MAX_LIMIT as n, command as o, MAX_QUERY_LENGTH as r, describe as s, DEFAULT_SITE_SEARCH_URL as t, parseSearchHits as u };
@@ -1,19 +1,19 @@
1
- import { t as __exportAll } from "./rolldown-runtime-8H4AJuhK.js";
1
+ import { t as __exportAll } from "./rolldown-runtime-BJohB4LM.js";
2
2
  import { log } from "../log.js";
3
3
  import { ensureGitignored } from "../context.js";
4
4
  import { isClaimableEnvTarget } from "../claimable/state.js";
5
5
  import { getCliName } from "../utils/cli_name.js";
6
6
  import { deprecatedServiceMessage, parseServices, servicesFlagValue, servicesOption } from "../neon_services.js";
7
7
  import { mergeEnvFile, readEnvFile, resolveEnvFilePath } from "../env_file.js";
8
- import { t as NEON_ENV_VAR_KEYS, u as isFunctionBaseUrlKey } from "./env-BpP3Dqpe.js";
8
+ import { t as NEON_ENV_VAR_KEYS, u as isFunctionBaseUrlKey } from "./env-JgoSsmyt.js";
9
9
  import { ENV_PULL_KEY_HELP, ENV_PULL_SERVICES, envKeysForSelection, envPullFlagValue, ownedEnvServiceKeys, parseEnvPullKeys } from "../env_services.js";
10
+ import { i as dropClaimableUnsupported, o as resolveNeonEnvVars } from "./env-CIFMBEon.js";
10
11
  import { fillSingleProject, resolveBranchRef } from "../utils/enrichers.js";
11
12
  import { warnAiGateway } from "../utils/ai_gateway_notice.js";
12
- import { i as dropClaimableUnsupported, o as resolveNeonEnvVars } from "./env-BNm69Qh8.js";
13
13
  import { formatPulledEnv, pulledBranch } from "../commands/env_output.js";
14
14
  import { existsSync } from "node:fs";
15
15
  import chalk from "chalk";
16
- //#region src/commands/env.ts
16
+ // src/commands/env.ts
17
17
  var env_exports = /* @__PURE__ */ __exportAll({
18
18
  ENV_PULL_SKIPPED_HINT: () => ENV_PULL_SKIPPED_HINT,
19
19
  autoPullEnvAfterPin: () => autoPullEnvAfterPin,
@@ -280,5 +280,4 @@ const pickNeonVars = (vars) => {
280
280
  for (const [name, value] of Object.entries(vars)) if (NEON_VAR_NAMES.some((key) => key === name) || isFunctionBaseUrlKey(name)) out[name] = value;
281
281
  return out;
282
282
  };
283
- //#endregion
284
283
  export { describe as a, pull as c, command as i, autoPullEnvAfterPin as n, env_exports as o, builder as r, handler as s, ENV_PULL_SKIPPED_HINT as t };
@@ -2,14 +2,14 @@ import { log } from "../log.js";
2
2
  import { getCliName } from "../utils/cli_name.js";
3
3
  import { declaredNeonServices } from "../config_services.js";
4
4
  import { loadProjectConfig } from "../project.js";
5
- import { a as defaultAiGatewayCredential, c as fetchEnvKeysState, d as isLiveCredential, h as toEntries, i as credentialName, l as functionBaseUrlKey, m as resolveBranchPolicy, n as createApiFromOptions, o as defaultStorageCredential, p as policyEnvKeys, r as credentialEnvKeys, t as NEON_ENV_VAR_KEYS, u as isFunctionBaseUrlKey } from "./env-BpP3Dqpe.js";
5
+ import { a as defaultAiGatewayCredential, c as fetchEnvKeysState, d as isLiveCredential, h as toEntries, i as credentialName, l as functionBaseUrlKey, m as resolveBranchPolicy, n as createApiFromOptions, o as defaultStorageCredential, p as policyEnvKeys, r as credentialEnvKeys, t as NEON_ENV_VAR_KEYS, u as isFunctionBaseUrlKey } from "./env-JgoSsmyt.js";
6
6
  import { ENV_PULL_SERVICES, envKeysForSelection, serviceForEnvKey, servicesForEnvKeys } from "../env_services.js";
7
7
  import { formatInstallCommand, resolvePackageManager } from "../utils/package_manager.js";
8
8
  import { StagingOnlyError } from "../utils/staging.js";
9
9
  import { ErrorCode, PlatformError, createNeonApiFromOptions, isPlatformError } from "@neon/config";
10
10
  import { credentialScopesSatisfied } from "@neon/config/v1";
11
11
  import { plan, pullConfig } from "@neon/config-runtime";
12
- //#region ../../internals/env-core/dist/reuse-secrets.js
12
+ // ../../internals/env-core/dist/reuse-secrets.js
13
13
  /**
14
14
  * Resolve a branch's env while keeping secrets the caller already holds.
15
15
  *
@@ -198,8 +198,7 @@ function halfReusable(named, defaultMeta, requiredScopes) {
198
198
  if (defaultMeta !== null) return named.tokenId === defaultMeta.tokenId;
199
199
  return credentialScopesSatisfied(named.scopes, requiredScopes);
200
200
  }
201
- //#endregion
202
- //#region src/dev/env.ts
201
+ // src/dev/env.ts
203
202
  /** The API-targeting options every runtime call forwards from the context. */
204
203
  const apiOptions = (ctx) => ({
205
204
  ...ctx.apiKey ? { apiKey: ctx.apiKey } : {},
@@ -764,5 +763,4 @@ const loadNeonConfig = async (ctx) => {
764
763
  throw err;
765
764
  }
766
765
  };
767
- //#endregion
768
766
  export { resolveDevEnv as a, dropClaimableUnsupported as i, MissingBranchContextError as n, resolveNeonEnvVars as o, ServiceNotOnBranchError as r, DevEnvMismatchError as t };
@@ -1,6 +1,6 @@
1
- import { n as defaultConnectionRole, t as NEON_DEFAULT_OWNER_ROLE } from "./roles-C3M4q9DS.js";
1
+ import { n as defaultConnectionRole, t as NEON_DEFAULT_OWNER_ROLE } from "./roles-Bd9r8_pX.js";
2
2
  import { ErrorCode, PlatformError, createNeonApiFromOptions, deriveCredentialScopes, isPlatformError, resolveConfig } from "@neon/config/v1";
3
- //#region ../../internals/env-core/dist/env.js
3
+ // ../../internals/env-core/dist/env.js
4
4
  /**
5
5
  * The Neon env core — resolving a branch's env from the Neon API, and projecting it into
6
6
  * OS-level `{ KEY: value }` pairs.
@@ -651,5 +651,4 @@ function toEntries(env) {
651
651
  if (env.functions) for (const slug of Object.keys(env.functions).sort()) put(functionBaseUrlKey(slug), env.functions[slug]?.baseUrl);
652
652
  return out;
653
653
  }
654
- //#endregion
655
654
  export { defaultAiGatewayCredential as a, fetchEnvKeysState as c, isLiveCredential as d, parseFunctionBaseUrlKey as f, toEntries as h, credentialName as i, functionBaseUrlKey as l, resolveBranchPolicy as m, createApiFromOptions as n, defaultStorageCredential as o, policyEnvKeys as p, credentialEnvKeys as r, fetchEnvKeys as s, NEON_ENV_VAR_KEYS as t, isFunctionBaseUrlKey as u };
@@ -1,8 +1,8 @@
1
- import { t as __exportAll } from "./rolldown-runtime-8H4AJuhK.js";
1
+ import { t as __exportAll } from "./rolldown-runtime-BJohB4LM.js";
2
2
  import { isNetworkError } from "../errors.js";
3
3
  import { writer } from "../writer.js";
4
4
  import { noPassthrough, single } from "../utils/flags.js";
5
- //#region src/commands/feedback.ts
5
+ // src/commands/feedback.ts
6
6
  var feedback_exports = /* @__PURE__ */ __exportAll({
7
7
  DEFAULT_FEEDBACK_URL: () => DEFAULT_FEEDBACK_URL,
8
8
  MAX_FEEDBACK_LENGTH: () => MAX_FEEDBACK_LENGTH,
@@ -84,5 +84,4 @@ async function sendFeedback(opts) {
84
84
  }
85
85
  if (!response.ok) throw new Error(await feedbackErrorMessage(response));
86
86
  }
87
- //#endregion
88
87
  export { describe as a, resolveFeedbackUrl as c, command as i, MAX_FEEDBACK_LENGTH as n, feedback_exports as o, builder as r, handler as s, DEFAULT_FEEDBACK_URL as t };