@volter/supercode-teams 0.2.124 → 0.2.125
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/bin/workspace.mjs +8 -1
- package/package.json +1 -1
package/bin/workspace.mjs
CHANGED
|
@@ -701,7 +701,14 @@ async function connectorCommand(verb, { flags, rest, output, client, context, te
|
|
|
701
701
|
if (!serviceBin) unsupported('--install requires invocation through the native supercode CLI');
|
|
702
702
|
const serviceEnv = { ...process.env, SUPERCODE_TEAMS_ENTRY: fileURLToPath(new URL('./teams.mjs', import.meta.url)) };
|
|
703
703
|
// Refuse source-backed installs before Windows stops the running connector.
|
|
704
|
-
|
|
704
|
+
try {
|
|
705
|
+
execFileSync(serviceBin, ['__teams-connector-service', 'validate', contextName, path, context.server_id, context.team_id], { encoding: 'utf8', stdio: ['ignore', 'pipe', 'pipe'], env: serviceEnv });
|
|
706
|
+
} catch (error) {
|
|
707
|
+
// In particular, an older native CLI may not have the validation door.
|
|
708
|
+
// Its support-report child must not keep a refused Windows install alive.
|
|
709
|
+
await core.close();
|
|
710
|
+
throw error;
|
|
711
|
+
}
|
|
705
712
|
// Ending a Windows task ends only the console host it started, never the connector under it, so the task
|
|
706
713
|
// would refuse its new run while the old connector went on: the running one is asked to stop first.
|
|
707
714
|
if (process.platform === 'win32') await stopRunningConnector(saved);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@volter/supercode-teams",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.125",
|
|
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",
|