@volter/supercode-teams 0.2.85 → 0.2.86

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.
@@ -262,7 +262,9 @@ export class TeamsConnector {
262
262
  // syncing. An error of the connection itself (the outbox, authentication, the server, a stop) still ends
263
263
  // the pass. The session keeps its native binding either way, so it can still be attached to.
264
264
  let captured = true;
265
- if (this.sessionChanged(options) && !this.predatesWindow(options)) try { await this.capture(options); } catch (error) {
265
+ // A session whose store is unchanged since this rule last committed it is in sync, whatever it last failed.
266
+ const changed = this.sessionChanged(options); if (!changed) this.clearSessionProblem(harness, nativeSessionId);
267
+ if (changed && !this.predatesWindow(options)) try { await this.capture(options); } catch (error) {
266
268
  if (connectionError(error) || this.abort.signal.aborted) throw error;
267
269
  captured = false; this.noteSessionProblem(options, error);
268
270
  process.stderr.write(`supercode teams: ${harness} session ${nativeSessionId} not synced: ${error.message}\n`);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@volter/supercode-teams",
3
- "version": "0.2.85",
3
+ "version": "0.2.86",
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",