@feedmepos/mf-remy-panel 0.17.0-dev.3 → 0.18.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.
@@ -4,6 +4,10 @@ export interface ToolCall {
4
4
  arguments: any;
5
5
  state?: string;
6
6
  result?: any;
7
+ /** MCP Apps (SEP-1865) UI resource HTML resolved server-side for this tool
8
+ * call, streamed as a companion `data-mcp-app-ui` part — rendered via
9
+ * McpAppCard.vue in a sandboxed iframe. */
10
+ uiHtml?: string;
7
11
  }
8
12
  export interface ChartAxis {
9
13
  key: 'primary' | 'secondary';
@@ -224,6 +228,10 @@ export interface ChatMessage {
224
228
  timestamp: number;
225
229
  imageData?: string;
226
230
  imageDatas?: string[];
231
+ fileAttachments?: Array<{
232
+ filename: string;
233
+ mediaType: string;
234
+ }>;
227
235
  feedback?: 'helpful' | 'unhelpful';
228
236
  isStreaming?: boolean;
229
237
  toolCalls?: ToolCall[];
@@ -232,6 +240,8 @@ export interface ChatMessage {
232
240
  }
233
241
  export interface Conversation {
234
242
  id: string;
243
+ restaurantId?: string;
244
+ restaurantName?: string;
235
245
  title: string;
236
246
  createdAt: number;
237
247
  lastMessageAt: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@feedmepos/mf-remy-panel",
3
- "version": "0.17.0-dev.3",
3
+ "version": "0.18.0-dev.1",
4
4
  "files": [
5
5
  "dist"
6
6
  ],
@@ -55,6 +55,7 @@
55
55
  "scripts": {
56
56
  "dev": "vite --mode dev",
57
57
  "dev:prod": "vite --mode prod",
58
+ "test": "node --experimental-strip-types --test tests/*.test.mjs",
58
59
  "build": "run-p type-check \"build-only {@}\" --",
59
60
  "build:mf": "vite build --mode fmmf",
60
61
  "build:dts": "vue-tsc --declaration --emitDeclarationOnly -p tsconfig.app.json --outDir ./dist && mv ./dist/src/* dist",
@@ -64,7 +65,8 @@
64
65
  "build:prod": "dotenv -e .env.prod pnpm build-only",
65
66
  "deploy": "pnpm publish --no-git-checks .",
66
67
  "type-check": "vue-tsc --noEmit -p tsconfig.app.json --composite false",
67
- "lint": "eslint . --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --fix --ignore-path .gitignore",
68
+ "lint": "eslint . --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --ignore-path ../../.gitignore",
69
+ "lint:fix": "pnpm lint --fix",
68
70
  "format": "prettier --write src/"
69
71
  }
70
72
  }