MCPcopy Create free account
hub / github.com/diillson/chatcli / ResolveActiveConversation

Method ResolveActiveConversation

cli/hub_sync.go:26–26  ·  view source on GitHub ↗
(ctx context.Context, principal string)

Source from the content-addressed store, hash-verified

24// here keeps the cli package free of a hard dependency on the remote package.
25type HubClient interface {
26 ResolveActiveConversation(ctx context.Context, principal string) (convID, principal2 string, err error)
27 NewConversation(ctx context.Context, principal string) (string, error)
28 AppendEvent(ctx context.Context, ev models.ConversationEvent) (models.ConversationEvent, error)
29 ReadConversation(ctx context.Context, convID string, sinceSeq int64, limit int) ([]models.ConversationEvent, error)

Implementers 7

fakeHubServerclient/remote/hub_client_test.go
Clientclient/remote/remote_client.go
chatCLIServiceClientproto/chatcli/v1/chatcli_grpc.pb.go
UnimplementedChatCLIServiceServerproto/chatcli/v1/chatcli_grpc.pb.go
fakeHubClientcli/hub_sync_test.go
localHubClientcli/hub_local.go
Handlerserver/handler.go

Calls

no outgoing calls