@posthog/wizard 2.63.0 → 2.64.1
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-Bsyb6MUB.js → add-mcp-server-to-clients-BUqb93_I.js} +4 -4
- package/dist/{add-mcp-server-to-clients-Bsyb6MUB.js.map → add-mcp-server-to-clients-BUqb93_I.js.map} +1 -1
- package/dist/{agent-interface-C4CV7p0L.js → agent-interface-NurnwA01.js} +6 -6
- package/dist/{agent-interface-C4CV7p0L.js.map → agent-interface-NurnwA01.js.map} +1 -1
- package/dist/{agent-prompt-loader-DiM8xfSZ.js → agent-prompt-loader-CbowPuWI.js} +7 -6
- package/dist/agent-prompt-loader-CbowPuWI.js.map +1 -0
- package/dist/{agent-runner-X3JWS2WK.js → agent-runner-DisJWxJa.js} +28 -22
- package/dist/{agent-runner-X3JWS2WK.js.map → agent-runner-DisJWxJa.js.map} +1 -1
- package/dist/{analytics-YLZKudpE.js → analytics-D3vKvr3l.js} +2 -2
- package/dist/{analytics-YLZKudpE.js.map → analytics-D3vKvr3l.js.map} +1 -1
- package/dist/analytics-hNca7GLq.js +2 -0
- package/dist/{api-DlRJAFI2.js → api-Bhe8jpUR.js} +3 -3
- package/dist/{api-DlRJAFI2.js.map → api-Bhe8jpUR.js.map} +1 -1
- package/dist/bin.js +197 -43
- package/dist/bin.js.map +1 -1
- package/dist/{bounded-fs-CYxETRCt.js → bounded-fs-BeWc675I.js} +3 -3
- package/dist/{bounded-fs-CYxETRCt.js.map → bounded-fs-BeWc675I.js.map} +1 -1
- package/dist/check-screens.tsx +15 -0
- package/dist/{ci-install-Cyqj_i3I.js → ci-install-BpNzfghY.js} +4 -4
- package/dist/{ci-install-Cyqj_i3I.js.map → ci-install-BpNzfghY.js.map} +1 -1
- package/dist/{debug-2W78IhFE.js → debug-DGfRPr2A.js} +1 -1
- package/dist/{debug-BYIoy1Oz.js → debug-hy6aWAyk.js} +3 -3
- package/dist/{debug-BYIoy1Oz.js.map → debug-hy6aWAyk.js.map} +1 -1
- package/dist/{env-api-key-B7kiHT3h.js → env-api-key-CMPe-WJp.js} +2 -2
- package/dist/{env-api-key-B7kiHT3h.js.map → env-api-key-CMPe-WJp.js.map} +1 -1
- package/dist/{environment-Br-oy8cq.js → environment-Ktu0Ktjl.js} +4 -4
- package/dist/{environment-Br-oy8cq.js.map → environment-Ktu0Ktjl.js.map} +1 -1
- package/dist/{file-watcher-HaK4IrJ5.js → file-watcher-CqJ1dgjq.js} +2 -2
- package/dist/{file-watcher-HaK4IrJ5.js.map → file-watcher-CqJ1dgjq.js.map} +1 -1
- package/dist/{headless-ui-Dd7Ty4Ul.js → headless-ui-zZLgs4QL.js} +2 -2
- package/dist/{headless-ui-Dd7Ty4Ul.js.map → headless-ui-zZLgs4QL.js.map} +1 -1
- package/dist/{interactive-CYv97Lgg.js → interactive-BUw1SEOz.js} +2 -2
- package/dist/{interactive-CYv97Lgg.js.map → interactive-BUw1SEOz.js.map} +1 -1
- package/dist/{mcp-D6cJWFPn.js → mcp-C7NMhhWa.js} +2 -2
- package/dist/{mcp-D6cJWFPn.js.map → mcp-C7NMhhWa.js.map} +1 -1
- package/dist/{mcp-prompt-streaming-DYX7vQ3q.js → mcp-prompt-streaming-CKyqqB10.js} +3 -3
- package/dist/{mcp-prompt-streaming-DYX7vQ3q.js.map → mcp-prompt-streaming-CKyqqB10.js.map} +1 -1
- package/dist/{non-interactive-BR4kmPE5.js → non-interactive-73xGtug6.js} +2 -2
- package/dist/{non-interactive-BR4kmPE5.js.map → non-interactive-73xGtug6.js.map} +1 -1
- package/dist/{orchestrator-tools-CTP6l34W.js → orchestrator-tools-DcMJzfDH.js} +3 -3
- package/dist/{orchestrator-tools-CTP6l34W.js.map → orchestrator-tools-DcMJzfDH.js.map} +1 -1
- package/dist/{package-manager-FyJmIsqr.js → package-manager-KweKX3u_.js} +2 -2
- package/dist/{package-manager-FyJmIsqr.js.map → package-manager-KweKX3u_.js.map} +1 -1
- package/dist/{pi-DeF8mWlb.js → pi-B4p4gpr0.js} +11 -11
- package/dist/{pi-DeF8mWlb.js.map → pi-B4p4gpr0.js.map} +1 -1
- package/dist/{playground-BSMgOp3k.js → playground-AEkWcB1E.js} +6 -6
- package/dist/{playground-BSMgOp3k.js.map → playground-AEkWcB1E.js.map} +1 -1
- package/dist/{posthog-ZWC-083a.js → posthog-4PljLcIz.js} +2 -2
- package/dist/{posthog-ZWC-083a.js.map → posthog-4PljLcIz.js.map} +1 -1
- package/dist/{posthog-integration-CoAID6XW.js → posthog-integration-DKlEg8-Q.js} +15 -15
- package/dist/{posthog-integration-CoAID6XW.js.map → posthog-integration-DKlEg8-Q.js.map} +1 -1
- package/dist/{provisioning-xirriYQJ.js → provisioning-QsG7HDCm.js} +4 -4
- package/dist/{provisioning-xirriYQJ.js.map → provisioning-QsG7HDCm.js.map} +1 -1
- package/dist/{queue-tools-BtJ7_fEW.js → queue-tools-Jlz9dV_B.js} +3 -3
- package/dist/{queue-tools-BtJ7_fEW.js.map → queue-tools-Jlz9dV_B.js.map} +1 -1
- package/dist/{registry-B-whj8SQ.js → registry-PG_nV5Bf.js} +5 -5
- package/dist/{registry-B-whj8SQ.js.map → registry-PG_nV5Bf.js.map} +1 -1
- package/dist/{security-CPtn_dUW.js → security-BKUJk-Gg.js} +5 -5
- package/dist/{security-CPtn_dUW.js.map → security-BKUJk-Gg.js.map} +1 -1
- package/dist/{setup-utils-e78zkZoW.js → setup-utils-DNpldqge.js} +60 -12
- package/dist/setup-utils-DNpldqge.js.map +1 -0
- package/dist/{start-tui-B08PfE0V.js → start-tui-D4B0-2nr.js} +37 -18
- package/dist/{start-tui-B08PfE0V.js.map → start-tui-D4B0-2nr.js.map} +1 -1
- package/dist/{steps-Dpd8UTJX.js → steps-Dy0AXdGo.js} +7 -7
- package/dist/{steps-Dpd8UTJX.js.map → steps-Dy0AXdGo.js.map} +1 -1
- package/dist/{store-B-ctPH7O.js → store-DouLLelV.js} +4 -4
- package/dist/{store-B-ctPH7O.js.map → store-DouLLelV.js.map} +1 -1
- package/dist/{subagent-B18BesIW.js → subagent-B4yVs5A2.js} +2 -2
- package/dist/{subagent-B18BesIW.js.map → subagent-B4yVs5A2.js.map} +1 -1
- package/dist/{task-D1RaGg3b.js → task-DRKYEbKM.js} +12 -12
- package/dist/{task-D1RaGg3b.js.map → task-DRKYEbKM.js.map} +1 -1
- package/dist/{task-stream-DvTf1NOr.js → task-stream-BGUP7yA-.js} +4 -4
- package/dist/{task-stream-DvTf1NOr.js.map → task-stream-BGUP7yA-.js.map} +1 -1
- package/dist/{tasks-CvHNNFB1.js → tasks-B2GzXsZ0.js} +2 -2
- package/dist/{tasks-CvHNNFB1.js.map → tasks-B2GzXsZ0.js.map} +1 -1
- package/dist/{telemetry-C72C8V6q.js → telemetry-6zaFfCcy.js} +3 -3
- package/dist/{telemetry-C72C8V6q.js.map → telemetry-6zaFfCcy.js.map} +1 -1
- package/dist/{terminal-BJms6G77.js → terminal-Bu3eHFn0.js} +11 -11
- package/dist/{terminal-BJms6G77.js.map → terminal-Bu3eHFn0.js.map} +1 -1
- package/dist/{tools-BcXOgEvh.js → tools-DQO5tKJg.js} +6 -6
- package/dist/{tools-BcXOgEvh.js.map → tools-DQO5tKJg.js.map} +1 -1
- package/dist/{wizard-abort-DRscjUOg.js → wizard-abort-D6jJh8u5.js} +3 -3
- package/dist/{wizard-abort-DRscjUOg.js.map → wizard-abort-D6jJh8u5.js.map} +1 -1
- package/dist/{wizard-abort-BUpx4qnK.js → wizard-abort-PgTdRS1l.js} +1 -1
- package/dist/yara-hooks-CN_uFGCu.js +2 -0
- package/dist/{yara-hooks-DKRsn0lN.js → yara-hooks-DjReXmTQ.js} +4 -4
- package/dist/{yara-hooks-DKRsn0lN.js.map → yara-hooks-DjReXmTQ.js.map} +1 -1
- package/package.json +1 -1
- package/dist/agent-prompt-loader-DiM8xfSZ.js.map +0 -1
- package/dist/analytics-F6z7o3N2.js +0 -2
- package/dist/setup-utils-e78zkZoW.js.map +0 -1
- package/dist/yara-hooks-fHntXaFu.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 { i as readProjectFile, t as IGNORED_DIRS } from "./bounded-fs-
|
|
4
|
-
import { o as extractOAuthCode, t as getOrAskForProjectData } from "./setup-utils-
|
|
5
|
-
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-hy6aWAyk.js";
|
|
2
|
+
import { n as analytics } from "./analytics-D3vKvr3l.js";
|
|
3
|
+
import { i as readProjectFile, t as IGNORED_DIRS } from "./bounded-fs-BeWc675I.js";
|
|
4
|
+
import { o as extractOAuthCode, t as getOrAskForProjectData } from "./setup-utils-DNpldqge.js";
|
|
5
|
+
import { t as ApiError } from "./api-Bhe8jpUR.js";
|
|
6
6
|
import { t as ADDITIONAL_FEATURE_LABELS } from "./wizard-session-BUhlJ1b8.js";
|
|
7
|
-
import { i as wizardAbort } from "./wizard-abort-
|
|
8
|
-
import { a as formatCostUsd, o as formatTokenCount } from "./agent-runner-
|
|
9
|
-
import { C as downloadSkill, T as fetchSkillMenu } from "./agent-interface-
|
|
10
|
-
import { _ as AUDIT_CHECKS_KEY, b as coerceAuditChecks, g as AUDIT_CHECKS_FILE, x as getAuditChecks, y as AUDIT_SEVERITY_STYLE } from "./yara-hooks-
|
|
11
|
-
import { t as FRAMEWORK_REGISTRY } from "./registry-
|
|
12
|
-
import {
|
|
7
|
+
import { i as wizardAbort } from "./wizard-abort-D6jJh8u5.js";
|
|
8
|
+
import { a as formatCostUsd, o as formatTokenCount } from "./agent-runner-DisJWxJa.js";
|
|
9
|
+
import { C as downloadSkill, T as fetchSkillMenu } from "./agent-interface-NurnwA01.js";
|
|
10
|
+
import { _ as AUDIT_CHECKS_KEY, b as coerceAuditChecks, g as AUDIT_CHECKS_FILE, x as getAuditChecks, y as AUDIT_SEVERITY_STYLE } from "./yara-hooks-DjReXmTQ.js";
|
|
11
|
+
import { t as FRAMEWORK_REGISTRY } from "./registry-PG_nV5Bf.js";
|
|
12
|
+
import { b as getDetectedWarehouseSources, h as Icons, m as Colors, t as SETUP_REPORT_FILE, w as detectProjectsWithAgent } from "./posthog-integration-DKlEg8-Q.js";
|
|
13
13
|
import { A as STRIPE_SDKS, C as MANUAL_SDK_VARIANTS, D as fetchHealthIssues, O as getContentBlocks, S as MANUAL_SDK_INSTALL, T as SOURCE_MAPS_CONTEXT_KEYS, _ as detectSelfDrivingIntegrationProjects, a as useStdoutDimensions, b as DISPLAY_NAME, f as Program, g as PRICING_SHORT, h as PRICING_LONG, k as POSTHOG_SDKS, m as NO_DEFAULT_LIMIT, n as useKeyBindings, p as getProgramConfig, t as PickerMenu, v as SELF_DRIVING_INTEGRATE_PATH_KEY, y as AUTOMATABLE_VARIANTS } from "./bin.js";
|
|
14
|
-
import { r as totalTokenCount, t as WizardStore } from "./store-
|
|
15
|
-
import { A as EventPlanViewer, C as VisualizerTab, D as HNViewer, F as ConfirmationInput, L as ProgressList, M as LinkText, N as extractUrls, O as TabContainer, P as ModalOverlay, R as LoadingBox, 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 LogViewer, 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 SplitView } from "./terminal-
|
|
14
|
+
import { r as totalTokenCount, t as WizardStore } from "./store-DouLLelV.js";
|
|
15
|
+
import { A as EventPlanViewer, C as VisualizerTab, D as HNViewer, F as ConfirmationInput, L as ProgressList, M as LinkText, N as extractUrls, O as TabContainer, P as ModalOverlay, R as LoadingBox, 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 LogViewer, 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 SplitView } from "./terminal-Bu3eHFn0.js";
|
|
16
16
|
import { c as namesWithStatus, d as toClientResult, l as redactSecrets, t as ALL_FEATURE_VALUES } from "./defaults-mrAre0xM.js";
|
|
17
|
-
import { t as startFileWatcher } from "./file-watcher-
|
|
18
|
-
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-
|
|
17
|
+
import { t as startFileWatcher } from "./file-watcher-CqJ1dgjq.js";
|
|
18
|
+
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-BUqb93_I.js";
|
|
19
19
|
import { existsSync, readFileSync, readdirSync } from "fs";
|
|
20
20
|
import path, { join } from "path";
|
|
21
21
|
import { join as join$1 } from "node:path";
|
|
@@ -1134,7 +1134,7 @@ const FrameworkPicker = ({ store, onComplete }) => {
|
|
|
1134
1134
|
})),
|
|
1135
1135
|
onSelect: (value) => {
|
|
1136
1136
|
const integration = Array.isArray(value) ? value[0] : value;
|
|
1137
|
-
import("./registry-
|
|
1137
|
+
import("./registry-PG_nV5Bf.js").then((n) => n.n).then(({ FRAMEWORK_REGISTRY }) => {
|
|
1138
1138
|
const config = FRAMEWORK_REGISTRY[integration];
|
|
1139
1139
|
store.setFrameworkConfig(integration, config);
|
|
1140
1140
|
store.setDetectedFramework(config.metadata.name);
|
|
@@ -5223,6 +5223,14 @@ const SessionTimeoutScreen = ({ store }) => {
|
|
|
5223
5223
|
* When the user submits the last question, the store resolves the
|
|
5224
5224
|
* pending request and the overlay pops, returning the agent to its run.
|
|
5225
5225
|
*/
|
|
5226
|
+
/**
|
|
5227
|
+
* Key policy for the ask overlay: Esc declines the whole request, everything
|
|
5228
|
+
* else is left to the focused input. Extracted so the wiring is unit-testable
|
|
5229
|
+
* without a live Ink render (the test suite stubs `useInput` to a no-op).
|
|
5230
|
+
*/
|
|
5231
|
+
function handleAskKey(key, store) {
|
|
5232
|
+
if (key.escape) store.cancelPendingQuestion();
|
|
5233
|
+
}
|
|
5226
5234
|
const WizardAskScreen = ({ store }) => {
|
|
5227
5235
|
useSyncExternalStore((cb) => store.subscribe(cb), () => store.getSnapshot());
|
|
5228
5236
|
const pending = store.session.pendingQuestion;
|
|
@@ -5265,6 +5273,7 @@ const WizardAskScreen = ({ store }) => {
|
|
|
5265
5273
|
});
|
|
5266
5274
|
}
|
|
5267
5275
|
}] : []);
|
|
5276
|
+
useInput((_input, key) => handleAskKey(key, store));
|
|
5268
5277
|
if (!pending) return null;
|
|
5269
5278
|
if (pending.id !== lastPendingId) {
|
|
5270
5279
|
setLastPendingId(pending.id);
|
|
@@ -5340,6 +5349,16 @@ const WizardAskScreen = ({ store }) => {
|
|
|
5340
5349
|
question,
|
|
5341
5350
|
onSubmit: submit
|
|
5342
5351
|
}, `${pending.id}:${question.id}`)
|
|
5352
|
+
}),
|
|
5353
|
+
/* @__PURE__ */ jsx(Box, {
|
|
5354
|
+
marginTop: 1,
|
|
5355
|
+
children: /* @__PURE__ */ jsxs(Text, {
|
|
5356
|
+
dimColor: true,
|
|
5357
|
+
children: [/* @__PURE__ */ jsx(Text, {
|
|
5358
|
+
color: Colors.accent,
|
|
5359
|
+
children: "ESC"
|
|
5360
|
+
}), " skip"]
|
|
5361
|
+
})
|
|
5343
5362
|
})
|
|
5344
5363
|
]
|
|
5345
5364
|
});
|
|
@@ -5514,7 +5533,7 @@ function createMcpSuggestedPromptsServices(store) {
|
|
|
5514
5533
|
};
|
|
5515
5534
|
}
|
|
5516
5535
|
async function* runProductionPromptStreaming(args) {
|
|
5517
|
-
const { runMcpPromptViaSdk } = await import("./mcp-prompt-streaming-
|
|
5536
|
+
const { runMcpPromptViaSdk } = await import("./mcp-prompt-streaming-CKyqqB10.js");
|
|
5518
5537
|
yield* runMcpPromptViaSdk(args);
|
|
5519
5538
|
}
|
|
5520
5539
|
//#endregion
|
|
@@ -5692,4 +5711,4 @@ function startTUI(version, program = Program.PostHogIntegration) {
|
|
|
5692
5711
|
//#endregion
|
|
5693
5712
|
export { startTUI };
|
|
5694
5713
|
|
|
5695
|
-
//# sourceMappingURL=start-tui-
|
|
5714
|
+
//# sourceMappingURL=start-tui-D4B0-2nr.js.map
|