relaycode
Version:
A developer assistant that automates applying code changes from LLMs.
20 lines (19 loc) • 1.54 kB
TypeScript
export { createClipboardWatcher } from './core/clipboard.js';
export { createConfig, ensureStateDirExists, findConfig, findConfigPath, getProjectId, loadConfigOrExit } from './core/config.js';
export { commitState, deletePendingState, findLatestStateFile, findStateFileByIdentifier, hasBeenProcessed, readAllStateFiles, readStateFile, writePendingState } from './core/state.js';
export { applyOperations, createSnapshot, processPatch, restoreSnapshot } from './core/transaction.js';
export { initCommand } from './commands/init.js';
export { watchCommand } from './commands/watch.js';
export { logCommand } from './commands/log.js';
export { revertCommand } from './commands/revert.js';
export { applyCommand } from './commands/apply.js';
export { gitCommitCommand } from './commands/git-commit.js';
export * from 'relaycode-core';
export { executeShellCommand, getErrorCount } from './utils/shell.js';
export { getTypeScriptErrorCount } from './utils/typescript.js';
export { deleteFile, fileExists, readFileContent, renameFile, safeRename, writeFileContent } from './utils/fs.js';
export { getErrorMessage, isEnoentError, logger } from './utils/logger.js';
export { getConfirmation } from './utils/prompt.js';
export { formatTransactionDetails } from './utils/formatters.js';
export { createNotifier, notifyApprovalRequired, notifyFailure, notifyPatchDetected, notifyRollbackFailure, notifySuccess, requestApprovalWithNotification } from './utils/notifier.js';
export { CONFIG_FILE_NAMES, STATE_DIRECTORY_NAME } from './utils/constants.js';