@langgraph-js/bundler
Version:
Build tool for LangGraph.js applications that packages graph configurations into deployable modules
37 lines (36 loc) • 1.19 kB
TypeScript
import { createHonoServer } from '@langgraph-js/api/server';
export declare const filterGraphs: (config: Parameters<typeof createHonoServer>[0], agentString?: string) => {
cwd: string;
port: number;
host: string;
nWorkers: number;
graphs: Record<string, string>;
http?: {
disable_assistants: boolean;
disable_threads: boolean;
disable_runs: boolean;
disable_store: boolean;
disable_meta: boolean;
app?: string | undefined;
cors?: {
allow_origin_regex?: string | undefined;
expose_headers?: string[] | undefined;
allow_origins?: string[] | undefined;
allow_methods?: string[] | undefined;
allow_headers?: string[] | undefined;
allow_credentials?: boolean | undefined;
max_age?: number | undefined;
} | undefined;
} | undefined;
auth?: {
disable_studio_auth: boolean;
path?: string | undefined;
} | undefined;
callbacks?: {
path: string;
} | undefined;
ui?: Record<string, string> | undefined;
ui_config?: {
shared?: string[] | undefined;
} | undefined;
};