import { n as WorkspaceLike } from "./shared-Byn69p18.js"; import { c as ExecToolOptions, n as ExecBackends, u as ExecWorkspaceLike } from "./shared-r-ii1gfO.js"; import { i as WriteToolOptions, l as EditToolOptions, n as PublishWorkspaceLike, s as ReadToolOptions } from "./shared-J7HCZ3Nd.js"; //#region src/tools/common/options.d.ts /** Options every tool set takes: `createAITools`, `createPiTools`, and `createTanStackTools`. */ interface CreateToolsOptions { workspace: WorkspaceLike & Partial & Partial; /** Omit `write`, `edit`, `delete`, `exec`, and `publish`. */ readonly?: boolean; root?: string; /** Set `false` to omit `publish` even when assets are configured. */ assets?: boolean; read?: Omit; write?: Omit; edit?: Omit; /** * The backends `exec` may run on, keyed by id, each with an optional * description for the model. Omit to offer every backend the * Workspace has; `{}` means no exec tool. */ exec?: ExecBackends; execOutput?: Pick; /** * @deprecated Use `exec`. `{ backends }` becomes `exec: backends`; * `defaultBackend` is ignored, because the model names a backend * whenever there is a choice. Output limits move to `createExecTool`. */ shell?: LegacyShellOptions; } interface LegacyShellOptions extends Omit { backends: ExecBackends; defaultBackend?: string; } //#endregion export { CreateToolsOptions as t }; //# sourceMappingURL=shared-g0aFrtd0.d.ts.map