@patimweb/pi-teams 1.7.0 → 1.7.1

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/package.json +1 -1
  2. package/src/auth/msal.ts +11 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@patimweb/pi-teams",
3
- "version": "1.7.0",
3
+ "version": "1.7.1",
4
4
  "description": "Microsoft Teams integration for pi coding agent — acts fully as the signed-in user across multiple accounts and tenants: chats, channels, meetings, presence, with configurable guardrails",
5
5
  "keywords": [
6
6
  "pi-package",
package/src/auth/msal.ts CHANGED
@@ -135,7 +135,17 @@ export function browserLaunch(
135
135
  const quoted = url.replace(/'/g, "''");
136
136
  return {
137
137
  command: WSL_POWERSHELL,
138
- args: ["-NoProfile", "-NonInteractive", "-Command", `Start-Process '${quoted}'`],
138
+ args: [
139
+ "-NoProfile",
140
+ "-NonInteractive",
141
+ // Without this a console window flashes on the Windows side for the
142
+ // fraction of a second the launcher is alive. Cosmetic, but the kind
143
+ // of cosmetic that makes a tool feel broken on every single sign-in.
144
+ "-WindowStyle",
145
+ "Hidden",
146
+ "-Command",
147
+ `Start-Process '${quoted}'`,
148
+ ],
139
149
  };
140
150
  }
141
151