chore(release): v0.3.41

智能体抽屉读 ?open= 上下文、回复链接用抽屉地址;抽屉打开不亮焦点框;语句统计重复 key。

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01Cxwgnn2pbzQ7rXv3rq7fei
This commit is contained in:
rootandClaude Opus 5.5 committed 2026-10-08 14:39:24 +08:00
1 parent 78a4d562f0
commit 1ade49fe8e
22 files changed
+62 -33

No files matched your search

@@ -80,6 +80,11 @@ describe("侧栏上下文", () => {
expect(ctx?.taskId).toBe("5b4e76e0-f27f-4e7a-8e08-71486387df1d");
expect(contextFromPath("/console/sites/hdhome")?.siteId).toBe("hdhome");
expect(contextFromPath("/console/agent")).toBeNull();
// 列表页的记录抽屉(?open=)与日志页的任务抽屉(?run=)
expect(contextFromPath("/console/sites", "?open=hdhome&tab=rss")?.siteId).toBe("hdhome");
expect(contextFromPath("/console/organize", "?open=r1")?.recordId).toBe("r1");
expect(contextFromPath("/console/logs", "?type=task&run=t9")?.taskId).toBe("t9");
expect(contextFromPath("/console/sites", "?tab=rss")).toBeNull();
const goal = `${contextPrefix(ctx)}排查这个任务`;
expect(splitContextGoal(goal)).toEqual({ context: expect.stringContaining("taskId="), text: "排查这个任务" });
});