mirror of
https://github.com/lightpanda-io/browser.git
synced 2026-06-11 01:25:53 -04:00
script: move script module to root src directory
This commit is contained in:
@@ -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");
|
||||
|
||||
@@ -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
|
||||
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user