Tags: github/copilot-sdk
Tags
fix: set executable permission on CLI binary in Python wheel (#419) * fix: set executable permission on CLI binary in Python wheel The repack step in build-wheels.mjs was producing wheels where copilot/bin/copilot had 0o644 (-rw-r--r--) permissions because setuptools strips the executable bit when building package data. After extracting the wheel for repack, restore chmod 0o755 on the CLI binary so that zf.write() captures the correct permissions. This ensures pip/uv install the binary as executable on Unix. * Update python/scripts/build-wheels.mjs Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --------- Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
fix: set executable permission on CLI binary in Python wheel (#419) * fix: set executable permission on CLI binary in Python wheel The repack step in build-wheels.mjs was producing wheels where copilot/bin/copilot had 0o644 (-rw-r--r--) permissions because setuptools strips the executable bit when building package data. After extracting the wheel for repack, restore chmod 0o755 on the CLI binary so that zf.write() captures the correct permissions. This ensures pip/uv install the binary as executable on Unix. * Update python/scripts/build-wheels.mjs Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --------- Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Fix .NET SDK package; ensure no auto update (#392) * Fix .NET SDK package missing props file The _GenerateVersionProps target was running BeforeTargets=BeforeBuild, but dotnet pack evaluates ItemGroup wildcards before targets run. This meant the generated .props file wasn't being included in the package. Fixed by: 1. Adding Pack to BeforeTargets so the target runs before packing 2. Explicitly adding the props file to pack content inside the target 3. Changing the static ItemGroup to only include the .targets file * Pass --no-auto-update to CLI across all SDKs Prevents the CLI from auto-updating itself, ensuring the version bundled with the SDK is the version that runs.
Use gopls from path. ${HOME} isn't valid cross-platform, plus there's…
… no reason to rely on it being at that exact path.
Fix .NET SDK package; ensure no auto update (#392) * Fix .NET SDK package missing props file The _GenerateVersionProps target was running BeforeTargets=BeforeBuild, but dotnet pack evaluates ItemGroup wildcards before targets run. This meant the generated .props file wasn't being included in the package. Fixed by: 1. Adding Pack to BeforeTargets so the target runs before packing 2. Explicitly adding the props file to pack content inside the target 3. Changing the static ItemGroup to only include the .targets file * Pass --no-auto-update to CLI across all SDKs Prevents the CLI from auto-updating itself, ensuring the version bundled with the SDK is the version that runs.
Add missing options to ResumeSessionConfig for parity with create (#376) * Add missing options to ResumeSessionConfig for parity with create - Add model, systemMessage, availableTools, excludedTools, configDir, and infiniteSessions to resume session config in all SDKs - Update client implementations to pass new options to server - Add "Resume Options" documentation section - Bump @github/copilot dependency to ^0.0.403 * Update python/copilot/client.py Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * fix lint --------- Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Add missing options to ResumeSessionConfig for parity with create (#376) * Add missing options to ResumeSessionConfig for parity with create - Add model, systemMessage, availableTools, excludedTools, configDir, and infiniteSessions to resume session config in all SDKs - Update client implementations to pass new options to server - Add "Resume Options" documentation section - Bump @github/copilot dependency to ^0.0.403 * Update python/copilot/client.py Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * fix lint --------- Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
PreviousNext