dominds 1.27.5 → 1.28.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/dist/dialog.d.ts +2 -0
- package/dist/dialog.js +1 -1
- package/dist/docs/team_mgmt-toolset.md +21 -20
- package/dist/docs/team_mgmt-toolset.zh.md +21 -20
- package/dist/docs/txt-editing-tools.md +196 -122
- package/dist/docs/txt-editing-tools.zh.md +171 -97
- package/dist/llm/gen/failure-classifier.js +60 -11
- package/dist/llm/kernel-driver/drive.js +1 -1
- package/dist/llm/kernel-driver/tellask-special.d.ts +1 -0
- package/dist/llm/kernel-driver/tellask-special.js +20 -2
- package/dist/minds/system-prompt.js +17 -5
- package/dist/persistence.d.ts +1 -0
- package/dist/persistence.js +1 -1
- package/dist/tool.d.ts +2 -0
- package/dist/tool.js +52 -0
- package/dist/tools/app-reminders.js +1 -1
- package/dist/tools/builtins.js +31 -12
- package/dist/tools/prompts/team_mgmt.en.md +13 -29
- package/dist/tools/prompts/team_mgmt.zh.md +13 -29
- package/dist/tools/prompts/ws_mod/en/errors.md +45 -42
- package/dist/tools/prompts/ws_mod/en/index.md +10 -10
- package/dist/tools/prompts/ws_mod/en/principles.md +27 -34
- package/dist/tools/prompts/ws_mod/en/scenarios.md +42 -29
- package/dist/tools/prompts/ws_mod/en/tools.md +43 -46
- package/dist/tools/prompts/ws_mod/zh/errors.md +45 -42
- package/dist/tools/prompts/ws_mod/zh/index.md +10 -10
- package/dist/tools/prompts/ws_mod/zh/principles.md +27 -34
- package/dist/tools/prompts/ws_mod/zh/scenarios.md +42 -29
- package/dist/tools/prompts/ws_mod/zh/tools.md +42 -45
- package/dist/tools/prompts/ws_mod.en.md +77 -47
- package/dist/tools/prompts/ws_mod.zh.md +77 -47
- package/dist/tools/team_mgmt.d.ts +7 -6
- package/dist/tools/team_mgmt.js +379 -220
- package/dist/tools/txt.d.ts +20 -9
- package/dist/tools/txt.js +2282 -1842
- package/dist/utils/taskdoc.js +2 -2
- package/package.json +4 -4
- package/webapp/dist/assets/{main-NXVX2KTO.js → main-YWP5PWOM.js} +62 -1
- package/webapp/dist/assets/{main-NXVX2KTO.js.map → main-YWP5PWOM.js.map} +4 -4
- package/webapp/dist/index.html +1 -1
package/dist/dialog.d.ts
CHANGED
|
@@ -479,6 +479,7 @@ export declare abstract class Dialog {
|
|
|
479
479
|
persistTellaskCall(id: string, name: TellaskCallRecordName, rawArgumentsText: string, genseq: number, options?: {
|
|
480
480
|
deliveryMode?: 'tellask_call_start' | 'func_call_requested';
|
|
481
481
|
replyDirective?: TellaskReplyDirective;
|
|
482
|
+
recordReplyDelivery?: boolean;
|
|
482
483
|
}): Promise<void>;
|
|
483
484
|
/**
|
|
484
485
|
* Post sideDialog completion response to this dialog.
|
|
@@ -714,6 +715,7 @@ export declare abstract class DialogStore {
|
|
|
714
715
|
persistTellaskCall(_dialog: Dialog, _id: string, _name: TellaskCallRecordName, _rawArgumentsText: string, _genseq: number, _options?: {
|
|
715
716
|
deliveryMode?: 'tellask_call_start' | 'func_call_requested';
|
|
716
717
|
replyDirective?: TellaskReplyDirective;
|
|
718
|
+
recordReplyDelivery?: boolean;
|
|
717
719
|
}): Promise<void>;
|
|
718
720
|
/**
|
|
719
721
|
* Start a new course in storage
|
package/dist/dialog.js
CHANGED
|
@@ -649,7 +649,7 @@ class Dialog {
|
|
|
649
649
|
visibleReminders.sort(tool_1.compareReminderDisplayOrder);
|
|
650
650
|
return visibleReminders.map((r) => ({
|
|
651
651
|
content: r.content,
|
|
652
|
-
meta: r
|
|
652
|
+
meta: (0, tool_1.serializeReminderContentMeta)(r),
|
|
653
653
|
reminder_id: r.id,
|
|
654
654
|
renderRevision: (0, tool_1.computeReminderRenderRevision)(r),
|
|
655
655
|
echoback: (0, tool_1.reminderEchoBackEnabled)(r),
|
|
@@ -109,26 +109,27 @@ The `team_mgmt` toolset mirrors a minimal subset of `fs`/`txt`, but **hard-scope
|
|
|
109
109
|
|
|
110
110
|
Recommended tools (names are suggestions; use `snake_case` to match existing tools):
|
|
111
111
|
|
|
112
|
-
| Tool name | Based on | Purpose
|
|
113
|
-
| -------------------------------------- | -------- |
|
|
114
|
-
| `team_mgmt_list_dir` | `fs` | List directories/files under `.minds/`
|
|
115
|
-
| `team_mgmt_read_file` | `txt` | Read a text file under `.minds/`
|
|
116
|
-
| `team_mgmt_create_new_file` | `txt` | Create a new file under `.minds/`
|
|
117
|
-
| `team_mgmt_overwrite_entire_file` | `txt` | Overwrite an existing file under `.minds/` (guarded
|
|
118
|
-
| `
|
|
119
|
-
| `
|
|
120
|
-
| `
|
|
121
|
-
| `
|
|
122
|
-
| `
|
|
123
|
-
| `
|
|
124
|
-
| `
|
|
125
|
-
| `
|
|
126
|
-
| `
|
|
127
|
-
| `
|
|
128
|
-
| `
|
|
129
|
-
| `
|
|
130
|
-
| `
|
|
131
|
-
| `
|
|
112
|
+
| Tool name | Based on | Purpose | Default allowlist scope |
|
|
113
|
+
| -------------------------------------- | -------- | ---------------------------------------------------------------------------- | ----------------------- |
|
|
114
|
+
| `team_mgmt_list_dir` | `fs` | List directories/files under `.minds/` | `.minds/**` |
|
|
115
|
+
| `team_mgmt_read_file` | `txt` | Read a text file under `.minds/` | `.minds/**` |
|
|
116
|
+
| `team_mgmt_create_new_file` | `txt` | Create a new file under `.minds/` from content or pad (refuses overwrite) | `.minds/**` |
|
|
117
|
+
| `team_mgmt_overwrite_entire_file` | `txt` | Overwrite an existing file under `.minds/` from content or pad (guarded) | `.minds/**` |
|
|
118
|
+
| `team_mgmt_file_range_edit` | `txt` | Directly write a single-file line range under `.minds/` from content or pad | `.minds/**` |
|
|
119
|
+
| `team_mgmt_file_append` | `txt` | Append to a file under `.minds/` directly | `.minds/**` |
|
|
120
|
+
| `team_mgmt_file_insert_after` | `txt` | Insert after an anchor under `.minds/` directly | `.minds/**` |
|
|
121
|
+
| `team_mgmt_file_insert_before` | `txt` | Insert before an anchor under `.minds/` directly | `.minds/**` |
|
|
122
|
+
| `team_mgmt_file_block_replace` | `txt` | Replace an anchor-delimited block under `.minds/` directly | `.minds/**` |
|
|
123
|
+
| `team_mgmt_prepare_occurrence_replace` | `txt` | Prepare a literal occurrence replacement under `.minds/`, aimed at batch use | `.minds/**` |
|
|
124
|
+
| `team_mgmt_apply_occurrence_replace` | `txt` | Apply a prepared literal occurrence replacement plan under `.minds/` | `.minds/**` |
|
|
125
|
+
| `team_mgmt_mk_dir` | `fs` | Create directories under `.minds/` | `.minds/**` |
|
|
126
|
+
| `team_mgmt_move_file` | `fs` | Move/rename files under `.minds/` | `.minds/**` |
|
|
127
|
+
| `team_mgmt_move_dir` | `fs` | Move/rename directories under `.minds/` | `.minds/**` |
|
|
128
|
+
| `team_mgmt_rm_file` | `fs` | Delete files under `.minds/` | `.minds/**` |
|
|
129
|
+
| `team_mgmt_rm_dir` | `fs` | Delete directories under `.minds/` | `.minds/**` |
|
|
130
|
+
| `team_mgmt_validate_priming_scripts` | new | Validate path constraints and script format under `.minds/priming/**.md` | `.minds/**` |
|
|
131
|
+
| `team_mgmt_validate_team_cfg` | new | Validate `.minds/team.yaml` and publish issues to the Problems panel | `.minds/**` |
|
|
132
|
+
| `man({ "toolsetId": "team_mgmt" })` | builtin | Handbook entrypoint for the `team_mgmt` toolset (see below) | N/A |
|
|
132
133
|
|
|
133
134
|
Notes:
|
|
134
135
|
|
|
@@ -87,26 +87,27 @@
|
|
|
87
87
|
|
|
88
88
|
推荐工具(名称是建议;使用 `snake_case` 以匹配现有工具):
|
|
89
89
|
|
|
90
|
-
| 工具名称 | 基于 | 用途
|
|
91
|
-
| -------------------------------------- | ----- |
|
|
92
|
-
| `team_mgmt_list_dir` | `fs` | 列出 `.minds/` 下的目录/文件
|
|
93
|
-
| `team_mgmt_read_file` | `txt` | 读取 `.minds/` 下的文本文件
|
|
94
|
-
| `team_mgmt_create_new_file` | `txt` | 在 `.minds/`
|
|
95
|
-
| `team_mgmt_overwrite_entire_file` | `txt` | 覆写 `.minds/`
|
|
96
|
-
| `
|
|
97
|
-
| `
|
|
98
|
-
| `
|
|
99
|
-
| `
|
|
100
|
-
| `
|
|
101
|
-
| `
|
|
102
|
-
| `
|
|
103
|
-
| `
|
|
104
|
-
| `
|
|
105
|
-
| `
|
|
106
|
-
| `
|
|
107
|
-
| `
|
|
108
|
-
| `
|
|
109
|
-
| `
|
|
90
|
+
| 工具名称 | 基于 | 用途 | 默认白名单作用域 |
|
|
91
|
+
| -------------------------------------- | ----- | --------------------------------------------------------- | ---------------- |
|
|
92
|
+
| `team_mgmt_list_dir` | `fs` | 列出 `.minds/` 下的目录/文件 | `.minds/**` |
|
|
93
|
+
| `team_mgmt_read_file` | `txt` | 读取 `.minds/` 下的文本文件 | `.minds/**` |
|
|
94
|
+
| `team_mgmt_create_new_file` | `txt` | 用 content 或 pad 在 `.minds/` 下创建新文件 | `.minds/**` |
|
|
95
|
+
| `team_mgmt_overwrite_entire_file` | `txt` | 用 content 或 pad 覆写 `.minds/` 下的现有文件 | `.minds/**` |
|
|
96
|
+
| `team_mgmt_file_range_edit` | `txt` | 用 content 或 pad 直接按行号范围写入 `.minds/` 文件 | `.minds/**` |
|
|
97
|
+
| `team_mgmt_file_append` | `txt` | 直接在 `.minds/` 下文件末尾追加内容 | `.minds/**` |
|
|
98
|
+
| `team_mgmt_file_insert_after` | `txt` | 直接在 `.minds/` 下锚点后插入内容 | `.minds/**` |
|
|
99
|
+
| `team_mgmt_file_insert_before` | `txt` | 直接在 `.minds/` 下锚点前插入内容 | `.minds/**` |
|
|
100
|
+
| `team_mgmt_file_block_replace` | `txt` | 直接替换 `.minds/` 下锚点限定的块内容 | `.minds/**` |
|
|
101
|
+
| `team_mgmt_prepare_occurrence_replace` | `txt` | 规划 `.minds/` 下字面量 occurrence 替换,偏向多点批量用途 | `.minds/**` |
|
|
102
|
+
| `team_mgmt_apply_occurrence_replace` | `txt` | 应用 `.minds/` 下已规划的字面量 occurrence 替换 plan | `.minds/**` |
|
|
103
|
+
| `team_mgmt_mk_dir` | `fs` | 在 `.minds/` 下创建目录 | `.minds/**` |
|
|
104
|
+
| `team_mgmt_move_file` | `fs` | 移动/重命名 `.minds/` 下的文件 | `.minds/**` |
|
|
105
|
+
| `team_mgmt_move_dir` | `fs` | 移动/重命名 `.minds/` 下的目录 | `.minds/**` |
|
|
106
|
+
| `team_mgmt_rm_file` | `fs` | 删除 `.minds/` 下的文件 | `.minds/**` |
|
|
107
|
+
| `team_mgmt_rm_dir` | `fs` | 删除 `.minds/` 下的目录 | `.minds/**` |
|
|
108
|
+
| `team_mgmt_validate_priming_scripts` | 新建 | 校验 `.minds/priming/**.md` 的路径约束与脚本格式 | `.minds/**` |
|
|
109
|
+
| `team_mgmt_validate_team_cfg` | 新建 | 验证 `.minds/team.yaml` 并将问题发布到问题面板 | `.minds/**` |
|
|
110
|
+
| `man({ "toolsetId": "team_mgmt" })` | 内置 | `team_mgmt` 工具集的手册入口(见下文) | N/A |
|
|
110
111
|
|
|
111
112
|
注意:
|
|
112
113
|
|