@posthog/wizard 2.53.0 → 2.55.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (97) hide show
  1. package/dist/{add-mcp-server-to-clients-DmMHsYYM.js → add-mcp-server-to-clients-D6PkSBh4.js} +4 -4
  2. package/dist/{add-mcp-server-to-clients-DmMHsYYM.js.map → add-mcp-server-to-clients-D6PkSBh4.js.map} +1 -1
  3. package/dist/{agent-interface-xWyATfJi.js → agent-interface-CpFBADlw.js} +15 -10
  4. package/dist/agent-interface-CpFBADlw.js.map +1 -0
  5. package/dist/{agent-prompt-loader-i6miJlmN.js → agent-prompt-loader-puPxllME.js} +5 -5
  6. package/dist/{agent-prompt-loader-i6miJlmN.js.map → agent-prompt-loader-puPxllME.js.map} +1 -1
  7. package/dist/{agent-runner-CPuubcP_.js → agent-runner-CpRxcnos.js} +35 -21
  8. package/dist/agent-runner-CpRxcnos.js.map +1 -0
  9. package/dist/analytics-Cy9wgNoD.js +2 -0
  10. package/dist/{analytics-BC3iiS1p.js → analytics-DnWQLKT5.js} +2 -2
  11. package/dist/{analytics-BC3iiS1p.js.map → analytics-DnWQLKT5.js.map} +1 -1
  12. package/dist/{api-CXk-efCU.js → api-DMNftHUP.js} +3 -3
  13. package/dist/{api-CXk-efCU.js.map → api-DMNftHUP.js.map} +1 -1
  14. package/dist/bin.js +188 -82
  15. package/dist/bin.js.map +1 -1
  16. package/dist/{bounded-fs-B6Eqbgoj.js → bounded-fs-D-VnHUkH.js} +3 -3
  17. package/dist/{bounded-fs-B6Eqbgoj.js.map → bounded-fs-D-VnHUkH.js.map} +1 -1
  18. package/dist/{ci-install-CXD2meJ4.js → ci-install-BuVd4Z5O.js} +4 -4
  19. package/dist/{ci-install-CXD2meJ4.js.map → ci-install-BuVd4Z5O.js.map} +1 -1
  20. package/dist/{debug-Bz-LaIU8.js → debug-BRe2lTl9.js} +1 -1
  21. package/dist/{debug-tCr3A18e.js → debug-Dp9OMl7B.js} +9 -9
  22. package/dist/debug-Dp9OMl7B.js.map +1 -0
  23. package/dist/{environment-JwRHoXao.js → environment-_Htke7Dm.js} +4 -4
  24. package/dist/{environment-JwRHoXao.js.map → environment-_Htke7Dm.js.map} +1 -1
  25. package/dist/{file-watcher-Cm-B3jyb.js → file-watcher-DxwhtY-v.js} +2 -2
  26. package/dist/{file-watcher-Cm-B3jyb.js.map → file-watcher-DxwhtY-v.js.map} +1 -1
  27. package/dist/{headless-ui-o1cpGr1W.js → headless-ui-CUJT6bP6.js} +2 -2
  28. package/dist/{headless-ui-o1cpGr1W.js.map → headless-ui-CUJT6bP6.js.map} +1 -1
  29. package/dist/{interactive-CM2fMt8l.js → interactive-CgjnlcLr.js} +2 -2
  30. package/dist/{interactive-CM2fMt8l.js.map → interactive-CgjnlcLr.js.map} +1 -1
  31. package/dist/{mcp-C4Xn8mq5.js → mcp-BImh1cSl.js} +2 -2
  32. package/dist/{mcp-C4Xn8mq5.js.map → mcp-BImh1cSl.js.map} +1 -1
  33. package/dist/{mcp-prompt-streaming-Dqrcns_Z.js → mcp-prompt-streaming-C0Hd1fW-.js} +3 -3
  34. package/dist/{mcp-prompt-streaming-Dqrcns_Z.js.map → mcp-prompt-streaming-C0Hd1fW-.js.map} +1 -1
  35. package/dist/{non-interactive-DYvEgWZx.js → non-interactive-C6l4BRQ2.js} +2 -2
  36. package/dist/{non-interactive-DYvEgWZx.js.map → non-interactive-C6l4BRQ2.js.map} +1 -1
  37. package/dist/{orchestrator-tools-CAl7aLtB.js → orchestrator-tools-CC5RnJdr.js} +3 -3
  38. package/dist/{orchestrator-tools-CAl7aLtB.js.map → orchestrator-tools-CC5RnJdr.js.map} +1 -1
  39. package/dist/{package-manager-DnU0j41n.js → package-manager-B3wbHpGJ.js} +2 -2
  40. package/dist/{package-manager-DnU0j41n.js.map → package-manager-B3wbHpGJ.js.map} +1 -1
  41. package/dist/{pi-2hh_NXKT.js → pi-D1KNd_2R.js} +214 -12
  42. package/dist/pi-D1KNd_2R.js.map +1 -0
  43. package/dist/{playground-rG007Ve9.js → playground-B_3YPtlb.js} +7 -7
  44. package/dist/{playground-rG007Ve9.js.map → playground-B_3YPtlb.js.map} +1 -1
  45. package/dist/{posthog-integration-Bd-kybes.js → posthog-integration-B22dCMjz.js} +16 -16
  46. package/dist/{posthog-integration-Bd-kybes.js.map → posthog-integration-B22dCMjz.js.map} +1 -1
  47. package/dist/{provisioning-tkKe6aM4.js → provisioning-CUGRpYeK.js} +122 -25
  48. package/dist/provisioning-CUGRpYeK.js.map +1 -0
  49. package/dist/{queue-tools-kBa-8bPH.js → queue-tools-BYnHqauP.js} +3 -3
  50. package/dist/{queue-tools-kBa-8bPH.js.map → queue-tools-BYnHqauP.js.map} +1 -1
  51. package/dist/{registry-Cg_M-kov.js → registry-BoIdcL-x.js} +5 -5
  52. package/dist/{registry-Cg_M-kov.js.map → registry-BoIdcL-x.js.map} +1 -1
  53. package/dist/{security-BtIAMdyk.js → security-BtifxSc6.js} +4 -4
  54. package/dist/{security-BtIAMdyk.js.map → security-BtifxSc6.js.map} +1 -1
  55. package/dist/{setup-utils-t0jzKwBE.js → setup-utils-Cr9u_GAd.js} +19 -9
  56. package/dist/{setup-utils-t0jzKwBE.js.map → setup-utils-Cr9u_GAd.js.map} +1 -1
  57. package/dist/{start-tui-CK3rpaKD.js → start-tui-p1oiV4Y6.js} +55 -42
  58. package/dist/start-tui-p1oiV4Y6.js.map +1 -0
  59. package/dist/{steps-dNXQiyOZ.js → steps-C-QxcbJm.js} +7 -7
  60. package/dist/{steps-dNXQiyOZ.js.map → steps-C-QxcbJm.js.map} +1 -1
  61. package/dist/{store-qv5UdGQO.js → store-DCoiR5X4.js} +5 -5
  62. package/dist/{store-qv5UdGQO.js.map → store-DCoiR5X4.js.map} +1 -1
  63. package/dist/{subagent-DsfcNf0P.js → subagent-DSLaQg5z.js} +2 -2
  64. package/dist/{subagent-DsfcNf0P.js.map → subagent-DSLaQg5z.js.map} +1 -1
  65. package/dist/{task-BZ77d7rm.js → task-DtHtqm3q.js} +20 -12
  66. package/dist/task-DtHtqm3q.js.map +1 -0
  67. package/dist/{task-stream-5k_cd_Wz.js → task-stream-XXeIjdu1.js} +26 -5
  68. package/dist/task-stream-XXeIjdu1.js.map +1 -0
  69. package/dist/{tasks-C9yxUVN7.js → tasks-CDC1rMTC.js} +2 -2
  70. package/dist/{tasks-C9yxUVN7.js.map → tasks-CDC1rMTC.js.map} +1 -1
  71. package/dist/{telemetry-5NqJBWNN.js → telemetry-L3mGi3gj.js} +3 -3
  72. package/dist/{telemetry-5NqJBWNN.js.map → telemetry-L3mGi3gj.js.map} +1 -1
  73. package/dist/{terminal-q-Sd8CdO.js → terminal-D1G7fSuk.js} +12 -12
  74. package/dist/{terminal-q-Sd8CdO.js.map → terminal-D1G7fSuk.js.map} +1 -1
  75. package/dist/{tools-2weX1XHC.js → tools-BvppPl5C.js} +6 -6
  76. package/dist/{tools-2weX1XHC.js.map → tools-BvppPl5C.js.map} +1 -1
  77. package/dist/{wizard-abort-Cl8D3gW8.js → wizard-abort-DFC6tm8V.js} +1 -1
  78. package/dist/{wizard-abort-B1XewmPn.js → wizard-abort-abTHW4U0.js} +4 -4
  79. package/dist/{wizard-abort-B1XewmPn.js.map → wizard-abort-abTHW4U0.js.map} +1 -1
  80. package/dist/{wizard-session-BAZql11N.js → wizard-session-CwgR5y3-.js} +2 -1
  81. package/dist/wizard-session-CwgR5y3-.js.map +1 -0
  82. package/dist/{wizard-session-C5lZPPEc.js → wizard-session-DsK16SGs.js} +1 -1
  83. package/dist/{yara-hooks-Cu0rEw1L.js → yara-hooks-CWl6JOv1.js} +4 -4
  84. package/dist/{yara-hooks-Cu0rEw1L.js.map → yara-hooks-CWl6JOv1.js.map} +1 -1
  85. package/dist/yara-hooks-kLYtFhy7.js +2 -0
  86. package/package.json +2 -1
  87. package/dist/agent-interface-xWyATfJi.js.map +0 -1
  88. package/dist/agent-runner-CPuubcP_.js.map +0 -1
  89. package/dist/analytics-CLuGZo9D.js +0 -2
  90. package/dist/debug-tCr3A18e.js.map +0 -1
  91. package/dist/pi-2hh_NXKT.js.map +0 -1
  92. package/dist/provisioning-tkKe6aM4.js.map +0 -1
  93. package/dist/start-tui-CK3rpaKD.js.map +0 -1
  94. package/dist/task-BZ77d7rm.js.map +0 -1
  95. package/dist/task-stream-5k_cd_Wz.js.map +0 -1
  96. package/dist/wizard-session-BAZql11N.js.map +0 -1
  97. package/dist/yara-hooks-Cj7xUAKE.js +0 -2
@@ -1,21 +1,21 @@
1
- import { $ as REMOTE_SKILLS_BASE_URL, K as POSTHOG_ORG_AI_SETTINGS_URL, L as Integration, R as OAUTH_PORTS, U as POSTHOG_DOCS_URL, Z as POSTHOG_TERMS_URL, d as relativeToInstallDir, g as SIGNUP_WIZARD_READINESS_CONFIG, l as WIZARD_LOG_FILE, p as setUI, q as POSTHOG_PRIVACY_URL, s as logToFile, v as getBlockingServiceKeys, z as OAUTH_TIMEOUT_MS } from "./debug-tCr3A18e.js";
2
- import { n as analytics } from "./analytics-BC3iiS1p.js";
3
- import { o as extractOAuthCode, t as getOrAskForProjectData } from "./setup-utils-t0jzKwBE.js";
4
- import { t as ApiError } from "./api-CXk-efCU.js";
5
- import { t as ADDITIONAL_FEATURE_LABELS } from "./wizard-session-BAZql11N.js";
6
- import { i as wizardAbort } from "./wizard-abort-B1XewmPn.js";
7
- import { a as formatTokenCount, i as formatCostUsd } from "./agent-runner-CPuubcP_.js";
8
- import { x as fetchSkillMenu, y as downloadSkill } from "./agent-interface-xWyATfJi.js";
9
- import { _ as AUDIT_CHECKS_KEY, b as coerceAuditChecks, g as AUDIT_CHECKS_FILE, x as getAuditChecks, y as AUDIT_SEVERITY_STYLE } from "./yara-hooks-Cu0rEw1L.js";
10
- import { t as FRAMEWORK_REGISTRY } from "./registry-Cg_M-kov.js";
11
- import { h as Icons, m as Colors, t as SETUP_REPORT_FILE, x as detectProjectsWithAgent, y as getDetectedWarehouseSources } from "./posthog-integration-Bd-kybes.js";
1
+ import { $ as REMOTE_SKILLS_BASE_URL, K as POSTHOG_ORG_AI_SETTINGS_URL, L as Integration, R as OAUTH_PORTS, U as POSTHOG_DOCS_URL, Z as POSTHOG_TERMS_URL, d as relativeToInstallDir, g as SIGNUP_WIZARD_READINESS_CONFIG, l as WIZARD_LOG_FILE, p as setUI, q as POSTHOG_PRIVACY_URL, s as logToFile, v as getBlockingServiceKeys, z as OAUTH_TIMEOUT_MS } from "./debug-Dp9OMl7B.js";
2
+ import { n as analytics } from "./analytics-DnWQLKT5.js";
3
+ import { o as extractOAuthCode, t as getOrAskForProjectData } from "./setup-utils-Cr9u_GAd.js";
4
+ import { t as ApiError } from "./api-DMNftHUP.js";
5
+ import { t as ADDITIONAL_FEATURE_LABELS } from "./wizard-session-CwgR5y3-.js";
6
+ import { i as wizardAbort } from "./wizard-abort-abTHW4U0.js";
7
+ import { a as formatTokenCount, i as formatCostUsd } from "./agent-runner-CpRxcnos.js";
8
+ import { x as fetchSkillMenu, y as downloadSkill } from "./agent-interface-CpFBADlw.js";
9
+ import { _ as AUDIT_CHECKS_KEY, b as coerceAuditChecks, g as AUDIT_CHECKS_FILE, x as getAuditChecks, y as AUDIT_SEVERITY_STYLE } from "./yara-hooks-CWl6JOv1.js";
10
+ import { t as FRAMEWORK_REGISTRY } from "./registry-BoIdcL-x.js";
11
+ import { S as detectProjectsWithAgent, h as Icons, m as Colors, t as SETUP_REPORT_FILE, y as getDetectedWarehouseSources } from "./posthog-integration-B22dCMjz.js";
12
12
  import { C as STRIPE_SDKS, S as POSTHOG_SDKS, _ as DISPLAY_NAME, a as useStdoutDimensions, b as fetchHealthIssues, f as Program, g as AUTOMATABLE_VARIANTS, h as SELF_DRIVING_INTEGRATE_PATH_KEY, m as detectSelfDrivingIntegrationProjects, n as useKeyBindings, p as getProgramConfig, t as PickerMenu, v as SOURCE_MAPS_CONTEXT_KEYS, x as getContentBlocks } from "./bin.js";
13
- import { r as totalTokenCount, t as WizardStore } from "./store-qv5UdGQO.js";
14
- import { A as LogViewer, C as TipsCard, D as TabContainer, E as HNViewer, I as ProgressList, L as LoadingBox, M as extractUrls, N as ModalOverlay, O as ScreenContainer, P as ConfirmationInput, R as SplitView, S as ServiceHealthList, a as useSkillEntry, b as SEVERITY_LABEL, c as SlackConnectScreen, d as AuditChecksViewer, f as seedDemoEvents, g as probeProjectData, i as SkillSourceInfo, j as LinkText, k as EventPlanViewer, l as AUDIT_AREA_SLIDES, m as McpSuggestedPromptsScreen, n as releaseTerminal, o as OutroScreen, r as AiOptInRequiredScreen, s as useDismissOnAnyKey, t as enterDarkTerminal, u as VisualBox, v as McpScreen, w as LearnCard, x as SEVERITY_ORDER, y as IssueTable } from "./terminal-q-Sd8CdO.js";
13
+ import { r as totalTokenCount, t as WizardStore } from "./store-DCoiR5X4.js";
14
+ import { A as LogViewer, C as TipsCard, D as TabContainer, E as HNViewer, I as ProgressList, L as LoadingBox, M as extractUrls, N as ModalOverlay, O as ScreenContainer, P as ConfirmationInput, R as SplitView, S as ServiceHealthList, a as useSkillEntry, b as SEVERITY_LABEL, c as SlackConnectScreen, d as AuditChecksViewer, f as seedDemoEvents, g as probeProjectData, i as SkillSourceInfo, j as LinkText, k as EventPlanViewer, l as AUDIT_AREA_SLIDES, m as McpSuggestedPromptsScreen, n as releaseTerminal, o as OutroScreen, r as AiOptInRequiredScreen, s as useDismissOnAnyKey, t as enterDarkTerminal, u as VisualBox, v as McpScreen, w as LearnCard, x as SEVERITY_ORDER, y as IssueTable } from "./terminal-D1G7fSuk.js";
15
15
  import { t as ALL_FEATURE_VALUES } from "./defaults-BWLIffh5.js";
16
- import { t as startFileWatcher } from "./file-watcher-Cm-B3jyb.js";
17
- import { a as getSupportedClients, c as removeMCPServer, i as getInstalledClients, o as getSupportedPluginClients, s as installPlugins, u as isPluginCapable } from "./add-mcp-server-to-clients-DmMHsYYM.js";
18
- import { existsSync } from "fs";
16
+ import { t as startFileWatcher } from "./file-watcher-DxwhtY-v.js";
17
+ import { a as getSupportedClients, c as removeMCPServer, i as getInstalledClients, o as getSupportedPluginClients, s as installPlugins, u as isPluginCapable } from "./add-mcp-server-to-clients-D6PkSBh4.js";
18
+ import { existsSync, readFileSync } from "fs";
19
19
  import path, { join } from "path";
20
20
  import { join as join$1 } from "node:path";
21
21
  import { spawn } from "node:child_process";
@@ -1072,7 +1072,7 @@ const FrameworkPicker = ({ store, onComplete }) => {
1072
1072
  })),
1073
1073
  onSelect: (value) => {
1074
1074
  const integration = Array.isArray(value) ? value[0] : value;
1075
- import("./registry-Cg_M-kov.js").then((n) => n.n).then(({ FRAMEWORK_REGISTRY }) => {
1075
+ import("./registry-BoIdcL-x.js").then((n) => n.n).then(({ FRAMEWORK_REGISTRY }) => {
1076
1076
  const config = FRAMEWORK_REGISTRY[integration];
1077
1077
  store.setFrameworkConfig(integration, config);
1078
1078
  store.setDetectedFramework(config.metadata.name);
@@ -1864,15 +1864,14 @@ const SourceMapsIntroScreen = ({ store }) => {
1864
1864
  */
1865
1865
  /**
1866
1866
  * Variant precedence for the agentic picker (most specific first). The detector
1867
- * keeps the EARLIEST matching target. Unsupported native targets are included
1868
- * as guards before Android and iOS so React Native projects with nested Gradle
1869
- * or Xcode manifests are not misclassified as instrumentable native apps. JS
1870
- * ordering mirrors `pickJsVariant` in detect.ts: opinionated frameworks →
1871
- * bundlers → bare React → Node → generic web.
1867
+ * keeps the EARLIEST matching target. React Native and Flutter both outrank
1868
+ * Android and iOS: their repos carry `android/` and `ios/` folders with real
1869
+ * Gradle and Xcode manifests inside them, and must not be misclassified as
1870
+ * plain native apps. JS ordering mirrors `pickJsVariant` in detect.ts:
1871
+ * opinionated frameworks → bundlers → bare React → Node → generic web.
1872
1872
  */
1873
- const NON_AUTOMATABLE_NATIVE_VARIANTS = ["react-native"];
1874
1873
  const VARIANT_PRECEDENCE = [
1875
- ...NON_AUTOMATABLE_NATIVE_VARIANTS,
1874
+ "react-native",
1876
1875
  "flutter",
1877
1876
  "android",
1878
1877
  "ios",
@@ -1890,12 +1889,8 @@ const precedenceRank = (v) => {
1890
1889
  const i = VARIANT_PRECEDENCE.indexOf(v);
1891
1890
  return i === -1 ? Number.MAX_SAFE_INTEGER : i;
1892
1891
  };
1893
- /**
1894
- * Source-map detection targets, ordered by VARIANT_PRECEDENCE. Unsupported
1895
- * native variants remain in the target list so the detector can identify and
1896
- * block them instead of falling through to iOS or a JS target.
1897
- */
1898
- const SOURCE_MAPS_TARGETS = [...NON_AUTOMATABLE_NATIVE_VARIANTS, ...AUTOMATABLE_VARIANTS].sort((a, b) => precedenceRank(a) - precedenceRank(b)).map((v) => ({
1892
+ /** Source-map detection targets, ordered by VARIANT_PRECEDENCE. */
1893
+ const SOURCE_MAPS_TARGETS = [...AUTOMATABLE_VARIANTS].sort((a, b) => precedenceRank(a) - precedenceRank(b)).map((v) => ({
1899
1894
  id: v,
1900
1895
  name: DISPLAY_NAME[v]
1901
1896
  }));
@@ -1903,37 +1898,52 @@ function isAutomatableVariant(value) {
1903
1898
  return value !== null && AUTOMATABLE_VARIANTS.includes(value);
1904
1899
  }
1905
1900
  const FLUTTER_NO_BUILD_TARGET_REASON = "Flutter project has no web, android or ios target — nothing to upload symbols for";
1901
+ const BARE_REACT_NATIVE_REASON = "Bare React Native (without Expo) is not supported — source-map upload needs the Expo build pipeline";
1906
1902
  /**
1907
1903
  * True when the Flutter project at `projectPath` has at least one platform
1908
- * target the wizard can wire uploads into: web (dart2js source maps), android
1909
- * (R8 mapping files) or ios (dSYMs). `flutter create` scaffolds a directory per
1910
- * enabled platform, so their absence means this is a pure Dart package or
1911
- * plugin — it produces no app build, and there is nothing to upload.
1904
+ * target. `flutter create` scaffolds a directory per enabled platform, so their
1905
+ * absence means this is a pure Dart package or plugin — it produces no app
1906
+ * build, and there is nothing to upload.
1912
1907
  */
1913
1908
  function projectHasBuildTarget(installDir, projectPath) {
1914
1909
  const root = join(installDir, projectPath);
1915
1910
  return existsSync(join(root, "web", "index.html")) || existsSync(join(root, "android")) || existsSync(join(root, "ios"));
1916
1911
  }
1912
+ /** True when the project at `projectPath` has the `expo` package installed. */
1913
+ function projectHasExpo(installDir, projectPath) {
1914
+ try {
1915
+ const pkg = JSON.parse(readFileSync(join(installDir, projectPath, "package.json"), "utf-8"));
1916
+ return pkg.dependencies?.["expo"] != null || pkg.devDependencies?.["expo"] != null;
1917
+ } catch {
1918
+ return false;
1919
+ }
1920
+ }
1917
1921
  /** Classify one agent-detected project for source-map upload. */
1918
- function classifyProject(p, hasBuildTarget) {
1922
+ function classifyProject(p, probes) {
1919
1923
  const base = {
1920
1924
  path: p.path,
1921
1925
  framework: p.framework,
1922
1926
  hasPostHog: p.hasPostHog
1923
1927
  };
1924
- const namesForeignNativePlatform = /\b(?:react[\s-]*native|expo)\b/i.test(p.framework) || /\bflutter\b/i.test(p.framework) && p.targetId !== "flutter";
1928
+ const namesForeignNativePlatform = /\b(?:react[\s-]*native|expo)\b/i.test(p.framework) && p.targetId !== "react-native" || /\bflutter\b/i.test(p.framework) && p.targetId !== "flutter";
1925
1929
  if (!isAutomatableVariant(p.targetId) || namesForeignNativePlatform) return {
1926
1930
  ...base,
1927
1931
  variant: null,
1928
1932
  instrumentable: false,
1929
1933
  reason: "Source-map upload isn't supported for this stack yet"
1930
1934
  };
1931
- if (p.targetId === "flutter" && !hasBuildTarget(p.path)) return {
1935
+ if (p.targetId === "flutter" && !probes.hasBuildTarget(p.path)) return {
1932
1936
  ...base,
1933
1937
  variant: null,
1934
1938
  instrumentable: false,
1935
1939
  reason: FLUTTER_NO_BUILD_TARGET_REASON
1936
1940
  };
1941
+ if (p.targetId === "react-native" && !probes.isExpoProject(p.path)) return {
1942
+ ...base,
1943
+ variant: null,
1944
+ instrumentable: false,
1945
+ reason: BARE_REACT_NATIVE_REASON
1946
+ };
1937
1947
  if (!p.hasPostHog) return {
1938
1948
  ...base,
1939
1949
  variant: p.targetId,
@@ -1947,10 +1957,10 @@ function classifyProject(p, hasBuildTarget) {
1947
1957
  };
1948
1958
  }
1949
1959
  /** Map a generic detection report into source-maps projects. */
1950
- function toSourceMapsReport(report, hasBuildTarget) {
1960
+ function toSourceMapsReport(report, probes) {
1951
1961
  return {
1952
1962
  repoType: report.repoType,
1953
- projects: report.projects.map((p) => classifyProject(p, hasBuildTarget))
1963
+ projects: report.projects.map((p) => classifyProject(p, probes))
1954
1964
  };
1955
1965
  }
1956
1966
  /** Run the Haiku detector over the repo and classify projects for source maps. */
@@ -1959,7 +1969,10 @@ async function detectSourceMapsProjects(session, onEvent) {
1959
1969
  targets: SOURCE_MAPS_TARGETS,
1960
1970
  purpose: "set up PostHog Error Tracking source-map upload",
1961
1971
  onEvent
1962
- }), (path) => projectHasBuildTarget(session.installDir, path));
1972
+ }), {
1973
+ hasBuildTarget: (path) => projectHasBuildTarget(session.installDir, path),
1974
+ isExpoProject: (path) => projectHasExpo(session.installDir, path)
1975
+ });
1963
1976
  }
1964
1977
  //#endregion
1965
1978
  //#region src/ui/tui/screens/SourceMapsDetectScreen.tsx
@@ -5294,7 +5307,7 @@ function createMcpSuggestedPromptsServices(store) {
5294
5307
  };
5295
5308
  }
5296
5309
  async function* runProductionPromptStreaming(args) {
5297
- const { runMcpPromptViaSdk } = await import("./mcp-prompt-streaming-Dqrcns_Z.js");
5310
+ const { runMcpPromptViaSdk } = await import("./mcp-prompt-streaming-C0Hd1fW-.js");
5298
5311
  yield* runMcpPromptViaSdk(args);
5299
5312
  }
5300
5313
  //#endregion
@@ -5471,4 +5484,4 @@ function startTUI(version, program = Program.PostHogIntegration) {
5471
5484
  //#endregion
5472
5485
  export { startTUI };
5473
5486
 
5474
- //# sourceMappingURL=start-tui-CK3rpaKD.js.map
5487
+ //# sourceMappingURL=start-tui-p1oiV4Y6.js.map