@posthog/wizard 2.71.0 → 2.72.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-B6-ZL--P.js → add-mcp-server-to-clients-QZyr6NuZ.js} +4 -4
- package/dist/{add-mcp-server-to-clients-B6-ZL--P.js.map → add-mcp-server-to-clients-QZyr6NuZ.js.map} +1 -1
- package/dist/{agent-interface-DFm4jB4d.js → agent-interface-Yjknz6Al.js} +390 -390
- package/dist/agent-interface-Yjknz6Al.js.map +1 -0
- package/dist/{agent-prompt-loader-Bi3IzSBW.js → agent-prompt-loader-CDXm4C35.js} +5 -5
- package/dist/{agent-prompt-loader-Bi3IzSBW.js.map → agent-prompt-loader-CDXm4C35.js.map} +1 -1
- package/dist/{agent-runner-Cp6iLqDk.js → agent-runner-CL7rCY0G.js} +3178 -18
- package/dist/agent-runner-CL7rCY0G.js.map +1 -0
- package/dist/analytics-CkNv3N4o.js +2 -0
- package/dist/{analytics-D54mLptm.js → analytics-DjCPD6u-.js} +3 -3
- package/dist/{analytics-D54mLptm.js.map → analytics-DjCPD6u-.js.map} +1 -1
- package/dist/{api-BNBVOguz.js → api-xwQeBMcX.js} +3 -3
- package/dist/{api-BNBVOguz.js.map → api-xwQeBMcX.js.map} +1 -1
- package/dist/bin.js +56 -52
- package/dist/bin.js.map +1 -1
- package/dist/{bounded-fs-DHIaH3Sc.js → bounded-fs-BtxN0nYO.js} +3 -3
- package/dist/{bounded-fs-DHIaH3Sc.js.map → bounded-fs-BtxN0nYO.js.map} +1 -1
- package/dist/{ci-install-Can8LRdJ.js → ci-install-BVzTnIBw.js} +4 -4
- package/dist/{ci-install-Can8LRdJ.js.map → ci-install-BVzTnIBw.js.map} +1 -1
- package/dist/{debug-C4RPcEIX.js → debug-BoadIH6Q.js} +1 -1
- package/dist/{debug-YQdeZulR.js → debug-D0T44879.js} +3 -3
- package/dist/{debug-YQdeZulR.js.map → debug-D0T44879.js.map} +1 -1
- package/dist/{env-api-key-9yogO8OI.js → env-api-key-Bj9butHX.js} +2 -2
- package/dist/{env-api-key-9yogO8OI.js.map → env-api-key-Bj9butHX.js.map} +1 -1
- package/dist/{environment-6ZuAWRpQ.js → environment-vpmKreMf.js} +4 -4
- package/dist/{environment-6ZuAWRpQ.js.map → environment-vpmKreMf.js.map} +1 -1
- package/dist/{file-watcher-CeWdvMVT.js → file-watcher-BPH4wR8R.js} +2 -2
- package/dist/{file-watcher-CeWdvMVT.js.map → file-watcher-BPH4wR8R.js.map} +1 -1
- package/dist/{headless-ui-BxSVgNoT.js → headless-ui-vA7lv8m2.js} +2 -2
- package/dist/{headless-ui-BxSVgNoT.js.map → headless-ui-vA7lv8m2.js.map} +1 -1
- package/dist/{interactive-CRR9zPl4.js → interactive-jk3IGgns.js} +2 -2
- package/dist/{interactive-CRR9zPl4.js.map → interactive-jk3IGgns.js.map} +1 -1
- package/dist/{mcp-D_rRzruj.js → mcp-DE2AonGF.js} +2 -2
- package/dist/{mcp-D_rRzruj.js.map → mcp-DE2AonGF.js.map} +1 -1
- package/dist/{mcp-prompt-streaming-DRAK8CMP.js → mcp-prompt-streaming-pPEIwc78.js} +4 -4
- package/dist/{mcp-prompt-streaming-DRAK8CMP.js.map → mcp-prompt-streaming-pPEIwc78.js.map} +1 -1
- package/dist/{non-interactive-1EJRlN6u.js → non-interactive-CEGz0nDY.js} +2 -2
- package/dist/{non-interactive-1EJRlN6u.js.map → non-interactive-CEGz0nDY.js.map} +1 -1
- package/dist/{orchestrator-tools-DjZWqWmd.js → orchestrator-tools-BZ4Nzw6a.js} +21 -13
- package/dist/orchestrator-tools-BZ4Nzw6a.js.map +1 -0
- package/dist/{package-manager-DMbzbdkL.js → package-manager-BZjKEDO2.js} +2 -2
- package/dist/{package-manager-DMbzbdkL.js.map → package-manager-BZjKEDO2.js.map} +1 -1
- package/dist/{pi-D4JQMC-7.js → pi-D48qAwlf.js} +11 -11
- package/dist/{pi-D4JQMC-7.js.map → pi-D48qAwlf.js.map} +1 -1
- package/dist/{playground-Y1nSGXpn.js → playground-DYGJwugo.js} +7 -7
- package/dist/{playground-Y1nSGXpn.js.map → playground-DYGJwugo.js.map} +1 -1
- package/dist/{posthog-D9VwcWvJ.js → posthog-BTvVhvBY.js} +2 -2
- package/dist/{posthog-D9VwcWvJ.js.map → posthog-BTvVhvBY.js.map} +1 -1
- package/dist/posthog-integration-BQh-YQAP.js +1475 -0
- package/dist/posthog-integration-BQh-YQAP.js.map +1 -0
- package/dist/{provisioning-f7lA29tW.js → provisioning-Dw3B2T_b.js} +3 -3
- package/dist/{provisioning-f7lA29tW.js.map → provisioning-Dw3B2T_b.js.map} +1 -1
- package/dist/{queue-tools-DGaHf3n-.js → queue-tools-DEbzMDrF.js} +108 -44
- package/dist/queue-tools-DEbzMDrF.js.map +1 -0
- package/dist/{registry-D1By1SgH.js → registry-Dv6JVm5r.js} +5 -5
- package/dist/{registry-D1By1SgH.js.map → registry-Dv6JVm5r.js.map} +1 -1
- package/dist/{security-C2c3_Ycy.js → security-BaggjIE4.js} +5 -5
- package/dist/{security-C2c3_Ycy.js.map → security-BaggjIE4.js.map} +1 -1
- package/dist/{setup-utils-BRrCeajl.js → setup-utils-CnW0Zsu8.js} +9 -9
- package/dist/{setup-utils-BRrCeajl.js.map → setup-utils-CnW0Zsu8.js.map} +1 -1
- package/dist/{start-tui-r4Spgptv.js → start-tui-SpyGz7wM.js} +43 -22
- package/dist/start-tui-SpyGz7wM.js.map +1 -0
- package/dist/{steps-BZd65XfI.js → steps-ClfUajTv.js} +7 -7
- package/dist/{steps-BZd65XfI.js.map → steps-ClfUajTv.js.map} +1 -1
- package/dist/{store-DGVXu7xt.js → store-Cmy0pN1R.js} +5 -6
- package/dist/{store-DGVXu7xt.js.map → store-Cmy0pN1R.js.map} +1 -1
- package/dist/{subagent-BaMxO7OT.js → subagent-tYlbbkJt.js} +2 -2
- package/dist/{subagent-BaMxO7OT.js.map → subagent-tYlbbkJt.js.map} +1 -1
- package/dist/{task-DpKoEZ5I.js → task-B8QfEVcu.js} +12 -12
- package/dist/{task-DpKoEZ5I.js.map → task-B8QfEVcu.js.map} +1 -1
- package/dist/{task-stream-CdrBraqP.js → task-stream-BRSWhbXQ.js} +5 -5
- package/dist/{task-stream-CdrBraqP.js.map → task-stream-BRSWhbXQ.js.map} +1 -1
- package/dist/{tasks-KsP66Cis.js → tasks-DjEvyWQJ.js} +2 -2
- package/dist/{tasks-KsP66Cis.js.map → tasks-DjEvyWQJ.js.map} +1 -1
- package/dist/{telemetry-DedDTtSa.js → telemetry-EPB2n_f6.js} +3 -3
- package/dist/{telemetry-DedDTtSa.js.map → telemetry-EPB2n_f6.js.map} +1 -1
- package/dist/{terminal-BH8yLclG.js → terminal-DJ4Gaupr.js} +12 -12
- package/dist/{terminal-BH8yLclG.js.map → terminal-DJ4Gaupr.js.map} +1 -1
- package/dist/{tools-CJw5vnZd.js → tools-CB0Vfc6r.js} +6 -6
- package/dist/{tools-CJw5vnZd.js.map → tools-CB0Vfc6r.js.map} +1 -1
- package/dist/{wizard-abort-Q1NiYELE.js → wizard-abort-DD-kkQaq.js} +1 -1
- package/dist/{wizard-abort-D54j2gmb.js → wizard-abort-Db_YNkB2.js} +4 -4
- package/dist/{wizard-abort-D54j2gmb.js.map → wizard-abort-Db_YNkB2.js.map} +1 -1
- package/dist/{wizard-session-Dwc1Rh_7.js → wizard-session-BWAQoi9q.js} +1 -1
- package/dist/{wizard-session-CwQPZN4y.js → wizard-session-GdDN_aMS.js} +2 -1
- package/dist/wizard-session-GdDN_aMS.js.map +1 -0
- package/dist/{yara-hooks-CL2LVEgO.js → yara-hooks-BvyFD2Nb.js} +4 -4
- package/dist/{yara-hooks-CL2LVEgO.js.map → yara-hooks-BvyFD2Nb.js.map} +1 -1
- package/dist/yara-hooks-CuW_b30M.js +2 -0
- package/package.json +2 -1
- package/dist/agent-interface-DFm4jB4d.js.map +0 -1
- package/dist/agent-runner-Cp6iLqDk.js.map +0 -1
- package/dist/analytics-Ge1LsCNg.js +0 -2
- package/dist/orchestrator-tools-DjZWqWmd.js.map +0 -1
- package/dist/posthog-integration-B8f4xRBd.js +0 -4618
- package/dist/posthog-integration-B8f4xRBd.js.map +0 -1
- package/dist/queue-tools-DGaHf3n-.js.map +0 -1
- package/dist/start-tui-r4Spgptv.js.map +0 -1
- package/dist/wizard-session-CwQPZN4y.js.map +0 -1
- package/dist/yara-hooks-BI6WY0Sl.js +0 -2
|
@@ -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-
|
|
3
|
-
import { t as ADDITIONAL_FEATURE_LABELS } from "./wizard-session-
|
|
4
|
-
import { n as analytics } from "./analytics-
|
|
5
|
-
import { n as openTrackedLink } from "./telemetry-
|
|
6
|
-
import { i as readProjectFile, t as IGNORED_DIRS } from "./bounded-fs-
|
|
7
|
-
import { o as extractOAuthCode, t as getOrAskForProjectData } from "./setup-utils-
|
|
8
|
-
import { c as getIntegrationAuthorizeUrl } from "./provisioning-
|
|
9
|
-
import { r as fetchGithubConnected, t as ApiError } from "./api-
|
|
10
|
-
import { i as wizardAbort } from "./wizard-abort-
|
|
11
|
-
import {
|
|
12
|
-
import { a as formatCostUsd, o as formatTokenCount } from "./agent-runner-
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
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-D0T44879.js";
|
|
3
|
+
import { t as ADDITIONAL_FEATURE_LABELS } from "./wizard-session-GdDN_aMS.js";
|
|
4
|
+
import { n as analytics } from "./analytics-DjCPD6u-.js";
|
|
5
|
+
import { n as openTrackedLink } from "./telemetry-EPB2n_f6.js";
|
|
6
|
+
import { i as readProjectFile, t as IGNORED_DIRS } from "./bounded-fs-BtxN0nYO.js";
|
|
7
|
+
import { o as extractOAuthCode, t as getOrAskForProjectData } from "./setup-utils-CnW0Zsu8.js";
|
|
8
|
+
import { c as getIntegrationAuthorizeUrl, i as requestDeepLink } from "./provisioning-Dw3B2T_b.js";
|
|
9
|
+
import { r as fetchGithubConnected, t as ApiError } from "./api-xwQeBMcX.js";
|
|
10
|
+
import { i as wizardAbort } from "./wizard-abort-Db_YNkB2.js";
|
|
11
|
+
import { M as downloadSkill, N as fetchSkillMenu } from "./agent-interface-Yjknz6Al.js";
|
|
12
|
+
import { a as formatCostUsd, f as getDetectedWarehouseSources, m as detectProjectsWithAgent, o as formatTokenCount } from "./agent-runner-CL7rCY0G.js";
|
|
13
|
+
import { t as FRAMEWORK_REGISTRY } from "./registry-Dv6JVm5r.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-BvyFD2Nb.js";
|
|
15
|
+
import { h as Icons, m as Colors, t as SETUP_REPORT_FILE } from "./posthog-integration-BQh-YQAP.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-
|
|
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-
|
|
17
|
+
import { r as totalTokenCount, t as WizardStore } from "./store-Cmy0pN1R.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-DJ4Gaupr.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-
|
|
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-
|
|
20
|
+
import { t as startFileWatcher } from "./file-watcher-BPH4wR8R.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-QZyr6NuZ.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";
|
|
@@ -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-
|
|
1296
|
+
import("./registry-Dv6JVm5r.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-
|
|
6051
|
+
const { runMcpPromptViaSdk } = await import("./mcp-prompt-streaming-pPEIwc78.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-
|
|
6245
|
+
//# sourceMappingURL=start-tui-SpyGz7wM.js.map
|