MCPcopy Create free account

hub / github.com/PerpetualSoftware/pad / functions

Functions31,685 in github.com/PerpetualSoftware/pad

↓ 2 callersFunctionpreviewResult
(revision: string, extra = {})
web/src/lib/components/items/ItemCommitmentEditDialog.svelte.test.ts:19
↓ 2 callersFunctionprime
(ctx: CollabFlushContext)
web/src/lib/collab/collabFlush.svelte.ts:214
↓ 2 callersFunctionprintAgentClaim
(c cli.AgentClaim)
cmd/pad/cmd_auth.go:1355
↓ 2 callersFunctionprintCatchUpHeading
(out io.Writer, md bool, title string)
cmd/pad/cmd_project.go:1102
↓ 2 callersFunctionprintCatchUpLines
(out io.Writer, md bool, lines []cli.CatchUpLine)
cmd/pad/cmd_project.go:1127
↓ 2 callersFunctionprintChatJSONWithMark
(cmd *cobra.Command, raw json.RawMessage, mark map[string]any)
cmd/pad/cmd_chat.go:241
↓ 2 callersFunctionprintImportDrops
printImportDrops prints each unique value the import dropped, one line each in `pad item move`'s `dropped:` shape, led by the item that lost it (BUG-3
cmd/pad/import_summary.go:23
↓ 2 callersFunctionprintImportSummary
printImportSummary prints what the bundle carried next to what arrived, and marks every kind whose count differs. It reports whether all of them match
cmd/pad/import_summary.go:68
↓ 2 callersFunctionprintItemCopySchedule
printItemCopySchedule prints the source schedule's fate, and nothing when the source had none (TASK-4104 D3), so a schedule-less copy reads as it alwa
cmd/pad/cmd_item.go:5077
↓ 2 callersFunctionprintNULScanReport
printNULScanReport renders a scan for a human. ON STDOUT, unlike the rest of this command group. `pad db backup` and `pad db restore` keep their prog
cmd/pad/cmd_db_nul.go:273
↓ 2 callersFunctionprintOnboardingHints
(cfg *config.Config, templateName string)
cmd/pad/cmd_workspace.go:1064
↓ 2 callersFunctionprintStaleBodyLine
printStaleBodyLine is the TABLE-format stale-body notice: STDOUT, first line (TASK-3132). The markdown and JSON formats do not use it — see showCmd's
cmd/pad/cmd_item.go:5021
↓ 2 callersFunctionprintWorkspaceContext
(workspace *models.Workspace)
cmd/pad/workspace_context.go:130
↓ 2 callersFunctionprintableCell
printableCell makes a self-declared value safe for the terminal table: every non-printable rune (newline, carriage return, ESC, ...) becomes '?', so a
cmd/pad/cmd_session.go:323
↓ 2 callersFunctionpriorityMark
(p)
plugin/hooks/register.js:488
↓ 2 callersFunctionprobe
Sample the box every 4px; `want` says whether a hit on `el` is what is sought.
web/e2e/task-2244-mobile-touch-targets.spec.ts:380
↓ 2 callersFunctionprobeMetadata
(forUuid: string)
web/src/lib/components/editor/attachment-chip.ts:615
↓ 2 callersFunctionprocessRRuleName
processRRuleName processes the name of an RRule off a multi-line RRule set
internal/schedule/internal/rrule/str.go:422
↓ 2 callersFunctionprojectBootstrapAgenda
projectBootstrapAgenda applies the limits to a read. Nil when there is nothing to show.
internal/server/bootstrap_agenda.go:169
↓ 2 callersFunctionprojectFieldsBySchema
projectFieldsBySchema keeps only the keys the schema declares, minus relation and multi_relation fields. Numbers keep their literal form. It never fai
internal/store/app_projection.go:169
↓ 2 callersMethodprojectIntelVisibility
projectIntelVisibility computes the (collectionIDs, itemIDs) visibility-scoping pair for the item-list calls the standup/changelog handlers make direc
internal/server/handlers_project_intel.go:110
↓ 2 callersFunctionprojectPlaybookMetadata
projectPlaybookMetadata renders playbook items down to the metadata shape. Bodies are NOT included — the agent loads a full body only when invoking.
internal/server/handlers_bootstrap.go:1091
↓ 2 callersFunctionprojected
(s: { serverMs: number; receivedAt: number }, now: number)
web/src/lib/api/serverClock.ts:61
↓ 2 callersFunctionprojectedBulkPayloadBytes
projectedBulkPayloadBytes is a LOWER BOUND on what marshalling this member set will produce: the bytes the members already carry. A lower bound is th
internal/store/event_outbox.go:1238
↓ 2 callersFunctionpromotedParamValue
promotedParamValue reads one of the promoted item params (status, priority, category, parent) off the dispatch input, reporting whether it was actuall
internal/mcp/dispatch_http_advanced.go:733
↓ 2 callersFunctionproofFromHash
(hash: string)
web/src/lib/invitations/proof.ts:18
↓ 2 callersFunctionprops
(over: Record<string, unknown> = {})
web/src/lib/components/items/itemDetailLoadsOnce.svelte.test.ts:134
↓ 2 callersFunctionprops
(over: Props = {})
web/src/lib/components/items/itemDetailTouchEdit.svelte.test.ts:215
↓ 2 callersFunctionproviderVouchesForClaim
providerVouchesForClaim: whether a provider's verified assertion of an address is enough to claim the never-verified account registered with it (TASK-
internal/server/handlers_cloud.go:550
↓ 2 callersFunctionpruneLocked
pruneLocked is PruneSessions's body; the caller holds the directory lock.
internal/cli/session_registry.go:539
↓ 2 callersFunctionptr
( type: string, x: number, y: number, opts: { pointerType?: string; pointerId?: number; buttons?: numb
web/src/lib/components/common/Lightbox.svelte.test.ts:5925
↓ 2 callersFunctionpublicShareItemDTO
(item *models.Item)
internal/server/handlers_share_links.go:483
↓ 2 callersFunctionpublish
(s: ItemCommitmentSnapshot)
web/src/lib/components/items/itemDetailAddDate.svelte.test.ts:150
↓ 2 callersMethodpublishAccessKick
(m accesskick.Message)
internal/server/access_kick.go:237
↓ 2 callersMethodpublishBulkItemsEvent
publishBulkItemsEvent emits one ItemsBulkUpdated SSE event for the slice of a batch mutation that landed in `collection` (TASK-1668). Collection is se
internal/server/handlers_items_bulk.go:1378
↓ 2 callersFunctionpublishFailures
(t *testing.T, m *Metrics, outcome string)
internal/metrics/publish_failures_test.go:19
↓ 2 callersMethodpublishHeartbeats
publishHeartbeats emits one liveness frame. No-op until phase 2. IT DOES NOT GO THROUGH Publish. That path assigns an id from the shared watch counte
internal/watchevents/heartbeat.go:242
↓ 2 callersMethodpublishStructuralLinkSourceEvent
publishStructuralLinkSourceEvent runs only after the link transaction has committed. It refetches the source so the SSE seq matches the row clients wi
internal/server/handlers_item_links.go:258
↓ 2 callersMethodpump
pump broadcasts notifications whose payload is size bytes, one per millisecond, until stop closes. A full session channel drops the notification, as m
internal/server/bug3808_mcp_stalled_reader_test.go:129
↓ 2 callersFunctionpurgeRefusedRawDraftsForUser
(userId: string)
web/src/lib/items/refusedRawDraft.ts:262
↓ 2 callersFunctionpush
(from: Y.Doc, to: Y.Doc)
web/src/lib/items/confirmedBaseSeqAhead.svelte.test.ts:26
↓ 2 callersFunctionpush
(from: Y.Doc, to: Y.Doc)
web/src/lib/items/confirmedBaseRemote.svelte.test.ts:27
↓ 2 callersFunctionpushIDFor
pushIDFor is the push_id a publish carries (TASK-3585). With a key it is derived from (workspace, user, key), so a re-publish after a claim takeover c
internal/server/idempotency_keys.go:189
↓ 2 callersFunctionpushKeyServer
TASK-3585: a keyed push retries once with the same key after a 5xx, and only against a server that advertises idempotency_keys.
internal/cli/task3585_push_retry_test.go:15
↓ 2 callersFunctionpushMessageLength
(raw: string)
web/src/lib/push/message.ts:92
↓ 2 callersMethodpushNow
()
internal/server/push_dispatch.go:201
↓ 2 callersFunctionpushRefusedBeforePublishing
pushRefusedBeforePublishing reports whether err is a refusal the server provably wrote before publishing. Defaults to FALSE for anything it cannot id
cmd/pad/cmd_push.go:177
↓ 2 callersMethodpushSessionVisibility
pushSessionVisibility builds the re-resolving predicate deliveredSessionCount applies, reproducing watchNotificationVisible's FIRST gate exactly: the
internal/server/handlers_push.go:632
↓ 2 callersFunctionputVarUint
(b []byte, n uint64)
internal/materialize/adversarial_test.go:12
↓ 2 callersFunctionpymod
mod in Python
internal/schedule/internal/rrule/util.go:46
↓ 2 callersFunctionq
(id: string)
web/src/routes/(console)/settings/admin/mcpSettingsSection.svelte.test.ts:62
↓ 2 callersFunctionqueryCredentialKey
queryCredentialKey is credentialKey for the parameters of a query string. A bare key= or state= is a credential there (an API key; an OAuth state), wh
internal/logging/redaction.go:84
↓ 2 callersMethodqueryCrossWorkspaceBacklinksForWorkspace
queryCrossWorkspaceBacklinksForWorkspace fetches up to `cap` rows from a single source workspace whose item_wiki_links point at the target via target_
internal/store/wiki_links.go:1589
↓ 2 callersFunctionquestion
(body string)
scripts/decision-eval/conventions/main.go:76
↓ 2 callersMethodqueue
* Queue a save for the given markdown: records it as the pending (dirty) * content and (re)arms the debounce. Rapid successive calls coalesce — *
web/src/lib/items/contentSaver.svelte.ts:44
↓ 2 callersMethodqueueRow
queueRow inserts a queue row directly, the way the enqueue side (a later change) will: A's tests need rows to cascade without that code.
internal/store/notification_settings_test.go:60
↓ 2 callersFunctionquoteKeys
BUG-3163: the two doors a caller's hand-written reserved metadata key could still reach after BUG-2696 closed the field-patch door — item CREATE's `fi
internal/server/handlers_items_reserved_write.go:34
↓ 2 callersFunctionraiseTombstone
* Write a tombstone for `id` at `deletedAtSeq`, but NEVER lower an existing * tombstone's stamp. Tombstone puts are otherwise last-write-wins, * so
web/src/lib/stores/localIndexPersistence.ts:224
↓ 2 callersFunctionrateLimitKey
rateLimitKey returns a key for rate limiting: user ID if authenticated, the address otherwise. addr is rateLimitAddr's form, not the raw client IP.
internal/server/middleware_ratelimit.go:1031
↓ 2 callersFunctionrateLimitRetryDelayMs
( retryAfterMs: number | null, attempt: number, random: () => number = Math.random, )
web/src/lib/api/client.ts:261
↓ 2 callersFunctionratio
(a, b int)
scripts/decision-eval/conventions/main.go:318
↓ 2 callersFunctionrawCrashDraftBase
( t: Pick<RawBaseTracker, 'current' | 'sentSinceBase'>, row: { seq: number; content: string }, )
web/src/lib/items/rawBase.ts:81
↓ 2 callersMethodrawGetSource
(user *models.User, o reqOpts)
internal/server/item_moved_to_test.go:133
↓ 2 callersFunctionrawJSONOrNil
rawJSONOrNil returns s as json.RawMessage when it is a non-empty, non-empty- container JSON value, else nil (so the field is omitted). Guards against
internal/cli/item_summary.go:134
↓ 2 callersFunctionrawSeedDecision
(inputs: RawSeedInputs)
web/src/lib/items/rawSeed.ts:29
↓ 2 callersFunctionrawText
(raw: unknown)
web/src/lib/fields/fieldShape.ts:161
↓ 2 callersFunctionread
(file: string)
web/src/lib/stores/chatSurfaceCallers.test.ts:187
↓ 2 callersFunctionread
()
web/e2e/bug-3204-cursor-snapback.spec.ts:74
↓ 2 callersFunctionreadAwarenessWithin
readAwarenessWithin returns the next awareness frame c receives.
internal/collab/awareness_test.go:217
↓ 2 callersFunctionreadBoundedText
(response: Response, max: number)
web/src/lib/attachments/boundedBytes.ts:92
↓ 2 callersFunctionreadBuiltinState
readBuiltinState refuses an older server (its bare 404 reads exactly like not_builtin), then reads the item's state, turning not_builtin into a senten
cmd/pad/cmd_library.go:527
↓ 2 callersFunctionreadCSRFFromCookieFor
readCSRFFromCookieFor is readCSRFFromCookie for a server whose OAuth audience is not testCanonicalAudience (an https self-host's <origin>/mcp, PLAN-23
internal/server/handlers_oauth_test.go:2509
↓ 2 callersFunctionreadChatDirection
(path string)
internal/cli/chat_direction_state.go:58
↓ 2 callersFunctionreadChoice
()
cmd/pad/cmd_workspace.go:1058
↓ 2 callersFunctionreadCommitmentBody
readCommitmentBody gives retired members the same field error on POST and PATCH, including null. The strict decoder still judges every other member.
internal/server/handlers_commitments.go:178
↓ 2 callersFunctionreadConfigText
(t *testing.T, dir string)
internal/config/events_publish_epoch_default_test.go:21
↓ 2 callersFunctionreadCredsFile
readCredsFile returns the on-disk JSON of credentials.json. Used to assert post-Save behavior — confirms the v2 format actually lands on disk rather t
internal/cli/credentials_test.go:37
↓ 2 callersMethodreadDashboard
readDashboard handles pad://workspace/{ws}/dashboard.
internal/mcp/resources.go:484
↓ 2 callersFunctionreadEntry
readEntry reads exactly size bytes from a tar reader (the rest of the current entry) into a buffer, validating that the read length matches the header
internal/server/handlers_import_bundle.go:1189
↓ 2 callersFunctionreadItemJSON
readItemJSON decodes a `pad item show --format json` dump into models.Item, accepting both legacy string-encoded and native JSON fields/tags (BUG-4812
scripts/decision-eval/attention/main.go:335
↓ 2 callersMethodreadItemLeaseRow
readItemLeaseRow reads the raw lease columns without the liveness filter — the claim path needs the row it just wrote even when a test wrote it pre-ex
internal/store/item_lease.go:277
↓ 2 callersMethodreadItems
readItems handles pad://workspace/{ws}/items.
internal/mcp/resources.go:433
↓ 2 callersFunctionreadJSON
(path string, v any)
scripts/decision-eval/conventions/main.go:325
↓ 2 callersFunctionreadPadToml
($)
plugin/hooks/register.js:39
↓ 2 callersFunctionreadPaneState
(state: PaneHistoryState | null | undefined)
web/src/lib/collections/paneController.ts:63
↓ 2 callersMethodreadParentLinkTarget
readParentLinkTarget returns the target_id of an item's `parent` link, or "" when it has none. Parameterized over rowQueryer so it can read either unl
internal/store/items.go:4848
↓ 2 callersFunctionreadPassword
()
cmd/pad/cmd_auth.go:846
↓ 2 callersFunctionreadPlanRevision
BUG-3356: Stripe-derived plan writes are ordered by a revision (the sidecar's fetch time), and a plan past its expiry entitles nothing. Runs on SQLite
internal/store/bug3356_plan_revision_test.go:14
↓ 2 callersFunctionreadRefreshMarker
(cfg *config.Config)
internal/cli/refresh_marker.go:70
↓ 2 callersFunctionreadRepoFile
readRepoFile reads a file relative to the repo root. Go runs tests with the package directory as the working directory, so the repo root is two levels
internal/mcp/tool_surface_drift_test.go:132
↓ 2 callersFunctionreadResourceJSON
readResourceJSON drives a resources/read request through the server for uri and returns the text body. Fails the test on protocol errors, missing cont
internal/mcp/meta_test.go:104
↓ 2 callersMethodreadScheduleRefireAt
readScheduleRefireAt reads the outstanding occurrence's history to derive its snooze re-fire instant, past or not (scheduleRefireAt).
internal/store/schedule_snooze.go:73
↓ 2 callersFunctionreadScoped
( scoped: string, legacy: string, valid: (v: unknown) => v is T )
web/src/lib/collections/viewPersistence.ts:66
↓ 2 callersFunctionreadScrollY
(target: HTMLElement | Window | null)
web/src/lib/scroll/restore.svelte.ts:105
↓ 2 callersFunctionreadTemplateManifest
(fsys fs.FS, name string)
internal/collections/templates_manifest.go:125
↓ 2 callersFunctionreadUpgradeResume
(now = Date.now())
web/src/lib/billing/upgradeResume.ts:36
↓ 2 callersFunctionreadWorkspaceGroupBody
readWorkspaceGroupBody validates transport types before field semantics. Raw messages distinguish omission from null, including null array entries.
internal/server/handlers_workspace_groups.go:67
↓ 2 callersMethodreadWorkspaceTabs
readWorkspaceTabs answers with the stored open set, for a request that wrote nothing.
internal/server/handlers_workspace_tabs.go:106
↓ 2 callersMethodreadableChildren
readableChildren decides, before any transaction opens, which of the milestone's selected children the caller may read. The copy and its preview count
internal/server/handlers_milestone.go:177
↓ 2 callersFunctionready
()
web/src/lib/components/calendar/ForecastDialog.svelte.test.ts:12
← previousnext →8,901–9,000 of 31,685, ranked by callers