@yuhan1124/draw-prompt 0.4.2 → 0.4.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/SKILL.md +1 -1
- package/package.json +1 -1
- package/scripts/prompt_cli.py +4 -3
package/SKILL.md
CHANGED
package/package.json
CHANGED
package/scripts/prompt_cli.py
CHANGED
|
@@ -135,7 +135,7 @@ def ensure_home() -> None:
|
|
|
135
135
|
|
|
136
136
|
|
|
137
137
|
SCHEMA_VERSION = 1
|
|
138
|
-
COMPILER_VERSION = "0.4.
|
|
138
|
+
COMPILER_VERSION = "0.4.3"
|
|
139
139
|
|
|
140
140
|
|
|
141
141
|
PACKAGED_SKILL_FILES = [
|
|
@@ -2488,8 +2488,9 @@ def extract_required_texts(request: str, explicit_texts: list[str]) -> list[str]
|
|
|
2488
2488
|
for match in re.finditer(pat, request):
|
|
2489
2489
|
add_candidate(match.start(1), match.group(1))
|
|
2490
2490
|
labeled_single_patterns = [
|
|
2491
|
-
r"(?:主标题|标题|副标题|主题|时间|地点)\s*(?:写上|写|显示|为|是|叫|[::])\s*([
|
|
2492
|
-
r"(
|
|
2491
|
+
r"(?:主标题|标题|副标题|主题|时间|地点)\s*(?:写上|写|显示|为|是|叫|[::])\s*([^,,、。;;\n]{2,40})",
|
|
2492
|
+
r"(?:主标题|标题|副标题|主题|时间|地点)\s+([^,,、。;;\n]{2,40})",
|
|
2493
|
+
r"(?:时间|地点)\s+([^,,、。;;\n]{2,40})",
|
|
2493
2494
|
r"(?:核心卡片|主要按钮|主按钮|按钮)\s*(?:写上|写|显示|为|是|叫|[::])\s*([^,,。;;\n]{2,30})",
|
|
2494
2495
|
r"(?:需要)?包含\s*([A-Za-z][A-Za-z0-9_-]{2,30})\s*字样",
|
|
2495
2496
|
r"(?:名为|叫做|名称是|名字叫)\s*([A-Za-z][A-Za-z0-9_-]{2,30})\b",
|