2026-03-31 20:21:13 +01:00
|
|
|
export { agentAdapterTypeSchema, optionalAgentAdapterTypeSchema } from "./adapter-type.js";
|
2026-02-16 13:31:47 -06:00
|
|
|
export {
|
Expand data model with companies, approvals, costs, and heartbeats
Add new DB schemas: companies, agent_api_keys, approvals, cost_events,
heartbeat_runs, issue_comments. Add corresponding shared types and
validators. Update existing schemas (agents, goals, issues, projects)
with new fields for company association, budgets, and richer metadata.
Generate initial Drizzle migration. Update seed data.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-17 09:07:22 -06:00
|
|
|
COMPANY_STATUSES,
|
2026-02-23 09:14:08 -06:00
|
|
|
DEPLOYMENT_MODES,
|
|
|
|
|
DEPLOYMENT_EXPOSURES,
|
2026-04-10 07:32:16 -05:00
|
|
|
BIND_MODES,
|
2026-02-23 09:14:08 -06:00
|
|
|
AUTH_BASE_URL_MODES,
|
2026-02-16 13:31:47 -06:00
|
|
|
AGENT_STATUSES,
|
Expand data model with companies, approvals, costs, and heartbeats
Add new DB schemas: companies, agent_api_keys, approvals, cost_events,
heartbeat_runs, issue_comments. Add corresponding shared types and
validators. Update existing schemas (agents, goals, issues, projects)
with new fields for company association, budgets, and richer metadata.
Generate initial Drizzle migration. Update seed data.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-17 09:07:22 -06:00
|
|
|
AGENT_ADAPTER_TYPES,
|
2026-02-16 13:31:47 -06:00
|
|
|
AGENT_ROLES,
|
2026-03-07 17:07:14 -08:00
|
|
|
AGENT_ROLE_LABELS,
|
2026-02-25 08:38:37 -06:00
|
|
|
AGENT_ICON_NAMES,
|
2026-02-16 13:31:47 -06:00
|
|
|
ISSUE_STATUSES,
|
2026-03-26 20:06:29 -05:00
|
|
|
INBOX_MINE_ISSUE_STATUSES,
|
|
|
|
|
INBOX_MINE_ISSUE_STATUS_FILTER,
|
2026-02-16 13:31:47 -06:00
|
|
|
ISSUE_PRIORITIES,
|
2026-03-19 08:39:24 -05:00
|
|
|
ISSUE_ORIGIN_KINDS,
|
2026-04-04 13:56:04 -05:00
|
|
|
ISSUE_RELATION_TYPES,
|
2026-04-06 08:40:38 -05:00
|
|
|
ISSUE_EXECUTION_POLICY_MODES,
|
|
|
|
|
ISSUE_EXECUTION_STAGE_TYPES,
|
|
|
|
|
ISSUE_EXECUTION_STATE_STATUSES,
|
|
|
|
|
ISSUE_EXECUTION_DECISION_OUTCOMES,
|
2026-02-16 13:31:47 -06:00
|
|
|
GOAL_LEVELS,
|
Expand data model with companies, approvals, costs, and heartbeats
Add new DB schemas: companies, agent_api_keys, approvals, cost_events,
heartbeat_runs, issue_comments. Add corresponding shared types and
validators. Update existing schemas (agents, goals, issues, projects)
with new fields for company association, budgets, and richer metadata.
Generate initial Drizzle migration. Update seed data.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-17 09:07:22 -06:00
|
|
|
GOAL_STATUSES,
|
|
|
|
|
PROJECT_STATUSES,
|
2026-03-19 08:39:24 -05:00
|
|
|
ROUTINE_STATUSES,
|
|
|
|
|
ROUTINE_CONCURRENCY_POLICIES,
|
|
|
|
|
ROUTINE_CATCH_UP_POLICIES,
|
|
|
|
|
ROUTINE_TRIGGER_KINDS,
|
|
|
|
|
ROUTINE_TRIGGER_SIGNING_MODES,
|
2026-04-02 11:38:57 -05:00
|
|
|
ROUTINE_VARIABLE_TYPES,
|
2026-03-19 08:39:24 -05:00
|
|
|
ROUTINE_RUN_STATUSES,
|
|
|
|
|
ROUTINE_RUN_SOURCES,
|
2026-03-14 22:00:12 -05:00
|
|
|
PAUSE_REASONS,
|
2026-02-23 09:14:08 -06:00
|
|
|
PROJECT_COLORS,
|
Expand data model with companies, approvals, costs, and heartbeats
Add new DB schemas: companies, agent_api_keys, approvals, cost_events,
heartbeat_runs, issue_comments. Add corresponding shared types and
validators. Update existing schemas (agents, goals, issues, projects)
with new fields for company association, budgets, and richer metadata.
Generate initial Drizzle migration. Update seed data.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-17 09:07:22 -06:00
|
|
|
APPROVAL_TYPES,
|
|
|
|
|
APPROVAL_STATUSES,
|
2026-02-19 15:43:43 -06:00
|
|
|
SECRET_PROVIDERS,
|
2026-02-20 10:31:56 -06:00
|
|
|
STORAGE_PROVIDERS,
|
2026-03-14 22:00:12 -05:00
|
|
|
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,
|
Expand data model with companies, approvals, costs, and heartbeats
Add new DB schemas: companies, agent_api_keys, approvals, cost_events,
heartbeat_runs, issue_comments. Add corresponding shared types and
validators. Update existing schemas (agents, goals, issues, projects)
with new fields for company association, budgets, and richer metadata.
Generate initial Drizzle migration. Update seed data.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-17 09:07:22 -06:00
|
|
|
HEARTBEAT_INVOCATION_SOURCES,
|
|
|
|
|
HEARTBEAT_RUN_STATUSES,
|
2026-02-17 12:24:38 -06:00
|
|
|
WAKEUP_TRIGGER_DETAILS,
|
|
|
|
|
WAKEUP_REQUEST_STATUSES,
|
|
|
|
|
LIVE_EVENT_TYPES,
|
2026-02-23 09:14:08 -06:00
|
|
|
PRINCIPAL_TYPES,
|
|
|
|
|
MEMBERSHIP_STATUSES,
|
|
|
|
|
INSTANCE_USER_ROLES,
|
|
|
|
|
INVITE_TYPES,
|
|
|
|
|
INVITE_JOIN_TYPES,
|
|
|
|
|
JOIN_REQUEST_TYPES,
|
|
|
|
|
JOIN_REQUEST_STATUSES,
|
|
|
|
|
PERMISSION_KEYS,
|
2026-03-13 16:22:34 -05:00
|
|
|
PLUGIN_API_VERSION,
|
|
|
|
|
PLUGIN_STATUSES,
|
|
|
|
|
PLUGIN_CATEGORIES,
|
|
|
|
|
PLUGIN_CAPABILITIES,
|
|
|
|
|
PLUGIN_UI_SLOT_TYPES,
|
|
|
|
|
PLUGIN_UI_SLOT_ENTITY_TYPES,
|
|
|
|
|
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_EVENT_TYPES,
|
|
|
|
|
PLUGIN_BRIDGE_ERROR_CODES,
|
Expand data model with companies, approvals, costs, and heartbeats
Add new DB schemas: companies, agent_api_keys, approvals, cost_events,
heartbeat_runs, issue_comments. Add corresponding shared types and
validators. Update existing schemas (agents, goals, issues, projects)
with new fields for company association, budgets, and richer metadata.
Generate initial Drizzle migration. Update seed data.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-17 09:07:22 -06:00
|
|
|
type CompanyStatus,
|
2026-02-23 09:14:08 -06:00
|
|
|
type DeploymentMode,
|
|
|
|
|
type DeploymentExposure,
|
2026-04-10 07:32:16 -05:00
|
|
|
type BindMode,
|
2026-02-23 09:14:08 -06:00
|
|
|
type AuthBaseUrlMode,
|
2026-02-16 13:31:47 -06:00
|
|
|
type AgentStatus,
|
Expand data model with companies, approvals, costs, and heartbeats
Add new DB schemas: companies, agent_api_keys, approvals, cost_events,
heartbeat_runs, issue_comments. Add corresponding shared types and
validators. Update existing schemas (agents, goals, issues, projects)
with new fields for company association, budgets, and richer metadata.
Generate initial Drizzle migration. Update seed data.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-17 09:07:22 -06:00
|
|
|
type AgentAdapterType,
|
2026-02-16 13:31:47 -06:00
|
|
|
type AgentRole,
|
2026-02-25 08:38:37 -06:00
|
|
|
type AgentIconName,
|
2026-02-16 13:31:47 -06:00
|
|
|
type IssueStatus,
|
|
|
|
|
type IssuePriority,
|
2026-03-19 08:39:24 -05:00
|
|
|
type IssueOriginKind,
|
2026-04-04 13:56:04 -05:00
|
|
|
type IssueRelationType,
|
2026-04-06 08:40:38 -05:00
|
|
|
type IssueExecutionPolicyMode,
|
|
|
|
|
type IssueExecutionStageType,
|
|
|
|
|
type IssueExecutionStateStatus,
|
|
|
|
|
type IssueExecutionDecisionOutcome,
|
2026-02-16 13:31:47 -06:00
|
|
|
type GoalLevel,
|
Expand data model with companies, approvals, costs, and heartbeats
Add new DB schemas: companies, agent_api_keys, approvals, cost_events,
heartbeat_runs, issue_comments. Add corresponding shared types and
validators. Update existing schemas (agents, goals, issues, projects)
with new fields for company association, budgets, and richer metadata.
Generate initial Drizzle migration. Update seed data.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-17 09:07:22 -06:00
|
|
|
type GoalStatus,
|
|
|
|
|
type ProjectStatus,
|
2026-03-19 08:39:24 -05:00
|
|
|
type RoutineStatus,
|
|
|
|
|
type RoutineConcurrencyPolicy,
|
|
|
|
|
type RoutineCatchUpPolicy,
|
|
|
|
|
type RoutineTriggerKind,
|
|
|
|
|
type RoutineTriggerSigningMode,
|
2026-04-02 11:38:57 -05:00
|
|
|
type RoutineVariableType,
|
2026-03-19 08:39:24 -05:00
|
|
|
type RoutineRunStatus,
|
|
|
|
|
type RoutineRunSource,
|
2026-03-14 22:00:12 -05:00
|
|
|
type PauseReason,
|
Expand data model with companies, approvals, costs, and heartbeats
Add new DB schemas: companies, agent_api_keys, approvals, cost_events,
heartbeat_runs, issue_comments. Add corresponding shared types and
validators. Update existing schemas (agents, goals, issues, projects)
with new fields for company association, budgets, and richer metadata.
Generate initial Drizzle migration. Update seed data.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-17 09:07:22 -06:00
|
|
|
type ApprovalType,
|
|
|
|
|
type ApprovalStatus,
|
2026-02-19 15:43:43 -06:00
|
|
|
type SecretProvider,
|
2026-02-20 10:31:56 -06:00
|
|
|
type StorageProvider,
|
2026-03-14 22:00:12 -05:00
|
|
|
type BillingType,
|
|
|
|
|
type FinanceEventKind,
|
|
|
|
|
type FinanceDirection,
|
|
|
|
|
type FinanceUnit,
|
|
|
|
|
type BudgetScopeType,
|
|
|
|
|
type BudgetMetric,
|
|
|
|
|
type BudgetWindowKind,
|
|
|
|
|
type BudgetThresholdType,
|
|
|
|
|
type BudgetIncidentStatus,
|
|
|
|
|
type BudgetIncidentResolutionAction,
|
Expand data model with companies, approvals, costs, and heartbeats
Add new DB schemas: companies, agent_api_keys, approvals, cost_events,
heartbeat_runs, issue_comments. Add corresponding shared types and
validators. Update existing schemas (agents, goals, issues, projects)
with new fields for company association, budgets, and richer metadata.
Generate initial Drizzle migration. Update seed data.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-17 09:07:22 -06:00
|
|
|
type HeartbeatInvocationSource,
|
|
|
|
|
type HeartbeatRunStatus,
|
2026-02-17 12:24:38 -06:00
|
|
|
type WakeupTriggerDetail,
|
|
|
|
|
type WakeupRequestStatus,
|
|
|
|
|
type LiveEventType,
|
2026-02-23 09:14:08 -06:00
|
|
|
type PrincipalType,
|
|
|
|
|
type MembershipStatus,
|
|
|
|
|
type InstanceUserRole,
|
|
|
|
|
type InviteType,
|
|
|
|
|
type InviteJoinType,
|
|
|
|
|
type JoinRequestType,
|
|
|
|
|
type JoinRequestStatus,
|
|
|
|
|
type PermissionKey,
|
2026-03-13 16:22:34 -05:00
|
|
|
type PluginStatus,
|
|
|
|
|
type PluginCategory,
|
|
|
|
|
type PluginCapability,
|
|
|
|
|
type PluginUiSlotType,
|
|
|
|
|
type PluginUiSlotEntityType,
|
|
|
|
|
type PluginLauncherPlacementZone,
|
|
|
|
|
type PluginLauncherAction,
|
|
|
|
|
type PluginLauncherBounds,
|
|
|
|
|
type PluginLauncherRenderEnvironment,
|
|
|
|
|
type PluginStateScopeKind,
|
|
|
|
|
type PluginJobStatus,
|
|
|
|
|
type PluginJobRunStatus,
|
|
|
|
|
type PluginJobRunTrigger,
|
|
|
|
|
type PluginWebhookDeliveryStatus,
|
|
|
|
|
type PluginEventType,
|
|
|
|
|
type PluginBridgeErrorCode,
|
2026-02-16 13:31:47 -06:00
|
|
|
} from "./constants.js";
|
|
|
|
|
|
2026-04-10 07:32:16 -05:00
|
|
|
export {
|
|
|
|
|
ALL_INTERFACES_BIND_HOST,
|
|
|
|
|
LOOPBACK_BIND_HOST,
|
|
|
|
|
inferBindModeFromHost,
|
|
|
|
|
isAllInterfacesHost,
|
|
|
|
|
isLoopbackHost,
|
|
|
|
|
resolveRuntimeBind,
|
|
|
|
|
validateConfiguredBindMode,
|
|
|
|
|
} from "./network-bind.js";
|
|
|
|
|
|
2026-02-16 13:31:47 -06:00
|
|
|
export type {
|
Expand data model with companies, approvals, costs, and heartbeats
Add new DB schemas: companies, agent_api_keys, approvals, cost_events,
heartbeat_runs, issue_comments. Add corresponding shared types and
validators. Update existing schemas (agents, goals, issues, projects)
with new fields for company association, budgets, and richer metadata.
Generate initial Drizzle migration. Update seed data.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-17 09:07:22 -06:00
|
|
|
Company,
|
2026-04-02 09:11:49 -05:00
|
|
|
FeedbackVote,
|
|
|
|
|
FeedbackDataSharingPreference,
|
|
|
|
|
FeedbackTargetType,
|
|
|
|
|
FeedbackVoteValue,
|
|
|
|
|
FeedbackTrace,
|
|
|
|
|
FeedbackTraceStatus,
|
|
|
|
|
FeedbackTraceTargetSummary,
|
|
|
|
|
FeedbackTraceBundleCaptureStatus,
|
|
|
|
|
FeedbackTraceBundleFile,
|
|
|
|
|
FeedbackTraceBundle,
|
2026-03-14 10:55:04 -05:00
|
|
|
CompanySkillSourceType,
|
|
|
|
|
CompanySkillTrustLevel,
|
|
|
|
|
CompanySkillCompatibility,
|
2026-03-14 13:52:20 -05:00
|
|
|
CompanySkillSourceBadge,
|
2026-03-14 10:55:04 -05:00
|
|
|
CompanySkillFileInventoryEntry,
|
|
|
|
|
CompanySkill,
|
|
|
|
|
CompanySkillListItem,
|
|
|
|
|
CompanySkillUsageAgent,
|
|
|
|
|
CompanySkillDetail,
|
2026-03-14 13:52:20 -05:00
|
|
|
CompanySkillUpdateStatus,
|
2026-03-14 10:55:04 -05:00
|
|
|
CompanySkillImportRequest,
|
|
|
|
|
CompanySkillImportResult,
|
2026-03-16 19:09:33 -05:00
|
|
|
CompanySkillProjectScanRequest,
|
|
|
|
|
CompanySkillProjectScanSkipped,
|
|
|
|
|
CompanySkillProjectScanConflict,
|
|
|
|
|
CompanySkillProjectScanResult,
|
2026-03-14 13:52:20 -05:00
|
|
|
CompanySkillCreateRequest,
|
|
|
|
|
CompanySkillFileDetail,
|
|
|
|
|
CompanySkillFileUpdateRequest,
|
2026-03-13 22:49:42 -05:00
|
|
|
AgentSkillSyncMode,
|
|
|
|
|
AgentSkillState,
|
2026-03-18 14:21:50 -05:00
|
|
|
AgentSkillOrigin,
|
2026-03-13 22:49:42 -05:00
|
|
|
AgentSkillEntry,
|
|
|
|
|
AgentSkillSnapshot,
|
|
|
|
|
AgentSkillSyncRequest,
|
2026-03-17 09:24:28 -05:00
|
|
|
InstanceExperimentalSettings,
|
2026-03-20 08:00:39 -05:00
|
|
|
InstanceGeneralSettings,
|
2026-03-17 09:24:28 -05:00
|
|
|
InstanceSettings,
|
2026-04-07 09:54:39 +02:00
|
|
|
BackupRetentionPolicy,
|
2026-02-16 13:31:47 -06:00
|
|
|
Agent,
|
2026-03-19 08:14:29 -05:00
|
|
|
AgentAccessState,
|
|
|
|
|
AgentChainOfCommandEntry,
|
|
|
|
|
AgentDetail,
|
2026-02-19 09:10:38 -06:00
|
|
|
AgentPermissions,
|
2026-03-17 13:42:00 -05:00
|
|
|
AgentInstructionsBundleMode,
|
|
|
|
|
AgentInstructionsFileSummary,
|
|
|
|
|
AgentInstructionsFileDetail,
|
|
|
|
|
AgentInstructionsBundle,
|
Expand data model with companies, approvals, costs, and heartbeats
Add new DB schemas: companies, agent_api_keys, approvals, cost_events,
heartbeat_runs, issue_comments. Add corresponding shared types and
validators. Update existing schemas (agents, goals, issues, projects)
with new fields for company association, budgets, and richer metadata.
Generate initial Drizzle migration. Update seed data.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-17 09:07:22 -06:00
|
|
|
AgentKeyCreated,
|
2026-02-19 13:02:25 -06:00
|
|
|
AgentConfigRevision,
|
2026-02-20 12:50:23 -06:00
|
|
|
AdapterEnvironmentCheckLevel,
|
|
|
|
|
AdapterEnvironmentTestStatus,
|
|
|
|
|
AdapterEnvironmentCheck,
|
|
|
|
|
AdapterEnvironmentTestResult,
|
|
|
|
|
AssetImage,
|
2026-02-16 13:31:47 -06:00
|
|
|
Project,
|
2026-03-16 15:56:37 -05:00
|
|
|
ProjectCodebase,
|
|
|
|
|
ProjectCodebaseOrigin,
|
2026-02-20 13:43:25 -06:00
|
|
|
ProjectGoalRef,
|
2026-02-25 08:38:37 -06:00
|
|
|
ProjectWorkspace,
|
2026-03-13 17:12:25 -05:00
|
|
|
ExecutionWorkspace,
|
[codex] improve issue and routine UI responsiveness (#3744)
## Thinking Path
> - Paperclip orchestrates AI agents for zero-human companies
> - Operators rely on issue, inbox, and routine views to understand what
the company is doing in real time
> - Those views need to stay fast and readable even when issue lists,
markdown comments, and run metadata get large
> - The current branch had a coherent set of UI and live-update
improvements spread across issue search, issue detail rendering, routine
affordances, and workspace lookups
> - This pull request groups those board-facing changes into one
standalone branch that can merge independently of the heartbeat/runtime
work
> - The benefit is a faster, clearer issue and routine workflow without
changing the underlying task model
## What Changed
- Show routine execution issues by default and rename the filter to
`Hide routine runs` so the default state no longer looks like an active
filter.
- Show the routine name in the run dialog and tighten the issue
properties pane with a workspace link, copy-on-click behavior, and an
inline parent arrow.
- Reduce issue detail rerenders, keep queued issue chat mounted, improve
issues page search responsiveness, and speed up issues first paint.
- Add inbox "other search results", refresh visible issue runs after
status updates, and optimize workspace lookups through summary-mode
execution workspace queries.
- Improve markdown wrapping and scrolling behavior for long strings and
self-comment code blocks.
- Relax the markdown sanitizer assertion so the test still validates
safety after the new wrap-friendly inline styles.
## Verification
- `pnpm vitest run ui/src/components/IssuesList.test.tsx
ui/src/lib/inbox.test.ts ui/src/pages/Issues.test.tsx
ui/src/context/BreadcrumbContext.test.tsx
ui/src/context/LiveUpdatesProvider.test.ts
ui/src/components/MarkdownBody.test.tsx
ui/src/api/execution-workspaces.test.ts
server/src/__tests__/execution-workspaces-routes.test.ts`
## Risks
- This touches several issue-facing UI surfaces at once, so regressions
would most likely show up as stale rendering, search result mismatches,
or small markdown presentation differences.
- The workspace lookup optimization depends on the summary-mode route
shape staying aligned between server and UI.
## Model Used
- OpenAI Codex, GPT-5-based coding agent in the Codex CLI environment.
Exact backend model deployment ID was not exposed in-session.
Tool-assisted editing and shell execution were used.
## 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 run tests locally and they pass
- [x] I have added or updated tests where applicable
- [ ] 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
- [x] I will address all Greptile and reviewer comments before
requesting merge
---------
Co-authored-by: Paperclip <noreply@paperclip.ing>
2026-04-15 15:54:05 -05:00
|
|
|
ExecutionWorkspaceSummary,
|
2026-03-28 12:15:34 -05:00
|
|
|
ExecutionWorkspaceConfig,
|
2026-03-28 16:15:20 -05:00
|
|
|
ExecutionWorkspaceCloseAction,
|
|
|
|
|
ExecutionWorkspaceCloseActionKind,
|
|
|
|
|
ExecutionWorkspaceCloseGitReadiness,
|
|
|
|
|
ExecutionWorkspaceCloseLinkedIssue,
|
|
|
|
|
ExecutionWorkspaceCloseReadiness,
|
|
|
|
|
ExecutionWorkspaceCloseReadinessState,
|
2026-03-28 16:46:43 -05:00
|
|
|
ProjectWorkspaceRuntimeConfig,
|
[codex] Improve workspace runtime and navigation ergonomics (#3680)
## Thinking Path
> - Paperclip orchestrates AI agents for zero-human companies
> - That operator experience depends not just on issue chat, but also on
how workspaces, inbox groups, and navigation state behave over
long-running sessions
> - The current branch included a separate cluster of workspace-runtime
controls, inbox grouping, sidebar ordering, and worktree lifecycle fixes
> - Those changes cross server, shared contracts, database state, and UI
navigation, but they still form one coherent operator workflow area
> - This pull request isolates the workspace/runtime and navigation
ergonomics work into one standalone branch
> - The benefit is better workspace recovery and navigation persistence
without forcing reviewers through the unrelated issue-detail/chat work
## What Changed
- Improved execution workspace and project workspace controls, request
wiring, layout, and JSON editor ergonomics
- Hardened linked worktree reuse/startup behavior and documented the
`worktree repair` flow for recovering linked worktrees safely
- Added inbox workspace grouping, mobile collapse, archive undo,
keyboard navigation, shared group-header styling, and persisted
collapsed-group behavior
- Added persistent sidebar order preferences with the supporting DB
migration, shared/server contracts, routes, services, hooks, and UI
integration
- Scoped issue-list preferences by context and added targeted UI/server
tests for workspace controls, inbox behavior, sidebar preferences, and
worktree validation
## Verification
- `pnpm vitest run
server/src/__tests__/sidebar-preferences-routes.test.ts
ui/src/pages/Inbox.test.tsx
ui/src/components/ProjectWorkspaceSummaryCard.test.tsx
ui/src/components/WorkspaceRuntimeControls.test.tsx
ui/src/api/workspace-runtime-control.test.ts`
- `server/src/__tests__/workspace-runtime.test.ts` was attempted, but
the embedded Postgres suite self-skipped/hung on this host after
reporting an init-script issue, so it is not counted as a local pass
here
## Risks
- Medium: this branch includes migration-backed preference storage plus
worktree/runtime behavior, so merge review should pay attention to state
persistence and worktree recovery semantics
- The sidebar preference migration is standalone, but it should still be
watched for conflicts if another migration lands first
## Model Used
- OpenAI Codex coding agent (GPT-5-class runtime in Codex CLI; exact
deployed model ID is not exposed in this environment), reasoning
enabled, tool use and local code execution enabled
## 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)
- [ ] I have run tests locally and they pass
- [x] I have added or updated tests where applicable
- [ ] 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
- [x] I will address all Greptile and reviewer comments before
requesting merge
---------
Co-authored-by: Paperclip <noreply@paperclip.ing>
2026-04-14 12:57:11 -05:00
|
|
|
WorkspaceCommandDefinition,
|
|
|
|
|
WorkspaceCommandKind,
|
|
|
|
|
WorkspaceRuntimeControlTarget,
|
2026-03-10 10:58:38 -05:00
|
|
|
WorkspaceRuntimeService,
|
[codex] Improve workspace runtime and navigation ergonomics (#3680)
## Thinking Path
> - Paperclip orchestrates AI agents for zero-human companies
> - That operator experience depends not just on issue chat, but also on
how workspaces, inbox groups, and navigation state behave over
long-running sessions
> - The current branch included a separate cluster of workspace-runtime
controls, inbox grouping, sidebar ordering, and worktree lifecycle fixes
> - Those changes cross server, shared contracts, database state, and UI
navigation, but they still form one coherent operator workflow area
> - This pull request isolates the workspace/runtime and navigation
ergonomics work into one standalone branch
> - The benefit is better workspace recovery and navigation persistence
without forcing reviewers through the unrelated issue-detail/chat work
## What Changed
- Improved execution workspace and project workspace controls, request
wiring, layout, and JSON editor ergonomics
- Hardened linked worktree reuse/startup behavior and documented the
`worktree repair` flow for recovering linked worktrees safely
- Added inbox workspace grouping, mobile collapse, archive undo,
keyboard navigation, shared group-header styling, and persisted
collapsed-group behavior
- Added persistent sidebar order preferences with the supporting DB
migration, shared/server contracts, routes, services, hooks, and UI
integration
- Scoped issue-list preferences by context and added targeted UI/server
tests for workspace controls, inbox behavior, sidebar preferences, and
worktree validation
## Verification
- `pnpm vitest run
server/src/__tests__/sidebar-preferences-routes.test.ts
ui/src/pages/Inbox.test.tsx
ui/src/components/ProjectWorkspaceSummaryCard.test.tsx
ui/src/components/WorkspaceRuntimeControls.test.tsx
ui/src/api/workspace-runtime-control.test.ts`
- `server/src/__tests__/workspace-runtime.test.ts` was attempted, but
the embedded Postgres suite self-skipped/hung on this host after
reporting an init-script issue, so it is not counted as a local pass
here
## Risks
- Medium: this branch includes migration-backed preference storage plus
worktree/runtime behavior, so merge review should pay attention to state
persistence and worktree recovery semantics
- The sidebar preference migration is standalone, but it should still be
watched for conflicts if another migration lands first
## Model Used
- OpenAI Codex coding agent (GPT-5-class runtime in Codex CLI; exact
deployed model ID is not exposed in this environment), reasoning
enabled, tool use and local code execution enabled
## 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)
- [ ] I have run tests locally and they pass
- [x] I have added or updated tests where applicable
- [ ] 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
- [x] I will address all Greptile and reviewer comments before
requesting merge
---------
Co-authored-by: Paperclip <noreply@paperclip.ing>
2026-04-14 12:57:11 -05:00
|
|
|
WorkspaceRuntimeServiceStateMap,
|
2026-03-17 09:36:35 -05:00
|
|
|
WorkspaceOperation,
|
|
|
|
|
WorkspaceOperationPhase,
|
|
|
|
|
WorkspaceOperationStatus,
|
2026-03-28 16:46:43 -05:00
|
|
|
WorkspaceRuntimeDesiredState,
|
2026-03-10 09:03:31 -05:00
|
|
|
ExecutionWorkspaceStrategyType,
|
|
|
|
|
ExecutionWorkspaceMode,
|
2026-03-13 17:12:25 -05:00
|
|
|
ExecutionWorkspaceProviderType,
|
|
|
|
|
ExecutionWorkspaceStatus,
|
2026-03-10 09:03:31 -05:00
|
|
|
ExecutionWorkspaceStrategy,
|
|
|
|
|
ProjectExecutionWorkspacePolicy,
|
2026-03-13 17:12:25 -05:00
|
|
|
ProjectExecutionWorkspaceDefaultMode,
|
2026-03-10 09:03:31 -05:00
|
|
|
IssueExecutionWorkspaceSettings,
|
2026-03-13 17:12:25 -05:00
|
|
|
IssueWorkProduct,
|
|
|
|
|
IssueWorkProductType,
|
|
|
|
|
IssueWorkProductProvider,
|
|
|
|
|
IssueWorkProductStatus,
|
|
|
|
|
IssueWorkProductReviewState,
|
2026-02-16 13:31:47 -06:00
|
|
|
Issue,
|
2026-02-26 10:32:44 -06:00
|
|
|
IssueAssigneeAdapterOverrides,
|
2026-04-04 13:56:04 -05:00
|
|
|
IssueRelation,
|
|
|
|
|
IssueRelationIssueSummary,
|
2026-04-06 08:40:38 -05:00
|
|
|
IssueExecutionPolicy,
|
|
|
|
|
IssueExecutionState,
|
|
|
|
|
IssueExecutionStage,
|
|
|
|
|
IssueExecutionStageParticipant,
|
|
|
|
|
IssueExecutionStagePrincipal,
|
|
|
|
|
IssueExecutionDecision,
|
Expand data model with companies, approvals, costs, and heartbeats
Add new DB schemas: companies, agent_api_keys, approvals, cost_events,
heartbeat_runs, issue_comments. Add corresponding shared types and
validators. Update existing schemas (agents, goals, issues, projects)
with new fields for company association, budgets, and richer metadata.
Generate initial Drizzle migration. Update seed data.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-17 09:07:22 -06:00
|
|
|
IssueComment,
|
2026-03-13 21:30:48 -05:00
|
|
|
IssueDocument,
|
|
|
|
|
IssueDocumentSummary,
|
|
|
|
|
DocumentRevision,
|
|
|
|
|
DocumentFormat,
|
|
|
|
|
LegacyPlanDocument,
|
2026-02-20 10:31:56 -06:00
|
|
|
IssueAttachment,
|
2026-02-25 08:38:37 -06:00
|
|
|
IssueLabel,
|
2026-02-16 13:31:47 -06:00
|
|
|
Goal,
|
Expand data model with companies, approvals, costs, and heartbeats
Add new DB schemas: companies, agent_api_keys, approvals, cost_events,
heartbeat_runs, issue_comments. Add corresponding shared types and
validators. Update existing schemas (agents, goals, issues, projects)
with new fields for company association, budgets, and richer metadata.
Generate initial Drizzle migration. Update seed data.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-17 09:07:22 -06:00
|
|
|
Approval,
|
2026-02-19 09:10:38 -06:00
|
|
|
ApprovalComment,
|
2026-03-14 22:00:12 -05:00
|
|
|
BudgetPolicy,
|
|
|
|
|
BudgetPolicySummary,
|
|
|
|
|
BudgetIncident,
|
|
|
|
|
BudgetOverview,
|
|
|
|
|
BudgetPolicyUpsertInput,
|
|
|
|
|
BudgetIncidentResolutionInput,
|
Expand data model with companies, approvals, costs, and heartbeats
Add new DB schemas: companies, agent_api_keys, approvals, cost_events,
heartbeat_runs, issue_comments. Add corresponding shared types and
validators. Update existing schemas (agents, goals, issues, projects)
with new fields for company association, budgets, and richer metadata.
Generate initial Drizzle migration. Update seed data.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-17 09:07:22 -06:00
|
|
|
CostEvent,
|
|
|
|
|
CostSummary,
|
2026-02-19 13:02:25 -06:00
|
|
|
CostByAgent,
|
feat(ui): add resource and usage dashboard (/usage route)
adds a new /usage page that lets board operators see how much each ai
provider is consuming across any date window, with per-model breakdowns,
rolling 5h/24h/7d burn windows, weekly budget bars, and a deficit notch
when projected spend is on track to exceed the monthly budget.
- new GET /companies/:id/costs/by-provider endpoint aggregates cost events
by provider + model with pro-rated billing type splits from heartbeat runs
- new GET /companies/:id/costs/window-spend endpoint returns rolling window
spend (5h, 24h, 7d) per provider with no schema changes
- QuotaBar: reusable boxed-border progress bar with green/yellow/red
threshold fill colors and optional deficit notch
- ProviderQuotaCard: per-provider card showing budget allocation bars,
rolling windows, subscription usage, and model breakdown with token/cost
share overlays
- Usage page: date preset toggles (mtd, 7d, 30d, ytd, all, custom),
provider tabs, 30s polling plus ws invalidation on cost_event
- custom date range blocks queries until both dates are selected and
treats boundaries as local-time (not utc midnight) so full days are
included regardless of timezone
- query key to timestamp is floored to the nearest minute to prevent
cache churn on every 30s refetch tick
2026-03-08 03:18:37 +05:30
|
|
|
CostByProviderModel,
|
2026-03-14 22:00:12 -05:00
|
|
|
CostByBiller,
|
2026-03-08 20:56:13 +05:30
|
|
|
CostByAgentModel,
|
feat(ui): add resource and usage dashboard (/usage route)
adds a new /usage page that lets board operators see how much each ai
provider is consuming across any date window, with per-model breakdowns,
rolling 5h/24h/7d burn windows, weekly budget bars, and a deficit notch
when projected spend is on track to exceed the monthly budget.
- new GET /companies/:id/costs/by-provider endpoint aggregates cost events
by provider + model with pro-rated billing type splits from heartbeat runs
- new GET /companies/:id/costs/window-spend endpoint returns rolling window
spend (5h, 24h, 7d) per provider with no schema changes
- QuotaBar: reusable boxed-border progress bar with green/yellow/red
threshold fill colors and optional deficit notch
- ProviderQuotaCard: per-provider card showing budget allocation bars,
rolling windows, subscription usage, and model breakdown with token/cost
share overlays
- Usage page: date preset toggles (mtd, 7d, 30d, ytd, all, custom),
provider tabs, 30s polling plus ws invalidation on cost_event
- custom date range blocks queries until both dates are selected and
treats boundaries as local-time (not utc midnight) so full days are
included regardless of timezone
- query key to timestamp is floored to the nearest minute to prevent
cache churn on every 30s refetch tick
2026-03-08 03:18:37 +05:30
|
|
|
CostWindowSpendRow,
|
2026-03-08 20:56:13 +05:30
|
|
|
CostByProject,
|
2026-03-14 22:00:12 -05:00
|
|
|
FinanceEvent,
|
|
|
|
|
FinanceSummary,
|
|
|
|
|
FinanceByBiller,
|
|
|
|
|
FinanceByKind,
|
2026-04-02 11:38:57 -05:00
|
|
|
AgentWakeupResponse,
|
|
|
|
|
AgentWakeupSkipped,
|
Expand data model with companies, approvals, costs, and heartbeats
Add new DB schemas: companies, agent_api_keys, approvals, cost_events,
heartbeat_runs, issue_comments. Add corresponding shared types and
validators. Update existing schemas (agents, goals, issues, projects)
with new fields for company association, budgets, and richer metadata.
Generate initial Drizzle migration. Update seed data.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-17 09:07:22 -06:00
|
|
|
HeartbeatRun,
|
2026-02-17 12:24:38 -06:00
|
|
|
HeartbeatRunEvent,
|
|
|
|
|
AgentRuntimeState,
|
2026-02-19 14:01:40 -06:00
|
|
|
AgentTaskSession,
|
2026-02-17 12:24:38 -06:00
|
|
|
AgentWakeupRequest,
|
2026-03-12 08:03:55 -05:00
|
|
|
InstanceSchedulerHeartbeatAgent,
|
2026-02-17 12:24:38 -06:00
|
|
|
LiveEvent,
|
Expand data model with companies, approvals, costs, and heartbeats
Add new DB schemas: companies, agent_api_keys, approvals, cost_events,
heartbeat_runs, issue_comments. Add corresponding shared types and
validators. Update existing schemas (agents, goals, issues, projects)
with new fields for company association, budgets, and richer metadata.
Generate initial Drizzle migration. Update seed data.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-17 09:07:22 -06:00
|
|
|
DashboardSummary,
|
2026-02-16 13:31:47 -06:00
|
|
|
ActivityEvent,
|
2026-02-19 13:02:25 -06:00
|
|
|
SidebarBadges,
|
[codex] Improve workspace runtime and navigation ergonomics (#3680)
## Thinking Path
> - Paperclip orchestrates AI agents for zero-human companies
> - That operator experience depends not just on issue chat, but also on
how workspaces, inbox groups, and navigation state behave over
long-running sessions
> - The current branch included a separate cluster of workspace-runtime
controls, inbox grouping, sidebar ordering, and worktree lifecycle fixes
> - Those changes cross server, shared contracts, database state, and UI
navigation, but they still form one coherent operator workflow area
> - This pull request isolates the workspace/runtime and navigation
ergonomics work into one standalone branch
> - The benefit is better workspace recovery and navigation persistence
without forcing reviewers through the unrelated issue-detail/chat work
## What Changed
- Improved execution workspace and project workspace controls, request
wiring, layout, and JSON editor ergonomics
- Hardened linked worktree reuse/startup behavior and documented the
`worktree repair` flow for recovering linked worktrees safely
- Added inbox workspace grouping, mobile collapse, archive undo,
keyboard navigation, shared group-header styling, and persisted
collapsed-group behavior
- Added persistent sidebar order preferences with the supporting DB
migration, shared/server contracts, routes, services, hooks, and UI
integration
- Scoped issue-list preferences by context and added targeted UI/server
tests for workspace controls, inbox behavior, sidebar preferences, and
worktree validation
## Verification
- `pnpm vitest run
server/src/__tests__/sidebar-preferences-routes.test.ts
ui/src/pages/Inbox.test.tsx
ui/src/components/ProjectWorkspaceSummaryCard.test.tsx
ui/src/components/WorkspaceRuntimeControls.test.tsx
ui/src/api/workspace-runtime-control.test.ts`
- `server/src/__tests__/workspace-runtime.test.ts` was attempted, but
the embedded Postgres suite self-skipped/hung on this host after
reporting an init-script issue, so it is not counted as a local pass
here
## Risks
- Medium: this branch includes migration-backed preference storage plus
worktree/runtime behavior, so merge review should pay attention to state
persistence and worktree recovery semantics
- The sidebar preference migration is standalone, but it should still be
watched for conflicts if another migration lands first
## Model Used
- OpenAI Codex coding agent (GPT-5-class runtime in Codex CLI; exact
deployed model ID is not exposed in this environment), reasoning
enabled, tool use and local code execution enabled
## 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)
- [ ] I have run tests locally and they pass
- [x] I have added or updated tests where applicable
- [ ] 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
- [x] I will address all Greptile and reviewer comments before
requesting merge
---------
Co-authored-by: Paperclip <noreply@paperclip.ing>
2026-04-14 12:57:11 -05:00
|
|
|
SidebarOrderPreference,
|
2026-04-07 18:26:34 -05:00
|
|
|
InboxDismissal,
|
2026-02-23 09:14:08 -06:00
|
|
|
CompanyMembership,
|
|
|
|
|
PrincipalPermissionGrant,
|
|
|
|
|
Invite,
|
|
|
|
|
JoinRequest,
|
|
|
|
|
InstanceUserRoleGrant,
|
2026-03-02 09:06:58 -06:00
|
|
|
CompanyPortabilityInclude,
|
2026-03-14 09:46:16 -05:00
|
|
|
CompanyPortabilityEnvInput,
|
2026-03-19 07:15:36 -05:00
|
|
|
CompanyPortabilityFileEntry,
|
2026-03-02 09:06:58 -06:00
|
|
|
CompanyPortabilityCompanyManifestEntry,
|
2026-03-23 16:49:46 -05:00
|
|
|
CompanyPortabilitySidebarOrder,
|
2026-03-02 09:06:58 -06:00
|
|
|
CompanyPortabilityAgentManifestEntry,
|
2026-03-14 18:59:26 -05:00
|
|
|
CompanyPortabilitySkillManifestEntry,
|
2026-03-14 09:46:16 -05:00
|
|
|
CompanyPortabilityProjectManifestEntry,
|
2026-03-23 11:14:01 -05:00
|
|
|
CompanyPortabilityProjectWorkspaceManifestEntry,
|
|
|
|
|
CompanyPortabilityIssueRoutineTriggerManifestEntry,
|
|
|
|
|
CompanyPortabilityIssueRoutineManifestEntry,
|
2026-03-14 09:46:16 -05:00
|
|
|
CompanyPortabilityIssueManifestEntry,
|
2026-03-02 09:06:58 -06:00
|
|
|
CompanyPortabilityManifest,
|
|
|
|
|
CompanyPortabilityExportResult,
|
2026-03-18 21:54:10 -05:00
|
|
|
CompanyPortabilityExportPreviewFile,
|
|
|
|
|
CompanyPortabilityExportPreviewResult,
|
2026-03-02 09:06:58 -06:00
|
|
|
CompanyPortabilitySource,
|
|
|
|
|
CompanyPortabilityImportTarget,
|
|
|
|
|
CompanyPortabilityAgentSelection,
|
|
|
|
|
CompanyPortabilityCollisionStrategy,
|
|
|
|
|
CompanyPortabilityPreviewRequest,
|
|
|
|
|
CompanyPortabilityPreviewAgentPlan,
|
2026-03-14 09:46:16 -05:00
|
|
|
CompanyPortabilityPreviewProjectPlan,
|
|
|
|
|
CompanyPortabilityPreviewIssuePlan,
|
2026-03-02 09:06:58 -06:00
|
|
|
CompanyPortabilityPreviewResult,
|
2026-03-16 10:28:44 -05:00
|
|
|
CompanyPortabilityAdapterOverride,
|
2026-03-02 09:06:58 -06:00
|
|
|
CompanyPortabilityImportRequest,
|
|
|
|
|
CompanyPortabilityImportResult,
|
|
|
|
|
CompanyPortabilityExportRequest,
|
2026-02-19 15:43:43 -06:00
|
|
|
EnvBinding,
|
|
|
|
|
AgentEnvConfig,
|
|
|
|
|
CompanySecret,
|
|
|
|
|
SecretProviderDescriptor,
|
2026-03-19 08:39:24 -05:00
|
|
|
Routine,
|
2026-04-02 11:38:57 -05:00
|
|
|
RoutineVariable,
|
|
|
|
|
RoutineVariableDefaultValue,
|
2026-03-19 08:39:24 -05:00
|
|
|
RoutineTrigger,
|
|
|
|
|
RoutineRun,
|
|
|
|
|
RoutineTriggerSecretMaterial,
|
|
|
|
|
RoutineDetail,
|
|
|
|
|
RoutineRunSummary,
|
|
|
|
|
RoutineExecutionIssueOrigin,
|
|
|
|
|
RoutineListItem,
|
2026-03-13 16:22:34 -05:00
|
|
|
JsonSchema,
|
|
|
|
|
PluginJobDeclaration,
|
|
|
|
|
PluginWebhookDeclaration,
|
|
|
|
|
PluginToolDeclaration,
|
|
|
|
|
PluginUiSlotDeclaration,
|
|
|
|
|
PluginLauncherActionDeclaration,
|
|
|
|
|
PluginLauncherRenderDeclaration,
|
|
|
|
|
PluginLauncherRenderContextSnapshot,
|
|
|
|
|
PluginLauncherDeclaration,
|
|
|
|
|
PluginMinimumHostVersion,
|
|
|
|
|
PluginUiDeclaration,
|
|
|
|
|
PaperclipPluginManifestV1,
|
|
|
|
|
PluginRecord,
|
|
|
|
|
PluginStateRecord,
|
|
|
|
|
PluginConfig,
|
|
|
|
|
PluginEntityRecord,
|
|
|
|
|
PluginEntityQuery,
|
|
|
|
|
PluginJobRecord,
|
|
|
|
|
PluginJobRunRecord,
|
|
|
|
|
PluginWebhookDeliveryRecord,
|
2026-03-08 16:35:14 +05:30
|
|
|
QuotaWindow,
|
|
|
|
|
ProviderQuotaResult,
|
2026-02-16 13:31:47 -06:00
|
|
|
} from "./types/index.js";
|
|
|
|
|
|
[codex] Improve workspace runtime and navigation ergonomics (#3680)
## Thinking Path
> - Paperclip orchestrates AI agents for zero-human companies
> - That operator experience depends not just on issue chat, but also on
how workspaces, inbox groups, and navigation state behave over
long-running sessions
> - The current branch included a separate cluster of workspace-runtime
controls, inbox grouping, sidebar ordering, and worktree lifecycle fixes
> - Those changes cross server, shared contracts, database state, and UI
navigation, but they still form one coherent operator workflow area
> - This pull request isolates the workspace/runtime and navigation
ergonomics work into one standalone branch
> - The benefit is better workspace recovery and navigation persistence
without forcing reviewers through the unrelated issue-detail/chat work
## What Changed
- Improved execution workspace and project workspace controls, request
wiring, layout, and JSON editor ergonomics
- Hardened linked worktree reuse/startup behavior and documented the
`worktree repair` flow for recovering linked worktrees safely
- Added inbox workspace grouping, mobile collapse, archive undo,
keyboard navigation, shared group-header styling, and persisted
collapsed-group behavior
- Added persistent sidebar order preferences with the supporting DB
migration, shared/server contracts, routes, services, hooks, and UI
integration
- Scoped issue-list preferences by context and added targeted UI/server
tests for workspace controls, inbox behavior, sidebar preferences, and
worktree validation
## Verification
- `pnpm vitest run
server/src/__tests__/sidebar-preferences-routes.test.ts
ui/src/pages/Inbox.test.tsx
ui/src/components/ProjectWorkspaceSummaryCard.test.tsx
ui/src/components/WorkspaceRuntimeControls.test.tsx
ui/src/api/workspace-runtime-control.test.ts`
- `server/src/__tests__/workspace-runtime.test.ts` was attempted, but
the embedded Postgres suite self-skipped/hung on this host after
reporting an init-script issue, so it is not counted as a local pass
here
## Risks
- Medium: this branch includes migration-backed preference storage plus
worktree/runtime behavior, so merge review should pay attention to state
persistence and worktree recovery semantics
- The sidebar preference migration is standalone, but it should still be
watched for conflicts if another migration lands first
## Model Used
- OpenAI Codex coding agent (GPT-5-class runtime in Codex CLI; exact
deployed model ID is not exposed in this environment), reasoning
enabled, tool use and local code execution enabled
## 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)
- [ ] I have run tests locally and they pass
- [x] I have added or updated tests where applicable
- [ ] 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
- [x] I will address all Greptile and reviewer comments before
requesting merge
---------
Co-authored-by: Paperclip <noreply@paperclip.ing>
2026-04-14 12:57:11 -05:00
|
|
|
export {
|
|
|
|
|
sidebarOrderPreferenceSchema,
|
|
|
|
|
upsertSidebarOrderPreferenceSchema,
|
|
|
|
|
type UpsertSidebarOrderPreference,
|
|
|
|
|
} from "./validators/sidebar-preferences.js";
|
|
|
|
|
|
|
|
|
|
export { workspaceRuntimeControlTargetSchema } from "./validators/execution-workspace.js";
|
|
|
|
|
export {
|
|
|
|
|
findWorkspaceCommandDefinition,
|
|
|
|
|
listWorkspaceCommandDefinitions,
|
|
|
|
|
listWorkspaceServiceCommandDefinitions,
|
|
|
|
|
matchWorkspaceRuntimeServiceToCommand,
|
|
|
|
|
scoreWorkspaceRuntimeServiceMatch,
|
|
|
|
|
} from "./workspace-commands.js";
|
|
|
|
|
|
2026-04-02 09:11:49 -05:00
|
|
|
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";
|
|
|
|
|
|
2026-04-07 09:41:13 +02:00
|
|
|
export {
|
2026-04-07 09:54:39 +02:00
|
|
|
DAILY_RETENTION_PRESETS,
|
|
|
|
|
WEEKLY_RETENTION_PRESETS,
|
|
|
|
|
MONTHLY_RETENTION_PRESETS,
|
|
|
|
|
DEFAULT_BACKUP_RETENTION,
|
2026-04-07 09:41:13 +02:00
|
|
|
} from "./types/instance.js";
|
|
|
|
|
|
2026-04-04 13:04:34 -05:00
|
|
|
export {
|
|
|
|
|
getClosedIsolatedExecutionWorkspaceMessage,
|
|
|
|
|
isClosedIsolatedExecutionWorkspace,
|
|
|
|
|
} from "./execution-workspace-guards.js";
|
|
|
|
|
|
2026-03-17 09:24:28 -05:00
|
|
|
export {
|
2026-03-20 08:00:39 -05:00
|
|
|
instanceGeneralSettingsSchema,
|
|
|
|
|
patchInstanceGeneralSettingsSchema,
|
|
|
|
|
type PatchInstanceGeneralSettings,
|
2026-03-17 09:24:28 -05:00
|
|
|
instanceExperimentalSettingsSchema,
|
|
|
|
|
patchInstanceExperimentalSettingsSchema,
|
|
|
|
|
type PatchInstanceExperimentalSettings,
|
|
|
|
|
} from "./validators/index.js";
|
|
|
|
|
|
2026-02-16 13:31:47 -06:00
|
|
|
export {
|
Expand data model with companies, approvals, costs, and heartbeats
Add new DB schemas: companies, agent_api_keys, approvals, cost_events,
heartbeat_runs, issue_comments. Add corresponding shared types and
validators. Update existing schemas (agents, goals, issues, projects)
with new fields for company association, budgets, and richer metadata.
Generate initial Drizzle migration. Update seed data.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-17 09:07:22 -06:00
|
|
|
createCompanySchema,
|
|
|
|
|
updateCompanySchema,
|
2026-03-18 21:03:41 -05:00
|
|
|
updateCompanyBrandingSchema,
|
2026-04-02 09:11:49 -05:00
|
|
|
feedbackTargetTypeSchema,
|
|
|
|
|
feedbackTraceStatusSchema,
|
|
|
|
|
feedbackVoteValueSchema,
|
|
|
|
|
upsertIssueFeedbackVoteSchema,
|
Expand data model with companies, approvals, costs, and heartbeats
Add new DB schemas: companies, agent_api_keys, approvals, cost_events,
heartbeat_runs, issue_comments. Add corresponding shared types and
validators. Update existing schemas (agents, goals, issues, projects)
with new fields for company association, budgets, and richer metadata.
Generate initial Drizzle migration. Update seed data.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-17 09:07:22 -06:00
|
|
|
type CreateCompany,
|
|
|
|
|
type UpdateCompany,
|
2026-03-18 21:03:41 -05:00
|
|
|
type UpdateCompanyBranding,
|
2026-04-02 09:11:49 -05:00
|
|
|
type UpsertIssueFeedbackVote,
|
2026-03-13 22:49:42 -05:00
|
|
|
agentSkillStateSchema,
|
|
|
|
|
agentSkillSyncModeSchema,
|
|
|
|
|
agentSkillEntrySchema,
|
|
|
|
|
agentSkillSnapshotSchema,
|
|
|
|
|
agentSkillSyncSchema,
|
|
|
|
|
type AgentSkillSync,
|
2026-02-16 13:31:47 -06:00
|
|
|
createAgentSchema,
|
2026-02-19 13:02:25 -06:00
|
|
|
createAgentHireSchema,
|
2026-02-16 13:31:47 -06:00
|
|
|
updateAgentSchema,
|
2026-03-17 13:42:00 -05:00
|
|
|
agentInstructionsBundleModeSchema,
|
|
|
|
|
updateAgentInstructionsBundleSchema,
|
|
|
|
|
upsertAgentInstructionsFileSchema,
|
2026-03-02 14:21:24 -06:00
|
|
|
updateAgentInstructionsPathSchema,
|
Expand data model with companies, approvals, costs, and heartbeats
Add new DB schemas: companies, agent_api_keys, approvals, cost_events,
heartbeat_runs, issue_comments. Add corresponding shared types and
validators. Update existing schemas (agents, goals, issues, projects)
with new fields for company association, budgets, and richer metadata.
Generate initial Drizzle migration. Update seed data.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-17 09:07:22 -06:00
|
|
|
createAgentKeySchema,
|
2026-03-26 20:06:29 -05:00
|
|
|
agentMineInboxQuerySchema,
|
2026-02-17 12:24:38 -06:00
|
|
|
wakeAgentSchema,
|
2026-02-19 14:01:40 -06:00
|
|
|
resetAgentSessionSchema,
|
2026-02-20 12:50:23 -06:00
|
|
|
testAdapterEnvironmentSchema,
|
2026-02-19 09:10:38 -06:00
|
|
|
agentPermissionsSchema,
|
|
|
|
|
updateAgentPermissionsSchema,
|
2026-02-16 13:31:47 -06:00
|
|
|
type CreateAgent,
|
2026-02-19 13:02:25 -06:00
|
|
|
type CreateAgentHire,
|
2026-02-16 13:31:47 -06:00
|
|
|
type UpdateAgent,
|
2026-03-17 13:42:00 -05:00
|
|
|
type UpdateAgentInstructionsBundle,
|
|
|
|
|
type UpsertAgentInstructionsFile,
|
2026-03-02 14:21:24 -06:00
|
|
|
type UpdateAgentInstructionsPath,
|
Expand data model with companies, approvals, costs, and heartbeats
Add new DB schemas: companies, agent_api_keys, approvals, cost_events,
heartbeat_runs, issue_comments. Add corresponding shared types and
validators. Update existing schemas (agents, goals, issues, projects)
with new fields for company association, budgets, and richer metadata.
Generate initial Drizzle migration. Update seed data.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-17 09:07:22 -06:00
|
|
|
type CreateAgentKey,
|
2026-03-26 20:06:29 -05:00
|
|
|
type AgentMineInboxQuery,
|
2026-02-17 12:24:38 -06:00
|
|
|
type WakeAgent,
|
2026-02-19 14:01:40 -06:00
|
|
|
type ResetAgentSession,
|
2026-02-20 12:50:23 -06:00
|
|
|
type TestAdapterEnvironment,
|
2026-02-19 09:10:38 -06:00
|
|
|
type UpdateAgentPermissions,
|
2026-02-16 13:31:47 -06:00
|
|
|
createProjectSchema,
|
|
|
|
|
updateProjectSchema,
|
2026-02-25 08:38:37 -06:00
|
|
|
createProjectWorkspaceSchema,
|
|
|
|
|
updateProjectWorkspaceSchema,
|
2026-02-16 13:31:47 -06:00
|
|
|
type CreateProject,
|
|
|
|
|
type UpdateProject,
|
2026-02-25 08:38:37 -06:00
|
|
|
type CreateProjectWorkspace,
|
|
|
|
|
type UpdateProjectWorkspace,
|
2026-03-10 09:03:31 -05:00
|
|
|
projectExecutionWorkspacePolicySchema,
|
2026-02-16 13:31:47 -06:00
|
|
|
createIssueSchema,
|
2026-02-25 08:38:37 -06:00
|
|
|
createIssueLabelSchema,
|
2026-02-16 13:31:47 -06:00
|
|
|
updateIssueSchema,
|
2026-04-06 08:40:38 -05:00
|
|
|
issueExecutionPolicySchema,
|
|
|
|
|
issueExecutionStateSchema,
|
2026-03-10 09:03:31 -05:00
|
|
|
issueExecutionWorkspaceSettingsSchema,
|
Expand data model with companies, approvals, costs, and heartbeats
Add new DB schemas: companies, agent_api_keys, approvals, cost_events,
heartbeat_runs, issue_comments. Add corresponding shared types and
validators. Update existing schemas (agents, goals, issues, projects)
with new fields for company association, budgets, and richer metadata.
Generate initial Drizzle migration. Update seed data.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-17 09:07:22 -06:00
|
|
|
checkoutIssueSchema,
|
|
|
|
|
addIssueCommentSchema,
|
2026-02-19 13:02:25 -06:00
|
|
|
linkIssueApprovalSchema,
|
2026-02-20 10:31:56 -06:00
|
|
|
createIssueAttachmentMetadataSchema,
|
2026-03-13 17:12:25 -05:00
|
|
|
createIssueWorkProductSchema,
|
|
|
|
|
updateIssueWorkProductSchema,
|
|
|
|
|
issueWorkProductTypeSchema,
|
|
|
|
|
issueWorkProductStatusSchema,
|
|
|
|
|
issueWorkProductReviewStateSchema,
|
|
|
|
|
updateExecutionWorkspaceSchema,
|
|
|
|
|
executionWorkspaceStatusSchema,
|
2026-03-28 16:15:20 -05:00
|
|
|
executionWorkspaceCloseActionKindSchema,
|
|
|
|
|
executionWorkspaceCloseActionSchema,
|
|
|
|
|
executionWorkspaceCloseGitReadinessSchema,
|
|
|
|
|
executionWorkspaceCloseLinkedIssueSchema,
|
|
|
|
|
executionWorkspaceCloseReadinessSchema,
|
|
|
|
|
executionWorkspaceCloseReadinessStateSchema,
|
2026-03-13 21:30:48 -05:00
|
|
|
issueDocumentFormatSchema,
|
|
|
|
|
issueDocumentKeySchema,
|
|
|
|
|
upsertIssueDocumentSchema,
|
2026-03-26 08:24:57 -05:00
|
|
|
restoreIssueDocumentRevisionSchema,
|
2026-02-16 13:31:47 -06:00
|
|
|
type CreateIssue,
|
2026-02-25 08:38:37 -06:00
|
|
|
type CreateIssueLabel,
|
2026-02-16 13:31:47 -06:00
|
|
|
type UpdateIssue,
|
Expand data model with companies, approvals, costs, and heartbeats
Add new DB schemas: companies, agent_api_keys, approvals, cost_events,
heartbeat_runs, issue_comments. Add corresponding shared types and
validators. Update existing schemas (agents, goals, issues, projects)
with new fields for company association, budgets, and richer metadata.
Generate initial Drizzle migration. Update seed data.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-17 09:07:22 -06:00
|
|
|
type CheckoutIssue,
|
|
|
|
|
type AddIssueComment,
|
2026-02-19 13:02:25 -06:00
|
|
|
type LinkIssueApproval,
|
2026-02-20 10:31:56 -06:00
|
|
|
type CreateIssueAttachmentMetadata,
|
2026-03-13 17:12:25 -05:00
|
|
|
type CreateIssueWorkProduct,
|
|
|
|
|
type UpdateIssueWorkProduct,
|
|
|
|
|
type UpdateExecutionWorkspace,
|
2026-03-13 21:30:48 -05:00
|
|
|
type IssueDocumentFormat,
|
|
|
|
|
type UpsertIssueDocument,
|
2026-03-26 08:24:57 -05:00
|
|
|
type RestoreIssueDocumentRevision,
|
2026-02-16 13:31:47 -06:00
|
|
|
createGoalSchema,
|
|
|
|
|
updateGoalSchema,
|
|
|
|
|
type CreateGoal,
|
|
|
|
|
type UpdateGoal,
|
Expand data model with companies, approvals, costs, and heartbeats
Add new DB schemas: companies, agent_api_keys, approvals, cost_events,
heartbeat_runs, issue_comments. Add corresponding shared types and
validators. Update existing schemas (agents, goals, issues, projects)
with new fields for company association, budgets, and richer metadata.
Generate initial Drizzle migration. Update seed data.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-17 09:07:22 -06:00
|
|
|
createApprovalSchema,
|
2026-03-14 22:00:12 -05:00
|
|
|
upsertBudgetPolicySchema,
|
|
|
|
|
resolveBudgetIncidentSchema,
|
Expand data model with companies, approvals, costs, and heartbeats
Add new DB schemas: companies, agent_api_keys, approvals, cost_events,
heartbeat_runs, issue_comments. Add corresponding shared types and
validators. Update existing schemas (agents, goals, issues, projects)
with new fields for company association, budgets, and richer metadata.
Generate initial Drizzle migration. Update seed data.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-17 09:07:22 -06:00
|
|
|
resolveApprovalSchema,
|
2026-02-19 09:10:38 -06:00
|
|
|
requestApprovalRevisionSchema,
|
|
|
|
|
resubmitApprovalSchema,
|
|
|
|
|
addApprovalCommentSchema,
|
Expand data model with companies, approvals, costs, and heartbeats
Add new DB schemas: companies, agent_api_keys, approvals, cost_events,
heartbeat_runs, issue_comments. Add corresponding shared types and
validators. Update existing schemas (agents, goals, issues, projects)
with new fields for company association, budgets, and richer metadata.
Generate initial Drizzle migration. Update seed data.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-17 09:07:22 -06:00
|
|
|
type CreateApproval,
|
2026-03-14 22:00:12 -05:00
|
|
|
type UpsertBudgetPolicy,
|
|
|
|
|
type ResolveBudgetIncident,
|
Expand data model with companies, approvals, costs, and heartbeats
Add new DB schemas: companies, agent_api_keys, approvals, cost_events,
heartbeat_runs, issue_comments. Add corresponding shared types and
validators. Update existing schemas (agents, goals, issues, projects)
with new fields for company association, budgets, and richer metadata.
Generate initial Drizzle migration. Update seed data.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-17 09:07:22 -06:00
|
|
|
type ResolveApproval,
|
2026-02-19 09:10:38 -06:00
|
|
|
type RequestApprovalRevision,
|
|
|
|
|
type ResubmitApproval,
|
|
|
|
|
type AddApprovalComment,
|
2026-02-19 15:43:43 -06:00
|
|
|
envBindingPlainSchema,
|
|
|
|
|
envBindingSecretRefSchema,
|
|
|
|
|
envBindingSchema,
|
|
|
|
|
envConfigSchema,
|
|
|
|
|
createSecretSchema,
|
|
|
|
|
rotateSecretSchema,
|
|
|
|
|
updateSecretSchema,
|
2026-03-19 08:39:24 -05:00
|
|
|
createRoutineSchema,
|
|
|
|
|
updateRoutineSchema,
|
|
|
|
|
createRoutineTriggerSchema,
|
|
|
|
|
updateRoutineTriggerSchema,
|
2026-04-02 11:38:57 -05:00
|
|
|
routineVariableSchema,
|
2026-03-19 08:39:24 -05:00
|
|
|
runRoutineSchema,
|
|
|
|
|
rotateRoutineTriggerSecretSchema,
|
2026-02-19 15:43:43 -06:00
|
|
|
type CreateSecret,
|
|
|
|
|
type RotateSecret,
|
|
|
|
|
type UpdateSecret,
|
2026-03-19 08:39:24 -05:00
|
|
|
type CreateRoutine,
|
|
|
|
|
type UpdateRoutine,
|
|
|
|
|
type CreateRoutineTrigger,
|
|
|
|
|
type UpdateRoutineTrigger,
|
|
|
|
|
type RunRoutine,
|
|
|
|
|
type RotateRoutineTriggerSecret,
|
Expand data model with companies, approvals, costs, and heartbeats
Add new DB schemas: companies, agent_api_keys, approvals, cost_events,
heartbeat_runs, issue_comments. Add corresponding shared types and
validators. Update existing schemas (agents, goals, issues, projects)
with new fields for company association, budgets, and richer metadata.
Generate initial Drizzle migration. Update seed data.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-17 09:07:22 -06:00
|
|
|
createCostEventSchema,
|
2026-03-14 22:00:12 -05:00
|
|
|
createFinanceEventSchema,
|
Expand data model with companies, approvals, costs, and heartbeats
Add new DB schemas: companies, agent_api_keys, approvals, cost_events,
heartbeat_runs, issue_comments. Add corresponding shared types and
validators. Update existing schemas (agents, goals, issues, projects)
with new fields for company association, budgets, and richer metadata.
Generate initial Drizzle migration. Update seed data.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-17 09:07:22 -06:00
|
|
|
updateBudgetSchema,
|
2026-02-20 12:50:23 -06:00
|
|
|
createAssetImageMetadataSchema,
|
2026-02-23 09:14:08 -06:00
|
|
|
createCompanyInviteSchema,
|
2026-03-07 18:19:06 -06:00
|
|
|
createOpenClawInvitePromptSchema,
|
2026-02-23 09:14:08 -06:00
|
|
|
acceptInviteSchema,
|
|
|
|
|
listJoinRequestsQuerySchema,
|
2026-02-26 16:33:20 -06:00
|
|
|
claimJoinRequestApiKeySchema,
|
2026-03-23 07:48:03 -05:00
|
|
|
boardCliAuthAccessLevelSchema,
|
|
|
|
|
createCliAuthChallengeSchema,
|
|
|
|
|
resolveCliAuthChallengeSchema,
|
2026-02-23 09:14:08 -06:00
|
|
|
updateMemberPermissionsSchema,
|
|
|
|
|
updateUserCompanyAccessSchema,
|
Expand data model with companies, approvals, costs, and heartbeats
Add new DB schemas: companies, agent_api_keys, approvals, cost_events,
heartbeat_runs, issue_comments. Add corresponding shared types and
validators. Update existing schemas (agents, goals, issues, projects)
with new fields for company association, budgets, and richer metadata.
Generate initial Drizzle migration. Update seed data.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-17 09:07:22 -06:00
|
|
|
type CreateCostEvent,
|
2026-03-14 22:00:12 -05:00
|
|
|
type CreateFinanceEvent,
|
Expand data model with companies, approvals, costs, and heartbeats
Add new DB schemas: companies, agent_api_keys, approvals, cost_events,
heartbeat_runs, issue_comments. Add corresponding shared types and
validators. Update existing schemas (agents, goals, issues, projects)
with new fields for company association, budgets, and richer metadata.
Generate initial Drizzle migration. Update seed data.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-17 09:07:22 -06:00
|
|
|
type UpdateBudget,
|
2026-02-20 12:50:23 -06:00
|
|
|
type CreateAssetImageMetadata,
|
2026-02-23 09:14:08 -06:00
|
|
|
type CreateCompanyInvite,
|
2026-03-07 18:19:06 -06:00
|
|
|
type CreateOpenClawInvitePrompt,
|
2026-02-23 09:14:08 -06:00
|
|
|
type AcceptInvite,
|
|
|
|
|
type ListJoinRequestsQuery,
|
2026-02-26 16:33:20 -06:00
|
|
|
type ClaimJoinRequestApiKey,
|
2026-03-23 07:48:03 -05:00
|
|
|
type BoardCliAuthAccessLevel,
|
|
|
|
|
type CreateCliAuthChallenge,
|
|
|
|
|
type ResolveCliAuthChallenge,
|
2026-02-23 09:14:08 -06:00
|
|
|
type UpdateMemberPermissions,
|
|
|
|
|
type UpdateUserCompanyAccess,
|
2026-03-14 10:55:04 -05:00
|
|
|
companySkillSourceTypeSchema,
|
|
|
|
|
companySkillTrustLevelSchema,
|
|
|
|
|
companySkillCompatibilitySchema,
|
2026-03-14 13:52:20 -05:00
|
|
|
companySkillSourceBadgeSchema,
|
2026-03-14 10:55:04 -05:00
|
|
|
companySkillFileInventoryEntrySchema,
|
|
|
|
|
companySkillSchema,
|
|
|
|
|
companySkillListItemSchema,
|
|
|
|
|
companySkillUsageAgentSchema,
|
|
|
|
|
companySkillDetailSchema,
|
2026-03-14 13:52:20 -05:00
|
|
|
companySkillUpdateStatusSchema,
|
2026-03-14 10:55:04 -05:00
|
|
|
companySkillImportSchema,
|
2026-03-16 19:09:33 -05:00
|
|
|
companySkillProjectScanRequestSchema,
|
|
|
|
|
companySkillProjectScanSkippedSchema,
|
|
|
|
|
companySkillProjectScanConflictSchema,
|
|
|
|
|
companySkillProjectScanResultSchema,
|
2026-03-14 13:52:20 -05:00
|
|
|
companySkillCreateSchema,
|
|
|
|
|
companySkillFileDetailSchema,
|
|
|
|
|
companySkillFileUpdateSchema,
|
2026-03-02 09:06:58 -06:00
|
|
|
portabilityIncludeSchema,
|
2026-03-14 09:46:16 -05:00
|
|
|
portabilityEnvInputSchema,
|
2026-03-02 09:06:58 -06:00
|
|
|
portabilityCompanyManifestEntrySchema,
|
2026-03-23 16:49:46 -05:00
|
|
|
portabilitySidebarOrderSchema,
|
2026-03-02 09:06:58 -06:00
|
|
|
portabilityAgentManifestEntrySchema,
|
|
|
|
|
portabilityManifestSchema,
|
|
|
|
|
portabilitySourceSchema,
|
|
|
|
|
portabilityTargetSchema,
|
|
|
|
|
portabilityAgentSelectionSchema,
|
|
|
|
|
portabilityCollisionStrategySchema,
|
|
|
|
|
companyPortabilityExportSchema,
|
|
|
|
|
companyPortabilityPreviewSchema,
|
|
|
|
|
companyPortabilityImportSchema,
|
|
|
|
|
type CompanyPortabilityExport,
|
|
|
|
|
type CompanyPortabilityPreview,
|
|
|
|
|
type CompanyPortabilityImport,
|
2026-03-13 16:22:34 -05:00
|
|
|
jsonSchemaSchema,
|
|
|
|
|
pluginJobDeclarationSchema,
|
|
|
|
|
pluginWebhookDeclarationSchema,
|
|
|
|
|
pluginToolDeclarationSchema,
|
|
|
|
|
pluginUiSlotDeclarationSchema,
|
|
|
|
|
pluginLauncherActionDeclarationSchema,
|
|
|
|
|
pluginLauncherRenderDeclarationSchema,
|
|
|
|
|
pluginLauncherDeclarationSchema,
|
|
|
|
|
pluginManifestV1Schema,
|
|
|
|
|
installPluginSchema,
|
|
|
|
|
upsertPluginConfigSchema,
|
|
|
|
|
patchPluginConfigSchema,
|
|
|
|
|
updatePluginStatusSchema,
|
|
|
|
|
uninstallPluginSchema,
|
|
|
|
|
pluginStateScopeKeySchema,
|
|
|
|
|
setPluginStateSchema,
|
|
|
|
|
listPluginStateSchema,
|
|
|
|
|
type PluginJobDeclarationInput,
|
|
|
|
|
type PluginWebhookDeclarationInput,
|
|
|
|
|
type PluginToolDeclarationInput,
|
|
|
|
|
type PluginUiSlotDeclarationInput,
|
|
|
|
|
type PluginLauncherActionDeclarationInput,
|
|
|
|
|
type PluginLauncherRenderDeclarationInput,
|
|
|
|
|
type PluginLauncherDeclarationInput,
|
|
|
|
|
type PluginManifestV1Input,
|
|
|
|
|
type InstallPlugin,
|
|
|
|
|
type UpsertPluginConfig,
|
|
|
|
|
type PatchPluginConfig,
|
|
|
|
|
type UpdatePluginStatus,
|
|
|
|
|
type UninstallPlugin,
|
|
|
|
|
type PluginStateScopeKey,
|
|
|
|
|
type SetPluginState,
|
|
|
|
|
type ListPluginState,
|
2026-02-16 13:31:47 -06:00
|
|
|
} from "./validators/index.js";
|
|
|
|
|
|
|
|
|
|
export { API_PREFIX, API } from "./api.js";
|
2026-03-02 16:43:59 -06:00
|
|
|
export { normalizeAgentUrlKey, deriveAgentUrlKey, isUuidLike } from "./agent-url-key.js";
|
2026-03-31 16:33:48 +00:00
|
|
|
export { deriveProjectUrlKey, normalizeProjectUrlKey, hasNonAsciiContent } from "./project-url-key.js";
|
2026-03-02 13:31:58 -06:00
|
|
|
export {
|
2026-03-21 14:48:10 -05:00
|
|
|
AGENT_MENTION_SCHEME,
|
2026-03-02 13:31:58 -06:00
|
|
|
PROJECT_MENTION_SCHEME,
|
2026-04-04 17:00:40 -05:00
|
|
|
SKILL_MENTION_SCHEME,
|
2026-03-21 14:48:10 -05:00
|
|
|
buildAgentMentionHref,
|
2026-03-02 13:31:58 -06:00
|
|
|
buildProjectMentionHref,
|
2026-04-04 17:00:40 -05:00
|
|
|
buildSkillMentionHref,
|
2026-03-21 14:48:10 -05:00
|
|
|
extractAgentMentionIds,
|
2026-04-04 17:00:40 -05:00
|
|
|
extractSkillMentionIds,
|
2026-03-21 14:48:10 -05:00
|
|
|
parseAgentMentionHref,
|
2026-03-02 13:31:58 -06:00
|
|
|
parseProjectMentionHref,
|
2026-04-04 17:00:40 -05:00
|
|
|
parseSkillMentionHref,
|
2026-03-02 13:31:58 -06:00
|
|
|
extractProjectMentionIds,
|
2026-03-21 14:48:10 -05:00
|
|
|
type ParsedAgentMention,
|
2026-03-02 13:31:58 -06:00
|
|
|
type ParsedProjectMention,
|
2026-04-04 17:00:40 -05:00
|
|
|
type ParsedSkillMention,
|
2026-03-02 13:31:58 -06:00
|
|
|
} from "./project-mentions.js";
|
2026-02-17 13:39:47 -06:00
|
|
|
|
2026-04-02 11:38:57 -05:00
|
|
|
export {
|
2026-04-09 10:19:52 -05:00
|
|
|
BUILTIN_ROUTINE_VARIABLE_NAMES,
|
2026-04-02 11:38:57 -05:00
|
|
|
extractRoutineVariableNames,
|
2026-04-09 10:19:52 -05:00
|
|
|
getBuiltinRoutineVariableValues,
|
2026-04-02 11:38:57 -05:00
|
|
|
interpolateRoutineTemplate,
|
2026-04-09 10:19:52 -05:00
|
|
|
isBuiltinRoutineVariable,
|
2026-04-02 11:38:57 -05:00
|
|
|
isValidRoutineVariableName,
|
|
|
|
|
stringifyRoutineVariableValue,
|
|
|
|
|
syncRoutineVariablesWithTemplate,
|
|
|
|
|
} from "./routine-variables.js";
|
|
|
|
|
|
2026-02-17 13:39:47 -06:00
|
|
|
export {
|
|
|
|
|
paperclipConfigSchema,
|
|
|
|
|
configMetaSchema,
|
|
|
|
|
llmConfigSchema,
|
2026-03-04 18:03:23 -06:00
|
|
|
databaseBackupConfigSchema,
|
2026-02-17 13:39:47 -06:00
|
|
|
databaseConfigSchema,
|
|
|
|
|
loggingConfigSchema,
|
|
|
|
|
serverConfigSchema,
|
2026-02-23 09:14:08 -06:00
|
|
|
authConfigSchema,
|
2026-02-19 15:43:43 -06:00
|
|
|
secretsConfigSchema,
|
2026-02-20 10:31:56 -06:00
|
|
|
storageConfigSchema,
|
|
|
|
|
storageLocalDiskConfigSchema,
|
|
|
|
|
storageS3ConfigSchema,
|
2026-02-19 15:43:43 -06:00
|
|
|
secretsLocalEncryptedConfigSchema,
|
2026-03-31 08:08:18 -05:00
|
|
|
telemetryConfigSchema,
|
|
|
|
|
type TelemetryConfig,
|
2026-02-17 13:39:47 -06:00
|
|
|
type PaperclipConfig,
|
|
|
|
|
type LlmConfig,
|
2026-03-04 18:03:23 -06:00
|
|
|
type DatabaseBackupConfig,
|
2026-02-17 13:39:47 -06:00
|
|
|
type DatabaseConfig,
|
|
|
|
|
type LoggingConfig,
|
|
|
|
|
type ServerConfig,
|
2026-02-23 09:14:08 -06:00
|
|
|
type AuthConfig,
|
2026-02-20 10:31:56 -06:00
|
|
|
type StorageConfig,
|
|
|
|
|
type StorageLocalDiskConfig,
|
|
|
|
|
type StorageS3Config,
|
2026-02-19 15:43:43 -06:00
|
|
|
type SecretsConfig,
|
|
|
|
|
type SecretsLocalEncryptedConfig,
|
2026-02-17 13:39:47 -06:00
|
|
|
type ConfigMeta,
|
|
|
|
|
} from "./config-schema.js";
|