forked from farhoodlabs/paperclip
e4e5609132
Add assigneeAdapterOverrides JSONB column to issues, allowing per-issue model, thinking effort, and workspace overrides when assigning to agents. Heartbeat service merges overrides into adapter config at runtime. New Issue dialog exposes these options for Claude and Codex adapters. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
224 lines
4.9 KiB
TypeScript
224 lines
4.9 KiB
TypeScript
export {
|
|
COMPANY_STATUSES,
|
|
DEPLOYMENT_MODES,
|
|
DEPLOYMENT_EXPOSURES,
|
|
AUTH_BASE_URL_MODES,
|
|
AGENT_STATUSES,
|
|
AGENT_ADAPTER_TYPES,
|
|
AGENT_ROLES,
|
|
AGENT_ICON_NAMES,
|
|
ISSUE_STATUSES,
|
|
ISSUE_PRIORITIES,
|
|
GOAL_LEVELS,
|
|
GOAL_STATUSES,
|
|
PROJECT_STATUSES,
|
|
PROJECT_COLORS,
|
|
APPROVAL_TYPES,
|
|
APPROVAL_STATUSES,
|
|
SECRET_PROVIDERS,
|
|
STORAGE_PROVIDERS,
|
|
HEARTBEAT_INVOCATION_SOURCES,
|
|
HEARTBEAT_RUN_STATUSES,
|
|
WAKEUP_TRIGGER_DETAILS,
|
|
WAKEUP_REQUEST_STATUSES,
|
|
LIVE_EVENT_TYPES,
|
|
PRINCIPAL_TYPES,
|
|
MEMBERSHIP_STATUSES,
|
|
INSTANCE_USER_ROLES,
|
|
INVITE_TYPES,
|
|
INVITE_JOIN_TYPES,
|
|
JOIN_REQUEST_TYPES,
|
|
JOIN_REQUEST_STATUSES,
|
|
PERMISSION_KEYS,
|
|
type CompanyStatus,
|
|
type DeploymentMode,
|
|
type DeploymentExposure,
|
|
type AuthBaseUrlMode,
|
|
type AgentStatus,
|
|
type AgentAdapterType,
|
|
type AgentRole,
|
|
type AgentIconName,
|
|
type IssueStatus,
|
|
type IssuePriority,
|
|
type GoalLevel,
|
|
type GoalStatus,
|
|
type ProjectStatus,
|
|
type ApprovalType,
|
|
type ApprovalStatus,
|
|
type SecretProvider,
|
|
type StorageProvider,
|
|
type HeartbeatInvocationSource,
|
|
type HeartbeatRunStatus,
|
|
type WakeupTriggerDetail,
|
|
type WakeupRequestStatus,
|
|
type LiveEventType,
|
|
type PrincipalType,
|
|
type MembershipStatus,
|
|
type InstanceUserRole,
|
|
type InviteType,
|
|
type InviteJoinType,
|
|
type JoinRequestType,
|
|
type JoinRequestStatus,
|
|
type PermissionKey,
|
|
} from "./constants.js";
|
|
|
|
export type {
|
|
Company,
|
|
Agent,
|
|
AgentPermissions,
|
|
AgentKeyCreated,
|
|
AgentConfigRevision,
|
|
AdapterEnvironmentCheckLevel,
|
|
AdapterEnvironmentTestStatus,
|
|
AdapterEnvironmentCheck,
|
|
AdapterEnvironmentTestResult,
|
|
AssetImage,
|
|
Project,
|
|
ProjectGoalRef,
|
|
ProjectWorkspace,
|
|
Issue,
|
|
IssueAssigneeAdapterOverrides,
|
|
IssueComment,
|
|
IssueAttachment,
|
|
IssueLabel,
|
|
Goal,
|
|
Approval,
|
|
ApprovalComment,
|
|
CostEvent,
|
|
CostSummary,
|
|
CostByAgent,
|
|
HeartbeatRun,
|
|
HeartbeatRunEvent,
|
|
AgentRuntimeState,
|
|
AgentTaskSession,
|
|
AgentWakeupRequest,
|
|
LiveEvent,
|
|
DashboardSummary,
|
|
ActivityEvent,
|
|
SidebarBadges,
|
|
CompanyMembership,
|
|
PrincipalPermissionGrant,
|
|
Invite,
|
|
JoinRequest,
|
|
InstanceUserRoleGrant,
|
|
EnvBinding,
|
|
AgentEnvConfig,
|
|
CompanySecret,
|
|
SecretProviderDescriptor,
|
|
} from "./types/index.js";
|
|
|
|
export {
|
|
createCompanySchema,
|
|
updateCompanySchema,
|
|
type CreateCompany,
|
|
type UpdateCompany,
|
|
createAgentSchema,
|
|
createAgentHireSchema,
|
|
updateAgentSchema,
|
|
createAgentKeySchema,
|
|
wakeAgentSchema,
|
|
resetAgentSessionSchema,
|
|
testAdapterEnvironmentSchema,
|
|
agentPermissionsSchema,
|
|
updateAgentPermissionsSchema,
|
|
type CreateAgent,
|
|
type CreateAgentHire,
|
|
type UpdateAgent,
|
|
type CreateAgentKey,
|
|
type WakeAgent,
|
|
type ResetAgentSession,
|
|
type TestAdapterEnvironment,
|
|
type UpdateAgentPermissions,
|
|
createProjectSchema,
|
|
updateProjectSchema,
|
|
createProjectWorkspaceSchema,
|
|
updateProjectWorkspaceSchema,
|
|
type CreateProject,
|
|
type UpdateProject,
|
|
type CreateProjectWorkspace,
|
|
type UpdateProjectWorkspace,
|
|
createIssueSchema,
|
|
createIssueLabelSchema,
|
|
updateIssueSchema,
|
|
checkoutIssueSchema,
|
|
addIssueCommentSchema,
|
|
linkIssueApprovalSchema,
|
|
createIssueAttachmentMetadataSchema,
|
|
type CreateIssue,
|
|
type CreateIssueLabel,
|
|
type UpdateIssue,
|
|
type CheckoutIssue,
|
|
type AddIssueComment,
|
|
type LinkIssueApproval,
|
|
type CreateIssueAttachmentMetadata,
|
|
createGoalSchema,
|
|
updateGoalSchema,
|
|
type CreateGoal,
|
|
type UpdateGoal,
|
|
createApprovalSchema,
|
|
resolveApprovalSchema,
|
|
requestApprovalRevisionSchema,
|
|
resubmitApprovalSchema,
|
|
addApprovalCommentSchema,
|
|
type CreateApproval,
|
|
type ResolveApproval,
|
|
type RequestApprovalRevision,
|
|
type ResubmitApproval,
|
|
type AddApprovalComment,
|
|
envBindingPlainSchema,
|
|
envBindingSecretRefSchema,
|
|
envBindingSchema,
|
|
envConfigSchema,
|
|
createSecretSchema,
|
|
rotateSecretSchema,
|
|
updateSecretSchema,
|
|
type CreateSecret,
|
|
type RotateSecret,
|
|
type UpdateSecret,
|
|
createCostEventSchema,
|
|
updateBudgetSchema,
|
|
createAssetImageMetadataSchema,
|
|
createCompanyInviteSchema,
|
|
acceptInviteSchema,
|
|
listJoinRequestsQuerySchema,
|
|
updateMemberPermissionsSchema,
|
|
updateUserCompanyAccessSchema,
|
|
type CreateCostEvent,
|
|
type UpdateBudget,
|
|
type CreateAssetImageMetadata,
|
|
type CreateCompanyInvite,
|
|
type AcceptInvite,
|
|
type ListJoinRequestsQuery,
|
|
type UpdateMemberPermissions,
|
|
type UpdateUserCompanyAccess,
|
|
} from "./validators/index.js";
|
|
|
|
export { API_PREFIX, API } from "./api.js";
|
|
|
|
export {
|
|
paperclipConfigSchema,
|
|
configMetaSchema,
|
|
llmConfigSchema,
|
|
databaseConfigSchema,
|
|
loggingConfigSchema,
|
|
serverConfigSchema,
|
|
authConfigSchema,
|
|
secretsConfigSchema,
|
|
storageConfigSchema,
|
|
storageLocalDiskConfigSchema,
|
|
storageS3ConfigSchema,
|
|
secretsLocalEncryptedConfigSchema,
|
|
type PaperclipConfig,
|
|
type LlmConfig,
|
|
type DatabaseConfig,
|
|
type LoggingConfig,
|
|
type ServerConfig,
|
|
type AuthConfig,
|
|
type StorageConfig,
|
|
type StorageLocalDiskConfig,
|
|
type StorageS3Config,
|
|
type SecretsConfig,
|
|
type SecretsLocalEncryptedConfig,
|
|
type ConfigMeta,
|
|
} from "./config-schema.js";
|