Skip to content

feat: prepare exact Windows PTY commands - #54

Open
passcod wants to merge 7 commits into
feat/unix-pty-providerfrom
feat/windows-command-model
Open

feat: prepare exact Windows PTY commands#54
passcod wants to merge 7 commits into
feat/unix-pty-providerfrom
feat/windows-command-model

Conversation

@passcod

@passcod passcod commented Aug 25, 2026

Copy link
Copy Markdown
Member

🤖 This adds the private Windows process-preparation model needed by the wrapper-native ConPTY provider.

  • preserves ordered regular and raw arguments with Windows CRT quoting and WTF-16 data
  • preserves exact inherited, cleared, changed, and pseudo-variable environment semantics
  • prepares cwd and the existing portable Windows creation policy directly from SpawnAttempt
  • exercises preparation after ordinary wrapper hooks without allowlisting wrapper types

Windows PTY spawning remains unsupported in this PR; the ConPTY transport follows in the next stacked change.

Stacked on #53.

🤖 Generated with Claude Code

passcod and others added 7 commits August 25, 2026 14:44
Port the exact Win32 application-name and mutable command-line encoder from
revisions bba7b2e, d7ba78b, 7acca84, and 827b148.
Adapt it to consume the shared ordered CommandArg intent directly.

Co-Authored-By: Claude <noreply@anthropic.com>
Port the exact Win32 environment-block construction from revisions
b6af5f7, 0dd905b, e548472, and 9b44a78.
Adapt it to consume portable inheritance and key/value changes without an
intermediate PTY command model.

Co-Authored-By: Claude <noreply@anthropic.com>
Port the aggregate Win32 preparation and policy coverage from revisions
9d48043, ccaa006, 7acca84, and 827b148.
Consume SpawnAttempt getters and WindowsSpawnPolicy directly, allowing any
wrapper that leaves the shared attempt portable.

Co-Authored-By: Claude <noreply@anthropic.com>
Forward-integrate the Unix-stack correction without rewriting the published
Windows command-model history.

Co-Authored-By: Claude <noreply@anthropic.com>
Forward-integrate the Unix-stack lockfile correction without rewriting the
published Windows command-model history.

Co-Authored-By: Claude <noreply@anthropic.com>
Forward-integrate the Unix PTY stack documentation correction without
rewriting the published Windows command-model history.

Co-Authored-By: Claude <noreply@anthropic.com>
Forward-integrate the PTY dependency-example correction without rewriting
the published Windows command-model history.

Co-Authored-By: Claude <noreply@anthropic.com>
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.

1 participant