Commit Graph

3 Commits

Author SHA1 Message Date
ywkj a22aefd695 fix: createEnvConfig() now calls loadGlobalEnv() + export functional API
Root cause: 1688-product-master uses the functional API (createEnvConfig,
getAccessToken, requestApi) which never loaded ~/.openclaw/.env, so
CLIENT_KEY was always empty at runtime.

- auth.ts: createEnvConfig() now calls loadGlobalEnv() first
- index.ts: export all functional API + requestApi from main entry
- Bump version to 1.1.0

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-20 06:42:07 +08:00
ywkj 0906ea5d52 fix: rebuild dist with SkillClient + env reload logic
dist/ was stale — missing loadGlobalEnv in client.js, causing bundled
skills to never read ~/.openclaw/.env at runtime.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-20 06:38:01 +08:00
ivanberry 70cf86889e feat: initial auth-runtime module 2026-03-12 07:33:43 +08:00