Skip to content

Fix PowerShell agent CLI wrapper and restore reliable task/initiative list commands#24

Open
nike-beep wants to merge 1 commit into
chekusu:mainfrom
nike-beep:wanman/fix-powershell-agent-cli-wrapper
Open

Fix PowerShell agent CLI wrapper and restore reliable task/initiative list commands#24
nike-beep wants to merge 1 commit into
chekusu:mainfrom
nike-beep:wanman/fix-powershell-agent-cli-wrapper

Conversation

@nike-beep

Copy link
Copy Markdown

Changes

  • generate Windows-native wanman.cmd / wanman.ps1 and pnpm.cmd / pnpm.ps1 wrappers instead of a Bash-only shim when the local supervisor creates an agent home on Windows
  • use Windows PATH semantics and set USERPROFILE for spawned agent shells so PowerShell sessions inherit the repaired wrapper path correctly
  • add focused regression coverage for Windows wrapper generation, environment setup, and local supervisor lifecycle behavior

Verification

  • corepack pnpm --filter @wanman/cli test -- --coverage local-supervisor.test.ts
  • corepack pnpm --filter @wanman/cli typecheck
  • corepack pnpm --filter @wanman/cli... build
  • live PowerShell smoke check: wanman recv, wanman task list --assignee dev, wanman initiative list

Test Coverage

  • packages/cli/src/local-supervisor.ts: 96.37% statements, 97.22% functions, 98.37% lines from the focused coverage run

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants