Documentation
¶
Overview ¶
Package contextmanagement is the contextmanagement service.
Index ¶
- Variables
- type AppliedEdit
- func (*AppliedEdit) Descriptor() ([]byte, []int)deprecated
- func (x *AppliedEdit) GetClearThinkingResponse() *ClearThinkingResponse
- func (x *AppliedEdit) GetClearToolUsesResponse() *ClearToolUsesResponse
- func (m *AppliedEdit) GetUnion() isAppliedEdit_Union
- func (r *AppliedEdit) MarshalJSON() ([]byte, error)
- func (*AppliedEdit) ProtoMessage()
- func (x *AppliedEdit) ProtoReflect() protoreflect.Message
- func (x *AppliedEdit) Reset()
- func (x *AppliedEdit) String() string
- func (r *AppliedEdit) UnmarshalJSON(bytes []byte) error
- type AppliedEdit_ClearThinkingResponse
- type AppliedEdit_ClearToolUsesResponse
- type ClearThinking
- func (*ClearThinking) Descriptor() ([]byte, []int)deprecated
- func (x *ClearThinking) GetKeep() *ClearThinkingKeep
- func (x *ClearThinking) GetType() EditTypeEnum
- func (*ClearThinking) ProtoMessage()
- func (x *ClearThinking) ProtoReflect() protoreflect.Message
- func (x *ClearThinking) Reset()
- func (x *ClearThinking) String() string
- type ClearThinkingKeep
- func (*ClearThinkingKeep) Descriptor() ([]byte, []int)deprecated
- func (x *ClearThinkingKeep) GetAll() StringAllEnum
- func (x *ClearThinkingKeep) GetThinkingTurnParams() *ThinkingTurnsParam
- func (m *ClearThinkingKeep) GetUnion() isClearThinkingKeep_Union
- func (r *ClearThinkingKeep) MarshalJSON() ([]byte, error)
- func (*ClearThinkingKeep) ProtoMessage()
- func (x *ClearThinkingKeep) ProtoReflect() protoreflect.Message
- func (x *ClearThinkingKeep) Reset()
- func (x *ClearThinkingKeep) String() string
- func (r *ClearThinkingKeep) UnmarshalJSON(bytes []byte) error
- type ClearThinkingKeep_All
- type ClearThinkingKeep_ThinkingTurnParams
- type ClearThinkingResponse
- func (*ClearThinkingResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ClearThinkingResponse) GetClearedThinkingTurns() int32
- func (x *ClearThinkingResponse) GetType() string
- func (*ClearThinkingResponse) ProtoMessage()
- func (x *ClearThinkingResponse) ProtoReflect() protoreflect.Message
- func (x *ClearThinkingResponse) Reset()
- func (x *ClearThinkingResponse) String() string
- type ClearToolUses
- func (*ClearToolUses) Descriptor() ([]byte, []int)deprecated
- func (x *ClearToolUses) GetClearToolInputs() *ClearToolUsesInputs
- func (x *ClearToolUses) GetExcludeTools() []string
- func (x *ClearToolUses) GetKeep() *ToolUsesKeep
- func (x *ClearToolUses) GetTrigger() *ToolUsesTrigger
- func (x *ClearToolUses) GetType() EditTypeEnum
- func (*ClearToolUses) ProtoMessage()
- func (x *ClearToolUses) ProtoReflect() protoreflect.Message
- func (x *ClearToolUses) Reset()
- func (x *ClearToolUses) String() string
- type ClearToolUsesInputs
- func (*ClearToolUsesInputs) Descriptor() ([]byte, []int)deprecated
- func (x *ClearToolUsesInputs) GetClearAll() bool
- func (x *ClearToolUsesInputs) GetToolNameList() *ToolNameList
- func (m *ClearToolUsesInputs) GetUnion() isClearToolUsesInputs_Union
- func (r *ClearToolUsesInputs) MarshalJSON() ([]byte, error)
- func (*ClearToolUsesInputs) ProtoMessage()
- func (x *ClearToolUsesInputs) ProtoReflect() protoreflect.Message
- func (x *ClearToolUsesInputs) Reset()
- func (x *ClearToolUsesInputs) String() string
- func (r *ClearToolUsesInputs) UnmarshalJSON(bytes []byte) error
- type ClearToolUsesInputs_ClearAll
- type ClearToolUsesInputs_ToolNameList
- type ClearToolUsesResponse
- func (*ClearToolUsesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ClearToolUsesResponse) GetClearedToolUses() int32
- func (x *ClearToolUsesResponse) GetType() string
- func (*ClearToolUsesResponse) ProtoMessage()
- func (x *ClearToolUsesResponse) ProtoReflect() protoreflect.Message
- func (x *ClearToolUsesResponse) Reset()
- func (x *ClearToolUsesResponse) String() string
- type ContextManagement
- type ContextManagementResponse
- func (*ContextManagementResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ContextManagementResponse) GetAppliedEdits() []*AppliedEdit
- func (*ContextManagementResponse) ProtoMessage()
- func (x *ContextManagementResponse) ProtoReflect() protoreflect.Message
- func (x *ContextManagementResponse) Reset()
- func (x *ContextManagementResponse) String() string
- type Edit
- func (*Edit) Descriptor() ([]byte, []int)deprecated
- func (x *Edit) GetClearThinking() *ClearThinking
- func (x *Edit) GetClearToolUses() *ClearToolUses
- func (m *Edit) GetUnion() isEdit_Union
- func (r *Edit) MarshalJSON() ([]byte, error)
- func (*Edit) ProtoMessage()
- func (x *Edit) ProtoReflect() protoreflect.Message
- func (x *Edit) Reset()
- func (x *Edit) String() string
- func (r *Edit) UnmarshalJSON(bytes []byte) error
- type EditType
- type EditTypeEnum
- func (EditTypeEnum) Descriptor() protoreflect.EnumDescriptor
- func (x EditTypeEnum) Enum() *EditTypeEnum
- func (EditTypeEnum) EnumDescriptor() ([]byte, []int)deprecated
- func (r EditTypeEnum) MarshalJSON() ([]byte, error)
- func (x EditTypeEnum) Number() protoreflect.EnumNumber
- func (x EditTypeEnum) String() string
- func (EditTypeEnum) Type() protoreflect.EnumType
- func (r *EditTypeEnum) UnmarshalJSON(bytes []byte) error
- type Edit_ClearThinking
- type Edit_ClearToolUses
- type StringAll
- type StringAllEnum
- func (StringAllEnum) Descriptor() protoreflect.EnumDescriptor
- func (x StringAllEnum) Enum() *StringAllEnum
- func (StringAllEnum) EnumDescriptor() ([]byte, []int)deprecated
- func (r StringAllEnum) MarshalJSON() ([]byte, error)
- func (x StringAllEnum) Number() protoreflect.EnumNumber
- func (x StringAllEnum) String() string
- func (StringAllEnum) Type() protoreflect.EnumType
- func (r *StringAllEnum) UnmarshalJSON(bytes []byte) error
- type ThinkingTurnsParam
- func (*ThinkingTurnsParam) Descriptor() ([]byte, []int)deprecated
- func (x *ThinkingTurnsParam) GetType() ThinkingTurnsParamTypeEnum
- func (x *ThinkingTurnsParam) GetValue() uint32
- func (*ThinkingTurnsParam) ProtoMessage()
- func (x *ThinkingTurnsParam) ProtoReflect() protoreflect.Message
- func (x *ThinkingTurnsParam) Reset()
- func (x *ThinkingTurnsParam) String() string
- type ThinkingTurnsParamType
- type ThinkingTurnsParamTypeEnum
- func (ThinkingTurnsParamTypeEnum) Descriptor() protoreflect.EnumDescriptor
- func (x ThinkingTurnsParamTypeEnum) Enum() *ThinkingTurnsParamTypeEnum
- func (ThinkingTurnsParamTypeEnum) EnumDescriptor() ([]byte, []int)deprecated
- func (r ThinkingTurnsParamTypeEnum) MarshalJSON() ([]byte, error)
- func (x ThinkingTurnsParamTypeEnum) Number() protoreflect.EnumNumber
- func (x ThinkingTurnsParamTypeEnum) String() string
- func (ThinkingTurnsParamTypeEnum) Type() protoreflect.EnumType
- func (r *ThinkingTurnsParamTypeEnum) UnmarshalJSON(bytes []byte) error
- type ToolNameList
- type ToolUsesKeep
- func (*ToolUsesKeep) Descriptor() ([]byte, []int)deprecated
- func (x *ToolUsesKeep) GetType() ToolUsesKeepTypeEnum
- func (x *ToolUsesKeep) GetValue() uint32
- func (*ToolUsesKeep) ProtoMessage()
- func (x *ToolUsesKeep) ProtoReflect() protoreflect.Message
- func (x *ToolUsesKeep) Reset()
- func (x *ToolUsesKeep) String() string
- type ToolUsesKeepType
- type ToolUsesKeepTypeEnum
- func (ToolUsesKeepTypeEnum) Descriptor() protoreflect.EnumDescriptor
- func (x ToolUsesKeepTypeEnum) Enum() *ToolUsesKeepTypeEnum
- func (ToolUsesKeepTypeEnum) EnumDescriptor() ([]byte, []int)deprecated
- func (r ToolUsesKeepTypeEnum) MarshalJSON() ([]byte, error)
- func (x ToolUsesKeepTypeEnum) Number() protoreflect.EnumNumber
- func (x ToolUsesKeepTypeEnum) String() string
- func (ToolUsesKeepTypeEnum) Type() protoreflect.EnumType
- func (r *ToolUsesKeepTypeEnum) UnmarshalJSON(bytes []byte) error
- type ToolUsesTrigger
- func (*ToolUsesTrigger) Descriptor() ([]byte, []int)deprecated
- func (x *ToolUsesTrigger) GetType() ToolUsesTriggerTypeEnum
- func (x *ToolUsesTrigger) GetValue() uint32
- func (*ToolUsesTrigger) ProtoMessage()
- func (x *ToolUsesTrigger) ProtoReflect() protoreflect.Message
- func (x *ToolUsesTrigger) Reset()
- func (x *ToolUsesTrigger) String() string
- type ToolUsesTriggerType
- type ToolUsesTriggerTypeEnum
- func (ToolUsesTriggerTypeEnum) Descriptor() protoreflect.EnumDescriptor
- func (x ToolUsesTriggerTypeEnum) Enum() *ToolUsesTriggerTypeEnum
- func (ToolUsesTriggerTypeEnum) EnumDescriptor() ([]byte, []int)deprecated
- func (r ToolUsesTriggerTypeEnum) MarshalJSON() ([]byte, error)
- func (x ToolUsesTriggerTypeEnum) Number() protoreflect.EnumNumber
- func (x ToolUsesTriggerTypeEnum) String() string
- func (ToolUsesTriggerTypeEnum) Type() protoreflect.EnumType
- func (r *ToolUsesTriggerTypeEnum) UnmarshalJSON(bytes []byte) error
Constants ¶
This section is empty.
Variables ¶
var ( ToolUsesKeepTypeEnum_name = map[int32]string{ 0: "unspecified", 1: "tool_uses", } ToolUsesKeepTypeEnum_value = map[string]int32{ "unspecified": 0, "tool_uses": 1, } )
Enum value maps for ToolUsesKeepTypeEnum.
var ( ThinkingTurnsParamTypeEnum_name = map[int32]string{ 0: "unspecified", 1: "thinking_turns", 2: "all", } ThinkingTurnsParamTypeEnum_value = map[string]int32{ "unspecified": 0, "thinking_turns": 1, "all": 2, } )
Enum value maps for ThinkingTurnsParamTypeEnum.
var ( ToolUsesTriggerTypeEnum_name = map[int32]string{ 0: "unspecified", 1: "tool_uses", } ToolUsesTriggerTypeEnum_value = map[string]int32{ "unspecified": 0, "tool_uses": 1, } )
Enum value maps for ToolUsesTriggerTypeEnum.
var ( StringAllEnum_name = map[int32]string{ 0: "unspecified", 1: "all", } StringAllEnum_value = map[string]int32{ "unspecified": 0, "all": 1, } )
Enum value maps for StringAllEnum.
var ( EditTypeEnum_name = map[int32]string{ 0: "unspecified", 1: "clear_tool_uses", 2: "clear_thinking", } EditTypeEnum_value = map[string]int32{ "unspecified": 0, "clear_tool_uses": 1, "clear_thinking": 2, } )
Enum value maps for EditTypeEnum.
var File_contextmanagement_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type AppliedEdit ¶
type AppliedEdit struct {
// Types that are assignable to Union:
//
// *AppliedEdit_ClearToolUsesResponse
// *AppliedEdit_ClearThinkingResponse
Union isAppliedEdit_Union `protobuf_oneof:"Union"`
// contains filtered or unexported fields
}
func (*AppliedEdit) Descriptor
deprecated
func (*AppliedEdit) Descriptor() ([]byte, []int)
Deprecated: Use AppliedEdit.ProtoReflect.Descriptor instead.
func (*AppliedEdit) GetClearThinkingResponse ¶
func (x *AppliedEdit) GetClearThinkingResponse() *ClearThinkingResponse
func (*AppliedEdit) GetClearToolUsesResponse ¶
func (x *AppliedEdit) GetClearToolUsesResponse() *ClearToolUsesResponse
func (*AppliedEdit) GetUnion ¶
func (m *AppliedEdit) GetUnion() isAppliedEdit_Union
func (*AppliedEdit) MarshalJSON ¶
func (r *AppliedEdit) MarshalJSON() ([]byte, error)
MarshalJSON marshals the AppliedEdit union to JSON.
func (*AppliedEdit) ProtoMessage ¶
func (*AppliedEdit) ProtoMessage()
func (*AppliedEdit) ProtoReflect ¶
func (x *AppliedEdit) ProtoReflect() protoreflect.Message
func (*AppliedEdit) Reset ¶
func (x *AppliedEdit) Reset()
func (*AppliedEdit) String ¶
func (x *AppliedEdit) String() string
func (*AppliedEdit) UnmarshalJSON ¶
func (r *AppliedEdit) UnmarshalJSON(bytes []byte) error
UnmarshalJSON parses the JSON-encoded data and stores the result in the field pointed to by r.
type AppliedEdit_ClearThinkingResponse ¶
type AppliedEdit_ClearThinkingResponse struct {
ClearThinkingResponse *ClearThinkingResponse `protobuf:"bytes,2,opt,name=clear_thinking_response,json=clearThinkingResponse,proto3,oneof"`
}
type AppliedEdit_ClearToolUsesResponse ¶
type AppliedEdit_ClearToolUsesResponse struct {
ClearToolUsesResponse *ClearToolUsesResponse `protobuf:"bytes,1,opt,name=clear_tool_uses_response,json=clearToolUsesResponse,proto3,oneof"`
}
type ClearThinking ¶
type ClearThinking struct {
Type EditTypeEnum `protobuf:"varint,1,opt,name=type,proto3,enum=contextmanagement.EditTypeEnum" json:"type,omitempty"`
Keep *ClearThinkingKeep `protobuf:"bytes,2,opt,name=keep,proto3" json:"keep,omitempty"`
// contains filtered or unexported fields
}
func (*ClearThinking) Descriptor
deprecated
func (*ClearThinking) Descriptor() ([]byte, []int)
Deprecated: Use ClearThinking.ProtoReflect.Descriptor instead.
func (*ClearThinking) GetKeep ¶
func (x *ClearThinking) GetKeep() *ClearThinkingKeep
func (*ClearThinking) GetType ¶
func (x *ClearThinking) GetType() EditTypeEnum
func (*ClearThinking) ProtoMessage ¶
func (*ClearThinking) ProtoMessage()
func (*ClearThinking) ProtoReflect ¶
func (x *ClearThinking) ProtoReflect() protoreflect.Message
func (*ClearThinking) Reset ¶
func (x *ClearThinking) Reset()
func (*ClearThinking) String ¶
func (x *ClearThinking) String() string
type ClearThinkingKeep ¶
type ClearThinkingKeep struct {
// Types that are assignable to Union:
//
// *ClearThinkingKeep_All
// *ClearThinkingKeep_ThinkingTurnParams
Union isClearThinkingKeep_Union `protobuf_oneof:"Union"`
// contains filtered or unexported fields
}
func (*ClearThinkingKeep) Descriptor
deprecated
func (*ClearThinkingKeep) Descriptor() ([]byte, []int)
Deprecated: Use ClearThinkingKeep.ProtoReflect.Descriptor instead.
func (*ClearThinkingKeep) GetAll ¶
func (x *ClearThinkingKeep) GetAll() StringAllEnum
func (*ClearThinkingKeep) GetThinkingTurnParams ¶
func (x *ClearThinkingKeep) GetThinkingTurnParams() *ThinkingTurnsParam
func (*ClearThinkingKeep) GetUnion ¶
func (m *ClearThinkingKeep) GetUnion() isClearThinkingKeep_Union
func (*ClearThinkingKeep) MarshalJSON ¶
func (r *ClearThinkingKeep) MarshalJSON() ([]byte, error)
MarshalJSON marshals the ClearThinkingKeep union to JSON.
func (*ClearThinkingKeep) ProtoMessage ¶
func (*ClearThinkingKeep) ProtoMessage()
func (*ClearThinkingKeep) ProtoReflect ¶
func (x *ClearThinkingKeep) ProtoReflect() protoreflect.Message
func (*ClearThinkingKeep) Reset ¶
func (x *ClearThinkingKeep) Reset()
func (*ClearThinkingKeep) String ¶
func (x *ClearThinkingKeep) String() string
func (*ClearThinkingKeep) UnmarshalJSON ¶
func (r *ClearThinkingKeep) UnmarshalJSON(bytes []byte) error
UnmarshalJSON parses the JSON-encoded data and stores the result in the field pointed to by r.
type ClearThinkingKeep_All ¶
type ClearThinkingKeep_All struct {
All StringAllEnum `protobuf:"varint,1,opt,name=all,proto3,enum=contextmanagement.StringAllEnum,oneof"`
}
type ClearThinkingKeep_ThinkingTurnParams ¶
type ClearThinkingKeep_ThinkingTurnParams struct {
ThinkingTurnParams *ThinkingTurnsParam `protobuf:"bytes,2,opt,name=thinking_turn_params,json=thinkingTurnParams,proto3,oneof"`
}
type ClearThinkingResponse ¶
type ClearThinkingResponse struct {
Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` // enum, clear_thinking
ClearedThinkingTurns int32 `protobuf:"varint,2,opt,name=cleared_thinking_turns,json=clearedThinkingTurns,proto3" json:"cleared_thinking_turns"` // @inject_tag: json:"cleared_thinking_turns"
// contains filtered or unexported fields
}
func (*ClearThinkingResponse) Descriptor
deprecated
func (*ClearThinkingResponse) Descriptor() ([]byte, []int)
Deprecated: Use ClearThinkingResponse.ProtoReflect.Descriptor instead.
func (*ClearThinkingResponse) GetClearedThinkingTurns ¶
func (x *ClearThinkingResponse) GetClearedThinkingTurns() int32
func (*ClearThinkingResponse) GetType ¶
func (x *ClearThinkingResponse) GetType() string
func (*ClearThinkingResponse) ProtoMessage ¶
func (*ClearThinkingResponse) ProtoMessage()
func (*ClearThinkingResponse) ProtoReflect ¶
func (x *ClearThinkingResponse) ProtoReflect() protoreflect.Message
func (*ClearThinkingResponse) Reset ¶
func (x *ClearThinkingResponse) Reset()
func (*ClearThinkingResponse) String ¶
func (x *ClearThinkingResponse) String() string
type ClearToolUses ¶
type ClearToolUses struct {
Type EditTypeEnum `protobuf:"varint,1,opt,name=type,proto3,enum=contextmanagement.EditTypeEnum" json:"type,omitempty"`
ClearToolInputs *ClearToolUsesInputs `protobuf:"bytes,2,opt,name=clear_tool_inputs,json=clearToolInputs,proto3" json:"clear_tool_inputs,omitempty"`
ExcludeTools []string `protobuf:"bytes,12,rep,name=exclude_tools,json=excludeTools,proto3" json:"exclude_tools,omitempty"`
Keep *ToolUsesKeep `protobuf:"bytes,13,opt,name=keep,proto3" json:"keep,omitempty"`
Trigger *ToolUsesTrigger `protobuf:"bytes,14,opt,name=trigger,proto3" json:"trigger,omitempty"`
// contains filtered or unexported fields
}
func (*ClearToolUses) Descriptor
deprecated
func (*ClearToolUses) Descriptor() ([]byte, []int)
Deprecated: Use ClearToolUses.ProtoReflect.Descriptor instead.
func (*ClearToolUses) GetClearToolInputs ¶
func (x *ClearToolUses) GetClearToolInputs() *ClearToolUsesInputs
func (*ClearToolUses) GetExcludeTools ¶
func (x *ClearToolUses) GetExcludeTools() []string
func (*ClearToolUses) GetKeep ¶
func (x *ClearToolUses) GetKeep() *ToolUsesKeep
func (*ClearToolUses) GetTrigger ¶
func (x *ClearToolUses) GetTrigger() *ToolUsesTrigger
func (*ClearToolUses) GetType ¶
func (x *ClearToolUses) GetType() EditTypeEnum
func (*ClearToolUses) ProtoMessage ¶
func (*ClearToolUses) ProtoMessage()
func (*ClearToolUses) ProtoReflect ¶
func (x *ClearToolUses) ProtoReflect() protoreflect.Message
func (*ClearToolUses) Reset ¶
func (x *ClearToolUses) Reset()
func (*ClearToolUses) String ¶
func (x *ClearToolUses) String() string
type ClearToolUsesInputs ¶
type ClearToolUsesInputs struct {
// Types that are assignable to Union:
//
// *ClearToolUsesInputs_ClearAll
// *ClearToolUsesInputs_ToolNameList
Union isClearToolUsesInputs_Union `protobuf_oneof:"Union"`
// contains filtered or unexported fields
}
func (*ClearToolUsesInputs) Descriptor
deprecated
func (*ClearToolUsesInputs) Descriptor() ([]byte, []int)
Deprecated: Use ClearToolUsesInputs.ProtoReflect.Descriptor instead.
func (*ClearToolUsesInputs) GetClearAll ¶
func (x *ClearToolUsesInputs) GetClearAll() bool
func (*ClearToolUsesInputs) GetToolNameList ¶
func (x *ClearToolUsesInputs) GetToolNameList() *ToolNameList
func (*ClearToolUsesInputs) GetUnion ¶
func (m *ClearToolUsesInputs) GetUnion() isClearToolUsesInputs_Union
func (*ClearToolUsesInputs) MarshalJSON ¶
func (r *ClearToolUsesInputs) MarshalJSON() ([]byte, error)
MarshalJSON marshals the ClearToolUsesInputs union to JSON.
func (*ClearToolUsesInputs) ProtoMessage ¶
func (*ClearToolUsesInputs) ProtoMessage()
func (*ClearToolUsesInputs) ProtoReflect ¶
func (x *ClearToolUsesInputs) ProtoReflect() protoreflect.Message
func (*ClearToolUsesInputs) Reset ¶
func (x *ClearToolUsesInputs) Reset()
func (*ClearToolUsesInputs) String ¶
func (x *ClearToolUsesInputs) String() string
func (*ClearToolUsesInputs) UnmarshalJSON ¶
func (r *ClearToolUsesInputs) UnmarshalJSON(bytes []byte) error
UnmarshalJSON parses the JSON-encoded data and stores the result in the field pointed to by r.
type ClearToolUsesInputs_ClearAll ¶
type ClearToolUsesInputs_ClearAll struct {
ClearAll bool `protobuf:"varint,10,opt,name=clear_all,json=clearAll,proto3,oneof"`
}
type ClearToolUsesInputs_ToolNameList ¶
type ClearToolUsesInputs_ToolNameList struct {
ToolNameList *ToolNameList `protobuf:"bytes,11,opt,name=tool_name_list,json=toolNameList,proto3,oneof"`
}
type ClearToolUsesResponse ¶
type ClearToolUsesResponse struct {
Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` // enum, clear_tool_uses
ClearedToolUses int32 `protobuf:"varint,2,opt,name=cleared_tool_uses,json=clearedToolUses,proto3" json:"cleared_tool_uses"` // @inject_tag: json:"cleared_tool_uses"
// contains filtered or unexported fields
}
func (*ClearToolUsesResponse) Descriptor
deprecated
func (*ClearToolUsesResponse) Descriptor() ([]byte, []int)
Deprecated: Use ClearToolUsesResponse.ProtoReflect.Descriptor instead.
func (*ClearToolUsesResponse) GetClearedToolUses ¶
func (x *ClearToolUsesResponse) GetClearedToolUses() int32
func (*ClearToolUsesResponse) GetType ¶
func (x *ClearToolUsesResponse) GetType() string
func (*ClearToolUsesResponse) ProtoMessage ¶
func (*ClearToolUsesResponse) ProtoMessage()
func (*ClearToolUsesResponse) ProtoReflect ¶
func (x *ClearToolUsesResponse) ProtoReflect() protoreflect.Message
func (*ClearToolUsesResponse) Reset ¶
func (x *ClearToolUsesResponse) Reset()
func (*ClearToolUsesResponse) String ¶
func (x *ClearToolUsesResponse) String() string
type ContextManagement ¶
type ContextManagement struct {
Edits []*Edit `protobuf:"bytes,1,rep,name=edits,proto3" json:"edits,omitempty"`
// contains filtered or unexported fields
}
func (*ContextManagement) Descriptor
deprecated
func (*ContextManagement) Descriptor() ([]byte, []int)
Deprecated: Use ContextManagement.ProtoReflect.Descriptor instead.
func (*ContextManagement) GetEdits ¶
func (x *ContextManagement) GetEdits() []*Edit
func (*ContextManagement) ProtoMessage ¶
func (*ContextManagement) ProtoMessage()
func (*ContextManagement) ProtoReflect ¶
func (x *ContextManagement) ProtoReflect() protoreflect.Message
func (*ContextManagement) Reset ¶
func (x *ContextManagement) Reset()
func (*ContextManagement) String ¶
func (x *ContextManagement) String() string
type ContextManagementResponse ¶
type ContextManagementResponse struct {
AppliedEdits []*AppliedEdit `protobuf:"bytes,1,rep,name=applied_edits,json=appliedEdits,proto3" json:"applied_edits,omitempty"`
// contains filtered or unexported fields
}
func (*ContextManagementResponse) Descriptor
deprecated
func (*ContextManagementResponse) Descriptor() ([]byte, []int)
Deprecated: Use ContextManagementResponse.ProtoReflect.Descriptor instead.
func (*ContextManagementResponse) GetAppliedEdits ¶
func (x *ContextManagementResponse) GetAppliedEdits() []*AppliedEdit
func (*ContextManagementResponse) ProtoMessage ¶
func (*ContextManagementResponse) ProtoMessage()
func (*ContextManagementResponse) ProtoReflect ¶
func (x *ContextManagementResponse) ProtoReflect() protoreflect.Message
func (*ContextManagementResponse) Reset ¶
func (x *ContextManagementResponse) Reset()
func (*ContextManagementResponse) String ¶
func (x *ContextManagementResponse) String() string
type Edit ¶
type Edit struct {
// Types that are assignable to Union:
//
// *Edit_ClearToolUses
// *Edit_ClearThinking
Union isEdit_Union `protobuf_oneof:"Union"`
// contains filtered or unexported fields
}
func (*Edit) Descriptor
deprecated
func (*Edit) GetClearThinking ¶
func (x *Edit) GetClearThinking() *ClearThinking
func (*Edit) GetClearToolUses ¶
func (x *Edit) GetClearToolUses() *ClearToolUses
func (*Edit) MarshalJSON ¶
MarshalJSON marshals the Edit union to JSON.
func (*Edit) ProtoMessage ¶
func (*Edit) ProtoMessage()
func (*Edit) ProtoReflect ¶
func (x *Edit) ProtoReflect() protoreflect.Message
func (*Edit) UnmarshalJSON ¶
UnmarshalJSON parses the JSON-encoded data and stores the result in the field pointed to by r.
type EditType ¶
type EditType struct {
// contains filtered or unexported fields
}
func (*EditType) Descriptor
deprecated
func (*EditType) ProtoMessage ¶
func (*EditType) ProtoMessage()
func (*EditType) ProtoReflect ¶
func (x *EditType) ProtoReflect() protoreflect.Message
type EditTypeEnum ¶
type EditTypeEnum int32
const ( EditType_unspecified EditTypeEnum = 0 EditType_clear_tool_uses EditTypeEnum = 1 EditType_clear_thinking EditTypeEnum = 2 )
func (EditTypeEnum) Descriptor ¶
func (EditTypeEnum) Descriptor() protoreflect.EnumDescriptor
func (EditTypeEnum) Enum ¶
func (x EditTypeEnum) Enum() *EditTypeEnum
func (EditTypeEnum) EnumDescriptor
deprecated
func (EditTypeEnum) EnumDescriptor() ([]byte, []int)
Deprecated: Use EditTypeEnum.Descriptor instead.
func (EditTypeEnum) MarshalJSON ¶
func (r EditTypeEnum) MarshalJSON() ([]byte, error)
MarshalJSON marshals the EditTypeEnum enum to JSON.
func (EditTypeEnum) Number ¶
func (x EditTypeEnum) Number() protoreflect.EnumNumber
func (EditTypeEnum) String ¶
func (x EditTypeEnum) String() string
func (EditTypeEnum) Type ¶
func (EditTypeEnum) Type() protoreflect.EnumType
func (*EditTypeEnum) UnmarshalJSON ¶
func (r *EditTypeEnum) UnmarshalJSON(bytes []byte) error
UnmarshalJSON parses the JSON-encoded data and stores the result in the field pointed to by r.
type Edit_ClearThinking ¶
type Edit_ClearThinking struct {
ClearThinking *ClearThinking `protobuf:"bytes,3,opt,name=clear_thinking,json=clearThinking,proto3,oneof"`
}
type Edit_ClearToolUses ¶
type Edit_ClearToolUses struct {
ClearToolUses *ClearToolUses `protobuf:"bytes,2,opt,name=clear_tool_uses,json=clearToolUses,proto3,oneof"`
}
type StringAll ¶
type StringAll struct {
// contains filtered or unexported fields
}
func (*StringAll) Descriptor
deprecated
func (*StringAll) ProtoMessage ¶
func (*StringAll) ProtoMessage()
func (*StringAll) ProtoReflect ¶
func (x *StringAll) ProtoReflect() protoreflect.Message
type StringAllEnum ¶
type StringAllEnum int32
const ( StringAll_unspecified StringAllEnum = 0 StringAll_all StringAllEnum = 1 )
func (StringAllEnum) Descriptor ¶
func (StringAllEnum) Descriptor() protoreflect.EnumDescriptor
func (StringAllEnum) Enum ¶
func (x StringAllEnum) Enum() *StringAllEnum
func (StringAllEnum) EnumDescriptor
deprecated
func (StringAllEnum) EnumDescriptor() ([]byte, []int)
Deprecated: Use StringAllEnum.Descriptor instead.
func (StringAllEnum) MarshalJSON ¶
func (r StringAllEnum) MarshalJSON() ([]byte, error)
MarshalJSON marshals the StringAllEnum enum to JSON.
func (StringAllEnum) Number ¶
func (x StringAllEnum) Number() protoreflect.EnumNumber
func (StringAllEnum) String ¶
func (x StringAllEnum) String() string
func (StringAllEnum) Type ¶
func (StringAllEnum) Type() protoreflect.EnumType
func (*StringAllEnum) UnmarshalJSON ¶
func (r *StringAllEnum) UnmarshalJSON(bytes []byte) error
UnmarshalJSON parses the JSON-encoded data and stores the result in the field pointed to by r.
type ThinkingTurnsParam ¶
type ThinkingTurnsParam struct {
Type ThinkingTurnsParamTypeEnum `protobuf:"varint,1,opt,name=type,proto3,enum=contextmanagement.ThinkingTurnsParamTypeEnum" json:"type,omitempty"`
Value uint32 `protobuf:"varint,2,opt,name=value,proto3" json:"value,omitempty"`
// contains filtered or unexported fields
}
func (*ThinkingTurnsParam) Descriptor
deprecated
func (*ThinkingTurnsParam) Descriptor() ([]byte, []int)
Deprecated: Use ThinkingTurnsParam.ProtoReflect.Descriptor instead.
func (*ThinkingTurnsParam) GetType ¶
func (x *ThinkingTurnsParam) GetType() ThinkingTurnsParamTypeEnum
func (*ThinkingTurnsParam) GetValue ¶
func (x *ThinkingTurnsParam) GetValue() uint32
func (*ThinkingTurnsParam) ProtoMessage ¶
func (*ThinkingTurnsParam) ProtoMessage()
func (*ThinkingTurnsParam) ProtoReflect ¶
func (x *ThinkingTurnsParam) ProtoReflect() protoreflect.Message
func (*ThinkingTurnsParam) Reset ¶
func (x *ThinkingTurnsParam) Reset()
func (*ThinkingTurnsParam) String ¶
func (x *ThinkingTurnsParam) String() string
type ThinkingTurnsParamType ¶
type ThinkingTurnsParamType struct {
// contains filtered or unexported fields
}
func (*ThinkingTurnsParamType) Descriptor
deprecated
func (*ThinkingTurnsParamType) Descriptor() ([]byte, []int)
Deprecated: Use ThinkingTurnsParamType.ProtoReflect.Descriptor instead.
func (*ThinkingTurnsParamType) ProtoMessage ¶
func (*ThinkingTurnsParamType) ProtoMessage()
func (*ThinkingTurnsParamType) ProtoReflect ¶
func (x *ThinkingTurnsParamType) ProtoReflect() protoreflect.Message
func (*ThinkingTurnsParamType) Reset ¶
func (x *ThinkingTurnsParamType) Reset()
func (*ThinkingTurnsParamType) String ¶
func (x *ThinkingTurnsParamType) String() string
type ThinkingTurnsParamTypeEnum ¶
type ThinkingTurnsParamTypeEnum int32
const ( ThinkingTurnsParamType_unspecified ThinkingTurnsParamTypeEnum = 0 ThinkingTurnsParamType_thinking_turns ThinkingTurnsParamTypeEnum = 1 // for clear_thinking ThinkingTurnsParamType_all ThinkingTurnsParamTypeEnum = 2 // if so, value should be null )
func (ThinkingTurnsParamTypeEnum) Descriptor ¶
func (ThinkingTurnsParamTypeEnum) Descriptor() protoreflect.EnumDescriptor
func (ThinkingTurnsParamTypeEnum) Enum ¶
func (x ThinkingTurnsParamTypeEnum) Enum() *ThinkingTurnsParamTypeEnum
func (ThinkingTurnsParamTypeEnum) EnumDescriptor
deprecated
func (ThinkingTurnsParamTypeEnum) EnumDescriptor() ([]byte, []int)
Deprecated: Use ThinkingTurnsParamTypeEnum.Descriptor instead.
func (ThinkingTurnsParamTypeEnum) MarshalJSON ¶
func (r ThinkingTurnsParamTypeEnum) MarshalJSON() ([]byte, error)
MarshalJSON marshals the ThinkingTurnsParamType enum to JSON.
func (ThinkingTurnsParamTypeEnum) Number ¶
func (x ThinkingTurnsParamTypeEnum) Number() protoreflect.EnumNumber
func (ThinkingTurnsParamTypeEnum) String ¶
func (x ThinkingTurnsParamTypeEnum) String() string
func (ThinkingTurnsParamTypeEnum) Type ¶
func (ThinkingTurnsParamTypeEnum) Type() protoreflect.EnumType
func (*ThinkingTurnsParamTypeEnum) UnmarshalJSON ¶
func (r *ThinkingTurnsParamTypeEnum) UnmarshalJSON(bytes []byte) error
UnmarshalJSON parses the JSON-encoded data and stores the result in the field pointed to by r.
type ToolNameList ¶
type ToolNameList struct {
ClearToolNames []string `protobuf:"bytes,1,rep,name=clear_tool_names,json=clearToolNames,proto3" json:"clear_tool_names,omitempty"`
// contains filtered or unexported fields
}
func (*ToolNameList) Descriptor
deprecated
func (*ToolNameList) Descriptor() ([]byte, []int)
Deprecated: Use ToolNameList.ProtoReflect.Descriptor instead.
func (*ToolNameList) GetClearToolNames ¶
func (x *ToolNameList) GetClearToolNames() []string
func (*ToolNameList) ProtoMessage ¶
func (*ToolNameList) ProtoMessage()
func (*ToolNameList) ProtoReflect ¶
func (x *ToolNameList) ProtoReflect() protoreflect.Message
func (*ToolNameList) Reset ¶
func (x *ToolNameList) Reset()
func (*ToolNameList) String ¶
func (x *ToolNameList) String() string
type ToolUsesKeep ¶
type ToolUsesKeep struct {
Type ToolUsesKeepTypeEnum `protobuf:"varint,1,opt,name=type,proto3,enum=contextmanagement.ToolUsesKeepTypeEnum" json:"type,omitempty"`
Value uint32 `protobuf:"varint,2,opt,name=value,proto3" json:"value,omitempty"`
// contains filtered or unexported fields
}
func (*ToolUsesKeep) Descriptor
deprecated
func (*ToolUsesKeep) Descriptor() ([]byte, []int)
Deprecated: Use ToolUsesKeep.ProtoReflect.Descriptor instead.
func (*ToolUsesKeep) GetType ¶
func (x *ToolUsesKeep) GetType() ToolUsesKeepTypeEnum
func (*ToolUsesKeep) GetValue ¶
func (x *ToolUsesKeep) GetValue() uint32
func (*ToolUsesKeep) ProtoMessage ¶
func (*ToolUsesKeep) ProtoMessage()
func (*ToolUsesKeep) ProtoReflect ¶
func (x *ToolUsesKeep) ProtoReflect() protoreflect.Message
func (*ToolUsesKeep) Reset ¶
func (x *ToolUsesKeep) Reset()
func (*ToolUsesKeep) String ¶
func (x *ToolUsesKeep) String() string
type ToolUsesKeepType ¶
type ToolUsesKeepType struct {
// contains filtered or unexported fields
}
func (*ToolUsesKeepType) Descriptor
deprecated
func (*ToolUsesKeepType) Descriptor() ([]byte, []int)
Deprecated: Use ToolUsesKeepType.ProtoReflect.Descriptor instead.
func (*ToolUsesKeepType) ProtoMessage ¶
func (*ToolUsesKeepType) ProtoMessage()
func (*ToolUsesKeepType) ProtoReflect ¶
func (x *ToolUsesKeepType) ProtoReflect() protoreflect.Message
func (*ToolUsesKeepType) Reset ¶
func (x *ToolUsesKeepType) Reset()
func (*ToolUsesKeepType) String ¶
func (x *ToolUsesKeepType) String() string
type ToolUsesKeepTypeEnum ¶
type ToolUsesKeepTypeEnum int32
const ( ToolUsesKeepType_unspecified ToolUsesKeepTypeEnum = 0 ToolUsesKeepType_tool_uses ToolUsesKeepTypeEnum = 1 // for clear_tool_uses )
func (ToolUsesKeepTypeEnum) Descriptor ¶
func (ToolUsesKeepTypeEnum) Descriptor() protoreflect.EnumDescriptor
func (ToolUsesKeepTypeEnum) Enum ¶
func (x ToolUsesKeepTypeEnum) Enum() *ToolUsesKeepTypeEnum
func (ToolUsesKeepTypeEnum) EnumDescriptor
deprecated
func (ToolUsesKeepTypeEnum) EnumDescriptor() ([]byte, []int)
Deprecated: Use ToolUsesKeepTypeEnum.Descriptor instead.
func (ToolUsesKeepTypeEnum) MarshalJSON ¶
func (r ToolUsesKeepTypeEnum) MarshalJSON() ([]byte, error)
MarshalJSON marshals the ToolUsesKeepType enum to JSON.
func (ToolUsesKeepTypeEnum) Number ¶
func (x ToolUsesKeepTypeEnum) Number() protoreflect.EnumNumber
func (ToolUsesKeepTypeEnum) String ¶
func (x ToolUsesKeepTypeEnum) String() string
func (ToolUsesKeepTypeEnum) Type ¶
func (ToolUsesKeepTypeEnum) Type() protoreflect.EnumType
func (*ToolUsesKeepTypeEnum) UnmarshalJSON ¶
func (r *ToolUsesKeepTypeEnum) UnmarshalJSON(bytes []byte) error
UnmarshalJSON parses the JSON-encoded data and stores the result in the field pointed to by r.
type ToolUsesTrigger ¶
type ToolUsesTrigger struct {
Type ToolUsesTriggerTypeEnum `protobuf:"varint,1,opt,name=type,proto3,enum=contextmanagement.ToolUsesTriggerTypeEnum" json:"type,omitempty"`
Value uint32 `protobuf:"varint,2,opt,name=value,proto3" json:"value,omitempty"`
// contains filtered or unexported fields
}
func (*ToolUsesTrigger) Descriptor
deprecated
func (*ToolUsesTrigger) Descriptor() ([]byte, []int)
Deprecated: Use ToolUsesTrigger.ProtoReflect.Descriptor instead.
func (*ToolUsesTrigger) GetType ¶
func (x *ToolUsesTrigger) GetType() ToolUsesTriggerTypeEnum
func (*ToolUsesTrigger) GetValue ¶
func (x *ToolUsesTrigger) GetValue() uint32
func (*ToolUsesTrigger) ProtoMessage ¶
func (*ToolUsesTrigger) ProtoMessage()
func (*ToolUsesTrigger) ProtoReflect ¶
func (x *ToolUsesTrigger) ProtoReflect() protoreflect.Message
func (*ToolUsesTrigger) Reset ¶
func (x *ToolUsesTrigger) Reset()
func (*ToolUsesTrigger) String ¶
func (x *ToolUsesTrigger) String() string
type ToolUsesTriggerType ¶
type ToolUsesTriggerType struct {
// contains filtered or unexported fields
}
func (*ToolUsesTriggerType) Descriptor
deprecated
func (*ToolUsesTriggerType) Descriptor() ([]byte, []int)
Deprecated: Use ToolUsesTriggerType.ProtoReflect.Descriptor instead.
func (*ToolUsesTriggerType) ProtoMessage ¶
func (*ToolUsesTriggerType) ProtoMessage()
func (*ToolUsesTriggerType) ProtoReflect ¶
func (x *ToolUsesTriggerType) ProtoReflect() protoreflect.Message
func (*ToolUsesTriggerType) Reset ¶
func (x *ToolUsesTriggerType) Reset()
func (*ToolUsesTriggerType) String ¶
func (x *ToolUsesTriggerType) String() string
type ToolUsesTriggerTypeEnum ¶
type ToolUsesTriggerTypeEnum int32
const ( ToolUsesTriggerType_unspecified ToolUsesTriggerTypeEnum = 0 ToolUsesTriggerType_tool_uses ToolUsesTriggerTypeEnum = 1 // for clear_tool_uses )
func (ToolUsesTriggerTypeEnum) Descriptor ¶
func (ToolUsesTriggerTypeEnum) Descriptor() protoreflect.EnumDescriptor
func (ToolUsesTriggerTypeEnum) Enum ¶
func (x ToolUsesTriggerTypeEnum) Enum() *ToolUsesTriggerTypeEnum
func (ToolUsesTriggerTypeEnum) EnumDescriptor
deprecated
func (ToolUsesTriggerTypeEnum) EnumDescriptor() ([]byte, []int)
Deprecated: Use ToolUsesTriggerTypeEnum.Descriptor instead.
func (ToolUsesTriggerTypeEnum) MarshalJSON ¶
func (r ToolUsesTriggerTypeEnum) MarshalJSON() ([]byte, error)
MarshalJSON marshals the ToolUsesTriggerType enum to JSON.
func (ToolUsesTriggerTypeEnum) Number ¶
func (x ToolUsesTriggerTypeEnum) Number() protoreflect.EnumNumber
func (ToolUsesTriggerTypeEnum) String ¶
func (x ToolUsesTriggerTypeEnum) String() string
func (ToolUsesTriggerTypeEnum) Type ¶
func (ToolUsesTriggerTypeEnum) Type() protoreflect.EnumType
func (*ToolUsesTriggerTypeEnum) UnmarshalJSON ¶
func (r *ToolUsesTriggerTypeEnum) UnmarshalJSON(bytes []byte) error
UnmarshalJSON parses the JSON-encoded data and stores the result in the field pointed to by r.