Skip to content

chore(deps): bump github-copilot-sdk from 0.1.29 to 0.1.30#770

Closed
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/pip/github-copilot-sdk-0.1.30
Closed

chore(deps): bump github-copilot-sdk from 0.1.29 to 0.1.30#770
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/pip/github-copilot-sdk-0.1.30

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Mar 7, 2026

Bumps github-copilot-sdk from 0.1.29 to 0.1.30.

Release notes

Sourced from github-copilot-sdk's releases.

v0.1.30

Feature: support overriding built-in tools

Applications can now override built-in tools such as grep, edit_file, or read_file. To do this, register a custom tool with the same name and set the override flag. Without the flag, the runtime will return an error if the name clashes with a built-in. (#636)

import { defineTool } from "`@github/copilot-sdk`";
const session = await client.createSession({
tools: [defineTool("grep", {
overridesBuiltInTool: true,
handler: async (params) => CUSTOM_GREP_RESULT: \$\{params.query},
})],
onPermissionRequest: approveAll,
});

var grep = AIFunctionFactory.Create(
    ([Description("Search query")] string query) => $"CUSTOM_GREP_RESULT: {query}",
    "grep",
    "Custom grep implementation",
    new AIFunctionFactoryOptions
    {
        AdditionalProperties = new ReadOnlyDictionary(string, object?)(
            new Dictionary(string, object?) { ["is_override"] = true })
    });

Feature: simpler API for changing model mid-session

While session.rpc.model.switchTo() already worked, there is now a convenience method directly on the session object. (#621)

  • TypeScript: await session.setModel("gpt-4.1")
  • C#: await session.SetModelAsync("gpt-4.1")
  • Python: await session.set_model("gpt-4.1")
  • Go: err := session.SetModel(ctx, "gpt-4.1")

Other changes

  • improvement: [C#] use event delegate for thread-safe, insertion-ordered event handler dispatch (#624)
  • improvement: [C#] deduplicate OnDisposeCall and improve implementation (#626)
  • improvement: [C#] remove unnecessary SemaphoreSlim locks for handler fields (#625)
  • bugfix: [Python] correct PermissionHandler.approve_all type annotations (#618)

New contributors

  • @giulio-leone made their first contribution in #618

Generated by Release Changelog Generator

... (truncated)

Changelog

Sourced from github-copilot-sdk's changelog.

v0.1.30 (2026-03-03)

Feature: support overriding built-in tools

Applications can now override built-in tools such as grep, edit_file, or read_file. To do this, register a custom tool with the same name and set the override flag. Without the flag, the runtime will return an error if the name clashes with a built-in. (#636)

import { defineTool } from "@github/copilot-sdk";
const session = await client.createSession({
tools: [defineTool("grep", {
overridesBuiltInTool: true,
handler: async (params) => CUSTOM_GREP_RESULT: ${params.query},
})],
onPermissionRequest: approveAll,
});

var grep = AIFunctionFactory.Create(
    ([Description("Search query")] string query) => $"CUSTOM_GREP_RESULT: {query}",
    "grep",
    "Custom grep implementation",
    new AIFunctionFactoryOptions
    {
        AdditionalProperties = new ReadOnlyDictionary<string, object?>(
            new Dictionary<string, object?> { ["is_override"] = true })
    });

Feature: simpler API for changing model mid-session

While session.rpc.model.switchTo() already worked, there is now a convenience method directly on the session object. (#621)

  • TypeScript: await session.setModel("gpt-4.1")
  • C#: await session.SetModelAsync("gpt-4.1")
  • Python: await session.set_model("gpt-4.1")
  • Go: err := session.SetModel(ctx, "gpt-4.1")

Other changes

  • improvement: [C#] use event delegate for thread-safe, insertion-ordered event handler dispatch (#624)
  • improvement: [C#] deduplicate OnDisposeCall and improve implementation (#626)
  • improvement: [C#] remove unnecessary SemaphoreSlim locks for handler fields (#625)
  • bugfix: [Python] correct PermissionHandler.approve_all type annotations (#618)

New contributors

Commits
  • 7460798 Add release changelog agentic workflow (#638)
  • f843c80 Support overriding built-in tools (#636)
  • bd98e3a Add session.setModel() for mid-session model switching (#621)
  • b9f746a fix(python): correct PermissionHandler.approve_all type annotations (#618)
  • bb02de1 [C#] Use event delegate for thread-safe, insertion-ordered event handler disp...
  • 7cc50b6 fix Justfile doesn't install everything necessary to run the test suite (#611)
  • 5718e12 [Python] Remove --locked flag from uv sync in copilot-setup-steps.yml (#628)
  • 6415c40 [C#] Remove unnecessary SemaphoreSlim locks for handler fields (#625)
  • cb94df9 [C#] Deduplicate OnDisposeCall and improve implementation (#626)
  • See full diff in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [github-copilot-sdk](https://github.com/github/copilot-sdk) from 0.1.29 to 0.1.30.
- [Release notes](https://github.com/github/copilot-sdk/releases)
- [Changelog](https://github.com/github/copilot-sdk/blob/main/CHANGELOG.md)
- [Commits](github/copilot-sdk@v0.1.29...v0.1.30)

---
updated-dependencies:
- dependency-name: github-copilot-sdk
  dependency-version: 0.1.30
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Mar 7, 2026
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Mar 7, 2026

Superseded by #772.

@dependabot dependabot bot closed this Mar 7, 2026
@dependabot dependabot bot deleted the dependabot/pip/github-copilot-sdk-0.1.30 branch March 7, 2026 22:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant