@looprun-ai/mastra 0.4.0 → 0.6.1
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/hooks.d.ts +1 -1
- package/dist/hooks.js +1 -1
- package/package.json +3 -3
package/dist/hooks.d.ts
CHANGED
|
@@ -17,7 +17,7 @@ export interface GuardHooks {
|
|
|
17
17
|
}
|
|
18
18
|
export declare function makeGuardHooks(spec: AgentSpec, getSession: SessionAccessor): GuardHooks;
|
|
19
19
|
/**
|
|
20
|
-
* Stop condition (verbatim from the certified
|
|
20
|
+
* Stop condition (verbatim from the certified reference lineage): end the generation the moment
|
|
21
21
|
* ANY tool call repeats (same tool + same args) within this turn's steps — guard-denied calls
|
|
22
22
|
* included, since they appear in steps too. Apply it for LOCAL models (small models loop; the
|
|
23
23
|
* repeat is either a loop or a retry-without-change — both deserve the forced close).
|
package/dist/hooks.js
CHANGED
|
@@ -55,7 +55,7 @@ export function makeGuardHooks(spec, getSession) {
|
|
|
55
55
|
};
|
|
56
56
|
}
|
|
57
57
|
/**
|
|
58
|
-
* Stop condition (verbatim from the certified
|
|
58
|
+
* Stop condition (verbatim from the certified reference lineage): end the generation the moment
|
|
59
59
|
* ANY tool call repeats (same tool + same args) within this turn's steps — guard-denied calls
|
|
60
60
|
* included, since they appear in steps too. Apply it for LOCAL models (small models loop; the
|
|
61
61
|
* repeat is either a loop or a retry-without-change — both deserve the forced close).
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@looprun-ai/mastra",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.6.1",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "looprun on Mastra: LoopRunAgent — a genuine @mastra/core Agent compiled from an AgentSpec, with deterministic guard enforcement (beforeToolCall veto), the terminal protocol, bounded no-tools redrive and honest-abstain exhaustion. Studio-compatible.",
|
|
6
6
|
"keywords": [
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
"node": ">=22"
|
|
42
42
|
},
|
|
43
43
|
"dependencies": {
|
|
44
|
-
"@looprun-ai/core": "^0.
|
|
44
|
+
"@looprun-ai/core": "^0.6.1"
|
|
45
45
|
},
|
|
46
46
|
"peerDependencies": {
|
|
47
47
|
"@mastra/core": "^1.42.0",
|
|
@@ -55,7 +55,7 @@
|
|
|
55
55
|
"typescript": "^5.7.0",
|
|
56
56
|
"vitest": "^2.0.0",
|
|
57
57
|
"zod": "^3.24.0",
|
|
58
|
-
"@looprun-ai/models": "^0.
|
|
58
|
+
"@looprun-ai/models": "^0.6.1"
|
|
59
59
|
},
|
|
60
60
|
"scripts": {
|
|
61
61
|
"build": "tsc -p tsconfig.build.json",
|