@hmharness/cli 0.23.50 → 0.23.52

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.
@@ -78,11 +78,11 @@ let PACKAGES = ['cli', 'web', 'agent', 'kernel', 'sandbox', 'evolution',
78
78
  // the offline path tried <name>-undefined.tgz → 404 → INSTALL FAILED (directly
79
79
  // contradicting the promise above; evidence: cli 0.23.42 declares 14 deps).
80
80
  const FALLBACK_PINS = {
81
- cli: '0.23.50', web: '0.23.50', agent: '0.23.50', kernel: '0.23.50',
82
- sandbox: '0.23.50', evolution: '0.23.50', 'domain-ops': '0.23.50',
83
- evaluation: '0.23.50', observability: '0.23.50', 'domain-harmony': '0.23.50',
84
- cognitive: '0.23.50', environments: '0.23.50', lsp: '0.23.50',
85
- browser: '0.23.50', extension: '0.23.50',
81
+ cli: '0.23.52', web: '0.23.52', agent: '0.23.52', kernel: '0.23.52',
82
+ sandbox: '0.23.52', evolution: '0.23.52', 'domain-ops': '0.23.52',
83
+ evaluation: '0.23.52', observability: '0.23.52', 'domain-harmony': '0.23.52',
84
+ cognitive: '0.23.52', environments: '0.23.52', lsp: '0.23.52',
85
+ browser: '0.23.52', extension: '0.23.52',
86
86
  };
87
87
 
88
88
  // ---------- helpers ---------------------------------------------------------
package/dist/tui.js CHANGED
@@ -3102,16 +3102,15 @@ export async function tui(yes, noWeb = false, opts = {}) {
3102
3102
  if (line === '/evolve') {
3103
3103
  rt.setBusy(true, '/evolve');
3104
3104
  try {
3105
+ const { buildCaseRunner } = await import('@hmharness/evolution');
3105
3106
  const { chat } = await import('@hmharness/kernel');
3107
+ // 2026-11-25 root cause #2: the old runner here dropped the skills
3108
+ // prompt, so /evolve measured A against A. Shared case-runner now.
3109
+ const runCase = buildCaseRunner({ chat: (msgs) => chat(resolveProvider(cfg, 'evolve'), msgs) });
3106
3110
  const report = await runEvolution({
3107
3111
  home,
3108
3112
  provider: resolveProvider(cfg, 'evolve'),
3109
- runCase: async (c) => {
3110
- if (c.tools)
3111
- return t.cmdEvolveHint;
3112
- const r = await chat(resolveProvider(cfg, 'evolve'), [{ role: 'user', content: c.prompt }]);
3113
- return r.message.content ?? '';
3114
- },
3113
+ runCase: async (c, skillsPrompt) => (c.tools ? t.cmdEvolveHint : runCase(c, skillsPrompt ?? '')),
3115
3114
  log: (l) => rt.addText(l, 'dim'),
3116
3115
  });
3117
3116
  rt.addText(t.tuiEvolveDone(report.proposals.length, report.insightCount, report.noteCount));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hmharness/cli",
3
- "version": "0.23.50",
3
+ "version": "0.23.52",
4
4
  "description": "hmharness command line: one-shot tasks, an interactive REPL, a fullscreen TUI, the web frontend, and direct tool invocation.",
5
5
  "type": "module",
6
6
  "main": "dist/main.js",
@@ -45,20 +45,20 @@
45
45
  "build": "tsc -p tsconfig.build.json"
46
46
  },
47
47
  "dependencies": {
48
- "@hmharness/agent": "0.23.50",
49
- "@hmharness/browser": "0.23.50",
50
- "@hmharness/cognitive": "0.23.50",
51
- "@hmharness/domain-harmony": "0.23.50",
52
- "@hmharness/domain-ops": "0.23.50",
53
- "@hmharness/environments": "0.23.50",
54
- "@hmharness/evaluation": "0.23.50",
55
- "@hmharness/evolution": "0.23.50",
56
- "@hmharness/extension": "0.23.50",
57
- "@hmharness/kernel": "0.23.50",
58
- "@hmharness/observability": "0.23.50",
59
- "@hmharness/sandbox": "0.23.50",
60
- "@hmharness/web": "0.23.50",
48
+ "@hmharness/agent": "0.23.52",
49
+ "@hmharness/browser": "0.23.52",
50
+ "@hmharness/cognitive": "0.23.52",
51
+ "@hmharness/domain-harmony": "0.23.52",
52
+ "@hmharness/domain-ops": "0.23.52",
53
+ "@hmharness/environments": "0.23.52",
54
+ "@hmharness/evaluation": "0.23.52",
55
+ "@hmharness/evolution": "0.23.52",
56
+ "@hmharness/extension": "0.23.52",
57
+ "@hmharness/kernel": "0.23.52",
58
+ "@hmharness/observability": "0.23.52",
59
+ "@hmharness/sandbox": "0.23.52",
60
+ "@hmharness/web": "0.23.52",
61
61
  "qrcode": "^1.5.4",
62
- "@hmharness/lsp": "0.23.50"
62
+ "@hmharness/lsp": "0.23.52"
63
63
  }
64
64
  }
@@ -1,5 +1,15 @@
1
1
  {
2
2
  "notes": [
3
+ {
4
+ "v": "0.23.52",
5
+ "date": "2026-11-25",
6
+ "note": "技能正文可达性:技能清单加目录标记+路径图例,描述提取耐受 CRLF(此前注入技能的会话只有 1.9% 读到过技能正文);1090 测试"
7
+ },
8
+ {
9
+ "v": "0.23.51",
10
+ "date": "2026-11-25",
11
+ "note": "自进化门控三缺陷根修(正则定界符 / runCase 丢 skillsPrompt / outcome 误记 ok)+内核去重环过期缓存根修(97.4% 的命中过期 → 只缓存只读工具且世界未变);1083 测试"
12
+ },
3
13
  {
4
14
  "v": "0.23.50",
5
15
  "date": "2026-11-01",