@adhdev/daemon-core 0.8.11 → 0.8.13

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.
@@ -0,0 +1,8 @@
1
+ /**
2
+ * Re-export spawn environment utilities from @adhdev/session-host-core.
3
+ *
4
+ * The canonical implementation lives in session-host-core so that both
5
+ * daemon-core and session-host-daemon can share it. This file exists
6
+ * to keep the import path short within daemon-core consumers.
7
+ */
8
+ export { sanitizeSpawnEnv, applyTerminalColorEnv, ensureNodePtySpawnHelperPermissions, } from '@adhdev/session-host-core';
@@ -1,9 +1,11 @@
1
1
  /**
2
2
  * PTY screen snapshot abstraction.
3
3
  *
4
- * We currently keep xterm as the default parser/model because it is already
5
- * proven in production, but the surface is now backend-agnostic so we can
6
- * swap in libghostty-vt once a native Node binding is available.
4
+ * Terminal viewport backend selection.
5
+ *
6
+ * Runtime preference is backend-agnostic:
7
+ * - prefer ghostty-vt when available (or when explicitly requested)
8
+ * - fall back to xterm when ghostty-vt is unavailable
7
9
  */
8
10
  import type { TerminalViewportBackendKind, TerminalViewportBackendPreference } from './terminal-backends/types.js';
9
11
  export declare function getTerminalBackendRuntimeStatus(): {
@@ -23,5 +23,5 @@ export interface CLIInfo {
23
23
  * @param providerLoader ProviderLoader instance (dynamic list creation)
24
24
  */
25
25
  export declare function detectCLIs(providerLoader?: ProviderLoader): Promise<CLIInfo[]>;
26
- /** Detect specific CLI */
26
+ /** Detect specific CLI — only probes the one requested provider */
27
27
  export declare function detectCLI(cliId: string, providerLoader?: ProviderLoader): Promise<CLIInfo | null>;