neon 8.13.1 → 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 (361) hide show
  1. package/README.md +2 -0
  2. package/dist/_chunks/{api-GbEaBZJ5.js → api-1MKsfpY3.js} +2 -3
  3. package/dist/_chunks/{api_keys-CNnnugbQ.js → api_keys-6Xnxl7a8.js} +2 -3
  4. package/dist/_chunks/{ask-DVwy0eUL.js → ask-Xlek1Pxh.js} +2 -3
  5. package/dist/_chunks/{auth-CIUtXByB.js → auth-DPSDYYtG.js} +6 -7
  6. package/dist/_chunks/{auth_selection-YX5_KZgD.js → auth_selection-CwGLN9Qz.js} +2 -3
  7. package/dist/_chunks/{bootstrap-wPZWa1sT.js → bootstrap-BDkvsAVJ.js} +2 -3
  8. package/dist/_chunks/{branches-BNa1xX1L.js → branches-Bp-5z1lM.js} +2 -3
  9. package/dist/_chunks/{bucket-BCdryTkD.js → bucket-D06bvDSa.js} +2 -3
  10. package/dist/_chunks/{checkout-CXIOydqZ.js → checkout-C6VMMgY6.js} +5 -6
  11. package/dist/_chunks/{claim-DqAvAvDm.js → claim-DlLZmcq0.js} +4 -5
  12. package/dist/_chunks/{cmd_pipeline-CEk93dGN.js → cmd_pipeline-BDE-TGto.js} +3 -6
  13. package/dist/_chunks/{config-BH_qRHiG.js → config-7SIE_C5O.js} +3 -4
  14. package/dist/_chunks/{connection_string-DB4awPzZ.js → connection_string-C9e7N4xk.js} +3 -4
  15. package/dist/_chunks/{credential_io-BS-0Pmwc.js → credential_io-DbeSh3Pl.js} +6 -9
  16. package/dist/_chunks/{credentials-BSjE9fRR.js → credentials-BMBNmW0t.js} +2 -3
  17. package/dist/_chunks/{data_api-Djxj5ZQD.js → data_api-CHDwvMTG.js} +2 -3
  18. package/dist/_chunks/{databases-Dok4wru7.js → databases-DC2h6IW2.js} +2 -3
  19. package/dist/_chunks/{deploy-D7B0Xfjg.js → deploy-DmKZcAnR.js} +3 -4
  20. package/dist/_chunks/{dev-CSvxAecE.js → dev-Dv0HKcFF.js} +7 -8
  21. package/dist/_chunks/{diff-DhxxbdQE.js → diff-dnxneH0u.js} +2 -3
  22. package/dist/_chunks/{docs-CrVybkTP.js → docs-CClmgj_Z.js} +2 -3
  23. package/dist/_chunks/{env-5HS5qQGd.js → env-BOt9AZ1j.js} +4 -5
  24. package/dist/_chunks/{env-BNm69Qh8.js → env-CIFMBEon.js} +3 -5
  25. package/dist/_chunks/{env-BpP3Dqpe.js → env-JgoSsmyt.js} +2 -3
  26. package/dist/_chunks/{feedback-CMayyTa8.js → feedback-mQmdTRFn.js} +2 -3
  27. package/dist/_chunks/{functions-Q0zuvtnk.js → functions-3ypiRwZK.js} +2 -3
  28. package/dist/_chunks/{git-H32TNt6M.js → git-Dxw9w9dK.js} +4 -5
  29. package/dist/_chunks/{init-BkA6RilG.js → init-BOOGv-mD.js} +2 -3
  30. package/dist/_chunks/{inspect-g0wekylj.js → inspect-yFAb61qo.js} +2 -3
  31. package/dist/_chunks/{ip_allow-5lLFvIuE.js → ip_allow-DBdxNEUa.js} +2 -3
  32. package/dist/_chunks/{link-BgtkOBws.js → link-CcwTXRny.js} +6 -7
  33. package/dist/_chunks/{logs-DWkpjzIH.js → logs-BB4uvblR.js} +2 -3
  34. package/dist/_chunks/{mcp-Bo-7TKc7.js → mcp-BznTRK3w.js} +2 -3
  35. package/dist/_chunks/{neon_auth-DpF83S24.js → neon_auth-Dw-ucM5Y.js} +102 -28
  36. package/dist/_chunks/{open-CX3BT3Tp.js → open-T2nI89Oh.js} +2 -3
  37. package/dist/_chunks/{operations-D4I-AxVs.js → operations-CzaR_uqx.js} +2 -3
  38. package/dist/_chunks/{orgs-xGfANwHQ.js → orgs-Dpbr-K0A.js} +2 -3
  39. package/dist/_chunks/{paths-DMq0Lt7a.js → paths-B55ZfOg1.js} +1 -2
  40. package/dist/_chunks/{plugins-DqD7BDO1.js → plugins-CKOcBuuP.js} +3 -4
  41. package/dist/_chunks/{profile-yXOiKk9R.js → profile-H0d7gFrX.js} +9 -10
  42. package/dist/_chunks/{profiles-DIB1av2Q.js → profiles-DTazQtjK.js} +4 -6
  43. package/dist/_chunks/{projects-BwI2Uo0z.js → projects-a3X4OFEJ.js} +2 -3
  44. package/dist/_chunks/{psql-BM-doe8e.js → psql-Bce4X0NG.js} +3 -4
  45. package/dist/_chunks/{psql-BNljLda2.js → psql-DwGeP0IV.js} +2 -4
  46. package/dist/_chunks/{realtime-BRqIyGR-.js → realtime-BwtzYf5a.js} +2 -3
  47. package/dist/_chunks/{roles-C3M4q9DS.js → roles-Bd9r8_pX.js} +1 -2
  48. package/dist/_chunks/{roles-B4w3YT_7.js → roles-xRuu0462.js} +2 -3
  49. package/dist/_chunks/{rolldown-runtime-8H4AJuhK.js → rolldown-runtime-BJohB4LM.js} +1 -2
  50. package/dist/_chunks/{secure_file-BucZj4yQ.js → secure_file-Caskdohg.js} +1 -2
  51. package/dist/_chunks/{set_context-DbrwoImy.js → set_context-ompB6d2D.js} +2 -3
  52. package/dist/_chunks/{skills-BP6pIm7O.js → skills-DKgafm65.js} +2 -3
  53. package/dist/_chunks/{snapshots-RJBzW8GM.js → snapshots-DxNhjcco.js} +3 -4
  54. package/dist/_chunks/{status-DV8Z2kw3.js → status-DS_yUXFo.js} +3 -4
  55. package/dist/_chunks/{triggers-BrRo1z4b.js → triggers-BfvyeJUC.js} +2 -3
  56. package/dist/_chunks/{user-dlOGXbX9.js → user-D9mC430O.js} +2 -3
  57. package/dist/_chunks/{vpc_endpoints-CNb0YfMo.js → vpc_endpoints-C-Y4WK2M.js} +3 -4
  58. package/dist/_shared/auth_selection.js +1 -2
  59. package/dist/_shared/credentials.js +1 -2
  60. package/dist/_shared/paths.js +1 -2
  61. package/dist/_shared/profiles.js +1 -2
  62. package/dist/_shared/secure_file.js +1 -2
  63. package/dist/analytics.js +4 -5
  64. package/dist/anonymous_id.js +2 -3
  65. package/dist/api.js +1 -2
  66. package/dist/auth.js +1 -2
  67. package/dist/auth_context.js +1 -2
  68. package/dist/auth_recovery.js +3 -4
  69. package/dist/claimable/api.js +1 -2
  70. package/dist/claimable/state.js +2 -3
  71. package/dist/cli.js +1 -2
  72. package/dist/commands/api.js +1 -1
  73. package/dist/commands/api_keys.js +1 -1
  74. package/dist/commands/ask.js +1 -1
  75. package/dist/commands/ask_sse.js +1 -2
  76. package/dist/commands/auth.js +1 -1
  77. package/dist/commands/bootstrap.js +1 -1
  78. package/dist/commands/branches.js +1 -1
  79. package/dist/commands/bucket.js +1 -1
  80. package/dist/commands/checkout.js +1 -1
  81. package/dist/commands/claim.js +1 -1
  82. package/dist/commands/config.js +1 -1
  83. package/dist/commands/connection_string.js +1 -1
  84. package/dist/commands/credentials.js +1 -1
  85. package/dist/commands/data_api.js +1 -1
  86. package/dist/commands/databases.js +1 -1
  87. package/dist/commands/deploy.js +1 -1
  88. package/dist/commands/deploy_help.js +1 -2
  89. package/dist/commands/dev.js +1 -1
  90. package/dist/commands/diff.js +1 -1
  91. package/dist/commands/docs.js +1 -1
  92. package/dist/commands/env.js +1 -1
  93. package/dist/commands/env_output.js +2 -3
  94. package/dist/commands/feedback.js +1 -1
  95. package/dist/commands/functions.js +1 -1
  96. package/dist/commands/functions_new.js +2 -3
  97. package/dist/commands/git.js +1 -1
  98. package/dist/commands/index.js +46 -47
  99. package/dist/commands/init.js +1 -1
  100. package/dist/commands/inspect.js +1 -1
  101. package/dist/commands/ip_allow.js +1 -1
  102. package/dist/commands/link.js +1 -1
  103. package/dist/commands/link_output.js +1 -2
  104. package/dist/commands/logs.js +1 -1
  105. package/dist/commands/manifest.js +1 -2
  106. package/dist/commands/mcp.js +1 -1
  107. package/dist/commands/neon_auth.js +1 -1
  108. package/dist/commands/open.js +1 -1
  109. package/dist/commands/operations.js +1 -1
  110. package/dist/commands/orgs.js +1 -1
  111. package/dist/commands/plugins.js +1 -1
  112. package/dist/commands/profile.js +1 -1
  113. package/dist/commands/projects.js +1 -1
  114. package/dist/commands/psql.js +1 -1
  115. package/dist/commands/realtime.js +1 -1
  116. package/dist/commands/roles.js +1 -1
  117. package/dist/commands/schema_diff.js +1 -2
  118. package/dist/commands/set_context.js +1 -1
  119. package/dist/commands/skills.js +1 -1
  120. package/dist/commands/snapshots.js +1 -1
  121. package/dist/commands/status.js +1 -1
  122. package/dist/commands/subscribe.js +2 -3
  123. package/dist/commands/thinking_spinner.js +1 -2
  124. package/dist/commands/triggers.js +1 -1
  125. package/dist/commands/user.js +1 -1
  126. package/dist/commands/vpc_endpoints.js +1 -1
  127. package/dist/config.js +2 -3
  128. package/dist/config_edit.js +1 -2
  129. package/dist/config_format.js +1 -2
  130. package/dist/config_services.js +1 -2
  131. package/dist/config_source.js +1 -2
  132. package/dist/config_template.js +1 -2
  133. package/dist/context.js +1 -2
  134. package/dist/credential_io.js +1 -1
  135. package/dist/current_branch_fast_path.js +1 -2
  136. package/dist/custom_domains_api.js +1 -2
  137. package/dist/dev/env.js +1 -1
  138. package/dist/dev/functions.js +1 -2
  139. package/dist/dev/inputs.js +1 -2
  140. package/dist/dev/runtime.js +1 -2
  141. package/dist/dev/websocket.js +1 -2
  142. package/dist/env.js +1 -2
  143. package/dist/env_file.js +1 -2
  144. package/dist/env_services.js +2 -3
  145. package/dist/error_reporting.js +80 -160
  146. package/dist/errors.js +1 -2
  147. package/dist/functions/registry.js +1 -2
  148. package/dist/functions/scaffold.js +1 -2
  149. package/dist/functions/source.js +1 -2
  150. package/dist/functions_api.js +1 -2
  151. package/dist/help.js +1 -2
  152. package/dist/human_table.js +1 -2
  153. package/dist/index.js +3 -4
  154. package/dist/init/agents.js +1 -2
  155. package/dist/init/auth.js +5 -6
  156. package/dist/init/bootstrap.js +1 -2
  157. package/dist/init/build_config.js +1 -2
  158. package/dist/init/cancelled.js +1 -2
  159. package/dist/init/choices.js +2 -3
  160. package/dist/init/chrome.js +1 -2
  161. package/dist/init/copy.js +13 -3
  162. package/dist/init/detect.js +4 -5
  163. package/dist/init/detect_host.js +1 -2
  164. package/dist/init/funnel.js +63 -16
  165. package/dist/init/link.js +4 -5
  166. package/dist/init/mode.js +1 -2
  167. package/dist/init/plan.js +1 -2
  168. package/dist/init/run.js +152 -98
  169. package/dist/init/template_title.js +1 -2
  170. package/dist/init/tooling.js +6 -7
  171. package/dist/init/wizard.js +1 -2
  172. package/dist/keyring.js +1 -2
  173. package/dist/log.js +1 -2
  174. package/dist/mcp/agents.js +1 -2
  175. package/dist/mcp/install.js +1 -2
  176. package/dist/mcp/mint.js +2 -3
  177. package/dist/mcp/plan.js +1 -2
  178. package/dist/mcp/targets.js +1 -2
  179. package/dist/mcp/wizard.js +1 -2
  180. package/dist/neon_services.js +1 -2
  181. package/dist/node_version.js +1 -2
  182. package/dist/notices.js +1 -2
  183. package/dist/parameters.gen.js +1 -2
  184. package/dist/pkg.js +1 -2
  185. package/dist/plugins/plan.js +1 -2
  186. package/dist/plugins/run.js +1 -2
  187. package/dist/plugins/targets.js +1 -2
  188. package/dist/profile_keys.js +1 -2
  189. package/dist/project.js +1 -2
  190. package/dist/psql/cli.js +2 -3
  191. package/dist/psql/command/cmd_cond.js +1 -2
  192. package/dist/psql/command/cmd_connect.js +1 -2
  193. package/dist/psql/command/cmd_copy.js +2 -3
  194. package/dist/psql/command/cmd_describe.js +1 -2
  195. package/dist/psql/command/cmd_format.js +1 -2
  196. package/dist/psql/command/cmd_io.js +1 -1
  197. package/dist/psql/command/cmd_lo.js +1 -2
  198. package/dist/psql/command/cmd_meta.js +1 -2
  199. package/dist/psql/command/cmd_misc.js +1 -2
  200. package/dist/psql/command/cmd_pipeline.js +1 -1
  201. package/dist/psql/command/cmd_restrict.js +1 -2
  202. package/dist/psql/command/cmd_show.js +1 -2
  203. package/dist/psql/command/dispatch.js +2 -3
  204. package/dist/psql/command/inputQueue.js +1 -2
  205. package/dist/psql/command/shared.js +1 -2
  206. package/dist/psql/complete/filenames.js +1 -2
  207. package/dist/psql/complete/index.js +1 -2
  208. package/dist/psql/complete/matcher.js +1 -2
  209. package/dist/psql/complete/psqlVars.js +1 -2
  210. package/dist/psql/complete/queries.js +1 -2
  211. package/dist/psql/complete/rules.js +1 -2
  212. package/dist/psql/core/common.js +1 -1
  213. package/dist/psql/core/help.js +1 -2
  214. package/dist/psql/core/mainloop.js +2 -3
  215. package/dist/psql/core/prompt.js +1 -2
  216. package/dist/psql/core/settings.js +1 -2
  217. package/dist/psql/core/sqlHelp.js +1 -2
  218. package/dist/psql/core/startup.js +1 -1
  219. package/dist/psql/core/syncVars.js +1 -2
  220. package/dist/psql/core/variables.js +1 -2
  221. package/dist/psql/describe/formatters.js +1 -2
  222. package/dist/psql/describe/processNamePattern.js +1 -2
  223. package/dist/psql/describe/queries.js +1 -2
  224. package/dist/psql/describe/versionGate.js +1 -2
  225. package/dist/psql/index.js +1 -1
  226. package/dist/psql/io/history.js +1 -2
  227. package/dist/psql/io/input.js +1 -2
  228. package/dist/psql/io/lineEditor/buffer.js +1 -2
  229. package/dist/psql/io/lineEditor/complete.js +1 -2
  230. package/dist/psql/io/lineEditor/filename.js +1 -2
  231. package/dist/psql/io/lineEditor/index.js +1 -2
  232. package/dist/psql/io/lineEditor/keymap.js +1 -2
  233. package/dist/psql/io/lineEditor/vt100.js +1 -2
  234. package/dist/psql/io/pgpass.js +1 -2
  235. package/dist/psql/io/pgservice.js +1 -2
  236. package/dist/psql/io/psqlrc.js +2 -3
  237. package/dist/psql/print/aligned.js +1 -2
  238. package/dist/psql/print/asciidoc.js +1 -2
  239. package/dist/psql/print/crosstab.js +1 -2
  240. package/dist/psql/print/csv.js +1 -2
  241. package/dist/psql/print/html.js +1 -2
  242. package/dist/psql/print/json.js +1 -2
  243. package/dist/psql/print/latex.js +1 -2
  244. package/dist/psql/print/pager.js +1 -2
  245. package/dist/psql/print/troff.js +1 -2
  246. package/dist/psql/print/unaligned.js +1 -2
  247. package/dist/psql/print/units.js +1 -2
  248. package/dist/psql/scanner/slash.js +1 -2
  249. package/dist/psql/scanner/sql.js +1 -2
  250. package/dist/psql/scanner/stringutils.js +1 -2
  251. package/dist/psql/types/scanner.js +1 -2
  252. package/dist/psql/wire/connection.js +1 -2
  253. package/dist/psql/wire/copy.js +1 -2
  254. package/dist/psql/wire/notify.js +1 -2
  255. package/dist/psql/wire/pipeline.js +1 -2
  256. package/dist/psql/wire/protocol.js +1 -2
  257. package/dist/psql/wire/sasl.js +1 -2
  258. package/dist/psql/wire/tls.js +1 -2
  259. package/dist/refresh_lock.js +1 -2
  260. package/dist/retire_credential.js +2 -3
  261. package/dist/skills/catalog.js +1 -2
  262. package/dist/skills/check_worker.js +1 -2
  263. package/dist/skills/freshness.js +1 -2
  264. package/dist/skills/plan.js +1 -2
  265. package/dist/skills/run.js +1 -2
  266. package/dist/skills/targets.js +1 -2
  267. package/dist/skills/wizard.js +1 -2
  268. package/dist/sso_recovery.js +1 -2
  269. package/dist/storage_api.js +1 -2
  270. package/dist/test_utils/fixtures.js +1 -2
  271. package/dist/test_utils/neon_api_server.js +1 -2
  272. package/dist/test_utils/npm_env.js +1 -2
  273. package/dist/test_utils/oauth_server.js +1 -2
  274. package/dist/test_utils/project_dir.js +1 -2
  275. package/dist/test_utils/registry.js +1 -2
  276. package/dist/test_utils/rotating_oauth_server.js +1 -2
  277. package/dist/update_check_worker.js +1 -2
  278. package/dist/update_notifier.js +1 -2
  279. package/dist/utils/agent_flag.js +1 -2
  280. package/dist/utils/agent_picker.js +1 -2
  281. package/dist/utils/ai_gateway_notice.js +1 -2
  282. package/dist/utils/api_enums.js +3 -3
  283. package/dist/utils/auth.js +1 -2
  284. package/dist/utils/branch_name.js +1 -2
  285. package/dist/utils/branch_notice.js +1 -2
  286. package/dist/utils/branch_picker.js +1 -2
  287. package/dist/utils/cli_name.js +1 -2
  288. package/dist/utils/compute_units.js +1 -2
  289. package/dist/utils/config_diff.js +1 -2
  290. package/dist/utils/enrichers.js +1 -2
  291. package/dist/utils/esbuild.js +1 -2
  292. package/dist/utils/flags.js +1 -2
  293. package/dist/utils/formats.js +1 -2
  294. package/dist/utils/function_slug.js +1 -2
  295. package/dist/utils/git.js +1 -2
  296. package/dist/utils/git_diff.js +1 -2
  297. package/dist/utils/help_text.js +1 -2
  298. package/dist/utils/hooks.js +2 -3
  299. package/dist/utils/inspect_db.js +3 -4
  300. package/dist/utils/inspect_queries.js +1 -2
  301. package/dist/utils/json_file.js +1 -2
  302. package/dist/utils/middlewares.js +2 -3
  303. package/dist/utils/openapi.js +1 -2
  304. package/dist/utils/package_manager.js +1 -2
  305. package/dist/utils/point_in_time.js +1 -2
  306. package/dist/utils/psql.js +1 -2
  307. package/dist/utils/repeated_flags.js +1 -2
  308. package/dist/utils/service_picker.js +1 -2
  309. package/dist/utils/staging.js +1 -2
  310. package/dist/utils/string.js +1 -2
  311. package/dist/utils/ui.js +1 -2
  312. package/dist/utils/write_sync.js +1 -2
  313. package/dist/utils/zip.js +1 -2
  314. package/dist/vendor/postgres-meta/constants.js +1 -2
  315. package/dist/vendor/postgres-meta/lib/PostgresMeta.js +1 -2
  316. package/dist/vendor/postgres-meta/lib/PostgresMetaColumnPrivileges.js +1 -2
  317. package/dist/vendor/postgres-meta/lib/PostgresMetaColumns.js +1 -2
  318. package/dist/vendor/postgres-meta/lib/PostgresMetaConfig.js +1 -2
  319. package/dist/vendor/postgres-meta/lib/PostgresMetaExtensions.js +1 -2
  320. package/dist/vendor/postgres-meta/lib/PostgresMetaForeignTables.js +1 -2
  321. package/dist/vendor/postgres-meta/lib/PostgresMetaFunctions.js +1 -2
  322. package/dist/vendor/postgres-meta/lib/PostgresMetaIndexes.js +1 -2
  323. package/dist/vendor/postgres-meta/lib/PostgresMetaMaterializedViews.js +1 -2
  324. package/dist/vendor/postgres-meta/lib/PostgresMetaPolicies.js +1 -2
  325. package/dist/vendor/postgres-meta/lib/PostgresMetaPublications.js +1 -2
  326. package/dist/vendor/postgres-meta/lib/PostgresMetaRelationships.js +1 -2
  327. package/dist/vendor/postgres-meta/lib/PostgresMetaRoles.js +1 -2
  328. package/dist/vendor/postgres-meta/lib/PostgresMetaSchemas.js +1 -2
  329. package/dist/vendor/postgres-meta/lib/PostgresMetaTablePrivileges.js +1 -2
  330. package/dist/vendor/postgres-meta/lib/PostgresMetaTables.js +1 -2
  331. package/dist/vendor/postgres-meta/lib/PostgresMetaTriggers.js +1 -2
  332. package/dist/vendor/postgres-meta/lib/PostgresMetaTypes.js +1 -2
  333. package/dist/vendor/postgres-meta/lib/PostgresMetaVersion.js +1 -2
  334. package/dist/vendor/postgres-meta/lib/PostgresMetaViews.js +1 -2
  335. package/dist/vendor/postgres-meta/lib/constants.js +1 -2
  336. package/dist/vendor/postgres-meta/lib/db.js +1 -2
  337. package/dist/vendor/postgres-meta/lib/generators.js +1 -2
  338. package/dist/vendor/postgres-meta/lib/helpers.js +1 -2
  339. package/dist/vendor/postgres-meta/lib/sql/column_privileges.sql.js +1 -2
  340. package/dist/vendor/postgres-meta/lib/sql/columns.sql.js +1 -2
  341. package/dist/vendor/postgres-meta/lib/sql/config.sql.js +1 -2
  342. package/dist/vendor/postgres-meta/lib/sql/extensions.sql.js +1 -2
  343. package/dist/vendor/postgres-meta/lib/sql/foreign_tables.sql.js +1 -2
  344. package/dist/vendor/postgres-meta/lib/sql/functions.sql.js +1 -2
  345. package/dist/vendor/postgres-meta/lib/sql/indexes.sql.js +1 -2
  346. package/dist/vendor/postgres-meta/lib/sql/materialized_views.sql.js +1 -2
  347. package/dist/vendor/postgres-meta/lib/sql/policies.sql.js +1 -2
  348. package/dist/vendor/postgres-meta/lib/sql/publications.sql.js +1 -2
  349. package/dist/vendor/postgres-meta/lib/sql/roles.sql.js +1 -2
  350. package/dist/vendor/postgres-meta/lib/sql/schemas.sql.js +1 -2
  351. package/dist/vendor/postgres-meta/lib/sql/table.sql.js +1 -2
  352. package/dist/vendor/postgres-meta/lib/sql/table_privileges.sql.js +1 -2
  353. package/dist/vendor/postgres-meta/lib/sql/table_relationships.sql.js +1 -2
  354. package/dist/vendor/postgres-meta/lib/sql/triggers.sql.js +1 -2
  355. package/dist/vendor/postgres-meta/lib/sql/types.sql.js +1 -2
  356. package/dist/vendor/postgres-meta/lib/sql/version.sql.js +1 -2
  357. package/dist/vendor/postgres-meta/lib/sql/views.sql.js +1 -2
  358. package/dist/vendor/postgres-meta/lib/sql/views_key_dependencies.sql.js +1 -2
  359. package/dist/vendor/postgres-meta/templates/typescript.js +1 -2
  360. package/dist/writer.js +1 -2
  361. package/package.json +6 -6
@@ -12,7 +12,7 @@ import { executeInputString, loadPsqlrc } from "../psql/io/psqlrc.js";
12
12
  import { existsSync, promises } from "node:fs";
13
13
  import * as path from "node:path";
14
14
  import * as os from "node:os";
15
- //#region src/psql/core/startup.ts
15
+ // src/psql/core/startup.ts
16
16
  /**
17
17
  * psql startup-args parser + applier.
18
18
  *
@@ -664,8 +664,7 @@ const resolveLayeredConnect = (argvLayer, resolution, legacyBase) => {
664
664
  return merged;
665
665
  };
666
666
  const formatParseError = (err) => err.message;
667
- //#endregion
668
- //#region src/psql/index.ts
667
+ // src/psql/index.ts
669
668
  /**
670
669
  * Embedded TypeScript psql entrypoint.
671
670
  *
@@ -2166,5 +2165,4 @@ const mergeConnectOptions = (layers, defaults) => {
2166
2165
  assertSslNegotiationModeCompatible(out.ssl, out.sslnegotiation);
2167
2166
  return out;
2168
2167
  };
2169
- //#endregion
2170
2168
  export { mergeConnectOptions as a, parseConnectionUriService as c, serviceEntryToConnectOptions as d, CLIENT_VERSION as f, parseStartupArgs as h, looksLikeConnectionString as i, parseConninfo as l, formatParseError as m, envConnectionDefaults as n, parseConnectionUri as o, applyStartupArgs as p, libpqConnectionDefaults as r, parseConnectionUriPartial as s, defaultClientCertDefaults as t, runPsql as u };
@@ -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 { log } from "../log.js";
3
3
  import { retryOnLock } from "../api.js";
4
4
  import { getCliName } from "../utils/cli_name.js";
5
5
  import { branchIdFromProps, fillSingleProject } from "../utils/enrichers.js";
6
6
  import { builder as builder$1, handler as handler$1 } from "../commands/subscribe.js";
7
7
  import { defineConfig } from "@neon/config";
8
- //#region src/commands/realtime.ts
8
+ // src/commands/realtime.ts
9
9
  var realtime_exports = /* @__PURE__ */ __exportAll({
10
10
  builder: () => builder,
11
11
  command: () => command,
@@ -75,5 +75,4 @@ const builder = (argv) => argv.usage("$0 realtime <sub-command> [options]").opti
75
75
  default: true
76
76
  }), (args) => rotateSecret(args)).command("subscribe <query>", "Subscribe to a live SQL query with Neon Realtime", builder$1, handler$1);
77
77
  const handler = (_args) => {};
78
- //#endregion
79
78
  export { enable as a, rotateSecret as c, disable as i, command as n, handler as o, describe as r, realtime_exports as s, builder as t };
@@ -1,4 +1,4 @@
1
- //#region ../../internals/env-core/dist/roles.js
1
+ // ../../internals/env-core/dist/roles.js
2
2
  /**
3
3
  * Neon's default branch owner role, created with every project. This is the role a
4
4
  * `DATABASE_URL` should connect as.
@@ -23,5 +23,4 @@ function defaultConnectionRole(roleNames) {
23
23
  const appRoles = roleNames.filter((name) => !NEON_MANAGED_AUTH_ROLES.has(name));
24
24
  return appRoles.length === 1 ? appRoles[0] : void 0;
25
25
  }
26
- //#endregion
27
26
  export { defaultConnectionRole as n, NEON_DEFAULT_OWNER_ROLE 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/roles.ts
5
+ // src/commands/roles.ts
6
6
  var roles_exports = /* @__PURE__ */ __exportAll({
7
7
  aliases: () => aliases,
8
8
  builder: () => builder,
@@ -75,5 +75,4 @@ const deleteRole = async (props) => {
75
75
  humanTitle: `Role deleted from ${branch?.name ?? branchId}`
76
76
  });
77
77
  };
78
- //#endregion
79
78
  export { deleteRole as a, list as c, create as i, roles_exports as l, builder as n, describe as o, command as r, handler as s, aliases as t };
@@ -1,5 +1,5 @@
1
1
  import "node:module";
2
- //#region \0rolldown/runtime.js
2
+ // \0rolldown/runtime.js
3
3
  var __defProp = Object.defineProperty;
4
4
  var __exportAll = (all, no_symbols) => {
5
5
  let target = {};
@@ -10,5 +10,4 @@ var __exportAll = (all, no_symbols) => {
10
10
  if (!no_symbols) __defProp(target, Symbol.toStringTag, { value: "Module" });
11
11
  return target;
12
12
  };
13
- //#endregion
14
13
  export { __exportAll as t };
@@ -1,6 +1,6 @@
1
1
  import { renameSync, unlinkSync, writeFileSync } from "node:fs";
2
2
  import { basename, dirname, join } from "node:path";
3
- //#region ../../internals/cli-core/dist/secure_file.js
3
+ // ../../internals/cli-core/dist/secure_file.js
4
4
  /**
5
5
  * Write a secret to disk owner-only, by creating a temporary file in the same directory and
6
6
  * renaming it over the target.
@@ -35,5 +35,4 @@ const writeSecretFile = (path, contents) => {
35
35
  throw err;
36
36
  }
37
37
  };
38
- //#endregion
39
38
  export { writeSecretFile 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 { log } from "../log.js";
3
3
  import { applyContext } from "../context.js";
4
4
  import { getCliName } from "../utils/cli_name.js";
5
- //#region src/commands/set_context.ts
5
+ // src/commands/set_context.ts
6
6
  var set_context_exports = /* @__PURE__ */ __exportAll({
7
7
  builder: () => builder,
8
8
  command: () => command,
@@ -34,5 +34,4 @@ const handler = (props) => {
34
34
  };
35
35
  applyContext(props.contextFile, context);
36
36
  };
37
- //#endregion
38
37
  export { set_context_exports as a, handler 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 { log } from "../log.js";
3
3
  import { recordCommandSuccessExtras } from "../analytics.js";
4
4
  import { helpCsv, helpEpilogue } from "../utils/help_text.js";
@@ -14,7 +14,7 @@ import { lockPath, neonSkillsUpdateCommand, readLockedSkills, refreshSkillsCheck
14
14
  import { confirmSkillsUpdate } from "../skills/wizard.js";
15
15
  import { assertSkillsCanRun, resolveSkillsPlan } from "../skills/plan.js";
16
16
  import { assertSkillsNode, neonSkillsRetryCommand, runSkillsCli, skillsAddArgs, skillsMetadata, skillsUpdateArgs, skillsUpdateDetail, skillsUpdateHadNothing } from "../skills/run.js";
17
- //#region src/commands/skills.ts
17
+ // src/commands/skills.ts
18
18
  var skills_exports = /* @__PURE__ */ __exportAll({
19
19
  aliases: () => aliases,
20
20
  builder: () => builder,
@@ -282,5 +282,4 @@ const statusHandler = async (props) => {
282
282
  out.end();
283
283
  if (rows.some((row) => row.status === "outdated")) log.info("Update them: %s", neonSkillsUpdateCommand(scope));
284
284
  };
285
- //#endregion
286
285
  export { handler as a, skillsInstallError as c, describe as i, skills_exports as l, builder as n, installSkills as o, command as r, reportSkillsInstall 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 { log } from "../log.js";
3
3
  import { isNeonApiError, retryOnLock } from "../api.js";
4
4
  import { writer } from "../writer.js";
5
5
  import { looksLikeBranchId, looksLikeLSN, looksLikeSnapshotId, looksLikeTimestamp, toIso } from "../utils/formats.js";
6
6
  import { branchIdResolve, fillSingleProject, resolveBranchRef } from "../utils/enrichers.js";
7
- import { t as BRANCH_FIELDS } from "./branches-BNa1xX1L.js";
8
- //#region src/commands/snapshots.ts
7
+ import { t as BRANCH_FIELDS } from "./branches-Bp-5z1lM.js";
8
+ // src/commands/snapshots.ts
9
9
  var snapshots_exports = /* @__PURE__ */ __exportAll({
10
10
  SNAPSHOT_FIELDS: () => SNAPSHOT_FIELDS,
11
11
  aliases: () => aliases,
@@ -334,5 +334,4 @@ const scheduleSet = async (props) => {
334
334
  title: "schedule"
335
335
  });
336
336
  };
337
- //#endregion
338
337
  export { describe as a, command as i, aliases as n, handler as o, builder as r, snapshots_exports as s, SNAPSHOT_FIELDS as t };
@@ -1,7 +1,7 @@
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 { y as status } from "./config-BH_qRHiG.js";
4
- //#region src/commands/status.ts
3
+ import { y as status } from "./config-7SIE_C5O.js";
4
+ // src/commands/status.ts
5
5
  var status_exports = /* @__PURE__ */ __exportAll({
6
6
  builder: () => builder,
7
7
  command: () => command,
@@ -40,5 +40,4 @@ const builder = (argv) => argv.usage("$0 status [options]").options({
40
40
  }
41
41
  }).middleware(fillSingleProject);
42
42
  const handler = (args) => status(args);
43
- //#endregion
44
43
  export { status_exports as a, handler as i, command as n, describe 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 { 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/triggers.ts
6
+ // src/commands/triggers.ts
7
7
  var triggers_exports = /* @__PURE__ */ __exportAll({
8
8
  TRIGGER_FIELDS: () => TRIGGER_FIELDS,
9
9
  aliases: () => aliases,
@@ -298,5 +298,4 @@ const deleteTrigger = async (props) => {
298
298
  await withTriggerNotFound(props.id, branchId, () => retryOnLock(() => props.apiClient.deleteProjectBranchTrigger(props.projectId, branchId, props.id)));
299
299
  log.info(`Trigger ${props.id} deleted`);
300
300
  };
301
- //#endregion
302
301
  export { create as a, get as c, triggers_exports as d, update as f, command as i, handler as l, aliases as n, deleteTrigger as o, builder as r, describe as s, TRIGGER_FIELDS as t, list as u };
@@ -1,7 +1,7 @@
1
- import { t as __exportAll } from "./rolldown-runtime-8H4AJuhK.js";
1
+ import { t as __exportAll } from "./rolldown-runtime-BJohB4LM.js";
2
2
  import { getAuthContext } from "../auth_context.js";
3
3
  import { writer } from "../writer.js";
4
- //#region src/commands/user.ts
4
+ // src/commands/user.ts
5
5
  var user_exports = /* @__PURE__ */ __exportAll({
6
6
  authenticationLabel: () => authenticationLabel,
7
7
  builder: () => builder,
@@ -56,5 +56,4 @@ const authenticationLabel = (auth) => {
56
56
  case "claimable": return "Claimable project";
57
57
  }
58
58
  };
59
- //#endregion
60
59
  export { handler as a, describe as i, builder as n, userDetails as o, command as r, user_exports as s, authenticationLabel 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 { log } from "../log.js";
3
3
  import { writer } from "../writer.js";
4
4
  import { fillSingleOrg, fillSingleProject } from "../utils/enrichers.js";
5
- import { r as REGIONS } from "./projects-BwI2Uo0z.js";
6
- //#region src/commands/vpc_endpoints.ts
5
+ import { r as REGIONS } from "./projects-a3X4OFEJ.js";
6
+ // src/commands/vpc_endpoints.ts
7
7
  var vpc_endpoints_exports = /* @__PURE__ */ __exportAll({
8
8
  builder: () => builder,
9
9
  command: () => "vpc",
@@ -101,5 +101,4 @@ const removeProject = async (props) => {
101
101
  const { data } = await props.apiClient.deleteProjectVpcEndpoint(props.projectId, props.id);
102
102
  writer(props).end(data, { fields: [] });
103
103
  };
104
- //#endregion
105
104
  export { vpc_endpoints_exports as i, command as n, describe as r, builder as t };
@@ -1,5 +1,5 @@
1
1
  import "./profiles.js";
2
- //#region src/_shared/auth_selection.ts
2
+ // src/_shared/auth_selection.ts
3
3
  /**
4
4
  * # Which credential an invocation authenticates with
5
5
  *
@@ -79,5 +79,4 @@ function nonEmpty(value) {
79
79
  const trimmed = value.trim();
80
80
  return trimmed === "" ? void 0 : trimmed;
81
81
  }
82
- //#endregion
83
82
  export { credentialInputs, displacedProfileWarning, recordCredentialInputs, selectCredential };
@@ -1,6 +1,6 @@
1
1
  import { writeSecretFile } from "./secure_file.js";
2
2
  import { readFileSync } from "node:fs";
3
- //#region src/_shared/credentials.ts
3
+ // src/_shared/credentials.ts
4
4
  /**
5
5
  * # Stored credentials — one file per account, two kinds
6
6
  *
@@ -184,5 +184,4 @@ const isSameCredential = (existingKey, replacementKey) => {
184
184
  const trimmed = existingKey.trim();
185
185
  return trimmed !== "" && trimmed === replacementKey.trim();
186
186
  };
187
- //#endregion
188
187
  export { API_KEY, OAUTH, apiKeyCredentials, credentialKind, describeScope, inspectCredentials, interpretCredentials, isSameCredential, readCredentials, scopeOf, writeCredentials };
@@ -1,6 +1,6 @@
1
1
  import { existsSync } from "node:fs";
2
2
  import { join, resolve } from "node:path";
3
- //#region src/_shared/paths.ts
3
+ // src/_shared/paths.ts
4
4
  /**
5
5
  * # Where the Neon CLIs keep their files on disk
6
6
  *
@@ -147,5 +147,4 @@ const isOwnedCredentialPath = (configDirectory, file) => {
147
147
  const legacy = legacyConfigDir();
148
148
  return legacy !== void 0 && isInsideConfigDir(legacy, file);
149
149
  };
150
- //#endregion
151
150
  export { CONFIG_DIR_NAME, CREDENTIALS_FILE, LEGACY_CONFIG_DIR_NAME, configDir, credentialsPath, defaultDir, isInsideConfigDir, isOwnedCredentialPath, legacyConfigDir, resolveConfigFile };
@@ -2,7 +2,7 @@ import { credentialsPath, defaultDir, resolveConfigFile } from "./paths.js";
2
2
  import { writeSecretFile } from "./secure_file.js";
3
3
  import { existsSync, readFileSync } from "node:fs";
4
4
  import { isAbsolute, relative, resolve } from "node:path";
5
- //#region src/_shared/profiles.ts
5
+ // src/_shared/profiles.ts
6
6
  /**
7
7
  * # Profiles — several Neon accounts in one config directory
8
8
  *
@@ -222,5 +222,4 @@ function nonEmpty(value) {
222
222
  const trimmed = value.trim();
223
223
  return trimmed === "" ? void 0 : trimmed;
224
224
  }
225
- //#endregion
226
225
  export { DEFAULT_PROFILE, PROFILES_FILE, assertProfilesUsable, assertValidProfileName, inspectProfiles, listProfiles, newProfileCredentialsPath, onlyDefaultRemains, profilesFilePath, readProfiles, removeProfileEntry, resolveProfile, selectProfileName, upsertProfile };
@@ -1,6 +1,6 @@
1
1
  import { renameSync, unlinkSync, writeFileSync } from "node:fs";
2
2
  import { basename, dirname, join } from "node:path";
3
- //#region src/_shared/secure_file.ts
3
+ // src/_shared/secure_file.ts
4
4
  /** Owner read/write. A credential needs those two and nothing else. */
5
5
  const SECRET_FILE_MODE = 384;
6
6
  /**
@@ -37,5 +37,4 @@ const writeSecretFile = (path, contents) => {
37
37
  throw err;
38
38
  }
39
39
  };
40
- //#endregion
41
40
  export { SECRET_FILE_MODE, writeSecretFile };
package/dist/analytics.js CHANGED
@@ -1,16 +1,16 @@
1
- import { a as OAUTH, t as storeFor } from "./_chunks/credential_io-BS-0Pmwc.js";
1
+ import { a as OAUTH, t as storeFor } from "./_chunks/credential_io-DbeSh3Pl.js";
2
2
  import { getCliAgent, getGithubEnvVars, isCi } from "./env.js";
3
3
  import { log } from "./log.js";
4
4
  import { getOrCreateAnonymousId } from "./anonymous_id.js";
5
5
  import pkg_default from "./pkg.js";
6
6
  import { UnreadableResponseError, getApiClient, isNeonApiError } from "./api.js";
7
7
  import { getAuthContext } from "./auth_context.js";
8
- import { n as credentialsPath } from "./_chunks/paths-DMq0Lt7a.js";
8
+ import { n as credentialsPath } from "./_chunks/paths-B55ZfOg1.js";
9
9
  import "./config.js";
10
10
  import { isCurrentBranchProbe } from "./context.js";
11
11
  import { isUnexpectedError } from "./errors.js";
12
12
  import { Analytics } from "@segment/analytics-node";
13
- //#region src/analytics.ts
13
+ // src/analytics.ts
14
14
  const WRITE_KEY = "3SQXn5ejjXWLEJ8xU2PRYhAotLtTaeeV";
15
15
  /**
16
16
  * Raw-argv fallback for the offline `--current-branch` probe. The init
@@ -355,5 +355,4 @@ const getAnalyticsEventProperties = (args) => ({
355
355
  agent: getCliAgent(process.env),
356
356
  githubEnvVars: getGithubEnvVars(process.env)
357
357
  });
358
- //#endregion
359
- export { analyticsIdentity, analyticsMiddleware, closeAnalytics, commandSuccessProperties, getAnalyticsEventProperties, getErrorAnalyticsEventProperties, initAnalyticsClientMiddleware, isAnalyticsActive, recordCommandSuccessExtras, recordScaffoldedTemplate, sendError, storedCredentialAttribution, takeCommandSuccessExtras, telemetryCredential, trackCommandSuccess, trackEvent, useAnalyticsClientForTests };
358
+ export { analyticsIdentity, analyticsMiddleware, closeAnalytics, commandSuccessProperties, getAnalyticsEventProperties, getErrorAnalyticsEventProperties, initAnalyticsClientMiddleware, isAnalyticsActive, recordCommandSuccessExtras, recordScaffoldedTemplate, redactCredentialTokenIds, sendError, storedCredentialAttribution, takeCommandSuccessExtras, telemetryCredential, trackCommandSuccess, trackEvent, useAnalyticsClientForTests };
@@ -1,11 +1,11 @@
1
- import { t as writeSecretFile } from "./_chunks/secure_file-BucZj4yQ.js";
1
+ import { t as writeSecretFile } from "./_chunks/secure_file-Caskdohg.js";
2
2
  import { isCi } from "./env.js";
3
3
  import { log } from "./log.js";
4
4
  import { isEexist } from "./refresh_lock.js";
5
5
  import { linkSync, mkdirSync, readFileSync, unlinkSync, writeFileSync } from "node:fs";
6
6
  import { join } from "node:path";
7
7
  import { randomUUID } from "node:crypto";
8
- //#region src/anonymous_id.ts
8
+ // src/anonymous_id.ts
9
9
  const ANONYMOUS_ID_FILE = "anonymous_id";
10
10
  const UUID = /^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/i;
11
11
  const readStored = (path) => {
@@ -55,5 +55,4 @@ const getOrCreateAnonymousId = (configDir) => {
55
55
  return;
56
56
  }
57
57
  };
58
- //#endregion
59
58
  export { ANONYMOUS_ID_FILE, getOrCreateAnonymousId };
package/dist/api.js CHANGED
@@ -4,7 +4,7 @@ import { Readable } from "node:stream";
4
4
  import * as raw from "@neon/sdk/raw";
5
5
  import { createClient, createConfig } from "@neon/sdk/raw";
6
6
  import { EnvHttpProxyAgent, setGlobalDispatcher } from "undici";
7
- //#region src/api.ts
7
+ // src/api.ts
8
8
  if ([
9
9
  "HTTP_PROXY",
10
10
  "http_proxy",
@@ -1079,5 +1079,4 @@ const getApiClient = ({ apiKey, apiHost, requestTimeoutMs = REQUEST_TIMEOUT_MS }
1079
1079
  }))
1080
1080
  };
1081
1081
  };
1082
- //#endregion
1083
1082
  export { ContentType, NeonApiError, UnreadableResponseError, codeFromBody, getApiClient, isNeonApiError, messageFromBody, retryOnLock };
package/dist/auth.js CHANGED
@@ -8,7 +8,7 @@ import { fileURLToPath } from "node:url";
8
8
  import { createServer } from "node:http";
9
9
  import open from "open";
10
10
  import * as client from "openid-client";
11
- //#region src/auth.ts
11
+ // src/auth.ts
12
12
  const SERVER_TIMEOUT = 1e4;
13
13
  const REDIRECT_URI = (port) => `http://127.0.0.1:${port}/callback`;
14
14
  const ALWAYS_PRESENT_SCOPES = [
@@ -220,5 +220,4 @@ const auth = async ({ oauthHost, clientId, allowUnsafeTls }) => {
220
220
  });
221
221
  });
222
222
  };
223
- //#endregion
224
223
  export { AuthRefreshError, NEONCTL_SCOPES, auth, classifyRefreshFailure, defaultClientID, refreshToken, revokeToken };
@@ -1,4 +1,4 @@
1
- //#region src/auth_context.ts
1
+ // src/auth_context.ts
2
2
  const locationFromContext = (context) => {
3
3
  if (context.profile === void 0) return null;
4
4
  if (context.storage === "keyring") return {
@@ -36,5 +36,4 @@ const authFailureMessage = (context) => {
36
36
  }
37
37
  return "Authentication failed: the Neon API rejected the API key. Check --api-key or NEON_API_KEY.";
38
38
  };
39
- //#endregion
40
39
  export { authFailureMessage, clearAuthContext, getAuthContext, locationFromContext, setAuthContext };
@@ -1,9 +1,9 @@
1
- import { t as storeFor } from "./_chunks/credential_io-BS-0Pmwc.js";
1
+ import { t as storeFor } from "./_chunks/credential_io-DbeSh3Pl.js";
2
2
  import { log } from "./log.js";
3
3
  import { authFailureMessage, getAuthContext, locationFromContext } from "./auth_context.js";
4
4
  import { AuthRefreshError } from "./auth.js";
5
- import { f as refreshStoredCredentials, u as isAccessTokenUsable } from "./_chunks/auth-CIUtXByB.js";
6
- //#region src/auth_recovery.ts
5
+ import { f as refreshStoredCredentials, u as isAccessTokenUsable } from "./_chunks/auth-DPSDYYtG.js";
6
+ // src/auth_recovery.ts
7
7
  const supersededOnDisk = (rejectedToken) => {
8
8
  if (rejectedToken === void 0) return false;
9
9
  const context = getAuthContext();
@@ -57,5 +57,4 @@ const recoverFrom401 = async (canRetry) => {
57
57
  log.error(authFailureMessage(context));
58
58
  return false;
59
59
  };
60
- //#endregion
61
60
  export { recoverFrom401 };
@@ -1,4 +1,4 @@
1
- //#region src/claimable/api.ts
1
+ // src/claimable/api.ts
2
2
  const REQUEST_TIMEOUT_MS = 6e4;
3
3
  const JWT_BEARER_GRANT = "urn:ietf:params:oauth:grant-type:jwt-bearer";
4
4
  const DEFAULT_CLAIMABLE_ORIGIN = "https://claimable.neon.tech";
@@ -241,5 +241,4 @@ var ClaimableClient = class {
241
241
  return payload;
242
242
  }
243
243
  };
244
- //#endregion
245
244
  export { ClaimableClient, ClaimableServiceError, DEFAULT_CLAIMABLE_ORIGIN, parseClaimCodeResponse, parseClaimStatusResponse, parseCredentialsResponse, parseRegistrationResponse, parseTokenResponse };
@@ -1,10 +1,10 @@
1
- import { t as writeSecretFile } from "../_chunks/secure_file-BucZj4yQ.js";
1
+ import { t as writeSecretFile } from "../_chunks/secure_file-Caskdohg.js";
2
2
  import { getAuthContext } from "../auth_context.js";
3
3
  import { readContextFile } from "../context.js";
4
4
  import { ClaimableClient } from "./api.js";
5
5
  import { existsSync, mkdirSync, readFileSync, readdirSync, unlinkSync } from "node:fs";
6
6
  import { join } from "node:path";
7
- //#region src/claimable/state.ts
7
+ // src/claimable/state.ts
8
8
  const FILE_PREFIX = "claimable-credential.";
9
9
  const FILE_SUFFIX = ".json";
10
10
  const PROJECT_ID = /^[A-Za-z0-9][A-Za-z0-9_-]{0,127}$/u;
@@ -106,5 +106,4 @@ const isClaimableEnvTarget = (props) => {
106
106
  if (stored === null) return false;
107
107
  return props.apiHost.trim().replace(/\/+$/, "") === claimableApiHost(stored.origin);
108
108
  };
109
- //#endregion
110
109
  export { assertionHasExpired, claimableApiHost, claimableCredentialsExist, claimableCredentialsPath, isClaimableEnvTarget, listClaimableCredentials, readClaimableCredentials, readLinkedClaimableCredentials, removeClaimableCredentials, shouldUseClaimableCredentials, writeClaimableCredentials };
package/dist/cli.js CHANGED
@@ -1,7 +1,6 @@
1
1
  #!/usr/bin/env node
2
2
  import "./node_version.js";
3
3
  import { tryCurrentBranchFastPath } from "./current_branch_fast_path.js";
4
- //#region src/cli.ts
4
+ // src/cli.ts
5
5
  if (!tryCurrentBranchFastPath(process.argv)) import("./index.js");
6
- //#endregion
7
6
  export {};
@@ -1 +1 @@
1
- export { n as buildBody, r as buildQuery, i as builder, a as colorizeJson, o as command, s as describe, c as handler, l as parseHeaders, u as parseKeyValue, d as parseTypedValue, f as setDeep } from "../_chunks/api-GbEaBZJ5.js";
1
+ export { n as buildBody, r as buildQuery, i as builder, a as colorizeJson, o as command, s as describe, c as handler, l as parseHeaders, u as parseKeyValue, d as parseTypedValue, f as setDeep } from "../_chunks/api-1MKsfpY3.js";
@@ -1 +1 @@
1
- export { t as aliases, r as builder, i as command, a as describe, o as handler, s as orgIdForProject } from "../_chunks/api_keys-CNnnugbQ.js";
1
+ export { t as aliases, r as builder, i as command, a as describe, o as handler, s as orgIdForProject } from "../_chunks/api_keys-6Xnxl7a8.js";
@@ -1 +1 @@
1
- export { t as DEFAULT_ASK_URL, r as builder, i as command, a as describe, o as handler, s as resolveAskUrl } from "../_chunks/ask-DVwy0eUL.js";
1
+ export { t as DEFAULT_ASK_URL, r as builder, i as command, a as describe, o as handler, s as resolveAskUrl } from "../_chunks/ask-Xlek1Pxh.js";
@@ -1,4 +1,4 @@
1
- //#region src/commands/ask_sse.ts
1
+ // src/commands/ask_sse.ts
2
2
  function isEventStreamContentType(header) {
3
3
  return header?.split(";")[0]?.trim().toLowerCase() === "text/event-stream";
4
4
  }
@@ -97,5 +97,4 @@ async function* readAskSse(body) {
97
97
  reader.releaseLock();
98
98
  }
99
99
  }
100
- //#endregion
101
100
  export { isEventStreamContentType, readAskSse };
@@ -1 +1 @@
1
- export { t as aliases, n as authFlow, i as builder, a as command, o as deleteCredentialsAt, s as describe, c as ensureAuth, l as handler, u as isAccessTokenUsable, d as locationForAuth, f as refreshStoredCredentials, p as usableCredential } from "../_chunks/auth-CIUtXByB.js";
1
+ export { t as aliases, n as authFlow, i as builder, a as command, o as deleteCredentialsAt, s as describe, c as ensureAuth, l as handler, u as isAccessTokenUsable, d as locationForAuth, f as refreshStoredCredentials, p as usableCredential } from "../_chunks/auth-DPSDYYtG.js";
@@ -1 +1 @@
1
- export { n as builder, r as command, i as describe, a as handler } from "../_chunks/bootstrap-wPZWa1sT.js";
1
+ export { n as builder, r as command, i as describe, a as handler } from "../_chunks/bootstrap-BDkvsAVJ.js";
@@ -1 +1 @@
1
- export { t as BRANCH_FIELDS, n as aliases, i as builder, a as command, o as describe, s as handler } from "../_chunks/branches-BNa1xX1L.js";
1
+ export { t as BRANCH_FIELDS, n as aliases, i as builder, a as command, o as describe, s as handler } from "../_chunks/branches-Bp-5z1lM.js";
@@ -1 +1 @@
1
- export { t as aliases, r as builder, i as command, a as describe, o as handler, s as resolveListDelimiter, c as splitBucketTarget } from "../_chunks/bucket-BCdryTkD.js";
1
+ export { t as aliases, r as builder, i as command, a as describe, o as handler, s as resolveListDelimiter, c as splitBucketTarget } from "../_chunks/bucket-D06bvDSa.js";
@@ -1 +1 @@
1
- export { t as builder, r as command, i as describe, a as formatCheckoutPolicyFailure, o as handler } from "../_chunks/checkout-CXIOydqZ.js";
1
+ export { t as builder, r as command, i as describe, a as formatCheckoutPolicyFailure, o as handler } from "../_chunks/checkout-C6VMMgY6.js";
@@ -1 +1 @@
1
- export { t as CLAIM_CREATE_FIELDS, n as CLAIM_LIST_FIELDS, r as aliases, i as builder, a as claimCreateFields, s as claimableCapabilities, c as command, l as create, u as describe, d as handler } from "../_chunks/claim-DqAvAvDm.js";
1
+ export { t as CLAIM_CREATE_FIELDS, n as CLAIM_LIST_FIELDS, r as aliases, i as builder, a as claimCreateFields, s as claimableCapabilities, c as command, l as create, u as describe, d as handler } from "../_chunks/claim-DlLZmcq0.js";
@@ -1 +1 @@
1
- export { t as ConfigInstallFailed, n as addCmd, r as applyCmd, i as applyFlags, a as applyPolicyOnCreate, o as builder, s as command, l as createBranchFromPolicyOnCheckout, u as describe, d as ensureConfigPackages, f as envFlag, p as envPullFlag, m as handler, h as initCmd, g as installCommandFrom, _ as missingDependencies, v as planCmd, y as status } from "../_chunks/config-BH_qRHiG.js";
1
+ export { t as ConfigInstallFailed, n as addCmd, r as applyCmd, i as applyFlags, a as applyPolicyOnCreate, o as builder, s as command, l as createBranchFromPolicyOnCheckout, u as describe, d as ensureConfigPackages, f as envFlag, p as envPullFlag, m as handler, h as initCmd, g as installCommandFrom, _ as missingDependencies, v as planCmd, y as status } from "../_chunks/config-7SIE_C5O.js";
@@ -1 +1 @@
1
- export { t as SSL_MODES, n as aliases, r as builder, i as command, o as describe, s as handler } from "../_chunks/connection_string-DB4awPzZ.js";
1
+ export { t as SSL_MODES, n as aliases, r as builder, i as command, o as describe, s as handler } from "../_chunks/connection_string-C9e7N4xk.js";
@@ -1 +1 @@
1
- export { t as aliases, n as builder, r as command, i as create, o as describe, s as handler, c as list, l as reveal, u as revoke, d as rotate } from "../_chunks/credentials-BSjE9fRR.js";
1
+ export { t as aliases, n as builder, r as command, i as create, o as describe, s as handler, c as list, l as reveal, u as revoke, d as rotate } from "../_chunks/credentials-BMBNmW0t.js";
@@ -1 +1 @@
1
- export { t as builder, n as command, i as describe, a as handler } from "../_chunks/data_api-Djxj5ZQD.js";
1
+ export { t as builder, n as command, i as describe, a as handler } from "../_chunks/data_api-CHDwvMTG.js";
@@ -1 +1 @@
1
- export { t as DATABASE_FIELDS, n as aliases, r as builder, i as command, a as create, s as deleteDb, c as describe, l as handler, u as list } from "../_chunks/databases-Dok4wru7.js";
1
+ export { t as DATABASE_FIELDS, n as aliases, r as builder, i as command, a as create, s as deleteDb, c as describe, l as handler, u as list } from "../_chunks/databases-DC2h6IW2.js";
@@ -1 +1 @@
1
- export { t as builder, n as command, i as describe, a as handler } from "../_chunks/deploy-D7B0Xfjg.js";
1
+ export { t as builder, n as command, i as describe, a as handler } from "../_chunks/deploy-DmKZcAnR.js";
@@ -1,4 +1,4 @@
1
- //#region src/commands/deploy_help.ts
1
+ // src/commands/deploy_help.ts
2
2
  const DEPLOY_COMMANDS_EPILOGUE = [
3
3
  "",
4
4
  "Use neon deploy with a neon.ts file for a full deployment (declared services and functions).",
@@ -6,5 +6,4 @@ const DEPLOY_COMMANDS_EPILOGUE = [
6
6
  "neon deploy --env <file> loads that .env file so neon.ts can read Function env from it.",
7
7
  "neon functions deploy --env is KEY=VALUE (repeatable), not a file path."
8
8
  ].join("\n");
9
- //#endregion
10
9
  export { DEPLOY_COMMANDS_EPILOGUE };
@@ -1 +1 @@
1
- export { t as builder, n as captureShellEnv, r as command, i as describe, a as devBundleDir, o as devEnvContext, c as diffUnits, l as formatEnvFiles, u as formatEnvSummary, d as handler, f as loadDevEnvFiles, p as localFunctionUrlEnv, m as planFunctionsToUnits, h as reportDevCredential, g as sourceFunctionUrlOverlay } from "../_chunks/dev-CSvxAecE.js";
1
+ export { t as builder, n as captureShellEnv, r as command, i as describe, a as devBundleDir, o as devEnvContext, c as diffUnits, l as formatEnvFiles, u as formatEnvSummary, d as handler, f as loadDevEnvFiles, p as localFunctionUrlEnv, m as planFunctionsToUnits, h as reportDevCredential, g as sourceFunctionUrlOverlay } from "../_chunks/dev-Dv0HKcFF.js";
@@ -1 +1 @@
1
- export { t as builder, n as command, r as describe, a as handler } from "../_chunks/diff-DhxxbdQE.js";
1
+ export { t as builder, n as command, r as describe, a as handler } from "../_chunks/diff-dnxneH0u.js";
@@ -1 +1 @@
1
- export { t as DEFAULT_SITE_SEARCH_URL, n as MAX_LIMIT, r as MAX_QUERY_LENGTH, i as SITE_SEARCH_CATEGORIES, a as builder, o as command, s as describe, l as formatSearchResults, u as parseSearchHits, d as resolveSiteSearchUrl, f as siteSearchHeaders } from "../_chunks/docs-CrVybkTP.js";
1
+ export { t as DEFAULT_SITE_SEARCH_URL, n as MAX_LIMIT, r as MAX_QUERY_LENGTH, i as SITE_SEARCH_CATEGORIES, a as builder, o as command, s as describe, l as formatSearchResults, u as parseSearchHits, d as resolveSiteSearchUrl, f as siteSearchHeaders } from "../_chunks/docs-CClmgj_Z.js";
@@ -1 +1 @@
1
- export { t as ENV_PULL_SKIPPED_HINT, n as autoPullEnvAfterPin, r as builder, i as command, a as describe, s as handler, c as pull } from "../_chunks/env-5HS5qQGd.js";
1
+ export { t as ENV_PULL_SKIPPED_HINT, n as autoPullEnvAfterPin, r as builder, i as command, a as describe, s as handler, c as pull } from "../_chunks/env-BOt9AZ1j.js";
@@ -1,10 +1,10 @@
1
1
  import { NEON_SERVICES, NEON_SERVICE_LABELS } from "../neon_services.js";
2
- import { u as isFunctionBaseUrlKey } from "../_chunks/env-BpP3Dqpe.js";
2
+ import { u as isFunctionBaseUrlKey } from "../_chunks/env-JgoSsmyt.js";
3
3
  import { BRANCH_ENV_KEY, ENV_PULL_KEYS, serviceForEnvKey } from "../env_services.js";
4
4
  import { isAbsolute, relative } from "node:path";
5
5
  import { homedir } from "node:os";
6
6
  import chalk from "chalk";
7
- //#region src/commands/env_output.ts
7
+ // src/commands/env_output.ts
8
8
  /** Wide enough for the longest label ("Object Storage") plus a gutter, so blocks align. */
9
9
  const LABEL_WIDTH = 16;
10
10
  const row = (label, value) => ` ${label.padEnd(LABEL_WIDTH)}${value}`;
@@ -63,5 +63,4 @@ const formatPulledEnv = (outcome, cwd, branch) => {
63
63
  else if (credential?.issued && credential.superseded.length > 0) lines.push(`Left the credential it replaced live (${credential.superseded.join(", ")}): an explicitly scoped pull can't tell which other variables still use it. Revoke it in the Neon Console if nothing does.`);
64
64
  return `${lines.join("\n")}\n`;
65
65
  };
66
- //#endregion
67
66
  export { displayPath, formatPulledEnv, pulledBranch, row };
@@ -1 +1 @@
1
- export { t as DEFAULT_FEEDBACK_URL, n as MAX_FEEDBACK_LENGTH, r as builder, i as command, a as describe, s as handler, c as resolveFeedbackUrl } from "../_chunks/feedback-CMayyTa8.js";
1
+ export { t as DEFAULT_FEEDBACK_URL, n as MAX_FEEDBACK_LENGTH, r as builder, i as command, a as describe, s as handler, c as resolveFeedbackUrl } from "../_chunks/feedback-mQmdTRFn.js";
@@ -1 +1 @@
1
- export { t as aliases, n as builder, r as command, i as deploymentPollDelay, a as describe, s as handler } from "../_chunks/functions-Q0zuvtnk.js";
1
+ export { t as aliases, n as builder, r as command, i as deploymentPollDelay, a as describe, s as handler } from "../_chunks/functions-3ypiRwZK.js";