v1

package
v0.3.4 Latest Latest
Warning

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

Go to latest
Published: Jan 14, 2026 License: GPL-3.0 Imports: 10 Imported by: 0

Documentation

Overview

Package v1 contains generated gRPC code from contextd.proto.

DO NOT EDIT: Files are generated via protoc. Edit the proto file instead.

Generated files include message types (contextd.pb.go) and service interfaces/stubs (contextd_grpc.pb.go).

See CLAUDE.md for regeneration instructions and proto location.

Index

Constants

View Source
const (
	SafeExecService_Bash_FullMethodName  = "/contextd.v1.SafeExecService/Bash"
	SafeExecService_Read_FullMethodName  = "/contextd.v1.SafeExecService/Read"
	SafeExecService_Write_FullMethodName = "/contextd.v1.SafeExecService/Write"
)
View Source
const (
	MemoryService_Search_FullMethodName   = "/contextd.v1.MemoryService/Search"
	MemoryService_Store_FullMethodName    = "/contextd.v1.MemoryService/Store"
	MemoryService_Feedback_FullMethodName = "/contextd.v1.MemoryService/Feedback"
	MemoryService_Get_FullMethodName      = "/contextd.v1.MemoryService/Get"
)
View Source
const (
	CheckpointService_Save_FullMethodName   = "/contextd.v1.CheckpointService/Save"
	CheckpointService_List_FullMethodName   = "/contextd.v1.CheckpointService/List"
	CheckpointService_Resume_FullMethodName = "/contextd.v1.CheckpointService/Resume"
)
View Source
const (
	PolicyService_Check_FullMethodName = "/contextd.v1.PolicyService/Check"
	PolicyService_List_FullMethodName  = "/contextd.v1.PolicyService/List"
	PolicyService_Get_FullMethodName   = "/contextd.v1.PolicyService/Get"
)
View Source
const (
	SkillService_List_FullMethodName   = "/contextd.v1.SkillService/List"
	SkillService_Get_FullMethodName    = "/contextd.v1.SkillService/Get"
	SkillService_Create_FullMethodName = "/contextd.v1.SkillService/Create"
	SkillService_Update_FullMethodName = "/contextd.v1.SkillService/Update"
	SkillService_Delete_FullMethodName = "/contextd.v1.SkillService/Delete"
)
View Source
const (
	AgentService_List_FullMethodName   = "/contextd.v1.AgentService/List"
	AgentService_Get_FullMethodName    = "/contextd.v1.AgentService/Get"
	AgentService_Create_FullMethodName = "/contextd.v1.AgentService/Create"
	AgentService_Update_FullMethodName = "/contextd.v1.AgentService/Update"
	AgentService_Delete_FullMethodName = "/contextd.v1.AgentService/Delete"
)
View Source
const (
	RemediationService_Search_FullMethodName = "/contextd.v1.RemediationService/Search"
	RemediationService_Record_FullMethodName = "/contextd.v1.RemediationService/Record"
)
View Source
const (
	SessionService_Start_FullMethodName = "/contextd.v1.SessionService/Start"
	SessionService_End_FullMethodName   = "/contextd.v1.SessionService/End"
)
View Source
const (
	RefService_GetContent_FullMethodName = "/contextd.v1.RefService/GetContent"
)

Variables

View Source
var (
	ErrSessionRequired  = errors.New("session_id is required")
	ErrInvalidRequest   = errors.New("invalid request")
	ErrNotFound         = errors.New("resource not found")
	ErrTimeout          = errors.New("operation timed out")
	ErrPermissionDenied = errors.New("permission denied")
)

Common API errors.

View Source
var AgentService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "contextd.v1.AgentService",
	HandlerType: (*AgentServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "List",
			Handler:    _AgentService_List_Handler,
		},
		{
			MethodName: "Get",
			Handler:    _AgentService_Get_Handler,
		},
		{
			MethodName: "Create",
			Handler:    _AgentService_Create_Handler,
		},
		{
			MethodName: "Update",
			Handler:    _AgentService_Update_Handler,
		},
		{
			MethodName: "Delete",
			Handler:    _AgentService_Delete_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "contextd/v1/contextd.proto",
}

AgentService_ServiceDesc is the grpc.ServiceDesc for AgentService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var CheckpointService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "contextd.v1.CheckpointService",
	HandlerType: (*CheckpointServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Save",
			Handler:    _CheckpointService_Save_Handler,
		},
		{
			MethodName: "List",
			Handler:    _CheckpointService_List_Handler,
		},
		{
			MethodName: "Resume",
			Handler:    _CheckpointService_Resume_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "contextd/v1/contextd.proto",
}

CheckpointService_ServiceDesc is the grpc.ServiceDesc for CheckpointService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var File_contextd_v1_contextd_proto protoreflect.FileDescriptor
View Source
var MemoryService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "contextd.v1.MemoryService",
	HandlerType: (*MemoryServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Search",
			Handler:    _MemoryService_Search_Handler,
		},
		{
			MethodName: "Store",
			Handler:    _MemoryService_Store_Handler,
		},
		{
			MethodName: "Feedback",
			Handler:    _MemoryService_Feedback_Handler,
		},
		{
			MethodName: "Get",
			Handler:    _MemoryService_Get_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "contextd/v1/contextd.proto",
}

MemoryService_ServiceDesc is the grpc.ServiceDesc for MemoryService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var PolicyService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "contextd.v1.PolicyService",
	HandlerType: (*PolicyServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Check",
			Handler:    _PolicyService_Check_Handler,
		},
		{
			MethodName: "List",
			Handler:    _PolicyService_List_Handler,
		},
		{
			MethodName: "Get",
			Handler:    _PolicyService_Get_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "contextd/v1/contextd.proto",
}

PolicyService_ServiceDesc is the grpc.ServiceDesc for PolicyService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var RefService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "contextd.v1.RefService",
	HandlerType: (*RefServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetContent",
			Handler:    _RefService_GetContent_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "contextd/v1/contextd.proto",
}

RefService_ServiceDesc is the grpc.ServiceDesc for RefService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var RemediationService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "contextd.v1.RemediationService",
	HandlerType: (*RemediationServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Search",
			Handler:    _RemediationService_Search_Handler,
		},
		{
			MethodName: "Record",
			Handler:    _RemediationService_Record_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "contextd/v1/contextd.proto",
}

RemediationService_ServiceDesc is the grpc.ServiceDesc for RemediationService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var SafeExecService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "contextd.v1.SafeExecService",
	HandlerType: (*SafeExecServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Bash",
			Handler:    _SafeExecService_Bash_Handler,
		},
		{
			MethodName: "Read",
			Handler:    _SafeExecService_Read_Handler,
		},
		{
			MethodName: "Write",
			Handler:    _SafeExecService_Write_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "contextd/v1/contextd.proto",
}

SafeExecService_ServiceDesc is the grpc.ServiceDesc for SafeExecService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var SessionService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "contextd.v1.SessionService",
	HandlerType: (*SessionServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Start",
			Handler:    _SessionService_Start_Handler,
		},
		{
			MethodName: "End",
			Handler:    _SessionService_End_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "contextd/v1/contextd.proto",
}

SessionService_ServiceDesc is the grpc.ServiceDesc for SessionService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var SkillService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "contextd.v1.SkillService",
	HandlerType: (*SkillServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "List",
			Handler:    _SkillService_List_Handler,
		},
		{
			MethodName: "Get",
			Handler:    _SkillService_Get_Handler,
		},
		{
			MethodName: "Create",
			Handler:    _SkillService_Create_Handler,
		},
		{
			MethodName: "Update",
			Handler:    _SkillService_Update_Handler,
		},
		{
			MethodName: "Delete",
			Handler:    _SkillService_Delete_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "contextd/v1/contextd.proto",
}

SkillService_ServiceDesc is the grpc.ServiceDesc for SkillService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

Functions

func RegisterAgentServiceServer

func RegisterAgentServiceServer(s grpc.ServiceRegistrar, srv AgentServiceServer)

func RegisterCheckpointServiceServer

func RegisterCheckpointServiceServer(s grpc.ServiceRegistrar, srv CheckpointServiceServer)

func RegisterMemoryServiceServer

func RegisterMemoryServiceServer(s grpc.ServiceRegistrar, srv MemoryServiceServer)

func RegisterPolicyServiceServer

func RegisterPolicyServiceServer(s grpc.ServiceRegistrar, srv PolicyServiceServer)

func RegisterRefServiceServer

func RegisterRefServiceServer(s grpc.ServiceRegistrar, srv RefServiceServer)

func RegisterRemediationServiceServer

func RegisterRemediationServiceServer(s grpc.ServiceRegistrar, srv RemediationServiceServer)

func RegisterSafeExecServiceServer

func RegisterSafeExecServiceServer(s grpc.ServiceRegistrar, srv SafeExecServiceServer)

func RegisterSessionServiceServer

func RegisterSessionServiceServer(s grpc.ServiceRegistrar, srv SessionServiceServer)

func RegisterSkillServiceServer

func RegisterSkillServiceServer(s grpc.ServiceRegistrar, srv SkillServiceServer)

Types

type AgentCreateRequest

type AgentCreateRequest struct {
	Name              string   `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Description       string   `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	SystemPrompt      string   `protobuf:"bytes,3,opt,name=system_prompt,json=systemPrompt,proto3" json:"system_prompt,omitempty"`
	Skills            []string `protobuf:"bytes,4,rep,name=skills,proto3" json:"skills,omitempty"`
	CollectionsAccess []string `protobuf:"bytes,5,rep,name=collections_access,json=collectionsAccess,proto3" json:"collections_access,omitempty"`
	ModelPreference   string   `protobuf:"bytes,6,opt,name=model_preference,json=modelPreference,proto3" json:"model_preference,omitempty"`
	Temperature       float32  `protobuf:"fixed32,7,opt,name=temperature,proto3" json:"temperature,omitempty"`
	Scope             string   `protobuf:"bytes,8,opt,name=scope,proto3" json:"scope,omitempty"`
	SessionId         string   `protobuf:"bytes,9,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"`
	// contains filtered or unexported fields
}

func (*AgentCreateRequest) Descriptor deprecated

func (*AgentCreateRequest) Descriptor() ([]byte, []int)

Deprecated: Use AgentCreateRequest.ProtoReflect.Descriptor instead.

func (*AgentCreateRequest) GetCollectionsAccess

func (x *AgentCreateRequest) GetCollectionsAccess() []string

func (*AgentCreateRequest) GetDescription

func (x *AgentCreateRequest) GetDescription() string

func (*AgentCreateRequest) GetModelPreference

func (x *AgentCreateRequest) GetModelPreference() string

func (*AgentCreateRequest) GetName

func (x *AgentCreateRequest) GetName() string

func (*AgentCreateRequest) GetScope

func (x *AgentCreateRequest) GetScope() string

func (*AgentCreateRequest) GetSessionId

func (x *AgentCreateRequest) GetSessionId() string

func (*AgentCreateRequest) GetSkills

func (x *AgentCreateRequest) GetSkills() []string

func (*AgentCreateRequest) GetSystemPrompt

func (x *AgentCreateRequest) GetSystemPrompt() string

func (*AgentCreateRequest) GetTemperature

func (x *AgentCreateRequest) GetTemperature() float32

func (*AgentCreateRequest) ProtoMessage

func (*AgentCreateRequest) ProtoMessage()

func (*AgentCreateRequest) ProtoReflect

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

func (*AgentCreateRequest) Reset

func (x *AgentCreateRequest) Reset()

func (*AgentCreateRequest) String

func (x *AgentCreateRequest) String() string

type AgentCreateResponse

type AgentCreateResponse struct {
	Id         string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	TokensUsed int32  `protobuf:"varint,2,opt,name=tokens_used,json=tokensUsed,proto3" json:"tokens_used,omitempty"`
	// contains filtered or unexported fields
}

func (*AgentCreateResponse) Descriptor deprecated

func (*AgentCreateResponse) Descriptor() ([]byte, []int)

Deprecated: Use AgentCreateResponse.ProtoReflect.Descriptor instead.

func (*AgentCreateResponse) GetId

func (x *AgentCreateResponse) GetId() string

func (*AgentCreateResponse) GetTokensUsed

func (x *AgentCreateResponse) GetTokensUsed() int32

func (*AgentCreateResponse) ProtoMessage

func (*AgentCreateResponse) ProtoMessage()

func (*AgentCreateResponse) ProtoReflect

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

func (*AgentCreateResponse) Reset

func (x *AgentCreateResponse) Reset()

func (*AgentCreateResponse) String

func (x *AgentCreateResponse) String() string

type AgentDeleteRequest

type AgentDeleteRequest struct {
	Id        string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	SessionId string `protobuf:"bytes,2,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"`
	// contains filtered or unexported fields
}

func (*AgentDeleteRequest) Descriptor deprecated

func (*AgentDeleteRequest) Descriptor() ([]byte, []int)

Deprecated: Use AgentDeleteRequest.ProtoReflect.Descriptor instead.

func (*AgentDeleteRequest) GetId

func (x *AgentDeleteRequest) GetId() string

func (*AgentDeleteRequest) GetSessionId

func (x *AgentDeleteRequest) GetSessionId() string

func (*AgentDeleteRequest) ProtoMessage

func (*AgentDeleteRequest) ProtoMessage()

func (*AgentDeleteRequest) ProtoReflect

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

func (*AgentDeleteRequest) Reset

func (x *AgentDeleteRequest) Reset()

func (*AgentDeleteRequest) String

func (x *AgentDeleteRequest) String() string

type AgentDeleteResponse

type AgentDeleteResponse struct {
	TokensUsed int32 `protobuf:"varint,1,opt,name=tokens_used,json=tokensUsed,proto3" json:"tokens_used,omitempty"`
	// contains filtered or unexported fields
}

func (*AgentDeleteResponse) Descriptor deprecated

func (*AgentDeleteResponse) Descriptor() ([]byte, []int)

Deprecated: Use AgentDeleteResponse.ProtoReflect.Descriptor instead.

func (*AgentDeleteResponse) GetTokensUsed

func (x *AgentDeleteResponse) GetTokensUsed() int32

func (*AgentDeleteResponse) ProtoMessage

func (*AgentDeleteResponse) ProtoMessage()

func (*AgentDeleteResponse) ProtoReflect

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

func (*AgentDeleteResponse) Reset

func (x *AgentDeleteResponse) Reset()

func (*AgentDeleteResponse) String

func (x *AgentDeleteResponse) String() string

type AgentGetRequest

type AgentGetRequest struct {
	Id        string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	SessionId string `protobuf:"bytes,2,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"`
	// contains filtered or unexported fields
}

func (*AgentGetRequest) Descriptor deprecated

func (*AgentGetRequest) Descriptor() ([]byte, []int)

Deprecated: Use AgentGetRequest.ProtoReflect.Descriptor instead.

func (*AgentGetRequest) GetId

func (x *AgentGetRequest) GetId() string

func (*AgentGetRequest) GetSessionId

func (x *AgentGetRequest) GetSessionId() string

func (*AgentGetRequest) ProtoMessage

func (*AgentGetRequest) ProtoMessage()

func (*AgentGetRequest) ProtoReflect

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

func (*AgentGetRequest) Reset

func (x *AgentGetRequest) Reset()

func (*AgentGetRequest) String

func (x *AgentGetRequest) String() string

type AgentGetResponse

type AgentGetResponse struct {
	Id                string   `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Name              string   `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Description       string   `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
	SystemPrompt      string   `protobuf:"bytes,4,opt,name=system_prompt,json=systemPrompt,proto3" json:"system_prompt,omitempty"`
	Skills            []string `protobuf:"bytes,5,rep,name=skills,proto3" json:"skills,omitempty"`
	CollectionsAccess []string `protobuf:"bytes,6,rep,name=collections_access,json=collectionsAccess,proto3" json:"collections_access,omitempty"`
	ModelPreference   string   `protobuf:"bytes,7,opt,name=model_preference,json=modelPreference,proto3" json:"model_preference,omitempty"`
	Temperature       float32  `protobuf:"fixed32,8,opt,name=temperature,proto3" json:"temperature,omitempty"`
	TokensUsed        int32    `protobuf:"varint,9,opt,name=tokens_used,json=tokensUsed,proto3" json:"tokens_used,omitempty"`
	// contains filtered or unexported fields
}

func (*AgentGetResponse) Descriptor deprecated

func (*AgentGetResponse) Descriptor() ([]byte, []int)

Deprecated: Use AgentGetResponse.ProtoReflect.Descriptor instead.

func (*AgentGetResponse) GetCollectionsAccess

func (x *AgentGetResponse) GetCollectionsAccess() []string

func (*AgentGetResponse) GetDescription

func (x *AgentGetResponse) GetDescription() string

func (*AgentGetResponse) GetId

func (x *AgentGetResponse) GetId() string

func (*AgentGetResponse) GetModelPreference

func (x *AgentGetResponse) GetModelPreference() string

func (*AgentGetResponse) GetName

func (x *AgentGetResponse) GetName() string

func (*AgentGetResponse) GetSkills

func (x *AgentGetResponse) GetSkills() []string

func (*AgentGetResponse) GetSystemPrompt

func (x *AgentGetResponse) GetSystemPrompt() string

func (*AgentGetResponse) GetTemperature

func (x *AgentGetResponse) GetTemperature() float32

func (*AgentGetResponse) GetTokensUsed

func (x *AgentGetResponse) GetTokensUsed() int32

func (*AgentGetResponse) ProtoMessage

func (*AgentGetResponse) ProtoMessage()

func (*AgentGetResponse) ProtoReflect

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

func (*AgentGetResponse) Reset

func (x *AgentGetResponse) Reset()

func (*AgentGetResponse) String

func (x *AgentGetResponse) String() string

type AgentListRequest

type AgentListRequest struct {
	Scope     string `protobuf:"bytes,1,opt,name=scope,proto3" json:"scope,omitempty"`
	SessionId string `protobuf:"bytes,2,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"`
	// contains filtered or unexported fields
}

func (*AgentListRequest) Descriptor deprecated

func (*AgentListRequest) Descriptor() ([]byte, []int)

Deprecated: Use AgentListRequest.ProtoReflect.Descriptor instead.

func (*AgentListRequest) GetScope

func (x *AgentListRequest) GetScope() string

func (*AgentListRequest) GetSessionId

func (x *AgentListRequest) GetSessionId() string

func (*AgentListRequest) ProtoMessage

func (*AgentListRequest) ProtoMessage()

func (*AgentListRequest) ProtoReflect

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

func (*AgentListRequest) Reset

func (x *AgentListRequest) Reset()

func (*AgentListRequest) String

func (x *AgentListRequest) String() string

type AgentListResponse

type AgentListResponse struct {
	Agents     []*AgentRef `protobuf:"bytes,1,rep,name=agents,proto3" json:"agents,omitempty"`
	TokensUsed int32       `protobuf:"varint,2,opt,name=tokens_used,json=tokensUsed,proto3" json:"tokens_used,omitempty"`
	// contains filtered or unexported fields
}

func (*AgentListResponse) Descriptor deprecated

func (*AgentListResponse) Descriptor() ([]byte, []int)

Deprecated: Use AgentListResponse.ProtoReflect.Descriptor instead.

func (*AgentListResponse) GetAgents

func (x *AgentListResponse) GetAgents() []*AgentRef

func (*AgentListResponse) GetTokensUsed

func (x *AgentListResponse) GetTokensUsed() int32

func (*AgentListResponse) ProtoMessage

func (*AgentListResponse) ProtoMessage()

func (*AgentListResponse) ProtoReflect

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

func (*AgentListResponse) Reset

func (x *AgentListResponse) Reset()

func (*AgentListResponse) String

func (x *AgentListResponse) String() string

type AgentRef

type AgentRef struct {
	Id                 string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Name               string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	DescriptionPreview string `protobuf:"bytes,3,opt,name=description_preview,json=descriptionPreview,proto3" json:"description_preview,omitempty"`
	// contains filtered or unexported fields
}

func (*AgentRef) Descriptor deprecated

func (*AgentRef) Descriptor() ([]byte, []int)

Deprecated: Use AgentRef.ProtoReflect.Descriptor instead.

func (*AgentRef) GetDescriptionPreview

func (x *AgentRef) GetDescriptionPreview() string

func (*AgentRef) GetId

func (x *AgentRef) GetId() string

func (*AgentRef) GetName

func (x *AgentRef) GetName() string

func (*AgentRef) ProtoMessage

func (*AgentRef) ProtoMessage()

func (*AgentRef) ProtoReflect

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

func (*AgentRef) Reset

func (x *AgentRef) Reset()

func (*AgentRef) String

func (x *AgentRef) String() string

type AgentServiceClient

AgentServiceClient is the client API for AgentService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

type AgentServiceServer

AgentServiceServer is the server API for AgentService service. All implementations must embed UnimplementedAgentServiceServer for forward compatibility.

type AgentUpdateRequest

type AgentUpdateRequest struct {
	Id                string   `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Name              string   `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Description       string   `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
	SystemPrompt      string   `protobuf:"bytes,4,opt,name=system_prompt,json=systemPrompt,proto3" json:"system_prompt,omitempty"`
	Skills            []string `protobuf:"bytes,5,rep,name=skills,proto3" json:"skills,omitempty"`
	CollectionsAccess []string `protobuf:"bytes,6,rep,name=collections_access,json=collectionsAccess,proto3" json:"collections_access,omitempty"`
	ModelPreference   string   `protobuf:"bytes,7,opt,name=model_preference,json=modelPreference,proto3" json:"model_preference,omitempty"`
	Temperature       float32  `protobuf:"fixed32,8,opt,name=temperature,proto3" json:"temperature,omitempty"`
	SessionId         string   `protobuf:"bytes,9,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"`
	// contains filtered or unexported fields
}

func (*AgentUpdateRequest) Descriptor deprecated

func (*AgentUpdateRequest) Descriptor() ([]byte, []int)

Deprecated: Use AgentUpdateRequest.ProtoReflect.Descriptor instead.

func (*AgentUpdateRequest) GetCollectionsAccess

func (x *AgentUpdateRequest) GetCollectionsAccess() []string

func (*AgentUpdateRequest) GetDescription

func (x *AgentUpdateRequest) GetDescription() string

func (*AgentUpdateRequest) GetId

func (x *AgentUpdateRequest) GetId() string

func (*AgentUpdateRequest) GetModelPreference

func (x *AgentUpdateRequest) GetModelPreference() string

func (*AgentUpdateRequest) GetName

func (x *AgentUpdateRequest) GetName() string

func (*AgentUpdateRequest) GetSessionId

func (x *AgentUpdateRequest) GetSessionId() string

func (*AgentUpdateRequest) GetSkills

func (x *AgentUpdateRequest) GetSkills() []string

func (*AgentUpdateRequest) GetSystemPrompt

func (x *AgentUpdateRequest) GetSystemPrompt() string

func (*AgentUpdateRequest) GetTemperature

func (x *AgentUpdateRequest) GetTemperature() float32

func (*AgentUpdateRequest) ProtoMessage

func (*AgentUpdateRequest) ProtoMessage()

func (*AgentUpdateRequest) ProtoReflect

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

func (*AgentUpdateRequest) Reset

func (x *AgentUpdateRequest) Reset()

func (*AgentUpdateRequest) String

func (x *AgentUpdateRequest) String() string

type AgentUpdateResponse

type AgentUpdateResponse struct {
	TokensUsed int32 `protobuf:"varint,1,opt,name=tokens_used,json=tokensUsed,proto3" json:"tokens_used,omitempty"`
	// contains filtered or unexported fields
}

func (*AgentUpdateResponse) Descriptor deprecated

func (*AgentUpdateResponse) Descriptor() ([]byte, []int)

Deprecated: Use AgentUpdateResponse.ProtoReflect.Descriptor instead.

func (*AgentUpdateResponse) GetTokensUsed

func (x *AgentUpdateResponse) GetTokensUsed() int32

func (*AgentUpdateResponse) ProtoMessage

func (*AgentUpdateResponse) ProtoMessage()

func (*AgentUpdateResponse) ProtoReflect

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

func (*AgentUpdateResponse) Reset

func (x *AgentUpdateResponse) Reset()

func (*AgentUpdateResponse) String

func (x *AgentUpdateResponse) String() string

type BashRequest

type BashRequest struct {
	Cmd        string `protobuf:"bytes,1,opt,name=cmd,proto3" json:"cmd,omitempty"`
	Timeout    int32  `protobuf:"varint,2,opt,name=timeout,proto3" json:"timeout,omitempty"` // seconds, default 30
	SessionId  string `protobuf:"bytes,3,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"`
	WorkingDir string `protobuf:"bytes,4,opt,name=working_dir,json=workingDir,proto3" json:"working_dir,omitempty"` // optional
	// contains filtered or unexported fields
}

func (*BashRequest) Descriptor deprecated

func (*BashRequest) Descriptor() ([]byte, []int)

Deprecated: Use BashRequest.ProtoReflect.Descriptor instead.

func (*BashRequest) GetCmd

func (x *BashRequest) GetCmd() string

func (*BashRequest) GetSessionId

func (x *BashRequest) GetSessionId() string

func (*BashRequest) GetTimeout

func (x *BashRequest) GetTimeout() int32

func (*BashRequest) GetWorkingDir

func (x *BashRequest) GetWorkingDir() string

func (*BashRequest) ProtoMessage

func (*BashRequest) ProtoMessage()

func (*BashRequest) ProtoReflect

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

func (*BashRequest) Reset

func (x *BashRequest) Reset()

func (*BashRequest) String

func (x *BashRequest) String() string

type BashResponse

type BashResponse struct {
	Summary       string `protobuf:"bytes,1,opt,name=summary,proto3" json:"summary,omitempty"`                                  // "Executed: ls -la (exit 0, 25 lines)"
	StdoutPreview string `protobuf:"bytes,2,opt,name=stdout_preview,json=stdoutPreview,proto3" json:"stdout_preview,omitempty"` // first 500 chars
	StderrPreview string `protobuf:"bytes,3,opt,name=stderr_preview,json=stderrPreview,proto3" json:"stderr_preview,omitempty"`
	StdoutRef     string `protobuf:"bytes,4,opt,name=stdout_ref,json=stdoutRef,proto3" json:"stdout_ref,omitempty"` // ref for full stdout
	StderrRef     string `protobuf:"bytes,5,opt,name=stderr_ref,json=stderrRef,proto3" json:"stderr_ref,omitempty"` // ref for full stderr
	ExitCode      int32  `protobuf:"varint,6,opt,name=exit_code,json=exitCode,proto3" json:"exit_code,omitempty"`
	TokensUsed    int32  `protobuf:"varint,7,opt,name=tokens_used,json=tokensUsed,proto3" json:"tokens_used,omitempty"`
	// contains filtered or unexported fields
}

func (*BashResponse) Descriptor deprecated

func (*BashResponse) Descriptor() ([]byte, []int)

Deprecated: Use BashResponse.ProtoReflect.Descriptor instead.

func (*BashResponse) GetExitCode

func (x *BashResponse) GetExitCode() int32

func (*BashResponse) GetStderrPreview

func (x *BashResponse) GetStderrPreview() string

func (*BashResponse) GetStderrRef

func (x *BashResponse) GetStderrRef() string

func (*BashResponse) GetStdoutPreview

func (x *BashResponse) GetStdoutPreview() string

func (*BashResponse) GetStdoutRef

func (x *BashResponse) GetStdoutRef() string

func (*BashResponse) GetSummary

func (x *BashResponse) GetSummary() string

func (*BashResponse) GetTokensUsed

func (x *BashResponse) GetTokensUsed() int32

func (*BashResponse) ProtoMessage

func (*BashResponse) ProtoMessage()

func (*BashResponse) ProtoReflect

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

func (*BashResponse) Reset

func (x *BashResponse) Reset()

func (*BashResponse) String

func (x *BashResponse) String() string

type CheckpointListRequest

type CheckpointListRequest struct {
	Limit     int32  `protobuf:"varint,1,opt,name=limit,proto3" json:"limit,omitempty"`
	SessionId string `protobuf:"bytes,2,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"`
	// contains filtered or unexported fields
}

func (*CheckpointListRequest) Descriptor deprecated

func (*CheckpointListRequest) Descriptor() ([]byte, []int)

Deprecated: Use CheckpointListRequest.ProtoReflect.Descriptor instead.

func (*CheckpointListRequest) GetLimit

func (x *CheckpointListRequest) GetLimit() int32

func (*CheckpointListRequest) GetSessionId

func (x *CheckpointListRequest) GetSessionId() string

func (*CheckpointListRequest) ProtoMessage

func (*CheckpointListRequest) ProtoMessage()

func (*CheckpointListRequest) ProtoReflect

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

func (*CheckpointListRequest) Reset

func (x *CheckpointListRequest) Reset()

func (*CheckpointListRequest) String

func (x *CheckpointListRequest) String() string

type CheckpointListResponse

type CheckpointListResponse struct {
	Checkpoints []*CheckpointRef `protobuf:"bytes,1,rep,name=checkpoints,proto3" json:"checkpoints,omitempty"`
	TokensUsed  int32            `protobuf:"varint,2,opt,name=tokens_used,json=tokensUsed,proto3" json:"tokens_used,omitempty"`
	// contains filtered or unexported fields
}

func (*CheckpointListResponse) Descriptor deprecated

func (*CheckpointListResponse) Descriptor() ([]byte, []int)

Deprecated: Use CheckpointListResponse.ProtoReflect.Descriptor instead.

func (*CheckpointListResponse) GetCheckpoints

func (x *CheckpointListResponse) GetCheckpoints() []*CheckpointRef

func (*CheckpointListResponse) GetTokensUsed

func (x *CheckpointListResponse) GetTokensUsed() int32

func (*CheckpointListResponse) ProtoMessage

func (*CheckpointListResponse) ProtoMessage()

func (*CheckpointListResponse) ProtoReflect

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

func (*CheckpointListResponse) Reset

func (x *CheckpointListResponse) Reset()

func (*CheckpointListResponse) String

func (x *CheckpointListResponse) String() string

type CheckpointRef

type CheckpointRef struct {
	Id        string   `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Summary   string   `protobuf:"bytes,2,opt,name=summary,proto3" json:"summary,omitempty"`
	CreatedAt string   `protobuf:"bytes,3,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	Tags      []string `protobuf:"bytes,4,rep,name=tags,proto3" json:"tags,omitempty"`
	// contains filtered or unexported fields
}

func (*CheckpointRef) Descriptor deprecated

func (*CheckpointRef) Descriptor() ([]byte, []int)

Deprecated: Use CheckpointRef.ProtoReflect.Descriptor instead.

func (*CheckpointRef) GetCreatedAt

func (x *CheckpointRef) GetCreatedAt() string

func (*CheckpointRef) GetId

func (x *CheckpointRef) GetId() string

func (*CheckpointRef) GetSummary

func (x *CheckpointRef) GetSummary() string

func (*CheckpointRef) GetTags

func (x *CheckpointRef) GetTags() []string

func (*CheckpointRef) ProtoMessage

func (*CheckpointRef) ProtoMessage()

func (*CheckpointRef) ProtoReflect

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

func (*CheckpointRef) Reset

func (x *CheckpointRef) Reset()

func (*CheckpointRef) String

func (x *CheckpointRef) String() string

type CheckpointResumeRequest

type CheckpointResumeRequest struct {
	CheckpointId string `protobuf:"bytes,1,opt,name=checkpoint_id,json=checkpointId,proto3" json:"checkpoint_id,omitempty"`
	Level        string `protobuf:"bytes,2,opt,name=level,proto3" json:"level,omitempty"` // "summary" | "context" | "full"
	SessionId    string `protobuf:"bytes,3,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"`
	// contains filtered or unexported fields
}

func (*CheckpointResumeRequest) Descriptor deprecated

func (*CheckpointResumeRequest) Descriptor() ([]byte, []int)

Deprecated: Use CheckpointResumeRequest.ProtoReflect.Descriptor instead.

func (*CheckpointResumeRequest) GetCheckpointId

func (x *CheckpointResumeRequest) GetCheckpointId() string

func (*CheckpointResumeRequest) GetLevel

func (x *CheckpointResumeRequest) GetLevel() string

func (*CheckpointResumeRequest) GetSessionId

func (x *CheckpointResumeRequest) GetSessionId() string

func (*CheckpointResumeRequest) ProtoMessage

func (*CheckpointResumeRequest) ProtoMessage()

func (*CheckpointResumeRequest) ProtoReflect

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

func (*CheckpointResumeRequest) Reset

func (x *CheckpointResumeRequest) Reset()

func (*CheckpointResumeRequest) String

func (x *CheckpointResumeRequest) String() string

type CheckpointResumeResponse

type CheckpointResumeResponse struct {
	Summary    string `protobuf:"bytes,1,opt,name=summary,proto3" json:"summary,omitempty"`
	Context    string `protobuf:"bytes,2,opt,name=context,proto3" json:"context,omitempty"`                         // optimized context (if level >= context)
	ContextRef string `protobuf:"bytes,3,opt,name=context_ref,json=contextRef,proto3" json:"context_ref,omitempty"` // ref for full context (if level == full)
	TokensUsed int32  `protobuf:"varint,4,opt,name=tokens_used,json=tokensUsed,proto3" json:"tokens_used,omitempty"`
	// contains filtered or unexported fields
}

func (*CheckpointResumeResponse) Descriptor deprecated

func (*CheckpointResumeResponse) Descriptor() ([]byte, []int)

Deprecated: Use CheckpointResumeResponse.ProtoReflect.Descriptor instead.

func (*CheckpointResumeResponse) GetContext

func (x *CheckpointResumeResponse) GetContext() string

func (*CheckpointResumeResponse) GetContextRef

func (x *CheckpointResumeResponse) GetContextRef() string

func (*CheckpointResumeResponse) GetSummary

func (x *CheckpointResumeResponse) GetSummary() string

func (*CheckpointResumeResponse) GetTokensUsed

func (x *CheckpointResumeResponse) GetTokensUsed() int32

func (*CheckpointResumeResponse) ProtoMessage

func (*CheckpointResumeResponse) ProtoMessage()

func (*CheckpointResumeResponse) ProtoReflect

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

func (*CheckpointResumeResponse) Reset

func (x *CheckpointResumeResponse) Reset()

func (*CheckpointResumeResponse) String

func (x *CheckpointResumeResponse) String() string

type CheckpointSaveRequest

type CheckpointSaveRequest struct {
	Summary   string   `protobuf:"bytes,1,opt,name=summary,proto3" json:"summary,omitempty"`
	Tags      []string `protobuf:"bytes,2,rep,name=tags,proto3" json:"tags,omitempty"`
	SessionId string   `protobuf:"bytes,3,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"`
	// contains filtered or unexported fields
}

func (*CheckpointSaveRequest) Descriptor deprecated

func (*CheckpointSaveRequest) Descriptor() ([]byte, []int)

Deprecated: Use CheckpointSaveRequest.ProtoReflect.Descriptor instead.

func (*CheckpointSaveRequest) GetSessionId

func (x *CheckpointSaveRequest) GetSessionId() string

func (*CheckpointSaveRequest) GetSummary

func (x *CheckpointSaveRequest) GetSummary() string

func (*CheckpointSaveRequest) GetTags

func (x *CheckpointSaveRequest) GetTags() []string

func (*CheckpointSaveRequest) ProtoMessage

func (*CheckpointSaveRequest) ProtoMessage()

func (*CheckpointSaveRequest) ProtoReflect

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

func (*CheckpointSaveRequest) Reset

func (x *CheckpointSaveRequest) Reset()

func (*CheckpointSaveRequest) String

func (x *CheckpointSaveRequest) String() string

type CheckpointSaveResponse

type CheckpointSaveResponse struct {
	CheckpointId string `protobuf:"bytes,1,opt,name=checkpoint_id,json=checkpointId,proto3" json:"checkpoint_id,omitempty"`
	TokensUsed   int32  `protobuf:"varint,2,opt,name=tokens_used,json=tokensUsed,proto3" json:"tokens_used,omitempty"`
	// contains filtered or unexported fields
}

func (*CheckpointSaveResponse) Descriptor deprecated

func (*CheckpointSaveResponse) Descriptor() ([]byte, []int)

Deprecated: Use CheckpointSaveResponse.ProtoReflect.Descriptor instead.

func (*CheckpointSaveResponse) GetCheckpointId

func (x *CheckpointSaveResponse) GetCheckpointId() string

func (*CheckpointSaveResponse) GetTokensUsed

func (x *CheckpointSaveResponse) GetTokensUsed() int32

func (*CheckpointSaveResponse) ProtoMessage

func (*CheckpointSaveResponse) ProtoMessage()

func (*CheckpointSaveResponse) ProtoReflect

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

func (*CheckpointSaveResponse) Reset

func (x *CheckpointSaveResponse) Reset()

func (*CheckpointSaveResponse) String

func (x *CheckpointSaveResponse) String() string

type CheckpointServiceClient

CheckpointServiceClient is the client API for CheckpointService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

type CheckpointServiceServer

type CheckpointServiceServer interface {
	Save(context.Context, *CheckpointSaveRequest) (*CheckpointSaveResponse, error)
	List(context.Context, *CheckpointListRequest) (*CheckpointListResponse, error)
	Resume(context.Context, *CheckpointResumeRequest) (*CheckpointResumeResponse, error)
	// contains filtered or unexported methods
}

CheckpointServiceServer is the server API for CheckpointService service. All implementations must embed UnimplementedCheckpointServiceServer for forward compatibility.

type MemoryFeedbackRequest

type MemoryFeedbackRequest struct {
	MemoryId  string `protobuf:"bytes,1,opt,name=memory_id,json=memoryId,proto3" json:"memory_id,omitempty"`
	Helpful   bool   `protobuf:"varint,2,opt,name=helpful,proto3" json:"helpful,omitempty"`
	Comment   string `protobuf:"bytes,3,opt,name=comment,proto3" json:"comment,omitempty"`
	SessionId string `protobuf:"bytes,4,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"`
	// contains filtered or unexported fields
}

func (*MemoryFeedbackRequest) Descriptor deprecated

func (*MemoryFeedbackRequest) Descriptor() ([]byte, []int)

Deprecated: Use MemoryFeedbackRequest.ProtoReflect.Descriptor instead.

func (*MemoryFeedbackRequest) GetComment

func (x *MemoryFeedbackRequest) GetComment() string

func (*MemoryFeedbackRequest) GetHelpful

func (x *MemoryFeedbackRequest) GetHelpful() bool

func (*MemoryFeedbackRequest) GetMemoryId

func (x *MemoryFeedbackRequest) GetMemoryId() string

func (*MemoryFeedbackRequest) GetSessionId

func (x *MemoryFeedbackRequest) GetSessionId() string

func (*MemoryFeedbackRequest) ProtoMessage

func (*MemoryFeedbackRequest) ProtoMessage()

func (*MemoryFeedbackRequest) ProtoReflect

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

func (*MemoryFeedbackRequest) Reset

func (x *MemoryFeedbackRequest) Reset()

func (*MemoryFeedbackRequest) String

func (x *MemoryFeedbackRequest) String() string

type MemoryFeedbackResponse

type MemoryFeedbackResponse struct {
	NewConfidence float32 `protobuf:"fixed32,1,opt,name=new_confidence,json=newConfidence,proto3" json:"new_confidence,omitempty"`
	TokensUsed    int32   `protobuf:"varint,2,opt,name=tokens_used,json=tokensUsed,proto3" json:"tokens_used,omitempty"`
	// contains filtered or unexported fields
}

func (*MemoryFeedbackResponse) Descriptor deprecated

func (*MemoryFeedbackResponse) Descriptor() ([]byte, []int)

Deprecated: Use MemoryFeedbackResponse.ProtoReflect.Descriptor instead.

func (*MemoryFeedbackResponse) GetNewConfidence

func (x *MemoryFeedbackResponse) GetNewConfidence() float32

func (*MemoryFeedbackResponse) GetTokensUsed

func (x *MemoryFeedbackResponse) GetTokensUsed() int32

func (*MemoryFeedbackResponse) ProtoMessage

func (*MemoryFeedbackResponse) ProtoMessage()

func (*MemoryFeedbackResponse) ProtoReflect

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

func (*MemoryFeedbackResponse) Reset

func (x *MemoryFeedbackResponse) Reset()

func (*MemoryFeedbackResponse) String

func (x *MemoryFeedbackResponse) String() string

type MemoryGetRequest

type MemoryGetRequest struct {
	Id        string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	SessionId string `protobuf:"bytes,2,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"`
	// contains filtered or unexported fields
}

func (*MemoryGetRequest) Descriptor deprecated

func (*MemoryGetRequest) Descriptor() ([]byte, []int)

Deprecated: Use MemoryGetRequest.ProtoReflect.Descriptor instead.

func (*MemoryGetRequest) GetId

func (x *MemoryGetRequest) GetId() string

func (*MemoryGetRequest) GetSessionId

func (x *MemoryGetRequest) GetSessionId() string

func (*MemoryGetRequest) ProtoMessage

func (*MemoryGetRequest) ProtoMessage()

func (*MemoryGetRequest) ProtoReflect

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

func (*MemoryGetRequest) Reset

func (x *MemoryGetRequest) Reset()

func (*MemoryGetRequest) String

func (x *MemoryGetRequest) String() string

type MemoryGetResponse

type MemoryGetResponse struct {
	Id          string   `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Title       string   `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"`
	Description string   `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
	Content     string   `protobuf:"bytes,4,opt,name=content,proto3" json:"content,omitempty"`
	Outcome     string   `protobuf:"bytes,5,opt,name=outcome,proto3" json:"outcome,omitempty"`
	Confidence  float32  `protobuf:"fixed32,6,opt,name=confidence,proto3" json:"confidence,omitempty"`
	Tags        []string `protobuf:"bytes,7,rep,name=tags,proto3" json:"tags,omitempty"`
	TokensUsed  int32    `protobuf:"varint,8,opt,name=tokens_used,json=tokensUsed,proto3" json:"tokens_used,omitempty"`
	// contains filtered or unexported fields
}

func (*MemoryGetResponse) Descriptor deprecated

func (*MemoryGetResponse) Descriptor() ([]byte, []int)

Deprecated: Use MemoryGetResponse.ProtoReflect.Descriptor instead.

func (*MemoryGetResponse) GetConfidence

func (x *MemoryGetResponse) GetConfidence() float32

func (*MemoryGetResponse) GetContent

func (x *MemoryGetResponse) GetContent() string

func (*MemoryGetResponse) GetDescription

func (x *MemoryGetResponse) GetDescription() string

func (*MemoryGetResponse) GetId

func (x *MemoryGetResponse) GetId() string

func (*MemoryGetResponse) GetOutcome

func (x *MemoryGetResponse) GetOutcome() string

func (*MemoryGetResponse) GetTags

func (x *MemoryGetResponse) GetTags() []string

func (*MemoryGetResponse) GetTitle

func (x *MemoryGetResponse) GetTitle() string

func (*MemoryGetResponse) GetTokensUsed

func (x *MemoryGetResponse) GetTokensUsed() int32

func (*MemoryGetResponse) ProtoMessage

func (*MemoryGetResponse) ProtoMessage()

func (*MemoryGetResponse) ProtoReflect

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

func (*MemoryGetResponse) Reset

func (x *MemoryGetResponse) Reset()

func (*MemoryGetResponse) String

func (x *MemoryGetResponse) String() string

type MemoryRef

type MemoryRef struct {
	Id                 string  `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Title              string  `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"`
	DescriptionPreview string  `protobuf:"bytes,3,opt,name=description_preview,json=descriptionPreview,proto3" json:"description_preview,omitempty"` // first 100 chars
	Confidence         float32 `protobuf:"fixed32,4,opt,name=confidence,proto3" json:"confidence,omitempty"`
	Outcome            string  `protobuf:"bytes,5,opt,name=outcome,proto3" json:"outcome,omitempty"`
	// contains filtered or unexported fields
}

func (*MemoryRef) Descriptor deprecated

func (*MemoryRef) Descriptor() ([]byte, []int)

Deprecated: Use MemoryRef.ProtoReflect.Descriptor instead.

func (*MemoryRef) GetConfidence

func (x *MemoryRef) GetConfidence() float32

func (*MemoryRef) GetDescriptionPreview

func (x *MemoryRef) GetDescriptionPreview() string

func (*MemoryRef) GetId

func (x *MemoryRef) GetId() string

func (*MemoryRef) GetOutcome

func (x *MemoryRef) GetOutcome() string

func (*MemoryRef) GetTitle

func (x *MemoryRef) GetTitle() string

func (*MemoryRef) ProtoMessage

func (*MemoryRef) ProtoMessage()

func (*MemoryRef) ProtoReflect

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

func (*MemoryRef) Reset

func (x *MemoryRef) Reset()

func (*MemoryRef) String

func (x *MemoryRef) String() string

type MemorySearchRequest

type MemorySearchRequest struct {
	Query         string  `protobuf:"bytes,1,opt,name=query,proto3" json:"query,omitempty"`
	Scope         string  `protobuf:"bytes,2,opt,name=scope,proto3" json:"scope,omitempty"`     // "project" | "team" | "org" | "all"
	Outcome       string  `protobuf:"bytes,3,opt,name=outcome,proto3" json:"outcome,omitempty"` // "success" | "failure" | "all"
	Limit         int32   `protobuf:"varint,4,opt,name=limit,proto3" json:"limit,omitempty"`
	MinConfidence float32 `protobuf:"fixed32,5,opt,name=min_confidence,json=minConfidence,proto3" json:"min_confidence,omitempty"`
	SessionId     string  `protobuf:"bytes,6,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"`
	// contains filtered or unexported fields
}

func (*MemorySearchRequest) Descriptor deprecated

func (*MemorySearchRequest) Descriptor() ([]byte, []int)

Deprecated: Use MemorySearchRequest.ProtoReflect.Descriptor instead.

func (*MemorySearchRequest) GetLimit

func (x *MemorySearchRequest) GetLimit() int32

func (*MemorySearchRequest) GetMinConfidence

func (x *MemorySearchRequest) GetMinConfidence() float32

func (*MemorySearchRequest) GetOutcome

func (x *MemorySearchRequest) GetOutcome() string

func (*MemorySearchRequest) GetQuery

func (x *MemorySearchRequest) GetQuery() string

func (*MemorySearchRequest) GetScope

func (x *MemorySearchRequest) GetScope() string

func (*MemorySearchRequest) GetSessionId

func (x *MemorySearchRequest) GetSessionId() string

func (*MemorySearchRequest) ProtoMessage

func (*MemorySearchRequest) ProtoMessage()

func (*MemorySearchRequest) ProtoReflect

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

func (*MemorySearchRequest) Reset

func (x *MemorySearchRequest) Reset()

func (*MemorySearchRequest) String

func (x *MemorySearchRequest) String() string

type MemorySearchResponse

type MemorySearchResponse struct {
	Memories   []*MemoryRef `protobuf:"bytes,1,rep,name=memories,proto3" json:"memories,omitempty"`
	TotalCount int32        `protobuf:"varint,2,opt,name=total_count,json=totalCount,proto3" json:"total_count,omitempty"`
	TokensUsed int32        `protobuf:"varint,3,opt,name=tokens_used,json=tokensUsed,proto3" json:"tokens_used,omitempty"`
	// contains filtered or unexported fields
}

func (*MemorySearchResponse) Descriptor deprecated

func (*MemorySearchResponse) Descriptor() ([]byte, []int)

Deprecated: Use MemorySearchResponse.ProtoReflect.Descriptor instead.

func (*MemorySearchResponse) GetMemories

func (x *MemorySearchResponse) GetMemories() []*MemoryRef

func (*MemorySearchResponse) GetTokensUsed

func (x *MemorySearchResponse) GetTokensUsed() int32

func (*MemorySearchResponse) GetTotalCount

func (x *MemorySearchResponse) GetTotalCount() int32

func (*MemorySearchResponse) ProtoMessage

func (*MemorySearchResponse) ProtoMessage()

func (*MemorySearchResponse) ProtoReflect

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

func (*MemorySearchResponse) Reset

func (x *MemorySearchResponse) Reset()

func (*MemorySearchResponse) String

func (x *MemorySearchResponse) String() string

type MemoryServiceClient

MemoryServiceClient is the client API for MemoryService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

type MemoryServiceServer

type MemoryServiceServer interface {
	Search(context.Context, *MemorySearchRequest) (*MemorySearchResponse, error)
	Store(context.Context, *MemoryStoreRequest) (*MemoryStoreResponse, error)
	Feedback(context.Context, *MemoryFeedbackRequest) (*MemoryFeedbackResponse, error)
	Get(context.Context, *MemoryGetRequest) (*MemoryGetResponse, error)
	// contains filtered or unexported methods
}

MemoryServiceServer is the server API for MemoryService service. All implementations must embed UnimplementedMemoryServiceServer for forward compatibility.

type MemoryStoreRequest

type MemoryStoreRequest struct {
	Title       string   `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"`
	Description string   `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	Content     string   `protobuf:"bytes,3,opt,name=content,proto3" json:"content,omitempty"`
	Outcome     string   `protobuf:"bytes,4,opt,name=outcome,proto3" json:"outcome,omitempty"` // "success" | "failure"
	Tags        []string `protobuf:"bytes,5,rep,name=tags,proto3" json:"tags,omitempty"`
	SessionId   string   `protobuf:"bytes,6,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"`
	// contains filtered or unexported fields
}

func (*MemoryStoreRequest) Descriptor deprecated

func (*MemoryStoreRequest) Descriptor() ([]byte, []int)

Deprecated: Use MemoryStoreRequest.ProtoReflect.Descriptor instead.

func (*MemoryStoreRequest) GetContent

func (x *MemoryStoreRequest) GetContent() string

func (*MemoryStoreRequest) GetDescription

func (x *MemoryStoreRequest) GetDescription() string

func (*MemoryStoreRequest) GetOutcome

func (x *MemoryStoreRequest) GetOutcome() string

func (*MemoryStoreRequest) GetSessionId

func (x *MemoryStoreRequest) GetSessionId() string

func (*MemoryStoreRequest) GetTags

func (x *MemoryStoreRequest) GetTags() []string

func (*MemoryStoreRequest) GetTitle

func (x *MemoryStoreRequest) GetTitle() string

func (*MemoryStoreRequest) ProtoMessage

func (*MemoryStoreRequest) ProtoMessage()

func (*MemoryStoreRequest) ProtoReflect

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

func (*MemoryStoreRequest) Reset

func (x *MemoryStoreRequest) Reset()

func (*MemoryStoreRequest) String

func (x *MemoryStoreRequest) String() string

type MemoryStoreResponse

type MemoryStoreResponse struct {
	Id         string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	TokensUsed int32  `protobuf:"varint,2,opt,name=tokens_used,json=tokensUsed,proto3" json:"tokens_used,omitempty"`
	// contains filtered or unexported fields
}

func (*MemoryStoreResponse) Descriptor deprecated

func (*MemoryStoreResponse) Descriptor() ([]byte, []int)

Deprecated: Use MemoryStoreResponse.ProtoReflect.Descriptor instead.

func (*MemoryStoreResponse) GetId

func (x *MemoryStoreResponse) GetId() string

func (*MemoryStoreResponse) GetTokensUsed

func (x *MemoryStoreResponse) GetTokensUsed() int32

func (*MemoryStoreResponse) ProtoMessage

func (*MemoryStoreResponse) ProtoMessage()

func (*MemoryStoreResponse) ProtoReflect

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

func (*MemoryStoreResponse) Reset

func (x *MemoryStoreResponse) Reset()

func (*MemoryStoreResponse) String

func (x *MemoryStoreResponse) String() string

type PolicyCheckRequest

type PolicyCheckRequest struct {
	Action    string `protobuf:"bytes,1,opt,name=action,proto3" json:"action,omitempty"`   // what the agent wants to do
	Context   string `protobuf:"bytes,2,opt,name=context,proto3" json:"context,omitempty"` // additional context
	SessionId string `protobuf:"bytes,3,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"`
	// contains filtered or unexported fields
}

func (*PolicyCheckRequest) Descriptor deprecated

func (*PolicyCheckRequest) Descriptor() ([]byte, []int)

Deprecated: Use PolicyCheckRequest.ProtoReflect.Descriptor instead.

func (*PolicyCheckRequest) GetAction

func (x *PolicyCheckRequest) GetAction() string

func (*PolicyCheckRequest) GetContext

func (x *PolicyCheckRequest) GetContext() string

func (*PolicyCheckRequest) GetSessionId

func (x *PolicyCheckRequest) GetSessionId() string

func (*PolicyCheckRequest) ProtoMessage

func (*PolicyCheckRequest) ProtoMessage()

func (*PolicyCheckRequest) ProtoReflect

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

func (*PolicyCheckRequest) Reset

func (x *PolicyCheckRequest) Reset()

func (*PolicyCheckRequest) String

func (x *PolicyCheckRequest) String() string

type PolicyCheckResponse

type PolicyCheckResponse struct {
	Compliant   bool               `protobuf:"varint,1,opt,name=compliant,proto3" json:"compliant,omitempty"`
	Violations  []*PolicyViolation `protobuf:"bytes,2,rep,name=violations,proto3" json:"violations,omitempty"`
	Suggestions []string           `protobuf:"bytes,3,rep,name=suggestions,proto3" json:"suggestions,omitempty"`
	TokensUsed  int32              `protobuf:"varint,4,opt,name=tokens_used,json=tokensUsed,proto3" json:"tokens_used,omitempty"`
	// contains filtered or unexported fields
}

func (*PolicyCheckResponse) Descriptor deprecated

func (*PolicyCheckResponse) Descriptor() ([]byte, []int)

Deprecated: Use PolicyCheckResponse.ProtoReflect.Descriptor instead.

func (*PolicyCheckResponse) GetCompliant

func (x *PolicyCheckResponse) GetCompliant() bool

func (*PolicyCheckResponse) GetSuggestions

func (x *PolicyCheckResponse) GetSuggestions() []string

func (*PolicyCheckResponse) GetTokensUsed

func (x *PolicyCheckResponse) GetTokensUsed() int32

func (*PolicyCheckResponse) GetViolations

func (x *PolicyCheckResponse) GetViolations() []*PolicyViolation

func (*PolicyCheckResponse) ProtoMessage

func (*PolicyCheckResponse) ProtoMessage()

func (*PolicyCheckResponse) ProtoReflect

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

func (*PolicyCheckResponse) Reset

func (x *PolicyCheckResponse) Reset()

func (*PolicyCheckResponse) String

func (x *PolicyCheckResponse) String() string

type PolicyGetRequest

type PolicyGetRequest struct {
	Id        string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	SessionId string `protobuf:"bytes,2,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"`
	// contains filtered or unexported fields
}

func (*PolicyGetRequest) Descriptor deprecated

func (*PolicyGetRequest) Descriptor() ([]byte, []int)

Deprecated: Use PolicyGetRequest.ProtoReflect.Descriptor instead.

func (*PolicyGetRequest) GetId

func (x *PolicyGetRequest) GetId() string

func (*PolicyGetRequest) GetSessionId

func (x *PolicyGetRequest) GetSessionId() string

func (*PolicyGetRequest) ProtoMessage

func (*PolicyGetRequest) ProtoMessage()

func (*PolicyGetRequest) ProtoReflect

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

func (*PolicyGetRequest) Reset

func (x *PolicyGetRequest) Reset()

func (*PolicyGetRequest) String

func (x *PolicyGetRequest) String() string

type PolicyGetResponse

type PolicyGetResponse struct {
	Id          string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Title       string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"`
	Category    string `protobuf:"bytes,3,opt,name=category,proto3" json:"category,omitempty"`
	Severity    string `protobuf:"bytes,4,opt,name=severity,proto3" json:"severity,omitempty"`
	Requirement string `protobuf:"bytes,5,opt,name=requirement,proto3" json:"requirement,omitempty"`
	Enforcement string `protobuf:"bytes,6,opt,name=enforcement,proto3" json:"enforcement,omitempty"`
	TokensUsed  int32  `protobuf:"varint,7,opt,name=tokens_used,json=tokensUsed,proto3" json:"tokens_used,omitempty"`
	// contains filtered or unexported fields
}

func (*PolicyGetResponse) Descriptor deprecated

func (*PolicyGetResponse) Descriptor() ([]byte, []int)

Deprecated: Use PolicyGetResponse.ProtoReflect.Descriptor instead.

func (*PolicyGetResponse) GetCategory

func (x *PolicyGetResponse) GetCategory() string

func (*PolicyGetResponse) GetEnforcement

func (x *PolicyGetResponse) GetEnforcement() string

func (*PolicyGetResponse) GetId

func (x *PolicyGetResponse) GetId() string

func (*PolicyGetResponse) GetRequirement

func (x *PolicyGetResponse) GetRequirement() string

func (*PolicyGetResponse) GetSeverity

func (x *PolicyGetResponse) GetSeverity() string

func (*PolicyGetResponse) GetTitle

func (x *PolicyGetResponse) GetTitle() string

func (*PolicyGetResponse) GetTokensUsed

func (x *PolicyGetResponse) GetTokensUsed() int32

func (*PolicyGetResponse) ProtoMessage

func (*PolicyGetResponse) ProtoMessage()

func (*PolicyGetResponse) ProtoReflect

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

func (*PolicyGetResponse) Reset

func (x *PolicyGetResponse) Reset()

func (*PolicyGetResponse) String

func (x *PolicyGetResponse) String() string

type PolicyListRequest

type PolicyListRequest struct {
	Scope     string `protobuf:"bytes,1,opt,name=scope,proto3" json:"scope,omitempty"`       // "project" | "team" | "org"
	Category  string `protobuf:"bytes,2,opt,name=category,proto3" json:"category,omitempty"` // "security" | "coding" | "repo"
	SessionId string `protobuf:"bytes,3,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"`
	// contains filtered or unexported fields
}

func (*PolicyListRequest) Descriptor deprecated

func (*PolicyListRequest) Descriptor() ([]byte, []int)

Deprecated: Use PolicyListRequest.ProtoReflect.Descriptor instead.

func (*PolicyListRequest) GetCategory

func (x *PolicyListRequest) GetCategory() string

func (*PolicyListRequest) GetScope

func (x *PolicyListRequest) GetScope() string

func (*PolicyListRequest) GetSessionId

func (x *PolicyListRequest) GetSessionId() string

func (*PolicyListRequest) ProtoMessage

func (*PolicyListRequest) ProtoMessage()

func (*PolicyListRequest) ProtoReflect

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

func (*PolicyListRequest) Reset

func (x *PolicyListRequest) Reset()

func (*PolicyListRequest) String

func (x *PolicyListRequest) String() string

type PolicyListResponse

type PolicyListResponse struct {
	Policies   []*PolicyRef `protobuf:"bytes,1,rep,name=policies,proto3" json:"policies,omitempty"`
	TokensUsed int32        `protobuf:"varint,2,opt,name=tokens_used,json=tokensUsed,proto3" json:"tokens_used,omitempty"`
	// contains filtered or unexported fields
}

func (*PolicyListResponse) Descriptor deprecated

func (*PolicyListResponse) Descriptor() ([]byte, []int)

Deprecated: Use PolicyListResponse.ProtoReflect.Descriptor instead.

func (*PolicyListResponse) GetPolicies

func (x *PolicyListResponse) GetPolicies() []*PolicyRef

func (*PolicyListResponse) GetTokensUsed

func (x *PolicyListResponse) GetTokensUsed() int32

func (*PolicyListResponse) ProtoMessage

func (*PolicyListResponse) ProtoMessage()

func (*PolicyListResponse) ProtoReflect

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

func (*PolicyListResponse) Reset

func (x *PolicyListResponse) Reset()

func (*PolicyListResponse) String

func (x *PolicyListResponse) String() string

type PolicyRef

type PolicyRef struct {
	Id       string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Title    string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"`
	Category string `protobuf:"bytes,3,opt,name=category,proto3" json:"category,omitempty"`
	Severity string `protobuf:"bytes,4,opt,name=severity,proto3" json:"severity,omitempty"`
	// contains filtered or unexported fields
}

func (*PolicyRef) Descriptor deprecated

func (*PolicyRef) Descriptor() ([]byte, []int)

Deprecated: Use PolicyRef.ProtoReflect.Descriptor instead.

func (*PolicyRef) GetCategory

func (x *PolicyRef) GetCategory() string

func (*PolicyRef) GetId

func (x *PolicyRef) GetId() string

func (*PolicyRef) GetSeverity

func (x *PolicyRef) GetSeverity() string

func (*PolicyRef) GetTitle

func (x *PolicyRef) GetTitle() string

func (*PolicyRef) ProtoMessage

func (*PolicyRef) ProtoMessage()

func (*PolicyRef) ProtoReflect

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

func (*PolicyRef) Reset

func (x *PolicyRef) Reset()

func (*PolicyRef) String

func (x *PolicyRef) String() string

type PolicyServiceClient

type PolicyServiceClient interface {
	Check(ctx context.Context, in *PolicyCheckRequest, opts ...grpc.CallOption) (*PolicyCheckResponse, error)
	List(ctx context.Context, in *PolicyListRequest, opts ...grpc.CallOption) (*PolicyListResponse, error)
	Get(ctx context.Context, in *PolicyGetRequest, opts ...grpc.CallOption) (*PolicyGetResponse, error)
}

PolicyServiceClient is the client API for PolicyService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

type PolicyServiceServer

type PolicyServiceServer interface {
	Check(context.Context, *PolicyCheckRequest) (*PolicyCheckResponse, error)
	List(context.Context, *PolicyListRequest) (*PolicyListResponse, error)
	Get(context.Context, *PolicyGetRequest) (*PolicyGetResponse, error)
	// contains filtered or unexported methods
}

PolicyServiceServer is the server API for PolicyService service. All implementations must embed UnimplementedPolicyServiceServer for forward compatibility.

type PolicyViolation

type PolicyViolation struct {
	PolicyId    string `protobuf:"bytes,1,opt,name=policy_id,json=policyId,proto3" json:"policy_id,omitempty"`
	PolicyTitle string `protobuf:"bytes,2,opt,name=policy_title,json=policyTitle,proto3" json:"policy_title,omitempty"`
	Reason      string `protobuf:"bytes,3,opt,name=reason,proto3" json:"reason,omitempty"`
	Severity    string `protobuf:"bytes,4,opt,name=severity,proto3" json:"severity,omitempty"` // "critical" | "warning" | "info"
	// contains filtered or unexported fields
}

func (*PolicyViolation) Descriptor deprecated

func (*PolicyViolation) Descriptor() ([]byte, []int)

Deprecated: Use PolicyViolation.ProtoReflect.Descriptor instead.

func (*PolicyViolation) GetPolicyId

func (x *PolicyViolation) GetPolicyId() string

func (*PolicyViolation) GetPolicyTitle

func (x *PolicyViolation) GetPolicyTitle() string

func (*PolicyViolation) GetReason

func (x *PolicyViolation) GetReason() string

func (*PolicyViolation) GetSeverity

func (x *PolicyViolation) GetSeverity() string

func (*PolicyViolation) ProtoMessage

func (*PolicyViolation) ProtoMessage()

func (*PolicyViolation) ProtoReflect

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

func (*PolicyViolation) Reset

func (x *PolicyViolation) Reset()

func (*PolicyViolation) String

func (x *PolicyViolation) String() string

type ReadRequest

type ReadRequest struct {
	Path      string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"`
	Offset    int32  `protobuf:"varint,2,opt,name=offset,proto3" json:"offset,omitempty"` // line offset
	Limit     int32  `protobuf:"varint,3,opt,name=limit,proto3" json:"limit,omitempty"`   // max lines
	SessionId string `protobuf:"bytes,4,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"`
	// contains filtered or unexported fields
}

func (*ReadRequest) Descriptor deprecated

func (*ReadRequest) Descriptor() ([]byte, []int)

Deprecated: Use ReadRequest.ProtoReflect.Descriptor instead.

func (*ReadRequest) GetLimit

func (x *ReadRequest) GetLimit() int32

func (*ReadRequest) GetOffset

func (x *ReadRequest) GetOffset() int32

func (*ReadRequest) GetPath

func (x *ReadRequest) GetPath() string

func (*ReadRequest) GetSessionId

func (x *ReadRequest) GetSessionId() string

func (*ReadRequest) ProtoMessage

func (*ReadRequest) ProtoMessage()

func (*ReadRequest) ProtoReflect

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

func (*ReadRequest) Reset

func (x *ReadRequest) Reset()

func (*ReadRequest) String

func (x *ReadRequest) String() string

type ReadResponse

type ReadResponse struct {
	Summary        string `protobuf:"bytes,1,opt,name=summary,proto3" json:"summary,omitempty"`                                     // "Read 150 lines from /etc/hosts"
	ContentPreview string `protobuf:"bytes,2,opt,name=content_preview,json=contentPreview,proto3" json:"content_preview,omitempty"` // first 500 chars
	ContentRef     string `protobuf:"bytes,3,opt,name=content_ref,json=contentRef,proto3" json:"content_ref,omitempty"`             // ref for full content
	TotalLines     int32  `protobuf:"varint,4,opt,name=total_lines,json=totalLines,proto3" json:"total_lines,omitempty"`
	TokensUsed     int32  `protobuf:"varint,5,opt,name=tokens_used,json=tokensUsed,proto3" json:"tokens_used,omitempty"`
	// contains filtered or unexported fields
}

func (*ReadResponse) Descriptor deprecated

func (*ReadResponse) Descriptor() ([]byte, []int)

Deprecated: Use ReadResponse.ProtoReflect.Descriptor instead.

func (*ReadResponse) GetContentPreview

func (x *ReadResponse) GetContentPreview() string

func (*ReadResponse) GetContentRef

func (x *ReadResponse) GetContentRef() string

func (*ReadResponse) GetSummary

func (x *ReadResponse) GetSummary() string

func (*ReadResponse) GetTokensUsed

func (x *ReadResponse) GetTokensUsed() int32

func (*ReadResponse) GetTotalLines

func (x *ReadResponse) GetTotalLines() int32

func (*ReadResponse) ProtoMessage

func (*ReadResponse) ProtoMessage()

func (*ReadResponse) ProtoReflect

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

func (*ReadResponse) Reset

func (x *ReadResponse) Reset()

func (*ReadResponse) String

func (x *ReadResponse) String() string

type RefGetContentRequest

type RefGetContentRequest struct {
	RefId     string `protobuf:"bytes,1,opt,name=ref_id,json=refId,proto3" json:"ref_id,omitempty"`
	SessionId string `protobuf:"bytes,2,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"`
	// contains filtered or unexported fields
}

func (*RefGetContentRequest) Descriptor deprecated

func (*RefGetContentRequest) Descriptor() ([]byte, []int)

Deprecated: Use RefGetContentRequest.ProtoReflect.Descriptor instead.

func (*RefGetContentRequest) GetRefId

func (x *RefGetContentRequest) GetRefId() string

func (*RefGetContentRequest) GetSessionId

func (x *RefGetContentRequest) GetSessionId() string

func (*RefGetContentRequest) ProtoMessage

func (*RefGetContentRequest) ProtoMessage()

func (*RefGetContentRequest) ProtoReflect

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

func (*RefGetContentRequest) Reset

func (x *RefGetContentRequest) Reset()

func (*RefGetContentRequest) String

func (x *RefGetContentRequest) String() string

type RefGetContentResponse

type RefGetContentResponse struct {
	Content     string `protobuf:"bytes,1,opt,name=content,proto3" json:"content,omitempty"`
	ContentType string `protobuf:"bytes,2,opt,name=content_type,json=contentType,proto3" json:"content_type,omitempty"` // "text" | "json" | "binary"
	TokensUsed  int32  `protobuf:"varint,3,opt,name=tokens_used,json=tokensUsed,proto3" json:"tokens_used,omitempty"`
	// contains filtered or unexported fields
}

func (*RefGetContentResponse) Descriptor deprecated

func (*RefGetContentResponse) Descriptor() ([]byte, []int)

Deprecated: Use RefGetContentResponse.ProtoReflect.Descriptor instead.

func (*RefGetContentResponse) GetContent

func (x *RefGetContentResponse) GetContent() string

func (*RefGetContentResponse) GetContentType

func (x *RefGetContentResponse) GetContentType() string

func (*RefGetContentResponse) GetTokensUsed

func (x *RefGetContentResponse) GetTokensUsed() int32

func (*RefGetContentResponse) ProtoMessage

func (*RefGetContentResponse) ProtoMessage()

func (*RefGetContentResponse) ProtoReflect

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

func (*RefGetContentResponse) Reset

func (x *RefGetContentResponse) Reset()

func (*RefGetContentResponse) String

func (x *RefGetContentResponse) String() string

type RefServiceClient

type RefServiceClient interface {
	GetContent(ctx context.Context, in *RefGetContentRequest, opts ...grpc.CallOption) (*RefGetContentResponse, error)
}

RefServiceClient is the client API for RefService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

func NewRefServiceClient

func NewRefServiceClient(cc grpc.ClientConnInterface) RefServiceClient

type RefServiceServer

type RefServiceServer interface {
	GetContent(context.Context, *RefGetContentRequest) (*RefGetContentResponse, error)
	// contains filtered or unexported methods
}

RefServiceServer is the server API for RefService service. All implementations must embed UnimplementedRefServiceServer for forward compatibility.

type RemediationRecordRequest

type RemediationRecordRequest struct {
	Title         string   `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"`
	Problem       string   `protobuf:"bytes,2,opt,name=problem,proto3" json:"problem,omitempty"`
	Symptoms      []string `protobuf:"bytes,3,rep,name=symptoms,proto3" json:"symptoms,omitempty"`
	RootCause     string   `protobuf:"bytes,4,opt,name=root_cause,json=rootCause,proto3" json:"root_cause,omitempty"`
	Solution      string   `protobuf:"bytes,5,opt,name=solution,proto3" json:"solution,omitempty"`
	CodeDiff      string   `protobuf:"bytes,6,opt,name=code_diff,json=codeDiff,proto3" json:"code_diff,omitempty"`
	AffectedFiles []string `protobuf:"bytes,7,rep,name=affected_files,json=affectedFiles,proto3" json:"affected_files,omitempty"`
	SessionId     string   `protobuf:"bytes,8,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"`
	// contains filtered or unexported fields
}

func (*RemediationRecordRequest) Descriptor deprecated

func (*RemediationRecordRequest) Descriptor() ([]byte, []int)

Deprecated: Use RemediationRecordRequest.ProtoReflect.Descriptor instead.

func (*RemediationRecordRequest) GetAffectedFiles

func (x *RemediationRecordRequest) GetAffectedFiles() []string

func (*RemediationRecordRequest) GetCodeDiff

func (x *RemediationRecordRequest) GetCodeDiff() string

func (*RemediationRecordRequest) GetProblem

func (x *RemediationRecordRequest) GetProblem() string

func (*RemediationRecordRequest) GetRootCause

func (x *RemediationRecordRequest) GetRootCause() string

func (*RemediationRecordRequest) GetSessionId

func (x *RemediationRecordRequest) GetSessionId() string

func (*RemediationRecordRequest) GetSolution

func (x *RemediationRecordRequest) GetSolution() string

func (*RemediationRecordRequest) GetSymptoms

func (x *RemediationRecordRequest) GetSymptoms() []string

func (*RemediationRecordRequest) GetTitle

func (x *RemediationRecordRequest) GetTitle() string

func (*RemediationRecordRequest) ProtoMessage

func (*RemediationRecordRequest) ProtoMessage()

func (*RemediationRecordRequest) ProtoReflect

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

func (*RemediationRecordRequest) Reset

func (x *RemediationRecordRequest) Reset()

func (*RemediationRecordRequest) String

func (x *RemediationRecordRequest) String() string

type RemediationRecordResponse

type RemediationRecordResponse struct {
	Id         string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	TokensUsed int32  `protobuf:"varint,2,opt,name=tokens_used,json=tokensUsed,proto3" json:"tokens_used,omitempty"`
	// contains filtered or unexported fields
}

func (*RemediationRecordResponse) Descriptor deprecated

func (*RemediationRecordResponse) Descriptor() ([]byte, []int)

Deprecated: Use RemediationRecordResponse.ProtoReflect.Descriptor instead.

func (*RemediationRecordResponse) GetId

func (x *RemediationRecordResponse) GetId() string

func (*RemediationRecordResponse) GetTokensUsed

func (x *RemediationRecordResponse) GetTokensUsed() int32

func (*RemediationRecordResponse) ProtoMessage

func (*RemediationRecordResponse) ProtoMessage()

func (*RemediationRecordResponse) ProtoReflect

func (*RemediationRecordResponse) Reset

func (x *RemediationRecordResponse) Reset()

func (*RemediationRecordResponse) String

func (x *RemediationRecordResponse) String() string

type RemediationRef

type RemediationRef struct {
	Id              string  `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Title           string  `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"`
	ProblemPreview  string  `protobuf:"bytes,3,opt,name=problem_preview,json=problemPreview,proto3" json:"problem_preview,omitempty"`
	SolutionPreview string  `protobuf:"bytes,4,opt,name=solution_preview,json=solutionPreview,proto3" json:"solution_preview,omitempty"`
	Confidence      float32 `protobuf:"fixed32,5,opt,name=confidence,proto3" json:"confidence,omitempty"`
	// contains filtered or unexported fields
}

func (*RemediationRef) Descriptor deprecated

func (*RemediationRef) Descriptor() ([]byte, []int)

Deprecated: Use RemediationRef.ProtoReflect.Descriptor instead.

func (*RemediationRef) GetConfidence

func (x *RemediationRef) GetConfidence() float32

func (*RemediationRef) GetId

func (x *RemediationRef) GetId() string

func (*RemediationRef) GetProblemPreview

func (x *RemediationRef) GetProblemPreview() string

func (*RemediationRef) GetSolutionPreview

func (x *RemediationRef) GetSolutionPreview() string

func (*RemediationRef) GetTitle

func (x *RemediationRef) GetTitle() string

func (*RemediationRef) ProtoMessage

func (*RemediationRef) ProtoMessage()

func (*RemediationRef) ProtoReflect

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

func (*RemediationRef) Reset

func (x *RemediationRef) Reset()

func (*RemediationRef) String

func (x *RemediationRef) String() string

type RemediationSearchRequest

type RemediationSearchRequest struct {
	Error     string `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"`
	Context   string `protobuf:"bytes,2,opt,name=context,proto3" json:"context,omitempty"`
	Limit     int32  `protobuf:"varint,3,opt,name=limit,proto3" json:"limit,omitempty"`
	SessionId string `protobuf:"bytes,4,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"`
	// contains filtered or unexported fields
}

func (*RemediationSearchRequest) Descriptor deprecated

func (*RemediationSearchRequest) Descriptor() ([]byte, []int)

Deprecated: Use RemediationSearchRequest.ProtoReflect.Descriptor instead.

func (*RemediationSearchRequest) GetContext

func (x *RemediationSearchRequest) GetContext() string

func (*RemediationSearchRequest) GetError

func (x *RemediationSearchRequest) GetError() string

func (*RemediationSearchRequest) GetLimit

func (x *RemediationSearchRequest) GetLimit() int32

func (*RemediationSearchRequest) GetSessionId

func (x *RemediationSearchRequest) GetSessionId() string

func (*RemediationSearchRequest) ProtoMessage

func (*RemediationSearchRequest) ProtoMessage()

func (*RemediationSearchRequest) ProtoReflect

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

func (*RemediationSearchRequest) Reset

func (x *RemediationSearchRequest) Reset()

func (*RemediationSearchRequest) String

func (x *RemediationSearchRequest) String() string

type RemediationSearchResponse

type RemediationSearchResponse struct {
	Remediations []*RemediationRef `protobuf:"bytes,1,rep,name=remediations,proto3" json:"remediations,omitempty"`
	TokensUsed   int32             `protobuf:"varint,2,opt,name=tokens_used,json=tokensUsed,proto3" json:"tokens_used,omitempty"`
	// contains filtered or unexported fields
}

func (*RemediationSearchResponse) Descriptor deprecated

func (*RemediationSearchResponse) Descriptor() ([]byte, []int)

Deprecated: Use RemediationSearchResponse.ProtoReflect.Descriptor instead.

func (*RemediationSearchResponse) GetRemediations

func (x *RemediationSearchResponse) GetRemediations() []*RemediationRef

func (*RemediationSearchResponse) GetTokensUsed

func (x *RemediationSearchResponse) GetTokensUsed() int32

func (*RemediationSearchResponse) ProtoMessage

func (*RemediationSearchResponse) ProtoMessage()

func (*RemediationSearchResponse) ProtoReflect

func (*RemediationSearchResponse) Reset

func (x *RemediationSearchResponse) Reset()

func (*RemediationSearchResponse) String

func (x *RemediationSearchResponse) String() string

type RemediationServiceClient

type RemediationServiceClient interface {
	Search(ctx context.Context, in *RemediationSearchRequest, opts ...grpc.CallOption) (*RemediationSearchResponse, error)
	Record(ctx context.Context, in *RemediationRecordRequest, opts ...grpc.CallOption) (*RemediationRecordResponse, error)
}

RemediationServiceClient is the client API for RemediationService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

type RemediationServiceServer

type RemediationServiceServer interface {
	Search(context.Context, *RemediationSearchRequest) (*RemediationSearchResponse, error)
	Record(context.Context, *RemediationRecordRequest) (*RemediationRecordResponse, error)
	// contains filtered or unexported methods
}

RemediationServiceServer is the server API for RemediationService service. All implementations must embed UnimplementedRemediationServiceServer for forward compatibility.

type SafeExecServiceClient

type SafeExecServiceClient interface {
	Bash(ctx context.Context, in *BashRequest, opts ...grpc.CallOption) (*BashResponse, error)
	Read(ctx context.Context, in *ReadRequest, opts ...grpc.CallOption) (*ReadResponse, error)
	Write(ctx context.Context, in *WriteRequest, opts ...grpc.CallOption) (*WriteResponse, error)
}

SafeExecServiceClient is the client API for SafeExecService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

type SafeExecServiceServer

type SafeExecServiceServer interface {
	Bash(context.Context, *BashRequest) (*BashResponse, error)
	Read(context.Context, *ReadRequest) (*ReadResponse, error)
	Write(context.Context, *WriteRequest) (*WriteResponse, error)
	// contains filtered or unexported methods
}

SafeExecServiceServer is the server API for SafeExecService service. All implementations must embed UnimplementedSafeExecServiceServer for forward compatibility.

type SessionEndRequest

type SessionEndRequest struct {
	SessionId string `protobuf:"bytes,1,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"`
	Outcome   string `protobuf:"bytes,2,opt,name=outcome,proto3" json:"outcome,omitempty"`  // "success" | "failure" | "partial"
	Distill   bool   `protobuf:"varint,3,opt,name=distill,proto3" json:"distill,omitempty"` // trigger async distillation
	// contains filtered or unexported fields
}

func (*SessionEndRequest) Descriptor deprecated

func (*SessionEndRequest) Descriptor() ([]byte, []int)

Deprecated: Use SessionEndRequest.ProtoReflect.Descriptor instead.

func (*SessionEndRequest) GetDistill

func (x *SessionEndRequest) GetDistill() bool

func (*SessionEndRequest) GetOutcome

func (x *SessionEndRequest) GetOutcome() string

func (*SessionEndRequest) GetSessionId

func (x *SessionEndRequest) GetSessionId() string

func (*SessionEndRequest) ProtoMessage

func (*SessionEndRequest) ProtoMessage()

func (*SessionEndRequest) ProtoReflect

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

func (*SessionEndRequest) Reset

func (x *SessionEndRequest) Reset()

func (*SessionEndRequest) String

func (x *SessionEndRequest) String() string

type SessionEndResponse

type SessionEndResponse struct {
	MemoriesExtracted int32 `protobuf:"varint,1,opt,name=memories_extracted,json=memoriesExtracted,proto3" json:"memories_extracted,omitempty"`
	TokensUsed        int32 `protobuf:"varint,2,opt,name=tokens_used,json=tokensUsed,proto3" json:"tokens_used,omitempty"`
	// contains filtered or unexported fields
}

func (*SessionEndResponse) Descriptor deprecated

func (*SessionEndResponse) Descriptor() ([]byte, []int)

Deprecated: Use SessionEndResponse.ProtoReflect.Descriptor instead.

func (*SessionEndResponse) GetMemoriesExtracted

func (x *SessionEndResponse) GetMemoriesExtracted() int32

func (*SessionEndResponse) GetTokensUsed

func (x *SessionEndResponse) GetTokensUsed() int32

func (*SessionEndResponse) ProtoMessage

func (*SessionEndResponse) ProtoMessage()

func (*SessionEndResponse) ProtoReflect

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

func (*SessionEndResponse) Reset

func (x *SessionEndResponse) Reset()

func (*SessionEndResponse) String

func (x *SessionEndResponse) String() string

type SessionServiceClient

type SessionServiceClient interface {
	Start(ctx context.Context, in *SessionStartRequest, opts ...grpc.CallOption) (*SessionStartResponse, error)
	End(ctx context.Context, in *SessionEndRequest, opts ...grpc.CallOption) (*SessionEndResponse, error)
}

SessionServiceClient is the client API for SessionService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

type SessionServiceServer

type SessionServiceServer interface {
	Start(context.Context, *SessionStartRequest) (*SessionStartResponse, error)
	End(context.Context, *SessionEndRequest) (*SessionEndResponse, error)
	// contains filtered or unexported methods
}

SessionServiceServer is the server API for SessionService service. All implementations must embed UnimplementedSessionServiceServer for forward compatibility.

type SessionStartRequest

type SessionStartRequest struct {
	ProjectPath     string `protobuf:"bytes,1,opt,name=project_path,json=projectPath,proto3" json:"project_path,omitempty"`
	TaskDescription string `protobuf:"bytes,2,opt,name=task_description,json=taskDescription,proto3" json:"task_description,omitempty"`
	// contains filtered or unexported fields
}

func (*SessionStartRequest) Descriptor deprecated

func (*SessionStartRequest) Descriptor() ([]byte, []int)

Deprecated: Use SessionStartRequest.ProtoReflect.Descriptor instead.

func (*SessionStartRequest) GetProjectPath

func (x *SessionStartRequest) GetProjectPath() string

func (*SessionStartRequest) GetTaskDescription

func (x *SessionStartRequest) GetTaskDescription() string

func (*SessionStartRequest) ProtoMessage

func (*SessionStartRequest) ProtoMessage()

func (*SessionStartRequest) ProtoReflect

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

func (*SessionStartRequest) Reset

func (x *SessionStartRequest) Reset()

func (*SessionStartRequest) String

func (x *SessionStartRequest) String() string

type SessionStartResponse

type SessionStartResponse struct {
	SessionId       string `protobuf:"bytes,1,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"`
	InjectedContext string `protobuf:"bytes,2,opt,name=injected_context,json=injectedContext,proto3" json:"injected_context,omitempty"` // Tier 0 + relevant memories
	TokensUsed      int32  `protobuf:"varint,3,opt,name=tokens_used,json=tokensUsed,proto3" json:"tokens_used,omitempty"`
	// contains filtered or unexported fields
}

func (*SessionStartResponse) Descriptor deprecated

func (*SessionStartResponse) Descriptor() ([]byte, []int)

Deprecated: Use SessionStartResponse.ProtoReflect.Descriptor instead.

func (*SessionStartResponse) GetInjectedContext

func (x *SessionStartResponse) GetInjectedContext() string

func (*SessionStartResponse) GetSessionId

func (x *SessionStartResponse) GetSessionId() string

func (*SessionStartResponse) GetTokensUsed

func (x *SessionStartResponse) GetTokensUsed() int32

func (*SessionStartResponse) ProtoMessage

func (*SessionStartResponse) ProtoMessage()

func (*SessionStartResponse) ProtoReflect

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

func (*SessionStartResponse) Reset

func (x *SessionStartResponse) Reset()

func (*SessionStartResponse) String

func (x *SessionStartResponse) String() string

type SkillCreateRequest

type SkillCreateRequest struct {
	Name           string   `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Description    string   `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	Trigger        string   `protobuf:"bytes,3,opt,name=trigger,proto3" json:"trigger,omitempty"`
	Steps          []string `protobuf:"bytes,4,rep,name=steps,proto3" json:"steps,omitempty"`
	PromptTemplate string   `protobuf:"bytes,5,opt,name=prompt_template,json=promptTemplate,proto3" json:"prompt_template,omitempty"`
	Scope          string   `protobuf:"bytes,6,opt,name=scope,proto3" json:"scope,omitempty"`
	SessionId      string   `protobuf:"bytes,7,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"`
	// contains filtered or unexported fields
}

func (*SkillCreateRequest) Descriptor deprecated

func (*SkillCreateRequest) Descriptor() ([]byte, []int)

Deprecated: Use SkillCreateRequest.ProtoReflect.Descriptor instead.

func (*SkillCreateRequest) GetDescription

func (x *SkillCreateRequest) GetDescription() string

func (*SkillCreateRequest) GetName

func (x *SkillCreateRequest) GetName() string

func (*SkillCreateRequest) GetPromptTemplate

func (x *SkillCreateRequest) GetPromptTemplate() string

func (*SkillCreateRequest) GetScope

func (x *SkillCreateRequest) GetScope() string

func (*SkillCreateRequest) GetSessionId

func (x *SkillCreateRequest) GetSessionId() string

func (*SkillCreateRequest) GetSteps

func (x *SkillCreateRequest) GetSteps() []string

func (*SkillCreateRequest) GetTrigger

func (x *SkillCreateRequest) GetTrigger() string

func (*SkillCreateRequest) ProtoMessage

func (*SkillCreateRequest) ProtoMessage()

func (*SkillCreateRequest) ProtoReflect

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

func (*SkillCreateRequest) Reset

func (x *SkillCreateRequest) Reset()

func (*SkillCreateRequest) String

func (x *SkillCreateRequest) String() string

type SkillCreateResponse

type SkillCreateResponse struct {
	Id         string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	TokensUsed int32  `protobuf:"varint,2,opt,name=tokens_used,json=tokensUsed,proto3" json:"tokens_used,omitempty"`
	// contains filtered or unexported fields
}

func (*SkillCreateResponse) Descriptor deprecated

func (*SkillCreateResponse) Descriptor() ([]byte, []int)

Deprecated: Use SkillCreateResponse.ProtoReflect.Descriptor instead.

func (*SkillCreateResponse) GetId

func (x *SkillCreateResponse) GetId() string

func (*SkillCreateResponse) GetTokensUsed

func (x *SkillCreateResponse) GetTokensUsed() int32

func (*SkillCreateResponse) ProtoMessage

func (*SkillCreateResponse) ProtoMessage()

func (*SkillCreateResponse) ProtoReflect

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

func (*SkillCreateResponse) Reset

func (x *SkillCreateResponse) Reset()

func (*SkillCreateResponse) String

func (x *SkillCreateResponse) String() string

type SkillDeleteRequest

type SkillDeleteRequest struct {
	Id        string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	SessionId string `protobuf:"bytes,2,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"`
	// contains filtered or unexported fields
}

func (*SkillDeleteRequest) Descriptor deprecated

func (*SkillDeleteRequest) Descriptor() ([]byte, []int)

Deprecated: Use SkillDeleteRequest.ProtoReflect.Descriptor instead.

func (*SkillDeleteRequest) GetId

func (x *SkillDeleteRequest) GetId() string

func (*SkillDeleteRequest) GetSessionId

func (x *SkillDeleteRequest) GetSessionId() string

func (*SkillDeleteRequest) ProtoMessage

func (*SkillDeleteRequest) ProtoMessage()

func (*SkillDeleteRequest) ProtoReflect

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

func (*SkillDeleteRequest) Reset

func (x *SkillDeleteRequest) Reset()

func (*SkillDeleteRequest) String

func (x *SkillDeleteRequest) String() string

type SkillDeleteResponse

type SkillDeleteResponse struct {
	TokensUsed int32 `protobuf:"varint,1,opt,name=tokens_used,json=tokensUsed,proto3" json:"tokens_used,omitempty"`
	// contains filtered or unexported fields
}

func (*SkillDeleteResponse) Descriptor deprecated

func (*SkillDeleteResponse) Descriptor() ([]byte, []int)

Deprecated: Use SkillDeleteResponse.ProtoReflect.Descriptor instead.

func (*SkillDeleteResponse) GetTokensUsed

func (x *SkillDeleteResponse) GetTokensUsed() int32

func (*SkillDeleteResponse) ProtoMessage

func (*SkillDeleteResponse) ProtoMessage()

func (*SkillDeleteResponse) ProtoReflect

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

func (*SkillDeleteResponse) Reset

func (x *SkillDeleteResponse) Reset()

func (*SkillDeleteResponse) String

func (x *SkillDeleteResponse) String() string

type SkillGetRequest

type SkillGetRequest struct {
	Id        string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	SessionId string `protobuf:"bytes,2,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"`
	// contains filtered or unexported fields
}

func (*SkillGetRequest) Descriptor deprecated

func (*SkillGetRequest) Descriptor() ([]byte, []int)

Deprecated: Use SkillGetRequest.ProtoReflect.Descriptor instead.

func (*SkillGetRequest) GetId

func (x *SkillGetRequest) GetId() string

func (*SkillGetRequest) GetSessionId

func (x *SkillGetRequest) GetSessionId() string

func (*SkillGetRequest) ProtoMessage

func (*SkillGetRequest) ProtoMessage()

func (*SkillGetRequest) ProtoReflect

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

func (*SkillGetRequest) Reset

func (x *SkillGetRequest) Reset()

func (*SkillGetRequest) String

func (x *SkillGetRequest) String() string

type SkillGetResponse

type SkillGetResponse struct {
	Id             string   `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Name           string   `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Description    string   `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
	Trigger        string   `protobuf:"bytes,4,opt,name=trigger,proto3" json:"trigger,omitempty"`
	Steps          []string `protobuf:"bytes,5,rep,name=steps,proto3" json:"steps,omitempty"`
	PromptTemplate string   `protobuf:"bytes,6,opt,name=prompt_template,json=promptTemplate,proto3" json:"prompt_template,omitempty"`
	TokensUsed     int32    `protobuf:"varint,7,opt,name=tokens_used,json=tokensUsed,proto3" json:"tokens_used,omitempty"`
	// contains filtered or unexported fields
}

func (*SkillGetResponse) Descriptor deprecated

func (*SkillGetResponse) Descriptor() ([]byte, []int)

Deprecated: Use SkillGetResponse.ProtoReflect.Descriptor instead.

func (*SkillGetResponse) GetDescription

func (x *SkillGetResponse) GetDescription() string

func (*SkillGetResponse) GetId

func (x *SkillGetResponse) GetId() string

func (*SkillGetResponse) GetName

func (x *SkillGetResponse) GetName() string

func (*SkillGetResponse) GetPromptTemplate

func (x *SkillGetResponse) GetPromptTemplate() string

func (*SkillGetResponse) GetSteps

func (x *SkillGetResponse) GetSteps() []string

func (*SkillGetResponse) GetTokensUsed

func (x *SkillGetResponse) GetTokensUsed() int32

func (*SkillGetResponse) GetTrigger

func (x *SkillGetResponse) GetTrigger() string

func (*SkillGetResponse) ProtoMessage

func (*SkillGetResponse) ProtoMessage()

func (*SkillGetResponse) ProtoReflect

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

func (*SkillGetResponse) Reset

func (x *SkillGetResponse) Reset()

func (*SkillGetResponse) String

func (x *SkillGetResponse) String() string

type SkillListRequest

type SkillListRequest struct {
	Scope     string `protobuf:"bytes,1,opt,name=scope,proto3" json:"scope,omitempty"`
	SessionId string `protobuf:"bytes,2,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"`
	// contains filtered or unexported fields
}

func (*SkillListRequest) Descriptor deprecated

func (*SkillListRequest) Descriptor() ([]byte, []int)

Deprecated: Use SkillListRequest.ProtoReflect.Descriptor instead.

func (*SkillListRequest) GetScope

func (x *SkillListRequest) GetScope() string

func (*SkillListRequest) GetSessionId

func (x *SkillListRequest) GetSessionId() string

func (*SkillListRequest) ProtoMessage

func (*SkillListRequest) ProtoMessage()

func (*SkillListRequest) ProtoReflect

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

func (*SkillListRequest) Reset

func (x *SkillListRequest) Reset()

func (*SkillListRequest) String

func (x *SkillListRequest) String() string

type SkillListResponse

type SkillListResponse struct {
	Skills     []*SkillRef `protobuf:"bytes,1,rep,name=skills,proto3" json:"skills,omitempty"`
	TokensUsed int32       `protobuf:"varint,2,opt,name=tokens_used,json=tokensUsed,proto3" json:"tokens_used,omitempty"`
	// contains filtered or unexported fields
}

func (*SkillListResponse) Descriptor deprecated

func (*SkillListResponse) Descriptor() ([]byte, []int)

Deprecated: Use SkillListResponse.ProtoReflect.Descriptor instead.

func (*SkillListResponse) GetSkills

func (x *SkillListResponse) GetSkills() []*SkillRef

func (*SkillListResponse) GetTokensUsed

func (x *SkillListResponse) GetTokensUsed() int32

func (*SkillListResponse) ProtoMessage

func (*SkillListResponse) ProtoMessage()

func (*SkillListResponse) ProtoReflect

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

func (*SkillListResponse) Reset

func (x *SkillListResponse) Reset()

func (*SkillListResponse) String

func (x *SkillListResponse) String() string

type SkillRef

type SkillRef struct {
	Id                 string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Name               string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	DescriptionPreview string `protobuf:"bytes,3,opt,name=description_preview,json=descriptionPreview,proto3" json:"description_preview,omitempty"`
	// contains filtered or unexported fields
}

func (*SkillRef) Descriptor deprecated

func (*SkillRef) Descriptor() ([]byte, []int)

Deprecated: Use SkillRef.ProtoReflect.Descriptor instead.

func (*SkillRef) GetDescriptionPreview

func (x *SkillRef) GetDescriptionPreview() string

func (*SkillRef) GetId

func (x *SkillRef) GetId() string

func (*SkillRef) GetName

func (x *SkillRef) GetName() string

func (*SkillRef) ProtoMessage

func (*SkillRef) ProtoMessage()

func (*SkillRef) ProtoReflect

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

func (*SkillRef) Reset

func (x *SkillRef) Reset()

func (*SkillRef) String

func (x *SkillRef) String() string

type SkillServiceClient

SkillServiceClient is the client API for SkillService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

type SkillServiceServer

SkillServiceServer is the server API for SkillService service. All implementations must embed UnimplementedSkillServiceServer for forward compatibility.

type SkillUpdateRequest

type SkillUpdateRequest struct {
	Id             string   `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Name           string   `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Description    string   `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
	Trigger        string   `protobuf:"bytes,4,opt,name=trigger,proto3" json:"trigger,omitempty"`
	Steps          []string `protobuf:"bytes,5,rep,name=steps,proto3" json:"steps,omitempty"`
	PromptTemplate string   `protobuf:"bytes,6,opt,name=prompt_template,json=promptTemplate,proto3" json:"prompt_template,omitempty"`
	SessionId      string   `protobuf:"bytes,7,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"`
	// contains filtered or unexported fields
}

func (*SkillUpdateRequest) Descriptor deprecated

func (*SkillUpdateRequest) Descriptor() ([]byte, []int)

Deprecated: Use SkillUpdateRequest.ProtoReflect.Descriptor instead.

func (*SkillUpdateRequest) GetDescription

func (x *SkillUpdateRequest) GetDescription() string

func (*SkillUpdateRequest) GetId

func (x *SkillUpdateRequest) GetId() string

func (*SkillUpdateRequest) GetName

func (x *SkillUpdateRequest) GetName() string

func (*SkillUpdateRequest) GetPromptTemplate

func (x *SkillUpdateRequest) GetPromptTemplate() string

func (*SkillUpdateRequest) GetSessionId

func (x *SkillUpdateRequest) GetSessionId() string

func (*SkillUpdateRequest) GetSteps

func (x *SkillUpdateRequest) GetSteps() []string

func (*SkillUpdateRequest) GetTrigger

func (x *SkillUpdateRequest) GetTrigger() string

func (*SkillUpdateRequest) ProtoMessage

func (*SkillUpdateRequest) ProtoMessage()

func (*SkillUpdateRequest) ProtoReflect

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

func (*SkillUpdateRequest) Reset

func (x *SkillUpdateRequest) Reset()

func (*SkillUpdateRequest) String

func (x *SkillUpdateRequest) String() string

type SkillUpdateResponse

type SkillUpdateResponse struct {
	TokensUsed int32 `protobuf:"varint,1,opt,name=tokens_used,json=tokensUsed,proto3" json:"tokens_used,omitempty"`
	// contains filtered or unexported fields
}

func (*SkillUpdateResponse) Descriptor deprecated

func (*SkillUpdateResponse) Descriptor() ([]byte, []int)

Deprecated: Use SkillUpdateResponse.ProtoReflect.Descriptor instead.

func (*SkillUpdateResponse) GetTokensUsed

func (x *SkillUpdateResponse) GetTokensUsed() int32

func (*SkillUpdateResponse) ProtoMessage

func (*SkillUpdateResponse) ProtoMessage()

func (*SkillUpdateResponse) ProtoReflect

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

func (*SkillUpdateResponse) Reset

func (x *SkillUpdateResponse) Reset()

func (*SkillUpdateResponse) String

func (x *SkillUpdateResponse) String() string

type UnimplementedAgentServiceServer

type UnimplementedAgentServiceServer struct{}

UnimplementedAgentServiceServer must be embedded to have forward compatible implementations.

NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.

func (UnimplementedAgentServiceServer) Create

func (UnimplementedAgentServiceServer) Delete

func (UnimplementedAgentServiceServer) Get

func (UnimplementedAgentServiceServer) List

func (UnimplementedAgentServiceServer) Update

type UnimplementedCheckpointServiceServer

type UnimplementedCheckpointServiceServer struct{}

UnimplementedCheckpointServiceServer must be embedded to have forward compatible implementations.

NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.

func (UnimplementedCheckpointServiceServer) List

func (UnimplementedCheckpointServiceServer) Resume

func (UnimplementedCheckpointServiceServer) Save

type UnimplementedMemoryServiceServer

type UnimplementedMemoryServiceServer struct{}

UnimplementedMemoryServiceServer must be embedded to have forward compatible implementations.

NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.

func (UnimplementedMemoryServiceServer) Feedback

func (UnimplementedMemoryServiceServer) Get

func (UnimplementedMemoryServiceServer) Search

func (UnimplementedMemoryServiceServer) Store

type UnimplementedPolicyServiceServer

type UnimplementedPolicyServiceServer struct{}

UnimplementedPolicyServiceServer must be embedded to have forward compatible implementations.

NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.

func (UnimplementedPolicyServiceServer) Check

func (UnimplementedPolicyServiceServer) Get

func (UnimplementedPolicyServiceServer) List

type UnimplementedRefServiceServer

type UnimplementedRefServiceServer struct{}

UnimplementedRefServiceServer must be embedded to have forward compatible implementations.

NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.

func (UnimplementedRefServiceServer) GetContent

type UnimplementedRemediationServiceServer

type UnimplementedRemediationServiceServer struct{}

UnimplementedRemediationServiceServer must be embedded to have forward compatible implementations.

NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.

type UnimplementedSafeExecServiceServer

type UnimplementedSafeExecServiceServer struct{}

UnimplementedSafeExecServiceServer must be embedded to have forward compatible implementations.

NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.

func (UnimplementedSafeExecServiceServer) Bash

func (UnimplementedSafeExecServiceServer) Read

func (UnimplementedSafeExecServiceServer) Write

type UnimplementedSessionServiceServer

type UnimplementedSessionServiceServer struct{}

UnimplementedSessionServiceServer must be embedded to have forward compatible implementations.

NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.

func (UnimplementedSessionServiceServer) End

func (UnimplementedSessionServiceServer) Start

type UnimplementedSkillServiceServer

type UnimplementedSkillServiceServer struct{}

UnimplementedSkillServiceServer must be embedded to have forward compatible implementations.

NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.

func (UnimplementedSkillServiceServer) Create

func (UnimplementedSkillServiceServer) Delete

func (UnimplementedSkillServiceServer) Get

func (UnimplementedSkillServiceServer) List

func (UnimplementedSkillServiceServer) Update

type UnsafeAgentServiceServer

type UnsafeAgentServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeAgentServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to AgentServiceServer will result in compilation errors.

type UnsafeCheckpointServiceServer

type UnsafeCheckpointServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeCheckpointServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to CheckpointServiceServer will result in compilation errors.

type UnsafeMemoryServiceServer

type UnsafeMemoryServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeMemoryServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to MemoryServiceServer will result in compilation errors.

type UnsafePolicyServiceServer

type UnsafePolicyServiceServer interface {
	// contains filtered or unexported methods
}

UnsafePolicyServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to PolicyServiceServer will result in compilation errors.

type UnsafeRefServiceServer

type UnsafeRefServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeRefServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to RefServiceServer will result in compilation errors.

type UnsafeRemediationServiceServer

type UnsafeRemediationServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeRemediationServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to RemediationServiceServer will result in compilation errors.

type UnsafeSafeExecServiceServer

type UnsafeSafeExecServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeSafeExecServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to SafeExecServiceServer will result in compilation errors.

type UnsafeSessionServiceServer

type UnsafeSessionServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeSessionServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to SessionServiceServer will result in compilation errors.

type UnsafeSkillServiceServer

type UnsafeSkillServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeSkillServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to SkillServiceServer will result in compilation errors.

type WriteRequest

type WriteRequest struct {
	Path      string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"`
	Content   string `protobuf:"bytes,2,opt,name=content,proto3" json:"content,omitempty"`
	Append    bool   `protobuf:"varint,3,opt,name=append,proto3" json:"append,omitempty"`
	SessionId string `protobuf:"bytes,4,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"`
	// contains filtered or unexported fields
}

func (*WriteRequest) Descriptor deprecated

func (*WriteRequest) Descriptor() ([]byte, []int)

Deprecated: Use WriteRequest.ProtoReflect.Descriptor instead.

func (*WriteRequest) GetAppend

func (x *WriteRequest) GetAppend() bool

func (*WriteRequest) GetContent

func (x *WriteRequest) GetContent() string

func (*WriteRequest) GetPath

func (x *WriteRequest) GetPath() string

func (*WriteRequest) GetSessionId

func (x *WriteRequest) GetSessionId() string

func (*WriteRequest) ProtoMessage

func (*WriteRequest) ProtoMessage()

func (*WriteRequest) ProtoReflect

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

func (*WriteRequest) Reset

func (x *WriteRequest) Reset()

func (*WriteRequest) String

func (x *WriteRequest) String() string

type WriteResponse

type WriteResponse struct {
	Summary      string `protobuf:"bytes,1,opt,name=summary,proto3" json:"summary,omitempty"` // "Wrote 50 lines to /tmp/out.txt"
	BytesWritten int32  `protobuf:"varint,2,opt,name=bytes_written,json=bytesWritten,proto3" json:"bytes_written,omitempty"`
	TokensUsed   int32  `protobuf:"varint,3,opt,name=tokens_used,json=tokensUsed,proto3" json:"tokens_used,omitempty"`
	// contains filtered or unexported fields
}

func (*WriteResponse) Descriptor deprecated

func (*WriteResponse) Descriptor() ([]byte, []int)

Deprecated: Use WriteResponse.ProtoReflect.Descriptor instead.

func (*WriteResponse) GetBytesWritten

func (x *WriteResponse) GetBytesWritten() int32

func (*WriteResponse) GetSummary

func (x *WriteResponse) GetSummary() string

func (*WriteResponse) GetTokensUsed

func (x *WriteResponse) GetTokensUsed() int32

func (*WriteResponse) ProtoMessage

func (*WriteResponse) ProtoMessage()

func (*WriteResponse) ProtoReflect

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

func (*WriteResponse) Reset

func (x *WriteResponse) Reset()

func (*WriteResponse) String

func (x *WriteResponse) String() string

Jump to

Keyboard shortcuts

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