Skip to content

Commit d4854d8

Browse files
authored
Merge pull request #370 from MatrixTerminal/develop
merge
2 parents 16ba295 + 4a7c352 commit d4854d8

File tree

14 files changed

+1995
-895
lines changed

14 files changed

+1995
-895
lines changed

package.json

Lines changed: 33 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -14,94 +14,94 @@
1414
},
1515
"dependencies": {
1616
"@ai-sdk/anthropic": "^1.2.10",
17-
"@ai-sdk/google": "^1.2.12",
18-
"@ai-sdk/openai": "^1.3.16",
19-
"@ai-sdk/react": "^1.2.9",
20-
"@ai-sdk/xai": "^1.2.13",
17+
"@ai-sdk/google": "^1.2.14",
18+
"@ai-sdk/openai": "^1.3.21",
19+
"@ai-sdk/react": "^1.2.11",
20+
"@ai-sdk/xai": "^1.2.15",
2121
"@bigmi/react": "^0.1.1",
2222
"@emotion/css": "^11.13.5",
2323
"@emotion/react": "^11.14.0",
2424
"@emotion/styled": "^11.14.0",
25-
"@google/generative-ai": "^0.24.0",
25+
"@google/generative-ai": "^0.24.1",
2626
"@hookform/resolvers": "^5.0.1",
27-
"@lifi/sdk": "^3.6.8",
28-
"@lifi/widget": "^3.18.7",
29-
"@nktkas/hyperliquid": "^0.17.3",
30-
"@radix-ui/react-alert-dialog": "^1.1.10",
31-
"@radix-ui/react-avatar": "^1.1.6",
32-
"@radix-ui/react-checkbox": "^1.2.2",
33-
"@radix-ui/react-dialog": "^1.1.10",
34-
"@radix-ui/react-dropdown-menu": "^2.1.11",
27+
"@lifi/sdk": "^3.6.11",
28+
"@lifi/widget": "^3.19.2",
29+
"@nktkas/hyperliquid": "^0.17.4",
30+
"@radix-ui/react-alert-dialog": "^1.1.11",
31+
"@radix-ui/react-avatar": "^1.1.7",
32+
"@radix-ui/react-checkbox": "^1.2.3",
33+
"@radix-ui/react-dialog": "^1.1.11",
34+
"@radix-ui/react-dropdown-menu": "^2.1.12",
3535
"@radix-ui/react-label": "^2.1.4",
36-
"@radix-ui/react-popover": "^1.1.10",
36+
"@radix-ui/react-popover": "^1.1.11",
3737
"@radix-ui/react-progress": "^1.1.4",
38-
"@radix-ui/react-scroll-area": "^1.2.5",
38+
"@radix-ui/react-scroll-area": "^1.2.6",
3939
"@radix-ui/react-select": "^2.2.2",
4040
"@radix-ui/react-separator": "^1.1.4",
4141
"@radix-ui/react-slider": "^1.3.2",
4242
"@radix-ui/react-slot": "^1.2.0",
4343
"@radix-ui/react-switch": "^1.2.2",
44-
"@radix-ui/react-tabs": "^1.1.8",
45-
"@radix-ui/react-toast": "^1.2.10",
46-
"@radix-ui/react-tooltip": "^1.2.3",
47-
"@solana/wallet-adapter-react": "^0.15.37",
44+
"@radix-ui/react-tabs": "^1.1.9",
45+
"@radix-ui/react-toast": "^1.2.11",
46+
"@radix-ui/react-tooltip": "^1.2.4",
47+
"@solana/wallet-adapter-react": "^0.15.38",
4848
"@supabase/supabase-js": "^2.49.4",
49-
"@tanstack/react-query": "^5.74.4",
49+
"@tanstack/react-query": "^5.74.11",
5050
"@vercel/analytics": "^1.5.0",
51-
"ai": "^4.3.9",
52-
"axios": "^1.8.4",
51+
"ai": "^4.3.13",
52+
"axios": "^1.9.0",
5353
"class-variance-authority": "^0.7.1",
5454
"clsx": "^2.1.1",
5555
"cmdk": "1.1.1",
5656
"connectkit": "^1.9.0",
57-
"framer-motion": "^12.7.4",
57+
"framer-motion": "^12.9.2",
5858
"fuse.js": "^7.1.0",
5959
"lottie-react": "^2.4.1",
60-
"lucide-react": "^0.502.0",
60+
"lucide-react": "^0.503.0",
6161
"next": "^15.3.1",
6262
"node-cache": "^5.1.2",
6363
"npm-check-updates": "^18.0.1",
6464
"pino": "^9.6.0",
6565
"pino-pretty": "^13.0.0",
6666
"react": "^19.1.0",
6767
"react-dom": "^19.1.0",
68-
"react-hook-form": "^7.56.0",
68+
"react-hook-form": "^7.56.1",
6969
"react-markdown": "^10.1.0",
7070
"rehype-raw": "^7.0.0",
7171
"remark-gfm": "^4.0.1",
7272
"sonner": "^2.0.3",
73-
"stripe": "^18.0.0",
73+
"stripe": "^18.1.0",
7474
"tailwind-merge": "^3.2.0",
7575
"tailwind-scrollbar": "4.0.2",
7676
"tailwindcss-animate": "^1.0.7",
7777
"twitter-api-v2": "^1.22.0",
78-
"viem": "~2.27.2",
79-
"wagmi": "^2.14.16",
78+
"viem": "~2.28.1",
79+
"wagmi": "^2.15.1",
8080
"zod": "^3.24.3"
8181
},
8282
"devDependencies": {
8383
"@eslint/eslintrc": "^3",
8484
"@next/eslint-plugin-next": "^15.3.1",
8585
"@playwright/test": "^1.52.0",
86-
"@tailwindcss/postcss": "^4.1.4",
86+
"@tailwindcss/postcss": "^4.1.5",
8787
"@tailwindcss/typography": "^0.5.16",
8888
"@trivago/prettier-plugin-sort-imports": "^5.2.2",
8989
"@types/node": "^22",
9090
"@types/react": "^19.1.2",
91-
"@types/react-dom": "^19.1.2",
92-
"@wagmi/connectors": "^5.7.12",
91+
"@types/react-dom": "^19.1.3",
92+
"@wagmi/connectors": "^5.8.0",
9393
"autoprefixer": "^10.4.21",
9494
"eslint": "^9",
9595
"eslint-config-next": "15.3.1",
9696
"eslint-config-prettier": "^10.1.2",
9797
"postcss": "^8.5.3",
9898
"prettier": "^3.5.3",
99-
"tailwindcss": "^4.1.4",
99+
"tailwindcss": "^4.1.5",
100100
"ts-node": "^10.9.2",
101101
"typescript": "^5",
102102
"vitest": "^3.1.2"
103103
},
104-
"packageManager": "pnpm@10.9.0",
104+
"packageManager": "pnpm@10.10.0",
105105
"pnpm": {
106106
"onlyBuiltDependencies": [
107107
"ccxt",

pnpm-lock.yaml

Lines changed: 1210 additions & 729 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/app/api/chat/morpheusSystemPrompt.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -603,4 +603,3 @@ To manage these positions (e.g., close, partially close, add margin, set new SL/
603603
604604
Note: Ensure proper escaping if copying directly into source code. Backticks (\`) within the main template literal need to be escaped (\`\\\`\`). Markdown formatting like bold (\*\*) should be preserved.
605605
`;
606-

src/app/api/chat/route.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -454,6 +454,10 @@ export async function POST(req: Request) {
454454
transport: {
455455
type: "sse",
456456
url: process.env.MATRIX_MCP_URL || "",
457+
headers: {
458+
Authorization: `Bearer ${process.env.MATRIX_MCP_API_KEY}`,
459+
"x-api-key": process.env.MATRIX_MCP_API_KEY || "",
460+
},
457461
},
458462
});
459463
matrixMcpTools = await mcpClient.tools();

0 commit comments

Comments
 (0)