@chrysb/alphaclaw 0.9.5 → 0.9.7

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 (32) hide show
  1. package/README.md +3 -2
  2. package/lib/public/assets/icons/whatsapp.svg +14 -0
  3. package/lib/public/css/tailwind.generated.css +1 -1
  4. package/lib/public/dist/app.bundle.js +2031 -1925
  5. package/lib/public/js/components/agents-tab/create-channel-modal.js +30 -13
  6. package/lib/public/js/components/channel-login-modal.js +82 -0
  7. package/lib/public/js/components/channels.js +347 -1
  8. package/lib/public/js/components/general/index.js +56 -8
  9. package/lib/public/js/components/modal-shell.js +18 -2
  10. package/lib/public/js/components/onboarding/welcome-pairing-step.js +11 -6
  11. package/lib/public/js/components/pairings.js +1 -1
  12. package/lib/public/js/components/welcome/index.js +0 -1
  13. package/lib/public/js/components/welcome/use-welcome.js +1 -1
  14. package/lib/public/js/lib/api.js +23 -0
  15. package/lib/public/js/lib/channel-provider-availability.js +1 -1
  16. package/lib/server/agents/channels.js +268 -4
  17. package/lib/server/agents/service.js +2 -0
  18. package/lib/server/agents/shared.js +133 -42
  19. package/lib/server/alphaclaw-version.js +7 -3
  20. package/lib/server/commands.js +5 -1
  21. package/lib/server/constants.js +7 -0
  22. package/lib/server/gateway.js +61 -18
  23. package/lib/server/onboarding/import/secret-detector.js +9 -0
  24. package/lib/server/onboarding/openclaw.js +39 -0
  25. package/lib/server/onboarding/validation.js +1 -1
  26. package/lib/server/routes/agents.js +39 -0
  27. package/lib/server/routes/pairings.js +2 -2
  28. package/lib/server/watchdog-notify.js +54 -13
  29. package/lib/server.js +1 -0
  30. package/package.json +2 -2
  31. package/patches/openclaw+2026.4.14.patch +13 -0
  32. package/patches/openclaw+2026.4.11.patch +0 -13
package/lib/server.js CHANGED
@@ -232,6 +232,7 @@ const watchdogNotifier = createWatchdogNotifier({
232
232
  telegramApi,
233
233
  discordApi,
234
234
  slackApi,
235
+ clawCmd,
235
236
  readEnvFile,
236
237
  });
237
238
  const watchdog = createWatchdog({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@chrysb/alphaclaw",
3
- "version": "0.9.5",
3
+ "version": "0.9.7",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -36,7 +36,7 @@
36
36
  "dependencies": {
37
37
  "express": "^4.21.0",
38
38
  "http-proxy": "^1.18.1",
39
- "openclaw": "2026.4.11",
39
+ "openclaw": "2026.4.14",
40
40
  "patch-package": "^8.0.1",
41
41
  "ws": "^8.19.0"
42
42
  },
@@ -0,0 +1,13 @@
1
+ diff --git a/node_modules/openclaw/dist/server.impl-BbJvXoPb.js b/node_modules/openclaw/dist/server.impl-BbJvXoPb.js
2
+ index a5be9f5d..72e3db5b 100644
3
+ --- a/node_modules/openclaw/dist/server.impl-BbJvXoPb.js
4
+ +++ b/node_modules/openclaw/dist/server.impl-BbJvXoPb.js
5
+ @@ -22272,7 +22272,7 @@ function attachGatewayWsMessageHandler(params) {
6
+ close(1008, truncateCloseReason(authMessage));
7
+ };
8
+ const clearUnboundScopes = () => {
9
+ - if (scopes.length > 0) {
10
+ + if (scopes.length > 0 && !sharedAuthOk) {
11
+ scopes = [];
12
+ connectParams.scopes = scopes;
13
+ }
@@ -1,13 +0,0 @@
1
- diff --git a/node_modules/openclaw/dist/server.impl-CsRRyd9F.js b/node_modules/openclaw/dist/server.impl-CsRRyd9F.js
2
- index f2524dda..10e094ae 100644
3
- --- a/node_modules/openclaw/dist/server.impl-CsRRyd9F.js
4
- +++ b/node_modules/openclaw/dist/server.impl-CsRRyd9F.js
5
- @@ -23854,7 +23854,7 @@ function attachGatewayWsMessageHandler(params) {
6
- close(1008, truncateCloseReason(authMessage));
7
- };
8
- const clearUnboundScopes = () => {
9
- - if (scopes.length > 0) {
10
- + if (scopes.length > 0 && !sharedAuthOk) {
11
- scopes = [];
12
- connectParams.scopes = scopes;
13
- }