interactive.tsからsummary/runSelector/runSessionReader/selectorUtilsを分離し、 run session参照をrouting層からinstructMode層に移動。instructBranchで新タスク 作成の代わりに既存タスクのrequeueを使用する方式に変更。worktree確認プロンプトを 廃止し常時有効化。
62 lines
1.4 KiB
TypeScript
62 lines
1.4 KiB
TypeScript
/**
|
|
* Task execution module
|
|
*/
|
|
|
|
// Types
|
|
export type {
|
|
TaskInfo,
|
|
TaskResult,
|
|
WorktreeOptions,
|
|
WorktreeResult,
|
|
BranchInfo,
|
|
BranchListItem,
|
|
SummarizeOptions,
|
|
TaskListItem,
|
|
} from './types.js';
|
|
|
|
// Classes
|
|
export { CloneManager } from './clone.js';
|
|
export { AutoCommitter } from './autoCommit.js';
|
|
export { TaskSummarizer } from './summarize.js';
|
|
export { BranchManager } from './branchList.js';
|
|
|
|
export { TaskRunner } from './runner.js';
|
|
|
|
export { showTaskList } from './display.js';
|
|
|
|
export {
|
|
TaskFileSchema,
|
|
type TaskFileData,
|
|
TaskExecutionConfigSchema,
|
|
TaskStatusSchema,
|
|
type TaskStatus,
|
|
TaskFailureSchema,
|
|
type TaskFailure,
|
|
TaskRecordSchema,
|
|
type TaskRecord,
|
|
TasksFileSchema,
|
|
type TasksFileData,
|
|
} from './schema.js';
|
|
export {
|
|
createSharedClone,
|
|
removeClone,
|
|
createTempCloneForBranch,
|
|
saveCloneMeta,
|
|
removeCloneMeta,
|
|
cleanupOrphanedClone,
|
|
} from './clone.js';
|
|
export {
|
|
detectDefaultBranch,
|
|
listTaktBranches,
|
|
parseTaktBranches,
|
|
getFilesChanged,
|
|
extractTaskSlug,
|
|
getOriginalInstruction,
|
|
buildListItems,
|
|
} from './branchList.js';
|
|
export { stageAndCommit, getCurrentBranch } from './git.js';
|
|
export { autoCommitAndPush, type AutoCommitResult } from './autoCommit.js';
|
|
export { summarizeTaskName } from './summarize.js';
|
|
export { TaskWatcher, type TaskWatcherOptions } from './watcher.js';
|
|
export { isStaleRunningTask } from './process.js';
|