chore: Update .gitignore and Makefile for development enhancements

- Added 'logs/' and '*.pid' to .gitignore to exclude log files and process ID files from version control.
- Expanded Makefile with new development commands for easier local environment management, including 'dev-start', 'dev-stop', 'dev-restart', 'dev-logs', 'dev-status', 'dev-app', and 'dev-frontend'.
- Updated README_CN.md to include instructions for the new development mode and commands for improved developer experience.
This commit is contained in:
wizardchen
2025-11-07 15:52:52 +08:00
parent 655df49d7d
commit d387fd672f
24 changed files with 2447 additions and 644 deletions
+8
View File
@@ -84,6 +84,14 @@ export const useSettingsStore = defineStore("settings", {
// Agent 是否启用
isAgentEnabled: (state) => state.settings.isAgentEnabled || false,
// Agent 是否就绪(配置完整)
isAgentReady: (state) => {
const config = state.settings.agentConfig || defaultSettings.agentConfig
return config.thinkingModelId !== '' &&
config.rerankModelId !== '' &&
config.allowedTools.length > 0
},
// 获取 Agent 配置
agentConfig: (state) => state.settings.agentConfig || defaultSettings.agentConfig,