@proagentstore/cli 0.4.117 → 0.4.118

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.
@@ -24,7 +24,9 @@ export class CodingRuntime {
24
24
  */
25
25
  liveWork() {
26
26
  return [...this.sessions.entries()].flatMap(([sessionId, s]) => {
27
- const engine = s.clientType ?? "";
27
+ // The engine lives on the session's CONFIG (#1053): reading a top-level `clientType` — which a
28
+ // HeadlessSession does not have — labelled every live Claude turn "coding turn is lost on a restart".
29
+ const engine = s.config?.clientType ?? "";
28
30
  const consequence = engine === "claude" ? "Claude conversation resumes after a restart" : `${engine || "coding"} turn is lost on a restart`;
29
31
  try {
30
32
  // `alive: false` is an observed inactive session. Any other answer (including a
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@proagentstore/cli",
3
- "version": "0.4.117",
3
+ "version": "0.4.118",
4
4
  "description": "CLI for creating, publishing, and running ProAgentStore agents",
5
5
  "license": "MIT",
6
6
  "type": "module",