@geminilight/mindos 0.5.57 → 0.5.58
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/app/app/api/file/route.ts +43 -1
- package/app/app/view/[...path]/page.tsx +3 -3
- package/app/components/DirView.tsx +96 -9
- package/app/components/FileTree.tsx +245 -27
- package/app/components/ask/AskContent.tsx +56 -14
- package/app/lib/actions.ts +53 -25
- package/app/lib/core/create-space.ts +36 -0
- package/app/lib/core/fs-ops.ts +78 -1
- package/app/lib/core/index.ts +8 -0
- package/app/lib/core/types.ts +7 -0
- package/app/lib/fs.ts +78 -5
- package/app/lib/i18n-en.ts +10 -0
- package/app/lib/i18n-zh.ts +10 -0
- package/mcp/README.md +4 -2
- package/mcp/src/index.ts +50 -0
- package/package.json +1 -1
- package/skills/mindos/SKILL.md +2 -0
- package/skills/mindos-zh/SKILL.md +2 -0
package/skills/mindos/SKILL.md
CHANGED
|
@@ -105,6 +105,8 @@ Before any non-trivial write, confirm all checks:
|
|
|
105
105
|
- `mindos_read_file`: Read file content.
|
|
106
106
|
- `mindos_write_file`: Use only for true full replacement.
|
|
107
107
|
- `mindos_create_file`: Create `.md`/`.csv` files.
|
|
108
|
+
- `mindos_create_space`: Create a Mind Space (directory + README + INSTRUCTION scaffold). Prefer over `create_file` when adding a new cognitive zone.
|
|
109
|
+
- `mindos_rename_space`: Rename a Space folder (directory). Do not use `rename_file` for folders.
|
|
108
110
|
- `mindos_delete_file`: Delete only with explicit user intent.
|
|
109
111
|
- `mindos_rename_file`, `mindos_move_file`: Structural edits with follow-up reference checks.
|
|
110
112
|
|
|
@@ -103,6 +103,8 @@ description: >
|
|
|
103
103
|
- `mindos_read_file`:读取文件内容。
|
|
104
104
|
- `mindos_write_file`:仅在确需整文件替换时使用。
|
|
105
105
|
- `mindos_create_file`:创建 `.md`/`.csv` 文件。
|
|
106
|
+
- `mindos_create_space`:新建心智空间(目录 + README + INSTRUCTION 脚手架)。新增整块分区时优先于只建 `某空间/README.md`。
|
|
107
|
+
- `mindos_rename_space`:重命名空间目录(文件夹)。不能用 `rename_file` 重命名目录。
|
|
106
108
|
- `mindos_delete_file`:仅在用户明确意图下删除。
|
|
107
109
|
- `mindos_rename_file`、`mindos_move_file`:结构变更后补做引用检查。
|
|
108
110
|
|