@@ -980,6 +980,12 @@ type SessionConfig struct {
980980 // regardless of this setting. This is independent of the OpenTelemetry
981981 // configuration in ClientOptions.Telemetry.
982982 EnableSessionTelemetry * bool
983+ // IsExperimentalMode, when non-nil, overrides the session's experimental
984+ // feature-flag tier resolution. Use Bool(true) to force-enable the
985+ // experimental tier for this session, Bool(false) to resolve feature flags
986+ // as if experimental were off, or nil to inherit the runtime process
987+ // defaults unchanged.
988+ IsExperimentalMode * bool
983989 // SkipCustomInstructions, when non-nil, controls whether the runtime loads
984990 // custom instruction files. See also [ClientOptions.Mode] = [ModeEmpty].
985991 SkipCustomInstructions * bool
@@ -1295,6 +1301,12 @@ type ResumeSessionConfig struct {
12951301 // regardless of this setting. This is independent of the OpenTelemetry
12961302 // configuration in ClientOptions.Telemetry.
12971303 EnableSessionTelemetry * bool
1304+ // IsExperimentalMode, when non-nil, overrides the resumed session's
1305+ // experimental feature-flag tier resolution. Use Bool(true) to force-enable
1306+ // the experimental tier for this session, Bool(false) to resolve feature
1307+ // flags as if experimental were off, or nil to inherit the runtime process
1308+ // defaults unchanged.
1309+ IsExperimentalMode * bool
12981310 // SkipCustomInstructions, when non-nil, controls whether the runtime loads
12991311 // custom instruction files. See also [ClientOptions.Mode] = [ModeEmpty].
13001312 SkipCustomInstructions * bool
@@ -1690,6 +1702,7 @@ type createSessionRequest struct {
16901702 ToolFilterPrecedence * rpc.OptionsUpdateToolFilterPrecedence `json:"toolFilterPrecedence,omitempty"`
16911703 Provider * ProviderConfig `json:"provider,omitempty"`
16921704 EnableSessionTelemetry * bool `json:"enableSessionTelemetry,omitempty"`
1705+ IsExperimentalMode * bool `json:"isExperimentalMode,omitempty"`
16931706 SkipCustomInstructions * bool `json:"skipCustomInstructions,omitempty"`
16941707 CustomAgentsLocalOnly * bool `json:"customAgentsLocalOnly,omitempty"`
16951708 CoauthorEnabled * bool `json:"coauthorEnabled,omitempty"`
@@ -1768,6 +1781,7 @@ type resumeSessionRequest struct {
17681781 ToolFilterPrecedence * rpc.OptionsUpdateToolFilterPrecedence `json:"toolFilterPrecedence,omitempty"`
17691782 Provider * ProviderConfig `json:"provider,omitempty"`
17701783 EnableSessionTelemetry * bool `json:"enableSessionTelemetry,omitempty"`
1784+ IsExperimentalMode * bool `json:"isExperimentalMode,omitempty"`
17711785 SkipCustomInstructions * bool `json:"skipCustomInstructions,omitempty"`
17721786 CustomAgentsLocalOnly * bool `json:"customAgentsLocalOnly,omitempty"`
17731787 CoauthorEnabled * bool `json:"coauthorEnabled,omitempty"`
0 commit comments