@hmharness/agent 0.23.39 → 0.23.40

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.
Files changed (2) hide show
  1. package/dist/runner.js +1 -1
  2. package/package.json +1 -1
package/dist/runner.js CHANGED
@@ -435,7 +435,7 @@ export async function runAgentTask(opts) {
435
435
  const r = await chatFn(chatProvider, [
436
436
  { role: 'system', content: 'You compress evicted agent transcript content into a dense factual digest. Keep: what was done, key results, paths, versions, decisions, errors and their fixes. Drop: raw listings, repetition, fluff. Max 120 words. Plain text bullets, no preamble.' },
437
437
  { role: 'user', content: (input.previousDigest ? `PREVIOUS DIGEST (merge, keep still-relevant facts):\n${input.previousDigest}\n\n` : '') + `NEWLY EVICTED CONTENT:\n${input.evicted.join('\n---\n').slice(0, 24_000)}` },
438
- ]);
438
+ ], undefined, { signal: opts.signal });
439
439
  return r.message.content ?? '';
440
440
  };
441
441
  // v0.24 P2A research: opt-in conditioned action gate (config gate.enabled,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hmharness/agent",
3
- "version": "0.23.39",
3
+ "version": "0.23.40",
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",