Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/PerpetualSoftware/pad
/ types & classes
Types & classes
1,272 in github.com/PerpetualSoftware/pad
⨍
Functions
11,926
◇
Types & classes
1,272
↓ 310 callers
Struct
expect
internal/mcp/dispatch_http_advanced_test.go:316
↓ 12 callers
TypeAlias
RelationCarryMode
RelationCarryMode says what a migrate door should do with relation values CARRIED from a source item.
internal/store/relation_referents.go:1161
↓ 4 callers
TypeAlias
ErrorCode
───────────────────────────────────────────────────────────────────── Structured MCP error envelopes (TASK-973) Replaces raw CLI stderr passthrough w
internal/mcp/errors.go:46
↓ 4 callers
TypeAlias
TokenKind
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
↓ 2 callers
Struct
write
internal/store/activities_test.go:681
↓ 1 callers
TypeAlias
Kind
Kind identifies which item type an artifact carries.
internal/artifact/artifact.go:17
↓ 1 callers
TypeAlias
MCPAuditResultStatus
MCPAuditResultStatus is the outcome enum for an MCP request.
internal/models/mcp_audit.go:37
↓ 1 callers
Struct
entry
internal/server/decode_json_nul_test.go:257
↓ 1 callers
TypeAlias
errorString
internal/server/nul_differential_test.go:103
↓ 1 callers
TypeAlias
namedString
internal/store/nulguard_test.go:604
↓ 1 callers
Struct
verdict
internal/server/attachments_authz.go:203
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/routes/workspaceDashboardOwnerDenial.svelte.test.ts:52
Class
web/src/routes/workspaceDashboardOwnerDenial.svelte.test.ts:52
Class
web/src/routes/[username]/[workspace]/workspaceLayoutIdentitySse.svelte.test.ts:38
Class
web/src/routes/[username]/[workspace]/workspaceLayoutIdentitySse.svelte.test.ts:38
Class
web/src/routes/[username]/[workspace]/settings/settingsPermissionFlicker.svelte.test.ts:47
Class
web/src/routes/[username]/[workspace]/settings/settingsPermissionFlicker.svelte.test.ts:47
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/localIndexIdentityReset.svelte.test.ts:20
Class
web/src/lib/stores/localIndexIdentityReset.svelte.test.ts:20
Class
web/src/lib/stores/localIndex.svelte.ts:85
Class
web/src/lib/items/fieldWriteOrderToken.test.ts:15
Class
web/src/lib/items/fieldWriteOrder.test.ts:21
Class
web/src/lib/items/fieldWriteOrder.test.ts:30
Class
web/src/lib/items/fieldWriteOrder.test.ts:183
Class
web/src/lib/items/fieldWriteOrder.test.ts:203
Class
web/src/lib/items/fieldWriteOrder.ts:49
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:83
Class
web/src/lib/collab/wsProvider.svelte.ts:227
Class
web/src/test/setup-jsdom.ts:136
Class
web/e2e/lib/attachment-viewer.ts:336
Struct
APIError
--- HTTP helpers ---
internal/cli/client.go:1394
Interface
APIToken
web/src/lib/types/index.ts:38
Struct
APIToken
APIToken represents a stored API token (without the secret).
internal/models/api_token.go:6
Struct
APITokenCreate
APITokenCreate is the input for creating a new API token.
internal/models/api_token.go:19
Interface
APITokenWithSecret
web/src/lib/types/index.ts:50
Struct
APITokenWithSecret
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
Struct
ActionEnv
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
FuncType
ActionFn
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
Interface
ActiveLoad
web/src/lib/attachments/viewerTextLoader.svelte.ts:92
Interface
ActiveLoad
web/src/lib/attachments/viewerImageLoader.svelte.ts:115
Interface
Activity
web/src/lib/types/index.ts:1589
Struct
Activity
internal/models/activity.go:82
Struct
ActivityListParams
internal/models/activity.go:103
Interface
Addr
web/src/lib/attachments/surfaceMetadata.svelte.test.ts:30
Interface
AdminBillingStats
web/src/lib/types/index.ts:2034
Struct
AdminBillingStatsResponse
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
Struct
AdminInvitation
AdminInvitation holds enriched invitation data for the admin panel.
internal/store/workspace_members.go:952
Interface
AdminUser
web/src/lib/stores/admin.svelte.ts:9
Struct
AdminUserListEntry
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
Struct
AdminUserMetrics
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
Struct
AdminUserSearchParams
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
Struct
AdminUserSearchResult
AdminUserSearchResult holds the paginated search results.
internal/store/users.go:313
Struct
AdminUserWorkspace
AdminUserWorkspace is a lightweight workspace membership for admin views.
internal/store/workspace_members.go:1023
Struct
AdminUserWorkspaceDetail
AdminUserWorkspaceDetail extends AdminUserWorkspace with per-workspace aggregations rendered in the admin user modal's Workspaces tab. PLAN-1542 / TAS
internal/store/workspace_members.go:1035
Interface
AdoptCollectionInput
web/src/lib/items/adoptCollection.ts:31
Struct
Agent
Agent describes a known MCP-compatible client and how to find its per-user config file.
internal/mcp/install.go:38
Struct
AgentBootstrap
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
Struct
AgentBootstrapConvention
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
Struct
AgentBootstrapConventionMeta
AgentBootstrapConventionMeta is the lightweight, body-less convention projection returned in the bootstrap's convention_index. It mirrors the AgentBoo
internal/server/handlers_bootstrap.go:329
Struct
AgentBootstrapPlaybookMeta
AgentBootstrapPlaybookMeta is the lightweight playbook projection returned at bootstrap. Bodies (which can be 5-10KB each) are deliberately excluded;
internal/server/handlers_bootstrap.go:346
Struct
AgentBootstrapUser
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
Struct
AgentBootstrapWorkspace
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
Interface
AgentRole
web/src/lib/types/index.ts:507
Struct
AgentRole
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
Interface
AgentRoleCreate
web/src/lib/types/index.ts:521
Struct
AgentRoleCreate
AgentRoleCreate is the input for creating a new agent role.
internal/models/agent_role.go:25
Interface
AgentRoleUpdate
web/src/lib/types/index.ts:529
Struct
AgentRoleUpdate
AgentRoleUpdate is the input for updating an existing agent role.
internal/models/agent_role.go:34
Struct
AgentStatus
AgentStatus is one row of Installer.Status output.
internal/mcp/install.go:585
Struct
AgentTool
AgentTool describes a supported AI coding tool and how to install the Pad skill for it.
internal/cli/agents.go:12
Interface
AnchorAttachmentAction
web/src/lib/attachments/actions.ts:126
Interface
ApiError
web/src/lib/types/index.ts:2007
Class
AppliedOnly
web/src/lib/items/fieldWriteOrder.test.ts:203
Struct
Arg
Arg is a positional argument.
internal/cmdhelp/types.go:54
Struct
ArmDecision
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
Struct
ArmState
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
Struct
Artifact
Artifact is a decoded export of one playbook or convention item.
internal/artifact/artifact.go:82
Struct
ArtifactKindTrait
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
Interface
Attachment
web/src/lib/types/index.ts:2057
Struct
Attachment
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
Interface
AttachmentActionContext
web/src/lib/attachments/actions.ts:75
Interface
AttachmentActionSubject
web/src/lib/attachments/actions.ts:61
FuncType
AttachmentAuthorizer
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
Interface
AttachmentChipOptions
web/src/lib/components/editor/attachment-chip.ts:76
Struct
AttachmentCopyPlan
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
next →
1–100 of 1,272, ranked by callers