@clawos-dev/clawd 0.2.659 → 0.2.660
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/cli.cjs +7 -2
- package/package.json +1 -1
package/dist/cli.cjs
CHANGED
|
@@ -63680,7 +63680,12 @@ function buildDeployHandlers(deps) {
|
|
|
63680
63680
|
if (/[\s\p{Cc}]/u.test(apiKey)) throw invalid("key \u91CC\u4E0D\u80FD\u6709\u7A7A\u767D\u6216\u63A7\u5236\u5B57\u7B26\uFF08\u591A\u534A\u662F\u7C98\u8D34\u65F6\u5E26\u8FDB\u4E86\u6362\u884C\u6216\u7A7A\u683C\uFF09");
|
|
63681
63681
|
writes = [[ENGINE_AUTH_SECRETS.apiKey, apiKey], [ENGINE_AUTH_SECRETS.baseUrl, baseUrl]];
|
|
63682
63682
|
}
|
|
63683
|
-
const { api } = await requireGithub();
|
|
63683
|
+
const { auth: githubAuth, api } = await requireGithub();
|
|
63684
|
+
try {
|
|
63685
|
+
await ensureRepo(deps.exec, api, { dir, org: deps.org, personaId: args.personaId, auth: githubAuth });
|
|
63686
|
+
} catch (err) {
|
|
63687
|
+
throw toClawdError(err);
|
|
63688
|
+
}
|
|
63684
63689
|
const before = await readHistory(dir);
|
|
63685
63690
|
await writeScanFile(dir, { ...before, engineChannels: { ...before.engineChannels, [args.environment]: null } });
|
|
63686
63691
|
try {
|
|
@@ -74650,7 +74655,7 @@ function computeMethodAccess(args) {
|
|
|
74650
74655
|
}
|
|
74651
74656
|
|
|
74652
74657
|
// src/version.ts
|
|
74653
|
-
var version = "0.2.
|
|
74658
|
+
var version = "0.2.660".length > 0 ? "0.2.660" : "dev";
|
|
74654
74659
|
|
|
74655
74660
|
// src/cli-probe/probe.ts
|
|
74656
74661
|
var fs85 = __toESM(require("fs"), 1);
|