@pipod/cli 0.1.14 → 0.1.15
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/dist/cli.js +9 -0
- package/dist/cli.js.map +1 -1
- package/man/pipod-config.5 +1 -1
- package/man/pipod.1 +1 -1
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -11153,7 +11153,16 @@ function createRemoteRuntime(opts) {
|
|
|
11153
11153
|
get isStreaming() {
|
|
11154
11154
|
return cache.state.isStreaming;
|
|
11155
11155
|
},
|
|
11156
|
+
/**
|
|
11157
|
+
* Once an ending is recorded (§6.2) the client has no turn left to wait for, so it reads
|
|
11158
|
+
* as idle. InteractiveMode's extension shutdown requester only shuts down when the session
|
|
11159
|
+
* is idle and otherwise waits for `agent_settled`; without this a `/pod detach` or its
|
|
11160
|
+
* chord would sit until the pod's turn ended, though a leave never touches pod-side pi, and
|
|
11161
|
+
* a dropped transport or a pod-side pi exit may never settle the stream at all. A local
|
|
11162
|
+
* extension's `ctx.shutdown()` records no ending, so it still waits for the turn as in pi.
|
|
11163
|
+
*/
|
|
11156
11164
|
get isIdle() {
|
|
11165
|
+
if (bridge.intent) return true;
|
|
11157
11166
|
return !cache.state.isStreaming && !cache.state.isCompacting;
|
|
11158
11167
|
},
|
|
11159
11168
|
get isCompacting() {
|