{"modulePath":"github.com/scriptscat/sctl","version":"v0.4.1","isStandardLibrary":false,"packages":{"items":[{"path":"github.com/scriptscat/sctl/cmd/protocolgen","name":"main","synopsis":"","isRedistributable":true},{"path":"github.com/scriptscat/sctl/cmd/sctl","name":"main","synopsis":"sctl — ScriptCat 控制工具:本地桥接 daemon、MCP stdio server 与脚本管理命令。","isRedistributable":true},{"path":"github.com/scriptscat/sctl/internal/cli","name":"cli","synopsis":"Package cli 定义 sctl 的 cobra 子命令。","isRedistributable":true},{"path":"github.com/scriptscat/sctl/internal/cli/upgradehint","name":"upgradehint","synopsis":"Package upgradehint 放 scripts.run / scripts.logs 在旧版 ScriptCat 上得到 METHOD_NOT_FOUND 时给用户的 升级提示。","isRedistributable":true},{"path":"github.com/scriptscat/sctl/internal/client/control","name":"control","synopsis":"Package control 定义 sctl 前端(sctl mcp / CLI 动词)与常驻 daemon(sctl serve)之间的 「控制连接」:一套跑在 daemon listener 上、与扩展 WS 面同端口但独立路径的 HTTP/JSON 控制 API。","isRedistributable":true},{"path":"github.com/scriptscat/sctl/internal/client/mcpserver","name":"mcpserver","synopsis":"Package mcpserver 用官方 go-sdk 构建 sctl 的 stdio MCP server:把 protocol.json 定义的 bridge action 暴露成 MCP 工具(第 1 期的方法一方法一工具,之后的浏览器领域按领域合并成一个工具),并在 调用等待期间周期发送 progress 通知(支持的客户端可借此续期工具超时;哪些调用、从何时开始发见 progressFor)。","isRedistributable":true},{"path":"github.com/scriptscat/sctl/internal/client/service","name":"service","synopsis":"Package service 把 `sctl serve` 注册为当前用户的系统服务:macOS launchd LaunchAgent、Linux systemd 用户单元、Windows 登录触发的计划任务。","isRedistributable":true},{"path":"github.com/scriptscat/sctl/internal/daemon","name":"daemon","synopsis":"Package daemon 是 sctl serve 的组装层:一个 cago Component,把可配置监听地址的 桥接 WS server(internal/daemon/bridge)、本机控制 API(internal/daemon/controlapi)、 页面自动化组件(internal/daemon/page)、原始 CDP 端点(internal/daemon/cdpendpoint)与持久化存储(internal/daemon/store) 接到同一个 listener 上。","isRedistributable":true},{"path":"github.com/scriptscat/sctl/internal/daemon/auth","name":"auth","synopsis":"Package auth 实现桥接协议的认证原语:双向 HMAC 挑战应答握手(会话/配对两种模式)、 配对码派生(HKDF)与长期密钥下发(AES-256-GCM)。","isRedistributable":true},{"path":"github.com/scriptscat/sctl/internal/daemon/bridge","name":"bridge","synopsis":"","isRedistributable":true},{"path":"github.com/scriptscat/sctl/internal/daemon/cdpendpoint","name":"cdpendpoint","synopsis":"Package cdpendpoint 为每个已配对的 sctl Browser 实例提供一个原始 CDP 端点:Playwright connectOverCDP 与 Puppeteer connect 连上它,就能驱动这个浏览器里能附加的全部标签页(docs/protocol.md「Raw CDP endpoint」)。","isRedistributable":true},{"path":"github.com/scriptscat/sctl/internal/daemon/controlapi","name":"controlapi","synopsis":"Package controlapi 实现 daemon listener 上的本机内部控制 API(/control/*)。","isRedistributable":true},{"path":"github.com/scriptscat/sctl/internal/daemon/page","name":"page","synopsis":"Package page 是 daemon 内的页面自动化组件:把 `sctl page …` 与 page_* MCP 工具的一次动作翻译成 发往浏览器实例的 CDP 命令,并在 daemon 内存里保存跨命令的页面状态(调试器附加、空闲断开计时、快照的元素引用表)。","isRedistributable":true},{"path":"github.com/scriptscat/sctl/internal/daemon/ratelimit","name":"ratelimit","synopsis":"Package ratelimit 提供按 key 的滑动窗口限流,用于桥接的配对尝试节流。","isRedistributable":true},{"path":"github.com/scriptscat/sctl/internal/daemon/store","name":"store","synopsis":"Package store 是守卫侧的持久化层,以原子替换将扩展配对的长期共享密钥写入数据目录。","isRedistributable":true},{"path":"github.com/scriptscat/sctl/internal/pkg/audit","name":"audit","synopsis":"Package audit 记录守卫侧的安全事件。","isRedistributable":true},{"path":"github.com/scriptscat/sctl/internal/pkg/fsutil","name":"fsutil","synopsis":"Package fsutil 提供跨包复用的文件系统小工具。","isRedistributable":true},{"path":"github.com/scriptscat/sctl/internal/pkg/logging","name":"logging","synopsis":"Package logging 为所有 sctl 子命令初始化统一的 zap 日志。","isRedistributable":true},{"path":"github.com/scriptscat/sctl/internal/pkg/paths","name":"paths","synopsis":"Package paths 解析 sctl 的数据目录与派生路径(日志、配对密钥等)。","isRedistributable":true},{"path":"github.com/scriptscat/sctl/internal/pkg/protocol","name":"protocol","synopsis":"Package protocol 解析从 sctl 权威 schema 生成并嵌入的协议元数据。","isRedistributable":true},{"path":"github.com/scriptscat/sctl/internal/pkg/protocol/generated","name":"generated","synopsis":"Code generated by protocolgen; DO NOT EDIT.","isRedistributable":true},{"path":"github.com/scriptscat/sctl/internal/pkg/protocolschema","name":"protocolschema","synopsis":"Package protocolschema validates untrusted WebSocket frames against the schema-owned RPC contract.","isRedistributable":true},{"path":"github.com/scriptscat/sctl/internal/protocolgen","name":"protocolgen","synopsis":"","isRedistributable":true}],"total":23}}
