π€― LobeHub - Super-Agents on Your Team. Add super-agents to the chats your team already uses.They take on work by themselves and get better every week.
TypeScript agentagent-collaborationagent-harnessloop-engineeringmcppersonal-assistantproactive-agentskillssuper-agenttask-management
chore: streamline issue triage to core business labels (1-3 per issue) (#14962)
Arvin Xud35ee849ddf6
diff --git a/.claude/prompts/issue-triage.md b/.claude/prompts/issue-triage.mdindex 3bb1fd3c542..2cbd9e0c6c9 100644--- a/.claude/prompts/issue-triage.md+++ b/.claude/prompts/issue-triage.md@@ -1,6 +1,10 @@# Issue Triage Guide-This guide is used for batch triaging GitHub issues - analyzing issues and applying appropriate labels.+This guide is used for triaging GitHub issues β analyzing issues and applying only the most essential business-domain labels.++## Core Principle++**Each issue should have 1-3 labels that describe its core business domain.** Do NOT apply redundant labels that can be inferred from other labels. Less is more.## Workflow@@ -20,133 +24,47 @@ For each issue number, run:gh issue view [ISSUE_NUMBER] --json number,title,body,labels,comments```-### Step 3: Analyze and Select Labels--Extract information from the issue template and content:--#### Template Fields Mapping--- π¦ Platform field β `platform:web/desktop/mobile`-- π» Operating System β `os:windows/macos/linux/ios`-- π Browser β `device:pc/mobile`-- π¦ Deployment mode β `deployment:server/client/pglite`-- Platform (hosting) β `hosting:cloud/self-host/vercel/zeabur/railway`--#### Provider Detection--**IMPORTANT**: Always check issue title and body for provider mentions!--**Official Providers** (check for these keywords in title/body):--- `openai`, `gpt` β `provider:openai`-- `gemini` β `provider:gemini`-- `claude`, `anthropic` β `provider:claude`-- `deepseek` β `provider:deepseek`-- `google` β `provider:google`-- `ollama` β `provider:ollama`-- `azure` β `provider:azure`-- `bedrock` β `provider:bedrock`-- `vertex` β `provider:vertex`-- `groq`, `grok` β `provider:groq`-- `mistral` β `provider:mistral`-- `moonshot` β `provider:moonshot`-- `zhipu` β `provider:zhipu`-- `minimax` β `provider:minimax`-- `doubao` β `provider:doubao`--**Third-party Aggregation Providers**:--- `aihubmix`, `AIHubMix`, `AIHUBMIX` β `provider:aihubmix`-- Check environment variables like `AIHUBMIX_*` in issue body--**Multiple Providers**: If issue mentions multiple providers, add ALL applicable provider labels.--### Label Categories--#### a) Issue Type (select ONE if applicable)--- `π Design` - UI/UX design issues-- `π Documentation` - Documentation improvements-- `β‘οΈ Performance` - Performance optimization--#### b) Priority (select ONE if applicable)--- `priority:high` - Critical issues, data loss, security, maintainer mentions "urgent"/"serious"/"critical"-- `priority:medium` - Important issues affecting multiple users, significant functionality impact-- `priority:low` - Nice to have, minor issues, edge cases--**Priority Guidelines**:+### Step 3: Select Labels (1-3 per issue)-- Set `priority:high` for: data loss, authentication failures, deployment blockers, critical bugs-- Set `priority:medium` for: feature bugs affecting multiple users, workflow issues-- Set `priority:low` for: cosmetic issues, feature requests, configuration questions+Only apply labels from these THREE categories:-#### c) Platform (select ALL applicable)+#### Category 1: Technology Carrier-- `platform:web`-- `platform:desktop`-- `platform:mobile`+The runtime environment or technology wrapper where the issue occurs:-#### d) Device (for platform:web, select ONE)+| Label | When to apply |+|-------|--------------|+| `electron` | Desktop/Electron-specific issues. This REPLACES `platform:desktop`, `os:*`, `deployment:*`, `hosting:*` β do NOT add those. |+| `pwa` | PWA/mobile-app-specific issues |+| `docker` | Docker-specific deployment issues |-- `device:pc`-- `device:mobile`+**Rule**: If `electron` is applied, do NOT add `platform:desktop`, `os:*`, `deployment:*`, or `hosting:*`. The `electron` label already implies all of these.-#### e) Operating System (select ALL applicable)+#### Category 2: Feature / Component-- `os:windows`-- `os:macos`-- `os:linux`-- `os:ios`-- `os:android`--#### f) Hosting Platform (select ONE)--- `hosting:cloud` - Official LobeHub Cloud-- `hosting:self-host` - Self-hosted deployment-- `hosting:vercel` - Vercel deployment-- `hosting:zeabur` - Zeabur deployment-- `hosting:railway` - Railway deployment--#### g) Deployment Mode (select ONE if mentioned)--- `deployment:server` - Server-side database mode-- `deployment:client` - Client-side database mode-- `deployment:pglite` - PGLite mode--**Additional deployment tags**:--- `docker` - If using Docker deployment-- `electron` - If desktop/Electron specific--#### h) Model Provider (select ALL applicable)--See "Provider Detection" section above for complete list.--**IMPORTANT**: Always scan issue title and body for provider keywords!--#### i) Feature/Component (select ALL applicable)+The functional area affected. Select the 1-2 MOST relevant:Core Features:-- `feature:settings` - Settings and configuration- `feature:agent` - Agent/Assistant functionality- `feature:topic` - Topic/Conversation management-- `feature:marketplace` - Agent marketplace+- `feature:marketplace` - Agent/plugin marketplace+- `feature:settings` - Settings and configuration-File & Knowledge:+Content & Knowledge:+- `feature:editor` - Lobe Editor / rich text / markdown rendering+- `feature:markdown` - Markdown rendering (if separate from editor)- `feature:files` - File upload/management- `feature:knowledge-base` - Knowledge base and RAG- `feature:export` - Export functionalityModel Capabilities:+- `feature:tool` - Tool calling and function execution- `feature:streaming` - Streaming responses-- `feature:tool` - Tool calling- `feature:vision` - Vision/multimodal capabilities- `feature:image` - AI image generation-- `feature:dalle` - DALL-E specific- `feature:tts` - Text-to-speechTechnical:@@ -156,8 +74,6 @@ Technical:- `feature:sync` - Cloud sync functionality- `feature:search` - Search functionality- `feature:mcp` - MCP integration-- `feature:editor` - Lobe Editor-- `feature:markdown` - Markdown rendering- `feature:thread` - Thread/Subtopic functionalityCollaboration:@@ -165,89 +81,133 @@ Collaboration:- `feature:group-chat` - Group chat functionality- `feature:memory` - Memory feature- `feature:team-workspace` - Team workspace+- `feature:im-integration` - IM and bot integration++Other:++- `feature:schedule-task` - Scheduled task functionality++**Rule**: Pick only the 1-2 most specific feature labels. Don't stack multiple features unless the issue genuinely spans multiple areas.++#### Category 3: Model Provider++Only when the issue is SPECIFICALLY about a provider's behavior:++**Official Providers** (check title and body for these keywords):++- `openai`, `gpt` β `provider:openai`+- `gemini` β `provider:gemini`+- `claude`, `anthropic` β `provider:claude`+- `deepseek` β `provider:deepseek`+- `google` β `provider:google`+- `ollama` β `provider:ollama`+- `azure` β `provider:azure`+- `bedrock` β `provider:bedrock`+- `vertex` β `provider:vertex`+- `groq`, `grok` β `provider:groq`+- `mistral` β `provider:mistral`+- `moonshot` β `provider:moonshot`+- `zhipu` β `provider:zhipu`+- `minimax` β `provider:minimax`+- `doubao` β `provider:doubao`-#### j) Workflow/Status+**Third-party Aggregation Providers**:++- `aihubmix`, `AIHubMix`, `AIHUBMIX` β `provider:aihubmix`+- `zenmux` β `provider:zenmux`+**Rule**: Only add a provider label if the issue is specifically about that provider's behavior (e.g., "Gemini returns error X"). Do NOT add provider labels just because the issue template mentions a provider.++#### Special Labels (use sparingly)++- `i18n` - Internationalization / translation issues- `Duplicate` - Only if duplicate of an OPEN issue (mention issue number)-- `needs-reproduction` - Cannot reproduce, needs more information-- `good-first-issue` - Good for first-time contributors- `π€ Need Reproduce` - Needs reproduction steps+- `good-first-issue` - Good for first-time contributors### Step 4: Apply Labels-Add labels (comma-separated, no spaces after commas):-```bash-gh issue edit [ISSUE_NUMBER] --add-label "label1,label2,label3"+gh issue edit [ISSUE_NUMBER] --add-label "label1,label2"+gh issue edit [ISSUE_NUMBER] --remove-label "unconfirm"```-Remove "unconfirm" label if adding other labels:+### Step 5: Log Summary-```bash-gh issue edit [ISSUE_NUMBER] --remove-label "unconfirm"-```+For each issue, provide a brief reasoning (1-2 sentences) explaining why each label was chosen.-**Important**: Combine both commands when possible for efficiency.+## What NOT to Label-### Step 5: Log Summary+These categories are INTENTIONALLY OMITTED β do NOT apply them:-For each issue, provide reasoning (2-4 sentences):+| Do NOT apply | Reason |+|-------------|--------|+| `platform:web`, `platform:desktop`, `platform:mobile` | Inferred from `electron`/`pwa` or issue context |+| `os:windows`, `os:macos`, `os:linux`, `os:ios`, `os:android` | Low triage value; inferred from `electron` |+| `device:pc`, `device:mobile` | Redundant with platform |+| `hosting:cloud`, `hosting:self-host`, `hosting:vercel`, etc. | Low triage value unless deployment-specific |+| `deployment:server`, `deployment:client`, `deployment:pglite` | Low triage value; inferred from `electron` |+| `priority:high`, `priority:medium`, `priority:low` | Maintainers judge priority themselves |+| `π Bug`, `π Design`, `π Documentation`, `β‘οΈ Performance` | Issue type is already indicated by GitHub issue template |+| `Inactive` | Handled separately; do NOT add during triage |-- Labels applied and why-- Key factors from issue template/comments-- Provider detection reasoning (if applicable)+## Examples-## Important Rules+### Example 1: Electron desktop bug-1. **Read Carefully**: Read issue template fields AND issue body/title for complete context-2. **Provider Detection**: ALWAYS check title and body for provider keywords (including aihubmix, etc.)-3. **Multiple Categories**: Use ALL applicable labels from different categories-4. **Label Prefixes**: Always use proper prefixes (`feature:`, `provider:`, `os:`, `platform:`, etc.)-5. **Maintainer Comments**: Check maintainer comments for priority/status hints-6. **No Comments**: Only apply labels, DO NOT post comments to issues-7. **Batch Efficiency**: Process issues in parallel when possible+**Issue**: "Connection failure when executing tasks on macOS desktop app"-## Common Patterns+**Analysis**: Desktop Electron app issue with task scheduling.-### Provider in Environment Variables+**Labels**: `electron,feature:schedule-task`-If issue body contains `AIHUBMIX_*`, add `provider:aihubmix`+**Why**: `electron` covers the desktop platform. `feature:schedule-task` identifies the affected feature. No need for `platform:desktop`, `os:macos`, `hosting:cloud`, `priority:*`, or `Bug`.-### Multiple Provider Issues+### Example 2: Provider-specific issue-If comparing providers (e.g., "works with OpenAI but not Gemini"), add both provider labels+**Issue**: "Gemini tool calling returns empty response on desktop"-### Desktop Issues+**Analysis**: Desktop app issue, but the core problem is Gemini provider behavior with tool calling.-Desktop issues often need: `platform:desktop`, `electron`, specific `os:*`, and `deployment:client` or `deployment:server`+**Labels**: `electron,provider:gemini`-### Knowledge Base Issues+**Why**: `electron` for the desktop context. `provider:gemini` because the issue is about Gemini's behavior. The tool calling aspect is secondary β the provider is the key domain.-Usually need: `feature:knowledge-base`, often with `feature:files`, may need `provider:*` for embedding models+### Example 3: Feature-specific issue-### Tool Calling Issues+**Issue**: "Underscore auto-escaped in markdown editor"-Usually need: `feature:tool`, specific `provider:*`, may need `feature:mcp` if MCP-related+**Analysis**: Markdown rendering bug in the editor component.-### Streaming Issues+**Labels**: `feature:markdown`-Usually need: `feature:streaming`, specific `provider:*`, check for timeout/performance issues+**Why**: Single label is sufficient β the issue is purely about markdown rendering. No need for platform, OS, or priority labels.-## Example Triage+### Example 4: Web-only feature request-**Issue #8850**: "aihubmix ηδΌζ app 沑ζηζ"+**Issue**: "Add search functionality to plugin marketplace"-**Analysis**:+**Analysis**: Feature request for marketplace search. Web platform, no specific provider.-- Title contains "aihubmix" β `provider:aihubmix`-- Template shows: Windows, Chrome, Docker, Client mode-- About API discount codes not working+**Labels**: `feature:marketplace,feature:search`-**Labels Applied**:+**Why**: Two feature labels capture the core domain. No platform label needed β it's a web app by default.-```bash-gh issue edit 8850 --add-label "provider:aihubmix,platform:web,os:windows,deployment:client,hosting:self-host,docker"-gh issue edit 8850 --remove-label "unconfirm"-```+### Example 5: Ollama self-hosted issue++**Issue**: "Ollama model not loading on self-hosted Docker deployment"++**Analysis**: Provider-specific issue with Ollama on Docker.++**Labels**: `docker,provider:ollama`++**Why**: `docker` for the deployment context, `provider:ollama` for the model provider. No need for `hosting:self-host` or `platform:*`.++## Important Rules-**Reasoning**: AIHubMix provider discount feature not working. Client mode deployment on Windows with Docker. Provider detection from title keyword "aihubmix".+1. **1-3 labels per issue** β Never exceed 3 labels. If you find yourself adding more, you're being too granular.+2. **`electron` replaces all platform/OS/deployment labels** β Never combine `electron` with `platform:desktop`, `os:*`, `deployment:*`, or `hosting:*`.+3. **Provider only when relevant** β Only add `provider:*` if the issue is specifically about that provider's behavior.+4. **No priority, no type** β Do NOT add `priority:*`, `π Bug`, `π Design`, etc. Maintainers handle these.+5. **No comments** β Only apply labels. Do NOT post comments to issues.+6. **Remove `unconfirm`** β Always remove the `unconfirm` label when applying triage labels.diff --git a/CHANGELOG.md b/CHANGELOG.mdindex cb21d172433..8deecd15d14 100644--- a/CHANGELOG.md+++ b/CHANGELOG.md@@ -2,6 +2,39 @@# Changelog+### [Version 2.2.0](https://github.com/lobehub/lobe-chat/compare/v2.1.59-canary.27...v2.2.0)++<sup>Released on **2026-05-18**</sup>++#### π Styles++- **pricing**: restore DeepSeek models to official pricing.++#### π Bug Fixes++- **conversation**: animate only the last markdown block + drop clearMessages hotkey.++<br/>++<details>+<summary><kbd>Improvements and Fixes</kbd></summary>++#### Styles++- **pricing**: restore DeepSeek models to official pricing, closes [#14911](https://github.com/lobehub/lobe-chat/issues/14911) ([e566688](https://github.com/lobehub/lobe-chat/commit/e566688))++#### What's fixed++- **conversation**: animate only the last markdown block + drop clearMessages hotkey, closes [#14906](https://github.com/lobehub/lobe-chat/issues/14906) ([469a8e6](https://github.com/lobehub/lobe-chat/commit/469a8e6))++</details>++<div align="right">++[](#readme-top)++</div>+## [Version 2.1.58](https://github.com/lobehub/lobe-chat/compare/v2.1.57...v2.1.58)<sup>Released on **2026-05-13**</sup>diff --git a/changelog/v2.json b/changelog/v2.jsonindex 30429a199a4..c8c210b44d2 100644--- a/changelog/v2.json+++ b/changelog/v2.json@@ -1,4 +1,9 @@[+ {+ "children": {},+ "date": "2026-05-18",+ "version": "2.2.0"+ },{"children": {"features": [diff --git a/package.json b/package.jsonindex 81b31d8386b..34b2c49b9a1 100644--- a/package.json+++ b/package.json@@ -1,6 +1,6 @@{"name": "@lobehub/lobehub",- "version": "2.1.58",+ "version": "2.2.0","description": "LobeHub - an open-source,comprehensive AI Agent framework that supports speech synthesis, multimodal, and extensible Function Call plugin system. Supports one-click free deployment of your private ChatGPT/LLM web application.","keywords": ["framework",