MCPcopy Create free account

hub / github.com/PerpetualSoftware/pad / functions

Functions31,685 in github.com/PerpetualSoftware/pad

↓ 3 callersFunctionisRequestTooLargeError
(err: unknown)
web/src/lib/chat/compose.ts:39
↓ 3 callersFunctionisReservedCollectionSlug
(slug string)
internal/store/collections.go:1613
↓ 3 callersFunctionisSnoozed
(entry: { snoozed_until?: string }, now = new Date(Date.now()))
web/src/lib/calendar/presentation.ts:214
↓ 3 callersFunctionisUngrouped
(value: unknown)
web/src/lib/collections/boardColumns.ts:63
↓ 3 callersFunctionisWatchHeartbeat
isWatchHeartbeat reports whether a payload is a liveness frame. VALIDATED BY SHAPE, NOT BY PREFIX ALONE. Accepting any "hb|…" would create a silently
internal/watchevents/heartbeat.go:97
↓ 3 callersFunctionitem
(over: Record<string, unknown> = {})
web/src/mcp-app/ItemCard.svelte.test.ts:16
↓ 3 callersMethoditemByRefQ
itemByRefQ resolves a live relation referent on the caller's executor. Exact refs, immutable aliases and move-log-proven refs share one statement. An
internal/store/relation_referents.go:1103
↓ 3 callersFunctionitemCmd
()
cmd/pad/groups.go:126
↓ 3 callersFunctionitemCopyPath
itemCopyPath builds the copy endpoint's path with each dynamic segment escaped exactly once. Most of this client concatenates slugs into paths bare,
internal/cli/client_items_copy.go:376
↓ 3 callersFunctionitemCopyReason
(table map[string]string, code string)
cmd/pad/cmd_item.go:2594
↓ 3 callersFunctionitemCopyRef
itemCopyRef prefers the issue ID and falls back to the slug, which is always present. `ref` is omitempty on the wire.
cmd/pad/cmd_item.go:3081
↓ 3 callersMethoditemHasSchedule
itemHasSchedule reports whether the item has a schedule row in the workspace, whether or not the item is soft-deleted (the pin judges liveness).
internal/store/commitment_gates.go:303
↓ 3 callersFunctionitemJSONKeys
(t *testing.T, srv *Server, wsSlug, itemSlug string)
internal/server/handlers_decisions_test.go:73
↓ 3 callersFunctionitemNumber
itemNumber derefs models.Item.ItemNumber (*int), failing the test when the column came back NULL — which would itself be a parity break.
internal/store/items_create_tx_test.go:63
↓ 3 callersMethoditemOf
(scheduleID string)
internal/store/commitment_links.go:195
↓ 3 callersFunctionitemOpenTestHandler
(ref string, item models.Item)
cmd/pad/item_open_test.go:35
↓ 3 callersFunctionitemOverdue
itemOverdue reports whether an item has a deadline in the past, and which field carried it. Reports at most ONE field per item — the first in overdueD
internal/server/overdue.go:52
↓ 3 callersFunctionitemPatchCmd
itemPatchCmd is `pad item patch` (PLAN-3578): content-anchored edits to an item's body, answered with the diff of exactly what changed.
cmd/pad/cmd_item_patch.go:18
↓ 3 callersMethoditemSeq
(t *testing.T)
internal/server/handlers_item_versions_bug3031_test.go:59
↓ 3 callersFunctionitemStatusPriority
itemStatusPriority pulls the "status" and "priority" string values out of an item's fields JSON blob. Missing keys, non-string values, or malformed JS
internal/cli/format.go:220
↓ 3 callersFunctionitemUrl
(fixture: SuiteFixture, ref: string)
web/e2e/bug-3230-raw-save-pending-edits.spec.ts:29
↓ 3 callersMethoditemVisibleForIncludingTrashed
itemVisibleForIncludingTrashed is itemVisibleFor with one difference: a soft-deleted item is judged by the same workspace and collection/grant rule as
internal/server/relation_hydration.go:121
↓ 3 callersFunctionjoinCollabWorkspace
The collab WebSocket is the third member of this class and the one with WRITE access: a credential destroyed after upgrade leaves a connection whose p
internal/server/handlers_stream_session_liveness_test.go:320
↓ 3 callersFunctionjsonEqualString
jsonEqualString compares two JSON strings tolerantly of insignificant whitespace differences that emerge from JSONB ↔ TEXT round-trips.
internal/store/items_views_jsonb_test.go:248
↓ 3 callersMethodjsonType
---------- SQLite ----------
internal/store/dialect_fieldvalue.go:77
↓ 3 callersFunctionkeptWorkerID
keptWorkerID is the worker id in the record at path when that record belongs to the same process as owner (pid AND start token), else "". The start to
internal/cli/session_worker.go:82
↓ 3 callersFunctionkey
(ref: string, workspace = 'w')
web/src/lib/stores/chatThread.svelte.test.ts:1633
↓ 3 callersFunctionkeyOf
(call: number)
web/src/lib/components/items/PushToAgentDialog.svelte.test.ts:827
↓ 3 callersFunctionkeys
()
web/src/lib/chat/chatRecords.ts:42
↓ 3 callersFunctionlaSource
TASK-4104 D3 r3: the move catch-up and the exhausted verdict read the SOURCE schedule in the source recipient's zone. laSource assigns the source item
internal/store/schedule_copy_r3_test.go:20
↓ 3 callersFunctionlabelValues
labelValues returns the distinct values of one label across a metric family.
internal/server/bug2817_metrics_label_bound_test.go:17
↓ 3 callersFunctionlabelsMatch
(pairs []*dto.LabelPair, want map[string]string)
internal/metrics/watchevents_observer_test.go:115
↓ 3 callersMethodlanded
A save landed: the row is now at `seq`, holding `sent`.
web/src/lib/items/rawBase.ts:34
↓ 3 callersMethodlapse
(ids ...string)
internal/server/task3939b_push_dispatch_test.go:266
↓ 3 callersFunctionlapseActivities
(t *testing.T, srv *Server, itemID string)
internal/server/reminder_tick_deadline_test.go:82
↓ 3 callersMethodlapseOccurrenceTx
lapseOccurrenceTx closes a lapsing promise immediately after its miss is recorded. All callers hold the schedule pin and commit both writes together.
internal/store/schedule_deadline_eval.go:560
↓ 3 callersFunctionlapseTickFixture
lapseTickFixture is a one-off native deadline that lapses on the next tick, with its event subscription already open.
internal/server/reminder_tick_deadline_test.go:49
↓ 3 callersFunctionlastCollab
()
web/src/lib/components/items/itemDetailTouchEdit.svelte.test.ts:240
↓ 3 callersFunctionleaseOurs
leaseOurs is THE predicate for "this live lease is the caller's", shared by claim, release and ListForeignItemLeaseIDs so they cannot drift. Every col
internal/store/item_lease.go:332
↓ 3 callersFunctionleave
Release a mobile overlay that stopped being active (unmount / breakpoint / close).
web/src/lib/stores/paneOverlay.svelte.ts:43
↓ 3 callersFunctionlegacyTokenRouteAllowed
legacyTokenRouteAllowed reports whether a user-less legacy workspace token may use r's route. Workspace-scoped routes are allowed, because RequireWork
internal/server/middleware_auth.go:475
↓ 3 callersFunctionline
(ref: string, title: string, what: string)
web/src/lib/components/activity/CatchUpCard.svelte.test.ts:52
↓ 3 callersFunctionlink
(extra: Partial<CommitmentLink> = {})
web/src/lib/test/commitmentFixtures.ts:5
↓ 3 callersFunctionlinkActor
(o models.LinkWriteOptions)
internal/store/commitment_links.go:646
↓ 3 callersFunctionlinkChild
linkChild wires child -> parent via a `parent` link (the shape GetChildItems / GetChildItemsForParents walk).
internal/store/dashboard_batch_test.go:11
↓ 3 callersFunctionlinkDTO
(l linkRow, parentItem, childItem string)
internal/store/commitment_links.go:696
↓ 3 callersMethodlinkEndsOf
linkEndsOf reads a link by id (unlocked) so a writer can name its root item.
internal/store/commitment_links.go:715
↓ 3 callersFunctionlinkNoticeActor
linkNoticeActor is who a committed move's notice leaves out: the acting person, and nobody when an agent moved the date. actor is the journal's actor,
internal/store/commitment_links.go:656
↓ 3 callersFunctionlinkRowsFor
(t *testing.T, s *Store, itemID string)
internal/store/relation_links_multi_test.go:26
↓ 3 callersFunctionlinkVertexLess
(a, b linkVertex)
internal/schedule/links.go:583
↓ 3 callersMethodlinkWritePlanTx
linkWritePlanTx plans the move a link write makes: with l in the component in place of any stored version of itself, the child's date, and every date
internal/store/commitment_links.go:672
↓ 3 callersFunctionlinkYearInRange
linkYearInRange reports whether t's UTC year is a year the package supports (minYear..maxYear). Civil results are checked in their own zone at the cal
internal/schedule/links.go:80
↓ 3 callersMethodlistAgendaSchedules
(workspaceID string, scope PendingReminderScope, audiences []string, from, to time.Time, limit int, includeTer
internal/store/schedule_agenda.go:66
↓ 3 callersFunctionlistAllPages
listAllPages is the one pager behind every ListAll* method (BUG-3704, BUG-3793, BUG-4024). It reads from startOffset, follows the server's next-offset
internal/cli/client.go:416
↓ 3 callersFunctionlistHas
(list WorkspaceTabList, wsID string)
internal/store/workspace_tabs_revision_test.go:22
↓ 3 callersMethodlistInstalls
TASK-3413 (SPEC-6 U9a): GET /workspaces/{ws}/apps, the owner's Apps list.
internal/server/task3413a_app_list_test.go:10
↓ 3 callersMethodlistItemLinks
listItemLinks issues an in-handler GET against api/v1/workspaces/{ws}/items/{slug}/links and decodes the response into models.ItemLink so the un-* dis
internal/mcp/dispatch_http_links.go:706
↓ 3 callersFunctionlistManual
(t *testing.T, s *Store, wsID, colID string)
internal/store/items_new_item_top_test.go:26
↓ 3 callersFunctionlistWorkspaceTabsQ
listWorkspaceTabsQ reads the revision and the rows in ONE statement, so they describe one instant even on Postgres READ COMMITTED, where two statement
internal/store/workspace_tabs.go:66
↓ 3 callersMethodliveAppDeliveries
liveAppDeliveries counts installID's unexpired in-flight rows, in database time.
internal/store/app_delivery.go:348
↓ 3 callersFunctionliveBySlug
(t *testing.T, srv *Server, slug string)
internal/server/bug3479_remove_unusable_truth_test.go:27
↓ 3 callersFunctionliveHas
(t *testing.T, s *Store, userID, token string)
internal/store/push_devices_test.go:444
↓ 3 callersFunctionliveSibling
liveSibling starts a long-lived process this test owns, unrelated to the stub, and returns its pid.
internal/buildtools/bug4068_pidfile_test.go:33
↓ 3 callersFunctionloadConfig
loadConfig loads the config and applies --url, returning a load error instead of exiting, for callers that must not end the process, such as the displ
cmd/pad/main.go:320
↓ 3 callersFunctionloadFixture
(t *testing.T, name string)
internal/urlimport/generic_test.go:10
↓ 3 callersFunctionloadJSONConfig
loadJSONConfig reads path as a JSON object. A missing or whitespace-only file is treated as an empty config (so AddPadEntry can populate from scratch
internal/mcp/install.go:327
↓ 3 callersFunctionloadLinkFixture
(t *testing.T)
internal/server/materialize_recovery_links_test.go:36
↓ 3 callersFunctionloadMIMEFamilies
(t *testing.T)
internal/attachments/mime_families_test.go:25
↓ 3 callersMethodloadRoleLaneCollectionsQ
(q Queryer, workspaceID string)
internal/store/role_park.go:616
↓ 3 callersFunctionloadSchemaForTest
loadSchemaForTest is a test-only wrapper around FindAndCompileSchema that fails the test on error and starts the walk from the test's CWD.
internal/cmdhelp/schema_test.go:14
↓ 3 callersFunctionloadStoreUnlocked
loadStoreUnlocked is loadStoreLocked for a caller that could not take the lock (BUG-3828). Save truncates in place before it writes, so an empty file
internal/cli/credentials.go:239
↓ 3 callersFunctionloadTOMLConfig
loadTOMLConfig reads path as a TOML document into a map. A missing or whitespace-only file is an empty config. Parse errors on a non-empty file propag
internal/mcp/install.go:509
↓ 3 callersFunctionloadTitleLimitCorpus
(t *testing.T)
internal/models/title_limit_parity_test.go:41
↓ 3 callersFunctionloadWithPushEnv
(t *testing.T, env map[string]string)
internal/config/push_dispatch_timings_test.go:9
↓ 3 callersFunctionlocalDate
(at: string, zone: string)
web/src/lib/calendar/presentation.ts:70
↓ 3 callersFunctionlocalHeadlessCfg
localHeadlessCfg points a Local-mode config at srv via env vars, so EnsureServer's serverResponds(host, port) check finds the fake server live and ski
cmd/pad/workspace_init_noninteractive_test.go:26
↓ 3 callersMethodlockCommentRowTx
lockCommentRowTx reads one comment row, FOR UPDATE on Postgres. It returns nil when the row does not exist.
internal/store/comments.go:729
↓ 3 callersMethodlockCommentsRootFirstTx
lockCommentsRootFirstTx is lockCommentsRootFirstTxCtx without a deadline.
internal/store/comments.go:723
↓ 3 callersMethodlockReminderCommitment
lockReminderCommitment takes the strongest locks first, then checks both identities. A cached alarm ID cannot address a replacement commitment.
internal/store/reminder_commitment.go:85
↓ 3 callersFunctionlockRowsForShare
lockRowsForShare runs a FOR SHARE select and drains it: the locks are taken as the rows are read.
internal/store/app_provision.go:402
↓ 3 callersFunctionlockSessionsDir
lockSessionsDir serializes registry mutations (register's write + prune, and a standalone prune) across processes with an advisory flock on ~/.pad/ses
internal/cli/session_lock_unix.go:22
↓ 3 callersMethodlockUserProvidersTx
lockUserProvidersTx locks the account row and returns its linked providers. Every write to an account's providers or bindings goes through it, so a li
internal/store/oauth_identities.go:25
↓ 3 callersFunctionloginViaForm
(page: Page, email: string)
web/e2e/lib/chat-users.ts:75
↓ 3 callersFunctionlogoutCmd
()
cmd/pad/cmd_auth.go:890
↓ 3 callersMethodlookupByName
lookupByName finds a workspace by its NAME rather than its slug. Name is what the request supplies verbatim; slug is derived, and the derivation diffe
internal/server/handlers_workspace_create_consent_test.go:162
↓ 3 callersFunctionmakeItem
()
web/src/lib/components/common/QuickActionsMenu.svelte.test.ts:190
↓ 3 callersFunctionmakeLegacy
TASK-3462 U4: items made before built-in origins were recorded get one by exact title (or a playbook's invocation_slug), with no seed version, so they
internal/server/task3462_u4_legacy_adoption_test.go:20
↓ 3 callersFunctionmapItemStarred
mapItemStarred dispatches `pad item starred [--all]`. GET /api/v1/workspaces/{ws}/starred?include_terminal=true when --all is set. Without --all the
internal/mcp/dispatch_http_routes.go:883
↓ 3 callersFunctionmapKeys
mapKeys returns the keys of m, in arbitrary order. Used only by test failure messages where order doesn't matter.
internal/mcp/meta_test.go:155
↓ 3 callersFunctionmapRoleCreate
mapRoleCreate dispatches `pad role create <name> [--description ...] [--icon ...] [--tools ...]`. POST /api/v1/workspaces/{ws}/agent-roles with body
internal/mcp/dispatch_http_routes.go:1220
↓ 3 callersFunctionmapScheduleResolve
mapScheduleResolve is `item remind done|skip|snooze|move|ack`: the state is the command's, the rest is the input actionItemScheduleResolve left. The o
internal/mcp/dispatch_http_schedule.go:162
↓ 3 callersFunctionmapWebhookCreate
mapWebhookCreate dispatches `pad webhook create <url> [--events ...] [--secret ...]`. POST /api/v1/workspaces/{ws}/webhooks with body matching models
internal/mcp/dispatch_http_routes.go:1351
↓ 3 callersFunctionmapWorkspaceAuditLog
mapWorkspaceAuditLog dispatches `pad workspace audit-log [--days N] [--actor X] [--action X] [--limit N]`. GET /api/v1/audit-log (NOT workspace-scope
internal/mcp/dispatch_http_routes.go:1458
↓ 3 callersFunctionmapWorkspaceCreate
mapWorkspaceCreate dispatches `pad workspace create <name> [--slug X] [--template X]`. POST /api/v1/workspaces with body {name, slug?, template?} — m
internal/mcp/dispatch_http_routes.go:1501
↓ 3 callersFunctionmapWorkspaceInvite
mapWorkspaceInvite dispatches `pad workspace invite <email> [--role X]`. POST /api/v1/workspaces/{ws}/members/invite with body {email, role?}. Defaul
internal/mcp/dispatch_http_routes.go:1573
↓ 3 callersFunctionmarkDeleted
()
web/src/lib/components/editor/attachment-chip.ts:347
↓ 3 callersFunctionmarkEventForUnmarkTest
markEventForUnmarkTest is a helper that POSTs stripe-event-processed and returns the processed_at token the response hands back. Keeps the setup of th
internal/server/cloud_admin_gate_test.go:273
↓ 3 callersMethodmarkLocalSent
A local update is going out on the open socket (BUG-3523).
web/src/lib/collab/wsProvider.svelte.ts:1589
↓ 3 callersMethodmarkStartFetched
(r *http.Request, item *models.Item)
internal/server/bootstrap_start.go:163
↓ 3 callersFunctionmarshalledLen
marshalledLen is the number of bytes this string occupies as a JSON value — the bytes actually sent, which are what the token estimate is taken over.
internal/decision/typesafe.go:509
← previousnext →5,801–5,900 of 31,685, ranked by callers