MCPcopy Create free account

hub / github.com/PerpetualSoftware/pad / functions

Functions28,840 in github.com/PerpetualSoftware/pad

↓ 3 callersFunctionprocStatFields
procStatFields reads /proc/<pid>/stat and returns the space-separated fields AFTER the comm field — the one parser both the start-token and the ancest
internal/cli/proc_start_linux.go:61
↓ 3 callersFunctionpromptAndBootstrap
promptAndBootstrap collects admin credentials from the terminal and creates the first admin account via /auth/bootstrap, retrying the password pair on
cmd/pad/cmd_auth.go:676
↓ 3 callersFunctionprotectedResourceMetadataURL
protectedResourceMetadataURL is where RFC 9728 §3.1 puts the metadata for resource: the well-known segment inserted between the host and the resource'
internal/server/handlers_well_known.go:243
↓ 3 callersFunctionprovePreServer
(cmd *exec.Cmd, probeHost string, port int, d time.Duration, cleanup func(func()))
internal/buildtools/install_refresh_test.go:360
↓ 3 callersFunctionproviderListHas
(list []string, v string)
internal/store/oauth_identities.go:57
↓ 3 callersFunctionpsRSS
psRSS reads a process's resident set size with `ps -o rss= -p <pid>`, the macOS watchdog's fallback when proc_info is unavailable. Built on Linux too
internal/materialize/memcap_ps.go:15
↓ 3 callersMethodpublishItemVerified
publishItemVerified rides the existing item_updated SSE event rather than a new type: every client already subscribes to it, and a new type would be d
internal/server/handlers_verifications.go:405
↓ 3 callersMethodpublishLostIfUnreachable
publishLostIfUnreachable publishes "lost" for a user after a per-user loss write (member removal, grant revoke) when nothing is left that reaches the
internal/server/workspace_access_notify.go:107
↓ 3 callersMethodpublishReactionEvent
publishReactionEvent publishes a real-time event for reaction changes.
internal/server/handlers_comments.go:629
↓ 3 callersMethodpublished
()
internal/server/task3585_push_key_test.go:32
↓ 3 callersMethodpushAvailable
pushAvailable reports whether this server can send pushes.
internal/server/handlers_push_devices.go:46
↓ 3 callersMethodqueueBehindMove
queueBehindMove runs fn once it is waiting on the move's lock, then commits the move.
internal/store/commitment_links_pg_test.go:336
↓ 3 callersFunctionrandomBracketContent
randomBracketContent builds a short body mixing prose, matching brackets, non-matching brackets, unclosed brackets and multibyte runes.
internal/links/rewrite_brackets_diff_test.go:455
↓ 3 callersFunctionrawItems
(userId: string | null, ws: string)
web/src/test/idbHarness.ts:153
↓ 3 callersMethodread
(p []byte)
internal/server/handlers_import_bundle.go:120
↓ 3 callersFunctionreadAll
readAll drives the scanner to its end, reporting whether it accepted the input as exactly one well-formed value.
internal/jsonscan/jsonscan_test.go:13
↓ 3 callersFunctionreadBarrierAck
(t *testing.T, c *websocket.Conn)
internal/collab/barrier_bug3523_test.go:23
↓ 3 callersFunctionreadBoundedBytes
(response: Response, max: number)
web/src/lib/attachments/boundedBytes.ts:50
↓ 3 callersFunctionreadPadTomlMap
TASK-3612: WriteWorkspaceLink updates an existing .pad.toml instead of replacing it, so a relink keeps agent_name, the [push] consent table and any ke
internal/cli/workspace_link_write_test.go:15
↓ 3 callersFunctionreadRegistryBytes
readRegistryBytes opens a registry entry WITHOUT following symlinks or blocking on a FIFO (where the platform allows), re-checks that what it opened i
internal/cli/session_registry.go:392
↓ 3 callersFunctionreadResponses
(t *testing.T, b []byte)
internal/materialize/worker_test.go:32
↓ 3 callersFunctionreadScheduleParams
(input map[string]any)
internal/mcp/dispatch_http_schedule.go:45
↓ 3 callersMethodreadSeqResult
readSeqResult reads the reply both id-assigning scripts return: the id as the key holds it, then a repair report (BUG-2744). A repair is logged and co
internal/events/redis_bus.go:1525
↓ 3 callersFunctionreadSessionRecord
readSessionRecord reads one file and judges it. Only a missing file is an error; unreadable or unparseable content is a Malformed record.
internal/cli/session_registry.go:354
↓ 3 callersFunctionreadSkill
(t *testing.T, project string)
cmd/pad/bug3466_skill_overwrite_test.go:45
↓ 3 callersFunctionreadStructuredEntryBody
()
cmd/pad/notes.go:272
↓ 3 callersFunctionreadUserColumns
(t *testing.T, srv *Server, query, id string)
internal/server/bug3372_attribution_test.go:96
↓ 3 callersFunctionreadVarUint
readVarUint decodes a lib0 variable-length unsigned integer at data[pos:], returning the value and the position after it. ok is false on truncation or
internal/store/yjs_content_bearing.go:56
↓ 3 callersFunctionreadyThread
(rows = 3)
web/src/lib/stores/chatThread.svelte.test.ts:699
↓ 3 callersFunctionreceive
(msg: Relay)
web/src/lib/services/accessStream.svelte.ts:130
↓ 3 callersFunctionreceiveN
(t *testing.T, ch chan Event, n int)
internal/events/bug2744_seq_guard_test.go:37
↓ 3 callersMethodrecentDebounceCandidateQ
(q rowsQueryer, a models.Activity, cutoff, incomingAgent string)
internal/store/activities.go:415
↓ 3 callersMethodreconcileRestoreCommit
reconcileRestoreCommit re-reads an item after a version-restore commit reported an error, to determine whether the restore's transaction DURABLY lande
internal/server/handlers_item_versions.go:569
↓ 3 callersFunctionreconcileTargetItems
(client *cli.Client, ws string, args []string)
cmd/pad/reconcile.go:143
↓ 3 callersMethodreconfigureEmail
reconfigureEmail reads email settings from the platform_settings table and updates (or creates) the email sender. Called after admin settings change.
internal/server/server.go:1644
↓ 3 callersFunctionreconnectDelayMs
(attempt: number, retryAfterMs: number | null, rand: () => number = Math.random)
web/src/lib/services/sseReconnect.ts:28
↓ 3 callersMethodrecordDeathLocked
recordDeathLocked bumps the death streak and sets the next spawn time. A child that lived HealthyStretch resets the streak first. Holds s.mu.
internal/materialize/supervisor.go:989
↓ 3 callersFunctionrecordInstallation
recordInstallation stores a skill install in the global registry (~/.pad/installations.json).
cmd/pad/cmd_agent.go:324
↓ 3 callersMethodrecordMCPPreAuthDenied
recordMCPPreAuthDenied counts a pre-auth /mcp refusal. The reason label is a closed set, so a caller-supplied code can never mint a series.
internal/server/middleware_ratelimit.go:1109
↓ 3 callersFunctionrecoverCase
recoverCase inserts the case's op-log over a stale body and runs one recovery pass through the production path (index builder included).
internal/server/materialize_recovery_links_test.go:87
↓ 3 callersFunctionrecurringCloseHTTP
(t *testing.T)
internal/server/handlers_items_schedule_active_test.go:13
↓ 3 callersFunctionredisSubscriberCount
(b *RedisBus)
internal/watchevents/subscribe_refused_test.go:35
↓ 3 callersFunctionrefWindow
refWindow is the oracle's answer: every occurrence in [q, q+w), settled, or for w == 0 the first one strictly after q (NextAfter's contract).
internal/schedule/oracle_test.go:74
↓ 3 callersFunctionrefreshIcon
()
web/src/lib/components/editor/attachment-chip.ts:279
↓ 3 callersFunctionrefusals
(table: GateTable, code: string, opts: GateOptions = {})
web/src/test/identityFenceGate.ts:589
↓ 3 callersFunctionrefuseReferencesInFields
(fields map[string]any)
internal/appstore/items.go:293
↓ 3 callersFunctionrefusedByMovedOut
(state: WorkspaceState, row: ItemIndexRow | Item)
web/src/lib/stores/localIndex.svelte.ts:623
↓ 3 callersMethodregSeqInsertExpr
regSeqInsertExpr is the value an INSERT writes: the same as the UPDATE's on SQLite; on Postgres the column default is nextval, so an explicit call is
internal/store/push_devices.go:164
↓ 3 callersFunctionregSeqOf
(t *testing.T, s *Store, userID, token string)
internal/store/task4031_push_reg_seq_test.go:10
↓ 3 callersFunctionregisterAttachmentParentRestoredListener
( fn: (event: AttachmentParentRestoredEvent) => void )
web/src/lib/attachments/events.ts:106
↓ 3 callersFunctionregisterAttachmentSurfaceListener
( fn: (event: AttachmentSurfaceOpenEvent) => void )
web/src/lib/attachments/events.ts:420
↓ 3 callersFunctionregistrationWellFormed
registrationWellFormed rejects files that parse as JSON but are not something this code wrote: `{}` would otherwise read as a dead legacy record (owne
internal/cli/session_registry.go:426
↓ 3 callersFunctionrelationChipFor
(value: string, resolve: ResolveRow)
web/src/lib/collections/relationGroups.ts:77
↓ 3 callersFunctionrelationDefaultList
relationDefaultList reads a `multi_relation` value as a list of strings, and is STRICT about the elements. Reports (nil, false) for anything that is
internal/store/relation_referents.go:1603
↓ 3 callersFunctionrelationValuesOf
(type: string | undefined | null, value: unknown)
web/src/lib/items/relationFieldTypes.ts:79
↓ 3 callersFunctionrelease
()
web/src/lib/components/editor/attachmentChipPanel.svelte.test.ts:385
↓ 3 callersFunctionreleaseB
()
web/src/lib/stores/workspaceMembershipKnown.svelte.test.ts:145
↓ 3 callersFunctionremindCmd
`pad remind` (alias `pad item remind`) and friends — the CLI half of IDEA-2641 / GitHub #1010. The verbs mirror the lifecycle rather than inventing a
cmd/pad/cmd_reminder.go:25
↓ 3 callersFunctionremove
(id: string)
web/src/mcp-app/boardModel.ts:70
↓ 3 callersFunctionremoveGhost
()
web/src/lib/components/editor/block-drag-handle.ts:693
↓ 3 callersFunctionremovePadEntryTOML
removePadEntryTOML deletes mcp_servers.pad while leaving other servers and top-level keys intact. Returns (true, nil) when an entry was removed, (fals
internal/mcp/install.go:455
↓ 3 callersFunctionremovePending
(userId: string, n: number, opKey: string)
web/src/lib/chat/chatRecords.ts:78
↓ 3 callersFunctionrename
(value: string)
web/src/lib/components/collections/task2191EditDraftGuard.svelte.test.ts:77
↓ 3 callersFunctionrender
(component: unknown, props: P)
web/src/lib/items/staleBodyRenders.svelte.test.ts:39
↓ 3 callersFunctionrenderChatMarkdown
( body: string, refs: readonly ChatRef[], ctxWorkspace: string | undefined )
web/src/lib/chat/markdown.ts:88
↓ 3 callersFunctionrenderCommitmentGate
(w io.Writer, g models.ScheduleGate, state string)
cmd/pad/cmd_schedule_link.go:368
↓ 3 callersFunctionrenderDepsMarkdown
renderDepsMarkdown is the markdown counterpart of `pad item deps`. The terminal form is two coloured sections rather than a table, so markdown keeps t
cmd/pad/cmd_item.go:3774
↓ 3 callersFunctionrenderItemCopyPreflight
renderItemCopyPreflight writes the human-readable dry run. EVERY bucket header and EVERY warning line is printed unconditionally, including the empty
cmd/pad/cmd_item.go:2478
↓ 3 callersFunctionrenderNULTriggerMigration
renderNULTriggerMigration is the single definition of one trigger file's text: its header, then the triggers of every column assigned to it. It lives
internal/store/nulcolumns.go:1106
↓ 3 callersFunctionrenderPreview
()
web/src/lib/components/editor/extensions/htmlBlock.ts:314
↓ 3 callersFunctionrenderUnsubPage
renderUnsubPage writes the unsubscribe status page with a strict CSP. The CSP denies scripts, inline event handlers, iframes, and remote resources out
internal/server/handlers_unsubscribe.go:122
↓ 3 callersFunctionrenderedNULTriggers
renderedNULTriggers returns the exact CREATE statement each trigger in the named trigger files should have, keyed by name. It parses the SAME rendere
internal/store/nulcolumns.go:1022
↓ 3 callersMethodreopenDependencyQ
(q Queryer, sc *models.ItemSchedule)
internal/store/schedule_reopen.go:153
↓ 3 callersMethodreopenImageQ
(q Queryer, sc *models.ItemSchedule, u *resolutionUndo, lock bool)
internal/store/schedule_reopen.go:232
↓ 3 callersFunctionreorderedList
( ordered: Item[], itemId: string, dir: ReorderDirection )
web/src/lib/collections/reorder.ts:30
↓ 3 callersFunctionreplaceDBName
replaceDBName swaps the database name in a postgres:// URL. e.g. "postgres://pad:pad@localhost:5432/pad?sslmode=disable" becomes "postgres://pad:pad@l
internal/store/store_test.go:350
↓ 3 callersMethodreportReset
(reason string)
internal/events/observer.go:316
↓ 3 callersMethodreportSnapshotAsOf
reportSnapshotAsOf reconstructs the status-distribution and WIP snapshot as they stood at time t, from the status-transition history (PLAN-1628 / TASK
internal/store/reports.go:457
↓ 3 callersMethodrequireCallerCanSetCollectionAccess
requireCallerCanSetCollectionAccess denies a restricted caller (their own collection_access is "specific") from using this endpoint to escalate beyond
internal/server/handlers_members.go:897
↓ 3 callersMethodrequireCommitmentWrite
requireCommitmentWrite answers a refused commitment write with the same bytes as the middleware token-scope gate and requireEditPermission.
internal/server/handlers_commitments.go:76
↓ 3 callersMethodrequireCreatedHere
(itemID string)
internal/store/fenced_items.go:199
↓ 3 callersFunctionrequireRealPostgres
requireRealPostgres fails the test unless s.db is talking to PostgreSQL.
internal/store/runtime_pool_test.go:54
↓ 3 callersFunctionresetEpoch
()
web/src/test/identityEpochMock.svelte.ts:50
↓ 3 callersFunctionresetFake
()
web/src/test/mocks/indexedPageStores.svelte.ts:32
↓ 3 callersMethodresetFloatingForItem
resetFloatingForItem resets the item's armed floating managed row, after its assignee changed.
internal/store/schedule_fire.go:351
↓ 3 callersMethodresetFloors
Discard the connection's floors, retaining delivery, retraction ownership, and time-based backoff for the same identity.
cmd/pad/cmd_watch_chat.go:334
↓ 3 callersFunctionresetMissing
()
web/src/lib/components/editor/attachment-image.ts:528
↓ 3 callersFunctionresetRelativeDataDirWarning
resetRelativeDataDirWarning lets each test see the once-per-process warning afresh, with the default (stderr) sink.
internal/config/bug4066_reset_test.go:5
↓ 3 callersFunctionresolve
()
web/src/lib/components/fields/FieldEditor.typedDebounce.svelte.test.ts:357
↓ 3 callersFunctionresolve
(id: string)
web/src/lib/utils/quickActionCategorical.test.ts:44
↓ 3 callersMethodresolve
The occurrence wall is the seed-equivalent; target displacement is not subtracted from the deadline displacement.
internal/store/schedule_deadline_eval.go:50
↓ 3 callersMethodresolve2
(t *testing.T, it *models.Item, sc *models.ItemSchedule, state string)
internal/store/commitment_gates_outcome_test.go:378
↓ 3 callersFunctionresolveActivityMeta
resolveActivityMeta is the names-only metadata of a resolution: the schedule's kind and the state chosen. No comment text, wall, instant or rule.
internal/server/handlers_schedules.go:647
↓ 3 callersFunctionresolveBody
(t *testing.T, c recordedCall)
cmd/pad/schedule_end_test.go:30
↓ 3 callersFunctionresolveDBFilePath
resolveDBFilePath resolves symlinks even when the output file does not exist.
cmd/pad/db_restore_sqlite.go:128
↓ 3 callersMethodresolveItemRef
resolveItemRef does a GET /api/v1/workspaces/{ws}/items/{ref} and returns the resolved id+slug. Used by the link dispatchers to translate user-friendl
internal/mcp/dispatch_http_links.go:140
↓ 3 callersMethodresolveLimitQ
resolveLimitQ resolves the limit for a feature using the three-tier resolution: user overrides → DB-stored plan defaults → hardcoded fallback. It take
internal/store/limits.go:384
↓ 3 callersFunctionresolveMulti
(t *testing.T, s *Store, ws *models.Workspace, schema models.CollectionSchema, supplied any)
internal/store/relation_multi_test.go:27
↓ 3 callersMethodresolveOutboxDrainSettings
resolveOutboxDrainSettings fills every unset knob with its default and stores the result, so the resolved values are identical no matter which entry p
internal/server/outbox_drain.go:110
↓ 3 callersMethodresolveParentFilter
resolveParentFilter extracts a "parent" (or "plan") key from the field filters and converts it to a ParentLinkID filter (which uses item_links instead
internal/server/handlers_items.go:4158
← previousnext →5,501–5,600 of 28,840, ranked by callers