@adhdev/daemon-core 0.9.82-rc.503 → 0.9.82-rc.505

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adhdev/daemon-core",
3
- "version": "0.9.82-rc.503",
3
+ "version": "0.9.82-rc.505",
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",
@@ -47,8 +47,8 @@
47
47
  "author": "vilmire",
48
48
  "license": "AGPL-3.0-or-later",
49
49
  "dependencies": {
50
- "@adhdev/mesh-shared": "0.9.82-rc.503",
51
- "@adhdev/session-host-core": "0.9.82-rc.503",
50
+ "@adhdev/mesh-shared": "0.9.82-rc.505",
51
+ "@adhdev/session-host-core": "0.9.82-rc.505",
52
52
  "@agentclientprotocol/sdk": "^0.16.1",
53
53
  "ajv": "^8.20.0",
54
54
  "ajv-formats": "^3.0.1",
@@ -14,7 +14,7 @@
14
14
  import type { ProviderLoader } from '../providers/provider-loader.js';
15
15
  import { detectCLI } from '../detection/cli-detector.js';
16
16
  import { getGitRepoStatus } from '../git/git-status.js';
17
- import { normalizeGitStatus as sharedNormalizeGitStatus, pickBestTransitGitStatus as sharedPickBestTransitGitStatus, summarizeGitShape as sharedSummarizeGitShape, normalizeMeshNodeId, daemonIdsEquivalent, meshWorkspacesEquivalent, sessionIdsEquivalent } from '@adhdev/mesh-shared';
17
+ import { normalizeGitStatus as sharedNormalizeGitStatus, pickBestTransitGitStatus as sharedPickBestTransitGitStatus, summarizeGitShape as sharedSummarizeGitShape, normalizeMeshNodeId, daemonIdsEquivalent, meshWorkspacesEquivalent, sessionIdsEquivalent, withStatusProbeMarker } from '@adhdev/mesh-shared';
18
18
  import { LOG } from '../logging/logger.js';
19
19
  import { getSessionHostSurfaceKind } from '../session-host/runtime-surface.js';
20
20
  import { awaitWithWarmupDeadline, resolveWarmupDeadlineOpts } from '../mesh/mesh-warmup-deadline.js';
@@ -1468,7 +1468,16 @@ async function probeRemoteMeshGitStatus(args: {
1468
1468
  // cold-open handshake to the connect budget and only the warm round trip to
1469
1469
  // the response budget, so the first probe to a cold peer is no longer
1470
1470
  // false-timed-out before its channel has even opened.
1471
- const dispatch = args.dispatchMeshCommand(args.daemonId, 'git_status', { workspace: args.workspace, refreshUpstream: true });
1471
+ // OFFLINE-NODE-STATUS-REFRESH: stamp the status-origin marker so the daemon-cloud
1472
+ // dispatch wrapper grants this explicit_refresh / mesh_status git_status probe the
1473
+ // SHORT connect-wait budget. Without it, an offline (powered-off) peer sinks the
1474
+ // probe into the 90s connect deadline and blocks the whole status assembly. A
1475
+ // user-driven / targeted git_status (no marker) is unaffected.
1476
+ const dispatch = args.dispatchMeshCommand(
1477
+ args.daemonId,
1478
+ 'git_status',
1479
+ withStatusProbeMarker({ workspace: args.workspace, refreshUpstream: true }),
1480
+ );
1472
1481
  // A missing connection getter no longer silently becomes `() => true`
1473
1482
  // ("always warm") — that charged a still-opening channel against the response
1474
1483
  // budget and re-introduced the cold-open false-timeout. resolveWarmupDeadlineOpts