Some checks failed
CI / test (push) Failing after 3s
CI / frontend (push) Failing after 4s
CI / golangci-lint (push) Failing after 6s
CI / windsurf-platform (macos-latest) (push) Has been cancelled
CI / windsurf-platform (windows-latest) (push) Has been cancelled
Security Scan / backend-security (push) Failing after 3s
Security Scan / frontend-security (push) Failing after 3s
- 删除自定义文件:gateway_attribution, gateway_claude_runtime_headers, identity_service_antigravity, language_server_service, lsrpc_handler, antigravity_http handler/routes, 所有 antigravity 专项测试 - 将 antigravity pkg/service 文件回退至上游版本(移除 IsEnterprise、 claude_code_tool_map、dynamic fingerprint 等定制逻辑) - 修复 gateway_service.go:移除 NormalizeSystemPromptEnv、 generateSessionIDForAccount、applyClaudeRuntimeOptionalHeaders 调用, 使用上游的 session-id 同步逻辑 - 恢复 language_server_pb gen 文件(Windsurf local_ls.go 依赖) - 保留全部 Windsurf 集成代码不变
1979 lines
68 KiB
Go
1979 lines
68 KiB
Go
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||
// versions:
|
||
// protoc-gen-go v1.36.11
|
||
// protoc v6.33.4
|
||
// source: language_server_simplified.proto
|
||
|
||
package language_server_pb
|
||
|
||
import (
|
||
reflect "reflect"
|
||
sync "sync"
|
||
unsafe "unsafe"
|
||
|
||
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
||
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
||
_ "google.golang.org/protobuf/types/known/emptypb"
|
||
timestamppb "google.golang.org/protobuf/types/known/timestamppb"
|
||
)
|
||
|
||
const (
|
||
// Verify that this generated code is sufficiently up-to-date.
|
||
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
|
||
// Verify that runtime/protoimpl is sufficiently up-to-date.
|
||
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
|
||
)
|
||
|
||
type CascadeReactiveUpdate_UpdateType int32
|
||
|
||
const (
|
||
CascadeReactiveUpdate_UNKNOWN CascadeReactiveUpdate_UpdateType = 0
|
||
CascadeReactiveUpdate_STATE_CHANGE CascadeReactiveUpdate_UpdateType = 1 // Agent 状态变化
|
||
CascadeReactiveUpdate_MESSAGE_DELTA CascadeReactiveUpdate_UpdateType = 2 // 消息增量(流式文本)
|
||
CascadeReactiveUpdate_TOOL_CALL CascadeReactiveUpdate_UpdateType = 3 // 工具调用
|
||
CascadeReactiveUpdate_CODE_EDIT CascadeReactiveUpdate_UpdateType = 4 // 代码编辑提案
|
||
CascadeReactiveUpdate_COMPLETION CascadeReactiveUpdate_UpdateType = 5 // Agent 完成
|
||
)
|
||
|
||
// Enum value maps for CascadeReactiveUpdate_UpdateType.
|
||
var (
|
||
CascadeReactiveUpdate_UpdateType_name = map[int32]string{
|
||
0: "UNKNOWN",
|
||
1: "STATE_CHANGE",
|
||
2: "MESSAGE_DELTA",
|
||
3: "TOOL_CALL",
|
||
4: "CODE_EDIT",
|
||
5: "COMPLETION",
|
||
}
|
||
CascadeReactiveUpdate_UpdateType_value = map[string]int32{
|
||
"UNKNOWN": 0,
|
||
"STATE_CHANGE": 1,
|
||
"MESSAGE_DELTA": 2,
|
||
"TOOL_CALL": 3,
|
||
"CODE_EDIT": 4,
|
||
"COMPLETION": 5,
|
||
}
|
||
)
|
||
|
||
func (x CascadeReactiveUpdate_UpdateType) Enum() *CascadeReactiveUpdate_UpdateType {
|
||
p := new(CascadeReactiveUpdate_UpdateType)
|
||
*p = x
|
||
return p
|
||
}
|
||
|
||
func (x CascadeReactiveUpdate_UpdateType) String() string {
|
||
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
|
||
}
|
||
|
||
func (CascadeReactiveUpdate_UpdateType) Descriptor() protoreflect.EnumDescriptor {
|
||
return file_language_server_simplified_proto_enumTypes[0].Descriptor()
|
||
}
|
||
|
||
func (CascadeReactiveUpdate_UpdateType) Type() protoreflect.EnumType {
|
||
return &file_language_server_simplified_proto_enumTypes[0]
|
||
}
|
||
|
||
func (x CascadeReactiveUpdate_UpdateType) Number() protoreflect.EnumNumber {
|
||
return protoreflect.EnumNumber(x)
|
||
}
|
||
|
||
// Deprecated: Use CascadeReactiveUpdate_UpdateType.Descriptor instead.
|
||
func (CascadeReactiveUpdate_UpdateType) EnumDescriptor() ([]byte, []int) {
|
||
return file_language_server_simplified_proto_rawDescGZIP(), []int{3, 0}
|
||
}
|
||
|
||
type FileInfo_Type int32
|
||
|
||
const (
|
||
FileInfo_UNKNOWN FileInfo_Type = 0
|
||
FileInfo_FILE FileInfo_Type = 1
|
||
FileInfo_DIRECTORY FileInfo_Type = 2
|
||
FileInfo_SYMLINK FileInfo_Type = 3
|
||
)
|
||
|
||
// Enum value maps for FileInfo_Type.
|
||
var (
|
||
FileInfo_Type_name = map[int32]string{
|
||
0: "UNKNOWN",
|
||
1: "FILE",
|
||
2: "DIRECTORY",
|
||
3: "SYMLINK",
|
||
}
|
||
FileInfo_Type_value = map[string]int32{
|
||
"UNKNOWN": 0,
|
||
"FILE": 1,
|
||
"DIRECTORY": 2,
|
||
"SYMLINK": 3,
|
||
}
|
||
)
|
||
|
||
func (x FileInfo_Type) Enum() *FileInfo_Type {
|
||
p := new(FileInfo_Type)
|
||
*p = x
|
||
return p
|
||
}
|
||
|
||
func (x FileInfo_Type) String() string {
|
||
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
|
||
}
|
||
|
||
func (FileInfo_Type) Descriptor() protoreflect.EnumDescriptor {
|
||
return file_language_server_simplified_proto_enumTypes[1].Descriptor()
|
||
}
|
||
|
||
func (FileInfo_Type) Type() protoreflect.EnumType {
|
||
return &file_language_server_simplified_proto_enumTypes[1]
|
||
}
|
||
|
||
func (x FileInfo_Type) Number() protoreflect.EnumNumber {
|
||
return protoreflect.EnumNumber(x)
|
||
}
|
||
|
||
// Deprecated: Use FileInfo_Type.Descriptor instead.
|
||
func (FileInfo_Type) EnumDescriptor() ([]byte, []int) {
|
||
return file_language_server_simplified_proto_rawDescGZIP(), []int{13, 0}
|
||
}
|
||
|
||
type StartCascadeRequest struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
Model string `protobuf:"bytes,1,opt,name=model,proto3" json:"model,omitempty"` // 模型名称(e.g., "claude-opus-4-6")
|
||
SystemPrompt string `protobuf:"bytes,2,opt,name=system_prompt,json=systemPrompt,proto3" json:"system_prompt,omitempty"` // 系统提示(可选)
|
||
Metadata map[string]string `protobuf:"bytes,3,rep,name=metadata,proto3" json:"metadata,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` // 元数据(设备指纹、User-Agent 等)
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *StartCascadeRequest) Reset() {
|
||
*x = StartCascadeRequest{}
|
||
mi := &file_language_server_simplified_proto_msgTypes[0]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *StartCascadeRequest) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*StartCascadeRequest) ProtoMessage() {}
|
||
|
||
func (x *StartCascadeRequest) ProtoReflect() protoreflect.Message {
|
||
mi := &file_language_server_simplified_proto_msgTypes[0]
|
||
if x != nil {
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
if ms.LoadMessageInfo() == nil {
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
return ms
|
||
}
|
||
return mi.MessageOf(x)
|
||
}
|
||
|
||
// Deprecated: Use StartCascadeRequest.ProtoReflect.Descriptor instead.
|
||
func (*StartCascadeRequest) Descriptor() ([]byte, []int) {
|
||
return file_language_server_simplified_proto_rawDescGZIP(), []int{0}
|
||
}
|
||
|
||
func (x *StartCascadeRequest) GetModel() string {
|
||
if x != nil {
|
||
return x.Model
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *StartCascadeRequest) GetSystemPrompt() string {
|
||
if x != nil {
|
||
return x.SystemPrompt
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *StartCascadeRequest) GetMetadata() map[string]string {
|
||
if x != nil {
|
||
return x.Metadata
|
||
}
|
||
return nil
|
||
}
|
||
|
||
type StartCascadeResponse struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
CascadeId string `protobuf:"bytes,1,opt,name=cascade_id,json=cascadeId,proto3" json:"cascade_id,omitempty"` // 新建会话的 ID
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *StartCascadeResponse) Reset() {
|
||
*x = StartCascadeResponse{}
|
||
mi := &file_language_server_simplified_proto_msgTypes[1]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *StartCascadeResponse) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*StartCascadeResponse) ProtoMessage() {}
|
||
|
||
func (x *StartCascadeResponse) ProtoReflect() protoreflect.Message {
|
||
mi := &file_language_server_simplified_proto_msgTypes[1]
|
||
if x != nil {
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
if ms.LoadMessageInfo() == nil {
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
return ms
|
||
}
|
||
return mi.MessageOf(x)
|
||
}
|
||
|
||
// Deprecated: Use StartCascadeResponse.ProtoReflect.Descriptor instead.
|
||
func (*StartCascadeResponse) Descriptor() ([]byte, []int) {
|
||
return file_language_server_simplified_proto_rawDescGZIP(), []int{1}
|
||
}
|
||
|
||
func (x *StartCascadeResponse) GetCascadeId() string {
|
||
if x != nil {
|
||
return x.CascadeId
|
||
}
|
||
return ""
|
||
}
|
||
|
||
type SendUserCascadeMessageRequest struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
CascadeId string `protobuf:"bytes,1,opt,name=cascade_id,json=cascadeId,proto3" json:"cascade_id,omitempty"` // 会话 ID
|
||
Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` // 用户消息
|
||
Context map[string]string `protobuf:"bytes,3,rep,name=context,proto3" json:"context,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` // 上下文信息(文件、符号等)
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *SendUserCascadeMessageRequest) Reset() {
|
||
*x = SendUserCascadeMessageRequest{}
|
||
mi := &file_language_server_simplified_proto_msgTypes[2]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *SendUserCascadeMessageRequest) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*SendUserCascadeMessageRequest) ProtoMessage() {}
|
||
|
||
func (x *SendUserCascadeMessageRequest) ProtoReflect() protoreflect.Message {
|
||
mi := &file_language_server_simplified_proto_msgTypes[2]
|
||
if x != nil {
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
if ms.LoadMessageInfo() == nil {
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
return ms
|
||
}
|
||
return mi.MessageOf(x)
|
||
}
|
||
|
||
// Deprecated: Use SendUserCascadeMessageRequest.ProtoReflect.Descriptor instead.
|
||
func (*SendUserCascadeMessageRequest) Descriptor() ([]byte, []int) {
|
||
return file_language_server_simplified_proto_rawDescGZIP(), []int{2}
|
||
}
|
||
|
||
func (x *SendUserCascadeMessageRequest) GetCascadeId() string {
|
||
if x != nil {
|
||
return x.CascadeId
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *SendUserCascadeMessageRequest) GetMessage() string {
|
||
if x != nil {
|
||
return x.Message
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *SendUserCascadeMessageRequest) GetContext() map[string]string {
|
||
if x != nil {
|
||
return x.Context
|
||
}
|
||
return nil
|
||
}
|
||
|
||
type CascadeReactiveUpdate struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
Type CascadeReactiveUpdate_UpdateType `protobuf:"varint,1,opt,name=type,proto3,enum=exa.language_server_pb.CascadeReactiveUpdate_UpdateType" json:"type,omitempty"`
|
||
Payload string `protobuf:"bytes,2,opt,name=payload,proto3" json:"payload,omitempty"` // JSON 格式的负载
|
||
Timestamp *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *CascadeReactiveUpdate) Reset() {
|
||
*x = CascadeReactiveUpdate{}
|
||
mi := &file_language_server_simplified_proto_msgTypes[3]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *CascadeReactiveUpdate) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*CascadeReactiveUpdate) ProtoMessage() {}
|
||
|
||
func (x *CascadeReactiveUpdate) ProtoReflect() protoreflect.Message {
|
||
mi := &file_language_server_simplified_proto_msgTypes[3]
|
||
if x != nil {
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
if ms.LoadMessageInfo() == nil {
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
return ms
|
||
}
|
||
return mi.MessageOf(x)
|
||
}
|
||
|
||
// Deprecated: Use CascadeReactiveUpdate.ProtoReflect.Descriptor instead.
|
||
func (*CascadeReactiveUpdate) Descriptor() ([]byte, []int) {
|
||
return file_language_server_simplified_proto_rawDescGZIP(), []int{3}
|
||
}
|
||
|
||
func (x *CascadeReactiveUpdate) GetType() CascadeReactiveUpdate_UpdateType {
|
||
if x != nil {
|
||
return x.Type
|
||
}
|
||
return CascadeReactiveUpdate_UNKNOWN
|
||
}
|
||
|
||
func (x *CascadeReactiveUpdate) GetPayload() string {
|
||
if x != nil {
|
||
return x.Payload
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *CascadeReactiveUpdate) GetTimestamp() *timestamppb.Timestamp {
|
||
if x != nil {
|
||
return x.Timestamp
|
||
}
|
||
return nil
|
||
}
|
||
|
||
type CancelCascadeInvocationRequest struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
CascadeId string `protobuf:"bytes,1,opt,name=cascade_id,json=cascadeId,proto3" json:"cascade_id,omitempty"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *CancelCascadeInvocationRequest) Reset() {
|
||
*x = CancelCascadeInvocationRequest{}
|
||
mi := &file_language_server_simplified_proto_msgTypes[4]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *CancelCascadeInvocationRequest) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*CancelCascadeInvocationRequest) ProtoMessage() {}
|
||
|
||
func (x *CancelCascadeInvocationRequest) ProtoReflect() protoreflect.Message {
|
||
mi := &file_language_server_simplified_proto_msgTypes[4]
|
||
if x != nil {
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
if ms.LoadMessageInfo() == nil {
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
return ms
|
||
}
|
||
return mi.MessageOf(x)
|
||
}
|
||
|
||
// Deprecated: Use CancelCascadeInvocationRequest.ProtoReflect.Descriptor instead.
|
||
func (*CancelCascadeInvocationRequest) Descriptor() ([]byte, []int) {
|
||
return file_language_server_simplified_proto_rawDescGZIP(), []int{4}
|
||
}
|
||
|
||
func (x *CancelCascadeInvocationRequest) GetCascadeId() string {
|
||
if x != nil {
|
||
return x.CascadeId
|
||
}
|
||
return ""
|
||
}
|
||
|
||
type CancelCascadeInvocationResponse struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *CancelCascadeInvocationResponse) Reset() {
|
||
*x = CancelCascadeInvocationResponse{}
|
||
mi := &file_language_server_simplified_proto_msgTypes[5]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *CancelCascadeInvocationResponse) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*CancelCascadeInvocationResponse) ProtoMessage() {}
|
||
|
||
func (x *CancelCascadeInvocationResponse) ProtoReflect() protoreflect.Message {
|
||
mi := &file_language_server_simplified_proto_msgTypes[5]
|
||
if x != nil {
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
if ms.LoadMessageInfo() == nil {
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
return ms
|
||
}
|
||
return mi.MessageOf(x)
|
||
}
|
||
|
||
// Deprecated: Use CancelCascadeInvocationResponse.ProtoReflect.Descriptor instead.
|
||
func (*CancelCascadeInvocationResponse) Descriptor() ([]byte, []int) {
|
||
return file_language_server_simplified_proto_rawDescGZIP(), []int{5}
|
||
}
|
||
|
||
type AcknowledgeCascadeCodeEditRequest struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
CascadeId string `protobuf:"bytes,1,opt,name=cascade_id,json=cascadeId,proto3" json:"cascade_id,omitempty"`
|
||
CodeEditId string `protobuf:"bytes,2,opt,name=code_edit_id,json=codeEditId,proto3" json:"code_edit_id,omitempty"`
|
||
Accepted bool `protobuf:"varint,3,opt,name=accepted,proto3" json:"accepted,omitempty"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *AcknowledgeCascadeCodeEditRequest) Reset() {
|
||
*x = AcknowledgeCascadeCodeEditRequest{}
|
||
mi := &file_language_server_simplified_proto_msgTypes[6]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *AcknowledgeCascadeCodeEditRequest) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*AcknowledgeCascadeCodeEditRequest) ProtoMessage() {}
|
||
|
||
func (x *AcknowledgeCascadeCodeEditRequest) ProtoReflect() protoreflect.Message {
|
||
mi := &file_language_server_simplified_proto_msgTypes[6]
|
||
if x != nil {
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
if ms.LoadMessageInfo() == nil {
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
return ms
|
||
}
|
||
return mi.MessageOf(x)
|
||
}
|
||
|
||
// Deprecated: Use AcknowledgeCascadeCodeEditRequest.ProtoReflect.Descriptor instead.
|
||
func (*AcknowledgeCascadeCodeEditRequest) Descriptor() ([]byte, []int) {
|
||
return file_language_server_simplified_proto_rawDescGZIP(), []int{6}
|
||
}
|
||
|
||
func (x *AcknowledgeCascadeCodeEditRequest) GetCascadeId() string {
|
||
if x != nil {
|
||
return x.CascadeId
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *AcknowledgeCascadeCodeEditRequest) GetCodeEditId() string {
|
||
if x != nil {
|
||
return x.CodeEditId
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *AcknowledgeCascadeCodeEditRequest) GetAccepted() bool {
|
||
if x != nil {
|
||
return x.Accepted
|
||
}
|
||
return false
|
||
}
|
||
|
||
type AcknowledgeCascadeCodeEditResponse struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *AcknowledgeCascadeCodeEditResponse) Reset() {
|
||
*x = AcknowledgeCascadeCodeEditResponse{}
|
||
mi := &file_language_server_simplified_proto_msgTypes[7]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *AcknowledgeCascadeCodeEditResponse) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*AcknowledgeCascadeCodeEditResponse) ProtoMessage() {}
|
||
|
||
func (x *AcknowledgeCascadeCodeEditResponse) ProtoReflect() protoreflect.Message {
|
||
mi := &file_language_server_simplified_proto_msgTypes[7]
|
||
if x != nil {
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
if ms.LoadMessageInfo() == nil {
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
return ms
|
||
}
|
||
return mi.MessageOf(x)
|
||
}
|
||
|
||
// Deprecated: Use AcknowledgeCascadeCodeEditResponse.ProtoReflect.Descriptor instead.
|
||
func (*AcknowledgeCascadeCodeEditResponse) Descriptor() ([]byte, []int) {
|
||
return file_language_server_simplified_proto_rawDescGZIP(), []int{7}
|
||
}
|
||
|
||
type ModelConfig struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // 模型名称(e.g., "claude-opus-4-6")
|
||
DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` // 显示名称(e.g., "Claude Opus 4.6")
|
||
ModelId int32 `protobuf:"varint,3,opt,name=model_id,json=modelId,proto3" json:"model_id,omitempty"` // 模型 ID(枚举值)
|
||
MaxTokens int32 `protobuf:"varint,4,opt,name=max_tokens,json=maxTokens,proto3" json:"max_tokens,omitempty"` // 最大输出 token 数
|
||
SupportsThinking bool `protobuf:"varint,5,opt,name=supports_thinking,json=supportsThinking,proto3" json:"supports_thinking,omitempty"` // 是否支持 thinking
|
||
ThinkingBudget int32 `protobuf:"varint,6,opt,name=thinking_budget,json=thinkingBudget,proto3" json:"thinking_budget,omitempty"` // thinking token 预算
|
||
SupportsImages bool `protobuf:"varint,7,opt,name=supports_images,json=supportsImages,proto3" json:"supports_images,omitempty"` // 是否支持图像
|
||
Provider string `protobuf:"bytes,8,opt,name=provider,proto3" json:"provider,omitempty"` // 提供者(anthropic/google/openai)
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *ModelConfig) Reset() {
|
||
*x = ModelConfig{}
|
||
mi := &file_language_server_simplified_proto_msgTypes[8]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *ModelConfig) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*ModelConfig) ProtoMessage() {}
|
||
|
||
func (x *ModelConfig) ProtoReflect() protoreflect.Message {
|
||
mi := &file_language_server_simplified_proto_msgTypes[8]
|
||
if x != nil {
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
if ms.LoadMessageInfo() == nil {
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
return ms
|
||
}
|
||
return mi.MessageOf(x)
|
||
}
|
||
|
||
// Deprecated: Use ModelConfig.ProtoReflect.Descriptor instead.
|
||
func (*ModelConfig) Descriptor() ([]byte, []int) {
|
||
return file_language_server_simplified_proto_rawDescGZIP(), []int{8}
|
||
}
|
||
|
||
func (x *ModelConfig) GetName() string {
|
||
if x != nil {
|
||
return x.Name
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *ModelConfig) GetDisplayName() string {
|
||
if x != nil {
|
||
return x.DisplayName
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *ModelConfig) GetModelId() int32 {
|
||
if x != nil {
|
||
return x.ModelId
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *ModelConfig) GetMaxTokens() int32 {
|
||
if x != nil {
|
||
return x.MaxTokens
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *ModelConfig) GetSupportsThinking() bool {
|
||
if x != nil {
|
||
return x.SupportsThinking
|
||
}
|
||
return false
|
||
}
|
||
|
||
func (x *ModelConfig) GetThinkingBudget() int32 {
|
||
if x != nil {
|
||
return x.ThinkingBudget
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *ModelConfig) GetSupportsImages() bool {
|
||
if x != nil {
|
||
return x.SupportsImages
|
||
}
|
||
return false
|
||
}
|
||
|
||
func (x *ModelConfig) GetProvider() string {
|
||
if x != nil {
|
||
return x.Provider
|
||
}
|
||
return ""
|
||
}
|
||
|
||
type GetCascadeModelConfigsRequest struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *GetCascadeModelConfigsRequest) Reset() {
|
||
*x = GetCascadeModelConfigsRequest{}
|
||
mi := &file_language_server_simplified_proto_msgTypes[9]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *GetCascadeModelConfigsRequest) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*GetCascadeModelConfigsRequest) ProtoMessage() {}
|
||
|
||
func (x *GetCascadeModelConfigsRequest) ProtoReflect() protoreflect.Message {
|
||
mi := &file_language_server_simplified_proto_msgTypes[9]
|
||
if x != nil {
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
if ms.LoadMessageInfo() == nil {
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
return ms
|
||
}
|
||
return mi.MessageOf(x)
|
||
}
|
||
|
||
// Deprecated: Use GetCascadeModelConfigsRequest.ProtoReflect.Descriptor instead.
|
||
func (*GetCascadeModelConfigsRequest) Descriptor() ([]byte, []int) {
|
||
return file_language_server_simplified_proto_rawDescGZIP(), []int{9}
|
||
}
|
||
|
||
type GetCascadeModelConfigsResponse struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
Models []*ModelConfig `protobuf:"bytes,1,rep,name=models,proto3" json:"models,omitempty"`
|
||
DefaultModel string `protobuf:"bytes,2,opt,name=default_model,json=defaultModel,proto3" json:"default_model,omitempty"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *GetCascadeModelConfigsResponse) Reset() {
|
||
*x = GetCascadeModelConfigsResponse{}
|
||
mi := &file_language_server_simplified_proto_msgTypes[10]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *GetCascadeModelConfigsResponse) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*GetCascadeModelConfigsResponse) ProtoMessage() {}
|
||
|
||
func (x *GetCascadeModelConfigsResponse) ProtoReflect() protoreflect.Message {
|
||
mi := &file_language_server_simplified_proto_msgTypes[10]
|
||
if x != nil {
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
if ms.LoadMessageInfo() == nil {
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
return ms
|
||
}
|
||
return mi.MessageOf(x)
|
||
}
|
||
|
||
// Deprecated: Use GetCascadeModelConfigsResponse.ProtoReflect.Descriptor instead.
|
||
func (*GetCascadeModelConfigsResponse) Descriptor() ([]byte, []int) {
|
||
return file_language_server_simplified_proto_rawDescGZIP(), []int{10}
|
||
}
|
||
|
||
func (x *GetCascadeModelConfigsResponse) GetModels() []*ModelConfig {
|
||
if x != nil {
|
||
return x.Models
|
||
}
|
||
return nil
|
||
}
|
||
|
||
func (x *GetCascadeModelConfigsResponse) GetDefaultModel() string {
|
||
if x != nil {
|
||
return x.DefaultModel
|
||
}
|
||
return ""
|
||
}
|
||
|
||
type GetCommandModelConfigsRequest struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *GetCommandModelConfigsRequest) Reset() {
|
||
*x = GetCommandModelConfigsRequest{}
|
||
mi := &file_language_server_simplified_proto_msgTypes[11]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *GetCommandModelConfigsRequest) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*GetCommandModelConfigsRequest) ProtoMessage() {}
|
||
|
||
func (x *GetCommandModelConfigsRequest) ProtoReflect() protoreflect.Message {
|
||
mi := &file_language_server_simplified_proto_msgTypes[11]
|
||
if x != nil {
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
if ms.LoadMessageInfo() == nil {
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
return ms
|
||
}
|
||
return mi.MessageOf(x)
|
||
}
|
||
|
||
// Deprecated: Use GetCommandModelConfigsRequest.ProtoReflect.Descriptor instead.
|
||
func (*GetCommandModelConfigsRequest) Descriptor() ([]byte, []int) {
|
||
return file_language_server_simplified_proto_rawDescGZIP(), []int{11}
|
||
}
|
||
|
||
type GetCommandModelConfigsResponse struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
Models []*ModelConfig `protobuf:"bytes,1,rep,name=models,proto3" json:"models,omitempty"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *GetCommandModelConfigsResponse) Reset() {
|
||
*x = GetCommandModelConfigsResponse{}
|
||
mi := &file_language_server_simplified_proto_msgTypes[12]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *GetCommandModelConfigsResponse) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*GetCommandModelConfigsResponse) ProtoMessage() {}
|
||
|
||
func (x *GetCommandModelConfigsResponse) ProtoReflect() protoreflect.Message {
|
||
mi := &file_language_server_simplified_proto_msgTypes[12]
|
||
if x != nil {
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
if ms.LoadMessageInfo() == nil {
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
return ms
|
||
}
|
||
return mi.MessageOf(x)
|
||
}
|
||
|
||
// Deprecated: Use GetCommandModelConfigsResponse.ProtoReflect.Descriptor instead.
|
||
func (*GetCommandModelConfigsResponse) Descriptor() ([]byte, []int) {
|
||
return file_language_server_simplified_proto_rawDescGZIP(), []int{12}
|
||
}
|
||
|
||
func (x *GetCommandModelConfigsResponse) GetModels() []*ModelConfig {
|
||
if x != nil {
|
||
return x.Models
|
||
}
|
||
return nil
|
||
}
|
||
|
||
type FileInfo struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"`
|
||
Type FileInfo_Type `protobuf:"varint,2,opt,name=type,proto3,enum=exa.language_server_pb.FileInfo_Type" json:"type,omitempty"`
|
||
Size int64 `protobuf:"varint,3,opt,name=size,proto3" json:"size,omitempty"`
|
||
ModifiedTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=modified_time,json=modifiedTime,proto3" json:"modified_time,omitempty"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *FileInfo) Reset() {
|
||
*x = FileInfo{}
|
||
mi := &file_language_server_simplified_proto_msgTypes[13]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *FileInfo) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*FileInfo) ProtoMessage() {}
|
||
|
||
func (x *FileInfo) ProtoReflect() protoreflect.Message {
|
||
mi := &file_language_server_simplified_proto_msgTypes[13]
|
||
if x != nil {
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
if ms.LoadMessageInfo() == nil {
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
return ms
|
||
}
|
||
return mi.MessageOf(x)
|
||
}
|
||
|
||
// Deprecated: Use FileInfo.ProtoReflect.Descriptor instead.
|
||
func (*FileInfo) Descriptor() ([]byte, []int) {
|
||
return file_language_server_simplified_proto_rawDescGZIP(), []int{13}
|
||
}
|
||
|
||
func (x *FileInfo) GetPath() string {
|
||
if x != nil {
|
||
return x.Path
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *FileInfo) GetType() FileInfo_Type {
|
||
if x != nil {
|
||
return x.Type
|
||
}
|
||
return FileInfo_UNKNOWN
|
||
}
|
||
|
||
func (x *FileInfo) GetSize() int64 {
|
||
if x != nil {
|
||
return x.Size
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *FileInfo) GetModifiedTime() *timestamppb.Timestamp {
|
||
if x != nil {
|
||
return x.ModifiedTime
|
||
}
|
||
return nil
|
||
}
|
||
|
||
type ReadFileRequest struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *ReadFileRequest) Reset() {
|
||
*x = ReadFileRequest{}
|
||
mi := &file_language_server_simplified_proto_msgTypes[14]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *ReadFileRequest) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*ReadFileRequest) ProtoMessage() {}
|
||
|
||
func (x *ReadFileRequest) ProtoReflect() protoreflect.Message {
|
||
mi := &file_language_server_simplified_proto_msgTypes[14]
|
||
if x != nil {
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
if ms.LoadMessageInfo() == nil {
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
return ms
|
||
}
|
||
return mi.MessageOf(x)
|
||
}
|
||
|
||
// Deprecated: Use ReadFileRequest.ProtoReflect.Descriptor instead.
|
||
func (*ReadFileRequest) Descriptor() ([]byte, []int) {
|
||
return file_language_server_simplified_proto_rawDescGZIP(), []int{14}
|
||
}
|
||
|
||
func (x *ReadFileRequest) GetPath() string {
|
||
if x != nil {
|
||
return x.Path
|
||
}
|
||
return ""
|
||
}
|
||
|
||
type ReadFileResponse struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
Content string `protobuf:"bytes,1,opt,name=content,proto3" json:"content,omitempty"`
|
||
Encoding string `protobuf:"bytes,2,opt,name=encoding,proto3" json:"encoding,omitempty"` // UTF-8, binary, etc.
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *ReadFileResponse) Reset() {
|
||
*x = ReadFileResponse{}
|
||
mi := &file_language_server_simplified_proto_msgTypes[15]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *ReadFileResponse) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*ReadFileResponse) ProtoMessage() {}
|
||
|
||
func (x *ReadFileResponse) ProtoReflect() protoreflect.Message {
|
||
mi := &file_language_server_simplified_proto_msgTypes[15]
|
||
if x != nil {
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
if ms.LoadMessageInfo() == nil {
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
return ms
|
||
}
|
||
return mi.MessageOf(x)
|
||
}
|
||
|
||
// Deprecated: Use ReadFileResponse.ProtoReflect.Descriptor instead.
|
||
func (*ReadFileResponse) Descriptor() ([]byte, []int) {
|
||
return file_language_server_simplified_proto_rawDescGZIP(), []int{15}
|
||
}
|
||
|
||
func (x *ReadFileResponse) GetContent() string {
|
||
if x != nil {
|
||
return x.Content
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *ReadFileResponse) GetEncoding() string {
|
||
if x != nil {
|
||
return x.Encoding
|
||
}
|
||
return ""
|
||
}
|
||
|
||
type WriteFileRequest struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"`
|
||
Content string `protobuf:"bytes,2,opt,name=content,proto3" json:"content,omitempty"`
|
||
CreateParent bool `protobuf:"varint,3,opt,name=create_parent,json=createParent,proto3" json:"create_parent,omitempty"` // 是否创建父目录
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *WriteFileRequest) Reset() {
|
||
*x = WriteFileRequest{}
|
||
mi := &file_language_server_simplified_proto_msgTypes[16]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *WriteFileRequest) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*WriteFileRequest) ProtoMessage() {}
|
||
|
||
func (x *WriteFileRequest) ProtoReflect() protoreflect.Message {
|
||
mi := &file_language_server_simplified_proto_msgTypes[16]
|
||
if x != nil {
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
if ms.LoadMessageInfo() == nil {
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
return ms
|
||
}
|
||
return mi.MessageOf(x)
|
||
}
|
||
|
||
// Deprecated: Use WriteFileRequest.ProtoReflect.Descriptor instead.
|
||
func (*WriteFileRequest) Descriptor() ([]byte, []int) {
|
||
return file_language_server_simplified_proto_rawDescGZIP(), []int{16}
|
||
}
|
||
|
||
func (x *WriteFileRequest) GetPath() string {
|
||
if x != nil {
|
||
return x.Path
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *WriteFileRequest) GetContent() string {
|
||
if x != nil {
|
||
return x.Content
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *WriteFileRequest) GetCreateParent() bool {
|
||
if x != nil {
|
||
return x.CreateParent
|
||
}
|
||
return false
|
||
}
|
||
|
||
type WriteFileResponse struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *WriteFileResponse) Reset() {
|
||
*x = WriteFileResponse{}
|
||
mi := &file_language_server_simplified_proto_msgTypes[17]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *WriteFileResponse) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*WriteFileResponse) ProtoMessage() {}
|
||
|
||
func (x *WriteFileResponse) ProtoReflect() protoreflect.Message {
|
||
mi := &file_language_server_simplified_proto_msgTypes[17]
|
||
if x != nil {
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
if ms.LoadMessageInfo() == nil {
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
return ms
|
||
}
|
||
return mi.MessageOf(x)
|
||
}
|
||
|
||
// Deprecated: Use WriteFileResponse.ProtoReflect.Descriptor instead.
|
||
func (*WriteFileResponse) Descriptor() ([]byte, []int) {
|
||
return file_language_server_simplified_proto_rawDescGZIP(), []int{17}
|
||
}
|
||
|
||
func (x *WriteFileResponse) GetSuccess() bool {
|
||
if x != nil {
|
||
return x.Success
|
||
}
|
||
return false
|
||
}
|
||
|
||
type ReadDirRequest struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *ReadDirRequest) Reset() {
|
||
*x = ReadDirRequest{}
|
||
mi := &file_language_server_simplified_proto_msgTypes[18]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *ReadDirRequest) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*ReadDirRequest) ProtoMessage() {}
|
||
|
||
func (x *ReadDirRequest) ProtoReflect() protoreflect.Message {
|
||
mi := &file_language_server_simplified_proto_msgTypes[18]
|
||
if x != nil {
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
if ms.LoadMessageInfo() == nil {
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
return ms
|
||
}
|
||
return mi.MessageOf(x)
|
||
}
|
||
|
||
// Deprecated: Use ReadDirRequest.ProtoReflect.Descriptor instead.
|
||
func (*ReadDirRequest) Descriptor() ([]byte, []int) {
|
||
return file_language_server_simplified_proto_rawDescGZIP(), []int{18}
|
||
}
|
||
|
||
func (x *ReadDirRequest) GetPath() string {
|
||
if x != nil {
|
||
return x.Path
|
||
}
|
||
return ""
|
||
}
|
||
|
||
type ReadDirResponse struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
Files []*FileInfo `protobuf:"bytes,1,rep,name=files,proto3" json:"files,omitempty"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *ReadDirResponse) Reset() {
|
||
*x = ReadDirResponse{}
|
||
mi := &file_language_server_simplified_proto_msgTypes[19]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *ReadDirResponse) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*ReadDirResponse) ProtoMessage() {}
|
||
|
||
func (x *ReadDirResponse) ProtoReflect() protoreflect.Message {
|
||
mi := &file_language_server_simplified_proto_msgTypes[19]
|
||
if x != nil {
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
if ms.LoadMessageInfo() == nil {
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
return ms
|
||
}
|
||
return mi.MessageOf(x)
|
||
}
|
||
|
||
// Deprecated: Use ReadDirResponse.ProtoReflect.Descriptor instead.
|
||
func (*ReadDirResponse) Descriptor() ([]byte, []int) {
|
||
return file_language_server_simplified_proto_rawDescGZIP(), []int{19}
|
||
}
|
||
|
||
func (x *ReadDirResponse) GetFiles() []*FileInfo {
|
||
if x != nil {
|
||
return x.Files
|
||
}
|
||
return nil
|
||
}
|
||
|
||
type DeleteFileOrDirectoryRequest struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"`
|
||
Recursive bool `protobuf:"varint,2,opt,name=recursive,proto3" json:"recursive,omitempty"` // 递归删除目录
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *DeleteFileOrDirectoryRequest) Reset() {
|
||
*x = DeleteFileOrDirectoryRequest{}
|
||
mi := &file_language_server_simplified_proto_msgTypes[20]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *DeleteFileOrDirectoryRequest) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*DeleteFileOrDirectoryRequest) ProtoMessage() {}
|
||
|
||
func (x *DeleteFileOrDirectoryRequest) ProtoReflect() protoreflect.Message {
|
||
mi := &file_language_server_simplified_proto_msgTypes[20]
|
||
if x != nil {
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
if ms.LoadMessageInfo() == nil {
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
return ms
|
||
}
|
||
return mi.MessageOf(x)
|
||
}
|
||
|
||
// Deprecated: Use DeleteFileOrDirectoryRequest.ProtoReflect.Descriptor instead.
|
||
func (*DeleteFileOrDirectoryRequest) Descriptor() ([]byte, []int) {
|
||
return file_language_server_simplified_proto_rawDescGZIP(), []int{20}
|
||
}
|
||
|
||
func (x *DeleteFileOrDirectoryRequest) GetPath() string {
|
||
if x != nil {
|
||
return x.Path
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *DeleteFileOrDirectoryRequest) GetRecursive() bool {
|
||
if x != nil {
|
||
return x.Recursive
|
||
}
|
||
return false
|
||
}
|
||
|
||
type DeleteFileOrDirectoryResponse struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *DeleteFileOrDirectoryResponse) Reset() {
|
||
*x = DeleteFileOrDirectoryResponse{}
|
||
mi := &file_language_server_simplified_proto_msgTypes[21]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *DeleteFileOrDirectoryResponse) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*DeleteFileOrDirectoryResponse) ProtoMessage() {}
|
||
|
||
func (x *DeleteFileOrDirectoryResponse) ProtoReflect() protoreflect.Message {
|
||
mi := &file_language_server_simplified_proto_msgTypes[21]
|
||
if x != nil {
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
if ms.LoadMessageInfo() == nil {
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
return ms
|
||
}
|
||
return mi.MessageOf(x)
|
||
}
|
||
|
||
// Deprecated: Use DeleteFileOrDirectoryResponse.ProtoReflect.Descriptor instead.
|
||
func (*DeleteFileOrDirectoryResponse) Descriptor() ([]byte, []int) {
|
||
return file_language_server_simplified_proto_rawDescGZIP(), []int{21}
|
||
}
|
||
|
||
func (x *DeleteFileOrDirectoryResponse) GetSuccess() bool {
|
||
if x != nil {
|
||
return x.Success
|
||
}
|
||
return false
|
||
}
|
||
|
||
type StatUriRequest struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *StatUriRequest) Reset() {
|
||
*x = StatUriRequest{}
|
||
mi := &file_language_server_simplified_proto_msgTypes[22]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *StatUriRequest) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*StatUriRequest) ProtoMessage() {}
|
||
|
||
func (x *StatUriRequest) ProtoReflect() protoreflect.Message {
|
||
mi := &file_language_server_simplified_proto_msgTypes[22]
|
||
if x != nil {
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
if ms.LoadMessageInfo() == nil {
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
return ms
|
||
}
|
||
return mi.MessageOf(x)
|
||
}
|
||
|
||
// Deprecated: Use StatUriRequest.ProtoReflect.Descriptor instead.
|
||
func (*StatUriRequest) Descriptor() ([]byte, []int) {
|
||
return file_language_server_simplified_proto_rawDescGZIP(), []int{22}
|
||
}
|
||
|
||
func (x *StatUriRequest) GetPath() string {
|
||
if x != nil {
|
||
return x.Path
|
||
}
|
||
return ""
|
||
}
|
||
|
||
type StatUriResponse struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
FileInfo *FileInfo `protobuf:"bytes,1,opt,name=file_info,json=fileInfo,proto3" json:"file_info,omitempty"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *StatUriResponse) Reset() {
|
||
*x = StatUriResponse{}
|
||
mi := &file_language_server_simplified_proto_msgTypes[23]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *StatUriResponse) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*StatUriResponse) ProtoMessage() {}
|
||
|
||
func (x *StatUriResponse) ProtoReflect() protoreflect.Message {
|
||
mi := &file_language_server_simplified_proto_msgTypes[23]
|
||
if x != nil {
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
if ms.LoadMessageInfo() == nil {
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
return ms
|
||
}
|
||
return mi.MessageOf(x)
|
||
}
|
||
|
||
// Deprecated: Use StatUriResponse.ProtoReflect.Descriptor instead.
|
||
func (*StatUriResponse) Descriptor() ([]byte, []int) {
|
||
return file_language_server_simplified_proto_rawDescGZIP(), []int{23}
|
||
}
|
||
|
||
func (x *StatUriResponse) GetFileInfo() *FileInfo {
|
||
if x != nil {
|
||
return x.FileInfo
|
||
}
|
||
return nil
|
||
}
|
||
|
||
type WatchDirectoryRequest struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"`
|
||
Patterns []string `protobuf:"bytes,2,rep,name=patterns,proto3" json:"patterns,omitempty"` // 文件模式(glob)
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *WatchDirectoryRequest) Reset() {
|
||
*x = WatchDirectoryRequest{}
|
||
mi := &file_language_server_simplified_proto_msgTypes[24]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *WatchDirectoryRequest) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*WatchDirectoryRequest) ProtoMessage() {}
|
||
|
||
func (x *WatchDirectoryRequest) ProtoReflect() protoreflect.Message {
|
||
mi := &file_language_server_simplified_proto_msgTypes[24]
|
||
if x != nil {
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
if ms.LoadMessageInfo() == nil {
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
return ms
|
||
}
|
||
return mi.MessageOf(x)
|
||
}
|
||
|
||
// Deprecated: Use WatchDirectoryRequest.ProtoReflect.Descriptor instead.
|
||
func (*WatchDirectoryRequest) Descriptor() ([]byte, []int) {
|
||
return file_language_server_simplified_proto_rawDescGZIP(), []int{24}
|
||
}
|
||
|
||
func (x *WatchDirectoryRequest) GetPath() string {
|
||
if x != nil {
|
||
return x.Path
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *WatchDirectoryRequest) GetPatterns() []string {
|
||
if x != nil {
|
||
return x.Patterns
|
||
}
|
||
return nil
|
||
}
|
||
|
||
type WatchDirectoryResponse struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
EventType string `protobuf:"bytes,1,opt,name=event_type,json=eventType,proto3" json:"event_type,omitempty"` // created, modified, deleted
|
||
Path string `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"`
|
||
Timestamp *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *WatchDirectoryResponse) Reset() {
|
||
*x = WatchDirectoryResponse{}
|
||
mi := &file_language_server_simplified_proto_msgTypes[25]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *WatchDirectoryResponse) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*WatchDirectoryResponse) ProtoMessage() {}
|
||
|
||
func (x *WatchDirectoryResponse) ProtoReflect() protoreflect.Message {
|
||
mi := &file_language_server_simplified_proto_msgTypes[25]
|
||
if x != nil {
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
if ms.LoadMessageInfo() == nil {
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
return ms
|
||
}
|
||
return mi.MessageOf(x)
|
||
}
|
||
|
||
// Deprecated: Use WatchDirectoryResponse.ProtoReflect.Descriptor instead.
|
||
func (*WatchDirectoryResponse) Descriptor() ([]byte, []int) {
|
||
return file_language_server_simplified_proto_rawDescGZIP(), []int{25}
|
||
}
|
||
|
||
func (x *WatchDirectoryResponse) GetEventType() string {
|
||
if x != nil {
|
||
return x.EventType
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *WatchDirectoryResponse) GetPath() string {
|
||
if x != nil {
|
||
return x.Path
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *WatchDirectoryResponse) GetTimestamp() *timestamppb.Timestamp {
|
||
if x != nil {
|
||
return x.Timestamp
|
||
}
|
||
return nil
|
||
}
|
||
|
||
type HeartbeatRequest struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
SessionId string `protobuf:"bytes,1,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *HeartbeatRequest) Reset() {
|
||
*x = HeartbeatRequest{}
|
||
mi := &file_language_server_simplified_proto_msgTypes[26]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *HeartbeatRequest) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*HeartbeatRequest) ProtoMessage() {}
|
||
|
||
func (x *HeartbeatRequest) ProtoReflect() protoreflect.Message {
|
||
mi := &file_language_server_simplified_proto_msgTypes[26]
|
||
if x != nil {
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
if ms.LoadMessageInfo() == nil {
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
return ms
|
||
}
|
||
return mi.MessageOf(x)
|
||
}
|
||
|
||
// Deprecated: Use HeartbeatRequest.ProtoReflect.Descriptor instead.
|
||
func (*HeartbeatRequest) Descriptor() ([]byte, []int) {
|
||
return file_language_server_simplified_proto_rawDescGZIP(), []int{26}
|
||
}
|
||
|
||
func (x *HeartbeatRequest) GetSessionId() string {
|
||
if x != nil {
|
||
return x.SessionId
|
||
}
|
||
return ""
|
||
}
|
||
|
||
type HeartbeatResponse struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
Healthy bool `protobuf:"varint,1,opt,name=healthy,proto3" json:"healthy,omitempty"`
|
||
Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *HeartbeatResponse) Reset() {
|
||
*x = HeartbeatResponse{}
|
||
mi := &file_language_server_simplified_proto_msgTypes[27]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *HeartbeatResponse) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*HeartbeatResponse) ProtoMessage() {}
|
||
|
||
func (x *HeartbeatResponse) ProtoReflect() protoreflect.Message {
|
||
mi := &file_language_server_simplified_proto_msgTypes[27]
|
||
if x != nil {
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
if ms.LoadMessageInfo() == nil {
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
return ms
|
||
}
|
||
return mi.MessageOf(x)
|
||
}
|
||
|
||
// Deprecated: Use HeartbeatResponse.ProtoReflect.Descriptor instead.
|
||
func (*HeartbeatResponse) Descriptor() ([]byte, []int) {
|
||
return file_language_server_simplified_proto_rawDescGZIP(), []int{27}
|
||
}
|
||
|
||
func (x *HeartbeatResponse) GetHealthy() bool {
|
||
if x != nil {
|
||
return x.Healthy
|
||
}
|
||
return false
|
||
}
|
||
|
||
func (x *HeartbeatResponse) GetVersion() string {
|
||
if x != nil {
|
||
return x.Version
|
||
}
|
||
return ""
|
||
}
|
||
|
||
type GetStatusRequest struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *GetStatusRequest) Reset() {
|
||
*x = GetStatusRequest{}
|
||
mi := &file_language_server_simplified_proto_msgTypes[28]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *GetStatusRequest) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*GetStatusRequest) ProtoMessage() {}
|
||
|
||
func (x *GetStatusRequest) ProtoReflect() protoreflect.Message {
|
||
mi := &file_language_server_simplified_proto_msgTypes[28]
|
||
if x != nil {
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
if ms.LoadMessageInfo() == nil {
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
return ms
|
||
}
|
||
return mi.MessageOf(x)
|
||
}
|
||
|
||
// Deprecated: Use GetStatusRequest.ProtoReflect.Descriptor instead.
|
||
func (*GetStatusRequest) Descriptor() ([]byte, []int) {
|
||
return file_language_server_simplified_proto_rawDescGZIP(), []int{28}
|
||
}
|
||
|
||
type GetStatusResponse struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
Status string `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` // running, degraded, down
|
||
Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"`
|
||
Info map[string]string `protobuf:"bytes,3,rep,name=info,proto3" json:"info,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *GetStatusResponse) Reset() {
|
||
*x = GetStatusResponse{}
|
||
mi := &file_language_server_simplified_proto_msgTypes[29]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *GetStatusResponse) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*GetStatusResponse) ProtoMessage() {}
|
||
|
||
func (x *GetStatusResponse) ProtoReflect() protoreflect.Message {
|
||
mi := &file_language_server_simplified_proto_msgTypes[29]
|
||
if x != nil {
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
if ms.LoadMessageInfo() == nil {
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
return ms
|
||
}
|
||
return mi.MessageOf(x)
|
||
}
|
||
|
||
// Deprecated: Use GetStatusResponse.ProtoReflect.Descriptor instead.
|
||
func (*GetStatusResponse) Descriptor() ([]byte, []int) {
|
||
return file_language_server_simplified_proto_rawDescGZIP(), []int{29}
|
||
}
|
||
|
||
func (x *GetStatusResponse) GetStatus() string {
|
||
if x != nil {
|
||
return x.Status
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *GetStatusResponse) GetVersion() string {
|
||
if x != nil {
|
||
return x.Version
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *GetStatusResponse) GetInfo() map[string]string {
|
||
if x != nil {
|
||
return x.Info
|
||
}
|
||
return nil
|
||
}
|
||
|
||
type ErrorInfo struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
Code string `protobuf:"bytes,1,opt,name=code,proto3" json:"code,omitempty"`
|
||
Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
|
||
Details map[string]string `protobuf:"bytes,3,rep,name=details,proto3" json:"details,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *ErrorInfo) Reset() {
|
||
*x = ErrorInfo{}
|
||
mi := &file_language_server_simplified_proto_msgTypes[30]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *ErrorInfo) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*ErrorInfo) ProtoMessage() {}
|
||
|
||
func (x *ErrorInfo) ProtoReflect() protoreflect.Message {
|
||
mi := &file_language_server_simplified_proto_msgTypes[30]
|
||
if x != nil {
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
if ms.LoadMessageInfo() == nil {
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
return ms
|
||
}
|
||
return mi.MessageOf(x)
|
||
}
|
||
|
||
// Deprecated: Use ErrorInfo.ProtoReflect.Descriptor instead.
|
||
func (*ErrorInfo) Descriptor() ([]byte, []int) {
|
||
return file_language_server_simplified_proto_rawDescGZIP(), []int{30}
|
||
}
|
||
|
||
func (x *ErrorInfo) GetCode() string {
|
||
if x != nil {
|
||
return x.Code
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *ErrorInfo) GetMessage() string {
|
||
if x != nil {
|
||
return x.Message
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *ErrorInfo) GetDetails() map[string]string {
|
||
if x != nil {
|
||
return x.Details
|
||
}
|
||
return nil
|
||
}
|
||
|
||
var File_language_server_simplified_proto protoreflect.FileDescriptor
|
||
|
||
const file_language_server_simplified_proto_rawDesc = "" +
|
||
"\n" +
|
||
" language_server_simplified.proto\x12\x16exa.language_server_pb\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1bgoogle/protobuf/empty.proto\"\xe4\x01\n" +
|
||
"\x13StartCascadeRequest\x12\x14\n" +
|
||
"\x05model\x18\x01 \x01(\tR\x05model\x12#\n" +
|
||
"\rsystem_prompt\x18\x02 \x01(\tR\fsystemPrompt\x12U\n" +
|
||
"\bmetadata\x18\x03 \x03(\v29.exa.language_server_pb.StartCascadeRequest.MetadataEntryR\bmetadata\x1a;\n" +
|
||
"\rMetadataEntry\x12\x10\n" +
|
||
"\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n" +
|
||
"\x05value\x18\x02 \x01(\tR\x05value:\x028\x01\"5\n" +
|
||
"\x14StartCascadeResponse\x12\x1d\n" +
|
||
"\n" +
|
||
"cascade_id\x18\x01 \x01(\tR\tcascadeId\"\xf2\x01\n" +
|
||
"\x1dSendUserCascadeMessageRequest\x12\x1d\n" +
|
||
"\n" +
|
||
"cascade_id\x18\x01 \x01(\tR\tcascadeId\x12\x18\n" +
|
||
"\amessage\x18\x02 \x01(\tR\amessage\x12\\\n" +
|
||
"\acontext\x18\x03 \x03(\v2B.exa.language_server_pb.SendUserCascadeMessageRequest.ContextEntryR\acontext\x1a:\n" +
|
||
"\fContextEntry\x12\x10\n" +
|
||
"\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n" +
|
||
"\x05value\x18\x02 \x01(\tR\x05value:\x028\x01\"\xa7\x02\n" +
|
||
"\x15CascadeReactiveUpdate\x12L\n" +
|
||
"\x04type\x18\x01 \x01(\x0e28.exa.language_server_pb.CascadeReactiveUpdate.UpdateTypeR\x04type\x12\x18\n" +
|
||
"\apayload\x18\x02 \x01(\tR\apayload\x128\n" +
|
||
"\ttimestamp\x18\x03 \x01(\v2\x1a.google.protobuf.TimestampR\ttimestamp\"l\n" +
|
||
"\n" +
|
||
"UpdateType\x12\v\n" +
|
||
"\aUNKNOWN\x10\x00\x12\x10\n" +
|
||
"\fSTATE_CHANGE\x10\x01\x12\x11\n" +
|
||
"\rMESSAGE_DELTA\x10\x02\x12\r\n" +
|
||
"\tTOOL_CALL\x10\x03\x12\r\n" +
|
||
"\tCODE_EDIT\x10\x04\x12\x0e\n" +
|
||
"\n" +
|
||
"COMPLETION\x10\x05\"?\n" +
|
||
"\x1eCancelCascadeInvocationRequest\x12\x1d\n" +
|
||
"\n" +
|
||
"cascade_id\x18\x01 \x01(\tR\tcascadeId\"!\n" +
|
||
"\x1fCancelCascadeInvocationResponse\"\x80\x01\n" +
|
||
"!AcknowledgeCascadeCodeEditRequest\x12\x1d\n" +
|
||
"\n" +
|
||
"cascade_id\x18\x01 \x01(\tR\tcascadeId\x12 \n" +
|
||
"\fcode_edit_id\x18\x02 \x01(\tR\n" +
|
||
"codeEditId\x12\x1a\n" +
|
||
"\baccepted\x18\x03 \x01(\bR\baccepted\"$\n" +
|
||
"\"AcknowledgeCascadeCodeEditResponse\"\x99\x02\n" +
|
||
"\vModelConfig\x12\x12\n" +
|
||
"\x04name\x18\x01 \x01(\tR\x04name\x12!\n" +
|
||
"\fdisplay_name\x18\x02 \x01(\tR\vdisplayName\x12\x19\n" +
|
||
"\bmodel_id\x18\x03 \x01(\x05R\amodelId\x12\x1d\n" +
|
||
"\n" +
|
||
"max_tokens\x18\x04 \x01(\x05R\tmaxTokens\x12+\n" +
|
||
"\x11supports_thinking\x18\x05 \x01(\bR\x10supportsThinking\x12'\n" +
|
||
"\x0fthinking_budget\x18\x06 \x01(\x05R\x0ethinkingBudget\x12'\n" +
|
||
"\x0fsupports_images\x18\a \x01(\bR\x0esupportsImages\x12\x1a\n" +
|
||
"\bprovider\x18\b \x01(\tR\bprovider\"\x1f\n" +
|
||
"\x1dGetCascadeModelConfigsRequest\"\x82\x01\n" +
|
||
"\x1eGetCascadeModelConfigsResponse\x12;\n" +
|
||
"\x06models\x18\x01 \x03(\v2#.exa.language_server_pb.ModelConfigR\x06models\x12#\n" +
|
||
"\rdefault_model\x18\x02 \x01(\tR\fdefaultModel\"\x1f\n" +
|
||
"\x1dGetCommandModelConfigsRequest\"]\n" +
|
||
"\x1eGetCommandModelConfigsResponse\x12;\n" +
|
||
"\x06models\x18\x01 \x03(\v2#.exa.language_server_pb.ModelConfigR\x06models\"\xe9\x01\n" +
|
||
"\bFileInfo\x12\x12\n" +
|
||
"\x04path\x18\x01 \x01(\tR\x04path\x129\n" +
|
||
"\x04type\x18\x02 \x01(\x0e2%.exa.language_server_pb.FileInfo.TypeR\x04type\x12\x12\n" +
|
||
"\x04size\x18\x03 \x01(\x03R\x04size\x12?\n" +
|
||
"\rmodified_time\x18\x04 \x01(\v2\x1a.google.protobuf.TimestampR\fmodifiedTime\"9\n" +
|
||
"\x04Type\x12\v\n" +
|
||
"\aUNKNOWN\x10\x00\x12\b\n" +
|
||
"\x04FILE\x10\x01\x12\r\n" +
|
||
"\tDIRECTORY\x10\x02\x12\v\n" +
|
||
"\aSYMLINK\x10\x03\"%\n" +
|
||
"\x0fReadFileRequest\x12\x12\n" +
|
||
"\x04path\x18\x01 \x01(\tR\x04path\"H\n" +
|
||
"\x10ReadFileResponse\x12\x18\n" +
|
||
"\acontent\x18\x01 \x01(\tR\acontent\x12\x1a\n" +
|
||
"\bencoding\x18\x02 \x01(\tR\bencoding\"e\n" +
|
||
"\x10WriteFileRequest\x12\x12\n" +
|
||
"\x04path\x18\x01 \x01(\tR\x04path\x12\x18\n" +
|
||
"\acontent\x18\x02 \x01(\tR\acontent\x12#\n" +
|
||
"\rcreate_parent\x18\x03 \x01(\bR\fcreateParent\"-\n" +
|
||
"\x11WriteFileResponse\x12\x18\n" +
|
||
"\asuccess\x18\x01 \x01(\bR\asuccess\"$\n" +
|
||
"\x0eReadDirRequest\x12\x12\n" +
|
||
"\x04path\x18\x01 \x01(\tR\x04path\"I\n" +
|
||
"\x0fReadDirResponse\x126\n" +
|
||
"\x05files\x18\x01 \x03(\v2 .exa.language_server_pb.FileInfoR\x05files\"P\n" +
|
||
"\x1cDeleteFileOrDirectoryRequest\x12\x12\n" +
|
||
"\x04path\x18\x01 \x01(\tR\x04path\x12\x1c\n" +
|
||
"\trecursive\x18\x02 \x01(\bR\trecursive\"9\n" +
|
||
"\x1dDeleteFileOrDirectoryResponse\x12\x18\n" +
|
||
"\asuccess\x18\x01 \x01(\bR\asuccess\"$\n" +
|
||
"\x0eStatUriRequest\x12\x12\n" +
|
||
"\x04path\x18\x01 \x01(\tR\x04path\"P\n" +
|
||
"\x0fStatUriResponse\x12=\n" +
|
||
"\tfile_info\x18\x01 \x01(\v2 .exa.language_server_pb.FileInfoR\bfileInfo\"G\n" +
|
||
"\x15WatchDirectoryRequest\x12\x12\n" +
|
||
"\x04path\x18\x01 \x01(\tR\x04path\x12\x1a\n" +
|
||
"\bpatterns\x18\x02 \x03(\tR\bpatterns\"\x85\x01\n" +
|
||
"\x16WatchDirectoryResponse\x12\x1d\n" +
|
||
"\n" +
|
||
"event_type\x18\x01 \x01(\tR\teventType\x12\x12\n" +
|
||
"\x04path\x18\x02 \x01(\tR\x04path\x128\n" +
|
||
"\ttimestamp\x18\x03 \x01(\v2\x1a.google.protobuf.TimestampR\ttimestamp\"1\n" +
|
||
"\x10HeartbeatRequest\x12\x1d\n" +
|
||
"\n" +
|
||
"session_id\x18\x01 \x01(\tR\tsessionId\"G\n" +
|
||
"\x11HeartbeatResponse\x12\x18\n" +
|
||
"\ahealthy\x18\x01 \x01(\bR\ahealthy\x12\x18\n" +
|
||
"\aversion\x18\x02 \x01(\tR\aversion\"\x12\n" +
|
||
"\x10GetStatusRequest\"\xc7\x01\n" +
|
||
"\x11GetStatusResponse\x12\x16\n" +
|
||
"\x06status\x18\x01 \x01(\tR\x06status\x12\x18\n" +
|
||
"\aversion\x18\x02 \x01(\tR\aversion\x12G\n" +
|
||
"\x04info\x18\x03 \x03(\v23.exa.language_server_pb.GetStatusResponse.InfoEntryR\x04info\x1a7\n" +
|
||
"\tInfoEntry\x12\x10\n" +
|
||
"\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n" +
|
||
"\x05value\x18\x02 \x01(\tR\x05value:\x028\x01\"\xbf\x01\n" +
|
||
"\tErrorInfo\x12\x12\n" +
|
||
"\x04code\x18\x01 \x01(\tR\x04code\x12\x18\n" +
|
||
"\amessage\x18\x02 \x01(\tR\amessage\x12H\n" +
|
||
"\adetails\x18\x03 \x03(\v2..exa.language_server_pb.ErrorInfo.DetailsEntryR\adetails\x1a:\n" +
|
||
"\fDetailsEntry\x12\x10\n" +
|
||
"\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n" +
|
||
"\x05value\x18\x02 \x01(\tR\x05value:\x028\x012\xf3\f\n" +
|
||
"\x15LanguageServerService\x12i\n" +
|
||
"\fStartCascade\x12+.exa.language_server_pb.StartCascadeRequest\x1a,.exa.language_server_pb.StartCascadeResponse\x12\x80\x01\n" +
|
||
"\x16SendUserCascadeMessage\x125.exa.language_server_pb.SendUserCascadeMessageRequest\x1a-.exa.language_server_pb.CascadeReactiveUpdate0\x01\x12\x8a\x01\n" +
|
||
"\x17CancelCascadeInvocation\x126.exa.language_server_pb.CancelCascadeInvocationRequest\x1a7.exa.language_server_pb.CancelCascadeInvocationResponse\x12\x93\x01\n" +
|
||
"\x1aAcknowledgeCascadeCodeEdit\x129.exa.language_server_pb.AcknowledgeCascadeCodeEditRequest\x1a:.exa.language_server_pb.AcknowledgeCascadeCodeEditResponse\x12\x87\x01\n" +
|
||
"\x16GetCascadeModelConfigs\x125.exa.language_server_pb.GetCascadeModelConfigsRequest\x1a6.exa.language_server_pb.GetCascadeModelConfigsResponse\x12\x87\x01\n" +
|
||
"\x16GetCommandModelConfigs\x125.exa.language_server_pb.GetCommandModelConfigsRequest\x1a6.exa.language_server_pb.GetCommandModelConfigsResponse\x12]\n" +
|
||
"\bReadFile\x12'.exa.language_server_pb.ReadFileRequest\x1a(.exa.language_server_pb.ReadFileResponse\x12`\n" +
|
||
"\tWriteFile\x12(.exa.language_server_pb.WriteFileRequest\x1a).exa.language_server_pb.WriteFileResponse\x12Z\n" +
|
||
"\aReadDir\x12&.exa.language_server_pb.ReadDirRequest\x1a'.exa.language_server_pb.ReadDirResponse\x12\x84\x01\n" +
|
||
"\x15DeleteFileOrDirectory\x124.exa.language_server_pb.DeleteFileOrDirectoryRequest\x1a5.exa.language_server_pb.DeleteFileOrDirectoryResponse\x12Z\n" +
|
||
"\aStatUri\x12&.exa.language_server_pb.StatUriRequest\x1a'.exa.language_server_pb.StatUriResponse\x12q\n" +
|
||
"\x0eWatchDirectory\x12-.exa.language_server_pb.WatchDirectoryRequest\x1a..exa.language_server_pb.WatchDirectoryResponse0\x01\x12`\n" +
|
||
"\tHeartbeat\x12(.exa.language_server_pb.HeartbeatRequest\x1a).exa.language_server_pb.HeartbeatResponse\x12`\n" +
|
||
"\tGetStatus\x12(.exa.language_server_pb.GetStatusRequest\x1a).exa.language_server_pb.GetStatusResponseB=Z;github.com/Wei-Shaw/sub2api/internal/gen/language_server_pbb\x06proto3"
|
||
|
||
var (
|
||
file_language_server_simplified_proto_rawDescOnce sync.Once
|
||
file_language_server_simplified_proto_rawDescData []byte
|
||
)
|
||
|
||
func file_language_server_simplified_proto_rawDescGZIP() []byte {
|
||
file_language_server_simplified_proto_rawDescOnce.Do(func() {
|
||
file_language_server_simplified_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_language_server_simplified_proto_rawDesc), len(file_language_server_simplified_proto_rawDesc)))
|
||
})
|
||
return file_language_server_simplified_proto_rawDescData
|
||
}
|
||
|
||
var file_language_server_simplified_proto_enumTypes = make([]protoimpl.EnumInfo, 2)
|
||
var file_language_server_simplified_proto_msgTypes = make([]protoimpl.MessageInfo, 35)
|
||
var file_language_server_simplified_proto_goTypes = []any{
|
||
(CascadeReactiveUpdate_UpdateType)(0), // 0: exa.language_server_pb.CascadeReactiveUpdate.UpdateType
|
||
(FileInfo_Type)(0), // 1: exa.language_server_pb.FileInfo.Type
|
||
(*StartCascadeRequest)(nil), // 2: exa.language_server_pb.StartCascadeRequest
|
||
(*StartCascadeResponse)(nil), // 3: exa.language_server_pb.StartCascadeResponse
|
||
(*SendUserCascadeMessageRequest)(nil), // 4: exa.language_server_pb.SendUserCascadeMessageRequest
|
||
(*CascadeReactiveUpdate)(nil), // 5: exa.language_server_pb.CascadeReactiveUpdate
|
||
(*CancelCascadeInvocationRequest)(nil), // 6: exa.language_server_pb.CancelCascadeInvocationRequest
|
||
(*CancelCascadeInvocationResponse)(nil), // 7: exa.language_server_pb.CancelCascadeInvocationResponse
|
||
(*AcknowledgeCascadeCodeEditRequest)(nil), // 8: exa.language_server_pb.AcknowledgeCascadeCodeEditRequest
|
||
(*AcknowledgeCascadeCodeEditResponse)(nil), // 9: exa.language_server_pb.AcknowledgeCascadeCodeEditResponse
|
||
(*ModelConfig)(nil), // 10: exa.language_server_pb.ModelConfig
|
||
(*GetCascadeModelConfigsRequest)(nil), // 11: exa.language_server_pb.GetCascadeModelConfigsRequest
|
||
(*GetCascadeModelConfigsResponse)(nil), // 12: exa.language_server_pb.GetCascadeModelConfigsResponse
|
||
(*GetCommandModelConfigsRequest)(nil), // 13: exa.language_server_pb.GetCommandModelConfigsRequest
|
||
(*GetCommandModelConfigsResponse)(nil), // 14: exa.language_server_pb.GetCommandModelConfigsResponse
|
||
(*FileInfo)(nil), // 15: exa.language_server_pb.FileInfo
|
||
(*ReadFileRequest)(nil), // 16: exa.language_server_pb.ReadFileRequest
|
||
(*ReadFileResponse)(nil), // 17: exa.language_server_pb.ReadFileResponse
|
||
(*WriteFileRequest)(nil), // 18: exa.language_server_pb.WriteFileRequest
|
||
(*WriteFileResponse)(nil), // 19: exa.language_server_pb.WriteFileResponse
|
||
(*ReadDirRequest)(nil), // 20: exa.language_server_pb.ReadDirRequest
|
||
(*ReadDirResponse)(nil), // 21: exa.language_server_pb.ReadDirResponse
|
||
(*DeleteFileOrDirectoryRequest)(nil), // 22: exa.language_server_pb.DeleteFileOrDirectoryRequest
|
||
(*DeleteFileOrDirectoryResponse)(nil), // 23: exa.language_server_pb.DeleteFileOrDirectoryResponse
|
||
(*StatUriRequest)(nil), // 24: exa.language_server_pb.StatUriRequest
|
||
(*StatUriResponse)(nil), // 25: exa.language_server_pb.StatUriResponse
|
||
(*WatchDirectoryRequest)(nil), // 26: exa.language_server_pb.WatchDirectoryRequest
|
||
(*WatchDirectoryResponse)(nil), // 27: exa.language_server_pb.WatchDirectoryResponse
|
||
(*HeartbeatRequest)(nil), // 28: exa.language_server_pb.HeartbeatRequest
|
||
(*HeartbeatResponse)(nil), // 29: exa.language_server_pb.HeartbeatResponse
|
||
(*GetStatusRequest)(nil), // 30: exa.language_server_pb.GetStatusRequest
|
||
(*GetStatusResponse)(nil), // 31: exa.language_server_pb.GetStatusResponse
|
||
(*ErrorInfo)(nil), // 32: exa.language_server_pb.ErrorInfo
|
||
nil, // 33: exa.language_server_pb.StartCascadeRequest.MetadataEntry
|
||
nil, // 34: exa.language_server_pb.SendUserCascadeMessageRequest.ContextEntry
|
||
nil, // 35: exa.language_server_pb.GetStatusResponse.InfoEntry
|
||
nil, // 36: exa.language_server_pb.ErrorInfo.DetailsEntry
|
||
(*timestamppb.Timestamp)(nil), // 37: google.protobuf.Timestamp
|
||
}
|
||
var file_language_server_simplified_proto_depIdxs = []int32{
|
||
33, // 0: exa.language_server_pb.StartCascadeRequest.metadata:type_name -> exa.language_server_pb.StartCascadeRequest.MetadataEntry
|
||
34, // 1: exa.language_server_pb.SendUserCascadeMessageRequest.context:type_name -> exa.language_server_pb.SendUserCascadeMessageRequest.ContextEntry
|
||
0, // 2: exa.language_server_pb.CascadeReactiveUpdate.type:type_name -> exa.language_server_pb.CascadeReactiveUpdate.UpdateType
|
||
37, // 3: exa.language_server_pb.CascadeReactiveUpdate.timestamp:type_name -> google.protobuf.Timestamp
|
||
10, // 4: exa.language_server_pb.GetCascadeModelConfigsResponse.models:type_name -> exa.language_server_pb.ModelConfig
|
||
10, // 5: exa.language_server_pb.GetCommandModelConfigsResponse.models:type_name -> exa.language_server_pb.ModelConfig
|
||
1, // 6: exa.language_server_pb.FileInfo.type:type_name -> exa.language_server_pb.FileInfo.Type
|
||
37, // 7: exa.language_server_pb.FileInfo.modified_time:type_name -> google.protobuf.Timestamp
|
||
15, // 8: exa.language_server_pb.ReadDirResponse.files:type_name -> exa.language_server_pb.FileInfo
|
||
15, // 9: exa.language_server_pb.StatUriResponse.file_info:type_name -> exa.language_server_pb.FileInfo
|
||
37, // 10: exa.language_server_pb.WatchDirectoryResponse.timestamp:type_name -> google.protobuf.Timestamp
|
||
35, // 11: exa.language_server_pb.GetStatusResponse.info:type_name -> exa.language_server_pb.GetStatusResponse.InfoEntry
|
||
36, // 12: exa.language_server_pb.ErrorInfo.details:type_name -> exa.language_server_pb.ErrorInfo.DetailsEntry
|
||
2, // 13: exa.language_server_pb.LanguageServerService.StartCascade:input_type -> exa.language_server_pb.StartCascadeRequest
|
||
4, // 14: exa.language_server_pb.LanguageServerService.SendUserCascadeMessage:input_type -> exa.language_server_pb.SendUserCascadeMessageRequest
|
||
6, // 15: exa.language_server_pb.LanguageServerService.CancelCascadeInvocation:input_type -> exa.language_server_pb.CancelCascadeInvocationRequest
|
||
8, // 16: exa.language_server_pb.LanguageServerService.AcknowledgeCascadeCodeEdit:input_type -> exa.language_server_pb.AcknowledgeCascadeCodeEditRequest
|
||
11, // 17: exa.language_server_pb.LanguageServerService.GetCascadeModelConfigs:input_type -> exa.language_server_pb.GetCascadeModelConfigsRequest
|
||
13, // 18: exa.language_server_pb.LanguageServerService.GetCommandModelConfigs:input_type -> exa.language_server_pb.GetCommandModelConfigsRequest
|
||
16, // 19: exa.language_server_pb.LanguageServerService.ReadFile:input_type -> exa.language_server_pb.ReadFileRequest
|
||
18, // 20: exa.language_server_pb.LanguageServerService.WriteFile:input_type -> exa.language_server_pb.WriteFileRequest
|
||
20, // 21: exa.language_server_pb.LanguageServerService.ReadDir:input_type -> exa.language_server_pb.ReadDirRequest
|
||
22, // 22: exa.language_server_pb.LanguageServerService.DeleteFileOrDirectory:input_type -> exa.language_server_pb.DeleteFileOrDirectoryRequest
|
||
24, // 23: exa.language_server_pb.LanguageServerService.StatUri:input_type -> exa.language_server_pb.StatUriRequest
|
||
26, // 24: exa.language_server_pb.LanguageServerService.WatchDirectory:input_type -> exa.language_server_pb.WatchDirectoryRequest
|
||
28, // 25: exa.language_server_pb.LanguageServerService.Heartbeat:input_type -> exa.language_server_pb.HeartbeatRequest
|
||
30, // 26: exa.language_server_pb.LanguageServerService.GetStatus:input_type -> exa.language_server_pb.GetStatusRequest
|
||
3, // 27: exa.language_server_pb.LanguageServerService.StartCascade:output_type -> exa.language_server_pb.StartCascadeResponse
|
||
5, // 28: exa.language_server_pb.LanguageServerService.SendUserCascadeMessage:output_type -> exa.language_server_pb.CascadeReactiveUpdate
|
||
7, // 29: exa.language_server_pb.LanguageServerService.CancelCascadeInvocation:output_type -> exa.language_server_pb.CancelCascadeInvocationResponse
|
||
9, // 30: exa.language_server_pb.LanguageServerService.AcknowledgeCascadeCodeEdit:output_type -> exa.language_server_pb.AcknowledgeCascadeCodeEditResponse
|
||
12, // 31: exa.language_server_pb.LanguageServerService.GetCascadeModelConfigs:output_type -> exa.language_server_pb.GetCascadeModelConfigsResponse
|
||
14, // 32: exa.language_server_pb.LanguageServerService.GetCommandModelConfigs:output_type -> exa.language_server_pb.GetCommandModelConfigsResponse
|
||
17, // 33: exa.language_server_pb.LanguageServerService.ReadFile:output_type -> exa.language_server_pb.ReadFileResponse
|
||
19, // 34: exa.language_server_pb.LanguageServerService.WriteFile:output_type -> exa.language_server_pb.WriteFileResponse
|
||
21, // 35: exa.language_server_pb.LanguageServerService.ReadDir:output_type -> exa.language_server_pb.ReadDirResponse
|
||
23, // 36: exa.language_server_pb.LanguageServerService.DeleteFileOrDirectory:output_type -> exa.language_server_pb.DeleteFileOrDirectoryResponse
|
||
25, // 37: exa.language_server_pb.LanguageServerService.StatUri:output_type -> exa.language_server_pb.StatUriResponse
|
||
27, // 38: exa.language_server_pb.LanguageServerService.WatchDirectory:output_type -> exa.language_server_pb.WatchDirectoryResponse
|
||
29, // 39: exa.language_server_pb.LanguageServerService.Heartbeat:output_type -> exa.language_server_pb.HeartbeatResponse
|
||
31, // 40: exa.language_server_pb.LanguageServerService.GetStatus:output_type -> exa.language_server_pb.GetStatusResponse
|
||
27, // [27:41] is the sub-list for method output_type
|
||
13, // [13:27] is the sub-list for method input_type
|
||
13, // [13:13] is the sub-list for extension type_name
|
||
13, // [13:13] is the sub-list for extension extendee
|
||
0, // [0:13] is the sub-list for field type_name
|
||
}
|
||
|
||
func init() { file_language_server_simplified_proto_init() }
|
||
func file_language_server_simplified_proto_init() {
|
||
if File_language_server_simplified_proto != nil {
|
||
return
|
||
}
|
||
type x struct{}
|
||
out := protoimpl.TypeBuilder{
|
||
File: protoimpl.DescBuilder{
|
||
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
||
RawDescriptor: unsafe.Slice(unsafe.StringData(file_language_server_simplified_proto_rawDesc), len(file_language_server_simplified_proto_rawDesc)),
|
||
NumEnums: 2,
|
||
NumMessages: 35,
|
||
NumExtensions: 0,
|
||
NumServices: 1,
|
||
},
|
||
GoTypes: file_language_server_simplified_proto_goTypes,
|
||
DependencyIndexes: file_language_server_simplified_proto_depIdxs,
|
||
EnumInfos: file_language_server_simplified_proto_enumTypes,
|
||
MessageInfos: file_language_server_simplified_proto_msgTypes,
|
||
}.Build()
|
||
File_language_server_simplified_proto = out.File
|
||
file_language_server_simplified_proto_goTypes = nil
|
||
file_language_server_simplified_proto_depIdxs = nil
|
||
}
|