mirror of
https://github.com/RooVetGit/Roo-Code.git
synced 2026-09-05 08:10:14 +00:00
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
This commit is contained in:
parent
9e70691ef7
commit
2993a3a75e
2 changed files with 5 additions and 4 deletions
|
|
@ -1,7 +1,4 @@
|
|||
import { Directive, ParsingState } from "./parsers/types"
|
||||
import { TextContentParser } from "./parsers/TextContentParser"
|
||||
import { ToolUseParser } from "./parsers/ToolUseParser"
|
||||
import { ParameterParser } from "./parsers/ParameterParser"
|
||||
import { Directive, ParsingState, TextContentParser, ToolUseParser, ParameterParser } from "./parsers"
|
||||
|
||||
export class DirectiveStreamingParser {
|
||||
static parse(assistantMessage: string): Directive[] {
|
||||
|
|
|
|||
4
src/core/assistant-message/parsers/index.ts
Normal file
4
src/core/assistant-message/parsers/index.ts
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
export { TextContentParser } from "./TextContentParser"
|
||||
export { ToolUseParser } from "./ToolUseParser"
|
||||
export { ParameterParser } from "./ParameterParser"
|
||||
export type { TextDirective, ToolDirective, Directive, ParsingState } from "./types"
|
||||
Loading…
Add table
Reference in a new issue