script: move script module to root src directory

This commit is contained in:
Adrià Arrufat
2026-05-11 19:56:36 +02:00
parent 1a84f56160
commit c41955ade3
5 changed files with 5 additions and 6 deletions

View File

@@ -47,7 +47,7 @@ pub const HttpClient = @import("browser/HttpClient.zig");
pub const mcp = @import("mcp.zig");
pub const agent = @import("agent.zig");
pub const script = @import("browser/script.zig");
pub const script = @import("script.zig");
pub const cookies = @import("cookies.zig");
pub const build_config = @import("build_config");
pub const crash_handler = @import("crash_handler.zig");

View File

@@ -1,9 +1,8 @@
//! PandaScript: a tiny DSL for recording and replaying browser sessions.
//!
//! Lives under `browser/` because it sits below both `agent/` (the LLM
//! REPL) and `mcp/` (the external-agent server), both of which consume it
//! to translate between recorded `.lp` files and the shared `tools.zig`
//! action surface.
//! Sits above `browser/` (alongside `agent/` and `mcp/`) both the LLM
//! REPL and the external-agent server consume it to translate between
//! recorded `.lp` files and the shared `browser/tools.zig` action surface.
//!
//! This file owns the deterministic helpers (line splicing, atomic file
//! rewrite, path validation, the shared `mcp_driver_guidance` system

View File

@@ -2,7 +2,7 @@ const std = @import("std");
const lp = @import("lightpanda");
const browser_tools = lp.tools;
const Command = @import("Command.zig");
const CDPNode = @import("../../cdp/Node.zig");
const CDPNode = @import("../cdp/Node.zig");
const Self = @This();