@posthog/wizard 2.54.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.
- package/dist/{add-mcp-server-to-clients-B3TcwTT5.js → add-mcp-server-to-clients-D6PkSBh4.js} +4 -4
- package/dist/{add-mcp-server-to-clients-B3TcwTT5.js.map → add-mcp-server-to-clients-D6PkSBh4.js.map} +1 -1
- package/dist/{agent-interface-CLvG6Rk9.js → agent-interface-CpFBADlw.js} +6 -6
- package/dist/{agent-interface-CLvG6Rk9.js.map → agent-interface-CpFBADlw.js.map} +1 -1
- package/dist/{agent-prompt-loader-Baqm1JMD.js → agent-prompt-loader-puPxllME.js} +5 -5
- package/dist/{agent-prompt-loader-Baqm1JMD.js.map → agent-prompt-loader-puPxllME.js.map} +1 -1
- package/dist/{agent-runner-D6zGTJqn.js → agent-runner-CpRxcnos.js} +13 -13
- package/dist/{agent-runner-D6zGTJqn.js.map → agent-runner-CpRxcnos.js.map} +1 -1
- package/dist/analytics-Cy9wgNoD.js +2 -0
- package/dist/{analytics-D7hsukY7.js → analytics-DnWQLKT5.js} +2 -2
- package/dist/{analytics-D7hsukY7.js.map → analytics-DnWQLKT5.js.map} +1 -1
- package/dist/{api-BSq9hLu5.js → api-DMNftHUP.js} +3 -3
- package/dist/{api-BSq9hLu5.js.map → api-DMNftHUP.js.map} +1 -1
- package/dist/bin.js +175 -71
- package/dist/bin.js.map +1 -1
- package/dist/{bounded-fs-Cq960M-V.js → bounded-fs-D-VnHUkH.js} +3 -3
- package/dist/{bounded-fs-Cq960M-V.js.map → bounded-fs-D-VnHUkH.js.map} +1 -1
- package/dist/{ci-install-w-mywB9x.js → ci-install-BuVd4Z5O.js} +4 -4
- package/dist/{ci-install-w-mywB9x.js.map → ci-install-BuVd4Z5O.js.map} +1 -1
- package/dist/{debug-CX6ZqL9r.js → debug-BRe2lTl9.js} +1 -1
- package/dist/{debug-CbgLkSCY.js → debug-Dp9OMl7B.js} +3 -3
- package/dist/{debug-CbgLkSCY.js.map → debug-Dp9OMl7B.js.map} +1 -1
- package/dist/{environment-BWuaOExh.js → environment-_Htke7Dm.js} +4 -4
- package/dist/{environment-BWuaOExh.js.map → environment-_Htke7Dm.js.map} +1 -1
- package/dist/{file-watcher-D9tgVBkp.js → file-watcher-DxwhtY-v.js} +2 -2
- package/dist/{file-watcher-D9tgVBkp.js.map → file-watcher-DxwhtY-v.js.map} +1 -1
- package/dist/{headless-ui-rH97E35y.js → headless-ui-CUJT6bP6.js} +2 -2
- package/dist/{headless-ui-rH97E35y.js.map → headless-ui-CUJT6bP6.js.map} +1 -1
- package/dist/{interactive-D-MVMdBl.js → interactive-CgjnlcLr.js} +2 -2
- package/dist/{interactive-D-MVMdBl.js.map → interactive-CgjnlcLr.js.map} +1 -1
- package/dist/{mcp-jKHwa45f.js → mcp-BImh1cSl.js} +2 -2
- package/dist/{mcp-jKHwa45f.js.map → mcp-BImh1cSl.js.map} +1 -1
- package/dist/{mcp-prompt-streaming-DxDftNHb.js → mcp-prompt-streaming-C0Hd1fW-.js} +3 -3
- package/dist/{mcp-prompt-streaming-DxDftNHb.js.map → mcp-prompt-streaming-C0Hd1fW-.js.map} +1 -1
- package/dist/{non-interactive-eXT2_WCR.js → non-interactive-C6l4BRQ2.js} +2 -2
- package/dist/{non-interactive-eXT2_WCR.js.map → non-interactive-C6l4BRQ2.js.map} +1 -1
- package/dist/{orchestrator-tools-CsXrPhsd.js → orchestrator-tools-CC5RnJdr.js} +3 -3
- package/dist/{orchestrator-tools-CsXrPhsd.js.map → orchestrator-tools-CC5RnJdr.js.map} +1 -1
- package/dist/{package-manager-CASp14jY.js → package-manager-B3wbHpGJ.js} +2 -2
- package/dist/{package-manager-CASp14jY.js.map → package-manager-B3wbHpGJ.js.map} +1 -1
- package/dist/{pi-CfdqOKDI.js → pi-D1KNd_2R.js} +11 -11
- package/dist/{pi-CfdqOKDI.js.map → pi-D1KNd_2R.js.map} +1 -1
- package/dist/{playground-DuBvnGkP.js → playground-B_3YPtlb.js} +6 -6
- package/dist/{playground-DuBvnGkP.js.map → playground-B_3YPtlb.js.map} +1 -1
- package/dist/{posthog-integration-Dy5cNPaa.js → posthog-integration-B22dCMjz.js} +15 -15
- package/dist/{posthog-integration-Dy5cNPaa.js.map → posthog-integration-B22dCMjz.js.map} +1 -1
- package/dist/{provisioning-CS6fQriR.js → provisioning-CUGRpYeK.js} +122 -25
- package/dist/provisioning-CUGRpYeK.js.map +1 -0
- package/dist/{queue-tools-ai7gCWyU.js → queue-tools-BYnHqauP.js} +3 -3
- package/dist/{queue-tools-ai7gCWyU.js.map → queue-tools-BYnHqauP.js.map} +1 -1
- package/dist/{registry-D0hx_-KP.js → registry-BoIdcL-x.js} +5 -5
- package/dist/{registry-D0hx_-KP.js.map → registry-BoIdcL-x.js.map} +1 -1
- package/dist/{security-BNqgFjYh.js → security-BtifxSc6.js} +4 -4
- package/dist/{security-BNqgFjYh.js.map → security-BtifxSc6.js.map} +1 -1
- package/dist/{setup-utils-6qyTDNyd.js → setup-utils-Cr9u_GAd.js} +19 -9
- package/dist/{setup-utils-6qyTDNyd.js.map → setup-utils-Cr9u_GAd.js.map} +1 -1
- package/dist/{start-tui-DNkm-n-4.js → start-tui-p1oiV4Y6.js} +54 -41
- package/dist/start-tui-p1oiV4Y6.js.map +1 -0
- package/dist/{steps-CqHAVc8R.js → steps-C-QxcbJm.js} +7 -7
- package/dist/{steps-CqHAVc8R.js.map → steps-C-QxcbJm.js.map} +1 -1
- package/dist/{store-sIaF89XA.js → store-DCoiR5X4.js} +4 -4
- package/dist/{store-sIaF89XA.js.map → store-DCoiR5X4.js.map} +1 -1
- package/dist/{subagent-CKNbRtfQ.js → subagent-DSLaQg5z.js} +2 -2
- package/dist/{subagent-CKNbRtfQ.js.map → subagent-DSLaQg5z.js.map} +1 -1
- package/dist/{task-DwzRxORh.js → task-DtHtqm3q.js} +12 -12
- package/dist/{task-DwzRxORh.js.map → task-DtHtqm3q.js.map} +1 -1
- package/dist/{task-stream-BdJV-usk.js → task-stream-XXeIjdu1.js} +3 -3
- package/dist/{task-stream-BdJV-usk.js.map → task-stream-XXeIjdu1.js.map} +1 -1
- package/dist/{tasks-yqJVuTvc.js → tasks-CDC1rMTC.js} +2 -2
- package/dist/{tasks-yqJVuTvc.js.map → tasks-CDC1rMTC.js.map} +1 -1
- package/dist/{telemetry-UBL5MQtw.js → telemetry-L3mGi3gj.js} +3 -3
- package/dist/{telemetry-UBL5MQtw.js.map → telemetry-L3mGi3gj.js.map} +1 -1
- package/dist/{terminal-vo5Zl7j1.js → terminal-D1G7fSuk.js} +11 -11
- package/dist/{terminal-vo5Zl7j1.js.map → terminal-D1G7fSuk.js.map} +1 -1
- package/dist/{tools-Br8lP29r.js → tools-BvppPl5C.js} +6 -6
- package/dist/{tools-Br8lP29r.js.map → tools-BvppPl5C.js.map} +1 -1
- package/dist/{wizard-abort-BRsd7-aB.js → wizard-abort-DFC6tm8V.js} +1 -1
- package/dist/{wizard-abort-FIC6lKCs.js → wizard-abort-abTHW4U0.js} +3 -3
- package/dist/{wizard-abort-FIC6lKCs.js.map → wizard-abort-abTHW4U0.js.map} +1 -1
- package/dist/{yara-hooks-DxpCD72V.js → yara-hooks-CWl6JOv1.js} +4 -4
- package/dist/{yara-hooks-DxpCD72V.js.map → yara-hooks-CWl6JOv1.js.map} +1 -1
- package/dist/yara-hooks-kLYtFhy7.js +2 -0
- package/package.json +1 -1
- package/dist/analytics-BBJE4hIu.js +0 -2
- package/dist/provisioning-CS6fQriR.js.map +0 -1
- package/dist/start-tui-DNkm-n-4.js.map +0 -1
- package/dist/yara-hooks--QA2Cwjv.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-
|
|
2
|
-
import { n as analytics } from "./analytics-
|
|
3
|
-
import { o as extractOAuthCode, t as getOrAskForProjectData } from "./setup-utils-
|
|
4
|
-
import { t as ApiError } from "./api-
|
|
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
5
|
import { t as ADDITIONAL_FEATURE_LABELS } from "./wizard-session-CwgR5y3-.js";
|
|
6
|
-
import { i as wizardAbort } from "./wizard-abort-
|
|
7
|
-
import { a as formatTokenCount, i as formatCostUsd } from "./agent-runner-
|
|
8
|
-
import { x as fetchSkillMenu, y as downloadSkill } from "./agent-interface-
|
|
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-
|
|
10
|
-
import { t as FRAMEWORK_REGISTRY } from "./registry-
|
|
11
|
-
import { h as Icons, m as Colors, t as SETUP_REPORT_FILE,
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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.
|
|
1868
|
-
*
|
|
1869
|
-
*
|
|
1870
|
-
* ordering mirrors `pickJsVariant` in detect.ts:
|
|
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
|
-
|
|
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
|
-
|
|
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
|
|
1909
|
-
*
|
|
1910
|
-
*
|
|
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,
|
|
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,
|
|
1960
|
+
function toSourceMapsReport(report, probes) {
|
|
1951
1961
|
return {
|
|
1952
1962
|
repoType: report.repoType,
|
|
1953
|
-
projects: report.projects.map((p) => classifyProject(p,
|
|
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
|
-
}),
|
|
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-
|
|
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-
|
|
5487
|
+
//# sourceMappingURL=start-tui-p1oiV4Y6.js.map
|