vps-work 2.4.0 → 2.4.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.
package/dist/vps-work.cjs CHANGED
@@ -47422,7 +47422,14 @@ function buildPurchaseCommand() {
47422
47422
  limit: opts.limit,
47423
47423
  offset: opts.offset
47424
47424
  })) if (value !== void 0) params[key] = value;
47425
- await runSkillShortcutExecute("vps-purchase", script, params, opts, command);
47425
+ const payload = await mergeShortcutParams(params, opts);
47426
+ const baseUrl4 = resolveShortcutVpsServiceUrl(opts, command);
47427
+ if (isValidateOnly(opts)) {
47428
+ console.log(JSON.stringify({ validateOnly: true, source: "vps-service-execute", endpoint: `${baseUrl4}/v1/execute`, skill_key: "vps-purchase", script_key: script, params: payload }, null, 2));
47429
+ return;
47430
+ }
47431
+ const result = await executeVpsServiceScript("vps-purchase", script, payload, baseUrl4);
47432
+ console.log(typeof result === "string" && opts.json === false ? result : JSON.stringify(result, null, 2));
47426
47433
  });
47427
47434
  }
47428
47435
  return parent;
@@ -65125,7 +65132,7 @@ function rewriteLongFlag(tok) {
65125
65132
  }
65126
65133
 
65127
65134
  // src/bin/vps-work.ts
65128
- var PKG_VERSION = "2.4.0" ? "2.4.0" : "0.0.0-dev";
65135
+ var PKG_VERSION = "2.4.1" ? "2.4.1" : "0.0.0-dev";
65129
65136
  function smartFlagSuggest(flag, candidates) {
65130
65137
  if (!flag.startsWith("--") || flag.length < 4) return "";
65131
65138
  const word = flag.slice(2);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vps-work",
3
- "version": "2.4.0",
3
+ "version": "2.4.1",
4
4
  "description": "VPS Work CLI - tenant-aware domain shortcuts and bundled agent skills for Cursor / Claude Code / Trae.",
5
5
  "license": "MIT",
6
6
  "author": "he-linyan",