openclaw-code-agent 4.4.1 → 4.5.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.
@@ -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.4.1",
5
+ "version": "4.5.0",
6
6
  "contracts": {
7
7
  "tools": [
8
8
  "agent_launch",
@@ -14,6 +14,7 @@
14
14
  "agent_request_worktree_decision",
15
15
  "agent_send_plan_offer",
16
16
  "agent_stats",
17
+ "agent_repo_policy",
17
18
  "agent_merge",
18
19
  "agent_pr",
19
20
  "agent_worktree_cleanup",
@@ -53,6 +54,7 @@
53
54
  "agent_respond",
54
55
  "agent_sessions",
55
56
  "agent_stats",
57
+ "agent_policy",
56
58
  "goal",
57
59
  "goal_status",
58
60
  "goal_stop",
@@ -210,7 +212,7 @@
210
212
  "type": "string",
211
213
  "default": "delegate",
212
214
  "enum": ["off", "manual", "ask", "delegate", "auto-merge", "auto-pr"],
213
- "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."
215
+ "description": "Default worktree strategy for all new sessions when agent_launch omits worktree_strategy. Repo integration policy still governs whether merge or PR follow-through is allowed. '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' = notify the user with state-aware buttons such as Merge, Open PR, View PR, Sync PR, Later, and Discard when policy allows them. 'auto-merge' = request automatic merge to base branch on completion. 'auto-pr' = request automatic GitHub PR creation/update on completion."
214
216
  },
215
217
  "worktreeDir": {
216
218
  "type": "string",
@@ -274,7 +276,7 @@
274
276
  },
275
277
  "defaultWorktreeStrategy": {
276
278
  "label": "Default worktree strategy",
277
- "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.",
279
+ "help": "Applies to all sessions that don't specify worktree_strategy explicitly. Repo policy can downgrade unsafe or impossible merge/PR follow-through. '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 when policy allows them.",
278
280
  "advanced": true
279
281
  }
280
282
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "openclaw-code-agent",
3
- "version": "4.4.1",
3
+ "version": "4.5.0",
4
4
  "type": "module",
5
5
  "packageManager": "pnpm@10.30.0",
6
6
  "main": "dist/index.js",
@@ -36,8 +36,8 @@
36
36
  "minGatewayVersion": "2026.4.21"
37
37
  },
38
38
  "build": {
39
- "openclawVersion": "2026.6.1",
40
- "pluginSdkVersion": "2026.6.1"
39
+ "openclawVersion": "2026.6.5",
40
+ "pluginSdkVersion": "2026.6.5"
41
41
  }
42
42
  },
43
43
  "files": [
@@ -54,7 +54,7 @@
54
54
  "@types/node": "^25.5.2",
55
55
  "esbuild": "^0.28.0",
56
56
  "nanoid": "^5.1.7",
57
- "openclaw": "2026.6.1",
57
+ "openclaw": "2026.6.5",
58
58
  "tsx": "^4.21.0",
59
59
  "typescript": "^6.0.2"
60
60
  },
@@ -1,6 +1,6 @@
1
1
  ---
2
- name: Code Agent Orchestration
3
- description: Skill for orchestrating coding agent sessions from OpenClaw. Covers launching, monitoring, plan approval, lifecycle management, and worktree decisions.
2
+ name: Code Agent Orchestration (OCA)
3
+ description: Skill for orchestrating coding agent sessions from OpenClaw, including OCA requests such as "let oca do...", "ask oca to...", or "have oca handle...". Covers launching, monitoring, plan approval, lifecycle management, and worktree decisions.
4
4
  metadata:
5
5
  openclaw:
6
6
  homepage: https://github.com/goldmar/openclaw-code-agent
@@ -16,7 +16,7 @@ metadata:
16
16
 
17
17
  # Code Agent Orchestration
18
18
 
19
- Use `openclaw-code-agent` to run Claude Code, Codex, or experimental OpenCode sessions as background coding jobs from chat.
19
+ Use `openclaw-code-agent` to run Claude Code, Codex, or experimental OpenCode sessions as background coding jobs from chat. Treat `oca` as the built-in short name for OpenClaw Code Agent when a user says phrases such as "let oca do ...", "ask oca to ...", or "have oca handle ...".
20
20
 
21
21
  ## Launch
22
22