@epoch-agent/cli 4.0.0 → 4.1.1
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/index.js +1 -0
- package/dist/tui-entry.js +5 -1
- package/package.json +7 -7
package/dist/index.js
CHANGED
|
@@ -3310,6 +3310,7 @@ async function runOnce(query, opts, resumeId) {
|
|
|
3310
3310
|
sessionId: () => rt?.sessionId,
|
|
3311
3311
|
preauth: (req) => preauthorizedBy(rt?.config.headless, headless, req)
|
|
3312
3312
|
}) : createInteractiveApproval({ permission: () => rt?.permission }),
|
|
3313
|
+
// cli/__tests__/signal-handlers.test.ts
|
|
3313
3314
|
installSignalHandlers: false,
|
|
3314
3315
|
...approver ? { interactive: true } : {},
|
|
3315
3316
|
...headless ? { headless } : {},
|
package/dist/tui-entry.js
CHANGED
|
@@ -456,6 +456,7 @@ import {
|
|
|
456
456
|
suggestRuleFromApproval
|
|
457
457
|
} from "@epoch-agent/core";
|
|
458
458
|
import { pluginsStatePath as pluginsStatePath2, t as t11 } from "@epoch-agent/infra";
|
|
459
|
+
import { stripTurnDigest } from "@epoch-agent/protocol";
|
|
459
460
|
import { listBackgroundTasks } from "@epoch-agent/runtime";
|
|
460
461
|
// src/clipboard.ts
|
|
461
462
|
import { execFile } from "child_process";
|
|
@@ -1543,7 +1544,10 @@ function buildHostActions(runtime, workDir) {
|
|
|
1543
1544
|
...runtime.session ? { compactContext: (instruction) => runtime.session.compact(instruction) } : {},
|
|
1544
1545
|
...runtime.sessions ? {
|
|
1545
1546
|
listSessions: () => runtime.sessions.list(),
|
|
1546
|
-
resumeSession: (sessionId) => runtime.sessions.resume(sessionId)
|
|
1547
|
+
resumeSession: (sessionId) => runtime.sessions.resume(sessionId).map((m) => ({
|
|
1548
|
+
...m,
|
|
1549
|
+
content: stripTurnDigest(m.content)
|
|
1550
|
+
})),
|
|
1547
1551
|
searchSessions: (query) => runtime.sessions.search(query)
|
|
1548
1552
|
} : {},
|
|
1549
1553
|
...runtime.sessionStore ? {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@epoch-agent/cli",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.1.1",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "epoch-agent CLI 入口",
|
|
6
6
|
"repository": {
|
|
@@ -22,12 +22,12 @@
|
|
|
22
22
|
"commander": "^15.0.0",
|
|
23
23
|
"ink": "^7.1.1",
|
|
24
24
|
"react": "^19.2.8",
|
|
25
|
-
"@epoch-agent/
|
|
26
|
-
"@epoch-agent/
|
|
27
|
-
"@epoch-agent/
|
|
28
|
-
"@epoch-agent/server": "4.
|
|
29
|
-
"@epoch-agent/
|
|
30
|
-
"@epoch-agent/infra": "4.
|
|
25
|
+
"@epoch-agent/core": "4.1.1",
|
|
26
|
+
"@epoch-agent/protocol": "4.1.1",
|
|
27
|
+
"@epoch-agent/runtime": "4.1.1",
|
|
28
|
+
"@epoch-agent/server": "4.1.1",
|
|
29
|
+
"@epoch-agent/tui": "^4.1.1",
|
|
30
|
+
"@epoch-agent/infra": "4.1.1"
|
|
31
31
|
},
|
|
32
32
|
"devDependencies": {
|
|
33
33
|
"@types/node": "^22.20.1",
|