文案(智能体):停止 / 方案 / 子会话 / 压缩上下文等按术语表与 human-copy 重写
Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01Cxwgnn2pbzQ7rXv3rq7fei
This commit is contained in:
1 parent
0338037a96
commit
775d1589e4
16 files changed
+49
-49
No files matched your search
@@ -20,7 +20,7 @@ export type ApprovalCardStatus =
|
||||
| "consumed";
|
||||
|
||||
const LABEL: Record<ApprovalCardStatus, string> = {
|
||||
pending: "待批准",
|
||||
pending: "等你批准",
|
||||
submitting: "提交中",
|
||||
approved: "已批准",
|
||||
rejected: "已拒绝",
|
||||
|
||||
@@ -101,7 +101,7 @@ export function CodeBlock({
|
||||
) : (
|
||||
<Check aria-hidden className="size-3" />
|
||||
)}
|
||||
{streaming ? "输出中" : "完整"}
|
||||
{streaming ? "输出中" : "已完成"}
|
||||
</span>
|
||||
{copyable ? (
|
||||
<button
|
||||
|
||||
@@ -19,10 +19,10 @@ export interface TodoItem {
|
||||
}
|
||||
|
||||
const LABEL: Record<TodoItemStatus, string> = {
|
||||
pending: "待办",
|
||||
pending: "未开始",
|
||||
"in-progress": "进行中",
|
||||
completed: "已完成",
|
||||
cancelled: "被拒绝",
|
||||
cancelled: "已取消",
|
||||
error: "失败",
|
||||
skipped: "已跳过",
|
||||
};
|
||||
|
||||
@@ -26,7 +26,7 @@ export interface ToolApprovalParameter {
|
||||
}
|
||||
|
||||
const COPY: Record<ToolApprovalStatus, string> = {
|
||||
pending: "待授权",
|
||||
pending: "等你批准",
|
||||
approving: "提交中",
|
||||
approved: "已批准",
|
||||
denied: "已拒绝",
|
||||
@@ -68,7 +68,7 @@ export interface ToolApprovalProps {
|
||||
|
||||
export function ToolApproval({
|
||||
tool,
|
||||
title = "允许执行这个工具?",
|
||||
title = "允许调用这个工具?",
|
||||
description,
|
||||
parameters = [],
|
||||
status = "pending",
|
||||
|
||||
Reference in new issue
Block a user