mirror of
https://github.com/hanzoai/bot.git
synced 2026-10-30 17:24:26 +00:00
Comprehensive rename of all openclaw references to hanzo-bot equivalents: - Package: openclaw → @hanzo/bot - Binary: openclaw → hanzo-bot - Types: OpenClaw* → Bot* - Env vars: OPENCLAW_* → BOT_* - Android: ai.openclaw.android → ai.hanzo.bot.android - iOS/macOS: ai.openclaw.* → ai.hanzo.* - Swift modules: OpenClaw* → Bot* - Plugins: openclaw.plugin.json → bot.plugin.json - Paths: .openclaw/ → .hanzo/bot/ - URLs: github.com/openclaw → github.com/hanzoai
29 lines
771 B
Swift
29 lines
771 B
Swift
#if DEBUG
|
|
extension CronJobEditor {
|
|
mutating func exerciseForTesting() {
|
|
self.name = "Test job"
|
|
self.description = "Test description"
|
|
self.agentId = "ops"
|
|
self.enabled = true
|
|
self.sessionTarget = .isolated
|
|
self.wakeMode = .now
|
|
|
|
self.scheduleKind = .every
|
|
self.everyText = "15m"
|
|
|
|
self.payloadKind = .agentTurn
|
|
self.agentMessage = "Run diagnostic"
|
|
self.deliveryMode = .announce
|
|
self.channel = "last"
|
|
self.to = "+15551230000"
|
|
self.thinking = "low"
|
|
self.timeoutSeconds = "90"
|
|
self.bestEffortDeliver = true
|
|
|
|
_ = self.buildAgentTurnPayload()
|
|
_ = try? self.buildPayload()
|
|
_ = self.formatDuration(ms: 45000)
|
|
}
|
|
}
|
|
#endif
|