@devries-cameron20 / composio Mirror · read-only
Fork 0

Composio powers 1000+ toolkits, tool search, context management, authentication, and a sandboxed workbench to help you build AI agents that turn intent into action.

Mirrored from https://github.com/Camo67/composio.git

Synced Nov 21, 03:37 UTC

next
ts 18 lines 468 Bytes
Raw
1 import type { BasicBuilder } from './BasicBuilder';
2 import { Writer } from './Writer';
3
4 export class DocSectionComment implements BasicBuilder {
5 constructor(private startingText: string) {}
6
7 write(writer: Writer): void {
8 const lines = this.startingText.split('\n');
9
10 for (const line of lines) {
11 writer.writeLine(line.trimStart());
12 }
13 }
14 }
15
16 export function docSectionComment(startingText: string) {
17 return new DocSectionComment(startingText);
18 }