naiad-cli 0.2.31 → 0.2.33

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.
@@ -27,8 +27,9 @@ export class HeartbeatReporter {
27
27
  try {
28
28
  await this.client.postHeartbeatWithPreemption(this.agentId, this.threadId, this.sessionId, this.attempt);
29
29
  }
30
- catch (err) {
31
- console.error("[heartbeat] Failed to send:", err);
30
+ catch {
31
+ // Silently ignore heartbeat failures transient network blips are normal
32
+ // The server detects missed heartbeats by absence, not by error reports
32
33
  }
33
34
  }
34
35
  }
@@ -1 +1 @@
1
- {"version":3,"file":"heartbeat.js","sourceRoot":"","sources":["../../src/sync/heartbeat.ts"],"names":[],"mappings":"AAEA,MAAM,OAAO,iBAAiB;IACpB,MAAM,CAAY;IAClB,OAAO,CAAS;IAChB,QAAQ,CAAS;IACjB,SAAS,CAAS;IAClB,OAAO,CAAS;IAChB,KAAK,GAA0C,IAAI,CAAC;IAE5D,YAAY,MAAiB,EAAE,OAAe,EAAE,QAAgB,EAAE,SAAiB,EAAE,UAAkB,CAAC;QACtG,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;QACrB,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;QACvB,IAAI,CAAC,QAAQ,GAAG,QAAQ,CAAC;QACzB,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC;QAC3B,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;IACzB,CAAC;IAED,KAAK;QACH,IAAI,CAAC,KAAK,GAAG,WAAW,CAAC,GAAG,EAAE,CAAC,IAAI,CAAC,IAAI,EAAE,EAAE,MAAM,CAAC,CAAC;QACpD,qCAAqC;QACrC,IAAI,CAAC,IAAI,EAAE,CAAC;IACd,CAAC;IAED,IAAI;QACF,IAAI,IAAI,CAAC,KAAK,EAAE,CAAC;YACf,aAAa,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;YAC1B,IAAI,CAAC,KAAK,GAAG,IAAI,CAAC;QACpB,C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AAC,IAAI;QAChB,IAAI,CAAC;YACH,MAAM,IAAI,CAAC,MAAM,CAAC,2BAA2B,CAAC,IAAI,CAAC,OAAO,EAAE,IAAI,CAAC,QAAQ,EAAE,IAAI,CAAC,SAAS,EAAE,IAAI,CAAC,OAAO,CAAC,CAAC;QAC3G,CAAC;QAAC,MAAM,CAAC;YACP,0EAA0E;YAC1E,wEAAwE;QAC1E,CAAC;IACH,CAAC;CACF"}
@@ -614,7 +614,7 @@ When you're done, provide a clear, actionable summary the caller can act on.`;
614
614
  const seerEffort = process.env.NAIAD_SEER_REASONING_EFFORT || "xhigh";
615
615
  childEnv.NAIAD_FORCE_REASONING_EFFORT = seerEffort;
616
616
 
617
- const timeoutMs = parseInt(process.env.NAIAD_SEER_TIMEOUT_MS || "300000", 10) || 300000;
617
+ const timeoutMs = parseInt(process.env.NAIAD_SEER_TIMEOUT_MS || "600000", 10) || 600000;
618
618
 
619
619
  const result = await new Promise<string>((resolve, reject) => {
620
620
  const child = spawn(piPath, args, {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "naiad-cli",
3
- "version": "0.2.31",
3
+ "version": "0.2.33",
4
4
  "type": "module",
5
5
  "bin": {
6
6
  "naiad": "./dist/index.js"