@hmharness/agent 0.14.11 → 0.14.13
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 +2 -0
- package/dist/i18n.js +4 -0
- package/dist/runner.js +1 -1
- package/package.json +1 -1
package/dist/i18n.d.ts
CHANGED
|
@@ -130,6 +130,8 @@ export interface Strings {
|
|
|
130
130
|
opsRadarNone: string;
|
|
131
131
|
opsWatchingLabel: string;
|
|
132
132
|
opsHint: string;
|
|
133
|
+
tuiLongOutputHint: (tool: string, lines: number) => string;
|
|
134
|
+
tuiUserFolded: (hidden: number) => string;
|
|
133
135
|
tuiEvolveDone: (proposals: number, insights: number, notes: number) => string;
|
|
134
136
|
tuiPassRate: (pct: string) => string;
|
|
135
137
|
tuiStatus: (locale: string, skills: number, model: string) => string;
|
package/dist/i18n.js
CHANGED
|
@@ -109,6 +109,8 @@ 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 看全文`,
|
|
113
|
+
tuiUserFolded: (hidden) => `(…还有 ${hidden} 行已折叠 · Ctrl+T 看全文)`,
|
|
112
114
|
tuiEvolveDone: (p, i, n) => `evolve 完成: ${p} 提案 · 洞察 ${i} · 记忆 ${n}`,
|
|
113
115
|
tuiPassRate: (pct) => `pass rate: ${pct}`,
|
|
114
116
|
tuiStatus: (locale, skills, model) => `${locale} · ${skills} 技能 · ${model}`,
|
|
@@ -254,6 +256,8 @@ const en = {
|
|
|
254
256
|
opsRadarNone: 'ecosystem radar: no scans yet - run /ops scan to pull upstream now',
|
|
255
257
|
opsWatchingLabel: 'watching:',
|
|
256
258
|
opsHint: 'more: /ops scan pull upstream + write today brief · /ops brief latest brief',
|
|
259
|
+
tuiLongOutputHint: (tool, lines) => `⎿ ${tool} produced ${lines} lines (folded) · z expands the last cell · Ctrl+T full transcript`,
|
|
260
|
+
tuiUserFolded: (hidden) => `(…${hidden} more lines folded · Ctrl+T full transcript)`,
|
|
257
261
|
tuiEvolveDone: (p, i, n) => `evolve done: ${p} proposals · ${i} insights · ${n} notes`,
|
|
258
262
|
tuiPassRate: (pct) => `pass rate: ${pct}`,
|
|
259
263
|
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
|
-
|
|
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.
|
|
3
|
+
"version": "0.14.13",
|
|
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",
|