@adhdev/daemon-core 0.9.48 → 0.9.49
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/dist/cli-adapter-types.d.ts +1 -0
- package/dist/cli-adapters/provider-cli-adapter.d.ts +1 -0
- package/dist/commands/chat-commands.d.ts +9 -0
- package/dist/commands/upgrade-helper.d.ts +9 -6
- package/dist/index.d.ts +2 -2
- package/dist/index.js +371 -21
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +369 -21
- package/dist/index.mjs.map +1 -1
- package/node_modules/@adhdev/session-host-core/package.json +1 -1
- package/package.json +1 -1
- package/src/cli-adapter-types.ts +1 -0
- package/src/cli-adapters/provider-cli-adapter.ts +82 -0
- package/src/cli-adapters/provider-cli-shared.ts +6 -1
- package/src/commands/chat-commands.ts +267 -2
- package/src/commands/cli-manager.ts +4 -1
- package/src/commands/handler.ts +1 -0
- package/src/commands/router.ts +5 -6
- package/src/commands/upgrade-helper.ts +37 -15
- package/src/detection/cli-detector.ts +5 -1
- package/src/index.d.ts +2 -2
- package/src/index.ts +10 -7
- package/src/launch.ts +2 -2
- package/src/providers/acp-provider-instance.ts +1 -0
package/src/launch.ts
CHANGED
|
@@ -469,7 +469,7 @@ async function launchMacOS(ide: IDEInfo, port: number, workspace?: string, newWi
|
|
|
469
469
|
|
|
470
470
|
if (!useAppLauncher && ide.cliCommand) {
|
|
471
471
|
// CLI based execute
|
|
472
|
-
spawn(ide.cliCommand, args, { detached: true, stdio: 'ignore' }).unref();
|
|
472
|
+
spawn(ide.cliCommand, args, { detached: true, stdio: 'ignore', windowsHide: true }).unref();
|
|
473
473
|
} else if (appName) {
|
|
474
474
|
// Fallback to `open -a` when no CLI wrapper is available or the provider prefers it.
|
|
475
475
|
const openArgs = ['-a', appName, '--args', ...args];
|
|
@@ -509,7 +509,7 @@ async function launchLinux(ide: IDEInfo, port: number, workspace?: string, newWi
|
|
|
509
509
|
if (newWindow) args.push('--new-window');
|
|
510
510
|
if (workspace) args.push(workspace);
|
|
511
511
|
|
|
512
|
-
spawn(cli, args, { detached: true, stdio: 'ignore' }).unref();
|
|
512
|
+
spawn(cli, args, { detached: true, stdio: 'ignore', windowsHide: true }).unref();
|
|
513
513
|
}
|
|
514
514
|
|
|
515
515
|
export function getAvailableIdeIds(): string[] {
|
|
@@ -662,6 +662,7 @@ export class AcpProviderInstance implements ProviderInstance {
|
|
|
662
662
|
env,
|
|
663
663
|
stdio: ['pipe', 'pipe', 'pipe'],
|
|
664
664
|
shell: spawnConfig.shell || false,
|
|
665
|
+
...(process.platform === 'win32' ? { windowsHide: true } : {}),
|
|
665
666
|
});
|
|
666
667
|
|
|
667
668
|
// stderr → log + auth failure detection
|