neon 8.13.2 → 8.15.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.
- package/README.md +1 -1
- package/dist/_chunks/{api-GbEaBZJ5.js → api-1MKsfpY3.js} +2 -3
- package/dist/_chunks/{api_keys-CNnnugbQ.js → api_keys-6Xnxl7a8.js} +2 -3
- package/dist/_chunks/{ask-DVwy0eUL.js → ask-Xlek1Pxh.js} +2 -3
- package/dist/_chunks/{auth-CIUtXByB.js → auth-rup6nemJ.js} +44 -8
- package/dist/_chunks/{auth_selection-YX5_KZgD.js → auth_selection-CwGLN9Qz.js} +2 -3
- package/dist/_chunks/{bootstrap-wPZWa1sT.js → bootstrap-BDkvsAVJ.js} +2 -3
- package/dist/_chunks/{branches-BNa1xX1L.js → branches-Bp-5z1lM.js} +2 -3
- package/dist/_chunks/{bucket-BCdryTkD.js → bucket-D06bvDSa.js} +2 -3
- package/dist/_chunks/{checkout-CXIOydqZ.js → checkout-BpOcFaAi.js} +5 -6
- package/dist/_chunks/{claim-DqAvAvDm.js → claim-DlLZmcq0.js} +4 -5
- package/dist/_chunks/{cmd_pipeline-CEk93dGN.js → cmd_pipeline-BDE-TGto.js} +3 -6
- package/dist/_chunks/{config-BH_qRHiG.js → config-BjCm5cfr.js} +59 -8
- package/dist/_chunks/{connection_string-DB4awPzZ.js → connection_string-C9e7N4xk.js} +3 -4
- package/dist/_chunks/{credential_io-BS-0Pmwc.js → credential_io-DbeSh3Pl.js} +6 -9
- package/dist/_chunks/{credentials-BSjE9fRR.js → credentials-BMBNmW0t.js} +2 -3
- package/dist/_chunks/{data_api-Djxj5ZQD.js → data_api-CHDwvMTG.js} +2 -3
- package/dist/_chunks/{databases-Dok4wru7.js → databases-DC2h6IW2.js} +2 -3
- package/dist/_chunks/{deploy-D7B0Xfjg.js → deploy-DmEEhux0.js} +3 -4
- package/dist/_chunks/{dev-CSvxAecE.js → dev-DlUJFzRs.js} +7 -8
- package/dist/_chunks/{diff-DhxxbdQE.js → diff-dnxneH0u.js} +2 -3
- package/dist/_chunks/{docs-CrVybkTP.js → docs-CClmgj_Z.js} +2 -3
- package/dist/_chunks/{env-5HS5qQGd.js → env-BOt9AZ1j.js} +4 -5
- package/dist/_chunks/{env-BNm69Qh8.js → env-CIFMBEon.js} +3 -5
- package/dist/_chunks/{env-BpP3Dqpe.js → env-JgoSsmyt.js} +2 -3
- package/dist/_chunks/{feedback-CMayyTa8.js → feedback-mQmdTRFn.js} +2 -3
- package/dist/_chunks/{functions-Q0zuvtnk.js → functions-3ypiRwZK.js} +2 -3
- package/dist/_chunks/{git-H32TNt6M.js → git-j6xSVo3e.js} +4 -5
- package/dist/_chunks/{init-BkA6RilG.js → init-CcVJb492.js} +3 -4
- package/dist/_chunks/{inspect-g0wekylj.js → inspect-yFAb61qo.js} +2 -3
- package/dist/_chunks/{ip_allow-5lLFvIuE.js → ip_allow-DBdxNEUa.js} +2 -3
- package/dist/_chunks/{link-BgtkOBws.js → link-nAiuWKfg.js} +6 -7
- package/dist/_chunks/{logs-DWkpjzIH.js → logs-BB4uvblR.js} +2 -3
- package/dist/_chunks/{mcp-Bo-7TKc7.js → mcp-BznTRK3w.js} +2 -3
- package/dist/_chunks/{neon_auth-DpF83S24.js → neon_auth-Dw-ucM5Y.js} +102 -28
- package/dist/_chunks/{open-CX3BT3Tp.js → open-T2nI89Oh.js} +2 -3
- package/dist/_chunks/{operations-D4I-AxVs.js → operations-CzaR_uqx.js} +2 -3
- package/dist/_chunks/{orgs-xGfANwHQ.js → orgs-Dpbr-K0A.js} +2 -3
- package/dist/_chunks/{paths-DMq0Lt7a.js → paths-B55ZfOg1.js} +1 -2
- package/dist/_chunks/{plugins-Dj0H6lDA.js → plugins-CKOcBuuP.js} +2 -3
- package/dist/_chunks/{profile-yXOiKk9R.js → profile-BAlM625e.js} +9 -10
- package/dist/_chunks/{profiles-DIB1av2Q.js → profiles-DTazQtjK.js} +4 -6
- package/dist/_chunks/{projects-BwI2Uo0z.js → projects-a3X4OFEJ.js} +2 -3
- package/dist/_chunks/{psql-BM-doe8e.js → psql-Bce4X0NG.js} +3 -4
- package/dist/_chunks/{psql-BNljLda2.js → psql-DwGeP0IV.js} +2 -4
- package/dist/_chunks/{realtime-BRqIyGR-.js → realtime-BwtzYf5a.js} +2 -3
- package/dist/_chunks/{roles-C3M4q9DS.js → roles-Bd9r8_pX.js} +1 -2
- package/dist/_chunks/{roles-B4w3YT_7.js → roles-xRuu0462.js} +2 -3
- package/dist/_chunks/{rolldown-runtime-8H4AJuhK.js → rolldown-runtime-BJohB4LM.js} +1 -2
- package/dist/_chunks/{secure_file-BucZj4yQ.js → secure_file-Caskdohg.js} +1 -2
- package/dist/_chunks/{set_context-DbrwoImy.js → set_context-ompB6d2D.js} +2 -3
- package/dist/_chunks/{skills-BP6pIm7O.js → skills-DKgafm65.js} +2 -3
- package/dist/_chunks/{snapshots-RJBzW8GM.js → snapshots-DxNhjcco.js} +3 -4
- package/dist/_chunks/{status-DV8Z2kw3.js → status-BC4XXuuE.js} +3 -4
- package/dist/_chunks/{triggers-BrRo1z4b.js → triggers-BfvyeJUC.js} +2 -3
- package/dist/_chunks/{user-dlOGXbX9.js → user-D9mC430O.js} +2 -3
- package/dist/_chunks/{vpc_endpoints-CNb0YfMo.js → vpc_endpoints-C-Y4WK2M.js} +3 -4
- package/dist/_shared/auth_selection.js +1 -2
- package/dist/_shared/credentials.js +1 -2
- package/dist/_shared/paths.js +1 -2
- package/dist/_shared/profiles.js +1 -2
- package/dist/_shared/secure_file.js +1 -2
- package/dist/analytics.js +3 -4
- package/dist/anonymous_id.js +2 -3
- package/dist/api.js +3 -4
- package/dist/auth.js +1 -2
- package/dist/auth_context.js +1 -2
- package/dist/auth_recovery.js +3 -4
- package/dist/claimable/api.js +1 -2
- package/dist/claimable/state.js +2 -3
- package/dist/cli.js +1 -2
- package/dist/commands/api.js +1 -1
- package/dist/commands/api_keys.js +1 -1
- package/dist/commands/ask.js +1 -1
- package/dist/commands/ask_sse.js +1 -2
- package/dist/commands/auth.js +1 -1
- package/dist/commands/bootstrap.js +1 -1
- package/dist/commands/branches.js +1 -1
- package/dist/commands/bucket.js +1 -1
- package/dist/commands/checkout.js +1 -1
- package/dist/commands/claim.js +1 -1
- package/dist/commands/config.js +1 -1
- package/dist/commands/connection_string.js +1 -1
- package/dist/commands/credentials.js +1 -1
- package/dist/commands/data_api.js +1 -1
- package/dist/commands/databases.js +1 -1
- package/dist/commands/deploy.js +1 -1
- package/dist/commands/deploy_help.js +1 -2
- package/dist/commands/dev.js +1 -1
- package/dist/commands/diff.js +1 -1
- package/dist/commands/docs.js +1 -1
- package/dist/commands/env.js +1 -1
- package/dist/commands/env_output.js +2 -3
- package/dist/commands/feedback.js +1 -1
- package/dist/commands/functions.js +1 -1
- package/dist/commands/functions_new.js +2 -3
- package/dist/commands/git.js +1 -1
- package/dist/commands/index.js +46 -47
- package/dist/commands/init.js +1 -1
- package/dist/commands/inspect.js +1 -1
- package/dist/commands/ip_allow.js +1 -1
- package/dist/commands/link.js +1 -1
- package/dist/commands/link_output.js +1 -2
- package/dist/commands/logs.js +1 -1
- package/dist/commands/manifest.js +1 -2
- package/dist/commands/mcp.js +1 -1
- package/dist/commands/neon_auth.js +1 -1
- package/dist/commands/open.js +1 -1
- package/dist/commands/operations.js +1 -1
- package/dist/commands/orgs.js +1 -1
- package/dist/commands/plugins.js +1 -1
- package/dist/commands/profile.js +1 -1
- package/dist/commands/projects.js +1 -1
- package/dist/commands/psql.js +1 -1
- package/dist/commands/realtime.js +1 -1
- package/dist/commands/roles.js +1 -1
- package/dist/commands/schema_diff.js +1 -2
- package/dist/commands/set_context.js +1 -1
- package/dist/commands/skills.js +1 -1
- package/dist/commands/snapshots.js +1 -1
- package/dist/commands/status.js +1 -1
- package/dist/commands/subscribe.js +2 -3
- package/dist/commands/thinking_spinner.js +1 -2
- package/dist/commands/triggers.js +1 -1
- package/dist/commands/user.js +1 -1
- package/dist/commands/vpc_endpoints.js +1 -1
- package/dist/config.js +2 -3
- package/dist/config_edit.js +1 -2
- package/dist/config_format.js +10 -3
- package/dist/config_services.js +1 -2
- package/dist/config_source.js +1 -2
- package/dist/config_template.js +37 -11
- package/dist/context.js +1 -2
- package/dist/credential_io.js +1 -1
- package/dist/current_branch_fast_path.js +1 -2
- package/dist/custom_domains_api.js +1 -2
- package/dist/dev/env.js +1 -1
- package/dist/dev/functions.js +1 -2
- package/dist/dev/inputs.js +1 -2
- package/dist/dev/runtime.js +1 -2
- package/dist/dev/websocket.js +1 -2
- package/dist/env.js +1 -2
- package/dist/env_file.js +1 -2
- package/dist/env_services.js +2 -3
- package/dist/error_reporting.js +80 -160
- package/dist/errors.js +1 -2
- package/dist/functions/registry.js +1 -2
- package/dist/functions/scaffold.js +1 -2
- package/dist/functions/source.js +1 -2
- package/dist/functions_api.js +1 -2
- package/dist/help.js +1 -2
- package/dist/human_table.js +1 -2
- package/dist/index.js +3 -4
- package/dist/init/agents.js +1 -2
- package/dist/init/auth.js +27 -7
- package/dist/init/bootstrap.js +1 -2
- package/dist/init/build_config.js +1 -2
- package/dist/init/cancelled.js +1 -2
- package/dist/init/choices.js +2 -3
- package/dist/init/chrome.js +1 -2
- package/dist/init/copy.js +1 -2
- package/dist/init/detect.js +4 -5
- package/dist/init/detect_host.js +1 -2
- package/dist/init/funnel.js +1 -2
- package/dist/init/link.js +4 -5
- package/dist/init/mode.js +1 -2
- package/dist/init/plan.js +1 -2
- package/dist/init/run.js +30 -9
- package/dist/init/template_title.js +1 -2
- package/dist/init/tooling.js +4 -5
- package/dist/init/wizard.js +2 -3
- package/dist/keyring.js +1 -2
- package/dist/log.js +1 -2
- package/dist/mcp/agents.js +1 -2
- package/dist/mcp/install.js +1 -2
- package/dist/mcp/mint.js +2 -3
- package/dist/mcp/plan.js +1 -2
- package/dist/mcp/targets.js +1 -2
- package/dist/mcp/wizard.js +1 -2
- package/dist/neon_services.js +1 -2
- package/dist/node_version.js +1 -2
- package/dist/notices.js +1 -2
- package/dist/parameters.gen.js +1 -2
- package/dist/pkg.js +1 -2
- package/dist/plugins/plan.js +1 -2
- package/dist/plugins/run.js +1 -2
- package/dist/plugins/targets.js +1 -2
- package/dist/profile_keys.js +1 -2
- package/dist/project.js +1 -2
- package/dist/psql/cli.js +2 -3
- package/dist/psql/command/cmd_cond.js +1 -2
- package/dist/psql/command/cmd_connect.js +1 -2
- package/dist/psql/command/cmd_copy.js +2 -3
- package/dist/psql/command/cmd_describe.js +1 -2
- package/dist/psql/command/cmd_format.js +1 -2
- package/dist/psql/command/cmd_io.js +1 -1
- package/dist/psql/command/cmd_lo.js +1 -2
- package/dist/psql/command/cmd_meta.js +1 -2
- package/dist/psql/command/cmd_misc.js +1 -2
- package/dist/psql/command/cmd_pipeline.js +1 -1
- package/dist/psql/command/cmd_restrict.js +1 -2
- package/dist/psql/command/cmd_show.js +1 -2
- package/dist/psql/command/dispatch.js +2 -3
- package/dist/psql/command/inputQueue.js +1 -2
- package/dist/psql/command/shared.js +1 -2
- package/dist/psql/complete/filenames.js +1 -2
- package/dist/psql/complete/index.js +1 -2
- package/dist/psql/complete/matcher.js +1 -2
- package/dist/psql/complete/psqlVars.js +1 -2
- package/dist/psql/complete/queries.js +1 -2
- package/dist/psql/complete/rules.js +1 -2
- package/dist/psql/core/common.js +1 -1
- package/dist/psql/core/help.js +1 -2
- package/dist/psql/core/mainloop.js +2 -3
- package/dist/psql/core/prompt.js +1 -2
- package/dist/psql/core/settings.js +1 -2
- package/dist/psql/core/sqlHelp.js +1 -2
- package/dist/psql/core/startup.js +1 -1
- package/dist/psql/core/syncVars.js +1 -2
- package/dist/psql/core/variables.js +1 -2
- package/dist/psql/describe/formatters.js +1 -2
- package/dist/psql/describe/processNamePattern.js +1 -2
- package/dist/psql/describe/queries.js +1 -2
- package/dist/psql/describe/versionGate.js +1 -2
- package/dist/psql/index.js +1 -1
- package/dist/psql/io/history.js +1 -2
- package/dist/psql/io/input.js +1 -2
- package/dist/psql/io/lineEditor/buffer.js +1 -2
- package/dist/psql/io/lineEditor/complete.js +1 -2
- package/dist/psql/io/lineEditor/filename.js +1 -2
- package/dist/psql/io/lineEditor/index.js +1 -2
- package/dist/psql/io/lineEditor/keymap.js +1 -2
- package/dist/psql/io/lineEditor/vt100.js +1 -2
- package/dist/psql/io/pgpass.js +1 -2
- package/dist/psql/io/pgservice.js +1 -2
- package/dist/psql/io/psqlrc.js +2 -3
- package/dist/psql/print/aligned.js +1 -2
- package/dist/psql/print/asciidoc.js +1 -2
- package/dist/psql/print/crosstab.js +1 -2
- package/dist/psql/print/csv.js +1 -2
- package/dist/psql/print/html.js +1 -2
- package/dist/psql/print/json.js +1 -2
- package/dist/psql/print/latex.js +1 -2
- package/dist/psql/print/pager.js +1 -2
- package/dist/psql/print/troff.js +1 -2
- package/dist/psql/print/unaligned.js +1 -2
- package/dist/psql/print/units.js +1 -2
- package/dist/psql/scanner/slash.js +1 -2
- package/dist/psql/scanner/sql.js +1 -2
- package/dist/psql/scanner/stringutils.js +1 -2
- package/dist/psql/types/scanner.js +1 -2
- package/dist/psql/wire/connection.js +1 -2
- package/dist/psql/wire/copy.js +1 -2
- package/dist/psql/wire/notify.js +1 -2
- package/dist/psql/wire/pipeline.js +1 -2
- package/dist/psql/wire/protocol.js +1 -2
- package/dist/psql/wire/sasl.js +1 -2
- package/dist/psql/wire/tls.js +1 -2
- package/dist/refresh_lock.js +1 -2
- package/dist/retire_credential.js +2 -3
- package/dist/skills/catalog.js +1 -2
- package/dist/skills/check_worker.js +1 -2
- package/dist/skills/freshness.js +1 -2
- package/dist/skills/plan.js +1 -2
- package/dist/skills/run.js +1 -2
- package/dist/skills/targets.js +1 -2
- package/dist/skills/wizard.js +1 -2
- package/dist/sso_recovery.js +1 -2
- package/dist/storage_api.js +1 -2
- package/dist/test_utils/fixtures.js +1 -2
- package/dist/test_utils/neon_api_server.js +1 -2
- package/dist/test_utils/npm_env.js +1 -2
- package/dist/test_utils/oauth_server.js +1 -2
- package/dist/test_utils/project_dir.js +1 -2
- package/dist/test_utils/registry.js +1 -2
- package/dist/test_utils/rotating_oauth_server.js +1 -2
- package/dist/update_check_worker.js +1 -2
- package/dist/update_notifier.js +1 -2
- package/dist/utils/agent_flag.js +1 -2
- package/dist/utils/agent_picker.js +1 -2
- package/dist/utils/ai_gateway_notice.js +1 -2
- package/dist/utils/api_enums.js +3 -3
- package/dist/utils/auth.js +1 -2
- package/dist/utils/branch_name.js +1 -2
- package/dist/utils/branch_notice.js +1 -2
- package/dist/utils/branch_picker.js +1 -2
- package/dist/utils/cli_name.js +1 -2
- package/dist/utils/compute_units.js +1 -2
- package/dist/utils/config_diff.js +1 -2
- package/dist/utils/enrichers.js +1 -2
- package/dist/utils/esbuild.js +1 -2
- package/dist/utils/flags.js +1 -2
- package/dist/utils/formats.js +1 -2
- package/dist/utils/function_slug.js +1 -2
- package/dist/utils/git.js +1 -2
- package/dist/utils/git_diff.js +1 -2
- package/dist/utils/help_text.js +1 -2
- package/dist/utils/hooks.js +2 -3
- package/dist/utils/inspect_db.js +3 -4
- package/dist/utils/inspect_queries.js +1 -2
- package/dist/utils/json_file.js +1 -2
- package/dist/utils/middlewares.js +2 -3
- package/dist/utils/openapi.js +1 -2
- package/dist/utils/package_manager.js +1 -2
- package/dist/utils/point_in_time.js +1 -2
- package/dist/utils/psql.js +1 -2
- package/dist/utils/repeated_flags.js +1 -2
- package/dist/utils/service_picker.js +2 -3
- package/dist/utils/staging.js +1 -2
- package/dist/utils/string.js +1 -2
- package/dist/utils/ui.js +1 -2
- package/dist/utils/write_sync.js +1 -2
- package/dist/utils/zip.js +1 -2
- package/dist/vendor/postgres-meta/constants.js +1 -2
- package/dist/vendor/postgres-meta/lib/PostgresMeta.js +1 -2
- package/dist/vendor/postgres-meta/lib/PostgresMetaColumnPrivileges.js +1 -2
- package/dist/vendor/postgres-meta/lib/PostgresMetaColumns.js +1 -2
- package/dist/vendor/postgres-meta/lib/PostgresMetaConfig.js +1 -2
- package/dist/vendor/postgres-meta/lib/PostgresMetaExtensions.js +1 -2
- package/dist/vendor/postgres-meta/lib/PostgresMetaForeignTables.js +1 -2
- package/dist/vendor/postgres-meta/lib/PostgresMetaFunctions.js +1 -2
- package/dist/vendor/postgres-meta/lib/PostgresMetaIndexes.js +1 -2
- package/dist/vendor/postgres-meta/lib/PostgresMetaMaterializedViews.js +1 -2
- package/dist/vendor/postgres-meta/lib/PostgresMetaPolicies.js +1 -2
- package/dist/vendor/postgres-meta/lib/PostgresMetaPublications.js +1 -2
- package/dist/vendor/postgres-meta/lib/PostgresMetaRelationships.js +1 -2
- package/dist/vendor/postgres-meta/lib/PostgresMetaRoles.js +1 -2
- package/dist/vendor/postgres-meta/lib/PostgresMetaSchemas.js +1 -2
- package/dist/vendor/postgres-meta/lib/PostgresMetaTablePrivileges.js +1 -2
- package/dist/vendor/postgres-meta/lib/PostgresMetaTables.js +1 -2
- package/dist/vendor/postgres-meta/lib/PostgresMetaTriggers.js +1 -2
- package/dist/vendor/postgres-meta/lib/PostgresMetaTypes.js +1 -2
- package/dist/vendor/postgres-meta/lib/PostgresMetaVersion.js +1 -2
- package/dist/vendor/postgres-meta/lib/PostgresMetaViews.js +1 -2
- package/dist/vendor/postgres-meta/lib/constants.js +1 -2
- package/dist/vendor/postgres-meta/lib/db.js +1 -2
- package/dist/vendor/postgres-meta/lib/generators.js +1 -2
- package/dist/vendor/postgres-meta/lib/helpers.js +1 -2
- package/dist/vendor/postgres-meta/lib/sql/column_privileges.sql.js +1 -2
- package/dist/vendor/postgres-meta/lib/sql/columns.sql.js +1 -2
- package/dist/vendor/postgres-meta/lib/sql/config.sql.js +1 -2
- package/dist/vendor/postgres-meta/lib/sql/extensions.sql.js +1 -2
- package/dist/vendor/postgres-meta/lib/sql/foreign_tables.sql.js +1 -2
- package/dist/vendor/postgres-meta/lib/sql/functions.sql.js +1 -2
- package/dist/vendor/postgres-meta/lib/sql/indexes.sql.js +1 -2
- package/dist/vendor/postgres-meta/lib/sql/materialized_views.sql.js +1 -2
- package/dist/vendor/postgres-meta/lib/sql/policies.sql.js +1 -2
- package/dist/vendor/postgres-meta/lib/sql/publications.sql.js +1 -2
- package/dist/vendor/postgres-meta/lib/sql/roles.sql.js +1 -2
- package/dist/vendor/postgres-meta/lib/sql/schemas.sql.js +1 -2
- package/dist/vendor/postgres-meta/lib/sql/table.sql.js +1 -2
- package/dist/vendor/postgres-meta/lib/sql/table_privileges.sql.js +1 -2
- package/dist/vendor/postgres-meta/lib/sql/table_relationships.sql.js +1 -2
- package/dist/vendor/postgres-meta/lib/sql/triggers.sql.js +1 -2
- package/dist/vendor/postgres-meta/lib/sql/types.sql.js +1 -2
- package/dist/vendor/postgres-meta/lib/sql/version.sql.js +1 -2
- package/dist/vendor/postgres-meta/lib/sql/views.sql.js +1 -2
- package/dist/vendor/postgres-meta/lib/sql/views_key_dependencies.sql.js +1 -2
- package/dist/vendor/postgres-meta/templates/typescript.js +1 -2
- package/dist/writer.js +1 -2
- package/package.json +8 -8
package/dist/cli.js
CHANGED
package/dist/commands/api.js
CHANGED
|
@@ -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-
|
|
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-
|
|
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";
|
package/dist/commands/ask.js
CHANGED
|
@@ -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-
|
|
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";
|
package/dist/commands/ask_sse.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
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 };
|
package/dist/commands/auth.js
CHANGED
|
@@ -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
|
|
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 existingApiClient, u as handler, d as isAccessTokenUsable, f as locationForAuth, p as refreshStoredCredentials, m as usableCredential } from "../_chunks/auth-rup6nemJ.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { n as builder, r as command, i as describe, a as handler } from "../_chunks/bootstrap-
|
|
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-
|
|
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";
|
package/dist/commands/bucket.js
CHANGED
|
@@ -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-
|
|
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-
|
|
1
|
+
export { t as builder, r as command, i as describe, a as formatCheckoutPolicyFailure, o as handler } from "../_chunks/checkout-BpOcFaAi.js";
|
package/dist/commands/claim.js
CHANGED
|
@@ -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-
|
|
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";
|
package/dist/commands/config.js
CHANGED
|
@@ -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-
|
|
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-BjCm5cfr.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-
|
|
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-
|
|
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-
|
|
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-
|
|
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";
|
package/dist/commands/deploy.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { t as builder, n as command, i as describe, a as handler } from "../_chunks/deploy-
|
|
1
|
+
export { t as builder, n as command, i as describe, a as handler } from "../_chunks/deploy-DmEEhux0.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
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 };
|
package/dist/commands/dev.js
CHANGED
|
@@ -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-
|
|
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-DlUJFzRs.js";
|
package/dist/commands/diff.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { t as builder, n as command, r as describe, a as handler } from "../_chunks/diff-
|
|
1
|
+
export { t as builder, n as command, r as describe, a as handler } from "../_chunks/diff-dnxneH0u.js";
|
package/dist/commands/docs.js
CHANGED
|
@@ -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-
|
|
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";
|
package/dist/commands/env.js
CHANGED
|
@@ -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-
|
|
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-
|
|
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
|
-
|
|
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-
|
|
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-
|
|
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";
|
|
@@ -8,14 +8,14 @@ import { writer } from "../writer.js";
|
|
|
8
8
|
import { formatInitDone, printInitDone } from "../init/chrome.js";
|
|
9
9
|
import { FUNCTION_SLUG_PATTERN, deriveFunctionSlug } from "../utils/function_slug.js";
|
|
10
10
|
import { displayPath } from "./env_output.js";
|
|
11
|
-
import { _ as missingDependencies, d as ensureConfigPackages, g as installCommandFrom } from "../_chunks/config-
|
|
11
|
+
import { _ as missingDependencies, d as ensureConfigPackages, g as installCommandFrom } from "../_chunks/config-BjCm5cfr.js";
|
|
12
12
|
import { recommendedOperations } from "../functions/registry.js";
|
|
13
13
|
import { collidingFiles, operationsFromFlags, planConfigRegistration, planEnvExample, planScaffold, writeScaffold } from "../functions/scaffold.js";
|
|
14
14
|
import { describeRegistrySource, openRegistry } from "../functions/source.js";
|
|
15
15
|
import { writeFileSync } from "node:fs";
|
|
16
16
|
import { dirname, join, resolve } from "node:path";
|
|
17
17
|
import prompts from "prompts";
|
|
18
|
-
|
|
18
|
+
// src/commands/functions_new.ts
|
|
19
19
|
const TEMPLATE_FIELDS = [
|
|
20
20
|
"id",
|
|
21
21
|
"title",
|
|
@@ -328,5 +328,4 @@ const handleNew = async (props) => {
|
|
|
328
328
|
}
|
|
329
329
|
printInitDone(formatNewFunctionDone(result));
|
|
330
330
|
};
|
|
331
|
-
//#endregion
|
|
332
331
|
export { formatNewFunctionDone, handleNew, listTemplates, scaffoldFromTemplate };
|
package/dist/commands/git.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { t as aliases, n as builder, r as cleanup, i as command, a as describe, s as handler, c as install, l as partitionBranchesToPrune, u as status, d as sync, f as uninstall } from "../_chunks/git-
|
|
1
|
+
export { t as aliases, n as builder, r as cleanup, i as command, a as describe, s as handler, c as install, l as partitionBranchesToPrune, u as status, d as sync, f as uninstall } from "../_chunks/git-j6xSVo3e.js";
|
package/dist/commands/index.js
CHANGED
|
@@ -1,49 +1,49 @@
|
|
|
1
|
-
import { r as auth_exports } from "../_chunks/auth-
|
|
2
|
-
import { t as api_exports } from "../_chunks/api-
|
|
3
|
-
import { n as api_keys_exports } from "../_chunks/api_keys-
|
|
4
|
-
import { n as ask_exports } from "../_chunks/ask-
|
|
5
|
-
import { o as env_exports } from "../_chunks/env-
|
|
6
|
-
import { c as config_exports } from "../_chunks/config-
|
|
7
|
-
import { u as projects_exports } from "../_chunks/projects-
|
|
8
|
-
import { a as link_exports } from "../_chunks/link-
|
|
9
|
-
import { o as mcp_exports } from "../_chunks/mcp-
|
|
10
|
-
import { c as plugins_exports } from "../_chunks/plugins-
|
|
11
|
-
import { l as skills_exports } from "../_chunks/skills-
|
|
12
|
-
import { t as bootstrap_exports } from "../_chunks/bootstrap-
|
|
13
|
-
import { r as branches_exports } from "../_chunks/branches-
|
|
14
|
-
import { n as bucket_exports } from "../_chunks/bucket-
|
|
15
|
-
import { n as checkout_exports } from "../_chunks/checkout-
|
|
16
|
-
import { o as claim_exports } from "../_chunks/claim-
|
|
17
|
-
import { a as connection_string_exports } from "../_chunks/connection_string-
|
|
18
|
-
import { a as credentials_exports } from "../_chunks/credentials-
|
|
19
|
-
import { r as data_api_exports } from "../_chunks/data_api-
|
|
20
|
-
import { o as databases_exports } from "../_chunks/databases-
|
|
21
|
-
import { r as deploy_exports } from "../_chunks/deploy-
|
|
22
|
-
import { s as dev_exports } from "../_chunks/dev-
|
|
23
|
-
import { i as diff_exports } from "../_chunks/diff-
|
|
24
|
-
import { c as docs_exports } from "../_chunks/docs-
|
|
25
|
-
import { o as feedback_exports } from "../_chunks/feedback-
|
|
26
|
-
import { o as functions_exports } from "../_chunks/functions-
|
|
27
|
-
import { o as git_exports } from "../_chunks/git-
|
|
28
|
-
import { a as init_exports } from "../_chunks/init-
|
|
29
|
-
import { o as inspect_exports } from "../_chunks/inspect-
|
|
30
|
-
import { a as ip_allow_exports } from "../_chunks/ip_allow-
|
|
31
|
-
import { l as logs_exports } from "../_chunks/logs-
|
|
32
|
-
import { a as neon_auth_exports } from "../_chunks/neon_auth-
|
|
33
|
-
import { a as open_exports } from "../_chunks/open-
|
|
34
|
-
import { s as operations_exports } from "../_chunks/operations-
|
|
35
|
-
import { o as orgs_exports } from "../_chunks/orgs-
|
|
36
|
-
import { o as profile_exports } from "../_chunks/profile-
|
|
37
|
-
import { a as psql_exports } from "../_chunks/psql-
|
|
38
|
-
import { s as realtime_exports } from "../_chunks/realtime-
|
|
39
|
-
import { l as roles_exports } from "../_chunks/roles-
|
|
40
|
-
import { a as set_context_exports } from "../_chunks/set_context-
|
|
41
|
-
import { s as snapshots_exports } from "../_chunks/snapshots-
|
|
42
|
-
import { a as status_exports } from "../_chunks/status-
|
|
43
|
-
import { d as triggers_exports } from "../_chunks/triggers-
|
|
44
|
-
import { s as user_exports } from "../_chunks/user-
|
|
45
|
-
import { i as vpc_endpoints_exports } from "../_chunks/vpc_endpoints-
|
|
46
|
-
|
|
1
|
+
import { r as auth_exports } from "../_chunks/auth-rup6nemJ.js";
|
|
2
|
+
import { t as api_exports } from "../_chunks/api-1MKsfpY3.js";
|
|
3
|
+
import { n as api_keys_exports } from "../_chunks/api_keys-6Xnxl7a8.js";
|
|
4
|
+
import { n as ask_exports } from "../_chunks/ask-Xlek1Pxh.js";
|
|
5
|
+
import { o as env_exports } from "../_chunks/env-BOt9AZ1j.js";
|
|
6
|
+
import { c as config_exports } from "../_chunks/config-BjCm5cfr.js";
|
|
7
|
+
import { u as projects_exports } from "../_chunks/projects-a3X4OFEJ.js";
|
|
8
|
+
import { a as link_exports } from "../_chunks/link-nAiuWKfg.js";
|
|
9
|
+
import { o as mcp_exports } from "../_chunks/mcp-BznTRK3w.js";
|
|
10
|
+
import { c as plugins_exports } from "../_chunks/plugins-CKOcBuuP.js";
|
|
11
|
+
import { l as skills_exports } from "../_chunks/skills-DKgafm65.js";
|
|
12
|
+
import { t as bootstrap_exports } from "../_chunks/bootstrap-BDkvsAVJ.js";
|
|
13
|
+
import { r as branches_exports } from "../_chunks/branches-Bp-5z1lM.js";
|
|
14
|
+
import { n as bucket_exports } from "../_chunks/bucket-D06bvDSa.js";
|
|
15
|
+
import { n as checkout_exports } from "../_chunks/checkout-BpOcFaAi.js";
|
|
16
|
+
import { o as claim_exports } from "../_chunks/claim-DlLZmcq0.js";
|
|
17
|
+
import { a as connection_string_exports } from "../_chunks/connection_string-C9e7N4xk.js";
|
|
18
|
+
import { a as credentials_exports } from "../_chunks/credentials-BMBNmW0t.js";
|
|
19
|
+
import { r as data_api_exports } from "../_chunks/data_api-CHDwvMTG.js";
|
|
20
|
+
import { o as databases_exports } from "../_chunks/databases-DC2h6IW2.js";
|
|
21
|
+
import { r as deploy_exports } from "../_chunks/deploy-DmEEhux0.js";
|
|
22
|
+
import { s as dev_exports } from "../_chunks/dev-DlUJFzRs.js";
|
|
23
|
+
import { i as diff_exports } from "../_chunks/diff-dnxneH0u.js";
|
|
24
|
+
import { c as docs_exports } from "../_chunks/docs-CClmgj_Z.js";
|
|
25
|
+
import { o as feedback_exports } from "../_chunks/feedback-mQmdTRFn.js";
|
|
26
|
+
import { o as functions_exports } from "../_chunks/functions-3ypiRwZK.js";
|
|
27
|
+
import { o as git_exports } from "../_chunks/git-j6xSVo3e.js";
|
|
28
|
+
import { a as init_exports } from "../_chunks/init-CcVJb492.js";
|
|
29
|
+
import { o as inspect_exports } from "../_chunks/inspect-yFAb61qo.js";
|
|
30
|
+
import { a as ip_allow_exports } from "../_chunks/ip_allow-DBdxNEUa.js";
|
|
31
|
+
import { l as logs_exports } from "../_chunks/logs-BB4uvblR.js";
|
|
32
|
+
import { a as neon_auth_exports } from "../_chunks/neon_auth-Dw-ucM5Y.js";
|
|
33
|
+
import { a as open_exports } from "../_chunks/open-T2nI89Oh.js";
|
|
34
|
+
import { s as operations_exports } from "../_chunks/operations-CzaR_uqx.js";
|
|
35
|
+
import { o as orgs_exports } from "../_chunks/orgs-Dpbr-K0A.js";
|
|
36
|
+
import { o as profile_exports } from "../_chunks/profile-BAlM625e.js";
|
|
37
|
+
import { a as psql_exports } from "../_chunks/psql-Bce4X0NG.js";
|
|
38
|
+
import { s as realtime_exports } from "../_chunks/realtime-BwtzYf5a.js";
|
|
39
|
+
import { l as roles_exports } from "../_chunks/roles-xRuu0462.js";
|
|
40
|
+
import { a as set_context_exports } from "../_chunks/set_context-ompB6d2D.js";
|
|
41
|
+
import { s as snapshots_exports } from "../_chunks/snapshots-DxNhjcco.js";
|
|
42
|
+
import { a as status_exports } from "../_chunks/status-BC4XXuuE.js";
|
|
43
|
+
import { d as triggers_exports } from "../_chunks/triggers-BfvyeJUC.js";
|
|
44
|
+
import { s as user_exports } from "../_chunks/user-D9mC430O.js";
|
|
45
|
+
import { i as vpc_endpoints_exports } from "../_chunks/vpc_endpoints-C-Y4WK2M.js";
|
|
46
|
+
// src/commands/index.ts
|
|
47
47
|
var commands_default = [
|
|
48
48
|
auth_exports,
|
|
49
49
|
profile_exports,
|
|
@@ -91,5 +91,4 @@ var commands_default = [
|
|
|
91
91
|
bucket_exports,
|
|
92
92
|
bootstrap_exports
|
|
93
93
|
];
|
|
94
|
-
//#endregion
|
|
95
94
|
export { commands_default as default };
|
package/dist/commands/init.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { t as builder, n as command, r as describe, i as handler } from "../_chunks/init-
|
|
1
|
+
export { t as builder, n as command, r as describe, i as handler } from "../_chunks/init-CcVJb492.js";
|
package/dist/commands/inspect.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { t as aliases, n as builder, r as command, i as describe, a as handler } from "../_chunks/inspect-
|
|
1
|
+
export { t as aliases, n as builder, r as command, i as describe, a as handler } from "../_chunks/inspect-yFAb61qo.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { t as builder, n as command, r as describe, i as handler } from "../_chunks/ip_allow-
|
|
1
|
+
export { t as builder, n as command, r as describe, i as handler } from "../_chunks/ip_allow-DBdxNEUa.js";
|
package/dist/commands/link.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { t as builder, n as command, r as describe, i as handler, o as quoteFlagValue, s as runLink, c as shouldOfferConfigInit } from "../_chunks/link-
|
|
1
|
+
export { t as builder, n as command, r as describe, i as handler, o as quoteFlagValue, s as runLink, c as shouldOfferConfigInit } from "../_chunks/link-nAiuWKfg.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { displayPath, row } from "./env_output.js";
|
|
2
|
-
|
|
2
|
+
// src/commands/link_output.ts
|
|
3
3
|
const formatLinkSummary = (summary, cwd) => {
|
|
4
4
|
const lines = [];
|
|
5
5
|
if (summary.created) lines.push(`Created project ${summary.projectName ?? summary.projectId}${summary.regionId ? ` in ${summary.regionId}` : ""}`);
|
|
@@ -13,5 +13,4 @@ const formatLinkSummary = (summary, cwd) => {
|
|
|
13
13
|
}
|
|
14
14
|
return `${lines.join("\n")}\n`;
|
|
15
15
|
};
|
|
16
|
-
//#endregion
|
|
17
16
|
export { formatLinkSummary };
|
package/dist/commands/logs.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { t as assertReachableLogsPage, n as buildLogsQueryBody, r as builder, i as command, a as describe, o as escapeLogSingleLine, s as escapeLogTableCell, c as handler } from "../_chunks/logs-
|
|
1
|
+
export { t as assertReachableLogsPage, n as buildLogsQueryBody, r as builder, i as command, a as describe, o as escapeLogSingleLine, s as escapeLogTableCell, c as handler } from "../_chunks/logs-BB4uvblR.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { getCliName } from "../utils/cli_name.js";
|
|
2
2
|
import { Parser } from "yargs/helpers";
|
|
3
|
-
|
|
3
|
+
// src/commands/manifest.ts
|
|
4
4
|
/**
|
|
5
5
|
* Every top-level command, with the metadata yargs needs to list and route it.
|
|
6
6
|
* A command's module (and everything it imports) loads only when yargs selects that command,
|
|
@@ -337,5 +337,4 @@ const comingSoonCommand = (entry, message) => ({
|
|
|
337
337
|
},
|
|
338
338
|
handler: () => {}
|
|
339
339
|
});
|
|
340
|
-
//#endregion
|
|
341
340
|
export { commandManifest, lazyCommands, preloadCommand, selectCommand, selectCompletionCommand };
|
package/dist/commands/mcp.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { t as builder, n as command, r as describe, i as handler, a as mcpInstallError, s as reportMcpInstall, c as setupNeonMcp } from "../_chunks/mcp-
|
|
1
|
+
export { t as builder, n as command, r as describe, i as handler, a as mcpInstallError, s as reportMcpInstall, c as setupNeonMcp } from "../_chunks/mcp-BznTRK3w.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { t as builder, n as command, r as describe, i as handler } from "../_chunks/neon_auth-
|
|
1
|
+
export { t as builder, n as command, r as describe, i as handler } from "../_chunks/neon_auth-Dw-ucM5Y.js";
|
package/dist/commands/open.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { t as builder, n as command, r as describe, i as handler, o as projectConsoleUrl } from "../_chunks/open-
|
|
1
|
+
export { t as builder, n as command, r as describe, i as handler, o as projectConsoleUrl } from "../_chunks/open-T2nI89Oh.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { t as aliases, n as builder, r as command, i as describe, a as handler, o as list } from "../_chunks/operations-
|
|
1
|
+
export { t as aliases, n as builder, r as command, i as describe, a as handler, o as list } from "../_chunks/operations-CzaR_uqx.js";
|
package/dist/commands/orgs.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { t as aliases, n as builder, r as command, i as describe, a as handler, s as planName } from "../_chunks/orgs-
|
|
1
|
+
export { t as aliases, n as builder, r as command, i as describe, a as handler, s as planName } from "../_chunks/orgs-Dpbr-K0A.js";
|
package/dist/commands/plugins.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { t as aliases, n as builder, r as command, i as describe, a as handler, o as installPlugins, s as pluginsInstallError, l as reportPluginsInstall } from "../_chunks/plugins-
|
|
1
|
+
export { t as aliases, n as builder, r as command, i as describe, a as handler, o as installPlugins, s as pluginsInstallError, l as reportPluginsInstall } from "../_chunks/plugins-CKOcBuuP.js";
|
package/dist/commands/profile.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { t as aliases, n as builder, r as command, i as describe, a as handler } from "../_chunks/profile-
|
|
1
|
+
export { t as aliases, n as builder, r as command, i as describe, a as handler } from "../_chunks/profile-BAlM625e.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { t as PROJECT_FIELDS, n as RECOVERABLE_PROJECT_FIELDS, r as REGIONS, i as aliases, a as builder, o as command, s as describe, c as formatDuration, l as handler } from "../_chunks/projects-
|
|
1
|
+
export { t as PROJECT_FIELDS, n as RECOVERABLE_PROJECT_FIELDS, r as REGIONS, i as aliases, a as builder, o as command, s as describe, c as formatDuration, l as handler } from "../_chunks/projects-a3X4OFEJ.js";
|
package/dist/commands/psql.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { t as builder, n as command, r as describe, i as handler } from "../_chunks/psql-
|
|
1
|
+
export { t as builder, n as command, r as describe, i as handler } from "../_chunks/psql-Bce4X0NG.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { t as builder, n as command, r as describe, i as disable, a as enable, o as handler, c as rotateSecret } from "../_chunks/realtime-
|
|
1
|
+
export { t as builder, n as command, r as describe, i as disable, a as enable, o as handler, c as rotateSecret } from "../_chunks/realtime-BwtzYf5a.js";
|
package/dist/commands/roles.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { t as aliases, n as builder, r as command, i as create, a as deleteRole, o as describe, s as handler, c as list } from "../_chunks/roles-
|
|
1
|
+
export { t as aliases, n as builder, r as command, i as create, a as deleteRole, o as describe, s as handler, c as list } from "../_chunks/roles-xRuu0462.js";
|
|
@@ -6,7 +6,7 @@ import { listAllProjectBranchesWithAnnotations, resolveBranchFromProps } from ".
|
|
|
6
6
|
import { parsePointInTime } from "../utils/point_in_time.js";
|
|
7
7
|
import chalk from "chalk";
|
|
8
8
|
import { createPatch } from "diff";
|
|
9
|
-
|
|
9
|
+
// src/commands/schema_diff.ts
|
|
10
10
|
const COLORS = {
|
|
11
11
|
added: chalk.green,
|
|
12
12
|
removed: chalk.red,
|
|
@@ -122,5 +122,4 @@ const parseSchemaDiffParams = async (props) => {
|
|
|
122
122
|
}
|
|
123
123
|
return props;
|
|
124
124
|
};
|
|
125
|
-
//#endregion
|
|
126
125
|
export { parseSchemaDiffParams, schemaDiff };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { t as builder, n as command, r as describe, i as handler } from "../_chunks/set_context-
|
|
1
|
+
export { t as builder, n as command, r as describe, i as handler } from "../_chunks/set_context-ompB6d2D.js";
|
package/dist/commands/skills.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { t as aliases, n as builder, r as command, i as describe, a as handler, o as installSkills, s as reportSkillsInstall, c as skillsInstallError } from "../_chunks/skills-
|
|
1
|
+
export { t as aliases, n as builder, r as command, i as describe, a as handler, o as installSkills, s as reportSkillsInstall, c as skillsInstallError } from "../_chunks/skills-DKgafm65.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { t as SNAPSHOT_FIELDS, n as aliases, r as builder, i as command, a as describe, o as handler } from "../_chunks/snapshots-
|
|
1
|
+
export { t as SNAPSHOT_FIELDS, n as aliases, r as builder, i as command, a as describe, o as handler } from "../_chunks/snapshots-DxNhjcco.js";
|
package/dist/commands/status.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { t as builder, n as command, r as describe, i as handler } from "../_chunks/status-
|
|
1
|
+
export { t as builder, n as command, r as describe, i as handler } from "../_chunks/status-BC4XXuuE.js";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { writer } from "../writer.js";
|
|
2
|
+
import { o as resolveNeonEnvVars } from "../_chunks/env-CIFMBEon.js";
|
|
2
3
|
import { branchIdFromProps } from "../utils/enrichers.js";
|
|
3
|
-
import { o as resolveNeonEnvVars } from "../_chunks/env-BNm69Qh8.js";
|
|
4
4
|
import YAML from "yaml";
|
|
5
|
-
|
|
5
|
+
// src/commands/subscribe.ts
|
|
6
6
|
const builder = (argv) => argv.usage("$0 realtime subscribe \"<query>\" [options]").positional("query", {
|
|
7
7
|
describe: "SELECT query to subscribe to",
|
|
8
8
|
type: "string"
|
|
@@ -337,5 +337,4 @@ const attempt = (fail, action) => {
|
|
|
337
337
|
fail(error);
|
|
338
338
|
}
|
|
339
339
|
};
|
|
340
|
-
//#endregion
|
|
341
340
|
export { builder, handler, subscribe };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { t as TRIGGER_FIELDS, n as aliases, r as builder, i as command, a as create, o as deleteTrigger, s as describe, c as get, l as handler, u as list, f as update } from "../_chunks/triggers-
|
|
1
|
+
export { t as TRIGGER_FIELDS, n as aliases, r as builder, i as command, a as create, o as deleteTrigger, s as describe, c as get, l as handler, u as list, f as update } from "../_chunks/triggers-BfvyeJUC.js";
|
package/dist/commands/user.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { t as authenticationLabel, n as builder, r as command, i as describe, a as handler, o as userDetails } from "../_chunks/user-
|
|
1
|
+
export { t as authenticationLabel, n as builder, r as command, i as describe, a as handler, o as userDetails } from "../_chunks/user-D9mC430O.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { t as builder, n as command, r as describe } from "../_chunks/vpc_endpoints-
|
|
1
|
+
export { t as builder, n as command, r as describe } from "../_chunks/vpc_endpoints-C-Y4WK2M.js";
|
package/dist/config.js
CHANGED
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import { isCi } from "./env.js";
|
|
2
|
-
import { a as isOwnedCredentialPath, i as isInsideConfigDir, n as credentialsPath, r as defaultDir, t as CREDENTIALS_FILE } from "./_chunks/paths-
|
|
2
|
+
import { a as isOwnedCredentialPath, i as isInsideConfigDir, n as credentialsPath, r as defaultDir, t as CREDENTIALS_FILE } from "./_chunks/paths-B55ZfOg1.js";
|
|
3
3
|
import { existsSync, mkdirSync } from "node:fs";
|
|
4
|
-
|
|
4
|
+
// src/config.ts
|
|
5
5
|
const ensureConfigDir = ({ "config-dir": configDirArg, "force-auth": forceAuth }) => {
|
|
6
6
|
if (!existsSync(configDirArg) && (!isCi() || forceAuth)) mkdirSync(configDirArg, { recursive: true });
|
|
7
7
|
};
|
|
8
|
-
//#endregion
|
|
9
8
|
export { CREDENTIALS_FILE, credentialsPath, defaultDir, ensureConfigDir, isInsideConfigDir, isOwnedCredentialPath };
|
package/dist/config_edit.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { SourceScanError, classify, entryObject, findConfigObject, findEntry, isCodeAt, isCommentAt, lineIndent, lineStart, scanObject } from "./config_source.js";
|
|
2
2
|
import { renderKey } from "./config_template.js";
|
|
3
|
-
|
|
3
|
+
// src/config_edit.ts
|
|
4
4
|
/**
|
|
5
5
|
* Edits to an existing `neon.ts`, applied as text splices so comments, formatting, and every
|
|
6
6
|
* property the edit does not name survive untouched. The file is never regenerated.
|
|
@@ -287,5 +287,4 @@ const editNeonConfig = (source, edit) => {
|
|
|
287
287
|
if (result.changes.length > 0 && apply(result.source, edit).changes.length > 0) throw new ConfigEditError("Editing neon.ts would not produce a file that declares the requested change. Nothing was written.");
|
|
288
288
|
return result;
|
|
289
289
|
};
|
|
290
|
-
//#endregion
|
|
291
290
|
export { ConfigEditError, TYPESCRIPT_EXTENSION, asRelativeModulePath, editNeonConfig };
|
package/dist/config_format.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
// src/config_format.ts
|
|
2
2
|
/**
|
|
3
3
|
* Render a TTL in whole seconds back to the canonical `neon.ts` duration string (e.g.
|
|
4
4
|
* `604800` -> `"7d"`), falling back to seconds when no clean unit boundary matches. Mirrors
|
|
@@ -28,7 +28,7 @@ const formatDurationSeconds = (totalSeconds) => {
|
|
|
28
28
|
const toNeonConfigView = (resolved, preview) => {
|
|
29
29
|
const view = {};
|
|
30
30
|
if (resolved.authEnabled) view.auth = true;
|
|
31
|
-
if (resolved.dataApiEnabled) view.dataApi =
|
|
31
|
+
if (resolved.dataApiEnabled) view.dataApi = toDataApiView(resolved.dataApi);
|
|
32
32
|
const previewView = toPreviewView(preview);
|
|
33
33
|
if (previewView) view.preview = previewView;
|
|
34
34
|
const branch = {};
|
|
@@ -39,6 +39,14 @@ const toNeonConfigView = (resolved, preview) => {
|
|
|
39
39
|
if (Object.keys(branch).length > 0) view.branch = branch;
|
|
40
40
|
return view;
|
|
41
41
|
};
|
|
42
|
+
const toDataApiView = (dataApi) => {
|
|
43
|
+
if (dataApi?.authProvider !== "external") return true;
|
|
44
|
+
const view = { authProvider: "external" };
|
|
45
|
+
if (dataApi.jwksUrl !== void 0) view.jwksUrl = dataApi.jwksUrl;
|
|
46
|
+
if (dataApi.providerName !== void 0) view.providerName = dataApi.providerName;
|
|
47
|
+
if (dataApi.jwtAudience !== void 0) view.jwtAudience = dataApi.jwtAudience;
|
|
48
|
+
return view;
|
|
49
|
+
};
|
|
42
50
|
const toPreviewView = (preview) => {
|
|
43
51
|
if (!preview) return void 0;
|
|
44
52
|
const out = {};
|
|
@@ -52,5 +60,4 @@ const toPreviewView = (preview) => {
|
|
|
52
60
|
}));
|
|
53
61
|
return Object.keys(out).length > 0 ? out : void 0;
|
|
54
62
|
};
|
|
55
|
-
//#endregion
|
|
56
63
|
export { formatDurationSeconds, toNeonConfigView };
|
package/dist/config_services.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { authoredAiGateway, authoredBuckets, authoredFunctions } from "@neon/config";
|
|
2
|
-
|
|
2
|
+
// src/config_services.ts
|
|
3
3
|
const isClaimableService = (service) => service !== "realtime";
|
|
4
4
|
const isToggleEnabled = (toggle) => {
|
|
5
5
|
if (toggle === void 0) return false;
|
|
@@ -53,5 +53,4 @@ const claimableDataApiCreateBody = (config) => {
|
|
|
53
53
|
}
|
|
54
54
|
return withSettings({ auth_provider: "neon_auth" });
|
|
55
55
|
};
|
|
56
|
-
//#endregion
|
|
57
56
|
export { claimableDataApiCreateBody, declaredClaimableNeonServices, declaredNeonServices, isClaimableService };
|
package/dist/config_source.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
// src/config_source.ts
|
|
2
2
|
/**
|
|
3
3
|
* A scanner for the shape of a `neon.ts` file, just deep enough to find the config object
|
|
4
4
|
* literal and the spans of its properties, so an edit can splice text into the file and leave
|
|
@@ -266,5 +266,4 @@ const lineIndent = (source, index) => {
|
|
|
266
266
|
const isCommentAt = (kinds, index) => kinds[index] === COMMENT;
|
|
267
267
|
/** Whether the character at `index` is code (not a comment, string, or regex). */
|
|
268
268
|
const isCodeAt = (kinds, index) => kinds[index] === CODE;
|
|
269
|
-
//#endregion
|
|
270
269
|
export { SourceScanError, classify, entryObject, findConfigObject, findEntry, isCodeAt, isCommentAt, lineIndent, lineStart, scanObject };
|