@feedmepos/mf-remy-panel 0.19.0-dev.9 → 0.20.0-dev.1
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/{HomeView-da19bf44.js → HomeView-34a1c99a.js} +1 -1
- package/dist/{RemyButton-7168e08b.js → RemyButton-e812a9b7.js} +1 -1
- package/dist/{app-208a4bc0.js → app-35e688e9.js} +14046 -13869
- package/dist/app.js +1 -1
- package/dist/components/chatPanel/reportMcpTools.d.ts +32 -0
- package/dist/stores/previewStore.d.ts +71 -11
- package/dist/style.css +1 -1
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/types/chat.d.ts +31 -1
- package/package.json +1 -1
package/dist/types/chat.d.ts
CHANGED
|
@@ -107,7 +107,10 @@ export interface RcaInsightCardResult {
|
|
|
107
107
|
export interface ExcelExportActionCardResult {
|
|
108
108
|
type: 'excel';
|
|
109
109
|
title: string;
|
|
110
|
-
|
|
110
|
+
/** Legacy exportExcel tool — presigned lazily via `/storage/exports/download`. */
|
|
111
|
+
s3Key?: string;
|
|
112
|
+
/** report_export_excel (MCP) — already presigned, download directly. */
|
|
113
|
+
downloadUrl?: string;
|
|
111
114
|
fileName: string;
|
|
112
115
|
rowCount: number;
|
|
113
116
|
previewTable: {
|
|
@@ -200,7 +203,34 @@ export interface ReportArtifact {
|
|
|
200
203
|
export interface ReportArtifactResult {
|
|
201
204
|
type: 'report-artifact';
|
|
202
205
|
artifact: ReportArtifact;
|
|
206
|
+
/**
|
|
207
|
+
* Only present when this result came from report_export_docx/
|
|
208
|
+
* report_amend_docx (MCP) — the legacy exportDocx/amendDocx tools never
|
|
209
|
+
* set these. report-remy-mcp already rendered and uploaded the file; when
|
|
210
|
+
* present, download should use this stable key (re-presigned on demand)
|
|
211
|
+
* instead of the client-side chart-PNG-capture regenerate flow, which
|
|
212
|
+
* exists only because the legacy tools never persisted a file anywhere.
|
|
213
|
+
*/
|
|
214
|
+
s3Key?: string;
|
|
215
|
+
/** Same-generation presigned URL — expires in 5 min, s3Key is preferred. */
|
|
216
|
+
downloadUrl?: string;
|
|
203
217
|
}
|
|
218
|
+
/**
|
|
219
|
+
* report_export_docx/report_amend_docx (MCP) render the file server-side
|
|
220
|
+
* upfront and only return this summary — not the full `ReportArtifact`
|
|
221
|
+
* section tree the legacy exportDocx/amendDocx tools embed for the rich
|
|
222
|
+
* preview + client-side chart-PNG re-render-on-download flow. Both share
|
|
223
|
+
* `type: 'report-artifact'`; only the legacy/rich shape carries `artifact`.
|
|
224
|
+
*/
|
|
225
|
+
export interface McpDocxExportSummary {
|
|
226
|
+
type: 'report-artifact';
|
|
227
|
+
artifactId: string;
|
|
228
|
+
title: string;
|
|
229
|
+
sectionCount: number;
|
|
230
|
+
downloadUrl?: string;
|
|
231
|
+
s3Key?: string;
|
|
232
|
+
}
|
|
233
|
+
export type DocxExportResult = ReportArtifactResult | McpDocxExportSummary;
|
|
204
234
|
export interface ReportTaskPart {
|
|
205
235
|
type: string;
|
|
206
236
|
toolCallId?: string;
|