@posthog/wizard 2.79.1 → 2.80.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/{PickerMenu-dG5DQCZA.js → PickerMenu-m4CCPX4f.js} +10 -10
- package/dist/PickerMenu-m4CCPX4f.js.map +1 -0
- package/dist/{agent-BWFhuLgo.js → agent-BkBbVuNq.js} +48 -37
- package/dist/agent-BkBbVuNq.js.map +1 -0
- package/dist/agent-QGK2YzlX.js +6 -0
- package/dist/{agent-interface-FkbaBJwz.js → agent-interface-CzyCmp7q.js} +68 -31
- package/dist/agent-interface-CzyCmp7q.js.map +1 -0
- package/dist/{agent-prompt-loader-D0weQ-7k.js → agent-prompt-loader-4wMxlYSX.js} +5 -5
- package/dist/{agent-prompt-loader-D0weQ-7k.js.map → agent-prompt-loader-4wMxlYSX.js.map} +1 -1
- package/dist/{analytics-DXK1gc12.js → analytics-B6q5PN7a.js} +5 -5
- package/dist/analytics-B6q5PN7a.js.map +1 -0
- package/dist/analytics-BXtfK9o7.js +2 -0
- package/dist/{api-CrbCIQOz.js → api-C3Dc4LFl.js} +3 -3
- package/dist/{api-CrbCIQOz.js.map → api-C3Dc4LFl.js.map} +1 -1
- package/dist/api-yNjrfZs2.js +2 -0
- package/dist/bin.js +1 -1
- package/dist/{bounded-fs-vAq-T-K7.js → bounded-fs-CC_NDtoP.js} +3 -3
- package/dist/{bounded-fs-vAq-T-K7.js.map → bounded-fs-CC_NDtoP.js.map} +1 -1
- package/dist/check-screens.tsx +5 -5
- package/dist/{ci-install-COcV8SY2.js → ci-install-DfcAMhlu.js} +7 -7
- package/dist/ci-install-DfcAMhlu.js.map +1 -0
- package/dist/{constants-DHCBSfnx.js → constants-DO4X70po.js} +3 -3
- package/dist/{constants-DHCBSfnx.js.map → constants-DO4X70po.js.map} +1 -1
- package/dist/{debug-BuYHGr6_.js → debug-BueK5mRR.js} +1 -1
- package/dist/{debug-kAHwWGg7.js → debug-DyARf5TF.js} +3 -3
- package/dist/debug-DyARf5TF.js.map +1 -0
- package/dist/{defaults-a9TelDhJ.js → defaults-DpfMnH2q.js} +2 -2
- package/dist/defaults-DpfMnH2q.js.map +1 -0
- package/dist/{endpoints-BVMYm9F4.js → endpoints-D-4KxZiB.js} +3 -3
- package/dist/{endpoints-BVMYm9F4.js.map → endpoints-D-4KxZiB.js.map} +1 -1
- package/dist/env-api-key-CHGLe0iz.js +2 -0
- package/dist/{env-api-key-BP-NFFXt.js → env-api-key-COf0U-Au.js} +2 -2
- package/dist/{env-api-key-BP-NFFXt.js.map → env-api-key-COf0U-Au.js.map} +1 -1
- package/dist/{environment-BATlQxcQ.js → environment-DrLaSsA8.js} +4 -4
- package/dist/{environment-BATlQxcQ.js.map → environment-DrLaSsA8.js.map} +1 -1
- package/dist/environment-hBj7ngmO.js +2 -0
- package/dist/{file-DcRKycV8.js → file-CVA9ocIC.js} +3 -3
- package/dist/file-CVA9ocIC.js.map +1 -0
- package/dist/file-CmoKK_Pp.js +2 -0
- package/dist/{file-watcher-Brq2nnHV.js → file-watcher-C3Su8vXm.js} +3 -3
- package/dist/file-watcher-C3Su8vXm.js.map +1 -0
- package/dist/{gateway-C9-GlLO9.js → gateway-BmjYUSua.js} +6 -6
- package/dist/{gateway-C9-GlLO9.js.map → gateway-BmjYUSua.js.map} +1 -1
- package/dist/{headless-ui-CqI2gXlD.js → headless-ui-CUbv12Yx.js} +3 -3
- package/dist/headless-ui-CUbv12Yx.js.map +1 -0
- package/dist/host-resolution-DVSb7kXb.js +114 -0
- package/dist/host-resolution-DVSb7kXb.js.map +1 -0
- package/dist/{add-mcp-server-to-clients-DIaTRWMY.js → install-Bk5TNk27.js} +15 -14
- package/dist/install-Bk5TNk27.js.map +1 -0
- package/dist/{add-mcp-server-to-clients-artmN7mz.js → install-F4wm3RSl.js} +1 -1
- package/dist/interactive-C5LNvDj6.js +11 -0
- package/dist/interactive-C5LNvDj6.js.map +1 -0
- package/dist/{telemetry-B7zJdRmA.js → links-9LWZPSCq.js} +4 -13
- package/dist/links-9LWZPSCq.js.map +1 -0
- package/dist/{logging-ui-Dza4D0MK.js → logging-ui-p6XKVmTx.js} +6 -6
- package/dist/logging-ui-p6XKVmTx.js.map +1 -0
- package/dist/{main-CgKxbwMP.js → main-DKPjFHEV.js} +149 -141
- package/dist/main-DKPjFHEV.js.map +1 -0
- package/dist/{mcp-DnAyW0-w.js → mcp-Co8VRF62.js} +4 -4
- package/dist/{mcp-DnAyW0-w.js.map → mcp-Co8VRF62.js.map} +1 -1
- package/dist/mcp-install-smoke-test.ts +1 -1
- package/dist/{mcp-prompt-streaming-DDWQ-FCA.js → mcp-prompt-streaming-ljCVoQ9I.js} +6 -6
- package/dist/{mcp-prompt-streaming-DDWQ-FCA.js.map → mcp-prompt-streaming-ljCVoQ9I.js.map} +1 -1
- package/dist/{mint-failure-u8xQKNOn.js → mint-failure-C0HyvEwO.js} +103 -92
- package/dist/mint-failure-C0HyvEwO.js.map +1 -0
- package/dist/{models-WcwUnSKb.js → models-Dba8ITeo.js} +2 -2
- package/dist/{models-WcwUnSKb.js.map → models-Dba8ITeo.js.map} +1 -1
- package/dist/{non-interactive-DyVC1AGc.js → non-interactive-CLMJrj_7.js} +3 -3
- package/dist/non-interactive-CLMJrj_7.js.map +1 -0
- package/dist/{oauth-session-DYM2Hrl2.js → oauth-session-D-RfcVmr.js} +2 -2
- package/dist/{oauth-session-DYM2Hrl2.js.map → oauth-session-D-RfcVmr.js.map} +1 -1
- package/dist/{orchestrator-tools-DbgNBFGA.js → orchestrator-tools-CVJ1F9Ub.js} +3 -3
- package/dist/{orchestrator-tools-DbgNBFGA.js.map → orchestrator-tools-CVJ1F9Ub.js.map} +1 -1
- package/dist/package-json--ppioh2F.js +2 -0
- package/dist/{package-json-Atg34fa4.js → package-json-Cowya9-3.js} +1 -1
- package/dist/{package-json-Atg34fa4.js.map → package-json-Cowya9-3.js.map} +1 -1
- package/dist/{pi-8KsYsPmM.js → pi-B5YTBRDv.js} +18 -17
- package/dist/pi-B5YTBRDv.js.map +1 -0
- package/dist/{playground-BlYRBMj7.js → playground-BLsCfHmQ.js} +33 -33
- package/dist/playground-BLsCfHmQ.js.map +1 -0
- package/dist/posthog-B2E0hpZt.js +2 -0
- package/dist/{posthog-Bt0Aplb8.js → posthog-B42rt_1S.js} +3 -3
- package/dist/posthog-B42rt_1S.js.map +1 -0
- package/dist/project-data--L-WZyvj.js +2 -0
- package/dist/{setup-utils-B26Lf2yF.js → project-data-BO9IXn9y.js} +566 -947
- package/dist/project-data-BO9IXn9y.js.map +1 -0
- package/dist/provisioning-C01REIU2.js +2 -0
- package/dist/{provisioning-Bo2NRxFz.js → provisioning-CLhuKqXH.js} +6 -67
- package/dist/provisioning-CLhuKqXH.js.map +1 -0
- package/dist/{queue-tools-C8mXOh7e.js → queue-tools-knnPQP0e.js} +4 -4
- package/dist/{queue-tools-C8mXOh7e.js.map → queue-tools-knnPQP0e.js.map} +1 -1
- package/dist/{registry-CD5RQt38.js → registry-B3rC5U4b.js} +6 -6
- package/dist/{registry-CD5RQt38.js.map → registry-B3rC5U4b.js.map} +1 -1
- package/dist/registry-BamsM7J9.js +2 -0
- package/dist/run-agent-legacy-CwUmPfQF.js +2 -0
- package/dist/{run-agent-legacy-DOlM6DQu.js → run-agent-legacy-DWBajsMh.js} +38 -111
- package/dist/run-agent-legacy-DWBajsMh.js.map +1 -0
- package/dist/{runners-ov3EXF1n.js → runners-D1PqqpjA.js} +38 -38
- package/dist/runners-D1PqqpjA.js.map +1 -0
- package/dist/{security-C71pkwqH.js → security-BvdSFDuM.js} +5 -5
- package/dist/{security-C71pkwqH.js.map → security-BvdSFDuM.js.map} +1 -1
- package/dist/setup-utils-ChXXTi1m.js +301 -0
- package/dist/setup-utils-ChXXTi1m.js.map +1 -0
- package/dist/{start-tui-Bo2L0bar.js → start-tui-DicLfgsj.js} +92 -90
- package/dist/start-tui-DicLfgsj.js.map +1 -0
- package/dist/{steps-BPcg3_3Q.js → steps-Hc28zVc_.js} +10 -10
- package/dist/steps-Hc28zVc_.js.map +1 -0
- package/dist/store-COCO6U0P.js +5 -0
- package/dist/{store-BTzcvRGT.js → store-D3509G87.js} +66 -28
- package/dist/store-D3509G87.js.map +1 -0
- package/dist/{subagent-D1TrTchE.js → subagent-D_Sqak94.js} +3 -3
- package/dist/{subagent-D1TrTchE.js.map → subagent-D_Sqak94.js.map} +1 -1
- package/dist/{task-DqRlQBfs.js → task-DiTI6Sak.js} +16 -16
- package/dist/task-DiTI6Sak.js.map +1 -0
- package/dist/{wizard-ui-DVqrYaOM.js → task-status-CmrrR7zo.js} +2 -2
- package/dist/task-status-CmrrR7zo.js.map +1 -0
- package/dist/{task-stream-Bw6JaLCX.js → task-stream-BckhG_cB.js} +10 -10
- package/dist/task-stream-BckhG_cB.js.map +1 -0
- package/dist/{tasks-ChWufsdO.js → tasks-ChZ_F1YP.js} +1 -1
- package/dist/{tasks-ChWufsdO.js.map → tasks-ChZ_F1YP.js.map} +1 -1
- package/dist/telemetry-BNKsDxNS.js +13 -0
- package/dist/telemetry-BNKsDxNS.js.map +1 -0
- package/dist/{terminal-zgkEfoCL.js → terminal-PK9bCLRi.js} +123 -97
- package/dist/terminal-PK9bCLRi.js.map +1 -0
- package/dist/{tools-CkJ2y9Wt.js → tools-C8LQ8QFz.js} +8 -8
- package/dist/{tools-CkJ2y9Wt.js.map → tools-C8LQ8QFz.js.map} +1 -1
- package/dist/{ui-Q6-RvERF.js → ui-tPNpM6vj.js} +3 -3
- package/dist/ui-tPNpM6vj.js.map +1 -0
- package/dist/urls-BI4kJ4qQ.js +67 -0
- package/dist/urls-BI4kJ4qQ.js.map +1 -0
- package/dist/{version-CHhJjz_H.js → version-5_ydHkM6.js} +2 -2
- package/dist/{version-CHhJjz_H.js.map → version-5_ydHkM6.js.map} +1 -1
- package/dist/{wizard-abort-Br1qMDNa.js → wizard-abort-BVjqLyeA.js} +1 -1
- package/dist/{wizard-abort-BPdv07np.js → wizard-abort-DBKtfnBR.js} +18 -16
- package/dist/wizard-abort-DBKtfnBR.js.map +1 -0
- package/dist/wizard-session-B7BHnay0.js +2 -0
- package/dist/{wizard-session-2w4Ru-Wz.js → wizard-session-BYw6LzpS.js} +30 -28
- package/dist/wizard-session-BYw6LzpS.js.map +1 -0
- package/dist/{yara-hooks-BnxejtXK.js → yara-hooks-C3L6lBij.js} +5 -5
- package/dist/{yara-hooks-BnxejtXK.js.map → yara-hooks-C3L6lBij.js.map} +1 -1
- package/dist/yara-hooks-CF_IsoaA.js +2 -0
- package/package.json +2 -3
- package/dist/PickerMenu-dG5DQCZA.js.map +0 -1
- package/dist/add-mcp-server-to-clients-DIaTRWMY.js.map +0 -1
- package/dist/agent-BEjARD2a.js +0 -6
- package/dist/agent-BWFhuLgo.js.map +0 -1
- package/dist/agent-interface-FkbaBJwz.js.map +0 -1
- package/dist/analytics-DFtbRjYh.js +0 -2
- package/dist/analytics-DXK1gc12.js.map +0 -1
- package/dist/api-Cm9UtKZh.js +0 -2
- package/dist/ci-install-COcV8SY2.js.map +0 -1
- package/dist/debug-kAHwWGg7.js.map +0 -1
- package/dist/defaults-a9TelDhJ.js.map +0 -1
- package/dist/env-api-key-CaWEDj_9.js +0 -2
- package/dist/environment-CwD8OPYj.js +0 -2
- package/dist/file-C5JMsyR1.js +0 -2
- package/dist/file-DcRKycV8.js.map +0 -1
- package/dist/file-watcher-Brq2nnHV.js.map +0 -1
- package/dist/headless-ui-CqI2gXlD.js.map +0 -1
- package/dist/interactive-B_Ti_CsS.js +0 -11
- package/dist/interactive-B_Ti_CsS.js.map +0 -1
- package/dist/logging-ui-Dza4D0MK.js.map +0 -1
- package/dist/main-CgKxbwMP.js.map +0 -1
- package/dist/mint-failure-u8xQKNOn.js.map +0 -1
- package/dist/non-interactive-DyVC1AGc.js.map +0 -1
- package/dist/package-json-D8Ga03tK.js +0 -2
- package/dist/pi-8KsYsPmM.js.map +0 -1
- package/dist/playground-BlYRBMj7.js.map +0 -1
- package/dist/posthog-Bt0Aplb8.js.map +0 -1
- package/dist/posthog-CUgCEhH0.js +0 -2
- package/dist/provisioning-Bo2NRxFz.js.map +0 -1
- package/dist/provisioning-OGFGlzf7.js +0 -2
- package/dist/registry-C06e_x-p.js +0 -2
- package/dist/run-agent-legacy-ChacZImU.js +0 -2
- package/dist/run-agent-legacy-DOlM6DQu.js.map +0 -1
- package/dist/runners-ov3EXF1n.js.map +0 -1
- package/dist/setup-utils-B26Lf2yF.js.map +0 -1
- package/dist/setup-utils-CVS86NYR.js +0 -2
- package/dist/start-tui-Bo2L0bar.js.map +0 -1
- package/dist/steps-BPcg3_3Q.js.map +0 -1
- package/dist/store-BTzcvRGT.js.map +0 -1
- package/dist/store-BpqySPXm.js +0 -5
- package/dist/task-DqRlQBfs.js.map +0 -1
- package/dist/task-stream-Bw6JaLCX.js.map +0 -1
- package/dist/telemetry-B7zJdRmA.js.map +0 -1
- package/dist/terminal-zgkEfoCL.js.map +0 -1
- package/dist/ui-Q6-RvERF.js.map +0 -1
- package/dist/wizard-abort-BPdv07np.js.map +0 -1
- package/dist/wizard-session-2w4Ru-Wz.js.map +0 -1
- package/dist/wizard-session-DGaUHOF3.js +0 -2
- package/dist/wizard-ui-DVqrYaOM.js.map +0 -1
- package/dist/yara-hooks-DSuExwb4.js +0 -2
|
@@ -1,28 +1,29 @@
|
|
|
1
|
-
import { V as downloadSkill, et as fetchSkillMenu } from "./agent-interface-
|
|
1
|
+
import { V as downloadSkill, et as fetchSkillMenu } from "./agent-interface-CzyCmp7q.js";
|
|
2
2
|
import { n as ErrorCodes } from "./emit-BSetXzDV.js";
|
|
3
|
-
import { a as getLogFilePath, p as relativeToInstallDir, s as logToFile, u as WIZARD_LOG_FILE } from "./debug-
|
|
4
|
-
import { $ as getSkillsBaseUrl, E as OAUTH_TIMEOUT_MS, F as POSTHOG_TERMS_URL, M as POSTHOG_PRIVACY_URL, T as OAUTH_PORTS, g as GITHUB_SKILLS_BASE_URL, j as POSTHOG_ORG_AI_SETTINGS_URL, k as POSTHOG_DOCS_URL, w as Integration } from "./constants-
|
|
5
|
-
import "./wizard-session-
|
|
6
|
-
import { n as analytics } from "./analytics-
|
|
7
|
-
import {
|
|
3
|
+
import { a as getLogFilePath, p as relativeToInstallDir, s as logToFile, u as WIZARD_LOG_FILE } from "./debug-DyARf5TF.js";
|
|
4
|
+
import { $ as getSkillsBaseUrl, E as OAUTH_TIMEOUT_MS, F as POSTHOG_TERMS_URL, M as POSTHOG_PRIVACY_URL, T as OAUTH_PORTS, g as GITHUB_SKILLS_BASE_URL, j as POSTHOG_ORG_AI_SETTINGS_URL, k as POSTHOG_DOCS_URL, w as Integration } from "./constants-DO4X70po.js";
|
|
5
|
+
import "./wizard-session-BYw6LzpS.js";
|
|
6
|
+
import { n as analytics } from "./analytics-B6q5PN7a.js";
|
|
7
|
+
import { t as openTrackedLink } from "./links-9LWZPSCq.js";
|
|
8
8
|
import { a as WizardError } from "./errors-C2domSkK.js";
|
|
9
|
-
import { i as readProjectFile, t as IGNORED_DIRS } from "./bounded-fs-
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
15
|
-
import
|
|
16
|
-
import {
|
|
17
|
-
import "./
|
|
18
|
-
import {
|
|
19
|
-
import {
|
|
20
|
-
import {
|
|
21
|
-
import {
|
|
22
|
-
import { n as
|
|
23
|
-
import {
|
|
24
|
-
import { l as
|
|
25
|
-
import {
|
|
9
|
+
import { i as readProjectFile, t as IGNORED_DIRS } from "./bounded-fs-CC_NDtoP.js";
|
|
10
|
+
import { a as getBlockingServiceKeys, r as SIGNUP_WIZARD_READINESS_CONFIG } from "./logging-ui-p6XKVmTx.js";
|
|
11
|
+
import { n as setUI } from "./ui-tPNpM6vj.js";
|
|
12
|
+
import { r as wizardAbort } from "./wizard-abort-DBKtfnBR.js";
|
|
13
|
+
import { i as getIntegrationAuthorizeUrl } from "./urls-BI4kJ4qQ.js";
|
|
14
|
+
import { c as formatTokenCount, s as formatCostUsd } from "./agent-BkBbVuNq.js";
|
|
15
|
+
import "./yara-hooks-C3L6lBij.js";
|
|
16
|
+
import { n as extractOAuthCode, t as getOrAskForProjectData } from "./project-data-BO9IXn9y.js";
|
|
17
|
+
import { a as getDetectedWarehouseSources, l as getAuditChecks } from "./run-agent-legacy-DWBajsMh.js";
|
|
18
|
+
import { t as FRAMEWORK_REGISTRY } from "./registry-B3rC5U4b.js";
|
|
19
|
+
import { r as requestDeepLink } from "./provisioning-CLhuKqXH.js";
|
|
20
|
+
import { a as fetchGithubConnected, n as ApiError } from "./api-C3Dc4LFl.js";
|
|
21
|
+
import { C as ERROR_TRACKING_PROJECT_PATH_KEY, F as MANUAL_SDK_INSTALL, I as MANUAL_SDK_VARIANTS, J as getContentBlocks, M as AUTOMATABLE_VARIANTS, N as DISPLAY_NAME, R as SOURCE_MAPS_CONTEXT_KEYS, U as fetchHealthIssues, Y as SETUP_REPORT_FILE, _ as PRICING_SHORT, b as GITHUB_REQUIRED_MESSAGE, c as getCommandPath, ct as STRIPE_SDKS, g as PRICING_LONG, h as NO_DEFAULT_LIMIT, i as isRunFailure, it as Icons, l as getLaunchablePrograms, lt as detectProjectsWithAgent, n as MINT_FAILURE_CONTACT, o as Program, r as MINT_FAILURE_MESSAGE, rt as Colors, st as POSTHOG_SDKS, t as MINT_FAILURE_BODY, u as getProgramConfig, v as detectSelfDrivingIntegrationProjects, w as detectErrorTrackingProjects, x as SELF_DRIVING_INTEGRATE_PATH_KEY, y as GITHUB_REQUIRED_BODY } from "./mint-failure-C0HyvEwO.js";
|
|
22
|
+
import { a as useStdoutDimensions, n as useKeyBindings, t as PickerMenu } from "./PickerMenu-m4CCPX4f.js";
|
|
23
|
+
import { n as totalTokenCount, t as WizardStore } from "./store-D3509G87.js";
|
|
24
|
+
import { A as TabContainer, B as ProgressList, C as SEVERITY_ORDER, D as LearnCard, E as TipsCard, F as LinkText, H as SplitView, I as extractUrls, L as ModalOverlay, N as EventPlanViewer, P as LogViewer, R as ConfirmationInput, S as SEVERITY_LABEL, T as VisualizerTab, V as LoadingBox, a as useSkillEntry, b as McpScreen, c as SlackConnectScreen, d as AuditChecksViewer, f as countNoun, g as McpSuggestedPromptsScreen, i as SkillSourceInfo, j as ScreenContainer, k as HNViewer, l as AUDIT_AREA_SLIDES, m as seedDemoEvents, n as releaseTerminal, o as OutroScreen, p as AUDIT_SEVERITY_STYLE, r as AiOptInRequiredScreen, s as useDismissOnAnyKey, t as enterDarkTerminal, u as VisualBox, v as probeProjectData, w as ServiceHealthList, x as IssueTable } from "./terminal-PK9bCLRi.js";
|
|
25
|
+
import { l as namesWithStatus, p as toClientResult, t as ALL_FEATURE_VALUES, u as redactSecrets } from "./defaults-DpfMnH2q.js";
|
|
26
|
+
import { a as getSupportedPluginClients, i as getSupportedClients, l as isPluginCapable, o as installPlugins, r as getInstalledClients, s as removeMCPServer } from "./install-Bk5TNk27.js";
|
|
26
27
|
import { existsSync, readFileSync, readdirSync } from "fs";
|
|
27
28
|
import path, { join } from "path";
|
|
28
29
|
import { tmpdir } from "node:os";
|
|
@@ -134,8 +135,8 @@ var InkUI = class {
|
|
|
134
135
|
showSessionTimeout() {
|
|
135
136
|
this.store.showSessionTimeout();
|
|
136
137
|
}
|
|
137
|
-
requestQuestion(question) {
|
|
138
|
-
return this.store.requestQuestion(question);
|
|
138
|
+
requestQuestion(question, onAnswer) {
|
|
139
|
+
return this.store.requestQuestion(question, onAnswer);
|
|
139
140
|
}
|
|
140
141
|
cancelPendingQuestion() {
|
|
141
142
|
this.store.cancelPendingQuestion();
|
|
@@ -219,7 +220,7 @@ var InkUI = class {
|
|
|
219
220
|
}
|
|
220
221
|
};
|
|
221
222
|
//#endregion
|
|
222
|
-
//#region src/
|
|
223
|
+
//#region src/tui/screens/health/HealthCheckScreen.tsx
|
|
223
224
|
/**
|
|
224
225
|
* HealthCheckScreen — Program screen between Intro and Auth.
|
|
225
226
|
*
|
|
@@ -385,7 +386,7 @@ const HealthCheckScreen = ({ store }) => {
|
|
|
385
386
|
});
|
|
386
387
|
};
|
|
387
388
|
//#endregion
|
|
388
|
-
//#region src/
|
|
389
|
+
//#region src/tui/tools/doctor/screens/DoctorIntroScreen.tsx
|
|
389
390
|
const DoctorIntroScreen = ({ store }) => {
|
|
390
391
|
useSyncExternalStore((cb) => store.subscribe(cb), () => store.getSnapshot());
|
|
391
392
|
return /* @__PURE__ */ jsxs(Box, {
|
|
@@ -433,7 +434,7 @@ const DoctorIntroScreen = ({ store }) => {
|
|
|
433
434
|
});
|
|
434
435
|
};
|
|
435
436
|
//#endregion
|
|
436
|
-
//#region src/
|
|
437
|
+
//#region src/tui/tools/doctor/screens/DoctorReportScreen.tsx
|
|
437
438
|
const DoctorReportScreen = ({ store }) => {
|
|
438
439
|
useSyncExternalStore((cb) => store.subscribe(cb), () => store.getSnapshot());
|
|
439
440
|
const { credentials } = store.session;
|
|
@@ -604,7 +605,7 @@ function formatSummaryLine(issues) {
|
|
|
604
605
|
return `${issues.length} active issue${issues.length === 1 ? "" : "s"}${suffix}`;
|
|
605
606
|
}
|
|
606
607
|
//#endregion
|
|
607
|
-
//#region src/
|
|
608
|
+
//#region src/tui/screens/SettingsOverrideScreen.tsx
|
|
608
609
|
const SettingsOverrideScreen = ({ store }) => {
|
|
609
610
|
useSyncExternalStore((cb) => store.subscribe(cb), () => store.getSnapshot());
|
|
610
611
|
const [feedback, setFeedback] = useState(null);
|
|
@@ -659,7 +660,7 @@ const SettingsOverrideScreen = ({ store }) => {
|
|
|
659
660
|
});
|
|
660
661
|
};
|
|
661
662
|
//#endregion
|
|
662
|
-
//#region src/
|
|
663
|
+
//#region src/tui/screens/ManagedSettingsScreen.tsx
|
|
663
664
|
/**
|
|
664
665
|
* ManagedSettingsScreen — Modal for read-only settings conflicts that block
|
|
665
666
|
* the Wizard from reaching the PostHog LLM Gateway: org-managed settings, the
|
|
@@ -744,7 +745,7 @@ const ManagedSettingsScreen = ({ store }) => {
|
|
|
744
745
|
});
|
|
745
746
|
};
|
|
746
747
|
//#endregion
|
|
747
|
-
//#region src/
|
|
748
|
+
//#region src/tui/screens/PortConflictScreen.tsx
|
|
748
749
|
/**
|
|
749
750
|
* PortConflictScreen — Modal when all OAuth port candidates are occupied.
|
|
750
751
|
*
|
|
@@ -787,7 +788,7 @@ const PortConflictScreen = ({ store }) => {
|
|
|
787
788
|
});
|
|
788
789
|
};
|
|
789
790
|
//#endregion
|
|
790
|
-
//#region src/
|
|
791
|
+
//#region src/tui/screens/TaskNoticeScreen.tsx
|
|
791
792
|
/**
|
|
792
793
|
* TaskNoticeScreen — Modal shown before an optional step runs.
|
|
793
794
|
*
|
|
@@ -839,7 +840,7 @@ const TaskNoticeScreen = ({ store }) => {
|
|
|
839
840
|
});
|
|
840
841
|
};
|
|
841
842
|
//#endregion
|
|
842
|
-
//#region src/
|
|
843
|
+
//#region src/tui/screens/ManualAuthCodeScreen.tsx
|
|
843
844
|
/**
|
|
844
845
|
* ManualAuthCodeScreen — Paste an OAuth authorization code by hand.
|
|
845
846
|
*
|
|
@@ -940,7 +941,7 @@ const ManualAuthCodeScreen = ({ store }) => {
|
|
|
940
941
|
});
|
|
941
942
|
};
|
|
942
943
|
//#endregion
|
|
943
|
-
//#region src/
|
|
944
|
+
//#region src/tui/components/PrivacyPanel.tsx
|
|
944
945
|
/**
|
|
945
946
|
* PrivacyPanel — Shared disclosure component.
|
|
946
947
|
*
|
|
@@ -1004,7 +1005,7 @@ const PrivacyPanel = ({ canOptOut = false } = {}) => {
|
|
|
1004
1005
|
});
|
|
1005
1006
|
};
|
|
1006
1007
|
//#endregion
|
|
1007
|
-
//#region src/
|
|
1008
|
+
//#region src/tui/screens/IntroScreenLayout.tsx
|
|
1008
1009
|
/**
|
|
1009
1010
|
* IntroScreenLayout ��� Shared visual shell for all program intro screens.
|
|
1010
1011
|
*
|
|
@@ -1195,7 +1196,7 @@ const IntroScreenLayout = ({ installDir, title = "PostHog Wizard 🦔", showSubt
|
|
|
1195
1196
|
}) });
|
|
1196
1197
|
};
|
|
1197
1198
|
//#endregion
|
|
1198
|
-
//#region src/
|
|
1199
|
+
//#region src/tui/programs/posthog-integration/intro-menu.ts
|
|
1199
1200
|
const CONTINUE_LABEL = "Continue";
|
|
1200
1201
|
const CONTINUE_ANYWAY_LABEL = "Continue anyway";
|
|
1201
1202
|
const DEFAULT_HEADLINE = "Let's do two hours of work in eight minutes.";
|
|
@@ -1234,7 +1235,7 @@ function introMenuOptions({ view, showContinue, posthogSdkDetected }) {
|
|
|
1234
1235
|
return null;
|
|
1235
1236
|
}
|
|
1236
1237
|
//#endregion
|
|
1237
|
-
//#region src/
|
|
1238
|
+
//#region src/tui/programs/posthog-integration/screens/PostHogIntegrationIntroScreen.tsx
|
|
1238
1239
|
/**
|
|
1239
1240
|
* PostHogIntegrationIntroScreen — Intro screen for the core PostHog integration.
|
|
1240
1241
|
*
|
|
@@ -1314,7 +1315,7 @@ const FrameworkPicker = ({ store, onComplete }) => {
|
|
|
1314
1315
|
})),
|
|
1315
1316
|
onSelect: (value) => {
|
|
1316
1317
|
const integration = Array.isArray(value) ? value[0] : value;
|
|
1317
|
-
import("./registry-
|
|
1318
|
+
import("./registry-BamsM7J9.js").then(({ FRAMEWORK_REGISTRY }) => {
|
|
1318
1319
|
const config = FRAMEWORK_REGISTRY[integration];
|
|
1319
1320
|
store.setFrameworkConfig(integration, config);
|
|
1320
1321
|
store.setDetectedFramework(config.metadata.name);
|
|
@@ -1544,7 +1545,7 @@ const PostHogIntegrationIntroScreen = ({ store }) => {
|
|
|
1544
1545
|
});
|
|
1545
1546
|
};
|
|
1546
1547
|
//#endregion
|
|
1547
|
-
//#region src/
|
|
1548
|
+
//#region src/tui/programs/revenue-analytics/screens/RevenueIntroScreen.tsx
|
|
1548
1549
|
/**
|
|
1549
1550
|
* RevenueIntroScreen — Welcome screen for the revenue analytics flow.
|
|
1550
1551
|
*
|
|
@@ -1817,7 +1818,7 @@ const DetectErrorBody$2 = ({ error }) => {
|
|
|
1817
1818
|
}
|
|
1818
1819
|
};
|
|
1819
1820
|
//#endregion
|
|
1820
|
-
//#region src/
|
|
1821
|
+
//#region src/tui/programs/warehouse-source/screens/WarehouseIntroScreen.tsx
|
|
1821
1822
|
/**
|
|
1822
1823
|
* WarehouseIntroScreen — Welcome screen for the data warehouse source flow.
|
|
1823
1824
|
*
|
|
@@ -1976,7 +1977,7 @@ const DetectErrorBody$1 = ({ error }) => {
|
|
|
1976
1977
|
}
|
|
1977
1978
|
};
|
|
1978
1979
|
//#endregion
|
|
1979
|
-
//#region src/
|
|
1980
|
+
//#region src/tui/programs/migration/screens/MigrationIntroScreen.tsx
|
|
1980
1981
|
const MigrationIntroScreen = ({ store }) => {
|
|
1981
1982
|
useSyncExternalStore((cb) => store.subscribe(cb), () => store.getSnapshot());
|
|
1982
1983
|
const { session } = store;
|
|
@@ -2004,7 +2005,7 @@ const MigrationIntroScreen = ({ store }) => {
|
|
|
2004
2005
|
});
|
|
2005
2006
|
};
|
|
2006
2007
|
//#endregion
|
|
2007
|
-
//#region src/
|
|
2008
|
+
//#region src/tui/programs/error-tracking-upload-source-maps/screens/SourceMapsIntroScreen.tsx
|
|
2008
2009
|
/**
|
|
2009
2010
|
* SourceMapsIntroScreen — Welcome screen for the source-maps upload flow.
|
|
2010
2011
|
*
|
|
@@ -2335,7 +2336,7 @@ async function detectSourceMapsProjects(session, onEvent) {
|
|
|
2335
2336
|
});
|
|
2336
2337
|
}
|
|
2337
2338
|
//#endregion
|
|
2338
|
-
//#region src/
|
|
2339
|
+
//#region src/tui/programs/error-tracking-upload-source-maps/screens/SourceMapsDetectScreen.tsx
|
|
2339
2340
|
/**
|
|
2340
2341
|
* SourceMapsDetectScreen — runs the Haiku detection agent over the repo, shows
|
|
2341
2342
|
* streaming progress, then renders a structured map of which projects can have
|
|
@@ -2558,7 +2559,7 @@ const BlockedSummary = ({ blocked }) => {
|
|
|
2558
2559
|
});
|
|
2559
2560
|
};
|
|
2560
2561
|
//#endregion
|
|
2561
|
-
//#region src/
|
|
2562
|
+
//#region src/tui/programs/error-tracking-upload-source-maps/screens/SourceMapsOutroScreen.tsx
|
|
2562
2563
|
/**
|
|
2563
2564
|
* SourceMapsOutroScreen — post-run summary for the source-maps upload flow.
|
|
2564
2565
|
*
|
|
@@ -2717,7 +2718,7 @@ const Section = ({ title, children }) => /* @__PURE__ */ jsxs(Box, {
|
|
|
2717
2718
|
}), children]
|
|
2718
2719
|
});
|
|
2719
2720
|
//#endregion
|
|
2720
|
-
//#region src/
|
|
2721
|
+
//#region src/tui/programs/shared/screens/AgentSkillIntroScreen.tsx
|
|
2721
2722
|
/**
|
|
2722
2723
|
* AgentSkillIntroScreen — Default intro for generic agent-skill programs.
|
|
2723
2724
|
*
|
|
@@ -2804,7 +2805,7 @@ const AgentSkillIntroScreen = ({ store }) => {
|
|
|
2804
2805
|
});
|
|
2805
2806
|
};
|
|
2806
2807
|
//#endregion
|
|
2807
|
-
//#region src/
|
|
2808
|
+
//#region src/tui/programs/ai-observability/screens/AiObservabilityIntroScreen.tsx
|
|
2808
2809
|
const AiObservabilityIntroScreen = ({ store }) => {
|
|
2809
2810
|
useSyncExternalStore((cb) => store.subscribe(cb), () => store.getSnapshot());
|
|
2810
2811
|
const [showingMoreInfo, setShowingMoreInfo] = useState(false);
|
|
@@ -2881,7 +2882,7 @@ const AiObservabilityIntroScreen = ({ store }) => {
|
|
|
2881
2882
|
});
|
|
2882
2883
|
};
|
|
2883
2884
|
//#endregion
|
|
2884
|
-
//#region src/
|
|
2885
|
+
//#region src/tui/programs/metrics/screens/MetricsIntroScreen.tsx
|
|
2885
2886
|
const MetricsIntroScreen = ({ store }) => {
|
|
2886
2887
|
useSyncExternalStore((cb) => store.subscribe(cb), () => store.getSnapshot());
|
|
2887
2888
|
const [showingMoreInfo, setShowingMoreInfo] = useState(false);
|
|
@@ -2964,7 +2965,7 @@ const MetricsIntroScreen = ({ store }) => {
|
|
|
2964
2965
|
});
|
|
2965
2966
|
};
|
|
2966
2967
|
//#endregion
|
|
2967
|
-
//#region src/
|
|
2968
|
+
//#region src/tui/programs/error-tracking/screens/ErrorTrackingIntroScreen.tsx
|
|
2968
2969
|
const ErrorTrackingIntroScreen = ({ store }) => {
|
|
2969
2970
|
useSyncExternalStore((cb) => store.subscribe(cb), () => store.getSnapshot());
|
|
2970
2971
|
const [showingMoreInfo, setShowingMoreInfo] = useState(false);
|
|
@@ -2995,7 +2996,7 @@ const ErrorTrackingIntroScreen = ({ store }) => {
|
|
|
2995
2996
|
children: "error-tracking"
|
|
2996
2997
|
}),
|
|
2997
2998
|
" ",
|
|
2998
|
-
"program makes uncaught errors reach PostHog with readable stack traces. It installs and initializes the PostHog, wires up exception capture, and sets up source-map uploading when necessary. In PostHog, you can analyze these errors and have agents proactively suggest fixes in self-driving."
|
|
2999
|
+
"program makes uncaught errors reach PostHog with readable stack traces. It installs and initializes the PostHog, wires up exception capture, and sets up source-map uploading or release linking in your deploys when necessary. In PostHog, you can analyze these errors and have agents proactively suggest fixes in self-driving."
|
|
2999
3000
|
] }),
|
|
3000
3001
|
/* @__PURE__ */ jsx(Box, {
|
|
3001
3002
|
marginTop: 1,
|
|
@@ -3045,7 +3046,7 @@ const ErrorTrackingIntroScreen = ({ store }) => {
|
|
|
3045
3046
|
});
|
|
3046
3047
|
};
|
|
3047
3048
|
//#endregion
|
|
3048
|
-
//#region src/
|
|
3049
|
+
//#region src/tui/programs/error-tracking/screens/ErrorTrackingDetectScreen.tsx
|
|
3049
3050
|
/**
|
|
3050
3051
|
* ErrorTrackingDetectScreen — after login, runs the detection agent over the
|
|
3051
3052
|
* repo, streams its progress, and lets the user pick the project to set error
|
|
@@ -3224,7 +3225,7 @@ const ErrorTrackingDetectScreen = ({ store }) => {
|
|
|
3224
3225
|
});
|
|
3225
3226
|
};
|
|
3226
3227
|
//#endregion
|
|
3227
|
-
//#region src/
|
|
3228
|
+
//#region src/tui/programs/self-driving/screens/SelfDrivingIntroScreen.tsx
|
|
3228
3229
|
/**
|
|
3229
3230
|
* SelfDrivingIntroScreen — Welcome screen for the self-driving flow.
|
|
3230
3231
|
*
|
|
@@ -3399,7 +3400,7 @@ const DetectErrorBody = ({ error }) => {
|
|
|
3399
3400
|
}
|
|
3400
3401
|
};
|
|
3401
3402
|
//#endregion
|
|
3402
|
-
//#region src/
|
|
3403
|
+
//#region src/tui/programs/self-driving/screens/SelfDrivingIntegrationCheckScreen.tsx
|
|
3403
3404
|
/**
|
|
3404
3405
|
* SelfDrivingIntegrationCheckScreen — shown only when detection found no
|
|
3405
3406
|
* PostHog in the project. Self-driving needs a PostHog SDK, so we always
|
|
@@ -3653,7 +3654,7 @@ const SelfDrivingIntegrationCheckScreen = ({ store }) => {
|
|
|
3653
3654
|
});
|
|
3654
3655
|
};
|
|
3655
3656
|
//#endregion
|
|
3656
|
-
//#region src/
|
|
3657
|
+
//#region src/tui/programs/self-driving/screens/SelfDrivingIntegrationDetectScreen.tsx
|
|
3657
3658
|
/**
|
|
3658
3659
|
* SelfDrivingIntegrationDetectScreen — runs the Haiku detector over the repo,
|
|
3659
3660
|
* streams progress, then renders a picker of projects. Two kinds are offered:
|
|
@@ -3948,7 +3949,7 @@ const UnsupportedSummary = ({ unsupported }) => {
|
|
|
3948
3949
|
});
|
|
3949
3950
|
};
|
|
3950
3951
|
//#endregion
|
|
3951
|
-
//#region src/
|
|
3952
|
+
//#region src/tui/programs/self-driving/screens/SelfDrivingHandoffScreen.tsx
|
|
3952
3953
|
/**
|
|
3953
3954
|
* SelfDrivingHandoffScreen — the bridge between the integration run and the
|
|
3954
3955
|
* Self-driving run. Shown only in the integrate path (PostHog wasn't present, so
|
|
@@ -4018,7 +4019,7 @@ const SelfDrivingHandoffScreen = ({ store }) => {
|
|
|
4018
4019
|
});
|
|
4019
4020
|
};
|
|
4020
4021
|
//#endregion
|
|
4021
|
-
//#region src/
|
|
4022
|
+
//#region src/tui/programs/self-driving/hooks/useGithubConnection.ts
|
|
4022
4023
|
/**
|
|
4023
4024
|
* Polls `/integrations/` until the PostHog GitHub App shows up, writing the
|
|
4024
4025
|
* result to the session so the Self-driving GitHub gate can advance.
|
|
@@ -4082,7 +4083,7 @@ function useGithubConnection(store) {
|
|
|
4082
4083
|
]);
|
|
4083
4084
|
}
|
|
4084
4085
|
//#endregion
|
|
4085
|
-
//#region src/
|
|
4086
|
+
//#region src/tui/programs/self-driving/screens/SelfDrivingGitHubScreen.tsx
|
|
4086
4087
|
/**
|
|
4087
4088
|
* SelfDrivingGitHubScreen — the "Connect GitHub" gate, shown after the handoff
|
|
4088
4089
|
* and before the Self-driving run.
|
|
@@ -4234,7 +4235,7 @@ const SelfDrivingGitHubScreen = ({ store }) => {
|
|
|
4234
4235
|
});
|
|
4235
4236
|
};
|
|
4236
4237
|
//#endregion
|
|
4237
|
-
//#region src/
|
|
4238
|
+
//#region src/tui/programs/audit/screens/AuditIntroScreen.tsx
|
|
4238
4239
|
const AuditIntroScreen = ({ store }) => {
|
|
4239
4240
|
useSyncExternalStore((cb) => store.subscribe(cb), () => store.getSnapshot());
|
|
4240
4241
|
const [showingMoreInfo, setShowingMoreInfo] = useState(false);
|
|
@@ -4311,7 +4312,7 @@ const AuditIntroScreen = ({ store }) => {
|
|
|
4311
4312
|
});
|
|
4312
4313
|
};
|
|
4313
4314
|
//#endregion
|
|
4314
|
-
//#region src/
|
|
4315
|
+
//#region src/tui/programs/audit/screens/AuditAreaPane.tsx
|
|
4315
4316
|
/**
|
|
4316
4317
|
* AuditAreaPane — left-pane slide that follows whatever area the agent is
|
|
4317
4318
|
* currently checking, plus a wrap-up state once every check is resolved
|
|
@@ -4454,7 +4455,7 @@ const WritingReport = ({ reportPath }) => /* @__PURE__ */ jsxs(Box, {
|
|
|
4454
4455
|
]
|
|
4455
4456
|
});
|
|
4456
4457
|
//#endregion
|
|
4457
|
-
//#region src/
|
|
4458
|
+
//#region src/tui/programs/audit/screens/slides/events-audit/detectSdk.tsx
|
|
4458
4459
|
const DetectVisual = () => /* @__PURE__ */ jsxs(VisualBox, { children: [
|
|
4459
4460
|
/* @__PURE__ */ jsx(Text, {
|
|
4460
4461
|
dimColor: true,
|
|
@@ -4504,7 +4505,7 @@ const DetectSdkSlide = {
|
|
|
4504
4505
|
docsUrl: "https://posthog.com/docs/libraries"
|
|
4505
4506
|
};
|
|
4506
4507
|
//#endregion
|
|
4507
|
-
//#region src/
|
|
4508
|
+
//#region src/tui/programs/audit/screens/slides/events-audit/scanSites.tsx
|
|
4508
4509
|
const ScanVisual = () => /* @__PURE__ */ jsxs(VisualBox, { children: [
|
|
4509
4510
|
/* @__PURE__ */ jsx(Text, {
|
|
4510
4511
|
dimColor: true,
|
|
@@ -4543,7 +4544,7 @@ const ScanSitesSlide = {
|
|
|
4543
4544
|
docsUrl: "https://posthog.com/docs/product-analytics/capture-events"
|
|
4544
4545
|
};
|
|
4545
4546
|
//#endregion
|
|
4546
|
-
//#region src/
|
|
4547
|
+
//#region src/tui/programs/audit/screens/slides/events-audit/enrichSites.tsx
|
|
4547
4548
|
const EnrichVisual = () => /* @__PURE__ */ jsxs(VisualBox, { children: [
|
|
4548
4549
|
/* @__PURE__ */ jsx(Text, {
|
|
4549
4550
|
dimColor: true,
|
|
@@ -4607,7 +4608,7 @@ const EnrichSitesSlide = {
|
|
|
4607
4608
|
docsUrl: "https://posthog.com/docs/product-analytics/best-practices"
|
|
4608
4609
|
};
|
|
4609
4610
|
//#endregion
|
|
4610
|
-
//#region src/
|
|
4611
|
+
//#region src/tui/programs/audit/screens/slides/events-audit/queryVolume.tsx
|
|
4611
4612
|
const QueryVisual = () => /* @__PURE__ */ jsxs(VisualBox, { children: [
|
|
4612
4613
|
/* @__PURE__ */ jsx(Text, {
|
|
4613
4614
|
dimColor: true,
|
|
@@ -4648,7 +4649,7 @@ const QueryVolumeSlide = {
|
|
|
4648
4649
|
docsUrl: "https://posthog.com/docs/product-analytics/sql"
|
|
4649
4650
|
};
|
|
4650
4651
|
//#endregion
|
|
4651
|
-
//#region src/
|
|
4652
|
+
//#region src/tui/programs/audit/screens/slides/events-audit/writeReport.tsx
|
|
4652
4653
|
const ReportVisual = () => /* @__PURE__ */ jsxs(VisualBox, { children: [
|
|
4653
4654
|
/* @__PURE__ */ jsx(Text, {
|
|
4654
4655
|
dimColor: true,
|
|
@@ -4682,7 +4683,7 @@ const WriteReportSlide = {
|
|
|
4682
4683
|
docsUrl: "https://posthog.com/docs/product-analytics/best-practices"
|
|
4683
4684
|
};
|
|
4684
4685
|
//#endregion
|
|
4685
|
-
//#region src/
|
|
4686
|
+
//#region src/tui/programs/audit/screens/slides/events-audit/createDashboard.tsx
|
|
4686
4687
|
const DashboardVisual = () => /* @__PURE__ */ jsxs(VisualBox, { children: [
|
|
4687
4688
|
/* @__PURE__ */ jsx(Text, {
|
|
4688
4689
|
dimColor: true,
|
|
@@ -4724,7 +4725,7 @@ const CreateDashboardSlide = {
|
|
|
4724
4725
|
docsUrl: "https://posthog.com/docs/product-analytics/dashboards"
|
|
4725
4726
|
};
|
|
4726
4727
|
//#endregion
|
|
4727
|
-
//#region src/
|
|
4728
|
+
//#region src/tui/programs/audit/screens/slides/events-audit/uploadNotebook.tsx
|
|
4728
4729
|
const NotebookVisual = () => /* @__PURE__ */ jsxs(VisualBox, { children: [
|
|
4729
4730
|
/* @__PURE__ */ jsx(Text, {
|
|
4730
4731
|
dimColor: true,
|
|
@@ -4755,7 +4756,7 @@ const NotebookVisual = () => /* @__PURE__ */ jsxs(VisualBox, { children: [
|
|
|
4755
4756
|
})
|
|
4756
4757
|
] });
|
|
4757
4758
|
//#endregion
|
|
4758
|
-
//#region src/
|
|
4759
|
+
//#region src/tui/programs/audit/screens/slides/events-audit/index.ts
|
|
4759
4760
|
const EVENTS_AUDIT_AREA_SLIDES = [
|
|
4760
4761
|
DetectSdkSlide,
|
|
4761
4762
|
ScanSitesSlide,
|
|
@@ -4775,7 +4776,7 @@ const EVENTS_AUDIT_AREA_SLIDES = [
|
|
|
4775
4776
|
}
|
|
4776
4777
|
];
|
|
4777
4778
|
//#endregion
|
|
4778
|
-
//#region src/
|
|
4779
|
+
//#region src/tui/programs/audit/screens/PendingChecksList.tsx
|
|
4779
4780
|
function groupByArea(checks) {
|
|
4780
4781
|
const order = [];
|
|
4781
4782
|
const map = /* @__PURE__ */ new Map();
|
|
@@ -4886,7 +4887,7 @@ const PendingChecksList = ({ checks }) => {
|
|
|
4886
4887
|
});
|
|
4887
4888
|
};
|
|
4888
4889
|
//#endregion
|
|
4889
|
-
//#region src/
|
|
4890
|
+
//#region src/tui/programs/audit/screens/AuditRunScreen.tsx
|
|
4890
4891
|
const AuditRunScreen = ({ store }) => {
|
|
4891
4892
|
useSyncExternalStore((cb) => store.subscribe(cb), () => store.getSnapshot());
|
|
4892
4893
|
const statuses = store.statusMessages.length > 0 ? store.statusMessages : void 0;
|
|
@@ -4937,7 +4938,7 @@ const AuditRunScreen = ({ store }) => {
|
|
|
4937
4938
|
});
|
|
4938
4939
|
};
|
|
4939
4940
|
//#endregion
|
|
4940
|
-
//#region src/
|
|
4941
|
+
//#region src/tui/programs/audit/screens/AuditChecksOutroSection.tsx
|
|
4941
4942
|
const MAX_VISIBLE = 6;
|
|
4942
4943
|
const AuditChecksOutroSection = ({ checks, installDir }) => {
|
|
4943
4944
|
if (checks.length === 0) return null;
|
|
@@ -5013,7 +5014,7 @@ const AuditChecksOutroSection = ({ checks, installDir }) => {
|
|
|
5013
5014
|
});
|
|
5014
5015
|
};
|
|
5015
5016
|
//#endregion
|
|
5016
|
-
//#region src/
|
|
5017
|
+
//#region src/tui/programs/audit/screens/AuditOutroScreen.tsx
|
|
5017
5018
|
/**
|
|
5018
5019
|
* AuditOutroScreen — Audit-specific post-run summary. Renders the standard
|
|
5019
5020
|
* success / error / cancel views with the audit checks summary inlined into
|
|
@@ -5116,7 +5117,7 @@ const AuditOutroScreen = ({ store }) => {
|
|
|
5116
5117
|
});
|
|
5117
5118
|
};
|
|
5118
5119
|
//#endregion
|
|
5119
|
-
//#region src/
|
|
5120
|
+
//#region src/tui/screens/SetupScreen.tsx
|
|
5120
5121
|
/**
|
|
5121
5122
|
* SetupScreen — Generic framework disambiguation.
|
|
5122
5123
|
*
|
|
@@ -5302,7 +5303,7 @@ async function openInBrowser(url) {
|
|
|
5302
5303
|
return false;
|
|
5303
5304
|
}
|
|
5304
5305
|
//#endregion
|
|
5305
|
-
//#region src/
|
|
5306
|
+
//#region src/tui/screens/AuthScreen.tsx
|
|
5306
5307
|
/**
|
|
5307
5308
|
* AuthScreen — Shown while waiting for OAuth authentication.
|
|
5308
5309
|
*
|
|
@@ -5496,7 +5497,7 @@ const AuthScreen = ({ store }) => {
|
|
|
5496
5497
|
});
|
|
5497
5498
|
};
|
|
5498
5499
|
//#endregion
|
|
5499
|
-
//#region src/
|
|
5500
|
+
//#region src/tui/screens/RunScreen.tsx
|
|
5500
5501
|
/**
|
|
5501
5502
|
* RunScreen — Default observational view of the agent run.
|
|
5502
5503
|
*
|
|
@@ -5571,7 +5572,7 @@ const RunScreen = ({ store }) => {
|
|
|
5571
5572
|
});
|
|
5572
5573
|
};
|
|
5573
5574
|
//#endregion
|
|
5574
|
-
//#region src/
|
|
5575
|
+
//#region src/tui/screens/KeepSkillsScreen.tsx
|
|
5575
5576
|
/**
|
|
5576
5577
|
* KeepSkillsScreen — Ask whether to keep installed skills in .claude/skills/.
|
|
5577
5578
|
*
|
|
@@ -5726,7 +5727,7 @@ const KeepSkillsScreen = ({ store }) => {
|
|
|
5726
5727
|
});
|
|
5727
5728
|
};
|
|
5728
5729
|
//#endregion
|
|
5729
|
-
//#region src/
|
|
5730
|
+
//#region src/tui/screens/MintFailureScreen.tsx
|
|
5730
5731
|
/** Two blocks of the PostHog flag, left of the headline. */
|
|
5731
5732
|
const Mark = () => /* @__PURE__ */ jsxs(Text, { children: [/* @__PURE__ */ jsx(Text, {
|
|
5732
5733
|
color: "#1D4AFF",
|
|
@@ -5878,7 +5879,7 @@ function MintFailureScreen({ store, services }) {
|
|
|
5878
5879
|
});
|
|
5879
5880
|
}
|
|
5880
5881
|
//#endregion
|
|
5881
|
-
//#region src/
|
|
5882
|
+
//#region src/tui/services/coding-agent-launcher.ts
|
|
5882
5883
|
const quote = (value) => `'${value.replace(/'/g, `'"'"'`)}'`;
|
|
5883
5884
|
const batchQuote = (value) => `"${value.replace(/%/g, "%%")}"`;
|
|
5884
5885
|
async function executable(name) {
|
|
@@ -5976,7 +5977,7 @@ async function openCodingAgent(agent, directory, spellbookPath) {
|
|
|
5976
5977
|
}
|
|
5977
5978
|
}
|
|
5978
5979
|
//#endregion
|
|
5979
|
-
//#region src/
|
|
5980
|
+
//#region src/tui/services/wizard-spellbook.ts
|
|
5980
5981
|
function selectSkills(menu, session, program) {
|
|
5981
5982
|
const entries = Object.values(menu.categories).flat().filter((entry) => /^[a-z0-9]+(?:-[a-z0-9]+)*$/.test(entry.id));
|
|
5982
5983
|
const skillId = program.skillId ?? session.skillId;
|
|
@@ -6060,7 +6061,7 @@ async function writeWizardSpellbook(session, program) {
|
|
|
6060
6061
|
};
|
|
6061
6062
|
}
|
|
6062
6063
|
//#endregion
|
|
6063
|
-
//#region src/
|
|
6064
|
+
//#region src/tui/screens/ExitScreen.tsx
|
|
6064
6065
|
/**
|
|
6065
6066
|
* ExitScreen — Final step in every program.
|
|
6066
6067
|
*
|
|
@@ -6074,7 +6075,7 @@ const ExitScreen = ({ store }) => {
|
|
|
6074
6075
|
return null;
|
|
6075
6076
|
};
|
|
6076
6077
|
//#endregion
|
|
6077
|
-
//#region src/
|
|
6078
|
+
//#region src/tui/screens/AuthErrorScreen.tsx
|
|
6078
6079
|
/**
|
|
6079
6080
|
* AuthErrorScreen — Shown when the PostHog LLM Gateway returns a 401.
|
|
6080
6081
|
*
|
|
@@ -6273,7 +6274,7 @@ const AuthErrorScreen = ({ store }) => {
|
|
|
6273
6274
|
});
|
|
6274
6275
|
};
|
|
6275
6276
|
//#endregion
|
|
6276
|
-
//#region src/
|
|
6277
|
+
//#region src/tui/screens/SessionTimeoutScreen.tsx
|
|
6277
6278
|
/**
|
|
6278
6279
|
* SessionTimeoutScreen — shown when the OAuth login window expires before the
|
|
6279
6280
|
* user completes authorization.
|
|
@@ -6318,7 +6319,7 @@ const SessionTimeoutScreen = ({ store }) => {
|
|
|
6318
6319
|
});
|
|
6319
6320
|
};
|
|
6320
6321
|
//#endregion
|
|
6321
|
-
//#region src/
|
|
6322
|
+
//#region src/tui/screens/WizardAskScreen.tsx
|
|
6322
6323
|
/**
|
|
6323
6324
|
* WizardAskScreen — Overlay for the `wizard_ask` MCP tool.
|
|
6324
6325
|
*
|
|
@@ -6457,6 +6458,7 @@ const WizardAskScreen = ({ store }) => {
|
|
|
6457
6458
|
if (index + 1 < total) {
|
|
6458
6459
|
setAnswers(next);
|
|
6459
6460
|
setIndex(index + 1);
|
|
6461
|
+
store.noteAskProgress();
|
|
6460
6462
|
return;
|
|
6461
6463
|
}
|
|
6462
6464
|
store.resolvePendingQuestion(next);
|
|
@@ -6605,17 +6607,17 @@ const QuestionInput = ({ question, onSubmit }) => {
|
|
|
6605
6607
|
}
|
|
6606
6608
|
};
|
|
6607
6609
|
//#endregion
|
|
6608
|
-
//#region src/
|
|
6610
|
+
//#region src/shared/mcp-clients/login-client.ts
|
|
6609
6611
|
function isLoginCapable(client) {
|
|
6610
6612
|
return typeof client === "object" && client !== null && "loginCommand" in client;
|
|
6611
6613
|
}
|
|
6612
6614
|
//#endregion
|
|
6613
|
-
//#region src/
|
|
6615
|
+
//#region src/shared/mcp-clients/browser-client.ts
|
|
6614
6616
|
function isBrowserFinishable(c) {
|
|
6615
6617
|
return typeof c === "object" && c !== null && "connectorUrl" in c && "finishInstruction" in c;
|
|
6616
6618
|
}
|
|
6617
6619
|
//#endregion
|
|
6618
|
-
//#region src/
|
|
6620
|
+
//#region src/tui/services/mcp-installer.ts
|
|
6619
6621
|
/**
|
|
6620
6622
|
* McpInstaller — service layer between McpScreen and MCP business logic.
|
|
6621
6623
|
*
|
|
@@ -6690,7 +6692,7 @@ function createMcpInstaller() {
|
|
|
6690
6692
|
};
|
|
6691
6693
|
}
|
|
6692
6694
|
//#endregion
|
|
6693
|
-
//#region src/
|
|
6695
|
+
//#region src/tui/tools/mcp/services/suggested-prompts.ts
|
|
6694
6696
|
/**
|
|
6695
6697
|
* Production services. The `runPromptStreaming` implementation lives
|
|
6696
6698
|
* in a separate module so the heavy SDK import is only paid when
|
|
@@ -6739,7 +6741,7 @@ function createMcpSuggestedPromptsServices(store) {
|
|
|
6739
6741
|
};
|
|
6740
6742
|
}
|
|
6741
6743
|
async function* runProductionPromptStreaming(args) {
|
|
6742
|
-
const { runMcpPromptViaSdk } = await import("./agent-
|
|
6744
|
+
const { runMcpPromptViaSdk } = await import("./agent-QGK2YzlX.js");
|
|
6743
6745
|
yield* runMcpPromptViaSdk(args);
|
|
6744
6746
|
}
|
|
6745
6747
|
//#endregion
|
|
@@ -6820,7 +6822,7 @@ function createScreens(store, services) {
|
|
|
6820
6822
|
};
|
|
6821
6823
|
}
|
|
6822
6824
|
//#endregion
|
|
6823
|
-
//#region src/
|
|
6825
|
+
//#region src/tui/App.tsx
|
|
6824
6826
|
const App = ({ store }) => {
|
|
6825
6827
|
const services = useMemo(() => createServices(store), [store]);
|
|
6826
6828
|
return /* @__PURE__ */ jsx(ScreenContainer, {
|
|
@@ -6829,7 +6831,7 @@ const App = ({ store }) => {
|
|
|
6829
6831
|
});
|
|
6830
6832
|
};
|
|
6831
6833
|
//#endregion
|
|
6832
|
-
//#region src/
|
|
6834
|
+
//#region src/tui/exit-line.ts
|
|
6833
6835
|
/**
|
|
6834
6836
|
* exit-line.ts — builds the text printed to the MAIN terminal buffer after the
|
|
6835
6837
|
* wizard leaves the alternate screen on exit.
|
|
@@ -6907,7 +6909,7 @@ function getExitLine(store) {
|
|
|
6907
6909
|
return parts.join("\n\n");
|
|
6908
6910
|
}
|
|
6909
6911
|
//#endregion
|
|
6910
|
-
//#region src/
|
|
6912
|
+
//#region src/tui/start-tui.ts
|
|
6911
6913
|
/**
|
|
6912
6914
|
* start-tui.ts — Sets up the Ink TUI renderer and InkUI.
|
|
6913
6915
|
*
|
|
@@ -6959,4 +6961,4 @@ function startTUI(version, program = Program.PostHogIntegration, onInterrupt) {
|
|
|
6959
6961
|
//#endregion
|
|
6960
6962
|
export { startTUI };
|
|
6961
6963
|
|
|
6962
|
-
//# sourceMappingURL=start-tui-
|
|
6964
|
+
//# sourceMappingURL=start-tui-DicLfgsj.js.map
|