Skip to content

Commit 0845a3b

Browse files
ThomasK33claude
andauthored
release: v0.13.5 (#47)
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com> Signed-off-by: Thomas Kosiewski <tk@coder.com>
1 parent d03a894 commit 0845a3b

12 files changed

Lines changed: 346 additions & 521 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Learn more about the protocol itself at <https://agentclientprotocol.com>.
1414
<!-- `$ printf 'go get github.com/coder/acp-go-sdk@v%s\n' "$(cat schema/version)"` as bash -->
1515

1616
```bash
17-
go get github.com/coder/acp-go-sdk@v0.13.4
17+
go get github.com/coder/acp-go-sdk@v0.13.5
1818
```
1919

2020
## Get Started

acp_test.go

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,6 @@ type agentFuncs struct {
138138
UnstableSetProviderFunc func(context.Context, UnstableSetProviderRequest) (UnstableSetProviderResponse, error)
139139
UnstableDeleteSessionFunc func(context.Context, UnstableDeleteSessionRequest) (UnstableDeleteSessionResponse, error)
140140
UnstableForkSessionFunc func(context.Context, UnstableForkSessionRequest) (UnstableForkSessionResponse, error)
141-
UnstableSetSessionModelFunc func(context.Context, UnstableSetSessionModelRequest) (UnstableSetSessionModelResponse, error)
142141

143142
HandleExtensionMethodFunc func(context.Context, string, json.RawMessage) (any, error)
144143
}
@@ -240,14 +239,6 @@ func (a agentFuncs) SetSessionConfigOption(ctx context.Context, params SetSessio
240239
return SetSessionConfigOptionResponse{}, nil
241240
}
242241

243-
// UnstableSetSessionModel implements AgentExperimental.
244-
func (a agentFuncs) UnstableSetSessionModel(ctx context.Context, params UnstableSetSessionModelRequest) (UnstableSetSessionModelResponse, error) {
245-
if a.UnstableSetSessionModelFunc != nil {
246-
return a.UnstableSetSessionModelFunc(ctx, params)
247-
}
248-
return UnstableSetSessionModelResponse{}, nil
249-
}
250-
251242
func (a agentFuncs) UnstableDidChangeDocument(ctx context.Context, params UnstableDidChangeDocumentNotification) error {
252243
if a.UnstableDidChangeDocumentFunc != nil {
253244
return a.UnstableDidChangeDocumentFunc(ctx, params)

agent_gen.go

Lines changed: 0 additions & 19 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

client_gen.go

Lines changed: 0 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

constants_gen.go

Lines changed: 0 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

example/agent/main.go

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -61,11 +61,6 @@ func (a *exampleAgent) SetSessionConfigOption(ctx context.Context, params acp.Se
6161
return acp.SetSessionConfigOptionResponse{}, acp.NewMethodNotFound(acp.AgentMethodSessionSetConfigOption)
6262
}
6363

64-
// UnstableSetSessionModel implements acp.AgentExperimental.
65-
func (a *exampleAgent) UnstableSetSessionModel(ctx context.Context, params acp.UnstableSetSessionModelRequest) (acp.UnstableSetSessionModelResponse, error) {
66-
return acp.UnstableSetSessionModelResponse{}, acp.NewMethodNotFound(acp.AgentMethodSessionSetModel)
67-
}
68-
6964
// UnstableDidChangeDocument implements acp.AgentExperimental.
7065
func (a *exampleAgent) UnstableDidChangeDocument(ctx context.Context, params acp.UnstableDidChangeDocumentNotification) error {
7166
return nil

schema/meta.unstable.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,7 @@
2727
"session_prompt": "session/prompt",
2828
"session_resume": "session/resume",
2929
"session_set_config_option": "session/set_config_option",
30-
"session_set_mode": "session/set_mode",
31-
"session_set_model": "session/set_model"
30+
"session_set_mode": "session/set_mode"
3231
},
3332
"clientMethods": {
3433
"elicitation_complete": "elicitation/complete",

0 commit comments

Comments
 (0)