MCPcopy Create free account

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

Types & classes1,131 in github.com/PerpetualSoftware/pad

↓ 172 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:46
↓ 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 callersTypeAliasKind
Kind identifies which item type an artifact carries.
internal/artifact/artifact.go:17
↓ 1 callersTypeAliasMCPAuditResultStatus
MCPAuditResultStatus is the outcome enum for an MCP request.
internal/models/mcp_audit.go:37
↓ 1 callersStructverdict
internal/server/attachments_authz.go:203
↓ 1 callersStructwrite
internal/store/activities_test.go:668
Class
web/src/routes/workspaceDashboardAgentName.svelte.test.ts:39
Class
web/src/routes/workspaceDashboardAgentName.svelte.test.ts:39
Class
web/src/routes/activityPageAgentName.svelte.test.ts:33
Class
web/src/routes/activityPageAgentName.svelte.test.ts:33
Class
web/src/lib/components/layout/TopBar.svelte.test.ts:76
Class
web/src/lib/components/layout/TopBar.svelte.test.ts:76
Class
web/src/lib/components/attachments/viewerImagePayload.svelte.test.ts:59
Class
web/src/lib/components/items/ItemAttachmentStrip.svelte.test.ts:19
Class
web/src/lib/components/settings/StorageTab.svelte.test.ts:22
Class
web/src/lib/components/common/Lightbox.svelte.test.ts:1592
Class
web/src/lib/components/common/Lightbox.svelte.test.ts:1592
Class
web/src/lib/components/common/QuickActionsMenu.svelte.test.ts:21
Class
web/src/lib/stores/localIndex.svelte.ts:83
Class
web/src/lib/a11y/viewerBackdrop.svelte.test.ts:112
Class
web/src/lib/services/sseFirstConnectSync.svelte.test.ts:21
Class
web/src/lib/services/sseStaleSourceGuards.svelte.test.ts:21
Class
web/src/lib/api/client.ts:82
Class
web/src/lib/collab/wsProvider.svelte.ts:224
Class
web/src/test/setup-jsdom.ts:136
Class
web/e2e/lib/attachment-viewer.ts:336
StructAPIError
--- HTTP helpers ---
internal/cli/client.go:1377
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
InterfaceActiveLoad
web/src/lib/attachments/viewerImageLoader.svelte.ts:115
InterfaceActivity
web/src/lib/types/index.ts:1360
StructActivity
internal/models/activity.go:82
StructActivityListParams
internal/models/activity.go:103
InterfaceAddr
web/src/lib/attachments/surfaceMetadata.svelte.test.ts:30
InterfaceAdminBillingStats
web/src/lib/types/index.ts:1805
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:945
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:297
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:757
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:271
StructAdminUserSearchResult
AdminUserSearchResult holds the paginated search results.
internal/store/users.go:313
StructAdminUserWorkspace
AdminUserWorkspace is a lightweight workspace membership for admin views.
internal/store/workspace_members.go:1016
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:1028
InterfaceAdoptCollectionInput
web/src/lib/items/adoptCollection.ts:31
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:24
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:290
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:314
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:331
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:276
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:266
InterfaceAgentRole
web/src/lib/types/index.ts:507
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:521
StructAgentRoleCreate
AgentRoleCreate is the input for creating a new agent role.
internal/models/agent_role.go:25
InterfaceAgentRoleUpdate
web/src/lib/types/index.ts:529
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
InterfaceAnchorAttachmentAction
web/src/lib/attachments/actions.ts:126
InterfaceApiError
web/src/lib/types/index.ts:1778
StructArg
Arg is a positional argument.
internal/cmdhelp/types.go:54
StructArmDecision
ArmDecision is the resolved arm state plus the inputs that produced it, so callers (notably `pad session status`) can explain WHY a session is or isn'
internal/cli/arm_consent.go:56
StructArmState
Local arm-state file (PLAN-2613 S2, D4; lead ruling "OPTION 2" on the TASK-2617 trail). This is the concrete file contract S3's plugin monitor builds
internal/cli/session_arm_state.go:65
StructArtifact
Artifact is a decoded export of one playbook or convention item.
internal/artifact/artifact.go:45
StructArtifactKindTrait
ArtifactKindTrait declares the portable artifact kind items of this collection export as. Import maps the kind back to whichever local collection decl
internal/models/collection_traits.go:114
InterfaceAttachment
web/src/lib/types/index.ts:1828
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
InterfaceAttachmentActionContext
web/src/lib/attachments/actions.ts:75
InterfaceAttachmentActionSubject
web/src/lib/attachments/actions.ts:61
FuncTypeAttachmentAuthorizer
AttachmentAuthorizer answers one question about one already-scoped attachment row: may the caller who asked for this copy see it? It exists because D
internal/store/attachments_copy_plan.go:239
InterfaceAttachmentChipOptions
web/src/lib/components/editor/attachment-chip.ts:76
StructAttachmentCopyPlan
AttachmentCopyPlan is what the planner returns. Nothing in it has been written; the caller decides whether to act on it.
internal/store/attachments_copy_plan.go:291
StructAttachmentCopyRequest
AttachmentCopyRequest is the planner's complete input. Content and Fields are the payloads that will actually be written to workspace B: the copied c
internal/store/attachments_copy_plan.go:133
StructAttachmentCopyRow
AttachmentCopyRow is one attachment row to create in workspace B, plus the source-side facts the caller needs in order to move bytes if it has to.
internal/store/attachments_copy_plan.go:244
InterfaceAttachmentHostAddress
web/src/lib/attachments/hostAddress.ts:34
InterfaceAttachmentImageOptions
web/src/lib/components/editor/attachment-image.ts:128
InterfaceAttachmentListFilters
web/src/lib/types/index.ts:2071
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:287
InterfaceAttachmentListItem
web/src/lib/types/index.ts:2031
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:359
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:1833
InterfaceAttachmentListResponse
web/src/lib/types/index.ts:2063
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:1857
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:34
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:1782
InterfaceAttachmentParentRestoredEvent
web/src/lib/attachments/events.ts:94
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:25
next →1–100 of 1,131, ranked by callers