MCPcopy Create free account

hub / github.com/PerpetualSoftware/pad / types & classes

Types & classes763 in github.com/PerpetualSoftware/pad

↓ 20 callersStructexpect
internal/mcp/dispatch_http_advanced_test.go:316
↓ 4 callersTypeAliasErrorCode
───────────────────────────────────────────────────────────────────── Structured MCP error envelopes (TASK-973) Replaces raw CLI stderr passthrough w
internal/mcp/errors.go:43
↓ 4 callersTypeAliasTokenKind
MCP audit log models (PLAN-943 TASK-960). Persistent record of every request that hits the /mcp endpoint — successful tool calls, denied calls, error
internal/models/mcp_audit.go:29
↓ 1 callersTypeAliasMCPAuditResultStatus
MCPAuditResultStatus is the outcome enum for an MCP request.
internal/models/mcp_audit.go:37
Class
web/src/lib/stores/localIndex.svelte.ts:80
Class
web/src/lib/api/client.ts:77
Class
web/src/lib/collab/wsProvider.svelte.ts:203
StructAPIError
--- HTTP helpers ---
internal/cli/client.go:1060
InterfaceAPIToken
web/src/lib/types/index.ts:38
StructAPIToken
APIToken represents a stored API token (without the secret).
internal/models/api_token.go:6
StructAPITokenCreate
APITokenCreate is the input for creating a new API token.
internal/models/api_token.go:19
InterfaceAPITokenWithSecret
web/src/lib/types/index.ts:50
StructAPITokenWithSecret
APITokenWithSecret is returned only on creation and includes the plaintext token. The token is never stored and cannot be retrieved again.
internal/models/api_token.go:28
StructActionEnv
ActionEnv carries everything an action handler needs to either dispatch to a CLI cmdPath or build a result inline. Wired up once per RegisterCatalog c
internal/mcp/catalog.go:113
FuncTypeActionFn
ActionFn handles one tool action. Receives the call context, the raw MCP input map, and a per-tool execution environment. Returns the CallToolResult t
internal/mcp/catalog.go:107
InterfaceActivity
web/src/lib/types/index.ts:920
StructActivity
internal/models/activity.go:79
StructActivityListParams
internal/models/activity.go:100
InterfaceAdminBillingStats
web/src/lib/types/index.ts:1362
StructAdminBillingStatsResponse
AdminBillingStatsResponse is the JSON shape returned by GET /api/v1/admin/billing-stats. It merges Stripe-derived metrics from pad-cloud (active_subsc
internal/server/handlers_admin_billing.go:23
StructAdminInvitation
AdminInvitation holds enriched invitation data for the admin panel.
internal/store/workspace_members.go:899
InterfaceAdminUser
web/src/lib/stores/admin.svelte.ts:7
StructAdminUserListEntry
AdminUserListEntry is one row returned by SearchUsers: the User model plus the cheap aggregations the admin user table renders at a glance. PLAN-1542
internal/store/users.go:292
StructAdminUserMetrics
AdminUserMetrics carries the windowed engagement metrics rendered by the admin user modal's Overview tab (T1553). Values are intentionally a small han
internal/store/users.go:752
StructAdminUserSearchParams
AdminUserSearchParams holds parameters for the admin user search query. Filters apply ANDed; nil pointer fields mean "no filter" (distinguished from t
internal/store/users.go:266
StructAdminUserSearchResult
AdminUserSearchResult holds the paginated search results.
internal/store/users.go:308
StructAdminUserWorkspace
AdminUserWorkspace is a lightweight workspace membership for admin views.
internal/store/workspace_members.go:970
StructAdminUserWorkspaceDetail
AdminUserWorkspaceDetail extends AdminUserWorkspace with per-workspace aggregations rendered in the admin user modal's Workspaces tab. PLAN-1542 / TAS
internal/store/workspace_members.go:982
StructAgent
Agent describes a known MCP-compatible client and how to find its per-user config file.
internal/mcp/install.go:38
StructAgentBootstrap
AgentBootstrap is the single response struct returned by the bootstrap endpoint. It consolidates the four /pad context-loading calls (workspace, colle
internal/server/handlers_bootstrap.go:23
StructAgentBootstrapConvention
AgentBootstrapConvention is a convention item with its body content so agents can read and follow it without a second round-trip. Only always-on, acti
internal/server/handlers_bootstrap.go:277
StructAgentBootstrapConventionMeta
AgentBootstrapConventionMeta is the lightweight, body-less convention projection returned in the bootstrap's convention_index. It mirrors the AgentBoo
internal/server/handlers_bootstrap.go:301
StructAgentBootstrapPlaybookMeta
AgentBootstrapPlaybookMeta is the lightweight playbook projection returned at bootstrap. Bodies (which can be 5-10KB each) are deliberately excluded;
internal/server/handlers_bootstrap.go:318
StructAgentBootstrapUser
AgentBootstrapUser is the calling user's projection. Email is included so agents can sign generated commits or reference the human; ID is included so
internal/server/handlers_bootstrap.go:263
StructAgentBootstrapWorkspace
AgentBootstrapWorkspace is the minimal workspace projection (slug + name + id) the agent needs to address the workspace in subsequent calls. Descripti
internal/server/handlers_bootstrap.go:253
InterfaceAgentRole
web/src/lib/types/index.ts:439
StructAgentRole
AgentRole represents a workspace-scoped capability role for human-agent assignment. Roles describe what kind of work gets done (e.g. "Planner", "Imple
internal/models/agent_role.go:8
InterfaceAgentRoleCreate
web/src/lib/types/index.ts:453
StructAgentRoleCreate
AgentRoleCreate is the input for creating a new agent role.
internal/models/agent_role.go:25
InterfaceAgentRoleUpdate
web/src/lib/types/index.ts:461
StructAgentRoleUpdate
AgentRoleUpdate is the input for updating an existing agent role.
internal/models/agent_role.go:34
StructAgentStatus
AgentStatus is one row of Installer.Status output.
internal/mcp/install.go:585
StructAgentTool
AgentTool describes a supported AI coding tool and how to install the Pad skill for it.
internal/cli/agents.go:12
InterfaceApiError
web/src/lib/types/index.ts:1335
StructArg
Arg is a positional argument.
internal/cmdhelp/types.go:54
StructArtifact
Artifact is a decoded export of one playbook or convention item.
internal/artifact/artifact.go:45
InterfaceAttachment
web/src/lib/types/index.ts:1385
StructAttachment
Attachment models a single uploaded blob in the attachments table. See [[Attachments — architecture & migration design]] (DOC-865). Storage is conten
internal/models/attachment.go:16
InterfaceAttachmentChipOptions
web/src/lib/components/editor/attachment-chip.ts:43
InterfaceAttachmentImageOptions
web/src/lib/components/editor/attachment-image.ts:88
InterfaceAttachmentListFilters
web/src/lib/types/index.ts:1518
StructAttachmentListFilters
AttachmentListFilters narrow the WorkspaceAttachments result set. Zero values mean "no filter on this dimension". The handler turns query-string param
internal/store/attachments.go:136
InterfaceAttachmentListItem
web/src/lib/types/index.ts:1478
StructAttachmentListItem
AttachmentListItem is a row from WorkspaceAttachments enriched with the parent item's title + slug + collection slug so the UI can render a clickable
internal/store/attachments.go:208
StructAttachmentListParams
AttachmentListParams encodes the query-string filters the `GET /api/v1/workspaces/{slug}/attachments` endpoint accepts. Zero values are skipped — the
internal/cli/client.go:1436
InterfaceAttachmentListResponse
web/src/lib/types/index.ts:1510
StructAttachmentListResponse
AttachmentListResponse mirrors the JSON returned by GET /api/v1/workspaces/{slug}/attachments. Rows are typed as json.RawMessage so the CLI can surfac
internal/cli/client.go:1460
StructAttachmentManifest
AttachmentManifest is the top-level shape of attachments/manifest.json inside an export bundle. Wraps a list of entries plus a small "schema" version
internal/models/export.go:45
StructAttachmentManifestEntry
AttachmentManifestEntry describes one attachment blob in the tar-bundle export's attachments/manifest.json. The bundle layout is: pad-export.json
internal/models/export.go:27
InterfaceAttachmentMeta
web/src/lib/markdown/attachments.ts:25
StructAttachmentMeta
AttachmentMeta is the minimal metadata needed to render a `pad-attachment:UUID` reference. Trimmed from the full models.Attachment row so callers can
internal/server/render/attachments.go:24
InterfaceAttachmentMetadata
web/src/lib/components/editor/attachment-metadata.ts:28
StructAttachmentMetadata
AttachmentMetadata mirrors the response headers of HEAD /api/v1/workspaces/{slug}/attachments/{id}. The server doesn't expose a separate JSON metadata
internal/cli/client.go:1389
FuncTypeAttachmentResolver
AttachmentResolver looks up an attachment by UUID. Returns nil for missing/deleted attachments — the resolver renders a "missing" placeholder in that
internal/server/render/attachments.go:37
InterfaceAttachmentStore
AttachmentStore is the backend abstraction every storage implementation must satisfy. Methods are safe for concurrent use.
internal/attachments/store.go:24
InterfaceAttachmentTransformResult
web/src/lib/types/index.ts:1427
InterfaceAttachmentUploadOptions
web/src/lib/components/editor/attachment-upload.ts:66
InterfaceAttachmentUploadResult
web/src/lib/types/index.ts:1404
StructAttachmentUploadResult
--- Attachments --- AttachmentUploadResult mirrors the JSON returned by POST /api/v1/workspaces/{slug}/attachments. It is the API contract callers de
internal/cli/client.go:1276
StructAuditLogParams
AuditLogParams are query parameters for the audit log endpoint.
internal/models/activity.go:114
InterfaceAuthSession
web/src/lib/api/client.ts:604
StructBackfillOAuthConnectionsResult
One-shot backfill from session.Extra["allowed_workspaces"] into the new per-connection tables (PLAN-1519 / TASK-1522 / IDEA-1517 §2). Phase A (TASK-1
internal/store/oauth_connections_backfill.go:41
StructBackfillStatusTransitionsResult
BackfillStatusTransitionsResult reports what the backfill did so the startup hook can log a one-line summary.
internal/store/status_transitions_backfill.go:98
StructBackfillWikiLinksResult
BackfillWikiLinksResult reports what the backfill did so cmd/pad/main.go can log a one-line summary at startup. Repeat runs should report ItemsScanned
internal/store/wiki_links_backfill.go:13
InterfaceBacklink
web/src/lib/types/index.ts:813
StructBacklink
Backlink is the wire shape returned by `GET /api/v1/workspaces/{ws}/items/{ref}/backlinks` — one inbound `[[...]]` reference to the queried item. The
internal/models/backlink.go:16
StructBacklinksVisibility
BacklinksVisibility is the per-call visibility scope GetBacklinks applies in SQL. Mirrors the (fullCollIDs, grantedItemIDs) shape `Server.guestResourc
internal/store/wiki_links.go:861
StructBillingAggregates
BillingAggregates is the set of users-table aggregates returned by CountBillingAggregates: per-plan customer counts and the number of new pro signups
internal/store/users.go:586
StructBillingMetricsResponse
BillingMetricsResponse mirrors the JSON pad-cloud returns from GET /admin/metrics/billing. All numeric fields are zero when StripeConfigured is false
internal/billing/cloud_client.go:116
InterfaceBlockInfo
web/src/lib/components/editor/block-drag-handle.ts:36
InterfaceBlockType
web/src/lib/components/editor/block-types.ts:6
StructBlocksEdge
BlocksEdge is a skinny projection of a `blocks` link plus the blocker (source) essentials the dashboard needs to decide whether a blocked item should
internal/store/items.go:3892
StructBootstrapCollection
BootstrapCollection is the lightweight collection projection delivered in the agent bootstrap response. Distinct from models.Collection: drops fields
internal/server/handlers_bootstrap.go:77
StructBootstrapDashboard
BootstrapDashboard is the bootstrap-side dashboard projection. It embeds *DashboardResponse so the wire shape stays compatible with the `GET /dashboar
internal/server/handlers_bootstrap.go:355
InterfaceBootstrapFetcher
BootstrapFetcher resolves the agent bootstrap blob for a given workspace. Used by pad_set_workspace to embed the blob in its response so an MCP host c
internal/mcp/workspace.go:21
StructBootstrapRole
BootstrapRole is the lightweight role projection delivered in the agent bootstrap response. Distinct from models.AgentRole: drops fields the /pad skil
internal/server/handlers_bootstrap.go:222
InterfaceBuiltToolDescriptor
web/src/lib/webmcp/descriptors.ts:33
InterfaceBulkItemFailure
web/src/lib/types/index.ts:746
InterfaceBulkItemOutcome
web/src/lib/types/index.ts:738
InterfaceBulkItemsResponse
web/src/lib/types/index.ts:755
StructCLIAuthSession
CLIAuthSession represents a pending or approved CLI login session.
internal/store/cli_auth_sessions.go:24
StructCLIAuthSessionResponse
CLIAuthSessionResponse is the response from POST /auth/cli/sessions.
internal/cli/client.go:983
StructCLIAuthSessionStatus
CLIAuthSessionStatus is the response from GET /auth/cli/sessions/{code}.
internal/cli/client.go:990
StructCapabilities
Capabilities describes the static capability profile of a Processor. It's safe to embed in HTTP responses — nothing here changes between requests, so
internal/attachments/processor.go:77
TypeAliasCapabilityTier
Connected-apps models (PLAN-943 TASK-954). A "connected app" is one OAuth client (Claude Desktop, Cursor, …) that the user has authorized to act on t
internal/models/connected_apps.go:19
InterfaceCappedItems
web/src/lib/components/share/shareView.ts:173
StructCatalogOptions
CatalogOptions configures RegisterCatalog. Mirrors RegistryOptions for the cmdhelp-walk path but adds PadVersion (needed by pad_meta).
internal/mcp/catalog.go:200
TypeAliasCategory
Category drives the icon shown on file chips and is also used by quota/usage UI to bucket totals (Phase 2 will surface "you have 1.2GB of images and 4
internal/attachments/mime.go:34
StructCategoryGroup
CategoryGroup is an ordered pair of (category, templates-in-that-category).
internal/collections/templates.go:57
InterfaceChangelogGroup
web/src/lib/types/index.ts:1064
next →1–100 of 763, ranked by callers