okengine 0.11.2 → 0.12.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/manifest.v1.schema.json +1 -1
- package/package.json +57 -3
- package/site/content/docs/ai/index.mdx +2 -2
- package/site/content/docs/ai/llms-txt.mdx +21 -16
- package/site/content/docs/ai/mcp.mdx +1 -1
- package/site/content/docs/ai/skills.mdx +16 -14
- package/site/content/docs/deployment/docker-swarm.mdx +7 -8
- package/site/content/docs/deployment/docker.mdx +20 -12
- package/site/content/docs/deployment/index.mdx +2 -2
- package/site/content/docs/deployment/kubernetes.mdx +2 -2
- package/site/content/docs/deployment/reverse-proxy.mdx +39 -21
- package/site/content/docs/elements/ai.mdx +25 -15
- package/site/content/docs/elements/channel.mdx +2 -2
- package/site/content/docs/elements/clock.mdx +11 -1
- package/site/content/docs/elements/flow.mdx +66 -16
- package/site/content/docs/elements/gate.mdx +47 -39
- package/site/content/docs/elements/signal.mdx +2 -2
- package/site/content/docs/elements/store.mdx +191 -48
- package/site/content/docs/elements/vault.mdx +126 -41
- package/site/content/docs/get-started/basic-usage.mdx +14 -6
- package/site/content/docs/get-started/installation.mdx +24 -16
- package/site/content/docs/plugins/cors.mdx +9 -9
- package/site/content/docs/plugins/csrf.mdx +1 -1
- package/site/content/docs/providers/cockroachdb.mdx +13 -0
- package/site/content/docs/providers/neon.mdx +22 -0
- package/site/content/docs/providers/supabase.mdx +17 -0
- package/site/content/docs/providers/yugabytedb.mdx +15 -0
- package/site/content/docs/recipes/caddy.mdx +3 -3
- package/site/content/docs/recipes/cockroachdb.mdx +8 -2
- package/site/content/docs/recipes/index.mdx +6 -1
- package/site/content/docs/recipes/llama-cpp.mdx +5 -6
- package/site/content/docs/recipes/mailpit.mdx +3 -3
- package/site/content/docs/recipes/meilisearch.mdx +4 -4
- package/site/content/docs/recipes/meta.json +1 -0
- package/site/content/docs/recipes/nginx.mdx +117 -0
- package/site/content/docs/recipes/ollama.mdx +3 -3
- package/site/content/docs/recipes/pgdog.mdx +1 -1
- package/site/content/docs/recipes/postgres.mdx +44 -8
- package/site/content/docs/recipes/redis.mdx +7 -2
- package/site/content/docs/recipes/rustfs.mdx +4 -4
- package/site/content/docs/recipes/sglang.mdx +2 -2
- package/site/content/docs/recipes/supabase-docker.mdx +24 -0
- package/site/content/docs/recipes/timescale.mdx +30 -6
- package/site/content/docs/recipes/traefik.mdx +10 -7
- package/site/content/docs/recipes/vllm.mdx +2 -2
- package/site/content/docs/recipes/yugabytedb.mdx +7 -1
- package/site/content/docs/reference/cli.md +67 -34
- package/site/content/docs/reference/client.mdx +39 -20
- package/site/content/docs/reference/configuration.mdx +31 -24
- package/site/content/docs/reference/environment-variables.mdx +23 -20
- package/site/content/docs/reference/errors.mdx +25 -20
- package/site/content/docs/reference/fx.mdx +19 -12
- package/site/content/docs/reference/plugins.mdx +2 -2
- package/site/content/docs/reference/security.md +16 -7
- package/src/auth/auth.test.ts +2 -2
- package/src/auth/bindings.ts +5 -5
- package/src/auth/config.ts +8 -0
- package/src/auth/gate-auth.test.ts +5 -5
- package/src/auth/index.ts +3 -0
- package/src/auth/operator.ts +1 -1
- package/src/auth/password-policy.test.ts +142 -5
- package/src/auth/password-policy.ts +128 -12
- package/src/auth/plugin.ts +2 -2
- package/src/cli/ai-setup/ai-setup.test.ts +1 -1
- package/src/cli/ai-setup/apply.ts +3 -18
- package/src/cli/ai-setup/index.ts +4 -4
- package/src/cli/ai-setup/prompts.ts +1 -1
- package/src/cli/ask-seed.test.ts +27 -0
- package/src/cli/ask-seed.ts +11 -7
- package/src/cli/attach-host-console.test.ts +134 -0
- package/src/cli/attach-host-console.ts +100 -0
- package/src/cli/console-cmd.test.ts +81 -0
- package/src/cli/console-cmd.ts +107 -0
- package/src/cli/db-seed.ts +14 -3
- package/src/cli/db.test.ts +37 -2
- package/src/cli/db.ts +26 -0
- package/src/cli/dev-app-runner.ts +6 -40
- package/src/cli/dev-console-vite.test.ts +86 -0
- package/src/cli/dev-console-vite.ts +164 -0
- package/src/cli/dev-schema-sync.ts +2 -2
- package/src/cli/dev.test.ts +78 -2
- package/src/cli/dev.ts +170 -56
- package/src/cli/docker-cli.test.ts +2 -2
- package/src/cli/docker.ts +1 -1
- package/src/cli/doctor.ts +2 -1
- package/src/cli/drizzle-env.test.ts +4 -9
- package/src/cli/drizzle-env.ts +2 -2
- package/src/cli/hero-meta.test.ts +37 -0
- package/src/cli/hero-meta.ts +30 -9
- package/src/cli/index.ts +5 -0
- package/src/cli/load-config.images.test.ts +12 -12
- package/src/cli/load-config.ts +1 -1
- package/src/cli/project-state.test.ts +6 -2
- package/src/cli/project-state.ts +27 -11
- package/src/cli/registry.ts +11 -0
- package/src/cli/replay.ts +7 -2
- package/src/cli/vault-cmd.test.ts +2 -0
- package/src/cli/vault-cmd.ts +7 -2
- package/src/client/create.test.ts +38 -2
- package/src/client/create.ts +16 -11
- package/src/client/index.ts +6 -0
- package/src/client/pager.test.ts +66 -0
- package/src/client/pager.ts +138 -0
- package/src/client/transport.ts +9 -6
- package/src/client/types.ts +58 -10
- package/src/compiler/aot.test.ts +12 -2
- package/src/compiler/effects-infer.ts +13 -4
- package/src/compiler/extract.test.ts +243 -5
- package/src/compiler/extract.ts +323 -58
- package/src/compiler/fixtures/skyport/src/flows/bookings/index.ts +2 -2
- package/src/compiler/fixtures/skyport/src/gates.ts +2 -0
- package/src/compiler/fixtures/skyport.expected.json +4 -0
- package/src/config/driver-defaults.test.ts +3 -0
- package/src/config/driver-defaults.ts +14 -0
- package/src/config/index.ts +5 -0
- package/src/console/budget.test.ts +27 -37
- package/src/console/index.ts +3 -0
- package/src/console/password-policy.ts +89 -0
- package/src/console/server/app.ts +138 -12
- package/src/console/server/auth-rate.test.ts +3 -3
- package/src/console/server/auth-store.test.ts +222 -0
- package/src/console/server/auth-store.ts +499 -0
- package/src/console/server/bind.ts +2 -3
- package/src/console/server/channels.test.ts +1 -1
- package/src/console/server/claim.test.ts +60 -1
- package/src/console/server/claim.ts +137 -2
- package/src/console/server/console.test.ts +102 -6
- package/src/console/server/dry-run.audit.test.ts +5 -2
- package/src/console/server/files-catalog.test.ts +51 -0
- package/src/console/server/files-catalog.ts +122 -0
- package/src/console/server/flows-invoke.test.ts +655 -38
- package/src/console/server/flows.ts +907 -90
- package/src/console/server/gates.test.ts +59 -0
- package/src/console/server/gates.ts +17 -14
- package/src/console/server/i18n.ts +7 -4
- package/src/console/server/index-search.test.ts +57 -0
- package/src/console/server/index-search.ts +102 -0
- package/src/console/server/index.ts +32 -1
- package/src/console/server/instances.test.ts +68 -0
- package/src/console/server/instances.ts +58 -0
- package/src/console/server/invoke-user-flow.test.ts +206 -0
- package/src/console/server/invoke-user-flow.ts +367 -0
- package/src/console/server/live.test.ts +44 -1
- package/src/console/server/live.ts +16 -0
- package/src/console/server/operator-db.test.ts +5 -5
- package/src/console/server/operator-db.ts +2 -2
- package/src/console/server/panel-load.ts +1 -0
- package/src/console/server/plugin.ts +12 -2
- package/src/console/server/runs-history.test.ts +143 -0
- package/src/console/server/runs-ingest.test.ts +379 -0
- package/src/console/server/runs-ingest.ts +127 -0
- package/src/console/server/runs-list-nesting.test.ts +97 -0
- package/src/console/server/runs-pii.test.ts +69 -0
- package/src/console/server/runs-pii.ts +50 -4
- package/src/console/server/runs-query-guard.test.ts +75 -0
- package/src/console/server/runs-query-guard.ts +224 -0
- package/src/console/server/runs-query-mask.test.ts +37 -0
- package/src/console/server/runs-query-mask.ts +82 -0
- package/src/console/server/runs-query.test.ts +287 -0
- package/src/console/server/runs-query.ts +107 -0
- package/src/console/server/security-headers.ts +21 -2
- package/src/console/server/security.gate.test.ts +306 -3
- package/src/console/server/serve.ts +138 -9
- package/src/console/server/spa-paths.test.ts +36 -0
- package/src/console/server/spa-proxy.test.ts +86 -0
- package/src/console/server/sql-catalog.ts +572 -0
- package/src/console/server/sql-extension.test.ts +19 -0
- package/src/console/server/sql-rls.test.ts +44 -0
- package/src/console/server/state.ts +445 -7
- package/src/console/server/store-kv-stats.test.ts +178 -0
- package/src/console/server/store-kv-stats.ts +339 -0
- package/src/console/server/store-stats.test.ts +165 -0
- package/src/console/server/store-stats.ts +526 -0
- package/src/console/server/store.test.ts +930 -0
- package/src/console/server/store.ts +859 -76
- package/src/console/server/traces-replay.test.ts +212 -0
- package/src/console/server/vault-http.test.ts +458 -0
- package/src/console/server/vault-overlay.test.ts +49 -0
- package/src/console/server/vault-overlay.ts +99 -0
- package/src/console/server/vault.test.ts +75 -0
- package/src/console/server/vault.ts +443 -27
- package/src/console/ui-next/components.json +26 -0
- package/src/console/ui-next/dist/assets/bash-CLZ0U2zV.js +1 -0
- package/src/console/ui-next/dist/assets/cache-glyph-CLPBqZeb.js +1 -0
- package/src/console/ui-next/dist/assets/call-pii-button-bqkxMrJH.js +1 -0
- package/src/console/ui-next/dist/assets/collapsible-DYb0xU8C.js +1 -0
- package/src/console/ui-next/dist/assets/confirm-sheet-DDCRmG62.js +1 -0
- package/src/console/ui-next/dist/assets/dagre.esm-ZwcdTuZZ.js +1 -0
- package/src/console/ui-next/dist/assets/duration-tone-oiRxPVsZ.js +9 -0
- package/src/console/ui-next/dist/assets/explorer-empty-HjTnVQoR.js +1 -0
- package/src/console/ui-next/dist/assets/flows-page-C_Tas1E1.js +1 -0
- package/src/console/ui-next/dist/assets/github-dark-C-LZuMrd.js +1 -0
- package/src/console/ui-next/dist/assets/github-light-EUqPIrTm.js +1 -0
- package/src/console/ui-next/dist/assets/highlighted-json-CvDPvveV.js +154 -0
- package/src/console/ui-next/dist/assets/http-method-BJ92Z_ke.js +1 -0
- package/src/console/ui-next/dist/assets/index-D4Ldtj79.css +2 -0
- package/src/console/ui-next/dist/assets/index-DX248G39.js +66 -0
- package/src/console/ui-next/dist/assets/json-qhed-kSA.js +1 -0
- package/src/console/ui-next/dist/assets/link-DF7SZ9Ek.js +1 -0
- package/src/console/ui-next/dist/assets/observability-page-BwVS5Jvm.js +4 -0
- package/src/console/ui-next/dist/assets/preload-helper-oH4irX4C.js +1 -0
- package/src/console/ui-next/dist/assets/query-gate-parts-1m8m1iNp.js +2 -0
- package/src/console/ui-next/dist/assets/react-B1ML8gxg.js +1 -0
- package/src/console/ui-next/dist/assets/react-dom-Bph1y7z7.js +9 -0
- package/src/console/ui-next/dist/assets/replica-lag-C8_BRt2x.js +18 -0
- package/src/console/ui-next/dist/assets/rolldown-runtime-hePW80VL.js +1 -0
- package/src/console/ui-next/dist/assets/sheet-form-D-ata7jy.js +1 -0
- package/src/console/ui-next/dist/assets/shortcut-Cgzuv4k1.js +1 -0
- package/src/console/ui-next/dist/assets/shortcut-keys-DO4IsVqv.js +1 -0
- package/src/console/ui-next/dist/assets/skeleton-CL_X0GCj.js +1 -0
- package/src/console/ui-next/dist/assets/sql-BskegiFM.js +1 -0
- package/src/console/ui-next/dist/assets/store-page-v3LXdYpr.js +45 -0
- package/src/console/ui-next/dist/assets/trace-detail-sheet-D16lWQMt.js +2 -0
- package/src/console/ui-next/dist/assets/tsx-udAQXfEw.js +1 -0
- package/src/console/ui-next/dist/assets/typescript-bsJCZSQ-.js +1 -0
- package/src/console/ui-next/dist/assets/units-page-C5KOI7qG.js +1 -0
- package/src/console/ui-next/dist/assets/use-vault-list-Cl79j_ku.js +1 -0
- package/src/console/ui-next/dist/assets/vault-page-CSOYMHhO.js +2 -0
- package/src/console/ui-next/dist/assets/xyflow-D7n4g6go.js +7 -0
- package/src/console/ui-next/dist/assets/xyflow-DZ0Ws1xk.css +1 -0
- package/src/console/ui-next/dist/favicon.svg +6 -0
- package/src/console/ui-next/dist/index.html +56 -0
- package/src/console/ui-next/index.html +45 -0
- package/src/console/ui-next/public/favicon.svg +6 -0
- package/src/console/ui-next/seed-invoke-host.test.ts +47 -0
- package/src/console/ui-next/seed-invoke-host.ts +199 -0
- package/src/console/ui-next/seed-invoke-ops.test.ts +280 -0
- package/src/console/ui-next/seed-invoke-ops.ts +587 -0
- package/src/console/ui-next/src/client-session.test.ts +22 -0
- package/src/console/ui-next/src/client.ts +1379 -0
- package/src/console/ui-next/src/components/agents/agent-code.tsx +207 -0
- package/src/console/ui-next/src/components/agents/agent-disclosure.tsx +63 -0
- package/src/console/ui-next/src/components/agents/file-diff.tsx +271 -0
- package/src/console/ui-next/src/components/auth-card.tsx +298 -0
- package/src/console/ui-next/src/components/charts/animation.ts +36 -0
- package/src/console/ui-next/src/components/charts/area-chart-loading.tsx +115 -0
- package/src/console/ui-next/src/components/charts/area-chart.tsx +261 -0
- package/src/console/ui-next/src/components/charts/area-gradient-defs.tsx +98 -0
- package/src/console/ui-next/src/components/charts/area.tsx +349 -0
- package/src/console/ui-next/src/components/charts/chart-child-passthrough.ts +110 -0
- package/src/console/ui-next/src/components/charts/chart-config-context.tsx +81 -0
- package/src/console/ui-next/src/components/charts/chart-context.tsx +414 -0
- package/src/console/ui-next/src/components/charts/chart-defs.ts +61 -0
- package/src/console/ui-next/src/components/charts/chart-formatters.ts +26 -0
- package/src/console/ui-next/src/components/charts/chart-legend-hover.tsx +41 -0
- package/src/console/ui-next/src/components/charts/chart-loading-label.tsx +56 -0
- package/src/console/ui-next/src/components/charts/chart-phase.ts +52 -0
- package/src/console/ui-next/src/components/charts/chart-reveal-clip.tsx +87 -0
- package/src/console/ui-next/src/components/charts/composed-chart.tsx +333 -0
- package/src/console/ui-next/src/components/charts/dash-tail-stroke.tsx +75 -0
- package/src/console/ui-next/src/components/charts/decimate-time-series.ts +134 -0
- package/src/console/ui-next/src/components/charts/fade-edges.ts +52 -0
- package/src/console/ui-next/src/components/charts/filter-data-by-x-domain.ts +59 -0
- package/src/console/ui-next/src/components/charts/generate-chart-skeleton-data.ts +42 -0
- package/src/console/ui-next/src/components/charts/grid.tsx +299 -0
- package/src/console/ui-next/src/components/charts/highlight-segment-bounds.ts +68 -0
- package/src/console/ui-next/src/components/charts/highlight-segment.tsx +65 -0
- package/src/console/ui-next/src/components/charts/indicator-fade.ts +62 -0
- package/src/console/ui-next/src/components/charts/line-chart-loading.tsx +111 -0
- package/src/console/ui-next/src/components/charts/line-chart.tsx +293 -0
- package/src/console/ui-next/src/components/charts/line-loading-pulse.tsx +201 -0
- package/src/console/ui-next/src/components/charts/line-loading-timing.ts +12 -0
- package/src/console/ui-next/src/components/charts/line-series-terminal-marker.tsx +91 -0
- package/src/console/ui-next/src/components/charts/line.tsx +384 -0
- package/src/console/ui-next/src/components/charts/loading-sweep.tsx +452 -0
- package/src/console/ui-next/src/components/charts/motion-utils.ts +47 -0
- package/src/console/ui-next/src/components/charts/path-stroke-utils.ts +82 -0
- package/src/console/ui-next/src/components/charts/pattern-area.tsx +45 -0
- package/src/console/ui-next/src/components/charts/projection-config.ts +112 -0
- package/src/console/ui-next/src/components/charts/projection-line-end-marker.tsx +51 -0
- package/src/console/ui-next/src/components/charts/projection-line.tsx +208 -0
- package/src/console/ui-next/src/components/charts/projection-utils.ts +378 -0
- package/src/console/ui-next/src/components/charts/reference-area-config.ts +59 -0
- package/src/console/ui-next/src/components/charts/reference-area-geometry.ts +136 -0
- package/src/console/ui-next/src/components/charts/reference-area-registration-context.tsx +16 -0
- package/src/console/ui-next/src/components/charts/series-bar-layout.ts +60 -0
- package/src/console/ui-next/src/components/charts/series-bar.tsx +304 -0
- package/src/console/ui-next/src/components/charts/series-dash-tail-overlay.tsx +82 -0
- package/src/console/ui-next/src/components/charts/series-highlight-layer.tsx +49 -0
- package/src/console/ui-next/src/components/charts/series-hover-dim.tsx +57 -0
- package/src/console/ui-next/src/components/charts/series-markers.tsx +267 -0
- package/src/console/ui-next/src/components/charts/series-path-utils.ts +103 -0
- package/src/console/ui-next/src/components/charts/series-point-marker.tsx +205 -0
- package/src/console/ui-next/src/components/charts/static-chart-preview-context.tsx +16 -0
- package/src/console/ui-next/src/components/charts/time-series-chart-shell.tsx +644 -0
- package/src/console/ui-next/src/components/charts/tooltip/chart-tooltip.tsx +400 -0
- package/src/console/ui-next/src/components/charts/tooltip/date-ticker.tsx +140 -0
- package/src/console/ui-next/src/components/charts/tooltip/index.ts +10 -0
- package/src/console/ui-next/src/components/charts/tooltip/tooltip-box.tsx +227 -0
- package/src/console/ui-next/src/components/charts/tooltip/tooltip-content.tsx +58 -0
- package/src/console/ui-next/src/components/charts/tooltip/tooltip-dot.tsx +173 -0
- package/src/console/ui-next/src/components/charts/tooltip/tooltip-indicator.tsx +191 -0
- package/src/console/ui-next/src/components/charts/use-animated-series-path.ts +155 -0
- package/src/console/ui-next/src/components/charts/use-animated-y-domains.ts +227 -0
- package/src/console/ui-next/src/components/charts/use-chart-interaction.ts +343 -0
- package/src/console/ui-next/src/components/charts/use-chart-phase-orchestrator.ts +173 -0
- package/src/console/ui-next/src/components/charts/use-enter-complete.ts +28 -0
- package/src/console/ui-next/src/components/charts/use-grid-shimmer.ts +101 -0
- package/src/console/ui-next/src/components/charts/use-highlight-segment.ts +58 -0
- package/src/console/ui-next/src/components/charts/use-mount-progress.ts +29 -0
- package/src/console/ui-next/src/components/charts/use-scheduled-tooltip.ts +97 -0
- package/src/console/ui-next/src/components/charts/x-axis.tsx +635 -0
- package/src/console/ui-next/src/components/charts/y-axis-scales.ts +108 -0
- package/src/console/ui-next/src/components/charts/y-axis-ticks.ts +25 -0
- package/src/console/ui-next/src/components/charts/y-axis.tsx +151 -0
- package/src/console/ui-next/src/components/charts/y-domain-utils.ts +120 -0
- package/src/console/ui-next/src/components/console-chrome.tsx +50 -0
- package/src/console/ui-next/src/components/document-title.tsx +18 -0
- package/src/console/ui-next/src/components/explorer/copy-inline-button.tsx +57 -0
- package/src/console/ui-next/src/components/explorer/detail-header.tsx +82 -0
- package/src/console/ui-next/src/components/explorer/explorer-chrome.ts +123 -0
- package/src/console/ui-next/src/components/explorer/explorer-empty.tsx +67 -0
- package/src/console/ui-next/src/components/explorer/explorer-search.tsx +20 -0
- package/src/console/ui-next/src/components/explorer/explorer-start-toggle.tsx +52 -0
- package/src/console/ui-next/src/components/explorer/section-head.tsx +33 -0
- package/src/console/ui-next/src/components/explorer/tree-expand-toggle.tsx +69 -0
- package/src/console/ui-next/src/components/explorer/use-explorer-start-panel.ts +34 -0
- package/src/console/ui-next/src/components/gate-list.tsx +70 -0
- package/src/console/ui-next/src/components/generate-password-button.tsx +76 -0
- package/src/console/ui-next/src/components/highlighted-json.tsx +73 -0
- package/src/console/ui-next/src/components/http-method-badge.tsx +35 -0
- package/src/console/ui-next/src/components/mode-toggle.tsx +84 -0
- package/src/console/ui-next/src/components/motion/button/base.tsx +145 -0
- package/src/console/ui-next/src/components/motion/button/expanding-arrow.tsx +167 -0
- package/src/console/ui-next/src/components/motion/button/index.ts +12 -0
- package/src/console/ui-next/src/components/motion/button/stateful.tsx +243 -0
- package/src/console/ui-next/src/components/motion/checkbox.tsx +120 -0
- package/src/console/ui-next/src/components/motion/select.tsx +436 -0
- package/src/console/ui-next/src/components/motion/switch.tsx +108 -0
- package/src/console/ui-next/src/components/motion/table/editable-cell.tsx +98 -0
- package/src/console/ui-next/src/components/motion/table/index.tsx +404 -0
- package/src/console/ui-next/src/components/motion/table/row-handle.tsx +95 -0
- package/src/console/ui-next/src/components/motion/table/skeleton-rows.tsx +52 -0
- package/src/console/ui-next/src/components/motion/table/table-header.tsx +337 -0
- package/src/console/ui-next/src/components/motion/table/table-menu.tsx +130 -0
- package/src/console/ui-next/src/components/motion/table/types.ts +109 -0
- package/src/console/ui-next/src/components/motion/table/use-cell-range.ts +145 -0
- package/src/console/ui-next/src/components/motion/table/use-column-reorder.ts +112 -0
- package/src/console/ui-next/src/components/motion/table/use-column-resize.ts +83 -0
- package/src/console/ui-next/src/components/motion/table/use-column-sort.ts +73 -0
- package/src/console/ui-next/src/components/motion/table/use-row-selection.ts +70 -0
- package/src/console/ui-next/src/components/motion/table/utils.ts +138 -0
- package/src/console/ui-next/src/components/oke-logo.tsx +65 -0
- package/src/console/ui-next/src/components/password-input.tsx +67 -0
- package/src/console/ui-next/src/components/password-strength.tsx +160 -0
- package/src/console/ui-next/src/components/shell/app-sidebar.tsx +117 -0
- package/src/console/ui-next/src/components/shell/command-items.test.ts +30 -0
- package/src/console/ui-next/src/components/shell/command-items.ts +144 -0
- package/src/console/ui-next/src/components/shell/command-match.test.ts +37 -0
- package/src/console/ui-next/src/components/shell/command-match.ts +45 -0
- package/src/console/ui-next/src/components/shell/command-palette.tsx +334 -0
- package/src/console/ui-next/src/components/shell/nav-footer.tsx +109 -0
- package/src/console/ui-next/src/components/shell/section-empty.tsx +42 -0
- package/src/console/ui-next/src/components/shell/settings-dialog.tsx +65 -0
- package/src/console/ui-next/src/components/shell/shell-layout.tsx +100 -0
- package/src/console/ui-next/src/components/shimmering-text.tsx +87 -0
- package/src/console/ui-next/src/components/signal-delivery-badge.tsx +38 -0
- package/src/console/ui-next/src/components/theme-provider.tsx +86 -0
- package/src/console/ui-next/src/components/ui/alert-dialog.tsx +147 -0
- package/src/console/ui-next/src/components/ui/avatar.tsx +91 -0
- package/src/console/ui-next/src/components/ui/badge.tsx +54 -0
- package/src/console/ui-next/src/components/ui/breadcrumb.tsx +104 -0
- package/src/console/ui-next/src/components/ui/button.tsx +58 -0
- package/src/console/ui-next/src/components/ui/card.tsx +88 -0
- package/src/console/ui-next/src/components/ui/collapsible.tsx +15 -0
- package/src/console/ui-next/src/components/ui/confirm-sheet.tsx +149 -0
- package/src/console/ui-next/src/components/ui/dialog.tsx +144 -0
- package/src/console/ui-next/src/components/ui/dropdown-menu.tsx +265 -0
- package/src/console/ui-next/src/components/ui/empty.tsx +95 -0
- package/src/console/ui-next/src/components/ui/field.tsx +224 -0
- package/src/console/ui-next/src/components/ui/input.tsx +30 -0
- package/src/console/ui-next/src/components/ui/kbd.tsx +41 -0
- package/src/console/ui-next/src/components/ui/label.tsx +20 -0
- package/src/console/ui-next/src/components/ui/progress.tsx +66 -0
- package/src/console/ui-next/src/components/ui/resizable.tsx +74 -0
- package/src/console/ui-next/src/components/ui/select.tsx +230 -0
- package/src/console/ui-next/src/components/ui/separator.tsx +21 -0
- package/src/console/ui-next/src/components/ui/sheet-form.tsx +337 -0
- package/src/console/ui-next/src/components/ui/sheet.tsx +130 -0
- package/src/console/ui-next/src/components/ui/sidebar.tsx +691 -0
- package/src/console/ui-next/src/components/ui/skeleton.tsx +20 -0
- package/src/console/ui-next/src/components/ui/toggle-group.tsx +87 -0
- package/src/console/ui-next/src/components/ui/toggle.tsx +46 -0
- package/src/console/ui-next/src/components/ui/toolbar-tip.tsx +41 -0
- package/src/console/ui-next/src/components/ui/tooltip.tsx +74 -0
- package/src/console/ui-next/src/features/auth/auth-redirect.test.ts +119 -0
- package/src/console/ui-next/src/features/auth/auth-redirect.ts +153 -0
- package/src/console/ui-next/src/features/auth/login-form.tsx +234 -0
- package/src/console/ui-next/src/features/auth/logout.ts +17 -0
- package/src/console/ui-next/src/features/flows/data/console-live-session.test.ts +329 -0
- package/src/console/ui-next/src/features/flows/data/console-live-session.ts +210 -0
- package/src/console/ui-next/src/features/flows/data/use-console-live.ts +79 -0
- package/src/console/ui-next/src/features/flows/data/use-manifest.ts +23 -0
- package/src/console/ui-next/src/features/flows/data/use-runs.ts +24 -0
- package/src/console/ui-next/src/features/flows/fixture.ts +81 -0
- package/src/console/ui-next/src/features/flows/flows-page.tsx +227 -0
- package/src/console/ui-next/src/features/flows/graph/build-flow-graph.test.ts +236 -0
- package/src/console/ui-next/src/features/flows/graph/build-flow-graph.ts +530 -0
- package/src/console/ui-next/src/features/flows/graph/element-map.test.ts +443 -0
- package/src/console/ui-next/src/features/flows/graph/element-map.ts +1077 -0
- package/src/console/ui-next/src/features/flows/graph/flow-graph-nodes.tsx +486 -0
- package/src/console/ui-next/src/features/flows/graph/flow-graph-theme.ts +143 -0
- package/src/console/ui-next/src/features/flows/graph/flow-graph.tsx +268 -0
- package/src/console/ui-next/src/features/flows/graph/neighborhood.test.ts +64 -0
- package/src/console/ui-next/src/features/flows/graph/neighborhood.ts +82 -0
- package/src/console/ui-next/src/features/flows/graph/orchestra.test.ts +97 -0
- package/src/console/ui-next/src/features/flows/graph/orchestra.ts +86 -0
- package/src/console/ui-next/src/features/flows/graph/use-overview-orchestra.ts +95 -0
- package/src/console/ui-next/src/features/flows/state/flows-selection.test.ts +24 -0
- package/src/console/ui-next/src/features/flows/state/flows-selection.ts +92 -0
- package/src/console/ui-next/src/features/flows/traces/advanced-filters.tsx +222 -0
- package/src/console/ui-next/src/features/flows/traces/cache-glyph.tsx +42 -0
- package/src/console/ui-next/src/features/flows/traces/cache-icon.test.ts +27 -0
- package/src/console/ui-next/src/features/flows/traces/cache-icon.ts +48 -0
- package/src/console/ui-next/src/features/flows/traces/dimension-query.test.ts +100 -0
- package/src/console/ui-next/src/features/flows/traces/dimension-query.ts +325 -0
- package/src/console/ui-next/src/features/flows/traces/duration-tone.test.ts +71 -0
- package/src/console/ui-next/src/features/flows/traces/duration-tone.ts +128 -0
- package/src/console/ui-next/src/features/flows/traces/effect-kind.ts +106 -0
- package/src/console/ui-next/src/features/flows/traces/effect-summary.ts +193 -0
- package/src/console/ui-next/src/features/flows/traces/filter-runs.test.ts +98 -0
- package/src/console/ui-next/src/features/flows/traces/filter-runs.ts +68 -0
- package/src/console/ui-next/src/features/flows/traces/format-duration.test.ts +47 -0
- package/src/console/ui-next/src/features/flows/traces/format-duration.ts +25 -0
- package/src/console/ui-next/src/features/flows/traces/graph-filter.test.ts +192 -0
- package/src/console/ui-next/src/features/flows/traces/graph-filter.ts +175 -0
- package/src/console/ui-next/src/features/flows/traces/http-method.ts +134 -0
- package/src/console/ui-next/src/features/flows/traces/replay-playback.test.ts +101 -0
- package/src/console/ui-next/src/features/flows/traces/replay-playback.ts +107 -0
- package/src/console/ui-next/src/features/flows/traces/request-input-view.test.ts +60 -0
- package/src/console/ui-next/src/features/flows/traces/request-input-view.ts +108 -0
- package/src/console/ui-next/src/features/flows/traces/request-meta.ts +62 -0
- package/src/console/ui-next/src/features/flows/traces/scope-runs.test.ts +51 -0
- package/src/console/ui-next/src/features/flows/traces/scope-runs.ts +23 -0
- package/src/console/ui-next/src/features/flows/traces/trace-actions.test.ts +80 -0
- package/src/console/ui-next/src/features/flows/traces/trace-actions.ts +57 -0
- package/src/console/ui-next/src/features/flows/traces/trace-chain.test.ts +68 -0
- package/src/console/ui-next/src/features/flows/traces/trace-chain.ts +59 -0
- package/src/console/ui-next/src/features/flows/traces/trace-detail-sheet.tsx +1003 -0
- package/src/console/ui-next/src/features/flows/traces/trace-detail.test.ts +357 -0
- package/src/console/ui-next/src/features/flows/traces/trace-gates.ts +90 -0
- package/src/console/ui-next/src/features/flows/traces/trace-request-section.tsx +574 -0
- package/src/console/ui-next/src/features/flows/traces/trace-row-meta.test.ts +42 -0
- package/src/console/ui-next/src/features/flows/traces/trace-row-meta.ts +47 -0
- package/src/console/ui-next/src/features/flows/traces/trace-row.tsx +149 -0
- package/src/console/ui-next/src/features/flows/traces/traces-pane.tsx +289 -0
- package/src/console/ui-next/src/features/flows/traces/trigger-icon.test.ts +42 -0
- package/src/console/ui-next/src/features/flows/traces/trigger-icon.ts +53 -0
- package/src/console/ui-next/src/features/flows/traces/waterfall-bars.test.ts +93 -0
- package/src/console/ui-next/src/features/flows/traces/waterfall-bars.ts +80 -0
- package/src/console/ui-next/src/features/flows/traces/waterfall-timeline.test.ts +121 -0
- package/src/console/ui-next/src/features/flows/traces/waterfall-timeline.ts +230 -0
- package/src/console/ui-next/src/features/flows/traces/waterfall-tooltip.test.ts +51 -0
- package/src/console/ui-next/src/features/flows/traces/waterfall-tooltip.ts +20 -0
- package/src/console/ui-next/src/features/not-found/not-found-page.tsx +23 -0
- package/src/console/ui-next/src/features/observability/data/use-ai-list.ts +26 -0
- package/src/console/ui-next/src/features/observability/data/use-clock-list.ts +27 -0
- package/src/console/ui-next/src/features/observability/data/use-instances-list.ts +27 -0
- package/src/console/ui-next/src/features/observability/data/use-runs-query.ts +39 -0
- package/src/console/ui-next/src/features/observability/data/use-signals-list.ts +25 -0
- package/src/console/ui-next/src/features/observability/detail/ai-rail.tsx +77 -0
- package/src/console/ui-next/src/features/observability/detail/instance-fleet-sheet.tsx +111 -0
- package/src/console/ui-next/src/features/observability/detail/metrics-chart.tsx +111 -0
- package/src/console/ui-next/src/features/observability/detail/metrics-panel.tsx +154 -0
- package/src/console/ui-next/src/features/observability/explorer/error-list.tsx +139 -0
- package/src/console/ui-next/src/features/observability/explorer/error-row.tsx +84 -0
- package/src/console/ui-next/src/features/observability/explorer/health-strip.tsx +146 -0
- package/src/console/ui-next/src/features/observability/lib/ask-count.test.ts +47 -0
- package/src/console/ui-next/src/features/observability/lib/ask-count.ts +44 -0
- package/src/console/ui-next/src/features/observability/lib/health-cells.test.ts +243 -0
- package/src/console/ui-next/src/features/observability/lib/health-cells.ts +207 -0
- package/src/console/ui-next/src/features/observability/lib/run-fixture.ts +43 -0
- package/src/console/ui-next/src/features/observability/lib/time-buckets.test.ts +61 -0
- package/src/console/ui-next/src/features/observability/lib/time-buckets.ts +126 -0
- package/src/console/ui-next/src/features/observability/lib/token-count.test.ts +75 -0
- package/src/console/ui-next/src/features/observability/lib/token-count.ts +70 -0
- package/src/console/ui-next/src/features/observability/lib/top-errors.test.ts +89 -0
- package/src/console/ui-next/src/features/observability/lib/top-errors.ts +135 -0
- package/src/console/ui-next/src/features/observability/lib/window-stats.test.ts +62 -0
- package/src/console/ui-next/src/features/observability/lib/window-stats.ts +124 -0
- package/src/console/ui-next/src/features/observability/observability-page.tsx +217 -0
- package/src/console/ui-next/src/features/observability/query/runs-query-panel.tsx +91 -0
- package/src/console/ui-next/src/features/observability/state/observability-selection.test.ts +27 -0
- package/src/console/ui-next/src/features/observability/state/observability-selection.ts +121 -0
- package/src/console/ui-next/src/features/setup/auth-gate.test.ts +17 -0
- package/src/console/ui-next/src/features/setup/auth-gate.ts +21 -0
- package/src/console/ui-next/src/features/setup/claim-page.tsx +418 -0
- package/src/console/ui-next/src/features/store/data/use-gates.ts +26 -0
- package/src/console/ui-next/src/features/store/data/use-store-edit.ts +92 -0
- package/src/console/ui-next/src/features/store/data/use-store-files.ts +96 -0
- package/src/console/ui-next/src/features/store/data/use-store-kv-stats.ts +47 -0
- package/src/console/ui-next/src/features/store/data/use-store-query.test.ts +42 -0
- package/src/console/ui-next/src/features/store/data/use-store-query.ts +68 -0
- package/src/console/ui-next/src/features/store/data/use-store-reveal.ts +28 -0
- package/src/console/ui-next/src/features/store/data/use-store-sql-advise.ts +39 -0
- package/src/console/ui-next/src/features/store/data/use-store-sql-locks.ts +51 -0
- package/src/console/ui-next/src/features/store/data/use-store-sql-stats.ts +47 -0
- package/src/console/ui-next/src/features/store/data/use-store-sql.ts +39 -0
- package/src/console/ui-next/src/features/store/data/use-stores-list.ts +24 -0
- package/src/console/ui-next/src/features/store/detail/browse-section.tsx +692 -0
- package/src/console/ui-next/src/features/store/detail/json-value-sheet.tsx +470 -0
- package/src/console/ui-next/src/features/store/detail/resource-panel.tsx +325 -0
- package/src/console/ui-next/src/features/store/detail/reveal-cell.tsx +137 -0
- package/src/console/ui-next/src/features/store/detail/store-row-detail-sheet.tsx +225 -0
- package/src/console/ui-next/src/features/store/detail/touched-by-section.tsx +101 -0
- package/src/console/ui-next/src/features/store/explorer/store-tree.tsx +1044 -0
- package/src/console/ui-next/src/features/store/files/file-explorer.tsx +563 -0
- package/src/console/ui-next/src/features/store/files/file-kind-icon.tsx +70 -0
- package/src/console/ui-next/src/features/store/files/file-preview.tsx +338 -0
- package/src/console/ui-next/src/features/store/files/file-upload-sheet.tsx +190 -0
- package/src/console/ui-next/src/features/store/grid/catalog-advanced.tsx +80 -0
- package/src/console/ui-next/src/features/store/grid/extension-library-sheet.tsx +761 -0
- package/src/console/ui-next/src/features/store/grid/kv-add-sheet.tsx +165 -0
- package/src/console/ui-next/src/features/store/grid/pending-changes-sheet.tsx +219 -0
- package/src/console/ui-next/src/features/store/grid/rls-policy-sheet.tsx +875 -0
- package/src/console/ui-next/src/features/store/grid/sql-function-sheet.tsx +473 -0
- package/src/console/ui-next/src/features/store/grid/sql-index-sheet.tsx +355 -0
- package/src/console/ui-next/src/features/store/grid/sql-insert-sheet.tsx +177 -0
- package/src/console/ui-next/src/features/store/grid/sql-trigger-sheet.tsx +445 -0
- package/src/console/ui-next/src/features/store/grid/store-confirm-sheet.tsx +73 -0
- package/src/console/ui-next/src/features/store/grid/store-data-grid.tsx +1844 -0
- package/src/console/ui-next/src/features/store/grid/store-edit-sheet.tsx +329 -0
- package/src/console/ui-next/src/features/store/grid/store-grid-context-menu.tsx +111 -0
- package/src/console/ui-next/src/features/store/grid/store-grid-shortcuts.tsx +124 -0
- package/src/console/ui-next/src/features/store/lib/cell-selection.test.ts +125 -0
- package/src/console/ui-next/src/features/store/lib/cell-selection.ts +115 -0
- package/src/console/ui-next/src/features/store/lib/confirmation.test.ts +48 -0
- package/src/console/ui-next/src/features/store/lib/confirmation.ts +63 -0
- package/src/console/ui-next/src/features/store/lib/edit-history.test.ts +60 -0
- package/src/console/ui-next/src/features/store/lib/edit-history.ts +64 -0
- package/src/console/ui-next/src/features/store/lib/fields-from-table.ts +94 -0
- package/src/console/ui-next/src/features/store/lib/files-body.test.ts +16 -0
- package/src/console/ui-next/src/features/store/lib/files-body.ts +79 -0
- package/src/console/ui-next/src/features/store/lib/files-meta.test.ts +75 -0
- package/src/console/ui-next/src/features/store/lib/files-meta.ts +259 -0
- package/src/console/ui-next/src/features/store/lib/files-origin.test.ts +69 -0
- package/src/console/ui-next/src/features/store/lib/files-origin.ts +53 -0
- package/src/console/ui-next/src/features/store/lib/files-tree.test.ts +123 -0
- package/src/console/ui-next/src/features/store/lib/files-tree.ts +233 -0
- package/src/console/ui-next/src/features/store/lib/grid-model.test.ts +127 -0
- package/src/console/ui-next/src/features/store/lib/grid-model.ts +219 -0
- package/src/console/ui-next/src/features/store/lib/grid-transfer.test.ts +123 -0
- package/src/console/ui-next/src/features/store/lib/grid-transfer.ts +217 -0
- package/src/console/ui-next/src/features/store/lib/index-query.test.ts +30 -0
- package/src/console/ui-next/src/features/store/lib/index-query.ts +57 -0
- package/src/console/ui-next/src/features/store/lib/json-value.test.ts +141 -0
- package/src/console/ui-next/src/features/store/lib/json-value.ts +266 -0
- package/src/console/ui-next/src/features/store/lib/kv-format.test.ts +44 -0
- package/src/console/ui-next/src/features/store/lib/kv-format.ts +103 -0
- package/src/console/ui-next/src/features/store/lib/kv-meta.test.ts +43 -0
- package/src/console/ui-next/src/features/store/lib/kv-meta.ts +63 -0
- package/src/console/ui-next/src/features/store/lib/kv-query.test.ts +128 -0
- package/src/console/ui-next/src/features/store/lib/kv-query.ts +303 -0
- package/src/console/ui-next/src/features/store/lib/parse-resource-ref.ts +38 -0
- package/src/console/ui-next/src/features/store/lib/patch.test.ts +99 -0
- package/src/console/ui-next/src/features/store/lib/patch.ts +129 -0
- package/src/console/ui-next/src/features/store/lib/pending-edits.test.ts +125 -0
- package/src/console/ui-next/src/features/store/lib/pending-edits.ts +150 -0
- package/src/console/ui-next/src/features/store/lib/pending-sql.test.ts +108 -0
- package/src/console/ui-next/src/features/store/lib/pending-sql.ts +136 -0
- package/src/console/ui-next/src/features/store/lib/pg-extension-library.test.ts +117 -0
- package/src/console/ui-next/src/features/store/lib/pg-extension-library.ts +277 -0
- package/src/console/ui-next/src/features/store/lib/query-defaults.test.ts +78 -0
- package/src/console/ui-next/src/features/store/lib/query-defaults.ts +77 -0
- package/src/console/ui-next/src/features/store/lib/query-gate.test.ts +132 -0
- package/src/console/ui-next/src/features/store/lib/query-gate.ts +187 -0
- package/src/console/ui-next/src/features/store/lib/query-highlight.test.ts +103 -0
- package/src/console/ui-next/src/features/store/lib/query-highlight.ts +382 -0
- package/src/console/ui-next/src/features/store/lib/query-schema.test.ts +139 -0
- package/src/console/ui-next/src/features/store/lib/query-schema.ts +128 -0
- package/src/console/ui-next/src/features/store/lib/query-session.test.ts +91 -0
- package/src/console/ui-next/src/features/store/lib/query-session.ts +330 -0
- package/src/console/ui-next/src/features/store/lib/replica-lag.test.ts +101 -0
- package/src/console/ui-next/src/features/store/lib/replica-lag.ts +31 -0
- package/src/console/ui-next/src/features/store/lib/resource-effects.ts +12 -0
- package/src/console/ui-next/src/features/store/lib/rls-gate-catalog.test.ts +131 -0
- package/src/console/ui-next/src/features/store/lib/rls-gate-catalog.ts +274 -0
- package/src/console/ui-next/src/features/store/lib/rls-policy.test.ts +95 -0
- package/src/console/ui-next/src/features/store/lib/rls-policy.ts +290 -0
- package/src/console/ui-next/src/features/store/lib/rtl.test.ts +17 -0
- package/src/console/ui-next/src/features/store/lib/rtl.ts +15 -0
- package/src/console/ui-next/src/features/store/lib/schema-color.test.ts +91 -0
- package/src/console/ui-next/src/features/store/lib/schema-color.ts +216 -0
- package/src/console/ui-next/src/features/store/lib/schema-graph.test.ts +435 -0
- package/src/console/ui-next/src/features/store/lib/schema-graph.ts +566 -0
- package/src/console/ui-next/src/features/store/lib/sql-catalog.test.ts +60 -0
- package/src/console/ui-next/src/features/store/lib/sql-catalog.ts +98 -0
- package/src/console/ui-next/src/features/store/lib/sql-complete.test.ts +109 -0
- package/src/console/ui-next/src/features/store/lib/sql-complete.ts +385 -0
- package/src/console/ui-next/src/features/store/lib/sql-format.test.ts +35 -0
- package/src/console/ui-next/src/features/store/lib/sql-format.ts +85 -0
- package/src/console/ui-next/src/features/store/lib/sql-function.test.ts +141 -0
- package/src/console/ui-next/src/features/store/lib/sql-function.ts +195 -0
- package/src/console/ui-next/src/features/store/lib/sql-index.test.ts +101 -0
- package/src/console/ui-next/src/features/store/lib/sql-index.ts +151 -0
- package/src/console/ui-next/src/features/store/lib/sql-statements.test.ts +114 -0
- package/src/console/ui-next/src/features/store/lib/sql-statements.ts +205 -0
- package/src/console/ui-next/src/features/store/lib/sql-trigger.test.ts +125 -0
- package/src/console/ui-next/src/features/store/lib/sql-trigger.ts +210 -0
- package/src/console/ui-next/src/features/store/lib/store-tree.test.ts +220 -0
- package/src/console/ui-next/src/features/store/lib/store-tree.ts +314 -0
- package/src/console/ui-next/src/features/store/performance/advisor-enable.test.ts +16 -0
- package/src/console/ui-next/src/features/store/performance/advisor-enable.ts +26 -0
- package/src/console/ui-next/src/features/store/performance/kv-performance-panel.tsx +223 -0
- package/src/console/ui-next/src/features/store/performance/performance-panel.tsx +442 -0
- package/src/console/ui-next/src/features/store/query/query-complete.tsx +131 -0
- package/src/console/ui-next/src/features/store/query/query-console.tsx +1159 -0
- package/src/console/ui-next/src/features/store/query/query-editor.tsx +300 -0
- package/src/console/ui-next/src/features/store/query/query-gate-menu.tsx +178 -0
- package/src/console/ui-next/src/features/store/query/query-gate-parts.tsx +344 -0
- package/src/console/ui-next/src/features/store/query/query-gate-viz.tsx +166 -0
- package/src/console/ui-next/src/features/store/query/query-highlight-view.tsx +61 -0
- package/src/console/ui-next/src/features/store/query/query-results.tsx +369 -0
- package/src/console/ui-next/src/features/store/query/query-schema-panel.tsx +300 -0
- package/src/console/ui-next/src/features/store/query/sql-style-editor.tsx +73 -0
- package/src/console/ui-next/src/features/store/schema/schema-constraint-icon.tsx +108 -0
- package/src/console/ui-next/src/features/store/schema/schema-relation-edge.tsx +76 -0
- package/src/console/ui-next/src/features/store/schema/schema-relation-icon.tsx +84 -0
- package/src/console/ui-next/src/features/store/schema/schema-table-node.tsx +199 -0
- package/src/console/ui-next/src/features/store/schema/schema-visualizer.tsx +273 -0
- package/src/console/ui-next/src/features/store/state/store-selection.test.ts +38 -0
- package/src/console/ui-next/src/features/store/state/store-selection.ts +154 -0
- package/src/console/ui-next/src/features/store/store-page.tsx +180 -0
- package/src/console/ui-next/src/features/units/call/call-api-panel.tsx +1247 -0
- package/src/console/ui-next/src/features/units/call/call-identity-menu.tsx +226 -0
- package/src/console/ui-next/src/features/units/call/call-pii-button.tsx +60 -0
- package/src/console/ui-next/src/features/units/data/use-flows-invoke.ts +75 -0
- package/src/console/ui-next/src/features/units/detail/effects-summary.tsx +80 -0
- package/src/console/ui-next/src/features/units/detail/errors-section.tsx +64 -0
- package/src/console/ui-next/src/features/units/detail/flow-activity-strip.tsx +119 -0
- package/src/console/ui-next/src/features/units/detail/flow-contract-panel.tsx +335 -0
- package/src/console/ui-next/src/features/units/detail/schema-fields.tsx +149 -0
- package/src/console/ui-next/src/features/units/detail/validation-section.tsx +66 -0
- package/src/console/ui-next/src/features/units/explorer/units-tree.tsx +644 -0
- package/src/console/ui-next/src/features/units/lib/call-invoke-as.test.ts +40 -0
- package/src/console/ui-next/src/features/units/lib/call-read-safe.test.ts +38 -0
- package/src/console/ui-next/src/features/units/lib/call-read-safe.ts +32 -0
- package/src/console/ui-next/src/features/units/lib/call-timing.test.ts +28 -0
- package/src/console/ui-next/src/features/units/lib/call-timing.ts +34 -0
- package/src/console/ui-next/src/features/units/lib/contract-input.test.ts +47 -0
- package/src/console/ui-next/src/features/units/lib/contract-input.ts +68 -0
- package/src/console/ui-next/src/features/units/lib/fields-from-schema.test.ts +119 -0
- package/src/console/ui-next/src/features/units/lib/fields-from-schema.ts +329 -0
- package/src/console/ui-next/src/features/units/lib/fk-lookup.test.ts +103 -0
- package/src/console/ui-next/src/features/units/lib/fk-lookup.ts +175 -0
- package/src/console/ui-next/src/features/units/lib/flow-activity.test.ts +76 -0
- package/src/console/ui-next/src/features/units/lib/flow-activity.ts +68 -0
- package/src/console/ui-next/src/features/units/lib/flow-trigger.test.ts +63 -0
- package/src/console/ui-next/src/features/units/lib/flow-trigger.ts +120 -0
- package/src/console/ui-next/src/features/units/lib/invoke-cache.test.ts +31 -0
- package/src/console/ui-next/src/features/units/lib/invoke-cache.ts +22 -0
- package/src/console/ui-next/src/features/units/lib/invoke-response.test.ts +76 -0
- package/src/console/ui-next/src/features/units/lib/invoke-response.ts +70 -0
- package/src/console/ui-next/src/features/units/lib/path-params.test.ts +43 -0
- package/src/console/ui-next/src/features/units/lib/path-params.ts +75 -0
- package/src/console/ui-next/src/features/units/lib/resolve-clock.test.ts +106 -0
- package/src/console/ui-next/src/features/units/lib/resolve-clock.ts +79 -0
- package/src/console/ui-next/src/features/units/lib/schema-type-visual.ts +28 -0
- package/src/console/ui-next/src/features/units/lib/signal-delivery.test.ts +29 -0
- package/src/console/ui-next/src/features/units/lib/signal-delivery.ts +67 -0
- package/src/console/ui-next/src/features/units/lib/unit-tree.test.ts +289 -0
- package/src/console/ui-next/src/features/units/lib/unit-tree.ts +307 -0
- package/src/console/ui-next/src/features/units/lib/validate-contract.ts +103 -0
- package/src/console/ui-next/src/features/units/state/units-selection.ts +49 -0
- package/src/console/ui-next/src/features/units/units-page.tsx +120 -0
- package/src/console/ui-next/src/features/vault/data/use-vault-list.ts +27 -0
- package/src/console/ui-next/src/features/vault/detail/vault-detail.tsx +831 -0
- package/src/console/ui-next/src/features/vault/detail/vault-overview.tsx +71 -0
- package/src/console/ui-next/src/features/vault/explorer/vault-list.tsx +291 -0
- package/src/console/ui-next/src/features/vault/explorer/vault-posture-strip.tsx +131 -0
- package/src/console/ui-next/src/features/vault/explorer/vault-search.tsx +126 -0
- package/src/console/ui-next/src/features/vault/lib/backend.test.ts +147 -0
- package/src/console/ui-next/src/features/vault/lib/backend.ts +216 -0
- package/src/console/ui-next/src/features/vault/lib/blast-radius.ts +53 -0
- package/src/console/ui-next/src/features/vault/lib/confirmation.test.ts +41 -0
- package/src/console/ui-next/src/features/vault/lib/confirmation.ts +50 -0
- package/src/console/ui-next/src/features/vault/lib/contract-ops.test.ts +35 -0
- package/src/console/ui-next/src/features/vault/lib/contract-ops.ts +94 -0
- package/src/console/ui-next/src/features/vault/lib/dormant.ts +28 -0
- package/src/console/ui-next/src/features/vault/lib/export-safe.test.ts +25 -0
- package/src/console/ui-next/src/features/vault/lib/export-safe.ts +62 -0
- package/src/console/ui-next/src/features/vault/lib/fixture.ts +92 -0
- package/src/console/ui-next/src/features/vault/lib/group.test.ts +31 -0
- package/src/console/ui-next/src/features/vault/lib/group.ts +43 -0
- package/src/console/ui-next/src/features/vault/lib/posture.test.ts +137 -0
- package/src/console/ui-next/src/features/vault/lib/posture.ts +275 -0
- package/src/console/ui-next/src/features/vault/lib/progress.test.ts +36 -0
- package/src/console/ui-next/src/features/vault/lib/progress.ts +51 -0
- package/src/console/ui-next/src/features/vault/lib/search.test.ts +139 -0
- package/src/console/ui-next/src/features/vault/lib/search.ts +403 -0
- package/src/console/ui-next/src/features/vault/lib/theme.ts +14 -0
- package/src/console/ui-next/src/features/vault/lib/types.ts +114 -0
- package/src/console/ui-next/src/features/vault/lib/write-review.test.ts +139 -0
- package/src/console/ui-next/src/features/vault/lib/write-review.ts +115 -0
- package/src/console/ui-next/src/features/vault/sheets/vault-create-sheet.tsx +209 -0
- package/src/console/ui-next/src/features/vault/sheets/vault-master-key-sheet.tsx +87 -0
- package/src/console/ui-next/src/features/vault/sheets/vault-rotate-master-sheet.tsx +43 -0
- package/src/console/ui-next/src/features/vault/sheets/vault-security-sheet.tsx +205 -0
- package/src/console/ui-next/src/features/vault/sheets/vault-verify-sheet.tsx +103 -0
- package/src/console/ui-next/src/features/vault/sheets/vault-write-review-dialog.test.tsx +175 -0
- package/src/console/ui-next/src/features/vault/sheets/vault-write-review-dialog.tsx +135 -0
- package/src/console/ui-next/src/features/vault/sheets/vault-write-sheet.tsx +224 -0
- package/src/console/ui-next/src/features/vault/state/vault-selection.test.ts +20 -0
- package/src/console/ui-next/src/features/vault/state/vault-selection.ts +87 -0
- package/src/console/ui-next/src/features/vault/vault-page.tsx +439 -0
- package/src/console/ui-next/src/hooks/use-mobile.ts +22 -0
- package/src/console/ui-next/src/lib/document-meta.test.ts +43 -0
- package/src/console/ui-next/src/lib/document-meta.ts +34 -0
- package/src/console/ui-next/src/lib/ease.ts +59 -0
- package/src/console/ui-next/src/lib/element-icons.test.ts +38 -0
- package/src/console/ui-next/src/lib/element-icons.ts +75 -0
- package/src/console/ui-next/src/lib/highlight.test.ts +30 -0
- package/src/console/ui-next/src/lib/highlight.ts +39 -0
- package/src/console/ui-next/src/lib/hooks/use-hover-capable.ts +30 -0
- package/src/console/ui-next/src/lib/last-module-search.test.ts +47 -0
- package/src/console/ui-next/src/lib/last-module-search.ts +164 -0
- package/src/console/ui-next/src/lib/motion.ts +16 -0
- package/src/console/ui-next/src/lib/shiki.ts +42 -0
- package/src/console/ui-next/src/lib/shortcut-keys.tsx +47 -0
- package/src/console/ui-next/src/lib/shortcut.test.ts +70 -0
- package/src/console/ui-next/src/lib/shortcut.ts +111 -0
- package/src/console/ui-next/src/lib/use-console-shortcuts.ts +56 -0
- package/src/console/ui-next/src/lib/use-last-module-search.ts +37 -0
- package/src/console/ui-next/src/lib/utils.ts +15 -0
- package/src/console/ui-next/src/main.tsx +44 -0
- package/src/console/ui-next/src/router.tsx +175 -0
- package/src/console/ui-next/src/styles.css +384 -0
- package/src/console/ui-next/src/vite-env.d.ts +17 -0
- package/src/console/ui-next/tsconfig.json +25 -0
- package/src/console/ui-next/ui-next-dev-operator.test.ts +76 -0
- package/src/console/ui-next/ui-next-dev-operator.ts +81 -0
- package/src/console/ui-next/ui-next-seed-app-schema.ts +526 -0
- package/src/console/ui-next/ui-next-seed-manifest-surface.ts +882 -0
- package/src/console/ui-next/ui-next-seed-manifest.ts +635 -0
- package/src/console/ui-next/ui-next-seed-runs.ts +1429 -0
- package/src/console/ui-next/ui-next-seed-store.ts +1125 -0
- package/src/console/ui-next/ui-next-seed.test.ts +511 -0
- package/src/console/ui-next/ui-next-seed.ts +122 -0
- package/src/console/ui-next/vite-console-kernel-plugin.ts +195 -0
- package/src/console/ui-next/vite.config.ts +88 -0
- package/src/console/xss.gate.test.ts +21 -26
- package/src/docker/compose.ts +26 -7
- package/src/docker/derive.ts +67 -13
- package/src/docker/docker.test.ts +219 -27
- package/src/docker/helpers.ts +20 -0
- package/src/docker/images-config.test.ts +29 -22
- package/src/docker/index.ts +8 -0
- package/src/docker/postgres-advisor.integration.test.ts +163 -0
- package/src/docker/query-passthrough.integration.test.ts +212 -0
- package/src/docker/recipes/index.ts +13 -0
- package/src/docker/recipes/llama-cpp.ts +3 -3
- package/src/docker/recipes/nginx.ts +61 -0
- package/src/docker/recipes/ollama.ts +1 -1
- package/src/docker/recipes/postgres-advisor.ts +58 -0
- package/src/docker/recipes/postgres.ts +6 -2
- package/src/docker/recipes/sglang.ts +1 -1
- package/src/docker/recipes/timescale.ts +6 -2
- package/src/docker/recipes/traefik.ts +1 -0
- package/src/docker/recipes/vllm.ts +1 -1
- package/src/docker/stack-id.test.ts +5 -14
- package/src/docker/stack-id.ts +15 -35
- package/src/docker/stack.integration.test.ts +2 -2
- package/src/docker/types.ts +16 -7
- package/src/drivers/ai-mock.ts +41 -1
- package/src/drivers/ai-openai-compatible.ts +19 -1
- package/src/drivers/index.ts +32 -0
- package/src/drivers/instances-postgres.ts +154 -0
- package/src/drivers/meilisearch.integration.test.ts +9 -0
- package/src/drivers/meilisearch.test.ts +134 -6
- package/src/drivers/meilisearch.ts +77 -8
- package/src/drivers/memory.ts +384 -24
- package/src/drivers/pg-extensions.test.ts +50 -0
- package/src/drivers/pg-extensions.ts +1054 -0
- package/src/drivers/pg-rls.test.ts +71 -0
- package/src/drivers/pg-rls.ts +234 -0
- package/src/drivers/pgvector.ts +24 -0
- package/src/drivers/redis.ts +12 -0
- package/src/drivers/s3-ensure-bucket.test.ts +88 -0
- package/src/drivers/s3-ensure-bucket.ts +152 -0
- package/src/drivers/s3.ts +34 -2
- package/src/drivers/types.ts +28 -0
- package/src/drivers/vault-1password.test.ts +164 -0
- package/src/drivers/vault-1password.ts +351 -0
- package/src/drivers/vault-aws-secrets-manager.ts +15 -94
- package/src/drivers/vault-azure-key-vault.test.ts +137 -0
- package/src/drivers/vault-azure-key-vault.ts +243 -0
- package/src/drivers/vault-doppler.test.ts +133 -0
- package/src/drivers/vault-doppler.ts +202 -0
- package/src/drivers/vault-dotenv-parse.ts +32 -0
- package/src/drivers/vault-env.ts +1 -1
- package/src/drivers/vault-gcp-secret-manager.test.ts +127 -0
- package/src/drivers/vault-gcp-secret-manager.ts +291 -0
- package/src/drivers/vault-managed.test.ts +23 -26
- package/src/drivers/vault-managed.ts +58 -20
- package/src/drivers/vault-remote-bag.ts +242 -0
- package/src/drivers/vault-types.ts +9 -7
- package/src/elements/ai/runtime.ts +100 -8
- package/src/elements/ai/schema.test.ts +133 -0
- package/src/elements/ai/schema.ts +156 -11
- package/src/elements/ai.test.ts +53 -0
- package/src/elements/ai.ts +1 -0
- package/src/elements/clock/runtime.ts +31 -13
- package/src/elements/clock.test.ts +49 -0
- package/src/elements/gate/config.ts +18 -3
- package/src/elements/gate/declare.ts +25 -5
- package/src/elements/gate/flatten.ts +74 -0
- package/src/elements/gate/permissions.ts +1 -0
- package/src/elements/gate/runtime.ts +16 -4
- package/src/elements/gate.test.ts +32 -0
- package/src/elements/gate.ts +9 -1
- package/src/elements/store/cache.test.ts +79 -0
- package/src/elements/store/cache.ts +176 -0
- package/src/elements/store/classify.ts +79 -4
- package/src/elements/store/emit-drizzle.ts +3 -1
- package/src/elements/store/files-policy.test.ts +36 -1
- package/src/elements/store/files-policy.ts +151 -0
- package/src/elements/store/resource-list-docs.fixture.ts +0 -2
- package/src/elements/store/resource-list-docs.test.ts +3 -0
- package/src/elements/store/resource.test.ts +62 -2
- package/src/elements/store/resource.ts +279 -62
- package/src/elements/store/runtime.ts +53 -2
- package/src/elements/store/schema-decl.test.ts +49 -0
- package/src/elements/store/schema-decl.ts +29 -9
- package/src/elements/store/seed.test.ts +22 -1
- package/src/elements/store/seed.ts +46 -1
- package/src/elements/store/sql-session.ts +32 -7
- package/src/elements/store/table.ts +17 -1
- package/src/elements/store/upsert-app.test.ts +1 -1
- package/src/elements/store.test.ts +21 -0
- package/src/elements/store.ts +26 -3
- package/src/elements/vault/boot-chain.test.ts +108 -10
- package/src/elements/vault/boot-chain.ts +15 -15
- package/src/elements/vault/builtin-adapter.test.ts +1 -0
- package/src/elements/vault/builtin-adapter.ts +12 -0
- package/src/elements/vault/chain.ts +6 -20
- package/src/elements/vault/declare.ts +5 -2
- package/src/elements/vault/runtime.ts +47 -13
- package/src/elements/vault/storage.ts +35 -4
- package/src/elements/vault.test.ts +1 -0
- package/src/elements/vault.ts +2 -0
- package/src/full.ts +10 -0
- package/src/http.ts +1 -1
- package/src/index.ts +8 -0
- package/src/kernel/adopt-barrel-fresh.test.ts +1 -2
- package/src/kernel/app-auth.ts +8 -1
- package/src/kernel/app.ts +245 -25
- package/src/kernel/auth-resolve.ts +51 -0
- package/src/kernel/auto-cache.test.ts +270 -0
- package/src/kernel/boot-bind/ai.test.ts +34 -1
- package/src/kernel/boot-bind/ai.ts +15 -2
- package/src/kernel/boot-bind/channel.test.ts +1 -1
- package/src/kernel/boot-bind/channel.ts +1 -1
- package/src/kernel/boot-bind/clock.ts +9 -7
- package/src/kernel/boot-bind/gate.ts +1 -1
- package/src/kernel/boot-bind/honor-config.test.ts +70 -3
- package/src/kernel/boot-bind/instances.ts +58 -0
- package/src/kernel/boot-bind/journal.ts +3 -2
- package/src/kernel/boot-bind/runs.ts +63 -5
- package/src/kernel/boot-bind/signal.ts +1 -1
- package/src/kernel/boot-bind/store.ts +4 -4
- package/src/kernel/boot.test.ts +9 -9
- package/src/kernel/boot.ts +115 -16
- package/src/kernel/capability.test.ts +42 -0
- package/src/kernel/capability.ts +44 -2
- package/src/kernel/compensate.test.ts +34 -1
- package/src/kernel/compensate.ts +19 -0
- package/src/kernel/effect-timing.test.ts +16 -0
- package/src/kernel/effects-stamping.test.ts +3 -3
- package/src/kernel/effects.test.ts +15 -0
- package/src/kernel/effects.ts +39 -5
- package/src/kernel/elapsed.test.ts +26 -0
- package/src/kernel/elapsed.ts +23 -0
- package/src/kernel/errors.ts +26 -3
- package/src/kernel/flow.ts +5 -1
- package/src/kernel/fx-ask-telemetry.test.ts +114 -0
- package/src/kernel/fx.test.ts +143 -2
- package/src/kernel/fx.ts +136 -19
- package/src/kernel/graceful-shutdown.test.ts +20 -0
- package/src/kernel/graceful-shutdown.ts +9 -3
- package/src/kernel/horizontal-child.ts +4 -4
- package/src/kernel/http-query.test.ts +184 -0
- package/src/kernel/http-resource.ts +55 -0
- package/src/kernel/index.ts +43 -0
- package/src/kernel/instance-id.ts +23 -0
- package/src/kernel/instances-chaos-child.ts +73 -0
- package/src/kernel/instances.chaos.test.ts +238 -0
- package/src/kernel/instances.test.ts +85 -0
- package/src/kernel/instances.ts +372 -0
- package/src/kernel/lazy-require.ts +20 -0
- package/src/kernel/list-page.test.ts +194 -0
- package/src/kernel/list-page.ts +515 -0
- package/src/kernel/list-query.ts +469 -0
- package/src/kernel/pipeline-api-key.test.ts +266 -0
- package/src/kernel/pipeline.test.ts +164 -2
- package/src/kernel/pipeline.ts +13 -1
- package/src/kernel/plugin-elements.test.ts +1 -1
- package/src/kernel/plugin-needs.test.ts +1 -1
- package/src/kernel/plugin.ts +5 -5
- package/src/kernel/ready.test.ts +22 -2
- package/src/kernel/registry.ts +8 -4
- package/src/kernel/resource-mount.test.ts +75 -0
- package/src/kernel/router/index.ts +2 -0
- package/src/kernel/router/linear.ts +7 -0
- package/src/kernel/router/regexp.ts +8 -0
- package/src/kernel/router/smart.ts +7 -3
- package/src/kernel/router/trie.ts +7 -0
- package/src/kernel/router/types.ts +41 -1
- package/src/kernel/router.test.ts +27 -0
- package/src/kernel/router.ts +2 -0
- package/src/kernel/run-duration.test.ts +92 -0
- package/src/kernel/run-telemetry.ts +8 -2
- package/src/kernel/triggers.ts +95 -74
- package/src/manifest/sql-resource.test.ts +29 -0
- package/src/manifest/sql-resource.ts +20 -4
- package/src/manifest/types.ts +8 -3
- package/src/plugins/auth-delivery.mailpit.integration.test.ts +1 -1
- package/src/plugins/auth-methods.security.test.ts +3 -3
- package/src/plugins/auth-methods.test.ts +2 -2
- package/src/plugins/cors.test.ts +4 -2
- package/src/plugins/cors.ts +11 -2
- package/src/plugins/csrf.test.ts +17 -0
- package/src/plugins/csrf.ts +1 -1
- package/src/plugins/username-policy.test.ts +8 -8
- package/src/plugins/username.ts +1 -1
- package/src/release/build-lib.ts +7 -1
- package/src/release/limits.ts +2 -2
- package/src/release/measure.ts +7 -10
- package/src/runs/bridge-to-console.ts +99 -0
- package/src/runs/collect.test.ts +68 -0
- package/src/runs/collect.ts +29 -2
- package/src/runs/drivers/clickhouse.ts +4 -1
- package/src/runs/drivers/files.ts +138 -33
- package/src/runs/drivers/memory.ts +46 -7
- package/src/runs/drivers/postgres.ts +4 -1
- package/src/runs/duckdb.test.ts +33 -0
- package/src/runs/duckdb.ts +41 -0
- package/src/runs/history.ts +61 -0
- package/src/runs/index.ts +29 -1
- package/src/runs/parquet.test.ts +110 -0
- package/src/runs/parquet.ts +129 -8
- package/src/runs/retention.test.ts +24 -0
- package/src/runs/retention.ts +42 -0
- package/src/runs/runs.test.ts +101 -0
- package/src/runs/runtime.ts +5 -3
- package/src/runs/types.ts +33 -4
- package/src/runtime/bun.ts +61 -4
- package/src/runtime/dev-request-log.test.ts +4 -0
- package/src/runtime/dev-request-log.ts +19 -2
- package/src/runtime/index.ts +8 -1
- package/src/runtime/json-code-block.test.ts +355 -0
- package/src/runtime/json-code-block.ts +961 -0
- package/src/runtime/serve.test.ts +49 -4
- package/src/term.test.ts +89 -1
- package/src/term.ts +103 -29
- package/src/test/create-test-app.ts +3 -1
- package/src/console/ui/access/AccessA11yView.tsx +0 -222
- package/src/console/ui/access/a11y.test.tsx +0 -113
- package/src/console/ui/access/acknowledgement.test.ts +0 -10
- package/src/console/ui/access/acknowledgement.ts +0 -33
- package/src/console/ui/access/blast-radius.test.ts +0 -26
- package/src/console/ui/access/blast-radius.ts +0 -38
- package/src/console/ui/access/confirmation.test.ts +0 -34
- package/src/console/ui/access/confirmation.ts +0 -33
- package/src/console/ui/access/fixture.ts +0 -199
- package/src/console/ui/access/grantable.test.ts +0 -15
- package/src/console/ui/access/grantable.ts +0 -31
- package/src/console/ui/access/hygiene.test.ts +0 -12
- package/src/console/ui/access/hygiene.ts +0 -39
- package/src/console/ui/access/index.ts +0 -47
- package/src/console/ui/access/provenance.test.ts +0 -10
- package/src/console/ui/access/provenance.ts +0 -25
- package/src/console/ui/access/search.test.ts +0 -13
- package/src/console/ui/access/search.ts +0 -68
- package/src/console/ui/access/types.ts +0 -111
- package/src/console/ui/ai/AiA11yView.tsx +0 -254
- package/src/console/ui/ai/a11y.test.tsx +0 -96
- package/src/console/ui/ai/findings.ts +0 -41
- package/src/console/ui/ai/fixture.ts +0 -177
- package/src/console/ui/ai/format.ts +0 -88
- package/src/console/ui/ai/group.test.ts +0 -35
- package/src/console/ui/ai/group.ts +0 -80
- package/src/console/ui/ai/index.ts +0 -59
- package/src/console/ui/ai/promotion.test.ts +0 -72
- package/src/console/ui/ai/promotion.ts +0 -141
- package/src/console/ui/ai/search.test.ts +0 -31
- package/src/console/ui/ai/search.ts +0 -79
- package/src/console/ui/ai/types.ts +0 -132
- package/src/console/ui/architecture/ArchitectureA11yView.tsx +0 -142
- package/src/console/ui/architecture/a11y.test.tsx +0 -96
- package/src/console/ui/architecture/boundary.ts +0 -42
- package/src/console/ui/architecture/declared.ts +0 -161
- package/src/console/ui/architecture/fixture.ts +0 -74
- package/src/console/ui/architecture/index.ts +0 -56
- package/src/console/ui/architecture/layers.ts +0 -64
- package/src/console/ui/architecture/layout.ts +0 -66
- package/src/console/ui/architecture/pathologies.ts +0 -251
- package/src/console/ui/architecture/search.ts +0 -136
- package/src/console/ui/architecture/traffic.ts +0 -92
- package/src/console/ui/architecture/types.ts +0 -136
- package/src/console/ui/architecture/view.test.ts +0 -153
- package/src/console/ui/architecture/view.ts +0 -489
- package/src/console/ui/channels/ChannelsA11yView.tsx +0 -171
- package/src/console/ui/channels/a11y.test.tsx +0 -95
- package/src/console/ui/channels/confirmation.test.ts +0 -34
- package/src/console/ui/channels/confirmation.ts +0 -24
- package/src/console/ui/channels/fallback.test.ts +0 -15
- package/src/console/ui/channels/fallback.ts +0 -20
- package/src/console/ui/channels/findings.ts +0 -34
- package/src/console/ui/channels/fixture.ts +0 -134
- package/src/console/ui/channels/group.ts +0 -25
- package/src/console/ui/channels/index.ts +0 -51
- package/src/console/ui/channels/locale.test.ts +0 -15
- package/src/console/ui/channels/locale.ts +0 -25
- package/src/console/ui/channels/mask.test.ts +0 -14
- package/src/console/ui/channels/mask.ts +0 -12
- package/src/console/ui/channels/search.ts +0 -49
- package/src/console/ui/channels/taxonomy.test.ts +0 -17
- package/src/console/ui/channels/taxonomy.ts +0 -47
- package/src/console/ui/channels/types.ts +0 -118
- package/src/console/ui/clock/ClockA11yView.tsx +0 -165
- package/src/console/ui/clock/a11y.test.tsx +0 -96
- package/src/console/ui/clock/confirmation.test.ts +0 -30
- package/src/console/ui/clock/confirmation.ts +0 -31
- package/src/console/ui/clock/findings.ts +0 -37
- package/src/console/ui/clock/fixture.ts +0 -111
- package/src/console/ui/clock/health.test.ts +0 -25
- package/src/console/ui/clock/health.ts +0 -56
- package/src/console/ui/clock/index.ts +0 -41
- package/src/console/ui/clock/search.test.ts +0 -37
- package/src/console/ui/clock/search.ts +0 -72
- package/src/console/ui/clock/timeline.test.ts +0 -42
- package/src/console/ui/clock/timeline.ts +0 -41
- package/src/console/ui/clock/types.ts +0 -79
- package/src/console/ui/clock/waiting-on.test.ts +0 -30
- package/src/console/ui/clock/waiting-on.ts +0 -78
- package/src/console/ui/confirmation.unify.test.ts +0 -92
- package/src/console/ui/diff/DiffA11yView.tsx +0 -76
- package/src/console/ui/diff/a11y.test.tsx +0 -96
- package/src/console/ui/diff/fixture.ts +0 -85
- package/src/console/ui/diff/group.test.ts +0 -48
- package/src/console/ui/diff/group.ts +0 -91
- package/src/console/ui/diff/index.ts +0 -32
- package/src/console/ui/diff/search.test.ts +0 -28
- package/src/console/ui/diff/search.ts +0 -63
- package/src/console/ui/diff/summary.ts +0 -73
- package/src/console/ui/diff/types.ts +0 -48
- package/src/console/ui/display.test.ts +0 -14
- package/src/console/ui/display.ts +0 -9
- package/src/console/ui/dist/assets/index--Y0Uaz-m.js +0 -10
- package/src/console/ui/dist/assets/panel-access-ri1X9Otj.js +0 -64
- package/src/console/ui/dist/assets/panel-ai-DLHjRoJk.js +0 -1
- package/src/console/ui/dist/assets/panel-architecture-DI3bQF3J.js +0 -1
- package/src/console/ui/dist/assets/panel-channels-BDYWX29p.js +0 -1
- package/src/console/ui/dist/assets/panel-clock-i-JpTjVB.js +0 -1
- package/src/console/ui/dist/assets/panel-diff-CFuWxiXy.js +0 -1
- package/src/console/ui/dist/assets/panel-flows-B8TRhcoe.js +0 -48
- package/src/console/ui/dist/assets/panel-gates-CfkBgco7.js +0 -1
- package/src/console/ui/dist/assets/panel-overview-CW0CQEc2.js +0 -1
- package/src/console/ui/dist/assets/panel-plugins-DDJwTehL.js +0 -1
- package/src/console/ui/dist/assets/panel-runs-BxuyDI3x.js +0 -1
- package/src/console/ui/dist/assets/panel-signals-BXofbj7v.js +0 -1
- package/src/console/ui/dist/assets/panel-store-B8mH-arU.js +0 -1
- package/src/console/ui/dist/assets/panel-traces-DSA-ZWnf.js +0 -1
- package/src/console/ui/dist/assets/panel-vault-BkZdJPX8.js +0 -1
- package/src/console/ui/dist/assets/rolldown-runtime-B0Z9INg1.js +0 -1
- package/src/console/ui/dist/assets/style-C3L349iZ.css +0 -3
- package/src/console/ui/dist/favicon.svg +0 -7
- package/src/console/ui/dist/index.html +0 -15
- package/src/console/ui/flows/FlowsA11yView.tsx +0 -140
- package/src/console/ui/flows/a11y.test.tsx +0 -99
- package/src/console/ui/flows/buffer.test.ts +0 -83
- package/src/console/ui/flows/buffer.ts +0 -111
- package/src/console/ui/flows/confirmation.ts +0 -129
- package/src/console/ui/flows/contract.test.ts +0 -85
- package/src/console/ui/flows/contract.ts +0 -329
- package/src/console/ui/flows/fixture.ts +0 -81
- package/src/console/ui/flows/graph.test.ts +0 -93
- package/src/console/ui/flows/graph.ts +0 -539
- package/src/console/ui/flows/index.ts +0 -82
- package/src/console/ui/flows/save-as-test.test.ts +0 -47
- package/src/console/ui/flows/save-as-test.ts +0 -97
- package/src/console/ui/flows/search.ts +0 -238
- package/src/console/ui/flows/tiers.ts +0 -133
- package/src/console/ui/gates/GatesA11yView.tsx +0 -183
- package/src/console/ui/gates/a11y.test.tsx +0 -113
- package/src/console/ui/gates/audit.test.ts +0 -40
- package/src/console/ui/gates/audit.ts +0 -61
- package/src/console/ui/gates/denial.test.ts +0 -34
- package/src/console/ui/gates/denial.ts +0 -43
- package/src/console/ui/gates/findings.ts +0 -17
- package/src/console/ui/gates/fixture.ts +0 -193
- package/src/console/ui/gates/group.test.ts +0 -30
- package/src/console/ui/gates/group.ts +0 -94
- package/src/console/ui/gates/index.ts +0 -39
- package/src/console/ui/gates/search.test.ts +0 -49
- package/src/console/ui/gates/search.ts +0 -108
- package/src/console/ui/gates/types.ts +0 -124
- package/src/console/ui/overview/OverviewA11yView.tsx +0 -134
- package/src/console/ui/overview/a11y.test.tsx +0 -112
- package/src/console/ui/overview/busiest.ts +0 -24
- package/src/console/ui/overview/compose.ts +0 -121
- package/src/console/ui/overview/cost.test.ts +0 -39
- package/src/console/ui/overview/cost.ts +0 -134
- package/src/console/ui/overview/fixture.ts +0 -156
- package/src/console/ui/overview/golden.ts +0 -47
- package/src/console/ui/overview/index.ts +0 -52
- package/src/console/ui/overview/rank.test.ts +0 -129
- package/src/console/ui/overview/rank.ts +0 -205
- package/src/console/ui/overview/slo.test.ts +0 -69
- package/src/console/ui/overview/slo.ts +0 -240
- package/src/console/ui/overview/types.ts +0 -127
- package/src/console/ui/overview/verdict.ts +0 -124
- package/src/console/ui/plugins/PluginsA11yView.tsx +0 -217
- package/src/console/ui/plugins/a11y.test.tsx +0 -96
- package/src/console/ui/plugins/command.test.ts +0 -22
- package/src/console/ui/plugins/command.ts +0 -27
- package/src/console/ui/plugins/findings.ts +0 -39
- package/src/console/ui/plugins/fixture.ts +0 -238
- package/src/console/ui/plugins/group.test.ts +0 -36
- package/src/console/ui/plugins/group.ts +0 -62
- package/src/console/ui/plugins/index.ts +0 -30
- package/src/console/ui/plugins/search.ts +0 -55
- package/src/console/ui/plugins/types.ts +0 -118
- package/src/console/ui/runs/RunsA11yView.tsx +0 -252
- package/src/console/ui/runs/a11y.test.tsx +0 -96
- package/src/console/ui/runs/errors.test.ts +0 -53
- package/src/console/ui/runs/errors.ts +0 -88
- package/src/console/ui/runs/explain.test.ts +0 -23
- package/src/console/ui/runs/explain.ts +0 -28
- package/src/console/ui/runs/fixture.ts +0 -189
- package/src/console/ui/runs/group.test.ts +0 -24
- package/src/console/ui/runs/group.ts +0 -76
- package/src/console/ui/runs/histogram.test.ts +0 -22
- package/src/console/ui/runs/histogram.ts +0 -82
- package/src/console/ui/runs/index.ts +0 -69
- package/src/console/ui/runs/project.ts +0 -118
- package/src/console/ui/runs/query.test.ts +0 -48
- package/src/console/ui/runs/query.ts +0 -260
- package/src/console/ui/runs/search.test.ts +0 -45
- package/src/console/ui/runs/search.ts +0 -143
- package/src/console/ui/runs/trace-link.test.ts +0 -26
- package/src/console/ui/runs/trace-link.ts +0 -87
- package/src/console/ui/runs/types.ts +0 -135
- package/src/console/ui/shell/App.tsx +0 -88
- package/src/console/ui/shell/client.ts +0 -1642
- package/src/console/ui/shell/components/oke-logo.tsx +0 -40
- package/src/console/ui/shell/components/ui.tsx +0 -111
- package/src/console/ui/shell/index.html +0 -13
- package/src/console/ui/shell/layout/Shell.tsx +0 -92
- package/src/console/ui/shell/main.tsx +0 -216
- package/src/console/ui/shell/panels/Access.tsx +0 -5
- package/src/console/ui/shell/panels/Ai.tsx +0 -5
- package/src/console/ui/shell/panels/Architecture.tsx +0 -5
- package/src/console/ui/shell/panels/Channels.tsx +0 -5
- package/src/console/ui/shell/panels/Clock.tsx +0 -5
- package/src/console/ui/shell/panels/Diff.tsx +0 -5
- package/src/console/ui/shell/panels/Flows.tsx +0 -5
- package/src/console/ui/shell/panels/Gates.tsx +0 -5
- package/src/console/ui/shell/panels/Overview.tsx +0 -6
- package/src/console/ui/shell/panels/Plugins.tsx +0 -5
- package/src/console/ui/shell/panels/Runs.tsx +0 -5
- package/src/console/ui/shell/panels/Signals.tsx +0 -5
- package/src/console/ui/shell/panels/Store.tsx +0 -5
- package/src/console/ui/shell/panels/Traces.tsx +0 -5
- package/src/console/ui/shell/panels/Vault.tsx +0 -5
- package/src/console/ui/shell/panels/access/AccessPanel.tsx +0 -749
- package/src/console/ui/shell/panels/ai/AiPanel.tsx +0 -492
- package/src/console/ui/shell/panels/architecture/ArchitecturePanel.tsx +0 -329
- package/src/console/ui/shell/panels/channels/ChannelsPanel.tsx +0 -422
- package/src/console/ui/shell/panels/clock/ClockPanel.tsx +0 -454
- package/src/console/ui/shell/panels/diff/DiffPanel.tsx +0 -234
- package/src/console/ui/shell/panels/flows/ContractEditor.tsx +0 -284
- package/src/console/ui/shell/panels/flows/FlowDrawer.tsx +0 -335
- package/src/console/ui/shell/panels/flows/FlowsPanel.tsx +0 -482
- package/src/console/ui/shell/panels/gates/GatesPanel.tsx +0 -433
- package/src/console/ui/shell/panels/overview/OverviewPanel.tsx +0 -398
- package/src/console/ui/shell/panels/plugins/PluginsPanel.tsx +0 -402
- package/src/console/ui/shell/panels/runs/RunsPanel.tsx +0 -652
- package/src/console/ui/shell/panels/signals/SignalsPanel.tsx +0 -788
- package/src/console/ui/shell/panels/store/StorePanel.tsx +0 -755
- package/src/console/ui/shell/panels/traces/TracesPanel.tsx +0 -478
- package/src/console/ui/shell/panels/vault/VaultPanel.tsx +0 -477
- package/src/console/ui/shell/plugin/Sandbox.tsx +0 -29
- package/src/console/ui/shell/public/favicon.svg +0 -7
- package/src/console/ui/shell/setup/Wizard.tsx +0 -211
- package/src/console/ui/shell/styles.css +0 -74
- package/src/console/ui/signals/SignalsA11yView.tsx +0 -252
- package/src/console/ui/signals/a11y.test.tsx +0 -96
- package/src/console/ui/signals/confirmation.test.ts +0 -35
- package/src/console/ui/signals/confirmation.ts +0 -59
- package/src/console/ui/signals/dry-run.test.ts +0 -18
- package/src/console/ui/signals/dry-run.ts +0 -34
- package/src/console/ui/signals/durable.test.ts +0 -22
- package/src/console/ui/signals/durable.ts +0 -39
- package/src/console/ui/signals/findings.ts +0 -31
- package/src/console/ui/signals/fixture.ts +0 -242
- package/src/console/ui/signals/group.test.ts +0 -26
- package/src/console/ui/signals/group.ts +0 -41
- package/src/console/ui/signals/index.ts +0 -49
- package/src/console/ui/signals/monitor.test.ts +0 -30
- package/src/console/ui/signals/monitor.ts +0 -74
- package/src/console/ui/signals/schema-form.test.ts +0 -23
- package/src/console/ui/signals/schema-form.ts +0 -109
- package/src/console/ui/signals/search.ts +0 -93
- package/src/console/ui/signals/types.ts +0 -72
- package/src/console/ui/store/StoreA11yView.tsx +0 -193
- package/src/console/ui/store/a11y.test.tsx +0 -96
- package/src/console/ui/store/cache-view.test.ts +0 -13
- package/src/console/ui/store/cache-view.ts +0 -36
- package/src/console/ui/store/confirmation.test.ts +0 -36
- package/src/console/ui/store/confirmation.ts +0 -52
- package/src/console/ui/store/dry-run.test.ts +0 -15
- package/src/console/ui/store/dry-run.ts +0 -26
- package/src/console/ui/store/fixture.ts +0 -167
- package/src/console/ui/store/group.test.ts +0 -16
- package/src/console/ui/store/group.ts +0 -38
- package/src/console/ui/store/index.ts +0 -36
- package/src/console/ui/store/search.ts +0 -74
- package/src/console/ui/store/types.ts +0 -67
- package/src/console/ui/store/will-not-fire.test.ts +0 -19
- package/src/console/ui/store/will-not-fire.ts +0 -39
- package/src/console/ui/traces/TracesA11yView.tsx +0 -181
- package/src/console/ui/traces/a11y.test.tsx +0 -96
- package/src/console/ui/traces/chain.test.ts +0 -47
- package/src/console/ui/traces/chain.ts +0 -142
- package/src/console/ui/traces/critical-path.test.ts +0 -22
- package/src/console/ui/traces/critical-path.ts +0 -55
- package/src/console/ui/traces/filter.test.ts +0 -74
- package/src/console/ui/traces/filter.ts +0 -104
- package/src/console/ui/traces/fixture.ts +0 -126
- package/src/console/ui/traces/fold.test.ts +0 -59
- package/src/console/ui/traces/fold.ts +0 -168
- package/src/console/ui/traces/index.ts +0 -64
- package/src/console/ui/traces/mini.ts +0 -63
- package/src/console/ui/traces/replay.test.ts +0 -22
- package/src/console/ui/traces/replay.ts +0 -33
- package/src/console/ui/traces/sampling.test.ts +0 -26
- package/src/console/ui/traces/sampling.ts +0 -63
- package/src/console/ui/traces/search.ts +0 -135
- package/src/console/ui/traces/tier.ts +0 -70
- package/src/console/ui/traces/types.ts +0 -125
- package/src/console/ui/tsconfig.json +0 -20
- package/src/console/ui/vault/VaultA11yView.tsx +0 -197
- package/src/console/ui/vault/a11y.test.tsx +0 -96
- package/src/console/ui/vault/backend.test.ts +0 -75
- package/src/console/ui/vault/backend.ts +0 -117
- package/src/console/ui/vault/blast-radius.ts +0 -53
- package/src/console/ui/vault/confirmation.test.ts +0 -37
- package/src/console/ui/vault/confirmation.ts +0 -36
- package/src/console/ui/vault/dormant.ts +0 -28
- package/src/console/ui/vault/export-safe.test.ts +0 -26
- package/src/console/ui/vault/export-safe.ts +0 -62
- package/src/console/ui/vault/fixture.ts +0 -94
- package/src/console/ui/vault/group.test.ts +0 -25
- package/src/console/ui/vault/group.ts +0 -49
- package/src/console/ui/vault/index.ts +0 -47
- package/src/console/ui/vault/search.ts +0 -58
- package/src/console/ui/vault/types.ts +0 -83
- package/src/console/ui/vite.config.ts +0 -84
- /package/src/console/{ui/vault → ui-next/src/features/vault/lib}/blast-radius.test.ts +0 -0
- /package/src/console/{ui/vault → ui-next/src/features/vault/lib}/dormant.test.ts +0 -0
|
@@ -0,0 +1,1054 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Postgres extension catalogs — built-in contrib vs external library.
|
|
3
|
+
* Live engines use `pg_available_extensions`; memory starts with built-in only.
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
/** Where an extension comes from. */
|
|
7
|
+
export type PgExtensionSource = "builtin" | "library";
|
|
8
|
+
|
|
9
|
+
/** Library grouping for the Console add sheet. */
|
|
10
|
+
export type PgExtensionCategory =
|
|
11
|
+
| "language"
|
|
12
|
+
| "contrib"
|
|
13
|
+
| "time"
|
|
14
|
+
| "geo"
|
|
15
|
+
| "jobs"
|
|
16
|
+
| "search"
|
|
17
|
+
| "graph"
|
|
18
|
+
| "scale"
|
|
19
|
+
| "security"
|
|
20
|
+
| "http"
|
|
21
|
+
| "fdw"
|
|
22
|
+
| "lang"
|
|
23
|
+
| "analytics";
|
|
24
|
+
|
|
25
|
+
/** One available extension. */
|
|
26
|
+
export type PgExtensionInfo = {
|
|
27
|
+
readonly name: string;
|
|
28
|
+
readonly version: string;
|
|
29
|
+
readonly comment: string;
|
|
30
|
+
readonly source: PgExtensionSource;
|
|
31
|
+
readonly category: PgExtensionCategory;
|
|
32
|
+
/** Extra search tokens (aliases, vendors, use-cases). */
|
|
33
|
+
readonly tags?: readonly string[];
|
|
34
|
+
/** Other extensions this pack expects. */
|
|
35
|
+
readonly requires?: readonly string[];
|
|
36
|
+
};
|
|
37
|
+
|
|
38
|
+
/**
|
|
39
|
+
* Contrib + language extensions bundled with stock Postgres (plus `vector`).
|
|
40
|
+
* `plpgsql` is enabled by default.
|
|
41
|
+
*/
|
|
42
|
+
export const PG_BUILTIN_EXTENSIONS: readonly PgExtensionInfo[] = [
|
|
43
|
+
{
|
|
44
|
+
name: "plpgsql",
|
|
45
|
+
version: "1.0",
|
|
46
|
+
comment: "PL/pgSQL procedural language",
|
|
47
|
+
source: "builtin",
|
|
48
|
+
category: "language",
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
name: "pgcrypto",
|
|
52
|
+
version: "1.3",
|
|
53
|
+
comment: "Cryptographic functions",
|
|
54
|
+
source: "builtin",
|
|
55
|
+
category: "contrib",
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
name: "uuid-ossp",
|
|
59
|
+
version: "1.1",
|
|
60
|
+
comment: "UUID generation (OSSP)",
|
|
61
|
+
source: "builtin",
|
|
62
|
+
category: "contrib",
|
|
63
|
+
},
|
|
64
|
+
{
|
|
65
|
+
name: "citext",
|
|
66
|
+
version: "1.6",
|
|
67
|
+
comment: "Case-insensitive text",
|
|
68
|
+
source: "builtin",
|
|
69
|
+
category: "contrib",
|
|
70
|
+
},
|
|
71
|
+
{
|
|
72
|
+
name: "hstore",
|
|
73
|
+
version: "1.8",
|
|
74
|
+
comment: "Key-value store in a column",
|
|
75
|
+
source: "builtin",
|
|
76
|
+
category: "contrib",
|
|
77
|
+
},
|
|
78
|
+
{
|
|
79
|
+
name: "pg_trgm",
|
|
80
|
+
version: "1.6",
|
|
81
|
+
comment: "Trigram text similarity",
|
|
82
|
+
source: "builtin",
|
|
83
|
+
category: "contrib",
|
|
84
|
+
},
|
|
85
|
+
{
|
|
86
|
+
name: "btree_gin",
|
|
87
|
+
version: "1.3",
|
|
88
|
+
comment: "GIN support for common types",
|
|
89
|
+
source: "builtin",
|
|
90
|
+
category: "contrib",
|
|
91
|
+
},
|
|
92
|
+
{
|
|
93
|
+
name: "btree_gist",
|
|
94
|
+
version: "1.7",
|
|
95
|
+
comment: "GiST support for common types",
|
|
96
|
+
source: "builtin",
|
|
97
|
+
category: "contrib",
|
|
98
|
+
},
|
|
99
|
+
{
|
|
100
|
+
name: "unaccent",
|
|
101
|
+
version: "1.1",
|
|
102
|
+
comment: "Text search dictionary that removes accents",
|
|
103
|
+
source: "builtin",
|
|
104
|
+
category: "contrib",
|
|
105
|
+
},
|
|
106
|
+
{
|
|
107
|
+
name: "ltree",
|
|
108
|
+
version: "1.3",
|
|
109
|
+
comment: "Hierarchical tree-like data type",
|
|
110
|
+
source: "builtin",
|
|
111
|
+
category: "contrib",
|
|
112
|
+
},
|
|
113
|
+
{
|
|
114
|
+
name: "cube",
|
|
115
|
+
version: "1.5",
|
|
116
|
+
comment: "Multidimensional cubes",
|
|
117
|
+
source: "builtin",
|
|
118
|
+
category: "contrib",
|
|
119
|
+
},
|
|
120
|
+
{
|
|
121
|
+
name: "earthdistance",
|
|
122
|
+
version: "1.2",
|
|
123
|
+
comment: "Great-circle distances on Earth",
|
|
124
|
+
source: "builtin",
|
|
125
|
+
category: "contrib",
|
|
126
|
+
},
|
|
127
|
+
{
|
|
128
|
+
name: "fuzzystrmatch",
|
|
129
|
+
version: "1.2",
|
|
130
|
+
comment: "Fuzzy string matching",
|
|
131
|
+
source: "builtin",
|
|
132
|
+
category: "contrib",
|
|
133
|
+
},
|
|
134
|
+
{
|
|
135
|
+
name: "intarray",
|
|
136
|
+
version: "1.5",
|
|
137
|
+
comment: "Functions for 1-D arrays of integers",
|
|
138
|
+
source: "builtin",
|
|
139
|
+
category: "contrib",
|
|
140
|
+
},
|
|
141
|
+
{
|
|
142
|
+
name: "isn",
|
|
143
|
+
version: "1.2",
|
|
144
|
+
comment: "International product numbering types",
|
|
145
|
+
source: "builtin",
|
|
146
|
+
category: "contrib",
|
|
147
|
+
},
|
|
148
|
+
{
|
|
149
|
+
name: "lo",
|
|
150
|
+
version: "1.1",
|
|
151
|
+
comment: "Large Object maintenance",
|
|
152
|
+
source: "builtin",
|
|
153
|
+
category: "contrib",
|
|
154
|
+
},
|
|
155
|
+
{
|
|
156
|
+
name: "tablefunc",
|
|
157
|
+
version: "1.0",
|
|
158
|
+
comment: "Crosstab and table functions",
|
|
159
|
+
source: "builtin",
|
|
160
|
+
category: "contrib",
|
|
161
|
+
},
|
|
162
|
+
{
|
|
163
|
+
name: "tcn",
|
|
164
|
+
version: "1.0",
|
|
165
|
+
comment: "Triggered change notifications",
|
|
166
|
+
source: "builtin",
|
|
167
|
+
category: "contrib",
|
|
168
|
+
},
|
|
169
|
+
{
|
|
170
|
+
name: "tsm_system_rows",
|
|
171
|
+
version: "1.0",
|
|
172
|
+
comment: "TABLESAMPLE method SYSTEM_ROWS",
|
|
173
|
+
source: "builtin",
|
|
174
|
+
category: "contrib",
|
|
175
|
+
},
|
|
176
|
+
{
|
|
177
|
+
name: "tsm_system_time",
|
|
178
|
+
version: "1.0",
|
|
179
|
+
comment: "TABLESAMPLE method SYSTEM_TIME",
|
|
180
|
+
source: "builtin",
|
|
181
|
+
category: "contrib",
|
|
182
|
+
},
|
|
183
|
+
{
|
|
184
|
+
name: "xml2",
|
|
185
|
+
version: "1.1",
|
|
186
|
+
comment: "XPath querying and XSLT",
|
|
187
|
+
source: "builtin",
|
|
188
|
+
category: "contrib",
|
|
189
|
+
},
|
|
190
|
+
{
|
|
191
|
+
name: "postgres_fdw",
|
|
192
|
+
version: "1.1",
|
|
193
|
+
comment: "Foreign-data wrapper for PostgreSQL",
|
|
194
|
+
source: "builtin",
|
|
195
|
+
category: "contrib",
|
|
196
|
+
},
|
|
197
|
+
{
|
|
198
|
+
name: "file_fdw",
|
|
199
|
+
version: "1.0",
|
|
200
|
+
comment: "Foreign-data wrapper for files",
|
|
201
|
+
source: "builtin",
|
|
202
|
+
category: "contrib",
|
|
203
|
+
},
|
|
204
|
+
{
|
|
205
|
+
name: "dblink",
|
|
206
|
+
version: "1.2",
|
|
207
|
+
comment: "Connect to other PostgreSQL databases",
|
|
208
|
+
source: "builtin",
|
|
209
|
+
category: "contrib",
|
|
210
|
+
},
|
|
211
|
+
{
|
|
212
|
+
name: "amcheck",
|
|
213
|
+
version: "1.4",
|
|
214
|
+
comment: "Verify relation integrity",
|
|
215
|
+
source: "builtin",
|
|
216
|
+
category: "contrib",
|
|
217
|
+
},
|
|
218
|
+
{
|
|
219
|
+
name: "bloom",
|
|
220
|
+
version: "1.0",
|
|
221
|
+
comment: "Bloom-filter index access method",
|
|
222
|
+
source: "builtin",
|
|
223
|
+
category: "contrib",
|
|
224
|
+
},
|
|
225
|
+
{
|
|
226
|
+
name: "dict_int",
|
|
227
|
+
version: "1.0",
|
|
228
|
+
comment: "Text search dictionary for integers",
|
|
229
|
+
source: "builtin",
|
|
230
|
+
category: "contrib",
|
|
231
|
+
},
|
|
232
|
+
{
|
|
233
|
+
name: "dict_xsyn",
|
|
234
|
+
version: "1.0",
|
|
235
|
+
comment: "Text search dictionary for extended synonym",
|
|
236
|
+
source: "builtin",
|
|
237
|
+
category: "contrib",
|
|
238
|
+
},
|
|
239
|
+
{
|
|
240
|
+
name: "pageinspect",
|
|
241
|
+
version: "1.12",
|
|
242
|
+
comment: "Inspect contents of database pages",
|
|
243
|
+
source: "builtin",
|
|
244
|
+
category: "contrib",
|
|
245
|
+
},
|
|
246
|
+
{
|
|
247
|
+
name: "pg_buffercache",
|
|
248
|
+
version: "1.5",
|
|
249
|
+
comment: "Examine shared buffer cache",
|
|
250
|
+
source: "builtin",
|
|
251
|
+
category: "contrib",
|
|
252
|
+
},
|
|
253
|
+
{
|
|
254
|
+
name: "pg_freespacemap",
|
|
255
|
+
version: "1.2",
|
|
256
|
+
comment: "Examine the free space map",
|
|
257
|
+
source: "builtin",
|
|
258
|
+
category: "contrib",
|
|
259
|
+
},
|
|
260
|
+
{
|
|
261
|
+
name: "pg_prewarm",
|
|
262
|
+
version: "1.2",
|
|
263
|
+
comment: "Prewarm relation data",
|
|
264
|
+
source: "builtin",
|
|
265
|
+
category: "contrib",
|
|
266
|
+
},
|
|
267
|
+
{
|
|
268
|
+
name: "pg_stat_statements",
|
|
269
|
+
version: "1.11",
|
|
270
|
+
comment: "Track planning and execution statistics",
|
|
271
|
+
source: "builtin",
|
|
272
|
+
category: "contrib",
|
|
273
|
+
},
|
|
274
|
+
{
|
|
275
|
+
name: "pg_surgery",
|
|
276
|
+
version: "1.0",
|
|
277
|
+
comment: "Low-level heap surgery",
|
|
278
|
+
source: "builtin",
|
|
279
|
+
category: "contrib",
|
|
280
|
+
},
|
|
281
|
+
{
|
|
282
|
+
name: "pg_visibility",
|
|
283
|
+
version: "1.2",
|
|
284
|
+
comment: "Examine visibility map",
|
|
285
|
+
source: "builtin",
|
|
286
|
+
category: "contrib",
|
|
287
|
+
},
|
|
288
|
+
{
|
|
289
|
+
name: "pgrowlocks",
|
|
290
|
+
version: "1.2",
|
|
291
|
+
comment: "Show row-level locking information",
|
|
292
|
+
source: "builtin",
|
|
293
|
+
category: "contrib",
|
|
294
|
+
},
|
|
295
|
+
{
|
|
296
|
+
name: "pgstattuple",
|
|
297
|
+
version: "1.5",
|
|
298
|
+
comment: "Tuple-level statistics",
|
|
299
|
+
source: "builtin",
|
|
300
|
+
category: "contrib",
|
|
301
|
+
},
|
|
302
|
+
{
|
|
303
|
+
name: "sslinfo",
|
|
304
|
+
version: "1.2",
|
|
305
|
+
comment: "Information about SSL certificates",
|
|
306
|
+
source: "builtin",
|
|
307
|
+
category: "contrib",
|
|
308
|
+
},
|
|
309
|
+
{
|
|
310
|
+
name: "vector",
|
|
311
|
+
version: "0.8.6",
|
|
312
|
+
comment: "Vector similarity search (pgvector)",
|
|
313
|
+
source: "builtin",
|
|
314
|
+
category: "search",
|
|
315
|
+
},
|
|
316
|
+
];
|
|
317
|
+
|
|
318
|
+
function lib(
|
|
319
|
+
name: string,
|
|
320
|
+
version: string,
|
|
321
|
+
comment: string,
|
|
322
|
+
category: PgExtensionCategory,
|
|
323
|
+
tags: readonly string[],
|
|
324
|
+
requires?: readonly string[],
|
|
325
|
+
): PgExtensionInfo {
|
|
326
|
+
return {
|
|
327
|
+
name,
|
|
328
|
+
version,
|
|
329
|
+
comment,
|
|
330
|
+
source: "library",
|
|
331
|
+
category,
|
|
332
|
+
tags,
|
|
333
|
+
...(requires && requires.length > 0 ? { requires } : {}),
|
|
334
|
+
};
|
|
335
|
+
}
|
|
336
|
+
|
|
337
|
+
/**
|
|
338
|
+
* External extensions the Console library can add (Timescale, PostGIS, …).
|
|
339
|
+
* Not on the memory catalog until added; live engines still need the package.
|
|
340
|
+
*/
|
|
341
|
+
export const PG_LIBRARY_EXTENSIONS: readonly PgExtensionInfo[] = [
|
|
342
|
+
lib(
|
|
343
|
+
"timescaledb",
|
|
344
|
+
"2.17.0",
|
|
345
|
+
"Time-series hypertables, compression, and continuous aggregates",
|
|
346
|
+
"time",
|
|
347
|
+
["timescale", "hypertable", "iot", "metrics"],
|
|
348
|
+
),
|
|
349
|
+
lib(
|
|
350
|
+
"timescaledb_toolkit",
|
|
351
|
+
"1.19.0",
|
|
352
|
+
"Timescale hyperfunctions — locf, gapfill, stats",
|
|
353
|
+
"time",
|
|
354
|
+
["timescale", "hyperfunctions", "analytics"],
|
|
355
|
+
["timescaledb"],
|
|
356
|
+
),
|
|
357
|
+
lib("pg_partman", "5.2.0", "Partition maintenance for time- and serial-based tables", "time", [
|
|
358
|
+
"partition",
|
|
359
|
+
"retention",
|
|
360
|
+
]),
|
|
361
|
+
lib("pg_ivm", "1.9", "Incremental view maintenance for materialized views", "time", [
|
|
362
|
+
"materialized",
|
|
363
|
+
"ivm",
|
|
364
|
+
"refresh",
|
|
365
|
+
]),
|
|
366
|
+
lib("temporal_tables", "1.2.2", "System-period temporal tables (SQL:2011 style)", "time", [
|
|
367
|
+
"history",
|
|
368
|
+
"versioning",
|
|
369
|
+
"audit",
|
|
370
|
+
]),
|
|
371
|
+
lib("pg_cron", "1.6", "Cron-based job scheduler inside the database", "jobs", [
|
|
372
|
+
"cron",
|
|
373
|
+
"schedule",
|
|
374
|
+
"jobs",
|
|
375
|
+
]),
|
|
376
|
+
lib("pg_later", "0.3.0", "Fire-and-forget SQL jobs after the current transaction", "jobs", [
|
|
377
|
+
"async",
|
|
378
|
+
"queue",
|
|
379
|
+
"later",
|
|
380
|
+
]),
|
|
381
|
+
lib("pg_background", "1.2", "Run commands in a background worker", "jobs", [
|
|
382
|
+
"worker",
|
|
383
|
+
"background",
|
|
384
|
+
]),
|
|
385
|
+
lib("postgis", "3.5.0", "Geographic objects and spatial indexes", "geo", [
|
|
386
|
+
"gis",
|
|
387
|
+
"geo",
|
|
388
|
+
"geometry",
|
|
389
|
+
"geography",
|
|
390
|
+
"spatial",
|
|
391
|
+
]),
|
|
392
|
+
lib(
|
|
393
|
+
"postgis_topology",
|
|
394
|
+
"3.5.0",
|
|
395
|
+
"PostGIS topology types and functions",
|
|
396
|
+
"geo",
|
|
397
|
+
["gis", "topology"],
|
|
398
|
+
["postgis"],
|
|
399
|
+
),
|
|
400
|
+
lib(
|
|
401
|
+
"postgis_raster",
|
|
402
|
+
"3.5.0",
|
|
403
|
+
"PostGIS raster types and functions",
|
|
404
|
+
"geo",
|
|
405
|
+
["gis", "raster", "coverage"],
|
|
406
|
+
["postgis"],
|
|
407
|
+
),
|
|
408
|
+
lib(
|
|
409
|
+
"postgis_sfcgal",
|
|
410
|
+
"3.5.0",
|
|
411
|
+
"3D / solid geometry via SFCGAL",
|
|
412
|
+
"geo",
|
|
413
|
+
["gis", "3d", "sfcgal"],
|
|
414
|
+
["postgis"],
|
|
415
|
+
),
|
|
416
|
+
lib("address_standardizer", "3.5.0", "Parse and normalize street addresses", "geo", [
|
|
417
|
+
"gis",
|
|
418
|
+
"geocode",
|
|
419
|
+
"address",
|
|
420
|
+
]),
|
|
421
|
+
lib(
|
|
422
|
+
"postgis_tiger_geocoder",
|
|
423
|
+
"3.5.0",
|
|
424
|
+
"TIGER geocoder for US addresses",
|
|
425
|
+
"geo",
|
|
426
|
+
["gis", "geocode", "tiger"],
|
|
427
|
+
["postgis", "address_standardizer"],
|
|
428
|
+
),
|
|
429
|
+
lib(
|
|
430
|
+
"pgrouting",
|
|
431
|
+
"3.7.0",
|
|
432
|
+
"Routing algorithms on PostGIS networks",
|
|
433
|
+
"geo",
|
|
434
|
+
["gis", "routing", "shortest-path"],
|
|
435
|
+
["postgis"],
|
|
436
|
+
),
|
|
437
|
+
lib("h3", "4.1.0", "Uber H3 hexagonal hierarchical spatial index", "geo", ["gis", "hex", "uber"]),
|
|
438
|
+
lib(
|
|
439
|
+
"mobilitydb",
|
|
440
|
+
"1.2.0",
|
|
441
|
+
"Temporal and spatiotemporal types for moving objects",
|
|
442
|
+
"geo",
|
|
443
|
+
["gis", "trajectory", "temporal"],
|
|
444
|
+
["postgis"],
|
|
445
|
+
),
|
|
446
|
+
lib("pointcloud", "1.2.5", "LIDAR / point-cloud storage (PDAL)", "geo", ["gis", "lidar", "pdal"]),
|
|
447
|
+
lib("rum", "1.3", "GIN-like access method for faster full-text search", "search", [
|
|
448
|
+
"fts",
|
|
449
|
+
"full-text",
|
|
450
|
+
"gin",
|
|
451
|
+
]),
|
|
452
|
+
lib("pg_search", "0.15.0", "ParadeDB BM25 full-text search", "search", [
|
|
453
|
+
"paradedb",
|
|
454
|
+
"bm25",
|
|
455
|
+
"fts",
|
|
456
|
+
]),
|
|
457
|
+
lib("pgroonga", "3.2.5", "Groonga full-text search (CJK-friendly)", "search", [
|
|
458
|
+
"fts",
|
|
459
|
+
"cjk",
|
|
460
|
+
"japanese",
|
|
461
|
+
]),
|
|
462
|
+
lib("pg_bigm", "1.2", "Bigram full-text search (LIKE acceleration)", "search", [
|
|
463
|
+
"fts",
|
|
464
|
+
"bigram",
|
|
465
|
+
"like",
|
|
466
|
+
]),
|
|
467
|
+
lib("zhparser", "2.2", "Chinese text search parser", "search", ["fts", "chinese", "cjk"]),
|
|
468
|
+
lib("zombodb", "3000.2.7", "Elasticsearch-backed indexes from Postgres", "search", [
|
|
469
|
+
"elasticsearch",
|
|
470
|
+
"fts",
|
|
471
|
+
]),
|
|
472
|
+
lib("vchord", "0.4.3", "VectorChord — disk-based vector index", "search", [
|
|
473
|
+
"vector",
|
|
474
|
+
"embedding",
|
|
475
|
+
"ann",
|
|
476
|
+
]),
|
|
477
|
+
lib("vectorscale", "0.7.1", "Timescale vector index (StreamingDiskANN)", "search", [
|
|
478
|
+
"vector",
|
|
479
|
+
"timescale",
|
|
480
|
+
"ann",
|
|
481
|
+
]),
|
|
482
|
+
lib("age", "1.5.0", "Apache AGE graph queries (openCypher)", "graph", [
|
|
483
|
+
"graph",
|
|
484
|
+
"cypher",
|
|
485
|
+
"opencypher",
|
|
486
|
+
]),
|
|
487
|
+
lib("citus", "12.1", "Distributed Postgres — shard and scale out", "scale", [
|
|
488
|
+
"shard",
|
|
489
|
+
"distributed",
|
|
490
|
+
"microsoft",
|
|
491
|
+
]),
|
|
492
|
+
lib(
|
|
493
|
+
"citus_columnar",
|
|
494
|
+
"12.1",
|
|
495
|
+
"Citus columnar storage for analytics",
|
|
496
|
+
"scale",
|
|
497
|
+
["columnar", "olap", "citus"],
|
|
498
|
+
["citus"],
|
|
499
|
+
),
|
|
500
|
+
lib("pg_repack", "1.5.1", "Online table bloat cleanup without exclusive locks", "scale", [
|
|
501
|
+
"bloat",
|
|
502
|
+
"vacuum",
|
|
503
|
+
"reindex",
|
|
504
|
+
]),
|
|
505
|
+
lib("pg_squeeze", "1.8", "Automatic bloat cleanup as a background worker", "scale", [
|
|
506
|
+
"bloat",
|
|
507
|
+
"vacuum",
|
|
508
|
+
]),
|
|
509
|
+
lib("hypopg", "1.4.1", "Hypothetical indexes for EXPLAIN without creating them", "scale", [
|
|
510
|
+
"explain",
|
|
511
|
+
"index",
|
|
512
|
+
"what-if",
|
|
513
|
+
]),
|
|
514
|
+
lib(
|
|
515
|
+
"index_advisor",
|
|
516
|
+
"0.2.0",
|
|
517
|
+
"Suggest indexes from a query via hypothetical indexes",
|
|
518
|
+
"scale",
|
|
519
|
+
["index", "advisor", "hypopg"],
|
|
520
|
+
["hypopg"],
|
|
521
|
+
),
|
|
522
|
+
lib("pg_hint_plan", "1.7.0", "Planner hints in SQL comments", "scale", [
|
|
523
|
+
"planner",
|
|
524
|
+
"hint",
|
|
525
|
+
"explain",
|
|
526
|
+
]),
|
|
527
|
+
lib("pg_stat_kcache", "2.3.0", "Filesystem and CPU stats per query", "scale", [
|
|
528
|
+
"stats",
|
|
529
|
+
"observability",
|
|
530
|
+
]),
|
|
531
|
+
lib("pg_qualstats", "2.1.1", "Predicate statistics for missing-index hints", "scale", [
|
|
532
|
+
"stats",
|
|
533
|
+
"index",
|
|
534
|
+
]),
|
|
535
|
+
lib("pg_wait_sampling", "1.1.6", "Sample wait events for lock analysis", "scale", [
|
|
536
|
+
"waits",
|
|
537
|
+
"locks",
|
|
538
|
+
"observability",
|
|
539
|
+
]),
|
|
540
|
+
lib("pg_stat_monitor", "2.1.0", "Percona query-performance monitor", "scale", [
|
|
541
|
+
"stats",
|
|
542
|
+
"percona",
|
|
543
|
+
"observability",
|
|
544
|
+
]),
|
|
545
|
+
lib("pgaudit", "17.0", "Session and object audit logging", "security", [
|
|
546
|
+
"audit",
|
|
547
|
+
"compliance",
|
|
548
|
+
"logging",
|
|
549
|
+
]),
|
|
550
|
+
lib("pgsodium", "3.1.9", "Libsodium cryptography helpers", "security", [
|
|
551
|
+
"crypto",
|
|
552
|
+
"encryption",
|
|
553
|
+
"libsodium",
|
|
554
|
+
]),
|
|
555
|
+
lib("pgjwt", "0.2.0", "Create and verify JSON Web Tokens in SQL", "security", [
|
|
556
|
+
"jwt",
|
|
557
|
+
"auth",
|
|
558
|
+
"token",
|
|
559
|
+
]),
|
|
560
|
+
lib("anon", "2.1.0", "PostgreSQL Anonymizer — masking and dumping", "security", [
|
|
561
|
+
"pii",
|
|
562
|
+
"mask",
|
|
563
|
+
"gdpr",
|
|
564
|
+
"anonymizer",
|
|
565
|
+
]),
|
|
566
|
+
lib("credcheck", "2.8", "Password complexity and reuse checks", "security", ["password", "auth"]),
|
|
567
|
+
lib("set_user", "4.1.0", "Privilege bridging with audit trail", "security", [
|
|
568
|
+
"sudo",
|
|
569
|
+
"privilege",
|
|
570
|
+
"audit",
|
|
571
|
+
]),
|
|
572
|
+
lib("pg_tle", "1.5.0", "Trusted Language Extensions (AWS)", "security", [
|
|
573
|
+
"tle",
|
|
574
|
+
"aws",
|
|
575
|
+
"sandbox",
|
|
576
|
+
]),
|
|
577
|
+
lib("pg_net", "0.14.0", "Async HTTP from SQL (Supabase)", "http", [
|
|
578
|
+
"http",
|
|
579
|
+
"webhook",
|
|
580
|
+
"supabase",
|
|
581
|
+
]),
|
|
582
|
+
lib("http", "1.6", "Synchronous HTTP client from SQL", "http", ["http", "rest", "curl"]),
|
|
583
|
+
lib("wrappers", "0.4.5", "Supabase FDW framework (Stripe, Firebase, S3…)", "http", [
|
|
584
|
+
"fdw",
|
|
585
|
+
"supabase",
|
|
586
|
+
"stripe",
|
|
587
|
+
]),
|
|
588
|
+
lib("pg_graphql", "1.5.11", "GraphQL API generated from the schema", "http", [
|
|
589
|
+
"graphql",
|
|
590
|
+
"api",
|
|
591
|
+
"supabase",
|
|
592
|
+
]),
|
|
593
|
+
lib("pgmq", "1.5.1", "Lightweight message queue in Postgres", "http", ["queue", "mq", "jobs"]),
|
|
594
|
+
lib("pg_jsonschema", "0.3.3", "Validate JSON against JSON Schema", "http", [
|
|
595
|
+
"json",
|
|
596
|
+
"schema",
|
|
597
|
+
"validate",
|
|
598
|
+
]),
|
|
599
|
+
lib("mysql_fdw", "1.2", "Foreign-data wrapper for MySQL / MariaDB", "fdw", [
|
|
600
|
+
"mysql",
|
|
601
|
+
"mariadb",
|
|
602
|
+
"fdw",
|
|
603
|
+
]),
|
|
604
|
+
lib("mongo_fdw", "5.5.2", "Foreign-data wrapper for MongoDB", "fdw", ["mongodb", "fdw"]),
|
|
605
|
+
lib("tds_fdw", "2.0.4", "Foreign-data wrapper for SQL Server / Sybase", "fdw", [
|
|
606
|
+
"mssql",
|
|
607
|
+
"sqlserver",
|
|
608
|
+
"fdw",
|
|
609
|
+
]),
|
|
610
|
+
lib("oracle_fdw", "2.7.0", "Foreign-data wrapper for Oracle", "fdw", ["oracle", "fdw"]),
|
|
611
|
+
lib("sqlite_fdw", "2.5.0", "Foreign-data wrapper for SQLite", "fdw", ["sqlite", "fdw"]),
|
|
612
|
+
lib("redis_fdw", "1.0", "Foreign-data wrapper for Redis", "fdw", ["redis", "fdw"]),
|
|
613
|
+
lib("duckdb_fdw", "1.1.0", "Foreign-data wrapper for DuckDB", "fdw", ["duckdb", "olap", "fdw"]),
|
|
614
|
+
lib("pg_duckdb", "0.3.0", "DuckDB engine inside Postgres", "fdw", [
|
|
615
|
+
"duckdb",
|
|
616
|
+
"olap",
|
|
617
|
+
"analytics",
|
|
618
|
+
]),
|
|
619
|
+
lib("ogr_fdw", "1.1.5", "GDAL/OGR spatial foreign tables", "fdw", [
|
|
620
|
+
"gis",
|
|
621
|
+
"gdal",
|
|
622
|
+
"shapefile",
|
|
623
|
+
"fdw",
|
|
624
|
+
]),
|
|
625
|
+
lib("plpython3u", "1.0", "Untrusted Python 3 procedural language", "lang", ["python", "pl"]),
|
|
626
|
+
lib("plperl", "1.0", "Perl procedural language", "lang", ["perl", "pl"]),
|
|
627
|
+
lib("pltcl", "1.0", "Tcl procedural language", "lang", ["tcl", "pl"]),
|
|
628
|
+
lib("plv8", "3.2.3", "JavaScript (V8) procedural language", "lang", ["javascript", "v8", "pl"]),
|
|
629
|
+
lib("plrust", "1.2.8", "Trusted Rust procedural language", "lang", ["rust", "pl"]),
|
|
630
|
+
lib("plpgsql_check", "2.7.15", "Static analysis for PL/pgSQL functions", "lang", [
|
|
631
|
+
"lint",
|
|
632
|
+
"plpgsql",
|
|
633
|
+
]),
|
|
634
|
+
lib("hll", "2.18", "HyperLogLog distinct-count sketches", "analytics", [
|
|
635
|
+
"cardinality",
|
|
636
|
+
"sketch",
|
|
637
|
+
"approx",
|
|
638
|
+
]),
|
|
639
|
+
lib("tdigest", "1.4.2", "t-digest quantiles and percentiles", "analytics", [
|
|
640
|
+
"quantile",
|
|
641
|
+
"percentile",
|
|
642
|
+
"sketch",
|
|
643
|
+
]),
|
|
644
|
+
lib("topn", "2.7.0", "Approximate most-frequent values", "analytics", [
|
|
645
|
+
"topk",
|
|
646
|
+
"sketch",
|
|
647
|
+
"timescale",
|
|
648
|
+
]),
|
|
649
|
+
lib("datasketches", "1.7.0", "Apache DataSketches — HLL, Theta, KLL", "analytics", [
|
|
650
|
+
"sketch",
|
|
651
|
+
"apache",
|
|
652
|
+
"approx",
|
|
653
|
+
]),
|
|
654
|
+
lib("pg_uuidv7", "1.6.0", "UUIDv7 generators (time-ordered)", "analytics", ["uuid", "id"]),
|
|
655
|
+
lib("pg_idkit", "0.2.4", "UUID, ULID, KSUID, TypeID generators", "analytics", [
|
|
656
|
+
"uuid",
|
|
657
|
+
"ulid",
|
|
658
|
+
"ksuid",
|
|
659
|
+
]),
|
|
660
|
+
lib("pg_hashids", "1.3.0", "YouTube-style hashids from integers", "analytics", [
|
|
661
|
+
"hashid",
|
|
662
|
+
"shortid",
|
|
663
|
+
]),
|
|
664
|
+
];
|
|
665
|
+
|
|
666
|
+
/** Built-in catalog — memory / fallback default. */
|
|
667
|
+
export const PG_AVAILABLE_EXTENSIONS: readonly PgExtensionInfo[] = PG_BUILTIN_EXTENSIONS;
|
|
668
|
+
|
|
669
|
+
/** Built-in + library — names the Console may add or enable. */
|
|
670
|
+
export const PG_ALL_EXTENSIONS: readonly PgExtensionInfo[] = [
|
|
671
|
+
...PG_BUILTIN_EXTENSIONS,
|
|
672
|
+
...PG_LIBRARY_EXTENSIONS,
|
|
673
|
+
];
|
|
674
|
+
|
|
675
|
+
/** Extensions enabled on a fresh memory / fallback catalog. */
|
|
676
|
+
export const PG_DEFAULT_ENABLED_EXTENSIONS: readonly string[] = ["plpgsql"];
|
|
677
|
+
|
|
678
|
+
/**
|
|
679
|
+
* Memory first-enable pins these at an older version so Upgrade is visible.
|
|
680
|
+
* Live engines use `installed_version` vs `default_version`.
|
|
681
|
+
*/
|
|
682
|
+
export const PG_MEMORY_STALE_VERSIONS: Readonly<Record<string, string>> = {
|
|
683
|
+
pgcrypto: "1.2",
|
|
684
|
+
amcheck: "1.3",
|
|
685
|
+
btree_gin: "1.2",
|
|
686
|
+
pg_stat_statements: "1.10",
|
|
687
|
+
pg_trgm: "1.5",
|
|
688
|
+
vector: "0.8.0",
|
|
689
|
+
};
|
|
690
|
+
|
|
691
|
+
/**
|
|
692
|
+
* True when `available` is a newer dotted version than `installed`.
|
|
693
|
+
*
|
|
694
|
+
* @param available - Engine default version
|
|
695
|
+
* @param installed - Currently installed version
|
|
696
|
+
*/
|
|
697
|
+
export function pgExtensionVersionNewer(available: string, installed: string): boolean {
|
|
698
|
+
if (available === installed) return false;
|
|
699
|
+
const a = available.split(".").map((part) => Number(part));
|
|
700
|
+
const b = installed.split(".").map((part) => Number(part));
|
|
701
|
+
const n = Math.max(a.length, b.length);
|
|
702
|
+
for (let i = 0; i < n; i++) {
|
|
703
|
+
const av = a[i] ?? 0;
|
|
704
|
+
const iv = b[i] ?? 0;
|
|
705
|
+
if (!Number.isFinite(av) || !Number.isFinite(iv)) return available !== installed;
|
|
706
|
+
if (av > iv) return true;
|
|
707
|
+
if (av < iv) return false;
|
|
708
|
+
}
|
|
709
|
+
return false;
|
|
710
|
+
}
|
|
711
|
+
|
|
712
|
+
/**
|
|
713
|
+
* True when `version` is a dotted numeric extension version.
|
|
714
|
+
*
|
|
715
|
+
* @param version - Candidate version
|
|
716
|
+
*/
|
|
717
|
+
export function isPgExtensionVersion(version: string): boolean {
|
|
718
|
+
return /^[0-9]+(\.[0-9]+)*$/.test(version);
|
|
719
|
+
}
|
|
720
|
+
|
|
721
|
+
const PG_EXTENSION_TITLES: Record<string, string> = {
|
|
722
|
+
plpgsql: "PL/pgSQL",
|
|
723
|
+
pgcrypto: "Crypto",
|
|
724
|
+
"uuid-ossp": "UUID OSSP",
|
|
725
|
+
citext: "CIText",
|
|
726
|
+
hstore: "Hstore",
|
|
727
|
+
pg_trgm: "Trigram",
|
|
728
|
+
btree_gin: "B-tree GIN",
|
|
729
|
+
btree_gist: "B-tree GiST",
|
|
730
|
+
unaccent: "Unaccent",
|
|
731
|
+
ltree: "Ltree",
|
|
732
|
+
cube: "Cube",
|
|
733
|
+
earthdistance: "Earth Distance",
|
|
734
|
+
fuzzystrmatch: "Fuzzy Match",
|
|
735
|
+
intarray: "Intarray",
|
|
736
|
+
isn: "ISN",
|
|
737
|
+
lo: "Large Objects",
|
|
738
|
+
tablefunc: "Tablefunc",
|
|
739
|
+
tcn: "TCN",
|
|
740
|
+
tsm_system_rows: "System Rows",
|
|
741
|
+
tsm_system_time: "System Time",
|
|
742
|
+
xml2: "XML2",
|
|
743
|
+
postgres_fdw: "Postgres FDW",
|
|
744
|
+
file_fdw: "File FDW",
|
|
745
|
+
dblink: "DB Link",
|
|
746
|
+
amcheck: "AM Check",
|
|
747
|
+
bloom: "Bloom",
|
|
748
|
+
dict_int: "Dict Int",
|
|
749
|
+
dict_xsyn: "Dict Xsyn",
|
|
750
|
+
pageinspect: "Page Inspect",
|
|
751
|
+
pg_buffercache: "Buffer Cache",
|
|
752
|
+
pg_freespacemap: "Free Space Map",
|
|
753
|
+
pg_prewarm: "Prewarm",
|
|
754
|
+
pg_stat_statements: "Stat Statements",
|
|
755
|
+
pg_surgery: "Surgery",
|
|
756
|
+
pg_visibility: "Visibility",
|
|
757
|
+
pgrowlocks: "Row Locks",
|
|
758
|
+
pgstattuple: "Stat Tuple",
|
|
759
|
+
sslinfo: "SSL Info",
|
|
760
|
+
vector: "pgvector",
|
|
761
|
+
timescaledb: "Timescale",
|
|
762
|
+
timescaledb_toolkit: "Timescale Toolkit",
|
|
763
|
+
pg_partman: "Partman",
|
|
764
|
+
pg_ivm: "IVM",
|
|
765
|
+
temporal_tables: "Temporal Tables",
|
|
766
|
+
pg_cron: "Cron",
|
|
767
|
+
pg_later: "Later",
|
|
768
|
+
pg_background: "Background",
|
|
769
|
+
postgis: "PostGIS",
|
|
770
|
+
postgis_topology: "PostGIS Topology",
|
|
771
|
+
postgis_raster: "PostGIS Raster",
|
|
772
|
+
postgis_sfcgal: "PostGIS SFCGAL",
|
|
773
|
+
address_standardizer: "Address Standardizer",
|
|
774
|
+
postgis_tiger_geocoder: "PostGIS Tiger Geocoder",
|
|
775
|
+
pgrouting: "pgRouting",
|
|
776
|
+
h3: "H3",
|
|
777
|
+
mobilitydb: "MobilityDB",
|
|
778
|
+
pointcloud: "Pointcloud",
|
|
779
|
+
rum: "RUM",
|
|
780
|
+
pg_search: "ParadeDB Search",
|
|
781
|
+
pgroonga: "PGroonga",
|
|
782
|
+
pg_bigm: "Bigm",
|
|
783
|
+
zhparser: "Zhparser",
|
|
784
|
+
zombodb: "ZomboDB",
|
|
785
|
+
vchord: "VectorChord",
|
|
786
|
+
vectorscale: "Vectorscale",
|
|
787
|
+
age: "Apache AGE",
|
|
788
|
+
citus: "Citus",
|
|
789
|
+
citus_columnar: "Citus Columnar",
|
|
790
|
+
pg_repack: "Repack",
|
|
791
|
+
pg_squeeze: "Squeeze",
|
|
792
|
+
hypopg: "HypoPG",
|
|
793
|
+
index_advisor: "Index Advisor",
|
|
794
|
+
pg_hint_plan: "Hint Plan",
|
|
795
|
+
pg_stat_kcache: "Stat Kcache",
|
|
796
|
+
pg_qualstats: "Qualstats",
|
|
797
|
+
pg_wait_sampling: "Wait Sampling",
|
|
798
|
+
pg_stat_monitor: "Stat Monitor",
|
|
799
|
+
pgaudit: "pgAudit",
|
|
800
|
+
pgsodium: "Sodium",
|
|
801
|
+
pgjwt: "JWT",
|
|
802
|
+
anon: "Anonymizer",
|
|
803
|
+
credcheck: "Credcheck",
|
|
804
|
+
set_user: "Set User",
|
|
805
|
+
pg_tle: "TLE",
|
|
806
|
+
pg_net: "Net",
|
|
807
|
+
http: "HTTP",
|
|
808
|
+
wrappers: "Wrappers",
|
|
809
|
+
pg_graphql: "GraphQL",
|
|
810
|
+
pgmq: "Queues",
|
|
811
|
+
pg_jsonschema: "JSON Schema",
|
|
812
|
+
mysql_fdw: "MySQL FDW",
|
|
813
|
+
mongo_fdw: "MongoDB FDW",
|
|
814
|
+
tds_fdw: "TDS FDW",
|
|
815
|
+
oracle_fdw: "Oracle FDW",
|
|
816
|
+
sqlite_fdw: "SQLite FDW",
|
|
817
|
+
redis_fdw: "Redis FDW",
|
|
818
|
+
duckdb_fdw: "DuckDB FDW",
|
|
819
|
+
pg_duckdb: "DuckDB",
|
|
820
|
+
ogr_fdw: "OGR FDW",
|
|
821
|
+
plpython3u: "PL/Python 3",
|
|
822
|
+
plperl: "PL/Perl",
|
|
823
|
+
pltcl: "PL/Tcl",
|
|
824
|
+
plv8: "PL/V8",
|
|
825
|
+
plrust: "PL/Rust",
|
|
826
|
+
plpgsql_check: "PL/pgSQL Check",
|
|
827
|
+
hll: "HyperLogLog",
|
|
828
|
+
tdigest: "t-digest",
|
|
829
|
+
topn: "TopN",
|
|
830
|
+
datasketches: "DataSketches",
|
|
831
|
+
pg_uuidv7: "UUIDv7",
|
|
832
|
+
pg_idkit: "IDkit",
|
|
833
|
+
pg_hashids: "Hashids",
|
|
834
|
+
};
|
|
835
|
+
|
|
836
|
+
const PG_EXTENSION_TITLE_TOKENS: Record<string, string> = {
|
|
837
|
+
fdw: "FDW",
|
|
838
|
+
jwt: "JWT",
|
|
839
|
+
http: "HTTP",
|
|
840
|
+
ivm: "IVM",
|
|
841
|
+
tle: "TLE",
|
|
842
|
+
hll: "HLL",
|
|
843
|
+
age: "AGE",
|
|
844
|
+
rum: "RUM",
|
|
845
|
+
h3: "H3",
|
|
846
|
+
postgis: "PostGIS",
|
|
847
|
+
duckdb: "DuckDB",
|
|
848
|
+
gin: "GIN",
|
|
849
|
+
gist: "GiST",
|
|
850
|
+
};
|
|
851
|
+
|
|
852
|
+
/**
|
|
853
|
+
* Human title for a catalog or library extension.
|
|
854
|
+
*
|
|
855
|
+
* @param name - Extension key (`timescaledb_toolkit`, `amcheck`)
|
|
856
|
+
*/
|
|
857
|
+
export function pgExtensionTitle(name: string): string {
|
|
858
|
+
const mapped = PG_EXTENSION_TITLES[name];
|
|
859
|
+
if (mapped) return mapped;
|
|
860
|
+
const stripped = name.replace(/^pg_/, "");
|
|
861
|
+
return stripped
|
|
862
|
+
.split(/[_-]+/)
|
|
863
|
+
.filter((part) => part.length > 0)
|
|
864
|
+
.map((part) => PG_EXTENSION_TITLE_TOKENS[part] ?? part.charAt(0).toUpperCase() + part.slice(1))
|
|
865
|
+
.join(" ");
|
|
866
|
+
}
|
|
867
|
+
|
|
868
|
+
const PG_DOCS = "https://www.postgresql.org/docs/current";
|
|
869
|
+
|
|
870
|
+
/** Postgres contrib / language doc slugs (`pg_trgm` → `pgtrgm.html`). */
|
|
871
|
+
const PG_CONTRIB_DOC_SLUGS: Readonly<Record<string, string>> = {
|
|
872
|
+
plpgsql: "plpgsql",
|
|
873
|
+
pgcrypto: "pgcrypto",
|
|
874
|
+
"uuid-ossp": "uuid-ossp",
|
|
875
|
+
citext: "citext",
|
|
876
|
+
hstore: "hstore",
|
|
877
|
+
pg_trgm: "pgtrgm",
|
|
878
|
+
btree_gin: "btree-gin",
|
|
879
|
+
btree_gist: "btree-gist",
|
|
880
|
+
unaccent: "unaccent",
|
|
881
|
+
ltree: "ltree",
|
|
882
|
+
cube: "cube",
|
|
883
|
+
earthdistance: "earthdistance",
|
|
884
|
+
fuzzystrmatch: "fuzzystrmatch",
|
|
885
|
+
intarray: "intarray",
|
|
886
|
+
isn: "isn",
|
|
887
|
+
lo: "lo",
|
|
888
|
+
tablefunc: "tablefunc",
|
|
889
|
+
tcn: "tcn",
|
|
890
|
+
tsm_system_rows: "tsm-system-rows",
|
|
891
|
+
tsm_system_time: "tsm-system-time",
|
|
892
|
+
xml2: "xml2",
|
|
893
|
+
postgres_fdw: "postgres-fdw",
|
|
894
|
+
file_fdw: "file-fdw",
|
|
895
|
+
dblink: "dblink",
|
|
896
|
+
amcheck: "amcheck",
|
|
897
|
+
bloom: "bloom",
|
|
898
|
+
dict_int: "dict-int",
|
|
899
|
+
dict_xsyn: "dict-xsyn",
|
|
900
|
+
pageinspect: "pageinspect",
|
|
901
|
+
pg_buffercache: "pgbuffercache",
|
|
902
|
+
pg_freespacemap: "pgfreespacemap",
|
|
903
|
+
pg_prewarm: "pgprewarm",
|
|
904
|
+
pg_stat_statements: "pgstatstatements",
|
|
905
|
+
pg_surgery: "pgsurgery",
|
|
906
|
+
pg_visibility: "pgvisibility",
|
|
907
|
+
pgrowlocks: "pgrowlocks",
|
|
908
|
+
pgstattuple: "pgstattuple",
|
|
909
|
+
sslinfo: "sslinfo",
|
|
910
|
+
plpython3u: "plpython",
|
|
911
|
+
plperl: "plperl",
|
|
912
|
+
pltcl: "pltcl",
|
|
913
|
+
};
|
|
914
|
+
|
|
915
|
+
/** Project pages for non-contrib packs (`vector` → pgvector). */
|
|
916
|
+
const PG_EXTENSION_URLS: Readonly<Record<string, string>> = {
|
|
917
|
+
vector: "https://github.com/pgvector/pgvector",
|
|
918
|
+
timescaledb: "https://github.com/timescale/timescaledb",
|
|
919
|
+
timescaledb_toolkit: "https://github.com/timescale/timescaledb-toolkit",
|
|
920
|
+
pg_partman: "https://github.com/pgpartman/pg_partman",
|
|
921
|
+
pg_ivm: "https://github.com/sraoss/pg_ivm",
|
|
922
|
+
temporal_tables: "https://github.com/arkhipov/temporal_tables",
|
|
923
|
+
pg_cron: "https://github.com/citusdata/pg_cron",
|
|
924
|
+
pg_later: "https://github.com/supabase/pg_later",
|
|
925
|
+
pg_background: "https://github.com/vibhorkum/pg_background",
|
|
926
|
+
postgis: "https://postgis.net",
|
|
927
|
+
postgis_topology: "https://postgis.net/docs/Topology.html",
|
|
928
|
+
postgis_raster: "https://postgis.net/docs/RT_reference.html",
|
|
929
|
+
postgis_sfcgal: "https://postgis.net/docs/reference.html#reference_sfcgal",
|
|
930
|
+
address_standardizer: "https://postgis.net/docs/manual-dev/Address_Standardizer.html",
|
|
931
|
+
postgis_tiger_geocoder: "https://postgis.net/docs/Extras.html#Tiger_Geocoder",
|
|
932
|
+
pgrouting: "https://pgrouting.org",
|
|
933
|
+
h3: "https://github.com/zachasme/h3-pg",
|
|
934
|
+
mobilitydb: "https://github.com/MobilityDB/MobilityDB",
|
|
935
|
+
pointcloud: "https://github.com/pgpointcloud/pointcloud",
|
|
936
|
+
rum: "https://github.com/postgrespro/rum",
|
|
937
|
+
pg_search: "https://github.com/paradedb/paradedb",
|
|
938
|
+
pgroonga: "https://pgroonga.github.io",
|
|
939
|
+
pg_bigm: "https://github.com/pgbigm/pg_bigm",
|
|
940
|
+
zhparser: "https://github.com/amutu/zhparser",
|
|
941
|
+
zombodb: "https://github.com/zombodb/zombodb",
|
|
942
|
+
vchord: "https://github.com/tensorchord/VectorChord",
|
|
943
|
+
vectorscale: "https://github.com/timescale/pgvectorscale",
|
|
944
|
+
age: "https://age.apache.org",
|
|
945
|
+
citus: "https://github.com/citusdata/citus",
|
|
946
|
+
citus_columnar: "https://github.com/citusdata/citus",
|
|
947
|
+
pg_repack: "https://github.com/reorg/pg_repack",
|
|
948
|
+
pg_squeeze: "https://github.com/cybertec-postgresql/pg_squeeze",
|
|
949
|
+
hypopg: "https://github.com/HypoPG/hypopg",
|
|
950
|
+
index_advisor: "https://github.com/supabase/index_advisor",
|
|
951
|
+
pg_hint_plan: "https://github.com/ossc-db/pg_hint_plan",
|
|
952
|
+
pg_stat_kcache: "https://github.com/powa-team/pg_stat_kcache",
|
|
953
|
+
pg_qualstats: "https://github.com/powa-team/pg_qualstats",
|
|
954
|
+
pg_wait_sampling: "https://github.com/postgrespro/pg_wait_sampling",
|
|
955
|
+
pg_stat_monitor: "https://github.com/percona/pg_stat_monitor",
|
|
956
|
+
pgaudit: "https://github.com/pgaudit/pgaudit",
|
|
957
|
+
pgsodium: "https://github.com/michelp/pgsodium",
|
|
958
|
+
pgjwt: "https://github.com/michelp/pgjwt",
|
|
959
|
+
anon: "https://postgresql-anonymizer.readthedocs.io",
|
|
960
|
+
credcheck: "https://github.com/HexaCluster/credcheck",
|
|
961
|
+
set_user: "https://github.com/pgaudit/set_user",
|
|
962
|
+
pg_tle: "https://github.com/aws/pg_tle",
|
|
963
|
+
pg_net: "https://github.com/supabase/pg_net",
|
|
964
|
+
http: "https://github.com/pramsey/pgsql-http",
|
|
965
|
+
wrappers: "https://github.com/supabase/wrappers",
|
|
966
|
+
pg_graphql: "https://github.com/supabase/pg_graphql",
|
|
967
|
+
pgmq: "https://github.com/pgmq/pgmq",
|
|
968
|
+
pg_jsonschema: "https://github.com/supabase/pg_jsonschema",
|
|
969
|
+
mysql_fdw: "https://github.com/enterprisedb/mysql_fdw",
|
|
970
|
+
mongo_fdw: "https://github.com/enterprisedb/mongo_fdw",
|
|
971
|
+
tds_fdw: "https://github.com/tds-fdw/tds_fdw",
|
|
972
|
+
oracle_fdw: "https://github.com/laurenz/oracle_fdw",
|
|
973
|
+
sqlite_fdw: "https://github.com/pgspider/sqlite_fdw",
|
|
974
|
+
redis_fdw: "https://github.com/pg-redis-fdw/redis_fdw",
|
|
975
|
+
duckdb_fdw: "https://github.com/alitrack/duckdb_fdw",
|
|
976
|
+
pg_duckdb: "https://github.com/duckdb/pg_duckdb",
|
|
977
|
+
ogr_fdw: "https://github.com/pramsey/pgsql-ogr-fdw",
|
|
978
|
+
plv8: "https://github.com/plv8/plv8",
|
|
979
|
+
plrust: "https://github.com/tcdi/plrust",
|
|
980
|
+
plpgsql_check: "https://github.com/okbob/plpgsql_check",
|
|
981
|
+
hll: "https://github.com/citusdata/postgresql-hll",
|
|
982
|
+
tdigest: "https://github.com/tvondra/tdigest",
|
|
983
|
+
topn: "https://github.com/timescale/pg_topn",
|
|
984
|
+
datasketches: "https://github.com/apache/datasketches-postgresql",
|
|
985
|
+
pg_uuidv7: "https://github.com/fboulnois/pg_uuidv7",
|
|
986
|
+
pg_idkit: "https://github.com/gaeljw/pg_idkit",
|
|
987
|
+
pg_hashids: "https://github.com/iCyberon/pg_hashids",
|
|
988
|
+
};
|
|
989
|
+
|
|
990
|
+
/**
|
|
991
|
+
* Homepage for a catalog or library extension, or null when unknown.
|
|
992
|
+
*
|
|
993
|
+
* @param name - Extension key (`vector`, `amcheck`)
|
|
994
|
+
*/
|
|
995
|
+
export function pgExtensionUrl(name: string): string | null {
|
|
996
|
+
const mapped = PG_EXTENSION_URLS[name];
|
|
997
|
+
if (mapped) return mapped;
|
|
998
|
+
const slug = PG_CONTRIB_DOC_SLUGS[name];
|
|
999
|
+
if (slug) return `${PG_DOCS}/${slug}.html`;
|
|
1000
|
+
return null;
|
|
1001
|
+
}
|
|
1002
|
+
|
|
1003
|
+
/** Category labels for the library sheet. */
|
|
1004
|
+
export const PG_EXTENSION_CATEGORY_LABELS: Record<PgExtensionCategory, string> = {
|
|
1005
|
+
language: "Language",
|
|
1006
|
+
contrib: "Contrib",
|
|
1007
|
+
time: "Time series",
|
|
1008
|
+
geo: "Geospatial",
|
|
1009
|
+
jobs: "Jobs",
|
|
1010
|
+
search: "Search",
|
|
1011
|
+
graph: "Graph",
|
|
1012
|
+
scale: "Scale",
|
|
1013
|
+
security: "Security",
|
|
1014
|
+
http: "HTTP",
|
|
1015
|
+
fdw: "Foreign data",
|
|
1016
|
+
lang: "Languages",
|
|
1017
|
+
analytics: "Analytics",
|
|
1018
|
+
};
|
|
1019
|
+
|
|
1020
|
+
/**
|
|
1021
|
+
* Look up a built-in or library extension by name.
|
|
1022
|
+
*
|
|
1023
|
+
* @param name - Extension name
|
|
1024
|
+
*/
|
|
1025
|
+
export function findPgExtension(name: string): PgExtensionInfo | undefined {
|
|
1026
|
+
return PG_ALL_EXTENSIONS.find((ext) => ext.name === name);
|
|
1027
|
+
}
|
|
1028
|
+
|
|
1029
|
+
/**
|
|
1030
|
+
* Catalog source for a name (`library` when listed there, else `builtin`).
|
|
1031
|
+
*
|
|
1032
|
+
* @param name - Extension name
|
|
1033
|
+
*/
|
|
1034
|
+
export function pgExtensionSource(name: string): PgExtensionSource {
|
|
1035
|
+
return findPgExtension(name)?.source ?? "builtin";
|
|
1036
|
+
}
|
|
1037
|
+
|
|
1038
|
+
/**
|
|
1039
|
+
* True when `name` is a safe extension identifier (`uuid-ossp` allowed).
|
|
1040
|
+
*
|
|
1041
|
+
* @param name - Extension name
|
|
1042
|
+
*/
|
|
1043
|
+
export function isPgExtensionName(name: string): boolean {
|
|
1044
|
+
return /^[A-Za-z][A-Za-z0-9_-]*$/.test(name);
|
|
1045
|
+
}
|
|
1046
|
+
|
|
1047
|
+
/**
|
|
1048
|
+
* Quote an extension name for `CREATE` / `DROP EXTENSION`.
|
|
1049
|
+
*
|
|
1050
|
+
* @param name - Validated extension name
|
|
1051
|
+
*/
|
|
1052
|
+
export function quotePgExtensionName(name: string): string {
|
|
1053
|
+
return `"${name.replaceAll('"', "")}"`;
|
|
1054
|
+
}
|