@adhdev/daemon-core 0.7.43 → 0.7.45

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,10 @@
1
+ export interface DaemonUpgradeHelperPayload {
2
+ packageName: string;
3
+ targetVersion: string;
4
+ parentPid: number;
5
+ restartArgv: string[];
6
+ cwd?: string;
7
+ sessionHostAppName?: string;
8
+ }
9
+ export declare function spawnDetachedDaemonUpgradeHelper(payload: DaemonUpgradeHelperPayload): void;
10
+ export declare function maybeRunDaemonUpgradeHelperFromEnv(): Promise<boolean>;
package/dist/index.d.ts CHANGED
@@ -37,6 +37,7 @@ export { DaemonCommandHandler } from './commands/handler.js';
37
37
  export type { CommandResult, CommandContext } from './commands/handler.js';
38
38
  export { DaemonCommandRouter } from './commands/router.js';
39
39
  export type { CommandRouterDeps, CommandRouterResult } from './commands/router.js';
40
+ export { maybeRunDaemonUpgradeHelperFromEnv } from './commands/upgrade-helper.js';
40
41
  export { DaemonStatusReporter } from './status/reporter.js';
41
42
  export { buildSessionEntries, findCdpManager, hasCdpManager, isCdpConnected } from './status/builders.js';
42
43
  export { buildStatusSnapshot } from './status/snapshot.js';