opencara 0.112.1 → 0.112.3
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/bin.js +2 -2
- package/package.json +1 -1
package/dist/bin.js
CHANGED
|
@@ -1466,7 +1466,7 @@ function resolveLocalAcpAdapter(command, args) {
|
|
|
1466
1466
|
}
|
|
1467
1467
|
|
|
1468
1468
|
// src/commands/run.ts
|
|
1469
|
-
var PKG_VERSION = "0.112.
|
|
1469
|
+
var PKG_VERSION = "0.112.3";
|
|
1470
1470
|
var LOG_FLUSH_MS = 800;
|
|
1471
1471
|
var MAX_CHUNK_SIZE = 4 * 1024;
|
|
1472
1472
|
async function run(opts = {}) {
|
|
@@ -1807,7 +1807,7 @@ function worktreeCreate(args) {
|
|
|
1807
1807
|
if (!token) {
|
|
1808
1808
|
fail("worktree create needs GH_TOKEN in env (the orchestrator injects this per run)");
|
|
1809
1809
|
}
|
|
1810
|
-
if (!/^[\w
|
|
1810
|
+
if (!/^[\w.-]+$/.test(token)) {
|
|
1811
1811
|
fail("GH_TOKEN contains unexpected characters; refusing to use");
|
|
1812
1812
|
}
|
|
1813
1813
|
const key = safeKey(rawKey);
|