1779195890

This commit is contained in:
Docker7530
2026-05-19 21:04:53 +08:00
parent 7f14056210
commit 521496f2df
31 changed files with 1185 additions and 173 deletions
+1 -3
View File
@@ -22,7 +22,5 @@
"showIndentGuide": false, "showIndentGuide": false,
"spellcheck": false, "spellcheck": false,
"foldIndent": false, "foldIndent": false,
"userIgnoreFilters": [ "userIgnoreFilters": null
"calendar/"
]
} }
+177 -11
View File
@@ -33,6 +33,7 @@
"displaySVGInPreview": false, "displaySVGInPreview": false,
"previewImageType": "SVGIMG", "previewImageType": "SVGIMG",
"renderingConcurrency": 3, "renderingConcurrency": 3,
"imageCacheRetentionDays": 30,
"allowImageCache": true, "allowImageCache": true,
"allowImageCacheInScene": true, "allowImageCacheInScene": true,
"displayExportedImageIfAvailable": false, "displayExportedImageIfAvailable": false,
@@ -109,13 +110,14 @@
"addDummyTextElement": false, "addDummyTextElement": false,
"zoteroCompatibility": false, "zoteroCompatibility": false,
"fieldSuggester": true, "fieldSuggester": true,
"enableOnloadScripts": false,
"compatibilityMode": false, "compatibilityMode": false,
"drawingOpenCount": 0, "drawingOpenCount": 0,
"library": "deprecated", "library": "deprecated",
"library2": { "library2": {
"type": "excalidrawlib", "type": "excalidrawlib",
"version": 2, "version": 2,
"source": "https://github.com/zsviczian/obsidian-excalidraw-plugin/releases/tag/2.22.1", "source": "https://github.com/zsviczian/obsidian-excalidraw-plugin/releases/tag/2.22.3",
"libraryItems": [] "libraryItems": []
}, },
"imageElementNotice": true, "imageElementNotice": true,
@@ -128,6 +130,7 @@
"scriptEngineSettings": {}, "scriptEngineSettings": {},
"previousRelease": "2.20.6", "previousRelease": "2.20.6",
"showReleaseNotes": false, "showReleaseNotes": false,
"excalidrawMasteryPromoCollapsed": false,
"compareManifestToPluginVersion": true, "compareManifestToPluginVersion": true,
"showNewVersionNotification": true, "showNewVersionNotification": true,
"latexBoilerplate": "\\color{blue}", "latexBoilerplate": "\\color{blue}",
@@ -484,15 +487,178 @@
"canvasImmersiveEmbed": true, "canvasImmersiveEmbed": true,
"startupScriptPath": "", "startupScriptPath": "",
"aiEnabled": true, "aiEnabled": true,
"openAIAPIToken": "", "aiVerboseLogging": false,
"openAIDefaultTextModel": "", "aiProviderProfiles": {
"openAIDefaultTextModelMaxTokens": 4096, "OpenAI": {
"openAIDefaultVisionModel": "", "provider": "openai",
"openAIDefaultImageGenerationModel": "", "apiKey": "",
"openAIURL": "", "baseURL": "https://api.openai.com/v1"
"openAIImageGenerationURL": "https://api.openai.com/v1/images/generations", },
"openAIImageEditsURL": "https://api.openai.com/v1/images/edits", "Anthropic": {
"openAIImageVariationURL": "https://api.openai.com/v1/images/variations", "provider": "anthropic",
"apiKey": "",
"baseURL": "https://api.anthropic.com/v1"
},
"Google Gemini": {
"provider": "google",
"apiKey": "",
"baseURL": "https://generativelanguage.googleapis.com/v1beta"
},
"xAI": {
"provider": "xai",
"apiKey": "",
"baseURL": "https://api.x.ai/v1"
},
"OpenAI-compatible": {
"provider": "openai-compatible",
"apiKey": "",
"baseURL": "https://api.openai.com/v1"
}
},
"aiTextModelConfigs": {
"gpt-5-mini": {
"providerId": "OpenAI",
"model": "gpt-5-mini",
"endpoint": "",
"multimodalSupport": true
},
"claude-sonnet-4-5": {
"providerId": "Anthropic",
"model": "claude-sonnet-4-5",
"endpoint": "",
"multimodalSupport": true
},
"gemini-2.5-pro": {
"providerId": "Google Gemini",
"model": "gemini-2.5-pro",
"endpoint": "",
"multimodalSupport": true
},
"grok-4-fast": {
"providerId": "xAI",
"model": "grok-4-fast",
"endpoint": "",
"multimodalSupport": true
}
},
"aiImageModelConfigs": {
"dall-e-2": {
"providerId": "OpenAI",
"model": "dall-e-2",
"supportedSizes": [
"256x256",
"512x512",
"1024x1024"
],
"supportsPromptImageTransforms": true,
"supportsMaskImageEdits": true
},
"dall-e-3": {
"providerId": "OpenAI",
"model": "dall-e-3",
"supportedSizes": [
"1024x1024",
"1792x1024",
"1024x1792"
],
"supportsPromptImageTransforms": false,
"supportsMaskImageEdits": false
},
"gpt-image-1": {
"providerId": "OpenAI",
"model": "gpt-image-1",
"supportedSizes": [
"1024x1024",
"1536x1024",
"1024x1536"
],
"supportsPromptImageTransforms": true,
"supportsMaskImageEdits": true
},
"gpt-image-1-mini": {
"providerId": "OpenAI",
"model": "gpt-image-1-mini",
"supportedSizes": [
"1024x1024",
"1536x1024",
"1024x1536"
],
"supportsPromptImageTransforms": true,
"supportsMaskImageEdits": true
},
"gpt-image-1.5": {
"providerId": "OpenAI",
"model": "gpt-image-1.5",
"supportedSizes": [
"1024x1024",
"1536x1024",
"1024x1536"
],
"supportsPromptImageTransforms": true,
"supportsMaskImageEdits": true
},
"gpt-image-2": {
"providerId": "OpenAI",
"model": "gpt-image-2",
"supportedSizes": [
"1024x1024",
"1536x1024",
"1024x1536",
"2048x2048"
],
"supportsPromptImageTransforms": true,
"supportsMaskImageEdits": true
},
"gemini-2.5-flash-image": {
"providerId": "Google Gemini",
"model": "gemini-2.5-flash-image",
"supportedSizes": [
"1024x1024"
],
"supportsPromptImageTransforms": true,
"supportsMaskImageEdits": false
},
"gemini-3.1-flash-image-preview": {
"providerId": "Google Gemini",
"model": "gemini-3.1-flash-image-preview",
"supportedSizes": [
"1024x1024"
],
"supportsPromptImageTransforms": true,
"supportsMaskImageEdits": false
},
"gemini-3-pro-image-preview": {
"providerId": "Google Gemini",
"model": "gemini-3-pro-image-preview",
"supportedSizes": [
"1024x1024"
],
"supportsPromptImageTransforms": true,
"supportsMaskImageEdits": false
},
"grok-imagine-image-quality": {
"providerId": "xAI",
"model": "grok-imagine-image-quality",
"supportedSizes": [
"1024x1024"
],
"supportsPromptImageTransforms": true,
"supportsMaskImageEdits": false
},
"grok-imagine-image-pro": {
"providerId": "xAI",
"model": "grok-imagine-image-pro",
"supportedSizes": [
"1024x1024"
],
"supportsPromptImageTransforms": true,
"supportsMaskImageEdits": false
}
},
"aiDefaultTextModel": "gpt-5-mini",
"aiDefaultImageGenerationModel": "gpt-image-1",
"aiDefaultMaxOutgoingTokens": 0,
"aiDefaultMaxResponseTokens": 4096,
"modifierKeyConfig": { "modifierKeyConfig": {
"Mac": { "Mac": {
"LocalFileDragAction": { "LocalFileDragAction": {
@@ -782,7 +948,6 @@
"longPressDesktop": 500, "longPressDesktop": 500,
"longPressMobile": 500, "longPressMobile": 500,
"doubleClickLinkOpenViewMode": true, "doubleClickLinkOpenViewMode": true,
"isDebugMode": false,
"rank": "Bronze", "rank": "Bronze",
"modifierKeyOverrides": [ "modifierKeyOverrides": [
{ {
@@ -815,6 +980,7 @@
"margin": "normal" "margin": "normal"
}, },
"disableContextMenu": false, "disableContextMenu": false,
"isDebugMode": false,
"defaultTrayMode": true, "defaultTrayMode": true,
"compactModeOnTablets": true "compactModeOnTablets": true
} }
File diff suppressed because one or more lines are too long
+2 -2
View File
@@ -1,9 +1,9 @@
{ {
"id": "obsidian-excalidraw-plugin", "id": "obsidian-excalidraw-plugin",
"name": "Excalidraw", "name": "Excalidraw",
"version": "2.22.3", "version": "2.23.3",
"minAppVersion": "1.5.7", "minAppVersion": "1.5.7",
"description": "Sketch Your Mind. An Obsidian plugin to edit and view Excalidraw drawings. Enter the world of 4D Visual PKM.", "description": "Sketch Your Mind. Edit and view Excalidraw drawings. Enter the world of 4D Visual PKM.",
"author": "Zsolt Viczian", "author": "Zsolt Viczian",
"authorUrl": "https://excalidraw-obsidian.online", "authorUrl": "https://excalidraw-obsidian.online",
"fundingUrl": "https://ko-fi.com/zsolt", "fundingUrl": "https://ko-fi.com/zsolt",
File diff suppressed because one or more lines are too long
+100 -100
View File
@@ -1,5 +1,105 @@
{ {
"recentFiles": [ "recentFiles": [
{
"basename": "Prompt 02 COSMIC 功能过程",
"path": "resource/ai/prompts/cosmic/Prompt 02 COSMIC 功能过程.md"
},
{
"basename": "开发笔记 7.21.0",
"path": "work/移动杭研/开发记录/7.21.0/开发笔记 7.21.0.md"
},
{
"basename": "05月18日 154321 华为、中兴、自研解封禁联调",
"path": "000-inbox/05月18日 154321 华为、中兴、自研解封禁联调.md"
},
{
"basename": "Prompt 01 COSMIC 需求扩写",
"path": "resource/ai/prompts/cosmic/Prompt 01 COSMIC 需求扩写.md"
},
{
"basename": "Prompt 00 COSMIC v1",
"path": "resource/ai/prompts/cosmic/Prompt 00 COSMIC v1.md"
},
{
"basename": "05月19日 154820",
"path": "000-inbox/05月19日 154820.md"
},
{
"basename": "开发笔记 7.20.0",
"path": "work/移动杭研/开发记录/7.20.0/开发笔记 7.20.0.md"
},
{
"basename": "服务器-美国",
"path": "personal/服务器-美国.md"
},
{
"basename": "服务器-香港",
"path": "personal/服务器-香港.md"
},
{
"basename": "试用业务-时长、流量到期",
"path": "work/移动杭研/业务梳理/业务工单/试用业务-时长、流量到期.md"
},
{
"basename": "ubuntu",
"path": "resource/系统/ubuntu.md"
},
{
"basename": "001 大模型启动流程",
"path": "resource/ai/大模型安装笔记/001 大模型启动流程.md"
},
{
"basename": "Hermes 命令 cli",
"path": "resource/ai/Hermes 命令 cli.md"
},
{
"basename": "Hermes",
"path": "resource/ai/Hermes.md"
},
{
"basename": "个人债务测算",
"path": "000-inbox/个人债务测算.md"
},
{
"basename": "Prompt 06 COSMIC 锐评",
"path": "resource/ai/prompts/cosmic/Prompt 06 COSMIC 锐评.md"
},
{
"basename": "Prompt 05 COSMIC 时序图",
"path": "resource/ai/prompts/cosmic/Prompt 05 COSMIC 时序图.md"
},
{
"basename": "Prompt 04 COSMIC PRD 文档",
"path": "resource/ai/prompts/cosmic/Prompt 04 COSMIC PRD 文档.md"
},
{
"basename": "Prompt 03 COSMIC 子过程",
"path": "resource/ai/prompts/cosmic/Prompt 03 COSMIC 子过程.md"
},
{
"basename": "数据库信息",
"path": "work/移动杭研/项目备忘/数据库信息.md"
},
{
"basename": "Hermes 命令 slash",
"path": "resource/ai/Hermes 命令 slash.md"
},
{
"basename": "数据库设计-监控系统",
"path": "excalidraw/工作相关/数据库设计-监控系统.md"
},
{
"basename": "VSCode 配置文件",
"path": "resource/配置/VSCode 配置文件.md"
},
{
"basename": "vim 快捷键与操作手册",
"path": "resource/系统/vim 快捷键与操作手册.md"
},
{
"basename": "openpalm",
"path": "openpalm/openpalm.md"
},
{ {
"basename": "Claude Code 配置文件", "basename": "Claude Code 配置文件",
"path": "resource/配置/Claude Code 配置文件.md" "path": "resource/配置/Claude Code 配置文件.md"
@@ -24,10 +124,6 @@
"basename": "常用命令", "basename": "常用命令",
"path": "resource/常用命令.md" "path": "resource/常用命令.md"
}, },
{
"basename": "服务器-香港",
"path": "personal/服务器-香港.md"
},
{ {
"basename": "s-ui", "basename": "s-ui",
"path": "resource/系统/网络/s-ui.md" "path": "resource/系统/网络/s-ui.md"
@@ -52,22 +148,6 @@
"basename": "CLAUDE", "basename": "CLAUDE",
"path": "work/移动杭研/AI 项目/CLAUDE.md" "path": "work/移动杭研/AI 项目/CLAUDE.md"
}, },
{
"basename": "开发笔记 7.21.0",
"path": "work/移动杭研/开发记录/7.21.0/开发笔记 7.21.0.md"
},
{
"basename": "开发笔记 7.20.0",
"path": "work/移动杭研/开发记录/7.20.0/开发笔记 7.20.0.md"
},
{
"basename": "openpalm",
"path": "openpalm/openpalm.md"
},
{
"basename": "VSCode 配置文件",
"path": "resource/配置/VSCode 配置文件.md"
},
{ {
"basename": "cache+域名配置工单", "basename": "cache+域名配置工单",
"path": "work/移动杭研/业务梳理/运营工单/cache+域名配置工单.md" "path": "work/移动杭研/业务梳理/运营工单/cache+域名配置工单.md"
@@ -119,86 +199,6 @@
{ {
"basename": "ibs-ai 项目梳理", "basename": "ibs-ai 项目梳理",
"path": "work/移动杭研/AI 项目/ibs-ai 项目梳理.md" "path": "work/移动杭研/AI 项目/ibs-ai 项目梳理.md"
},
{
"basename": "2023-06-08 配合配管和华为平面联调",
"path": "work/移动杭研/联调支撑/2023-06-08 配合配管和华为平面联调.md"
},
{
"basename": "python",
"path": "resource/python/python.md"
},
{
"basename": "Qwen3.5(通义千问 3.5)系列的多模态图文大模型(Vision-Language Models",
"path": "resource/ai/大模型安装笔记/Qwen3.5(通义千问 3.5)系列的多模态图文大模型(Vision-Language Models.md"
},
{
"basename": "python 环境",
"path": "resource/python/python 环境.md"
},
{
"basename": "试用工单",
"path": "work/移动杭研/业务梳理/业务工单/试用工单.md"
},
{
"basename": "万象拼音快捷键与操作指南",
"path": "resource/工具/rime/万象拼音快捷键与操作指南.md"
},
{
"basename": "个人大纲",
"path": "kids-coding/个人大纲.md"
},
{
"basename": "课程目标-初级入门",
"path": "kids-coding/课程目标-初级入门.md"
},
{
"basename": "scratch",
"path": "kids-coding/scratch.md"
},
{
"basename": "课程目标-中级提高",
"path": "kids-coding/课程目标-中级提高.md"
},
{
"basename": "vim 快捷键与操作手册",
"path": "resource/系统/vim 快捷键与操作手册.md"
},
{
"basename": "退休计算器",
"path": "personal/个人/退休计算器.md"
},
{
"basename": "0323-邮件发送异常",
"path": "work/移动杭研/问题处理/2026-03/0323-邮件发送异常.md"
},
{
"basename": "开发笔记",
"path": "work/移动杭研/开发记录/7.19.0/开发笔记.md"
},
{
"basename": "开发笔记",
"path": "work/移动杭研/开发记录/7.8.0/开发笔记.md"
},
{
"basename": "Rime 快捷键",
"path": "resource/工具/rime/Rime 快捷键.md"
},
{
"basename": "情绪价值",
"path": "personal/个人/情绪价值.md"
},
{
"basename": "日志指定域名过滤",
"path": "work/移动杭研/开发记录/7.20.0/日志指定域名过滤.md"
},
{
"basename": "杭州服务器-172.21.30.23-AI",
"path": "work/移动杭研/项目备忘/杭州服务器-172.21.30.23-AI.md"
},
{
"basename": "接口收纳",
"path": "work/移动杭研/业务梳理/接口收纳.md"
} }
], ],
"omittedPaths": [ "omittedPaths": [
+94 -44
View File
@@ -4,20 +4,71 @@
"type": "split", "type": "split",
"children": [ "children": [
{ {
"id": "3b53df791fad9365", "id": "64438af04f4b395c",
"type": "tabs", "type": "tabs",
"children": [ "children": [
{ {
"id": "3380ac457721e5ca", "id": "7642168f74ef821a",
"type": "leaf", "type": "leaf",
"state": { "state": {
"type": "empty", "type": "markdown",
"state": {}, "state": {
"file": "resource/ai/Hermes 命令 cli.md",
"mode": "source",
"source": false,
"backlinks": false
},
"icon": "lucide-file", "icon": "lucide-file",
"title": "新标签页" "title": "Hermes 命令 cli"
}
},
{
"id": "6fa615aca5f7108e",
"type": "leaf",
"state": {
"type": "markdown",
"state": {
"file": "personal/服务器-香港.md",
"mode": "source",
"source": false,
"backlinks": false
},
"icon": "lucide-file",
"title": "服务器-香港"
}
},
{
"id": "e366a44a66017faf",
"type": "leaf",
"state": {
"type": "markdown",
"state": {
"file": "personal/服务器-美国.md",
"mode": "source",
"source": false,
"backlinks": false
},
"icon": "lucide-file",
"title": "服务器-美国"
}
},
{
"id": "3e12e0f7fca28148",
"type": "leaf",
"state": {
"type": "markdown",
"state": {
"file": "calendar/diary/2026-05-19.md",
"mode": "source",
"source": false,
"backlinks": false
},
"icon": "lucide-file",
"title": "2026-05-19"
} }
} }
] ],
"currentTab": 3
} }
], ],
"direction": "vertical" "direction": "vertical"
@@ -50,7 +101,7 @@
"state": { "state": {
"type": "search", "type": "search",
"state": { "state": {
"query": "c64364a13234fc9c7ffcfecb1d59ce69a9", "query": "file: ubu",
"matchingCase": false, "matchingCase": false,
"explainSearch": true, "explainSearch": true,
"collapseAll": false, "collapseAll": false,
@@ -92,7 +143,7 @@
} }
], ],
"direction": "horizontal", "direction": "horizontal",
"width": 262.5 "width": 261.5
}, },
"right": { "right": {
"id": "ca733f6d5936ae40", "id": "ca733f6d5936ae40",
@@ -109,13 +160,13 @@
"state": { "state": {
"type": "outline", "type": "outline",
"state": { "state": {
"file": "calendar/diary/2026年/2026-04-01.md", "file": "calendar/diary/2026-05-19.md",
"followCursor": true, "followCursor": true,
"showSearch": false, "showSearch": false,
"searchQuery": "" "searchQuery": ""
}, },
"icon": "lucide-list", "icon": "lucide-list",
"title": "2026-04-01 的大纲" "title": "2026-05-19 的大纲"
} }
}, },
{ {
@@ -210,7 +261,7 @@
} }
], ],
"direction": "horizontal", "direction": "horizontal",
"width": 293.5 "width": 291.5
}, },
"left-ribbon": { "left-ribbon": {
"hiddenItems": { "hiddenItems": {
@@ -220,49 +271,48 @@
"daily-notes:打开/创建今天的日记": false, "daily-notes:打开/创建今天的日记": false,
"canvas:新建白板": false, "canvas:新建白板": false,
"bases:新建数据库": false, "bases:新建数据库": false,
"obsidian-excalidraw-plugin:New drawing": false, "templater-obsidian:Templater": true,
"templater-obsidian:Templater": true "obsidian-excalidraw-plugin:新建绘图文件": false
} }
}, },
"active": "c8718c0c63702202", "active": "c8718c0c63702202",
"lastOpenFiles": [ "lastOpenFiles": [
"calendar/diary/2026-05-13.md", "resource/ai/prompts/cosmic/Prompt 02 COSMIC 功能过程.md",
"resource/配置/Claude Code 配置文件.md", "work/移动杭研/开发记录/7.21.0/开发笔记 7.21.0.md",
"resource/配置/Codex 配置文件.md", "000-inbox/05月18日 154321 华为、中兴、自研解封禁联调.md",
"000-inbox/ibs-ai-mcp.md", "attachment/Pasted image 20260519174702.png",
"resource/工具/gitleaks.toml.md", "calendar/diary/2026-05-19.md",
"work/移动杭研/业务梳理/ibs-export.md", "attachment/Pasted image 20260519170953.png",
"resource/常用命令.md", "attachment/Pasted image 20260519170006.png",
"work/移动杭研/AI 项目/开发备注.md", "attachment/Pasted image 20260519163906.png",
"calendar/diary/2026年/2026-04-29.md", "attachment/Pasted image 20260519163145.png",
"resource/ai/prompts/cosmic/Prompt 01 COSMIC 需求扩写.md",
"resource/ai/prompts/cosmic/Prompt 00 COSMIC v1.md",
"000-inbox/05月19日 154820.md",
"attachment/Pasted image 20260519140133.png",
"calendar/diary/2026-05-18.md",
"work/移动杭研/开发记录/7.20.0/开发笔记 7.20.0.md",
"personal/服务器-美国.md",
"personal/服务器-香港.md", "personal/服务器-香港.md",
"resource/系统/网络/s-ui.md", "calendar/diary/2026-05-17.md",
"personal/专升本/毕业论文/论文系统.md", "calendar/weeks/2026-W20.md",
"calendar/diary/2026-05-16.md",
"calendar/diary/2026-05-15.md",
"calendar/diary/2026-05-14.md",
"calendar/diary/2026-05-13.md",
"calendar/diary/2026-05-12.md", "calendar/diary/2026-05-12.md",
"calendar/diary/2026-05-11.md", "calendar/diary/2026-05-11.md",
"000-inbox/MCP 学习.md", "work/移动杭研/业务梳理/业务工单/试用业务-时长、流量到期.md",
"resource/ai/labelImg.md", "calendar/diary/2025年/2025-12-30.md",
"000-inbox/05月13日 162628.md", "resource/系统/ubuntu.md",
"work/移动杭研/项目备忘/月报 202604.md", "resource/ai/大模型安装笔记/001 大模型启动流程.md",
"000-inbox/05月13日 154359.md", "attachment/b0a6584f6636a36fa59bd0c5054c8c97.png",
"000-inbox/05月12日 224712.md", "resource/ai/Hermes 命令 cli.md",
"work/移动杭研/AI 项目/CLAUDE.md", "resource/ai/Hermes.md",
"work/移动杭研/开发记录/7.21.0/开发笔记 7.21.0.md", "attachment/Pasted image 20260513222338.png",
"attachment/7e1e741c766535189b32065c7a64eac1.png", "attachment/7e1e741c766535189b32065c7a64eac1.png",
"calendar/diary/2026年/2026-04-30.md",
"calendar/diary/2026年/2026-04-28.md",
"calendar/diary/2026年/2026-04-27.md",
"calendar/diary/2026年/2026-04-26.md",
"attachment/Pasted image 20260512224844.png", "attachment/Pasted image 20260512224844.png",
"attachment/Pasted image 20260512224832.png",
"attachment/Pasted image 20260512224822.png",
"attachment/Pasted image 20260512224810.png",
"attachment/Pasted image 20260512224800.png",
"attachment/Pasted image 20260512224731.png",
"attachment/Pasted image 20260512224719.png",
"work/移动杭研/开发记录/7.21.0", "work/移动杭研/开发记录/7.21.0",
"attachment/becb0e09fea4dbe4e8325f4feb71ddb7.png",
"attachment/189773f040352ec11efbf4db63e8b53f.png",
"openpalm", "openpalm",
"resource/rust", "resource/rust",
"kids-coding", "kids-coding",
@@ -0,0 +1,100 @@
# 华为
```
http://test.okkc.top/heb.jpg
http://test.okkc.top/nmgdx.jpg
http://test.okkc.top/wkc.png
```
## 封禁
### 下发
```
2026-05-18 08:38:46 [e694222eb3c14d19] [e694222eb3c14d19] [] [ibs-portal] [http-nio-8080-exec-9] INFO com.cmcc.cdn.platform.selfservice.service.impl.URLBanLiftServiceImpl 104 urlBanOrLift - URL封禁/解封下发配管参数:{"cp_id":"83537947","operate":0,"task_id":"WG_84e454ab445df9ad78bdecf7a2c6c","urls":[{"areas":["ZJ"],"forbid_share_cache":false,"method":"exact","plain":[1],"url":"http://test.okkc.top/heb.jpg"}]}
2026-05-18 08:38:47 [e694222eb3c14d19] [e694222eb3c14d19] [] [ibs-portal] [http-nio-8080-exec-9] INFO com.cmcc.cdn.platform.selfservice.service.impl.URLBanLiftServiceImpl 106 urlBanOrLift - 向统一网管下发URL封禁/解禁返回参数e{"error_code":0,"error_msg":"success"}
```
### 回调
```
2026-05-19 08:38:29 [5af0086375c91839] [5af0086375c91839] [] [ibs-portal] [http-nio-8080-exec-3] INFO com.cmcc.cdn.platform.selfservice.controller.OmsApiDomainController 1466 urlBanLiftCallback - 统一网管URL封禁/解禁回调参数,urlBanLiftCallBackVO:{"tasks":[{"operate":0,"status":1,"task_id":"WG_84e454ab445df9ad78bdecf7a2c6c"}]}
```
## 解禁
### 下发
```
2026-05-19 08:58:13 [40cc38f9c31c4b22] [40cc38f9c31c4b22] [] [ibs-portal] [http-nio-8080-exec-7] INFO com.cmcc.cdn.platform.selfservice.service.impl.URLBanLiftServiceImpl 104 urlBanOrLift - URL封禁/解封下发配管参数:{"cp_id":"83537947","operate":1,"task_id":"WG_af52d3c8f4890ae8c313c68b84d27","urls":[{"areas":["ZJ"],"forbid_share_cache":false,"method":"exact","plain":[1],"url":"http://test.okkc.top/heb.jpg"}]}
2026-05-19 08:58:13 [40cc38f9c31c4b22] [40cc38f9c31c4b22] [] [ibs-portal] [http-nio-8080-exec-7] INFO com.cmcc.cdn.platform.selfservice.service.impl.URLBanLiftServiceImpl 106 urlBanOrLift - 向统一网管下发URL封禁/解禁返回参数e{"error_code":0,"error_msg":"success"}
```
### 回调
```
2026-05-19 09:04:29 [5e61bcc746cd302d] [5e61bcc746cd302d] [] [ibs-portal] [http-nio-8080-exec-3] INFO com.cmcc.cdn.platform.selfservice.controller.OmsApiDomainController 1466 urlBanLiftCallback - 统一网管URL封禁/解禁回调参数,urlBanLiftCallBackVO:{"tasks":[{"operate":1,"status":1,"task_id":"WG_af52d3c8f4890ae8c313c68b84d27"}]}
```
## 多 URL
### 下发
```
2026-05-19 09:09:36 [09b677d484384b4f] [09b677d484384b4f] [] [ibs-portal] [http-nio-8080-exec-8] INFO com.cmcc.cdn.platform.selfservice.service.impl.URLBanLiftServiceImpl 104 urlBanOrLift - URL封禁/解封下发配管参数:{"cp_id":"83537947","operate":0,"task_id":"WG_0a4e9ca06497b883ab2c1435851f0","urls":[{"areas":["ZJ"],"forbid_share_cache":false,"method":"exact","plain":[1],"url":"http://test.okkc.top/nmgdx.jpg"},{"areas":["ZJ"],"forbid_share_cache":false,"method":"exact","plain":[1],"url":"http://test.okkc.top/wkc.png"}]}
2026-05-19 09:09:36 [09b677d484384b4f] [09b677d484384b4f] [] [ibs-portal] [http-nio-8080-exec-8] INFO com.cmcc.cdn.platform.selfservice.service.impl.URLBanLiftServiceImpl 106 urlBanOrLift - 向统一网管下发URL封禁/解禁返回参数e{"error_code":0,"error_msg":"success"}
```
### 回调
```
2026-05-19 09:14:29 [3df12b80589f53fa] [3df12b80589f53fa] [] [ibs-portal] [http-nio-8080-exec-2] INFO com.cmcc.cdn.platform.selfservice.service.impl.URLBanLiftServiceImpl 164 urlBanLiftUpdate - URL封禁/解封回调参数:param{"tasks":[{"operate":0,"status":1,"task_id":"WG_0a4e9ca06497b883ab2c1435851f0"}]}
```
![](../attachment/Pasted%20image%2020260519170953.png)
# 中兴
```
https://sms-drcn.hihonorcdn.com/sms/20260512_1778575271708/patch_20260512161.zip
https://push.hihonorcdn.com/103412129/95ec15bc36347c636815599f863438ac1.png
```
## 下发
```
2026-05-19 09:51:54 [37d64e05cd954f5e] [37d64e05cd954f5e] [] [ibs-portal] [http-nio-8080-exec-7] INFO com.cmcc.cdn.platform.selfservice.service.impl.URLBanLiftServiceImpl 104 urlBanOrLift - URL封禁/解封下发配管参数:{"cp_id":"83537947","operate":0,"task_id":"WG_20cb8e5274608a97651b261e07491","urls":[{"areas":["ZJ"],"forbid_share_cache":false,"method":"exact","plain":[2],"url":"https://sms-drcn.hihonorcdn.com/sms/20260512_1778575271708/patch_20260512161.zip"},{"areas":["ZJ"],"forbid_share_cache":false,"method":"exact","plain":[2],"url":"https://push.hihonorcdn.com/103412129/95ec15bc36347c636815599f863438ac1.png"}]}
2026-05-19 09:51:54 [37d64e05cd954f5e] [37d64e05cd954f5e] [] [ibs-portal] [http-nio-8080-exec-7] INFO com.cmcc.cdn.platform.selfservice.service.impl.URLBanLiftServiceImpl 106 urlBanOrLift - 向统一网管下发URL封禁/解禁返回参数e{"error_code":0,"error_msg":"success"}
```
## 回调
```
2026-05-19 09:52:29 [cb930538344a7daf] [cb930538344a7daf] [] [ibs-portal] [http-nio-8080-exec-9] INFO com.cmcc.cdn.platform.selfservice.controller.OmsApiDomainController 1466 urlBanLiftCallback - 统一网管URL封禁/解禁回调参数,urlBanLiftCallBackVO:{"tasks":[{"operate":0,"status":0,"task_id":"WG_20cb8e5274608a97651b261e07491"}]}
```
## 下发
```
2026-05-19 09:54:10 [6723e252542e4d27] [6723e252542e4d27] [] [ibs-portal] [http-nio-8080-exec-10] INFO com.cmcc.cdn.platform.selfservice.service.impl.URLBanLiftServiceImpl 104 urlBanOrLift - URL封禁/解封下发配管参数:{"cp_id":"83537947","operate":1,"task_id":"WG_364e5c36c43e9bd58c96151f66bbc","urls":[{"areas":["ZJ"],"forbid_share_cache":false,"method":"exact","plain":[2],"url":"https://sms-drcn.hihonorcdn.com/sms/20260512_1778575271708/patch_20260512161.zip"},{"areas":["ZJ"],"forbid_share_cache":false,"method":"exact","plain":[2],"url":"https://push.hihonorcdn.com/103412129/95ec15bc36347c636815599f863438ac1.png"}]}
2026-05-19 09:54:10 [6723e252542e4d27] [6723e252542e4d27] [] [ibs-portal] [http-nio-8080-exec-10] INFO com.cmcc.cdn.platform.selfservice.service.impl.URLBanLiftServiceImpl 106 urlBanOrLift - 向统一网管下发URL封禁/解禁返回参数e{"error_code":0,"error_msg":"success"}
```
## 回调
```
2026-05-19 09:54:29 [873eaa002f421e4b] [873eaa002f421e4b] [] [ibs-portal] [http-nio-8080-exec-2] INFO com.cmcc.cdn.platform.selfservice.controller.OmsApiDomainController 1466 urlBanLiftCallback - 统一网管URL封禁/解禁回调参数,urlBanLiftCallBackVO:{"tasks":[{"operate":1,"status":0,"task_id":"WG_364e5c36c43e9bd58c96151f66bbc"}]}
```
![](../attachment/Pasted%20image%2020260519174702.png)
# 自研
```
http://yanlian.e.cdn.chinamobile.com/video.ts
http://yanlian.e.cdn.chinamobile.com/intro.html
http://yanlian.e.cdn.chinamobile.com/image.jpg
http://yanlian.e.cdn.chinamobile.com/index.html
```
+78
View File
@@ -0,0 +1,78 @@
我梳理了一下,这块是“URL 封禁/解封”能力,入口是 [ProhibitionController.java](D:/MyCode/Work/yd-hy/ibs-portal/cdn-web/src/main/java/com/cmcc/cdn/platform/selfservice/controller/ProhibitionController.java:217) 的 `POST /api/url/ban`,回调是 [OmsApiDomainController.java](D:/MyCode/Work/yd-hy/ibs-portal/cdn-web/src/main/java/com/cmcc/cdn/platform/selfservice/controller/OmsApiDomainController.java:1462) 的 `POST /action?commandType=banCallBack&version=1`
**主流程**
`/api/url/ban` 根据两个配置开关分流:
`WG_TOTAL_SWITCH=true`,或当前企业在 `WG_ENTERPRISE_ID_SWITCH` 里时,走统一网管新链路:
1. 从请求头 `Tenant-Id` 查企业。
2. 把 `URLDenyAllowTaskVO.urls` 转成统一网管 `UrlBanLiftTaskVO.urls`
3. 校验 URL、域名归属、操作类型、重复封禁等。
4. 生成 `WG_` 开头的 `taskId`
5. 调统一网管/BPM`bpmService.urlBanOrLiftOperate(…)`
6. 下发成功后落库,返回 `taskId`
不命中开关时,走旧链路:
1. 生成 `WS_` 开头的 `itemId`
2. 校验 URL、域名归属、操作类型、重复封禁等。
3. 调旧配管/各平面下发。
4. 落库任务、URL 明细、配管记录、平面下发记录。
**统一网管新链路写入的表**
在 [URLBanLiftServiceImpl.java](D:/MyCode/Work/yd-hy/ibs-portal/cdn-service/src/main/java/com/cmcc/cdn/platform/selfservice/service/impl/URLBanLiftServiceImpl.java:76) 里,下发成功后写:
- `ban_lift_task`
对应实体 `NetworkURLBanLiftTask`。记录任务主表:`task_id``cp_id``operate`
- `ban_lift_url`
对应实体 `NetworkBanLiftURL`。记录每个 URL`url``task_id``areas``method``forbid_share_cache``operate``status``start_time`。初始 `status=11`,表示进行中。
- `ban_lift_task_url`
`ban_lift_task``ban_lift_url` 的关联表。
统一网管链路下发失败时,代码里没有保存这几张表,只返回失败。
**旧链路写入的表**
旧链路在 [ProhibitionServiceImpl.java](D:/MyCode/Work/yd-hy/ibs-portal/cdn-service/src/main/java/com/cmcc/cdn/platform/selfservice/service/impl/ProhibitionServiceImpl.java:253) 的 `pipeUrlDenyAllowed` 里写:
- `deny_allow_task`
任务主表,记录 `item_id``type``status``start_time``cp_id``task_state` 等。
- `deny_allow_url`
URL 明细表,记录 `url``domain``method``areas`
- `deny_allow_task_url`
任务和 URL 的关联表。
- `pipe_config_entity`
配管消息记录,保存 `message_id``target_name=itemId``type=WANG_SU_DENY/WANG_SU_DENY_RESET` 等,用于后续配管回调匹配。
- `ban_or_filter_record`
平面下发记录,保存 `task_id``distribution_plane``success_plane``error_plane``reason``urls``type=ban/unban`
另外,旧链路会更新 Redis 里的企业每日操作次数限制,不是数据库表。
**统一网管回调改哪些表**
你贴的 `banCallBack` 回调只处理统一网管新链路。逻辑在 [URLBanLiftServiceImpl.java](D:/MyCode/Work/yd-hy/ibs-portal/cdn-service/src/main/java/com/cmcc/cdn/platform/selfservice/service/impl/URLBanLiftServiceImpl.java:163)
1. 按回调里的 `taskId``ban_lift_task`
2. 找到该任务下所有 `ban_lift_url`
3. 更新每条 URL 的:
- `status`
- `operate`
- `start_time`
- `end_time`
4. 再通过 `urlBanLiftTaskDao.save(networkURLBanLiftTask)` 保存。
所以业务上主要修改的是:
- `ban_lift_url`
同时因为是通过父对象 `ban_lift_task` 保存,JPA 可能会触发 `ban_lift_task.updated_time` 更新;但任务主表没有业务字段被主动改,关联表 `ban_lift_task_url` 也不会变。
旧链路的回调不是这个接口,它会更新 `deny_allow_task``success_rate``end_time``status``task_state`;但你贴的 `banCallBack` 不会改 `deny_allow_task`
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 214 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 53 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 60 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 43 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 53 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 27 KiB

+2
View File
@@ -33,3 +33,5 @@ https://www.kdocs.cn/l/cj2VeBmqnoXP
开始研究 Hermes。 开始研究 Hermes。
用 gitleaks 检查了一下笔记的密钥。 用 gitleaks 检查了一下笔记的密钥。
[中国就业市场AI影响分析](https://madeye.github.io/jobs/)
+107
View File
@@ -0,0 +1,107 @@
# 任务
- [x] 开发:参加 IBS 项目晨会,同步昨日问题跟进事项。(李春良 0.5)
- [x] 开发:IBS 7.21.0 版本需求开发,3.1 业务开通单(首次开通)开通成功通知优化。(李春良 5)
- [x] 开发:IBS 7.20.0 版本需求联调,mcp 开发,新增工具支持状态控制,前后端联调修复昵称透传乱码问题。(张鹏豪 3.5)
# 日志
二维数组
```
"chess": [
["车","马","象"],
["卒","士","将"]
]
```
软件3.0范式
你给ai说的那个很重要。
理解无法外包。
![](../../attachment/Pasted%20image%2020260513222338.png)
| |
| ----------------------------------- |
| 短信服务 |
| 接口限流 |
| 接口幂等 |
| 邮件服务 |
| Redis分布式锁 |
| 文件管理 |
| Flowable流程引擎核心代码 |
| 报表导出 |
| 数据进制转换 |
| Flowable的字节序列化工具 |
| 图片Base64编码转MultipartFile |
| 文件类型由MultipartFileResource转Resource |
| Spring Cloud Gateway网关路由引擎核心代码 |
| |
代码资源贡献榜
![](http://ep.komect.net/static/img/no1.png)
Java日期格式化工具
193
![](http://ep.komect.net/static/img/no2.png)
反射工具集
186
![](http://ep.komect.net/static/img/no3.png)
工作日判断工具类
116
04
字符串拼接
109
05
java正则表达式常用校验工具类
98
06
添加评论
75
07
SFTP操作能力
75
08
常用正则匹配(检查邮箱名、身份证、邮政编码、电话号码等)
73
09
字符串转义处理
73
10
Java对象常用操作工具类
春良说看看咱们有啥能力能输出的 帮我编几个靠谱的。
# 总结
了解了一下 Hermes,准备搞一些产出。
+9
View File
@@ -0,0 +1,9 @@
# 任务
- [x] 开发:参加 IBS 项目晨会,同步昨日问题跟进事项。(李春良 0.5)
- [x] 开发:IBS 7.21.0 版本需求开发,3.5 IBS平台试用到期提醒通知能力优化。(李春良 7.5)
- [x] 客响:内容管理任务状态查询接口,字段类型不匹配。接口文档是数值类型,实际接口请求到的是字符类型。请求成功接口文档是201,实际响应状态码是200。答复:代码响应状态码就是 200,status 代码就是 字符串。(佟彤 0.5)
# 日志
# 总结
+59
View File
@@ -0,0 +1,59 @@
# 任务
# 日志
config_sub.json 是我的基础配置文件,除了配置节点都在里边。
我原来的使用方式是把节点和配置文件在 substore 通过 auto-group.js 进行组合也就是最终得到一个完整配置,我再通过 singbox.ps1 拉取完整的配置使用。
现在我想再精简一步,也就是 substore 只负责节点。我想把 节点和 config_sub.json 的组合放到我本地写一个 powerseller 脚本。
从 substore 拉到的配置是这种格式:
```
{
"outbounds": [
{
"tag": "公益 🇺🇸 美国 1",
"type": "vmess",
"server": "82.198.246.214",
"server_port": 180,
"uuid": "d13fc2f5-3e05-4795-81eb-44143a09e552",
"security": "auto",
"alter_id": 0
},
],
"endpoints": []
}
```
是否可以实现,先做一个方案预测,可不可以不都塞在 singbox.ps1 里,可以像我写 java 一样,做一个工具 ps1 然后 singbox.ps1 调用么?
OH卡。
拍 vole-墨鱼日记 ,剪辑-南门录像厅,口播-许美达,文案-舒老师,楠哥的课
# 总结
今天参加了北幼师的儿童家庭教育和心里任性的主题讲座。同时也接触了心理学投影工具,OH 卡。讲座围绕《心理韧性:如何培养内心强大的孩子》,心理韧性不是天生的,而是一种可以通过后天训练提升的能力。
心理韧性强弱特征
| **维度** | **心理韧性强的孩子特征** | **心理韧性弱的孩子特征** |
| --------- | --------------------------------------------------- | ----------------------------------------- |
| **情绪** | 来得快、去得快;能被安抚、愿意接受大人抱抱;能表达简单情绪(我生气/害怕/不要),不再用哭闹代替一切。 | 只会用打人、摔东西、打滚的方式发泄情绪;情绪爆发后很难平复,需要成人长时间哄劝。 |
| **受挫适应** | 遇到突发事件(如积木倒了、拼图拼不上)会主动想办法,有多次尝试的动作与方式。 | 遇到困难自己完全不尝试,等着成人解决。 |
| **社交与自理** | 不记仇、不回避社交;简单自理愿意尝试(自己吃饭、穿鞋、收玩具),做不好也愿意再学。 | 不愿意和同伴互动,总是自己待着;被欺负或遇到困难时,只会闷着哭,不知道向成人求助。 |
| **性格内核** | 安全感足、好奇心强、有基本的规则意识。 | 安全感不足、不爱探索、不愿意尝试新事物;随心所欲、易争抢打闹、不懂约束。 |
OH卡
在讲座现场看到了讲师使用的水彩风格卡片(由88张图卡和88张字卡组成)。
- **名称:** OH卡(也叫**潜意识直觉卡/投射卡**)。
- **用途:** 一种非常流行的心理学专业工具。主要用于**潜意识探索、自我对话以及心理咨询**。通过看图说话或字图结合的方式,能够很巧妙地把内心深处的潜意识想法“投射”出来。
- 讲师本人的头衔也非常丰富:正面管教双讲师、国际认证鼓励咨询师、性格行为模式分析师、**欧卡(OH卡)潜意识解读师**。
**Particleify** 的神奇网页工具(可以将静态图片或3D模型GLB秒变互动的3D粒子动效,支持导出HTML或MP4,非常酷炫,有空可以体验一下)。
傍晚下雨了,我还把之前田宝小时候的积木玩具拼好了,说起来自己还是第一次玩儿类似乐高类的玩具。拼完还是挺有成就感的呢。晚上海阳找吃饭,但是自己不想出去了最近,只想自己在家里带着瞎折腾。
+7
View File
@@ -0,0 +1,7 @@
# 任务
# 日志
# 总结
上午搞了半天的 sing-box,再也不弄了,再也不弄了。
+83
View File
@@ -0,0 +1,83 @@
# 任务
- [x] 开发:参加 IBS 项目晨会,同步昨日问题跟进事项。(李春良 0.5)
- [x] 开发:IBS 7.21.0 版本需求开发,3.6 IBS平台邮件通知机制优化—IBS发政企邮件收件人列表增加政企管理员,待自测。(李春良 5.5)
- [x] 联调:华为、中兴、自研解封禁联调,防火墙策略不通,反馈寅杰开通。(李春良 2)
# 日志
现在有个需求:
```
CERT_ADD_SUCCESS_WARNING("email/certAddSuccessWarningMail","证书新增成功反馈")
```
```
<!DOCTYPE html><html lang="en" xmlns:th="http://www.thymeleaf.org"><head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title th:remove="all">证书新增成功反馈</title>
</head>
<body>
<p>
尊敬的<a th:text="${contactName}" id="cdn-autoid-2"></a><span></span>
</p>
<br>
<p style="text-indent:2em">
<span>检测到</span><span th:text="${enterpriseName}"></span>的<span th:text="${domains}"></span>域名<span style="font-weight: bold">已成功绑定</span><span th:text="${crtName}"></span>证书,请知悉。
</p>
<br>
<p style="text-align:right">
中国移动内容分发
</p>
</body></html>
```
这个邮件只发给了客户,现在需要增加对应的 客户经理管理员。
但是这个服务在 crt,获取更多的信息需要通过 portal 那边,可能需要通过调用 PortalForCrtController 接口的形式获取邮件信息。
关于获取邮箱我前端时间搞过一个获取客户经理管理员邮箱的方法可以参考思路:
```
@Override
public List<User> getAccountManagerList(String provinceCode) {
List<User> userList;
if (ProvinceEnum.Zhengqi.getCode().equalsIgnoreCase(provinceCode) ||
ProvinceEnum.Guoji.getCode().equalsIgnoreCase(provinceCode) ||
ProvinceEnum.Jituan.getCode().equalsIgnoreCase(provinceCode)) {
userList = userRepository.findByRoleAndState(RoleEnum.CMA_ZQ.getRole(), UserStateEnum.NORMAL.getValue());
} else {
userList = findUserByRoleCodeAndProvinceCodeAndState(RoleEnum.CMA_ZQ_PRV.getRole(),
provinceCode,
UserStateEnum.NORMAL);
}
return userList;
}
```
我这个项目过于复杂,使用相关字段和概念一定要分析清楚,有依据。搞完不需要编译,因为这个项目需要手动编译,注意有标准的中文注释和日志。因为只是加发件人,千万不要影响原来的逻辑。
```
CRT_HOST='http://127.0.0.1:8077'
URI='/certificate/service/system/config/save'
ACCESS_KEY='ZbpUBaVB'
SECRET_KEY='18b81d9b49ed230270129ebd0a73416b9a77e1fdfbab03aedace1044b5c345a3'
BODY='{"configKey":"IBS_SERVER_URL","configValue":"http://172.21.145.113:8080","description":"IBS服务地址"}'
TS=$(printf '%X' "$(date +%s)")
N1=$(printf '%s' "$RANDOM$RANDOM$(date +%N)" | xxd -p -c 256 | tr '[:lower:]' '[:upper:]')
K2=$(printf '%s' "$N1" | openssl dgst -sha256 -hmac "$SECRET_KEY" -binary | xxd -p -c 256)
TOKEN=$(printf '%s' "${URI}${TS}${BODY}" | openssl dgst -sha256 -hmac "$K2" -binary | xxd -p -c 256 | tr '[:lower:]' '[:upper:]')
AUTH="${N1}|${TS}|${TOKEN}"
curl -sS -X POST "${CRT_HOST}${URI}" \
-H "Content-Type: application/json" \
-H "AccessKey: ${ACCESS_KEY}" \
-H "Authorization: ${AUTH}" \
-d "${BODY}"
```
# 总结
+62
View File
@@ -0,0 +1,62 @@
# 任务
- [x] 开发:参加 IBS 项目晨会,同步昨日问题跟进事项。(李春良 0.5)
- [x] 开发:IBS 7.21.0 版本需求开发,3.8 自主化配置-配置失败新增SA人员&新增失败原因描述,待自测。(李春良 3.5)
- [x] 联调:华为、中兴、自研解封禁联调,华为平面任务联调完成,查询任务部分功能存在异常。(李春良 4)
# 日志
kanban
browser
![](../../attachment/Pasted%20image%2020260519140133.png)
```
Select API compatibility mode:
1. Auto-detect [current]
Use Hermes URL heuristics; best for standard OpenAI-compatible endpoints.
2. Chat Completions
Use /chat/completions for standard OpenAI-compatible servers.
3. Responses / Codex
Use /responses for Codex-compatible tool-calling backends.
4. Anthropic Messages
Use /v1/messages for Anthropic-compatible endpoints.
Choice [1-4, Enter to keep current/detected]:
```
```
curl --location 'http://112.17.28.102:50001/action?commandType=manageDomainCallBack&version=1&domain=app.free.migudm.cn' \
--header 'accesskey: BPM_OMC' \
--header 'Content-Type: application/json' \
--data '{
"callback_type": "state_change",
"task_id": "xxxxxxxxxxxxx",
"domains": [
{
"domain": "DevReq1766405A.komect.com",
"cp_id": "80123001",
"provinces": "QG",
"result": 0
}
],
"plain": [
1
]
}'
```
【金山文档 | WPS云文档】 V7.20.0-eoms工作量填报-待修改
https://www.kdocs.cn/l/cbEqmZTPiRvX
1. 查询接口如果配管无数据返回会空指针。
2. 我们对外接口文档 type 任务类型,0-封禁; 1-解禁;2-封禁+解 禁 这里传 2 我们逻辑有问题。
3. 我们对外接口文档 status 任务状态,0-等待 中;1-成功;2-失败 实际配管没 0 , 但是 1 或 2 配管筛选貌似没有生效。
# 总结
+1
View File
@@ -0,0 +1 @@
YOLO、张泽开发、幼儿园、gitleaks、Hermes、田宝幼儿园、OH 卡、 sing-box
-4
View File
@@ -120,7 +120,3 @@ OCR 图片太脏 → 清理背景
车牌识别 → 去干扰 车牌识别 → 去干扰
边缘检测前处理 → 提高效果 边缘检测前处理 → 提高效果
---
https://mirrors.tuna.tsinghua.edu.cn/anaconda/miniconda/Miniconda3-latest-Windows-x86_64.exe
+27
View File
@@ -0,0 +1,27 @@
38.165.45.71
```
curl -fsSL https://cloud.vipcloud.cc/vipcloud_disk.sh | sudo bash
```
```
ssh-keygen -R "[38.165.45.71]:1222"
ssh -p 1222 root@38.165.45.71
Qu0guq4xUh11
```
```bash
#!/bin/bash
echo "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIOQApM6GFtXYqBIS272xShQCgfi7tMoQCPda2yCNQ5u1 docke@DESKTOP-94N4D8V" >> ~/.ssh/authorized_keys
sudo tee /etc/ssh/sshd_config.d/myself.conf > /dev/null <<'EOF'
PubkeyAuthentication yes
# PasswordAuthentication no
EOF
sudo sshd -t
sudo systemctl daemon-reload
sudo systemctl reload ssh
echo "配置完成并重新加载 ssh 服务"
```
+4
View File
@@ -2,6 +2,10 @@
先删除 ssh 密钥和会话,防止第一次链接失败。 先删除 ssh 密钥和会话,防止第一次链接失败。
```
curl -fsSL https://cloud.vipcloud.cc/vipcloud_disk.sh | sudo bash
```
# 1Panel【域名】 # 1Panel【域名】
## 1)安装面板 ## 1)安装面板
+77
View File
@@ -0,0 +1,77 @@
hermes skills search "Self-Improving Agent" --source clawhub
hermes skills search find-skills --source skills-sh
hermes skills install clawhub/community/self-improving-agent-skill
hermes profile create my-agent
hermes dashboard --host 0.0.0.0 --port 9119 --insecure
| 分类 | 指令 | 参数 | 参数说明 | 适用场景 | 注意事项 | | | | | |
| ------------ | ----------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -------------------------------------- | ---------------------------------- | -------------------------------------------------------------------- | ------------- | ------------------------------------------------------------------- | --------------- | --------- | --------------- |
| 启动/聊天 | `hermes` / `hermes chat` | `-q/--query`, `--image`, `-m/--model`, `--provider`, `-t/--toolsets`, `-s/--skills`, `-v`, `-Q`, `-r/--resume`, `-c/--continue`, `-w/--worktree`, `--checkpoints`, `--max-turns`, `--yolo`, `--tui`, `--dev` | 启动交互/单轮聊天,指定模型、工具集、技能、会话、TUI 等 | 日常使用 Hermes Agent | 顶层也支持 `-z/--oneshot` 脚本模式;`--yolo` 会跳过危险命令审批 | | | | | |
| 启动/聊天 | `hermes -z/--oneshot <prompt>` | `PROMPT`,可配 `-m --provider -t -s --resume --worktree` | 单次执行,只输出最终答案 | 脚本、管道、CI | 自动绕过审批,输出更适合机器消费 | | | | | |
| 模型 | `hermes model` | `--portal-url`, `--inference-url`, `--client-id`, `--scope`, `--no-browser`, `--timeout`, `--ca-bundle`, `--insecure` | 选择/登录默认模型与 provider | 初始化或切换推理后端 | 涉及 OAuth/TLS 参数,`--insecure` 仅测试 | | | | | |
| 模型 | `hermes fallback list/add/remove/clear` | `list(ls)`, `add`, `remove(rm)`, `clear` | 管理主模型失败后的 fallback provider 链 | 抗限流、故障转移 | `add/remove` 通常进入交互选择 | | | | | |
| 网关 | `hermes gateway run` | `-v`, `-q`, `--replace`, `--accept-hooks` | 前台运行消息网关 | WSL/Docker/Termux/调试 | `--replace` 会替换已有实例 | | | | | |
| 网关 | `hermes gateway start/stop/restart` | `--system`, `--all` | 管理 systemd/launchd 后台服务 | 生产运行 Gateway | `--all` 跨 profile 处理,慎用 | | | | | |
| 网关 | `hermes gateway status` | `--deep`, `--full`, `--system` | 查看 Gateway 服务状态 | 排障 | `--deep` 更慢但更完整 | | | | | |
| 网关 | `hermes gateway install/uninstall` | `--force`, `--system`, `--run-as-user` | 安装/卸载 Gateway 服务 | 部署后台消息机器人 | Linux system 服务需明确运行用户 | | | | | |
| 网关 | `hermes gateway list/setup/migrate-legacy` | `migrate-legacy --dry-run -y` | 列 profile 状态、配置平台、清理旧 service | 多平台/升级维护 | `migrate-legacy` 默认会确认 | | | | | |
| 配置 | `hermes setup` | `[model | tts | terminal | gateway | tools | agent]`, `--non-interactive`, `--reset`, `--reconfigure`, `--quick` | 交互式初始化配置 | 首次安装/重新配置 | `--reset` 会重置配置 |
| 集成 | `hermes whatsapp` | 无 | 配置 WhatsApp 并扫码配对 | WhatsApp Gateway | 依赖平台后端 | | | | | |
| 集成 | `hermes slack manifest` | `--write [PATH]`, `--name`, `--description`, `--slashes-only` | 生成 Slack app manifest | 注册 Slack slash commands | Slack 原生命令数量有限,源码有裁剪逻辑 | | | | | |
| 认证 | `hermes login/logout` | `--provider`, OAuth/TLS 参数 | 登录或清除 provider 凭据 | Nous/OpenAI Codex/Spotify 等认证 | `logout` 默认 active provider | | | | | |
| 认证 | `hermes auth add/list/remove/reset/status/logout/spotify` | `provider`, `target`, `--type`, `--api-key`, OAuth 参数;`spotify login/status/logout` | 管理凭据池和 Spotify PKCE | 多账号、多 key、音乐工具 | API key 可交互输入,避免写进 shell 历史 | | | | | |
| 状态 | `hermes status` | `--all`, `--deep` | 展示组件状态 | 总体诊断 | 输出会做分享友好的脱敏 | | | | | |
| 定时 | `hermes cron list/create/add/edit/pause/resume/run/remove/status/tick` | `schedule`, `prompt`, `job_id`, `--name`, `--deliver`, `--repeat`, `--skill`, `--script`, `--no-agent`, `--workdir`, `--accept-hooks` | 管理计划任务 | 定时报表、巡检、自动化 | `--no-agent` 只跑脚本;`run/tick` 可触发 hook 审批 | | | | | |
| Webhook | `hermes webhook subscribe/list/remove/test` | `name`, `--prompt`, `--events`, `--description`, `--skills`, `--deliver`, `--deliver-chat-id`, `--secret`, `--deliver-only`, `--payload` | 动态 webhook 订阅 | 事件驱动触发 agent | `--deliver-only` 零 LLM 成本 | | | | | |
| 看板 | `hermes kanban …` | 全局 `--board` | 多 profile 协作任务系统 | 多 agent 分工、任务队列 | 子命令很多,见下表 | | | | | |
| Hooks | `hermes hooks list/test/revoke/doctor` | `event`, `--for-tool`, `--payload-file`, `command` | 检查/测试 shell hooks 和 consent allowlist | 扩展生命周期钩子 | revoke 重启后生效 | | | | | |
| 诊断 | `hermes doctor` | `--fix`, `--ack ADVISORY_ID` | 检查配置依赖/安全公告 | 安装和故障排查 | `--fix` 会尝试修改环境 | | | | | |
| 诊断 | `hermes dump` | `--show-keys` | 输出紧凑支持信息 | 提 issue/Discord 支持 | 默认不展示 key 片段 | | | | | |
| 诊断 | `hermes debug share/delete` | `--lines`, `--expire`, `--local`, `--no-redact`, `urls…` | 上传/删除 debug paste | 远程排错 | 默认上传前脱敏;`--no-redact` 慎用 | | | | | |
| 备份 | `hermes backup` | `-o/--output`, `-q/--quick`, `-l/--label` | 备份 Hermes home | 迁移/升级前保存状态 | 不备份代码仓库本身 | | | | | |
| 备份 | `hermes import` | `zipfile`, `--force` | 从备份 zip 恢复 | 迁移/回滚 | `--force` 覆盖已有文件 | | | | | |
| Checkpoints | `hermes checkpoints status/list/prune/clear/clear-legacy` | `--limit`, `--retention-days`, `--max-size-mb`, `--keep-orphans`, `-f` | 管理 `/rollback` 文件快照库 | 清理 checkpoint 占用 | `clear` 会删除所有 rollback 历史 | | | | | |
| 配置 | `hermes config show/edit/set/path/env-path/check/migrate` | `key`, `value` | 查看、编辑、设置、迁移配置 | 配置维护 | 非 secret 设置进 `config.yaml`secret 应在 `.env` | | | | | |
| 授权 | `hermes pairing list/approve/revoke/clear-pending` | `platform`, `code`, `user_id` | 管理 DM pairing code | Gateway 用户授权 | 用于受控接入 | | | | | |
| Skills | `hermes skills browse/search/install/inspect/list/check/update/audit/uninstall/reset/publish/snapshot/tap/config` | `identifier`, `query`, `--source`, `--limit`, `--force`, `--yes`, `--category`, `--name`, `--restore`, `--to`, `--repo` | 搜索、安装、审计、发布、配置 skills | 扩展 Hermes 能力 | `config` 是交互式;URL 安装会扫描风险 | | | | | |
| Plugins | `hermes plugins install/update/remove/list/enable/disable` | `identifier`, `name`, `--force`, `--enable`, `--no-enable` | 管理插件 | 安装第三方/本地扩展 | 插件可再注册新 CLI/slash 命令 | | | | | |
| Curator | `hermes curator status/run/pause/resume/pin/unpin/restore/list-archived/archive/prune/backup/rollback` | `skill`, `--sync`, `--background`, `--dry-run`, `--days`, `--yes`, `--reason`, `--list`, `--id` | 技能生命周期维护 | 自动归档 agent-created stale skills | 不会删除 bundled/hub skills;归档可恢复 | | | | | |
| Memory | `hermes memory setup/status/off/reset` | `--yes`, `--target all | memory | user` | 配置外部 memory provider 或清空内置记忆 | 记忆系统维护 | `reset` 会删除 `MEMORY.md/USER.md` | | | |
| Tools | `hermes tools [list | enable | disable]` | `--summary`, `--platform`, `NAME…` | 配置各平台工具/工具集/MCP 工具 | 控制 agent 可用工具 | 无子命令时打开交互 UI | | | |
| Computer Use | `hermes computer-use install/status` | `--upgrade` | 安装/检查 macOS cua-driver | 电脑控制工具集 | macOS 专用 | | | | | |
| MCP | `hermes mcp serve/add/remove/list/test/configure/login` | `name`, `--url`, `--command`, `--args`, `--auth`, `--preset`, `--env`, `--verbose`, `--accept-hooks` | 管理 MCP server 或把 Hermes 暴露为 MCP server | 接入外部工具生态 | `add` 支持 HTTP/SSE 或 stdio | | | | | |
| Sessions | `hermes sessions list/export/delete/prune/stats/rename/browse` | `--source`, `--limit`, `output`, `--session-id`, `session_id`, `--older-than`, `--yes`, `title…` | 管理历史会话数据库 | 查找、导出、删除、恢复会话 | 默认隐藏 source=`tool` 的第三方会话 | | | | | |
| Insights | `hermes insights` | `--days`, `--source` | 生成用量/成本/工具分析 | 复盘使用情况 | 依赖 SQLite session 数据 | | | | | |
| 迁移 | `hermes claw migrate/cleanup` | `--source`, `--dry-run`, `--preset`, `--overwrite`, `--migrate-secrets`, `--no-backup`, `--workspace-target`, `--skill-conflict`, `--yes` | 从 OpenClaw 迁移/清理 | 旧项目迁移到 Hermes | secrets 必须显式 `--migrate-secrets` | | | | | |
| 版本/更新 | `hermes version/update/uninstall` | `update --check --backup --no-backup -y --gateway`; `uninstall --full -y` | 版本查看、更新、卸载 | 维护安装 | `uninstall --full` 会移除配置和数据 | | | | | |
| ACP | `hermes acp` | `--accept-hooks` | 启动 ACP server | VS Code/Zed/JetBrains 集成 | 需要 acp 依赖 | | | | | |
| Profile | `hermes profile list/use/create/delete/show/alias/rename/export/import/install/update/info` | `profile_name`, `archive`, `source`, `--clone`, `--clone-all`, `--clone-from`, `--no-alias`, `--no-skills`, `--force`, `--alias`, `--force-config`, `--yes` | 多 profile 隔离管理 | 多身份、多项目、多环境 | profile 数据相互隔离 | | | | | |
| Shell | `hermes completion` | `bash | zsh | fish` | 输出 shell completion | 命令补全安装 | 默认 bash | | | |
| Dashboard | `hermes dashboard` | `--port`, `--host`, `--no-open`, `--insecure`, `--tui`, `--skip-build`, `--stop`, `--status` | 启动/管理 Web UI | 配置、会话、嵌入 TUI | `--insecure` 会暴露本地管理面板,慎用 | | | | | |
| Logs | `hermes logs` | `[agent | errors | gateway | list]`, `-n`, `-f`, `--level`, `--session`, `--since`, `--component` | 查看/过滤日志 | 排障、跟踪运行 | `-f` 类似 tail -f | | |
| LSP | `hermes lsp status/list/install/install-all/restart/which` | `--json`, `--installed-only`, `server`, `--include-manual` | 管理语义诊断 LSP 层 | 写文件/patch 后诊断 | 某些 server 需手动依赖,如 shellcheck | | | | | |
**Kanban 子命令速查**
| 指令 | 参数 | 适用场景 | 注意事项 |
|---|---|---|---|
| `hermes kanban boards list/create/rm/switch/show/rename` | `slug`, `--json`, `--all`, `--name`, `--description`, `--icon`, `--color`, `--switch`, `--delete` | 多项目看板隔离 | `rm` 默认归档,`--delete` 才硬删 |
| `hermes kanban create/list/show/assign/reclaim/reassign/diagnostics` | `title`, `task_id`, `profile`, `--body`, `--assignee`, `--parent`, `--workspace`, `--tenant`, `--priority`, `--triage`, `--json` | 创建、查询、分配任务 | `--workspace` 支持 `scratch/worktree/dir:<path>` |
| `hermes kanban link/unlink/claim/comment/complete/edit/block/unblock/archive` | `parent_id child_id`, `task_ids`, `--ttl`, `--author`, `--result`, `--summary`, `--metadata`, `--ids` | 依赖、领取、评论、完成、阻塞、归档 | `complete/edit` 可写结构化 metadata |
| `hermes kanban tail/dispatch/daemon/watch/stats/gc` | `--interval`, `--dry-run`, `--max`, `--failure-limit`, `--assignee`, `--tenant`, `--kinds`, `--event-retention-days` | 事件流、调度、统计、清理 | `daemon` 已标注 deprecated,推荐 Gateway 调度 |
| `hermes kanban notify-subscribe/notify-list/notify-unsubscribe/log/runs/heartbeat/assignees/context/specify` | `task_id`, `--platform`, `--chat-id`, `--thread-id`, `--user-id`, `--tail`, `--note`, `--all`, `--author` | Gateway 通知、worker 日志、运行记录、triage 细化 | `specify` 使用 auxiliary LLM |
**源码内置插件 CLI**
| 分类 | 指令 | 参数 | 参数说明 | 适用场景 | 注意事项 |
|---|---|---|---|---|---|
| Google Meet 插件 | `hermes google-meet setup/install/auth/join/status/transcript/say/stop/node` | `join <url> --guest-name --duration --headed`; `transcript --last`; `say <text> --node` | 管理 Meet bot、入会、发言、转录 | 会议自动化 | 插件启用/发现后才注册 |
| Google Meet Node | `hermes google-meet node run/list/approve/remove/status/ping` | `--host`, `--port`, `--display-name`, `name url token` | 远程 meeting node 管理 | 分布式 Meet 控制 | 属于 google_meet 插件子树 |
| Teams Pipeline 插件 | `hermes teams-pipeline list/show/run/fetch/subscriptions/subscribe/renew-subscription/delete-subscription/maintain-subscriptions/token-health/validate` | `job_id`, `--meeting-id`, `--join-web-url`, `--resource`, `--notification-url`, `--expiration`, `--store-path` | Teams/Graph 会议流水线和订阅管理 | 企业会议资料处理 | 依赖 Graph 凭据和插件启用 |
| Honcho memory 插件 | `hermes honcho …` | `status`, `peers`, `sessions`, `map`, `peer`, `mode`, `strategy`, `tokens`, `identity`, `enable/disable/sync` 等 | Honcho 外部 memory provider 配置 | 使用 Honcho 记忆后端 | 只有当前 memory provider 为 Honcho 时通常才暴露 |
动态部分建议用 `hermes --help``hermes plugins list``/commands``/help` 在实际环境里枚举。
+66
View File
@@ -0,0 +1,66 @@
| 分类 | 指令 | 参数 | 参数说明 | 适用场景 | 注意事项 |
| ----- | --------------------------------- | ------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------- | ------------------------------- | --------------------------------------------------- |
| 会话 | `/new``/reset` | `[name]` | 可选新会话标题 | 开始全新会话 | 会丢弃当前上下文;CLI/Gateway 会触发确认 |
| 会话 | `/topic` | `[off\|help\|session-id]` | 开启/查看/关闭 Telegram DM topic 会话,或在 topic 内恢复指定会话 | Telegram 私聊多会话 | 仅 Gateway/Telegram |
| 会话 | `/clear` | 无 | 清屏并新建会话 | CLI 中重置界面和上下文 | 仅 CLI;属于破坏性会话操作 |
| 会话 | `/redraw` | 无 | 强制重绘 UI | 终端画面错位、漂移时恢复显示 | 仅 CLI |
| 会话 | `/history` | 无 | 显示当前对话历史;空历史时列出最近会话 | 查看/回顾当前会话 | 仅 CLI |
| 会话 | `/save` | 无 | 保存当前对话快照 | 手动导出当前会话 | 仅 CLI;保存到 Hermes home 下的 sessions/saved |
| 会话 | `/retry` | 无 | 重发最后一条用户消息 | 上次响应失败或想重新生成 | 会截断最后一轮后重新发送 |
| 会话 | `/undo` | 无 | 删除最后一组 user/assistant 交互 | 回退刚才的一轮对话 | 破坏性操作;CLI/Gateway 有确认 |
| 会话 | `/title` | `[name]` | 无参数显示当前标题;有参数设置标题 | 给会话命名,便于 `/resume` | 标题会清洗并检查重复 |
| 会话 | `/handoff` | `<platform>` | 目标平台,如 `telegram``discord` | 把当前 CLI 会话交给消息平台继续 | 仅 CLI;目标平台需已配置 home channel;执行后 CLI 会话结束 |
| 会话 | `/branch``/fork` | `[name]` | 可选分支标题 | 从当前会话复制一份,探索另一条路径 | 需要已有对话;会切换到新分支会话 |
| 会话 | `/compress` | `[focus topic]` | 可选压缩关注点 | 手动压缩长上下文 | 会创建压缩后的延续会话;历史较短时可能无事可做 |
| 会话 | `/rollback` | `[number]` / `diff <number>` / `<number> <file>` | 列出、预览或恢复 checkpoint | 文件系统改坏后回滚 | 需启用 checkpointsCLI 支持 diff/单文件恢复,Gateway 主要支持列表/恢复 |
| 会话 | `/snapshot``/snap` | `[create\|restore <id>\|prune]` | 管理 Hermes 配置/状态快照 | 备份或恢复 Hermes 自身状态 | 仅 CLITUI 阻止 live restore |
| 会话 | `/stop` | 无 | 停止所有后台进程 | 清理后台 terminal/browser 等任务 | 不等同于中断当前模型响应 |
| 会话 | `/approve` | `[all] [session\|always]` | 批准危险命令;可批准全部、记住本会话或永久记住 | Gateway 中放行等待审批的命令 | 仅 Gateway;无 pending approval 时无效 |
| 会话 | `/deny` | `[all]` | 拒绝等待审批的危险命令 | Gateway 中阻止危险命令 | 仅 Gateway |
| 会话 | `/background``/bg``/btw` | `<prompt>` | 后台任务提示词 | 并行跑一个独立任务,不阻塞当前聊天 | 后台任务使用独立 session,完成后回传结果 |
| 会话 | `/agents``/tasks` | 无 | 显示运行中的 agent/后台进程 | 查看当前有什么任务在跑 | CLI/Gateway 可用 |
| 会话 | `/queue``/q` | `<prompt>` | 排队的下一轮消息 | 当前 agent 忙时追加下一条消息 | CLI/TUI 更常用;不打断当前运行 |
| 会话 | `/steer` | `<prompt>` | 注入到下一次工具调用之后的提示 | agent 正在跑工具时临时补充方向 | 无运行中 agent 时退化为普通下一轮消息 |
| 会话 | `/goal` | `[text\|pause\|resume\|clear\|status]` | 设置长期目标或控制目标循环 | 让 Hermes 跨多轮持续推进任务 | 会由 judge 判断是否继续,直到完成/暂停/清除/预算耗尽 |
| 会话 | `/status` | 无 | 显示会话、模型、运行状态等 | 快速确认当前状态 | Slack 原生 `/status` 可能冲突,可用 `/hermes status` |
| 会话 | `/sethome``/set-home` | 无 | 把当前聊天设为平台 home channel | Gateway handoff/restart 通知目标配置 | 仅 Gateway |
| 会话 | `/resume` | `[name]` | 无参数列出可恢复会话;有参数按标题/ID 恢复 | 切换到历史会话 | CLI 支持 ID 或标题;Gateway 主要按命名会话恢复 |
| 会话 | `/sessions` | 无 | 打开/浏览历史会话 | TUI 中选择会话继续 | 注册在中心表;主要由 TUI 本地 session picker 实现 |
| 配置 | `/config` | 无 | 显示当前配置摘要 | 查看模型、终端、toolsets、session 配置 | 仅 CLI |
| 配置 | `/model``/provider` | `[model] [--provider name] [--global]` | 切换模型/提供商;`--global` 写入 config | 临时或永久切换推理后端 | 无参数会打开 picker/列表;运行中切模型会被 TUI/Gateway 拒绝 |
| 信息 | `/gquota` | 无 | 查看 Gemini Code Assist OAuth 配额 | 使用 Google Gemini OAuth 时查 quota | 仅 CLI |
| 配置 | `/personality` | `[name]` | 无参数列出人格;`none/default/neutral` 清除 | 切换系统提示词人格 | 会写入 `agent.system_prompt`,可能影响后续上下文 |
| 配置 | `/statusbar``/sb` | CLI 无参数切换;TUI 支持 `[on\|off\|top\|bottom\|toggle]` | 控制状态栏显示 | 调整终端/TUI 界面密度 | CLI 注册为简单 toggleTUI 更完整 |
| 配置 | `/verbose` | 无或 TUI 可传 `[off\|new\|all\|verbose]` | 循环/设置工具进度显示 | 想看更多或更少工具调用过程 | Gateway 需 `display.tool_progress_command` 开启 |
| 配置 | `/footer` | `[on\|off\|status]` | 控制 Gateway 最终回复的 runtime footer | 在消息平台回复末尾显示模型/上下文/cwd 等 | 默认改全局 footer;平台覆盖需改 config |
| 配置 | `/yolo` | 无 | 切换危险命令免审批 | 本地可信环境下减少确认 | 高风险;Gateway 为会话级,CLI 为环境级 |
| 配置 | `/reasoning` | `[none\|minimal\|low\|medium\|high\|xhigh\|show\|hide]` | 设置 reasoning effort 或显示/隐藏推理内容 | 调整成本、速度、思考可见性 | Gateway 还支持 `reset``--global`;不同模型支持度不同 |
| 配置 | `/fast` | `[normal\|fast\|status]` | 切换 Priority/Fast mode | 支持 fast mode 的模型上提速 | 不支持的模型会拒绝 |
| 配置 | `/skin` | `[name]` | 查看或切换显示皮肤 | 调整 CLI/TUI 主题 | 经典 CLI/TUI 可用;Gateway 不适用 |
| 配置 | `/indicator` | `[kaomoji\|emoji\|unicode\|ascii]` | 设置 TUI 忙碌指示器风格 | 调整 TUI 状态动画 | TUI 本地实现;经典 CLI 无 handler |
| 配置 | `/voice` | `[on\|off\|tts\|status]`Gateway 另有 `channel/join/leave` | 开关语音模式、TTS 或语音频道 | 语音输入/语音回复 | CLI 依赖本机音频;Gateway 语音频道主要面向 Discord |
| 配置 | `/busy` | `[queue\|steer\|interrupt\|status]` | 设置忙碌时按 Enter 的行为 | 决定运行中输入是排队、注入还是中断 | 仅 CLI/TUI |
| 工具与技能 | `/tools` | `[list\|disable\|enable] [name…]` | 查看、启用、禁用工具/工具集 | 调整当前 CLI 可用工具 | 仅 CLI;变更后会 reset session |
| 工具与技能 | `/toolsets` | 无 | 列出可用 toolsets | 查看工具集分类和数量 | 仅 CLI |
| 工具与技能 | `/skills` | `[search\|browse\|inspect\|install…]` | 搜索、浏览、安装、检查技能 | 管理 Hermes skills | 仅 CLI/TUI slash worker;具体参数由 skills hub 处理 |
| 工具与技能 | `/cron` | `[list\|add\|create\|edit\|pause\|resume\|run\|remove]` | 管理计划任务;支持 `--name``--schedule``--prompt``--skill` 等 | 定时运行 Hermes 任务 | slash 版本仅 CLI;也有顶层 `hermes cron` |
| 工具与技能 | `/curator` | `[status\|run\|pause\|resume\|pin\|unpin\|restore\|list-archived…]` | 管理技能 curator | 技能生命周期维护 | CLI/Gateway 可用,实际委托给 curator CLI |
| 工具与技能 | `/kanban` | `[subcommand]` | 如 `list/show/create/assign/link/claim/comment/complete/block/archive/tail/dispatch/context/init/gc` | 多 profile 协作任务看板 | Gateway `create` 会自动订阅任务事件 |
| 工具与技能 | `/reload` | 无 | 重载 `.env` 到当前进程 | 修改环境变量后不重启 CLI | 仅 CLI |
| 工具与技能 | `/reload-mcp``/reload_mcp` | 无 | 重新连接 MCP servers 并刷新工具 | MCP 配置变化后生效 | 会影响工具 schema 和 prompt cacheGateway 会要求确认 |
| 工具与技能 | `/reload-skills``/reload_skills` | 无 | 重新扫描 skills 目录 | 安装/删除技能后刷新 | Gateway 会把变更提示注入下一轮 |
| 工具与技能 | `/browser` | `[connect\|disconnect\|status]` | 连接/断开 live Chrome CDP 或查看状态 | 让浏览器工具控制真实 Chrome | 仅 CLI;连接真实浏览器要谨慎 |
| 工具与技能 | `/plugins` | 无 | 列出插件及状态 | 查看已安装插件、工具、hook、命令 | 仅 CLI |
| 信息 | `/commands` | `[page]` | 分页列出命令和技能命令 | Gateway 平台查看完整命令 | 仅 Gateway |
| 信息 | `/help` | 无 | 显示可用命令 | 查看帮助 | Gateway 只展示 gateway 可用命令 |
| 会话 | `/restart` | 无 | 优雅重启 Gateway | 更新配置/代码后重启网关 | 仅 Gateway |
| 信息 | `/usage` | 无 | 显示 token、成本、rate limit 等 | 追踪当前会话消耗 | 没有 API 调用时数据有限 |
| 信息 | `/insights` | `[days]` 或 Gateway 支持 `--days N --source name` | 统计一段时间内使用情况 | 分析历史用量、成本、工具模式 | 依赖 session DB |
| 信息 | `/platforms``/gateway` | 无 | 显示 Gateway/消息平台状态 | 排查消息平台连接 | 仅 CLI |
| 信息 | `/copy` | `[number]` | 复制第 N 条 assistant 回复;默认最后一条非空回复 | 快速复制回答 | 仅 CLI;用 OSC52 写剪贴板 |
| 信息 | `/paste` | 无 | 从剪贴板附加图片 | 图片输入 | 仅 CLI;Termux 不支持剪贴板图片 |
| 信息 | `/image` | `<path>` | 本地图片路径 | 给下一条 prompt 附加图片 | 仅 CLI;需支持的图片扩展名 |
| 信息 | `/update` | 无 | 更新 Hermes Agent | 在消息平台触发远程更新 | 仅 Gateway;限制在消息类平台,Git 仓库安装才可用 |
| 信息 | `/debug` | 无 | 上传/生成 debug 报告 | 排查问题并分享日志摘要 | Gateway 只上传摘要,CLI debug share 可更完整 |
| 信息 | `/whoami` | 无 | 显示当前用户 slash 权限 | Gateway 管理 admin/user 权限 | 仅 Gateway |
| 退出 | `/quit``/exit` | 无 | 退出交互式 CLI | 结束本地 CLI | 仅 CLI |
+78
View File
@@ -0,0 +1,78 @@
```
📁 Your files:
Config: /root/.hermes/config.yaml
API Keys: /root/.hermes/.env
Data: /root/.hermes/cron/, sessions/, logs/
Code: /usr/local/lib/hermes-agent
─────────────────────────────────────────────────────────
🚀 Commands:
hermes Start chatting
hermes setup Configure API keys & settings
hermes config View/edit configuration
hermes config edit Open config in editor
hermes gateway install Install gateway service (messaging + cron)
hermes update Update to latest version
─────────────────────────────────────────────────────────
⚡ 'hermes' was linked into /usr/local/bin and is ready to use — no shell reload needed.
root@LAX-VPS-qgefis2a:~#
```
有,最接近“恢复刚安装时配置”的命令是:
```powershell
hermes setup --reset
```
我在代码里确认了:`--reset` 会把 `config.yaml` 写回 `DEFAULT_CONFIG`,然后继续进入交互式 setup 向导。位置在 [hermes_cli/setup.py](D:/MyCode/Study/hermes-agent/hermes_cli/setup.py:3048),命令注册在 [hermes_cli/main.py](D:/MyCode/Study/hermes-agent/hermes_cli/main.py:9569)。
几个相关命令也可以按场景用:
```powershell
hermes setup
```
重新跑完整配置向导,已有配置会作为默认值展示。
```powershell
hermes setup model
hermes setup terminal
hermes setup gateway
hermes setup tools
hermes setup agent
```
只重配某一块。
```powershell
hermes setup --quick
```
只补缺失配置,不完整重配。
```powershell
hermes --ignore-user-config chat
```
临时忽略 `~/.hermes/config.yaml`,按内置默认配置启动;不会改文件。
注意:`hermes setup --reset` 只重置 `config.yaml`,不会清空 `.env` 里的 API key、token,也不会删 sessions、skills、logs。真正“全部恢复干净”只有更危险的:
```powershell
hermes uninstall --full
```
这个会删配置和数据,属于卸载级别。建议重置前先跑:
```powershell
hermes backup --quick
```
另外 `hermes setup --reset` 自己也会给旧 `config.yaml` 做一个 `.bak` 备份。
@@ -1,27 +1,49 @@
# 3.1 业务开通单(首次开通)开通成功通知优化 # 【待自测,忘了改名字】3.1 业务开通单开通成功通知优化
## 需求评审 ## 需求评审
NRWLXT-31007
0.5 0.5
## 需求备注 ## 需求备注
## 需求开发 ## 需求开发
# 3.9 IBS平台试用到期提醒通知能力优化 首次开通:工单对应运营经理、 luobingqing@chinamobile.com、省份SA
非首次开通:工单对应运营经理、 luobingqing@chinamobile.com、省份SA
新增该企业的 客户经理
新增该企业 所属省份的 省政企业务管理员。
看一下我未提交的代码有需要优化的点么?尽量针对我未提交了,不要动原始逻辑。
# 【待自测】3.5 IBS平台试用到期提醒通知能力优化
## 需求评审 ## 需求评审
NRWLXT-31008
1 1
## 需求备注 ## 需求备注
## 需求开发 ## 需求开发
# 3.10 IBS平台邮件通知机制优化—IBS发政企邮件收件人列表增加政企管理员 通知邮件表格中的预计试用结束时间格式细化,扩展到秒:从2026-05-01改为2026-05-01 23:59:59。
通知邮件表格下面的文字中的”截止时间“格式细化,扩展到秒,从2026-04-08改为 2026-04-08 21:00:00
# 【待自测】3.6 IBS平台邮件通知机制优化—IBS发政企邮件收件人列表增加政企管理员
## 需求评审 ## 需求评审
NRWLXT-31021
1
## 需求备注 ## 需求备注
!!! https://www.kdocs.cn/l/cj2VeBmqnoXP !!! https://www.kdocs.cn/l/cj2VeBmqnoXP
@@ -36,20 +58,38 @@
## 需求开发 ## 需求开发
# 3.12 自主化配置-配置失败新增SA人员&新增失败原因描述 政企客户经理管理员
省客户经理管理员
- 试用提醒邮件(时长到期前的多次提醒、流量耗尽)【历史就有】
- 试用申请通过邮件【历史就有】
- 业务开通通知邮件(首次/非首次)【3.1 业务开通单开通成功通知优化】
- 证书新增成功反馈
额外排查代办和试用到期时
# 3.8 自主化配置-配置失败新增SA人员&新增失败原因描述
## 需求评审 ## 需求评审
NRWLXT-31031
0.5 0.5
## 需求备注 ## 需求备注
![](../../../../attachment/b0a6584f6636a36fa59bd0c5054c8c97.png)
![](../../../../attachment/Pasted%20image%2020260519163906.png)
## 需求开发 ## 需求开发
# 3.16 信安信息更新通知自动邮件改造 # 3.16 信安信息更新通知自动邮件改造
## 需求评审 ## 需求评审
NRWLXT-31035
1 1
## 需求备注 ## 需求备注
@@ -60,6 +100,8 @@
## 需求评审 ## 需求评审
NRWLXT-31011
4 4
## 需求备注 ## 需求备注