You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Consolidated shell argv assembly through small unexported helpers so stateless and persistent shell launch paths share the same extra-argv composition logic. This keeps the Go shell internals closer to the .NET ResolvedShell shape, where shell-specific suffixes are selected separately from combining constructor-provided extra argv.
.NET Reference
dotnet/src/Microsoft.Agents.AI.Tools.Shell/ShellResolver.cs - resolves shell kind and combines optional extra argv with stateless/persistent shell suffixes.
Public API and Behavior
No public Go API changed. No intentional behavior change was made.
Tests
Added TestResolvedShellArgvIncludesExtraArgv to preserve existing stateless and persistent argv shapes with ShellArgv extras.
dotnet/src/Microsoft.Agents.AI.Workflows/HandoffWorkflowBuilder.cs - Go handoff-related workflow builder changes would touch public/broader workflow behavior, and existing open [dotnet-code] workflow PRs already cover nearby workflow internals.
dotnet/src/Microsoft.Agents.AI.Workflows/IExternalRequestContext.cs - the Go external request area already has direct behavior coverage, and the sampled .NET interface did not suggest a narrow production cleanup without churn.
dotnet/src/Microsoft.Agents.AI.Mcp/Skills/McpJsonContext.cs - the .NET file is source-generated JSON context plumbing, with no useful direct Go equivalent beyond existing MCP JSON helpers.
Checked for open shelltool/ShellResolver [dotnet-code] PR overlap and found none before editing.
This was originally intended as a pull request, but GitHub Actions is not permitted to create or approve pull requests in this repository.
The changes have been pushed to branch dotnet-code-shell-argv-helper-eaa3b82eebbe6f4f.
To fix the permissions issue, go to Settings → Actions → General and enable Allow GitHub Actions to create and approve pull requests. See also: gh-aw FAQ
Summary
Consolidated shell argv assembly through small unexported helpers so stateless and persistent shell launch paths share the same extra-argv composition logic. This keeps the Go shell internals closer to the .NET
ResolvedShellshape, where shell-specific suffixes are selected separately from combining constructor-provided extra argv..NET Reference
dotnet/src/Microsoft.Agents.AI.Tools.Shell/ShellResolver.cs- resolves shell kind and combines optional extra argv with stateless/persistent shell suffixes.Public API and Behavior
No public Go API changed. No intentional behavior change was made.
Tests
TestResolvedShellArgvIncludesExtraArgvto preserve existing stateless and persistent argv shapes withShellArgvextras.gofmt -w tool/shelltool/localshell.go tool/shelltool/localshell_internal_test.gogo test ./tool/shelltoolNotes
Rejected sampled candidates:
dotnet/src/Microsoft.Agents.AI.Workflows/HandoffWorkflowBuilder.cs- Go handoff-related workflow builder changes would touch public/broader workflow behavior, and existing open[dotnet-code]workflow PRs already cover nearby workflow internals.dotnet/src/Microsoft.Agents.AI.Workflows/IExternalRequestContext.cs- the Go external request area already has direct behavior coverage, and the sampled .NET interface did not suggest a narrow production cleanup without churn.dotnet/src/Microsoft.Agents.AI.Mcp/Skills/McpJsonContext.cs- the .NET file is source-generated JSON context plumbing, with no useful direct Go equivalent beyond existing MCP JSON helpers.Checked for open shelltool/ShellResolver
[dotnet-code]PR overlap and found none before editing.Note
This was originally intended as a pull request, but GitHub Actions is not permitted to create or approve pull requests in this repository.
The changes have been pushed to branch
dotnet-code-shell-argv-helper-eaa3b82eebbe6f4f.Click here to create the pull request
To fix the permissions issue, go to Settings → Actions → General and enable Allow GitHub Actions to create and approve pull requests. See also: gh-aw FAQ
Show patch preview (131 of 131 lines)