You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The OpenClaw → RemoteClaw import command (`src/commands/import.ts`) copies and transforms config files from `/.openclaw/` to `/.remoteclaw/`. After #415 Phase 1 and auth store relocation (#438), import needs adaptation for:
Global auth store (refactor(auth): relocate auth store from per-agent to global path #438): OpenClaw stores auth profiles per-agent at `/.openclaw/agents/{id}/agent/auth-profiles.json`. RemoteClaw now uses a single global store at `/.remoteclaw/auth-profiles.json`. Import must consolidate per-agent files into the global store.
Missing `auth` config field: OpenClaw configs don't have the `auth` field. Imported configs will have auth profiles but no config field pointing to them — credentials are silently unused.
Context
The OpenClaw → RemoteClaw import command (`src/commands/import.ts`) copies and transforms config files from `
/.openclaw/` to `/.remoteclaw/`. After #415 Phase 1 and auth store relocation (#438), import needs adaptation for:/.openclaw/agents/{id}/agent/auth-profiles.json`. RemoteClaw now uses a single global store at `/.remoteclaw/auth-profiles.json`. Import must consolidate per-agent files into the global store.Current import behavior
Required changes
1. Consolidate per-agent auth files into global store
During import:
2. Materialize `auth` config field
Add a transform step (similar to `materializeWorkspaceDefaults`) that:
3. Provider mapping for auto-detection
Tests
Depends on
Related