@miao-vision/cli 0.1.7 → 0.1.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/dist/cli.cjs +14884 -12280
  2. package/dist/types.ts +11 -2
  3. package/package.json +1 -1
package/dist/types.ts CHANGED
@@ -178,6 +178,15 @@ export interface AgentReportInteractions {
178
178
  globalFilters?: AgentGlobalFilter[]
179
179
  }
180
180
 
181
+ export type AgentInsight =
182
+ | string
183
+ | {
184
+ text: string
185
+ evidence?: string[]
186
+ caveat?: string
187
+ severity?: 'info' | 'warning'
188
+ }
189
+
181
190
  export interface AgentChartSpec {
182
191
  id?: string
183
192
  type: VizType
@@ -188,7 +197,7 @@ export interface AgentChartSpec {
188
197
  source?: string
189
198
  transform?: AgentDataTransform[]
190
199
  }
191
- encoding: {
200
+ encoding?: {
192
201
  x?: AgentFieldEncoding
193
202
  y?: AgentFieldEncoding
194
203
  color?: AgentFieldEncoding
@@ -205,7 +214,7 @@ export interface AgentReportSpec {
205
214
  description?: string
206
215
  theme?: 'default' | 'editorial' | 'dark' | 'minimal'
207
216
  interactions?: AgentReportInteractions
208
- insights?: string[]
217
+ insights?: AgentInsight[]
209
218
  charts: AgentChartSpec[]
210
219
  }
211
220
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@miao-vision/cli",
3
- "version": "0.1.7",
3
+ "version": "0.1.9",
4
4
  "description": "Miao Vision local data visualization CLI for agent workflows",
5
5
  "license": "MIT",
6
6
  "type": "module",