@adhdev/daemon-core 0.5.17 → 0.5.18
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/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/status/reporter.ts +1 -1
- package/src/types.ts +1 -1
package/package.json
CHANGED
package/src/status/reporter.ts
CHANGED
|
@@ -119,7 +119,7 @@ export class DaemonStatusReporter {
|
|
|
119
119
|
}
|
|
120
120
|
|
|
121
121
|
async sendUnifiedStatusReport(opts?: { p2pOnly?: boolean }): Promise<void> {
|
|
122
|
-
const { serverConn,
|
|
122
|
+
const { serverConn, p2p } = this.deps;
|
|
123
123
|
if (!serverConn?.isConnected()) return;
|
|
124
124
|
this.lastStatusSentAt = Date.now();
|
|
125
125
|
const now = this.lastStatusSentAt;
|
package/src/types.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Shared types referenced by daemon-core, daemon-standalone, daemon-cloud, web-core.
|
|
5
5
|
* When modifying this file, also update interface contracts in AGENT_PROTOCOL.md.
|
|
6
6
|
*/
|
|
7
|
-
import type {
|
|
7
|
+
import type { StatusReportPayload } from './shared-types.js';
|
|
8
8
|
|
|
9
9
|
// ── Daemon Status ──
|
|
10
10
|
|