agentv 4.15.3 → 4.15.4
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/{chunk-P2UXBHIA.js → chunk-CK47W2B5.js} +9 -4
- package/dist/chunk-CK47W2B5.js.map +1 -0
- package/dist/{chunk-6X2UFVGI.js → chunk-K4QF5TNX.js} +5 -2
- package/dist/chunk-K4QF5TNX.js.map +1 -0
- package/dist/{chunk-NXZLEIAG.js → chunk-TT36K77B.js} +18 -12
- package/dist/chunk-TT36K77B.js.map +1 -0
- package/dist/cli.js +3 -3
- package/dist/{dist-7ZYP7EBD.js → dist-ZVTERRJS.js} +2 -2
- package/dist/index.js +3 -3
- package/dist/{interactive-QOOK2KED.js → interactive-RXDJ5OXY.js} +3 -3
- package/package.json +1 -1
- package/dist/chunk-6X2UFVGI.js.map +0 -1
- package/dist/chunk-NXZLEIAG.js.map +0 -1
- package/dist/chunk-P2UXBHIA.js.map +0 -1
- /package/dist/{dist-7ZYP7EBD.js.map → dist-ZVTERRJS.js.map} +0 -0
- /package/dist/{interactive-QOOK2KED.js.map → interactive-RXDJ5OXY.js.map} +0 -0
|
@@ -17289,7 +17289,8 @@ function formatSegment(segment, mode = "lm") {
|
|
|
17289
17289
|
return void 0;
|
|
17290
17290
|
}
|
|
17291
17291
|
if (mode === "agent") {
|
|
17292
|
-
|
|
17292
|
+
const absolutePath = asString2(segment.resolvedPath) ?? filePath;
|
|
17293
|
+
return `<file: path="${absolutePath}">`;
|
|
17293
17294
|
}
|
|
17294
17295
|
const text2 = asString2(segment.text);
|
|
17295
17296
|
if (text2 && filePath) {
|
|
@@ -32558,6 +32559,8 @@ ${providerFileChanges}` : providerFileChanges;
|
|
|
32558
32559
|
} else if ((retainOnSuccess ?? (keepWorkspaces ? "keep" : "cleanup")) !== "keep") {
|
|
32559
32560
|
await cleanupWorkspace(workspacePath).catch(() => {
|
|
32560
32561
|
});
|
|
32562
|
+
} else {
|
|
32563
|
+
return { ...finalResult, workspacePath };
|
|
32561
32564
|
}
|
|
32562
32565
|
}
|
|
32563
32566
|
return finalResult;
|
|
@@ -35748,4 +35751,4 @@ export {
|
|
|
35748
35751
|
TranscriptProvider,
|
|
35749
35752
|
createAgentKernel
|
|
35750
35753
|
};
|
|
35751
|
-
//# sourceMappingURL=chunk-
|
|
35754
|
+
//# sourceMappingURL=chunk-K4QF5TNX.js.map
|