Documentation
¶
Index ¶
- func ApplyParser() *flaggy.Parser
- func Dir() string
- func FactsParser() *flaggy.Parser
- func ImportParser() *flaggy.Parser
- func RefreshLinkedInSession(opts RefreshLinkedInSessionOpts) error
- func Root() string
- func RunApply(args []string) int
- func RunFacts(args []string) int
- func RunImport(args []string) int
- func RunSyncLinkedIn(args []string) int
- func RunSyncTelegram(args []string) int
- func RunSyncWhatsApp(args []string) int
- func SyncParser() *flaggy.Parser
- type ChatInfo
- type ExtractedFact
- type GetHistoryResult
- type LinkedInMCPSource
- type ListChatsResult
- type MCPClient
- type Message
- type RefreshLinkedInSessionOpts
- type Source
- type TelegramMCPSource
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ApplyParser ¶
func FactsParser ¶
func ImportParser ¶
func RefreshLinkedInSession ¶
func RefreshLinkedInSession(opts RefreshLinkedInSessionOpts) error
RefreshLinkedInSession refreshes cookies.json + source-state.json under opts.Root from the live browser profile in the webtop container.
func Root ¶
func Root() string
Root locates the 2dph project root (KB_ROOT, or walk up for var/ or .git).
func RunSyncLinkedIn ¶
func RunSyncTelegram ¶
func RunSyncWhatsApp ¶
func SyncParser ¶
Types ¶
type ExtractedFact ¶
type GetHistoryResult ¶
type LinkedInMCPSource ¶
type LinkedInMCPSource struct {
// contains filtered or unexported fields
}
func NewLinkedInMCPSource ¶
func NewLinkedInMCPSource(userDataDir string) *LinkedInMCPSource
func (*LinkedInMCPSource) Name ¶
func (s *LinkedInMCPSource) Name() string
type ListChatsResult ¶
type MCPClient ¶
type MCPClient struct {
// contains filtered or unexported fields
}
func NewMCPClient ¶
func (*MCPClient) GetHistory ¶
type RefreshLinkedInSessionOpts ¶
type RefreshLinkedInSessionOpts struct {
CDP string // default http://127.0.0.1:9222
Root string // default /var/tmp/liprofile
Container string // default work-webtop
Profile string // default thorium-profile
}
RefreshLinkedInSessionOpts selects the CDP endpoint, the portable profile root and the container/profile to copy from.
type TelegramMCPSource ¶
type TelegramMCPSource struct {
// contains filtered or unexported fields
}
func NewTelegramMCPSource ¶
func NewTelegramMCPSource(apiID int, apiHash, phone, sessionString, mcpDir string) *TelegramMCPSource
func (*TelegramMCPSource) Name ¶
func (s *TelegramMCPSource) Name() string
Click to show internal directories.
Click to hide internal directories.