MCPcopy Create free account

hub / github.com/PerpetualSoftware/pad / functions

Functions28,840 in github.com/PerpetualSoftware/pad

MethodILike
()
internal/store/dialect.go:221
FunctionImportAlias
(r *nh.Request)
internal/server/testdata/bodyreaders/fixture.go:35
FunctionInsideSwitch
(r *nh.Request)
internal/server/testdata/bodyreaders/fixture.go:101
FunctionInstallSkill
InstallSkill writes the embedded pad SKILL.md to the target directory. target should be either "project" or "global".
internal/cli/skills.go:74
MethodInvocationSlugIndexTaken
InvocationSlugIndexTaken reports whether a live item in collectionID would collide with slug in idx_items_invocation_slug_per_collection, using the in
internal/store/app_pending.go:347
MethodIs
Is matches the refusal sentinel.
internal/schedule/links.go:243
MethodIs
Is matches ErrLinkLimit.
internal/schedule/links.go:257
MethodIs
Is makes errors.Is(err, ErrMalformed) true for any *MalformedError.
internal/schedule/errors.go:82
FunctionIsTerminal
IsTerminal returns true if stdin is a terminal (not piped/redirected).
internal/cli/skills.go:107
MethodIsValid
()
internal/store/nulguard.go:423
FunctionIsValidActor
(a string)
internal/models/document.go:212
FunctionIsValidSource
(s string)
internal/models/document.go:216
MethodItemLastRestoreSeq
ItemLastRestoreSeq returns items.last_restore_seq — the item.seq stamped by the most recent version RESTORE (BUG-2264), or (0, false) when the item ha
internal/store/yjs_updates.go:399
MethodItemLastRestoreSeq
(itemID string)
internal/collab/manager_test.go:343
MethodJSONArrayContains
(column, value string)
internal/store/dialect.go:243
MethodJSONArrayContains
(column, value string)
internal/store/dialect.go:387
MethodJSONArrayElements
(column, alias string)
internal/store/dialect.go:249
MethodJSONArrayElements
(column, alias string)
internal/store/dialect.go:392
MethodJSONExtractPath
(column, path string)
internal/store/dialect.go:183
MethodJSONExtractPath
(column, path string)
internal/store/dialect.go:275
MethodJSONFieldEquals
(column, key, arg string)
internal/store/dialect_fieldvalue.go:91
MethodJSONFieldEquals
(column, key, arg string)
internal/store/dialect_fieldvalue.go:132
MethodJSONFieldOrder
(column, key, dir string)
internal/store/dialect_fieldvalue.go:112
MethodJSONFieldOrder
(column, key, dir string)
internal/store/dialect_fieldvalue.go:155
MethodJSONRemove
JSONRemove returns SQL to remove a key from a JSON column. SQLite: json_remove(col, '$.key') PostgreSQL: col::jsonb - 'key'
internal/store/dialect.go:63
MethodJSONRemove
(column, key string)
internal/store/dialect.go:191
MethodJSONSet
(column, key string)
internal/store/dialect.go:187
MethodJSONSet
(column, key string)
internal/store/dialect.go:280
FunctionLatest
Latest keeps the newest row per criterion, in the order first seen.
internal/verification/verification.go:139
MethodLatestSnapshot
LatestSnapshot returns the most recent snapshot for a workspace, or nil.
internal/store/snapshots.go:67
MethodLatestYjsUpdateSchemaVersion
LatestYjsUpdateSchemaVersion returns the `schema_version` AND `id` of the most recently appended op-log row for an item. The boolean is false when no
internal/store/yjs_updates.go:315
MethodLatestYjsUpdateSchemaVersion
LatestYjsUpdateSchemaVersion mirrors the production store: returns the most recent op-log row's schema_version AND id for an item, or (false) when no
internal/collab/manager_test.go:173
MethodLen
()
internal/schedule/internal/rrule/rruleset.go:122
MethodLess
(i, j int)
internal/schedule/internal/rrule/rruleset.go:124
MethodListCollectionItems
ListCollectionItems returns items within a specific collection.
internal/cli/client.go:500
MethodListCustomTemplates
(workspaceID string)
internal/store/templates.go:10
MethodListDormantOpLogItemsBefore
ListDormantOpLogItemsBefore returns the distinct item_ids whose ENTIRE op-log is older than the given cutoff AND whose items.content_flushed_op_log_id
internal/store/yjs_updates.go:550
MethodListDormantOpLogItemsBefore
ListDormantOpLogItemsBefore returns item_ids whose entire op-log is older than the cutoff. Mirrors the production store's `GROUP BY item_id HAVING MAX
internal/collab/manager_test.go:246
MethodListForUser
(string)
internal/server/handlers_push_presence_unreadable_test.go:32
MethodListForUser
ListForUser implements SessionPresence, oldest connection first with the session id as a tiebreaker so the order is deterministic even for two connect
internal/server/session_presence.go:420
MethodListItemVersions
ListItemVersions returns the item's version history (newest-first), with reverse-patch diffs already resolved to full content server-side. Backs `pad
internal/cli/client.go:732
MethodListItems
--- Items --- ListItems returns items across all collections in a workspace. Use params for filtering, sorting, grouping, pagination, etc.
internal/cli/client.go:344
MethodListSnapshots
ListSnapshots returns snapshots for a workspace, ordered chronologically.
internal/store/snapshots.go:24
MethodListWebhooks
ListWebhooks lists a workspace's webhooks. A soft-deleted workspace has none (BUG-3340): the dispatcher's two delivery paths list through here, so its
internal/store/webhooks.go:168
MethodListWebhooks
--- Webhooks --- ListWebhooks returns all webhooks for a workspace.
internal/cli/client.go:1832
MethodListWebhooks
(workspaceID string)
internal/webhooks/dispatcher_test.go:58
MethodListWorkspaces
--- Workspaces ---
internal/cli/client.go:223
MethodListWorkspaces
(_ context.Context)
internal/mcp/errors_test.go:72
MethodListWorkspaces
ListWorkspaces satisfies WorkspaceLister so error helpers can populate available_workspaces hints. Best-effort: if listing fails (no auth, network dow
internal/mcp/dispatch.go:324
MethodListWorkspaces
ListWorkspaces returns the workspaces the agent is allowed to see in error-envelope hints, filtered by the OAuth allow-list. Behaviour by token state
internal/mcp/dispatch_http_lister.go:102
MethodListWorkspaces
(ctx context.Context)
internal/mcp/dispatch_http_workspace_default_test.go:32
MethodListenAndServe
ListenAndServe binds addr and serves until the server is shut down. It is Listen followed by Serve; callers that need to act BETWEEN the bind and the
internal/server/server.go:2847
MethodLoadYjsUpdatesSince
LoadYjsUpdatesSince returns the Yjs op-log rows for an item with id strictly greater than sinceID, ordered by id ascending. A sinceID of 0 returns ev
internal/store/yjs_updates.go:252
MethodLoadYjsUpdatesSince
(itemID string, sinceID int64)
internal/collab/manager_test.go:156
FunctionLocalAlias
(orig *nh.Request)
internal/server/testdata/bodyreaders/fixture.go:71
MethodMCPInsufficientScope
MCPInsufficientScope answers 403 with an insufficient_scope challenge when an OAuth connection that cannot write calls a tool action that writes (TASK
internal/server/middleware_mcp_scope.go:56
FunctionMCPResourceMetadataURLFromContext
MCPResourceMetadataURLFromContext is the protected-resource metadata URL of the MCP mount the request arrived on, or "" off a mount. The ChatGPT catal
internal/server/middleware_mcp_auth.go:683
MethodMarkChatDelivered
MarkChatDelivered acknowledges only messages printed by this monitor (TASK-4041).
internal/cli/client.go:1021
MethodMarshalJSON
()
internal/logging/redaction_followups_test.go:1595
MethodMarshalJSON
MarshalJSON serializes the union per spec §5.2.
internal/cmdhelp/types.go:107
MethodMarshalJSON
MarshalJSON adds a derived, read-only `edited` (IsEdited) to every serialised comment, so an agent reading JSON on either MCP transport sees the same
internal/models/comment.go:92
MethodMarshalJSON
()
internal/models/item.go:234
MethodMarshalText
()
internal/logging/redaction_followups_test.go:1591
MethodMaterialize
Materialize replays job.Rows and returns the markdown a tab would flush. When ctx ends while the JavaScript runs, the runtime is interrupted and the
internal/materialize/materialize.go:175
MethodMaterialize
(_ context.Context, job materialize.Job)
internal/server/materialize_recovery_test.go:42
MethodMaxOpLogID
MaxOpLogID returns MAX(id) of the persisted op-log rows for an item. ok is false when no rows exist. Used by the watermark- advancement check on colla
internal/store/yjs_updates.go:373
FunctionMethodValue
(r *nh.Request)
internal/server/testdata/bodyreaders/fixture.go:60
MethodMinOpLogID
MinOpLogID returns MIN(id) of the persisted op-log rows for an item. ok is false when no rows exist (a freshly-pruned or never- touched item). Used by
internal/store/yjs_updates.go:347
MethodMinOpLogID
MinOpLogID + MaxOpLogID power TASK-1319's resume-cursor protocol.
internal/collab/manager_test.go:309
FunctionMixedShortDecl
(r *nh.Request)
internal/server/testdata/bodyreaders/fixture.go:93
MethodModel
()
internal/decision/typesafe.go:173
MethodModel
()
internal/server/handlers_playbook_match_test.go:33
MethodModel
()
internal/server/task3618_item_context_decisions_test.go:17
MethodModel
()
internal/server/handlers_decisions_test.go:22
MethodModel
()
internal/server/dashboard_attention_decisions_test.go:24
MethodModel
()
internal/server/decision_settings_test.go:392
MethodModel
()
internal/server/decision_settings_test.go:565
MethodMoveItem
(wsSlug, itemSlug string, input map[string]any)
internal/cli/client.go:1092
MethodN
N returns index of the week, e.g. for 3MO, N() will return 3
internal/schedule/internal/rrule/rrule.go:72
FunctionNOOP
()
web/src/lib/webmcp/register.ts:28
MethodName
()
internal/decision/typesafe.go:172
MethodName
()
internal/server/handlers_playbook_match_test.go:32
MethodName
()
internal/server/task3618_item_context_decisions_test.go:16
MethodName
()
internal/server/handlers_decisions_test.go:21
MethodName
()
internal/server/needs_scorers.go:267
MethodName
()
internal/server/needs_scorers.go:506
MethodName
()
internal/server/dashboard_attention_decisions_test.go:23
MethodName
()
internal/server/decision_settings_test.go:391
MethodName
()
internal/server/decision_settings_test.go:564
MethodName
()
internal/server/needs_scorers_test.go:543
MethodName
()
internal/server/handlers_me_needs_test.go:559
FunctionNamedResult
()
internal/server/testdata/bodyreaders/fixture.go:49
FunctionNewClient
(host string, port int)
internal/cli/client.go:72
FunctionNewOAuthWorkspaceLister
NewOAuthWorkspaceLister wires a lister against a *store.Store. Production wiring (cmd/pad/main.go) calls this; tests use the alternate constructor tha
internal/mcp/dispatch_http_lister.go:63
FunctionNewProcessor
NewProcessor on the libvips build is a placeholder until Phase 2 ships the real govips-v2-backed implementation (DOC-865, "ImageProcessor interface wi
internal/attachments/processor_libvips.go:24
FunctionNotARequest
(p payload)
internal/server/testdata/bodyreaders/fixture.go:120
MethodNotificationDropped
(string)
internal/watchevents/cold_resume_test.go:191
MethodNotificationDropped
(reason string)
internal/watchevents/observer_test.go:37
MethodNotificationDropped
(string)
internal/watchevents/observer_test.go:528
MethodNow
()
internal/store/dialect.go:288
← previousnext →15,601–15,700 of 28,840, ranked by callers