@claude-flow/cli 3.30.3 → 3.30.5
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/helpers/.helpers-version +1 -1
- package/.claude/helpers/helpers.manifest.json +3 -3
- package/.claude/helpers/hook-handler.cjs +1 -0
- package/catalog-manifest.json +2 -2
- package/dist/src/init/settings-generator.js +3 -3
- package/dist/src/mcp-tools/agent-execute-core.d.ts +1 -1
- package/dist/src/mcp-tools/agent-execute-core.js +9 -7
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
3.30.
|
|
1
|
+
3.30.0
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"manifest": {
|
|
3
|
-
"version": "3.30.
|
|
3
|
+
"version": "3.30.5",
|
|
4
4
|
"files": {
|
|
5
5
|
"auto-memory-hook.mjs": "e3e1033b24704992ddef6b31c7fa9dd7fcd9e1af7935dd77ef73402b916b31e6",
|
|
6
|
-
"hook-handler.cjs": "
|
|
6
|
+
"hook-handler.cjs": "f87ec28684bfc5fd0a54c46bd2a53a3fb037defe71d0ea4b8a5cb88a2cd87a3f",
|
|
7
7
|
"intelligence.cjs": "5a55d979cb7ba5c8c4f27f3b2e6d686fbb1045d180023b803da672a37e05b915",
|
|
8
8
|
"statusline.cjs": "7d7bdee732e1c75b863e409afb86ce0d712f4919245e990d806da6752015bffa"
|
|
9
9
|
}
|
|
10
10
|
},
|
|
11
|
-
"signature": "
|
|
11
|
+
"signature": "fdiRN4WE8J/2TGX42kRLYsbEvpTiynHEl/uh0b3FnemKLzqEfcBi7gRVbSTzoJLzUg1K4jM9uqYUH9jxexvuDg==",
|
|
12
12
|
"algorithm": "ed25519"
|
|
13
13
|
}
|
package/catalog-manifest.json
CHANGED
|
@@ -52,8 +52,8 @@ export function generateSettings(options) {
|
|
|
52
52
|
};
|
|
53
53
|
}
|
|
54
54
|
// Note: Claude Code expects 'model' to be a string, not an object
|
|
55
|
-
//
|
|
56
|
-
|
|
55
|
+
// Additional ruflo-specific model preferences live in claudeFlow.modelPreferences below
|
|
56
|
+
settings.model = 'claude-sonnet-5';
|
|
57
57
|
// Add Agent Teams configuration (experimental feature)
|
|
58
58
|
settings.env = {
|
|
59
59
|
// Enable Claude Code Agent Teams for multi-agent coordination
|
|
@@ -74,7 +74,7 @@ export function generateSettings(options) {
|
|
|
74
74
|
shell: platform.shell,
|
|
75
75
|
},
|
|
76
76
|
modelPreferences: {
|
|
77
|
-
default: 'claude-
|
|
77
|
+
default: 'claude-sonnet-5',
|
|
78
78
|
routing: 'claude-haiku-4-5-20251001',
|
|
79
79
|
},
|
|
80
80
|
agentTeams: {
|
|
@@ -33,7 +33,7 @@ export interface AgentRecord {
|
|
|
33
33
|
openrouterModel?: string;
|
|
34
34
|
lastResult?: Record<string, unknown>;
|
|
35
35
|
}
|
|
36
|
-
export declare const DEFAULT_ANTHROPIC_MODEL = "claude-sonnet-
|
|
36
|
+
export declare const DEFAULT_ANTHROPIC_MODEL = "claude-sonnet-5";
|
|
37
37
|
export declare function modelRejectsSamplingParams(model: string): boolean;
|
|
38
38
|
export interface AnthropicCallInput {
|
|
39
39
|
prompt: string;
|
|
@@ -35,25 +35,27 @@ function saveAgentStore(store) {
|
|
|
35
35
|
// #1906/#2232 — Current model ids (Claude 4.x family):
|
|
36
36
|
// Opus 4.8 → claude-opus-4-8 (current, the `opus` alias)
|
|
37
37
|
// Opus 4.7 → claude-opus-4-7 (prior pin, reachable via `opus-4.7`)
|
|
38
|
-
// Sonnet
|
|
38
|
+
// Sonnet 5 → claude-sonnet-5 (current, the `sonnet` alias)
|
|
39
|
+
// Sonnet 4.6 → claude-sonnet-4-6 (prior pin, reachable via `sonnet-4.6`)
|
|
39
40
|
// Haiku 4.5 → claude-haiku-4-5-20251001
|
|
40
|
-
// `inherit` and the various defaults below all map to Sonnet
|
|
41
|
-
export const DEFAULT_ANTHROPIC_MODEL = 'claude-sonnet-
|
|
41
|
+
// `inherit` and the various defaults below all map to Sonnet 5.
|
|
42
|
+
export const DEFAULT_ANTHROPIC_MODEL = 'claude-sonnet-5';
|
|
42
43
|
const MODEL_MAP = {
|
|
43
44
|
haiku: 'claude-haiku-4-5-20251001',
|
|
44
|
-
sonnet: 'claude-sonnet-
|
|
45
|
+
sonnet: 'claude-sonnet-5',
|
|
46
|
+
'sonnet-4.6': 'claude-sonnet-4-6',
|
|
45
47
|
opus: 'claude-opus-4-8',
|
|
46
48
|
'opus-4.7': 'claude-opus-4-7',
|
|
47
49
|
inherit: DEFAULT_ANTHROPIC_MODEL,
|
|
48
50
|
};
|
|
49
|
-
// #2357 — the adaptive-thinking family (Fable 5, Opus 4.8, Opus 4.7)
|
|
50
|
-
// the sampling parameters (temperature/top_p/top_k); the Anthropic API
|
|
51
|
+
// #2357 — the adaptive-thinking family (Fable 5, Opus 4.8, Opus 4.7, Sonnet 5)
|
|
52
|
+
// removed the sampling parameters (temperature/top_p/top_k); the Anthropic API
|
|
51
53
|
// returns 400 "Extra inputs are not permitted" when any is present.
|
|
52
54
|
// Prefix-match so dated snapshots (e.g. claude-opus-4-8-YYYYMMDD) are
|
|
53
55
|
// covered. Applies only to the direct Anthropic path — the Ollama/OpenRouter
|
|
54
56
|
// OpenAI-compat paths accept temperature and are unchanged.
|
|
55
57
|
export function modelRejectsSamplingParams(model) {
|
|
56
|
-
return /^claude-(fable-5|opus-4-8|opus-4-7)/.test(model);
|
|
58
|
+
return /^claude-(fable-5|opus-4-8|opus-4-7|sonnet-5)/.test(model);
|
|
57
59
|
}
|
|
58
60
|
/**
|
|
59
61
|
* Generic Anthropic Messages API call. No agent registry coupling — used
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@claude-flow/cli",
|
|
3
|
-
"version": "3.30.
|
|
3
|
+
"version": "3.30.5",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Ruflo CLI - Enterprise AI agent orchestration with 60+ specialized agents, swarm coordination, MCP server, self-learning hooks, and vector memory for Claude Code",
|
|
6
6
|
"main": "dist/src/index.js",
|