refactor: rename clawdbot to moltbot with legacy compat

This commit is contained in:
Peter Steinberger
2026-01-27 12:19:58 +00:00
parent 83460df96f
commit 6d16a658e5
1839 changed files with 11250 additions and 11199 deletions

View File

@@ -1,6 +1,6 @@
import AppKit
import ClawdbotDiscovery
import ClawdbotIPC
import MoltbotDiscovery
import MoltbotIPC
import Foundation
import SwiftUI
@@ -35,7 +35,7 @@ extension OnboardingView {
user: user,
host: host,
port: gateway.sshPort)
ClawdbotConfigFile.setRemoteGatewayUrl(host: host, port: gateway.gatewayPort)
MoltbotConfigFile.setRemoteGatewayUrl(host: host, port: gateway.gatewayPort)
}
self.state.remoteCliPath = gateway.cliPath ?? ""
@@ -67,7 +67,7 @@ extension OnboardingView {
}
func finish() {
UserDefaults.standard.set(true, forKey: "clawdbot.onboardingSeen")
UserDefaults.standard.set(true, forKey: "moltbot.onboardingSeen")
UserDefaults.standard.set(currentOnboardingVersion, forKey: onboardingVersionKey)
OnboardingController.shared.close()
}
@@ -113,9 +113,9 @@ extension OnboardingView {
code: parsed.code,
state: parsed.state,
verifier: pkce.verifier)
try ClawdbotOAuthStore.saveAnthropicOAuth(creds)
try MoltbotOAuthStore.saveAnthropicOAuth(creds)
self.refreshAnthropicOAuthStatus()
self.anthropicAuthStatus = "Connected. Clawdbot can now use Claude."
self.anthropicAuthStatus = "Connected. Moltbot can now use Claude."
} catch {
self.anthropicAuthStatus = "OAuth failed: \(error.localizedDescription)"
}