Documentation
¶
Overview ¶
Package debugv1 is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Constants
- Variables
- func RegisterDebugServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterDebugServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client DebugServiceClient) error
- func RegisterDebugServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterDebugServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server DebugServiceServer) error
- func RegisterDebugServiceServer(s grpc.ServiceRegistrar, srv DebugServiceServer)
- 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 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 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 DebugEvent
- func (*DebugEvent) Descriptor() ([]byte, []int)deprecated
- func (x *DebugEvent) GetAgent() string
- func (x *DebugEvent) GetData() map[string]string
- func (x *DebugEvent) GetKind() string
- func (x *DebugEvent) GetMessage() string
- func (x *DebugEvent) GetTimestamp() *timestamppb.Timestamp
- func (*DebugEvent) ProtoMessage()
- func (x *DebugEvent) ProtoReflect() protoreflect.Message
- func (x *DebugEvent) Reset()
- func (x *DebugEvent) String() string
- type DebugServiceClient
- type DebugServiceServer
- type DebugService_StreamEventsClient
- type DebugService_StreamEventsServer
- 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 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 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 GetContextRequest
- type GetContextResponse
- func (*GetContextResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetContextResponse) GetConventions() []*ConventionEntry
- func (x *GetContextResponse) GetHasConventions() bool
- func (x *GetContextResponse) GetHasMemory() bool
- func (x *GetContextResponse) GetHasRules() bool
- func (x *GetContextResponse) GetHasSession() bool
- func (x *GetContextResponse) GetHasSymbolMap() bool
- func (x *GetContextResponse) GetMetrics() *MetricsSummary
- func (x *GetContextResponse) GetProjectName() string
- func (x *GetContextResponse) GetServiceName() string
- func (x *GetContextResponse) GetStatePreview() string
- func (x *GetContextResponse) GetSystemPreview() string
- func (x *GetContextResponse) GetTurnPreview() string
- func (*GetContextResponse) ProtoMessage()
- func (x *GetContextResponse) ProtoReflect() protoreflect.Message
- func (x *GetContextResponse) Reset()
- func (x *GetContextResponse) String() string
- type GetCostBreakdownRequest
- 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
- 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
- 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 (*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
- 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() []*IterationEntry
- func (x *GetMemoryResponse) GetNextSteps() []string
- func (x *GetMemoryResponse) GetObjective() string
- func (x *GetMemoryResponse) GetSymbols() []*SymbolEntry
- 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() *MetricsSummary
- 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 GetMiddlewareStateRequest
- type GetMiddlewareStateResponse
- func (*GetMiddlewareStateResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetMiddlewareStateResponse) GetChain() []*MiddlewareEntry
- func (*GetMiddlewareStateResponse) ProtoMessage()
- func (x *GetMiddlewareStateResponse) ProtoReflect() protoreflect.Message
- func (x *GetMiddlewareStateResponse) Reset()
- func (x *GetMiddlewareStateResponse) String() string
- type GetObjectiveGraphRequest
- 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 GetSessionRequest
- type GetSessionResponse
- func (*GetSessionResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetSessionResponse) GetAchieved() bool
- func (x *GetSessionResponse) GetCreatedAt() *timestamppb.Timestamp
- func (x *GetSessionResponse) GetDuration() *durationpb.Duration
- func (x *GetSessionResponse) GetEvents() []*EventEntry
- func (x *GetSessionResponse) GetId() string
- func (x *GetSessionResponse) GetIteration() int32
- func (x *GetSessionResponse) GetObjective() string
- func (*GetSessionResponse) ProtoMessage()
- func (x *GetSessionResponse) ProtoReflect() protoreflect.Message
- func (x *GetSessionResponse) Reset()
- func (x *GetSessionResponse) String() string
- type GetSymbolMapRequest
- 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 IterationEntry
- func (*IterationEntry) Descriptor() ([]byte, []int)deprecated
- func (x *IterationEntry) GetFiles() []string
- func (x *IterationEntry) GetInsight() string
- func (x *IterationEntry) GetNumber() int32
- func (x *IterationEntry) GetOutcome() string
- func (*IterationEntry) ProtoMessage()
- func (x *IterationEntry) ProtoReflect() protoreflect.Message
- func (x *IterationEntry) Reset()
- func (x *IterationEntry) 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 MetricsSummary
- func (*MetricsSummary) Descriptor() ([]byte, []int)deprecated
- func (x *MetricsSummary) GetCacheableRatio() float64
- func (x *MetricsSummary) GetSavedTokens() int32
- func (x *MetricsSummary) GetStateTokens() int32
- func (x *MetricsSummary) GetSystemTokens() int32
- func (x *MetricsSummary) GetTotalTokens() int32
- func (x *MetricsSummary) GetTurnTokens() int32
- func (*MetricsSummary) ProtoMessage()
- func (x *MetricsSummary) ProtoReflect() protoreflect.Message
- func (x *MetricsSummary) Reset()
- func (x *MetricsSummary) 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 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 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 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 StreamEventsRequest
- func (*StreamEventsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *StreamEventsRequest) GetAgentFilter() string
- func (x *StreamEventsRequest) GetKinds() []string
- func (*StreamEventsRequest) ProtoMessage()
- func (x *StreamEventsRequest) ProtoReflect() protoreflect.Message
- func (x *StreamEventsRequest) Reset()
- func (x *StreamEventsRequest) String() string
- type SymbolEntry
- func (*SymbolEntry) Descriptor() ([]byte, []int)deprecated
- func (x *SymbolEntry) GetFile() string
- func (x *SymbolEntry) GetName() string
- func (x *SymbolEntry) GetRelevance() string
- func (*SymbolEntry) ProtoMessage()
- func (x *SymbolEntry) ProtoReflect() protoreflect.Message
- func (x *SymbolEntry) Reset()
- func (x *SymbolEntry) 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 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 UnimplementedDebugServiceServer
- func (UnimplementedDebugServiceServer) GetContext(context.Context, *GetContextRequest) (*GetContextResponse, error)
- func (UnimplementedDebugServiceServer) GetCostBreakdown(context.Context, *GetCostBreakdownRequest) (*GetCostBreakdownResponse, error)
- func (UnimplementedDebugServiceServer) GetDashboard(context.Context, *GetDashboardRequest) (*GetDashboardResponse, error)
- func (UnimplementedDebugServiceServer) GetFileChanges(context.Context, *GetFileChangesRequest) (*GetFileChangesResponse, error)
- func (UnimplementedDebugServiceServer) GetLLMCalls(context.Context, *GetLLMCallsRequest) (*GetLLMCallsResponse, error)
- func (UnimplementedDebugServiceServer) GetLastSummary(context.Context, *GetLastSummaryRequest) (*GetLastSummaryResponse, error)
- func (UnimplementedDebugServiceServer) GetMemory(context.Context, *GetMemoryRequest) (*GetMemoryResponse, error)
- func (UnimplementedDebugServiceServer) GetMetrics(context.Context, *GetMetricsRequest) (*GetMetricsResponse, error)
- func (UnimplementedDebugServiceServer) GetMiddlewareState(context.Context, *GetMiddlewareStateRequest) (*GetMiddlewareStateResponse, error)
- func (UnimplementedDebugServiceServer) GetObjectiveGraph(context.Context, *GetObjectiveGraphRequest) (*GetObjectiveGraphResponse, error)
- func (UnimplementedDebugServiceServer) GetRules(context.Context, *GetRulesRequest) (*GetRulesResponse, error)
- func (UnimplementedDebugServiceServer) GetSession(context.Context, *GetSessionRequest) (*GetSessionResponse, error)
- func (UnimplementedDebugServiceServer) GetSymbolMap(context.Context, *GetSymbolMapRequest) (*GetSymbolMapResponse, error)
- func (UnimplementedDebugServiceServer) GetTrace(context.Context, *GetTraceRequest) (*GetTraceResponse, error)
- func (UnimplementedDebugServiceServer) StreamEvents(*StreamEventsRequest, grpc.ServerStreamingServer[DebugEvent]) error
- type UnsafeDebugServiceServer
Constants ¶
const ( DebugService_GetDashboard_FullMethodName = "/mind.debug.v1.DebugService/GetDashboard" DebugService_GetContext_FullMethodName = "/mind.debug.v1.DebugService/GetContext" DebugService_GetMemory_FullMethodName = "/mind.debug.v1.DebugService/GetMemory" DebugService_GetSession_FullMethodName = "/mind.debug.v1.DebugService/GetSession" DebugService_GetObjectiveGraph_FullMethodName = "/mind.debug.v1.DebugService/GetObjectiveGraph" DebugService_GetTrace_FullMethodName = "/mind.debug.v1.DebugService/GetTrace" DebugService_GetMetrics_FullMethodName = "/mind.debug.v1.DebugService/GetMetrics" DebugService_GetCostBreakdown_FullMethodName = "/mind.debug.v1.DebugService/GetCostBreakdown" DebugService_GetSymbolMap_FullMethodName = "/mind.debug.v1.DebugService/GetSymbolMap" DebugService_GetFileChanges_FullMethodName = "/mind.debug.v1.DebugService/GetFileChanges" DebugService_GetLastSummary_FullMethodName = "/mind.debug.v1.DebugService/GetLastSummary" DebugService_GetRules_FullMethodName = "/mind.debug.v1.DebugService/GetRules" DebugService_GetLLMCalls_FullMethodName = "/mind.debug.v1.DebugService/GetLLMCalls" DebugService_GetMiddlewareState_FullMethodName = "/mind.debug.v1.DebugService/GetMiddlewareState" DebugService_StreamEvents_FullMethodName = "/mind.debug.v1.DebugService/StreamEvents" )
Variables ¶
var DebugService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "mind.debug.v1.DebugService", HandlerType: (*DebugServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GetDashboard", Handler: _DebugService_GetDashboard_Handler, }, { MethodName: "GetContext", Handler: _DebugService_GetContext_Handler, }, { MethodName: "GetMemory", Handler: _DebugService_GetMemory_Handler, }, { MethodName: "GetSession", Handler: _DebugService_GetSession_Handler, }, { MethodName: "GetObjectiveGraph", Handler: _DebugService_GetObjectiveGraph_Handler, }, { MethodName: "GetTrace", Handler: _DebugService_GetTrace_Handler, }, { MethodName: "GetMetrics", Handler: _DebugService_GetMetrics_Handler, }, { MethodName: "GetCostBreakdown", Handler: _DebugService_GetCostBreakdown_Handler, }, { MethodName: "GetSymbolMap", Handler: _DebugService_GetSymbolMap_Handler, }, { MethodName: "GetFileChanges", Handler: _DebugService_GetFileChanges_Handler, }, { MethodName: "GetLastSummary", Handler: _DebugService_GetLastSummary_Handler, }, { MethodName: "GetRules", Handler: _DebugService_GetRules_Handler, }, { MethodName: "GetLLMCalls", Handler: _DebugService_GetLLMCalls_Handler, }, { MethodName: "GetMiddlewareState", Handler: _DebugService_GetMiddlewareState_Handler, }, }, Streams: []grpc.StreamDesc{ { StreamName: "StreamEvents", Handler: _DebugService_StreamEvents_Handler, ServerStreams: true, }, }, Metadata: "mind/debug/v1/debug.proto", }
DebugService_ServiceDesc is the grpc.ServiceDesc for DebugService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_mind_debug_v1_debug_proto protoreflect.FileDescriptor
Functions ¶
func RegisterDebugServiceHandler ¶
func RegisterDebugServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
RegisterDebugServiceHandler registers the http handlers for service DebugService to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterDebugServiceHandlerClient ¶
func RegisterDebugServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client DebugServiceClient) error
RegisterDebugServiceHandlerClient registers the http handlers for service DebugService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "DebugServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "DebugServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "DebugServiceClient" to call the correct interceptors.
func RegisterDebugServiceHandlerFromEndpoint ¶
func RegisterDebugServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterDebugServiceHandlerFromEndpoint is same as RegisterDebugServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterDebugServiceHandlerServer ¶
func RegisterDebugServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server DebugServiceServer) error
RegisterDebugServiceHandlerServer registers the http handlers for service DebugService to "mux". UnaryRPC :call DebugServiceServer 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 RegisterDebugServiceHandlerFromEndpoint instead.
func RegisterDebugServiceServer ¶
func RegisterDebugServiceServer(s grpc.ServiceRegistrar, srv DebugServiceServer)
Types ¶
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 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 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 DebugEvent ¶
type DebugEvent 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 the debug UI.
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
}
DebugEvent is a live event emitted to debug clients.
func (*DebugEvent) Descriptor
deprecated
func (*DebugEvent) Descriptor() ([]byte, []int)
Deprecated: Use DebugEvent.ProtoReflect.Descriptor instead.
func (*DebugEvent) GetAgent ¶
func (x *DebugEvent) GetAgent() string
func (*DebugEvent) GetData ¶
func (x *DebugEvent) GetData() map[string]string
func (*DebugEvent) GetKind ¶
func (x *DebugEvent) GetKind() string
func (*DebugEvent) GetMessage ¶
func (x *DebugEvent) GetMessage() string
func (*DebugEvent) GetTimestamp ¶
func (x *DebugEvent) GetTimestamp() *timestamppb.Timestamp
func (*DebugEvent) ProtoMessage ¶
func (*DebugEvent) ProtoMessage()
func (*DebugEvent) ProtoReflect ¶
func (x *DebugEvent) ProtoReflect() protoreflect.Message
func (*DebugEvent) Reset ¶
func (x *DebugEvent) Reset()
func (*DebugEvent) String ¶
func (x *DebugEvent) String() string
type DebugServiceClient ¶
type DebugServiceClient interface {
// Dashboard returns an overview KPI snapshot.
GetDashboard(ctx context.Context, in *GetDashboardRequest, opts ...grpc.CallOption) (*GetDashboardResponse, error)
// Context returns the 3-layer prompt state (System / State / Turn).
GetContext(ctx context.Context, in *GetContextRequest, opts ...grpc.CallOption) (*GetContextResponse, error)
// Memory returns the current working memory state.
GetMemory(ctx context.Context, in *GetMemoryRequest, opts ...grpc.CallOption) (*GetMemoryResponse, error)
// Session returns session timeline and events.
GetSession(ctx context.Context, in *GetSessionRequest, opts ...grpc.CallOption) (*GetSessionResponse, error)
// ObjectiveGraph returns the objective DAG.
GetObjectiveGraph(ctx context.Context, in *GetObjectiveGraphRequest, opts ...grpc.CallOption) (*GetObjectiveGraphResponse, error)
// Trace returns the agent execution trace tree.
GetTrace(ctx context.Context, in *GetTraceRequest, opts ...grpc.CallOption) (*GetTraceResponse, error)
// Metrics returns token and cost metrics.
GetMetrics(ctx context.Context, in *GetMetricsRequest, opts ...grpc.CallOption) (*GetMetricsResponse, error)
// CostBreakdown returns hierarchical cost attribution.
GetCostBreakdown(ctx context.Context, in *GetCostBreakdownRequest, opts ...grpc.CallOption) (*GetCostBreakdownResponse, error)
// SymbolMap returns the code symbol graph.
GetSymbolMap(ctx context.Context, in *GetSymbolMapRequest, opts ...grpc.CallOption) (*GetSymbolMapResponse, error)
// FileChanges returns file operations and diffs from the current run.
GetFileChanges(ctx context.Context, in *GetFileChangesRequest, opts ...grpc.CallOption) (*GetFileChangesResponse, error)
// LastSummary returns the post-run summary.
GetLastSummary(ctx context.Context, in *GetLastSummaryRequest, opts ...grpc.CallOption) (*GetLastSummaryResponse, error)
// Rules returns loaded rules with scope and match info.
GetRules(ctx context.Context, in *GetRulesRequest, opts ...grpc.CallOption) (*GetRulesResponse, error)
// LLMCalls returns the full call log.
GetLLMCalls(ctx context.Context, in *GetLLMCallsRequest, opts ...grpc.CallOption) (*GetLLMCallsResponse, error)
// MiddlewareState returns the middleware pipeline status.
GetMiddlewareState(ctx context.Context, in *GetMiddlewareStateRequest, opts ...grpc.CallOption) (*GetMiddlewareStateResponse, error)
// StreamEvents pushes real-time events to the client.
StreamEvents(ctx context.Context, in *StreamEventsRequest, opts ...grpc.CallOption) (grpc.ServerStreamingClient[DebugEvent], error)
}
DebugServiceClient is the client API for DebugService 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.
DebugService exposes Mind's internal state for the debug web UI. All RPCs map directly to display view types in pkg/display.
func NewDebugServiceClient ¶
func NewDebugServiceClient(cc grpc.ClientConnInterface) DebugServiceClient
type DebugServiceServer ¶
type DebugServiceServer interface {
// Dashboard returns an overview KPI snapshot.
GetDashboard(context.Context, *GetDashboardRequest) (*GetDashboardResponse, error)
// Context returns the 3-layer prompt state (System / State / Turn).
GetContext(context.Context, *GetContextRequest) (*GetContextResponse, error)
// Memory returns the current working memory state.
GetMemory(context.Context, *GetMemoryRequest) (*GetMemoryResponse, error)
// Session returns session timeline and events.
GetSession(context.Context, *GetSessionRequest) (*GetSessionResponse, error)
// ObjectiveGraph returns the objective DAG.
GetObjectiveGraph(context.Context, *GetObjectiveGraphRequest) (*GetObjectiveGraphResponse, error)
// Trace returns the agent execution trace tree.
GetTrace(context.Context, *GetTraceRequest) (*GetTraceResponse, error)
// Metrics returns token and cost metrics.
GetMetrics(context.Context, *GetMetricsRequest) (*GetMetricsResponse, error)
// CostBreakdown returns hierarchical cost attribution.
GetCostBreakdown(context.Context, *GetCostBreakdownRequest) (*GetCostBreakdownResponse, error)
// SymbolMap returns the code symbol graph.
GetSymbolMap(context.Context, *GetSymbolMapRequest) (*GetSymbolMapResponse, error)
// FileChanges returns file operations and diffs from the current run.
GetFileChanges(context.Context, *GetFileChangesRequest) (*GetFileChangesResponse, error)
// LastSummary returns the post-run summary.
GetLastSummary(context.Context, *GetLastSummaryRequest) (*GetLastSummaryResponse, error)
// Rules returns loaded rules with scope and match info.
GetRules(context.Context, *GetRulesRequest) (*GetRulesResponse, error)
// LLMCalls returns the full call log.
GetLLMCalls(context.Context, *GetLLMCallsRequest) (*GetLLMCallsResponse, error)
// MiddlewareState returns the middleware pipeline status.
GetMiddlewareState(context.Context, *GetMiddlewareStateRequest) (*GetMiddlewareStateResponse, error)
// StreamEvents pushes real-time events to the client.
StreamEvents(*StreamEventsRequest, grpc.ServerStreamingServer[DebugEvent]) error
// contains filtered or unexported methods
}
DebugServiceServer is the server API for DebugService service. All implementations must embed UnimplementedDebugServiceServer for forward compatibility.
DebugService exposes Mind's internal state for the debug web UI. All RPCs map directly to display view types in pkg/display.
type DebugService_StreamEventsClient ¶
type DebugService_StreamEventsClient = grpc.ServerStreamingClient[DebugEvent]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type DebugService_StreamEventsServer ¶
type DebugService_StreamEventsServer = grpc.ServerStreamingServer[DebugEvent]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
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 the debug timeline.
Message string `protobuf:"bytes,4,opt,name=message,proto3" json:"message,omitempty"`
// contains filtered or unexported fields
}
EventEntry is one timeline entry for a debug 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 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 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 GetContextRequest ¶
type GetContextRequest struct {
// contains filtered or unexported fields
}
GetContextRequest identifies the context data to retrieve.
func (*GetContextRequest) Descriptor
deprecated
func (*GetContextRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetContextRequest.ProtoReflect.Descriptor instead.
func (*GetContextRequest) ProtoMessage ¶
func (*GetContextRequest) ProtoMessage()
func (*GetContextRequest) ProtoReflect ¶
func (x *GetContextRequest) ProtoReflect() protoreflect.Message
func (*GetContextRequest) Reset ¶
func (x *GetContextRequest) Reset()
func (*GetContextRequest) String ¶
func (x *GetContextRequest) String() string
type GetContextResponse ¶
type GetContextResponse 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 *MetricsSummary `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
}
GetContextResponse shows the prompt context layers currently available to Mind.
func (*GetContextResponse) Descriptor
deprecated
func (*GetContextResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetContextResponse.ProtoReflect.Descriptor instead.
func (*GetContextResponse) GetConventions ¶
func (x *GetContextResponse) GetConventions() []*ConventionEntry
func (*GetContextResponse) GetHasConventions ¶
func (x *GetContextResponse) GetHasConventions() bool
func (*GetContextResponse) GetHasMemory ¶
func (x *GetContextResponse) GetHasMemory() bool
func (*GetContextResponse) GetHasRules ¶
func (x *GetContextResponse) GetHasRules() bool
func (*GetContextResponse) GetHasSession ¶
func (x *GetContextResponse) GetHasSession() bool
func (*GetContextResponse) GetHasSymbolMap ¶
func (x *GetContextResponse) GetHasSymbolMap() bool
func (*GetContextResponse) GetMetrics ¶
func (x *GetContextResponse) GetMetrics() *MetricsSummary
func (*GetContextResponse) GetProjectName ¶
func (x *GetContextResponse) GetProjectName() string
func (*GetContextResponse) GetServiceName ¶
func (x *GetContextResponse) GetServiceName() string
func (*GetContextResponse) GetStatePreview ¶
func (x *GetContextResponse) GetStatePreview() string
func (*GetContextResponse) GetSystemPreview ¶
func (x *GetContextResponse) GetSystemPreview() string
func (*GetContextResponse) GetTurnPreview ¶
func (x *GetContextResponse) GetTurnPreview() string
func (*GetContextResponse) ProtoMessage ¶
func (*GetContextResponse) ProtoMessage()
func (*GetContextResponse) ProtoReflect ¶
func (x *GetContextResponse) ProtoReflect() protoreflect.Message
func (*GetContextResponse) Reset ¶
func (x *GetContextResponse) Reset()
func (*GetContextResponse) String ¶
func (x *GetContextResponse) String() string
type GetCostBreakdownRequest ¶
type GetCostBreakdownRequest struct {
// 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) 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 number of cases represented.
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 {
// 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) 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 debug KPI snapshot for the active 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 {
// 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) 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 run.
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 {
// limit caps the number of records returned.
Limit int32 `protobuf:"varint,1,opt,name=limit,proto3" json:"limit,omitempty"`
// offset skips records before returning a paged result.
Offset int32 `protobuf:"varint,2,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) 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 debug 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 {
// 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) 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 {
// 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) 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 []*SymbolEntry `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 []*IterationEntry `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() []*IterationEntry
func (*GetMemoryResponse) GetNextSteps ¶
func (x *GetMemoryResponse) GetNextSteps() []string
func (*GetMemoryResponse) GetObjective ¶
func (x *GetMemoryResponse) GetObjective() string
func (*GetMemoryResponse) GetSymbols ¶
func (x *GetMemoryResponse) GetSymbols() []*SymbolEntry
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 {
// 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) 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 *MetricsSummary `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() *MetricsSummary
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 GetMiddlewareStateRequest ¶
type GetMiddlewareStateRequest struct {
// contains filtered or unexported fields
}
GetMiddlewareStateRequest identifies the middleware state data to retrieve.
func (*GetMiddlewareStateRequest) Descriptor
deprecated
func (*GetMiddlewareStateRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetMiddlewareStateRequest.ProtoReflect.Descriptor instead.
func (*GetMiddlewareStateRequest) ProtoMessage ¶
func (*GetMiddlewareStateRequest) ProtoMessage()
func (*GetMiddlewareStateRequest) ProtoReflect ¶
func (x *GetMiddlewareStateRequest) ProtoReflect() protoreflect.Message
func (*GetMiddlewareStateRequest) Reset ¶
func (x *GetMiddlewareStateRequest) Reset()
func (*GetMiddlewareStateRequest) String ¶
func (x *GetMiddlewareStateRequest) String() string
type GetMiddlewareStateResponse ¶
type GetMiddlewareStateResponse 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
}
GetMiddlewareStateResponse returns the current middleware pipeline state.
func (*GetMiddlewareStateResponse) Descriptor
deprecated
func (*GetMiddlewareStateResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetMiddlewareStateResponse.ProtoReflect.Descriptor instead.
func (*GetMiddlewareStateResponse) GetChain ¶
func (x *GetMiddlewareStateResponse) GetChain() []*MiddlewareEntry
func (*GetMiddlewareStateResponse) ProtoMessage ¶
func (*GetMiddlewareStateResponse) ProtoMessage()
func (*GetMiddlewareStateResponse) ProtoReflect ¶
func (x *GetMiddlewareStateResponse) ProtoReflect() protoreflect.Message
func (*GetMiddlewareStateResponse) Reset ¶
func (x *GetMiddlewareStateResponse) Reset()
func (*GetMiddlewareStateResponse) String ¶
func (x *GetMiddlewareStateResponse) String() string
type GetObjectiveGraphRequest ¶
type GetObjectiveGraphRequest struct {
// 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) 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 {
// 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) 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 GetSessionRequest ¶
type GetSessionRequest struct {
// contains filtered or unexported fields
}
GetSessionRequest identifies the session data to retrieve.
func (*GetSessionRequest) Descriptor
deprecated
func (*GetSessionRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetSessionRequest.ProtoReflect.Descriptor instead.
func (*GetSessionRequest) ProtoMessage ¶
func (*GetSessionRequest) ProtoMessage()
func (*GetSessionRequest) ProtoReflect ¶
func (x *GetSessionRequest) ProtoReflect() protoreflect.Message
func (*GetSessionRequest) Reset ¶
func (x *GetSessionRequest) Reset()
func (*GetSessionRequest) String ¶
func (x *GetSessionRequest) String() string
type GetSessionResponse ¶
type GetSessionResponse struct {
// id is the stable identifier for this record.
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
// objective is the user goal or execution target.
Objective string `protobuf:"bytes,2,opt,name=objective,proto3" json:"objective,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"`
// iteration is the execution loop number for this event.
Iteration int32 `protobuf:"varint,5,opt,name=iteration,proto3" json:"iteration,omitempty"`
// achieved is true when Mind believes the objective was satisfied.
Achieved bool `protobuf:"varint,6,opt,name=achieved,proto3" json:"achieved,omitempty"`
// events are chronological debug events for this session.
Events []*EventEntry `protobuf:"bytes,7,rep,name=events,proto3" json:"events,omitempty"`
// contains filtered or unexported fields
}
GetSessionResponse returns the current debug session and its event timeline.
func (*GetSessionResponse) Descriptor
deprecated
func (*GetSessionResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetSessionResponse.ProtoReflect.Descriptor instead.
func (*GetSessionResponse) GetAchieved ¶
func (x *GetSessionResponse) GetAchieved() bool
func (*GetSessionResponse) GetCreatedAt ¶
func (x *GetSessionResponse) GetCreatedAt() *timestamppb.Timestamp
func (*GetSessionResponse) GetDuration ¶
func (x *GetSessionResponse) GetDuration() *durationpb.Duration
func (*GetSessionResponse) GetEvents ¶
func (x *GetSessionResponse) GetEvents() []*EventEntry
func (*GetSessionResponse) GetId ¶
func (x *GetSessionResponse) GetId() string
func (*GetSessionResponse) GetIteration ¶
func (x *GetSessionResponse) GetIteration() int32
func (*GetSessionResponse) GetObjective ¶
func (x *GetSessionResponse) GetObjective() string
func (*GetSessionResponse) ProtoMessage ¶
func (*GetSessionResponse) ProtoMessage()
func (*GetSessionResponse) ProtoReflect ¶
func (x *GetSessionResponse) ProtoReflect() protoreflect.Message
func (*GetSessionResponse) Reset ¶
func (x *GetSessionResponse) Reset()
func (*GetSessionResponse) String ¶
func (x *GetSessionResponse) String() string
type GetSymbolMapRequest ¶
type GetSymbolMapRequest struct {
// 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) 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 the debug UI.
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 {
// 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) 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 IterationEntry ¶
type IterationEntry 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
}
IterationEntry summarizes one reasoning or execution loop.
func (*IterationEntry) Descriptor
deprecated
func (*IterationEntry) Descriptor() ([]byte, []int)
Deprecated: Use IterationEntry.ProtoReflect.Descriptor instead.
func (*IterationEntry) GetFiles ¶
func (x *IterationEntry) GetFiles() []string
func (*IterationEntry) GetInsight ¶
func (x *IterationEntry) GetInsight() string
func (*IterationEntry) GetNumber ¶
func (x *IterationEntry) GetNumber() int32
func (*IterationEntry) GetOutcome ¶
func (x *IterationEntry) GetOutcome() string
func (*IterationEntry) ProtoMessage ¶
func (*IterationEntry) ProtoMessage()
func (*IterationEntry) ProtoReflect ¶
func (x *IterationEntry) ProtoReflect() protoreflect.Message
func (*IterationEntry) Reset ¶
func (x *IterationEntry) Reset()
func (*IterationEntry) String ¶
func (x *IterationEntry) 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 MetricsSummary ¶
type MetricsSummary 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
}
MetricsSummary aggregates token counts and cacheability for context segments.
func (*MetricsSummary) Descriptor
deprecated
func (*MetricsSummary) Descriptor() ([]byte, []int)
Deprecated: Use MetricsSummary.ProtoReflect.Descriptor instead.
func (*MetricsSummary) GetCacheableRatio ¶
func (x *MetricsSummary) GetCacheableRatio() float64
func (*MetricsSummary) GetSavedTokens ¶
func (x *MetricsSummary) GetSavedTokens() int32
func (*MetricsSummary) GetStateTokens ¶
func (x *MetricsSummary) GetStateTokens() int32
func (*MetricsSummary) GetSystemTokens ¶
func (x *MetricsSummary) GetSystemTokens() int32
func (*MetricsSummary) GetTotalTokens ¶
func (x *MetricsSummary) GetTotalTokens() int32
func (*MetricsSummary) GetTurnTokens ¶
func (x *MetricsSummary) GetTurnTokens() int32
func (*MetricsSummary) ProtoMessage ¶
func (*MetricsSummary) ProtoMessage()
func (*MetricsSummary) ProtoReflect ¶
func (x *MetricsSummary) ProtoReflect() protoreflect.Message
func (*MetricsSummary) Reset ¶
func (x *MetricsSummary) Reset()
func (*MetricsSummary) String ¶
func (x *MetricsSummary) 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 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 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 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 StreamEventsRequest ¶
type StreamEventsRequest struct {
// kinds filters events to selected event types.
Kinds []string `protobuf:"bytes,1,rep,name=kinds,proto3" json:"kinds,omitempty"`
// agent_filter restricts events to a single agent name.
AgentFilter string `protobuf:"bytes,2,opt,name=agent_filter,json=agentFilter,proto3" json:"agent_filter,omitempty"`
// contains filtered or unexported fields
}
StreamEventsRequest filters the live debug 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) 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 SymbolEntry ¶
type SymbolEntry 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
}
SymbolEntry records a code symbol Mind considered relevant.
func (*SymbolEntry) Descriptor
deprecated
func (*SymbolEntry) Descriptor() ([]byte, []int)
Deprecated: Use SymbolEntry.ProtoReflect.Descriptor instead.
func (*SymbolEntry) GetFile ¶
func (x *SymbolEntry) GetFile() string
func (*SymbolEntry) GetName ¶
func (x *SymbolEntry) GetName() string
func (*SymbolEntry) GetRelevance ¶
func (x *SymbolEntry) GetRelevance() string
func (*SymbolEntry) ProtoMessage ¶
func (*SymbolEntry) ProtoMessage()
func (*SymbolEntry) ProtoReflect ¶
func (x *SymbolEntry) ProtoReflect() protoreflect.Message
func (*SymbolEntry) Reset ¶
func (x *SymbolEntry) Reset()
func (*SymbolEntry) String ¶
func (x *SymbolEntry) 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 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 UnimplementedDebugServiceServer ¶
type UnimplementedDebugServiceServer struct{}
UnimplementedDebugServiceServer 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 (UnimplementedDebugServiceServer) GetContext ¶
func (UnimplementedDebugServiceServer) GetContext(context.Context, *GetContextRequest) (*GetContextResponse, error)
func (UnimplementedDebugServiceServer) GetCostBreakdown ¶
func (UnimplementedDebugServiceServer) GetCostBreakdown(context.Context, *GetCostBreakdownRequest) (*GetCostBreakdownResponse, error)
func (UnimplementedDebugServiceServer) GetDashboard ¶
func (UnimplementedDebugServiceServer) GetDashboard(context.Context, *GetDashboardRequest) (*GetDashboardResponse, error)
func (UnimplementedDebugServiceServer) GetFileChanges ¶
func (UnimplementedDebugServiceServer) GetFileChanges(context.Context, *GetFileChangesRequest) (*GetFileChangesResponse, error)
func (UnimplementedDebugServiceServer) GetLLMCalls ¶
func (UnimplementedDebugServiceServer) GetLLMCalls(context.Context, *GetLLMCallsRequest) (*GetLLMCallsResponse, error)
func (UnimplementedDebugServiceServer) GetLastSummary ¶
func (UnimplementedDebugServiceServer) GetLastSummary(context.Context, *GetLastSummaryRequest) (*GetLastSummaryResponse, error)
func (UnimplementedDebugServiceServer) GetMemory ¶
func (UnimplementedDebugServiceServer) GetMemory(context.Context, *GetMemoryRequest) (*GetMemoryResponse, error)
func (UnimplementedDebugServiceServer) GetMetrics ¶
func (UnimplementedDebugServiceServer) GetMetrics(context.Context, *GetMetricsRequest) (*GetMetricsResponse, error)
func (UnimplementedDebugServiceServer) GetMiddlewareState ¶
func (UnimplementedDebugServiceServer) GetMiddlewareState(context.Context, *GetMiddlewareStateRequest) (*GetMiddlewareStateResponse, error)
func (UnimplementedDebugServiceServer) GetObjectiveGraph ¶
func (UnimplementedDebugServiceServer) GetObjectiveGraph(context.Context, *GetObjectiveGraphRequest) (*GetObjectiveGraphResponse, error)
func (UnimplementedDebugServiceServer) GetRules ¶
func (UnimplementedDebugServiceServer) GetRules(context.Context, *GetRulesRequest) (*GetRulesResponse, error)
func (UnimplementedDebugServiceServer) GetSession ¶
func (UnimplementedDebugServiceServer) GetSession(context.Context, *GetSessionRequest) (*GetSessionResponse, error)
func (UnimplementedDebugServiceServer) GetSymbolMap ¶
func (UnimplementedDebugServiceServer) GetSymbolMap(context.Context, *GetSymbolMapRequest) (*GetSymbolMapResponse, error)
func (UnimplementedDebugServiceServer) GetTrace ¶
func (UnimplementedDebugServiceServer) GetTrace(context.Context, *GetTraceRequest) (*GetTraceResponse, error)
func (UnimplementedDebugServiceServer) StreamEvents ¶
func (UnimplementedDebugServiceServer) StreamEvents(*StreamEventsRequest, grpc.ServerStreamingServer[DebugEvent]) error
type UnsafeDebugServiceServer ¶
type UnsafeDebugServiceServer interface {
// contains filtered or unexported methods
}
UnsafeDebugServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to DebugServiceServer will result in compilation errors.