76 lines
2.0 KiB
TypeScript
76 lines
2.0 KiB
TypeScript
export default {
|
|
auditLog: {
|
|
title: 'Approval History',
|
|
refresh: 'Refresh',
|
|
desc: 'AI tool call audit records (newest first). Arguments and results show summaries only; full data persists in the local database.',
|
|
loading: 'Loading…',
|
|
empty: 'No audit records',
|
|
|
|
filter: {
|
|
allStatus: 'All status',
|
|
allRisk: 'All risk',
|
|
toolPlaceholder: 'Search tool name…',
|
|
},
|
|
|
|
col: {
|
|
time: 'Requested',
|
|
tool: 'Tool',
|
|
risk: 'Risk',
|
|
status: 'Status',
|
|
decided: 'Decided by',
|
|
args: 'Args summary',
|
|
result: 'Result summary',
|
|
},
|
|
|
|
pager: {
|
|
prev: 'Prev',
|
|
next: 'Next',
|
|
page: 'Page {n}',
|
|
last: '(last)',
|
|
total: '{n} total',
|
|
},
|
|
|
|
risk: {
|
|
low: 'Low',
|
|
medium: 'Med',
|
|
high: 'High',
|
|
},
|
|
|
|
status: {
|
|
pending: 'Pending',
|
|
approved: 'Approved',
|
|
rejected: 'Rejected',
|
|
executing: 'Executing',
|
|
completed: 'Completed',
|
|
failed: 'Failed',
|
|
interrupted: 'Interrupted',
|
|
},
|
|
|
|
decided: {
|
|
human: 'Human',
|
|
auto: 'Auto',
|
|
// cover all backend decided_by sources (different decision paths, more precise than generic 'auto')
|
|
auto_trust: 'Auto (trusted)',
|
|
auto_dedup: 'Auto (deduped)',
|
|
cache_hit: 'Auto (cached)',
|
|
auto_blacklist: 'Auto (blacklist)',
|
|
auto_takeover_medium: 'Auto (med-takeover)',
|
|
auto_takeover_all: 'Auto (full-takeover)',
|
|
},
|
|
// Tab navigation
|
|
tabAudit: 'Approval History',
|
|
tabConversations: 'Conversations',
|
|
// Conversation history
|
|
convEmpty: 'No conversations yet',
|
|
convLoading: 'Loading conversations…',
|
|
convTruncated: 'Content truncated (expand to view full conversation)',
|
|
convSelectHint: '← Select a conversation to view full interaction log',
|
|
convReasoning: 'Reasoning (thinking)',
|
|
// conversation role labels (previously hardcoded Chinese, now i18n)
|
|
convRoleUser: '🧑 User',
|
|
convRoleAssistant: '🤖 Assistant',
|
|
convRoleTool: '🔧 Tool',
|
|
convRoleSystem: '⚙️ System',
|
|
},
|
|
}
|