@uzysjung/agent-harness 26.149.0 → 26.150.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.
package/dist/index.js CHANGED
@@ -22,6 +22,7 @@ import {
22
22
  backupDir,
23
23
  backupFile,
24
24
  backupFileIfChanged,
25
+ buildAssetSpec,
25
26
  buildInstallLog,
26
27
  buildManifest,
27
28
  collectPolicyHashes,
@@ -56,7 +57,7 @@ import {
56
57
  summarizeContextCost,
57
58
  upsertHarnessImport,
58
59
  writeInstallLog
59
- } from "./chunk-YSW3OLH4.js";
60
+ } from "./chunk-NKBUDHPC.js";
60
61
 
61
62
  // node_modules/sisteransi/src/index.js
62
63
  var require_src = __commonJS({
@@ -741,7 +742,7 @@ var cac = (name = "") => new CAC(name);
741
742
  // package.json
742
743
  var package_default = {
743
744
  name: "@uzysjung/agent-harness",
744
- version: "26.149.0",
745
+ version: "26.150.0",
745
746
  description: "Curate vetted AI-coding skills & plugins by your tech stack \u2014 install only what you need, across Claude Code, Codex, OpenCode & Antigravity",
746
747
  type: "module",
747
748
  publishConfig: {
@@ -2651,25 +2652,11 @@ function runUpdateInstall(ctx, templatesDir, backupPath) {
2651
2652
  return { ...baseline, external: null, staleHookRefs: [] };
2652
2653
  }
2653
2654
  function buildManifestSpec(spec) {
2654
- const selectionCtx = {
2655
+ return buildAssetSpec({
2655
2656
  tracks: spec.tracks,
2656
2657
  options: spec.options,
2657
2658
  ...spec.userOverride ? { userOverride: spec.userOverride } : {}
2658
- };
2659
- return {
2660
- tracks: spec.tracks,
2661
- withTauri: isAssetSelected("tauri-desktop", selectionCtx),
2662
- // v26.55.0 — withEcc gating (ADR-016). ECC cherry-pick (agents/skills/commands) 항목 토글.
2663
- // withPrune 은 ecc-plugin 사용을 전제 (이전 applyOptionRules `withEcc ||= withPrune` 의미 보존).
2664
- withEcc: isAssetSelected("ecc-plugin", selectionCtx) || spec.options.withPrune,
2665
- // v26.87.0 — internal bundled skills (dev-method + opt-in advisors, v26.95.0). Each id's
2666
- // condition (has-dev-track vs opt-in) is applied by isAssetSelected — manifest copy + the 3
2667
- // non-Claude CLI transforms gate on this filtered list, so opt-in ones install only when
2668
- // wizard-checked / `--with <id>`, and any uncheck / `--without <id>` (forceExclude) drops it.
2669
- selectedInternalSkills: INTERNAL_BUNDLED_SKILL_IDS.filter(
2670
- (id) => isAssetSelected(id, selectionCtx)
2671
- )
2672
- };
2659
+ });
2673
2660
  }
2674
2661
  function emptyClaudeBaseline() {
2675
2662
  return {
@@ -3007,8 +2994,9 @@ function renderInstallHeader(log, spec, mode) {
3007
2994
  for (const [cat, ids] of groupAssetsByCategory(finalAssets)) {
3008
2995
  log(` ${c.dim(`\xB7 ${cat}:`)} ${ids.join(", ")}`);
3009
2996
  }
2997
+ const assetSpec = buildManifestSpec(spec);
3010
2998
  const cost = formatResidentCostLine(
3011
- residentCost(buildManifest(spec).filter((e2) => e2.applies(spec))),
2999
+ residentCost(buildManifest(assetSpec).filter((e2) => e2.applies(assetSpec))),
3012
3000
  summarizeContextCost(finalAssets).unmeasuredCount
3013
3001
  );
3014
3002
  if (cost) log(` ${c.dim(`\xB7 ${cost}`)}`);
@@ -6149,10 +6137,11 @@ function formatSummary(spec) {
6149
6137
  for (const [cat, ids] of groupAssetsByCategory(finalAssets)) {
6150
6138
  lines.push(` \xB7 ${cat}: ${ids.join(", ")}`);
6151
6139
  }
6140
+ const assetSpec = buildManifestSpec(spec);
6152
6141
  const cost = formatResidentCostLine(
6153
6142
  residentCost(
6154
- buildManifest(spec).filter(
6155
- (e2) => e2.applies(spec) && !isBaselineExcluded(e2.target, baselineExcluded)
6143
+ buildManifest(assetSpec).filter(
6144
+ (e2) => e2.applies(assetSpec) && !isBaselineExcluded(e2.target, baselineExcluded)
6156
6145
  )
6157
6146
  ),
6158
6147
  summarizeContextCost(finalAssets).unmeasuredCount