pb

package
v0.0.0-...-de45444 Latest Latest
Warning

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

Go to latest
Published: Jun 17, 2026 License: MIT Imports: 9 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

View Source
const (
	EnsembleService_GetIdentity_FullMethodName           = "/ensemble.api.EnsembleService/GetIdentity"
	EnsembleService_GetStatus_FullMethodName             = "/ensemble.api.EnsembleService/GetStatus"
	EnsembleService_VerifyBinding_FullMethodName         = "/ensemble.api.EnsembleService/VerifyBinding"
	EnsembleService_ListContacts_FullMethodName          = "/ensemble.api.EnsembleService/ListContacts"
	EnsembleService_AddContact_FullMethodName            = "/ensemble.api.EnsembleService/AddContact"
	EnsembleService_RemoveContact_FullMethodName         = "/ensemble.api.EnsembleService/RemoveContact"
	EnsembleService_Connect_FullMethodName               = "/ensemble.api.EnsembleService/Connect"
	EnsembleService_AcceptConnection_FullMethodName      = "/ensemble.api.EnsembleService/AcceptConnection"
	EnsembleService_RejectConnection_FullMethodName      = "/ensemble.api.EnsembleService/RejectConnection"
	EnsembleService_ListPeers_FullMethodName             = "/ensemble.api.EnsembleService/ListPeers"
	EnsembleService_Disconnect_FullMethodName            = "/ensemble.api.EnsembleService/Disconnect"
	EnsembleService_SendMessage_FullMethodName           = "/ensemble.api.EnsembleService/SendMessage"
	EnsembleService_GetChatHistory_FullMethodName        = "/ensemble.api.EnsembleService/GetChatHistory"
	EnsembleService_DeleteChatMessage_FullMethodName     = "/ensemble.api.EnsembleService/DeleteChatMessage"
	EnsembleService_ClearChatHistory_FullMethodName      = "/ensemble.api.EnsembleService/ClearChatHistory"
	EnsembleService_SendFile_FullMethodName              = "/ensemble.api.EnsembleService/SendFile"
	EnsembleService_AcceptFile_FullMethodName            = "/ensemble.api.EnsembleService/AcceptFile"
	EnsembleService_RejectFile_FullMethodName            = "/ensemble.api.EnsembleService/RejectFile"
	EnsembleService_CancelTransfer_FullMethodName        = "/ensemble.api.EnsembleService/CancelTransfer"
	EnsembleService_AddNode_FullMethodName               = "/ensemble.api.EnsembleService/AddNode"
	EnsembleService_GetDebugInfo_FullMethodName          = "/ensemble.api.EnsembleService/GetDebugInfo"
	EnsembleService_Subscribe_FullMethodName             = "/ensemble.api.EnsembleService/Subscribe"
	EnsembleService_RegisterService_FullMethodName       = "/ensemble.api.EnsembleService/RegisterService"
	EnsembleService_AttachService_FullMethodName         = "/ensemble.api.EnsembleService/AttachService"
	EnsembleService_DeleteService_FullMethodName         = "/ensemble.api.EnsembleService/DeleteService"
	EnsembleService_RotateAdminKey_FullMethodName        = "/ensemble.api.EnsembleService/RotateAdminKey"
	EnsembleService_ListServiceCommands_FullMethodName   = "/ensemble.api.EnsembleService/ListServiceCommands"
	EnsembleService_SendCommand_FullMethodName           = "/ensemble.api.EnsembleService/SendCommand"
	EnsembleService_GetMetrics_FullMethodName            = "/ensemble.api.EnsembleService/GetMetrics"
	EnsembleService_StreamMetrics_FullMethodName         = "/ensemble.api.EnsembleService/StreamMetrics"
	EnsembleService_StreamServiceLogs_FullMethodName     = "/ensemble.api.EnsembleService/StreamServiceLogs"
	EnsembleService_InstallService_FullMethodName        = "/ensemble.api.EnsembleService/InstallService"
	EnsembleService_UpgradeService_FullMethodName        = "/ensemble.api.EnsembleService/UpgradeService"
	EnsembleService_UninstallService_FullMethodName      = "/ensemble.api.EnsembleService/UninstallService"
	EnsembleService_RollbackService_FullMethodName       = "/ensemble.api.EnsembleService/RollbackService"
	EnsembleService_ListInstalledServices_FullMethodName = "/ensemble.api.EnsembleService/ListInstalledServices"
	EnsembleService_StartInstalledService_FullMethodName = "/ensemble.api.EnsembleService/StartInstalledService"
	EnsembleService_StopInstalledService_FullMethodName  = "/ensemble.api.EnsembleService/StopInstalledService"
	EnsembleService_BrokerLaunch_FullMethodName          = "/ensemble.api.EnsembleService/BrokerLaunch"
	EnsembleService_SetServiceEnv_FullMethodName         = "/ensemble.api.EnsembleService/SetServiceEnv"
	EnsembleService_GetServiceEnv_FullMethodName         = "/ensemble.api.EnsembleService/GetServiceEnv"
	EnsembleService_AddRegistry_FullMethodName           = "/ensemble.api.EnsembleService/AddRegistry"
	EnsembleService_RemoveRegistry_FullMethodName        = "/ensemble.api.EnsembleService/RemoveRegistry"
	EnsembleService_ListRegistries_FullMethodName        = "/ensemble.api.EnsembleService/ListRegistries"
	EnsembleService_SearchRegistries_FullMethodName      = "/ensemble.api.EnsembleService/SearchRegistries"
)

Variables

View Source
var (
	ACL_name = map[int32]string{
		0: "ACL_UNSPECIFIED",
		1: "ACL_CONTACTS",
		2: "ACL_ALLOWLIST",
		3: "ACL_PUBLIC",
	}
	ACL_value = map[string]int32{
		"ACL_UNSPECIFIED": 0,
		"ACL_CONTACTS":    1,
		"ACL_ALLOWLIST":   2,
		"ACL_PUBLIC":      3,
	}
)

Enum value maps for ACL.

View Source
var (
	ServiceTransport_name = map[int32]string{
		0: "SERVICE_TRANSPORT_UNSPECIFIED",
		1: "SERVICE_TRANSPORT_CHAT",
		2: "SERVICE_TRANSPORT_HTTP",
		3: "SERVICE_TRANSPORT_RPC",
	}
	ServiceTransport_value = map[string]int32{
		"SERVICE_TRANSPORT_UNSPECIFIED": 0,
		"SERVICE_TRANSPORT_CHAT":        1,
		"SERVICE_TRANSPORT_HTTP":        2,
		"SERVICE_TRANSPORT_RPC":         3,
	}
)

Enum value maps for ServiceTransport.

View Source
var EnsembleService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "ensemble.api.EnsembleService",
	HandlerType: (*EnsembleServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetIdentity",
			Handler:    _EnsembleService_GetIdentity_Handler,
		},
		{
			MethodName: "GetStatus",
			Handler:    _EnsembleService_GetStatus_Handler,
		},
		{
			MethodName: "VerifyBinding",
			Handler:    _EnsembleService_VerifyBinding_Handler,
		},
		{
			MethodName: "ListContacts",
			Handler:    _EnsembleService_ListContacts_Handler,
		},
		{
			MethodName: "AddContact",
			Handler:    _EnsembleService_AddContact_Handler,
		},
		{
			MethodName: "RemoveContact",
			Handler:    _EnsembleService_RemoveContact_Handler,
		},
		{
			MethodName: "Connect",
			Handler:    _EnsembleService_Connect_Handler,
		},
		{
			MethodName: "AcceptConnection",
			Handler:    _EnsembleService_AcceptConnection_Handler,
		},
		{
			MethodName: "RejectConnection",
			Handler:    _EnsembleService_RejectConnection_Handler,
		},
		{
			MethodName: "ListPeers",
			Handler:    _EnsembleService_ListPeers_Handler,
		},
		{
			MethodName: "Disconnect",
			Handler:    _EnsembleService_Disconnect_Handler,
		},
		{
			MethodName: "SendMessage",
			Handler:    _EnsembleService_SendMessage_Handler,
		},
		{
			MethodName: "GetChatHistory",
			Handler:    _EnsembleService_GetChatHistory_Handler,
		},
		{
			MethodName: "DeleteChatMessage",
			Handler:    _EnsembleService_DeleteChatMessage_Handler,
		},
		{
			MethodName: "ClearChatHistory",
			Handler:    _EnsembleService_ClearChatHistory_Handler,
		},
		{
			MethodName: "AcceptFile",
			Handler:    _EnsembleService_AcceptFile_Handler,
		},
		{
			MethodName: "RejectFile",
			Handler:    _EnsembleService_RejectFile_Handler,
		},
		{
			MethodName: "CancelTransfer",
			Handler:    _EnsembleService_CancelTransfer_Handler,
		},
		{
			MethodName: "AddNode",
			Handler:    _EnsembleService_AddNode_Handler,
		},
		{
			MethodName: "GetDebugInfo",
			Handler:    _EnsembleService_GetDebugInfo_Handler,
		},
		{
			MethodName: "DeleteService",
			Handler:    _EnsembleService_DeleteService_Handler,
		},
		{
			MethodName: "RotateAdminKey",
			Handler:    _EnsembleService_RotateAdminKey_Handler,
		},
		{
			MethodName: "ListServiceCommands",
			Handler:    _EnsembleService_ListServiceCommands_Handler,
		},
		{
			MethodName: "GetMetrics",
			Handler:    _EnsembleService_GetMetrics_Handler,
		},
		{
			MethodName: "UninstallService",
			Handler:    _EnsembleService_UninstallService_Handler,
		},
		{
			MethodName: "RollbackService",
			Handler:    _EnsembleService_RollbackService_Handler,
		},
		{
			MethodName: "ListInstalledServices",
			Handler:    _EnsembleService_ListInstalledServices_Handler,
		},
		{
			MethodName: "StartInstalledService",
			Handler:    _EnsembleService_StartInstalledService_Handler,
		},
		{
			MethodName: "StopInstalledService",
			Handler:    _EnsembleService_StopInstalledService_Handler,
		},
		{
			MethodName: "BrokerLaunch",
			Handler:    _EnsembleService_BrokerLaunch_Handler,
		},
		{
			MethodName: "SetServiceEnv",
			Handler:    _EnsembleService_SetServiceEnv_Handler,
		},
		{
			MethodName: "GetServiceEnv",
			Handler:    _EnsembleService_GetServiceEnv_Handler,
		},
		{
			MethodName: "AddRegistry",
			Handler:    _EnsembleService_AddRegistry_Handler,
		},
		{
			MethodName: "RemoveRegistry",
			Handler:    _EnsembleService_RemoveRegistry_Handler,
		},
		{
			MethodName: "ListRegistries",
			Handler:    _EnsembleService_ListRegistries_Handler,
		},
		{
			MethodName: "SearchRegistries",
			Handler:    _EnsembleService_SearchRegistries_Handler,
		},
	},
	Streams: []grpc.StreamDesc{
		{
			StreamName:    "SendFile",
			Handler:       _EnsembleService_SendFile_Handler,
			ServerStreams: true,
		},
		{
			StreamName:    "Subscribe",
			Handler:       _EnsembleService_Subscribe_Handler,
			ServerStreams: true,
		},
		{
			StreamName:    "RegisterService",
			Handler:       _EnsembleService_RegisterService_Handler,
			ServerStreams: true,
			ClientStreams: true,
		},
		{
			StreamName:    "AttachService",
			Handler:       _EnsembleService_AttachService_Handler,
			ServerStreams: true,
			ClientStreams: true,
		},
		{
			StreamName:    "SendCommand",
			Handler:       _EnsembleService_SendCommand_Handler,
			ServerStreams: true,
		},
		{
			StreamName:    "StreamMetrics",
			Handler:       _EnsembleService_StreamMetrics_Handler,
			ServerStreams: true,
		},
		{
			StreamName:    "StreamServiceLogs",
			Handler:       _EnsembleService_StreamServiceLogs_Handler,
			ServerStreams: true,
		},
		{
			StreamName:    "InstallService",
			Handler:       _EnsembleService_InstallService_Handler,
			ServerStreams: true,
		},
		{
			StreamName:    "UpgradeService",
			Handler:       _EnsembleService_UpgradeService_Handler,
			ServerStreams: true,
		},
	},
	Metadata: "ensemble.proto",
}

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

View Source
var File_ensemble_proto protoreflect.FileDescriptor

Functions

func RegisterEnsembleServiceServer

func RegisterEnsembleServiceServer(s grpc.ServiceRegistrar, srv EnsembleServiceServer)

Types

type ACL

type ACL int32

ACL declares who may open a connection to a service. The zero value is the UNSPECIFIED sentinel (mirroring ServiceTransport) and is treated as default-deny: a manifest that omits `acl` is locked down out of the box rather than accidentally exposed network-wide. Per ADR-0002, a service must explicitly opt into a tier (or set decides_connections). Renumbered from the old PUBLIC=0 layout — see ticket bff73bcc.

const (
	ACL_ACL_UNSPECIFIED ACL = 0 // default-deny; reject unknown-peer connections
	ACL_ACL_CONTACTS    ACL = 1
	ACL_ACL_ALLOWLIST   ACL = 2
	ACL_ACL_PUBLIC      ACL = 3
)

func (ACL) Descriptor

func (ACL) Descriptor() protoreflect.EnumDescriptor

func (ACL) Enum

func (x ACL) Enum() *ACL

func (ACL) EnumDescriptor deprecated

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

Deprecated: Use ACL.Descriptor instead.

func (ACL) Number

func (x ACL) Number() protoreflect.EnumNumber

func (ACL) String

func (x ACL) String() string

func (ACL) Type

func (ACL) Type() protoreflect.EnumType

type AcceptConnectionRequest

type AcceptConnectionRequest struct {
	Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` // requester's address
	// contains filtered or unexported fields
}

func (*AcceptConnectionRequest) Descriptor deprecated

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

Deprecated: Use AcceptConnectionRequest.ProtoReflect.Descriptor instead.

func (*AcceptConnectionRequest) GetAddress

func (x *AcceptConnectionRequest) GetAddress() string

func (*AcceptConnectionRequest) ProtoMessage

func (*AcceptConnectionRequest) ProtoMessage()

func (*AcceptConnectionRequest) ProtoReflect

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

func (*AcceptConnectionRequest) Reset

func (x *AcceptConnectionRequest) Reset()

func (*AcceptConnectionRequest) String

func (x *AcceptConnectionRequest) String() string

type AcceptConnectionResponse

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

func (*AcceptConnectionResponse) Descriptor deprecated

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

Deprecated: Use AcceptConnectionResponse.ProtoReflect.Descriptor instead.

func (*AcceptConnectionResponse) ProtoMessage

func (*AcceptConnectionResponse) ProtoMessage()

func (*AcceptConnectionResponse) ProtoReflect

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

func (*AcceptConnectionResponse) Reset

func (x *AcceptConnectionResponse) Reset()

func (*AcceptConnectionResponse) String

func (x *AcceptConnectionResponse) String() string

type AcceptFileRequest

type AcceptFileRequest struct {
	TransferId string `protobuf:"bytes,1,opt,name=transfer_id,json=transferId,proto3" json:"transfer_id,omitempty"`
	SavePath   string `protobuf:"bytes,2,opt,name=save_path,json=savePath,proto3" json:"save_path,omitempty"` // where to save the file
	// contains filtered or unexported fields
}

func (*AcceptFileRequest) Descriptor deprecated

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

Deprecated: Use AcceptFileRequest.ProtoReflect.Descriptor instead.

func (*AcceptFileRequest) GetSavePath

func (x *AcceptFileRequest) GetSavePath() string

func (*AcceptFileRequest) GetTransferId

func (x *AcceptFileRequest) GetTransferId() string

func (*AcceptFileRequest) ProtoMessage

func (*AcceptFileRequest) ProtoMessage()

func (*AcceptFileRequest) ProtoReflect

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

func (*AcceptFileRequest) Reset

func (x *AcceptFileRequest) Reset()

func (*AcceptFileRequest) String

func (x *AcceptFileRequest) String() string

type AcceptFileResponse

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

func (*AcceptFileResponse) Descriptor deprecated

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

Deprecated: Use AcceptFileResponse.ProtoReflect.Descriptor instead.

func (*AcceptFileResponse) ProtoMessage

func (*AcceptFileResponse) ProtoMessage()

func (*AcceptFileResponse) ProtoReflect

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

func (*AcceptFileResponse) Reset

func (x *AcceptFileResponse) Reset()

func (*AcceptFileResponse) String

func (x *AcceptFileResponse) String() string

type AddContactRequest

type AddContactRequest struct {
	Address   string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
	Alias     string `protobuf:"bytes,2,opt,name=alias,proto3" json:"alias,omitempty"`
	PublicKey []byte `protobuf:"bytes,3,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"`
	// contains filtered or unexported fields
}

func (*AddContactRequest) Descriptor deprecated

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

Deprecated: Use AddContactRequest.ProtoReflect.Descriptor instead.

func (*AddContactRequest) GetAddress

func (x *AddContactRequest) GetAddress() string

func (*AddContactRequest) GetAlias

func (x *AddContactRequest) GetAlias() string

func (*AddContactRequest) GetPublicKey

func (x *AddContactRequest) GetPublicKey() []byte

func (*AddContactRequest) ProtoMessage

func (*AddContactRequest) ProtoMessage()

func (*AddContactRequest) ProtoReflect

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

func (*AddContactRequest) Reset

func (x *AddContactRequest) Reset()

func (*AddContactRequest) String

func (x *AddContactRequest) String() string

type AddContactResponse

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

func (*AddContactResponse) Descriptor deprecated

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

Deprecated: Use AddContactResponse.ProtoReflect.Descriptor instead.

func (*AddContactResponse) ProtoMessage

func (*AddContactResponse) ProtoMessage()

func (*AddContactResponse) ProtoReflect

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

func (*AddContactResponse) Reset

func (x *AddContactResponse) Reset()

func (*AddContactResponse) String

func (x *AddContactResponse) String() string

type AddNodeRequest

type AddNodeRequest struct {
	OnionAddress string `protobuf:"bytes,1,opt,name=onion_address,json=onionAddress,proto3" json:"onion_address,omitempty"`
	// contains filtered or unexported fields
}

func (*AddNodeRequest) Descriptor deprecated

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

Deprecated: Use AddNodeRequest.ProtoReflect.Descriptor instead.

func (*AddNodeRequest) GetOnionAddress

func (x *AddNodeRequest) GetOnionAddress() string

func (*AddNodeRequest) ProtoMessage

func (*AddNodeRequest) ProtoMessage()

func (*AddNodeRequest) ProtoReflect

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

func (*AddNodeRequest) Reset

func (x *AddNodeRequest) Reset()

func (*AddNodeRequest) String

func (x *AddNodeRequest) String() string

type AddNodeResponse

type AddNodeResponse struct {
	PeersFound int32 `protobuf:"varint,1,opt,name=peers_found,json=peersFound,proto3" json:"peers_found,omitempty"`
	// contains filtered or unexported fields
}

func (*AddNodeResponse) Descriptor deprecated

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

Deprecated: Use AddNodeResponse.ProtoReflect.Descriptor instead.

func (*AddNodeResponse) GetPeersFound

func (x *AddNodeResponse) GetPeersFound() int32

func (*AddNodeResponse) ProtoMessage

func (*AddNodeResponse) ProtoMessage()

func (*AddNodeResponse) ProtoReflect

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

func (*AddNodeResponse) Reset

func (x *AddNodeResponse) Reset()

func (*AddNodeResponse) String

func (x *AddNodeResponse) String() string

type AddRegistryRequest

type AddRegistryRequest struct {
	Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
	// contains filtered or unexported fields
}

func (*AddRegistryRequest) Descriptor deprecated

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

Deprecated: Use AddRegistryRequest.ProtoReflect.Descriptor instead.

func (*AddRegistryRequest) GetAddress

func (x *AddRegistryRequest) GetAddress() string

func (*AddRegistryRequest) ProtoMessage

func (*AddRegistryRequest) ProtoMessage()

func (*AddRegistryRequest) ProtoReflect

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

func (*AddRegistryRequest) Reset

func (x *AddRegistryRequest) Reset()

func (*AddRegistryRequest) String

func (x *AddRegistryRequest) String() string

type AddRegistryResponse

type AddRegistryResponse struct {
	Registry *RegistryInfo `protobuf:"bytes,1,opt,name=registry,proto3" json:"registry,omitempty"`
	// contains filtered or unexported fields
}

func (*AddRegistryResponse) Descriptor deprecated

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

Deprecated: Use AddRegistryResponse.ProtoReflect.Descriptor instead.

func (*AddRegistryResponse) GetRegistry

func (x *AddRegistryResponse) GetRegistry() *RegistryInfo

func (*AddRegistryResponse) ProtoMessage

func (*AddRegistryResponse) ProtoMessage()

func (*AddRegistryResponse) ProtoReflect

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

func (*AddRegistryResponse) Reset

func (x *AddRegistryResponse) Reset()

func (*AddRegistryResponse) String

func (x *AddRegistryResponse) String() string

type BrokerLaunchRequest

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

func (*BrokerLaunchRequest) Descriptor deprecated

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

Deprecated: Use BrokerLaunchRequest.ProtoReflect.Descriptor instead.

func (*BrokerLaunchRequest) GetName

func (x *BrokerLaunchRequest) GetName() string

func (*BrokerLaunchRequest) ProtoMessage

func (*BrokerLaunchRequest) ProtoMessage()

func (*BrokerLaunchRequest) ProtoReflect

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

func (*BrokerLaunchRequest) Reset

func (x *BrokerLaunchRequest) Reset()

func (*BrokerLaunchRequest) String

func (x *BrokerLaunchRequest) String() string

type BrokerLaunchResponse

type BrokerLaunchResponse struct {
	Ready bool `protobuf:"varint,1,opt,name=ready,proto3" json:"ready,omitempty"`
	// reason is the blocked explanation when ready is false (a missing-runtime
	// line suitable to show as-is), "" when ready.
	Reason string `protobuf:"bytes,2,opt,name=reason,proto3" json:"reason,omitempty"`
	// command is the absolute argv to exec: the client entrypoint resolved
	// against the current release root, followed by its declared arguments.
	Command []string `protobuf:"bytes,3,rep,name=command,proto3" json:"command,omitempty"`
	// env is the ENSEMBLE_* spawn contract for the launched client:
	// ENSEMBLE_SOCKET, ENSEMBLE_SERVICE_NAME, ENSEMBLE_SERVICE_TOKEN (the scoped
	// launch grant), ENSEMBLE_DATA_DIR. The app sets these on the child; the
	// client reads them to reach and attach to its service.
	Env map[string]string `` /* 133-byte string literal not displayed */
	// working_dir is the directory to exec the client in — the current release
	// root, matching how the supervisor runs a backend.
	WorkingDir string `protobuf:"bytes,5,opt,name=working_dir,json=workingDir,proto3" json:"working_dir,omitempty"`
	// contains filtered or unexported fields
}

BrokerLaunchResponse is the launch spec the app needs to exec a service's launched client. When ready is false the client cannot be launched right now (e.g. a declared runtime is missing) and reason carries the operator-facing explanation verbatim; command/env are empty and NO grant was minted.

func (*BrokerLaunchResponse) Descriptor deprecated

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

Deprecated: Use BrokerLaunchResponse.ProtoReflect.Descriptor instead.

func (*BrokerLaunchResponse) GetCommand

func (x *BrokerLaunchResponse) GetCommand() []string

func (*BrokerLaunchResponse) GetEnv

func (x *BrokerLaunchResponse) GetEnv() map[string]string

func (*BrokerLaunchResponse) GetReady

func (x *BrokerLaunchResponse) GetReady() bool

func (*BrokerLaunchResponse) GetReason

func (x *BrokerLaunchResponse) GetReason() string

func (*BrokerLaunchResponse) GetWorkingDir

func (x *BrokerLaunchResponse) GetWorkingDir() string

func (*BrokerLaunchResponse) ProtoMessage

func (*BrokerLaunchResponse) ProtoMessage()

func (*BrokerLaunchResponse) ProtoReflect

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

func (*BrokerLaunchResponse) Reset

func (x *BrokerLaunchResponse) Reset()

func (*BrokerLaunchResponse) String

func (x *BrokerLaunchResponse) String() string

type CancelTransferRequest

type CancelTransferRequest struct {
	TransferId string `protobuf:"bytes,1,opt,name=transfer_id,json=transferId,proto3" json:"transfer_id,omitempty"`
	// contains filtered or unexported fields
}

CancelTransfer aborts an in-flight transfer in either direction: an outgoing send or an accepted inbound receive (the daemon routes by which side owns the id). Cancelling a receive tears down the stream and removes the partial file.

func (*CancelTransferRequest) Descriptor deprecated

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

Deprecated: Use CancelTransferRequest.ProtoReflect.Descriptor instead.

func (*CancelTransferRequest) GetTransferId

func (x *CancelTransferRequest) GetTransferId() string

func (*CancelTransferRequest) ProtoMessage

func (*CancelTransferRequest) ProtoMessage()

func (*CancelTransferRequest) ProtoReflect

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

func (*CancelTransferRequest) Reset

func (x *CancelTransferRequest) Reset()

func (*CancelTransferRequest) String

func (x *CancelTransferRequest) String() string

type CancelTransferResponse

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

func (*CancelTransferResponse) Descriptor deprecated

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

Deprecated: Use CancelTransferResponse.ProtoReflect.Descriptor instead.

func (*CancelTransferResponse) ProtoMessage

func (*CancelTransferResponse) ProtoMessage()

func (*CancelTransferResponse) ProtoReflect

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

func (*CancelTransferResponse) Reset

func (x *CancelTransferResponse) Reset()

func (*CancelTransferResponse) String

func (x *CancelTransferResponse) String() string

type CapabilitySummary

type CapabilitySummary struct {
	Transport          string   `protobuf:"bytes,1,opt,name=transport,proto3" json:"transport,omitempty"`
	Acl                string   `protobuf:"bytes,2,opt,name=acl,proto3" json:"acl,omitempty"`
	DecidesConnections bool     `protobuf:"varint,3,opt,name=decides_connections,json=decidesConnections,proto3" json:"decides_connections,omitempty"`
	HandlesFiles       bool     `protobuf:"varint,4,opt,name=handles_files,json=handlesFiles,proto3" json:"handles_files,omitempty"`
	Commands           []string `protobuf:"bytes,5,rep,name=commands,proto3" json:"commands,omitempty"`
	MaxPayloadBytes    int64    `protobuf:"varint,6,opt,name=max_payload_bytes,json=maxPayloadBytes,proto3" json:"max_payload_bytes,omitempty"`
	// verified = the artifact hash was checked against a supplied or
	// forge-published expectation. Local/dev installs are never verified.
	Verified bool `protobuf:"varint,7,opt,name=verified,proto3" json:"verified,omitempty"`
	// grown lists capability axes exceeding the previously-accepted set
	// (upgrades only) — the re-consent trigger.
	Grown []string `protobuf:"bytes,8,rep,name=grown,proto3" json:"grown,omitempty"`
	// sub_identities = the service may register additional identities under its
	// own `<name>/*` prefix at runtime (ADR-0007 §2), e.g. a room-host minting
	// one dialable identity per room. Shown at consent so the operator knows the
	// service owns a namespace, not just one address.
	SubIdentities bool `protobuf:"varint,9,opt,name=sub_identities,json=subIdentities,proto3" json:"sub_identities,omitempty"`
	// frontend is the ADR-0010 tier the service brings: ""/none |
	// declarative_page | launched_client. Surfaced pre-install so the lobby /
	// Services page knows an installed-or-installable service has a launchable
	// face (and which tier) without downloading. Consent-relevant: launched_client
	// means installing and running a desktop binary.
	Frontend string `protobuf:"bytes,10,opt,name=frontend,proto3" json:"frontend,omitempty"`
	// contains filtered or unexported fields
}

CapabilitySummary is what the operator consents to at install time — rendered by the CLI prompt and the app's install modal.

func (*CapabilitySummary) Descriptor deprecated

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

Deprecated: Use CapabilitySummary.ProtoReflect.Descriptor instead.

func (*CapabilitySummary) GetAcl

func (x *CapabilitySummary) GetAcl() string

func (*CapabilitySummary) GetCommands

func (x *CapabilitySummary) GetCommands() []string

func (*CapabilitySummary) GetDecidesConnections

func (x *CapabilitySummary) GetDecidesConnections() bool

func (*CapabilitySummary) GetFrontend

func (x *CapabilitySummary) GetFrontend() string

func (*CapabilitySummary) GetGrown

func (x *CapabilitySummary) GetGrown() []string

func (*CapabilitySummary) GetHandlesFiles

func (x *CapabilitySummary) GetHandlesFiles() bool

func (*CapabilitySummary) GetMaxPayloadBytes

func (x *CapabilitySummary) GetMaxPayloadBytes() int64

func (*CapabilitySummary) GetSubIdentities

func (x *CapabilitySummary) GetSubIdentities() bool

func (*CapabilitySummary) GetTransport

func (x *CapabilitySummary) GetTransport() string

func (*CapabilitySummary) GetVerified

func (x *CapabilitySummary) GetVerified() bool

func (*CapabilitySummary) ProtoMessage

func (*CapabilitySummary) ProtoMessage()

func (*CapabilitySummary) ProtoReflect

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

func (*CapabilitySummary) Reset

func (x *CapabilitySummary) Reset()

func (*CapabilitySummary) String

func (x *CapabilitySummary) String() string

type ChatMessage

type ChatMessage struct {
	Id        string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	FromAddr  string `protobuf:"bytes,2,opt,name=from_addr,json=fromAddr,proto3" json:"from_addr,omitempty"`
	ToAddr    string `protobuf:"bytes,3,opt,name=to_addr,json=toAddr,proto3" json:"to_addr,omitempty"`
	Text      string `protobuf:"bytes,4,opt,name=text,proto3" json:"text,omitempty"`
	SentAtMs  int64  `protobuf:"varint,5,opt,name=sent_at_ms,json=sentAtMs,proto3" json:"sent_at_ms,omitempty"`    // unix millis
	AckedAtMs int64  `protobuf:"varint,6,opt,name=acked_at_ms,json=ackedAtMs,proto3" json:"acked_at_ms,omitempty"` // unix millis; 0 = not acked
	Direction string `protobuf:"bytes,7,opt,name=direction,proto3" json:"direction,omitempty"`                     // "outgoing" | "incoming"
	// contains filtered or unexported fields
}

ChatMessage mirrors internal/chat.Message on the wire. Direction is the daemon's view: OUTGOING = sent by this node, INCOMING = received from peer.

func (*ChatMessage) Descriptor deprecated

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

Deprecated: Use ChatMessage.ProtoReflect.Descriptor instead.

func (*ChatMessage) GetAckedAtMs

func (x *ChatMessage) GetAckedAtMs() int64

func (*ChatMessage) GetDirection

func (x *ChatMessage) GetDirection() string

func (*ChatMessage) GetFromAddr

func (x *ChatMessage) GetFromAddr() string

func (*ChatMessage) GetId

func (x *ChatMessage) GetId() string

func (*ChatMessage) GetSentAtMs

func (x *ChatMessage) GetSentAtMs() int64

func (*ChatMessage) GetText

func (x *ChatMessage) GetText() string

func (*ChatMessage) GetToAddr

func (x *ChatMessage) GetToAddr() string

func (*ChatMessage) ProtoMessage

func (*ChatMessage) ProtoMessage()

func (*ChatMessage) ProtoReflect

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

func (*ChatMessage) Reset

func (x *ChatMessage) Reset()

func (*ChatMessage) String

func (x *ChatMessage) String() string

type ClearChatHistoryRequest

type ClearChatHistoryRequest struct {
	Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` // peer address whose conversation to wipe
	// contains filtered or unexported fields
}

func (*ClearChatHistoryRequest) Descriptor deprecated

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

Deprecated: Use ClearChatHistoryRequest.ProtoReflect.Descriptor instead.

func (*ClearChatHistoryRequest) GetAddress

func (x *ClearChatHistoryRequest) GetAddress() string

func (*ClearChatHistoryRequest) ProtoMessage

func (*ClearChatHistoryRequest) ProtoMessage()

func (*ClearChatHistoryRequest) ProtoReflect

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

func (*ClearChatHistoryRequest) Reset

func (x *ClearChatHistoryRequest) Reset()

func (*ClearChatHistoryRequest) String

func (x *ClearChatHistoryRequest) String() string

type ClearChatHistoryResponse

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

func (*ClearChatHistoryResponse) Descriptor deprecated

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

Deprecated: Use ClearChatHistoryResponse.ProtoReflect.Descriptor instead.

func (*ClearChatHistoryResponse) ProtoMessage

func (*ClearChatHistoryResponse) ProtoMessage()

func (*ClearChatHistoryResponse) ProtoReflect

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

func (*ClearChatHistoryResponse) Reset

func (x *ClearChatHistoryResponse) Reset()

func (*ClearChatHistoryResponse) String

func (x *ClearChatHistoryResponse) String() string

type CommandSpec

type CommandSpec struct {
	Name        string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`               // slug-safe; matched case-insensitively
	Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` // one line, shown in /help
	Usage       string `protobuf:"bytes,3,opt,name=usage,proto3" json:"usage,omitempty"`             // optional arg hint, e.g. "yes"
	// contains filtered or unexported fields
}

CommandSpec declares a single slash-command a service handles (E1). The daemon stores these at registration (E2) and surfaces them via ListServiceCommands + /help (E4). Names are matched case-insensitively and must be slug-safe; a name that collides with a daemon built-in is allowed — both handlers run (augment, not override — E4).

func (*CommandSpec) Descriptor deprecated

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

Deprecated: Use CommandSpec.ProtoReflect.Descriptor instead.

func (*CommandSpec) GetDescription

func (x *CommandSpec) GetDescription() string

func (*CommandSpec) GetName

func (x *CommandSpec) GetName() string

func (*CommandSpec) GetUsage

func (x *CommandSpec) GetUsage() string

func (*CommandSpec) ProtoMessage

func (*CommandSpec) ProtoMessage()

func (*CommandSpec) ProtoReflect

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

func (*CommandSpec) Reset

func (x *CommandSpec) Reset()

func (*CommandSpec) String

func (x *CommandSpec) String() string

type ConnectRequest

type ConnectRequest struct {
	Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` // peer's ensemble address
	// contains filtered or unexported fields
}

func (*ConnectRequest) Descriptor deprecated

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

Deprecated: Use ConnectRequest.ProtoReflect.Descriptor instead.

func (*ConnectRequest) GetAddress

func (x *ConnectRequest) GetAddress() string

func (*ConnectRequest) ProtoMessage

func (*ConnectRequest) ProtoMessage()

func (*ConnectRequest) ProtoReflect

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

func (*ConnectRequest) Reset

func (x *ConnectRequest) Reset()

func (*ConnectRequest) String

func (x *ConnectRequest) String() string

type ConnectResponse

type ConnectResponse struct {
	Accepted bool   `protobuf:"varint,1,opt,name=accepted,proto3" json:"accepted,omitempty"`
	Message  string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
	// contains filtered or unexported fields
}

func (*ConnectResponse) Descriptor deprecated

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

Deprecated: Use ConnectResponse.ProtoReflect.Descriptor instead.

func (*ConnectResponse) GetAccepted

func (x *ConnectResponse) GetAccepted() bool

func (*ConnectResponse) GetMessage

func (x *ConnectResponse) GetMessage() string

func (*ConnectResponse) ProtoMessage

func (*ConnectResponse) ProtoMessage()

func (*ConnectResponse) ProtoReflect

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

func (*ConnectResponse) Reset

func (x *ConnectResponse) Reset()

func (*ConnectResponse) String

func (x *ConnectResponse) String() string

type ContactInfo

type ContactInfo struct {
	Address      string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
	Alias        string `protobuf:"bytes,2,opt,name=alias,proto3" json:"alias,omitempty"`
	PublicKey    []byte `protobuf:"bytes,3,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"`
	OnionAddress string `protobuf:"bytes,4,opt,name=onion_address,json=onionAddress,proto3" json:"onion_address,omitempty"`
	AddedAt      int64  `protobuf:"varint,5,opt,name=added_at,json=addedAt,proto3" json:"added_at,omitempty"`    // Unix millis
	LastSeen     int64  `protobuf:"varint,6,opt,name=last_seen,json=lastSeen,proto3" json:"last_seen,omitempty"` // Unix millis
	Online       bool   `protobuf:"varint,7,opt,name=online,proto3" json:"online,omitempty"`
	// contains filtered or unexported fields
}

func (*ContactInfo) Descriptor deprecated

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

Deprecated: Use ContactInfo.ProtoReflect.Descriptor instead.

func (*ContactInfo) GetAddedAt

func (x *ContactInfo) GetAddedAt() int64

func (*ContactInfo) GetAddress

func (x *ContactInfo) GetAddress() string

func (*ContactInfo) GetAlias

func (x *ContactInfo) GetAlias() string

func (*ContactInfo) GetLastSeen

func (x *ContactInfo) GetLastSeen() int64

func (*ContactInfo) GetOnionAddress

func (x *ContactInfo) GetOnionAddress() string

func (*ContactInfo) GetOnline

func (x *ContactInfo) GetOnline() bool

func (*ContactInfo) GetPublicKey

func (x *ContactInfo) GetPublicKey() []byte

func (*ContactInfo) ProtoMessage

func (*ContactInfo) ProtoMessage()

func (*ContactInfo) ProtoReflect

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

func (*ContactInfo) Reset

func (x *ContactInfo) Reset()

func (*ContactInfo) String

func (x *ContactInfo) String() string

type DHTNode

type DHTNode struct {
	Address   string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
	OnionAddr string `protobuf:"bytes,2,opt,name=onion_addr,json=onionAddr,proto3" json:"onion_addr,omitempty"`
	LastSeen  int64  `protobuf:"varint,3,opt,name=last_seen,json=lastSeen,proto3" json:"last_seen,omitempty"` // Unix millis
	// contains filtered or unexported fields
}

func (*DHTNode) Descriptor deprecated

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

Deprecated: Use DHTNode.ProtoReflect.Descriptor instead.

func (*DHTNode) GetAddress

func (x *DHTNode) GetAddress() string

func (*DHTNode) GetLastSeen

func (x *DHTNode) GetLastSeen() int64

func (*DHTNode) GetOnionAddr

func (x *DHTNode) GetOnionAddr() string

func (*DHTNode) ProtoMessage

func (*DHTNode) ProtoMessage()

func (*DHTNode) ProtoReflect

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

func (*DHTNode) Reset

func (x *DHTNode) Reset()

func (*DHTNode) String

func (x *DHTNode) String() string

type DaemonEvent

type DaemonEvent struct {
	Type    string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`       // event type name
	Payload string `protobuf:"bytes,2,opt,name=payload,proto3" json:"payload,omitempty"` // JSON-encoded event data
	// contains filtered or unexported fields
}

func (*DaemonEvent) Descriptor deprecated

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

Deprecated: Use DaemonEvent.ProtoReflect.Descriptor instead.

func (*DaemonEvent) GetPayload

func (x *DaemonEvent) GetPayload() string

func (*DaemonEvent) GetType

func (x *DaemonEvent) GetType() string

func (*DaemonEvent) ProtoMessage

func (*DaemonEvent) ProtoMessage()

func (*DaemonEvent) ProtoReflect

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

func (*DaemonEvent) Reset

func (x *DaemonEvent) Reset()

func (*DaemonEvent) String

func (x *DaemonEvent) String() string

type DeleteChatMessageRequest

type DeleteChatMessageRequest struct {
	Address   string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` // peer address whose conversation owns the message
	MessageId string `protobuf:"bytes,2,opt,name=message_id,json=messageId,proto3" json:"message_id,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteChatMessageRequest) Descriptor deprecated

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

Deprecated: Use DeleteChatMessageRequest.ProtoReflect.Descriptor instead.

func (*DeleteChatMessageRequest) GetAddress

func (x *DeleteChatMessageRequest) GetAddress() string

func (*DeleteChatMessageRequest) GetMessageId

func (x *DeleteChatMessageRequest) GetMessageId() string

func (*DeleteChatMessageRequest) ProtoMessage

func (*DeleteChatMessageRequest) ProtoMessage()

func (*DeleteChatMessageRequest) ProtoReflect

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

func (*DeleteChatMessageRequest) Reset

func (x *DeleteChatMessageRequest) Reset()

func (*DeleteChatMessageRequest) String

func (x *DeleteChatMessageRequest) String() string

type DeleteChatMessageResponse

type DeleteChatMessageResponse struct {
	Deleted bool `protobuf:"varint,1,opt,name=deleted,proto3" json:"deleted,omitempty"` // false if no message with that id existed
	// contains filtered or unexported fields
}

func (*DeleteChatMessageResponse) Descriptor deprecated

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

Deprecated: Use DeleteChatMessageResponse.ProtoReflect.Descriptor instead.

func (*DeleteChatMessageResponse) GetDeleted

func (x *DeleteChatMessageResponse) GetDeleted() bool

func (*DeleteChatMessageResponse) ProtoMessage

func (*DeleteChatMessageResponse) ProtoMessage()

func (*DeleteChatMessageResponse) ProtoReflect

func (*DeleteChatMessageResponse) Reset

func (x *DeleteChatMessageResponse) Reset()

func (*DeleteChatMessageResponse) String

func (x *DeleteChatMessageResponse) String() string

type DeleteServiceRequest

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

func (*DeleteServiceRequest) Descriptor deprecated

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

Deprecated: Use DeleteServiceRequest.ProtoReflect.Descriptor instead.

func (*DeleteServiceRequest) GetName

func (x *DeleteServiceRequest) GetName() string

func (*DeleteServiceRequest) ProtoMessage

func (*DeleteServiceRequest) ProtoMessage()

func (*DeleteServiceRequest) ProtoReflect

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

func (*DeleteServiceRequest) Reset

func (x *DeleteServiceRequest) Reset()

func (*DeleteServiceRequest) String

func (x *DeleteServiceRequest) String() string

type DeleteServiceResponse

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

func (*DeleteServiceResponse) Descriptor deprecated

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

Deprecated: Use DeleteServiceResponse.ProtoReflect.Descriptor instead.

func (*DeleteServiceResponse) ProtoMessage

func (*DeleteServiceResponse) ProtoMessage()

func (*DeleteServiceResponse) ProtoReflect

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

func (*DeleteServiceResponse) Reset

func (x *DeleteServiceResponse) Reset()

func (*DeleteServiceResponse) String

func (x *DeleteServiceResponse) String() string

type DisconnectRequest

type DisconnectRequest struct {
	Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
	// contains filtered or unexported fields
}

func (*DisconnectRequest) Descriptor deprecated

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

Deprecated: Use DisconnectRequest.ProtoReflect.Descriptor instead.

func (*DisconnectRequest) GetAddress

func (x *DisconnectRequest) GetAddress() string

func (*DisconnectRequest) ProtoMessage

func (*DisconnectRequest) ProtoMessage()

func (*DisconnectRequest) ProtoReflect

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

func (*DisconnectRequest) Reset

func (x *DisconnectRequest) Reset()

func (*DisconnectRequest) String

func (x *DisconnectRequest) String() string

type DisconnectResponse

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

func (*DisconnectResponse) Descriptor deprecated

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

Deprecated: Use DisconnectResponse.ProtoReflect.Descriptor instead.

func (*DisconnectResponse) ProtoMessage

func (*DisconnectResponse) ProtoMessage()

func (*DisconnectResponse) ProtoReflect

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

func (*DisconnectResponse) Reset

func (x *DisconnectResponse) Reset()

func (*DisconnectResponse) String

func (x *DisconnectResponse) String() string

type EnsembleServiceClient

type EnsembleServiceClient interface {
	// Identity
	GetIdentity(ctx context.Context, in *GetIdentityRequest, opts ...grpc.CallOption) (*GetIdentityResponse, error)
	GetStatus(ctx context.Context, in *GetStatusRequest, opts ...grpc.CallOption) (*GetStatusResponse, error)
	// VerifyBinding checks a caller-supplied IdentityBinding against a claimed
	// E-address — the one ML-DSA-65 verification a non-Go SDK can't cheaply do
	// itself. Pure function of the inputs; reveals no node secret. Keyless over
	// the unix socket (see socketKeylessMethods) so non-signing SDK clients can
	// call it even on an admin-key daemon.
	VerifyBinding(ctx context.Context, in *VerifyBindingRequest, opts ...grpc.CallOption) (*VerifyBindingResponse, error)
	// Contacts
	ListContacts(ctx context.Context, in *ListContactsRequest, opts ...grpc.CallOption) (*ListContactsResponse, error)
	AddContact(ctx context.Context, in *AddContactRequest, opts ...grpc.CallOption) (*AddContactResponse, error)
	RemoveContact(ctx context.Context, in *RemoveContactRequest, opts ...grpc.CallOption) (*RemoveContactResponse, error)
	// Connection
	Connect(ctx context.Context, in *ConnectRequest, opts ...grpc.CallOption) (*ConnectResponse, error)
	AcceptConnection(ctx context.Context, in *AcceptConnectionRequest, opts ...grpc.CallOption) (*AcceptConnectionResponse, error)
	RejectConnection(ctx context.Context, in *RejectConnectionRequest, opts ...grpc.CallOption) (*RejectConnectionResponse, error)
	// ListPeers returns the unified peers list (ADR-0004): saved contacts ∪
	// peers with live/in-flight connections, one entry per address, including
	// inbound-only peers that are not contacts.
	ListPeers(ctx context.Context, in *ListPeersRequest, opts ...grpc.CallOption) (*ListPeersResponse, error)
	// Disconnect tears down every live path to a peer (direct QUIC connection
	// and/or Tor control channels). The peer's contact entry, if any, is
	// untouched — disconnect is a connection action, not an address-book one.
	Disconnect(ctx context.Context, in *DisconnectRequest, opts ...grpc.CallOption) (*DisconnectResponse, error)
	// Chat
	SendMessage(ctx context.Context, in *SendMessageRequest, opts ...grpc.CallOption) (*SendMessageResponse, error)
	GetChatHistory(ctx context.Context, in *GetChatHistoryRequest, opts ...grpc.CallOption) (*GetChatHistoryResponse, error)
	// DeleteChatMessage removes a single stored message from a peer's
	// conversation; ClearChatHistory wipes a whole conversation. Both persist
	// to disk. Operator-facing (used by `ensemble attach`); messages are
	// retained until explicitly deleted (ticket 4f584edc).
	DeleteChatMessage(ctx context.Context, in *DeleteChatMessageRequest, opts ...grpc.CallOption) (*DeleteChatMessageResponse, error)
	ClearChatHistory(ctx context.Context, in *ClearChatHistoryRequest, opts ...grpc.CallOption) (*ClearChatHistoryResponse, error)
	// File transfer
	SendFile(ctx context.Context, in *SendFileRequest, opts ...grpc.CallOption) (grpc.ServerStreamingClient[TransferProgress], error)
	AcceptFile(ctx context.Context, in *AcceptFileRequest, opts ...grpc.CallOption) (*AcceptFileResponse, error)
	RejectFile(ctx context.Context, in *RejectFileRequest, opts ...grpc.CallOption) (*RejectFileResponse, error)
	CancelTransfer(ctx context.Context, in *CancelTransferRequest, opts ...grpc.CallOption) (*CancelTransferResponse, error)
	// Discovery
	AddNode(ctx context.Context, in *AddNodeRequest, opts ...grpc.CallOption) (*AddNodeResponse, error)
	// Debug
	GetDebugInfo(ctx context.Context, in *GetDebugInfoRequest, opts ...grpc.CallOption) (*GetDebugInfoResponse, error)
	// Events
	Subscribe(ctx context.Context, in *SubscribeRequest, opts ...grpc.CallOption) (grpc.ServerStreamingClient[DaemonEvent], error)
	// Service registration (multi-service platform)
	RegisterService(ctx context.Context, opts ...grpc.CallOption) (grpc.BidiStreamingClient[ServiceClientMessage, ServiceServerMessage], error)
	// AttachService is the launched-client relay datapath (ADR-0011 §5). A
	// launched desktop frontend connects here — NOT RegisterService — presenting
	// the scoped launch grant minted by BrokerLaunch (carried as x-service-token
	// metadata, exactly like a backend's spawn token). The daemon validates the
	// grant, resolves the ONE service backend it authorises, and relays this
	// stream's payloads onto that backend through the daemon: the frontend is
	// never given node-level power or the backend's own register stream — it is a
	// pre-authorised local caller arriving through the trusted operator door. The
	// frontend's payloads reach the backend as "operator_message" events on its
	// existing register stream; the backend replies with ServiceToOperator, fanned
	// back here. Closing this stream detaches WITHOUT tearing the backend down (a
	// closed window is an intentional exit, not a crash — ADR-0011 §2), so it is
	// not on the supervisor's restart loop.
	AttachService(ctx context.Context, opts ...grpc.CallOption) (grpc.BidiStreamingClient[ServiceAttachClientMessage, ServiceAttachServerMessage], error)
	// DeleteService rotates a registered service's identity: it bumps the
	// service's rotation generation and wipes the keystore bundle, so
	// re-registering the same name derives a genuinely fresh keypair, address,
	// and .onion (not the deterministic parent+name keys it would otherwise
	// reproduce). This is the recovery path after a suspected service-key
	// compromise. Admin-only; reserved names (node, ui) are refused; a still-live
	// service is refused (disconnect its stream first). W3 #a137ce40 / 7a9b8f66.
	DeleteService(ctx context.Context, in *DeleteServiceRequest, opts ...grpc.CallOption) (*DeleteServiceResponse, error)
	// RotateAdminKey swaps the daemon's trusted admin Ed25519 public key with
	// a caller-supplied new one, atomically. The request is verified under
	// the *old* key (normal auth interceptor) before the swap. The new pubkey
	// is written to ${DataDir}/admin_key.hex and reloaded into the running
	// interceptors under lock; subsequent requests must be signed under the
	// new key. Survives daemon restart (persisted file beats the
	// --admin-key bootstrap flag). W3 #627b4e12.
	RotateAdminKey(ctx context.Context, in *RotateAdminKeyRequest, opts ...grpc.CallOption) (*RotateAdminKeyResponse, error)
	// Commands (E1). ListServiceCommands returns the commands available for a
	// peer/service address so a client (TUI / web) can render discovery +
	// autocomplete. The response unions the addressed service's declared
	// commands with the daemon's built-ins, so a client renders one list and
	// need not know which side handles which (augment dispatch — E4). Routing
	// and the built-in set are owned by E4; this is the read-side seam.
	ListServiceCommands(ctx context.Context, in *ListServiceCommandsRequest, opts ...grpc.CallOption) (*ListServiceCommandsResponse, error)
	// SendCommand invokes a command on a service and STREAMS the reply legs (E3).
	// The daemon mints a command_id and runs the augment dispatch as a stream:
	// the daemon built-in leg (if any) is emitted IMMEDIATELY (local, instant),
	// then the service leg is emitted when it resolves — a local fast-path
	// dispatch, or a COMMAND wire envelope to a remote node whose correlated
	// result streams back when it lands, or a daemon-rendered "timed out" leg on
	// the daemon-side timeout. Each SendCommandResponse carries a `leg`
	// discriminator ("builtin" | "service" | "timeout") so clients can label and
	// order lines. Streaming means the operator sees the instant built-in leg
	// without waiting on a slow (possibly cross-node/Tor) service leg, and never
	// perceives a hang. A command the target service did not declare (or declared
	// with handles_commands=false) yields a single daemon-rendered ok=false leg.
	// The result is request-scoped to THIS caller's stream — never broadcast.
	SendCommand(ctx context.Context, in *SendCommandRequest, opts ...grpc.CallOption) (grpc.ServerStreamingClient[SendCommandResponse], error)
	// Metrics (observability dashboard). Sits alongside GetDebugInfo, does not
	// replace it. Both RPCs return enabled=false with no data unless the daemon
	// runs with --metrics (collection is off at the source by default — the
	// subsystem is privacy-sensitive on a Tor app). Admin-auth'd like every
	// other RPC; StreamMetrics is a SERVER stream (the gRPC-Web bridge has no
	// WebSockets, so bidi is unreachable from the browser).
	GetMetrics(ctx context.Context, in *GetMetricsRequest, opts ...grpc.CallOption) (*GetMetricsResponse, error)
	StreamMetrics(ctx context.Context, in *StreamMetricsRequest, opts ...grpc.CallOption) (grpc.ServerStreamingClient[MetricUpdate], error)
	// Logs of a daemon-supervised (installed) service — the app's log viewer.
	// tail_lines of buffered history first; when follow=true the stream then
	// stays open delivering new lines until the client hangs up (ADR-0009).
	StreamServiceLogs(ctx context.Context, in *StreamServiceLogsRequest, opts ...grpc.CallOption) (grpc.ServerStreamingClient[ServiceLogLine], error)
	// --- Installed services (ADR-0009 §10) ---
	//
	// The install family is gated by WHERE the call arrives, not just by who
	// signs it: allowed without an admin key on the Unix socket (0600 — the
	// caller is the daemon's own user), admin-signature-required on every
	// network transport, and on a daemon with NO admin key the family is
	// hard-DISABLED on network transports. An open install RPC is remote code
	// execution as a feature; there is no soft default.
	//
	// InstallService/UpgradeService stream progress (resolving → downloading →
	// verifying → unpacking → installing → done). A call without
	// accept_capabilities fails with FailedPrecondition AFTER streaming a
	// consent_required progress message carrying the capability summary; the
	// artifact stays staged so the consented retry does not re-download.
	InstallService(ctx context.Context, in *InstallServiceRequest, opts ...grpc.CallOption) (grpc.ServerStreamingClient[InstallProgress], error)
	UpgradeService(ctx context.Context, in *UpgradeServiceRequest, opts ...grpc.CallOption) (grpc.ServerStreamingClient[InstallProgress], error)
	UninstallService(ctx context.Context, in *UninstallServiceRequest, opts ...grpc.CallOption) (*UninstallServiceResponse, error)
	RollbackService(ctx context.Context, in *RollbackServiceRequest, opts ...grpc.CallOption) (*RollbackServiceResponse, error)
	ListInstalledServices(ctx context.Context, in *ListInstalledServicesRequest, opts ...grpc.CallOption) (*ListInstalledServicesResponse, error)
	StartInstalledService(ctx context.Context, in *StartInstalledServiceRequest, opts ...grpc.CallOption) (*StartInstalledServiceResponse, error)
	StopInstalledService(ctx context.Context, in *StopInstalledServiceRequest, opts ...grpc.CallOption) (*StopInstalledServiceResponse, error)
	// BrokerLaunch resolves an installed service's launched client (ADR-0010 §3
	// tier 3 / ADR-0011) and hands the app what it needs to exec it: the
	// absolute argv, the ENSEMBLE_* environment contract, and a working dir. The
	// daemon verifies the service declares a launched_client frontend, probes
	// the client's declared runtimes (a missing runtime is a clean blocked
	// response, NOT an error), and mints a SCOPED launch grant — a short-TTL
	// credential narrower than a spawn token: it authorises the client to attach
	// to its OWN service through the daemon, not to register as the service nor
	// any node-level power. The app owns the foreground lifecycle (this is not
	// the supervisor's restart-on-crash loop). Install-family gated like the
	// rest of the surface (unix socket, or admin-signed on the network).
	BrokerLaunch(ctx context.Context, in *BrokerLaunchRequest, opts ...grpc.CallOption) (*BrokerLaunchResponse, error)
	// --- Per-service operator env overlay (ADR-0009 §11) ---
	//
	// SetServiceEnv attaches an operator-only environment overlay to an
	// installed service. The daemon persists it 0600 in the service's install
	// dir (never in any artifact/index/provenance) and injects it into ONLY
	// that service's child at spawn, with precedence
	//
	//	os.Environ() < manifest.Env < operator overlay < the spawn-contract vars.
	//
	// The payload is the desired key/value map — there is no file transfer; the
	// CLI builds the map locally from -e/--env-file. Secret-bearing, so values
	// are write-only: GetServiceEnv returns key NAMES, never values, and
	// SetServiceEnv echoes only the resulting key names. Part of the §10 install
	// family (same where-the-call-arrives gating as InstallService).
	SetServiceEnv(ctx context.Context, in *SetServiceEnvRequest, opts ...grpc.CallOption) (*SetServiceEnvResponse, error)
	GetServiceEnv(ctx context.Context, in *GetServiceEnvRequest, opts ...grpc.CallOption) (*GetServiceEnvResponse, error)
	// --- Registry subscriptions (ADR-0009 §7) ---
	//
	// A registry is itself an ensemble service this node SUBSCRIBES to by
	// E-address — the address pins the registry's Dilithium key, the
	// Dilithium-signed IdentityBinding authorises its ed25519 operational key,
	// and the index document is signed with that key. Subscribing to an
	// address is the entire trust decision. Subscriptions are an ordered,
	// apt-style list persisted at <data-dir>/registries.yaml; install-by-name
	// resolves first-match in subscription order. Part of the §10 install
	// family (same where-the-call-arrives gating as InstallService).
	AddRegistry(ctx context.Context, in *AddRegistryRequest, opts ...grpc.CallOption) (*AddRegistryResponse, error)
	RemoveRegistry(ctx context.Context, in *RemoveRegistryRequest, opts ...grpc.CallOption) (*RemoveRegistryResponse, error)
	ListRegistries(ctx context.Context, in *ListRegistriesRequest, opts ...grpc.CallOption) (*ListRegistriesResponse, error)
	// SearchRegistries queries the locally cached, signature-verified indices
	// of every subscription (offline browse works by design — the cache is the
	// signed document itself, re-verified on read). refresh=true re-fetches
	// each subscription first, best-effort.
	SearchRegistries(ctx context.Context, in *SearchRegistriesRequest, opts ...grpc.CallOption) (*SearchRegistriesResponse, error)
}

EnsembleServiceClient is the client API for EnsembleService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

type EnsembleServiceServer

type EnsembleServiceServer interface {
	// Identity
	GetIdentity(context.Context, *GetIdentityRequest) (*GetIdentityResponse, error)
	GetStatus(context.Context, *GetStatusRequest) (*GetStatusResponse, error)
	// VerifyBinding checks a caller-supplied IdentityBinding against a claimed
	// E-address — the one ML-DSA-65 verification a non-Go SDK can't cheaply do
	// itself. Pure function of the inputs; reveals no node secret. Keyless over
	// the unix socket (see socketKeylessMethods) so non-signing SDK clients can
	// call it even on an admin-key daemon.
	VerifyBinding(context.Context, *VerifyBindingRequest) (*VerifyBindingResponse, error)
	// Contacts
	ListContacts(context.Context, *ListContactsRequest) (*ListContactsResponse, error)
	AddContact(context.Context, *AddContactRequest) (*AddContactResponse, error)
	RemoveContact(context.Context, *RemoveContactRequest) (*RemoveContactResponse, error)
	// Connection
	Connect(context.Context, *ConnectRequest) (*ConnectResponse, error)
	AcceptConnection(context.Context, *AcceptConnectionRequest) (*AcceptConnectionResponse, error)
	RejectConnection(context.Context, *RejectConnectionRequest) (*RejectConnectionResponse, error)
	// ListPeers returns the unified peers list (ADR-0004): saved contacts ∪
	// peers with live/in-flight connections, one entry per address, including
	// inbound-only peers that are not contacts.
	ListPeers(context.Context, *ListPeersRequest) (*ListPeersResponse, error)
	// Disconnect tears down every live path to a peer (direct QUIC connection
	// and/or Tor control channels). The peer's contact entry, if any, is
	// untouched — disconnect is a connection action, not an address-book one.
	Disconnect(context.Context, *DisconnectRequest) (*DisconnectResponse, error)
	// Chat
	SendMessage(context.Context, *SendMessageRequest) (*SendMessageResponse, error)
	GetChatHistory(context.Context, *GetChatHistoryRequest) (*GetChatHistoryResponse, error)
	// DeleteChatMessage removes a single stored message from a peer's
	// conversation; ClearChatHistory wipes a whole conversation. Both persist
	// to disk. Operator-facing (used by `ensemble attach`); messages are
	// retained until explicitly deleted (ticket 4f584edc).
	DeleteChatMessage(context.Context, *DeleteChatMessageRequest) (*DeleteChatMessageResponse, error)
	ClearChatHistory(context.Context, *ClearChatHistoryRequest) (*ClearChatHistoryResponse, error)
	// File transfer
	SendFile(*SendFileRequest, grpc.ServerStreamingServer[TransferProgress]) error
	AcceptFile(context.Context, *AcceptFileRequest) (*AcceptFileResponse, error)
	RejectFile(context.Context, *RejectFileRequest) (*RejectFileResponse, error)
	CancelTransfer(context.Context, *CancelTransferRequest) (*CancelTransferResponse, error)
	// Discovery
	AddNode(context.Context, *AddNodeRequest) (*AddNodeResponse, error)
	// Debug
	GetDebugInfo(context.Context, *GetDebugInfoRequest) (*GetDebugInfoResponse, error)
	// Events
	Subscribe(*SubscribeRequest, grpc.ServerStreamingServer[DaemonEvent]) error
	// Service registration (multi-service platform)
	RegisterService(grpc.BidiStreamingServer[ServiceClientMessage, ServiceServerMessage]) error
	// AttachService is the launched-client relay datapath (ADR-0011 §5). A
	// launched desktop frontend connects here — NOT RegisterService — presenting
	// the scoped launch grant minted by BrokerLaunch (carried as x-service-token
	// metadata, exactly like a backend's spawn token). The daemon validates the
	// grant, resolves the ONE service backend it authorises, and relays this
	// stream's payloads onto that backend through the daemon: the frontend is
	// never given node-level power or the backend's own register stream — it is a
	// pre-authorised local caller arriving through the trusted operator door. The
	// frontend's payloads reach the backend as "operator_message" events on its
	// existing register stream; the backend replies with ServiceToOperator, fanned
	// back here. Closing this stream detaches WITHOUT tearing the backend down (a
	// closed window is an intentional exit, not a crash — ADR-0011 §2), so it is
	// not on the supervisor's restart loop.
	AttachService(grpc.BidiStreamingServer[ServiceAttachClientMessage, ServiceAttachServerMessage]) error
	// DeleteService rotates a registered service's identity: it bumps the
	// service's rotation generation and wipes the keystore bundle, so
	// re-registering the same name derives a genuinely fresh keypair, address,
	// and .onion (not the deterministic parent+name keys it would otherwise
	// reproduce). This is the recovery path after a suspected service-key
	// compromise. Admin-only; reserved names (node, ui) are refused; a still-live
	// service is refused (disconnect its stream first). W3 #a137ce40 / 7a9b8f66.
	DeleteService(context.Context, *DeleteServiceRequest) (*DeleteServiceResponse, error)
	// RotateAdminKey swaps the daemon's trusted admin Ed25519 public key with
	// a caller-supplied new one, atomically. The request is verified under
	// the *old* key (normal auth interceptor) before the swap. The new pubkey
	// is written to ${DataDir}/admin_key.hex and reloaded into the running
	// interceptors under lock; subsequent requests must be signed under the
	// new key. Survives daemon restart (persisted file beats the
	// --admin-key bootstrap flag). W3 #627b4e12.
	RotateAdminKey(context.Context, *RotateAdminKeyRequest) (*RotateAdminKeyResponse, error)
	// Commands (E1). ListServiceCommands returns the commands available for a
	// peer/service address so a client (TUI / web) can render discovery +
	// autocomplete. The response unions the addressed service's declared
	// commands with the daemon's built-ins, so a client renders one list and
	// need not know which side handles which (augment dispatch — E4). Routing
	// and the built-in set are owned by E4; this is the read-side seam.
	ListServiceCommands(context.Context, *ListServiceCommandsRequest) (*ListServiceCommandsResponse, error)
	// SendCommand invokes a command on a service and STREAMS the reply legs (E3).
	// The daemon mints a command_id and runs the augment dispatch as a stream:
	// the daemon built-in leg (if any) is emitted IMMEDIATELY (local, instant),
	// then the service leg is emitted when it resolves — a local fast-path
	// dispatch, or a COMMAND wire envelope to a remote node whose correlated
	// result streams back when it lands, or a daemon-rendered "timed out" leg on
	// the daemon-side timeout. Each SendCommandResponse carries a `leg`
	// discriminator ("builtin" | "service" | "timeout") so clients can label and
	// order lines. Streaming means the operator sees the instant built-in leg
	// without waiting on a slow (possibly cross-node/Tor) service leg, and never
	// perceives a hang. A command the target service did not declare (or declared
	// with handles_commands=false) yields a single daemon-rendered ok=false leg.
	// The result is request-scoped to THIS caller's stream — never broadcast.
	SendCommand(*SendCommandRequest, grpc.ServerStreamingServer[SendCommandResponse]) error
	// Metrics (observability dashboard). Sits alongside GetDebugInfo, does not
	// replace it. Both RPCs return enabled=false with no data unless the daemon
	// runs with --metrics (collection is off at the source by default — the
	// subsystem is privacy-sensitive on a Tor app). Admin-auth'd like every
	// other RPC; StreamMetrics is a SERVER stream (the gRPC-Web bridge has no
	// WebSockets, so bidi is unreachable from the browser).
	GetMetrics(context.Context, *GetMetricsRequest) (*GetMetricsResponse, error)
	StreamMetrics(*StreamMetricsRequest, grpc.ServerStreamingServer[MetricUpdate]) error
	// Logs of a daemon-supervised (installed) service — the app's log viewer.
	// tail_lines of buffered history first; when follow=true the stream then
	// stays open delivering new lines until the client hangs up (ADR-0009).
	StreamServiceLogs(*StreamServiceLogsRequest, grpc.ServerStreamingServer[ServiceLogLine]) error
	// --- Installed services (ADR-0009 §10) ---
	//
	// The install family is gated by WHERE the call arrives, not just by who
	// signs it: allowed without an admin key on the Unix socket (0600 — the
	// caller is the daemon's own user), admin-signature-required on every
	// network transport, and on a daemon with NO admin key the family is
	// hard-DISABLED on network transports. An open install RPC is remote code
	// execution as a feature; there is no soft default.
	//
	// InstallService/UpgradeService stream progress (resolving → downloading →
	// verifying → unpacking → installing → done). A call without
	// accept_capabilities fails with FailedPrecondition AFTER streaming a
	// consent_required progress message carrying the capability summary; the
	// artifact stays staged so the consented retry does not re-download.
	InstallService(*InstallServiceRequest, grpc.ServerStreamingServer[InstallProgress]) error
	UpgradeService(*UpgradeServiceRequest, grpc.ServerStreamingServer[InstallProgress]) error
	UninstallService(context.Context, *UninstallServiceRequest) (*UninstallServiceResponse, error)
	RollbackService(context.Context, *RollbackServiceRequest) (*RollbackServiceResponse, error)
	ListInstalledServices(context.Context, *ListInstalledServicesRequest) (*ListInstalledServicesResponse, error)
	StartInstalledService(context.Context, *StartInstalledServiceRequest) (*StartInstalledServiceResponse, error)
	StopInstalledService(context.Context, *StopInstalledServiceRequest) (*StopInstalledServiceResponse, error)
	// BrokerLaunch resolves an installed service's launched client (ADR-0010 §3
	// tier 3 / ADR-0011) and hands the app what it needs to exec it: the
	// absolute argv, the ENSEMBLE_* environment contract, and a working dir. The
	// daemon verifies the service declares a launched_client frontend, probes
	// the client's declared runtimes (a missing runtime is a clean blocked
	// response, NOT an error), and mints a SCOPED launch grant — a short-TTL
	// credential narrower than a spawn token: it authorises the client to attach
	// to its OWN service through the daemon, not to register as the service nor
	// any node-level power. The app owns the foreground lifecycle (this is not
	// the supervisor's restart-on-crash loop). Install-family gated like the
	// rest of the surface (unix socket, or admin-signed on the network).
	BrokerLaunch(context.Context, *BrokerLaunchRequest) (*BrokerLaunchResponse, error)
	// --- Per-service operator env overlay (ADR-0009 §11) ---
	//
	// SetServiceEnv attaches an operator-only environment overlay to an
	// installed service. The daemon persists it 0600 in the service's install
	// dir (never in any artifact/index/provenance) and injects it into ONLY
	// that service's child at spawn, with precedence
	//
	//	os.Environ() < manifest.Env < operator overlay < the spawn-contract vars.
	//
	// The payload is the desired key/value map — there is no file transfer; the
	// CLI builds the map locally from -e/--env-file. Secret-bearing, so values
	// are write-only: GetServiceEnv returns key NAMES, never values, and
	// SetServiceEnv echoes only the resulting key names. Part of the §10 install
	// family (same where-the-call-arrives gating as InstallService).
	SetServiceEnv(context.Context, *SetServiceEnvRequest) (*SetServiceEnvResponse, error)
	GetServiceEnv(context.Context, *GetServiceEnvRequest) (*GetServiceEnvResponse, error)
	// --- Registry subscriptions (ADR-0009 §7) ---
	//
	// A registry is itself an ensemble service this node SUBSCRIBES to by
	// E-address — the address pins the registry's Dilithium key, the
	// Dilithium-signed IdentityBinding authorises its ed25519 operational key,
	// and the index document is signed with that key. Subscribing to an
	// address is the entire trust decision. Subscriptions are an ordered,
	// apt-style list persisted at <data-dir>/registries.yaml; install-by-name
	// resolves first-match in subscription order. Part of the §10 install
	// family (same where-the-call-arrives gating as InstallService).
	AddRegistry(context.Context, *AddRegistryRequest) (*AddRegistryResponse, error)
	RemoveRegistry(context.Context, *RemoveRegistryRequest) (*RemoveRegistryResponse, error)
	ListRegistries(context.Context, *ListRegistriesRequest) (*ListRegistriesResponse, error)
	// SearchRegistries queries the locally cached, signature-verified indices
	// of every subscription (offline browse works by design — the cache is the
	// signed document itself, re-verified on read). refresh=true re-fetches
	// each subscription first, best-effort.
	SearchRegistries(context.Context, *SearchRegistriesRequest) (*SearchRegistriesResponse, error)
	// contains filtered or unexported methods
}

EnsembleServiceServer is the server API for EnsembleService service. All implementations must embed UnimplementedEnsembleServiceServer for forward compatibility.

type EnsembleService_AttachServiceClient

type EnsembleService_AttachServiceClient = grpc.BidiStreamingClient[ServiceAttachClientMessage, ServiceAttachServerMessage]

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

type EnsembleService_AttachServiceServer

type EnsembleService_AttachServiceServer = grpc.BidiStreamingServer[ServiceAttachClientMessage, ServiceAttachServerMessage]

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

type EnsembleService_InstallServiceClient

type EnsembleService_InstallServiceClient = grpc.ServerStreamingClient[InstallProgress]

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

type EnsembleService_InstallServiceServer

type EnsembleService_InstallServiceServer = grpc.ServerStreamingServer[InstallProgress]

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

type EnsembleService_RegisterServiceClient

type EnsembleService_RegisterServiceClient = grpc.BidiStreamingClient[ServiceClientMessage, ServiceServerMessage]

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

type EnsembleService_RegisterServiceServer

type EnsembleService_RegisterServiceServer = grpc.BidiStreamingServer[ServiceClientMessage, ServiceServerMessage]

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

type EnsembleService_SendCommandClient

type EnsembleService_SendCommandClient = grpc.ServerStreamingClient[SendCommandResponse]

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

type EnsembleService_SendCommandServer

type EnsembleService_SendCommandServer = grpc.ServerStreamingServer[SendCommandResponse]

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

type EnsembleService_SendFileClient

type EnsembleService_SendFileClient = grpc.ServerStreamingClient[TransferProgress]

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

type EnsembleService_SendFileServer

type EnsembleService_SendFileServer = grpc.ServerStreamingServer[TransferProgress]

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

type EnsembleService_StreamMetricsClient

type EnsembleService_StreamMetricsClient = grpc.ServerStreamingClient[MetricUpdate]

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

type EnsembleService_StreamMetricsServer

type EnsembleService_StreamMetricsServer = grpc.ServerStreamingServer[MetricUpdate]

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

type EnsembleService_StreamServiceLogsClient

type EnsembleService_StreamServiceLogsClient = grpc.ServerStreamingClient[ServiceLogLine]

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

type EnsembleService_StreamServiceLogsServer

type EnsembleService_StreamServiceLogsServer = grpc.ServerStreamingServer[ServiceLogLine]

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

type EnsembleService_SubscribeClient

type EnsembleService_SubscribeClient = grpc.ServerStreamingClient[DaemonEvent]

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

type EnsembleService_SubscribeServer

type EnsembleService_SubscribeServer = grpc.ServerStreamingServer[DaemonEvent]

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

type EnsembleService_UpgradeServiceClient

type EnsembleService_UpgradeServiceClient = grpc.ServerStreamingClient[InstallProgress]

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

type EnsembleService_UpgradeServiceServer

type EnsembleService_UpgradeServiceServer = grpc.ServerStreamingServer[InstallProgress]

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

type GetChatHistoryRequest

type GetChatHistoryRequest struct {
	Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` // peer address whose conversation to fetch
	Limit   int32  `protobuf:"varint,2,opt,name=limit,proto3" json:"limit,omitempty"`    // max messages from newest end; 0 = all (capped server-side)
	// contains filtered or unexported fields
}

func (*GetChatHistoryRequest) Descriptor deprecated

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

Deprecated: Use GetChatHistoryRequest.ProtoReflect.Descriptor instead.

func (*GetChatHistoryRequest) GetAddress

func (x *GetChatHistoryRequest) GetAddress() string

func (*GetChatHistoryRequest) GetLimit

func (x *GetChatHistoryRequest) GetLimit() int32

func (*GetChatHistoryRequest) ProtoMessage

func (*GetChatHistoryRequest) ProtoMessage()

func (*GetChatHistoryRequest) ProtoReflect

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

func (*GetChatHistoryRequest) Reset

func (x *GetChatHistoryRequest) Reset()

func (*GetChatHistoryRequest) String

func (x *GetChatHistoryRequest) String() string

type GetChatHistoryResponse

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

func (*GetChatHistoryResponse) Descriptor deprecated

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

Deprecated: Use GetChatHistoryResponse.ProtoReflect.Descriptor instead.

func (*GetChatHistoryResponse) GetMessages

func (x *GetChatHistoryResponse) GetMessages() []*ChatMessage

func (*GetChatHistoryResponse) ProtoMessage

func (*GetChatHistoryResponse) ProtoMessage()

func (*GetChatHistoryResponse) ProtoReflect

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

func (*GetChatHistoryResponse) Reset

func (x *GetChatHistoryResponse) Reset()

func (*GetChatHistoryResponse) String

func (x *GetChatHistoryResponse) String() string

type GetDebugInfoRequest

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

func (*GetDebugInfoRequest) Descriptor deprecated

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

Deprecated: Use GetDebugInfoRequest.ProtoReflect.Descriptor instead.

func (*GetDebugInfoRequest) ProtoMessage

func (*GetDebugInfoRequest) ProtoMessage()

func (*GetDebugInfoRequest) ProtoReflect

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

func (*GetDebugInfoRequest) Reset

func (x *GetDebugInfoRequest) Reset()

func (*GetDebugInfoRequest) String

func (x *GetDebugInfoRequest) String() string

type GetDebugInfoResponse

type GetDebugInfoResponse struct {
	RtSize      int32        `protobuf:"varint,1,opt,name=rt_size,json=rtSize,proto3" json:"rt_size,omitempty"`
	RtPeers     []*DHTNode   `protobuf:"bytes,2,rep,name=rt_peers,json=rtPeers,proto3" json:"rt_peers,omitempty"`
	Connections []*PeerState `protobuf:"bytes,3,rep,name=connections,proto3" json:"connections,omitempty"`
	OnionAddr   string       `protobuf:"bytes,4,opt,name=onion_addr,json=onionAddr,proto3" json:"onion_addr,omitempty"`
	// W3 #a137ce40: registered services so squatting / unexpected names are
	// visible from `ensemble debug` without a separate RPC.
	Services []*RegisteredService `protobuf:"bytes,5,rep,name=services,proto3" json:"services,omitempty"`
	// The effective bootstrap-seed onion list (Config.ResolvedSeeds), so
	// clients can show which seeds this node trusts even before they appear
	// in the routing table.
	SeedNodes []string `protobuf:"bytes,6,rep,name=seed_nodes,json=seedNodes,proto3" json:"seed_nodes,omitempty"`
	// Daemon-supervised installed services (ADR-0009) with their lifecycle
	// state. Distinct from `services` (live registrations): a supervised
	// service appears here even while stopped/blocked/errored.
	Supervised []*SupervisedService `protobuf:"bytes,7,rep,name=supervised,proto3" json:"supervised,omitempty"`
	// contains filtered or unexported fields
}

func (*GetDebugInfoResponse) Descriptor deprecated

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

Deprecated: Use GetDebugInfoResponse.ProtoReflect.Descriptor instead.

func (*GetDebugInfoResponse) GetConnections

func (x *GetDebugInfoResponse) GetConnections() []*PeerState

func (*GetDebugInfoResponse) GetOnionAddr

func (x *GetDebugInfoResponse) GetOnionAddr() string

func (*GetDebugInfoResponse) GetRtPeers

func (x *GetDebugInfoResponse) GetRtPeers() []*DHTNode

func (*GetDebugInfoResponse) GetRtSize

func (x *GetDebugInfoResponse) GetRtSize() int32

func (*GetDebugInfoResponse) GetSeedNodes

func (x *GetDebugInfoResponse) GetSeedNodes() []string

func (*GetDebugInfoResponse) GetServices

func (x *GetDebugInfoResponse) GetServices() []*RegisteredService

func (*GetDebugInfoResponse) GetSupervised

func (x *GetDebugInfoResponse) GetSupervised() []*SupervisedService

func (*GetDebugInfoResponse) ProtoMessage

func (*GetDebugInfoResponse) ProtoMessage()

func (*GetDebugInfoResponse) ProtoReflect

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

func (*GetDebugInfoResponse) Reset

func (x *GetDebugInfoResponse) Reset()

func (*GetDebugInfoResponse) String

func (x *GetDebugInfoResponse) String() string

type GetIdentityRequest

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

func (*GetIdentityRequest) Descriptor deprecated

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

Deprecated: Use GetIdentityRequest.ProtoReflect.Descriptor instead.

func (*GetIdentityRequest) ProtoMessage

func (*GetIdentityRequest) ProtoMessage()

func (*GetIdentityRequest) ProtoReflect

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

func (*GetIdentityRequest) Reset

func (x *GetIdentityRequest) Reset()

func (*GetIdentityRequest) String

func (x *GetIdentityRequest) String() string

type GetIdentityResponse

type GetIdentityResponse struct {
	Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
	// Raw Dilithium (ML-DSA-65, FIPS-204) identity public key. Fixed 1952 bytes.
	// `address` = Base58Check(0x21 || ripemd160(sha256(public_key))) — the
	// address commits to this key. This is NOT the 32-byte Ed25519 operational
	// key (which signs per-message envelopes and libp2p transport); the
	// operational key is daemon-internal and not exposed via gRPC.
	PublicKey []byte `protobuf:"bytes,2,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"`
	// contains filtered or unexported fields
}

func (*GetIdentityResponse) Descriptor deprecated

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

Deprecated: Use GetIdentityResponse.ProtoReflect.Descriptor instead.

func (*GetIdentityResponse) GetAddress

func (x *GetIdentityResponse) GetAddress() string

func (*GetIdentityResponse) GetPublicKey

func (x *GetIdentityResponse) GetPublicKey() []byte

func (*GetIdentityResponse) ProtoMessage

func (*GetIdentityResponse) ProtoMessage()

func (*GetIdentityResponse) ProtoReflect

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

func (*GetIdentityResponse) Reset

func (x *GetIdentityResponse) Reset()

func (*GetIdentityResponse) String

func (x *GetIdentityResponse) String() string

type GetMetricsRequest

type GetMetricsRequest struct {
	NamePrefix string `protobuf:"bytes,1,opt,name=name_prefix,json=namePrefix,proto3" json:"name_prefix,omitempty"`
	Service    string `protobuf:"bytes,2,opt,name=service,proto3" json:"service,omitempty"`
	// contains filtered or unexported fields
}

GetMetricsRequest filters are optional: name_prefix scopes by metric name, service scopes to series carrying that exact `service` label value (the label is stamped server-side per hosted service). Empty = everything.

func (*GetMetricsRequest) Descriptor deprecated

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

Deprecated: Use GetMetricsRequest.ProtoReflect.Descriptor instead.

func (*GetMetricsRequest) GetNamePrefix

func (x *GetMetricsRequest) GetNamePrefix() string

func (*GetMetricsRequest) GetService

func (x *GetMetricsRequest) GetService() string

func (*GetMetricsRequest) ProtoMessage

func (*GetMetricsRequest) ProtoMessage()

func (*GetMetricsRequest) ProtoReflect

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

func (*GetMetricsRequest) Reset

func (x *GetMetricsRequest) Reset()

func (*GetMetricsRequest) String

func (x *GetMetricsRequest) String() string

type GetMetricsResponse

type GetMetricsResponse struct {
	Descriptors []*MetricDescriptor `protobuf:"bytes,1,rep,name=descriptors,proto3" json:"descriptors,omitempty"`
	Series      []*MetricSeries     `protobuf:"bytes,2,rep,name=series,proto3" json:"series,omitempty"`
	// Distinct series refused at the registry's cardinality cap since startup;
	// non-zero means the series list is incomplete (never silently truncated).
	DroppedSeries uint64 `protobuf:"varint,3,opt,name=dropped_series,json=droppedSeries,proto3" json:"dropped_series,omitempty"`
	Enabled       bool   `protobuf:"varint,4,opt,name=enabled,proto3" json:"enabled,omitempty"`
	// contains filtered or unexported fields
}

GetMetricsResponse is a one-shot snapshot for the initial dashboard paint. enabled=false (master switch off) means the dashboard renders its dark "metrics disabled" state; nothing was collected.

func (*GetMetricsResponse) Descriptor deprecated

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

Deprecated: Use GetMetricsResponse.ProtoReflect.Descriptor instead.

func (*GetMetricsResponse) GetDescriptors

func (x *GetMetricsResponse) GetDescriptors() []*MetricDescriptor

func (*GetMetricsResponse) GetDroppedSeries

func (x *GetMetricsResponse) GetDroppedSeries() uint64

func (*GetMetricsResponse) GetEnabled

func (x *GetMetricsResponse) GetEnabled() bool

func (*GetMetricsResponse) GetSeries

func (x *GetMetricsResponse) GetSeries() []*MetricSeries

func (*GetMetricsResponse) ProtoMessage

func (*GetMetricsResponse) ProtoMessage()

func (*GetMetricsResponse) ProtoReflect

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

func (*GetMetricsResponse) Reset

func (x *GetMetricsResponse) Reset()

func (*GetMetricsResponse) String

func (x *GetMetricsResponse) String() string

type GetServiceEnvRequest

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

func (*GetServiceEnvRequest) Descriptor deprecated

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

Deprecated: Use GetServiceEnvRequest.ProtoReflect.Descriptor instead.

func (*GetServiceEnvRequest) GetName

func (x *GetServiceEnvRequest) GetName() string

func (*GetServiceEnvRequest) ProtoMessage

func (*GetServiceEnvRequest) ProtoMessage()

func (*GetServiceEnvRequest) ProtoReflect

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

func (*GetServiceEnvRequest) Reset

func (x *GetServiceEnvRequest) Reset()

func (*GetServiceEnvRequest) String

func (x *GetServiceEnvRequest) String() string

type GetServiceEnvResponse

type GetServiceEnvResponse struct {
	Keys []string `protobuf:"bytes,1,rep,name=keys,proto3" json:"keys,omitempty"` // overlay key names that are SET, sorted; values are write-only and never returned
	// settings is the manifest's declared-settings schema (ADR-0009 §12) — the
	// typed SHAPE of each option, so the CLI/app render a real settings form
	// instead of a blank grid. Empty when the manifest declares none. Overlay
	// keys with no matching SettingDecl are free-form (the KVP fallback).
	Settings []*SettingDecl `protobuf:"bytes,2,rep,name=settings,proto3" json:"settings,omitempty"`
	// missing_required lists declared-required settings that have no overlay
	// value and no default — advisory only (the daemon never blocks on it).
	MissingRequired []string `protobuf:"bytes,3,rep,name=missing_required,json=missingRequired,proto3" json:"missing_required,omitempty"`
	// contains filtered or unexported fields
}

func (*GetServiceEnvResponse) Descriptor deprecated

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

Deprecated: Use GetServiceEnvResponse.ProtoReflect.Descriptor instead.

func (*GetServiceEnvResponse) GetKeys

func (x *GetServiceEnvResponse) GetKeys() []string

func (*GetServiceEnvResponse) GetMissingRequired

func (x *GetServiceEnvResponse) GetMissingRequired() []string

func (*GetServiceEnvResponse) GetSettings

func (x *GetServiceEnvResponse) GetSettings() []*SettingDecl

func (*GetServiceEnvResponse) ProtoMessage

func (*GetServiceEnvResponse) ProtoMessage()

func (*GetServiceEnvResponse) ProtoReflect

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

func (*GetServiceEnvResponse) Reset

func (x *GetServiceEnvResponse) Reset()

func (*GetServiceEnvResponse) String

func (x *GetServiceEnvResponse) String() string

type GetStatusRequest

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

func (*GetStatusRequest) Descriptor deprecated

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

Deprecated: Use GetStatusRequest.ProtoReflect.Descriptor instead.

func (*GetStatusRequest) ProtoMessage

func (*GetStatusRequest) ProtoMessage()

func (*GetStatusRequest) ProtoReflect

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

func (*GetStatusRequest) Reset

func (x *GetStatusRequest) Reset()

func (*GetStatusRequest) String

func (x *GetStatusRequest) String() string

type GetStatusResponse

type GetStatusResponse struct {
	TorState  string `protobuf:"bytes,1,opt,name=tor_state,json=torState,proto3" json:"tor_state,omitempty"` // "bootstrapping", "ready", "disabled"
	PeerCount int32  `protobuf:"varint,2,opt,name=peer_count,json=peerCount,proto3" json:"peer_count,omitempty"`
	OnionAddr string `protobuf:"bytes,3,opt,name=onion_addr,json=onionAddr,proto3" json:"onion_addr,omitempty"`
	UptimeMs  int64  `protobuf:"varint,4,opt,name=uptime_ms,json=uptimeMs,proto3" json:"uptime_ms,omitempty"`
	RtSize    int32  `protobuf:"varint,5,opt,name=rt_size,json=rtSize,proto3" json:"rt_size,omitempty"` // routing table size
	// contains filtered or unexported fields
}

func (*GetStatusResponse) Descriptor deprecated

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

Deprecated: Use GetStatusResponse.ProtoReflect.Descriptor instead.

func (*GetStatusResponse) GetOnionAddr

func (x *GetStatusResponse) GetOnionAddr() string

func (*GetStatusResponse) GetPeerCount

func (x *GetStatusResponse) GetPeerCount() int32

func (*GetStatusResponse) GetRtSize

func (x *GetStatusResponse) GetRtSize() int32

func (*GetStatusResponse) GetTorState

func (x *GetStatusResponse) GetTorState() string

func (*GetStatusResponse) GetUptimeMs

func (x *GetStatusResponse) GetUptimeMs() int64

func (*GetStatusResponse) ProtoMessage

func (*GetStatusResponse) ProtoMessage()

func (*GetStatusResponse) ProtoReflect

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

func (*GetStatusResponse) Reset

func (x *GetStatusResponse) Reset()

func (*GetStatusResponse) String

func (x *GetStatusResponse) String() string

type InstallProgress

type InstallProgress struct {
	Stage        string                `protobuf:"bytes,1,opt,name=stage,proto3" json:"stage,omitempty"`
	Message      string                `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
	BytesDone    int64                 `protobuf:"varint,3,opt,name=bytes_done,json=bytesDone,proto3" json:"bytes_done,omitempty"`    // downloading only
	BytesTotal   int64                 `protobuf:"varint,4,opt,name=bytes_total,json=bytesTotal,proto3" json:"bytes_total,omitempty"` // downloading only; 0 = unknown
	Result       *InstalledServiceInfo `protobuf:"bytes,5,opt,name=result,proto3" json:"result,omitempty"`                            // set on done
	Capabilities *CapabilitySummary    `protobuf:"bytes,6,opt,name=capabilities,proto3" json:"capabilities,omitempty"`                // set on consent_required
	// contains filtered or unexported fields
}

InstallProgress is one streamed install/upgrade tick. stage values: resolving, downloading, verifying, unpacking, installing, done, consent_required (terminal — the call then fails FailedPrecondition).

func (*InstallProgress) Descriptor deprecated

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

Deprecated: Use InstallProgress.ProtoReflect.Descriptor instead.

func (*InstallProgress) GetBytesDone

func (x *InstallProgress) GetBytesDone() int64

func (*InstallProgress) GetBytesTotal

func (x *InstallProgress) GetBytesTotal() int64

func (*InstallProgress) GetCapabilities

func (x *InstallProgress) GetCapabilities() *CapabilitySummary

func (*InstallProgress) GetMessage

func (x *InstallProgress) GetMessage() string

func (*InstallProgress) GetResult

func (x *InstallProgress) GetResult() *InstalledServiceInfo

func (*InstallProgress) GetStage

func (x *InstallProgress) GetStage() string

func (*InstallProgress) ProtoMessage

func (*InstallProgress) ProtoMessage()

func (*InstallProgress) ProtoReflect

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

func (*InstallProgress) Reset

func (x *InstallProgress) Reset()

func (*InstallProgress) String

func (x *InstallProgress) String() string

type InstallServiceRequest

type InstallServiceRequest struct {

	// source: an https URL to a platform .tar.gz, a daemon-local path
	// (archive or unpacked dir — the dev loop), "owner/repo@tag" with
	// `forge` set, or a bare "name[@version]" resolved through the node's
	// subscribed registries (signed index, hash-pinned — the verified path).
	Source             string `protobuf:"bytes,1,opt,name=source,proto3" json:"source,omitempty"`
	Sha256             string `protobuf:"bytes,2,opt,name=sha256,proto3" json:"sha256,omitempty"`                                                    // expected artifact hash; empty = unverified
	AcceptCapabilities bool   `protobuf:"varint,3,opt,name=accept_capabilities,json=acceptCapabilities,proto3" json:"accept_capabilities,omitempty"` // operator consent to the manifest's declared capabilities
	NoEnable           bool   `protobuf:"varint,4,opt,name=no_enable,json=noEnable,proto3" json:"no_enable,omitempty"`                               // install without enabling (no spawn)
	Forge              string `protobuf:"bytes,5,opt,name=forge,proto3" json:"forge,omitempty"`                                                      // forge base URL for owner/repo@tag sources
	ForgeKind          string `protobuf:"bytes,6,opt,name=forge_kind,json=forgeKind,proto3" json:"forge_kind,omitempty"`                             // gitea (default) | github
	// frontend_choice lets the operator pick the frontend tier they take at
	// install time, independent of what the manifest offers (ADR-0010 §3 —
	// frontend is an install-time presentation choice, not a runtime ceiling).
	// "" = take the manifest's tier (the default; a launched_client manifest
	// installs with its desktop UI); "headless" = decline the frontend and
	// install backend-only (a strict downgrade, so it needs no extra consent —
	// the right choice on a server with no desktop runtime); "ui" = take the
	// manifest's launchable tier (redundant with the default on a fresh install).
	FrontendChoice string `protobuf:"bytes,7,opt,name=frontend_choice,json=frontendChoice,proto3" json:"frontend_choice,omitempty"`
	// contains filtered or unexported fields
}

func (*InstallServiceRequest) Descriptor deprecated

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

Deprecated: Use InstallServiceRequest.ProtoReflect.Descriptor instead.

func (*InstallServiceRequest) GetAcceptCapabilities

func (x *InstallServiceRequest) GetAcceptCapabilities() bool

func (*InstallServiceRequest) GetForge

func (x *InstallServiceRequest) GetForge() string

func (*InstallServiceRequest) GetForgeKind

func (x *InstallServiceRequest) GetForgeKind() string

func (*InstallServiceRequest) GetFrontendChoice

func (x *InstallServiceRequest) GetFrontendChoice() string

func (*InstallServiceRequest) GetNoEnable

func (x *InstallServiceRequest) GetNoEnable() bool

func (*InstallServiceRequest) GetSha256

func (x *InstallServiceRequest) GetSha256() string

func (*InstallServiceRequest) GetSource

func (x *InstallServiceRequest) GetSource() string

func (*InstallServiceRequest) ProtoMessage

func (*InstallServiceRequest) ProtoMessage()

func (*InstallServiceRequest) ProtoReflect

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

func (*InstallServiceRequest) Reset

func (x *InstallServiceRequest) Reset()

func (*InstallServiceRequest) String

func (x *InstallServiceRequest) String() string

type InstalledServiceInfo

type InstalledServiceInfo struct {
	Name            string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Version         string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"`
	State           string `protobuf:"bytes,3,opt,name=state,proto3" json:"state,omitempty"` // supervisor state; "" when the supervisor isn't running it
	Reason          string `protobuf:"bytes,4,opt,name=reason,proto3" json:"reason,omitempty"`
	Pid             int32  `protobuf:"varint,5,opt,name=pid,proto3" json:"pid,omitempty"`
	Restarts        int32  `protobuf:"varint,6,opt,name=restarts,proto3" json:"restarts,omitempty"`
	Enabled         bool   `protobuf:"varint,7,opt,name=enabled,proto3" json:"enabled,omitempty"`
	StartedAtMs     int64  `protobuf:"varint,8,opt,name=started_at_ms,json=startedAtMs,proto3" json:"started_at_ms,omitempty"`
	Source          string `protobuf:"bytes,9,opt,name=source,proto3" json:"source,omitempty"` // install.yaml provenance label
	Sha256          string `protobuf:"bytes,10,opt,name=sha256,proto3" json:"sha256,omitempty"`
	Verified        bool   `protobuf:"varint,11,opt,name=verified,proto3" json:"verified,omitempty"`                                     // came through a registry (signed index + hash pin)
	PreviousVersion string `protobuf:"bytes,12,opt,name=previous_version,json=previousVersion,proto3" json:"previous_version,omitempty"` // rollback target, "" if none
	// upgradable_to is the newest version a subscribed registry publishes for
	// this name, when newer than the installed one. Only filled by
	// ListInstalledServices with check_updates=true; "" otherwise.
	UpgradableTo string `protobuf:"bytes,13,opt,name=upgradable_to,json=upgradableTo,proto3" json:"upgradable_to,omitempty"`
	// frontend is the accepted frontend tier (none|declarative_page|
	// launched_client, ADR-0010 §3). The app reads it to decide whether to offer
	// an "open" affordance — only launched_client has a window to broker.
	Frontend string `protobuf:"bytes,14,opt,name=frontend,proto3" json:"frontend,omitempty"`
	// contains filtered or unexported fields
}

InstalledServiceInfo merges the install record (provenance) with the supervisor's live lifecycle view.

func (*InstalledServiceInfo) Descriptor deprecated

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

Deprecated: Use InstalledServiceInfo.ProtoReflect.Descriptor instead.

func (*InstalledServiceInfo) GetEnabled

func (x *InstalledServiceInfo) GetEnabled() bool

func (*InstalledServiceInfo) GetFrontend

func (x *InstalledServiceInfo) GetFrontend() string

func (*InstalledServiceInfo) GetName

func (x *InstalledServiceInfo) GetName() string

func (*InstalledServiceInfo) GetPid

func (x *InstalledServiceInfo) GetPid() int32

func (*InstalledServiceInfo) GetPreviousVersion

func (x *InstalledServiceInfo) GetPreviousVersion() string

func (*InstalledServiceInfo) GetReason

func (x *InstalledServiceInfo) GetReason() string

func (*InstalledServiceInfo) GetRestarts

func (x *InstalledServiceInfo) GetRestarts() int32

func (*InstalledServiceInfo) GetSha256

func (x *InstalledServiceInfo) GetSha256() string

func (*InstalledServiceInfo) GetSource

func (x *InstalledServiceInfo) GetSource() string

func (*InstalledServiceInfo) GetStartedAtMs

func (x *InstalledServiceInfo) GetStartedAtMs() int64

func (*InstalledServiceInfo) GetState

func (x *InstalledServiceInfo) GetState() string

func (*InstalledServiceInfo) GetUpgradableTo

func (x *InstalledServiceInfo) GetUpgradableTo() string

func (*InstalledServiceInfo) GetVerified

func (x *InstalledServiceInfo) GetVerified() bool

func (*InstalledServiceInfo) GetVersion

func (x *InstalledServiceInfo) GetVersion() string

func (*InstalledServiceInfo) ProtoMessage

func (*InstalledServiceInfo) ProtoMessage()

func (*InstalledServiceInfo) ProtoReflect

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

func (*InstalledServiceInfo) Reset

func (x *InstalledServiceInfo) Reset()

func (*InstalledServiceInfo) String

func (x *InstalledServiceInfo) String() string

type ListContactsRequest

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

func (*ListContactsRequest) Descriptor deprecated

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

Deprecated: Use ListContactsRequest.ProtoReflect.Descriptor instead.

func (*ListContactsRequest) ProtoMessage

func (*ListContactsRequest) ProtoMessage()

func (*ListContactsRequest) ProtoReflect

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

func (*ListContactsRequest) Reset

func (x *ListContactsRequest) Reset()

func (*ListContactsRequest) String

func (x *ListContactsRequest) String() string

type ListContactsResponse

type ListContactsResponse struct {
	Contacts []*ContactInfo `protobuf:"bytes,1,rep,name=contacts,proto3" json:"contacts,omitempty"`
	// contains filtered or unexported fields
}

func (*ListContactsResponse) Descriptor deprecated

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

Deprecated: Use ListContactsResponse.ProtoReflect.Descriptor instead.

func (*ListContactsResponse) GetContacts

func (x *ListContactsResponse) GetContacts() []*ContactInfo

func (*ListContactsResponse) ProtoMessage

func (*ListContactsResponse) ProtoMessage()

func (*ListContactsResponse) ProtoReflect

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

func (*ListContactsResponse) Reset

func (x *ListContactsResponse) Reset()

func (*ListContactsResponse) String

func (x *ListContactsResponse) String() string

type ListInstalledServicesRequest

type ListInstalledServicesRequest struct {

	// check_updates compares each registry-installed service against the
	// subscribed indices (refreshing them best-effort) and fills
	// InstalledServiceInfo.upgradable_to. No auto-update — surfacing only.
	CheckUpdates bool `protobuf:"varint,1,opt,name=check_updates,json=checkUpdates,proto3" json:"check_updates,omitempty"`
	// contains filtered or unexported fields
}

func (*ListInstalledServicesRequest) Descriptor deprecated

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

Deprecated: Use ListInstalledServicesRequest.ProtoReflect.Descriptor instead.

func (*ListInstalledServicesRequest) GetCheckUpdates

func (x *ListInstalledServicesRequest) GetCheckUpdates() bool

func (*ListInstalledServicesRequest) ProtoMessage

func (*ListInstalledServicesRequest) ProtoMessage()

func (*ListInstalledServicesRequest) ProtoReflect

func (*ListInstalledServicesRequest) Reset

func (x *ListInstalledServicesRequest) Reset()

func (*ListInstalledServicesRequest) String

type ListInstalledServicesResponse

type ListInstalledServicesResponse struct {
	Services []*InstalledServiceInfo `protobuf:"bytes,1,rep,name=services,proto3" json:"services,omitempty"`
	// contains filtered or unexported fields
}

func (*ListInstalledServicesResponse) Descriptor deprecated

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

Deprecated: Use ListInstalledServicesResponse.ProtoReflect.Descriptor instead.

func (*ListInstalledServicesResponse) GetServices

func (*ListInstalledServicesResponse) ProtoMessage

func (*ListInstalledServicesResponse) ProtoMessage()

func (*ListInstalledServicesResponse) ProtoReflect

func (*ListInstalledServicesResponse) Reset

func (x *ListInstalledServicesResponse) Reset()

func (*ListInstalledServicesResponse) String

type ListPeersRequest

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

func (*ListPeersRequest) Descriptor deprecated

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

Deprecated: Use ListPeersRequest.ProtoReflect.Descriptor instead.

func (*ListPeersRequest) ProtoMessage

func (*ListPeersRequest) ProtoMessage()

func (*ListPeersRequest) ProtoReflect

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

func (*ListPeersRequest) Reset

func (x *ListPeersRequest) Reset()

func (*ListPeersRequest) String

func (x *ListPeersRequest) String() string

type ListPeersResponse

type ListPeersResponse struct {
	Peers []*PeerEntry `protobuf:"bytes,1,rep,name=peers,proto3" json:"peers,omitempty"` // sorted by address
	// contains filtered or unexported fields
}

func (*ListPeersResponse) Descriptor deprecated

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

Deprecated: Use ListPeersResponse.ProtoReflect.Descriptor instead.

func (*ListPeersResponse) GetPeers

func (x *ListPeersResponse) GetPeers() []*PeerEntry

func (*ListPeersResponse) ProtoMessage

func (*ListPeersResponse) ProtoMessage()

func (*ListPeersResponse) ProtoReflect

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

func (*ListPeersResponse) Reset

func (x *ListPeersResponse) Reset()

func (*ListPeersResponse) String

func (x *ListPeersResponse) String() string

type ListRegistriesRequest

type ListRegistriesRequest struct {
	Refresh bool `protobuf:"varint,1,opt,name=refresh,proto3" json:"refresh,omitempty"` // re-fetch each subscription's index first (best-effort)
	// contains filtered or unexported fields
}

func (*ListRegistriesRequest) Descriptor deprecated

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

Deprecated: Use ListRegistriesRequest.ProtoReflect.Descriptor instead.

func (*ListRegistriesRequest) GetRefresh

func (x *ListRegistriesRequest) GetRefresh() bool

func (*ListRegistriesRequest) ProtoMessage

func (*ListRegistriesRequest) ProtoMessage()

func (*ListRegistriesRequest) ProtoReflect

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

func (*ListRegistriesRequest) Reset

func (x *ListRegistriesRequest) Reset()

func (*ListRegistriesRequest) String

func (x *ListRegistriesRequest) String() string

type ListRegistriesResponse

type ListRegistriesResponse struct {
	Registries []*RegistryInfo `protobuf:"bytes,1,rep,name=registries,proto3" json:"registries,omitempty"`
	// contains filtered or unexported fields
}

func (*ListRegistriesResponse) Descriptor deprecated

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

Deprecated: Use ListRegistriesResponse.ProtoReflect.Descriptor instead.

func (*ListRegistriesResponse) GetRegistries

func (x *ListRegistriesResponse) GetRegistries() []*RegistryInfo

func (*ListRegistriesResponse) ProtoMessage

func (*ListRegistriesResponse) ProtoMessage()

func (*ListRegistriesResponse) ProtoReflect

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

func (*ListRegistriesResponse) Reset

func (x *ListRegistriesResponse) Reset()

func (*ListRegistriesResponse) String

func (x *ListRegistriesResponse) String() string

type ListServiceCommandsRequest

type ListServiceCommandsRequest struct {
	Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` // peer/service address whose commands to list
	// contains filtered or unexported fields
}

ListServiceCommandsRequest asks for the commands available for a peer/service address (E1). An empty address may be used to fetch only the daemon built-ins (E4 decides the exact semantics).

func (*ListServiceCommandsRequest) Descriptor deprecated

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

Deprecated: Use ListServiceCommandsRequest.ProtoReflect.Descriptor instead.

func (*ListServiceCommandsRequest) GetAddress

func (x *ListServiceCommandsRequest) GetAddress() string

func (*ListServiceCommandsRequest) ProtoMessage

func (*ListServiceCommandsRequest) ProtoMessage()

func (*ListServiceCommandsRequest) ProtoReflect

func (*ListServiceCommandsRequest) Reset

func (x *ListServiceCommandsRequest) Reset()

func (*ListServiceCommandsRequest) String

func (x *ListServiceCommandsRequest) String() string

type ListServiceCommandsResponse

type ListServiceCommandsResponse struct {
	Commands []*CommandSpec `protobuf:"bytes,1,rep,name=commands,proto3" json:"commands,omitempty"`
	// contains filtered or unexported fields
}

ListServiceCommandsResponse returns the unified command list for the addressed service: the service's declared commands plus the daemon's built-ins, deduped so a client renders one autocomplete list (E4 owns the merge + built-in set).

func (*ListServiceCommandsResponse) Descriptor deprecated

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

Deprecated: Use ListServiceCommandsResponse.ProtoReflect.Descriptor instead.

func (*ListServiceCommandsResponse) GetCommands

func (x *ListServiceCommandsResponse) GetCommands() []*CommandSpec

func (*ListServiceCommandsResponse) ProtoMessage

func (*ListServiceCommandsResponse) ProtoMessage()

func (*ListServiceCommandsResponse) ProtoReflect

func (*ListServiceCommandsResponse) Reset

func (x *ListServiceCommandsResponse) Reset()

func (*ListServiceCommandsResponse) String

func (x *ListServiceCommandsResponse) String() string

type MetricBucket

type MetricBucket struct {
	UpperBound float64 `protobuf:"fixed64,1,opt,name=upper_bound,json=upperBound,proto3" json:"upper_bound,omitempty"`
	Count      uint64  `protobuf:"varint,2,opt,name=count,proto3" json:"count,omitempty"`
	// contains filtered or unexported fields
}

MetricBucket is one cumulative histogram bucket (count of observations <= upper_bound).

func (*MetricBucket) Descriptor deprecated

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

Deprecated: Use MetricBucket.ProtoReflect.Descriptor instead.

func (*MetricBucket) GetCount

func (x *MetricBucket) GetCount() uint64

func (*MetricBucket) GetUpperBound

func (x *MetricBucket) GetUpperBound() float64

func (*MetricBucket) ProtoMessage

func (*MetricBucket) ProtoMessage()

func (*MetricBucket) ProtoReflect

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

func (*MetricBucket) Reset

func (x *MetricBucket) Reset()

func (*MetricBucket) String

func (x *MetricBucket) String() string

type MetricDescriptor

type MetricDescriptor struct {
	Name      string    `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Kind      string    `protobuf:"bytes,2,opt,name=kind,proto3" json:"kind,omitempty"` // "counter" | "gauge" | "histogram"
	Unit      string    `protobuf:"bytes,3,opt,name=unit,proto3" json:"unit,omitempty"` // e.g. "bytes", "bytes/s", "seconds", "count"
	LabelKeys []string  `protobuf:"bytes,4,rep,name=label_keys,json=labelKeys,proto3" json:"label_keys,omitempty"`
	Help      string    `protobuf:"bytes,5,opt,name=help,proto3" json:"help,omitempty"`
	Buckets   []float64 `protobuf:"fixed64,6,rep,packed,name=buckets,proto3" json:"buckets,omitempty"` // histogram upper bounds, ascending
	// contains filtered or unexported fields
}

MetricDescriptor declares one metric's shape. The UI renders panels generically from kind+unit — clients must not hard-code metric names.

func (*MetricDescriptor) Descriptor deprecated

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

Deprecated: Use MetricDescriptor.ProtoReflect.Descriptor instead.

func (*MetricDescriptor) GetBuckets

func (x *MetricDescriptor) GetBuckets() []float64

func (*MetricDescriptor) GetHelp

func (x *MetricDescriptor) GetHelp() string

func (*MetricDescriptor) GetKind

func (x *MetricDescriptor) GetKind() string

func (*MetricDescriptor) GetLabelKeys

func (x *MetricDescriptor) GetLabelKeys() []string

func (*MetricDescriptor) GetName

func (x *MetricDescriptor) GetName() string

func (*MetricDescriptor) GetUnit

func (x *MetricDescriptor) GetUnit() string

func (*MetricDescriptor) ProtoMessage

func (*MetricDescriptor) ProtoMessage()

func (*MetricDescriptor) ProtoReflect

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

func (*MetricDescriptor) Reset

func (x *MetricDescriptor) Reset()

func (*MetricDescriptor) String

func (x *MetricDescriptor) String() string

type MetricPoint

type MetricPoint struct {
	Value float64 `protobuf:"fixed64,1,opt,name=value,proto3" json:"value,omitempty"`
	Ts    int64   `protobuf:"varint,2,opt,name=ts,proto3" json:"ts,omitempty"` // unix millis
	// contains filtered or unexported fields
}

MetricPoint is one ring-buffer sample. Counters carry the cumulative total at ts; gauges the set value; histograms the raw observation.

func (*MetricPoint) Descriptor deprecated

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

Deprecated: Use MetricPoint.ProtoReflect.Descriptor instead.

func (*MetricPoint) GetTs

func (x *MetricPoint) GetTs() int64

func (*MetricPoint) GetValue

func (x *MetricPoint) GetValue() float64

func (*MetricPoint) ProtoMessage

func (*MetricPoint) ProtoMessage()

func (*MetricPoint) ProtoReflect

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

func (*MetricPoint) Reset

func (x *MetricPoint) Reset()

func (*MetricPoint) String

func (x *MetricPoint) String() string

type MetricSample

type MetricSample struct {
	Name   string            `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Labels map[string]string `` /* 139-byte string literal not displayed */
	Value  float64           `protobuf:"fixed64,3,opt,name=value,proto3" json:"value,omitempty"`
	Ts     int64             `protobuf:"varint,4,opt,name=ts,proto3" json:"ts,omitempty"` // unix millis; currently ignored (daemon stamps arrival)
	// contains filtered or unexported fields
}

MetricSample pushes one sample for a metric declared in the manifest (ADR-0005). Semantics by declared kind: counter = non-negative INCREMENT, gauge = set value, histogram = one observation. labels must carry exactly the declared label_keys ("service" rejected — daemon-stamped). ts is reserved for future client timestamps; the daemon currently stamps arrival time. Out-of-contract samples are dropped with a coded error; the stream stays up.

func (*MetricSample) Descriptor deprecated

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

Deprecated: Use MetricSample.ProtoReflect.Descriptor instead.

func (*MetricSample) GetLabels

func (x *MetricSample) GetLabels() map[string]string

func (*MetricSample) GetName

func (x *MetricSample) GetName() string

func (*MetricSample) GetTs

func (x *MetricSample) GetTs() int64

func (*MetricSample) GetValue

func (x *MetricSample) GetValue() float64

func (*MetricSample) ProtoMessage

func (*MetricSample) ProtoMessage()

func (*MetricSample) ProtoReflect

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

func (*MetricSample) Reset

func (x *MetricSample) Reset()

func (*MetricSample) String

func (x *MetricSample) String() string

type MetricSeries

type MetricSeries struct {
	Name    string            `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Labels  map[string]string ``                                                                    /* 139-byte string literal not displayed */
	Points  []*MetricPoint    `protobuf:"bytes,3,rep,name=points,proto3" json:"points,omitempty"`   // oldest first; in stream updates only points newer than the last update
	Value   float64           `protobuf:"fixed64,4,opt,name=value,proto3" json:"value,omitempty"`   // counter cumulative / gauge last value
	Rate    float64           `protobuf:"fixed64,5,opt,name=rate,proto3" json:"rate,omitempty"`     // counters: derived per-second rate over the ring window
	Count   uint64            `protobuf:"varint,6,opt,name=count,proto3" json:"count,omitempty"`    // histograms
	Sum     float64           `protobuf:"fixed64,7,opt,name=sum,proto3" json:"sum,omitempty"`       // histograms
	Buckets []*MetricBucket   `protobuf:"bytes,8,rep,name=buckets,proto3" json:"buckets,omitempty"` // histograms
	// contains filtered or unexported fields
}

MetricSeries is one live (name + label set) series.

func (*MetricSeries) Descriptor deprecated

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

Deprecated: Use MetricSeries.ProtoReflect.Descriptor instead.

func (*MetricSeries) GetBuckets

func (x *MetricSeries) GetBuckets() []*MetricBucket

func (*MetricSeries) GetCount

func (x *MetricSeries) GetCount() uint64

func (*MetricSeries) GetLabels

func (x *MetricSeries) GetLabels() map[string]string

func (*MetricSeries) GetName

func (x *MetricSeries) GetName() string

func (*MetricSeries) GetPoints

func (x *MetricSeries) GetPoints() []*MetricPoint

func (*MetricSeries) GetRate

func (x *MetricSeries) GetRate() float64

func (*MetricSeries) GetSum

func (x *MetricSeries) GetSum() float64

func (*MetricSeries) GetValue

func (x *MetricSeries) GetValue() float64

func (*MetricSeries) ProtoMessage

func (*MetricSeries) ProtoMessage()

func (*MetricSeries) ProtoReflect

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

func (*MetricSeries) Reset

func (x *MetricSeries) Reset()

func (*MetricSeries) String

func (x *MetricSeries) String() string

type MetricSpec

type MetricSpec struct {
	Name      string    `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`                            // [a-z][a-z0-9_]*, unique within the manifest
	Kind      string    `protobuf:"bytes,2,opt,name=kind,proto3" json:"kind,omitempty"`                            // "counter" | "gauge" | "histogram"
	Unit      string    `protobuf:"bytes,3,opt,name=unit,proto3" json:"unit,omitempty"`                            // e.g. "count", "seconds", "bytes"
	LabelKeys []string  `protobuf:"bytes,4,rep,name=label_keys,json=labelKeys,proto3" json:"label_keys,omitempty"` // label keys samples must carry; "service" is reserved
	Help      string    `protobuf:"bytes,5,opt,name=help,proto3" json:"help,omitempty"`                            // one line, shown in the dashboard
	Buckets   []float64 `protobuf:"fixed64,6,rep,packed,name=buckets,proto3" json:"buckets,omitempty"`             // histogram upper bounds (default: latency buckets)
	// contains filtered or unexported fields
}

MetricSpec declares one metric a service will push (ADR-0005). Mirrors the read-side MetricDescriptor: kind+unit drive generic dashboard rendering.

func (*MetricSpec) Descriptor deprecated

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

Deprecated: Use MetricSpec.ProtoReflect.Descriptor instead.

func (*MetricSpec) GetBuckets

func (x *MetricSpec) GetBuckets() []float64

func (*MetricSpec) GetHelp

func (x *MetricSpec) GetHelp() string

func (*MetricSpec) GetKind

func (x *MetricSpec) GetKind() string

func (*MetricSpec) GetLabelKeys

func (x *MetricSpec) GetLabelKeys() []string

func (*MetricSpec) GetName

func (x *MetricSpec) GetName() string

func (*MetricSpec) GetUnit

func (x *MetricSpec) GetUnit() string

func (*MetricSpec) ProtoMessage

func (*MetricSpec) ProtoMessage()

func (*MetricSpec) ProtoReflect

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

func (*MetricSpec) Reset

func (x *MetricSpec) Reset()

func (*MetricSpec) String

func (x *MetricSpec) String() string

type MetricUpdate

type MetricUpdate struct {
	Descriptors   []*MetricDescriptor `protobuf:"bytes,1,rep,name=descriptors,proto3" json:"descriptors,omitempty"`
	Series        []*MetricSeries     `protobuf:"bytes,2,rep,name=series,proto3" json:"series,omitempty"`
	DroppedSeries uint64              `protobuf:"varint,3,opt,name=dropped_series,json=droppedSeries,proto3" json:"dropped_series,omitempty"`
	Enabled       bool                `protobuf:"varint,4,opt,name=enabled,proto3" json:"enabled,omitempty"`
	// contains filtered or unexported fields
}

MetricUpdate is one stream tick. The first update carries the full current state (descriptors + all matched series with their ring history); later updates carry only descriptors not yet announced and, per series, only points newer than the previous update — series with nothing new are omitted. Clients merge by (name + labels).

func (*MetricUpdate) Descriptor deprecated

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

Deprecated: Use MetricUpdate.ProtoReflect.Descriptor instead.

func (*MetricUpdate) GetDescriptors

func (x *MetricUpdate) GetDescriptors() []*MetricDescriptor

func (*MetricUpdate) GetDroppedSeries

func (x *MetricUpdate) GetDroppedSeries() uint64

func (*MetricUpdate) GetEnabled

func (x *MetricUpdate) GetEnabled() bool

func (*MetricUpdate) GetSeries

func (x *MetricUpdate) GetSeries() []*MetricSeries

func (*MetricUpdate) ProtoMessage

func (*MetricUpdate) ProtoMessage()

func (*MetricUpdate) ProtoReflect

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

func (*MetricUpdate) Reset

func (x *MetricUpdate) Reset()

func (*MetricUpdate) String

func (x *MetricUpdate) String() string

type PeerEntry

type PeerEntry struct {
	Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
	Alias   string `protobuf:"bytes,2,opt,name=alias,proto3" json:"alias,omitempty"`    // empty when unsaved
	Saved   bool   `protobuf:"varint,3,opt,name=saved,proto3" json:"saved,omitempty"`   // true when in the contact store
	State   string `protobuf:"bytes,4,opt,name=state,proto3" json:"state,omitempty"`    // "none" | "connecting" | "direct" | "tor" | "failed"
	Online  bool   `protobuf:"varint,5,opt,name=online,proto3" json:"online,omitempty"` // a live data path exists (state direct or tor)
	// contains filtered or unexported fields
}

PeerEntry is one row of the unified peers list: a peer that is a saved contact, has a live or in-flight connection, or both. An inbound-only non-contact appears with saved=false and an empty alias; nothing about it is persisted unless the operator explicitly adds it.

func (*PeerEntry) Descriptor deprecated

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

Deprecated: Use PeerEntry.ProtoReflect.Descriptor instead.

func (*PeerEntry) GetAddress

func (x *PeerEntry) GetAddress() string

func (*PeerEntry) GetAlias

func (x *PeerEntry) GetAlias() string

func (*PeerEntry) GetOnline

func (x *PeerEntry) GetOnline() bool

func (*PeerEntry) GetSaved

func (x *PeerEntry) GetSaved() bool

func (*PeerEntry) GetState

func (x *PeerEntry) GetState() string

func (*PeerEntry) ProtoMessage

func (*PeerEntry) ProtoMessage()

func (*PeerEntry) ProtoReflect

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

func (*PeerEntry) Reset

func (x *PeerEntry) Reset()

func (*PeerEntry) String

func (x *PeerEntry) String() string

type PeerState

type PeerState struct {
	Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
	State   string `protobuf:"bytes,2,opt,name=state,proto3" json:"state,omitempty"`
	Error   string `protobuf:"bytes,3,opt,name=error,proto3" json:"error,omitempty"`
	// contains filtered or unexported fields
}

func (*PeerState) Descriptor deprecated

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

Deprecated: Use PeerState.ProtoReflect.Descriptor instead.

func (*PeerState) GetAddress

func (x *PeerState) GetAddress() string

func (*PeerState) GetError

func (x *PeerState) GetError() string

func (*PeerState) GetState

func (x *PeerState) GetState() string

func (*PeerState) ProtoMessage

func (*PeerState) ProtoMessage()

func (*PeerState) ProtoReflect

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

func (*PeerState) Reset

func (x *PeerState) Reset()

func (*PeerState) String

func (x *PeerState) String() string

type RateLimitPolicy

type RateLimitPolicy struct {
	RequestsPerMinute int32 `protobuf:"varint,1,opt,name=requests_per_minute,json=requestsPerMinute,proto3" json:"requests_per_minute,omitempty"` // 0 = no limit
	Burst             int32 `protobuf:"varint,2,opt,name=burst,proto3" json:"burst,omitempty"`                                                    // token-bucket capacity; defaults to requests_per_minute if 0
	// contains filtered or unexported fields
}

RateLimitPolicy declares a token-bucket rate limit applied per (service, source_addr) pair. Bucket refill rate is requests_per_minute / 60 per second; capacity is burst (or requests_per_minute if burst == 0).

func (*RateLimitPolicy) Descriptor deprecated

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

Deprecated: Use RateLimitPolicy.ProtoReflect.Descriptor instead.

func (*RateLimitPolicy) GetBurst

func (x *RateLimitPolicy) GetBurst() int32

func (*RateLimitPolicy) GetRequestsPerMinute

func (x *RateLimitPolicy) GetRequestsPerMinute() int32

func (*RateLimitPolicy) ProtoMessage

func (*RateLimitPolicy) ProtoMessage()

func (*RateLimitPolicy) ProtoReflect

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

func (*RateLimitPolicy) Reset

func (x *RateLimitPolicy) Reset()

func (*RateLimitPolicy) String

func (x *RateLimitPolicy) String() string

type RegisteredService

type RegisteredService struct {
	Name      string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Address   string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"`
	OnionAddr string `protobuf:"bytes,3,opt,name=onion_addr,json=onionAddr,proto3" json:"onion_addr,omitempty"`
	// contains filtered or unexported fields
}

func (*RegisteredService) Descriptor deprecated

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

Deprecated: Use RegisteredService.ProtoReflect.Descriptor instead.

func (*RegisteredService) GetAddress

func (x *RegisteredService) GetAddress() string

func (*RegisteredService) GetName

func (x *RegisteredService) GetName() string

func (*RegisteredService) GetOnionAddr

func (x *RegisteredService) GetOnionAddr() string

func (*RegisteredService) ProtoMessage

func (*RegisteredService) ProtoMessage()

func (*RegisteredService) ProtoReflect

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

func (*RegisteredService) Reset

func (x *RegisteredService) Reset()

func (*RegisteredService) String

func (x *RegisteredService) String() string

type RegistryArtifact

type RegistryArtifact struct {
	Url    string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"`       // https artifact location (forge release asset)
	Sha256 string `protobuf:"bytes,2,opt,name=sha256,proto3" json:"sha256,omitempty"` // hex; the local verify pin — hash mismatch is a hard fail
	Size   int64  `protobuf:"varint,3,opt,name=size,proto3" json:"size,omitempty"`    // bytes, 0 = unknown
	// contains filtered or unexported fields
}

func (*RegistryArtifact) Descriptor deprecated

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

Deprecated: Use RegistryArtifact.ProtoReflect.Descriptor instead.

func (*RegistryArtifact) GetSha256

func (x *RegistryArtifact) GetSha256() string

func (*RegistryArtifact) GetSize

func (x *RegistryArtifact) GetSize() int64

func (*RegistryArtifact) GetUrl

func (x *RegistryArtifact) GetUrl() string

func (*RegistryArtifact) ProtoMessage

func (*RegistryArtifact) ProtoMessage()

func (*RegistryArtifact) ProtoReflect

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

func (*RegistryArtifact) Reset

func (x *RegistryArtifact) Reset()

func (*RegistryArtifact) String

func (x *RegistryArtifact) String() string

type RegistryEntry

type RegistryEntry struct {
	Name        string             `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Description string             `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	Releases    []*RegistryRelease `protobuf:"bytes,3,rep,name=releases,proto3" json:"releases,omitempty"` // newest first
	// contains filtered or unexported fields
}

func (*RegistryEntry) Descriptor deprecated

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

Deprecated: Use RegistryEntry.ProtoReflect.Descriptor instead.

func (*RegistryEntry) GetDescription

func (x *RegistryEntry) GetDescription() string

func (*RegistryEntry) GetName

func (x *RegistryEntry) GetName() string

func (*RegistryEntry) GetReleases

func (x *RegistryEntry) GetReleases() []*RegistryRelease

func (*RegistryEntry) ProtoMessage

func (*RegistryEntry) ProtoMessage()

func (*RegistryEntry) ProtoReflect

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

func (*RegistryEntry) Reset

func (x *RegistryEntry) Reset()

func (*RegistryEntry) String

func (x *RegistryEntry) String() string

type RegistryHit

type RegistryHit struct {
	Name             string             `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Description      string             `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	Version          string             `protobuf:"bytes,3,opt,name=version,proto3" json:"version,omitempty"`                                           // newest published release
	RegistryAddress  string             `protobuf:"bytes,4,opt,name=registry_address,json=registryAddress,proto3" json:"registry_address,omitempty"`    // which subscription publishes it
	Capabilities     *CapabilitySummary `protobuf:"bytes,5,opt,name=capabilities,proto3" json:"capabilities,omitempty"`                                 // of the newest release
	InstalledVersion string             `protobuf:"bytes,6,opt,name=installed_version,json=installedVersion,proto3" json:"installed_version,omitempty"` // "" when not installed locally
	// contains filtered or unexported fields
}

RegistryHit is one resolvable service from a subscribed registry's index. installed_version is filled when this node has the name installed.

func (*RegistryHit) Descriptor deprecated

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

Deprecated: Use RegistryHit.ProtoReflect.Descriptor instead.

func (*RegistryHit) GetCapabilities

func (x *RegistryHit) GetCapabilities() *CapabilitySummary

func (*RegistryHit) GetDescription

func (x *RegistryHit) GetDescription() string

func (*RegistryHit) GetInstalledVersion

func (x *RegistryHit) GetInstalledVersion() string

func (*RegistryHit) GetName

func (x *RegistryHit) GetName() string

func (*RegistryHit) GetRegistryAddress

func (x *RegistryHit) GetRegistryAddress() string

func (*RegistryHit) GetVersion

func (x *RegistryHit) GetVersion() string

func (*RegistryHit) ProtoMessage

func (*RegistryHit) ProtoMessage()

func (*RegistryHit) ProtoReflect

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

func (*RegistryHit) Reset

func (x *RegistryHit) Reset()

func (*RegistryHit) String

func (x *RegistryHit) String() string

type RegistryIndex

type RegistryIndex struct {
	GeneratedAtMs int64            `protobuf:"varint,1,opt,name=generated_at_ms,json=generatedAtMs,proto3" json:"generated_at_ms,omitempty"`
	Description   string           `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` // operator-set registry description
	Entries       []*RegistryEntry `protobuf:"bytes,3,rep,name=entries,proto3" json:"entries,omitempty"`         // sorted by name
	// contains filtered or unexported fields
}

RegistryIndex is the doc payload of a registry's SignedServiceDocument: everything a subscriber needs to browse, consent, and install without talking to the registry again (the artifact bytes come from the entry's URL — a registry blesses, it never substitutes).

func (*RegistryIndex) Descriptor deprecated

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

Deprecated: Use RegistryIndex.ProtoReflect.Descriptor instead.

func (*RegistryIndex) GetDescription

func (x *RegistryIndex) GetDescription() string

func (*RegistryIndex) GetEntries

func (x *RegistryIndex) GetEntries() []*RegistryEntry

func (*RegistryIndex) GetGeneratedAtMs

func (x *RegistryIndex) GetGeneratedAtMs() int64

func (*RegistryIndex) ProtoMessage

func (*RegistryIndex) ProtoMessage()

func (*RegistryIndex) ProtoReflect

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

func (*RegistryIndex) Reset

func (x *RegistryIndex) Reset()

func (*RegistryIndex) String

func (x *RegistryIndex) String() string

type RegistryInfo

type RegistryInfo struct {
	Address     string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
	Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`                       // from the last verified index
	Entries     int32  `protobuf:"varint,3,opt,name=entries,proto3" json:"entries,omitempty"`                              // service count in the last verified index
	FetchedAtMs int64  `protobuf:"varint,4,opt,name=fetched_at_ms,json=fetchedAtMs,proto3" json:"fetched_at_ms,omitempty"` // 0 = never fetched (no cache)
	Error       string `protobuf:"bytes,5,opt,name=error,proto3" json:"error,omitempty"`                                   // last fetch failure, "" when healthy
	// contains filtered or unexported fields
}

RegistryInfo is one subscription's status as seen from this node.

func (*RegistryInfo) Descriptor deprecated

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

Deprecated: Use RegistryInfo.ProtoReflect.Descriptor instead.

func (*RegistryInfo) GetAddress

func (x *RegistryInfo) GetAddress() string

func (*RegistryInfo) GetDescription

func (x *RegistryInfo) GetDescription() string

func (*RegistryInfo) GetEntries

func (x *RegistryInfo) GetEntries() int32

func (*RegistryInfo) GetError

func (x *RegistryInfo) GetError() string

func (*RegistryInfo) GetFetchedAtMs

func (x *RegistryInfo) GetFetchedAtMs() int64

func (*RegistryInfo) ProtoMessage

func (*RegistryInfo) ProtoMessage()

func (*RegistryInfo) ProtoReflect

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

func (*RegistryInfo) Reset

func (x *RegistryInfo) Reset()

func (*RegistryInfo) String

func (x *RegistryInfo) String() string

type RegistryRelease

type RegistryRelease struct {
	Version      string                       `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"`           // semver
	Capabilities *CapabilitySummary           `protobuf:"bytes,2,opt,name=capabilities,proto3" json:"capabilities,omitempty"` // shown pre-install, without downloading
	Platforms    map[string]*RegistryArtifact ``                                                                              // key: "<os>-<arch>"
	/* 145-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*RegistryRelease) Descriptor deprecated

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

Deprecated: Use RegistryRelease.ProtoReflect.Descriptor instead.

func (*RegistryRelease) GetCapabilities

func (x *RegistryRelease) GetCapabilities() *CapabilitySummary

func (*RegistryRelease) GetPlatforms

func (x *RegistryRelease) GetPlatforms() map[string]*RegistryArtifact

func (*RegistryRelease) GetVersion

func (x *RegistryRelease) GetVersion() string

func (*RegistryRelease) ProtoMessage

func (*RegistryRelease) ProtoMessage()

func (*RegistryRelease) ProtoReflect

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

func (*RegistryRelease) Reset

func (x *RegistryRelease) Reset()

func (*RegistryRelease) String

func (x *RegistryRelease) String() string

type RejectConnectionRequest

type RejectConnectionRequest struct {
	Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
	// contains filtered or unexported fields
}

func (*RejectConnectionRequest) Descriptor deprecated

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

Deprecated: Use RejectConnectionRequest.ProtoReflect.Descriptor instead.

func (*RejectConnectionRequest) GetAddress

func (x *RejectConnectionRequest) GetAddress() string

func (*RejectConnectionRequest) ProtoMessage

func (*RejectConnectionRequest) ProtoMessage()

func (*RejectConnectionRequest) ProtoReflect

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

func (*RejectConnectionRequest) Reset

func (x *RejectConnectionRequest) Reset()

func (*RejectConnectionRequest) String

func (x *RejectConnectionRequest) String() string

type RejectConnectionResponse

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

func (*RejectConnectionResponse) Descriptor deprecated

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

Deprecated: Use RejectConnectionResponse.ProtoReflect.Descriptor instead.

func (*RejectConnectionResponse) ProtoMessage

func (*RejectConnectionResponse) ProtoMessage()

func (*RejectConnectionResponse) ProtoReflect

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

func (*RejectConnectionResponse) Reset

func (x *RejectConnectionResponse) Reset()

func (*RejectConnectionResponse) String

func (x *RejectConnectionResponse) String() string

type RejectFileRequest

type RejectFileRequest struct {
	TransferId string `protobuf:"bytes,1,opt,name=transfer_id,json=transferId,proto3" json:"transfer_id,omitempty"`
	// contains filtered or unexported fields
}

func (*RejectFileRequest) Descriptor deprecated

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

Deprecated: Use RejectFileRequest.ProtoReflect.Descriptor instead.

func (*RejectFileRequest) GetTransferId

func (x *RejectFileRequest) GetTransferId() string

func (*RejectFileRequest) ProtoMessage

func (*RejectFileRequest) ProtoMessage()

func (*RejectFileRequest) ProtoReflect

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

func (*RejectFileRequest) Reset

func (x *RejectFileRequest) Reset()

func (*RejectFileRequest) String

func (x *RejectFileRequest) String() string

type RejectFileResponse

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

func (*RejectFileResponse) Descriptor deprecated

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

Deprecated: Use RejectFileResponse.ProtoReflect.Descriptor instead.

func (*RejectFileResponse) ProtoMessage

func (*RejectFileResponse) ProtoMessage()

func (*RejectFileResponse) ProtoReflect

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

func (*RejectFileResponse) Reset

func (x *RejectFileResponse) Reset()

func (*RejectFileResponse) String

func (x *RejectFileResponse) String() string

type RemoveContactRequest

type RemoveContactRequest struct {
	Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
	// contains filtered or unexported fields
}

func (*RemoveContactRequest) Descriptor deprecated

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

Deprecated: Use RemoveContactRequest.ProtoReflect.Descriptor instead.

func (*RemoveContactRequest) GetAddress

func (x *RemoveContactRequest) GetAddress() string

func (*RemoveContactRequest) ProtoMessage

func (*RemoveContactRequest) ProtoMessage()

func (*RemoveContactRequest) ProtoReflect

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

func (*RemoveContactRequest) Reset

func (x *RemoveContactRequest) Reset()

func (*RemoveContactRequest) String

func (x *RemoveContactRequest) String() string

type RemoveContactResponse

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

func (*RemoveContactResponse) Descriptor deprecated

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

Deprecated: Use RemoveContactResponse.ProtoReflect.Descriptor instead.

func (*RemoveContactResponse) ProtoMessage

func (*RemoveContactResponse) ProtoMessage()

func (*RemoveContactResponse) ProtoReflect

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

func (*RemoveContactResponse) Reset

func (x *RemoveContactResponse) Reset()

func (*RemoveContactResponse) String

func (x *RemoveContactResponse) String() string

type RemoveRegistryRequest

type RemoveRegistryRequest struct {
	Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
	// contains filtered or unexported fields
}

func (*RemoveRegistryRequest) Descriptor deprecated

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

Deprecated: Use RemoveRegistryRequest.ProtoReflect.Descriptor instead.

func (*RemoveRegistryRequest) GetAddress

func (x *RemoveRegistryRequest) GetAddress() string

func (*RemoveRegistryRequest) ProtoMessage

func (*RemoveRegistryRequest) ProtoMessage()

func (*RemoveRegistryRequest) ProtoReflect

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

func (*RemoveRegistryRequest) Reset

func (x *RemoveRegistryRequest) Reset()

func (*RemoveRegistryRequest) String

func (x *RemoveRegistryRequest) String() string

type RemoveRegistryResponse

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

func (*RemoveRegistryResponse) Descriptor deprecated

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

Deprecated: Use RemoveRegistryResponse.ProtoReflect.Descriptor instead.

func (*RemoveRegistryResponse) ProtoMessage

func (*RemoveRegistryResponse) ProtoMessage()

func (*RemoveRegistryResponse) ProtoReflect

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

func (*RemoveRegistryResponse) Reset

func (x *RemoveRegistryResponse) Reset()

func (*RemoveRegistryResponse) String

func (x *RemoveRegistryResponse) String() string

type RollbackServiceRequest

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

func (*RollbackServiceRequest) Descriptor deprecated

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

Deprecated: Use RollbackServiceRequest.ProtoReflect.Descriptor instead.

func (*RollbackServiceRequest) GetName

func (x *RollbackServiceRequest) GetName() string

func (*RollbackServiceRequest) ProtoMessage

func (*RollbackServiceRequest) ProtoMessage()

func (*RollbackServiceRequest) ProtoReflect

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

func (*RollbackServiceRequest) Reset

func (x *RollbackServiceRequest) Reset()

func (*RollbackServiceRequest) String

func (x *RollbackServiceRequest) String() string

type RollbackServiceResponse

type RollbackServiceResponse struct {
	Result *InstalledServiceInfo `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty"`
	// contains filtered or unexported fields
}

func (*RollbackServiceResponse) Descriptor deprecated

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

Deprecated: Use RollbackServiceResponse.ProtoReflect.Descriptor instead.

func (*RollbackServiceResponse) GetResult

func (*RollbackServiceResponse) ProtoMessage

func (*RollbackServiceResponse) ProtoMessage()

func (*RollbackServiceResponse) ProtoReflect

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

func (*RollbackServiceResponse) Reset

func (x *RollbackServiceResponse) Reset()

func (*RollbackServiceResponse) String

func (x *RollbackServiceResponse) String() string

type RotateAdminKeyRequest

type RotateAdminKeyRequest struct {
	PublicKey []byte `protobuf:"bytes,1,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"` // raw Ed25519 public key, exactly 32 bytes
	// contains filtered or unexported fields
}

func (*RotateAdminKeyRequest) Descriptor deprecated

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

Deprecated: Use RotateAdminKeyRequest.ProtoReflect.Descriptor instead.

func (*RotateAdminKeyRequest) GetPublicKey

func (x *RotateAdminKeyRequest) GetPublicKey() []byte

func (*RotateAdminKeyRequest) ProtoMessage

func (*RotateAdminKeyRequest) ProtoMessage()

func (*RotateAdminKeyRequest) ProtoReflect

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

func (*RotateAdminKeyRequest) Reset

func (x *RotateAdminKeyRequest) Reset()

func (*RotateAdminKeyRequest) String

func (x *RotateAdminKeyRequest) String() string

type RotateAdminKeyResponse

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

func (*RotateAdminKeyResponse) Descriptor deprecated

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

Deprecated: Use RotateAdminKeyResponse.ProtoReflect.Descriptor instead.

func (*RotateAdminKeyResponse) ProtoMessage

func (*RotateAdminKeyResponse) ProtoMessage()

func (*RotateAdminKeyResponse) ProtoReflect

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

func (*RotateAdminKeyResponse) Reset

func (x *RotateAdminKeyResponse) Reset()

func (*RotateAdminKeyResponse) String

func (x *RotateAdminKeyResponse) String() string

type SearchRegistriesRequest

type SearchRegistriesRequest struct {
	Query   string `protobuf:"bytes,1,opt,name=query,proto3" json:"query,omitempty"`      // substring match on name + description; "" = everything
	Refresh bool   `protobuf:"varint,2,opt,name=refresh,proto3" json:"refresh,omitempty"` // re-fetch subscriptions first (best-effort)
	// contains filtered or unexported fields
}

func (*SearchRegistriesRequest) Descriptor deprecated

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

Deprecated: Use SearchRegistriesRequest.ProtoReflect.Descriptor instead.

func (*SearchRegistriesRequest) GetQuery

func (x *SearchRegistriesRequest) GetQuery() string

func (*SearchRegistriesRequest) GetRefresh

func (x *SearchRegistriesRequest) GetRefresh() bool

func (*SearchRegistriesRequest) ProtoMessage

func (*SearchRegistriesRequest) ProtoMessage()

func (*SearchRegistriesRequest) ProtoReflect

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

func (*SearchRegistriesRequest) Reset

func (x *SearchRegistriesRequest) Reset()

func (*SearchRegistriesRequest) String

func (x *SearchRegistriesRequest) String() string

type SearchRegistriesResponse

type SearchRegistriesResponse struct {
	Hits []*RegistryHit `protobuf:"bytes,1,rep,name=hits,proto3" json:"hits,omitempty"`
	// contains filtered or unexported fields
}

func (*SearchRegistriesResponse) Descriptor deprecated

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

Deprecated: Use SearchRegistriesResponse.ProtoReflect.Descriptor instead.

func (*SearchRegistriesResponse) GetHits

func (x *SearchRegistriesResponse) GetHits() []*RegistryHit

func (*SearchRegistriesResponse) ProtoMessage

func (*SearchRegistriesResponse) ProtoMessage()

func (*SearchRegistriesResponse) ProtoReflect

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

func (*SearchRegistriesResponse) Reset

func (x *SearchRegistriesResponse) Reset()

func (*SearchRegistriesResponse) String

func (x *SearchRegistriesResponse) String() string

type SendCommandRequest

type SendCommandRequest struct {
	Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` // target service/peer address
	Name    string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`       // command name (case-insensitive)
	Args    string `protobuf:"bytes,3,opt,name=args,proto3" json:"args,omitempty"`       // raw remainder after the name
	// contains filtered or unexported fields
}

SendCommandRequest invokes command `name` (with raw `args`) on the service at `address` (E3). The name is matched case-insensitively.

func (*SendCommandRequest) Descriptor deprecated

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

Deprecated: Use SendCommandRequest.ProtoReflect.Descriptor instead.

func (*SendCommandRequest) GetAddress

func (x *SendCommandRequest) GetAddress() string

func (*SendCommandRequest) GetArgs

func (x *SendCommandRequest) GetArgs() string

func (*SendCommandRequest) GetName

func (x *SendCommandRequest) GetName() string

func (*SendCommandRequest) ProtoMessage

func (*SendCommandRequest) ProtoMessage()

func (*SendCommandRequest) ProtoReflect

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

func (*SendCommandRequest) Reset

func (x *SendCommandRequest) Reset()

func (*SendCommandRequest) String

func (x *SendCommandRequest) String() string

type SendCommandResponse

type SendCommandResponse struct {
	CommandId string `protobuf:"bytes,1,opt,name=command_id,json=commandId,proto3" json:"command_id,omitempty"`
	Text      string `protobuf:"bytes,2,opt,name=text,proto3" json:"text,omitempty"`
	Ok        bool   `protobuf:"varint,3,opt,name=ok,proto3" json:"ok,omitempty"`
	Leg       string `protobuf:"bytes,4,opt,name=leg,proto3" json:"leg,omitempty"` // "builtin" | "service" | "timeout" (E3 stream label)
	// contains filtered or unexported fields
}

SendCommandResponse carries one leg of the streamed reply. `command_id` is the daemon-minted correlation id (useful for logs/tracing), stable across the stream's legs. `ok=false` flags a handler error or a daemon-rendered failure (unknown command, timeout); `text` is the content-safe message to render. The stream emits at most one `builtin` leg, then at most one `service`-or-`timeout` leg; an undeclared/unknown name yields a single daemon-rendered leg.

func (*SendCommandResponse) Descriptor deprecated

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

Deprecated: Use SendCommandResponse.ProtoReflect.Descriptor instead.

func (*SendCommandResponse) GetCommandId

func (x *SendCommandResponse) GetCommandId() string

func (*SendCommandResponse) GetLeg

func (x *SendCommandResponse) GetLeg() string

func (*SendCommandResponse) GetOk

func (x *SendCommandResponse) GetOk() bool

func (*SendCommandResponse) GetText

func (x *SendCommandResponse) GetText() string

func (*SendCommandResponse) ProtoMessage

func (*SendCommandResponse) ProtoMessage()

func (*SendCommandResponse) ProtoReflect

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

func (*SendCommandResponse) Reset

func (x *SendCommandResponse) Reset()

func (*SendCommandResponse) String

func (x *SendCommandResponse) String() string

type SendFileRequest

type SendFileRequest struct {
	Address  string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` // recipient's address
	FilePath string `protobuf:"bytes,2,opt,name=file_path,json=filePath,proto3" json:"file_path,omitempty"`
	// contains filtered or unexported fields
}

func (*SendFileRequest) Descriptor deprecated

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

Deprecated: Use SendFileRequest.ProtoReflect.Descriptor instead.

func (*SendFileRequest) GetAddress

func (x *SendFileRequest) GetAddress() string

func (*SendFileRequest) GetFilePath

func (x *SendFileRequest) GetFilePath() string

func (*SendFileRequest) ProtoMessage

func (*SendFileRequest) ProtoMessage()

func (*SendFileRequest) ProtoReflect

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

func (*SendFileRequest) Reset

func (x *SendFileRequest) Reset()

func (*SendFileRequest) String

func (x *SendFileRequest) String() string

type SendMessageRequest

type SendMessageRequest struct {
	Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` // recipient's address
	Text    string `protobuf:"bytes,2,opt,name=text,proto3" json:"text,omitempty"`
	// contains filtered or unexported fields
}

func (*SendMessageRequest) Descriptor deprecated

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

Deprecated: Use SendMessageRequest.ProtoReflect.Descriptor instead.

func (*SendMessageRequest) GetAddress

func (x *SendMessageRequest) GetAddress() string

func (*SendMessageRequest) GetText

func (x *SendMessageRequest) GetText() string

func (*SendMessageRequest) ProtoMessage

func (*SendMessageRequest) ProtoMessage()

func (*SendMessageRequest) ProtoReflect

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

func (*SendMessageRequest) Reset

func (x *SendMessageRequest) Reset()

func (*SendMessageRequest) String

func (x *SendMessageRequest) String() string

type SendMessageResponse

type SendMessageResponse struct {
	MessageId string `protobuf:"bytes,1,opt,name=message_id,json=messageId,proto3" json:"message_id,omitempty"`
	// contains filtered or unexported fields
}

func (*SendMessageResponse) Descriptor deprecated

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

Deprecated: Use SendMessageResponse.ProtoReflect.Descriptor instead.

func (*SendMessageResponse) GetMessageId

func (x *SendMessageResponse) GetMessageId() string

func (*SendMessageResponse) ProtoMessage

func (*SendMessageResponse) ProtoMessage()

func (*SendMessageResponse) ProtoReflect

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

func (*SendMessageResponse) Reset

func (x *SendMessageResponse) Reset()

func (*SendMessageResponse) String

func (x *SendMessageResponse) String() string

type ServiceAcceptConnection

type ServiceAcceptConnection struct {
	RequestId string `protobuf:"bytes,1,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
	// contains filtered or unexported fields
}

func (*ServiceAcceptConnection) Descriptor deprecated

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

Deprecated: Use ServiceAcceptConnection.ProtoReflect.Descriptor instead.

func (*ServiceAcceptConnection) GetRequestId

func (x *ServiceAcceptConnection) GetRequestId() string

func (*ServiceAcceptConnection) ProtoMessage

func (*ServiceAcceptConnection) ProtoMessage()

func (*ServiceAcceptConnection) ProtoReflect

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

func (*ServiceAcceptConnection) Reset

func (x *ServiceAcceptConnection) Reset()

func (*ServiceAcceptConnection) String

func (x *ServiceAcceptConnection) String() string

type ServiceAcceptFile

type ServiceAcceptFile struct {
	TransferId string `protobuf:"bytes,1,opt,name=transfer_id,json=transferId,proto3" json:"transfer_id,omitempty"`
	// contains filtered or unexported fields
}

ServiceAcceptFile accepts an inbound file offer. There is deliberately NO save_path field: the file always lands in the daemon's configured receive directory. A client-chosen daemon-host path would be a write-anywhere escalation surface.

func (*ServiceAcceptFile) Descriptor deprecated

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

Deprecated: Use ServiceAcceptFile.ProtoReflect.Descriptor instead.

func (*ServiceAcceptFile) GetTransferId

func (x *ServiceAcceptFile) GetTransferId() string

func (*ServiceAcceptFile) ProtoMessage

func (*ServiceAcceptFile) ProtoMessage()

func (*ServiceAcceptFile) ProtoReflect

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

func (*ServiceAcceptFile) Reset

func (x *ServiceAcceptFile) Reset()

func (*ServiceAcceptFile) String

func (x *ServiceAcceptFile) String() string

type ServiceAttachClientMessage

type ServiceAttachClientMessage struct {

	// Types that are valid to be assigned to Msg:
	//
	//	*ServiceAttachClientMessage_Start
	//	*ServiceAttachClientMessage_Payload
	Msg isServiceAttachClientMessage_Msg `protobuf_oneof:"msg"`
	// contains filtered or unexported fields
}

ServiceAttachClientMessage is the launched frontend → daemon half of the AttachService relay (ADR-0011 §5). The first message MUST be `start`; the launch grant rides in x-service-token metadata, not the body. Subsequent messages carry opaque payloads relayed to the backend as operator_message events.

func (*ServiceAttachClientMessage) Descriptor deprecated

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

Deprecated: Use ServiceAttachClientMessage.ProtoReflect.Descriptor instead.

func (*ServiceAttachClientMessage) GetMsg

func (x *ServiceAttachClientMessage) GetMsg() isServiceAttachClientMessage_Msg

func (*ServiceAttachClientMessage) GetPayload

func (x *ServiceAttachClientMessage) GetPayload() []byte

func (*ServiceAttachClientMessage) GetStart

func (*ServiceAttachClientMessage) ProtoMessage

func (*ServiceAttachClientMessage) ProtoMessage()

func (*ServiceAttachClientMessage) ProtoReflect

func (*ServiceAttachClientMessage) Reset

func (x *ServiceAttachClientMessage) Reset()

func (*ServiceAttachClientMessage) String

func (x *ServiceAttachClientMessage) String() string

type ServiceAttachClientMessage_Payload

type ServiceAttachClientMessage_Payload struct {
	Payload []byte `protobuf:"bytes,2,opt,name=payload,proto3,oneof"` // frontend → backend bytes
}

type ServiceAttachClientMessage_Start

type ServiceAttachClientMessage_Start struct {
	Start *ServiceAttachStart `protobuf:"bytes,1,opt,name=start,proto3,oneof"` // first message only
}

type ServiceAttachServerMessage

type ServiceAttachServerMessage struct {

	// Types that are valid to be assigned to Msg:
	//
	//	*ServiceAttachServerMessage_Attached
	//	*ServiceAttachServerMessage_Payload
	//	*ServiceAttachServerMessage_Error
	Msg isServiceAttachServerMessage_Msg `protobuf_oneof:"msg"`
	// contains filtered or unexported fields
}

ServiceAttachServerMessage is the daemon → launched frontend half of the relay. `attached` is sent once on success; `payload` carries backend→frontend bytes (from the backend's ServiceToOperator); `error` reports a relay-level failure (the backend went away).

func (*ServiceAttachServerMessage) Descriptor deprecated

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

Deprecated: Use ServiceAttachServerMessage.ProtoReflect.Descriptor instead.

func (*ServiceAttachServerMessage) GetAttached

func (x *ServiceAttachServerMessage) GetAttached() *ServiceAttached

func (*ServiceAttachServerMessage) GetError

func (*ServiceAttachServerMessage) GetMsg

func (x *ServiceAttachServerMessage) GetMsg() isServiceAttachServerMessage_Msg

func (*ServiceAttachServerMessage) GetPayload

func (x *ServiceAttachServerMessage) GetPayload() []byte

func (*ServiceAttachServerMessage) ProtoMessage

func (*ServiceAttachServerMessage) ProtoMessage()

func (*ServiceAttachServerMessage) ProtoReflect

func (*ServiceAttachServerMessage) Reset

func (x *ServiceAttachServerMessage) Reset()

func (*ServiceAttachServerMessage) String

func (x *ServiceAttachServerMessage) String() string

type ServiceAttachServerMessage_Attached

type ServiceAttachServerMessage_Attached struct {
	Attached *ServiceAttached `protobuf:"bytes,1,opt,name=attached,proto3,oneof"` // first message on success
}

type ServiceAttachServerMessage_Error

type ServiceAttachServerMessage_Error struct {
	Error *ServiceError `protobuf:"bytes,3,opt,name=error,proto3,oneof"`
}

type ServiceAttachServerMessage_Payload

type ServiceAttachServerMessage_Payload struct {
	Payload []byte `protobuf:"bytes,2,opt,name=payload,proto3,oneof"` // backend → frontend bytes
}

type ServiceAttachStart

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

ServiceAttachStart opens an attach stream. Empty today (the grant is in metadata); reserved as the place to grow attach-time options.

func (*ServiceAttachStart) Descriptor deprecated

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

Deprecated: Use ServiceAttachStart.ProtoReflect.Descriptor instead.

func (*ServiceAttachStart) ProtoMessage

func (*ServiceAttachStart) ProtoMessage()

func (*ServiceAttachStart) ProtoReflect

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

func (*ServiceAttachStart) Reset

func (x *ServiceAttachStart) Reset()

func (*ServiceAttachStart) String

func (x *ServiceAttachStart) String() string

type ServiceAttached

type ServiceAttached struct {
	ServiceAddr string `protobuf:"bytes,1,opt,name=service_addr,json=serviceAddr,proto3" json:"service_addr,omitempty"` // the backend service's E-address
	// contains filtered or unexported fields
}

ServiceAttached acknowledges a successful attach, echoing the backend service's E-address so the frontend can label its session.

func (*ServiceAttached) Descriptor deprecated

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

Deprecated: Use ServiceAttached.ProtoReflect.Descriptor instead.

func (*ServiceAttached) GetServiceAddr

func (x *ServiceAttached) GetServiceAddr() string

func (*ServiceAttached) ProtoMessage

func (*ServiceAttached) ProtoMessage()

func (*ServiceAttached) ProtoReflect

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

func (*ServiceAttached) Reset

func (x *ServiceAttached) Reset()

func (*ServiceAttached) String

func (x *ServiceAttached) String() string

type ServiceChatMessageEvent

type ServiceChatMessageEvent struct {
	FromAddr string `protobuf:"bytes,1,opt,name=from_addr,json=fromAddr,proto3" json:"from_addr,omitempty"`
	Text     string `protobuf:"bytes,2,opt,name=text,proto3" json:"text,omitempty"`
	Ts       int64  `protobuf:"varint,3,opt,name=ts,proto3" json:"ts,omitempty"` // Unix millis
	// contains filtered or unexported fields
}

func (*ServiceChatMessageEvent) Descriptor deprecated

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

Deprecated: Use ServiceChatMessageEvent.ProtoReflect.Descriptor instead.

func (*ServiceChatMessageEvent) GetFromAddr

func (x *ServiceChatMessageEvent) GetFromAddr() string

func (*ServiceChatMessageEvent) GetText

func (x *ServiceChatMessageEvent) GetText() string

func (*ServiceChatMessageEvent) GetTs

func (x *ServiceChatMessageEvent) GetTs() int64

func (*ServiceChatMessageEvent) ProtoMessage

func (*ServiceChatMessageEvent) ProtoMessage()

func (*ServiceChatMessageEvent) ProtoReflect

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

func (*ServiceChatMessageEvent) Reset

func (x *ServiceChatMessageEvent) Reset()

func (*ServiceChatMessageEvent) String

func (x *ServiceChatMessageEvent) String() string

type ServiceClientMessage

type ServiceClientMessage struct {

	// Types that are valid to be assigned to Msg:
	//
	//	*ServiceClientMessage_Manifest
	//	*ServiceClientMessage_SendMessage
	//	*ServiceClientMessage_Accept
	//	*ServiceClientMessage_Reject
	//	*ServiceClientMessage_IntroducePeer
	//	*ServiceClientMessage_ConnectPeer
	//	*ServiceClientMessage_AcceptFile
	//	*ServiceClientMessage_RejectFile
	//	*ServiceClientMessage_CommandResult
	//	*ServiceClientMessage_MetricSample
	//	*ServiceClientMessage_SignDocument
	//	*ServiceClientMessage_DisconnectPeer
	//	*ServiceClientMessage_UpdateAllowlist
	//	*ServiceClientMessage_ToOperator
	Msg isServiceClientMessage_Msg `protobuf_oneof:"msg"`
	// contains filtered or unexported fields
}

func (*ServiceClientMessage) Descriptor deprecated

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

Deprecated: Use ServiceClientMessage.ProtoReflect.Descriptor instead.

func (*ServiceClientMessage) GetAccept

func (*ServiceClientMessage) GetAcceptFile

func (x *ServiceClientMessage) GetAcceptFile() *ServiceAcceptFile

func (*ServiceClientMessage) GetCommandResult

func (x *ServiceClientMessage) GetCommandResult() *ServiceCommandResult

func (*ServiceClientMessage) GetConnectPeer

func (x *ServiceClientMessage) GetConnectPeer() *ServiceConnectPeer

func (*ServiceClientMessage) GetDisconnectPeer

func (x *ServiceClientMessage) GetDisconnectPeer() *ServiceDisconnectPeer

func (*ServiceClientMessage) GetIntroducePeer

func (x *ServiceClientMessage) GetIntroducePeer() *ServiceIntroducePeer

func (*ServiceClientMessage) GetManifest

func (x *ServiceClientMessage) GetManifest() *ServiceManifest

func (*ServiceClientMessage) GetMetricSample

func (x *ServiceClientMessage) GetMetricSample() *MetricSample

func (*ServiceClientMessage) GetMsg

func (x *ServiceClientMessage) GetMsg() isServiceClientMessage_Msg

func (*ServiceClientMessage) GetReject

func (*ServiceClientMessage) GetRejectFile

func (x *ServiceClientMessage) GetRejectFile() *ServiceRejectFile

func (*ServiceClientMessage) GetSendMessage

func (x *ServiceClientMessage) GetSendMessage() *ServiceSendMessage

func (*ServiceClientMessage) GetSignDocument

func (x *ServiceClientMessage) GetSignDocument() *ServiceSignDocument

func (*ServiceClientMessage) GetToOperator

func (x *ServiceClientMessage) GetToOperator() *ServiceToOperator

func (*ServiceClientMessage) GetUpdateAllowlist

func (x *ServiceClientMessage) GetUpdateAllowlist() *ServiceUpdateAllowlist

func (*ServiceClientMessage) ProtoMessage

func (*ServiceClientMessage) ProtoMessage()

func (*ServiceClientMessage) ProtoReflect

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

func (*ServiceClientMessage) Reset

func (x *ServiceClientMessage) Reset()

func (*ServiceClientMessage) String

func (x *ServiceClientMessage) String() string

type ServiceClientMessage_Accept

type ServiceClientMessage_Accept struct {
	Accept *ServiceAcceptConnection `protobuf:"bytes,3,opt,name=accept,proto3,oneof"`
}

type ServiceClientMessage_AcceptFile

type ServiceClientMessage_AcceptFile struct {
	AcceptFile *ServiceAcceptFile `protobuf:"bytes,7,opt,name=accept_file,json=acceptFile,proto3,oneof"` // accept an inbound file offer (file_offer event)
}

type ServiceClientMessage_CommandResult

type ServiceClientMessage_CommandResult struct {
	CommandResult *ServiceCommandResult `protobuf:"bytes,9,opt,name=command_result,json=commandResult,proto3,oneof"` // reply to a "command" event (E1)
}

type ServiceClientMessage_ConnectPeer

type ServiceClientMessage_ConnectPeer struct {
	ConnectPeer *ServiceConnectPeer `protobuf:"bytes,6,opt,name=connect_peer,json=connectPeer,proto3,oneof"` // service-identity dial (5fb8deb1)
}

type ServiceClientMessage_DisconnectPeer

type ServiceClientMessage_DisconnectPeer struct {
	DisconnectPeer *ServiceDisconnectPeer `protobuf:"bytes,12,opt,name=disconnect_peer,json=disconnectPeer,proto3,oneof"` // kick: close an established connection (ADR-0007 §5)
}

type ServiceClientMessage_IntroducePeer

type ServiceClientMessage_IntroducePeer struct {
	IntroducePeer *ServiceIntroducePeer `protobuf:"bytes,5,opt,name=introduce_peer,json=introducePeer,proto3,oneof"` // T2
}

type ServiceClientMessage_Manifest

type ServiceClientMessage_Manifest struct {
	Manifest *ServiceManifest `protobuf:"bytes,1,opt,name=manifest,proto3,oneof"` // first message only
}

type ServiceClientMessage_MetricSample

type ServiceClientMessage_MetricSample struct {
	MetricSample *MetricSample `protobuf:"bytes,10,opt,name=metric_sample,json=metricSample,proto3,oneof"` // push one metric sample (ADR-0005)
}

type ServiceClientMessage_Reject

type ServiceClientMessage_Reject struct {
	Reject *ServiceRejectConnection `protobuf:"bytes,4,opt,name=reject,proto3,oneof"`
}

type ServiceClientMessage_RejectFile

type ServiceClientMessage_RejectFile struct {
	RejectFile *ServiceRejectFile `protobuf:"bytes,8,opt,name=reject_file,json=rejectFile,proto3,oneof"` // reject an inbound file offer
}

type ServiceClientMessage_SendMessage

type ServiceClientMessage_SendMessage struct {
	SendMessage *ServiceSendMessage `protobuf:"bytes,2,opt,name=send_message,json=sendMessage,proto3,oneof"`
}

type ServiceClientMessage_SignDocument

type ServiceClientMessage_SignDocument struct {
	SignDocument *ServiceSignDocument `protobuf:"bytes,11,opt,name=sign_document,json=signDocument,proto3,oneof"` // sign bytes with THIS service's identity (ADR-0009 §7)
}

type ServiceClientMessage_ToOperator

type ServiceClientMessage_ToOperator struct {
	ToOperator *ServiceToOperator `protobuf:"bytes,14,opt,name=to_operator,json=toOperator,proto3,oneof"` // backend → its launched frontend, via the daemon relay (ADR-0011 §5)
}

type ServiceClientMessage_UpdateAllowlist

type ServiceClientMessage_UpdateAllowlist struct {
	UpdateAllowlist *ServiceUpdateAllowlist `protobuf:"bytes,13,opt,name=update_allowlist,json=updateAllowlist,proto3,oneof"` // runtime ACL_ALLOWLIST mutation (ADR-0007 §5)
}

type ServiceCommandEvent

type ServiceCommandEvent struct {
	CommandId string `protobuf:"bytes,1,opt,name=command_id,json=commandId,proto3" json:"command_id,omitempty"` // correlation id minted by the daemon
	FromAddr  string `protobuf:"bytes,2,opt,name=from_addr,json=fromAddr,proto3" json:"from_addr,omitempty"`    // operator/peer address (verified)
	Name      string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`                            // resolved command name (lowercased)
	Args      string `protobuf:"bytes,4,opt,name=args,proto3" json:"args,omitempty"`                            // raw remainder after the name
	// contains filtered or unexported fields
}

ServiceCommandEvent is delivered to a service that set handles_commands=true for every command invocation addressed to it (routed by command name + the active conversation to the service's command handler — E3). Carried inside ServiceEvent.payload when ServiceEvent.type == "command". command_id is the daemon-minted correlation token the service echoes in its ServiceCommandResult; from_addr is the daemon-attributed operator/peer address (bound via the verified connection, not a self-asserted claim); name is the resolved command (lowercased); args is the raw remainder after the name. The invocation always flows operator→service (the safe direction); a service never originates a command against the operator's node.

func (*ServiceCommandEvent) Descriptor deprecated

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

Deprecated: Use ServiceCommandEvent.ProtoReflect.Descriptor instead.

func (*ServiceCommandEvent) GetArgs

func (x *ServiceCommandEvent) GetArgs() string

func (*ServiceCommandEvent) GetCommandId

func (x *ServiceCommandEvent) GetCommandId() string

func (*ServiceCommandEvent) GetFromAddr

func (x *ServiceCommandEvent) GetFromAddr() string

func (*ServiceCommandEvent) GetName

func (x *ServiceCommandEvent) GetName() string

func (*ServiceCommandEvent) ProtoMessage

func (*ServiceCommandEvent) ProtoMessage()

func (*ServiceCommandEvent) ProtoReflect

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

func (*ServiceCommandEvent) Reset

func (x *ServiceCommandEvent) Reset()

func (*ServiceCommandEvent) String

func (x *ServiceCommandEvent) String() string

type ServiceCommandResult

type ServiceCommandResult struct {
	CommandId string `protobuf:"bytes,1,opt,name=command_id,json=commandId,proto3" json:"command_id,omitempty"`
	Text      string `protobuf:"bytes,2,opt,name=text,proto3" json:"text,omitempty"` // content-safe reply rendered to the operator
	Ok        bool   `protobuf:"varint,3,opt,name=ok,proto3" json:"ok,omitempty"`    // false = handler error
	// contains filtered or unexported fields
}

ServiceCommandResult is a service's reply to a ServiceCommandEvent (E1). Sent as a ServiceClientMessage.command_result, matched to the invocation by command_id. text is the content-safe reply rendered to the operator; ok=false signals a handler error the daemon may render distinctly. Mirrors the accept_file/reject_file reply shape.

func (*ServiceCommandResult) Descriptor deprecated

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

Deprecated: Use ServiceCommandResult.ProtoReflect.Descriptor instead.

func (*ServiceCommandResult) GetCommandId

func (x *ServiceCommandResult) GetCommandId() string

func (*ServiceCommandResult) GetOk

func (x *ServiceCommandResult) GetOk() bool

func (*ServiceCommandResult) GetText

func (x *ServiceCommandResult) GetText() string

func (*ServiceCommandResult) ProtoMessage

func (*ServiceCommandResult) ProtoMessage()

func (*ServiceCommandResult) ProtoReflect

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

func (*ServiceCommandResult) Reset

func (x *ServiceCommandResult) Reset()

func (*ServiceCommandResult) String

func (x *ServiceCommandResult) String() string

type ServiceConnectPeer

type ServiceConnectPeer struct {
	PeerAddr string `protobuf:"bytes,1,opt,name=peer_addr,json=peerAddr,proto3" json:"peer_addr,omitempty"` // E-address of the service to connect to
	// contains filtered or unexported fields
}

ServiceConnectPeer asks the daemon to open a connection to peer_addr signed with THIS service's keypair (5fb8deb1). The signaling handshake's CONN_REQUEST.FromAddress and CONN_CONFIRM signature use the service identity — so the responder's gate sees the *service* address (matching what a SERVICE_INTRODUCTION named), not the dialing daemon's node address. The libp2p transport stays node↔node (the node host peer_id is still shipped in IP exchange); only the signaling/ACL identity is the service.

Authorization is stream ownership: a client can only dial as the service whose RegisterService stream it owns. The service keypair never leaves the daemon — the client triggers the dial by sending this message; the daemon signs from the keystore. See ADR df82c69a (pillar 1).

func (*ServiceConnectPeer) Descriptor deprecated

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

Deprecated: Use ServiceConnectPeer.ProtoReflect.Descriptor instead.

func (*ServiceConnectPeer) GetPeerAddr

func (x *ServiceConnectPeer) GetPeerAddr() string

func (*ServiceConnectPeer) ProtoMessage

func (*ServiceConnectPeer) ProtoMessage()

func (*ServiceConnectPeer) ProtoReflect

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

func (*ServiceConnectPeer) Reset

func (x *ServiceConnectPeer) Reset()

func (*ServiceConnectPeer) String

func (x *ServiceConnectPeer) String() string

type ServiceConnectionClosedEvent

type ServiceConnectionClosedEvent struct {
	FromAddr string `protobuf:"bytes,1,opt,name=from_addr,json=fromAddr,proto3" json:"from_addr,omitempty"`
	// contains filtered or unexported fields
}

ServiceConnectionClosedEvent fires when a peer that had an established connection to this service is no longer reachable on any transport (ADR-0007 §5) — the roster's self-healing signal on a silent disconnect. Informational; no reply is expected. Detection is liveness-based (the daemon inspects the libp2p connection + Tor control-channel state), so it lags a real drop by up to one sweep interval.

func (*ServiceConnectionClosedEvent) Descriptor deprecated

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

Deprecated: Use ServiceConnectionClosedEvent.ProtoReflect.Descriptor instead.

func (*ServiceConnectionClosedEvent) GetFromAddr

func (x *ServiceConnectionClosedEvent) GetFromAddr() string

func (*ServiceConnectionClosedEvent) ProtoMessage

func (*ServiceConnectionClosedEvent) ProtoMessage()

func (*ServiceConnectionClosedEvent) ProtoReflect

func (*ServiceConnectionClosedEvent) Reset

func (x *ServiceConnectionClosedEvent) Reset()

func (*ServiceConnectionClosedEvent) String

type ServiceConnectionEstablishedEvent

type ServiceConnectionEstablishedEvent struct {
	FromAddr string `protobuf:"bytes,1,opt,name=from_addr,json=fromAddr,proto3" json:"from_addr,omitempty"`
	// contains filtered or unexported fields
}

ServiceConnectionEstablishedEvent fires when a peer's inbound connection to this service completes the handshake and has a data path (ADR-0007 §5) — the post-accept counterpart to connection_request. A service host (e.g. a room) uses it to add the peer to a live roster. Informational: no reply is expected.

func (*ServiceConnectionEstablishedEvent) Descriptor deprecated

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

Deprecated: Use ServiceConnectionEstablishedEvent.ProtoReflect.Descriptor instead.

func (*ServiceConnectionEstablishedEvent) GetFromAddr

func (x *ServiceConnectionEstablishedEvent) GetFromAddr() string

func (*ServiceConnectionEstablishedEvent) ProtoMessage

func (*ServiceConnectionEstablishedEvent) ProtoMessage()

func (*ServiceConnectionEstablishedEvent) ProtoReflect

func (*ServiceConnectionEstablishedEvent) Reset

func (*ServiceConnectionEstablishedEvent) String

type ServiceConnectionRequestEvent

type ServiceConnectionRequestEvent struct {
	RequestId string `protobuf:"bytes,1,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
	FromAddr  string `protobuf:"bytes,2,opt,name=from_addr,json=fromAddr,proto3" json:"from_addr,omitempty"`
	// contains filtered or unexported fields
}

func (*ServiceConnectionRequestEvent) Descriptor deprecated

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

Deprecated: Use ServiceConnectionRequestEvent.ProtoReflect.Descriptor instead.

func (*ServiceConnectionRequestEvent) GetFromAddr

func (x *ServiceConnectionRequestEvent) GetFromAddr() string

func (*ServiceConnectionRequestEvent) GetRequestId

func (x *ServiceConnectionRequestEvent) GetRequestId() string

func (*ServiceConnectionRequestEvent) ProtoMessage

func (*ServiceConnectionRequestEvent) ProtoMessage()

func (*ServiceConnectionRequestEvent) ProtoReflect

func (*ServiceConnectionRequestEvent) Reset

func (x *ServiceConnectionRequestEvent) Reset()

func (*ServiceConnectionRequestEvent) String

type ServiceDisconnectPeer

type ServiceDisconnectPeer struct {
	PeerAddr string `protobuf:"bytes,1,opt,name=peer_addr,json=peerAddr,proto3" json:"peer_addr,omitempty"` // E-address of the peer to disconnect
	// contains filtered or unexported fields
}

ServiceDisconnectPeer asks the daemon to CLOSE an already-established connection from THIS service to peer_addr — the admin "kick" primitive (ADR-0007 §5). reject decides a connection *before* accept; this drops a peer that already completed the handshake (e.g. a member removed from an allowlist room mid-session). The close is by address across every transport path the peer could still reach the service on (direct link + Tor control channel), so it is a node-level disconnect; it is a no-op if the peer is not connected. The roster's liveness sweep then emits the matching connection_closed.

Authorization is stream ownership, like connect_peer: the daemon acts for the service whose RegisterService stream sent this — a client cannot name another service. Pairs with ServiceUpdateAllowlist (revoke + disconnect = kick).

func (*ServiceDisconnectPeer) Descriptor deprecated

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

Deprecated: Use ServiceDisconnectPeer.ProtoReflect.Descriptor instead.

func (*ServiceDisconnectPeer) GetPeerAddr

func (x *ServiceDisconnectPeer) GetPeerAddr() string

func (*ServiceDisconnectPeer) ProtoMessage

func (*ServiceDisconnectPeer) ProtoMessage()

func (*ServiceDisconnectPeer) ProtoReflect

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

func (*ServiceDisconnectPeer) Reset

func (x *ServiceDisconnectPeer) Reset()

func (*ServiceDisconnectPeer) String

func (x *ServiceDisconnectPeer) String() string

type ServiceError

type ServiceError struct {
	Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
	// limit_bytes is populated for code="payload_too_large" errors so the
	// service operator (or sending peer) can correct without string-matching
	// the message. Zero for non-size errors.
	LimitBytes int64 `protobuf:"varint,2,opt,name=limit_bytes,json=limitBytes,proto3" json:"limit_bytes,omitempty"`
	// code is a stable error classifier so consumers can switch on it. Known
	// values:
	//
	//	"payload_too_large" — inbound peer envelope, outbound SendMessage, or
	//	                       IntroducePeer payload exceeded max_payload_bytes.
	//	"rate_limited"      — inbound peer envelope dropped by per-source rate
	//	                       limit. retry_after_ms hints when to retry.
	//	""                  — unset; check message for human-readable detail.
	Code string `protobuf:"bytes,3,opt,name=code,proto3" json:"code,omitempty"`
	// retry_after_ms is populated for code="rate_limited" so well-behaved
	// clients can back off without polling. Zero for non-rate errors.
	RetryAfterMs int64 `protobuf:"varint,4,opt,name=retry_after_ms,json=retryAfterMs,proto3" json:"retry_after_ms,omitempty"`
	// contains filtered or unexported fields
}

func (*ServiceError) Descriptor deprecated

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

Deprecated: Use ServiceError.ProtoReflect.Descriptor instead.

func (*ServiceError) GetCode

func (x *ServiceError) GetCode() string

func (*ServiceError) GetLimitBytes

func (x *ServiceError) GetLimitBytes() int64

func (*ServiceError) GetMessage

func (x *ServiceError) GetMessage() string

func (*ServiceError) GetRetryAfterMs

func (x *ServiceError) GetRetryAfterMs() int64

func (*ServiceError) ProtoMessage

func (*ServiceError) ProtoMessage()

func (*ServiceError) ProtoReflect

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

func (*ServiceError) Reset

func (x *ServiceError) Reset()

func (*ServiceError) String

func (x *ServiceError) String() string

type ServiceEvent

type ServiceEvent struct {

	// Discriminator. Known values:
	//
	//	"chat_message"           → ServiceChatMessageEvent
	//	"connection_request"     → ServiceConnectionRequestEvent
	//	"connection_established" → ServiceConnectionEstablishedEvent (ADR-0007 §5)
	//	"connection_closed"      → ServiceConnectionClosedEvent (ADR-0007 §5)
	//	"rpc_message"        → ServiceRpcMessageEvent (T1)
	//	"peer_introduction"  → ServicePeerIntroductionEvent (T2)
	//	"file_offer"         → ServiceFileOfferEvent
	//	"command"            → ServiceCommandEvent (E1)
	//	"sign_result"        → ServiceSignResultEvent (ADR-0009 §7)
	//	"operator_message"   → ServiceOperatorMessageEvent (ADR-0011 §5 — the
	//	                       launched frontend's payload, the operator door)
	Type    string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
	Payload []byte `protobuf:"bytes,2,opt,name=payload,proto3" json:"payload,omitempty"` // protobuf-encoded payload (see ServiceChatMessageEvent etc.)
	// contains filtered or unexported fields
}

func (*ServiceEvent) Descriptor deprecated

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

Deprecated: Use ServiceEvent.ProtoReflect.Descriptor instead.

func (*ServiceEvent) GetPayload

func (x *ServiceEvent) GetPayload() []byte

func (*ServiceEvent) GetType

func (x *ServiceEvent) GetType() string

func (*ServiceEvent) ProtoMessage

func (*ServiceEvent) ProtoMessage()

func (*ServiceEvent) ProtoReflect

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

func (*ServiceEvent) Reset

func (x *ServiceEvent) Reset()

func (*ServiceEvent) String

func (x *ServiceEvent) String() string

type ServiceFileOfferEvent

type ServiceFileOfferEvent struct {
	TransferId string `protobuf:"bytes,1,opt,name=transfer_id,json=transferId,proto3" json:"transfer_id,omitempty"`
	FromAddr   string `protobuf:"bytes,2,opt,name=from_addr,json=fromAddr,proto3" json:"from_addr,omitempty"`
	Filename   string `protobuf:"bytes,3,opt,name=filename,proto3" json:"filename,omitempty"` // sender-supplied; sanitized by the daemon on save
	Size       uint64 `protobuf:"varint,4,opt,name=size,proto3" json:"size,omitempty"`        // offered total bytes
	// contains filtered or unexported fields
}

ServiceFileOfferEvent is delivered to a service that set handles_files=true for every inbound file offer addressed to it (routed by Envelope.to_address to the service's FileHandler). Carried inside ServiceEvent.payload when ServiceEvent.type == "file_offer". The service replies with ServiceAcceptFile / ServiceRejectFile keyed by transfer_id. transfer_id is the daemon-side transfer token; from_addr is the daemon-attributed sender (bound via PeerState, not a self-asserted claim).

func (*ServiceFileOfferEvent) Descriptor deprecated

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

Deprecated: Use ServiceFileOfferEvent.ProtoReflect.Descriptor instead.

func (*ServiceFileOfferEvent) GetFilename

func (x *ServiceFileOfferEvent) GetFilename() string

func (*ServiceFileOfferEvent) GetFromAddr

func (x *ServiceFileOfferEvent) GetFromAddr() string

func (*ServiceFileOfferEvent) GetSize

func (x *ServiceFileOfferEvent) GetSize() uint64

func (*ServiceFileOfferEvent) GetTransferId

func (x *ServiceFileOfferEvent) GetTransferId() string

func (*ServiceFileOfferEvent) ProtoMessage

func (*ServiceFileOfferEvent) ProtoMessage()

func (*ServiceFileOfferEvent) ProtoReflect

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

func (*ServiceFileOfferEvent) Reset

func (x *ServiceFileOfferEvent) Reset()

func (*ServiceFileOfferEvent) String

func (x *ServiceFileOfferEvent) String() string

type ServiceIntroducePeer

type ServiceIntroducePeer struct {
	ToAddr    string `protobuf:"bytes,1,opt,name=to_addr,json=toAddr,proto3" json:"to_addr,omitempty"`           // first peer (receives event with peer_addr = other_addr)
	OtherAddr string `protobuf:"bytes,2,opt,name=other_addr,json=otherAddr,proto3" json:"other_addr,omitempty"`  // second peer (receives event with peer_addr = to_addr)
	SessionId string `protobuf:"bytes,3,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"`  // opaque session correlation
	ExpiresAt int64  `protobuf:"varint,4,opt,name=expires_at,json=expiresAt,proto3" json:"expires_at,omitempty"` // Unix millis; 0 = no expiry
	RoleHint  string `protobuf:"bytes,5,opt,name=role_hint,json=roleHint,proto3" json:"role_hint,omitempty"`     // free-form, e.g. "host"/"joiner"; opaque to daemon
	Payload   []byte `protobuf:"bytes,6,opt,name=payload,proto3" json:"payload,omitempty"`                       // optional service-specific bytes (subject to size limit)
	// contains filtered or unexported fields
}

ServiceIntroducePeer is a one-way, service→peer control message: a registered service tells two of its peers about each other. Only valid as part of ServiceClientMessage — peers (chat envelopes, RPC envelopes) MUST NOT carry this. Adversarial peer-side attempts are dropped at the daemon boundary; provenance is anchored by the daemon attaching from_service_addr in the delivered ServicePeerIntroductionEvent.

Replay protection is the consumer's responsibility: services choose a fresh session_id per introduction and an expires_at horizon; consuming clients track outstanding match-requests and reject introductions for unknown or expired sessions. The daemon only drops introductions whose expires_at has already passed when the call arrives.

func (*ServiceIntroducePeer) Descriptor deprecated

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

Deprecated: Use ServiceIntroducePeer.ProtoReflect.Descriptor instead.

func (*ServiceIntroducePeer) GetExpiresAt

func (x *ServiceIntroducePeer) GetExpiresAt() int64

func (*ServiceIntroducePeer) GetOtherAddr

func (x *ServiceIntroducePeer) GetOtherAddr() string

func (*ServiceIntroducePeer) GetPayload

func (x *ServiceIntroducePeer) GetPayload() []byte

func (*ServiceIntroducePeer) GetRoleHint

func (x *ServiceIntroducePeer) GetRoleHint() string

func (*ServiceIntroducePeer) GetSessionId

func (x *ServiceIntroducePeer) GetSessionId() string

func (*ServiceIntroducePeer) GetToAddr

func (x *ServiceIntroducePeer) GetToAddr() string

func (*ServiceIntroducePeer) ProtoMessage

func (*ServiceIntroducePeer) ProtoMessage()

func (*ServiceIntroducePeer) ProtoReflect

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

func (*ServiceIntroducePeer) Reset

func (x *ServiceIntroducePeer) Reset()

func (*ServiceIntroducePeer) String

func (x *ServiceIntroducePeer) String() string

type ServiceLogLine

type ServiceLogLine struct {
	Line string `protobuf:"bytes,1,opt,name=line,proto3" json:"line,omitempty"`
	TsMs int64  `protobuf:"varint,2,opt,name=ts_ms,json=tsMs,proto3" json:"ts_ms,omitempty"` // unix ms the supervisor captured the line
	// contains filtered or unexported fields
}

func (*ServiceLogLine) Descriptor deprecated

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

Deprecated: Use ServiceLogLine.ProtoReflect.Descriptor instead.

func (*ServiceLogLine) GetLine

func (x *ServiceLogLine) GetLine() string

func (*ServiceLogLine) GetTsMs

func (x *ServiceLogLine) GetTsMs() int64

func (*ServiceLogLine) ProtoMessage

func (*ServiceLogLine) ProtoMessage()

func (*ServiceLogLine) ProtoReflect

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

func (*ServiceLogLine) Reset

func (x *ServiceLogLine) Reset()

func (*ServiceLogLine) String

func (x *ServiceLogLine) String() string

type ServiceManifest

type ServiceManifest struct {
	Name        string           `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // slug-safe registry key
	Description string           `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	Acl         ACL              `protobuf:"varint,3,opt,name=acl,proto3,enum=ensemble.api.ACL" json:"acl,omitempty"`
	Allowlist   []string         `protobuf:"bytes,4,rep,name=allowlist,proto3" json:"allowlist,omitempty"`                                     // only meaningful when acl == ACL_ALLOWLIST
	KeypairSeed []byte           `protobuf:"bytes,5,opt,name=keypair_seed,json=keypairSeed,proto3" json:"keypair_seed,omitempty"`              // optional, advisory; ignored if name already has a keypair
	Transport   ServiceTransport `protobuf:"varint,6,opt,name=transport,proto3,enum=ensemble.api.ServiceTransport" json:"transport,omitempty"` // CHAT (default) or HTTP; UNSPECIFIED is treated as CHAT
	// Per-service payload size cap in bytes (T3). 0 = use daemon default
	// (256 KiB); positive values are clamped to the daemon's hard ceiling
	// (4 MiB) and apply to inbound peer envelopes, outbound
	// ServiceSendMessage.payload, and ServiceIntroducePeer.payload.
	MaxPayloadBytes int64 `protobuf:"varint,7,opt,name=max_payload_bytes,json=maxPayloadBytes,proto3" json:"max_payload_bytes,omitempty"`
	// Per-source rate-limit policy (T4). Applied to INBOUND peer envelopes
	// only — outbound service messages and introductions are not throttled.
	// Zero / unset = no limit (current behaviour). ACL_PUBLIC services
	// typically want this; contact-gated services typically don't.
	RateLimit *RateLimitPolicy `protobuf:"bytes,8,opt,name=rate_limit,json=rateLimit,proto3" json:"rate_limit,omitempty"`
	// Opt-in: when true, this service makes its OWN inbound-connection decisions
	// (65c59d40). Every unknown-peer CONN_REQUEST is forwarded to the service's
	// bidi stream as a connection_request event; the service replies with
	// ServiceAcceptConnection / ServiceRejectConnection. When false (the
	// default), the daemon's built-in default-deny gate decides synchronously
	// from `acl` (Public→accept, Allowlist→if-listed, Contacts/unset→reject).
	// This is the platform's "lock down by default; services opt into deciding
	// their own policy" knob — see ADR df82c69a. Orthogonal to `acl`: a service
	// that sets this flag owns the decision regardless of the acl value.
	DecidesConnections bool `protobuf:"varint,9,opt,name=decides_connections,json=decidesConnections,proto3" json:"decides_connections,omitempty"`
	// Opt-in: when true, this service receives inbound file offers addressed to
	// it as "file_offer" events (ServiceFileOfferEvent) and decides each via
	// ServiceAcceptFile / ServiceRejectFile. The accepted file always lands in
	// the daemon's configured receive directory — the client never supplies a
	// save path (a client-chosen daemon-host path would be a write-anywhere
	// escalation). Orthogonal to transport, but only meaningful for services
	// that consume the bidi event stream (CHAT / RPC), not HTTP — the daemon
	// rejects handles_files=true under SERVICE_TRANSPORT_HTTP at registration.
	// When false (the default), file offers addressed to this service are
	// dropped (no consumer).
	HandlesFiles bool `protobuf:"varint,10,opt,name=handles_files,json=handlesFiles,proto3" json:"handles_files,omitempty"`
	// The slash-commands this service handles (E1). Declared at registration;
	// the daemon validates + stores them (E2) and routes matching invocations to
	// the service as "command" events (E3). A declared name that collides with a
	// daemon built-in is permitted — both run (augment dispatch, E4). Only
	// meaningful for services that consume the bidi event stream (CHAT / RPC),
	// not HTTP.
	Commands []*CommandSpec `protobuf:"bytes,11,rep,name=commands,proto3" json:"commands,omitempty"`
	// Opt-in: when true, this service receives command invocations addressed to
	// it as "command" events (ServiceCommandEvent) and replies with
	// ServiceCommandResult. Explicit (not inferred from a non-empty `commands`
	// list) for symmetry with handles_files and so a service can declare its
	// command set while temporarily disabling handling. The daemon rejects
	// handles_commands=true under SERVICE_TRANSPORT_HTTP at registration (E2).
	// When false (the default), declared commands are still advertised for
	// discovery but invocations addressed to this service are dropped.
	HandlesCommands bool `protobuf:"varint,12,opt,name=handles_commands,json=handlesCommands,proto3" json:"handles_commands,omitempty"`
	// The metrics this service will push (ADR-0005). Declared at registration
	// like commands; the daemon validates + bounds them and registers each
	// descriptor into its metrics registry with an ADDED `service` label key
	// (declaring `service` yourself is rejected — the daemon stamps it, so a
	// service can never write another service's series). Samples then ride
	// this stream as MetricSample messages. No-op unless the daemon runs with
	// --metrics: with the master switch off nothing is collected or retained.
	Metrics []*MetricSpec `protobuf:"bytes,13,rep,name=metrics,proto3" json:"metrics,omitempty"`
	// contains filtered or unexported fields
}

func (*ServiceManifest) Descriptor deprecated

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

Deprecated: Use ServiceManifest.ProtoReflect.Descriptor instead.

func (*ServiceManifest) GetAcl

func (x *ServiceManifest) GetAcl() ACL

func (*ServiceManifest) GetAllowlist

func (x *ServiceManifest) GetAllowlist() []string

func (*ServiceManifest) GetCommands

func (x *ServiceManifest) GetCommands() []*CommandSpec

func (*ServiceManifest) GetDecidesConnections

func (x *ServiceManifest) GetDecidesConnections() bool

func (*ServiceManifest) GetDescription

func (x *ServiceManifest) GetDescription() string

func (*ServiceManifest) GetHandlesCommands

func (x *ServiceManifest) GetHandlesCommands() bool

func (*ServiceManifest) GetHandlesFiles

func (x *ServiceManifest) GetHandlesFiles() bool

func (*ServiceManifest) GetKeypairSeed

func (x *ServiceManifest) GetKeypairSeed() []byte

func (*ServiceManifest) GetMaxPayloadBytes

func (x *ServiceManifest) GetMaxPayloadBytes() int64

func (*ServiceManifest) GetMetrics

func (x *ServiceManifest) GetMetrics() []*MetricSpec

func (*ServiceManifest) GetName

func (x *ServiceManifest) GetName() string

func (*ServiceManifest) GetRateLimit

func (x *ServiceManifest) GetRateLimit() *RateLimitPolicy

func (*ServiceManifest) GetTransport

func (x *ServiceManifest) GetTransport() ServiceTransport

func (*ServiceManifest) ProtoMessage

func (*ServiceManifest) ProtoMessage()

func (*ServiceManifest) ProtoReflect

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

func (*ServiceManifest) Reset

func (x *ServiceManifest) Reset()

func (*ServiceManifest) String

func (x *ServiceManifest) String() string

type ServiceOperatorMessageEvent

type ServiceOperatorMessageEvent struct {
	Payload []byte `protobuf:"bytes,1,opt,name=payload,proto3" json:"payload,omitempty"` // opaque app bytes from the frontend
	Ts      int64  `protobuf:"varint,2,opt,name=ts,proto3" json:"ts,omitempty"`          // Unix millis
	// contains filtered or unexported fields
}

ServiceOperatorMessageEvent is delivered to a service backend for every payload its launched frontend sends over the AttachService relay (ADR-0011 §5). It is, by construction, the trusted local-operator door: only a frontend holding a valid launch grant for THIS service can produce it, so a backend may unlock privileged operations (create / kick / admin) on it that it would never expose to a network peer's rpc_message. Carried inside ServiceEvent.payload when ServiceEvent.type == "operator_message".

func (*ServiceOperatorMessageEvent) Descriptor deprecated

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

Deprecated: Use ServiceOperatorMessageEvent.ProtoReflect.Descriptor instead.

func (*ServiceOperatorMessageEvent) GetPayload

func (x *ServiceOperatorMessageEvent) GetPayload() []byte

func (*ServiceOperatorMessageEvent) GetTs

func (*ServiceOperatorMessageEvent) ProtoMessage

func (*ServiceOperatorMessageEvent) ProtoMessage()

func (*ServiceOperatorMessageEvent) ProtoReflect

func (*ServiceOperatorMessageEvent) Reset

func (x *ServiceOperatorMessageEvent) Reset()

func (*ServiceOperatorMessageEvent) String

func (x *ServiceOperatorMessageEvent) String() string

type ServicePeerIntroductionEvent

type ServicePeerIntroductionEvent struct {
	FromServiceAddr string `protobuf:"bytes,1,opt,name=from_service_addr,json=fromServiceAddr,proto3" json:"from_service_addr,omitempty"` // daemon-attested originating service E-address
	PeerAddr        string `protobuf:"bytes,2,opt,name=peer_addr,json=peerAddr,proto3" json:"peer_addr,omitempty"`                        // the OTHER peer being introduced
	SessionId       string `protobuf:"bytes,3,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"`
	ExpiresAt       int64  `protobuf:"varint,4,opt,name=expires_at,json=expiresAt,proto3" json:"expires_at,omitempty"`
	RoleHint        string `protobuf:"bytes,5,opt,name=role_hint,json=roleHint,proto3" json:"role_hint,omitempty"`
	Payload         []byte `protobuf:"bytes,6,opt,name=payload,proto3" json:"payload,omitempty"`
	// contains filtered or unexported fields
}

ServicePeerIntroductionEvent is delivered to a peer's bidi stream when a registered service introduces them to another peer. The daemon stamps from_service_addr after authenticating the originating service — the receiving client trusts the daemon's word for provenance.

func (*ServicePeerIntroductionEvent) Descriptor deprecated

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

Deprecated: Use ServicePeerIntroductionEvent.ProtoReflect.Descriptor instead.

func (*ServicePeerIntroductionEvent) GetExpiresAt

func (x *ServicePeerIntroductionEvent) GetExpiresAt() int64

func (*ServicePeerIntroductionEvent) GetFromServiceAddr

func (x *ServicePeerIntroductionEvent) GetFromServiceAddr() string

func (*ServicePeerIntroductionEvent) GetPayload

func (x *ServicePeerIntroductionEvent) GetPayload() []byte

func (*ServicePeerIntroductionEvent) GetPeerAddr

func (x *ServicePeerIntroductionEvent) GetPeerAddr() string

func (*ServicePeerIntroductionEvent) GetRoleHint

func (x *ServicePeerIntroductionEvent) GetRoleHint() string

func (*ServicePeerIntroductionEvent) GetSessionId

func (x *ServicePeerIntroductionEvent) GetSessionId() string

func (*ServicePeerIntroductionEvent) ProtoMessage

func (*ServicePeerIntroductionEvent) ProtoMessage()

func (*ServicePeerIntroductionEvent) ProtoReflect

func (*ServicePeerIntroductionEvent) Reset

func (x *ServicePeerIntroductionEvent) Reset()

func (*ServicePeerIntroductionEvent) String

type ServiceRegistered

type ServiceRegistered struct {
	Address   string           `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`                                         // E… Bitcoin-style address
	Onion     string           `protobuf:"bytes,2,opt,name=onion,proto3" json:"onion,omitempty"`                                             // .onion endpoint
	Transport ServiceTransport `protobuf:"varint,3,opt,name=transport,proto3,enum=ensemble.api.ServiceTransport" json:"transport,omitempty"` // echoed from the manifest, normalised (UNSPECIFIED → CHAT)
	// contains filtered or unexported fields
}

func (*ServiceRegistered) Descriptor deprecated

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

Deprecated: Use ServiceRegistered.ProtoReflect.Descriptor instead.

func (*ServiceRegistered) GetAddress

func (x *ServiceRegistered) GetAddress() string

func (*ServiceRegistered) GetOnion

func (x *ServiceRegistered) GetOnion() string

func (*ServiceRegistered) GetTransport

func (x *ServiceRegistered) GetTransport() ServiceTransport

func (*ServiceRegistered) ProtoMessage

func (*ServiceRegistered) ProtoMessage()

func (*ServiceRegistered) ProtoReflect

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

func (*ServiceRegistered) Reset

func (x *ServiceRegistered) Reset()

func (*ServiceRegistered) String

func (x *ServiceRegistered) String() string

type ServiceRejectConnection

type ServiceRejectConnection struct {
	RequestId string `protobuf:"bytes,1,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
	Reason    string `protobuf:"bytes,2,opt,name=reason,proto3" json:"reason,omitempty"`
	// contains filtered or unexported fields
}

func (*ServiceRejectConnection) Descriptor deprecated

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

Deprecated: Use ServiceRejectConnection.ProtoReflect.Descriptor instead.

func (*ServiceRejectConnection) GetReason

func (x *ServiceRejectConnection) GetReason() string

func (*ServiceRejectConnection) GetRequestId

func (x *ServiceRejectConnection) GetRequestId() string

func (*ServiceRejectConnection) ProtoMessage

func (*ServiceRejectConnection) ProtoMessage()

func (*ServiceRejectConnection) ProtoReflect

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

func (*ServiceRejectConnection) Reset

func (x *ServiceRejectConnection) Reset()

func (*ServiceRejectConnection) String

func (x *ServiceRejectConnection) String() string

type ServiceRejectFile

type ServiceRejectFile struct {
	TransferId string `protobuf:"bytes,1,opt,name=transfer_id,json=transferId,proto3" json:"transfer_id,omitempty"`
	Reason     string `protobuf:"bytes,2,opt,name=reason,proto3" json:"reason,omitempty"`
	// contains filtered or unexported fields
}

ServiceRejectFile rejects an inbound file offer.

func (*ServiceRejectFile) Descriptor deprecated

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

Deprecated: Use ServiceRejectFile.ProtoReflect.Descriptor instead.

func (*ServiceRejectFile) GetReason

func (x *ServiceRejectFile) GetReason() string

func (*ServiceRejectFile) GetTransferId

func (x *ServiceRejectFile) GetTransferId() string

func (*ServiceRejectFile) ProtoMessage

func (*ServiceRejectFile) ProtoMessage()

func (*ServiceRejectFile) ProtoReflect

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

func (*ServiceRejectFile) Reset

func (x *ServiceRejectFile) Reset()

func (*ServiceRejectFile) String

func (x *ServiceRejectFile) String() string

type ServiceRpcMessageEvent

type ServiceRpcMessageEvent struct {
	FromAddr string `protobuf:"bytes,1,opt,name=from_addr,json=fromAddr,proto3" json:"from_addr,omitempty"`
	Payload  []byte `protobuf:"bytes,2,opt,name=payload,proto3" json:"payload,omitempty"`
	Ts       int64  `protobuf:"varint,3,opt,name=ts,proto3" json:"ts,omitempty"` // Unix millis
	// contains filtered or unexported fields
}

ServiceRpcMessageEvent is delivered to a SERVICE_TRANSPORT_RPC service for every inbound bytes envelope from a peer. The daemon routes raw protobuf bytes without imposing a chat envelope; services define their own message schemas. Carried inside ServiceEvent.payload when ServiceEvent.type == "rpc_message".

func (*ServiceRpcMessageEvent) Descriptor deprecated

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

Deprecated: Use ServiceRpcMessageEvent.ProtoReflect.Descriptor instead.

func (*ServiceRpcMessageEvent) GetFromAddr

func (x *ServiceRpcMessageEvent) GetFromAddr() string

func (*ServiceRpcMessageEvent) GetPayload

func (x *ServiceRpcMessageEvent) GetPayload() []byte

func (*ServiceRpcMessageEvent) GetTs

func (x *ServiceRpcMessageEvent) GetTs() int64

func (*ServiceRpcMessageEvent) ProtoMessage

func (*ServiceRpcMessageEvent) ProtoMessage()

func (*ServiceRpcMessageEvent) ProtoReflect

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

func (*ServiceRpcMessageEvent) Reset

func (x *ServiceRpcMessageEvent) Reset()

func (*ServiceRpcMessageEvent) String

func (x *ServiceRpcMessageEvent) String() string

type ServiceSendMessage

type ServiceSendMessage struct {
	ToAddr  string `protobuf:"bytes,1,opt,name=to_addr,json=toAddr,proto3" json:"to_addr,omitempty"`
	Text    string `protobuf:"bytes,2,opt,name=text,proto3" json:"text,omitempty"`       // valid only under SERVICE_TRANSPORT_CHAT
	Payload []byte `protobuf:"bytes,3,opt,name=payload,proto3" json:"payload,omitempty"` // valid only under SERVICE_TRANSPORT_RPC; mutually exclusive with text
	// contains filtered or unexported fields
}

func (*ServiceSendMessage) Descriptor deprecated

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

Deprecated: Use ServiceSendMessage.ProtoReflect.Descriptor instead.

func (*ServiceSendMessage) GetPayload

func (x *ServiceSendMessage) GetPayload() []byte

func (*ServiceSendMessage) GetText

func (x *ServiceSendMessage) GetText() string

func (*ServiceSendMessage) GetToAddr

func (x *ServiceSendMessage) GetToAddr() string

func (*ServiceSendMessage) ProtoMessage

func (*ServiceSendMessage) ProtoMessage()

func (*ServiceSendMessage) ProtoReflect

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

func (*ServiceSendMessage) Reset

func (x *ServiceSendMessage) Reset()

func (*ServiceSendMessage) String

func (x *ServiceSendMessage) String() string

type ServiceServerMessage

type ServiceServerMessage struct {

	// Types that are valid to be assigned to Msg:
	//
	//	*ServiceServerMessage_Registered
	//	*ServiceServerMessage_Event
	//	*ServiceServerMessage_Error
	Msg isServiceServerMessage_Msg `protobuf_oneof:"msg"`
	// contains filtered or unexported fields
}

func (*ServiceServerMessage) Descriptor deprecated

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

Deprecated: Use ServiceServerMessage.ProtoReflect.Descriptor instead.

func (*ServiceServerMessage) GetError

func (x *ServiceServerMessage) GetError() *ServiceError

func (*ServiceServerMessage) GetEvent

func (x *ServiceServerMessage) GetEvent() *ServiceEvent

func (*ServiceServerMessage) GetMsg

func (x *ServiceServerMessage) GetMsg() isServiceServerMessage_Msg

func (*ServiceServerMessage) GetRegistered

func (x *ServiceServerMessage) GetRegistered() *ServiceRegistered

func (*ServiceServerMessage) ProtoMessage

func (*ServiceServerMessage) ProtoMessage()

func (*ServiceServerMessage) ProtoReflect

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

func (*ServiceServerMessage) Reset

func (x *ServiceServerMessage) Reset()

func (*ServiceServerMessage) String

func (x *ServiceServerMessage) String() string

type ServiceServerMessage_Error

type ServiceServerMessage_Error struct {
	Error *ServiceError `protobuf:"bytes,3,opt,name=error,proto3,oneof"`
}

type ServiceServerMessage_Event

type ServiceServerMessage_Event struct {
	Event *ServiceEvent `protobuf:"bytes,2,opt,name=event,proto3,oneof"`
}

type ServiceServerMessage_Registered

type ServiceServerMessage_Registered struct {
	Registered *ServiceRegistered `protobuf:"bytes,1,opt,name=registered,proto3,oneof"` // first message only, after manifest accepted
}

type ServiceSignDocument

type ServiceSignDocument struct {
	RequestId string `protobuf:"bytes,1,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` // caller-minted correlation token
	Payload   []byte `protobuf:"bytes,2,opt,name=payload,proto3" json:"payload,omitempty"`                      // the document bytes to sign (bounded by the payload ceiling)
	// contains filtered or unexported fields
}

ServiceSignDocument asks the daemon to sign payload with THIS service's identity, producing the material for a SignedServiceDocument (ADR-0009 §7 — a registry's signed index is the first consumer). Like ServiceConnectPeer, authorization is stream ownership: a client can only sign as the service whose RegisterService stream it owns, and the keys never leave the daemon. The signature is domain-separated ("ensemble.v1.servicedoc" || 0x00 || payload) so a signed document can never collide with a wire envelope or any other ed25519 signing context. The daemon replies with a "sign_result" event correlated by request_id.

func (*ServiceSignDocument) Descriptor deprecated

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

Deprecated: Use ServiceSignDocument.ProtoReflect.Descriptor instead.

func (*ServiceSignDocument) GetPayload

func (x *ServiceSignDocument) GetPayload() []byte

func (*ServiceSignDocument) GetRequestId

func (x *ServiceSignDocument) GetRequestId() string

func (*ServiceSignDocument) ProtoMessage

func (*ServiceSignDocument) ProtoMessage()

func (*ServiceSignDocument) ProtoReflect

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

func (*ServiceSignDocument) Reset

func (x *ServiceSignDocument) Reset()

func (*ServiceSignDocument) String

func (x *ServiceSignDocument) String() string

type ServiceSignResultEvent

type ServiceSignResultEvent struct {
	RequestId    string `protobuf:"bytes,1,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
	Signature    []byte `protobuf:"bytes,2,opt,name=signature,proto3" json:"signature,omitempty"`                           // ed25519 over the domain-separated payload
	DilithiumPub []byte `protobuf:"bytes,3,opt,name=dilithium_pub,json=dilithiumPub,proto3" json:"dilithium_pub,omitempty"` // this service's identity public key
	Binding      []byte `protobuf:"bytes,4,opt,name=binding,proto3" json:"binding,omitempty"`                               // marshalled IdentityBinding for the signing key
	Address      string `protobuf:"bytes,5,opt,name=address,proto3" json:"address,omitempty"`                               // this service's E-address (the verify pin)
	Error        string `protobuf:"bytes,6,opt,name=error,proto3" json:"error,omitempty"`                                   // "" on success
	// contains filtered or unexported fields
}

ServiceSignResultEvent carries the daemon's reply to a ServiceSignDocument, inside ServiceEvent.payload when ServiceEvent.type == "sign_result". On success it is everything needed to assemble a SignedServiceDocument minus the doc bytes the caller already has. On failure only error is set.

func (*ServiceSignResultEvent) Descriptor deprecated

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

Deprecated: Use ServiceSignResultEvent.ProtoReflect.Descriptor instead.

func (*ServiceSignResultEvent) GetAddress

func (x *ServiceSignResultEvent) GetAddress() string

func (*ServiceSignResultEvent) GetBinding

func (x *ServiceSignResultEvent) GetBinding() []byte

func (*ServiceSignResultEvent) GetDilithiumPub

func (x *ServiceSignResultEvent) GetDilithiumPub() []byte

func (*ServiceSignResultEvent) GetError

func (x *ServiceSignResultEvent) GetError() string

func (*ServiceSignResultEvent) GetRequestId

func (x *ServiceSignResultEvent) GetRequestId() string

func (*ServiceSignResultEvent) GetSignature

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

func (*ServiceSignResultEvent) ProtoMessage

func (*ServiceSignResultEvent) ProtoMessage()

func (*ServiceSignResultEvent) ProtoReflect

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

func (*ServiceSignResultEvent) Reset

func (x *ServiceSignResultEvent) Reset()

func (*ServiceSignResultEvent) String

func (x *ServiceSignResultEvent) String() string

type ServiceToOperator

type ServiceToOperator struct {
	Payload []byte `protobuf:"bytes,1,opt,name=payload,proto3" json:"payload,omitempty"` // opaque app bytes for the frontend
	// contains filtered or unexported fields
}

ServiceToOperator carries a payload from a service backend to its launched frontend (the operator UI), relayed through the daemon (ADR-0011 §5). It is the backend→frontend leg, the counterpart to the "operator_message" event (frontend→backend). The daemon fans the payload to every attach stream bound to this backend; if no frontend is attached the payload is dropped (the frontend re-syncs on its next attach). Payload is opaque app bytes, bounded by the service's max_payload_bytes. This is NOT a network send — it never leaves the local daemon and names no peer.

func (*ServiceToOperator) Descriptor deprecated

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

Deprecated: Use ServiceToOperator.ProtoReflect.Descriptor instead.

func (*ServiceToOperator) GetPayload

func (x *ServiceToOperator) GetPayload() []byte

func (*ServiceToOperator) ProtoMessage

func (*ServiceToOperator) ProtoMessage()

func (*ServiceToOperator) ProtoReflect

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

func (*ServiceToOperator) Reset

func (x *ServiceToOperator) Reset()

func (*ServiceToOperator) String

func (x *ServiceToOperator) String() string

type ServiceTransport

type ServiceTransport int32

ServiceTransport describes how the daemon should drain the per-service signaling listener. CHAT (the back-compat default) routes envelopes through the chat / file handler interfaces; HTTP hands the accepted connection to an HTTP server (the Web UI); RPC routes raw protobuf bytes both directions without the chat envelope. UNSPECIFIED is treated as CHAT so older clients that omit the field continue to work.

const (
	ServiceTransport_SERVICE_TRANSPORT_UNSPECIFIED ServiceTransport = 0
	ServiceTransport_SERVICE_TRANSPORT_CHAT        ServiceTransport = 1
	ServiceTransport_SERVICE_TRANSPORT_HTTP        ServiceTransport = 2
	ServiceTransport_SERVICE_TRANSPORT_RPC         ServiceTransport = 3
)

func (ServiceTransport) Descriptor

func (ServiceTransport) Enum

func (ServiceTransport) EnumDescriptor deprecated

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

Deprecated: Use ServiceTransport.Descriptor instead.

func (ServiceTransport) Number

func (ServiceTransport) String

func (x ServiceTransport) String() string

func (ServiceTransport) Type

type ServiceUpdateAllowlist

type ServiceUpdateAllowlist struct {
	Add    []string `protobuf:"bytes,1,rep,name=add,proto3" json:"add,omitempty"`       // addresses to grant
	Remove []string `protobuf:"bytes,2,rep,name=remove,proto3" json:"remove,omitempty"` // addresses to revoke
	// contains filtered or unexported fields
}

ServiceUpdateAllowlist mutates THIS service's live ACL_ALLOWLIST at runtime so a membership change takes effect without re-registering the service (ADR-0007 §5). `add` grants the listed addresses; `remove` revokes them. Only meaningful for an allowlist-gated service using the built-in default-deny gate — a decides_connections service runs its own policy and the daemon rejects the update. Pairs with ServiceDisconnectPeer: revoke an address, then drop its live connection, to fully evict a member. Authorization is stream ownership.

func (*ServiceUpdateAllowlist) Descriptor deprecated

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

Deprecated: Use ServiceUpdateAllowlist.ProtoReflect.Descriptor instead.

func (*ServiceUpdateAllowlist) GetAdd

func (x *ServiceUpdateAllowlist) GetAdd() []string

func (*ServiceUpdateAllowlist) GetRemove

func (x *ServiceUpdateAllowlist) GetRemove() []string

func (*ServiceUpdateAllowlist) ProtoMessage

func (*ServiceUpdateAllowlist) ProtoMessage()

func (*ServiceUpdateAllowlist) ProtoReflect

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

func (*ServiceUpdateAllowlist) Reset

func (x *ServiceUpdateAllowlist) Reset()

func (*ServiceUpdateAllowlist) String

func (x *ServiceUpdateAllowlist) String() string

type SetServiceEnvRequest

type SetServiceEnvRequest struct {
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// set: keys to set/overwrite in the overlay (the operator's desired values).
	Set map[string]string `` /* 133-byte string literal not displayed */
	// unset: keys to remove from the overlay. Applied after set.
	Unset []string `protobuf:"bytes,3,rep,name=unset,proto3" json:"unset,omitempty"`
	// replace: the resulting overlay is exactly `set` (every prior key cleared);
	// `unset` is then redundant and ignored. The clean-slate path a CI pipeline
	// wants so a removed var never lingers. Default (false) merges into the
	// existing overlay.
	Replace bool `protobuf:"varint,4,opt,name=replace,proto3" json:"replace,omitempty"`
	// contains filtered or unexported fields
}

func (*SetServiceEnvRequest) Descriptor deprecated

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

Deprecated: Use SetServiceEnvRequest.ProtoReflect.Descriptor instead.

func (*SetServiceEnvRequest) GetName

func (x *SetServiceEnvRequest) GetName() string

func (*SetServiceEnvRequest) GetReplace

func (x *SetServiceEnvRequest) GetReplace() bool

func (*SetServiceEnvRequest) GetSet

func (x *SetServiceEnvRequest) GetSet() map[string]string

func (*SetServiceEnvRequest) GetUnset

func (x *SetServiceEnvRequest) GetUnset() []string

func (*SetServiceEnvRequest) ProtoMessage

func (*SetServiceEnvRequest) ProtoMessage()

func (*SetServiceEnvRequest) ProtoReflect

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

func (*SetServiceEnvRequest) Reset

func (x *SetServiceEnvRequest) Reset()

func (*SetServiceEnvRequest) String

func (x *SetServiceEnvRequest) String() string

type SetServiceEnvResponse

type SetServiceEnvResponse struct {
	Keys      []string `protobuf:"bytes,1,rep,name=keys,proto3" json:"keys,omitempty"`            // resulting overlay key names, sorted; values never echoed
	Restarted bool     `protobuf:"varint,2,opt,name=restarted,proto3" json:"restarted,omitempty"` // the service was running and was restarted to apply the change
	// contains filtered or unexported fields
}

func (*SetServiceEnvResponse) Descriptor deprecated

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

Deprecated: Use SetServiceEnvResponse.ProtoReflect.Descriptor instead.

func (*SetServiceEnvResponse) GetKeys

func (x *SetServiceEnvResponse) GetKeys() []string

func (*SetServiceEnvResponse) GetRestarted

func (x *SetServiceEnvResponse) GetRestarted() bool

func (*SetServiceEnvResponse) ProtoMessage

func (*SetServiceEnvResponse) ProtoMessage()

func (*SetServiceEnvResponse) ProtoReflect

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

func (*SetServiceEnvResponse) Reset

func (x *SetServiceEnvResponse) Reset()

func (*SetServiceEnvResponse) String

func (x *SetServiceEnvResponse) String() string

type SettingDecl

type SettingDecl struct {
	Key         string   `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	Label       string   `protobuf:"bytes,2,opt,name=label,proto3" json:"label,omitempty"`
	Description string   `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
	Type        string   `protobuf:"bytes,4,opt,name=type,proto3" json:"type,omitempty"` // string|int|bool|enum|address ("" = string)
	Default     string   `protobuf:"bytes,5,opt,name=default,proto3" json:"default,omitempty"`
	Required    bool     `protobuf:"varint,6,opt,name=required,proto3" json:"required,omitempty"`
	Secret      bool     `protobuf:"varint,7,opt,name=secret,proto3" json:"secret,omitempty"`                          // orthogonal to type; the UI masks the value
	EnumValues  []string `protobuf:"bytes,8,rep,name=enum_values,json=enumValues,proto3" json:"enum_values,omitempty"` // allowed values when type=enum
	Min         *int64   `protobuf:"varint,9,opt,name=min,proto3,oneof" json:"min,omitempty"`                          // type=int lower bound, when set
	Max         *int64   `protobuf:"varint,10,opt,name=max,proto3,oneof" json:"max,omitempty"`                         // type=int upper bound, when set
	// contains filtered or unexported fields
}

SettingDecl is one declared env-var option from the manifest `settings:` block (ADR-0009 §12) — the typed SHAPE of an option, distinct from its VALUE (which is write-only in the operator env overlay, §11). The daemon does not enforce these; the CLI/app use them to render a typed settings form. An overlay key with no SettingDecl is free-form (the KVP fallback).

func (*SettingDecl) Descriptor deprecated

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

Deprecated: Use SettingDecl.ProtoReflect.Descriptor instead.

func (*SettingDecl) GetDefault

func (x *SettingDecl) GetDefault() string

func (*SettingDecl) GetDescription

func (x *SettingDecl) GetDescription() string

func (*SettingDecl) GetEnumValues

func (x *SettingDecl) GetEnumValues() []string

func (*SettingDecl) GetKey

func (x *SettingDecl) GetKey() string

func (*SettingDecl) GetLabel

func (x *SettingDecl) GetLabel() string

func (*SettingDecl) GetMax

func (x *SettingDecl) GetMax() int64

func (*SettingDecl) GetMin

func (x *SettingDecl) GetMin() int64

func (*SettingDecl) GetRequired

func (x *SettingDecl) GetRequired() bool

func (*SettingDecl) GetSecret

func (x *SettingDecl) GetSecret() bool

func (*SettingDecl) GetType

func (x *SettingDecl) GetType() string

func (*SettingDecl) ProtoMessage

func (*SettingDecl) ProtoMessage()

func (*SettingDecl) ProtoReflect

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

func (*SettingDecl) Reset

func (x *SettingDecl) Reset()

func (*SettingDecl) String

func (x *SettingDecl) String() string

type SignedServiceDocument

type SignedServiceDocument struct {
	Doc          []byte `protobuf:"bytes,1,opt,name=doc,proto3" json:"doc,omitempty"`                                       // the published bytes (for a registry: RegistryIndex)
	DilithiumPub []byte `protobuf:"bytes,2,opt,name=dilithium_pub,json=dilithiumPub,proto3" json:"dilithium_pub,omitempty"` // ML-DSA-65 public key, fixed 1952 bytes
	Binding      []byte `protobuf:"bytes,3,opt,name=binding,proto3" json:"binding,omitempty"`                               // marshalled IdentityBinding (Dilithium-signed)
	Signature    []byte `protobuf:"bytes,4,opt,name=signature,proto3" json:"signature,omitempty"`                           // ed25519 over the domain-separated doc
	// contains filtered or unexported fields
}

--- Registry (ADR-0009 §7) ---

SignedServiceDocument is a generic "this service published these bytes" envelope, self-verifying against nothing but the publisher's E-address:

  1. AddressFromDilithiumPub(dilithium_pub) must equal the pinned address,
  2. binding must verify under dilithium_pub (the IdentityBinding),
  3. signature must verify under the binding's ed25519 key over the domain-separated form "ensemble.v1.servicedoc" || 0x00 || doc.

The daemon signs on behalf of its registered services via the sign_document stream action — service keys never leave the daemon.

func (*SignedServiceDocument) Descriptor deprecated

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

Deprecated: Use SignedServiceDocument.ProtoReflect.Descriptor instead.

func (*SignedServiceDocument) GetBinding

func (x *SignedServiceDocument) GetBinding() []byte

func (*SignedServiceDocument) GetDilithiumPub

func (x *SignedServiceDocument) GetDilithiumPub() []byte

func (*SignedServiceDocument) GetDoc

func (x *SignedServiceDocument) GetDoc() []byte

func (*SignedServiceDocument) GetSignature

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

func (*SignedServiceDocument) ProtoMessage

func (*SignedServiceDocument) ProtoMessage()

func (*SignedServiceDocument) ProtoReflect

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

func (*SignedServiceDocument) Reset

func (x *SignedServiceDocument) Reset()

func (*SignedServiceDocument) String

func (x *SignedServiceDocument) String() string

type StartInstalledServiceRequest

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

func (*StartInstalledServiceRequest) Descriptor deprecated

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

Deprecated: Use StartInstalledServiceRequest.ProtoReflect.Descriptor instead.

func (*StartInstalledServiceRequest) GetName

func (x *StartInstalledServiceRequest) GetName() string

func (*StartInstalledServiceRequest) ProtoMessage

func (*StartInstalledServiceRequest) ProtoMessage()

func (*StartInstalledServiceRequest) ProtoReflect

func (*StartInstalledServiceRequest) Reset

func (x *StartInstalledServiceRequest) Reset()

func (*StartInstalledServiceRequest) String

type StartInstalledServiceResponse

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

func (*StartInstalledServiceResponse) Descriptor deprecated

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

Deprecated: Use StartInstalledServiceResponse.ProtoReflect.Descriptor instead.

func (*StartInstalledServiceResponse) ProtoMessage

func (*StartInstalledServiceResponse) ProtoMessage()

func (*StartInstalledServiceResponse) ProtoReflect

func (*StartInstalledServiceResponse) Reset

func (x *StartInstalledServiceResponse) Reset()

func (*StartInstalledServiceResponse) String

type StopInstalledServiceRequest

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

func (*StopInstalledServiceRequest) Descriptor deprecated

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

Deprecated: Use StopInstalledServiceRequest.ProtoReflect.Descriptor instead.

func (*StopInstalledServiceRequest) GetName

func (x *StopInstalledServiceRequest) GetName() string

func (*StopInstalledServiceRequest) ProtoMessage

func (*StopInstalledServiceRequest) ProtoMessage()

func (*StopInstalledServiceRequest) ProtoReflect

func (*StopInstalledServiceRequest) Reset

func (x *StopInstalledServiceRequest) Reset()

func (*StopInstalledServiceRequest) String

func (x *StopInstalledServiceRequest) String() string

type StopInstalledServiceResponse

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

func (*StopInstalledServiceResponse) Descriptor deprecated

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

Deprecated: Use StopInstalledServiceResponse.ProtoReflect.Descriptor instead.

func (*StopInstalledServiceResponse) ProtoMessage

func (*StopInstalledServiceResponse) ProtoMessage()

func (*StopInstalledServiceResponse) ProtoReflect

func (*StopInstalledServiceResponse) Reset

func (x *StopInstalledServiceResponse) Reset()

func (*StopInstalledServiceResponse) String

type StreamMetricsRequest

type StreamMetricsRequest struct {
	NamePrefix string `protobuf:"bytes,1,opt,name=name_prefix,json=namePrefix,proto3" json:"name_prefix,omitempty"`
	Service    string `protobuf:"bytes,2,opt,name=service,proto3" json:"service,omitempty"`
	IntervalMs uint32 `protobuf:"varint,3,opt,name=interval_ms,json=intervalMs,proto3" json:"interval_ms,omitempty"`
	// contains filtered or unexported fields
}

StreamMetricsRequest opens a live feed. interval_ms is the tick cadence (0 = server default 1000ms; clamped to [250ms, 60s]).

func (*StreamMetricsRequest) Descriptor deprecated

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

Deprecated: Use StreamMetricsRequest.ProtoReflect.Descriptor instead.

func (*StreamMetricsRequest) GetIntervalMs

func (x *StreamMetricsRequest) GetIntervalMs() uint32

func (*StreamMetricsRequest) GetNamePrefix

func (x *StreamMetricsRequest) GetNamePrefix() string

func (*StreamMetricsRequest) GetService

func (x *StreamMetricsRequest) GetService() string

func (*StreamMetricsRequest) ProtoMessage

func (*StreamMetricsRequest) ProtoMessage()

func (*StreamMetricsRequest) ProtoReflect

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

func (*StreamMetricsRequest) Reset

func (x *StreamMetricsRequest) Reset()

func (*StreamMetricsRequest) String

func (x *StreamMetricsRequest) String() string

type StreamServiceLogsRequest

type StreamServiceLogsRequest struct {
	Name      string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	TailLines int32  `protobuf:"varint,2,opt,name=tail_lines,json=tailLines,proto3" json:"tail_lines,omitempty"` // history lines to send first (0 = default 100, capped)
	Follow    bool   `protobuf:"varint,3,opt,name=follow,proto3" json:"follow,omitempty"`                        // keep streaming new lines after the tail
	// contains filtered or unexported fields
}

func (*StreamServiceLogsRequest) Descriptor deprecated

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

Deprecated: Use StreamServiceLogsRequest.ProtoReflect.Descriptor instead.

func (*StreamServiceLogsRequest) GetFollow

func (x *StreamServiceLogsRequest) GetFollow() bool

func (*StreamServiceLogsRequest) GetName

func (x *StreamServiceLogsRequest) GetName() string

func (*StreamServiceLogsRequest) GetTailLines

func (x *StreamServiceLogsRequest) GetTailLines() int32

func (*StreamServiceLogsRequest) ProtoMessage

func (*StreamServiceLogsRequest) ProtoMessage()

func (*StreamServiceLogsRequest) ProtoReflect

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

func (*StreamServiceLogsRequest) Reset

func (x *StreamServiceLogsRequest) Reset()

func (*StreamServiceLogsRequest) String

func (x *StreamServiceLogsRequest) String() string

type SubscribeRequest

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

func (*SubscribeRequest) Descriptor deprecated

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

Deprecated: Use SubscribeRequest.ProtoReflect.Descriptor instead.

func (*SubscribeRequest) ProtoMessage

func (*SubscribeRequest) ProtoMessage()

func (*SubscribeRequest) ProtoReflect

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

func (*SubscribeRequest) Reset

func (x *SubscribeRequest) Reset()

func (*SubscribeRequest) String

func (x *SubscribeRequest) String() string

type SupervisedService

type SupervisedService struct {
	Name        string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Version     string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"`
	State       string `protobuf:"bytes,3,opt,name=state,proto3" json:"state,omitempty"`
	Reason      string `protobuf:"bytes,4,opt,name=reason,proto3" json:"reason,omitempty"`                                 // human-readable, set for blocked/errored/backoff
	Pid         int32  `protobuf:"varint,5,opt,name=pid,proto3" json:"pid,omitempty"`                                      // 0 when not running
	Restarts    int32  `protobuf:"varint,6,opt,name=restarts,proto3" json:"restarts,omitempty"`                            // consecutive failures in the current crash cycle
	Enabled     bool   `protobuf:"varint,7,opt,name=enabled,proto3" json:"enabled,omitempty"`                              // operator intent persisted in install.yaml
	StartedAtMs int64  `protobuf:"varint,8,opt,name=started_at_ms,json=startedAtMs,proto3" json:"started_at_ms,omitempty"` // unix ms of the last successful spawn, 0 if never
	// contains filtered or unexported fields
}

SupervisedService is the lifecycle view of one installed service (ADR-0009). `state` is a string on purpose (stopped/starting/running/backoff/blocked/ errored/stopping) — proto enums marshal as numbers through the JSON event path and burn clients; see the service_state DaemonEvent which carries the same shape.

func (*SupervisedService) Descriptor deprecated

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

Deprecated: Use SupervisedService.ProtoReflect.Descriptor instead.

func (*SupervisedService) GetEnabled

func (x *SupervisedService) GetEnabled() bool

func (*SupervisedService) GetName

func (x *SupervisedService) GetName() string

func (*SupervisedService) GetPid

func (x *SupervisedService) GetPid() int32

func (*SupervisedService) GetReason

func (x *SupervisedService) GetReason() string

func (*SupervisedService) GetRestarts

func (x *SupervisedService) GetRestarts() int32

func (*SupervisedService) GetStartedAtMs

func (x *SupervisedService) GetStartedAtMs() int64

func (*SupervisedService) GetState

func (x *SupervisedService) GetState() string

func (*SupervisedService) GetVersion

func (x *SupervisedService) GetVersion() string

func (*SupervisedService) ProtoMessage

func (*SupervisedService) ProtoMessage()

func (*SupervisedService) ProtoReflect

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

func (*SupervisedService) Reset

func (x *SupervisedService) Reset()

func (*SupervisedService) String

func (x *SupervisedService) String() string

type TransferProgress

type TransferProgress struct {
	TransferId string  `protobuf:"bytes,1,opt,name=transfer_id,json=transferId,proto3" json:"transfer_id,omitempty"`
	Filename   string  `protobuf:"bytes,2,opt,name=filename,proto3" json:"filename,omitempty"`
	TotalBytes uint64  `protobuf:"varint,3,opt,name=total_bytes,json=totalBytes,proto3" json:"total_bytes,omitempty"`
	SentBytes  uint64  `protobuf:"varint,4,opt,name=sent_bytes,json=sentBytes,proto3" json:"sent_bytes,omitempty"`
	Percent    float32 `protobuf:"fixed32,5,opt,name=percent,proto3" json:"percent,omitempty"`
	Complete   bool    `protobuf:"varint,6,opt,name=complete,proto3" json:"complete,omitempty"`
	Error      string  `protobuf:"bytes,7,opt,name=error,proto3" json:"error,omitempty"`
	// contains filtered or unexported fields
}

func (*TransferProgress) Descriptor deprecated

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

Deprecated: Use TransferProgress.ProtoReflect.Descriptor instead.

func (*TransferProgress) GetComplete

func (x *TransferProgress) GetComplete() bool

func (*TransferProgress) GetError

func (x *TransferProgress) GetError() string

func (*TransferProgress) GetFilename

func (x *TransferProgress) GetFilename() string

func (*TransferProgress) GetPercent

func (x *TransferProgress) GetPercent() float32

func (*TransferProgress) GetSentBytes

func (x *TransferProgress) GetSentBytes() uint64

func (*TransferProgress) GetTotalBytes

func (x *TransferProgress) GetTotalBytes() uint64

func (*TransferProgress) GetTransferId

func (x *TransferProgress) GetTransferId() string

func (*TransferProgress) ProtoMessage

func (*TransferProgress) ProtoMessage()

func (*TransferProgress) ProtoReflect

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

func (*TransferProgress) Reset

func (x *TransferProgress) Reset()

func (*TransferProgress) String

func (x *TransferProgress) String() string

type UnimplementedEnsembleServiceServer

type UnimplementedEnsembleServiceServer struct{}

UnimplementedEnsembleServiceServer must be embedded to have forward compatible implementations.

NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.

func (UnimplementedEnsembleServiceServer) AcceptConnection

func (UnimplementedEnsembleServiceServer) AcceptFile

func (UnimplementedEnsembleServiceServer) AddContact

func (UnimplementedEnsembleServiceServer) AddNode

func (UnimplementedEnsembleServiceServer) AddRegistry

func (UnimplementedEnsembleServiceServer) BrokerLaunch

func (UnimplementedEnsembleServiceServer) CancelTransfer

func (UnimplementedEnsembleServiceServer) ClearChatHistory

func (UnimplementedEnsembleServiceServer) Connect

func (UnimplementedEnsembleServiceServer) DeleteChatMessage

func (UnimplementedEnsembleServiceServer) DeleteService

func (UnimplementedEnsembleServiceServer) Disconnect

func (UnimplementedEnsembleServiceServer) GetChatHistory

func (UnimplementedEnsembleServiceServer) GetDebugInfo

func (UnimplementedEnsembleServiceServer) GetIdentity

func (UnimplementedEnsembleServiceServer) GetMetrics

func (UnimplementedEnsembleServiceServer) GetServiceEnv

func (UnimplementedEnsembleServiceServer) GetStatus

func (UnimplementedEnsembleServiceServer) ListContacts

func (UnimplementedEnsembleServiceServer) ListPeers

func (UnimplementedEnsembleServiceServer) ListRegistries

func (UnimplementedEnsembleServiceServer) ListServiceCommands

func (UnimplementedEnsembleServiceServer) RejectConnection

func (UnimplementedEnsembleServiceServer) RejectFile

func (UnimplementedEnsembleServiceServer) RemoveContact

func (UnimplementedEnsembleServiceServer) RemoveRegistry

func (UnimplementedEnsembleServiceServer) RollbackService

func (UnimplementedEnsembleServiceServer) RotateAdminKey

func (UnimplementedEnsembleServiceServer) SearchRegistries

func (UnimplementedEnsembleServiceServer) SendFile

func (UnimplementedEnsembleServiceServer) SendMessage

func (UnimplementedEnsembleServiceServer) SetServiceEnv

func (UnimplementedEnsembleServiceServer) StreamMetrics

func (UnimplementedEnsembleServiceServer) Subscribe

func (UnimplementedEnsembleServiceServer) UninstallService

func (UnimplementedEnsembleServiceServer) VerifyBinding

type UninstallServiceRequest

type UninstallServiceRequest struct {
	Name          string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	KeepData      bool   `protobuf:"varint,2,opt,name=keep_data,json=keepData,proto3" json:"keep_data,omitempty"`                // preserve data/ for a future reinstall
	PurgeIdentity bool   `protobuf:"varint,3,opt,name=purge_identity,json=purgeIdentity,proto3" json:"purge_identity,omitempty"` // rotate the service identity (fresh keys on reinstall)
	// contains filtered or unexported fields
}

func (*UninstallServiceRequest) Descriptor deprecated

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

Deprecated: Use UninstallServiceRequest.ProtoReflect.Descriptor instead.

func (*UninstallServiceRequest) GetKeepData

func (x *UninstallServiceRequest) GetKeepData() bool

func (*UninstallServiceRequest) GetName

func (x *UninstallServiceRequest) GetName() string

func (*UninstallServiceRequest) GetPurgeIdentity

func (x *UninstallServiceRequest) GetPurgeIdentity() bool

func (*UninstallServiceRequest) ProtoMessage

func (*UninstallServiceRequest) ProtoMessage()

func (*UninstallServiceRequest) ProtoReflect

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

func (*UninstallServiceRequest) Reset

func (x *UninstallServiceRequest) Reset()

func (*UninstallServiceRequest) String

func (x *UninstallServiceRequest) String() string

type UninstallServiceResponse

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

func (*UninstallServiceResponse) Descriptor deprecated

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

Deprecated: Use UninstallServiceResponse.ProtoReflect.Descriptor instead.

func (*UninstallServiceResponse) ProtoMessage

func (*UninstallServiceResponse) ProtoMessage()

func (*UninstallServiceResponse) ProtoReflect

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

func (*UninstallServiceResponse) Reset

func (x *UninstallServiceResponse) Reset()

func (*UninstallServiceResponse) String

func (x *UninstallServiceResponse) String() string

type UnsafeEnsembleServiceServer

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

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

type UpgradeServiceRequest

type UpgradeServiceRequest struct {
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// source may be empty for a service originally installed from a registry:
	// the daemon re-resolves the name through the subscribed registries and
	// upgrades to the latest published release. Non-registry installs must
	// supply a source explicitly (a registry must never hijack a dev install).
	Source             string `protobuf:"bytes,2,opt,name=source,proto3" json:"source,omitempty"`
	Sha256             string `protobuf:"bytes,3,opt,name=sha256,proto3" json:"sha256,omitempty"`
	AcceptCapabilities bool   `protobuf:"varint,4,opt,name=accept_capabilities,json=acceptCapabilities,proto3" json:"accept_capabilities,omitempty"` // required only when capabilities GREW
	Forge              string `protobuf:"bytes,5,opt,name=forge,proto3" json:"forge,omitempty"`
	ForgeKind          string `protobuf:"bytes,6,opt,name=forge_kind,json=forgeKind,proto3" json:"forge_kind,omitempty"`
	// frontend_choice changes the frontend tier the operator takes across this
	// upgrade (ADR-0010 §3). "" = keep the prior choice (a headless install stays
	// headless, a UI install stays UI); "headless" = drop the UI (a free
	// downgrade); "ui" = add the UI a prior headless install declined — this
	// grows `frontend` versus the accepted set, so it re-triggers consent.
	FrontendChoice string `protobuf:"bytes,7,opt,name=frontend_choice,json=frontendChoice,proto3" json:"frontend_choice,omitempty"`
	// contains filtered or unexported fields
}

func (*UpgradeServiceRequest) Descriptor deprecated

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

Deprecated: Use UpgradeServiceRequest.ProtoReflect.Descriptor instead.

func (*UpgradeServiceRequest) GetAcceptCapabilities

func (x *UpgradeServiceRequest) GetAcceptCapabilities() bool

func (*UpgradeServiceRequest) GetForge

func (x *UpgradeServiceRequest) GetForge() string

func (*UpgradeServiceRequest) GetForgeKind

func (x *UpgradeServiceRequest) GetForgeKind() string

func (*UpgradeServiceRequest) GetFrontendChoice

func (x *UpgradeServiceRequest) GetFrontendChoice() string

func (*UpgradeServiceRequest) GetName

func (x *UpgradeServiceRequest) GetName() string

func (*UpgradeServiceRequest) GetSha256

func (x *UpgradeServiceRequest) GetSha256() string

func (*UpgradeServiceRequest) GetSource

func (x *UpgradeServiceRequest) GetSource() string

func (*UpgradeServiceRequest) ProtoMessage

func (*UpgradeServiceRequest) ProtoMessage()

func (*UpgradeServiceRequest) ProtoReflect

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

func (*UpgradeServiceRequest) Reset

func (x *UpgradeServiceRequest) Reset()

func (*UpgradeServiceRequest) String

func (x *UpgradeServiceRequest) String() string

type VerifyBindingRequest

type VerifyBindingRequest struct {
	Binding      []byte `protobuf:"bytes,1,opt,name=binding,proto3" json:"binding,omitempty"`                               // marshalled IdentityBinding (Dilithium-signed)
	DilithiumPub []byte `protobuf:"bytes,2,opt,name=dilithium_pub,json=dilithiumPub,proto3" json:"dilithium_pub,omitempty"` // signer's ML-DSA-65 identity public key (1952 bytes)
	Address      string `protobuf:"bytes,3,opt,name=address,proto3" json:"address,omitempty"`                               // the claimed E-address to pin the identity to
	// contains filtered or unexported fields
}

VerifyBinding verifies the address→Dilithium→binding→ed25519 chain for a peer the caller learned about out-of-band (e.g. a gomp room member handed the host its identity material at join). The dilithium_pub is supplied separately because a marshalled IdentityBinding does not carry it (the binding wire form is ed25519_pub + created_at + dilithium_signature only). On success the response hands back the bound ed25519 operational key so the caller can then verify that peer's per-message signatures locally — cheap native ed25519, no further round-trip. Mirrors SignedServiceDocument verify steps 1-2.

func (*VerifyBindingRequest) Descriptor deprecated

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

Deprecated: Use VerifyBindingRequest.ProtoReflect.Descriptor instead.

func (*VerifyBindingRequest) GetAddress

func (x *VerifyBindingRequest) GetAddress() string

func (*VerifyBindingRequest) GetBinding

func (x *VerifyBindingRequest) GetBinding() []byte

func (*VerifyBindingRequest) GetDilithiumPub

func (x *VerifyBindingRequest) GetDilithiumPub() []byte

func (*VerifyBindingRequest) ProtoMessage

func (*VerifyBindingRequest) ProtoMessage()

func (*VerifyBindingRequest) ProtoReflect

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

func (*VerifyBindingRequest) Reset

func (x *VerifyBindingRequest) Reset()

func (*VerifyBindingRequest) String

func (x *VerifyBindingRequest) String() string

type VerifyBindingResponse

type VerifyBindingResponse struct {
	Ok         bool   `protobuf:"varint,1,opt,name=ok,proto3" json:"ok,omitempty"`                                  // true iff every link in the chain holds
	Ed25519Pub []byte `protobuf:"bytes,2,opt,name=ed25519_pub,json=ed25519Pub,proto3" json:"ed25519_pub,omitempty"` // bound operational key, set only when ok
	Reason     string `protobuf:"bytes,3,opt,name=reason,proto3" json:"reason,omitempty"`                           // human-readable failure stage when !ok (diagnostic, not an oracle)
	// contains filtered or unexported fields
}

func (*VerifyBindingResponse) Descriptor deprecated

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

Deprecated: Use VerifyBindingResponse.ProtoReflect.Descriptor instead.

func (*VerifyBindingResponse) GetEd25519Pub

func (x *VerifyBindingResponse) GetEd25519Pub() []byte

func (*VerifyBindingResponse) GetOk

func (x *VerifyBindingResponse) GetOk() bool

func (*VerifyBindingResponse) GetReason

func (x *VerifyBindingResponse) GetReason() string

func (*VerifyBindingResponse) ProtoMessage

func (*VerifyBindingResponse) ProtoMessage()

func (*VerifyBindingResponse) ProtoReflect

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

func (*VerifyBindingResponse) Reset

func (x *VerifyBindingResponse) Reset()

func (*VerifyBindingResponse) String

func (x *VerifyBindingResponse) String() string

Jump to

Keyboard shortcuts

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