ee72c45552
- Create modules/ directory with 6 focused modules:
- background-task.ts: task creation logic
- background-output.ts: output retrieval logic
- background-cancel.ts: cancellation logic
- formatters.ts: message formatting utilities
- message-processing.ts: message extraction utilities
- utils.ts: shared utility functions
- Reduce tools.ts from ~798 to ~30 lines (barrel pattern)
- Add new types to types.ts for module interfaces
- Update index.ts for clean re-exports
- Follow modular code architecture (200 LOC limit)
🤖 Generated with assistance of OhMyOpenCode
12 lines
374 B
TypeScript
12 lines
374 B
TypeScript
export type {
|
|
BackgroundCancelClient,
|
|
BackgroundOutputClient,
|
|
BackgroundOutputManager,
|
|
BackgroundOutputMessage,
|
|
BackgroundOutputMessagesResult,
|
|
} from "./clients"
|
|
|
|
export { createBackgroundTask } from "./create-background-task"
|
|
export { createBackgroundOutput } from "./create-background-output"
|
|
export { createBackgroundCancel } from "./create-background-cancel"
|