@volter/supercode-teams 0.2.68 → 0.2.69
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/machine.mjs +5 -1
- package/package.json +1 -1
package/machine.mjs
CHANGED
|
@@ -813,7 +813,11 @@ export class TeamsMachine extends MachineCore {
|
|
|
813
813
|
if (!terminal) return;
|
|
814
814
|
const attach = process.platform === 'win32'
|
|
815
815
|
? [process.execPath, fileURLToPath(new URL('./bin/fleet.mjs', import.meta.url)), 'attach', contextKey, '--mode', 'control']
|
|
816
|
-
|
|
816
|
+
// Presented as `supercode open`'s own client is (crates/cli/src/open.rs `attach`): the terminal sets its own
|
|
817
|
+
// TERM (WezTerm's is xterm-256color), and only a screen-256color client gets the pane server's no-alternate-
|
|
818
|
+
// screen override, so the window's own scrollback, wheel and selection work instead of the wheel arriving
|
|
819
|
+
// in the pane as up/down arrows.
|
|
820
|
+
: ['/usr/bin/env', 'TERM=screen-256color', spawnSync('which', ['tmux'], { encoding: 'utf8' }).stdout.trim() || 'tmux', ...(this.tmuxSocket ? ['-L', this.tmuxSocket] : []), '-T', 'RGB', 'attach-session', '-t', session.label ?? contextKey];
|
|
817
821
|
openPopup(terminal, attach, { ...this.env, TMUX: '' });
|
|
818
822
|
}
|
|
819
823
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@volter/supercode-teams",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.69",
|
|
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",
|