新增: UX-04工具卡片友好展示(formatToolResult全工具摘要+i18n)

This commit is contained in:
2026-06-16 23:33:45 +08:00
parent b3e78e6061
commit 22d866d4de
3 changed files with 214 additions and 8 deletions

View File

@@ -48,6 +48,26 @@ export default {
purgeIneffective: 'Purge ineffective',
workflowHint: 'Run it on the workflow page',
// UX-260616-04: formatToolResult covers all tools with human-readable summaries (missing keys)
updatedTaskField: 'Task {id} updated field {field}',
advancedTask: 'Task {id} advanced to {status}',
commandOk: 'Command succeeded ({ms} ms)',
commandFailed: 'Command failed (exit code {code})',
commandOutputLines: '{n} lines of output',
patchedFile: 'Patched {path} ({diff} bytes)',
patchedNoChange: '{path} no change',
appendedTo: 'Appended {bytes} to {path}',
renamedFile: 'Renamed {from} → {to}',
foundN: 'Found {n}',
boundDir: 'Bound directory "{path}" stack: {stack}',
deleteFilePermanent: 'Permanently deleted {path}',
deleteFileSoft: 'Soft-deleted {path} (backed up)',
fileInfoSize: '{path} {size}',
fileInfoLines: ' · {n} lines',
fileInfoBinary: ' · binary',
fileInfoDir: ' · directory',
fileInfoMissing: '{path} does not exist',
projectLabel: '"{name}"',
projectIdNotFound: '(project not found, id={id})',