mirror of
https://github.com/paperclipai/paperclip.git
synced 2026-11-11 05:11:49 +01:00
## Thinking Path > - Paperclip is the open source app people use to manage AI agents for work > - Paperclip runs work through adapters and sandbox providers > - Providers need a clear contract so the server can use only verified capabilities > - A declared capability must not grant a method that the live worker did not verify > - This pull request adds manifest declarations and fail-closed effective capability resolution > - The benefit is safe provider reuse across execution targets and run lifecycles ## Linked Issues or Issue Description **Subsystem affected** Cross-cutting (multiple of the above) **Problem or motivation** Sandbox providers expose different runtime methods. The server needs one safe capability contract that accounts for provider declarations, worker verification, and narrowing configuration. **Proposed solution** Add strict manifest validation for five sandbox capabilities. Resolve effective capabilities as the subset of verified, declared, and narrowed values. Store the result as a frozen execution-target snapshot. **Alternatives considered** Trusting the manifest alone could grant methods that the worker does not support. Trusting only a fixed built-in list would reject valid third-party providers. The intersection rule keeps the verified runtime ceiling and supports both provider types. **Roadmap alignment** This change supports the ACP run lifecycle track and the sandbox provider contract work in the current roadmap. **Additional context** The legacy `supportsReusableLeases` field remains supported. The nested capability validator rejects unknown keys. Missing or unavailable verification resolves all capabilities to `false`. ## What Changed - Add strict `sandboxCapabilities` manifest validation with legacy reusable-lease compatibility. - Carry declarations through the ready-driver projection. - Add fail-closed effective resolution from verified, declared, and narrowed capabilities. - Add narrowing for provider configuration, Kubernetes Job leases, and Daytona sessions. - Add a frozen read-only capability snapshot to execution targets. - Add focused tests and keep existing characterization baselines covered. - Add and update sandbox provider capability documentation. ## Verification - `npx vitest run packages/shared/src/validators/plugin.test.ts` - `npx vitest run server/src/__tests__/plugin-environment-driver-sandbox-capabilities.test.ts` - `npx vitest run server/src/__tests__/sandbox-capability-contract.test.ts` - `npx vitest run server/src/__tests__/environment-execution-target-capabilities.test.ts` - `npx vitest run packages/adapter-utils/src/acpx-engine/startup-characterization.test.ts packages/adapter-utils/src/acpx-engine/turn-characterization.test.ts packages/adapter-utils/src/acpx-engine/settlement-characterization.test.ts packages/adapter-utils/src/acpx-engine/composed-run-characterization.test.ts` - Package typechecks for shared, server, and adapter-utils pass. - Stage-2 security review suites pass with 28 tests. ## Risks The resolver fails closed when verification is absent or unavailable. Providers that rely on undeclared capabilities may see narrower behavior until they expose verified worker methods. The change does not alter the existing native-sync guard. ## Model Used OpenAI Codex, GPT-5, exact runtime model ID `gpt-5`, tool use and code execution. The implementation author used this model to assist with the change. ## 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>
935 lines
28 KiB
TypeScript
935 lines
28 KiB
TypeScript
export {
|
|
decisionEffectStalenessSchema,
|
|
decisionOptionStyleSchema,
|
|
commentOnIssueDecisionEffectSchema,
|
|
createIssueDecisionEffectSchema,
|
|
updateIssueStatusDecisionEffectSchema,
|
|
assignIssueDecisionEffectSchema,
|
|
cancelIssueTreeDecisionEffectSchema,
|
|
resolveBlockerDecisionEffectSchema,
|
|
decisionEffectSchema,
|
|
decisionInputSchema,
|
|
decisionOptionSchema,
|
|
decisionOptionsSchema,
|
|
decisionInputsSchema,
|
|
decisionSpecSchema,
|
|
type DecisionEffectInput,
|
|
type DecisionOptionInput,
|
|
type DecisionInputInput,
|
|
type DecisionSpecInput,
|
|
} from "./decision.js";
|
|
|
|
export {
|
|
instanceSettingsSchema,
|
|
instanceGeneralSettingsSchema,
|
|
patchInstanceGeneralSettingsSchema,
|
|
type InstanceGeneralSettings,
|
|
type PatchInstanceGeneralSettings,
|
|
instanceExperimentalSettingsSchema,
|
|
instanceExperimentalSettingsWithManagedSchema,
|
|
managedSettingMetadataSchema,
|
|
patchInstanceExperimentalSettingsSchema,
|
|
patchInstanceSettingsSchema,
|
|
issueGraphLivenessAutoRecoveryRequestSchema,
|
|
type InstanceExperimentalSettings,
|
|
type PatchInstanceExperimentalSettings,
|
|
type PatchInstanceSettings,
|
|
type IssueGraphLivenessAutoRecoveryRequest,
|
|
} from "./instance.js";
|
|
|
|
export {
|
|
upsertBudgetPolicySchema,
|
|
resolveBudgetIncidentSchema,
|
|
type UpsertBudgetPolicy,
|
|
type ResolveBudgetIncident,
|
|
} from "./budget.js";
|
|
|
|
export {
|
|
createSmokeRunSchema,
|
|
updateSmokeRunSchema,
|
|
recordSmokeRunStepSchema,
|
|
smokeRunStatusSchema,
|
|
smokeRunStepPathSchema,
|
|
smokeRunStepStatusSchema,
|
|
smokeRunTriggerSchema,
|
|
type CreateSmokeRun,
|
|
type UpdateSmokeRun,
|
|
type RecordSmokeRunStep,
|
|
} from "./smoke-lab.js";
|
|
|
|
export {
|
|
createCompanySchema,
|
|
interactionResolverGovernanceSchema,
|
|
updateCompanySchema,
|
|
updateCompanyBrandingSchema,
|
|
type CreateCompany,
|
|
type UpdateCompany,
|
|
type UpdateCompanyBranding,
|
|
} from "./company.js";
|
|
export {
|
|
environmentDriverSchema,
|
|
environmentStatusSchema,
|
|
environmentLeaseStatusSchema,
|
|
environmentLeaseCleanupStatusSchema,
|
|
createEnvironmentSchema,
|
|
updateEnvironmentSchema,
|
|
probeEnvironmentConfigSchema,
|
|
type CreateEnvironment,
|
|
type UpdateEnvironment,
|
|
type ProbeEnvironmentConfig,
|
|
} from "./environment.js";
|
|
export {
|
|
environmentCustomImageTemplateKindSchema,
|
|
environmentCustomImageTemplateStatusSchema,
|
|
environmentCustomImageSetupSessionStatusSchema,
|
|
environmentCustomImageSetupConnectionTypeSchema,
|
|
environmentCustomImageSetupConnectionSummarySchema,
|
|
environmentCustomImageTemplateSchema,
|
|
environmentCustomImageSetupSessionSchema,
|
|
startEnvironmentCustomImageSetupSessionSchema,
|
|
finishEnvironmentCustomImageSetupSessionSchema,
|
|
cancelEnvironmentCustomImageSetupSessionSchema,
|
|
createEnvironmentCustomImageTerminalSessionTokenSchema,
|
|
environmentCustomImageTerminalSessionTokenSchema,
|
|
type EnvironmentCustomImageSetupConnectionSummary,
|
|
type EnvironmentCustomImageTemplate,
|
|
type EnvironmentCustomImageSetupSession,
|
|
type StartEnvironmentCustomImageSetupSession,
|
|
type FinishEnvironmentCustomImageSetupSession,
|
|
type CancelEnvironmentCustomImageSetupSession,
|
|
type CreateEnvironmentCustomImageTerminalSessionToken,
|
|
type EnvironmentCustomImageTerminalSessionToken,
|
|
} from "./environment-custom-images.js";
|
|
export {
|
|
feedbackDataSharingPreferenceSchema,
|
|
feedbackTargetTypeSchema,
|
|
feedbackTraceStatusSchema,
|
|
feedbackVoteValueSchema,
|
|
upsertIssueFeedbackVoteSchema,
|
|
type UpsertIssueFeedbackVote,
|
|
} from "./feedback.js";
|
|
export {
|
|
sidebarOrderPreferenceSchema,
|
|
upsertSidebarOrderPreferenceSchema,
|
|
type UpsertSidebarOrderPreference,
|
|
} from "./sidebar-preferences.js";
|
|
export {
|
|
resourceMembershipStateSchema,
|
|
updateDocumentResourceMembershipSchema,
|
|
updateResourceMembershipSchema,
|
|
type UpdateDocumentResourceMembership,
|
|
type UpdateResourceMembership,
|
|
} from "./resource-memberships.js";
|
|
export {
|
|
generateSummarySlotSchema,
|
|
summarySlotKeySchema,
|
|
summarySlotQuerySchema,
|
|
summarySlotScopeKindSchema,
|
|
summarySlotScopeSelectorSchema,
|
|
summarySlotStatusSchema,
|
|
writeSummarySlotSchema,
|
|
type GenerateSummarySlotInput,
|
|
type SummarySlotScopeSelectorInput,
|
|
type WriteSummarySlotInput,
|
|
} from "./summary-slot.js";
|
|
|
|
export * from "./status-card.js";
|
|
|
|
export {
|
|
externalObjectStatusCategorySchema,
|
|
externalObjectStatusToneSchema,
|
|
externalObjectLivenessStateSchema,
|
|
externalObjectMentionSourceKindSchema,
|
|
externalObjectMentionConfidenceSchema,
|
|
externalObjectProviderKeySchema,
|
|
externalObjectTypeSchema,
|
|
externalObjectCanonicalIdentitySchema,
|
|
externalObjectMentionSourceSchema,
|
|
type ExternalObjectCanonicalIdentityInput,
|
|
type ExternalObjectMentionSourceInput,
|
|
type ExternalObjectProviderKeyInput,
|
|
type ExternalObjectTypeInput,
|
|
} from "./external-object.js";
|
|
export {
|
|
companySkillSourceTypeSchema,
|
|
companySkillTrustLevelSchema,
|
|
companySkillCompatibilitySchema,
|
|
companySkillSourceBadgeSchema,
|
|
companySkillSharingScopeSchema,
|
|
companySkillListSortSchema,
|
|
companySkillListIncludeSchema,
|
|
companySkillFileInventoryEntrySchema,
|
|
companySkillVersionFileInventoryEntrySchema,
|
|
companySkillSchema,
|
|
companySkillListItemSchema,
|
|
companySkillUsageAgentSchema,
|
|
companySkillListQuerySchema,
|
|
companySkillCategoryCountSchema,
|
|
companySkillVersionSchema,
|
|
companySkillDetailSchema,
|
|
companySkillVersionCreateSchema,
|
|
companySkillStarResultSchema,
|
|
companySkillCommentSchema,
|
|
companySkillCommentCreateSchema,
|
|
companySkillCommentUpdateSchema,
|
|
companySkillForkSchema,
|
|
companySkillOriginalSummarySchema,
|
|
companySkillForkSummarySchema,
|
|
companySkillForkReassignmentSchema,
|
|
companySkillForkResultSchema,
|
|
companySkillForkPrecheckResultSchema,
|
|
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,
|
|
type CompanySkillImport,
|
|
type CompanySkillListQuery,
|
|
type CompanySkillProjectScan,
|
|
type CompanySkillProjectBrowse,
|
|
type CompanySkillCreate,
|
|
type CompanySkillFileUpdate,
|
|
type CompanySkillTestInputCreate,
|
|
type CompanySkillTestInputUpdate,
|
|
type CompanySkillTestRunTemplateCreate,
|
|
type CompanySkillTestRunTemplateUpdate,
|
|
type CompanySkillTestRunCreate,
|
|
type CompanySkillTestRunListQuery,
|
|
type CompanySkillVersionCreate,
|
|
type CompanySkillCommentCreate,
|
|
type CompanySkillCommentUpdate,
|
|
type CompanySkillFork,
|
|
type CompanySkillRename,
|
|
type CatalogSkillListQuery,
|
|
type CompanySkillInstallCatalog,
|
|
type CompanySkillInstallUpdate,
|
|
type CompanySkillReset,
|
|
} from "./company-skill.js";
|
|
export {
|
|
folderKindSchema,
|
|
folderSlugSchema,
|
|
folderSchema,
|
|
folderListItemSchema,
|
|
folderListResultSchema,
|
|
createFolderSchema,
|
|
updateFolderSchema,
|
|
moveFolderSchema,
|
|
moveFolderItemSchema,
|
|
ensureMySkillFolderSchema,
|
|
type CreateFolder,
|
|
type UpdateFolder,
|
|
type MoveFolder,
|
|
type MoveFolderItem,
|
|
type EnsureMySkillFolder,
|
|
} from "./folder.js";
|
|
export {
|
|
catalogTeamKindSchema,
|
|
catalogTeamTrustLevelSchema,
|
|
catalogTeamCompatibilitySchema,
|
|
catalogTeamFileKindSchema,
|
|
catalogTeamSkillRequirementTypeSchema,
|
|
catalogTeamSkillRequirementSchema,
|
|
catalogTeamEnvInputSummarySchema,
|
|
catalogTeamSourceRefSchema,
|
|
catalogTeamFileSchema,
|
|
catalogTeamSchema,
|
|
catalogTeamListQuerySchema,
|
|
catalogTeamFileDetailSchema,
|
|
catalogTeamSourcePolicySchema,
|
|
catalogTeamPreviewSchema,
|
|
catalogTeamInstallSchema,
|
|
catalogTeamSkillPreparationSchema,
|
|
type CatalogTeamListQuery,
|
|
type CatalogTeamPreview,
|
|
type CatalogTeamInstall,
|
|
} from "./teams-catalog.js";
|
|
export {
|
|
agentSkillStateSchema,
|
|
agentSkillSyncModeSchema,
|
|
agentSkillAssignmentModeSchema,
|
|
agentDesiredSkillEntrySchema,
|
|
agentDesiredSkillSelectionSchema,
|
|
agentSkillEntrySchema,
|
|
agentSkillSnapshotSchema,
|
|
agentSkillSyncSchema,
|
|
type AgentSkillSync,
|
|
} from "./adapter-skills.js";
|
|
export {
|
|
portabilityIncludeSchema,
|
|
portabilityEnvInputSchema,
|
|
portabilityCompanyManifestEntrySchema,
|
|
portabilitySidebarOrderSchema,
|
|
portabilityAgentManifestEntrySchema,
|
|
portabilitySkillManifestEntrySchema,
|
|
portabilityManifestSchema,
|
|
portabilitySourceSchema,
|
|
portabilityTargetSchema,
|
|
portabilityAgentSelectionSchema,
|
|
portabilityCollisionStrategySchema,
|
|
companyPortabilityExportSchema,
|
|
companyPortabilityPreviewSchema,
|
|
companyPortabilityImportSchema,
|
|
type CompanyPortabilityExport,
|
|
type CompanyPortabilityPreview,
|
|
type CompanyPortabilityImport,
|
|
} from "./company-portability.js";
|
|
|
|
export {
|
|
trustPresetSchema,
|
|
lowTrustBoundarySchema,
|
|
lowTrustReviewPresetPolicySchema,
|
|
assignmentAuthorizationPolicySchema,
|
|
protectedAgentAuthorizationPolicySchema,
|
|
trustAuthorizationPolicySchema,
|
|
sourceTrustArtifactKindSchema,
|
|
sourceTrustMetadataSchema,
|
|
type TrustPresetInput,
|
|
type LowTrustBoundaryInput,
|
|
type TrustAuthorizationPolicyInput,
|
|
type SourceTrustMetadataInput,
|
|
} from "./trust-policy.js";
|
|
|
|
export {
|
|
createAgentSchema,
|
|
builtInAgentEmptyMutationSchema,
|
|
builtInAgentProvisionSchema,
|
|
builtInAgentResetSchema,
|
|
createAgentHireSchema,
|
|
updateAgentSchema,
|
|
agentRuntimeConfigSchema,
|
|
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,
|
|
} from "./agent.js";
|
|
|
|
export {
|
|
createProjectSchema,
|
|
updateProjectSchema,
|
|
createProjectWorkspaceSchema,
|
|
updateProjectWorkspaceSchema,
|
|
projectExecutionWorkspacePolicySchema,
|
|
projectWorkspaceRuntimeConfigSchema,
|
|
type CreateProject,
|
|
type UpdateProject,
|
|
type CreateProjectWorkspace,
|
|
type UpdateProjectWorkspace,
|
|
type ProjectExecutionWorkspacePolicy,
|
|
} from "./project.js";
|
|
|
|
export {
|
|
createDocumentAnnotationCommentSchema,
|
|
createDocumentAnnotationThreadSchema,
|
|
documentAnnotationAnchorConfidenceSchema,
|
|
documentAnnotationAnchorSelectorSchema,
|
|
documentAnnotationAnchorStateSchema,
|
|
documentAnnotationTextPositionSelectorSchema,
|
|
documentAnnotationTextQuoteSelectorSchema,
|
|
documentAnnotationThreadStatusSchema,
|
|
updateDocumentAnnotationThreadSchema,
|
|
type CreateDocumentAnnotationComment,
|
|
type CreateDocumentAnnotationThread,
|
|
type UpdateDocumentAnnotationThread,
|
|
} from "./document-annotation.js";
|
|
|
|
export {
|
|
createIssueSchema,
|
|
createIssueInputSchema,
|
|
createChildIssueSchema,
|
|
createAcceptedPlanDecompositionSchema,
|
|
resolveCreateIssueStatusDefault,
|
|
createIssueLabelSchema,
|
|
issueBlockedInboxAttentionSchema,
|
|
issueBlockedInboxIssueRefSchema,
|
|
issueBlockedInboxReasonSchema,
|
|
issueBlockedInboxSeveritySchema,
|
|
issueBlockedInboxStateSchema,
|
|
updateIssueSchema,
|
|
stalledReviewDecisionSchema,
|
|
issueExecutionPolicySchema,
|
|
issueExecutionStateSchema,
|
|
issueRecoveryActionReadModelSchema,
|
|
resolveIssueRecoveryActionSchema,
|
|
issueReviewRequestSchema,
|
|
issueExecutionWorkspaceSettingsSchema,
|
|
checkoutIssueSchema,
|
|
issueCommentAuthorTypeSchema,
|
|
issueCommentPresentationSchema,
|
|
issueCommentMetadataRowSchema,
|
|
issueCommentMetadataSectionSchema,
|
|
issueCommentMetadataSchema,
|
|
addIssueCommentSchema,
|
|
issueThreadInteractionStatusSchema,
|
|
issueThreadInteractionKindSchema,
|
|
issueThreadInteractionCanonicalResolverPolicySchema,
|
|
issueThreadInteractionResolverPolicySchema,
|
|
issueThreadInteractionResolverPolicyProvenanceSchema,
|
|
issueThreadInteractionEffectiveResolverPolicySourceSchema,
|
|
issueThreadInteractionContinuationPolicySchema,
|
|
suggestedTaskDraftSchema,
|
|
suggestTasksPayloadSchema,
|
|
suggestTasksResultCreatedTaskSchema,
|
|
suggestTasksResultSchema,
|
|
askUserQuestionsQuestionOptionSchema,
|
|
askUserQuestionsQuestionSchema,
|
|
askUserQuestionsPayloadSchema,
|
|
askUserQuestionsAnswerSchema,
|
|
askUserQuestionsResultSchema,
|
|
requestConfirmationIssueDocumentTargetSchema,
|
|
requestConfirmationCustomTargetSchema,
|
|
requestConfirmationTargetSchema,
|
|
requestConfirmationPayloadSchema,
|
|
requestConfirmationResumeFailureSchema,
|
|
requestConfirmationResultSchema,
|
|
requestCheckboxConfirmationOptionSchema,
|
|
requestCheckboxConfirmationPayloadSchema,
|
|
requestCheckboxConfirmationResultSchema,
|
|
requestItemVerdictValueSchema,
|
|
requestItemVerdictsItemSchema,
|
|
requestItemVerdictsPayloadSchema,
|
|
requestItemVerdictsResultItemSchema,
|
|
requestItemVerdictsResultSchema,
|
|
createIssueThreadInteractionSchema,
|
|
acceptIssueThreadInteractionSchema,
|
|
rejectIssueThreadInteractionSchema,
|
|
cancelIssueThreadInteractionSchema,
|
|
withdrawIssueThreadInteractionSchema,
|
|
respondIssueThreadInteractionSchema,
|
|
submitIssueThreadInteractionVerdictsSchema,
|
|
linkIssueApprovalSchema,
|
|
createIssueAttachmentMetadataSchema,
|
|
issueDocumentFormatSchema,
|
|
issueDocumentKeySchema,
|
|
upsertIssueDocumentSchema,
|
|
restoreIssueDocumentRevisionSchema,
|
|
upsertIssueWatchdogSchema,
|
|
type CreateIssue,
|
|
type CreateChildIssue,
|
|
type CreateAcceptedPlanDecomposition,
|
|
type CreateIssueLabel,
|
|
type UpdateIssue,
|
|
type StalledReviewDecision,
|
|
type IssueExecutionWorkspaceSettings,
|
|
type IssueRecoveryActionReadModel,
|
|
type ResolveIssueRecoveryAction,
|
|
type CheckoutIssue,
|
|
type AddIssueComment,
|
|
type CreateIssueThreadInteraction,
|
|
type AcceptIssueThreadInteraction,
|
|
type RejectIssueThreadInteraction,
|
|
type CancelIssueThreadInteraction,
|
|
type WithdrawIssueThreadInteraction,
|
|
type RespondIssueThreadInteraction,
|
|
type SubmitIssueThreadInteractionVerdicts,
|
|
type LinkIssueApproval,
|
|
type CreateIssueAttachmentMetadata,
|
|
type IssueDocumentFormat,
|
|
type UpsertIssueDocument,
|
|
type RestoreIssueDocumentRevision,
|
|
type UpsertIssueWatchdog,
|
|
} from "./issue.js";
|
|
|
|
export {
|
|
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,
|
|
companySearchQuerySchema,
|
|
companySearchExtractQuerySchema,
|
|
type CompanySearchExtractQuery,
|
|
type CompanySearchQuery,
|
|
} from "./search.js";
|
|
|
|
export {
|
|
createIssueTreeHoldSchema,
|
|
issueTreeControlModeSchema,
|
|
issueTreeHoldReleasePolicySchema,
|
|
previewIssueTreeControlSchema,
|
|
releaseIssueTreeHoldSchema,
|
|
type CreateIssueTreeHold,
|
|
type PreviewIssueTreeControl,
|
|
type ReleaseIssueTreeHold,
|
|
} from "./issue-tree-control.js";
|
|
|
|
export {
|
|
createIssueWorkProductSchema,
|
|
issueWorkProductMetadataSchema,
|
|
updateIssueWorkProductSchema,
|
|
attachmentArtifactWorkProductMetadataSchema,
|
|
issueWorkProductTypeSchema,
|
|
issueWorkProductStatusSchema,
|
|
issueWorkProductReviewStateSchema,
|
|
type CreateIssueWorkProduct,
|
|
type IssueWorkProductMetadata,
|
|
type UpdateIssueWorkProduct,
|
|
} from "./work-product.js";
|
|
|
|
export {
|
|
COMPANY_ARTIFACTS_DEFAULT_LIMIT,
|
|
COMPANY_ARTIFACTS_MAX_LIMIT,
|
|
COMPANY_ARTIFACTS_MAX_QUERY_LENGTH,
|
|
companyArtifactGroupBySchema,
|
|
companyArtifactGroupSchema,
|
|
companyArtifactMediaKindSchema,
|
|
companyArtifactSchema,
|
|
companyArtifactSourceSchema,
|
|
companyArtifactsQuerySchema,
|
|
companyArtifactsResponseSchema,
|
|
type CompanyArtifactsQuery,
|
|
} from "./artifact.js";
|
|
|
|
export {
|
|
executionWorkspaceConfigSchema,
|
|
reconcileExecutionWorkspaceBranchSchema,
|
|
updateExecutionWorkspaceSchema,
|
|
workspaceOverviewQuerySchema,
|
|
executionWorkspaceDeliveryStateSchema,
|
|
executionWorkspaceStatusSchema,
|
|
executionWorkspaceCloseActionKindSchema,
|
|
executionWorkspaceCloseActionSchema,
|
|
executionWorkspaceCloseGitReadinessSchema,
|
|
executionWorkspaceCloseLinkedIssueSchema,
|
|
executionWorkspaceCloseReadinessSchema,
|
|
executionWorkspaceCloseReadinessStateSchema,
|
|
type ReconcileExecutionWorkspaceBranch,
|
|
type UpdateExecutionWorkspace,
|
|
type WorkspaceOverviewQuery,
|
|
} from "./execution-workspace.js";
|
|
|
|
export {
|
|
normalizedWorkspaceFileAvailabilityQuerySchema,
|
|
resolvedWorkspaceResourceSchema,
|
|
workspaceFileAvailabilityRequestSchema,
|
|
workspaceFileAvailabilityResponseSchema,
|
|
workspaceFileAvailabilityResultSchema,
|
|
workspaceFileListModeSchema,
|
|
workspaceFileListQuerySchema,
|
|
workspaceFileContentSchema,
|
|
workspaceFilePreviewKindSchema,
|
|
workspaceFileRefSchema,
|
|
workspaceFileResourceKindSchema,
|
|
workspaceFileResourceQuerySchema,
|
|
workspaceFileSelectorSchema,
|
|
workspaceFileWorkspaceKindSchema,
|
|
type WorkspaceFileAvailabilityRequestInput,
|
|
type WorkspaceFileListQuery,
|
|
type WorkspaceFileResourceQuery,
|
|
} from "./workspace-file-resource.js";
|
|
|
|
export {
|
|
createGoalSchema,
|
|
updateGoalSchema,
|
|
type CreateGoal,
|
|
type UpdateGoal,
|
|
} from "./goal.js";
|
|
|
|
export {
|
|
applyOnboardingSeedSchema,
|
|
type ApplyOnboardingSeed,
|
|
} from "./onboarding-seed.js";
|
|
|
|
export {
|
|
createApprovalSchema,
|
|
resolveApprovalSchema,
|
|
requestApprovalRevisionSchema,
|
|
resubmitApprovalSchema,
|
|
addApprovalCommentSchema,
|
|
type CreateApproval,
|
|
type ResolveApproval,
|
|
type RequestApprovalRevision,
|
|
type ResubmitApproval,
|
|
type AddApprovalComment,
|
|
} from "./approval.js";
|
|
|
|
export {
|
|
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,
|
|
type CreateSecretBinding,
|
|
type CreateSecret,
|
|
type CreateUserSecretDefinition,
|
|
type UpdateUserSecretDefinition,
|
|
type CreateUserSecretValue,
|
|
type UpdateUserSecretValue,
|
|
type CreateUserSecretDeclaration,
|
|
type CreateSecretProviderConfig,
|
|
type UpdateSecretProviderConfig,
|
|
type SecretProviderConfigDiscoveryPreview,
|
|
type RemoteSecretImportPreview,
|
|
type RemoteSecretImport,
|
|
type RemoteSecretImportSelection,
|
|
type RotateSecret,
|
|
type UpdateSecret,
|
|
} from "./secret.js";
|
|
|
|
export {
|
|
createRoutineSchema,
|
|
updateRoutineSchema,
|
|
createRoutineTriggerSchema,
|
|
updateRoutineTriggerSchema,
|
|
routineVariableSchema,
|
|
routineRevisionSnapshotRoutineV1Schema,
|
|
routineRevisionSnapshotTriggerV1Schema,
|
|
routineRevisionSnapshotV1Schema,
|
|
routineRevisionSnapshotSchema,
|
|
runRoutineSchema,
|
|
rotateRoutineTriggerSecretSchema,
|
|
type CreateRoutine,
|
|
type UpdateRoutine,
|
|
type CreateRoutineTrigger,
|
|
type UpdateRoutineTrigger,
|
|
type RunRoutine,
|
|
type RotateRoutineTriggerSecret,
|
|
} from "./routine.js";
|
|
|
|
export {
|
|
createCostEventSchema,
|
|
updateBudgetSchema,
|
|
type CreateCostEvent,
|
|
type UpdateBudget,
|
|
} from "./cost.js";
|
|
|
|
export {
|
|
createFinanceEventSchema,
|
|
type CreateFinanceEvent,
|
|
} from "./finance.js";
|
|
|
|
export {
|
|
createAssetImageMetadataSchema,
|
|
type CreateAssetImageMetadata,
|
|
} from "./asset.js";
|
|
|
|
export {
|
|
pipelineAutomationRetryCleanupOptionsSchema,
|
|
pipelineAutomationRetryRequestSchema,
|
|
pipelineAutomationRetryScopeSchema,
|
|
pipelineStageAutomationSchema,
|
|
pipelineStageApproverSchema,
|
|
pipelineStageConfigSchema,
|
|
pipelineStageKindSchema,
|
|
pipelineStageOnEnterSchema,
|
|
pipelineStageVariableSchema,
|
|
type PipelineAutomationRetryCleanupOptions,
|
|
type PipelineAutomationRetryRequest,
|
|
type PipelineAutomationRetryScope,
|
|
type PipelineStageAutomationConfig,
|
|
type PipelineStageApprover,
|
|
type PipelineStageConfig,
|
|
type PipelineStageKind,
|
|
type PipelineStageOnEnter,
|
|
type PipelineStageVariable,
|
|
} from "./pipeline.js";
|
|
|
|
export {
|
|
createCompanyInviteSchema,
|
|
createOpenClawInvitePromptSchema,
|
|
acceptInviteSchema,
|
|
listCompanyInvitesQuerySchema,
|
|
listJoinRequestsQuerySchema,
|
|
claimJoinRequestApiKeySchema,
|
|
boardCliAuthAccessLevelSchema,
|
|
createCliAuthChallengeSchema,
|
|
resolveCliAuthChallengeSchema,
|
|
createBoardApiKeySchema,
|
|
currentUserProfileSchema,
|
|
authSessionSchema,
|
|
updateCurrentUserProfileSchema,
|
|
updateCompanyMemberSchema,
|
|
updateCompanyMemberWithPermissionsSchema,
|
|
archiveCompanyMemberSchema,
|
|
updateMemberPermissionsSchema,
|
|
searchAdminUsersQuerySchema,
|
|
updateUserCompanyAccessSchema,
|
|
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,
|
|
} from "./access.js";
|
|
|
|
export {
|
|
jsonSchemaSchema,
|
|
pluginJobDeclarationSchema,
|
|
pluginWebhookDeclarationSchema,
|
|
pluginToolDeclarationSchema,
|
|
pluginEnvironmentDriverDeclarationSchema,
|
|
sandboxProviderCapabilitiesSchema,
|
|
pluginUiSlotDeclarationSchema,
|
|
pluginLauncherActionDeclarationSchema,
|
|
pluginLauncherRenderDeclarationSchema,
|
|
pluginLauncherDeclarationSchema,
|
|
pluginDatabaseDeclarationSchema,
|
|
pluginManagedSkillFileDeclarationSchema,
|
|
pluginManagedSkillDeclarationSchema,
|
|
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 PluginManagedSkillFileDeclarationInput,
|
|
type PluginManagedSkillDeclarationInput,
|
|
type PluginApiRouteDeclarationInput,
|
|
type PluginManifestV1Input,
|
|
type InstallPlugin,
|
|
type UpsertPluginConfig,
|
|
type PatchPluginConfig,
|
|
type UpdatePluginStatus,
|
|
type UninstallPlugin,
|
|
type PluginStateScopeKey,
|
|
type SetPluginState,
|
|
type ListPluginState,
|
|
} from "./plugin.js";
|
|
|
|
export {
|
|
createToolActionRequestSchema,
|
|
toolApplicationTypeSchema,
|
|
toolApplicationStatusSchema,
|
|
toolAuditEventTypeSchema,
|
|
toolAuditOutcomeSchema,
|
|
toolCatalogEntryKindSchema,
|
|
toolCatalogEntryStatusSchema,
|
|
toolConnectionHealthStatusSchema,
|
|
toolConnectionKindSchema,
|
|
toolConnectionStatusSchema,
|
|
toolConnectionTransportSchema,
|
|
toolCredentialSecretRefSchema,
|
|
toolCredentialPlacementSchema,
|
|
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,
|
|
toolConnectionTestCallSchema,
|
|
connectionTokenIssuancePathSchema,
|
|
connectionTokenRequestSchema,
|
|
connectionTokenScopeSchema,
|
|
connectionTokenSubjectSchema,
|
|
startConnectionAuthorizationSchema,
|
|
createToolTrustRuleFromActionRequestSchema,
|
|
revokeToolTrustRuleSchema,
|
|
toolPolicyTestRequestSchema,
|
|
importMcpJsonSchema,
|
|
mcpConnectionCredentialRefSchema,
|
|
createToolApplicationSchema,
|
|
connectToolAppSchema,
|
|
reconnectToolAppSchema,
|
|
finishToolAppSchema,
|
|
updateToolApplicationSchema,
|
|
createToolConnectionSchema,
|
|
createToolMcpGatewaySchema,
|
|
createToolMcpGatewayTokenSchema,
|
|
createToolStdioCommandTemplateSchema,
|
|
disableToolStdioCommandTemplateSchema,
|
|
updateToolConnectionSchema,
|
|
putToolConnectionInstallsSchema,
|
|
updateToolMcpGatewaySchema,
|
|
createToolInvocationSchema,
|
|
createToolPolicySchema,
|
|
createToolProfileBindingForProfileSchema,
|
|
createToolProfileBindingSchema,
|
|
createToolProfileEntryForProfileSchema,
|
|
createToolProfileEntrySchema,
|
|
createToolProfileSchema,
|
|
createToolProfileWithEntriesSchema,
|
|
deleteToolProfileSchema,
|
|
duplicateToolPolicySchema,
|
|
duplicateToolProfileSchema,
|
|
reorderToolPoliciesSchema,
|
|
reviewToolProfileNewToolsSchema,
|
|
unbindToolProfileBindingSchema,
|
|
updateToolPolicySchema,
|
|
updateToolProfileEntrySchema,
|
|
updateToolProfileSchema,
|
|
updateToolProfileWithEntriesSchema,
|
|
upsertToolCatalogEntrySchema,
|
|
type CreateToolActionRequest,
|
|
type ConnectToolApp,
|
|
type ReconnectToolApp,
|
|
type CreateToolApplication,
|
|
type FinishToolApp,
|
|
type UpdateToolApplication,
|
|
type CreateToolConnection,
|
|
type CreateToolMcpGateway,
|
|
type CreateToolMcpGatewayToken,
|
|
type CreateToolStdioCommandTemplate,
|
|
type DisableToolStdioCommandTemplate,
|
|
type UpdateToolConnection,
|
|
type PutToolConnectionInstalls,
|
|
type UpdateToolMcpGateway,
|
|
type CreateToolInvocation,
|
|
type CreateToolPolicy,
|
|
type CreateToolProfile,
|
|
type CreateToolProfileBinding,
|
|
type CreateToolProfileBindingForProfile,
|
|
type CreateToolProfileEntry,
|
|
type CreateToolProfileEntryForProfile,
|
|
type CreateToolProfileWithEntries,
|
|
type DeleteToolProfile,
|
|
type DuplicateToolPolicy,
|
|
type DuplicateToolProfile,
|
|
type ImportMcpJson,
|
|
type ReviewToolProfileNewTools,
|
|
type ReorderToolPolicies,
|
|
type UpdateToolPolicy,
|
|
type UpdateToolProfileEntry,
|
|
type UpdateToolProfile,
|
|
type UpdateToolProfileWithEntries,
|
|
type UnbindToolProfileBinding,
|
|
type UpsertToolCatalogEntry,
|
|
type ConnectionTokenRequestInput,
|
|
type ToolPolicyTestRequestInput,
|
|
type CreateToolTrustRuleFromActionRequest,
|
|
type RevokeToolTrustRule,
|
|
} from "./tool-access.js";
|
|
export * from "./skill-policy.js";
|
|
export * from "./app-definition.js";
|