bb7d1b2c71
* public-gh/master: Fix budget incident resolution edge cases Fix agent budget tab routing Fix budget auth and monthly spend rollups Harden budget enforcement and migration startup Add budget tabs and sidebar budget indicators feat(costs): add billing, quota, and budget control plane refactor(quota): move provider quota logic into adapter layer, add unit tests fix(costs): replace non-null map assertions with nullish coalescing, clarify weekData guard fix(costs): guard byProject against duplicate null keys, memoize ProviderQuotaCard row aggregations fix(costs): align byAgent run filter to startedAt, tighten providerTabItems memo deps, stabilize byProject row keys feat(costs): add agent model breakdown, harden date validation, sync CostByProject type, fix quota threshold and tab-gated queries fix(costs): harden company auth check, fix frozen date memo, hide empty quota rows fix(costs): guard routes, fix DST ranges, sync provider state, wire live updates feat(costs): consolidate /usage into /costs with Spend + Providers tabs feat(usage): add subscription quota windows per provider on /usage page address greptile review: per-provider deficit notch, startedAt filter, weekRange refresh, deduplicate providerDisplayName feat(ui): add resource and usage dashboard (/usage route) # Conflicts: # packages/db/src/migration-runtime.ts # packages/db/src/migrations/meta/0031_snapshot.json # packages/db/src/migrations/meta/_journal.json
209 lines
5.0 KiB
TypeScript
209 lines
5.0 KiB
TypeScript
export {
|
|
upsertBudgetPolicySchema,
|
|
resolveBudgetIncidentSchema,
|
|
type UpsertBudgetPolicy,
|
|
type ResolveBudgetIncident,
|
|
} from "./budget.js";
|
|
|
|
export {
|
|
createCompanySchema,
|
|
updateCompanySchema,
|
|
type CreateCompany,
|
|
type UpdateCompany,
|
|
} from "./company.js";
|
|
export {
|
|
portabilityIncludeSchema,
|
|
portabilitySecretRequirementSchema,
|
|
portabilityCompanyManifestEntrySchema,
|
|
portabilityAgentManifestEntrySchema,
|
|
portabilityManifestSchema,
|
|
portabilitySourceSchema,
|
|
portabilityTargetSchema,
|
|
portabilityAgentSelectionSchema,
|
|
portabilityCollisionStrategySchema,
|
|
companyPortabilityExportSchema,
|
|
companyPortabilityPreviewSchema,
|
|
companyPortabilityImportSchema,
|
|
type CompanyPortabilityExport,
|
|
type CompanyPortabilityPreview,
|
|
type CompanyPortabilityImport,
|
|
} from "./company-portability.js";
|
|
|
|
export {
|
|
createAgentSchema,
|
|
createAgentHireSchema,
|
|
updateAgentSchema,
|
|
updateAgentInstructionsPathSchema,
|
|
createAgentKeySchema,
|
|
wakeAgentSchema,
|
|
resetAgentSessionSchema,
|
|
testAdapterEnvironmentSchema,
|
|
agentPermissionsSchema,
|
|
updateAgentPermissionsSchema,
|
|
type CreateAgent,
|
|
type CreateAgentHire,
|
|
type UpdateAgent,
|
|
type UpdateAgentInstructionsPath,
|
|
type CreateAgentKey,
|
|
type WakeAgent,
|
|
type ResetAgentSession,
|
|
type TestAdapterEnvironment,
|
|
type UpdateAgentPermissions,
|
|
} from "./agent.js";
|
|
|
|
export {
|
|
createProjectSchema,
|
|
updateProjectSchema,
|
|
createProjectWorkspaceSchema,
|
|
updateProjectWorkspaceSchema,
|
|
projectExecutionWorkspacePolicySchema,
|
|
type CreateProject,
|
|
type UpdateProject,
|
|
type CreateProjectWorkspace,
|
|
type UpdateProjectWorkspace,
|
|
type ProjectExecutionWorkspacePolicy,
|
|
} from "./project.js";
|
|
|
|
export {
|
|
createIssueSchema,
|
|
createIssueLabelSchema,
|
|
updateIssueSchema,
|
|
issueExecutionWorkspaceSettingsSchema,
|
|
checkoutIssueSchema,
|
|
addIssueCommentSchema,
|
|
linkIssueApprovalSchema,
|
|
createIssueAttachmentMetadataSchema,
|
|
issueDocumentFormatSchema,
|
|
issueDocumentKeySchema,
|
|
upsertIssueDocumentSchema,
|
|
type CreateIssue,
|
|
type CreateIssueLabel,
|
|
type UpdateIssue,
|
|
type IssueExecutionWorkspaceSettings,
|
|
type CheckoutIssue,
|
|
type AddIssueComment,
|
|
type LinkIssueApproval,
|
|
type CreateIssueAttachmentMetadata,
|
|
type IssueDocumentFormat,
|
|
type UpsertIssueDocument,
|
|
} from "./issue.js";
|
|
|
|
export {
|
|
createIssueWorkProductSchema,
|
|
updateIssueWorkProductSchema,
|
|
issueWorkProductTypeSchema,
|
|
issueWorkProductStatusSchema,
|
|
issueWorkProductReviewStateSchema,
|
|
type CreateIssueWorkProduct,
|
|
type UpdateIssueWorkProduct,
|
|
} from "./work-product.js";
|
|
|
|
export {
|
|
updateExecutionWorkspaceSchema,
|
|
executionWorkspaceStatusSchema,
|
|
type UpdateExecutionWorkspace,
|
|
} from "./execution-workspace.js";
|
|
|
|
export {
|
|
createGoalSchema,
|
|
updateGoalSchema,
|
|
type CreateGoal,
|
|
type UpdateGoal,
|
|
} from "./goal.js";
|
|
|
|
export {
|
|
createApprovalSchema,
|
|
resolveApprovalSchema,
|
|
requestApprovalRevisionSchema,
|
|
resubmitApprovalSchema,
|
|
addApprovalCommentSchema,
|
|
type CreateApproval,
|
|
type ResolveApproval,
|
|
type RequestApprovalRevision,
|
|
type ResubmitApproval,
|
|
type AddApprovalComment,
|
|
} from "./approval.js";
|
|
|
|
export {
|
|
envBindingPlainSchema,
|
|
envBindingSecretRefSchema,
|
|
envBindingSchema,
|
|
envConfigSchema,
|
|
createSecretSchema,
|
|
rotateSecretSchema,
|
|
updateSecretSchema,
|
|
type CreateSecret,
|
|
type RotateSecret,
|
|
type UpdateSecret,
|
|
} from "./secret.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 {
|
|
createCompanyInviteSchema,
|
|
createOpenClawInvitePromptSchema,
|
|
acceptInviteSchema,
|
|
listJoinRequestsQuerySchema,
|
|
claimJoinRequestApiKeySchema,
|
|
updateMemberPermissionsSchema,
|
|
updateUserCompanyAccessSchema,
|
|
type CreateCompanyInvite,
|
|
type CreateOpenClawInvitePrompt,
|
|
type AcceptInvite,
|
|
type ListJoinRequestsQuery,
|
|
type ClaimJoinRequestApiKey,
|
|
type UpdateMemberPermissions,
|
|
type UpdateUserCompanyAccess,
|
|
} from "./access.js";
|
|
|
|
export {
|
|
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,
|
|
} from "./plugin.js";
|