MCPcopy Create free account

hub / github.com/PerpetualSoftware/pad / functions

Functions28,840 in github.com/PerpetualSoftware/pad

↓ 2 callersMethodnotificationSettingsUser
notificationSettingsUser admits the caller for the account-level settings routes: any authenticated person, a PAT included. An app principal is refuse
internal/server/handlers_push_devices.go:207
↓ 2 callersFunctionnotifyAttachmentParentRestored
(workspaceSlug: string, itemId: string)
web/src/lib/attachments/events.ts:114
↓ 2 callersFunctionnotifyIdentityChange
()
web/src/lib/stores/auth.svelte.ts:128
↓ 2 callersFunctionnotifyNetworkUnreachable
()
web/src/lib/api/client.ts:676
↓ 2 callersFunctionnotifyUnconfirmed
(userId: string, n: number, opKey: string)
web/src/lib/chat/composerRegistry.ts:64
↓ 2 callersFunctionnulRepairExitError
nulRepairExitError turns a repair report into the command's exit status. A failure counts. An earlier version printed failures and then returned nil,
cmd/pad/cmd_db_nul.go:376
↓ 2 callersFunctionnulTriggerFileFor
nulTriggerFileFor names the trigger file a column's triggers are rendered into.
internal/store/nulcolumns.go:492
↓ 2 callersFunctionnullIntPtr
nullIntPtr turns a nullable integer column into *int: nil for NULL, which the version line counts use for "unknown" (PLAN-2348 U2).
internal/store/items.go:7341
↓ 2 callersFunctionnullLists
BUG-3417: every list in a JSON response the apps feature added is a list, never null. The contract (and the TS types) say arrays, and a Go nil slice s
internal/server/bug3417_null_lists_test.go:31
↓ 2 callersFunctionnumericSecret
numericSecret reports a number or bool under a credential name: slog.Int("otp", 482913), {"password": 123456}, Secret bool. Two exceptions keep diagno
internal/logging/scrub.go:566
↓ 2 callersMethodoauthAvailableWith
oauthAvailableWith is oauthAvailable for a setting value already read.
internal/server/handlers_admin_mcp.go:84
↓ 2 callersMethodoauthLiveness
oauthLiveness re-introspects an MCP OAuth access token (BUG-3837). One fosite introspection answers all three ways the credential can end: a revoked t
internal/server/stream_credential_liveness.go:210
↓ 2 callersFunctionoauthScopesToJSON
oauthScopesToJSON serializes fosite's granted-scope slice to the JSON array form tokenScopeAllows expects. Crucial fail-closed: nil / empty granted s
internal/server/middleware_mcp_auth.go:550
↓ 2 callersMethodoauthSweepCutoffs
oauthSweepCutoffs derives the per-table cutoffs from the running OAuth server's lifespans, or the package defaults when OAuth is not constructed (an i
internal/server/oauth_sweep.go:76
↓ 2 callersMethodoauthUser
(t *testing.T, email string)
cmd/pad/cmd_auth_2fa_test.go:74
↓ 2 callersMethodobjectProperties
(n: Node, s: boolean, keyOf: (prop: string) => string)
web/src/test/identityFenceAst.ts:1093
↓ 2 callersMethodobserve
(target: Element)
web/src/lib/components/common/Lightbox.svelte.test.ts:1635
↓ 2 callersMethodobserve
()
web/src/test/setup-jsdom.ts:137
↓ 2 callersMethodobserveRevocation
observeRevocation looks up the oldest active-token issuance time for the family and fires the configured observer. Always called AFTER the family has
internal/oauth/storage.go:93
↓ 2 callersFunctionoccTokenFor
(row: Pick<Item, 'seq' | 'updated_at'>)
web/src/lib/items/occToken.ts:33
↓ 2 callersMethodoccurrenceNoLongerNeeded
occurrenceNoLongerNeeded reports whether some link marked this occurrence of the child schedule No longer needed.
internal/store/commitment_cancel.go:142
↓ 2 callersFunctionofferKeptDraft
( userId: string, itemId: string, storedBody: string, keeperOwns: (markdown: string) => boolean, now = Da
web/src/lib/items/refusedRawDraft.ts:284
↓ 2 callersFunctionok
(resp: Awaited<ReturnType<APIRequestContext['get']>>, what: string)
web/e2e/task-3615-catch-up-card.spec.ts:23
↓ 2 callersFunctionokResults
(w http.ResponseWriter, results string)
internal/notify/gateway_test.go:34
↓ 2 callersFunctionomittedRefs
(os []itemContextOmitted)
internal/server/plan3598_item_context_test.go:250
↓ 2 callersFunctiononClosed
* Chat is closed and the page underneath is current. With heals queued, the * parked continuation and the heals run first (a heal reads the live stat
web/src/lib/stores/chatSurface.svelte.ts:215
↓ 2 callersMethodonRoomIdle
onRoomIdle is T3: the collab room for itemID was reclaimed. Runs on the grace timer's goroutine; one indexed read, then a non-blocking enqueue.
internal/server/materialize_recovery.go:264
↓ 2 callersFunctiononWorkspaceWrite
(listener: WorkspaceWriteListener)
web/src/lib/api/workspaceWrites.ts:19
↓ 2 callersMethodonce
(s: boolean)
web/src/test/identityFenceAst.ts:1247
↓ 2 callersFunctiononeShot
oneShot is a single occurrence on the 28th 09:00 UTC (30 minute lead).
internal/store/schedule_copy_test.go:1030
↓ 2 callersFunctionopKeyFrom
opKeyFrom is the agent's op_key, if any (TASK-3585).
internal/mcp/dispatch_http_project.go:699
↓ 2 callersMethodopLogRows
(t *testing.T)
internal/server/bug3244_schema_rebuild_set_aside_test.go:105
↓ 2 callersFunctionopen
()
web/e2e/attachment-viewer-parity.spec.ts:244
↓ 2 callersFunctionopen
(page: Page, key: AccountKey, path: string)
web/e2e/permission-walk-workspace.spec.ts:110
↓ 2 callersMethodopen
()
internal/server/stream_gap_announcer.go:100
↓ 2 callersMethodopen
()
web/src/lib/components/chat/ChatThreadView.svelte.test.ts:26
↓ 2 callersMethodopenAs
(t *testing.T, scheme, bearer string, listen bool)
internal/server/bug3837_mcp_credential_tick_test.go:106
↓ 2 callersFunctionopenAt
(path: string, state: Record<string, unknown> = { chatDepth: 1 })
web/src/lib/components/chat/ChatHost.phone.svelte.test.ts:118
↓ 2 callersMethodopenDeadlineCandidates
openDeadlineCandidates drops the candidates whose item is in a terminal status, judged by each workspace's own terminal options as the agenda does. A
internal/store/schedule_deadline_eval.go:204
↓ 2 callersFunctionopenDiagnosticDB
(dsn string, postgres bool)
internal/store/version_tie_diagnostic.go:479
↓ 2 callersFunctionopenEdit
()
web/src/routes/(console)/settings/account/task3867EditTokenAccess.svelte.test.ts:53
↓ 2 callersFunctionopenItem
($, ref)
plugin/hooks/register.js:412
↓ 2 callersFunctionopenNULToolsStore
openNULToolsStore opens the resolved database. Opening applies any pending schema migrations, which is why the caller does its refusing first.
cmd/pad/cmd_db_nul.go:257
↓ 2 callersFunctionopenNativeModals
Every `showModal()` dialog currently open, or `[]` where `:modal` is unsupported.
web/src/lib/a11y/viewerBackdrop.ts:280
↓ 2 callersFunctionopenPostgresDB
openPostgresDB opens and configures a PostgreSQL connection pool.
internal/store/store.go:590
↓ 2 callersFunctionopenPostgresDBBounded
openPostgresDBBounded is openPostgresDB with the runtime limits carried as DSN startup parameters, so EVERY connection the pool ever opens (including
internal/store/store.go:599
↓ 2 callersMethodopenRecorded
openRecorded is openAs, and also returns the response recorder. Read its body only after done is closed.
internal/server/bug3837_mcp_credential_tick_test.go:114
↓ 2 callersFunctionopenRestoreSQLiteCopy
(t *testing.T, path string)
cmd/pad/cmd_db_restore_test.go:143
↓ 2 callersFunctionopenWorkspace
(page: Page, key: AccountKey)
web/e2e/permission-walk-sidebar.spec.ts:41
↓ 2 callersMethodoptions
(loc *time.Location, dtstart time.Time, count int)
internal/schedule/engine.go:147
↓ 2 callersFunctionorDefault
(d, def time.Duration)
internal/collab/room.go:174
↓ 2 callersMethodorphanGCGraceConfigured
orphanGCGraceConfigured returns the effective grace period — operator-configured when set, the default otherwise. Read under the config mutex; used by
internal/server/orphan_gc.go:533
↓ 2 callersFunctionoutboxBulkPayload
outboxBulkPayload returns the single item.bulk_updated payload in the outbox, failing unless there is exactly one.
internal/store/event_outbox_test.go:662
↓ 2 callersMethodoutboxEventsClaimedBy
(token string)
internal/store/event_outbox.go:2284
↓ 2 callersFunctionoutboxRowIDs
(t *testing.T, s *Store)
internal/store/event_outbox_test.go:1558
↓ 2 callersMethodoutboxScrubBytes
outboxScrubBytes deliberately reads the CLAIM budget: maxOutboxScrubBytes is defined as maxOutboxClaimBytes, so giving the scrub a second seam would l
internal/store/event_outbox.go:358
↓ 2 callersMethodoutboxScrubRows
()
internal/store/event_outbox.go:365
↓ 2 callersFunctionoutcomeServerRef
withRef selects which success-line branch runs: a REF ("Updated DOC-3 …"), the common case, or the slug fallback. Both carry the outcome; a test that
cmd/pad/item_update_outcome_test.go:32
↓ 2 callersMethodoutstandingAgendaRows
outstandingAgendaRows reads each outstanding occurrence at its effective due instant. A move defers the claim; a snooze only defers its next notificat
internal/store/schedule_bootstrap.go:199
↓ 2 callersFunctionoutstandingInstant
outstandingInstant is the one reading of the outstanding occurrence's instant, shared by the reminder reads (fillOccurrenceAt) and the schedule view s
internal/store/schedule_outstanding.go:26
↓ 2 callersFunctionoutstandingMatches
( entry: Pick<AgendaEntry, 'wall' | 'occurrence_key'>, view: { ended_at?: string | null; next_occurrence?: {
web/src/lib/calendar/presentation.ts:126
↓ 2 callersFunctionoverdueReason
overdueReason renders the human-facing explanation attached to an overdue report ("due date was 2026-08-01"). Shared so the dashboard's attention entr
internal/server/overdue.go:72
↓ 2 callersMethodowedDecisionJobTx
owedDecisionJobTx is the per-(item, set) body of enqueueDecisionJobsTx, shared with OweDecisionJobs so the backfill and the write doors cannot drift:
internal/store/decisions.go:191
↓ 2 callersFunctionownValue
(map: Readonly<Record<string, V>>, key: string | null | undefined)
web/src/lib/utils/ownValue.ts:15
↓ 2 callersFunctionownWorkspace
* A workspace of this spec's own. Every leg writes only here, never into the * suite's shared workspace: docs created there reflow the shared docs bo
web/e2e/task-3552-diagram-graph-render.spec.ts:31
↓ 2 callersFunctionownerCard
The owner-only "New Collection" card in the Collections grid.
web/src/routes/workspaceDashboardOwnerDenial.svelte.test.ts:125
↓ 2 callersFunctionownerRequest
ownerRequest is a request carrying the owner, as the confirm handler's does after the auth middleware: relation defaults resolve against what the call
internal/server/handlers_apps_provision_test.go:678
↓ 2 callersMethodownsStore
Whether this pane may touch the singleton (an active, not peeking, side).
web/src/lib/items/editorBurstDirty.ts:16
↓ 2 callersFunctionpad
(n: number)
web/src/lib/commitment.ts:269
↓ 2 callersFunctionpadItemDef
padItemDef returns the live pad_item ToolDef from the package catalog.
internal/mcp/catalog_item_fields_test.go:43
↓ 2 callersFunctionpage
(results: unknown[])
web/src/lib/components/items/ItemPicker.svelte.test.ts:131
↓ 2 callersFunctionpage
(updated: Item[], more: string | null, serverTime = 100)
web/src/lib/api/changesWalk.test.ts:13
↓ 2 callersFunctionpageOf
(messages: ReturnType<typeof message>[], over: Record<string, unknown> = {})
web/src/routes/messages/messagesRoutes.svelte.test.ts:155
↓ 2 callersFunctionpaint
(page: Page, selector = CANVAS)
web/e2e/attachment-pdf-preview.spec.ts:215
↓ 2 callersFunctionpairWithChild
pairWithChild builds a parent (one-off, 03-05 09:00 UTC) and a child created by mk, linked a day before the parent, and returns the fixture with the c
internal/store/commitment_cascade_past_test.go:79
↓ 2 callersFunctionpaneMoreBtn
(page: Page)
web/e2e/copy-dialog.spec.ts:38
↓ 2 callersFunctionpanel
()
web/src/lib/components/layout/DockedSheet.svelte.test.ts:41
↓ 2 callersFunctionpanel
()
web/src/lib/components/items/itemDetailAddDate.svelte.test.ts:126
↓ 2 callersFunctionpanels
()
web/src/lib/components/items/itemDetailAddDate.svelte.test.ts:123
↓ 2 callersFunctionpanicAfterMintKeepsOwned
(t *testing.T, driver store.DriverType)
internal/server/handlers_import_bundle_bug3191_test.go:31
↓ 2 callersFunctionpanicAfterMintOwnerFailureRemoves
(t *testing.T, driver store.DriverType)
internal/server/handlers_import_bundle_bug3191_test.go:65
↓ 2 callersFunctionparamDefToToolOption
paramDefToToolOption maps a ParamDef to the matching mcp-go helper. Unknown Type strings fall through to WithString — same defensive default the cmdhe
internal/mcp/catalog.go:459
↓ 2 callersFunctionparentChainCycles
parentChainCycles walks the `parent` edges up from startID and reports whether the chain revisits a node (a cycle) within a bounded number of hops. Th
internal/store/parent_link_concurrency_test.go:185
↓ 2 callersFunctionparentsOf
(src: AstSource)
web/src/test/identityFenceGate.ts:182
↓ 2 callersFunctionparse
(c: string)
web/e2e/task-2262-focus-and-contrast.spec.ts:39
↓ 2 callersFunctionparse
(c: string)
web/e2e/bug-3420-selected-tab-contrast.spec.ts:21
↓ 2 callersFunctionparseArgumentLine
(line: string)
web/src/lib/playbooks/arguments.ts:287
↓ 2 callersFunctionparseAttachmentHref
(href: string | null | undefined)
web/src/lib/markdown/attachments.ts:86
↓ 2 callersFunctionparseBody
parseBody decodes the inside of a `[[...]]`. Returns nil if the body doesn't match any of the five recognized forms. Mirrors the editor's body-parsing
internal/links/extract.go:529
↓ 2 callersFunctionparseDaysParam
This file implements the browser/REST surface for the "project intelligence" reads (PLAN-1888 / TASK-1894): next, standup, changelog. KEEP IN SYNC —
internal/server/handlers_project_intel.go:49
↓ 2 callersFunctionparseDraftKey
(key: string)
web/src/lib/collections/laneDrafts.ts:82
↓ 2 callersFunctionparseDurationEnv
humanBytes formats a byte count with the smallest IEC unit that keeps the value under 1024 — matches the convention used across the web UI's storage b
cmd/pad/cmd_server.go:1376
↓ 2 callersFunctionparseErrorBody
parseErrorBody decodes an error response whose body has already been read. Split out of parseError so callers that need the raw bytes for their own pu
internal/cli/client.go:3524
↓ 2 callersFunctionparseExp
parseExp expands the expected-instant DSL. Tokens are space separated: YYYYMMDD 09:00 local on that date YYYYMMDDTHHMM that local
internal/schedule/conformance_test.go:40
↓ 2 callersFunctionparseFieldArray
parseFieldArray normalizes an existing `field` param into a []string plus a key→value index. Entries the CLI would reject anyway (no '=') are passed t
internal/mcp/catalog_item_fields.go:933
↓ 2 callersFunctionparseFieldChange
parseFieldChange extracts the from/to value for a given field out of a single activities.metadata `changes` string. The string is built by handlers_do
internal/store/status_transitions_backfill.go:39
↓ 2 callersFunctionparseFieldChanges
(changesStr: string | undefined | null)
web/src/lib/utils/activityChanges.ts:107
↓ 2 callersMethodparseFromString
(s: string, type: string)
web/src/lib/collab/materializer/domShim.ts:21
↓ 2 callersFunctionparseGoSum
parseGoSum returns the (module, version) pairs whose module content go.sum pins (the `/go.mod`-only lines name versions whose code is never used).
cmd/depages/main.go:203
↓ 2 callersFunctionparseHTML
()
web/src/lib/components/editor/attachment-chip.ts:162
← previousnext →7,901–8,000 of 28,840, ranked by callers