moflo 4.8.65 → 4.8.66
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "moflo",
|
|
3
|
-
"version": "4.8.
|
|
3
|
+
"version": "4.8.66",
|
|
4
4
|
"description": "MoFlo — AI agent orchestration for Claude Code. Forked from ruflo/claude-flow with patches applied to source, plus feature-level orchestration.",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"type": "module",
|
|
@@ -112,7 +112,7 @@
|
|
|
112
112
|
"@types/js-yaml": "^4.0.9",
|
|
113
113
|
"@types/node": "^20.19.37",
|
|
114
114
|
"eslint": "^8.0.0",
|
|
115
|
-
"moflo": "^4.8.
|
|
115
|
+
"moflo": "^4.8.65",
|
|
116
116
|
"tsx": "^4.21.0",
|
|
117
117
|
"typescript": "^5.9.3",
|
|
118
118
|
"vitest": "^4.0.0"
|
|
@@ -60,7 +60,8 @@ async function executeAndTrack(engine, definition, args) {
|
|
|
60
60
|
const spellId = `sp-${Date.now()}`;
|
|
61
61
|
const tracked = trackStart(spellId, definition.name, definition.description);
|
|
62
62
|
try {
|
|
63
|
-
const
|
|
63
|
+
const sandboxConfig = await engine.loadSandboxConfigFromProject(findProjectRoot());
|
|
64
|
+
const result = await engine.bridgeExecuteSpell(definition, args, { spellId, sandboxConfig });
|
|
64
65
|
trackResult(tracked, result);
|
|
65
66
|
return serializeResult(result);
|
|
66
67
|
}
|
|
@@ -202,7 +203,8 @@ export const spellTools = [
|
|
|
202
203
|
}
|
|
203
204
|
// Run from raw content via bridge
|
|
204
205
|
const engine = await loadSpellEngine();
|
|
205
|
-
const
|
|
206
|
+
const sandboxConfig = await engine.loadSandboxConfigFromProject(findProjectRoot());
|
|
207
|
+
const result = await engine.bridgeRunSpell(content, sourceFile, args, { dryRun, sandboxConfig });
|
|
206
208
|
const tracked = trackStart(result.spellId, spellName);
|
|
207
209
|
trackResult(tracked, result);
|
|
208
210
|
return serializeResult(result);
|