agent-orchestrator/packages/cli/__tests__/commands
Priyanshu Choudhary b31efacf6b Merge origin/main into feat/windows-platform-adapter
Pulls in 2 main commits (#1487 orchestrator identity fix, #1238 gh CLI
tracer + scm/tracker migration Phase A1a) plus the auto-merged
follow-on changes from upstream.

Conflict resolutions:
- packages/core/src/session-manager.ts:
  Took main's reorganized opencode-agents-md import + new
  getOrchestratorSessionId import. Kept main's reformatted sessionCache
  type and added the new ensureOrchestratorPromises Map.

- packages/core/src/agent-workspace-hooks.ts:
  Took main's WRAPPER_VERSION = "0.6.0" (and matching test fixture).

- packages/core/src/__tests__/agent-workspace-hooks.test.ts:
  Merged both sides' imports — kept branch's buildNodeWrapper +
  node:path/join (still used in test body) and added main's
  AO_METADATA_HELPER + GH_WRAPPER constant exports.

- packages/plugins/agent-codex/src/index.ts:
  Dropped now-unused PREFERRED_GH_PATH import (env injection moved to
  session-manager). Kept isWindows — needed by branch's new
  formatLaunchCommand, resolveCodexBinaryWindows, and pre-existing
  isProcessRunning code.

- packages/plugins/agent-codex/src/index.test.ts:
  Took main's collapsed PATH/GH_PATH undefined assertions and no-op
  setupWorkspaceHooks test — the agent no longer constructs PATH or
  installs wrappers (session-manager owns those paths now). Removed
  the orphaned wrapper-write tests. Kept branch's
  describe.skipIf(win32) on the shell-wrapper-content block (those
  tests verify Unix shell-script content that genuinely can't run on
  PowerShell).

- packages/plugins/agent-aider/src/index.test.ts +
  packages/plugins/agent-cursor/src/index.test.ts:
  Took main's `expect(env["PATH"]).toBeUndefined()` — agents no
  longer set PATH directly.

- packages/web/server/mux-websocket.ts:
  Kept branch's Windows pipe handler branch and updated the inner
  Unix `terminalManager.open(id, tmuxName)` call to main's new
  signature with the optional tmuxName argument.

Verified: typecheck clean, lint 0 errors, full build (28 pkgs), tests
942/946 passing — the 4 failing tests in plugin-integration.test.ts
also fail on main itself (verified by running main's untouched test
file), so they're pre-existing flakes unrelated to this merge.
2026-04-25 20:42:17 +05:30
..
completion.test.ts add zsh completion support for ao (#1374) 2026-04-24 03:48:25 +05:30
dashboard.test.ts fix(windows): update @composio imports to @aoagents scope 2026-04-10 02:28:12 +05:30
doctor.test.ts feat(cli): install-aware ao update, startup notifier, doctor version check (#1156) 2026-04-13 11:46:26 +05:30
init.test.ts Resolve remaining PR review comments 2026-03-17 15:51:02 +05:30
open.test.ts Add multi-project storage, resolution, and project settings support (#1343) 2026-04-21 17:45:55 +05:30
plugin.test.ts Reapply "Merge branch 'main' into feat/windows-platform-adapter" 2026-04-10 02:06:19 +05:30
project.test.ts Add multi-project storage, resolution, and project settings support (#1343) 2026-04-21 17:45:55 +05:30
report.test.ts fix: address PR #1300 requested changes 2026-04-18 11:13:53 +05:30
review-check.test.ts Add multi-project storage, resolution, and project settings support (#1343) 2026-04-21 17:45:55 +05:30
send.test.ts Merge branch 'main' into feat/windows-platform-adapter 2026-04-24 02:45:37 +05:30
session.test.ts Merge branch 'main' into feat/windows-platform-adapter 2026-04-24 02:45:37 +05:30
setup.test.ts Reapply "Merge branch 'main' into feat/windows-platform-adapter" 2026-04-10 02:06:19 +05:30
spawn.test.ts fix(cli): hide legacy second positional from ao spawn help (#1491) 2026-04-25 02:16:32 +05:30
start.test.ts Merge origin/main into feat/windows-platform-adapter 2026-04-25 20:42:17 +05:30
status.test.ts feat(cli): filter terminated sessions from ao session ls / ao status by default (#1340) 2026-04-20 13:05:34 +05:30
update.test.ts feat(cli): install-aware ao update, startup notifier, doctor version check (#1156) 2026-04-13 11:46:26 +05:30