@posthog/wizard 2.34.0 → 2.36.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.
Files changed (83) hide show
  1. package/dist/{add-mcp-server-to-clients-BjH4z7gH.js → add-mcp-server-to-clients-D5e3JbUC.js} +6 -6
  2. package/dist/{add-mcp-server-to-clients-BjH4z7gH.js.map → add-mcp-server-to-clients-D5e3JbUC.js.map} +1 -1
  3. package/dist/{agent-interface-BcUv1qeh.js → agent-interface-CPn9pZ8j.js} +204 -175
  4. package/dist/agent-interface-CPn9pZ8j.js.map +1 -0
  5. package/dist/{agent-runner-8g_pDAVs.js → agent-runner-Cic1uZZ8.js} +58 -41
  6. package/dist/agent-runner-Cic1uZZ8.js.map +1 -0
  7. package/dist/{analytics-DQ8IS1Hu.js → analytics-Be_wRgxD.js} +2 -2
  8. package/dist/{analytics-DQ8IS1Hu.js.map → analytics-Be_wRgxD.js.map} +1 -1
  9. package/dist/{api-EghEV_u9.js → api-C_R_ybiA.js} +3 -3
  10. package/dist/{api-EghEV_u9.js.map → api-C_R_ybiA.js.map} +1 -1
  11. package/dist/bin.js +297 -68
  12. package/dist/bin.js.map +1 -1
  13. package/dist/{ci-install-ouGSf4zp.js → ci-install-B0BHTkGI.js} +5 -5
  14. package/dist/ci-install-B0BHTkGI.js.map +1 -0
  15. package/dist/{debug-Cn4L5Ype.js → debug-BpWrz3hX.js} +3 -4
  16. package/dist/debug-BpWrz3hX.js.map +1 -0
  17. package/dist/{debug-BM7yop-T.js → debug-DJS2KPGb.js} +1 -1
  18. package/dist/{defaults-DII5CAog.js → defaults-UswXMiTx.js} +1 -1
  19. package/dist/{defaults-DII5CAog.js.map → defaults-UswXMiTx.js.map} +1 -1
  20. package/dist/{env-api-key-MlzJYAvt.js → env-api-key-Db-mNPK2.js} +1 -1
  21. package/dist/{env-api-key-MlzJYAvt.js.map → env-api-key-Db-mNPK2.js.map} +1 -1
  22. package/dist/{environment-D2WUIm8o.js → environment-Dc6VTWyK.js} +3 -3
  23. package/dist/{environment-D2WUIm8o.js.map → environment-Dc6VTWyK.js.map} +1 -1
  24. package/dist/{file-utils-CdQn6073.js → file-utils-Buj9-umf.js} +2 -2
  25. package/dist/{file-utils-CdQn6073.js.map → file-utils-Buj9-umf.js.map} +1 -1
  26. package/dist/{headless-ui-CSqtmW-d.js → headless-ui-BplqZRcO.js} +2 -2
  27. package/dist/{headless-ui-CSqtmW-d.js.map → headless-ui-BplqZRcO.js.map} +1 -1
  28. package/dist/host-resolution-BD6TcZG0.js +115 -0
  29. package/dist/host-resolution-BD6TcZG0.js.map +1 -0
  30. package/dist/{interactive-CFGcWw43.js → interactive-BspTioP_.js} +2 -2
  31. package/dist/{interactive-CFGcWw43.js.map → interactive-BspTioP_.js.map} +1 -1
  32. package/dist/{mcp-prompt-streaming-XZSpcXkG.js → mcp-prompt-streaming-BCNzyL12.js} +5 -5
  33. package/dist/mcp-prompt-streaming-BCNzyL12.js.map +1 -0
  34. package/dist/{non-interactive-D6eksWIw.js → non-interactive-CFikUAzO.js} +2 -2
  35. package/dist/{non-interactive-D6eksWIw.js.map → non-interactive-CFikUAzO.js.map} +1 -1
  36. package/dist/{package-manager-Dozr4x6K.js → package-manager-L7gsAbE0.js} +2 -2
  37. package/dist/{package-manager-Dozr4x6K.js.map → package-manager-L7gsAbE0.js.map} +1 -1
  38. package/dist/{playground-BB2O8GyY.js → playground-Bl2iPxdt.js} +7 -7
  39. package/dist/{playground-BB2O8GyY.js.map → playground-Bl2iPxdt.js.map} +1 -1
  40. package/dist/{posthog-DU6JXG00.js → posthog-BrLFkaji.js} +1 -1
  41. package/dist/{posthog-DU6JXG00.js.map → posthog-BrLFkaji.js.map} +1 -1
  42. package/dist/{posthog-integration-C3m_uR5A.js → posthog-integration-B6pTHVcn.js} +32 -17
  43. package/dist/posthog-integration-B6pTHVcn.js.map +1 -0
  44. package/dist/{provisioning-wMzPfaaP.js → provisioning-C9ts56R5.js} +28 -9
  45. package/dist/provisioning-C9ts56R5.js.map +1 -0
  46. package/dist/{registry-BfTeAX2z.js → registry-DFazVUSE.js} +4 -4
  47. package/dist/{registry-BfTeAX2z.js.map → registry-DFazVUSE.js.map} +1 -1
  48. package/dist/{setup-utils-B0oz3raQ.js → setup-utils-BxdW2R0r.js} +56 -29
  49. package/dist/setup-utils-BxdW2R0r.js.map +1 -0
  50. package/dist/{start-tui-B9qDcoGA.js → start-tui-oGWfxdTd.js} +404 -35
  51. package/dist/start-tui-oGWfxdTd.js.map +1 -0
  52. package/dist/{steps-BhERMRRI.js → steps-O0v5UU1G.js} +7 -7
  53. package/dist/{steps-BhERMRRI.js.map → steps-O0v5UU1G.js.map} +1 -1
  54. package/dist/{store-J2Rv955W.js → store-Di9OvMql.js} +55 -4
  55. package/dist/store-Di9OvMql.js.map +1 -0
  56. package/dist/{task-stream-CPjpHFhI.js → task-stream-DkbGqxZv.js} +3 -3
  57. package/dist/{task-stream-CPjpHFhI.js.map → task-stream-DkbGqxZv.js.map} +1 -1
  58. package/dist/{telemetry-BTLJ-YnG.js → telemetry-D5WQ4-Ic.js} +3 -3
  59. package/dist/{telemetry-BTLJ-YnG.js.map → telemetry-D5WQ4-Ic.js.map} +1 -1
  60. package/dist/{terminal-UwqFnPrL.js → terminal-Bd-k7pCi.js} +14 -14
  61. package/dist/{terminal-UwqFnPrL.js.map → terminal-Bd-k7pCi.js.map} +1 -1
  62. package/dist/urls-DpTCPWLD.js +67 -0
  63. package/dist/urls-DpTCPWLD.js.map +1 -0
  64. package/dist/{wizard-abort-BAB8yvGF.js → wizard-abort-C1t9M-JN.js} +1 -1
  65. package/dist/{wizard-abort-DqeMgCVr.js → wizard-abort-t41wO4Bh.js} +4 -4
  66. package/dist/{wizard-abort-DqeMgCVr.js.map → wizard-abort-t41wO4Bh.js.map} +1 -1
  67. package/dist/{wizard-session-CN55LYyZ.js → wizard-session-CqihOtk3.js} +7 -1
  68. package/dist/wizard-session-CqihOtk3.js.map +1 -0
  69. package/dist/{wizard-session-BKEdX9mO.js → wizard-session-xzqycI7i.js} +1 -1
  70. package/package.json +1 -1
  71. package/dist/agent-interface-BcUv1qeh.js.map +0 -1
  72. package/dist/agent-runner-8g_pDAVs.js.map +0 -1
  73. package/dist/ci-install-ouGSf4zp.js.map +0 -1
  74. package/dist/debug-Cn4L5Ype.js.map +0 -1
  75. package/dist/mcp-prompt-streaming-XZSpcXkG.js.map +0 -1
  76. package/dist/posthog-integration-C3m_uR5A.js.map +0 -1
  77. package/dist/provisioning-wMzPfaaP.js.map +0 -1
  78. package/dist/setup-utils-B0oz3raQ.js.map +0 -1
  79. package/dist/start-tui-B9qDcoGA.js.map +0 -1
  80. package/dist/store-J2Rv955W.js.map +0 -1
  81. package/dist/urls-DAVzgHGZ.js +0 -35
  82. package/dist/urls-DAVzgHGZ.js.map +0 -1
  83. package/dist/wizard-session-CN55LYyZ.js.map +0 -1
@@ -1,9 +1,9 @@
1
1
  import { n as __require } from "./rolldown-runtime-B_-DWIq7.js";
2
- import { J as WIZARD_ORCHESTRATOR_FLAG_KEY, L as POSTHOG_FLAG_HEADER_PREFIX, Q as WIZARD_USER_AGENT, V as POSTHOG_PROPERTY_HEADER_PREFIX, X as WIZARD_REMARK_EVENT_NAME, a as getLogFilePath, f as skillTmpPath, o as initLogFile, p as getUI, r as debug, rt as runtimeEnv, s as logToFile, u as WIZARD_YARA_REPORT_FILE } from "./debug-Cn4L5Ype.js";
3
- import { t as analytics } from "./analytics-DQ8IS1Hu.js";
4
- import { i as getLlmGatewayUrlFromHost } from "./urls-DAVzgHGZ.js";
5
- import { n as ADDITIONAL_FEATURE_PROMPTS } from "./wizard-session-CN55LYyZ.js";
6
- import { i as wizardAbort, n as registerCleanup, t as WizardError } from "./wizard-abort-DqeMgCVr.js";
2
+ import { B as POSTHOG_PROPERTY_HEADER_PREFIX, L as POSTHOG_FLAG_HEADER_PREFIX, Y as WIZARD_REMARK_EVENT_NAME, Z as WIZARD_USER_AGENT, a as getLogFilePath, f as skillTmpPath, nt as runtimeEnv, o as initLogFile, p as getUI, q as WIZARD_ORCHESTRATOR_FLAG_KEY, r as debug, s as logToFile, u as WIZARD_YARA_REPORT_FILE } from "./debug-BpWrz3hX.js";
3
+ import { t as analytics } from "./analytics-Be_wRgxD.js";
4
+ import { t as HostResolution } from "./host-resolution-BD6TcZG0.js";
5
+ import { n as ADDITIONAL_FEATURE_PROMPTS } from "./wizard-session-CqihOtk3.js";
6
+ import { i as wizardAbort, n as registerCleanup, t as WizardError } from "./wizard-abort-t41wO4Bh.js";
7
7
  import { createRequire } from "node:module";
8
8
  import * as fs$1 from "fs";
9
9
  import fs from "fs";
@@ -13,9 +13,173 @@ import { spawnSync } from "node:child_process";
13
13
  import axios from "axios";
14
14
  import { z } from "zod";
15
15
  import fg from "fast-glob";
16
+ import * as os from "os";
16
17
  import { execFileSync } from "child_process";
17
18
  import { randomUUID } from "crypto";
18
- import * as os from "os";
19
+ //#region src/utils/custom-headers.ts
20
+ /**
21
+ * Builds a list of custom headers for ANTHROPIC_CUSTOM_HEADERS.
22
+ */
23
+ function createCustomHeaders() {
24
+ const entries = [];
25
+ return {
26
+ add(key, value) {
27
+ const name = key.startsWith("x-") || key.startsWith("X-") ? key : `X-${key}`;
28
+ entries.push({
29
+ key: name,
30
+ value
31
+ });
32
+ },
33
+ addFlag(flagKey, variant) {
34
+ const headerName = POSTHOG_FLAG_HEADER_PREFIX + flagKey.toUpperCase();
35
+ entries.push({
36
+ key: headerName,
37
+ value: variant
38
+ });
39
+ },
40
+ encode() {
41
+ return entries.map(({ key, value }) => `${key}: ${value}`).join("\n");
42
+ }
43
+ };
44
+ }
45
+ //#endregion
46
+ //#region src/lib/safe-tools.ts
47
+ const LINTING_TOOLS = [
48
+ "codespell",
49
+ "cspell",
50
+ "git-diff-check",
51
+ "gitleaks",
52
+ "trufflehog",
53
+ "asl-validator",
54
+ "ansible-lint",
55
+ "pmd",
56
+ "biome",
57
+ "cfn-lint",
58
+ "cfnlint",
59
+ "checkov",
60
+ "trivy",
61
+ "test-aztemplate",
62
+ "shellcheck",
63
+ "shfmt",
64
+ "buildifier",
65
+ "cpplint",
66
+ "clang-format",
67
+ "clang-tidy",
68
+ "cmake-format",
69
+ "iwyu",
70
+ "pragma-once",
71
+ "dotnet-format",
72
+ "circleci",
73
+ "clj-kondo",
74
+ "coffeelint",
75
+ "commitlint",
76
+ "jscpd",
77
+ "stylelint",
78
+ "prettier",
79
+ "cue-fmt",
80
+ "dart",
81
+ "hadolint",
82
+ "dotenv-linter",
83
+ "editorconfig-checker",
84
+ "actionlint",
85
+ "zizmor",
86
+ "gofmt",
87
+ "gofumpt",
88
+ "goimports",
89
+ "gokart",
90
+ "golangci-lint",
91
+ "golines",
92
+ "semgrep",
93
+ "goreleaser",
94
+ "graphql-schema-linter",
95
+ "npm-groovy-lint",
96
+ "haml-lint",
97
+ "htmlhint",
98
+ "djlint",
99
+ "checkstyle",
100
+ "google-java-format",
101
+ "eslint",
102
+ "next lint",
103
+ "deno",
104
+ "rome",
105
+ "eslint-plugin-jsonc",
106
+ "eslint-plugin-json",
107
+ "eslint-plugin-jsx-a11y",
108
+ "eslint-plugin-react",
109
+ "nbqa",
110
+ "detekt",
111
+ "ktlint",
112
+ "kubeconform",
113
+ "kube-linter",
114
+ "chktex",
115
+ "luacheck",
116
+ "stylua",
117
+ "markdownlint",
118
+ "markdownlint-cli2",
119
+ "markdown-link-check",
120
+ "markdown-table-prettify",
121
+ "remark-lint",
122
+ "textlint",
123
+ "vale",
124
+ "nixpkgs-fmt",
125
+ "spectral",
126
+ "sort-package-json",
127
+ "perlcritic",
128
+ "perltidy",
129
+ "php-cs-fixer",
130
+ "phpcs",
131
+ "phpstan",
132
+ "psalm",
133
+ "oxipng",
134
+ "psscriptanalyzer",
135
+ "prisma",
136
+ "protolint",
137
+ "buf",
138
+ "pylint",
139
+ "flake8",
140
+ "isort",
141
+ "ruff",
142
+ "black",
143
+ "autopep8",
144
+ "bandit",
145
+ "mypy",
146
+ "pyright",
147
+ "sourcery",
148
+ "yapf",
149
+ "lintr",
150
+ "opa",
151
+ "regal",
152
+ "rubocop",
153
+ "brakeman",
154
+ "rufo",
155
+ "standardrb",
156
+ "clippy",
157
+ "rustfmt",
158
+ "scalafmt",
159
+ "osv-scanner",
160
+ "terrascan",
161
+ "tfsec",
162
+ "snakemake --lint",
163
+ "snakefmt",
164
+ "sqlfluff",
165
+ "sql-formatter",
166
+ "sqlfmt",
167
+ "squawk",
168
+ "svgo",
169
+ "stringslint",
170
+ "swiftformat",
171
+ "swiftlint",
172
+ "tflint",
173
+ "terraform",
174
+ "tofu",
175
+ "terragrunt",
176
+ "txtpbfmt",
177
+ "taplo",
178
+ "eslint-plugin-vue",
179
+ "xmllint",
180
+ "yamllint"
181
+ ];
182
+ //#endregion
19
183
  //#region src/utils/atomic-ledger.ts
20
184
  /**
21
185
  * Small shared primitives for on-disk ledgers: an atomic JSON writer and a
@@ -1048,170 +1212,6 @@ const WIZARD_TOOL_NAMES = {
1048
1212
  readHandoffs: `mcp__${SERVER_NAME}__read_handoffs`
1049
1213
  };
1050
1214
  //#endregion
1051
- //#region src/utils/custom-headers.ts
1052
- /**
1053
- * Builds a list of custom headers for ANTHROPIC_CUSTOM_HEADERS.
1054
- */
1055
- function createCustomHeaders() {
1056
- const entries = [];
1057
- return {
1058
- add(key, value) {
1059
- const name = key.startsWith("x-") || key.startsWith("X-") ? key : `X-${key}`;
1060
- entries.push({
1061
- key: name,
1062
- value
1063
- });
1064
- },
1065
- addFlag(flagKey, variant) {
1066
- const headerName = POSTHOG_FLAG_HEADER_PREFIX + flagKey.toUpperCase();
1067
- entries.push({
1068
- key: headerName,
1069
- value: variant
1070
- });
1071
- },
1072
- encode() {
1073
- return entries.map(({ key, value }) => `${key}: ${value}`).join("\n");
1074
- }
1075
- };
1076
- }
1077
- //#endregion
1078
- //#region src/lib/safe-tools.ts
1079
- const LINTING_TOOLS = [
1080
- "codespell",
1081
- "cspell",
1082
- "git-diff-check",
1083
- "gitleaks",
1084
- "trufflehog",
1085
- "asl-validator",
1086
- "ansible-lint",
1087
- "pmd",
1088
- "biome",
1089
- "cfn-lint",
1090
- "cfnlint",
1091
- "checkov",
1092
- "trivy",
1093
- "test-aztemplate",
1094
- "shellcheck",
1095
- "shfmt",
1096
- "buildifier",
1097
- "cpplint",
1098
- "clang-format",
1099
- "clang-tidy",
1100
- "cmake-format",
1101
- "iwyu",
1102
- "pragma-once",
1103
- "dotnet-format",
1104
- "circleci",
1105
- "clj-kondo",
1106
- "coffeelint",
1107
- "commitlint",
1108
- "jscpd",
1109
- "stylelint",
1110
- "prettier",
1111
- "cue-fmt",
1112
- "dart",
1113
- "hadolint",
1114
- "dotenv-linter",
1115
- "editorconfig-checker",
1116
- "actionlint",
1117
- "zizmor",
1118
- "gofmt",
1119
- "gofumpt",
1120
- "goimports",
1121
- "gokart",
1122
- "golangci-lint",
1123
- "golines",
1124
- "semgrep",
1125
- "goreleaser",
1126
- "graphql-schema-linter",
1127
- "npm-groovy-lint",
1128
- "haml-lint",
1129
- "htmlhint",
1130
- "djlint",
1131
- "checkstyle",
1132
- "google-java-format",
1133
- "eslint",
1134
- "next lint",
1135
- "deno",
1136
- "rome",
1137
- "eslint-plugin-jsonc",
1138
- "eslint-plugin-json",
1139
- "eslint-plugin-jsx-a11y",
1140
- "eslint-plugin-react",
1141
- "nbqa",
1142
- "detekt",
1143
- "ktlint",
1144
- "kubeconform",
1145
- "kube-linter",
1146
- "chktex",
1147
- "luacheck",
1148
- "stylua",
1149
- "markdownlint",
1150
- "markdownlint-cli2",
1151
- "markdown-link-check",
1152
- "markdown-table-prettify",
1153
- "remark-lint",
1154
- "textlint",
1155
- "vale",
1156
- "nixpkgs-fmt",
1157
- "spectral",
1158
- "sort-package-json",
1159
- "perlcritic",
1160
- "perltidy",
1161
- "php-cs-fixer",
1162
- "phpcs",
1163
- "phpstan",
1164
- "psalm",
1165
- "oxipng",
1166
- "psscriptanalyzer",
1167
- "prisma",
1168
- "protolint",
1169
- "buf",
1170
- "pylint",
1171
- "flake8",
1172
- "isort",
1173
- "ruff",
1174
- "black",
1175
- "autopep8",
1176
- "bandit",
1177
- "mypy",
1178
- "pyright",
1179
- "sourcery",
1180
- "yapf",
1181
- "lintr",
1182
- "opa",
1183
- "regal",
1184
- "rubocop",
1185
- "brakeman",
1186
- "rufo",
1187
- "standardrb",
1188
- "clippy",
1189
- "rustfmt",
1190
- "scalafmt",
1191
- "osv-scanner",
1192
- "terrascan",
1193
- "tfsec",
1194
- "snakemake --lint",
1195
- "snakefmt",
1196
- "sqlfluff",
1197
- "sql-formatter",
1198
- "sqlfmt",
1199
- "squawk",
1200
- "svgo",
1201
- "stringslint",
1202
- "swiftformat",
1203
- "swiftlint",
1204
- "tflint",
1205
- "terraform",
1206
- "tofu",
1207
- "terragrunt",
1208
- "txtpbfmt",
1209
- "taplo",
1210
- "eslint-plugin-vue",
1211
- "xmllint",
1212
- "yamllint"
1213
- ];
1214
- //#endregion
1215
1215
  //#region src/lib/skill-install.ts
1216
1216
  /**
1217
1217
  * Check if command is a PostHog skill installation from MCP.
@@ -1363,6 +1363,35 @@ function writeScanReport() {
1363
1363
  }
1364
1364
  return WIZARD_YARA_REPORT_FILE;
1365
1365
  }
1366
+ const CATEGORY_DESCRIPTIONS = {
1367
+ prompt_injection: "hit hidden instructions in a file it read, a possible attempt to hijack the setup",
1368
+ exfiltration: "tried to send data to an outside location",
1369
+ destructive_operations: "tried to run a destructive command",
1370
+ supply_chain: "tried to pull in untrusted code",
1371
+ posthog_pii: "tried to write personal data (PII) into your project",
1372
+ posthog_hardcoded_key: "tried to hardcode a PostHog key into your project",
1373
+ hardcoded_secret: "tried to hardcode a secret into your project"
1374
+ };
1375
+ /** Most recent violation that terminated the run, or null. */
1376
+ function lastTerminatingViolation() {
1377
+ for (let i = scanViolations.length - 1; i >= 0; i--) if (scanViolations[i].action === "aborted") return scanViolations[i];
1378
+ return null;
1379
+ }
1380
+ /**
1381
+ * Build the user-facing copy for the security abort screen: what the scanner
1382
+ * caught and what we did about it. This screen renders only because the run was
1383
+ * stopped, so the "what we did" half is constant. Falls back to a generic line
1384
+ * when no specific violation was recorded (e.g. the scanner itself errored and
1385
+ * failed closed before a match was logged).
1386
+ */
1387
+ function formatYaraAbortMessage() {
1388
+ const v = lastTerminatingViolation();
1389
+ return `Security check stopped the setup.
1390
+
1391
+ The agent ${(v && CATEGORY_DESCRIPTIONS[v.category]) ?? "did something our security scanner flagged"}. We stopped the run to keep your project safe.\nNo unsafe changes were left in your project.
1392
+
1393
+ If this looks wrong, let us know: wizard@posthog.com`;
1394
+ }
1366
1395
  /** Timeout for scan hooks (PreToolUse, PostToolUse Write/Edit/Read/Grep) */
1367
1396
  const HOOK_TIMEOUT_MS = 3e4;
1368
1397
  /** Timeout for the skill install hook (filesystem I/O + multiple scans) */
@@ -2710,8 +2739,8 @@ async function initializeAgent(config, options) {
2710
2739
  logToFile("Agent initialization starting");
2711
2740
  logToFile("Install directory:", options.installDir);
2712
2741
  try {
2742
+ const gatewayUrl = HostResolution.fromApiHost(config.posthogApiHost).gatewayUrl;
2713
2743
  process.env.CLAUDE_CODE_DISABLE_EXPERIMENTAL_BETAS = "true";
2714
- const gatewayUrl = getLlmGatewayUrlFromHost(config.posthogApiHost);
2715
2744
  process.env.ANTHROPIC_BASE_URL = gatewayUrl;
2716
2745
  process.env.ANTHROPIC_AUTH_TOKEN = config.posthogApiKey;
2717
2746
  process.env.CLAUDE_CODE_OAUTH_TOKEN = config.posthogApiKey;
@@ -3042,7 +3071,7 @@ async function runAgent(agentConfig, prompt, options, spinner, config, middlewar
3042
3071
  }
3043
3072
  if (yaraViolationReason) {
3044
3073
  logToFile("Agent error: YARA_VIOLATION");
3045
- spinner.stop("Security violation detected");
3074
+ spinner.stop("Security check stopped the setup");
3046
3075
  return { error: "WIZARD_YARA_VIOLATION" };
3047
3076
  }
3048
3077
  if (abortReason) {
@@ -3085,7 +3114,7 @@ async function runAgent(agentConfig, prompt, options, spinner, config, middlewar
3085
3114
  signalDone();
3086
3115
  if (yaraViolationReason) {
3087
3116
  logToFile("Agent error: YARA_VIOLATION");
3088
- spinner.stop("Security violation detected");
3117
+ spinner.stop("Security check stopped the setup");
3089
3118
  return { error: "WIZARD_YARA_VIOLATION" };
3090
3119
  }
3091
3120
  if (abortReason) {
@@ -3341,6 +3370,6 @@ function handleSDKMessage(message, options, spinner, signals, receivedSuccessRes
3341
3370
  }
3342
3371
  }
3343
3372
  //#endregion
3344
- export { getAuditChecks as A, QueueStore as C, AUDIT_REPORT_FILE as D, AUDIT_CHECKS_KEY as E, AUDIT_SEVERITY_STYLE as O, QUEUE_DIR_NAME as S, AUDIT_CHECKS_FILE as T, SETUP_REPORT_FILE as _, runAgent as a, fetchSkillMenu as b, classifySettingsConflicts as c, sanitizeAgentSubprocessEnv as d, AgentSignals as f, EVENT_PLAN_FILE as g, writeScanReport as h, isOrchestratorEnabled as i, coerceAuditChecks as k, recoverOrphanedSettingsBackups as l, formatScanReport as m, buildRunTags as n, backupAndFixClaudeSettings as o, flushScanReport as p, initializeAgent as r, checkAllSettingsConflicts as s, buildAgentEnv as t, restoreClaudeSettings as u, WIZARD_TOOL_NAMES as v, TaskStatus as w, installSkillById as x, downloadSkill as y };
3373
+ export { coerceAuditChecks as A, QUEUE_DIR_NAME as C, AUDIT_CHECKS_KEY as D, AUDIT_CHECKS_FILE as E, AUDIT_REPORT_FILE as O, installSkillById as S, TaskStatus as T, EVENT_PLAN_FILE as _, runAgent as a, downloadSkill as b, classifySettingsConflicts as c, sanitizeAgentSubprocessEnv as d, AgentSignals as f, writeScanReport as g, formatYaraAbortMessage as h, isOrchestratorEnabled as i, getAuditChecks as j, AUDIT_SEVERITY_STYLE as k, recoverOrphanedSettingsBackups as l, formatScanReport as m, buildRunTags as n, backupAndFixClaudeSettings as o, flushScanReport as p, initializeAgent as r, checkAllSettingsConflicts as s, buildAgentEnv as t, restoreClaudeSettings as u, SETUP_REPORT_FILE as v, QueueStore as w, fetchSkillMenu as x, WIZARD_TOOL_NAMES as y };
3345
3374
 
3346
- //# sourceMappingURL=agent-interface-BcUv1qeh.js.map
3375
+ //# sourceMappingURL=agent-interface-CPn9pZ8j.js.map