MCPcopy Create free account

hub / github.com/PerpetualSoftware/pad / functions

Functions28,840 in github.com/PerpetualSoftware/pad

↓ 2 callersFunctionbuildTimeline
buildTimeline merges comments, activities, versions, implementation notes, and decision-log entries into a single chronological stream, applying dedup
internal/server/handlers_timeline.go:491
↓ 2 callersFunctionbuildToolSurfacePayload
buildToolSurfacePayload assembles the full tool-surface document (version + rollout status + tools) from a catalog slice. The payload shape is identic
internal/mcp/tool_surface.go:310
↓ 2 callersFunctionbuiltinKindOf
builtinKindOf answers the built-in kind a collection's traits declare (convention or playbook), or "" for any other collection.
internal/store/builtin_legacy.go:186
↓ 2 callersFunctionbuiltinOfferHeadline
--- export --- builtinOfferHeadline names an offered state for a person.
cmd/pad/cmd_library.go:508
↓ 2 callersFunctionbuiltinOffers
(state string)
internal/server/handlers_builtin.go:56
↓ 2 callersFunctionbuiltinReplacedFields
builtinReplacedFields describes each key of patch whose value differs from the item's current one, as `key: old → new` (a nil new value reads "removed
internal/server/handlers_builtin.go:225
↓ 2 callersFunctionbuiltinTextOf
builtinTextOf is a stored text as a builtinText: its fields without status or nulls, the shape BuiltinEntry.UpdateFields gives the library's.
internal/server/handlers_builtin.go:63
↓ 2 callersFunctionbuiltinWorkspaceGroupView
(id, userID string, admitted []models.Workspace)
internal/server/handlers_workspace_groups.go:187
↓ 2 callersFunctionbumpEpoch
Stand-in for anything that mutates the local index.
web/src/lib/components/items/ItemPicker.svelte.test.ts:84
↓ 2 callersFunctionbumpReconcileToken
(ws: string)
web/src/lib/stores/localIndex.svelte.ts:378
↓ 2 callersFunctionbundleLimitRace
--- U1 on the BUNDLE import door (gzip body, same route) --- bundleLimitRace sends a one-entry bundle import from a session-authenticated free-plan us
internal/server/handlers_plan_limit_race_test.go:327
↓ 2 callersFunctionbusyMappingCases
--- handler-level mapping, real Postgres SQLSTATEs ---------------------------
internal/server/task4278_error_mapping_test.go:242
↓ 2 callersFunctionbutton
(re: RegExp)
web/src/routes/(console)/settings/account/task2193TokenConfirm.svelte.test.ts:69
↓ 2 callersFunctionbutton
(re: RegExp)
web/src/routes/(console)/settings/account/task3505TokenRotate.svelte.test.ts:76
↓ 2 callersFunctionbutton
(re: RegExp)
web/src/lib/components/collections/schemaEditImpact.svelte.test.ts:97
↓ 2 callersFunctionbutton
(text: RegExp)
web/src/lib/components/collections/archiveRestore.svelte.test.ts:66
↓ 2 callersFunctionbutton
(day: string)
web/src/lib/components/calendar/AgendaWeekStrip.svelte.test.ts:17
↓ 2 callersFunctionbuttons
()
web/src/lib/components/timeline/timelineVersionCardIdentityFence.svelte.test.ts:125
↓ 2 callersFunctioncalendarFeedHash
(token string)
internal/store/calendar_feeds.go:31
↓ 2 callersMethodcalendarItems
calendarItems reads the items the window selects and places each on its day. A date field is placed by its value (a date, or an instant in the value's
internal/server/handlers_calendar.go:519
↓ 2 callersFunctioncall
(fn: typeof upstreamAtBlank, out: string)
web/src/lib/collab/materializer/atBlank.test.ts:10
↓ 2 callersMethodcallRaw
callRaw is call() with a body the caller controls byte for byte, for the undecodable-JSON case that a map[string]any cannot express.
internal/server/handlers_items_copy_preflight_test.go:177
↓ 2 callersFunctioncallerIsGone
callerIsGone reports whether a Redis error is our own cancellation rather than a fault worth telling an operator about. A FUNCTION OF THE ERROR ALONE
internal/watchevents/redis_bus.go:838
↓ 2 callersFunctioncallsReindex
callsReindex reports whether the top-level decl name in src CALLS the helper. Lines that are // comments are ignored: a doc comment naming the helper
internal/store/task3917_comment_mentions_test.go:362
↓ 2 callersFunctioncanAcknowledge
(entry: AgendaEntry)
web/src/lib/calendar/presentation.ts:154
↓ 2 callersFunctioncanActivate
* Is this image an activation target right now? * * ONE predicate, read by activate() AND by applyImageSemantics(), * because "can be open
web/src/lib/components/editor/attachment-image.ts:423
↓ 2 callersFunctioncanBrowserPreview
(mime: string | null | undefined)
web/src/lib/attachments/display.ts:386
↓ 2 callersFunctioncanMove
(entry: AgendaEntry)
web/src/lib/calendar/presentation.ts:168
↓ 2 callersFunctioncanPreviewAsTable
(mime: string | null | undefined)
web/src/lib/attachments/display.ts:468
↓ 2 callersFunctioncanPreviewAsText
(mime: string | null | undefined)
web/src/lib/attachments/display.ts:480
↓ 2 callersFunctioncancel
()
web/src/lib/items/contentSaver.svelte.ts:68
↓ 2 callersMethodcancelAll
()
web/src/lib/utils/keyedCoalescer.ts:13
↓ 2 callersMethodcancelArmedReminderTx
cancelArmedReminderTx deletes the schedule's managed reminder only while it is armed. A row that already fired has gone out and stays, so ReminderFire
internal/store/commitment_cascade.go:768
↓ 2 callersFunctioncancelConfirm
()
web/src/lib/components/common/Lightbox.svelte.test.ts:5906
↓ 2 callersFunctioncancelOnlineReopen
()
web/src/lib/services/sse.svelte.ts:264
↓ 2 callersMethodcancelRows
(t *testing.T, i int)
internal/store/commitment_cancel_test.go:50
↓ 2 callersFunctioncancelRunning
(key: K)
web/src/lib/utils/keyedCoalescer.ts:68
↓ 2 callersFunctioncancelSpreadSync
()
web/src/lib/services/sse.svelte.ts:295
↓ 2 callersFunctioncanonForecastSource
(v string)
internal/store/milestone.go:55
↓ 2 callersFunctioncanonForecastValue
canonForecastValue is the one canonicaliser for a forecast value, used by the write door and by an import: a date (YYYY-MM-DD) or an RFC3339 instant,
internal/store/milestone.go:35
↓ 2 callersFunctioncanonicalEditorMarkdown
(editor: Editor, markdown: string, options: { flatSoftBreaks?: boolean } = {})
web/src/lib/collab/canonicalMarkdown.ts:43
↓ 2 callersFunctioncanonicalIP
canonicalIP returns the semantic (canonical text) form of an IP address string. For IPv6 this collapses different valid spellings (compressed vs expan
internal/server/middleware_auth.go:1033
↓ 2 callersFunctioncanonicalMediaType
canonicalMediaType returns the lower-cased media type stripped of parameters (charset, boundary, etc.).
internal/urlimport/detect.go:70
↓ 2 callersFunctioncanonicalizeRef
canonicalizeRef uppercases the prefix portion of a "PREFIX-N" ref so the index has a single canonical shape per (workspace, prefix, number) regardless
internal/links/extract.go:676
↓ 2 callersFunctioncanonicalizeRef
(ref: string)
web/src/lib/chat/refs.ts:208
↓ 2 callersFunctioncapFix
---- 3: the component cap holds at insert, and an over-cap component can be repaired. capFix builds item 0 (hub) with 500 raw links down to items 1..1
internal/store/commitment_links_review_test.go:165
↓ 2 callersMethodcapture
Take a token for the live view.
web/src/lib/attachments/viewFence.ts:94
↓ 2 callersFunctioncaptureDefaultLog
captureDefaultLog routes slog's default logger into a buffer for the rest of the test. Safe here because the tests using it are not parallel.
internal/events/redis_subscribe_rejected_test.go:86
↓ 2 callersFunctioncaptureStdoutDraining
captureStdoutDraining is captureStdout for output bigger than a pipe buffer (64 KiB): a few thousand JSON rows block the writer if nothing reads until
cmd/pad/bug4024_item_list_json_autopage_test.go:122
↓ 2 callersFunctioncaptureStore
captureStore is Postgres under make test-pg, SQLite otherwise.
internal/store/storetest/writecapture_test.go:18
↓ 2 callersFunctioncard
(ref = 'EX-30')
web/src/routes/(console)/agenda/agenda.svelte.test.ts:56
↓ 2 callersFunctioncard
(id: string, status: string, over: Partial<BoardItem> = {})
web/src/mcp-app/Board.svelte.test.ts:18
↓ 2 callersFunctioncardIn
(page: Page, scope: string, title: string)
web/e2e/bug-3158-landscape-touch-drag.spec.ts:65
↓ 2 callersFunctioncarriedFromExport
carriedFromExport reads a bundle's schedule. rdates and exdates are rebuilt from the parsed values, never kept as the bundle's text (BUG-4193).
internal/store/schedule_carry.go:431
↓ 2 callersFunctioncarryBoolSetting
carryBoolSetting copies key from storedSettingsJSON into newSettingsJSON when the stored settings carry it and the new ones do not. Anything that does
internal/models/awaits_human.go:60
↓ 2 callersMethodcarryLinkCount
carryLinkCount is how many links touch scheduleID whose other end's item canRead accepts. A nil predicate grants nothing.
internal/store/schedule_carry_copy.go:196
↓ 2 callersFunctioncarryReason
carryReason names a validation error as a drop reason.
internal/store/schedule_carry.go:67
↓ 2 callersMethodcascadeLinkedTx
cascadeLinkedTx extends a single-schedule pin only when a stored link uses it. A link to an absent or terminal other end keeps the single-row path. Wi
internal/store/commitment_links.go:969
↓ 2 callersFunctioncatchUpCmd
()
cmd/pad/cmd_project.go:991
↓ 2 callersFunctioncatchUpEmptyLine
(md bool)
cmd/pad/cmd_project.go:1080
↓ 2 callersFunctioncategoricalChipValue
(field: FieldDef | undefined, raw: unknown)
web/src/lib/components/share/shareView.ts:384
↓ 2 callersFunctioncategoricalTemplateValue
( collection: Collection | undefined, key: string, raw: unknown, resolve: (id: string) => ItemIndexRow | n
web/src/lib/utils/quick-action-preview.ts:56
↓ 2 callersFunctioncategoricalValueFor
( collections: Collection[], item: Pick<Item, 'collection_slug'> & { fields?: unknown }, key: string, raw:
web/src/lib/collections/categoricalFieldValue.ts:119
↓ 2 callersFunctioncategoricalValueForSlug
( collections: Collection[], collectionSlug: string | undefined, key: string, raw: unknown, notStale = tr
web/src/lib/collections/categoricalFieldValue.ts:91
↓ 2 callersFunctionchainBindings
Names bound by the scopes in an ancestor chain (see `visibleAt`).
web/src/test/identityFenceAst.ts:813
↓ 2 callersFunctionchainMeta
(prev, seq string)
internal/store/plan3578_seq_chain_test.go:10
↓ 2 callersFunctionchallengeOf
(r scopeCallResult)
cmd/pad/chatgpt_scope_test.go:107
↓ 2 callersFunctionchange
()
web/src/lib/stores/chatThread.svelte.test.ts:1781
↓ 2 callersFunctionchangeIdentity
(previousUserId = 'u1')
web/src/routes/(console)/settings/account/task4129SettleFences.svelte.test.ts:44
↓ 2 callersFunctionchangePassword
(srv *Server, bearer string)
internal/server/handlers_push_devices_test.go:358
↓ 2 callersFunctionchanged
A change: mark dirty now, remembering which marks this burst raised.
web/src/lib/items/editorBurstDirty.ts:26
↓ 2 callersFunctionchangedHashes
(lines: string[])
web/src/lib/components/items/itemDetailIdentityFenceAst.test.ts:1008
↓ 2 callersFunctionchangelogCmd
()
cmd/pad/cmd_project.go:783
↓ 2 callersFunctionchangelogRefs
(t *testing.T, srv *Server, slug string)
internal/server/handlers_changelog_abandoned_test.go:26
↓ 2 callersFunctionchangesAt
(serverTime: number)
web/src/lib/services/syncNotify.svelte.test.ts:56
↓ 2 callersFunctionchangesOfActivity
changesOfActivity reads the "changes" string an activity's metadata carries. It identifies WHICH write produced a row, which is what lets the assertio
internal/store/activities_test.go:824
↓ 2 callersFunctioncharIndexAtByte
(text, bytes)
plugin/hooks/register.js:1394
↓ 2 callersFunctioncharsetLen
charsetLen reports whether s is min-max characters of A-Z a-z 0-9 - _ plus those in extra.
internal/server/twofactor_challenge.go:34
↓ 2 callersFunctionchatAnchors
(text: string)
web/src/test/linkCensusScan.ts:40
↓ 2 callersFunctionchatDMState
chatDMState is the conversation's observable state: last_seq, every member's read and delivered markers, and every message's seq and deleted flag.
internal/server/task4054_chat_agent_separation_test.go:157
↓ 2 callersFunctionchatGPTMountPrerequisites
chatGPTMountPrerequisites is the hard prerequisite for serving the ChatGPT catalog (TASK-3321): its instructions promise that every content change is
cmd/pad/cmd_server_chatgpt.go:51
↓ 2 callersFunctionchatGPTParams
chatGPTParams resolves an entry's parameter names to the source's ParamDefs, in the entry's order.
internal/mcp/chatgpt_catalog.go:458
↓ 2 callersFunctionchatGPTResourceURL
chatGPTResourceURL derives the ChatGPT catalog's resource from the /mcp one: its path, or "/mcp" when it is the bare host the cloud proxy maps to /mcp
internal/config/mcp.go:142
↓ 2 callersFunctionchatGPTToolNames
()
internal/mcp/chatgpt_plugin_package_test.go:81
↓ 2 callersFunctionchatInboxPref
chatInboxPref reads chat_inbox. It is honoured only for a cookie session of a person: on any bearer or PAT stream, or for an app principal, it is igno
internal/server/handlers_watch_events.go:878
↓ 2 callersFunctionchatReadMark
(client *cli.Client, number int, seq int64)
cmd/pad/cmd_chat.go:227
↓ 2 callersMethodchatRequest
All chat hops, including target lookup and read marking, use executeRequest so the same authentication, scope and verified-email checks apply to each.
internal/mcp/dispatch_http_chat.go:18
↓ 2 callersFunctionchatSequence
(input map[string]any, name string, min int64)
internal/mcp/dispatch_http_chat.go:105
↓ 2 callersFunctionchatTestDoc
()
internal/mcp/dispatch_http_chat_test.go:19
↓ 2 callersFunctionchatTime
(t time.Time)
internal/store/conversations.go:45
↓ 2 callersFunctioncheck
(where: string)
web/src/lib/stores/chatThread.property.svelte.test.ts:258
↓ 2 callersMethodcheck
check validates an offset as a live write does (offsetOf) and bounds what the tables store: offset_days is a 32-bit INTEGER on Postgres, and a value p
internal/store/schedule_link_import.go:135
↓ 2 callersFunctioncheckBoundary
checkBoundary loads every root (package paths or ./patterns relative to dir) in ONE load, so the module is type-checked once, and returns each root's
internal/appstore/boundary_check_test.go:170
↓ 2 callersFunctioncheckDispatcherInlineInventory
checkDispatcherInlineInventory compares extracted inline spans against expectedDispatcherInlineCommands: exact set equality plus an order check, so a
cmd/pad/agent_dispatcher_commands_test.go:869
↓ 2 callersFunctioncheckDispatcherInventory
checkDispatcherInventory compares the normalized per-block command lines against expectedDispatcherCommands, so a deleted, added, substituted, or reor
cmd/pad/agent_dispatcher_commands_test.go:127
↓ 2 callersFunctioncheckFieldKeys
checkFieldKeys refuses any key the companion schema does not declare, and any key an app may not write: a relation or multi-relation (an app update ne
internal/appstore/items.go:260
↓ 2 callersFunctioncheckGateMigration
checkGateMigration is the assertions of both dialects, after the migration.
internal/store/commitment_gates_migration_test.go:80
↓ 2 callersMethodcheckItemAttachmentRefs
checkItemAttachmentRefs refuses a comment body unless every pad-attachment: reference in it names a live attachment bound to itemID. Unknown, foreign,
internal/store/fenced_comments.go:351
↓ 2 callersMethodcheckMCPRateLimit
checkMCPRateLimit applies the per-token bucket on /mcp requests (PLAN-943 TASK-959). Returns true if the request is allowed through; false if rate-lim
internal/server/middleware_ratelimit.go:1067
↓ 2 callersFunctioncheckNoticeMigration
(t *testing.T, s *Store, pg bool)
internal/store/commitment_notifications_migration_test.go:40
← previousnext →6,701–6,800 of 28,840, ranked by callers