@whop/cli 0.2.0 → 0.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.
@@ -5,7 +5,7 @@ import {
5
5
  filterSpecByTag,
6
6
  native_spec_default,
7
7
  resolveActiveAccountId
8
- } from "./chunk-2Y4EKBOD.js";
8
+ } from "./chunk-4WNH276N.js";
9
9
  import "./chunk-KFCNNWPI.js";
10
10
  export {
11
11
  createWhopFetch,
@@ -13,4 +13,4 @@ export {
13
13
  native_spec_default as nativeSpec,
14
14
  resolveActiveAccountId
15
15
  };
16
- //# sourceMappingURL=api-U7WU3JXH.js.map
16
+ //# sourceMappingURL=api-A6NYSDKW.js.map
@@ -4701,7 +4701,7 @@ var native_spec_default = {
4701
4701
  ]
4702
4702
  }
4703
4703
  ],
4704
- description: "Ranks referrers by business referral earnings \u2014 all-time by default, or over the current day, month, or year \u2014 and includes the caller's own standing.",
4704
+ description: "Ranks referrers by business referral earnings \u2014 all-time by default, or over the current day, month, year, or trailing 30 days \u2014 and includes the caller's own standing.",
4705
4705
  operationId: "businesses-leaderboard",
4706
4706
  parameters: [
4707
4707
  {
@@ -4717,11 +4717,12 @@ var native_spec_default = {
4717
4717
  "day",
4718
4718
  "month",
4719
4719
  "year",
4720
+ "last_30_days",
4720
4721
  "all_time"
4721
4722
  ],
4722
4723
  default: "all_time"
4723
4724
  },
4724
- description: "Time window for the rankings. `day`, `month`, and `year` count earnings since the start of the current calendar day, month, or year; `all_time` ranks lifetime earnings."
4725
+ description: "Time window for the rankings. `day`, `month`, and `year` count earnings since the start of the current calendar day, month, or year; `last_30_days` counts earnings over the trailing 30 days; `all_time` ranks lifetime earnings."
4725
4726
  }
4726
4727
  ],
4727
4728
  responses: {
@@ -7805,7 +7806,7 @@ var native_spec_default = {
7805
7806
  },
7806
7807
  {}
7807
7808
  ],
7808
- description: "Tracks a conversion or engagement event for a company.",
7809
+ description: "Tracks a conversion or engagement event for an account.",
7809
7810
  operationId: "create",
7810
7811
  parameters: [],
7811
7812
  responses: {
@@ -7834,6 +7835,10 @@ var native_spec_default = {
7834
7835
  schema: {
7835
7836
  type: "object",
7836
7837
  properties: {
7838
+ account_id: {
7839
+ type: "string",
7840
+ description: "The account to associate with this event."
7841
+ },
7837
7842
  action_source: {
7838
7843
  oneOf: [
7839
7844
  {
@@ -7857,11 +7862,6 @@ var native_spec_default = {
7857
7862
  ],
7858
7863
  description: "Where the event originated."
7859
7864
  },
7860
- company_id: {
7861
- type: "string",
7862
- description: "The company to associate with this event.",
7863
- example: "biz_xxxxxxxxxxxxxx"
7864
- },
7865
7865
  context: {
7866
7866
  type: [
7867
7867
  "object",
@@ -8305,26 +8305,26 @@ var native_spec_default = {
8305
8305
  ],
8306
8306
  description: "An anonymous identifier for the user."
8307
8307
  },
8308
- linked_anonymous_id: {
8308
+ external_id: {
8309
8309
  type: [
8310
8310
  "string",
8311
8311
  "null"
8312
8312
  ],
8313
- description: "A second anonymous identifier to link to this user (e.g. captured across an iframe boundary)."
8313
+ description: "An external identifier for the user."
8314
8314
  },
8315
- linked_wuid: {
8315
+ linked_anonymous_id: {
8316
8316
  type: [
8317
8317
  "string",
8318
8318
  "null"
8319
8319
  ],
8320
- description: "A wuid from a linked frame, captured across an iframe boundary."
8320
+ description: "A second anonymous identifier to link to this user (e.g. captured across an iframe boundary)."
8321
8321
  },
8322
- external_id: {
8322
+ linked_wuid: {
8323
8323
  type: [
8324
8324
  "string",
8325
8325
  "null"
8326
8326
  ],
8327
- description: "An external identifier for the user."
8327
+ description: "A wuid from a linked frame, captured across an iframe boundary."
8328
8328
  },
8329
8329
  member_id: {
8330
8330
  type: [
@@ -8458,7 +8458,7 @@ var native_spec_default = {
8458
8458
  }
8459
8459
  },
8460
8460
  required: [
8461
- "company_id",
8461
+ "account_id",
8462
8462
  "event_name"
8463
8463
  ],
8464
8464
  description: "Parameters for CreateConversion"
@@ -9329,6 +9329,16 @@ var native_spec_default = {
9329
9329
  },
9330
9330
  description: "Currency code of the amount, for example `usd`. Only meaningful with amount."
9331
9331
  },
9332
+ {
9333
+ name: "include_available",
9334
+ in: "query",
9335
+ required: false,
9336
+ schema: {
9337
+ type: "boolean",
9338
+ default: false
9339
+ },
9340
+ description: "When true, the response also carries available_destinations \u2014 payout rails the account could add as a new payout method, with per-currency quotes when an amount is provided."
9341
+ },
9332
9342
  {
9333
9343
  name: "first",
9334
9344
  in: "query",
@@ -9602,6 +9612,164 @@ var native_spec_default = {
9602
9612
  ]
9603
9613
  }
9604
9614
  },
9615
+ available_destinations: {
9616
+ type: "array",
9617
+ description: "Payout rails the account could add as a new payout method. Only present when include_available is true; empty when the account has no payout setup yet.",
9618
+ items: {
9619
+ type: "object",
9620
+ properties: {
9621
+ object: {
9622
+ type: "string",
9623
+ enum: [
9624
+ "payout_destination"
9625
+ ]
9626
+ },
9627
+ id: {
9628
+ type: "string",
9629
+ description: "Payout destination ID."
9630
+ },
9631
+ name: {
9632
+ type: [
9633
+ "string",
9634
+ "null"
9635
+ ],
9636
+ description: "Payout destination display name."
9637
+ },
9638
+ icon_url: {
9639
+ type: [
9640
+ "string",
9641
+ "null"
9642
+ ],
9643
+ description: "Payout destination icon URL."
9644
+ },
9645
+ delivery_type: {
9646
+ type: "string",
9647
+ description: "How funds are delivered, for example `bank_deposit`."
9648
+ },
9649
+ supports_standard_delivery: {
9650
+ type: "boolean"
9651
+ },
9652
+ supports_instant_delivery: {
9653
+ type: "boolean"
9654
+ },
9655
+ quotes: {
9656
+ type: [
9657
+ "array",
9658
+ "null"
9659
+ ],
9660
+ description: "Fee and delivery estimates for withdrawing the requested amount through this destination, one per destination currency. Null unless an amount was provided.",
9661
+ items: {
9662
+ type: "object",
9663
+ properties: {
9664
+ destination_currency: {
9665
+ type: "string",
9666
+ description: "Currency the funds are delivered in."
9667
+ },
9668
+ amount: {
9669
+ type: "number",
9670
+ format: "float",
9671
+ description: "The withdrawal amount the quote is for."
9672
+ },
9673
+ currency: {
9674
+ type: "string",
9675
+ description: "Currency of the quoted amount."
9676
+ },
9677
+ exchange_rate: {
9678
+ type: "number",
9679
+ format: "float",
9680
+ description: "Exchange rate from the withdrawal currency to the destination currency."
9681
+ },
9682
+ min_limit: {
9683
+ type: "number",
9684
+ format: "float",
9685
+ description: "Minimum withdrawal amount, in the withdrawal currency."
9686
+ },
9687
+ max_limit: {
9688
+ type: [
9689
+ "number",
9690
+ "null"
9691
+ ],
9692
+ format: "float",
9693
+ description: "Maximum withdrawal amount, in the withdrawal currency."
9694
+ },
9695
+ standard: {
9696
+ type: [
9697
+ "object",
9698
+ "null"
9699
+ ],
9700
+ description: "Standard-delivery estimate. Null if unsupported or the amount does not cover the fee.",
9701
+ properties: {
9702
+ fee: {
9703
+ type: "number",
9704
+ format: "float"
9705
+ },
9706
+ total_received: {
9707
+ type: "number",
9708
+ format: "float"
9709
+ },
9710
+ estimated_arrival: {
9711
+ type: "string",
9712
+ format: "date-time"
9713
+ }
9714
+ },
9715
+ required: [
9716
+ "fee",
9717
+ "total_received",
9718
+ "estimated_arrival"
9719
+ ]
9720
+ },
9721
+ instant: {
9722
+ type: [
9723
+ "object",
9724
+ "null"
9725
+ ],
9726
+ description: "Instant-delivery estimate. Null if unsupported, unavailable for the account, or the amount does not cover the fee.",
9727
+ properties: {
9728
+ fee: {
9729
+ type: "number",
9730
+ format: "float"
9731
+ },
9732
+ total_received: {
9733
+ type: "number",
9734
+ format: "float"
9735
+ },
9736
+ estimated_arrival: {
9737
+ type: "string",
9738
+ format: "date-time"
9739
+ }
9740
+ },
9741
+ required: [
9742
+ "fee",
9743
+ "total_received",
9744
+ "estimated_arrival"
9745
+ ]
9746
+ }
9747
+ },
9748
+ required: [
9749
+ "destination_currency",
9750
+ "amount",
9751
+ "currency",
9752
+ "exchange_rate",
9753
+ "min_limit",
9754
+ "max_limit",
9755
+ "standard",
9756
+ "instant"
9757
+ ]
9758
+ }
9759
+ }
9760
+ },
9761
+ required: [
9762
+ "object",
9763
+ "id",
9764
+ "name",
9765
+ "icon_url",
9766
+ "delivery_type",
9767
+ "supports_standard_delivery",
9768
+ "supports_instant_delivery",
9769
+ "quotes"
9770
+ ]
9771
+ }
9772
+ },
9605
9773
  page_info: {
9606
9774
  type: "object",
9607
9775
  properties: {
@@ -20659,7 +20827,7 @@ import fs4 from "fs";
20659
20827
  import os4 from "os";
20660
20828
  import path4 from "path";
20661
20829
 
20662
- // ../../node_modules/.pnpm/incur@https+++codeload.github.com+whopio+incur+tar.gz+5ca60d5/node_modules/incur/dist/Cli.js
20830
+ // ../../node_modules/.pnpm/incur@https+++codeload.github.com+whopio+incur+tar.gz+4b9ca91dc02472db944fb103984ffc4a13251b6f/node_modules/incur/dist/Cli.js
20663
20831
  var Cli_exports = {};
20664
20832
  __export(Cli_exports, {
20665
20833
  collectSkillCommands: () => collectSkillCommands,
@@ -20760,7 +20928,7 @@ function extractSegmentPart(segment, segmentTokenStart, segmentTokenCount, targe
20760
20928
  return segment.slice(charStart, charEnd);
20761
20929
  }
20762
20930
 
20763
- // ../../node_modules/.pnpm/incur@https+++codeload.github.com+whopio+incur+tar.gz+5ca60d5/node_modules/incur/dist/internal/helpers.js
20931
+ // ../../node_modules/.pnpm/incur@https+++codeload.github.com+whopio+incur+tar.gz+4b9ca91dc02472db944fb103984ffc4a13251b6f/node_modules/incur/dist/internal/helpers.js
20764
20932
  function isRecord(value) {
20765
20933
  return typeof value === "object" && value !== null && !Array.isArray(value);
20766
20934
  }
@@ -20808,7 +20976,7 @@ function suggest(input, candidates) {
20808
20976
  return best;
20809
20977
  }
20810
20978
 
20811
- // ../../node_modules/.pnpm/incur@https+++codeload.github.com+whopio+incur+tar.gz+5ca60d5/node_modules/incur/dist/Completions.js
20979
+ // ../../node_modules/.pnpm/incur@https+++codeload.github.com+whopio+incur+tar.gz+4b9ca91dc02472db944fb103984ffc4a13251b6f/node_modules/incur/dist/Completions.js
20812
20980
  function register(shell, name) {
20813
20981
  switch (shell) {
20814
20982
  case "bash":
@@ -21071,7 +21239,7 @@ let _incur_complete_${id} = {|spans|
21071
21239
  }`;
21072
21240
  }
21073
21241
 
21074
- // ../../node_modules/.pnpm/incur@https+++codeload.github.com+whopio+incur+tar.gz+5ca60d5/node_modules/incur/dist/Errors.js
21242
+ // ../../node_modules/.pnpm/incur@https+++codeload.github.com+whopio+incur+tar.gz+4b9ca91dc02472db944fb103984ffc4a13251b6f/node_modules/incur/dist/Errors.js
21075
21243
  var BaseError = class extends Error {
21076
21244
  name = "Incur.BaseError";
21077
21245
  /** The short, human-readable error message (without details). */
@@ -21145,7 +21313,7 @@ function walk(error, fn) {
21145
21313
  return current;
21146
21314
  }
21147
21315
 
21148
- // ../../node_modules/.pnpm/incur@https+++codeload.github.com+whopio+incur+tar.gz+5ca60d5/node_modules/incur/dist/Fetch.js
21316
+ // ../../node_modules/.pnpm/incur@https+++codeload.github.com+whopio+incur+tar.gz+4b9ca91dc02472db944fb103984ffc4a13251b6f/node_modules/incur/dist/Fetch.js
21149
21317
  var reservedFlags = /* @__PURE__ */ new Set(["method", "body", "data", "header"]);
21150
21318
  var reservedShort = { X: "method", d: "data", H: "header" };
21151
21319
  function parseArgv(argv) {
@@ -21281,7 +21449,7 @@ async function parseResponse(response) {
21281
21449
  };
21282
21450
  }
21283
21451
 
21284
- // ../../node_modules/.pnpm/incur@https+++codeload.github.com+whopio+incur+tar.gz+5ca60d5/node_modules/incur/dist/Filter.js
21452
+ // ../../node_modules/.pnpm/incur@https+++codeload.github.com+whopio+incur+tar.gz+4b9ca91dc02472db944fb103984ffc4a13251b6f/node_modules/incur/dist/Filter.js
21285
21453
  function parse(expression) {
21286
21454
  const paths = [];
21287
21455
  const tokens = [];
@@ -21781,7 +21949,7 @@ function resolveOptions(options) {
21781
21949
  };
21782
21950
  }
21783
21951
 
21784
- // ../../node_modules/.pnpm/incur@https+++codeload.github.com+whopio+incur+tar.gz+5ca60d5/node_modules/incur/dist/internal/json.js
21952
+ // ../../node_modules/.pnpm/incur@https+++codeload.github.com+whopio+incur+tar.gz+4b9ca91dc02472db944fb103984ffc4a13251b6f/node_modules/incur/dist/internal/json.js
21785
21953
  function stringify(value, space) {
21786
21954
  return JSON.stringify(value, (_key, value2) => {
21787
21955
  if (typeof value2 === "bigint")
@@ -21793,7 +21961,7 @@ function normalize(value) {
21793
21961
  return JSON.parse(stringify(value));
21794
21962
  }
21795
21963
 
21796
- // ../../node_modules/.pnpm/incur@https+++codeload.github.com+whopio+incur+tar.gz+5ca60d5/node_modules/incur/dist/internal/yaml.js
21964
+ // ../../node_modules/.pnpm/incur@https+++codeload.github.com+whopio+incur+tar.gz+4b9ca91dc02472db944fb103984ffc4a13251b6f/node_modules/incur/dist/internal/yaml.js
21797
21965
  import { createRequire } from "module";
21798
21966
  var cached;
21799
21967
  async function load() {
@@ -21805,7 +21973,7 @@ function loadSync() {
21805
21973
  return cached;
21806
21974
  }
21807
21975
 
21808
- // ../../node_modules/.pnpm/incur@https+++codeload.github.com+whopio+incur+tar.gz+5ca60d5/node_modules/incur/dist/Formatter.js
21976
+ // ../../node_modules/.pnpm/incur@https+++codeload.github.com+whopio+incur+tar.gz+4b9ca91dc02472db944fb103984ffc4a13251b6f/node_modules/incur/dist/Formatter.js
21809
21977
  function format2(value, fmt = "toon") {
21810
21978
  if (value == null)
21811
21979
  return "";
@@ -21913,7 +22081,7 @@ ${String(val)}`;
21913
22081
  return kvTable(obj);
21914
22082
  }
21915
22083
 
21916
- // ../../node_modules/.pnpm/incur@https+++codeload.github.com+whopio+incur+tar.gz+5ca60d5/node_modules/incur/dist/Parser.js
22084
+ // ../../node_modules/.pnpm/incur@https+++codeload.github.com+whopio+incur+tar.gz+4b9ca91dc02472db944fb103984ffc4a13251b6f/node_modules/incur/dist/Parser.js
21917
22085
  function parse2(argv, options = {}) {
21918
22086
  const { args: argsSchema, options: optionsSchema, alias, defaults } = options;
21919
22087
  const optionNames = createOptionNames(optionsSchema, alias);
@@ -22273,7 +22441,7 @@ function defaultEnvSource() {
22273
22441
  return {};
22274
22442
  }
22275
22443
 
22276
- // ../../node_modules/.pnpm/incur@https+++codeload.github.com+whopio+incur+tar.gz+5ca60d5/node_modules/incur/dist/internal/command.js
22444
+ // ../../node_modules/.pnpm/incur@https+++codeload.github.com+whopio+incur+tar.gz+4b9ca91dc02472db944fb103984ffc4a13251b6f/node_modules/incur/dist/internal/command.js
22277
22445
  var sentinel = Symbol.for("incur.sentinel");
22278
22446
  async function execute(command, options) {
22279
22447
  const { argv, inputOptions, agent, format: format3, formatExplicit, name, path: path6, version, envSource = process.env, env: envSchema, globals = {}, vars: varsSchema, middlewares = [] } = options;
@@ -22520,7 +22688,7 @@ function findBuiltinSubcommand(builtin, token) {
22520
22688
  return builtin.subcommands?.find((sub) => sub.name === token || sub.aliases?.includes(token));
22521
22689
  }
22522
22690
 
22523
- // ../../node_modules/.pnpm/incur@https+++codeload.github.com+whopio+incur+tar.gz+5ca60d5/node_modules/incur/dist/Help.js
22691
+ // ../../node_modules/.pnpm/incur@https+++codeload.github.com+whopio+incur+tar.gz+4b9ca91dc02472db944fb103984ffc4a13251b6f/node_modules/incur/dist/Help.js
22524
22692
  function formatRoot(name, options = {}) {
22525
22693
  const { aliases, configFlag, description, globals, version, commands = [], root = false } = options;
22526
22694
  const lines = [];
@@ -22806,7 +22974,7 @@ function redact(value) {
22806
22974
  return `****${value.slice(-4)}`;
22807
22975
  }
22808
22976
 
22809
- // ../../node_modules/.pnpm/incur@https+++codeload.github.com+whopio+incur+tar.gz+5ca60d5/node_modules/incur/dist/internal/cta.js
22977
+ // ../../node_modules/.pnpm/incur@https+++codeload.github.com+whopio+incur+tar.gz+4b9ca91dc02472db944fb103984ffc4a13251b6f/node_modules/incur/dist/internal/cta.js
22810
22978
  function formatCtaBlock(name, block) {
22811
22979
  if (!block || block.commands.length === 0)
22812
22980
  return void 0;
@@ -22829,7 +22997,7 @@ function formatCta(name, cta) {
22829
22997
  return { command: cmd, ...cta.description ? { description: cta.description } : void 0 };
22830
22998
  }
22831
22999
 
22832
- // ../../node_modules/.pnpm/incur@https+++codeload.github.com+whopio+incur+tar.gz+5ca60d5/node_modules/incur/dist/internal/pm.js
23000
+ // ../../node_modules/.pnpm/incur@https+++codeload.github.com+whopio+incur+tar.gz+4b9ca91dc02472db944fb103984ffc4a13251b6f/node_modules/incur/dist/internal/pm.js
22833
23001
  function detectRunner() {
22834
23002
  const userAgent = process.env.npm_config_user_agent ?? "";
22835
23003
  const execPath = process.env.npm_execpath ?? "";
@@ -22840,7 +23008,7 @@ function detectRunner() {
22840
23008
  return "npx";
22841
23009
  }
22842
23010
 
22843
- // ../../node_modules/.pnpm/incur@https+++codeload.github.com+whopio+incur+tar.gz+5ca60d5/node_modules/incur/dist/Schema.js
23011
+ // ../../node_modules/.pnpm/incur@https+++codeload.github.com+whopio+incur+tar.gz+4b9ca91dc02472db944fb103984ffc4a13251b6f/node_modules/incur/dist/Schema.js
22844
23012
  function toJsonSchema(schema) {
22845
23013
  const result = external_exports.toJSONSchema(schema, {
22846
23014
  unrepresentable: "any",
@@ -22854,7 +23022,7 @@ function toJsonSchema(schema) {
22854
23022
  return result;
22855
23023
  }
22856
23024
 
22857
- // ../../node_modules/.pnpm/incur@https+++codeload.github.com+whopio+incur+tar.gz+5ca60d5/node_modules/incur/dist/Mcp.js
23025
+ // ../../node_modules/.pnpm/incur@https+++codeload.github.com+whopio+incur+tar.gz+4b9ca91dc02472db944fb103984ffc4a13251b6f/node_modules/incur/dist/Mcp.js
22858
23026
  async function serve(name, version, commands, options = {}) {
22859
23027
  const stdio = importStdioModule();
22860
23028
  const mcp = await import("./dist-2MZJLO2W.js");
@@ -23023,7 +23191,7 @@ function buildToolSchema(args, options) {
23023
23191
  return { type: "object", properties };
23024
23192
  }
23025
23193
 
23026
- // ../../node_modules/.pnpm/incur@https+++codeload.github.com+whopio+incur+tar.gz+5ca60d5/node_modules/incur/dist/internal/dereference.js
23194
+ // ../../node_modules/.pnpm/incur@https+++codeload.github.com+whopio+incur+tar.gz+4b9ca91dc02472db944fb103984ffc4a13251b6f/node_modules/incur/dist/internal/dereference.js
23027
23195
  function dereference(root) {
23028
23196
  const cache = /* @__PURE__ */ new Map();
23029
23197
  return walk2(root, root, cache);
@@ -23075,7 +23243,7 @@ function resolvePointer(root, pointer) {
23075
23243
  return current;
23076
23244
  }
23077
23245
 
23078
- // ../../node_modules/.pnpm/incur@https+++codeload.github.com+whopio+incur+tar.gz+5ca60d5/node_modules/incur/dist/Openapi.js
23246
+ // ../../node_modules/.pnpm/incur@https+++codeload.github.com+whopio+incur+tar.gz+4b9ca91dc02472db944fb103984ffc4a13251b6f/node_modules/incur/dist/Openapi.js
23079
23247
  function fromCli(cli, options = {}) {
23080
23248
  const commands = toCommands.get(cli);
23081
23249
  if (!commands)
@@ -23594,7 +23762,7 @@ function coerceIfNeeded(schema) {
23594
23762
  return desc ? coerced.describe(desc) : coerced;
23595
23763
  }
23596
23764
 
23597
- // ../../node_modules/.pnpm/incur@https+++codeload.github.com+whopio+incur+tar.gz+5ca60d5/node_modules/incur/dist/Skill.js
23765
+ // ../../node_modules/.pnpm/incur@https+++codeload.github.com+whopio+incur+tar.gz+4b9ca91dc02472db944fb103984ffc4a13251b6f/node_modules/incur/dist/Skill.js
23598
23766
  import { createHash } from "crypto";
23599
23767
  function index(name, commands, description) {
23600
23768
  const lines = [`# ${name}`];
@@ -23838,7 +24006,7 @@ function resolveTypeName2(prop) {
23838
24006
  return "unknown";
23839
24007
  }
23840
24008
 
23841
- // ../../node_modules/.pnpm/incur@https+++codeload.github.com+whopio+incur+tar.gz+5ca60d5/node_modules/incur/dist/SyncMcp.js
24009
+ // ../../node_modules/.pnpm/incur@https+++codeload.github.com+whopio+incur+tar.gz+4b9ca91dc02472db944fb103984ffc4a13251b6f/node_modules/incur/dist/SyncMcp.js
23842
24010
  import { execFile } from "child_process";
23843
24011
  import { existsSync, mkdirSync, readFileSync, writeFileSync } from "fs";
23844
24012
  import { homedir } from "os";
@@ -23977,13 +24145,13 @@ function exec(cmd, args) {
23977
24145
  });
23978
24146
  }
23979
24147
 
23980
- // ../../node_modules/.pnpm/incur@https+++codeload.github.com+whopio+incur+tar.gz+5ca60d5/node_modules/incur/dist/SyncSkills.js
24148
+ // ../../node_modules/.pnpm/incur@https+++codeload.github.com+whopio+incur+tar.gz+4b9ca91dc02472db944fb103984ffc4a13251b6f/node_modules/incur/dist/SyncSkills.js
23981
24149
  import fsSync from "fs";
23982
24150
  import fs2 from "fs/promises";
23983
24151
  import os2 from "os";
23984
24152
  import path2 from "path";
23985
24153
 
23986
- // ../../node_modules/.pnpm/incur@https+++codeload.github.com+whopio+incur+tar.gz+5ca60d5/node_modules/incur/dist/internal/agents.js
24154
+ // ../../node_modules/.pnpm/incur@https+++codeload.github.com+whopio+incur+tar.gz+4b9ca91dc02472db944fb103984ffc4a13251b6f/node_modules/incur/dist/internal/agents.js
23987
24155
  import * as fs from "fs";
23988
24156
  import * as os from "os";
23989
24157
  import * as path from "path";
@@ -24263,7 +24431,7 @@ function resolveParent(dir) {
24263
24431
  }
24264
24432
  }
24265
24433
 
24266
- // ../../node_modules/.pnpm/incur@https+++codeload.github.com+whopio+incur+tar.gz+5ca60d5/node_modules/incur/dist/SyncSkills.js
24434
+ // ../../node_modules/.pnpm/incur@https+++codeload.github.com+whopio+incur+tar.gz+4b9ca91dc02472db944fb103984ffc4a13251b6f/node_modules/incur/dist/SyncSkills.js
24267
24435
  async function sync(name, commands, options = {}) {
24268
24436
  const { depth = 1, description, global = true } = options;
24269
24437
  const cwd = options.cwd ?? (global ? resolvePackageRoot() : process.cwd());
@@ -24424,7 +24592,7 @@ function readHash(name) {
24424
24592
  return readMeta(name)?.hash;
24425
24593
  }
24426
24594
 
24427
- // ../../node_modules/.pnpm/incur@https+++codeload.github.com+whopio+incur+tar.gz+5ca60d5/node_modules/incur/dist/Cli.js
24595
+ // ../../node_modules/.pnpm/incur@https+++codeload.github.com+whopio+incur+tar.gz+4b9ca91dc02472db944fb103984ffc4a13251b6f/node_modules/incur/dist/Cli.js
24428
24596
  var destructiveCommandHint = "Confirm with the user before executing this destructive command.";
24429
24597
  function create(nameOrDefinition, definition) {
24430
24598
  const name = typeof nameOrDefinition === "string" ? nameOrDefinition : nameOrDefinition.name;
@@ -26909,6 +27077,7 @@ import { createRequire as createRequire2 } from "module";
26909
27077
  // src/lib/build-info.ts
26910
27078
  var buildChannel = true ? "npm" : "dev";
26911
27079
  var buildTarget = typeof WHOP_CLI_TARGET === "string" ? WHOP_CLI_TARGET : null;
27080
+ var buildVersion = true ? "0.3.0" : null;
26912
27081
  function isHomebrewPath(execPath, env = process.env) {
26913
27082
  if (/[/\\](Cellar|homebrew|linuxbrew)[/\\]/.test(execPath)) return true;
26914
27083
  const prefix = env.HOMEBREW_PREFIX?.trim();
@@ -27962,6 +28131,7 @@ export {
27962
28131
  configDir,
27963
28132
  readConfig,
27964
28133
  buildTarget,
28134
+ buildVersion,
27965
28135
  detectChannel,
27966
28136
  getSecret,
27967
28137
  PromptCancelledError,
@@ -27984,4 +28154,4 @@ export {
27984
28154
  resolveActiveAccountId,
27985
28155
  createWhopFetch
27986
28156
  };
27987
- //# sourceMappingURL=chunk-2Y4EKBOD.js.map
28157
+ //# sourceMappingURL=chunk-4WNH276N.js.map