MCPcopy Create free account

hub / github.com/PerpetualSoftware/pad / functions

Functions28,840 in github.com/PerpetualSoftware/pad

↓ 1 callersMethodGetAppWebhookStatus
GetAppWebhookStatus reports an install's hook for the owner; nil when the install has none.
internal/store/app_webhooks.go:181
↓ 1 callersMethodGetAttachment
GetAttachment is an app's view of one attachment, under the read rule.
internal/appstore/attachments.go:365
↓ 1 callersMethodGetAuditLog
--- Audit Log --- GetAuditLog fetches the global audit log (admin-only).
internal/cli/client.go:2341
↓ 1 callersMethodGetCatchUp
GetCatchUp reads the caller's catch-up digest (TASK-4035). It is a plain GET: the endpoint never writes, and marking caught up (PUT /me/seen) has no c
internal/cli/client.go:1689
↓ 1 callersMethodGetCollectionAnyStateTx
GetCollectionAnyStateTx is GetCollectionAnyState through an OPEN TRANSACTION. Exported for the open-children guard, which runs inside the item-update
internal/store/collections.go:323
↓ 1 callersMethodGetCustomTemplate
(id string)
internal/store/templates.go:36
↓ 1 callersMethodGetImportStatus
GetImportStatus asks what became of the caller's import attempt with key.
internal/cli/client_import.go:98
↓ 1 callersMethodGetInstallAPIState
GetInstallAPIState reads an install's workspace, state, service access and bot, or nil when there is no such install.
internal/store/app_ceiling.go:166
↓ 1 callersMethodGetInstallConsentState
GetInstallConsentState reads an install's consent state, or nil when there is no such install.
internal/store/install_clients.go:649
↓ 1 callersMethodGetItemBuiltin
GetItemBuiltin reads an item's state relative to Pad's current text.
internal/cli/client.go:1476
↓ 1 callersMethodGetItemCollectionRefs
GetItemCollectionRefs returns minimal item info (ID + CollectionID) for the given item IDs, scoped to the workspace. State-agnostic: the query has no
internal/store/items.go:7149
↓ 1 callersMethodGetItemContext
--- Item context (PLAN-3598) --- GetItemContext fetches the item's brief (GET /items/{ref}/context) as the server's JSON, verbatim. intent, role and b
internal/cli/client.go:1116
↓ 1 callersMethodGetItemLinkByID
GetItemLinkByID returns a single item link by its ID, or nil if not found.
internal/store/items.go:4457
↓ 1 callersMethodGetItemVersionResolved
GetItemVersionResolved returns a single version with its diff resolved to full content. Reverse-patch versions can only be reconstructed by walking th
internal/store/items.go:6793
↓ 1 callersMethodGetLibraryEntry
GetLibraryEntry fetches one library entry by exact title match. Conventions- first precedence — a title that resolves to a convention is returned as o
internal/cli/client.go:1822
↓ 1 callersMethodGetPKCERequestSession
GetPKCERequestSession hydrates the PKCE session. Returns fosite.ErrNotFound when missing (e.g. someone replayed an old auth code that's already been d
internal/oauth/storage.go:481
↓ 1 callersMethodGetReport
GetReport returns the windowed project report JSON (PLAN-1628 / TASK-1630). window is one of day|week|2wk|month (empty = server default "week"); colle
internal/cli/client.go:1533
↓ 1 callersMethodGetRoleBoardItems
GetRoleBoardItems returns non-terminal items across all collections, grouped by role.
internal/store/agent_roles.go:300
↓ 1 callersMethodGetStaleAgenda
GetStaleAgenda returns the occurrences unresolved for more than 14 days, oldest first (TASK-4237). from (an RFC3339 instant) and tz are optional.
internal/cli/client_schedule.go:93
↓ 1 callersMethodGetUserContext
GetUserContext is GetUser under ctx: a cancelled context stops the query.
internal/store/users.go:168
↓ 1 callersMethodGetUserMemberWorkspaces
GetUserMemberWorkspaces returns only workspaces where the user has a workspace_members row — NO guest-grant fallback. Mirrors the first half of GetUse
internal/store/workspace_members.go:746
↓ 1 callersMethodGetUserWorkspaces
GetUserWorkspaces returns all workspaces a user has access to, sorted by the user's custom sort order (then name as tiebreaker).
internal/store/workspace_members.go:784
↓ 1 callersMethodGetVersion
(id string)
internal/store/versions.go:216
↓ 1 callersMethodGetWebhookScoped
GetWebhookScoped retrieves a single webhook by ID, but only if it belongs to the given workspace. The workspace_id predicate is applied in SQL BEFORE
internal/store/webhooks.go:117
↓ 1 callersMethodGetWorkspacesByIDs
GetWorkspacesByIDs loads live workspaces by id with their owner's username, in one query per chunk. Unknown and soft-deleted ids are skipped.
internal/store/needs_read.go:54
↓ 1 callersMethodGetWorkspacesBySlugForUser
GetWorkspacesBySlugForUser finds workspaces matching a slug that are accessible to the given user (owned, member, or guest with grants).
internal/store/workspaces.go:329
↓ 1 callersMethodGroupConcat
GroupConcat returns SQL for string aggregation with a separator. SQLite: GROUP_CONCAT(DISTINCT expr) PostgreSQL: STRING_AGG(DISTINCT expr, ',')
internal/store/dialect.go:78
↓ 1 callersMethodGroupConcat
(expr string, distinct bool)
internal/store/dialect.go:203
↓ 1 callersMethodGroupConcat
(expr string, distinct bool)
internal/store/dialect.go:296
↓ 1 callersMethodGuestVisibleCollectionIDs
GuestVisibleCollectionIDs returns the collection IDs a guest (non-member with grants) can see. Includes collections with direct collection_grants and
internal/store/grants.go:511
↓ 1 callersMethodGuestVisibleResourcesIncludeDeleted
GuestVisibleResourcesIncludeDeleted is the delta-sync variant of GuestVisibleResources: it does NOT filter out soft-deleted items or collections. /ite
internal/store/grants.go:586
↓ 1 callersMethodGuestWorkspaceIDs
GuestWorkspaceIDs lists the live workspaces where userID holds a collection or item grant but is NOT a member: the guest workspaces. A member's grants
internal/store/needs_read.go:25
↓ 1 callersFunctionHTTPStatus
HTTPStatus is the HTTP status a request error carries, or 0 when the request got no answer at all (the server was unreachable) or the error did not co
internal/cli/client.go:3555
↓ 1 callersMethodHasActiveConnectionForUser
HasActiveConnectionForUser reports whether the user has ANY active OAuth connection at all, regardless of which workspaces it covers. The claim-code
internal/store/oauth_connections.go:794
↓ 1 callersMethodHasV3ScheduleMembers
HasV3ScheduleMembers reports whether the bundle carries time links, a member of version 3. Like the version 2 check it sees an explicit null or empty
internal/models/export_version.go:78
↓ 1 callersMethodHasV4ScheduleMembers
HasV4ScheduleMembers sees gates and item tombstones, including explicit null and empty JSON members and bundles built directly by Go callers.
internal/models/export_version.go:84
↓ 1 callersMethodHeader
()
internal/server/mcp_stream_keepalive.go:71
↓ 1 callersMethodHeartbeatPublishFailed
HeartbeatPublishFailed is unlabelled for the same cardinality reason as its neighbours.
internal/metrics/events_observer.go:69
↓ 1 callersMethodHeartbeatPublishFailed
HeartbeatPublishFailed is unlabelled for the same cardinality reason as its neighbours.
internal/metrics/watchevents_observer.go:58
↓ 1 callersMethodHijack
Hijack satisfies http.Hijacker, which gorilla/websocket type-asserts for rather than going through http.ResponseController. A WebSocket route that is
internal/server/middleware_write_deadline.go:261
↓ 1 callersMethodHijack
()
internal/server/bug3821_write_deadline_test.go:431
↓ 1 callersFunctionI
(d)
docs/brand/social/render.mjs:56
↓ 1 callersMethodILike
()
internal/store/dialect.go:313
↓ 1 callersMethodInit2FASecret
Init2FASecret loads the 2FA challenge signing key from platform_settings. If no key exists (first run), a new random key is generated and persisted. T
internal/server/server.go:918
↓ 1 callersMethodInitEmailFromSettings
InitEmailFromSettings loads email config from platform settings on startup, merging with any env-var-based sender that was already attached.
internal/server/server.go:1681
↓ 1 callersMethodInstallCompanionCollectionIDsQ
InstallCompanionCollectionIDsQ returns the install's companion collections: the live collections in its workspace stamped via_app = the install.
internal/store/app_ceiling.go:77
↓ 1 callersMethodInstallForLiveCode
InstallForLiveCode reads, unlocked, which install a code names, for the redeem route's per-install limiter, and only for a code that could still redee
internal/store/app_provision.go:571
↓ 1 callersFunctionInstallForTool
InstallForTool writes the skill content to the appropriate location for a tool.
internal/cli/agents.go:229
↓ 1 callersMethodInstallOrigin
InstallOrigin returns an install's origin.
internal/store/app_lifecycle.go:495
↓ 1 callersMethodInvalidateAuthorizeCodeSession
InvalidateAuthorizeCodeSession marks a code's row inactive. Called by fosite once /token successfully exchanges the code; subsequent reads return ErrI
internal/oauth/storage.go:266
↓ 1 callersFunctionIsAbandonedStatusDefault
IsAbandonedStatusDefault is IsTerminalStatusDefault over the abandoned subset, for callers with no collection context.
internal/models/terminal.go:204
↓ 1 callersFunctionIsCommentDeleted
IsCommentDeleted reports whether err is the tombstone refusal.
internal/cli/client.go:2668
↓ 1 callersFunctionIsCommentHasReplies
IsCommentHasReplies reports whether err is BUG-3252's refusal.
internal/cli/client.go:2614
↓ 1 callersFunctionIsDatabaseBusy
IsDatabaseBusy reports whether err is, or wraps, the database_busy 503.
internal/cli/client.go:3489
↓ 1 callersFunctionIsJSONDocument
IsJSONDocument reports whether a string is a complete JSON OBJECT OR ARRAY - the shape a downstream consumer treats as a nested document. Objects and
internal/textguard/textguard.go:64
↓ 1 callersMethodIsKnownCallName
IsKnownCallName reports whether name may be a metrics label value: a tool registered on this server, or a JSON-RPC protocol method. Anything else is c
internal/mcp/metrics_names.go:62
↓ 1 callersFunctionIsLeaseHeld
IsLeaseHeld reports whether err is the lease refusal.
internal/cli/client.go:2632
↓ 1 callersFunctionIsLineageItemLinkType
(linkType string)
internal/models/item_links.go:41
↓ 1 callersFunctionIsRateLimited
IsRateLimited reports whether err is, or wraps, the server's 429 refusal.
internal/cli/client.go:3359
↓ 1 callersFunctionIsReferentialItemField
IsReferentialItemField reports whether a reserved key's value depends on the workspace context around it. See referentialItemFieldKeys.
internal/models/item.go:350
↓ 1 callersFunctionIsReservedCollectionSlug
isReservedCollectionSlug checks whether a slug would collide with a workspace-level UI route. IsReservedCollectionSlug reports whether a slug collides
internal/store/collections.go:1484
↓ 1 callersMethodIsShared
IsShared reports whether this state is a process-global instance serving multiple users. Callers use it to avoid persisting or trusting a session defa
internal/mcp/workspace.go:88
↓ 1 callersFunctionIsTerminalStatus
IsTerminalStatus checks whether a status string is terminal given a schema. Like the status extract above, this is hardcoded to the `status` field — i
internal/models/terminal.go:362
↓ 1 callersFunctionIsTooLarge
IsTooLarge reports whether err is, or wraps, a server 413. Keyed on the STATUS, not the code, because three producers refuse with three codes.
internal/cli/client.go:3376
↓ 1 callersFunctionIsValidFieldKey
IsValidFieldKey reports whether key is a field name the store will filter on; a list filter key that is not one is refused (BUG-3480) rather than drop
internal/store/store.go:1565
↓ 1 callersMethodIsWorkspaceCoveredForUser
IsWorkspaceCoveredForUser reports whether the given workspace is already covered by any of the user's active OAuth connections — either by the connect
internal/store/oauth_connections.go:736
↓ 1 callersFunctionIssuesForCallerInput
IssuesForCallerInput drops the issues whose key was NOT present before validation ran — i.e. the ones raised against a schema DEFAULT that `ValidateFi
internal/store/relation_referents.go:1837
↓ 1 callersMethodItemBodies
ItemBodies loads the body and content_state of the given items, keyed by id (BUG-3790: a door that windows a body-less list fills in only its page).
internal/store/item_stars.go:263
↓ 1 callersMethodItemReadDecisions
ItemReadDecisions is Decisions without the staged keys (TASK-3921): what the item read, the CLI --agent projection and MCP item get carry. The raw Dec
internal/decision/runner.go:807
↓ 1 callersMethodItemsAppReadMeta
ItemsAppReadMeta returns each item's via_app (the last install that wrote it) and its creator's display name, in one query.
internal/store/app_ceiling.go:189
↓ 1 callersMethodItemsCreatedViaAppQ
ItemsCreatedViaAppQ is ItemsCreatedViaApp on a caller-supplied executor (BUG-3659).
internal/store/app_attribution.go:84
↓ 1 callersMethodJSONArrayElements
JSONArrayElements returns a FROM-clause table-function fragment that unnests a JSON text-array column into one row per element, plus the expression yi
internal/store/dialect.go:152
↓ 1 callersMethodJSONExtractPath
JSONExtractPath returns SQL to extract a value at a dotted path from a JSON column. SQLite: json_extract(col, '$.path.to.key') PostgreSQL: col #>> '{p
internal/store/dialect.go:39
↓ 1 callersMethodJSONFieldEqualsParts
(column, key, arg string)
internal/store/dialect_fieldvalue.go:95
↓ 1 callersMethodJSONFieldEqualsParts
(column, key, arg string)
internal/store/dialect_fieldvalue.go:136
↓ 1 callersMethodJSONFieldEqualsParts
JSONFieldEqualsParts is JSONFieldEquals in two halves: the STRING branch, which leads with the bare extract compared to the argument so an expression
internal/store/dialect.go:51
↓ 1 callersMethodJSONFieldText
(column, key string)
internal/store/dialect_fieldvalue.go:81
↓ 1 callersMethodJSONFieldText
---------- PostgreSQL ----------
internal/store/dialect_fieldvalue.go:124
↓ 1 callersMethodJSONRemove
(column, key string)
internal/store/dialect.go:284
↓ 1 callersMethodJSONSet
JSONSet returns SQL to set a value at a path in a JSON column. SQLite: json_set(col, '$.key', ?) PostgreSQL: jsonb_set(col::jsonb, '{key}', ?::jsonb)
internal/store/dialect.go:58
↓ 1 callersFunctionKNOWN
(count: number)
web/src/lib/push/dispatch.test.ts:12
↓ 1 callersFunctionKeepOpKey
KeepOpKey returns to wrapped in the OpKeyError from's chain carries, so a command that replaces a refusal with its own error still names the key.
internal/cli/client.go:3249
↓ 1 callersFunctionKeyOf
KeyOf is the row's age key.
internal/needs/cursor.go:43
↓ 1 callersMethodLatestYjsUpdateSchemaVersion
LatestYjsUpdateSchemaVersion + SetAsideAndClearOpLog power the schema-mismatch rebuild (TASK-1268). The room manager checks the most recent op-log row
internal/collab/room.go:325
↓ 1 callersMethodLen
()
internal/schedule/internal/rrule/rrule.go:901
↓ 1 callersMethodLess
(i, j int)
internal/schedule/internal/rrule/util.go:24
↓ 1 callersFunctionLibraryOptionVocabulary
LibraryOptionVocabulary returns, per select field key, the values the library writes into a collection of the given artifact kind when one of its entr
internal/collections/library_vocabulary.go:23
↓ 1 callersMethodLimitConnectionToCurrentWorkspaces
LimitConnectionToCurrentWorkspaces turns a wildcard connection into a specific list of the workspaces the user is a member of right now (BUG-3338). It
internal/store/oauth_connections.go:328
↓ 1 callersMethodListAPITokens
ListAPITokens returns all API tokens for a workspace (without secrets).
internal/store/api_tokens.go:216
↓ 1 callersMethodListActivity
--- Activity ---
internal/cli/client.go:1626
↓ 1 callersMethodListAppWebhookTargets
ListAppWebhookTargets returns the workspace's deliverable-looking app hooks subscribed to event (any event when it is ""): install active, secret deli
internal/store/app_delivery.go:63
↓ 1 callersMethodListArchivedCollections
ListArchivedCollections returns the workspace's archived collections (TASK-2189).
internal/cli/client.go:325
↓ 1 callersMethodListAttachments
ListAttachments returns a page of attachments in the workspace, applying any filters set on params. Empty fields are omitted from the query string so
internal/cli/client.go:3106
↓ 1 callersMethodListBillingUsers
ListBillingUsers pages through human users with a stored Stripe customer id or a stripe-sourced plan, ordered by id: the users after afterID, at most
internal/store/billing_users.go:20
↓ 1 callersMethodListCollabSetAside
ListCollabSetAside reads the item's set-aside edits as raw updates.
internal/cli/client.go:680
↓ 1 callersMethodListCollectionGrants
ListCollectionGrants returns all grants on a collection.
internal/store/grants.go:62
↓ 1 callersMethodListCommitmentGates
ListCommitmentGates returns the item's gate state and readable blockers.
internal/cli/client_schedule.go:143
↓ 1 callersMethodListCommitmentLinks
ListCommitmentLinks returns the readable links of an item.
internal/cli/client_schedule.go:106
↓ 1 callersMethodListCompletedForAgenda
ListCompletedForAgenda returns one entry per item, at its latest positive terminal transition in [from, to). Current item visibility is applied before
internal/store/agenda_item_events.go:51
↓ 1 callersMethodListCreatedForAgenda
ListCreatedForAgenda reads live, non-system items created in [from, to). Scope is applied before the time/id ordering and SQL row limit.
internal/store/agenda_item_events.go:30
← previousnext →9,201–9,300 of 28,840, ranked by callers