Documentation
¶
Index ¶
- Variables
- type Agent
- func (*Agent) Descriptor() ([]byte, []int)deprecated
- func (x *Agent) GetKind() string
- func (x *Agent) GetName() string
- func (x *Agent) GetPaneId() string
- func (x *Agent) GetStatus() AgentStatus
- func (x *Agent) GetWorkspaceId() string
- func (*Agent) ProtoMessage()
- func (x *Agent) ProtoReflect() protoreflect.Message
- func (x *Agent) Reset()
- func (x *Agent) String() string
- type AgentStatus
- func (AgentStatus) Descriptor() protoreflect.EnumDescriptor
- func (x AgentStatus) Enum() *AgentStatus
- func (AgentStatus) EnumDescriptor() ([]byte, []int)deprecated
- func (x AgentStatus) Number() protoreflect.EnumNumber
- func (x AgentStatus) String() string
- func (AgentStatus) Type() protoreflect.EnumType
- type Answer
- type AnswerAskRequest
- func (*AnswerAskRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AnswerAskRequest) GetAnsweredBy() string
- func (x *AnswerAskRequest) GetAnswers() []*Answer
- func (x *AnswerAskRequest) GetCaller() *CallerContext
- func (x *AnswerAskRequest) GetId() string
- func (x *AnswerAskRequest) GetMatch() string
- func (x *AnswerAskRequest) GetValues() []string
- func (*AnswerAskRequest) ProtoMessage()
- func (x *AnswerAskRequest) ProtoReflect() protoreflect.Message
- func (x *AnswerAskRequest) Reset()
- func (x *AnswerAskRequest) String() string
- type AnswerAskResponse
- func (*AnswerAskResponse) Descriptor() ([]byte, []int)deprecated
- func (x *AnswerAskResponse) GetAsk() *Ask
- func (x *AnswerAskResponse) GetDelivered() bool
- func (x *AnswerAskResponse) GetOutput() string
- func (*AnswerAskResponse) ProtoMessage()
- func (x *AnswerAskResponse) ProtoReflect() protoreflect.Message
- func (x *AnswerAskResponse) Reset()
- func (x *AnswerAskResponse) String() string
- type AnswerSource
- func (AnswerSource) Descriptor() protoreflect.EnumDescriptor
- func (x AnswerSource) Enum() *AnswerSource
- func (AnswerSource) EnumDescriptor() ([]byte, []int)deprecated
- func (x AnswerSource) Number() protoreflect.EnumNumber
- func (x AnswerSource) String() string
- func (AnswerSource) Type() protoreflect.EnumType
- type Ask
- func (*Ask) Descriptor() ([]byte, []int)deprecated
- func (x *Ask) GetAgent() string
- func (x *Ask) GetAnswer() string
- func (x *Ask) GetAnsweredAt() *timestamppb.Timestamp
- func (x *Ask) GetAnsweredBy() AnswerSource
- func (x *Ask) GetAskedAt() *timestamppb.Timestamp
- func (x *Ask) GetDeliveredAt() *timestamppb.Timestamp
- func (x *Ask) GetId() string
- func (x *Ask) GetLabels() map[string]string
- func (x *Ask) GetQuestions() []*Question
- func (x *Ask) GetText() string
- func (x *Ask) GetWorkspaceId() string
- func (*Ask) ProtoMessage()
- func (x *Ask) ProtoReflect() protoreflect.Message
- func (x *Ask) Reset()
- func (x *Ask) String() string
- type AskAnswered
- func (*AskAnswered) Descriptor() ([]byte, []int)deprecated
- func (x *AskAnswered) GetAnswer() string
- func (x *AskAnswered) GetAnsweredBy() AnswerSource
- func (x *AskAnswered) GetDelivered() bool
- func (x *AskAnswered) GetId() string
- func (x *AskAnswered) GetLabels() map[string]string
- func (*AskAnswered) ProtoMessage()
- func (x *AskAnswered) ProtoReflect() protoreflect.Message
- func (x *AskAnswered) Reset()
- func (x *AskAnswered) String() string
- type AskRaised
- type CallerContext
- func (*CallerContext) Descriptor() ([]byte, []int)deprecated
- func (x *CallerContext) GetEnv() []string
- func (x *CallerContext) GetTerminal() bool
- func (*CallerContext) ProtoMessage()
- func (x *CallerContext) ProtoReflect() protoreflect.Message
- func (x *CallerContext) Reset()
- func (x *CallerContext) String() string
- type CloseWorkspaceRequest
- func (*CloseWorkspaceRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CloseWorkspaceRequest) GetCaller() *CallerContext
- func (x *CloseWorkspaceRequest) GetFocusId() string
- func (x *CloseWorkspaceRequest) GetId() string
- func (*CloseWorkspaceRequest) ProtoMessage()
- func (x *CloseWorkspaceRequest) ProtoReflect() protoreflect.Message
- func (x *CloseWorkspaceRequest) Reset()
- func (x *CloseWorkspaceRequest) String() string
- type CloseWorkspaceResponse
- type GetAgentStatusRequest
- func (*GetAgentStatusRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetAgentStatusRequest) GetName() string
- func (*GetAgentStatusRequest) ProtoMessage()
- func (x *GetAgentStatusRequest) ProtoReflect() protoreflect.Message
- func (x *GetAgentStatusRequest) Reset()
- func (x *GetAgentStatusRequest) String() string
- type GetAgentStatusResponse
- func (*GetAgentStatusResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetAgentStatusResponse) GetAgent() *Agent
- func (*GetAgentStatusResponse) ProtoMessage()
- func (x *GetAgentStatusResponse) ProtoReflect() protoreflect.Message
- func (x *GetAgentStatusResponse) Reset()
- func (x *GetAgentStatusResponse) String() string
- type ListAgentsRequest
- func (*ListAgentsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListAgentsRequest) GetWorkspaceId() string
- func (*ListAgentsRequest) ProtoMessage()
- func (x *ListAgentsRequest) ProtoReflect() protoreflect.Message
- func (x *ListAgentsRequest) Reset()
- func (x *ListAgentsRequest) String() string
- type ListAgentsResponse
- func (*ListAgentsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListAgentsResponse) GetAgents() []*Agent
- func (*ListAgentsResponse) ProtoMessage()
- func (x *ListAgentsResponse) ProtoReflect() protoreflect.Message
- func (x *ListAgentsResponse) Reset()
- func (x *ListAgentsResponse) String() string
- type ListAsksRequest
- func (*ListAsksRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListAsksRequest) GetAnsweredSince() *timestamppb.Timestamp
- func (x *ListAsksRequest) GetCaller() *CallerContext
- func (*ListAsksRequest) ProtoMessage()
- func (x *ListAsksRequest) ProtoReflect() protoreflect.Message
- func (x *ListAsksRequest) Reset()
- func (x *ListAsksRequest) String() string
- type ListAsksResponse
- func (*ListAsksResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListAsksResponse) GetAnswered() []*Ask
- func (x *ListAsksResponse) GetOpen() []*Ask
- func (x *ListAsksResponse) GetView() []byte
- func (*ListAsksResponse) ProtoMessage()
- func (x *ListAsksResponse) ProtoReflect() protoreflect.Message
- func (x *ListAsksResponse) Reset()
- func (x *ListAsksResponse) String() string
- type ListWorkspacesRequest
- type ListWorkspacesResponse
- func (*ListWorkspacesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListWorkspacesResponse) GetWorkspaces() []*Workspace
- func (*ListWorkspacesResponse) ProtoMessage()
- func (x *ListWorkspacesResponse) ProtoReflect() protoreflect.Message
- func (x *ListWorkspacesResponse) Reset()
- func (x *ListWorkspacesResponse) String() string
- type Question
- func (*Question) Descriptor() ([]byte, []int)deprecated
- func (x *Question) GetN() int32
- func (x *Question) GetOptions() []string
- func (x *Question) GetText() string
- func (*Question) ProtoMessage()
- func (x *Question) ProtoReflect() protoreflect.Message
- func (x *Question) Reset()
- func (x *Question) String() string
- type SendTextRequest
- func (*SendTextRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SendTextRequest) GetName() string
- func (x *SendTextRequest) GetSubmit() bool
- func (x *SendTextRequest) GetText() string
- func (*SendTextRequest) ProtoMessage()
- func (x *SendTextRequest) ProtoReflect() protoreflect.Message
- func (x *SendTextRequest) Reset()
- func (x *SendTextRequest) String() string
- type SendTextResponse
- type Workspace
- func (*Workspace) Descriptor() ([]byte, []int)deprecated
- func (x *Workspace) GetAgentStatus() AgentStatus
- func (x *Workspace) GetFocused() bool
- func (x *Workspace) GetId() string
- func (x *Workspace) GetLabel() string
- func (x *Workspace) GetPath() string
- func (*Workspace) ProtoMessage()
- func (x *Workspace) ProtoReflect() protoreflect.Message
- func (x *Workspace) Reset()
- func (x *Workspace) String() string
Constants ¶
This section is empty.
Variables ¶
var ( AgentStatus_name = map[int32]string{ 0: "AGENT_STATUS_UNSPECIFIED", 1: "AGENT_STATUS_IDLE", 2: "AGENT_STATUS_WORKING", 3: "AGENT_STATUS_DONE", 4: "AGENT_STATUS_UNKNOWN", } AgentStatus_value = map[string]int32{ "AGENT_STATUS_UNSPECIFIED": 0, "AGENT_STATUS_IDLE": 1, "AGENT_STATUS_WORKING": 2, "AGENT_STATUS_DONE": 3, "AGENT_STATUS_UNKNOWN": 4, } )
Enum value maps for AgentStatus.
var ( AnswerSource_name = map[int32]string{ 0: "ANSWER_SOURCE_UNSPECIFIED", 1: "ANSWER_SOURCE_PANE", 2: "ANSWER_SOURCE_ASKS", 3: "ANSWER_SOURCE_SKILL", 4: "ANSWER_SOURCE_DRIVE", 5: "ANSWER_SOURCE_CANCELLED", 6: "ANSWER_SOURCE_API", } AnswerSource_value = map[string]int32{ "ANSWER_SOURCE_UNSPECIFIED": 0, "ANSWER_SOURCE_PANE": 1, "ANSWER_SOURCE_ASKS": 2, "ANSWER_SOURCE_SKILL": 3, "ANSWER_SOURCE_DRIVE": 4, "ANSWER_SOURCE_CANCELLED": 5, "ANSWER_SOURCE_API": 6, } )
Enum value maps for AnswerSource.
var File_agents_v1_agents_proto protoreflect.FileDescriptor
var File_agents_v1_asks_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Agent ¶
type Agent struct {
// name addresses the agent in every other call.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
WorkspaceId string `protobuf:"bytes,2,opt,name=workspace_id,json=workspaceId,proto3" json:"workspace_id,omitempty"`
PaneId string `protobuf:"bytes,3,opt,name=pane_id,json=paneId,proto3" json:"pane_id,omitempty"`
// kind is the agent program, such as claude.
Kind string `protobuf:"bytes,4,opt,name=kind,proto3" json:"kind,omitempty"`
Status AgentStatus `protobuf:"varint,5,opt,name=status,proto3,enum=agents.v1.AgentStatus" json:"status,omitempty"`
// contains filtered or unexported fields
}
An Agent is one agent running in a workspace's pane.
func (*Agent) Descriptor
deprecated
func (*Agent) GetStatus ¶
func (x *Agent) GetStatus() AgentStatus
func (*Agent) GetWorkspaceId ¶
func (*Agent) ProtoMessage ¶
func (*Agent) ProtoMessage()
func (*Agent) ProtoReflect ¶
func (x *Agent) ProtoReflect() protoreflect.Message
type AgentStatus ¶
type AgentStatus int32
AgentStatus is what the multiplexer reports an agent doing.
const ( AgentStatus_AGENT_STATUS_UNSPECIFIED AgentStatus = 0 AgentStatus_AGENT_STATUS_IDLE AgentStatus = 1 AgentStatus_AGENT_STATUS_WORKING AgentStatus = 2 AgentStatus_AGENT_STATUS_DONE AgentStatus = 3 AgentStatus_AGENT_STATUS_UNKNOWN AgentStatus = 4 )
func (AgentStatus) Descriptor ¶
func (AgentStatus) Descriptor() protoreflect.EnumDescriptor
func (AgentStatus) Enum ¶
func (x AgentStatus) Enum() *AgentStatus
func (AgentStatus) EnumDescriptor
deprecated
func (AgentStatus) EnumDescriptor() ([]byte, []int)
Deprecated: Use AgentStatus.Descriptor instead.
func (AgentStatus) Number ¶
func (x AgentStatus) Number() protoreflect.EnumNumber
func (AgentStatus) String ¶
func (x AgentStatus) String() string
func (AgentStatus) Type ¶
func (AgentStatus) Type() protoreflect.EnumType
type Answer ¶
type Answer struct {
N int32 `protobuf:"varint,1,opt,name=n,proto3" json:"n,omitempty"`
Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
// contains filtered or unexported fields
}
An Answer is the value given to one question, by its number.
func (*Answer) Descriptor
deprecated
func (*Answer) ProtoMessage ¶
func (*Answer) ProtoMessage()
func (*Answer) ProtoReflect ¶
func (x *Answer) ProtoReflect() protoreflect.Message
type AnswerAskRequest ¶
type AnswerAskRequest struct {
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
// answers names questions by number; a question not named takes its default.
Answers []*Answer `protobuf:"bytes,2,rep,name=answers,proto3" json:"answers,omitempty"`
// match finds the open ask by its task, or project:task, as the asks
// command takes it, in place of id.
Match string `protobuf:"bytes,3,opt,name=match,proto3" json:"match,omitempty"`
// values are the answers as the asks command takes them, N=VALUE each,
// in place of answers.
Values []string `protobuf:"bytes,4,rep,name=values,proto3" json:"values,omitempty"`
// answered_by is the way in to record, asks or skill; empty is the API.
AnsweredBy string `protobuf:"bytes,5,opt,name=answered_by,json=answeredBy,proto3" json:"answered_by,omitempty"`
Caller *CallerContext `protobuf:"bytes,6,opt,name=caller,proto3" json:"caller,omitempty"`
// contains filtered or unexported fields
}
func (*AnswerAskRequest) Descriptor
deprecated
func (*AnswerAskRequest) Descriptor() ([]byte, []int)
Deprecated: Use AnswerAskRequest.ProtoReflect.Descriptor instead.
func (*AnswerAskRequest) GetAnsweredBy ¶
func (x *AnswerAskRequest) GetAnsweredBy() string
func (*AnswerAskRequest) GetAnswers ¶
func (x *AnswerAskRequest) GetAnswers() []*Answer
func (*AnswerAskRequest) GetCaller ¶
func (x *AnswerAskRequest) GetCaller() *CallerContext
func (*AnswerAskRequest) GetId ¶
func (x *AnswerAskRequest) GetId() string
func (*AnswerAskRequest) GetMatch ¶
func (x *AnswerAskRequest) GetMatch() string
func (*AnswerAskRequest) GetValues ¶
func (x *AnswerAskRequest) GetValues() []string
func (*AnswerAskRequest) ProtoMessage ¶
func (*AnswerAskRequest) ProtoMessage()
func (*AnswerAskRequest) ProtoReflect ¶
func (x *AnswerAskRequest) ProtoReflect() protoreflect.Message
func (*AnswerAskRequest) Reset ¶
func (x *AnswerAskRequest) Reset()
func (*AnswerAskRequest) String ¶
func (x *AnswerAskRequest) String() string
type AnswerAskResponse ¶
type AnswerAskResponse struct {
Ask *Ask `protobuf:"bytes,1,opt,name=ask,proto3" json:"ask,omitempty"`
// delivered is true when the answer reached the agent at once.
Delivered bool `protobuf:"varint,2,opt,name=delivered,proto3" json:"delivered,omitempty"`
// output is what the asks command prints for the answer.
Output string `protobuf:"bytes,3,opt,name=output,proto3" json:"output,omitempty"`
// contains filtered or unexported fields
}
func (*AnswerAskResponse) Descriptor
deprecated
func (*AnswerAskResponse) Descriptor() ([]byte, []int)
Deprecated: Use AnswerAskResponse.ProtoReflect.Descriptor instead.
func (*AnswerAskResponse) GetAsk ¶
func (x *AnswerAskResponse) GetAsk() *Ask
func (*AnswerAskResponse) GetDelivered ¶
func (x *AnswerAskResponse) GetDelivered() bool
func (*AnswerAskResponse) GetOutput ¶
func (x *AnswerAskResponse) GetOutput() string
func (*AnswerAskResponse) ProtoMessage ¶
func (*AnswerAskResponse) ProtoMessage()
func (*AnswerAskResponse) ProtoReflect ¶
func (x *AnswerAskResponse) ProtoReflect() protoreflect.Message
func (*AnswerAskResponse) Reset ¶
func (x *AnswerAskResponse) Reset()
func (*AnswerAskResponse) String ¶
func (x *AnswerAskResponse) String() string
type AnswerSource ¶
type AnswerSource int32
AnswerSource is the way in an ask was answered by.
const ( AnswerSource_ANSWER_SOURCE_UNSPECIFIED AnswerSource = 0 // typed in the agent's own pane AnswerSource_ANSWER_SOURCE_PANE AnswerSource = 1 // the asks command, or its walk AnswerSource_ANSWER_SOURCE_ASKS AnswerSource = 2 // the asks skill in an agent session AnswerSource_ANSWER_SOURCE_SKILL AnswerSource = 3 // a drive's own answer flag AnswerSource_ANSWER_SOURCE_DRIVE AnswerSource = 4 // the asking drive was cancelled AnswerSource_ANSWER_SOURCE_CANCELLED AnswerSource = 5 // a client of this API AnswerSource_ANSWER_SOURCE_API AnswerSource = 6 )
func (AnswerSource) Descriptor ¶
func (AnswerSource) Descriptor() protoreflect.EnumDescriptor
func (AnswerSource) Enum ¶
func (x AnswerSource) Enum() *AnswerSource
func (AnswerSource) EnumDescriptor
deprecated
func (AnswerSource) EnumDescriptor() ([]byte, []int)
Deprecated: Use AnswerSource.Descriptor instead.
func (AnswerSource) Number ¶
func (x AnswerSource) Number() protoreflect.EnumNumber
func (AnswerSource) String ¶
func (x AnswerSource) String() string
func (AnswerSource) Type ¶
func (AnswerSource) Type() protoreflect.EnumType
type Ask ¶
type Ask struct {
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
// agent is the asking agent's name, as AgentService addresses it.
Agent string `protobuf:"bytes,2,opt,name=agent,proto3" json:"agent,omitempty"`
WorkspaceId string `protobuf:"bytes,3,opt,name=workspace_id,json=workspaceId,proto3" json:"workspace_id,omitempty"`
// text is the ask as the agent wrote it, one line.
Text string `protobuf:"bytes,4,opt,name=text,proto3" json:"text,omitempty"`
Questions []*Question `protobuf:"bytes,5,rep,name=questions,proto3" json:"questions,omitempty"`
AskedAt *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=asked_at,json=askedAt,proto3" json:"asked_at,omitempty"`
Answer string `protobuf:"bytes,7,opt,name=answer,proto3" json:"answer,omitempty"`
AnsweredBy AnswerSource `protobuf:"varint,8,opt,name=answered_by,json=answeredBy,proto3,enum=agents.v1.AnswerSource" json:"answered_by,omitempty"`
AnsweredAt *timestamppb.Timestamp `protobuf:"bytes,9,opt,name=answered_at,json=answeredAt,proto3" json:"answered_at,omitempty"`
// delivered_at is when the answer reached the agent.
DeliveredAt *timestamppb.Timestamp `protobuf:"bytes,10,opt,name=delivered_at,json=deliveredAt,proto3" json:"delivered_at,omitempty"`
// labels is the owner's own context, such as the task, project and drive
// f10 records, so this package never grows owner-specific fields.
Labels map[string]string `` /* 140-byte string literal not displayed */
// contains filtered or unexported fields
}
An Ask is one set of questions an agent stopped on.
func (*Ask) Descriptor
deprecated
func (*Ask) GetAnsweredAt ¶
func (x *Ask) GetAnsweredAt() *timestamppb.Timestamp
func (*Ask) GetAnsweredBy ¶
func (x *Ask) GetAnsweredBy() AnswerSource
func (*Ask) GetAskedAt ¶
func (x *Ask) GetAskedAt() *timestamppb.Timestamp
func (*Ask) GetDeliveredAt ¶
func (x *Ask) GetDeliveredAt() *timestamppb.Timestamp
func (*Ask) GetQuestions ¶
func (*Ask) GetWorkspaceId ¶
func (*Ask) ProtoMessage ¶
func (*Ask) ProtoMessage()
func (*Ask) ProtoReflect ¶
func (x *Ask) ProtoReflect() protoreflect.Message
type AskAnswered ¶
type AskAnswered struct {
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
Answer string `protobuf:"bytes,2,opt,name=answer,proto3" json:"answer,omitempty"`
AnsweredBy AnswerSource `protobuf:"varint,3,opt,name=answered_by,json=answeredBy,proto3,enum=agents.v1.AnswerSource" json:"answered_by,omitempty"`
Delivered bool `protobuf:"varint,4,opt,name=delivered,proto3" json:"delivered,omitempty"`
// labels are the answered ask's, as AskRaised carries them.
Labels map[string]string `` /* 139-byte string literal not displayed */
// contains filtered or unexported fields
}
AskAnswered is the event of an ask closed by its first answer.
func (*AskAnswered) Descriptor
deprecated
func (*AskAnswered) Descriptor() ([]byte, []int)
Deprecated: Use AskAnswered.ProtoReflect.Descriptor instead.
func (*AskAnswered) GetAnswer ¶
func (x *AskAnswered) GetAnswer() string
func (*AskAnswered) GetAnsweredBy ¶
func (x *AskAnswered) GetAnsweredBy() AnswerSource
func (*AskAnswered) GetDelivered ¶
func (x *AskAnswered) GetDelivered() bool
func (*AskAnswered) GetId ¶
func (x *AskAnswered) GetId() string
func (*AskAnswered) GetLabels ¶
func (x *AskAnswered) GetLabels() map[string]string
func (*AskAnswered) ProtoMessage ¶
func (*AskAnswered) ProtoMessage()
func (*AskAnswered) ProtoReflect ¶
func (x *AskAnswered) ProtoReflect() protoreflect.Message
func (*AskAnswered) Reset ¶
func (x *AskAnswered) Reset()
func (*AskAnswered) String ¶
func (x *AskAnswered) String() string
type AskRaised ¶
type AskRaised struct {
Ask *Ask `protobuf:"bytes,1,opt,name=ask,proto3" json:"ask,omitempty"`
// contains filtered or unexported fields
}
AskRaised is the event of an agent stopping on an ask.
func (*AskRaised) Descriptor
deprecated
func (*AskRaised) ProtoMessage ¶
func (*AskRaised) ProtoMessage()
func (*AskRaised) ProtoReflect ¶
func (x *AskRaised) ProtoReflect() protoreflect.Message
type CallerContext ¶
type CallerContext struct {
// env is the command's environment, which the agents it reaches run under.
Env []string `protobuf:"bytes,1,rep,name=env,proto3" json:"env,omitempty"`
// terminal is true when the command's output is a terminal.
Terminal bool `protobuf:"varint,2,opt,name=terminal,proto3" json:"terminal,omitempty"`
// contains filtered or unexported fields
}
A CallerContext is where a local command runs. The daemon honors it only on the unix socket, and MCP tools leave it out.
func (*CallerContext) Descriptor
deprecated
func (*CallerContext) Descriptor() ([]byte, []int)
Deprecated: Use CallerContext.ProtoReflect.Descriptor instead.
func (*CallerContext) GetEnv ¶
func (x *CallerContext) GetEnv() []string
func (*CallerContext) GetTerminal ¶
func (x *CallerContext) GetTerminal() bool
func (*CallerContext) ProtoMessage ¶
func (*CallerContext) ProtoMessage()
func (*CallerContext) ProtoReflect ¶
func (x *CallerContext) ProtoReflect() protoreflect.Message
func (*CallerContext) Reset ¶
func (x *CallerContext) Reset()
func (*CallerContext) String ¶
func (x *CallerContext) String() string
type CloseWorkspaceRequest ¶
type CloseWorkspaceRequest struct {
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
// focus_id is the workspace to focus before the close, empty for none.
FocusId string `protobuf:"bytes,2,opt,name=focus_id,json=focusId,proto3" json:"focus_id,omitempty"`
Caller *CallerContext `protobuf:"bytes,3,opt,name=caller,proto3" json:"caller,omitempty"`
// contains filtered or unexported fields
}
func (*CloseWorkspaceRequest) Descriptor
deprecated
func (*CloseWorkspaceRequest) Descriptor() ([]byte, []int)
Deprecated: Use CloseWorkspaceRequest.ProtoReflect.Descriptor instead.
func (*CloseWorkspaceRequest) GetCaller ¶
func (x *CloseWorkspaceRequest) GetCaller() *CallerContext
func (*CloseWorkspaceRequest) GetFocusId ¶
func (x *CloseWorkspaceRequest) GetFocusId() string
func (*CloseWorkspaceRequest) GetId ¶
func (x *CloseWorkspaceRequest) GetId() string
func (*CloseWorkspaceRequest) ProtoMessage ¶
func (*CloseWorkspaceRequest) ProtoMessage()
func (*CloseWorkspaceRequest) ProtoReflect ¶
func (x *CloseWorkspaceRequest) ProtoReflect() protoreflect.Message
func (*CloseWorkspaceRequest) Reset ¶
func (x *CloseWorkspaceRequest) Reset()
func (*CloseWorkspaceRequest) String ¶
func (x *CloseWorkspaceRequest) String() string
type CloseWorkspaceResponse ¶
type CloseWorkspaceResponse struct {
// contains filtered or unexported fields
}
func (*CloseWorkspaceResponse) Descriptor
deprecated
func (*CloseWorkspaceResponse) Descriptor() ([]byte, []int)
Deprecated: Use CloseWorkspaceResponse.ProtoReflect.Descriptor instead.
func (*CloseWorkspaceResponse) ProtoMessage ¶
func (*CloseWorkspaceResponse) ProtoMessage()
func (*CloseWorkspaceResponse) ProtoReflect ¶
func (x *CloseWorkspaceResponse) ProtoReflect() protoreflect.Message
func (*CloseWorkspaceResponse) Reset ¶
func (x *CloseWorkspaceResponse) Reset()
func (*CloseWorkspaceResponse) String ¶
func (x *CloseWorkspaceResponse) String() string
type GetAgentStatusRequest ¶
type GetAgentStatusRequest struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}
func (*GetAgentStatusRequest) Descriptor
deprecated
func (*GetAgentStatusRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetAgentStatusRequest.ProtoReflect.Descriptor instead.
func (*GetAgentStatusRequest) GetName ¶
func (x *GetAgentStatusRequest) GetName() string
func (*GetAgentStatusRequest) ProtoMessage ¶
func (*GetAgentStatusRequest) ProtoMessage()
func (*GetAgentStatusRequest) ProtoReflect ¶
func (x *GetAgentStatusRequest) ProtoReflect() protoreflect.Message
func (*GetAgentStatusRequest) Reset ¶
func (x *GetAgentStatusRequest) Reset()
func (*GetAgentStatusRequest) String ¶
func (x *GetAgentStatusRequest) String() string
type GetAgentStatusResponse ¶
type GetAgentStatusResponse struct {
Agent *Agent `protobuf:"bytes,1,opt,name=agent,proto3" json:"agent,omitempty"`
// contains filtered or unexported fields
}
func (*GetAgentStatusResponse) Descriptor
deprecated
func (*GetAgentStatusResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetAgentStatusResponse.ProtoReflect.Descriptor instead.
func (*GetAgentStatusResponse) GetAgent ¶
func (x *GetAgentStatusResponse) GetAgent() *Agent
func (*GetAgentStatusResponse) ProtoMessage ¶
func (*GetAgentStatusResponse) ProtoMessage()
func (*GetAgentStatusResponse) ProtoReflect ¶
func (x *GetAgentStatusResponse) ProtoReflect() protoreflect.Message
func (*GetAgentStatusResponse) Reset ¶
func (x *GetAgentStatusResponse) Reset()
func (*GetAgentStatusResponse) String ¶
func (x *GetAgentStatusResponse) String() string
type ListAgentsRequest ¶
type ListAgentsRequest struct {
// workspace_id narrows the list to one workspace; empty lists every one.
WorkspaceId string `protobuf:"bytes,1,opt,name=workspace_id,json=workspaceId,proto3" json:"workspace_id,omitempty"`
// contains filtered or unexported fields
}
func (*ListAgentsRequest) Descriptor
deprecated
func (*ListAgentsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListAgentsRequest.ProtoReflect.Descriptor instead.
func (*ListAgentsRequest) GetWorkspaceId ¶
func (x *ListAgentsRequest) GetWorkspaceId() string
func (*ListAgentsRequest) ProtoMessage ¶
func (*ListAgentsRequest) ProtoMessage()
func (*ListAgentsRequest) ProtoReflect ¶
func (x *ListAgentsRequest) ProtoReflect() protoreflect.Message
func (*ListAgentsRequest) Reset ¶
func (x *ListAgentsRequest) Reset()
func (*ListAgentsRequest) String ¶
func (x *ListAgentsRequest) String() string
type ListAgentsResponse ¶
type ListAgentsResponse struct {
Agents []*Agent `protobuf:"bytes,1,rep,name=agents,proto3" json:"agents,omitempty"`
// contains filtered or unexported fields
}
func (*ListAgentsResponse) Descriptor
deprecated
func (*ListAgentsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListAgentsResponse.ProtoReflect.Descriptor instead.
func (*ListAgentsResponse) GetAgents ¶
func (x *ListAgentsResponse) GetAgents() []*Agent
func (*ListAgentsResponse) ProtoMessage ¶
func (*ListAgentsResponse) ProtoMessage()
func (*ListAgentsResponse) ProtoReflect ¶
func (x *ListAgentsResponse) ProtoReflect() protoreflect.Message
func (*ListAgentsResponse) Reset ¶
func (x *ListAgentsResponse) Reset()
func (*ListAgentsResponse) String ¶
func (x *ListAgentsResponse) String() string
type ListAsksRequest ¶
type ListAsksRequest struct {
// answered_since adds the asks answered after it; unset lists open asks only.
AnsweredSince *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=answered_since,json=answeredSince,proto3" json:"answered_since,omitempty"`
// caller is where a local asks command runs: with it, view links each
// ask's task when the caller's output is a terminal.
Caller *CallerContext `protobuf:"bytes,2,opt,name=caller,proto3" json:"caller,omitempty"`
// contains filtered or unexported fields
}
func (*ListAsksRequest) Descriptor
deprecated
func (*ListAsksRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListAsksRequest.ProtoReflect.Descriptor instead.
func (*ListAsksRequest) GetAnsweredSince ¶
func (x *ListAsksRequest) GetAnsweredSince() *timestamppb.Timestamp
func (*ListAsksRequest) GetCaller ¶
func (x *ListAsksRequest) GetCaller() *CallerContext
func (*ListAsksRequest) ProtoMessage ¶
func (*ListAsksRequest) ProtoMessage()
func (*ListAsksRequest) ProtoReflect ¶
func (x *ListAsksRequest) ProtoReflect() protoreflect.Message
func (*ListAsksRequest) Reset ¶
func (x *ListAsksRequest) Reset()
func (*ListAsksRequest) String ¶
func (x *ListAsksRequest) String() string
type ListAsksResponse ¶
type ListAsksResponse struct {
Open []*Ask `protobuf:"bytes,1,rep,name=open,proto3" json:"open,omitempty"`
Answered []*Ask `protobuf:"bytes,2,rep,name=answered,proto3" json:"answered,omitempty"`
// view is the inbox as the asks command renders it, as JSON, for a
// client of the same release. Other clients read open and answered.
View []byte `protobuf:"bytes,3,opt,name=view,proto3" json:"view,omitempty"`
// contains filtered or unexported fields
}
func (*ListAsksResponse) Descriptor
deprecated
func (*ListAsksResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListAsksResponse.ProtoReflect.Descriptor instead.
func (*ListAsksResponse) GetAnswered ¶
func (x *ListAsksResponse) GetAnswered() []*Ask
func (*ListAsksResponse) GetOpen ¶
func (x *ListAsksResponse) GetOpen() []*Ask
func (*ListAsksResponse) GetView ¶
func (x *ListAsksResponse) GetView() []byte
func (*ListAsksResponse) ProtoMessage ¶
func (*ListAsksResponse) ProtoMessage()
func (*ListAsksResponse) ProtoReflect ¶
func (x *ListAsksResponse) ProtoReflect() protoreflect.Message
func (*ListAsksResponse) Reset ¶
func (x *ListAsksResponse) Reset()
func (*ListAsksResponse) String ¶
func (x *ListAsksResponse) String() string
type ListWorkspacesRequest ¶
type ListWorkspacesRequest struct {
// contains filtered or unexported fields
}
func (*ListWorkspacesRequest) Descriptor
deprecated
func (*ListWorkspacesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListWorkspacesRequest.ProtoReflect.Descriptor instead.
func (*ListWorkspacesRequest) ProtoMessage ¶
func (*ListWorkspacesRequest) ProtoMessage()
func (*ListWorkspacesRequest) ProtoReflect ¶
func (x *ListWorkspacesRequest) ProtoReflect() protoreflect.Message
func (*ListWorkspacesRequest) Reset ¶
func (x *ListWorkspacesRequest) Reset()
func (*ListWorkspacesRequest) String ¶
func (x *ListWorkspacesRequest) String() string
type ListWorkspacesResponse ¶
type ListWorkspacesResponse struct {
Workspaces []*Workspace `protobuf:"bytes,1,rep,name=workspaces,proto3" json:"workspaces,omitempty"`
// contains filtered or unexported fields
}
func (*ListWorkspacesResponse) Descriptor
deprecated
func (*ListWorkspacesResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListWorkspacesResponse.ProtoReflect.Descriptor instead.
func (*ListWorkspacesResponse) GetWorkspaces ¶
func (x *ListWorkspacesResponse) GetWorkspaces() []*Workspace
func (*ListWorkspacesResponse) ProtoMessage ¶
func (*ListWorkspacesResponse) ProtoMessage()
func (*ListWorkspacesResponse) ProtoReflect ¶
func (x *ListWorkspacesResponse) ProtoReflect() protoreflect.Message
func (*ListWorkspacesResponse) Reset ¶
func (x *ListWorkspacesResponse) Reset()
func (*ListWorkspacesResponse) String ¶
func (x *ListWorkspacesResponse) String() string
type Question ¶
type Question struct {
N int32 `protobuf:"varint,1,opt,name=n,proto3" json:"n,omitempty"`
Text string `protobuf:"bytes,2,opt,name=text,proto3" json:"text,omitempty"`
// options lists the choices, the default first; empty for free text.
Options []string `protobuf:"bytes,3,rep,name=options,proto3" json:"options,omitempty"`
// contains filtered or unexported fields
}
A Question is one numbered question of an ask.
func (*Question) Descriptor
deprecated
func (*Question) GetOptions ¶
func (*Question) ProtoMessage ¶
func (*Question) ProtoMessage()
func (*Question) ProtoReflect ¶
func (x *Question) ProtoReflect() protoreflect.Message
type SendTextRequest ¶
type SendTextRequest struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
Text string `protobuf:"bytes,2,opt,name=text,proto3" json:"text,omitempty"`
// submit sends Enter after the text, so the agent takes it as a prompt.
Submit bool `protobuf:"varint,3,opt,name=submit,proto3" json:"submit,omitempty"`
// contains filtered or unexported fields
}
func (*SendTextRequest) Descriptor
deprecated
func (*SendTextRequest) Descriptor() ([]byte, []int)
Deprecated: Use SendTextRequest.ProtoReflect.Descriptor instead.
func (*SendTextRequest) GetName ¶
func (x *SendTextRequest) GetName() string
func (*SendTextRequest) GetSubmit ¶
func (x *SendTextRequest) GetSubmit() bool
func (*SendTextRequest) GetText ¶
func (x *SendTextRequest) GetText() string
func (*SendTextRequest) ProtoMessage ¶
func (*SendTextRequest) ProtoMessage()
func (*SendTextRequest) ProtoReflect ¶
func (x *SendTextRequest) ProtoReflect() protoreflect.Message
func (*SendTextRequest) Reset ¶
func (x *SendTextRequest) Reset()
func (*SendTextRequest) String ¶
func (x *SendTextRequest) String() string
type SendTextResponse ¶
type SendTextResponse struct {
// contains filtered or unexported fields
}
func (*SendTextResponse) Descriptor
deprecated
func (*SendTextResponse) Descriptor() ([]byte, []int)
Deprecated: Use SendTextResponse.ProtoReflect.Descriptor instead.
func (*SendTextResponse) ProtoMessage ¶
func (*SendTextResponse) ProtoMessage()
func (*SendTextResponse) ProtoReflect ¶
func (x *SendTextResponse) ProtoReflect() protoreflect.Message
func (*SendTextResponse) Reset ¶
func (x *SendTextResponse) Reset()
func (*SendTextResponse) String ¶
func (x *SendTextResponse) String() string
type Workspace ¶
type Workspace struct {
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
Label string `protobuf:"bytes,2,opt,name=label,proto3" json:"label,omitempty"`
// path is the checkout the workspace shows, empty when it has none.
Path string `protobuf:"bytes,3,opt,name=path,proto3" json:"path,omitempty"`
Focused bool `protobuf:"varint,4,opt,name=focused,proto3" json:"focused,omitempty"`
AgentStatus AgentStatus `protobuf:"varint,5,opt,name=agent_status,json=agentStatus,proto3,enum=agents.v1.AgentStatus" json:"agent_status,omitempty"`
// contains filtered or unexported fields
}
A Workspace is one workspace the multiplexer shows.
func (*Workspace) Descriptor
deprecated
func (*Workspace) GetAgentStatus ¶
func (x *Workspace) GetAgentStatus() AgentStatus
func (*Workspace) GetFocused ¶
func (*Workspace) ProtoMessage ¶
func (*Workspace) ProtoMessage()
func (*Workspace) ProtoReflect ¶
func (x *Workspace) ProtoReflect() protoreflect.Message
Directories
¶
| Path | Synopsis |
|---|---|
|
agents.v1 is the generic agent core: workspaces, the agents in them, text sent to an agent, and the questions agents wait on.
|
agents.v1 is the generic agent core: workspaces, the agents in them, text sent to an agent, and the questions agents wait on. |