@andyqiu/codeforge 0.7.9 → 0.8.0
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/README.md +5 -1
- package/agents/codeforge.md +6 -7
- package/agents/coder-deep.md +3 -4
- package/agents/coder-quick.md +1 -1
- package/agents/coder.md +2 -3
- package/agents/discover-challenger.md +4 -5
- package/agents/discover.md +3 -4
- package/agents/planner.md +2 -2
- package/agents/reviewer-lite.md +9 -3
- package/agents/reviewer.md +6 -4
- package/bin/codeforge.mjs +4 -3
- package/codeforge.json +37 -31
- package/dist/index.js +813 -397
- package/package.json +1 -1
- package/schemas/codeforge.schema.json +11 -1
- package/scripts/sync-agent-models.mjs +6 -0
package/package.json
CHANGED
|
@@ -182,7 +182,17 @@
|
|
|
182
182
|
"additionalProperties": true,
|
|
183
183
|
"properties": {
|
|
184
184
|
"type": { "type": "string", "enum": ["enabled", "disabled"] },
|
|
185
|
-
"budget_tokens": { "type": "integer", "minimum": 0 }
|
|
185
|
+
"budget_tokens": { "type": "integer", "minimum": 0 },
|
|
186
|
+
"reasoning_effort": {
|
|
187
|
+
"type": "string",
|
|
188
|
+
"enum": ["low", "medium", "high", "xhigh"],
|
|
189
|
+
"description": "OpenAI o-series / GPT-5.x reasoning effort level(跨家族隔离时使用,替代 budget_tokens)"
|
|
190
|
+
},
|
|
191
|
+
"thinking_level": {
|
|
192
|
+
"type": "string",
|
|
193
|
+
"enum": ["low", "medium", "high"],
|
|
194
|
+
"description": "Google Gemini thinking level(替代 budget_tokens)"
|
|
195
|
+
}
|
|
186
196
|
}
|
|
187
197
|
},
|
|
188
198
|
"AgentBinding": {
|
|
@@ -170,6 +170,12 @@ function applyToMarkdown(text, agentCfg) {
|
|
|
170
170
|
if (typeof agentCfg.thinking.budget_tokens === "number") {
|
|
171
171
|
newLines.push(` budget_tokens: ${agentCfg.thinking.budget_tokens}`)
|
|
172
172
|
}
|
|
173
|
+
if (typeof agentCfg.thinking.reasoning_effort === "string") {
|
|
174
|
+
newLines.push(` reasoning_effort: ${agentCfg.thinking.reasoning_effort}`)
|
|
175
|
+
}
|
|
176
|
+
if (typeof agentCfg.thinking.thinking_level === "string") {
|
|
177
|
+
newLines.push(` thinking_level: ${agentCfg.thinking.thinking_level}`)
|
|
178
|
+
}
|
|
173
179
|
}
|
|
174
180
|
if (Array.isArray(agentCfg.fallback_models) && agentCfg.fallback_models.length > 0) {
|
|
175
181
|
newLines.push(`fallback_models:`)
|