Skip to content

Commit f4a87b1

Browse files
committed
feat: Stabilize Session Config Options
1 parent c4cb22c commit f4a87b1

12 files changed

Lines changed: 630 additions & 244 deletions

File tree

Cargo.toml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,15 +16,13 @@ include = ["/src/**/*.rs", "/README.md", "/LICENSE", "/Cargo.toml"]
1616
[features]
1717
unstable = [
1818
"unstable_cancel_request",
19-
"unstable_session_config_options",
2019
"unstable_session_fork",
2120
"unstable_session_info_update",
2221
"unstable_session_list",
2322
"unstable_session_model",
2423
"unstable_session_resume",
2524
]
2625
unstable_cancel_request = []
27-
unstable_session_config_options = []
2826
unstable_session_fork = []
2927
unstable_session_info_update = []
3028
unstable_session_list = []

docs/docs.json

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -124,8 +124,14 @@
124124
"rfds/rust-sdk-v1"
125125
]
126126
},
127-
{ "group": "Preview", "pages": ["rfds/session-config-options"] },
128-
{ "group": "Completed", "pages": ["rfds/introduce-rfd-process"] }
127+
{ "group": "Preview", "pages": [] },
128+
{
129+
"group": "Completed",
130+
"pages": [
131+
"rfds/introduce-rfd-process",
132+
"rfds/session-config-options"
133+
]
134+
}
129135
]
130136
},
131137
{

docs/protocol/draft/schema.mdx

Lines changed: 4 additions & 80 deletions
Original file line numberDiff line numberDiff line change
@@ -267,12 +267,7 @@ See protocol docs: [Extensibility](https://agentclientprotocol.com/protocol/exte
267267

268268
</ResponseField>
269269
<ResponseField name="configOptions" type={<><span><a href="#sessionconfigoption">SessionConfigOption[]</a></span><span> | null</span></>} >
270-
**UNSTABLE**
271-
272-
This capability is not part of the spec yet, and may be removed or changed at any point.
273-
274-
Initial session configuration options if supported by the Agent.
275-
270+
Initial session configuration options if supported by the Agent.
276271
</ResponseField>
277272
<ResponseField name="models" type={<><span><a href="#sessionmodelstate">SessionModelState</a></span><span> | null</span></>} >
278273
**UNSTABLE**
@@ -424,12 +419,7 @@ See protocol docs: [Extensibility](https://agentclientprotocol.com/protocol/exte
424419

425420
</ResponseField>
426421
<ResponseField name="configOptions" type={<><span><a href="#sessionconfigoption">SessionConfigOption[]</a></span><span> | null</span></>} >
427-
**UNSTABLE**
428-
429-
This capability is not part of the spec yet, and may be removed or changed at any point.
430-
431-
Initial session configuration options if supported by the Agent.
432-
422+
Initial session configuration options if supported by the Agent.
433423
</ResponseField>
434424
<ResponseField name="models" type={<><span><a href="#sessionmodelstate">SessionModelState</a></span><span> | null</span></>} >
435425
**UNSTABLE**
@@ -507,12 +497,7 @@ See protocol docs: [Extensibility](https://agentclientprotocol.com/protocol/exte
507497

508498
</ResponseField>
509499
<ResponseField name="configOptions" type={<><span><a href="#sessionconfigoption">SessionConfigOption[]</a></span><span> | null</span></>} >
510-
**UNSTABLE**
511-
512-
This capability is not part of the spec yet, and may be removed or changed at any point.
513-
514-
Initial session configuration options if supported by the Agent.
515-
500+
Initial session configuration options if supported by the Agent.
516501
</ResponseField>
517502
<ResponseField name="models" type={<><span><a href="#sessionmodelstate">SessionModelState</a></span><span> | null</span></>} >
518503
**UNSTABLE**
@@ -683,12 +668,7 @@ See protocol docs: [Extensibility](https://agentclientprotocol.com/protocol/exte
683668

684669
</ResponseField>
685670
<ResponseField name="configOptions" type={<><span><a href="#sessionconfigoption">SessionConfigOption[]</a></span><span> | null</span></>} >
686-
**UNSTABLE**
687-
688-
This capability is not part of the spec yet, and may be removed or changed at any point.
689-
690-
Initial session configuration options if supported by the Agent.
691-
671+
Initial session configuration options if supported by the Agent.
692672
</ResponseField>
693673
<ResponseField name="models" type={<><span><a href="#sessionmodelstate">SessionModelState</a></span><span> | null</span></>} >
694674
**UNSTABLE**
@@ -708,18 +688,10 @@ See protocol docs: [Session Modes](https://agentclientprotocol.com/protocol/sess
708688
<a id="session-set_config_option"></a>
709689
### <span class="font-mono">session/set_config_option</span>
710690

711-
**UNSTABLE**
712-
713-
This capability is not part of the spec yet, and may be removed or changed at any point.
714-
715691
Sets the current value for a session configuration option.
716692

717693
#### <span class="font-mono">SetSessionConfigOptionRequest</span>
718694

719-
**UNSTABLE**
720-
721-
This capability is not part of the spec yet, and may be removed or changed at any point.
722-
723695
Request parameters for setting a session configuration option.
724696

725697
**Type:** Object
@@ -746,10 +718,6 @@ See protocol docs: [Extensibility](https://agentclientprotocol.com/protocol/exte
746718

747719
#### <span class="font-mono">SetSessionConfigOptionResponse</span>
748720

749-
**UNSTABLE**
750-
751-
This capability is not part of the spec yet, and may be removed or changed at any point.
752-
753721
Response to `session/set_config_option` method.
754722

755723
**Type:** Object
@@ -1729,10 +1697,6 @@ Determines which file operations the agent can request.
17291697

17301698
## <span class="font-mono">ConfigOptionUpdate</span>
17311699

1732-
**UNSTABLE**
1733-
1734-
This capability is not part of the spec yet, and may be removed or changed at any point.
1735-
17361700
Session configuration options have been updated.
17371701

17381702
**Type:** Object
@@ -2980,30 +2944,18 @@ Whether the agent supports `session/resume`.
29802944

29812945
## <span class="font-mono">SessionConfigGroupId</span>
29822946

2983-
**UNSTABLE**
2984-
2985-
This capability is not part of the spec yet, and may be removed or changed at any point.
2986-
29872947
Unique identifier for a session configuration option value group.
29882948

29892949
**Type:** `string`
29902950

29912951
## <span class="font-mono">SessionConfigId</span>
29922952

2993-
**UNSTABLE**
2994-
2995-
This capability is not part of the spec yet, and may be removed or changed at any point.
2996-
29972953
Unique identifier for a session configuration option.
29982954

29992955
**Type:** `string`
30002956

30012957
## <span class="font-mono">SessionConfigOption</span>
30022958

3003-
**UNSTABLE**
3004-
3005-
This capability is not part of the spec yet, and may be removed or changed at any point.
3006-
30072959
A session configuration option selector and its current state.
30082960

30092961
**Type:** Union
@@ -3034,10 +2986,6 @@ Single-value selector (dropdown).
30342986

30352987
## <span class="font-mono">SessionConfigOptionCategory</span>
30362988

3037-
**UNSTABLE**
3038-
3039-
This capability is not part of the spec yet, and may be removed or changed at any point.
3040-
30412989
Semantic category for a session configuration option.
30422990

30432991
This is intended to help Clients distinguish broadly common selectors (e.g. model selector vs
@@ -3068,10 +3016,6 @@ Category names that do not begin with `_` are reserved for the ACP spec.
30683016

30693017
## <span class="font-mono">SessionConfigSelect</span>
30703018

3071-
**UNSTABLE**
3072-
3073-
This capability is not part of the spec yet, and may be removed or changed at any point.
3074-
30753019
A single-value selector (dropdown) session configuration option payload.
30763020

30773021
**Type:** Object
@@ -3095,10 +3039,6 @@ A single-value selector (dropdown) session configuration option payload.
30953039

30963040
## <span class="font-mono">SessionConfigSelectGroup</span>
30973041

3098-
**UNSTABLE**
3099-
3100-
This capability is not part of the spec yet, and may be removed or changed at any point.
3101-
31023042
A group of possible values for a session configuration option.
31033043

31043044
**Type:** Object
@@ -3125,10 +3065,6 @@ See protocol docs: [Extensibility](https://agentclientprotocol.com/protocol/exte
31253065

31263066
## <span class="font-mono">SessionConfigSelectOption</span>
31273067

3128-
**UNSTABLE**
3129-
3130-
This capability is not part of the spec yet, and may be removed or changed at any point.
3131-
31323068
A possible value for a session configuration option.
31333069

31343070
**Type:** Object
@@ -3155,10 +3091,6 @@ See protocol docs: [Extensibility](https://agentclientprotocol.com/protocol/exte
31553091

31563092
## <span class="font-mono">SessionConfigSelectOptions</span>
31573093

3158-
**UNSTABLE**
3159-
3160-
This capability is not part of the spec yet, and may be removed or changed at any point.
3161-
31623094
Possible values for a session configuration option.
31633095

31643096
**Type:** Union
@@ -3173,10 +3105,6 @@ Possible values for a session configuration option.
31733105

31743106
## <span class="font-mono">SessionConfigValueId</span>
31753107

3176-
**UNSTABLE**
3177-
3178-
This capability is not part of the spec yet, and may be removed or changed at any point.
3179-
31803108
Unique identifier for a session configuration option value.
31813109

31823110
**Type:** `string`
@@ -3637,10 +3565,6 @@ See protocol docs: [Extensibility](https://agentclientprotocol.com/protocol/exte
36373565
</ResponseField>
36383566

36393567
<ResponseField name="config_option_update" type="object">
3640-
**UNSTABLE**
3641-
3642-
This capability is not part of the spec yet, and may be removed or changed at any point.
3643-
36443568
Session configuration options have been updated.
36453569

36463570
<Expandable title="Properties">

0 commit comments

Comments
 (0)