agentv 2.17.2 → 2.17.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/{chunk-SO4O4O2B.js → chunk-JSOG3FT6.js} +3 -4
- package/dist/chunk-JSOG3FT6.js.map +1 -0
- package/dist/{chunk-MH2ZEUAO.js → chunk-O4FNHLF4.js} +4 -4
- package/dist/{chunk-QAZU7YAH.js → chunk-PL4LNY2N.js} +4 -4
- package/dist/{chunk-QAZU7YAH.js.map → chunk-PL4LNY2N.js.map} +1 -1
- package/dist/cli.js +3 -3
- package/dist/{dist-AQVAKXMK.js → dist-HB2SDRTG.js} +2 -2
- package/dist/index.js +3 -3
- package/dist/{interactive-T2FAFLD2.js → interactive-GANDKJUX.js} +3 -3
- package/package.json +1 -1
- package/dist/chunk-SO4O4O2B.js.map +0 -1
- /package/dist/{chunk-MH2ZEUAO.js.map → chunk-O4FNHLF4.js.map} +0 -0
- /package/dist/{dist-AQVAKXMK.js.map → dist-HB2SDRTG.js.map} +0 -0
- /package/dist/{interactive-T2FAFLD2.js.map → interactive-GANDKJUX.js.map} +0 -0
|
@@ -46577,9 +46577,8 @@ function normalizeRepoForFingerprint(repo) {
|
|
|
46577
46577
|
}
|
|
46578
46578
|
return result;
|
|
46579
46579
|
}
|
|
46580
|
-
function computeWorkspaceFingerprint(
|
|
46580
|
+
function computeWorkspaceFingerprint(repos) {
|
|
46581
46581
|
const canonical = {
|
|
46582
|
-
templatePath: templatePath ?? null,
|
|
46583
46582
|
repos: [...repos].sort((a, b) => a.path.localeCompare(b.path)).map(normalizeRepoForFingerprint)
|
|
46584
46583
|
};
|
|
46585
46584
|
return createHash("sha256").update(JSON.stringify(canonical)).digest("hex");
|
|
@@ -46621,7 +46620,7 @@ var WorkspacePoolManager = class {
|
|
|
46621
46620
|
*/
|
|
46622
46621
|
async acquireWorkspace(options) {
|
|
46623
46622
|
const { templatePath, repos, maxSlots, repoManager, poolReset } = options;
|
|
46624
|
-
const fingerprint = computeWorkspaceFingerprint(
|
|
46623
|
+
const fingerprint = computeWorkspaceFingerprint(repos);
|
|
46625
46624
|
const poolDir = path36.join(this.poolRoot, fingerprint);
|
|
46626
46625
|
await mkdir11(poolDir, { recursive: true });
|
|
46627
46626
|
const drifted = await this.checkDrift(poolDir, fingerprint);
|
|
@@ -49712,4 +49711,4 @@ export {
|
|
|
49712
49711
|
OtelStreamingObserver,
|
|
49713
49712
|
createAgentKernel
|
|
49714
49713
|
};
|
|
49715
|
-
//# sourceMappingURL=chunk-
|
|
49714
|
+
//# sourceMappingURL=chunk-JSOG3FT6.js.map
|