@andyqiu/codeforge 0.5.17 → 0.5.19

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.
@@ -15,7 +15,7 @@ permissions:
15
15
  bash: allow
16
16
  webfetch: deny
17
17
  allowed_tools: [ast_edit, plan_read, smart_search, bash, task]
18
- model: anthropic/claude-opus-4-7
18
+ model: anthropic/claude-opus-4-8
19
19
  model_category: deep
20
20
  tier: deep
21
21
  model_thinking:
@@ -33,7 +33,7 @@ allowed_tools:
33
33
  - save_chat_insight
34
34
  - task
35
35
  - skill
36
- model: anthropic/claude-opus-4-7
36
+ model: anthropic/claude-opus-4-8
37
37
  model_category: deep
38
38
  tier: deep
39
39
  model_thinking:
package/agents/planner.md CHANGED
@@ -15,7 +15,7 @@ permissions:
15
15
  bash: allow
16
16
  webfetch: allow
17
17
  allowed_tools: [smart_search, repo_map, read, webfetch, plan_write]
18
- model: anthropic/claude-opus-4-7
18
+ model: anthropic/claude-opus-4-8
19
19
  model_category: deep
20
20
  tier: deep
21
21
  model_thinking:
package/codeforge.json CHANGED
@@ -3,13 +3,13 @@
3
3
  "_doc": "CodeForge 总配置文件。所有 agent 的模型映射 + 全局运行时偏好。改完跑 `npm run sync:models` 把 models 同步到 agents/*.md。",
4
4
 
5
5
  "models": {
6
- "_doc": "agent → 主模型 + fallback 链。效果优先:主模型用各家最新旗舰,fallback 跨家保高可用。Anthropic Opus 4.7 / Sonnet 4.6 / Haiku 4.5;OpenAI GPT-5.5 (2026-04-23) / GPT-5.4;Google Gemini 3 Pro / 2.5 Pro。",
7
- "default": "anthropic/claude-opus-4-7",
6
+ "_doc": "agent → 主模型 + fallback 链。效果优先:主模型用各家最新旗舰,fallback 跨家保高可用。Anthropic Opus 4.8 / Sonnet 4.6 / Haiku 4.5;OpenAI GPT-5.5 (2026-04-23) / GPT-5.4;Google Gemini 3 Pro / 2.5 Pro。",
7
+ "default": "anthropic/claude-opus-4-8",
8
8
 
9
9
  "agents": {
10
10
  "planner": {
11
11
  "_doc": "规划者:复杂推理 + 长程规划,需要最强模型 + 大 thinking budget。",
12
- "model": "anthropic/claude-opus-4-7",
12
+ "model": "anthropic/claude-opus-4-8",
13
13
  "category": "deep",
14
14
  "tier": "deep",
15
15
  "thinking": { "type": "enabled", "budget_tokens": 8000 },
@@ -27,7 +27,7 @@
27
27
  "thinking": { "type": "enabled", "budget_tokens": 4000 },
28
28
  "fallback_models": [
29
29
  "openai/gpt-5.5",
30
- "anthropic/claude-opus-4-7",
30
+ "anthropic/claude-opus-4-8",
31
31
  "google/gemini-3-pro"
32
32
  ]
33
33
  },
@@ -44,7 +44,7 @@
44
44
  },
45
45
  "coder-deep": {
46
46
  "_doc": "编码者(深度档):Opus + 大 thinking,适合跨 3+ 文件重构 / 安全改动 / 数据迁移。",
47
- "model": "anthropic/claude-opus-4-7",
47
+ "model": "anthropic/claude-opus-4-8",
48
48
  "category": "deep",
49
49
  "tier": "deep",
50
50
  "thinking": { "type": "enabled", "budget_tokens": 8000 },
@@ -61,14 +61,14 @@
61
61
  "tier": "deep",
62
62
  "thinking": { "type": "enabled", "budget_tokens": 2000 },
63
63
  "fallback_models": [
64
- "anthropic/claude-opus-4-7",
64
+ "anthropic/claude-opus-4-8",
65
65
  "anthropic/claude-sonnet-4-6",
66
66
  "google/gemini-3-pro"
67
67
  ]
68
68
  },
69
69
  "discover": {
70
70
  "_doc": "需求澄清者(采访人设):长程对话 + 强 thinking,复用 planner 同档(Opus deep)。",
71
- "model": "anthropic/claude-opus-4-7",
71
+ "model": "anthropic/claude-opus-4-8",
72
72
  "category": "deep",
73
73
  "tier": "deep",
74
74
  "thinking": { "type": "enabled", "budget_tokens": 6000 },
@@ -85,7 +85,7 @@
85
85
  "tier": "deep",
86
86
  "thinking": { "type": "enabled", "budget_tokens": 3000 },
87
87
  "fallback_models": [
88
- "anthropic/claude-opus-4-7",
88
+ "anthropic/claude-opus-4-8",
89
89
  "anthropic/claude-sonnet-4-6",
90
90
  "google/gemini-3-pro"
91
91
  ]
@@ -94,15 +94,15 @@
94
94
 
95
95
  "categories": {
96
96
  "deep": {
97
- "_doc": "用于规划 / 架构 / 复杂推理(Opus 4.7 + 8K thinking)",
98
- "model": "anthropic/claude-opus-4-7",
97
+ "_doc": "用于规划 / 架构 / 复杂推理(Opus 4.8 + 8K thinking)",
98
+ "model": "anthropic/claude-opus-4-8",
99
99
  "thinking": { "type": "enabled", "budget_tokens": 8000 },
100
100
  "fallback_models": ["openai/gpt-5.5", "anthropic/claude-sonnet-4-6"]
101
101
  },
102
102
  "ultrabrain": {
103
103
  "_doc": "用于代码审查 / 独立评估 / 跨视角(GPT-5.5 旗舰)",
104
104
  "model": "openai/gpt-5.5",
105
- "fallback_models": ["anthropic/claude-opus-4-7", "anthropic/claude-sonnet-4-6"]
105
+ "fallback_models": ["anthropic/claude-opus-4-8", "anthropic/claude-sonnet-4-6"]
106
106
  },
107
107
  "balanced": {
108
108
  "_doc": "速度+智能平衡(Sonnet 4.6 + 4K thinking)",
package/dist/index.js CHANGED
@@ -13281,10 +13281,7 @@ async function mergeSessionBack(opts) {
13281
13281
  ]);
13282
13282
  const stagedPaths = stagedRaw.split(/\r?\n/).map((s) => s.trim()).filter(Boolean);
13283
13283
  const canSkipDevOnce = await shouldSkipDevOnce(mainRoot, stagedPaths, wt);
13284
- if (canSkipDevOnce) {
13285
- const sourceCount = stagedPaths.filter((p) => /^(plugins|lib|src)\//.test(p) && !/\.(md|test\.ts)$/.test(p)).length;
13286
- console.log(`[session-worktree] skip ${buildScript}: dist 已是最新(${sourceCount} staged 源文件 mtime <= dist mtime)`);
13287
- } else {
13284
+ if (canSkipDevOnce) {} else {
13288
13285
  try {
13289
13286
  await runCmd("npm", ["run", buildScript], mainRoot);
13290
13287
  } catch (err) {
@@ -21790,7 +21787,7 @@ import * as zlib from "node:zlib";
21790
21787
  // lib/version-injected.ts
21791
21788
  function getInjectedVersion() {
21792
21789
  try {
21793
- const v = "0.5.17";
21790
+ const v = "0.5.19";
21794
21791
  if (typeof v === "string" && /^\d+\.\d+\.\d+/.test(v)) {
21795
21792
  return v;
21796
21793
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@andyqiu/codeforge",
3
- "version": "0.5.17",
3
+ "version": "0.5.19",
4
4
  "description": "CodeForge — opencode 的零侵入扩展包",
5
5
  "type": "module",
6
6
  "private": false,