MCPcopy Create free account

hub / github.com/PerpetualSoftware/pad / functions

Functions28,840 in github.com/PerpetualSoftware/pad

↓ 2 callersMethodstampTransitions
(t *testing.T, it *models.Item, ats ...string)
internal/store/items_field_range_test.go:64
↓ 2 callersMethodstamped
(t *testing.T, id string)
internal/appstore/comments_test.go:98
↓ 2 callersFunctionstart
()
web/src/lib/attachments/viewerTextLoader.svelte.ts:119
↓ 2 callersFunctionstart
()
web/src/lib/attachments/viewerBytesLoader.svelte.ts:83
↓ 2 callersFunctionstart
()
web/src/lib/attachments/viewerImageLoader.svelte.ts:170
↓ 2 callersFunctionstartDrag
()
web/src/lib/components/editor/block-drag-handle.ts:731
↓ 2 callersMethodstartEffortBackfill
startEffortBackfill runs the one-shot effort backfill (TASK-3921) off the caller's path. It sits here, not at boot, so it covers a provider the admin
internal/server/decision_settings.go:147
↓ 2 callersMethodstartMCPAuditWriter
startMCPAuditWriter constructs the audit writer + spawns its worker goroutine + spawns the periodic retention sweeper. Called once at startup, on ever
internal/server/middleware_mcp_audit.go:634
↓ 2 callersFunctionstartOfDay
(day: string, zone: string)
web/src/lib/calendar/presentation.ts:47
↓ 2 callersMethodstartPresence
* Poll the sessions list while the tab is visible. Reference counted: pages * that overlap during a navigation each start and stop once, and the pol
web/src/lib/stores/chatInbox.svelte.ts:179
↓ 2 callersFunctionstartSiblingStub
startSiblingStub starts a second `server start` of the same binary on a port of its own (port 0, announced), the shape of a sibling seat's e2e server,
internal/buildtools/install_refresh_test.go:1209
↓ 2 callersFunctionstartWatch
($, registered = () => {})
plugin/hooks/register.js:1132
↓ 2 callersFunctionstat
(name: string)
web/src/lib/components/calendar/WeekSummary.svelte.test.ts:28
↓ 2 callersFunctionstate
(dump string, m member)
scripts/decision-eval/conventions/main.go:109
↓ 2 callersMethodstates
(ids []string)
internal/server/task3939b2a_push_test.go:38
↓ 2 callersFunctionstatusColor
(s)
plugin/hooks/register.js:474
↓ 2 callersFunctionstatusGlyph
(s)
plugin/hooks/register.js:481
↓ 2 callersFunctionstatusOf
(ref: string)
web/src/mcp-app/Board.svelte.test.ts:72
↓ 2 callersFunctionstdioNumberCall
BUG-4070: on stdio, a "number" param gets remote's rule (numericInput) before it becomes CLI text. A string used to be forwarded verbatim, so an int f
internal/mcp/bug4070_stdio_numbers_test.go:20
↓ 2 callersFunctionstdioTypedFieldArgs
stdioTypedFieldArgs is the stdio door's encoding of the `fields` values that are not strings (TASK-3611): on the two commands that write fields, they
internal/mcp/dispatch.go:428
↓ 2 callersFunctionstepUpCodeHash
(id, code string)
internal/store/step_up.go:20
↓ 2 callersMethodstopAppPendingSweep
()
internal/server/app_pending_sweep.go:58
↓ 2 callersMethodstopped
stopped forgets the child, schedules the respawn and logs the stop. Called once per child: only the job holding the slot (or Close, which has already
internal/materialize/supervisor.go:951
↓ 2 callersMethodstoppedQuiet
stoppedQuiet forgets a child killed by onBaselineProbeFailure and schedules the respawn, like stopped, without the stop line (that path logs its own s
internal/materialize/supervisor.go:970
↓ 2 callersMethodstored
(title string)
internal/mcp/bug2772_remote_agent_identity_test.go:165
↓ 2 callersFunctionstoredAnswerOf
(a Answer)
internal/decision/runner.go:756
↓ 2 callersFunctionstoredIncludeFuture
BUG-3338: include_future_workspaces never narrowed anything. The wildcard (all_current_workspaces) is live and covers workspaces joined later, and not
internal/server/bug3338_include_future_test.go:21
↓ 2 callersFunctionstoredItemEntryIDs
(t *testing.T, s *Store, itemID string)
internal/store/item_entries_index_test.go:74
↓ 2 callersFunctionstoredNoteIDs
BUG-2788: the startup backfill persists an id on every stored entry that lacks a usable, unique one, SILENTLY (no seq, no updated_at, no outbox event)
internal/store/bug2788_entry_id_backfill_test.go:16
↓ 2 callersFunctionstoredObject
BUG-3985: flexJSONToString passes a whitespace-only settings string through untrimmed. A PATCH with one used to store it verbatim (not JSON). The coll
internal/server/bug3985_whitespace_settings_test.go:19
↓ 2 callersFunctionstoredStatus
(request: APIRequestContext, fixture: SuiteFixture, slug: string)
web/e2e/bug-3158-landscape-touch-drag.spec.ts:57
↓ 2 callersFunctionstrArray
* Coerce an array<string> param (the MCP transport may also deliver a single * string). Returns undefined when absent/empty. Throws on a non-string e
web/src/lib/webmcp/dispatch.ts:123
↓ 2 callersFunctionstrPtr
(s string)
internal/cli/item_summary_test.go:12
↓ 2 callersFunctionstrToWeekday
(str string)
internal/schedule/internal/rrule/str.go:63
↓ 2 callersFunctionstrayEnv
strayEnv is this process's environment without the knobs that would make the stray do anything but serve: no stray of its own, no log lines that a tes
internal/buildtools/testdata/stub/main.go:191
↓ 2 callersFunctionstreamFixture
streamFixture is an access fixture whose member holds a watched item, so a status change on it can serve as the sentinel on the member's streams.
internal/server/workspace_access_notify_test.go:433
↓ 2 callersFunctionstringsToAny
(values []string)
internal/mcp/install.go:561
↓ 2 callersFunctionstrip
(page: Page)
web/e2e/task-2244-mobile-touch-targets.spec.ts:17
↓ 2 callersFunctionstripCobraUsageBlock
stripCobraUsageBlock removes cobra's auto-appended "Usage: ..." help block from a stderr string. cobra emits this block on any runtime error from a Ru
internal/mcp/errors.go:933
↓ 2 callersFunctionstripCommentIndex
stripCommentIndex returns the position of an unquoted `#` that begins a same-line comment in s, or -1 if no such comment exists. Comments preceded by
internal/cmdhelp/json.go:526
↓ 2 callersFunctionstripComments
(src: string)
web/src/test/identityFenceSource.ts:157
↓ 2 callersFunctionstripControls
Every interactive control the strip renders, by the name a user would see.
web/e2e/task-2244-mobile-touch-targets.spec.ts:22
↓ 2 callersFunctionstripDuplicatedFieldsKeys
stripDuplicatedFieldsKeys removes implementation_notes and decision_log from a parsed fields object. The server hydrates both onto items as top-level
internal/mcp/dispatch.go:279
↓ 2 callersFunctionstripErrorPrefix
stripErrorPrefix removes the leading "Error:" prefix that the CLI (and many of its dependencies) emit on stderr lines. Cosmetic — the envelope's error
internal/mcp/errors.go:784
↓ 2 callersFunctionstripShellComment
stripShellComment cuts a trailing `#` comment, honouring single/double quotes.
cmd/pad/agent_dispatcher_commands_test.go:248
↓ 2 callersFunctionstructuralOverrideError
structuralOverrideError classifies the problems with a caller's field overrides that are about the REQUEST rather than about the workspace's state, an
internal/server/relation_referents.go:566
↓ 2 callersFunctionstubTransport
stub answers with fixed bytes and records the request body it read.
internal/mcp/chatgpt_security_test.go:19
↓ 2 callersFunctionsubmitOrderedOCC
(opts: { order: WriteOrder; ticket: WriteTicket; /** Attempts AFTER the first, so 2 means at most three sen
web/src/lib/items/fieldWriteOrder.ts:124
↓ 2 callersFunctionsubscribeAndConsumeAck
(t *testing.T, mr *miniredis.Miniredis)
internal/events/redis_probe_timeout_test.go:47
↓ 2 callersFunctionsubsetOf
(a, b []string)
internal/server/app_upgrade_diff.go:341
↓ 2 callersFunctionsubtract
subtract returns the dependencies in head that are not in base.
cmd/depages/main.go:279
↓ 2 callersFunctionsummarize
(vals []string, maxVals, maxLen int, sep string)
internal/server/handlers_items_copy_preflight.go:1625
↓ 2 callersFunctionsurfaces
Mounted surfaces — the Lightbox portals a `.lightbox-backdrop` to <body>.
web/src/lib/components/attachments/AttachmentSurfaceHost.svelte.test.ts:105
↓ 2 callersFunctionsurfacesUntrustedContent
(tool: ToolSurfaceTool)
web/src/lib/webmcp/descriptors.ts:111
↓ 2 callersFunctionsurfacing
surfacing is THE row test every surfacing read applies (TASK-3618): WorkspaceFlags for the dashboard and SurfacedDecisions for the item brief. qhashNo
internal/decision/runner.go:119
↓ 2 callersFunctionswapNodeUuid
(newId: string)
web/src/lib/components/editor/attachment-image.ts:1236
↓ 2 callersMethodsweepExpiredOAuthRows
sweepExpiredOAuthRows is the token reaper's OAuth step.
internal/server/oauth_sweep.go:103
↓ 2 callersFunctionsweepExpiredRefusedRawDrafts
(now = Date.now())
web/src/lib/items/refusedRawDraft.ts:239
↓ 2 callersMethodsweepLocked
sweepLocked evicts every key idle for longer than the retention as of now. Caller holds rl.mu.
internal/server/middleware_ratelimit.go:271
↓ 2 callersMethodsweepLocked
()
internal/server/import_outcomes.go:120
↓ 2 callersFunctionswitchBindings
The names a switch body declares: its cases share one block.
web/src/test/identityFenceAst.ts:782
↓ 2 callersFunctionsyncRequiredSpreadDelayMs
(rand: () => number = Math.random)
web/src/lib/services/syncSpread.ts:37
↓ 2 callersFunctionsyncSubtypes
Sync frames this socket sent, by y-protocols subtype (0 step1, 1 step2, 2 update).
web/src/lib/collab/wsProviderCatchUp.svelte.test.ts:42
↓ 2 callersFunctionsynthesizeAttachmentMetadata
synthesizeAttachmentMetadata maps an attachment HEAD response's headers into the `{id, mime, size, filename?, etag?, last_modified?}` JSON shape that
internal/mcp/dispatch_http_attachments.go:159
↓ 2 callersFunctiontabBoxes
(page: Page)
web/e2e/lib/workspace-tabs.ts:75
↓ 2 callersFunctiontabIDs
(t *testing.T, s *Store, userID string)
internal/store/workspace_tabs_test.go:38
↓ 2 callersFunctiontabLanding
( before: readonly { slug: string }[], goneSlug: string, after: readonly T[] )
web/src/lib/utils/tabLanding.ts:13
↓ 2 callersFunctiontabStep
(order, cur, to, listEntry)
plugin/hooks/register.js:290
↓ 2 callersFunctiontabs
(page: Page)
web/e2e/workspace-tabs.spec.ts:107
↓ 2 callersMethodtabsVisibleWorkspaces
tabsVisibleWorkspaces is the set every tab read and write is checked against: the caller's workspaces (members and guests, live only), narrowed by an
internal/server/handlers_workspace_tabs.go:53
↓ 2 callersMethodtake
(part, ref, title string, seq int64, v any)
internal/server/handlers_item_context.go:418
↓ 2 callersMethodtake
(install string, size int64)
internal/appstore/attachments.go:107
↓ 2 callersMethodtarBundle
tarBundle exports a scratch workspace from the env's own server as a tar bundle, through the real export route, as the PAT caller (no OAuth identity,
internal/server/handlers_workspace_import_autoadd_test.go:39
↓ 2 callersFunctiontarNextFailureGoesThroughTheKeepDoor
(t *testing.T, driver store.DriverType)
internal/server/handlers_import_bundle_bug3184_test.go:174
↓ 2 callersFunctiontarget
()
web/src/lib/components/timeline/TimelineVersionCard.svelte.test.ts:40
↓ 2 callersFunctiontarget
()
web/src/lib/components/items/masterFreeze/masterFreeze.svelte.test.ts:23
↓ 2 callersFunctiontargetOnDay
(entry: AgendaEntry, day: string, zone: string)
web/src/lib/calendar/presentation.ts:259
↓ 2 callersFunctiontask
(title: string)
web/src/lib/utils/markdown.renameMarker.svelte.test.ts:22
↓ 2 callersFunctiontask3401Fixture
(t *testing.T, access string)
internal/store/task3401_app_ceiling_test.go:22
↓ 2 callersFunctiontask3401Sorted
(ids []string)
internal/store/task3401_app_ceiling_test.go:48
↓ 2 callersFunctiontask3574Frame
(t *testing.T, name string)
internal/store/task3574_set_aside_whole_test.go:26
↓ 2 callersFunctiontask3595OnlyWorkspacePath
TASK-3595: a first Cloud signup lands inside the workspace auto-created for it, not on the console's list. The signup doors return where that is as an
internal/server/task3595_signup_landing_test.go:16
↓ 2 callersFunctiontask3867ApproveCLI
(t *testing.T, e *tokenAuthEnv)
internal/server/task3867_token_access_test.go:695
↓ 2 callersFunctiontask4051EnrichmentScanFault
(t *testing.T, srv *Server, ownerFault bool)
internal/server/task3939b2b_notification_test.go:435
↓ 2 callersFunctiontask4051PushServer
(t *testing.T)
cmd/pad/task3939c_configure_push_test.go:201
↓ 2 callersFunctiontask4315ChatEnabled
(t *testing.T, s *Store, id string)
internal/store/task4315_chat_setting_test.go:39
↓ 2 callersFunctiontasksCollection
tasksCollection returns the standard Tasks collection shared across templates. Extracted from Defaults() (IDEA-2527) so templates that want Tasks with
internal/collections/templates.go:151
↓ 2 callersFunctiontemplateMarker
templateMarker is the sentinel stamped on the template and expected on every clone. See buildPGTemplate for why a table comment carries it.
internal/store/storetest/postgres.go:207
↓ 2 callersFunctiontestCap
testCap is the cap for tests that are not about the cap: the platform's, except under the race detector.
internal/materialize/supervisor_test.go:300
↓ 2 callersFunctiontestEntryID
testEntryID mints a unique entry id. NewStructuredEntryID is unix-nano based, and two appends in the same nanosecond would be repaired to a new id by
internal/store/item_entries_index_test.go:31
↓ 2 callersFunctiontestHTTPSEndpoints
testHTTPSEndpoints is an https self-host's resolved MCP addressing: a usable origin with the two URLs the test harness has always used.
internal/server/mcp_capability_test.go:15
↓ 2 callersFunctiontestServerWithDeleteSpy
(t *testing.T)
internal/server/task4280_locked_calls_bounded_test.go:42
↓ 2 callersFunctiontestStore
(t *testing.T)
internal/appstore/appstore_test.go:17
↓ 2 callersFunctiontestTempBase
testTempBase is the directory t.TempDir() creates its per-test dirs in (<base>/<TestName><random>/<NNN>), read from a real t.TempDir() rather than os.
internal/buildtools/bug4066_harness_guard_test.go:57
↓ 2 callersFunctiontext
(x: Node)
web/src/lib/eachKeyCensus.test.ts:67
↓ 2 callersFunctiontextJSON
(t *testing.T, res *mcp.CallToolResult)
cmd/pad/chatgpt_projection_test.go:290
↓ 2 callersFunctionthisSessionRegistration
thisSessionRegistration is the live registry record of the session this process belongs to, with the path it was read from, under every check register
internal/cli/session_registry.go:180
↓ 2 callersFunctionthousands
thousands renders n with comma separators: 16958 → "16,958".
cmd/pad/cmd_item.go:4826
↓ 2 callersFunctionthrottleTime
throttleTime returns a timestamp 5 minutes before the given RFC3339 time string.
internal/store/users.go:1132
↓ 2 callersFunctionthumbs
()
web/src/lib/components/timeline/ItemTimeline.svelte.test.ts:253
← previousnext →8,701–8,800 of 28,840, ranked by callers