Help us shape the future of Go! Take the 2026 Go Developer Survey

contextmanagement

package
v1.0.76 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 6, 2026 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package contextmanagement is the contextmanagement service.

Index

Constants

This section is empty.

Variables

View Source
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.

View Source
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.

View Source
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.

View Source
var (
	StringAllEnum_name = map[int32]string{
		0: "unspecified",
		1: "all",
	}
	StringAllEnum_value = map[string]int32{
		"unspecified": 0,
		"all":         1,
	}
)

Enum value maps for StringAllEnum.

View Source
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.

View Source
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 (*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) Descriptor() ([]byte, []int)

Deprecated: Use Edit.ProtoReflect.Descriptor instead.

func (*Edit) GetClearThinking

func (x *Edit) GetClearThinking() *ClearThinking

func (*Edit) GetClearToolUses

func (x *Edit) GetClearToolUses() *ClearToolUses

func (*Edit) GetUnion

func (m *Edit) GetUnion() isEdit_Union

func (*Edit) MarshalJSON

func (r *Edit) MarshalJSON() ([]byte, error)

MarshalJSON marshals the Edit union to JSON.

func (*Edit) ProtoMessage

func (*Edit) ProtoMessage()

func (*Edit) ProtoReflect

func (x *Edit) ProtoReflect() protoreflect.Message

func (*Edit) Reset

func (x *Edit) Reset()

func (*Edit) String

func (x *Edit) String() string

func (*Edit) UnmarshalJSON

func (r *Edit) UnmarshalJSON(bytes []byte) error

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) Descriptor() ([]byte, []int)

Deprecated: Use EditType.ProtoReflect.Descriptor instead.

func (*EditType) ProtoMessage

func (*EditType) ProtoMessage()

func (*EditType) ProtoReflect

func (x *EditType) ProtoReflect() protoreflect.Message

func (*EditType) Reset

func (x *EditType) Reset()

func (*EditType) String

func (x *EditType) String() string

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) 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 (EditTypeEnum) String

func (x EditTypeEnum) String() string

func (EditTypeEnum) Type

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) Descriptor() ([]byte, []int)

Deprecated: Use StringAll.ProtoReflect.Descriptor instead.

func (*StringAll) ProtoMessage

func (*StringAll) ProtoMessage()

func (*StringAll) ProtoReflect

func (x *StringAll) ProtoReflect() protoreflect.Message

func (*StringAll) Reset

func (x *StringAll) Reset()

func (*StringAll) String

func (x *StringAll) String() string

type StringAllEnum

type StringAllEnum int32
const (
	StringAll_unspecified StringAllEnum = 0
	StringAll_all         StringAllEnum = 1
)

func (StringAllEnum) Descriptor

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 (StringAllEnum) String

func (x StringAllEnum) String() string

func (StringAllEnum) Type

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 (*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) Enum

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 (ThinkingTurnsParamTypeEnum) String

func (ThinkingTurnsParamTypeEnum) Type

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) Enum

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 (ToolUsesKeepTypeEnum) String

func (x ToolUsesKeepTypeEnum) String() string

func (ToolUsesKeepTypeEnum) Type

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 (*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) Enum

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 (ToolUsesTriggerTypeEnum) String

func (x ToolUsesTriggerTypeEnum) String() string

func (ToolUsesTriggerTypeEnum) Type

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL