Skip to content
News

AI insights

GitHub Copilot CLI 1.0.119: Directory Switching & OSC 7577

Key updates in GitHub Copilot CLI v1.0.118-1.0.119: mid-session directory switching, OSC 7577 auto-resume, natural-language schedules, and process spawn guards.

GitHub Copilot CLI 1.0.119: Directory Switching & OSC 7577

Q. What are the biggest changes in GitHub Copilot CLI 1.0.118 to 1.0.119? It adds a Change session directory tool to move mid-session without reloading project configuration and OSC 7577 support to automatically resume saved local sessions when your terminal restarts. In addition, /after, /every, and /loop natural-language schedules now work with Auto even before your first prompt, and COPILOT_ALLOW_PROCESS_SPAWN=0 blocks child processes.

⚠️ Accuracy guardrail: This article was written on December 3, 2026, directly from the official github/copilot-cli release notes (v1.0.118, v1.0.119, and pre-release v1.0.120-0). The exact promotion date for v1.0.120-0 to stable, the full compatibility matrix of terminal emulators supporting OSC 7577, and environment-specific latency benchmarks are not listed in the official notes and were not verified.

30-second summary

  • Session continuity (v1.0.119, Dec 2): Switch working directories mid-session with Change session directory and automatically resume local sessions across OSC 7577 terminal restarts.
  • Concise transcripts & scheduling (v1.0.118, Dec 1): Tool-call runs fold into one row by default (Ctrl+O cycles three views), and /after, /every, and /loop accept natural-language schedules under Auto before the first prompt.
  • Execution & permission guards: COPILOT_ALLOW_PROCESS_SPAWN=0 stops child shell and Git processes, while /move preserves private Unix file permissions.
  • Pre-release v1.0.120-0 preview: Released on December 2 at 20:34 UTC, it scopes extension approvals by parent folder and fixes a JavaScript heap leak when switching sessions.

Developer desk running terminal CLI coding sessions

1. Mid-session directory switching and terminal restart recovery (v1.0.119)

The headline of v1.0.119 is keeping long coding sessions intact across directory moves and terminal restarts. Shipped on December 2, 2026 at 12:49 UTC, the stable release introduces the Change session directory tool (enabled in Settings) so the agent can move session tools to another existing directory without reloading project configuration. When jumping between monorepo packages or adjacent repositories, you no longer have to start from scratch.

Alongside it, Copilot CLI now automatically resumes saved local sessions when a terminal supporting the Program Resume Protocol (OSC 7577) restarts. You can also press Up to recall—newest first—prompts submitted with Enter and canceled with Ctrl+C before sending, and sessions waiting on a failed background agent automatically resume without requiring another prompt.

GitHub Copilot CLI v1.0.119 official release page

Advertisement

2. Concise transcripts by default and natural-language scheduling (v1.0.118)

v1.0.118 improves terminal readability while lowering friction for scheduled background runs. Released on December 1, 2026 at 12:34 UTC, it folds each run of tool calls into a single row in the transcript by default. Pressing Ctrl+O steps through collapsed, grouped, and detailed views, and /settings timelineExpansion locks in your preference. v1.0.119 builds on this by marking tool calls as awaiting approval instead of looking like they are already running, and showing Ctrl+C interruptions as cancelled rather than failed.

Recurring commands /after, /every, and /loop also became easier to trigger early. In v1.0.118, they accept natural-language schedules with Auto selected even before your first prompt, and v1.0.119 ensures active /every and /after schedules set before the first message are restored when resuming with session sync off.

Summary diagram of key changes in GitHub Copilot CLI v1.0.118-1.0.119

3. Process-spawn blocking, /move safety, and multi-tenant MCP

As agent autonomy grows, process boundaries, file permissions, and enterprise authentication are tightened. Setting COPILOT_ALLOW_PROCESS_SPAWN=0 before launching Copilot CLI (v1.0.118) prevents its runtime from spawning child processes, including shell commands and Git—useful as a hard safety rail during read-only reviews or untrusted repo inspection.

Area v1.0.118 (Dec 1) v1.0.119 (Dec 2) Practical impact
Process & perms Added COPILOT_ALLOW_PROCESS_SPAWN=0 /move stops widening Unix perms on private files Blocks child shells & protects secrets
Session & schedule /after·/every·/loop before 1st prompt Change session directory & OSC 7577 resume Keeps context across moves & restarts
Transcript UX Folded tool runs + Ctrl+O toggle Awaiting-approval & cancelled states Faster reading of long agent runs
Auth & MCP Better deprecated OAuth config warnings Account picker for cross-tenant Entra MCP Fewer work-tenant token rejections

Q. How much do the /move and MCP fixes in v1.0.119 matter in daily work? /move no longer deletes the repository or untracked files when .git lives inside the worktree, preserves worktrees linked via GIT_DIR symlinks, and carries over in-progress Git merges, single-commit cherry-picks, reverts, and squash merges. On the MCP side, reinstalling a server from the registry no longer overwrites credentials of an earlier installation renamed in /mcp, and signing in to another Microsoft Entra tenant asks which account to use instead of failing with your default work token.

4. What v1.0.120-0 previews and how it compares to rival CLIs

The latest pre-release v1.0.120-0 (December 2, 20:34 UTC) targets extension scoping and long-lived memory stability. It lets you approve a user-installed extension once for all repositories or only for folders under the current parent directory, and fixes a memory leak where switching sessions retained old transcript copies until long-running processes ran out of JavaScript heap.

Across terminal coding agents this week, OpenAI Codex CLI v0.173.0 added default shared MCP connections and PreToolUse hook blocking (onFailure: block), while Claude Code 2.1.332 introduced MCP-served skills and PreSkillShellCommand hooks. GitHub Copilot CLI pairs governance (COPILOT_ALLOW_PROCESS_SPAWN=0) with strong local session continuity (OSC 7577 and directory switching).

Toris's take

Upgrading to stable v1.0.119 now is worthwhile for most developers, while v1.0.120-0 is best reserved for teams hitting heap issues from frequent session switching. Solo builders working across multiple directories or relying on /every and /loop background checks will immediately benefit from Change session directory, OSC 7577 auto-resume, and preserved schedules. If your security policy forbids agent shell execution, export COPILOT_ALLOW_PROCESS_SPAWN=0 in your wrapper script.

Sources

Advertisement