@hmharness/agent 0.23.32 → 0.23.33
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/runner.js +6 -1
- package/package.json +40 -40
package/dist/runner.js
CHANGED
|
@@ -491,7 +491,12 @@ export async function runAgentTask(opts) {
|
|
|
491
491
|
},
|
|
492
492
|
}).catch((err) => {
|
|
493
493
|
traj.finish({ success: false, reason: 'error', error: brief(String(err), 200) }, { toolUses: toolsUsed.length });
|
|
494
|
-
|
|
494
|
+
// The rollout EXISTS on disk (session/create + the user event were written
|
|
495
|
+
// before the loop started), but the throw used to hide its id from every
|
|
496
|
+
// caller — the TUI never bound currentSessionId on the error path, so
|
|
497
|
+
// /export said "nothing to export" and the next task silently forked a
|
|
498
|
+
// fresh session. Attach the id; error paths keep the thread bound.
|
|
499
|
+
throw Object.assign(err instanceof Error ? err : new Error(String(err)), { sessionId: session.id });
|
|
495
500
|
});
|
|
496
501
|
// the task ended (or died): late pushes must queue for the NEXT task instead
|
|
497
502
|
// of silently vanishing into a channel nothing drains
|
package/package.json
CHANGED
|
@@ -1,40 +1,40 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@hmharness/agent",
|
|
3
|
-
"version": "0.23.
|
|
4
|
-
"description": "hmharness agent execution layer: base tools, system prompt, sub-agent spawn, and the shared task runner that frontends (cli, web) drive.",
|
|
5
|
-
"type": "module",
|
|
6
|
-
"main": "dist/index.js",
|
|
7
|
-
"types": "dist/index.d.ts",
|
|
8
|
-
"exports": {
|
|
9
|
-
".": {
|
|
10
|
-
"types": "./dist/index.d.ts",
|
|
11
|
-
"default": "./dist/index.js"
|
|
12
|
-
}
|
|
13
|
-
},
|
|
14
|
-
"scripts": {
|
|
15
|
-
"build": "tsc -p tsconfig.build.json"
|
|
16
|
-
},
|
|
17
|
-
"dependencies": {
|
|
18
|
-
"@hmharness/cognitive": "0.23.
|
|
19
|
-
"@hmharness/domain-harmony": "0.23.
|
|
20
|
-
"@hmharness/domain-ops": "0.23.
|
|
21
|
-
"@hmharness/evolution": "0.23.
|
|
22
|
-
"@hmharness/kernel": "0.23.
|
|
23
|
-
"@hmharness/observability": "0.23.
|
|
24
|
-
"@hmharness/sandbox": "0.23.
|
|
25
|
-
"@hmharness/lsp": "0.23.
|
|
26
|
-
"@hmharness/browser": "0.23.
|
|
27
|
-
"@hmharness/extension": "0.23.
|
|
28
|
-
},
|
|
29
|
-
"files": [
|
|
30
|
-
"dist"
|
|
31
|
-
],
|
|
32
|
-
"license": "MIT",
|
|
33
|
-
"repository": {
|
|
34
|
-
"type": "git",
|
|
35
|
-
"url": "git+https://github.com/swsgbl/hmharness.git"
|
|
36
|
-
},
|
|
37
|
-
"engines": {
|
|
38
|
-
"node": ">=22"
|
|
39
|
-
}
|
|
40
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "@hmharness/agent",
|
|
3
|
+
"version": "0.23.33",
|
|
4
|
+
"description": "hmharness agent execution layer: base tools, system prompt, sub-agent spawn, and the shared task runner that frontends (cli, web) drive.",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"main": "dist/index.js",
|
|
7
|
+
"types": "dist/index.d.ts",
|
|
8
|
+
"exports": {
|
|
9
|
+
".": {
|
|
10
|
+
"types": "./dist/index.d.ts",
|
|
11
|
+
"default": "./dist/index.js"
|
|
12
|
+
}
|
|
13
|
+
},
|
|
14
|
+
"scripts": {
|
|
15
|
+
"build": "tsc -p tsconfig.build.json"
|
|
16
|
+
},
|
|
17
|
+
"dependencies": {
|
|
18
|
+
"@hmharness/cognitive": "0.23.33",
|
|
19
|
+
"@hmharness/domain-harmony": "0.23.33",
|
|
20
|
+
"@hmharness/domain-ops": "0.23.33",
|
|
21
|
+
"@hmharness/evolution": "0.23.33",
|
|
22
|
+
"@hmharness/kernel": "0.23.33",
|
|
23
|
+
"@hmharness/observability": "0.23.33",
|
|
24
|
+
"@hmharness/sandbox": "0.23.33",
|
|
25
|
+
"@hmharness/lsp": "0.23.33",
|
|
26
|
+
"@hmharness/browser": "0.23.33",
|
|
27
|
+
"@hmharness/extension": "0.23.33"
|
|
28
|
+
},
|
|
29
|
+
"files": [
|
|
30
|
+
"dist"
|
|
31
|
+
],
|
|
32
|
+
"license": "MIT",
|
|
33
|
+
"repository": {
|
|
34
|
+
"type": "git",
|
|
35
|
+
"url": "git+https://github.com/swsgbl/hmharness.git"
|
|
36
|
+
},
|
|
37
|
+
"engines": {
|
|
38
|
+
"node": ">=22"
|
|
39
|
+
}
|
|
40
|
+
}
|