MCPcopy Create free account

hub / github.com/PerpetualSoftware/pad / functions

Functions28,840 in github.com/PerpetualSoftware/pad

↓ 1 callersFunctionerrorTypeOf
errorTypeOf extracts detail.error_type from an error body, returning "" if the body is not that shape. It tolerates detail being a string or absent, s
internal/decision/typesafe.go:681
↓ 1 callersMethoderrored
* The `<img>` failed to load `erroredSrc`. `gen` is the reporting element's * mount `loadToken`. Ignored unless it is the current generation AND src
web/src/lib/attachments/viewerImageLoader.svelte.ts:108
↓ 1 callersFunctionesc
()
web/src/lib/a11y/viewerBackdrop.svelte.test.ts:760
↓ 1 callersFunctionescape
()
web/src/lib/components/layout/DockedSheet.svelte.test.ts:69
↓ 1 callersFunctionescape
()
web/src/lib/components/collections/task2191CreateDraftGuard.svelte.test.ts:61
↓ 1 callersFunctionescape
()
web/src/lib/components/collections/task2191EditDraftGuard.svelte.test.ts:85
↓ 1 callersFunctionescapeHandlerPrologue
* The body of the function that calls `runTopEscape()`, from its `function` * keyword up to that call — i.e. exactly the region the guard must sit in
web/src/lib/a11y/escapeGuardWiring.svelte.test.ts:85
↓ 1 callersFunctionescapeLikePattern
(s string)
internal/store/documents.go:632
↓ 1 callersFunctionescapeMarkdownAlt
Escape `[` and `]` in alt text so the markdown serializer's brackets stay balanced.
web/src/lib/components/editor/attachment-image.ts:203
↓ 1 callersFunctionescapeMarkdownLabel
* Escape the characters that would break out of a markdown link/image * label (`[label](...)`). Backslash first so we don't double-escape the * esca
web/src/lib/utils/commentAttachments.ts:76
↓ 1 callersFunctionescapeMarkdownLinkText
(s: string)
web/src/lib/utils/markdown.ts:1165
↓ 1 callersFunctionescapeRepeat
An auto-repeat Escape — what a HELD key fires after the first press.
web/src/lib/components/layout/DockedSheet.svelte.test.ts:74
↓ 1 callersFunctionescapeTagOpeners
(text: string, schema: Schema, atLineStart: boolean)
web/src/lib/components/editor/extensions/htmlProse.ts:197
↓ 1 callersFunctionescapeText
(md: MarkdownIt, s: string)
web/src/lib/components/editor/extensions/htmlProse.ts:149
↓ 1 callersFunctionescapeText
(s: string)
web/src/lib/chat/refs.ts:325
↓ 1 callersFunctionescapeWikiBody
(s: string)
web/src/lib/utils/markdown.ts:1171
↓ 1 callersFunctionev
(type: string, pointerId: number)
web/src/lib/utils/backdropDismiss.svelte.test.ts:69
↓ 1 callersFunctionevalOne
(p decision.Provider, dump, mode string, m member, qs map[string]decision.Question)
scripts/decision-eval/attention/main.go:145
↓ 1 callersFunctionevalString
(e ast.Expr)
internal/cli/skill_legacy_hashes_gen_test.go:161
↓ 1 callersFunctionevaluate
(needs, event)
scripts/ci-result.py:12
↓ 1 callersMethodevaluatePerComment
evaluatePerComment is Evaluate for a PerComment set.
internal/decision/per_comment.go:44
↓ 1 callersFunctioneventVerb
(ev: HistoryEvent, noun = 'item', fieldLabel: (key: string) => string = (k) => k)
web/src/lib/components/timeline/historyEvents.ts:333
↓ 1 callersFunctionevents
(entries: TimelineEntry[])
web/src/lib/components/timeline/historyEvents.test.ts:62
↓ 1 callersMethodeventsSinceLocked
eventsSinceLocked is EventsSince without the observer report. Callers must hold b.mu. Shared with SubscribeAndReplaySince so the two cannot drift in w
internal/events/redis_bus.go:1581
↓ 1 callersFunctioneventsUrlFor
(wsSlug: string)
web/e2e/bug-2539-sync-window.spec.ts:65
↓ 1 callersFunctioneveryContentBearingReadDoor
everyContentBearingReadDoor is the body, parameterised over the backend because the FTS branches are DIALECT-SPECIFIC: ListItems(search) and Search ta
internal/store/item_content_state_test.go:214
↓ 1 callersMethodevictLocked
evictLocked makes room for one more key. Idle entries past the age go first; if the map is still full, the oldest idle ones do. Called with m.mu held.
internal/server/client_write_marks.go:111
↓ 1 callersFunctionevictOldestForUser
Remove this user's oldest kept draft other than `keepItemId`'s (either slot).
web/src/lib/items/refusedRawDraft.ts:130
↓ 1 callersMethodevictOldestSettledLocked
evictOldestSettledLocked drops the oldest entry that is NOT running and reports whether there was one. A running entry is never evicted: its key is st
internal/server/import_outcomes.go:143
↓ 1 callersFunctionevictions
(from: number, count: number, idOf: (i: number) => string)
web/src/lib/stores/localIndexMovedOutFloor.svelte.test.ts:237
↓ 1 callersFunctionexactDecimal
exactDecimal prints r as a plain decimal with no loss. Every JSON number is a terminating decimal, so r's reduced denominator is 2^a*5^b and max(a, b)
internal/collections/builtin.go:174
↓ 1 callersFunctionexactItemNumberLookup
* Exact item_number lookup. Used by the `#N` / `item:N` / bare-digit * paths in `search()`. MiniSearch's tokenized search would surface * every doc
web/src/lib/stores/localSearch.svelte.ts:417
↓ 1 callersFunctionexactly
(...keys: string[])
web/src/lib/components/items/itemDetailHiddenLoadDefers.svelte.test.ts:124
↓ 1 callersMethodexec
(q string, args ...any)
internal/store/commitment_cancel_pg_test.go:83
↓ 1 callersFunctionexecStderrMatchesAuthRequired
(lower string)
internal/mcp/errors.go:856
↓ 1 callersFunctionexecStderrMatchesItemNotFound
(lower string)
internal/mcp/errors.go:860
↓ 1 callersFunctionexecStderrMatchesNoWorkspace
(lower string)
internal/mcp/errors.go:852
↓ 1 callersFunctionexecStderrMatchesPermissionDenied
(lower string)
internal/mcp/errors.go:857
↓ 1 callersFunctionexecStderrMatchesUnknownWorkspace
(lower string)
internal/mcp/errors.go:853
↓ 1 callersFunctionexecStderrMatchesValidation
(lower string)
internal/mcp/errors.go:861
↓ 1 callersFunctionexecuteMove
(view: EditorView, fromPos: number, fromNode: any, targetPos: number)
web/src/lib/components/editor/block-drag-handle.ts:202
↓ 1 callersFunctionexempt
(key: string)
web/src/lib/eachKeyCensus.test.ts:172
↓ 1 callersFunctionexercise
(strip: Element)
web/src/lib/components/connectWorkspaceModalTabs.svelte.test.ts:42
↓ 1 callersFunctionexerciseNewField
(page: Page, dialog: ReturnType<Page['getByRole']>)
web/e2e/task-2186-field-label-reactivity.spec.ts:10
↓ 1 callersMethodexhaust
exhaust marks the item as not to be tried until its op-log changes, and writes its one exhaustion line with kind as last_error_kind.
internal/server/materialize_recovery.go:668
↓ 1 callersMethodexhaustedCount
exhaustedCount is how many items hold a spent failure budget right now. A budget whose op-log has since grown still counts until the worker admits the
internal/server/materialize_recovery.go:330
↓ 1 callersMethodexhaustedFor
exhaustedFor reports whether itemID's failure budget is spent for an op-log whose MAX(id) is opLogMax: the refusal admit would give it, read without c
internal/server/materialize_recovery.go:345
↓ 1 callersFunctionexitDetail
(err error)
internal/materialize/supervisor.go:941
↓ 1 callersFunctionexpand
(onRestore = vi.fn())
web/src/lib/components/timeline/timelineVersionCardUnreconstructable.svelte.test.ts:64
↓ 1 callersMethodexpandAgendaSeedsCut
ExpandAgendaCut is ExpandAgenda with the resume instant of any time-ordered cut: the per-schedule entry cut, the instance cap, CapTime and CapStall.
internal/store/schedule_agenda.go:326
↓ 1 callersMethodexpandCompiled
(c *schedule.Compiled, sc *models.ItemSchedule, rows []agendaRow, view *time.Location, from, to, now, deadline
internal/store/schedule_agenda.go:373
↓ 1 callersFunctionexpansion
(stale: boolean)
web/src/lib/items/staleBodyRenders.svelte.test.ts:74
↓ 1 callersFunctionexpectBackgroundInert
(page: Page, minMeaningful = 1)
web/e2e/lib/attachment-viewer.ts:790
↓ 1 callersFunctionexpectBadgeMatchesServer
(page: Page, request: APIRequestContext, f: Fixture, entry: string)
web/e2e/chat-entries.spec.ts:44
↓ 1 callersFunctionexpectBarSlots
(page: Page)
web/e2e/chat-phone-sheet.spec.ts:47
↓ 1 callersFunctionexpectClose
(actual: number, expected: number, tol = 1e-9)
web/src/lib/attachments/zoom.test.ts:62
↓ 1 callersFunctionexpectCursorMoves
* Assert the collection list's cursor MOVES, one key at a time, each step with * its own expectation: the first key must move the cursor off its star
web/e2e/attachment-viewer-owners.spec.ts:82
↓ 1 callersFunctionexpectEphemeral
(page: Page, account: Account, slug: string)
web/e2e/workspace-tabs.spec.ts:554
↓ 1 callersFunctionexpectEveryCallAbsorbed
()
web/src/lib/stores/chatThread.svelte.test.ts:1648
↓ 1 callersFunctionexpectEveryCardOnServer
(server: ReturnType<typeof fakeServer>)
web/src/routes/[username]/[workspace]/[collection]/collectionIdentityFence.svelte.test.ts:1476
↓ 1 callersFunctionexpectInert
(container: HTMLElement)
web/src/routes/s/[token]/bug3669ShareSanitize.svelte.test.ts:57
↓ 1 callersFunctionexpectInert
The rendered body is inert: nothing that runs script, by element, handler or URL.
web/src/routes/s/[token]/task3798ShareXssPayloads.svelte.test.ts:92
↓ 1 callersFunctionexpectInert
No executable surface anywhere in the output.
web/src/lib/chat/markdown.svelte.test.ts:23
↓ 1 callersFunctionexpectLabelledInForm
Every input is inside a form and has exactly one label pointing at it.
web/src/routes/setup/setupForm.svelte.test.ts:52
↓ 1 callersFunctionexpectMoved
The keyboard move completed and persisted: a 200 sort_order write after * `before`. Not necessarily naming the mover: with a view-only card in the
web/e2e/permission-walk-move.spec.ts:135
↓ 1 callersFunctionexpectNoBareUuid
The invariant that spans every leg: a UUID must never reach the user.
web/src/lib/components/fields/FieldEditor.relation.svelte.test.ts:98
↓ 1 callersFunctionexpectNoBareUuid
The invariant that spans every leg: a UUID must never reach the user.
web/src/lib/components/fields/FieldEditor.multiRelation.svelte.test.ts:102
↓ 1 callersFunctionexpectNoRowBesideItsBubble
Invariant I9: no own row is visible both as a row (window or detached) and as a sending bubble.
web/src/lib/stores/chatThread.svelte.test.ts:1516
↓ 1 callersFunctionexpectPatchOnly
Assert one door: it PATCHES the named keys and never sends a full blob.
web/src/routes/bug3049WebFullBlobWriters.test.ts:49
↓ 1 callersFunctionexpectPending
(request: APIRequestContext, fixture: SuiteFixture, id: string)
web/e2e/bug-3230-raw-save-pending-edits.spec.ts:61
↓ 1 callersFunctionexpectReads
(count: number)
web/src/lib/stores/homeOverview.svelte.test.ts:20
↓ 1 callersFunctionexpectRealForm
Every visible input on the card is inside a form, and axe finds no label problems.
web/e2e/task-2259-auth-forms.spec.ts:27
↓ 1 callersFunctionexpectRestricted
(scope: Element, opts: { marked: boolean })
web/src/routes/s/[token]/bug3799ShareClassAllowlist.svelte.test.ts:60
↓ 1 callersFunctionexpectScoped
(q: string, f: Record<string, unknown>)
web/src/lib/components/search/CommandPalette.coll.svelte.test.ts:53
↓ 1 callersFunctionexpectStored
(request: APIRequestContext, fixture: SuiteFixture, id: string, marker: string)
web/e2e/bug-3540-raw-save-stale-base.spec.ts:59
↓ 1 callersFunctionexpectWithinBounds
(state: ZoomState, g: Geometry, tol = 1e-9)
web/src/lib/attachments/zoom.test.ts:71
↓ 1 callersFunctionexperimentalCapabilities
experimentalCapabilities returns the map advertised at capabilities.experimental in the initialize handshake's result envelope. Lets clients discover
internal/mcp/meta.go:166
↓ 1 callersMethodexpireAndPrune
expireAndPrune is the tick's housekeeping, run before the claim so a stale row is never sent: pending rows older than pushExpireAfter expire, and rows
internal/server/push_dispatch.go:323
↓ 1 callersFunctionexportCmd
--- completion ---
cmd/pad/cmd_workspace.go:1161
↓ 1 callersFunctionexportHasAttachment
(atts []models.Attachment, id string)
internal/store/export_snapshot_test.go:182
↓ 1 callersFunctionexportHasCollection
(exp *models.WorkspaceExport, id string)
internal/store/export_snapshot_test.go:164
↓ 1 callersMethodexportMilestoneInto
--- bundle export and import ------------------------------------------------- exportMilestoneInto fills a schedule's export with its forecast, foreca
internal/store/milestone.go:734
↓ 1 callersMethodexportScheduleGatesQ
exportScheduleGatesQ carries every gate of a live blocked item. Deleted blockers travel as item rows only, so their gates fall back to item status.
internal/store/schedule_gate_carry.go:12
↓ 1 callersMethodexportSchedules
exportSchedules reads the schedules of the workspace's live items, with the managed row's state, roles, overrides and history. Each read on q finishes
internal/store/schedule_carry.go:474
↓ 1 callersFunctionextensionForMIME
extensionForMIME delegates to the server package's mapping instead of keeping a second table here. It used to keep its own, and the copy had drifted:
cmd/pad/cmd_attachment.go:361
↓ 1 callersFunctionextractAllowDraft
extractAllowDraft removes any `allow-draft` / `allow_draft` bareword token from the raw CLI args and reports whether one was present. The returned boo
internal/server/handlers_playbooks.go:625
↓ 1 callersFunctionextractAroundSubstring
extractAroundSubstring returns body[match-radius:match+radius] when substr is present, or a "(not found)" sentinel. Helper for the error message above
internal/server/handlers_oauth_test.go:1588
↓ 1 callersFunctionextractEnumStrings
extractEnumStrings normalizes the schema's enum representation to a string set, accepting either []string or []any (mcp-go's exact shape has flipped h
internal/mcp/catalog_workspace_lifecycle_test.go:61
↓ 1 callersFunctionextractFrontmatterRegion
extractFrontmatterRegion returns the YAML text between the leading "---\n" fence and the next line equal to "---". Returns ("", false) when the openin
internal/server/artifact_import.go:223
↓ 1 callersFunctionextractHiddenFormValue
extractHiddenFormValue pulls the value of a hidden <input name="..."> out of rendered consent HTML, mirroring what a browser would submit. Values are
internal/server/handlers_oauth_test.go:453
↓ 1 callersFunctionextractImportSpecifiers
extractImportSpecifiers pulls the module specifiers out of every import shape we know about: static `import ... from '...'`, side-effect `import '...'
internal/server/share_page_collab_isolation_test.go:203
↓ 1 callersFunctionextractItemRefFromBranch
(branch string)
cmd/pad/cmd_github.go:110
↓ 1 callersMethodextractParentLink
checkUniqueFields enforces FieldDef.UniqueScope == "workspace_collection" for the given collection. For each schema field with that scope, any non-emp
internal/server/handlers_items.go:4247
↓ 1 callersFunctionextractStringList
(raw any)
internal/models/item.go:1270
↓ 1 callersFunctionextractValidationField
extractValidationField pulls the field name out of a BuildCLIArgs error message, returning empty string when no match is found.
internal/mcp/errors.go:905
↓ 1 callersFunctionf
(type: string, over: Partial<FieldDef> = {})
web/src/lib/collections/laneWriteValue.test.ts:12
↓ 1 callersFunctionf
(v: number)
web/e2e/bug-3420-selected-tab-contrast.spec.ts:29
↓ 1 callersFunctionfacts
(item: WindowItem, now: Date)
web/src/lib/chat/grouping.ts:65
↓ 1 callersFunctionfail
(code: string, message: string)
web/src/mcp-app/Board.svelte.test.ts:35
↓ 1 callersFunctionfail
(err: unknown)
web/e2e/attachment-viewer-owners.spec.ts:94
← previousnext →11,201–11,300 of 28,840, ranked by callers