Promote AgentCompany-New to the repository root and retire the old app
The legacy application - its src, tests, landing site, promo assets, docs, release tooling, CI workflows, and root configs - leaves the tree; it stays reachable in history. Everything under AgentCompany-New moves up unchanged: same package name, so the production userData/database path is untouched, and e2e/build scripts already resolved paths relative to the project. The developer cred.txt stays gitignored at its new location. Full verify:ci passes from the new root.
This commit is contained in:
1 parent
2350f744e3
commit
07d0b4587d
1904 files changed
+1133
-282075
No files matched your search
@@ -0,0 +1,148 @@
|
||||
import type { ApprovalState, IdentitySource, PrincipalType, RiskLevel, RoleKey, TaskPriority, TaskStatus } from "../domain";
|
||||
|
||||
export interface SetActiveOrganizationInput {
|
||||
orgId: string;
|
||||
}
|
||||
|
||||
export interface DeleteOrganizationInput {
|
||||
orgId: string;
|
||||
}
|
||||
|
||||
export interface CreateOrganizationInput {
|
||||
organizationName: string;
|
||||
description?: string;
|
||||
mission: string;
|
||||
goal: string;
|
||||
employeeName: string;
|
||||
executionMode?: "ai_ceo" | "ai_cofounder";
|
||||
autoApproveHires?: boolean;
|
||||
reviewDeliverables?: boolean;
|
||||
}
|
||||
|
||||
export interface UpdateAgentInput {
|
||||
orgId: string;
|
||||
agentId: string;
|
||||
role: string;
|
||||
title: string;
|
||||
roleLevel: string;
|
||||
department: string;
|
||||
budgetCents: number;
|
||||
modelProviderId: string | null;
|
||||
modelId: string | null;
|
||||
}
|
||||
|
||||
export interface CreateAgentInput {
|
||||
orgId: string;
|
||||
name: string;
|
||||
role: string;
|
||||
department: string;
|
||||
modelProviderId: string | null;
|
||||
modelId: string | null;
|
||||
budgetCents: number;
|
||||
managerAgentId: string | null;
|
||||
title?: string;
|
||||
roleLevel?: string;
|
||||
modelStrategy?: string;
|
||||
workspaceId?: string | null;
|
||||
heartbeatEnabled?: boolean;
|
||||
heartbeatIntervalSec?: number;
|
||||
}
|
||||
|
||||
export interface CreateTaskInput {
|
||||
orgId: string;
|
||||
title: string;
|
||||
description: string;
|
||||
status: TaskStatus;
|
||||
assigneeAgentId: string | null;
|
||||
risk: RiskLevel;
|
||||
projectId: string | null;
|
||||
goalId: string | null;
|
||||
workspaceId: string | null;
|
||||
priority: TaskPriority;
|
||||
requiresFilesystem: boolean;
|
||||
}
|
||||
|
||||
export interface UpdateTaskStatusInput {
|
||||
orgId: string;
|
||||
taskId: string;
|
||||
status: TaskStatus;
|
||||
}
|
||||
|
||||
export interface RunTaskInput {
|
||||
orgId: string;
|
||||
taskId: string;
|
||||
}
|
||||
|
||||
export interface UpdateTaskInput {
|
||||
orgId: string;
|
||||
taskId: string;
|
||||
title: string;
|
||||
description: string;
|
||||
assigneeAgentId: string | null;
|
||||
risk: RiskLevel;
|
||||
priority: TaskPriority;
|
||||
parentTaskId: string | null;
|
||||
}
|
||||
|
||||
export interface DeleteTaskInput {
|
||||
orgId: string;
|
||||
taskId: string;
|
||||
}
|
||||
|
||||
export interface CreateGoalInput {
|
||||
orgId: string;
|
||||
title: string;
|
||||
description: string;
|
||||
ownerAgentId: string | null;
|
||||
}
|
||||
|
||||
export interface CreateProjectInput {
|
||||
orgId: string;
|
||||
goalId: string | null;
|
||||
name: string;
|
||||
description: string;
|
||||
leadAgentId: string | null;
|
||||
}
|
||||
|
||||
export interface CreateWorkspaceInput {
|
||||
orgId: string;
|
||||
name: string;
|
||||
localPath: string;
|
||||
projectId: string | null;
|
||||
}
|
||||
|
||||
export interface CreateApprovalInput {
|
||||
orgId: string;
|
||||
kind: string;
|
||||
title: string;
|
||||
details: string;
|
||||
risk: RiskLevel;
|
||||
requestedByType: "employee" | "agent" | "system";
|
||||
requestedById: string | null;
|
||||
}
|
||||
|
||||
export interface DecideApprovalInput {
|
||||
orgId: string;
|
||||
approvalId: string;
|
||||
state: Extract<ApprovalState, "approved" | "declined">;
|
||||
decidedByEmployeeId: string;
|
||||
notes?: string;
|
||||
}
|
||||
|
||||
export interface SyncEmployeeIdentityInput {
|
||||
orgId: string;
|
||||
employeeId: string;
|
||||
source: IdentitySource;
|
||||
externalSubject: string;
|
||||
email: string | null;
|
||||
}
|
||||
|
||||
export interface GrantRoleInput {
|
||||
orgId: string;
|
||||
principalType: PrincipalType;
|
||||
principalId: string;
|
||||
roleKey: RoleKey;
|
||||
scopeType: "organization" | "workspace" | "project" | "department";
|
||||
scopeId: string;
|
||||
grantedByEmployeeId: string;
|
||||
}
|
||||
Reference in new issue
Block a user