perf: slim directive parse test imports · openclaw/openclaw@9f8b400
steipete
·
2026-04-24
·
via Recent Commits to openclaw:main
| Original file line number | Diff line number | Diff line change |
|---|
|
1 | 1 | import { describe, expect, it } from "vitest"; |
| 2 | +import { parseInlineDirectives } from "./reply/directive-handling.parse.js"; |
2 | 3 | import { |
3 | 4 | extractElevatedDirective, |
4 | | -extractExecDirective, |
5 | | -extractQueueDirective, |
6 | 5 | extractReasoningDirective, |
7 | | -extractReplyToTag, |
8 | 6 | extractTraceDirective, |
9 | 7 | extractThinkDirective, |
10 | 8 | extractVerboseDirective, |
11 | | -} from "./reply.js"; |
12 | | -import { parseInlineDirectives } from "./reply/directive-handling.parse.js"; |
| 9 | +} from "./reply/directives.js"; |
13 | 10 | import { extractFastDirective, extractStatusDirective } from "./reply/directives.js"; |
| 11 | +import { extractExecDirective } from "./reply/exec/directive.js"; |
| 12 | +import { extractQueueDirective } from "./reply/queue/directive.js"; |
| 13 | +import { extractReplyToTag } from "./reply/reply-tags.js"; |
14 | 14 | |
15 | 15 | describe("directive parsing", () => { |
16 | 16 | it("ignores verbose directive inside URL", () => { |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。