MCPcopy Create free account

hub / github.com/PerpetualSoftware/pad / functions

Functions31,685 in github.com/PerpetualSoftware/pad

↓ 2 callersMethodEnqueueRenegotiationRefusedNotification
EnqueueRenegotiationRefusedNotification tells the current assignee about a refused attempt on an item with a live native deadline, once per item, acti
internal/store/notifications.go:157
↓ 2 callersMethodEnsureAppItemActions
EnsureAppItemActions writes the action rows an already-installed manifest declares (the backfill). Under the install row lock it re-checks the state,
internal/store/app_item_actions.go:518
↓ 2 callersMethodEnsureAppWebhooks
EnsureAppWebhooks backfills the hook of every active or inactive install provisioned before U10 whose manifest declares one. Each is created HELD: the
internal/server/app_webhooks.go:135
↓ 2 callersMethodError
()
internal/store/schedules.go:77
↓ 2 callersMethodError
()
internal/store/attachments_remap.go:78
↓ 2 callersMethodError
()
internal/server/start_write.go:16
↓ 2 callersMethodError
()
internal/server/handlers_apps_install.go:168
↓ 2 callersMethodError
()
internal/models/repeated_member.go:27
↓ 2 callersMethodError
()
cmd/pad/cmd_attachment.go:210
↓ 2 callersMethodEvaluateCommitmentGates
EvaluateCommitmentGates advances a deterministic cursor across pending gates. Pending gates keep their place behind the cursor until the next complete
internal/store/commitment_gates.go:891
↓ 2 callersFunctionEvaluateGates
EvaluateGates requires every blocker to succeed; unknown outcomes remain pending.
internal/schedule/links.go:496
↓ 2 callersMethodExDate
ExDate include the given datetime instance in the recurrence set exclusion list. Dates included that way will not be generated, even if some inclusive
internal/schedule/internal/rrule/rruleset.go:97
↓ 2 callersMethodExpand
Expand pairs equal keys, applying per-occurrence offsets and reporting unmatched keys.
internal/schedule/links.go:418
↓ 2 callersFunctionF
()
web/e2e/permission-walk-move.spec.ts:80
↓ 2 callersMethodFetchBytes
FetchBytes runs the same pad subprocess as Fetch but preserves stdout as bytes for binary MCP resources. It caps how much output it retains so a missi
internal/mcp/resources.go:79
↓ 2 callersFunctionFindAndCompileSchema
FindAndCompileSchema locates and compiles the cmdhelp v0.1 JSON Schema by walking up from `startDir` until it finds a directory containing `schema/cmd
internal/cmdhelp/schema.go:24
↓ 2 callersFunctionFindByInvocationField
FindByInvocationField returns the collections that route by invocation slug — those declaring the invocation_field trait, in the supplied order.
internal/collections/traits.go:68
↓ 2 callersFunctionFindGateCycle
FindGateCycle returns a closed cycle, or nil, using iterative traversal.
internal/schedule/links.go:531
↓ 2 callersFunctionFingerprint
Fingerprint formats the first 16 bytes of SHA-256 of the raw public key.
internal/serveridentity/identity.go:28
↓ 2 callersFunctionFoldBulkHeader
FoldBulkHeader returns the wire payload for a folded batch: the stored header enriched with the member snapshots the drain claimed alongside it. The
internal/store/event_outbox.go:2425
↓ 2 callersFunctionFormatAttachmentSize
FormatAttachmentSize returns a human-readable byte count ("832 B", "1.2 MB", "5 GB"). Negative sizes return "" — that's a corrupt-row signal, not some
internal/server/render/attachments.go:184
↓ 2 callersMethodGetAgentBootstrap
--- Bootstrap --- GetAgentBootstrap returns the consolidated bootstrap blob — workspace + user + collections + always-on conventions + roles + playboo
internal/cli/client.go:1633
↓ 2 callersMethodGetAppTokenState
GetAppTokenState reads a token family's binding with its install and client, or nil when the family has no binding.
internal/store/install_clients.go:605
↓ 2 callersMethodGetAuthorizeCodeSession
GetAuthorizeCodeSession hydrates the session for an auth code. The caller supplies an empty fosite.Session (typically &Session{}); we JSON-unmarshal t
internal/oauth/storage.go:241
↓ 2 callersMethodGetBillingConfig
(ctx context.Context)
internal/billing/offer.go:125
↓ 2 callersMethodGetBlocksEdgesQ
GetBlocksEdgesQ is GetBlocksEdges parameterized over its executor (see Queryer).
internal/store/items.go:6138
↓ 2 callersMethodGetChildItemsTx
GetChildItemsTx is the in-transaction variant of GetChildItems. The underlying query is the same as GetChildItems; using a *sql.Tx ties the read to th
internal/store/items.go:5677
↓ 2 callersMethodGetCloudOwnership
GetCloudOwnership reads the ownership marker and the Stripe fingerprint.
internal/store/instance_mode.go:73
↓ 2 callersMethodGetCommitmentForReaders
GetCommitmentForReaders keeps milestone trash visibility separate from live graph lineage visibility.
internal/store/commitment.go:163
↓ 2 callersMethodGetConventionLibrary
GetConventionLibrary fetches the convention library from the server. category — when non-empty, server-side filter against LibraryCategory.Name (case
internal/cli/client.go:1816
↓ 2 callersMethodGetInstallUpgradeStateQ
GetInstallUpgradeStateQ reads an install of workspaceID on q.
internal/store/app_upgrade.go:39
↓ 2 callersMethodGetItemBySlugIncludeDeleted
GetItemBySlugIncludeDeleted finds an item by slug including soft-deleted items. Used for restore operations where the item is archived.
internal/store/items.go:1230
↓ 2 callersMethodGetItemCollectionIDContext
GetItemCollectionIDContext is GetItemCollectionID bound to ctx.
internal/store/items.go:6173
↓ 2 callersMethodGetItemVersionDiffSnapshot
GetItemVersionDiffSnapshot is GetItemVersionDiff over one read snapshot (BUG-3814): the newest version's After is the body the walk started from.
internal/store/items.go:6928
↓ 2 callersMethodGetItemVersionResolvedSnapshot
GetItemVersionResolvedSnapshot is GetItemVersionResolved over one read snapshot (BUG-3814). Returns nil if not found.
internal/store/items.go:6913
↓ 2 callersMethodGetPendingInvitationForEmail
GetPendingInvitationForEmail returns the pending invitation id if, and only if, it is addressed to email and its workspace is live. Anything else (unk
internal/store/my_invitations.go:108
↓ 2 callersMethodGetPlaybookLibrary
GetPlaybookLibrary fetches the playbook library from the server. category — when non-empty, server-side filter against PlaybookCategory.Name (case-se
internal/cli/client.go:1869
↓ 2 callersMethodGetRefreshTokenSession
GetRefreshTokenSession hydrates a refresh token. Inactive rows surface as fosite.ErrInactiveToken — fosite's refresh-flow handler (handler/oauth2/flow
internal/oauth/storage.go:359
↓ 2 callersMethodGetRoleBoardItems
GetRoleBoardItems returns non-terminal items across all collections, grouped by role.
internal/store/agent_roles.go:359
↓ 2 callersMethodGetRoleQueue
GetRoleQueue fetches a role lane's Now items, canonical Queue prefix, park state, and capabilities. limit <= 0 uses the server default.
internal/cli/client.go:1979
↓ 2 callersMethodGetVersionResolvedSnapshot
GetVersionResolvedSnapshot is GetVersionResolved over one read snapshot (BUG-3833). Returns nil if not found.
internal/store/versions.go:176
↓ 2 callersMethodGetWorkspacesByIDsQ
(q Queryer, ids []string)
internal/store/needs_read.go:58
↓ 2 callersMethodGrantOwner
GrantOwner names the client a presented authorization code or refresh token was issued to, active or not, or "" when it names nothing. It reads the ro
internal/oauth/server.go:278
↓ 2 callersMethodGuestVisibleCollectionIDsQ
GuestVisibleCollectionIDsQ is GuestVisibleCollectionIDs parameterized over its executor (see Queryer).
internal/store/grants.go:517
↓ 2 callersMethodGuestVisibleResourcesIncludeDeletedQ
GuestVisibleResourcesIncludeDeletedQ is GuestVisibleResourcesIncludeDeleted parameterized over its executor (see Queryer).
internal/store/grants.go:592
↓ 2 callersMethodGuestWorkspaceIDsQ
(q Queryer, userID string)
internal/store/needs_read.go:29
↓ 2 callersMethodHandle
(ctx context.Context, rec slog.Record)
internal/server/bug3474_reval_fail_closed_test.go:28
↓ 2 callersFunctionHasPadEntry
HasPadEntry returns whether mcpServers.pad is present, plus the current `command` value (empty string when missing). Missing files are reported as not
internal/mcp/install.go:296
↓ 2 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:41
↓ 2 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:47
↓ 2 callersMethodHealth
Health checks if the server is running.
internal/cli/client.go:214
↓ 2 callersMethodHeartbeatPublishFailed
HeartbeatPublishFailed reports that this instance could not CONFIRM a liveness heartbeat publish (BUG-2769). Not the same as "did not publish": the ca
internal/watchevents/observer.go:143
↓ 2 callersMethodHold
Hold and Release are Mark without the closure, for a caller that may not call through a function value (the app store's boundary test refuses one). Ev
internal/attachments/inflight.go:34
↓ 2 callersMethodIDs
IDs lists the real (non-placeholder) criterion ids, in body order, once each.
internal/verification/verification.go:86
↓ 2 callersMethodImportWorkspaceSlugClaims
ImportWorkspaceSlugClaims restores claims after workspace IDs have been mapped.
internal/store/workspaces.go:672
↓ 2 callersMethodInstallEpoch
InstallEpoch returns the install's current epoch.
internal/store/install_clients.go:133
↓ 2 callersMethodInstallReadCeilingQ
InstallReadCeilingQ is the install's read ceiling: its companion collections and the workspace's system collections.
internal/store/app_ceiling.go:87
↓ 2 callersMethodInviterCanStillGrant
InviterCanStillGrant reports whether an accept of this invitation would pass the inviter check above, read now and unlocked, so a door that offers an
internal/store/workspace_members.go:282
↓ 2 callersMethodInvocationSlugIndexTakenQ
InvocationSlugIndexTakenQ is InvocationSlugIndexTaken on a caller-supplied executor.
internal/store/app_pending.go:353
↓ 2 callersFunctionIsAPITokenFromContext
IsAPITokenFromContext reports whether the request was authenticated via an API token (vs. a session cookie or CLI session token). Mirrors the package-
internal/server/context.go:82
↓ 2 callersFunctionIsActiveStatus
IsActiveStatus returns true if the status indicates work actively in progress. It excludes both initial/queued states and terminal/completed states.
internal/models/terminal.go:128
↓ 2 callersFunctionIsAttachmentHref
IsAttachmentHref reports whether href is a `pad-attachment:UUID` reference.
internal/server/render/attachments.go:62
↓ 2 callersFunctionIsCalendarBuiltinDateField
IsCalendarBuiltinDateField reports whether key is `created` or `completed`.
internal/models/view_calendar.go:47
↓ 2 callersFunctionIsCanonical
IsCanonical reports whether name is in the events/1 set. The choke point calls this before writing an outbox row. A name that fails here is a program
internal/kernelevents/taxonomy.go:354
↓ 2 callersMethodIsCloud
IsCloud reports whether the server is running in cloud mode.
internal/server/server.go:1104
↓ 2 callersMethodIsCloud
IsCloud reports whether the configured connection mode is Cloud (i.e. cfg.Mode == ModeCloud). This is a CLIENT-side signal: the CLI is configured to t
internal/config/config.go:997
↓ 2 callersMethodIsEmailOptedOut
IsEmailOptedOut returns true if the given email address has unsubscribed.
internal/store/email_optouts.go:6
↓ 2 callersFunctionIsEmptyRelationList
normalizeEmptyRelationLists rewrites an EMPTY `multi_relation` array into whichever spelling of "no targets" the caller's write shape already has (PLA
internal/items/validate.go:262
↓ 2 callersFunctionIsError
IsError reports whether err is a manifest validation failure.
internal/appmanifest/manifest.go:137
↓ 2 callersFunctionIsImageMime
IsImageMime reports whether the MIME type is LABELLED as an image. Mirrors `image/*` from the server-side allowlist (image/png, image/jpeg, image/gif,
internal/server/render/attachments.go:92
↓ 2 callersFunctionIsInputError
IsInputError reports whether err is a refusal of the request itself.
internal/appstore/items.go:313
↓ 2 callersFunctionIsItemSlugConflict
IsItemSlugConflict reports whether err is the items (workspace_id, slug) unique violation, and no other: an app create retries only that one, with a f
internal/store/fenced_items.go:536
↓ 2 callersFunctionIsPatchRefusal
IsPatchRefusal reports a patch refusal the server answered.
internal/cli/client.go:1466
↓ 2 callersFunctionIsResolveError
IsResolveError reports whether err is, or wraps, a ResolveError.
internal/webhooks/validate.go:29
↓ 2 callersFunctionIsStartWhenField
IsStartWhenField reports whether a declared field is the start condition select: key start_when, type select, offering needs_onboarding. A workspace f
internal/collections/templates.go:589
↓ 2 callersFunctionIsTZMismatchKey
IsTZMismatchKey reports whether key is a well-formed tz-mismatch pair key.
internal/models/ui_dismissals.go:30
↓ 2 callersMethodIsUserAppGrant
IsUserAppGrant reports whether requestID is a delegated app grant the user holds (active or not).
internal/store/app_grants.go:87
↓ 2 callersFunctionIsValidDocType
(t string)
internal/models/document.go:194
↓ 2 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:1628
↓ 2 callersFunctionIsValidStatus
(s string)
internal/models/document.go:203
↓ 2 callersMethodIsZero
IsZero reports whether the collection declares no kernel traits at all.
internal/models/collection_traits.go:128
↓ 2 callersFunctionItemCloseState
ItemCloseState classifies an item's fields against its collection.
internal/models/close_state.go:21
↓ 2 callersMethodItemGatesDropped
ItemGatesDropped is what a cross-workspace copy or move of itemID would leave out: how many gates hold it whose blocker the mover can read (nil: none)
internal/store/commitment_gates.go:960
↓ 2 callersMethodItemHasPendingContent
ItemHasPendingContent reports whether the item's op-log holds content-bearing rows above its flush watermark: content_state's applied_pending_flush pr
internal/store/materialize_flush.go:140
↓ 2 callersMethodItemIDsInCollectionsQ
ItemIDsInCollectionsQ keeps the item IDs whose item sits in one of collectionIDs, in input order (BUG-3424: an app request's item grants are narrowed
internal/store/app_ceiling.go:246
↓ 2 callersMethodItemLiveness
ItemLiveness reports whether an item may be sent to a decision provider, in two parts because the runner treats them differently: - itemLive: the ite
internal/store/decisions.go:717
↓ 2 callersMethodItemReadDecisions
ItemReadDecisions is Decisions without the Unsurfaced keys (TASK-3921, TASK-4643): what the item read, the CLI --agent projection and MCP item get car
internal/decision/runner.go:789
↓ 2 callersFunctionItemStartMode
ItemStartMode is an item's session-start designation: its fields.start when that is a non-empty string, else "".
internal/store/start_slot.go:11
↓ 2 callersMethodItemView
ItemView reads the response view of a companion item in this transaction.
internal/store/fenced_items.go:147
↓ 2 callersMethodItemsWithFieldValueQ
ItemsWithFieldValueQ returns up to limit live items of collectionID in workspaceID whose field key equals value, with ListItems' own Fields-filter pre
internal/store/app_pending.go:374
↓ 2 callersMethodJSONExtractText
(column, key string)
internal/store/dialect.go:290
↓ 2 callersMethodJSONFieldOrder
(column, key, dir string)
internal/store/dialect.go:52
↓ 2 callersMethodLatestItemDecisions
LatestItemDecisions returns the newest answer per (question_set, question_key) for an item, ordered by set then key. Current is left false; only the c
internal/store/decisions.go:635
↓ 2 callersMethodLess
Less reports whether a sorts before b. Both keys come from one sort.
internal/needs/cursor.go:84
↓ 2 callersFunctionLibraryConventionMetadata
LibraryConventionMetadata is the typed convention metadata a library convention carries.
internal/collections/templates.go:323
↓ 2 callersMethodLifespans
Lifespans returns the lifetimes this server issues tokens with.
internal/oauth/server.go:107
↓ 2 callersMethodListBlobs
(ctx context.Context)
internal/attachments/store.go:93
↓ 2 callersMethodListBlobs
ListBlobs enumerates every blob under the store's sharded tree, satisfying the optional Lister capability (BUG-2406 — the rowless-blob GC sweep). One
internal/attachments/fs_store.go:257
↓ 2 callersMethodListCalendarFeeds
(ctx context.Context, userID string)
internal/store/calendar_feeds.go:92
↓ 2 callersMethodListChatConversations
--- Global chat --- Keep the wire responses intact so --format json includes refs and future additive fields. The commands decode only the fields they
internal/cli/client.go:4078
← previousnext →6,701–6,800 of 31,685, ranked by callers