@hmharness/agent 0.14.10 → 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 +3 -0
- package/dist/i18n.js +8 -2
- package/dist/runner.js +1 -1
- package/package.json +1 -1
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;
|
|
@@ -150,6 +151,8 @@ export interface Strings {
|
|
|
150
151
|
cmdProviders: string;
|
|
151
152
|
cmdOps: string;
|
|
152
153
|
cmdOpsScan: string;
|
|
154
|
+
cmdOpsBrief: string;
|
|
155
|
+
opsNoBrief: string;
|
|
153
156
|
cmdBench: string;
|
|
154
157
|
cmdEvolve: string;
|
|
155
158
|
cmdMcp: string;
|
package/dist/i18n.js
CHANGED
|
@@ -108,7 +108,8 @@ const zh = {
|
|
|
108
108
|
opsRadarLine: (n, time) => `生态雷达:已扫描 ${n} 次,最近一次 ${time}`,
|
|
109
109
|
opsRadarNone: '生态雷达:还没有扫描记录——输入 /ops scan 立即扫描上游',
|
|
110
110
|
opsWatchingLabel: '监控来源:',
|
|
111
|
-
opsHint: '更多操作:/ops scan 立即扫描并生成今日简报 · /ops brief 查看最近简报
|
|
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}`,
|
|
@@ -127,6 +128,8 @@ const zh = {
|
|
|
127
128
|
cmdProviders: '探测本地密钥并自动添加厂商(/providers scan)',
|
|
128
129
|
cmdOps: '运维看板状态',
|
|
129
130
|
cmdOpsScan: '扫描生态雷达并生成简报',
|
|
131
|
+
cmdOpsBrief: '查看最近一次生态简报',
|
|
132
|
+
opsNoBrief: '还没有简报——先运行 /ops scan 生成今日简报',
|
|
130
133
|
cmdBench: '快速基准(非 loop 用例)',
|
|
131
134
|
cmdEvolve: '运行一轮自进化循环',
|
|
132
135
|
cmdMcp: '已配置 MCP 服务器',
|
|
@@ -251,7 +254,8 @@ const en = {
|
|
|
251
254
|
opsRadarLine: (n, time) => `ecosystem radar: ${n} scans, last ${time}`,
|
|
252
255
|
opsRadarNone: 'ecosystem radar: no scans yet - run /ops scan to pull upstream now',
|
|
253
256
|
opsWatchingLabel: 'watching:',
|
|
254
|
-
opsHint: 'more: /ops scan pull upstream + write today brief · /ops brief latest brief
|
|
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`,
|
|
255
259
|
tuiEvolveDone: (p, i, n) => `evolve done: ${p} proposals · ${i} insights · ${n} notes`,
|
|
256
260
|
tuiPassRate: (pct) => `pass rate: ${pct}`,
|
|
257
261
|
tuiStatus: (locale, skills, model) => `${locale} · ${skills} skills · ${model}`,
|
|
@@ -270,6 +274,8 @@ const en = {
|
|
|
270
274
|
cmdProviders: 'detect local keys and add providers (/providers scan)',
|
|
271
275
|
cmdOps: 'ops keeper status',
|
|
272
276
|
cmdOpsScan: 'scan the ecosystem radar and write a brief',
|
|
277
|
+
cmdOpsBrief: 'read the latest ecosystem brief',
|
|
278
|
+
opsNoBrief: 'no brief yet - run /ops scan to write today one first',
|
|
273
279
|
cmdBench: 'quick bench (non-loop cases)',
|
|
274
280
|
cmdEvolve: 'run one self-evolution cycle',
|
|
275
281
|
cmdMcp: 'configured MCP servers',
|
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.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",
|