@abuaboud/box 0.7.17 → 0.7.19
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/cbox.mjs +8 -3
- package/package.json +1 -1
package/dist/cbox.mjs
CHANGED
|
@@ -560,7 +560,12 @@ async function ensureClone(env) {
|
|
|
560
560
|
rmSync(partial, { recursive: true, force: true });
|
|
561
561
|
mkdirSync4(dirname(clone), { recursive: true });
|
|
562
562
|
const bar = progress([[0, `Cloning ${env.repo} once for every ${env.name} agent`]], { pace: 6e4 });
|
|
563
|
-
|
|
563
|
+
let cloned = { ok: false, out: "", err: "" };
|
|
564
|
+
for (const url of token ? [`https://github.com/${env.repo}.git`] : [`https://github.com/${env.repo}.git`, `git@github.com:${env.repo}.git`]) {
|
|
565
|
+
rmSync(partial, { recursive: true, force: true });
|
|
566
|
+
cloned = await git([...auth, "clone", "-q", "--no-checkout", "--filter=blob:none", url, partial]);
|
|
567
|
+
if (cloned.ok) break;
|
|
568
|
+
}
|
|
564
569
|
if (!cloned.ok) {
|
|
565
570
|
bar();
|
|
566
571
|
fail(`Couldn't clone ${env.repo}: ${cloned.err.split("\n").at(-1)}. Run gh auth login and try again.`);
|
|
@@ -1178,7 +1183,7 @@ import { mkdirSync as mkdirSync5, readFileSync as readFileSync6, writeFileSync a
|
|
|
1178
1183
|
import { basename as basename2, dirname as dirname2, join as join6 } from "node:path";
|
|
1179
1184
|
import { fileURLToPath } from "node:url";
|
|
1180
1185
|
var PACKAGE = "@abuaboud/box";
|
|
1181
|
-
var LATEST =
|
|
1186
|
+
var LATEST = `${(process.env.npm_config_registry ?? "https://registry.npmjs.org").replace(/\/$/, "")}/${PACKAGE.replace("/", "%2f")}/latest`;
|
|
1182
1187
|
var VERSION = JSON.parse(readFileSync6(new URL("../package.json", import.meta.url), "utf8")).version;
|
|
1183
1188
|
function npmPrefix() {
|
|
1184
1189
|
const pkgDir = dirname2(dirname2(fileURLToPath(import.meta.url)));
|
|
@@ -1312,7 +1317,7 @@ async function setup() {
|
|
|
1312
1317
|
if (sent.tooBig) miss(`Your skills and plugins are over ${MAX_SETUP_MB} MB, so only CLAUDE.md and the plugin list were sent.`);
|
|
1313
1318
|
const { data } = await api("/api/accounts");
|
|
1314
1319
|
const missing = ["claude", "github"].filter((id) => data.find((a) => a.id === id)?.status !== "ready").map((id) => id === "claude" ? "sign in to Claude" : "connect GitHub");
|
|
1315
|
-
if (missing.length) miss(`Before @${brand.name} can start agents as you, ${missing.join(" and ")}: ${new URL("/
|
|
1320
|
+
if (missing.length) miss(`Before @${brand.name} can start agents as you, ${missing.join(" and ")}: ${new URL("/inbox?new", load().server)}`);
|
|
1316
1321
|
else ok("Claude and GitHub are connected");
|
|
1317
1322
|
}
|
|
1318
1323
|
async function submit(issues, o) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@abuaboud/box",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.19",
|
|
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": {
|