@hmharness/cli 0.14.14 → 0.14.16

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/main.js CHANGED
@@ -307,7 +307,7 @@ async function repl(yes, initialHistory, initialSessionId) {
307
307
  stdout.write(DIM(t.tuiWebHint + '\n'));
308
308
  continue;
309
309
  }
310
- if (line === '/ops' || line === '/ops scan') {
310
+ if (line === '/ops' || line === '/ops scan' || line === '/ops brief') {
311
311
  const { harmonyOpsRadarScan, opsStatus, describeSources } = await import('@hmharness/domain-ops');
312
312
  if (line === '/ops') {
313
313
  const s = await opsStatus(home);
@@ -317,10 +317,15 @@ async function repl(yes, initialHistory, initialSessionId) {
317
317
  stdout.write(t.opsWatchingLabel + ' ' + describeSources(s.sources) + '\n');
318
318
  stdout.write(DIM(t.opsHint) + '\n');
319
319
  }
320
- else {
320
+ else if (line === '/ops scan') {
321
321
  const r = await harmonyOpsRadarScan.execute({}, { cwd: process.cwd(), home });
322
322
  stdout.write(r.output + '\n');
323
323
  }
324
+ else if (line === '/ops brief') {
325
+ const { latestBrief } = await import('@hmharness/domain-ops');
326
+ const b = await latestBrief(home);
327
+ stdout.write(b ? `(${b.date})\n${b.text}\n` : t.opsNoBrief + '\n');
328
+ }
324
329
  continue;
325
330
  }
326
331
  if (line === '/bench') {
package/dist/tui.js CHANGED
@@ -100,6 +100,7 @@ export const COMMANDS = [
100
100
  { name: '/providers', key: 'cmdProviders' },
101
101
  { name: '/ops', key: 'cmdOps' },
102
102
  { name: '/ops scan', key: 'cmdOpsScan' },
103
+ { name: '/ops brief', key: 'cmdOpsBrief' },
103
104
  { name: '/bench', key: 'cmdBench' },
104
105
  { name: '/evolve', key: 'cmdEvolve' },
105
106
  { name: '/mcp', key: 'cmdMcp' },
@@ -2498,6 +2499,24 @@ export async function tui(yes, noWeb = false, opts = {}) {
2498
2499
  }
2499
2500
  return;
2500
2501
  }
2502
+ if (line === '/ops brief') {
2503
+ rt.setBusy(true, '/ops brief');
2504
+ try {
2505
+ const { latestBrief } = await import('@hmharness/domain-ops');
2506
+ const b = await latestBrief(home);
2507
+ if (b)
2508
+ rt.addText(`(${b.date})\n${b.text}`.slice(0, 20_000));
2509
+ else
2510
+ rt.addText(t.opsNoBrief, 'dim');
2511
+ }
2512
+ catch (err) {
2513
+ rt.addText(String(err), 'err');
2514
+ }
2515
+ finally {
2516
+ rt.setBusy(false);
2517
+ }
2518
+ return;
2519
+ }
2501
2520
  if (line === '/bench') {
2502
2521
  rt.setBusy(true, '/bench');
2503
2522
  try {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hmharness/cli",
3
- "version": "0.14.14",
3
+ "version": "0.14.16",
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,10 +45,10 @@
45
45
  "dependencies": {
46
46
  "@hmharness/kernel": "0.9.1",
47
47
  "@hmharness/observability": "0.7.0",
48
- "@hmharness/evolution": "0.14.9",
48
+ "@hmharness/evolution": "0.14.10",
49
49
  "@hmharness/domain-harmony": "0.13.5",
50
50
  "@hmharness/domain-ops": "0.8.1",
51
- "@hmharness/agent": "0.14.10",
51
+ "@hmharness/agent": "0.14.11",
52
52
  "@hmharness/evaluation": "0.8.0",
53
53
  "@hmharness/web": "0.9.1"
54
54
  }