openclaw-code-agent 4.2.4 → 4.3.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 +7 -2
- package/dist/index.js +137 -136
- package/openclaw.plugin.json +11 -5
- package/package.json +6 -6
- package/skills/code-agent-orchestration/SKILL.md +2 -1
package/openclaw.plugin.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"id": "openclaw-code-agent",
|
|
3
3
|
"name": "OpenClaw Code Agent",
|
|
4
4
|
"description": "Multi-session coding-agent orchestration from OpenClaw chat",
|
|
5
|
-
"version": "4.
|
|
5
|
+
"version": "4.3.0",
|
|
6
6
|
"contracts": {
|
|
7
7
|
"tools": [
|
|
8
8
|
"agent_launch",
|
|
@@ -77,7 +77,8 @@
|
|
|
77
77
|
"gpt-5.5",
|
|
78
78
|
"gpt-5.5-pro"
|
|
79
79
|
],
|
|
80
|
-
"reasoningEffort": "medium"
|
|
80
|
+
"reasoningEffort": "medium",
|
|
81
|
+
"fastMode": false
|
|
81
82
|
},
|
|
82
83
|
"claude-code": {
|
|
83
84
|
"defaultModel": "anthropic/claude-sonnet-4-7",
|
|
@@ -112,6 +113,11 @@
|
|
|
112
113
|
"max"
|
|
113
114
|
],
|
|
114
115
|
"description": "Harness-specific reasoning effort. Used by Codex and passed to Claude Code when configured."
|
|
116
|
+
},
|
|
117
|
+
"fastMode": {
|
|
118
|
+
"type": "boolean",
|
|
119
|
+
"default": false,
|
|
120
|
+
"description": "Codex-only fast service-tier mode. When true under harnesses.codex, new Codex App Server thread/resume/turn payloads include service_tier=\"fast\"."
|
|
115
121
|
}
|
|
116
122
|
}
|
|
117
123
|
}
|
|
@@ -200,7 +206,7 @@
|
|
|
200
206
|
"type": "string",
|
|
201
207
|
"default": "delegate",
|
|
202
208
|
"enum": ["off", "manual", "ask", "delegate", "auto-merge", "auto-pr"],
|
|
203
|
-
"description": "Default worktree strategy for all new sessions when agent_launch omits worktree_strategy. 'delegate' (default) creates an isolated worktree and wakes the orchestrator to decide follow-through autonomously. 'off' = no worktree. 'manual' = create worktree, no automatic action. 'ask' = push branch and notify the user with state-aware inline buttons such as Merge, Open PR, View PR, Sync PR, Later, and Discard. 'auto-merge' = auto-merge to base branch on completion. 'auto-pr' = auto-create or update a GitHub PR on completion."
|
|
209
|
+
"description": "Default worktree strategy for all new sessions when agent_launch omits worktree_strategy. 'delegate' (default) creates an isolated worktree and wakes the orchestrator to decide follow-through autonomously. 'off' = no worktree. 'manual' = create worktree, no automatic action. 'ask' = push branch and notify the user with state-aware inline buttons such as Merge, Open PR, View PR, Sync PR, Later, and Discard. 'auto-merge' = auto-merge to base branch on completion. 'auto-pr' = auto-create or update a GitHub PR on completion. Merge/PR outcomes deliver a canonical status, then request an orchestrator-owned routed summary."
|
|
204
210
|
},
|
|
205
211
|
"worktreeDir": {
|
|
206
212
|
"type": "string",
|
|
@@ -234,7 +240,7 @@
|
|
|
234
240
|
},
|
|
235
241
|
"harnesses": {
|
|
236
242
|
"label": "Harness configuration",
|
|
237
|
-
"help": "Per-harness defaults and model restrictions. Default: {\"codex\":{\"defaultModel\":\"gpt-5.5\",\"allowedModels\":[\"gpt-5.5\",\"gpt-5.5-pro\"],\"reasoningEffort\":\"medium\"},\"claude-code\":{\"defaultModel\":\"anthropic/claude-sonnet-4-7\",\"allowedModels\":[\"sonnet\",\"opus\"]}}.",
|
|
243
|
+
"help": "Per-harness defaults and model restrictions. Set harnesses.codex.fastMode=true to send service_tier=\"fast\" on Codex App Server thread/resume/turn payloads for Codex sessions. Default: {\"codex\":{\"defaultModel\":\"gpt-5.5\",\"allowedModels\":[\"gpt-5.5\",\"gpt-5.5-pro\"],\"reasoningEffort\":\"medium\",\"fastMode\":false},\"claude-code\":{\"defaultModel\":\"anthropic/claude-sonnet-4-7\",\"allowedModels\":[\"sonnet\",\"opus\"]}}.",
|
|
238
244
|
"advanced": true
|
|
239
245
|
},
|
|
240
246
|
"maxSessions": {
|
|
@@ -264,7 +270,7 @@
|
|
|
264
270
|
},
|
|
265
271
|
"defaultWorktreeStrategy": {
|
|
266
272
|
"label": "Default worktree strategy",
|
|
267
|
-
"help": "Applies to all sessions that don't specify worktree_strategy explicitly. 'delegate' (default) creates a worktree and wakes the orchestrator to decide follow-through. 'off' disables worktrees globally. 'ask' sends state-aware inline worktree buttons such as Merge, Open PR, View PR, Sync PR, Later, and Discard.
|
|
273
|
+
"help": "Applies to all sessions that don't specify worktree_strategy explicitly. 'delegate' (default) creates a worktree and wakes the orchestrator to decide follow-through. 'off' disables worktrees globally. 'ask' sends state-aware inline worktree buttons such as Merge, Open PR, View PR, Sync PR, Later, and Discard. Merge/PR outcomes send the canonical status first, then request an orchestrator-owned routed summary.",
|
|
268
274
|
"advanced": true
|
|
269
275
|
}
|
|
270
276
|
},
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "openclaw-code-agent",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.3.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"packageManager": "pnpm@10.30.0",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -34,8 +34,8 @@
|
|
|
34
34
|
"minGatewayVersion": "2026.4.21"
|
|
35
35
|
},
|
|
36
36
|
"build": {
|
|
37
|
-
"openclawVersion": "2026.5.
|
|
38
|
-
"pluginSdkVersion": "2026.5.
|
|
37
|
+
"openclawVersion": "2026.5.18",
|
|
38
|
+
"pluginSdkVersion": "2026.5.18"
|
|
39
39
|
}
|
|
40
40
|
},
|
|
41
41
|
"files": [
|
|
@@ -46,14 +46,14 @@
|
|
|
46
46
|
"LICENSE"
|
|
47
47
|
],
|
|
48
48
|
"dependencies": {
|
|
49
|
-
"@anthropic-ai/claude-agent-sdk": "^0.
|
|
49
|
+
"@anthropic-ai/claude-agent-sdk": "^0.3.142"
|
|
50
50
|
},
|
|
51
51
|
"devDependencies": {
|
|
52
52
|
"@sinclair/typebox": "^0.34.49",
|
|
53
53
|
"@types/node": "^25.5.2",
|
|
54
54
|
"esbuild": "^0.28.0",
|
|
55
55
|
"nanoid": "^5.1.7",
|
|
56
|
-
"openclaw": "2026.5.
|
|
56
|
+
"openclaw": "2026.5.18",
|
|
57
57
|
"tsx": "^4.21.0",
|
|
58
58
|
"typescript": "^6.0.2"
|
|
59
59
|
},
|
|
@@ -114,7 +114,7 @@
|
|
|
114
114
|
"brace-expansion@>=4.0.0 <5.0.5": ">=5.0.5",
|
|
115
115
|
"path-to-regexp@>=8.0.0 <8.4.0": ">=8.4.0",
|
|
116
116
|
"fast-xml-parser@>=5.0.0 <5.7.0": ">=5.7.0",
|
|
117
|
-
"@anthropic-ai/sdk@<0.
|
|
117
|
+
"@anthropic-ai/sdk@<0.93.0": "0.93.0",
|
|
118
118
|
"ip-address@<10.1.1": "10.1.1",
|
|
119
119
|
"fast-uri@<=3.1.1": "3.1.2",
|
|
120
120
|
"hono@<4.12.18": "4.12.18"
|
|
@@ -183,7 +183,8 @@ If `agent_worktree_status` reports `released`, the sandbox content is already la
|
|
|
183
183
|
- Read the diff context and decide whether a local merge is clearly safe.
|
|
184
184
|
- `agent_merge` is acceptable for low-risk, clearly scoped changes that match the task.
|
|
185
185
|
- Never call `agent_pr()` autonomously in delegate flows. Escalate PR decisions to the user.
|
|
186
|
-
- If
|
|
186
|
+
- If a merge/PR outcome wake has `completionWakeSummaryRequired=true`, read `agent_output(..., full=true)` when available and send one short factual summary. Honor the wake's origin route block; if it differs from the current chat, use a routed send path that preserves provider, target, and thread/topic.
|
|
187
|
+
- If the wake already says the plugin sent the canonical completion notification, do not repeat that status line. The follow-up summary is orchestrator-owned and should add only the useful confirmed outcome.
|
|
187
188
|
|
|
188
189
|
### `manual`
|
|
189
190
|
|