Skip to content

Commit 2993a3a

Browse files
committed
Update DirectiveStreamingParser.ts to import from parsers/index.ts
- Changed imports in DirectiveStreamingParser.ts to use the index.ts file in parsers/ for a cleaner import structure
1 parent 9e70691 commit 2993a3a

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

src/core/assistant-message/DirectiveStreamingParser.ts

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,4 @@
1-
import { Directive, ParsingState } from "./parsers/types"
2-
import { TextContentParser } from "./parsers/TextContentParser"
3-
import { ToolUseParser } from "./parsers/ToolUseParser"
4-
import { ParameterParser } from "./parsers/ParameterParser"
1+
import { Directive, ParsingState, TextContentParser, ToolUseParser, ParameterParser } from "./parsers"
52

63
export class DirectiveStreamingParser {
74
static parse(assistantMessage: string): Directive[] {
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
export { TextContentParser } from "./TextContentParser"
2+
export { ToolUseParser } from "./ToolUseParser"
3+
export { ParameterParser } from "./ParameterParser"
4+
export type { TextDirective, ToolDirective, Directive, ParsingState } from "./types"

0 commit comments

Comments
 (0)