MCPcopy Create free account

hub / github.com/PerpetualSoftware/pad / functions

Functions31,685 in github.com/PerpetualSoftware/pad

↓ 2 callersMethodresourceNoteClient
resourceNoteClient names the client of a request for the note functions: the form client_id, else the id a client authenticating with HTTP Basic sends
internal/server/handlers_oauth.go:596
↓ 2 callersFunctionresp
(rows: Array<[number, number]>)
web/src/lib/stores/chat.svelte.test.ts:32
↓ 2 callersMethodrespaceRoleLane
respaceRoleLane rewrites every live non-terminal item in the role's canonical lane (Now items included) to role_sort_order = 1024*(i+1), bumping works
internal/store/role_park.go:713
↓ 2 callersFunctionrespellMarks
(declared: readonly string[], against: readonly string[])
web/src/lib/components/collections/field-editor-types.ts:488
↓ 2 callersFunctionrespond
(ids: string[])
web/src/lib/components/timeline/ItemTimeline.lifecycle.svelte.test.ts:154
↓ 2 callersFunctionresponse
(attachments: AttachmentListItem[])
web/src/lib/components/settings/StorageTab.svelte.test.ts:135
↓ 2 callersFunctionresponse
(day: string)
web/src/lib/calendar/monthGrid.test.ts:6
↓ 2 callersFunctionrestStatus
(srv *Server)
internal/server/handlers_collab_bug1308_test.go:50
↓ 2 callersMethodrestart
* Supersede every outstanding token, then take a new one. For a request * fence: issuing request N+1 means request N's response may no longer write.
web/src/lib/attachments/viewFence.ts:143
↓ 2 callersFunctionrestore
()
web/e2e/lib/paneSettle.ts:42
↓ 2 callersFunctionrestoreAttachmentInPlace
( target: AttachmentUndoOptions )
web/src/lib/attachments/undo.ts:67
↓ 2 callersFunctionrestoreFixture
BUG-3101, store half. RestoreItem with WithRestorePlanLimit decides items_per_workspace in its own transaction, under the workspace seq lock. Same con
internal/store/restore_plan_limit_test.go:23
↓ 2 callersMethodrestoreLimitOpts
restoreLimitOpts is workspaceLimitMintOpts for RestoreItem, whose options are MutationOptions (BUG-3101). Cloud mode only, like the pre-check.
internal/server/handlers_cloud.go:1892
↓ 2 callersMethodrestoreScheduleChangesTx
restoreScheduleChangesTx maps only retained rows, so causal references never point at a discarded change. Unknown schedules represent deleted schedule
internal/store/schedule_carry_v2.go:276
↓ 2 callersMethodrestrict
(t *testing.T)
internal/mcp/board_test.go:234
↓ 2 callersFunctionrestrictShareMarkup
(html: string)
web/src/lib/components/share/shareRender.ts:110
↓ 2 callersFunctionresultJSON
resultJSON returns the result's JSON value: the structured content when present, else the text parsed as JSON.
internal/mcp/chatgpt_project.go:281
↓ 2 callersFunctionresultRefs
(t *testing.T, res *CallToolResult)
internal/mcp/dispatch_http_needs_test.go:304
↓ 2 callersMethodresumeOutrunsLocalView
resumeOutrunsLocalView reports whether a resume from sinceID is asking about ids this instance cannot vouch for, by asking the one authority that know
internal/watchevents/redis_bus.go:935
↓ 2 callersMethodretargetSimpleReminderTx
retargetSimpleReminderTx requires the caller to pin and check the simple run-once shape. An ended commitment has no alarm, so rearming creates one.
internal/store/reminder_commitment.go:154
↓ 2 callersMethodretimeArmedReminderTx
retimeArmedReminderTx moves the managed row's instant only while it is still armed. It returns nil on 0 rows (fired or absent): a fired row's occurren
internal/store/schedules.go:1174
↓ 2 callersMethodretryPending
Put a failed or unconfirmed bubble back in flight. Returns it so the caller re-sends with its op_key.
web/src/lib/chat/model.ts:84
↓ 2 callersFunctionretypeConventionRole
retypeConventionRole replaces the conventions collection's DECLARED `role` field with def. `role` is chosen because it is on conventionFieldKeys: a ke
internal/server/handlers_artifact_import_relation_carry_test.go:225
↓ 2 callersMethodreusableEndedReminderCarrierQ
reusableEndedReminderCarrierQ ignores item-level gates: rearming preserves those gates, and the ordinary commitment firing path continues to honor the
internal/store/reminder_commitment.go:39
↓ 2 callersFunctionreusedByAnotherClient
reusedByAnotherClient reports whether a reused (invalidated or inactive) code or refresh token is being presented by a client other than the one it wa
internal/oauth/storage.go:225
↓ 2 callersFunctionrevealAny
revealAny returns the value a credential carries, whether it is a string or something with a Reveal method.
internal/server/task4323_server_secrets_test.go:59
↓ 2 callersMethodrevokeAppGrantOnce
revokeAppGrantOnce is one attempt at ending an installed app's grant by request id, whoever holds it: RevokeUserAppGrant after its ownership check, an
internal/store/app_grants.go:132
↓ 2 callersMethodrevokeClaimedCLIAuthToken
How a minted token leaves cli_auth_sessions (BUG-4836). There are two ways, and each starts with a write conditional on status = 'approved', so exactl
internal/store/cli_auth_sessions.go:341
↓ 2 callersFunctionrewriteBundle
rewriteBundle re-tars a real bundle, passing pad-export.json through edit and repeating the entry named dup (if any) once more.
internal/server/bug3357_bundle_ownership_test.go:17
↓ 2 callersFunctionrewriteErrorMessage
rewriteErrorMessage applies edit to the message of an error result: the envelope's error.message when the text is one, else the whole text.
internal/mcp/dispatch_http_needs.go:184
↓ 2 callersMethodrewriteJSON
JSON is visited as decoded leaves. Item-owned JSON uses the same walker as event snapshots, including structural keys at every depth.
internal/store/redact_match.go:81
↓ 2 callersMethodrewriteOwnedJSONAt
rewriteOwnedJSONAt is rewriteOwnedJSON for a column whose root may itself be a field map (items.fields, item_builtin_origin.seed_fields).
internal/store/redact_match.go:149
↓ 2 callersFunctionrole
(name: string)
web/src/lib/commitment.ts:250
↓ 2 callersFunctionroleCmd
()
cmd/pad/cmd_role.go:17
↓ 2 callersFunctionroleEdit
roleEdit gives the named schedules stored role data, with the dates and kind of schedule the case needs.
internal/store/schedule_link_import_test.go:849
↓ 2 callersFunctionroleOffsetsRaw
TASK-4610: every commitment view carries role_offsets, the schedule row's own stored offsets, so a client can edit the series losslessly.
internal/server/commitment_role_offsets_test.go:15
↓ 2 callersFunctionroleParkCmd
()
cmd/pad/cmd_role.go:230
↓ 2 callersFunctionroleText
(value: string, zone: string)
web/src/lib/calendar/presentation.ts:283
↓ 2 callersFunctionroleWall
roleWall shifts an occurrence wall by a role offset in civil time, the arithmetic every role value is read with (resolveRoleValue). The result is all-
internal/store/schedules.go:277
↓ 2 callersMethodrootPastDeadline
rootPastDeadline reads either orientation of the root target/deadline violation.
internal/store/commitment_cascade.go:224
↓ 2 callersFunctionroots
()
web/src/lib/components/common/Lightbox.svelte.test.ts:211
↓ 2 callersMethodrotateAppWebhookSecretTx
rotateAppWebhookSecretTx mints a new signing secret for the install's hook, marks it delivered (the caller is handing it to the app now: redeem), and
internal/store/app_webhooks.go:136
↓ 2 callersFunctionroundTrip
PLAN-3578 step 3: an undo is the inverse patch anchored on each edit's context, and it refuses unless every anchor occurs exactly once.
internal/bodypatch/undo_test.go:12
↓ 2 callersFunctionroundTrips
roundTrips reports whether emitting `[[title]]` the way links.ReplaceTitle does — plain concatenation, no escaping — produces a bracket that reads bac
internal/models/document_title_test.go:35
↓ 2 callersFunctionroutingTestHandler
(items []models.Item)
cmd/pad/format_markdown_routing_test.go:86
↓ 2 callersFunctionrow
(path = '/dave/northwind/tasks/fix-the-thing')
web/src/lib/components/needs/NeedsRow.svelte.test.ts:7
↓ 2 callersFunctionrow
(id: string, seq: number | undefined, sort_order: number)
web/src/lib/stores/localIndexScopeStale.svelte.test.ts:15
↓ 2 callersFunctionrow
(id: string, seq: number, collection = 'kept')
web/src/lib/stores/localIndexMovedOutFloor.svelte.test.ts:57
↓ 2 callersFunctionrow
(id: string, seq: number, title: string)
web/src/lib/stores/localIndexReconcileDuplicate.svelte.test.ts:18
↓ 2 callersFunctionrow
(id: string, seq: number, collection = 'kept')
web/src/lib/stores/localIndexReconcileAuthDrop.svelte.test.ts:28
↓ 2 callersFunctionrow
(id: string, seq: number)
web/src/lib/stores/localIndexReconcileOneReadPerAsk.svelte.test.ts:19
↓ 2 callersFunctionrow
(extra: Partial<AgendaEntry> = {})
web/src/lib/calendar/presentation.test.ts:5
↓ 2 callersFunctionrow
(id: string)
web/src/lib/api/bug3789ListWalks.test.ts:9
↓ 2 callersFunctionrowEl
(ref: string)
web/src/routes/(console)/needs/needsPage.svelte.test.ts:1133
↓ 2 callersFunctionrowEl
(ref: string)
web/src/lib/components/home/DesktopHome.notmine.svelte.test.ts:80
↓ 2 callersFunctionrowLabel
(row: HTMLElement)
web/src/lib/components/collections/statusPickerTestKit.ts:26
↓ 2 callersFunctionrowNewer
rowNewer orders two rows by created_at, then kind priority, then id.
internal/server/push_dispatch.go:474
↓ 2 callersMethodrowState
A schedule that is an end of a link is edited only where the edit cannot shift a date the link supplies (TASK-4353, 2a). Without the refusal a timing
internal/store/commitment_links_guard_test.go:14
↓ 2 callersFunctionrowTop
Viewport top of the row with this title.
web/e2e/bug-3165-list-scroll-after-expand.spec.ts:55
↓ 2 callersFunctionrows
()
web/src/lib/components/layout/WorkspaceSwitcher.notLoaded.svelte.test.ts:43
↓ 2 callersFunctionrows
(scroller: HTMLElement)
web/src/lib/collections/listScrollHandoff.ts:32
↓ 2 callersFunctionrows
(page: Page)
web/e2e/chat-thread-read.spec.ts:72
↓ 2 callersFunctionrun
( ctx: CollabFlushContext, markdown: string, keepalive: boolean, mark: number | undefined, )
web/src/lib/collab/collabFlush.svelte.ts:259
↓ 2 callersFunctionrun
(...args: string[])
web/e2e/lib/real-install.ts:63
↓ 2 callersMethodrun
run executes the pad subprocess. It retains at most limit bytes of stdout (defaulting to defaultResponseMaxBytes when limit <= 0), draining and discar
internal/mcp/resources.go:87
↓ 2 callersFunctionrunAuthCodeFlowFor
runAuthCodeFlowFor is runAuthCodeFlow for a server whose OAuth audience is not testCanonicalAudience.
internal/server/handlers_oauth_test.go:2568
↓ 2 callersFunctionrunBackfillStatements
runBackfillStatements replays the migration's UPDATE statements. The migration itself is version-tracked and won't re-run, so the statements are read
internal/store/collection_traits_backfill_test.go:143
↓ 2 callersFunctionrunClientSession
runClientSession returns the initialized client as well as the handshake result so tests can inspect later protocol responses on the same session.
internal/mcp/server_test.go:199
↓ 2 callersFunctionrunCommentTombstonePopulation
(t *testing.T, s *Store)
internal/store/comments_tombstone_test.go:34
↓ 2 callersMethodrunDecisionTick
(ctx context.Context)
internal/server/decision_tick.go:190
↓ 2 callersMethodrunItemClosingGuards
runItemClosingGuards preserves open_children precedence while including every warning that a single force retry will override, using the same transact
internal/server/handlers_items_schedule_active.go:24
↓ 2 callersMethodrunJob
runJob calls one job function of the bundle (materialize or snapshot) with job's JSON, under ctx's interrupt.
internal/materialize/materialize.go:217
↓ 2 callersFunctionrunLimitedMintRace
(t *testing.T, s *Store, m limitedMint, competitorCounts bool)
internal/store/limits_mint_race_test.go:121
↓ 2 callersFunctionrunLimitedWorkspaceRace
(t *testing.T, s *Store, c limitedWorkspaceInsert, competitorCounts bool)
internal/store/limits_workspace_mint_race_test.go:156
↓ 2 callersFunctionrunLink
(t *testing.T, dir, url string, args ...string)
cmd/pad/task3612_link_repoint_test.go:82
↓ 2 callersFunctionrunLiveSetEpoch
(t *testing.T, restricted bool)
internal/server/bug3428_phase2_epoch_guard_test.go:109
↓ 2 callersFunctionrunMCPStatus
(cmd *cobra.Command, inst *mcpserver.Installer)
cmd/pad/mcp.go:187
↓ 2 callersMethodrunOutboxRetention
runOutboxRetention enforces both halves of the retention window. Both, on every tick, because they bound different things: dispatched rows are histor
internal/server/outbox_drain.go:474
↓ 2 callersFunctionrunPin
(t *testing.T, dir string, args ...string)
internal/buildtools/pin_plugin_marketplace_test.go:84
↓ 2 callersFunctionrunPublishScriptID
runPublishScriptID runs publishScript directly and returns the id it assigned (0 when the dedupe token declined it). Since BUG-2744 the reply is {id,
internal/events/redis_idspace_test.go:1395
↓ 2 callersFunctionrunRestoreRace
(t *testing.T, s *Store, competitorCounts bool)
internal/store/restore_plan_limit_test.go:36
↓ 2 callersFunctionrunSearchWithCollection
(t *testing.T, stub *searchCollectionStub, collection string)
cmd/pad/search_collection_gate_test.go:46
↓ 2 callersFunctionrunShowMarkdown
TASK-3451: `pad item show --format markdown` prints the BODY ONLY, verbatim, so `item update --stdin` round-trips it (IDEA-2937). Skills and playbooks
cmd/pad/task3451_markdown_load_test.go:20
↓ 2 callersFunctionrunShowMarkdownWith
(t *testing.T, content, contentState string)
cmd/pad/task3451_markdown_load_test.go:25
↓ 2 callersFunctionrunTestShard
runTestShard runs scripts/test-shard.sh from the repo root against the shardpkg fixture, with spread as its pin file ("" for none).
internal/buildtools/test_shard_spread_test.go:13
↓ 2 callersFunctionrunTokenEdit
runTokenEdit sends only the fields given (nil is left out, so the server keeps it). It PATCHes first, and runs the step-up only when the server answer
cmd/pad/cmd_token.go:334
↓ 2 callersMethodrunTokenReaperTick
runTokenReaperTick runs one sweep. Each cleaner is independent — a failure in one is logged and does not skip the others. Quiet on success (operators
internal/server/token_reaper.go:98
↓ 2 callersFunctionruneBoundaryAtOrBefore
runeBoundaryAtOrBefore returns the largest index <= i that is not a UTF-8 continuation byte, so a cut there never SPLITS a rune: valid UTF-8 input yie
internal/decision/typesafe.go:525
↓ 2 callersFunctionsafeErrorText
safeErrorText is err.Error() that survives a nil receiver or a panicking method: a log call must never take the process down.
internal/logging/scrub.go:865
↓ 2 callersFunctionsafeJsonParse
(raw: string | undefined | null, fallback: T)
web/src/lib/stores/localSearch.svelte.ts:311
↓ 2 callersFunctionsafeLinkHref
(raw: string, origin: string)
web/src/lib/chat/urlPolicy.ts:24
↓ 2 callersFunctionsafeLocalFilenameFor
safeLocalFilenameFor is safeLocalFilename for a named OS, so the Windows branch is testable on any build host. ON WINDOWS ONLY, the name also goes th
cmd/pad/cmd_attachment.go:560
↓ 2 callersFunctionsafePath
(path: string)
web/src/lib/billing/upgradeResume.ts:27
↓ 2 callersFunctionsaid
(text: string, type: 'success' | 'error' = 'error')
web/src/routes/(console)/agenda/agenda.svelte.test.ts:42
↓ 2 callersFunctionsame
(w: Workspace, ref: Ref)
web/src/lib/stores/shellWorkspace.ts:10
↓ 2 callersFunctionsameFilePath
sameFilePath reports whether two paths name the same file.
cmd/pad/cmd_db_nul.go:353
↓ 2 callersFunctionsameIDs
(a, b []string)
internal/store/workspace_tabs_test.go:67
↓ 2 callersFunctionsameOffsets
(a, b *models.CommitmentRoleOffsets)
internal/store/commitment_role_offsets_test.go:50
↓ 2 callersFunctionsameServerURL
sameServerURL compares two .pad.toml url values. Empty means the local server. Scheme and host case, a default port and a trailing slash do not make a
cmd/pad/cmd_workspace.go:856
↓ 2 callersFunctionsameStringSet
(a, b []string)
internal/server/app_upgrade_diff.go:339
← previousnext →9,201–9,300 of 31,685, ranked by callers