fix(agent): describe typed historical comparison charts
Generic Container CI/CD / test-build-publish (push) Successful in 1m21s
Agent CI/CD / build-test-publish-and-deploy (push) Successful in 1m21s

Use time_comparison for current curves and historical point sets. Document shared time slots and aligned real sample timestamps; synchronize the generated chart contracts.
This commit is contained in:
2026-11-08 03:04:14 +08:00
parent e476569ebc
commit 109abee0ca
9 changed files with 15 additions and 9 deletions
+2 -1
View File
@@ -310,7 +310,8 @@
"type": "string",
"enum": [
"line",
"bar"
"bar",
"time_comparison"
]
},
"x_axis_name": {
+1 -1
View File
@@ -16,7 +16,7 @@ export function createViewSchemas(zod: typeof z = z, publication = false) {
const chartSchema = z
.object({
title: z.string().max(200),
chart_type: z.enum(["line", "bar"]),
chart_type: z.enum(["line", "bar", "time_comparison"]),
x_axis_name: z.string().max(128).optional(),
y_axis_name: z.string().max(128).optional(),
x_data: z.array(z.string().max(128)).min(1).max(100),
+2 -1
View File
@@ -211,7 +211,8 @@
"type": "string",
"enum": [
"line",
"bar"
"bar",
"time_comparison"
]
},
"x_axis_name": {
+1 -1
View File
@@ -9600,7 +9600,7 @@ export interface components {
* Chart Type
* @enum {string}
*/
chart_type: "line" | "bar";
chart_type: "line" | "bar" | "time_comparison";
/** Series */
series: components["schemas"]["TaskSafeChartSeries"][];
/** Title */