Files
paperclip/packages/shared/src/index.ts
Forgotten 5306142542 Add CLI package, config file support, and workspace setup
Add cli/ package with initial scaffolding. Add config-schema to shared
package for typed configuration. Add server config-file loader for
paperclip.config.ts support. Register cli in pnpm workspace. Add
.paperclip/ and .pnpm-store/ to gitignore. Minor Companies page fix.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-17 13:39:47 -06:00

113 lines
2.2 KiB
TypeScript

export {
COMPANY_STATUSES,
AGENT_STATUSES,
AGENT_CONTEXT_MODES,
AGENT_ADAPTER_TYPES,
AGENT_ROLES,
ISSUE_STATUSES,
ISSUE_PRIORITIES,
GOAL_LEVELS,
GOAL_STATUSES,
PROJECT_STATUSES,
APPROVAL_TYPES,
APPROVAL_STATUSES,
HEARTBEAT_INVOCATION_SOURCES,
HEARTBEAT_RUN_STATUSES,
WAKEUP_TRIGGER_DETAILS,
WAKEUP_REQUEST_STATUSES,
LIVE_EVENT_TYPES,
type CompanyStatus,
type AgentStatus,
type AgentContextMode,
type AgentAdapterType,
type AgentRole,
type IssueStatus,
type IssuePriority,
type GoalLevel,
type GoalStatus,
type ProjectStatus,
type ApprovalType,
type ApprovalStatus,
type HeartbeatInvocationSource,
type HeartbeatRunStatus,
type WakeupTriggerDetail,
type WakeupRequestStatus,
type LiveEventType,
} from "./constants.js";
export type {
Company,
Agent,
AgentKeyCreated,
Project,
Issue,
IssueComment,
Goal,
Approval,
CostEvent,
CostSummary,
HeartbeatRun,
HeartbeatRunEvent,
AgentRuntimeState,
AgentWakeupRequest,
LiveEvent,
DashboardSummary,
ActivityEvent,
} from "./types/index.js";
export {
createCompanySchema,
updateCompanySchema,
type CreateCompany,
type UpdateCompany,
createAgentSchema,
updateAgentSchema,
createAgentKeySchema,
wakeAgentSchema,
type CreateAgent,
type UpdateAgent,
type CreateAgentKey,
type WakeAgent,
createProjectSchema,
updateProjectSchema,
type CreateProject,
type UpdateProject,
createIssueSchema,
updateIssueSchema,
checkoutIssueSchema,
addIssueCommentSchema,
type CreateIssue,
type UpdateIssue,
type CheckoutIssue,
type AddIssueComment,
createGoalSchema,
updateGoalSchema,
type CreateGoal,
type UpdateGoal,
createApprovalSchema,
resolveApprovalSchema,
type CreateApproval,
type ResolveApproval,
createCostEventSchema,
updateBudgetSchema,
type CreateCostEvent,
type UpdateBudget,
} from "./validators/index.js";
export { API_PREFIX, API } from "./api.js";
export {
paperclipConfigSchema,
configMetaSchema,
llmConfigSchema,
databaseConfigSchema,
loggingConfigSchema,
serverConfigSchema,
type PaperclipConfig,
type LlmConfig,
type DatabaseConfig,
type LoggingConfig,
type ServerConfig,
type ConfigMeta,
} from "./config-schema.js";