import z from "@deepseek-ai/schemastery"; import { Context } from "@deepseek-ai/cordis"; //#region src/config.d.ts interface Config { /** Studio data root; default `/tongflow` (projects, venv, plugins, data). */ studioRoot?: string; /** Python ≥ 3.10 used to create the studio venv; auto-detected when empty. */ pythonPath?: string; /** pip requirement installed into the studio venv (e.g. `tongflow==0.3.0` or `-e /path/to/sdk`). */ sdkSpec: string; /** Git organisation official plugins are cloned from. */ pluginOrg: string; /** Plugin id → git URL overrides (community / private plugins). */ pluginGitUrls: Record; /** Environment passed to every plugin process (API keys, Modal tokens). Prefer credentials over literal values. */ env: Record; /** Upper bound on simultaneously running workflows. */ maxConcurrentRuns: number; /** URL prefix the plugin's HTTP routes mount under. */ httpPrefix: string; /** UI locale for the embedded canvas (en / zh / ja / ko). */ locale: string; /** Clone every official plugin at start so the canvas offers the full catalog (shallow clones; keys / deploys only at run time). */ autoInstallOfficial: boolean; } declare const Config: z; //#endregion //#region src/index.d.ts declare const name = "dsh-tongflow"; /** The tool registry and agent registry are the hard requirements; other seams attach when they mount. */ declare const inject: string[]; declare function apply(ctx: Context, config: Config): void; //#endregion export { Config, type Config as TongflowConfig, apply, inject, name };