@posthog/wizard 2.71.0 → 2.73.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 (105) hide show
  1. package/README.md +10 -2
  2. package/dist/{add-mcp-server-to-clients-B6-ZL--P.js → add-mcp-server-to-clients-B8t2xAPf.js} +4 -4
  3. package/dist/{add-mcp-server-to-clients-B6-ZL--P.js.map → add-mcp-server-to-clients-B8t2xAPf.js.map} +1 -1
  4. package/dist/{agent-interface-DFm4jB4d.js → agent-interface-tcCEmyPQ.js} +467 -382
  5. package/dist/agent-interface-tcCEmyPQ.js.map +1 -0
  6. package/dist/{agent-prompt-loader-Bi3IzSBW.js → agent-prompt-loader-V2smIztP.js} +5 -5
  7. package/dist/{agent-prompt-loader-Bi3IzSBW.js.map → agent-prompt-loader-V2smIztP.js.map} +1 -1
  8. package/dist/{agent-runner-Cp6iLqDk.js → agent-runner-DUyO1Ehj.js} +3178 -18
  9. package/dist/agent-runner-DUyO1Ehj.js.map +1 -0
  10. package/dist/analytics-DEL7clQK.js +2 -0
  11. package/dist/{analytics-D54mLptm.js → analytics-DsMH06jo.js} +3 -3
  12. package/dist/{analytics-D54mLptm.js.map → analytics-DsMH06jo.js.map} +1 -1
  13. package/dist/{api-BNBVOguz.js → api-R6bXIwII.js} +3 -3
  14. package/dist/{api-BNBVOguz.js.map → api-R6bXIwII.js.map} +1 -1
  15. package/dist/bin.js +56 -52
  16. package/dist/bin.js.map +1 -1
  17. package/dist/{bounded-fs-DHIaH3Sc.js → bounded-fs-BV-KhOtU.js} +3 -3
  18. package/dist/{bounded-fs-DHIaH3Sc.js.map → bounded-fs-BV-KhOtU.js.map} +1 -1
  19. package/dist/{ci-install-Can8LRdJ.js → ci-install-mR8CeIt2.js} +4 -4
  20. package/dist/{ci-install-Can8LRdJ.js.map → ci-install-mR8CeIt2.js.map} +1 -1
  21. package/dist/{debug-C4RPcEIX.js → debug-PfLVvLhT.js} +1 -1
  22. package/dist/{debug-YQdeZulR.js → debug-aXxgvtal.js} +50 -16
  23. package/dist/debug-aXxgvtal.js.map +1 -0
  24. package/dist/{env-api-key-9yogO8OI.js → env-api-key-_lBt9tHl.js} +2 -2
  25. package/dist/{env-api-key-9yogO8OI.js.map → env-api-key-_lBt9tHl.js.map} +1 -1
  26. package/dist/{environment-6ZuAWRpQ.js → environment-DRhZbhxU.js} +4 -4
  27. package/dist/{environment-6ZuAWRpQ.js.map → environment-DRhZbhxU.js.map} +1 -1
  28. package/dist/{file-watcher-CeWdvMVT.js → file-watcher-BZw1_Y84.js} +2 -2
  29. package/dist/{file-watcher-CeWdvMVT.js.map → file-watcher-BZw1_Y84.js.map} +1 -1
  30. package/dist/{headless-ui-BxSVgNoT.js → headless-ui-Cdqfufhk.js} +2 -2
  31. package/dist/{headless-ui-BxSVgNoT.js.map → headless-ui-Cdqfufhk.js.map} +1 -1
  32. package/dist/{interactive-CRR9zPl4.js → interactive-BCI9b-dp.js} +2 -2
  33. package/dist/{interactive-CRR9zPl4.js.map → interactive-BCI9b-dp.js.map} +1 -1
  34. package/dist/{mcp-D_rRzruj.js → mcp-CzB3lWsm.js} +2 -2
  35. package/dist/{mcp-D_rRzruj.js.map → mcp-CzB3lWsm.js.map} +1 -1
  36. package/dist/{mcp-prompt-streaming-DRAK8CMP.js → mcp-prompt-streaming-RZGAH4YO.js} +4 -4
  37. package/dist/{mcp-prompt-streaming-DRAK8CMP.js.map → mcp-prompt-streaming-RZGAH4YO.js.map} +1 -1
  38. package/dist/{non-interactive-1EJRlN6u.js → non-interactive-CgjTZZ9J.js} +2 -2
  39. package/dist/{non-interactive-1EJRlN6u.js.map → non-interactive-CgjTZZ9J.js.map} +1 -1
  40. package/dist/{orchestrator-tools-DjZWqWmd.js → orchestrator-tools-OWgPinUt.js} +21 -13
  41. package/dist/orchestrator-tools-OWgPinUt.js.map +1 -0
  42. package/dist/{package-manager-DMbzbdkL.js → package-manager-B-Z3IVYu.js} +2 -2
  43. package/dist/{package-manager-DMbzbdkL.js.map → package-manager-B-Z3IVYu.js.map} +1 -1
  44. package/dist/{pi-D4JQMC-7.js → pi-CLLkGrND.js} +11 -11
  45. package/dist/{pi-D4JQMC-7.js.map → pi-CLLkGrND.js.map} +1 -1
  46. package/dist/{playground-Y1nSGXpn.js → playground-D1TgX0EU.js} +9 -9
  47. package/dist/playground-D1TgX0EU.js.map +1 -0
  48. package/dist/{posthog-D9VwcWvJ.js → posthog-CMef8KLR.js} +2 -2
  49. package/dist/{posthog-D9VwcWvJ.js.map → posthog-CMef8KLR.js.map} +1 -1
  50. package/dist/posthog-integration-wiunwp8X.js +1475 -0
  51. package/dist/posthog-integration-wiunwp8X.js.map +1 -0
  52. package/dist/{provisioning-f7lA29tW.js → provisioning-94OneD64.js} +3 -3
  53. package/dist/{provisioning-f7lA29tW.js.map → provisioning-94OneD64.js.map} +1 -1
  54. package/dist/{queue-tools-DGaHf3n-.js → queue-tools--k2v8QYY.js} +108 -44
  55. package/dist/queue-tools--k2v8QYY.js.map +1 -0
  56. package/dist/{registry-D1By1SgH.js → registry-C60oJv02.js} +5 -5
  57. package/dist/{registry-D1By1SgH.js.map → registry-C60oJv02.js.map} +1 -1
  58. package/dist/{security-C2c3_Ycy.js → security-DnOP36w-.js} +5 -5
  59. package/dist/{security-C2c3_Ycy.js.map → security-DnOP36w-.js.map} +1 -1
  60. package/dist/{setup-utils-BRrCeajl.js → setup-utils-BwX6QmL_.js} +9 -9
  61. package/dist/{setup-utils-BRrCeajl.js.map → setup-utils-BwX6QmL_.js.map} +1 -1
  62. package/dist/{start-tui-r4Spgptv.js → start-tui-C3PdKFtP.js} +53 -32
  63. package/dist/start-tui-C3PdKFtP.js.map +1 -0
  64. package/dist/{steps-BZd65XfI.js → steps-BpCRk8Ef.js} +7 -7
  65. package/dist/{steps-BZd65XfI.js.map → steps-BpCRk8Ef.js.map} +1 -1
  66. package/dist/{store-DGVXu7xt.js → store-EzqWyb60.js} +7 -8
  67. package/dist/store-EzqWyb60.js.map +1 -0
  68. package/dist/{subagent-BaMxO7OT.js → subagent-DwdrVprk.js} +2 -2
  69. package/dist/{subagent-BaMxO7OT.js.map → subagent-DwdrVprk.js.map} +1 -1
  70. package/dist/{task-DpKoEZ5I.js → task-CrXgNEUB.js} +12 -12
  71. package/dist/{task-DpKoEZ5I.js.map → task-CrXgNEUB.js.map} +1 -1
  72. package/dist/{task-stream-CdrBraqP.js → task-stream-ZBbfHo7l.js} +5 -5
  73. package/dist/{task-stream-CdrBraqP.js.map → task-stream-ZBbfHo7l.js.map} +1 -1
  74. package/dist/{tasks-KsP66Cis.js → tasks-CbMEKWZ9.js} +2 -2
  75. package/dist/{tasks-KsP66Cis.js.map → tasks-CbMEKWZ9.js.map} +1 -1
  76. package/dist/{telemetry-DedDTtSa.js → telemetry-B2dz2-PT.js} +3 -3
  77. package/dist/{telemetry-DedDTtSa.js.map → telemetry-B2dz2-PT.js.map} +1 -1
  78. package/dist/{terminal-BH8yLclG.js → terminal-DTe59M4j.js} +12 -12
  79. package/dist/{terminal-BH8yLclG.js.map → terminal-DTe59M4j.js.map} +1 -1
  80. package/dist/{tools-CJw5vnZd.js → tools-DZ9lZgJI.js} +6 -6
  81. package/dist/{tools-CJw5vnZd.js.map → tools-DZ9lZgJI.js.map} +1 -1
  82. package/dist/{wizard-abort-D54j2gmb.js → wizard-abort-CUT8MXXt.js} +4 -4
  83. package/dist/{wizard-abort-D54j2gmb.js.map → wizard-abort-CUT8MXXt.js.map} +1 -1
  84. package/dist/{wizard-abort-Q1NiYELE.js → wizard-abort-CfKnrSlX.js} +1 -1
  85. package/dist/{wizard-session-Dwc1Rh_7.js → wizard-session-BWAQoi9q.js} +1 -1
  86. package/dist/{wizard-session-CwQPZN4y.js → wizard-session-GdDN_aMS.js} +2 -1
  87. package/dist/wizard-session-GdDN_aMS.js.map +1 -0
  88. package/dist/yara-hooks-CLeMu2EY.js +2 -0
  89. package/dist/{yara-hooks-CL2LVEgO.js → yara-hooks-VvwkZn5s.js} +7 -6
  90. package/dist/yara-hooks-VvwkZn5s.js.map +1 -0
  91. package/package.json +2 -1
  92. package/dist/agent-interface-DFm4jB4d.js.map +0 -1
  93. package/dist/agent-runner-Cp6iLqDk.js.map +0 -1
  94. package/dist/analytics-Ge1LsCNg.js +0 -2
  95. package/dist/debug-YQdeZulR.js.map +0 -1
  96. package/dist/orchestrator-tools-DjZWqWmd.js.map +0 -1
  97. package/dist/playground-Y1nSGXpn.js.map +0 -1
  98. package/dist/posthog-integration-B8f4xRBd.js +0 -4618
  99. package/dist/posthog-integration-B8f4xRBd.js.map +0 -1
  100. package/dist/queue-tools-DGaHf3n-.js.map +0 -1
  101. package/dist/start-tui-r4Spgptv.js.map +0 -1
  102. package/dist/store-DGVXu7xt.js.map +0 -1
  103. package/dist/wizard-session-CwQPZN4y.js.map +0 -1
  104. package/dist/yara-hooks-BI6WY0Sl.js +0 -2
  105. package/dist/yara-hooks-CL2LVEgO.js.map +0 -1
@@ -1,24 +1,24 @@
1
1
  import { l as ErrorCodes } from "./errors-u8z27V-x.js";
2
- 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-YQdeZulR.js";
3
- import { t as ADDITIONAL_FEATURE_LABELS } from "./wizard-session-CwQPZN4y.js";
4
- import { n as analytics } from "./analytics-D54mLptm.js";
5
- import { n as openTrackedLink } from "./telemetry-DedDTtSa.js";
6
- import { i as readProjectFile, t as IGNORED_DIRS } from "./bounded-fs-DHIaH3Sc.js";
7
- import { o as extractOAuthCode, t as getOrAskForProjectData } from "./setup-utils-BRrCeajl.js";
8
- import { c as getIntegrationAuthorizeUrl } from "./provisioning-f7lA29tW.js";
9
- import { r as fetchGithubConnected, t as ApiError } from "./api-BNBVOguz.js";
10
- import { i as wizardAbort } from "./wizard-abort-D54j2gmb.js";
11
- import { A as fetchSkillMenu, k as downloadSkill } from "./agent-interface-DFm4jB4d.js";
12
- import { a as formatCostUsd, o as formatTokenCount } from "./agent-runner-Cp6iLqDk.js";
13
- import { _ as AUDIT_CHECKS_KEY, b as coerceAuditChecks, g as AUDIT_CHECKS_FILE, x as getAuditChecks, y as AUDIT_SEVERITY_STYLE } from "./yara-hooks-CL2LVEgO.js";
14
- import { t as FRAMEWORK_REGISTRY } from "./registry-D1By1SgH.js";
15
- import { T as detectProjectsWithAgent, h as Icons, m as Colors, t as SETUP_REPORT_FILE, x as getDetectedWarehouseSources } from "./posthog-integration-B8f4xRBd.js";
2
+ import { $ as POSTHOG_TERMS_URL, B as OAUTH_PORTS, G as POSTHOG_DOCS_URL, J as POSTHOG_ORG_AI_SETTINGS_URL, V as OAUTH_TIMEOUT_MS, Y as POSTHOG_PRIVACY_URL, d as relativeToInstallDir, g as SIGNUP_WIZARD_READINESS_CONFIG, j as GITHUB_SKILLS_BASE_URL, l as WIZARD_LOG_FILE, p as setUI, s as logToFile, v as getBlockingServiceKeys, z as Integration } from "./debug-aXxgvtal.js";
3
+ import { t as ADDITIONAL_FEATURE_LABELS } from "./wizard-session-GdDN_aMS.js";
4
+ import { n as analytics } from "./analytics-DsMH06jo.js";
5
+ import { n as openTrackedLink } from "./telemetry-B2dz2-PT.js";
6
+ import { i as readProjectFile, t as IGNORED_DIRS } from "./bounded-fs-BV-KhOtU.js";
7
+ import { o as extractOAuthCode, t as getOrAskForProjectData } from "./setup-utils-BwX6QmL_.js";
8
+ import { c as getIntegrationAuthorizeUrl, i as requestDeepLink } from "./provisioning-94OneD64.js";
9
+ import { r as fetchGithubConnected, t as ApiError } from "./api-R6bXIwII.js";
10
+ import { i as wizardAbort } from "./wizard-abort-CUT8MXXt.js";
11
+ import { M as downloadSkill, N as fetchSkillMenu } from "./agent-interface-tcCEmyPQ.js";
12
+ import { a as formatCostUsd, f as getDetectedWarehouseSources, m as detectProjectsWithAgent, o as formatTokenCount } from "./agent-runner-DUyO1Ehj.js";
13
+ import { t as FRAMEWORK_REGISTRY } from "./registry-C60oJv02.js";
14
+ import { _ as AUDIT_CHECKS_KEY, b as coerceAuditChecks, g as AUDIT_CHECKS_FILE, x as getAuditChecks, y as AUDIT_SEVERITY_STYLE } from "./yara-hooks-VvwkZn5s.js";
15
+ import { h as Icons, m as Colors, t as SETUP_REPORT_FILE } from "./posthog-integration-wiunwp8X.js";
16
16
  import { A as getContentBlocks, D as SOURCE_MAPS_CONTEXT_KEYS, M as STRIPE_SDKS, S as DISPLAY_NAME, T as MANUAL_SDK_VARIANTS, _ as detectSelfDrivingIntegrationProjects, a as useStdoutDimensions, b as SELF_DRIVING_INTEGRATE_PATH_KEY, f as Program, g as PRICING_SHORT, h as PRICING_LONG, j as POSTHOG_SDKS, k as fetchHealthIssues, m as NO_DEFAULT_LIMIT, n as useKeyBindings, p as getProgramConfig, t as PickerMenu, v as GITHUB_REQUIRED_BODY, w as MANUAL_SDK_INSTALL, x as AUTOMATABLE_VARIANTS, y as GITHUB_REQUIRED_MESSAGE } from "./bin.js";
17
- import { r as totalTokenCount, t as WizardStore } from "./store-DGVXu7xt.js";
18
- import { B as SplitView, C as VisualizerTab, D as HNViewer, F as ModalOverlay, I as ConfirmationInput, M as LogViewer, N as LinkText, O as TabContainer, P as extractUrls, R as ProgressList, S as ServiceHealthList, T as LearnCard, a as useSkillEntry, b as SEVERITY_LABEL, c as SlackConnectScreen, d as AuditChecksViewer, f as seedDemoEvents, g as probeProjectData, i as SkillSourceInfo, j as EventPlanViewer, k as ScreenContainer, 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 TipsCard, x as SEVERITY_ORDER, y as IssueTable, z as LoadingBox } from "./terminal-BH8yLclG.js";
17
+ import { r as totalTokenCount, t as WizardStore } from "./store-EzqWyb60.js";
18
+ import { B as SplitView, C as VisualizerTab, D as HNViewer, F as ModalOverlay, I as ConfirmationInput, M as LogViewer, N as LinkText, O as TabContainer, P as extractUrls, R as ProgressList, S as ServiceHealthList, T as LearnCard, a as useSkillEntry, b as SEVERITY_LABEL, c as SlackConnectScreen, d as AuditChecksViewer, f as seedDemoEvents, g as probeProjectData, i as SkillSourceInfo, j as EventPlanViewer, k as ScreenContainer, 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 TipsCard, x as SEVERITY_ORDER, y as IssueTable, z as LoadingBox } from "./terminal-DTe59M4j.js";
19
19
  import { c as namesWithStatus, d as toClientResult, l as redactSecrets, t as ALL_FEATURE_VALUES } from "./defaults-DI642M3n.js";
20
- import { t as startFileWatcher } from "./file-watcher-CeWdvMVT.js";
21
- 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-B6-ZL--P.js";
20
+ import { t as startFileWatcher } from "./file-watcher-BZw1_Y84.js";
21
+ 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-B8t2xAPf.js";
22
22
  import { existsSync, readFileSync, readdirSync } from "fs";
23
23
  import path, { join } from "path";
24
24
  import { join as join$1 } from "node:path";
@@ -274,17 +274,17 @@ const HealthCheckScreen = ({ store }) => {
274
274
  const hasHardBlock = blockingKeys.length > 0;
275
275
  const displayKeys = hasHardBlock ? blockingKeys : warningKeys;
276
276
  if (displayKeys.length === 0) return null;
277
- const isGithubReleasesDown = hasHardBlock && blockingKeys.includes("githubReleases");
278
- const canDownloadSkills = result.health.githubReleases.status === "healthy";
277
+ const isSkillsOriginDown = hasHardBlock && blockingKeys.includes("skillsOrigin");
278
+ const canDownloadSkills = result.health.skillsOrigin.status === "healthy";
279
279
  const integration = store.session.integration;
280
280
  const allBlockingHaveNoConnection = hasHardBlock && displayKeys.every((k) => result.health[k].status === "no-connection");
281
- const title = isGithubReleasesDown ? "Ongoing service disruptions" : allBlockingHaveNoConnection ? "Couldn't reach PostHog" : hasHardBlock ? "Ongoing service disruptions" : "Service disruption detected";
281
+ const title = isSkillsOriginDown ? "Ongoing service disruptions" : allBlockingHaveNoConnection ? "Couldn't reach PostHog" : hasHardBlock ? "Ongoing service disruptions" : "Service disruption detected";
282
282
  const docsUrl = store.session.frameworkConfig?.metadata.docsUrl;
283
- const description = isGithubReleasesDown ? "The Wizard can't download necessary skills from GitHub Releases right now." : allBlockingHaveNoConnection ? "We couldn't reach these services from this machine. PostHog's status page shows no incidents, so this is most likely a network issue — VPN, firewall, captive portal, or flaky Wi-Fi." : hasHardBlock ? "The Wizard cannot start while these services are down." : "Some services are degraded. You can continue, but parts of the wizard may not work reliably.";
283
+ const description = isSkillsOriginDown ? "The Wizard can't download the skills it needs — neither GitHub Releases nor PostHog's mirror is reachable right now." : allBlockingHaveNoConnection ? "We couldn't reach these services from this machine. PostHog's status page shows no incidents, so this is most likely a network issue — VPN, firewall, captive portal, or flaky Wi-Fi." : hasHardBlock ? "The Wizard cannot start while these services are down." : "Some services are degraded. You can continue, but parts of the wizard may not work reliably.";
284
284
  const handleDownloadAndExit = async () => {
285
285
  if (downloading) return;
286
286
  setDownloading(true);
287
- const menu = await fetchSkillMenu(REMOTE_SKILLS_BASE_URL);
287
+ const menu = await fetchSkillMenu(GITHUB_SKILLS_BASE_URL);
288
288
  if (menu) {
289
289
  const prefix = `integration-${integration}`;
290
290
  const skills = (menu.categories["integration"] ?? []).filter((s) => s.id.startsWith(prefix));
@@ -299,7 +299,7 @@ const HealthCheckScreen = ({ store }) => {
299
299
  borderColor: hasHardBlock && !allBlockingHaveNoConnection ? "red" : "yellow",
300
300
  title,
301
301
  width: 72,
302
- footer: isGithubReleasesDown ? /* @__PURE__ */ jsx(ConfirmationInput, {
302
+ footer: isSkillsOriginDown ? /* @__PURE__ */ jsx(ConfirmationInput, {
303
303
  message: "",
304
304
  confirmLabel: "",
305
305
  cancelLabel: "Exit [Esc]",
@@ -314,9 +314,9 @@ const HealthCheckScreen = ({ store }) => {
314
314
  }) : /* @__PURE__ */ jsx(ConfirmationInput, {
315
315
  message: "Continue anyway?",
316
316
  confirmLabel: "Continue [Enter]",
317
- cancelLabel: canDownloadSkills && !isGithubReleasesDown ? downloading ? "Downloading..." : "Download skills & Exit [Esc]" : "Exit [Esc]",
317
+ cancelLabel: canDownloadSkills && !isSkillsOriginDown ? downloading ? "Downloading..." : "Download skills & Exit [Esc]" : "Exit [Esc]",
318
318
  onConfirm: () => store.dismissOutage(),
319
- onCancel: canDownloadSkills && !isGithubReleasesDown ? () => void handleDownloadAndExit() : () => void wizardAbort({
319
+ onCancel: canDownloadSkills && !isSkillsOriginDown ? () => void handleDownloadAndExit() : () => void wizardAbort({
320
320
  code: ErrorCodes.EnvServiceOutage,
321
321
  message: "Exited due to service outage."
322
322
  })
@@ -363,14 +363,14 @@ const HealthCheckScreen = ({ store }) => {
363
363
  dimColor: true,
364
364
  children: description
365
365
  }),
366
- isGithubReleasesDown && docsUrl && /* @__PURE__ */ jsx(Box, {
366
+ isSkillsOriginDown && docsUrl && /* @__PURE__ */ jsx(Box, {
367
367
  marginTop: 1,
368
368
  children: /* @__PURE__ */ jsxs(Text, { children: ["Set up manually: ", /* @__PURE__ */ jsx(Text, {
369
369
  color: "cyan",
370
370
  children: docsUrl
371
371
  })] })
372
372
  }),
373
- canDownloadSkills && !isGithubReleasesDown && /* @__PURE__ */ jsx(Box, {
373
+ canDownloadSkills && !isSkillsOriginDown && /* @__PURE__ */ jsx(Box, {
374
374
  marginTop: 1,
375
375
  children: /* @__PURE__ */ jsx(Text, { children: "You can still download the PostHog integration skills and continue with another agent." })
376
376
  })
@@ -1293,7 +1293,7 @@ const FrameworkPicker = ({ store, onComplete }) => {
1293
1293
  })),
1294
1294
  onSelect: (value) => {
1295
1295
  const integration = Array.isArray(value) ? value[0] : value;
1296
- import("./registry-D1By1SgH.js").then((n) => n.n).then(({ FRAMEWORK_REGISTRY }) => {
1296
+ import("./registry-C60oJv02.js").then((n) => n.n).then(({ FRAMEWORK_REGISTRY }) => {
1297
1297
  const config = FRAMEWORK_REGISTRY[integration];
1298
1298
  store.setFrameworkConfig(integration, config);
1299
1299
  store.setDetectedFramework(config.metadata.name);
@@ -3437,7 +3437,7 @@ const SelfDrivingIntegrationDetectScreen = ({ store }) => {
3437
3437
  /* @__PURE__ */ jsx(Text, {
3438
3438
  bold: true,
3439
3439
  color: Colors.accent,
3440
- children: "Detecting your project..."
3440
+ children: "Detecting your project. Stick around, this will take a few seconds..."
3441
3441
  }),
3442
3442
  /* @__PURE__ */ jsx(Box, {
3443
3443
  marginY: 1,
@@ -3710,6 +3710,10 @@ const SelfDrivingHandoffScreen = ({ store }) => {
3710
3710
  * unknown (`null`) state.
3711
3711
  */
3712
3712
  const POLL_INTERVAL_MS = 3e3;
3713
+ async function fetchLoginUrl(session) {
3714
+ if (!session.signup || !session.credentials) return null;
3715
+ return await requestDeepLink(session.credentials.accessToken, session.credentials.host) ?? `${session.credentials.host.appHost}/login`;
3716
+ }
3713
3717
  function useGithubConnection(store) {
3714
3718
  const credentials = store.session.credentials;
3715
3719
  const connected = store.session.githubConnected === true;
@@ -3786,6 +3790,13 @@ const SelfDrivingGitHubScreen = ({ store }) => {
3786
3790
  const authorizeUrl = credentials ? getIntegrationAuthorizeUrl(credentials.host.appHost, credentials.projectId, "github") : null;
3787
3791
  useGithubConnection(store);
3788
3792
  const [installOpened, setInstallOpened] = useState(false);
3793
+ const [loginUrl, setLoginUrl] = useState(null);
3794
+ const loginUrlRequested = useRef(false);
3795
+ useEffect(() => {
3796
+ if (loginUrlRequested.current) return;
3797
+ loginUrlRequested.current = true;
3798
+ fetchLoginUrl(store.session).then(setLoginUrl);
3799
+ }, [store]);
3789
3800
  const impressionFired = useRef(false);
3790
3801
  useEffect(() => {
3791
3802
  if (connectedState === null || impressionFired.current) return;
@@ -3867,6 +3878,16 @@ const SelfDrivingGitHubScreen = ({ store }) => {
3867
3878
  children: [Icons.diamond, " "]
3868
3879
  }), "Grant it the repos you want Self-driving to work with — include this project's repo so it can also watch its issues."] })
3869
3880
  }),
3881
+ loginUrl && /* @__PURE__ */ jsx(Box, {
3882
+ marginTop: 1,
3883
+ children: /* @__PURE__ */ jsxs(Text, {
3884
+ dimColor: true,
3885
+ children: ["Log in to your new account first: ", /* @__PURE__ */ jsx(Text, {
3886
+ color: "cyan",
3887
+ children: loginUrl
3888
+ })]
3889
+ })
3890
+ }),
3870
3891
  authorizeUrl && /* @__PURE__ */ jsx(Box, {
3871
3892
  marginTop: 1,
3872
3893
  children: /* @__PURE__ */ jsxs(Text, {
@@ -6027,7 +6048,7 @@ function createMcpSuggestedPromptsServices(store) {
6027
6048
  };
6028
6049
  }
6029
6050
  async function* runProductionPromptStreaming(args) {
6030
- const { runMcpPromptViaSdk } = await import("./mcp-prompt-streaming-DRAK8CMP.js");
6051
+ const { runMcpPromptViaSdk } = await import("./mcp-prompt-streaming-RZGAH4YO.js");
6031
6052
  yield* runMcpPromptViaSdk(args);
6032
6053
  }
6033
6054
  //#endregion
@@ -6221,4 +6242,4 @@ function startTUI(version, program = Program.PostHogIntegration) {
6221
6242
  //#endregion
6222
6243
  export { startTUI };
6223
6244
 
6224
- //# sourceMappingURL=start-tui-r4Spgptv.js.map
6245
+ //# sourceMappingURL=start-tui-C3PdKFtP.js.map