Roo-Code/packages/types
Roo Code 93ffcee40d feat: add getTaskAsMarkdown API method for programmatic markdown export
- Add formatTaskAsMarkdown utility to convert ClineMessage arrays to markdown
- Implement getTaskAsMarkdown method in API class to retrieve task content as markdown
- Support both current active task and historical tasks by ID
- Add comprehensive tests for formatting and API functionality
- Update RooCodeAPI interface to include new method
- Fix ESLint warnings by wrapping case blocks with curly braces

This addresses issue #9858 by providing a programmatic way to access the "Copy as markdown" functionality that was previously only available through the UI.
2025-12-05 22:07:41 +00:00
..
npm chore: bump version to v1.89.0 (#9718) 2025-12-01 14:25:48 -08:00
scripts Fix publish-npm script (#7093) 2025-08-14 03:17:56 -07:00
src feat: add getTaskAsMarkdown API method for programmatic markdown export 2025-12-05 22:07:41 +00:00
.gitignore Task metadata (#7092) 2025-08-14 03:14:17 -07:00
eslint.config.mjs Task metadata (#7092) 2025-08-14 03:14:17 -07:00
package.json Task metadata (#7092) 2025-08-14 03:14:17 -07:00
tsconfig.json Task metadata (#7092) 2025-08-14 03:14:17 -07:00
tsup.config.ts Bump @roo-code/types to v1.42.0 (#6610) 2025-08-02 13:27:59 -07:00
vitest.config.ts Convert jest tests to vitest and disable default watch mode for vitest (#4568) 2025-06-11 14:48:01 -07:00