stable-harness 0.0.122 → 0.0.123

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.
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stable-harness/adapter-deepagents",
3
- "version": "0.0.122",
3
+ "version": "0.0.123",
4
4
  "license": "Apache-2.0",
5
5
  "type": "module",
6
6
  "files": [
@@ -16,7 +16,7 @@
16
16
  "@langchain/node-vfs": "^0.1.4",
17
17
  "@langchain/ollama": "^1.2.7",
18
18
  "@langchain/openai": "^1.4.5",
19
- "@stable-harness/core": "0.0.122",
19
+ "@stable-harness/core": "0.0.123",
20
20
  "deepagents": "^1.10.1",
21
21
  "langchain": "^1.4.0"
22
22
  },
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stable-harness/adapter-langgraph",
3
- "version": "0.0.122",
3
+ "version": "0.0.123",
4
4
  "license": "Apache-2.0",
5
5
  "type": "module",
6
6
  "files": [
@@ -12,6 +12,6 @@
12
12
  "types": "dist/src/index.d.ts",
13
13
  "peerDependencies": {
14
14
  "@langchain/langgraph": "^1.3.0",
15
- "@stable-harness/core": "0.0.122"
15
+ "@stable-harness/core": "0.0.123"
16
16
  }
17
17
  }
@@ -1 +1 @@
1
- export function containsStructurallyIncompleteFinalOutput(e){const t=e.trim();return!!t&&(function hasUnclosedFence(e){return(e.match(/^\s*(?:```|~~~)/gmu)??[]).length%2==1}(t)||function hasUnclosedInlineCode(e){let t=0;for(const n of e.matchAll(/(^|[^`])(`{1,2})(?!`)/gu))isEscaped(e,n.index+n[1].length)||(t+=1);return t%2==1}(t)||function hasUnclosedStrongEmphasis(e){let t=0;for(const n of e.matchAll(/(^|[^\\*])\*\*(?!\*)/gu))isEscaped(e,n.index+n[1].length)||(t+=1);return t%2==1}(t))}export function structurallyIncompleteFinalMessage(e){return`Adapter returned a structurally incomplete final answer after recovery. The backend must retry synthesis or fail closed. Output preview: ${function preview(e){const t=e.replace(/\s+/gu," ").trim();return t.length>300?`${t.slice(0,297)}...`:t}(e)}`}function isEscaped(e,t){let n=0;for(let r=t-1;r>=0&&"\\"===e[r];r-=1)n+=1;return n%2==1}
1
+ export function containsStructurallyIncompleteFinalOutput(t){const e=t.trim();return!!e&&(function hasUnclosedFence(t){return(t.match(/^\s*(?:```|~~~)/gmu)??[]).length%2==1}(e)||function hasUnclosedInlineCode(t){let e=0;for(const n of t.matchAll(/(^|[^`])(`{1,2})(?!`)/gu))isEscaped(t,n.index+n[1].length)||(e+=1);return e%2==1}(e)||function hasUnclosedStrongEmphasis(t){let e=0;for(const n of t.matchAll(/(^|[^\\*])\*\*(?!\*)/gu))isEscaped(t,n.index+n[1].length)||(e+=1);return e%2==1}(e)||function hasUnfinishedColonTail(t){const e=t.split(/\r?\n/u).map(t=>t.trimEnd()).filter(t=>t.trim().length>0),n=e.at(-1)?.trim();if(!n||n.length>240||/^```|^~~~/u.test(n))return!1;const r=n.replace(/\*\*$/u,"").trim();return/:\s*$/u.test(r)}(e))}export function structurallyIncompleteFinalMessage(t){return`Adapter returned a structurally incomplete final answer after recovery. The backend must retry synthesis or fail closed. Output preview: ${function preview(t){const e=t.replace(/\s+/gu," ").trim();return e.length>300?`${e.slice(0,297)}...`:e}(t)}`}function isEscaped(t,e){let n=0;for(let r=e-1;r>=0&&"\\"===t[r];r-=1)n+=1;return n%2==1}
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stable-harness/core",
3
- "version": "0.0.122",
3
+ "version": "0.0.123",
4
4
  "license": "Apache-2.0",
5
5
  "type": "module",
6
6
  "files": [
@@ -12,7 +12,7 @@
12
12
  ".": "./dist/index.js"
13
13
  },
14
14
  "peerDependencies": {
15
- "@stable-harness/governance": "0.0.122",
16
- "@stable-harness/memory": "0.0.122"
15
+ "@stable-harness/governance": "0.0.123",
16
+ "@stable-harness/memory": "0.0.123"
17
17
  }
18
18
  }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stable-harness/governance",
3
- "version": "0.0.122",
3
+ "version": "0.0.123",
4
4
  "license": "Apache-2.0",
5
5
  "type": "module",
6
6
  "files": [
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stable-harness/memory",
3
- "version": "0.0.122",
3
+ "version": "0.0.123",
4
4
  "license": "Apache-2.0",
5
5
  "type": "module",
6
6
  "files": [
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stable-harness/protocols",
3
- "version": "0.0.122",
3
+ "version": "0.0.123",
4
4
  "license": "Apache-2.0",
5
5
  "type": "module",
6
6
  "files": [
@@ -11,6 +11,6 @@
11
11
  "main": "dist/src/index.js",
12
12
  "types": "dist/src/index.d.ts",
13
13
  "peerDependencies": {
14
- "@stable-harness/core": "0.0.122"
14
+ "@stable-harness/core": "0.0.123"
15
15
  }
16
16
  }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stable-harness/tool-gateway",
3
- "version": "0.0.122",
3
+ "version": "0.0.123",
4
4
  "license": "Apache-2.0",
5
5
  "type": "module",
6
6
  "files": [
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stable-harness/workspace-yaml",
3
- "version": "0.0.122",
3
+ "version": "0.0.123",
4
4
  "license": "Apache-2.0",
5
5
  "type": "module",
6
6
  "files": [
@@ -12,6 +12,6 @@
12
12
  ".": "./dist/index.js"
13
13
  },
14
14
  "peerDependencies": {
15
- "@stable-harness/core": "0.0.122"
15
+ "@stable-harness/core": "0.0.123"
16
16
  }
17
17
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "stable-harness",
3
- "version": "0.0.122",
3
+ "version": "0.0.123",
4
4
  "type": "module",
5
5
  "description": "Stable application runtime and operator control plane for agent workspaces.",
6
6
  "license": "Apache-2.0",
@@ -82,14 +82,14 @@
82
82
  "@langchain/node-vfs": "^0.1.4",
83
83
  "@langchain/ollama": "^1.2.7",
84
84
  "@langchain/openai": "^1.4.5",
85
- "@stable-harness/adapter-deepagents": "0.0.122",
86
- "@stable-harness/adapter-langgraph": "0.0.122",
87
- "@stable-harness/core": "0.0.122",
88
- "@stable-harness/governance": "0.0.122",
89
- "@stable-harness/memory": "0.0.122",
90
- "@stable-harness/protocols": "0.0.122",
91
- "@stable-harness/tool-gateway": "0.0.122",
92
- "@stable-harness/workspace-yaml": "0.0.122",
85
+ "@stable-harness/adapter-deepagents": "0.0.123",
86
+ "@stable-harness/adapter-langgraph": "0.0.123",
87
+ "@stable-harness/core": "0.0.123",
88
+ "@stable-harness/governance": "0.0.123",
89
+ "@stable-harness/memory": "0.0.123",
90
+ "@stable-harness/protocols": "0.0.123",
91
+ "@stable-harness/tool-gateway": "0.0.123",
92
+ "@stable-harness/workspace-yaml": "0.0.123",
93
93
  "deepagents": "^1.10.1",
94
94
  "langchain": "^1.4.0",
95
95
  "yaml": "^2.8.2",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stable-harness/adapter-deepagents",
3
- "version": "0.0.122",
3
+ "version": "0.0.123",
4
4
  "license": "Apache-2.0",
5
5
  "type": "module",
6
6
  "files": [
@@ -16,7 +16,7 @@
16
16
  "@langchain/node-vfs": "^0.1.4",
17
17
  "@langchain/ollama": "^1.2.7",
18
18
  "@langchain/openai": "^1.4.5",
19
- "@stable-harness/core": "0.0.122",
19
+ "@stable-harness/core": "0.0.123",
20
20
  "deepagents": "^1.10.1",
21
21
  "langchain": "^1.4.0"
22
22
  },
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stable-harness/adapter-langgraph",
3
- "version": "0.0.122",
3
+ "version": "0.0.123",
4
4
  "license": "Apache-2.0",
5
5
  "type": "module",
6
6
  "files": [
@@ -12,6 +12,6 @@
12
12
  "types": "dist/src/index.d.ts",
13
13
  "peerDependencies": {
14
14
  "@langchain/langgraph": "^1.3.0",
15
- "@stable-harness/core": "0.0.122"
15
+ "@stable-harness/core": "0.0.123"
16
16
  }
17
17
  }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stable-harness/cli",
3
- "version": "0.0.122",
3
+ "version": "0.0.123",
4
4
  "license": "Apache-2.0",
5
5
  "type": "module",
6
6
  "files": [
@@ -15,12 +15,12 @@
15
15
  "types": "dist/src/index.d.ts",
16
16
  "peerDependencies": {
17
17
  "@langchain/langgraph-api": "^1.2.1",
18
- "@stable-harness/adapter-deepagents": "0.0.122",
19
- "@stable-harness/adapter-langgraph": "0.0.122",
20
- "@stable-harness/core": "0.0.122",
21
- "@stable-harness/memory": "0.0.122",
22
- "@stable-harness/protocols": "0.0.122",
23
- "@stable-harness/tool-gateway": "0.0.122",
24
- "@stable-harness/workspace-yaml": "0.0.122"
18
+ "@stable-harness/adapter-deepagents": "0.0.123",
19
+ "@stable-harness/adapter-langgraph": "0.0.123",
20
+ "@stable-harness/core": "0.0.123",
21
+ "@stable-harness/memory": "0.0.123",
22
+ "@stable-harness/protocols": "0.0.123",
23
+ "@stable-harness/tool-gateway": "0.0.123",
24
+ "@stable-harness/workspace-yaml": "0.0.123"
25
25
  }
26
26
  }
@@ -1 +1 @@
1
- export function containsStructurallyIncompleteFinalOutput(e){const t=e.trim();return!!t&&(function hasUnclosedFence(e){return(e.match(/^\s*(?:```|~~~)/gmu)??[]).length%2==1}(t)||function hasUnclosedInlineCode(e){let t=0;for(const n of e.matchAll(/(^|[^`])(`{1,2})(?!`)/gu))isEscaped(e,n.index+n[1].length)||(t+=1);return t%2==1}(t)||function hasUnclosedStrongEmphasis(e){let t=0;for(const n of e.matchAll(/(^|[^\\*])\*\*(?!\*)/gu))isEscaped(e,n.index+n[1].length)||(t+=1);return t%2==1}(t))}export function structurallyIncompleteFinalMessage(e){return`Adapter returned a structurally incomplete final answer after recovery. The backend must retry synthesis or fail closed. Output preview: ${function preview(e){const t=e.replace(/\s+/gu," ").trim();return t.length>300?`${t.slice(0,297)}...`:t}(e)}`}function isEscaped(e,t){let n=0;for(let r=t-1;r>=0&&"\\"===e[r];r-=1)n+=1;return n%2==1}
1
+ export function containsStructurallyIncompleteFinalOutput(t){const e=t.trim();return!!e&&(function hasUnclosedFence(t){return(t.match(/^\s*(?:```|~~~)/gmu)??[]).length%2==1}(e)||function hasUnclosedInlineCode(t){let e=0;for(const n of t.matchAll(/(^|[^`])(`{1,2})(?!`)/gu))isEscaped(t,n.index+n[1].length)||(e+=1);return e%2==1}(e)||function hasUnclosedStrongEmphasis(t){let e=0;for(const n of t.matchAll(/(^|[^\\*])\*\*(?!\*)/gu))isEscaped(t,n.index+n[1].length)||(e+=1);return e%2==1}(e)||function hasUnfinishedColonTail(t){const e=t.split(/\r?\n/u).map(t=>t.trimEnd()).filter(t=>t.trim().length>0),n=e.at(-1)?.trim();if(!n||n.length>240||/^```|^~~~/u.test(n))return!1;const r=n.replace(/\*\*$/u,"").trim();return/:\s*$/u.test(r)}(e))}export function structurallyIncompleteFinalMessage(t){return`Adapter returned a structurally incomplete final answer after recovery. The backend must retry synthesis or fail closed. Output preview: ${function preview(t){const e=t.replace(/\s+/gu," ").trim();return e.length>300?`${e.slice(0,297)}...`:e}(t)}`}function isEscaped(t,e){let n=0;for(let r=e-1;r>=0&&"\\"===t[r];r-=1)n+=1;return n%2==1}
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stable-harness/core",
3
- "version": "0.0.122",
3
+ "version": "0.0.123",
4
4
  "license": "Apache-2.0",
5
5
  "type": "module",
6
6
  "files": [
@@ -12,7 +12,7 @@
12
12
  ".": "./dist/index.js"
13
13
  },
14
14
  "peerDependencies": {
15
- "@stable-harness/governance": "0.0.122",
16
- "@stable-harness/memory": "0.0.122"
15
+ "@stable-harness/governance": "0.0.123",
16
+ "@stable-harness/memory": "0.0.123"
17
17
  }
18
18
  }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stable-harness/evaluation",
3
- "version": "0.0.122",
3
+ "version": "0.0.123",
4
4
  "license": "Apache-2.0",
5
5
  "type": "module",
6
6
  "files": [
@@ -11,6 +11,6 @@
11
11
  "main": "dist/src/index.js",
12
12
  "types": "dist/src/index.d.ts",
13
13
  "peerDependencies": {
14
- "@stable-harness/core": "0.0.122"
14
+ "@stable-harness/core": "0.0.123"
15
15
  }
16
16
  }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stable-harness/governance",
3
- "version": "0.0.122",
3
+ "version": "0.0.123",
4
4
  "license": "Apache-2.0",
5
5
  "type": "module",
6
6
  "files": [
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stable-harness/memory",
3
- "version": "0.0.122",
3
+ "version": "0.0.123",
4
4
  "license": "Apache-2.0",
5
5
  "type": "module",
6
6
  "files": [
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stable-harness/protocols",
3
- "version": "0.0.122",
3
+ "version": "0.0.123",
4
4
  "license": "Apache-2.0",
5
5
  "type": "module",
6
6
  "files": [
@@ -11,6 +11,6 @@
11
11
  "main": "dist/src/index.js",
12
12
  "types": "dist/src/index.d.ts",
13
13
  "peerDependencies": {
14
- "@stable-harness/core": "0.0.122"
14
+ "@stable-harness/core": "0.0.123"
15
15
  }
16
16
  }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stable-harness/tool-gateway",
3
- "version": "0.0.122",
3
+ "version": "0.0.123",
4
4
  "license": "Apache-2.0",
5
5
  "type": "module",
6
6
  "files": [
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stable-harness/workspace-yaml",
3
- "version": "0.0.122",
3
+ "version": "0.0.123",
4
4
  "license": "Apache-2.0",
5
5
  "type": "module",
6
6
  "files": [
@@ -12,6 +12,6 @@
12
12
  ".": "./dist/index.js"
13
13
  },
14
14
  "peerDependencies": {
15
- "@stable-harness/core": "0.0.122"
15
+ "@stable-harness/core": "0.0.123"
16
16
  }
17
17
  }