feat: prepare Zhinian desktop pilot
Some checks failed
Electron E2E / Electron E2E (macos-latest) (push) Has been cancelled
Electron E2E / Electron E2E (ubuntu-latest) (push) Has been cancelled
Electron E2E / Electron E2E (windows-latest) (push) Has been cancelled

This commit is contained in:
inman
2026-05-07 21:49:20 +08:00
parent cddaf37016
commit 0abc48189c
103 changed files with 10975 additions and 2049 deletions

View File

@@ -40,6 +40,7 @@ import { createSignalQuitHandler } from './signal-quit';
import { acquireProcessInstanceFileLock } from './process-instance-lock';
import { getSetting } from '../utils/store';
import { ensureBuiltinSkillsInstalled, ensurePreinstalledSkillsInstalled } from '../utils/skill-config';
import { stopNianxxPlayService } from '../utils/nianxx-play-service';
import { startHostApiServer } from '../api/server';
import { HostEventBus } from '../api/event-bus';
@@ -622,6 +623,7 @@ if (gotTheLock) {
hostEventBus.closeAll();
hostApiServer?.close();
stopNianxxPlayService();
void extensionRegistry.teardownAll();
const stopPromise = gatewayManager.stop().catch((err) => {