@abuaboud/box 0.7.22 → 0.7.23

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 (2) hide show
  1. package/dist/cbox.mjs +3 -1
  2. package/package.json +1 -1
package/dist/cbox.mjs CHANGED
@@ -212,9 +212,11 @@ var brand = process.env.CB_BRAND === "skyfleet" ? BRANDS.skyfleet : BRANDS.box;
212
212
 
213
213
  // src/api.ts
214
214
  var file = join2(CONFIG_DIR, "config.json");
215
+ var MOVED = { "https://box.abuaboud.me": "https://box.activepieces.dev" };
215
216
  var load = () => {
216
217
  if (!existsSync2(file)) return { server: process.env.CB_SERVER ?? brand.server };
217
- return JSON.parse(readFileSync2(file, "utf8"));
218
+ const config = JSON.parse(readFileSync2(file, "utf8"));
219
+ return { ...config, server: MOVED[config.server] ?? config.server };
218
220
  };
219
221
  var save = (c) => {
220
222
  mkdirSync2(CONFIG_DIR, { recursive: true });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abuaboud/box",
3
- "version": "0.7.22",
3
+ "version": "0.7.23",
4
4
  "description": "skyfleet: Claude Code on your laptop, the work on a cloud dev machine (a ship) you reach as <name>.skyfleet, with your team databases through MCP.",
5
5
  "type": "module",
6
6
  "bin": {