chore: remove old setup-embedded migration steps
The old migration flow (detect → validate → db → groups → env →
channel-auth → channels → tasks) ran inside `bash nanoclaw.sh` via
setup/auto.ts. Replaced by the standalone `bash migrate-v2.sh` flow.
Deleted:
- setup/migrate-v1.ts (orchestrator)
- setup/migrate-v1/{detect,validate,db,env,groups,channel-auth,channels,tasks}.ts
Kept:
- setup/migrate-v1/shared.ts (used by new migrate-v2/ steps)
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -14,6 +14,7 @@ const STEPS: Record<
|
||||
environment: () => import('./environment.js'),
|
||||
container: () => import('./container.js'),
|
||||
register: () => import('./register.js'),
|
||||
'pair-telegram': () => import('./pair-telegram.js'),
|
||||
groups: () => import('./groups.js'),
|
||||
'whatsapp-auth': () => import('./whatsapp-auth.js'),
|
||||
'signal-auth': () => import('./signal-auth.js'),
|
||||
@@ -23,14 +24,6 @@ const STEPS: Record<
|
||||
onecli: () => import('./onecli.js'),
|
||||
auth: () => import('./auth.js'),
|
||||
'cli-agent': () => import('./cli-agent.js'),
|
||||
'migrate-detect': () => import('./migrate-v1/detect.js'),
|
||||
'migrate-validate': () => import('./migrate-v1/validate.js'),
|
||||
'migrate-db': () => import('./migrate-v1/db.js'),
|
||||
'migrate-groups': () => import('./migrate-v1/groups.js'),
|
||||
'migrate-env': () => import('./migrate-v1/env.js'),
|
||||
'migrate-channel-auth': () => import('./migrate-v1/channel-auth.js'),
|
||||
'migrate-channels': () => import('./migrate-v1/channels.js'),
|
||||
'migrate-tasks': () => import('./migrate-v1/tasks.js'),
|
||||
};
|
||||
|
||||
async function main(): Promise<void> {
|
||||
|
||||
Reference in New Issue
Block a user