WeKnora/internal/application/service
lyingbug 65f88f4121
feat: judge image hits by their image in rerank and show them to vision models (#4013)
* feat(models): expose embedding input modalities

Whether an embedding model maps images into the same space as text is
what will decide if a knowledge base can store image vectors. The
catalog already had the field, but most multimodal embedding models
were missing it and embedding rows never reported it.

- Catalog: declare input modalities for the Doubao and Tongyi vision
  embeddings, the Aliyun multimodal / qwen-vl embedding families and
  jina-embeddings-v4, as listed in each vendor's documentation. The
  migration baseline changes for exactly these nine entries.
- Model responses resolve capabilities for embedding rows too, so
  capabilities.input reflects the catalog merged with spec.input.
- Model editor: an "Image input" switch for embedding models. It follows
  the catalog and writes spec.input only when the row differs from it;
  picking another catalog model or switching vendor drops the
  declaration. Model cards show the image badge for such models.

* feat(embedding): embed images with multimodal embedding models

Adds the image side of an embedder, for models that map images into the
same space as their text vectors so a text query can find an image.

- api: EmbedImage (bytes + MIME type, sent inline as base64 because the
  object store is usually unreachable from the vendor) and an
  ImageEmbedder implemented by all four protocols, each in the image
  shape its reference documents: Ark image_url, DashScope contents[].image,
  Gemini inlineData parts, and on the OpenAI shape an object keyed by the
  vendor's image_field (Jina: "image"). A plain OpenAI-compatible
  endpoint names no image field and takes no images.
- Settings: image_field, max_image_batch_size (default one per request),
  max_image_bytes and image_mime_types, filled from vendor docs for the
  DashScope multimodal models, gemini-embedding-2 and Jina.
- embedding: an optional ImageEmbedder interface reached through
  AsImageEmbedder, so existing Embedder implementations and fakes are
  untouched. An embedder takes images only when the catalog (or the
  row's spec.input) lists image AND the endpoint can carry one. Images
  are checked against the documented limits before any request, then
  split at the documented images per request. The concurrency, debug
  and Langfuse decorators forward it; logs and traces carry the MIME
  type and size, never the bytes.

The migration baseline changes only for the entries whose resolved
embedding settings now carry image limits.

* feat(knowledge): index images by their own vector and recall them

When the knowledge base's embedding model embeds images, each image now
gets a vector of its own next to its caption and OCR chunks, so a query
can find an image by what it shows even where the caption left it out.

Ingestion
- After the caption/OCR chunks are indexed, the multimodal task embeds
  the image (embedding.PrepareImage converts and shrinks it to the
  vendor's documented limits) and stores it as a new image_vector chunk:
  Content is the caption (OCR text when there is none) for reranking and
  the answer context; its index row carries the image's vector with
  SourceType ImageSourceType. Scanned PDF pages are skipped, their OCR
  text serves better. A failure here is logged and never fails the task.
- The image vector gets its own chunk rather than a second index row on
  the caption chunk: OpenSearch and Weaviate key documents by ChunkID,
  so a second row would overwrite the caption's text vector, and copy,
  move and enable/disable all follow chunk IDs.
- CompositeRetrieveEngine.BatchIndexVectors writes precomputed vectors
  through each engine's normal BatchIndex, keeping row order (the
  composite's de-duplication does not).
- Paths that rebuild vectors from text leave image_vector alone:
  syncChunkIndex only syncs its enabled flag, updateChunkVector skips
  it, and a caption edit updates its Content only.
- The multimodal task's caption/OCR index rows now set IsEnabled; only
  backends with a column default were storing them as enabled.

Retrieval
- A text query scores lower against an image than against text, so when
  the model embeds images the document vector search is widened by half
  (capped at 500) and run at min(VectorThreshold, 0.1); each store
  group's hits are then held to their own threshold before score
  normalization: text at VectorThreshold, images at min(VectorThreshold,
  0.1). Keyword hits on image rows are dropped, their Content being the
  already-indexed caption.
- image_vector hits are searchable and merge like caption hits: parent
  context is attached, and the caption is not repeated from ImageInfo.

Adds golang.org/x/image for scaling and WebP/BMP decoding.

* fix(models): report no thinking levels for embedding, rerank and ASR models

Embedding rows now carry capabilities, and the end-to-end run showed them
listing off/auto/minimal/low/medium/high: these references resolve no chat
protocol, and an empty level map reads as "every level supported". A model
without a chat protocol does not think, so its capabilities say so.

* fix(compaction): never read a cancelled turn's stream as a summary

streamSummary selects on the turn's context and the provider stream at
once. When the turn is already cancelled both are ready (providers close
the stream once their context ends), and select picks at random, so a
stopped turn could come back as a completed, partial summary with a nil
error. TestSummarizationIsNotRetriedOnceTheTurnIsCancelled caught it
intermittently in CI and reproduces under -race with several -cpu values.

Check the context before each receive and again when the stream closes.

* feat(rerank): score images with multimodal rerank models

Rerank models that read images can now be sent an image document and
score it against a text query on the same scale as text, which is what a
recall made by an image's own vector needs: a text reranker only sees the
caption, and rejects an image for what the caption left out.

- api: ImageReranker, implemented by the Cohere and NIM shapes. Image
  documents go in requests of their own, so text requests keep their
  exact shape. NIM sends image-only passages without text, as base64 data
  URLs (its VLM reranking reference requires both). The Cohere shape sends
  {"<image_field>": data URI} documents and asks for no echo of them.
- The image settings embeddings already had (image_field,
  max_image_batch_size, max_image_bytes, image_mime_types) move into a
  shared ImageInput embedded in both settings; resolved embedding settings
  serialize exactly as before.
- Catalog: jina-reranker-m0 and nvidia/llama-nemotron-rerank-vl-1b-v2 take
  text and image. Jina names "image" documents; its base64 form is not
  shown in any reranker example, so the data URI its embeddings reference
  documents is used and marked unverified. NVIDIA lists its six formats
  and 512 passages per request.
- rerank: an optional ImageReranker reached through AsImageReranker, gated
  on the model's catalog input and the endpoint; images are checked against
  the documented limits before any request, scores are normalized like
  text, and the debug and Langfuse decorators forward it without logging
  image bytes.
- Image preparation (format conversion, shrink to fit) moves from the
  embedding package to internal/models/imageprep, since rerank needs it
  too.

* feat(retrieval): keep a vector hit's own similarity through fusion

Hybrid fusion replaces a hit's Score with a rank-based RRF score. That is
right for ordering, but it erases the evidence reranking needs to judge an
image found by its own vector: how close the vector actually was. Record
the engine's similarity on each vector hit (IndexWithScore.VectorScore)
before normalization and fusion rewrite Score, and carry it onto the
search result (SearchResult.VectorScore, not serialized).

* feat(reranking): judge image hits by their image, not only their caption

An image found by its own vector was reranked on its caption and OCR text,
so a text reranker rejected it for exactly what the caption left out.

- With a reranker that reads images and a LoadImage callback, image_vector
  hits are scored by their image (prepared to the model's limits) on the
  same scale as text, and pass or fail the same threshold. A hit whose
  image cannot be read, prepared or scored falls back to its text.
- With a text reranker, its verdict stands for images that are mostly
  text (OCR of 200 characters or more). A pictorial hit it rejects is kept
  when its vector similarity (VectorScore) reaches Options.ImageKeepScore:
  at most two, strongest vector first, appended after the ranked results
  and marked kept_by=image_vector. This also returns an image when no text
  passes at all.
- Diagnostics report images_scored and images_kept.

* feat(rerank): read image hits' images in every rerank path

The chat pipeline, the agent search_knowledge tool and the hybrid-search
API now pass the rerank stage a way to read an image hit's image and an
image keep score, so a multimodal reranker scores images by what they show
and a text reranker can no longer drop a pictorial image its caption
undersells.

- KnowledgeBaseService.ReadChunkImage reads the first image of a result's
  image_info from the storage of its knowledge base (the knowledge base's
  tenant, so shared knowledge bases read from their owner's storage),
  capped at 32 MB. Plain http(s) images go through the SSRF-safe
  downloader.
- The backend resolution the image multimodal task used moves into a
  shared knowledgeImageReader, so ingestion and reranking find an image in
  the same place.
- reranking.ImageKeepScoreFor: an image is kept over a text reranker only
  when its vector was at least as close as a text hit had to be, and never
  below 0.25 (empirical).

* feat(chat): show a vision model the images its answer rests on

An image recalled by its own vector reached the answer as its caption only,
so a vision model could not answer from what the caption left out.

- Knowledge QA: INTO_CHAT_MESSAGE reads, for a model that supports vision,
  the images of the contexts that rest on an image vector match (at most
  three distinct ones, prepared to what every vision API takes: PNG, JPEG,
  WebP or GIF within 5 MB), attaches them after the user's own images, and
  names the contexts they belong to.
- Agent: search_knowledge attaches the same images when the agent's model
  supports vision (the agent describes tool images to models that cannot
  see them, and these already carry captions). Stored history drops them;
  they are read again from storage.
- An image hit and its caption hit read the same once merged, and
  de-duplication keeps either. The kept copy now inherits the image
  (image_vector_match), in the pipeline's exact and partial-overlap
  de-duplication and in the agent tool's.
- Results the rerank stage kept outside its top-k (kept_by) no longer fall
  to the later top-k cuts: the pipeline's FilterTopK and the agent tool's
  MMR and limit let them ride along after the ranked results.

* docs(website): describe how image hits are reranked and shown to vision models

* Fix image evidence preservation and model source mapping
2026-10-09 13:01:48 +08:00
..
chat_pipeline feat: judge image hits by their image in rerank and show them to vision models (#4013) 2026-10-09 13:01:48 +08:00
file fix(knowledge): claim cloned and released document images in the resource catalog (#3752) 2026-10-09 13:01:26 +08:00
memory refactor(embedding): move the wire formats into protocol packages, and correct the vendor facts (#3500) 2026-09-21 11:55:38 +08:00
metric feat(memory): add cross-session long-term memory 2026-08-13 18:00:02 +08:00
retriever feat: index and recall images with multimodal embedding models (#3683) 2026-10-08 18:19:53 +08:00
agent_browser_preferences.go feat(browser): polish connection settings, open tasks in a new window, and streamline prompts (#3193) 2026-09-11 21:28:58 +08:00
agent_browser_preferences_test.go feat(browser): polish connection settings, open tasks in a new window, and streamline prompts (#3193) 2026-09-11 21:28:58 +08:00
agent_browser_source_test.go refactor(agent): consolidate knowledge retrieval tools into search_knowledge, read_document, list_documents (#3381) 2026-09-18 14:12:22 +08:00
agent_history.go fix(embed): 内嵌网页只传图片不输入文字时不再返回 400 2026-09-30 15:26:51 +08:00
agent_history_cadence_test.go feat(agent): size agent history by the window and calibrate token estimates (#3413) 2026-09-18 22:51:31 +08:00
agent_history_checkpoint_test.go fix(embed): 内嵌网页只传图片不输入文字时不再返回 400 2026-09-30 15:26:51 +08:00
agent_history_test.go refactor(models): rebuild vendor integration on protocol + catalog + vendor layers (#3470) 2026-09-20 21:28:23 +08:00
agent_memory_config_test.go fix(security): close cross-workspace access paths in shared spaces (#3408) 2026-09-18 22:00:02 +08:00
agent_memory_tool_test.go feat(memory): introduce long-term memory feature with i18n updates 2026-08-13 18:00:02 +08:00
agent_rerank_requirement_test.go refactor(agent): consolidate knowledge retrieval tools into search_knowledge, read_document, list_documents (#3381) 2026-09-18 14:12:22 +08:00
agent_service.go feat: judge image hits by their image in rerank and show them to vision models (#4013) 2026-10-09 13:01:48 +08:00
agent_service_install_shell_test.go feat(sandbox): run unpinned Lite sessions on the host OS sandbox (#3549) 2026-09-22 19:35:03 +08:00
agent_service_scope_test.go fix(agent): 共享知识库在 runtime_context 中 doc_count 为 0 2026-08-12 15:55:51 +08:00
agent_service_shell_test.go feat(sandbox): run unpinned Lite sessions on the host OS sandbox (#3549) 2026-09-22 19:35:03 +08:00
agent_service_skill_bundle_test.go refactor(skills): improve skill bundle size handling and error management 2026-09-02 15:08:05 +08:00
agent_service_test.go feat(lite): install and run skills on the host (#3661) 2026-09-24 21:30:34 +08:00
agent_service_user_env_test.go feat(lite): install and run skills on the host (#3661) 2026-09-24 21:30:34 +08:00
agent_share.go fix(security): close the low-severity shared-space findings (#3416) 2026-09-18 22:58:46 +08:00
agent_share_builtin_test.go fix(security): close the low-severity shared-space findings (#3416) 2026-09-18 22:58:46 +08:00
agent_share_runtime_test.go fix(security): close cross-workspace access paths in shared spaces (#3408) 2026-09-18 22:00:02 +08:00
agent_share_scope.go fix(security): close cross-workspace access paths in shared spaces (#3408) 2026-09-18 22:00:02 +08:00
agent_share_scope_test.go fix(security): close cross-workspace access paths in shared spaces (#3408) 2026-09-18 22:00:02 +08:00
agent_tool_surface_test.go fix(security): close cross-workspace access paths in shared spaces (#3408) 2026-09-18 22:00:02 +08:00
agent_web_pages.go fix(agent): improve web search and persistent page reading (#3086) 2026-09-07 23:09:27 +08:00
agent_web_pages_test.go fix(agent): improve web search and persistent page reading (#3086) 2026-09-07 23:09:27 +08:00
agent_web_tools_test.go refactor(agent): consolidate knowledge retrieval tools into search_knowledge, read_document, list_documents (#3381) 2026-09-18 14:12:22 +08:00
artifact_collector.go feat(sandbox): run unpinned Lite sessions on the host OS sandbox (#3549) 2026-09-22 19:35:03 +08:00
artifact_collector_store.go feat(session): fork conversations from a historical user message (#3304) 2026-09-17 14:20:18 +08:00
artifact_collector_test.go fix(knowledge): claim cloned and released document images in the resource catalog (#3752) 2026-10-09 13:01:26 +08:00
audit_log.go fix(audit_log): prevent deadlock in Stop() when Start() is never called 2026-05-18 17:28:58 +08:00
audit_log_retention.go fix(server): run ResourceCleaner on signal shutdown instead of racing Fatalf exit (#3804) 2026-09-28 23:37:36 +08:00
audit_log_retention_test.go fix(audit_log): prevent deadlock in Stop() when Start() is never called 2026-05-18 17:28:58 +08:00
audit_log_test.go feat(rbac): per-tenant audit log for RBAC events (PR 6, #1303) 2026-05-18 17:28:58 +08:00
chunk.go feat: index and recall images with multimodal embedding models (#3683) 2026-10-08 18:19:53 +08:00
chunk_edit_parent_test.go feat: index and recall images with multimodal embedding models (#3683) 2026-10-08 18:19:53 +08:00
chunk_write.go refactor(resource-access): unify scoped authorization and transfer recovery (#3097) 2026-09-08 15:36:33 +08:00
custom_agent.go fix(security): close the low-severity shared-space findings (#3416) 2026-09-18 22:58:46 +08:00
custom_agent_api_key_scope_test.go feat(agent): enhance suggested questions API with tag scopes 2026-07-17 10:19:43 +08:00
custom_agent_suggestion_limit_test.go fix(agent): honor suggested-questions limit parameter 2026-07-24 10:46:53 +08:00
custom_agent_suggestion_scope_test.go fix(security): close the low-severity shared-space findings (#3416) 2026-09-18 22:58:46 +08:00
dataset.go init commit 2025-08-05 15:08:07 +08:00
datasource_delete_sqlite_test.go fix: 修复 SQLite 下删除 DataSource 失败 2026-07-31 11:00:47 +08:00
datasource_result_cap_test.go fix(feishu): resilient large-wiki sync — retry, streaming resume, failure visibility 2026-07-21 16:14:22 +08:00
datasource_schedule_test.go fix(datasource): validate cron schedules and persist manual-only mode (#3653) 2026-09-25 22:23:18 +08:00
datasource_seafile_test.go feat(datasource): add Seafile data source connector (#3616) 2026-10-08 16:18:09 +08:00
datasource_service.go revert: take the plugin system back out of main 2026-09-26 14:58:18 +08:00
datasource_service_test.go feat: judge image hits by their image in rerank and show them to vision models (#4013) 2026-10-09 13:01:48 +08:00
datasource_stream_test.go feat(datasource): add Confluence sync (#3287) 2026-09-16 14:38:16 +08:00
datasource_sweep_wiring_test.go fix(datasource): perform real sync deletions scoped per data source (#2690) 2026-08-13 19:52:44 +08:00
docreader_failure.go fix(citations): 修复原文定位、高亮范围与 DocReader 启动失败 (#3794) 2026-09-27 20:32:26 +08:00
docreader_failure_test.go fix(citations): 修复原文定位、高亮范围与 DocReader 启动失败 (#3794) 2026-09-27 20:32:26 +08:00
document_write_access_test.go refactor(resource-access): unify scoped authorization and transfer recovery (#3097) 2026-09-08 15:36:33 +08:00
embed_channel.go fix(agent): honor suggested-questions limit parameter 2026-07-24 10:46:53 +08:00
embed_channel_chunk_test.go feat(embed): add backend embed channels with auth and rate limiting (#1657) 2026-06-12 23:10:39 +08:00
embed_channel_public_config_test.go refactor: remove Neo4j-based conversation memory feature 2026-07-18 23:41:48 +08:00
embed_channel_update_test.go refactor: remove Neo4j-based conversation memory feature 2026-07-18 23:41:48 +08:00
embed_session.go fix: align client sessions and integration request handling (#3305) 2026-09-16 16:20:57 +08:00
embed_session_test.go fix: align client sessions and integration request handling (#3305) 2026-09-16 16:20:57 +08:00
embed_webhook.go fix(security): harden outbound requests and file previews 2026-07-02 19:15:46 +08:00
embed_webhook_test.go fix(security): harden outbound requests and file previews 2026-07-02 19:15:46 +08:00
evaluation.go refactor(resource-access): unify scoped authorization and transfer recovery (#3097) 2026-09-08 15:36:33 +08:00
extract.go fix(chat_pipeline): treat non-JSON model refusals as skipped graph extraction (#3606) 2026-10-08 14:57:11 +08:00
extract_data_table_orphan_test.go fix: skip table-summary tasks for missing documents 2026-09-28 21:22:45 +08:00
extract_data_table_summary_test.go fix(summary): 坏 JSON 不再冒充文档摘要(截断/畸形 JSON 走失败路径,纯文本兜底保留) (#3769) 2026-10-08 01:21:01 +08:00
extract_graph_declined_test.go fix(chat_pipeline): treat non-JSON model refusals as skipped graph extraction (#3606) 2026-10-08 14:57:11 +08:00
fallback_messages_test.go fix(agent): prevent MCP answers from citing unrelated KB sources (#3144) 2026-09-10 00:31:43 +08:00
faq_clone_sync.go fix(faq): 保留克隆状态同步时的正文和索引状态 (#3993) 2026-10-08 01:20:39 +08:00
faq_clone_sync_test.go fix(faq): 保留克隆状态同步时的正文和索引状态 (#3993) 2026-10-08 01:20:39 +08:00
fork_bootstrapper.go feat(session): in-place rewind with workspace checkpoint reset (#3469) 2026-09-20 21:01:00 +08:00
fork_bootstrapper_test.go feat(session): in-place rewind with workspace checkpoint reset (#3469) 2026-09-20 21:01:00 +08:00
fork_snapshot_reaper.go fix(sandbox): resolve a session's pinned sandbox in the workspace that owns it (#3471) 2026-09-21 15:38:39 +08:00
fork_snapshot_reaper_test.go feat(session): fork conversations from a historical user message (#3304) 2026-09-17 14:20:18 +08:00
gallery_attrs.go feat(gallery): add an image gallery tab with schema-driven filters (#3694) 2026-09-25 12:33:59 +08:00
gallery_attrs_test.go feat(gallery): add an image gallery tab with schema-driven filters (#3694) 2026-09-25 12:33:59 +08:00
graph.go fix(knowledge): stitch chunks by text overlap, not by position 2026-05-30 17:53:47 +08:00
host_session_resolver.go feat(lite): install and run skills on the host (#3661) 2026-09-24 21:30:34 +08:00
host_session_resolver_test.go feat(lite): install and run skills on the host (#3661) 2026-09-24 21:30:34 +08:00
host_skills.go feat(lite): install and run skills on the host (#3661) 2026-09-24 21:30:34 +08:00
host_skills_test.go feat(lite): install and run skills on the host (#3661) 2026-09-24 21:30:34 +08:00
html_table_normalize_wiring_test.go fix(chunking): 修复内联 HTML 表格与保护模式导致的超长 chunk (#3404) 2026-09-18 21:10:17 +08:00
image_action_loop.go feat(gallery): add an image gallery tab with schema-driven filters (#3694) 2026-09-25 12:33:59 +08:00
image_attr_decision.go feat(gallery): add an image gallery tab with schema-driven filters (#3694) 2026-09-25 12:33:59 +08:00
image_chunk_owner.go fix(citations): 修复原文定位、高亮范围与 DocReader 启动失败 (#3794) 2026-09-27 20:32:26 +08:00
image_chunk_owner_test.go fix(citations): 修复原文定位、高亮范围与 DocReader 启动失败 (#3794) 2026-09-27 20:32:26 +08:00
image_multimodal.go feat: judge image hits by their image in rerank and show them to vision models (#4013) 2026-10-09 13:01:48 +08:00
image_multimodal_attrs_test.go fix(citations): 修复原文定位、高亮范围与 DocReader 启动失败 (#3794) 2026-09-27 20:32:26 +08:00
image_multimodal_orphan_test.go feat(tests): enhance image multimodal service tests and runtime task handling 2026-07-14 15:38:06 +08:00
image_multimodal_prompt_test.go fix(image): stop appending KB custom instructions to the OCR prompt OCR提示词不再错误的附加图片解析用户自定义提示词 (#3291) 2026-09-19 23:37:28 +08:00
image_multimodal_vector_test.go feat: index and recall images with multimodal embedding models (#3683) 2026-10-08 18:19:53 +08:00
kb_activity.go feat(audit): 知识库活动记录对 API Key 操作额外显示 Key 名称 (#3405) 2026-09-18 19:39:34 +08:00
kb_activity_test.go feat(audit): 知识库活动记录对 API Key 操作额外显示 Key 名称 (#3405) 2026-09-18 19:39:34 +08:00
kb_writable_test.go fix(security): close cross-workspace access paths in shared spaces (#3408) 2026-09-18 22:00:02 +08:00
kbshare.go fix(security): close cross-workspace access paths in shared spaces (#3408) 2026-09-18 22:00:02 +08:00
knowledge.go fix(knowledge): stop parses from getting stuck in processing or finalizing (#3696) 2026-09-25 13:26:38 +08:00
knowledge_attempt_supersede_test.go fix(knowledge): stop parses from getting stuck in processing or finalizing (#3696) 2026-09-25 13:26:38 +08:00
knowledge_auto_tag.go refactor(resource-access): unify scoped authorization and transfer recovery (#3097) 2026-09-08 15:36:33 +08:00
knowledge_auto_tag_test.go refactor(resource-access): unify scoped authorization and transfer recovery (#3097) 2026-09-08 15:36:33 +08:00
knowledge_batch_reparse_test.go feat(knowledge): make document summary generation optional 2026-09-17 19:39:52 +08:00
knowledge_bind_stored_images_test.go fix(knowledge): bind extracted images to their document and unscope shared-KB parent lookups 2026-09-22 17:52:49 +08:00
knowledge_caller_scope_test.go refactor(resource-access): unify scoped authorization and transfer recovery (#3097) 2026-09-08 15:36:33 +08:00
knowledge_cleanup_regression_test.go refactor(modelcontext): consolidate source_refs parsing, fixed data_analysis table, and identifier leak report (#3372) 2026-09-17 22:08:16 +08:00
knowledge_clone_image_test.go fix(knowledge): claim cloned and released document images in the resource catalog (#3752) 2026-10-09 13:01:26 +08:00
knowledge_clone_move.go fix(knowledge): claim cloned and released document images in the resource catalog (#3752) 2026-10-09 13:01:26 +08:00
knowledge_content_binding_test.go fix(knowledge): claim cloned and released document images in the resource catalog (#3752) 2026-10-09 13:01:26 +08:00
knowledge_create.go fix(knowledge): claim cloned and released document images in the resource catalog (#3752) 2026-10-09 13:01:26 +08:00
knowledge_create_folder_test.go feat(knowledge): store folder path for folder uploads and expose folder tree API 2026-08-04 20:45:29 +08:00
knowledge_create_gitlab_test.go feat(datasource): add Confluence sync (#3287) 2026-09-16 14:38:16 +08:00
knowledge_create_test.go fix(knowledge): reject invalid JSON uploads before async parse (#3360) 2026-09-25 22:23:27 +08:00
knowledge_delete.go fix(knowledge): claim cloned and released document images in the resource catalog (#3752) 2026-10-09 13:01:26 +08:00
knowledge_delete_plan.go refactor(resource-access): unify scoped authorization and transfer recovery (#3097) 2026-09-08 15:36:33 +08:00
knowledge_delete_test.go fix(knowledge): clean bound vector stores in batch delete 2026-07-27 11:32:30 +08:00
knowledge_faq.go fix(faq): actually clean FAQ entry payloads before validation and storage 2026-09-28 20:29:29 +08:00
knowledge_faq_batch.go refactor(resource-access): unify scoped authorization and transfer recovery (#3097) 2026-09-08 15:36:33 +08:00
knowledge_faq_create_guard.go fix(faq): prevent duplicate entries when a create is retried 2026-08-05 17:05:51 +08:00
knowledge_faq_create_guard_test.go fix(faq): prevent duplicate entries when a create is retried 2026-08-05 17:05:51 +08:00
knowledge_faq_import.go fix(retrieval): fix recall correctness, score scales, cost and agent tools (#3687) 2026-09-25 10:48:18 +08:00
knowledge_faq_sanitize_test.go fix(faq): actually clean FAQ entry payloads before validation and storage 2026-09-28 20:29:29 +08:00
knowledge_folder_move_test.go refactor(resource-access): unify scoped authorization and transfer recovery (#3097) 2026-09-08 15:36:33 +08:00
knowledge_housekeeping.go fix(knowledge): close spans left open on terminal rows and superseded attempts (#3855) 2026-10-08 01:25:38 +08:00
knowledge_housekeeping_stranded_test.go fix(knowledge): stop parses from getting stuck in processing or finalizing (#3696) 2026-09-25 13:26:38 +08:00
knowledge_housekeeping_test.go fix(knowledge): close spans left open on terminal rows and superseded attempts (#3855) 2026-10-08 01:25:38 +08:00
knowledge_image_cleanup_test.go fix(knowledge): delete extracted images from storage when knowledge is removed 2026-04-02 12:04:04 +08:00
knowledge_image_reader.go feat: judge image hits by their image in rerank and show them to vision models (#4013) 2026-10-09 13:01:48 +08:00
knowledge_image_reader_test.go feat: judge image hits by their image in rerank and show them to vision models (#4013) 2026-10-09 13:01:48 +08:00
knowledge_index_content.go refactor(knowledge): keep metadata document scoped 2026-07-28 20:23:48 +08:00
knowledge_index_content_test.go refactor(resource-access): unify scoped authorization and transfer recovery (#3097) 2026-09-08 15:36:33 +08:00
knowledge_manual_test.go fix: sanitize tab chars and avoid double .md extension in manual download filename 2026-03-16 18:18:23 +08:00
knowledge_move_gate_test.go fix: reject cross-store reuse_vectors knowledge move 2026-06-05 15:00:41 +08:00
knowledge_move_wiki_test.go refactor(resource-access): unify scoped authorization and transfer recovery (#3097) 2026-09-08 15:36:33 +08:00
knowledge_multimodal_slot_release_test.go fix(knowledge): stop two parse paths from stranding a row in processing (#3445) 2026-09-20 13:02:05 +08:00
knowledge_owner_chain_test.go feat(rbac): per-KB ownership for knowledge / chunks / wiki pages (#1303) 2026-05-18 17:28:58 +08:00
knowledge_post_process.go fix(knowledge): stop parses from getting stuck in processing or finalizing (#3696) 2026-09-25 13:26:38 +08:00
knowledge_post_process_graph_chunks_test.go fix(graph): feed OCR chunks to graph extraction instead of image-link placeholders (#3092) 2026-09-08 19:23:13 +08:00
knowledge_post_process_summary_test.go feat(knowledge): make document summary generation optional 2026-09-17 19:39:52 +08:00
knowledge_post_process_trace_test.go fix: correct graph and multimodal processing traces 2026-07-22 17:38:28 +08:00
knowledge_post_process_wiki_enqueue_test.go fix(knowledge): address review of the stuck-processing fixes 2026-09-22 20:33:18 +08:00
knowledge_process.go fix(knowledge): claim cloned and released document images in the resource catalog (#3752) 2026-10-09 13:01:26 +08:00
knowledge_process_config.go feat(gallery): add an image gallery tab with schema-driven filters (#3694) 2026-09-25 12:33:59 +08:00
knowledge_process_config_test.go feat(gallery): add an image gallery tab with schema-driven filters (#3694) 2026-09-25 12:33:59 +08:00
knowledge_process_embedding_failure_test.go fix(knowledge): stop two parse paths from stranding a row in processing (#3445) 2026-09-20 13:02:05 +08:00
knowledge_process_index_retry_test.go fix(knowledge): retry document processing after transient indexing failures (#3915) 2026-10-08 01:25:31 +08:00
knowledge_process_parent_child_test.go refactor(resource-access): unify scoped authorization and transfer recovery (#3097) 2026-09-08 15:36:33 +08:00
knowledge_process_quota_test.go fix(knowledge): delete written chunks when the storage quota check fails (#3656) 2026-10-08 13:14:10 +08:00
knowledge_process_status_test.go fix(knowledge): clear stale error_message on the remaining reprocess paths 2026-08-03 20:14:09 +08:00
knowledge_reparse_dequeue_test.go fix(knowledge): stop parses from getting stuck in processing or finalizing (#3696) 2026-09-25 13:26:38 +08:00
knowledge_reparse_scope.go refactor(resource-access): unify scoped authorization and transfer recovery (#3097) 2026-09-08 15:36:33 +08:00
knowledge_reparse_test.go fix(knowledge): clear stale errors on reparse 2026-07-28 20:44:34 +08:00
knowledge_replace.go fix(knowledge): reject invalid JSON uploads before async parse (#3360) 2026-09-25 22:23:27 +08:00
knowledge_replace_test.go fix(knowledge): make in-place file replacement race-safe 2026-09-16 14:54:47 +08:00
knowledge_resource_release_test.go fix(knowledge): claim cloned and released document images in the resource catalog (#3752) 2026-10-09 13:01:26 +08:00
knowledge_shared_access_test.go refactor(resource-access): unify scoped authorization and transfer recovery (#3097) 2026-09-08 15:36:33 +08:00
knowledge_shared_storage_failure_test.go fix(retrieval): fix recall correctness, score scales, cost and agent tools (#3687) 2026-09-25 10:48:18 +08:00
knowledge_source_locators.go feat(chat): open cited documents at the cited passage (#3700) 2026-09-25 13:26:16 +08:00
knowledge_source_locators_test.go feat(chat): open cited documents at the cited passage (#3700) 2026-09-25 13:26:16 +08:00
knowledge_span_tracker.go fix(knowledge): close spans left open on terminal rows and superseded attempts (#3855) 2026-10-08 01:25:38 +08:00
knowledge_span_tracker_test.go fix(knowledge): close spans left open on terminal rows and superseded attempts (#3855) 2026-10-08 01:25:38 +08:00
knowledge_storage_config_test.go fix(storage): merge tos/s3/oss/ks3 tenant configs in buildStorageConfig (#1117) 2026-05-06 17:09:42 +08:00
knowledge_stuck_processing_test.go fix(knowledge): address review of the stuck-processing fixes 2026-09-22 20:33:18 +08:00
knowledge_subtask_slot_release_test.go fix(knowledge): stop parses from getting stuck in processing or finalizing (#3696) 2026-09-25 13:26:38 +08:00
knowledge_summary_reconstruction_test.go fix(summary): 坏 JSON 不再冒充文档摘要(截断/畸形 JSON 走失败路径,纯文本兜底保留) (#3769) 2026-10-08 01:21:01 +08:00
knowledge_summary_refresh.go fix(wiki): ensure prompt language is always resolved 2026-08-05 16:14:50 +08:00
knowledge_summary_refresh_test.go fix(knowledge): harden summary refresh after review feedback 2026-07-28 20:23:48 +08:00
knowledge_summary_sort_test.go fix(knowledge): harden summary refresh after review feedback 2026-07-28 20:23:48 +08:00
knowledge_summary_stale_test.go fix(knowledge): harden summary refresh after review feedback 2026-07-28 20:23:48 +08:00
knowledge_summary_state_test.go fix(knowledge): stop parses from getting stuck in processing or finalizing (#3696) 2026-09-25 13:26:38 +08:00
knowledge_summary_test.go fix(summary): 坏 JSON 不再冒充文档摘要(截断/畸形 JSON 走失败路径,纯文本兜底保留) (#3769) 2026-10-08 01:21:01 +08:00
knowledge_task_options.go feat(worker): replace aggregate asynq concurrency with per-pool governance 2026-07-13 15:51:06 +08:00
knowledge_task_options_test.go feat(worker): replace aggregate asynq concurrency with per-pool governance 2026-07-13 15:51:06 +08:00
knowledge_transfer.go refactor(resource-access): unify scoped authorization and transfer recovery (#3097) 2026-09-08 15:36:33 +08:00
knowledge_transfer_test.go feat: index and recall images with multimodal embedding models (#3683) 2026-10-08 18:19:53 +08:00
knowledge_update_test.go refactor(resource-access): unify scoped authorization and transfer recovery (#3097) 2026-09-08 15:36:33 +08:00
knowledge_util.go feat(datasource): add Seafile data source connector (#3616) 2026-10-08 16:18:09 +08:00
knowledge_util_filetype_test.go feat(datasource): add Seafile data source connector (#3616) 2026-10-08 16:18:09 +08:00
knowledge_util_json_upload_test.go fix(knowledge): reject invalid JSON uploads before async parse (#3360) 2026-09-25 22:23:27 +08:00
knowledge_util_ssrf_test.go fix(security): harden outbound URL SSRF protection (#2626) 2026-08-10 13:24:14 +08:00
knowledge_write.go refactor(resource-access): unify scoped authorization and transfer recovery (#3097) 2026-09-08 15:36:33 +08:00
knowledge_write_access_test.go refactor(resource-access): unify scoped authorization and transfer recovery (#3097) 2026-09-08 15:36:33 +08:00
knowledgebase.go fix(knowledge): claim cloned and released document images in the resource catalog (#3752) 2026-10-09 13:01:26 +08:00
knowledgebase_access.go fix(security): close cross-workspace access paths in shared spaces (#3408) 2026-09-18 22:00:02 +08:00
knowledgebase_delete_datasource_test.go fix(knowledgebase): delete data sources when knowledge base is removed 2026-06-23 17:30:38 +08:00
knowledgebase_image_config_test.go fix(kb): let the update API set vlm_config (#3704) 2026-10-08 14:37:23 +08:00
knowledgebase_pr3_test.go feat(knowledge): derive knowledge base descriptions from document profiles (#3370) 2026-09-17 22:21:55 +08:00
knowledgebase_profile.go feat(knowledge): derive knowledge base descriptions from document profiles (#3370) 2026-09-17 22:21:55 +08:00
knowledgebase_profile_test.go fix(summary): 坏 JSON 不再冒充文档摘要(截断/畸形 JSON 走失败路径,纯文本兜底保留) (#3769) 2026-10-08 01:21:01 +08:00
knowledgebase_search.go feat: index and recall images with multimodal embedding models (#3683) 2026-10-08 18:19:53 +08:00
knowledgebase_search_budget_test.go fix(retriever): rebuild a missing vector store engine on demand 2026-07-29 12:25:18 +08:00
knowledgebase_search_dimension_test.go fix: report embedding dimension mismatches 2026-09-07 14:41:28 +08:00
knowledgebase_search_embedding_kb_test.go fix(retrieval): fix recall correctness, score scales, cost and agent tools (#3687) 2026-09-25 10:48:18 +08:00
knowledgebase_search_fanout.go feat: index and recall images with multimodal embedding models (#3683) 2026-10-08 18:19:53 +08:00
knowledgebase_search_fanout_test.go fix(retriever): Qdrant/Milvus 关键词检索整批失败返回 error,不再当成「没有匹配」 (#3847) 2026-10-07 23:59:38 +08:00
knowledgebase_search_faq.go fix(retrieval): fix recall correctness, score scales, cost and agent tools (#3687) 2026-09-25 10:48:18 +08:00
knowledgebase_search_faq_negative_test.go fix(retrieval): fix recall correctness, score scales, cost and agent tools (#3687) 2026-09-25 10:48:18 +08:00
knowledgebase_search_fusion.go fix(retrieval): fix recall correctness, score scales, cost and agent tools (#3687) 2026-09-25 10:48:18 +08:00
knowledgebase_search_fusion_test.go fix(retrieval): fix recall correctness, score scales, cost and agent tools (#3687) 2026-09-25 10:48:18 +08:00
knowledgebase_search_image.go feat: judge image hits by their image in rerank and show them to vision models (#4013) 2026-10-09 13:01:48 +08:00
knowledgebase_search_image_test.go feat: judge image hits by their image in rerank and show them to vision models (#4013) 2026-10-09 13:01:48 +08:00
knowledgebase_search_matchcount_test.go fix(retrieval): fix recall correctness, score scales, cost and agent tools (#3687) 2026-09-25 10:48:18 +08:00
knowledgebase_search_partial_test.go fix(retriever): Qdrant/Milvus 关键词检索整批失败返回 error,不再当成「没有匹配」 (#3847) 2026-10-07 23:59:38 +08:00
knowledgebase_search_rerank.go feat: judge image hits by their image in rerank and show them to vision models (#4013) 2026-10-09 13:01:48 +08:00
knowledgebase_search_rerank_test.go feat: judge image hits by their image in rerank and show them to vision models (#4013) 2026-10-09 13:01:48 +08:00
knowledgebase_search_results.go feat: judge image hits by their image in rerank and show them to vision models (#4013) 2026-10-09 13:01:48 +08:00
knowledgebase_search_results_edit_test.go fix(agent): exclude disabled FAQ entries 2026-07-29 14:40:54 +08:00
knowledgebase_search_shared.go fix(retrieval): fix recall correctness, score scales, cost and agent tools (#3687) 2026-09-25 10:48:18 +08:00
knowledgebase_search_storegroup.go feat: index and recall images with multimodal embedding models (#3683) 2026-10-08 18:19:53 +08:00
knowledgebase_task_cancel_test.go feat(knowledge): flag documents that stop making progress (#3557) 2026-09-22 21:34:08 +08:00
knowledgebase_vlm_update_test.go fix(kb): let the update API set vlm_config (#3704) 2026-10-08 14:37:23 +08:00
knowledgebase_wiki_cleanup_test.go fix: clean up wiki data when deleting knowledge base (#3109) 2026-09-14 21:02:31 +08:00
mcp_endpoint.go fix(security): close cross-workspace access paths in shared spaces (#3408) 2026-09-18 22:00:02 +08:00
mcp_endpoint_test.go fix(security): close cross-workspace access paths in shared spaces (#3408) 2026-09-18 22:00:02 +08:00
mcp_metadata.go feat(mcp)!: persist tool catalogs and add guided configuration (#3118) 2026-09-09 13:34:56 +08:00
mcp_metadata_test.go feat(mcp)!: persist tool catalogs and add guided configuration (#3118) 2026-09-09 13:34:56 +08:00
mcp_service.go fix(mcp): report advertised directory failures in connection tests (#3905) 2026-10-09 12:01:27 +08:00
mcp_service_test.go fix(mcp): report advertised directory failures in connection tests (#3905) 2026-10-09 12:01:27 +08:00
mcp_tool_approval_service.go feat(mcp): add per-tool enable toggle (#2989) 2026-09-05 17:19:20 +08:00
mcp_tool_approval_service_test.go refactor(agent): discover and invoke MCP tools on demand 2026-09-08 12:01:36 +08:00
message.go feat(artifacts): artifacts library page backed by a message_artifacts table (#3384) 2026-09-18 12:10:19 +08:00
message_artifact_delete.go feat(artifacts): let users delete generated files (#3447) 2026-09-20 13:01:46 +08:00
message_artifact_delete_test.go feat(artifacts): let users delete generated files (#3447) 2026-09-20 13:01:46 +08:00
message_artifact_library_test.go feat(artifacts): artifacts library page backed by a message_artifacts table (#3384) 2026-09-18 12:10:19 +08:00
message_artifact_versions.go feat(artifacts): let users delete generated files (#3447) 2026-09-20 13:01:46 +08:00
message_artifact_versions_test.go feat(session): fork conversations from a historical user message (#3304) 2026-09-17 14:20:18 +08:00
message_index_skip_test.go fix(message): log why chat history indexing was skipped 2026-09-05 16:52:27 +08:00
message_search_group_test.go feat(session): fork conversations from a historical user message (#3304) 2026-09-17 14:20:18 +08:00
message_suggestion.go fix(embed): 开启 Host context 后点击追问建议不再返回 400 2026-09-29 12:16:46 +08:00
message_suggestion_test.go fix(embed): 开启 Host context 后点击追问建议不再返回 400 2026-09-29 12:16:46 +08:00
metric_hook.go fix(evaluation): fix retrieval metrics by mapping chunks back to passage IDs 2026-07-31 11:05:13 +08:00
model.go fix(frontend): 修复复制模型时模型名称被改写的问题 (#3830) 2026-09-29 19:32:08 +08:00
model_builtin_management_test.go feat(models): let system admins edit builtin model config 2026-07-14 15:56:02 +08:00
model_catalog.go feat(models): add system admin model catalog console (#3662) 2026-09-24 16:31:45 +08:00
model_catalog_test.go feat(models): add system admin model catalog console (#3662) 2026-09-24 16:31:45 +08:00
model_copy_test.go fix(frontend): 修复复制模型时模型名称被改写的问题 (#3830) 2026-09-29 19:32:08 +08:00
model_delete_test.go feat(knowledge): derive knowledge base descriptions from document profiles (#3370) 2026-09-17 22:21:55 +08:00
multimodal_pending_counter.go fix(knowledge): stop parses from getting stuck in processing or finalizing (#3696) 2026-09-25 13:26:38 +08:00
multimodal_pending_counter_test.go fix(knowledge): stop parses from getting stuck in processing or finalizing (#3696) 2026-09-25 13:26:38 +08:00
ocr_sanitizer.go fix(chunking): 修复内联 HTML 表格与保护模式导致的超长 chunk (#3404) 2026-09-18 21:10:17 +08:00
ocr_sanitizer_test.go fix(chunking): 修复内联 HTML 表格与保护模式导致的超长 chunk (#3404) 2026-09-18 21:10:17 +08:00
organization.go fix(security): close the low-severity shared-space findings (#3416) 2026-09-18 22:58:46 +08:00
parser_url_security.go fix(security): harden outbound URL SSRF protection (#2626) 2026-08-10 13:24:14 +08:00
parser_url_security_test.go fix(security): harden outbound URL SSRF protection (#2626) 2026-08-10 13:24:14 +08:00
password_policy.go feat: support complex password (#2929) 2026-09-01 11:50:10 +08:00
password_policy_test.go feat: support complex password (#2929) 2026-09-01 11:50:10 +08:00
pinned_session_sandbox.go feat(sandbox): run unpinned Lite sessions on the host OS sandbox (#3549) 2026-09-22 19:35:03 +08:00
pinned_session_sandbox_test.go feat(lite): install and run skills on the host (#3661) 2026-09-24 21:30:34 +08:00
question_origin_test.go fix(agent): search bound knowledge bases before answering, and pass suggested-question origins (#3400) 2026-09-18 17:00:47 +08:00
resource.go fix(knowledge): claim cloned and released document images in the resource catalog (#3752) 2026-10-09 13:01:26 +08:00
resource_file_authorization_test.go refactor(resource-access): unify scoped authorization and transfer recovery (#3097) 2026-09-08 15:36:33 +08:00
resource_references_test.go refactor(resource-access): unify scoped authorization and transfer recovery (#3097) 2026-09-08 15:36:33 +08:00
resource_review_regression_test.go refactor(resource-access): unify scoped authorization and transfer recovery (#3097) 2026-09-08 15:36:33 +08:00
resource_test.go fix(knowledge): claim cloned and released document images in the resource catalog (#3752) 2026-10-09 13:01:26 +08:00
sandbox_desktop_last.go feat(sandbox): add a graphical desktop to session sandboxes (#3245) 2026-09-14 20:37:37 +08:00
sandbox_desktop_last_test.go feat(sandbox): add a graphical desktop to session sandboxes (#3245) 2026-09-14 20:37:37 +08:00
sandbox_desktop_service.go feat(lite): install and run skills on the host (#3661) 2026-09-24 21:30:34 +08:00
sandbox_desktop_service_test.go feat(sandbox): add a graphical desktop to session sandboxes (#3245) 2026-09-14 20:37:37 +08:00
sandbox_desktop_ticket.go feat(sandbox): add a graphical desktop to session sandboxes (#3245) 2026-09-14 20:37:37 +08:00
sandbox_desktop_ticket_test.go feat(sandbox): add a graphical desktop to session sandboxes (#3245) 2026-09-14 20:37:37 +08:00
sandbox_operation_requests_test.go feat(sandbox): run unpinned Lite sessions on the host OS sandbox (#3549) 2026-09-22 19:35:03 +08:00
sandbox_terminal_auth.go feat(sandbox): add an interactive terminal and files tab beside chat (#3110) 2026-09-08 17:43:15 +08:00
sandbox_terminal_auth_test.go feat(sandbox): add an interactive terminal and files tab beside chat (#3110) 2026-09-08 17:43:15 +08:00
sandbox_terminal_service.go feat(lite): install and run skills on the host (#3661) 2026-09-24 21:30:34 +08:00
sandbox_terminal_service_test.go feat(lite): install and run skills on the host (#3661) 2026-09-24 21:30:34 +08:00
sandbox_terminal_ticket.go feat(sandbox): add an interactive terminal and files tab beside chat (#3110) 2026-09-08 17:43:15 +08:00
sandbox_terminal_ticket_test.go feat(sandbox): add an interactive terminal and files tab beside chat (#3110) 2026-09-08 17:43:15 +08:00
session.go fix(session): allow tenant admins to manage channel sessions (#3939) 2026-10-09 12:00:07 +08:00
session_agent_qa.go fix(retrieval): fix recall correctness, score scales, cost and agent tools (#3687) 2026-09-25 10:48:18 +08:00
session_agent_qa_scope_test.go feat(mcp)!: persist tool catalogs and add guided configuration (#3118) 2026-09-09 13:34:56 +08:00
session_attachment_staging.go feat(lite): install and run skills on the host (#3661) 2026-09-24 21:30:34 +08:00
session_attachment_staging_test.go feat(sandbox): run unpinned Lite sessions on the host OS sandbox (#3549) 2026-09-22 19:35:03 +08:00
session_busy_gate.go feat(session): in-place rewind with workspace checkpoint reset (#3469) 2026-09-20 21:01:00 +08:00
session_busy_gate_test.go feat(session): in-place rewind with workspace checkpoint reset (#3469) 2026-09-20 21:01:00 +08:00
session_delete_host_test.go feat(sandbox): run unpinned Lite sessions on the host OS sandbox (#3549) 2026-09-22 19:35:03 +08:00
session_fork.go feat(sandbox): run unpinned Lite sessions on the host OS sandbox (#3549) 2026-09-22 19:35:03 +08:00
session_fork_delete_test.go feat(session): fork conversations from a historical user message (#3304) 2026-09-17 14:20:18 +08:00
session_fork_test.go feat(sandbox): run unpinned Lite sessions on the host OS sandbox (#3549) 2026-09-22 19:35:03 +08:00
session_knowledge_qa.go feat(retrieval): unify rerank across search APIs and expose diagnostics (#3675) 2026-09-24 20:41:49 +08:00
session_knowledge_qa_test.go fix(frontend): 修复复制模型时模型名称被改写的问题 (#3830) 2026-09-29 19:32:08 +08:00
session_knowledge_qa_truncation_test.go fix(chat): report truncated model fallback answers 2026-09-23 11:57:21 +08:00
session_knowledge_search_test.go feat: judge image hits by their image in rerank and show them to vision models (#4013) 2026-10-09 13:01:48 +08:00
session_management_scope_test.go fix(session): allow tenant admins to manage channel sessions (#3939) 2026-10-09 12:00:07 +08:00
session_model_requirement_test.go fix(security): close cross-workspace access paths in shared spaces (#3408) 2026-09-18 22:00:02 +08:00
session_qa_api_key_scope_test.go Refine scoped API key capabilities 2026-07-07 12:00:13 +08:00
session_qa_helpers.go feat(chat): add session reasoning controls and polish model configuration 2026-09-23 17:12:19 +08:00
session_reasoning_effort_test.go feat(chat): add session reasoning controls and polish model configuration 2026-09-23 17:12:19 +08:00
session_rewind.go feat(session): in-place rewind with workspace checkpoint reset (#3469) 2026-09-20 21:01:00 +08:00
session_rewind_test.go feat(session): in-place rewind with workspace checkpoint reset (#3469) 2026-09-20 21:01:00 +08:00
session_sandbox_entry_test.go fix(sandbox): resolve a session's pinned sandbox in the workspace that owns it (#3471) 2026-09-21 15:38:39 +08:00
session_sandbox_gating_test.go feat(sandbox): remove the Local host-process backend 2026-08-26 17:48:21 +08:00
session_sandbox_pin.go feat(lite): install and run skills on the host (#3661) 2026-09-24 21:30:34 +08:00
session_sandbox_pin_test.go fix(sandbox): resolve a session's pinned sandbox in the workspace that owns it (#3471) 2026-09-21 15:38:39 +08:00
session_sandbox_turn_test.go feat(session): in-place rewind with workspace checkpoint reset (#3469) 2026-09-20 21:01:00 +08:00
session_tag_targets_test.go feat(agent): enhance suggested questions API with tag scopes 2026-07-17 10:19:43 +08:00
session_title.go fix(session): keep auto-generated titles plain text 2026-09-24 15:56:09 +08:00
session_title_test.go fix(session): keep auto-generated titles plain text 2026-09-24 15:56:09 +08:00
session_user_scope_test.go feat(sandbox): expose tenant skill management over HTTP and in the console (#2789) 2026-08-25 11:28:12 +08:00
share_management_test.go fix(security): close cross-workspace access paths in shared spaces (#3408) 2026-09-18 22:00:02 +08:00
shared_agent_sandbox_tenant_test.go feat(lite): install and run skills on the host (#3661) 2026-09-24 21:30:34 +08:00
slug_fuzzy.go perf(wiki-ingest): scale to 4w-doc KBs + generic task queue / dead-letter 2026-05-10 00:01:06 +08:00
slug_fuzzy_test.go feat(memory): add cross-session long-term memory 2026-08-13 18:00:02 +08:00
storagebackend.go fix(security): reject traversal in local prefixes, task IDs, and wiki sort 2026-09-07 11:23:45 +08:00
storagebackend_test.go ui(sandbox): rename settings to skill sandbox and fix skill install (#2792) 2026-08-25 13:24:58 +08:00
system_setting.go feat(auth): 新增仅限邀请注册档位 (#3900) 2026-09-30 13:32:55 +08:00
system_setting_validation_test.go feat(auth): 新增仅限邀请注册档位 (#3900) 2026-09-30 13:32:55 +08:00
tag.go refactor(resource-access): unify scoped authorization and transfer recovery (#3097) 2026-09-08 15:36:33 +08:00
tag_access.go refactor(resource-access): unify scoped authorization and transfer recovery (#3097) 2026-09-08 15:36:33 +08:00
temporary_document.go fix(upload): accept XMind files before parser engine discovery 2026-09-21 23:18:11 +08:00
temporary_document_fork_access_test.go feat(session): fork conversations from a historical user message (#3304) 2026-09-17 14:20:18 +08:00
temporary_document_test.go fix(upload): accept XMind files before parser engine discovery 2026-09-21 23:18:11 +08:00
tenant.go feat(storage): add multi-instance storage backends per workspace 2026-07-15 14:54:39 +08:00
tenant_api_key.go feat: support updating API key configuration 2026-08-12 11:43:03 +08:00
tenant_api_key_test.go feat: support updating API key configuration 2026-08-12 11:43:03 +08:00
tenant_invitation.go fix: reconcile direct invites after share-link join 2026-08-31 12:31:00 +08:00
tenant_invitation_test.go fix: reconcile direct invites after share-link join 2026-08-31 12:31:00 +08:00
tenant_member.go fix(tenant): clear stale home tenant after member removal 2026-08-07 14:35:10 +08:00
tenant_member_test.go feat(sandbox): add an interactive terminal and files tab beside chat (#3110) 2026-09-08 17:43:15 +08:00
tenant_sandbox_config.go feat(sandbox): add a graphical desktop to session sandboxes (#3245) 2026-09-14 20:37:37 +08:00
tenant_sandbox_config_test.go feat(sandbox): add a graphical desktop to session sandboxes (#3245) 2026-09-14 20:37:37 +08:00
tenant_sandbox_resolve.go feat(lite): install and run skills on the host (#3661) 2026-09-24 21:30:34 +08:00
tenant_sandbox_resolve_test.go feat(lite): install and run skills on the host (#3661) 2026-09-24 21:30:34 +08:00
tenant_skill_admin.go feat(lite): install and run skills on the host (#3661) 2026-09-24 21:30:34 +08:00
tenant_skill_admin_test.go fix(sandbox): make skill env capture fill blanks only 2026-08-27 14:32:00 +08:00
tenant_skill_bundle.go fix(skills): accept UTF-8 BOM in skill manifests 2026-09-09 14:42:03 +08:00
tenant_skill_bundle_test.go fix(skills): accept UTF-8 BOM in skill manifests 2026-09-09 14:42:03 +08:00
tenant_skill_catalog.go revert: take the plugin system back out of main 2026-09-26 14:58:18 +08:00
tenant_skill_catalog_test.go feat(lite): install and run skills on the host (#3661) 2026-09-24 21:30:34 +08:00
tenant_skill_effective.go feat(lite): install and run skills on the host (#3661) 2026-09-24 21:30:34 +08:00
tenant_skill_effective_test.go feat(lite): install and run skills on the host (#3661) 2026-09-24 21:30:34 +08:00
tenant_skill_env_declare.go feat(agent): unify sandbox tools and drop host preloaded skills (#3033) 2026-09-05 16:45:59 +08:00
tenant_skill_env_declare_test.go feat(agent): unify sandbox tools and drop host preloaded skills (#3033) 2026-09-05 16:45:59 +08:00
tenant_skill_files.go refactor(skills): enhance skill bundle management and catalog handling 2026-09-02 15:08:05 +08:00
tenant_skill_files_test.go refactor(skills): enhance skill bundle management and catalog handling 2026-09-02 15:08:05 +08:00
tenant_skill_host.go feat(lite): install and run skills on the host (#3661) 2026-09-24 21:30:34 +08:00
tenant_skill_host_test.go test(skills): wait for the host install to release its lock before asserting 2026-09-28 21:07:04 +08:00
tenant_skill_install.go feat(lite): install and run skills on the host (#3661) 2026-09-24 21:30:34 +08:00
tenant_skill_install_test.go fix(skills): skip vendored dep trees in install verification script enumeration (#3943) 2026-10-08 01:28:45 +08:00
tenant_skill_progress.go fix(sandbox): harden tenant skill install against races and credential rotation 2026-08-24 17:51:13 +08:00
tenant_skill_reaper.go fix(server): run ResourceCleaner on signal shutdown instead of racing Fatalf exit (#3804) 2026-09-28 23:37:36 +08:00
tenant_skill_reaper_test.go feat(lite): install and run skills on the host (#3661) 2026-09-24 21:30:34 +08:00
tenant_skill_remove.go feat(lite): install and run skills on the host (#3661) 2026-09-24 21:30:34 +08:00
tenant_skill_remove_test.go refactor(skills): enhance skill bundle management and catalog handling 2026-09-02 15:08:05 +08:00
tenant_skill_runtime_verify.go fix(skills): pin install guidance and generalize runtime prompts 2026-09-09 23:46:59 +08:00
tenant_skill_runtime_verify_test.go fix(skills): pin install guidance and generalize runtime prompts 2026-09-09 23:46:59 +08:00
tenant_skill_served_test.go fix(skills): upgrade outdated sandbox skills without rolling back the catalog or taking them offline (#3406) 2026-09-18 20:27:43 +08:00
tenant_skill_service.go revert: take the plugin system back out of main 2026-09-26 14:58:18 +08:00
tenant_skill_service_test.go feat(lite): install and run skills on the host (#3661) 2026-09-24 21:30:34 +08:00
tenant_skill_source.go revert: take the plugin system back out of main 2026-09-26 14:58:18 +08:00
tenant_skill_source_test.go revert: take the plugin system back out of main 2026-09-26 14:58:18 +08:00
tenant_skill_stale_sandbox_test.go feat(sandbox): expose tenant skill management over HTTP and in the console (#2789) 2026-08-25 11:28:12 +08:00
tenant_skill_steer.go fix(skills): verify runtime prerequisites and support installer steering 2026-09-09 23:04:59 +08:00
tenant_skill_steer_test.go fix(skills): verify runtime prerequisites and support installer steering 2026-09-09 23:04:59 +08:00
tenant_skill_stop.go feat(skills): add StopSkill functionality to abort in-flight installs 2026-09-02 15:08:05 +08:00
tenant_skill_stop_test.go feat(skills): add StopSkill functionality to abort in-flight installs 2026-09-02 15:08:05 +08:00
tenant_skill_transcript.go fix(agent): report failed tool executions as tool_result, not error 2026-09-18 11:11:21 +08:00
tenant_skill_transcript_test.go fix(agent): report failed tool executions as tool_result, not error 2026-09-18 11:11:21 +08:00
tenant_skill_verify.go fix(skills): skip vendored dep trees in install verification script enumeration (#3943) 2026-10-08 01:28:45 +08:00
tenant_skill_verify.py refactor(skills): introduce write_skill_file and edit_skill_file tools for skill directory management 2026-09-02 15:08:05 +08:00
tenant_skill_verify_python_test.go refactor(skills): introduce write_skill_file and edit_skill_file tools for skill directory management 2026-09-02 15:08:05 +08:00
tenant_storagebackend_test.go feat(storage): add multi-instance storage backends per workspace 2026-07-15 14:54:39 +08:00
user.go fix(auth): 令牌写入失败不再当成登录成功,查询失败不再谎称已撤销 2026-09-30 13:40:51 +08:00
user_admin_create_test.go feat: support complex password (#2929) 2026-09-01 11:50:10 +08:00
user_auth_token_test.go fix(auth): 令牌写入失败不再当成登录成功,查询失败不再谎称已撤销 2026-09-30 13:40:51 +08:00
user_env.go feat(lite): install and run skills on the host (#3661) 2026-09-24 21:30:34 +08:00
user_env_resolver.go fix(skill): count create-time sandbox env vars in the required check 2026-09-22 16:45:58 +08:00
user_env_resolver_test.go fix(skill): count create-time sandbox env vars in the required check 2026-09-22 16:45:58 +08:00
user_env_test.go feat(lite): install and run skills on the host (#3661) 2026-09-24 21:30:34 +08:00
user_jwt_test.go fix(security): block refresh tokens as bearer and sandbox MCP uploads 2026-07-02 17:08:17 +08:00
user_oidc_security_test.go fix: close OIDC id_token verification gaps for explicit endpoints 2026-09-01 11:26:30 +08:00
user_oidc_verify_test.go fix: close OIDC id_token verification gaps for explicit endpoints 2026-09-01 11:26:30 +08:00
user_provisioning_test.go fix(tenant): clear stale home tenant after member removal 2026-08-07 14:35:10 +08:00
user_resource_favorite.go feat(favorites): implement user favorites and recents functionality 2026-05-18 17:28:58 +08:00
user_switch_tenant_test.go fix(auth): record last-active-tenant preference on SwitchTenant (#2922) 2026-09-01 15:43:40 +08:00
user_token_persistence_test.go fix(auth): 令牌写入失败不再当成登录成功,查询失败不再谎称已撤销 2026-09-30 13:40:51 +08:00
vectorstore.go fix: validate vector store connection addresses against SSRF policy 2026-06-04 15:26:56 +08:00
vectorstore_healthcheck.go fix(milvus): validate connections and preserve gRPC resolver defaults (#3654) 2026-10-08 00:48:45 +08:00
vectorstore_healthcheck_ssrf_test.go fix(milvus): validate connections and preserve gRPC resolver defaults (#3654) 2026-10-08 00:48:45 +08:00
vectorstore_opensearch_test.go feat(retriever): activate OpenSearch k-NN driver (PR 3 of 3) 2026-05-29 16:32:27 +08:00
vectorstore_ssrf_test.go fix: validate vector store connection addresses against SSRF policy 2026-06-04 15:26:56 +08:00
vectorstore_test.go fix: use consistent qdrant env settings (#3960) 2026-10-07 23:59:56 +08:00
web_search.go feat(web-search): add Serply provider 2026-09-17 12:25:09 +08:00
web_search_filters_test.go fix(agent): improve web search and persistent page reading (#3086) 2026-09-07 23:09:27 +08:00
web_search_provider.go revert: take the plugin system back out of main 2026-09-26 14:58:18 +08:00
web_search_provider_test.go feat(web-search): add Serply provider 2026-09-17 12:25:09 +08:00
web_search_state.go refactor(resource-access): unify scoped authorization and transfer recovery (#3097) 2026-09-08 15:36:33 +08:00
weknoracloud.go refactor(models): separate provider definitions, model catalogs, and runtime configuration (#3589) 2026-09-23 14:20:08 +08:00
wiki_deleted_kb_guard_test.go fix(tasks): dequeue work for deleted knowledge bases 2026-07-23 12:17:14 +08:00
wiki_deleted_tenant_guard_test.go fix(tenant): stop wiki tasks of soft-deleted tenants from issuing model requests (#3602) 2026-09-23 12:13:32 +08:00
wiki_folder_prune_finalize_test.go feat(wiki): prune empty folders after document retract 2026-07-22 19:27:22 +08:00
wiki_ingest.go fix(wiki): preserve pending work when source lookups fail (#3715) 2026-10-08 01:25:45 +08:00
wiki_ingest_attempt_test.go fix(knowledge): stop parses from getting stuck in processing or finalizing (#3696) 2026-09-25 13:26:38 +08:00
wiki_ingest_batch.go fix(wiki): 唯一写出口 UpdatePage 拦住丢表格行的机器重写(agent 整页写入不再静默改短页面) (#3793) 2026-10-09 10:55:28 +08:00
wiki_ingest_cancellation_stress_test.go fix(wiki): preserve pending work when source lookups fail (#3715) 2026-10-08 01:25:45 +08:00
wiki_ingest_cancellation_test.go fix(wiki): 唯一写出口 UpdatePage 拦住丢表格行的机器重写(agent 整页写入不再静默改短页面) (#3793) 2026-10-09 10:55:28 +08:00
wiki_ingest_cite.go fix(wiki): enrich cited chunk content with image captions in Reduce phase 实体/摘要页面引用子块时同样使用富文本内容 (#3292) 2026-09-21 13:13:48 +08:00
wiki_ingest_cite_resolve_test.go fix(wiki): enrich cited chunk content with image captions in Reduce phase 实体/摘要页面引用子块时同样使用富文本内容 (#3292) 2026-09-21 13:13:48 +08:00
wiki_ingest_cite_test.go refactor(agent): introduce modelcontext registry and fix handle-codec bugs 2026-07-27 11:05:43 +08:00
wiki_ingest_dedup.go fix(wiki): reuse cross-type page for same-title items instead of creating twins (#3547) 2026-09-23 11:58:29 +08:00
wiki_ingest_dedup_test.go fix(wiki): reuse cross-type page for same-title items instead of creating twins (#3547) 2026-09-23 11:58:29 +08:00
wiki_ingest_followup.go fix(wiki): bound outstanding follow-up tasks 2026-09-28 22:02:07 +08:00
wiki_ingest_followup_test.go fix(wiki): bound outstanding follow-up tasks 2026-09-28 22:02:07 +08:00
wiki_ingest_http_cancellation_test.go fix(wiki): preserve pending work when source lookups fail (#3715) 2026-10-08 01:25:45 +08:00
wiki_ingest_language_test.go fix(wiki): ensure prompt language is always resolved 2026-08-05 16:14:50 +08:00
wiki_ingest_reduce_row_guard_test.go fix(wiki): 唯一写出口 UpdatePage 拦住丢表格行的机器重写(agent 整页写入不再静默改短页面) (#3793) 2026-10-09 10:55:28 +08:00
wiki_ingest_retry_test.go fix(wiki): treat rate-limit-shaped 403 responses as transient 2026-09-07 14:41:48 +08:00
wiki_ingest_taxonomy.go fix(wiki): batch taxonomy embeddings instead of one request per set 2026-09-19 20:19:06 +08:00
wiki_ingest_taxonomy_batch_test.go fix(wiki): batch taxonomy embeddings instead of one request per set 2026-09-19 20:19:06 +08:00
wiki_ingest_taxonomy_test.go feat(memory): add cross-session long-term memory 2026-08-13 18:00:02 +08:00
wiki_ingest_test.go fix(wiki): release inflight slot on task cancellation 2026-09-22 17:30:29 +08:00
wiki_linkify.go fix(wiki): skip ambiguous single-Han auto-links (#2860) 2026-09-21 13:08:04 +08:00
wiki_linkify_test.go fix(wiki): skip ambiguous single-Han auto-links (#2860) 2026-09-21 13:08:04 +08:00
wiki_lint.go refactor(modelcontext): consolidate source_refs parsing, fixed data_analysis table, and identifier leak report (#3372) 2026-09-17 22:08:16 +08:00
wiki_page.go fix(wiki): 唯一写出口 UpdatePage 拦住丢表格行的机器重写(agent 整页写入不再静默改短页面) (#3793) 2026-10-09 10:55:28 +08:00
wiki_page_revision_test.go feat(wiki): 增加跨知识库 Wiki 搜索 POST /wiki-search (#3535) 2026-09-25 22:22:58 +08:00
wiki_page_rewrite_continuation_test.go test(wiki): 表格夹具改用合成数据 2026-09-28 20:19:52 +08:00
wiki_page_test.go feat(wiki): 增加跨知识库 Wiki 搜索 POST /wiki-search (#3535) 2026-09-25 22:22:58 +08:00
wiki_rebuild_links_failure_test.go fix(wiki): 重建链接逐页写失败不再静默,半成品不再回 200 (#3884) 2026-10-08 01:25:53 +08:00
wiki_search_test.go feat(wiki): 增加跨知识库 Wiki 搜索 POST /wiki-search (#3535) 2026-09-25 22:22:58 +08:00
wiki_slug_handles.go refactor(agent): introduce modelcontext registry and fix handle-codec bugs 2026-07-27 11:05:43 +08:00
wiki_slug_handles_test.go refactor(agent): introduce modelcontext registry and fix handle-codec bugs 2026-07-27 11:05:43 +08:00
wiki_write_row_guard.go fix(wiki): 唯一写出口 UpdatePage 拦住丢表格行的机器重写(agent 整页写入不再静默改短页面) (#3793) 2026-10-09 10:55:28 +08:00
wiki_write_row_guard_test.go fix(wiki): 唯一写出口 UpdatePage 拦住丢表格行的机器重写(agent 整页写入不再静默改短页面) (#3793) 2026-10-09 10:55:28 +08:00
workspace_checkpointer.go feat(sandbox): run unpinned Lite sessions on the host OS sandbox (#3549) 2026-09-22 19:35:03 +08:00
workspace_checkpointer_test.go feat(sandbox): run unpinned Lite sessions on the host OS sandbox (#3549) 2026-09-22 19:35:03 +08:00
workspace_git_layout_test.go feat(session): in-place rewind with workspace checkpoint reset (#3469) 2026-09-20 21:01:00 +08:00
workspace_reset.go feat(session): in-place rewind with workspace checkpoint reset (#3469) 2026-09-20 21:01:00 +08:00