@timurproko/a1 0.2.7-dev.1265 → 0.2.7-dev.1266

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.
@@ -20,6 +20,8 @@ import { nativeHyperlinkStyle } from "../ui/components/spans.js";
20
20
  import { SessionRuntimeRegistry } from "./session-runtime-registry.js";
21
21
  import { deferStartupReleaseUpdateObservation, readPackageVersion, StartupReleaseNote } from "./startup-route.js";
22
22
  import { createOwnedSettingsManager, watchSharedSettings } from "./owned-settings.js";
23
+ /** Production default: without an inspector the registry never registers; loaded lazily. */
24
+ const inspectLiveProcessOnDemand = async (pid) => (await import("../foundation/lifecycle/process-liveness.js")).inspectLiveProcess(pid);
23
25
  export async function composeOwnedUiApplication(options = {}) {
24
26
  return (await composeOwnedUi(options)).application;
25
27
  }
@@ -28,7 +30,7 @@ export async function composeOwnedUi(options = {}) {
28
30
  const productMode = options.productMode ?? "bare", bare = productMode === "bare";
29
31
  const sessionRuntimes = new SessionRuntimeRegistry({
30
32
  runtimeId: bare ? process.env[PRODUCT_IDENTITY.environment.sessionRuntimeId] : undefined,
31
- inspectProcess: options.inspectProcess,
33
+ inspectProcess: options.inspectProcess ?? inspectLiveProcessOnDemand,
32
34
  });
33
35
  const productPaths = resolveProductPaths();
34
36
  // Rationale: the manager reads the engine's settings port lazily, after the session exists.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@timurproko/a1",
3
- "version": "0.2.7-dev.1265",
3
+ "version": "0.2.7-dev.1266",
4
4
  "description": "Standalone single-agent terminal UI on pinned Pi",
5
5
  "type": "module",
6
6
  "privateLaunchContract": "neutral-launch-v1",
@@ -113,7 +113,7 @@
113
113
  "@mariozechner/clipboard": "^0.3.9"
114
114
  },
115
115
  "publication": {
116
- "source": "747f0f74face4482a28c0a8f1df3ea088ee6df50",
117
- "pullRequest": 892
116
+ "source": "3af62d09bf030ab54ed112fdcd74984bd157768b",
117
+ "pullRequest": 893
118
118
  }
119
119
  }