Skip to content

Sync with copilot-sdk: wire rename disableResume, add suppressCustomAgentPrompt (v1.0.0)#159

Merged
kawax merged 1 commit into
mainfrom
sdk-sync/2026-06-02-b1eb29ba438653f8
Jun 2, 2026
Merged

Sync with copilot-sdk: wire rename disableResume, add suppressCustomAgentPrompt (v1.0.0)#159
kawax merged 1 commit into
mainfrom
sdk-sync/2026-06-02-b1eb29ba438653f8

Conversation

@github-actions

@github-actions github-actions Bot commented Jun 2, 2026

Copy link
Copy Markdown
Contributor

Summary

Syncs the Laravel SDK with the official github/copilot-sdk repository up to commit 4b29473c (v1.0.0 release).

Official SDK commit range: 4d2df4c9..4b29473c
Comparison: https://github.com/github/copilot-sdk/compare/4d2df4c9..4b29473c


Changes Detected

1. Wire rename: suppressResumeEventdisableResume (#1529)

The official Node.js SDK now maps suppressResumeEvent to disableResume on the wire (JSON-RPC level). The suppressResumeEvent property name remains on the public API for backward compatibility, but the wire protocol now uses disableResume.

2. New option: suppressCustomAgentPrompt

Added to SessionUpdateOptionsParams in the official SDK. When true, the selected custom agent's prompt is not injected into the user message (skill context is still injected). Used by automation triggers where the agent prompt is already in the problem statement.

3. Submodule updated to v1.0.0

The official SDK reached v1.0.0. Submodule updated from 4d2df4c9 to 4b29473c.


Laravel Files Modified

File Change
src/Client.php Send disableResume on wire; add suppressCustomAgentPrompt to applyPostCreateOptionsPatch
src/Types/SessionConfig.php Add suppressCustomAgentPrompt property
src/Types/ResumeSessionConfig.php Add suppressCustomAgentPrompt property; send disableResume on wire in toArray()
copilot-sdk Submodule updated to 4b29473c (v1.0.0)

Breaking Changes

None. The suppressResumeEvent property name remains on the ResumeSessionConfig public API; only the wire format changed. Existing user code continues to work.

Notes

  • The GithubGitHub casing fixes in experimental types (PushAttachmentGithubReference etc.) were skipped as those types don't exist in the Laravel implementation.
  • Data shape changes inside session event payloads (e.g., ToolExecutionStartData.model field) were skipped per convention since SessionEvent::$data is a generic array.

Generated by SDK Sync · sonnet46 2.6M ·

… add suppressCustomAgentPrompt

- Rename wire parameter: suppressResumeEvent → disableResume in Client.php and ResumeSessionConfig.php
  (fix(nodejs): Map suppressResumeEvent to disableResume on the wire #1529)
- Add suppressCustomAgentPrompt option to SessionConfig, ResumeSessionConfig, and Client.php
  (session.options.update now supports this field; used by automation triggers)
- Update copilot-sdk submodule to 4b29473c (v1.0.0)

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@github-actions github-actions Bot requested a review from kawax June 2, 2026 20:35
@kawax kawax marked this pull request as ready for review June 2, 2026 21:09
@kawax kawax merged commit 261050c into main Jun 2, 2026
1 of 2 checks passed
@kawax kawax deleted the sdk-sync/2026-06-02-b1eb29ba438653f8 branch June 2, 2026 21:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant