@dashclaw/openclaw-plugin 1.2.3 → 1.2.4

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": "dashclaw-governance",
3
3
  "name": "DashClaw Governance",
4
4
  "description": "Policy enforcement, human-in-the-loop approval, and decision recording for every OpenClaw tool call. Powered by DashClaw.",
5
- "version": "1.2.2",
5
+ "version": "1.2.4",
6
6
  "entry": "src/index.ts",
7
7
  "main": "./src/index.ts",
8
8
  "configSchema": {
@@ -31,6 +31,10 @@
31
31
  "default": "openclaw",
32
32
  "description": "Agent identifier in DashClaw"
33
33
  },
34
+ "defaultModel": {
35
+ "type": "string",
36
+ "description": "Fallback model id (e.g. 'openai-codex/gpt-5.4') used when llm_output events fire without a model field. Without this, server-side cost estimation cannot price the turn and stores cost_estimate = 0. Also settable via DASHCLAW_DEFAULT_MODEL env var."
37
+ },
34
38
  "failClosed": {
35
39
  "type": "boolean",
36
40
  "default": true,
@@ -55,6 +59,7 @@
55
59
  "baseUrl": { "label": "DashClaw URL (alias)", "advanced": true },
56
60
  "apiKey": { "sensitive": true, "label": "DashClaw API Key (alias)", "advanced": true },
57
61
  "agentId": { "label": "Agent ID" },
62
+ "defaultModel": { "label": "Default model (for cost pricing)", "placeholder": "openai-codex/gpt-5.4", "advanced": true },
58
63
  "failClosed": { "label": "Fail-closed when DashClaw unreachable", "advanced": true },
59
64
  "riskScoreDefault": { "label": "Default risk score", "advanced": true },
60
65
  "highRiskTools": { "label": "High-risk tool names", "advanced": true }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dashclaw/openclaw-plugin",
3
- "version": "1.2.3",
3
+ "version": "1.2.4",
4
4
  "description": "DashClaw governance for OpenClaw — policy enforcement, human approval, and decision recording for every tool call.",
5
5
  "main": "src/index.ts",
6
6
  "type": "module",
@@ -40,6 +40,7 @@
40
40
  "typecheck": "tsc --noEmit"
41
41
  },
42
42
  "dependencies": {
43
+ "@dashclaw/openclaw-plugin": "^1.2.3",
43
44
  "dashclaw": "^2.11.1"
44
45
  },
45
46
  "peerDependencies": {