@builder.io/dev-tools 1.35.3-dev.202603251414.7060a67a6 → 1.35.3-dev.202603260707.584c84aa2
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/angular/index.cjs +0 -0
- package/angular/index.d.ts +0 -0
- package/angular/index.mjs +0 -0
- package/cli/index.cjs +333 -439
- package/cli/index.cjs.map +4 -4
- package/core/index.cjs +7 -156
- package/core/index.d.ts +0 -0
- package/core/index.mjs +7 -156
- package/figma/index.cjs +0 -0
- package/figma/index.d.ts +0 -0
- package/figma/index.mjs +0 -0
- package/node/index.cjs +1 -1
- package/node/index.d.ts +0 -0
- package/node/index.mjs +1 -1
- package/package.json +1 -1
- package/remix/build.cjs +0 -0
- package/remix/index.d.ts +0 -0
- package/remix/index.mjs +0 -0
- package/remix/server-build/index.cjs +0 -0
- package/remix/server-build/index.mjs +0 -0
- package/server/index.cjs +161 -182
- package/server/index.d.ts +0 -0
- package/server/index.mjs +161 -182
- package/types/_tests_/code.e2e.d.ts +0 -0
- package/types/_tests_/codegen-acl-glob.test.d.ts +0 -0
- package/types/_tests_/codegen-git-path-handling.test.d.ts +0 -0
- package/types/_tests_/codegen-listdir-security.test.d.ts +0 -0
- package/types/_tests_/config-validation.test.d.ts +0 -0
- package/types/_tests_/create-builder.e2e.d.ts +0 -0
- package/types/_tests_/dev-tools.e2e.d.ts +0 -0
- package/types/_tests_/figma-generate.e2e.d.ts +0 -0
- package/types/_tests_/figma-publish.e2e.d.ts +0 -0
- package/types/_tests_/fusionInit.e2e.d.ts +0 -0
- package/types/_tests_/help.e2e.d.ts +0 -0
- package/types/_tests_/launch-binary.e2e.d.ts +0 -0
- package/types/_tests_/launch.e2e.d.ts +0 -0
- package/types/_tests_/per-repo-gh-token.test.d.ts +1 -0
- package/types/_tests_/repo-indexing.test.d.ts +0 -0
- package/types/_tests_/sync-utils.test.d.ts +0 -0
- package/types/_tests_/utils.d.ts +0 -0
- package/types/_tests_/vitest.config.d.ts +0 -0
- package/types/_tests_/workspace.e2e.d.ts +0 -0
- package/types/angular/index.d.ts +0 -0
- package/types/cli/__tests__/isLikelyFixedString.spec.d.ts +0 -0
- package/types/cli/__tests__/parseGitDiffToApplyActions.spec.d.ts +0 -0
- package/types/cli/abort-signal-any.d.ts +0 -0
- package/types/cli/agent-command.d.ts +0 -0
- package/types/cli/auth/auth-utils.d.ts +0 -0
- package/types/cli/auth/auth.d.ts +0 -0
- package/types/cli/auth/status.d.ts +0 -0
- package/types/cli/backup.d.ts +0 -0
- package/types/cli/builder-add/interface.d.ts +0 -0
- package/types/cli/builder-add/options.d.ts +0 -0
- package/types/cli/code-file-utils.d.ts +0 -0
- package/types/cli/code-file-utils.unit.d.ts +0 -0
- package/types/cli/code-tools.d.ts +0 -0
- package/types/cli/code.d.ts +0 -0
- package/types/cli/codegen-git-snapshot.test.d.ts +1 -0
- package/types/cli/codegen.d.ts +0 -0
- package/types/cli/constants.d.ts +0 -0
- package/types/cli/credentials.d.ts +0 -0
- package/types/cli/detectors/nextjs.d.ts +0 -0
- package/types/cli/detectors/svelte.d.ts +0 -0
- package/types/cli/detectors/vue.d.ts +0 -0
- package/types/cli/doctor/doctor.d.ts +0 -0
- package/types/cli/download.d.ts +0 -0
- package/types/cli/dsi-mcp.d.ts +0 -0
- package/types/cli/exit.d.ts +0 -0
- package/types/cli/fetch.d.ts +0 -0
- package/types/cli/fetch.test.d.ts +0 -0
- package/types/cli/figma-publish.d.ts +0 -0
- package/types/cli/figma-publish.spec.d.ts +0 -0
- package/types/cli/figma-utils.d.ts +0 -0
- package/types/cli/figma.d.ts +0 -0
- package/types/cli/generate.d.ts +0 -0
- package/types/cli/help.d.ts +0 -0
- package/types/cli/incremental-tsc.d.ts +0 -0
- package/types/cli/index.d.ts +0 -0
- package/types/cli/indexing.d.ts +0 -0
- package/types/cli/launch/InitStateMachine.d.ts +0 -0
- package/types/cli/launch/config.d.ts +0 -0
- package/types/cli/launch/config.test.d.ts +0 -0
- package/types/cli/launch/dev-server-orchestrator.d.ts +0 -0
- package/types/cli/launch/dry-run-backup.d.ts +0 -0
- package/types/cli/launch/errors.d.ts +0 -0
- package/types/cli/launch/event-loop-monitor.d.ts +0 -0
- package/types/cli/launch/github.d.ts +0 -0
- package/types/cli/launch/grafana.d.ts +0 -0
- package/types/cli/launch/helpers.d.ts +0 -0
- package/types/cli/launch/helpers.test.d.ts +0 -0
- package/types/cli/launch/machine-health.d.ts +0 -0
- package/types/cli/launch/memory-pressure-monitor.d.ts +0 -0
- package/types/cli/launch/proxy.d.ts +0 -0
- package/types/cli/launch/proxy.test.d.ts +0 -0
- package/types/cli/launch/server.d.ts +0 -0
- package/types/cli/launch/vscode-tunnel-manager.d.ts +0 -0
- package/types/cli/launch.d.ts +1 -1
- package/types/cli/mcp-local.d.ts +0 -0
- package/types/cli/mcp-local.test.d.ts +0 -0
- package/types/cli/org-agent/branch-tools.d.ts +0 -0
- package/types/cli/org-agent/cron-checker.d.ts +0 -0
- package/types/cli/org-agent/cron-checker.test.d.ts +0 -0
- package/types/cli/org-agent/org-sync-trigger.d.ts +0 -0
- package/types/cli/org-agent/sync-org-tree.d.ts +0 -0
- package/types/cli/org-agent/tree-builder.d.ts +0 -0
- package/types/cli/org-agent/tree-builder.test.d.ts +0 -0
- package/types/cli/prettier.d.ts +0 -0
- package/types/cli/prettier.integration.test.d.ts +0 -0
- package/types/cli/repo-connect/env-collector.d.ts +0 -0
- package/types/cli/repo-connect/file-collector.d.ts +0 -0
- package/types/cli/repo-connect/git-detector.d.ts +0 -0
- package/types/cli/repo-connect/install-runner.d.ts +0 -0
- package/types/cli/repo-connect/package-detector.d.ts +0 -0
- package/types/cli/repo-connect/repo-connect.d.ts +0 -0
- package/types/cli/repo-indexing/component-discovery.d.ts +0 -0
- package/types/cli/repo-indexing/component-indexing.d.ts +0 -0
- package/types/cli/repo-indexing/icons.d.ts +0 -0
- package/types/cli/repo-indexing/installation.d.ts +0 -0
- package/types/cli/repo-indexing/repo-indexing-utils.d.ts +0 -0
- package/types/cli/repo-indexing/repo-indexing-utils.test.d.ts +0 -0
- package/types/cli/repo-indexing/repo-indexing.d.ts +0 -0
- package/types/cli/repo-indexing/repo-indexing.mock.d.ts +0 -0
- package/types/cli/repo-indexing/tokens.d.ts +0 -0
- package/types/cli/repo-indexing/types.d.ts +0 -0
- package/types/cli/repo-indexing.d.ts +17 -0
- package/types/cli/repo-indexing.mock.d.ts +5 -0
- package/types/cli/repo-metrics-utils.d.ts +0 -0
- package/types/cli/repo-metrics.d.ts +0 -0
- package/types/cli/repo-metrics.test.d.ts +0 -0
- package/types/cli/report/figma-report.d.ts +0 -0
- package/types/cli/server-ws.d.ts +0 -0
- package/types/cli/spinner.d.ts +0 -0
- package/types/cli/sync-utils.d.ts +0 -0
- package/types/cli/track.d.ts +0 -0
- package/types/cli/tsserver-manager.d.ts +0 -0
- package/types/cli/utils/agent-discovery.d.ts +0 -0
- package/types/cli/utils/agent-discovery.test.d.ts +0 -0
- package/types/cli/utils/agent-parser.d.ts +0 -0
- package/types/cli/utils/agent-parser.test.d.ts +0 -0
- package/types/cli/utils/agents/browser-testing-agent.d.ts +0 -0
- package/types/cli/utils/agents/org-agent.d.ts +0 -0
- package/types/cli/utils/agents/org-worker.d.ts +0 -0
- package/types/cli/utils/agents/project-configuration-agent.d.ts +0 -0
- package/types/cli/utils/agents/setup-project-agent.d.ts +0 -0
- package/types/cli/utils/browser-testing-agent.d.ts +0 -0
- package/types/cli/utils/cdn-upload.d.ts +0 -0
- package/types/cli/utils/code-review-agent/code-review-agent.d.ts +0 -0
- package/types/cli/utils/code-review-agent/index.d.ts +0 -0
- package/types/cli/utils/codegen-utils.d.ts +0 -0
- package/types/cli/utils/codegen-utils.test.d.ts +0 -0
- package/types/cli/utils/component-group-mdx-prompt.d.ts +0 -0
- package/types/cli/utils/dev-server-url-parser.d.ts +0 -0
- package/types/cli/utils/dev-server-url-parser.test.d.ts +0 -0
- package/types/cli/utils/discovery-test-utils.d.ts +0 -0
- package/types/cli/utils/env-capture.d.ts +0 -0
- package/types/cli/utils/env-capture.test.d.ts +0 -0
- package/types/cli/utils/env-substitution.d.ts +0 -0
- package/types/cli/utils/env-substitution.test.d.ts +0 -0
- package/types/cli/utils/feature-flags.d.ts +0 -0
- package/types/cli/utils/file-overrides-manager.d.ts +0 -0
- package/types/cli/utils/file-overrides-manager.test.d.ts +0 -0
- package/types/cli/utils/fuzzy-file-match.d.ts +0 -0
- package/types/cli/utils/fuzzy-file-match.test.d.ts +0 -0
- package/types/cli/utils/gif-generator.d.ts +0 -0
- package/types/cli/utils/gif-generator.test.d.ts +0 -0
- package/types/cli/utils/git-snapshot.d.ts +17 -0
- package/types/cli/utils/git-snapshot.test.d.ts +1 -0
- package/types/cli/utils/git.d.ts +0 -0
- package/types/cli/utils/hosts-file-manager.d.ts +0 -0
- package/types/cli/utils/hosts-file-manager.test.d.ts +0 -0
- package/types/cli/utils/lock-file.d.ts +0 -0
- package/types/cli/utils/lock-file.test.d.ts +0 -0
- package/types/cli/utils/memory-sync.d.ts +0 -0
- package/types/cli/utils/memory-sync.test.d.ts +0 -0
- package/types/cli/utils/open.d.ts +0 -0
- package/types/cli/utils/parseGitDiff.d.ts +0 -0
- package/types/cli/utils/path-normalization.d.ts +0 -0
- package/types/cli/utils/port-detection.d.ts +0 -0
- package/types/cli/utils/priority.d.ts +0 -0
- package/types/cli/utils/process-tracker.d.ts +0 -0
- package/types/cli/utils/project-configuration-agent.d.ts +0 -0
- package/types/cli/utils/prompt-substitution.d.ts +0 -0
- package/types/cli/utils/prompt-substitution.test.d.ts +0 -0
- package/types/cli/utils/repo-indexing-agent-prompt.d.ts +0 -0
- package/types/cli/utils/repo-indexing-group-prompt.d.ts +0 -0
- package/types/cli/utils/repo-indexing-group-prompts.d.ts +1 -0
- package/types/cli/utils/rules-discovery.d.ts +0 -0
- package/types/cli/utils/rules-discovery.test.d.ts +0 -0
- package/types/cli/utils/rules-parser.d.ts +0 -0
- package/types/cli/utils/rules-parser.test.d.ts +0 -0
- package/types/cli/utils/signals.d.ts +0 -0
- package/types/cli/utils/terminal-buffer.d.ts +0 -0
- package/types/cli/utils/terminal-buffer.spec.d.ts +0 -0
- package/types/cli/utils/timeline-collector.d.ts +0 -0
- package/types/cli/utils/workspace-path-resolver.d.ts +0 -0
- package/types/cli/utils/workspace-path-resolver.test.d.ts +0 -0
- package/types/cli/utils/workspace-path-resolver.unit.d.ts +0 -0
- package/types/cli/utils/yaml-frontmatter.d.ts +0 -0
- package/types/cli/utils/yaml-frontmatter.test.d.ts +0 -0
- package/types/cli/version.d.ts +0 -0
- package/types/client/client-api.d.ts +0 -0
- package/types/client/edit-button/document-listeners.d.ts +0 -0
- package/types/client/edit-button/index.d.ts +0 -0
- package/types/client/index.d.ts +0 -0
- package/types/client/menu/index.d.ts +0 -0
- package/types/client/menu/pages/component-detail.d.ts +0 -0
- package/types/client/menu/pages/component-input.d.ts +0 -0
- package/types/client/menu/pages/component-list.d.ts +0 -0
- package/types/client/menu/pages/home.d.ts +0 -0
- package/types/client/menu/pages/settings.d.ts +0 -0
- package/types/client/menu/toggle/menu-toggle.d.ts +0 -0
- package/types/client/setup-ui/connected.d.ts +0 -0
- package/types/client/setup-ui/index.d.ts +0 -0
- package/types/client/setup-ui/overview.d.ts +0 -0
- package/types/client/tracking.d.ts +0 -0
- package/types/client/utils.d.ts +0 -0
- package/types/common/ast/app-dependencies.d.ts +0 -0
- package/types/common/ast/component-info.d.ts +0 -0
- package/types/common/ast/component-input-types.d.ts +0 -0
- package/types/common/ast/component-registry.d.ts +0 -0
- package/types/common/ast/convert-values.d.ts +0 -0
- package/types/common/ast/convert-values.unit.d.ts +0 -0
- package/types/common/ast/ensure-array-statement.d.ts +0 -0
- package/types/common/ast/ensure-array-statement.unit.d.ts +0 -0
- package/types/common/ast/ensure-comments.d.ts +0 -0
- package/types/common/ast/ensure-imports.d.ts +0 -0
- package/types/common/ast/ensure-imports.unit.d.ts +0 -0
- package/types/common/ast/exported-statements.d.ts +0 -0
- package/types/common/ast/exported-statements.unit.d.ts +0 -0
- package/types/common/ast/imported-statements.d.ts +0 -0
- package/types/common/ast/imported-statements.unit.d.ts +0 -0
- package/types/common/ast/normalize-statements.d.ts +0 -0
- package/types/common/ast/normalize-statements.unit.d.ts +0 -0
- package/types/common/ast/remove-unused-imports.d.ts +0 -0
- package/types/common/ast/remove-unused-imports.unit.d.ts +0 -0
- package/types/common/ast/transform.d.ts +0 -0
- package/types/common/ast/utils.d.ts +0 -0
- package/types/common/ast/utils.unit.d.ts +0 -0
- package/types/common/builder/builder-api.d.ts +0 -0
- package/types/common/builder/builder-sdks.d.ts +0 -0
- package/types/common/builder/content-generation.d.ts +0 -0
- package/types/common/builder/content-ids.d.ts +0 -0
- package/types/common/cache.d.ts +0 -0
- package/types/common/constants.d.ts +0 -0
- package/types/common/dotenv.d.ts +0 -0
- package/types/common/dotenv.test.d.ts +0 -0
- package/types/common/errors.d.ts +0 -0
- package/types/common/estimate-code-tokens.d.ts +0 -0
- package/types/common/fs.d.ts +0 -0
- package/types/common/interactive-select-files.d.ts +0 -0
- package/types/common/logger.d.ts +0 -1
- package/types/common/mem-sys.d.ts +0 -0
- package/types/common/node-request.d.ts +0 -0
- package/types/common/path.d.ts +0 -0
- package/types/common/test-utils.d.ts +0 -0
- package/types/common/typescript.d.ts +0 -0
- package/types/common/utils.d.ts +0 -0
- package/types/common/utils.unit.d.ts +0 -0
- package/types/core/adapters/angular/angular-api-key.d.ts +0 -0
- package/types/core/adapters/angular/angular-api-key.unit.d.ts +0 -0
- package/types/core/adapters/angular/angular-app-module-imports.d.ts +0 -0
- package/types/core/adapters/angular/angular-app-module-imports.unit.d.ts +0 -0
- package/types/core/adapters/angular/angular-app-routes-update.d.ts +0 -0
- package/types/core/adapters/angular/angular-app-routes-update.unit.d.ts +0 -0
- package/types/core/adapters/angular/angular-components.d.ts +0 -0
- package/types/core/adapters/angular/angular-components.unit.d.ts +0 -0
- package/types/core/adapters/angular/angular-ensure-builder-setup.d.ts +0 -0
- package/types/core/adapters/angular/angular-ensure-config-plugin.d.ts +0 -0
- package/types/core/adapters/angular/angular-ensure-config-plugin.unit.d.ts +0 -0
- package/types/core/adapters/angular/angular-fix-tsconfig.d.ts +0 -0
- package/types/core/adapters/angular/angular-registry-parse.d.ts +0 -0
- package/types/core/adapters/angular/angular-registry-parse.unit.d.ts +0 -0
- package/types/core/adapters/angular/angular-registry.d.ts +0 -0
- package/types/core/adapters/angular/angular-registry.unit.d.ts +0 -0
- package/types/core/adapters/angular/angular-test-utils.d.ts +0 -0
- package/types/core/adapters/angular/index.d.ts +0 -0
- package/types/core/adapters/angular/types.d.ts +0 -0
- package/types/core/adapters/next/index.d.ts +0 -0
- package/types/core/adapters/next/next-api-key.d.ts +0 -0
- package/types/core/adapters/next/next-component-info.d.ts +0 -0
- package/types/core/adapters/next/next-component-info.unit.d.ts +0 -0
- package/types/core/adapters/next/next-component-inputs.unit.d.ts +0 -0
- package/types/core/adapters/next/next-component-source-inputs.unit.d.ts +0 -0
- package/types/core/adapters/next/next-components.d.ts +0 -0
- package/types/core/adapters/next/next-ensure-builder-setup.d.ts +0 -0
- package/types/core/adapters/next/next-ensure-config-plugin.d.ts +0 -0
- package/types/core/adapters/next/next-ensure-config-plugin.unit.d.ts +0 -0
- package/types/core/adapters/next/next-registry-parse.d.ts +0 -0
- package/types/core/adapters/next/next-registry-parse.unit.d.ts +0 -0
- package/types/core/adapters/next/next-registry.d.ts +0 -0
- package/types/core/adapters/next/next-registry.unit.d.ts +0 -0
- package/types/core/adapters/next/next-test-utils.d.ts +0 -0
- package/types/core/adapters/qwik-city/index.d.ts +0 -0
- package/types/core/adapters/qwik-city/qwik-api-key.d.ts +0 -0
- package/types/core/adapters/qwik-city/qwik-component-source-inputs.d.ts +0 -0
- package/types/core/adapters/qwik-city/qwik-components.d.ts +0 -0
- package/types/core/adapters/qwik-city/qwik-components.unit.d.ts +0 -0
- package/types/core/adapters/qwik-city/qwik-ensure-builder-setup.d.ts +0 -0
- package/types/core/adapters/qwik-city/qwik-ensure-config-plugin.d.ts +0 -0
- package/types/core/adapters/qwik-city/qwik-registry-parse.d.ts +0 -0
- package/types/core/adapters/qwik-city/qwik-registry-parse.unit.d.ts +0 -0
- package/types/core/adapters/qwik-city/qwik-registry.d.ts +0 -0
- package/types/core/adapters/qwik-city/qwik-registry.unit.d.ts +0 -0
- package/types/core/adapters/qwik-city/qwik-test-utils.d.ts +0 -0
- package/types/core/adapters/qwik-city/qwik-ts-program.d.ts +0 -0
- package/types/core/adapters/react/index.d.ts +0 -0
- package/types/core/adapters/react/react-api-key.d.ts +0 -0
- package/types/core/adapters/react/react-builder-sdk-setup.d.ts +0 -0
- package/types/core/adapters/react/react-component-info.d.ts +0 -0
- package/types/core/adapters/react/react-components.d.ts +0 -0
- package/types/core/adapters/react/react-components.unit.d.ts +0 -0
- package/types/core/adapters/react/react-ensure-builder-setup.d.ts +0 -0
- package/types/core/adapters/react/react-registry-parse.d.ts +0 -0
- package/types/core/adapters/react/react-registry-parse.unit.d.ts +0 -0
- package/types/core/adapters/react/react-registry.d.ts +0 -0
- package/types/core/adapters/react/react-registry.unit.d.ts +0 -0
- package/types/core/adapters/react/react-test-utils.d.ts +0 -0
- package/types/core/adapters/react/react-ts-program.d.ts +0 -0
- package/types/core/adapters/remix/index.d.ts +0 -0
- package/types/core/adapters/remix/remix-api-key.d.ts +0 -0
- package/types/core/adapters/remix/remix-components.d.ts +0 -0
- package/types/core/adapters/remix/remix-ensure-builder-setup.d.ts +0 -0
- package/types/core/adapters/remix/remix-ensure-config-plugin.d.ts +0 -0
- package/types/core/adapters/remix/remix-ensure-config-plugin.unit.d.ts +0 -0
- package/types/core/adapters/remix/remix-registry-parse.d.ts +0 -0
- package/types/core/adapters/remix/remix-registry.d.ts +0 -0
- package/types/core/adapters/remix/remix-registry.unit.d.ts +0 -0
- package/types/core/adapters/remix/remix-test-utils.d.ts +0 -0
- package/types/core/adapters/vite/vite-ensure-config-plugin.d.ts +0 -0
- package/types/core/adapters/vite/vite-ensure-config-plugin.unit.d.ts +0 -0
- package/types/core/adapters/vue/index.d.ts +0 -0
- package/types/core/adapters/vue/vue-api-key.d.ts +0 -0
- package/types/core/adapters/vue/vue-components.d.ts +0 -0
- package/types/core/adapters/vue/vue-ensure-builder-setup.d.ts +0 -0
- package/types/core/adapters/vue/vue-registry-parse.d.ts +0 -0
- package/types/core/adapters/vue/vue-registry.d.ts +0 -0
- package/types/core/adapters/webpack/webpack-config-helpers.d.ts +0 -0
- package/types/core/adapters/webpack/webpack-config-helpers.unit.d.ts +0 -0
- package/types/core/adapters/webpack/webpack-ensure-config-plugin.d.ts +0 -0
- package/types/core/client-script.d.ts +0 -0
- package/types/core/create-dev-tools.d.ts +0 -0
- package/types/core/detect-frameworks.d.ts +0 -0
- package/types/core/ensure-config-plugin.d.ts +0 -0
- package/types/core/find-dependencies.d.ts +0 -0
- package/types/core/import-export-registry.d.ts +0 -0
- package/types/core/index.d.ts +0 -0
- package/types/figma/index.d.ts +0 -0
- package/types/node/index.d.ts +0 -0
- package/types/node/node-sys.d.ts +0 -0
- package/types/remix/index.d.ts +0 -0
- package/types/scripts/analyze-projects.d.ts +18 -0
- package/types/scripts/call-ensure-container.d.ts +4 -0
- package/types/scripts/check-backup.d.ts +1 -0
- package/types/scripts/cli.d.ts +1 -0
- package/types/scripts/download-projects.d.ts +12 -0
- package/types/scripts/utils/db.d.ts +3 -0
- package/types/scripts/utils/ensure-container.d.ts +7 -0
- package/types/scripts/utils/remove-machine-and-volume.d.ts +5 -0
- package/types/server/auth.d.ts +0 -0
- package/types/server/builder-connect.d.ts +0 -0
- package/types/server/client-script.d.ts +0 -0
- package/types/server/create-dev-tools-server.d.ts +0 -0
- package/types/server/dev-tools-api.d.ts +0 -0
- package/types/server/dev-tools-http-server.d.ts +0 -0
- package/types/server/index.d.ts +0 -0
- package/types/server/request-handler.d.ts +0 -0
- package/types/tsconfig.tsbuildinfo +1 -1
- package/types/types/codegen-server.d.ts +0 -0
- package/types/types/connection-tracker.d.ts +0 -0
- package/types/types/proxy-middleware.d.ts +0 -0
- package/types/types/websocket-types.d.ts +0 -0
- package/types/types.d.ts +0 -0
- package/types/vite/main.d.ts +0 -0
- package/types/vitest.config.d.ts +0 -0
- package/types/webpack/main.d.ts +0 -0
- package/vendors/darwin-arm64/complete/rg.bash +0 -0
- package/vendors/darwin-arm64/complete/rg.fish +0 -0
- package/vendors/darwin-arm64/doc/rg.1 +0 -0
- package/vendors/darwin-x64/complete/rg.bash +0 -0
- package/vendors/darwin-x64/complete/rg.fish +0 -0
- package/vendors/darwin-x64/doc/rg.1 +0 -0
- package/vendors/linux-arm64/complete/rg.bash +0 -0
- package/vendors/linux-arm64/complete/rg.fish +0 -0
- package/vendors/linux-arm64/doc/rg.1 +0 -0
- package/vendors/linux-x64/complete/rg.bash +0 -0
- package/vendors/linux-x64/complete/rg.fish +0 -0
- package/vendors/linux-x64/doc/rg.1 +0 -0
- package/vendors/win32-x64/rg.exe +0 -0
- package/vite/index.cjs +0 -0
- package/vite/index.d.ts +0 -0
- package/vite/index.mjs +0 -0
- package/webpack/index.cjs +0 -0
- package/webpack/index.d.ts +0 -0
- package/webpack/index.mjs +0 -0
- package/types/cli/utils/ide-bridge.d.ts +0 -13
- package/types/core/component-map-builder.d.ts +0 -42
- package/types/server/source-map-resolver/cache.d.ts +0 -36
- package/types/server/source-map-resolver/indexed-map-resolver.d.ts +0 -10
- package/types/server/source-map-resolver/loader.d.ts +0 -16
- package/types/server/source-map-resolver/security.d.ts +0 -21
- package/types/server/source-map-resolver/types.d.ts +0 -41
- package/types/server/source-map-resolver/validation.d.ts +0 -16
- package/types/server/source-map-resolver.d.ts +0 -25
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/types/types.d.ts
CHANGED
|
File without changes
|
package/types/vite/main.d.ts
CHANGED
|
File without changes
|
package/types/vitest.config.d.ts
CHANGED
|
File without changes
|
package/types/webpack/main.d.ts
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/vendors/win32-x64/rg.exe
CHANGED
|
File without changes
|
package/vite/index.cjs
CHANGED
|
File without changes
|
package/vite/index.d.ts
CHANGED
|
File without changes
|
package/vite/index.mjs
CHANGED
|
File without changes
|
package/webpack/index.cjs
CHANGED
|
File without changes
|
package/webpack/index.d.ts
CHANGED
|
File without changes
|
package/webpack/index.mjs
CHANGED
|
File without changes
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* IDE Bridge — reads active editor context from the builder.builder VS Code extension.
|
|
3
|
-
*
|
|
4
|
-
* When the extension is active it starts a local HTTP server and injects
|
|
5
|
-
* FUSION_IDE_PORT into every terminal it opens. This module fetches the
|
|
6
|
-
* current editor state (active file, cursor position) via /context, and
|
|
7
|
-
* fetches diagnostics on demand via /diagnostics.
|
|
8
|
-
*/
|
|
9
|
-
import type { IdeContext, DiagnosticsResponse } from "#ai-utils";
|
|
10
|
-
export declare function fetchIdeContext(): Promise<IdeContext | null>;
|
|
11
|
-
export declare function fetchIdeDiagnostics(filePath?: string): Promise<DiagnosticsResponse | null>;
|
|
12
|
-
export declare function formatIdeContext(ctx: IdeContext): string;
|
|
13
|
-
export declare function formatIdeDiagnostics(response: DiagnosticsResponse): string;
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Component Map Builder
|
|
3
|
-
*
|
|
4
|
-
* Builds a map of component names to their source file locations for the Design tab.
|
|
5
|
-
* This allows the Design tab to work without requiring React's _debugSource or customer plugins.
|
|
6
|
-
*/
|
|
7
|
-
import type { DevToolsSys } from "../types";
|
|
8
|
-
export interface ComponentLocation {
|
|
9
|
-
file: string;
|
|
10
|
-
line: number;
|
|
11
|
-
column: number;
|
|
12
|
-
displayName: string;
|
|
13
|
-
}
|
|
14
|
-
export type ComponentMap = Record<string, ComponentLocation[]>;
|
|
15
|
-
/**
|
|
16
|
-
* Build a map of component names to their source locations
|
|
17
|
-
*/
|
|
18
|
-
export declare function buildComponentMap(sys: DevToolsSys, rootDir?: string): Promise<ComponentMap>;
|
|
19
|
-
/**
|
|
20
|
-
* Cache for component map with file watching
|
|
21
|
-
*/
|
|
22
|
-
export declare class ComponentMapCache {
|
|
23
|
-
private cache;
|
|
24
|
-
private lastBuilt;
|
|
25
|
-
private building;
|
|
26
|
-
private readonly ttl;
|
|
27
|
-
private sys;
|
|
28
|
-
private rootDir;
|
|
29
|
-
constructor(sys: DevToolsSys, rootDir?: string);
|
|
30
|
-
/**
|
|
31
|
-
* Get the component map, building it if necessary
|
|
32
|
-
*/
|
|
33
|
-
get(): Promise<ComponentMap>;
|
|
34
|
-
/**
|
|
35
|
-
* Invalidate the cache
|
|
36
|
-
*/
|
|
37
|
-
invalidate(): void;
|
|
38
|
-
/**
|
|
39
|
-
* Force rebuild of the component map
|
|
40
|
-
*/
|
|
41
|
-
rebuild(): Promise<ComponentMap>;
|
|
42
|
-
}
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* LRU cache for source maps and TraceMap instances
|
|
3
|
-
*/
|
|
4
|
-
import { TraceMap } from "@jridgewell/trace-mapping";
|
|
5
|
-
import type { SourceMapV3 } from "./types";
|
|
6
|
-
interface CachedSourceMap {
|
|
7
|
-
json: SourceMapV3;
|
|
8
|
-
/** TraceMap instances keyed by section index (-1 for non-indexed maps) */
|
|
9
|
-
tracers: Map<number, TraceMap>;
|
|
10
|
-
}
|
|
11
|
-
/**
|
|
12
|
-
* Get or create cache key from bundled path and source mapping URL
|
|
13
|
-
*/
|
|
14
|
-
export declare function getCacheKey(bundledPath: string, sourceMappingURL: string): string;
|
|
15
|
-
/**
|
|
16
|
-
* Get cached source map data
|
|
17
|
-
* Returns undefined if not cached, null if cached as failed
|
|
18
|
-
*/
|
|
19
|
-
export declare function getCached(key: string): CachedSourceMap | null | undefined;
|
|
20
|
-
/**
|
|
21
|
-
* Cache a successfully loaded source map
|
|
22
|
-
*/
|
|
23
|
-
export declare function setCached(key: string, json: SourceMapV3): CachedSourceMap;
|
|
24
|
-
/**
|
|
25
|
-
* Cache a failed load attempt (negative caching)
|
|
26
|
-
*/
|
|
27
|
-
export declare function setCachedFailure(key: string): void;
|
|
28
|
-
/**
|
|
29
|
-
* Get or create a TraceMap for a specific section (or -1 for non-indexed)
|
|
30
|
-
*/
|
|
31
|
-
export declare function getOrCreateTracer(entry: CachedSourceMap, sectionIndex: number, mapJson: SourceMapV3): TraceMap;
|
|
32
|
-
/**
|
|
33
|
-
* Clear all cached data
|
|
34
|
-
*/
|
|
35
|
-
export declare function clearCache(): void;
|
|
36
|
-
export {};
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Utilities for handling indexed source maps (section maps)
|
|
3
|
-
*/
|
|
4
|
-
import type { SourceMapSection, SectionMatch } from "./types";
|
|
5
|
-
/**
|
|
6
|
-
* Find the section containing a given position in an indexed source map.
|
|
7
|
-
* Sections are ordered by offset, so we find the last one that starts
|
|
8
|
-
* at or before the target position.
|
|
9
|
-
*/
|
|
10
|
-
export declare function findMatchingSection(sections: SourceMapSection[], line: number, column: number): SectionMatch | null;
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* File and source map loading utilities
|
|
3
|
-
*/
|
|
4
|
-
import type { ResolveContext } from "./types";
|
|
5
|
-
/**
|
|
6
|
-
* Extract sourceMappingURL from JS file content
|
|
7
|
-
*/
|
|
8
|
-
export declare function extractSourceMappingURL(content: string): string | null;
|
|
9
|
-
/**
|
|
10
|
-
* Load JS file content from dev server or filesystem
|
|
11
|
-
*/
|
|
12
|
-
export declare function loadJSContent(ctx: ResolveContext, bundledPath: string, isServerChunk: boolean): Promise<string | null>;
|
|
13
|
-
/**
|
|
14
|
-
* Load source map content from various sources
|
|
15
|
-
*/
|
|
16
|
-
export declare function loadSourceMapContent(ctx: ResolveContext, bundledPath: string, sourceMappingURL: string): Promise<string | null>;
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Security utilities for path validation and sanitization
|
|
3
|
-
*/
|
|
4
|
-
/**
|
|
5
|
-
* Check if a resolved path is safely within the project root.
|
|
6
|
-
* Prevents sibling directory access (e.g., /project-sensitive when root is /project)
|
|
7
|
-
*/
|
|
8
|
-
export declare function isPathWithinRoot(filePath: string, rootPath: string): boolean;
|
|
9
|
-
/**
|
|
10
|
-
* Sanitize and validate a bundled path input.
|
|
11
|
-
* Returns decoded path or null if invalid.
|
|
12
|
-
*/
|
|
13
|
-
export declare function sanitizeBundledPath(bundledPath: string): string | null;
|
|
14
|
-
/**
|
|
15
|
-
* Check if a chunk filename is definitely internal (not user code)
|
|
16
|
-
*/
|
|
17
|
-
export declare function isDefinitelyInternalChunk(filename: string): boolean;
|
|
18
|
-
/**
|
|
19
|
-
* Check if a resolved source path is framework code
|
|
20
|
-
*/
|
|
21
|
-
export declare function isFrameworkCode(sourcePath: string): boolean;
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Shared types for source map resolution
|
|
3
|
-
*/
|
|
4
|
-
export interface OriginalPosition {
|
|
5
|
-
source: string;
|
|
6
|
-
line: number;
|
|
7
|
-
column: number;
|
|
8
|
-
name?: string;
|
|
9
|
-
}
|
|
10
|
-
/**
|
|
11
|
-
* Source Map v3 JSON structure
|
|
12
|
-
* Based on: https://sourcemaps.info/spec.html
|
|
13
|
-
*/
|
|
14
|
-
export interface SourceMapV3 {
|
|
15
|
-
version: number;
|
|
16
|
-
file?: string;
|
|
17
|
-
sourceRoot?: string;
|
|
18
|
-
sources?: string[];
|
|
19
|
-
sourcesContent?: (string | null)[];
|
|
20
|
-
names?: string[];
|
|
21
|
-
mappings?: string;
|
|
22
|
-
sections?: SourceMapSection[];
|
|
23
|
-
}
|
|
24
|
-
export interface SourceMapSection {
|
|
25
|
-
offset: {
|
|
26
|
-
line: number;
|
|
27
|
-
column: number;
|
|
28
|
-
};
|
|
29
|
-
map?: SourceMapV3;
|
|
30
|
-
url?: string;
|
|
31
|
-
}
|
|
32
|
-
export interface ResolveContext {
|
|
33
|
-
projectRoot: string;
|
|
34
|
-
devServerUrl: string;
|
|
35
|
-
}
|
|
36
|
-
export interface SectionMatch {
|
|
37
|
-
section: SourceMapSection;
|
|
38
|
-
index: number;
|
|
39
|
-
relativeLine: number;
|
|
40
|
-
relativeColumn: number;
|
|
41
|
-
}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Source map validation utilities
|
|
3
|
-
*/
|
|
4
|
-
import type { SourceMapV3 } from "./types";
|
|
5
|
-
export interface ValidationResult {
|
|
6
|
-
valid: boolean;
|
|
7
|
-
error?: string;
|
|
8
|
-
}
|
|
9
|
-
/**
|
|
10
|
-
* Validate a source map v3 structure
|
|
11
|
-
*/
|
|
12
|
-
export declare function validateSourceMap(json: unknown): ValidationResult;
|
|
13
|
-
/**
|
|
14
|
-
* Clean up source map structure before processing
|
|
15
|
-
*/
|
|
16
|
-
export declare function prepareSourceMap(json: SourceMapV3): SourceMapV3;
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Server-side source map resolution using @jridgewell/trace-mapping
|
|
3
|
-
* Fetches bundled files from dev server and resolves to original source locations
|
|
4
|
-
*/
|
|
5
|
-
import type { OriginalPosition } from "./source-map-resolver/types";
|
|
6
|
-
import { clearCache } from "./source-map-resolver/cache";
|
|
7
|
-
export type { OriginalPosition };
|
|
8
|
-
export { clearCache as clearSourceMapCache };
|
|
9
|
-
/**
|
|
10
|
-
* Resolve a bundled file location to its original source location
|
|
11
|
-
* @param projectRoot Root directory of the project (for file fallback)
|
|
12
|
-
* @param devServerUrl Base URL of the dev server (e.g., http://localhost:3000)
|
|
13
|
-
* @param bundledPath Path to the bundled file (e.g., /_next/static/chunks/app/page.js)
|
|
14
|
-
* @param line Line number in bundled file (1-indexed)
|
|
15
|
-
* @param column Column number in bundled file (0-indexed)
|
|
16
|
-
*/
|
|
17
|
-
export declare function resolveSourceLocation(projectRoot: string, devServerUrl: string, bundledPath: string, line: number, column: number): Promise<OriginalPosition | null>;
|
|
18
|
-
/**
|
|
19
|
-
* Batch resolve multiple source locations with deduplication
|
|
20
|
-
*/
|
|
21
|
-
export declare function batchResolveSourceLocations(projectRoot: string, devServerUrl: string, locations: Array<{
|
|
22
|
-
bundledPath: string;
|
|
23
|
-
line: number;
|
|
24
|
-
column: number;
|
|
25
|
-
}>): Promise<Array<OriginalPosition | null>>;
|