UNPKG

openclaw

Version:

Multi-channel AI gateway with extensible messaging integrations

1 lines • 5.78 kB
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={execApproval:{watcherApprovalScope:`Approval applies to this saved watcher. Source changes or reactivation may require approval again.`,startWatcher:`Start watching`,saveWatcher:`Save watcher change`,cancelWatcher:`Cancel`,scope:t.execApproval.scope,expiresIn:`expires in {time}`,expired:`expired`,execApprovalNeeded:`Exec approval needed`,runCommand:`Run this command?`,pluginApprovalNeeded:`Plugin approval needed`,requestedBySession:`Approval requested by session {session}`,pending:`{count} pending`,morePending:`{count} more pending`,reviewRequest:`Review approval from {agent}: {command}`,decisionRequest:`{decision}: {command}`,agentPendingOne:t.execApproval.agentPendingOne,agentPending:t.execApproval.agentPending,allowOnce:`Allow once`,alwaysAllow:`Always allow`,alwaysAllowForDay:`Always allow ({days} day)`,alwaysAllowForDays:`Always allow ({days} days)`,reviewOnly:t.execApproval.reviewOnly,viewOnly:`View only`,offline:`Offline.`,decisionUnconfirmed:`Couldn’t confirm your decision. Try again.`,deny:`Deny`,details:`Details`,requestDetails:`Request details`,agentRunCommand:`{agent} wants to run a command`,inSession:`in “{session}”`,agentStartWatcher:`{agent} wants to start “{name}”`,agentChangeWatcher:`{agent} wants to change “{name}”`,labels:{host:`Host`,sandbox:`Sandbox`,node:`Node`,session:`Session`,directory:`Directory`,resolved:`Resolved`,security:`Security`,scope:`Scope`,lastError:`Last error`,ask:`Ask`}},approvalPage:{brandName:`OpenClaw`,eyebrow:`Operator approval`,loadingTitle:`Loading approval`,loadingDescription:`Checking the current approval state with the Gateway.`,unavailableTitle:`Approval unavailable`,unavailableDescription:`This approval could not be found or this device is not authorized to review it.`,connectionErrorTitle:`Connection interrupted`,connectionErrorDescription:`OpenClaw cannot confirm or record a decision while disconnected. Reconnect to check the current status.`,retry:`Retry`,execTitle:`Command approval`,watcherTitle:`Watcher approval: {name}`,watcherChangeTitle:`Watcher change: {name}`,watcherLifetime:`If saved and enabled, this watcher runs after you leave this chat, until stopped. It is configured to restart automatically after interruptions.`,watcherAllowed:`This proposal was approved. Approval alone does not confirm that the change was saved or the watcher started. Check its current status in Automations.`,watcherNotCreated:`This proposal did not create a watcher.`,watcherNotChanged:`This proposal did not save the change. It did not stop or change the existing watcher.`,pending:`Waiting for your decision`,pendingDescription:`Review the request carefully. The first answer from any surface wins.`,approvedHere:`Approved here`,deniedHere:`Denied here`,resolvedElsewhere:`Resolved elsewhere`,resolvedElsewhereDescription:`Another surface or an earlier attempt recorded the decision first.`,approved:`Approved`,denied:`Denied`,expired:`Expired`,cancelled:`Cancelled`,allowedOnceDescription:`The operation was approved for this request only.`,allowedAlwaysDescription:`The operation was approved with the always-allow decision.`,deniedDescription:`The operation was denied and will not continue.`,expiredDescription:`No decision arrived before the deadline, so the operation was denied.`,cancelledDescription:`This approval request was canceled and can no longer be used.`,summaryLabel:`Summary`,commandLabel:`Command`,requestLabel:`Request details`,nodeLabel:`Node`,expiresLabel:`Expires`,resolvedLabel:`Resolved`,actionsLabel:`Approval decisions`,resolvingDecision:`Recording {decision}…`,safeToClose:`The decision is recorded. You can close this page.`,openControlUi:`Open Control UI`},standingGrants:{title:`Standing grants`,description:`Allow-always on an automation approval mints a standing grant for that exact command. Revoking one makes the next occurrence ask again.`,historyTitle:`Approval history`,empty:`No standing grants. Answer an automation approval with Always allow to mint one.`,stateUntilRevoked:`Until revoked`,stateExpiresIn:`Expires in {count}d`,stateExpired:`Expired`,stateRevoked:`Revoked`,revoke:`Revoke`,revoking:`Revoking…`,columns:{automation:`Automation`,command:`Command`,uses:`Uses`,state:`State`}},approvalHistory:{description:`Terminal exec, plugin, and system-agent approvals recorded by this gateway, newest first.`,loading:`Loading approval history…`,loadingMore:`Loading…`,loadMore:`Load more`,empty:`No resolved approvals in the rolling 30-day window.`,retention:`Approval history is a rolling 30-day window.`,offline:`Connect to the gateway to load approval history.`,invalidResponse:`The gateway returned an invalid approval history response.`,unknown:`Unknown`,notApplicable:`N/A`,columns:{resolved:`Resolved`,kind:`Kind`,request:`Request`,decision:`Decision`,reason:`Resolution reason`,source:`Source agent / session`,resolver:`Resolver`},kinds:{exec:`Exec`,plugin:`Plugin`,systemAgent:`System agent`},statuses:{allowed:`Allowed`,denied:`Denied`,expired:`Expired`,cancelled:`Cancelled`},decisions:{allowOnce:`Allow once`,allowAlways:`Always allow`,deny:`Deny`},reasons:{user:`User decision`,timeout:`Timed out`,malformedVerdict:`Malformed verdict`,noRoute:`No route`,runAborted:`Run aborted`,gatewayRestart:`Gateway restart`,storageCorrupt:`Storage corrupt`}}},i=Object.assign(()=>{Object.assign(t.approvalPage,r.approvalPage),Object.assign(t.standingGrants,r.standingGrants),Object.assign(t.approvalHistory,r.approvalHistory);let{labels:e,...n}=r.execApproval;Object.assign(t.execApproval,n),Object.assign(t.execApproval.labels,e)},{catalog:r})})))()}export{i as n,a as t};