@builder.io/dev-tools 1.18.11-dev.202511202316.621aec6ae → 1.18.11-dev.202511210301.98709336d
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/cli/index.cjs +76 -107
- package/cli/index.cjs.map +3 -3
- package/core/index.cjs +1 -1
- package/core/index.mjs +1 -1
- package/node/index.cjs +1 -1
- package/node/index.mjs +1 -1
- package/package.json +1 -1
- package/server/index.cjs +2 -2
- package/server/index.mjs +2 -2
- package/types/_tests_/utils.d.ts +35 -48
- package/types/cli/abort-signal-any.d.ts +1 -3
- package/types/cli/auth/auth-utils.d.ts +1 -3
- package/types/cli/auth/auth.d.ts +1 -5
- package/types/cli/backup.d.ts +58 -112
- package/types/cli/builder-add/interface.d.ts +4 -21
- package/types/cli/code-file-utils.d.ts +9 -17
- package/types/cli/code.d.ts +3 -13
- package/types/cli/credentials.d.ts +45 -61
- package/types/cli/download.d.ts +4 -9
- package/types/cli/figma-publish.d.ts +17 -34
- package/types/cli/figma-utils.d.ts +21 -51
- package/types/cli/figma.d.ts +2 -9
- package/types/cli/generate.d.ts +11 -14
- package/types/cli/incremental-tsc.d.ts +7 -19
- package/types/cli/launch/config.d.ts +3 -13
- package/types/cli/launch/dry-run-backup.d.ts +7 -14
- package/types/cli/launch/errors.d.ts +2 -7
- package/types/cli/launch/github.d.ts +2 -8
- package/types/cli/launch/grafana.d.ts +1 -5
- package/types/cli/launch/machine-health.d.ts +3 -8
- package/types/cli/launch/proxy.d.ts +3 -6
- package/types/cli/launch/server.d.ts +10 -16
- package/types/cli/launch.d.ts +99 -102
- package/types/cli/prettier.d.ts +2 -9
- package/types/cli/repo-connect/env-collector.d.ts +11 -16
- package/types/cli/repo-connect/file-collector.d.ts +15 -22
- package/types/cli/repo-connect/install-runner.d.ts +5 -8
- package/types/cli/repo-connect/package-detector.d.ts +8 -12
- package/types/cli/repo-connect/repo-connect.d.ts +1 -4
- package/types/cli/repo-indexing/repo-indexing.d.ts +17 -37
- package/types/cli/repo-indexing/repo-indexing.mock.d.ts +3 -3
- package/types/cli/repo-metrics.d.ts +1 -4
- package/types/cli/report/figma-report.d.ts +36 -63
- package/types/cli/server-ws.d.ts +32 -40
- package/types/cli/spinner.d.ts +4 -4
- package/types/cli/sync-utils.d.ts +16 -39
- package/types/cli/track.d.ts +1 -4
- package/types/cli/utils/component-group-mdx-prompt.d.ts +1 -2
- package/types/cli/utils/dev-server-url-parser.d.ts +3 -6
- package/types/cli/utils/env-capture.d.ts +15 -21
- package/types/cli/utils/feature-flags.d.ts +1 -3
- package/types/cli/utils/file-overrides-manager.d.ts +23 -39
- package/types/cli/utils/git.d.ts +16 -28
- package/types/cli/utils/hosts-file-manager.d.ts +4 -7
- package/types/cli/utils/lock-file.d.ts +7 -10
- package/types/cli/utils/parseGitDiff.d.ts +1 -4
- package/types/cli/utils/process-tracker.d.ts +51 -85
- package/types/cli/utils/repo-indexing-agent-prompt.d.ts +1 -2
- package/types/cli/utils/terminal-buffer.d.ts +23 -23
- package/types/cli/utils/workspace-path-resolver.d.ts +16 -23
- package/types/client/client-api.d.ts +10 -42
- package/types/client/edit-button/document-listeners.d.ts +1 -3
- package/types/client/edit-button/index.d.ts +6 -6
- package/types/client/menu/index.d.ts +3 -3
- package/types/client/menu/pages/component-detail.d.ts +2 -8
- package/types/client/menu/pages/component-input.d.ts +1 -5
- package/types/client/menu/pages/component-list.d.ts +1 -4
- package/types/client/menu/toggle/menu-toggle.d.ts +1 -4
- package/types/client/setup-ui/overview.d.ts +2 -2
- package/types/client/tracking.d.ts +11 -11
- package/types/client/utils.d.ts +3 -5
- package/types/common/ast/app-dependencies.d.ts +2 -8
- package/types/common/ast/component-info.d.ts +6 -26
- package/types/common/ast/component-input-types.d.ts +1 -1
- package/types/common/ast/component-registry.d.ts +8 -23
- package/types/common/ast/ensure-array-statement.d.ts +3 -7
- package/types/common/ast/ensure-comments.d.ts +1 -5
- package/types/common/ast/ensure-imports.d.ts +5 -10
- package/types/common/ast/exported-statements.d.ts +4 -8
- package/types/common/ast/imported-statements.d.ts +1 -5
- package/types/common/ast/normalize-statements.d.ts +3 -12
- package/types/common/ast/remove-unused-imports.d.ts +1 -4
- package/types/common/ast/transform.d.ts +3 -13
- package/types/common/ast/utils.d.ts +19 -42
- package/types/common/builder/builder-api.d.ts +23 -32
- package/types/common/builder/builder-sdks.d.ts +8 -10
- package/types/common/builder/content-generation.d.ts +7 -10
- package/types/common/builder/content-ids.d.ts +1 -2
- package/types/common/cache.d.ts +1 -4
- package/types/common/constants.d.ts +1 -2
- package/types/common/dotenv.d.ts +5 -24
- package/types/common/fs.d.ts +4 -17
- package/types/common/interactive-select-files.d.ts +2 -16
- package/types/common/mem-sys.d.ts +5 -7
- package/types/common/node-request.d.ts +4 -4
- package/types/common/path.d.ts +3 -1
- package/types/common/test-utils.d.ts +7 -21
- package/types/common/typescript.d.ts +7 -26
- package/types/common/utils.d.ts +1 -1
- package/types/core/adapters/angular/angular-api-key.d.ts +6 -29
- package/types/core/adapters/angular/angular-app-module-imports.d.ts +2 -12
- package/types/core/adapters/angular/angular-app-routes-update.d.ts +1 -6
- package/types/core/adapters/angular/angular-components.d.ts +12 -40
- package/types/core/adapters/angular/angular-ensure-builder-setup.d.ts +3 -9
- package/types/core/adapters/angular/angular-ensure-config-plugin.d.ts +4 -16
- package/types/core/adapters/angular/angular-fix-tsconfig.d.ts +1 -3
- package/types/core/adapters/angular/angular-registry-parse.d.ts +10 -22
- package/types/core/adapters/angular/angular-registry.d.ts +2 -15
- package/types/core/adapters/angular/angular-test-utils.d.ts +4 -8
- package/types/core/adapters/angular/index.d.ts +12 -20
- package/types/core/adapters/angular/types.d.ts +5 -5
- package/types/core/adapters/next/index.d.ts +18 -26
- package/types/core/adapters/next/next-api-key.d.ts +1 -4
- package/types/core/adapters/next/next-component-info.d.ts +2 -9
- package/types/core/adapters/next/next-components.d.ts +1 -4
- package/types/core/adapters/next/next-ensure-builder-setup.d.ts +2 -6
- package/types/core/adapters/next/next-ensure-config-plugin.d.ts +1 -5
- package/types/core/adapters/next/next-registry-parse.d.ts +8 -21
- package/types/core/adapters/next/next-registry.d.ts +2 -15
- package/types/core/adapters/next/next-test-utils.d.ts +11 -21
- package/types/core/adapters/qwik-city/index.d.ts +6 -14
- package/types/core/adapters/qwik-city/qwik-api-key.d.ts +1 -4
- package/types/core/adapters/qwik-city/qwik-component-source-inputs.d.ts +1 -4
- package/types/core/adapters/qwik-city/qwik-components.d.ts +8 -23
- package/types/core/adapters/qwik-city/qwik-ensure-builder-setup.d.ts +2 -6
- package/types/core/adapters/qwik-city/qwik-ensure-config-plugin.d.ts +1 -5
- package/types/core/adapters/qwik-city/qwik-registry-parse.d.ts +10 -22
- package/types/core/adapters/qwik-city/qwik-registry.d.ts +2 -15
- package/types/core/adapters/qwik-city/qwik-test-utils.d.ts +4 -8
- package/types/core/adapters/qwik-city/qwik-ts-program.d.ts +1 -3
- package/types/core/adapters/react/index.d.ts +11 -19
- package/types/core/adapters/react/react-api-key.d.ts +1 -4
- package/types/core/adapters/react/react-builder-sdk-setup.d.ts +1 -3
- package/types/core/adapters/react/react-component-info.d.ts +2 -9
- package/types/core/adapters/react/react-components.d.ts +11 -37
- package/types/core/adapters/react/react-ensure-builder-setup.d.ts +2 -6
- package/types/core/adapters/react/react-registry-parse.d.ts +8 -21
- package/types/core/adapters/react/react-registry.d.ts +2 -15
- package/types/core/adapters/react/react-test-utils.d.ts +5 -11
- package/types/core/adapters/react/react-ts-program.d.ts +1 -3
- package/types/core/adapters/remix/index.d.ts +11 -19
- package/types/core/adapters/remix/remix-api-key.d.ts +1 -4
- package/types/core/adapters/remix/remix-components.d.ts +1 -4
- package/types/core/adapters/remix/remix-ensure-builder-setup.d.ts +3 -9
- package/types/core/adapters/remix/remix-ensure-config-plugin.d.ts +1 -5
- package/types/core/adapters/remix/remix-registry-parse.d.ts +10 -22
- package/types/core/adapters/remix/remix-registry.d.ts +2 -15
- package/types/core/adapters/remix/remix-test-utils.d.ts +5 -11
- package/types/core/adapters/vite/vite-ensure-config-plugin.d.ts +2 -12
- package/types/core/adapters/vue/index.d.ts +12 -20
- package/types/core/adapters/vue/vue-api-key.d.ts +1 -4
- package/types/core/adapters/vue/vue-components.d.ts +2 -10
- package/types/core/adapters/vue/vue-ensure-builder-setup.d.ts +3 -7
- package/types/core/adapters/vue/vue-registry-parse.d.ts +9 -19
- package/types/core/adapters/vue/vue-registry.d.ts +3 -6
- package/types/core/adapters/webpack/webpack-config-helpers.d.ts +3 -8
- package/types/core/adapters/webpack/webpack-ensure-config-plugin.d.ts +1 -5
- package/types/core/create-dev-tools.d.ts +1 -4
- package/types/core/detect-frameworks.d.ts +2 -7
- package/types/core/ensure-config-plugin.d.ts +2 -6
- package/types/core/find-dependencies.d.ts +3 -6
- package/types/core/import-export-registry.d.ts +2 -9
- package/types/core/index.d.ts +3 -18
- package/types/figma/index.d.ts +64 -95
- package/types/node/node-sys.d.ts +6 -13
- package/types/remix/index.d.ts +3 -5
- package/types/server/auth.d.ts +1 -4
- package/types/server/builder-connect.d.ts +6 -21
- package/types/server/client-script.d.ts +2 -6
- package/types/server/create-dev-tools-server.d.ts +1 -3
- package/types/server/dev-tools-api.d.ts +1 -4
- package/types/server/dev-tools-http-server.d.ts +1 -3
- package/types/server/index.d.ts +1 -28
- package/types/server/request-handler.d.ts +1 -6
- package/types/tsconfig.tsbuildinfo +1 -1
- package/types/types/codegen-server.d.ts +1 -1
- package/types/types/connection-tracker.d.ts +34 -34
- package/types/types/proxy-middleware.d.ts +14 -24
- package/types/types/websocket-types.d.ts +7 -9
- package/types/types.d.ts +358 -387
- package/types/vite/main.d.ts +1 -1
- package/types/webpack/main.d.ts +5 -5
- package/types/cli/env-substitution.d.ts +0 -22
- package/types/cli/env-substitution.test.d.ts +0 -1
- package/types/cli/utils/env-filter.d.ts +0 -42
- package/types/cli/utils/lock-file-example.d.ts +0 -30
- package/types/cli/utils/sudo-helper.d.ts +0 -21
- package/types/packages/dev-tools/_tests_/code.e2e.d.ts +0 -1
- package/types/packages/dev-tools/_tests_/create-builder.e2e.d.ts +0 -1
- package/types/packages/dev-tools/_tests_/dev-tools.e2e.d.ts +0 -1
- package/types/packages/dev-tools/_tests_/figma-generate.e2e.d.ts +0 -1
- package/types/packages/dev-tools/_tests_/figma-publish.e2e.d.ts +0 -1
- package/types/packages/dev-tools/_tests_/fusionInit.e2e.d.ts +0 -1
- package/types/packages/dev-tools/_tests_/help.e2e.d.ts +0 -1
- package/types/packages/dev-tools/_tests_/launch.e2e.d.ts +0 -1
- package/types/packages/dev-tools/_tests_/repo-indexing.test.d.ts +0 -1
- package/types/packages/dev-tools/_tests_/sync-utils.test.d.ts +0 -1
- package/types/packages/dev-tools/_tests_/utils.d.ts +0 -57
- package/types/packages/dev-tools/_tests_/vitest.config.d.ts +0 -2
- package/types/packages/dev-tools/_tests_/workspace.e2e.d.ts +0 -1
- package/types/packages/dev-tools/angular/index.d.ts +0 -1
- package/types/packages/dev-tools/cli/__tests__/isLikelyFixedString.spec.d.ts +0 -1
- package/types/packages/dev-tools/cli/__tests__/parseGitDiffToApplyActions.spec.d.ts +0 -1
- package/types/packages/dev-tools/cli/abort-signal-any.d.ts +0 -3
- package/types/packages/dev-tools/cli/auth/auth-utils.d.ts +0 -4
- package/types/packages/dev-tools/cli/auth/auth.d.ts +0 -7
- package/types/packages/dev-tools/cli/auth/status.d.ts +0 -3
- package/types/packages/dev-tools/cli/backup.d.ts +0 -172
- package/types/packages/dev-tools/cli/builder-add/interface.d.ts +0 -22
- package/types/packages/dev-tools/cli/builder-add/options.d.ts +0 -2
- package/types/packages/dev-tools/cli/code-file-utils.d.ts +0 -20
- package/types/packages/dev-tools/cli/code-file-utils.unit.d.ts +0 -1
- package/types/packages/dev-tools/cli/code-tools.d.ts +0 -131
- package/types/packages/dev-tools/cli/code.d.ts +0 -17
- package/types/packages/dev-tools/cli/codegen.d.ts +0 -456
- package/types/packages/dev-tools/cli/constants.d.ts +0 -1
- package/types/packages/dev-tools/cli/credentials.d.ts +0 -69
- package/types/packages/dev-tools/cli/download.d.ts +0 -15
- package/types/packages/dev-tools/cli/exit.d.ts +0 -1
- package/types/packages/dev-tools/cli/fetch.d.ts +0 -1
- package/types/packages/dev-tools/cli/figma-publish.d.ts +0 -41
- package/types/packages/dev-tools/cli/figma-publish.spec.d.ts +0 -1
- package/types/packages/dev-tools/cli/figma-utils.d.ts +0 -61
- package/types/packages/dev-tools/cli/figma.d.ts +0 -11
- package/types/packages/dev-tools/cli/generate.d.ts +0 -19
- package/types/packages/dev-tools/cli/help.d.ts +0 -1
- package/types/packages/dev-tools/cli/incremental-tsc.d.ts +0 -42
- package/types/packages/dev-tools/cli/index.d.ts +0 -97
- package/types/packages/dev-tools/cli/indexing.d.ts +0 -11
- package/types/packages/dev-tools/cli/launch/InitStateMachine.d.ts +0 -142
- package/types/packages/dev-tools/cli/launch/config.d.ts +0 -15
- package/types/packages/dev-tools/cli/launch/dev-server-orchestrator.d.ts +0 -114
- package/types/packages/dev-tools/cli/launch/dry-run-backup.d.ts +0 -16
- package/types/packages/dev-tools/cli/launch/errors.d.ts +0 -8
- package/types/packages/dev-tools/cli/launch/github.d.ts +0 -9
- package/types/packages/dev-tools/cli/launch/grafana.d.ts +0 -8
- package/types/packages/dev-tools/cli/launch/helpers.d.ts +0 -42
- package/types/packages/dev-tools/cli/launch/helpers.test.d.ts +0 -1
- package/types/packages/dev-tools/cli/launch/machine-health.d.ts +0 -17
- package/types/packages/dev-tools/cli/launch/proxy.d.ts +0 -6
- package/types/packages/dev-tools/cli/launch/server.d.ts +0 -26
- package/types/packages/dev-tools/cli/launch.d.ts +0 -93
- package/types/packages/dev-tools/cli/prettier.d.ts +0 -10
- package/types/packages/dev-tools/cli/prettier.integration.test.d.ts +0 -1
- package/types/packages/dev-tools/cli/repo-indexing/component-discovery.d.ts +0 -21
- package/types/packages/dev-tools/cli/repo-indexing/component-indexing.d.ts +0 -34
- package/types/packages/dev-tools/cli/repo-indexing/icons.d.ts +0 -32
- package/types/packages/dev-tools/cli/repo-indexing/repo-indexing-utils.d.ts +0 -109
- package/types/packages/dev-tools/cli/repo-indexing/repo-indexing.d.ts +0 -41
- package/types/packages/dev-tools/cli/repo-indexing/repo-indexing.mock.d.ts +0 -5
- package/types/packages/dev-tools/cli/repo-indexing/types.d.ts +0 -12
- package/types/packages/dev-tools/cli/repo-metrics.d.ts +0 -9
- package/types/packages/dev-tools/cli/report/figma-report.d.ts +0 -81
- package/types/packages/dev-tools/cli/server-ws.d.ts +0 -60
- package/types/packages/dev-tools/cli/spinner.d.ts +0 -6
- package/types/packages/dev-tools/cli/sync-utils.d.ts +0 -45
- package/types/packages/dev-tools/cli/track.d.ts +0 -8
- package/types/packages/dev-tools/cli/utils/component-group-mdx-prompt.d.ts +0 -2
- package/types/packages/dev-tools/cli/utils/dev-server-url-parser.d.ts +0 -15
- package/types/packages/dev-tools/cli/utils/dev-server-url-parser.test.d.ts +0 -1
- package/types/packages/dev-tools/cli/utils/feature-flags.d.ts +0 -4
- package/types/packages/dev-tools/cli/utils/git.d.ts +0 -34
- package/types/packages/dev-tools/cli/utils/open.d.ts +0 -1
- package/types/packages/dev-tools/cli/utils/parseGitDiff.d.ts +0 -11
- package/types/packages/dev-tools/cli/utils/repo-indexing-agent-prompt.d.ts +0 -2
- package/types/packages/dev-tools/cli/utils/repo-indexing-group-prompt.d.ts +0 -1
- package/types/packages/dev-tools/cli/utils/signals.d.ts +0 -2
- package/types/packages/dev-tools/cli/utils/terminal-buffer.d.ts +0 -29
- package/types/packages/dev-tools/cli/utils/terminal-buffer.spec.d.ts +0 -1
- package/types/packages/dev-tools/cli/utils/workspace-path-resolver.d.ts +0 -99
- package/types/packages/dev-tools/cli/utils/workspace-path-resolver.unit.d.ts +0 -1
- package/types/packages/dev-tools/cli/version.d.ts +0 -1
- package/types/packages/dev-tools/client/client-api.d.ts +0 -44
- package/types/packages/dev-tools/client/edit-button/document-listeners.d.ts +0 -4
- package/types/packages/dev-tools/client/edit-button/index.d.ts +0 -8
- package/types/packages/dev-tools/client/index.d.ts +0 -1
- package/types/packages/dev-tools/client/menu/index.d.ts +0 -5
- package/types/packages/dev-tools/client/menu/pages/component-detail.d.ts +0 -10
- package/types/packages/dev-tools/client/menu/pages/component-input.d.ts +0 -7
- package/types/packages/dev-tools/client/menu/pages/component-list.d.ts +0 -7
- package/types/packages/dev-tools/client/menu/pages/home.d.ts +0 -1
- package/types/packages/dev-tools/client/menu/pages/settings.d.ts +0 -1
- package/types/packages/dev-tools/client/menu/toggle/menu-toggle.d.ts +0 -5
- package/types/packages/dev-tools/client/setup-ui/connected.d.ts +0 -1
- package/types/packages/dev-tools/client/setup-ui/index.d.ts +0 -1
- package/types/packages/dev-tools/client/setup-ui/overview.d.ts +0 -4
- package/types/packages/dev-tools/client/tracking.d.ts +0 -22
- package/types/packages/dev-tools/client/utils.d.ts +0 -16
- package/types/packages/dev-tools/common/ast/app-dependencies.d.ts +0 -10
- package/types/packages/dev-tools/common/ast/component-info.d.ts +0 -29
- package/types/packages/dev-tools/common/ast/component-input-types.d.ts +0 -43
- package/types/packages/dev-tools/common/ast/component-registry.d.ts +0 -24
- package/types/packages/dev-tools/common/ast/convert-values.d.ts +0 -43
- package/types/packages/dev-tools/common/ast/convert-values.unit.d.ts +0 -1
- package/types/packages/dev-tools/common/ast/ensure-array-statement.d.ts +0 -11
- package/types/packages/dev-tools/common/ast/ensure-array-statement.unit.d.ts +0 -1
- package/types/packages/dev-tools/common/ast/ensure-comments.d.ts +0 -5
- package/types/packages/dev-tools/common/ast/ensure-imports.d.ts +0 -14
- package/types/packages/dev-tools/common/ast/ensure-imports.unit.d.ts +0 -1
- package/types/packages/dev-tools/common/ast/exported-statements.d.ts +0 -12
- package/types/packages/dev-tools/common/ast/exported-statements.unit.d.ts +0 -1
- package/types/packages/dev-tools/common/ast/imported-statements.d.ts +0 -8
- package/types/packages/dev-tools/common/ast/imported-statements.unit.d.ts +0 -1
- package/types/packages/dev-tools/common/ast/normalize-statements.d.ts +0 -16
- package/types/packages/dev-tools/common/ast/normalize-statements.unit.d.ts +0 -1
- package/types/packages/dev-tools/common/ast/remove-unused-imports.d.ts +0 -6
- package/types/packages/dev-tools/common/ast/remove-unused-imports.unit.d.ts +0 -1
- package/types/packages/dev-tools/common/ast/transform.d.ts +0 -15
- package/types/packages/dev-tools/common/ast/utils.d.ts +0 -49
- package/types/packages/dev-tools/common/ast/utils.unit.d.ts +0 -1
- package/types/packages/dev-tools/common/builder/builder-api.d.ts +0 -36
- package/types/packages/dev-tools/common/builder/builder-sdks.d.ts +0 -12
- package/types/packages/dev-tools/common/builder/content-generation.d.ts +0 -11
- package/types/packages/dev-tools/common/builder/content-ids.d.ts +0 -4
- package/types/packages/dev-tools/common/cache.d.ts +0 -6
- package/types/packages/dev-tools/common/constants.d.ts +0 -17
- package/types/packages/dev-tools/common/dotenv.d.ts +0 -25
- package/types/packages/dev-tools/common/dotenv.test.d.ts +0 -1
- package/types/packages/dev-tools/common/errors.d.ts +0 -50
- package/types/packages/dev-tools/common/estimate-code-tokens.d.ts +0 -1
- package/types/packages/dev-tools/common/fs.d.ts +0 -19
- package/types/packages/dev-tools/common/interactive-select-files.d.ts +0 -17
- package/types/packages/dev-tools/common/mem-sys.d.ts +0 -10
- package/types/packages/dev-tools/common/node-request.d.ts +0 -7
- package/types/packages/dev-tools/common/path.d.ts +0 -2
- package/types/packages/dev-tools/common/test-utils.d.ts +0 -23
- package/types/packages/dev-tools/common/typescript.d.ts +0 -28
- package/types/packages/dev-tools/common/utils.d.ts +0 -55
- package/types/packages/dev-tools/common/utils.unit.d.ts +0 -1
- package/types/packages/dev-tools/core/adapters/angular/angular-api-key.d.ts +0 -33
- package/types/packages/dev-tools/core/adapters/angular/angular-api-key.unit.d.ts +0 -1
- package/types/packages/dev-tools/core/adapters/angular/angular-app-module-imports.d.ts +0 -13
- package/types/packages/dev-tools/core/adapters/angular/angular-app-module-imports.unit.d.ts +0 -1
- package/types/packages/dev-tools/core/adapters/angular/angular-app-routes-update.d.ts +0 -7
- package/types/packages/dev-tools/core/adapters/angular/angular-app-routes-update.unit.d.ts +0 -1
- package/types/packages/dev-tools/core/adapters/angular/angular-components.d.ts +0 -46
- package/types/packages/dev-tools/core/adapters/angular/angular-components.unit.d.ts +0 -1
- package/types/packages/dev-tools/core/adapters/angular/angular-ensure-builder-setup.d.ts +0 -11
- package/types/packages/dev-tools/core/adapters/angular/angular-ensure-config-plugin.d.ts +0 -21
- package/types/packages/dev-tools/core/adapters/angular/angular-ensure-config-plugin.unit.d.ts +0 -1
- package/types/packages/dev-tools/core/adapters/angular/angular-fix-tsconfig.d.ts +0 -4
- package/types/packages/dev-tools/core/adapters/angular/angular-registry-parse.d.ts +0 -28
- package/types/packages/dev-tools/core/adapters/angular/angular-registry-parse.unit.d.ts +0 -1
- package/types/packages/dev-tools/core/adapters/angular/angular-registry.d.ts +0 -16
- package/types/packages/dev-tools/core/adapters/angular/angular-registry.unit.d.ts +0 -1
- package/types/packages/dev-tools/core/adapters/angular/angular-test-utils.d.ts +0 -10
- package/types/packages/dev-tools/core/adapters/angular/index.d.ts +0 -22
- package/types/packages/dev-tools/core/adapters/angular/types.d.ts +0 -11
- package/types/packages/dev-tools/core/adapters/next/index.d.ts +0 -36
- package/types/packages/dev-tools/core/adapters/next/next-api-key.d.ts +0 -7
- package/types/packages/dev-tools/core/adapters/next/next-component-info.d.ts +0 -12
- package/types/packages/dev-tools/core/adapters/next/next-component-info.unit.d.ts +0 -1
- package/types/packages/dev-tools/core/adapters/next/next-component-inputs.unit.d.ts +0 -1
- package/types/packages/dev-tools/core/adapters/next/next-component-source-inputs.unit.d.ts +0 -1
- package/types/packages/dev-tools/core/adapters/next/next-components.d.ts +0 -7
- package/types/packages/dev-tools/core/adapters/next/next-ensure-builder-setup.d.ts +0 -8
- package/types/packages/dev-tools/core/adapters/next/next-ensure-config-plugin.d.ts +0 -7
- package/types/packages/dev-tools/core/adapters/next/next-ensure-config-plugin.unit.d.ts +0 -1
- package/types/packages/dev-tools/core/adapters/next/next-registry-parse.d.ts +0 -26
- package/types/packages/dev-tools/core/adapters/next/next-registry-parse.unit.d.ts +0 -1
- package/types/packages/dev-tools/core/adapters/next/next-registry.d.ts +0 -16
- package/types/packages/dev-tools/core/adapters/next/next-registry.unit.d.ts +0 -1
- package/types/packages/dev-tools/core/adapters/next/next-test-utils.d.ts +0 -26
- package/types/packages/dev-tools/core/adapters/qwik-city/index.d.ts +0 -16
- package/types/packages/dev-tools/core/adapters/qwik-city/qwik-api-key.d.ts +0 -7
- package/types/packages/dev-tools/core/adapters/qwik-city/qwik-component-source-inputs.d.ts +0 -6
- package/types/packages/dev-tools/core/adapters/qwik-city/qwik-components.d.ts +0 -30
- package/types/packages/dev-tools/core/adapters/qwik-city/qwik-components.unit.d.ts +0 -1
- package/types/packages/dev-tools/core/adapters/qwik-city/qwik-ensure-builder-setup.d.ts +0 -8
- package/types/packages/dev-tools/core/adapters/qwik-city/qwik-ensure-config-plugin.d.ts +0 -6
- package/types/packages/dev-tools/core/adapters/qwik-city/qwik-registry-parse.d.ts +0 -28
- package/types/packages/dev-tools/core/adapters/qwik-city/qwik-registry-parse.unit.d.ts +0 -1
- package/types/packages/dev-tools/core/adapters/qwik-city/qwik-registry.d.ts +0 -16
- package/types/packages/dev-tools/core/adapters/qwik-city/qwik-registry.unit.d.ts +0 -1
- package/types/packages/dev-tools/core/adapters/qwik-city/qwik-test-utils.d.ts +0 -10
- package/types/packages/dev-tools/core/adapters/qwik-city/qwik-ts-program.d.ts +0 -4
- package/types/packages/dev-tools/core/adapters/react/index.d.ts +0 -21
- package/types/packages/dev-tools/core/adapters/react/react-api-key.d.ts +0 -9
- package/types/packages/dev-tools/core/adapters/react/react-builder-sdk-setup.d.ts +0 -4
- package/types/packages/dev-tools/core/adapters/react/react-component-info.d.ts +0 -12
- package/types/packages/dev-tools/core/adapters/react/react-components.d.ts +0 -44
- package/types/packages/dev-tools/core/adapters/react/react-components.unit.d.ts +0 -1
- package/types/packages/dev-tools/core/adapters/react/react-ensure-builder-setup.d.ts +0 -8
- package/types/packages/dev-tools/core/adapters/react/react-registry-parse.d.ts +0 -26
- package/types/packages/dev-tools/core/adapters/react/react-registry-parse.unit.d.ts +0 -1
- package/types/packages/dev-tools/core/adapters/react/react-registry.d.ts +0 -16
- package/types/packages/dev-tools/core/adapters/react/react-registry.unit.d.ts +0 -1
- package/types/packages/dev-tools/core/adapters/react/react-test-utils.d.ts +0 -13
- package/types/packages/dev-tools/core/adapters/react/react-ts-program.d.ts +0 -4
- package/types/packages/dev-tools/core/adapters/remix/index.d.ts +0 -21
- package/types/packages/dev-tools/core/adapters/remix/remix-api-key.d.ts +0 -7
- package/types/packages/dev-tools/core/adapters/remix/remix-components.d.ts +0 -7
- package/types/packages/dev-tools/core/adapters/remix/remix-ensure-builder-setup.d.ts +0 -11
- package/types/packages/dev-tools/core/adapters/remix/remix-ensure-config-plugin.d.ts +0 -7
- package/types/packages/dev-tools/core/adapters/remix/remix-ensure-config-plugin.unit.d.ts +0 -1
- package/types/packages/dev-tools/core/adapters/remix/remix-registry-parse.d.ts +0 -28
- package/types/packages/dev-tools/core/adapters/remix/remix-registry.d.ts +0 -16
- package/types/packages/dev-tools/core/adapters/remix/remix-registry.unit.d.ts +0 -1
- package/types/packages/dev-tools/core/adapters/remix/remix-test-utils.d.ts +0 -13
- package/types/packages/dev-tools/core/adapters/vite/vite-ensure-config-plugin.d.ts +0 -17
- package/types/packages/dev-tools/core/adapters/vite/vite-ensure-config-plugin.unit.d.ts +0 -1
- package/types/packages/dev-tools/core/adapters/vue/index.d.ts +0 -22
- package/types/packages/dev-tools/core/adapters/vue/vue-api-key.d.ts +0 -9
- package/types/packages/dev-tools/core/adapters/vue/vue-components.d.ts +0 -12
- package/types/packages/dev-tools/core/adapters/vue/vue-ensure-builder-setup.d.ts +0 -11
- package/types/packages/dev-tools/core/adapters/vue/vue-registry-parse.d.ts +0 -26
- package/types/packages/dev-tools/core/adapters/vue/vue-registry.d.ts +0 -8
- package/types/packages/dev-tools/core/adapters/webpack/webpack-config-helpers.d.ts +0 -16
- package/types/packages/dev-tools/core/adapters/webpack/webpack-config-helpers.unit.d.ts +0 -1
- package/types/packages/dev-tools/core/adapters/webpack/webpack-ensure-config-plugin.d.ts +0 -7
- package/types/packages/dev-tools/core/client-script.d.ts +0 -1
- package/types/packages/dev-tools/core/create-dev-tools.d.ts +0 -4
- package/types/packages/dev-tools/core/detect-frameworks.d.ts +0 -9
- package/types/packages/dev-tools/core/ensure-config-plugin.d.ts +0 -7
- package/types/packages/dev-tools/core/find-dependencies.d.ts +0 -10
- package/types/packages/dev-tools/core/import-export-registry.d.ts +0 -10
- package/types/packages/dev-tools/core/index.d.ts +0 -23
- package/types/packages/dev-tools/figma/index.d.ts +0 -119
- package/types/packages/dev-tools/node/index.d.ts +0 -2
- package/types/packages/dev-tools/node/node-sys.d.ts +0 -21
- package/types/packages/dev-tools/remix/index.d.ts +0 -8
- package/types/packages/dev-tools/server/auth.d.ts +0 -5
- package/types/packages/dev-tools/server/builder-connect.d.ts +0 -21
- package/types/packages/dev-tools/server/client-script.d.ts +0 -7
- package/types/packages/dev-tools/server/create-dev-tools-server.d.ts +0 -4
- package/types/packages/dev-tools/server/dev-tools-api.d.ts +0 -5
- package/types/packages/dev-tools/server/dev-tools-http-server.d.ts +0 -4
- package/types/packages/dev-tools/server/index.d.ts +0 -30
- package/types/packages/dev-tools/server/request-handler.d.ts +0 -8
- package/types/packages/dev-tools/types/codegen-server.d.ts +0 -14
- package/types/packages/dev-tools/types/connection-tracker.d.ts +0 -41
- package/types/packages/dev-tools/types/proxy-middleware.d.ts +0 -41
- package/types/packages/dev-tools/types/websocket-types.d.ts +0 -19
- package/types/packages/dev-tools/types.d.ts +0 -554
- package/types/packages/dev-tools/vite/main.d.ts +0 -7
- package/types/packages/dev-tools/vitest.config.d.ts +0 -2
- package/types/packages/dev-tools/webpack/main.d.ts +0 -9
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
export interface FileOverride {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
2
|
+
/**
|
|
3
|
+
* Path where the file should be written.
|
|
4
|
+
* - Absolute paths: "/app/.env", "/etc/config/app.conf"
|
|
5
|
+
* - Tilde expansion: "~/.config/app.json" (expands to home directory)
|
|
6
|
+
* - Relative paths: "./file.txt", "config.json" (resolved against working directory)
|
|
7
|
+
*/
|
|
8
|
+
path: string;
|
|
9
|
+
/**
|
|
10
|
+
* Content to write to the file.
|
|
11
|
+
*/
|
|
12
|
+
content: string;
|
|
13
13
|
}
|
|
14
14
|
export interface SentryLike {
|
|
15
|
-
|
|
15
|
+
captureException: (error: unknown) => void;
|
|
16
16
|
}
|
|
17
17
|
export interface ApplyFileOverridesResult {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
18
|
+
success: boolean;
|
|
19
|
+
appliedFiles: string[];
|
|
20
|
+
failedFiles: Array<{
|
|
21
|
+
path: string;
|
|
22
|
+
error: string;
|
|
23
|
+
}>;
|
|
24
24
|
}
|
|
25
25
|
/**
|
|
26
26
|
* Expand tilde (~) in file path to home directory
|
|
@@ -35,10 +35,7 @@ export declare function expandTildePath(filePath: string): string;
|
|
|
35
35
|
* @param workingDirectory - Optional working directory for resolving relative paths
|
|
36
36
|
* @returns Resolved absolute path
|
|
37
37
|
*/
|
|
38
|
-
export declare function resolveFilePath(
|
|
39
|
-
filePath: string,
|
|
40
|
-
workingDirectory?: string,
|
|
41
|
-
): string;
|
|
38
|
+
export declare function resolveFilePath(filePath: string, workingDirectory?: string): string;
|
|
42
39
|
/**
|
|
43
40
|
* Validate that a file path can be resolved to an absolute path
|
|
44
41
|
* Supports tilde (~) expansion and relative paths (when workingDirectory is provided)
|
|
@@ -46,10 +43,7 @@ export declare function resolveFilePath(
|
|
|
46
43
|
* @param workingDirectory - Optional working directory for resolving relative paths
|
|
47
44
|
* @returns true if valid, false otherwise
|
|
48
45
|
*/
|
|
49
|
-
export declare function isValidFilePath(
|
|
50
|
-
filePath: string,
|
|
51
|
-
workingDirectory?: string,
|
|
52
|
-
): boolean;
|
|
46
|
+
export declare function isValidFilePath(filePath: string, workingDirectory?: string): boolean;
|
|
53
47
|
/**
|
|
54
48
|
* Apply multiple file overrides to the filesystem.
|
|
55
49
|
* This function will:
|
|
@@ -64,11 +58,7 @@ export declare function isValidFilePath(
|
|
|
64
58
|
* @param sentry - Optional Sentry instance for error logging
|
|
65
59
|
* @returns Object with overall success status and details for each file
|
|
66
60
|
*/
|
|
67
|
-
export declare function applyFileOverrides(
|
|
68
|
-
overrides: FileOverride[],
|
|
69
|
-
workingDirectory?: string,
|
|
70
|
-
sentry?: SentryLike,
|
|
71
|
-
): ApplyFileOverridesResult;
|
|
61
|
+
export declare function applyFileOverrides(overrides: FileOverride[], workingDirectory?: string, sentry?: SentryLike): ApplyFileOverridesResult;
|
|
72
62
|
/**
|
|
73
63
|
* Read a file and return its content
|
|
74
64
|
* Supports tilde (~) expansion and relative paths.
|
|
@@ -76,10 +66,7 @@ export declare function applyFileOverrides(
|
|
|
76
66
|
* @param workingDirectory - Optional working directory for resolving relative paths
|
|
77
67
|
* @returns The file content or null if it cannot be read
|
|
78
68
|
*/
|
|
79
|
-
export declare function readFileOverride(
|
|
80
|
-
filePath: string,
|
|
81
|
-
workingDirectory?: string,
|
|
82
|
-
): string | null;
|
|
69
|
+
export declare function readFileOverride(filePath: string, workingDirectory?: string): string | null;
|
|
83
70
|
/**
|
|
84
71
|
* Check if a file exists at the given path
|
|
85
72
|
* Supports tilde (~) expansion and relative paths.
|
|
@@ -87,7 +74,4 @@ export declare function readFileOverride(
|
|
|
87
74
|
* @param workingDirectory - Optional working directory for resolving relative paths
|
|
88
75
|
* @returns true if the file exists, false otherwise
|
|
89
76
|
*/
|
|
90
|
-
export declare function fileOverrideExists(
|
|
91
|
-
filePath: string,
|
|
92
|
-
workingDirectory?: string,
|
|
93
|
-
): boolean;
|
|
77
|
+
export declare function fileOverrideExists(filePath: string, workingDirectory?: string): boolean;
|
package/types/cli/utils/git.d.ts
CHANGED
|
@@ -2,33 +2,21 @@ import type { DevToolsSys } from "../../types";
|
|
|
2
2
|
import type { Credentials } from "../credentials";
|
|
3
3
|
import type { GitConfigs } from "$/ai-utils";
|
|
4
4
|
export interface RunCommandOptions {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
5
|
+
cwd?: string;
|
|
6
|
+
debug?: boolean;
|
|
7
|
+
sys: DevToolsSys;
|
|
8
|
+
timeout?: number;
|
|
9
|
+
stdin?: string;
|
|
10
|
+
retry?: number;
|
|
11
11
|
}
|
|
12
|
-
type FetchGitConfigsResult =
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
export declare function
|
|
22
|
-
cmd: string,
|
|
23
|
-
args: string[],
|
|
24
|
-
opts: RunCommandOptions,
|
|
25
|
-
): Promise<string>;
|
|
26
|
-
export declare const isGitRepoCorrupted: (
|
|
27
|
-
stdout: string,
|
|
28
|
-
stderr: string,
|
|
29
|
-
) => boolean;
|
|
30
|
-
export declare function fetchGitConfigs(
|
|
31
|
-
credentials: Credentials,
|
|
32
|
-
projectId: string,
|
|
33
|
-
): Promise<FetchGitConfigsResult>;
|
|
12
|
+
type FetchGitConfigsResult = {
|
|
13
|
+
success: true;
|
|
14
|
+
gitConfigs: GitConfigs;
|
|
15
|
+
} | {
|
|
16
|
+
success: false;
|
|
17
|
+
error: Error;
|
|
18
|
+
};
|
|
19
|
+
export declare function runCommand(cmd: string, args: string[], opts: RunCommandOptions): Promise<string>;
|
|
20
|
+
export declare const isGitRepoCorrupted: (stdout: string, stderr: string) => boolean;
|
|
21
|
+
export declare function fetchGitConfigs(credentials: Credentials, projectId: string): Promise<FetchGitConfigsResult>;
|
|
34
22
|
export {};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
export interface HostEntry {
|
|
2
|
-
|
|
3
|
-
|
|
2
|
+
hostname: string;
|
|
3
|
+
ip?: string;
|
|
4
4
|
}
|
|
5
5
|
export interface SentryLike {
|
|
6
|
-
|
|
6
|
+
captureException: (error: unknown) => void;
|
|
7
7
|
}
|
|
8
8
|
/**
|
|
9
9
|
* Check if a hostname is localhost or 127.0.0.1
|
|
@@ -20,10 +20,7 @@ export declare function isLocalhost(hostname: string): boolean;
|
|
|
20
20
|
* @param sentry - Optional Sentry instance for error logging
|
|
21
21
|
* @returns true if successful, false otherwise
|
|
22
22
|
*/
|
|
23
|
-
export declare function updateHostsFile(
|
|
24
|
-
entries: HostEntry[],
|
|
25
|
-
sentry?: SentryLike,
|
|
26
|
-
): boolean;
|
|
23
|
+
export declare function updateHostsFile(entries: HostEntry[], sentry?: SentryLike): boolean;
|
|
27
24
|
/**
|
|
28
25
|
* Remove all managed entries from the hosts file
|
|
29
26
|
* @param sentry - Optional Sentry instance for error logging
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import type { DevToolsSys } from "@builder.io/dev-tools/core";
|
|
2
2
|
import type { FusionConfig } from "$/ai-utils";
|
|
3
3
|
export interface LockFileData {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
4
|
+
cwd: string;
|
|
5
|
+
projectId?: string;
|
|
6
|
+
branchId?: string;
|
|
7
|
+
pid: number;
|
|
8
|
+
createdAt: number;
|
|
9
|
+
port?: number;
|
|
10
10
|
}
|
|
11
11
|
export type LockConflictBehavior = "replace" | "exit" | "kill";
|
|
12
12
|
/**
|
|
@@ -25,7 +25,4 @@ export type LockConflictBehavior = "replace" | "exit" | "kill";
|
|
|
25
25
|
* @param projectId - Optional project ID
|
|
26
26
|
* @param branchId - Optional branch ID/name
|
|
27
27
|
*/
|
|
28
|
-
export declare function registerLock(
|
|
29
|
-
sys: DevToolsSys,
|
|
30
|
-
fusionConfig: FusionConfig,
|
|
31
|
-
): Promise<void>;
|
|
28
|
+
export declare function registerLock(sys: DevToolsSys, fusionConfig: FusionConfig): Promise<void>;
|
|
@@ -5,7 +5,4 @@ import type { ApplyActionsResult } from "../../../ai-utils/src/codegen";
|
|
|
5
5
|
* @param includeFilesOnly - If true, only populate action and filePath properties
|
|
6
6
|
* @returns Array of ApplyActionsResult objects
|
|
7
7
|
*/
|
|
8
|
-
export declare function parseGitDiffToApplyActions(
|
|
9
|
-
diff: string,
|
|
10
|
-
includeFilesOnly?: boolean,
|
|
11
|
-
): ApplyActionsResult[];
|
|
8
|
+
export declare function parseGitDiffToApplyActions(diff: string, includeFilesOnly?: boolean): ApplyActionsResult[];
|
|
@@ -1,11 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
ChildProcess,
|
|
3
|
-
type ChildProcessWithoutNullStreams,
|
|
4
|
-
type ChildProcessByStdio,
|
|
5
|
-
type SpawnOptions,
|
|
6
|
-
type StdioPipe,
|
|
7
|
-
type StdioNull,
|
|
8
|
-
} from "child_process";
|
|
1
|
+
import { ChildProcess, type ChildProcessWithoutNullStreams, type ChildProcessByStdio, type SpawnOptions, type StdioPipe, type StdioNull } from "child_process";
|
|
9
2
|
import type { Readable } from "stream";
|
|
10
3
|
import type { DevToolsSys } from "../../types";
|
|
11
4
|
import type { DevCommandProcess } from "../launch/dev-server-orchestrator";
|
|
@@ -14,81 +7,65 @@ import type { DevCommandProcess } from "../launch/dev-server-orchestrator";
|
|
|
14
7
|
* and ensures they are killed when the main process exits
|
|
15
8
|
*/
|
|
16
9
|
declare class ProcessTracker {
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
10
|
+
private processes;
|
|
11
|
+
private cleanupHandlersRegistered;
|
|
12
|
+
constructor();
|
|
13
|
+
/**
|
|
14
|
+
* Register a spawned process for tracking and cleanup
|
|
15
|
+
*/
|
|
16
|
+
track(childProcess: ChildProcess): void;
|
|
17
|
+
/**
|
|
18
|
+
* Untrack a process (useful if you're managing it manually)
|
|
19
|
+
*/
|
|
20
|
+
untrack(childProcess: ChildProcess): void;
|
|
21
|
+
/**
|
|
22
|
+
* Kill all tracked processes
|
|
23
|
+
* @param sys - DevToolsSys for logging and Sentry integration
|
|
24
|
+
*/
|
|
25
|
+
killAll(sys?: DevToolsSys): Promise<void>;
|
|
26
|
+
/**
|
|
27
|
+
* Register cleanup handlers for various exit signals
|
|
28
|
+
*/
|
|
29
|
+
private registerCleanupHandlers;
|
|
30
|
+
/**
|
|
31
|
+
* Get the number of tracked processes
|
|
32
|
+
*/
|
|
33
|
+
get count(): number;
|
|
41
34
|
}
|
|
42
35
|
export declare const processTracker: ProcessTracker;
|
|
43
36
|
/**
|
|
44
37
|
* Options for trackedSpawn function
|
|
45
38
|
*/
|
|
46
39
|
export interface TrackedSpawnOptions {
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
40
|
+
/** The command to run */
|
|
41
|
+
command: string;
|
|
42
|
+
/** Arguments for the command */
|
|
43
|
+
args?: readonly string[];
|
|
44
|
+
/** Spawn options */
|
|
45
|
+
options?: SpawnOptions;
|
|
53
46
|
}
|
|
54
47
|
/**
|
|
55
48
|
* Wrapper around child_process.spawn that automatically tracks the spawned process
|
|
56
49
|
* and ensures it gets killed when the main process exits
|
|
57
50
|
*/
|
|
58
|
-
export declare function trackedSpawn(
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
stdio: [StdioNull | "ignore", StdioPipe, StdioPipe];
|
|
69
|
-
};
|
|
70
|
-
},
|
|
71
|
-
): ChildProcessByStdio<null, Readable, Readable>;
|
|
51
|
+
export declare function trackedSpawn(config: TrackedSpawnOptions & {
|
|
52
|
+
options: SpawnOptions & {
|
|
53
|
+
stdio: "pipe" | [StdioPipe, StdioPipe, StdioPipe];
|
|
54
|
+
};
|
|
55
|
+
}): ChildProcessWithoutNullStreams;
|
|
56
|
+
export declare function trackedSpawn(config: TrackedSpawnOptions & {
|
|
57
|
+
options: SpawnOptions & {
|
|
58
|
+
stdio: [StdioNull | "ignore", StdioPipe, StdioPipe];
|
|
59
|
+
};
|
|
60
|
+
}): ChildProcessByStdio<null, Readable, Readable>;
|
|
72
61
|
export declare function trackedSpawn(config: TrackedSpawnOptions): ChildProcess;
|
|
73
|
-
export declare function safeSpawn(
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
):
|
|
80
|
-
export declare function safeSpawn(
|
|
81
|
-
shell: string,
|
|
82
|
-
command: string,
|
|
83
|
-
options: SpawnOptions & {
|
|
84
|
-
stdio: [StdioNull | "ignore", StdioPipe, StdioPipe];
|
|
85
|
-
},
|
|
86
|
-
): ChildProcessByStdio<null, Readable, Readable>;
|
|
87
|
-
export declare function safeSpawn(
|
|
88
|
-
shell: string,
|
|
89
|
-
command: string,
|
|
90
|
-
options: SpawnOptions,
|
|
91
|
-
): ChildProcess;
|
|
62
|
+
export declare function safeSpawn(shell: string, command: string, options: SpawnOptions & {
|
|
63
|
+
stdio: "pipe" | [StdioPipe, StdioPipe, StdioPipe];
|
|
64
|
+
}): ChildProcessWithoutNullStreams;
|
|
65
|
+
export declare function safeSpawn(shell: string, command: string, options: SpawnOptions & {
|
|
66
|
+
stdio: [StdioNull | "ignore", StdioPipe, StdioPipe];
|
|
67
|
+
}): ChildProcessByStdio<null, Readable, Readable>;
|
|
68
|
+
export declare function safeSpawn(shell: string, command: string, options: SpawnOptions): ChildProcess;
|
|
92
69
|
export declare const getTempFolder: () => string;
|
|
93
70
|
export declare const cleanupTempFolder: () => boolean;
|
|
94
71
|
/**
|
|
@@ -98,23 +75,12 @@ export declare const isMultiLineCommand: (command: string) => boolean;
|
|
|
98
75
|
/**
|
|
99
76
|
* Creates a temporary script file for multi-line commands
|
|
100
77
|
*/
|
|
101
|
-
export declare const createTempScript: (
|
|
102
|
-
command: string,
|
|
103
|
-
shell: string,
|
|
104
|
-
) => string;
|
|
78
|
+
export declare const createTempScript: (command: string, shell: string) => string;
|
|
105
79
|
export declare const getTempScriptPath: (extension: string) => string;
|
|
106
80
|
/**
|
|
107
81
|
* Cleans up a temporary script file
|
|
108
82
|
*/
|
|
109
83
|
export declare const cleanupTempScript: (scriptPath: string) => void;
|
|
110
|
-
export declare const getCommandWithShellArgs: (
|
|
111
|
-
|
|
112
|
-
shell: string,
|
|
113
|
-
) => string[];
|
|
114
|
-
export declare function killProcess(
|
|
115
|
-
sys: DevToolsSys,
|
|
116
|
-
procOrPid: ChildProcess | DevCommandProcess | number | undefined,
|
|
117
|
-
abortSignal?: AbortSignal,
|
|
118
|
-
timeout?: number,
|
|
119
|
-
): Promise<boolean>;
|
|
84
|
+
export declare const getCommandWithShellArgs: (command: string, shell: string) => string[];
|
|
85
|
+
export declare function killProcess(sys: DevToolsSys, procOrPid: ChildProcess | DevCommandProcess | number | undefined, abortSignal?: AbortSignal, timeout?: number): Promise<boolean>;
|
|
120
86
|
export {};
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
export declare const REPO_INDEXING_AGENT_PROMPT =
|
|
2
|
-
"# Design System Component Reference\n\nThis document provides a comprehensive overview of the design system's component architecture and available components for code generation and development reference.\n\n## System Architecture\n\nThe design system follows a modular component-based architecture where each component provides specific functionality. Components are organized into logical groups that can work independently or in combination with other components.\n\n### Component Organization Principles\n\n- **Single Responsibility**: Each component serves a specific purpose\n- **Composability**: Components can be combined to create complex interfaces\n- **Consistency**: All components follow the same design patterns and API conventions\n- **Accessibility**: Components are built with accessibility standards in mind\n\n## Documentation Structure\n\nFor detailed documentation on any component, refer to the corresponding MDX file in the `design-system-docs` folder. The documentation files follow the naming convention:\n\n```\ndesign-system-docs/[componentname].mdx\n```\n\nFor example:\n- `design-system-docs/button.mdx` - Detailed documentation for Button component\n- `design-system-docs/table.mdx` - Detailed documentation for Table component\n- `design-system-docs/annotationcontext.mdx` - Detailed documentation for AnnotationContext\n- `design-system-docs/applayout.mdx` - Detailed documentation for AppLayout component\n\nThese MDX files contain comprehensive information including:\n- Component API documentation\n- Usage examples\n- Props and configuration options\n- Best practices and implementation guidelines\n- Accessibility requirements\n- Integration patterns with other components\n\n## Components\n\n{{COMPONENTS}}\n{{ICONS}}\n{{TOKENS}}\n\n## Usage Guidelines\n\n### Component Dependencies\n- Most components are self-contained and can be used independently\n- Identify any components that require multiple components to work together\n- Some components work better in combination (e.g., Form + FormField, Table + Pagination)\n\n### Integration Patterns\n- Layout components typically serve as containers for other components\n- Form controls should be wrapped in FormField components for proper labeling\n- Navigation components can be used independently or as part of larger layout structures\n- Data display components can be enhanced with interactive elements like buttons and popovers\n\n### Accessibility Considerations\n- All components are built with accessibility in mind\n- Use semantic HTML structures provided by the components\n- Leverage built-in ARIA attributes and keyboard navigation\n- The LiveRegion component provides additional accessibility announcements when needed\n\n### Responsive Design\n- Layout components provide responsive behavior out of the box\n- Grid and ColumnLayout components adapt to different screen sizes\n- Mobile-friendly navigation patterns are built into navigation components\n\n## Usage Reference\n\nThis reference should be used to understand the available components and their intended purposes when generating code or building applications with this design system. For specific implementation details, always consult the corresponding MDX documentation file in the `design-system-docs` folder.";
|
|
1
|
+
export declare const REPO_INDEXING_AGENT_PROMPT = "# Design System Component Reference\n\nThis document provides a comprehensive overview of the design system's component architecture and available components for code generation and development reference.\n\n## System Architecture\n\nThe design system follows a modular component-based architecture where each component provides specific functionality. Components are organized into logical groups that can work independently or in combination with other components.\n\n### Component Organization Principles\n\n- **Single Responsibility**: Each component serves a specific purpose\n- **Composability**: Components can be combined to create complex interfaces\n- **Consistency**: All components follow the same design patterns and API conventions\n- **Accessibility**: Components are built with accessibility standards in mind\n\n## Documentation Structure\n\nFor detailed documentation on any component, refer to the corresponding MDX file in the `design-system-docs` folder. The documentation files follow the naming convention:\n\n```\ndesign-system-docs/[componentname].mdx\n```\n\nFor example:\n- `design-system-docs/button.mdx` - Detailed documentation for Button component\n- `design-system-docs/table.mdx` - Detailed documentation for Table component\n- `design-system-docs/annotationcontext.mdx` - Detailed documentation for AnnotationContext\n- `design-system-docs/applayout.mdx` - Detailed documentation for AppLayout component\n\nThese MDX files contain comprehensive information including:\n- Component API documentation\n- Usage examples\n- Props and configuration options\n- Best practices and implementation guidelines\n- Accessibility requirements\n- Integration patterns with other components\n\n## Components\n\n{{COMPONENTS}}\n{{ICONS}}\n{{TOKENS}}\n\n## Usage Guidelines\n\n### Component Dependencies\n- Most components are self-contained and can be used independently\n- Identify any components that require multiple components to work together\n- Some components work better in combination (e.g., Form + FormField, Table + Pagination)\n\n### Integration Patterns\n- Layout components typically serve as containers for other components\n- Form controls should be wrapped in FormField components for proper labeling\n- Navigation components can be used independently or as part of larger layout structures\n- Data display components can be enhanced with interactive elements like buttons and popovers\n\n### Accessibility Considerations\n- All components are built with accessibility in mind\n- Use semantic HTML structures provided by the components\n- Leverage built-in ARIA attributes and keyboard navigation\n- The LiveRegion component provides additional accessibility announcements when needed\n\n### Responsive Design\n- Layout components provide responsive behavior out of the box\n- Grid and ColumnLayout components adapt to different screen sizes\n- Mobile-friendly navigation patterns are built into navigation components\n\n## Usage Reference\n\nThis reference should be used to understand the available components and their intended purposes when generating code or building applications with this design system. For specific implementation details, always consult the corresponding MDX documentation file in the `design-system-docs` folder.";
|
|
@@ -3,27 +3,27 @@
|
|
|
3
3
|
* to properly represent what would be shown in a real terminal
|
|
4
4
|
*/
|
|
5
5
|
export declare class TerminalBuffer {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
6
|
+
private lines;
|
|
7
|
+
private currentLine;
|
|
8
|
+
private currentColumn;
|
|
9
|
+
private maxLines;
|
|
10
|
+
private maxColumns;
|
|
11
|
+
private chunks;
|
|
12
|
+
constructor(maxLines?: number, maxColumns?: number);
|
|
13
|
+
write(data: string): void;
|
|
14
|
+
private ensureLineExists;
|
|
15
|
+
getWrite(): string;
|
|
16
|
+
getContent(): string;
|
|
17
|
+
clear(): void;
|
|
18
|
+
/**
|
|
19
|
+
* Get current cursor position for testing/debugging
|
|
20
|
+
*/
|
|
21
|
+
getCursorPosition(): {
|
|
22
|
+
line: number;
|
|
23
|
+
column: number;
|
|
24
|
+
};
|
|
25
|
+
/**
|
|
26
|
+
* Get the current number of lines for testing/debugging
|
|
27
|
+
*/
|
|
28
|
+
getLineCount(): number;
|
|
29
29
|
}
|
|
@@ -1,19 +1,16 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
WorkspaceFolder,
|
|
3
|
-
WorkspaceConfiguration,
|
|
4
|
-
} from "@builder.io/ai-utils";
|
|
1
|
+
import type { WorkspaceFolder, WorkspaceConfiguration } from "@builder.io/ai-utils";
|
|
5
2
|
import type { DevToolsSys } from "../../types";
|
|
6
3
|
export interface ResolveWorkspacePathOptions {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
4
|
+
filePath: string;
|
|
5
|
+
forceWorkspace?: boolean;
|
|
6
|
+
workspace?: WorkspaceConfiguration;
|
|
7
|
+
workingDirectory: string;
|
|
8
|
+
sys: DevToolsSys;
|
|
9
|
+
canCollapseWorkspace?: boolean;
|
|
13
10
|
}
|
|
14
11
|
export interface ResolveWorkspacePathResult {
|
|
15
|
-
|
|
16
|
-
|
|
12
|
+
resolvedPath: string;
|
|
13
|
+
workspaceFolder?: WorkspaceFolder;
|
|
17
14
|
}
|
|
18
15
|
/**
|
|
19
16
|
* Resolves a workspace file path to its actual file system path.
|
|
@@ -52,15 +49,13 @@ export interface ResolveWorkspacePathResult {
|
|
|
52
49
|
* // }
|
|
53
50
|
* ```
|
|
54
51
|
*/
|
|
55
|
-
export declare function resolveWorkspacePath(
|
|
56
|
-
options: ResolveWorkspacePathOptions,
|
|
57
|
-
): ResolveWorkspacePathResult;
|
|
52
|
+
export declare function resolveWorkspacePath(options: ResolveWorkspacePathOptions): ResolveWorkspacePathResult;
|
|
58
53
|
export interface AbsolutePathToWorkspaceUrlOptions {
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
54
|
+
absolutePath: string;
|
|
55
|
+
workspace?: WorkspaceConfiguration;
|
|
56
|
+
workingDirectory: string;
|
|
57
|
+
sys: DevToolsSys;
|
|
58
|
+
canCollapseWorkspace?: boolean;
|
|
64
59
|
}
|
|
65
60
|
/**
|
|
66
61
|
* Converts an absolute file system path to a workspace URL if possible.
|
|
@@ -94,6 +89,4 @@ export interface AbsolutePathToWorkspaceUrlOptions {
|
|
|
94
89
|
* // Returns: 'frontend/src/components/Button.tsx'
|
|
95
90
|
* ```
|
|
96
91
|
*/
|
|
97
|
-
export declare function absolutePathToWorkspaceUrl(
|
|
98
|
-
options: AbsolutePathToWorkspaceUrlOptions,
|
|
99
|
-
): string | undefined;
|
|
92
|
+
export declare function absolutePathToWorkspaceUrl(options: AbsolutePathToWorkspaceUrlOptions): string | undefined;
|
|
@@ -1,44 +1,12 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
|
|
3
|
-
ConnectedBuilder,
|
|
4
|
-
GetRegistryOptions,
|
|
5
|
-
LaunchEditorFile,
|
|
6
|
-
LoadComponentOptions,
|
|
7
|
-
LocalConfig,
|
|
8
|
-
RegisterComponentOptions,
|
|
9
|
-
SetComponentInfoOptions,
|
|
10
|
-
SetComponentInputOptions,
|
|
11
|
-
UnregisterComponentOptions,
|
|
12
|
-
ValidatedBuilder,
|
|
13
|
-
} from "../types";
|
|
14
|
-
export declare const apiConnectBuilder: (
|
|
15
|
-
publicApiKey: string,
|
|
16
|
-
privateAuthKey: string,
|
|
17
|
-
kind: string | null,
|
|
18
|
-
) => Promise<ConnectedBuilder>;
|
|
1
|
+
import type { ComponentRegistry, ConnectedBuilder, GetRegistryOptions, LaunchEditorFile, LoadComponentOptions, LocalConfig, RegisterComponentOptions, SetComponentInfoOptions, SetComponentInputOptions, UnregisterComponentOptions, ValidatedBuilder } from "../types";
|
|
2
|
+
export declare const apiConnectBuilder: (publicApiKey: string, privateAuthKey: string, kind: string | null) => Promise<ConnectedBuilder>;
|
|
19
3
|
export declare const apiValidateBuilder: () => Promise<ValidatedBuilder>;
|
|
20
|
-
export declare const apiLaunchEditor: (
|
|
21
|
-
|
|
22
|
-
) => Promise<
|
|
23
|
-
export declare const
|
|
24
|
-
|
|
25
|
-
) => Promise<ComponentRegistry>;
|
|
26
|
-
export declare const
|
|
27
|
-
|
|
28
|
-
) => Promise<ComponentRegistry>;
|
|
29
|
-
export declare const apiRegisterComponent: (
|
|
30
|
-
opts: RegisterComponentOptions,
|
|
31
|
-
) => Promise<ComponentRegistry>;
|
|
32
|
-
export declare const apiSetComponentInfo: (
|
|
33
|
-
opts: SetComponentInfoOptions,
|
|
34
|
-
) => Promise<ComponentRegistry>;
|
|
35
|
-
export declare const apiSetComponentInput: (
|
|
36
|
-
opts: SetComponentInputOptions,
|
|
37
|
-
) => Promise<ComponentRegistry>;
|
|
38
|
-
export declare const apiUnregisterComponent: (
|
|
39
|
-
opts: UnregisterComponentOptions,
|
|
40
|
-
) => Promise<ComponentRegistry>;
|
|
41
|
-
export declare const apiDevToolsEnabled: (
|
|
42
|
-
enabled: boolean,
|
|
43
|
-
) => Promise<ComponentRegistry>;
|
|
4
|
+
export declare const apiLaunchEditor: (file: LaunchEditorFile) => Promise<unknown>;
|
|
5
|
+
export declare const apiRegistry: (opts?: GetRegistryOptions) => Promise<ComponentRegistry>;
|
|
6
|
+
export declare const apiLoadComponent: (opts: LoadComponentOptions) => Promise<ComponentRegistry>;
|
|
7
|
+
export declare const apiRegisterComponent: (opts: RegisterComponentOptions) => Promise<ComponentRegistry>;
|
|
8
|
+
export declare const apiSetComponentInfo: (opts: SetComponentInfoOptions) => Promise<ComponentRegistry>;
|
|
9
|
+
export declare const apiSetComponentInput: (opts: SetComponentInputOptions) => Promise<ComponentRegistry>;
|
|
10
|
+
export declare const apiUnregisterComponent: (opts: UnregisterComponentOptions) => Promise<ComponentRegistry>;
|
|
11
|
+
export declare const apiDevToolsEnabled: (enabled: boolean) => Promise<ComponentRegistry>;
|
|
44
12
|
export declare const apiLocalConfig: () => Promise<LocalConfig>;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
export declare class BuilderDevToolsEditButton extends HTMLElement {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
2
|
+
openInBuilder: HTMLAnchorElement | null;
|
|
3
|
+
block: HTMLElement | null;
|
|
4
|
+
constructor();
|
|
5
|
+
connectedCallback(): void;
|
|
6
|
+
show(contentElm: HTMLElement, blockElm: HTMLElement): string | null;
|
|
7
|
+
hide(): void;
|
|
8
8
|
}
|
|
@@ -1,10 +1,4 @@
|
|
|
1
1
|
import type { ComponentInfo } from "../../../types";
|
|
2
2
|
export declare function initComponentDetailSection(shadow: ShadowRoot): void;
|
|
3
|
-
export declare function loadComponentDetail(
|
|
4
|
-
|
|
5
|
-
opt: "load" | "update",
|
|
6
|
-
): Promise<void>;
|
|
7
|
-
export declare function renderComponentDetail(
|
|
8
|
-
shadow: ShadowRoot,
|
|
9
|
-
cmpId: string,
|
|
10
|
-
): ComponentInfo | null;
|
|
3
|
+
export declare function loadComponentDetail(shadow: ShadowRoot, opt: "load" | "update"): Promise<void>;
|
|
4
|
+
export declare function renderComponentDetail(shadow: ShadowRoot, cmpId: string): ComponentInfo | null;
|
|
@@ -1,7 +1,3 @@
|
|
|
1
1
|
import type { ComponentInput } from "../../../types";
|
|
2
2
|
export declare function initComponentInputSection(shadow: ShadowRoot): void;
|
|
3
|
-
export declare function renderComponentInput(
|
|
4
|
-
shadow: ShadowRoot,
|
|
5
|
-
cmpId: string,
|
|
6
|
-
propName: string,
|
|
7
|
-
): ComponentInput | null;
|
|
3
|
+
export declare function renderComponentInput(shadow: ShadowRoot, cmpId: string, propName: string): ComponentInput | null;
|
|
@@ -1,7 +1,4 @@
|
|
|
1
1
|
import type { ComponentInfo } from "../../../types";
|
|
2
2
|
export declare function initComponentListSection(shadow: ShadowRoot): void;
|
|
3
3
|
export declare function loadComponentsSection(shadow: ShadowRoot): void;
|
|
4
|
-
export declare function renderComponentList(
|
|
5
|
-
shadow: ShadowRoot,
|
|
6
|
-
filteredComponents?: ComponentInfo[],
|
|
7
|
-
): void;
|
|
4
|
+
export declare function renderComponentList(shadow: ShadowRoot, filteredComponents?: ComponentInfo[]): void;
|