/** * jsm_run — run a script against the JSM Operations API. * * This is the half of code execution that jsm_call cannot do. jsm_call takes * tool definitions out of the context window; this takes the *data* out too. * A script reads two thousand alerts, counts the ones that matter, and logs a * sentence — and the two thousand never reach the model at all. * * It is read-only, and not by configuration. The context handed to the * dispatcher carries no write allowlist, so every operation reachable from a * script is one with `readOnlyHint` that issues a GET. That is what keeps the * sandbox's threat model short enough to be true: the live risk is prompt * injection — alert messages and notes are written by whatever integration * fired them, they reach the model's context, and a model acting on * instructions found there can write a script. A script that cannot write * cannot be made to delete a schedule. * * Writes stay in jsm_apply, one per call, where the client approves each by * name. See apply.ts for the full argument. */ import { type AnyToolDefinition } from "../define.js"; import { type CodeToolDependencies } from "./call.js"; import type { ScriptEngine } from "./engine.js"; export declare function createRunTool(dependencies: CodeToolDependencies, engine: ScriptEngine): AnyToolDefinition; //# sourceMappingURL=run.d.ts.map