Repository navigation
CLI/TUI v0.0.6
CLI / TUI v0.0.6
简体中文
新增
- 默认
minimal模式增加managed_process,可在同一 Session 中启动受 Guardian 管理的本地开发服务器,查看就绪状态、端口与有界日志,并显式停止进程;启动命令沿用exec的 Permission、Policy、工作区信任与脚本审批。 full工具模式包含内部subagent,可并行委派最多三个独立子任务;子任务保留独立会话记录,可用/sub <序号>检查。MCPligule_run与ligule_run_start也支持单轮模式收窄和经 schema 验证的结构化结果。- 本地 MCP 控制新增
ligule_run的有界等待和ligule_run_await,超时不会取消仍在运行的任务。 - 增加
/mcp list|trust|confirm|revoke|tools管理本地 MCP Server 信任;信任可按会话、项目或用户范围设置,服务器配置变化后需要重新确认。
改进
- 审批方式明确区分
ask、auto、none与旧版never;记住的许可可限定本次、会话、项目或用户,文件许可默认只记当前文件。 - 大型审批先显示字节数、摘要和短预览,再由可信界面按需展开详情;系统拒绝、审批不可用和取消不再记作用户拒绝。
安全
- 撤销工作区信任会停止基于该信任启动的受管进程;其他 Host 会复核共享信任状态并停止相关进程。
- 子代理只能使用父会话当前可见的工具;显式子 Mode 不能恢复父 Mode 隐藏或 Permission 不可用的工具。
安装与启动
需要 Node.js 24 或更新版本。运行 npm install -g ligule@0.0.6 安装;在交互式终端运行 ligule 打开 TUI,或运行 ligule run "任务内容" 执行单轮任务。
English
Added
- Added
managed_processto the defaultminimalmode. It starts local development servers under Guardian ownership, reports readiness and port, provides bounded logs, and supports explicit stop within the same Session. Start commands keepexecPermission, Policy, workspace trust, and script approval checks. - The
fulltool mode includes the internalsubagenttool for up to three concurrent independent child runs; each child keeps a separate Session record that can be inspected with/sub <seq>. MCPligule_runandligule_run_startalso accept per-run mode narrowing and schema-validated structured results. - Added bounded waiting with
ligule_runandligule_run_awaitto the local MCP control tools. A wait timeout does not cancel the active run. - Added
/mcp list|trust|confirm|revoke|toolsto manage local MCP server trust by session, project, or user scope. Server configuration changes require trust again.
Improved
- Approval modes now distinguish
ask,auto,none, and legacynever. Remembered approvals can be scoped to one call, a session, a project, or the user; file approvals default to the selected file. - Large approvals show a byte count, digest, and short preview before trusted interfaces retrieve details on demand. System refusals, unavailable approval channels, and cancellation are no longer recorded as user refusals.
Security
- Revoking workspace trust stops managed processes started from that trust; other Hosts recheck the shared trust state and stop affected processes.
- Subagents are limited to tools visible to the parent session; an explicit child Mode cannot restore tools hidden by the parent Mode or unavailable under its Permission.
Install and run
Requires Node.js 24 or newer. Install with npm install -g ligule@0.0.6. Run ligule in an interactive terminal to open the TUI, or run ligule run "task" for a one-shot request.