重构: 审批交互重设计
This commit is contained in:
@@ -1,10 +1,20 @@
|
||||
export default {
|
||||
aiTool: {
|
||||
running: 'Running…',
|
||||
streamMore: '… {n} earlier hidden',
|
||||
approve: 'Approve',
|
||||
reject: 'Reject',
|
||||
approveAll: 'Approve All ({n})',
|
||||
rejectAll: 'Reject All',
|
||||
// risk level badge (approval card color bar + badge; medium registry-only, no fallback)
|
||||
riskHigh: 'HIGH RISK',
|
||||
riskMedium: 'MEDIUM RISK',
|
||||
// args folding (multi-arg default shows first, "N more" expands)
|
||||
argsMore: '{n} more',
|
||||
argsCollapse: 'Collapse args',
|
||||
// batch approve high-risk interception (count badge + confirm text)
|
||||
batchHighRiskHint: '{n} high-risk',
|
||||
batchHighRiskConfirm: 'Batch approval includes {n} high-risk operations (e.g. delete/command execution/network requests). Approve all?',
|
||||
rejectedHint: 'User rejected this action',
|
||||
// tool execution slow hint (frontend fallback, no backend cancel IPC)
|
||||
executionSlow: 'Tool "{name}" is taking longer than expected, please wait…',
|
||||
|
||||
Reference in New Issue
Block a user