@openape/ape-agent 2.8.10 → 2.8.12
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/bridge.mjs +3 -1
- package/package.json +2 -2
package/dist/bridge.mjs
CHANGED
|
@@ -1510,7 +1510,7 @@ import { existsSync as existsSync4, mkdirSync as mkdirSync3, readdirSync as read
|
|
|
1510
1510
|
import { homedir as homedir6 } from "os";
|
|
1511
1511
|
import { join as join6 } from "path";
|
|
1512
1512
|
|
|
1513
|
-
// ../../packages/apes/dist/chunk-
|
|
1513
|
+
// ../../packages/apes/dist/chunk-OOKB2IL2.js
|
|
1514
1514
|
import { spawn } from "child_process";
|
|
1515
1515
|
import { mkdirSync as mkdirSync2, readFileSync as readFileSync3, writeFileSync as writeFileSync2 } from "fs";
|
|
1516
1516
|
import { homedir as homedir3 } from "os";
|
|
@@ -1949,9 +1949,11 @@ function buildCreateCommand(repo, taskId, branch) {
|
|
|
1949
1949
|
`git -C ${q(baseDir)} worktree prune 2>/dev/null || true`,
|
|
1950
1950
|
`rm -rf ${q(wt)} 2>/dev/null || true`
|
|
1951
1951
|
].join("; ");
|
|
1952
|
+
const ghAuth = /github\.com/i.test(source) ? `git -C ${q(baseDir)} config credential.helper '' && git -C ${q(baseDir)} config --add credential.helper '!f() { echo username=x-access-token; echo "password=$GH_TOKEN"; }; f'` : "true";
|
|
1952
1953
|
return [
|
|
1953
1954
|
`mkdir -p ${q(reposRoot())} ${q(workRoot())}`,
|
|
1954
1955
|
clone,
|
|
1956
|
+
ghAuth,
|
|
1955
1957
|
`git -C ${q(baseDir)} fetch --quiet || true`,
|
|
1956
1958
|
`{ ${reset}; }`,
|
|
1957
1959
|
`git -C ${q(baseDir)} worktree add -B ${q(br)} ${q(wt)}`,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openape/ape-agent",
|
|
3
|
-
"version": "2.8.
|
|
3
|
+
"version": "2.8.12",
|
|
4
4
|
"description": "OpenApe agent runtime: per-agent process that connects to chat.openape.ai, runs the LLM loop with tools + cron tasks, and streams replies back to owners.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
"ofetch": "^1.4.1",
|
|
24
24
|
"ws": "^8.18.0",
|
|
25
25
|
"yaml": "^2.8.0",
|
|
26
|
-
"@openape/apes": "1.28.
|
|
26
|
+
"@openape/apes": "1.28.11",
|
|
27
27
|
"@openape/prompt-injection-detector": "0.1.0",
|
|
28
28
|
"@openape/cli-auth": "0.4.1"
|
|
29
29
|
},
|