The dev-agent-in-worktree approach for source self-modification is abandoned in favor of a direct draft/activate flow with OS-level RO enforcement (planned, not yet implemented). Strip the whole subgraph: src/builder-agent/, pending-swaps DB module + migration 006, builder-agent MCP tools, and all host wiring (startup sweep, approval routing, deadman, worktree mount, freeze gate). Tool descriptions in self-mod.ts / agents.ts no longer cross-reference create_dev_agent. CLAUDE.md + v2-checklist updated to describe the new direction. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
68 lines
1.8 KiB
TypeScript
68 lines
1.8 KiB
TypeScript
export { initDb, initTestDb, getDb, closeDb } from './connection.js';
|
|
export { runMigrations } from './migrations/index.js';
|
|
export {
|
|
createAgentGroup,
|
|
getAgentGroup,
|
|
getAgentGroupByFolder,
|
|
getAllAgentGroups,
|
|
updateAgentGroup,
|
|
deleteAgentGroup,
|
|
} from './agent-groups.js';
|
|
export { createUser, upsertUser, getUser, getAllUsers, updateDisplayName, deleteUser } from './users.js';
|
|
export {
|
|
grantRole,
|
|
revokeRole,
|
|
getUserRoles,
|
|
isOwner,
|
|
isGlobalAdmin,
|
|
isAdminOfAgentGroup,
|
|
hasAdminPrivilege,
|
|
getOwners,
|
|
hasAnyOwner,
|
|
getGlobalAdmins,
|
|
getAdminsOfAgentGroup,
|
|
} from './user-roles.js';
|
|
export { addMember, removeMember, getMembers, isMember, hasMembershipRow } from './agent-group-members.js';
|
|
export { upsertUserDm, getUserDm, getUserDmsForUser, deleteUserDm } from './user-dms.js';
|
|
export {
|
|
createMessagingGroup,
|
|
getMessagingGroup,
|
|
getMessagingGroupByPlatform,
|
|
getAllMessagingGroups,
|
|
getMessagingGroupsByChannel,
|
|
updateMessagingGroup,
|
|
deleteMessagingGroup,
|
|
createMessagingGroupAgent,
|
|
getMessagingGroupAgents,
|
|
getMessagingGroupAgent,
|
|
getMessagingGroupAgentByPair,
|
|
updateMessagingGroupAgent,
|
|
deleteMessagingGroupAgent,
|
|
} from './messaging-groups.js';
|
|
export {
|
|
createSession,
|
|
getSession,
|
|
findSession,
|
|
findSessionByAgentGroup,
|
|
getSessionsByAgentGroup,
|
|
getActiveSessions,
|
|
getRunningSessions,
|
|
updateSession,
|
|
deleteSession,
|
|
createPendingQuestion,
|
|
getPendingQuestion,
|
|
deletePendingQuestion,
|
|
createPendingApproval,
|
|
getPendingApproval,
|
|
updatePendingApprovalStatus,
|
|
deletePendingApproval,
|
|
getPendingApprovalsByAction,
|
|
} from './sessions.js';
|
|
export {
|
|
createPendingCredential,
|
|
getPendingCredential,
|
|
updatePendingCredentialStatus,
|
|
updatePendingCredentialMessageId,
|
|
deletePendingCredential,
|
|
} from './credentials.js';
|