Sync with copilot-sdk: wire rename disableResume, add suppressCustomAgentPrompt (v1.0.0)#159
Merged
Merged
Conversation
… 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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Syncs the Laravel SDK with the official
github/copilot-sdkrepository up to commit4b29473c(v1.0.0 release).Official SDK commit range:
4d2df4c9..4b29473cComparison: https://github.com/github/copilot-sdk/compare/4d2df4c9..4b29473c
Changes Detected
1. Wire rename:
suppressResumeEvent→disableResume(#1529)The official Node.js SDK now maps
suppressResumeEventtodisableResumeon the wire (JSON-RPC level). ThesuppressResumeEventproperty name remains on the public API for backward compatibility, but the wire protocol now usesdisableResume.2. New option:
suppressCustomAgentPromptAdded to
SessionUpdateOptionsParamsin the official SDK. Whentrue, 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
4d2df4c9to4b29473c.Laravel Files Modified
src/Client.phpdisableResumeon wire; addsuppressCustomAgentPrompttoapplyPostCreateOptionsPatchsrc/Types/SessionConfig.phpsuppressCustomAgentPromptpropertysrc/Types/ResumeSessionConfig.phpsuppressCustomAgentPromptproperty; senddisableResumeon wire intoArray()copilot-sdk4b29473c(v1.0.0)Breaking Changes
None. The
suppressResumeEventproperty name remains on theResumeSessionConfigpublic API; only the wire format changed. Existing user code continues to work.Notes
Github→GitHubcasing fixes in experimental types (PushAttachmentGithubReferenceetc.) were skipped as those types don't exist in the Laravel implementation.ToolExecutionStartData.modelfield) were skipped per convention sinceSessionEvent::$datais a generic array.