MCPcopy Create free account

hub / github.com/PerpetualSoftware/pad / functions

Functions28,840 in github.com/PerpetualSoftware/pad

↓ 1 callersFunctionrunLeg
(opts: { page: Page; request: APIRequestContext; fixture: SuiteFixture; idx: number; attempt: number; cr
web/e2e/bug-2539-sync-window.spec.ts:103
↓ 1 callersFunctionrunLinkedMove
(c *cobra.Command, ref, role, to string, f linkedWriteFlags, pastDeadline bool)
cmd/pad/cmd_schedule_link.go:402
↓ 1 callersMethodrunMCPAuditSweeper
runMCPAuditSweeper drives the 90-day retention sweep on a 24h ticker. Exits when the audit writer's stop channel closes (i.e. when Server.Stop() runs)
internal/server/middleware_mcp_audit.go:652
↓ 1 callersMethodrunMCPCredentialTick
(ctx context.Context, r *http.Request, end context.CancelFunc, interval, first time.Duration)
internal/server/mcp_stream_credential.go:37
↓ 1 callersFunctionrunMCPInstallAll
(cmd *cobra.Command, inst *mcpserver.Installer)
cmd/pad/mcp.go:230
↓ 1 callersFunctionrunMCPInstallOne
(cmd *cobra.Command, inst *mcpserver.Installer, agent string)
cmd/pad/mcp.go:209
↓ 1 callersMethodrunMCPKeepalive
runMCPKeepalive writes keepalives once w is committed as an event stream, until stop is closed or a write fails.
internal/server/mcp_stream_keepalive.go:183
↓ 1 callersFunctionrunMainWith
runMainWith runs the real main() with these arguments, so a test of what main() does before Execute (the completion silence) tests main() itself and n
cmd/pad/bug4066_relative_data_dir_test.go:49
↓ 1 callersFunctionrunMatrixRow
(t *testing.T, row matrixRow, floating bool)
internal/store/schedule_carry_matrix_test.go:195
↓ 1 callersFunctionrunMonitorInBubble
runMonitorInBubble runs runWatchMonitor end to end in a synctest bubble, against handler served over a memNet, so its reconnect and identity backoffs
cmd/pad/chat_synctest_net_test.go:72
↓ 1 callersFunctionrunNav
(nav: () => Promise<unknown>)
web/src/lib/stores/chatSurface.svelte.test.ts:1167
↓ 1 callersFunctionrunNever
runNever runs the variants of one case.
internal/schedule/neverpartial_test.go:117
↓ 1 callersMethodrunOrphanGCTick
runOrphanGCTick is one tick of the periodic loop. Wrapped with a 30-minute cap on the sweep so a long-running scan can't pin the goroutine across mult
internal/server/orphan_gc.go:629
↓ 1 callersFunctionrunParityCase
(t *testing.T, c parityCase)
internal/server/artifact_import_parity_test.go:140
↓ 1 callersFunctionrunParityMatrix
open → ←/→ → Escape → reopen → backdrop click → reopen → Close button.
web/e2e/attachment-viewer-parity.spec.ts:74
↓ 1 callersFunctionrunRealRestoreTx
runRealRestoreTx drives the REAL restore commit transaction against the store — the exact MaxOpLogIDTx + StampRestoreBoundaryOpIDTx + PruneItemOpLogTx
internal/server/handlers_item_versions_test.go:50
↓ 1 callersFunctionrunReconcilePass
* One reconcile pass for the public `reconcile` door, registered as the * workspace's running pass while its reads are in flight (BUG-3192).
web/src/lib/stores/localIndex.svelte.ts:897
↓ 1 callersFunctionrunRotate
(degrees: 90 | 180 | 270)
web/src/lib/components/editor/attachment-image.ts:1288
↓ 1 callersFunctionrunSameSecondCursorLeg
runSameSecondCursorLeg runs one attempt. It reports whether the writes landed in the intended second relative to the cursor; when they did, it asserts
internal/store/items_changes_cursor_test.go:57
↓ 1 callersFunctionrunSchedFull
(t *testing.T, reply func(recordedCall) (int, string), args ...string)
cmd/pad/task4356_remind_test.go:121
↓ 1 callersMethodrunScheduleActiveGuard
Only item updates use this second guard; move/copy retain their own schedule handling.
internal/server/handlers_items_schedule_active.go:44
↓ 1 callersFunctionrunScheduleCreate
---- commands ----
cmd/pad/cmd_schedule.go:152
↓ 1 callersFunctionrunScopePopulation
(t *testing.T, doc *cmdhelp.Document, scopes string)
internal/mcp/scope_population_test.go:143
↓ 1 callersFunctionrunScript
(w *bufio.Writer, req WorkerRequest)
internal/materialize/supervisor_test.go:96
↓ 1 callersMethodrunSelfHostedAtCap
Self-hosted: the same doors, a free-plan owner already AT the cap, cloud mode off. (The env sets "free" explicitly; it is also users.plan's column def
internal/server/handlers_plan_limit_race_test.go:617
↓ 1 callersFunctionrunStaleAgenda
runStaleAgenda is `agenda --stale`: no window, only --from to resume a page.
cmd/pad/cmd_schedule.go:850
↓ 1 callersFunctionrunSystemAccessBackfill
(t *testing.T, s *Store)
internal/store/system_collection_access_backfill_test.go:108
↓ 1 callersFunctionrunTabsSeed
runTabsSeed re-executes the tab migration against the store's current data. The template database runs it before any row exists, so this is the only w
internal/store/workspace_tabs_test.go:75
↓ 1 callersFunctionrunThen
Run a close's continuation; a throw is logged and does not strand the heals or the flush.
web/src/lib/stores/chatSurface.svelte.ts:142
↓ 1 callersFunctionrunTwoRemovals
* The R8-1 interleaving, driven by hand. * * Both writes are dispatched before either answers, so both carry `t0` — * which is what the pane rea
web/src/lib/items/fieldWriteOrder.test.ts:114
↓ 1 callersMethodrunWorkspacePurgeTick
runWorkspacePurgeTick runs one tick of the periodic loop, wrapped with a 30-minute cap so a large sweep can't pin the goroutine across intervals. Logg
internal/server/workspace_purge.go:167
↓ 1 callersFunctionrunes
(s: string)
web/src/lib/items/titleLimit.test.ts:100
↓ 1 callersFunctionruns
(base: string, draft: string)
web/src/lib/items/draftPatch.ts:38
↓ 1 callersMethodrunsNow
(callee: Node, key: string)
web/src/test/identityFenceAst.ts:1108
↓ 1 callersFunctionrunsSync
()
web/src/lib/stores/chatSurfaceCallers.test.ts:84
↓ 1 callersFunctionsafe
* Encode a value so it's safe to embed in an IDB database name. * Names allow any UTF-16 string per spec, but URL-encoding keeps * the on-disk handl
web/src/lib/stores/localIndexPersistence.ts:191
↓ 1 callersFunctionsafeStringText
safeStringText is x.String() that survives a nil receiver or a panicking method.
internal/logging/scrub.go:825
↓ 1 callersFunctionsafeZone
(zone: string | null | undefined)
web/src/lib/calendar/monthGrid.ts:14
↓ 1 callersFunctionsaid
()
web/src/lib/components/items/SaveSyncStatus.svelte.test.ts:22
↓ 1 callersMethodsame
(b originParts)
internal/server/handlers_auth.go:1252
↓ 1 callersFunctionsameDeadline
sameDeadline reports whether two role sets carry the same deadline offset and behavior; a deadline present on one side only is a difference.
internal/store/commitment.go:410
↓ 1 callersFunctionsameEditorNode
(page: Page)
web/e2e/chat-shell.spec.ts:105
↓ 1 callersFunctionsameIssues
(a, b []FieldIssue)
internal/items/validate_test.go:489
↓ 1 callersFunctionsameOriginEntries
sameOriginEntries rewrites each poster to this server's proxy path.
internal/server/tutorials.go:201
↓ 1 callersFunctionsameServer
sameServer compares two base URLs the way saved credentials are keyed (normalizeServerURL): a differently spelled URL counts as a different server, wh
internal/cli/env_token.go:90
↓ 1 callersFunctionsameStrings
sameStrings compares two payload-family lists order-independently: the taxonomy declares a SET, and pinning its order would make the test fail on a re
internal/store/event_outbox_test.go:1957
↓ 1 callersFunctionsameTarget
(a: ChatTarget | null, b: ChatTarget | null)
web/src/lib/stores/chatSurface.svelte.ts:44
↓ 1 callersFunctionsameTarget
(current: string, instant: string, zone: string)
web/src/lib/calendar/presentation.ts:279
↓ 1 callersFunctionsampleRequest
sampleRequest is a GET for a concrete path the pattern matches.
internal/server/compress_routes_test.go:35
↓ 1 callersFunctionsaneExtent
Saturate a measurement into `[0, MAX_EXTENT]` so products cannot overflow.
web/src/lib/attachments/zoom.ts:202
↓ 1 callersFunctionsanitiseStoredText
sanitiseStoredText makes a caller-influenced string safe to bind to a text column, by removing what a text column cannot hold rather than by refusing
internal/server/middleware_request_text.go:926
↓ 1 callersFunctionsanitize
sanitize keeps only what can be shown honestly: known intervals, each once, with a positive amount and a currency. Available is true only with at leas
internal/billing/offer.go:206
↓ 1 callersFunctionsanitizeChatHtml
(html: string)
web/src/lib/utils/markdown.ts:304
↓ 1 callersFunctionsanitizeHtmlBlock
(html: string)
web/src/lib/utils/markdown.ts:415
↓ 1 callersFunctionsanitizeRecoveryName
sanitizeRecoveryName keeps a recovery file name to characters that are safe in a path component on every platform; a slug or ref never needs more.
cmd/pad/cmd_item.go:4240
↓ 1 callersFunctionsanitizeValue
sanitizeValue is sanitize with a fresh budget.
internal/logging/scrub.go:661
↓ 1 callersFunctionsave
()
web/src/lib/components/collections/schemaEditImpact.svelte.test.ts:98
↓ 1 callersFunctionsave
()
web/src/lib/components/chat/Composer.svelte.test.ts:690
↓ 1 callersFunctionsave
()
web/src/lib/components/items/ItemCommitmentEditDialog.svelte.test.ts:27
↓ 1 callersFunctionsave
(html: string)
web/src/lib/utils/markdown.strayBracket.svelte.test.ts:31
↓ 1 callersFunctionsaveAccessThenChangeItAgain
* Drive the access panel into the one state where the REVERT is observable, * and leave the save request open. * * WHY THE SECOND CHANGE IS THE
web/src/routes/[username]/[workspace]/settings/settingsIdentityFence.svelte.test.ts:470
↓ 1 callersFunctionsaveAllDrafts
( draftText: Record<string, string>, create: (lane: string, title: string) => Promise<unknown>, identityHel
web/src/lib/collections/laneDrafts.ts:193
↓ 1 callersFunctionsaveAndReadSettings
()
web/src/lib/components/collections/awaitsHumanToggle.svelte.test.ts:75
↓ 1 callersFunctionsaveEditRecovery
saveEditRecovery writes the text the user edited to a file and returns an error that carries both the original cause and the file's path (BUG-3035).
cmd/pad/cmd_item.go:4200
↓ 1 callersFunctionsaveExpanded
(ws: string, section: CappedSection, expanded: boolean)
web/src/lib/dashboard/caps.ts:60
↓ 1 callersFunctionsaveIntoTheDialog
Press Save and answer the first write with content_pending_flush, opening the dialog.
web/src/routes/[username]/[workspace]/playbooks/[slug]/playbookIdentityFence.svelte.test.ts:161
↓ 1 callersFunctionsaveUpgradeResume
(path: string, action: string, now = Date.now())
web/src/lib/billing/upgradeResume.ts:31
↓ 1 callersFunctionsaveWith
(md: string, index: Item[])
web/src/lib/utils/markdown.renameMarker.svelte.test.ts:52
↓ 1 callersFunctionscalar
scalar reports whether v is a number or bool: a count or a measurement, never a credential, whatever its field is called (Tokens int, input_tokens).
internal/logging/scrub.go:547
↓ 1 callersFunctionscalarEqual
scalarEqual compares a top-level param value with a `fields` value for the equal-duplicate check. Scalars compare by their stringified form (so 3 == 3
internal/mcp/catalog_item_fields.go:1017
↓ 1 callersFunctionscalarFieldChanges
scalarFieldChanges renders "key: old → new" for each changed key, sorted and joined with "; ", the human activity format (server diffFields). App patc
internal/store/fenced_items.go:495
↓ 1 callersMethodscalarRelationFilterKeys
scalarRelationFilterKeys returns the scalar `relation` keys of the collection a list is scoped to, for the BUG-3028 empty-value filter. Nil when the l
internal/store/items.go:2725
↓ 1 callersFunctionscalarString
(t *testing.T, s *Store, query string, args ...any)
internal/store/items_changes_cursor_test.go:151
↓ 1 callersFunctionscalars
scalars collects every string in a decoded YAML tree, keys included, so a scan of it covers every field (if, run, env, with, continue-on-error, strate
internal/buildtools/ci_release_branches_test.go:507
↓ 1 callersFunctionscale
()
web/e2e/attachment-viewer-owners.spec.ts:756
↓ 1 callersFunctionscaleOf
* The `scale(...)` factor currently on the image, or NaN if there is none. * * jsdom lays nothing out, so the geometry the zoom module reads is all
web/src/lib/components/common/Lightbox.svelte.test.ts:260
↓ 1 callersFunctionscanCalendarFeed
(row interface{ Scan(...any) error })
internal/store/calendar_feeds.go:81
↓ 1 callersMethodscanColumn
scanColumn narrows in SQL and decides in Go. The WHERE clause is a PRE-FILTER on the two byte patterns a violating value must contain, and it is the
internal/store/nulscan.go:314
↓ 1 callersMethodscanColumnUTF8
scanColumnUTF8 finds every value in one protected column that is not valid UTF-8 (BUG-3222). PostgreSQL refuses such a value in text or jsonb (SQLSTA
internal/store/nulutf8.go:29
↓ 1 callersFunctionscanDocuments
(rows *sql.Rows)
internal/store/documents.go:1191
↓ 1 callersFunctionscanItemsChanges
scanItemsChanges scans rows from ListItemsChangesSince (skinny projection + deleted_at so callers can distinguish tombstones).
internal/store/items.go:1824
↓ 1 callersFunctionscanItemsIndex
scanItemsIndex scans rows from ListItemsIndex (skinny projection — no i.content column).
internal/store/items.go:2062
↓ 1 callersFunctionscanSites
(src: string)
web/src/test/chatHistoryScan.ts:44
↓ 1 callersFunctionscanTopLevelJSONKey
scanTopLevelJSONKey returns true if `key` appears as a top-level key in the JSON object encoded in body. It uses json.Decoder so it can terminate earl
internal/urlimport/detect.go:128
↓ 1 callersFunctionschedItemIDs
(as []AgendaSchedule)
internal/store/schedule_calendar_test.go:64
↓ 1 callersFunctionschedJSONEqual
(t *testing.T, raw []byte, want map[string]any)
internal/server/handlers_commitments_http_test.go:459
↓ 1 callersMethodschedStamp
schedStamp is everything a cascade could write to one schedule and its managed reminder.
internal/store/commitment_links_deleted_end_test.go:32
↓ 1 callersFunctionschedule
(item_ref: string, extra: Partial<AgendaEntry> = {})
web/src/routes/(console)/home.svelte.test.ts:74
↓ 1 callersFunctionscheduleCarryTerminal
scheduleCarryTerminal reports a skip reason that means the schedule has nothing left to fire.
internal/store/schedule_carry_copy.go:105
↓ 1 callersFunctionscheduleCreateBody
(p scheduleParams)
internal/mcp/dispatch_http_schedule.go:214
↓ 1 callersFunctionscheduleFlags
scheduleFlags adds the `floating` bool to a string-flag set, as the real `pad item remind` and `pad item remind edit` declare it.
internal/mcp/catalog_readonly_test.go:1081
↓ 1 callersFunctionscheduleModeRequested
(cmd *cobra.Command)
cmd/pad/schedule_flags.go:50
↓ 1 callersFunctionscheduleReconnect
(refused: boolean)
web/src/lib/services/accessStream.svelte.ts:268
↓ 1 callersFunctionscheduleReconnect
* Take a failed source down and schedule its replacement. * * `refused` is the CLOSED-at-onerror case: the server answered with a * non-200, the
web/src/lib/services/sse.svelte.ts:451
↓ 1 callersFunctionscheduleRecurs
scheduleRecurs reports whether a schedule has more than one occurrence: any RRULE, or, with no RRULE, at least two distinct walls among the start and
internal/store/schedule_active.go:42
↓ 1 callersFunctionscheduleUpdateFromMembers
(w http.ResponseWriter, raws map[string]json.RawMessage)
internal/server/handlers_schedules.go:266
↓ 1 callersMethodscheduleZoneOf
scheduleZoneOf is the zone of the assignee, else of the creator: the one rule the cross-workspace copy and its preview use, which already hold both id
internal/store/schedules.go:336
↓ 1 callersFunctionschemaDefaults
()
web/src/lib/types/index.ts:3139
↓ 1 callersFunctionschemaEditImpacts
( seeded: readonly SeededField[], edited: readonly EditedField[], migrations: readonly FieldMigration[], u
web/src/lib/components/collections/schemaEditImpact.ts:42
↓ 1 callersFunctionschemaEditNeedsTyping
(impacts: readonly SchemaEditImpact[])
web/src/lib/components/collections/schemaEditImpact.ts:85
← previousnext →14,001–14,100 of 28,840, ranked by callers