MCPcopy Create free account

hub / github.com/PerpetualSoftware/pad / functions

Functions28,840 in github.com/PerpetualSoftware/pad

↓ 1 callersMethodClearWorkspaceImportStatus
ClearWorkspaceImportStatus removes the marker (the owner kept the partial workspace). Clearing an absent marker is not an error.
internal/store/workspace_import_status.go:83
↓ 1 callersMethodClose
Close delegates to the inner bus.
internal/metrics/instrumented_bus.go:123
↓ 1 callersMethodClose
Close kills the worker, if any, and refuses every later job with ErrClosed. Idempotent. A job running when Close is called fails with ErrClosed.
internal/materialize/supervisor.go:411
↓ 1 callersMethodClose
()
internal/events/subscribe_after_close_test.go:12
↓ 1 callersMethodClose
Close releases the hash guard, the staged blob and the reservation, in that order; each is idempotent, and Close is safe to call more than once.
internal/appstore/attachments.go:256
↓ 1 callersMethodCloseConn
CloseConn force-closes a single WebSocket connection registered with the manager, sending a close frame with a machine-readable reason first. Used by
internal/collab/manager.go:1445
↓ 1 callersFunctionCollapseDuplicateJSONKeys
CollapseDuplicateJSONKeys returns an item fields blob unchanged when no object in it repeats a member name, and otherwise re-encoded from Go's decode
internal/models/json_duplicate_keys.go:97
↓ 1 callersMethodCollect
(ch chan<- prometheus.Metric)
internal/metrics/metrics.go:1139
↓ 1 callersMethodCollectionCheckboxProgress
CollectionCheckboxProgress returns the per-item checkbox totals for every item in a collection whose content has at least one `- [ ]` / `- [x]` marker
internal/store/items.go:2031
↓ 1 callersMethodCommentsViaApp
CommentsViaApp returns, for the comments an app wrote, that app.
internal/store/app_attribution.go:89
↓ 1 callersMethodCommitmentLinkPartnersQ
CommitmentLinkPartnersQ is an unfiltered internal authorization query. Unlike ListScheduleLinks it retains deleted and unreadable ends; callers never
internal/store/commitment_access.go:67
↓ 1 callersMethodCompactedResumeAdmitted
()
internal/collab/observer.go:55
↓ 1 callersMethodCompanionItemCollection
CompanionItemCollection returns the collection of a live item that this install created, refusing any other item the same way the update will.
internal/store/fenced_items.go:188
↓ 1 callersMethodCompleteIdempotencyKey
CompleteIdempotencyKey is CompleteIdempotencyKeyTx for a write that has no transaction of its own (push, TASK-3585), in a transaction of its own.
internal/store/idempotency.go:124
↓ 1 callersFunctionComputeAdminUserStatusValue
ComputeAdminUserStatusValue is the exported wrapper around computeAdminUserStatus. Used by handlers that compute the status pill for a single-user res
internal/store/users.go:446
↓ 1 callersMethodConfidenceOr
ConfidenceOr returns the answer's confidence, or def when the primitive carries none. Use it where a missing confidence has a defensible default; read
internal/decision/decision.go:221
↓ 1 callersMethodConnectionWorkspaceCount
ConnectionWorkspaceCount returns the raw row count from oauth_connection_workspaces for a given request_id — regardless of the parent connection's all
internal/store/oauth_connections.go:634
↓ 1 callersMethodConversationMemberActors
ConversationMemberActors lists identities for a committed chat retraction (TASK-4041). Membership is checked just as on every other chat read.
internal/store/conversations.go:797
↓ 1 callersMethodCountActiveOAuthAccessTokens
CountActiveOAuthAccessTokens returns the number of access-token rows with active=1. Backs the pad_oauth_active_tokens gauge (TASK-961). Caveat: the s
internal/store/oauth.go:573
↓ 1 callersMethodCountAttachmentsForStorageKeyOutsideWorkspace
CountAttachmentsForStorageKeyOutsideWorkspace counts attachment rows in a DIFFERENT workspace that point at the same PHYSICAL blob (storage_key). Atta
internal/store/workspace_purge.go:135
↓ 1 callersMethodCountEffortBackfill
CountEffortBackfill is the dry run: how many jobs BackfillEffort would owe now. It ignores the marker and writes nothing.
internal/decision/effort_backfill.go:86
↓ 1 callersMethodCountProtectingAttachmentsForHash
CountProtectingAttachmentsForHash returns the number of rows pointing at the given content_hash whose presence requires the on-disk blob to stay. A ro
internal/store/attachments.go:1373
↓ 1 callersMethodCountStarredItems
CountStarredItems returns the number of starred items for a user in a workspace.
internal/store/item_stars.go:165
↓ 1 callersMethodCreateCLIAuthSessionFrom
CreateCLIAuthSessionFrom is the handler's door: it records who asked (TASK-2253) and picks the setup TTL when setup is true.
internal/store/cli_auth_sessions.go:76
↓ 1 callersMethodCreateItemCommitment
CreateItemCommitment attaches a schedule to an item.
internal/cli/client_schedule.go:44
↓ 1 callersMethodCreatePKCERequestSession
===================================================================== PKCERequestStorage =============================================================
internal/oauth/storage.go:470
↓ 1 callersMethodCreateUserToken
CreateUserToken mints a new API token owned by the authenticated user. The response carries the plaintext secret exactly once; it is never retrievable
internal/cli/client_tokens.go:38
↓ 1 callersMethodCreateWatch
CreateWatch creates (or replaces the predicate on) a durable watch for the current user on an item (TASK-2533). predicate is the raw `--until field=va
internal/cli/client.go:827
↓ 1 callersMethodCreateWebhook
CreateWebhook registers a new webhook for a workspace.
internal/cli/client.go:1838
↓ 1 callersMethodCurrent
()
internal/server/server.go:1028
↓ 1 callersFunctionDateConflicts
DateConflicts reports a commitment own date bounds, independent of its links.
internal/schedule/links.go:729
↓ 1 callersMethodDeclineMyInvitation
DeclineMyInvitation declines (deletes) a pending invitation by id.
internal/cli/client.go:3656
↓ 1 callersFunctionDecodeCatchUp
DecodeCatchUp decodes a GetCatchUp body into the typed mirror, for the renderers that read its fields. A shape it cannot hold is an error there.
internal/cli/client.go:1699
↓ 1 callersFunctionDecomposePlaybook
DecomposePlaybook returns the library entry for the generic `decompose` playbook. Title is "Decompose a plan into tasks" to read well in the library c
internal/collections/playbook_library_decompose.go:167
↓ 1 callersFunctionDefaultTerminalStatusPlaceholders
DefaultTerminalStatusPlaceholders returns placeholders and args for the default terminal statuses list.
internal/models/terminal.go:395
↓ 1 callersMethodDelete
Delete removes the credential for the given server URL. No-op if the entry isn't present, or if the receiver is nil.
internal/cli/credentials.go:348
↓ 1 callersMethodDeleteAgentRole
(workspaceID, id string)
internal/store/agent_roles.go:153
↓ 1 callersMethodDeleteAgentRole
DeleteAgentRole removes an agent role from a workspace.
internal/cli/client.go:1893
↓ 1 callersMethodDeleteCLIAuthSession
DeleteCLIAuthSession removes a CLI auth session by code.
internal/store/cli_auth_sessions.go:235
↓ 1 callersMethodDeleteChatMessage
(number int, seq int64)
internal/cli/client.go:3743
↓ 1 callersMethodDeleteItemCommitment
DeleteItemCommitment removes an item's schedule and its managed reminder.
internal/cli/client_schedule.go:56
↓ 1 callersMethodDeletePKCERequestSession
DeletePKCERequestSession removes the row after a successful /token exchange. fosite's PKCE lifecycle is delete-on-use, distinct from auth codes (which
internal/oauth/storage.go:496
↓ 1 callersMethodDeletePushDeviceByID
DeletePushDeviceByID removes one device row. Absent is not an error.
internal/store/push_dispatch.go:406
↓ 1 callersMethodDeletePushDeviceIfCurrent
DeletePushDeviceIfCurrent removes the device row only while it is still the registration that was SENT to: same id, same token AND same reg_seq. The d
internal/store/push_dispatch.go:421
↓ 1 callersMethodDeleteRefreshToken
DeleteRefreshToken removes a refresh row entirely. Used by the rotation flow to drop the previous-step's refresh after the new one is in place.
internal/store/oauth.go:393
↓ 1 callersMethodDeleteReminder
DeleteReminder disarms a reminder by removing it.
internal/cli/client.go:3611
↓ 1 callersMethodDeleteStarsForItem
DeleteStarsForItem removes all stars for a given item (used when deleting an item).
internal/store/item_stars.go:247
↓ 1 callersMethodDeleteUserAPITokenInWorkspace
DeleteUserAPITokenInWorkspace removes a user's API token by ID only when it is pinned to workspaceID (BUG-3982): the revoke a workspace-pinned token m
internal/store/api_tokens.go:296
↓ 1 callersMethodDeleteUserSessions
DeleteUserSessions destroys all sessions for a user (logout everywhere).
internal/store/sessions.go:474
↓ 1 callersMethodDeleteView
DeleteView removes a view by ID.
internal/store/views.go:197
↓ 1 callersMethodDeleteWatch
DeleteWatch removes the current user's watch on an item.
internal/cli/client.go:837
↓ 1 callersMethodDeleteWebhook
DeleteWebhook removes a webhook by ID.
internal/cli/client.go:1844
↓ 1 callersMethodDeleteWebhookScoped
DeleteWebhookScoped removes a webhook by ID, verifying it belongs to the given workspace. Prevents cross-workspace deletion (TASK-266): an owner of on
internal/store/webhooks.go:213
↓ 1 callersFunctionDetectProject
DetectProject analyzes the current directory to determine project type, build system, test runner, CI, and other metadata.
internal/cli/detect.go:30
↓ 1 callersMethodDiscardCollabSetAside
DiscardCollabSetAside deletes the item's set-aside edits and returns how many rows it removed.
internal/cli/client.go:690
↓ 1 callersMethodDismissEndedCommitment
DismissEndedCommitment dismisses an ended schedule from Outstanding while its item stays open (TASK-4537).
internal/cli/client_schedule.go:69
↓ 1 callersFunctionDo
(s *store.Store)
internal/appstore/testdata/transitive/helper/helper.go:6
↓ 1 callersMethodDriver
()
internal/store/dialect.go:173
↓ 1 callersMethodDriver
()
internal/store/dialect.go:261
↓ 1 callersMethodEditCommitmentLink
EditCommitmentLink previews or applies an offset or cancellation policy edit.
internal/cli/client_schedule.go:122
↓ 1 callersMethodEligible
(userID, collectionID, itemID string)
internal/server/handlers_me_needs.go:278
↓ 1 callersFunctionEnabled
Enabled reads EnvSwitch through getenv.
internal/materialize/supervisor_config.go:42
↓ 1 callersMethodEnabled
(context.Context, slog.Level)
internal/server/task4278_effort_backfill_timeout_test.go:24
↓ 1 callersMethodEncode
Encode is the opaque token form.
internal/needs/cursor.go:155
↓ 1 callersMethodEndAppDelivery
EndAppDelivery removes an attempt's in-flight row. Safe to repeat.
internal/store/app_delivery.go:339
↓ 1 callersMethodEnsureAppItemActions
EnsureAppItemActions backfills the action rows of installs provisioned before U11 (the EnsureAppWebhooks pattern). Idempotent; a failure is logged per
internal/server/app_item_actions.go:68
↓ 1 callersMethodEnsureChatDM
(agent string)
internal/cli/client.go:3681
↓ 1 callersMethodError
()
internal/appmanifest/manifest.go:130
↓ 1 callersMethodError
()
internal/store/busy_error.go:109
↓ 1 callersMethodError
()
internal/store/schedule_resolve.go:46
↓ 1 callersMethodError
()
internal/store/documents.go:850
↓ 1 callersMethodError
()
internal/store/nulguard.go:71
↓ 1 callersMethodError
()
internal/store/unique_fields.go:205
↓ 1 callersMethodError
()
internal/store/schedule_reopen.go:20
↓ 1 callersMethodError
()
internal/bodypatch/bodypatch.go:33
↓ 1 callersMethodError
()
internal/server/handlers_items_reserved_write.go:81
↓ 1 callersMethodError
Error describes the refusal.
internal/schedule/links.go:235
↓ 1 callersMethodError
Error describes the exceeded limit.
internal/schedule/links.go:252
↓ 1 callersMethodError
Error reads like "schedule: malformed rule: BYMONTHDAY=32: out of range 1..31 or -31..-1".
internal/schedule/errors.go:58
↓ 1 callersMethodEventDropped
EventDropped mirrors WatchEventsObserver.NotificationDropped. reason is bounded by the events package, so it is safe as a label.
internal/metrics/events_observer.go:49
↓ 1 callersMethodEventDropped
EventDropped reports that a live subscriber's channel was full, so one event was not delivered TO THAT SUBSCRIBER. reason is bounded so it can be a me
internal/events/observer.go:91
↓ 1 callersMethodEventsSince
EventsSince delegates to the inner bus.
internal/metrics/instrumented_bus.go:138
↓ 1 callersFunctionExitWhenOrphaned
ExitWhenOrphaned: nothing to do on Windows, where the Job Object's KILL_ON_JOB_CLOSE ends the worker with its parent (memcap_windows.go).
internal/materialize/orphanwatch_other.go:7
↓ 1 callersFunctionExitWhenOrphaned
ExitWhenOrphaned starts a goroutine that exits the process (status 70) as soon as its parent pid is no longer the supervising process: the parent died
internal/materialize/orphanwatch_unix.go:23
↓ 1 callersFunctionExtractSpecsPlaybook
ExtractSpecsPlaybook returns the seeded `extract-specs` playbook for the spec template. invocation_slug=`extract-specs` routes `/pad extract-specs <ta
internal/collections/templates_sdd_extract.go:141
↓ 1 callersMethodFTSColumnMatched
FTSColumnMatched returns SQL that is 1 when one indexed column matches the query and 0 otherwise, so a search can say which column matched without rea
internal/store/dialect.go:128
↓ 1 callersMethodFTSMatch
(table, _, query string)
internal/store/dialect.go:227
↓ 1 callersMethodFetchBytes
FetchBytes serves the attachment-download resource read in-process, bounding retained output at the resource limit so a large blob can't balloon memor
internal/mcp/resources_http.go:134
↓ 1 callersFunctionFieldsDSLToSchemaJSON
FieldsDSLToSchemaJSON parses the DSL and returns the marshaled CollectionSchema JSON string. Empty input returns "{}" — an empty schema. Convenience w
internal/collections/dsl.go:101
↓ 1 callersFunctionFindBootstrapIncludes
FindBootstrapIncludes returns every (collection, declaration) pair feeding the named bootstrap payload. More than one collection MAY feed the same key
internal/collections/traits.go:83
↓ 1 callersMethodFlush
()
internal/server/mcp_stream_keepalive.go:111
↓ 1 callersMethodFlush
Flush satisfies http.Flusher for callers that type-assert it.
internal/server/flush_error_writer.go:78
↓ 1 callersMethodFlush
Flush satisfies http.Flusher, which the compressor and streaming handlers type-assert for. It has no error return; FlushError carries the error.
internal/server/middleware_write_deadline.go:248
↓ 1 callersMethodFlushError
()
internal/server/flush_error_writer.go:72
↓ 1 callersMethodFlushError
FlushError is what http.ResponseController.Flush calls, so a handler that flushes through one learns that the flush failed (the deadline expired on a
internal/server/middleware_write_deadline.go:238
↓ 1 callersFunctionFormatDiffSummary
FormatDiffSummary returns a human-readable summary of changes. Its "lines" are character-diff CHUNKS (a one-character edit reads +1/-1); LineCounts is
internal/diff/diff.go:140
↓ 1 callersMethodGenerate
()
internal/mcp/transport_test.go:21
↓ 1 callersMethodGet
Get returns the credential for the given server URL, or nil if none exists. URL is canonicalized (trailing slash + whitespace stripped) before lookup.
internal/cli/credentials.go:323
↓ 1 callersMethodGetAgenda
GetAgenda returns the workspace agenda for [from, to). tz is optional.
internal/cli/client_schedule.go:82
↓ 1 callersMethodGetAgentBootstrap
--- Bootstrap --- GetAgentBootstrap returns the consolidated bootstrap blob — workspace + user + collections + always-on conventions + roles + playboo
internal/cli/client.go:1557
← previousnext →9,101–9,200 of 28,840, ranked by callers