proto

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Jul 22, 2026 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ConversationService_DeleteConversation_FullMethodName = "/ax.ConversationService/DeleteConversation"
)
View Source
const (
	ExecutionService_Exec_FullMethodName = "/ax.ExecutionService/Exec"
)
View Source
const (
	HarnessService_Connect_FullMethodName = "/ax.HarnessService/Connect"
)

Variables

View Source
var (
	State_name = map[int32]string{
		0: "STATE_UNSPECIFIED",
		1: "STATE_PENDING",
		2: "STATE_FAILED",
		3: "STATE_COMPLETED",
		4: "STATE_CANCELED",
	}
	State_value = map[string]int32{
		"STATE_UNSPECIFIED": 0,
		"STATE_PENDING":     1,
		"STATE_FAILED":      2,
		"STATE_COMPLETED":   3,
		"STATE_CANCELED":    4,
	}
)

Enum value maps for State.

View Source
var (
	CancelReason_name = map[int32]string{
		0: "CANCEL_REASON_UNSPECIFIED",
		1: "CANCEL_REASON_USER_REQUESTED",
		2: "CANCEL_REASON_TIMEOUT",
		3: "CANCEL_REASON_INTERNAL_ERROR",
	}
	CancelReason_value = map[string]int32{
		"CANCEL_REASON_UNSPECIFIED":    0,
		"CANCEL_REASON_USER_REQUESTED": 1,
		"CANCEL_REASON_TIMEOUT":        2,
		"CANCEL_REASON_INTERNAL_ERROR": 3,
	}
)

Enum value maps for CancelReason.

View Source
var (
	MediaResolution_name = map[int32]string{
		0: "MEDIA_RESOLUTION_UNSPECIFIED",
		1: "LOW",
		2: "MEDIUM",
		3: "HIGH",
		4: "ULTRA_HIGH",
	}
	MediaResolution_value = map[string]int32{
		"MEDIA_RESOLUTION_UNSPECIFIED": 0,
		"LOW":                          1,
		"MEDIUM":                       2,
		"HIGH":                         3,
		"ULTRA_HIGH":                   4,
	}
)

Enum value maps for MediaResolution.

View Source
var (
	ImageContent_MimeType_name = map[int32]string{
		0: "TYPE_UNSPECIFIED",
		1: "TYPE_PNG",
		2: "TYPE_JPEG",
		3: "TYPE_WEBP",
		4: "TYPE_HEIC",
		5: "TYPE_HEIF",
		7: "TYPE_GIF",
		8: "TYPE_BMP",
		9: "TYPE_TIFF",
	}
	ImageContent_MimeType_value = map[string]int32{
		"TYPE_UNSPECIFIED": 0,
		"TYPE_PNG":         1,
		"TYPE_JPEG":        2,
		"TYPE_WEBP":        3,
		"TYPE_HEIC":        4,
		"TYPE_HEIF":        5,
		"TYPE_GIF":         7,
		"TYPE_BMP":         8,
		"TYPE_TIFF":        9,
	}
)

Enum value maps for ImageContent_MimeType.

View Source
var (
	AudioContent_MimeType_name = map[int32]string{
		0:  "TYPE_UNSPECIFIED",
		1:  "TYPE_WAV",
		2:  "TYPE_MP3",
		3:  "TYPE_AIFF",
		4:  "TYPE_AAC",
		5:  "TYPE_OGG",
		6:  "TYPE_FLAC",
		7:  "TYPE_MPEG",
		8:  "TYPE_M4A",
		9:  "TYPE_L16",
		10: "TYPE_S16LE",
		11: "TYPE_OPUS",
		12: "TYPE_ALAW",
		13: "TYPE_MULAW",
	}
	AudioContent_MimeType_value = map[string]int32{
		"TYPE_UNSPECIFIED": 0,
		"TYPE_WAV":         1,
		"TYPE_MP3":         2,
		"TYPE_AIFF":        3,
		"TYPE_AAC":         4,
		"TYPE_OGG":         5,
		"TYPE_FLAC":        6,
		"TYPE_MPEG":        7,
		"TYPE_M4A":         8,
		"TYPE_L16":         9,
		"TYPE_S16LE":       10,
		"TYPE_OPUS":        11,
		"TYPE_ALAW":        12,
		"TYPE_MULAW":       13,
	}
)

Enum value maps for AudioContent_MimeType.

View Source
var (
	DocumentContent_MimeType_name = map[int32]string{
		0: "TYPE_UNSPECIFIED",
		1: "TYPE_PDF",
		2: "TYPE_JSON",
		3: "TYPE_PYTHON",
	}
	DocumentContent_MimeType_value = map[string]int32{
		"TYPE_UNSPECIFIED": 0,
		"TYPE_PDF":         1,
		"TYPE_JSON":        2,
		"TYPE_PYTHON":      3,
	}
)

Enum value maps for DocumentContent_MimeType.

View Source
var (
	VideoContent_MimeType_name = map[int32]string{
		0: "TYPE_UNSPECIFIED",
		1: "TYPE_MP4",
		2: "TYPE_MPEG",
		3: "TYPE_MPG",
		4: "TYPE_MOV",
		5: "TYPE_AVI",
		6: "TYPE_X_FLV",
		7: "TYPE_WEBM",
		8: "TYPE_WMV",
		9: "TYPE_3GPP",
	}
	VideoContent_MimeType_value = map[string]int32{
		"TYPE_UNSPECIFIED": 0,
		"TYPE_MP4":         1,
		"TYPE_MPEG":        2,
		"TYPE_MPG":         3,
		"TYPE_MOV":         4,
		"TYPE_AVI":         5,
		"TYPE_X_FLV":       6,
		"TYPE_WEBM":        7,
		"TYPE_WMV":         8,
		"TYPE_3GPP":        9,
	}
)

Enum value maps for VideoContent_MimeType.

View Source
var ConversationService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "ax.ConversationService",
	HandlerType: (*ConversationServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "DeleteConversation",
			Handler:    _ConversationService_DeleteConversation_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "proto/ax.proto",
}

ConversationService_ServiceDesc is the grpc.ServiceDesc for ConversationService 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 ExecutionService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "ax.ExecutionService",
	HandlerType: (*ExecutionServiceServer)(nil),
	Methods:     []grpc.MethodDesc{},
	Streams: []grpc.StreamDesc{
		{
			StreamName:    "Exec",
			Handler:       _ExecutionService_Exec_Handler,
			ServerStreams: true,
		},
	},
	Metadata: "proto/ax.proto",
}

ExecutionService_ServiceDesc is the grpc.ServiceDesc for ExecutionService 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_proto_ax_proto protoreflect.FileDescriptor
View Source
var File_proto_content_proto protoreflect.FileDescriptor
View Source
var HarnessService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "ax.HarnessService",
	HandlerType: (*HarnessServiceServer)(nil),
	Methods:     []grpc.MethodDesc{},
	Streams: []grpc.StreamDesc{
		{
			StreamName:    "Connect",
			Handler:       _HarnessService_Connect_Handler,
			ServerStreams: true,
			ClientStreams: true,
		},
	},
	Metadata: "proto/ax.proto",
}

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

Functions

func RegisterConversationServiceServer

func RegisterConversationServiceServer(s grpc.ServiceRegistrar, srv ConversationServiceServer)

func RegisterExecutionServiceServer added in v0.2.0

func RegisterExecutionServiceServer(s grpc.ServiceRegistrar, srv ExecutionServiceServer)

func RegisterHarnessServiceServer added in v0.2.0

func RegisterHarnessServiceServer(s grpc.ServiceRegistrar, srv HarnessServiceServer)

Types

type ApprovalDecision

type ApprovalDecision struct {
	Approved bool `protobuf:"varint,1,opt,name=approved,proto3" json:"approved,omitempty"`
	// contains filtered or unexported fields
}

func (*ApprovalDecision) Descriptor deprecated

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

Deprecated: Use ApprovalDecision.ProtoReflect.Descriptor instead.

func (*ApprovalDecision) GetApproved

func (x *ApprovalDecision) GetApproved() bool

func (*ApprovalDecision) ProtoMessage

func (*ApprovalDecision) ProtoMessage()

func (*ApprovalDecision) ProtoReflect

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

func (*ApprovalDecision) Reset

func (x *ApprovalDecision) Reset()

func (*ApprovalDecision) String

func (x *ApprovalDecision) String() string

type AudioContent

type AudioContent struct {
	MimeType AudioContent_MimeType `protobuf:"varint,1,opt,name=mime_type,json=mimeType,proto3,enum=ax.AudioContent_MimeType" json:"mime_type,omitempty"`
	// Types that are valid to be assigned to DataOrUri:
	//
	//	*AudioContent_Data
	//	*AudioContent_Uri
	DataOrUri  isAudioContent_DataOrUri `protobuf_oneof:"data_or_uri"`
	Channels   int32                    `protobuf:"varint,7,opt,name=channels,proto3" json:"channels,omitempty"`
	SampleRate int32                    `protobuf:"varint,8,opt,name=sample_rate,json=sampleRate,proto3" json:"sample_rate,omitempty"`
	// contains filtered or unexported fields
}

An audio content block.

func (*AudioContent) Descriptor deprecated

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

Deprecated: Use AudioContent.ProtoReflect.Descriptor instead.

func (*AudioContent) GetChannels

func (x *AudioContent) GetChannels() int32

func (*AudioContent) GetData

func (x *AudioContent) GetData() []byte

func (*AudioContent) GetDataOrUri

func (x *AudioContent) GetDataOrUri() isAudioContent_DataOrUri

func (*AudioContent) GetMimeType

func (x *AudioContent) GetMimeType() AudioContent_MimeType

func (*AudioContent) GetSampleRate

func (x *AudioContent) GetSampleRate() int32

func (*AudioContent) GetUri

func (x *AudioContent) GetUri() string

func (*AudioContent) ProtoMessage

func (*AudioContent) ProtoMessage()

func (*AudioContent) ProtoReflect

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

func (*AudioContent) Reset

func (x *AudioContent) Reset()

func (*AudioContent) String

func (x *AudioContent) String() string

type AudioContent_Data

type AudioContent_Data struct {
	Data []byte `protobuf:"bytes,2,opt,name=data,proto3,oneof"`
}

type AudioContent_MimeType

type AudioContent_MimeType int32
const (
	AudioContent_TYPE_UNSPECIFIED AudioContent_MimeType = 0
	AudioContent_TYPE_WAV         AudioContent_MimeType = 1  // audio/wav
	AudioContent_TYPE_MP3         AudioContent_MimeType = 2  // audio/mp3
	AudioContent_TYPE_AIFF        AudioContent_MimeType = 3  // audio/aiff
	AudioContent_TYPE_AAC         AudioContent_MimeType = 4  // audio/aac
	AudioContent_TYPE_OGG         AudioContent_MimeType = 5  // audio/ogg
	AudioContent_TYPE_FLAC        AudioContent_MimeType = 6  // audio/flac
	AudioContent_TYPE_MPEG        AudioContent_MimeType = 7  // audio/mpeg
	AudioContent_TYPE_M4A         AudioContent_MimeType = 8  // audio/m4a
	AudioContent_TYPE_L16         AudioContent_MimeType = 9  // audio/l16
	AudioContent_TYPE_S16LE       AudioContent_MimeType = 10 // audio/s16le
	AudioContent_TYPE_OPUS        AudioContent_MimeType = 11 // audio/opus
	AudioContent_TYPE_ALAW        AudioContent_MimeType = 12 // audio/alaw
	AudioContent_TYPE_MULAW       AudioContent_MimeType = 13 // audio/mulaw
)

func (AudioContent_MimeType) Descriptor

func (AudioContent_MimeType) Enum

func (AudioContent_MimeType) EnumDescriptor deprecated

func (AudioContent_MimeType) EnumDescriptor() ([]byte, []int)

Deprecated: Use AudioContent_MimeType.Descriptor instead.

func (AudioContent_MimeType) Number

func (AudioContent_MimeType) String

func (x AudioContent_MimeType) String() string

func (AudioContent_MimeType) Type

type AudioContent_Uri

type AudioContent_Uri struct {
	Uri string `protobuf:"bytes,5,opt,name=uri,proto3,oneof"`
}

type CancelReason added in v0.2.0

type CancelReason int32

CancelReason explains why an in-flight execution is canceled.

const (
	CancelReason_CANCEL_REASON_UNSPECIFIED    CancelReason = 0
	CancelReason_CANCEL_REASON_USER_REQUESTED CancelReason = 1
	CancelReason_CANCEL_REASON_TIMEOUT        CancelReason = 2
	CancelReason_CANCEL_REASON_INTERNAL_ERROR CancelReason = 3
)

func (CancelReason) Descriptor added in v0.2.0

func (CancelReason) Enum added in v0.2.0

func (x CancelReason) Enum() *CancelReason

func (CancelReason) EnumDescriptor deprecated added in v0.2.0

func (CancelReason) EnumDescriptor() ([]byte, []int)

Deprecated: Use CancelReason.Descriptor instead.

func (CancelReason) Number added in v0.2.0

func (CancelReason) String added in v0.2.0

func (x CancelReason) String() string

func (CancelReason) Type added in v0.2.0

type ConfirmationContent

type ConfirmationContent struct {
	Id       string `protobuf:"bytes,3,opt,name=id,proto3" json:"id,omitempty"`
	Question string `protobuf:"bytes,4,opt,name=question,proto3" json:"question,omitempty"`
	// Types that are valid to be assigned to Decision:
	//
	//	*ConfirmationContent_Approval
	//	*ConfirmationContent_Decline
	Decision isConfirmationContent_Decision `protobuf_oneof:"decision"`
	// contains filtered or unexported fields
}

func (*ConfirmationContent) Descriptor deprecated

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

Deprecated: Use ConfirmationContent.ProtoReflect.Descriptor instead.

func (*ConfirmationContent) GetApproval

func (x *ConfirmationContent) GetApproval() *ApprovalDecision

func (*ConfirmationContent) GetDecision

func (x *ConfirmationContent) GetDecision() isConfirmationContent_Decision

func (*ConfirmationContent) GetDecline

func (x *ConfirmationContent) GetDecline() *DeclineDecision

func (*ConfirmationContent) GetId

func (x *ConfirmationContent) GetId() string

func (*ConfirmationContent) GetQuestion

func (x *ConfirmationContent) GetQuestion() string

func (*ConfirmationContent) ProtoMessage

func (*ConfirmationContent) ProtoMessage()

func (*ConfirmationContent) ProtoReflect

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

func (*ConfirmationContent) Reset

func (x *ConfirmationContent) Reset()

func (*ConfirmationContent) String

func (x *ConfirmationContent) String() string

type ConfirmationContent_Approval

type ConfirmationContent_Approval struct {
	Approval *ApprovalDecision `protobuf:"bytes,5,opt,name=approval,proto3,oneof"`
}

type ConfirmationContent_Decline

type ConfirmationContent_Decline struct {
	Decline *DeclineDecision `protobuf:"bytes,6,opt,name=decline,proto3,oneof"`
}

type Content

type Content struct {

	// Types that are valid to be assigned to Type:
	//
	//	*Content_Thought
	//	*Content_Text
	//	*Content_Image
	//	*Content_Audio
	//	*Content_Document
	//	*Content_Video
	//	*Content_Confirmation
	//	*Content_ToolCall
	//	*Content_ToolResult
	Type isContent_Type `protobuf_oneof:"type"`
	// contains filtered or unexported fields
}

Content represents a content input or output.

func (*Content) Descriptor deprecated

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

Deprecated: Use Content.ProtoReflect.Descriptor instead.

func (*Content) GetAudio

func (x *Content) GetAudio() *AudioContent

func (*Content) GetConfirmation

func (x *Content) GetConfirmation() *ConfirmationContent

func (*Content) GetDocument

func (x *Content) GetDocument() *DocumentContent

func (*Content) GetImage

func (x *Content) GetImage() *ImageContent

func (*Content) GetText

func (x *Content) GetText() *TextContent

func (*Content) GetThought

func (x *Content) GetThought() *ThoughtContent

func (*Content) GetToolCall

func (x *Content) GetToolCall() *ToolCallContent

func (*Content) GetToolResult

func (x *Content) GetToolResult() *ToolResultContent

func (*Content) GetType

func (x *Content) GetType() isContent_Type

func (*Content) GetVideo

func (x *Content) GetVideo() *VideoContent

func (*Content) ProtoMessage

func (*Content) ProtoMessage()

func (*Content) ProtoReflect

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

func (*Content) Reset

func (x *Content) Reset()

func (*Content) String

func (x *Content) String() string

type Content_Audio

type Content_Audio struct {
	Audio *AudioContent `protobuf:"bytes,12,opt,name=audio,proto3,oneof"`
}

type Content_Confirmation

type Content_Confirmation struct {
	Confirmation *ConfirmationContent `protobuf:"bytes,26,opt,name=confirmation,proto3,oneof"` // TODO(jbd): Remove out of the Content.
}

type Content_Document

type Content_Document struct {
	Document *DocumentContent `protobuf:"bytes,13,opt,name=document,proto3,oneof"`
}

type Content_Image

type Content_Image struct {
	Image *ImageContent `protobuf:"bytes,11,opt,name=image,proto3,oneof"`
}

type Content_Text

type Content_Text struct {
	Text *TextContent `protobuf:"bytes,10,opt,name=text,proto3,oneof"`
}

type Content_Thought

type Content_Thought struct {
	Thought *ThoughtContent `protobuf:"bytes,5,opt,name=thought,proto3,oneof"`
}

type Content_ToolCall

type Content_ToolCall struct {
	ToolCall *ToolCallContent `protobuf:"bytes,24,opt,name=tool_call,json=toolCall,proto3,oneof"`
}

type Content_ToolResult

type Content_ToolResult struct {
	ToolResult *ToolResultContent `protobuf:"bytes,25,opt,name=tool_result,json=toolResult,proto3,oneof"`
}

type Content_Video

type Content_Video struct {
	Video *VideoContent `protobuf:"bytes,14,opt,name=video,proto3,oneof"`
}

type ConversationEvent

type ConversationEvent struct {
	ConversationId string           `protobuf:"bytes,1,opt,name=conversation_id,json=conversationId,proto3" json:"conversation_id,omitempty"`
	Seq            int32            `protobuf:"varint,2,opt,name=seq,proto3" json:"seq,omitempty"`
	ExecId         string           `protobuf:"bytes,3,opt,name=exec_id,json=execId,proto3" json:"exec_id,omitempty"`
	HarnessId      string           `protobuf:"bytes,4,opt,name=harness_id,json=harnessId,proto3" json:"harness_id,omitempty"`
	HarnessConfig  *structpb.Struct `protobuf:"bytes,5,opt,name=harness_config,json=harnessConfig,proto3" json:"harness_config,omitempty"`
	Messages       []*Message       `protobuf:"bytes,6,rep,name=messages,proto3" json:"messages,omitempty"`
	State          State            `protobuf:"varint,7,opt,name=state,proto3,enum=ax.State" json:"state,omitempty"`
	// contains filtered or unexported fields
}

A conversation is the historical session that consist of a number of execution. A conversation cannot be continued before the last execution is completed or failed.

func (*ConversationEvent) Descriptor deprecated

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

Deprecated: Use ConversationEvent.ProtoReflect.Descriptor instead.

func (*ConversationEvent) GetConversationId

func (x *ConversationEvent) GetConversationId() string

func (*ConversationEvent) GetExecId

func (x *ConversationEvent) GetExecId() string

func (*ConversationEvent) GetHarnessConfig added in v0.2.0

func (x *ConversationEvent) GetHarnessConfig() *structpb.Struct

func (*ConversationEvent) GetHarnessId added in v0.2.0

func (x *ConversationEvent) GetHarnessId() string

func (*ConversationEvent) GetMessages

func (x *ConversationEvent) GetMessages() []*Message

func (*ConversationEvent) GetSeq

func (x *ConversationEvent) GetSeq() int32

func (*ConversationEvent) GetState

func (x *ConversationEvent) GetState() State

func (*ConversationEvent) ProtoMessage

func (*ConversationEvent) ProtoMessage()

func (*ConversationEvent) ProtoReflect

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

func (*ConversationEvent) Reset

func (x *ConversationEvent) Reset()

func (*ConversationEvent) String

func (x *ConversationEvent) String() string

type ConversationServiceClient

type ConversationServiceClient interface {
	// Deletes conversational events and all event log resources
	// for its children executions.
	DeleteConversation(ctx context.Context, in *DeleteConversationRequest, opts ...grpc.CallOption) (*DeleteConversationResponse, error)
}

ConversationServiceClient is the client API for ConversationService 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 ConversationServiceServer

type ConversationServiceServer interface {
	// Deletes conversational events and all event log resources
	// for its children executions.
	DeleteConversation(context.Context, *DeleteConversationRequest) (*DeleteConversationResponse, error)
	// contains filtered or unexported methods
}

ConversationServiceServer is the server API for ConversationService service. All implementations must embed UnimplementedConversationServiceServer for forward compatibility.

type DeclineDecision

type DeclineDecision struct {
	Declined bool `protobuf:"varint,1,opt,name=declined,proto3" json:"declined,omitempty"`
	// contains filtered or unexported fields
}

func (*DeclineDecision) Descriptor deprecated

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

Deprecated: Use DeclineDecision.ProtoReflect.Descriptor instead.

func (*DeclineDecision) GetDeclined

func (x *DeclineDecision) GetDeclined() bool

func (*DeclineDecision) ProtoMessage

func (*DeclineDecision) ProtoMessage()

func (*DeclineDecision) ProtoReflect

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

func (*DeclineDecision) Reset

func (x *DeclineDecision) Reset()

func (*DeclineDecision) String

func (x *DeclineDecision) String() string

type DeleteConversationRequest

type DeleteConversationRequest struct {
	ConversationId string `protobuf:"bytes,1,opt,name=conversation_id,json=conversationId,proto3" json:"conversation_id,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteConversationRequest) Descriptor deprecated

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

Deprecated: Use DeleteConversationRequest.ProtoReflect.Descriptor instead.

func (*DeleteConversationRequest) GetConversationId

func (x *DeleteConversationRequest) GetConversationId() string

func (*DeleteConversationRequest) ProtoMessage

func (*DeleteConversationRequest) ProtoMessage()

func (*DeleteConversationRequest) ProtoReflect

func (*DeleteConversationRequest) Reset

func (x *DeleteConversationRequest) Reset()

func (*DeleteConversationRequest) String

func (x *DeleteConversationRequest) String() string

type DeleteConversationResponse

type DeleteConversationResponse struct {
	// contains filtered or unexported fields
}

func (*DeleteConversationResponse) Descriptor deprecated

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

Deprecated: Use DeleteConversationResponse.ProtoReflect.Descriptor instead.

func (*DeleteConversationResponse) ProtoMessage

func (*DeleteConversationResponse) ProtoMessage()

func (*DeleteConversationResponse) ProtoReflect

func (*DeleteConversationResponse) Reset

func (x *DeleteConversationResponse) Reset()

func (*DeleteConversationResponse) String

func (x *DeleteConversationResponse) String() string

type DocumentContent

type DocumentContent struct {
	MimeType DocumentContent_MimeType `protobuf:"varint,1,opt,name=mime_type,json=mimeType,proto3,enum=ax.DocumentContent_MimeType" json:"mime_type,omitempty"`
	// Types that are valid to be assigned to DataOrUri:
	//
	//	*DocumentContent_Data
	//	*DocumentContent_Uri
	DataOrUri isDocumentContent_DataOrUri `protobuf_oneof:"data_or_uri"`
	// contains filtered or unexported fields
}

A document content block.

func (*DocumentContent) Descriptor deprecated

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

Deprecated: Use DocumentContent.ProtoReflect.Descriptor instead.

func (*DocumentContent) GetData

func (x *DocumentContent) GetData() []byte

func (*DocumentContent) GetDataOrUri

func (x *DocumentContent) GetDataOrUri() isDocumentContent_DataOrUri

func (*DocumentContent) GetMimeType

func (x *DocumentContent) GetMimeType() DocumentContent_MimeType

func (*DocumentContent) GetUri

func (x *DocumentContent) GetUri() string

func (*DocumentContent) ProtoMessage

func (*DocumentContent) ProtoMessage()

func (*DocumentContent) ProtoReflect

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

func (*DocumentContent) Reset

func (x *DocumentContent) Reset()

func (*DocumentContent) String

func (x *DocumentContent) String() string

type DocumentContent_Data

type DocumentContent_Data struct {
	Data []byte `protobuf:"bytes,2,opt,name=data,proto3,oneof"`
}

type DocumentContent_MimeType

type DocumentContent_MimeType int32
const (
	DocumentContent_TYPE_UNSPECIFIED DocumentContent_MimeType = 0
	DocumentContent_TYPE_PDF         DocumentContent_MimeType = 1 // application/pdf
	DocumentContent_TYPE_JSON        DocumentContent_MimeType = 2 // application/json
	DocumentContent_TYPE_PYTHON      DocumentContent_MimeType = 3 // text/x-python
)

func (DocumentContent_MimeType) Descriptor

func (DocumentContent_MimeType) Enum

func (DocumentContent_MimeType) EnumDescriptor deprecated

func (DocumentContent_MimeType) EnumDescriptor() ([]byte, []int)

Deprecated: Use DocumentContent_MimeType.Descriptor instead.

func (DocumentContent_MimeType) Number

func (DocumentContent_MimeType) String

func (x DocumentContent_MimeType) String() string

func (DocumentContent_MimeType) Type

type DocumentContent_Uri

type DocumentContent_Uri struct {
	Uri string `protobuf:"bytes,5,opt,name=uri,proto3,oneof"`
}

type Error added in v0.2.0

type Error struct {

	// A status code, corresponds to google.golang.org/grpc/codes.
	Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`
	// A description of the error.
	Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	// contains filtered or unexported fields
}

func (*Error) Descriptor deprecated added in v0.2.0

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

Deprecated: Use Error.ProtoReflect.Descriptor instead.

func (*Error) GetCode added in v0.2.0

func (x *Error) GetCode() int32

func (*Error) GetDescription added in v0.2.0

func (x *Error) GetDescription() string

func (*Error) ProtoMessage added in v0.2.0

func (*Error) ProtoMessage()

func (*Error) ProtoReflect added in v0.2.0

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

func (*Error) Reset added in v0.2.0

func (x *Error) Reset()

func (*Error) String added in v0.2.0

func (x *Error) String() string

type ExecRequest

type ExecRequest struct {
	ConversationId string     `protobuf:"bytes,1,opt,name=conversation_id,json=conversationId,proto3" json:"conversation_id,omitempty"` // Unique conversation identifier
	Inputs         []*Message `protobuf:"bytes,2,rep,name=inputs,proto3" json:"inputs,omitempty"`                                       // New inputs
	LastSeq        int32      `protobuf:"varint,3,opt,name=last_seq,json=lastSeq,proto3" json:"last_seq,omitempty"`                     // Last sequence number seen by the client
	HarnessId      string     `protobuf:"bytes,4,opt,name=harness_id,json=harnessId,proto3" json:"harness_id,omitempty"`                // Harness ID, empty selects the default harness
	HarnessConfig  []byte     `protobuf:"bytes,5,opt,name=harness_config,json=harnessConfig,proto3" json:"harness_config,omitempty"`    // Per-request harness configuration (opaque JSON), if any
	// contains filtered or unexported fields
}

ExecRequest for executing.

func (*ExecRequest) Descriptor deprecated

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

Deprecated: Use ExecRequest.ProtoReflect.Descriptor instead.

func (*ExecRequest) GetConversationId

func (x *ExecRequest) GetConversationId() string

func (*ExecRequest) GetHarnessConfig added in v0.2.0

func (x *ExecRequest) GetHarnessConfig() []byte

func (*ExecRequest) GetHarnessId added in v0.2.0

func (x *ExecRequest) GetHarnessId() string

func (*ExecRequest) GetInputs

func (x *ExecRequest) GetInputs() []*Message

func (*ExecRequest) GetLastSeq

func (x *ExecRequest) GetLastSeq() int32

func (*ExecRequest) ProtoMessage

func (*ExecRequest) ProtoMessage()

func (*ExecRequest) ProtoReflect

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

func (*ExecRequest) Reset

func (x *ExecRequest) Reset()

func (*ExecRequest) String

func (x *ExecRequest) String() string

type ExecResponse

type ExecResponse struct {
	Outputs []*Message `protobuf:"bytes,1,rep,name=outputs,proto3" json:"outputs,omitempty"` // Output content
	Seq     int32      `protobuf:"varint,2,opt,name=seq,proto3" json:"seq,omitempty"`        // Seq of the outputs
	// contains filtered or unexported fields
}

ExecResponse contains the result of an execution.

func (*ExecResponse) Descriptor deprecated

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

Deprecated: Use ExecResponse.ProtoReflect.Descriptor instead.

func (*ExecResponse) GetOutputs

func (x *ExecResponse) GetOutputs() []*Message

func (*ExecResponse) GetSeq

func (x *ExecResponse) GetSeq() int32

func (*ExecResponse) ProtoMessage

func (*ExecResponse) ProtoMessage()

func (*ExecResponse) ProtoReflect

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

func (*ExecResponse) Reset

func (x *ExecResponse) Reset()

func (*ExecResponse) String

func (x *ExecResponse) String() string

type ExecutionServiceClient added in v0.2.0

type ExecutionServiceClient interface {
	// Exec executes an agentic task or resumes an existing one with streaming responses
	// If the conversation_id already exists, it will be resumed.
	Exec(ctx context.Context, in *ExecRequest, opts ...grpc.CallOption) (grpc.ServerStreamingClient[ExecResponse], error)
}

ExecutionServiceClient is the client API for ExecutionService 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 NewExecutionServiceClient added in v0.2.0

func NewExecutionServiceClient(cc grpc.ClientConnInterface) ExecutionServiceClient

type ExecutionServiceServer added in v0.2.0

type ExecutionServiceServer interface {
	// Exec executes an agentic task or resumes an existing one with streaming responses
	// If the conversation_id already exists, it will be resumed.
	Exec(*ExecRequest, grpc.ServerStreamingServer[ExecResponse]) error
	// contains filtered or unexported methods
}

ExecutionServiceServer is the server API for ExecutionService service. All implementations must embed UnimplementedExecutionServiceServer for forward compatibility.

type ExecutionService_ExecClient added in v0.2.0

type ExecutionService_ExecClient = grpc.ServerStreamingClient[ExecResponse]

This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.

type ExecutionService_ExecServer added in v0.2.0

type ExecutionService_ExecServer = grpc.ServerStreamingServer[ExecResponse]

This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.

type FunctionCallContent

type FunctionCallContent struct {
	Name      string           `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	Arguments *structpb.Struct `protobuf:"bytes,4,opt,name=arguments,proto3" json:"arguments,omitempty"`
	// contains filtered or unexported fields
}

func (*FunctionCallContent) Descriptor deprecated

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

Deprecated: Use FunctionCallContent.ProtoReflect.Descriptor instead.

func (*FunctionCallContent) GetArguments

func (x *FunctionCallContent) GetArguments() *structpb.Struct

func (*FunctionCallContent) GetName

func (x *FunctionCallContent) GetName() string

func (*FunctionCallContent) ProtoMessage

func (*FunctionCallContent) ProtoMessage()

func (*FunctionCallContent) ProtoReflect

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

func (*FunctionCallContent) Reset

func (x *FunctionCallContent) Reset()

func (*FunctionCallContent) String

func (x *FunctionCallContent) String() string

type FunctionResultContent

type FunctionResultContent struct {
	Name string `protobuf:"bytes,8,opt,name=name,proto3" json:"name,omitempty"`
	// Types that are valid to be assigned to Result:
	//
	//	*FunctionResultContent_Response
	Result isFunctionResultContent_Result `protobuf_oneof:"result"`
	// contains filtered or unexported fields
}

func (*FunctionResultContent) Descriptor deprecated

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

Deprecated: Use FunctionResultContent.ProtoReflect.Descriptor instead.

func (*FunctionResultContent) GetName

func (x *FunctionResultContent) GetName() string

func (*FunctionResultContent) GetResponse

func (x *FunctionResultContent) GetResponse() *structpb.Struct

func (*FunctionResultContent) GetResult

func (x *FunctionResultContent) GetResult() isFunctionResultContent_Result

func (*FunctionResultContent) ProtoMessage

func (*FunctionResultContent) ProtoMessage()

func (*FunctionResultContent) ProtoReflect

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

func (*FunctionResultContent) Reset

func (x *FunctionResultContent) Reset()

func (*FunctionResultContent) String

func (x *FunctionResultContent) String() string

type FunctionResultContent_Response

type FunctionResultContent_Response struct {
	Response *structpb.Struct `protobuf:"bytes,3,opt,name=response,proto3,oneof"`
}

type HarnessCancel added in v0.2.0

type HarnessCancel struct {
	Reason CancelReason `protobuf:"varint,1,opt,name=reason,proto3,enum=ax.CancelReason" json:"reason,omitempty"`
	// contains filtered or unexported fields
}

HarnessCancel aborts the in-flight harness execution.

func (*HarnessCancel) Descriptor deprecated added in v0.2.0

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

Deprecated: Use HarnessCancel.ProtoReflect.Descriptor instead.

func (*HarnessCancel) GetReason added in v0.2.0

func (x *HarnessCancel) GetReason() CancelReason

func (*HarnessCancel) ProtoMessage added in v0.2.0

func (*HarnessCancel) ProtoMessage()

func (*HarnessCancel) ProtoReflect added in v0.2.0

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

func (*HarnessCancel) Reset added in v0.2.0

func (x *HarnessCancel) Reset()

func (*HarnessCancel) String added in v0.2.0

func (x *HarnessCancel) String() string

type HarnessEnd added in v0.2.0

type HarnessEnd struct {

	// Terminal state for the harness execution.
	State State `protobuf:"varint,1,opt,name=state,proto3,enum=ax.State" json:"state,omitempty"`
	// Optional error details.
	Error *Error `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"`
	// contains filtered or unexported fields
}

func (*HarnessEnd) Descriptor deprecated added in v0.2.0

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

Deprecated: Use HarnessEnd.ProtoReflect.Descriptor instead.

func (*HarnessEnd) GetError added in v0.2.0

func (x *HarnessEnd) GetError() *Error

func (*HarnessEnd) GetState added in v0.2.0

func (x *HarnessEnd) GetState() State

func (*HarnessEnd) ProtoMessage added in v0.2.0

func (*HarnessEnd) ProtoMessage()

func (*HarnessEnd) ProtoReflect added in v0.2.0

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

func (*HarnessEnd) Reset added in v0.2.0

func (x *HarnessEnd) Reset()

func (*HarnessEnd) String added in v0.2.0

func (x *HarnessEnd) String() string

type HarnessOutputs added in v0.2.0

type HarnessOutputs struct {
	Messages []*Message `protobuf:"bytes,1,rep,name=messages,proto3" json:"messages,omitempty"`
	// contains filtered or unexported fields
}

func (*HarnessOutputs) Descriptor deprecated added in v0.2.0

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

Deprecated: Use HarnessOutputs.ProtoReflect.Descriptor instead.

func (*HarnessOutputs) GetMessages added in v0.2.0

func (x *HarnessOutputs) GetMessages() []*Message

func (*HarnessOutputs) ProtoMessage added in v0.2.0

func (*HarnessOutputs) ProtoMessage()

func (*HarnessOutputs) ProtoReflect added in v0.2.0

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

func (*HarnessOutputs) Reset added in v0.2.0

func (x *HarnessOutputs) Reset()

func (*HarnessOutputs) String added in v0.2.0

func (x *HarnessOutputs) String() string

type HarnessRequest added in v0.2.0

type HarnessRequest struct {
	ConversationId string `protobuf:"bytes,1,opt,name=conversation_id,json=conversationId,proto3" json:"conversation_id,omitempty"`
	HarnessId      string `protobuf:"bytes,2,opt,name=harness_id,json=harnessId,proto3" json:"harness_id,omitempty"`
	// Types that are valid to be assigned to Type:
	//
	//	*HarnessRequest_Start
	//	*HarnessRequest_Cancel
	Type isHarnessRequest_Type `protobuf_oneof:"type"`
	// contains filtered or unexported fields
}

func (*HarnessRequest) Descriptor deprecated added in v0.2.0

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

Deprecated: Use HarnessRequest.ProtoReflect.Descriptor instead.

func (*HarnessRequest) GetCancel added in v0.2.0

func (x *HarnessRequest) GetCancel() *HarnessCancel

func (*HarnessRequest) GetConversationId added in v0.2.0

func (x *HarnessRequest) GetConversationId() string

func (*HarnessRequest) GetHarnessId added in v0.2.0

func (x *HarnessRequest) GetHarnessId() string

func (*HarnessRequest) GetStart added in v0.2.0

func (x *HarnessRequest) GetStart() *HarnessStart

func (*HarnessRequest) GetType added in v0.2.0

func (x *HarnessRequest) GetType() isHarnessRequest_Type

func (*HarnessRequest) ProtoMessage added in v0.2.0

func (*HarnessRequest) ProtoMessage()

func (*HarnessRequest) ProtoReflect added in v0.2.0

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

func (*HarnessRequest) Reset added in v0.2.0

func (x *HarnessRequest) Reset()

func (*HarnessRequest) String added in v0.2.0

func (x *HarnessRequest) String() string

type HarnessRequest_Cancel added in v0.2.0

type HarnessRequest_Cancel struct {
	Cancel *HarnessCancel `protobuf:"bytes,4,opt,name=cancel,proto3,oneof"`
}

type HarnessRequest_Start added in v0.2.0

type HarnessRequest_Start struct {
	Start *HarnessStart `protobuf:"bytes,3,opt,name=start,proto3,oneof"`
}

type HarnessResponse added in v0.2.0

type HarnessResponse struct {
	ConversationId string `protobuf:"bytes,1,opt,name=conversation_id,json=conversationId,proto3" json:"conversation_id,omitempty"`
	// Types that are valid to be assigned to Type:
	//
	//	*HarnessResponse_Outputs
	//	*HarnessResponse_End
	Type isHarnessResponse_Type `protobuf_oneof:"type"`
	// contains filtered or unexported fields
}

func (*HarnessResponse) Descriptor deprecated added in v0.2.0

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

Deprecated: Use HarnessResponse.ProtoReflect.Descriptor instead.

func (*HarnessResponse) GetConversationId added in v0.2.0

func (x *HarnessResponse) GetConversationId() string

func (*HarnessResponse) GetEnd added in v0.2.0

func (x *HarnessResponse) GetEnd() *HarnessEnd

func (*HarnessResponse) GetOutputs added in v0.2.0

func (x *HarnessResponse) GetOutputs() *HarnessOutputs

func (*HarnessResponse) GetType added in v0.2.0

func (x *HarnessResponse) GetType() isHarnessResponse_Type

func (*HarnessResponse) ProtoMessage added in v0.2.0

func (*HarnessResponse) ProtoMessage()

func (*HarnessResponse) ProtoReflect added in v0.2.0

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

func (*HarnessResponse) Reset added in v0.2.0

func (x *HarnessResponse) Reset()

func (*HarnessResponse) String added in v0.2.0

func (x *HarnessResponse) String() string

type HarnessResponse_End added in v0.2.0

type HarnessResponse_End struct {
	End *HarnessEnd `protobuf:"bytes,3,opt,name=end,proto3,oneof"`
}

type HarnessResponse_Outputs added in v0.2.0

type HarnessResponse_Outputs struct {
	Outputs *HarnessOutputs `protobuf:"bytes,2,opt,name=outputs,proto3,oneof"`
}

type HarnessServiceClient added in v0.2.0

type HarnessServiceClient interface {
	// Connect drives one harness execution. The client sends
	// HarnessRequest{start} (and may send one HarnessRequest{cancel}
	// mid-stream), and the server streams zero or more HarnessResponse{outputs}
	// frames terminated by exactly one HarnessResponse{end}.
	Connect(ctx context.Context, opts ...grpc.CallOption) (grpc.BidiStreamingClient[HarnessRequest, HarnessResponse], error)
}

HarnessServiceClient is the client API for HarnessService 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 NewHarnessServiceClient added in v0.2.0

func NewHarnessServiceClient(cc grpc.ClientConnInterface) HarnessServiceClient

type HarnessServiceServer added in v0.2.0

type HarnessServiceServer interface {
	// Connect drives one harness execution. The client sends
	// HarnessRequest{start} (and may send one HarnessRequest{cancel}
	// mid-stream), and the server streams zero or more HarnessResponse{outputs}
	// frames terminated by exactly one HarnessResponse{end}.
	Connect(grpc.BidiStreamingServer[HarnessRequest, HarnessResponse]) error
	// contains filtered or unexported methods
}

HarnessServiceServer is the server API for HarnessService service. All implementations must embed UnimplementedHarnessServiceServer for forward compatibility.

type HarnessService_ConnectClient added in v0.2.0

type HarnessService_ConnectClient = grpc.BidiStreamingClient[HarnessRequest, HarnessResponse]

This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.

type HarnessService_ConnectServer added in v0.2.0

type HarnessService_ConnectServer = grpc.BidiStreamingServer[HarnessRequest, HarnessResponse]

This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.

type HarnessStart added in v0.2.0

type HarnessStart struct {

	// Per-execution harness configuration.
	HarnessConfig []byte     `protobuf:"bytes,1,opt,name=harness_config,json=harnessConfig,proto3" json:"harness_config,omitempty"`
	Messages      []*Message `protobuf:"bytes,2,rep,name=messages,proto3" json:"messages,omitempty"`
	// contains filtered or unexported fields
}

func (*HarnessStart) Descriptor deprecated added in v0.2.0

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

Deprecated: Use HarnessStart.ProtoReflect.Descriptor instead.

func (*HarnessStart) GetHarnessConfig added in v0.2.0

func (x *HarnessStart) GetHarnessConfig() []byte

func (*HarnessStart) GetMessages added in v0.2.0

func (x *HarnessStart) GetMessages() []*Message

func (*HarnessStart) ProtoMessage added in v0.2.0

func (*HarnessStart) ProtoMessage()

func (*HarnessStart) ProtoReflect added in v0.2.0

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

func (*HarnessStart) Reset added in v0.2.0

func (x *HarnessStart) Reset()

func (*HarnessStart) String added in v0.2.0

func (x *HarnessStart) String() string

type ImageContent

type ImageContent struct {
	MimeType ImageContent_MimeType `protobuf:"varint,1,opt,name=mime_type,json=mimeType,proto3,enum=ax.ImageContent_MimeType" json:"mime_type,omitempty"`
	// Types that are valid to be assigned to DataOrUri:
	//
	//	*ImageContent_Data
	//	*ImageContent_Uri
	DataOrUri  isImageContent_DataOrUri `protobuf_oneof:"data_or_uri"`
	Resolution MediaResolution          `protobuf:"varint,5,opt,name=resolution,proto3,enum=ax.MediaResolution" json:"resolution,omitempty"`
	// contains filtered or unexported fields
}

An image content block.

func (*ImageContent) Descriptor deprecated

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

Deprecated: Use ImageContent.ProtoReflect.Descriptor instead.

func (*ImageContent) GetData

func (x *ImageContent) GetData() []byte

func (*ImageContent) GetDataOrUri

func (x *ImageContent) GetDataOrUri() isImageContent_DataOrUri

func (*ImageContent) GetMimeType

func (x *ImageContent) GetMimeType() ImageContent_MimeType

func (*ImageContent) GetResolution

func (x *ImageContent) GetResolution() MediaResolution

func (*ImageContent) GetUri

func (x *ImageContent) GetUri() string

func (*ImageContent) ProtoMessage

func (*ImageContent) ProtoMessage()

func (*ImageContent) ProtoReflect

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

func (*ImageContent) Reset

func (x *ImageContent) Reset()

func (*ImageContent) String

func (x *ImageContent) String() string

type ImageContent_Data

type ImageContent_Data struct {
	Data []byte `protobuf:"bytes,2,opt,name=data,proto3,oneof"`
}

type ImageContent_MimeType

type ImageContent_MimeType int32
const (
	ImageContent_TYPE_UNSPECIFIED ImageContent_MimeType = 0
	ImageContent_TYPE_PNG         ImageContent_MimeType = 1 // image/png
	ImageContent_TYPE_JPEG        ImageContent_MimeType = 2 // image/jpeg
	ImageContent_TYPE_WEBP        ImageContent_MimeType = 3 // image/webp
	ImageContent_TYPE_HEIC        ImageContent_MimeType = 4 // image/heic
	ImageContent_TYPE_HEIF        ImageContent_MimeType = 5 // image/heif
	ImageContent_TYPE_GIF         ImageContent_MimeType = 7 // image/gif
	ImageContent_TYPE_BMP         ImageContent_MimeType = 8 // image/bmp
	ImageContent_TYPE_TIFF        ImageContent_MimeType = 9 // image/tiff
)

func (ImageContent_MimeType) Descriptor

func (ImageContent_MimeType) Enum

func (ImageContent_MimeType) EnumDescriptor deprecated

func (ImageContent_MimeType) EnumDescriptor() ([]byte, []int)

Deprecated: Use ImageContent_MimeType.Descriptor instead.

func (ImageContent_MimeType) Number

func (ImageContent_MimeType) String

func (x ImageContent_MimeType) String() string

func (ImageContent_MimeType) Type

type ImageContent_Uri

type ImageContent_Uri struct {
	Uri string `protobuf:"bytes,6,opt,name=uri,proto3,oneof"`
}

type MediaResolution

type MediaResolution int32

Resolution for input media (images/video).

const (
	MediaResolution_MEDIA_RESOLUTION_UNSPECIFIED MediaResolution = 0
	MediaResolution_LOW                          MediaResolution = 1
	MediaResolution_MEDIUM                       MediaResolution = 2
	MediaResolution_HIGH                         MediaResolution = 3
	MediaResolution_ULTRA_HIGH                   MediaResolution = 4
)

func (MediaResolution) Descriptor

func (MediaResolution) Enum

func (x MediaResolution) Enum() *MediaResolution

func (MediaResolution) EnumDescriptor deprecated

func (MediaResolution) EnumDescriptor() ([]byte, []int)

Deprecated: Use MediaResolution.Descriptor instead.

func (MediaResolution) Number

func (MediaResolution) String

func (x MediaResolution) String() string

func (MediaResolution) Type

type Message

type Message struct {
	Role    string   `protobuf:"bytes,1,opt,name=role,proto3" json:"role,omitempty"`       // user, assistant, or model
	Content *Content `protobuf:"bytes,2,opt,name=content,proto3" json:"content,omitempty"` // content of the message
	// contains filtered or unexported fields
}

Message is a message in the history.

func (*Message) Descriptor deprecated

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

Deprecated: Use Message.ProtoReflect.Descriptor instead.

func (*Message) GetContent

func (x *Message) GetContent() *Content

func (*Message) GetRole

func (x *Message) GetRole() string

func (*Message) ProtoMessage

func (*Message) ProtoMessage()

func (*Message) ProtoReflect

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

func (*Message) Reset

func (x *Message) Reset()

func (*Message) String

func (x *Message) String() string

type State

type State int32

State represents the state of an execution

const (
	State_STATE_UNSPECIFIED State = 0 // Unspecified state
	State_STATE_PENDING     State = 1
	State_STATE_FAILED      State = 2
	State_STATE_COMPLETED   State = 3
	State_STATE_CANCELED    State = 4
)

func (State) Descriptor

func (State) Descriptor() protoreflect.EnumDescriptor

func (State) Enum

func (x State) Enum() *State

func (State) EnumDescriptor deprecated

func (State) EnumDescriptor() ([]byte, []int)

Deprecated: Use State.Descriptor instead.

func (State) Number

func (x State) Number() protoreflect.EnumNumber

func (State) String

func (x State) String() string

func (State) Type

func (State) Type() protoreflect.EnumType

type TextContent

type TextContent struct {
	Text string `protobuf:"bytes,3,opt,name=text,proto3" json:"text,omitempty"`
	// contains filtered or unexported fields
}

TextContent represents a text content.

func (*TextContent) Descriptor deprecated

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

Deprecated: Use TextContent.ProtoReflect.Descriptor instead.

func (*TextContent) GetText

func (x *TextContent) GetText() string

func (*TextContent) ProtoMessage

func (*TextContent) ProtoMessage()

func (*TextContent) ProtoReflect

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

func (*TextContent) Reset

func (x *TextContent) Reset()

func (*TextContent) String

func (x *TextContent) String() string

type ThoughtContent

type ThoughtContent struct {
	Signature []byte                   `protobuf:"bytes,7,opt,name=signature,proto3" json:"signature,omitempty"`
	Summary   []*ThoughtSummaryContent `protobuf:"bytes,9,rep,name=summary,proto3" json:"summary,omitempty"`
	// contains filtered or unexported fields
}

func (*ThoughtContent) Descriptor deprecated

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

Deprecated: Use ThoughtContent.ProtoReflect.Descriptor instead.

func (*ThoughtContent) GetSignature

func (x *ThoughtContent) GetSignature() []byte

func (*ThoughtContent) GetSummary

func (x *ThoughtContent) GetSummary() []*ThoughtSummaryContent

func (*ThoughtContent) ProtoMessage

func (*ThoughtContent) ProtoMessage()

func (*ThoughtContent) ProtoReflect

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

func (*ThoughtContent) Reset

func (x *ThoughtContent) Reset()

func (*ThoughtContent) String

func (x *ThoughtContent) String() string

type ThoughtSummaryContent

type ThoughtSummaryContent struct {

	// Types that are valid to be assigned to Type:
	//
	//	*ThoughtSummaryContent_Text
	Type isThoughtSummaryContent_Type `protobuf_oneof:"type"`
	// contains filtered or unexported fields
}

func (*ThoughtSummaryContent) Descriptor deprecated

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

Deprecated: Use ThoughtSummaryContent.ProtoReflect.Descriptor instead.

func (*ThoughtSummaryContent) GetText

func (x *ThoughtSummaryContent) GetText() *TextContent

func (*ThoughtSummaryContent) GetType

func (x *ThoughtSummaryContent) GetType() isThoughtSummaryContent_Type

func (*ThoughtSummaryContent) ProtoMessage

func (*ThoughtSummaryContent) ProtoMessage()

func (*ThoughtSummaryContent) ProtoReflect

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

func (*ThoughtSummaryContent) Reset

func (x *ThoughtSummaryContent) Reset()

func (*ThoughtSummaryContent) String

func (x *ThoughtSummaryContent) String() string

type ThoughtSummaryContent_Text

type ThoughtSummaryContent_Text struct {
	Text *TextContent `protobuf:"bytes,1,opt,name=text,proto3,oneof"`
}

type ToolCallContent

type ToolCallContent struct {
	Id        string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`               // A unique ID for this specific tool call.
	Signature []byte `protobuf:"bytes,9,opt,name=signature,proto3" json:"signature,omitempty"` // A signature hash for backend validation.
	// Types that are valid to be assigned to Type:
	//
	//	*ToolCallContent_FunctionCall
	Type isToolCallContent_Type `protobuf_oneof:"type"`
	// contains filtered or unexported fields
}

func (*ToolCallContent) Descriptor deprecated

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

Deprecated: Use ToolCallContent.ProtoReflect.Descriptor instead.

func (*ToolCallContent) GetFunctionCall

func (x *ToolCallContent) GetFunctionCall() *FunctionCallContent

func (*ToolCallContent) GetId

func (x *ToolCallContent) GetId() string

func (*ToolCallContent) GetSignature

func (x *ToolCallContent) GetSignature() []byte

func (*ToolCallContent) GetType

func (x *ToolCallContent) GetType() isToolCallContent_Type

func (*ToolCallContent) ProtoMessage

func (*ToolCallContent) ProtoMessage()

func (*ToolCallContent) ProtoReflect

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

func (*ToolCallContent) Reset

func (x *ToolCallContent) Reset()

func (*ToolCallContent) String

func (x *ToolCallContent) String() string

type ToolCallContent_FunctionCall

type ToolCallContent_FunctionCall struct {
	FunctionCall *FunctionCallContent `protobuf:"bytes,2,opt,name=function_call,json=functionCall,proto3,oneof"`
}

type ToolResultContent

type ToolResultContent struct {
	CallId    string `protobuf:"bytes,8,opt,name=call_id,json=callId,proto3" json:"call_id,omitempty"` // ID to match the ID from the function call block.
	Signature []byte `protobuf:"bytes,9,opt,name=signature,proto3" json:"signature,omitempty"`         // A signature hash for backend validation.
	// Types that are valid to be assigned to Type:
	//
	//	*ToolResultContent_FunctionResult
	Type isToolResultContent_Type `protobuf_oneof:"type"`
	// contains filtered or unexported fields
}

func (*ToolResultContent) Descriptor deprecated

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

Deprecated: Use ToolResultContent.ProtoReflect.Descriptor instead.

func (*ToolResultContent) GetCallId

func (x *ToolResultContent) GetCallId() string

func (*ToolResultContent) GetFunctionResult

func (x *ToolResultContent) GetFunctionResult() *FunctionResultContent

func (*ToolResultContent) GetSignature

func (x *ToolResultContent) GetSignature() []byte

func (*ToolResultContent) GetType

func (x *ToolResultContent) GetType() isToolResultContent_Type

func (*ToolResultContent) ProtoMessage

func (*ToolResultContent) ProtoMessage()

func (*ToolResultContent) ProtoReflect

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

func (*ToolResultContent) Reset

func (x *ToolResultContent) Reset()

func (*ToolResultContent) String

func (x *ToolResultContent) String() string

type ToolResultContent_FunctionResult

type ToolResultContent_FunctionResult struct {
	FunctionResult *FunctionResultContent `protobuf:"bytes,2,opt,name=function_result,json=functionResult,proto3,oneof"`
}

type UnimplementedConversationServiceServer

type UnimplementedConversationServiceServer struct{}

UnimplementedConversationServiceServer 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 (UnimplementedConversationServiceServer) DeleteConversation

type UnimplementedExecutionServiceServer added in v0.2.0

type UnimplementedExecutionServiceServer struct{}

UnimplementedExecutionServiceServer 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 (UnimplementedExecutionServiceServer) Exec added in v0.2.0

type UnimplementedHarnessServiceServer added in v0.2.0

type UnimplementedHarnessServiceServer struct{}

UnimplementedHarnessServiceServer 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 (UnimplementedHarnessServiceServer) Connect added in v0.2.0

type UnsafeConversationServiceServer

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

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

type UnsafeExecutionServiceServer added in v0.2.0

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

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

type UnsafeHarnessServiceServer added in v0.2.0

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

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

type VideoContent

type VideoContent struct {
	MimeType VideoContent_MimeType `protobuf:"varint,1,opt,name=mime_type,json=mimeType,proto3,enum=ax.VideoContent_MimeType" json:"mime_type,omitempty"`
	// Types that are valid to be assigned to DataOrUri:
	//
	//	*VideoContent_Data
	//	*VideoContent_Uri
	DataOrUri  isVideoContent_DataOrUri `protobuf_oneof:"data_or_uri"`
	Resolution MediaResolution          `protobuf:"varint,5,opt,name=resolution,proto3,enum=ax.MediaResolution" json:"resolution,omitempty"`
	// contains filtered or unexported fields
}

A video content block.

func (*VideoContent) Descriptor deprecated

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

Deprecated: Use VideoContent.ProtoReflect.Descriptor instead.

func (*VideoContent) GetData

func (x *VideoContent) GetData() []byte

func (*VideoContent) GetDataOrUri

func (x *VideoContent) GetDataOrUri() isVideoContent_DataOrUri

func (*VideoContent) GetMimeType

func (x *VideoContent) GetMimeType() VideoContent_MimeType

func (*VideoContent) GetResolution

func (x *VideoContent) GetResolution() MediaResolution

func (*VideoContent) GetUri

func (x *VideoContent) GetUri() string

func (*VideoContent) ProtoMessage

func (*VideoContent) ProtoMessage()

func (*VideoContent) ProtoReflect

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

func (*VideoContent) Reset

func (x *VideoContent) Reset()

func (*VideoContent) String

func (x *VideoContent) String() string

type VideoContent_Data

type VideoContent_Data struct {
	Data []byte `protobuf:"bytes,2,opt,name=data,proto3,oneof"`
}

type VideoContent_MimeType

type VideoContent_MimeType int32
const (
	VideoContent_TYPE_UNSPECIFIED VideoContent_MimeType = 0
	VideoContent_TYPE_MP4         VideoContent_MimeType = 1 // video/mp4
	VideoContent_TYPE_MPEG        VideoContent_MimeType = 2 // video/mpeg
	VideoContent_TYPE_MPG         VideoContent_MimeType = 3 // video/mpg
	VideoContent_TYPE_MOV         VideoContent_MimeType = 4 // video/mov
	VideoContent_TYPE_AVI         VideoContent_MimeType = 5 // video/avi
	VideoContent_TYPE_X_FLV       VideoContent_MimeType = 6 // video/x-flv
	VideoContent_TYPE_WEBM        VideoContent_MimeType = 7 // video/webm
	VideoContent_TYPE_WMV         VideoContent_MimeType = 8 // video/wmv
	VideoContent_TYPE_3GPP        VideoContent_MimeType = 9 // video/3gpp
)

func (VideoContent_MimeType) Descriptor

func (VideoContent_MimeType) Enum

func (VideoContent_MimeType) EnumDescriptor deprecated

func (VideoContent_MimeType) EnumDescriptor() ([]byte, []int)

Deprecated: Use VideoContent_MimeType.Descriptor instead.

func (VideoContent_MimeType) Number

func (VideoContent_MimeType) String

func (x VideoContent_MimeType) String() string

func (VideoContent_MimeType) Type

type VideoContent_Uri

type VideoContent_Uri struct {
	Uri string `protobuf:"bytes,6,opt,name=uri,proto3,oneof"`
}

Jump to

Keyboard shortcuts

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