moflo 4.10.29-rc.5 → 4.10.29
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/.claude/skills/spell-builder/steps/agent/README.md +2 -2
- package/dist/src/cli/commands/hooks.js +1 -1
- package/dist/src/cli/hooks/statusline/index.js +1 -1
- package/dist/src/cli/init/settings-generator.js +3 -3
- package/dist/src/cli/services/headless-worker-executor.js +10 -4
- package/dist/src/cli/shared/hooks/safety/git-commit.js +1 -1
- package/dist/src/cli/version.js +1 -1
- package/package.json +2 -2
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
config:
|
|
11
11
|
agentType: researcher
|
|
12
12
|
prompt: "Find all REST API endpoints in src/ and list their HTTP methods and paths"
|
|
13
|
-
model: claude-sonnet-
|
|
13
|
+
model: claude-sonnet-5
|
|
14
14
|
background: false
|
|
15
15
|
```
|
|
16
16
|
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
|-------|----------|---------|-------------|
|
|
21
21
|
| `prompt` | Yes | — | Task prompt for the agent |
|
|
22
22
|
| `agentType` | No | `coder` | Agent specialization: `researcher`, `coder`, `tester`, `reviewer` |
|
|
23
|
-
| `model` | No | system default | Model override (e.g. `claude-sonnet-
|
|
23
|
+
| `model` | No | system default | Model override (e.g. `claude-sonnet-5`) |
|
|
24
24
|
| `systemPrompt` | No | — | Custom system prompt replacing the default |
|
|
25
25
|
| `background` | No | `false` | Run without waiting for the result |
|
|
26
26
|
|
|
@@ -2691,7 +2691,7 @@ const statuslineCommand = {
|
|
|
2691
2691
|
function getUserInfo() {
|
|
2692
2692
|
let name = 'user';
|
|
2693
2693
|
let gitBranch = '';
|
|
2694
|
-
const modelName = 'Opus 4.
|
|
2694
|
+
const modelName = 'Opus 4.8 (1M context)';
|
|
2695
2695
|
const isWindows = process.platform === 'win32';
|
|
2696
2696
|
try {
|
|
2697
2697
|
const nameCmd = isWindows
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Provides real-time progress, metrics, and status information.
|
|
6
6
|
*
|
|
7
7
|
* Format matches the working .claude/statusline.sh output:
|
|
8
|
-
* ▊ MoFlo ● <user> │ ⎇ <branch> │ Opus 4.
|
|
8
|
+
* ▊ MoFlo ● <user> │ ⎇ <branch> │ Opus 4.8
|
|
9
9
|
* ─────────────────────────────────────────────────────
|
|
10
10
|
* 🏗️ DDD Domains [●●●●●] 5/5 ⚡ 1.0x → 2.49x-7.47x
|
|
11
11
|
* 🤖 Swarm ◉ [58/15] 👥 0 🟢 CVE 3/3 💾 22282MB 📂 47% 🧠 10%
|
|
@@ -40,7 +40,7 @@ export function generateSettings(options) {
|
|
|
40
40
|
};
|
|
41
41
|
// Note: Claude Code expects 'model' to be a string, not an object
|
|
42
42
|
// Model preferences are stored in moflo settings instead
|
|
43
|
-
// settings.model = '
|
|
43
|
+
// settings.model = 'sonnet'; // Uncomment if you want to set a default model
|
|
44
44
|
// Add Agent Teams configuration (experimental feature)
|
|
45
45
|
settings.env = {
|
|
46
46
|
// Enable Claude Code Agent Teams for multi-agent coordination
|
|
@@ -64,8 +64,8 @@ export function generateSettings(options) {
|
|
|
64
64
|
shell: platform.shell,
|
|
65
65
|
},
|
|
66
66
|
modelPreferences: {
|
|
67
|
-
default: '
|
|
68
|
-
routing: '
|
|
67
|
+
default: 'opus',
|
|
68
|
+
routing: 'haiku',
|
|
69
69
|
},
|
|
70
70
|
agentTeams: {
|
|
71
71
|
enabled: true,
|
|
@@ -39,12 +39,18 @@ export const LOCAL_WORKER_TYPES = [
|
|
|
39
39
|
'preload',
|
|
40
40
|
];
|
|
41
41
|
/**
|
|
42
|
-
* Model
|
|
42
|
+
* Model tier → ANTHROPIC_MODEL value.
|
|
43
|
+
*
|
|
44
|
+
* Bare aliases (not pinned IDs) on purpose: Claude Code resolves `opus`/`sonnet`/
|
|
45
|
+
* `haiku` to the current model for the consumer's auth provider at spawn time, so
|
|
46
|
+
* this never goes stale on a model release and automatically tracks per-provider
|
|
47
|
+
* defaults (e.g. on Claude Platform on AWS `opus` maps to a different version than
|
|
48
|
+
* on the first-party API). Pin a full ID here only if a tier must be frozen.
|
|
43
49
|
*/
|
|
44
50
|
const MODEL_IDS = {
|
|
45
|
-
sonnet: '
|
|
46
|
-
opus: '
|
|
47
|
-
haiku: '
|
|
51
|
+
sonnet: 'sonnet',
|
|
52
|
+
opus: 'opus',
|
|
53
|
+
haiku: 'haiku',
|
|
48
54
|
};
|
|
49
55
|
/**
|
|
50
56
|
* Tool allowlist for every headless worker. These workers are READ-ONLY by
|
package/dist/src/cli/version.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "moflo",
|
|
3
|
-
"version": "4.10.29
|
|
3
|
+
"version": "4.10.29",
|
|
4
4
|
"description": "MoFlo — AI agent orchestration for Claude Code. A standalone, opinionated toolkit with semantic memory, learned routing, gates, spells, and the /flo issue-execution skill.",
|
|
5
5
|
"main": "dist/src/cli/index.js",
|
|
6
6
|
"type": "module",
|
|
@@ -94,7 +94,7 @@
|
|
|
94
94
|
"@typescript-eslint/eslint-plugin": "^7.18.0",
|
|
95
95
|
"@typescript-eslint/parser": "^7.18.0",
|
|
96
96
|
"eslint": "^8.0.0",
|
|
97
|
-
"moflo": "^4.10.29-rc.
|
|
97
|
+
"moflo": "^4.10.29-rc.6",
|
|
98
98
|
"tsx": "^4.21.0",
|
|
99
99
|
"typescript": "^5.9.3",
|
|
100
100
|
"vitest": "^4.0.0"
|