docs(readme): flatten Latest Updates into single-line per-version list
Condense v0.6.0 highlights into one line and remove the collapsible <details> wrapper so the full release history is visible by default across all four READMEs (EN/CN/JA/KO).
This commit is contained in:
@@ -57,155 +57,18 @@ The framework supports auto-syncing knowledge from Feishu, Notion, and Yuque (mo
|
||||
|
||||
## ✨ Latest Updates
|
||||
|
||||
**v0.6.0 Highlights:**
|
||||
|
||||
- **Tenant RBAC (Role-Based Access Control)** — the headline of this release. WeKnora now enforces a 4-tier per-tenant role matrix (`Owner` / `Admin` / `Contributor` / `Viewer`) on every mutating route, with per-KB resource ownership: `chunk → knowledge → kb → creator_id`. Contributors are full owners of resources they create and read-only on other people's resources; Admins manage the whole tenant; Owners can additionally delete the tenant. See [`docs/RBAC说明.md`](./docs/RBAC说明.md).
|
||||
|
||||
<table>
|
||||
<tr>
|
||||
<td width="50%" align="center"><b>Tenant Member Management</b><br/><img src="./docs/images/rbac-member-management.png" alt="Tenant Member Management" width="100%"></td>
|
||||
<td width="50%" align="center"><b>Workspace Switcher</b><br/><img src="./docs/images/rbac-workspace-switcher.png" alt="Workspace Switcher" width="100%"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="50%" align="center"><b>Self-Service Workspace Creation</b><br/><img src="./docs/images/rbac-create-workspace.png" alt="Create Workspace" width="100%"></td>
|
||||
<td width="50%" align="center"><b>Pending Invitations</b><br/><img src="./docs/images/rbac-pending-invitation.png" alt="Pending Invitations" width="100%"></td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
- **Tenant Member Management & Multi-Workspace UX** — invite / remove members, role updates, `/leave` endpoint, invite-only gate; pending-invitations dialog + global invitation bell; tenant switcher in the user menu with role-aware UI gates; last-active workspace persisted across logins; rich workspace-aware notifications on login / tenant switch.
|
||||
- **Self-Service Workspaces** — any user can create their own tenant (capped via env knob); cross-tenant superusers see an Admin role chip in the UI when switched.
|
||||
- **Per-Tenant RBAC Audit Log** — every RBAC-relevant event is recorded with a daily retention sweep (default 90 days, indexed on `created_at`); cross-tenant superuser actions are pinned to the source tenant.
|
||||
- **`weknora` CLI v0.3 / v0.4 (GA)** — graduates from preview to GA with verb-noun subtrees across every major resource: `agent` (CRUD + invoke / check / status), `chunk`, `session`, `search` (chunks / kb / docs / sessions), `kb` (edit / pin / empty / check / status), `doc` (download / upload --recursive / view / wait), `auth` (refresh / token), `context`, `link` / `unlink`. New `weknora mcp serve` ships a curated stdio MCP server so AI clients (Claude Code, Cursor, …) can drive WeKnora directly. Globals: `--format`, `--json` field-select, `--jq`, `--paginate`, `--all-pages`, `--input`, `--log-level`, `--from-url`, NDJSON output, transparent 401 retry, signal-aware contexts.
|
||||
- **KB Retrieval Fan-out Across Vector Stores** — a single KB can now bind to multiple vector stores; the retrieval engine fans out queries across all bound stores and merges results. KB editor validates bindings on create / copy / delete to prevent inconsistent state.
|
||||
- **AES-256-GCM At-Rest for MCP & Data Source Credentials** — graceful key-rotation handling; sensitive fields redacted in API responses; new `/credentials` subresource pattern prevents credential loss on edit.
|
||||
- **Docreader gRPC Hardening** — docreader connection supports TLS + Token auth; gRPC port no longer published to the host by default; `grpcio` floor bumped to 1.78.0 to match the generated proto.
|
||||
- **More Backends**: Zhipu AI embedder; Huawei Cloud OBS object storage; configurable vLLM URL for the MinerU doc parser; Apache Doris compatibility modes with mode-switch guards; whitelist that lets docreader skip re-uploading trusted image URLs.
|
||||
- **User Preferences (Server-Side)** — per-user font / theme / memory-feature toggle persisted on the server; per-user KB pinning replaces the previous tenant-wide pin model; "Shared by me" label and creator name surfaced across knowledge bases and agents.
|
||||
- **Other Improvements**: User favorites + recents; member quick-nav entry; refreshed sidebar density; inline-editable tenant info with description; knowledge document tag selector redesign; UI build version on the System Info page; Moonshot models pin `temperature=1` for `moonshot-v1-*` / `kimi-k2.5` / `k2.6` (which reject other values with HTTP 400); MinerU markdown image syntax unescape so downstream image extraction works; `ErrSessionNotFound` / `ErrKnowledgeBaseNotFound` map to HTTP 404 across all handlers; session access scoped by user; Go bumped to 1.26.0.
|
||||
- **Bug Fixes**: `audit_log.Stop()` deadlock when `Start()` is never called; organization searchable join no longer bypasses invite code expiry; chunker no longer merges top-level heading chunks; infinite-scroll race condition causing missing documents fixed; indexed documents complete immediately instead of waiting for an extra sweep; offline + legacy browser support on the frontend; chat history rendering / pagination stability; test-connection falls back to the stored API key when test-connecting an existing model.
|
||||
|
||||
<details>
|
||||
<summary><b>Earlier Releases</b></summary>
|
||||
|
||||
**v0.5.2 Highlights:**
|
||||
|
||||
- **Wiki Mode at Scale**: Wiki ingest now handles tens-of-thousands-document KBs via a generic task queue with dead-letter handling; the page-link graph gains a subgraph API + interactive exploration UI.
|
||||
- **MCP Human-in-the-Loop Approval**: Sensitive MCP tool calls pause the agent and wait for explicit user approval in the chat UI.
|
||||
- **More LLM / Vector DB / Storage / Search**: Anthropic (Claude), Apache Doris 4.1, Tencent VectorDB, Kingsoft Cloud KS3, and SearXNG are all new backends — pairing with the Vector Store management UI and per-KB indexing strategy toggles.
|
||||
- **Deeper Observability**: Langfuse spans expanded across retrieval / rerank / agent stages; end-to-end TTFB logged on both ends of the chat stream; LLM call timeouts hardened to keep worker pools healthy.
|
||||
- **Adaptive 3-Tier Chunking**: Documents are auto-routed to heading-aware / heuristic / recursive strategies, with a live preview panel in the KB editor. See [`docs/CHUNKING.md`](./docs/CHUNKING.md).
|
||||
- **Global Command Palette**: A ⌘K palette replaces the standalone search page and can start a new chat directly from any result.
|
||||
- **More Connectors & Mobile**: Yuque connector (full + incremental sync) joins Feishu / Notion; lightweight WeChat Mini Program client under `miniprogram/`.
|
||||
- **`weknora` CLI (Preview)**: An early version of the official command-line client lives under `cli/` — feedback welcome.
|
||||
- **Other Improvements**: Per-tenant RRF tuning, a dedicated query-understanding model, batch KB management, user-scoped session pinning, a tenant-wide IM channels overview, per-user font / theme preferences, a new OpenMaiC Classroom agent skill, and a full API-docs / Swagger / Client-SDK overhaul.
|
||||
- **Bug Fixes**: Embedder `(nil, nil)` SIGSEGV fixed; Mimo / DeepSeek `reasoning_content` round-trip restored; multi-turn agent history rebuilt from DB (with attachment replay); OIDC login fixed; many Wiki ingest reliability fixes; FAQ no longer hallucinates summaries from filenames on empty PDFs.
|
||||
|
||||
**v0.4.0 Highlights:**
|
||||
|
||||
- **[Knowledge Assistant](https://weknora.weixin.qq.com/platform)**: Cloud-hosted knowledge assistant service for quick onboarding without local deployment
|
||||
- **WeKnora Cloud**: WeKnora Cloud provider with hosted LLM models and document parsing service, credential management and status checks
|
||||
- **[Chrome Extension](https://chromewebstore.google.com/detail/jpemjbopikggjlmikmclgbmkhhopjdgd)**: Browser extension for web page knowledge capture
|
||||
- **[ClawHub Skill](https://clawhub.ai/lyingbug/weknora)**: ClawHub Skill marketplace integration for one-click agent skill installation
|
||||
- **WeChat IM Integration**: WeChat channel adapter with QR code login and long-polling message support
|
||||
- **Attachment Processing**: File attachment support in chat pipeline with content formatting and metadata injection
|
||||
- **Azure OpenAI Provider**: Full Azure OpenAI support for chat, VLM, and embedding models with deployment name preservation and dimensions parameter
|
||||
- **Alibaba Cloud OSS Storage**: Object storage support via S3-compatible mode with configuration UI, connectivity test, and multi-language i18n
|
||||
- **Notion Connector**: Notion data source integration with API client, markdown renderer, and Connector interface
|
||||
- **Baidu & Ollama Web Search**: Added Baidu and Ollama as web search providers
|
||||
- **VectorStore Management**: Full VectorStore CRUD with entity, repository, service layer, connection testing, and API endpoints
|
||||
- **Bug Fixes**: Fixed Azure OpenAI endpoint handling, embedding truncation, IM citation tag stripping, neo4j Go 1.24 Windows compatibility, and OSS signature issues
|
||||
|
||||
|
||||
**v0.3.6 Highlights:**
|
||||
|
||||
- **ASR (Automatic Speech Recognition)**: Integrated ASR model support with audio file upload, in-document audio preview, and transcription capabilities
|
||||
- **Data Source Auto-Sync (Feishu)**: Complete data source management with Feishu Wiki/Drive auto-sync, incremental and full sync, sync logs, and tenant isolation
|
||||
- **OIDC Authentication**: OpenID Connect login support with auto-discovery, custom endpoints, and user info mapping
|
||||
- **IM Quote/Reply Context**: Quoted messages extracted in IM channels and injected into LLM prompts for contextual replies; anti-hallucination for non-text quotes
|
||||
- **Thread-Based IM Sessions**: Per-thread session mode for IM channels (Slack, Mattermost, Feishu, Telegram), enabling multi-user collaboration within threads
|
||||
- **Document Summarization**: AI-generated document summaries with configurable input limits and a dedicated summary section in document detail view
|
||||
- **Tavily Web Search**: Added Tavily as a web search provider; refactored web search provider architecture for extensibility
|
||||
- **MCP Auto-Reconnection**: Automatic reconnection for MCP tool calls when server connection is lost
|
||||
- **Parallel Tool Calling**: Concurrent execution of multiple agent tool calls via errgroup for faster complex task handling
|
||||
- **Agent @Mention Scope Restriction**: User @mentions restricted to agent's allowed knowledge base scope, preventing unauthorized access
|
||||
- **Login Page Performance**: Removed all backdrop-filter blur effects, reduced animations, added GPU compositing hints for faster page load
|
||||
|
||||
**v0.3.5 Highlights:**
|
||||
|
||||
- **Telegram, DingTalk & Mattermost IM Integration**: Added Telegram bot (webhook/long-polling, streaming via editMessageText), DingTalk bot (webhook/Stream mode, AI Card streaming), and Mattermost adapter; IM channel coverage now includes WeCom, Feishu, Slack, Telegram, DingTalk, and Mattermost
|
||||
- **IM Slash Commands & QA Queue**: Pluggable slash-command system (/help, /info, /search, /stop, /clear) with a bounded QA worker pool, per-user rate limiting, and Redis-based multi-instance coordination
|
||||
- **Suggested Questions**: Agents surface context-aware suggested questions based on configured knowledge bases; image knowledge automatically enqueues question generation
|
||||
- **VLM Auto-Describe MCP Tool Images**: When MCP tools return images, the agent generates text descriptions via the configured VLM model, enabling image content to be used by text-only LLMs
|
||||
- **Novita AI Provider**: New LLM provider with OpenAI-compatible API supporting chat, embedding, and VLLM model types
|
||||
- **MCP Tool Name Stability**: Tool names now based on service name (stable across reconnections) instead of UUID; unique name constraint added; frontend formats names into human-readable form
|
||||
- **Channel Tracking**: Knowledge entries and messages record source channel (web/api/im/browser_extension) for traceability
|
||||
- **Bug Fixes**: Fixed agent empty response when no knowledge base is configured, UTF-8 truncation in summaries for Chinese/emoji documents, API key encryption loss on tenant settings update, vLLM streaming reasoning content propagation, and rerank empty passage errors
|
||||
|
||||
|
||||
**v0.3.4 Highlights:**
|
||||
|
||||
- **IM Bot Integration**: WeCom, Feishu, and Slack IM channel support with WebSocket/Webhook modes, streaming, and knowledge base integration
|
||||
- **Multimodal Image Support**: Image upload and multimodal image processing with enhanced session management
|
||||
- **Manual Knowledge Download**: Download manual knowledge content as files with proper filename sanitization
|
||||
- **NVIDIA Model API**: Support NVIDIA chat model API with custom endpoint and VLM model configuration
|
||||
- **Weaviate Vector DB**: Added Weaviate as a new vector database backend for knowledge retrieval
|
||||
- **AWS S3 Storage**: Integrated AWS S3 storage adapter with configuration UI and database migrations
|
||||
- **AES-256-GCM Encryption**: API keys encrypted at rest with AES-256-GCM for enhanced security
|
||||
- **Built-in MCP Service**: Built-in MCP service support for extending agent capabilities
|
||||
- **Hybrid Search Optimization**: Grouped targets and reused query embeddings for better retrieval performance
|
||||
- **Final Answer Tool**: New final_answer tool with agent duration tracking for improved agent workflows
|
||||
|
||||
**v0.3.3 Highlights:**
|
||||
|
||||
- **Parent-Child Chunking**: Hierarchical parent-child chunking strategy for enhanced context management and more accurate retrieval
|
||||
- **Knowledge Base Pinning**: Pin frequently-used knowledge bases for quick access
|
||||
- **Fallback Response**: Fallback response handling with UI indicators when no relevant results are found
|
||||
- **Passage Cleaning for Rerank**: Passage cleaning for rerank model to improve relevance scoring accuracy
|
||||
- **Storage Auto-Creation**: Storage engine connectivity check with auto-creation of buckets
|
||||
- **Milvus Vector DB**: Added Milvus as a new vector database backend for knowledge retrieval
|
||||
|
||||
**v0.3.2 Highlights:**
|
||||
|
||||
- 🔍 **Knowledge Search**: New "Knowledge Search" entry point with semantic retrieval, supporting bringing search results directly into the conversation window
|
||||
- ⚙️ **Parser & Storage Engine Configuration**: Configure document parser engines and storage engines for different sources in settings, with per-file-type parser selection in knowledge base
|
||||
- 🖼️ **Image Rendering in Local Storage**: Support image rendering during conversations in local storage mode, with optimized streaming image placeholders
|
||||
- 📄 **Document Preview**: Embedded document preview component for previewing user-uploaded original files
|
||||
- 🎨 **UI Optimization**: Knowledge base, agent, and shared space list page interaction redesign
|
||||
- 🗄️ **Milvus Support**: Added Milvus as a new vector database backend for knowledge retrieval
|
||||
- 🌋 **Volcengine TOS**: Added Volcengine TOS object storage support
|
||||
- 📊 **Mermaid Rendering**: Support mermaid diagram rendering in chat with fullscreen viewer, zoom, pan, toolbar and export
|
||||
- 💬 **Batch Conversation Management**: Batch management and delete all sessions functionality
|
||||
- 🔗 **Remote URL Knowledge**: Support creating knowledge entries from remote file URLs
|
||||
- 🧠 **Memory Graph Preview**: Preview of user-level memory graph visualization
|
||||
- 🔄 **Async Re-parse**: Async API for re-processing existing knowledge documents
|
||||
|
||||
**v0.3.0 Highlights:**
|
||||
|
||||
- 🏢 **Shared Space**: Shared space with member invitations, shared knowledge bases and agents across members, tenant-isolated retrieval
|
||||
- 🧩 **Agent Skills**: Agent skills system with preloaded skills for smart-reasoning agent, sandboxed execution environment for security isolation
|
||||
- 🤖 **Custom Agents**: Support for creating, configuring, and selecting custom agents with knowledge base selection modes (all/specified/disabled)
|
||||
- 📊 **Data Analyst Agent**: Built-in Data Analyst agent with DataSchema tool for CSV/Excel analysis
|
||||
- 🧠 **Thinking Mode**: Support thinking mode for LLM and agents, intelligent filtering of thinking content
|
||||
- 🔍 **Web Search Providers**: Added Bing and Google search providers alongside DuckDuckGo
|
||||
- 📋 **Enhanced FAQ**: Batch import dry run, similar questions, matched question in search results, large imports offloaded to object storage
|
||||
- 🔑 **API Key Auth**: API Key authentication mechanism with Swagger documentation security
|
||||
- 📎 **In-Input Selection**: Select knowledge bases and files directly in the input box with @mention display
|
||||
- ☸️ **Helm Chart**: Complete Helm chart for Kubernetes deployment with Neo4j GraphRAG support
|
||||
- 🌍 **i18n**: Added Korean (한국어) language support
|
||||
- 🔒 **Security Hardening**: SSRF-safe HTTP client, enhanced SQL validation, MCP stdio transport security, sandbox-based execution
|
||||
- ⚡ **Infrastructure**: Qdrant vector DB support, Redis ACL, configurable log level, Ollama embedding optimization, `DISABLE_REGISTRATION` control
|
||||
|
||||
**v0.2.0 Highlights:**
|
||||
|
||||
- 🤖 **Agent Mode**: New ReACT Agent mode that can call built-in tools, MCP tools, and web search, providing comprehensive summary reports through multiple iterations and reflection
|
||||
- 📚 **Multi-Type Knowledge Bases**: Support for FAQ and document knowledge base types, with new features including folder import, URL import, tag management, and online entry
|
||||
- ⚙️ **Conversation Strategy**: Support for configuring Agent models, normal mode models, retrieval thresholds, and Prompts, with precise control over multi-turn conversation behavior
|
||||
- 🌐 **Web Search**: Support for extensible web search engines with built-in DuckDuckGo search engine
|
||||
- 🔌 **MCP Tool Integration**: Support for extending Agent capabilities through MCP, with built-in uvx and npx launchers, supporting multiple transport methods
|
||||
- 🎨 **New UI**: Optimized conversation interface with Agent mode/normal mode switching, tool call process display, and comprehensive knowledge base management interface upgrade
|
||||
- ⚡ **Infrastructure Upgrade**: Introduced MQ async task management, support for automatic database migration, and fast development mode
|
||||
|
||||
</details>
|
||||
- **v0.6.0** — Tenant RBAC (4-tier role matrix `Owner` / `Admin` / `Contributor` / `Viewer` + per-KB ownership + per-tenant audit log), tenant member management & multi-workspace UX, self-service workspaces; `weknora` CLI v0.4 GA with `mcp serve`; KB retrieval fan-out across vector stores; AES-256-GCM credential encryption + docreader gRPC TLS + Token; Zhipu embedder + Huawei OBS; server-side user preferences; Go 1.26.0. See [`docs/RBAC说明.md`](./docs/RBAC说明.md) and [`CHANGELOG.md`](./CHANGELOG.md).
|
||||
- **v0.5.2** — Wiki ingest scales to 40k-document KBs (task queue + DLQ); MCP human-in-the-loop tool approval; Anthropic / Apache Doris / Tencent VectorDB / KS3 / SearXNG backends; adaptive 3-tier chunking with live preview; global ⌘K command palette; Yuque connector + WeChat Mini Program; `weknora` CLI preview.
|
||||
- **v0.5.1** — Knowledge-base batch management; tenant-wide IM channels overview; session search + user-scoped pinning; unified Model / Web Search / MCP settings cards; per-agent LLM timeout; desktop tenant switching.
|
||||
- **v0.5.0** — Wiki Mode GA — agents auto-generate structured, interlinked Markdown wiki pages with a knowledge graph; wiki browser + visual graph in the UI.
|
||||
- **v0.4.0** — WeKnora Cloud (hosted LLM + parsing); Chrome Extension; ClawHub Skill; WeChat IM; attachment processing; Azure OpenAI / Alibaba OSS; Notion connector; Baidu + Ollama web search; VectorStore management.
|
||||
- **v0.3.6** — ASR (audio); Feishu data-source auto-sync; OIDC; IM quote-reply context + thread-based sessions; document summarization; Tavily search; parallel tool calling; agent @mention scope restriction.
|
||||
- **v0.3.5** — Telegram / DingTalk / Mattermost IM; IM slash commands + QA queue; suggested questions; VLM auto-describe MCP tool images; Novita AI; channel tracking.
|
||||
- **v0.3.4** — WeCom / Feishu / Slack IM; multimodal image support; NVIDIA model API; Weaviate; AWS S3; AES-256-GCM API-key encryption; built-in MCP service; hybrid-search optimization; `final_answer` tool.
|
||||
- **v0.3.3** — Parent-child chunking; KB pinning; fallback response; passage cleaning for rerank; storage auto-creation; Milvus.
|
||||
- **v0.3.2** — Knowledge Search entry; per-source parser & storage engine config; image rendering in local storage; document preview; Volcengine TOS; Mermaid rendering; batch session management; memory graph preview.
|
||||
- **v0.3.0** — Shared Space; Agent Skills + sandboxed execution; custom agents; Data Analyst agent; thinking mode; Bing / Google web search; API Key auth; Helm chart; Korean i18n; Qdrant.
|
||||
- **v0.2.0** — Agent Mode (ReACT); multi-type knowledge bases (FAQ + document); conversation strategy config; DuckDuckGo web search; MCP tool integration; new UI with agent mode switching; MQ async task management.
|
||||
|
||||
|
||||
## 📱 Interface Showcase
|
||||
@@ -406,22 +269,6 @@ make dev-frontend
|
||||
|
||||
**Detailed Documentation:** [Development Environment Quick Start](./docs/开发指南.md)
|
||||
|
||||
### 📁 Directory Structure
|
||||
|
||||
```
|
||||
WeKnora/
|
||||
├── client/ # go client
|
||||
├── cmd/ # Main entry point
|
||||
├── config/ # Configuration files
|
||||
├── docker/ # docker images files
|
||||
├── docreader/ # Document parsing app
|
||||
├── docs/ # Project documentation
|
||||
├── frontend/ # Frontend app
|
||||
├── internal/ # Core business logic
|
||||
├── mcp-server/ # MCP server
|
||||
├── migrations/ # DB migration scripts
|
||||
└── scripts/ # Shell scripts
|
||||
```
|
||||
|
||||
## 🤝 Contributing
|
||||
|
||||
|
||||
Reference in New Issue
Block a user