4ad94d0bde
## Thinking Path > - Paperclip is the open source app people use to manage AI agents for work > - The execution subsystem runs those agents in environments (local, ssh, sandbox), and sandbox-provider plugins let an environment materialize per-run sandboxes > - Stage 1 (#5790) contributed a first-party Kubernetes sandbox-provider plugin, but the server core has no way to adopt it operationally: no per-run adapter selection, no way to force an instance onto sandboxed execution, no declarative adapter/model configuration, and the plugin must be installed by hand > - Without this, a multi-tenant or security-conscious deployment cannot guarantee that agent runs never execute on the host, and a single environment cannot serve agents with different harnesses > - This pull request adds the server + SDK integration: per-run adapterType on the lease protocol, an env-gated forced-Kubernetes execution policy with provisioning and a per-run allowlist guard, a declarative adapter registry and model list, in-cluster env passthrough for sandbox plugin workers, fail-safe auto-install of the bundled plugin, and the matching UI affordance > - The benefit is that sandbox-provider plugins become fully usable for Kubernetes execution: operators configure everything via environment variables and GitOps, while self-hosters who set none of the variables see exactly the behavior they have today ## Linked Issues or Issue Description Refs #5790 (stage 1 of 3: the Kubernetes sandbox-provider plugin package). No existing issue. Feature description: the server core lacks the integration seams to operate a sandbox-provider plugin as the mandatory execution path of an instance. This PR is stage 2 of 3 of the staged Kubernetes contribution; stage 3 will contribute the agent runtime images and their build pipeline. ## What Changed One line per piece: - `packages/plugins/sdk/protocol.ts`: optional `adapterType` on `PluginEnvironmentAcquireLeaseParams` so a provider can select the runtime image per run; existing providers simply ignore it - `server/services/environment-runtime.ts` + `environment-run-orchestrator.ts`: thread the agent's adapter type into both lease-acquiring drivers, including the heartbeat path (the two call sites have historically drifted, hence the pinned test) - `server/services/environments.ts`: `ensureKubernetesEnvironment` / `findKubernetesEnvironment`, an idempotent managed Kubernetes environment per company, identified by a metadata marker and refreshed (not recreated) on config change; `timeoutMs` rides on the config for slow cold-start leases - `server/services/execution-allowlist.ts`: pure (driver, provider, policy) -> allow/deny guard; `executionMode=kubernetes` only allows the kubernetes sandbox provider - `server/services/execution-policy-bootstrap.ts` + startup hook in `server/index.ts`: parse `PAPERCLIP_EXECUTION_MODE` / `PAPERCLIP_K8S_*`, persist `executionMode` into instance general settings, and provision the managed environment for every company; fails loud on misconfiguration - `server/services/heartbeat.ts`: when the policy forces Kubernetes, pin run selection to the managed environment (also overriding any persisted workspace environment id), refuse to fall back to local, and re-check the actually acquired environment against the allowlist as defense in depth - `server/services/adapter-registry-bootstrap.ts` + shared `AdapterRegistryEntry` type/validator: declarative `PAPERCLIP_ADAPTERS` registry (inline JSON or file) that reconciles adapter availability at startup and rides on the Kubernetes environment config - `server/services/adapter-models-env.ts` + `adapters/registry.ts`: `PAPERCLIP_ADAPTER_MODELS` lets an operator declare picker model lists the server cannot CLI-discover - `server/services/plugin-loader.ts`: pass `KUBERNETES_SERVICE_HOST/PORT(_HTTPS)` through to plugin workers that register environment drivers, so in-cluster API clients can be constructed; all other host env stays stripped - `server/app.ts`: fail-safe auto-install of the bundled kubernetes plugin at boot; no-ops when the bundle is absent and never blocks startup on error - `packages/shared` types/validators: `InstanceExecutionMode` on general settings (optional, strict schema) - `ui/lib/forced-kubernetes-environment.ts` + `AgentConfigForm`: when the policy is active, show a read-only Kubernetes environment instead of the environment picker and default new agents onto the managed environment - Tests for every new module plus the adapterType pin in `heartbeat-plugin-environment` and the managed-environment lifecycle in `environment-service` Everything is gated: with `PAPERCLIP_EXECUTION_MODE`, `PAPERCLIP_ADAPTERS`, and `PAPERCLIP_ADAPTER_MODELS` unset (and no bundled plugin present), every code path reduces to current behavior. The per-run `adapterType` is an optional SDK parameter that existing providers ignore. ## Verification - `cd server && npx tsc --noEmit`: clean (0 errors); `ui` typecheck also clean - Targeted suites all green (11 files, 90 tests): `npx vitest run server/src/__tests__/heartbeat-plugin-environment.test.ts server/src/__tests__/environment-service.test.ts server/src/__tests__/environment-runtime.test.ts server/src/__tests__/environment-run-orchestrator.test.ts server/src/__tests__/plugin-database.test.ts server/src/services/execution-policy-bootstrap.test.ts server/src/services/execution-allowlist.test.ts server/src/services/adapter-registry-bootstrap.test.ts server/src/services/adapter-registry-bootstrap.reconcile.test.ts server/src/services/adapter-models-env.test.ts packages/shared/src/validators/adapter-registry.test.ts` - `npx vitest run ui/src/components/AgentConfigForm.test.ts`: green (6 tests) - Full `npx vitest run server/src/__tests__`: 2323 passed, 1 skipped; the only failures (heartbeat-process-recovery pid-retry, workspace-runtime symbolic-ref/git tests) reproduce identically on pristine `master` in the same environment, so they are machine-environment issues unrelated to this change; `server-startup-feedback-export` needed its `services/index.js` mock extended with the new export and is green - This integration has been running in production on a hosted multi-tenant deployment, where it executes agent runs across five different harnesses through the stage 1 plugin ## Risks - Low for existing deployments: every behavior is env-gated and the defaults preserve current semantics; the auto-install block is wrapped fail-safe and skips silently when the plugin bundle is absent - `executionMode` is a new optional field on a strict zod schema; absent input normalizes exactly as before - The forced policy intentionally fails runs loudly (rather than falling back to local) when no managed Kubernetes environment exists; this only affects instances that explicitly set `PAPERCLIP_EXECUTION_MODE=kubernetes` ## Model Used Claude Opus 4.8 (claude-opus-4-8, 1M context), extended thinking, agentic tool use via Claude Code. ## UI screenshots The UI change is a new read-only "Execution" section in `AgentConfigForm`, shown only when the instance execution policy forces Kubernetes (`executionMode=kubernetes`); there is no "before" state for it (the section did not exist, and instances without the forced policy render the existing picker unchanged). Captured from the new Storybook stories added in this PR (`Product/Agent Management`): Managed Kubernetes environment present (read-only display, no local/SSH picker):  No managed environment available yet (warning notice, no silent local fallback):  ## 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 run tests locally and they pass - [x] I have added or updated tests where applicable - [x] If this change affects the UI, I have included before/after screenshots - [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 🤖 Generated with [Claude Code](https://claude.com/claude-code) --------- Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
1412 lines
40 KiB
TypeScript
1412 lines
40 KiB
TypeScript
export { agentAdapterTypeSchema, optionalAgentAdapterTypeSchema } from "./adapter-type.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 {
|
|
asBoolean,
|
|
asString,
|
|
asStringArray,
|
|
isPlainRecord as isFrontmatterPlainRecord,
|
|
parseFrontmatterMarkdown,
|
|
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 TrustAuthorizationPolicy,
|
|
type SourceTrustArtifactKind,
|
|
type SourceTrustDisposition,
|
|
type SourceTrustPromotionSource,
|
|
type SourceTrustMetadata,
|
|
} from "./trust-policy.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,
|
|
MODEL_PROFILE_KEYS,
|
|
AGENT_ICON_NAMES,
|
|
PROJECT_ICON_NAMES,
|
|
ISSUE_STATUSES,
|
|
INBOX_MINE_ISSUE_STATUSES,
|
|
INBOX_MINE_ISSUE_STATUS_FILTER,
|
|
ISSUE_PRIORITIES,
|
|
ISSUE_WORK_MODES,
|
|
MAX_ISSUE_REQUEST_DEPTH,
|
|
ISSUE_COMMENT_AUTHOR_TYPES,
|
|
ISSUE_COMMENT_METADATA_ROW_TYPES,
|
|
ISSUE_COMMENT_PRESENTATION_KINDS,
|
|
ISSUE_COMMENT_PRESENTATION_TONES,
|
|
clampIssueRequestDepth,
|
|
ISSUE_THREAD_INTERACTION_KINDS,
|
|
ISSUE_THREAD_INTERACTION_STATUSES,
|
|
ISSUE_THREAD_INTERACTION_CONTINUATION_POLICIES,
|
|
ISSUE_ORIGIN_KINDS,
|
|
ISSUE_SURFACE_VISIBILITIES,
|
|
ISSUE_RECOVERY_ACTION_KINDS,
|
|
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,
|
|
SYSTEM_ISSUE_DOCUMENT_KEYS,
|
|
isSystemIssueDocumentKey,
|
|
ISSUE_REFERENCE_SOURCE_KINDS,
|
|
DOCUMENT_ANNOTATION_THREAD_STATUSES,
|
|
DOCUMENT_ANNOTATION_ANCHOR_STATES,
|
|
DOCUMENT_ANNOTATION_ANCHOR_CONFIDENCES,
|
|
ISSUE_EXECUTION_POLICY_MODES,
|
|
ISSUE_EXECUTION_STAGE_TYPES,
|
|
ISSUE_MONITOR_SCHEDULED_BY,
|
|
ISSUE_EXECUTION_MONITOR_KINDS,
|
|
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,
|
|
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,
|
|
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,
|
|
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,
|
|
PLUGIN_EVENT_TYPES,
|
|
PLUGIN_BRIDGE_ERROR_CODES,
|
|
type CompanyStatus,
|
|
type DeploymentMode,
|
|
type DeploymentExposure,
|
|
type BindMode,
|
|
type AuthBaseUrlMode,
|
|
type AgentStatus,
|
|
type AgentAdapterType,
|
|
type AgentRole,
|
|
type ModelProfileKey,
|
|
type AgentIconName,
|
|
type ProjectIconName,
|
|
type IssueStatus,
|
|
type IssuePriority,
|
|
type IssueWorkMode,
|
|
type IssueCommentAuthorType,
|
|
type IssueCommentMetadataRowType,
|
|
type IssueCommentPresentationKind,
|
|
type IssueCommentPresentationTone,
|
|
type IssueThreadInteractionKind,
|
|
type IssueThreadInteractionStatus,
|
|
type IssueThreadInteractionContinuationPolicy,
|
|
REQUEST_CHECKBOX_CONFIRMATION_OPTION_LIMIT,
|
|
type BuiltInIssueOriginKind,
|
|
type PluginIssueOriginKind,
|
|
type IssueOriginKind,
|
|
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 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 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 StorageProvider,
|
|
type BillingType,
|
|
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 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 {
|
|
ALL_INTERFACES_BIND_HOST,
|
|
LOOPBACK_BIND_HOST,
|
|
inferBindModeFromHost,
|
|
isAllInterfacesHost,
|
|
isLoopbackHost,
|
|
resolveRuntimeBind,
|
|
validateConfiguredBindMode,
|
|
} from "./network-bind.js";
|
|
|
|
export type {
|
|
Company,
|
|
Environment,
|
|
EnvironmentLease,
|
|
EnvironmentProbeResult,
|
|
FakeSandboxEnvironmentConfig,
|
|
LocalEnvironmentConfig,
|
|
PluginSandboxEnvironmentConfig,
|
|
PluginEnvironmentConfig,
|
|
SandboxEnvironmentConfig,
|
|
SandboxEnvironmentProvider,
|
|
SshEnvironmentConfig,
|
|
FeedbackVote,
|
|
FeedbackDataSharingPreference,
|
|
FeedbackTargetType,
|
|
FeedbackVoteValue,
|
|
FeedbackTrace,
|
|
FeedbackTraceStatus,
|
|
FeedbackTraceTargetSummary,
|
|
FeedbackTraceBundleCaptureStatus,
|
|
FeedbackTraceBundleFile,
|
|
FeedbackTraceBundle,
|
|
CompanySkillSourceType,
|
|
CompanySkillTrustLevel,
|
|
CompanySkillCompatibility,
|
|
CompanySkillSourceBadge,
|
|
CompanySkillFileInventoryEntry,
|
|
CompanySkill,
|
|
CompanySkillListItem,
|
|
CompanySkillUsageAgent,
|
|
CompanySkillDetail,
|
|
CompanySkillUpdateStatus,
|
|
CompanySkillAuditSeverity,
|
|
CompanySkillAuditVerdict,
|
|
CompanySkillUpdateHoldReason,
|
|
CompanySkillAuditFinding,
|
|
CompanySkillAuditResult,
|
|
CompanySkillInstallUpdateRequest,
|
|
CompanySkillResetRequest,
|
|
CompanySkillImportRequest,
|
|
CompanySkillImportResult,
|
|
CompanySkillProjectScanRequest,
|
|
CompanySkillProjectScanSkipped,
|
|
CompanySkillProjectScanConflict,
|
|
CompanySkillProjectScanResult,
|
|
CompanySkillCreateRequest,
|
|
CompanySkillFileDetail,
|
|
CompanySkillFileUpdateRequest,
|
|
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,
|
|
AgentSkillState,
|
|
AgentSkillOrigin,
|
|
AgentSkillEntry,
|
|
AgentSkillSnapshot,
|
|
AgentSkillSyncRequest,
|
|
InstanceExecutionMode,
|
|
InstanceExperimentalSettings,
|
|
InstanceGeneralSettings,
|
|
InstanceSettings,
|
|
IssueGraphLivenessAutoRecoveryPreview,
|
|
IssueGraphLivenessAutoRecoveryPreviewItem,
|
|
BackupRetentionPolicy,
|
|
Agent,
|
|
AgentAccessState,
|
|
AgentChainOfCommandEntry,
|
|
AgentDetail,
|
|
ClearAgentErrorResponse,
|
|
AgentPermissions,
|
|
AgentInstructionsBundleMode,
|
|
AgentInstructionsFileSummary,
|
|
AgentInstructionsFileDetail,
|
|
AgentInstructionsBundle,
|
|
AgentKeyCreated,
|
|
AgentConfigRevision,
|
|
AdapterEnvironmentCheckLevel,
|
|
AdapterEnvironmentTestStatus,
|
|
AdapterEnvironmentCheck,
|
|
AdapterEnvironmentTestResult,
|
|
AssetImage,
|
|
Project,
|
|
ProjectBudgetSummary,
|
|
ProjectCodebase,
|
|
ProjectCodebaseOrigin,
|
|
ProjectGoalRef,
|
|
ProjectManagedByPlugin,
|
|
ProjectWorkspace,
|
|
CompanySearchHighlight,
|
|
CompanySearchArtifactSummary,
|
|
CompanySearchIssueSummary,
|
|
CompanySearchResponse,
|
|
CompanySearchResult,
|
|
CompanySearchResultType,
|
|
CompanySearchScope,
|
|
CompanySearchSnippet,
|
|
ExecutionWorkspace,
|
|
ExecutionWorkspaceSummary,
|
|
ExecutionWorkspaceConfig,
|
|
ExecutionWorkspaceCloseAction,
|
|
ExecutionWorkspaceCloseActionKind,
|
|
ExecutionWorkspaceCloseGitReadiness,
|
|
ExecutionWorkspaceCloseLinkedIssue,
|
|
ExecutionWorkspaceCloseReadiness,
|
|
ExecutionWorkspaceCloseReadinessState,
|
|
ProjectWorkspaceRuntimeConfig,
|
|
WorkspaceCommandDefinition,
|
|
WorkspaceCommandKind,
|
|
WorkspaceRuntimeControlTarget,
|
|
WorkspaceRuntimeService,
|
|
WorkspaceRuntimeServiceStateMap,
|
|
WorkspaceOperation,
|
|
WorkspaceOperationPhase,
|
|
WorkspaceOperationStatus,
|
|
WorkspaceFileContent,
|
|
WorkspaceFileContentEncoding,
|
|
WorkspaceFileListDirectoryItem,
|
|
WorkspaceFileListFileItem,
|
|
WorkspaceFileListItem,
|
|
WorkspaceFileListMode,
|
|
WorkspaceFileListResponse,
|
|
WorkspaceFilePreviewKind,
|
|
WorkspaceFileRef,
|
|
WorkspaceFileResourceKind,
|
|
WorkspaceFileSelector,
|
|
WorkspaceFileWorkspaceKind,
|
|
ResolvedWorkspaceResource,
|
|
WorkspaceRuntimeDesiredState,
|
|
WorkspaceRealizationRecord,
|
|
WorkspaceRealizationRequest,
|
|
WorkspaceRealizationSyncStrategy,
|
|
WorkspaceRealizationTransport,
|
|
ExecutionWorkspaceStrategyType,
|
|
ExecutionWorkspaceMode,
|
|
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,
|
|
DocumentTextPosition,
|
|
DocumentTextProjection,
|
|
DocumentTextRange,
|
|
UpdateDocumentAnnotationThreadRequest,
|
|
AttachmentArtifactWorkProductMetadata,
|
|
Issue,
|
|
IssueAssigneeAdapterOverrides,
|
|
IssueBlockerAttention,
|
|
IssueBlockerAttentionReason,
|
|
IssueBlockerAttentionState,
|
|
IssueInboxAttentionKind,
|
|
IssueBlockedInboxAction,
|
|
IssueBlockedInboxAttention,
|
|
IssueBlockedInboxIssueRef,
|
|
IssueBlockedInboxOwner,
|
|
IssueBlockedInboxOwnerType,
|
|
IssueBlockedInboxReason,
|
|
IssueBlockedInboxSeverity,
|
|
IssueBlockedInboxState,
|
|
IssueProductivityReview,
|
|
IssueProductivityReviewTrigger,
|
|
IssueRecoveryAction,
|
|
SuccessfulRunHandoffState,
|
|
SuccessfulRunHandoffStateKind,
|
|
IssueScheduledRetry,
|
|
IssueScheduledRetryStatus,
|
|
IssueRetryNowOutcome,
|
|
IssueRetryNowResponse,
|
|
IssueReferenceSource,
|
|
IssueRelatedWorkItem,
|
|
IssueRelatedWorkSummary,
|
|
IssueExecutionMonitorPolicy,
|
|
IssueExecutionMonitorState,
|
|
IssueRelation,
|
|
IssueRelationIssueSummary,
|
|
IssueExecutionPolicy,
|
|
IssueExecutionState,
|
|
IssueExecutionStage,
|
|
IssueExecutionStageParticipant,
|
|
IssueExecutionStagePrincipal,
|
|
IssueExecutionDecision,
|
|
IssueComment,
|
|
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,
|
|
RequestCheckboxConfirmationOption,
|
|
RequestCheckboxConfirmationPayload,
|
|
RequestCheckboxConfirmationResult,
|
|
AcceptedPlanDecompositionStatus,
|
|
AcceptedPlanDecompositionChild,
|
|
AcceptedPlanDecomposition,
|
|
AcceptedPlanDecompositionResult,
|
|
AcceptedPlanDecompositionChildIssue,
|
|
AcceptedPlanDecompositionSummary,
|
|
IssueThreadInteractionBase,
|
|
SuggestTasksInteraction,
|
|
AskUserQuestionsInteraction,
|
|
RequestConfirmationInteraction,
|
|
RequestCheckboxConfirmationInteraction,
|
|
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,
|
|
HeartbeatRun,
|
|
HeartbeatRunEvent,
|
|
AgentRuntimeState,
|
|
AgentTaskSession,
|
|
AgentWakeupRequest,
|
|
InstanceSchedulerHeartbeatAgent,
|
|
LiveEvent,
|
|
DashboardRunActivityDay,
|
|
DashboardSummary,
|
|
ActivityEvent,
|
|
UserProfileActivitySummary,
|
|
UserProfileAgentUsage,
|
|
UserProfileDailyPoint,
|
|
UserProfileIdentity,
|
|
UserProfileIssueSummary,
|
|
UserProfileProviderUsage,
|
|
UserProfileResponse,
|
|
UserProfileWindowStats,
|
|
SidebarBadges,
|
|
SidebarOrderPreference,
|
|
InboxDismissal,
|
|
AccessUserProfile,
|
|
CompanyMemberRecord,
|
|
CompanyMembersResponse,
|
|
CompanyMembership,
|
|
CompanyInviteListResponse,
|
|
CompanyInviteRecord,
|
|
PrincipalPermissionGrant,
|
|
Invite,
|
|
JoinRequest,
|
|
JoinRequestInviteSummary,
|
|
JoinRequestRecord,
|
|
InstanceUserRoleGrant,
|
|
AdminUserDirectoryEntry,
|
|
UserCompanyAccessEntry,
|
|
UserCompanyAccessResponse,
|
|
CompanyPortabilityInclude,
|
|
CompanyPortabilityEnvInput,
|
|
CompanyPortabilityFileEntry,
|
|
CompanyPortabilityCompanyManifestEntry,
|
|
CompanyPortabilitySidebarOrder,
|
|
CompanyPortabilityAgentManifestEntry,
|
|
CompanyPortabilitySkillManifestEntry,
|
|
CompanyPortabilityProjectManifestEntry,
|
|
CompanyPortabilityProjectWorkspaceManifestEntry,
|
|
CompanyPortabilityIssueRoutineTriggerManifestEntry,
|
|
CompanyPortabilityIssueRoutineManifestEntry,
|
|
CompanyPortabilityIssueCommentManifestEntry,
|
|
CompanyPortabilityIssueManifestEntry,
|
|
CompanyPortabilityManifest,
|
|
CompanyPortabilityExportResult,
|
|
CompanyPortabilityExportPreviewFile,
|
|
CompanyPortabilityExportPreviewResult,
|
|
CompanyPortabilitySource,
|
|
CompanyPortabilityImportTarget,
|
|
CompanyPortabilityAgentSelection,
|
|
CompanyPortabilityCollisionStrategy,
|
|
CompanyPortabilityPreviewRequest,
|
|
CompanyPortabilityPreviewAgentPlan,
|
|
CompanyPortabilityPreviewProjectPlan,
|
|
CompanyPortabilityPreviewIssuePlan,
|
|
CompanyPortabilityPreviewResult,
|
|
CompanyPortabilityAdapterOverride,
|
|
CompanyPortabilityImportRequest,
|
|
CompanyPortabilityImportResult,
|
|
CompanyPortabilityExportRequest,
|
|
EnvBinding,
|
|
EnvPlainBinding,
|
|
EnvSecretRefBinding,
|
|
AgentEnvConfig,
|
|
CompanySecret,
|
|
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,
|
|
Routine,
|
|
RoutineEnvConfig,
|
|
RoutineManagedByPlugin,
|
|
RoutineVariable,
|
|
RoutineVariableDefaultValue,
|
|
RoutineRevisionSnapshotRoutineV1,
|
|
RoutineRevisionSnapshotTriggerV1,
|
|
RoutineRevisionSnapshotV1,
|
|
RoutineRevisionSnapshot,
|
|
RoutineRevision,
|
|
RoutineTrigger,
|
|
RoutineRun,
|
|
RoutineTriggerSecretMaterial,
|
|
RoutineDetail,
|
|
RoutineRunSummary,
|
|
RoutineExecutionIssueOrigin,
|
|
RoutineListItem,
|
|
JsonSchema,
|
|
PluginJobDeclaration,
|
|
PluginWebhookDeclaration,
|
|
PluginToolDeclaration,
|
|
PluginEnvironmentDriverDeclaration,
|
|
PluginManagedAgentDeclaration,
|
|
PluginManagedProjectDeclaration,
|
|
PluginManagedRoutineDeclaration,
|
|
PluginManagedSkillDeclaration,
|
|
PluginManagedSkillFileDeclaration,
|
|
PluginLocalFolderDeclaration,
|
|
PluginManagedAgentResolution,
|
|
PluginManagedProjectResolution,
|
|
PluginManagedRoutineResolution,
|
|
PluginManagedSkillResolution,
|
|
PluginManagedResourceKind,
|
|
PluginManagedResourceRef,
|
|
PluginUiSlotDeclaration,
|
|
PluginLauncherActionDeclaration,
|
|
PluginLauncherRenderDeclaration,
|
|
PluginLauncherRenderContextSnapshot,
|
|
PluginLauncherDeclaration,
|
|
PluginMinimumHostVersion,
|
|
PluginUiDeclaration,
|
|
PluginDatabaseDeclaration,
|
|
PluginApiRouteCompanyResolution,
|
|
PluginApiRouteDeclaration,
|
|
PaperclipPluginManifestV1,
|
|
PluginRecord,
|
|
PluginDatabaseNamespaceRecord,
|
|
PluginMigrationRecord,
|
|
PluginStateRecord,
|
|
PluginConfig,
|
|
PluginCompanySettings,
|
|
PluginEntityRecord,
|
|
PluginEntityQuery,
|
|
PluginJobRecord,
|
|
PluginJobRunRecord,
|
|
PluginWebhookDeliveryRecord,
|
|
QuotaWindow,
|
|
ProviderQuotaResult,
|
|
} from "./types/index.js";
|
|
export { COMPANY_SEARCH_SCOPES } from "./types/index.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 {
|
|
sidebarOrderPreferenceSchema,
|
|
upsertSidebarOrderPreferenceSchema,
|
|
type UpsertSidebarOrderPreference,
|
|
} from "./validators/sidebar-preferences.js";
|
|
export {
|
|
resourceMembershipStateSchema,
|
|
updateResourceMembershipSchema,
|
|
type UpdateResourceMembership,
|
|
} from "./validators/resource-memberships.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,
|
|
} from "./types/instance.js";
|
|
|
|
export type {
|
|
CloudUpstreamConnectStartResponse,
|
|
CloudUpstreamActivationDecision,
|
|
CloudUpstreamActivationEntityType,
|
|
CloudUpstreamConnection,
|
|
CloudUpstreamConflict,
|
|
CloudUpstreamPreview,
|
|
CloudUpstreamRun,
|
|
CloudUpstreamRunEvent,
|
|
CloudUpstreamsState,
|
|
CloudUpstreamStep,
|
|
CloudUpstreamSummaryCount,
|
|
CloudUpstreamTarget,
|
|
CloudUpstreamWarning,
|
|
} from "./types/cloud-upstream.js";
|
|
|
|
export {
|
|
getClosedIsolatedExecutionWorkspaceMessage,
|
|
isClosedIsolatedExecutionWorkspace,
|
|
} from "./execution-workspace-guards.js";
|
|
|
|
export {
|
|
instanceGeneralSettingsSchema,
|
|
patchInstanceGeneralSettingsSchema,
|
|
type PatchInstanceGeneralSettings,
|
|
instanceExperimentalSettingsSchema,
|
|
patchInstanceExperimentalSettingsSchema,
|
|
issueGraphLivenessAutoRecoveryRequestSchema,
|
|
trustPresetSchema,
|
|
lowTrustBoundarySchema,
|
|
lowTrustReviewPresetPolicySchema,
|
|
trustAuthorizationPolicySchema,
|
|
type PatchInstanceExperimentalSettings,
|
|
type IssueGraphLivenessAutoRecoveryRequest,
|
|
type TrustPresetInput,
|
|
type LowTrustBoundaryInput,
|
|
type TrustAuthorizationPolicyInput,
|
|
} from "./validators/index.js";
|
|
|
|
export {
|
|
createCompanySchema,
|
|
updateCompanySchema,
|
|
updateCompanyBrandingSchema,
|
|
feedbackTargetTypeSchema,
|
|
feedbackTraceStatusSchema,
|
|
feedbackVoteValueSchema,
|
|
upsertIssueFeedbackVoteSchema,
|
|
type CreateCompany,
|
|
type UpdateCompany,
|
|
type UpdateCompanyBranding,
|
|
type UpsertIssueFeedbackVote,
|
|
environmentDriverSchema,
|
|
environmentStatusSchema,
|
|
environmentLeaseStatusSchema,
|
|
environmentLeaseCleanupStatusSchema,
|
|
createEnvironmentSchema,
|
|
updateEnvironmentSchema,
|
|
probeEnvironmentConfigSchema,
|
|
type CreateEnvironment,
|
|
type UpdateEnvironment,
|
|
type ProbeEnvironmentConfig,
|
|
agentSkillStateSchema,
|
|
agentSkillSyncModeSchema,
|
|
agentSkillEntrySchema,
|
|
agentSkillSnapshotSchema,
|
|
agentSkillSyncSchema,
|
|
type AgentSkillSync,
|
|
createAgentSchema,
|
|
createAgentHireSchema,
|
|
updateAgentSchema,
|
|
agentInstructionsBundleModeSchema,
|
|
updateAgentInstructionsBundleSchema,
|
|
upsertAgentInstructionsFileSchema,
|
|
updateAgentInstructionsPathSchema,
|
|
createAgentKeySchema,
|
|
agentMineInboxQuerySchema,
|
|
wakeAgentSchema,
|
|
resetAgentSessionSchema,
|
|
testAdapterEnvironmentSchema,
|
|
agentPermissionsSchema,
|
|
updateAgentPermissionsSchema,
|
|
type CreateAgent,
|
|
type CreateAgentHire,
|
|
type UpdateAgent,
|
|
type UpdateAgentInstructionsBundle,
|
|
type UpsertAgentInstructionsFile,
|
|
type UpdateAgentInstructionsPath,
|
|
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,
|
|
companySearchQuerySchema,
|
|
COMPANY_SEARCH_DEFAULT_LIMIT,
|
|
COMPANY_SEARCH_MAX_LIMIT,
|
|
COMPANY_SEARCH_MAX_OFFSET,
|
|
COMPANY_SEARCH_MAX_QUERY_LENGTH,
|
|
COMPANY_SEARCH_MAX_TOKENS,
|
|
type CompanySearchQuery,
|
|
createIssueSchema,
|
|
createIssueInputSchema,
|
|
createChildIssueSchema,
|
|
createAcceptedPlanDecompositionSchema,
|
|
resolveCreateIssueStatusDefault,
|
|
createIssueLabelSchema,
|
|
issueBlockedInboxAttentionSchema,
|
|
issueBlockedInboxIssueRefSchema,
|
|
issueBlockedInboxReasonSchema,
|
|
issueBlockedInboxSeveritySchema,
|
|
issueBlockedInboxStateSchema,
|
|
updateIssueSchema,
|
|
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,
|
|
requestConfirmationResultSchema,
|
|
requestCheckboxConfirmationOptionSchema,
|
|
requestCheckboxConfirmationPayloadSchema,
|
|
requestCheckboxConfirmationResultSchema,
|
|
createIssueThreadInteractionSchema,
|
|
acceptIssueThreadInteractionSchema,
|
|
rejectIssueThreadInteractionSchema,
|
|
cancelIssueThreadInteractionSchema,
|
|
respondIssueThreadInteractionSchema,
|
|
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,
|
|
updateExecutionWorkspaceSchema,
|
|
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 ResolveIssueRecoveryAction,
|
|
type CheckoutIssue,
|
|
type AddIssueComment,
|
|
type CreateIssueThreadInteraction,
|
|
type AcceptIssueThreadInteraction,
|
|
type RejectIssueThreadInteraction,
|
|
type CancelIssueThreadInteraction,
|
|
type RespondIssueThreadInteraction,
|
|
type LinkIssueApproval,
|
|
type CreateIssueAttachmentMetadata,
|
|
type CreateIssueWorkProduct,
|
|
type UpdateIssueWorkProduct,
|
|
type CompanyArtifactsQuery,
|
|
type UpdateExecutionWorkspace,
|
|
type WorkspaceFileListQuery,
|
|
type WorkspaceFileResourceQuery,
|
|
type IssueDocumentFormat,
|
|
type UpsertIssueDocument,
|
|
type RestoreIssueDocumentRevision,
|
|
type CreateIssueTreeHold,
|
|
type PreviewIssueTreeControl,
|
|
type ReleaseIssueTreeHold,
|
|
createGoalSchema,
|
|
updateGoalSchema,
|
|
type CreateGoal,
|
|
type UpdateGoal,
|
|
createApprovalSchema,
|
|
upsertBudgetPolicySchema,
|
|
resolveBudgetIncidentSchema,
|
|
resolveApprovalSchema,
|
|
requestApprovalRevisionSchema,
|
|
resubmitApprovalSchema,
|
|
addApprovalCommentSchema,
|
|
type CreateApproval,
|
|
type UpsertBudgetPolicy,
|
|
type ResolveBudgetIncident,
|
|
type ResolveApproval,
|
|
type RequestApprovalRevision,
|
|
type ResubmitApproval,
|
|
type AddApprovalComment,
|
|
envBindingPlainSchema,
|
|
envBindingSecretRefSchema,
|
|
envBindingSchema,
|
|
envConfigSchema,
|
|
createSecretSchema,
|
|
createSecretProviderConfigSchema,
|
|
updateSecretProviderConfigSchema,
|
|
secretProviderConfigDiscoveryPreviewSchema,
|
|
remoteSecretImportPreviewSchema,
|
|
remoteSecretImportSchema,
|
|
remoteSecretImportSelectionSchema,
|
|
localEncryptedProviderConfigSchema,
|
|
awsSecretsManagerProviderConfigSchema,
|
|
gcpSecretManagerProviderConfigSchema,
|
|
vaultProviderConfigSchema,
|
|
secretProviderConfigPayloadSchema,
|
|
createSecretBindingSchema,
|
|
rotateSecretSchema,
|
|
secretBindingTargetSchema,
|
|
updateSecretSchema,
|
|
createRoutineSchema,
|
|
updateRoutineSchema,
|
|
createRoutineTriggerSchema,
|
|
updateRoutineTriggerSchema,
|
|
routineVariableSchema,
|
|
runRoutineSchema,
|
|
rotateRoutineTriggerSecretSchema,
|
|
routineRevisionSnapshotRoutineV1Schema,
|
|
routineRevisionSnapshotTriggerV1Schema,
|
|
routineRevisionSnapshotV1Schema,
|
|
routineRevisionSnapshotSchema,
|
|
type CreateSecret,
|
|
type CreateSecretProviderConfig,
|
|
type UpdateSecretProviderConfig,
|
|
type SecretProviderConfigDiscoveryPreview,
|
|
type RemoteSecretImportPreview,
|
|
type RemoteSecretImport,
|
|
type RemoteSecretImportSelection,
|
|
type RotateSecret,
|
|
type UpdateSecret,
|
|
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,
|
|
companySkillFileInventoryEntrySchema,
|
|
companySkillSchema,
|
|
companySkillListItemSchema,
|
|
companySkillUsageAgentSchema,
|
|
companySkillDetailSchema,
|
|
companySkillUpdateStatusSchema,
|
|
companySkillAuditFindingSchema,
|
|
companySkillAuditResultSchema,
|
|
companySkillImportSchema,
|
|
companySkillProjectScanRequestSchema,
|
|
companySkillProjectScanSkippedSchema,
|
|
companySkillProjectScanConflictSchema,
|
|
companySkillProjectScanResultSchema,
|
|
companySkillCreateSchema,
|
|
companySkillFileDetailSchema,
|
|
companySkillFileUpdateSchema,
|
|
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,
|
|
pluginUiSlotDeclarationSchema,
|
|
pluginLauncherActionDeclarationSchema,
|
|
pluginLauncherRenderDeclarationSchema,
|
|
pluginLauncherDeclarationSchema,
|
|
pluginDatabaseDeclarationSchema,
|
|
pluginApiRouteDeclarationSchema,
|
|
pluginManifestV1Schema,
|
|
installPluginSchema,
|
|
upsertPluginConfigSchema,
|
|
patchPluginConfigSchema,
|
|
updatePluginStatusSchema,
|
|
uninstallPluginSchema,
|
|
pluginStateScopeKeySchema,
|
|
setPluginStateSchema,
|
|
listPluginStateSchema,
|
|
type PluginJobDeclarationInput,
|
|
type PluginWebhookDeclarationInput,
|
|
type PluginToolDeclarationInput,
|
|
type PluginEnvironmentDriverDeclarationInput,
|
|
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,
|
|
buildAgentMentionHref,
|
|
buildProjectMentionHref,
|
|
buildRoutineMentionHref,
|
|
buildSkillMentionHref,
|
|
buildUserMentionHref,
|
|
extractAgentMentionIds,
|
|
extractProjectMentionIds,
|
|
extractRoutineMentionIds,
|
|
extractSkillMentionIds,
|
|
extractUserMentionIds,
|
|
parseAgentMentionHref,
|
|
parseProjectMentionHref,
|
|
parseRoutineMentionHref,
|
|
parseSkillMentionHref,
|
|
parseUserMentionHref,
|
|
type ParsedAgentMention,
|
|
type ParsedProjectMention,
|
|
type ParsedRoutineMention,
|
|
type ParsedSkillMention,
|
|
type ParsedUserMention,
|
|
} from "./project-mentions.js";
|
|
|
|
export {
|
|
BUILTIN_ROUTINE_VARIABLE_NAMES,
|
|
extractRoutineVariableNames,
|
|
getBuiltinRoutineVariableValues,
|
|
interpolateRoutineTemplate,
|
|
isBuiltinRoutineVariable,
|
|
isValidRoutineVariableName,
|
|
stringifyRoutineVariableValue,
|
|
syncRoutineVariablesWithTemplate,
|
|
} from "./routine-variables.js";
|
|
|
|
export {
|
|
paperclipConfigSchema,
|
|
configMetaSchema,
|
|
llmConfigSchema,
|
|
databaseBackupConfigSchema,
|
|
databaseConfigSchema,
|
|
loggingConfigSchema,
|
|
serverConfigSchema,
|
|
authConfigSchema,
|
|
secretsConfigSchema,
|
|
storageConfigSchema,
|
|
storageLocalDiskConfigSchema,
|
|
storageS3ConfigSchema,
|
|
secretsLocalEncryptedConfigSchema,
|
|
telemetryConfigSchema,
|
|
type TelemetryConfig,
|
|
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,
|
|
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 {
|
|
adapterRegistryEntrySchema,
|
|
adapterRegistrySchema,
|
|
type AdapterRegistryEntryParsed,
|
|
} from "./validators/adapter-registry.js";
|