From b709a01df381373474dd31d61b842e0410bcfc10 Mon Sep 17 00:00:00 2001 From: lanyuanxiaoyao Date: Thu, 11 Jun 2026 16:28:30 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=B7=BB=E5=8A=A0=20PromptSection=20?= =?UTF-8?q?=E7=B1=BB=E5=9E=8B=E5=AE=9A=E4=B9=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/core/prompt-sections.ts | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 src/core/prompt-sections.ts diff --git a/src/core/prompt-sections.ts b/src/core/prompt-sections.ts new file mode 100644 index 0000000..b300300 --- /dev/null +++ b/src/core/prompt-sections.ts @@ -0,0 +1,6 @@ +export type SectionKind = "head" | "context" | "prompt" | "guide" | "warn"; + +export interface PromptSection { + kind: SectionKind; + content: string; +}