Skip to content

Bump @github/copilot from 1.0.24 to 1.0.36 in /scripts/codegen#99

Closed
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/npm_and_yarn/scripts/codegen/github/copilot-1.0.35
Closed

Bump @github/copilot from 1.0.24 to 1.0.36 in /scripts/codegen#99
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/npm_and_yarn/scripts/codegen/github/copilot-1.0.35

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot Bot commented on behalf of github Apr 24, 2026

Bumps @github/copilot from 1.0.24 to 1.0.36.

Release notes

Sourced from @​github/copilot's releases.

1.0.36

2026-04-24

  • Subcommand picker shows a selection indicator (❯) next to the highlighted item
  • Clearer error message with a direct link when multiple Copilot licenses are detected
  • Fixed an issue where preToolUse.matcher was ignored. After upgrade, hooks with matcher run only for tool names that fully match the regex.
  • /keep-alive is available without experimental mode to prevent system sleep while Copilot CLI is active
  • /remote command shows current status and supports /remote on and /remote off to toggle remote control
  • Disabled skills no longer appear in the slash command list
  • Add a 'changes' statusline toggle to show added/removed line counts for the session
  • Custom instruction files in .gitignored directories (e.g., .github/instructions/) now load correctly
  • Require double Esc to cancel in-flight work, preventing accidental interruptions
  • Saving debug logs or feedback bundles no longer overwrites existing archive files
  • Custom agents, skills, and commands from ~/.claude/ are no longer loaded by the Copilot CLI
  • Claude Opus 4.6 now uses medium reasoning effort by default

1.0.36-1

Added

  • Add a 'changes' statusline toggle to show added/removed line counts for the session

Improved

  • Require double Esc to cancel in-flight work, preventing accidental interruptions

Fixed

  • Custom instruction files in .gitignored directories (e.g., .github/instructions/) now load correctly

1.0.36-0

Improved

  • Claude Opus 4.6 now uses medium reasoning effort by default

Fixed

  • Saving debug logs or feedback bundles no longer overwrites existing archive files
  • Custom agents, skills, and commands from ~/.claude/ are no longer loaded by the Copilot CLI

1.0.35

2026-04-23

  • Slash commands support tab-completion for arguments and subcommands
  • Shell escape commands (!) now use your $SHELL when set, instead of always invoking /bin/sh
  • Permission prompts appear correctly in remote sessions for the CLI TUI
  • Session selector shows branch names, idle/in-use status, and has improved search with cursor support
  • Model change notification shows both the previous and new model name
  • /update and /version commands now honor your configured update channel
  • Session sync prompt uses clearer labels and explains GitHub.com cross-device sync
  • Support COPILOT_GH_HOST environment variable for GitHub hostname, taking precedence over GH_HOST
  • Press Ctrl+Y (in addition to Tab) to accept the highlighted option in completion popups (@-mentions, path completions, slash commands)
  • Add /session delete, delete , and delete-all subcommands, and x-to-delete in the session picker
  • MCP server names with spaces and special characters are now supported
  • Skill slash commands (e.g. /skill-name) passed as the initial prompt via -i are recognized correctly on startup
  • Shell completion notifications are not duplicated when read_bash already returned the result

... (truncated)

Changelog

Sourced from @​github/copilot's changelog.

1.0.36 - 2026-04-24

  • Subcommand picker shows a selection indicator (❯) next to the highlighted item
  • Clearer error message with a direct link when multiple Copilot licenses are detected
  • Fixed an issue where preToolUse.matcher was ignored. After upgrade, hooks with matcher run only for tool names that fully match the regex.
  • /keep-alive is available without experimental mode to prevent system sleep while Copilot CLI is active
  • /remote command shows current status and supports /remote on and /remote off to toggle remote control
  • Disabled skills no longer appear in the slash command list
  • Add a 'changes' statusline toggle to show added/removed line counts for the session
  • Custom instruction files in .gitignored directories (e.g., .github/instructions/) now load correctly
  • Require double Esc to cancel in-flight work, preventing accidental interruptions
  • Saving debug logs or feedback bundles no longer overwrites existing archive files
  • Custom agents, skills, and commands from ~/.claude/ are no longer loaded by the Copilot CLI
  • Claude Opus 4.6 now uses medium reasoning effort by default

1.0.35 - 2026-04-23

  • Slash commands support tab-completion for arguments and subcommands
  • Shell escape commands (!) now use your $SHELL when set, instead of always invoking /bin/sh
  • Permission prompts appear correctly in remote sessions for the CLI TUI
  • Session selector shows branch names, idle/in-use status, and has improved search with cursor support
  • Model change notification shows both the previous and new model name
  • /update and /version commands now honor your configured update channel
  • Session sync prompt uses clearer labels and explains GitHub.com cross-device sync
  • Support COPILOT_GH_HOST environment variable for GitHub hostname, taking precedence over GH_HOST
  • Press Ctrl+Y (in addition to Tab) to accept the highlighted option in completion popups (@-mentions, path completions, slash commands)
  • Add /session delete, delete , and delete-all subcommands, and x-to-delete in the session picker
  • MCP server names with spaces and special characters are now supported
  • Skill slash commands (e.g. /skill-name) passed as the initial prompt via -i are recognized correctly on startup
  • Shell completion notifications are not duplicated when read_bash already returned the result
  • --continue prefers resuming sessions from the current working directory instead of the most recently touched session
  • Status line script now includes context window fields that match the model badge and /context output
  • User settings are now stored in ~/.copilot/settings.json, separate from internal state in config.json
  • Name sessions with --name and resume them by name with --resume=
  • Configure Copilot agent now has shell access on Windows
  • Show a helpful error message with install instructions when clipboard utilities (wl-clipboard or xclip) are missing on Linux
  • LSP server entries in lsp.json support configurable spawn, initialization, and warmup timeouts
  • Context window indicator in the statusline is now hidden by default
  • Move MCP OAuth into the shared runtime flow and clear associated OAuth state when removing an MCP server.
  • Added a GitHub-style contribution graph to /usage that adapts to terminal color mode and falls back to distinct glyphs in no-color terminals
  • Self-correcting custom tool calls in agentic loop
  • Cursor movement, deletion, and rendering work correctly for emoji and multi-codepoint characters in the text input
  • Tool availability detection works correctly on Windows
  • Session token expiry during a turn is handled automatically without requiring you to resend your message
  • Initial tab and arrow key navigation in /cwd and /add-dir path picker selects the correct item
  • Transient I/O errors no longer appear as red error entries in the timeline when an IDE or extension disconnects
  • Custom agents and skills in ~/.claude/ are no longer incorrectly loaded as Copilot project config
  • Login command restores interactive input correctly after authentication
  • Improve rendering performance when displaying large amounts of text in the timeline
  • Sync task calls block until completion under MULTI_TURN_AGENTS instead of auto-promoting to background after 60s; sync no longer returns a reusable agent_id, use mode: "background" for follow-ups

... (truncated)

Commits
  • d7a0581 Update changelog.md for version 1.0.35
  • 6594437 Update changelog.md for version 1.0.34
  • 75fbe0c Update changelog.md for version 1.0.33
  • 4e51f5a Update changelog.md for version 1.0.32
  • 3b72dea Update changelog.md for version 1.0.31
  • 2f883ed Update changelog.md for version 1.0.30
  • 709b59e Update changelog.md for version 1.0.29
  • 8973042 Update changelog.md for version 1.0.28
  • ae7b374 Update changelog.md for version 1.0.27
  • 559a22a Update changelog.md for version 1.0.26
  • Additional commits viewable in compare view

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Apr 24, 2026
@edburns
Copy link
Copy Markdown
Collaborator

edburns commented Apr 24, 2026

@dependabot rebase

Bumps [@github/copilot](https://github.com/github/copilot-cli) from 1.0.24 to 1.0.36.
- [Release notes](https://github.com/github/copilot-cli/releases)
- [Changelog](https://github.com/github/copilot-cli/blob/main/changelog.md)
- [Commits](github/copilot-cli@v1.0.24...v1.0.36)

---
updated-dependencies:
- dependency-name: "@github/copilot"
  dependency-version: 1.0.35
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot changed the title Bump @github/copilot from 1.0.24 to 1.0.35 in /scripts/codegen Bump @github/copilot from 1.0.24 to 1.0.36 in /scripts/codegen Apr 24, 2026
@dependabot dependabot Bot force-pushed the dependabot/npm_and_yarn/scripts/codegen/github/copilot-1.0.35 branch from 83d015b to 732224e Compare April 24, 2026 20:03
@edburns
Copy link
Copy Markdown
Collaborator

edburns commented Apr 24, 2026

Copilot wrote:

I'd recommend option 2: close #99 and run the update-copilot-dependency.yml workflow with version 1.0.35. That's the full pipeline test.

I'll do that.

@edburns edburns closed this Apr 24, 2026
@dependabot @github
Copy link
Copy Markdown
Contributor Author

dependabot Bot commented on behalf of github Apr 24, 2026

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

@dependabot dependabot Bot deleted the dependabot/npm_and_yarn/scripts/codegen/github/copilot-1.0.35 branch April 24, 2026 20:09
edburns added a commit to edburns/copilot-sdk-java that referenced this pull request Apr 24, 2026
…ma changes

---

## Summary

Updates the Java code generator and handwritten SDK/test code to handle the
`@github/copilot` 1.0.35 schema format, which changed from inline nested type
definitions to `$ref` references pointing to `#/definitions/` entries. Without
this fix, regenerated types were missing fields and the build failed.

75 files changed, 616 insertions(+), 1836 deletions(-)

## Changes

### Code generator (`scripts/codegen/java.ts`)

- Added `resolveRef()` helper to dereference `$ref` pointers in JSON schemas.
- Added `pendingStandaloneTypes` map to collect types referenced via `$ref` and
  generate them as top-level Java files instead of nested records.
- Added `generatePendingStandaloneTypes()`, `generateStandaloneEnum()`, and
  `generateStandaloneRecord()` to emit the new standalone types.
- Updated all property/field generation paths to resolve `$ref` before
  inspecting type, enum, or nested-object shapes.

### Regenerated files (`src/generated/java/`)

- ~65 generated source files updated — nested inner records/enums replaced by
  standalone types (e.g. `McpServer`, `Plugin`, `Skill`, `Tool`, `Model`,
  `AccountQuotaSnapshot`, `DiscoveredMcpServer`, `UIElicitationSchema`,
  `UIElicitationResponseAction`, `ModelCapabilitiesOverride`, etc.).
- Several numeric fields changed from `double` to `Long` (`PingResult`,
  `SessionShellExecParams`, model capability limits).
- New RPC API class `ServerMcpConfigApi` and `SessionPermissionsApi` added.

### Handwritten source (`CopilotSession.java`)

- Updated all type references from old nested types to new standalone types
  (e.g. `SessionMcpListResultServersItem` → `McpServer`).

### Test files (5 files)

- **`GeneratedRpcRecordsCoverageTest.java`** — Replaced all nested type
  references with standalone types; fixed `double` → `Long` constructors.
- **`GeneratedEventTypesCoverageTest.java`** — Updated event type name set.
- **`GeneratedRpcApiCoverageTest.java`** — Updated `workspace` → `workspaces`,
  added `SessionLogLevel`, new API classes.
- **`RpcWrappersTest.java`** — `session.workspace` → `session.workspaces`.
- **`SessionEventDeserializationTest.java`** — Updated JSON keys for
  `compactionTokensUsed` (`input` → `inputTokens`, `output` → `outputTokens`,
  `cachedInput` → `cacheReadTokens`).

### Dependency bump

- `@github/copilot` 1.0.24 → 1.0.35 in `scripts/codegen/package.json`.
- **`.github/workflows/update-copilot-dependency.yml`** — After codegen and PR creation, `mvn verify` is run. On failure, the agentic fix workflow is triggered. Includes a polling loop that waits for the fix to complete and runs a final verification.

## Design

The pipeline follows a two-workflow pattern:

1. **Trigger workflows** (`codegen-check.yml`, `update-copilot-dependency.yml`) detect failures and dispatch the agentic fix.
2. **Fix workflow** (`codegen-agentic-fix.lock.yml`) runs under gh-aw guardrails with scoped permissions, network firewall, and MCP gateway. It checks out the branch, reproduces the failure, applies fixes to handwritten code only, and pushes via `push-to-pull-request-branch` safe-output.

Key constraints enforced on the agent:
- Never modify `src/generated/java/`, `pom.xml`, `scripts/codegen/`, or `.github/`
- Maximum 3 fix attempts before escalating via PR comment
- Must run `mvn spotless:apply` before committing
- Only pushes if `mvn verify` passes

## Testing

- All workflow files pass `actionlint` with zero errors
- The `codegen-agentic-fix.lock.yml` was successfully compiled by `gh aw compile v0.68.3`
- End-to-end testing will occur when this PR and github#94 are both merged — Dependabot PR github#99 (bump `@github/copilot` 1.0.24 → 1.0.35) already exists and its Codegen Check is failing as expected
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 javascript Pull requests that update javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant