@clawos-dev/clawd 0.2.13-beta.16.96858c7 → 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.
- package/dist/cli.cjs +3 -6
- 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:
|
|
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
|
-
|
|
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