@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.
- package/dist/cli.cjs +14884 -12280
- package/dist/types.ts +11 -2
- 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?:
|
|
217
|
+
insights?: AgentInsight[]
|
|
209
218
|
charts: AgentChartSpec[]
|
|
210
219
|
}
|
|
211
220
|
|