@uzysjung/agent-harness 26.175.0 → 26.177.0
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.
|
@@ -1148,7 +1148,7 @@ import { dirname as dirname3, join as join4 } from "path";
|
|
|
1148
1148
|
// package.json
|
|
1149
1149
|
var package_default = {
|
|
1150
1150
|
name: "@uzysjung/agent-harness",
|
|
1151
|
-
version: "26.
|
|
1151
|
+
version: "26.177.0",
|
|
1152
1152
|
description: "Curate vetted AI-coding skills & plugins by your tech stack \u2014 install only what you need, across Claude Code, Codex, OpenCode & Antigravity",
|
|
1153
1153
|
type: "module",
|
|
1154
1154
|
publishConfig: {
|
|
@@ -1591,7 +1591,19 @@ function buildAssetEntries(report, scope, previous) {
|
|
|
1591
1591
|
...skillNames(recordedBefore, scope, r.skills)
|
|
1592
1592
|
};
|
|
1593
1593
|
if (r.files === void 0) return entry;
|
|
1594
|
-
if (recordedBefore !== void 0 && recordedBefore.files === void 0)
|
|
1594
|
+
if (recordedBefore !== void 0 && (recordedBefore.files === void 0 || recordedBefore.filesPartial === true)) {
|
|
1595
|
+
const known = /* @__PURE__ */ new Set([
|
|
1596
|
+
...(recordedBefore.files ?? []).map((f) => skillFolderOf(f.path)),
|
|
1597
|
+
...r.files.covered ?? []
|
|
1598
|
+
]);
|
|
1599
|
+
if (known.size === 0) return entry;
|
|
1600
|
+
const created = r.files.created.filter((f) => known.has(skillFolderOf(f.path)));
|
|
1601
|
+
return {
|
|
1602
|
+
...entry,
|
|
1603
|
+
files: mergeToolFiles(recordedBefore.files, { created, changed: r.files.changed }),
|
|
1604
|
+
filesPartial: true
|
|
1605
|
+
};
|
|
1606
|
+
}
|
|
1595
1607
|
return { ...entry, files: mergeToolFiles(recordedBefore?.files, r.files) };
|
|
1596
1608
|
});
|
|
1597
1609
|
}
|
|
@@ -1608,6 +1620,9 @@ function mergeToolFiles(prior, run) {
|
|
|
1608
1620
|
for (const f of run.created) byPath.set(f.path, f.sha256);
|
|
1609
1621
|
return [...byPath].map(([path2, sha256]) => ({ path: path2, sha256 }));
|
|
1610
1622
|
}
|
|
1623
|
+
function skillFolderOf(path2) {
|
|
1624
|
+
return path2.split("/").slice(0, 3).join("/");
|
|
1625
|
+
}
|
|
1611
1626
|
function assetToLogEntry(asset, scope, version) {
|
|
1612
1627
|
const detail = methodDetail(asset.method);
|
|
1613
1628
|
const entry = {
|
|
@@ -5634,6 +5649,7 @@ export {
|
|
|
5634
5649
|
init_esm_shims,
|
|
5635
5650
|
package_default,
|
|
5636
5651
|
isOutsideProject,
|
|
5652
|
+
resolveWriteTarget,
|
|
5637
5653
|
outsideProjectTarget,
|
|
5638
5654
|
outsideLinkAt,
|
|
5639
5655
|
createOutsideGuard,
|
|
@@ -5720,6 +5736,7 @@ export {
|
|
|
5720
5736
|
installedClis,
|
|
5721
5737
|
buildAssetEntries,
|
|
5722
5738
|
skillNames,
|
|
5739
|
+
skillFolderOf,
|
|
5723
5740
|
buildInstallLog,
|
|
5724
5741
|
mergeRootFiles,
|
|
5725
5742
|
hashContent,
|
|
@@ -5818,4 +5835,4 @@ smol-toml/dist/index.js:
|
|
|
5818
5835
|
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
5819
5836
|
*)
|
|
5820
5837
|
*/
|
|
5821
|
-
//# sourceMappingURL=chunk-
|
|
5838
|
+
//# sourceMappingURL=chunk-JIVFWRYB.js.map
|