@clawos-dev/clawd 0.2.13 → 0.2.14-beta.17.d77ff18

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.
Files changed (2) hide show
  1. package/dist/cli.cjs +3 -6
  2. package/package.json +1 -1
package/dist/cli.cjs CHANGED
@@ -12967,8 +12967,8 @@ function applyParsedEvent(state, event, deps) {
12967
12967
  requestId,
12968
12968
  tool,
12969
12969
  input
12970
- },
12971
- target: "first-subscriber"
12970
+ }
12971
+ // target 省略 = 'broadcast':所有订阅 client 都能看到,与 session:event 主路径同语义
12972
12972
  });
12973
12973
  }
12974
12974
  return { state: next, effects };
@@ -14052,10 +14052,7 @@ var SessionManager = class {
14052
14052
  }
14053
14053
  const pending = runner.getState().pendingPermissions[args.requestId];
14054
14054
  if (!pending) {
14055
- throw new ClawdError(
14056
- ERROR_CODES.PERMISSION_REQUEST_STALE,
14057
- `no pending permission request: ${args.requestId}`
14058
- );
14055
+ return { response: { ok: true }, broadcast: [] };
14059
14056
  }
14060
14057
  const { broadcast } = this.withCollector(() => {
14061
14058
  runner.input({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@clawos-dev/clawd",
3
- "version": "0.2.13",
3
+ "version": "0.2.14-beta.17.d77ff18",
4
4
  "description": "Standalone clawd daemon — Claude Code (and future Codex) session server over WebSocket",
5
5
  "type": "module",
6
6
  "license": "MIT",