@trim21/personal-pi-extensions 0.1.660 → 0.1.661

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@trim21/personal-pi-extensions",
3
- "version": "0.1.660",
3
+ "version": "0.1.661",
4
4
  "type": "module",
5
5
  "description": "Custom pi coding-agent extensions: bwrap sandbox, workspace guard, opencode edit, and more",
6
6
  "keywords": [
@@ -3,10 +3,10 @@
3
3
  *
4
4
  * 沙箱就是 QuickJS VM 本身(VM 里没有 node、文件、网络、timer),脚本唯一的出口是
5
5
  * 注入的工具,而这些工具由主线程执行——所以这里只做三件事:把注册时编译好的 wasm
6
- * 与脚本交给 worker、转发脚本的嵌套调用与输出、在结束/超时/中止时 `terminate()`。
6
+ * 与脚本交给 worker、转发脚本的嵌套调用与输出、在结束或中止时 `terminate()`。
7
7
  *
8
- * worker 一次执行一个:死循环脚本由主线程 terminate 掉,连同它那份 VM 一起丢弃,
9
- * 不会污染后续执行,也不需要取消协议。
8
+ * worker 一次执行一个:脚本没有超时,死循环由调用方中止后 terminate 掉,连同它那份
9
+ * VM 一起丢弃,不会污染后续执行,也不需要取消协议。
10
10
  */
11
11
 
12
12
  import { Worker } from "node:worker_threads";