fix(build): ensure Windows build stability by adding Python with distutils and resolving TypeScript errors

- Added Python 3.11 to Windows CI to restore distutils support required by node-gyp
- Ensured native module rebuilds (better-sqlite3, node-pty) succeed on Windows runners
- Fixed TypeScript build errors to restore clean compilation across all platforms
This commit is contained in:
chr1syy
2026-01-15 10:01:43 +01:00
parent dca51447fd
commit 98b5a05f56
2 changed files with 1 additions and 1 deletions

View File

@@ -119,6 +119,7 @@ jobs:
with:
python-version: '3.11'
# macOS: Setup Python 3.11 for node-gyp (Python 3.12+ removed distutils)
- name: Setup Python for node-gyp
if: matrix.platform == 'mac'

View File

@@ -20,7 +20,6 @@ import { buildSshCommand } from '../../utils/ssh-command-builder';
import type { SshRemoteConfig } from '../../../shared/types';
import { powerManager } from '../../power-manager';
import { MaestroSettings } from './persistence';
import { getAgentCapabilities } from '../../agent-capabilities';
const LOG_CONTEXT = '[ProcessManager]';