diff --git a/.data/settings.json b/.data/settings.json index 5cd912b..e855c9a 100644 --- a/.data/settings.json +++ b/.data/settings.json @@ -1,26 +1,241 @@ { - "githubCustomSyncRepo": "", - "gitlabUsername": "", + "currentPage": "/mobile/record", + "autoPullOnOpen": false, + "commitModel": "note-gen-chat", + "noteGenDefaultModelsCache": { + "content": { + "models": [ + { + "enableStream": true, + "id": "note-gen-chat", + "model": "Qwen/Qwen3-8B", + "modelType": "chat", + "temperature": 0.7, + "topP": 1 + }, + { + "id": "note-gen-embedding", + "model": "BAAI/bge-m3", + "modelType": "embedding" + }, + { + "id": "note-gen-vlm", + "model": "Qwen/Qwen3.5-4B", + "modelType": "chat" + } + ] + }, + "fetchedAt": "2026-07-06T09:49:59.257Z", + "versionCode": 103, + "versionName": "1.0.3" + }, + "gitlabAutoSync": "disabled", + "currentAi": "", + "githubCustomImageRepo": "", + "markDescModel": "note-gen-chat", + "placeholderModel": "", + "activeFilePath": "untitled.md", + "templateList": [ + { + "content": "整理成一篇详细完整的笔记。\n满足以下格式要求:\n- 如果是代码,必须完整保留,不要随意生成。\n- 文字复制的内容尽量不要修改,只处理格式化后的内容。", + "id": "0", + "range": "all", + "status": true, + "title": "笔记" + }, + { + "content": "最近一周的记录整理成一篇周报,将每条记录形成一句总结,每条不超过50字。", + "id": "1", + "range": "week", + "status": true, + "title": "周报" + } + ], + "recordToolbarConfig": [ + { + "enabled": true, + "id": "text", + "order": 0 + }, + { + "enabled": true, + "id": "recording", + "order": 1 + }, + { + "enabled": true, + "id": "scan", + "order": 2 + }, + { + "enabled": true, + "id": "image", + "order": 3 + }, + { + "enabled": true, + "id": "link", + "order": 4 + }, + { + "enabled": true, + "id": "file", + "order": 5 + }, + { + "enabled": true, + "id": "todo", + "order": 6 + } + ], + "giteeAutoSync": "disabled", + "condenseModel": "note-gen-chat", + "lastSettingPage": "ai", + "previewTheme": "github", + "giteaInstanceType": "self-hosted", + "chatToolbarConfigPc": [ + { + "enabled": true, + "id": "modelSelect", + "order": 0 + }, + { + "enabled": true, + "id": "promptSelect", + "order": 1 + }, + { + "enabled": true, + "id": "mcpButton", + "order": 2 + }, + { + "enabled": true, + "id": "ragSwitch", + "order": 3 + }, + { + "enabled": true, + "id": "clipboardMonitor", + "order": 4 + }, + { + "enabled": true, + "id": "newChat", + "order": 5 + } + ], + "inspirationModel": "note-gen-chat", "githubUsername": "", - "speechToTextMode": "auto", + "imageMethodModel": "note-gen-vlm", + "systemPrompt": "You are NoteGen Agent, an efficient note-taking assistant embedded in a Markdown editor.\nUse structured tool calls when action is needed. Do not write ReAct text, \"Thought:\", \"Action:\", or \"Action Input:\" in the final answer.\nAnswer directly when the user is asking a question. Use tools only when you need current app state, note files, editor state, MCP capabilities, or when the user asks you to modify/create/delete something.\n\n## Core Rules\n- Prefer editor tools for the currently open note. Do not overwrite an open editor file through file tools.\n- When the user names a specific Markdown file path, first compare it with the current open file. If it is a different file, do not call editor_get_state or any editor write tool; use note file tools for that named file.\n- If the user asks to open or switch to a Markdown file, use note_open_file. Do not answer that opening files is unsupported.\n- If the user asks to create/new a file, use note_create_file only. If the file already exists, report that it already exists; never switch to update or editor tools unless the user explicitly asks to overwrite/update it.\n- If the user asks to create a Skill, first skill_load the relevant creator skill when available, then create the concrete Skill files. A Skill directory alone is not complete; it must include a SKILL.md with frontmatter and usable instructions.\n- For long runtime scripts, do not pass multiline code through \"node -e\" or \"python -c\"; create a script file under skills/{skill_id}/runtime/ and then call skill_execute_script with that filename.\n- If the user asks to list or inspect MCP services/tools, use mcp_list_tools.\n- If the user explicitly asks to use MCP for a task, use mcp_list_tools and/or mcp_call_tool. Do not replace that request with note or editor tools.\n- If the current note content is already provided in App Context, summarize or analyze that content directly. Do not call editor write tools to place the answer into the note.\n- If the user says not to modify, edit, write, save, create, or delete, do not call any write tool and do not ask for write approval.\n- For quoted/selected content, explain or summarize directly unless the user explicitly asks to edit it.\n- When the user explicitly asks to edit quoted/selected content, use the editor range/line tool and replace only the selected content itself.\n- For edits, preserve user content and scope. Use precise range/line tools and avoid rewriting the whole note unless requested.\n- Use editor_insert_at_cursor only when the user explicitly says to insert at the cursor/current position. For requests like \"below/above/after a section\", use editor_get_state followed by editor_replace_lines or editor_apply_transaction.\n- After each tool result, decide whether the requested task is fully complete. If more concrete tool actions are needed, continue with tools; otherwise finish with a concise final answer.\n- If a tool result says the user denied or cancelled an operation, stop or propose a read-only alternative.", + "autoPullOnSwitch": false, + "showEditorUndoRedo": true, + "condenseMaxLength": 100, + "gitlabCustomSyncRepo": "", + "chatToolbarConfigMobile": [ + { + "enabled": true, + "id": "modelSelect", + "order": 0 + }, + { + "enabled": true, + "id": "promptSelect", + "order": 1 + }, + { + "enabled": true, + "id": "mcpButton", + "order": 2 + }, + { + "enabled": true, + "id": "ragSwitch", + "order": 3 + }, + { + "enabled": true, + "id": "clipboardMonitor", + "order": 4 + }, + { + "enabled": true, + "id": "newChat", + "order": 5 + } + ], "mcp.servers": [ { "createdAt": 1784470022520, "enabled": true, "headers": {}, "id": "mcp-1784470022520", - "lastConnected": 1785940617490, + "lastConnected": 1785942533697, "name": "polymarket", "type": "http", "url": "https://docs.polymarket.com/mcp" } ], - "condenseModel": "note-gen-chat", - "imageMethodModel": "note-gen-vlm", - "showEditorUndoRedo": true, - "currentTagId": 1, - "activeFilePath": "untitled.md", - "currentPromptId": "0", + "gitlabCustomUrl": "", + "customThemeColors": { + "dark": { + "accent": null, + "accentForeground": null, + "background": null, + "border": null, + "card": null, + "cardForeground": null, + "foreground": null, + "muted": null, + "mutedForeground": null, + "primary": null, + "primaryForeground": null, + "secondary": null, + "secondaryForeground": null, + "shadow": null, + "third": null, + "thirdForeground": null + }, + "light": { + "accent": null, + "accentForeground": null, + "background": null, + "border": null, + "card": null, + "cardForeground": null, + "foreground": null, + "muted": null, + "mutedForeground": null, + "primary": null, + "primaryForeground": null, + "secondary": null, + "secondaryForeground": null, + "shadow": null, + "third": null, + "thirdForeground": null + } + }, + "language": "简体中文", + "fileManagerTextSize": "sm", + "autoUpdate": true, + "primaryModel": "afa3ca45-53b1-4536-92e5-ec37a8fb1509", + "isRagEnabled": true, + "giteaAutoSync": "disabled", + "ragChunkSize": 2000, + "textToSpeechMode": "auto", + "darkMode": "system", + "recordTextSize": "sm", + "gitlabUsername": "", + "codeTheme": "github", + "enableCondense": true, + "rerankingModel": "3b1af060-7dcd-4045-a004-0aefe7b5a2fe", + "giteaCustomUrl": "https://code.aifunny.ltd", + "enableImageRecognition": true, + "audioModel": "", + "jsdelivr": true, + "speechToTextMode": "auto", + "sttModel": "note-gen-free-note-gen-stt", "providerTemplatesCache": { "content": { "providers": [ @@ -33,6 +248,15 @@ "templateSource": "remote", "title": "SiliconFlow" }, + { + "apiKeyUrl": "https://www.shengsuanyun.com/?from=CH_YZ0Q43T6", + "baseURL": "https://router.shengsuanyun.com/api/v1", + "enabled": true, + "icon": "https://s2.loli.net/2025/09/15/4qjswKyaRfZ8OxW.png", + "key": "shengsuanyun", + "templateSource": "remote", + "title": "胜算云" + }, { "apiKeyUrl": "https://platform.openai.com/api-keys", "baseURL": "https://api.openai.com/v1", @@ -112,15 +336,6 @@ "templateSource": "remote", "title": "302.AI" }, - { - "apiKeyUrl": "https://www.shengsuanyun.com/?from=CH_KAFLGC9O", - "baseURL": "https://router.shengsuanyun.com/api/v1", - "enabled": true, - "icon": "https://s2.loli.net/2025/09/15/4qjswKyaRfZ8OxW.png", - "key": "shengsuanyun", - "templateSource": "remote", - "title": "胜算云" - }, { "apiKeyUrl": "https://ai.gitee.com/", "baseURL": "https://ai.gitee.com/v1", @@ -141,229 +356,12 @@ } ] }, - "fetchedAt": "2026-07-06T09:50:14.162Z", - "versionCode": 103, - "versionName": "1.0.3" + "fetchedAt": "2026-08-05T14:37:11.490Z", + "versionCode": 104, + "versionName": "1.0.4" }, - "giteeCustomSyncRepo": "", "globalSearchFilter": "all", - "commitModel": "note-gen-chat", - "recordTextSize": "sm", - "currentAi": "", - "isRagEnabled": true, - "primaryModel": "afa3ca45-53b1-4536-92e5-ec37a8fb1509", - "rerankingModel": "3b1af060-7dcd-4045-a004-0aefe7b5a2fe", - "autoSync": "10", - "systemPrompt": "You are NoteGen Agent, an efficient note-taking assistant embedded in a Markdown editor.\nUse structured tool calls when action is needed. Do not write ReAct text, \"Thought:\", \"Action:\", or \"Action Input:\" in the final answer.\nAnswer directly when the user is asking a question. Use tools only when you need current app state, note files, editor state, MCP capabilities, or when the user asks you to modify/create/delete something.\n\n## Core Rules\n- Prefer editor tools for the currently open note. Do not overwrite an open editor file through file tools.\n- When the user names a specific Markdown file path, first compare it with the current open file. If it is a different file, do not call editor_get_state or any editor write tool; use note file tools for that named file.\n- If the user asks to open or switch to a Markdown file, use note_open_file. Do not answer that opening files is unsupported.\n- If the user asks to create/new a file, use note_create_file only. If the file already exists, report that it already exists; never switch to update or editor tools unless the user explicitly asks to overwrite/update it.\n- If the user asks to create a Skill, first skill_load the relevant creator skill when available, then create the concrete Skill files. A Skill directory alone is not complete; it must include a SKILL.md with frontmatter and usable instructions.\n- For long runtime scripts, do not pass multiline code through \"node -e\" or \"python -c\"; create a script file under skills/{skill_id}/runtime/ and then call skill_execute_script with that filename.\n- If the user asks to list or inspect MCP services/tools, use mcp_list_tools.\n- If the user explicitly asks to use MCP for a task, use mcp_list_tools and/or mcp_call_tool. Do not replace that request with note or editor tools.\n- If the current note content is already provided in App Context, summarize or analyze that content directly. Do not call editor write tools to place the answer into the note.\n- If the user says not to modify, edit, write, save, create, or delete, do not call any write tool and do not ask for write approval.\n- For quoted/selected content, explain or summarize directly unless the user explicitly asks to edit it.\n- When the user explicitly asks to edit quoted/selected content, use the editor range/line tool and replace only the selected content itself.\n- For edits, preserve user content and scope. Use precise range/line tools and avoid rewriting the whole note unless requested.\n- Use editor_insert_at_cursor only when the user explicitly says to insert at the cursor/current position. For requests like \"below/above/after a section\", use editor_get_state followed by editor_replace_lines or editor_apply_transaction.\n- After each tool result, decide whether the requested task is fully complete. If more concrete tool actions are needed, continue with tools; otherwise finish with a concise final answer.\n- If a tool result says the user denied or cancelled an operation, stop or propose a read-only alternative.", - "recordToolbarConfig": [ - { - "enabled": true, - "id": "text", - "order": 0 - }, - { - "enabled": true, - "id": "recording", - "order": 1 - }, - { - "enabled": true, - "id": "scan", - "order": 2 - }, - { - "enabled": true, - "id": "image", - "order": 3 - }, - { - "enabled": true, - "id": "link", - "order": 4 - }, - { - "enabled": true, - "id": "file", - "order": 5 - }, - { - "enabled": true, - "id": "todo", - "order": 6 - } - ], - "textToSpeechMode": "auto", - "templateList": [ - { - "content": "整理成一篇详细完整的笔记。\n满足以下格式要求:\n- 如果是代码,必须完整保留,不要随意生成。\n- 文字复制的内容尽量不要修改,只处理格式化后的内容。", - "id": "0", - "range": "all", - "status": true, - "title": "笔记" - }, - { - "content": "最近一周的记录整理成一篇周报,将每条记录形成一句总结,每条不超过50字。", - "id": "1", - "range": "week", - "status": true, - "title": "周报" - } - ], - "previewTheme": "github", - "mainImageHosting": "github", - "giteaUsername": "gavindiaz", - "lastSettingPage": "ai", - "audioModel": "", - "jsdelivr": true, - "language": "简体中文", - "customThemeColors": { - "dark": { - "accent": null, - "accentForeground": null, - "background": null, - "border": null, - "card": null, - "cardForeground": null, - "foreground": null, - "muted": null, - "mutedForeground": null, - "primary": null, - "primaryForeground": null, - "secondary": null, - "secondaryForeground": null, - "shadow": null, - "third": null, - "thirdForeground": null - }, - "light": { - "accent": null, - "accentForeground": null, - "background": null, - "border": null, - "card": null, - "cardForeground": null, - "foreground": null, - "muted": null, - "mutedForeground": null, - "primary": null, - "primaryForeground": null, - "secondary": null, - "secondaryForeground": null, - "shadow": null, - "third": null, - "thirdForeground": null - } - }, - "enableCondense": true, - "condenseMaxLength": 100, - "autoPullOnSwitch": false, - "giteaCustomSyncRepo": "my_note_gen", - "gitlabAutoSync": "disabled", - "noteGenDefaultModelsCache": { - "content": { - "models": [ - { - "enableStream": true, - "id": "note-gen-chat", - "model": "Qwen/Qwen3-8B", - "modelType": "chat", - "temperature": 0.7, - "topP": 1 - }, - { - "id": "note-gen-embedding", - "model": "BAAI/bge-m3", - "modelType": "embedding" - }, - { - "id": "note-gen-vlm", - "model": "Qwen/Qwen3.5-4B", - "modelType": "chat" - } - ] - }, - "fetchedAt": "2026-07-06T09:49:59.257Z", - "versionCode": 103, - "versionName": "1.0.3" - }, - "markDescModel": "note-gen-chat", - "giteaInstanceType": "self-hosted", - "inspirationModel": "note-gen-chat", - "gitlabCustomSyncRepo": "", - "autoPullOnOpen": false, - "giteaCustomUrl": "https://code.aifunny.ltd", - "gitlabCustomUrl": "", - "codeTheme": "github", - "githubCustomImageRepo": "", - "currentPage": "/mobile/setting", - "keepLatestCount": 4, - "enableImageRecognition": true, - "chatToolbarConfigPc": [ - { - "enabled": true, - "id": "modelSelect", - "order": 0 - }, - { - "enabled": true, - "id": "promptSelect", - "order": 1 - }, - { - "enabled": true, - "id": "mcpButton", - "order": 2 - }, - { - "enabled": true, - "id": "ragSwitch", - "order": 3 - }, - { - "enabled": true, - "id": "clipboardMonitor", - "order": 4 - }, - { - "enabled": true, - "id": "newChat", - "order": 5 - } - ], - "chatToolbarConfigMobile": [ - { - "enabled": true, - "id": "modelSelect", - "order": 0 - }, - { - "enabled": true, - "id": "promptSelect", - "order": 1 - }, - { - "enabled": true, - "id": "mcpButton", - "order": 2 - }, - { - "enabled": true, - "id": "ragSwitch", - "order": 3 - }, - { - "enabled": true, - "id": "clipboardMonitor", - "order": 4 - }, - { - "enabled": true, - "id": "newChat", - "order": 5 - } - ], - "giteeAutoSync": "disabled", - "gitlabInstanceType": "gitlab.com", + "githubCustomSyncRepo": "", "promptList": [ { "content": "请你扮演一个笔记软件的智能助手,可以参考记录内容,使用 markdown 语法,回答用户的问题。", @@ -372,17 +370,19 @@ "title": "写作助手" } ], - "giteaAutoSync": "disabled", - "darkMode": "system", - "embeddingModel": "1785cfee-b402-40ef-8e1b-0d6fdc84a616", - "sttModel": "note-gen-free-note-gen-stt", - "placeholderModel": "", - "primaryImageMethod": "vlm", - "version": "0.31.2", - "useImageRepo": false, - "completionModel": "note-gen-chat", - "autoUpdate": true, "tesseractList": "eng,chi_sim", - "ragChunkSize": 2000, - "fileManagerTextSize": "sm" + "autoSync": "10", + "keepLatestCount": 4, + "giteaCustomSyncRepo": "my_note_gen", + "version": "0.31.2", + "giteaUsername": "gavindiaz", + "primaryImageMethod": "vlm", + "completionModel": "note-gen-chat", + "embeddingModel": "1785cfee-b402-40ef-8e1b-0d6fdc84a616", + "gitlabInstanceType": "gitlab.com", + "currentTagId": 1, + "useImageRepo": false, + "mainImageHosting": "github", + "currentPromptId": "0", + "giteeCustomSyncRepo": "" } \ No newline at end of file