@volter/supercode-teams 0.3.199 → 0.3.201

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.
package/live-sessions.mjs CHANGED
@@ -769,6 +769,9 @@ export class LiveSessions extends EventEmitter {
769
769
  }
770
770
  const left = () => Math.max(250, deadline - Date.now());
771
771
  for (const { pid: at, command } of await ancestryOf(Number(pid), left())) {
772
+ // a process with no entry has its registry file read now: the folder's watch can miss a new file's event, and a
773
+ // session that started after this daemon was then no one for its first sends (R71)
774
+ if (!this.claude.has(at)) for (const dir of this.claudeDirs.keys()) { this.#readClaude(dir, `${at}.json`); if (this.claude.has(at)) break; }
772
775
  const claude = this.claude.get(at);
773
776
  if (claude && alive(claude.pid)) return this.#address('claude-code', claude.sessionId);
774
777
  const hosted = await this.#runtimeOfPid(at, deadline);
package/machine.mjs CHANGED
@@ -3729,7 +3729,7 @@ export class TeamsMachine extends MachineCore {
3729
3729
  if (config.adapter?.kind !== 'rh2') throw new Error('machine-owned voice needs a persistent meeting adapter; stdio runs in its caller');
3730
3730
  const voiceEntry = this.env.SUPERCODE_VOICE_ENTRY || fileURLToPath(new URL('../voice/bin/voice.mjs', import.meta.url));
3731
3731
  if (!existsSync(voiceEntry)) throw new Error('voice pack is not installed; configure SUPERCODE_VOICE_ENTRY');
3732
- const child = spawn(process.execPath, [voiceEntry, 'run', '--config', configPath], { env: { ...this.env, SUPERCODE_BIN: this.supercodeBin, SUPERCODE_CALLER: params.session }, stdio: ['ignore', 'ignore', 'ignore'] });
3732
+ const child = spawn(process.execPath, [voiceEntry, 'run', '--config', configPath], { env: { ...this.env, SUPERCODE_BIN: this.supercodeBin, SUPERCODE_CALLER: params.session }, stdio: ['ignore', 'ignore', 'ignore'], windowsHide: true });
3733
3733
  this.voiceProcesses.set(params.session, child);
3734
3734
  const ended = () => { if (this.voiceProcesses.get(params.session) === child) this.voiceProcesses.delete(params.session); };
3735
3735
  child.once('error', ended); child.once('exit', ended);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@volter/supercode-teams",
3
- "version": "0.3.199",
3
+ "version": "0.3.201",
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",