feat: upgrade investigation and presentation runtime
Generic Container CI/CD / test-build-publish (push) Successful in 1m6s
Agent CI/CD / build-test-publish-and-deploy (push) Successful in 1m7s

This commit is contained in:
2026-10-30 17:30:19 +08:00
parent 3b52a0ddab
commit 6336157ff4
104 changed files with 6541 additions and 961 deletions
+17 -6
View File
@@ -257,6 +257,17 @@ describe("extractLatestFrontendTurn", () => {
describe("buildForkedSessionUiState", () => {
it("copies truncated source messages and preserves tool artifacts", () => {
const command = {
action: "open_chart",
chart_id: "chart-1",
chart: {
title: "液位曲线",
chart_type: "line",
x_data: ["00:00", "01:00"],
series: [{ name: "P-101", data: [0.42, 0.41] }],
},
evidence_refs: [],
};
const forked = buildForkedSessionUiState(
{
messages: [
@@ -267,9 +278,9 @@ describe("buildForkedSessionUiState", () => {
artifacts: [
{
id: "chart-1",
tool: "show_chart",
kind: "chart",
params: { chart_type: "line" },
tool: "present_view",
kind: "map",
params: { command },
},
],
},
@@ -293,9 +304,9 @@ describe("buildForkedSessionUiState", () => {
artifacts: [
{
id: "chart-1",
tool: "show_chart",
kind: "chart",
params: { chart_type: "line" },
tool: "present_view",
kind: "map",
params: { command },
},
],
},