@posthog/wizard 2.16.1 → 2.18.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{add-mcp-server-to-clients-BS6Rjcwh.js → add-mcp-server-to-clients-DnPwZl1P.js} +38 -5
- package/dist/add-mcp-server-to-clients-DnPwZl1P.js.map +1 -0
- package/dist/{agent-interface-B4eUlMso.js → agent-interface-C2VEF-BD.js} +110 -54
- package/dist/agent-interface-C2VEF-BD.js.map +1 -0
- package/dist/{agent-runner-BxqiKVEf.js → agent-runner-Dw8cjZoN.js} +11 -8
- package/dist/{agent-runner-BxqiKVEf.js.map → agent-runner-Dw8cjZoN.js.map} +1 -1
- package/dist/{analytics-DUuUurR3.js → analytics-C-zcTO6g.js} +26 -4
- package/dist/analytics-C-zcTO6g.js.map +1 -0
- package/dist/{api-CGJ1iGps.js → api-B3MWP3vm.js} +14 -4
- package/dist/{api-CGJ1iGps.js.map → api-B3MWP3vm.js.map} +1 -1
- package/dist/bin.js +238 -82
- package/dist/bin.js.map +1 -1
- package/dist/{ci-install-DD7WMmIF.js → ci-install-DLuSmSq6.js} +4 -4
- package/dist/{ci-install-DD7WMmIF.js.map → ci-install-DLuSmSq6.js.map} +1 -1
- package/dist/{debug-Cd0hPlZy.js → debug--gQGudnY.js} +1 -1
- package/dist/{debug-ubpO6102.js → debug-BorYMfpE.js} +2 -2
- package/dist/{debug-ubpO6102.js.map → debug-BorYMfpE.js.map} +1 -1
- package/dist/{defaults-zrYmZ2ID.js → defaults-DA3-9dHT.js} +1 -1
- package/dist/{defaults-zrYmZ2ID.js.map → defaults-DA3-9dHT.js.map} +1 -1
- package/dist/{env-api-key-DEl3LJBv.js → env-api-key-MlzJYAvt.js} +1 -1
- package/dist/{env-api-key-DEl3LJBv.js.map → env-api-key-MlzJYAvt.js.map} +1 -1
- package/dist/{environment-BAaC5THg.js → environment-DIOtLqTQ.js} +3 -3
- package/dist/{environment-BAaC5THg.js.map → environment-DIOtLqTQ.js.map} +1 -1
- package/dist/{file-utils-DPmgn9Vm.js → file-utils-VAXoyXVA.js} +1 -1
- package/dist/{file-utils-DPmgn9Vm.js.map → file-utils-VAXoyXVA.js.map} +1 -1
- package/dist/{interactive-BaMAq88Q.js → interactive-DjGjlvY3.js} +2 -2
- package/dist/{interactive-BaMAq88Q.js.map → interactive-DjGjlvY3.js.map} +1 -1
- package/dist/{mcp-prompt-streaming-clGsVw8q.js → mcp-prompt-streaming-Dm47tmiy.js} +62 -12
- package/dist/mcp-prompt-streaming-Dm47tmiy.js.map +1 -0
- package/dist/{non-interactive-l2AKE3jD.js → non-interactive-C2f3Gwva.js} +2 -2
- package/dist/{non-interactive-l2AKE3jD.js.map → non-interactive-C2f3Gwva.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-Bl2KOUFK.js} +2 -2
- package/dist/{package-manager-BqsJK3ej.js.map → package-manager-Bl2KOUFK.js.map} +1 -1
- package/dist/{playground-DlE5RNfE.js → playground-ZLG68cvx.js} +21 -10
- package/dist/playground-ZLG68cvx.js.map +1 -0
- package/dist/{posthog-DWL8uOcl.js → posthog-Cr37rnla.js} +1 -1
- package/dist/{posthog-DWL8uOcl.js.map → posthog-Cr37rnla.js.map} +1 -1
- package/dist/{posthog-integration-Bf_vtWI9.js → posthog-integration-B_DLodqr.js} +282 -14
- package/dist/posthog-integration-B_DLodqr.js.map +1 -0
- package/dist/{provisioning-D_hAuxUN.js → provisioning-Bk4E6VYn.js} +9 -4
- package/dist/{provisioning-D_hAuxUN.js.map → provisioning-Bk4E6VYn.js.map} +1 -1
- package/dist/{registry-DKgYqROt.js → registry-DMM3UmZD.js} +5 -5
- package/dist/{registry-DKgYqROt.js.map → registry-DMM3UmZD.js.map} +1 -1
- package/dist/{setup-utils-D-uTycLX.js → setup-utils-Df9ezAjZ.js} +86 -38
- package/dist/setup-utils-Df9ezAjZ.js.map +1 -0
- package/dist/{slides-CL1mv_Kq.js → slides-DwvXZ8iS.js} +1583 -322
- package/dist/slides-DwvXZ8iS.js.map +1 -0
- package/dist/{start-tui-DXrv6cof.js → start-tui-P9aMwBzt.js} +28 -18
- package/dist/start-tui-P9aMwBzt.js.map +1 -0
- package/dist/{steps-CgScwqso.js → steps-RCRZbLjZ.js} +6 -6
- package/dist/{steps-CgScwqso.js.map → steps-RCRZbLjZ.js.map} +1 -1
- package/dist/{task-stream-CF6QMVMv.js → task-stream-CZRj6auI.js} +3 -3
- package/dist/{task-stream-CF6QMVMv.js.map → task-stream-CZRj6auI.js.map} +1 -1
- package/dist/{telemetry-v6O12Bep.js → telemetry-CMbVbpaY.js} +2 -2
- package/dist/{telemetry-v6O12Bep.js.map → telemetry-CMbVbpaY.js.map} +1 -1
- package/dist/urls-BzG_Jtw9.js +35 -0
- package/dist/urls-BzG_Jtw9.js.map +1 -0
- package/dist/{wizard-abort-BGoBKgvC.js → wizard-abort-Dl8WJQgJ.js} +1 -1
- package/dist/{wizard-abort-iTaJ8wC8.js → wizard-abort-QuKm_B5z.js} +3 -3
- package/dist/{wizard-abort-iTaJ8wC8.js.map → wizard-abort-QuKm_B5z.js.map} +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/TextBlock-CdeZog_6.js +0 -275
- package/dist/TextBlock-CdeZog_6.js.map +0 -1
- package/dist/add-mcp-server-to-clients-BS6Rjcwh.js.map +0 -1
- package/dist/agent-interface-B4eUlMso.js.map +0 -1
- package/dist/analytics-DUuUurR3.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/posthog-integration-Bf_vtWI9.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/skill-CnOQAZXp.js +0 -29
- package/dist/skill-CnOQAZXp.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,16 @@
|
|
|
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 {
|
|
10
|
-
import { a as getProgramConfig,
|
|
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-
|
|
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-BorYMfpE.js";
|
|
2
|
+
import { t as analytics } from "./analytics-C-zcTO6g.js";
|
|
3
|
+
import { o as extractOAuthCode, t as getOrAskForProjectData } from "./setup-utils-Df9ezAjZ.js";
|
|
4
|
+
import { a as getUiHostFromHost } from "./urls-BzG_Jtw9.js";
|
|
5
|
+
import { t as ApiError } from "./api-B3MWP3vm.js";
|
|
6
|
+
import { t as ADDITIONAL_FEATURE_LABELS } from "./wizard-session-d27JGRGi.js";
|
|
7
|
+
import { r as wizardAbort } from "./wizard-abort-QuKm_B5z.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-C2VEF-BD.js";
|
|
9
|
+
import { f as Colors, p as Icons, t as EVENT_PLAN_FILE } from "./posthog-integration-B_DLodqr.js";
|
|
10
|
+
import { a as getProgramConfig, d as getContentBlocks, f as POSTHOG_SDKS, i as Program, o as DISPLAY_NAME, p as STRIPE_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-DwvXZ8iS.js";
|
|
12
|
+
import { t as ALL_FEATURE_VALUES } from "./defaults-DA3-9dHT.js";
|
|
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-DnPwZl1P.js";
|
|
14
14
|
import { spawn, spawnSync } from "node:child_process";
|
|
15
15
|
import { join } from "node:path";
|
|
16
16
|
import * as fs$1 from "fs";
|
|
@@ -1042,7 +1042,7 @@ const FrameworkPicker = ({ store, onComplete }) => {
|
|
|
1042
1042
|
})),
|
|
1043
1043
|
onSelect: (value) => {
|
|
1044
1044
|
const integration = Array.isArray(value) ? value[0] : value;
|
|
1045
|
-
import("./registry-
|
|
1045
|
+
import("./registry-DMM3UmZD.js").then((n) => n.n).then(({ FRAMEWORK_REGISTRY }) => {
|
|
1046
1046
|
const config = FRAMEWORK_REGISTRY[integration];
|
|
1047
1047
|
store.setFrameworkConfig(integration, config);
|
|
1048
1048
|
store.setDetectedFramework(config.metadata.name);
|
|
@@ -4814,6 +4814,11 @@ const QuestionInput = ({ question, onSubmit }) => {
|
|
|
4814
4814
|
}
|
|
4815
4815
|
};
|
|
4816
4816
|
//#endregion
|
|
4817
|
+
//#region src/steps/add-mcp-server-to-clients/browser-client.ts
|
|
4818
|
+
function isBrowserFinishable(c) {
|
|
4819
|
+
return typeof c === "object" && c !== null && "connectorUrl" in c && "finishInstruction" in c;
|
|
4820
|
+
}
|
|
4821
|
+
//#endregion
|
|
4817
4822
|
//#region src/ui/tui/services/mcp-installer.ts
|
|
4818
4823
|
/**
|
|
4819
4824
|
* McpInstaller — service layer between McpScreen and MCP business logic.
|
|
@@ -4835,7 +4840,11 @@ function createMcpInstaller() {
|
|
|
4835
4840
|
}));
|
|
4836
4841
|
return supported.map((c) => ({
|
|
4837
4842
|
name: c.name,
|
|
4838
|
-
supportsPlugin: isPluginCapable(c) && c.supportsPlugin()
|
|
4843
|
+
supportsPlugin: isPluginCapable(c) && c.supportsPlugin(),
|
|
4844
|
+
finish: isBrowserFinishable(c) ? {
|
|
4845
|
+
url: c.connectorUrl,
|
|
4846
|
+
instruction: c.finishInstruction
|
|
4847
|
+
} : void 0
|
|
4839
4848
|
}));
|
|
4840
4849
|
},
|
|
4841
4850
|
async install(clientNames, features, apiKey) {
|
|
@@ -4887,7 +4896,8 @@ function createMcpSuggestedPromptsServices(_store) {
|
|
|
4887
4896
|
apiKey: void 0,
|
|
4888
4897
|
projectId: void 0,
|
|
4889
4898
|
email: void 0,
|
|
4890
|
-
region: void 0
|
|
4899
|
+
region: void 0,
|
|
4900
|
+
programId: Program.McpTutorial
|
|
4891
4901
|
});
|
|
4892
4902
|
return {
|
|
4893
4903
|
credentials: {
|
|
@@ -4904,7 +4914,7 @@ function createMcpSuggestedPromptsServices(_store) {
|
|
|
4904
4914
|
};
|
|
4905
4915
|
}
|
|
4906
4916
|
async function* runProductionPromptStreaming(args) {
|
|
4907
|
-
const { runMcpPromptViaSdk } = await import("./mcp-prompt-streaming-
|
|
4917
|
+
const { runMcpPromptViaSdk } = await import("./mcp-prompt-streaming-Dm47tmiy.js");
|
|
4908
4918
|
yield* runMcpPromptViaSdk(args);
|
|
4909
4919
|
}
|
|
4910
4920
|
//#endregion
|
|
@@ -5026,4 +5036,4 @@ function startTUI(version, program = Program.PostHogIntegration) {
|
|
|
5026
5036
|
//#endregion
|
|
5027
5037
|
export { startTUI };
|
|
5028
5038
|
|
|
5029
|
-
//# sourceMappingURL=start-tui-
|
|
5039
|
+
//# sourceMappingURL=start-tui-P9aMwBzt.js.map
|