@volter/supercode-teams 0.3.112 → 0.3.113

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.
Files changed (2) hide show
  1. package/mail/relay.mjs +4 -4
  2. package/package.json +1 -1
package/mail/relay.mjs CHANGED
@@ -283,11 +283,11 @@ export class Relays {
283
283
  }
284
284
  // why it is not reused, said in the timing line: a relay that should have been warm and was not shows here
285
285
  step(`runtime not reused (${stale ? 'it held a stale turn' : !runtime ? 'no live receipt' : !alive(this.#pid(spec, runtime)) ? 'its process ended' : !record.connection ? 'no connection' : 'endpoint moved'})`);
286
- // closed through the owner's door even after its receipt went. One whose receipt is gone (it ended) is only
287
- // serve's record of it: let go without holding this send (yuerans, 2026-10-06: 2.3-18 s of every send under
288
- // load); one still held is closed before its successor starts, as before
286
+ // closed through the owner's door even after its receipt went. One whose receipt is gone, or whose process
287
+ // ended, is only serve's record of it: let go without holding this send (yuerans, 2026-10-06: 2.3-18 s of every
288
+ // send under load); one still running is closed before its successor starts, as before
289
289
  const close = this.serve('harness.v1.runtimes.close', { connection: record.connection, runtime_id: record.runtime_id }, CLOSE_MS);
290
- if (runtime) {
290
+ if (runtime && alive(this.#pid(spec, runtime))) {
291
291
  try { await close; }
292
292
  catch (error) { if (this.runtimeOf('claude-code', record.runtime_id)) throw new Error(`could not retire the old relay: ${error.message}`); }
293
293
  step('old runtime closed (runtimes.close)');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@volter/supercode-teams",
3
- "version": "0.3.112",
3
+ "version": "0.3.113",
4
4
  "type": "module",
5
5
  "description": "A machine daemon serving this machine's doors, and a local or remote Teams server for shared session discovery, OpenTelemetry ingestion and access to enrolled machines.",
6
6
  "license": "MIT",