mirror of
https://github.com/hanzoai/bot.git
synced 2026-10-30 17:24:26 +00:00
Complete rename of all OpenClaw/OPENCLAW/openclaw references to Hanzo Bot/BOT/bot naming convention: - Env vars: OPENCLAW_* → BOT_* (18 patterns) - Config: ~/.openclaw/ → ~/.bot/, openclaw.json → bot.json - Packages: @openclaw/* → @hanzo/bot-* - Domains: openclaw.ai → hanzo.bot - Mobile: OpenClawKit → BotKit, bundle IDs ai.openclaw → ai.hanzo.bot - mDNS: _openclaw-gw._tcp → _bot-gw._tcp - Docker: CMD hanzo-bot.mjs, BOT_PREFER_PNPM, BOT_DOCKER_APT_PACKAGES - CI: docker-release.yml adds :latest tag on main branch
49 lines
2.3 KiB
Swift
49 lines
2.3 KiB
Swift
import Foundation
|
|
|
|
// Stable identifier used for both the macOS LaunchAgent label and Nix-managed defaults suite.
|
|
// nix-hanzo-bot writes app defaults into this suite to survive app bundle identifier churn.
|
|
let launchdLabel = "ai.hanzo.bot.mac"
|
|
let gatewayLaunchdLabel = "ai.hanzo.bot.gateway"
|
|
let onboardingVersionKey = "bot.onboardingVersion"
|
|
let onboardingSeenKey = "bot.onboardingSeen"
|
|
let currentOnboardingVersion = 7
|
|
let pauseDefaultsKey = "bot.pauseEnabled"
|
|
let iconAnimationsEnabledKey = "bot.iconAnimationsEnabled"
|
|
let swabbleEnabledKey = "bot.swabbleEnabled"
|
|
let swabbleTriggersKey = "bot.swabbleTriggers"
|
|
let voiceWakeTriggerChimeKey = "bot.voiceWakeTriggerChime"
|
|
let voiceWakeSendChimeKey = "bot.voiceWakeSendChime"
|
|
let showDockIconKey = "bot.showDockIcon"
|
|
let defaultVoiceWakeTriggers = ["hanzo-bot"]
|
|
let voiceWakeMaxWords = 32
|
|
let voiceWakeMaxWordLength = 64
|
|
let voiceWakeMicKey = "bot.voiceWakeMicID"
|
|
let voiceWakeMicNameKey = "bot.voiceWakeMicName"
|
|
let voiceWakeLocaleKey = "bot.voiceWakeLocaleID"
|
|
let voiceWakeAdditionalLocalesKey = "bot.voiceWakeAdditionalLocaleIDs"
|
|
let voicePushToTalkEnabledKey = "bot.voicePushToTalkEnabled"
|
|
let talkEnabledKey = "bot.talkEnabled"
|
|
let iconOverrideKey = "bot.iconOverride"
|
|
let connectionModeKey = "bot.connectionMode"
|
|
let remoteTargetKey = "bot.remoteTarget"
|
|
let remoteIdentityKey = "bot.remoteIdentity"
|
|
let remoteProjectRootKey = "bot.remoteProjectRoot"
|
|
let remoteCliPathKey = "bot.remoteCliPath"
|
|
let canvasEnabledKey = "bot.canvasEnabled"
|
|
let cameraEnabledKey = "bot.cameraEnabled"
|
|
let systemRunPolicyKey = "bot.systemRunPolicy"
|
|
let systemRunAllowlistKey = "bot.systemRunAllowlist"
|
|
let systemRunEnabledKey = "bot.systemRunEnabled"
|
|
let locationModeKey = "bot.locationMode"
|
|
let locationPreciseKey = "bot.locationPreciseEnabled"
|
|
let peekabooBridgeEnabledKey = "bot.peekabooBridgeEnabled"
|
|
let deepLinkKeyKey = "bot.deepLinkKey"
|
|
let modelCatalogPathKey = "bot.modelCatalogPath"
|
|
let modelCatalogReloadKey = "bot.modelCatalogReload"
|
|
let cliInstallPromptedVersionKey = "bot.cliInstallPromptedVersion"
|
|
let heartbeatsEnabledKey = "bot.heartbeatsEnabled"
|
|
let debugPaneEnabledKey = "bot.debugPaneEnabled"
|
|
let debugFileLogEnabledKey = "bot.debug.fileLogEnabled"
|
|
let appLogLevelKey = "bot.debug.appLogLevel"
|
|
let voiceWakeSupported: Bool = ProcessInfo.processInfo.operatingSystemVersion.majorVersion >= 26
|