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

Method NewConversation

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

Source from the content-addressed store, hash-verified

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)
30 SubscribeConversation(ctx context.Context, convID string, sinceSeq int64) (<-chan models.ConversationEvent, error)

Callers 5

NewConversationMethod · 0.65
startFreshMethod · 0.65
newSessionMethod · 0.65
NewConversationMethod · 0.65

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

Tested by 1