@volter/supercode-teams 0.3.131 → 0.3.132

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/machine.mjs +2 -0
  2. package/package.json +1 -1
package/machine.mjs CHANGED
@@ -2112,6 +2112,8 @@ export class TeamsMachine extends MachineCore {
2112
2112
  const launch = this.launches.all().find((entry) => entry.pane === pane);
2113
2113
  const by = launch?.by ?? null;
2114
2114
  if (by === caller) return null;
2115
+ // the session running in the pane acts on its own pane, whoever opened it (it closes itself when its work is done)
2116
+ if (this.live?.sessions().some((live) => live.address === caller && String(live.pane ?? '').split(':')[0] === pane)) return null;
2115
2117
  // A pane that resumes a session is that session's as well: its first starter acts on it as before the resume
2116
2118
  // (t_09a795fd item 18). The starter is the oldest harness launch whose own transcript confirmed it started that
2117
2119
  // session, never a launch row's claim (any caller can launch a program with --session-id S).
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@volter/supercode-teams",
3
- "version": "0.3.131",
3
+ "version": "0.3.132",
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",