Compare commits

..

4 Commits

Author SHA1 Message Date
github-actions[bot] 2b85420370 Release 0.2.9 (#699)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-07-01 14:58:46 +07:00
Thuc Pham 52cc37f206 feat: flag to enable useChatWorkflow (#697)
* feat: flag to enable useChatWorkflow

* add USE_CHAT_WORKFLOW config

* require CHAT_DEPLOYMENT and CHAT_WORKFLOW

* handleError

* onError

* revert error

* skip all api handling if in proxy mode

* revert adding option

* modify config

* not require workflow factory

* llamadeploy config

* fix proxy

* fix: serialize in config.js

* try modify next config

* fix: need basePath for other nextjs endpoints

* add condition

* use constants as central place to modify basePath

* add comment

* update constants

* check workflow factory

* Create brown-readers-whisper.md

* bump chat-ui

* fix lint
2025-07-01 14:38:30 +07:00
Thuc Pham 952b5b4908 fix: @jridgewell/sourcemap-codec issue (#700) 2025-06-30 17:17:49 +07:00
Andy Fowler e8004fd711 Fix broken devcontainer due to deleted repo (#698) 2025-06-30 10:56:27 +07:00
20 changed files with 218 additions and 76 deletions
+7
View File
@@ -1,5 +1,12 @@
# create-llama
## 0.6.1
### Patch Changes
- 952b5b4: fix: peer deps and sourcemap issues made ts server start fail
- e8004fd: Fix: broken devcontainer due to deleted repo
## 0.6.0
### Minor Changes
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "create-llama",
"version": "0.6.0",
"version": "0.6.1",
"description": "Create LlamaIndex-powered apps with one command",
"keywords": [
"rag",
@@ -1,8 +1,8 @@
{
"image": "mcr.microsoft.com/vscode/devcontainers/typescript-node:dev-20-bullseye",
"features": {
"ghcr.io/devcontainers-contrib/features/turborepo-npm:1": {},
"ghcr.io/devcontainers-contrib/features/typescript:2": {},
"ghcr.io/devcontainers-community/npm-features/typescript:1": {},
"ghcr.io/devcontainers-extra/features/turborepo-npm:1": {},
"ghcr.io/devcontainers/features/python:1": {
"version": "3.11",
"toolsToInstall": ["flake8", "black", "mypy", "poetry"]
@@ -13,7 +13,7 @@
"@llamaindex/openai": "~0.4.0",
"@llamaindex/server": "~0.2.1",
"@llamaindex/workflow": "~1.1.8",
"@llamaindex/tools": "~0.0.11",
"@llamaindex/tools": "~0.1.2",
"llamaindex": "~0.11.0",
"dotenv": "^16.4.7",
"zod": "^3.23.8"
+7
View File
@@ -1,5 +1,12 @@
# @llamaindex/server
## 0.2.9
### Patch Changes
- 52cc37f: feat: flag to enable useChatWorkflow
- 952b5b4: fix: peer deps and sourcemap issues made ts server start fail
## 0.2.8
### Patch Changes
+1 -1
View File
@@ -10,7 +10,7 @@
"@llamaindex/openai": "~0.4.0",
"@llamaindex/readers": "~3.1.4",
"@llamaindex/server": "workspace:*",
"@llamaindex/tools": "~0.0.11",
"@llamaindex/tools": "~0.1.2",
"dotenv": "^16.4.7",
"llamaindex": "~0.11.0",
"zod": "^3.24.2"
@@ -1,13 +1,14 @@
"use client";
import { ChatMessage } from "@llamaindex/chat-ui";
import { LLAMA_LOGO_URL } from "../../../constants";
export function ChatMessageAvatar() {
return (
<ChatMessage.Avatar>
<img
className="border-1 rounded-full border-[#e711dd]"
src="/llama.png"
src={LLAMA_LOGO_URL}
alt="Llama Logo"
/>
</ChatMessage.Avatar>
@@ -1,6 +1,6 @@
"use client";
import { ChatSection as ChatUI } from "@llamaindex/chat-ui";
import { ChatSection as ChatUI, useChatWorkflow } from "@llamaindex/chat-ui";
import { useChat } from "ai/react";
import { useEffect, useMemo, useState } from "react";
import { getConfig } from "../lib/utils";
@@ -16,20 +16,37 @@ import { DevModePanel } from "./dev-mode-panel";
import { ChatLayout } from "./layout";
export default function ChatSection() {
const handler = useChat({
const deployment = getConfig("DEPLOYMENT") || "";
const workflow = getConfig("WORKFLOW") || "";
const shouldUseChatWorkflow = deployment && workflow;
const handleError = (error: unknown) => {
if (!(error instanceof Error)) throw error;
let errorMessage: string;
try {
errorMessage = JSON.parse(error.message).detail;
} catch (e) {
errorMessage = error.message;
}
alert(errorMessage);
};
const useChatHandler = useChat({
api: getConfig("CHAT_API") || "/api/chat",
onError: (error: unknown) => {
if (!(error instanceof Error)) throw error;
let errorMessage: string;
try {
errorMessage = JSON.parse(error.message).detail;
} catch (e) {
errorMessage = error.message;
}
alert(errorMessage);
},
onError: handleError,
experimental_throttle: 100,
});
const useChatWorkflowHandler = useChatWorkflow({
deployment,
workflow,
onError: handleError,
});
const handler = shouldUseChatWorkflow
? useChatWorkflowHandler
: useChatHandler;
return (
<>
<ChatLayout>
@@ -1,6 +1,7 @@
"use client";
import { Sparkles, Star } from "lucide-react";
import { LLAMA_LOGO_URL } from "../../../../constants";
export function DefaultHeader() {
return (
@@ -21,7 +22,7 @@ export function DefaultHeader() {
</a>
<img
className="h-[24px] w-[24px] rounded-sm"
src="/llama.png"
src={LLAMA_LOGO_URL}
alt="Llama Logo"
/>
</div>
+11
View File
@@ -0,0 +1,11 @@
export const BASE_PATH = "";
const DEFAULT_LLAMA_LOGO_URL = "/llama.png";
export const LLAMA_LOGO_URL = BASE_PATH
? `${BASE_PATH}/llama.png`
: DEFAULT_LLAMA_LOGO_URL;
const DEFAULT_SCRIPT_PATH = "./config.js";
export const SCRIPT_PATH = BASE_PATH
? `${BASE_PATH}/config.js`
: DEFAULT_SCRIPT_PATH;
+2 -1
View File
@@ -4,6 +4,7 @@ import { Inter } from "next/font/google";
import "@llamaindex/chat-ui/styles/editor.css";
import "@llamaindex/chat-ui/styles/markdown.css";
import "@llamaindex/chat-ui/styles/pdf.css";
import { SCRIPT_PATH } from "./constants";
import "./globals.css";
const inter = Inter({ subsets: ["latin"] });
@@ -21,7 +22,7 @@ export default function RootLayout({
return (
<html lang="en">
<body className={inter.className}>{children}</body>
<script async src="./config.js"></script>
<script async src={SCRIPT_PATH}></script>
</html>
);
}
+5 -2
View File
@@ -1,7 +1,7 @@
{
"name": "@llamaindex/server",
"description": "LlamaIndex Server",
"version": "0.2.8",
"version": "0.2.9",
"type": "module",
"main": "./dist/index.cjs",
"module": "./dist/index.js",
@@ -60,12 +60,15 @@
"vitest": "^2.1.5"
},
"dependencies": {
"@jridgewell/sourcemap-codec": "1.5.0",
"@jridgewell/gen-mapping": "0.3.8",
"@jridgewell/trace-mapping": "0.3.25",
"@babel/parser": "^7.27.0",
"@babel/standalone": "^7.27.0",
"@babel/traverse": "^7.27.0",
"@babel/types": "^7.27.0",
"@hookform/resolvers": "^5.0.1",
"@llamaindex/chat-ui": "0.5.6",
"@llamaindex/chat-ui": "0.5.12",
"@radix-ui/react-accordion": "^1.2.3",
"@radix-ui/react-alert-dialog": "^1.1.7",
"@radix-ui/react-aspect-ratio": "^1.1.3",
+2 -2
View File
@@ -41,11 +41,11 @@
"@babel/traverse": "^7.27.0",
"@babel/types": "^7.27.0",
"@hookform/resolvers": "^5.0.1",
"@llamaindex/chat-ui": "0.5.6",
"@llamaindex/chat-ui": "0.5.12",
"@llamaindex/env": "~0.1.30",
"@llamaindex/openai": "~0.4.0",
"@llamaindex/readers": "~3.1.4",
"@llamaindex/tools": "~0.0.11",
"@llamaindex/tools": "~0.1.2",
"@llamaindex/workflow": "~1.1.8",
"@radix-ui/react-accordion": "^1.2.3",
"@radix-ui/react-alert-dialog": "^1.1.7",
+68 -7
View File
@@ -7,19 +7,23 @@ import path from "path";
import { parse } from "url";
import { promisify } from "util";
import { handleChat } from "./handlers/chat";
import type { LlamaIndexServerOptions } from "./types";
import type { LlamaDeployConfig, LlamaIndexServerOptions } from "./types";
const nextDir = path.join(__dirname, "..", "server");
const configFile = path.join(__dirname, "..", "server", "public", "config.js");
const nextConfigFile = path.join(nextDir, "next.config.ts");
const layoutFile = path.join(nextDir, "app", "layout.tsx");
const constantsFile = path.join(nextDir, "app", "constants.ts");
const dev = process.env.NODE_ENV !== "production";
export class LlamaIndexServer {
port: number;
app: ReturnType<typeof next>;
workflowFactory: () => Promise<Workflow> | Workflow;
workflowFactory?: (() => Promise<Workflow> | Workflow) | undefined;
componentsDir?: string | undefined;
layoutDir: string;
suggestNextQuestions: boolean;
llamaDeploy?: LlamaDeployConfig | undefined;
constructor(options: LlamaIndexServerOptions) {
const { workflow, suggestNextQuestions, ...nextAppOptions } = options;
@@ -29,25 +33,76 @@ export class LlamaIndexServer {
this.componentsDir = options.uiConfig?.componentsDir;
this.layoutDir = options.uiConfig?.layoutDir ?? "layout";
this.suggestNextQuestions = suggestNextQuestions ?? true;
this.llamaDeploy = options.uiConfig?.llamaDeploy;
if (this.llamaDeploy) {
if (!this.llamaDeploy.deployment || !this.llamaDeploy.workflow) {
throw new Error(
"LlamaDeploy requires deployment and workflow to be set",
);
}
if (options.uiConfig?.devMode) {
// workflow file is in llama-deploy src, so we should disable devmode
throw new Error("Devmode is not supported when enabling LlamaDeploy");
}
} else {
// if llamaDeploy is not set but workflowFactory is not defined, we should throw an error
if (!this.workflowFactory) {
throw new Error("workflowFactory is required for chat api to work");
}
}
if (this.componentsDir) {
this.createComponentsDir(this.componentsDir);
}
this.modifyConfig(options);
this.modifySourcesForLlamaDeploy();
}
private modifySourcesForLlamaDeploy() {
if (!this.llamaDeploy) return;
const deployment = this.llamaDeploy.deployment;
const basePath = `/deployments/${deployment}/ui`;
// create next.config.ts with basePath
const nextConfigContent = `
export default {
basePath: '${basePath}',
}
`;
fs.writeFileSync(nextConfigFile, nextConfigContent);
// some UI code use absolute paths, such as /llama.png, /config.js, etc.
// so that we need to update basePath for them
const constantsContent = fs.readFileSync(constantsFile, "utf8");
const newConstantsContent = constantsContent.replace(
'export const BASE_PATH = ""',
`export const BASE_PATH = "${basePath}"`,
);
fs.writeFileSync(constantsFile, newConstantsContent, "utf8");
}
private modifyConfig(options: LlamaIndexServerOptions) {
const { uiConfig } = options;
const basePath = this.llamaDeploy
? `/deployments/${this.llamaDeploy.deployment}/ui`
: "";
const starterQuestions = uiConfig?.starterQuestions ?? [];
const llamaCloudApi =
uiConfig?.llamaCloudIndexSelector && getEnv("LLAMA_CLOUD_API_KEY")
? "/api/chat/config/llamacloud"
? `${basePath}/api/chat/config/llamacloud`
: undefined;
const componentsApi = this.componentsDir ? "/api/components" : undefined;
const layoutApi = this.layoutDir ? "/api/layout" : undefined;
const componentsApi = this.componentsDir
? `${basePath}/api/components`
: undefined;
const layoutApi = this.layoutDir ? `${basePath}/api/layout` : undefined;
const devMode = uiConfig?.devMode ?? false;
const enableFileUpload = uiConfig?.enableFileUpload ?? false;
const uploadApi = enableFileUpload ? `${basePath}/api/files` : undefined;
// content in javascript format
const content = `
window.LLAMAINDEX = {
@@ -58,7 +113,9 @@ export class LlamaIndexServer {
LAYOUT_API: ${JSON.stringify(layoutApi)},
DEV_MODE: ${JSON.stringify(devMode)},
SUGGEST_NEXT_QUESTIONS: ${JSON.stringify(this.suggestNextQuestions)},
UPLOAD_API: ${JSON.stringify(enableFileUpload ? "/api/files" : undefined)}
UPLOAD_API: ${JSON.stringify(uploadApi)},
DEPLOYMENT: ${JSON.stringify(this.llamaDeploy?.deployment)},
WORKFLOW: ${JSON.stringify(this.llamaDeploy?.workflow)}
}
`;
fs.writeFileSync(configFile, content);
@@ -79,7 +136,11 @@ export class LlamaIndexServer {
const pathname = parsedUrl.pathname;
const query = parsedUrl.query;
if (pathname === "/api/chat" && req.method === "POST") {
if (
pathname === "/api/chat" &&
req.method === "POST" &&
this.workflowFactory
) {
// because of https://github.com/vercel/next.js/discussions/79402 we can't use route.ts here, so we need to call this custom route
// when calling `pnpm eject`, the user will get an equivalent route at [path to chat route.ts]
// make sure to keep its semantic in sync with handleChat
+7 -1
View File
@@ -12,6 +12,11 @@ export type WorkflowFactory = (
export type NextAppOptions = Parameters<typeof next>[0];
export type LlamaDeployConfig = {
deployment: string;
workflow: string;
};
export type UIConfig = {
starterQuestions?: string[];
componentsDir?: string;
@@ -19,10 +24,11 @@ export type UIConfig = {
llamaCloudIndexSelector?: boolean;
devMode?: boolean;
enableFileUpload?: boolean;
llamaDeploy?: LlamaDeployConfig;
};
export type LlamaIndexServerOptions = NextAppOptions & {
workflow: WorkflowFactory;
workflow?: WorkflowFactory;
uiConfig?: UIConfig;
suggestNextQuestions?: boolean;
};
+60 -41
View File
@@ -177,15 +177,24 @@ importers:
'@hookform/resolvers':
specifier: ^5.0.1
version: 5.0.1(react-hook-form@7.56.1(react@19.1.0))
'@jridgewell/gen-mapping':
specifier: 0.3.8
version: 0.3.8
'@jridgewell/sourcemap-codec':
specifier: 1.5.0
version: 1.5.0
'@jridgewell/trace-mapping':
specifier: 0.3.25
version: 0.3.25
'@llamaindex/chat-ui':
specifier: 0.5.6
version: 0.5.6(@babel/runtime@7.27.0)(@codemirror/autocomplete@6.18.6)(@codemirror/language@6.11.1)(@codemirror/lint@6.8.5)(@codemirror/search@6.5.11)(@codemirror/state@6.5.2)(@codemirror/theme-one-dark@6.1.2)(@codemirror/view@6.37.1)(@lezer/highlight@1.2.1)(@types/react-dom@19.1.2(@types/react@19.1.2))(@types/react@19.1.2)(codemirror@6.0.1)(react-dom@19.1.0(react@19.1.0))(react@19.1.0)(yjs@13.6.27)
specifier: 0.5.12
version: 0.5.12(@babel/runtime@7.27.0)(@codemirror/autocomplete@6.18.6)(@codemirror/language@6.11.1)(@codemirror/lint@6.8.5)(@codemirror/search@6.5.11)(@codemirror/state@6.5.2)(@codemirror/theme-one-dark@6.1.2)(@codemirror/view@6.37.1)(@lezer/highlight@1.2.1)(@types/react-dom@19.1.2(@types/react@19.1.2))(@types/react@19.1.2)(codemirror@6.0.1)(react-dom@19.1.0(react@19.1.0))(react@19.1.0)(yjs@13.6.27)
'@llamaindex/env':
specifier: ~0.1.30
version: 0.1.30
'@llamaindex/workflow':
specifier: ~1.1.8
version: 1.1.8(@llamaindex/core@0.6.6)(@llamaindex/env@0.1.30)(@modelcontextprotocol/sdk@1.12.1)(next@15.3.1(@opentelemetry/api@1.9.0)(@playwright/test@1.52.0)(react-dom@19.1.0(react@19.1.0))(react@19.1.0))(p-retry@6.2.1)(zod@3.24.3)
version: 1.1.8(@llamaindex/core@0.6.6)(@llamaindex/env@0.1.30)(@modelcontextprotocol/sdk@1.13.2)(next@15.3.1(@opentelemetry/api@1.9.0)(@playwright/test@1.52.0)(react-dom@19.1.0(react@19.1.0))(react@19.1.0))(p-retry@6.2.1)(zod@3.24.3)
'@radix-ui/react-accordion':
specifier: ^1.2.3
version: 1.2.8(@types/react-dom@19.1.2(@types/react@19.1.2))(@types/react@19.1.2)(react-dom@19.1.0(react@19.1.0))(react@19.1.0)
@@ -339,7 +348,7 @@ importers:
version: 7.20.7
llamaindex:
specifier: ~0.11.0
version: 0.11.1(@llama-flow/core@0.4.4(@modelcontextprotocol/sdk@1.12.1)(next@15.3.1(@opentelemetry/api@1.9.0)(@playwright/test@1.52.0)(react-dom@19.1.0(react@19.1.0))(react@19.1.0))(p-retry@6.2.1)(zod@3.24.3))(tree-sitter@0.22.4)(web-tree-sitter@0.24.7)(zod@3.24.3)
version: 0.11.1(@llama-flow/core@0.4.4(@modelcontextprotocol/sdk@1.13.2)(next@15.3.1(@opentelemetry/api@1.9.0)(@playwright/test@1.52.0)(react-dom@19.1.0(react@19.1.0))(react@19.1.0))(p-retry@6.2.1)(zod@3.24.3))(tree-sitter@0.22.4)(web-tree-sitter@0.24.7)(zod@3.24.3)
postcss:
specifier: ^8.5.3
version: 8.5.3
@@ -371,14 +380,14 @@ importers:
specifier: workspace:*
version: link:..
'@llamaindex/tools':
specifier: ~0.0.11
version: 0.0.14(@llamaindex/core@0.6.6)(@llamaindex/env@0.1.30)(openapi-types@12.1.3)
specifier: ~0.1.2
version: 0.1.2(@llamaindex/core@0.6.6)(@llamaindex/env@0.1.30)(openapi-types@12.1.3)
dotenv:
specifier: ^16.4.7
version: 16.5.0
llamaindex:
specifier: ~0.11.0
version: 0.11.1(@llama-flow/core@0.4.4(@modelcontextprotocol/sdk@1.12.1)(next@15.3.1(@opentelemetry/api@1.9.0)(@playwright/test@1.52.0)(react-dom@19.1.0(react@19.1.0))(react@19.1.0))(p-retry@6.2.1)(zod@3.25.13))(tree-sitter@0.22.4)(web-tree-sitter@0.24.7)(zod@3.25.13)
version: 0.11.1(@llama-flow/core@0.4.4(@modelcontextprotocol/sdk@1.13.2)(next@15.3.1(@opentelemetry/api@1.9.0)(@playwright/test@1.52.0)(react-dom@19.1.0(react@19.1.0))(react@19.1.0))(p-retry@6.2.1)(zod@3.25.13))(tree-sitter@0.22.4)(web-tree-sitter@0.24.7)(zod@3.25.13)
zod:
specifier: ^3.24.2
version: 3.25.13
@@ -1491,8 +1500,8 @@ packages:
zod:
optional: true
'@llamaindex/chat-ui@0.5.6':
resolution: {integrity: sha512-52JZiDjHOeJpHo8MB5cOR4433R7OWdaDHAZbgEX4K1TROpgUSLfCHsmiqygTXBdmM0D969k9n8PVFhsWeNX6CQ==}
'@llamaindex/chat-ui@0.5.12':
resolution: {integrity: sha512-Gi9MDkIakTf1S3mpeOA7vzJtBDUBgD5bcQ6KiKsoEYiEVPtUCeEcMoepTU3KoCssaGe2cvjR4tN6dnaUsiEHWQ==}
peerDependencies:
react: ^18.2.0 || ^19.0.0 || ^19.0.0-rc
@@ -1517,6 +1526,9 @@ packages:
gpt-tokenizer:
optional: true
'@llamaindex/llama-deploy@0.0.2':
resolution: {integrity: sha512-Vh41PKVtgaNtiyXKwQEDteS4S7Bt0mS8a44OmqRE8bIGeBwQ3GRZExMXTeERuJH4va6UO/2KzHU6u6m6kSeAvg==}
'@llamaindex/node-parser@2.0.6':
resolution: {integrity: sha512-8vJ7hsh1FKfAfO90nNe/G+/E2hM31dT/+1+0cPpZp02Ez98Jhwj+vTcCRlvyZznCn6DzHNBuw+uP1wKCqylSnQ==}
peerDependencies:
@@ -1547,10 +1559,10 @@ packages:
'@llamaindex/core': 0.6.9
'@llamaindex/env': 0.1.30
'@llamaindex/tools@0.0.14':
resolution: {integrity: sha512-lok5Yntu3ohWTBvCxMQruVDmKnjuB7w/JAq4QXt07b1Yif5hzO78Do/7OhZFQYA3NLrktC7vp9Me1h85qSYWPg==}
'@llamaindex/tools@0.1.2':
resolution: {integrity: sha512-e9Eg1Yrh6e/yYg1VhoBUXlSM7NYi1WMVCANwYUBG7BLn5S/dwK+Rp8LPDr/T5+P8vK9HQqCz57LLtZrLDP/5Mg==}
peerDependencies:
'@llamaindex/core': 0.6.9
'@llamaindex/core': 0.6.12
'@llamaindex/env': 0.1.30
'@llamaindex/workflow@1.0.3':
@@ -1594,8 +1606,8 @@ packages:
react: '>= 18 || >= 19'
react-dom: '>= 18 || >= 19'
'@modelcontextprotocol/sdk@1.12.1':
resolution: {integrity: sha512-KG1CZhZfWg+u8pxeM/mByJDScJSrjjxLc8fwQqbsS8xCjBmQfMNEBTotYdNanKekepnfRI85GtgQlctLFpcYPw==}
'@modelcontextprotocol/sdk@1.13.2':
resolution: {integrity: sha512-Vx7qOcmoKkR3qhaQ9qf3GxiVKCEu+zfJddHv6x3dY/9P6+uIwJnmuAur5aB+4FDXf41rRrDnOEGkviX5oYZ67w==}
engines: {node: '>=18'}
'@napi-rs/wasm-runtime@0.2.9':
@@ -7278,6 +7290,9 @@ packages:
zod@3.25.13:
resolution: {integrity: sha512-Q8mvk2iWi7rTDfpQBsu4ziE7A6AxgzJ5hzRyRYQkoV3A3niYsXVwDaP1Kbz3nWav6S+VZ6k2OznFn8ZyDHvIrg==}
zod@3.25.67:
resolution: {integrity: sha512-idA2YXwpCdqUSKRCACDE6ItZD9TZzy3OZMtpfLoh6oPR47lipysRrJfjzMqFxQ3uJuUPyUeWe1r9vLH33xO/Qw==}
zwitch@2.0.4:
resolution: {integrity: sha512-bXE4cR/kVZhKZX/RjPEflHaKVhUVl85noU3v6b8apfQEc1x4A+zBxjZ4lN8LqGd6WZ3dl98pY4o717VFmoPp+A==}
@@ -8517,26 +8532,27 @@ snapshots:
'@lezer/highlight': 1.2.1
'@lezer/lr': 1.4.2
'@llama-flow/core@0.4.4(@modelcontextprotocol/sdk@1.12.1)(next@15.3.1(@opentelemetry/api@1.9.0)(@playwright/test@1.52.0)(react-dom@19.1.0(react@19.1.0))(react@19.1.0))(p-retry@6.2.1)(zod@3.24.3)':
'@llama-flow/core@0.4.4(@modelcontextprotocol/sdk@1.13.2)(next@15.3.1(@opentelemetry/api@1.9.0)(@playwright/test@1.52.0)(react-dom@19.1.0(react@19.1.0))(react@19.1.0))(p-retry@6.2.1)(zod@3.24.3)':
optionalDependencies:
'@modelcontextprotocol/sdk': 1.12.1
'@modelcontextprotocol/sdk': 1.13.2
next: 15.3.1(@opentelemetry/api@1.9.0)(@playwright/test@1.52.0)(react-dom@19.1.0(react@19.1.0))(react@19.1.0)
p-retry: 6.2.1
zod: 3.24.3
'@llama-flow/core@0.4.4(@modelcontextprotocol/sdk@1.12.1)(next@15.3.1(@opentelemetry/api@1.9.0)(@playwright/test@1.52.0)(react-dom@19.1.0(react@19.1.0))(react@19.1.0))(p-retry@6.2.1)(zod@3.25.13)':
'@llama-flow/core@0.4.4(@modelcontextprotocol/sdk@1.13.2)(next@15.3.1(@opentelemetry/api@1.9.0)(@playwright/test@1.52.0)(react-dom@19.1.0(react@19.1.0))(react@19.1.0))(p-retry@6.2.1)(zod@3.25.13)':
optionalDependencies:
'@modelcontextprotocol/sdk': 1.12.1
'@modelcontextprotocol/sdk': 1.13.2
next: 15.3.1(@opentelemetry/api@1.9.0)(@playwright/test@1.52.0)(react-dom@19.1.0(react@19.1.0))(react@19.1.0)
p-retry: 6.2.1
zod: 3.25.13
'@llamaindex/chat-ui@0.5.6(@babel/runtime@7.27.0)(@codemirror/autocomplete@6.18.6)(@codemirror/language@6.11.1)(@codemirror/lint@6.8.5)(@codemirror/search@6.5.11)(@codemirror/state@6.5.2)(@codemirror/theme-one-dark@6.1.2)(@codemirror/view@6.37.1)(@lezer/highlight@1.2.1)(@types/react-dom@19.1.2(@types/react@19.1.2))(@types/react@19.1.2)(codemirror@6.0.1)(react-dom@19.1.0(react@19.1.0))(react@19.1.0)(yjs@13.6.27)':
'@llamaindex/chat-ui@0.5.12(@babel/runtime@7.27.0)(@codemirror/autocomplete@6.18.6)(@codemirror/language@6.11.1)(@codemirror/lint@6.8.5)(@codemirror/search@6.5.11)(@codemirror/state@6.5.2)(@codemirror/theme-one-dark@6.1.2)(@codemirror/view@6.37.1)(@lezer/highlight@1.2.1)(@types/react-dom@19.1.2(@types/react@19.1.2))(@types/react@19.1.2)(codemirror@6.0.1)(react-dom@19.1.0(react@19.1.0))(react@19.1.0)(yjs@13.6.27)':
dependencies:
'@codemirror/lang-css': 6.3.1
'@codemirror/lang-html': 6.4.9
'@codemirror/lang-javascript': 6.2.4
'@codemirror/lang-python': 6.2.1
'@llamaindex/llama-deploy': 0.0.2
'@llamaindex/pdf-viewer': 1.3.0(@types/react@19.1.2)(react-dom@19.1.0(react@19.1.0))(react@19.1.0)
'@mdxeditor/editor': 3.35.0(@codemirror/language@6.11.1)(@lezer/highlight@1.2.1)(@types/react-dom@19.1.2(@types/react@19.1.2))(@types/react@19.1.2)(react-dom@19.1.0(react@19.1.0))(react@19.1.0)(yjs@13.6.27)
'@radix-ui/react-accordion': 1.2.8(@types/react-dom@19.1.2(@types/react@19.1.2))(@types/react@19.1.2)(react-dom@19.1.0(react@19.1.0))(react@19.1.0)
@@ -8583,17 +8599,17 @@ snapshots:
- supports-color
- yjs
'@llamaindex/cloud@4.0.9(@llama-flow/core@0.4.4(@modelcontextprotocol/sdk@1.12.1)(next@15.3.1(@opentelemetry/api@1.9.0)(@playwright/test@1.52.0)(react-dom@19.1.0(react@19.1.0))(react@19.1.0))(p-retry@6.2.1)(zod@3.24.3))(@llamaindex/core@0.6.6)(@llamaindex/env@0.1.30)':
'@llamaindex/cloud@4.0.9(@llama-flow/core@0.4.4(@modelcontextprotocol/sdk@1.13.2)(next@15.3.1(@opentelemetry/api@1.9.0)(@playwright/test@1.52.0)(react-dom@19.1.0(react@19.1.0))(react@19.1.0))(p-retry@6.2.1)(zod@3.24.3))(@llamaindex/core@0.6.6)(@llamaindex/env@0.1.30)':
dependencies:
'@llama-flow/core': 0.4.4(@modelcontextprotocol/sdk@1.12.1)(next@15.3.1(@opentelemetry/api@1.9.0)(@playwright/test@1.52.0)(react-dom@19.1.0(react@19.1.0))(react@19.1.0))(p-retry@6.2.1)(zod@3.24.3)
'@llama-flow/core': 0.4.4(@modelcontextprotocol/sdk@1.13.2)(next@15.3.1(@opentelemetry/api@1.9.0)(@playwright/test@1.52.0)(react-dom@19.1.0(react@19.1.0))(react@19.1.0))(p-retry@6.2.1)(zod@3.24.3)
'@llamaindex/core': 0.6.6
'@llamaindex/env': 0.1.30
p-retry: 6.2.1
zod: 3.25.13
'@llamaindex/cloud@4.0.9(@llama-flow/core@0.4.4(@modelcontextprotocol/sdk@1.12.1)(next@15.3.1(@opentelemetry/api@1.9.0)(@playwright/test@1.52.0)(react-dom@19.1.0(react@19.1.0))(react@19.1.0))(p-retry@6.2.1)(zod@3.25.13))(@llamaindex/core@0.6.6)(@llamaindex/env@0.1.30)':
'@llamaindex/cloud@4.0.9(@llama-flow/core@0.4.4(@modelcontextprotocol/sdk@1.13.2)(next@15.3.1(@opentelemetry/api@1.9.0)(@playwright/test@1.52.0)(react-dom@19.1.0(react@19.1.0))(react@19.1.0))(p-retry@6.2.1)(zod@3.25.13))(@llamaindex/core@0.6.6)(@llamaindex/env@0.1.30)':
dependencies:
'@llama-flow/core': 0.4.4(@modelcontextprotocol/sdk@1.12.1)(next@15.3.1(@opentelemetry/api@1.9.0)(@playwright/test@1.52.0)(react-dom@19.1.0(react@19.1.0))(react@19.1.0))(p-retry@6.2.1)(zod@3.25.13)
'@llama-flow/core': 0.4.4(@modelcontextprotocol/sdk@1.13.2)(next@15.3.1(@opentelemetry/api@1.9.0)(@playwright/test@1.52.0)(react-dom@19.1.0(react@19.1.0))(react@19.1.0))(p-retry@6.2.1)(zod@3.25.13)
'@llamaindex/core': 0.6.6
'@llamaindex/env': 0.1.30
p-retry: 6.2.1
@@ -8616,6 +8632,8 @@ snapshots:
js-tiktoken: 1.0.20
pathe: 1.1.2
'@llamaindex/llama-deploy@0.0.2': {}
'@llamaindex/node-parser@2.0.6(@llamaindex/core@0.6.6)(@llamaindex/env@0.1.30)(tree-sitter@0.22.4)(web-tree-sitter@0.24.7)':
dependencies:
'@llamaindex/core': 0.6.6
@@ -8661,21 +8679,20 @@ snapshots:
- encoding
- supports-color
'@llamaindex/tools@0.0.14(@llamaindex/core@0.6.6)(@llamaindex/env@0.1.30)(openapi-types@12.1.3)':
'@llamaindex/tools@0.1.2(@llamaindex/core@0.6.6)(@llamaindex/env@0.1.30)(openapi-types@12.1.3)':
dependencies:
'@apidevtools/swagger-parser': 10.1.1(openapi-types@12.1.3)
'@e2b/code-interpreter': 1.5.0
'@llamaindex/core': 0.6.6
'@llamaindex/env': 0.1.30
'@modelcontextprotocol/sdk': 1.12.1
ajv: 8.17.1
'@modelcontextprotocol/sdk': 1.13.2
duck-duck-scrape: 2.2.7
formdata-node: 6.0.3
got: 14.4.7
marked: 14.1.4
papaparse: 5.5.2
wikipedia: 2.1.2
zod: 3.25.13
zod: 3.25.67
transitivePeerDependencies:
- debug
- openapi-types
@@ -8693,9 +8710,9 @@ snapshots:
'@llamaindex/env': 0.1.30
zod: 3.25.13
'@llamaindex/workflow@1.1.8(@llamaindex/core@0.6.6)(@llamaindex/env@0.1.30)(@modelcontextprotocol/sdk@1.12.1)(next@15.3.1(@opentelemetry/api@1.9.0)(@playwright/test@1.52.0)(react-dom@19.1.0(react@19.1.0))(react@19.1.0))(p-retry@6.2.1)(zod@3.24.3)':
'@llamaindex/workflow@1.1.8(@llamaindex/core@0.6.6)(@llamaindex/env@0.1.30)(@modelcontextprotocol/sdk@1.13.2)(next@15.3.1(@opentelemetry/api@1.9.0)(@playwright/test@1.52.0)(react-dom@19.1.0(react@19.1.0))(react@19.1.0))(p-retry@6.2.1)(zod@3.24.3)':
dependencies:
'@llama-flow/core': 0.4.4(@modelcontextprotocol/sdk@1.12.1)(next@15.3.1(@opentelemetry/api@1.9.0)(@playwright/test@1.52.0)(react-dom@19.1.0(react@19.1.0))(react@19.1.0))(p-retry@6.2.1)(zod@3.24.3)
'@llama-flow/core': 0.4.4(@modelcontextprotocol/sdk@1.13.2)(next@15.3.1(@opentelemetry/api@1.9.0)(@playwright/test@1.52.0)(react-dom@19.1.0(react@19.1.0))(react@19.1.0))(p-retry@6.2.1)(zod@3.24.3)
'@llamaindex/core': 0.6.6
'@llamaindex/env': 0.1.30
zod: 3.24.3
@@ -8811,7 +8828,7 @@ snapshots:
react: 19.1.0
react-dom: 19.1.0(react@19.1.0)
'@modelcontextprotocol/sdk@1.12.1':
'@modelcontextprotocol/sdk@1.13.2':
dependencies:
ajv: 6.12.6
content-type: 1.0.5
@@ -8822,8 +8839,8 @@ snapshots:
express-rate-limit: 7.5.0(express@5.1.0)
pkce-challenge: 5.0.0
raw-body: 3.0.0
zod: 3.25.13
zod-to-json-schema: 3.24.5(zod@3.25.13)
zod: 3.25.67
zod-to-json-schema: 3.24.5(zod@3.25.67)
transitivePeerDependencies:
- supports-color
@@ -10970,10 +10987,6 @@ snapshots:
dependencies:
ms: 2.1.3
debug@4.4.0:
dependencies:
ms: 2.1.3
debug@4.4.0(supports-color@5.5.0):
dependencies:
ms: 2.1.3
@@ -12548,9 +12561,9 @@ snapshots:
rfdc: 1.4.1
wrap-ansi: 9.0.0
llamaindex@0.11.1(@llama-flow/core@0.4.4(@modelcontextprotocol/sdk@1.12.1)(next@15.3.1(@opentelemetry/api@1.9.0)(@playwright/test@1.52.0)(react-dom@19.1.0(react@19.1.0))(react@19.1.0))(p-retry@6.2.1)(zod@3.24.3))(tree-sitter@0.22.4)(web-tree-sitter@0.24.7)(zod@3.24.3):
llamaindex@0.11.1(@llama-flow/core@0.4.4(@modelcontextprotocol/sdk@1.13.2)(next@15.3.1(@opentelemetry/api@1.9.0)(@playwright/test@1.52.0)(react-dom@19.1.0(react@19.1.0))(react@19.1.0))(p-retry@6.2.1)(zod@3.24.3))(tree-sitter@0.22.4)(web-tree-sitter@0.24.7)(zod@3.24.3):
dependencies:
'@llamaindex/cloud': 4.0.9(@llama-flow/core@0.4.4(@modelcontextprotocol/sdk@1.12.1)(next@15.3.1(@opentelemetry/api@1.9.0)(@playwright/test@1.52.0)(react-dom@19.1.0(react@19.1.0))(react@19.1.0))(p-retry@6.2.1)(zod@3.24.3))(@llamaindex/core@0.6.6)(@llamaindex/env@0.1.30)
'@llamaindex/cloud': 4.0.9(@llama-flow/core@0.4.4(@modelcontextprotocol/sdk@1.13.2)(next@15.3.1(@opentelemetry/api@1.9.0)(@playwright/test@1.52.0)(react-dom@19.1.0(react@19.1.0))(react@19.1.0))(p-retry@6.2.1)(zod@3.24.3))(@llamaindex/core@0.6.6)(@llamaindex/env@0.1.30)
'@llamaindex/core': 0.6.6
'@llamaindex/env': 0.1.30
'@llamaindex/node-parser': 2.0.6(@llamaindex/core@0.6.6)(@llamaindex/env@0.1.30)(tree-sitter@0.22.4)(web-tree-sitter@0.24.7)
@@ -12568,9 +12581,9 @@ snapshots:
- web-tree-sitter
- zod
llamaindex@0.11.1(@llama-flow/core@0.4.4(@modelcontextprotocol/sdk@1.12.1)(next@15.3.1(@opentelemetry/api@1.9.0)(@playwright/test@1.52.0)(react-dom@19.1.0(react@19.1.0))(react@19.1.0))(p-retry@6.2.1)(zod@3.25.13))(tree-sitter@0.22.4)(web-tree-sitter@0.24.7)(zod@3.25.13):
llamaindex@0.11.1(@llama-flow/core@0.4.4(@modelcontextprotocol/sdk@1.13.2)(next@15.3.1(@opentelemetry/api@1.9.0)(@playwright/test@1.52.0)(react-dom@19.1.0(react@19.1.0))(react@19.1.0))(p-retry@6.2.1)(zod@3.25.13))(tree-sitter@0.22.4)(web-tree-sitter@0.24.7)(zod@3.25.13):
dependencies:
'@llamaindex/cloud': 4.0.9(@llama-flow/core@0.4.4(@modelcontextprotocol/sdk@1.12.1)(next@15.3.1(@opentelemetry/api@1.9.0)(@playwright/test@1.52.0)(react-dom@19.1.0(react@19.1.0))(react@19.1.0))(p-retry@6.2.1)(zod@3.25.13))(@llamaindex/core@0.6.6)(@llamaindex/env@0.1.30)
'@llamaindex/cloud': 4.0.9(@llama-flow/core@0.4.4(@modelcontextprotocol/sdk@1.13.2)(next@15.3.1(@opentelemetry/api@1.9.0)(@playwright/test@1.52.0)(react-dom@19.1.0(react@19.1.0))(react@19.1.0))(p-retry@6.2.1)(zod@3.25.13))(@llamaindex/core@0.6.6)(@llamaindex/env@0.1.30)
'@llamaindex/core': 0.6.6
'@llamaindex/env': 0.1.30
'@llamaindex/node-parser': 2.0.6(@llamaindex/core@0.6.6)(@llamaindex/env@0.1.30)(tree-sitter@0.22.4)(web-tree-sitter@0.24.7)
@@ -15288,7 +15301,7 @@ snapshots:
dependencies:
chalk: 4.1.2
commander: 9.5.0
debug: 4.4.0
debug: 4.4.0(supports-color@5.5.0)
transitivePeerDependencies:
- supports-color
@@ -15431,8 +15444,14 @@ snapshots:
dependencies:
zod: 3.25.13
zod-to-json-schema@3.24.5(zod@3.25.67):
dependencies:
zod: 3.25.67
zod@3.24.3: {}
zod@3.25.13: {}
zod@3.25.67: {}
zwitch@2.0.4: {}
+8
View File
@@ -1,5 +1,13 @@
# @create-llama/llama-index-server
## 0.1.25
### Patch Changes
- Updated dependencies [52cc37f]
- Updated dependencies [952b5b4]
- @llamaindex/server@0.2.9
## 0.1.24
### Patch Changes
+1 -1
View File
@@ -1,7 +1,7 @@
{
"name": "@create-llama/llama-index-server",
"private": true,
"version": "0.1.24",
"version": "0.1.25",
"type": "module",
"scripts": {
"prebuild": "uv run -- scripts/frontend.py --mode copy",
+1 -1
View File
@@ -1,6 +1,6 @@
[project]
name = "llama-index-server"
version = "0.1.24"
version = "0.1.25"
description = "llama-index fastapi server"
readme = "README.md"
license = "MIT"
+1 -1
View File
@@ -1937,7 +1937,7 @@ wheels = [
[[package]]
name = "llama-index-server"
version = "0.1.23"
version = "0.1.24"
source = { editable = "." }
dependencies = [
{ name = "cachetools" },