diff --git a/.data/settings.json b/.data/settings.json index ae6345b..e73aeca 100644 --- a/.data/settings.json +++ b/.data/settings.json @@ -1,66 +1,6 @@ { - "keepLatestCount": 4, - "githubUsername": "", - "audioModel": "", - "tesseractList": "eng,chi_sim", - "currentAi": "", - "markDescModel": "note-gen-chat", - "promptList": [ - { - "content": "请你扮演一个笔记软件的智能助手,可以参考记录内容,使用 markdown 语法,回答用户的问题。", - "id": "0", - "isDefault": true, - "title": "写作助手" - } - ], - "showEditorUndoRedo": true, - "rerankingModel": "", - "giteaAutoSync": "disabled", - "githubCustomImageRepo": "", - "completionModel": "note-gen-chat", - "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 - } - ], - "gitlabUsername": "", - "currentPromptId": "0", - "gitlabCustomSyncRepo": "", - "primaryImageMethod": "vlm", - "giteaCustomSyncRepo": "my_note_gen", - "speechToTextMode": "auto", - "gitlabCustomUrl": "", - "giteeCustomSyncRepo": "", - "fileManagerTextSize": "sm", - "jsdelivr": true, - "isRagEnabled": false, + "gitlabAutoSync": "disabled", + "autoPullOnOpen": false, "templateList": [ { "content": "整理成一篇详细完整的笔记。\n满足以下格式要求:\n- 如果是代码,必须完整保留,不要随意生成。\n- 文字复制的内容尽量不要修改,只处理格式化后的内容。", @@ -77,49 +17,8 @@ "title": "周报" } ], - "condenseMaxLength": 100, - "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 - } - ], - "version": "0.31.2", - "currentPage": "/mobile/chat", - "darkMode": "system", - "commitModel": "note-gen-chat", - "giteaUsername": "gavindiaz", + "fileManagerTextSize": "sm", + "textToSpeechMode": "auto", "providerTemplatesCache": { "content": { "providers": [ @@ -244,22 +143,99 @@ "versionCode": 103, "versionName": "1.0.3" }, + "currentPage": "/mobile/chat", + "embeddingModel": "note-gen-embedding", + "jsdelivr": true, + "audioModel": "", + "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 + } + ], "giteaCustomUrl": "https://code.aifunny.ltd", - "previewTheme": "github", - "gitlabInstanceType": "gitlab.com", - "primaryModel": "afa3ca45-53b1-4536-92e5-ec37a8fb1509", - "mainImageHosting": "github", + "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.", + "primaryImageMethod": "vlm", + "gitlabCustomSyncRepo": "", + "useImageRepo": false, + "showEditorUndoRedo": true, + "enableCondense": true, + "giteaAutoSync": "disabled", "lastSettingPage": "ai", - "autoUpdate": true, - "textToSpeechMode": "auto", - "gitlabAutoSync": "disabled", - "activeFilePath": "untitled.md", - "imageMethodModel": "note-gen-vlm", - "autoPullOnSwitch": false, + "githubCustomImageRepo": "", + "markDescModel": "note-gen-chat", "githubCustomSyncRepo": "", - "autoSync": "10", - "currentTagId": 1, - "codeTheme": "github", + "githubUsername": "", + "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 + } + ], + "gitlabCustomUrl": "", + "commitModel": "note-gen-chat", + "imageMethodModel": "note-gen-vlm", + "condenseMaxLength": 100, + "rerankingModel": "", + "enableImageRecognition": true, + "isRagEnabled": false, "customThemeColors": { "dark": { "accent": null, @@ -298,8 +274,34 @@ "thirdForeground": null } }, - "giteaInstanceType": "self-hosted", + "version": "0.31.2", "recordTextSize": "sm", + "condenseModel": "note-gen-chat", + "language": "简体中文", + "currentPromptId": "0", + "giteeCustomSyncRepo": "", + "speechToTextMode": "auto", + "inspirationModel": "note-gen-chat", + "completionModel": "note-gen-chat", + "primaryModel": "afa3ca45-53b1-4536-92e5-ec37a8fb1509", + "mcp.servers": [ + { + "createdAt": 1784470022520, + "enabled": true, + "headers": {}, + "id": "mcp-1784470022520", + "lastConnected": 1784503170954, + "name": "polymarket", + "type": "http", + "url": "https://docs.polymarket.com/mcp" + } + ], + "placeholderModel": "", + "activeFilePath": "untitled.md", + "codeTheme": "github", + "autoUpdate": true, + "globalSearchFilter": "all", + "mainImageHosting": "github", "noteGenDefaultModelsCache": { "content": { "models": [ @@ -327,19 +329,26 @@ "versionCode": 103, "versionName": "1.0.3" }, - "inspirationModel": "note-gen-chat", - "enableCondense": true, + "tesseractList": "eng,chi_sim", + "promptList": [ + { + "content": "请你扮演一个笔记软件的智能助手,可以参考记录内容,使用 markdown 语法,回答用户的问题。", + "id": "0", + "isDefault": true, + "title": "写作助手" + } + ], + "previewTheme": "github", + "gitlabUsername": "", + "autoPullOnSwitch": false, + "keepLatestCount": 4, + "giteaInstanceType": "self-hosted", + "gitlabInstanceType": "gitlab.com", + "currentAi": "", + "darkMode": "system", + "currentTagId": 1, "giteeAutoSync": "disabled", - "useImageRepo": false, - "embeddingModel": "note-gen-embedding", - "autoPullOnOpen": false, - "placeholderModel": "", - "sttModel": "note-gen-free-note-gen-stt", - "language": "简体中文", - "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.", - "enableImageRecognition": true, - "globalSearchFilter": "all", - "condenseModel": "note-gen-chat", + "giteaUsername": "gavindiaz", "chatToolbarConfigMobile": [ { "enabled": true, @@ -371,5 +380,8 @@ "id": "newChat", "order": 5 } - ] + ], + "giteaCustomSyncRepo": "my_note_gen", + "sttModel": "note-gen-free-note-gen-stt", + "autoSync": "10" } \ No newline at end of file