@superwall/cli 1.6.1 → 1.7.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 (65) hide show
  1. package/README.md +116 -3
  2. package/dist/{actions-BdZ-7BJd.js → actions-B7ym3oVS.js} +2 -2
  3. package/dist/{api-FjrCPu6r.js → api-CZzirVMj.js} +8 -8
  4. package/dist/{app-YeJj35Ia.js → app-DH6U8yuI.js} +11 -10
  5. package/dist/{asa-4nk7HHy8.js → asa-C-sQzPPn.js} +10 -10
  6. package/dist/{asc-2TZOQuK1.js → asc-1ZBJ6DwS.js} +282 -43
  7. package/dist/asc-Bf7zBbyS.js +65 -0
  8. package/dist/{asc-products-1e1DoGeL.js → asc-products-9JXtDxI4.js} +2 -35
  9. package/dist/{auth-QUYfKdwk.js → auth-YRhlV3DE.js} +11 -10
  10. package/dist/auth.js +2 -2
  11. package/dist/{billing-BK7bpv1t.js → billing-CCYHdApx.js} +1 -1
  12. package/dist/{bind-Ch4VR2EY.js → bind-YrJvuRF9.js} +3 -3
  13. package/dist/build-DLoCW5Ri.js +87 -0
  14. package/dist/bundle-id-CKxl_026.js +121 -0
  15. package/dist/{command-BJ_6850A.js → command-CMIz81Da.js} +5 -5
  16. package/dist/{create-vSQxQlEP.js → create-pkANt1Gs.js} +22 -21
  17. package/dist/dev-DZy6pOnB.js +22 -0
  18. package/dist/{dev-DEss5dwo.js → dev-DmB3XqaJ.js} +16 -8
  19. package/dist/{doctor-BYTfekBr.js → doctor-H-hf-Yww.js} +10 -10
  20. package/dist/{drivers-DGml3OlF.js → drivers-Qx9LxmRN.js} +2 -2
  21. package/dist/entry.js +453 -43
  22. package/dist/{existing-DgSo639M.js → existing-AVEfZu2A.js} +2 -2
  23. package/dist/feedback-CKf-rpBW.js +152 -0
  24. package/dist/{hosted-DqGp6oV2.js → hosted-CXe9TrWx.js} +2 -2
  25. package/dist/{integrate-Cl9eKHoF.js → integrate-brmhPG-S.js} +23 -22
  26. package/dist/{login-DS3MPeW2.js → login-Do4wFuLv.js} +31 -16
  27. package/dist/{migrate-WiTO71PE.js → migrate-C9ERDR6y.js} +24 -23
  28. package/dist/notification-url-DuKF2659.js +1273 -0
  29. package/dist/{open-studio-CbMUL5Va.js → open-studio-DOw-6ydc.js} +17 -14
  30. package/dist/{org-CV8c849b.js → org-sj7uyvp-.js} +2 -2
  31. package/dist/{output-XKuoEEjP.js → output-C4o2gJ1K.js} +12 -2
  32. package/dist/{pipeline-J9-nENTS.js → pipeline-BqzqZhX1.js} +10 -495
  33. package/dist/{print-skill-BOGm5Szi.js → print-skill-ZojRSybs.js} +7 -7
  34. package/dist/{promote-Ci085QxU.js → promote-BG8X4Nv_.js} +17 -16
  35. package/dist/publish-sxLh-G4G.js +35 -0
  36. package/dist/push-bQ6Vxtg8.js +35 -0
  37. package/dist/{query-BZStoGLM.js → query-_FbybaH-.js} +9 -9
  38. package/dist/{resource-ClLHSXi6.js → resource-CGIwSd29.js} +17 -177
  39. package/dist/revenue-provider-ebsRINY8.js +100 -0
  40. package/dist/{run-CiaWn78U.js → run-DsVZ5snL.js} +2 -2
  41. package/dist/{scan-DEgX5HxV.js → scan-zKsddO72.js} +1 -1
  42. package/dist/scope-BvzD-kO4.js +223 -0
  43. package/dist/selection-CxZoX4NT.js +496 -0
  44. package/dist/setup-Bxj22rYi.js +189 -0
  45. package/dist/skills/superwall-framework/SKILL.md +109 -36
  46. package/dist/skills/superwall-framework/references/cli.md +45 -5
  47. package/dist/skills/superwall-framework/references/mobile-design.md +60 -181
  48. package/dist/{skills-DsBAVRTE.js → skills-DPzlnfCK.js} +78 -9
  49. package/dist/{skills-DjPCmUMU.js → skills-D_R-lEsK.js} +8 -8
  50. package/dist/{spinner-DFctF_Jw.js → spinner-TWa0hia6.js} +1 -1
  51. package/dist/{telemetry-EzV7cA7s.js → telemetry-DeA1mvnT.js} +1 -1
  52. package/dist/{token-r5g876aI.js → token-C0it-Xh7.js} +1 -1
  53. package/dist/{ui-4gLyfrgl.js → ui-Dy0b-9L8.js} +4 -3
  54. package/dist/{update-Cz3Q3MFj.js → update-B2fWIc4q.js} +2 -2
  55. package/dist/{upgrade-BA_4sdnh.js → upgrade-BmzkTKrh.js} +6 -6
  56. package/package.json +2 -2
  57. package/dist/dev-B9qmPH1W.js +0 -21
  58. package/dist/feedback-4LsBpZZx.js +0 -73
  59. package/dist/publish--TV-j8Zd.js +0 -34
  60. package/dist/push-CpGetsJF.js +0 -34
  61. package/dist/skills/superwall-framework/references/responsive.md +0 -162
  62. /package/dist/{api-output-CEhN-U_N.js → api-output-aJNw7Syy.js} +0 -0
  63. /package/dist/{params-BxgTuCzr.js → params-l3CrvRtR.js} +0 -0
  64. /package/dist/{reports-C0xHCLnt.js → reports-CfJqoava.js} +0 -0
  65. /package/dist/{storekit-Dlpbq5Wv.js → storekit-Cj9Cpjcz.js} +0 -0
@@ -1,5 +1,5 @@
1
- import { m as Integration } from "./output-XKuoEEjP.js";
2
- import { n as allDeps, r as readPackageJson } from "./scan-DEgX5HxV.js";
1
+ import { g as Integration } from "./output-C4o2gJ1K.js";
2
+ import { n as allDeps, r as readPackageJson } from "./scan-zKsddO72.js";
3
3
  import { readFileSync } from "node:fs";
4
4
  import fg from "fast-glob";
5
5
 
@@ -0,0 +1,152 @@
1
+ import { b as TELEMETRY_KEY, x as VERSION, y as TELEMETRY_HOST } from "./output-C4o2gJ1K.js";
2
+ import { a as getAnonymousId, s as getOnboardedApp } from "./telemetry-DeA1mvnT.js";
3
+ import "./update-B2fWIc4q.js";
4
+ import { i as loadSession } from "./token-C0it-Xh7.js";
5
+ import { t as defineCommand } from "./command-CMIz81Da.js";
6
+ import "./ui-Dy0b-9L8.js";
7
+ import { basename } from "node:path";
8
+ import { arch, release } from "node:os";
9
+ import { readFileSync } from "node:fs";
10
+
11
+ //#region src/core/feedback.ts
12
+ const FEEDBACK_KINDS = [
13
+ "bug",
14
+ "docs",
15
+ "idea",
16
+ "praise",
17
+ "other"
18
+ ];
19
+ const MAX_FILES = 5;
20
+ const MAX_FILE_CHARS = 2e4;
21
+ function parseContext(pairs) {
22
+ const out = {};
23
+ for (const pair of pairs) {
24
+ const at = pair.indexOf("=");
25
+ if (at < 1) throw new Error(`--context expects key=value, got "${pair}"`);
26
+ out[pair.slice(0, at).trim()] = pair.slice(at + 1).trim();
27
+ }
28
+ return out;
29
+ }
30
+ function linkedApp(cwd = process.cwd()) {
31
+ const app = getOnboardedApp(cwd);
32
+ return {
33
+ projectId: app?.projectId,
34
+ applicationId: app?.applicationId
35
+ };
36
+ }
37
+ const AGENT_ENV = [
38
+ ["CLAUDECODE", "claude-code"],
39
+ ["CODEX_SANDBOX", "codex"],
40
+ ["CURSOR_AGENT", "cursor"],
41
+ ["GEMINI_CLI", "gemini-cli"]
42
+ ];
43
+ function detectAgent(env = process.env) {
44
+ return AGENT_ENV.find(([key]) => env[key])?.[1];
45
+ }
46
+ /** Reads `--file` paths (`-` = stdin), keeping the base name and the tail of long logs. */
47
+ function readAttachments(paths) {
48
+ if (paths.length > MAX_FILES) throw new Error(`Attach at most ${MAX_FILES} files.`);
49
+ return paths.map((path) => {
50
+ const raw = readFileSync(path === "-" ? 0 : path, "utf8");
51
+ const truncated = raw.length > MAX_FILE_CHARS;
52
+ return {
53
+ name: path === "-" ? "stdin" : basename(path),
54
+ content: truncated ? raw.slice(-MAX_FILE_CHARS) : raw,
55
+ truncated
56
+ };
57
+ });
58
+ }
59
+ function buildFeedbackEvent(feedback, via, distinctId, session) {
60
+ return {
61
+ api_key: TELEMETRY_KEY(),
62
+ event: "feedback submitted",
63
+ distinct_id: distinctId,
64
+ timestamp: (/* @__PURE__ */ new Date()).toISOString(),
65
+ properties: {
66
+ $process_person_profile: false,
67
+ title: feedback.title ?? null,
68
+ message: feedback.message,
69
+ kind: feedback.kind,
70
+ command: feedback.command ?? null,
71
+ project_id: feedback.projectId ?? null,
72
+ application_id: feedback.applicationId ?? null,
73
+ context: feedback.context,
74
+ attachments: feedback.attachments,
75
+ via,
76
+ agent: feedback.agent ?? null,
77
+ cli_version: VERSION,
78
+ platform: process.platform,
79
+ os_release: release(),
80
+ arch: arch(),
81
+ node_version: process.version,
82
+ ci: process.env.CI === "true",
83
+ email: session?.userEmail ?? null,
84
+ org_id: session?.orgId ?? null,
85
+ org_name: session?.orgName ?? null,
86
+ auth_method: session?.authMethod ?? null
87
+ }
88
+ };
89
+ }
90
+ async function submitFeedback(feedback, via) {
91
+ if (!TELEMETRY_KEY()) return false;
92
+ const payload = buildFeedbackEvent(feedback, via, getAnonymousId(), loadSession());
93
+ try {
94
+ return (await fetch(`${TELEMETRY_HOST()}/capture/`, {
95
+ method: "POST",
96
+ headers: { "content-type": "application/json" },
97
+ body: JSON.stringify(payload),
98
+ signal: AbortSignal.timeout(8e3)
99
+ })).ok;
100
+ } catch {
101
+ return false;
102
+ }
103
+ }
104
+
105
+ //#endregion
106
+ //#region src/commands/account/feedback.ts
107
+ const runFeedback = defineCommand({
108
+ name: "feedback",
109
+ output: "both",
110
+ async run(ctx) {
111
+ const { ui, json, interactive, argv } = ctx;
112
+ let message = argv.message?.trim();
113
+ if (!message && interactive) {
114
+ ui.intro("Superwall feedback");
115
+ const answer = await ui.text({
116
+ message: "What's your feedback on Superwall?",
117
+ placeholder: "What worked, what didn't, what's missing...",
118
+ validate: (v) => v?.trim() ? void 0 : "Required"
119
+ });
120
+ if (answer === null) return void ui.warn("Cancelled.");
121
+ message = answer.trim();
122
+ }
123
+ if (!message) throw new Error("Usage: superwall feedback \"<message>\" [--title ...] [--kind bug] [--file log.txt]");
124
+ const kind = argv.kind ?? "other";
125
+ if (!FEEDBACK_KINDS.includes(kind)) throw new Error(`--kind must be one of: ${FEEDBACK_KINDS.join(", ")}`);
126
+ const agent = argv.agent?.trim() || detectAgent();
127
+ const attachments = readAttachments([].concat(argv.file ?? []).map(String).filter(Boolean));
128
+ const context = parseContext([].concat(argv.context ?? []).map(String));
129
+ const linked = linkedApp();
130
+ const via = agent || !interactive ? "agent" : "human";
131
+ const spin = interactive ? ui.spinner() : null;
132
+ spin?.start("Sending your feedback");
133
+ const ok = await submitFeedback({
134
+ title: argv.title?.trim() || void 0,
135
+ message,
136
+ kind,
137
+ command: argv.command?.trim() || void 0,
138
+ agent,
139
+ projectId: argv.project ?? linked.projectId,
140
+ applicationId: argv.app ?? linked.applicationId,
141
+ context,
142
+ attachments
143
+ }, via);
144
+ spin?.stop(ok ? "Sent" : "Failed to send");
145
+ if (json) return ctx.output.data({ submitted: ok });
146
+ if (!ok) throw new Error("Couldn't send your feedback - check your connection and try again.");
147
+ ui.success("Thank you! We've received your feedback and will read through it. Really appreciate you helping us make Superwall better.");
148
+ }
149
+ });
150
+
151
+ //#endregion
152
+ export { runFeedback };
@@ -1,5 +1,5 @@
1
- import { o as API_HOST } from "./output-XKuoEEjP.js";
2
- import { i as loadSession, t as getOAuthAccessToken } from "./token-r5g876aI.js";
1
+ import { o as API_HOST } from "./output-C4o2gJ1K.js";
2
+ import { i as loadSession, t as getOAuthAccessToken } from "./token-C0it-Xh7.js";
3
3
 
4
4
  //#region src/core/agent/hosted.ts
5
5
  const STATUS_PATH = "/v2/cli-agent/status";
@@ -1,27 +1,28 @@
1
- import { b as apiKeyFromEnv, f as DASHBOARD_URL, r as formatJson, t as blocks, y as VERSION } from "./output-XKuoEEjP.js";
2
- import { r as setTelemetryTags, s as getOnboardedApp } from "./telemetry-EzV7cA7s.js";
3
- import "./update-Cz3Q3MFj.js";
4
- import { i as loadSession } from "./token-r5g876aI.js";
5
- import { a as superwallApi, t as defineCommand } from "./command-BJ_6850A.js";
6
- import { i as stripReport, n as ui } from "./ui-4gLyfrgl.js";
7
- import { n as ensureSkillsCurrent } from "./skills-DsBAVRTE.js";
1
+ import { S as apiKeyFromEnv, f as DASHBOARD_URL, r as formatJson, t as blocks, x as VERSION } from "./output-C4o2gJ1K.js";
2
+ import { r as setTelemetryTags, s as getOnboardedApp } from "./telemetry-DeA1mvnT.js";
3
+ import "./update-B2fWIc4q.js";
4
+ import { i as loadSession } from "./token-C0it-Xh7.js";
5
+ import { a as superwallApi, t as defineCommand } from "./command-CMIz81Da.js";
6
+ import { i as stripReport, n as ui } from "./ui-Dy0b-9L8.js";
7
+ import { n as ensureSkillsCurrent } from "./skills-DPzlnfCK.js";
8
8
  import "./spawn-DSoTXy_j.js";
9
- import "./login-DS3MPeW2.js";
10
- import { i as SUPPORTED_LABEL, t as scanProject } from "./scan-DEgX5HxV.js";
11
- import { t as detectDrivers } from "./drivers-DGml3OlF.js";
12
- import "./hosted-DqGp6oV2.js";
13
- import { t as detectExisting } from "./existing-DgSo639M.js";
14
- import { t as withSpinner } from "./spinner-DFctF_Jw.js";
9
+ import "./login-Do4wFuLv.js";
10
+ import { i as SUPPORTED_LABEL, t as scanProject } from "./scan-zKsddO72.js";
11
+ import { t as detectDrivers } from "./drivers-Qx9LxmRN.js";
12
+ import "./hosted-CXe9TrWx.js";
13
+ import { t as detectExisting } from "./existing-AVEfZu2A.js";
14
+ import { t as withSpinner } from "./spinner-TWa0hia6.js";
15
15
  import { T as rowName, b as platformLabel, g as listResource, o as createProduct, p as listApplications } from "./resources-Bf9O1JNM.js";
16
- import "./org-CV8c849b.js";
17
- import { n as resolveAppBinding, r as resolveScopeFromKey, t as platformForIntegration } from "./bind-Ch4VR2EY.js";
18
- import { r as actionById } from "./actions-BdZ-7BJd.js";
19
- import { a as recoverUnmatchedScope, i as pickApp, n as ensureAgentDriverReady, o as stage, r as performLoginWithUi, t as chooseAction } from "./app-YeJj35Ia.js";
20
- import { a as copyToClipboard, r as buildCopyPrompt, t as runAction } from "./run-CiaWn78U.js";
21
- import { c as listAscConfigs, i as listAscApps, n as fetchUnimportedAscProducts, o as createAscConfig, r as findAscAppId, t as ascTypeDisplay } from "./asc-products-1e1DoGeL.js";
22
- import { t as generateStoreKit } from "./storekit-Dlpbq5Wv.js";
23
- import { n as saveReport, t as loadReport } from "./reports-C0xHCLnt.js";
24
- import { t as detectBilling } from "./billing-BK7bpv1t.js";
16
+ import "./org-sj7uyvp-.js";
17
+ import { n as resolveAppBinding, r as resolveScopeFromKey, t as platformForIntegration } from "./bind-YrJvuRF9.js";
18
+ import { r as actionById } from "./actions-B7ym3oVS.js";
19
+ import { a as recoverUnmatchedScope, i as pickApp, n as ensureAgentDriverReady, o as stage, r as performLoginWithUi, t as chooseAction } from "./app-DH6U8yuI.js";
20
+ import { a as copyToClipboard, r as buildCopyPrompt, t as runAction } from "./run-DsVZ5snL.js";
21
+ import { o as listAscConfigs, r as createAscConfig } from "./asc-Bf7zBbyS.js";
22
+ import { i as listAscApps, n as fetchUnimportedAscProducts, r as findAscAppId, t as ascTypeDisplay } from "./asc-products-9JXtDxI4.js";
23
+ import { t as generateStoreKit } from "./storekit-Cj9Cpjcz.js";
24
+ import { n as saveReport, t as loadReport } from "./reports-CfJqoava.js";
25
+ import { t as detectBilling } from "./billing-CCYHdApx.js";
25
26
  import { basename, join } from "node:path";
26
27
  import { homedir } from "node:os";
27
28
  import { readFileSync, writeFileSync } from "node:fs";
@@ -1,7 +1,7 @@
1
- import { c as AUTH_HOST, d as CLI_CLIENT_ID, h as OAUTH_SCOPE, m as Integration, o as API_HOST } from "./output-XKuoEEjP.js";
2
- import { c as getOnboardedOrg, l as getOnboardingIdempotencyKey, m as setOnboardedOrg, p as setOnboardedApp } from "./telemetry-EzV7cA7s.js";
3
- import { a as saveSession } from "./token-r5g876aI.js";
4
- import { n as ui } from "./ui-4gLyfrgl.js";
1
+ import { _ as OAUTH_SCOPE, c as AUTH_HOST, d as CLI_CLIENT_ID, g as Integration, o as API_HOST } from "./output-C4o2gJ1K.js";
2
+ import { c as getOnboardedOrg, l as getOnboardingIdempotencyKey, m as setOnboardedOrg, p as setOnboardedApp } from "./telemetry-DeA1mvnT.js";
3
+ import { a as saveSession } from "./token-C0it-Xh7.js";
4
+ import { n as ui } from "./ui-Dy0b-9L8.js";
5
5
  import { spawn } from "node:child_process";
6
6
 
7
7
  //#region src/core/account/onboarding.ts
@@ -46,20 +46,34 @@ function onboardingHooks(app) {
46
46
 
47
47
  //#endregion
48
48
  //#region src/core/auth/browser.ts
49
- function openBrowser(url) {
50
- const cmd = process.platform === "darwin" ? "open" : process.platform === "win32" ? "cmd" : "xdg-open";
51
- const args = process.platform === "win32" ? [
49
+ const BROWSER_UNAVAILABLE = "Couldn't open a browser here. Open the URL above to approve the login.";
50
+ function hasDisplay(env, platform) {
51
+ if (platform !== "linux") return true;
52
+ return Boolean(env.DISPLAY || env.WAYLAND_DISPLAY || env.WSL_DISTRO_NAME);
53
+ }
54
+ function openBrowser(url, deps = {}) {
55
+ const platform = deps.platform ?? process.platform;
56
+ if (!hasDisplay(deps.env ?? process.env, platform)) return Promise.resolve(false);
57
+ const cmd = platform === "darwin" ? "open" : platform === "win32" ? "cmd" : "xdg-open";
58
+ const args = platform === "win32" ? [
52
59
  "/c",
53
60
  "start",
54
61
  "",
55
62
  url
56
63
  ] : [url];
57
- try {
58
- spawn(cmd, args, {
59
- stdio: "ignore",
60
- detached: true
61
- }).unref();
62
- } catch {}
64
+ return new Promise((resolve) => {
65
+ try {
66
+ const child = (deps.spawn ?? spawn)(cmd, args, {
67
+ stdio: "ignore",
68
+ detached: true
69
+ });
70
+ child.once("error", () => resolve(false));
71
+ child.once("spawn", () => resolve(true));
72
+ child.unref();
73
+ } catch {
74
+ resolve(false);
75
+ }
76
+ });
63
77
  }
64
78
 
65
79
  //#endregion
@@ -74,11 +88,12 @@ async function performLogin(opts = {}) {
74
88
  if (!disc.device_authorization_endpoint) throw new Error("auth.superwall.com does not advertise a device-authorization endpoint.");
75
89
  const dev = await startDeviceAuth(disc.device_authorization_endpoint, clientId);
76
90
  const url = dev.verification_uri_complete ?? dev.verification_uri;
91
+ const browserOpened = await (opts.openBrowser ?? openBrowser)(url);
77
92
  opts.onVerify?.({
78
93
  url,
79
- userCode: dev.user_code
94
+ userCode: dev.user_code,
95
+ browserOpened
80
96
  });
81
- openBrowser(url);
82
97
  const { accessToken, refreshToken, expiresIn, idToken } = await pollForToken(disc.token_endpoint, clientId, dev, opts.onStatus);
83
98
  let apiToken = accessToken;
84
99
  if (idToken) await getJson(`${apiHost}/v2/me`, idToken).catch(() => null);
@@ -288,4 +303,4 @@ async function postJson(url, accessToken, body) {
288
303
  }
289
304
 
290
305
  //#endregion
291
- export { onboardingHooks as i, performLogin as n, openBrowser as r, loginWithApiKey as t };
306
+ export { onboardingHooks as a, openBrowser as i, performLogin as n, BROWSER_UNAVAILABLE as r, loginWithApiKey as t };
@@ -1,28 +1,29 @@
1
- import { f as DASHBOARD_URL, t as blocks, y as VERSION } from "./output-XKuoEEjP.js";
2
- import "./telemetry-EzV7cA7s.js";
3
- import "./update-Cz3Q3MFj.js";
4
- import { i as loadSession } from "./token-r5g876aI.js";
5
- import { t as defineCommand } from "./command-BJ_6850A.js";
6
- import { i as stripReport, n as ui } from "./ui-4gLyfrgl.js";
7
- import "./skills-DsBAVRTE.js";
1
+ import { f as DASHBOARD_URL, t as blocks, x as VERSION } from "./output-C4o2gJ1K.js";
2
+ import "./telemetry-DeA1mvnT.js";
3
+ import "./update-B2fWIc4q.js";
4
+ import { i as loadSession } from "./token-C0it-Xh7.js";
5
+ import { t as defineCommand } from "./command-CMIz81Da.js";
6
+ import { i as stripReport, n as ui } from "./ui-Dy0b-9L8.js";
7
+ import "./skills-DPzlnfCK.js";
8
8
  import "./spawn-DSoTXy_j.js";
9
- import "./login-DS3MPeW2.js";
10
- import { t as scanProject } from "./scan-DEgX5HxV.js";
11
- import { t as detectDrivers } from "./drivers-DGml3OlF.js";
12
- import "./hosted-DqGp6oV2.js";
13
- import { t as detectExisting } from "./existing-DgSo639M.js";
14
- import "./spinner-DFctF_Jw.js";
9
+ import "./login-Do4wFuLv.js";
10
+ import { t as scanProject } from "./scan-zKsddO72.js";
11
+ import { t as detectDrivers } from "./drivers-Qx9LxmRN.js";
12
+ import "./hosted-CXe9TrWx.js";
13
+ import { t as detectExisting } from "./existing-AVEfZu2A.js";
14
+ import "./spinner-TWa0hia6.js";
15
15
  import "./resources-Bf9O1JNM.js";
16
- import "./org-CV8c849b.js";
17
- import "./bind-Ch4VR2EY.js";
18
- import { A as requireApi } from "./pipeline-J9-nENTS.js";
19
- import { r as actionById } from "./actions-BdZ-7BJd.js";
20
- import { r as performLoginWithUi } from "./app-YeJj35Ia.js";
21
- import { t as runAction } from "./run-CiaWn78U.js";
22
- import { _ as screenNameOf, a as buildMigrationCopyPrompt, c as migrationFor, d as projectDirOf, f as scaffoldFromPaywall, g as placementOfName, h as findScreenCandidates, i as startStudio, l as migrationSource, m as screenMigrationFor, n as migrationNextSteps, o as hasOriginal, p as scaffoldFromScreen, r as screenNextSteps, t as askStudio, u as offerMigration } from "./open-studio-CbMUL5Va.js";
23
- import "./dev-DEss5dwo.js";
24
- import { n as saveReport } from "./reports-C0xHCLnt.js";
25
- import { t as detectBilling } from "./billing-BK7bpv1t.js";
16
+ import "./selection-CxZoX4NT.js";
17
+ import "./org-sj7uyvp-.js";
18
+ import "./bind-YrJvuRF9.js";
19
+ import { _ as requireApi } from "./pipeline-BqzqZhX1.js";
20
+ import { r as actionById } from "./actions-B7ym3oVS.js";
21
+ import { r as performLoginWithUi } from "./app-DH6U8yuI.js";
22
+ import { t as runAction } from "./run-DsVZ5snL.js";
23
+ import { _ as screenNameOf, a as buildMigrationCopyPrompt, c as migrationFor, d as projectDirOf, f as scaffoldFromPaywall, g as placementOfName, h as findScreenCandidates, i as startStudio, l as migrationSource, m as screenMigrationFor, n as migrationNextSteps, o as hasOriginal, p as scaffoldFromScreen, r as screenNextSteps, t as askStudio, u as offerMigration } from "./open-studio-DOw-6ydc.js";
24
+ import "./dev-DmB3XqaJ.js";
25
+ import { n as saveReport } from "./reports-CfJqoava.js";
26
+ import { t as detectBilling } from "./billing-CCYHdApx.js";
26
27
  import * as path from "node:path";
27
28
  import * as os$1 from "node:os";
28
29
  import * as fs from "node:fs";