@superwall/cli 1.3.0-beta.4 → 1.3.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/{actions-C0sUjLGZ.js → actions-CWsTaw-9.js} +2 -2
- package/dist/{api-NEcc9ESi.js → api-CxKSh7Fv.js} +5 -5
- package/dist/{app-vECLIkWi.js → app-iJ6GVRuJ.js} +7 -7
- package/dist/{asa-CZcmgOho.js → asa-a55E5e8Z.js} +5 -5
- package/dist/{asc-mJv5I7lW.js → asc-xZ8IMAc7.js} +5 -5
- package/dist/{auth-BCsxGMUQ.js → auth-DroV5uRf.js} +8 -8
- package/dist/auth.js +2 -2
- package/dist/{billing-KoxHLZzm.js → billing-D7nyWvD1.js} +1 -1
- package/dist/{bind-CBLvcdzo.js → bind-CpMOHtha.js} +1 -1
- package/dist/{command-Bav1fWvv.js → command-RrGwoPLb.js} +4 -4
- package/dist/{create-CA_s5fN9.js → create-DJpd25Wz.js} +14 -14
- package/dist/{dev-B1o8OCRT.js → dev-FhZ1_Yql.js} +14 -14
- package/dist/{doctor-CyiygODt.js → doctor-BxaNLPE9.js} +9 -9
- package/dist/{drivers-DSkM9kMJ.js → drivers-BCHs6LSQ.js} +2 -2
- package/dist/entry.js +27 -27
- package/dist/{existing-D7p2hnhq.js → existing-DZeumSLA.js} +2 -2
- package/dist/{feedback-BBIkn1Yp.js → feedback-dPaf3iKt.js} +5 -5
- package/dist/{git-C0x00Urq.js → git-D5zEsg-K.js} +4 -4
- package/dist/{hosted-q7_n5udj.js → hosted-DOLN6JOq.js} +2 -2
- package/dist/{integrate-DstRn_NP.js → integrate-CVV4eFv3.js} +16 -16
- package/dist/{login-DGc6GQqT.js → login-D9fJlrZt.js} +3 -3
- package/dist/{migrate-CcwiRU6G.js → migrate-D4p-h2Fc.js} +16 -16
- package/dist/{output-DmEUd7Xa.js → output-BdYOOjvC.js} +1 -1
- package/dist/{pipeline-B3c4tjfA.js → pipeline-CGFoiQoD.js} +3 -3
- package/dist/{print-skill-DBEmY01G.js → print-skill-SVtZTg_0.js} +6 -6
- package/dist/{promote-bg_Li4za.js → promote-DlcFZ7Rs.js} +14 -14
- package/dist/publish-DBu5f2kZ.js +35 -0
- package/dist/push-CD7chwAS.js +35 -0
- package/dist/{query-dO6QUMTQ.js → query-BzYGxEpe.js} +5 -5
- package/dist/{resource-BZvGoZlY.js → resource-B77ustAb.js} +8 -8
- package/dist/{run-BfI8NVh4.js → run-Czpm0qSl.js} +2 -2
- package/dist/{scan-HfLbAkLc.js → scan-D31Gmyke.js} +1 -1
- package/dist/{skills-DuI61I8U.js → skills-C6QhATUb.js} +6 -6
- package/dist/{skills-BDMwScz3.js → skills-DP-jU7Fj.js} +2 -2
- package/dist/{telemetry-vvgwHwjA.js → telemetry-Dn2nK6DV.js} +1 -1
- package/dist/{token-CwKfB5Ic.js → token-CmLVJoQf.js} +1 -1
- package/dist/{update-DeK9OQ5x.js → update-BLygC1jI.js} +2 -2
- package/dist/{upgrade-Dyxk8mwJ.js → upgrade-CRvZNMSf.js} +5 -5
- package/package.json +2 -2
- package/dist/publish-lviGUOF8.js +0 -35
- package/dist/push-C8vuasQL.js +0 -35
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { d as Integration } from "./output-
|
|
2
|
-
import { i as loadBundledSkill } from "./skills-
|
|
1
|
+
import { d as Integration } from "./output-BdYOOjvC.js";
|
|
2
|
+
import { i as loadBundledSkill } from "./skills-DP-jU7Fj.js";
|
|
3
3
|
|
|
4
4
|
//#region src/core/agent/actions.ts
|
|
5
5
|
/** Skill reference file per framework, so an agent only sees its own platform's docs. */
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import "./output-
|
|
2
|
-
import "./telemetry-
|
|
3
|
-
import "./update-
|
|
4
|
-
import "./token-
|
|
5
|
-
import { t as defineCommand } from "./command-
|
|
1
|
+
import "./output-BdYOOjvC.js";
|
|
2
|
+
import "./telemetry-Dn2nK6DV.js";
|
|
3
|
+
import "./update-BLygC1jI.js";
|
|
4
|
+
import "./token-CmLVJoQf.js";
|
|
5
|
+
import { t as defineCommand } from "./command-RrGwoPLb.js";
|
|
6
6
|
import "./ui-Lqt_zFOr.js";
|
|
7
7
|
import { C as rowName, h as listResource, m as listProjects, p as listOrganizations, w as titleCase, y as platformLabel } from "./resources-s64mBHaC.js";
|
|
8
8
|
import { t as parseParams } from "./params-B1zeElGa.js";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { i as loadSession, r as clearSession } from "./token-
|
|
2
|
-
import { i as superwallApi } from "./command-
|
|
1
|
+
import { i as loadSession, r as clearSession } from "./token-CmLVJoQf.js";
|
|
2
|
+
import { i as superwallApi } from "./command-RrGwoPLb.js";
|
|
3
3
|
import { n as ui } from "./ui-Lqt_zFOr.js";
|
|
4
|
-
import { n as performLogin, r as onboardingHooks } from "./login-
|
|
5
|
-
import { i as SUPPORTED_LABEL, t as scanProject } from "./scan-
|
|
6
|
-
import { r as getHostedStatus } from "./hosted-
|
|
4
|
+
import { n as performLogin, r as onboardingHooks } from "./login-D9fJlrZt.js";
|
|
5
|
+
import { i as SUPPORTED_LABEL, t as scanProject } from "./scan-D31Gmyke.js";
|
|
6
|
+
import { r as getHostedStatus } from "./hosted-DOLN6JOq.js";
|
|
7
7
|
import { t as withSpinner } from "./spinner-B9dT3DBY.js";
|
|
8
|
-
import { n as resolveAppBinding, r as resolveScopeFromKey, t as platformForIntegration } from "./bind-
|
|
9
|
-
import { t as ACTIONS } from "./actions-
|
|
8
|
+
import { n as resolveAppBinding, r as resolveScopeFromKey, t as platformForIntegration } from "./bind-CpMOHtha.js";
|
|
9
|
+
import { t as ACTIONS } from "./actions-CWsTaw-9.js";
|
|
10
10
|
|
|
11
11
|
//#region src/commands/workflow/integrate/app.ts
|
|
12
12
|
async function performLoginWithUi(app, onProvisioned) {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import "./output-
|
|
2
|
-
import "./telemetry-
|
|
3
|
-
import "./update-
|
|
4
|
-
import "./token-
|
|
5
|
-
import { n as ApiError, t as defineCommand } from "./command-
|
|
1
|
+
import "./output-BdYOOjvC.js";
|
|
2
|
+
import "./telemetry-Dn2nK6DV.js";
|
|
3
|
+
import "./update-BLygC1jI.js";
|
|
4
|
+
import "./token-CmLVJoQf.js";
|
|
5
|
+
import { n as ApiError, t as defineCommand } from "./command-RrGwoPLb.js";
|
|
6
6
|
import "./ui-Lqt_zFOr.js";
|
|
7
7
|
import "./spinner-B9dT3DBY.js";
|
|
8
8
|
import { m as listProjects } from "./resources-s64mBHaC.js";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { p as SUPERWALL_HOME } from "./output-
|
|
2
|
-
import "./telemetry-
|
|
3
|
-
import "./update-
|
|
4
|
-
import "./token-
|
|
5
|
-
import { t as defineCommand } from "./command-
|
|
1
|
+
import { p as SUPERWALL_HOME } from "./output-BdYOOjvC.js";
|
|
2
|
+
import "./telemetry-Dn2nK6DV.js";
|
|
3
|
+
import "./update-BLygC1jI.js";
|
|
4
|
+
import "./token-CmLVJoQf.js";
|
|
5
|
+
import { t as defineCommand } from "./command-RrGwoPLb.js";
|
|
6
6
|
import "./ui-Lqt_zFOr.js";
|
|
7
7
|
import "./spinner-B9dT3DBY.js";
|
|
8
8
|
import { C as rowName } from "./resources-s64mBHaC.js";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { a as API_HOST } from "./output-
|
|
2
|
-
import { i as track } from "./telemetry-
|
|
3
|
-
import "./update-
|
|
4
|
-
import { i as loadSession, r as clearSession } from "./token-
|
|
5
|
-
import { t as defineCommand } from "./command-
|
|
1
|
+
import { a as API_HOST } from "./output-BdYOOjvC.js";
|
|
2
|
+
import { i as track } from "./telemetry-Dn2nK6DV.js";
|
|
3
|
+
import "./update-BLygC1jI.js";
|
|
4
|
+
import { i as loadSession, r as clearSession } from "./token-CmLVJoQf.js";
|
|
5
|
+
import { t as defineCommand } from "./command-RrGwoPLb.js";
|
|
6
6
|
import "./ui-Lqt_zFOr.js";
|
|
7
|
-
import { n as ensureSkillsCurrent } from "./skills-
|
|
7
|
+
import { n as ensureSkillsCurrent } from "./skills-DP-jU7Fj.js";
|
|
8
8
|
import "./spawn-DSoTXy_j.js";
|
|
9
|
-
import { n as performLogin, r as onboardingHooks, t as loginWithApiKey } from "./login-
|
|
10
|
-
import { t as scanProject } from "./scan-
|
|
9
|
+
import { n as performLogin, r as onboardingHooks, t as loginWithApiKey } from "./login-D9fJlrZt.js";
|
|
10
|
+
import { t as scanProject } from "./scan-D31Gmyke.js";
|
|
11
11
|
|
|
12
12
|
//#region src/commands/account/auth.ts
|
|
13
13
|
const runLogin = defineCommand({
|
package/dist/auth.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import "./output-
|
|
2
|
-
import { n as resolveAuthToken, o as NotLoggedInError, t as getOAuthAccessToken } from "./token-
|
|
1
|
+
import "./output-BdYOOjvC.js";
|
|
2
|
+
import { n as resolveAuthToken, o as NotLoggedInError, t as getOAuthAccessToken } from "./token-CmLVJoQf.js";
|
|
3
3
|
|
|
4
4
|
export { NotLoggedInError, getOAuthAccessToken, resolveAuthToken };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { d as Integration } from "./output-
|
|
1
|
+
import { d as Integration } from "./output-BdYOOjvC.js";
|
|
2
2
|
import { n as ui } from "./ui-Lqt_zFOr.js";
|
|
3
3
|
import { m as listProjects, n as createApplication, s as createProject, y as platformLabel } from "./resources-s64mBHaC.js";
|
|
4
4
|
import { t as requireOrg } from "./org-Cg25bcsj.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { a as API_HOST, i as writeJson, n as createCommandOutput, v as isNonInteractive } from "./output-
|
|
2
|
-
import { i as track, n as maybeShowTelemetryNotice } from "./telemetry-
|
|
3
|
-
import { a as refreshUpdateCheck, i as maybeNotifyUpdate } from "./update-
|
|
4
|
-
import { a as saveSession, i as loadSession, n as resolveAuthToken, o as NotLoggedInError } from "./token-
|
|
1
|
+
import { a as API_HOST, i as writeJson, n as createCommandOutput, v as isNonInteractive } from "./output-BdYOOjvC.js";
|
|
2
|
+
import { i as track, n as maybeShowTelemetryNotice } from "./telemetry-Dn2nK6DV.js";
|
|
3
|
+
import { a as refreshUpdateCheck, i as maybeNotifyUpdate } from "./update-BLygC1jI.js";
|
|
4
|
+
import { a as saveSession, i as loadSession, n as resolveAuthToken, o as NotLoggedInError } from "./token-CmLVJoQf.js";
|
|
5
5
|
import { r as useRenderer, t as selectRenderer } from "./ui-Lqt_zFOr.js";
|
|
6
6
|
import pc from "picocolors";
|
|
7
7
|
import { resolve } from "node:path";
|
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
import "./output-
|
|
2
|
-
import "./telemetry-
|
|
3
|
-
import "./update-
|
|
4
|
-
import "./token-
|
|
5
|
-
import { t as defineCommand } from "./command-
|
|
1
|
+
import "./output-BdYOOjvC.js";
|
|
2
|
+
import "./telemetry-Dn2nK6DV.js";
|
|
3
|
+
import "./update-BLygC1jI.js";
|
|
4
|
+
import "./token-CmLVJoQf.js";
|
|
5
|
+
import { t as defineCommand } from "./command-RrGwoPLb.js";
|
|
6
6
|
import "./ui-Lqt_zFOr.js";
|
|
7
|
-
import "./skills-
|
|
7
|
+
import "./skills-DP-jU7Fj.js";
|
|
8
8
|
import "./spawn-DSoTXy_j.js";
|
|
9
|
-
import "./login-
|
|
10
|
-
import { n as allDeps, r as readPackageJson, t as scanProject } from "./scan-
|
|
11
|
-
import "./hosted-
|
|
12
|
-
import { t as detectExisting } from "./existing-
|
|
9
|
+
import "./login-D9fJlrZt.js";
|
|
10
|
+
import { n as allDeps, r as readPackageJson, t as scanProject } from "./scan-D31Gmyke.js";
|
|
11
|
+
import "./hosted-DOLN6JOq.js";
|
|
12
|
+
import { t as detectExisting } from "./existing-DZeumSLA.js";
|
|
13
13
|
import "./spinner-B9dT3DBY.js";
|
|
14
14
|
import { f as listApplications, m as listProjects, n as createApplication, y as platformLabel } from "./resources-s64mBHaC.js";
|
|
15
15
|
import "./org-Cg25bcsj.js";
|
|
16
|
-
import { r as resolveScopeFromKey } from "./bind-
|
|
17
|
-
import { a as projectPackageName, i as requireApi, l as requirePlatform, m as writeApp, r as LoginRequiredError, t as gitAvailable } from "./git-
|
|
18
|
-
import "./actions-
|
|
19
|
-
import "./app-
|
|
16
|
+
import { r as resolveScopeFromKey } from "./bind-CpMOHtha.js";
|
|
17
|
+
import { a as projectPackageName, i as requireApi, l as requirePlatform, m as writeApp, r as LoginRequiredError, t as gitAvailable } from "./git-D5zEsg-K.js";
|
|
18
|
+
import "./actions-CWsTaw-9.js";
|
|
19
|
+
import "./app-iJ6GVRuJ.js";
|
|
20
20
|
import pc from "picocolors";
|
|
21
21
|
import { promisify } from "node:util";
|
|
22
22
|
import * as fs from "node:fs";
|
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
import { g as VERSION } from "./output-
|
|
2
|
-
import "./telemetry-
|
|
3
|
-
import "./update-
|
|
4
|
-
import "./token-
|
|
5
|
-
import { t as defineCommand } from "./command-
|
|
1
|
+
import { g as VERSION } from "./output-BdYOOjvC.js";
|
|
2
|
+
import "./telemetry-Dn2nK6DV.js";
|
|
3
|
+
import "./update-BLygC1jI.js";
|
|
4
|
+
import "./token-CmLVJoQf.js";
|
|
5
|
+
import { t as defineCommand } from "./command-RrGwoPLb.js";
|
|
6
6
|
import { n as ui } from "./ui-Lqt_zFOr.js";
|
|
7
|
-
import "./skills-
|
|
7
|
+
import "./skills-DP-jU7Fj.js";
|
|
8
8
|
import "./spawn-DSoTXy_j.js";
|
|
9
|
-
import "./login-
|
|
10
|
-
import "./scan-
|
|
11
|
-
import "./hosted-
|
|
9
|
+
import "./login-D9fJlrZt.js";
|
|
10
|
+
import "./scan-D31Gmyke.js";
|
|
11
|
+
import "./hosted-DOLN6JOq.js";
|
|
12
12
|
import "./spinner-B9dT3DBY.js";
|
|
13
13
|
import { S as pushPaywallVersion, T as versionProducts, b as promotePaywallVersion, f as listApplications } from "./resources-s64mBHaC.js";
|
|
14
14
|
import "./org-Cg25bcsj.js";
|
|
15
|
-
import "./bind-
|
|
16
|
-
import { f as readLock, i as requireApi, o as writeProjectScaffold, u as resolveApps } from "./git-
|
|
17
|
-
import "./actions-
|
|
18
|
-
import "./app-
|
|
19
|
-
import { C as syncAssets, D as writeProjectTypes, E as collectProjectDeclarations, S as requireAssets, T as loadFramework, _ as planTargets, a as projectDir, b as resolveBinding, d as pushSource, f as collectSourceFiles, h as projectForApplication, l as LAYOUT_HINT, m as fetchProducts, o as projectDirs, p as warnNotPortable, s as requireProject, w as frameworkVersion, x as assetBaseUrl, y as wantedPlatforms } from "./pipeline-
|
|
15
|
+
import "./bind-CpMOHtha.js";
|
|
16
|
+
import { f as readLock, i as requireApi, o as writeProjectScaffold, u as resolveApps } from "./git-D5zEsg-K.js";
|
|
17
|
+
import "./actions-CWsTaw-9.js";
|
|
18
|
+
import "./app-iJ6GVRuJ.js";
|
|
19
|
+
import { C as syncAssets, D as writeProjectTypes, E as collectProjectDeclarations, S as requireAssets, T as loadFramework, _ as planTargets, a as projectDir, b as resolveBinding, d as pushSource, f as collectSourceFiles, h as projectForApplication, l as LAYOUT_HINT, m as fetchProducts, o as projectDirs, p as warnNotPortable, s as requireProject, w as frameworkVersion, x as assetBaseUrl, y as wantedPlatforms } from "./pipeline-CGFoiQoD.js";
|
|
20
20
|
import pc from "picocolors";
|
|
21
21
|
import * as fs from "node:fs";
|
|
22
22
|
import * as path from "node:path";
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { _ as apiKeyFromEnv } from "./output-
|
|
2
|
-
import "./telemetry-
|
|
3
|
-
import "./update-
|
|
4
|
-
import { i as loadSession } from "./token-
|
|
5
|
-
import { t as defineCommand } from "./command-
|
|
1
|
+
import { _ as apiKeyFromEnv } from "./output-BdYOOjvC.js";
|
|
2
|
+
import "./telemetry-Dn2nK6DV.js";
|
|
3
|
+
import "./update-BLygC1jI.js";
|
|
4
|
+
import { i as loadSession } from "./token-CmLVJoQf.js";
|
|
5
|
+
import { t as defineCommand } from "./command-RrGwoPLb.js";
|
|
6
6
|
import { a as THEME, n as ui, o as fg } from "./ui-Lqt_zFOr.js";
|
|
7
7
|
import "./spawn-DSoTXy_j.js";
|
|
8
|
-
import { t as scanProject } from "./scan-
|
|
9
|
-
import { t as detectDrivers } from "./drivers-
|
|
10
|
-
import "./hosted-
|
|
11
|
-
import { t as detectExisting } from "./existing-
|
|
8
|
+
import { t as scanProject } from "./scan-D31Gmyke.js";
|
|
9
|
+
import { t as detectDrivers } from "./drivers-BCHs6LSQ.js";
|
|
10
|
+
import "./hosted-DOLN6JOq.js";
|
|
11
|
+
import { t as detectExisting } from "./existing-DZeumSLA.js";
|
|
12
12
|
|
|
13
13
|
//#region src/commands/account/doctor.ts
|
|
14
14
|
const runDoctor = defineCommand({
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { g as VERSION } from "./output-
|
|
1
|
+
import { g as VERSION } from "./output-BdYOOjvC.js";
|
|
2
2
|
import { n as readVersion, r as spawnStream, t as onPath } from "./spawn-DSoTXy_j.js";
|
|
3
|
-
import { n as getHostedAuthToken, r as getHostedStatus, t as getHostedAnthropicBaseUrl } from "./hosted-
|
|
3
|
+
import { n as getHostedAuthToken, r as getHostedStatus, t as getHostedAnthropicBaseUrl } from "./hosted-DOLN6JOq.js";
|
|
4
4
|
import { tmpdir } from "node:os";
|
|
5
5
|
import { basename, join } from "node:path";
|
|
6
6
|
import { readFile, rm } from "node:fs/promises";
|
package/dist/entry.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { g as VERSION, i as writeJson, u as ENV_API_KEY } from "./output-
|
|
2
|
-
import { t as flushTelemetry } from "./telemetry-
|
|
3
|
-
import { n as flushUpdateCheck } from "./update-
|
|
1
|
+
import { g as VERSION, i as writeJson, u as ENV_API_KEY } from "./output-BdYOOjvC.js";
|
|
2
|
+
import { t as flushTelemetry } from "./telemetry-Dn2nK6DV.js";
|
|
3
|
+
import { n as flushUpdateCheck } from "./update-BLygC1jI.js";
|
|
4
4
|
import yargs from "yargs";
|
|
5
5
|
import { hideBin } from "yargs/helpers";
|
|
6
6
|
import pc from "picocolors";
|
|
@@ -56,11 +56,11 @@ const registerAccountCommands = (cli) => cli.command("login", "Log in to Superwa
|
|
|
56
56
|
hidden: true
|
|
57
57
|
}
|
|
58
58
|
}), (argv) => {
|
|
59
|
-
return import("./auth-
|
|
59
|
+
return import("./auth-DroV5uRf.js").then((m) => m.runLogin(argv));
|
|
60
60
|
}).command("logout", "Log out of Superwall", (y) => y, (argv) => {
|
|
61
|
-
return import("./auth-
|
|
61
|
+
return import("./auth-DroV5uRf.js").then((m) => m.runLogout(argv));
|
|
62
62
|
}).command("whoami", "Show the logged-in Superwall account", (y) => y, (argv) => {
|
|
63
|
-
return import("./auth-
|
|
63
|
+
return import("./auth-DroV5uRf.js").then((m) => m.runWhoami(argv));
|
|
64
64
|
}).command("skills", "Install or update the Superwall agent skills for your coding agent", (y) => y.options({
|
|
65
65
|
skill: {
|
|
66
66
|
type: "array",
|
|
@@ -81,16 +81,16 @@ const registerAccountCommands = (cli) => cli.command("login", "Log in to Superwa
|
|
|
81
81
|
hidden: true
|
|
82
82
|
}
|
|
83
83
|
}), (argv) => {
|
|
84
|
-
return import("./skills-
|
|
84
|
+
return import("./skills-C6QhATUb.js").then((m) => m.runSkills(argv));
|
|
85
85
|
}).command("doctor", "Check the health of your Superwall integration", (y) => y.options({ ...installDirOption }), (argv) => {
|
|
86
|
-
return import("./doctor-
|
|
86
|
+
return import("./doctor-BxaNLPE9.js").then((m) => m.runDoctor(argv));
|
|
87
87
|
}).command("upgrade", "Update the CLI to the latest version", (y) => y, (argv) => {
|
|
88
|
-
return import("./upgrade-
|
|
88
|
+
return import("./upgrade-CRvZNMSf.js").then((m) => m.runUpgrade(argv));
|
|
89
89
|
}).command("feedback [message]", "Send feedback about the CLI to the Superwall team", (y) => y.positional("message", {
|
|
90
90
|
type: "string",
|
|
91
91
|
describe: "Your feedback (omit to be prompted)"
|
|
92
92
|
}).example("$0 feedback \"migrate crashed on Expo\"", "Send feedback").example("$0 feedback \"...\" --json", "For agents / automation"), (argv) => {
|
|
93
|
-
return import("./feedback-
|
|
93
|
+
return import("./feedback-dPaf3iKt.js").then((m) => m.runFeedback(argv));
|
|
94
94
|
});
|
|
95
95
|
|
|
96
96
|
//#endregion
|
|
@@ -187,7 +187,7 @@ const registerPaywallCommands = (cli) => cli.command("create [dir]", "Set up pay
|
|
|
187
187
|
describe: "Connect a Superwall app when possible (--no-connect to skip)"
|
|
188
188
|
}
|
|
189
189
|
}).example("$0 create", "Set up superwall/ in the current app").example("$0 create --example with-rive", "Start from an example"), (argv) => {
|
|
190
|
-
return import("./create-
|
|
190
|
+
return import("./create-DJpd25Wz.js").then((m) => m.runCreate(argv));
|
|
191
191
|
}).command("dev [dir..]", "Host the studio: browse and preview your paywalls and funnels", (y) => y.positional("dir", {
|
|
192
192
|
type: "string",
|
|
193
193
|
array: true,
|
|
@@ -205,7 +205,7 @@ const registerPaywallCommands = (cli) => cli.command("create [dir]", "Set up pay
|
|
|
205
205
|
describe: "Host to bind"
|
|
206
206
|
}
|
|
207
207
|
}), (argv) => {
|
|
208
|
-
return import("./dev-
|
|
208
|
+
return import("./dev-FhZ1_Yql.js").then((m) => m.runDev(argv));
|
|
209
209
|
}).command("push [dir]", "Build and push your paywalls as immutable versions (production untouched)", (y) => y.positional("dir", {
|
|
210
210
|
type: "string",
|
|
211
211
|
describe: "Project directory (default: cwd)"
|
|
@@ -231,7 +231,7 @@ const registerPaywallCommands = (cli) => cli.command("create [dir]", "Set up pay
|
|
|
231
231
|
describe: "Publish note recorded in the source commit (only lands when this publish creates a new source commit — unchanged source reuses the existing commit)"
|
|
232
232
|
}
|
|
233
233
|
}), (argv) => {
|
|
234
|
-
return import("./push-
|
|
234
|
+
return import("./push-CD7chwAS.js").then((m) => m.runPush(argv));
|
|
235
235
|
}).command("promote [dir]", "Point production at a pushed version (the latest by default)", (y) => y.version(false).positional("dir", {
|
|
236
236
|
type: "string",
|
|
237
237
|
describe: "Project directory (default: cwd)"
|
|
@@ -252,7 +252,7 @@ const registerPaywallCommands = (cli) => cli.command("create [dir]", "Set up pay
|
|
|
252
252
|
describe: "Pushed version number to promote (requires a single --id)"
|
|
253
253
|
}
|
|
254
254
|
}), (argv) => {
|
|
255
|
-
return import("./promote-
|
|
255
|
+
return import("./promote-DlcFZ7Rs.js").then((m) => m.runPromote(argv));
|
|
256
256
|
}).command("publish [dir]", "Push and promote in one step - build, version, and ship to production", (y) => y.positional("dir", {
|
|
257
257
|
type: "string",
|
|
258
258
|
describe: "Project directory (default: cwd)"
|
|
@@ -278,7 +278,7 @@ const registerPaywallCommands = (cli) => cli.command("create [dir]", "Set up pay
|
|
|
278
278
|
describe: "Publish note recorded in the source commit (only lands when this publish creates a new source commit — unchanged source reuses the existing commit)"
|
|
279
279
|
}
|
|
280
280
|
}), (argv) => {
|
|
281
|
-
return import("./publish-
|
|
281
|
+
return import("./publish-DBu5f2kZ.js").then((m) => m.runPublish(argv));
|
|
282
282
|
});
|
|
283
283
|
|
|
284
284
|
//#endregion
|
|
@@ -290,7 +290,7 @@ const registerPlatformCommands = (cli) => cli.command("query [sql]", "Run SQL ag
|
|
|
290
290
|
type: "string",
|
|
291
291
|
describe: "Read SQL from a .sql file"
|
|
292
292
|
} }).example("$0 query \"SHOW TABLES FROM sw\"", "Run an inline query").example("$0 query --file report.sql --json", "Run a saved query"), (argv) => {
|
|
293
|
-
return import("./query-
|
|
293
|
+
return import("./query-BzYGxEpe.js").then((m) => m.runQuery(argv));
|
|
294
294
|
}).command("asc <target> [value] [value2]", "Call the App Store Connect API through Superwall's signed proxy (no .p8 / JWT needed)", (y) => y.positional("target", {
|
|
295
295
|
type: "string",
|
|
296
296
|
describe: "get|post|patch|delete, a raw path (/v1/...), or: apps | products | subscriptions | iaps | docs | keys"
|
|
@@ -340,7 +340,7 @@ const registerPlatformCommands = (cli) => cli.command("query [sql]", "Run SQL ag
|
|
|
340
340
|
describe: "Plan without writing"
|
|
341
341
|
}
|
|
342
342
|
}), (argv) => {
|
|
343
|
-
return import("./asc-
|
|
343
|
+
return import("./asc-xZ8IMAc7.js").then((m) => m.runAsc(argv));
|
|
344
344
|
}).command("asa <target> [action] [value]", "Call the Apple Search Ads API through Superwall's proxy (no key or token handling)", (y) => y.positional("target", {
|
|
345
345
|
type: "string",
|
|
346
346
|
describe: "A resource (campaigns, adgroups, keywords, negative-keywords, ads, creatives, product-pages, ad-rejections, reports, impression-share, apps, geo, budget-orders, acls, me), get|post|put|delete, a raw path (/campaigns), docs, or keys"
|
|
@@ -552,7 +552,7 @@ const registerPlatformCommands = (cli) => cli.command("query [sql]", "Run SQL ag
|
|
|
552
552
|
describe: "product-pages: include deleted assets"
|
|
553
553
|
}
|
|
554
554
|
}), (argv) => {
|
|
555
|
-
return import("./asa-
|
|
555
|
+
return import("./asa-a55E5e8Z.js").then((m) => m.runAsa(argv));
|
|
556
556
|
});
|
|
557
557
|
|
|
558
558
|
//#endregion
|
|
@@ -632,10 +632,10 @@ const registerResourceCommands = (input) => {
|
|
|
632
632
|
describe: "Plan without writing"
|
|
633
633
|
}
|
|
634
634
|
}), (argv) => {
|
|
635
|
-
return import("./resource-
|
|
635
|
+
return import("./resource-B77ustAb.js").then((m) => m.runResource(resource)(argv));
|
|
636
636
|
});
|
|
637
637
|
cli = cli.command("bootstrap", "Complete account tree: orgs, projects, apps, campaigns, placements, and products", (y) => y, (argv) => {
|
|
638
|
-
return import("./api-
|
|
638
|
+
return import("./api-CxKSh7Fv.js").then((m) => m.runBootstrap(argv));
|
|
639
639
|
});
|
|
640
640
|
for (const verb of API_VERBS) cli = cli.command(`${verb} <path>`, `Make ${verb.toUpperCase()} requests to the Superwall API`, (y) => y.positional("path", {
|
|
641
641
|
type: "string",
|
|
@@ -644,7 +644,7 @@ const registerResourceCommands = (input) => {
|
|
|
644
644
|
type: "array",
|
|
645
645
|
describe: "Param, Stripe-style: -d key=value (string) or key:=value (number/bool/json); nesting via key[sub]"
|
|
646
646
|
} }), (argv) => {
|
|
647
|
-
return import("./api-
|
|
647
|
+
return import("./api-CxKSh7Fv.js").then((m) => m.runApi(verb)(argv));
|
|
648
648
|
});
|
|
649
649
|
return cli;
|
|
650
650
|
};
|
|
@@ -667,8 +667,8 @@ const registerWorkflowCommands = (cli) => cli.command("integrate", "Set up the S
|
|
|
667
667
|
hidden: true
|
|
668
668
|
}
|
|
669
669
|
}), (argv) => {
|
|
670
|
-
if (argv.skill) return import("./print-skill-
|
|
671
|
-
return import("./integrate-
|
|
670
|
+
if (argv.skill) return import("./print-skill-SVtZTg_0.js").then((m) => m.runPrintSkill("integrate")(argv));
|
|
671
|
+
return import("./integrate-CVV4eFv3.js").then((m) => m.runIntegrate(argv));
|
|
672
672
|
}).command("review", "Review an existing Superwall setup end to end", (y) => y.options({
|
|
673
673
|
...installDirOption,
|
|
674
674
|
...dryRunOption,
|
|
@@ -679,8 +679,8 @@ const registerWorkflowCommands = (cli) => cli.command("integrate", "Set up the S
|
|
|
679
679
|
}
|
|
680
680
|
}), (argv) => {
|
|
681
681
|
const id = argv.fix ? "review-fix" : "review";
|
|
682
|
-
if (argv.skill) return import("./print-skill-
|
|
683
|
-
return import("./integrate-
|
|
682
|
+
if (argv.skill) return import("./print-skill-SVtZTg_0.js").then((m) => m.runPrintSkill(id)(argv));
|
|
683
|
+
return import("./integrate-CVV4eFv3.js").then((m) => m.runActionCommand(id)(argv));
|
|
684
684
|
}).command("migrate", "Migrate from RevenueCat / Adapty / Qonversion to Superwall", (y) => y.options({
|
|
685
685
|
...installDirOption,
|
|
686
686
|
"dry-run": {
|
|
@@ -689,8 +689,8 @@ const registerWorkflowCommands = (cli) => cli.command("integrate", "Set up the S
|
|
|
689
689
|
},
|
|
690
690
|
...skillOption
|
|
691
691
|
}), (argv) => {
|
|
692
|
-
if (argv.skill) return import("./print-skill-
|
|
693
|
-
return import("./migrate-
|
|
692
|
+
if (argv.skill) return import("./print-skill-SVtZTg_0.js").then((m) => m.runPrintSkill("migrate")(argv));
|
|
693
|
+
return import("./migrate-D4p-h2Fc.js").then((m) => m.runMigrate(argv));
|
|
694
694
|
});
|
|
695
695
|
|
|
696
696
|
//#endregion
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { d as Integration } from "./output-
|
|
2
|
-
import { n as allDeps, r as readPackageJson } from "./scan-
|
|
1
|
+
import { d as Integration } from "./output-BdYOOjvC.js";
|
|
2
|
+
import { n as allDeps, r as readPackageJson } from "./scan-D31Gmyke.js";
|
|
3
3
|
import { readFileSync } from "node:fs";
|
|
4
4
|
import fg from "fast-glob";
|
|
5
5
|
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { g as VERSION, h as TELEMETRY_KEY, m as TELEMETRY_HOST } from "./output-
|
|
2
|
-
import { a as getAnonymousId } from "./telemetry-
|
|
3
|
-
import "./update-
|
|
4
|
-
import { i as loadSession } from "./token-
|
|
5
|
-
import { t as defineCommand } from "./command-
|
|
1
|
+
import { g as VERSION, h as TELEMETRY_KEY, m as TELEMETRY_HOST } from "./output-BdYOOjvC.js";
|
|
2
|
+
import { a as getAnonymousId } from "./telemetry-Dn2nK6DV.js";
|
|
3
|
+
import "./update-BLygC1jI.js";
|
|
4
|
+
import { i as loadSession } from "./token-CmLVJoQf.js";
|
|
5
|
+
import { t as defineCommand } from "./command-RrGwoPLb.js";
|
|
6
6
|
import "./ui-Lqt_zFOr.js";
|
|
7
7
|
|
|
8
8
|
//#region src/core/feedback.ts
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { _ as apiKeyFromEnv, a as API_HOST, u as ENV_API_KEY } from "./output-
|
|
2
|
-
import { i as loadSession } from "./token-
|
|
3
|
-
import { r as createSuperwallApi } from "./command-
|
|
1
|
+
import { _ as apiKeyFromEnv, a as API_HOST, u as ENV_API_KEY } from "./output-BdYOOjvC.js";
|
|
2
|
+
import { i as loadSession } from "./token-CmLVJoQf.js";
|
|
3
|
+
import { r as createSuperwallApi } from "./command-RrGwoPLb.js";
|
|
4
4
|
import { n as ui } from "./ui-Lqt_zFOr.js";
|
|
5
5
|
import { f as listApplications, y as platformLabel } from "./resources-s64mBHaC.js";
|
|
6
|
-
import { r as performLoginWithUi } from "./app-
|
|
6
|
+
import { r as performLoginWithUi } from "./app-iJ6GVRuJ.js";
|
|
7
7
|
import { promisify } from "node:util";
|
|
8
8
|
import * as fs from "node:fs";
|
|
9
9
|
import * as os$1 from "node:os";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as API_HOST } from "./output-
|
|
2
|
-
import { i as loadSession, t as getOAuthAccessToken } from "./token-
|
|
1
|
+
import { a as API_HOST } from "./output-BdYOOjvC.js";
|
|
2
|
+
import { i as loadSession, t as getOAuthAccessToken } from "./token-CmLVJoQf.js";
|
|
3
3
|
|
|
4
4
|
//#region src/core/agent/hosted.ts
|
|
5
5
|
const STATUS_PATH = "/v2/cli-agent/status";
|
|
@@ -1,26 +1,26 @@
|
|
|
1
|
-
import { _ as apiKeyFromEnv, g as VERSION, l as DASHBOARD_URL, r as formatJson, t as blocks } from "./output-
|
|
2
|
-
import { r as setTelemetryTags, s as getOnboardedApp } from "./telemetry-
|
|
3
|
-
import "./update-
|
|
4
|
-
import { i as loadSession } from "./token-
|
|
5
|
-
import { i as superwallApi, t as defineCommand } from "./command-
|
|
1
|
+
import { _ as apiKeyFromEnv, g as VERSION, l as DASHBOARD_URL, r as formatJson, t as blocks } from "./output-BdYOOjvC.js";
|
|
2
|
+
import { r as setTelemetryTags, s as getOnboardedApp } from "./telemetry-Dn2nK6DV.js";
|
|
3
|
+
import "./update-BLygC1jI.js";
|
|
4
|
+
import { i as loadSession } from "./token-CmLVJoQf.js";
|
|
5
|
+
import { i as superwallApi, t as defineCommand } from "./command-RrGwoPLb.js";
|
|
6
6
|
import { i as stripReport, n as ui } from "./ui-Lqt_zFOr.js";
|
|
7
|
-
import { n as ensureSkillsCurrent } from "./skills-
|
|
7
|
+
import { n as ensureSkillsCurrent } from "./skills-DP-jU7Fj.js";
|
|
8
8
|
import "./spawn-DSoTXy_j.js";
|
|
9
|
-
import "./login-
|
|
10
|
-
import { i as SUPPORTED_LABEL, t as scanProject } from "./scan-
|
|
11
|
-
import { t as detectDrivers } from "./drivers-
|
|
12
|
-
import "./hosted-
|
|
13
|
-
import { t as detectExisting } from "./existing-
|
|
9
|
+
import "./login-D9fJlrZt.js";
|
|
10
|
+
import { i as SUPPORTED_LABEL, t as scanProject } from "./scan-D31Gmyke.js";
|
|
11
|
+
import { t as detectDrivers } from "./drivers-BCHs6LSQ.js";
|
|
12
|
+
import "./hosted-DOLN6JOq.js";
|
|
13
|
+
import { t as detectExisting } from "./existing-DZeumSLA.js";
|
|
14
14
|
import { t as withSpinner } from "./spinner-B9dT3DBY.js";
|
|
15
15
|
import { C as rowName, f as listApplications, h as listResource, o as createProduct, y as platformLabel } from "./resources-s64mBHaC.js";
|
|
16
16
|
import "./org-Cg25bcsj.js";
|
|
17
|
-
import { n as resolveAppBinding, r as resolveScopeFromKey, t as platformForIntegration } from "./bind-
|
|
18
|
-
import { r as actionById } from "./actions-
|
|
19
|
-
import { a as recoverUnmatchedScope, i as pickApp, n as ensureAgentDriverReady, o as stage, r as performLoginWithUi, t as chooseAction } from "./app-
|
|
17
|
+
import { n as resolveAppBinding, r as resolveScopeFromKey, t as platformForIntegration } from "./bind-CpMOHtha.js";
|
|
18
|
+
import { r as actionById } from "./actions-CWsTaw-9.js";
|
|
19
|
+
import { a as recoverUnmatchedScope, i as pickApp, n as ensureAgentDriverReady, o as stage, r as performLoginWithUi, t as chooseAction } from "./app-iJ6GVRuJ.js";
|
|
20
20
|
import { c as listAscConfigs, i as listAscApps, n as fetchUnimportedAscProducts, o as createAscConfig, r as findAscAppId, t as ascTypeDisplay } from "./asc-products-C6MvSy8H.js";
|
|
21
21
|
import { t as generateStoreKit } from "./storekit-DPonXSwe.js";
|
|
22
|
-
import { i as saveReport, n as buildCopyPrompt, r as loadReport, t as runAction } from "./run-
|
|
23
|
-
import { t as detectBilling } from "./billing-
|
|
22
|
+
import { i as saveReport, n as buildCopyPrompt, r as loadReport, t as runAction } from "./run-Czpm0qSl.js";
|
|
23
|
+
import { t as detectBilling } from "./billing-D7nyWvD1.js";
|
|
24
24
|
import { readFileSync, writeFileSync } from "node:fs";
|
|
25
25
|
import { homedir } from "node:os";
|
|
26
26
|
import { basename, join } from "node:path";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { a as API_HOST, c as CLI_CLIENT_ID, d as Integration, f as OAUTH_SCOPE, s as AUTH_HOST } from "./output-
|
|
2
|
-
import { c as getOnboardedOrg, l as getOnboardingIdempotencyKey, m as setOnboardedOrg, p as setOnboardedApp } from "./telemetry-
|
|
3
|
-
import { a as saveSession } from "./token-
|
|
1
|
+
import { a as API_HOST, c as CLI_CLIENT_ID, d as Integration, f as OAUTH_SCOPE, s as AUTH_HOST } from "./output-BdYOOjvC.js";
|
|
2
|
+
import { c as getOnboardedOrg, l as getOnboardingIdempotencyKey, m as setOnboardedOrg, p as setOnboardedApp } from "./telemetry-Dn2nK6DV.js";
|
|
3
|
+
import { a as saveSession } from "./token-CmLVJoQf.js";
|
|
4
4
|
import { n as ui } from "./ui-Lqt_zFOr.js";
|
|
5
5
|
import { spawn } from "node:child_process";
|
|
6
6
|
|
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
import { g as VERSION, l as DASHBOARD_URL, t as blocks } from "./output-
|
|
2
|
-
import "./telemetry-
|
|
3
|
-
import "./update-
|
|
4
|
-
import { i as loadSession } from "./token-
|
|
5
|
-
import { t as defineCommand } from "./command-
|
|
1
|
+
import { g as VERSION, l as DASHBOARD_URL, t as blocks } from "./output-BdYOOjvC.js";
|
|
2
|
+
import "./telemetry-Dn2nK6DV.js";
|
|
3
|
+
import "./update-BLygC1jI.js";
|
|
4
|
+
import { i as loadSession } from "./token-CmLVJoQf.js";
|
|
5
|
+
import { t as defineCommand } from "./command-RrGwoPLb.js";
|
|
6
6
|
import { i as stripReport, n as ui } from "./ui-Lqt_zFOr.js";
|
|
7
|
-
import "./skills-
|
|
7
|
+
import "./skills-DP-jU7Fj.js";
|
|
8
8
|
import "./spawn-DSoTXy_j.js";
|
|
9
|
-
import "./login-
|
|
10
|
-
import { t as scanProject } from "./scan-
|
|
11
|
-
import { t as detectDrivers } from "./drivers-
|
|
12
|
-
import "./hosted-
|
|
13
|
-
import { t as detectExisting } from "./existing-
|
|
9
|
+
import "./login-D9fJlrZt.js";
|
|
10
|
+
import { t as scanProject } from "./scan-D31Gmyke.js";
|
|
11
|
+
import { t as detectDrivers } from "./drivers-BCHs6LSQ.js";
|
|
12
|
+
import "./hosted-DOLN6JOq.js";
|
|
13
|
+
import { t as detectExisting } from "./existing-DZeumSLA.js";
|
|
14
14
|
import "./spinner-B9dT3DBY.js";
|
|
15
15
|
import "./resources-s64mBHaC.js";
|
|
16
16
|
import "./org-Cg25bcsj.js";
|
|
17
|
-
import "./bind-
|
|
18
|
-
import { r as actionById } from "./actions-
|
|
19
|
-
import { r as performLoginWithUi } from "./app-
|
|
20
|
-
import { i as saveReport, t as runAction } from "./run-
|
|
21
|
-
import { t as detectBilling } from "./billing-
|
|
17
|
+
import "./bind-CpMOHtha.js";
|
|
18
|
+
import { r as actionById } from "./actions-CWsTaw-9.js";
|
|
19
|
+
import { r as performLoginWithUi } from "./app-iJ6GVRuJ.js";
|
|
20
|
+
import { i as saveReport, t as runAction } from "./run-Czpm0qSl.js";
|
|
21
|
+
import { t as detectBilling } from "./billing-D7nyWvD1.js";
|
|
22
22
|
|
|
23
23
|
//#region src/commands/workflow/migrate.ts
|
|
24
24
|
const runMigrate = defineCommand({
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { g as VERSION, o as ASSET_HOST } from "./output-
|
|
2
|
-
import { n as ApiError } from "./command-
|
|
1
|
+
import { g as VERSION, o as ASSET_HOST } from "./output-BdYOOjvC.js";
|
|
2
|
+
import { n as ApiError } from "./command-RrGwoPLb.js";
|
|
3
3
|
import { n as ui } from "./ui-Lqt_zFOr.js";
|
|
4
4
|
import { S as pushPaywallVersion, T as versionProducts, a as createHeadlessPaywall, b as promotePaywallVersion, d as listAppPaywalls, g as livePaywall, m as listProjects, u as linkSourceCommit, v as mintSourceAccess, x as pushPaywallAssets, y as platformLabel } from "./resources-s64mBHaC.js";
|
|
5
|
-
import { _ as writeSnapshot, c as platformFor, d as describeBindings, f as readLock, g as writeBindings, h as writeBinding, n as pushSourceTree, o as writeProjectScaffold, p as removeBinding, s as describePlatforms, t as gitAvailable, u as resolveApps } from "./git-
|
|
5
|
+
import { _ as writeSnapshot, c as platformFor, d as describeBindings, f as readLock, g as writeBindings, h as writeBinding, n as pushSourceTree, o as writeProjectScaffold, p as removeBinding, s as describePlatforms, t as gitAvailable, u as resolveApps } from "./git-D5zEsg-K.js";
|
|
6
6
|
import { createRequire } from "node:module";
|
|
7
7
|
import pc from "picocolors";
|
|
8
8
|
import * as fs from "node:fs";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import "./output-
|
|
2
|
-
import { i as track, r as setTelemetryTags } from "./telemetry-
|
|
1
|
+
import "./output-BdYOOjvC.js";
|
|
2
|
+
import { i as track, r as setTelemetryTags } from "./telemetry-Dn2nK6DV.js";
|
|
3
3
|
import "./ui-Lqt_zFOr.js";
|
|
4
|
-
import { i as loadBundledSkill } from "./skills-
|
|
4
|
+
import { i as loadBundledSkill } from "./skills-DP-jU7Fj.js";
|
|
5
5
|
import "./spawn-DSoTXy_j.js";
|
|
6
|
-
import { t as scanProject } from "./scan-
|
|
7
|
-
import { n as FRAMEWORK_REF } from "./actions-
|
|
8
|
-
import { t as detectBilling } from "./billing-
|
|
6
|
+
import { t as scanProject } from "./scan-D31Gmyke.js";
|
|
7
|
+
import { n as FRAMEWORK_REF } from "./actions-CWsTaw-9.js";
|
|
8
|
+
import { t as detectBilling } from "./billing-D7nyWvD1.js";
|
|
9
9
|
import { resolve } from "node:path";
|
|
10
10
|
|
|
11
11
|
//#region src/commands/workflow/print-skill.ts
|
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
import { g as VERSION } from "./output-
|
|
2
|
-
import "./telemetry-
|
|
3
|
-
import "./update-
|
|
4
|
-
import "./token-
|
|
5
|
-
import { n as ApiError, t as defineCommand } from "./command-
|
|
1
|
+
import { g as VERSION } from "./output-BdYOOjvC.js";
|
|
2
|
+
import "./telemetry-Dn2nK6DV.js";
|
|
3
|
+
import "./update-BLygC1jI.js";
|
|
4
|
+
import "./token-CmLVJoQf.js";
|
|
5
|
+
import { n as ApiError, t as defineCommand } from "./command-RrGwoPLb.js";
|
|
6
6
|
import { n as ui } from "./ui-Lqt_zFOr.js";
|
|
7
|
-
import "./skills-
|
|
7
|
+
import "./skills-DP-jU7Fj.js";
|
|
8
8
|
import "./spawn-DSoTXy_j.js";
|
|
9
|
-
import "./login-
|
|
10
|
-
import "./scan-
|
|
11
|
-
import "./hosted-
|
|
9
|
+
import "./login-D9fJlrZt.js";
|
|
10
|
+
import "./scan-D31Gmyke.js";
|
|
11
|
+
import "./hosted-DOLN6JOq.js";
|
|
12
12
|
import "./spinner-B9dT3DBY.js";
|
|
13
13
|
import { _ as livePaywallVersion, b as promotePaywallVersion } from "./resources-s64mBHaC.js";
|
|
14
14
|
import "./org-Cg25bcsj.js";
|
|
15
|
-
import "./bind-
|
|
16
|
-
import { i as requireApi, u as resolveApps } from "./git-
|
|
17
|
-
import "./actions-
|
|
18
|
-
import "./app-
|
|
19
|
-
import { E as collectProjectDeclarations, T as loadFramework, _ as planTargets, a as projectDir, b as resolveBinding, c as selectSurfaces, g as parsePlatformFlags, i as pickApplicationOption, r as timed, t as group, u as transition, v as targetLabel, y as wantedPlatforms } from "./pipeline-
|
|
15
|
+
import "./bind-CpMOHtha.js";
|
|
16
|
+
import { i as requireApi, u as resolveApps } from "./git-D5zEsg-K.js";
|
|
17
|
+
import "./actions-CWsTaw-9.js";
|
|
18
|
+
import "./app-iJ6GVRuJ.js";
|
|
19
|
+
import { E as collectProjectDeclarations, T as loadFramework, _ as planTargets, a as projectDir, b as resolveBinding, c as selectSurfaces, g as parsePlatformFlags, i as pickApplicationOption, r as timed, t as group, u as transition, v as targetLabel, y as wantedPlatforms } from "./pipeline-CGFoiQoD.js";
|
|
20
20
|
import pc from "picocolors";
|
|
21
21
|
|
|
22
22
|
//#region src/commands/paywalls/promote.ts
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import "./output-BdYOOjvC.js";
|
|
2
|
+
import "./telemetry-Dn2nK6DV.js";
|
|
3
|
+
import "./update-BLygC1jI.js";
|
|
4
|
+
import "./token-CmLVJoQf.js";
|
|
5
|
+
import { t as defineCommand } from "./command-RrGwoPLb.js";
|
|
6
|
+
import "./ui-Lqt_zFOr.js";
|
|
7
|
+
import "./skills-DP-jU7Fj.js";
|
|
8
|
+
import "./spawn-DSoTXy_j.js";
|
|
9
|
+
import "./login-D9fJlrZt.js";
|
|
10
|
+
import "./scan-D31Gmyke.js";
|
|
11
|
+
import "./hosted-DOLN6JOq.js";
|
|
12
|
+
import "./spinner-B9dT3DBY.js";
|
|
13
|
+
import "./resources-s64mBHaC.js";
|
|
14
|
+
import "./org-Cg25bcsj.js";
|
|
15
|
+
import "./bind-CpMOHtha.js";
|
|
16
|
+
import { i as requireApi } from "./git-D5zEsg-K.js";
|
|
17
|
+
import "./actions-CWsTaw-9.js";
|
|
18
|
+
import "./app-iJ6GVRuJ.js";
|
|
19
|
+
import { n as runPushPipeline } from "./pipeline-CGFoiQoD.js";
|
|
20
|
+
|
|
21
|
+
//#region src/commands/paywalls/publish.ts
|
|
22
|
+
const runPublish = defineCommand({
|
|
23
|
+
name: "publish",
|
|
24
|
+
output: "human",
|
|
25
|
+
async run(context) {
|
|
26
|
+
const api = await requireApi(context.interactive);
|
|
27
|
+
await runPushPipeline({
|
|
28
|
+
...context,
|
|
29
|
+
api
|
|
30
|
+
}, { promote: true });
|
|
31
|
+
}
|
|
32
|
+
});
|
|
33
|
+
|
|
34
|
+
//#endregion
|
|
35
|
+
export { runPublish };
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import "./output-BdYOOjvC.js";
|
|
2
|
+
import "./telemetry-Dn2nK6DV.js";
|
|
3
|
+
import "./update-BLygC1jI.js";
|
|
4
|
+
import "./token-CmLVJoQf.js";
|
|
5
|
+
import { t as defineCommand } from "./command-RrGwoPLb.js";
|
|
6
|
+
import "./ui-Lqt_zFOr.js";
|
|
7
|
+
import "./skills-DP-jU7Fj.js";
|
|
8
|
+
import "./spawn-DSoTXy_j.js";
|
|
9
|
+
import "./login-D9fJlrZt.js";
|
|
10
|
+
import "./scan-D31Gmyke.js";
|
|
11
|
+
import "./hosted-DOLN6JOq.js";
|
|
12
|
+
import "./spinner-B9dT3DBY.js";
|
|
13
|
+
import "./resources-s64mBHaC.js";
|
|
14
|
+
import "./org-Cg25bcsj.js";
|
|
15
|
+
import "./bind-CpMOHtha.js";
|
|
16
|
+
import { i as requireApi } from "./git-D5zEsg-K.js";
|
|
17
|
+
import "./actions-CWsTaw-9.js";
|
|
18
|
+
import "./app-iJ6GVRuJ.js";
|
|
19
|
+
import { n as runPushPipeline } from "./pipeline-CGFoiQoD.js";
|
|
20
|
+
|
|
21
|
+
//#region src/commands/paywalls/push.ts
|
|
22
|
+
const runPush = defineCommand({
|
|
23
|
+
name: "push",
|
|
24
|
+
output: "human",
|
|
25
|
+
async run(context) {
|
|
26
|
+
const api = await requireApi(context.interactive);
|
|
27
|
+
await runPushPipeline({
|
|
28
|
+
...context,
|
|
29
|
+
api
|
|
30
|
+
}, { promote: false });
|
|
31
|
+
}
|
|
32
|
+
});
|
|
33
|
+
|
|
34
|
+
//#endregion
|
|
35
|
+
export { runPush };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import "./output-
|
|
2
|
-
import "./telemetry-
|
|
3
|
-
import "./update-
|
|
4
|
-
import "./token-
|
|
5
|
-
import { t as defineCommand } from "./command-
|
|
1
|
+
import "./output-BdYOOjvC.js";
|
|
2
|
+
import "./telemetry-Dn2nK6DV.js";
|
|
3
|
+
import "./update-BLygC1jI.js";
|
|
4
|
+
import "./token-CmLVJoQf.js";
|
|
5
|
+
import { t as defineCommand } from "./command-RrGwoPLb.js";
|
|
6
6
|
import "./ui-Lqt_zFOr.js";
|
|
7
7
|
import "./spinner-B9dT3DBY.js";
|
|
8
8
|
import "./resources-s64mBHaC.js";
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { r as formatJson, t as blocks } from "./output-
|
|
2
|
-
import { f as setDefaultApp, o as getDefaultApp } from "./telemetry-
|
|
3
|
-
import "./update-
|
|
4
|
-
import "./token-
|
|
5
|
-
import { n as ApiError, t as defineCommand } from "./command-
|
|
1
|
+
import { r as formatJson, t as blocks } from "./output-BdYOOjvC.js";
|
|
2
|
+
import { f as setDefaultApp, o as getDefaultApp } from "./telemetry-Dn2nK6DV.js";
|
|
3
|
+
import "./update-BLygC1jI.js";
|
|
4
|
+
import "./token-CmLVJoQf.js";
|
|
5
|
+
import { n as ApiError, t as defineCommand } from "./command-RrGwoPLb.js";
|
|
6
6
|
import "./ui-Lqt_zFOr.js";
|
|
7
|
-
import { t as scanProject } from "./scan-
|
|
8
|
-
import { t as detectExisting } from "./existing-
|
|
7
|
+
import { t as scanProject } from "./scan-D31Gmyke.js";
|
|
8
|
+
import { t as detectExisting } from "./existing-DZeumSLA.js";
|
|
9
9
|
import "./spinner-B9dT3DBY.js";
|
|
10
10
|
import { C as rowName, c as getPaywallApplicationId, h as listResource, i as createEntitlement, l as isAppScoped, m as listProjects, n as createApplication, o as createProduct, p as listOrganizations, r as createCampaign, s as createProject, t as addPlacement, w as titleCase, y as platformLabel } from "./resources-s64mBHaC.js";
|
|
11
11
|
import { t as requireOrg } from "./org-Cg25bcsj.js";
|
|
12
|
-
import { t as platformForIntegration } from "./bind-
|
|
12
|
+
import { t as platformForIntegration } from "./bind-CpMOHtha.js";
|
|
13
13
|
import { t as apiCall } from "./api-output-D9ggXQIr.js";
|
|
14
14
|
import { t as generateStoreKit } from "./storekit-DPonXSwe.js";
|
|
15
15
|
import * as fs from "node:fs";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { l as DASHBOARD_URL } from "./output-
|
|
2
|
-
import { s as packagedDir } from "./skills-
|
|
1
|
+
import { l as DASHBOARD_URL } from "./output-BdYOOjvC.js";
|
|
2
|
+
import { s as packagedDir } from "./skills-DP-jU7Fj.js";
|
|
3
3
|
import { existsSync, mkdirSync, readFileSync, writeFileSync } from "node:fs";
|
|
4
4
|
import { join } from "node:path";
|
|
5
5
|
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import "./output-
|
|
2
|
-
import "./telemetry-
|
|
3
|
-
import "./update-
|
|
4
|
-
import "./token-
|
|
5
|
-
import { t as defineCommand } from "./command-
|
|
1
|
+
import "./output-BdYOOjvC.js";
|
|
2
|
+
import "./telemetry-Dn2nK6DV.js";
|
|
3
|
+
import "./update-BLygC1jI.js";
|
|
4
|
+
import "./token-CmLVJoQf.js";
|
|
5
|
+
import { t as defineCommand } from "./command-RrGwoPLb.js";
|
|
6
6
|
import { n as ui } from "./ui-Lqt_zFOr.js";
|
|
7
|
-
import { a as skillsOutOfDate, o as syncSkills, r as fetchPublicSkills, t as SUPERWALL_SKILLS_SOURCE } from "./skills-
|
|
7
|
+
import { a as skillsOutOfDate, o as syncSkills, r as fetchPublicSkills, t as SUPERWALL_SKILLS_SOURCE } from "./skills-DP-jU7Fj.js";
|
|
8
8
|
import "./spawn-DSoTXy_j.js";
|
|
9
9
|
import { t as withSpinner } from "./spinner-B9dT3DBY.js";
|
|
10
10
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { g as VERSION } from "./output-
|
|
2
|
-
import { h as setSkillsSync, i as track, u as getSkillsSync } from "./telemetry-
|
|
1
|
+
import { g as VERSION } from "./output-BdYOOjvC.js";
|
|
2
|
+
import { h as setSkillsSync, i as track, u as getSkillsSync } from "./telemetry-Dn2nK6DV.js";
|
|
3
3
|
import { n as ui } from "./ui-Lqt_zFOr.js";
|
|
4
4
|
import { r as spawnStream } from "./spawn-DSoTXy_j.js";
|
|
5
5
|
import { existsSync, readFileSync } from "node:fs";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { g as VERSION, h as TELEMETRY_KEY, m as TELEMETRY_HOST, p as SUPERWALL_HOME, r as formatJson, v as isNonInteractive } from "./output-
|
|
1
|
+
import { g as VERSION, h as TELEMETRY_KEY, m as TELEMETRY_HOST, p as SUPERWALL_HOME, r as formatJson, v as isNonInteractive } from "./output-BdYOOjvC.js";
|
|
2
2
|
import { randomUUID } from "node:crypto";
|
|
3
3
|
import { existsSync, mkdirSync, readFileSync, writeFileSync } from "node:fs";
|
|
4
4
|
import { homedir } from "node:os";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { p as SUPERWALL_HOME, r as formatJson } from "./output-
|
|
1
|
+
import { p as SUPERWALL_HOME, r as formatJson } from "./output-BdYOOjvC.js";
|
|
2
2
|
import { existsSync, mkdirSync, readFileSync, rmSync, writeFileSync } from "node:fs";
|
|
3
3
|
import { homedir } from "node:os";
|
|
4
4
|
import { join } from "node:path";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { g as VERSION } from "./output-
|
|
2
|
-
import { d as getUpdateCheck, g as setUpdateCheck } from "./telemetry-
|
|
1
|
+
import { g as VERSION } from "./output-BdYOOjvC.js";
|
|
2
|
+
import { d as getUpdateCheck, g as setUpdateCheck } from "./telemetry-Dn2nK6DV.js";
|
|
3
3
|
import pc from "picocolors";
|
|
4
4
|
|
|
5
5
|
//#region src/core/update.ts
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { g as VERSION } from "./output-
|
|
2
|
-
import { g as setUpdateCheck } from "./telemetry-
|
|
3
|
-
import { r as isNewerVersion, t as fetchLatestVersion } from "./update-
|
|
4
|
-
import "./token-
|
|
5
|
-
import { t as defineCommand } from "./command-
|
|
1
|
+
import { g as VERSION } from "./output-BdYOOjvC.js";
|
|
2
|
+
import { g as setUpdateCheck } from "./telemetry-Dn2nK6DV.js";
|
|
3
|
+
import { r as isNewerVersion, t as fetchLatestVersion } from "./update-BLygC1jI.js";
|
|
4
|
+
import "./token-CmLVJoQf.js";
|
|
5
|
+
import { t as defineCommand } from "./command-RrGwoPLb.js";
|
|
6
6
|
import "./ui-Lqt_zFOr.js";
|
|
7
7
|
import { r as spawnStream } from "./spawn-DSoTXy_j.js";
|
|
8
8
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@superwall/cli",
|
|
3
|
-
"version": "1.3.0
|
|
3
|
+
"version": "1.3.0",
|
|
4
4
|
"description": "The official CLI for managing Superwall from your terminal or coding agent.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"agent",
|
|
@@ -58,7 +58,7 @@
|
|
|
58
58
|
},
|
|
59
59
|
"dependencies": {
|
|
60
60
|
"@anthropic-ai/claude-agent-sdk": "0.3.201",
|
|
61
|
-
"@superwall/studio": "1.3.0
|
|
61
|
+
"@superwall/studio": "1.3.0",
|
|
62
62
|
"ansi-escapes": "^7.3.0",
|
|
63
63
|
"fast-glob": "^3.3.3",
|
|
64
64
|
"ink": "^5.2.1",
|
package/dist/publish-lviGUOF8.js
DELETED
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
import "./output-DmEUd7Xa.js";
|
|
2
|
-
import "./telemetry-vvgwHwjA.js";
|
|
3
|
-
import "./update-DeK9OQ5x.js";
|
|
4
|
-
import "./token-CwKfB5Ic.js";
|
|
5
|
-
import { t as defineCommand } from "./command-Bav1fWvv.js";
|
|
6
|
-
import "./ui-Lqt_zFOr.js";
|
|
7
|
-
import "./skills-BDMwScz3.js";
|
|
8
|
-
import "./spawn-DSoTXy_j.js";
|
|
9
|
-
import "./login-DGc6GQqT.js";
|
|
10
|
-
import "./scan-HfLbAkLc.js";
|
|
11
|
-
import "./hosted-q7_n5udj.js";
|
|
12
|
-
import "./spinner-B9dT3DBY.js";
|
|
13
|
-
import "./resources-s64mBHaC.js";
|
|
14
|
-
import "./org-Cg25bcsj.js";
|
|
15
|
-
import "./bind-CBLvcdzo.js";
|
|
16
|
-
import { i as requireApi } from "./git-C0x00Urq.js";
|
|
17
|
-
import "./actions-C0sUjLGZ.js";
|
|
18
|
-
import "./app-vECLIkWi.js";
|
|
19
|
-
import { n as runPushPipeline } from "./pipeline-B3c4tjfA.js";
|
|
20
|
-
|
|
21
|
-
//#region src/commands/paywalls/publish.ts
|
|
22
|
-
const runPublish = defineCommand({
|
|
23
|
-
name: "publish",
|
|
24
|
-
output: "human",
|
|
25
|
-
async run(context) {
|
|
26
|
-
const api = await requireApi(context.interactive);
|
|
27
|
-
await runPushPipeline({
|
|
28
|
-
...context,
|
|
29
|
-
api
|
|
30
|
-
}, { promote: true });
|
|
31
|
-
}
|
|
32
|
-
});
|
|
33
|
-
|
|
34
|
-
//#endregion
|
|
35
|
-
export { runPublish };
|
package/dist/push-C8vuasQL.js
DELETED
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
import "./output-DmEUd7Xa.js";
|
|
2
|
-
import "./telemetry-vvgwHwjA.js";
|
|
3
|
-
import "./update-DeK9OQ5x.js";
|
|
4
|
-
import "./token-CwKfB5Ic.js";
|
|
5
|
-
import { t as defineCommand } from "./command-Bav1fWvv.js";
|
|
6
|
-
import "./ui-Lqt_zFOr.js";
|
|
7
|
-
import "./skills-BDMwScz3.js";
|
|
8
|
-
import "./spawn-DSoTXy_j.js";
|
|
9
|
-
import "./login-DGc6GQqT.js";
|
|
10
|
-
import "./scan-HfLbAkLc.js";
|
|
11
|
-
import "./hosted-q7_n5udj.js";
|
|
12
|
-
import "./spinner-B9dT3DBY.js";
|
|
13
|
-
import "./resources-s64mBHaC.js";
|
|
14
|
-
import "./org-Cg25bcsj.js";
|
|
15
|
-
import "./bind-CBLvcdzo.js";
|
|
16
|
-
import { i as requireApi } from "./git-C0x00Urq.js";
|
|
17
|
-
import "./actions-C0sUjLGZ.js";
|
|
18
|
-
import "./app-vECLIkWi.js";
|
|
19
|
-
import { n as runPushPipeline } from "./pipeline-B3c4tjfA.js";
|
|
20
|
-
|
|
21
|
-
//#region src/commands/paywalls/push.ts
|
|
22
|
-
const runPush = defineCommand({
|
|
23
|
-
name: "push",
|
|
24
|
-
output: "human",
|
|
25
|
-
async run(context) {
|
|
26
|
-
const api = await requireApi(context.interactive);
|
|
27
|
-
await runPushPipeline({
|
|
28
|
-
...context,
|
|
29
|
-
api
|
|
30
|
-
}, { promote: false });
|
|
31
|
-
}
|
|
32
|
-
});
|
|
33
|
-
|
|
34
|
-
//#endregion
|
|
35
|
-
export { runPush };
|