@adhdev/daemon-core 0.9.76-rc.4 → 0.9.76-rc.6

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.
@@ -328,6 +328,15 @@ export interface CompactSessionEntry {
328
328
  settings?: Record<string, any>;
329
329
  }
330
330
  export type VersionUpdateReason = 'force_update_below' | 'major_minor_mismatch' | 'patch_mismatch' | 'daemon_ahead';
331
+ export type ReleaseChannel = 'stable' | 'preview';
332
+ export type NpmUpdateTag = 'latest' | 'next';
333
+ export interface VersionUpdatePolicy {
334
+ channel: ReleaseChannel;
335
+ npmTag: NpmUpdateTag;
336
+ targetVersion: string;
337
+ minVersion?: string;
338
+ updateCommand: string;
339
+ }
331
340
  /** Available provider information */
332
341
  export interface AvailableProviderInfo {
333
342
  type: string;
@@ -469,6 +478,10 @@ export interface CompactDaemonEntry {
469
478
  versionMismatch?: boolean;
470
479
  versionUpdateRequired?: boolean;
471
480
  versionUpdateReason?: VersionUpdateReason;
481
+ releaseChannel?: ReleaseChannel;
482
+ updateChannel?: ReleaseChannel;
483
+ updatePolicy?: VersionUpdatePolicy;
484
+ updateCommand?: string;
472
485
  terminalBackend?: TerminalBackendStatus;
473
486
  detectedIdes?: DetectedIdeInfo[];
474
487
  availableProviders?: AvailableProviderInfo[];
@@ -490,10 +503,14 @@ export interface CloudDaemonSummaryEntry {
490
503
  versionMismatch?: boolean;
491
504
  versionUpdateRequired?: boolean;
492
505
  versionUpdateReason?: VersionUpdateReason;
506
+ releaseChannel?: ReleaseChannel;
507
+ updateChannel?: ReleaseChannel;
508
+ updatePolicy?: VersionUpdatePolicy;
509
+ updateCommand?: string;
493
510
  terminalBackend?: TerminalBackendStatus;
494
511
  }
495
512
  /** Minimal daemon bootstrap payload used by dashboard WS to initiate P2P. */
496
- export interface DashboardBootstrapDaemonEntry {
513
+ export interface DashboardBootstrapDaemonEntry extends Partial<CloudDaemonSummaryEntry> {
497
514
  id: string;
498
515
  p2p?: StatusReportPayload['p2p'];
499
516
  timestamp?: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adhdev/daemon-core",
3
- "version": "0.9.76-rc.4",
3
+ "version": "0.9.76-rc.6",
4
4
  "description": "ADHDev daemon core — CDP, IDE detection, providers, command execution",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -127,7 +127,7 @@ function resolveAdhdevMcpServerLaunch(options: {
127
127
  if (!entryPath) return null
128
128
  return {
129
129
  command: options.nodeExecutable?.trim() || process.execPath,
130
- args: [entryPath, '--repo-mesh', options.meshId],
130
+ args: [entryPath, '--mode', 'ipc', '--repo-mesh', options.meshId],
131
131
  }
132
132
  }
133
133
 
@@ -1136,6 +1136,7 @@ export class DaemonCommandRouter {
1136
1136
  if (args?.inlineMesh) {
1137
1137
  mcpServerEntry.env = {
1138
1138
  ADHDEV_INLINE_MESH: JSON.stringify(mesh),
1139
+ ADHDEV_MCP_TRANSPORT: 'ipc',
1139
1140
  };
1140
1141
  }
1141
1142
  const mcpConfig = {
@@ -432,6 +432,17 @@ export type VersionUpdateReason =
432
432
  | 'patch_mismatch'
433
433
  | 'daemon_ahead';
434
434
 
435
+ export type ReleaseChannel = 'stable' | 'preview';
436
+ export type NpmUpdateTag = 'latest' | 'next';
437
+
438
+ export interface VersionUpdatePolicy {
439
+ channel: ReleaseChannel;
440
+ npmTag: NpmUpdateTag;
441
+ targetVersion: string;
442
+ minVersion?: string;
443
+ updateCommand: string;
444
+ }
445
+
435
446
  /** Available provider information */
436
447
  export interface AvailableProviderInfo {
437
448
  type: string;
@@ -577,6 +588,10 @@ export interface CompactDaemonEntry {
577
588
  versionMismatch?: boolean;
578
589
  versionUpdateRequired?: boolean;
579
590
  versionUpdateReason?: VersionUpdateReason;
591
+ releaseChannel?: ReleaseChannel;
592
+ updateChannel?: ReleaseChannel;
593
+ updatePolicy?: VersionUpdatePolicy;
594
+ updateCommand?: string;
580
595
  terminalBackend?: TerminalBackendStatus;
581
596
  detectedIdes?: DetectedIdeInfo[];
582
597
  availableProviders?: AvailableProviderInfo[];
@@ -599,11 +614,15 @@ export interface CloudDaemonSummaryEntry {
599
614
  versionMismatch?: boolean;
600
615
  versionUpdateRequired?: boolean;
601
616
  versionUpdateReason?: VersionUpdateReason;
617
+ releaseChannel?: ReleaseChannel;
618
+ updateChannel?: ReleaseChannel;
619
+ updatePolicy?: VersionUpdatePolicy;
620
+ updateCommand?: string;
602
621
  terminalBackend?: TerminalBackendStatus;
603
622
  }
604
623
 
605
624
  /** Minimal daemon bootstrap payload used by dashboard WS to initiate P2P. */
606
- export interface DashboardBootstrapDaemonEntry {
625
+ export interface DashboardBootstrapDaemonEntry extends Partial<CloudDaemonSummaryEntry> {
607
626
  id: string;
608
627
  p2p?: StatusReportPayload['p2p'];
609
628
  timestamp?: number;