Commit Graph

19 Commits (4e07bdbdfd1bb0b838dcb78df2be0dd38e26f7c0)

Author SHA1 Message Date
Peter Steinberger 4e07bdbdfd fix(cron): restore isolated delivery defaults 9 months ago
Vincent Koc c5fb661742 Daemon CLI: resolve token drift from gateway credentials 9 months ago
Peter Steinberger 265367d99b fix(gateway): land #28428 from @l0cka
Landed from contributor PR #28428 by @l0cka.

Co-authored-by: Daniel Alkurdi <danielalkurdi@gmail.com>
9 months ago
Josh Avant 72cf9253fc
Gateway: add SecretRef support for gateway.auth.token with auth-mode guardrails (#35094) 9 months ago
Peter Steinberger 08431da5d5 refactor(gateway): unify credential precedence across entrypoints 9 months ago
Peter Steinberger 905e355f65 fix: verify gateway restart health after daemon restart 9 months ago
Peter Steinberger a99fd8f2dd refactor: reuse daemon action response type in lifecycle core 9 months ago
Peter Steinberger c7458782b8 refactor(cli): dedupe service-load and command-removal loops 9 months ago
Peter Steinberger b8b43175c5 style: align formatting with oxfmt 0.33 9 months ago
Peter Steinberger 31f9be126c style: run oxfmt and fix gate failures 9 months ago
Sebastian 111a24d55c fix(daemon): scope token drift warnings 9 months ago
cpojer d0cb8c19b2
chore: wtf. 9 months ago
Sebastian ed11e93cf2 chore(format) 9 months ago
cpojer 90ef2d6bdf
chore: Update formatting. 9 months ago
Peter Steinberger eaa2f7a7bf fix(ci): restore main lint/typecheck after direct merges 9 months ago
Operative-001 d0a5ee0176 fix: include token drift warning in JSON response
Address review feedback - when --json mode is used, the drift warning
was completely suppressed. Now it's included in the warnings array
of the DaemonActionResponse so programmatic consumers can surface it.
9 months ago
Operative-001 d6e85aa6ba fix(daemon): warn on token drift during restart (#18018)
When the gateway token in config differs from the token embedded in the
service plist/unit file, restart will not apply the new token. This can
cause silent auth failures after OAuth token switches.

Changes:
- Add checkTokenDrift() to service-audit.ts
- Call it in runServiceRestart() before restarting
- Warn user with suggestion to run 'openclaw gateway install --force'

Closes #18018
9 months ago
Peter Steinberger 5c7869ae6c refactor(daemon-cli): dedupe not-loaded hints 9 months ago
Peter Steinberger 1b9c1c648d refactor(daemon): share service lifecycle runner 9 months ago