MCPcopy Create free account

hub / github.com/PerpetualSoftware/pad / functions

Functions28,840 in github.com/PerpetualSoftware/pad

↓ 2 callersFunctionsettle
Fetch → probe → render → the deferred semantics pass, plus Tiptap's mount.
web/src/lib/components/timeline/timelineEditorOwnedImages.svelte.test.ts:164
↓ 2 callersFunctionsettle
()
web/src/lib/components/timeline/timelineRefreshDeletion.svelte.test.ts:117
↓ 2 callersFunctionsettle
()
web/src/lib/components/timeline/timelineCommentOnUpdateLive.svelte.test.ts:119
↓ 2 callersFunctionsettle
()
web/src/lib/components/timeline/ItemTimeline.itemUpdated.svelte.test.ts:51
↓ 2 callersFunctionsettle
()
web/src/lib/components/collections/awaitsHumanToggle.svelte.test.ts:30
↓ 2 callersFunctionsettle
()
web/src/lib/components/collections/task2191CreateDraftGuard.svelte.test.ts:23
↓ 2 callersFunctionsettle
()
web/src/lib/components/collections/schemaEditImpact.svelte.test.ts:34
↓ 2 callersFunctionsettle
()
web/src/lib/components/collections/task2191EditDraftGuard.svelte.test.ts:32
↓ 2 callersFunctionsettle
()
web/src/lib/components/collections/archiveRestore.svelte.test.ts:41
↓ 2 callersFunctionsettle
()
web/src/lib/components/chat/ChatHost.phone.svelte.test.ts:110
↓ 2 callersFunctionsettle
()
web/src/lib/components/chat/ChatHost.svelte.test.ts:99
↓ 2 callersFunctionsettle
()
web/src/lib/components/items/attachmentDeleteIdentityFence.svelte.test.ts:123
↓ 2 callersFunctionsettle
()
web/src/lib/components/items/itemDetailLoadsOnce.svelte.test.ts:136
↓ 2 callersFunctionsettle
* Let the lazy HEAD probe AND the activation's own MIME resolution settle. * Activation is asynchronous as of TASK-2433 — it resolves the MIME befor
web/src/lib/components/editor/attachmentImageMissing.svelte.test.ts:138
↓ 2 callersFunctionsettle
()
web/src/lib/components/editor/imageEditMasterFreeze.svelte.test.ts:49
↓ 2 callersFunctionsettle
Let the capabilities promise + the MIME probe settle.
web/src/lib/components/editor/editorCapabilitiesDelivery.svelte.test.ts:168
↓ 2 callersFunctionsettle
()
web/src/lib/stores/tabs.svelte.test.ts:109
↓ 2 callersFunctionsettle
Lets resolved bridge calls and the renders they cause settle, under real or fake timers.
web/src/mcp-app/Board.svelte.test.ts:57
↓ 2 callersFunctionsettleIfCurrent
* Settle only if this call is still the one that speaks for the store. * * TWO fences, for two different races. `seq` is the navigation fence: a slo
web/src/lib/stores/workspace.svelte.ts:164
↓ 2 callersFunctionsettleMembership
* Settle membership for `userId`'s view of `slug`: publish the answer and * remember it. Every path that turns `membershipKnown` true goes through he
web/src/lib/stores/workspace.svelte.ts:130
↓ 2 callersMethodsettleSkips
(token string, skips map[string][]string)
internal/server/push_dispatch.go:680
↓ 2 callersFunctionsettledOrBounded
Resolves when `r` settles or after GO_FALLBACK_MS, whichever first; never rejects.
web/src/lib/stores/chatSurface.svelte.ts:151
↓ 2 callersFunctionsetup
(bundler)
web/scripts/build-mcp-app.mjs:30
↓ 2 callersFunctionsetupCmd
()
cmd/pad/cmd_auth.go:27
↓ 2 callersFunctionsetupFakePostgresDump
(t *testing.T)
cmd/pad/cmd_db_backup_postgres_test.go:13
↓ 2 callersFunctionsha
(s: string)
web/src/test/identityFenceGate.ts:275
↓ 2 callersFunctionsha256hex
sha256hex returns the SHA-256 hex digest of a string.
internal/server/middleware_auth.go:1021
↓ 2 callersFunctionshapeWith
(s shape, extra shape)
internal/mcp/chatgpt_project.go:82
↓ 2 callersFunctionshare
(fixture: SuiteFixture, request: APIRequestContext, path: string, data: Record<string, unknown> = {})
web/e2e/bug-3050-stale-body-renders.spec.ts:33
↓ 2 callersMethodshareAttachmentAnchors
shareAttachmentAnchors reports whether att is a live image that belongs to this share link's target — an item-share serves only its own item's attachm
internal/server/handlers_share_attachments.go:233
↓ 2 callersMethodshareTargetLive
shareTargetLive resolves a share link's target and reports whether it is still live (BUG-3635): for an item share, the item AND its collection; for a
internal/server/handlers_share_attachments.go:273
↓ 2 callersFunctionsheet
(c: HTMLElement)
web/src/lib/components/chat/ChatHost.phone.svelte.test.ts:201
↓ 2 callersFunctionshipped
()
web/src/lib/stores/chatSurfaceCallers.test.ts:29
↓ 2 callersFunctionshortDay
(day: string, today: string, options: ShortDateOptions = {})
web/src/lib/calendar/presentation.ts:373
↓ 2 callersFunctionshouldApplyRetag
( existing: ItemIndexRow | undefined, collectionId: string, newSlug: string, )
web/src/lib/stores/localIndexPersistence.ts:660
↓ 2 callersMethodshouldCreateItemVersion
(q rowQueryer, itemID, actor, source, viaApp string)
internal/store/items.go:6589
↓ 2 callersMethodshouldCreateVersionQ
shouldCreateVersionQ is ShouldCreateVersion against a caller-supplied executor. UpdateDocument calls it from INSIDE its transaction, and a read issued
internal/store/versions.go:30
↓ 2 callersFunctionshouldDedupeEditorSpace
( lastFlushedContent: string | null, seedMarkdown: string | null, normalizedMarkdown: string, seedCanonica
web/src/lib/collab/flushDedupe.ts:33
↓ 2 callersFunctionshouldEmbedAsImage
( meta: AttachmentMeta, wantVariant?: 'thumb-sm' | 'thumb-md' | 'original' )
web/src/lib/markdown/attachments.ts:188
↓ 2 callersMethodshouldScanOversizedOutbox
shouldScanOversizedOutbox reports whether enough time has passed to run the diagnostic again, and stamps the clock when it says yes. FIRST TICK ALWAY
internal/server/outbox_drain.go:275
↓ 2 callersFunctionshow
( message: string, type: Toast['type'] = 'info', duration?: number, link?: string, action?: ToastAction,
web/src/lib/stores/toast.svelte.ts:112
↓ 2 callersFunctionshow
(ctx: ReturnType<typeof setup>, args: Record<string, unknown>, result: ToolResultLike)
web/src/mcp-app/ItemCard.svelte.test.ts:44
↓ 2 callersFunctionshowDropLine
(pos: number)
web/src/lib/components/editor/block-drag-handle.ts:638
↓ 2 callersFunctionshowMenu
()
web/src/lib/components/editor/block-drag-handle.ts:436
↓ 2 callersFunctionshown
()
web/src/lib/components/settings/CalendarFeedsSettings.svelte.test.ts:51
↓ 2 callersFunctionsidebarCollections
(page: Page)
web/e2e/permission-walk-sidebar.spec.ts:37
↓ 2 callersFunctionsignEmail
(emailAddr, secret string)
internal/email/unsubscribe.go:28
↓ 2 callersFunctionsignTwoFAChallenge
(userID, binding string, epoch int64, secret []byte)
internal/server/twofactor_challenge.go:90
↓ 2 callersFunctionsignedInFor
signedInFor is currentUser for a public route that reads the caller about a resource in workspaceID (a share link, an invitation). A token pinned to a
internal/server/pinned_token.go:70
↓ 2 callersFunctionsignupClient
signupClient is "app" for a request from a Pad mobile shell (its native API client and its web view send the same PadShell user agent) and "web" other
internal/server/funnel_metrics.go:30
↓ 2 callersFunctionsignups
(t *testing.T, m *metrics.Metrics, client string)
internal/server/task3926_funnel_metrics_test.go:22
↓ 2 callersFunctionsilentApplier
Route tests for PLAN-2975's write-first-apply-second ordering. The lexical guard in handlers_items_title_test.go proves the refusal ARMS are present,
internal/server/handlers_items_content_route_test.go:28
↓ 2 callersMethodsince
since is this package's replay-window query, scoped to Notification. It NO LONGER MIRRORS internal/events.replayBuffer.since, and the difference is d
internal/watchevents/watchevents.go:395
↓ 2 callersMethodsinceBounded
sinceBounded is since restricted to the OLDEST keep entries — the buffer as it stood at some earlier moment, for a caller that registered then and has
internal/events/bus.go:524
↓ 2 callersFunctionsizes
(page: Page, isMobile: boolean)
web/e2e/task-2244-mobile-touch-targets.spec.ts:37
↓ 2 callersFunctionskillVersionNewer
skillVersionNewer reports a stamp version strictly newer than running. Only when BOTH parse as semver: a dev build (or any unparseable version) never
internal/cli/skillstamp.go:137
↓ 2 callersFunctionskipRegexLiteral
Index just past a regex literal opening at `i`, or -1 when `/` is not one.
web/src/test/identityFenceSource.ts:611
↓ 2 callersFunctionskipStringLiteral
* Index just past the string or template literal opening at `i`, or -1. * A template's `${…}` bodies are CODE, not text: they are * walked for decla
web/src/test/identityFenceSource.ts:593
↓ 2 callersFunctionsleep
(ms)
web/scripts/ci-audit.mjs:71
↓ 2 callersFunctionsleep
(ms: number)
web/e2e/task-2224-sse-request-budget.spec.ts:161
↓ 2 callersFunctionslot
(text: string)
web/src/lib/components/layout/BottomNav.svelte.test.ts:53
↓ 2 callersFunctionslots
()
web/src/lib/components/layout/BottomNav.svelte.test.ts:52
↓ 2 callersFunctionslow
()
web/src/lib/attachments/surfaceMetadata.svelte.ts:368
↓ 2 callersFunctionslugRacePGStore
TASK-2885 (IDEA-2874 + BUG-2875). A collection's slug is an identifier and a mutable name at once, and two writers used to allocate it with no orderin
internal/store/collections_slug_race_pg_test.go:43
↓ 2 callersFunctionslugSet
(hints []WorkspaceHint)
internal/mcp/dispatch_http_envelope_test.go:418
↓ 2 callersFunctionsmallCode
smallCode reports a status or exit code: the bare key code, or a name on statusCodeNames, with a value of up to three digits (as benignCode accepts in
internal/logging/scrub.go:529
↓ 2 callersFunctionsnapshot
(rows: ItemIndexRow[])
web/src/lib/stores/localIndexScopeStale.svelte.test.ts:27
↓ 2 callersFunctionsnapshot
(cursor = '10')
web/src/lib/stores/localIndexReconcileOneReadPerAsk.svelte.test.ts:26
↓ 2 callersFunctionsnapshot
(over: Record<string, unknown> = {})
web/src/mcp-app/Board.svelte.test.ts:22
↓ 2 callersMethodsnapshotCurrentWorkspacesSQL
snapshotCurrentWorkspacesSQL inserts, for one connection, a row per live workspace the wildcard reaches for a user today: membership, or a LIVE collec
internal/store/oauth_connections.go:391
↓ 2 callersFunctionsnapshotWith
(ed: Editor, job: MaterializeJob)
web/src/lib/collab/materializer/entry.ts:141
↓ 2 callersFunctionsnippetAround
snippetAround returns roughly `snippetRadius*2` bytes of `content` centered on `position` (the start of the `[[`). Caller doesn't need the snippet to
internal/store/wiki_links.go:1663
↓ 2 callersFunctionsnippetFor
(text: string)
web/src/lib/utils/hiddenContentDetector.ts:243
↓ 2 callersMethodsoftKeyboardUp
* A soft keyboard came up: with nothing stored, touch mode holds for this page. A stored * choice is paused by `hardware` reading uiStore.keyboardVi
web/src/lib/chat/inputMode.svelte.ts:57
↓ 2 callersFunctionsortFieldKeys
sortFieldKeys is the set of field keys a sort names, leaving out the built-in columns and any key a field name cannot be.
internal/store/item_select_sort.go:43
↓ 2 callersFunctionsortedTimelineIDs
(ids []string)
internal/server/plan2348_timeline_kinds_test.go:69
↓ 2 callersFunctionsourcesOf
(versions []models.Version)
internal/server/handlers_items_collab_versions_test.go:222
↓ 2 callersFunctionspans
(s: string, opener: RegExp)
web/src/lib/stores/chatSurfaceCallers.test.ts:50
↓ 2 callersFunctionspecTemplateCollection
specCollectionByFile finds a collection by slug within a template, failing the test if it's missing. Small local helper to keep the SDD tests self-con
internal/collections/templates_sdd_test.go:13
↓ 2 callersFunctionspend
(res []gateResult)
scripts/decision-eval/conventions/gates.go:319
↓ 2 callersMethodspentFor
spentFor is the one exhaustion predicate admit and the sweep share: the budget recorded at the last failure still applies (the op-log has not moved pa
internal/server/materialize_recovery.go:354
↓ 2 callersFunctionspin
(until: () => boolean, what: string, rounds = 60)
web/src/routes/[username]/[workspace]/dashboardWorkspaceNotFound.svelte.test.ts:80
↓ 2 callersFunctionsplitAroundArguments
(body: string)
web/src/lib/playbooks/arguments.ts:91
↓ 2 callersFunctionsplitRef
(ref string)
internal/server/handlers_item_context.go:625
↓ 2 callersFunctionsquatPlaybook
(t *testing.T, e *appsEnv, title, slug string)
internal/server/handlers_apps_provision_test.go:242
↓ 2 callersFunctionst
(v: ItemCommitmentView)
web/src/lib/commitment.test.ts:156
↓ 2 callersMethodstageAppInstall
stageAppInstall fetches, stages, validates and previews under a reservation already taken. Any error leaves the caller to delete the reservation. ext
internal/server/handlers_apps_install.go:283
↓ 2 callersFunctionstageBox
The stage box in client coords (the shortened sheet stage on a phone).
web/e2e/attachment-viewer-touch.spec.ts:99
↓ 2 callersFunctionstageCenter
(g: Geometry)
web/src/lib/attachments/zoom.ts:209
↓ 2 callersFunctionstagedFixture
Readers: one test per reader that consults decisions, each of which fails when that reader's Unsurfaced line is dropped. stagedFixture leaves an item
internal/decision/effort_backfill_test.go:314
↓ 2 callersMethodstagingEmpty
stagingEmpty fails if an upload left a staged temp file behind.
internal/appstore/attachments_test.go:98
↓ 2 callersFunctionstagingPattern
stagingPattern is where mkdirOwned builds a directory before it holds the lock. It does not start with prefix, so no sweep can match it.
internal/testtmp/testtmp.go:122
↓ 2 callersMethodstale
* True when this token may no longer write: the fence was invalidated (or * restarted) since it was taken, or the view moved on.
web/src/lib/attachments/viewFence.ts:129
↓ 2 callersFunctionstaleEditRefusal
staleEditRefusal is the error `pad item edit` returns instead of opening the editor on a body the server reports as behind its live collaborative docu
cmd/pad/cmd_item.go:4170
↓ 2 callersFunctionstaleHintWith
staleHintWith is staleHint; advise adds the --occurrence retry advice, which only a resolve can follow.
cmd/pad/cmd_schedule.go:507
↓ 2 callersFunctionstallAfterHead
stallAfterHead sends a GET for path, with any extra header lines, and reads the response head only, then never reads again. The connection stays open,
internal/server/bug3821_write_deadline_test.go:76
↓ 2 callersFunctionstallCalls
stallCalls holds a call to the stall contract: a CapStall whose Limit is MaxSteps, from the real code path, with no goroutine left behind.
internal/schedule/budget_test.go:29
↓ 2 callersFunctionstallPos
stallPos is the generator's reported stall position.
internal/schedule/stallpos_test.go:10
↓ 2 callersMethodstampLastSeen
stampLastSeen records that this workspace's subscription just received something from Redis. GENERATION-CHECKED like every other bookkeeping write ke
internal/events/redis_bus.go:2432
↓ 2 callersFunctionstampSeqChain
stampSeqChain records on an item activity entry the write's place in the item's seq chain (PLAN-3578): it moved the item from prev to seq, and wrote v
internal/server/handlers_items_patch.go:422
← previousnext →8,601–8,700 of 28,840, ranked by callers