thinkpool-pair 0.7.86 → 0.7.87
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/bridge.mjs +4 -2
- package/package.json +1 -1
package/bridge.mjs
CHANGED
|
@@ -554,8 +554,10 @@ const announce = () =>
|
|
|
554
554
|
// Structured sessions advertise kind:'structured' so the web renders the
|
|
555
555
|
// reader (not xterm) and drives them with code-turn / code-perm. `mode` +
|
|
556
556
|
// `name` ride along so a second device shows the live permission mode and
|
|
557
|
-
// the chosen label instead of defaulting to Normal / unnamed.
|
|
558
|
-
|
|
557
|
+
// the chosen label instead of defaulting to Normal / unnamed. `spawned` (set
|
|
558
|
+
// when an agent Dispatched this lane via spawn_terminal) lets the client keep
|
|
559
|
+
// it OUT of the top tab strip and show it only in the Ensemble menu.
|
|
560
|
+
...[...sessions.entries()].map(([id, s]) => ({ id, cmd: s.cmd, kind: 'structured', alive: true, commands: s.commands, mode: s.mode || undefined, name: termNames[id] || undefined, ...(s.spawnedBy ? { spawned: true } : {}) })),
|
|
559
561
|
],
|
|
560
562
|
})
|
|
561
563
|
|