@superwall/cli 2.5.1 → 2.6.0-beta.1

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 (97) hide show
  1. package/dist/{apple-BSKxY7Gx.js → apple-Bmt_iywx.js} +14 -14
  2. package/dist/{approve-DbwsYO4s.js → approve-D2UgqaRx.js} +27 -27
  3. package/dist/{assets-CqpFg5mM.js → assets-B_quADds.js} +3 -3
  4. package/dist/auth.js +3 -3
  5. package/dist/{session-DYdxTNZf.js → base-ChTi42M0.js} +35 -35
  6. package/dist/{billing-BopwIhR3.js → billing-ZIETn0j4.js} +3 -3
  7. package/dist/{bind-DOF3o3FR.js → bind-ClFjTt0U.js} +4 -4
  8. package/dist/{build-BF22vVdV.js → build-BWjXurjs.js} +10 -10
  9. package/dist/{client-DHlsTaP1.js → client-CyrYJzBF.js} +3 -3
  10. package/dist/create-7HDW3DCl.js +20 -0
  11. package/dist/{create-CiZzZrru.js → create-BCIgjRHn.js} +6 -6
  12. package/dist/{create-CboPfAlN.js → create-C3uklw-U.js} +31 -31
  13. package/dist/{doctor-BqZGaQE5.js → doctor-D2Q1EZe8.js} +6 -6
  14. package/dist/{drivers-DkboeR1c.js → drivers-BQkO5tHs.js} +3 -3
  15. package/dist/entry.js +20 -20
  16. package/dist/{environment-FR3bcq0D.js → environment-BocmdvZ-.js} +1 -1
  17. package/dist/{existing-C6TTT6c4.js → existing-Cl5x6_5u.js} +2 -2
  18. package/dist/{selection-CWfI4a0O.js → framework-CLmf4swr.js} +50 -50
  19. package/dist/{held-C2IjAyg6.js → held-Bykbwy-m.js} +6 -6
  20. package/dist/held-Chw3BtBV.js +17 -0
  21. package/dist/{install-DoSYCwLL.js → install-dXZZ79Oe.js} +37 -37
  22. package/dist/{integrate-BSqd2wgI.js → integrate-DiSjlOjC.js} +23 -23
  23. package/dist/{types-CB6O_wjy.js → lock-DgSx-p8Y.js} +79 -79
  24. package/dist/{login-C6FcBQZg.js → login-5sWIKDI2.js} +6 -6
  25. package/dist/login-DZ8Pipf6.js +17 -0
  26. package/dist/{login-dRPPnGr7.js → login-Jp6E6d2e.js} +1 -1
  27. package/dist/{lookup-D23dAOz6.js → lookup-CWzVfPpq.js} +3 -3
  28. package/dist/{migrate-CDdUCTH3.js → migrate-BKiOUsMY.js} +29 -29
  29. package/dist/{migration-r9plM7F6.js → migration-Z69tLeHC.js} +9 -9
  30. package/dist/{notification-url-rdnENCxt.js → notification-url-BDBxbwZq.js} +2 -2
  31. package/dist/{open-DVdE3HnK.js → open-DNd49kT-.js} +2 -2
  32. package/dist/{org-DZ41muzA.js → org-Dud1rF9f.js} +3 -3
  33. package/dist/{organization-DIODPOwO.js → organization-7vJA3uy1.js} +8 -8
  34. package/dist/{orgs-BxlwcvTu.js → orgs-Z0H9WOs1.js} +1 -1
  35. package/dist/{paths-BaeoxDze.js → paths-CzTJVpfi.js} +1 -1
  36. package/dist/{playbook-B-Pdonhg.js → playbook-DJ__edOW.js} +10 -10
  37. package/dist/{project-DHU5wc3R.js → project-NoMtbMyl.js} +9 -9
  38. package/dist/{promote-Ca4URuHY.js → promote-DLtPSvmL.js} +23 -23
  39. package/dist/{pull-CQcTZxW8.js → pull-AoUmaiMK.js} +8 -8
  40. package/dist/pull-C1xm2zqG.js +36 -0
  41. package/dist/pull-D-YuT3e0.js +106 -0
  42. package/dist/push-B42D8fKf.js +22 -0
  43. package/dist/{push-BlZoIwIj.js → push-BMblzg_6.js} +9 -9
  44. package/dist/{push-DQE48h_M.js → push-BrzMFd4Z.js} +46 -46
  45. package/dist/push-Co5jk6Kr.js +30 -0
  46. package/dist/{registry-FNG-uiIt.js → registry-DDU10_Ix.js} +152 -152
  47. package/dist/resolve-DpOSDDdr.js +196 -0
  48. package/dist/{resources-COOEvqqW.js → resources-CptT7HD6.js} +2 -2
  49. package/dist/{run-DpYDOAw-.js → run-c1O2_8pp.js} +2 -2
  50. package/dist/{run-Czbb-sHR.js → run-r3foWfhV.js} +65 -65
  51. package/dist/scan-D86kLtM7.js +4 -0
  52. package/dist/{scan-BZS2FZeU.js → scan-nVQO7JLx.js} +1 -1
  53. package/dist/{scope-t_SqFN6W.js → scope-ehZ7L1nj.js} +8 -8
  54. package/dist/{scope-BJQ-KcQg.js → scope-l1qGLsgz.js} +5 -5
  55. package/dist/{sdk-CyttTnGf.js → sdk-DEfQttek.js} +7 -7
  56. package/dist/{series--Wp7TngJ.js → series-D2ZpZ8cx.js} +95 -62
  57. package/dist/server-BEcsQaPu.js +29 -0
  58. package/dist/{server-BmmOj7bh.js → server-DLARhh1k.js} +9 -9
  59. package/dist/session-Csuaw6RU.js +6 -0
  60. package/dist/{session-BpYpOgaY.js → session-Z0BeaJPf.js} +1 -1
  61. package/dist/{setup-DW50luOZ.js → setup-C6NFy14d.js} +9 -9
  62. package/dist/skills/index.json +2 -2
  63. package/dist/skills/{superwall-workspaces → superwall-artifacts}/SKILL.md +38 -29
  64. package/dist/skills/{superwall-workspaces → superwall-artifacts}/references/cli.md +31 -28
  65. package/dist/skills/{superwall-workspaces → superwall-artifacts}/references/slots.md +9 -9
  66. package/dist/{skills-Cm1j2d1W.js → skills-421SFEyF.js} +4 -4
  67. package/dist/{skills-Bbtq8V_D.js → skills-CdKwaTRS.js} +8 -8
  68. package/dist/{git-DqDPnldI.js → source-BccdO4aL.js} +95 -95
  69. package/dist/{source-push-B3c-VLfe.js → source-push-B4s6r9bB.js} +6 -6
  70. package/dist/{spinner-025_eqCX.js → spinner-DPdBlZe2.js} +3 -3
  71. package/dist/{starter-hcwocv_Z.js → starter-0OdVPH4l.js} +27 -27
  72. package/dist/{status-K1IGp6pe.js → status-Dsc7d3z2.js} +39 -39
  73. package/dist/{storage-CUMgpcVH.js → storage-DT_wxwJ8.js} +1 -1
  74. package/dist/{storekit-Cb0TkToV.js → storekit-B9M2raxe.js} +3 -3
  75. package/dist/storekit-BWZf-fNE.js +17 -0
  76. package/dist/{telemetry-ekUQuhLJ.js → telemetry-ovPiseFm.js} +1 -1
  77. package/dist/{token-B2PduqrR.js → token-Bu3FaRkv.js} +1 -1
  78. package/dist/tools.js +123 -123
  79. package/dist/{try-BUnhITXS.js → try-B8FYkTvQ.js} +29 -29
  80. package/dist/{upgrade-CI7K1UZ-.js → upgrade-B7TmvEPP.js} +2 -2
  81. package/dist/{upgrade-DfZfDljd.js → upgrade-CAHyrWUL.js} +2 -2
  82. package/package.json +2 -2
  83. package/dist/create-DAkNdEzt.js +0 -20
  84. package/dist/held-KVcYIplR.js +0 -17
  85. package/dist/login-BiwaQkXS.js +0 -17
  86. package/dist/pull-DRMIxqR8.js +0 -36
  87. package/dist/pull-_qs90vGA.js +0 -106
  88. package/dist/push-Cb4g_l1K.js +0 -30
  89. package/dist/push-DZKsd6Dp.js +0 -22
  90. package/dist/resolve-DGePiHgL.js +0 -196
  91. package/dist/scan-2WqHGkjU.js +0 -4
  92. package/dist/server-BqLPwcy9.js +0 -29
  93. package/dist/session-BHBIGscL.js +0 -6
  94. package/dist/storekit-Dewj_5qg.js +0 -17
  95. /package/dist/{design-lint-CvgcSzVg.js → design-lint-CiFc78aM.js} +0 -0
  96. /package/dist/{download-F8OtTJze.js → download-DhGd4hOB.js} +0 -0
  97. /package/dist/{reports-BZfxvenS.js → reports-HYVp169R.js} +0 -0
@@ -1,23 +1,23 @@
1
- import { r as NotLoggedInError } from "./token-B2PduqrR.js";
1
+ import { r as NotLoggedInError } from "./token-Bu3FaRkv.js";
2
2
  import { a as stripAnsi, l as readJson, o as cache, r as formatJson, t as blocks } from "./output-Ggzq5_-t.js";
3
- import { o as AUTO_UPDATE_TARGET, s as CHANNEL, t as API_HOST, v as TELEMETRY_HOST, w as detectAgent, x as VERSION, y as TELEMETRY_KEY } from "./environment-FR3bcq0D.js";
4
- import { n as readSession } from "./storage-CUMgpcVH.js";
5
- import { a as withQuery$1, n as ApiUnreachableError, t as ApiError } from "./client-DHlsTaP1.js";
6
- import { C as listKeySources, S as listBundleIdSuggestions, T as replaceRevenueProvider, _ as checkServerNotifications, b as importAppKey, c as resolveAscOrgApi, d as runAscDocs, f as parseParams, h as REVENUE_INTEGRATIONS, i as savedKey, l as resolveAscTeam, m as KEY_LABEL, n as testModeWarning, p as KEY_KINDS, r as chooseKeyApp, t as upsertHeldKey, u as sendAscRequest, v as copyAppKey, w as removeAppKey, x as keyKind, y as findIntegrations } from "./held-C2IjAyg6.js";
3
+ import { o as AUTO_UPDATE_TARGET, s as CHANNEL, t as API_HOST, v as TELEMETRY_HOST, w as detectAgent, x as VERSION, y as TELEMETRY_KEY } from "./environment-BocmdvZ-.js";
4
+ import { n as readSession } from "./storage-DT_wxwJ8.js";
5
+ import { a as withQuery$1, n as ApiUnreachableError, t as ApiError } from "./client-CyrYJzBF.js";
6
+ import { C as listKeySources, S as listBundleIdSuggestions, T as replaceRevenueProvider, _ as checkServerNotifications, b as importAppKey, c as resolveAscOrgApi, d as runAscDocs, f as parseParams, h as REVENUE_INTEGRATIONS, i as savedKey, l as resolveAscTeam, m as KEY_LABEL, n as testModeWarning, p as KEY_KINDS, r as chooseKeyApp, t as upsertHeldKey, u as sendAscRequest, v as copyAppKey, w as removeAppKey, x as keyKind, y as findIntegrations } from "./held-Bykbwy-m.js";
7
7
  import { f as writeDefaultApp, i as readOnboardedApp, r as readDefaultApp, t as readAnonymousId } from "./config-CGcG7GOt.js";
8
- import { a as defineCommand, d as readInput, i as defineCatalog, r as UsageError, t as apiCall } from "./spinner-025_eqCX.js";
8
+ import { a as defineCommand, d as readInput, i as defineCatalog, r as UsageError, t as apiCall } from "./spinner-DPdBlZe2.js";
9
9
  import { n as fg, t as THEME } from "./theme-DUsCh-Vd.js";
10
- import { n as runWhoami } from "./session-BpYpOgaY.js";
11
- import { i as orgIdOf, t as listOrgGroups } from "./orgs-BxlwcvTu.js";
12
- import { M as textField, O as field, T as rowName, a as createEntitlement, c as createProject, h as listResource, i as createCampaign, j as parseJson, k as isRecord, m as listProjects, r as createApplication, s as createProduct, t as RESOURCES, u as isAppScoped, y as platformLabel } from "./resources-COOEvqqW.js";
13
- import { n as orgForNewProject } from "./org-DZ41muzA.js";
14
- import { i as parseDashboardUrl, n as findApplication, r as findProject, t as appNotFound } from "./lookup-D23dAOz6.js";
15
- import { a as pickScope, i as pickProject, n as chooseApp, r as pickOrganization, t as boundOrganization } from "./scope-BJQ-KcQg.js";
10
+ import { n as runWhoami } from "./session-Z0BeaJPf.js";
11
+ import { i as orgIdOf, t as listOrgGroups } from "./orgs-Z0H9WOs1.js";
12
+ import { M as textField, O as field, T as rowName, a as createEntitlement, c as createProject, h as listResource, i as createCampaign, j as parseJson, k as isRecord, m as listProjects, r as createApplication, s as createProduct, t as RESOURCES, u as isAppScoped, y as platformLabel } from "./resources-CptT7HD6.js";
13
+ import { n as orgForNewProject } from "./org-Dud1rF9f.js";
14
+ import { i as parseDashboardUrl, n as findApplication, r as findProject, t as appNotFound } from "./lookup-CWzVfPpq.js";
15
+ import { a as pickScope, i as pickProject, n as chooseApp, r as pickOrganization, t as boundOrganization } from "./scope-l1qGLsgz.js";
16
16
  import { a as listAscConfigs, i as findAppNotificationUrl, o as removeAscConfig, t as ascProxy } from "./client-BJQXl62Q.js";
17
17
  import { i as listUnimportedAscProducts, n as findAscAppId, r as listAscApps, t as ascTypeDisplay } from "./products-Cqq59DBQ.js";
18
18
  import { n as readResourceFlags, r as textOf, t as fieldName } from "./input-MDd67UIp.js";
19
- import { a as runAscNotificationUrlSet, i as printServerNotifications, t as describeNotificationUrl } from "./notification-url-rdnENCxt.js";
20
- import { t as platformForIntegration } from "./bind-DOF3o3FR.js";
19
+ import { a as runAscNotificationUrlSet, i as printServerNotifications, t as describeNotificationUrl } from "./notification-url-BDBxbwZq.js";
20
+ import { t as platformForIntegration } from "./bind-ClFjTt0U.js";
21
21
  import pc from "picocolors";
22
22
 
23
23
  //#region src/ui/help-layout.ts
@@ -144,7 +144,7 @@ const command = defineCommand({
144
144
  prompts: true,
145
145
  mcp: false,
146
146
  async run(ctx, input) {
147
- const { runLogin } = await import("./login-BiwaQkXS.js");
147
+ const { runLogin } = await import("./login-DZ8Pipf6.js");
148
148
  return runLogin(ctx, input);
149
149
  }
150
150
  });
@@ -160,7 +160,7 @@ const command$1 = defineCommand({
160
160
  prompts: true,
161
161
  mcp: false,
162
162
  async run(ctx) {
163
- const { runLogout } = await import("./session-BHBIGscL.js");
163
+ const { runLogout } = await import("./session-Csuaw6RU.js");
164
164
  return runLogout(ctx);
165
165
  }
166
166
  });
@@ -220,15 +220,15 @@ const team = {
220
220
  value: "id",
221
221
  describe: "The Apple team, when your organization has several"
222
222
  };
223
- const workspace = {
223
+ const artifact = {
224
224
  type: "string",
225
- value: "workspace",
226
- describe: "The workspace: an id, or a slug with --org (default: this project's)"
225
+ value: "artifact",
226
+ describe: "The artifact: an id, or a slug with --org (default: this project's)"
227
227
  };
228
228
  const projectDir = {
229
229
  type: "string",
230
230
  value: "path",
231
- describe: "The workspace project (default: cwd)"
231
+ describe: "The artifact project (default: cwd)"
232
232
  };
233
233
 
234
234
  //#endregion
@@ -3481,7 +3481,7 @@ A purchase_key is for the app's bundle ID; an app with none gets --bundle-id sav
3481
3481
  prompts: true,
3482
3482
  mcp: false,
3483
3483
  async run(ctx, input) {
3484
- const { runAscKeysCreate } = await import("./create-DAkNdEzt.js");
3484
+ const { runAscKeysCreate } = await import("./create-7HDW3DCl.js");
3485
3485
  return runAscKeysCreate(ctx, input);
3486
3486
  }
3487
3487
  });
@@ -3868,7 +3868,7 @@ With --app it saves the key you hold on that app instead, as asc keys create --k
3868
3868
  prompts: true,
3869
3869
  mcp: false,
3870
3870
  async run(ctx, { args, flags }) {
3871
- const { upsertHeldKey: upsertHeldKey$1 } = await import("./held-KVcYIplR.js");
3871
+ const { upsertHeldKey: upsertHeldKey$1 } = await import("./held-Chw3BtBV.js");
3872
3872
  return upsertHeldKey$1(ctx, {
3873
3873
  action: "update",
3874
3874
  key: {
@@ -5120,7 +5120,7 @@ Exit codes
5120
5120
  prompts: true,
5121
5121
  mcp: false,
5122
5122
  async run(ctx, input) {
5123
- const { runSetupApple } = await import("./apple-BSKxY7Gx.js");
5123
+ const { runSetupApple } = await import("./apple-Bmt_iywx.js");
5124
5124
  return runSetupApple(ctx, input);
5125
5125
  }
5126
5126
  });
@@ -7751,7 +7751,7 @@ const command$45 = defineCommand({
7751
7751
  prompts: true,
7752
7752
  mcp: false,
7753
7753
  async run(ctx, { args, flags }) {
7754
- const { runBuildPipeline } = await import("./build-BF22vVdV.js");
7754
+ const { runBuildPipeline } = await import("./build-BWjXurjs.js");
7755
7755
  await runBuildPipeline({
7756
7756
  output: ctx.output,
7757
7757
  json: ctx.json
@@ -7812,7 +7812,7 @@ const command$46 = defineCommand({
7812
7812
  prompts: true,
7813
7813
  mcp: false,
7814
7814
  async run(ctx, { args, flags }) {
7815
- const { runCreate } = await import("./create-CboPfAlN.js");
7815
+ const { runCreate } = await import("./create-C3uklw-U.js");
7816
7816
  return runCreate(ctx, {
7817
7817
  dir: args.dir,
7818
7818
  ...flags
@@ -7855,7 +7855,7 @@ const command$47 = defineCommand({
7855
7855
  prompts: true,
7856
7856
  mcp: false,
7857
7857
  async run(ctx, { args, flags }) {
7858
- const { runStudio } = await import("./server-BqLPwcy9.js");
7858
+ const { runStudio } = await import("./server-BEcsQaPu.js");
7859
7859
  await runStudio({
7860
7860
  dirs: args.dir,
7861
7861
  port: flags.port,
@@ -7895,7 +7895,7 @@ const command$48 = defineCommand({
7895
7895
  prompts: true,
7896
7896
  mcp: false,
7897
7897
  async run(ctx, input) {
7898
- const { runPromote } = await import("./promote-Ca4URuHY.js");
7898
+ const { runPromote } = await import("./promote-DLtPSvmL.js");
7899
7899
  return runPromote(ctx, input);
7900
7900
  }
7901
7901
  });
@@ -7951,7 +7951,7 @@ const command$49 = defineCommand({
7951
7951
  prompts: true,
7952
7952
  mcp: false,
7953
7953
  async run(ctx, input) {
7954
- const { runPush } = await import("./push-Cb4g_l1K.js");
7954
+ const { runPush } = await import("./push-Co5jk6Kr.js");
7955
7955
  return runPush(ctx, input, true);
7956
7956
  }
7957
7957
  });
@@ -7987,7 +7987,7 @@ const command$50 = defineCommand({
7987
7987
  prompts: true,
7988
7988
  mcp: false,
7989
7989
  async run(ctx, input) {
7990
- const { runPull } = await import("./pull-DRMIxqR8.js");
7990
+ const { runPull } = await import("./pull-C1xm2zqG.js");
7991
7991
  return runPull(ctx, input);
7992
7992
  }
7993
7993
  });
@@ -8039,7 +8039,7 @@ const command$51 = defineCommand({
8039
8039
  prompts: true,
8040
8040
  mcp: false,
8041
8041
  async run(ctx, input) {
8042
- const { runPush } = await import("./push-Cb4g_l1K.js");
8042
+ const { runPush } = await import("./push-Co5jk6Kr.js");
8043
8043
  return runPush(ctx, input, false);
8044
8044
  }
8045
8045
  });
@@ -8434,7 +8434,7 @@ async function createApp(context, api, nameArg, fields) {
8434
8434
  let name = nameArg;
8435
8435
  let platform = textOf(fields.platform);
8436
8436
  if (interactive && (!name || !platform)) {
8437
- const { scanProject } = await import("./scan-2WqHGkjU.js");
8437
+ const { scanProject } = await import("./scan-D86kLtM7.js");
8438
8438
  const detected = (await scanProject(context.installDir).catch(() => null))?.apps[0];
8439
8439
  if (detected && !name && !platform) {
8440
8440
  ui.info(`Detected \`${detected.framework.name}\`` + (detected.details ? ` · \`${detected.details}\`` : ""));
@@ -8744,7 +8744,7 @@ async function runResource(ctx, resource, action, value$1, value2, flags) {
8744
8744
  if (action === "create") return create(ctx, ctx.api, resource, value$1, value2, flags);
8745
8745
  if (action === "use" && resource === "apps") return useApp(ctx, ctx.api, value$1);
8746
8746
  if (action === "storekit" && resource === "products") {
8747
- const { writeStoreKit } = await import("./storekit-Dewj_5qg.js");
8747
+ const { writeStoreKit } = await import("./storekit-BWZf-fNE.js");
8748
8748
  return writeStoreKit(ctx, ctx.api, flags.fields.out);
8749
8749
  }
8750
8750
  throw new Error(`Unknown action "${action}" for ${resource}.`);
@@ -10098,7 +10098,7 @@ const command$62 = defineCommand({
10098
10098
  prompts: true,
10099
10099
  mcp: false,
10100
10100
  async run(ctx) {
10101
- const { runDoctor } = await import("./doctor-BqZGaQE5.js");
10101
+ const { runDoctor } = await import("./doctor-D2Q1EZe8.js");
10102
10102
  return runDoctor(ctx);
10103
10103
  }
10104
10104
  });
@@ -10443,7 +10443,7 @@ const command$64 = defineCommand({
10443
10443
  prompts: true,
10444
10444
  mcp: false,
10445
10445
  async run(ctx, input) {
10446
- const { runSkills } = await import("./skills-Bbtq8V_D.js");
10446
+ const { runSkills } = await import("./skills-CdKwaTRS.js");
10447
10447
  return runSkills(ctx, input);
10448
10448
  }
10449
10449
  });
@@ -10459,25 +10459,25 @@ const command$65 = defineCommand({
10459
10459
  prompts: true,
10460
10460
  mcp: false,
10461
10461
  async run(ctx) {
10462
- const { runUpgrade } = await import("./upgrade-DfZfDljd.js");
10462
+ const { runUpgrade } = await import("./upgrade-CAHyrWUL.js");
10463
10463
  return runUpgrade(ctx, AUTO_UPDATE_TARGET());
10464
10464
  }
10465
10465
  });
10466
10466
 
10467
10467
  //#endregion
10468
- //#region src/commands/workspaces/approve.ts
10468
+ //#region src/commands/artifacts/approve.ts
10469
10469
  const command$66 = defineCommand({
10470
- name: "workspaces approve",
10470
+ name: "artifacts approve",
10471
10471
  summary: "Review what a version can do and make it live",
10472
- details: "Admins only. Shows the version's manifest and how it differs from the live version, then asks. Without a terminal it needs --yes, and --accept-changes too when what the workspace can do changes.",
10472
+ details: "Admins only. Shows the version's manifest and how it differs from the live version, then asks. Without a terminal it needs --yes, and --accept-changes too when what the artifact can do changes.",
10473
10473
  args: { version: { describe: "The version id (default: the latest built that isn't live)" } },
10474
10474
  flags: {
10475
10475
  dir: projectDir,
10476
- workspace,
10476
+ artifact,
10477
10477
  org: {
10478
10478
  type: "string",
10479
10479
  value: "id",
10480
- describe: "The organization of a --workspace slug"
10480
+ describe: "The organization of a --artifact slug"
10481
10481
  },
10482
10482
  yes: {
10483
10483
  ...yes,
@@ -10489,9 +10489,9 @@ const command$66 = defineCommand({
10489
10489
  }
10490
10490
  },
10491
10491
  examples: [
10492
- ["workspaces approve --workspace 42", "Review and approve the latest built version"],
10493
- ["workspaces approve 7 --workspace 42 --json", "Print version 7's manifest and changes, approving nothing"],
10494
- ["workspaces approve 7 --workspace 42 --yes --accept-changes", "Approve it without a terminal, having read them"]
10492
+ ["artifacts approve --artifact 42", "Review and approve the latest built version"],
10493
+ ["artifacts approve 7 --artifact 42 --json", "Print version 7's manifest and changes, approving nothing"],
10494
+ ["artifacts approve 7 --artifact 42 --yes --accept-changes", "Approve it without a terminal, having read them"]
10495
10495
  ],
10496
10496
  auth: "required",
10497
10497
  json: true,
@@ -10499,8 +10499,8 @@ const command$66 = defineCommand({
10499
10499
  mcp: false,
10500
10500
  channel: "next",
10501
10501
  async run(ctx, { args, flags }) {
10502
- const { runWorkspaceApprove } = await import("./approve-DbwsYO4s.js");
10503
- await runWorkspaceApprove(ctx, {
10502
+ const { runArtifactApprove } = await import("./approve-D2UgqaRx.js");
10503
+ await runArtifactApprove(ctx, {
10504
10504
  version: args.version,
10505
10505
  ...flags
10506
10506
  });
@@ -10508,25 +10508,25 @@ const command$66 = defineCommand({
10508
10508
  });
10509
10509
 
10510
10510
  //#endregion
10511
- //#region src/commands/workspaces/create.ts
10511
+ //#region src/commands/artifacts/create.ts
10512
10512
  const command$67 = defineCommand({
10513
- name: "workspaces create",
10514
- summary: "Start a workspace: a mini-app that adds to the Superwall dashboard",
10515
- args: { dir: { describe: "Where to put it (default: my-workspace)" } },
10513
+ name: "artifacts create",
10514
+ summary: "Start an artifact: a mini-app that adds to the Superwall dashboard",
10515
+ args: { dir: { describe: "Where to put it (default: my-artifact)" } },
10516
10516
  flags: { install: {
10517
10517
  type: "boolean",
10518
10518
  default: true,
10519
10519
  describe: "Install dependencies after downloading (--no-install to skip)"
10520
10520
  } },
10521
- examples: [["workspaces create", "Download the starter into my-workspace"], ["workspaces create churn-copilot", "Name the directory yourself"]],
10521
+ examples: [["artifacts create", "Download the starter into my-artifact"], ["artifacts create churn-copilot", "Name the directory yourself"]],
10522
10522
  auth: "none",
10523
10523
  json: false,
10524
10524
  prompts: false,
10525
10525
  mcp: false,
10526
10526
  channel: "next",
10527
10527
  async run(ctx, { args, flags }) {
10528
- const { runWorkspaceCreate } = await import("./starter-hcwocv_Z.js");
10529
- await runWorkspaceCreate(ctx, {
10528
+ const { runArtifactCreate } = await import("./starter-0OdVPH4l.js");
10529
+ await runArtifactCreate(ctx, {
10530
10530
  dir: args.dir,
10531
10531
  install: flags.install
10532
10532
  });
@@ -10534,12 +10534,12 @@ const command$67 = defineCommand({
10534
10534
  });
10535
10535
 
10536
10536
  //#endregion
10537
- //#region src/commands/workspaces/dev.ts
10537
+ //#region src/commands/artifacts/dev.ts
10538
10538
  const command$68 = defineCommand({
10539
- name: "workspaces dev",
10540
- summary: "Run a workspace on localhost against your real data, read-only",
10541
- details: "Bundles the workspace the way the builder does, including its client.entry, and runs it in workerd. A local page plays the dashboard: it mounts pages and widgets, sends them context and theme over the bridge, and runs metrics and readouts. API calls go out with a short-lived, read-only token as you, limited to one organization and to the routes a workspace can read. It reads everything you can read in that organization, so only run code you trust. A staff account reaches only that organization too. Writes, outside hosts and raw sockets are refused. Every change rebuilds it.",
10542
- args: { dir: { describe: "The workspace (default: cwd)" } },
10539
+ name: "artifacts dev",
10540
+ summary: "Run an artifact on localhost against your real data, read-only",
10541
+ details: "Bundles the artifact the way the builder does, including its client.entry, and runs it in workerd. A local page plays the dashboard: it mounts pages and widgets, sends them context and theme over the bridge, and runs metrics and readouts. API calls go out with a short-lived, read-only token as you, limited to one organization and to the routes an artifact can read. It reads everything you can read in that organization, so only run code you trust. A staff account reaches only that organization too. Writes, outside hosts and raw sockets are refused. Every change rebuilds it.",
10542
+ args: { dir: { describe: "The artifact (default: cwd)" } },
10543
10543
  flags: {
10544
10544
  port: {
10545
10545
  type: "number",
@@ -10602,15 +10602,15 @@ const command$68 = defineCommand({
10602
10602
  describe: "The whole context as JSON, for a slot this CLI doesn't know"
10603
10603
  }
10604
10604
  },
10605
- examples: [["workspaces dev --org 1234", "Serve this workspace for one organization"], ["workspaces dev --app 5678 --user alice", "Fill in the app and the user a panel receives"]],
10605
+ examples: [["artifacts dev --org 1234", "Serve this artifact for one organization"], ["artifacts dev --app 5678 --user alice", "Fill in the app and the user a panel receives"]],
10606
10606
  auth: "required",
10607
10607
  json: false,
10608
10608
  prompts: true,
10609
10609
  mcp: false,
10610
10610
  channel: "next",
10611
10611
  async run(ctx, { args, flags }) {
10612
- const { runWorkspaceDev } = await import("./run-Czbb-sHR.js");
10613
- await runWorkspaceDev(ctx, {
10612
+ const { runArtifactDev } = await import("./run-r3foWfhV.js");
10613
+ await runArtifactDev(ctx, {
10614
10614
  dir: args.dir,
10615
10615
  ...flags
10616
10616
  });
@@ -10618,9 +10618,9 @@ const command$68 = defineCommand({
10618
10618
  });
10619
10619
 
10620
10620
  //#endregion
10621
- //#region src/commands/workspaces/install.ts
10621
+ //#region src/commands/artifacts/install.ts
10622
10622
  const command$69 = defineCommand({
10623
- name: "workspaces install",
10623
+ name: "artifacts install",
10624
10624
  summary: "Choose where an entrypoint shows",
10625
10625
  details: "Admins only. Installs an entrypoint of the live version for the whole organization, or one app with --app. An app's row overrides the organization's there. Without an entrypoint, lists what's installed.",
10626
10626
  args: { entrypoint: { describe: "The entrypoint id from superwall.json" } },
@@ -10643,11 +10643,11 @@ const command$69 = defineCommand({
10643
10643
  describe: "Order among the entrypoints shown in one slot, lowest first"
10644
10644
  },
10645
10645
  dir: projectDir,
10646
- workspace,
10646
+ artifact,
10647
10647
  org: {
10648
10648
  type: "string",
10649
10649
  value: "id",
10650
- describe: "The organization of a --workspace slug"
10650
+ describe: "The organization of a --artifact slug"
10651
10651
  },
10652
10652
  yes: {
10653
10653
  ...yes,
@@ -10655,9 +10655,9 @@ const command$69 = defineCommand({
10655
10655
  }
10656
10656
  },
10657
10657
  examples: [
10658
- ["workspaces install", "List what's installed"],
10659
- ["workspaces install churn --app 5678", "Show it in one app"],
10660
- ["workspaces install churn --remove --yes", "Remove the organization-wide row"]
10658
+ ["artifacts install", "List what's installed"],
10659
+ ["artifacts install churn --app 5678", "Show it in one app"],
10660
+ ["artifacts install churn --remove --yes", "Remove the organization-wide row"]
10661
10661
  ],
10662
10662
  auth: "required",
10663
10663
  json: true,
@@ -10665,8 +10665,8 @@ const command$69 = defineCommand({
10665
10665
  mcp: false,
10666
10666
  channel: "next",
10667
10667
  async run(ctx, { args, flags }) {
10668
- const { runWorkspaceInstall } = await import("./install-DoSYCwLL.js");
10669
- await runWorkspaceInstall(ctx, {
10668
+ const { runArtifactInstall } = await import("./install-dXZZ79Oe.js");
10669
+ await runArtifactInstall(ctx, {
10670
10670
  entrypoint: args.entrypoint,
10671
10671
  ...flags
10672
10672
  });
@@ -10674,10 +10674,10 @@ const command$69 = defineCommand({
10674
10674
  });
10675
10675
 
10676
10676
  //#endregion
10677
- //#region src/commands/workspaces/list.ts
10677
+ //#region src/commands/artifacts/list.ts
10678
10678
  const command$70 = defineCommand({
10679
- name: "workspaces list",
10680
- summary: "List an organization's workspaces",
10679
+ name: "artifacts list",
10680
+ summary: "List an organization's artifacts",
10681
10681
  flags: {
10682
10682
  org: {
10683
10683
  type: "string",
@@ -10686,43 +10686,43 @@ const command$70 = defineCommand({
10686
10686
  },
10687
10687
  dir: projectDir
10688
10688
  },
10689
- examples: [["workspaces list --org 1234", "Every workspace in organization 1234"]],
10689
+ examples: [["artifacts list --org 1234", "Every artifact in organization 1234"]],
10690
10690
  auth: "required",
10691
10691
  json: true,
10692
10692
  prompts: true,
10693
10693
  mcp: false,
10694
10694
  channel: "next",
10695
10695
  async run(ctx, { flags }) {
10696
- const { runWorkspaceList } = await import("./install-DoSYCwLL.js");
10697
- await runWorkspaceList(ctx, flags);
10696
+ const { runArtifactList } = await import("./install-dXZZ79Oe.js");
10697
+ await runArtifactList(ctx, flags);
10698
10698
  }
10699
10699
  });
10700
10700
 
10701
10701
  //#endregion
10702
- //#region src/commands/workspaces/logs.ts
10702
+ //#region src/commands/artifacts/logs.ts
10703
10703
  const command$71 = defineCommand({
10704
- name: "workspaces logs",
10704
+ name: "artifacts logs",
10705
10705
  summary: "Show a version's build log",
10706
10706
  details: "The last 128 KiB, once the build has finished. The latest version by default.",
10707
10707
  args: { version: { describe: "The version id (default: the latest)" } },
10708
10708
  flags: {
10709
10709
  dir: projectDir,
10710
- workspace,
10710
+ artifact,
10711
10711
  org: {
10712
10712
  type: "string",
10713
10713
  value: "id",
10714
- describe: "The organization of a --workspace slug"
10714
+ describe: "The organization of a --artifact slug"
10715
10715
  }
10716
10716
  },
10717
- examples: [["workspaces logs", "The latest version's build log"], ["workspaces logs 7", "Version 7's"]],
10717
+ examples: [["artifacts logs", "The latest version's build log"], ["artifacts logs 7", "Version 7's"]],
10718
10718
  auth: "required",
10719
10719
  json: true,
10720
10720
  prompts: false,
10721
10721
  mcp: false,
10722
10722
  channel: "next",
10723
10723
  async run(ctx, { args, flags }) {
10724
- const { runWorkspaceLogs } = await import("./status-K1IGp6pe.js");
10725
- await runWorkspaceLogs(ctx, {
10724
+ const { runArtifactLogs } = await import("./status-Dsc7d3z2.js");
10725
+ await runArtifactLogs(ctx, {
10726
10726
  version: args.version,
10727
10727
  ...flags
10728
10728
  });
@@ -10730,10 +10730,10 @@ const command$71 = defineCommand({
10730
10730
  });
10731
10731
 
10732
10732
  //#endregion
10733
- //#region src/commands/workspaces/open.ts
10733
+ //#region src/commands/artifacts/open.ts
10734
10734
  const command$72 = defineCommand({
10735
- name: "workspaces open",
10736
- summary: "Open a workspace in the dashboard",
10735
+ name: "artifacts open",
10736
+ summary: "Open an artifact in the dashboard",
10737
10737
  args: { entrypoint: { describe: "An entrypoint to open inside an app, with --app" } },
10738
10738
  flags: {
10739
10739
  app: {
@@ -10741,11 +10741,11 @@ const command$72 = defineCommand({
10741
10741
  describe: "The app to open the entrypoint in"
10742
10742
  },
10743
10743
  dir: projectDir,
10744
- workspace,
10744
+ artifact,
10745
10745
  org: {
10746
10746
  type: "string",
10747
10747
  value: "id",
10748
- describe: "The organization of a --workspace slug"
10748
+ describe: "The organization of a --artifact slug"
10749
10749
  },
10750
10750
  open: {
10751
10751
  type: "boolean",
@@ -10753,15 +10753,15 @@ const command$72 = defineCommand({
10753
10753
  describe: "Open your browser at a terminal (--no-open to only print the link)"
10754
10754
  }
10755
10755
  },
10756
- examples: [["workspaces open", "This project's workspace"], ["workspaces open panel --app 5678", "One entrypoint, inside an app"]],
10756
+ examples: [["artifacts open", "This project's artifact"], ["artifacts open panel --app 5678", "One entrypoint, inside an app"]],
10757
10757
  auth: "required",
10758
10758
  json: true,
10759
10759
  prompts: false,
10760
10760
  mcp: false,
10761
10761
  channel: "next",
10762
10762
  async run(ctx, { args, flags }) {
10763
- const { runWorkspaceOpen } = await import("./install-DoSYCwLL.js");
10764
- await runWorkspaceOpen(ctx, {
10763
+ const { runArtifactOpen } = await import("./install-dXZZ79Oe.js");
10764
+ await runArtifactOpen(ctx, {
10765
10765
  entrypoint: args.entrypoint,
10766
10766
  ...flags
10767
10767
  });
@@ -10769,17 +10769,17 @@ const command$72 = defineCommand({
10769
10769
  });
10770
10770
 
10771
10771
  //#endregion
10772
- //#region src/commands/workspaces/pull.ts
10772
+ //#region src/commands/artifacts/pull.ts
10773
10773
  const command$73 = defineCommand({
10774
- name: "workspaces pull",
10774
+ name: "artifacts pull",
10775
10775
  summary: "Bring teammates' pushes into this project, merged with your edits",
10776
- args: { dir: { describe: "The workspace project, or with --workspace an empty folder to fill (default: cwd)" } },
10776
+ args: { dir: { describe: "The artifact project, or with --artifact an empty folder to fill (default: cwd)" } },
10777
10777
  flags: {
10778
- workspace,
10778
+ artifact,
10779
10779
  org: {
10780
10780
  type: "string",
10781
10781
  value: "id",
10782
- describe: "The organization of a --workspace slug"
10782
+ describe: "The organization of a --artifact slug"
10783
10783
  },
10784
10784
  theirs: {
10785
10785
  type: "boolean",
@@ -10787,9 +10787,9 @@ const command$73 = defineCommand({
10787
10787
  }
10788
10788
  },
10789
10789
  examples: [
10790
- ["workspaces pull", "Merge what teammates pushed into this project"],
10791
- ["workspaces pull --theirs", "Take the source repo's version of files you both changed"],
10792
- ["workspaces pull churn-copilot --workspace 42", "Get workspace 42's source into a new folder"]
10790
+ ["artifacts pull", "Merge what teammates pushed into this project"],
10791
+ ["artifacts pull --theirs", "Take the source repo's version of files you both changed"],
10792
+ ["artifacts pull churn-copilot --artifact 42", "Get artifact 42's source into a new folder"]
10793
10793
  ],
10794
10794
  auth: "required",
10795
10795
  json: true,
@@ -10797,8 +10797,8 @@ const command$73 = defineCommand({
10797
10797
  mcp: false,
10798
10798
  channel: "next",
10799
10799
  async run(ctx, { args, flags }) {
10800
- const { runWorkspacePull } = await import("./pull-_qs90vGA.js");
10801
- await runWorkspacePull(ctx, {
10800
+ const { runArtifactPull } = await import("./pull-D-YuT3e0.js");
10801
+ await runArtifactPull(ctx, {
10802
10802
  dir: args.dir,
10803
10803
  ...flags
10804
10804
  });
@@ -10806,12 +10806,12 @@ const command$73 = defineCommand({
10806
10806
  });
10807
10807
 
10808
10808
  //#endregion
10809
- //#region src/commands/workspaces/push.ts
10809
+ //#region src/commands/artifacts/push.ts
10810
10810
  const command$74 = defineCommand({
10811
- name: "workspaces push",
10812
- summary: "Push this workspace's source and build it",
10813
- details: "The first push creates the workspace from the manifest's name and records its id in superwall.workspace.json. Each push makes a version from the commit. Only you can see it until an admin approves it. When the source repo has commits this project doesn't, the push merges them, and your own copy runs them with your reads, so it asks first. Without a terminal it stops unless you pass --accept-merged-commits.",
10814
- args: { dir: { describe: "The workspace project (default: cwd)" } },
10811
+ name: "artifacts push",
10812
+ summary: "Push this artifact's source and build it",
10813
+ details: "The first push creates the artifact from the manifest's name and records its id in superwall.artifact.json. Each push makes a version from the commit. Only you can see it until an admin approves it. When the source repo has commits this project doesn't, the push merges them, and your own copy runs them with your reads, so it asks first. Without a terminal it stops unless you pass --accept-merged-commits.",
10814
+ args: { dir: { describe: "The artifact project (default: cwd)" } },
10815
10815
  flags: {
10816
10816
  org: {
10817
10817
  type: "string",
@@ -10833,9 +10833,9 @@ const command$74 = defineCommand({
10833
10833
  }
10834
10834
  },
10835
10835
  examples: [
10836
- ["workspaces push", "Push and build this project"],
10837
- ["workspaces push --org 1234 -m \"Add the cohort page\"", "The first push, with a note"],
10838
- ["workspaces push --json --accept-merged-commits", "In a script, taking in teammates' commits"]
10836
+ ["artifacts push", "Push and build this project"],
10837
+ ["artifacts push --org 1234 -m \"Add the cohort page\"", "The first push, with a note"],
10838
+ ["artifacts push --json --accept-merged-commits", "In a script, taking in teammates' commits"]
10839
10839
  ],
10840
10840
  auth: "required",
10841
10841
  json: true,
@@ -10843,8 +10843,8 @@ const command$74 = defineCommand({
10843
10843
  mcp: false,
10844
10844
  channel: "next",
10845
10845
  async run(ctx, { args, flags }) {
10846
- const { runWorkspacePush } = await import("./push-DZKsd6Dp.js");
10847
- await runWorkspacePush(ctx, {
10846
+ const { runArtifactPush } = await import("./push-B42D8fKf.js");
10847
+ await runArtifactPush(ctx, {
10848
10848
  dir: args.dir,
10849
10849
  ...flags
10850
10850
  });
@@ -10852,30 +10852,30 @@ const command$74 = defineCommand({
10852
10852
  });
10853
10853
 
10854
10854
  //#endregion
10855
- //#region src/commands/workspaces/share.ts
10855
+ //#region src/commands/artifacts/share.ts
10856
10856
  const command$75 = defineCommand({
10857
- name: "workspaces share",
10857
+ name: "artifacts share",
10858
10858
  summary: "Ask an admin to review a version",
10859
10859
  details: "The latest built version by default. Until an organization owner or admin approves it, only its author can see it. Nobody is told automatically, so it says who to ask.",
10860
10860
  args: { version: { describe: "The version id (default: the latest built)" } },
10861
10861
  flags: {
10862
10862
  dir: projectDir,
10863
- workspace,
10863
+ artifact,
10864
10864
  org: {
10865
10865
  type: "string",
10866
10866
  value: "id",
10867
- describe: "The organization of a --workspace slug"
10867
+ describe: "The organization of a --artifact slug"
10868
10868
  }
10869
10869
  },
10870
- examples: [["workspaces share", "Ask for review of the latest built version"]],
10870
+ examples: [["artifacts share", "Ask for review of the latest built version"]],
10871
10871
  auth: "required",
10872
10872
  json: true,
10873
10873
  prompts: false,
10874
10874
  mcp: false,
10875
10875
  channel: "next",
10876
10876
  async run(ctx, { args, flags }) {
10877
- const { runWorkspaceShare } = await import("./status-K1IGp6pe.js");
10878
- await runWorkspaceShare(ctx, {
10877
+ const { runArtifactShare } = await import("./status-Dsc7d3z2.js");
10878
+ await runArtifactShare(ctx, {
10879
10879
  version: args.version,
10880
10880
  ...flags
10881
10881
  });
@@ -10883,41 +10883,41 @@ const command$75 = defineCommand({
10883
10883
  });
10884
10884
 
10885
10885
  //#endregion
10886
- //#region src/commands/workspaces/status.ts
10886
+ //#region src/commands/artifacts/status.ts
10887
10887
  const command$76 = defineCommand({
10888
- name: "workspaces status",
10889
- summary: "Show a workspace's state and its latest versions",
10888
+ name: "artifacts status",
10889
+ summary: "Show an artifact's state and its latest versions",
10890
10890
  flags: {
10891
10891
  dir: projectDir,
10892
- workspace,
10892
+ artifact,
10893
10893
  org: {
10894
10894
  type: "string",
10895
10895
  value: "id",
10896
- describe: "The organization of a --workspace slug"
10896
+ describe: "The organization of a --artifact slug"
10897
10897
  },
10898
10898
  all: {
10899
10899
  type: "boolean",
10900
10900
  describe: "List every version, not just the latest and the live one"
10901
10901
  }
10902
10902
  },
10903
- examples: [["workspaces status", "This project's workspace"], ["workspaces status --workspace 42", "Any workspace you can see"]],
10903
+ examples: [["artifacts status", "This project's artifact"], ["artifacts status --artifact 42", "Any artifact you can see"]],
10904
10904
  auth: "required",
10905
10905
  json: true,
10906
10906
  prompts: false,
10907
10907
  mcp: false,
10908
10908
  channel: "next",
10909
10909
  async run(ctx, { flags }) {
10910
- const { runWorkspaceStatus } = await import("./status-K1IGp6pe.js");
10911
- await runWorkspaceStatus(ctx, flags);
10910
+ const { runArtifactStatus } = await import("./status-Dsc7d3z2.js");
10911
+ await runArtifactStatus(ctx, flags);
10912
10912
  }
10913
10913
  });
10914
10914
 
10915
10915
  //#endregion
10916
- //#region src/commands/workspaces/try.ts
10916
+ //#region src/commands/artifacts/try.ts
10917
10917
  const command$77 = defineCommand({
10918
- name: "workspaces try",
10918
+ name: "artifacts try",
10919
10919
  summary: "Upload a draft and run an entrypoint on the real runtime",
10920
- details: "Nothing is saved: the draft runs as you, read-only and with no outside hosts, and only you can reach it for a day. A metric prints its series. A page, panel, tab, card or action opens in the dashboard. Readouts run with workspaces dev until the runtime takes them.",
10920
+ details: "Nothing is saved: the draft runs as you, read-only and with no outside hosts, and only you can reach it for a day. A metric prints its series. A page, panel, tab, card or action opens in the dashboard. Readouts run with artifacts dev until the runtime takes them.",
10921
10921
  args: { entrypoint: {
10922
10922
  describe: "The entrypoint id from superwall.json",
10923
10923
  required: true
@@ -10926,7 +10926,7 @@ const command$77 = defineCommand({
10926
10926
  dir: {
10927
10927
  type: "string",
10928
10928
  value: "path",
10929
- describe: "The workspace (default: cwd)"
10929
+ describe: "The artifact (default: cwd)"
10930
10930
  },
10931
10931
  app: {
10932
10932
  ...app,
@@ -10999,9 +10999,9 @@ const command$77 = defineCommand({
10999
10999
  }
11000
11000
  },
11001
11001
  examples: [
11002
- ["workspaces try transactions --app 5678", "Run a metric for one app over the last 30 days"],
11003
- ["workspaces try transactions --app 5678 --breakdown store --filter store=APP_STORE", "Split and filter it"],
11004
- ["workspaces try home --org 1234", "Open a page in the dashboard"]
11002
+ ["artifacts try transactions --app 5678", "Run a metric for one app over the last 30 days"],
11003
+ ["artifacts try transactions --app 5678 --breakdown store --filter store=APP_STORE", "Split and filter it"],
11004
+ ["artifacts try home --org 1234", "Open a page in the dashboard"]
11005
11005
  ],
11006
11006
  auth: "required",
11007
11007
  json: true,
@@ -11009,8 +11009,8 @@ const command$77 = defineCommand({
11009
11009
  mcp: false,
11010
11010
  channel: "next",
11011
11011
  async run(ctx, { args, flags }) {
11012
- const { runWorkspaceTry } = await import("./try-BUnhITXS.js");
11013
- await runWorkspaceTry(ctx, {
11012
+ const { runArtifactTry } = await import("./try-B8FYkTvQ.js");
11013
+ await runArtifactTry(ctx, {
11014
11014
  entrypoint: args.entrypoint,
11015
11015
  ...flags
11016
11016
  });
@@ -11018,11 +11018,11 @@ const command$77 = defineCommand({
11018
11018
  });
11019
11019
 
11020
11020
  //#endregion
11021
- //#region src/commands/workspaces/update.ts
11021
+ //#region src/commands/artifacts/update.ts
11022
11022
  const command$78 = defineCommand({
11023
- name: "workspaces update",
11024
- summary: "Refresh a workspace's vendored SDK from the public repo",
11025
- args: { dir: { describe: "The workspace (default: cwd)" } },
11023
+ name: "artifacts update",
11024
+ summary: "Refresh an artifact's vendored SDK from the public repo",
11025
+ args: { dir: { describe: "The artifact (default: cwd)" } },
11026
11026
  flags: {
11027
11027
  install: {
11028
11028
  type: "boolean",
@@ -11034,15 +11034,15 @@ const command$78 = defineCommand({
11034
11034
  describe: "Replace a vendored SDK that's newer than the latest published one"
11035
11035
  }
11036
11036
  },
11037
- examples: [["workspaces update", "Replace vendor/workspace-sdk with the latest and update the lockfile"]],
11037
+ examples: [["artifacts update", "Replace vendor/artifact-sdk with the latest and update the lockfile"]],
11038
11038
  auth: "none",
11039
11039
  json: false,
11040
11040
  prompts: false,
11041
11041
  mcp: false,
11042
11042
  channel: "next",
11043
11043
  async run(ctx, { args, flags }) {
11044
- const { runWorkspaceUpdate } = await import("./starter-hcwocv_Z.js");
11045
- await runWorkspaceUpdate(ctx, {
11044
+ const { runArtifactUpdate } = await import("./starter-0OdVPH4l.js");
11045
+ await runArtifactUpdate(ctx, {
11046
11046
  dir: args.dir,
11047
11047
  install: flags.install,
11048
11048
  force: flags.force
@@ -11084,8 +11084,8 @@ const command$79 = defineCommand({
11084
11084
  prompts: true,
11085
11085
  mcp: false,
11086
11086
  async run(ctx, { flags }) {
11087
- const { runIntegrate } = await import("./integrate-BSqd2wgI.js");
11088
- const { printPlaybook } = await import("./playbook-B-Pdonhg.js");
11087
+ const { runIntegrate } = await import("./integrate-DiSjlOjC.js");
11088
+ const { printPlaybook } = await import("./playbook-DJ__edOW.js");
11089
11089
  if (flags.skill) return printPlaybook(ctx.installDir, "integrate");
11090
11090
  await runIntegrate({
11091
11091
  ...ctx,
@@ -11131,8 +11131,8 @@ const command$80 = defineCommand({
11131
11131
  prompts: true,
11132
11132
  mcp: false,
11133
11133
  async run(ctx, { args, flags }) {
11134
- const { runPaywallMigration, runProviderMigration, runScreenMigration } = await import("./migrate-CDdUCTH3.js");
11135
- const { printPlaybook } = await import("./playbook-B-Pdonhg.js");
11134
+ const { runPaywallMigration, runProviderMigration, runScreenMigration } = await import("./migrate-BKiOUsMY.js");
11135
+ const { printPlaybook } = await import("./playbook-DJ__edOW.js");
11136
11136
  if (flags.screen !== void 0) return runScreenMigration(ctx, {
11137
11137
  path: flags.screen,
11138
11138
  screenshot: flags.screenshot
@@ -11166,8 +11166,8 @@ const command$81 = defineCommand({
11166
11166
  prompts: true,
11167
11167
  mcp: false,
11168
11168
  async run(ctx, { flags }) {
11169
- const { runReview } = await import("./integrate-BSqd2wgI.js");
11170
- const { printPlaybook } = await import("./playbook-B-Pdonhg.js");
11169
+ const { runReview } = await import("./integrate-DiSjlOjC.js");
11170
+ const { printPlaybook } = await import("./playbook-DJ__edOW.js");
11171
11171
  if (flags.skill) return printPlaybook(ctx.installDir, flags.fix ? "review-fix" : "review");
11172
11172
  await runReview(ctx, flags.fix);
11173
11173
  }
@@ -11201,14 +11201,14 @@ const GROUPS = [
11201
11201
  ]
11202
11202
  },
11203
11203
  {
11204
- id: "workspaces",
11205
- title: "Workspaces",
11206
- prefix: "workspaces",
11204
+ id: "artifacts",
11205
+ title: "Artifacts",
11206
+ prefix: "artifacts",
11207
11207
  channel: "next",
11208
11208
  topics: [{
11209
- name: "workspaces",
11209
+ name: "artifacts",
11210
11210
  summary: "Mini-apps that add pages, panels and metrics to the Superwall dashboard",
11211
- details: "A workspace is a Worker with a superwall.json manifest. It holds no credential: it calls Superwall as whoever is viewing it."
11211
+ details: "An artifact is a Worker with a superwall.json manifest. It holds no credential: it calls Superwall as whoever is viewing it."
11212
11212
  }],
11213
11213
  commands: [
11214
11214
  command$67,