Files
PaperClipAI/packages/shared/src/index.ts
T
Devin Foley db4defdfbf feat: operator-configurable settings visibility via PAPERCLIP_HIDDEN_SETTINGS (#11823)
## Thinking Path

> - Paperclip is the open source app people use to manage AI agents for
work
> - The instance settings surface (Access, Plugins, Adapters, General,
Experimental) assumes the person at the keyboard operates the whole
instance
> - Operators who host Paperclip for others — a managed cloud or an
internal shared server — expose settings pages and toggles that do not
apply to their deployment, and the related mutation APIs stay open
> - A hosted tenant can open Plugins or Adapters, try an action, and hit
a confusing failure, because only a few hardcoded platform floors exist
> - This pull request adds a generic, operator-configured visibility
mechanism: one env var hides declared settings surfaces in the UI and
floors their mutation routes with a stable 403 code
> - The benefit is a clean hosted-tenant settings surface for any
operator, with zero behavior change for normal self-hosted instances

## Linked Issues or Issue Description

**Subsystem affected**

Instance settings (server routes and UI), the shared settings registry
in `packages/shared`, and the `/api/health` bootstrap payload.

**Problem or motivation**

An operator who hosts Paperclip for other people cannot hide settings
surfaces that the platform manages. Tenants see Access, Plugins, and
Adapters pages, backup retention, and host-level experimental toggles
that do nothing useful for them. The mutation APIs behind these surfaces
also stay open, so a tenant admin can attempt actions the platform must
control. ROADMAP.md names a cleaner shared deployment story as a goal
("Teams should be able to run the same product in hosted or semi-hosted
environments without changing the mental model").

**Proposed solution**

Add a declarative registry of hideable settings surfaces and one env
var, `PAPERCLIP_HIDDEN_SETTINGS`. The server parses the list at boot,
reports it on `/api/health`, and rejects value-changing writes to hidden
surfaces with a stable `settings_operator_managed` 403 code. The UI
reads the list from the health payload and removes the hidden pages,
sections, and toggles from navigation, routes, and page content. Unknown
keys warn and are ignored, so one list can roll across a fleet with
mixed app versions. With the variable unset, behavior is byte-identical
to today.

**Alternatives considered**

- Hardcode the hidden set for cloud instances in this repo: rejected,
because each hosting operator needs a different policy, and policy does
not belong in shared code.
- Deliver the hidden set through the managed-config document: rejected,
because that channel is cloud-specific and fail-closed on unknown
fields; a plain env var works for any operator, including self-hosted
shared servers.
- Lock the controls with a badge instead of hiding them: rejected for
these surfaces, because they are meaningless to tenants, not merely
platform-controlled; the existing managed-overlay lock stays the right
tool for controlled flags.

**Roadmap alignment**

Supports the "shared deployment story" item in ROADMAP.md: hosted and
semi-hosted deployments keep the same product with a settings surface
that matches what the tenant can actually do.

## What Changed

- New `packages/shared/src/settings-visibility.ts`: registry of hideable
surfaces (every instance settings page — profile, environments, access,
heartbeats, experimental, plugins, adapters; every Instance → General
section; every experimental flag as `instance.experimental.<key>`), the
`PAPERCLIP_HIDDEN_SETTINGS` parser, and the `settings_operator_managed`
error code. The General page stays visible as the settings root and
redirect target.
- New `server/src/services/settings-visibility.ts`: parse-once accessor;
unknown keys log one warning and are ignored.
- `/api/health` reports `hiddenSettings` on every response shape; the
field is omitted when nothing is hidden.
- Server floors on hidden surfaces, with same-value echo tolerance (the
`executionMode` precedent): field-backed general sections and
experimental keys reject value-changing PATCHes, and hiding the whole
Experimental page floors every toggle; plugin lifecycle and config
writes, adapter management writes, and the Access admin routes (reads
included) return 403 `settings_operator_managed`. Reads the app itself
needs (plugin `ui-contributions`, adapter metadata, plugin job trigger)
stay open. Pages without instance-scoped mutation routes are hidden in
the UI only.
- UI: new `useHiddenSettings` hook and `HiddenSettingsPageGate` route
gate (hidden pages redirect to the settings root); the settings sidebar
and tab bar drop hidden entries; remembered settings paths remap to the
default page; `InstanceGeneralSettings` skips hidden sections; every
`ExperimentalToggleCard` now carries its flag key and renders nothing
when hidden.
- Removed the dead `InstanceSidebar` component (referenced only by its
own test).
- Docs: `docs/deploy/environment-variables.md` documents the variable
and the key registry.

## Verification

- `pnpm vitest run` over the new and extended suites: shared registry
and parser, representative floor tests per route class (changed-value
403, same-value echo 200, unset env 200, page-level Experimental
hiding), the health field, the route gate, nav filtering, and
section/card hiding with one hidden example per surface kind — 168 tests
pass.
- Full root `pnpm typecheck` passes.
- Manual: booted a server with the variable set. `/api/health` lists the
keys; an unknown key logs one warning and the server boots; hidden pages
redirect; hidden sections and cards do not render; hidden-field PATCH
returns 403 with `details.code = "settings_operator_managed"`; a
same-value echo returns 200. Unset the variable: the full settings
surface returns and responses are byte-identical to master.

## Risks

- Low risk for self-hosted instances: with the variable unset, the
hidden set is empty, the health field is omitted, and no floor
activates.
- Flooring plugin config writes assumes hosted deployments configure
plugins through the platform. If a future bundled plugin needs
tenant-entered config, the floor needs a narrow carve-out.
- Hidden-key floors tolerate same-value echoes, so API clients that
round-trip full GET responses keep working.
- Hiding a toggle does not change its value; operators pair hiding with
the desired default where the value matters.

## Model Used

Claude Fable 5 (Anthropic, `claude-fable-5`) with extended thinking and
agentic tool use, driven through the Claude Code CLI (file edits, test
execution, and live-server verification loops).

## Checklist

- [x] I have included a thinking path that traces from project context
to this change
- [x] I have specified the model used (with version and capability
details)
- [x] I have checked ROADMAP.md and confirmed this PR does not duplicate
planned core work
- [x] I have searched GitHub for duplicate or related PRs and linked
them above
- [x] I have either (a) linked existing issues with `Fixes: #` / `Closes
#` / `Refs #` OR (b) described the issue in-PR following the relevant
issue template
- [x] I have not referenced internal/instance-local Paperclip issues or
links (only public GitHub `#NNN` / `github.com/paperclipai/paperclip`
URLs)
- [x] My branch name describes the change (e.g. `docs/...`, `fix/...`)
and contains no internal Paperclip ticket id or instance-derived details
- [x] I have run tests locally and they pass
- [x] I have added or updated tests where applicable
- [x] I have updated relevant documentation to reflect my changes
- [x] I have considered and documented any risks above
- [ ] All Paperclip CI gates are green
- [ ] Greptile is 5/5 with no open P2s, recommendations, or follow-ups
- [x] I will address all Greptile and reviewer comments before
requesting merge
2026-08-20 17:54:44 -07:00

2556 lines
75 KiB
TypeScript

export { agentAdapterTypeSchema, optionalAgentAdapterTypeSchema } from "./adapter-type.js";
export { ADAPTER_AUTH_MISSING_CHECK_CODE } from "./adapter-auth-check-code.js";
export {
decisionEffectStalenessSchema,
decisionOptionStyleSchema,
commentOnIssueDecisionEffectSchema,
createIssueDecisionEffectSchema,
updateIssueStatusDecisionEffectSchema,
assignIssueDecisionEffectSchema,
cancelIssueTreeDecisionEffectSchema,
resolveBlockerDecisionEffectSchema,
decisionEffectSchema,
decisionInputSchema,
decisionOptionSchema,
decisionOptionsSchema,
decisionInputsSchema,
decisionSpecSchema,
type DecisionEffectInput,
type DecisionOptionInput,
type DecisionInputInput,
type DecisionSpecInput,
} from "./validators/decision.js";
export { decisionEffectTargetIssueIds } from "./types/decision.js";
export type {
DecisionEffectStaleness,
DecisionOptionStyle,
DecisionInput,
CommentOnIssueDecisionEffect,
CreateIssueDecisionEffect,
UpdateIssueStatusDecisionEffect,
AssignIssueDecisionEffect,
CancelIssueTreeDecisionEffect,
ResolveBlockerDecisionEffect,
DecisionEffect,
DecisionOption,
DecisionStatsCounts,
DecisionChosenOptionCount,
DecisionRuleKeyStats,
DecisionStatsResponse,
AttentionArchiveManifestEntry,
AttentionArchiveTargetSnapshot,
} from "./types/decision.js";
export {
getAgentOrgChainHealth,
getAgentWorkEligibility,
isAgentAssignableToWork,
isAgentInvokable,
isAgentStatusAssignableToWork,
isAgentStatusInvokable,
type AgentEligibilityAgent,
type AgentEligibilityLifecycleReason,
type AgentInvalidOrgChainAncestor,
type AgentOrgChainEntry,
type AgentOrgChainHealth,
type AgentOrgChainInvalidReason,
type AgentWorkEligibility,
} from "./agent-eligibility.js";
export {
computePipelineHealth,
groupWarningsByStage,
isPipelineTerminalStageKind,
type PipelineHealthAgentRef,
type PipelineHealthFailedAutomationInput,
type PipelineHealthInput,
type PipelineHealthPipelineRef,
type PipelineHealthReport,
type PipelineHealthStageInput,
type PipelineHealthStageRef,
type PipelineHealthWarning,
type PipelineHealthWarningCode,
} from "./pipeline-health.js";
export {
caseTypeMatchesPipeline,
deriveCaseType,
type CaseTypePipelineRef,
} from "./pipeline-case-type.js";
export {
deriveResponsibleUser,
deriveOriginatingActor,
type ResponsibleUserAttribution,
type ResponsibleUserSource,
type OriginatingActor,
} from "./issue-attribution.js";
export {
ARTIFACT_REVIEW_DOCUMENT_KEY_PREFIX,
MARKDOWN_ATTACHMENT_CONTENT_TYPES,
MARKDOWN_REVIEW_DOCUMENT_MAX_BYTES,
artifactReviewDocumentKey,
getAttachmentArtifactWorkProductMetadata,
getMarkdownWorkProductAttachmentMetadata,
isArtifactReviewDocumentKey,
isMarkdownArtifactWorkProduct,
isMarkdownAttachmentContent,
workProductIdFromArtifactReviewDocumentKey,
type AttachmentArtifactWorkProductLike,
} from "./markdown-work-products.js";
export {
ISSUE_WRITE_DENIAL_CODES,
describeIssueWriteDenial,
isIssueWriteDenialCode,
issueWriteDenialApiMessage,
issueWriteDenialCodeForResponsibleUserDenial,
issueWriteDenialResponse,
type IssueWriteDenialCode,
type IssueWriteDenialContext,
type IssueWriteDenialCopy,
type IssueWriteDenialTone,
} from "./issue-write-denial.js";
export {
RESPONSIBLE_USER_DENIAL_CODES,
describeResponsibleUserDenial,
isResponsibleUserDenialCode,
responsibleUserLabel,
type ResponsibleUserDenialCode,
type ResponsibleUserDenialCopy,
type ResponsibleUserDenialTone,
} from "./responsible-user-denial.js";
export type {
AttentionDecisionVerb,
AttentionDetailImage,
AttentionFeed,
AttentionItem,
AttentionItemDetail,
AttentionItemDismissal,
AttentionFeedQuery,
AttentionProjectRef,
AttentionQueueRef,
AttentionResolverAudience,
AttentionSeverity,
AttentionSortMode,
AttentionSourceKind,
AttentionSubject,
AttentionSubjectKind,
AttentionTriageAttribution,
AttentionWorkspaceRef,
} from "./types/attention.js";
export { ATTENTION_SOURCE_KINDS } from "./types/attention.js";
export type {
DecisionQueue,
DecisionQueueItem,
DecisionQueueSeedRule,
DecisionQueueSeedRuleSignal,
DecisionTriage,
DecisionTriageDecideBy,
} from "./types/decision-queue.js";
export {
decisionAttentionSourceKindSchema,
decisionQueueKeySchema,
createDecisionQueueSchema,
updateDecisionQueueSchema,
addDecisionQueueItemSchema,
removeDecisionQueueItemSchema,
decisionTriageDecideBySchema,
updateDecisionTriageSchema,
updateDecisionRetentionSchema,
createDecisionArchiveProposalSchema,
type CreateDecisionQueueInput,
type UpdateDecisionQueueInput,
type AddDecisionQueueItemInput,
type RemoveDecisionQueueItemInput,
type UpdateDecisionTriageInput,
type UpdateDecisionRetentionInput,
type CreateDecisionArchiveProposalInput,
} from "./validators/decision-queue.js";
export type {
DecisionTrainingExample,
DecisionTrainingNotesHistoryEntry,
DecisionTrainingPreview,
DecisionTrainingRetentionPolicy,
DecisionTrainingSnapshotV1,
DecisionTrainingSourceKind,
} from "./types/decision-training.js";
export { DECISION_TRAINING_RETENTION_POLICY } from "./types/decision-training.js";
export type {
PipelineAutomationRetryBlocker,
PipelineAutomationRetryCleanupOptions,
PipelineAutomationRetryEffectCounts,
PipelineAutomationRetryPlan,
PipelineAutomationRetryRequest,
PipelineAutomationRetryRoutineRef,
PipelineAutomationRetryScope,
PipelineAutomationRetryStageRef,
PipelineCaseAttachmentOutputItem,
PipelineCaseConversationSource,
PipelineCaseConversationSourceKind,
PipelineCaseConversationSourceLinkRole,
PipelineCaseConversationSourceReason,
PipelineCaseDocumentOutputItem,
PipelineCaseDocumentPayload,
PipelineCaseDocumentRevision,
PipelineCaseLiveness,
PipelineCaseLivenessState,
PipelineCaseOutputContextSummary,
PipelineCaseOutputContextSummaryItem,
PipelineCaseOutputItem,
PipelineCaseOutputItemBase,
PipelineCaseOutputKind,
PipelineCaseOutputSource,
PipelineCaseOutputSourceRole,
PipelineCaseOutputsResponse,
PipelineCaseWorkProductOutputItem,
PipelineStageAutomation,
} from "./types/pipeline.js";
export {
analyzeFrontmatterBlock,
asBoolean,
asString,
asStringArray,
detectFrontmatterRoundTripIssues,
getSkillFrontmatterUnknownKeys,
isPlainRecord as isFrontmatterPlainRecord,
joinFrontmatterBlock,
parseFrontmatterFields,
parseFrontmatterMarkdown,
skillFrontmatterKnownKeys,
skillFrontmatterSchema,
splitFrontmatterBlock,
stringifyFrontmatter,
type FrontmatterAnalysis,
type FrontmatterBlock,
type FrontmatterRoundTripIssue,
type FrontmatterRoundTripIssueKind,
type MarkdownDoc,
} from "./frontmatter.js";
export {
TRUST_PRESETS,
DEFAULT_TRUST_PRESET,
LOW_TRUST_REVIEW_PRESET,
LOW_TRUST_REVIEW_PRESET_VERSION,
LOW_TRUST_REVIEW_RAW_OUTPUT_DISPOSITION,
LOW_TRUST_TOOL_CLASSES,
type TrustPreset,
type LowTrustToolClass,
type LowTrustOutputPromotionTarget,
type LowTrustBoundary,
type LowTrustReviewPresetPolicy,
type AssignmentAuthorizationPolicy,
type ProtectedAgentAuthorizationPolicy,
type TrustAuthorizationPolicy,
type SourceTrustArtifactKind,
type SourceTrustDisposition,
type SourceTrustPromotionSource,
type SourceTrustMetadata,
} from "./trust-policy.js";
export {
CONNECTABLE_APP_DEFINITIONS,
DEFAULT_OWNERSHIP_AVAILABILITY,
credentialConfigPath,
getAppDefinitionForUrl,
getAvailableConnectionMethod,
getConnectableAppDefinition,
recommendedDefaultsForApp,
} from "./app-definitions.js";
export { APP_DEFINITIONS } from "./app-definitions.generated.js";
export * from "./validators/status-card.js";
export { appDefinitionSchema, appDefinitionsSchema, connectionMethodDefSchema } from "./validators/app-definition.js";
export {
humanizeConnectionDisplayName,
connectionDisplaySecondaryHint,
type HumanizableConnection,
} from "./humanize-connection.js";
export {
COMPANY_STATUSES,
DEFAULT_COMPANY_ATTACHMENT_MAX_BYTES,
MAX_COMPANY_ATTACHMENT_MAX_BYTES,
DEPLOYMENT_MODES,
DEPLOYMENT_EXPOSURES,
BIND_MODES,
AUTH_BASE_URL_MODES,
AGENT_STATUSES,
AGENT_ADAPTER_TYPES,
AGENT_ROLES,
AGENT_ROLE_LABELS,
AGENT_DEFAULT_MAX_CONCURRENT_RUNS,
WORKSPACE_BRANCH_ROUTINE_VARIABLE,
ADAPTER_AGNOSTIC_KEYS,
MODEL_PROFILE_KEYS,
AGENT_ICON_NAMES,
PROJECT_ICON_NAMES,
ISSUE_STATUSES,
INBOX_MINE_ISSUE_STATUSES,
INBOX_MINE_ISSUE_STATUS_FILTER,
ISSUE_PRIORITIES,
ISSUE_REVIEW_POLICIES,
ISSUE_WORK_MODES,
ISSUE_HARNESS_KINDS,
MAX_ISSUE_REQUEST_DEPTH,
SUMMARY_SLOT_SCOPE_KINDS,
SUMMARY_SLOT_KEYS,
SUMMARY_SLOT_STATUSES,
ISSUE_COMMENT_AUTHOR_TYPES,
ISSUE_COMMENT_METADATA_ROW_TYPES,
ISSUE_COMMENT_PRESENTATION_KINDS,
ISSUE_COMMENT_PRESENTATION_TONES,
ISSUE_COMMENT_PRESENTATION_DENSITIES,
clampIssueRequestDepth,
ISSUE_THREAD_INTERACTION_KINDS,
ISSUE_THREAD_INTERACTION_CANONICAL_RESOLVER_POLICIES,
ISSUE_THREAD_INTERACTION_LEGACY_RESOLVER_POLICY_ALIASES,
ISSUE_THREAD_INTERACTION_RESOLVER_POLICIES,
ISSUE_THREAD_INTERACTION_RESOLVER_POLICY_PROVENANCES,
ISSUE_THREAD_INTERACTION_EFFECTIVE_RESOLVER_POLICY_SOURCES,
normalizeIssueThreadInteractionResolverPolicy,
legacyIssueThreadInteractionResolverPolicyAlias,
ISSUE_THREAD_INTERACTION_STATUSES,
ISSUE_THREAD_INTERACTION_CONTINUATION_POLICIES,
ISSUE_ORIGIN_KINDS,
TASK_WATCHDOG_PRODUCT_BUG_ORIGIN_KIND,
ONBOARDING_FIRST_TASK_ORIGIN_KIND,
ISSUE_WATCHDOG_DISCOVERY_KINDS,
ISSUE_SURFACE_VISIBILITIES,
ISSUE_RECOVERY_ACTION_KINDS,
ISSUE_DISPOSITION_REPAIR_RETRY_REASON,
ISSUE_RECOVERY_ACTION_STATUSES,
ISSUE_RECOVERY_ACTION_OWNER_TYPES,
ISSUE_RECOVERY_ACTION_OUTCOMES,
pluginOperationIssueOriginKind,
isPluginOperationIssueOriginKind,
ISSUE_RELATION_TYPES,
ISSUE_TREE_CONTROL_MODES,
ISSUE_TREE_HOLD_RELEASE_POLICY_STRATEGIES,
ISSUE_TREE_HOLD_STATUSES,
ISSUE_CONTINUATION_SUMMARY_DOCUMENT_KEY,
PIPELINE_CASE_BODY_DOCUMENT_KEY,
SYSTEM_ISSUE_DOCUMENT_KEYS,
isSystemIssueDocumentKey,
ISSUE_REFERENCE_SOURCE_KINDS,
DOCUMENT_ANNOTATION_THREAD_STATUSES,
DOCUMENT_ANNOTATION_ANCHOR_STATES,
DOCUMENT_ANNOTATION_ANCHOR_CONFIDENCES,
EXTERNAL_OBJECT_STATUS_CATEGORIES,
EXTERNAL_OBJECT_STATUS_TONES,
EXTERNAL_OBJECT_LIVENESS_STATES,
EXTERNAL_OBJECT_MENTION_SOURCE_KINDS,
EXTERNAL_OBJECT_MENTION_CONFIDENCES,
ISSUE_EXECUTION_POLICY_MODES,
ISSUE_EXECUTION_STAGE_TYPES,
ISSUE_MONITOR_SCHEDULED_BY,
ISSUE_EXECUTION_MONITOR_KINDS,
PROVIDER_QUOTA_MONITOR_SERVICE_NAME,
ISSUE_EXECUTION_MONITOR_RECOVERY_POLICIES,
ISSUE_EXECUTION_STATE_STATUSES,
ISSUE_EXECUTION_MONITOR_STATE_STATUSES,
ISSUE_EXECUTION_MONITOR_CLEAR_REASONS,
ISSUE_EXECUTION_DECISION_OUTCOMES,
GOAL_LEVELS,
GOAL_STATUSES,
PROJECT_STATUSES,
ENVIRONMENT_DRIVERS,
ENVIRONMENT_STATUSES,
ENVIRONMENT_LEASE_STATUSES,
ENVIRONMENT_LEASE_POLICIES,
ENVIRONMENT_LEASE_CLEANUP_STATUSES,
ENVIRONMENT_CUSTOM_IMAGE_TEMPLATE_KINDS,
ENVIRONMENT_CUSTOM_IMAGE_TEMPLATE_STATUSES,
ENVIRONMENT_CUSTOM_IMAGE_SETUP_SESSION_STATUSES,
ENVIRONMENT_CUSTOM_IMAGE_SETUP_CONNECTION_TYPES,
ROUTINE_STATUSES,
ROUTINE_CONCURRENCY_POLICIES,
ROUTINE_CATCH_UP_POLICIES,
ROUTINE_TRIGGER_KINDS,
ROUTINE_TRIGGER_SIGNING_MODES,
ROUTINE_VARIABLE_TYPES,
ROUTINE_RUN_STATUSES,
ROUTINE_RUN_SOURCES,
PAUSE_REASONS,
PROJECT_COLORS,
APPROVAL_TYPES,
APPROVAL_STATUSES,
SECRET_PROVIDERS,
SECRET_PROVIDER_CONFIG_STATUSES,
SECRET_PROVIDER_CONFIG_HEALTH_STATUSES,
SECRET_PROJECTION_CLASSES,
CLASS3_STATIC_LEASE_ALLOWLIST,
SECRET_SCOPES,
STORAGE_PROVIDERS,
BILLING_TYPES,
FINANCE_EVENT_KINDS,
FINANCE_DIRECTIONS,
FINANCE_UNITS,
BUDGET_SCOPE_TYPES,
BUDGET_METRICS,
BUDGET_WINDOW_KINDS,
BUDGET_THRESHOLD_TYPES,
BUDGET_INCIDENT_STATUSES,
BUDGET_INCIDENT_RESOLUTION_ACTIONS,
HEARTBEAT_INVOCATION_SOURCES,
HEARTBEAT_RUN_STATUSES,
RUN_LIVENESS_STATES,
WAKEUP_TRIGGER_DETAILS,
WAKEUP_REQUEST_STATUSES,
LIVE_EVENT_TYPES,
PRINCIPAL_TYPES,
MEMBERSHIP_STATUSES,
COMPANY_MEMBERSHIP_ROLES,
HUMAN_COMPANY_MEMBERSHIP_ROLES,
HUMAN_COMPANY_MEMBERSHIP_ROLE_LABELS,
INSTANCE_USER_ROLES,
INVITE_TYPES,
INVITE_JOIN_TYPES,
JOIN_REQUEST_TYPES,
JOIN_REQUEST_STATUSES,
PERMISSION_KEYS,
TOOL_ACTION_REQUEST_STATUSES,
TOOL_APPLICATION_STATUSES,
TOOL_APPLICATION_TYPES,
TOOL_AUDIT_EVENT_TYPES,
TOOL_AUDIT_OUTCOMES,
TOOL_CATALOG_ENTRY_KINDS,
TOOL_CATALOG_ENTRY_STATUSES,
TOOL_CONNECTION_HEALTH_STATUSES,
TOOL_CONNECTION_ATTENTION_HEALTH_STATUSES,
isToolConnectionAttentionHealth,
TOOL_CONNECTION_KINDS,
TOOL_CONNECTION_LIFECYCLE_EVENT_TYPES,
TOOL_INVOCATION_APPROVAL_STATES,
TOOL_INVOCATION_STATUSES,
TOOL_MCP_GATEWAY_CONTEXT_SCOPE_TYPES,
TOOL_MCP_GATEWAY_DEFAULT_PROFILE_MODES,
TOOL_MCP_GATEWAY_STATUSES,
TOOL_MCP_GATEWAY_TOKEN_ACTIONS,
TOOL_MCP_GATEWAY_TOKEN_SUBJECT_TYPES,
CONNECTION_TOKEN_ISSUANCE_PATHS,
CONNECTION_TOKEN_ISSUANCE_OUTCOMES,
TOOL_POLICY_DECISIONS,
TOOL_POLICY_TYPES,
TOOL_PROFILE_BINDING_TARGET_TYPES,
TOOL_PROFILE_DEFAULT_ACTIONS,
TOOL_PROFILE_ENTRY_EFFECTS,
TOOL_PROFILE_ENTRY_SELECTOR_TYPES,
TOOL_PROFILE_STATUSES,
TOOL_RATE_LIMIT_WINDOW_KINDS,
TOOL_RISK_LEVELS,
TOOL_RUNTIME_KINDS,
TOOL_RUNTIME_SLOT_STATUSES,
TOOL_ACCESS_ACTIVITY_ACTIONS,
PLUGIN_API_VERSION,
PLUGIN_STATUSES,
PLUGIN_CATEGORIES,
PLUGIN_CAPABILITIES,
PLUGIN_UI_SLOT_TYPES,
PLUGIN_UI_SLOT_ENTITY_TYPES,
PLUGIN_RESERVED_COMPANY_SETTINGS_ROUTE_SEGMENTS,
PLUGIN_LAUNCHER_PLACEMENT_ZONES,
PLUGIN_LAUNCHER_ACTIONS,
PLUGIN_LAUNCHER_BOUNDS,
PLUGIN_LAUNCHER_RENDER_ENVIRONMENTS,
PLUGIN_STATE_SCOPE_KINDS,
PLUGIN_JOB_STATUSES,
PLUGIN_JOB_RUN_STATUSES,
PLUGIN_JOB_RUN_TRIGGERS,
PLUGIN_WEBHOOK_DELIVERY_STATUSES,
PLUGIN_DATABASE_NAMESPACE_MODES,
PLUGIN_DATABASE_NAMESPACE_STATUSES,
PLUGIN_DATABASE_MIGRATION_STATUSES,
PLUGIN_DATABASE_CORE_READ_TABLES,
PLUGIN_API_ROUTE_METHODS,
PLUGIN_API_ROUTE_AUTH_MODES,
PLUGIN_API_ROUTE_CHECKOUT_POLICIES,
WORKSPACE_OVERVIEW_DEFAULT_LIMIT,
WORKSPACE_OVERVIEW_MAX_LIMIT,
WORKSPACE_OVERVIEW_LINKED_ISSUE_LIMIT,
PIPELINE_AUTOMATION_DEFAULT_TITLE_TEMPLATE,
PLUGIN_EVENT_TYPES,
PLUGIN_BRIDGE_ERROR_CODES,
type CompanyStatus,
type DeploymentMode,
type DeploymentExposure,
type BindMode,
type AuthBaseUrlMode,
type AgentStatus,
type AgentAdapterType,
type AgentRole,
type AdapterAgnosticKey,
type ModelProfileKey,
type AgentIconName,
type ProjectIconName,
type IssueStatus,
type IssuePriority,
type IssueReviewPolicy,
type IssueWorkMode,
type IssueHarnessKind,
type SummarySlotScopeKind,
type SummarySlotKey,
type SummarySlotStatus,
type IssueCommentAuthorType,
type IssueCommentMetadataRowType,
type IssueCommentPresentationKind,
type IssueCommentPresentationTone,
type IssueCommentPresentationDensity,
type IssueThreadInteractionKind,
type IssueThreadInteractionCanonicalResolverPolicy,
type IssueThreadInteractionLegacyResolverPolicyAlias,
type IssueThreadInteractionResolverPolicy,
type IssueThreadInteractionResolverPolicyProvenance,
type IssueThreadInteractionEffectiveResolverPolicySource,
type IssueThreadInteractionStatus,
type IssueThreadInteractionContinuationPolicy,
REQUEST_CHECKBOX_CONFIRMATION_OPTION_LIMIT,
REQUEST_ITEM_VERDICTS_ITEM_LIMIT,
type BuiltInIssueOriginKind,
type PluginIssueOriginKind,
type IssueOriginKind,
type IssueWatchdogDiscoveryKind,
type IssueSurfaceVisibility,
type IssueRecoveryActionKind,
type IssueRecoveryActionStatus,
type IssueRecoveryActionOwnerType,
type IssueRecoveryActionOutcome,
type IssueRelationType,
type IssueTreeControlMode,
type IssueTreeHoldReleasePolicyStrategy,
type IssueTreeHoldStatus,
type SystemIssueDocumentKey,
type IssueReferenceSourceKind,
type DocumentAnnotationThreadStatus,
type DocumentAnnotationAnchorState,
type DocumentAnnotationAnchorConfidence,
type ExternalObjectStatusCategory,
type ExternalObjectStatusTone,
type ExternalObjectLivenessState,
type ExternalObjectMentionSourceKind,
type ExternalObjectMentionConfidence,
type IssueExecutionPolicyMode,
type IssueExecutionStageType,
type IssueMonitorScheduledBy,
type IssueExecutionMonitorKind,
type IssueExecutionMonitorRecoveryPolicy,
type IssueExecutionStateStatus,
type IssueExecutionMonitorStateStatus,
type IssueExecutionMonitorClearReason,
type IssueExecutionDecisionOutcome,
type GoalLevel,
type GoalStatus,
type ProjectStatus,
type EnvironmentDriver,
type EnvironmentStatus,
type EnvironmentLeaseStatus,
type EnvironmentLeasePolicy,
type EnvironmentLeaseCleanupStatus,
type EnvironmentCustomImageTemplateKind,
type EnvironmentCustomImageTemplateStatus,
type EnvironmentCustomImageSetupSessionStatus,
type EnvironmentCustomImageSetupConnectionType,
type RoutineStatus,
type RoutineConcurrencyPolicy,
type RoutineCatchUpPolicy,
type RoutineTriggerKind,
type RoutineTriggerSigningMode,
type RoutineVariableType,
type RoutineRunStatus,
type RoutineRunSource,
type PauseReason,
type ApprovalType,
type ApprovalStatus,
type SecretProvider,
type SecretProviderConfigStatus,
type SecretProviderConfigHealthStatus,
type SecretProjectionClass,
type Class3StaticLeaseAllowlistKey,
type SecretScope,
type StorageProvider,
type BillingType,
type CostStatus,
type FinanceEventKind,
type FinanceDirection,
type FinanceUnit,
type BudgetScopeType,
type BudgetMetric,
type BudgetWindowKind,
type BudgetThresholdType,
type BudgetIncidentStatus,
type BudgetIncidentResolutionAction,
type HeartbeatInvocationSource,
type HeartbeatRunStatus,
type RunLivenessState,
type WakeupTriggerDetail,
type WakeupRequestStatus,
type LiveEventType,
type PrincipalType,
type MembershipStatus,
type CompanyMembershipRole,
type HumanCompanyMembershipRole,
type InstanceUserRole,
type InviteType,
type InviteJoinType,
type JoinRequestType,
type JoinRequestStatus,
type PermissionKey,
type ConnectionTokenIssuancePath,
type ConnectionTokenIssuanceOutcome,
type ToolAccessActivityAction,
type PluginStatus,
type PluginCategory,
type PluginCapability,
type PluginUiSlotType,
type PluginUiSlotEntityType,
type PluginReservedCompanySettingsRouteSegment,
type PluginLauncherPlacementZone,
type PluginLauncherAction,
type PluginLauncherBounds,
type PluginLauncherRenderEnvironment,
type PluginStateScopeKind,
type PluginJobStatus,
type PluginJobRunStatus,
type PluginJobRunTrigger,
type PluginWebhookDeliveryStatus,
type PluginDatabaseNamespaceMode,
type PluginDatabaseNamespaceStatus,
type PluginDatabaseMigrationStatus,
type PluginDatabaseCoreReadTable,
type PluginApiRouteMethod,
type PluginApiRouteAuthMode,
type PluginApiRouteCheckoutPolicy,
type PluginEventType,
type PluginBridgeErrorCode,
} from "./constants.js";
export {
generateSummarySlotSchema,
summarySlotKeySchema,
summarySlotQuerySchema,
summarySlotScopeKindSchema,
summarySlotScopeSelectorSchema,
summarySlotStatusSchema,
writeSummarySlotSchema,
type GenerateSummarySlotInput,
type SummarySlotScopeSelectorInput,
type WriteSummarySlotInput,
} from "./validators/summary-slot.js";
export {
ALL_INTERFACES_BIND_HOST,
LOOPBACK_BIND_HOST,
inferBindModeFromHost,
isAllInterfacesHost,
isLoopbackHost,
resolveRuntimeBind,
validateConfiguredBindMode,
} from "./network-bind.js";
export {
REDACTED_ENVIRONMENT_CUSTOM_IMAGE_VALUE,
redactEnvironmentCustomImageSetupSession,
redactEnvironmentCustomImageTemplate,
redactEnvironmentCustomImageValue,
type EnvironmentCustomImageSetupSessionRedactionInput,
type EnvironmentCustomImageTemplateRedactionInput,
} from "./environment-custom-images.js";
export type {
Company,
InteractionResolverGovernance,
InteractionResolverKindGovernance,
GenerateSummarySlotRequest,
GenerateSummarySlotResponse,
GetSummarySlotResponse,
ListSummarySlotRevisionsResponse,
SummarySlot,
SummarySlotDocument,
SummarySlotIssueRef,
SummarySlotRevision,
SummarySlotScopeSelector,
WriteSummarySlotRequest,
WriteSummarySlotResponse,
Environment,
EnvironmentDeleteBlastRadius,
EnvironmentDeleteBlockedReason,
EnvironmentLease,
EnvironmentProbeResult,
FakeSandboxEnvironmentConfig,
LocalEnvironmentConfig,
PluginSandboxEnvironmentConfig,
PluginEnvironmentConfig,
SandboxEnvironmentConfig,
SandboxEnvironmentProvider,
SshEnvironmentConfig,
FeedbackVote,
FeedbackDataSharingPreference,
FeedbackTargetType,
FeedbackVoteValue,
FeedbackTrace,
FeedbackTraceStatus,
FeedbackTraceTargetSummary,
FeedbackTraceBundleCaptureStatus,
FeedbackTraceBundleFile,
FeedbackTraceBundle,
CompanySkillSourceType,
CompanySkillTrustLevel,
CompanySkillCompatibility,
CompanySkillSourceBadge,
CompanySkillSharingScope,
CompanySkillListSort,
CompanySkillListInclude,
CompanySkillLastEditor,
CompanySkillFileInventoryEntry,
CompanySkillVersionFileInventoryEntry,
CompanySkill,
CompanySkillListItem,
CompanySkillUsageAgent,
CompanySkillDetail,
CompanySkillListQuery,
CompanySkillCategoryCount,
CompanySkillVersion,
CompanySkillVersionCreateRequest,
CompanySkillStarResult,
CompanySkillComment,
CompanySkillCommentCreateRequest,
CompanySkillCommentUpdateRequest,
CompanySkillForkRequest,
CompanySkillOriginalSummary,
CompanySkillForkSummary,
CompanySkillForkReassignment,
CompanySkillForkResult,
CompanySkillForkPrecheckResult,
CompanySkillRenameRequest,
CompanySkillRenameResult,
CompanySkillUpdateRequest,
CompanySkillUpdateStatus,
CompanySkillAuditSeverity,
CompanySkillAuditVerdict,
CompanySkillUpdateHoldReason,
CompanySkillAuditFinding,
CompanySkillAuditResult,
CompanySkillInstallUpdateRequest,
CompanySkillResetRequest,
CompanySkillImportRequest,
CompanySkillImportResult,
CompanySkillProjectScanRequest,
CompanySkillProjectBrowseRequest,
CompanySkillProjectBrowseEntry,
CompanySkillProjectBrowseResult,
CompanySkillProjectScanCandidateStatus,
CompanySkillProjectScanCandidate,
CompanySkillProjectScanSkipped,
CompanySkillProjectScanConflict,
CompanySkillProjectScanResult,
CompanySkillCreateRequest,
CompanySkillFileDetail,
CompanySkillFileUpdateRequest,
CompanySkillFileDeleteRequest,
CompanySkillFileDeleteResult,
CompanySkillTestRunStatus,
CompanySkillTestInput,
CompanySkillTestInputCreateRequest,
CompanySkillTestInputUpdateRequest,
CompanySkillTestRunTemplate,
CompanySkillTestRunTemplateCreateRequest,
CompanySkillTestRunTemplateUpdateRequest,
CompanySkillTestRunTemplateSnapshot,
CompanySkillTestRunCostSummary,
CompanySkillTestRun,
CompanySkillTestRunCreateRequest,
CompanySkillTestRunListQuery,
CompanySkillTestRunHarnessContentUnavailableReason,
CompanySkillTestRunHarnessContent,
CompanySkillTestRunDetail,
CatalogSkillKind,
CatalogSkillFileKind,
CatalogSkillFile,
CatalogSkillGitHubSource,
CatalogSkillSource,
CatalogSkill,
CatalogSkillListQuery,
CatalogSkillFileDetail,
CompanySkillInstallCatalogRequest,
CompanySkillInstallCatalogResult,
CatalogTeamKind,
CatalogTeamTrustLevel,
CatalogTeamCompatibility,
CatalogTeamFileKind,
CatalogTeamSkillRequirementType,
CatalogTeamSkillRequirement,
CatalogTeamEnvInputSummary,
CatalogTeamSourceRef,
CatalogTeamFile,
CatalogTeam,
CatalogManifest,
CatalogTeamListQuery,
CatalogTeamFileDetail,
CatalogTeamSourcePolicy,
CatalogTeamImportOptions,
CatalogTeamInstallOptions,
CatalogTeamSkillPreparationAction,
CatalogTeamSkillPreparation,
CatalogTeamImportPreviewResult,
CatalogTeamInstallResult,
InstalledCatalogTeam,
AgentSkillSyncMode,
AgentSkillAssignmentMode,
AgentSkillState,
AgentSkillOrigin,
AgentDesiredSkillEntry,
AgentSkillEntry,
AgentSkillSnapshot,
AgentSkillSyncRequest,
InstanceExecutionMode,
InstanceExperimentalSettings,
InstanceExperimentalSettingsWithManaged,
InstanceGeneralSettings,
InstanceSettings,
ManagedExperimentalFeatureKey,
ManagedSettingMetadata,
IssueGraphLivenessAutoRecoveryPreview,
IssueGraphLivenessAutoRecoveryPreviewItem,
BackupRetentionPolicy,
Agent,
AgentAccessState,
AgentChainOfCommandEntry,
AgentDetail,
ClearAgentErrorResponse,
AgentPermissions,
AgentInstructionsBundleMode,
AgentInstructionsFileSummary,
AgentInstructionsFileDetail,
AgentInstructionsBundle,
AgentKeyCreated,
AgentConfigRevision,
AdapterEnvironmentCheckLevel,
AdapterEnvironmentTestStatus,
AdapterEnvironmentCheck,
AdapterEnvironmentTestResult,
AdapterAuthSessionStatus,
AdapterAuthSessionInternalStatus,
AdapterAuthSessionFailure,
AdapterAuthSessionResponse,
AdapterAuthSessionPrompt,
AdapterAuthSessionOwnerResponse,
StartAdapterAuthSessionRequest,
AdapterAuthPanelMode,
ClaudeSetupTokenSessionPrompt,
ClaudeSetupTokenSessionResponse,
ClaudeSetupTokenSessionOwnerResponse,
SubmitBrowserCodeRequest,
ClaudeSetupTokenCompletionResponse,
SetupTokenTransportAdvisory,
SetupTokenTransportAdvisoryCode,
AssetImage,
Project,
ProjectBudgetSummary,
ProjectCodebase,
ProjectCodebaseOrigin,
ProjectGoalRef,
ProjectManagedByPlugin,
ProjectWorkspace,
CompanySearchCountType,
CompanySearchExtractIssueResult,
CompanySearchExtractKind,
CompanySearchExtractMatch,
CompanySearchExtractResponse,
CompanySearchExtractScope,
CompanySearchExtractSourceRef,
CompanySearchFilterOptionCounts,
CompanySearchHighlight,
CompanySearchArtifactSummary,
CompanySearchIssueFilterKey,
CompanySearchIssueSummary,
CompanySearchResponse,
CompanySearchResult,
CompanySearchResultType,
CompanySearchScope,
CompanySearchSnippet,
CompanySearchSort,
CompanySearchUpdatedWithinOption,
CompanySearchZeroResults,
CompanySearchZeroResultsLoosenSuggestion,
ExecutionWorkspace,
ExecutionWorkspaceSummary,
ExecutionWorkspaceConfig,
ExecutionWorkspaceCloseAction,
ExecutionWorkspaceCloseActionKind,
ExecutionWorkspaceCloseGitReadiness,
ExecutionWorkspaceCloseLinkedIssue,
ExecutionWorkspaceCloseReadiness,
ExecutionWorkspaceCloseReadinessState,
ExecutionWorkspaceDeliveryState,
WorkspaceOverviewItem,
WorkspaceOverviewLinkedIssue,
WorkspaceOverviewPrimaryService,
WorkspaceOverviewResponse,
ProjectWorkspaceRuntimeConfig,
WorkspaceCommandDefinition,
WorkspaceCommandKind,
WorkspaceRuntimeControlTarget,
WorkspaceRuntimeService,
WorkspaceRuntimeServiceStateMap,
WorkspaceOperation,
WorkspaceOperationPhase,
WorkspaceOperationStatus,
WorkspaceLoginHandoffTicketResponse,
WorkspaceReadiness,
WorkspaceReadinessProbeResult,
WorkspaceReadinessState,
WorkspaceSeedReadinessState,
NormalizedWorkspaceFileAvailabilityQuery,
WorkspaceFileAvailabilityQuery,
WorkspaceFileAvailabilityRequest,
WorkspaceFileAvailabilityResponse,
WorkspaceFileAvailabilityResult,
WorkspaceFileContent,
WorkspaceFileContentEncoding,
WorkspaceFileListDirectoryItem,
WorkspaceFileListFileItem,
WorkspaceFileListItem,
WorkspaceFileListMode,
WorkspaceFileListResponse,
WorkspaceFilePreviewKind,
WorkspaceFileRef,
WorkspaceFileResourceKind,
WorkspaceFileSelector,
WorkspaceFileWorkspaceKind,
ResolvedWorkspaceResource,
WorkspaceRuntimeDesiredState,
WorkspaceRealizationRecord,
WorkspaceRealizationRequest,
WorkspaceRealizationSyncStrategy,
WorkspaceRealizationTransport,
ExecutionWorkspaceStrategyType,
ExecutionWorkspaceMode,
SharedWorkspaceConcurrency,
ExecutionWorkspaceProviderType,
ExecutionWorkspaceStatus,
ExecutionWorkspaceStrategy,
ProjectExecutionWorkspacePolicy,
ProjectExecutionWorkspaceDefaultMode,
IssueExecutionWorkspaceSettings,
IssueWorkProduct,
IssueWorkProductType,
IssueWorkProductProvider,
IssueWorkProductStatus,
IssueWorkProductReviewState,
CompanyArtifact,
CompanyArtifactAgentSummary,
CompanyArtifactGroup,
CompanyArtifactGroupBy,
CompanyArtifactIssueSummary,
CompanyArtifactMediaKind,
CompanyArtifactProjectSummary,
CompanyArtifactSource,
CompanyArtifactsResponse,
CreateDocumentAnnotationCommentRequest,
CreateDocumentAnnotationThreadRequest,
DocumentAnnotationAnchorRemapSnapshot,
DocumentAnnotationAnchorSelector,
DocumentAnnotationAnchorSnapshot,
DocumentAnnotationComment,
DocumentAnnotationTextPositionSelector,
DocumentAnnotationTextQuoteSelector,
DocumentAnnotationThread,
DocumentAnnotationThreadWithComments,
PlanReviewContext,
DocumentReviewContext,
DocumentReviewContextDocument,
PlanReviewContextAuthor,
PlanReviewContextComment,
PlanReviewContextThread,
PlanReviewInteractionContext,
PlanReviewInteractionResultContext,
PlanReviewInteractionTargetContext,
DocumentTextPosition,
DocumentTextProjection,
DocumentTextRange,
UpdateDocumentAnnotationThreadRequest,
AttachmentArtifactWorkProductMetadata,
ExternalObject,
ExternalObjectMention,
ExternalObjectMentionGroup,
ExternalObjectSummary,
ExternalObjectSummaryItem,
CompactIssue,
Issue,
IssueChangeReceiptEntry,
IssueChanges,
IssueAssigneeAdapterOverrides,
IssueBlockerDiagnosticFlag,
IssueBlockerDiagnosticIssueSummary,
IssueBlockerDiagnosticNode,
IssueBlockerDiagnosticsReadiness,
IssueBlockerDiagnosticsResponse,
IssueWakeDiagnosticActivityRecord,
IssueWakeDiagnosticEvent,
IssueWakeDiagnosticWakeFailureClass,
IssueWakeDiagnosticWakeRequest,
IssueWakeDiagnosticsResponse,
IssueSubtreeDiagnosticNode,
IssueSubtreeDiagnosticEdge,
IssueSubtreeDiagnosticsResponse,
IssueBlockerAttention,
IssueBlockerAttentionIssueSummary,
IssueBlockerAttentionReason,
IssueBlockerAttentionState,
IssueReviewAttention,
IssueReviewAttentionPath,
IssueReviewAttentionPathKind,
IssueReviewAttentionState,
StalledReviewDecisionAction,
StalledReviewDecisionResponse,
IssueInboxAttentionKind,
IssueBlockedInboxAction,
IssueBlockedInboxAttention,
IssueUnblockDescriptor,
IssueUnblockOwner,
IssueBlockedInboxIssueRef,
IssueBlockedInboxOwner,
IssueBlockedInboxOwnerType,
IssueBlockedInboxReason,
IssueBlockedInboxSeverity,
IssueBlockedInboxState,
IssueProductivityReview,
IssueProductivityReviewTrigger,
IssueRecoveryAction,
IssueWatchdog,
IssueWatchdogStatus,
IssueWatchdogSummary,
SuccessfulRunHandoffState,
SuccessfulRunHandoffStateKind,
IssueScheduledRetry,
IssueScheduledRetryStatus,
IssueRetryNowOutcome,
IssueRetryNowResponse,
IssueReferenceSource,
IssueRelatedWorkItem,
IssueRelatedWorkSummary,
IssueExecutionMonitorPolicy,
IssueExecutionMonitorState,
IssueRelation,
IssueRelationIssueSummary,
IssueExecutionPolicy,
IssueExecutionState,
IssueExecutionStage,
IssueExecutionStageParticipant,
IssueExecutionStagePrincipal,
IssueExecutionDecision,
IssueComment,
IssueCommentDerivedAuthorSource,
IssueCommentMetadata,
IssueCommentMetadataSection,
IssueCommentMetadataRow,
IssueCommentMetadataTextRow,
IssueCommentMetadataCodeRow,
IssueCommentMetadataKeyValueRow,
IssueCommentMetadataIssueLinkRow,
IssueCommentMetadataAgentLinkRow,
IssueCommentMetadataRunLinkRow,
IssueCommentPresentation,
IssueThreadInteractionActorFields,
SuggestedTaskDraft,
SuggestTasksPayload,
SuggestTasksResultCreatedTask,
SuggestTasksResult,
AskUserQuestionsQuestionOption,
AskUserQuestionsQuestion,
AskUserQuestionsPayload,
AskUserQuestionsAnswer,
AskUserQuestionsResult,
RequestConfirmationIssueDocumentTarget,
RequestConfirmationCustomTarget,
RequestConfirmationTarget,
RequestConfirmationPayload,
RequestConfirmationResult,
RequestConfirmationToolActionPayload,
RequestConfirmationToolActionResult,
RequestConfirmationSecretProposalPayload,
RequestConfirmationSecretProposalResult,
RequestCheckboxConfirmationOption,
RequestCheckboxConfirmationPayload,
RequestCheckboxConfirmationResult,
RequestItemVerdictValue,
RequestItemVerdictsItem,
RequestItemVerdictsPayload,
RequestItemVerdictsResultItem,
RequestItemVerdictsResult,
AcceptedPlanDecompositionStatus,
AcceptedPlanDecompositionChild,
AcceptedPlanDecomposition,
AcceptedPlanDecompositionResult,
AcceptedPlanDecompositionChildIssue,
AcceptedPlanDecompositionSummary,
IssueThreadInteractionBase,
SuggestTasksInteraction,
AskUserQuestionsInteraction,
RequestConfirmationInteraction,
RequestCheckboxConfirmationInteraction,
RequestItemVerdictsInteraction,
IssueThreadInteraction,
IssueThreadInteractionPayload,
IssueThreadInteractionResult,
IssueDocument,
IssueDocumentSummary,
DocumentRevision,
DocumentFormat,
LegacyPlanDocument,
IssueAttachment,
IssueLabel,
IssueTreeControlPreview,
IssueTreeHold,
IssueTreeHoldMember,
IssueTreeHoldReleasePolicy,
IssueTreePreviewAgent,
IssueTreePreviewIssue,
IssueTreePreviewRun,
IssueTreePreviewTotals,
IssueTreePreviewWarning,
Goal,
Approval,
ApprovalComment,
BudgetPolicy,
BudgetPolicySummary,
BudgetIncident,
BudgetOverview,
BudgetPolicyUpsertInput,
BudgetIncidentResolutionInput,
CostEvent,
CostSummary,
IssueCostSummary,
CostByAgent,
CostByProviderModel,
CostByBiller,
CostByAgentModel,
CostWindowSpendRow,
CostByProject,
FinanceEvent,
FinanceSummary,
FinanceByBiller,
FinanceByKind,
AgentWakeupResponse,
AgentWakeupSkipped,
GitWorktreeBranchAncestryVerdict,
GitWorktreeBranchIncoherenceEvidence,
GitWorktreeInProgressOperation,
HeartbeatRun,
HeartbeatRunEvent,
HeartbeatRunStatusPhase,
AgentRuntimeState,
AgentTaskSession,
AgentWakeupRequest,
InstanceSchedulerHeartbeatAgent,
LiveEvent,
DashboardRunActivityDay,
DashboardSummary,
TimelineActorType,
TimelineEventKind,
TimelineEdgeKind,
WorkTimelineActor,
WorkTimelineSpan,
WorkTimelineEvent,
WorkTimelineEdge,
WorkTimelineResult,
ActivityEvent,
UserProfileActivitySummary,
UserProfileAgentUsage,
UserProfileDailyPoint,
UserProfileIdentity,
UserProfileIssueSummary,
UserProfileProviderUsage,
UserProfileResponse,
UserProfileWindowStats,
SidebarBadges,
SidebarOrderPreference,
InboxDismissal,
InboxDismissalKind,
AccessUserProfile,
CompanyMemberRecord,
CompanyMembersResponse,
CompanyMembership,
CompanyInviteListResponse,
CompanyInviteRecord,
PrincipalPermissionGrant,
Invite,
JoinRequest,
JoinRequestInviteSummary,
JoinRequestRecord,
InstanceUserRoleGrant,
AdminUserDirectoryEntry,
UserCompanyAccessEntry,
UserCompanyAccessResponse,
CompanyPortabilityInclude,
CompanyPortabilityEnvInput,
CompanyPortabilityFileEntry,
CompanyPortabilityCompanyManifestEntry,
CompanyPortabilitySidebarOrder,
CompanyPortabilityLabelManifestEntry,
CompanyPortabilityBlobManifestEntry,
CompanyPortabilityEmbeddedAssetManifestEntry,
CompanyPortabilityAgentManifestEntry,
CompanyPortabilitySkillManifestEntry,
CompanyPortabilityProjectManifestEntry,
CompanyPortabilityProjectWorkspaceManifestEntry,
CompanyPortabilityIssueRoutineTriggerManifestEntry,
CompanyPortabilityIssueRoutineManifestEntry,
CompanyPortabilityIssueCommentManifestEntry,
CompanyPortabilityIssueDocumentManifestEntry,
CompanyPortabilityIssueWorkProductManifestEntry,
CompanyPortabilityIssueMonitorManifestEntry,
CompanyPortabilityIssueAttachmentManifestEntry,
CompanyPortabilityIssueManifestEntry,
CompanyPortabilityManifest,
CompanyPortabilityExportResult,
CompanyPortabilityExportPreviewFile,
CompanyPortabilityExportPreviewResult,
CompanyPortabilitySource,
CompanyPortabilityImportTarget,
CompanyPortabilityAgentSelection,
CompanyPortabilityCollisionStrategy,
CompanyPortabilityPreviewRequest,
CompanyPortabilityPreviewAgentPlan,
CompanyPortabilityPreviewProjectPlan,
CompanyPortabilityPreviewIssuePlan,
CompanyPortabilityPreviewResult,
CompanyPortabilityAdapterOverride,
CompanyPortabilityImportRequest,
CompanyPortabilityImportResult,
CompanyPortabilityExportRequest,
EnvBinding,
EnvPlainBinding,
EnvSecretRefBinding,
EnvUserSecretRefBinding,
AgentEnvConfig,
CompanySecret,
UserSecretDefinition,
UserSecretDeclaration,
UserSecretCoverageSummary,
CompanySecretProviderConfig,
SecretProviderConfigPayload,
SecretProviderConfigHealthDetails,
SecretProviderConfigHealthResponse,
SecretProviderConfigDiscoveryCandidate,
SecretProviderConfigDiscoveryPreviewResult,
SecretProviderConfigDiscoverySample,
SecretProviderConfigDiscoverySignal,
CompanySecretBinding,
CompanySecretBindingTarget,
CompanySecretUsageBinding,
CompanySecretVersion,
SecretAccessEvent,
RemoteSecretImportCandidate,
RemoteSecretImportCandidateStatus,
RemoteSecretImportConflict,
RemoteSecretImportPreviewResult,
RemoteSecretImportResult,
RemoteSecretImportRowResult,
RemoteSecretImportRowStatus,
SecretAccessOutcome,
SecretBindingTargetType,
SecretManagedMode,
SecretProviderDescriptor,
SecretStatus,
SecretVersionSelector,
SecretVersionStatus,
SecretProposalKind,
SecretProposalStatus,
SecretProposalAgentRef,
SecretProposalIssueRef,
SecretProposalView,
ApproveSecretProposalInput,
RejectSecretProposalInput,
ConnectToolAppResult,
ToolOAuthStartResult,
ToolActionRequest,
ToolAccessDecision,
ToolAccessDecisionInput,
ToolAccessReasonCode,
ToolAccessSelector,
ToolPolicyConditions,
ToolAppConnectionActionSummary,
ToolTrustRuleArgumentFilters,
ToolTrustRuleBatchApprovalConfig,
ToolTrustRuleScopeInput,
ToolMcpGateway,
ToolMcpGatewayAuthConfig,
ToolMcpGatewayBearerAuthConfig,
ToolMcpGatewayClientSnippet,
ToolMcpGatewayContextScopeType,
ToolMcpGatewayDefaultProfileMode,
ToolMcpGatewayCallerHeaderPolicy,
ToolMcpGatewayGeneratedMetadataHeaderPolicy,
ToolMcpGatewayHeaderPolicy,
ToolMcpGatewayMetadataPolicy,
ToolMcpGatewayOAuthReservedConfig,
ToolMcpGatewayOnDemandToolsConfig,
ToolMcpGatewayResponseHeaderPolicy,
ToolMcpGatewayStaticHeaderPolicy,
ToolMcpGatewayStatus,
ToolMcpGatewayToken,
ToolMcpGatewayTokenAction,
ToolMcpGatewayTokenCreated,
ToolMcpGatewayTokenSubjectType,
ToolMcpGatewayWithTokens,
FinishToolAppResult,
ToolActionRequestStatus,
ToolApplicationType,
ToolApplicationStatus,
ToolAuditEventType,
ToolAuditOutcome,
ToolCallEvent,
ToolCatalogEntryKind,
ToolConnectionHealthStatus,
ToolConnectionAuthKind,
ToolConnectionOwnership,
ToolConnectionTransport,
ToolConnectionStatus,
ToolConnectionKind,
ToolCatalogEntryStatus,
ToolAppAttentionItem,
ToolAppAttentionReason,
ToolAppsAttentionResponse,
ToolActionRequestListItem,
ToolActionRequestsResponse,
ToolConnectionActivityResponse,
ToolConnectionTestDecision,
ToolConnectionTestToolAccess,
ToolConnectionAccessSummary,
ToolConnectionTestAgent,
ToolConnectionTestAgentsResponse,
ToolConnectionTestCallResult,
ToolConnectionTestCallStatus,
ToolConnectionTestCallStatusPhase,
ToolConnectionLifecycleEvent,
ToolConnectionLifecycleEventType,
ToolConnectionInstall,
ToolConnectionInstallSnapshot,
ToolConnectionInstallTargetType,
ConnectionGrant,
ConnectionGrantKind,
ConnectionGrantStatus,
ConnectionTokenScope,
ConnectionTokenRequest,
ConnectionTokenAttribution,
ConnectionTokenMintedResponse,
ConnectionTokenUseEnvLeaseResponse,
ConnectionTokenResponse,
ConnectionTokenIssuance,
ToolCredentialSecretRef,
ToolInvocation,
ToolInvocationApprovalState,
ToolInvocationStatus,
ToolPolicy,
ToolPolicyDecision,
ToolPolicyType,
ToolProfile,
ToolProfileBinding,
ToolProfileBindingTargetType,
ToolProfileDefaultAction,
ToolProfileEntry,
ToolProfileEntryEffect,
ToolProfileEntrySelectorType,
ToolProfileEffectiveSummary,
ToolProfileNewToolReviewDecision,
ToolProfileNewToolReviewItem,
ToolProfileNewToolsReview,
ToolProfileNewToolsReviewResult,
ToolProfileSummary,
ToolProfileStatus,
ToolProfileWithDetails,
ToolRateLimitCounter,
ToolRateLimitRule,
ToolRateLimitWindowKind,
ToolRedactedValueSummary,
ToolRiskLevel,
ToolRunDecision,
ToolRunDecisionLookup,
ToolRuntimeKind,
ToolRuntimeHealthSummary,
ToolRuntimeMetricSnapshot,
ToolRuntimeAlertRecommendation,
ToolRuntimeAlertSeverity,
ToolRuntimeAlertStatus,
ToolRuntimeSupportMatrix,
ToolRuntimeSlotStatus,
ToolStdioCommandTemplate,
ToolStdioTemplateToolSummary,
McpConnectionCredentialRef,
ToolApplication,
ToolConnection,
ToolCatalogEntry,
ToolRuntimeSlot,
ToolConnectionHealthCheckResult,
ToolCatalogRefreshResult,
ToolExampleInstallResult,
ToolExampleSmokeCheck,
ToolExampleSmokeResult,
ToolExampleSummary,
McpJsonImportDraft,
McpJsonImportPreview,
CreateToolTrustRuleFromActionRequest,
RevokeToolTrustRule,
Routine,
RoutineEnvConfig,
RoutineManagedByPlugin,
RoutineDescriptionDocument,
RoutineVariable,
RoutineVariableDefaultValue,
RoutineRevisionSnapshotRoutineV1,
RoutineRevisionSnapshotTriggerV1,
RoutineRevisionSnapshotV1,
RoutineRevisionSnapshot,
RoutineRevision,
RoutineTrigger,
RoutineRun,
RoutineTriggerSecretMaterial,
RoutineDetail,
RoutineRunSummary,
RoutineExecutionIssueOrigin,
RoutineListItem,
JsonSchema,
PluginJobDeclaration,
PluginWebhookDeclaration,
PluginToolDeclaration,
PluginEnvironmentDriverDeclaration,
SandboxProviderCapabilities,
PluginEnvironmentTemplateConfigBinding,
PluginManagedAgentDeclaration,
PluginManagedProjectDeclaration,
PluginManagedRoutineDeclaration,
PluginManagedSkillDeclaration,
PluginManagedSkillFileDeclaration,
PluginLocalFolderDeclaration,
PluginManagedAgentResolution,
PluginManagedProjectResolution,
PluginManagedRoutineResolution,
PluginManagedSkillResolution,
PluginManagedResourceKind,
PluginManagedResourceRef,
PluginUiSlotDeclaration,
PluginLauncherActionDeclaration,
PluginLauncherRenderDeclaration,
PluginLauncherRenderContextSnapshot,
PluginLauncherDeclaration,
PluginMinimumHostVersion,
PluginUiDeclaration,
PluginDatabaseDeclaration,
PluginApiRouteCompanyResolution,
PluginApiRouteDeclaration,
PluginObjectReferenceRefreshPolicy,
PluginObjectReferenceProviderDeclaration,
PaperclipPluginManifestV1,
PluginRecord,
PluginDatabaseNamespaceRecord,
PluginMigrationRecord,
PluginStateRecord,
PluginConfig,
PluginCompanySettings,
PluginEntityRecord,
PluginEntityQuery,
PluginJobRecord,
PluginJobRunRecord,
PluginWebhookDeliveryRecord,
AppDefinition,
ConnectionMethodDef,
FieldDef,
OAuthRedirectConstraints,
QuotaWindow,
ProviderQuotaResult,
} from "./types/index.js";
export { WORKSPACE_READINESS_STATES } from "./types/index.js";
export {
COMPANY_SEARCH_EXTRACT_KINDS,
COMPANY_SEARCH_EXTRACT_SCOPES,
COMPANY_SEARCH_SCOPES,
COMPANY_SEARCH_SORTS,
COMPANY_SEARCH_UPDATED_WITHIN_OPTIONS,
} from "./types/index.js";
export {
ADAPTER_AUTH_SESSION_STATUSES,
ADAPTER_AUTH_SESSION_INTERNAL_STATUSES,
ADAPTER_AUTH_PANEL_MODES,
SETUP_TOKEN_TRANSPORT_ADVISORY_CODE,
} from "./types/index.js";
export {
ADAPTER_AUTH_SESSION_ACTIVE_STATUSES,
isActiveAdapterAuthSessionStatus,
toPublicAdapterAuthSessionStatus,
type AdapterAuthSessionActiveStatus,
} from "./adapter-auth-session.js";
export {
adapterAuthSessionStatusSchema,
adapterAuthSessionFailureSchema,
adapterAuthSessionResponseSchema,
adapterAuthSessionPromptSchema,
adapterAuthSessionOwnerResponseSchema,
startAdapterAuthSessionRequestSchema,
} from "./validators/adapter-auth-session.js";
export {
startClaudeSetupTokenSessionRequestSchema,
adapterAuthPanelModeSchema,
claudeSetupTokenSessionResponseSchema,
claudeSetupTokenSessionPromptSchema,
claudeSetupTokenSessionOwnerResponseSchema,
setupTokenTransportAdvisorySchema,
submitBrowserCodeRequestSchema,
browserCodeSchema,
isValidBrowserCode,
BROWSER_CODE_MAX_LENGTH,
BROWSER_CODE_DISALLOWED_CHAR,
storedSessionIdSchema,
claudeSetupTokenCompletionResponseSchema,
claudeSetupTokenOverwriteSchema,
claudeOAuthTokenStatusResponseSchema,
type StartClaudeSetupTokenSessionRequest,
type ClaudeSetupTokenOverwrite,
type ClaudeOAuthTokenStatusResponse,
type BrowserCode,
} from "./validators/claude-setup-token-session.js";
export {
ISSUE_REFERENCE_IDENTIFIER_RE,
buildIssueReferenceHref,
extractIssueReferenceIdentifiers,
extractIssueReferenceMatches,
findIssueReferenceMatches,
normalizeIssueIdentifier,
parseIssueReferenceHref,
type IssueReferenceMatch,
} from "./issue-references.js";
export {
anchorSnapshotToSelector,
createDocumentAnchorSelector,
normalizeAnchorText,
projectMarkdownToText,
remapDocumentAnchor,
resolveProjectionRange,
selectorToAnchorSnapshot,
verifyDocumentAnchorSelector,
type CreateDocumentAnchorSelectorOptions,
type RemapDocumentAnchorInput,
type RemapDocumentAnchorResult,
type VerifyDocumentAnchorSelectorInput,
type VerifyDocumentAnchorSelectorResult,
} from "./document-anchors.js";
export {
formatExternalObjectMentionSourceLabel,
type ExternalObjectCanonicalIdentity,
type ExternalObjectCanonicalUrl,
type ExternalObjectMentionSource,
type ExternalObjectUrlCanonicalizationOptions,
type ExternalObjectUrlMatch,
} from "./external-objects.js";
export {
sidebarOrderPreferenceSchema,
upsertSidebarOrderPreferenceSchema,
type UpsertSidebarOrderPreference,
} from "./validators/sidebar-preferences.js";
export {
resourceMembershipStateSchema,
updateDocumentResourceMembershipSchema,
updateResourceMembershipSchema,
type UpdateDocumentResourceMembership,
type UpdateResourceMembership,
} from "./validators/resource-memberships.js";
export {
inboxAgentPolicyModeSchema,
updateInboxAgentPolicySchema,
type UpdateInboxAgentPolicy,
} from "./validators/inbox-agent-policy.js";
export {
INBOX_AGENT_POLICY_MODES,
type InboxAgentPolicyMode,
type InboxAgentPolicy,
} from "./types/inbox-agent-policy.js";
export {
RESOURCE_MEMBERSHIP_STATES,
type ResourceMembershipResourceType,
type ResourceMembershipState,
type ResourceMemberships,
type ResourceMembershipUpdateResult,
} from "./types/resource-memberships.js";
export { workspaceRuntimeControlTargetSchema } from "./validators/execution-workspace.js";
export {
findWorkspaceCommandDefinition,
listWorkspaceCommandDefinitions,
listWorkspaceServiceCommandDefinitions,
matchWorkspaceRuntimeServiceToCommand,
scoreWorkspaceRuntimeServiceMatch,
} from "./workspace-commands.js";
export {
DEFAULT_FEEDBACK_DATA_SHARING_PREFERENCE,
FEEDBACK_TARGET_TYPES,
FEEDBACK_DATA_SHARING_PREFERENCES,
FEEDBACK_TRACE_STATUSES,
FEEDBACK_VOTE_VALUES,
DEFAULT_FEEDBACK_DATA_SHARING_TERMS_VERSION,
} from "./types/feedback.js";
export {
DAILY_RETENTION_PRESETS,
WEEKLY_RETENTION_PRESETS,
MONTHLY_RETENTION_PRESETS,
DEFAULT_BACKUP_RETENTION,
DEFAULT_ISSUE_GRAPH_LIVENESS_AUTO_RECOVERY_LOOKBACK_HOURS,
MIN_ISSUE_GRAPH_LIVENESS_AUTO_RECOVERY_LOOKBACK_HOURS,
MAX_ISSUE_GRAPH_LIVENESS_AUTO_RECOVERY_LOOKBACK_HOURS,
PAPERCLIP_CLOUD_MANAGED_BY,
} from "./types/instance.js";
export type {
SmokeLabServiceStatus,
SmokeRun,
SmokeRunStatus,
SmokeRunStep,
SmokeRunStepPath,
SmokeRunStepStatus,
SmokeRunTrigger,
} from "./types/smoke-lab.js";
export {
SMOKE_RUN_STATUSES,
SMOKE_RUN_STEP_PATHS,
SMOKE_RUN_STEP_STATUSES,
SMOKE_RUN_TRIGGERS,
} from "./types/smoke-lab.js";
export type { ServerGitInfo, ServerGitLocalChanges, ServerInfoSnapshot } from "./types/server-info.js";
export {
getClosedIsolatedExecutionWorkspaceMessage,
isClosedIsolatedExecutionWorkspace,
} from "./execution-workspace-guards.js";
export {
instanceSettingsSchema,
instanceGeneralSettingsSchema,
patchInstanceGeneralSettingsSchema,
type PatchInstanceGeneralSettings,
instanceExperimentalSettingsSchema,
instanceExperimentalSettingsWithManagedSchema,
managedSettingMetadataSchema,
patchInstanceExperimentalSettingsSchema,
patchInstanceSettingsSchema,
issueGraphLivenessAutoRecoveryRequestSchema,
createSmokeRunSchema,
updateSmokeRunSchema,
recordSmokeRunStepSchema,
smokeRunStatusSchema,
smokeRunStepPathSchema,
smokeRunStepStatusSchema,
smokeRunTriggerSchema,
trustPresetSchema,
lowTrustBoundarySchema,
lowTrustReviewPresetPolicySchema,
assignmentAuthorizationPolicySchema,
protectedAgentAuthorizationPolicySchema,
trustAuthorizationPolicySchema,
type PatchInstanceExperimentalSettings,
type PatchInstanceSettings,
type IssueGraphLivenessAutoRecoveryRequest,
type CreateSmokeRun,
type UpdateSmokeRun,
type RecordSmokeRunStep,
type TrustPresetInput,
type LowTrustBoundaryInput,
type TrustAuthorizationPolicyInput,
} from "./validators/index.js";
export {
createCompanySchema,
interactionResolverGovernanceSchema,
updateCompanySchema,
updateCompanyBrandingSchema,
feedbackTargetTypeSchema,
feedbackTraceStatusSchema,
feedbackVoteValueSchema,
externalObjectStatusCategorySchema,
externalObjectStatusToneSchema,
externalObjectLivenessStateSchema,
externalObjectMentionSourceKindSchema,
externalObjectMentionConfidenceSchema,
externalObjectProviderKeySchema,
externalObjectTypeSchema,
externalObjectCanonicalIdentitySchema,
externalObjectMentionSourceSchema,
upsertIssueFeedbackVoteSchema,
type CreateCompany,
type UpdateCompany,
type UpdateCompanyBranding,
type UpsertIssueFeedbackVote,
type ExternalObjectCanonicalIdentityInput,
type ExternalObjectMentionSourceInput,
type ExternalObjectProviderKeyInput,
type ExternalObjectTypeInput,
environmentDriverSchema,
environmentStatusSchema,
environmentLeaseStatusSchema,
environmentLeaseCleanupStatusSchema,
createEnvironmentSchema,
updateEnvironmentSchema,
probeEnvironmentConfigSchema,
type CreateEnvironment,
type UpdateEnvironment,
type ProbeEnvironmentConfig,
agentSkillStateSchema,
agentSkillSyncModeSchema,
agentSkillAssignmentModeSchema,
agentDesiredSkillEntrySchema,
agentDesiredSkillSelectionSchema,
agentSkillEntrySchema,
agentSkillSnapshotSchema,
agentSkillSyncSchema,
type AgentSkillSync,
createAgentSchema,
builtInAgentEmptyMutationSchema,
builtInAgentProvisionSchema,
builtInAgentResetSchema,
createAgentHireSchema,
updateAgentSchema,
agentInstructionsBundleModeSchema,
updateAgentInstructionsBundleSchema,
upsertAgentInstructionsFileSchema,
updateAgentInstructionsPathSchema,
agentApiKeyScopeSchema,
normalizeAgentApiKeyScope,
standardAgentKeyScopeSchema,
taskBridgeAgentKeyScopeSchema,
skillTestAgentKeyScopeSchema,
createAgentKeySchema,
agentMineInboxQuerySchema,
wakeAgentSchema,
resetAgentSessionSchema,
testAdapterEnvironmentSchema,
agentPermissionsSchema,
updateAgentPermissionsSchema,
type CreateAgent,
type BuiltInAgentProvision,
type BuiltInAgentReset,
type CreateAgentHire,
type UpdateAgent,
type UpdateAgentInstructionsBundle,
type UpsertAgentInstructionsFile,
type UpdateAgentInstructionsPath,
type AgentApiKeyScope,
type TaskBridgeAgentKeyScope,
type SkillTestAgentKeyScope,
type CreateAgentKey,
type AgentMineInboxQuery,
type WakeAgent,
type ResetAgentSession,
type TestAdapterEnvironment,
type UpdateAgentPermissions,
createProjectSchema,
updateProjectSchema,
createProjectWorkspaceSchema,
updateProjectWorkspaceSchema,
type CreateProject,
type UpdateProject,
type CreateProjectWorkspace,
type UpdateProjectWorkspace,
projectExecutionWorkspacePolicySchema,
createDocumentAnnotationCommentSchema,
createDocumentAnnotationThreadSchema,
documentAnnotationAnchorConfidenceSchema,
documentAnnotationAnchorSelectorSchema,
documentAnnotationAnchorStateSchema,
documentAnnotationTextPositionSelectorSchema,
documentAnnotationTextQuoteSelectorSchema,
documentAnnotationThreadStatusSchema,
updateDocumentAnnotationThreadSchema,
type CreateDocumentAnnotationComment,
type CreateDocumentAnnotationThread,
type UpdateDocumentAnnotationThread,
companySearchExtractQuerySchema,
companySearchQuerySchema,
COMPANY_SEARCH_EXTRACT_DEFAULT_LIMIT,
COMPANY_SEARCH_EXTRACT_DEFAULT_MATCHES_PER_ISSUE,
COMPANY_SEARCH_EXTRACT_MAX_LIMIT,
COMPANY_SEARCH_EXTRACT_MAX_MATCHES_PER_ISSUE,
COMPANY_SEARCH_EXTRACT_MAX_OFFSET,
COMPANY_SEARCH_DEFAULT_LIMIT,
COMPANY_SEARCH_MAX_LIMIT,
COMPANY_SEARCH_MAX_OFFSET,
COMPANY_SEARCH_MAX_QUERY_LENGTH,
COMPANY_SEARCH_MAX_TOKENS,
type CompanySearchExtractQuery,
type CompanySearchQuery,
createIssueSchema,
createIssueInputSchema,
createChildIssueSchema,
createAcceptedPlanDecompositionSchema,
resolveCreateIssueStatusDefault,
createIssueLabelSchema,
upsertIssueWatchdogSchema,
issueBlockedInboxAttentionSchema,
issueBlockedInboxIssueRefSchema,
issueBlockedInboxReasonSchema,
issueBlockedInboxSeveritySchema,
issueBlockedInboxStateSchema,
updateIssueSchema,
stalledReviewDecisionSchema,
issueExecutionPolicySchema,
issueExecutionStateSchema,
resolveIssueRecoveryActionSchema,
issueReviewRequestSchema,
issueExecutionWorkspaceSettingsSchema,
checkoutIssueSchema,
issueCommentAuthorTypeSchema,
issueCommentPresentationSchema,
issueCommentMetadataRowSchema,
issueCommentMetadataSectionSchema,
issueCommentMetadataSchema,
addIssueCommentSchema,
issueThreadInteractionStatusSchema,
issueThreadInteractionKindSchema,
issueThreadInteractionContinuationPolicySchema,
suggestedTaskDraftSchema,
suggestTasksPayloadSchema,
suggestTasksResultCreatedTaskSchema,
suggestTasksResultSchema,
askUserQuestionsQuestionOptionSchema,
askUserQuestionsQuestionSchema,
askUserQuestionsPayloadSchema,
askUserQuestionsAnswerSchema,
askUserQuestionsResultSchema,
requestConfirmationIssueDocumentTargetSchema,
requestConfirmationCustomTargetSchema,
requestConfirmationTargetSchema,
requestConfirmationPayloadSchema,
requestConfirmationResumeFailureSchema,
requestConfirmationResultSchema,
requestCheckboxConfirmationOptionSchema,
requestCheckboxConfirmationPayloadSchema,
requestCheckboxConfirmationResultSchema,
requestItemVerdictValueSchema,
requestItemVerdictsItemSchema,
requestItemVerdictsPayloadSchema,
requestItemVerdictsResultItemSchema,
requestItemVerdictsResultSchema,
createIssueThreadInteractionSchema,
acceptIssueThreadInteractionSchema,
rejectIssueThreadInteractionSchema,
cancelIssueThreadInteractionSchema,
withdrawIssueThreadInteractionSchema,
respondIssueThreadInteractionSchema,
submitIssueThreadInteractionVerdictsSchema,
linkIssueApprovalSchema,
createIssueAttachmentMetadataSchema,
createIssueWorkProductSchema,
issueWorkProductMetadataSchema,
updateIssueWorkProductSchema,
attachmentArtifactWorkProductMetadataSchema,
issueWorkProductTypeSchema,
issueWorkProductStatusSchema,
issueWorkProductReviewStateSchema,
COMPANY_ARTIFACTS_DEFAULT_LIMIT,
COMPANY_ARTIFACTS_MAX_LIMIT,
COMPANY_ARTIFACTS_MAX_QUERY_LENGTH,
companyArtifactGroupBySchema,
companyArtifactGroupSchema,
companyArtifactMediaKindSchema,
companyArtifactSchema,
companyArtifactSourceSchema,
companyArtifactsQuerySchema,
companyArtifactsResponseSchema,
reconcileExecutionWorkspaceBranchSchema,
updateExecutionWorkspaceSchema,
workspaceOverviewQuerySchema,
executionWorkspaceDeliveryStateSchema,
executionWorkspaceStatusSchema,
executionWorkspaceCloseActionKindSchema,
executionWorkspaceCloseActionSchema,
executionWorkspaceCloseGitReadinessSchema,
executionWorkspaceCloseLinkedIssueSchema,
executionWorkspaceCloseReadinessSchema,
executionWorkspaceCloseReadinessStateSchema,
resolvedWorkspaceResourceSchema,
workspaceFileContentSchema,
workspaceFileListModeSchema,
workspaceFileListQuerySchema,
workspaceFilePreviewKindSchema,
workspaceFileRefSchema,
workspaceFileResourceKindSchema,
workspaceFileResourceQuerySchema,
workspaceFileSelectorSchema,
workspaceFileWorkspaceKindSchema,
issueDocumentFormatSchema,
issueDocumentKeySchema,
upsertIssueDocumentSchema,
restoreIssueDocumentRevisionSchema,
createIssueTreeHoldSchema,
issueTreeControlModeSchema,
issueTreeHoldReleasePolicySchema,
previewIssueTreeControlSchema,
releaseIssueTreeHoldSchema,
type CreateIssue,
type CreateChildIssue,
type CreateAcceptedPlanDecomposition,
type CreateIssueLabel,
type UpdateIssue,
type StalledReviewDecision,
type ResolveIssueRecoveryAction,
type CheckoutIssue,
type AddIssueComment,
type CreateIssueThreadInteraction,
type AcceptIssueThreadInteraction,
type RejectIssueThreadInteraction,
type CancelIssueThreadInteraction,
type WithdrawIssueThreadInteraction,
type RespondIssueThreadInteraction,
type SubmitIssueThreadInteractionVerdicts,
type LinkIssueApproval,
type CreateIssueAttachmentMetadata,
type CreateIssueWorkProduct,
type UpdateIssueWorkProduct,
type UpsertIssueWatchdog,
type CompanyArtifactsQuery,
type ReconcileExecutionWorkspaceBranch,
type UpdateExecutionWorkspace,
type WorkspaceOverviewQuery,
normalizedWorkspaceFileAvailabilityQuerySchema,
workspaceFileAvailabilityRequestSchema,
workspaceFileAvailabilityResponseSchema,
workspaceFileAvailabilityResultSchema,
type WorkspaceFileAvailabilityRequestInput,
type WorkspaceFileListQuery,
type WorkspaceFileResourceQuery,
type IssueDocumentFormat,
type UpsertIssueDocument,
type RestoreIssueDocumentRevision,
type CreateIssueTreeHold,
type PreviewIssueTreeControl,
type ReleaseIssueTreeHold,
createGoalSchema,
updateGoalSchema,
type CreateGoal,
type UpdateGoal,
applyOnboardingSeedSchema,
type ApplyOnboardingSeed,
createApprovalSchema,
upsertBudgetPolicySchema,
resolveBudgetIncidentSchema,
resolveApprovalSchema,
requestApprovalRevisionSchema,
resubmitApprovalSchema,
addApprovalCommentSchema,
type CreateApproval,
type UpsertBudgetPolicy,
type ResolveBudgetIncident,
type ResolveApproval,
type RequestApprovalRevision,
type ResubmitApproval,
type AddApprovalComment,
envBindingPlainSchema,
envBindingSecretRefSchema,
envBindingUserSecretRefSchema,
envBindingSchema,
envConfigSchema,
createSecretSchema,
createUserSecretDefinitionSchema,
updateUserSecretDefinitionSchema,
createUserSecretValueSchema,
updateUserSecretValueSchema,
rotateUserSecretValueSchema,
createUserSecretDeclarationSchema,
createSecretProviderConfigSchema,
updateSecretProviderConfigSchema,
secretProviderConfigDiscoveryPreviewSchema,
remoteSecretImportPreviewSchema,
remoteSecretImportSchema,
remoteSecretImportSelectionSchema,
localEncryptedProviderConfigSchema,
awsSecretsManagerProviderConfigSchema,
gcpSecretManagerProviderConfigSchema,
vaultProviderConfigSchema,
secretProviderConfigPayloadSchema,
createSecretBindingSchema,
rotateSecretSchema,
secretBindingTargetSchema,
updateSecretSchema,
createToolActionRequestSchema,
toolApplicationTypeSchema,
toolApplicationStatusSchema,
toolAuditEventTypeSchema,
toolAuditOutcomeSchema,
toolCatalogEntryKindSchema,
toolCatalogEntryStatusSchema,
toolConnectionHealthStatusSchema,
toolConnectionKindSchema,
toolConnectionTransportSchema,
toolConnectionStatusSchema,
toolCredentialPlacementSchema,
toolCredentialSecretRefSchema,
mcpConnectionCredentialRefSchema,
toolInvocationApprovalStateSchema,
toolInvocationStatusSchema,
toolMcpGatewayAuthConfigSchema,
toolMcpGatewayContextScopeTypeSchema,
toolMcpGatewayDefaultProfileModeSchema,
toolMcpGatewayHeaderPolicySchema,
toolMcpGatewayMetadataPolicySchema,
toolMcpGatewayOnDemandToolsConfigSchema,
toolMcpGatewayStatusSchema,
toolMcpGatewayTokenActionSchema,
toolMcpGatewayTokenSubjectTypeSchema,
toolPolicyDecisionSchema,
toolPolicyTypeSchema,
toolProfileBindingTargetTypeSchema,
toolProfileDefaultActionSchema,
toolProfileEntryEffectSchema,
toolProfileEntrySelectorTypeSchema,
toolProfileStatusSchema,
toolRateLimitWindowKindSchema,
toolRedactedValueSummarySchema,
toolRiskLevelSchema,
toolRuntimeKindSchema,
toolRuntimeSlotStatusSchema,
toolTransportConfigSchema,
toolAccessSelectorSchema,
toolPolicyConditionsSchema,
toolRateLimitRuleSchema,
toolTrustRuleArgumentFiltersSchema,
toolTrustRuleBatchApprovalSchema,
toolTrustRuleScopeSchema,
connectionTokenRequestSchema,
connectionTokenSubjectSchema,
startConnectionAuthorizationSchema,
toolConnectionTestCallSchema,
toolPolicyTestRequestSchema,
importMcpJsonSchema,
createToolTrustRuleFromActionRequestSchema,
revokeToolTrustRuleSchema,
connectToolAppSchema,
reconnectToolAppSchema,
createToolApplicationSchema,
finishToolAppSchema,
updateToolApplicationSchema,
createToolConnectionSchema,
createToolMcpGatewaySchema,
createToolMcpGatewayTokenSchema,
createToolStdioCommandTemplateSchema,
disableToolStdioCommandTemplateSchema,
updateToolConnectionSchema,
putToolConnectionInstallsSchema,
updateToolMcpGatewaySchema,
createToolInvocationSchema,
createToolPolicySchema,
createToolProfileBindingForProfileSchema,
createToolProfileBindingSchema,
createToolProfileEntryForProfileSchema,
createToolProfileEntrySchema,
createToolProfileSchema,
createToolProfileWithEntriesSchema,
deleteToolProfileSchema,
duplicateToolPolicySchema,
duplicateToolProfileSchema,
reorderToolPoliciesSchema,
reviewToolProfileNewToolsSchema,
unbindToolProfileBindingSchema,
updateToolPolicySchema,
updateToolProfileEntrySchema,
updateToolProfileSchema,
updateToolProfileWithEntriesSchema,
upsertToolCatalogEntrySchema,
createRoutineSchema,
updateRoutineSchema,
createRoutineTriggerSchema,
updateRoutineTriggerSchema,
routineVariableSchema,
runRoutineSchema,
pipelineAutomationRetryCleanupOptionsSchema,
pipelineAutomationRetryRequestSchema,
pipelineAutomationRetryScopeSchema,
pipelineStageAutomationSchema,
pipelineStageApproverSchema,
pipelineStageConfigSchema,
pipelineStageKindSchema,
pipelineStageOnEnterSchema,
pipelineStageVariableSchema,
rotateRoutineTriggerSecretSchema,
routineRevisionSnapshotRoutineV1Schema,
routineRevisionSnapshotTriggerV1Schema,
routineRevisionSnapshotV1Schema,
routineRevisionSnapshotSchema,
type CreateSecret,
type CreateSecretProviderConfig,
type UpdateSecretProviderConfig,
type SecretProviderConfigDiscoveryPreview,
type RemoteSecretImportPreview,
type RemoteSecretImport,
type RemoteSecretImportSelection,
type RotateSecret,
type UpdateSecret,
type ConnectToolApp,
type ReconnectToolApp,
type CreateToolActionRequest,
type CreateToolApplication,
type FinishToolApp,
type UpdateToolApplication,
type CreateToolConnection,
type CreateToolMcpGateway,
type CreateToolMcpGatewayToken,
type CreateToolStdioCommandTemplate,
type DisableToolStdioCommandTemplate,
type UpdateToolConnection,
type PutToolConnectionInstalls,
type UpdateToolMcpGateway,
type ConnectionTokenRequestInput,
type ImportMcpJson,
type ToolPolicyTestRequestInput,
type CreateToolInvocation,
type CreateToolPolicy,
type DuplicateToolPolicy,
type CreateToolProfile,
type CreateToolProfileBinding,
type CreateToolProfileBindingForProfile,
type CreateToolProfileEntry,
type CreateToolProfileEntryForProfile,
type CreateToolProfileWithEntries,
type DeleteToolProfile,
type DuplicateToolProfile,
type ReviewToolProfileNewTools,
type ReorderToolPolicies,
type UpdateToolPolicy,
type UpdateToolProfileEntry,
type UpdateToolProfile,
type UpdateToolProfileWithEntries,
type UnbindToolProfileBinding,
type UpsertToolCatalogEntry,
type CreateRoutine,
type UpdateRoutine,
type CreateRoutineTrigger,
type UpdateRoutineTrigger,
type RunRoutine,
type RotateRoutineTriggerSecret,
createCostEventSchema,
createFinanceEventSchema,
updateBudgetSchema,
createAssetImageMetadataSchema,
createCompanyInviteSchema,
createOpenClawInvitePromptSchema,
acceptInviteSchema,
listCompanyInvitesQuerySchema,
listJoinRequestsQuerySchema,
claimJoinRequestApiKeySchema,
boardCliAuthAccessLevelSchema,
createCliAuthChallengeSchema,
resolveCliAuthChallengeSchema,
createBoardApiKeySchema,
currentUserProfileSchema,
authSessionSchema,
updateCurrentUserProfileSchema,
updateCompanyMemberSchema,
updateCompanyMemberWithPermissionsSchema,
archiveCompanyMemberSchema,
updateMemberPermissionsSchema,
searchAdminUsersQuerySchema,
updateUserCompanyAccessSchema,
type CreateCostEvent,
type CreateFinanceEvent,
type UpdateBudget,
type CreateAssetImageMetadata,
type CreateCompanyInvite,
type CreateOpenClawInvitePrompt,
type AcceptInvite,
type ListCompanyInvitesQuery,
type ListJoinRequestsQuery,
type ClaimJoinRequestApiKey,
type BoardCliAuthAccessLevel,
type CreateCliAuthChallenge,
type ResolveCliAuthChallenge,
type CreateBoardApiKey,
type CurrentUserProfile,
type AuthSession,
type UpdateCurrentUserProfile,
type UpdateCompanyMember,
type UpdateCompanyMemberWithPermissions,
type ArchiveCompanyMember,
type UpdateMemberPermissions,
type SearchAdminUsersQuery,
type UpdateUserCompanyAccess,
companySkillSourceTypeSchema,
companySkillTrustLevelSchema,
companySkillCompatibilitySchema,
companySkillSourceBadgeSchema,
companySkillSharingScopeSchema,
companySkillListSortSchema,
companySkillFileInventoryEntrySchema,
companySkillVersionFileInventoryEntrySchema,
companySkillSchema,
companySkillListItemSchema,
companySkillUsageAgentSchema,
companySkillListQuerySchema,
companySkillCategoryCountSchema,
companySkillVersionSchema,
companySkillDetailSchema,
companySkillVersionCreateSchema,
companySkillStarResultSchema,
companySkillCommentSchema,
companySkillCommentCreateSchema,
companySkillCommentUpdateSchema,
companySkillForkSchema,
companySkillRenameSchema,
companySkillRenameResultSchema,
companySkillUpdateSchema,
companySkillUpdateStatusSchema,
companySkillAuditFindingSchema,
companySkillAuditResultSchema,
companySkillImportSchema,
companySkillProjectScanRequestSchema,
companySkillProjectBrowseRequestSchema,
companySkillProjectBrowseEntrySchema,
companySkillProjectBrowseResultSchema,
companySkillProjectScanSkippedSchema,
companySkillProjectScanConflictSchema,
companySkillProjectScanResultSchema,
companySkillCreateSchema,
companySkillFileDetailSchema,
companySkillFileUpdateSchema,
companySkillFileDeleteSchema,
companySkillTestRunStatusSchema,
companySkillTestInputSchema,
companySkillTestInputCreateSchema,
companySkillTestInputUpdateSchema,
companySkillTestRunTemplateSchema,
companySkillTestRunTemplateCreateSchema,
companySkillTestRunTemplateUpdateSchema,
companySkillTestRunTemplateSnapshotSchema,
companySkillTestRunCostSummarySchema,
companySkillTestRunSchema,
companySkillTestRunCreateSchema,
companySkillTestRunListQuerySchema,
catalogSkillKindSchema,
catalogSkillFileSchema,
catalogSkillGitHubSourceSchema,
catalogSkillSourceSchema,
catalogSkillSchema,
catalogSkillListQuerySchema,
catalogSkillFileDetailSchema,
companySkillInstallCatalogSchema,
companySkillInstallCatalogResultSchema,
companySkillInstallUpdateSchema,
companySkillResetSchema,
catalogTeamKindSchema,
catalogTeamTrustLevelSchema,
catalogTeamCompatibilitySchema,
catalogTeamFileKindSchema,
catalogTeamSkillRequirementTypeSchema,
catalogTeamSkillRequirementSchema,
catalogTeamEnvInputSummarySchema,
catalogTeamSourceRefSchema,
catalogTeamFileSchema,
catalogTeamSchema,
catalogTeamListQuerySchema,
catalogTeamFileDetailSchema,
catalogTeamSourcePolicySchema,
catalogTeamPreviewSchema,
catalogTeamInstallSchema,
catalogTeamSkillPreparationSchema,
portabilityIncludeSchema,
portabilityEnvInputSchema,
portabilityCompanyManifestEntrySchema,
portabilitySidebarOrderSchema,
portabilityAgentManifestEntrySchema,
portabilityManifestSchema,
portabilitySourceSchema,
portabilityTargetSchema,
portabilityAgentSelectionSchema,
portabilityCollisionStrategySchema,
companyPortabilityExportSchema,
companyPortabilityPreviewSchema,
companyPortabilityImportSchema,
type CompanyPortabilityExport,
type CompanyPortabilityPreview,
type CompanyPortabilityImport,
jsonSchemaSchema,
pluginJobDeclarationSchema,
pluginWebhookDeclarationSchema,
pluginToolDeclarationSchema,
pluginEnvironmentDriverDeclarationSchema,
sandboxProviderCapabilitiesSchema,
pluginUiSlotDeclarationSchema,
pluginLauncherActionDeclarationSchema,
pluginLauncherRenderDeclarationSchema,
pluginLauncherDeclarationSchema,
pluginDatabaseDeclarationSchema,
pluginApiRouteDeclarationSchema,
pluginManifestV1Schema,
installPluginSchema,
upsertPluginConfigSchema,
patchPluginConfigSchema,
updatePluginStatusSchema,
uninstallPluginSchema,
pluginStateScopeKeySchema,
setPluginStateSchema,
listPluginStateSchema,
type PluginJobDeclarationInput,
type PluginWebhookDeclarationInput,
type PluginToolDeclarationInput,
type PluginEnvironmentDriverDeclarationInput,
type SandboxProviderCapabilitiesInput,
type PluginUiSlotDeclarationInput,
type PluginLauncherActionDeclarationInput,
type PluginLauncherRenderDeclarationInput,
type PluginLauncherDeclarationInput,
type PluginDatabaseDeclarationInput,
type PluginApiRouteDeclarationInput,
type PluginManifestV1Input,
type InstallPlugin,
type UpsertPluginConfig,
type PatchPluginConfig,
type UpdatePluginStatus,
type UninstallPlugin,
type PluginStateScopeKey,
type SetPluginState,
type ListPluginState,
} from "./validators/index.js";
export { API_PREFIX, API } from "./api.js";
export { normalizeAgentUrlKey, deriveAgentUrlKey, isUuidLike } from "./agent-url-key.js";
export { deriveProjectUrlKey, normalizeProjectUrlKey, hasNonAsciiContent } from "./project-url-key.js";
export {
AGENT_MENTION_SCHEME,
PROJECT_MENTION_SCHEME,
ROUTINE_MENTION_SCHEME,
SKILL_MENTION_SCHEME,
USER_MENTION_SCHEME,
PIPELINE_MENTION_SCHEME,
buildAgentMentionHref,
buildPipelineMentionHref,
buildProjectMentionHref,
buildRoutineMentionHref,
buildSkillMentionHref,
buildUserMentionHref,
extractAgentMentionIds,
extractPipelineMentions,
extractProjectMentionIds,
extractRoutineMentionIds,
extractSkillMentionIds,
extractUserMentionIds,
parseAgentMentionHref,
parsePipelineMentionHref,
parseProjectMentionHref,
parseRoutineMentionHref,
parseSkillMentionHref,
parseUserMentionHref,
type ParsedAgentMention,
type ParsedPipelineMention,
type ParsedProjectMention,
type ParsedRoutineMention,
type ParsedSkillMention,
type ParsedUserMention,
} from "./project-mentions.js";
export {
BUILTIN_ROUTINE_VARIABLE_NAMES,
extractRoutineVariableNames,
getBuiltinRoutineVariableValues,
interpolateRoutineTemplate,
isBuiltinRoutineVariable,
isRoutineDateVariableName,
isValidRoutineDateString,
isValidRoutineVariableName,
stringifyRoutineVariableValue,
syncRoutineVariablesWithTemplate,
} from "./routine-variables.js";
export {
paperclipConfigSchema,
configMetaSchema,
llmConfigSchema,
databaseBackupConfigSchema,
databaseConfigSchema,
loggingConfigSchema,
serverConfigSchema,
authConfigSchema,
secretsConfigSchema,
storageConfigSchema,
storageLocalDiskConfigSchema,
storageS3ConfigSchema,
secretsLocalEncryptedConfigSchema,
telemetryConfigSchema,
updatesConfigSchema,
mergePaperclipConfig,
findPaperclipConfigKeyWarnings,
type ConfigKeyWarning,
type TelemetryConfig,
type UpdatesConfig,
type PaperclipConfig,
type LlmConfig,
type DatabaseBackupConfig,
type DatabaseConfig,
type LoggingConfig,
type ServerConfig,
type AuthConfig,
type StorageConfig,
type StorageLocalDiskConfig,
type StorageS3Config,
type SecretsConfig,
type SecretsLocalEncryptedConfig,
type ConfigMeta,
} from "./config-schema.js";
export {
adapterSupportsRemoteManagedEnvironments,
getEnvironmentCapabilities,
getAdapterEnvironmentSupport,
isEnvironmentDriverSupportedForAdapter,
isSandboxProviderSupportedForAdapter,
resolveDeclaredSandboxCapabilities,
supportedEnvironmentDriversForAdapter,
supportedSandboxProvidersForAdapter,
} from "./environment-support.js";
export type {
AdapterEnvironmentSupport,
EnvironmentCapabilities,
EnvironmentProviderCapability,
EnvironmentSupportStatus,
} from "./environment-support.js";
export type { AdapterRegistryEntry } from "./types/adapter-registry.js";
export type {
FolderKind,
Folder,
FolderListItem,
FolderListResult,
CreateFolderRequest,
UpdateFolderRequest,
MoveFolderRequest,
MoveFolderItemRequest,
EnsureMySkillFolderRequest,
} from "./types/folder.js";
export {
adapterRegistryEntrySchema,
adapterRegistrySchema,
type AdapterRegistryEntryParsed,
} from "./validators/adapter-registry.js";
export {
folderKindSchema,
folderSlugSchema,
folderSchema,
folderListItemSchema,
folderListResultSchema,
createFolderSchema,
updateFolderSchema,
moveFolderSchema,
moveFolderItemSchema,
ensureMySkillFolderSchema,
type CreateFolder,
type UpdateFolder,
type MoveFolder,
type MoveFolderItem,
type EnsureMySkillFolder,
} from "./validators/folder.js";
export {
environmentCustomImageTemplateKindSchema,
environmentCustomImageTemplateStatusSchema,
environmentCustomImageSetupSessionStatusSchema,
environmentCustomImageSetupConnectionTypeSchema,
environmentCustomImageSetupConnectionSummarySchema,
environmentCustomImageTemplateSchema,
environmentCustomImageSetupSessionSchema,
startEnvironmentCustomImageSetupSessionSchema,
finishEnvironmentCustomImageSetupSessionSchema,
cancelEnvironmentCustomImageSetupSessionSchema,
relinkEnvironmentCustomImageTemplateSchema,
createEnvironmentCustomImageTerminalSessionTokenSchema,
environmentCustomImageTerminalSessionTokenSchema,
type EnvironmentCustomImageSetupConnectionSummary,
type EnvironmentCustomImageTemplate,
type EnvironmentCustomImageSetupSession,
type StartEnvironmentCustomImageSetupSession,
type FinishEnvironmentCustomImageSetupSession,
type CancelEnvironmentCustomImageSetupSession,
type RelinkEnvironmentCustomImageTemplate,
type CreateEnvironmentCustomImageTerminalSessionToken,
type EnvironmentCustomImageTerminalSessionToken,
} from "./validators/environment-custom-images.js";
export * from "./validators/skill-policy.js";
export {
FEATURE_TIERS,
INSTANCE_FEATURE_CATALOG,
INSTANCE_FEATURE_KEYS,
buildFeatureCatalogArtifact,
featureCatalogArtifactSchema,
renderFeatureCatalogArtifact,
type FeatureCatalogArtifact,
type FeatureCatalogEntry,
type FeatureTier,
type InstanceFeatureKey,
} from "./feature-catalog.js";
export {
HIDEABLE_GENERAL_SECTIONS,
HIDEABLE_INSTANCE_PAGES,
HIDEABLE_SETTING_KEYS,
SETTINGS_OPERATOR_MANAGED_ERROR_CODE,
UI_ONLY_GENERAL_SECTIONS,
experimentalSettingKey,
hidesExperimentalSetting,
hidesGeneralSection,
hidesInstancePage,
parseHiddenSettingsList,
type HideableExperimentalSetting,
type HideableGeneralSection,
type HideableInstancePage,
type HideableSettingKey,
type ParsedHiddenSettings,
} from "./settings-visibility.js";
// --- Runtime exposure (opt-in Tailscale HTTPS for managed branch runtimes) ---
// PAP-17049 plan, PAP-17050 threat-model verdict. Contract shared across DB,
// server, UI, runtime, and the least-privilege host broker.
export type {
RuntimeExposureProvider,
RuntimeExposureFailurePolicy,
RuntimeExposureConfig,
RuntimeExposureState,
RuntimeExposureListenerPurpose,
RuntimeExposureListener,
RuntimeExposureStatus,
} from "./types/runtime-exposure.js";
export {
runtimeExposureProviderSchema,
runtimeExposureFailurePolicySchema,
runtimeExposureConfigSchema,
runtimeExposureStateSchema,
runtimeExposureListenerPurposeSchema,
runtimeExposureListenerSchema,
runtimeExposureStatusSchema,
parseRuntimeExposureConfig,
readRuntimeExposureIntent,
resolveDeclaredRuntimeExposureConfig,
DEFAULT_TAILSCALE_HTTPS_EXPOSURE,
type RuntimeExposureConfigInput,
type RuntimeExposureIntent,
type RuntimeExposureStatusInput,
} from "./validators/runtime-exposure.js";
export {
RUNTIME_EXPOSURE_APP_PORT_MIN,
RUNTIME_EXPOSURE_APP_PORT_MAX,
RUNTIME_EXPOSURE_HMR_PORT_OFFSET,
RUNTIME_EXPOSURE_HMR_PORT_MIN,
RUNTIME_EXPOSURE_HMR_PORT_MAX,
isRuntimeExposureAppPort,
isRuntimeExposureHmrPort,
isAllowedRuntimeExposurePort,
deriveViteHmrPort,
derivePaperclipViteHmrPort,
buildRuntimeExposureUrl,
buildRuntimeExposureHealthUrl,
} from "./runtime-exposure/ports.js";
export {
RUNTIME_EXPOSURE_BIND_MODE,
RUNTIME_EXPOSURE_BIND_HOST,
commandSelectsBindMode,
forceLoopbackBindInCommand,
isPaperclipDevRunnerCommand,
rewriteUrlHostToLoopback,
} from "./runtime-exposure/loopback-bind.js";