@buildaharness/aielia 0.3.0
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/README.md +832 -0
- package/dist/action-approval-service.d.ts +52 -0
- package/dist/action-snapshot.d.ts +173 -0
- package/dist/action-tools.d.ts +38 -0
- package/dist/agent-loop.d.ts +372 -0
- package/dist/answer-claim.d.ts +51 -0
- package/dist/ask-clarification-service.d.ts +70 -0
- package/dist/ask-mode-flag.d.ts +25 -0
- package/dist/ask-response-format.d.ts +8 -0
- package/dist/assistant-session.d.ts +267 -0
- package/dist/assistant-source.d.ts +14 -0
- package/dist/assistant-types.d.ts +158 -0
- package/dist/assistant.d.ts +419 -0
- package/dist/batch-list-detector.d.ts +15 -0
- package/dist/batch-research-fixtures.d.ts +50 -0
- package/dist/benchmark-injected-failure.d.ts +27 -0
- package/dist/claude-cli-llm-client.d.ts +139 -0
- package/dist/claude-cli-prompt.d.ts +86 -0
- package/dist/cli-config.d.ts +27 -0
- package/dist/cli-session-D0uLdT2A.js +7863 -0
- package/dist/cli-session-D0uLdT2A.js.map +1 -0
- package/dist/cli-session.d.ts +63 -0
- package/dist/cli.d.ts +65 -0
- package/dist/cli.js +1693 -0
- package/dist/cli.js.map +1 -0
- package/dist/config.d.ts +175 -0
- package/dist/contradiction-checker.d.ts +27 -0
- package/dist/debug-log.d.ts +16 -0
- package/dist/decomposition-classifier.d.ts +38 -0
- package/dist/doctor-checks.d.ts +8 -0
- package/dist/email-smtp.d.ts +19 -0
- package/dist/email.d.ts +60 -0
- package/dist/error-classifier.d.ts +13 -0
- package/dist/execution-mode.d.ts +85 -0
- package/dist/fact-extraction.d.ts +143 -0
- package/dist/failure-mode-matcher.d.ts +32 -0
- package/dist/file-tools-mcp-server.mjs +1027 -0
- package/dist/file-tools.d.ts +179 -0
- package/dist/first-run.d.ts +22 -0
- package/dist/harness-bridge.d.ts +103 -0
- package/dist/index.d.ts +58 -0
- package/dist/index.js +212 -0
- package/dist/index.js.map +1 -0
- package/dist/ink-test-render.d.ts +24 -0
- package/dist/lexical/patterns/batch-list-markers.json +8 -0
- package/dist/lexical/patterns/batch-list-markers.json.d.ts +11 -0
- package/dist/lexical/patterns/coding-fact-markers.json +8 -0
- package/dist/lexical/patterns/coding-fact-markers.json.d.ts +11 -0
- package/dist/lexical/patterns/enumeration-markers.json +20 -0
- package/dist/lexical/patterns/enumeration-markers.json.d.ts +23 -0
- package/dist/lexical/patterns/fact-markers.json +16 -0
- package/dist/lexical/patterns/fact-markers.json.d.ts +19 -0
- package/dist/lexical/patterns/injection-patterns.json +20 -0
- package/dist/lexical/patterns/injection-patterns.json.d.ts +23 -0
- package/dist/lexical/patterns/plan-mode-markers.json +10 -0
- package/dist/lexical/patterns/plan-mode-markers.json.d.ts +13 -0
- package/dist/lexical/patterns/risk-patterns.json +122 -0
- package/dist/lexical/patterns/risk-patterns.json.d.ts +125 -0
- package/dist/lexical/patterns/task-cancel-markers.json +22 -0
- package/dist/lexical/patterns/task-cancel-markers.json.d.ts +25 -0
- package/dist/lexical/patterns/template-keywords.json +20 -0
- package/dist/lexical/patterns/template-keywords.json.d.ts +23 -0
- package/dist/lexical/patterns/tool-yield-markers.json +22 -0
- package/dist/lexical/patterns/tool-yield-markers.json.d.ts +25 -0
- package/dist/lexical/patterns.d.ts +64 -0
- package/dist/memory-service.d.ts +219 -0
- package/dist/model-pricing.d.ts +19 -0
- package/dist/network-containment.d.ts +21 -0
- package/dist/node-config-store.d.ts +29 -0
- package/dist/node-display-names.d.ts +26 -0
- package/dist/node-fs-backend.d.ts +8 -0
- package/dist/non-interactive-mode.d.ts +22 -0
- package/dist/one-loop-flag.d.ts +38 -0
- package/dist/plan-approval-service.d.ts +62 -0
- package/dist/plan-builder.d.ts +32 -0
- package/dist/plan-drafting-service.d.ts +87 -0
- package/dist/plan-drafting.d.ts +58 -0
- package/dist/plan-mode-flag.d.ts +34 -0
- package/dist/plan-service.d.ts +61 -0
- package/dist/plan-sketch-service.d.ts +24 -0
- package/dist/plan-sketch.d.ts +20 -0
- package/dist/plan-store.d.ts +232 -0
- package/dist/plan-templates/data/content_creation.json.d.ts +75 -0
- package/dist/plan-templates/data/decision_making.json.d.ts +66 -0
- package/dist/plan-templates/data/problem_solving.json.d.ts +75 -0
- package/dist/plan-templates/data/process_improvement.json.d.ts +57 -0
- package/dist/plan-templates/data/project_planning.json.d.ts +66 -0
- package/dist/plan-templates/data/research_analysis.json.d.ts +66 -0
- package/dist/plan-templates/data/trip_planning.json.d.ts +66 -0
- package/dist/plan-templates/index.d.ts +33 -0
- package/dist/plan-verification.d.ts +31 -0
- package/dist/reminder-tools.d.ts +13 -0
- package/dist/response-service.d.ts +73 -0
- package/dist/review-checker.d.ts +22 -0
- package/dist/risk-classifier.d.ts +7 -0
- package/dist/scripted-llm-client.d.ts +37 -0
- package/dist/semantic-criterion-coverage.d.ts +30 -0
- package/dist/shell-executor.d.ts +14 -0
- package/dist/shell-tools.d.ts +84 -0
- package/dist/spend-cap.d.ts +41 -0
- package/dist/spike.d.ts +1 -0
- package/dist/spike.js +18 -0
- package/dist/spike.js.map +1 -0
- package/dist/supervisor-decider.d.ts +3 -0
- package/dist/system-prompt.d.ts +8 -0
- package/dist/task-mapping.d.ts +42 -0
- package/dist/tool-control-plane.d.ts +67 -0
- package/dist/tool-policy.d.ts +45 -0
- package/dist/tool-step.d.ts +23 -0
- package/dist/tool-yield-classifier.d.ts +7 -0
- package/dist/trace-events.d.ts +126 -0
- package/dist/transcript-compaction.d.ts +13 -0
- package/dist/trust-tagging.d.ts +38 -0
- package/dist/tui-app-DxLPSGh2.js +481 -0
- package/dist/tui-app-DxLPSGh2.js.map +1 -0
- package/dist/tui-app.d.ts +125 -0
- package/dist/tui-input.d.ts +51 -0
- package/dist/tui-mode-flag.d.ts +36 -0
- package/dist/tui-output-capture.d.ts +30 -0
- package/dist/tui-spike.d.ts +1 -0
- package/dist/turn-intent-classifier.d.ts +96 -0
- package/dist/turn-interpreter.d.ts +71 -0
- package/dist/turn-policy.d.ts +45 -0
- package/dist/web-fetch-core.d.ts +65 -0
- package/dist/web-search-provider.d.ts +12 -0
- package/dist/web-tools.d.ts +26 -0
- package/package.json +69 -0
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
{
|
|
2
|
+
"en": {
|
|
3
|
+
"codingFactMarkers": "\\b(test|tests|builds?|deploy(?:ment)?s?|releases?|compiles?|file|files|configs?|servers?|services?|functions?|modules?|dependency|dependencies|errors?|exceptions?|endpoints?|apis?|databases?|schemas?|branch(?:es)?|commits?|pipelines?|ci\\/cd|ci|environments?|variables?|packages?|libraries|library|repos?|repositor(?:y|ies)|scripts?|commands?|logs?|status(?:es)?|bugs?|pass(?:es|ed|ing)?(?!\\s+away)|fail(ed|ing)?|available|unavailable|enabled|disabled|running|stopped|online|offline|exists?|missing|present|absent)\\b"
|
|
4
|
+
},
|
|
5
|
+
"zh": {
|
|
6
|
+
"codingFactMarkers": "(测试|构建|部署|编译|文件|配置|服务器|服务|函数|模块|依赖|错误|异常|接口|数据库|模式|分支|提交|流水线|环境|变量|软件包|代码库|代码仓库|脚本|命令|日志|状态|缺陷|通过|失败|可用|不可用|启用|禁用|运行中|已停止|在线|离线|存在|缺失|缺少)"
|
|
7
|
+
}
|
|
8
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
"en": {
|
|
3
|
+
"codingFactMarkers": "\\b(test|tests|builds?|deploy(?:ment)?s?|releases?|compiles?|file|files|configs?|servers?|services?|functions?|modules?|dependency|dependencies|errors?|exceptions?|endpoints?|apis?|databases?|schemas?|branch(?:es)?|commits?|pipelines?|ci\\/cd|ci|environments?|variables?|packages?|libraries|library|repos?|repositor(?:y|ies)|scripts?|commands?|logs?|status(?:es)?|bugs?|pass(?:es|ed|ing)?(?!\\s+away)|fail(ed|ing)?|available|unavailable|enabled|disabled|running|stopped|online|offline|exists?|missing|present|absent)\\b"
|
|
4
|
+
},
|
|
5
|
+
"zh": {
|
|
6
|
+
"codingFactMarkers": "(测试|构建|部署|编译|文件|配置|服务器|服务|函数|模块|依赖|错误|异常|接口|数据库|模式|分支|提交|流水线|环境|变量|软件包|代码库|代码仓库|脚本|命令|日志|状态|缺陷|通过|失败|可用|不可用|启用|禁用|运行中|已停止|在线|离线|存在|缺失|缺少)"
|
|
7
|
+
}
|
|
8
|
+
}
|
|
9
|
+
;
|
|
10
|
+
|
|
11
|
+
export default _default;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
{
|
|
2
|
+
"en": {
|
|
3
|
+
"sequencingMarkers": "\\b(then|after that|and then|next,|step \\d|first[,:]|finally,)\\b|^first\\b(?!\\s*[,:])(?=.*\\band\\b)",
|
|
4
|
+
"oneCommaListMarker": ",[^,]*\\b(?:and|or)\\s+(?!(?:i|we|you|he|she|it|they|there|my|his|her|their|our|your|the|this|that|an?|no|any|some|every|each|someone|somebody|anybody|anyone|everybody|everyone|nobody|something|anything|everything|nothing)\\b)(\\S+)",
|
|
5
|
+
"twoCommaListMarker": "(?:,[^,]*){2,}\\b(?:and|or)\\s+(?!(?:i|we|you|he|she|it|they|there|my|his|her|their|our|your|the|this|that|an?|no|any|some|every|each|someone|somebody|anybody|anyone|everybody|everyone|nobody|something|anything|everything|nothing)\\b)",
|
|
6
|
+
"semicolonListMarker": ";.*;|;\\s*(?:also|additionally|plus)\\b",
|
|
7
|
+
"numberedListItem": "\\b\\d{1,2}[.)]\\s+\\S",
|
|
8
|
+
"factThenSingleReminder": ",\\s*(?:and|or)\\s+remind me\\b",
|
|
9
|
+
"remindWord": "\\bremind\\b"
|
|
10
|
+
},
|
|
11
|
+
"zh": {
|
|
12
|
+
"sequencingMarkers": "(然后|接着|下一步|首先|其次|最后|第\\d{1,2}步)",
|
|
13
|
+
"oneCommaListMarker": "、([^、]+)",
|
|
14
|
+
"twoCommaListMarker": "(?:、[^、]*){2,}",
|
|
15
|
+
"semicolonListMarker": "[;\\uFF1B].*[;\\uFF1B]|[;\\uFF1B]\\s*(?:而且|另外|此外|还|也)",
|
|
16
|
+
"numberedListItem": "\\d{1,2}[.、)]\\s*\\S",
|
|
17
|
+
"factThenSingleReminder": "[,\\uFF0C]\\s*(?:还要|记得|并)?提醒我",
|
|
18
|
+
"remindWord": "提醒"
|
|
19
|
+
}
|
|
20
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
"en": {
|
|
3
|
+
"sequencingMarkers": "\\b(then|after that|and then|next,|step \\d|first[,:]|finally,)\\b|^first\\b(?!\\s*[,:])(?=.*\\band\\b)",
|
|
4
|
+
"oneCommaListMarker": ",[^,]*\\b(?:and|or)\\s+(?!(?:i|we|you|he|she|it|they|there|my|his|her|their|our|your|the|this|that|an?|no|any|some|every|each|someone|somebody|anybody|anyone|everybody|everyone|nobody|something|anything|everything|nothing)\\b)(\\S+)",
|
|
5
|
+
"twoCommaListMarker": "(?:,[^,]*){2,}\\b(?:and|or)\\s+(?!(?:i|we|you|he|she|it|they|there|my|his|her|their|our|your|the|this|that|an?|no|any|some|every|each|someone|somebody|anybody|anyone|everybody|everyone|nobody|something|anything|everything|nothing)\\b)",
|
|
6
|
+
"semicolonListMarker": ";.*;|;\\s*(?:also|additionally|plus)\\b",
|
|
7
|
+
"numberedListItem": "\\b\\d{1,2}[.)]\\s+\\S",
|
|
8
|
+
"factThenSingleReminder": ",\\s*(?:and|or)\\s+remind me\\b",
|
|
9
|
+
"remindWord": "\\bremind\\b"
|
|
10
|
+
},
|
|
11
|
+
"zh": {
|
|
12
|
+
"sequencingMarkers": "(然后|接着|下一步|首先|其次|最后|第\\d{1,2}步)",
|
|
13
|
+
"oneCommaListMarker": "、([^、]+)",
|
|
14
|
+
"twoCommaListMarker": "(?:、[^、]*){2,}",
|
|
15
|
+
"semicolonListMarker": "[;\\uFF1B].*[;\\uFF1B]|[;\\uFF1B]\\s*(?:而且|另外|此外|还|也)",
|
|
16
|
+
"numberedListItem": "\\d{1,2}[.、)]\\s*\\S",
|
|
17
|
+
"factThenSingleReminder": "[,\\uFF0C]\\s*(?:还要|记得|并)?提醒我",
|
|
18
|
+
"remindWord": "提醒"
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
;
|
|
22
|
+
|
|
23
|
+
export default _default;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
{
|
|
2
|
+
"en": {
|
|
3
|
+
"factMarkers": "\\b(my(?:\\s+\\w+(?:'s)?){0,3}\\s+name is|i(?:\\s+\\w+){0,4}\\s+live(?:\\s+\\w+){0,2}\\s+in|i(?:\\s+\\w+){0,4}\\s+work(?:\\s+\\w+){0,4}\\s+(at|as|for)|i am(?:\\s+(?!\\w*ing\\b)\\w+){0,4}\\s+an?\\b|i'm(?:\\s+(?!\\w*ing\\b)\\w+){0,4}\\s+an?\\b|i prefer|remember that|note that|for future reference|call me|i go by|i have (?:a|an|\\d+)(?:\\s+\\w+){0,4}\\s+named)\\b",
|
|
4
|
+
"healthOrDietaryMarkers": "\\b(i'?m|i am)\\b(?:\\s+\\w+){0,4}\\s+(allergic to|diabetic|vegetarian|vegan|lactose intolerant|gluten[\\s-]free|celiac)\\b|\\bi('?ve| have)\\b(?:\\s+\\w+){0,4}\\s+(an? .{0,20})?allerg\\w*\\b|\\b(i don'?t eat|i can'?t eat|i cannot eat)\\b",
|
|
5
|
+
"durableNameOrPreferenceMarkers": "\\b(my(?:\\s+\\w+){0,3}\\s+name is|call me|i prefer|i go by)\\b",
|
|
6
|
+
"nonClaimMarkers": "\\?\\s*$|^(what|when|where|why|who|which|how)\\b|\\b(please|can you|could you|would you|will you|help me)\\b|(?<!\\b(?:i|we|my|his|her|their|our|your|the|this|that|an?|no|any|some|every|each|several|few|many|most|all)\\b(?:\\s+\\w+){0,4}\\s)\\b(do|delete|remove|run|execute|install|deploy|restart|stop|start|create|write|update|set up|change|fix|add|revert|undo)\\b",
|
|
7
|
+
"clauseBoundary": "[.!?;]+|,\\s*(?:so|but|yet|and|because|although|while|whereas)\\b"
|
|
8
|
+
},
|
|
9
|
+
"zh": {
|
|
10
|
+
"factMarkers": "我叫(?!他|她|它|你|您|你们|他们|她们|大家)|我的名字是|我.{0,4}住.{0,2}在|我.{0,4}在.{0,10}工作|我.{0,4}就职于|我.{0,4}(?:更)?喜欢|记住|请注意|注意一下|以后.{0,4}(?:记得|注意|参考)|^叫我|你可以叫我|请叫我|就叫我|大家都叫我|其实,?叫我|我.{0,4}是一(?:个|名)|我(?:有|养(?:了|着)?).{0,8}(?:只|条|个|头).{0,10}叫",
|
|
11
|
+
"healthOrDietaryMarkers": "我.{0,15}过敏|我(?:是|有)?.{0,4}糖尿病|我(?:是)?.{0,4}素食者|我吃素|我(?:是)?.{0,4}纯素(?:主义者)?|我不能吃|我不吃|我.{0,10}乳糖不耐受|我.{0,10}无麸质|我(?:是|有)?.{0,4}麸质过敏|我.{0,10}乳糜泻",
|
|
12
|
+
"durableNameOrPreferenceMarkers": "我叫(?!他|她|它|你|您|你们|他们|她们|大家)|我的名字是|^叫我|你可以叫我|请叫我|就叫我|大家都叫我|其实,?叫我|我.{0,4}(?:更)?喜欢",
|
|
13
|
+
"nonClaimMarkers": "[吗呢][??]?\\s*$|什么|哪(?:里|儿)|怎么|谁|为什么|请|可以|删除|运行|安装|部署|重启|停止|取消|创建|设置|修改|添加",
|
|
14
|
+
"clauseBoundary": "[,、;;,。!?!?]+"
|
|
15
|
+
}
|
|
16
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
"en": {
|
|
3
|
+
"factMarkers": "\\b(my(?:\\s+\\w+(?:'s)?){0,3}\\s+name is|i(?:\\s+\\w+){0,4}\\s+live(?:\\s+\\w+){0,2}\\s+in|i(?:\\s+\\w+){0,4}\\s+work(?:\\s+\\w+){0,4}\\s+(at|as|for)|i am(?:\\s+(?!\\w*ing\\b)\\w+){0,4}\\s+an?\\b|i'm(?:\\s+(?!\\w*ing\\b)\\w+){0,4}\\s+an?\\b|i prefer|remember that|note that|for future reference|call me|i go by|i have (?:a|an|\\d+)(?:\\s+\\w+){0,4}\\s+named)\\b",
|
|
4
|
+
"healthOrDietaryMarkers": "\\b(i'?m|i am)\\b(?:\\s+\\w+){0,4}\\s+(allergic to|diabetic|vegetarian|vegan|lactose intolerant|gluten[\\s-]free|celiac)\\b|\\bi('?ve| have)\\b(?:\\s+\\w+){0,4}\\s+(an? .{0,20})?allerg\\w*\\b|\\b(i don'?t eat|i can'?t eat|i cannot eat)\\b",
|
|
5
|
+
"durableNameOrPreferenceMarkers": "\\b(my(?:\\s+\\w+){0,3}\\s+name is|call me|i prefer|i go by)\\b",
|
|
6
|
+
"nonClaimMarkers": "\\?\\s*$|^(what|when|where|why|who|which|how)\\b|\\b(please|can you|could you|would you|will you|help me)\\b|(?<!\\b(?:i|we|my|his|her|their|our|your|the|this|that|an?|no|any|some|every|each|several|few|many|most|all)\\b(?:\\s+\\w+){0,4}\\s)\\b(do|delete|remove|run|execute|install|deploy|restart|stop|start|create|write|update|set up|change|fix|add|revert|undo)\\b",
|
|
7
|
+
"clauseBoundary": "[.!?;]+|,\\s*(?:so|but|yet|and|because|although|while|whereas)\\b"
|
|
8
|
+
},
|
|
9
|
+
"zh": {
|
|
10
|
+
"factMarkers": "我叫(?!他|她|它|你|您|你们|他们|她们|大家)|我的名字是|我.{0,4}住.{0,2}在|我.{0,4}在.{0,10}工作|我.{0,4}就职于|我.{0,4}(?:更)?喜欢|记住|请注意|注意一下|以后.{0,4}(?:记得|注意|参考)|^叫我|你可以叫我|请叫我|就叫我|大家都叫我|其实,?叫我|我.{0,4}是一(?:个|名)|我(?:有|养(?:了|着)?).{0,8}(?:只|条|个|头).{0,10}叫",
|
|
11
|
+
"healthOrDietaryMarkers": "我.{0,15}过敏|我(?:是|有)?.{0,4}糖尿病|我(?:是)?.{0,4}素食者|我吃素|我(?:是)?.{0,4}纯素(?:主义者)?|我不能吃|我不吃|我.{0,10}乳糖不耐受|我.{0,10}无麸质|我(?:是|有)?.{0,4}麸质过敏|我.{0,10}乳糜泻",
|
|
12
|
+
"durableNameOrPreferenceMarkers": "我叫(?!他|她|它|你|您|你们|他们|她们|大家)|我的名字是|^叫我|你可以叫我|请叫我|就叫我|大家都叫我|其实,?叫我|我.{0,4}(?:更)?喜欢",
|
|
13
|
+
"nonClaimMarkers": "[吗呢][??]?\\s*$|什么|哪(?:里|儿)|怎么|谁|为什么|请|可以|删除|运行|安装|部署|重启|停止|取消|创建|设置|修改|添加",
|
|
14
|
+
"clauseBoundary": "[,、;;,。!?!?]+"
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
;
|
|
18
|
+
|
|
19
|
+
export default _default;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
{
|
|
2
|
+
"en": {
|
|
3
|
+
"injectionPatterns": [
|
|
4
|
+
{ "source": "\\bignore (all )?(the )?(previous|prior|above) instructions\\b", "reason": "asks to ignore prior instructions" },
|
|
5
|
+
{ "source": "\\byou are now\\b", "reason": "attempts to redefine the assistant's role" },
|
|
6
|
+
{ "source": "\\bnew instructions?:", "reason": "presents itself as new instructions" },
|
|
7
|
+
{ "source": "\\bsystem prompt\\b", "reason": "references the system prompt directly" },
|
|
8
|
+
{ "source": "\\bdisregard (the |your )?(above|previous|prior)\\b", "reason": "asks to disregard prior context" }
|
|
9
|
+
]
|
|
10
|
+
},
|
|
11
|
+
"zh": {
|
|
12
|
+
"injectionPatterns": [
|
|
13
|
+
{ "source": "忽略(之前|以上|上面)(的)?(所有)?指令", "reason": "asks to ignore prior instructions" },
|
|
14
|
+
{ "source": "你现在是(?!不是)|你现在的角色是", "reason": "attempts to redefine the assistant's role" },
|
|
15
|
+
{ "source": "新(的)?指令[::]", "reason": "presents itself as new instructions" },
|
|
16
|
+
{ "source": "系统提示(词)?", "reason": "references the system prompt directly" },
|
|
17
|
+
{ "source": "(无视|忽视)(之前|上面)(的)?", "reason": "asks to disregard prior context" }
|
|
18
|
+
]
|
|
19
|
+
}
|
|
20
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
"en": {
|
|
3
|
+
"injectionPatterns": [
|
|
4
|
+
{ "source": "\\bignore (all )?(the )?(previous|prior|above) instructions\\b", "reason": "asks to ignore prior instructions" },
|
|
5
|
+
{ "source": "\\byou are now\\b", "reason": "attempts to redefine the assistant's role" },
|
|
6
|
+
{ "source": "\\bnew instructions?:", "reason": "presents itself as new instructions" },
|
|
7
|
+
{ "source": "\\bsystem prompt\\b", "reason": "references the system prompt directly" },
|
|
8
|
+
{ "source": "\\bdisregard (the |your )?(above|previous|prior)\\b", "reason": "asks to disregard prior context" }
|
|
9
|
+
]
|
|
10
|
+
},
|
|
11
|
+
"zh": {
|
|
12
|
+
"injectionPatterns": [
|
|
13
|
+
{ "source": "忽略(之前|以上|上面)(的)?(所有)?指令", "reason": "asks to ignore prior instructions" },
|
|
14
|
+
{ "source": "你现在是(?!不是)|你现在的角色是", "reason": "attempts to redefine the assistant's role" },
|
|
15
|
+
{ "source": "新(的)?指令[::]", "reason": "presents itself as new instructions" },
|
|
16
|
+
{ "source": "系统提示(词)?", "reason": "references the system prompt directly" },
|
|
17
|
+
{ "source": "(无视|忽视)(之前|上面)(的)?", "reason": "asks to disregard prior context" }
|
|
18
|
+
]
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
;
|
|
22
|
+
|
|
23
|
+
export default _default;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
"en": {
|
|
3
|
+
"cancelVerbs": "\\b(cancel|abort|stop|quit|exit)\\b",
|
|
4
|
+
"planningReferenceMarker": "\\b(plan|planning|draft|drafting)\\b"
|
|
5
|
+
},
|
|
6
|
+
"zh": {
|
|
7
|
+
"cancelVerbs": "(取消|中止|停止|退出)",
|
|
8
|
+
"planningReferenceMarker": "(计划|规划|草案|草拟)"
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
;
|
|
12
|
+
|
|
13
|
+
export default _default;
|
|
@@ -0,0 +1,122 @@
|
|
|
1
|
+
{
|
|
2
|
+
"en": {
|
|
3
|
+
"highRiskPatterns": [
|
|
4
|
+
{
|
|
5
|
+
"source": "\\bsend\\b.{0,30}\\b(email|e-mail|message|text|dm)\\b",
|
|
6
|
+
"reason": "sends a message on the user's behalf"
|
|
7
|
+
},
|
|
8
|
+
{
|
|
9
|
+
"source": "(?<!\\b(?:my|his|her|their|our|your|the|this|that|an?|no|any|some|every|each|several|few|many|most|all|check(?:ing)?|read(?:ing)?|repl(?:y|ying) to|got|get(?:ting)?|received|receiving|see(?:ing)?|saw)\\b(?:\\s+\\w+){0,4}\\s)\\b(?:email|text)\\b(?!\\s+(?:message|messages|address|addresses|alignment|thread|threads|editor|editors|campaigns?|is|was)\\b)",
|
|
10
|
+
"reason": "sends a message on the user's behalf"
|
|
11
|
+
},
|
|
12
|
+
{
|
|
13
|
+
"source": "(?<!\\b(?:my|his|her|their|our|your|the|this|that|an?|no|any|some|every|each|several|few|many|most|all)\\b(?:\\s+\\w+){0,4}\\s)\\b(?:delete|remove|wipe|erase)\\b(?!\\s+(?:key|keys|button|queue|confirmations?|options?|is|was)\\b|\\.\\w)",
|
|
14
|
+
"reason": "deletes or removes something, possibly irreversibly"
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
"source": "(?<!\\b(?:my|his|her|their|our|your|the|this|that|an?|no|any|some|every|each|several|few|many|most|all)\\b(?:\\s+\\w+){0,4}\\s)\\b(?:pay|buy|transfer money|wire)\\b(?!\\s+(?:is|was|attention|stubs?|period|raise|day|grade|fraud|transfers?)\\b)",
|
|
18
|
+
"reason": "spends money or moves funds"
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
"source": "(?<!\\b(?:my|his|her|their|our|your|the|this|that|an?|no|any|some|every|each|several|few|many|most|all)\\b(?:\\s+\\w+){0,4}\\s)\\border\\b(?!\\s+(?:is|was|to|for|of|confirmations?|number|status|history|forms?)\\b)",
|
|
22
|
+
"reason": "spends money or moves funds"
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
"source": "(?<!\\b(?:my|his|her|their|our|your|the|this|that|an?|no|any|some|every|each|several|few|many|most|all)\\b(?:\\s+\\w+){0,4}\\s)\\b(?:purchase|checkout)\\b(?!\\s+(?:is|was|process|line|page|counter|orders?|history)\\b)",
|
|
26
|
+
"reason": "spends money or moves funds"
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
"source": "\\b(publish|share publicly)\\b",
|
|
30
|
+
"reason": "publishes content publicly"
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
"source": "(?<!\\b(?:my|his|her|their|our|your|the|this|that|an?|no|any|some|every|each|several|few|many|most|all)\\b(?:\\s+\\w+){0,4}\\s)\\b(?:post|tweet)\\b(?!\\s+(?:engagement|engagements|office|mortem|count|is|was)\\b)",
|
|
34
|
+
"reason": "publishes content publicly"
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
"source": "(?<!\\b(?:going|moving)\\s)\\bforward(?:ed|ing)?\\b(?!\\s+(?:address(?:es)?|rules?|service)\\b)\\s+(?:(?:this|that|my|our|your|his|their|the|it|these|those|him|her|them|a|an|us)\\b|\\S+\\s+to\\b)",
|
|
38
|
+
"reason": "sends a message on the user's behalf"
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
"source": "(?<!\\b(?:my|his|her|their|our|your|the|this|that|an?|no|any|some|every|each|several|few|many|most|all)\\b(?:\\s+\\w+){0,4}\\s)\\b(?:cancel|unsubscribe)\\b(?!\\s+(?:link|option|button|confirmation|confirmations|culture|policy|policies|rates?|is|was|out)\\b|\\s+each\\s+other\\b)",
|
|
42
|
+
"reason": "cancels a subscription or commitment"
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
"source": "(?<!\\b(?:my|his|her|their|our|your|the|this|that|an?|no|any|some|every|each|several|few|many|most|all)\\b(?:\\s+\\w+){0,4}\\s)\\b(?:sign|submit|approve)\\b(?!\\s+of\\b).{0,30}\\b(?:contract|form|application|agreement)\\b",
|
|
46
|
+
"reason": "signs or submits a binding document"
|
|
47
|
+
}
|
|
48
|
+
],
|
|
49
|
+
"mediumRiskPatterns": [
|
|
50
|
+
{
|
|
51
|
+
"source": "(?<!\\b(?:my|his|her|their|our|your|the|this|that|an?|no|any|some|every|each|several|few|many|most|all)\\b(?:\\s+\\w+){0,4}\\s)\\b(?:schedule|reserve)\\b(?!\\s+(?:conflicts?|funds?|requirements?|changes?|details?|adjustments?|templates?|overviews?|formats?|seating|is|was)\\b)",
|
|
52
|
+
"reason": "books or schedules something"
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
"source": "(?<!\\b(?:my|his|her|their|our|your|the|this|that|an?|no|any|some|every|each|several|few|many|most|all)\\b(?:\\s+\\w+){0,4}\\s)\\bbook\\b(?!\\s+(?:club|report|recommendations?|signings?|stores?|fairs?|is|was)\\b)",
|
|
56
|
+
"reason": "books or schedules something"
|
|
57
|
+
}
|
|
58
|
+
],
|
|
59
|
+
"reminderPattern": {
|
|
60
|
+
"source": "\\b(remind me|set (?:a |)reminders?|create (?:a |an )?(?:reminders?|events?))\\b",
|
|
61
|
+
"reason": "creates a calendar or reminder entry"
|
|
62
|
+
},
|
|
63
|
+
"reminderRecallQuestion": "\\b(what|who|when|where|why|how)\\b.{0,20}\\bremind(?:ed)? me\\b.*\\?\\s*$|\\bremind me\\b.{0,20}\\b(what|who|when|where|why|how)\\b.*(?:\\?\\s*$|\\b(?:was|were)\\b\\s*\\.?\\s*$)",
|
|
64
|
+
"bulkReminderReason": "creates a calendar or reminder entry and looks like it may create more than one in a single turn — confirm before proceeding",
|
|
65
|
+
"pastTenseQuestion": "^\\s*(did|was|were|has|have|does|do|is|are)\\b.*\\?\\s*$",
|
|
66
|
+
"firstPersonPastNarrative": "\\bi (?:had to|already|needed to|decided to|chose to|wanted to)\\b",
|
|
67
|
+
"reportedThirdPartySpeech": "\\b(said|told me|mentioned|warned|threatened)\\b.{0,30}\\b(he|she|they|it)\\b\\s*(?:'ll|will|would|might|could|(?:is|was|were) (?:going|planning) to|plans to|intends to|wants to)\\b",
|
|
68
|
+
"riskClauseBoundary": ",\\s*(?:so|but|yet|and|because|although|while|whereas)\\b|;\\s*"
|
|
69
|
+
},
|
|
70
|
+
"zh": {
|
|
71
|
+
"highRiskPatterns": [
|
|
72
|
+
{
|
|
73
|
+
"source": "(?:发送?|寄)[^。!??;;,,、]{0,8}(?:邮件|电子邮件|信息|消息|短信|微信|私信)",
|
|
74
|
+
"reason": "sends a message on the user's behalf"
|
|
75
|
+
},
|
|
76
|
+
{
|
|
77
|
+
"source": "转发(?!量)",
|
|
78
|
+
"reason": "sends a message on the user's behalf"
|
|
79
|
+
},
|
|
80
|
+
{
|
|
81
|
+
"source": "(?:删除|删掉|清空|抹掉|移除)(?!键|确认|按钮|选项)",
|
|
82
|
+
"reason": "deletes or removes something, possibly irreversibly"
|
|
83
|
+
},
|
|
84
|
+
{
|
|
85
|
+
"source": "转账|汇款|打钱|(?:付款|支付)(?!方式|页面|页)",
|
|
86
|
+
"reason": "spends money or moves funds"
|
|
87
|
+
},
|
|
88
|
+
{
|
|
89
|
+
"source": "下单|订购|(?:购买)(?!记录|页面|历史)|结账",
|
|
90
|
+
"reason": "spends money or moves funds"
|
|
91
|
+
},
|
|
92
|
+
{
|
|
93
|
+
"source": "(?:发布)(?!会)|公开分享|发朋友圈|发微博",
|
|
94
|
+
"reason": "publishes content publicly"
|
|
95
|
+
},
|
|
96
|
+
{
|
|
97
|
+
"source": "取消|退订",
|
|
98
|
+
"reason": "cancels a subscription or commitment"
|
|
99
|
+
},
|
|
100
|
+
{
|
|
101
|
+
"source": "签(?:署|订)?.{0,6}(?:合同|协议|合约)|提交.{0,6}(?:申请|表格|表单)|签字(?!笔)",
|
|
102
|
+
"reason": "signs or submits a binding document"
|
|
103
|
+
}
|
|
104
|
+
],
|
|
105
|
+
"mediumRiskPatterns": [
|
|
106
|
+
{
|
|
107
|
+
"source": "(?:预订|预约)(?!记录|系统|页面)|安排.{0,6}(?:时间|会议|行程)",
|
|
108
|
+
"reason": "books or schedules something"
|
|
109
|
+
}
|
|
110
|
+
],
|
|
111
|
+
"reminderPattern": {
|
|
112
|
+
"source": "提醒我|设置?(?:一?个)?提醒|创建.{0,4}(?:提醒|日程|事件)",
|
|
113
|
+
"reason": "creates a calendar or reminder entry"
|
|
114
|
+
},
|
|
115
|
+
"reminderRecallQuestion": "(?=.*提醒)(?=.*(?:什么|谁|哪(?:里|儿)|为什么|怎么))(?=.*(?:刚才|之前|刚|上次|了|过|来着))",
|
|
116
|
+
"bulkReminderReason": "creates a calendar or reminder entry and looks like it may create more than one in a single turn — confirm before proceeding",
|
|
117
|
+
"pastTenseQuestion": "^(?!.*(?:帮我|请|可以|能|麻烦)).*(?:了|过)(?:吗|没有?)?[??]\\s*$|^(?!.*(?:帮我|请|可以|能|麻烦)).*(?:是否|会不会|会).{0,10}自动.{0,15}吗[??]?\\s*$",
|
|
118
|
+
"firstPersonPastNarrative": "我(?:已经|不得不|决定|选择了|刚刚?|之前)",
|
|
119
|
+
"reportedThirdPartySpeech": "(?:他|她|他们|她们|它).{0,15}(?:说|告诉我|提到|警告|威胁).{0,15}(?:会|要|打算|准备)|(?:说|告诉我|提到|警告|威胁).{0,15}(?:他|她|他们|她们|它).{0,15}(?:会|要|打算|准备)",
|
|
120
|
+
"riskClauseBoundary": "[,、;;,]+"
|
|
121
|
+
}
|
|
122
|
+
}
|
|
@@ -0,0 +1,125 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
"en": {
|
|
3
|
+
"highRiskPatterns": [
|
|
4
|
+
{
|
|
5
|
+
"source": "\\bsend\\b.{0,30}\\b(email|e-mail|message|text|dm)\\b",
|
|
6
|
+
"reason": "sends a message on the user's behalf"
|
|
7
|
+
},
|
|
8
|
+
{
|
|
9
|
+
"source": "(?<!\\b(?:my|his|her|their|our|your|the|this|that|an?|no|any|some|every|each|several|few|many|most|all|check(?:ing)?|read(?:ing)?|repl(?:y|ying) to|got|get(?:ting)?|received|receiving|see(?:ing)?|saw)\\b(?:\\s+\\w+){0,4}\\s)\\b(?:email|text)\\b(?!\\s+(?:message|messages|address|addresses|alignment|thread|threads|editor|editors|campaigns?|is|was)\\b)",
|
|
10
|
+
"reason": "sends a message on the user's behalf"
|
|
11
|
+
},
|
|
12
|
+
{
|
|
13
|
+
"source": "(?<!\\b(?:my|his|her|their|our|your|the|this|that|an?|no|any|some|every|each|several|few|many|most|all)\\b(?:\\s+\\w+){0,4}\\s)\\b(?:delete|remove|wipe|erase)\\b(?!\\s+(?:key|keys|button|queue|confirmations?|options?|is|was)\\b|\\.\\w)",
|
|
14
|
+
"reason": "deletes or removes something, possibly irreversibly"
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
"source": "(?<!\\b(?:my|his|her|their|our|your|the|this|that|an?|no|any|some|every|each|several|few|many|most|all)\\b(?:\\s+\\w+){0,4}\\s)\\b(?:pay|buy|transfer money|wire)\\b(?!\\s+(?:is|was|attention|stubs?|period|raise|day|grade|fraud|transfers?)\\b)",
|
|
18
|
+
"reason": "spends money or moves funds"
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
"source": "(?<!\\b(?:my|his|her|their|our|your|the|this|that|an?|no|any|some|every|each|several|few|many|most|all)\\b(?:\\s+\\w+){0,4}\\s)\\border\\b(?!\\s+(?:is|was|to|for|of|confirmations?|number|status|history|forms?)\\b)",
|
|
22
|
+
"reason": "spends money or moves funds"
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
"source": "(?<!\\b(?:my|his|her|their|our|your|the|this|that|an?|no|any|some|every|each|several|few|many|most|all)\\b(?:\\s+\\w+){0,4}\\s)\\b(?:purchase|checkout)\\b(?!\\s+(?:is|was|process|line|page|counter|orders?|history)\\b)",
|
|
26
|
+
"reason": "spends money or moves funds"
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
"source": "\\b(publish|share publicly)\\b",
|
|
30
|
+
"reason": "publishes content publicly"
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
"source": "(?<!\\b(?:my|his|her|their|our|your|the|this|that|an?|no|any|some|every|each|several|few|many|most|all)\\b(?:\\s+\\w+){0,4}\\s)\\b(?:post|tweet)\\b(?!\\s+(?:engagement|engagements|office|mortem|count|is|was)\\b)",
|
|
34
|
+
"reason": "publishes content publicly"
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
"source": "(?<!\\b(?:going|moving)\\s)\\bforward(?:ed|ing)?\\b(?!\\s+(?:address(?:es)?|rules?|service)\\b)\\s+(?:(?:this|that|my|our|your|his|their|the|it|these|those|him|her|them|a|an|us)\\b|\\S+\\s+to\\b)",
|
|
38
|
+
"reason": "sends a message on the user's behalf"
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
"source": "(?<!\\b(?:my|his|her|their|our|your|the|this|that|an?|no|any|some|every|each|several|few|many|most|all)\\b(?:\\s+\\w+){0,4}\\s)\\b(?:cancel|unsubscribe)\\b(?!\\s+(?:link|option|button|confirmation|confirmations|culture|policy|policies|rates?|is|was|out)\\b|\\s+each\\s+other\\b)",
|
|
42
|
+
"reason": "cancels a subscription or commitment"
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
"source": "(?<!\\b(?:my|his|her|their|our|your|the|this|that|an?|no|any|some|every|each|several|few|many|most|all)\\b(?:\\s+\\w+){0,4}\\s)\\b(?:sign|submit|approve)\\b(?!\\s+of\\b).{0,30}\\b(?:contract|form|application|agreement)\\b",
|
|
46
|
+
"reason": "signs or submits a binding document"
|
|
47
|
+
}
|
|
48
|
+
],
|
|
49
|
+
"mediumRiskPatterns": [
|
|
50
|
+
{
|
|
51
|
+
"source": "(?<!\\b(?:my|his|her|their|our|your|the|this|that|an?|no|any|some|every|each|several|few|many|most|all)\\b(?:\\s+\\w+){0,4}\\s)\\b(?:schedule|reserve)\\b(?!\\s+(?:conflicts?|funds?|requirements?|changes?|details?|adjustments?|templates?|overviews?|formats?|seating|is|was)\\b)",
|
|
52
|
+
"reason": "books or schedules something"
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
"source": "(?<!\\b(?:my|his|her|their|our|your|the|this|that|an?|no|any|some|every|each|several|few|many|most|all)\\b(?:\\s+\\w+){0,4}\\s)\\bbook\\b(?!\\s+(?:club|report|recommendations?|signings?|stores?|fairs?|is|was)\\b)",
|
|
56
|
+
"reason": "books or schedules something"
|
|
57
|
+
}
|
|
58
|
+
],
|
|
59
|
+
"reminderPattern": {
|
|
60
|
+
"source": "\\b(remind me|set (?:a |)reminders?|create (?:a |an )?(?:reminders?|events?))\\b",
|
|
61
|
+
"reason": "creates a calendar or reminder entry"
|
|
62
|
+
},
|
|
63
|
+
"reminderRecallQuestion": "\\b(what|who|when|where|why|how)\\b.{0,20}\\bremind(?:ed)? me\\b.*\\?\\s*$|\\bremind me\\b.{0,20}\\b(what|who|when|where|why|how)\\b.*(?:\\?\\s*$|\\b(?:was|were)\\b\\s*\\.?\\s*$)",
|
|
64
|
+
"bulkReminderReason": "creates a calendar or reminder entry and looks like it may create more than one in a single turn — confirm before proceeding",
|
|
65
|
+
"pastTenseQuestion": "^\\s*(did|was|were|has|have|does|do|is|are)\\b.*\\?\\s*$",
|
|
66
|
+
"firstPersonPastNarrative": "\\bi (?:had to|already|needed to|decided to|chose to|wanted to)\\b",
|
|
67
|
+
"reportedThirdPartySpeech": "\\b(said|told me|mentioned|warned|threatened)\\b.{0,30}\\b(he|she|they|it)\\b\\s*(?:'ll|will|would|might|could|(?:is|was|were) (?:going|planning) to|plans to|intends to|wants to)\\b",
|
|
68
|
+
"riskClauseBoundary": ",\\s*(?:so|but|yet|and|because|although|while|whereas)\\b|;\\s*"
|
|
69
|
+
},
|
|
70
|
+
"zh": {
|
|
71
|
+
"highRiskPatterns": [
|
|
72
|
+
{
|
|
73
|
+
"source": "(?:发送?|寄)[^。!??;;,,、]{0,8}(?:邮件|电子邮件|信息|消息|短信|微信|私信)",
|
|
74
|
+
"reason": "sends a message on the user's behalf"
|
|
75
|
+
},
|
|
76
|
+
{
|
|
77
|
+
"source": "转发(?!量)",
|
|
78
|
+
"reason": "sends a message on the user's behalf"
|
|
79
|
+
},
|
|
80
|
+
{
|
|
81
|
+
"source": "(?:删除|删掉|清空|抹掉|移除)(?!键|确认|按钮|选项)",
|
|
82
|
+
"reason": "deletes or removes something, possibly irreversibly"
|
|
83
|
+
},
|
|
84
|
+
{
|
|
85
|
+
"source": "转账|汇款|打钱|(?:付款|支付)(?!方式|页面|页)",
|
|
86
|
+
"reason": "spends money or moves funds"
|
|
87
|
+
},
|
|
88
|
+
{
|
|
89
|
+
"source": "下单|订购|(?:购买)(?!记录|页面|历史)|结账",
|
|
90
|
+
"reason": "spends money or moves funds"
|
|
91
|
+
},
|
|
92
|
+
{
|
|
93
|
+
"source": "(?:发布)(?!会)|公开分享|发朋友圈|发微博",
|
|
94
|
+
"reason": "publishes content publicly"
|
|
95
|
+
},
|
|
96
|
+
{
|
|
97
|
+
"source": "取消|退订",
|
|
98
|
+
"reason": "cancels a subscription or commitment"
|
|
99
|
+
},
|
|
100
|
+
{
|
|
101
|
+
"source": "签(?:署|订)?.{0,6}(?:合同|协议|合约)|提交.{0,6}(?:申请|表格|表单)|签字(?!笔)",
|
|
102
|
+
"reason": "signs or submits a binding document"
|
|
103
|
+
}
|
|
104
|
+
],
|
|
105
|
+
"mediumRiskPatterns": [
|
|
106
|
+
{
|
|
107
|
+
"source": "(?:预订|预约)(?!记录|系统|页面)|安排.{0,6}(?:时间|会议|行程)",
|
|
108
|
+
"reason": "books or schedules something"
|
|
109
|
+
}
|
|
110
|
+
],
|
|
111
|
+
"reminderPattern": {
|
|
112
|
+
"source": "提醒我|设置?(?:一?个)?提醒|创建.{0,4}(?:提醒|日程|事件)",
|
|
113
|
+
"reason": "creates a calendar or reminder entry"
|
|
114
|
+
},
|
|
115
|
+
"reminderRecallQuestion": "(?=.*提醒)(?=.*(?:什么|谁|哪(?:里|儿)|为什么|怎么))(?=.*(?:刚才|之前|刚|上次|了|过|来着))",
|
|
116
|
+
"bulkReminderReason": "creates a calendar or reminder entry and looks like it may create more than one in a single turn — confirm before proceeding",
|
|
117
|
+
"pastTenseQuestion": "^(?!.*(?:帮我|请|可以|能|麻烦)).*(?:了|过)(?:吗|没有?)?[??]\\s*$|^(?!.*(?:帮我|请|可以|能|麻烦)).*(?:是否|会不会|会).{0,10}自动.{0,15}吗[??]?\\s*$",
|
|
118
|
+
"firstPersonPastNarrative": "我(?:已经|不得不|决定|选择了|刚刚?|之前)",
|
|
119
|
+
"reportedThirdPartySpeech": "(?:他|她|他们|她们|它).{0,15}(?:说|告诉我|提到|警告|威胁).{0,15}(?:会|要|打算|准备)|(?:说|告诉我|提到|警告|威胁).{0,15}(?:他|她|他们|她们|它).{0,15}(?:会|要|打算|准备)",
|
|
120
|
+
"riskClauseBoundary": "[,、;;,]+"
|
|
121
|
+
}
|
|
122
|
+
}
|
|
123
|
+
;
|
|
124
|
+
|
|
125
|
+
export default _default;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
{
|
|
2
|
+
"en": {
|
|
3
|
+
"taskCancelVerbs": "\\b(cancel|skip|drop|remove)\\b",
|
|
4
|
+
"taskReferenceMarker": "\\b(task|step|item|that part|this part|the plan)\\b",
|
|
5
|
+
"cancelMatchStopwords": [
|
|
6
|
+
"this", "that", "these", "those", "with", "from", "into", "over", "about", "their", "there",
|
|
7
|
+
"where", "which", "while", "would", "should", "could", "have", "been", "being", "each", "plan",
|
|
8
|
+
"task", "step", "item", "need", "want", "once", "still", "trip", "planning", "along"
|
|
9
|
+
]
|
|
10
|
+
},
|
|
11
|
+
"zh": {
|
|
12
|
+
"taskCancelVerbs": "(取消|删除)",
|
|
13
|
+
"taskReferenceMarker": "(任务|步骤|项|那部分|这部分|计划)",
|
|
14
|
+
"cancelMatchStopwords": [
|
|
15
|
+
"的", "了", "是", "我", "你", "他", "她", "它", "们", "和", "与", "或", "还", "要", "就", "都", "也",
|
|
16
|
+
"在", "把", "被", "让", "给", "到", "从", "对", "着", "过", "地", "得", "这", "那", "一", "个", "些",
|
|
17
|
+
"里", "中", "上", "下", "前", "后", "内", "外", "之", "及", "以", "为", "不", "没", "有", "好", "吧",
|
|
18
|
+
"呢", "吗", "啊", "呀", "而", "且", "并", "再", "又",
|
|
19
|
+
"任", "务", "步", "骤", "项", "计", "划", "部", "分"
|
|
20
|
+
]
|
|
21
|
+
}
|
|
22
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
"en": {
|
|
3
|
+
"taskCancelVerbs": "\\b(cancel|skip|drop|remove)\\b",
|
|
4
|
+
"taskReferenceMarker": "\\b(task|step|item|that part|this part|the plan)\\b",
|
|
5
|
+
"cancelMatchStopwords": [
|
|
6
|
+
"this", "that", "these", "those", "with", "from", "into", "over", "about", "their", "there",
|
|
7
|
+
"where", "which", "while", "would", "should", "could", "have", "been", "being", "each", "plan",
|
|
8
|
+
"task", "step", "item", "need", "want", "once", "still", "trip", "planning", "along"
|
|
9
|
+
]
|
|
10
|
+
},
|
|
11
|
+
"zh": {
|
|
12
|
+
"taskCancelVerbs": "(取消|删除)",
|
|
13
|
+
"taskReferenceMarker": "(任务|步骤|项|那部分|这部分|计划)",
|
|
14
|
+
"cancelMatchStopwords": [
|
|
15
|
+
"的", "了", "是", "我", "你", "他", "她", "它", "们", "和", "与", "或", "还", "要", "就", "都", "也",
|
|
16
|
+
"在", "把", "被", "让", "给", "到", "从", "对", "着", "过", "地", "得", "这", "那", "一", "个", "些",
|
|
17
|
+
"里", "中", "上", "下", "前", "后", "内", "外", "之", "及", "以", "为", "不", "没", "有", "好", "吧",
|
|
18
|
+
"呢", "吗", "啊", "呀", "而", "且", "并", "再", "又",
|
|
19
|
+
"任", "务", "步", "骤", "项", "计", "划", "部", "分"
|
|
20
|
+
]
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
;
|
|
24
|
+
|
|
25
|
+
export default _default;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
{
|
|
2
|
+
"en": {
|
|
3
|
+
"problem_solving": ["problem", "issue", "solve", "fix", "troubleshoot", "root cause", "diagnose", "debug", "investigate", "resolve"],
|
|
4
|
+
"project_planning": ["project", "plan", "launch", "build", "develop", "deliver", "milestone", "roadmap", "schedule", "resource"],
|
|
5
|
+
"research_analysis": ["research", "analyse", "analyze", "study", "review", "investigate", "explore", "survey", "literature", "data", "insights"],
|
|
6
|
+
"decision_making": ["decide", "decision", "choose", "select", "evaluate", "compare", "option", "trade-off", "tradeoff", "criteria", "pick"],
|
|
7
|
+
"process_improvement": ["process", "improve", "optimise", "optimize", "efficiency", "workflow", "bottleneck", "streamline", "kaizen", "lean"],
|
|
8
|
+
"content_creation": ["write", "draft", "article", "report", "blog", "document", "content", "copy", "proposal", "presentation", "essay"],
|
|
9
|
+
"trip_planning": ["trip", "travel", "vacation", "itinerary", "flight", "flights", "hotel", "destination", "pack for", "holiday"]
|
|
10
|
+
},
|
|
11
|
+
"zh": {
|
|
12
|
+
"problem_solving": ["问题", "故障", "解决", "修复", "排查", "根本原因", "诊断", "调试", "调查", "解决方案"],
|
|
13
|
+
"project_planning": ["项目", "计划", "启动", "上线", "搭建", "开发", "交付", "里程碑", "路线图", "进度安排", "资源"],
|
|
14
|
+
"research_analysis": ["研究", "分析", "调研", "查阅", "探索", "调查", "文献", "数据", "洞察"],
|
|
15
|
+
"decision_making": ["决定", "选择", "挑选", "评估", "比较", "权衡", "标准", "分析"],
|
|
16
|
+
"process_improvement": ["流程", "改进", "优化", "效率", "工作流程", "瓶颈", "精简", "精益"],
|
|
17
|
+
"content_creation": ["写作", "起草", "文章", "报告", "博客", "文档", "内容", "文案", "提案", "演示文稿"],
|
|
18
|
+
"trip_planning": ["旅行", "旅游", "度假", "行程", "航班", "酒店", "目的地", "打包", "假期"]
|
|
19
|
+
}
|
|
20
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
"en": {
|
|
3
|
+
"problem_solving": ["problem", "issue", "solve", "fix", "troubleshoot", "root cause", "diagnose", "debug", "investigate", "resolve"],
|
|
4
|
+
"project_planning": ["project", "plan", "launch", "build", "develop", "deliver", "milestone", "roadmap", "schedule", "resource"],
|
|
5
|
+
"research_analysis": ["research", "analyse", "analyze", "study", "review", "investigate", "explore", "survey", "literature", "data", "insights"],
|
|
6
|
+
"decision_making": ["decide", "decision", "choose", "select", "evaluate", "compare", "option", "trade-off", "tradeoff", "criteria", "pick"],
|
|
7
|
+
"process_improvement": ["process", "improve", "optimise", "optimize", "efficiency", "workflow", "bottleneck", "streamline", "kaizen", "lean"],
|
|
8
|
+
"content_creation": ["write", "draft", "article", "report", "blog", "document", "content", "copy", "proposal", "presentation", "essay"],
|
|
9
|
+
"trip_planning": ["trip", "travel", "vacation", "itinerary", "flight", "flights", "hotel", "destination", "pack for", "holiday"]
|
|
10
|
+
},
|
|
11
|
+
"zh": {
|
|
12
|
+
"problem_solving": ["问题", "故障", "解决", "修复", "排查", "根本原因", "诊断", "调试", "调查", "解决方案"],
|
|
13
|
+
"project_planning": ["项目", "计划", "启动", "上线", "搭建", "开发", "交付", "里程碑", "路线图", "进度安排", "资源"],
|
|
14
|
+
"research_analysis": ["研究", "分析", "调研", "查阅", "探索", "调查", "文献", "数据", "洞察"],
|
|
15
|
+
"decision_making": ["决定", "选择", "挑选", "评估", "比较", "权衡", "标准", "分析"],
|
|
16
|
+
"process_improvement": ["流程", "改进", "优化", "效率", "工作流程", "瓶颈", "精简", "精益"],
|
|
17
|
+
"content_creation": ["写作", "起草", "文章", "报告", "博客", "文档", "内容", "文案", "提案", "演示文稿"],
|
|
18
|
+
"trip_planning": ["旅行", "旅游", "度假", "行程", "航班", "酒店", "目的地", "打包", "假期"]
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
;
|
|
22
|
+
|
|
23
|
+
export default _default;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
{
|
|
2
|
+
"en": {
|
|
3
|
+
"deadEndMarkers": [
|
|
4
|
+
"\\bno (specific )?date\\b",
|
|
5
|
+
"\\b(?:cannot|can'?t|couldn'?t|could not) find\\b",
|
|
6
|
+
"\\b(?:not|isn'?t|wasn'?t|aren'?t|weren'?t) (found|mentioned|listed)\\b",
|
|
7
|
+
"\\bno mention of\\b",
|
|
8
|
+
"\\bno event called\\b",
|
|
9
|
+
"\\bno results matching\\b"
|
|
10
|
+
]
|
|
11
|
+
},
|
|
12
|
+
"zh": {
|
|
13
|
+
"deadEndMarkers": [
|
|
14
|
+
"没有(具体)?日期",
|
|
15
|
+
"找不到|无法找到",
|
|
16
|
+
"未(找到|提及|列出)",
|
|
17
|
+
"没有提到",
|
|
18
|
+
"没有找到相关(事件|活动)",
|
|
19
|
+
"搜不到结果"
|
|
20
|
+
]
|
|
21
|
+
}
|
|
22
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
"en": {
|
|
3
|
+
"deadEndMarkers": [
|
|
4
|
+
"\\bno (specific )?date\\b",
|
|
5
|
+
"\\b(?:cannot|can'?t|couldn'?t|could not) find\\b",
|
|
6
|
+
"\\b(?:not|isn'?t|wasn'?t|aren'?t|weren'?t) (found|mentioned|listed)\\b",
|
|
7
|
+
"\\bno mention of\\b",
|
|
8
|
+
"\\bno event called\\b",
|
|
9
|
+
"\\bno results matching\\b"
|
|
10
|
+
]
|
|
11
|
+
},
|
|
12
|
+
"zh": {
|
|
13
|
+
"deadEndMarkers": [
|
|
14
|
+
"没有(具体)?日期",
|
|
15
|
+
"找不到|无法找到",
|
|
16
|
+
"未(找到|提及|列出)",
|
|
17
|
+
"没有提到",
|
|
18
|
+
"没有找到相关(事件|活动)",
|
|
19
|
+
"搜不到结果"
|
|
20
|
+
]
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
;
|
|
24
|
+
|
|
25
|
+
export default _default;
|