259 lines
9.0 KiB
JSON
259 lines
9.0 KiB
JSON
{
|
|
"gitlabAutoSync": "disabled",
|
|
"giteeAutoSync": "disabled",
|
|
"inspirationModel": "note-gen-chat",
|
|
"currentAi": "",
|
|
"promptList": [
|
|
{
|
|
"content": "请你扮演一个笔记软件的智能助手,可以参考记录内容,使用 markdown 语法,回答用户的问题。",
|
|
"id": "0",
|
|
"isDefault": true,
|
|
"title": "写作助手"
|
|
}
|
|
],
|
|
"showEditorStats": true,
|
|
"condenseMaxLength": 100,
|
|
"showMobileEditorToolbar": true,
|
|
"sttModel": "note-gen-free-note-gen-stt",
|
|
"githubCustomImageRepo": "",
|
|
"recordTextSize": "sm",
|
|
"recordCompletionBehavior": "highlight",
|
|
"ragChunkSize": 2000,
|
|
"gitlabUsername": "",
|
|
"fileManagerTextSize": "sm",
|
|
"canvasMinimapVisible": true,
|
|
"giteaUsername": "gavindiaz",
|
|
"canvasManagerSortMode": "updated",
|
|
"enableImageRecognition": true,
|
|
"canvasInsertBehavior": "select",
|
|
"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.",
|
|
"autoPullOnOpen": false,
|
|
"mcp.servers": [
|
|
{
|
|
"createdAt": 1784470022520,
|
|
"enabled": true,
|
|
"headers": {},
|
|
"id": "mcp-1784470022520",
|
|
"lastConnected": 1785943341155,
|
|
"name": "polymarket",
|
|
"type": "http",
|
|
"url": "https://docs.polymarket.com/mcp"
|
|
}
|
|
],
|
|
"imageMethodModel": "note-gen-vlm",
|
|
"canvasWheelBehavior": "zoom",
|
|
"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
|
|
}
|
|
],
|
|
"autoSync": "10",
|
|
"canvasManagerViewMode": "grid",
|
|
"editorSourceWrap": true,
|
|
"ragStructuredKnowledgeConsent": true,
|
|
"isRagEnabled": true,
|
|
"autoUpdate": true,
|
|
"showEditorUndoRedo": true,
|
|
"gitlabCustomUrl": "",
|
|
"rerankingModel": "3b1af060-7dcd-4045-a004-0aefe7b5a2fe",
|
|
"enableCondense": true,
|
|
"enableOutline": false,
|
|
"fixedRecordTagId": null,
|
|
"globalSearchFilter": "article",
|
|
"editorContentWidth": "full",
|
|
"markDescModel": "note-gen-chat",
|
|
"audioModel": "",
|
|
"version": "0.34.0",
|
|
"condenseModel": "note-gen-chat",
|
|
"currentPromptId": "0",
|
|
"canvasGridStyle": "dots",
|
|
"giteaInstanceType": "self-hosted",
|
|
"editorModel": "",
|
|
"editorLineHeight": "comfortable",
|
|
"recordViewMode": "list",
|
|
"jsdelivr": true,
|
|
"canvasDefaultZoom": 1,
|
|
"commitModel": "note-gen-chat",
|
|
"textToSpeechMode": "auto",
|
|
"giteaAutoSync": "disabled",
|
|
"agentPermissionMode": "ask",
|
|
"language": "简体中文",
|
|
"completionModel": "note-gen-chat",
|
|
"placeholderModel": "",
|
|
"tesseractList": "eng,chi_sim",
|
|
"githubUsername": "",
|
|
"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
|
|
}
|
|
},
|
|
"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",
|
|
"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
|
|
}
|
|
],
|
|
"currentTagId": 1,
|
|
"outlinePosition": "right",
|
|
"recordSaveTargetMode": "current",
|
|
"showSourceLineNumbers": true,
|
|
"embeddingModel": "1785cfee-b402-40ef-8e1b-0d6fdc84a616",
|
|
"templateList": [
|
|
{
|
|
"content": "整理成一篇详细完整的笔记。\n满足以下格式要求:\n- 如果是代码,必须完整保留,不要随意生成。\n- 文字复制的内容尽量不要修改,只处理格式化后的内容。",
|
|
"id": "0",
|
|
"range": "all",
|
|
"status": true,
|
|
"title": "笔记"
|
|
},
|
|
{
|
|
"content": "最近一周的记录整理成一篇周报,将每条记录形成一句总结,每条不超过50字。",
|
|
"id": "1",
|
|
"range": "week",
|
|
"status": true,
|
|
"title": "周报"
|
|
}
|
|
],
|
|
"primaryImageMethod": "vlm",
|
|
"gitlabInstanceType": "gitlab.com",
|
|
"previewTheme": "github",
|
|
"useImageRepo": false,
|
|
"codeTheme": "github",
|
|
"speechToTextMode": "auto",
|
|
"recordSortMode": "newest",
|
|
"autoPullOnSwitch": false,
|
|
"canvasGridVisible": true,
|
|
"agentCorePromptVersion": 3,
|
|
"darkMode": "system",
|
|
"agentSystemPromptExtension": "",
|
|
"keepLatestCount": 4,
|
|
"primaryModel": "afa3ca45-53b1-4536-92e5-ec37a8fb1509",
|
|
"canvasGridGap": 20,
|
|
"canvasSnapToGrid": false,
|
|
"editorViewMode": "visual"
|
|
} |