@posthog/wizard 2.16.1 → 2.17.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/{TextBlock-CdeZog_6.js → TextBlock-D0Ep3zC9.js} +2 -2
- package/dist/{TextBlock-CdeZog_6.js.map → TextBlock-D0Ep3zC9.js.map} +1 -1
- package/dist/{add-mcp-server-to-clients-BS6Rjcwh.js → add-mcp-server-to-clients-D4PK6ulR.js} +38 -5
- package/dist/add-mcp-server-to-clients-D4PK6ulR.js.map +1 -0
- package/dist/{agent-interface-B4eUlMso.js → agent-interface-7t5DBo2A.js} +7 -7
- package/dist/{agent-interface-B4eUlMso.js.map → agent-interface-7t5DBo2A.js.map} +1 -1
- package/dist/{agent-runner-BxqiKVEf.js → agent-runner-CTkKLVhp.js} +8 -7
- package/dist/{agent-runner-BxqiKVEf.js.map → agent-runner-CTkKLVhp.js.map} +1 -1
- package/dist/{analytics-DUuUurR3.js → analytics-DN_Gy87F.js} +2 -2
- package/dist/{analytics-DUuUurR3.js.map → analytics-DN_Gy87F.js.map} +1 -1
- package/dist/{api-CGJ1iGps.js → api-serd0SMY.js} +14 -4
- package/dist/{api-CGJ1iGps.js.map → api-serd0SMY.js.map} +1 -1
- package/dist/bin.js +44 -43
- package/dist/bin.js.map +1 -1
- package/dist/{ci-install-DD7WMmIF.js → ci-install-BbJ7c3WK.js} +4 -4
- package/dist/{ci-install-DD7WMmIF.js.map → ci-install-BbJ7c3WK.js.map} +1 -1
- package/dist/{debug-Cd0hPlZy.js → debug-BI-Js0PB.js} +1 -1
- package/dist/{debug-ubpO6102.js → debug-Bx7nvCWW.js} +2 -2
- package/dist/{debug-ubpO6102.js.map → debug-Bx7nvCWW.js.map} +1 -1
- package/dist/{defaults-zrYmZ2ID.js → defaults-CPH6eWhN.js} +1 -1
- package/dist/{defaults-zrYmZ2ID.js.map → defaults-CPH6eWhN.js.map} +1 -1
- package/dist/{env-api-key-DEl3LJBv.js → env-api-key-B3gE9Un0.js} +1 -1
- package/dist/{env-api-key-DEl3LJBv.js.map → env-api-key-B3gE9Un0.js.map} +1 -1
- package/dist/{environment-BAaC5THg.js → environment-CiZVSSYt.js} +3 -3
- package/dist/{environment-BAaC5THg.js.map → environment-CiZVSSYt.js.map} +1 -1
- package/dist/{file-utils-DPmgn9Vm.js → file-utils-Dy9JncCo.js} +1 -1
- package/dist/{file-utils-DPmgn9Vm.js.map → file-utils-Dy9JncCo.js.map} +1 -1
- package/dist/{interactive-BaMAq88Q.js → interactive-BwIzklw0.js} +2 -2
- package/dist/{interactive-BaMAq88Q.js.map → interactive-BwIzklw0.js.map} +1 -1
- package/dist/{mcp-prompt-streaming-clGsVw8q.js → mcp-prompt-streaming-8U9Qs9EV.js} +62 -12
- package/dist/mcp-prompt-streaming-8U9Qs9EV.js.map +1 -0
- package/dist/{non-interactive-l2AKE3jD.js → non-interactive-DTaZnVq_.js} +2 -2
- package/dist/{non-interactive-l2AKE3jD.js.map → non-interactive-DTaZnVq_.js.map} +1 -1
- package/dist/{package-json-Cynjr9k4.js → package-json-DCuoye-H.js} +8 -2
- package/dist/{package-json-Cynjr9k4.js.map → package-json-DCuoye-H.js.map} +1 -1
- package/dist/{package-manager-BqsJK3ej.js → package-manager-CKQLR20D.js} +2 -2
- package/dist/{package-manager-BqsJK3ej.js.map → package-manager-CKQLR20D.js.map} +1 -1
- package/dist/{playground-DlE5RNfE.js → playground-CR81Mwe3.js} +21 -10
- package/dist/playground-CR81Mwe3.js.map +1 -0
- package/dist/{posthog-DWL8uOcl.js → posthog-BrLFkaji.js} +1 -1
- package/dist/{posthog-DWL8uOcl.js.map → posthog-BrLFkaji.js.map} +1 -1
- package/dist/{posthog-integration-Bf_vtWI9.js → posthog-integration-Bv7987YJ.js} +13 -12
- package/dist/{posthog-integration-Bf_vtWI9.js.map → posthog-integration-Bv7987YJ.js.map} +1 -1
- package/dist/{provisioning-D_hAuxUN.js → provisioning-C96Kw-9D.js} +9 -4
- package/dist/{provisioning-D_hAuxUN.js.map → provisioning-C96Kw-9D.js.map} +1 -1
- package/dist/{registry-DKgYqROt.js → registry-B9k73FKR.js} +5 -5
- package/dist/{registry-DKgYqROt.js.map → registry-B9k73FKR.js.map} +1 -1
- package/dist/{setup-utils-D-uTycLX.js → setup-utils-Bpfsap9L.js} +80 -39
- package/dist/setup-utils-Bpfsap9L.js.map +1 -0
- package/dist/{skill-CnOQAZXp.js → skill-CPqcV8zp.js} +2 -2
- package/dist/{skill-CnOQAZXp.js.map → skill-CPqcV8zp.js.map} +1 -1
- package/dist/{slides-CL1mv_Kq.js → slides-DRbBgsdd.js} +1426 -181
- package/dist/slides-DRbBgsdd.js.map +1 -0
- package/dist/{start-tui-DXrv6cof.js → start-tui-BZ7rEf3e.js} +28 -17
- package/dist/start-tui-BZ7rEf3e.js.map +1 -0
- package/dist/{steps-CgScwqso.js → steps-DDx35170.js} +6 -6
- package/dist/{steps-CgScwqso.js.map → steps-DDx35170.js.map} +1 -1
- package/dist/{task-stream-CF6QMVMv.js → task-stream-BI8rJg9H.js} +3 -3
- package/dist/{task-stream-CF6QMVMv.js.map → task-stream-BI8rJg9H.js.map} +1 -1
- package/dist/{telemetry-v6O12Bep.js → telemetry-ByYtIfW0.js} +2 -2
- package/dist/{telemetry-v6O12Bep.js.map → telemetry-ByYtIfW0.js.map} +1 -1
- package/dist/urls-CTCJIxbR.js +35 -0
- package/dist/urls-CTCJIxbR.js.map +1 -0
- package/dist/{wizard-abort-iTaJ8wC8.js → wizard-abort-CY0ibdq1.js} +3 -3
- package/dist/{wizard-abort-iTaJ8wC8.js.map → wizard-abort-CY0ibdq1.js.map} +1 -1
- package/dist/{wizard-abort-BGoBKgvC.js → wizard-abort-QdRxGQp_.js} +1 -1
- package/dist/{wizard-session-gsn8Z3bZ.js → wizard-session-d27JGRGi.js} +1 -1
- package/dist/{wizard-session-gsn8Z3bZ.js.map → wizard-session-d27JGRGi.js.map} +1 -1
- package/dist/{wizard-session-7tMjgOvP.js → wizard-session-y304gEEI.js} +1 -1
- package/package.json +1 -1
- package/dist/add-mcp-server-to-clients-BS6Rjcwh.js.map +0 -1
- package/dist/api-B8OR0N1V.js +0 -2
- package/dist/mcp-prompt-streaming-clGsVw8q.js.map +0 -1
- package/dist/package-json-CumwmZpv.js +0 -2
- package/dist/playground-DlE5RNfE.js.map +0 -1
- package/dist/provisioning-BlBnlcFd.js +0 -2
- package/dist/setup-utils-BHZEdkNZ.js +0 -2
- package/dist/setup-utils-D-uTycLX.js.map +0 -1
- package/dist/slides-CL1mv_Kq.js.map +0 -1
- package/dist/start-tui-DXrv6cof.js.map +0 -1
|
@@ -1,16 +1,17 @@
|
|
|
1
|
-
import { M as POSTHOG_DOCS_URL, O as Integration, R as REMOTE_SKILLS_BASE_URL, U as WIZARD_TOOLS_MENU_FLAG_KEY, _ as SIGNUP_WIZARD_READINESS_CONFIG, d as relativeToInstallDir, k as OAUTH_PORTS, l as WIZARD_LOG_FILE, m as setUI, q as getSkillsBaseUrl, s as logToFile, y as getBlockingServiceKeys } from "./debug-
|
|
2
|
-
import { t as analytics } from "./analytics-
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import { t as
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
1
|
+
import { M as POSTHOG_DOCS_URL, O as Integration, R as REMOTE_SKILLS_BASE_URL, U as WIZARD_TOOLS_MENU_FLAG_KEY, _ as SIGNUP_WIZARD_READINESS_CONFIG, d as relativeToInstallDir, k as OAUTH_PORTS, l as WIZARD_LOG_FILE, m as setUI, q as getSkillsBaseUrl, s as logToFile, y as getBlockingServiceKeys } from "./debug-Bx7nvCWW.js";
|
|
2
|
+
import { t as analytics } from "./analytics-DN_Gy87F.js";
|
|
3
|
+
import { o as extractOAuthCode, t as getOrAskForProjectData } from "./setup-utils-Bpfsap9L.js";
|
|
4
|
+
import { a as getUiHostFromHost } from "./urls-CTCJIxbR.js";
|
|
5
|
+
import { t as ApiError } from "./api-serd0SMY.js";
|
|
6
|
+
import { t as ADDITIONAL_FEATURE_LABELS } from "./wizard-session-d27JGRGi.js";
|
|
7
|
+
import { r as wizardAbort } from "./wizard-abort-CY0ibdq1.js";
|
|
8
|
+
import { b as getAuditChecks, f as downloadSkill, g as AUDIT_CHECKS_KEY, h as AUDIT_CHECKS_FILE, p as fetchSkillMenu, v as AUDIT_SEVERITY_STYLE, y as coerceAuditChecks } from "./agent-interface-7t5DBo2A.js";
|
|
9
|
+
import { t as EVENT_PLAN_FILE } from "./posthog-integration-Bv7987YJ.js";
|
|
10
|
+
import { o as Colors, s as Icons } from "./TextBlock-D0Ep3zC9.js";
|
|
10
11
|
import { a as getProgramConfig, f as getContentBlocks, i as Program, m as STRIPE_SDKS, o as DISPLAY_NAME, p as POSTHOG_SDKS, s as SOURCE_MAPS_CONTEXT_KEYS, u as fetchHealthIssues } from "./bin.js";
|
|
11
|
-
import { A as WizardStore, C as useStdoutDimensions, D as LoadingBox, E as ProgressList, O as SplitView, T as useKeyBindings, _ as ScreenContainer, a as McpSuggestedPromptsScreen, b as ModalOverlay, c as IssueTable, d as ServiceHealthList, f as TipsCard, g as TabContainer, h as HNViewer, i as AuditChecksViewer, l as SEVERITY_LABEL, n as AUDIT_AREA_SLIDES, p as LearnCard, r as VisualBox, s as McpScreen, t as AUDIT_3000_AREA_SLIDES, u as SEVERITY_ORDER, v as EventPlanViewer, w as PickerMenu, x as ConfirmationInput, y as LogViewer } from "./slides-
|
|
12
|
-
import { t as ALL_FEATURE_VALUES } from "./defaults-
|
|
13
|
-
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-
|
|
12
|
+
import { A as WizardStore, C as useStdoutDimensions, D as LoadingBox, E as ProgressList, O as SplitView, T as useKeyBindings, _ as ScreenContainer, a as McpSuggestedPromptsScreen, b as ModalOverlay, c as IssueTable, d as ServiceHealthList, f as TipsCard, g as TabContainer, h as HNViewer, i as AuditChecksViewer, l as SEVERITY_LABEL, n as AUDIT_AREA_SLIDES, p as LearnCard, r as VisualBox, s as McpScreen, t as AUDIT_3000_AREA_SLIDES, u as SEVERITY_ORDER, v as EventPlanViewer, w as PickerMenu, x as ConfirmationInput, y as LogViewer } from "./slides-DRbBgsdd.js";
|
|
13
|
+
import { t as ALL_FEATURE_VALUES } from "./defaults-CPH6eWhN.js";
|
|
14
|
+
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-D4PK6ulR.js";
|
|
14
15
|
import { spawn, spawnSync } from "node:child_process";
|
|
15
16
|
import { join } from "node:path";
|
|
16
17
|
import * as fs$1 from "fs";
|
|
@@ -1042,7 +1043,7 @@ const FrameworkPicker = ({ store, onComplete }) => {
|
|
|
1042
1043
|
})),
|
|
1043
1044
|
onSelect: (value) => {
|
|
1044
1045
|
const integration = Array.isArray(value) ? value[0] : value;
|
|
1045
|
-
import("./registry-
|
|
1046
|
+
import("./registry-B9k73FKR.js").then((n) => n.n).then(({ FRAMEWORK_REGISTRY }) => {
|
|
1046
1047
|
const config = FRAMEWORK_REGISTRY[integration];
|
|
1047
1048
|
store.setFrameworkConfig(integration, config);
|
|
1048
1049
|
store.setDetectedFramework(config.metadata.name);
|
|
@@ -4814,6 +4815,11 @@ const QuestionInput = ({ question, onSubmit }) => {
|
|
|
4814
4815
|
}
|
|
4815
4816
|
};
|
|
4816
4817
|
//#endregion
|
|
4818
|
+
//#region src/steps/add-mcp-server-to-clients/browser-client.ts
|
|
4819
|
+
function isBrowserFinishable(c) {
|
|
4820
|
+
return typeof c === "object" && c !== null && "connectorUrl" in c && "finishInstruction" in c;
|
|
4821
|
+
}
|
|
4822
|
+
//#endregion
|
|
4817
4823
|
//#region src/ui/tui/services/mcp-installer.ts
|
|
4818
4824
|
/**
|
|
4819
4825
|
* McpInstaller — service layer between McpScreen and MCP business logic.
|
|
@@ -4835,7 +4841,11 @@ function createMcpInstaller() {
|
|
|
4835
4841
|
}));
|
|
4836
4842
|
return supported.map((c) => ({
|
|
4837
4843
|
name: c.name,
|
|
4838
|
-
supportsPlugin: isPluginCapable(c) && c.supportsPlugin()
|
|
4844
|
+
supportsPlugin: isPluginCapable(c) && c.supportsPlugin(),
|
|
4845
|
+
finish: isBrowserFinishable(c) ? {
|
|
4846
|
+
url: c.connectorUrl,
|
|
4847
|
+
instruction: c.finishInstruction
|
|
4848
|
+
} : void 0
|
|
4839
4849
|
}));
|
|
4840
4850
|
},
|
|
4841
4851
|
async install(clientNames, features, apiKey) {
|
|
@@ -4887,7 +4897,8 @@ function createMcpSuggestedPromptsServices(_store) {
|
|
|
4887
4897
|
apiKey: void 0,
|
|
4888
4898
|
projectId: void 0,
|
|
4889
4899
|
email: void 0,
|
|
4890
|
-
region: void 0
|
|
4900
|
+
region: void 0,
|
|
4901
|
+
programId: Program.McpTutorial
|
|
4891
4902
|
});
|
|
4892
4903
|
return {
|
|
4893
4904
|
credentials: {
|
|
@@ -4904,7 +4915,7 @@ function createMcpSuggestedPromptsServices(_store) {
|
|
|
4904
4915
|
};
|
|
4905
4916
|
}
|
|
4906
4917
|
async function* runProductionPromptStreaming(args) {
|
|
4907
|
-
const { runMcpPromptViaSdk } = await import("./mcp-prompt-streaming-
|
|
4918
|
+
const { runMcpPromptViaSdk } = await import("./mcp-prompt-streaming-8U9Qs9EV.js");
|
|
4908
4919
|
yield* runMcpPromptViaSdk(args);
|
|
4909
4920
|
}
|
|
4910
4921
|
//#endregion
|
|
@@ -5026,4 +5037,4 @@ function startTUI(version, program = Program.PostHogIntegration) {
|
|
|
5026
5037
|
//#endregion
|
|
5027
5038
|
export { startTUI };
|
|
5028
5039
|
|
|
5029
|
-
//# sourceMappingURL=start-tui-
|
|
5040
|
+
//# sourceMappingURL=start-tui-BZ7rEf3e.js.map
|