@vincenthanxiaodu/pi-web 1.202608.21 → 1.202608.22

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.
@@ -114,7 +114,7 @@
114
114
  html, body { margin: 0; height: 100%; overflow: hidden; background: var(--pi-bg); color: var(--pi-text); }
115
115
  body { min-height: 100dvh; }
116
116
  </style>
117
- <script type="module" crossorigin src="./assets/index-vN-bQgXV.js"></script>
117
+ <script type="module" crossorigin src="./assets/index-DUdT8Swu.js"></script>
118
118
  <link rel="modulepreload" crossorigin href="./assets/vendor-editor-core-CXO8gGab.js">
119
119
  <link rel="modulepreload" crossorigin href="./assets/vendor-editor-languages-CpW4sJsX.js">
120
120
  </head>
@@ -1688,7 +1688,10 @@ export class PiSessionService {
1688
1688
  // nothing on every real session, and the unit tests missed it because they
1689
1689
  // built the fixture with the same key they read it back with: self
1690
1690
  // consistent, and wrong about the disk.
1691
- return listSubagentRuns(dirname(sessionFile), basename(sessionFile, ".jsonl"));
1691
+ // The parent's own state settles what a silent child means: while the turn
1692
+ // that spawned them is still running, a run without a result is still
1693
+ // running too, however long it has been thinking.
1694
+ return listSubagentRuns(dirname(sessionFile), basename(sessionFile, ".jsonl"), Date.now(), { parentActive: session.isStreaming });
1692
1695
  }
1693
1696
  /**
1694
1697
  * Background-task runs for this session.