From 15978b2c51f646c96ddb2be77314043579751dd8 Mon Sep 17 00:00:00 2001 From: cmanu Date: Fri, 24 Jul 2026 13:15:43 -0700 Subject: [PATCH] feat(charts): update description --- packages/opencode/src/kilocode/tool/chart.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/opencode/src/kilocode/tool/chart.ts b/packages/opencode/src/kilocode/tool/chart.ts index a40530c16ec..4ba6ba9c9c3 100644 --- a/packages/opencode/src/kilocode/tool/chart.ts +++ b/packages/opencode/src/kilocode/tool/chart.ts @@ -10,7 +10,7 @@ const Parameters = Schema.Struct({ description: "Optional subtitle shown below the title", }), spec: Schema.String.annotate({ - description: "A valid Vega-Lite v6 JSON specification string describing the chart to render", + description: "A valid Chart.js v4 JSON configuration string describing the chart to render", }), }) @@ -25,7 +25,7 @@ export const ChartTool = Tool.define( Effect.gen(function* () { return { description: - "Render a data visualization chart using a Vega-Lite v6 JSON spec. Use this when the user asks to visualize data as a chart, graph, or plot. The spec is rendered inline in the session as an interactive SVG chart.", + "Render a data visualization chart using a Chart.js v4 config. Use this when the user asks to visualize data as a chart, graph, or plot. The config is rendered inline in the session.", parameters: Parameters, execute: (params: Schema.Schema.Type, ctx: Tool.Context) => Effect.gen(function* () { @@ -40,7 +40,7 @@ export const ChartTool = Tool.define( } catch { return { title: params.title, - output: `Invalid chart spec: could not parse JSON. Please provide a valid Vega-Lite v6 JSON string.`, + output: `Invalid chart spec: could not parse JSON. Please provide a valid Chart.js v4 JSON string.`, metadata: { title: params.title, description: params.description, error: "invalid-json" } as Meta, } }