diff --git a/AGENTS.md b/AGENTS.md index 9f92b07..0dd7052 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -2,6 +2,10 @@ Instructions for AI coding agents working with this codebase. +## Package Manager + +This project uses **pnpm**. Always use `pnpm` instead of `npm` or `yarn` for installing dependencies, running scripts, etc. (e.g., `pnpm install`, `pnpm run build`). + ## Code Style - Do not use emojis in code, output, or documentation. Unicode symbols (✓, ✗, →, ⚠) are acceptable. diff --git a/src/daemon.ts b/src/daemon.ts index 36d5acc..8a331df 100644 --- a/src/daemon.ts +++ b/src/daemon.ts @@ -373,11 +373,12 @@ export async function startDaemon(options?: { continue; } - // Auto-launch if not already launched and this isn't a launch/close command + // Auto-launch if not already launched and this isn't a launch/close/state_load command if ( !manager.isLaunched() && parseResult.command.action !== 'launch' && - parseResult.command.action !== 'close' + parseResult.command.action !== 'close' && + parseResult.command.action !== 'state_load' ) { if (isIOS && manager instanceof IOSManager) { // Auto-launch iOS Safari