@hmharness/agent 0.14.11 → 0.14.12

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/i18n.d.ts CHANGED
@@ -130,6 +130,7 @@ export interface Strings {
130
130
  opsRadarNone: string;
131
131
  opsWatchingLabel: string;
132
132
  opsHint: string;
133
+ tuiLongOutputHint: (tool: string, lines: number) => string;
133
134
  tuiEvolveDone: (proposals: number, insights: number, notes: number) => string;
134
135
  tuiPassRate: (pct: string) => string;
135
136
  tuiStatus: (locale: string, skills: number, model: string) => string;
package/dist/i18n.js CHANGED
@@ -109,6 +109,7 @@ const zh = {
109
109
  opsRadarNone: '生态雷达:还没有扫描记录——输入 /ops scan 立即扫描上游',
110
110
  opsWatchingLabel: '监控来源:',
111
111
  opsHint: '更多操作:/ops scan 立即扫描并生成今日简报 · /ops brief 查看最近简报',
112
+ tuiLongOutputHint: (tool, lines) => `⎿ ${tool} 输出 ${lines} 行(已折叠) · 按 z 展开最后一条 · Ctrl+T 看全文`,
112
113
  tuiEvolveDone: (p, i, n) => `evolve 完成: ${p} 提案 · 洞察 ${i} · 记忆 ${n}`,
113
114
  tuiPassRate: (pct) => `pass rate: ${pct}`,
114
115
  tuiStatus: (locale, skills, model) => `${locale} · ${skills} 技能 · ${model}`,
@@ -254,6 +255,7 @@ const en = {
254
255
  opsRadarNone: 'ecosystem radar: no scans yet - run /ops scan to pull upstream now',
255
256
  opsWatchingLabel: 'watching:',
256
257
  opsHint: 'more: /ops scan pull upstream + write today brief · /ops brief latest brief',
258
+ tuiLongOutputHint: (tool, lines) => `⎿ ${tool} produced ${lines} lines (folded) · z expands the last cell · Ctrl+T full transcript`,
257
259
  tuiEvolveDone: (p, i, n) => `evolve done: ${p} proposals · ${i} insights · ${n} notes`,
258
260
  tuiPassRate: (pct) => `pass rate: ${pct}`,
259
261
  tuiStatus: (locale, skills, model) => `${locale} · ${skills} skills · ${model}`,
package/dist/runner.js CHANGED
@@ -199,7 +199,7 @@ export function makeApproval(cfg, yes, sharedRl) {
199
199
  return true;
200
200
  const brief = JSON.stringify(args).slice(0, 120);
201
201
  if (!stdin.isTTY) {
202
- process.stdout.write(`\x1b[33m${t.approvalDeniedNoTty(toolName, brief)}\x1b[0m\n`);
202
+ console.error(t.approvalDeniedNoTty(toolName, brief));
203
203
  return false;
204
204
  }
205
205
  const rl = sharedRl ?? readline.createInterface({ input: stdin, output: process.stdout });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hmharness/agent",
3
- "version": "0.14.11",
3
+ "version": "0.14.12",
4
4
  "description": "hmharness agent execution layer: base tools, system prompt, sub-agent spawn, and the shared task runner that frontends (cli, web) drive.",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",