文案(智能体):停止 / 方案 / 子会话 / 压缩上下文等按术语表与 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
@@ -245,7 +245,7 @@ describe("拒绝:缩成一行", () => {
|
||||
it("授权拒绝 → 需要你批准 + [批准并重试];白名单拦截没有按钮", () => {
|
||||
expect(deniedReason(denied)).toEqual({ text: "需要你批准", approvable: true });
|
||||
expect(deniedReason(call({ status: "denied", reason: "不在白名单" }))).toEqual({
|
||||
text: "本次没有开放",
|
||||
text: "这次会话没开放这个能力",
|
||||
approvable: false,
|
||||
});
|
||||
const t = text(
|
||||
@@ -529,7 +529,7 @@ describe("实际结果行(FIX-9):只列系统核实的事实", () => {
|
||||
const html = render(
|
||||
createElement(ResultLine, { run: RUN, report: done, live: withText("提交了 2 个下载,整理了 1 个。") }),
|
||||
);
|
||||
expect(text(html).replace(/\s*、\s*/g, "、")).toContain("提交了 2 个下载、完成 1 次整理、1 个还在进行 · 41 秒");
|
||||
expect(text(html).replace(/\s*、\s*/g, "、")).toContain("提交了 2 个下载、完成 1 次整理、1 个进行中 · 41 秒");
|
||||
expect(html).toContain(`href="/console/organize/${ID(3)}"`);
|
||||
expect(html).toContain('href="/console/downloads"');
|
||||
expect(html).not.toContain("与汇报不一致");
|
||||
|
||||
Reference in new issue
Block a user