Open-source and local-first Slack and Notion alternative that puts you in control of your data
TypeScript chatchat-applicationcrdteditorelectronknowledge-baselocal-firstnotionnotion-alternativerealtime-collaborationself-hostedslacksqliteteam-collaborationwikiyjs
Add LangGraph, Google GenAI, and Langfuse dependencies
Ylber Gashi00b0c116b58b
diff --git a/apps/server/package.json b/apps/server/package.jsonindex 692d0f0d..9a881406 100644--- a/apps/server/package.json+++ b/apps/server/package.json@@ -36,6 +36,7 @@"@colanode/core": "*","@colanode/crdt": "*","@langchain/core": "^0.3.40",+ "@langchain/google-genai": "^0.1.8","@langchain/openai": "^0.4.4","@node-rs/argon2": "^2.0.2","axios": "^1.7.8",@@ -47,6 +48,7 @@"js-sha256": "^0.11.0","kysely": "^0.27.4","langchain": "^0.3.19",+ "langfuse-langchain": "^3.35.2","multer": "^1.4.5-lts.1","nodemailer": "^6.10.0","pg": "^8.13.3",diff --git a/package-lock.json b/package-lock.jsonindex bae4fc37..fd70c885 100644--- a/package-lock.json+++ b/package-lock.json@@ -14,6 +14,7 @@"scripts"],"dependencies": {+ "@langchain/langgraph": "^0.2.46","debug": "^4.3.7","lodash-es": "^4.17.21"},@@ -160,6 +161,7 @@"@colanode/core": "*","@colanode/crdt": "*","@langchain/core": "^0.3.40",+ "@langchain/google-genai": "^0.1.8","@langchain/openai": "^0.4.4","@node-rs/argon2": "^2.0.2","axios": "^1.7.8",@@ -171,6 +173,7 @@"js-sha256": "^0.11.0","kysely": "^0.27.4","langchain": "^0.3.19",+ "langfuse-langchain": "^3.35.2","multer": "^1.4.5-lts.1","nodemailer": "^6.10.0","pg": "^8.13.3",@@ -470,6 +473,22 @@}}},+ "apps/server/node_modules/langfuse-langchain": {+ "version": "3.35.2",+ "resolved": "https://registry.npmjs.org/langfuse-langchain/-/langfuse-langchain-3.35.2.tgz",+ "integrity": "sha512-Mi0HYZYZl0EQQtuQ/oGfxpIOqybhrP+wMKnwvdIiSwe57qfjG0XcDJkUl65M/5v3nkgVF7NIrTxh4thh8V0NOg==",+ "license": "MIT",+ "dependencies": {+ "langfuse": "^3.35.2",+ "langfuse-core": "^3.35.2"+ },+ "engines": {+ "node": ">=18"+ },+ "peerDependencies": {+ "langchain": ">=0.0.157 <0.4.0"+ }+ },"apps/server/node_modules/media-typer": {"version": "1.1.0","license": "MIT",@@ -3066,6 +3085,15 @@"dev": true,"license": "MIT"},+ "node_modules/@google/generative-ai": {+ "version": "0.21.0",+ "resolved": "https://registry.npmjs.org/@google/generative-ai/-/generative-ai-0.21.0.tgz",+ "integrity": "sha512-7XhUbtnlkSEZK15kN3t+tzIMxsbKm/dSkKBFalj+20NvPKe1kBY7mR2P7vuijEn+f06z5+A8bVGKO0v39cr6Wg==",+ "license": "Apache-2.0",+ "engines": {+ "node": ">=18.0.0"+ }+ },"node_modules/@hookform/resolvers": {"version": "4.1.0","resolved": "https://registry.npmjs.org/@hookform/resolvers/-/resolvers-4.1.0.tgz",@@ -3658,6 +3686,97 @@"uuid": "dist/bin/uuid"}},+ "node_modules/@langchain/google-genai": {+ "version": "0.1.8",+ "resolved": "https://registry.npmjs.org/@langchain/google-genai/-/google-genai-0.1.8.tgz",+ "integrity": "sha512-aBz8IzEJfihOVz2GpqFrdLWjDlpscZUYIA7LZ2iazU7edO03etPaqxdexiYKr/Q+Be2D0BT7uaFJsouvQApIZA==",+ "license": "MIT",+ "dependencies": {+ "@google/generative-ai": "^0.21.0",+ "zod-to-json-schema": "^3.22.4"+ },+ "engines": {+ "node": ">=18"+ },+ "peerDependencies": {+ "@langchain/core": ">=0.3.17 <0.4.0"+ }+ },+ "node_modules/@langchain/langgraph": {+ "version": "0.2.46",+ "resolved": "https://registry.npmjs.org/@langchain/langgraph/-/langgraph-0.2.46.tgz",+ "integrity": "sha512-dO/EKvSyYfHCmvF7JYBwSuc2czy5dOF6ScSNEmQxq/XHXkN7QkdahBkWPAU/+iw6Cafeljc/XuTxBJxMZB2pFQ==",+ "license": "MIT",+ "dependencies": {+ "@langchain/langgraph-checkpoint": "~0.0.15",+ "@langchain/langgraph-sdk": "~0.0.32",+ "uuid": "^10.0.0",+ "zod": "^3.23.8"+ },+ "engines": {+ "node": ">=18"+ },+ "peerDependencies": {+ "@langchain/core": ">=0.2.36 <0.3.0 || >=0.3.9 < 0.4.0"+ }+ },+ "node_modules/@langchain/langgraph-checkpoint": {+ "version": "0.0.15",+ "resolved": "https://registry.npmjs.org/@langchain/langgraph-checkpoint/-/langgraph-checkpoint-0.0.15.tgz",+ "integrity": "sha512-AiJkvsYHqNbCh1Tx823qs2lf2qRqeB4EAMejirOk8gkpPszAGYua5c3niKYkcKR2tU8Snhrmj7Gm9HKZSFOXyw==",+ "license": "MIT",+ "dependencies": {+ "uuid": "^10.0.0"+ },+ "engines": {+ "node": ">=18"+ },+ "peerDependencies": {+ "@langchain/core": ">=0.2.31 <0.4.0"+ }+ },+ "node_modules/@langchain/langgraph-checkpoint/node_modules/uuid": {+ "version": "10.0.0",+ "resolved": "https://registry.npmjs.org/uuid/-/uuid-10.0.0.tgz",+ "integrity": "sha512-8XkAphELsDnEGrDxUOHB3RGvXz6TeuYSGEZBOjtTtPm2lwhGBjLgOzLHB63IUWfBpNucQjND6d3AOudO+H3RWQ==",+ "funding": [+ "https://github.com/sponsors/broofa",+ "https://github.com/sponsors/ctavan"+ ],+ "license": "MIT",+ "bin": {+ "uuid": "dist/bin/uuid"+ }+ },+ "node_modules/@langchain/langgraph-sdk": {+ "version": "0.0.42",+ "resolved": "https://registry.npmjs.org/@langchain/langgraph-sdk/-/langgraph-sdk-0.0.42.tgz",+ "integrity": "sha512-seOcLN6+MWxCGEVfKY2pFcFpJB56DZq7iXhe5Br/xF7Uxspm1e50Z8f0k21XOJFQyMheR6AZ9zXEBVeX1ZsDMg==",+ "license": "MIT",+ "dependencies": {+ "@types/json-schema": "^7.0.15",+ "p-queue": "^6.6.2",+ "p-retry": "4",+ "uuid": "^9.0.0"+ },+ "peerDependencies": {+ "@langchain/core": ">=0.2.31 <0.4.0",+ "react": "^18 || ^19"+ }+ },+ "node_modules/@langchain/langgraph/node_modules/uuid": {+ "version": "10.0.0",+ "resolved": "https://registry.npmjs.org/uuid/-/uuid-10.0.0.tgz",+ "integrity": "sha512-8XkAphELsDnEGrDxUOHB3RGvXz6TeuYSGEZBOjtTtPm2lwhGBjLgOzLHB63IUWfBpNucQjND6d3AOudO+H3RWQ==",+ "funding": [+ "https://github.com/sponsors/broofa",+ "https://github.com/sponsors/ctavan"+ ],+ "license": "MIT",+ "bin": {+ "uuid": "dist/bin/uuid"+ }+ },"node_modules/@langchain/openai": {"version": "0.4.4","resolved": "https://registry.npmjs.org/@langchain/openai/-/openai-0.4.4.tgz",@@ -7048,6 +7167,12 @@"dev": true,"license": "MIT"},+ "node_modules/@types/json-schema": {+ "version": "7.0.15",+ "resolved": "https://registry.npmjs.org/@types/json-schema/-/json-schema-7.0.15.tgz",+ "integrity": "sha512-5+fP8P8MFNC+AyZCDxrB2pkZFPGzqQWUzpSeuuVLvm8VMcorNYavBqoFcxK8bQz4Qsbn4oUEEem4wDLfcysGHA==",+ "license": "MIT"+ },"node_modules/@types/json5": {"version": "0.0.29","resolved": "https://registry.npmjs.org/@types/json5/-/json5-0.0.29.tgz",@@ -13882,6 +14007,30 @@"node": ">=14.0.0"}},+ "node_modules/langfuse": {+ "version": "3.35.2",+ "resolved": "https://registry.npmjs.org/langfuse/-/langfuse-3.35.2.tgz",+ "integrity": "sha512-iLKK9capLVle7vHRHKYj6tqRJVD+ncc5nVcKYEA7eidNPRSSYRdZf73Q73lW8wFBcKpbynRJN1byWT615Gg9tw==",+ "license": "MIT",+ "dependencies": {+ "langfuse-core": "^3.35.2"+ },+ "engines": {+ "node": ">=18"+ }+ },+ "node_modules/langfuse-core": {+ "version": "3.35.2",+ "resolved": "https://registry.npmjs.org/langfuse-core/-/langfuse-core-3.35.2.tgz",+ "integrity": "sha512-nHcoe/RPxwCAVvb91NDjVqvaXkBuVI6u9KuhCXLOasIOqMZRnXMeDhheAPE1ZtVGpmc3faYdPPGdobqRB+MdCg==",+ "license": "MIT",+ "dependencies": {+ "mustache": "^4.2.0"+ },+ "engines": {+ "node": ">=18"+ }+ },"node_modules/langsmith": {"version": "0.2.14","resolved": "https://registry.npmjs.org/langsmith/-/langsmith-0.2.14.tgz",diff --git a/package.json b/package.jsonindex f1871521..0fb9eafe 100644--- a/package.json+++ b/package.json@@ -40,6 +40,7 @@"vitest": "^3.0.6"},"dependencies": {+ "@langchain/langgraph": "^0.2.46","debug": "^4.3.7","lodash-es": "^4.17.21"}