Files
PaperClipAI/packages/shared/src/index.ts
T
DottaandPaperclip 7636966452 fix(inbox): keep other users’ failed runs out of Mine (#14572)
## Thinking Path

> - Paperclip is the open source app people use to manage AI agents for
work.
> - The Mine inbox shows work that needs the current user.
> - Failed-run rows used the latest run for every agent in the company.
> - A failure from another user therefore appeared in Mine and its
badge.
> - Run list responses also omitted the responsible user needed to
filter these rows.
> - This pull request uses run ownership for personal failure routing.
> - Users see their own failures and can still inspect company failures
in All.

## Linked Issues or Issue Description

**What happened?**

An agent run started for one user failed. Its row and failure badge
appeared in another user's Mine inbox.

**Expected behavior**

Mine and its badge include failed runs for the current responsible user.
Other users' failures remain available in All and run details.

**Steps to reproduce**

1. Use a company with two human users.
2. Create a failed or timed-out run attributed to the first user.
3. Open Mine as the second user. Before this fix, the failed run appears
there and increases the badge.

**Paperclip version or commit**

Reproduced in regression tests on master at `24beb0057`.

**Deployment mode**

Authenticated deployment with multiple users. Tests also cover the local
single-user board.

Related prior work: #933 addressed inbox dismissal and badge
consistency. No duplicate ownership fix was found.

## What Changed

- Return `responsibleUserId` in normal and summary run lists.
- Share one ownership rule across both inbox versions and client/server
badges.
- Select the latest run per agent before applying the ownership filter.
This prevents old failures from resurfacing on shared agents.
- Keep unattributed historical failures in the local board's Mine view.
Hide them from authenticated users with no matching owner.
- Keep company health alerts outside the personal badge, consistent with
the client.
- Document the routing contract and add page, badge, and database
regression coverage.

## Verification

- Red: the new badge cases failed with three company failures instead of
one personal failure; eight Mine page cases failed across both inbox
versions.
- Green: 113 focused tests pass in `ui/src/lib/inbox.test.ts`,
`ui/src/pages/Inbox.test.tsx`,
`server/src/__tests__/heartbeat-list.test.ts`, and
`server/src/__tests__/inbox-dismissals.test.ts`.
- `pnpm check:token-gates` passes.
- Agent calls on behalf of a user have two additional red-to-green API
regressions.
- Full `pnpm -r typecheck` and `pnpm build` pass. Server typecheck also
passes after the agent-call fix.
- All CI test shards and browser tests pass on `243bfa681`. The
duplicate local `pnpm test:run` was stopped after the CI test lanes
completed; it did not finish locally.

## Risks

- Authenticated users no longer receive unattributed legacy failures in
Mine. Those failures remain visible in All.
- The server badge no longer counts company health alerts, matching the
existing client badge.
- No migration, run state, retry behavior, or company access rules
change.

## Model Used

- OpenAI GPT-6 through Codex, with reasoning, terminal execution, and
browser tools. The exact deployment variant and context window size are
not exposed in this session.

## 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
- [x] All Paperclip CI gates are green
- [x] Greptile is 5/5 with no open P2s, recommendations, or follow-ups
- [x] I will address all Greptile and reviewer comments before
requesting merge

---------

Co-authored-by: Paperclip <noreply@paperclip.ing>
2026-09-29 09:40:21 -05:00

2801 lines
83 KiB
TypeScript

export { agentAdapterTypeSchema, optionalAgentAdapterTypeSchema } from "./adapter-type.js";
export {
RUNNER_GOAL_MAX_OBJECTIVE_CHARS,
runnerGoalAvailabilitySchema,
runnerGoalCapabilityActionSchema,
runnerGoalStatusSchema,
runnerGoalActionSchema,
runnerGoalPendingActionSchema,
runnerGoalActionRequestSchema,
type RunnerGoalAvailability,
type RunnerGoalCapabilityAction,
type RunnerGoalStatus,
type RunnerGoalAction,
type RunnerGoalPendingAction,
type RunnerGoalCapability,
type RunnerGoalSnapshot,
type RunnerGoalProjection,
type RunnerGoalActionRequest,
type RunnerGoalActionAccepted,
} from "./runner-goal.js";
export { ADAPTER_AUTH_MISSING_CHECK_CODE } from "./adapter-auth-check-code.js";
export {
CONNECTION_INTENT_AGENT_GUIDANCE,
CONNECTION_REQUEST_TOOL_DESCRIPTION,
CONNECTION_RUNTIME_TOOL_NAMES,
CONNECTIONS_SEARCH_TOOL_DESCRIPTION,
} from "./connection-intent-guidance.js";
export {
nativeFinalizationResultSchema,
nativeFinalizationResultV1Schema,
nativeReportedWorkDispositionSchema,
type NativeFinalizationResultInput,
} from "./validators/native-finalization.js";
export {
NATIVE_FINALIZATION_SCHEMA,
type NativeFinalizationResult,
type NativeFinalizationResultV1,
type NativeReportedWorkDisposition,
type NativeRuntimeMode,
type NativeRunTerminalState,
} from "./types/native-finalization.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 {
ConnectionAvailabilityState,
ConnectionSearchResultItem,
ConnectionsSearchResult,
ConnectionRequestResult,
ConnectionIntentSetupOptions,
ConnectionIntentSetupConnection,
CompleteConnectionIntentInput,
DeclineConnectionIntentInput,
} from "./types/connection-intent.js";
export {
connectionsSearchInputSchema,
connectionRequestInputSchema,
completeConnectionIntentSchema,
declineConnectionIntentSchema,
type ConnectionsSearchInput,
type ConnectionRequestInput,
type CompleteConnectionIntent,
type DeclineConnectionIntent,
} from "./validators/connection-intent.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 {
APP_STORE_DEFINITIONS,
APP_STORE_HIDDEN_SLUGS,
CONNECTABLE_APP_DEFINITIONS,
CONNECTABLE_APP_SLUGS,
DEFAULT_OWNERSHIP_AVAILABILITY,
appAcceptsCustomerOAuthClient,
appSupportsCatalogSetup,
appSupportsAutomaticOAuth,
connectionMethodAcceptsCustomerOAuthClient,
connectionMethodRequiresConfiguration,
connectionMethodSupportsCatalogSetup,
connectionMethodSupportsAutomaticOAuth,
credentialConfigPath,
getAppDefinitionForUrl,
getAppStoreDefinition,
getAvailableConnectionMethod,
getAvailableConnectionMethods,
getConnectableAppDefinition,
getRecommendedConnectionMethod,
isConnectableAppSlug,
isAppStoreVisibleSlug,
recommendedDefaultsForApp,
resolveConnectionMethodServerUrl,
} from "./app-definitions.js";
export { APP_DEFINITIONS } from "./app-definitions.generated.js";
export * from "./google-workspace-connectors.js";
export * from "./github-connectors.js";
export {
BLOCKED_MCP_PROVIDERS,
SELF_SERVE_MCP_CANDIDATES,
SELF_SERVE_MCP_RESEARCH,
} from "./self-serve-mcp-research.js";
export * from "./validators/status-card.js";
export { appDefinitionSchema, appDefinitionsSchema, connectionMethodDefSchema } from "./validators/app-definition.js";
export * from "./types/chat-channels.js";
export * from "./types/chat-github.js";
export * from "./validators/chat-github.js";
export * from "./validators/chat-channels.js";
export {
humanizeConnectionDisplayName,
connectionDisplaySecondaryHint,
type HumanizableConnection,
} from "./humanize-connection.js";
export {
MCP_CONFIG_HELP_INSTRUCTIONS,
MCP_CONFIG_HELP_PROMPT,
} from "./mcp-config-help-prompt.js";
export {
MCP_REMOTE_HEADER_LIMITS,
checkMcpRemoteHeaderName,
checkMcpRemoteHeaderValue,
isSafeMcpRemoteHeaderName,
isSafeMcpRemoteHeaderValue,
mcpRemoteHeaderNameFromConfigPath,
mcpRemoteHeaderRejectionMessage,
type McpRemoteHeaderCheck,
type McpRemoteHeaderRejection,
} from "./mcp-remote-headers.js";
export {
checkOAuthEndpointUrl,
isSafeOAuthEndpointUrl,
oauthEndpointDisplayHost,
oauthEndpointUrlRejectionMessage,
type OAuthEndpointKind,
type OAuthEndpointUrlCheck,
type OAuthEndpointUrlOptions,
type OAuthEndpointUrlRejection,
} from "./oauth-endpoint-url.js";
export {
COMPANY_STATUSES,
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,
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 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,
EnvironmentDeleteReusableLeaseHolder,
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,
BackupRetentionPolicy,
Agent,
AgentAccessState,
AgentChainOfCommandEntry,
AgentDetail,
ClearAgentErrorResponse,
AgentPermissions,
AgentInstructionsBundleMode,
AgentInstructionsFileSummary,
AgentInstructionsFileDetail,
AgentInstructionsBundle,
AgentKeyCreated,
AgentConfigRevision,
AdapterEnvironmentCheckLevel,
AdapterEnvironmentTestStatus,
AdapterEnvironmentCheck,
AdapterEnvironmentTestResult,
AdapterAuthSignal,
AdapterAuthSignalResponse,
AdapterAuthSessionStatus,
AdapterAuthSessionInternalStatus,
AdapterAuthSessionFailure,
AdapterAuthSessionResponse,
AdapterAuthSessionPrompt,
AdapterAuthSessionOwnerResponse,
CodexAccountBindingClaim,
StartAdapterAuthSessionRequest,
AdapterAuthPanelMode,
ClaudeSetupTokenSessionPrompt,
ClaudeSetupTokenSessionResponse,
ClaudeSetupTokenSessionOwnerResponse,
SubmitBrowserCodeRequest,
ClaudeSetupTokenCompletionResponse,
SetupTokenTransportAdvisory,
SetupTokenTransportAdvisoryCode,
AssetImage,
Project,
ProjectBudgetSummary,
ProjectRepository,
ProjectRepositoryOptions,
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,
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,
PullRequestWorkProductState,
PullRequestWorkProductMetadata,
CommitWorkProductMetadata,
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,
IssueRecoveryAction,
IssueWatchdog,
IssueWatchdogStatus,
IssueWatchdogSummary,
SuccessfulRunHandoffState,
SuccessfulRunHandoffStateKind,
IssueScheduledRetry,
IssueScheduledRetryStatus,
IssueRetryNowOutcome,
IssueRetryNowResponse,
IssueReferenceSource,
IssueRelatedWorkItem,
IssueRelatedWorkSummary,
IssueExecutionMonitorPolicy,
IssueExecutionMonitorState,
IssueRelation,
IssueRelationIssueSummary,
IssueExecutionPolicy,
IssueExecutionState,
IssueExecutionStage,
IssueExecutionStageParticipant,
IssueExecutionStagePrincipal,
IssueExecutionDecision,
IssueComment,
IssueQueuedCommentEntry,
IssueQueuedCommentProtocol,
IssueQueuedCommentQueue,
IssueQueuedCommentQueueState,
IssueQueuedCommentSteeringDisposition,
IssueCommentDerivedAuthorSource,
IssueCommentMetadata,
IssueCommentMetadataSection,
IssueCommentMetadataRow,
IssueCommentMetadataTextRow,
IssueCommentMetadataCodeRow,
IssueCommentMetadataKeyValueRow,
IssueCommentMetadataIssueLinkRow,
IssueCommentMetadataAgentLinkRow,
IssueCommentMetadataRunLinkRow,
IssueCommentPresentation,
IssueThreadInteractionActorFields,
SuggestedTaskDraft,
SuggestTasksPayload,
SuggestTasksResultCreatedTask,
SuggestTasksResult,
AskUserQuestionsQuestionOption,
AskUserQuestionsQuestion,
PaperclipQuestionSetOption,
PaperclipQuestionSetQuestion,
PaperclipQuestionSetPayload,
AskUserQuestionsPayload,
AskUserQuestionsAnswer,
AskUserQuestionsResult,
RequestConfirmationIssueDocumentTarget,
RequestConfirmationCustomTarget,
RequestConfirmationTarget,
RequestConfirmationPayload,
RequestConfirmationResult,
RequestConfirmationToolActionPayload,
RequestConfirmationToolActionResult,
RequestConfirmationConnectionAuthorizationPayload,
ConnectionIntentPhase,
ConnectionIntentPayload,
ConnectionIntentResult,
RequestConfirmationSecretProposalPayload,
RequestConfirmationSecretProposalResult,
RequestCheckboxConfirmationOption,
RequestCheckboxConfirmationPayload,
RequestCheckboxConfirmationResult,
RequestItemVerdictValue,
RequestItemVerdictsItem,
RequestItemVerdictsPayload,
RequestItemVerdictsResultItem,
RequestItemVerdictsResult,
AcceptedPlanDecompositionStatus,
AcceptedPlanDecompositionChild,
AcceptedPlanDecomposition,
AcceptedPlanDecompositionResult,
AcceptedPlanDecompositionChildIssue,
AcceptedPlanDecompositionSummary,
IssueThreadInteractionBase,
SuggestTasksInteraction,
AskUserQuestionsInteraction,
RequestConfirmationInteraction,
RequestCheckboxConfirmationInteraction,
RequestItemVerdictsInteraction,
ConnectionIntentInteraction,
IssueThreadInteraction,
IssueThreadInteractionPayload,
IssueThreadInteractionResult,
IssueDocument,
IssueDocumentSummary,
DocumentRevision,
DocumentFormat,
LegacyPlanDocument,
IssueAttachment,
IssueLabel,
IssueTreeControlPreview,
IssueTreeHold,
ReleaseIssueTreeHoldResponse,
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,
ChatFailedRunRetryResponse,
AgentWakeupSkipped,
GitWorktreeBranchAncestryVerdict,
GitWorktreeBranchIncoherenceEvidence,
GitWorktreeInProgressOperation,
HeartbeatRun,
HeartbeatRunEvent,
HeartbeatRunStatusPhase,
ProviderTraceDebugRequest,
ProviderTraceDirection,
ProviderTraceDisposition,
ProviderTraceFieldMapping,
ProviderTraceFieldMappingAction,
ProviderTraceFrame,
ProviderTraceInterpretation,
ProviderTraceMetadata,
ProviderTraceStatus,
RunPresentationDecision,
RunPresentationSource,
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,
ConnectToolAppAuthChallenge,
ConnectToolAppResult,
ToolAppMetadataPreflightAttempt,
ToolAppMetadataPreflightResult,
ToolOAuthClientRegistrationSource,
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,
ToolConnectionCredentialSource,
ToolConnectionCredentialPolicy,
ToolConnectionOwnership,
ToolConnectionPurpose,
ToolConnectionTransport,
ToolConnectionStatus,
ToolConnectionKind,
VercelConnectCredentialReference,
VercelConnectCredentialSummary,
VercelConnectGrantReference,
VercelConnectGrantSummary,
VercelConnectPrincipalMode,
ToolCatalogEntryStatus,
ToolAppAttentionItem,
ToolAppAttentionReason,
ToolAppsAttentionResponse,
ToolActionRequestListItem,
ToolActionRequestsResponse,
ToolConnectionActivityResponse,
ToolConnectionTestDecision,
ToolConnectionTestToolAccess,
ToolConnectionAccessSummary,
ToolConnectionTestAgent,
ToolConnectionTestAgentAccessResponse,
ToolConnectionTestAgentsResponse,
ToolConnectionTestCallResult,
ToolUpstreamPending,
ToolConnectionTestCallStatus,
ToolConnectionTestCallStatusPhase,
ToolConnectionLifecycleEvent,
ToolConnectionLifecycleEventType,
ToolConnectionInstall,
ToolConnectionInstallSnapshot,
ToolConnectionInstallTargetType,
ToolConnectionRemovalResult,
ToolConnectionRemovalSummary,
ConnectionAudienceMember,
ConnectionGrant,
ConnectionGrantCapabilities,
ConnectionGrantDelegation,
ConnectionGrantKind,
ConnectionGrantMember,
ConnectionGrantMemberSubjectType,
ConnectionGrantsResponse,
ConnectionGrantStatus,
ToolConnectionCapabilities,
ToolConnectionCreateCapabilities,
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,
RoutineWebhookDelivery,
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,
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 {
MAX_TASK_DRAIN_TTL_MS,
startTaskDrainRequestSchema,
type StartTaskDrainRequest,
} from "./validators/instance.js";
export {
instanceSettingsSchema,
instanceGeneralSettingsSchema,
patchInstanceGeneralSettingsSchema,
type PatchInstanceGeneralSettings,
instanceExperimentalSettingsSchema,
instanceExperimentalSettingsWithManagedSchema,
managedSettingMetadataSchema,
patchInstanceExperimentalSettingsSchema,
patchInstanceSettingsSchema,
createSmokeRunSchema,
updateSmokeRunSchema,
recordSmokeRunStepSchema,
smokeRunStatusSchema,
smokeRunStepPathSchema,
smokeRunStepStatusSchema,
smokeRunTriggerSchema,
trustPresetSchema,
lowTrustBoundarySchema,
lowTrustReviewPresetPolicySchema,
assignmentAuthorizationPolicySchema,
protectedAgentAuthorizationPolicySchema,
trustAuthorizationPolicySchema,
type PatchInstanceExperimentalSettings,
type PatchInstanceSettings,
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,
agentRuntimeConfigSchema,
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,
retryWorkspaceExportSchema,
issueReviewRequestSchema,
issueExecutionWorkspaceSettingsSchema,
checkoutIssueSchema,
issueCommentAuthorTypeSchema,
issueCommentPresentationSchema,
issueCommentMetadataRowSchema,
issueCommentMetadataSectionSchema,
issueCommentMetadataSchema,
addIssueCommentSchema,
issueThreadInteractionStatusSchema,
issueThreadInteractionKindSchema,
issueThreadInteractionContinuationPolicySchema,
connectionIntentPhaseSchema,
connectionIntentPayloadSchema,
connectionIntentResultSchema,
suggestedTaskDraftSchema,
suggestTasksPayloadSchema,
suggestTasksResultCreatedTaskSchema,
suggestTasksResultSchema,
askUserQuestionsQuestionOptionSchema,
askUserQuestionsQuestionSchema,
paperclipQuestionSetPayloadSchema,
askUserQuestionsPayloadSchema,
askUserQuestionsAnswerSchema,
askUserQuestionsResultSchema,
requestConfirmationIssueDocumentTargetSchema,
requestConfirmationCustomTargetSchema,
requestConfirmationTargetSchema,
requestConfirmationPayloadSchema,
requestConfirmationResumeFailureSchema,
requestConfirmationResultSchema,
requestCheckboxConfirmationOptionSchema,
requestCheckboxConfirmationPayloadSchema,
requestCheckboxConfirmationResultSchema,
requestItemVerdictValueSchema,
requestItemVerdictsItemSchema,
requestItemVerdictsPayloadSchema,
requestItemVerdictsResultItemSchema,
requestItemVerdictsResultSchema,
createIssueThreadInteractionSchema,
acceptIssueThreadInteractionSchema,
rejectIssueThreadInteractionSchema,
cancelIssueThreadInteractionSchema,
skipIssueThreadInteractionSchema,
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 SkipIssueThreadInteraction,
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,
toolConnectionPurposeSchema,
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,
createConnectionGrantDelegationSchema,
replaceConnectionGrantMembersSchema,
toolConnectionTestCallSchema,
toolPolicyTestRequestSchema,
importMcpJsonSchema,
createToolTrustRuleFromActionRequestSchema,
revokeToolTrustRuleSchema,
connectToolAppSchema,
GENERIC_MCP_AUTH_MODES,
genericMcpAuthModeSchema,
genericMcpOAuthClientSchema,
type GenericMcpAuthMode,
type GenericMcpOAuthClient,
reconnectToolAppSchema,
createToolApplicationSchema,
finishToolAppSchema,
finalizeOAuthAccessSchema,
startToolOAuthSchema,
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 FinalizeOAuthAccess,
type StartToolOAuth,
type UpdateToolApplication,
type CreateToolConnection,
type CreateToolMcpGateway,
type CreateToolMcpGatewayToken,
type CreateToolStdioCommandTemplate,
type DisableToolStdioCommandTemplate,
type UpdateToolConnection,
type PutToolConnectionInstalls,
type UpdateToolMcpGateway,
type ConnectionTokenRequestInput,
type CreateConnectionGrantDelegation,
type ReplaceConnectionGrantMembersInput,
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,
ASSET_NAMESPACE_MAX_LENGTH,
ASSET_NAMESPACE_RULE,
createAssetImageMetadataSchema,
sanitizeAssetNamespace,
createCompanyInviteSchema,
createOpenClawInvitePromptSchema,
acceptInviteSchema,
listCompanyInvitesQuerySchema,
listJoinRequestsQuerySchema,
claimJoinRequestApiKeySchema,
boardCliAuthAccessLevelSchema,
createCliAuthChallengeSchema,
resolveCliAuthChallengeSchema,
createBoardApiKeySchema,
currentUserProfileSchema,
currentUserPreferencesSchema,
updateCurrentUserPreferencesSchema,
type CurrentUserPreferences,
type UpdateCurrentUserPreferences,
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 * from "./validators/provider-trace.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 {
EXPERIMENTAL_SETTINGS_WILDCARD,
HIDEABLE_COMPANY_PAGES,
HIDEABLE_COMPANY_SECTIONS,
HIDEABLE_GENERAL_SECTIONS,
HIDEABLE_INSTANCE_PAGES,
HIDEABLE_SETTING_KEYS,
HIDEABLE_WORKSPACE_SECTIONS,
SETTINGS_OPERATOR_MANAGED_ERROR_CODE,
UI_ONLY_GENERAL_SECTIONS,
experimentalSettingKey,
hidesCompanyPage,
hidesCompanySection,
hidesExperimentalSetting,
hidesGeneralSection,
hidesInstancePage,
parseHiddenSettingsList,
type HideableCompanyPage,
type HideableCompanySection,
type HideableExperimentalSetting,
type HideableGeneralSection,
type HideableInstancePage,
type HideableSettingKey,
type HideableWorkspaceSection,
type ParsedHiddenSettings,
} from "./settings-visibility.js";
export {
DEFAULTABLE_GENERAL_SETTINGS,
SETTING_DEFAULTS_ENV_KEY,
applyOperatorGeneralDefaults,
parseSettingDefaults,
stripOperatorGeneralEchoes,
type DefaultableGeneralSetting,
type OperatorSettingDefaults,
type ParsedSettingDefaults,
} from "./setting-defaults.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";
export { ACCOUNT_HANDLE_MAX_LENGTH, toAccountHandle } from "./account-handle.js";
export type { ExecutionContinuationEnvelope } from "./types/execution-continuation.js";
export type { ExecutionProjection, ExecutionReconciliation, ExecutionBlocker } from "./types/execution-projection.js";
export { EXECUTION_RECONCILIATION_CAUSES, requiresExecutionReconciliation } from "./types/execution-projection.js";
export * from "./agent-appearance.js";
export * from "./ai-connections.js";
export * from "./types/email.js";
export * from "./validators/email.js";
export { configureRailwaySshSchema, type ConfigureRailwaySsh, type RailwaySshSetup } from "./railway-connection.js";
export * from "./announcements.js";
export { REMOTE_MCP_CONNECTOR_METHODS, isRemoteMcpConnectorId, isRemoteMcpConnectorMethod, type RemoteMcpConnectorId } from "./remote-mcp-connectors.js";
export { isRetiredComposioConnection, RETIRED_COMPOSIO_MESSAGE } from "./retired-composio.js";
export * from "./slack-tools.js";
export { MEMORY_CONNECTOR_IDS, isMemoryConnectorId, type MemoryConnectorId } from "./memory-connectors.js";
export * from "./connection-routing.js";
export { WORKSPACE_RESTORE_FAILURE_CODES, hasWorkspaceRestoreFailure, safeWorkspaceRestorePath, isNativeWorkspaceExportRepairCause } from "./workspace-restore.js";
export type { AgentInstructionErrorCode, AgentInstructionErrorDetails, AgentInstructionSource, AgentInstructionRevision, AgentInstructionSnapshot, AgentInstructionCommitReceipt, AgentInstructionHistory, AgentInstructionDiff } from "./types/agent.js";
export { restoreAgentInstructionSchema } from "./validators/agent.js";
export type { AgentInstructionCandidate } from "./types/agent.js";
export { resolveAgentInstructionCandidateSchema, type ResolveAgentInstructionCandidate } from "./validators/agent.js";
export { isHeartbeatRunVisibleInMine } from "./heartbeat-inbox.js";