Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,13 @@ include = ["/src/**/*.rs", "/README.md", "/LICENSE", "/Cargo.toml"]
[features]
unstable = [
"unstable_cancel_request",
"unstable_session_config_options",
"unstable_session_fork",
"unstable_session_info_update",
"unstable_session_list",
"unstable_session_model",
"unstable_session_resume",
]
unstable_cancel_request = []
unstable_session_config_options = []
unstable_session_fork = []
unstable_session_info_update = []
unstable_session_list = []
Expand Down
10 changes: 8 additions & 2 deletions docs/docs.json
Original file line number Diff line number Diff line change
Expand Up @@ -124,8 +124,14 @@
"rfds/rust-sdk-v1"
]
},
{ "group": "Preview", "pages": ["rfds/session-config-options"] },
{ "group": "Completed", "pages": ["rfds/introduce-rfd-process"] }
{ "group": "Preview", "pages": [] },
{
"group": "Completed",
"pages": [
"rfds/introduce-rfd-process",
"rfds/session-config-options"
]
}
]
},
{
Expand Down
84 changes: 4 additions & 80 deletions docs/protocol/draft/schema.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -267,12 +267,7 @@ See protocol docs: [Extensibility](https://agentclientprotocol.com/protocol/exte

</ResponseField>
<ResponseField name="configOptions" type={<><span><a href="#sessionconfigoption">SessionConfigOption[]</a></span><span> | null</span></>} >
**UNSTABLE**

This capability is not part of the spec yet, and may be removed or changed at any point.

Initial session configuration options if supported by the Agent.

Initial session configuration options if supported by the Agent.
</ResponseField>
<ResponseField name="models" type={<><span><a href="#sessionmodelstate">SessionModelState</a></span><span> | null</span></>} >
**UNSTABLE**
Expand Down Expand Up @@ -424,12 +419,7 @@ See protocol docs: [Extensibility](https://agentclientprotocol.com/protocol/exte

</ResponseField>
<ResponseField name="configOptions" type={<><span><a href="#sessionconfigoption">SessionConfigOption[]</a></span><span> | null</span></>} >
**UNSTABLE**

This capability is not part of the spec yet, and may be removed or changed at any point.

Initial session configuration options if supported by the Agent.

Initial session configuration options if supported by the Agent.
</ResponseField>
<ResponseField name="models" type={<><span><a href="#sessionmodelstate">SessionModelState</a></span><span> | null</span></>} >
**UNSTABLE**
Expand Down Expand Up @@ -507,12 +497,7 @@ See protocol docs: [Extensibility](https://agentclientprotocol.com/protocol/exte

</ResponseField>
<ResponseField name="configOptions" type={<><span><a href="#sessionconfigoption">SessionConfigOption[]</a></span><span> | null</span></>} >
**UNSTABLE**

This capability is not part of the spec yet, and may be removed or changed at any point.

Initial session configuration options if supported by the Agent.

Initial session configuration options if supported by the Agent.
</ResponseField>
<ResponseField name="models" type={<><span><a href="#sessionmodelstate">SessionModelState</a></span><span> | null</span></>} >
**UNSTABLE**
Expand Down Expand Up @@ -683,12 +668,7 @@ See protocol docs: [Extensibility](https://agentclientprotocol.com/protocol/exte

</ResponseField>
<ResponseField name="configOptions" type={<><span><a href="#sessionconfigoption">SessionConfigOption[]</a></span><span> | null</span></>} >
**UNSTABLE**

This capability is not part of the spec yet, and may be removed or changed at any point.

Initial session configuration options if supported by the Agent.

Initial session configuration options if supported by the Agent.
</ResponseField>
<ResponseField name="models" type={<><span><a href="#sessionmodelstate">SessionModelState</a></span><span> | null</span></>} >
**UNSTABLE**
Expand All @@ -708,18 +688,10 @@ See protocol docs: [Session Modes](https://agentclientprotocol.com/protocol/sess
<a id="session-set_config_option"></a>
### <span class="font-mono">session/set_config_option</span>

**UNSTABLE**

This capability is not part of the spec yet, and may be removed or changed at any point.

Sets the current value for a session configuration option.

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

**UNSTABLE**

This capability is not part of the spec yet, and may be removed or changed at any point.

Request parameters for setting a session configuration option.

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

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

**UNSTABLE**

This capability is not part of the spec yet, and may be removed or changed at any point.

Response to `session/set_config_option` method.

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

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

**UNSTABLE**

This capability is not part of the spec yet, and may be removed or changed at any point.

Session configuration options have been updated.

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

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

**UNSTABLE**

This capability is not part of the spec yet, and may be removed or changed at any point.

Unique identifier for a session configuration option value group.

**Type:** `string`

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

**UNSTABLE**

This capability is not part of the spec yet, and may be removed or changed at any point.

Unique identifier for a session configuration option.

**Type:** `string`

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

**UNSTABLE**

This capability is not part of the spec yet, and may be removed or changed at any point.

A session configuration option selector and its current state.

**Type:** Union
Expand Down Expand Up @@ -3034,10 +2986,6 @@ Single-value selector (dropdown).

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

**UNSTABLE**

This capability is not part of the spec yet, and may be removed or changed at any point.

Semantic category for a session configuration option.

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

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

**UNSTABLE**

This capability is not part of the spec yet, and may be removed or changed at any point.

A single-value selector (dropdown) session configuration option payload.

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

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

**UNSTABLE**

This capability is not part of the spec yet, and may be removed or changed at any point.

A group of possible values for a session configuration option.

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

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

**UNSTABLE**

This capability is not part of the spec yet, and may be removed or changed at any point.

A possible value for a session configuration option.

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

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

**UNSTABLE**

This capability is not part of the spec yet, and may be removed or changed at any point.

Possible values for a session configuration option.

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

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

**UNSTABLE**

This capability is not part of the spec yet, and may be removed or changed at any point.

Unique identifier for a session configuration option value.

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

<ResponseField name="config_option_update" type="object">
**UNSTABLE**

This capability is not part of the spec yet, and may be removed or changed at any point.

Session configuration options have been updated.

<Expandable title="Properties">
Expand Down
Loading