instar 1.3.206 → 1.3.207

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.
@@ -1 +1 @@
1
- {"version":3,"file":"server.d.ts","sourceRoot":"","sources":["../../src/commands/server.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAySH,UAAU,YAAY;IACpB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,GAAG,CAAC,EAAE,MAAM,CAAC;IACb;2DACuD;IACvD,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AA+wDD,wBAAsB,WAAW,CAAC,OAAO,EAAE,YAAY,GAAG,OAAO,CAAC,IAAI,CAAC,CA04PtE;AAED,wBAAsB,UAAU,CAAC,OAAO,EAAE;IAAE,GAAG,CAAC,EAAE,MAAM,CAAA;CAAE,GAAG,OAAO,CAAC,IAAI,CAAC,CAsDzE;AAED;;;;;;;;;;;GAWG;AACH,wBAAsB,aAAa,CAAC,OAAO,EAAE;IAAE,GAAG,CAAC,EAAE,MAAM,CAAA;CAAE,GAAG,OAAO,CAAC,IAAI,CAAC,CAuD5E"}
1
+ {"version":3,"file":"server.d.ts","sourceRoot":"","sources":["../../src/commands/server.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAySH,UAAU,YAAY;IACpB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,GAAG,CAAC,EAAE,MAAM,CAAC;IACb;2DACuD;IACvD,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AA+wDD,wBAAsB,WAAW,CAAC,OAAO,EAAE,YAAY,GAAG,OAAO,CAAC,IAAI,CAAC,CAi5PtE;AAED,wBAAsB,UAAU,CAAC,OAAO,EAAE;IAAE,GAAG,CAAC,EAAE,MAAM,CAAA;CAAE,GAAG,OAAO,CAAC,IAAI,CAAC,CAsDzE;AAED;;;;;;;;;;;GAWG;AACH,wBAAsB,aAAa,CAAC,OAAO,EAAE;IAAE,GAAG,CAAC,EAAE,MAAM,CAAA;CAAE,GAAG,OAAO,CAAC,IAAI,CAAC,CAuD5E"}
@@ -4955,15 +4955,23 @@ export async function startServer(options) {
4955
4955
  runningVersion: processIntegrity.runningVersion,
4956
4956
  });
4957
4957
  if (outcome.kind === 'verified') {
4958
+ // An empty deferredNotification means the bump was patch-only and the
4959
+ // restart narration was deliberately suppressed (Fork 3,
4960
+ // mature-update-announcements) — verification still ran, we just emit
4961
+ // nothing. Still clear the handshake either way.
4962
+ const note = (outcome.deferredNotification || '').trim();
4958
4963
  const topicId = state.get('agent-updates-topic') || 0;
4959
- if (telegram && topicId) {
4964
+ if (note && telegram && topicId) {
4960
4965
  try {
4961
- await telegram.sendToTopic(topicId, outcome.deferredNotification);
4966
+ await telegram.sendToTopic(topicId, note);
4962
4967
  }
4963
4968
  catch (err) {
4964
4969
  console.warn(`[restart-handshake] verified notification failed: ${err instanceof Error ? err.message : String(err)}`);
4965
4970
  }
4966
4971
  }
4972
+ else if (!note) {
4973
+ console.log(`[restart-handshake] verified v${outcome.expectedVersion} (patch-level restart narration suppressed — Fork 3)`);
4974
+ }
4967
4975
  else {
4968
4976
  console.log(`[restart-handshake] verified v${outcome.expectedVersion} (no telegram/topic — skipping notification)`);
4969
4977
  }