MCPcopy Index your code

hub / github.com/openclaw/wacli / functions

Functions1,829 in github.com/openclaw/wacli

↓ 9 callersFunctionSanitizeFilename
(name string)
internal/pathutil/sanitize.go:48
↓ 9 callersMethodUpsertCallEvent
(p UpsertCallEventParams)
internal/store/calls.go:28
↓ 9 callersFunctionchatKindFromJID
(j types.JID)
cmd/wacli/send_file.go:333
↓ 9 callersFunctiondurationMillis
(d time.Duration)
cmd/wacli/send_ipc.go:414
↓ 9 callersMethodisReadOnly
()
cmd/wacli/root.go:166
↓ 9 callersFunctionmessageChatJIDFilter
(ctx context.Context, a *app.App, chat string)
cmd/wacli/messages_helpers.go:17
↓ 9 callersFunctionpersistGroupInfo
(db *store.DB, info *types.GroupInfo)
cmd/wacli/groups_persist.go:15
↓ 9 callersFunctionresolveSelectOption
(buttons []store.Button, req selectRequest)
cmd/wacli/send_select_cmd.go:243
↓ 9 callersMethodtableExists
(table string)
internal/store/migrations.go:586
↓ 8 callersMethodEnabled
()
internal/out/events.go:31
↓ 8 callersFunctionEnsurePrivateDir
(path string)
internal/fsutil/permissions.go:8
↓ 8 callersMethodGetGroupInfo
(ctx context.Context, jid types.JID)
cmd/wacli/send.go:203
↓ 8 callersFunctionSaveAccountsConfig
(path string, cfg *AccountsConfig)
internal/config/config.go:145
↓ 8 callersMethodSetChatUnreadCount
(jid string, count int)
internal/store/chats.go:142
↓ 8 callersFunctionValidateAccountName
(name string)
internal/config/config.go:74
↓ 8 callersMethodaddSyncEventHandler
(ctx context.Context, opts SyncOptions, messagesStored, lastEvent *atomic.Int64, disconnected chan<- struct{},
internal/app/sync_events.go:52
↓ 8 callersFunctioncallEventFromMeta
(meta types.BasicCallMeta, self types.JID, eventType, outcome, reason, media, callType string)
internal/wa/calls.go:107
↓ 8 callersFunctioncloseList
()
scripts/docs-site-render.mjs:20
↓ 8 callersFunctioncontains
(h, needle string)
internal/resolve/resolve_test.go:49
↓ 8 callersFunctiondefaultStoreDirFor
(goos, home, xdgStateHome string, exists func(string) bool)
internal/config/config.go:242
↓ 8 callersFunctionflushParagraph
()
scripts/docs-site-render.mjs:15
↓ 8 callersFunctionmillisDuration
(ms int64, fallback time.Duration)
cmd/wacli/send_ipc.go:421
↓ 8 callersFunctionsendTextMessageWithSender
(ctx context.Context, sender textMessageSender, db *store.DB, to types.JID, text, replyTo, replyToSender strin
cmd/wacli/send.go:224
↓ 8 callersFunctionwarmupDelegatedRecipient
(ctx context.Context, a *app.App, jid types.JID)
cmd/wacli/send_ipc.go:410
↓ 8 callersFunctionwriteDelegatedSendOutput
(flags *rootFlags, kind string, resp sendDelegateResponse)
cmd/wacli/send_ipc.go:357
↓ 7 callersMethodCountChatMessages
(jid string)
internal/store/chats.go:305
↓ 7 callersFunctionFetch
(ctx context.Context, client *http.Client, rawURL string)
internal/linkpreview/linkpreview.go:43
↓ 7 callersMethodGetMediaDownloadInfo
(chatJID, msgID string)
internal/store/media.go:9
↓ 7 callersFunctionLoadAccountsConfig
(path string)
internal/config/config.go:87
↓ 7 callersMethodMigrateLIDToPN
MigrateLIDToPN rewrites one historical hidden-user JID to its phone-number JID. It is idempotent and merges duplicate chat/message rows created by the
internal/store/lid_migration.go:54
↓ 7 callersMethodSetChatUnread
(jid string, unread bool)
internal/store/chats.go:125
↓ 7 callersMethodUpsertStatusMessage
(p UpsertStatusMessageParams)
internal/store/status_messages.go:50
↓ 7 callersFunctionbuildSelectResponseMessage
(chat types.JID, opt selectOption, target store.Message, senderOverride string)
cmd/wacli/send_select_cmd.go:366
↓ 7 callersFunctioncanonicalMessageFilterJID
(jid types.JID)
cmd/wacli/messages_helpers.go:43
↓ 7 callersMethodeventsEnabled
()
internal/app/events.go:8
↓ 7 callersFunctionhrefToOutRel
(targetOutRel, currentOutRel)
scripts/build-docs-site.mjs:395
↓ 7 callersFunctionindexExists
(t *testing.T, db *sql.DB, name string)
internal/store/schema_test.go:470
↓ 7 callersFunctionjidStrings
(jids []types.JID)
cmd/wacli/messages_helpers.go:50
↓ 7 callersFunctionmediaFromCallNode
(node *waBinary.Node)
internal/wa/calls.go:288
↓ 7 callersFunctionmessageText
(m store.Message)
cmd/wacli/messages_format.go:177
↓ 7 callersFunctionparseGroupJID
(raw string)
cmd/wacli/groups_admin.go:379
↓ 7 callersFunctionparseOnOffFlags
(cmd *cobra.Command, on, off bool)
cmd/wacli/groups_admin.go:361
↓ 7 callersFunctionresolveStoreDir
(flags *rootFlags)
cmd/wacli/root.go:127
↓ 7 callersFunctionsameStringSet
(a, b []string)
internal/app/sync_polls_test.go:668
↓ 7 callersFunctionsqlNullInt64
(n int64)
internal/store/chats.go:336
↓ 7 callersMethodstoreParsedMessage
(ctx context.Context, pm wa.ParsedMessage)
internal/app/sync.go:360
↓ 7 callersFunctionvalidateMessageCanForward
(msg store.Message)
cmd/wacli/messages.go:968
↓ 7 callersMethodwriteHeartbeat
writeHeartbeat persists the current timestamp to {storeDir}/HEARTBEAT, throttled to at most once per minute to avoid excessive I/O. The file lets exte
internal/app/heartbeat.go:17
↓ 6 callersMethodEvents
()
internal/app/app.go:234
↓ 6 callersMethodHistoricalLIDJIDs
HistoricalLIDJIDs returns distinct hidden-user JIDs stored in chat and message/poll identity columns. The app layer resolves these through whatsmeow.
internal/store/lid_migration.go:12
↓ 6 callersFunctionNewsletterName
(meta *types.NewsletterMetadata)
internal/wa/newsletters.go:72
↓ 6 callersFunctionResolve
(src Source, input string, limit int)
internal/resolve/resolve.go:69
↓ 6 callersMethodResolveLIDToPN
(ctx context.Context, jid types.JID)
internal/app/app.go:37
↓ 6 callersMethodSearchContacts
(query string, limit int)
internal/resolve/resolve.go:35
↓ 6 callersMethodSendAppState
(ctx context.Context, patch appstate.PatchInfo)
internal/wa/appstate.go:13
↓ 6 callersMethodUpsertGroupWithHierarchy
(jid, name, ownerJID string, created time.Time, isParent bool, linkedParentJID string)
internal/store/groups.go:22
↓ 6 callersFunctionescapeAttr
(value)
scripts/docs-site-render.mjs:181
↓ 6 callersFunctionisolateAccountConfigHome
(t *testing.T)
cmd/wacli/root_test.go:153
↓ 6 callersFunctionkindRank
(k Kind)
internal/resolve/resolve.go:171
↓ 6 callersFunctionmustParseJID
(t *testing.T, s string)
cmd/wacli/messages_test.go:719
↓ 6 callersFunctionopenLiveProfileApp
(flags *rootFlags, needLock bool)
cmd/wacli/profile.go:297
↓ 6 callersFunctionreadRegularFileLimited
(path string, maxBytes int64)
cmd/wacli/read_file_limited.go:9
↓ 6 callersFunctionresolveMessageSenderNames
(ctx context.Context, a *app.App, msgs []store.Message)
cmd/wacli/messages_helpers.go:71
↓ 6 callersFunctionsqlString
(v any)
internal/store/types.go:198
↓ 6 callersFunctiontestWebPVP8X
(width, height uint32, animated bool, extra []byte)
cmd/wacli/send_sticker_test.go:136
↓ 6 callersFunctiontoggleTestCmd
()
cmd/wacli/groups_admin_test.go:103
↓ 6 callersFunctionvalidateBoolFilter
(name string, pos, neg bool)
cmd/wacli/chats_state.go:165
↓ 5 callersFunctionAcquireWithTimeout
(ctx context.Context, storeDir string, wait time.Duration)
internal/lock/lock.go:54
↓ 5 callersFunctionChmodFiles
ChmodFiles applies mode to a SQLite database and existing WAL/SHM sidecars.
internal/sqliteutil/files.go:11
↓ 5 callersMethodDeleteChat
(jid string)
internal/store/chats.go:169
↓ 5 callersFunctionEnsureWritableDir
(path string)
internal/fsutil/permissions.go:25
↓ 5 callersFunctionIsLocked
(err error)
internal/lock/lock.go:89
↓ 5 callersMethodLinkedJID
()
cmd/wacli/send_poll_cmd.go:27
↓ 5 callersMethodListChatsFiltered
(f ChatListFilter)
internal/store/chats.go:41
↓ 5 callersMethodListPolls
ListPolls returns polls ordered most-recent-first.
internal/store/polls.go:113
↓ 5 callersMethodListPrunableGroups
(days int, includeActive bool)
internal/store/groups.go:204
↓ 5 callersMethodMarkMediaDownloaded
(chatJID, msgID, localPath string, downloadedAt time.Time)
internal/store/media.go:34
↓ 5 callersMethodMarkMessageDeletedForMe
(chatJID, msgID, senderJID string, fromMe bool, deletedAt time.Time)
internal/store/messages.go:134
↓ 5 callersMethodMarkMessageRevoked
(chatJID, msgID string)
internal/store/messages.go:119
↓ 5 callersFunctionOpenReadOnly
(path string)
internal/store/db.go:27
↓ 5 callersMethodParseWebMessage
(chatJID types.JID, webMsg *waWeb.WebMessageInfo)
internal/app/app.go:85
↓ 5 callersMethodTruncate
(size int64)
internal/wa/media.go:364
↓ 5 callersFunctionaddChatStateFlags
(cmd *cobra.Command, opts *chatStateOptions)
cmd/wacli/chats_state.go:160
↓ 5 callersFunctionappendStringFilter
(query string, args []interface{}, column, value string, values []string)
internal/store/messages.go:262
↓ 5 callersFunctionassertNoAppSQLiteSidecars
(t *testing.T, path string)
internal/app/app_test.go:308
↓ 5 callersFunctionboolToInt
(b bool)
internal/store/types.go:161
↓ 5 callersFunctionbuildReplyContextInfo
(db *store.DB, chat types.JID, replyTo, replyToSender string)
cmd/wacli/send.go:435
↓ 5 callersFunctionbuildTextMessage
(db *store.DB, to types.JID, text, replyTo, replyToSender string, preview *linkpreview.Preview, mentionedJIDs
cmd/wacli/send.go:382
↓ 5 callersMethodemitEvent
(event string, data map[string]any)
internal/app/events.go:12
↓ 5 callersMethodhandleChatStateEvent
(ctx context.Context, evt interface{})
internal/app/chat_state.go:83
↓ 5 callersFunctioninline
(text, currentRel, rewriteHref)
scripts/docs-site-render.mjs:185
↓ 5 callersFunctionisLockContention
(err error)
internal/lock/lock_unix.go:19
↓ 5 callersFunctionlikeContains
(s string)
internal/store/search.go:53
↓ 5 callersFunctionmediaDownloadLength
(fileLength uint64)
internal/wa/media.go:391
↓ 5 callersFunctionmessageFrom
(m store.Message)
cmd/wacli/messages_format.go:149
↓ 5 callersFunctionnewGroupsPruneCmd
(flags *rootFlags)
cmd/wacli/groups_prune.go:16
↓ 5 callersFunctionnewSendTextCmd
(flags *rootFlags)
cmd/wacli/send.go:40
↓ 5 callersFunctionpollChatJIDCandidates
(ctx context.Context, a *app.App, jid types.JID)
cmd/wacli/poll_cmd.go:316
↓ 5 callersFunctionreactionTarget
(to, sender string)
cmd/wacli/send_react_cmd.go:112
↓ 5 callersFunctionrequireExtendedText
(t *testing.T, msg *waProto.Message)
cmd/wacli/send_test.go:71
← previousnext →101–200 of 1,829, ranked by callers