Repository navigation
v0.5.3
0.5.3 补丁版本,汇总了自 v0.5.2 以来的主要变更。
新增功能
- 新增
OPS (PTC)预设,沿用官方 PTC 工具面与压缩策略,随插件启停注册;新增默认开启的强制默认预设开关,关闭或卸载时恢复原选择。 @Thatgfsj - 新增可编辑的批量调用引导,会话开始时教学,并按根
run_code的程序形状追加分类提醒;不改系统提示词,支持可选遥测。 @Nicholas023
体验优化
- Windows Niubash 改为每个载荷版本准备一份独立运行时,调用时复用并保留宿主沙箱约束,不再反复创建执行树、封印文件或增加源载荷硬链接。 @Yan-Zero
- Niubash 选择阶段改为只检查文件元数据,首次命令异步准备运行时,发布退避不再阻塞宿主线程,Shell 状态文件不再触发误判重建。 @Vickko
- 减少常驻工具和重复提示,Standard/Cordis 的读取与结果工具、PTC 的结果 API 改为按需加载,保留参数、分页与权限契约。 @Yan-Zero
问题修复
- 修复官方文件工具与 OPS 替代工具同时可见却调用被拒的问题,按当步准入互斥发布,替代工具不可用时保留官方工具;细化发布失败诊断。 @Yan-Zero
- 修复宿主与插件使用不同 scope 模块实例时的作用域识别失败。 @Y-fyan
- 改善文件锁与元数据能力错误分类,文件 revision 改用流式哈希,使大文件 stat、copy、move、remove 不再受完整内容缓冲上限阻挡。 @Yan-Zero
- 搜索深度超限不再吞掉兄弟目录,补充跳过原因;改进空白 glob、grep 参数和目录替换读取拒绝的反馈,区分只读调用超时、取消与写入不确定性。 @Yan-Zero
- 修复旧 Niubash 半成品执行树无法回收的问题,并回收非当前准备版本及残留,保留繁忙、未知或不属于插件的内容。 @Yan-Zero
- 修复并发清理时重复改名已退役目录造成的缓存泄漏。 @Vickko
- Bash 执行器未解析时提供明确说明,并保持官方 PowerShell 可用。 @Nicholas023
The 0.5.3 patch release summarizes the main changes since v0.5.2.
New Features
- Add the
OPS (PTC)preset with the official PTC surface and compaction policy, registered for the plugin's lifetime; add an enabled-by-default force-default switch that restores the prior selection when disabled or unloaded. by @Thatgfsj - Add editable batching guidance with an initial lesson and categorized notices derived from root
run_codeprogram shapes, without changing the system prompt, plus optional telemetry. by @Nicholas023
Improvements
- Prepare one independent Windows Niubash runtime per payload version and reuse it under host confinement, without per-call execution trees, file sealing or additional source-payload hardlinks. by @Yan-Zero
- Check only file metadata during Niubash selection, prepare asynchronously on the first command, avoid blocking the host thread during publication backoff, and stop mistaking shell state files for damage. by @Vickko
- Reduce resident tools and repeated guidance by loading Standard/Cordis read and result tools and the PTC result API on demand, while retaining argument, paging and permission contracts. by @Yan-Zero
Bug Fixes
- Fix official file tools appearing alongside OPS replacements only to be denied on invocation: publish them mutually exclusively using step admission, retain official tools when replacements are unavailable, and distinguish publication failures. by @Yan-Zero
- Fix scope recognition when the host and plugin resolve different instances of the scope module. by @Y-fyan
- Improve lock and metadata capability error classification, and stream file revision hashes so large-file stat, copy, move and remove are no longer blocked by the whole-content buffer limit. by @Yan-Zero
- Keep search depth limits from discarding sibling directories, report skip causes, improve blank-glob, grep-argument and directory-replace read-denial feedback, and distinguish read-only timeouts and cancellation from mutation uncertainty. by @Yan-Zero
- Reclaim incomplete legacy Niubash execution trees and obsolete prepared versions and leftovers, while preserving busy, unknown and unrelated content. by @Yan-Zero
- Fix cache leaks caused by renaming already-retired directories again during concurrent cleanup. by @Vickko
- Explain unresolved Bash executors explicitly while keeping official PowerShell available. by @Nicholas023
Full Changelog: v0.5.2...v0.5.3