stable-harness 0.0.127 → 0.0.128

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 (25) hide show
  1. package/node_modules/@stable-harness/adapter-deepagents/dist/src/internal/raw-tool-call-parser.js +1 -1
  2. package/node_modules/@stable-harness/adapter-deepagents/package.json +2 -2
  3. package/node_modules/@stable-harness/adapter-langgraph/package.json +2 -2
  4. package/node_modules/@stable-harness/core/package.json +3 -3
  5. package/node_modules/@stable-harness/governance/package.json +1 -1
  6. package/node_modules/@stable-harness/memory/dist/src/provider.d.ts +1 -0
  7. package/node_modules/@stable-harness/memory/dist/src/provider.js +1 -1
  8. package/node_modules/@stable-harness/memory/package.json +1 -1
  9. package/node_modules/@stable-harness/protocols/package.json +2 -2
  10. package/node_modules/@stable-harness/tool-gateway/package.json +1 -1
  11. package/node_modules/@stable-harness/workspace-yaml/package.json +2 -2
  12. package/package.json +9 -9
  13. package/packages/adapter-deepagents/dist/src/internal/raw-tool-call-parser.js +1 -1
  14. package/packages/adapter-deepagents/package.json +2 -2
  15. package/packages/adapter-langgraph/package.json +2 -2
  16. package/packages/cli/package.json +8 -8
  17. package/packages/core/package.json +3 -3
  18. package/packages/evaluation/package.json +2 -2
  19. package/packages/governance/package.json +1 -1
  20. package/packages/memory/dist/src/provider.d.ts +1 -0
  21. package/packages/memory/dist/src/provider.js +1 -1
  22. package/packages/memory/package.json +1 -1
  23. package/packages/protocols/package.json +2 -2
  24. package/packages/tool-gateway/package.json +1 -1
  25. package/packages/workspace-yaml/package.json +2 -2
@@ -1 +1 @@
1
- import{AIMessage as t}from"@langchain/core/messages";import{parseToolIntent as e,repairCallSelection as o}from"@easynet/better-call";const n=new Set(["edit_file","glob","ls","read_file"]);export function createRawToolCallParserMiddleware(e){return{name:"StableHarnessRawToolCallParser",async wrapModelCall(o,n){const s=await n(o);if(!function rawToolCallParsingEnabled(t){const e=isRecord(t.workspace.runtime.recovery)?t.workspace.runtime.recovery:{};return!0===(isRecord(e.toolCall)?e.toolCall:{}).enabled}(e))return s;const r=await async function parseRawToolCallResponse(e,o){if(0===o.length||!function isModelResponse(t){return isRecord(t)}(e)||function hasToolCalls(t){return Array.isArray(t.tool_calls)&&t.tool_calls.length>0}(e))return;const n=function readContentText(t){return"string"==typeof t?t.trim()?t:void 0:Array.isArray(t)&&t.map(t=>isRecord(t)&&"string"==typeof t.text?t.text:"").join("\n").trim()||void 0}(e.content);if(!n)return;const s=await async function readRawToolCalls(t,e){const o=[],n=new Set,s=new Set(e.map(t=>t.id));for(const r of function rawToolIntentCandidates(t,e){const o=[t.trim()];for(const e of t.matchAll(/```[a-zA-Z0-9_-]*\s*\n([\s\S]*?)\n```/gu))o.push(e[1].trim());for(const n of t.split(/\r?\n/u)){const t=n.trim();e.has(t)&&o.push(t)}for(const e of t.matchAll(/<\s*(?:tool_call|tool_code)\b[^>]*>(?:[\s\S]*?<\s*\/\s*(?:tool_call|tool_code)\s*>)?/giu))o.push(e[0]);for(const e of t.matchAll(/<\s*call_tool\b[^>]*>[\s\S]*?<\s*\/\s*call_tool\s*>/giu)){o.push(e[0]);const t=parseCallToolTags(e[0]);t&&o.push(t)}for(const n of e){const e=new RegExp(`(?:^|[\\s<])${escapeRegexp(n)}\\s*\\([^)]*\\)\\s*>?`,"giu");for(const n of t.matchAll(e))o.push(n[0].trim())}return o.push(...function parseJsonObjects(t){const e=[];let o=t.indexOf("{");for(;o>=0;){const n=readBalancedJsonObject(t,o);if(n){try{const t=JSON.parse(n);isRecord(t)&&e.push(t)}catch{}o=t.indexOf("{",o+n.length)}else o=t.indexOf("{",o+1)}return e}(t)),o}(t,s)){const t=await parseCandidate(r,e);if(!t||!s.has(t.tool))continue;const a=normalizeToolArgs(t.args),i=`${t.tool}:${JSON.stringify(a)}`;n.has(i)||(n.add(i),o.push({id:`stable-harness-${t.tool}-${Date.now().toString(36)}`,name:t.tool,args:a}))}return o}(n,o);return 0!==s.length?new t({content:"",id:"string"==typeof e.id?e.id:void 0,name:"string"==typeof e.name?e.name:void 0,additional_kwargs:isRecord(e.additional_kwargs)?e.additional_kwargs:{},response_metadata:isRecord(e.response_metadata)?e.response_metadata:{},tool_calls:s.map(t=>({id:t.id,name:t.name,args:t.args,type:"tool_call"}))}):void 0}(s,function visibleToolCandidates(t,e){return(e.tools??[]).flatMap(readToolName).map(e=>{const o=t.workspace.tools.get(e),n=t.toolGateway?.get(e);return{id:e,description:o?.description??n?.description,schema:o?.schema??n?.schema}})}(e,o));return r??s}}}async function parseCandidate(t,s){const r=new Set(s.map(t=>t.id));if("string"==typeof t){const e=function parseExecuteToolWrapper(t,e){const o=t.trim().match(/^<?\s*execute\s*\(([\s\S]*)\)\s*>?$/iu);if(!o)return;const n=function parseFunctionKwargs(t){const e={};for(const o of function splitTopLevelCommas(t){const e=[];let o,n=0,s=0,r=!1;for(let a=0;a<t.length;a+=1){const i=t[a];o?(r="\\"===i&&!r,i!==o||r||(o=void 0),"\\"!==i&&(r=!1)):'"'!==i&&"'"!==i?("("!==i&&"["!==i&&"{"!==i||(s+=1),")"!==i&&"]"!==i&&"}"!==i||(s-=1),","===i&&0===s&&(e.push(t.slice(n,a).trim()),n=a+1)):o=i}const a=t.slice(n).trim();return a&&e.push(a),e}(t)){const t=o.indexOf("=");if(t<=0)continue;const n=o.slice(0,t).trim();/^[a-zA-Z_][a-zA-Z0-9_]*$/u.test(n)&&(e[n]=parseFunctionValue(o.slice(t+1).trim()))}return e}(o[1]??""),s=n.tool??n.tool_name??n.name;if("string"!=typeof s||!e.has(s))return;const r={...n};return delete r.tool,delete r.tool_name,delete r.name,isRecord(r.args)&&1===Object.keys(r).length?{tool:s,args:r.args}:{tool:s,args:r}}(t,r);if(e)return e}const a=e(t);if(a)return a;const i=function singleToolName(t){return 1===t.size?[...t][0]:void 0}(r);if(i&&isRecord(t))return e({tool:i,args:t});const c=isRecord(t)?await o({call:{name:"__stable_harness_raw_args__",args:t},candidates:s,mode:"repair"}):void 0;if(c?.ok)return{tool:c.candidateId,args:c.args};const l=isRecord(t)?await async function selectUniqueToolByArgs(t,e){const n=[];for(const s of e){const r=await o({call:{name:s.id,args:t},candidates:e,mode:"guard"});r.ok&&r.candidateId===s.id&&n.push({tool:r.candidateId,args:r.args})}return 1===n.length?n[0]:void 0}(t,s):void 0;if(l)return l;if("string"!=typeof t)return;const u=await o({candidates:s,rawIntent:t,mode:"guard"});if(u.ok)return{tool:u.candidateId,args:u.args??{}};const d=function parseFunctionStyleToolName(t,e){const o=t.trim();for(const t of e)if(!n.has(t)&&new RegExp(`^<?\\s*${escapeRegexp(t)}\\s*\\([\\s\\S]*\\)\\s*>?$`,"iu").test(o))return t}(t,r);return d?{tool:d,args:{}}:void 0}function parseFunctionValue(t){if(t.startsWith('"')&&t.endsWith('"')||t.startsWith("'")&&t.endsWith("'"))return t.slice(1,-1).replace(/\\(["'\\])/gu,"$1");if(/^-?\d+(?:\.\d+)?$/u.test(t))return Number(t);if("true"===t)return!0;if("false"===t)return!1;if("null"===t)return null;try{return JSON.parse(t)}catch{return t}}function normalizeToolArgs(t){return isRecord(t)?t:{}}function parseCallToolTags(t){const e=t.match(/<\s*tool\s*>([\s\S]*?)<\s*\/\s*tool\s*>/iu)?.[1]?.trim(),o=t.match(/<\s*tool_args\s*>([\s\S]*?)<\s*\/\s*tool_args\s*>/iu)?.[1]?.trim();if(e&&o)try{const t=JSON.parse(o);return isRecord(t)?{tool:e,args:t}:{tool:e,args:{}}}catch{return{tool:e,args:{}}}}function readBalancedJsonObject(t,e){let o=0,n=!1,s=!1;for(let r=e;r<t.length;r+=1){const a=t[r];if(n)s="\\"===a&&!s,'"'!==a||s||(n=!1),"\\"!==a&&(s=!1);else if('"'===a&&(n=!0),"{"===a&&(o+=1),"}"===a&&(o-=1),0===o)return t.slice(e,r+1)}}function escapeRegexp(t){return t.replace(/[.*+?^${}()|[\]\\]/gu,"\\$&")}function readToolName(t){const e="string"==typeof t.name&&t.name.length>0?t.name:void 0;if(e)return[e];const o=t,n=isRecord(o.function)&&"string"==typeof o.function.name?o.function.name:void 0;return n&&n.length>0?[n]:[]}function isRecord(t){return"object"==typeof t&&null!==t&&!Array.isArray(t)}
1
+ import{AIMessage as t}from"@langchain/core/messages";import{parseToolIntent as e,repairCallSelection as o}from"@easynet/better-call";export function createRawToolCallParserMiddleware(e){return{name:"StableHarnessRawToolCallParser",async wrapModelCall(o,n){const r=await n(o);if(!function rawToolCallParsingEnabled(t){const e=isRecord(t.workspace.runtime.recovery)?t.workspace.runtime.recovery:{};return!0===(isRecord(e.toolCall)?e.toolCall:{}).enabled}(e))return r;const s=await async function parseRawToolCallResponse(e,o){if(0===o.length||!function isModelResponse(t){return isRecord(t)}(e)||function hasToolCalls(t){return Array.isArray(t.tool_calls)&&t.tool_calls.length>0}(e))return;const n=function readContentText(t){return"string"==typeof t?t.trim()?t:void 0:Array.isArray(t)&&t.map(t=>isRecord(t)&&"string"==typeof t.text?t.text:"").join("\n").trim()||void 0}(e.content);if(!n)return;const r=await async function readRawToolCalls(t,e){const o=[],n=new Set,r=new Set(e.map(t=>t.id));for(const s of function rawToolIntentCandidates(t,e){const o=[t.trim()];for(const e of t.matchAll(/```[a-zA-Z0-9_-]*\s*\n([\s\S]*?)\n```/gu))o.push(e[1].trim());for(const e of t.matchAll(/<\s*(?:tool_call|tool_code)\b[^>]*>(?:[\s\S]*?<\s*\/\s*(?:tool_call|tool_code)\s*>)?/giu))o.push(e[0]);for(const e of t.matchAll(/<\s*call_tool\b[^>]*>[\s\S]*?<\s*\/\s*call_tool\s*>/giu)){o.push(e[0]);const t=parseCallToolTags(e[0]);t&&o.push(t)}for(const n of e){const e=new RegExp(`(?:^|[\\s<])${escapeRegexp(n)}\\s*\\([^)]*\\)\\s*>?`,"giu");for(const n of t.matchAll(e))o.push(n[0].trim())}return o.push(...function parseJsonObjects(t){const e=[];let o=t.indexOf("{");for(;o>=0;){const n=readBalancedJsonObject(t,o);if(n){try{const t=JSON.parse(n);isRecord(t)&&e.push(t)}catch{}o=t.indexOf("{",o+n.length)}else o=t.indexOf("{",o+1)}return e}(t)),o}(t,r)){const t=await parseCandidate(s,e);if(!t||!r.has(t.tool))continue;const a=normalizeToolArgs(t.args),i=`${t.tool}:${JSON.stringify(a)}`;n.has(i)||(n.add(i),o.push({id:`stable-harness-${t.tool}-${Date.now().toString(36)}`,name:t.tool,args:a}))}return o}(n,o);return 0!==r.length?new t({content:"",id:"string"==typeof e.id?e.id:void 0,name:"string"==typeof e.name?e.name:void 0,additional_kwargs:isRecord(e.additional_kwargs)?e.additional_kwargs:{},response_metadata:isRecord(e.response_metadata)?e.response_metadata:{},tool_calls:r.map(t=>({id:t.id,name:t.name,args:t.args,type:"tool_call"}))}):void 0}(r,function visibleToolCandidates(t,e){return(e.tools??[]).flatMap(readToolName).map(e=>{const o=t.workspace.tools.get(e),n=t.toolGateway?.get(e);return{id:e,description:o?.description??n?.description,schema:o?.schema??n?.schema}})}(e,o));return s??r}}}async function parseCandidate(t,n){const r=new Set(n.map(t=>t.id));if("string"==typeof t){if(function isBareToolMarkup(t,e){const o=t.trim().replace(/^<\s*tool_code\b[^>]*>/iu,"").replace(/<\s*\/\s*tool_code\s*>$/iu,"").replace(/^```\w*\s*/u,"").replace(/```$/u,"").trim();return e.has(o)}(t,r))return;const e=function parseExecuteToolWrapper(t,e){const o=t.trim().match(/^<?\s*execute\s*\(([\s\S]*)\)\s*>?$/iu);if(!o)return;const n=function parseFunctionKwargs(t){const e={};for(const o of function splitTopLevelCommas(t){const e=[];let o,n=0,r=0,s=!1;for(let a=0;a<t.length;a+=1){const i=t[a];o?(s="\\"===i&&!s,i!==o||s||(o=void 0),"\\"!==i&&(s=!1)):'"'!==i&&"'"!==i?("("!==i&&"["!==i&&"{"!==i||(r+=1),")"!==i&&"]"!==i&&"}"!==i||(r-=1),","===i&&0===r&&(e.push(t.slice(n,a).trim()),n=a+1)):o=i}const a=t.slice(n).trim();return a&&e.push(a),e}(t)){const t=o.indexOf("=");if(t<=0)continue;const n=o.slice(0,t).trim();/^[a-zA-Z_][a-zA-Z0-9_]*$/u.test(n)&&(e[n]=parseFunctionValue(o.slice(t+1).trim()))}return e}(o[1]??""),r=n.tool??n.tool_name??n.name;if("string"!=typeof r||!e.has(r))return;const s={...n};return delete s.tool,delete s.tool_name,delete s.name,isRecord(s.args)&&1===Object.keys(s).length?{tool:r,args:s.args}:{tool:r,args:s}}(t,r);if(e)return e}const s=e(t);if(s)return s;const a=n.filter(hasSchema),i=isRecord(t)&&a.length>0?await o({call:{name:"__stable_harness_raw_args__",args:t},candidates:a,mode:"repair"}):void 0;if(i?.ok)return{tool:i.candidateId,args:i.args};const c=isRecord(t)?await async function selectUniqueToolByArgs(t,e){const n=[];for(const r of e){const s=await o({call:{name:r.id,args:t},candidates:e,mode:"guard"});s.ok&&s.candidateId===r.id&&n.push({tool:s.candidateId,args:s.args})}return 1===n.length?n[0]:void 0}(t,a):void 0;return c||void 0}function hasSchema(t){return void 0!==t.schema}function parseFunctionValue(t){if(t.startsWith('"')&&t.endsWith('"')||t.startsWith("'")&&t.endsWith("'"))return t.slice(1,-1).replace(/\\(["'\\])/gu,"$1");if(/^-?\d+(?:\.\d+)?$/u.test(t))return Number(t);if("true"===t)return!0;if("false"===t)return!1;if("null"===t)return null;try{return JSON.parse(t)}catch{return t}}function normalizeToolArgs(t){return isRecord(t)?t:{}}function parseCallToolTags(t){const e=t.match(/<\s*tool\s*>([\s\S]*?)<\s*\/\s*tool\s*>/iu)?.[1]?.trim(),o=t.match(/<\s*tool_args\s*>([\s\S]*?)<\s*\/\s*tool_args\s*>/iu)?.[1]?.trim();if(e&&o)try{const t=JSON.parse(o);return isRecord(t)?{tool:e,args:t}:{tool:e,args:{}}}catch{return{tool:e,args:{}}}}function readBalancedJsonObject(t,e){let o=0,n=!1,r=!1;for(let s=e;s<t.length;s+=1){const a=t[s];if(n)r="\\"===a&&!r,'"'!==a||r||(n=!1),"\\"!==a&&(r=!1);else if('"'===a&&(n=!0),"{"===a&&(o+=1),"}"===a&&(o-=1),0===o)return t.slice(e,s+1)}}function escapeRegexp(t){return t.replace(/[.*+?^${}()|[\]\\]/gu,"\\$&")}function readToolName(t){const e="string"==typeof t.name&&t.name.length>0?t.name:void 0;if(e)return[e];const o=t,n=isRecord(o.function)&&"string"==typeof o.function.name?o.function.name:void 0;return n&&n.length>0?[n]:[]}function isRecord(t){return"object"==typeof t&&null!==t&&!Array.isArray(t)}
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stable-harness/adapter-deepagents",
3
- "version": "0.0.127",
3
+ "version": "0.0.128",
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.127",
19
+ "@stable-harness/core": "0.0.128",
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.127",
3
+ "version": "0.0.128",
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.127"
15
+ "@stable-harness/core": "0.0.128"
16
16
  }
17
17
  }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stable-harness/core",
3
- "version": "0.0.127",
3
+ "version": "0.0.128",
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.127",
16
- "@stable-harness/memory": "0.0.127"
15
+ "@stable-harness/governance": "0.0.128",
16
+ "@stable-harness/memory": "0.0.128"
17
17
  }
18
18
  }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stable-harness/governance",
3
- "version": "0.0.127",
3
+ "version": "0.0.128",
4
4
  "license": "Apache-2.0",
5
5
  "type": "module",
6
6
  "files": [
@@ -10,6 +10,7 @@ export type MemoryProviderApprovalConfig = {
10
10
  restricted?: boolean;
11
11
  };
12
12
  export type MemoryProviderDefaults = {
13
+ kind?: MemoryKind;
13
14
  scope?: MemoryScope;
14
15
  sensitivity?: MemorySensitivity;
15
16
  };
@@ -1 +1 @@
1
- export function createEmbeddedMemoryProvider(e={}){return{name:"embedded",config:e,async propose(n){const s=n.kindHint??function inferKind(e){const n=e.toLowerCase();return n.includes("must ")||n.includes("should ")?"procedural":n.includes("run ")||n.includes("failed ")?"episodic":"semantic"}(n.content);return function isKindEnabled(e,n){return!1!==e.types?.[n]}(e,s)?[{namespace:n.namespace,content:n.content,sourceType:n.sourceType,sourceRef:n.sourceRef,kindHint:s,scopeHint:n.scopeHint??e.defaults?.scope??"workspace",sensitivity:n.sensitivity??e.defaults?.sensitivity??"internal",confidenceHint:.6,metadata:n.metadata}]:[]},search:async e=>e.store?(await e.store.recall({namespace:e.namespace,query:e.query,limit:e.limit,kinds:e.kinds})).records:[],consolidate:async e=>e.records.filter(e=>"stale"===e.status).map(e=>({action:"archive",recordId:e.id,reason:"embedded provider archives stale records during consolidation"}))}}
1
+ export function createEmbeddedMemoryProvider(e={}){return{name:"embedded",config:e,async propose(n){const t=n.kindHint??e.defaults?.kind??"semantic";return function isKindEnabled(e,n){return!1!==e.types?.[n]}(e,t)?[{namespace:n.namespace,content:n.content,sourceType:n.sourceType,sourceRef:n.sourceRef,kindHint:t,scopeHint:n.scopeHint??e.defaults?.scope??"workspace",sensitivity:n.sensitivity??e.defaults?.sensitivity??"internal",confidenceHint:.6,metadata:n.metadata}]:[]},search:async e=>e.store?(await e.store.recall({namespace:e.namespace,query:e.query,limit:e.limit,kinds:e.kinds})).records:[],consolidate:async e=>e.records.filter(e=>"stale"===e.status).map(e=>({action:"archive",recordId:e.id,reason:"embedded provider archives stale records during consolidation"}))}}
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stable-harness/memory",
3
- "version": "0.0.127",
3
+ "version": "0.0.128",
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.127",
3
+ "version": "0.0.128",
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.127"
14
+ "@stable-harness/core": "0.0.128"
15
15
  }
16
16
  }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stable-harness/tool-gateway",
3
- "version": "0.0.127",
3
+ "version": "0.0.128",
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.127",
3
+ "version": "0.0.128",
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.127"
15
+ "@stable-harness/core": "0.0.128"
16
16
  }
17
17
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "stable-harness",
3
- "version": "0.0.127",
3
+ "version": "0.0.128",
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.127",
86
- "@stable-harness/adapter-langgraph": "0.0.127",
87
- "@stable-harness/core": "0.0.127",
88
- "@stable-harness/governance": "0.0.127",
89
- "@stable-harness/memory": "0.0.127",
90
- "@stable-harness/protocols": "0.0.127",
91
- "@stable-harness/tool-gateway": "0.0.127",
92
- "@stable-harness/workspace-yaml": "0.0.127",
85
+ "@stable-harness/adapter-deepagents": "0.0.128",
86
+ "@stable-harness/adapter-langgraph": "0.0.128",
87
+ "@stable-harness/core": "0.0.128",
88
+ "@stable-harness/governance": "0.0.128",
89
+ "@stable-harness/memory": "0.0.128",
90
+ "@stable-harness/protocols": "0.0.128",
91
+ "@stable-harness/tool-gateway": "0.0.128",
92
+ "@stable-harness/workspace-yaml": "0.0.128",
93
93
  "deepagents": "^1.10.1",
94
94
  "langchain": "^1.4.0",
95
95
  "yaml": "^2.8.2",
@@ -1 +1 @@
1
- import{AIMessage as t}from"@langchain/core/messages";import{parseToolIntent as e,repairCallSelection as o}from"@easynet/better-call";const n=new Set(["edit_file","glob","ls","read_file"]);export function createRawToolCallParserMiddleware(e){return{name:"StableHarnessRawToolCallParser",async wrapModelCall(o,n){const s=await n(o);if(!function rawToolCallParsingEnabled(t){const e=isRecord(t.workspace.runtime.recovery)?t.workspace.runtime.recovery:{};return!0===(isRecord(e.toolCall)?e.toolCall:{}).enabled}(e))return s;const r=await async function parseRawToolCallResponse(e,o){if(0===o.length||!function isModelResponse(t){return isRecord(t)}(e)||function hasToolCalls(t){return Array.isArray(t.tool_calls)&&t.tool_calls.length>0}(e))return;const n=function readContentText(t){return"string"==typeof t?t.trim()?t:void 0:Array.isArray(t)&&t.map(t=>isRecord(t)&&"string"==typeof t.text?t.text:"").join("\n").trim()||void 0}(e.content);if(!n)return;const s=await async function readRawToolCalls(t,e){const o=[],n=new Set,s=new Set(e.map(t=>t.id));for(const r of function rawToolIntentCandidates(t,e){const o=[t.trim()];for(const e of t.matchAll(/```[a-zA-Z0-9_-]*\s*\n([\s\S]*?)\n```/gu))o.push(e[1].trim());for(const n of t.split(/\r?\n/u)){const t=n.trim();e.has(t)&&o.push(t)}for(const e of t.matchAll(/<\s*(?:tool_call|tool_code)\b[^>]*>(?:[\s\S]*?<\s*\/\s*(?:tool_call|tool_code)\s*>)?/giu))o.push(e[0]);for(const e of t.matchAll(/<\s*call_tool\b[^>]*>[\s\S]*?<\s*\/\s*call_tool\s*>/giu)){o.push(e[0]);const t=parseCallToolTags(e[0]);t&&o.push(t)}for(const n of e){const e=new RegExp(`(?:^|[\\s<])${escapeRegexp(n)}\\s*\\([^)]*\\)\\s*>?`,"giu");for(const n of t.matchAll(e))o.push(n[0].trim())}return o.push(...function parseJsonObjects(t){const e=[];let o=t.indexOf("{");for(;o>=0;){const n=readBalancedJsonObject(t,o);if(n){try{const t=JSON.parse(n);isRecord(t)&&e.push(t)}catch{}o=t.indexOf("{",o+n.length)}else o=t.indexOf("{",o+1)}return e}(t)),o}(t,s)){const t=await parseCandidate(r,e);if(!t||!s.has(t.tool))continue;const a=normalizeToolArgs(t.args),i=`${t.tool}:${JSON.stringify(a)}`;n.has(i)||(n.add(i),o.push({id:`stable-harness-${t.tool}-${Date.now().toString(36)}`,name:t.tool,args:a}))}return o}(n,o);return 0!==s.length?new t({content:"",id:"string"==typeof e.id?e.id:void 0,name:"string"==typeof e.name?e.name:void 0,additional_kwargs:isRecord(e.additional_kwargs)?e.additional_kwargs:{},response_metadata:isRecord(e.response_metadata)?e.response_metadata:{},tool_calls:s.map(t=>({id:t.id,name:t.name,args:t.args,type:"tool_call"}))}):void 0}(s,function visibleToolCandidates(t,e){return(e.tools??[]).flatMap(readToolName).map(e=>{const o=t.workspace.tools.get(e),n=t.toolGateway?.get(e);return{id:e,description:o?.description??n?.description,schema:o?.schema??n?.schema}})}(e,o));return r??s}}}async function parseCandidate(t,s){const r=new Set(s.map(t=>t.id));if("string"==typeof t){const e=function parseExecuteToolWrapper(t,e){const o=t.trim().match(/^<?\s*execute\s*\(([\s\S]*)\)\s*>?$/iu);if(!o)return;const n=function parseFunctionKwargs(t){const e={};for(const o of function splitTopLevelCommas(t){const e=[];let o,n=0,s=0,r=!1;for(let a=0;a<t.length;a+=1){const i=t[a];o?(r="\\"===i&&!r,i!==o||r||(o=void 0),"\\"!==i&&(r=!1)):'"'!==i&&"'"!==i?("("!==i&&"["!==i&&"{"!==i||(s+=1),")"!==i&&"]"!==i&&"}"!==i||(s-=1),","===i&&0===s&&(e.push(t.slice(n,a).trim()),n=a+1)):o=i}const a=t.slice(n).trim();return a&&e.push(a),e}(t)){const t=o.indexOf("=");if(t<=0)continue;const n=o.slice(0,t).trim();/^[a-zA-Z_][a-zA-Z0-9_]*$/u.test(n)&&(e[n]=parseFunctionValue(o.slice(t+1).trim()))}return e}(o[1]??""),s=n.tool??n.tool_name??n.name;if("string"!=typeof s||!e.has(s))return;const r={...n};return delete r.tool,delete r.tool_name,delete r.name,isRecord(r.args)&&1===Object.keys(r).length?{tool:s,args:r.args}:{tool:s,args:r}}(t,r);if(e)return e}const a=e(t);if(a)return a;const i=function singleToolName(t){return 1===t.size?[...t][0]:void 0}(r);if(i&&isRecord(t))return e({tool:i,args:t});const c=isRecord(t)?await o({call:{name:"__stable_harness_raw_args__",args:t},candidates:s,mode:"repair"}):void 0;if(c?.ok)return{tool:c.candidateId,args:c.args};const l=isRecord(t)?await async function selectUniqueToolByArgs(t,e){const n=[];for(const s of e){const r=await o({call:{name:s.id,args:t},candidates:e,mode:"guard"});r.ok&&r.candidateId===s.id&&n.push({tool:r.candidateId,args:r.args})}return 1===n.length?n[0]:void 0}(t,s):void 0;if(l)return l;if("string"!=typeof t)return;const u=await o({candidates:s,rawIntent:t,mode:"guard"});if(u.ok)return{tool:u.candidateId,args:u.args??{}};const d=function parseFunctionStyleToolName(t,e){const o=t.trim();for(const t of e)if(!n.has(t)&&new RegExp(`^<?\\s*${escapeRegexp(t)}\\s*\\([\\s\\S]*\\)\\s*>?$`,"iu").test(o))return t}(t,r);return d?{tool:d,args:{}}:void 0}function parseFunctionValue(t){if(t.startsWith('"')&&t.endsWith('"')||t.startsWith("'")&&t.endsWith("'"))return t.slice(1,-1).replace(/\\(["'\\])/gu,"$1");if(/^-?\d+(?:\.\d+)?$/u.test(t))return Number(t);if("true"===t)return!0;if("false"===t)return!1;if("null"===t)return null;try{return JSON.parse(t)}catch{return t}}function normalizeToolArgs(t){return isRecord(t)?t:{}}function parseCallToolTags(t){const e=t.match(/<\s*tool\s*>([\s\S]*?)<\s*\/\s*tool\s*>/iu)?.[1]?.trim(),o=t.match(/<\s*tool_args\s*>([\s\S]*?)<\s*\/\s*tool_args\s*>/iu)?.[1]?.trim();if(e&&o)try{const t=JSON.parse(o);return isRecord(t)?{tool:e,args:t}:{tool:e,args:{}}}catch{return{tool:e,args:{}}}}function readBalancedJsonObject(t,e){let o=0,n=!1,s=!1;for(let r=e;r<t.length;r+=1){const a=t[r];if(n)s="\\"===a&&!s,'"'!==a||s||(n=!1),"\\"!==a&&(s=!1);else if('"'===a&&(n=!0),"{"===a&&(o+=1),"}"===a&&(o-=1),0===o)return t.slice(e,r+1)}}function escapeRegexp(t){return t.replace(/[.*+?^${}()|[\]\\]/gu,"\\$&")}function readToolName(t){const e="string"==typeof t.name&&t.name.length>0?t.name:void 0;if(e)return[e];const o=t,n=isRecord(o.function)&&"string"==typeof o.function.name?o.function.name:void 0;return n&&n.length>0?[n]:[]}function isRecord(t){return"object"==typeof t&&null!==t&&!Array.isArray(t)}
1
+ import{AIMessage as t}from"@langchain/core/messages";import{parseToolIntent as e,repairCallSelection as o}from"@easynet/better-call";export function createRawToolCallParserMiddleware(e){return{name:"StableHarnessRawToolCallParser",async wrapModelCall(o,n){const r=await n(o);if(!function rawToolCallParsingEnabled(t){const e=isRecord(t.workspace.runtime.recovery)?t.workspace.runtime.recovery:{};return!0===(isRecord(e.toolCall)?e.toolCall:{}).enabled}(e))return r;const s=await async function parseRawToolCallResponse(e,o){if(0===o.length||!function isModelResponse(t){return isRecord(t)}(e)||function hasToolCalls(t){return Array.isArray(t.tool_calls)&&t.tool_calls.length>0}(e))return;const n=function readContentText(t){return"string"==typeof t?t.trim()?t:void 0:Array.isArray(t)&&t.map(t=>isRecord(t)&&"string"==typeof t.text?t.text:"").join("\n").trim()||void 0}(e.content);if(!n)return;const r=await async function readRawToolCalls(t,e){const o=[],n=new Set,r=new Set(e.map(t=>t.id));for(const s of function rawToolIntentCandidates(t,e){const o=[t.trim()];for(const e of t.matchAll(/```[a-zA-Z0-9_-]*\s*\n([\s\S]*?)\n```/gu))o.push(e[1].trim());for(const e of t.matchAll(/<\s*(?:tool_call|tool_code)\b[^>]*>(?:[\s\S]*?<\s*\/\s*(?:tool_call|tool_code)\s*>)?/giu))o.push(e[0]);for(const e of t.matchAll(/<\s*call_tool\b[^>]*>[\s\S]*?<\s*\/\s*call_tool\s*>/giu)){o.push(e[0]);const t=parseCallToolTags(e[0]);t&&o.push(t)}for(const n of e){const e=new RegExp(`(?:^|[\\s<])${escapeRegexp(n)}\\s*\\([^)]*\\)\\s*>?`,"giu");for(const n of t.matchAll(e))o.push(n[0].trim())}return o.push(...function parseJsonObjects(t){const e=[];let o=t.indexOf("{");for(;o>=0;){const n=readBalancedJsonObject(t,o);if(n){try{const t=JSON.parse(n);isRecord(t)&&e.push(t)}catch{}o=t.indexOf("{",o+n.length)}else o=t.indexOf("{",o+1)}return e}(t)),o}(t,r)){const t=await parseCandidate(s,e);if(!t||!r.has(t.tool))continue;const a=normalizeToolArgs(t.args),i=`${t.tool}:${JSON.stringify(a)}`;n.has(i)||(n.add(i),o.push({id:`stable-harness-${t.tool}-${Date.now().toString(36)}`,name:t.tool,args:a}))}return o}(n,o);return 0!==r.length?new t({content:"",id:"string"==typeof e.id?e.id:void 0,name:"string"==typeof e.name?e.name:void 0,additional_kwargs:isRecord(e.additional_kwargs)?e.additional_kwargs:{},response_metadata:isRecord(e.response_metadata)?e.response_metadata:{},tool_calls:r.map(t=>({id:t.id,name:t.name,args:t.args,type:"tool_call"}))}):void 0}(r,function visibleToolCandidates(t,e){return(e.tools??[]).flatMap(readToolName).map(e=>{const o=t.workspace.tools.get(e),n=t.toolGateway?.get(e);return{id:e,description:o?.description??n?.description,schema:o?.schema??n?.schema}})}(e,o));return s??r}}}async function parseCandidate(t,n){const r=new Set(n.map(t=>t.id));if("string"==typeof t){if(function isBareToolMarkup(t,e){const o=t.trim().replace(/^<\s*tool_code\b[^>]*>/iu,"").replace(/<\s*\/\s*tool_code\s*>$/iu,"").replace(/^```\w*\s*/u,"").replace(/```$/u,"").trim();return e.has(o)}(t,r))return;const e=function parseExecuteToolWrapper(t,e){const o=t.trim().match(/^<?\s*execute\s*\(([\s\S]*)\)\s*>?$/iu);if(!o)return;const n=function parseFunctionKwargs(t){const e={};for(const o of function splitTopLevelCommas(t){const e=[];let o,n=0,r=0,s=!1;for(let a=0;a<t.length;a+=1){const i=t[a];o?(s="\\"===i&&!s,i!==o||s||(o=void 0),"\\"!==i&&(s=!1)):'"'!==i&&"'"!==i?("("!==i&&"["!==i&&"{"!==i||(r+=1),")"!==i&&"]"!==i&&"}"!==i||(r-=1),","===i&&0===r&&(e.push(t.slice(n,a).trim()),n=a+1)):o=i}const a=t.slice(n).trim();return a&&e.push(a),e}(t)){const t=o.indexOf("=");if(t<=0)continue;const n=o.slice(0,t).trim();/^[a-zA-Z_][a-zA-Z0-9_]*$/u.test(n)&&(e[n]=parseFunctionValue(o.slice(t+1).trim()))}return e}(o[1]??""),r=n.tool??n.tool_name??n.name;if("string"!=typeof r||!e.has(r))return;const s={...n};return delete s.tool,delete s.tool_name,delete s.name,isRecord(s.args)&&1===Object.keys(s).length?{tool:r,args:s.args}:{tool:r,args:s}}(t,r);if(e)return e}const s=e(t);if(s)return s;const a=n.filter(hasSchema),i=isRecord(t)&&a.length>0?await o({call:{name:"__stable_harness_raw_args__",args:t},candidates:a,mode:"repair"}):void 0;if(i?.ok)return{tool:i.candidateId,args:i.args};const c=isRecord(t)?await async function selectUniqueToolByArgs(t,e){const n=[];for(const r of e){const s=await o({call:{name:r.id,args:t},candidates:e,mode:"guard"});s.ok&&s.candidateId===r.id&&n.push({tool:s.candidateId,args:s.args})}return 1===n.length?n[0]:void 0}(t,a):void 0;return c||void 0}function hasSchema(t){return void 0!==t.schema}function parseFunctionValue(t){if(t.startsWith('"')&&t.endsWith('"')||t.startsWith("'")&&t.endsWith("'"))return t.slice(1,-1).replace(/\\(["'\\])/gu,"$1");if(/^-?\d+(?:\.\d+)?$/u.test(t))return Number(t);if("true"===t)return!0;if("false"===t)return!1;if("null"===t)return null;try{return JSON.parse(t)}catch{return t}}function normalizeToolArgs(t){return isRecord(t)?t:{}}function parseCallToolTags(t){const e=t.match(/<\s*tool\s*>([\s\S]*?)<\s*\/\s*tool\s*>/iu)?.[1]?.trim(),o=t.match(/<\s*tool_args\s*>([\s\S]*?)<\s*\/\s*tool_args\s*>/iu)?.[1]?.trim();if(e&&o)try{const t=JSON.parse(o);return isRecord(t)?{tool:e,args:t}:{tool:e,args:{}}}catch{return{tool:e,args:{}}}}function readBalancedJsonObject(t,e){let o=0,n=!1,r=!1;for(let s=e;s<t.length;s+=1){const a=t[s];if(n)r="\\"===a&&!r,'"'!==a||r||(n=!1),"\\"!==a&&(r=!1);else if('"'===a&&(n=!0),"{"===a&&(o+=1),"}"===a&&(o-=1),0===o)return t.slice(e,s+1)}}function escapeRegexp(t){return t.replace(/[.*+?^${}()|[\]\\]/gu,"\\$&")}function readToolName(t){const e="string"==typeof t.name&&t.name.length>0?t.name:void 0;if(e)return[e];const o=t,n=isRecord(o.function)&&"string"==typeof o.function.name?o.function.name:void 0;return n&&n.length>0?[n]:[]}function isRecord(t){return"object"==typeof t&&null!==t&&!Array.isArray(t)}
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stable-harness/adapter-deepagents",
3
- "version": "0.0.127",
3
+ "version": "0.0.128",
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.127",
19
+ "@stable-harness/core": "0.0.128",
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.127",
3
+ "version": "0.0.128",
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.127"
15
+ "@stable-harness/core": "0.0.128"
16
16
  }
17
17
  }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stable-harness/cli",
3
- "version": "0.0.127",
3
+ "version": "0.0.128",
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.127",
19
- "@stable-harness/adapter-langgraph": "0.0.127",
20
- "@stable-harness/core": "0.0.127",
21
- "@stable-harness/memory": "0.0.127",
22
- "@stable-harness/protocols": "0.0.127",
23
- "@stable-harness/tool-gateway": "0.0.127",
24
- "@stable-harness/workspace-yaml": "0.0.127"
18
+ "@stable-harness/adapter-deepagents": "0.0.128",
19
+ "@stable-harness/adapter-langgraph": "0.0.128",
20
+ "@stable-harness/core": "0.0.128",
21
+ "@stable-harness/memory": "0.0.128",
22
+ "@stable-harness/protocols": "0.0.128",
23
+ "@stable-harness/tool-gateway": "0.0.128",
24
+ "@stable-harness/workspace-yaml": "0.0.128"
25
25
  }
26
26
  }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stable-harness/core",
3
- "version": "0.0.127",
3
+ "version": "0.0.128",
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.127",
16
- "@stable-harness/memory": "0.0.127"
15
+ "@stable-harness/governance": "0.0.128",
16
+ "@stable-harness/memory": "0.0.128"
17
17
  }
18
18
  }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stable-harness/evaluation",
3
- "version": "0.0.127",
3
+ "version": "0.0.128",
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.127"
14
+ "@stable-harness/core": "0.0.128"
15
15
  }
16
16
  }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stable-harness/governance",
3
- "version": "0.0.127",
3
+ "version": "0.0.128",
4
4
  "license": "Apache-2.0",
5
5
  "type": "module",
6
6
  "files": [
@@ -10,6 +10,7 @@ export type MemoryProviderApprovalConfig = {
10
10
  restricted?: boolean;
11
11
  };
12
12
  export type MemoryProviderDefaults = {
13
+ kind?: MemoryKind;
13
14
  scope?: MemoryScope;
14
15
  sensitivity?: MemorySensitivity;
15
16
  };
@@ -1 +1 @@
1
- export function createEmbeddedMemoryProvider(e={}){return{name:"embedded",config:e,async propose(n){const s=n.kindHint??function inferKind(e){const n=e.toLowerCase();return n.includes("must ")||n.includes("should ")?"procedural":n.includes("run ")||n.includes("failed ")?"episodic":"semantic"}(n.content);return function isKindEnabled(e,n){return!1!==e.types?.[n]}(e,s)?[{namespace:n.namespace,content:n.content,sourceType:n.sourceType,sourceRef:n.sourceRef,kindHint:s,scopeHint:n.scopeHint??e.defaults?.scope??"workspace",sensitivity:n.sensitivity??e.defaults?.sensitivity??"internal",confidenceHint:.6,metadata:n.metadata}]:[]},search:async e=>e.store?(await e.store.recall({namespace:e.namespace,query:e.query,limit:e.limit,kinds:e.kinds})).records:[],consolidate:async e=>e.records.filter(e=>"stale"===e.status).map(e=>({action:"archive",recordId:e.id,reason:"embedded provider archives stale records during consolidation"}))}}
1
+ export function createEmbeddedMemoryProvider(e={}){return{name:"embedded",config:e,async propose(n){const t=n.kindHint??e.defaults?.kind??"semantic";return function isKindEnabled(e,n){return!1!==e.types?.[n]}(e,t)?[{namespace:n.namespace,content:n.content,sourceType:n.sourceType,sourceRef:n.sourceRef,kindHint:t,scopeHint:n.scopeHint??e.defaults?.scope??"workspace",sensitivity:n.sensitivity??e.defaults?.sensitivity??"internal",confidenceHint:.6,metadata:n.metadata}]:[]},search:async e=>e.store?(await e.store.recall({namespace:e.namespace,query:e.query,limit:e.limit,kinds:e.kinds})).records:[],consolidate:async e=>e.records.filter(e=>"stale"===e.status).map(e=>({action:"archive",recordId:e.id,reason:"embedded provider archives stale records during consolidation"}))}}
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stable-harness/memory",
3
- "version": "0.0.127",
3
+ "version": "0.0.128",
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.127",
3
+ "version": "0.0.128",
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.127"
14
+ "@stable-harness/core": "0.0.128"
15
15
  }
16
16
  }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stable-harness/tool-gateway",
3
- "version": "0.0.127",
3
+ "version": "0.0.128",
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.127",
3
+ "version": "0.0.128",
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.127"
15
+ "@stable-harness/core": "0.0.128"
16
16
  }
17
17
  }