openclaw
Version:
Multi-channel AI gateway with extensible messaging integrations
1 lines • 17.6 kB
JavaScript
import{n as e}from"./rolldown-runtime-CNOWq4Kh.js";import{Oa as t,ka as n}from"./control-ui-connection-Bfj9beF_.js";var r,i;function a(){return(a=e((()=>{n(),r={cron:{adminRequired:`Browsing only. Automation changes require operator.admin access.`,runNotStarted:{notDue:`This automation is not due yet.`,alreadyRunning:`This automation is already running.`,recoveryPending:`Scheduler recovery is still in progress.`,invalidSpec:`This automation has an invalid schedule or payload.`,stopped:`The scheduler is stopped.`,unknown:`This automation could not be started.`},errors:{nameRequired:`Name is required.`,activeHoursTime:`Enter HH:MM (24:00 is allowed only for the end).`,activeHoursTimezone:`Enter a valid IANA timezone, local, or user.`,scheduleAtInvalid:`Enter a valid date/time.`,everyAmountInvalid:`Interval must be greater than 0.`,triggerIntervalTooShort:`Condition-triggered automations must run at least every 30 seconds.`,cronExprRequired:`Cron expression is required.`,cronExprInvalid:`Enter 5 fields like 0 9 * * * or 6 fields like 0 0 9 * * *.`,cronTzInvalid:`Enter a valid IANA timezone, such as America/New_York.`,staggerAmountInvalid:`Stagger must be greater than 0.`,triggerScriptRequired:`Trigger script is required when the condition trigger is enabled.`,triggerScriptPayloadUnsupported:`Script payloads cannot use condition triggers because both own the same saved state.`,triggerScheduleUnsupported:`Condition triggers require an interval, cron, or stream schedule.`,systemTextRequired:`System text is required.`,agentMessageRequired:`Agent message is required.`,timeoutInvalid:`If set, timeout must be 0 or greater (0 disables this timeout).`,deliveryModeRequired:`Choose a delivery mode explicitly, or run openclaw doctor --fix to repair legacy settings.`,webhookUrlRequired:`Webhook URL is required.`,webhookUrlInvalid:`Webhook URL must be a valid http(s):// URL without embedded credentials.`,invalidRunTime:`Invalid run time.`,invalidIntervalAmount:`Invalid interval amount.`,cronExprRequiredShort:`Cron expression required.`,invalidStaggerAmount:`Invalid stagger amount.`,systemEventTextRequired:`System event text required.`,agentMessageRequiredShort:`Agent message required.`,nameRequiredShort:`Name required.`},tabs:{filterLabel:`Automation status`,all:`All`,active:`Active`,paused:`Paused`},stats:{tasks:`Automations`,failing:`Failing`,nextWake:`Next wake`},detail:{tabsLabel:`Automation details`,newTitle:`New automation`,newSubtitle:`Describe what OpenClaw should do, then pick when it runs.`,back:`All automations`,settingsTab:`Settings`,historyTitle:`Run history`,generalSection:`General`,scheduleSection:`Schedule`,deliverySection:`Delivery`,active:`Active`,paused:`Paused`},actions:{runNow:`Run now`,runNowJob:`Run now: {name}`,runIfDue:`Run if due`,pauseJob:`Pause: {name}`,resumeJob:`Resume: {name}`,clone:`Clone`,remove:`Remove`,removeConfirmTitle:`Remove "{name}"?`,removeConfirmMessage:`This permanently deletes the automation and stops all future runs. This action cannot be undone.`,moreJob:`More actions for {name}`},jobs:{schedule:`Schedule`,lastRun:`Last run`,all:`All`,condition:`Condition`,conditional:`Conditional`,unconditional:`Unconditional`,sort:`Sort`,nextRun:`Next run`,recentlyUpdated:`Recently updated`,name:`Name`,direction:`Direction`,ascending:`Ascending`,descending:`Descending`,reset:`Reset`},runs:{searchRuns:`Search runs`,searchPlaceholder:`Summary, error, or task`,newestFirst:`Newest first`,oldestFirst:`Oldest first`,status:`Status`,delivery:`Delivery`,clear:`Clear`,allStatuses:`All statuses`,allDelivery:`All delivery`,noMatching:`No matching runs.`,emptyTitle:`No runs yet`,emptyHint:`Runs show up here once an automation fires.`,conditionActivity:`Condition activity`,conditionActivityHint:`Checks run on schedule before the payload starts.`,checks:`Checks`,lastChecked:`Last checked`,lastFired:`Last fired`,notChecked:`Not checked yet`,neverFired:`Never`,emptyConditionTitle:`No payload runs yet`,emptyConditionHint:`The condition has been checked {count} times without matching. Run history starts when the payload executes.`,emptyConditionHintOne:`The condition has been checked once without matching. Run history starts when the payload executes.`,emptyConditionUnchecked:`The condition has not been checked yet. Run history starts when the payload executes.`,loadMore:`Load more runs`,runStatusOk:`OK`,runStatusError:`Error`,runStatusSkipped:`Skipped`,runStatusUnknown:`Unknown`,runStatusRunning:`Running`,deliveryDelivered:`Delivered`,deliveryNotDelivered:`Not delivered`,deliveryUnknown:`Unknown`,deliveryNotRequested:`Not requested`},form:{requiredSr:`required`,fieldName:`Name`,description:`Description`,agentId:`Agent`,namePlaceholder:`Morning brief`,descriptionPlaceholder:`Optional context for this task`,agentPlaceholder:`main or ops`,agentHelp:`Start typing to pick a known agent, or enter a custom one.`,promptPlaceholder:`Describe what OpenClaw should do...`,repeat:`Repeat`,repeatInterval:`Interval`,repeatOnce:`Once`,repeatOnExit:`On exit`,repeatStream:`Stream source`,onExitHelp:`Runs when a watched command exits. The schedule cannot be edited here.`,every:`Every`,at:`At`,cronOption:`Cron`,runAt:`Run at`,unit:`Unit`,minutes:`Minutes`,hours:`Hours`,days:`Days`,expression:`Expression`,expressionPlaceholder:`0 7 * * *`,everyAmountPlaceholder:`30`,summaryEverySecondOne:`Runs every second`,summaryEveryMinuteOne:`Runs every minute`,summaryEveryHourOne:`Runs every hour`,summaryEveryDayOne:`Runs every day`,summaryEverySeconds:`Runs every {amount} seconds`,summaryEveryMinutes:`Runs every {amount} minutes`,summaryEveryHours:`Runs every {amount} hours`,summaryEveryDays:`Runs every {amount} days`,summaryOnce:`Runs once at {at}`,summaryCron:`Cron schedule {expr}`,summaryCronTz:`Cron schedule {expr} ({tz})`,timezoneOptional:`Timezone`,timezonePlaceholder:`America/Los_Angeles`,timezoneHelp:`Optional. Leave blank to use the Gateway host timezone, or enter any valid IANA timezone.`,runsIn:`Runs in`,mainSession:`Main session`,isolatedSession:`Isolated session`,sessionHelp:`Main posts into the agent's timeline. Isolated runs a dedicated agent turn.`,wakeMode:`Wake mode`,now:`Now`,nextHeartbeat:`Next heartbeat`,wakeModeHelp:`Now triggers immediately. Next heartbeat waits for the next cycle.`,activeHours:`Active hours`,activeHoursHelp:`Only run within this window, including manual runs. Overnight windows are supported; the end is exclusive.`,activeHoursStart:`Window start`,activeHoursEnd:`Window end`,idleOnly:`Wait until idle`,idleOnlyHelp:`Yield to active work before starting this automation.`,skipIfScratchEmpty:`Skip empty scratch`,skipIfScratchEmptyHelp:`Skip when saved scratch has no tasks. Missing scratch does not suppress runs.`,deliveryTarget:`Destination`,channelTarget:`Channel destination`,ownerTarget:`Owner direct message`,ownerTargetHelp:`Owner delivery resolves a concrete owner DM each run, never the last group conversation. Channel and account optionally scope owner lookup.`,directPolicy:`Direct messages`,defaultPolicy:`Default policy`,allowDirect:`Allow`,blockDirect:`Block`,action:`Action`,command:`Command`,script:`Script`,readOnlyPayloadHelp:`This payload was created outside Control UI. Its contents stay read-only and are preserved when you save other changes.`,systemEvent:`Post to main timeline`,agentTurn:`Run agent task`,systemEventHelp:`Sends your text to the gateway main timeline (good for reminders).`,agentTurnHelp:`Starts an agent run in its own session using your prompt.`,timeoutSeconds:`Timeout (seconds)`,timeoutPlaceholder:`Optional, e.g. 90`,timeoutHelp:`Optional. Leave blank to use the gateway default timeout for this run.`,mainTimelineMessage:`Main timeline message`,assistantTaskPrompt:`Prompt`,deliveryModeLabel:`Mode`,selectDeliveryMode:`Choose a delivery mode`,announceDefault:`Announce summary`,webhookPost:`Webhook POST`,noneInternal:`None (internal)`,deliveryHelp:`Announce posts a summary to chat. None keeps execution internal.`,webhookUrl:`Webhook URL`,channel:`Channel`,webhookPlaceholder:`https://example.com/cron`,channelHelp:`Choose which connected channel receives the summary.`,webhookHelp:`Send run summaries to a webhook endpoint.`,to:`To`,toPlaceholder:`+1555... or chat id`,toHelp:`Optional recipient override (chat id, phone, or user id).`,advanced:`Advanced`,advancedHelp:`Optional condition checks, delivery guarantees, schedule jitter, and model controls.`,conditionTrigger:`Condition trigger`,conditionTriggerHelp:`Run a quiet headless check before the task and call the model only when it matches.`,triggerConfigured:`Trigger configured`,triggerScript:`Trigger script`,triggerScriptHelp:`Runs unattended with this automation's tool policy. Return json({ fire, message?, state? }); limits: 30 seconds, 5 tool calls, 16 KB state.`,triggerOnce:`Disable after first match`,triggerOnceHelp:`Disable this automation after the first successful fired task.`,triggerDisabled:`Condition triggers are disabled by cron.triggers.enabled.`,triggerDisabledConfigured:`Condition triggers are disabled. Existing configuration is preserved until you clear it.`,clearTrigger:`Clear trigger`,startEnabled:`Start enabled`,deleteAfterRun:`Delete after run`,deleteAfterRunHelp:`Best for one-shot reminders that should auto-clean up.`,clearAgentOverride:`Clear agent override`,clearAgentHelp:`Force this task to use the gateway default agent.`,sessionKey:`Session key`,sessionKeyHelp:`Optional routing key for job delivery and wake routing.`,exactTiming:`Exact timing (no stagger)`,exactTimingHelp:`Run on exact cron boundaries with no spread.`,staggerWindow:`Stagger window`,staggerUnit:`Stagger unit`,staggerPlaceholder:`30`,seconds:`Seconds`,accountId:`Account ID`,accountIdHelp:`Optional channel account ID for multi-account setups.`,lightContext:`Light context`,lightContextHelp:`Use lightweight bootstrap context for this agent job.`,includeReasoning:`Include reasoning`,includeReasoningHelp:`Include available model reasoning in this automation's delivery.`,model:`Model`,customModel:`Custom model…`,modelPlaceholder:`openai/gpt-5.2`,modelHelp:`Start typing to pick a known model, or enter a custom one. Routine jobs (summaries, triage, classification) run well on a lighter model — cheaper and faster than your default.`,thinking:`Reasoning`,thinkingPlaceholder:`low`,thinkingHelp:`Use a suggested level or enter a provider-specific value.`,failureAlerts:`Failure alerts`,failureAlertInherit:`Inherit global setting`,failureAlertDisabled:`Disable for this job`,failureAlertCustom:`Custom per-job settings`,failureAlertsHelp:`Control when this job sends repeated-failure alerts.`,failureAlertAfter:`Alert after`,failureAlertAfterHelp:`Consecutive errors before alerting.`,failureAlertCooldown:`Cooldown (seconds)`,failureAlertCooldownHelp:`Minimum seconds between alerts.`,failureAlertChannel:`Alert channel`,failureAlertTo:`Alert to`,failureAlertToPlaceholder:`+1555... or chat id`,failureAlertToHelp:`Optional recipient override for failure alerts.`,failureAlertMode:`Alert mode`,failureAlertAnnounce:`Announce (via channel)`,failureAlertWebhook:`Webhook (HTTP POST)`,failureAlertAccountId:`Alert account ID`,failureAlertAccountPlaceholder:`Account ID for multi-account setups`,bestEffortDelivery:`Best effort delivery`,bestEffortHelp:`Do not fail the task if delivery itself fails.`,cantAddYet:`Can't save yet`,fillRequired:`Fill the required fields below to enable submit.`,fixFields:`Fix {count} field to continue.`,fixFieldsPlural:`Fix {count} fields to continue.`,saving:`Saving...`,saveChanges:`Save changes`,createTask:`Create automation`,createAndRun:`Create & run now`,cancel:`Cancel`},jobState:{next:`Next`},runEntry:{noSummary:`No summary.`,deliverySuppression:`Delivery suppression: {reason}`,runAt:`Run at`,transcript:`Run transcript`,viewTranscript:`View transcript`,transcriptEmpty:`No messages in this run yet.`,transcriptMissingMetadata:`This run is missing the identity needed to open its transcript.`,transcriptUnavailable:`The exact run transcript is unavailable or ambiguous. Refresh run history and try again.`,next:`Next {rel}`,due:`Due {rel}`},events:{label:`Event`,server:`MCP server`,serverHelp:`Use a configured MCP server that supports event subscriptions.`,chooseServer:`Choose a server`,noServers:`No enabled MCP servers. Configure a server in Settings → MCP first.`,name:`Event`,chooseEvent:`Choose an event`,arguments:`Subscription arguments (JSON)`,argumentsHelp:`Filters sent when subscribing, not the event payload. Arguments must match the event’s input schema.`,schema:`View input schema`,refresh:`Refresh events and status`,loading:`Loading event source…`,noEvents:`This server advertises no supported events.`,unavailable:`MCP Events is unavailable. Enable and configure the plugin to manage this source.`,discoveryFailed:`Event discovery failed. Refresh the catalog before saving.`,catalogMismatch:`The event catalog returned a different server. Refresh and try again.`,catalogCursor:`The event catalog repeated a page. Check the MCP server and refresh.`,catalogLimit:`The event catalog exceeds the supported size. Narrow the server catalog and refresh.`,summary:`When {name} arrives from {server}`,readOnlySource:`The {source} event source is managed by its plugin. Its schedule is preserved when saving.`,subscription:`Subscription`,pending:`Waiting for subscription status. Refresh to check activation.`,paused:`Paused — events do not start runs.`,gap:`Replay gap: the server could not replay every event. Some events may be missing.`,retryAt:`Next attempt: {at}`,agentTurnRequired:`Event automations require an assistant task with an isolated or existing session.`,eventServerRequired:`Choose an MCP server.`,eventNameRequired:`Choose an event from the current catalog.`,eventArgumentsInvalid:`Enter a valid JSON object for subscription arguments.`,eventArgumentsSchema:`Subscription arguments do not match the event’s input schema.`},linkedRun:{label:`Showing the linked run.`,showAll:`Show all runs`},scratch:{title:`Job scratch`,help:`Private working notes for this automation. Loaded only when requested; never included in the task list or run history. Do not store credentials here.`,content:`Scratch content`,load:`Load scratch`,reload:`Reload scratch`,save:`Save scratch`,clear:`Remove scratch`,empty:`No scratch saved. Saving an empty editor creates explicit empty scratch; removing it restores missing scratch.`,limit:`{bytes} / {max} bytes`,conflict:`Scratch changed during editing. Your draft is preserved. Reload the latest version before saving again.`,redacted:`Sensitive content was redacted. Saving is disabled to protect the original. You can remove this scratch without revealing it.`,saved:`Scratch saved.`,removed:`Scratch removed.`,tooLarge:`Scratch exceeds the byte limit.`},suggestions:{title:`Starter automations`,schedules:{weekdayMornings:`Weekdays at 9:00 AM`,everyMorning:`Daily at 8:00 AM`,weekly:`Mondays at 9:00 AM`,hourly:`Every hour`},ideas:{repoPulse:{name:`Repo pulse`,tagline:`Overnight issues, PRs, and CI failures, ranked by urgency.`,prompt:`Review overnight activity in my repositories: new issues, pull requests, and CI failures. Summarize the three things that most need my attention today, each with a link and a one-line reason.`},standupGhostwriter:{name:`Standup ghostwriter`,tagline:`Your standup update, drafted from yesterday's work.`,prompt:`Draft my standup update from yesterday's commits, merged pull requests, and open review threads. Three bullets max: done, doing, blocked.`},hackerNewsScout:{name:`Hacker News scout`,tagline:`Three links worth your coffee, with hot takes.`,prompt:`Scan today's Hacker News front page for posts about AI agents, developer tooling, and TypeScript. Send me the three most interesting links, each with a one-line hot take.`},dependencyRadar:{name:`Dependency radar`,tagline:`Outdated or vulnerable dependencies, with upgrade notes.`,prompt:`Check my main project for outdated or vulnerable dependencies. List the notable updates with a one-line risk note each, and draft the upgrade command.`},watchdog:{name:`Night watch`,tagline:`Hourly health check with a one-line verdict.`,prompt:`Check that my services and gateway are healthy: scan recent logs for new errors, restarts, or unusual load. Reply with a single short all-clear line when everything is fine; if something looks broken, report what failed and where to start looking.`},polyglotMinute:{name:`Polyglot minute`,tagline:`One useful foreign phrase with your morning coffee.`,prompt:`Teach me one useful phrase in Japanese: the phrase, how to pronounce it, its literal meaning, and when to use it. Keep it under five lines.`}}},list:{viewLabel:`Automation views`,sessionFilter:`Automations attached to this session.`,showAll:`Show all automations`,searchPlaceholder:`Search automations`,newTask:`New automation`,filters:`Filters`,shownOf:`{shown} of {total}`,emptyTitle:`No automations yet`,emptyHint:`Describe what OpenClaw should do and when — it runs on schedule.`,noMatching:`No automations match the current filters.`,loadMore:`Load more`,loading:`Loading...`,schedulerOff:`Scheduler disabled`,refresh:`Refresh`,refreshing:`Refreshing...`,paused:`Paused`,autoDisabledRunFailures:`Auto-disabled · {count} run failures`,autoDisabledScheduleErrors:`Auto-disabled · {count} schedule errors`,tasksTab:`Automations`,activityTab:`Run history`}}},i=Object.assign(()=>{let{runNotStarted:e,errors:n,...i}=r.cron;Object.assign(t.cron,i),Object.assign(t.cron.runNotStarted,e),Object.assign(t.cron.errors,n)},{catalog:r})})))()}export{i as n,a as t};