Documentation
¶
Overview ¶
Package mindv1 is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Constants
- Variables
- func RegisterMindServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterMindServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client MindServiceClient) error
- func RegisterMindServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterMindServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server MindServiceServer) error
- func RegisterMindServiceServer(s grpc.ServiceRegistrar, srv MindServiceServer)
- type ApproveChangesRequest
- func (*ApproveChangesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ApproveChangesRequest) GetObjectiveId() string
- func (x *ApproveChangesRequest) GetSessionId() string
- func (*ApproveChangesRequest) ProtoMessage()
- func (x *ApproveChangesRequest) ProtoReflect() protoreflect.Message
- func (x *ApproveChangesRequest) Reset()
- func (x *ApproveChangesRequest) String() string
- type ApproveChangesResponse
- func (*ApproveChangesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ApproveChangesResponse) GetFilesCommitted() []string
- func (*ApproveChangesResponse) ProtoMessage()
- func (x *ApproveChangesResponse) ProtoReflect() protoreflect.Message
- func (x *ApproveChangesResponse) Reset()
- func (x *ApproveChangesResponse) String() string
- type BuildRequest
- type BuildResponse
- func (*BuildResponse) Descriptor() ([]byte, []int)deprecated
- func (x *BuildResponse) GetOutput() string
- func (x *BuildResponse) GetSuccess() bool
- func (*BuildResponse) ProtoMessage()
- func (x *BuildResponse) ProtoReflect() protoreflect.Message
- func (x *BuildResponse) Reset()
- func (x *BuildResponse) String() string
- type CancelOperationRequest
- func (*CancelOperationRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CancelOperationRequest) GetSessionId() string
- func (*CancelOperationRequest) ProtoMessage()
- func (x *CancelOperationRequest) ProtoReflect() protoreflect.Message
- func (x *CancelOperationRequest) Reset()
- func (x *CancelOperationRequest) String() string
- type CancelOperationResponse
- type ChangeEntry
- func (*ChangeEntry) Descriptor() ([]byte, []int)deprecated
- func (x *ChangeEntry) GetAction() string
- func (x *ChangeEntry) GetFile() string
- func (x *ChangeEntry) GetWhat() string
- func (*ChangeEntry) ProtoMessage()
- func (x *ChangeEntry) ProtoReflect() protoreflect.Message
- func (x *ChangeEntry) Reset()
- func (x *ChangeEntry) String() string
- type ChatCommandOutput
- func (*ChatCommandOutput) Descriptor() ([]byte, []int)deprecated
- func (x *ChatCommandOutput) GetCommand() string
- func (x *ChatCommandOutput) GetOutput() string
- func (*ChatCommandOutput) ProtoMessage()
- func (x *ChatCommandOutput) ProtoReflect() protoreflect.Message
- func (x *ChatCommandOutput) Reset()
- func (x *ChatCommandOutput) String() string
- type ChatComplete
- func (*ChatComplete) Descriptor() ([]byte, []int)deprecated
- func (x *ChatComplete) GetMetrics() *ContextMetrics
- func (x *ChatComplete) GetText() string
- func (*ChatComplete) ProtoMessage()
- func (x *ChatComplete) ProtoReflect() protoreflect.Message
- func (x *ChatComplete) Reset()
- func (x *ChatComplete) String() string
- type ChatError
- type ChatEvent
- func (*ChatEvent) Descriptor() ([]byte, []int)deprecated
- func (x *ChatEvent) GetCommand() *ChatCommandOutput
- func (x *ChatEvent) GetComplete() *ChatComplete
- func (x *ChatEvent) GetError() *ChatError
- func (x *ChatEvent) GetEvent() isChatEvent_Event
- func (x *ChatEvent) GetToken() *ChatTokenChunk
- func (x *ChatEvent) GetToolCall() *ChatToolCall
- func (x *ChatEvent) GetToolResult() *ChatToolResult
- func (*ChatEvent) ProtoMessage()
- func (x *ChatEvent) ProtoReflect() protoreflect.Message
- func (x *ChatEvent) Reset()
- func (x *ChatEvent) String() string
- type ChatEvent_Command
- type ChatEvent_Complete
- type ChatEvent_Error
- type ChatEvent_Token
- type ChatEvent_ToolCall
- type ChatEvent_ToolResult
- type ChatTokenChunk
- type ChatToolCall
- func (*ChatToolCall) Descriptor() ([]byte, []int)deprecated
- func (x *ChatToolCall) GetArgs() map[string]string
- func (x *ChatToolCall) GetTool() string
- func (*ChatToolCall) ProtoMessage()
- func (x *ChatToolCall) ProtoReflect() protoreflect.Message
- func (x *ChatToolCall) Reset()
- func (x *ChatToolCall) String() string
- type ChatToolResult
- func (*ChatToolResult) Descriptor() ([]byte, []int)deprecated
- func (x *ChatToolResult) GetIsError() bool
- func (x *ChatToolResult) GetOutput() string
- func (x *ChatToolResult) GetTool() string
- func (*ChatToolResult) ProtoMessage()
- func (x *ChatToolResult) ProtoReflect() protoreflect.Message
- func (x *ChatToolResult) Reset()
- func (x *ChatToolResult) String() string
- type CheckEntry
- func (*CheckEntry) Descriptor() ([]byte, []int)deprecated
- func (x *CheckEntry) GetError() string
- func (x *CheckEntry) GetHasResult() bool
- func (x *CheckEntry) GetName() string
- func (x *CheckEntry) GetPassed() bool
- func (x *CheckEntry) GetType() string
- func (*CheckEntry) ProtoMessage()
- func (x *CheckEntry) ProtoReflect() protoreflect.Message
- func (x *CheckEntry) Reset()
- func (x *CheckEntry) String() string
- type CheckResult
- func (*CheckResult) Descriptor() ([]byte, []int)deprecated
- func (x *CheckResult) GetError() string
- func (x *CheckResult) GetName() string
- func (x *CheckResult) GetPassed() bool
- func (*CheckResult) ProtoMessage()
- func (x *CheckResult) ProtoReflect() protoreflect.Message
- func (x *CheckResult) Reset()
- func (x *CheckResult) String() string
- type CheckResultEvent
- func (*CheckResultEvent) Descriptor() ([]byte, []int)deprecated
- func (x *CheckResultEvent) GetError() string
- func (x *CheckResultEvent) GetName() string
- func (x *CheckResultEvent) GetOutput() string
- func (x *CheckResultEvent) GetPassed() bool
- func (x *CheckResultEvent) GetType() string
- func (*CheckResultEvent) ProtoMessage()
- func (x *CheckResultEvent) ProtoReflect() protoreflect.Message
- func (x *CheckResultEvent) Reset()
- func (x *CheckResultEvent) String() string
- type CheckSpec
- func (*CheckSpec) Descriptor() ([]byte, []int)deprecated
- func (x *CheckSpec) GetBody() string
- func (x *CheckSpec) GetExpect() string
- func (x *CheckSpec) GetMethod() string
- func (x *CheckSpec) GetName() string
- func (x *CheckSpec) GetPath() string
- func (x *CheckSpec) GetRun() string
- func (x *CheckSpec) GetType() string
- func (*CheckSpec) ProtoMessage()
- func (x *CheckSpec) ProtoReflect() protoreflect.Message
- func (x *CheckSpec) Reset()
- func (x *CheckSpec) String() string
- type CompletionEvent
- func (*CompletionEvent) Descriptor() ([]byte, []int)deprecated
- func (x *CompletionEvent) GetAchieved() bool
- func (x *CompletionEvent) GetChecks() []*CheckResult
- func (x *CompletionEvent) GetCostUsd() float64
- func (x *CompletionEvent) GetFilesChanged() []*FileChange
- func (x *CompletionEvent) GetIterations() int32
- func (x *CompletionEvent) GetPendingApproval() bool
- func (*CompletionEvent) ProtoMessage()
- func (x *CompletionEvent) ProtoReflect() protoreflect.Message
- func (x *CompletionEvent) Reset()
- func (x *CompletionEvent) String() string
- type ContextMetrics
- func (*ContextMetrics) Descriptor() ([]byte, []int)deprecated
- func (x *ContextMetrics) GetCacheableRatio() float64
- func (x *ContextMetrics) GetSavedTokens() int32
- func (x *ContextMetrics) GetStateTokens() int32
- func (x *ContextMetrics) GetSystemTokens() int32
- func (x *ContextMetrics) GetTotalTokens() int32
- func (x *ContextMetrics) GetTurnTokens() int32
- func (*ContextMetrics) ProtoMessage()
- func (x *ContextMetrics) ProtoReflect() protoreflect.Message
- func (x *ContextMetrics) Reset()
- func (x *ContextMetrics) String() string
- type ConventionEntry
- func (*ConventionEntry) Descriptor() ([]byte, []int)deprecated
- func (x *ConventionEntry) GetCategory() string
- func (x *ConventionEntry) GetPackage() string
- func (x *ConventionEntry) GetPattern() string
- func (x *ConventionEntry) GetUsage() string
- func (*ConventionEntry) ProtoMessage()
- func (x *ConventionEntry) ProtoReflect() protoreflect.Message
- func (x *ConventionEntry) Reset()
- func (x *ConventionEntry) String() string
- type CostEntry
- func (*CostEntry) Descriptor() ([]byte, []int)deprecated
- func (x *CostEntry) GetCachedTokens() int32
- func (x *CostEntry) GetCalls() int32
- func (x *CostEntry) GetCostUsd() float64
- func (x *CostEntry) GetInputTokens() int32
- func (x *CostEntry) GetName() string
- func (x *CostEntry) GetOutputTokens() int32
- func (*CostEntry) ProtoMessage()
- func (x *CostEntry) ProtoReflect() protoreflect.Message
- func (x *CostEntry) Reset()
- func (x *CostEntry) String() string
- type CreateSessionRequest
- func (*CreateSessionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateSessionRequest) GetCodeflyBin() string
- func (x *CreateSessionRequest) GetEnv() map[string]string
- func (x *CreateSessionRequest) GetObjectivePath() string
- func (x *CreateSessionRequest) GetWorkDir() string
- func (*CreateSessionRequest) ProtoMessage()
- func (x *CreateSessionRequest) ProtoReflect() protoreflect.Message
- func (x *CreateSessionRequest) Reset()
- func (x *CreateSessionRequest) String() string
- type CreateSessionResponse
- func (*CreateSessionResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateSessionResponse) GetPlugin() string
- func (x *CreateSessionResponse) GetProjectName() string
- func (x *CreateSessionResponse) GetSessionId() string
- func (*CreateSessionResponse) ProtoMessage()
- func (x *CreateSessionResponse) ProtoReflect() protoreflect.Message
- func (x *CreateSessionResponse) Reset()
- func (x *CreateSessionResponse) String() string
- type EventEntry
- func (*EventEntry) Descriptor() ([]byte, []int)deprecated
- func (x *EventEntry) GetAgent() string
- func (x *EventEntry) GetKind() string
- func (x *EventEntry) GetMessage() string
- func (x *EventEntry) GetTimestamp() *timestamppb.Timestamp
- func (*EventEntry) ProtoMessage()
- func (x *EventEntry) ProtoReflect() protoreflect.Message
- func (x *EventEntry) Reset()
- func (x *EventEntry) String() string
- type ExecutionEvent
- func (*ExecutionEvent) Descriptor() ([]byte, []int)deprecated
- func (x *ExecutionEvent) GetAgent() string
- func (x *ExecutionEvent) GetCheck() *CheckResultEvent
- func (x *ExecutionEvent) GetCompletion() *CompletionEvent
- func (x *ExecutionEvent) GetData() map[string]string
- func (x *ExecutionEvent) GetFileOp() *FileOpEvent
- func (x *ExecutionEvent) GetIteration() *IterationEvent
- func (x *ExecutionEvent) GetKind() ExecutionEventKind
- func (x *ExecutionEvent) GetLlm() *LLMEvent
- func (x *ExecutionEvent) GetMessage() string
- func (x *ExecutionEvent) GetPlan() *PlanPhaseEvent
- func (x *ExecutionEvent) GetStrategy() *StrategyEvent
- func (x *ExecutionEvent) GetTimestamp() *timestamppb.Timestamp
- func (x *ExecutionEvent) GetTool() *ToolEvent
- func (*ExecutionEvent) ProtoMessage()
- func (x *ExecutionEvent) ProtoReflect() protoreflect.Message
- func (x *ExecutionEvent) Reset()
- func (x *ExecutionEvent) String() string
- type ExecutionEventKind
- func (ExecutionEventKind) Descriptor() protoreflect.EnumDescriptor
- func (x ExecutionEventKind) Enum() *ExecutionEventKind
- func (ExecutionEventKind) EnumDescriptor() ([]byte, []int)deprecated
- func (x ExecutionEventKind) Number() protoreflect.EnumNumber
- func (x ExecutionEventKind) String() string
- func (ExecutionEventKind) Type() protoreflect.EnumType
- type FileChange
- func (*FileChange) Descriptor() ([]byte, []int)deprecated
- func (x *FileChange) GetDiff() string
- func (x *FileChange) GetOp() string
- func (x *FileChange) GetPath() string
- func (x *FileChange) GetReason() string
- func (*FileChange) ProtoMessage()
- func (x *FileChange) ProtoReflect() protoreflect.Message
- func (x *FileChange) Reset()
- func (x *FileChange) String() string
- type FileOpEvent
- func (*FileOpEvent) Descriptor() ([]byte, []int)deprecated
- func (x *FileOpEvent) GetDiff() string
- func (x *FileOpEvent) GetOp() string
- func (x *FileOpEvent) GetPath() string
- func (*FileOpEvent) ProtoMessage()
- func (x *FileOpEvent) ProtoReflect() protoreflect.Message
- func (x *FileOpEvent) Reset()
- func (x *FileOpEvent) String() string
- type FileSymbols
- func (*FileSymbols) Descriptor() ([]byte, []int)deprecated
- func (x *FileSymbols) GetPath() string
- func (x *FileSymbols) GetSymbols() []*SymbolNode
- func (*FileSymbols) ProtoMessage()
- func (x *FileSymbols) ProtoReflect() protoreflect.Message
- func (x *FileSymbols) Reset()
- func (x *FileSymbols) String() string
- type GetContextStateRequest
- func (*GetContextStateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetContextStateRequest) GetSessionId() string
- func (*GetContextStateRequest) ProtoMessage()
- func (x *GetContextStateRequest) ProtoReflect() protoreflect.Message
- func (x *GetContextStateRequest) Reset()
- func (x *GetContextStateRequest) String() string
- type GetContextStateResponse
- func (*GetContextStateResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetContextStateResponse) GetConventions() []*ConventionEntry
- func (x *GetContextStateResponse) GetHasConventions() bool
- func (x *GetContextStateResponse) GetHasMemory() bool
- func (x *GetContextStateResponse) GetHasRules() bool
- func (x *GetContextStateResponse) GetHasSession() bool
- func (x *GetContextStateResponse) GetHasSymbolMap() bool
- func (x *GetContextStateResponse) GetMetrics() *ContextMetrics
- func (x *GetContextStateResponse) GetProjectName() string
- func (x *GetContextStateResponse) GetServiceName() string
- func (x *GetContextStateResponse) GetStatePreview() string
- func (x *GetContextStateResponse) GetSystemPreview() string
- func (x *GetContextStateResponse) GetTurnPreview() string
- func (*GetContextStateResponse) ProtoMessage()
- func (x *GetContextStateResponse) ProtoReflect() protoreflect.Message
- func (x *GetContextStateResponse) Reset()
- func (x *GetContextStateResponse) String() string
- type GetCostBreakdownRequest
- func (*GetCostBreakdownRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetCostBreakdownRequest) GetSessionId() string
- func (*GetCostBreakdownRequest) ProtoMessage()
- func (x *GetCostBreakdownRequest) ProtoReflect() protoreflect.Message
- func (x *GetCostBreakdownRequest) Reset()
- func (x *GetCostBreakdownRequest) String() string
- type GetCostBreakdownResponse
- func (*GetCostBreakdownResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetCostBreakdownResponse) GetEntries() []*CostEntry
- func (x *GetCostBreakdownResponse) GetTitle() string
- func (x *GetCostBreakdownResponse) GetTotal() *CostEntry
- func (*GetCostBreakdownResponse) ProtoMessage()
- func (x *GetCostBreakdownResponse) ProtoReflect() protoreflect.Message
- func (x *GetCostBreakdownResponse) Reset()
- func (x *GetCostBreakdownResponse) String() string
- type GetDashboardRequest
- func (*GetDashboardRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetDashboardRequest) GetSessionId() string
- func (*GetDashboardRequest) ProtoMessage()
- func (x *GetDashboardRequest) ProtoReflect() protoreflect.Message
- func (x *GetDashboardRequest) Reset()
- func (x *GetDashboardRequest) String() string
- type GetDashboardResponse
- func (*GetDashboardResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetDashboardResponse) GetAchieved() bool
- func (x *GetDashboardResponse) GetActiveObjective() string
- func (x *GetDashboardResponse) GetBudgetRemaining() float64
- func (x *GetDashboardResponse) GetCachedTokens() int32
- func (x *GetDashboardResponse) GetChecksPassed() int32
- func (x *GetDashboardResponse) GetChecksTotal() int32
- func (x *GetDashboardResponse) GetContextWindow() int32
- func (x *GetDashboardResponse) GetCostUsd() float64
- func (x *GetDashboardResponse) GetInputTokens() int32
- func (x *GetDashboardResponse) GetIteration() int32
- func (x *GetDashboardResponse) GetLlmCalls() int32
- func (x *GetDashboardResponse) GetOutputTokens() int32
- func (x *GetDashboardResponse) GetPhase() string
- func (x *GetDashboardResponse) GetTokensUsed() int32
- func (x *GetDashboardResponse) GetUptime() *durationpb.Duration
- func (*GetDashboardResponse) ProtoMessage()
- func (x *GetDashboardResponse) ProtoReflect() protoreflect.Message
- func (x *GetDashboardResponse) Reset()
- func (x *GetDashboardResponse) String() string
- type GetFileChangesRequest
- func (*GetFileChangesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetFileChangesRequest) GetSessionId() string
- func (*GetFileChangesRequest) ProtoMessage()
- func (x *GetFileChangesRequest) ProtoReflect() protoreflect.Message
- func (x *GetFileChangesRequest) Reset()
- func (x *GetFileChangesRequest) String() string
- type GetFileChangesResponse
- func (*GetFileChangesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetFileChangesResponse) GetFiles() []*FileChange
- func (*GetFileChangesResponse) ProtoMessage()
- func (x *GetFileChangesResponse) ProtoReflect() protoreflect.Message
- func (x *GetFileChangesResponse) Reset()
- func (x *GetFileChangesResponse) String() string
- type GetLLMCallsRequest
- func (*GetLLMCallsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetLLMCallsRequest) GetLimit() int32
- func (x *GetLLMCallsRequest) GetOffset() int32
- func (x *GetLLMCallsRequest) GetSessionId() string
- func (*GetLLMCallsRequest) ProtoMessage()
- func (x *GetLLMCallsRequest) ProtoReflect() protoreflect.Message
- func (x *GetLLMCallsRequest) Reset()
- func (x *GetLLMCallsRequest) String() string
- type GetLLMCallsResponse
- func (*GetLLMCallsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetLLMCallsResponse) GetCalls() []*LLMCallEntry
- func (x *GetLLMCallsResponse) GetTotal() int32
- func (*GetLLMCallsResponse) ProtoMessage()
- func (x *GetLLMCallsResponse) ProtoReflect() protoreflect.Message
- func (x *GetLLMCallsResponse) Reset()
- func (x *GetLLMCallsResponse) String() string
- type GetLastSummaryRequest
- func (*GetLastSummaryRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetLastSummaryRequest) GetSessionId() string
- func (*GetLastSummaryRequest) ProtoMessage()
- func (x *GetLastSummaryRequest) ProtoReflect() protoreflect.Message
- func (x *GetLastSummaryRequest) Reset()
- func (x *GetLastSummaryRequest) String() string
- type GetLastSummaryResponse
- func (*GetLastSummaryResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetLastSummaryResponse) GetAchieved() bool
- func (x *GetLastSummaryResponse) GetCachedTokens() int32
- func (x *GetLastSummaryResponse) GetChecks() []*CheckResult
- func (x *GetLastSummaryResponse) GetCostUsd() float64
- func (x *GetLastSummaryResponse) GetDuration() *durationpb.Duration
- func (x *GetLastSummaryResponse) GetFiles() []*FileChange
- func (x *GetLastSummaryResponse) GetInputTokens() int32
- func (x *GetLastSummaryResponse) GetIterations() int32
- func (x *GetLastSummaryResponse) GetLlmCalls() int32
- func (x *GetLastSummaryResponse) GetOutputTokens() int32
- func (x *GetLastSummaryResponse) GetTraceCompact() string
- func (*GetLastSummaryResponse) ProtoMessage()
- func (x *GetLastSummaryResponse) ProtoReflect() protoreflect.Message
- func (x *GetLastSummaryResponse) Reset()
- func (x *GetLastSummaryResponse) String() string
- type GetMemoryRequest
- type GetMemoryResponse
- func (*GetMemoryResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetMemoryResponse) GetApproach() string
- func (x *GetMemoryResponse) GetBlockers() []string
- func (x *GetMemoryResponse) GetFilesModified() map[string]string
- func (x *GetMemoryResponse) GetFilesRead() map[string]string
- func (x *GetMemoryResponse) GetHypotheses() []string
- func (x *GetMemoryResponse) GetIterations() []*IterationRecord
- func (x *GetMemoryResponse) GetNextSteps() []string
- func (x *GetMemoryResponse) GetObjective() string
- func (x *GetMemoryResponse) GetSymbols() []*SymbolRef
- func (x *GetMemoryResponse) GetThreadSummary() string
- func (*GetMemoryResponse) ProtoMessage()
- func (x *GetMemoryResponse) ProtoReflect() protoreflect.Message
- func (x *GetMemoryResponse) Reset()
- func (x *GetMemoryResponse) String() string
- type GetMetricsRequest
- type GetMetricsResponse
- func (*GetMetricsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetMetricsResponse) GetCachedTokens() int32
- func (x *GetMetricsResponse) GetContext() *ContextMetrics
- func (x *GetMetricsResponse) GetCostUsd() float64
- func (x *GetMetricsResponse) GetDuration() *durationpb.Duration
- func (x *GetMetricsResponse) GetInputTokens() int32
- func (x *GetMetricsResponse) GetIterations() int32
- func (x *GetMetricsResponse) GetLlmCalls() int32
- func (x *GetMetricsResponse) GetOutputTokens() int32
- func (*GetMetricsResponse) ProtoMessage()
- func (x *GetMetricsResponse) ProtoReflect() protoreflect.Message
- func (x *GetMetricsResponse) Reset()
- func (x *GetMetricsResponse) String() string
- type GetMiddlewareRequest
- func (*GetMiddlewareRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetMiddlewareRequest) GetSessionId() string
- func (*GetMiddlewareRequest) ProtoMessage()
- func (x *GetMiddlewareRequest) ProtoReflect() protoreflect.Message
- func (x *GetMiddlewareRequest) Reset()
- func (x *GetMiddlewareRequest) String() string
- type GetMiddlewareResponse
- func (*GetMiddlewareResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetMiddlewareResponse) GetChain() []*MiddlewareEntry
- func (*GetMiddlewareResponse) ProtoMessage()
- func (x *GetMiddlewareResponse) ProtoReflect() protoreflect.Message
- func (x *GetMiddlewareResponse) Reset()
- func (x *GetMiddlewareResponse) String() string
- type GetObjectiveGraphRequest
- func (*GetObjectiveGraphRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetObjectiveGraphRequest) GetSessionId() string
- func (*GetObjectiveGraphRequest) ProtoMessage()
- func (x *GetObjectiveGraphRequest) ProtoReflect() protoreflect.Message
- func (x *GetObjectiveGraphRequest) Reset()
- func (x *GetObjectiveGraphRequest) String() string
- type GetObjectiveGraphResponse
- func (*GetObjectiveGraphResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetObjectiveGraphResponse) GetEdges() []*ObjectiveEdge
- func (x *GetObjectiveGraphResponse) GetNodes() []*ObjectiveNode
- func (*GetObjectiveGraphResponse) ProtoMessage()
- func (x *GetObjectiveGraphResponse) ProtoReflect() protoreflect.Message
- func (x *GetObjectiveGraphResponse) Reset()
- func (x *GetObjectiveGraphResponse) String() string
- type GetRulesRequest
- type GetRulesResponse
- type GetSessionDetailRequest
- func (*GetSessionDetailRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetSessionDetailRequest) GetSessionId() string
- func (*GetSessionDetailRequest) ProtoMessage()
- func (x *GetSessionDetailRequest) ProtoReflect() protoreflect.Message
- func (x *GetSessionDetailRequest) Reset()
- func (x *GetSessionDetailRequest) String() string
- type GetSessionDetailResponse
- func (*GetSessionDetailResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetSessionDetailResponse) GetEvents() []*EventEntry
- func (x *GetSessionDetailResponse) GetSession() *SessionSummary
- func (*GetSessionDetailResponse) ProtoMessage()
- func (x *GetSessionDetailResponse) ProtoReflect() protoreflect.Message
- func (x *GetSessionDetailResponse) Reset()
- func (x *GetSessionDetailResponse) String() string
- type GetSymbolMapRequest
- func (*GetSymbolMapRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetSymbolMapRequest) GetSessionId() string
- func (*GetSymbolMapRequest) ProtoMessage()
- func (x *GetSymbolMapRequest) ProtoReflect() protoreflect.Message
- func (x *GetSymbolMapRequest) Reset()
- func (x *GetSymbolMapRequest) String() string
- type GetSymbolMapResponse
- func (*GetSymbolMapResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetSymbolMapResponse) GetFiles() []*FileSymbols
- func (x *GetSymbolMapResponse) GetOverlayActive() bool
- func (x *GetSymbolMapResponse) GetTotalFiles() int32
- func (x *GetSymbolMapResponse) GetTotalSymbols() int32
- func (*GetSymbolMapResponse) ProtoMessage()
- func (x *GetSymbolMapResponse) ProtoReflect() protoreflect.Message
- func (x *GetSymbolMapResponse) Reset()
- func (x *GetSymbolMapResponse) String() string
- type GetTraceRequest
- type GetTraceResponse
- type InitContextRequest
- func (*InitContextRequest) Descriptor() ([]byte, []int)deprecated
- func (x *InitContextRequest) GetSessionId() string
- func (*InitContextRequest) ProtoMessage()
- func (x *InitContextRequest) ProtoReflect() protoreflect.Message
- func (x *InitContextRequest) Reset()
- func (x *InitContextRequest) String() string
- type InitEvent
- func (*InitEvent) Descriptor() ([]byte, []int)deprecated
- func (x *InitEvent) GetDone() bool
- func (x *InitEvent) GetMessage() string
- func (x *InitEvent) GetPhase() string
- func (x *InitEvent) GetProgress() float64
- func (*InitEvent) ProtoMessage()
- func (x *InitEvent) ProtoReflect() protoreflect.Message
- func (x *InitEvent) Reset()
- func (x *InitEvent) String() string
- type IterationEvent
- func (*IterationEvent) Descriptor() ([]byte, []int)deprecated
- func (x *IterationEvent) GetChecksPassed() int32
- func (x *IterationEvent) GetChecksTotal() int32
- func (x *IterationEvent) GetNumber() int32
- func (x *IterationEvent) GetObjectiveDo() string
- func (x *IterationEvent) GetObjectiveId() string
- func (x *IterationEvent) GetOutcome() string
- func (*IterationEvent) ProtoMessage()
- func (x *IterationEvent) ProtoReflect() protoreflect.Message
- func (x *IterationEvent) Reset()
- func (x *IterationEvent) String() string
- type IterationRecord
- func (*IterationRecord) Descriptor() ([]byte, []int)deprecated
- func (x *IterationRecord) GetFiles() []string
- func (x *IterationRecord) GetInsight() string
- func (x *IterationRecord) GetNumber() int32
- func (x *IterationRecord) GetOutcome() string
- func (*IterationRecord) ProtoMessage()
- func (x *IterationRecord) ProtoReflect() protoreflect.Message
- func (x *IterationRecord) Reset()
- func (x *IterationRecord) String() string
- type LLMCallEntry
- func (*LLMCallEntry) Descriptor() ([]byte, []int)deprecated
- func (x *LLMCallEntry) GetAgent() string
- func (x *LLMCallEntry) GetCacheHit() bool
- func (x *LLMCallEntry) GetCachedTokens() int32
- func (x *LLMCallEntry) GetCostUsd() float64
- func (x *LLMCallEntry) GetDurationMs() int64
- func (x *LLMCallEntry) GetFullPrompt() string
- func (x *LLMCallEntry) GetFullResponse() string
- func (x *LLMCallEntry) GetInputTokens() int32
- func (x *LLMCallEntry) GetModel() string
- func (x *LLMCallEntry) GetOutputTokens() int32
- func (x *LLMCallEntry) GetPromptHash() string
- func (x *LLMCallEntry) GetPromptPreview() string
- func (x *LLMCallEntry) GetResponsePreview() string
- func (x *LLMCallEntry) GetTimestamp() *timestamppb.Timestamp
- func (x *LLMCallEntry) GetToolCallCount() int32
- func (*LLMCallEntry) ProtoMessage()
- func (x *LLMCallEntry) ProtoReflect() protoreflect.Message
- func (x *LLMCallEntry) Reset()
- func (x *LLMCallEntry) String() string
- type LLMEvent
- func (*LLMEvent) Descriptor() ([]byte, []int)deprecated
- func (x *LLMEvent) GetCachedTokens() int32
- func (x *LLMEvent) GetCostUsd() float64
- func (x *LLMEvent) GetDurationMs() int64
- func (x *LLMEvent) GetInputTokens() int32
- func (x *LLMEvent) GetModel() string
- func (x *LLMEvent) GetOutputTokens() int32
- func (*LLMEvent) ProtoMessage()
- func (x *LLMEvent) ProtoReflect() protoreflect.Message
- func (x *LLMEvent) Reset()
- func (x *LLMEvent) String() string
- type LintRequest
- type LintResponse
- func (*LintResponse) Descriptor() ([]byte, []int)deprecated
- func (x *LintResponse) GetIssues() int32
- func (x *LintResponse) GetOutput() string
- func (x *LintResponse) GetSuccess() bool
- func (*LintResponse) ProtoMessage()
- func (x *LintResponse) ProtoReflect() protoreflect.Message
- func (x *LintResponse) Reset()
- func (x *LintResponse) String() string
- type ListSessionsRequest
- func (*ListSessionsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListSessionsRequest) GetLimit() int32
- func (*ListSessionsRequest) ProtoMessage()
- func (x *ListSessionsRequest) ProtoReflect() protoreflect.Message
- func (x *ListSessionsRequest) Reset()
- func (x *ListSessionsRequest) String() string
- type ListSessionsResponse
- func (*ListSessionsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListSessionsResponse) GetSessions() []*SessionSummary
- func (*ListSessionsResponse) ProtoMessage()
- func (x *ListSessionsResponse) ProtoReflect() protoreflect.Message
- func (x *ListSessionsResponse) Reset()
- func (x *ListSessionsResponse) String() string
- type ListSymbolsRequest
- func (*ListSymbolsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListSymbolsRequest) GetFilter() string
- func (x *ListSymbolsRequest) GetSessionId() string
- func (*ListSymbolsRequest) ProtoMessage()
- func (x *ListSymbolsRequest) ProtoReflect() protoreflect.Message
- func (x *ListSymbolsRequest) Reset()
- func (x *ListSymbolsRequest) String() string
- type ListSymbolsResponse
- func (*ListSymbolsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListSymbolsResponse) GetSymbols() []*SymbolInfo
- func (*ListSymbolsResponse) ProtoMessage()
- func (x *ListSymbolsResponse) ProtoReflect() protoreflect.Message
- func (x *ListSymbolsResponse) Reset()
- func (x *ListSymbolsResponse) String() string
- type MiddlewareEntry
- func (*MiddlewareEntry) Descriptor() ([]byte, []int)deprecated
- func (x *MiddlewareEntry) GetDetails() map[string]string
- func (x *MiddlewareEntry) GetName() string
- func (x *MiddlewareEntry) GetStatus() string
- func (*MiddlewareEntry) ProtoMessage()
- func (x *MiddlewareEntry) ProtoReflect() protoreflect.Message
- func (x *MiddlewareEntry) Reset()
- func (x *MiddlewareEntry) String() string
- type MindEvent
- func (*MindEvent) Descriptor() ([]byte, []int)deprecated
- func (x *MindEvent) GetAgent() string
- func (x *MindEvent) GetData() map[string]string
- func (x *MindEvent) GetKind() string
- func (x *MindEvent) GetMessage() string
- func (x *MindEvent) GetTimestamp() *timestamppb.Timestamp
- func (*MindEvent) ProtoMessage()
- func (x *MindEvent) ProtoReflect() protoreflect.Message
- func (x *MindEvent) Reset()
- func (x *MindEvent) String() string
- type MindServiceClient
- type MindServiceServer
- type MindService_InitContextClient
- type MindService_InitContextServer
- type MindService_PlanAndExecuteClient
- type MindService_PlanAndExecuteServer
- type MindService_RunObjectiveClient
- type MindService_RunObjectiveServer
- type MindService_SendMessageClient
- type MindService_SendMessageServer
- type MindService_StreamEventsClient
- type MindService_StreamEventsServer
- type ObjectiveEdge
- func (*ObjectiveEdge) Descriptor() ([]byte, []int)deprecated
- func (x *ObjectiveEdge) GetFrom() string
- func (x *ObjectiveEdge) GetKind() string
- func (x *ObjectiveEdge) GetTo() string
- func (*ObjectiveEdge) ProtoMessage()
- func (x *ObjectiveEdge) ProtoReflect() protoreflect.Message
- func (x *ObjectiveEdge) Reset()
- func (x *ObjectiveEdge) String() string
- type ObjectiveGraphSnapshot
- func (*ObjectiveGraphSnapshot) Descriptor() ([]byte, []int)deprecated
- func (x *ObjectiveGraphSnapshot) GetEdges() []*ObjectiveEdge
- func (x *ObjectiveGraphSnapshot) GetNodes() []*ObjectiveNode
- func (*ObjectiveGraphSnapshot) ProtoMessage()
- func (x *ObjectiveGraphSnapshot) ProtoReflect() protoreflect.Message
- func (x *ObjectiveGraphSnapshot) Reset()
- func (x *ObjectiveGraphSnapshot) String() string
- type ObjectiveNode
- func (*ObjectiveNode) Descriptor() ([]byte, []int)deprecated
- func (x *ObjectiveNode) GetChanges() []*ChangeEntry
- func (x *ObjectiveNode) GetChecks() []*CheckEntry
- func (x *ObjectiveNode) GetChildren() []*ObjectiveNode
- func (x *ObjectiveNode) GetCostUsd() float64
- func (x *ObjectiveNode) GetDescription() string
- func (x *ObjectiveNode) GetId() string
- func (x *ObjectiveNode) GetStatus() string
- func (x *ObjectiveNode) GetWallClockS() float64
- func (x *ObjectiveNode) GetWorkTimeS() float64
- func (*ObjectiveNode) ProtoMessage()
- func (x *ObjectiveNode) ProtoReflect() protoreflect.Message
- func (x *ObjectiveNode) Reset()
- func (x *ObjectiveNode) String() string
- type ObjectivePolicy
- func (*ObjectivePolicy) Descriptor() ([]byte, []int)deprecated
- func (x *ObjectivePolicy) GetAllowDecompose() bool
- func (x *ObjectivePolicy) GetMaxCostUsd() float64
- func (x *ObjectivePolicy) GetMaxIterations() int32
- func (*ObjectivePolicy) ProtoMessage()
- func (x *ObjectivePolicy) ProtoReflect() protoreflect.Message
- func (x *ObjectivePolicy) Reset()
- func (x *ObjectivePolicy) String() string
- type ObjectiveScope
- func (*ObjectiveScope) Descriptor() ([]byte, []int)deprecated
- func (x *ObjectiveScope) GetRead() []string
- func (x *ObjectiveScope) GetWrite() []string
- func (*ObjectiveScope) ProtoMessage()
- func (x *ObjectiveScope) ProtoReflect() protoreflect.Message
- func (x *ObjectiveScope) Reset()
- func (x *ObjectiveScope) String() string
- type ObjectiveSpec
- func (*ObjectiveSpec) Descriptor() ([]byte, []int)deprecated
- func (x *ObjectiveSpec) GetChecks() []*CheckSpec
- func (x *ObjectiveSpec) GetDo() string
- func (x *ObjectiveSpec) GetId() string
- func (x *ObjectiveSpec) GetPolicy() *ObjectivePolicy
- func (x *ObjectiveSpec) GetScope() *ObjectiveScope
- func (x *ObjectiveSpec) GetService() string
- func (*ObjectiveSpec) ProtoMessage()
- func (x *ObjectiveSpec) ProtoReflect() protoreflect.Message
- func (x *ObjectiveSpec) Reset()
- func (x *ObjectiveSpec) String() string
- type PlanAndExecuteRequest
- func (*PlanAndExecuteRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PlanAndExecuteRequest) GetDryRun() bool
- func (x *PlanAndExecuteRequest) GetMaxIterations() int32
- func (x *PlanAndExecuteRequest) GetRequest() string
- func (x *PlanAndExecuteRequest) GetSessionId() string
- func (*PlanAndExecuteRequest) ProtoMessage()
- func (x *PlanAndExecuteRequest) ProtoReflect() protoreflect.Message
- func (x *PlanAndExecuteRequest) Reset()
- func (x *PlanAndExecuteRequest) String() string
- type PlanPhaseEvent
- func (*PlanPhaseEvent) Descriptor() ([]byte, []int)deprecated
- func (x *PlanPhaseEvent) GetGraph() *ObjectiveGraphSnapshot
- func (x *PlanPhaseEvent) GetPhase() string
- func (*PlanPhaseEvent) ProtoMessage()
- func (x *PlanPhaseEvent) ProtoReflect() protoreflect.Message
- func (x *PlanPhaseEvent) Reset()
- func (x *PlanPhaseEvent) String() string
- type ReadFileRequest
- func (*ReadFileRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ReadFileRequest) GetPath() string
- func (x *ReadFileRequest) GetSessionId() string
- func (*ReadFileRequest) ProtoMessage()
- func (x *ReadFileRequest) ProtoReflect() protoreflect.Message
- func (x *ReadFileRequest) Reset()
- func (x *ReadFileRequest) String() string
- type ReadFileResponse
- func (*ReadFileResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ReadFileResponse) GetContent() string
- func (x *ReadFileResponse) GetLanguage() string
- func (x *ReadFileResponse) GetPath() string
- func (*ReadFileResponse) ProtoMessage()
- func (x *ReadFileResponse) ProtoReflect() protoreflect.Message
- func (x *ReadFileResponse) Reset()
- func (x *ReadFileResponse) String() string
- type RevertChangesRequest
- func (*RevertChangesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RevertChangesRequest) GetObjectiveId() string
- func (x *RevertChangesRequest) GetSessionId() string
- func (*RevertChangesRequest) ProtoMessage()
- func (x *RevertChangesRequest) ProtoReflect() protoreflect.Message
- func (x *RevertChangesRequest) Reset()
- func (x *RevertChangesRequest) String() string
- type RevertChangesResponse
- func (*RevertChangesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *RevertChangesResponse) GetFilesReverted() []string
- func (*RevertChangesResponse) ProtoMessage()
- func (x *RevertChangesResponse) ProtoReflect() protoreflect.Message
- func (x *RevertChangesResponse) Reset()
- func (x *RevertChangesResponse) String() string
- type RuleEntry
- func (*RuleEntry) Descriptor() ([]byte, []int)deprecated
- func (x *RuleEntry) GetId() string
- func (x *RuleEntry) GetMatchedCurrent() bool
- func (x *RuleEntry) GetScope() *RuleScope
- func (x *RuleEntry) GetText() string
- func (*RuleEntry) ProtoMessage()
- func (x *RuleEntry) ProtoReflect() protoreflect.Message
- func (x *RuleEntry) Reset()
- func (x *RuleEntry) String() string
- type RuleScope
- func (*RuleScope) Descriptor() ([]byte, []int)deprecated
- func (x *RuleScope) GetAgents() []string
- func (x *RuleScope) GetCode() string
- func (x *RuleScope) GetObjectives() []string
- func (*RuleScope) ProtoMessage()
- func (x *RuleScope) ProtoReflect() protoreflect.Message
- func (x *RuleScope) Reset()
- func (x *RuleScope) String() string
- type RunObjectiveRequest
- func (*RunObjectiveRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RunObjectiveRequest) GetDryRun() bool
- func (x *RunObjectiveRequest) GetInline() *ObjectiveSpec
- func (x *RunObjectiveRequest) GetMaxIterations() int32
- func (x *RunObjectiveRequest) GetObjectivePath() string
- func (x *RunObjectiveRequest) GetSessionId() string
- func (x *RunObjectiveRequest) GetSource() isRunObjectiveRequest_Source
- func (*RunObjectiveRequest) ProtoMessage()
- func (x *RunObjectiveRequest) ProtoReflect() protoreflect.Message
- func (x *RunObjectiveRequest) Reset()
- func (x *RunObjectiveRequest) String() string
- type RunObjectiveRequest_Inline
- type RunObjectiveRequest_ObjectivePath
- type SearchCodeRequest
- func (*SearchCodeRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SearchCodeRequest) GetCaseInsensitive() bool
- func (x *SearchCodeRequest) GetFilePattern() string
- func (x *SearchCodeRequest) GetLimit() int32
- func (x *SearchCodeRequest) GetPattern() string
- func (x *SearchCodeRequest) GetSessionId() string
- func (*SearchCodeRequest) ProtoMessage()
- func (x *SearchCodeRequest) ProtoReflect() protoreflect.Message
- func (x *SearchCodeRequest) Reset()
- func (x *SearchCodeRequest) String() string
- type SearchCodeResponse
- func (*SearchCodeResponse) Descriptor() ([]byte, []int)deprecated
- func (x *SearchCodeResponse) GetMatches() []*SearchMatch
- func (x *SearchCodeResponse) GetTotal() int32
- func (*SearchCodeResponse) ProtoMessage()
- func (x *SearchCodeResponse) ProtoReflect() protoreflect.Message
- func (x *SearchCodeResponse) Reset()
- func (x *SearchCodeResponse) String() string
- type SearchMatch
- func (*SearchMatch) Descriptor() ([]byte, []int)deprecated
- func (x *SearchMatch) GetFile() string
- func (x *SearchMatch) GetLine() int32
- func (x *SearchMatch) GetText() string
- func (*SearchMatch) ProtoMessage()
- func (x *SearchMatch) ProtoReflect() protoreflect.Message
- func (x *SearchMatch) Reset()
- func (x *SearchMatch) String() string
- type SendMessageRequest
- func (*SendMessageRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SendMessageRequest) GetSessionId() string
- func (x *SendMessageRequest) GetText() string
- func (*SendMessageRequest) ProtoMessage()
- func (x *SendMessageRequest) ProtoReflect() protoreflect.Message
- func (x *SendMessageRequest) Reset()
- func (x *SendMessageRequest) String() string
- type SessionSummary
- func (*SessionSummary) Descriptor() ([]byte, []int)deprecated
- func (x *SessionSummary) GetAchieved() bool
- func (x *SessionSummary) GetCostUsd() float64
- func (x *SessionSummary) GetCreatedAt() *timestamppb.Timestamp
- func (x *SessionSummary) GetDuration() *durationpb.Duration
- func (x *SessionSummary) GetId() string
- func (x *SessionSummary) GetLastObjective() string
- func (x *SessionSummary) GetLlmCalls() int32
- func (x *SessionSummary) GetProject() string
- func (*SessionSummary) ProtoMessage()
- func (x *SessionSummary) ProtoReflect() protoreflect.Message
- func (x *SessionSummary) Reset()
- func (x *SessionSummary) String() string
- type StrategyEvent
- func (*StrategyEvent) Descriptor() ([]byte, []int)deprecated
- func (x *StrategyEvent) GetAction() string
- func (x *StrategyEvent) GetReasoning() string
- func (*StrategyEvent) ProtoMessage()
- func (x *StrategyEvent) ProtoReflect() protoreflect.Message
- func (x *StrategyEvent) Reset()
- func (x *StrategyEvent) String() string
- type StreamEventsRequest
- func (*StreamEventsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *StreamEventsRequest) GetAgentFilter() string
- func (x *StreamEventsRequest) GetKinds() []string
- func (x *StreamEventsRequest) GetSessionId() string
- func (*StreamEventsRequest) ProtoMessage()
- func (x *StreamEventsRequest) ProtoReflect() protoreflect.Message
- func (x *StreamEventsRequest) Reset()
- func (x *StreamEventsRequest) String() string
- type SymbolInfo
- func (*SymbolInfo) Descriptor() ([]byte, []int)deprecated
- func (x *SymbolInfo) GetFile() string
- func (x *SymbolInfo) GetKind() string
- func (x *SymbolInfo) GetLine() int32
- func (x *SymbolInfo) GetName() string
- func (x *SymbolInfo) GetSignature() string
- func (*SymbolInfo) ProtoMessage()
- func (x *SymbolInfo) ProtoReflect() protoreflect.Message
- func (x *SymbolInfo) Reset()
- func (x *SymbolInfo) String() string
- type SymbolNode
- func (*SymbolNode) Descriptor() ([]byte, []int)deprecated
- func (x *SymbolNode) GetKind() string
- func (x *SymbolNode) GetName() string
- func (x *SymbolNode) GetOverlay() bool
- func (x *SymbolNode) GetSignature() string
- func (*SymbolNode) ProtoMessage()
- func (x *SymbolNode) ProtoReflect() protoreflect.Message
- func (x *SymbolNode) Reset()
- func (x *SymbolNode) String() string
- type SymbolRef
- func (*SymbolRef) Descriptor() ([]byte, []int)deprecated
- func (x *SymbolRef) GetFile() string
- func (x *SymbolRef) GetName() string
- func (x *SymbolRef) GetRelevance() string
- func (*SymbolRef) ProtoMessage()
- func (x *SymbolRef) ProtoReflect() protoreflect.Message
- func (x *SymbolRef) Reset()
- func (x *SymbolRef) String() string
- type TestRequest
- func (*TestRequest) Descriptor() ([]byte, []int)deprecated
- func (x *TestRequest) GetPattern() string
- func (x *TestRequest) GetSessionId() string
- func (*TestRequest) ProtoMessage()
- func (x *TestRequest) ProtoReflect() protoreflect.Message
- func (x *TestRequest) Reset()
- func (x *TestRequest) String() string
- type TestResponse
- func (*TestResponse) Descriptor() ([]byte, []int)deprecated
- func (x *TestResponse) GetFailed() int32
- func (x *TestResponse) GetOutput() string
- func (x *TestResponse) GetPassed() int32
- func (x *TestResponse) GetSuccess() bool
- func (*TestResponse) ProtoMessage()
- func (x *TestResponse) ProtoReflect() protoreflect.Message
- func (x *TestResponse) Reset()
- func (x *TestResponse) String() string
- type ToolEvent
- func (*ToolEvent) Descriptor() ([]byte, []int)deprecated
- func (x *ToolEvent) GetArgs() map[string]string
- func (x *ToolEvent) GetCached() bool
- func (x *ToolEvent) GetIsError() bool
- func (x *ToolEvent) GetOutput() string
- func (x *ToolEvent) GetTool() string
- func (*ToolEvent) ProtoMessage()
- func (x *ToolEvent) ProtoReflect() protoreflect.Message
- func (x *ToolEvent) Reset()
- func (x *ToolEvent) String() string
- type TraceEvent
- func (*TraceEvent) Descriptor() ([]byte, []int)deprecated
- func (x *TraceEvent) GetAgent() string
- func (x *TraceEvent) GetData() map[string]string
- func (x *TraceEvent) GetKind() string
- func (x *TraceEvent) GetMessage() string
- func (*TraceEvent) ProtoMessage()
- func (x *TraceEvent) ProtoReflect() protoreflect.Message
- func (x *TraceEvent) Reset()
- func (x *TraceEvent) String() string
- type TraceNode
- func (*TraceNode) Descriptor() ([]byte, []int)deprecated
- func (x *TraceNode) GetAgent() string
- func (x *TraceNode) GetChildren() []*TraceNode
- func (x *TraceNode) GetDuration() *durationpb.Duration
- func (x *TraceNode) GetEvents() []*TraceEvent
- func (x *TraceNode) GetStats() *TraceStats
- func (*TraceNode) ProtoMessage()
- func (x *TraceNode) ProtoReflect() protoreflect.Message
- func (x *TraceNode) Reset()
- func (x *TraceNode) String() string
- type TraceStats
- func (*TraceStats) Descriptor() ([]byte, []int)deprecated
- func (x *TraceStats) GetErrors() int32
- func (x *TraceStats) GetLlmCalls() int32
- func (x *TraceStats) GetToolCalls() int32
- func (*TraceStats) ProtoMessage()
- func (x *TraceStats) ProtoReflect() protoreflect.Message
- func (x *TraceStats) Reset()
- func (x *TraceStats) String() string
- type UnimplementedMindServiceServer
- func (UnimplementedMindServiceServer) ApproveChanges(context.Context, *ApproveChangesRequest) (*ApproveChangesResponse, error)
- func (UnimplementedMindServiceServer) Build(context.Context, *BuildRequest) (*BuildResponse, error)
- func (UnimplementedMindServiceServer) CancelOperation(context.Context, *CancelOperationRequest) (*CancelOperationResponse, error)
- func (UnimplementedMindServiceServer) CreateSession(context.Context, *CreateSessionRequest) (*CreateSessionResponse, error)
- func (UnimplementedMindServiceServer) GetContextState(context.Context, *GetContextStateRequest) (*GetContextStateResponse, error)
- func (UnimplementedMindServiceServer) GetCostBreakdown(context.Context, *GetCostBreakdownRequest) (*GetCostBreakdownResponse, error)
- func (UnimplementedMindServiceServer) GetDashboard(context.Context, *GetDashboardRequest) (*GetDashboardResponse, error)
- func (UnimplementedMindServiceServer) GetFileChanges(context.Context, *GetFileChangesRequest) (*GetFileChangesResponse, error)
- func (UnimplementedMindServiceServer) GetLLMCalls(context.Context, *GetLLMCallsRequest) (*GetLLMCallsResponse, error)
- func (UnimplementedMindServiceServer) GetLastSummary(context.Context, *GetLastSummaryRequest) (*GetLastSummaryResponse, error)
- func (UnimplementedMindServiceServer) GetMemory(context.Context, *GetMemoryRequest) (*GetMemoryResponse, error)
- func (UnimplementedMindServiceServer) GetMetrics(context.Context, *GetMetricsRequest) (*GetMetricsResponse, error)
- func (UnimplementedMindServiceServer) GetMiddleware(context.Context, *GetMiddlewareRequest) (*GetMiddlewareResponse, error)
- func (UnimplementedMindServiceServer) GetObjectiveGraph(context.Context, *GetObjectiveGraphRequest) (*GetObjectiveGraphResponse, error)
- func (UnimplementedMindServiceServer) GetRules(context.Context, *GetRulesRequest) (*GetRulesResponse, error)
- func (UnimplementedMindServiceServer) GetSessionDetail(context.Context, *GetSessionDetailRequest) (*GetSessionDetailResponse, error)
- func (UnimplementedMindServiceServer) GetSymbolMap(context.Context, *GetSymbolMapRequest) (*GetSymbolMapResponse, error)
- func (UnimplementedMindServiceServer) GetTrace(context.Context, *GetTraceRequest) (*GetTraceResponse, error)
- func (UnimplementedMindServiceServer) InitContext(*InitContextRequest, grpc.ServerStreamingServer[InitEvent]) error
- func (UnimplementedMindServiceServer) Lint(context.Context, *LintRequest) (*LintResponse, error)
- func (UnimplementedMindServiceServer) ListSessions(context.Context, *ListSessionsRequest) (*ListSessionsResponse, error)
- func (UnimplementedMindServiceServer) ListSymbols(context.Context, *ListSymbolsRequest) (*ListSymbolsResponse, error)
- func (UnimplementedMindServiceServer) PlanAndExecute(*PlanAndExecuteRequest, grpc.ServerStreamingServer[ExecutionEvent]) error
- func (UnimplementedMindServiceServer) ReadFile(context.Context, *ReadFileRequest) (*ReadFileResponse, error)
- func (UnimplementedMindServiceServer) RevertChanges(context.Context, *RevertChangesRequest) (*RevertChangesResponse, error)
- func (UnimplementedMindServiceServer) RunObjective(*RunObjectiveRequest, grpc.ServerStreamingServer[ExecutionEvent]) error
- func (UnimplementedMindServiceServer) SearchCode(context.Context, *SearchCodeRequest) (*SearchCodeResponse, error)
- func (UnimplementedMindServiceServer) SendMessage(*SendMessageRequest, grpc.ServerStreamingServer[ChatEvent]) error
- func (UnimplementedMindServiceServer) StreamEvents(*StreamEventsRequest, grpc.ServerStreamingServer[MindEvent]) error
- func (UnimplementedMindServiceServer) Test(context.Context, *TestRequest) (*TestResponse, error)
- func (UnimplementedMindServiceServer) WriteFile(context.Context, *WriteFileRequest) (*WriteFileResponse, error)
- type UnsafeMindServiceServer
- type WriteFileRequest
- func (*WriteFileRequest) Descriptor() ([]byte, []int)deprecated
- func (x *WriteFileRequest) GetContent() string
- func (x *WriteFileRequest) GetPath() string
- func (x *WriteFileRequest) GetSessionId() string
- func (*WriteFileRequest) ProtoMessage()
- func (x *WriteFileRequest) ProtoReflect() protoreflect.Message
- func (x *WriteFileRequest) Reset()
- func (x *WriteFileRequest) String() string
- type WriteFileResponse
Constants ¶
const ( MindService_CreateSession_FullMethodName = "/mind.v1.MindService/CreateSession" MindService_ListSessions_FullMethodName = "/mind.v1.MindService/ListSessions" MindService_GetSessionDetail_FullMethodName = "/mind.v1.MindService/GetSessionDetail" MindService_SendMessage_FullMethodName = "/mind.v1.MindService/SendMessage" MindService_CancelOperation_FullMethodName = "/mind.v1.MindService/CancelOperation" MindService_InitContext_FullMethodName = "/mind.v1.MindService/InitContext" MindService_RunObjective_FullMethodName = "/mind.v1.MindService/RunObjective" MindService_PlanAndExecute_FullMethodName = "/mind.v1.MindService/PlanAndExecute" MindService_ApproveChanges_FullMethodName = "/mind.v1.MindService/ApproveChanges" MindService_RevertChanges_FullMethodName = "/mind.v1.MindService/RevertChanges" MindService_ReadFile_FullMethodName = "/mind.v1.MindService/ReadFile" MindService_WriteFile_FullMethodName = "/mind.v1.MindService/WriteFile" MindService_SearchCode_FullMethodName = "/mind.v1.MindService/SearchCode" MindService_ListSymbols_FullMethodName = "/mind.v1.MindService/ListSymbols" MindService_Build_FullMethodName = "/mind.v1.MindService/Build" MindService_Test_FullMethodName = "/mind.v1.MindService/Test" MindService_Lint_FullMethodName = "/mind.v1.MindService/Lint" MindService_GetDashboard_FullMethodName = "/mind.v1.MindService/GetDashboard" MindService_GetContextState_FullMethodName = "/mind.v1.MindService/GetContextState" MindService_GetMemory_FullMethodName = "/mind.v1.MindService/GetMemory" MindService_GetObjectiveGraph_FullMethodName = "/mind.v1.MindService/GetObjectiveGraph" MindService_GetTrace_FullMethodName = "/mind.v1.MindService/GetTrace" MindService_GetMetrics_FullMethodName = "/mind.v1.MindService/GetMetrics" MindService_GetCostBreakdown_FullMethodName = "/mind.v1.MindService/GetCostBreakdown" MindService_GetSymbolMap_FullMethodName = "/mind.v1.MindService/GetSymbolMap" MindService_GetFileChanges_FullMethodName = "/mind.v1.MindService/GetFileChanges" MindService_GetLastSummary_FullMethodName = "/mind.v1.MindService/GetLastSummary" MindService_GetRules_FullMethodName = "/mind.v1.MindService/GetRules" MindService_GetLLMCalls_FullMethodName = "/mind.v1.MindService/GetLLMCalls" MindService_GetMiddleware_FullMethodName = "/mind.v1.MindService/GetMiddleware" MindService_StreamEvents_FullMethodName = "/mind.v1.MindService/StreamEvents" )
Variables ¶
var ( ExecutionEventKind_name = map[int32]string{ 0: "EXECUTION_EVENT_KIND_UNSPECIFIED", 1: "PLAN_UNDERSTAND_START", 2: "PLAN_UNDERSTAND_DONE", 3: "PLAN_PLAN_START", 4: "PLAN_PLAN_DONE", 5: "PLAN_DETAIL_START", 6: "PLAN_DETAIL_DONE", 7: "PLAN_REVIEW", 10: "OBJECTIVE_START", 11: "OBJECTIVE_DONE", 12: "ITERATION_START", 13: "ITERATION_DONE", 20: "AGENT_START", 21: "AGENT_DONE", 30: "LLM_START", 31: "LLM_DONE", 40: "TOOL_CALL", 41: "TOOL_RESULT", 50: "FILE_OP", 60: "CHECK_START", 61: "CHECK_RESULT", 70: "STRATEGY_DECISION", 80: "ERROR", 81: "INFO", 90: "COMPLETE", } ExecutionEventKind_value = map[string]int32{ "EXECUTION_EVENT_KIND_UNSPECIFIED": 0, "PLAN_UNDERSTAND_START": 1, "PLAN_UNDERSTAND_DONE": 2, "PLAN_PLAN_START": 3, "PLAN_PLAN_DONE": 4, "PLAN_DETAIL_START": 5, "PLAN_DETAIL_DONE": 6, "PLAN_REVIEW": 7, "OBJECTIVE_START": 10, "OBJECTIVE_DONE": 11, "ITERATION_START": 12, "ITERATION_DONE": 13, "AGENT_START": 20, "AGENT_DONE": 21, "LLM_START": 30, "LLM_DONE": 31, "TOOL_CALL": 40, "TOOL_RESULT": 41, "FILE_OP": 50, "CHECK_START": 60, "CHECK_RESULT": 61, "STRATEGY_DECISION": 70, "ERROR": 80, "INFO": 81, "COMPLETE": 90, } )
Enum value maps for ExecutionEventKind.
var File_mind_v1_mind_proto protoreflect.FileDescriptor
var MindService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "mind.v1.MindService", HandlerType: (*MindServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "CreateSession", Handler: _MindService_CreateSession_Handler, }, { MethodName: "ListSessions", Handler: _MindService_ListSessions_Handler, }, { MethodName: "GetSessionDetail", Handler: _MindService_GetSessionDetail_Handler, }, { MethodName: "CancelOperation", Handler: _MindService_CancelOperation_Handler, }, { MethodName: "ApproveChanges", Handler: _MindService_ApproveChanges_Handler, }, { MethodName: "RevertChanges", Handler: _MindService_RevertChanges_Handler, }, { MethodName: "ReadFile", Handler: _MindService_ReadFile_Handler, }, { MethodName: "WriteFile", Handler: _MindService_WriteFile_Handler, }, { MethodName: "SearchCode", Handler: _MindService_SearchCode_Handler, }, { MethodName: "ListSymbols", Handler: _MindService_ListSymbols_Handler, }, { MethodName: "Build", Handler: _MindService_Build_Handler, }, { MethodName: "Test", Handler: _MindService_Test_Handler, }, { MethodName: "Lint", Handler: _MindService_Lint_Handler, }, { MethodName: "GetDashboard", Handler: _MindService_GetDashboard_Handler, }, { MethodName: "GetContextState", Handler: _MindService_GetContextState_Handler, }, { MethodName: "GetMemory", Handler: _MindService_GetMemory_Handler, }, { MethodName: "GetObjectiveGraph", Handler: _MindService_GetObjectiveGraph_Handler, }, { MethodName: "GetTrace", Handler: _MindService_GetTrace_Handler, }, { MethodName: "GetMetrics", Handler: _MindService_GetMetrics_Handler, }, { MethodName: "GetCostBreakdown", Handler: _MindService_GetCostBreakdown_Handler, }, { MethodName: "GetSymbolMap", Handler: _MindService_GetSymbolMap_Handler, }, { MethodName: "GetFileChanges", Handler: _MindService_GetFileChanges_Handler, }, { MethodName: "GetLastSummary", Handler: _MindService_GetLastSummary_Handler, }, { MethodName: "GetRules", Handler: _MindService_GetRules_Handler, }, { MethodName: "GetLLMCalls", Handler: _MindService_GetLLMCalls_Handler, }, { MethodName: "GetMiddleware", Handler: _MindService_GetMiddleware_Handler, }, }, Streams: []grpc.StreamDesc{ { StreamName: "SendMessage", Handler: _MindService_SendMessage_Handler, ServerStreams: true, }, { StreamName: "InitContext", Handler: _MindService_InitContext_Handler, ServerStreams: true, }, { StreamName: "RunObjective", Handler: _MindService_RunObjective_Handler, ServerStreams: true, }, { StreamName: "PlanAndExecute", Handler: _MindService_PlanAndExecute_Handler, ServerStreams: true, }, { StreamName: "StreamEvents", Handler: _MindService_StreamEvents_Handler, ServerStreams: true, }, }, Metadata: "mind/v1/mind.proto", }
MindService_ServiceDesc is the grpc.ServiceDesc for MindService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterMindServiceHandler ¶
func RegisterMindServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
RegisterMindServiceHandler registers the http handlers for service MindService to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterMindServiceHandlerClient ¶
func RegisterMindServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client MindServiceClient) error
RegisterMindServiceHandlerClient registers the http handlers for service MindService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "MindServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "MindServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "MindServiceClient" to call the correct interceptors.
func RegisterMindServiceHandlerFromEndpoint ¶
func RegisterMindServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterMindServiceHandlerFromEndpoint is same as RegisterMindServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterMindServiceHandlerServer ¶
func RegisterMindServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server MindServiceServer) error
RegisterMindServiceHandlerServer registers the http handlers for service MindService to "mux". UnaryRPC :call MindServiceServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterMindServiceHandlerFromEndpoint instead.
func RegisterMindServiceServer ¶
func RegisterMindServiceServer(s grpc.ServiceRegistrar, srv MindServiceServer)
Types ¶
type ApproveChangesRequest ¶
type ApproveChangesRequest struct {
// session_id identifies the Mind session that owns this request or event.
SessionId string `protobuf:"bytes,1,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"`
// objective_id identifies the objective being approved, reverted, or reported.
ObjectiveId string `protobuf:"bytes,2,opt,name=objective_id,json=objectiveId,proto3" json:"objective_id,omitempty"` // optional: approve specific objective
// contains filtered or unexported fields
}
ApproveChangesRequest commits pending overlay changes for a session or objective.
func (*ApproveChangesRequest) Descriptor
deprecated
func (*ApproveChangesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ApproveChangesRequest.ProtoReflect.Descriptor instead.
func (*ApproveChangesRequest) GetObjectiveId ¶
func (x *ApproveChangesRequest) GetObjectiveId() string
func (*ApproveChangesRequest) GetSessionId ¶
func (x *ApproveChangesRequest) GetSessionId() string
func (*ApproveChangesRequest) ProtoMessage ¶
func (*ApproveChangesRequest) ProtoMessage()
func (*ApproveChangesRequest) ProtoReflect ¶
func (x *ApproveChangesRequest) ProtoReflect() protoreflect.Message
func (*ApproveChangesRequest) Reset ¶
func (x *ApproveChangesRequest) Reset()
func (*ApproveChangesRequest) String ¶
func (x *ApproveChangesRequest) String() string
type ApproveChangesResponse ¶
type ApproveChangesResponse struct {
// files_committed are paths written to the real workspace.
FilesCommitted []string `protobuf:"bytes,1,rep,name=files_committed,json=filesCommitted,proto3" json:"files_committed,omitempty"`
// contains filtered or unexported fields
}
ApproveChangesResponse lists files committed from the overlay.
func (*ApproveChangesResponse) Descriptor
deprecated
func (*ApproveChangesResponse) Descriptor() ([]byte, []int)
Deprecated: Use ApproveChangesResponse.ProtoReflect.Descriptor instead.
func (*ApproveChangesResponse) GetFilesCommitted ¶
func (x *ApproveChangesResponse) GetFilesCommitted() []string
func (*ApproveChangesResponse) ProtoMessage ¶
func (*ApproveChangesResponse) ProtoMessage()
func (*ApproveChangesResponse) ProtoReflect ¶
func (x *ApproveChangesResponse) ProtoReflect() protoreflect.Message
func (*ApproveChangesResponse) Reset ¶
func (x *ApproveChangesResponse) Reset()
func (*ApproveChangesResponse) String ¶
func (x *ApproveChangesResponse) String() string
type BuildRequest ¶
type BuildRequest struct {
// session_id identifies the Mind session that owns this request or event.
SessionId string `protobuf:"bytes,1,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"`
// contains filtered or unexported fields
}
BuildRequest asks Mind to run the session build through the gateway.
func (*BuildRequest) Descriptor
deprecated
func (*BuildRequest) Descriptor() ([]byte, []int)
Deprecated: Use BuildRequest.ProtoReflect.Descriptor instead.
func (*BuildRequest) GetSessionId ¶
func (x *BuildRequest) GetSessionId() string
func (*BuildRequest) ProtoMessage ¶
func (*BuildRequest) ProtoMessage()
func (*BuildRequest) ProtoReflect ¶
func (x *BuildRequest) ProtoReflect() protoreflect.Message
func (*BuildRequest) Reset ¶
func (x *BuildRequest) Reset()
func (*BuildRequest) String ¶
func (x *BuildRequest) String() string
type BuildResponse ¶
type BuildResponse struct {
// success is true when the requested operation completed successfully.
Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
// output is raw command, build, lint, or test output preserved for diagnostics.
Output string `protobuf:"bytes,2,opt,name=output,proto3" json:"output,omitempty"`
// contains filtered or unexported fields
}
BuildResponse returns build success and raw output.
func (*BuildResponse) Descriptor
deprecated
func (*BuildResponse) Descriptor() ([]byte, []int)
Deprecated: Use BuildResponse.ProtoReflect.Descriptor instead.
func (*BuildResponse) GetOutput ¶
func (x *BuildResponse) GetOutput() string
func (*BuildResponse) GetSuccess ¶
func (x *BuildResponse) GetSuccess() bool
func (*BuildResponse) ProtoMessage ¶
func (*BuildResponse) ProtoMessage()
func (*BuildResponse) ProtoReflect ¶
func (x *BuildResponse) ProtoReflect() protoreflect.Message
func (*BuildResponse) Reset ¶
func (x *BuildResponse) Reset()
func (*BuildResponse) String ¶
func (x *BuildResponse) String() string
type CancelOperationRequest ¶
type CancelOperationRequest struct {
// session_id identifies the Mind session that owns this request or event.
SessionId string `protobuf:"bytes,1,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"`
// contains filtered or unexported fields
}
CancelOperationRequest stops the active operation for a session.
func (*CancelOperationRequest) Descriptor
deprecated
func (*CancelOperationRequest) Descriptor() ([]byte, []int)
Deprecated: Use CancelOperationRequest.ProtoReflect.Descriptor instead.
func (*CancelOperationRequest) GetSessionId ¶
func (x *CancelOperationRequest) GetSessionId() string
func (*CancelOperationRequest) ProtoMessage ¶
func (*CancelOperationRequest) ProtoMessage()
func (*CancelOperationRequest) ProtoReflect ¶
func (x *CancelOperationRequest) ProtoReflect() protoreflect.Message
func (*CancelOperationRequest) Reset ¶
func (x *CancelOperationRequest) Reset()
func (*CancelOperationRequest) String ¶
func (x *CancelOperationRequest) String() string
type CancelOperationResponse ¶
type CancelOperationResponse struct {
// contains filtered or unexported fields
}
CancelOperationResponse acknowledges the cancellation request.
func (*CancelOperationResponse) Descriptor
deprecated
func (*CancelOperationResponse) Descriptor() ([]byte, []int)
Deprecated: Use CancelOperationResponse.ProtoReflect.Descriptor instead.
func (*CancelOperationResponse) ProtoMessage ¶
func (*CancelOperationResponse) ProtoMessage()
func (*CancelOperationResponse) ProtoReflect ¶
func (x *CancelOperationResponse) ProtoReflect() protoreflect.Message
func (*CancelOperationResponse) Reset ¶
func (x *CancelOperationResponse) Reset()
func (*CancelOperationResponse) String ¶
func (x *CancelOperationResponse) String() string
type ChangeEntry ¶
type ChangeEntry struct {
// file is a workspace- or service-relative source file path.
File string `protobuf:"bytes,1,opt,name=file,proto3" json:"file,omitempty"`
// action is the strategy, file, or debug action that occurred.
Action string `protobuf:"bytes,2,opt,name=action,proto3" json:"action,omitempty"`
// what describes the changed artifact or behavior.
What string `protobuf:"bytes,3,opt,name=what,proto3" json:"what,omitempty"`
// contains filtered or unexported fields
}
ChangeEntry summarizes a file or behavior change linked to an objective.
func (*ChangeEntry) Descriptor
deprecated
func (*ChangeEntry) Descriptor() ([]byte, []int)
Deprecated: Use ChangeEntry.ProtoReflect.Descriptor instead.
func (*ChangeEntry) GetAction ¶
func (x *ChangeEntry) GetAction() string
func (*ChangeEntry) GetFile ¶
func (x *ChangeEntry) GetFile() string
func (*ChangeEntry) GetWhat ¶
func (x *ChangeEntry) GetWhat() string
func (*ChangeEntry) ProtoMessage ¶
func (*ChangeEntry) ProtoMessage()
func (*ChangeEntry) ProtoReflect ¶
func (x *ChangeEntry) ProtoReflect() protoreflect.Message
func (*ChangeEntry) Reset ¶
func (x *ChangeEntry) Reset()
func (*ChangeEntry) String ¶
func (x *ChangeEntry) String() string
type ChatCommandOutput ¶
type ChatCommandOutput struct {
// command is the executable or shell command requested by the caller.
Command string `protobuf:"bytes,1,opt,name=command,proto3" json:"command,omitempty"` // command name
// output is raw command, build, lint, or test output retained for diagnosis.
Output string `protobuf:"bytes,2,opt,name=output,proto3" json:"output,omitempty"` // formatted output
// contains filtered or unexported fields
}
ChatCommandOutput carries output from a slash or bang command.
func (*ChatCommandOutput) Descriptor
deprecated
func (*ChatCommandOutput) Descriptor() ([]byte, []int)
Deprecated: Use ChatCommandOutput.ProtoReflect.Descriptor instead.
func (*ChatCommandOutput) GetCommand ¶
func (x *ChatCommandOutput) GetCommand() string
func (*ChatCommandOutput) GetOutput ¶
func (x *ChatCommandOutput) GetOutput() string
func (*ChatCommandOutput) ProtoMessage ¶
func (*ChatCommandOutput) ProtoMessage()
func (*ChatCommandOutput) ProtoReflect ¶
func (x *ChatCommandOutput) ProtoReflect() protoreflect.Message
func (*ChatCommandOutput) Reset ¶
func (x *ChatCommandOutput) Reset()
func (*ChatCommandOutput) String ¶
func (x *ChatCommandOutput) String() string
type ChatComplete ¶
type ChatComplete struct {
// text is the complete assistant response.
Text string `protobuf:"bytes,1,opt,name=text,proto3" json:"text,omitempty"` // full response text
// metrics is token usage for this chat turn.
Metrics *ContextMetrics `protobuf:"bytes,2,opt,name=metrics,proto3" json:"metrics,omitempty"` // token usage for this turn
// contains filtered or unexported fields
}
ChatComplete terminates a SendMessage stream with final text and metrics.
func (*ChatComplete) Descriptor
deprecated
func (*ChatComplete) Descriptor() ([]byte, []int)
Deprecated: Use ChatComplete.ProtoReflect.Descriptor instead.
func (*ChatComplete) GetMetrics ¶
func (x *ChatComplete) GetMetrics() *ContextMetrics
func (*ChatComplete) GetText ¶
func (x *ChatComplete) GetText() string
func (*ChatComplete) ProtoMessage ¶
func (*ChatComplete) ProtoMessage()
func (*ChatComplete) ProtoReflect ¶
func (x *ChatComplete) ProtoReflect() protoreflect.Message
func (*ChatComplete) Reset ¶
func (x *ChatComplete) Reset()
func (*ChatComplete) String ¶
func (x *ChatComplete) String() string
type ChatError ¶
type ChatError struct {
// message explains the chat failure.
Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
// cancelled is true when the operation was stopped before normal completion.
Cancelled bool `protobuf:"varint,2,opt,name=cancelled,proto3" json:"cancelled,omitempty"` // true if cancelled by user
// contains filtered or unexported fields
}
ChatError terminates or annotates a chat stream with a failure.
func (*ChatError) Descriptor
deprecated
func (*ChatError) GetCancelled ¶
func (*ChatError) GetMessage ¶
func (*ChatError) ProtoMessage ¶
func (*ChatError) ProtoMessage()
func (*ChatError) ProtoReflect ¶
func (x *ChatError) ProtoReflect() protoreflect.Message
type ChatEvent ¶
type ChatEvent struct {
// event selects exactly one supported event variant.
//
// Types that are valid to be assigned to Event:
//
// *ChatEvent_Token
// *ChatEvent_ToolCall
// *ChatEvent_ToolResult
// *ChatEvent_Command
// *ChatEvent_Complete
// *ChatEvent_Error
Event isChatEvent_Event `protobuf_oneof:"event"`
// contains filtered or unexported fields
}
ChatEvent is a streaming response chunk from SendMessage. Exactly one of the oneof fields is set per event.
func (*ChatEvent) Descriptor
deprecated
func (*ChatEvent) GetCommand ¶
func (x *ChatEvent) GetCommand() *ChatCommandOutput
func (*ChatEvent) GetComplete ¶
func (x *ChatEvent) GetComplete() *ChatComplete
func (*ChatEvent) GetToken ¶
func (x *ChatEvent) GetToken() *ChatTokenChunk
func (*ChatEvent) GetToolCall ¶
func (x *ChatEvent) GetToolCall() *ChatToolCall
func (*ChatEvent) GetToolResult ¶
func (x *ChatEvent) GetToolResult() *ChatToolResult
func (*ChatEvent) ProtoMessage ¶
func (*ChatEvent) ProtoMessage()
func (*ChatEvent) ProtoReflect ¶
func (x *ChatEvent) ProtoReflect() protoreflect.Message
type ChatEvent_Command ¶
type ChatEvent_Command struct {
// command carries the ChatCommandOutput variant for ChatEvent.
Command *ChatCommandOutput `protobuf:"bytes,4,opt,name=command,proto3,oneof"` // slash/bang command output
}
type ChatEvent_Complete ¶
type ChatEvent_Complete struct {
// complete carries the ChatComplete variant for ChatEvent.
Complete *ChatComplete `protobuf:"bytes,5,opt,name=complete,proto3,oneof"` // final response with full text
}
type ChatEvent_Error ¶
type ChatEvent_Error struct {
// error explains why the operation failed; empty means success at this layer.
Error *ChatError `protobuf:"bytes,6,opt,name=error,proto3,oneof"` // error
}
type ChatEvent_Token ¶
type ChatEvent_Token struct {
// token carries the ChatTokenChunk variant for ChatEvent.
Token *ChatTokenChunk `protobuf:"bytes,1,opt,name=token,proto3,oneof"` // incremental token for live typing
}
type ChatEvent_ToolCall ¶
type ChatEvent_ToolCall struct {
// tool_call carries the ChatToolCall variant for ChatEvent.
ToolCall *ChatToolCall `protobuf:"bytes,2,opt,name=tool_call,json=toolCall,proto3,oneof"` // tool invocation (read_file, search, etc.)
}
type ChatEvent_ToolResult ¶
type ChatEvent_ToolResult struct {
// tool_result carries the ChatToolResult variant for ChatEvent.
ToolResult *ChatToolResult `protobuf:"bytes,3,opt,name=tool_result,json=toolResult,proto3,oneof"` // tool result
}
type ChatTokenChunk ¶
type ChatTokenChunk struct {
// text is the next response fragment for live typing.
Text string `protobuf:"bytes,1,opt,name=text,proto3" json:"text,omitempty"` // token text fragment
// contains filtered or unexported fields
}
ChatTokenChunk carries an incremental assistant text fragment.
func (*ChatTokenChunk) Descriptor
deprecated
func (*ChatTokenChunk) Descriptor() ([]byte, []int)
Deprecated: Use ChatTokenChunk.ProtoReflect.Descriptor instead.
func (*ChatTokenChunk) GetText ¶
func (x *ChatTokenChunk) GetText() string
func (*ChatTokenChunk) ProtoMessage ¶
func (*ChatTokenChunk) ProtoMessage()
func (*ChatTokenChunk) ProtoReflect ¶
func (x *ChatTokenChunk) ProtoReflect() protoreflect.Message
func (*ChatTokenChunk) Reset ¶
func (x *ChatTokenChunk) Reset()
func (*ChatTokenChunk) String ¶
func (x *ChatTokenChunk) String() string
type ChatToolCall ¶
type ChatToolCall struct {
// tool is the tool name involved in this chat or execution event.
Tool string `protobuf:"bytes,1,opt,name=tool,proto3" json:"tool,omitempty"` // tool name (read_file, search, etc.)
// args are structured or command-line arguments supplied to the tool or command.
Args map[string]string `` // tool arguments
/* 135-byte string literal not displayed */
// contains filtered or unexported fields
}
ChatToolCall announces a tool invocation during chat.
func (*ChatToolCall) Descriptor
deprecated
func (*ChatToolCall) Descriptor() ([]byte, []int)
Deprecated: Use ChatToolCall.ProtoReflect.Descriptor instead.
func (*ChatToolCall) GetArgs ¶
func (x *ChatToolCall) GetArgs() map[string]string
func (*ChatToolCall) GetTool ¶
func (x *ChatToolCall) GetTool() string
func (*ChatToolCall) ProtoMessage ¶
func (*ChatToolCall) ProtoMessage()
func (*ChatToolCall) ProtoReflect ¶
func (x *ChatToolCall) ProtoReflect() protoreflect.Message
func (*ChatToolCall) Reset ¶
func (x *ChatToolCall) Reset()
func (*ChatToolCall) String ¶
func (x *ChatToolCall) String() string
type ChatToolResult ¶
type ChatToolResult struct {
// tool is the tool name involved in this chat or execution event.
Tool string `protobuf:"bytes,1,opt,name=tool,proto3" json:"tool,omitempty"`
// output is raw command, build, lint, or test output preserved for diagnostics.
Output string `protobuf:"bytes,2,opt,name=output,proto3" json:"output,omitempty"`
// is_error is true when the tool result represents an application-level failure.
IsError bool `protobuf:"varint,3,opt,name=is_error,json=isError,proto3" json:"is_error,omitempty"`
// contains filtered or unexported fields
}
ChatToolResult captures the outcome of chat tool.
func (*ChatToolResult) Descriptor
deprecated
func (*ChatToolResult) Descriptor() ([]byte, []int)
Deprecated: Use ChatToolResult.ProtoReflect.Descriptor instead.
func (*ChatToolResult) GetIsError ¶
func (x *ChatToolResult) GetIsError() bool
func (*ChatToolResult) GetOutput ¶
func (x *ChatToolResult) GetOutput() string
func (*ChatToolResult) GetTool ¶
func (x *ChatToolResult) GetTool() string
func (*ChatToolResult) ProtoMessage ¶
func (*ChatToolResult) ProtoMessage()
func (*ChatToolResult) ProtoReflect ¶
func (x *ChatToolResult) ProtoReflect() protoreflect.Message
func (*ChatToolResult) Reset ¶
func (x *ChatToolResult) Reset()
func (*ChatToolResult) String ¶
func (x *ChatToolResult) String() string
type CheckEntry ¶
type CheckEntry struct {
// name is the check name.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// type identifies the check mechanism, such as command, test, build, or lint.
Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"`
// passed is true when the check met its expected condition.
Passed bool `protobuf:"varint,3,opt,name=passed,proto3" json:"passed,omitempty"`
// has_result is true when a check produced a retained result payload.
HasResult bool `protobuf:"varint,4,opt,name=has_result,json=hasResult,proto3" json:"has_result,omitempty"`
// error explains why the operation failed; empty means success at this layer.
Error string `protobuf:"bytes,5,opt,name=error,proto3" json:"error,omitempty"`
// contains filtered or unexported fields
}
CheckEntry summarizes one verification check attached to an objective.
func (*CheckEntry) Descriptor
deprecated
func (*CheckEntry) Descriptor() ([]byte, []int)
Deprecated: Use CheckEntry.ProtoReflect.Descriptor instead.
func (*CheckEntry) GetError ¶
func (x *CheckEntry) GetError() string
func (*CheckEntry) GetHasResult ¶
func (x *CheckEntry) GetHasResult() bool
func (*CheckEntry) GetName ¶
func (x *CheckEntry) GetName() string
func (*CheckEntry) GetPassed ¶
func (x *CheckEntry) GetPassed() bool
func (*CheckEntry) GetType ¶
func (x *CheckEntry) GetType() string
func (*CheckEntry) ProtoMessage ¶
func (*CheckEntry) ProtoMessage()
func (*CheckEntry) ProtoReflect ¶
func (x *CheckEntry) ProtoReflect() protoreflect.Message
func (*CheckEntry) Reset ¶
func (x *CheckEntry) Reset()
func (*CheckEntry) String ¶
func (x *CheckEntry) String() string
type CheckResult ¶
type CheckResult struct {
// name is the check name.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// passed is true when the check met its expected condition.
Passed bool `protobuf:"varint,2,opt,name=passed,proto3" json:"passed,omitempty"`
// error explains why the operation failed; empty means success at this layer.
Error string `protobuf:"bytes,3,opt,name=error,proto3" json:"error,omitempty"`
// contains filtered or unexported fields
}
CheckResult captures the outcome of one summary verification check.
func (*CheckResult) Descriptor
deprecated
func (*CheckResult) Descriptor() ([]byte, []int)
Deprecated: Use CheckResult.ProtoReflect.Descriptor instead.
func (*CheckResult) GetError ¶
func (x *CheckResult) GetError() string
func (*CheckResult) GetName ¶
func (x *CheckResult) GetName() string
func (*CheckResult) GetPassed ¶
func (x *CheckResult) GetPassed() bool
func (*CheckResult) ProtoMessage ¶
func (*CheckResult) ProtoMessage()
func (*CheckResult) ProtoReflect ¶
func (x *CheckResult) ProtoReflect() protoreflect.Message
func (*CheckResult) Reset ¶
func (x *CheckResult) Reset()
func (*CheckResult) String ¶
func (x *CheckResult) String() string
type CheckResultEvent ¶
type CheckResultEvent struct {
// name is the check name.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// type identifies the check mechanism, such as command, test, build, or lint.
Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"`
// passed is true when the check met its expected condition.
Passed bool `protobuf:"varint,3,opt,name=passed,proto3" json:"passed,omitempty"`
// error explains why the operation failed; empty means success at this layer.
Error string `protobuf:"bytes,4,opt,name=error,proto3" json:"error,omitempty"`
// output is raw command, build, lint, or test output preserved for diagnostics.
Output string `protobuf:"bytes,5,opt,name=output,proto3" json:"output,omitempty"`
// contains filtered or unexported fields
}
CheckResultEvent reports one verification check result.
func (*CheckResultEvent) Descriptor
deprecated
func (*CheckResultEvent) Descriptor() ([]byte, []int)
Deprecated: Use CheckResultEvent.ProtoReflect.Descriptor instead.
func (*CheckResultEvent) GetError ¶
func (x *CheckResultEvent) GetError() string
func (*CheckResultEvent) GetName ¶
func (x *CheckResultEvent) GetName() string
func (*CheckResultEvent) GetOutput ¶
func (x *CheckResultEvent) GetOutput() string
func (*CheckResultEvent) GetPassed ¶
func (x *CheckResultEvent) GetPassed() bool
func (*CheckResultEvent) GetType ¶
func (x *CheckResultEvent) GetType() string
func (*CheckResultEvent) ProtoMessage ¶
func (*CheckResultEvent) ProtoMessage()
func (*CheckResultEvent) ProtoReflect ¶
func (x *CheckResultEvent) ProtoReflect() protoreflect.Message
func (*CheckResultEvent) Reset ¶
func (x *CheckResultEvent) Reset()
func (*CheckResultEvent) String ¶
func (x *CheckResultEvent) String() string
type CheckSpec ¶
type CheckSpec struct {
// type identifies the check mechanism, such as build, test, lint, command, or http.
Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` // "build", "test", "lint", "command", "http"
// name is a caller-chosen check name.
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
// run is the command line for command checks.
Run string `protobuf:"bytes,3,opt,name=run,proto3" json:"run,omitempty"` // for "command" type
// method is the HTTP verb for HTTP checks.
Method string `protobuf:"bytes,4,opt,name=method,proto3" json:"method,omitempty"` // for "http" type
// path is the HTTP path or workspace path used by the check.
Path string `protobuf:"bytes,5,opt,name=path,proto3" json:"path,omitempty"`
// body is the request or response payload.
Body string `protobuf:"bytes,6,opt,name=body,proto3" json:"body,omitempty"`
// expect describes the expected outcome for a check.
Expect string `protobuf:"bytes,7,opt,name=expect,proto3" json:"expect,omitempty"`
// contains filtered or unexported fields
}
CheckSpec describes one verification check from an objective spec.
func (*CheckSpec) Descriptor
deprecated
func (*CheckSpec) ProtoMessage ¶
func (*CheckSpec) ProtoMessage()
func (*CheckSpec) ProtoReflect ¶
func (x *CheckSpec) ProtoReflect() protoreflect.Message
type CompletionEvent ¶
type CompletionEvent struct {
// achieved is true when Mind believes the objective was satisfied.
Achieved bool `protobuf:"varint,1,opt,name=achieved,proto3" json:"achieved,omitempty"`
// iterations is the number of execution loops completed.
Iterations int32 `protobuf:"varint,2,opt,name=iterations,proto3" json:"iterations,omitempty"`
// cost_usd is the estimated model cost in US dollars.
CostUsd float64 `protobuf:"fixed64,3,opt,name=cost_usd,json=costUsd,proto3" json:"cost_usd,omitempty"`
// files_changed is the number of files modified by the operation.
FilesChanged []*FileChange `protobuf:"bytes,4,rep,name=files_changed,json=filesChanged,proto3" json:"files_changed,omitempty"`
// checks are verification steps requested by the caller.
Checks []*CheckResult `protobuf:"bytes,5,rep,name=checks,proto3" json:"checks,omitempty"`
// pending_approval is true when execution stopped for human approval.
PendingApproval bool `protobuf:"varint,6,opt,name=pending_approval,json=pendingApproval,proto3" json:"pending_approval,omitempty"` // true if changes need ApproveChanges
// contains filtered or unexported fields
}
CompletionEvent is a streamable event emitted during completion.
func (*CompletionEvent) Descriptor
deprecated
func (*CompletionEvent) Descriptor() ([]byte, []int)
Deprecated: Use CompletionEvent.ProtoReflect.Descriptor instead.
func (*CompletionEvent) GetAchieved ¶
func (x *CompletionEvent) GetAchieved() bool
func (*CompletionEvent) GetChecks ¶
func (x *CompletionEvent) GetChecks() []*CheckResult
func (*CompletionEvent) GetCostUsd ¶
func (x *CompletionEvent) GetCostUsd() float64
func (*CompletionEvent) GetFilesChanged ¶
func (x *CompletionEvent) GetFilesChanged() []*FileChange
func (*CompletionEvent) GetIterations ¶
func (x *CompletionEvent) GetIterations() int32
func (*CompletionEvent) GetPendingApproval ¶
func (x *CompletionEvent) GetPendingApproval() bool
func (*CompletionEvent) ProtoMessage ¶
func (*CompletionEvent) ProtoMessage()
func (*CompletionEvent) ProtoReflect ¶
func (x *CompletionEvent) ProtoReflect() protoreflect.Message
func (*CompletionEvent) Reset ¶
func (x *CompletionEvent) Reset()
func (*CompletionEvent) String ¶
func (x *CompletionEvent) String() string
type ContextMetrics ¶
type ContextMetrics struct {
// system_tokens is the number of tokens used by system context.
SystemTokens int32 `protobuf:"varint,1,opt,name=system_tokens,json=systemTokens,proto3" json:"system_tokens,omitempty"`
// state_tokens is the number of tokens used by state context.
StateTokens int32 `protobuf:"varint,2,opt,name=state_tokens,json=stateTokens,proto3" json:"state_tokens,omitempty"`
// turn_tokens is the number of tokens used by the current turn.
TurnTokens int32 `protobuf:"varint,3,opt,name=turn_tokens,json=turnTokens,proto3" json:"turn_tokens,omitempty"`
// total_tokens is the total token count for the measured context.
TotalTokens int32 `protobuf:"varint,4,opt,name=total_tokens,json=totalTokens,proto3" json:"total_tokens,omitempty"`
// saved_tokens is the estimated token reduction from compaction or caching.
SavedTokens int32 `protobuf:"varint,5,opt,name=saved_tokens,json=savedTokens,proto3" json:"saved_tokens,omitempty"`
// cacheable_ratio is the fraction of context that can be provider-cached.
CacheableRatio float64 `protobuf:"fixed64,6,opt,name=cacheable_ratio,json=cacheableRatio,proto3" json:"cacheable_ratio,omitempty"`
// contains filtered or unexported fields
}
ContextMetrics aggregates token counts and cacheability for context segments.
func (*ContextMetrics) Descriptor
deprecated
func (*ContextMetrics) Descriptor() ([]byte, []int)
Deprecated: Use ContextMetrics.ProtoReflect.Descriptor instead.
func (*ContextMetrics) GetCacheableRatio ¶
func (x *ContextMetrics) GetCacheableRatio() float64
func (*ContextMetrics) GetSavedTokens ¶
func (x *ContextMetrics) GetSavedTokens() int32
func (*ContextMetrics) GetStateTokens ¶
func (x *ContextMetrics) GetStateTokens() int32
func (*ContextMetrics) GetSystemTokens ¶
func (x *ContextMetrics) GetSystemTokens() int32
func (*ContextMetrics) GetTotalTokens ¶
func (x *ContextMetrics) GetTotalTokens() int32
func (*ContextMetrics) GetTurnTokens ¶
func (x *ContextMetrics) GetTurnTokens() int32
func (*ContextMetrics) ProtoMessage ¶
func (*ContextMetrics) ProtoMessage()
func (*ContextMetrics) ProtoReflect ¶
func (x *ContextMetrics) ProtoReflect() protoreflect.Message
func (*ContextMetrics) Reset ¶
func (x *ContextMetrics) Reset()
func (*ContextMetrics) String ¶
func (x *ContextMetrics) String() string
type ConventionEntry ¶
type ConventionEntry struct {
// category groups a convention, rule, or finding.
Category string `protobuf:"bytes,1,opt,name=category,proto3" json:"category,omitempty"`
// package is the package, dependency, or artifact name.
Package string `protobuf:"bytes,2,opt,name=package,proto3" json:"package,omitempty"`
// pattern is the search expression or literal text to match.
Pattern string `protobuf:"bytes,3,opt,name=pattern,proto3" json:"pattern,omitempty"`
// usage is the command-line shape shown to users and agents.
Usage string `protobuf:"bytes,4,opt,name=usage,proto3" json:"usage,omitempty"`
// contains filtered or unexported fields
}
ConventionEntry describes a detected project convention available to Mind.
func (*ConventionEntry) Descriptor
deprecated
func (*ConventionEntry) Descriptor() ([]byte, []int)
Deprecated: Use ConventionEntry.ProtoReflect.Descriptor instead.
func (*ConventionEntry) GetCategory ¶
func (x *ConventionEntry) GetCategory() string
func (*ConventionEntry) GetPackage ¶
func (x *ConventionEntry) GetPackage() string
func (*ConventionEntry) GetPattern ¶
func (x *ConventionEntry) GetPattern() string
func (*ConventionEntry) GetUsage ¶
func (x *ConventionEntry) GetUsage() string
func (*ConventionEntry) ProtoMessage ¶
func (*ConventionEntry) ProtoMessage()
func (*ConventionEntry) ProtoReflect ¶
func (x *ConventionEntry) ProtoReflect() protoreflect.Message
func (*ConventionEntry) Reset ¶
func (x *ConventionEntry) Reset()
func (*ConventionEntry) String ¶
func (x *ConventionEntry) String() string
type CostEntry ¶
type CostEntry struct {
// name labels the model, agent, objective, or phase being charged.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// calls is the number of model calls attributed to this row.
Calls int32 `protobuf:"varint,2,opt,name=calls,proto3" json:"calls,omitempty"`
// input_tokens is the total number of prompt/input tokens consumed.
InputTokens int32 `protobuf:"varint,3,opt,name=input_tokens,json=inputTokens,proto3" json:"input_tokens,omitempty"`
// output_tokens is the total number of completion/output tokens produced.
OutputTokens int32 `protobuf:"varint,4,opt,name=output_tokens,json=outputTokens,proto3" json:"output_tokens,omitempty"`
// cached_tokens is the number of input tokens served from provider cache.
CachedTokens int32 `protobuf:"varint,5,opt,name=cached_tokens,json=cachedTokens,proto3" json:"cached_tokens,omitempty"`
// cost_usd is the estimated model cost in US dollars.
CostUsd float64 `protobuf:"fixed64,6,opt,name=cost_usd,json=costUsd,proto3" json:"cost_usd,omitempty"`
// contains filtered or unexported fields
}
CostEntry is one row in the cost breakdown table.
func (*CostEntry) Descriptor
deprecated
func (*CostEntry) GetCachedTokens ¶
func (*CostEntry) GetCostUsd ¶
func (*CostEntry) GetInputTokens ¶
func (*CostEntry) GetOutputTokens ¶
func (*CostEntry) ProtoMessage ¶
func (*CostEntry) ProtoMessage()
func (*CostEntry) ProtoReflect ¶
func (x *CostEntry) ProtoReflect() protoreflect.Message
type CreateSessionRequest ¶
type CreateSessionRequest struct {
// work_dir is the workspace directory that scopes the Mind session.
WorkDir string `protobuf:"bytes,1,opt,name=work_dir,json=workDir,proto3" json:"work_dir,omitempty"` // absolute path to project root
// codefly_bin optionally overrides the Codefly CLI binary used by the session.
CodeflyBin string `protobuf:"bytes,2,opt,name=codefly_bin,json=codeflyBin,proto3" json:"codefly_bin,omitempty"` // path to codefly binary (optional)
// objective_path is a workspace- or service-relative path for objective.
ObjectivePath string `protobuf:"bytes,3,opt,name=objective_path,json=objectivePath,proto3" json:"objective_path,omitempty"` // default objective.yaml (optional)
// env contains environment variables passed to the session process.
Env map[string]string `` // extra env vars (LLM keys, etc.)
/* 133-byte string literal not displayed */
// contains filtered or unexported fields
}
CreateSessionRequest describes the session resource to create.
func (*CreateSessionRequest) Descriptor
deprecated
func (*CreateSessionRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateSessionRequest.ProtoReflect.Descriptor instead.
func (*CreateSessionRequest) GetCodeflyBin ¶
func (x *CreateSessionRequest) GetCodeflyBin() string
func (*CreateSessionRequest) GetEnv ¶
func (x *CreateSessionRequest) GetEnv() map[string]string
func (*CreateSessionRequest) GetObjectivePath ¶
func (x *CreateSessionRequest) GetObjectivePath() string
func (*CreateSessionRequest) GetWorkDir ¶
func (x *CreateSessionRequest) GetWorkDir() string
func (*CreateSessionRequest) ProtoMessage ¶
func (*CreateSessionRequest) ProtoMessage()
func (*CreateSessionRequest) ProtoReflect ¶
func (x *CreateSessionRequest) ProtoReflect() protoreflect.Message
func (*CreateSessionRequest) Reset ¶
func (x *CreateSessionRequest) Reset()
func (*CreateSessionRequest) String ¶
func (x *CreateSessionRequest) String() string
type CreateSessionResponse ¶
type CreateSessionResponse struct {
// session_id identifies the Mind session that owns this request or event.
SessionId string `protobuf:"bytes,1,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"`
// project_name is the display name of the loaded workspace or project.
ProjectName string `protobuf:"bytes,2,opt,name=project_name,json=projectName,proto3" json:"project_name,omitempty"` // auto-detected from mind.yaml
// plugin is the detected primary plugin for the workspace.
Plugin string `protobuf:"bytes,3,opt,name=plugin,proto3" json:"plugin,omitempty"` // detected plugin (e.g. "go-generic")
// contains filtered or unexported fields
}
CreateSessionResponse returns the new session id and detected project metadata.
func (*CreateSessionResponse) Descriptor
deprecated
func (*CreateSessionResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateSessionResponse.ProtoReflect.Descriptor instead.
func (*CreateSessionResponse) GetPlugin ¶
func (x *CreateSessionResponse) GetPlugin() string
func (*CreateSessionResponse) GetProjectName ¶
func (x *CreateSessionResponse) GetProjectName() string
func (*CreateSessionResponse) GetSessionId ¶
func (x *CreateSessionResponse) GetSessionId() string
func (*CreateSessionResponse) ProtoMessage ¶
func (*CreateSessionResponse) ProtoMessage()
func (*CreateSessionResponse) ProtoReflect ¶
func (x *CreateSessionResponse) ProtoReflect() protoreflect.Message
func (*CreateSessionResponse) Reset ¶
func (x *CreateSessionResponse) Reset()
func (*CreateSessionResponse) String ¶
func (x *CreateSessionResponse) String() string
type EventEntry ¶
type EventEntry struct {
// timestamp is when the event, call, or record was produced.
Timestamp *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
// kind categorizes the event for filtering and rendering.
Kind string `protobuf:"bytes,2,opt,name=kind,proto3" json:"kind,omitempty"`
// agent is the Codefly agent plugin responsible for this service type.
Agent string `protobuf:"bytes,3,opt,name=agent,proto3" json:"agent,omitempty"`
// message is the event text shown in session history.
Message string `protobuf:"bytes,4,opt,name=message,proto3" json:"message,omitempty"`
// contains filtered or unexported fields
}
EventEntry is one retained history entry for a session.
func (*EventEntry) Descriptor
deprecated
func (*EventEntry) Descriptor() ([]byte, []int)
Deprecated: Use EventEntry.ProtoReflect.Descriptor instead.
func (*EventEntry) GetAgent ¶
func (x *EventEntry) GetAgent() string
func (*EventEntry) GetKind ¶
func (x *EventEntry) GetKind() string
func (*EventEntry) GetMessage ¶
func (x *EventEntry) GetMessage() string
func (*EventEntry) GetTimestamp ¶
func (x *EventEntry) GetTimestamp() *timestamppb.Timestamp
func (*EventEntry) ProtoMessage ¶
func (*EventEntry) ProtoMessage()
func (*EventEntry) ProtoReflect ¶
func (x *EventEntry) ProtoReflect() protoreflect.Message
func (*EventEntry) Reset ¶
func (x *EventEntry) Reset()
func (*EventEntry) String ¶
func (x *EventEntry) String() string
type ExecutionEvent ¶
type ExecutionEvent struct {
// timestamp is when the event, call, or record was produced.
Timestamp *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
// kind categorizes the execution event for stream consumers.
Kind ExecutionEventKind `protobuf:"varint,2,opt,name=kind,proto3,enum=mind.v1.ExecutionEventKind" json:"kind,omitempty"`
// agent is the Codefly agent plugin responsible for this service type.
Agent string `protobuf:"bytes,3,opt,name=agent,proto3" json:"agent,omitempty"`
// message is the human-readable event text.
Message string `protobuf:"bytes,4,opt,name=message,proto3" json:"message,omitempty"`
// data is the raw bytes or JSON-shaped payload.
Data map[string]string `` /* 135-byte string literal not displayed */
// Phase-specific payloads (at most one set per event).
Plan *PlanPhaseEvent `protobuf:"bytes,10,opt,name=plan,proto3" json:"plan,omitempty"`
// iteration carries iteration lifecycle details when this is an iteration event.
Iteration *IterationEvent `protobuf:"bytes,11,opt,name=iteration,proto3" json:"iteration,omitempty"`
// check carries a verification event emitted during execution.
Check *CheckResultEvent `protobuf:"bytes,12,opt,name=check,proto3" json:"check,omitempty"`
// file_op carries a file operation event emitted during execution.
FileOp *FileOpEvent `protobuf:"bytes,13,opt,name=file_op,json=fileOp,proto3" json:"file_op,omitempty"`
// strategy carries the reasoning behind a strategy decision.
Strategy *StrategyEvent `protobuf:"bytes,14,opt,name=strategy,proto3" json:"strategy,omitempty"`
// llm carries model-call metadata emitted during execution.
Llm *LLMEvent `protobuf:"bytes,15,opt,name=llm,proto3" json:"llm,omitempty"`
// tool carries a tool call or tool result event.
Tool *ToolEvent `protobuf:"bytes,16,opt,name=tool,proto3" json:"tool,omitempty"`
// completion carries the final execution summary.
Completion *CompletionEvent `protobuf:"bytes,17,opt,name=completion,proto3" json:"completion,omitempty"`
// contains filtered or unexported fields
}
ExecutionEvent is the unified stream for objective execution. This maps to agent.ProgressEvent + planning phases.
func (*ExecutionEvent) Descriptor
deprecated
func (*ExecutionEvent) Descriptor() ([]byte, []int)
Deprecated: Use ExecutionEvent.ProtoReflect.Descriptor instead.
func (*ExecutionEvent) GetAgent ¶
func (x *ExecutionEvent) GetAgent() string
func (*ExecutionEvent) GetCheck ¶
func (x *ExecutionEvent) GetCheck() *CheckResultEvent
func (*ExecutionEvent) GetCompletion ¶
func (x *ExecutionEvent) GetCompletion() *CompletionEvent
func (*ExecutionEvent) GetData ¶
func (x *ExecutionEvent) GetData() map[string]string
func (*ExecutionEvent) GetFileOp ¶
func (x *ExecutionEvent) GetFileOp() *FileOpEvent
func (*ExecutionEvent) GetIteration ¶
func (x *ExecutionEvent) GetIteration() *IterationEvent
func (*ExecutionEvent) GetKind ¶
func (x *ExecutionEvent) GetKind() ExecutionEventKind
func (*ExecutionEvent) GetLlm ¶
func (x *ExecutionEvent) GetLlm() *LLMEvent
func (*ExecutionEvent) GetMessage ¶
func (x *ExecutionEvent) GetMessage() string
func (*ExecutionEvent) GetPlan ¶
func (x *ExecutionEvent) GetPlan() *PlanPhaseEvent
func (*ExecutionEvent) GetStrategy ¶
func (x *ExecutionEvent) GetStrategy() *StrategyEvent
func (*ExecutionEvent) GetTimestamp ¶
func (x *ExecutionEvent) GetTimestamp() *timestamppb.Timestamp
func (*ExecutionEvent) GetTool ¶
func (x *ExecutionEvent) GetTool() *ToolEvent
func (*ExecutionEvent) ProtoMessage ¶
func (*ExecutionEvent) ProtoMessage()
func (*ExecutionEvent) ProtoReflect ¶
func (x *ExecutionEvent) ProtoReflect() protoreflect.Message
func (*ExecutionEvent) Reset ¶
func (x *ExecutionEvent) Reset()
func (*ExecutionEvent) String ¶
func (x *ExecutionEvent) String() string
type ExecutionEventKind ¶
type ExecutionEventKind int32
ExecutionEventKind enumerates supported execution event kinds.
const ( // EXECUTION_EVENT_KIND_UNSPECIFIED is the default value when execution event kind is not // specified. ExecutionEventKind_EXECUTION_EVENT_KIND_UNSPECIFIED ExecutionEventKind = 0 // Planning phases ExecutionEventKind_PLAN_UNDERSTAND_START ExecutionEventKind = 1 // PLAN_UNDERSTAND_DONE marks completion of the understand phase. ExecutionEventKind_PLAN_UNDERSTAND_DONE ExecutionEventKind = 2 // PLAN_PLAN_START marks the start of graph planning. ExecutionEventKind_PLAN_PLAN_START ExecutionEventKind = 3 // PLAN_PLAN_DONE marks completion of graph planning. ExecutionEventKind_PLAN_PLAN_DONE ExecutionEventKind = 4 // PLAN_DETAIL_START marks the start of detailed objective expansion. ExecutionEventKind_PLAN_DETAIL_START ExecutionEventKind = 5 // PLAN_DETAIL_DONE marks completion of detailed objective expansion. ExecutionEventKind_PLAN_DETAIL_DONE ExecutionEventKind = 6 // PLAN_REVIEW marks a planning review event. ExecutionEventKind_PLAN_REVIEW ExecutionEventKind = 7 // Execution lifecycle ExecutionEventKind_OBJECTIVE_START ExecutionEventKind = 10 // OBJECTIVE_DONE marks completion of one objective. ExecutionEventKind_OBJECTIVE_DONE ExecutionEventKind = 11 // ITERATION_START marks the start of an execution iteration. ExecutionEventKind_ITERATION_START ExecutionEventKind = 12 // ITERATION_DONE marks completion of an execution iteration. ExecutionEventKind_ITERATION_DONE ExecutionEventKind = 13 // Agent lifecycle ExecutionEventKind_AGENT_START ExecutionEventKind = 20 // AGENT_DONE marks completion of an agent step. ExecutionEventKind_AGENT_DONE ExecutionEventKind = 21 // LLM ExecutionEventKind_LLM_START ExecutionEventKind = 30 // LLM_DONE marks completion of a model call. ExecutionEventKind_LLM_DONE ExecutionEventKind = 31 // Tools ExecutionEventKind_TOOL_CALL ExecutionEventKind = 40 // TOOL_RESULT carries a completed tool call. ExecutionEventKind_TOOL_RESULT ExecutionEventKind = 41 // File operations ExecutionEventKind_FILE_OP ExecutionEventKind = 50 // Checks ExecutionEventKind_CHECK_START ExecutionEventKind = 60 // CHECK_RESULT carries the result of a verification check. ExecutionEventKind_CHECK_RESULT ExecutionEventKind = 61 // Strategy ExecutionEventKind_STRATEGY_DECISION ExecutionEventKind = 70 // Terminal ExecutionEventKind_ERROR ExecutionEventKind = 80 // INFO carries an informational event. ExecutionEventKind_INFO ExecutionEventKind = 81 // COMPLETE marks the end of the execution stream. ExecutionEventKind_COMPLETE ExecutionEventKind = 90 )
func (ExecutionEventKind) Descriptor ¶
func (ExecutionEventKind) Descriptor() protoreflect.EnumDescriptor
func (ExecutionEventKind) Enum ¶
func (x ExecutionEventKind) Enum() *ExecutionEventKind
func (ExecutionEventKind) EnumDescriptor
deprecated
func (ExecutionEventKind) EnumDescriptor() ([]byte, []int)
Deprecated: Use ExecutionEventKind.Descriptor instead.
func (ExecutionEventKind) Number ¶
func (x ExecutionEventKind) Number() protoreflect.EnumNumber
func (ExecutionEventKind) String ¶
func (x ExecutionEventKind) String() string
func (ExecutionEventKind) Type ¶
func (ExecutionEventKind) Type() protoreflect.EnumType
type FileChange ¶
type FileChange struct {
// path is a workspace- or service-relative filesystem path.
Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"`
// op is the file operation such as create, update, delete, or rename.
Op string `protobuf:"bytes,2,opt,name=op,proto3" json:"op,omitempty"`
// reason explains why this change, state, or decision occurred.
Reason string `protobuf:"bytes,3,opt,name=reason,proto3" json:"reason,omitempty"`
// diff is the unified git diff text.
Diff string `protobuf:"bytes,4,opt,name=diff,proto3" json:"diff,omitempty"`
// contains filtered or unexported fields
}
FileChange records one file operation and optional diff.
func (*FileChange) Descriptor
deprecated
func (*FileChange) Descriptor() ([]byte, []int)
Deprecated: Use FileChange.ProtoReflect.Descriptor instead.
func (*FileChange) GetDiff ¶
func (x *FileChange) GetDiff() string
func (*FileChange) GetOp ¶
func (x *FileChange) GetOp() string
func (*FileChange) GetPath ¶
func (x *FileChange) GetPath() string
func (*FileChange) GetReason ¶
func (x *FileChange) GetReason() string
func (*FileChange) ProtoMessage ¶
func (*FileChange) ProtoMessage()
func (*FileChange) ProtoReflect ¶
func (x *FileChange) ProtoReflect() protoreflect.Message
func (*FileChange) Reset ¶
func (x *FileChange) Reset()
func (*FileChange) String ¶
func (x *FileChange) String() string
type FileOpEvent ¶
type FileOpEvent struct {
// op is the file operation such as create, update, delete, or rename.
Op string `protobuf:"bytes,1,opt,name=op,proto3" json:"op,omitempty"` // "create", "edit", "delete"
// path is a workspace- or service-relative filesystem path.
Path string `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"`
// diff is the unified diff for the file or git change.
Diff string `protobuf:"bytes,3,opt,name=diff,proto3" json:"diff,omitempty"` // unified diff (optional, may be large)
// contains filtered or unexported fields
}
FileOpEvent is a streamable event emitted during file op.
func (*FileOpEvent) Descriptor
deprecated
func (*FileOpEvent) Descriptor() ([]byte, []int)
Deprecated: Use FileOpEvent.ProtoReflect.Descriptor instead.
func (*FileOpEvent) GetDiff ¶
func (x *FileOpEvent) GetDiff() string
func (*FileOpEvent) GetOp ¶
func (x *FileOpEvent) GetOp() string
func (*FileOpEvent) GetPath ¶
func (x *FileOpEvent) GetPath() string
func (*FileOpEvent) ProtoMessage ¶
func (*FileOpEvent) ProtoMessage()
func (*FileOpEvent) ProtoReflect ¶
func (x *FileOpEvent) ProtoReflect() protoreflect.Message
func (*FileOpEvent) Reset ¶
func (x *FileOpEvent) Reset()
func (*FileOpEvent) String ¶
func (x *FileOpEvent) String() string
type FileSymbols ¶
type FileSymbols struct {
// path is a workspace- or service-relative filesystem path.
Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"`
// symbols are code entities returned by language analysis.
Symbols []*SymbolNode `protobuf:"bytes,2,rep,name=symbols,proto3" json:"symbols,omitempty"`
// contains filtered or unexported fields
}
FileSymbols groups symbols discovered in one source file.
func (*FileSymbols) Descriptor
deprecated
func (*FileSymbols) Descriptor() ([]byte, []int)
Deprecated: Use FileSymbols.ProtoReflect.Descriptor instead.
func (*FileSymbols) GetPath ¶
func (x *FileSymbols) GetPath() string
func (*FileSymbols) GetSymbols ¶
func (x *FileSymbols) GetSymbols() []*SymbolNode
func (*FileSymbols) ProtoMessage ¶
func (*FileSymbols) ProtoMessage()
func (*FileSymbols) ProtoReflect ¶
func (x *FileSymbols) ProtoReflect() protoreflect.Message
func (*FileSymbols) Reset ¶
func (x *FileSymbols) Reset()
func (*FileSymbols) String ¶
func (x *FileSymbols) String() string
type GetContextStateRequest ¶
type GetContextStateRequest struct {
// session_id identifies the Mind session that owns this request or event.
SessionId string `protobuf:"bytes,1,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"`
// contains filtered or unexported fields
}
GetContextStateRequest identifies the context state data to retrieve.
func (*GetContextStateRequest) Descriptor
deprecated
func (*GetContextStateRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetContextStateRequest.ProtoReflect.Descriptor instead.
func (*GetContextStateRequest) GetSessionId ¶
func (x *GetContextStateRequest) GetSessionId() string
func (*GetContextStateRequest) ProtoMessage ¶
func (*GetContextStateRequest) ProtoMessage()
func (*GetContextStateRequest) ProtoReflect ¶
func (x *GetContextStateRequest) ProtoReflect() protoreflect.Message
func (*GetContextStateRequest) Reset ¶
func (x *GetContextStateRequest) Reset()
func (*GetContextStateRequest) String ¶
func (x *GetContextStateRequest) String() string
type GetContextStateResponse ¶
type GetContextStateResponse struct {
// project_name is the stable name of the project.
ProjectName string `protobuf:"bytes,1,opt,name=project_name,json=projectName,proto3" json:"project_name,omitempty"`
// service_name is the stable name of the service.
ServiceName string `protobuf:"bytes,2,opt,name=service_name,json=serviceName,proto3" json:"service_name,omitempty"`
// has_conventions is true when convention context is loaded.
HasConventions bool `protobuf:"varint,3,opt,name=has_conventions,json=hasConventions,proto3" json:"has_conventions,omitempty"`
// has_rules is true when rule context is loaded.
HasRules bool `protobuf:"varint,4,opt,name=has_rules,json=hasRules,proto3" json:"has_rules,omitempty"`
// has_symbol_map is true when symbol context is loaded.
HasSymbolMap bool `protobuf:"varint,5,opt,name=has_symbol_map,json=hasSymbolMap,proto3" json:"has_symbol_map,omitempty"`
// has_memory is true when session memory is loaded.
HasMemory bool `protobuf:"varint,6,opt,name=has_memory,json=hasMemory,proto3" json:"has_memory,omitempty"`
// has_session is true when persistent session state is loaded.
HasSession bool `protobuf:"varint,7,opt,name=has_session,json=hasSession,proto3" json:"has_session,omitempty"`
// system_preview is a bounded excerpt of system context.
SystemPreview string `protobuf:"bytes,8,opt,name=system_preview,json=systemPreview,proto3" json:"system_preview,omitempty"`
// state_preview is a bounded excerpt of state context.
StatePreview string `protobuf:"bytes,9,opt,name=state_preview,json=statePreview,proto3" json:"state_preview,omitempty"`
// turn_preview is a bounded excerpt of current turn context.
TurnPreview string `protobuf:"bytes,10,opt,name=turn_preview,json=turnPreview,proto3" json:"turn_preview,omitempty"`
// metrics summarizes token usage for the context layers.
Metrics *ContextMetrics `protobuf:"bytes,11,opt,name=metrics,proto3" json:"metrics,omitempty"`
// conventions are conventions loaded into context for the current project.
Conventions []*ConventionEntry `protobuf:"bytes,12,rep,name=conventions,proto3" json:"conventions,omitempty"`
// contains filtered or unexported fields
}
GetContextStateResponse shows the prompt context layers currently available to Mind.
func (*GetContextStateResponse) Descriptor
deprecated
func (*GetContextStateResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetContextStateResponse.ProtoReflect.Descriptor instead.
func (*GetContextStateResponse) GetConventions ¶
func (x *GetContextStateResponse) GetConventions() []*ConventionEntry
func (*GetContextStateResponse) GetHasConventions ¶
func (x *GetContextStateResponse) GetHasConventions() bool
func (*GetContextStateResponse) GetHasMemory ¶
func (x *GetContextStateResponse) GetHasMemory() bool
func (*GetContextStateResponse) GetHasRules ¶
func (x *GetContextStateResponse) GetHasRules() bool
func (*GetContextStateResponse) GetHasSession ¶
func (x *GetContextStateResponse) GetHasSession() bool
func (*GetContextStateResponse) GetHasSymbolMap ¶
func (x *GetContextStateResponse) GetHasSymbolMap() bool
func (*GetContextStateResponse) GetMetrics ¶
func (x *GetContextStateResponse) GetMetrics() *ContextMetrics
func (*GetContextStateResponse) GetProjectName ¶
func (x *GetContextStateResponse) GetProjectName() string
func (*GetContextStateResponse) GetServiceName ¶
func (x *GetContextStateResponse) GetServiceName() string
func (*GetContextStateResponse) GetStatePreview ¶
func (x *GetContextStateResponse) GetStatePreview() string
func (*GetContextStateResponse) GetSystemPreview ¶
func (x *GetContextStateResponse) GetSystemPreview() string
func (*GetContextStateResponse) GetTurnPreview ¶
func (x *GetContextStateResponse) GetTurnPreview() string
func (*GetContextStateResponse) ProtoMessage ¶
func (*GetContextStateResponse) ProtoMessage()
func (*GetContextStateResponse) ProtoReflect ¶
func (x *GetContextStateResponse) ProtoReflect() protoreflect.Message
func (*GetContextStateResponse) Reset ¶
func (x *GetContextStateResponse) Reset()
func (*GetContextStateResponse) String ¶
func (x *GetContextStateResponse) String() string
type GetCostBreakdownRequest ¶
type GetCostBreakdownRequest struct {
// session_id identifies the Mind session that owns this request or event.
SessionId string `protobuf:"bytes,1,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"`
// contains filtered or unexported fields
}
GetCostBreakdownRequest identifies the cost breakdown data to retrieve.
func (*GetCostBreakdownRequest) Descriptor
deprecated
func (*GetCostBreakdownRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetCostBreakdownRequest.ProtoReflect.Descriptor instead.
func (*GetCostBreakdownRequest) GetSessionId ¶
func (x *GetCostBreakdownRequest) GetSessionId() string
func (*GetCostBreakdownRequest) ProtoMessage ¶
func (*GetCostBreakdownRequest) ProtoMessage()
func (*GetCostBreakdownRequest) ProtoReflect ¶
func (x *GetCostBreakdownRequest) ProtoReflect() protoreflect.Message
func (*GetCostBreakdownRequest) Reset ¶
func (x *GetCostBreakdownRequest) Reset()
func (*GetCostBreakdownRequest) String ¶
func (x *GetCostBreakdownRequest) String() string
type GetCostBreakdownResponse ¶
type GetCostBreakdownResponse struct {
// title is the display label for a cost breakdown row.
Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"`
// total is the aggregate cost row for this breakdown.
Total *CostEntry `protobuf:"bytes,2,opt,name=total,proto3" json:"total,omitempty"`
// entries are child rows contributing to the total.
Entries []*CostEntry `protobuf:"bytes,3,rep,name=entries,proto3" json:"entries,omitempty"`
// contains filtered or unexported fields
}
GetCostBreakdownResponse returns hierarchical cost attribution for a session.
func (*GetCostBreakdownResponse) Descriptor
deprecated
func (*GetCostBreakdownResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetCostBreakdownResponse.ProtoReflect.Descriptor instead.
func (*GetCostBreakdownResponse) GetEntries ¶
func (x *GetCostBreakdownResponse) GetEntries() []*CostEntry
func (*GetCostBreakdownResponse) GetTitle ¶
func (x *GetCostBreakdownResponse) GetTitle() string
func (*GetCostBreakdownResponse) GetTotal ¶
func (x *GetCostBreakdownResponse) GetTotal() *CostEntry
func (*GetCostBreakdownResponse) ProtoMessage ¶
func (*GetCostBreakdownResponse) ProtoMessage()
func (*GetCostBreakdownResponse) ProtoReflect ¶
func (x *GetCostBreakdownResponse) ProtoReflect() protoreflect.Message
func (*GetCostBreakdownResponse) Reset ¶
func (x *GetCostBreakdownResponse) Reset()
func (*GetCostBreakdownResponse) String ¶
func (x *GetCostBreakdownResponse) String() string
type GetDashboardRequest ¶
type GetDashboardRequest struct {
// session_id identifies the Mind session that owns this request or event.
SessionId string `protobuf:"bytes,1,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"`
// contains filtered or unexported fields
}
GetDashboardRequest identifies the dashboard data to retrieve.
func (*GetDashboardRequest) Descriptor
deprecated
func (*GetDashboardRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetDashboardRequest.ProtoReflect.Descriptor instead.
func (*GetDashboardRequest) GetSessionId ¶
func (x *GetDashboardRequest) GetSessionId() string
func (*GetDashboardRequest) ProtoMessage ¶
func (*GetDashboardRequest) ProtoMessage()
func (*GetDashboardRequest) ProtoReflect ¶
func (x *GetDashboardRequest) ProtoReflect() protoreflect.Message
func (*GetDashboardRequest) Reset ¶
func (x *GetDashboardRequest) Reset()
func (*GetDashboardRequest) String ¶
func (x *GetDashboardRequest) String() string
type GetDashboardResponse ¶
type GetDashboardResponse struct {
// active_objective is the objective currently being planned or executed.
ActiveObjective string `protobuf:"bytes,1,opt,name=active_objective,json=activeObjective,proto3" json:"active_objective,omitempty"`
// iteration is the execution loop number for this event.
Iteration int32 `protobuf:"varint,2,opt,name=iteration,proto3" json:"iteration,omitempty"`
// phase names the current initialization, planning, or execution phase.
Phase string `protobuf:"bytes,3,opt,name=phase,proto3" json:"phase,omitempty"`
// cost_usd is the estimated model cost in US dollars.
CostUsd float64 `protobuf:"fixed64,4,opt,name=cost_usd,json=costUsd,proto3" json:"cost_usd,omitempty"`
// tokens_used is the total model token count consumed by the session.
TokensUsed int32 `protobuf:"varint,5,opt,name=tokens_used,json=tokensUsed,proto3" json:"tokens_used,omitempty"`
// context_window is the maximum model context size currently available.
ContextWindow int32 `protobuf:"varint,6,opt,name=context_window,json=contextWindow,proto3" json:"context_window,omitempty"`
// budget_remaining is the remaining cost or token budget.
BudgetRemaining float64 `protobuf:"fixed64,7,opt,name=budget_remaining,json=budgetRemaining,proto3" json:"budget_remaining,omitempty"`
// uptime is how long the session or server has been running.
Uptime *durationpb.Duration `protobuf:"bytes,8,opt,name=uptime,proto3" json:"uptime,omitempty"`
// checks_passed is the number of verification checks that passed.
ChecksPassed int32 `protobuf:"varint,9,opt,name=checks_passed,json=checksPassed,proto3" json:"checks_passed,omitempty"`
// checks_total is the number of verification checks that ran.
ChecksTotal int32 `protobuf:"varint,10,opt,name=checks_total,json=checksTotal,proto3" json:"checks_total,omitempty"`
// llm_calls is the number of model calls made during the operation.
LlmCalls int32 `protobuf:"varint,11,opt,name=llm_calls,json=llmCalls,proto3" json:"llm_calls,omitempty"`
// input_tokens is the total number of prompt/input tokens consumed.
InputTokens int32 `protobuf:"varint,12,opt,name=input_tokens,json=inputTokens,proto3" json:"input_tokens,omitempty"`
// output_tokens is the total number of completion/output tokens produced.
OutputTokens int32 `protobuf:"varint,13,opt,name=output_tokens,json=outputTokens,proto3" json:"output_tokens,omitempty"`
// cached_tokens is the number of input tokens served from provider cache.
CachedTokens int32 `protobuf:"varint,14,opt,name=cached_tokens,json=cachedTokens,proto3" json:"cached_tokens,omitempty"`
// achieved is true when Mind believes the objective was satisfied.
Achieved bool `protobuf:"varint,15,opt,name=achieved,proto3" json:"achieved,omitempty"`
// contains filtered or unexported fields
}
GetDashboardResponse is the top-level KPI snapshot for the Mind session.
func (*GetDashboardResponse) Descriptor
deprecated
func (*GetDashboardResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetDashboardResponse.ProtoReflect.Descriptor instead.
func (*GetDashboardResponse) GetAchieved ¶
func (x *GetDashboardResponse) GetAchieved() bool
func (*GetDashboardResponse) GetActiveObjective ¶
func (x *GetDashboardResponse) GetActiveObjective() string
func (*GetDashboardResponse) GetBudgetRemaining ¶
func (x *GetDashboardResponse) GetBudgetRemaining() float64
func (*GetDashboardResponse) GetCachedTokens ¶
func (x *GetDashboardResponse) GetCachedTokens() int32
func (*GetDashboardResponse) GetChecksPassed ¶
func (x *GetDashboardResponse) GetChecksPassed() int32
func (*GetDashboardResponse) GetChecksTotal ¶
func (x *GetDashboardResponse) GetChecksTotal() int32
func (*GetDashboardResponse) GetContextWindow ¶
func (x *GetDashboardResponse) GetContextWindow() int32
func (*GetDashboardResponse) GetCostUsd ¶
func (x *GetDashboardResponse) GetCostUsd() float64
func (*GetDashboardResponse) GetInputTokens ¶
func (x *GetDashboardResponse) GetInputTokens() int32
func (*GetDashboardResponse) GetIteration ¶
func (x *GetDashboardResponse) GetIteration() int32
func (*GetDashboardResponse) GetLlmCalls ¶
func (x *GetDashboardResponse) GetLlmCalls() int32
func (*GetDashboardResponse) GetOutputTokens ¶
func (x *GetDashboardResponse) GetOutputTokens() int32
func (*GetDashboardResponse) GetPhase ¶
func (x *GetDashboardResponse) GetPhase() string
func (*GetDashboardResponse) GetTokensUsed ¶
func (x *GetDashboardResponse) GetTokensUsed() int32
func (*GetDashboardResponse) GetUptime ¶
func (x *GetDashboardResponse) GetUptime() *durationpb.Duration
func (*GetDashboardResponse) ProtoMessage ¶
func (*GetDashboardResponse) ProtoMessage()
func (*GetDashboardResponse) ProtoReflect ¶
func (x *GetDashboardResponse) ProtoReflect() protoreflect.Message
func (*GetDashboardResponse) Reset ¶
func (x *GetDashboardResponse) Reset()
func (*GetDashboardResponse) String ¶
func (x *GetDashboardResponse) String() string
type GetFileChangesRequest ¶
type GetFileChangesRequest struct {
// session_id identifies the Mind session that owns this request or event.
SessionId string `protobuf:"bytes,1,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"`
// contains filtered or unexported fields
}
GetFileChangesRequest identifies the file changes data to retrieve.
func (*GetFileChangesRequest) Descriptor
deprecated
func (*GetFileChangesRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetFileChangesRequest.ProtoReflect.Descriptor instead.
func (*GetFileChangesRequest) GetSessionId ¶
func (x *GetFileChangesRequest) GetSessionId() string
func (*GetFileChangesRequest) ProtoMessage ¶
func (*GetFileChangesRequest) ProtoMessage()
func (*GetFileChangesRequest) ProtoReflect ¶
func (x *GetFileChangesRequest) ProtoReflect() protoreflect.Message
func (*GetFileChangesRequest) Reset ¶
func (x *GetFileChangesRequest) Reset()
func (*GetFileChangesRequest) String ¶
func (x *GetFileChangesRequest) String() string
type GetFileChangesResponse ¶
type GetFileChangesResponse struct {
// files are changed files and their diffs.
Files []*FileChange `protobuf:"bytes,1,rep,name=files,proto3" json:"files,omitempty"`
// contains filtered or unexported fields
}
GetFileChangesResponse returns file changes retained for the current session.
func (*GetFileChangesResponse) Descriptor
deprecated
func (*GetFileChangesResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetFileChangesResponse.ProtoReflect.Descriptor instead.
func (*GetFileChangesResponse) GetFiles ¶
func (x *GetFileChangesResponse) GetFiles() []*FileChange
func (*GetFileChangesResponse) ProtoMessage ¶
func (*GetFileChangesResponse) ProtoMessage()
func (*GetFileChangesResponse) ProtoReflect ¶
func (x *GetFileChangesResponse) ProtoReflect() protoreflect.Message
func (*GetFileChangesResponse) Reset ¶
func (x *GetFileChangesResponse) Reset()
func (*GetFileChangesResponse) String ¶
func (x *GetFileChangesResponse) String() string
type GetLLMCallsRequest ¶
type GetLLMCallsRequest struct {
// session_id identifies the Mind session that owns this request or event.
SessionId string `protobuf:"bytes,1,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"`
// limit caps the number of records returned.
Limit int32 `protobuf:"varint,2,opt,name=limit,proto3" json:"limit,omitempty"`
// offset skips records before returning a paged result.
Offset int32 `protobuf:"varint,3,opt,name=offset,proto3" json:"offset,omitempty"`
// contains filtered or unexported fields
}
GetLLMCallsRequest identifies retained model-call records to retrieve.
func (*GetLLMCallsRequest) Descriptor
deprecated
func (*GetLLMCallsRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetLLMCallsRequest.ProtoReflect.Descriptor instead.
func (*GetLLMCallsRequest) GetLimit ¶
func (x *GetLLMCallsRequest) GetLimit() int32
func (*GetLLMCallsRequest) GetOffset ¶
func (x *GetLLMCallsRequest) GetOffset() int32
func (*GetLLMCallsRequest) GetSessionId ¶
func (x *GetLLMCallsRequest) GetSessionId() string
func (*GetLLMCallsRequest) ProtoMessage ¶
func (*GetLLMCallsRequest) ProtoMessage()
func (*GetLLMCallsRequest) ProtoReflect ¶
func (x *GetLLMCallsRequest) ProtoReflect() protoreflect.Message
func (*GetLLMCallsRequest) Reset ¶
func (x *GetLLMCallsRequest) Reset()
func (*GetLLMCallsRequest) String ¶
func (x *GetLLMCallsRequest) String() string
type GetLLMCallsResponse ¶
type GetLLMCallsResponse struct {
// calls are model calls retained in the session log.
Calls []*LLMCallEntry `protobuf:"bytes,1,rep,name=calls,proto3" json:"calls,omitempty"`
// total is the total number of model calls available before paging.
Total int32 `protobuf:"varint,2,opt,name=total,proto3" json:"total,omitempty"`
// contains filtered or unexported fields
}
GetLLMCallsResponse returns a paged list of retained model calls.
func (*GetLLMCallsResponse) Descriptor
deprecated
func (*GetLLMCallsResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetLLMCallsResponse.ProtoReflect.Descriptor instead.
func (*GetLLMCallsResponse) GetCalls ¶
func (x *GetLLMCallsResponse) GetCalls() []*LLMCallEntry
func (*GetLLMCallsResponse) GetTotal ¶
func (x *GetLLMCallsResponse) GetTotal() int32
func (*GetLLMCallsResponse) ProtoMessage ¶
func (*GetLLMCallsResponse) ProtoMessage()
func (*GetLLMCallsResponse) ProtoReflect ¶
func (x *GetLLMCallsResponse) ProtoReflect() protoreflect.Message
func (*GetLLMCallsResponse) Reset ¶
func (x *GetLLMCallsResponse) Reset()
func (*GetLLMCallsResponse) String ¶
func (x *GetLLMCallsResponse) String() string
type GetLastSummaryRequest ¶
type GetLastSummaryRequest struct {
// session_id identifies the Mind session that owns this request or event.
SessionId string `protobuf:"bytes,1,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"`
// contains filtered or unexported fields
}
GetLastSummaryRequest identifies the last summary data to retrieve.
func (*GetLastSummaryRequest) Descriptor
deprecated
func (*GetLastSummaryRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetLastSummaryRequest.ProtoReflect.Descriptor instead.
func (*GetLastSummaryRequest) GetSessionId ¶
func (x *GetLastSummaryRequest) GetSessionId() string
func (*GetLastSummaryRequest) ProtoMessage ¶
func (*GetLastSummaryRequest) ProtoMessage()
func (*GetLastSummaryRequest) ProtoReflect ¶
func (x *GetLastSummaryRequest) ProtoReflect() protoreflect.Message
func (*GetLastSummaryRequest) Reset ¶
func (x *GetLastSummaryRequest) Reset()
func (*GetLastSummaryRequest) String ¶
func (x *GetLastSummaryRequest) String() string
type GetLastSummaryResponse ¶
type GetLastSummaryResponse struct {
// achieved is true when Mind believes the objective was satisfied.
Achieved bool `protobuf:"varint,1,opt,name=achieved,proto3" json:"achieved,omitempty"`
// iterations is the number of execution loops completed.
Iterations int32 `protobuf:"varint,2,opt,name=iterations,proto3" json:"iterations,omitempty"`
// duration is wall-clock time spent on the run, suite, case, or operation.
Duration *durationpb.Duration `protobuf:"bytes,3,opt,name=duration,proto3" json:"duration,omitempty"`
// cost_usd is the estimated model cost in US dollars.
CostUsd float64 `protobuf:"fixed64,4,opt,name=cost_usd,json=costUsd,proto3" json:"cost_usd,omitempty"`
// llm_calls is the number of model calls made during the operation.
LlmCalls int32 `protobuf:"varint,5,opt,name=llm_calls,json=llmCalls,proto3" json:"llm_calls,omitempty"`
// input_tokens is the total number of prompt/input tokens consumed.
InputTokens int32 `protobuf:"varint,6,opt,name=input_tokens,json=inputTokens,proto3" json:"input_tokens,omitempty"`
// output_tokens is the total number of completion/output tokens produced.
OutputTokens int32 `protobuf:"varint,7,opt,name=output_tokens,json=outputTokens,proto3" json:"output_tokens,omitempty"`
// cached_tokens is the number of input tokens served from provider cache.
CachedTokens int32 `protobuf:"varint,8,opt,name=cached_tokens,json=cachedTokens,proto3" json:"cached_tokens,omitempty"`
// files are file changes included in the summary.
Files []*FileChange `protobuf:"bytes,9,rep,name=files,proto3" json:"files,omitempty"`
// checks are verification results included in the summary.
Checks []*CheckResult `protobuf:"bytes,10,rep,name=checks,proto3" json:"checks,omitempty"`
// trace_compact is a bounded trace summary suitable for UI display or prompts.
TraceCompact string `protobuf:"bytes,11,opt,name=trace_compact,json=traceCompact,proto3" json:"trace_compact,omitempty"`
// contains filtered or unexported fields
}
GetLastSummaryResponse returns the most recent completed-run summary.
func (*GetLastSummaryResponse) Descriptor
deprecated
func (*GetLastSummaryResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetLastSummaryResponse.ProtoReflect.Descriptor instead.
func (*GetLastSummaryResponse) GetAchieved ¶
func (x *GetLastSummaryResponse) GetAchieved() bool
func (*GetLastSummaryResponse) GetCachedTokens ¶
func (x *GetLastSummaryResponse) GetCachedTokens() int32
func (*GetLastSummaryResponse) GetChecks ¶
func (x *GetLastSummaryResponse) GetChecks() []*CheckResult
func (*GetLastSummaryResponse) GetCostUsd ¶
func (x *GetLastSummaryResponse) GetCostUsd() float64
func (*GetLastSummaryResponse) GetDuration ¶
func (x *GetLastSummaryResponse) GetDuration() *durationpb.Duration
func (*GetLastSummaryResponse) GetFiles ¶
func (x *GetLastSummaryResponse) GetFiles() []*FileChange
func (*GetLastSummaryResponse) GetInputTokens ¶
func (x *GetLastSummaryResponse) GetInputTokens() int32
func (*GetLastSummaryResponse) GetIterations ¶
func (x *GetLastSummaryResponse) GetIterations() int32
func (*GetLastSummaryResponse) GetLlmCalls ¶
func (x *GetLastSummaryResponse) GetLlmCalls() int32
func (*GetLastSummaryResponse) GetOutputTokens ¶
func (x *GetLastSummaryResponse) GetOutputTokens() int32
func (*GetLastSummaryResponse) GetTraceCompact ¶
func (x *GetLastSummaryResponse) GetTraceCompact() string
func (*GetLastSummaryResponse) ProtoMessage ¶
func (*GetLastSummaryResponse) ProtoMessage()
func (*GetLastSummaryResponse) ProtoReflect ¶
func (x *GetLastSummaryResponse) ProtoReflect() protoreflect.Message
func (*GetLastSummaryResponse) Reset ¶
func (x *GetLastSummaryResponse) Reset()
func (*GetLastSummaryResponse) String ¶
func (x *GetLastSummaryResponse) String() string
type GetMemoryRequest ¶
type GetMemoryRequest struct {
// session_id identifies the Mind session that owns this request or event.
SessionId string `protobuf:"bytes,1,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"`
// contains filtered or unexported fields
}
GetMemoryRequest identifies the memory data to retrieve.
func (*GetMemoryRequest) Descriptor
deprecated
func (*GetMemoryRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetMemoryRequest.ProtoReflect.Descriptor instead.
func (*GetMemoryRequest) GetSessionId ¶
func (x *GetMemoryRequest) GetSessionId() string
func (*GetMemoryRequest) ProtoMessage ¶
func (*GetMemoryRequest) ProtoMessage()
func (*GetMemoryRequest) ProtoReflect ¶
func (x *GetMemoryRequest) ProtoReflect() protoreflect.Message
func (*GetMemoryRequest) Reset ¶
func (x *GetMemoryRequest) Reset()
func (*GetMemoryRequest) String ¶
func (x *GetMemoryRequest) String() string
type GetMemoryResponse ¶
type GetMemoryResponse struct {
// objective is the user goal or execution target.
Objective string `protobuf:"bytes,1,opt,name=objective,proto3" json:"objective,omitempty"`
// approach summarizes the strategy used in prior work.
Approach string `protobuf:"bytes,2,opt,name=approach,proto3" json:"approach,omitempty"`
// files_modified lists files changed in prior work.
FilesModified map[string]string `` /* 174-byte string literal not displayed */
// files_read lists files inspected in prior work.
FilesRead map[string]string `` /* 162-byte string literal not displayed */
// symbols are code entities returned by language analysis.
Symbols []*SymbolRef `protobuf:"bytes,5,rep,name=symbols,proto3" json:"symbols,omitempty"`
// hypotheses are candidate explanations or plans Mind is tracking.
Hypotheses []string `protobuf:"bytes,6,rep,name=hypotheses,proto3" json:"hypotheses,omitempty"`
// blockers are unresolved issues that may prevent completion.
Blockers []string `protobuf:"bytes,7,rep,name=blockers,proto3" json:"blockers,omitempty"`
// next_steps are the next actions Mind has identified.
NextSteps []string `protobuf:"bytes,8,rep,name=next_steps,json=nextSteps,proto3" json:"next_steps,omitempty"`
// iterations is the number of execution loops completed.
Iterations []*IterationRecord `protobuf:"bytes,9,rep,name=iterations,proto3" json:"iterations,omitempty"`
// thread_summary is a compact summary of the conversation so far.
ThreadSummary string `protobuf:"bytes,10,opt,name=thread_summary,json=threadSummary,proto3" json:"thread_summary,omitempty"`
// contains filtered or unexported fields
}
GetMemoryResponse exposes Mind's working memory for the current objective.
func (*GetMemoryResponse) Descriptor
deprecated
func (*GetMemoryResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetMemoryResponse.ProtoReflect.Descriptor instead.
func (*GetMemoryResponse) GetApproach ¶
func (x *GetMemoryResponse) GetApproach() string
func (*GetMemoryResponse) GetBlockers ¶
func (x *GetMemoryResponse) GetBlockers() []string
func (*GetMemoryResponse) GetFilesModified ¶
func (x *GetMemoryResponse) GetFilesModified() map[string]string
func (*GetMemoryResponse) GetFilesRead ¶
func (x *GetMemoryResponse) GetFilesRead() map[string]string
func (*GetMemoryResponse) GetHypotheses ¶
func (x *GetMemoryResponse) GetHypotheses() []string
func (*GetMemoryResponse) GetIterations ¶
func (x *GetMemoryResponse) GetIterations() []*IterationRecord
func (*GetMemoryResponse) GetNextSteps ¶
func (x *GetMemoryResponse) GetNextSteps() []string
func (*GetMemoryResponse) GetObjective ¶
func (x *GetMemoryResponse) GetObjective() string
func (*GetMemoryResponse) GetSymbols ¶
func (x *GetMemoryResponse) GetSymbols() []*SymbolRef
func (*GetMemoryResponse) GetThreadSummary ¶
func (x *GetMemoryResponse) GetThreadSummary() string
func (*GetMemoryResponse) ProtoMessage ¶
func (*GetMemoryResponse) ProtoMessage()
func (*GetMemoryResponse) ProtoReflect ¶
func (x *GetMemoryResponse) ProtoReflect() protoreflect.Message
func (*GetMemoryResponse) Reset ¶
func (x *GetMemoryResponse) Reset()
func (*GetMemoryResponse) String ¶
func (x *GetMemoryResponse) String() string
type GetMetricsRequest ¶
type GetMetricsRequest struct {
// session_id identifies the Mind session that owns this request or event.
SessionId string `protobuf:"bytes,1,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"`
// contains filtered or unexported fields
}
GetMetricsRequest identifies the metrics data to retrieve.
func (*GetMetricsRequest) Descriptor
deprecated
func (*GetMetricsRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetMetricsRequest.ProtoReflect.Descriptor instead.
func (*GetMetricsRequest) GetSessionId ¶
func (x *GetMetricsRequest) GetSessionId() string
func (*GetMetricsRequest) ProtoMessage ¶
func (*GetMetricsRequest) ProtoMessage()
func (*GetMetricsRequest) ProtoReflect ¶
func (x *GetMetricsRequest) ProtoReflect() protoreflect.Message
func (*GetMetricsRequest) Reset ¶
func (x *GetMetricsRequest) Reset()
func (*GetMetricsRequest) String ¶
func (x *GetMetricsRequest) String() string
type GetMetricsResponse ¶
type GetMetricsResponse struct {
// llm_calls is the number of model calls made during the operation.
LlmCalls int32 `protobuf:"varint,1,opt,name=llm_calls,json=llmCalls,proto3" json:"llm_calls,omitempty"`
// input_tokens is the total number of prompt/input tokens consumed.
InputTokens int32 `protobuf:"varint,2,opt,name=input_tokens,json=inputTokens,proto3" json:"input_tokens,omitempty"`
// output_tokens is the total number of completion/output tokens produced.
OutputTokens int32 `protobuf:"varint,3,opt,name=output_tokens,json=outputTokens,proto3" json:"output_tokens,omitempty"`
// cached_tokens is the number of input tokens served from provider cache.
CachedTokens int32 `protobuf:"varint,4,opt,name=cached_tokens,json=cachedTokens,proto3" json:"cached_tokens,omitempty"`
// cost_usd is the estimated model cost in US dollars.
CostUsd float64 `protobuf:"fixed64,5,opt,name=cost_usd,json=costUsd,proto3" json:"cost_usd,omitempty"`
// duration is wall-clock time spent on the run, suite, case, or operation.
Duration *durationpb.Duration `protobuf:"bytes,6,opt,name=duration,proto3" json:"duration,omitempty"`
// iterations is the number of execution loops completed.
Iterations int32 `protobuf:"varint,7,opt,name=iterations,proto3" json:"iterations,omitempty"`
// context is the measured context segment or prompt state.
Context *ContextMetrics `protobuf:"bytes,8,opt,name=context,proto3" json:"context,omitempty"`
// contains filtered or unexported fields
}
GetMetricsResponse returns session-level model, token, and timing metrics.
func (*GetMetricsResponse) Descriptor
deprecated
func (*GetMetricsResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetMetricsResponse.ProtoReflect.Descriptor instead.
func (*GetMetricsResponse) GetCachedTokens ¶
func (x *GetMetricsResponse) GetCachedTokens() int32
func (*GetMetricsResponse) GetContext ¶
func (x *GetMetricsResponse) GetContext() *ContextMetrics
func (*GetMetricsResponse) GetCostUsd ¶
func (x *GetMetricsResponse) GetCostUsd() float64
func (*GetMetricsResponse) GetDuration ¶
func (x *GetMetricsResponse) GetDuration() *durationpb.Duration
func (*GetMetricsResponse) GetInputTokens ¶
func (x *GetMetricsResponse) GetInputTokens() int32
func (*GetMetricsResponse) GetIterations ¶
func (x *GetMetricsResponse) GetIterations() int32
func (*GetMetricsResponse) GetLlmCalls ¶
func (x *GetMetricsResponse) GetLlmCalls() int32
func (*GetMetricsResponse) GetOutputTokens ¶
func (x *GetMetricsResponse) GetOutputTokens() int32
func (*GetMetricsResponse) ProtoMessage ¶
func (*GetMetricsResponse) ProtoMessage()
func (*GetMetricsResponse) ProtoReflect ¶
func (x *GetMetricsResponse) ProtoReflect() protoreflect.Message
func (*GetMetricsResponse) Reset ¶
func (x *GetMetricsResponse) Reset()
func (*GetMetricsResponse) String ¶
func (x *GetMetricsResponse) String() string
type GetMiddlewareRequest ¶
type GetMiddlewareRequest struct {
// session_id identifies the Mind session that owns this request or event.
SessionId string `protobuf:"bytes,1,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"`
// contains filtered or unexported fields
}
GetMiddlewareRequest identifies the middleware data to retrieve.
func (*GetMiddlewareRequest) Descriptor
deprecated
func (*GetMiddlewareRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetMiddlewareRequest.ProtoReflect.Descriptor instead.
func (*GetMiddlewareRequest) GetSessionId ¶
func (x *GetMiddlewareRequest) GetSessionId() string
func (*GetMiddlewareRequest) ProtoMessage ¶
func (*GetMiddlewareRequest) ProtoMessage()
func (*GetMiddlewareRequest) ProtoReflect ¶
func (x *GetMiddlewareRequest) ProtoReflect() protoreflect.Message
func (*GetMiddlewareRequest) Reset ¶
func (x *GetMiddlewareRequest) Reset()
func (*GetMiddlewareRequest) String ¶
func (x *GetMiddlewareRequest) String() string
type GetMiddlewareResponse ¶
type GetMiddlewareResponse struct {
// chain is the ordered middleware stack and its status.
Chain []*MiddlewareEntry `protobuf:"bytes,1,rep,name=chain,proto3" json:"chain,omitempty"`
// contains filtered or unexported fields
}
GetMiddlewareResponse returns the current middleware pipeline state.
func (*GetMiddlewareResponse) Descriptor
deprecated
func (*GetMiddlewareResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetMiddlewareResponse.ProtoReflect.Descriptor instead.
func (*GetMiddlewareResponse) GetChain ¶
func (x *GetMiddlewareResponse) GetChain() []*MiddlewareEntry
func (*GetMiddlewareResponse) ProtoMessage ¶
func (*GetMiddlewareResponse) ProtoMessage()
func (*GetMiddlewareResponse) ProtoReflect ¶
func (x *GetMiddlewareResponse) ProtoReflect() protoreflect.Message
func (*GetMiddlewareResponse) Reset ¶
func (x *GetMiddlewareResponse) Reset()
func (*GetMiddlewareResponse) String ¶
func (x *GetMiddlewareResponse) String() string
type GetObjectiveGraphRequest ¶
type GetObjectiveGraphRequest struct {
// session_id identifies the Mind session that owns this request or event.
SessionId string `protobuf:"bytes,1,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"`
// contains filtered or unexported fields
}
GetObjectiveGraphRequest identifies the objective graph data to retrieve.
func (*GetObjectiveGraphRequest) Descriptor
deprecated
func (*GetObjectiveGraphRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetObjectiveGraphRequest.ProtoReflect.Descriptor instead.
func (*GetObjectiveGraphRequest) GetSessionId ¶
func (x *GetObjectiveGraphRequest) GetSessionId() string
func (*GetObjectiveGraphRequest) ProtoMessage ¶
func (*GetObjectiveGraphRequest) ProtoMessage()
func (*GetObjectiveGraphRequest) ProtoReflect ¶
func (x *GetObjectiveGraphRequest) ProtoReflect() protoreflect.Message
func (*GetObjectiveGraphRequest) Reset ¶
func (x *GetObjectiveGraphRequest) Reset()
func (*GetObjectiveGraphRequest) String ¶
func (x *GetObjectiveGraphRequest) String() string
type GetObjectiveGraphResponse ¶
type GetObjectiveGraphResponse struct {
// nodes are graph vertices returned by the objective or dependency graph.
Nodes []*ObjectiveNode `protobuf:"bytes,1,rep,name=nodes,proto3" json:"nodes,omitempty"`
// edges are graph relationships between returned nodes.
Edges []*ObjectiveEdge `protobuf:"bytes,2,rep,name=edges,proto3" json:"edges,omitempty"`
// contains filtered or unexported fields
}
GetObjectiveGraphResponse returns the current objective DAG.
func (*GetObjectiveGraphResponse) Descriptor
deprecated
func (*GetObjectiveGraphResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetObjectiveGraphResponse.ProtoReflect.Descriptor instead.
func (*GetObjectiveGraphResponse) GetEdges ¶
func (x *GetObjectiveGraphResponse) GetEdges() []*ObjectiveEdge
func (*GetObjectiveGraphResponse) GetNodes ¶
func (x *GetObjectiveGraphResponse) GetNodes() []*ObjectiveNode
func (*GetObjectiveGraphResponse) ProtoMessage ¶
func (*GetObjectiveGraphResponse) ProtoMessage()
func (*GetObjectiveGraphResponse) ProtoReflect ¶
func (x *GetObjectiveGraphResponse) ProtoReflect() protoreflect.Message
func (*GetObjectiveGraphResponse) Reset ¶
func (x *GetObjectiveGraphResponse) Reset()
func (*GetObjectiveGraphResponse) String ¶
func (x *GetObjectiveGraphResponse) String() string
type GetRulesRequest ¶
type GetRulesRequest struct {
// session_id identifies the Mind session that owns this request or event.
SessionId string `protobuf:"bytes,1,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"`
// contains filtered or unexported fields
}
GetRulesRequest identifies the rules data to retrieve.
func (*GetRulesRequest) Descriptor
deprecated
func (*GetRulesRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetRulesRequest.ProtoReflect.Descriptor instead.
func (*GetRulesRequest) GetSessionId ¶
func (x *GetRulesRequest) GetSessionId() string
func (*GetRulesRequest) ProtoMessage ¶
func (*GetRulesRequest) ProtoMessage()
func (*GetRulesRequest) ProtoReflect ¶
func (x *GetRulesRequest) ProtoReflect() protoreflect.Message
func (*GetRulesRequest) Reset ¶
func (x *GetRulesRequest) Reset()
func (*GetRulesRequest) String ¶
func (x *GetRulesRequest) String() string
type GetRulesResponse ¶
type GetRulesResponse struct {
// rules are loaded rules and their current match state.
Rules []*RuleEntry `protobuf:"bytes,1,rep,name=rules,proto3" json:"rules,omitempty"`
// contains filtered or unexported fields
}
GetRulesResponse returns rules loaded into the current Mind context.
func (*GetRulesResponse) Descriptor
deprecated
func (*GetRulesResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetRulesResponse.ProtoReflect.Descriptor instead.
func (*GetRulesResponse) GetRules ¶
func (x *GetRulesResponse) GetRules() []*RuleEntry
func (*GetRulesResponse) ProtoMessage ¶
func (*GetRulesResponse) ProtoMessage()
func (*GetRulesResponse) ProtoReflect ¶
func (x *GetRulesResponse) ProtoReflect() protoreflect.Message
func (*GetRulesResponse) Reset ¶
func (x *GetRulesResponse) Reset()
func (*GetRulesResponse) String ¶
func (x *GetRulesResponse) String() string
type GetSessionDetailRequest ¶
type GetSessionDetailRequest struct {
// session_id identifies the Mind session that owns this request or event.
SessionId string `protobuf:"bytes,1,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"`
// contains filtered or unexported fields
}
GetSessionDetailRequest identifies the session detail data to retrieve.
func (*GetSessionDetailRequest) Descriptor
deprecated
func (*GetSessionDetailRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetSessionDetailRequest.ProtoReflect.Descriptor instead.
func (*GetSessionDetailRequest) GetSessionId ¶
func (x *GetSessionDetailRequest) GetSessionId() string
func (*GetSessionDetailRequest) ProtoMessage ¶
func (*GetSessionDetailRequest) ProtoMessage()
func (*GetSessionDetailRequest) ProtoReflect ¶
func (x *GetSessionDetailRequest) ProtoReflect() protoreflect.Message
func (*GetSessionDetailRequest) Reset ¶
func (x *GetSessionDetailRequest) Reset()
func (*GetSessionDetailRequest) String ¶
func (x *GetSessionDetailRequest) String() string
type GetSessionDetailResponse ¶
type GetSessionDetailResponse struct {
// session is the session metadata returned by the lookup.
Session *SessionSummary `protobuf:"bytes,1,opt,name=session,proto3" json:"session,omitempty"`
// events are chronological history entries for the session.
Events []*EventEntry `protobuf:"bytes,2,rep,name=events,proto3" json:"events,omitempty"`
// contains filtered or unexported fields
}
GetSessionDetailResponse returns session metadata and retained event history.
func (*GetSessionDetailResponse) Descriptor
deprecated
func (*GetSessionDetailResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetSessionDetailResponse.ProtoReflect.Descriptor instead.
func (*GetSessionDetailResponse) GetEvents ¶
func (x *GetSessionDetailResponse) GetEvents() []*EventEntry
func (*GetSessionDetailResponse) GetSession ¶
func (x *GetSessionDetailResponse) GetSession() *SessionSummary
func (*GetSessionDetailResponse) ProtoMessage ¶
func (*GetSessionDetailResponse) ProtoMessage()
func (*GetSessionDetailResponse) ProtoReflect ¶
func (x *GetSessionDetailResponse) ProtoReflect() protoreflect.Message
func (*GetSessionDetailResponse) Reset ¶
func (x *GetSessionDetailResponse) Reset()
func (*GetSessionDetailResponse) String ¶
func (x *GetSessionDetailResponse) String() string
type GetSymbolMapRequest ¶
type GetSymbolMapRequest struct {
// session_id identifies the Mind session that owns this request or event.
SessionId string `protobuf:"bytes,1,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"`
// contains filtered or unexported fields
}
GetSymbolMapRequest identifies the symbol map data to retrieve.
func (*GetSymbolMapRequest) Descriptor
deprecated
func (*GetSymbolMapRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetSymbolMapRequest.ProtoReflect.Descriptor instead.
func (*GetSymbolMapRequest) GetSessionId ¶
func (x *GetSymbolMapRequest) GetSessionId() string
func (*GetSymbolMapRequest) ProtoMessage ¶
func (*GetSymbolMapRequest) ProtoMessage()
func (*GetSymbolMapRequest) ProtoReflect ¶
func (x *GetSymbolMapRequest) ProtoReflect() protoreflect.Message
func (*GetSymbolMapRequest) Reset ¶
func (x *GetSymbolMapRequest) Reset()
func (*GetSymbolMapRequest) String ¶
func (x *GetSymbolMapRequest) String() string
type GetSymbolMapResponse ¶
type GetSymbolMapResponse struct {
// total_symbols is the number of symbols available in the symbol map.
TotalSymbols int32 `protobuf:"varint,1,opt,name=total_symbols,json=totalSymbols,proto3" json:"total_symbols,omitempty"`
// total_files is the number of files included in the response.
TotalFiles int32 `protobuf:"varint,2,opt,name=total_files,json=totalFiles,proto3" json:"total_files,omitempty"`
// overlay_active is true when Mind has uncommitted overlay edits.
OverlayActive bool `protobuf:"varint,3,opt,name=overlay_active,json=overlayActive,proto3" json:"overlay_active,omitempty"`
// files are source files included in the symbol map.
Files []*FileSymbols `protobuf:"bytes,4,rep,name=files,proto3" json:"files,omitempty"`
// contains filtered or unexported fields
}
GetSymbolMapResponse returns the symbol map currently available to Mind.
func (*GetSymbolMapResponse) Descriptor
deprecated
func (*GetSymbolMapResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetSymbolMapResponse.ProtoReflect.Descriptor instead.
func (*GetSymbolMapResponse) GetFiles ¶
func (x *GetSymbolMapResponse) GetFiles() []*FileSymbols
func (*GetSymbolMapResponse) GetOverlayActive ¶
func (x *GetSymbolMapResponse) GetOverlayActive() bool
func (*GetSymbolMapResponse) GetTotalFiles ¶
func (x *GetSymbolMapResponse) GetTotalFiles() int32
func (*GetSymbolMapResponse) GetTotalSymbols ¶
func (x *GetSymbolMapResponse) GetTotalSymbols() int32
func (*GetSymbolMapResponse) ProtoMessage ¶
func (*GetSymbolMapResponse) ProtoMessage()
func (*GetSymbolMapResponse) ProtoReflect ¶
func (x *GetSymbolMapResponse) ProtoReflect() protoreflect.Message
func (*GetSymbolMapResponse) Reset ¶
func (x *GetSymbolMapResponse) Reset()
func (*GetSymbolMapResponse) String ¶
func (x *GetSymbolMapResponse) String() string
type GetTraceRequest ¶
type GetTraceRequest struct {
// session_id identifies the Mind session that owns this request or event.
SessionId string `protobuf:"bytes,1,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"`
// contains filtered or unexported fields
}
GetTraceRequest identifies the trace data to retrieve.
func (*GetTraceRequest) Descriptor
deprecated
func (*GetTraceRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetTraceRequest.ProtoReflect.Descriptor instead.
func (*GetTraceRequest) GetSessionId ¶
func (x *GetTraceRequest) GetSessionId() string
func (*GetTraceRequest) ProtoMessage ¶
func (*GetTraceRequest) ProtoMessage()
func (*GetTraceRequest) ProtoReflect ¶
func (x *GetTraceRequest) ProtoReflect() protoreflect.Message
func (*GetTraceRequest) Reset ¶
func (x *GetTraceRequest) Reset()
func (*GetTraceRequest) String ¶
func (x *GetTraceRequest) String() string
type GetTraceResponse ¶
type GetTraceResponse struct {
// root is the root trace node for the returned tree.
Root *TraceNode `protobuf:"bytes,1,opt,name=root,proto3" json:"root,omitempty"`
// contains filtered or unexported fields
}
GetTraceResponse returns the root of the retained execution trace tree.
func (*GetTraceResponse) Descriptor
deprecated
func (*GetTraceResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetTraceResponse.ProtoReflect.Descriptor instead.
func (*GetTraceResponse) GetRoot ¶
func (x *GetTraceResponse) GetRoot() *TraceNode
func (*GetTraceResponse) ProtoMessage ¶
func (*GetTraceResponse) ProtoMessage()
func (*GetTraceResponse) ProtoReflect ¶
func (x *GetTraceResponse) ProtoReflect() protoreflect.Message
func (*GetTraceResponse) Reset ¶
func (x *GetTraceResponse) Reset()
func (*GetTraceResponse) String ¶
func (x *GetTraceResponse) String() string
type InitContextRequest ¶
type InitContextRequest struct {
// session_id identifies the Mind session that owns this request or event.
SessionId string `protobuf:"bytes,1,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"`
// contains filtered or unexported fields
}
InitContextRequest starts codebase ingestion and context initialization for a session.
func (*InitContextRequest) Descriptor
deprecated
func (*InitContextRequest) Descriptor() ([]byte, []int)
Deprecated: Use InitContextRequest.ProtoReflect.Descriptor instead.
func (*InitContextRequest) GetSessionId ¶
func (x *InitContextRequest) GetSessionId() string
func (*InitContextRequest) ProtoMessage ¶
func (*InitContextRequest) ProtoMessage()
func (*InitContextRequest) ProtoReflect ¶
func (x *InitContextRequest) ProtoReflect() protoreflect.Message
func (*InitContextRequest) Reset ¶
func (x *InitContextRequest) Reset()
func (*InitContextRequest) String ¶
func (x *InitContextRequest) String() string
type InitEvent ¶
type InitEvent struct {
// phase names the current initialization, planning, or execution phase.
Phase string `protobuf:"bytes,1,opt,name=phase,proto3" json:"phase,omitempty"` // "gateway", "services", "symbols", "conventions", "embeddings", "rules"
// message is a human-readable status or diagnostic summary.
Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
// progress is a fractional progress value from 0 to 1 when known.
Progress float64 `protobuf:"fixed64,3,opt,name=progress,proto3" json:"progress,omitempty"` // 0.0 - 1.0
// done is true when the stream or phase has completed.
Done bool `protobuf:"varint,4,opt,name=done,proto3" json:"done,omitempty"`
// contains filtered or unexported fields
}
InitEvent is a streamable event emitted during init.
func (*InitEvent) Descriptor
deprecated
func (*InitEvent) GetMessage ¶
func (*InitEvent) GetProgress ¶
func (*InitEvent) ProtoMessage ¶
func (*InitEvent) ProtoMessage()
func (*InitEvent) ProtoReflect ¶
func (x *InitEvent) ProtoReflect() protoreflect.Message
type IterationEvent ¶
type IterationEvent struct {
// number is the 1-based iteration or sequence number.
Number int32 `protobuf:"varint,1,opt,name=number,proto3" json:"number,omitempty"`
// objective_id identifies a planned or running objective node.
ObjectiveId string `protobuf:"bytes,2,opt,name=objective_id,json=objectiveId,proto3" json:"objective_id,omitempty"`
// objective_do is the objective text active during this iteration.
ObjectiveDo string `protobuf:"bytes,3,opt,name=objective_do,json=objectiveDo,proto3" json:"objective_do,omitempty"`
// outcome summarizes the result of an iteration or memory entry.
Outcome string `protobuf:"bytes,4,opt,name=outcome,proto3" json:"outcome,omitempty"` // "achieved", "failed", "decomposed"
// checks_passed is the number of verification checks that passed.
ChecksPassed int32 `protobuf:"varint,5,opt,name=checks_passed,json=checksPassed,proto3" json:"checks_passed,omitempty"`
// checks_total is the number of verification checks that ran.
ChecksTotal int32 `protobuf:"varint,6,opt,name=checks_total,json=checksTotal,proto3" json:"checks_total,omitempty"`
// contains filtered or unexported fields
}
IterationEvent is a streamable event emitted during iteration.
func (*IterationEvent) Descriptor
deprecated
func (*IterationEvent) Descriptor() ([]byte, []int)
Deprecated: Use IterationEvent.ProtoReflect.Descriptor instead.
func (*IterationEvent) GetChecksPassed ¶
func (x *IterationEvent) GetChecksPassed() int32
func (*IterationEvent) GetChecksTotal ¶
func (x *IterationEvent) GetChecksTotal() int32
func (*IterationEvent) GetNumber ¶
func (x *IterationEvent) GetNumber() int32
func (*IterationEvent) GetObjectiveDo ¶
func (x *IterationEvent) GetObjectiveDo() string
func (*IterationEvent) GetObjectiveId ¶
func (x *IterationEvent) GetObjectiveId() string
func (*IterationEvent) GetOutcome ¶
func (x *IterationEvent) GetOutcome() string
func (*IterationEvent) ProtoMessage ¶
func (*IterationEvent) ProtoMessage()
func (*IterationEvent) ProtoReflect ¶
func (x *IterationEvent) ProtoReflect() protoreflect.Message
func (*IterationEvent) Reset ¶
func (x *IterationEvent) Reset()
func (*IterationEvent) String ¶
func (x *IterationEvent) String() string
type IterationRecord ¶
type IterationRecord struct {
// number is the 1-based iteration or sequence number.
Number int32 `protobuf:"varint,1,opt,name=number,proto3" json:"number,omitempty"`
// outcome summarizes the result of an iteration or memory entry.
Outcome string `protobuf:"bytes,2,opt,name=outcome,proto3" json:"outcome,omitempty"`
// insight captures what Mind learned during the iteration.
Insight string `protobuf:"bytes,3,opt,name=insight,proto3" json:"insight,omitempty"`
// files are workspace files touched or inspected during the iteration.
Files []string `protobuf:"bytes,4,rep,name=files,proto3" json:"files,omitempty"`
// contains filtered or unexported fields
}
IterationRecord summarizes one reasoning or execution loop.
func (*IterationRecord) Descriptor
deprecated
func (*IterationRecord) Descriptor() ([]byte, []int)
Deprecated: Use IterationRecord.ProtoReflect.Descriptor instead.
func (*IterationRecord) GetFiles ¶
func (x *IterationRecord) GetFiles() []string
func (*IterationRecord) GetInsight ¶
func (x *IterationRecord) GetInsight() string
func (*IterationRecord) GetNumber ¶
func (x *IterationRecord) GetNumber() int32
func (*IterationRecord) GetOutcome ¶
func (x *IterationRecord) GetOutcome() string
func (*IterationRecord) ProtoMessage ¶
func (*IterationRecord) ProtoMessage()
func (*IterationRecord) ProtoReflect ¶
func (x *IterationRecord) ProtoReflect() protoreflect.Message
func (*IterationRecord) Reset ¶
func (x *IterationRecord) Reset()
func (*IterationRecord) String ¶
func (x *IterationRecord) String() string
type LLMCallEntry ¶
type LLMCallEntry struct {
// timestamp is when the event, call, or record was produced.
Timestamp *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
// model is the provider model identifier used for the call.
Model string `protobuf:"bytes,2,opt,name=model,proto3" json:"model,omitempty"`
// agent is the Codefly agent plugin responsible for this service type.
Agent string `protobuf:"bytes,3,opt,name=agent,proto3" json:"agent,omitempty"`
// prompt_hash is a stable hash of the prompt payload.
PromptHash string `protobuf:"bytes,4,opt,name=prompt_hash,json=promptHash,proto3" json:"prompt_hash,omitempty"`
// prompt_preview is a bounded prompt excerpt for debugging.
PromptPreview string `protobuf:"bytes,5,opt,name=prompt_preview,json=promptPreview,proto3" json:"prompt_preview,omitempty"`
// response_preview is a bounded response excerpt for debugging.
ResponsePreview string `protobuf:"bytes,6,opt,name=response_preview,json=responsePreview,proto3" json:"response_preview,omitempty"`
// input_tokens is the total number of prompt/input tokens consumed.
InputTokens int32 `protobuf:"varint,7,opt,name=input_tokens,json=inputTokens,proto3" json:"input_tokens,omitempty"`
// output_tokens is the total number of completion/output tokens produced.
OutputTokens int32 `protobuf:"varint,8,opt,name=output_tokens,json=outputTokens,proto3" json:"output_tokens,omitempty"`
// cached_tokens is the number of input tokens served from provider cache.
CachedTokens int32 `protobuf:"varint,9,opt,name=cached_tokens,json=cachedTokens,proto3" json:"cached_tokens,omitempty"`
// cost_usd is the estimated model cost in US dollars.
CostUsd float64 `protobuf:"fixed64,10,opt,name=cost_usd,json=costUsd,proto3" json:"cost_usd,omitempty"`
// duration_ms is wall-clock time in milliseconds.
DurationMs int64 `protobuf:"varint,11,opt,name=duration_ms,json=durationMs,proto3" json:"duration_ms,omitempty"`
// cache_hit is true when the provider reported a cache hit.
CacheHit bool `protobuf:"varint,12,opt,name=cache_hit,json=cacheHit,proto3" json:"cache_hit,omitempty"`
// tool_call_count is the number of tool calls associated with the model call.
ToolCallCount int32 `protobuf:"varint,13,opt,name=tool_call_count,json=toolCallCount,proto3" json:"tool_call_count,omitempty"`
// full_prompt is the complete prompt text when trace retention permits it.
FullPrompt string `protobuf:"bytes,14,opt,name=full_prompt,json=fullPrompt,proto3" json:"full_prompt,omitempty"`
// full_response is the complete model response when trace retention permits it.
FullResponse string `protobuf:"bytes,15,opt,name=full_response,json=fullResponse,proto3" json:"full_response,omitempty"`
// contains filtered or unexported fields
}
LLMCallEntry records one model call and retained prompt/response previews.
func (*LLMCallEntry) Descriptor
deprecated
func (*LLMCallEntry) Descriptor() ([]byte, []int)
Deprecated: Use LLMCallEntry.ProtoReflect.Descriptor instead.
func (*LLMCallEntry) GetAgent ¶
func (x *LLMCallEntry) GetAgent() string
func (*LLMCallEntry) GetCacheHit ¶
func (x *LLMCallEntry) GetCacheHit() bool
func (*LLMCallEntry) GetCachedTokens ¶
func (x *LLMCallEntry) GetCachedTokens() int32
func (*LLMCallEntry) GetCostUsd ¶
func (x *LLMCallEntry) GetCostUsd() float64
func (*LLMCallEntry) GetDurationMs ¶
func (x *LLMCallEntry) GetDurationMs() int64
func (*LLMCallEntry) GetFullPrompt ¶
func (x *LLMCallEntry) GetFullPrompt() string
func (*LLMCallEntry) GetFullResponse ¶
func (x *LLMCallEntry) GetFullResponse() string
func (*LLMCallEntry) GetInputTokens ¶
func (x *LLMCallEntry) GetInputTokens() int32
func (*LLMCallEntry) GetModel ¶
func (x *LLMCallEntry) GetModel() string
func (*LLMCallEntry) GetOutputTokens ¶
func (x *LLMCallEntry) GetOutputTokens() int32
func (*LLMCallEntry) GetPromptHash ¶
func (x *LLMCallEntry) GetPromptHash() string
func (*LLMCallEntry) GetPromptPreview ¶
func (x *LLMCallEntry) GetPromptPreview() string
func (*LLMCallEntry) GetResponsePreview ¶
func (x *LLMCallEntry) GetResponsePreview() string
func (*LLMCallEntry) GetTimestamp ¶
func (x *LLMCallEntry) GetTimestamp() *timestamppb.Timestamp
func (*LLMCallEntry) GetToolCallCount ¶
func (x *LLMCallEntry) GetToolCallCount() int32
func (*LLMCallEntry) ProtoMessage ¶
func (*LLMCallEntry) ProtoMessage()
func (*LLMCallEntry) ProtoReflect ¶
func (x *LLMCallEntry) ProtoReflect() protoreflect.Message
func (*LLMCallEntry) Reset ¶
func (x *LLMCallEntry) Reset()
func (*LLMCallEntry) String ¶
func (x *LLMCallEntry) String() string
type LLMEvent ¶
type LLMEvent struct {
// model is the provider model identifier used for the call.
Model string `protobuf:"bytes,1,opt,name=model,proto3" json:"model,omitempty"`
// input_tokens is the total number of prompt/input tokens consumed.
InputTokens int32 `protobuf:"varint,2,opt,name=input_tokens,json=inputTokens,proto3" json:"input_tokens,omitempty"`
// output_tokens is the total number of completion/output tokens produced.
OutputTokens int32 `protobuf:"varint,3,opt,name=output_tokens,json=outputTokens,proto3" json:"output_tokens,omitempty"`
// cached_tokens is the number of input tokens served from provider cache.
CachedTokens int32 `protobuf:"varint,4,opt,name=cached_tokens,json=cachedTokens,proto3" json:"cached_tokens,omitempty"`
// cost_usd is the estimated model cost in US dollars.
CostUsd float64 `protobuf:"fixed64,5,opt,name=cost_usd,json=costUsd,proto3" json:"cost_usd,omitempty"`
// duration_ms is wall-clock time in milliseconds.
DurationMs int64 `protobuf:"varint,6,opt,name=duration_ms,json=durationMs,proto3" json:"duration_ms,omitempty"`
// contains filtered or unexported fields
}
LLMEvent records token, model, cost, and timing data for one model call.
func (*LLMEvent) Descriptor
deprecated
func (*LLMEvent) GetCachedTokens ¶
func (*LLMEvent) GetCostUsd ¶
func (*LLMEvent) GetDurationMs ¶
func (*LLMEvent) GetInputTokens ¶
func (*LLMEvent) GetOutputTokens ¶
func (*LLMEvent) ProtoMessage ¶
func (*LLMEvent) ProtoMessage()
func (*LLMEvent) ProtoReflect ¶
func (x *LLMEvent) ProtoReflect() protoreflect.Message
type LintRequest ¶
type LintRequest struct {
// session_id identifies the Mind session that owns this request or event.
SessionId string `protobuf:"bytes,1,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"`
// contains filtered or unexported fields
}
LintRequest asks Mind to run session linting through the gateway.
func (*LintRequest) Descriptor
deprecated
func (*LintRequest) Descriptor() ([]byte, []int)
Deprecated: Use LintRequest.ProtoReflect.Descriptor instead.
func (*LintRequest) GetSessionId ¶
func (x *LintRequest) GetSessionId() string
func (*LintRequest) ProtoMessage ¶
func (*LintRequest) ProtoMessage()
func (*LintRequest) ProtoReflect ¶
func (x *LintRequest) ProtoReflect() protoreflect.Message
func (*LintRequest) Reset ¶
func (x *LintRequest) Reset()
func (*LintRequest) String ¶
func (x *LintRequest) String() string
type LintResponse ¶
type LintResponse struct {
// success is true when the requested operation completed successfully.
Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
// output is raw command, build, lint, or test output preserved for diagnostics.
Output string `protobuf:"bytes,2,opt,name=output,proto3" json:"output,omitempty"`
// issues are lint or diagnostic findings returned by the operation.
Issues int32 `protobuf:"varint,3,opt,name=issues,proto3" json:"issues,omitempty"`
// contains filtered or unexported fields
}
LintResponse returns lint success, raw output, and issue count.
func (*LintResponse) Descriptor
deprecated
func (*LintResponse) Descriptor() ([]byte, []int)
Deprecated: Use LintResponse.ProtoReflect.Descriptor instead.
func (*LintResponse) GetIssues ¶
func (x *LintResponse) GetIssues() int32
func (*LintResponse) GetOutput ¶
func (x *LintResponse) GetOutput() string
func (*LintResponse) GetSuccess ¶
func (x *LintResponse) GetSuccess() bool
func (*LintResponse) ProtoMessage ¶
func (*LintResponse) ProtoMessage()
func (*LintResponse) ProtoReflect ¶
func (x *LintResponse) ProtoReflect() protoreflect.Message
func (*LintResponse) Reset ¶
func (x *LintResponse) Reset()
func (*LintResponse) String ¶
func (x *LintResponse) String() string
type ListSessionsRequest ¶
type ListSessionsRequest struct {
// limit caps the number of sessions returned; zero uses the server default.
Limit int32 `protobuf:"varint,1,opt,name=limit,proto3" json:"limit,omitempty"` // max sessions to return (default 20)
// contains filtered or unexported fields
}
ListSessionsRequest carries optional filters for listing sessions.
func (*ListSessionsRequest) Descriptor
deprecated
func (*ListSessionsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListSessionsRequest.ProtoReflect.Descriptor instead.
func (*ListSessionsRequest) GetLimit ¶
func (x *ListSessionsRequest) GetLimit() int32
func (*ListSessionsRequest) ProtoMessage ¶
func (*ListSessionsRequest) ProtoMessage()
func (*ListSessionsRequest) ProtoReflect ¶
func (x *ListSessionsRequest) ProtoReflect() protoreflect.Message
func (*ListSessionsRequest) Reset ¶
func (x *ListSessionsRequest) Reset()
func (*ListSessionsRequest) String ¶
func (x *ListSessionsRequest) String() string
type ListSessionsResponse ¶
type ListSessionsResponse struct {
// sessions are summaries ordered by most recent activity.
Sessions []*SessionSummary `protobuf:"bytes,1,rep,name=sessions,proto3" json:"sessions,omitempty"`
// contains filtered or unexported fields
}
ListSessionsResponse returns recent Mind sessions.
func (*ListSessionsResponse) Descriptor
deprecated
func (*ListSessionsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListSessionsResponse.ProtoReflect.Descriptor instead.
func (*ListSessionsResponse) GetSessions ¶
func (x *ListSessionsResponse) GetSessions() []*SessionSummary
func (*ListSessionsResponse) ProtoMessage ¶
func (*ListSessionsResponse) ProtoMessage()
func (*ListSessionsResponse) ProtoReflect ¶
func (x *ListSessionsResponse) ProtoReflect() protoreflect.Message
func (*ListSessionsResponse) Reset ¶
func (x *ListSessionsResponse) Reset()
func (*ListSessionsResponse) String ¶
func (x *ListSessionsResponse) String() string
type ListSymbolsRequest ¶
type ListSymbolsRequest struct {
// session_id identifies the Mind session that owns this request or event.
SessionId string `protobuf:"bytes,1,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"`
// filter restricts results to matching names or patterns.
Filter string `protobuf:"bytes,2,opt,name=filter,proto3" json:"filter,omitempty"`
// contains filtered or unexported fields
}
ListSymbolsRequest carries optional filters for listing symbols.
func (*ListSymbolsRequest) Descriptor
deprecated
func (*ListSymbolsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListSymbolsRequest.ProtoReflect.Descriptor instead.
func (*ListSymbolsRequest) GetFilter ¶
func (x *ListSymbolsRequest) GetFilter() string
func (*ListSymbolsRequest) GetSessionId ¶
func (x *ListSymbolsRequest) GetSessionId() string
func (*ListSymbolsRequest) ProtoMessage ¶
func (*ListSymbolsRequest) ProtoMessage()
func (*ListSymbolsRequest) ProtoReflect ¶
func (x *ListSymbolsRequest) ProtoReflect() protoreflect.Message
func (*ListSymbolsRequest) Reset ¶
func (x *ListSymbolsRequest) Reset()
func (*ListSymbolsRequest) String ¶
func (x *ListSymbolsRequest) String() string
type ListSymbolsResponse ¶
type ListSymbolsResponse struct {
// symbols are code entities returned by language analysis.
Symbols []*SymbolInfo `protobuf:"bytes,1,rep,name=symbols,proto3" json:"symbols,omitempty"`
// contains filtered or unexported fields
}
ListSymbolsResponse returns symbols discovered for the session.
func (*ListSymbolsResponse) Descriptor
deprecated
func (*ListSymbolsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListSymbolsResponse.ProtoReflect.Descriptor instead.
func (*ListSymbolsResponse) GetSymbols ¶
func (x *ListSymbolsResponse) GetSymbols() []*SymbolInfo
func (*ListSymbolsResponse) ProtoMessage ¶
func (*ListSymbolsResponse) ProtoMessage()
func (*ListSymbolsResponse) ProtoReflect ¶
func (x *ListSymbolsResponse) ProtoReflect() protoreflect.Message
func (*ListSymbolsResponse) Reset ¶
func (x *ListSymbolsResponse) Reset()
func (*ListSymbolsResponse) String ¶
func (x *ListSymbolsResponse) String() string
type MiddlewareEntry ¶
type MiddlewareEntry struct {
// name is the middleware stage name.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// status reports the lifecycle or operation status.
Status string `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"`
// details contains expanded middleware or diagnostic metadata.
Details map[string]string `` /* 141-byte string literal not displayed */
// contains filtered or unexported fields
}
MiddlewareEntry describes one middleware stage.
func (*MiddlewareEntry) Descriptor
deprecated
func (*MiddlewareEntry) Descriptor() ([]byte, []int)
Deprecated: Use MiddlewareEntry.ProtoReflect.Descriptor instead.
func (*MiddlewareEntry) GetDetails ¶
func (x *MiddlewareEntry) GetDetails() map[string]string
func (*MiddlewareEntry) GetName ¶
func (x *MiddlewareEntry) GetName() string
func (*MiddlewareEntry) GetStatus ¶
func (x *MiddlewareEntry) GetStatus() string
func (*MiddlewareEntry) ProtoMessage ¶
func (*MiddlewareEntry) ProtoMessage()
func (*MiddlewareEntry) ProtoReflect ¶
func (x *MiddlewareEntry) ProtoReflect() protoreflect.Message
func (*MiddlewareEntry) Reset ¶
func (x *MiddlewareEntry) Reset()
func (*MiddlewareEntry) String ¶
func (x *MiddlewareEntry) String() string
type MindEvent ¶
type MindEvent struct {
// timestamp is when the event, call, or record was produced.
Timestamp *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
// kind categorizes the event for filtering and rendering.
Kind string `protobuf:"bytes,2,opt,name=kind,proto3" json:"kind,omitempty"` // "llm_call", "tool_call", "file_op", "check", "iteration", "strategy", "error", "info"
// agent is the Codefly agent plugin responsible for this service type.
Agent string `protobuf:"bytes,3,opt,name=agent,proto3" json:"agent,omitempty"`
// message is the event text shown to clients.
Message string `protobuf:"bytes,4,opt,name=message,proto3" json:"message,omitempty"`
// data is the raw bytes or JSON-shaped payload.
Data map[string]string `` /* 135-byte string literal not displayed */
// contains filtered or unexported fields
}
MindEvent is the unified event type for all real-time streaming. Superset of the debug.proto DebugEvent — includes execution progress.
func (*MindEvent) Descriptor
deprecated
func (*MindEvent) GetMessage ¶
func (*MindEvent) GetTimestamp ¶
func (x *MindEvent) GetTimestamp() *timestamppb.Timestamp
func (*MindEvent) ProtoMessage ¶
func (*MindEvent) ProtoMessage()
func (*MindEvent) ProtoReflect ¶
func (x *MindEvent) ProtoReflect() protoreflect.Message
type MindServiceClient ¶
type MindServiceClient interface {
// CreateSession opens a new session scoped to a working directory.
// All subsequent RPCs reference this session_id.
CreateSession(ctx context.Context, in *CreateSessionRequest, opts ...grpc.CallOption) (*CreateSessionResponse, error)
// ListSessions returns recent sessions.
ListSessions(ctx context.Context, in *ListSessionsRequest, opts ...grpc.CallOption) (*ListSessionsResponse, error)
// GetSession returns details of a specific session.
GetSessionDetail(ctx context.Context, in *GetSessionDetailRequest, opts ...grpc.CallOption) (*GetSessionDetailResponse, error)
// SendMessage sends a user message and streams back the response.
// The stream includes token chunks (for live typing), tool calls,
// and a final summary event. Supports all input modes:
// - plain text (LLM chat)
// - /command (slash command dispatch)
// - !command (bang command dispatch)
// - ?question (read-only ask mode)
// - ~plan (plan-only mode)
SendMessage(ctx context.Context, in *SendMessageRequest, opts ...grpc.CallOption) (grpc.ServerStreamingClient[ChatEvent], error)
// CancelOperation cancels the currently running operation in a session.
CancelOperation(ctx context.Context, in *CancelOperationRequest, opts ...grpc.CallOption) (*CancelOperationResponse, error)
// InitContext initializes the codebase context: connects to Gateway,
// discovers services, indexes files and symbols, detects conventions,
// builds embeddings, loads rules. Streams progress events.
InitContext(ctx context.Context, in *InitContextRequest, opts ...grpc.CallOption) (grpc.ServerStreamingClient[InitEvent], error)
// RunObjective executes a single objective (from YAML or inline spec).
// Streams the full execution lifecycle: iterations, LLM calls, tool
// calls, file ops, check results, strategy decisions.
RunObjective(ctx context.Context, in *RunObjectiveRequest, opts ...grpc.CallOption) (grpc.ServerStreamingClient[ExecutionEvent], error)
// PlanAndExecute takes a free-text request, plans it (UNDERSTAND →
// PLAN → DETAIL), then executes all objectives. Streams planning
// events followed by execution events.
PlanAndExecute(ctx context.Context, in *PlanAndExecuteRequest, opts ...grpc.CallOption) (grpc.ServerStreamingClient[ExecutionEvent], error)
// ApproveChanges commits overlay changes to the real filesystem.
// Only meaningful after a successful run with changes pending.
ApproveChanges(ctx context.Context, in *ApproveChangesRequest, opts ...grpc.CallOption) (*ApproveChangesResponse, error)
// RevertChanges discards pending overlay changes.
RevertChanges(ctx context.Context, in *RevertChangesRequest, opts ...grpc.CallOption) (*RevertChangesResponse, error)
// ReadFile reads a workspace file through the session's gateway.
ReadFile(ctx context.Context, in *ReadFileRequest, opts ...grpc.CallOption) (*ReadFileResponse, error)
// WriteFile writes a workspace file through the session's gateway.
WriteFile(ctx context.Context, in *WriteFileRequest, opts ...grpc.CallOption) (*WriteFileResponse, error)
// SearchCode searches indexed or gateway-visible source files.
SearchCode(ctx context.Context, in *SearchCodeRequest, opts ...grpc.CallOption) (*SearchCodeResponse, error)
// ListSymbols returns code symbols known to the session.
ListSymbols(ctx context.Context, in *ListSymbolsRequest, opts ...grpc.CallOption) (*ListSymbolsResponse, error)
// Build runs the service build through the gateway.
Build(ctx context.Context, in *BuildRequest, opts ...grpc.CallOption) (*BuildResponse, error)
// Test runs service tests through the gateway.
Test(ctx context.Context, in *TestRequest, opts ...grpc.CallOption) (*TestResponse, error)
// Lint runs service linting through the gateway.
Lint(ctx context.Context, in *LintRequest, opts ...grpc.CallOption) (*LintResponse, error)
// GetDashboard returns the session KPI snapshot.
GetDashboard(ctx context.Context, in *GetDashboardRequest, opts ...grpc.CallOption) (*GetDashboardResponse, error)
// GetContextState returns the prompt/context layers loaded for the session.
GetContextState(ctx context.Context, in *GetContextStateRequest, opts ...grpc.CallOption) (*GetContextStateResponse, error)
// GetMemory returns Mind's working memory for the session.
GetMemory(ctx context.Context, in *GetMemoryRequest, opts ...grpc.CallOption) (*GetMemoryResponse, error)
// GetObjectiveGraph returns the current objective DAG.
GetObjectiveGraph(ctx context.Context, in *GetObjectiveGraphRequest, opts ...grpc.CallOption) (*GetObjectiveGraphResponse, error)
// GetTrace returns the retained execution trace tree.
GetTrace(ctx context.Context, in *GetTraceRequest, opts ...grpc.CallOption) (*GetTraceResponse, error)
// GetMetrics returns token, cost, and timing metrics.
GetMetrics(ctx context.Context, in *GetMetricsRequest, opts ...grpc.CallOption) (*GetMetricsResponse, error)
// GetCostBreakdown returns hierarchical cost attribution.
GetCostBreakdown(ctx context.Context, in *GetCostBreakdownRequest, opts ...grpc.CallOption) (*GetCostBreakdownResponse, error)
// GetSymbolMap returns the symbol map available to Mind.
GetSymbolMap(ctx context.Context, in *GetSymbolMapRequest, opts ...grpc.CallOption) (*GetSymbolMapResponse, error)
// GetFileChanges returns file changes retained for the session.
GetFileChanges(ctx context.Context, in *GetFileChangesRequest, opts ...grpc.CallOption) (*GetFileChangesResponse, error)
// GetLastSummary returns the latest completed-run summary.
GetLastSummary(ctx context.Context, in *GetLastSummaryRequest, opts ...grpc.CallOption) (*GetLastSummaryResponse, error)
// GetRules returns rules loaded into the current context.
GetRules(ctx context.Context, in *GetRulesRequest, opts ...grpc.CallOption) (*GetRulesResponse, error)
// GetLLMCalls returns the retained model-call log.
GetLLMCalls(ctx context.Context, in *GetLLMCallsRequest, opts ...grpc.CallOption) (*GetLLMCallsResponse, error)
// GetMiddleware returns the middleware pipeline state.
GetMiddleware(ctx context.Context, in *GetMiddlewareRequest, opts ...grpc.CallOption) (*GetMiddlewareResponse, error)
// StreamEvents pushes all real-time events: LLM calls, tool calls,
// file ops, check results, agent lifecycle, errors. Filterable by
// kind and agent. This is the single unified event bus.
StreamEvents(ctx context.Context, in *StreamEventsRequest, opts ...grpc.CallOption) (grpc.ServerStreamingClient[MindEvent], error)
}
MindServiceClient is the client API for MindService 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.
MindService is the complete API for Mind — the AI coding agent.
It supports three usage modes through a single interface:
- In-process: CLI embeds the server, zero latency (current behavior)
- Local: CLI connects to localhost Mind server
- Remote: Any client connects to a remote Mind-as-a-service
Organized into five logical groups:
- Sessions: Lifecycle management
- Chat: Interactive conversation with LLM
- Execution: Objective planning and execution with live progress
- Code: File and symbol operations (proxied through Gateway)
- Observation: Read-only introspection of internal state (superset of debug.proto)
func NewMindServiceClient ¶
func NewMindServiceClient(cc grpc.ClientConnInterface) MindServiceClient
type MindServiceServer ¶
type MindServiceServer interface {
// CreateSession opens a new session scoped to a working directory.
// All subsequent RPCs reference this session_id.
CreateSession(context.Context, *CreateSessionRequest) (*CreateSessionResponse, error)
// ListSessions returns recent sessions.
ListSessions(context.Context, *ListSessionsRequest) (*ListSessionsResponse, error)
// GetSession returns details of a specific session.
GetSessionDetail(context.Context, *GetSessionDetailRequest) (*GetSessionDetailResponse, error)
// SendMessage sends a user message and streams back the response.
// The stream includes token chunks (for live typing), tool calls,
// and a final summary event. Supports all input modes:
// - plain text (LLM chat)
// - /command (slash command dispatch)
// - !command (bang command dispatch)
// - ?question (read-only ask mode)
// - ~plan (plan-only mode)
SendMessage(*SendMessageRequest, grpc.ServerStreamingServer[ChatEvent]) error
// CancelOperation cancels the currently running operation in a session.
CancelOperation(context.Context, *CancelOperationRequest) (*CancelOperationResponse, error)
// InitContext initializes the codebase context: connects to Gateway,
// discovers services, indexes files and symbols, detects conventions,
// builds embeddings, loads rules. Streams progress events.
InitContext(*InitContextRequest, grpc.ServerStreamingServer[InitEvent]) error
// RunObjective executes a single objective (from YAML or inline spec).
// Streams the full execution lifecycle: iterations, LLM calls, tool
// calls, file ops, check results, strategy decisions.
RunObjective(*RunObjectiveRequest, grpc.ServerStreamingServer[ExecutionEvent]) error
// PlanAndExecute takes a free-text request, plans it (UNDERSTAND →
// PLAN → DETAIL), then executes all objectives. Streams planning
// events followed by execution events.
PlanAndExecute(*PlanAndExecuteRequest, grpc.ServerStreamingServer[ExecutionEvent]) error
// ApproveChanges commits overlay changes to the real filesystem.
// Only meaningful after a successful run with changes pending.
ApproveChanges(context.Context, *ApproveChangesRequest) (*ApproveChangesResponse, error)
// RevertChanges discards pending overlay changes.
RevertChanges(context.Context, *RevertChangesRequest) (*RevertChangesResponse, error)
// ReadFile reads a workspace file through the session's gateway.
ReadFile(context.Context, *ReadFileRequest) (*ReadFileResponse, error)
// WriteFile writes a workspace file through the session's gateway.
WriteFile(context.Context, *WriteFileRequest) (*WriteFileResponse, error)
// SearchCode searches indexed or gateway-visible source files.
SearchCode(context.Context, *SearchCodeRequest) (*SearchCodeResponse, error)
// ListSymbols returns code symbols known to the session.
ListSymbols(context.Context, *ListSymbolsRequest) (*ListSymbolsResponse, error)
// Build runs the service build through the gateway.
Build(context.Context, *BuildRequest) (*BuildResponse, error)
// Test runs service tests through the gateway.
Test(context.Context, *TestRequest) (*TestResponse, error)
// Lint runs service linting through the gateway.
Lint(context.Context, *LintRequest) (*LintResponse, error)
// GetDashboard returns the session KPI snapshot.
GetDashboard(context.Context, *GetDashboardRequest) (*GetDashboardResponse, error)
// GetContextState returns the prompt/context layers loaded for the session.
GetContextState(context.Context, *GetContextStateRequest) (*GetContextStateResponse, error)
// GetMemory returns Mind's working memory for the session.
GetMemory(context.Context, *GetMemoryRequest) (*GetMemoryResponse, error)
// GetObjectiveGraph returns the current objective DAG.
GetObjectiveGraph(context.Context, *GetObjectiveGraphRequest) (*GetObjectiveGraphResponse, error)
// GetTrace returns the retained execution trace tree.
GetTrace(context.Context, *GetTraceRequest) (*GetTraceResponse, error)
// GetMetrics returns token, cost, and timing metrics.
GetMetrics(context.Context, *GetMetricsRequest) (*GetMetricsResponse, error)
// GetCostBreakdown returns hierarchical cost attribution.
GetCostBreakdown(context.Context, *GetCostBreakdownRequest) (*GetCostBreakdownResponse, error)
// GetSymbolMap returns the symbol map available to Mind.
GetSymbolMap(context.Context, *GetSymbolMapRequest) (*GetSymbolMapResponse, error)
// GetFileChanges returns file changes retained for the session.
GetFileChanges(context.Context, *GetFileChangesRequest) (*GetFileChangesResponse, error)
// GetLastSummary returns the latest completed-run summary.
GetLastSummary(context.Context, *GetLastSummaryRequest) (*GetLastSummaryResponse, error)
// GetRules returns rules loaded into the current context.
GetRules(context.Context, *GetRulesRequest) (*GetRulesResponse, error)
// GetLLMCalls returns the retained model-call log.
GetLLMCalls(context.Context, *GetLLMCallsRequest) (*GetLLMCallsResponse, error)
// GetMiddleware returns the middleware pipeline state.
GetMiddleware(context.Context, *GetMiddlewareRequest) (*GetMiddlewareResponse, error)
// StreamEvents pushes all real-time events: LLM calls, tool calls,
// file ops, check results, agent lifecycle, errors. Filterable by
// kind and agent. This is the single unified event bus.
StreamEvents(*StreamEventsRequest, grpc.ServerStreamingServer[MindEvent]) error
// contains filtered or unexported methods
}
MindServiceServer is the server API for MindService service. All implementations must embed UnimplementedMindServiceServer for forward compatibility.
MindService is the complete API for Mind — the AI coding agent.
It supports three usage modes through a single interface:
- In-process: CLI embeds the server, zero latency (current behavior)
- Local: CLI connects to localhost Mind server
- Remote: Any client connects to a remote Mind-as-a-service
Organized into five logical groups:
- Sessions: Lifecycle management
- Chat: Interactive conversation with LLM
- Execution: Objective planning and execution with live progress
- Code: File and symbol operations (proxied through Gateway)
- Observation: Read-only introspection of internal state (superset of debug.proto)
type MindService_InitContextClient ¶
type MindService_InitContextClient = grpc.ServerStreamingClient[InitEvent]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type MindService_InitContextServer ¶
type MindService_InitContextServer = grpc.ServerStreamingServer[InitEvent]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type MindService_PlanAndExecuteClient ¶
type MindService_PlanAndExecuteClient = grpc.ServerStreamingClient[ExecutionEvent]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type MindService_PlanAndExecuteServer ¶
type MindService_PlanAndExecuteServer = grpc.ServerStreamingServer[ExecutionEvent]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type MindService_RunObjectiveClient ¶
type MindService_RunObjectiveClient = grpc.ServerStreamingClient[ExecutionEvent]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type MindService_RunObjectiveServer ¶
type MindService_RunObjectiveServer = grpc.ServerStreamingServer[ExecutionEvent]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type MindService_SendMessageClient ¶
type MindService_SendMessageClient = grpc.ServerStreamingClient[ChatEvent]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type MindService_SendMessageServer ¶
type MindService_SendMessageServer = grpc.ServerStreamingServer[ChatEvent]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type MindService_StreamEventsClient ¶
type MindService_StreamEventsClient = grpc.ServerStreamingClient[MindEvent]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type MindService_StreamEventsServer ¶
type MindService_StreamEventsServer = grpc.ServerStreamingServer[MindEvent]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type ObjectiveEdge ¶
type ObjectiveEdge struct {
// from is the beginning timestamp or source endpoint of a relationship.
From string `protobuf:"bytes,1,opt,name=from,proto3" json:"from,omitempty"`
// to is the ending timestamp or destination endpoint of a relationship.
To string `protobuf:"bytes,2,opt,name=to,proto3" json:"to,omitempty"`
// kind describes the graph relationship, such as dependency or decomposition.
Kind string `protobuf:"bytes,3,opt,name=kind,proto3" json:"kind,omitempty"`
// contains filtered or unexported fields
}
ObjectiveEdge connects related objective graph nodes.
func (*ObjectiveEdge) Descriptor
deprecated
func (*ObjectiveEdge) Descriptor() ([]byte, []int)
Deprecated: Use ObjectiveEdge.ProtoReflect.Descriptor instead.
func (*ObjectiveEdge) GetFrom ¶
func (x *ObjectiveEdge) GetFrom() string
func (*ObjectiveEdge) GetKind ¶
func (x *ObjectiveEdge) GetKind() string
func (*ObjectiveEdge) GetTo ¶
func (x *ObjectiveEdge) GetTo() string
func (*ObjectiveEdge) ProtoMessage ¶
func (*ObjectiveEdge) ProtoMessage()
func (*ObjectiveEdge) ProtoReflect ¶
func (x *ObjectiveEdge) ProtoReflect() protoreflect.Message
func (*ObjectiveEdge) Reset ¶
func (x *ObjectiveEdge) Reset()
func (*ObjectiveEdge) String ¶
func (x *ObjectiveEdge) String() string
type ObjectiveGraphSnapshot ¶
type ObjectiveGraphSnapshot struct {
// nodes are graph vertices returned by the objective or dependency graph.
Nodes []*ObjectiveNode `protobuf:"bytes,1,rep,name=nodes,proto3" json:"nodes,omitempty"`
// edges are graph relationships between returned nodes.
Edges []*ObjectiveEdge `protobuf:"bytes,2,rep,name=edges,proto3" json:"edges,omitempty"`
// contains filtered or unexported fields
}
ObjectiveGraphSnapshot captures the objective DAG at a planning moment.
func (*ObjectiveGraphSnapshot) Descriptor
deprecated
func (*ObjectiveGraphSnapshot) Descriptor() ([]byte, []int)
Deprecated: Use ObjectiveGraphSnapshot.ProtoReflect.Descriptor instead.
func (*ObjectiveGraphSnapshot) GetEdges ¶
func (x *ObjectiveGraphSnapshot) GetEdges() []*ObjectiveEdge
func (*ObjectiveGraphSnapshot) GetNodes ¶
func (x *ObjectiveGraphSnapshot) GetNodes() []*ObjectiveNode
func (*ObjectiveGraphSnapshot) ProtoMessage ¶
func (*ObjectiveGraphSnapshot) ProtoMessage()
func (*ObjectiveGraphSnapshot) ProtoReflect ¶
func (x *ObjectiveGraphSnapshot) ProtoReflect() protoreflect.Message
func (*ObjectiveGraphSnapshot) Reset ¶
func (x *ObjectiveGraphSnapshot) Reset()
func (*ObjectiveGraphSnapshot) String ¶
func (x *ObjectiveGraphSnapshot) String() string
type ObjectiveNode ¶
type ObjectiveNode struct {
// id is the stable identifier for this record.
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
// description is the human-readable objective or subtask text.
Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
// status reports the lifecycle or operation status.
Status string `protobuf:"bytes,3,opt,name=status,proto3" json:"status,omitempty"`
// checks are verification steps requested by the caller.
Checks []*CheckEntry `protobuf:"bytes,4,rep,name=checks,proto3" json:"checks,omitempty"`
// changes are file or behavior changes associated with this node.
Changes []*ChangeEntry `protobuf:"bytes,5,rep,name=changes,proto3" json:"changes,omitempty"`
// children are nested objectives under this node.
Children []*ObjectiveNode `protobuf:"bytes,6,rep,name=children,proto3" json:"children,omitempty"`
// wall_clock_s is elapsed wall-clock time in seconds.
WallClockS float64 `protobuf:"fixed64,7,opt,name=wall_clock_s,json=wallClockS,proto3" json:"wall_clock_s,omitempty"`
// work_time_s is active work time in seconds.
WorkTimeS float64 `protobuf:"fixed64,8,opt,name=work_time_s,json=workTimeS,proto3" json:"work_time_s,omitempty"`
// cost_usd is the estimated model cost in US dollars.
CostUsd float64 `protobuf:"fixed64,9,opt,name=cost_usd,json=costUsd,proto3" json:"cost_usd,omitempty"`
// contains filtered or unexported fields
}
ObjectiveNode represents one objective, subtask, or plan node.
func (*ObjectiveNode) Descriptor
deprecated
func (*ObjectiveNode) Descriptor() ([]byte, []int)
Deprecated: Use ObjectiveNode.ProtoReflect.Descriptor instead.
func (*ObjectiveNode) GetChanges ¶
func (x *ObjectiveNode) GetChanges() []*ChangeEntry
func (*ObjectiveNode) GetChecks ¶
func (x *ObjectiveNode) GetChecks() []*CheckEntry
func (*ObjectiveNode) GetChildren ¶
func (x *ObjectiveNode) GetChildren() []*ObjectiveNode
func (*ObjectiveNode) GetCostUsd ¶
func (x *ObjectiveNode) GetCostUsd() float64
func (*ObjectiveNode) GetDescription ¶
func (x *ObjectiveNode) GetDescription() string
func (*ObjectiveNode) GetId ¶
func (x *ObjectiveNode) GetId() string
func (*ObjectiveNode) GetStatus ¶
func (x *ObjectiveNode) GetStatus() string
func (*ObjectiveNode) GetWallClockS ¶
func (x *ObjectiveNode) GetWallClockS() float64
func (*ObjectiveNode) GetWorkTimeS ¶
func (x *ObjectiveNode) GetWorkTimeS() float64
func (*ObjectiveNode) ProtoMessage ¶
func (*ObjectiveNode) ProtoMessage()
func (*ObjectiveNode) ProtoReflect ¶
func (x *ObjectiveNode) ProtoReflect() protoreflect.Message
func (*ObjectiveNode) Reset ¶
func (x *ObjectiveNode) Reset()
func (*ObjectiveNode) String ¶
func (x *ObjectiveNode) String() string
type ObjectivePolicy ¶
type ObjectivePolicy struct {
// max_iterations caps the number of execution loops Mind may run.
MaxIterations int32 `protobuf:"varint,1,opt,name=max_iterations,json=maxIterations,proto3" json:"max_iterations,omitempty"`
// max_cost_usd caps model spend for the objective.
MaxCostUsd float64 `protobuf:"fixed64,2,opt,name=max_cost_usd,json=maxCostUsd,proto3" json:"max_cost_usd,omitempty"`
// allow_decompose permits Mind to split the objective into sub-objectives.
AllowDecompose bool `protobuf:"varint,3,opt,name=allow_decompose,json=allowDecompose,proto3" json:"allow_decompose,omitempty"`
// contains filtered or unexported fields
}
ObjectivePolicy controls execution limits and decomposition behavior.
func (*ObjectivePolicy) Descriptor
deprecated
func (*ObjectivePolicy) Descriptor() ([]byte, []int)
Deprecated: Use ObjectivePolicy.ProtoReflect.Descriptor instead.
func (*ObjectivePolicy) GetAllowDecompose ¶
func (x *ObjectivePolicy) GetAllowDecompose() bool
func (*ObjectivePolicy) GetMaxCostUsd ¶
func (x *ObjectivePolicy) GetMaxCostUsd() float64
func (*ObjectivePolicy) GetMaxIterations ¶
func (x *ObjectivePolicy) GetMaxIterations() int32
func (*ObjectivePolicy) ProtoMessage ¶
func (*ObjectivePolicy) ProtoMessage()
func (*ObjectivePolicy) ProtoReflect ¶
func (x *ObjectivePolicy) ProtoReflect() protoreflect.Message
func (*ObjectivePolicy) Reset ¶
func (x *ObjectivePolicy) Reset()
func (*ObjectivePolicy) String ¶
func (x *ObjectivePolicy) String() string
type ObjectiveScope ¶
type ObjectiveScope struct {
// write lists file globs or paths Mind may modify.
Write []string `protobuf:"bytes,1,rep,name=write,proto3" json:"write,omitempty"` // files the agent may modify
// read lists file globs or paths Mind should inspect for context.
Read []string `protobuf:"bytes,2,rep,name=read,proto3" json:"read,omitempty"` // files the agent should read for context
// contains filtered or unexported fields
}
ObjectiveScope constrains the files Mind should read or may modify.
func (*ObjectiveScope) Descriptor
deprecated
func (*ObjectiveScope) Descriptor() ([]byte, []int)
Deprecated: Use ObjectiveScope.ProtoReflect.Descriptor instead.
func (*ObjectiveScope) GetRead ¶
func (x *ObjectiveScope) GetRead() []string
func (*ObjectiveScope) GetWrite ¶
func (x *ObjectiveScope) GetWrite() []string
func (*ObjectiveScope) ProtoMessage ¶
func (*ObjectiveScope) ProtoMessage()
func (*ObjectiveScope) ProtoReflect ¶
func (x *ObjectiveScope) ProtoReflect() protoreflect.Message
func (*ObjectiveScope) Reset ¶
func (x *ObjectiveScope) Reset()
func (*ObjectiveScope) String ¶
func (x *ObjectiveScope) String() string
type ObjectiveSpec ¶
type ObjectiveSpec struct {
// id is the stable identifier for this record.
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
// do is the imperative objective text Mind should satisfy.
Do string `protobuf:"bytes,2,opt,name=do,proto3" json:"do,omitempty"` // what to accomplish
// service is the Codefly service name, optionally scoped by module in callers.
Service string `protobuf:"bytes,3,opt,name=service,proto3" json:"service,omitempty"`
// scope describes where a rule applies.
Scope *ObjectiveScope `protobuf:"bytes,4,opt,name=scope,proto3" json:"scope,omitempty"`
// checks are verification steps requested by the caller.
Checks []*CheckSpec `protobuf:"bytes,5,rep,name=checks,proto3" json:"checks,omitempty"`
// policy contains execution limits and approval behavior for the objective.
Policy *ObjectivePolicy `protobuf:"bytes,6,opt,name=policy,proto3" json:"policy,omitempty"`
// contains filtered or unexported fields
}
ObjectiveSpec is the proto representation of objective.yaml.
func (*ObjectiveSpec) Descriptor
deprecated
func (*ObjectiveSpec) Descriptor() ([]byte, []int)
Deprecated: Use ObjectiveSpec.ProtoReflect.Descriptor instead.
func (*ObjectiveSpec) GetChecks ¶
func (x *ObjectiveSpec) GetChecks() []*CheckSpec
func (*ObjectiveSpec) GetDo ¶
func (x *ObjectiveSpec) GetDo() string
func (*ObjectiveSpec) GetId ¶
func (x *ObjectiveSpec) GetId() string
func (*ObjectiveSpec) GetPolicy ¶
func (x *ObjectiveSpec) GetPolicy() *ObjectivePolicy
func (*ObjectiveSpec) GetScope ¶
func (x *ObjectiveSpec) GetScope() *ObjectiveScope
func (*ObjectiveSpec) GetService ¶
func (x *ObjectiveSpec) GetService() string
func (*ObjectiveSpec) ProtoMessage ¶
func (*ObjectiveSpec) ProtoMessage()
func (*ObjectiveSpec) ProtoReflect ¶
func (x *ObjectiveSpec) ProtoReflect() protoreflect.Message
func (*ObjectiveSpec) Reset ¶
func (x *ObjectiveSpec) Reset()
func (*ObjectiveSpec) String ¶
func (x *ObjectiveSpec) String() string
type PlanAndExecuteRequest ¶
type PlanAndExecuteRequest struct {
// session_id identifies the Mind session that owns this request or event.
SessionId string `protobuf:"bytes,1,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"`
// request is the nested objective execution request.
Request string `protobuf:"bytes,2,opt,name=request,proto3" json:"request,omitempty"` // free-text feature request
// max_iterations caps the number of execution loops Mind may run.
MaxIterations int32 `protobuf:"varint,3,opt,name=max_iterations,json=maxIterations,proto3" json:"max_iterations,omitempty"`
// dry_run asks Mind to plan without applying changes.
DryRun bool `protobuf:"varint,4,opt,name=dry_run,json=dryRun,proto3" json:"dry_run,omitempty"`
// contains filtered or unexported fields
}
PlanAndExecuteRequest asks Mind to plan from natural language and execute the plan.
func (*PlanAndExecuteRequest) Descriptor
deprecated
func (*PlanAndExecuteRequest) Descriptor() ([]byte, []int)
Deprecated: Use PlanAndExecuteRequest.ProtoReflect.Descriptor instead.
func (*PlanAndExecuteRequest) GetDryRun ¶
func (x *PlanAndExecuteRequest) GetDryRun() bool
func (*PlanAndExecuteRequest) GetMaxIterations ¶
func (x *PlanAndExecuteRequest) GetMaxIterations() int32
func (*PlanAndExecuteRequest) GetRequest ¶
func (x *PlanAndExecuteRequest) GetRequest() string
func (*PlanAndExecuteRequest) GetSessionId ¶
func (x *PlanAndExecuteRequest) GetSessionId() string
func (*PlanAndExecuteRequest) ProtoMessage ¶
func (*PlanAndExecuteRequest) ProtoMessage()
func (*PlanAndExecuteRequest) ProtoReflect ¶
func (x *PlanAndExecuteRequest) ProtoReflect() protoreflect.Message
func (*PlanAndExecuteRequest) Reset ¶
func (x *PlanAndExecuteRequest) Reset()
func (*PlanAndExecuteRequest) String ¶
func (x *PlanAndExecuteRequest) String() string
type PlanPhaseEvent ¶
type PlanPhaseEvent struct {
// phase names the current initialization, planning, or execution phase.
Phase string `protobuf:"bytes,1,opt,name=phase,proto3" json:"phase,omitempty"` // "understand", "plan", "detail", "review"
// graph is the objective graph produced by planning.
Graph *ObjectiveGraphSnapshot `protobuf:"bytes,2,opt,name=graph,proto3" json:"graph,omitempty"` // current objective graph state
// contains filtered or unexported fields
}
PlanPhaseEvent is a streamable event emitted during plan phase.
func (*PlanPhaseEvent) Descriptor
deprecated
func (*PlanPhaseEvent) Descriptor() ([]byte, []int)
Deprecated: Use PlanPhaseEvent.ProtoReflect.Descriptor instead.
func (*PlanPhaseEvent) GetGraph ¶
func (x *PlanPhaseEvent) GetGraph() *ObjectiveGraphSnapshot
func (*PlanPhaseEvent) GetPhase ¶
func (x *PlanPhaseEvent) GetPhase() string
func (*PlanPhaseEvent) ProtoMessage ¶
func (*PlanPhaseEvent) ProtoMessage()
func (*PlanPhaseEvent) ProtoReflect ¶
func (x *PlanPhaseEvent) ProtoReflect() protoreflect.Message
func (*PlanPhaseEvent) Reset ¶
func (x *PlanPhaseEvent) Reset()
func (*PlanPhaseEvent) String ¶
func (x *PlanPhaseEvent) String() string
type ReadFileRequest ¶
type ReadFileRequest struct {
// session_id identifies the Mind session that owns this request or event.
SessionId string `protobuf:"bytes,1,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"`
// path is a workspace- or service-relative filesystem path.
Path string `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"`
// contains filtered or unexported fields
}
ReadFileRequest identifies a workspace file to read.
func (*ReadFileRequest) Descriptor
deprecated
func (*ReadFileRequest) Descriptor() ([]byte, []int)
Deprecated: Use ReadFileRequest.ProtoReflect.Descriptor instead.
func (*ReadFileRequest) GetPath ¶
func (x *ReadFileRequest) GetPath() string
func (*ReadFileRequest) GetSessionId ¶
func (x *ReadFileRequest) GetSessionId() string
func (*ReadFileRequest) ProtoMessage ¶
func (*ReadFileRequest) ProtoMessage()
func (*ReadFileRequest) ProtoReflect ¶
func (x *ReadFileRequest) ProtoReflect() protoreflect.Message
func (*ReadFileRequest) Reset ¶
func (x *ReadFileRequest) Reset()
func (*ReadFileRequest) String ¶
func (x *ReadFileRequest) String() string
type ReadFileResponse ¶
type ReadFileResponse struct {
// path is a workspace- or service-relative filesystem path.
Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"`
// content is the complete file body.
Content string `protobuf:"bytes,2,opt,name=content,proto3" json:"content,omitempty"`
// language is the implementation language reported by tooling or project metadata.
Language string `protobuf:"bytes,3,opt,name=language,proto3" json:"language,omitempty"`
// contains filtered or unexported fields
}
ReadFileResponse returns a file body and detected language hint.
func (*ReadFileResponse) Descriptor
deprecated
func (*ReadFileResponse) Descriptor() ([]byte, []int)
Deprecated: Use ReadFileResponse.ProtoReflect.Descriptor instead.
func (*ReadFileResponse) GetContent ¶
func (x *ReadFileResponse) GetContent() string
func (*ReadFileResponse) GetLanguage ¶
func (x *ReadFileResponse) GetLanguage() string
func (*ReadFileResponse) GetPath ¶
func (x *ReadFileResponse) GetPath() string
func (*ReadFileResponse) ProtoMessage ¶
func (*ReadFileResponse) ProtoMessage()
func (*ReadFileResponse) ProtoReflect ¶
func (x *ReadFileResponse) ProtoReflect() protoreflect.Message
func (*ReadFileResponse) Reset ¶
func (x *ReadFileResponse) Reset()
func (*ReadFileResponse) String ¶
func (x *ReadFileResponse) String() string
type RevertChangesRequest ¶
type RevertChangesRequest struct {
// session_id identifies the Mind session that owns this request or event.
SessionId string `protobuf:"bytes,1,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"`
// objective_id identifies a planned or running objective node.
ObjectiveId string `protobuf:"bytes,2,opt,name=objective_id,json=objectiveId,proto3" json:"objective_id,omitempty"`
// contains filtered or unexported fields
}
RevertChangesRequest discards pending overlay changes for a session or objective.
func (*RevertChangesRequest) Descriptor
deprecated
func (*RevertChangesRequest) Descriptor() ([]byte, []int)
Deprecated: Use RevertChangesRequest.ProtoReflect.Descriptor instead.
func (*RevertChangesRequest) GetObjectiveId ¶
func (x *RevertChangesRequest) GetObjectiveId() string
func (*RevertChangesRequest) GetSessionId ¶
func (x *RevertChangesRequest) GetSessionId() string
func (*RevertChangesRequest) ProtoMessage ¶
func (*RevertChangesRequest) ProtoMessage()
func (*RevertChangesRequest) ProtoReflect ¶
func (x *RevertChangesRequest) ProtoReflect() protoreflect.Message
func (*RevertChangesRequest) Reset ¶
func (x *RevertChangesRequest) Reset()
func (*RevertChangesRequest) String ¶
func (x *RevertChangesRequest) String() string
type RevertChangesResponse ¶
type RevertChangesResponse struct {
// files_reverted are paths whose pending overlay changes were discarded.
FilesReverted []string `protobuf:"bytes,1,rep,name=files_reverted,json=filesReverted,proto3" json:"files_reverted,omitempty"`
// contains filtered or unexported fields
}
RevertChangesResponse lists pending files discarded from the overlay.
func (*RevertChangesResponse) Descriptor
deprecated
func (*RevertChangesResponse) Descriptor() ([]byte, []int)
Deprecated: Use RevertChangesResponse.ProtoReflect.Descriptor instead.
func (*RevertChangesResponse) GetFilesReverted ¶
func (x *RevertChangesResponse) GetFilesReverted() []string
func (*RevertChangesResponse) ProtoMessage ¶
func (*RevertChangesResponse) ProtoMessage()
func (*RevertChangesResponse) ProtoReflect ¶
func (x *RevertChangesResponse) ProtoReflect() protoreflect.Message
func (*RevertChangesResponse) Reset ¶
func (x *RevertChangesResponse) Reset()
func (*RevertChangesResponse) String ¶
func (x *RevertChangesResponse) String() string
type RuleEntry ¶
type RuleEntry struct {
// id is the stable identifier for this record.
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
// scope describes where a rule applies.
Scope *RuleScope `protobuf:"bytes,2,opt,name=scope,proto3" json:"scope,omitempty"`
// text is the plain-text payload or human-readable description.
Text string `protobuf:"bytes,3,opt,name=text,proto3" json:"text,omitempty"`
// matched_current is true when the rule applies to the current request.
MatchedCurrent bool `protobuf:"varint,4,opt,name=matched_current,json=matchedCurrent,proto3" json:"matched_current,omitempty"`
// contains filtered or unexported fields
}
RuleEntry describes one rule available to Mind.
func (*RuleEntry) Descriptor
deprecated
func (*RuleEntry) GetMatchedCurrent ¶
func (*RuleEntry) ProtoMessage ¶
func (*RuleEntry) ProtoMessage()
func (*RuleEntry) ProtoReflect ¶
func (x *RuleEntry) ProtoReflect() protoreflect.Message
type RuleScope ¶
type RuleScope struct {
// agents are Codefly plugin identities or filters relevant to this operation.
Agents []string `protobuf:"bytes,1,rep,name=agents,proto3" json:"agents,omitempty"`
// objectives are objective filters or graph nodes.
Objectives []string `protobuf:"bytes,2,rep,name=objectives,proto3" json:"objectives,omitempty"`
// code is the diagnostic or rule identifier from the producing tool.
Code string `protobuf:"bytes,3,opt,name=code,proto3" json:"code,omitempty"`
// contains filtered or unexported fields
}
RuleScope describes where a rule applies.
func (*RuleScope) Descriptor
deprecated
func (*RuleScope) GetObjectives ¶
func (*RuleScope) ProtoMessage ¶
func (*RuleScope) ProtoMessage()
func (*RuleScope) ProtoReflect ¶
func (x *RuleScope) ProtoReflect() protoreflect.Message
type RunObjectiveRequest ¶
type RunObjectiveRequest struct {
// session_id identifies the Mind session that owns this request or event.
SessionId string `protobuf:"bytes,1,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"`
// source selects exactly one supported source variant.
//
// Types that are valid to be assigned to Source:
//
// *RunObjectiveRequest_ObjectivePath
// *RunObjectiveRequest_Inline
Source isRunObjectiveRequest_Source `protobuf_oneof:"source"`
// max_iterations caps the number of execution loops Mind may run.
MaxIterations int32 `protobuf:"varint,4,opt,name=max_iterations,json=maxIterations,proto3" json:"max_iterations,omitempty"` // override default (0 = use default)
// dry_run asks Mind to plan without applying changes.
DryRun bool `protobuf:"varint,5,opt,name=dry_run,json=dryRun,proto3" json:"dry_run,omitempty"` // show changes without applying
// contains filtered or unexported fields
}
RunObjectiveRequest executes an objective from a file or inline spec.
func (*RunObjectiveRequest) Descriptor
deprecated
func (*RunObjectiveRequest) Descriptor() ([]byte, []int)
Deprecated: Use RunObjectiveRequest.ProtoReflect.Descriptor instead.
func (*RunObjectiveRequest) GetDryRun ¶
func (x *RunObjectiveRequest) GetDryRun() bool
func (*RunObjectiveRequest) GetInline ¶
func (x *RunObjectiveRequest) GetInline() *ObjectiveSpec
func (*RunObjectiveRequest) GetMaxIterations ¶
func (x *RunObjectiveRequest) GetMaxIterations() int32
func (*RunObjectiveRequest) GetObjectivePath ¶
func (x *RunObjectiveRequest) GetObjectivePath() string
func (*RunObjectiveRequest) GetSessionId ¶
func (x *RunObjectiveRequest) GetSessionId() string
func (*RunObjectiveRequest) GetSource ¶
func (x *RunObjectiveRequest) GetSource() isRunObjectiveRequest_Source
func (*RunObjectiveRequest) ProtoMessage ¶
func (*RunObjectiveRequest) ProtoMessage()
func (*RunObjectiveRequest) ProtoReflect ¶
func (x *RunObjectiveRequest) ProtoReflect() protoreflect.Message
func (*RunObjectiveRequest) Reset ¶
func (x *RunObjectiveRequest) Reset()
func (*RunObjectiveRequest) String ¶
func (x *RunObjectiveRequest) String() string
type RunObjectiveRequest_Inline ¶
type RunObjectiveRequest_Inline struct {
// inline embeds the objective spec directly in the request.
Inline *ObjectiveSpec `protobuf:"bytes,3,opt,name=inline,proto3,oneof"` // inline objective spec
}
type RunObjectiveRequest_ObjectivePath ¶
type RunObjectiveRequest_ObjectivePath struct {
// objective_path is the workspace-relative objective YAML path.
ObjectivePath string `protobuf:"bytes,2,opt,name=objective_path,json=objectivePath,proto3,oneof"` // path to objective.yaml
}
type SearchCodeRequest ¶
type SearchCodeRequest struct {
// session_id identifies the Mind session that owns this request or event.
SessionId string `protobuf:"bytes,1,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"`
// pattern is the search expression or literal text to match.
Pattern string `protobuf:"bytes,2,opt,name=pattern,proto3" json:"pattern,omitempty"`
// case_insensitive makes matching ignore letter case.
CaseInsensitive bool `protobuf:"varint,3,opt,name=case_insensitive,json=caseInsensitive,proto3" json:"case_insensitive,omitempty"`
// file_pattern restricts search to paths matching the pattern.
FilePattern string `protobuf:"bytes,4,opt,name=file_pattern,json=filePattern,proto3" json:"file_pattern,omitempty"` // glob filter (e.g. "*.go")
// limit caps the number of records returned.
Limit int32 `protobuf:"varint,5,opt,name=limit,proto3" json:"limit,omitempty"`
// contains filtered or unexported fields
}
SearchCodeRequest searches source files visible to the session.
func (*SearchCodeRequest) Descriptor
deprecated
func (*SearchCodeRequest) Descriptor() ([]byte, []int)
Deprecated: Use SearchCodeRequest.ProtoReflect.Descriptor instead.
func (*SearchCodeRequest) GetCaseInsensitive ¶
func (x *SearchCodeRequest) GetCaseInsensitive() bool
func (*SearchCodeRequest) GetFilePattern ¶
func (x *SearchCodeRequest) GetFilePattern() string
func (*SearchCodeRequest) GetLimit ¶
func (x *SearchCodeRequest) GetLimit() int32
func (*SearchCodeRequest) GetPattern ¶
func (x *SearchCodeRequest) GetPattern() string
func (*SearchCodeRequest) GetSessionId ¶
func (x *SearchCodeRequest) GetSessionId() string
func (*SearchCodeRequest) ProtoMessage ¶
func (*SearchCodeRequest) ProtoMessage()
func (*SearchCodeRequest) ProtoReflect ¶
func (x *SearchCodeRequest) ProtoReflect() protoreflect.Message
func (*SearchCodeRequest) Reset ¶
func (x *SearchCodeRequest) Reset()
func (*SearchCodeRequest) String ¶
func (x *SearchCodeRequest) String() string
type SearchCodeResponse ¶
type SearchCodeResponse struct {
// matches are the search hits returned by the gateway.
Matches []*SearchMatch `protobuf:"bytes,1,rep,name=matches,proto3" json:"matches,omitempty"`
// total is the total number of matching lines before limiting.
Total int32 `protobuf:"varint,2,opt,name=total,proto3" json:"total,omitempty"`
// contains filtered or unexported fields
}
SearchCodeResponse returns matching source lines and total hit count.
func (*SearchCodeResponse) Descriptor
deprecated
func (*SearchCodeResponse) Descriptor() ([]byte, []int)
Deprecated: Use SearchCodeResponse.ProtoReflect.Descriptor instead.
func (*SearchCodeResponse) GetMatches ¶
func (x *SearchCodeResponse) GetMatches() []*SearchMatch
func (*SearchCodeResponse) GetTotal ¶
func (x *SearchCodeResponse) GetTotal() int32
func (*SearchCodeResponse) ProtoMessage ¶
func (*SearchCodeResponse) ProtoMessage()
func (*SearchCodeResponse) ProtoReflect ¶
func (x *SearchCodeResponse) ProtoReflect() protoreflect.Message
func (*SearchCodeResponse) Reset ¶
func (x *SearchCodeResponse) Reset()
func (*SearchCodeResponse) String ¶
func (x *SearchCodeResponse) String() string
type SearchMatch ¶
type SearchMatch struct {
// file is a workspace- or service-relative source file path.
File string `protobuf:"bytes,1,opt,name=file,proto3" json:"file,omitempty"`
// line is the 1-based source line number.
Line int32 `protobuf:"varint,2,opt,name=line,proto3" json:"line,omitempty"`
// text is the matched source line.
Text string `protobuf:"bytes,3,opt,name=text,proto3" json:"text,omitempty"`
// contains filtered or unexported fields
}
SearchMatch identifies one matching source line.
func (*SearchMatch) Descriptor
deprecated
func (*SearchMatch) Descriptor() ([]byte, []int)
Deprecated: Use SearchMatch.ProtoReflect.Descriptor instead.
func (*SearchMatch) GetFile ¶
func (x *SearchMatch) GetFile() string
func (*SearchMatch) GetLine ¶
func (x *SearchMatch) GetLine() int32
func (*SearchMatch) GetText ¶
func (x *SearchMatch) GetText() string
func (*SearchMatch) ProtoMessage ¶
func (*SearchMatch) ProtoMessage()
func (*SearchMatch) ProtoReflect ¶
func (x *SearchMatch) ProtoReflect() protoreflect.Message
func (*SearchMatch) Reset ¶
func (x *SearchMatch) Reset()
func (*SearchMatch) String ¶
func (x *SearchMatch) String() string
type SendMessageRequest ¶
type SendMessageRequest struct {
// session_id identifies the Mind session that owns this request or event.
SessionId string `protobuf:"bytes,1,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"`
// text is the user input, including slash/bang/ask/plan prefixes.
Text string `protobuf:"bytes,2,opt,name=text,proto3" json:"text,omitempty"` // user input (plain, /slash, !bang, ?ask, ~plan)
// contains filtered or unexported fields
}
SendMessageRequest sends one user turn to a Mind session.
func (*SendMessageRequest) Descriptor
deprecated
func (*SendMessageRequest) Descriptor() ([]byte, []int)
Deprecated: Use SendMessageRequest.ProtoReflect.Descriptor instead.
func (*SendMessageRequest) GetSessionId ¶
func (x *SendMessageRequest) GetSessionId() string
func (*SendMessageRequest) GetText ¶
func (x *SendMessageRequest) GetText() string
func (*SendMessageRequest) ProtoMessage ¶
func (*SendMessageRequest) ProtoMessage()
func (*SendMessageRequest) ProtoReflect ¶
func (x *SendMessageRequest) ProtoReflect() protoreflect.Message
func (*SendMessageRequest) Reset ¶
func (x *SendMessageRequest) Reset()
func (*SendMessageRequest) String ¶
func (x *SendMessageRequest) String() string
type SessionSummary ¶
type SessionSummary struct {
// id is the stable identifier for this record.
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
// project is the workspace or project name associated with the session.
Project string `protobuf:"bytes,2,opt,name=project,proto3" json:"project,omitempty"`
// created_at is when the session or record was created.
CreatedAt *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
// duration is wall-clock time spent on the run, suite, case, or operation.
Duration *durationpb.Duration `protobuf:"bytes,4,opt,name=duration,proto3" json:"duration,omitempty"`
// cost_usd is the estimated model cost in US dollars.
CostUsd float64 `protobuf:"fixed64,5,opt,name=cost_usd,json=costUsd,proto3" json:"cost_usd,omitempty"`
// llm_calls is the number of model calls made during the operation.
LlmCalls int32 `protobuf:"varint,6,opt,name=llm_calls,json=llmCalls,proto3" json:"llm_calls,omitempty"`
// achieved is true when Mind believes the objective was satisfied.
Achieved bool `protobuf:"varint,7,opt,name=achieved,proto3" json:"achieved,omitempty"`
// last_objective is the most recent objective summary for the session.
LastObjective string `protobuf:"bytes,8,opt,name=last_objective,json=lastObjective,proto3" json:"last_objective,omitempty"`
// contains filtered or unexported fields
}
SessionSummary summarizes a Mind session for listing and lookup.
func (*SessionSummary) Descriptor
deprecated
func (*SessionSummary) Descriptor() ([]byte, []int)
Deprecated: Use SessionSummary.ProtoReflect.Descriptor instead.
func (*SessionSummary) GetAchieved ¶
func (x *SessionSummary) GetAchieved() bool
func (*SessionSummary) GetCostUsd ¶
func (x *SessionSummary) GetCostUsd() float64
func (*SessionSummary) GetCreatedAt ¶
func (x *SessionSummary) GetCreatedAt() *timestamppb.Timestamp
func (*SessionSummary) GetDuration ¶
func (x *SessionSummary) GetDuration() *durationpb.Duration
func (*SessionSummary) GetId ¶
func (x *SessionSummary) GetId() string
func (*SessionSummary) GetLastObjective ¶
func (x *SessionSummary) GetLastObjective() string
func (*SessionSummary) GetLlmCalls ¶
func (x *SessionSummary) GetLlmCalls() int32
func (*SessionSummary) GetProject ¶
func (x *SessionSummary) GetProject() string
func (*SessionSummary) ProtoMessage ¶
func (*SessionSummary) ProtoMessage()
func (*SessionSummary) ProtoReflect ¶
func (x *SessionSummary) ProtoReflect() protoreflect.Message
func (*SessionSummary) Reset ¶
func (x *SessionSummary) Reset()
func (*SessionSummary) String ¶
func (x *SessionSummary) String() string
type StrategyEvent ¶
type StrategyEvent struct {
// action is the strategy, file, or debug action that occurred.
Action string `protobuf:"bytes,1,opt,name=action,proto3" json:"action,omitempty"` // "pivot", "widen", "decompose", "escalate"
// reasoning explains why Mind selected this strategy.
Reasoning string `protobuf:"bytes,2,opt,name=reasoning,proto3" json:"reasoning,omitempty"`
// contains filtered or unexported fields
}
StrategyEvent is a streamable event emitted during strategy.
func (*StrategyEvent) Descriptor
deprecated
func (*StrategyEvent) Descriptor() ([]byte, []int)
Deprecated: Use StrategyEvent.ProtoReflect.Descriptor instead.
func (*StrategyEvent) GetAction ¶
func (x *StrategyEvent) GetAction() string
func (*StrategyEvent) GetReasoning ¶
func (x *StrategyEvent) GetReasoning() string
func (*StrategyEvent) ProtoMessage ¶
func (*StrategyEvent) ProtoMessage()
func (*StrategyEvent) ProtoReflect ¶
func (x *StrategyEvent) ProtoReflect() protoreflect.Message
func (*StrategyEvent) Reset ¶
func (x *StrategyEvent) Reset()
func (*StrategyEvent) String ¶
func (x *StrategyEvent) String() string
type StreamEventsRequest ¶
type StreamEventsRequest struct {
// session_id identifies the Mind session that owns this request or event.
SessionId string `protobuf:"bytes,1,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"`
// kinds filters events by event kind; empty means all kinds.
Kinds []string `protobuf:"bytes,2,rep,name=kinds,proto3" json:"kinds,omitempty"` // filter by event kind (empty = all)
// agent_filter restricts events to a single agent name.
AgentFilter string `protobuf:"bytes,3,opt,name=agent_filter,json=agentFilter,proto3" json:"agent_filter,omitempty"` // filter by agent name
// contains filtered or unexported fields
}
StreamEventsRequest filters the live Mind event stream.
func (*StreamEventsRequest) Descriptor
deprecated
func (*StreamEventsRequest) Descriptor() ([]byte, []int)
Deprecated: Use StreamEventsRequest.ProtoReflect.Descriptor instead.
func (*StreamEventsRequest) GetAgentFilter ¶
func (x *StreamEventsRequest) GetAgentFilter() string
func (*StreamEventsRequest) GetKinds ¶
func (x *StreamEventsRequest) GetKinds() []string
func (*StreamEventsRequest) GetSessionId ¶
func (x *StreamEventsRequest) GetSessionId() string
func (*StreamEventsRequest) ProtoMessage ¶
func (*StreamEventsRequest) ProtoMessage()
func (*StreamEventsRequest) ProtoReflect ¶
func (x *StreamEventsRequest) ProtoReflect() protoreflect.Message
func (*StreamEventsRequest) Reset ¶
func (x *StreamEventsRequest) Reset()
func (*StreamEventsRequest) String ¶
func (x *StreamEventsRequest) String() string
type SymbolInfo ¶
type SymbolInfo struct {
// name is the symbol name.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// kind classifies the language construct.
Kind string `protobuf:"bytes,2,opt,name=kind,proto3" json:"kind,omitempty"`
// file is a workspace- or service-relative source file path.
File string `protobuf:"bytes,3,opt,name=file,proto3" json:"file,omitempty"`
// line is the 1-based source line number.
Line int32 `protobuf:"varint,4,opt,name=line,proto3" json:"line,omitempty"`
// signature is the declaration text or callable shape for a symbol.
Signature string `protobuf:"bytes,5,opt,name=signature,proto3" json:"signature,omitempty"`
// contains filtered or unexported fields
}
SymbolInfo is a compact symbol record for code search and navigation.
func (*SymbolInfo) Descriptor
deprecated
func (*SymbolInfo) Descriptor() ([]byte, []int)
Deprecated: Use SymbolInfo.ProtoReflect.Descriptor instead.
func (*SymbolInfo) GetFile ¶
func (x *SymbolInfo) GetFile() string
func (*SymbolInfo) GetKind ¶
func (x *SymbolInfo) GetKind() string
func (*SymbolInfo) GetLine ¶
func (x *SymbolInfo) GetLine() int32
func (*SymbolInfo) GetName ¶
func (x *SymbolInfo) GetName() string
func (*SymbolInfo) GetSignature ¶
func (x *SymbolInfo) GetSignature() string
func (*SymbolInfo) ProtoMessage ¶
func (*SymbolInfo) ProtoMessage()
func (*SymbolInfo) ProtoReflect ¶
func (x *SymbolInfo) ProtoReflect() protoreflect.Message
func (*SymbolInfo) Reset ¶
func (x *SymbolInfo) Reset()
func (*SymbolInfo) String ¶
func (x *SymbolInfo) String() string
type SymbolNode ¶
type SymbolNode struct {
// name is the symbol name.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// kind classifies the language construct.
Kind string `protobuf:"bytes,2,opt,name=kind,proto3" json:"kind,omitempty"`
// signature is the declaration text or callable shape for a symbol.
Signature string `protobuf:"bytes,3,opt,name=signature,proto3" json:"signature,omitempty"`
// overlay is true when the symbol or file comes from the active edit overlay.
Overlay bool `protobuf:"varint,4,opt,name=overlay,proto3" json:"overlay,omitempty"`
// contains filtered or unexported fields
}
SymbolNode is a compact symbol entry for the symbol map view.
func (*SymbolNode) Descriptor
deprecated
func (*SymbolNode) Descriptor() ([]byte, []int)
Deprecated: Use SymbolNode.ProtoReflect.Descriptor instead.
func (*SymbolNode) GetKind ¶
func (x *SymbolNode) GetKind() string
func (*SymbolNode) GetName ¶
func (x *SymbolNode) GetName() string
func (*SymbolNode) GetOverlay ¶
func (x *SymbolNode) GetOverlay() bool
func (*SymbolNode) GetSignature ¶
func (x *SymbolNode) GetSignature() string
func (*SymbolNode) ProtoMessage ¶
func (*SymbolNode) ProtoMessage()
func (*SymbolNode) ProtoReflect ¶
func (x *SymbolNode) ProtoReflect() protoreflect.Message
func (*SymbolNode) Reset ¶
func (x *SymbolNode) Reset()
func (*SymbolNode) String ¶
func (x *SymbolNode) String() string
type SymbolRef ¶
type SymbolRef struct {
// name is the symbol name.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// file is a workspace- or service-relative source file path.
File string `protobuf:"bytes,2,opt,name=file,proto3" json:"file,omitempty"`
// relevance is a score or explanation for why the item matters.
Relevance string `protobuf:"bytes,3,opt,name=relevance,proto3" json:"relevance,omitempty"`
// contains filtered or unexported fields
}
SymbolRef records a code symbol Mind considered relevant.
func (*SymbolRef) Descriptor
deprecated
func (*SymbolRef) GetRelevance ¶
func (*SymbolRef) ProtoMessage ¶
func (*SymbolRef) ProtoMessage()
func (*SymbolRef) ProtoReflect ¶
func (x *SymbolRef) ProtoReflect() protoreflect.Message
type TestRequest ¶
type TestRequest struct {
// session_id identifies the Mind session that owns this request or event.
SessionId string `protobuf:"bytes,1,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"`
// pattern is the search expression or test filter requested by the caller.
Pattern string `protobuf:"bytes,2,opt,name=pattern,proto3" json:"pattern,omitempty"` // optional: test name filter
// contains filtered or unexported fields
}
TestRequest asks Mind to run session tests through the gateway.
func (*TestRequest) Descriptor
deprecated
func (*TestRequest) Descriptor() ([]byte, []int)
Deprecated: Use TestRequest.ProtoReflect.Descriptor instead.
func (*TestRequest) GetPattern ¶
func (x *TestRequest) GetPattern() string
func (*TestRequest) GetSessionId ¶
func (x *TestRequest) GetSessionId() string
func (*TestRequest) ProtoMessage ¶
func (*TestRequest) ProtoMessage()
func (*TestRequest) ProtoReflect ¶
func (x *TestRequest) ProtoReflect() protoreflect.Message
func (*TestRequest) Reset ¶
func (x *TestRequest) Reset()
func (*TestRequest) String ¶
func (x *TestRequest) String() string
type TestResponse ¶
type TestResponse struct {
// success is true when the requested operation completed successfully.
Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
// output is raw command, build, lint, or test output preserved for diagnostics.
Output string `protobuf:"bytes,2,opt,name=output,proto3" json:"output,omitempty"`
// passed is the number of cases that passed.
Passed int32 `protobuf:"varint,3,opt,name=passed,proto3" json:"passed,omitempty"`
// failed is the number of cases that failed assertions.
Failed int32 `protobuf:"varint,4,opt,name=failed,proto3" json:"failed,omitempty"`
// contains filtered or unexported fields
}
TestResponse returns test success, raw output, and simple counts.
func (*TestResponse) Descriptor
deprecated
func (*TestResponse) Descriptor() ([]byte, []int)
Deprecated: Use TestResponse.ProtoReflect.Descriptor instead.
func (*TestResponse) GetFailed ¶
func (x *TestResponse) GetFailed() int32
func (*TestResponse) GetOutput ¶
func (x *TestResponse) GetOutput() string
func (*TestResponse) GetPassed ¶
func (x *TestResponse) GetPassed() int32
func (*TestResponse) GetSuccess ¶
func (x *TestResponse) GetSuccess() bool
func (*TestResponse) ProtoMessage ¶
func (*TestResponse) ProtoMessage()
func (*TestResponse) ProtoReflect ¶
func (x *TestResponse) ProtoReflect() protoreflect.Message
func (*TestResponse) Reset ¶
func (x *TestResponse) Reset()
func (*TestResponse) String ¶
func (x *TestResponse) String() string
type ToolEvent ¶
type ToolEvent struct {
// tool is the tool name involved in this chat or execution event.
Tool string `protobuf:"bytes,1,opt,name=tool,proto3" json:"tool,omitempty"`
// args are command-line arguments passed to the executable.
Args map[string]string `` /* 135-byte string literal not displayed */
// output is raw command, build, lint, or test output preserved for diagnostics.
Output string `protobuf:"bytes,3,opt,name=output,proto3" json:"output,omitempty"`
// is_error is true when the tool result represents an application-level failure.
IsError bool `protobuf:"varint,4,opt,name=is_error,json=isError,proto3" json:"is_error,omitempty"`
// cached is true when the tool or model result came from a cache.
Cached bool `protobuf:"varint,5,opt,name=cached,proto3" json:"cached,omitempty"`
// contains filtered or unexported fields
}
ToolEvent is a streamable event emitted during tool.
func (*ToolEvent) Descriptor
deprecated
func (*ToolEvent) GetIsError ¶
func (*ToolEvent) ProtoMessage ¶
func (*ToolEvent) ProtoMessage()
func (*ToolEvent) ProtoReflect ¶
func (x *ToolEvent) ProtoReflect() protoreflect.Message
type TraceEvent ¶
type TraceEvent struct {
// kind categorizes the trace event for filtering and rendering.
Kind string `protobuf:"bytes,1,opt,name=kind,proto3" json:"kind,omitempty"`
// agent is the Codefly agent plugin responsible for this service type.
Agent string `protobuf:"bytes,2,opt,name=agent,proto3" json:"agent,omitempty"`
// message is the event text shown in the trace view.
Message string `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"`
// data is the raw bytes or JSON-shaped payload.
Data map[string]string `` /* 135-byte string literal not displayed */
// contains filtered or unexported fields
}
TraceEvent is a streamable event emitted during trace.
func (*TraceEvent) Descriptor
deprecated
func (*TraceEvent) Descriptor() ([]byte, []int)
Deprecated: Use TraceEvent.ProtoReflect.Descriptor instead.
func (*TraceEvent) GetAgent ¶
func (x *TraceEvent) GetAgent() string
func (*TraceEvent) GetData ¶
func (x *TraceEvent) GetData() map[string]string
func (*TraceEvent) GetKind ¶
func (x *TraceEvent) GetKind() string
func (*TraceEvent) GetMessage ¶
func (x *TraceEvent) GetMessage() string
func (*TraceEvent) ProtoMessage ¶
func (*TraceEvent) ProtoMessage()
func (*TraceEvent) ProtoReflect ¶
func (x *TraceEvent) ProtoReflect() protoreflect.Message
func (*TraceEvent) Reset ¶
func (x *TraceEvent) Reset()
func (*TraceEvent) String ¶
func (x *TraceEvent) String() string
type TraceNode ¶
type TraceNode struct {
// agent is the Codefly agent plugin responsible for this service type.
Agent string `protobuf:"bytes,1,opt,name=agent,proto3" json:"agent,omitempty"`
// duration is wall-clock time spent on the run, suite, case, or operation.
Duration *durationpb.Duration `protobuf:"bytes,2,opt,name=duration,proto3" json:"duration,omitempty"`
// events are trace events emitted within this node.
Events []*TraceEvent `protobuf:"bytes,3,rep,name=events,proto3" json:"events,omitempty"`
// children are nested trace spans.
Children []*TraceNode `protobuf:"bytes,4,rep,name=children,proto3" json:"children,omitempty"`
// stats aggregates trace node counts, timings, and error totals.
Stats *TraceStats `protobuf:"bytes,5,opt,name=stats,proto3" json:"stats,omitempty"`
// contains filtered or unexported fields
}
TraceNode represents one agent, tool, or execution span in the trace tree.
func (*TraceNode) Descriptor
deprecated
func (*TraceNode) GetChildren ¶
func (*TraceNode) GetDuration ¶
func (x *TraceNode) GetDuration() *durationpb.Duration
func (*TraceNode) GetEvents ¶
func (x *TraceNode) GetEvents() []*TraceEvent
func (*TraceNode) GetStats ¶
func (x *TraceNode) GetStats() *TraceStats
func (*TraceNode) ProtoMessage ¶
func (*TraceNode) ProtoMessage()
func (*TraceNode) ProtoReflect ¶
func (x *TraceNode) ProtoReflect() protoreflect.Message
type TraceStats ¶
type TraceStats struct {
// llm_calls is the number of model calls made during the operation.
LlmCalls int32 `protobuf:"varint,1,opt,name=llm_calls,json=llmCalls,proto3" json:"llm_calls,omitempty"`
// tool_calls is the number of tool calls made in this turn or iteration.
ToolCalls int32 `protobuf:"varint,2,opt,name=tool_calls,json=toolCalls,proto3" json:"tool_calls,omitempty"`
// errors is the number of failed trace nodes or operations.
Errors int32 `protobuf:"varint,3,opt,name=errors,proto3" json:"errors,omitempty"`
// contains filtered or unexported fields
}
TraceStats aggregates counts for one trace node.
func (*TraceStats) Descriptor
deprecated
func (*TraceStats) Descriptor() ([]byte, []int)
Deprecated: Use TraceStats.ProtoReflect.Descriptor instead.
func (*TraceStats) GetErrors ¶
func (x *TraceStats) GetErrors() int32
func (*TraceStats) GetLlmCalls ¶
func (x *TraceStats) GetLlmCalls() int32
func (*TraceStats) GetToolCalls ¶
func (x *TraceStats) GetToolCalls() int32
func (*TraceStats) ProtoMessage ¶
func (*TraceStats) ProtoMessage()
func (*TraceStats) ProtoReflect ¶
func (x *TraceStats) ProtoReflect() protoreflect.Message
func (*TraceStats) Reset ¶
func (x *TraceStats) Reset()
func (*TraceStats) String ¶
func (x *TraceStats) String() string
type UnimplementedMindServiceServer ¶
type UnimplementedMindServiceServer struct{}
UnimplementedMindServiceServer 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 (UnimplementedMindServiceServer) ApproveChanges ¶
func (UnimplementedMindServiceServer) ApproveChanges(context.Context, *ApproveChangesRequest) (*ApproveChangesResponse, error)
func (UnimplementedMindServiceServer) Build ¶
func (UnimplementedMindServiceServer) Build(context.Context, *BuildRequest) (*BuildResponse, error)
func (UnimplementedMindServiceServer) CancelOperation ¶
func (UnimplementedMindServiceServer) CancelOperation(context.Context, *CancelOperationRequest) (*CancelOperationResponse, error)
func (UnimplementedMindServiceServer) CreateSession ¶
func (UnimplementedMindServiceServer) CreateSession(context.Context, *CreateSessionRequest) (*CreateSessionResponse, error)
func (UnimplementedMindServiceServer) GetContextState ¶
func (UnimplementedMindServiceServer) GetContextState(context.Context, *GetContextStateRequest) (*GetContextStateResponse, error)
func (UnimplementedMindServiceServer) GetCostBreakdown ¶
func (UnimplementedMindServiceServer) GetCostBreakdown(context.Context, *GetCostBreakdownRequest) (*GetCostBreakdownResponse, error)
func (UnimplementedMindServiceServer) GetDashboard ¶
func (UnimplementedMindServiceServer) GetDashboard(context.Context, *GetDashboardRequest) (*GetDashboardResponse, error)
func (UnimplementedMindServiceServer) GetFileChanges ¶
func (UnimplementedMindServiceServer) GetFileChanges(context.Context, *GetFileChangesRequest) (*GetFileChangesResponse, error)
func (UnimplementedMindServiceServer) GetLLMCalls ¶
func (UnimplementedMindServiceServer) GetLLMCalls(context.Context, *GetLLMCallsRequest) (*GetLLMCallsResponse, error)
func (UnimplementedMindServiceServer) GetLastSummary ¶
func (UnimplementedMindServiceServer) GetLastSummary(context.Context, *GetLastSummaryRequest) (*GetLastSummaryResponse, error)
func (UnimplementedMindServiceServer) GetMemory ¶
func (UnimplementedMindServiceServer) GetMemory(context.Context, *GetMemoryRequest) (*GetMemoryResponse, error)
func (UnimplementedMindServiceServer) GetMetrics ¶
func (UnimplementedMindServiceServer) GetMetrics(context.Context, *GetMetricsRequest) (*GetMetricsResponse, error)
func (UnimplementedMindServiceServer) GetMiddleware ¶
func (UnimplementedMindServiceServer) GetMiddleware(context.Context, *GetMiddlewareRequest) (*GetMiddlewareResponse, error)
func (UnimplementedMindServiceServer) GetObjectiveGraph ¶
func (UnimplementedMindServiceServer) GetObjectiveGraph(context.Context, *GetObjectiveGraphRequest) (*GetObjectiveGraphResponse, error)
func (UnimplementedMindServiceServer) GetRules ¶
func (UnimplementedMindServiceServer) GetRules(context.Context, *GetRulesRequest) (*GetRulesResponse, error)
func (UnimplementedMindServiceServer) GetSessionDetail ¶
func (UnimplementedMindServiceServer) GetSessionDetail(context.Context, *GetSessionDetailRequest) (*GetSessionDetailResponse, error)
func (UnimplementedMindServiceServer) GetSymbolMap ¶
func (UnimplementedMindServiceServer) GetSymbolMap(context.Context, *GetSymbolMapRequest) (*GetSymbolMapResponse, error)
func (UnimplementedMindServiceServer) GetTrace ¶
func (UnimplementedMindServiceServer) GetTrace(context.Context, *GetTraceRequest) (*GetTraceResponse, error)
func (UnimplementedMindServiceServer) InitContext ¶
func (UnimplementedMindServiceServer) InitContext(*InitContextRequest, grpc.ServerStreamingServer[InitEvent]) error
func (UnimplementedMindServiceServer) Lint ¶
func (UnimplementedMindServiceServer) Lint(context.Context, *LintRequest) (*LintResponse, error)
func (UnimplementedMindServiceServer) ListSessions ¶
func (UnimplementedMindServiceServer) ListSessions(context.Context, *ListSessionsRequest) (*ListSessionsResponse, error)
func (UnimplementedMindServiceServer) ListSymbols ¶
func (UnimplementedMindServiceServer) ListSymbols(context.Context, *ListSymbolsRequest) (*ListSymbolsResponse, error)
func (UnimplementedMindServiceServer) PlanAndExecute ¶
func (UnimplementedMindServiceServer) PlanAndExecute(*PlanAndExecuteRequest, grpc.ServerStreamingServer[ExecutionEvent]) error
func (UnimplementedMindServiceServer) ReadFile ¶
func (UnimplementedMindServiceServer) ReadFile(context.Context, *ReadFileRequest) (*ReadFileResponse, error)
func (UnimplementedMindServiceServer) RevertChanges ¶
func (UnimplementedMindServiceServer) RevertChanges(context.Context, *RevertChangesRequest) (*RevertChangesResponse, error)
func (UnimplementedMindServiceServer) RunObjective ¶
func (UnimplementedMindServiceServer) RunObjective(*RunObjectiveRequest, grpc.ServerStreamingServer[ExecutionEvent]) error
func (UnimplementedMindServiceServer) SearchCode ¶
func (UnimplementedMindServiceServer) SearchCode(context.Context, *SearchCodeRequest) (*SearchCodeResponse, error)
func (UnimplementedMindServiceServer) SendMessage ¶
func (UnimplementedMindServiceServer) SendMessage(*SendMessageRequest, grpc.ServerStreamingServer[ChatEvent]) error
func (UnimplementedMindServiceServer) StreamEvents ¶
func (UnimplementedMindServiceServer) StreamEvents(*StreamEventsRequest, grpc.ServerStreamingServer[MindEvent]) error
func (UnimplementedMindServiceServer) Test ¶
func (UnimplementedMindServiceServer) Test(context.Context, *TestRequest) (*TestResponse, error)
func (UnimplementedMindServiceServer) WriteFile ¶
func (UnimplementedMindServiceServer) WriteFile(context.Context, *WriteFileRequest) (*WriteFileResponse, error)
type UnsafeMindServiceServer ¶
type UnsafeMindServiceServer interface {
// contains filtered or unexported methods
}
UnsafeMindServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to MindServiceServer will result in compilation errors.
type WriteFileRequest ¶
type WriteFileRequest struct {
// session_id identifies the Mind session that owns this request or event.
SessionId string `protobuf:"bytes,1,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"`
// path is a workspace- or service-relative filesystem path.
Path string `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"`
// content is the complete file body to write.
Content string `protobuf:"bytes,3,opt,name=content,proto3" json:"content,omitempty"`
// contains filtered or unexported fields
}
WriteFileRequest writes a complete file body through Mind's overlay or gateway path.
func (*WriteFileRequest) Descriptor
deprecated
func (*WriteFileRequest) Descriptor() ([]byte, []int)
Deprecated: Use WriteFileRequest.ProtoReflect.Descriptor instead.
func (*WriteFileRequest) GetContent ¶
func (x *WriteFileRequest) GetContent() string
func (*WriteFileRequest) GetPath ¶
func (x *WriteFileRequest) GetPath() string
func (*WriteFileRequest) GetSessionId ¶
func (x *WriteFileRequest) GetSessionId() string
func (*WriteFileRequest) ProtoMessage ¶
func (*WriteFileRequest) ProtoMessage()
func (*WriteFileRequest) ProtoReflect ¶
func (x *WriteFileRequest) ProtoReflect() protoreflect.Message
func (*WriteFileRequest) Reset ¶
func (x *WriteFileRequest) Reset()
func (*WriteFileRequest) String ¶
func (x *WriteFileRequest) String() string
type WriteFileResponse ¶
type WriteFileResponse struct {
// contains filtered or unexported fields
}
WriteFileResponse acknowledges that the write request was accepted.
func (*WriteFileResponse) Descriptor
deprecated
func (*WriteFileResponse) Descriptor() ([]byte, []int)
Deprecated: Use WriteFileResponse.ProtoReflect.Descriptor instead.
func (*WriteFileResponse) ProtoMessage ¶
func (*WriteFileResponse) ProtoMessage()
func (*WriteFileResponse) ProtoReflect ¶
func (x *WriteFileResponse) ProtoReflect() protoreflect.Message
func (*WriteFileResponse) Reset ¶
func (x *WriteFileResponse) Reset()
func (*WriteFileResponse) String ¶
func (x *WriteFileResponse) String() string