docs(persistent-bash): define cancellation reset
This commit is contained in:
@@ -2,5 +2,5 @@
|
||||
# side as of the last confirmed-consistent state. Both languages carry equal authority;
|
||||
# after editing either side, bring the other along and re-record with:
|
||||
# pnpm run verify-translation-pairing --write packages/pty/tool-bash-persistent/README.md
|
||||
README.md: 3f5ffbe50bed4a6ab8f7f11ebad47bf933bba1e8
|
||||
README.zh.md: 94882534b3a2f8aedf382db0376a19540e2ea0d1
|
||||
README.md: cfb3acf41803f5b06ecb3f56ee8ffc29ce9147b1
|
||||
README.zh.md: a525485933344a8f9bc218456c099efdef572902
|
||||
|
||||
@@ -46,5 +46,5 @@ Append-only tool results follow the reusable request prefix.
|
||||
## Known Limitations and Deferred Work
|
||||
|
||||
- The tool requires an owning Agent and a real PTY backend.
|
||||
- Explicit `exit`, timeout, or cancellation discards shell state; the next call starts a fresh shell.
|
||||
- Explicit `exit` and timeout discard shell state. Cancellation also resets and discards the result, even when a complete status marker is already observable; the next call starts a fresh shell.
|
||||
- Environment facts such as network access and package mirrors belong in the configured `description`, not this package's default.
|
||||
|
||||
@@ -46,5 +46,5 @@
|
||||
## 已知限制与延后工作
|
||||
|
||||
- 工具需要拥有它的 Agent 和真实 PTY 后端。
|
||||
- 显式 `exit`、超时或取消会丢弃 shell 状态;下次调用创建新 shell。
|
||||
- 显式 `exit` 与超时会丢弃 shell 状态。取消同样会重置 shell 并丢弃结果,即使已经能观察到完整状态标记也是如此;下次调用创建新 shell。
|
||||
- 网络访问、软件包镜像等环境事实应写入配置的 `description`,而非包默认描述。
|
||||
|
||||
Reference in New Issue
Block a user