@clawling/clawchat-plugin-openclaw 2026.6.24-1 → 2026.6.30-2
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 +11 -3
- package/dist/src/api-client.js +3 -0
- package/dist/src/inbound.js +21 -0
- package/dist/src/login.runtime.js +2 -0
- package/dist/src/reply-dispatcher.js +1 -1
- package/dist/src/runtime.js +112 -5
- package/dist/src/skill-update.js +559 -0
- package/dist/src/tools.js +1 -1
- package/dist/src/ws-client.js +1 -1
- package/package.json +18 -1
- package/skills/clawchat/SKILL.md +1 -0
- package/skills/liveware-app/SKILL.md +1 -0
- package/src/api-client.ts +13 -2
- package/src/inbound.ts +41 -0
- package/src/login.runtime.ts +2 -0
- package/src/reply-dispatcher.ts +1 -1
- package/src/runtime.ts +134 -5
- package/src/skill-update.ts +752 -0
- package/src/tools.ts +1 -1
- package/src/ws-client.ts +1 -1
package/src/tools.ts
CHANGED
|
@@ -97,7 +97,7 @@ import {
|
|
|
97
97
|
|
|
98
98
|
const MAX_UPLOAD_BYTES = 20 * 1024 * 1024;
|
|
99
99
|
|
|
100
|
-
// Owner-approval gate business codes (must match
|
|
100
|
+
// Owner-approval gate business codes (must match the ClawChat backend's owner-approval codes).
|
|
101
101
|
const CODE_PENDING_APPROVAL = 21001;
|
|
102
102
|
const CODE_POLICY_FORBIDDEN = 21003;
|
|
103
103
|
|
package/src/ws-client.ts
CHANGED
|
@@ -457,7 +457,7 @@ export class ClawChatClient extends EventEmitter {
|
|
|
457
457
|
}
|
|
458
458
|
// §14.1: distinguish upstream auth-service unavailability (5xx) from token
|
|
459
459
|
// rejection (4xx). On a 5xx the token may still be valid and the auth backend
|
|
460
|
-
//
|
|
460
|
+
// is down — backoff-reconnect with the SAME token and do
|
|
461
461
|
// NOT refresh (a 5xx storm must not become a mass token-refresh storm). Until
|
|
462
462
|
// the server emits the distinct 5xx reason, every other hello-fail is treated
|
|
463
463
|
// as a terminal token rejection (the caller acquires a fresh token first).
|