@builder.io/dev-tools 1.35.3-dev.202603251111.584c84aa2 → 1.35.3-dev.202603251414.7060a67a6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (403) hide show
  1. package/angular/index.cjs +0 -0
  2. package/angular/index.d.ts +0 -0
  3. package/angular/index.mjs +0 -0
  4. package/cli/index.cjs +439 -320
  5. package/cli/index.cjs.map +4 -4
  6. package/core/index.cjs +156 -7
  7. package/core/index.d.ts +0 -0
  8. package/core/index.mjs +156 -7
  9. package/figma/index.cjs +0 -0
  10. package/figma/index.d.ts +0 -0
  11. package/figma/index.mjs +0 -0
  12. package/node/index.cjs +1 -1
  13. package/node/index.d.ts +0 -0
  14. package/node/index.mjs +1 -1
  15. package/package.json +1 -1
  16. package/remix/build.cjs +0 -0
  17. package/remix/index.d.ts +0 -0
  18. package/remix/index.mjs +0 -0
  19. package/remix/server-build/index.cjs +0 -0
  20. package/remix/server-build/index.mjs +0 -0
  21. package/server/index.cjs +182 -161
  22. package/server/index.d.ts +0 -0
  23. package/server/index.mjs +182 -161
  24. package/types/_tests_/code.e2e.d.ts +0 -0
  25. package/types/_tests_/codegen-acl-glob.test.d.ts +0 -0
  26. package/types/_tests_/codegen-git-path-handling.test.d.ts +0 -0
  27. package/types/_tests_/codegen-listdir-security.test.d.ts +0 -0
  28. package/types/_tests_/config-validation.test.d.ts +0 -0
  29. package/types/_tests_/create-builder.e2e.d.ts +0 -0
  30. package/types/_tests_/dev-tools.e2e.d.ts +0 -0
  31. package/types/_tests_/figma-generate.e2e.d.ts +0 -0
  32. package/types/_tests_/figma-publish.e2e.d.ts +0 -0
  33. package/types/_tests_/fusionInit.e2e.d.ts +0 -0
  34. package/types/_tests_/help.e2e.d.ts +0 -0
  35. package/types/_tests_/launch-binary.e2e.d.ts +0 -0
  36. package/types/_tests_/launch.e2e.d.ts +0 -0
  37. package/types/_tests_/repo-indexing.test.d.ts +0 -0
  38. package/types/_tests_/sync-utils.test.d.ts +0 -0
  39. package/types/_tests_/utils.d.ts +0 -0
  40. package/types/_tests_/vitest.config.d.ts +0 -0
  41. package/types/_tests_/workspace.e2e.d.ts +0 -0
  42. package/types/angular/index.d.ts +0 -0
  43. package/types/cli/__tests__/isLikelyFixedString.spec.d.ts +0 -0
  44. package/types/cli/__tests__/parseGitDiffToApplyActions.spec.d.ts +0 -0
  45. package/types/cli/abort-signal-any.d.ts +0 -0
  46. package/types/cli/agent-command.d.ts +0 -0
  47. package/types/cli/auth/auth-utils.d.ts +0 -0
  48. package/types/cli/auth/auth.d.ts +0 -0
  49. package/types/cli/auth/status.d.ts +0 -0
  50. package/types/cli/backup.d.ts +0 -0
  51. package/types/cli/builder-add/interface.d.ts +0 -0
  52. package/types/cli/builder-add/options.d.ts +0 -0
  53. package/types/cli/code-file-utils.d.ts +0 -0
  54. package/types/cli/code-file-utils.unit.d.ts +0 -0
  55. package/types/cli/code-tools.d.ts +0 -0
  56. package/types/cli/code.d.ts +0 -0
  57. package/types/cli/codegen.d.ts +0 -0
  58. package/types/cli/constants.d.ts +0 -0
  59. package/types/cli/credentials.d.ts +0 -0
  60. package/types/cli/detectors/nextjs.d.ts +0 -0
  61. package/types/cli/detectors/svelte.d.ts +0 -0
  62. package/types/cli/detectors/vue.d.ts +0 -0
  63. package/types/cli/doctor/doctor.d.ts +0 -0
  64. package/types/cli/download.d.ts +0 -0
  65. package/types/cli/dsi-mcp.d.ts +0 -0
  66. package/types/cli/exit.d.ts +0 -0
  67. package/types/cli/fetch.d.ts +0 -0
  68. package/types/cli/fetch.test.d.ts +0 -0
  69. package/types/cli/figma-publish.d.ts +0 -0
  70. package/types/cli/figma-publish.spec.d.ts +0 -0
  71. package/types/cli/figma-utils.d.ts +0 -0
  72. package/types/cli/figma.d.ts +0 -0
  73. package/types/cli/generate.d.ts +0 -0
  74. package/types/cli/help.d.ts +0 -0
  75. package/types/cli/incremental-tsc.d.ts +0 -0
  76. package/types/cli/index.d.ts +0 -0
  77. package/types/cli/indexing.d.ts +0 -0
  78. package/types/cli/launch/InitStateMachine.d.ts +0 -0
  79. package/types/cli/launch/config.d.ts +0 -0
  80. package/types/cli/launch/config.test.d.ts +0 -0
  81. package/types/cli/launch/dev-server-orchestrator.d.ts +0 -0
  82. package/types/cli/launch/dry-run-backup.d.ts +0 -0
  83. package/types/cli/launch/errors.d.ts +0 -0
  84. package/types/cli/launch/event-loop-monitor.d.ts +0 -0
  85. package/types/cli/launch/github.d.ts +0 -0
  86. package/types/cli/launch/grafana.d.ts +0 -0
  87. package/types/cli/launch/helpers.d.ts +0 -0
  88. package/types/cli/launch/helpers.test.d.ts +0 -0
  89. package/types/cli/launch/machine-health.d.ts +0 -0
  90. package/types/cli/launch/memory-pressure-monitor.d.ts +0 -0
  91. package/types/cli/launch/proxy.d.ts +0 -0
  92. package/types/cli/launch/proxy.test.d.ts +0 -0
  93. package/types/cli/launch/server.d.ts +0 -0
  94. package/types/cli/launch/vscode-tunnel-manager.d.ts +0 -0
  95. package/types/cli/launch.d.ts +1 -1
  96. package/types/cli/mcp-local.d.ts +0 -0
  97. package/types/cli/mcp-local.test.d.ts +0 -0
  98. package/types/cli/org-agent/branch-tools.d.ts +0 -0
  99. package/types/cli/org-agent/cron-checker.d.ts +0 -0
  100. package/types/cli/org-agent/cron-checker.test.d.ts +0 -0
  101. package/types/cli/org-agent/org-sync-trigger.d.ts +0 -0
  102. package/types/cli/org-agent/sync-org-tree.d.ts +0 -0
  103. package/types/cli/org-agent/tree-builder.d.ts +0 -0
  104. package/types/cli/org-agent/tree-builder.test.d.ts +0 -0
  105. package/types/cli/prettier.d.ts +0 -0
  106. package/types/cli/prettier.integration.test.d.ts +0 -0
  107. package/types/cli/repo-connect/env-collector.d.ts +0 -0
  108. package/types/cli/repo-connect/file-collector.d.ts +0 -0
  109. package/types/cli/repo-connect/git-detector.d.ts +0 -0
  110. package/types/cli/repo-connect/install-runner.d.ts +0 -0
  111. package/types/cli/repo-connect/package-detector.d.ts +0 -0
  112. package/types/cli/repo-connect/repo-connect.d.ts +0 -0
  113. package/types/cli/repo-indexing/component-discovery.d.ts +0 -0
  114. package/types/cli/repo-indexing/component-indexing.d.ts +0 -0
  115. package/types/cli/repo-indexing/icons.d.ts +0 -0
  116. package/types/cli/repo-indexing/installation.d.ts +0 -0
  117. package/types/cli/repo-indexing/repo-indexing-utils.d.ts +0 -0
  118. package/types/cli/repo-indexing/repo-indexing-utils.test.d.ts +0 -0
  119. package/types/cli/repo-indexing/repo-indexing.d.ts +0 -0
  120. package/types/cli/repo-indexing/repo-indexing.mock.d.ts +0 -0
  121. package/types/cli/repo-indexing/tokens.d.ts +0 -0
  122. package/types/cli/repo-indexing/types.d.ts +0 -0
  123. package/types/cli/repo-metrics-utils.d.ts +0 -0
  124. package/types/cli/repo-metrics.d.ts +0 -0
  125. package/types/cli/repo-metrics.test.d.ts +0 -0
  126. package/types/cli/report/figma-report.d.ts +0 -0
  127. package/types/cli/server-ws.d.ts +0 -0
  128. package/types/cli/spinner.d.ts +0 -0
  129. package/types/cli/sync-utils.d.ts +0 -0
  130. package/types/cli/track.d.ts +0 -0
  131. package/types/cli/tsserver-manager.d.ts +0 -0
  132. package/types/cli/utils/agent-discovery.d.ts +0 -0
  133. package/types/cli/utils/agent-discovery.test.d.ts +0 -0
  134. package/types/cli/utils/agent-parser.d.ts +0 -0
  135. package/types/cli/utils/agent-parser.test.d.ts +0 -0
  136. package/types/cli/utils/agents/browser-testing-agent.d.ts +0 -0
  137. package/types/cli/utils/agents/org-agent.d.ts +0 -0
  138. package/types/cli/utils/agents/org-worker.d.ts +0 -0
  139. package/types/cli/utils/agents/project-configuration-agent.d.ts +0 -0
  140. package/types/cli/utils/agents/setup-project-agent.d.ts +0 -0
  141. package/types/cli/utils/browser-testing-agent.d.ts +0 -0
  142. package/types/cli/utils/cdn-upload.d.ts +0 -0
  143. package/types/cli/utils/code-review-agent/code-review-agent.d.ts +0 -0
  144. package/types/cli/utils/code-review-agent/index.d.ts +0 -0
  145. package/types/cli/utils/codegen-utils.d.ts +0 -0
  146. package/types/cli/utils/codegen-utils.test.d.ts +0 -0
  147. package/types/cli/utils/component-group-mdx-prompt.d.ts +0 -0
  148. package/types/cli/utils/dev-server-url-parser.d.ts +0 -0
  149. package/types/cli/utils/dev-server-url-parser.test.d.ts +0 -0
  150. package/types/cli/utils/discovery-test-utils.d.ts +0 -0
  151. package/types/cli/utils/env-capture.d.ts +0 -0
  152. package/types/cli/utils/env-capture.test.d.ts +0 -0
  153. package/types/cli/utils/env-substitution.d.ts +0 -0
  154. package/types/cli/utils/env-substitution.test.d.ts +0 -0
  155. package/types/cli/utils/feature-flags.d.ts +0 -0
  156. package/types/cli/utils/file-overrides-manager.d.ts +0 -0
  157. package/types/cli/utils/file-overrides-manager.test.d.ts +0 -0
  158. package/types/cli/utils/fuzzy-file-match.d.ts +0 -0
  159. package/types/cli/utils/fuzzy-file-match.test.d.ts +0 -0
  160. package/types/cli/utils/gif-generator.d.ts +0 -0
  161. package/types/cli/utils/gif-generator.test.d.ts +0 -0
  162. package/types/cli/utils/git.d.ts +0 -0
  163. package/types/cli/utils/hosts-file-manager.d.ts +0 -0
  164. package/types/cli/utils/hosts-file-manager.test.d.ts +0 -0
  165. package/types/cli/utils/ide-bridge.d.ts +13 -0
  166. package/types/cli/utils/lock-file.d.ts +0 -0
  167. package/types/cli/utils/lock-file.test.d.ts +0 -0
  168. package/types/cli/utils/memory-sync.d.ts +0 -0
  169. package/types/cli/utils/memory-sync.test.d.ts +0 -0
  170. package/types/cli/utils/open.d.ts +0 -0
  171. package/types/cli/utils/parseGitDiff.d.ts +0 -0
  172. package/types/cli/utils/path-normalization.d.ts +0 -0
  173. package/types/cli/utils/port-detection.d.ts +0 -0
  174. package/types/cli/utils/priority.d.ts +0 -0
  175. package/types/cli/utils/process-tracker.d.ts +0 -0
  176. package/types/cli/utils/project-configuration-agent.d.ts +0 -0
  177. package/types/cli/utils/prompt-substitution.d.ts +0 -0
  178. package/types/cli/utils/prompt-substitution.test.d.ts +0 -0
  179. package/types/cli/utils/repo-indexing-agent-prompt.d.ts +0 -0
  180. package/types/cli/utils/repo-indexing-group-prompt.d.ts +0 -0
  181. package/types/cli/utils/rules-discovery.d.ts +0 -0
  182. package/types/cli/utils/rules-discovery.test.d.ts +0 -0
  183. package/types/cli/utils/rules-parser.d.ts +0 -0
  184. package/types/cli/utils/rules-parser.test.d.ts +0 -0
  185. package/types/cli/utils/signals.d.ts +0 -0
  186. package/types/cli/utils/terminal-buffer.d.ts +0 -0
  187. package/types/cli/utils/terminal-buffer.spec.d.ts +0 -0
  188. package/types/cli/utils/timeline-collector.d.ts +0 -0
  189. package/types/cli/utils/workspace-path-resolver.d.ts +0 -0
  190. package/types/cli/utils/workspace-path-resolver.test.d.ts +0 -0
  191. package/types/cli/utils/workspace-path-resolver.unit.d.ts +0 -0
  192. package/types/cli/utils/yaml-frontmatter.d.ts +0 -0
  193. package/types/cli/utils/yaml-frontmatter.test.d.ts +0 -0
  194. package/types/cli/version.d.ts +0 -0
  195. package/types/client/client-api.d.ts +0 -0
  196. package/types/client/edit-button/document-listeners.d.ts +0 -0
  197. package/types/client/edit-button/index.d.ts +0 -0
  198. package/types/client/index.d.ts +0 -0
  199. package/types/client/menu/index.d.ts +0 -0
  200. package/types/client/menu/pages/component-detail.d.ts +0 -0
  201. package/types/client/menu/pages/component-input.d.ts +0 -0
  202. package/types/client/menu/pages/component-list.d.ts +0 -0
  203. package/types/client/menu/pages/home.d.ts +0 -0
  204. package/types/client/menu/pages/settings.d.ts +0 -0
  205. package/types/client/menu/toggle/menu-toggle.d.ts +0 -0
  206. package/types/client/setup-ui/connected.d.ts +0 -0
  207. package/types/client/setup-ui/index.d.ts +0 -0
  208. package/types/client/setup-ui/overview.d.ts +0 -0
  209. package/types/client/tracking.d.ts +0 -0
  210. package/types/client/utils.d.ts +0 -0
  211. package/types/common/ast/app-dependencies.d.ts +0 -0
  212. package/types/common/ast/component-info.d.ts +0 -0
  213. package/types/common/ast/component-input-types.d.ts +0 -0
  214. package/types/common/ast/component-registry.d.ts +0 -0
  215. package/types/common/ast/convert-values.d.ts +0 -0
  216. package/types/common/ast/convert-values.unit.d.ts +0 -0
  217. package/types/common/ast/ensure-array-statement.d.ts +0 -0
  218. package/types/common/ast/ensure-array-statement.unit.d.ts +0 -0
  219. package/types/common/ast/ensure-comments.d.ts +0 -0
  220. package/types/common/ast/ensure-imports.d.ts +0 -0
  221. package/types/common/ast/ensure-imports.unit.d.ts +0 -0
  222. package/types/common/ast/exported-statements.d.ts +0 -0
  223. package/types/common/ast/exported-statements.unit.d.ts +0 -0
  224. package/types/common/ast/imported-statements.d.ts +0 -0
  225. package/types/common/ast/imported-statements.unit.d.ts +0 -0
  226. package/types/common/ast/normalize-statements.d.ts +0 -0
  227. package/types/common/ast/normalize-statements.unit.d.ts +0 -0
  228. package/types/common/ast/remove-unused-imports.d.ts +0 -0
  229. package/types/common/ast/remove-unused-imports.unit.d.ts +0 -0
  230. package/types/common/ast/transform.d.ts +0 -0
  231. package/types/common/ast/utils.d.ts +0 -0
  232. package/types/common/ast/utils.unit.d.ts +0 -0
  233. package/types/common/builder/builder-api.d.ts +0 -0
  234. package/types/common/builder/builder-sdks.d.ts +0 -0
  235. package/types/common/builder/content-generation.d.ts +0 -0
  236. package/types/common/builder/content-ids.d.ts +0 -0
  237. package/types/common/cache.d.ts +0 -0
  238. package/types/common/constants.d.ts +0 -0
  239. package/types/common/dotenv.d.ts +0 -0
  240. package/types/common/dotenv.test.d.ts +0 -0
  241. package/types/common/errors.d.ts +0 -0
  242. package/types/common/estimate-code-tokens.d.ts +0 -0
  243. package/types/common/fs.d.ts +0 -0
  244. package/types/common/interactive-select-files.d.ts +0 -0
  245. package/types/common/logger.d.ts +1 -0
  246. package/types/common/mem-sys.d.ts +0 -0
  247. package/types/common/node-request.d.ts +0 -0
  248. package/types/common/path.d.ts +0 -0
  249. package/types/common/test-utils.d.ts +0 -0
  250. package/types/common/typescript.d.ts +0 -0
  251. package/types/common/utils.d.ts +0 -0
  252. package/types/common/utils.unit.d.ts +0 -0
  253. package/types/core/adapters/angular/angular-api-key.d.ts +0 -0
  254. package/types/core/adapters/angular/angular-api-key.unit.d.ts +0 -0
  255. package/types/core/adapters/angular/angular-app-module-imports.d.ts +0 -0
  256. package/types/core/adapters/angular/angular-app-module-imports.unit.d.ts +0 -0
  257. package/types/core/adapters/angular/angular-app-routes-update.d.ts +0 -0
  258. package/types/core/adapters/angular/angular-app-routes-update.unit.d.ts +0 -0
  259. package/types/core/adapters/angular/angular-components.d.ts +0 -0
  260. package/types/core/adapters/angular/angular-components.unit.d.ts +0 -0
  261. package/types/core/adapters/angular/angular-ensure-builder-setup.d.ts +0 -0
  262. package/types/core/adapters/angular/angular-ensure-config-plugin.d.ts +0 -0
  263. package/types/core/adapters/angular/angular-ensure-config-plugin.unit.d.ts +0 -0
  264. package/types/core/adapters/angular/angular-fix-tsconfig.d.ts +0 -0
  265. package/types/core/adapters/angular/angular-registry-parse.d.ts +0 -0
  266. package/types/core/adapters/angular/angular-registry-parse.unit.d.ts +0 -0
  267. package/types/core/adapters/angular/angular-registry.d.ts +0 -0
  268. package/types/core/adapters/angular/angular-registry.unit.d.ts +0 -0
  269. package/types/core/adapters/angular/angular-test-utils.d.ts +0 -0
  270. package/types/core/adapters/angular/index.d.ts +0 -0
  271. package/types/core/adapters/angular/types.d.ts +0 -0
  272. package/types/core/adapters/next/index.d.ts +0 -0
  273. package/types/core/adapters/next/next-api-key.d.ts +0 -0
  274. package/types/core/adapters/next/next-component-info.d.ts +0 -0
  275. package/types/core/adapters/next/next-component-info.unit.d.ts +0 -0
  276. package/types/core/adapters/next/next-component-inputs.unit.d.ts +0 -0
  277. package/types/core/adapters/next/next-component-source-inputs.unit.d.ts +0 -0
  278. package/types/core/adapters/next/next-components.d.ts +0 -0
  279. package/types/core/adapters/next/next-ensure-builder-setup.d.ts +0 -0
  280. package/types/core/adapters/next/next-ensure-config-plugin.d.ts +0 -0
  281. package/types/core/adapters/next/next-ensure-config-plugin.unit.d.ts +0 -0
  282. package/types/core/adapters/next/next-registry-parse.d.ts +0 -0
  283. package/types/core/adapters/next/next-registry-parse.unit.d.ts +0 -0
  284. package/types/core/adapters/next/next-registry.d.ts +0 -0
  285. package/types/core/adapters/next/next-registry.unit.d.ts +0 -0
  286. package/types/core/adapters/next/next-test-utils.d.ts +0 -0
  287. package/types/core/adapters/qwik-city/index.d.ts +0 -0
  288. package/types/core/adapters/qwik-city/qwik-api-key.d.ts +0 -0
  289. package/types/core/adapters/qwik-city/qwik-component-source-inputs.d.ts +0 -0
  290. package/types/core/adapters/qwik-city/qwik-components.d.ts +0 -0
  291. package/types/core/adapters/qwik-city/qwik-components.unit.d.ts +0 -0
  292. package/types/core/adapters/qwik-city/qwik-ensure-builder-setup.d.ts +0 -0
  293. package/types/core/adapters/qwik-city/qwik-ensure-config-plugin.d.ts +0 -0
  294. package/types/core/adapters/qwik-city/qwik-registry-parse.d.ts +0 -0
  295. package/types/core/adapters/qwik-city/qwik-registry-parse.unit.d.ts +0 -0
  296. package/types/core/adapters/qwik-city/qwik-registry.d.ts +0 -0
  297. package/types/core/adapters/qwik-city/qwik-registry.unit.d.ts +0 -0
  298. package/types/core/adapters/qwik-city/qwik-test-utils.d.ts +0 -0
  299. package/types/core/adapters/qwik-city/qwik-ts-program.d.ts +0 -0
  300. package/types/core/adapters/react/index.d.ts +0 -0
  301. package/types/core/adapters/react/react-api-key.d.ts +0 -0
  302. package/types/core/adapters/react/react-builder-sdk-setup.d.ts +0 -0
  303. package/types/core/adapters/react/react-component-info.d.ts +0 -0
  304. package/types/core/adapters/react/react-components.d.ts +0 -0
  305. package/types/core/adapters/react/react-components.unit.d.ts +0 -0
  306. package/types/core/adapters/react/react-ensure-builder-setup.d.ts +0 -0
  307. package/types/core/adapters/react/react-registry-parse.d.ts +0 -0
  308. package/types/core/adapters/react/react-registry-parse.unit.d.ts +0 -0
  309. package/types/core/adapters/react/react-registry.d.ts +0 -0
  310. package/types/core/adapters/react/react-registry.unit.d.ts +0 -0
  311. package/types/core/adapters/react/react-test-utils.d.ts +0 -0
  312. package/types/core/adapters/react/react-ts-program.d.ts +0 -0
  313. package/types/core/adapters/remix/index.d.ts +0 -0
  314. package/types/core/adapters/remix/remix-api-key.d.ts +0 -0
  315. package/types/core/adapters/remix/remix-components.d.ts +0 -0
  316. package/types/core/adapters/remix/remix-ensure-builder-setup.d.ts +0 -0
  317. package/types/core/adapters/remix/remix-ensure-config-plugin.d.ts +0 -0
  318. package/types/core/adapters/remix/remix-ensure-config-plugin.unit.d.ts +0 -0
  319. package/types/core/adapters/remix/remix-registry-parse.d.ts +0 -0
  320. package/types/core/adapters/remix/remix-registry.d.ts +0 -0
  321. package/types/core/adapters/remix/remix-registry.unit.d.ts +0 -0
  322. package/types/core/adapters/remix/remix-test-utils.d.ts +0 -0
  323. package/types/core/adapters/vite/vite-ensure-config-plugin.d.ts +0 -0
  324. package/types/core/adapters/vite/vite-ensure-config-plugin.unit.d.ts +0 -0
  325. package/types/core/adapters/vue/index.d.ts +0 -0
  326. package/types/core/adapters/vue/vue-api-key.d.ts +0 -0
  327. package/types/core/adapters/vue/vue-components.d.ts +0 -0
  328. package/types/core/adapters/vue/vue-ensure-builder-setup.d.ts +0 -0
  329. package/types/core/adapters/vue/vue-registry-parse.d.ts +0 -0
  330. package/types/core/adapters/vue/vue-registry.d.ts +0 -0
  331. package/types/core/adapters/webpack/webpack-config-helpers.d.ts +0 -0
  332. package/types/core/adapters/webpack/webpack-config-helpers.unit.d.ts +0 -0
  333. package/types/core/adapters/webpack/webpack-ensure-config-plugin.d.ts +0 -0
  334. package/types/core/client-script.d.ts +0 -0
  335. package/types/core/component-map-builder.d.ts +42 -0
  336. package/types/core/create-dev-tools.d.ts +0 -0
  337. package/types/core/detect-frameworks.d.ts +0 -0
  338. package/types/core/ensure-config-plugin.d.ts +0 -0
  339. package/types/core/find-dependencies.d.ts +0 -0
  340. package/types/core/import-export-registry.d.ts +0 -0
  341. package/types/core/index.d.ts +0 -0
  342. package/types/figma/index.d.ts +0 -0
  343. package/types/node/index.d.ts +0 -0
  344. package/types/node/node-sys.d.ts +0 -0
  345. package/types/remix/index.d.ts +0 -0
  346. package/types/server/auth.d.ts +0 -0
  347. package/types/server/builder-connect.d.ts +0 -0
  348. package/types/server/client-script.d.ts +0 -0
  349. package/types/server/create-dev-tools-server.d.ts +0 -0
  350. package/types/server/dev-tools-api.d.ts +0 -0
  351. package/types/server/dev-tools-http-server.d.ts +0 -0
  352. package/types/server/index.d.ts +0 -0
  353. package/types/server/request-handler.d.ts +0 -0
  354. package/types/server/source-map-resolver/cache.d.ts +36 -0
  355. package/types/server/source-map-resolver/indexed-map-resolver.d.ts +10 -0
  356. package/types/server/source-map-resolver/loader.d.ts +16 -0
  357. package/types/server/source-map-resolver/security.d.ts +21 -0
  358. package/types/server/source-map-resolver/types.d.ts +41 -0
  359. package/types/server/source-map-resolver/validation.d.ts +16 -0
  360. package/types/server/source-map-resolver.d.ts +25 -0
  361. package/types/tsconfig.tsbuildinfo +1 -1
  362. package/types/types/codegen-server.d.ts +0 -0
  363. package/types/types/connection-tracker.d.ts +0 -0
  364. package/types/types/proxy-middleware.d.ts +0 -0
  365. package/types/types/websocket-types.d.ts +0 -0
  366. package/types/types.d.ts +0 -0
  367. package/types/vite/main.d.ts +0 -0
  368. package/types/vitest.config.d.ts +0 -0
  369. package/types/webpack/main.d.ts +0 -0
  370. package/vendors/darwin-arm64/complete/rg.bash +0 -0
  371. package/vendors/darwin-arm64/complete/rg.fish +0 -0
  372. package/vendors/darwin-arm64/doc/rg.1 +0 -0
  373. package/vendors/darwin-x64/complete/rg.bash +0 -0
  374. package/vendors/darwin-x64/complete/rg.fish +0 -0
  375. package/vendors/darwin-x64/doc/rg.1 +0 -0
  376. package/vendors/linux-arm64/complete/rg.bash +0 -0
  377. package/vendors/linux-arm64/complete/rg.fish +0 -0
  378. package/vendors/linux-arm64/doc/rg.1 +0 -0
  379. package/vendors/linux-x64/complete/rg.bash +0 -0
  380. package/vendors/linux-x64/complete/rg.fish +0 -0
  381. package/vendors/linux-x64/doc/rg.1 +0 -0
  382. package/vendors/win32-x64/rg.exe +0 -0
  383. package/vite/index.cjs +0 -0
  384. package/vite/index.d.ts +0 -0
  385. package/vite/index.mjs +0 -0
  386. package/webpack/index.cjs +0 -0
  387. package/webpack/index.d.ts +0 -0
  388. package/webpack/index.mjs +0 -0
  389. package/types/_tests_/per-repo-gh-token.test.d.ts +0 -1
  390. package/types/cli/codegen-git-snapshot.test.d.ts +0 -1
  391. package/types/cli/repo-indexing.d.ts +0 -17
  392. package/types/cli/repo-indexing.mock.d.ts +0 -5
  393. package/types/cli/utils/git-snapshot.d.ts +0 -17
  394. package/types/cli/utils/git-snapshot.test.d.ts +0 -1
  395. package/types/cli/utils/repo-indexing-group-prompts.d.ts +0 -1
  396. package/types/scripts/analyze-projects.d.ts +0 -18
  397. package/types/scripts/call-ensure-container.d.ts +0 -4
  398. package/types/scripts/check-backup.d.ts +0 -1
  399. package/types/scripts/cli.d.ts +0 -1
  400. package/types/scripts/download-projects.d.ts +0 -12
  401. package/types/scripts/utils/db.d.ts +0 -3
  402. package/types/scripts/utils/ensure-container.d.ts +0 -7
  403. package/types/scripts/utils/remove-machine-and-volume.d.ts +0 -5
File without changes
File without changes
File without changes
@@ -93,5 +93,6 @@ export interface CreateLoggerOptions {
93
93
  debug?: boolean | (() => boolean);
94
94
  level?: LogLevel;
95
95
  }
96
+ export declare function setDebuggingEnabled(enabled: boolean): void;
96
97
  export declare function createLogger(context?: string, options?: CreateLoggerOptions): Logger;
97
98
  export {};
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
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
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
@@ -0,0 +1,42 @@
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
+ }
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
File without changes
File without changes
File without changes
File without changes
File without changes
@@ -0,0 +1,36 @@
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 {};
@@ -0,0 +1,10 @@
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;
@@ -0,0 +1,16 @@
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>;
@@ -0,0 +1,21 @@
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;
@@ -0,0 +1,41 @@
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
+ }
@@ -0,0 +1,16 @@
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;
@@ -0,0 +1,25 @@
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>>;