refactor: remove legacy PandaScript self-healing and execution

Removes the `--self-heal` CLI option, the `scriptStep` and `scriptHeal`
MCP tools, and associated verification/iterator machinery. Replaces
"PandaScript" terminology with "slash commands" and moves shared
helpers to `tools.zig`.

BREAKING CHANGE: The `--self-heal` CLI flag and the `scriptStep` and
`scriptHeal` MCP tools have been removed.
This commit is contained in:
Adrià Arrufat committed 2026-06-01 17:29:24 +02:00
1 parent cc6ad4d436
commit 044b34d228
15 files changed
+163 -1906

No files matched your search

+5 -5
View File
@@ -17,14 +17,14 @@
// along with this program. If not, see <https://www.gnu.org/licenses/>.
//! REPL-only meta slash commands (`/help`, `/quit`, `/verbosity`, `/model`,
//! `/provider`). Meta
//! commands aren't PandaScript — they're handled by `Agent.handleMeta`
//! and never reach the recorder. PandaScript schema primitives live in
//! `lp.script.Schema`; consumers should import that directly.
//! `/provider`). Meta commands aren't tool slash commands — they're handled
//! by `Agent.handleMeta` and never reach the recorder. Tool slash-command
//! schema primitives live in `lp.Schema`; consumers should import that
//! directly.
const std = @import("std");
const lp = @import("lightpanda");
const Command = lp.script.Command;
const Command = lp.Command;
/// Shared row format for the `/help` listing — `name` is the command name
/// (no `/`), `description` is a terse one-liner.