MCPcopy Create free account

hub / github.com/PerpetualSoftware/pad / functions

Functions28,840 in github.com/PerpetualSoftware/pad

↓ 1 callersFunctiongraphEdgeType
graphEdgeType maps a stored item_links.link_type to the hyphenated edge vocabulary the graph API advertises. Stored values are first canonicalized thr
internal/store/graph.go:28
↓ 1 callersFunctiongraphFixtureFlags
(f map[string]cmdhelp.Flag)
internal/mcp/catalog_readonly_test.go:1086
↓ 1 callersFunctiongraphPushDevice
(t *testing.T, f *graphHTTP, user *models.User)
internal/server/commitment_graph_notices_test.go:152
↓ 1 callersFunctiongridCover
(freq string, iv int, hs, ms []int, st [2]int)
internal/schedule/neverpartial_test.go:332
↓ 1 callersFunctiongridPick
(n int)
internal/schedule/neverpartial_test.go:316
↓ 1 callersFunctiongridStride
The grid sample takes every gridStride-th cell of reachabilityGrid. The stride is coprime to every axis length (2, 24, 5, 6, 4), so it cannot alias wi
internal/schedule/neverpartial_test.go:309
↓ 1 callersFunctiongrip
()
web/src/lib/components/layout/DockedSheet.svelte.test.ts:47
↓ 1 callersFunctiongroupCounts
()
web/src/routes/(console)/needs/needsPage.svelte.test.ts:97
↓ 1 callersFunctiongroupItems
()
web/src/routes/(console)/agenda/agenda.svelte.test.ts:47
↓ 1 callersFunctiongroupItems
( items: PublicItem[], groupField: string, optionOrder: string[] )
web/src/lib/components/share/shareView.ts:445
↓ 1 callersFunctiongroupOutboxDeliveries
groupOutboxDeliveries turns claimed rows into wire deliveries, folding each batch that has a header into one. THE FOLD RULE (SPEC-3 v1.6): header PLU
internal/server/outbox_drain.go:314
↓ 1 callersFunctiongroupTitles
The lane headings, in render order.
web/src/lib/components/collections/ListView.falsyGroup.svelte.test.ts:104
↓ 1 callersFunctiongroups
(screen: { container: HTMLElement })
web/src/lib/components/collections/ListView.relationGroup.svelte.test.ts:106
↓ 1 callersFunctiongrowBody
(page: import('@playwright/test').Page)
web/e2e/bug-2182-pane-back-scroll.spec.ts:245
↓ 1 callersFunctionguardAgainstOrphaning
guardAgainstOrphaning prepares cmd so the worker cannot outlive the supervising process. If the server dies mid-job (SIGKILL, the OOM killer, a crash)
internal/materialize/orphan.go:24
↓ 1 callersFunctionguardArtifactFrontmatter
guardArtifactFrontmatter extracts the leading "---\n...\n---" frontmatter region from the artifact bytes and walks it as a yaml.Node tree to enforce t
internal/server/artifact_import.go:161
↓ 1 callersFunctionguardLineWith
guardLineWith returns the single line of text starting with prefix.
internal/cli/agent_identity_test.go:453
↓ 1 callersFunctionguideLinks
(container: HTMLElement)
web/src/lib/components/workspaces/MoveToCloudLink.svelte.test.ts:12
↓ 1 callersFunctiongzipMember
gzipMember compresses b as one complete, valid gzip member.
internal/server/bug3657_gzip_footer_test.go:12
↓ 1 callersMethodhandleAcceptInvitation
handleAcceptInvitation accepts a workspace invitation by code.
internal/server/handlers_members.go:457
↓ 1 callersMethodhandleAcceptMyInvitation
handleAcceptMyInvitation answers POST /api/v1/me/invitations/{id}/accept: accepting an invitation from the list above, which cannot carry the join cod
internal/server/handlers_my_invitations.go:60
↓ 1 callersMethodhandleApplierPatch
( requestID: string, patchID: string, edits: { old: string; new: string; line_hint?: number }[], expir
web/src/lib/collab/wsProvider.svelte.ts:1392
↓ 1 callersMethodhandleApproveCLIAuthSession
handleApproveCLIAuthSession approves a pending CLI auth session. Called from the browser by an authenticated user. POST /api/v1/auth/cli/sessions/{cod
internal/server/handlers_cli_auth.go:129
↓ 1 callersMethodhandleAttachAttachment
handleAttachAttachment binds an UNATTACHED attachment to an item (TASK-2247). `pad attachment upload -` leaves item_id NULL, and share pages serve onl
internal/server/handlers_attachments_attach.go:36
↓ 1 callersMethodhandleAuditLog
handleAuditLog returns a filtered audit log. Admin-only. Supports filtering by action, user (user ID), workspace, days, and pagination.
internal/server/handlers_audit.go:12
↓ 1 callersMethodhandleControlMessage
(raw: string, sourceWs: WebSocket | null)
web/src/lib/collab/wsProvider.svelte.ts:1057
↓ 1 callersMethodhandleDeleteAccount
handleDeleteAccount handles POST /api/v1/auth/delete-account. Requires password confirmation. Deletes the user and all owned data.
internal/server/handlers_account.go:96
↓ 1 callersMethodhandleDeleteWorkspaceAttachment
handleDeleteWorkspaceAttachment soft-deletes an attachment by ID. Tombstones the row + every thumbnail variant; the orphan GC reclaims the on-disk blo
internal/server/handlers_storage.go:288
↓ 1 callersMethodhandleExportWorkspaceBundle
handleExportWorkspaceBundle streams a tar.gz containing the workspace JSON export plus every original (non-thumbnail) attachment blob and a manifest.
internal/server/handlers_export_bundle.go:92
↓ 1 callersMethodhandleFrame
handleFrame applies one inbound frame. Split out of receiveMessages so each arm ENDS the frame by returning: the arms that decline to act were `contin
internal/watchevents/redis_bus.go:1365
↓ 1 callersMethodhandleGetAttachment
handleGetAttachment streams an attachment back to the caller. Auth is enforced by the route's RequireWorkspaceAccess middleware; this handler then aut
internal/server/handlers_attachments.go:621
↓ 1 callersMethodhandleGetItem
handleGetItem retrieves a single item by slug.
internal/server/handlers_items.go:1278
↓ 1 callersMethodhandleGetPlatformSettings
handleGetPlatformSettings returns the admin-managed platform settings. Admin-only. Only allowlisted keys are returned (deny-by-default — see adminMana
internal/server/handlers_admin.go:55
↓ 1 callersMethodhandleGetWorkspaceStorageUsage
handleGetWorkspaceStorageUsage returns the consolidated quota summary for the workspace: used bytes, effective limit, the owner's plan, and whether a
internal/server/handlers_storage.go:116
↓ 1 callersMethodhandleImportURL
handleImportURL implements POST /api/v1/import/url. - Body: {"url": "https://..."} - Result: {"markdown", "detected_type", "title", "source_url", "
internal/server/handlers_import.go:67
↓ 1 callersMethodhandleImportWorkspaceBundle
handleImportWorkspaceBundle accepts a tar.gz bundle produced by the export endpoint and rebuilds the workspace including all attachment blobs. The ha
internal/server/handlers_import_bundle.go:230
↓ 1 callersMethodhandleListDeletedWorkspaces
handleListDeletedWorkspaces lists the soft-deleted workspaces the caller OWNS that are still restorable — i.e. not yet past the purge retention window
internal/server/handlers_workspaces.go:746
↓ 1 callersMethodhandleListWorkspaces
(w http.ResponseWriter, r *http.Request)
internal/server/handlers_workspaces.go:214
↓ 1 callersMethodhandleMCPOAuthAuth
handleMCPOAuthAuth runs introspection against the OAuth server for any non-PAT bearer. Validates: - Token is recognized (storage lookup) and active.
internal/server/middleware_mcp_auth.go:244
↓ 1 callersMethodhandleMCPPATAuth
handleMCPPATAuth runs the original TASK-950 PAT validation path. Extracted from MCPBearerAuth so the OAuth branch reads cleanly without a deeply-neste
internal/server/middleware_mcp_auth.go:120
↓ 1 callersMethodhandleMatchPlaybook
handleMatchPlaybook answers "does this text ask for one of the workspace's active playbooks" as a typed-decision Choice (PLAN-3114 unit 5, TASK-3120).
internal/server/handlers_playbooks.go:298
↓ 1 callersMethodhandleOAuthAuthorize
handleOAuthAuthorize is the entry point for the authorization-code flow. fosite validates the request shape; if the user is logged in we render the in
internal/server/handlers_oauth.go:765
↓ 1 callersMethodhandleReorderWorkspaces
(w http.ResponseWriter, r *http.Request)
internal/server/handlers_workspaces.go:298
↓ 1 callersMethodhandleRestoreWorkspace
handleRestoreWorkspace un-soft-deletes a workspace, resurfacing it (and everything transitively hidden underneath) intact. Owner-only, mirroring the D
internal/server/handlers_workspaces.go:803
↓ 1 callersMethodhandleSearch
(w http.ResponseWriter, r *http.Request)
internal/server/handlers_search.go:16
↓ 1 callersMethodhandleStaleAgenda
handleStaleAgenda lists the occurrences the bootstrap collapsed into "stale: K items": unresolved for more than 14 days, oldest first, for the caller
internal/server/bootstrap_agenda.go:220
↓ 1 callersMethodhandleTransformAttachment
handleTransformAttachment implements POST api/v1/workspaces/{slug}/attachments/{attachmentID}/transform. Phase 1 supports two operations: "rotate" (T
internal/server/handlers_attachments_transform.go:122
↓ 1 callersMethodhandleUpdateItemCommitment
(w http.ResponseWriter, r *http.Request)
internal/server/handlers_commitments.go:278
↓ 1 callersMethodhandleUpdatePlatformSettings
handleUpdatePlatformSettings updates one or more platform settings. Admin-only. Accepts a JSON object of key-value pairs.
internal/server/handlers_admin.go:108
↓ 1 callersMethodhandleUploadAttachment
handleUploadAttachment accepts a multipart upload and writes it into the attachments table + the configured AttachmentStore. Flow: 1. Auth: grant-awa
internal/server/handlers_attachments.go:185
↓ 1 callersMethodhandler
()
cmd/pad/task4035_catch_up_test.go:46
↓ 1 callersFunctionhandlers
()
web/src/lib/components/calendar/AgendaDayGroup.svelte.test.ts:12
↓ 1 callersFunctionhandlersMentioned
(reason string)
internal/mcp/dispatch_http_allowlist_guard_test.go:983
↓ 1 callersFunctionhandoffFocus
( container: HTMLElement, departing: Element | null = null, isVisible: (el: HTMLElement) => boolean = isFoc
web/src/lib/collections/paneFocus.ts:177
↓ 1 callersFunctionhardcodedLimit
hardcodedLimit returns the hardcoded fallback limit for a feature on a given plan.
internal/store/limits.go:457
↓ 1 callersFunctionharness
* Build a machine over a MUTABLE address, inside an `$effect.root` so its * `$effect` runs (and can be torn down). Returns the reactive address to mu
web/src/lib/attachments/surfaceMetadata.svelte.test.ts:50
↓ 1 callersFunctionharness
(refuse: boolean)
web/src/lib/collections/reorderPlan.test.ts:273
↓ 1 callersFunctionharness
()
web/src/lib/items/confirmedBase.test.ts:5
↓ 1 callersFunctionharness
(start: { local?: boolean; store?: boolean; owns?: boolean } = {})
web/src/lib/items/editorBurstDirty.test.ts:5
↓ 1 callersFunctionharness
()
web/src/lib/api/importUpload.test.ts:38
↓ 1 callersFunctionhasActiveStorageFilters
(sel: StorageFilterSelections)
web/src/lib/attachments/storageFilters.ts:41
↓ 1 callersFunctionhasActivityFilters
(f: ActivityFilters)
web/src/lib/activity/activityFilters.ts:78
↓ 1 callersFunctionhasChild
()
web/src/routes/layoutMessagesBranch.svelte.test.ts:83
↓ 1 callersFunctionhasContent
An event with nothing to say is dropped rather than drawn empty (defect 6).
web/src/lib/components/timeline/historyEvents.ts:231
↓ 1 callersFunctionhasDigit
hasDigit reports whether s contains an ASCII digit. Used at import to log a prefix that only became resolvable when parseItemRef widened (BUG-2943).
internal/store/export.go:2111
↓ 1 callersFunctionhasEntry
(agent *Agent, path string)
internal/mcp/install.go:576
↓ 1 callersFunctionhasFieldChanges
hasFieldChanges reports whether the input has any value that should trigger field-merging on update. Mirrors the CLI's check at cmd/pad/main.go itemUp
internal/mcp/dispatch_http_advanced.go:724
↓ 1 callersFunctionhasJSONNUL
hasJSONNUL also sees a NUL written as a JSON escape: a JSON column is refused on its decoded value, so the escaped form aborts the statement.
internal/store/schedule_carry_v2.go:143
↓ 1 callersFunctionhasKey
hasKey reports whether m declares key. A nil map has no keys, which is how a door with no overrides (bulk move) or no source item says so.
internal/store/relation_referents.go:1890
↓ 1 callersFunctionhasLiveAriaEscapeOwner
* Is there an ARIA-dialog Escape owner that is actually LIVE — i.e. not one the * viewer backdrop has put behind itself? With no lease every match co
web/src/lib/a11y/viewerBackdrop.ts:488
↓ 1 callersFunctionhasOurMarks
(parent: PMNode)
web/src/lib/components/editor/extensions/flankingMarks.ts:262
↓ 1 callersFunctionhasPending
hasPending reports whether any embedded migration has not yet been applied.
internal/store/migration_guard.go:38
↓ 1 callersFunctionhasReadyUploads
(view: EditorView)
web/src/lib/components/editor/attachment-upload.ts:293
↓ 1 callersMethodhasRepeatedWorkspaceItemNumbers
hasRepeatedWorkspaceItemNumbers reports whether two live or archived items in one workspace share an item_number: the shape of per-collection numberin
internal/store/store.go:1908
↓ 1 callersFunctionhasRow
(slug: string)
web/src/lib/stores/tabs.svelte.ts:120
↓ 1 callersFunctionhasSheet
Whether the mobile sheet layout is selected on this root (TASK-2492 / T5).
web/src/lib/components/common/Lightbox.svelte.test.ts:241
↓ 1 callersFunctionhasSidebar
()
web/src/routes/layoutMessagesBranch.svelte.test.ts:81
↓ 1 callersFunctionhasStructuredEntryPrefix
Why a UUID-SHAPED raw id is diverted. This reasoning is BUG-2783's, unchanged; it moved here from the timeline's looksLikeRowID with the rule itself (
internal/models/structured_entry_ids.go:76
↓ 1 callersFunctionhasTopBar
()
web/src/routes/layoutMessagesBranch.svelte.test.ts:82
↓ 1 callersFunctionhasValue
(m map[string]any, key string)
internal/server/handlers_playbooks.go:877
↓ 1 callersFunctionhas_local_dependencies
(go_mod, package)
scripts/ci-scope.py:61
↓ 1 callersFunctionhashShareToken
hashShareToken computes the SHA-256 hash of a raw share token for lookup.
internal/store/share_links.go:31
↓ 1 callersFunctionhashString
* djb2-ish 32-bit string hash. Stable, fast, and good enough for * spreading short user-ID strings across the hue circle. Returns a * non-negative 3
web/src/lib/collab/cursorColor.ts:30
↓ 1 callersFunctionhave
(ok, label)
plugin/hooks/register.js:623
↓ 1 callersFunctionhead
A HEAD response with the headers the helper reads.
web/src/lib/components/editor/attachment-metadata.test.ts:19
↓ 1 callersFunctionheaders
()
web/src/routes/(console)/agenda/agenda.svelte.test.ts:1428
↓ 1 callersFunctionheaders
(f: Fixture, agent?: string)
web/e2e/chat-shell-layout.spec.ts:15
↓ 1 callersFunctionheaders
(f: Fixture, agent?: string)
web/e2e/chat-phone-sheet.spec.ts:16
↓ 1 callersFunctionheading
()
web/src/routes/(console)/needs/needsPage.svelte.test.ts:419
↓ 1 callersFunctionheads
(rows: { head: boolean }[])
web/src/lib/chat/grouping.test.ts:34
↓ 1 callersFunctionhealthyServerConfig
BUG-2965. StopServer read the PID file and, on any read error, answered "server not running (no PID file)" — without asking whether anything was liste
internal/cli/server_stop_honesty_test.go:31
↓ 1 callersFunctionheight
(day: string)
web/src/lib/components/calendar/WeekSummary.svelte.test.ts:74
↓ 1 callersFunctionheld
(extra: Record<string, unknown> = {})
web/src/routes/(console)/needs/needsPage.svelte.test.ts:741
↓ 1 callersFunctionheld
(n: number | undefined)
web/src/lib/components/collections/schemaEditImpact.ts:53
↓ 1 callersFunctionheld
()
web/src/lib/items/crashDraft.svelte.test.ts:329
↓ 1 callersFunctionheldBy
(t *testing.T, rr *httptest.ResponseRecorder)
internal/server/task1809_lease_agent_default_test.go:52
↓ 1 callersFunctionheldByHeal
(pathname: string)
web/src/lib/stores/chatSurface.svelte.ts:136
↓ 1 callersFunctionheldCommittedSend
A send that commits at once and answers when `answer()` is called.
web/src/lib/stores/chatThread.svelte.test.ts:1505
↓ 1 callersFunctionheldDerive
heldDerive returns a derivation that, on its Nth call, signals it is inside the transaction and waits for release.
internal/store/task3397_provision_test.go:114
↓ 1 callersFunctionhidden
(el: Element | null)
web/src/lib/components/chat/Composer.svelte.test.ts:756
← previousnext →11,601–11,700 of 28,840, ranked by callers