Self-evolving Context Database for AI Agents. Unify Agent Memory, Knowledge RAG and Skills.
Python agent-contextagent-memoryagent-pluginsagentic-ragcontext-databasedsh-pluginknowledge-basememorymemory-managementself-evolvingvector-database
docs: fix examples and values that contradict the implementation (#5503)
Zayn Jarvisc89688ed5bcd
diff --git a/docs/en/agent-integrations/11-pi.md b/docs/en/agent-integrations/11-pi.mdindex 4879087b1..cf97bda50 100644--- a/docs/en/agent-integrations/11-pi.md+++ b/docs/en/agent-integrations/11-pi.md@@ -6,7 +6,7 @@ Source: [examples/pi-coding-agent-extension](https://github.com/volcengine/OpenV## How it works-- **Session start** builds your OpenViking profile block and restores takeover state, including the branch watermark used by `pi -c`. The block holds your profile, memory indexes, and an `<available-skills>` catalog of your own and account-shared OpenViking skills, and it is added to pi's system prompt on every turn; the model reads a skill's `SKILL.md` with `viking_read` before following it.+- **Session start** builds your OpenViking profile block and restores takeover state, including the branch watermark used by `pi -c`. The block holds your profile, memory indexes, and an `<available-skills>` catalog of your own and account-shared OpenViking skills, and it is added to pi's system prompt on every turn; the model reads a skill's `SKILL.md` with `openviking_read` before following it.- **Every prompt** runs semantic recall against the OpenViking server and injects matching memories as hidden context.- **Every turn** captures user and assistant messages (including structured tool calls) into an OpenViking session; takeover mode commits once synced-token pressure crosses the threshold and then keeps only the recent live tail in model context.- **Context takeover** is enabled by default. The `context` hook injects `[OpenViking Session Context]` from the latest archive overview before recall is added to the latest user turn.diff --git a/docs/en/api/02-resources.md b/docs/en/api/02-resources.mdindex 838fcd484..2ea8f0044 100644--- a/docs/en/api/02-resources.md+++ b/docs/en/api/02-resources.md@@ -225,7 +225,7 @@ This endpoint is the core entry point for resource management. It supports vario- `args.parse_mode=no_split` still invokes the normal format Parser. PDF, Word, PowerPoint, HTML, and other supported documents are converted to Markdown, but heading-, paragraph-, and size-based splitting is skipped. A directory import applies this independently to each supported document and continues to honor `.gitignore`, filters, and `preserve_structure`. Directory files configured for Understanding fall back to their native Parser in this mode; a file type without native parsing support is recorded in `meta.failed_files` without preventing other selected files from succeeding.- For a single-file input in `no_split` mode, when parsing produces exactly one visible file and `to` is omitted, that file is stored directly under the resolved parent (for example, `guide.md` becomes `viking://resources/guide.md`). No wrapper directory or directory-level `.abstract.md` / `.overview.md` is created. If parsing also produces images or other visible files, the wrapper directory is retained. An explicit `to` is always preserved as the exact final URI.- `no_split` changes only the stored Markdown layout. Semantic processing, file vectorization, and any internal embedding chunking remain unchanged. Relative Markdown links are resolved against the same no-split output layout, so links do not point to split-only paths. Understanding is not called for directory files in this mode.-- To create or update plain text directly, use [content/write](03-filesystem.md#write) instead of `add_resource`. Semantic processing and embeddings are refreshed automatically after resource ingestion and content writes.+- To create or update plain text directly, use [content/write](12-content.md#write) instead of `add_resource`. Semantic processing and embeddings are refreshed automatically after resource ingestion and content writes.#### 3. Usage Examplesdiff --git a/docs/en/api/05-sessions.md b/docs/en/api/05-sessions.mdindex 3ec2708c9..fc6aeb1f0 100644--- a/docs/en/api/05-sessions.md+++ b/docs/en/api/05-sessions.md@@ -1233,7 +1233,7 @@ Add multiple messages to a session in a single request. Suitable for scenarios t|------|------|------|--------|------|| session_id | str | Yes | - | Session ID || messages | List[AddMessageRequest] | Yes | - | List of messages, each following the same format as `add_message()`, max 100 |-| options | BatchAddMessagesOptions | No | None | Advanced batch options such as `telemetry`; pass `options={"telemetry": true}` to include operation telemetry data |+| options | BatchAddMessagesOptions | No | None | Advanced batch options such as `telemetry`; pass `options={"telemetry": True}` to include operation telemetry data |> **Note**: Each message follows the exact same format as `add_message()`, supporting both `content` (simple mode) and `parts` (Parts mode). If you need to add more than 100 messages, call in batches.diff --git a/docs/en/api/06-retrieval.md b/docs/en/api/06-retrieval.mdindex e18b8c23c..b45be33ce 100644--- a/docs/en/api/06-retrieval.md+++ b/docs/en/api/06-retrieval.md@@ -445,7 +445,7 @@ curl -X POST http://localhost:1933/api/v1/search/search \}'```-**Search without Session (Still Performs Intent Analysis)**+**Search without Session (Uses the Original Query)**```bashcurl -X POST http://localhost:1933/api/v1/search/search \@@ -521,7 +521,7 @@ for context in results.get("resources", []):```python# search can also be used without session-# It still performs intent analysis on the query+# Without session content, it uses the original query without intent analysisresults = client.search(query="how to implement OAuth 2.0 authorization code flow")diff --git a/docs/en/api/07-system.md b/docs/en/api/07-system.mdindex ac99e9f93..32593805a 100644--- a/docs/en/api/07-system.md+++ b/docs/en/api/07-system.md@@ -137,7 +137,7 @@ ov --profile health#### 1. API Implementation Overview-Readiness probe for deployment environments. Checks AGFS, VectorDB, APIKeyManager, and Ollama (if configured) status. Returns 200 when all configured subsystems are ready and 503 otherwise. No authentication required (designed for Kubernetes probes).+Readiness probe for deployment environments. Checks AGFS, VectorDB, APIKeyManager, embedding, and Ollama (if configured). Returns 200 when all configured subsystems are ready and 503 otherwise. No authentication required (designed for Kubernetes probes).**Code Entry Points**:- `openviking/server/routers/system.py:readiness_check` - HTTP route@@ -147,9 +147,10 @@ Readiness probe for deployment environments. Checks AGFS, VectorDB, APIKeyManageNo parameters.**Check Item Descriptions**:-- `agfs`: Whether Viking filesystem is accessible+- `agfs`: Nested filesystem and multi-write sync checks- `vectordb`: Whether vector database is healthy- `api_key_manager`: Whether API key manager is loaded+- `embedding`: Whether the embedding provider was initialized at startup; no provider request is sent- `ollama`: Whether Ollama service is reachable (only if configured)#### 3. Usage Examples@@ -170,9 +171,10 @@ curl -X GET http://localhost:1933/ready{"status": "ready","checks": {- "agfs": "ok",+ "agfs": {"status": "ok", "checks": {"filesystem": "ok", "multiwrite_sync": "not_supported"}},"vectordb": "ok","api_key_manager": "ok",+ "embedding": "ok","ollama": "not_configured"}}@@ -208,18 +210,7 @@ curl -X GET http://localhost:1933/api/v1/system/status \-H "X-API-Key: your-key"```-**Python SDK**--```python-status = client.get_status()-print(status)-```--**TypeScript SDK**--```typescript-console.log(await client.getStatus());-```+The public SDK `get_status()` / `getStatus()` / `GetStatus()` methods return aggregate Observer status, not this endpoint’s identity payload. Use HTTP for this endpoint; see [Observer](18-observer.md) for those SDK methods.**CLI**diff --git a/docs/en/api/12-content.md b/docs/en/api/12-content.mdindex 3ac638c0a..4b1f03503 100644--- a/docs/en/api/12-content.md+++ b/docs/en/api/12-content.md@@ -6,7 +6,7 @@ The Content API reads L0/L1/L2 content, writes text, and maintains semantic and### abstract()-Read the L0 abstract (an approximately 100-token summary), excluding the OKF header.+Read the L0 abstract, excluding the OKF header. Directory abstracts have a default limit of 256 characters; this is not a token count.**Parameters**diff --git a/docs/en/api/18-observer.md b/docs/en/api/18-observer.mdindex b59fcd4cc..4816e4184 100644--- a/docs/en/api/18-observer.md+++ b/docs/en/api/18-observer.md@@ -4,7 +4,7 @@ The Observer API reports immediate status for queues, the vector database, model## Observer API-The observer API provides detailed component-level monitoring.+Python examples below use `SyncHTTPClient`. Observer accessors are properties returning dictionaries: use `client.observer.queue`, without parentheses. Each access makes a request; keep the result when reading several fields.### observer.queue@@ -37,13 +37,9 @@ curl -X GET http://localhost:1933/api/v1/observer/queue \**Python SDK**```python-print(client.observer.queue())-# Output:-# [queue] (healthy)-# Queue Pending In Progress Processed Errors Total-# Embedding 0 0 10 0 10-# Semantic 0 0 10 0 10-# TOTAL 0 0 20 0 20+status = client.observer.queue+print(status["is_healthy"])+print(status["status"])```**TypeScript SDK**@@ -117,16 +113,9 @@ curl -X GET 'http://localhost:1933/api/v1/observer/vikingdb?format=json' \**Python SDK**```python-print(client.observer.vikingdb())-# Output:-# [vikingdb] (healthy)-# Collection Index Count Vector Count Status-# context 1 55 OK-# TOTAL 1 55--# Access specific attributes-print(client.observer.vikingdb().is_healthy) # True-print(client.observer.vikingdb().status) # Status table string+status = client.observer.vikingdb+print(status["is_healthy"])+print(status["status"])```**TypeScript SDK**@@ -211,13 +200,9 @@ curl -X GET http://localhost:1933/api/v1/observer/models \**Python SDK**```python-print(client.observer.models())-# Output:-# [models] (healthy)-# provider_model healthy detail-# dense_embedding yes ...-# rerank yes ...-# vlm yes ...+status = client.observer.models+print(status["is_healthy"])+print(status["status"])```**TypeScript SDK**@@ -438,18 +423,9 @@ curl -X GET http://localhost:1933/api/v1/observer/system \**Python SDK**```python-print(client.observer.system())-# Output:-# [queue] (healthy)-# ...-#-# [vikingdb] (healthy)-# ...-#-# [models] (healthy)-# ...-#-# [system] (healthy)+status = client.observer.system+print(status["is_healthy"])+print(status["components"])```**TypeScript SDK**diff --git a/docs/en/api/22-openviking-assets.md b/docs/en/api/22-openviking-assets.mdindex 742a055e4..4821958af 100644--- a/docs/en/api/22-openviking-assets.md+++ b/docs/en/api/22-openviking-assets.md@@ -104,7 +104,7 @@ Protocol or content validation failures return HTTP `400` with the error code- duplicate asset identities in one Manifest.Empty fields, incorrect field types, or length-limit violations are rejected by-request validation with HTTP `422`.+request validation with HTTP `400` and `INVALID_ARGUMENT`; field details are returned in `error.details.validation_errors`.## Preflight Git repository accessdiff --git a/docs/en/api/23-agent-runtime.md b/docs/en/api/23-agent-runtime.mdindex 8899ff8f3..56e01d44a 100644--- a/docs/en/api/23-agent-runtime.md+++ b/docs/en/api/23-agent-runtime.md@@ -151,7 +151,7 @@ curl http://localhost:1933/api/v1/compile/submissions/studio-compile-001 \-H "X-API-Key: your-key"```-Returns `200 OK` with `status: "ok"` and the existing OV task record in `result`, using the same structure as the task creation response above. Lookup is scoped to the current account and user and does not create a task. A missing submission, including a key used only by another user, returns `404`; an invalid key returns `422`.+Returns `200 OK` with `status: "ok"` and the existing OV task record in `result`, using the same structure as the task creation response above. Lookup is scoped to the current account and user and does not create a task. A missing submission, including a key used only by another user, returns `404`; an invalid key returns `400 INVALID_ARGUMENT`.To retry creation safely, reuse the same `Idempotency-Key` and request parameters. A key reused with different parameters returns `409`. Without this header, creation does not provide a submission key for this lookup.diff --git a/docs/en/concepts/04-viking-uri.md b/docs/en/concepts/04-viking-uri.mdindex fc0f8a77f..757bda879 100644--- a/docs/en/concepts/04-viking-uri.md+++ b/docs/en/concepts/04-viking-uri.md@@ -165,7 +165,7 @@ segments, for example `alice` or `web-visitor-alice`.```viking://user/{user_id}/sessions/{session_id}/ # Session root-viking://user/{user_id}/sessions/{session_id}/messages # Session messages+viking://user/{user_id}/sessions/{session_id}/messages.jsonl # Session messagesviking://user/{user_id}/sessions/{session_id}/tools # Tool executionsviking://user/{user_id}/sessions/{session_id}/history # Archived historyviking://~/sessions/{session_id}/ # Your own session, via the home alias@@ -371,9 +371,8 @@ Each directory may contain special files:| File | Purpose ||------|---------|-| `.abstract.md` | L0 abstract (~100 tokens) |-| `.overview.md` | L1 overview (~2k tokens) |-| `` | Related resources |+| `.abstract.md` | L0 directory abstract (default body limit: 256 characters) |+| `.overview.md` | L1 directory overview (default body limit: 4,000 characters) || `.meta.json` | Metadata |## Best Practicesdiff --git a/docs/en/concepts/13-privacy.md b/docs/en/concepts/13-privacy.mdindex 506247a98..8e4774d4f 100644--- a/docs/en/concepts/13-privacy.md+++ b/docs/en/concepts/13-privacy.md@@ -110,9 +110,8 @@ Current matching is suffix-based: `/skills/{name}/SKILL.md`, so it supports user-> add to extra-config notice (`Configured but not referenced in content`).4. If `unresolved_entries` or extra-config entries exist, append notice block:- - `[OpenViking Privacy Notice]`- - `Related configured privacy values: ...`- - `Not replaced (missing config): ...` (if any)+ - `[Privacy Config Notice]`+ - `Missing config: ...` (if any)- `Configured but not referenced in content: ...` (if any)> Current implementation only runs restore when a `current` privacy config exists for that skill. If no current config exists, no notice is appended.diff --git a/docs/en/guides/01-configuration.md b/docs/en/guides/01-configuration.mdindex 76f291b38..5586cac0b 100644--- a/docs/en/guides/01-configuration.md+++ b/docs/en/guides/01-configuration.md@@ -757,8 +757,8 @@ Vision Language Model for semantic extraction (L0/L1 generation).When resources are added, VLM generates:-1. **L0 (Abstract)**: ~100 token summary-2. **L1 (Overview)**: ~2k token overview with navigation+1. **L0 (Abstract)**: file or directory summary, with a default limit of 256 characters+2. **L1 (Overview)**: directory overview with navigation, with a default limit of 4000 charactersIf VLM is not configured, L0/L1 will be generated from content directly (less semantic), and multimodal resources may have limited descriptions.diff --git a/docs/en/guides/03-deployment.md b/docs/en/guides/03-deployment.mdindex b00fde474..a4a74bfcd 100644--- a/docs/en/guides/03-deployment.md+++ b/docs/en/guides/03-deployment.md@@ -432,7 +432,7 @@ curl http://localhost:1933/health# Readinesscurl http://localhost:1933/ready-# {"status": "ready", "checks": {"agfs": "ok", "vectordb": "ok", "api_key_manager": "ok", "embedding": "ok", "ollama": "ok"}}+# {"status":"ready","checks":{"agfs":{"status":"ok","checks":{"filesystem":"ok","multiwrite_sync":"not_supported"}},"vectordb":"ok","api_key_manager":"ok","embedding":"ok","ollama":"not_configured"}}```Use `/health` for Kubernetes liveness probes and `/ready` for readiness probes.diff --git a/docs/en/guides/04-authentication.md b/docs/en/guides/04-authentication.mdindex bc883c6ef..2fdf7badf 100644--- a/docs/en/guides/04-authentication.md+++ b/docs/en/guides/04-authentication.md@@ -200,10 +200,10 @@ OIDC and LDAP authentication require optional dependencies. You can install them```bash# Install auth features only-uv pip install openviking[auth]+uv pip install "openviking[auth]"# Or install with all features (including bot)-uv pip install openviking[bot]+uv pip install "openviking[bot]"```### Configure OIDC@@ -358,7 +358,7 @@ Two modes are supported:{"account_id": {"source": "claim",- "claim": ["department", "team", "organization"],+ "claims": ["department", "team", "organization"],"fallback": "default"}}@@ -822,7 +822,7 @@ You can switch between LDAP and API Key authentication by editing `~/.openvikingRUST_LOG=debug ov ls viking://# Check configuration-ov doctor+ov config validate```---diff --git a/docs/zh/agent-integrations/11-pi.md b/docs/zh/agent-integrations/11-pi.mdindex cf56b1c41..8ab558b6c 100644--- a/docs/zh/agent-integrations/11-pi.md+++ b/docs/zh/agent-integrations/11-pi.md@@ -6,7 +6,7 @@## 工作方式-- **Session 开始**时构建 OpenViking profile 块,并恢复 takeover 状态,包括 `pi -c` 续跑所需的 branch 水位。profile 块包含你的 profile、记忆索引和 `<available-skills>` 清单(你自己的和账号共享的 OpenViking skill),每个 turn 都会附加到 pi 的系统提示词里;模型照某个 skill 做事之前,先用 `viking_read` 读它的 `SKILL.md`。+- **Session 开始**时构建 OpenViking profile 块,并恢复 takeover 状态,包括 `pi -c` 续跑所需的 branch 水位。profile 块包含你的 profile、记忆索引和 `<available-skills>` 清单(你自己的和账号共享的 OpenViking skill),每个 turn 都会附加到 pi 的系统提示词里;模型照某个 skill 做事之前,先用 `openviking_read` 读它的 `SKILL.md`。- **每个 prompt** 向 OpenViking server 做语义召回,把命中的记忆作为隐藏上下文注入。- **每个 turn** 把用户与助手消息(含结构化工具调用)捕获进 OpenViking session;takeover 模式会在 synced token 压力超过阈值后 commit,并在模型上下文中只保留近期 live tail。- **Context takeover** 默认开启。`context` hook 会先注入来自最新 archive overview 的 `[OpenViking Session Context]`,再把 recall 结果插入最新用户消息。diff --git a/docs/zh/api/02-resources.md b/docs/zh/api/02-resources.mdindex ba62ebdda..2daac93d1 100644--- a/docs/zh/api/02-resources.md+++ b/docs/zh/api/02-resources.md@@ -218,7 +218,7 @@ URL/文件 Parser TreeBuilder AGFS Summarizer/Vector- `args.parse_mode=no_split` 仍调用正常的格式 Parser。PDF、Word、PowerPoint、HTML 等受支持文档会转换为 Markdown,但跳过按标题、段落和长度拆分。目录导入会对每个受支持文档分别应用该规则,并继续遵循 `.gitignore`、筛选参数和 `preserve_structure`。该模式下,配置为走 Understanding 的目录文件会回退到对应的原生 Parser;没有原生解析能力的文件会写入 `meta.failed_files`,但不会阻止其他入选文件成功导入。- 对单文件输入使用 `no_split` 时,如果解析结果恰好只有一个可见文件且未指定 `to`,该文件会直接放到解析出的父目录下(例如 `guide.md` 写入 `viking://resources/guide.md`),不会创建同名上层目录,也不会生成目录级 `.abstract.md` / `.overview.md`。如果解析结果还包含图片等其他可见文件,则保留上层目录。显式指定的 `to` 始终作为最终 URI 原样保留。- `no_split` 只改变 Markdown 正文的存储布局,不改变语义处理、文件向量化和内部 embedding 分块。Markdown 相对链接会按同一个 no-split 输出布局解析,不会再指向仅拆分模式存在的路径。该模式下不会为目录文件调用 Understanding。-- 如果要直接创建或更新纯文本内容,请使用 [content/write](03-filesystem.md#write),不要使用 `add_resource`。资源导入和内容写入后都会自动刷新语义与 embedding。+- 如果要直接创建或更新纯文本内容,请使用 [content/write](12-content.md#write),不要使用 `add_resource`。资源导入和内容写入后都会自动刷新语义与 embedding。#### 3. 使用示例diff --git a/docs/zh/api/06-retrieval.md b/docs/zh/api/06-retrieval.mdindex 3f51039ec..b1cb53a66 100644--- a/docs/zh/api/06-retrieval.md+++ b/docs/zh/api/06-retrieval.md@@ -447,7 +447,7 @@ curl -X POST http://localhost:1933/api/v1/search/search \}'```-**不带会话的搜索(仍会进行意图分析)**+**不带会话的搜索(使用原始查询)**```bashcurl -X POST http://localhost:1933/api/v1/search/search \@@ -523,7 +523,7 @@ for context in results.get("resources", []):```python# search 也可以在没有会话的情况下使用-# 它仍然会对查询进行意图分析+# 没有会话内容时使用原始查询,不调用意图分析results = client.search(query="how to implement OAuth 2.0 authorization code flow")diff --git a/docs/zh/api/07-system.md b/docs/zh/api/07-system.mdindex a759d6b2e..0e5010aa2 100644--- a/docs/zh/api/07-system.md+++ b/docs/zh/api/07-system.md@@ -135,7 +135,7 @@ ov --profile health#### 1. API 实现介绍-部署环境使用的就绪探针。检查 AGFS、VectorDB、APIKeyManager 和 Ollama(如配置)的状态。当所有配置的子系统都准备完成时返回 200,否则返回 503。无需认证(专为 Kubernetes 探针设计)。+部署环境使用的就绪探针。检查 AGFS、VectorDB、APIKeyManager、Embedding 和 Ollama(如配置)的状态。当所有配置的子系统都准备完成时返回 200,否则返回 503。无需认证(专为 Kubernetes 探针设计)。**代码入口**:- `openviking/server/routers/system.py:readiness_check` - HTTP 路由@@ -145,9 +145,10 @@ ov --profile health无参数。**检查项说明**:-- `agfs`: Viking 文件系统是否可访问+- `agfs`: 包含文件系统访问和多写同步状态的嵌套检查结果- `vectordb`: 向量数据库是否健康- `api_key_manager`: API 密钥管理器是否已加载+- `embedding`: 启动时 Embedding provider 是否已初始化;不发起模型请求- `ollama`: Ollama 服务是否可达(仅当配置时)#### 3. 使用示例@@ -168,9 +169,10 @@ curl -X GET http://localhost:1933/ready{"status": "ready","checks": {- "agfs": "ok",+ "agfs": {"status": "ok", "checks": {"filesystem": "ok", "multiwrite_sync": "not_supported"}},"vectordb": "ok","api_key_manager": "ok",+ "embedding": "ok","ollama": "not_configured"}}@@ -206,18 +208,7 @@ curl -X GET http://localhost:1933/api/v1/system/status \-H "X-API-Key: your-key"```-**Python SDK**--```python-status = client.get_status()-print(status)-```--**TypeScript SDK**--```typescript-console.log(await client.getStatus());-```+公开 SDK 的 `get_status()` / `getStatus()` / `GetStatus()` 返回 Observer 汇总状态,不是本接口的身份信息。访问本接口使用 HTTP;这些 SDK 方法见[运行观测](18-observer.md)。**CLI**diff --git a/docs/zh/api/12-content.md b/docs/zh/api/12-content.mdindex 182537a59..3823486df 100644--- a/docs/zh/api/12-content.md+++ b/docs/zh/api/12-content.md@@ -6,7 +6,7 @@### abstract()-读取 L0 摘要(约 100 token 的概要),不包括 okf 文件头。+读取 L0 摘要,不包括 OKF 文件头。目录摘要的默认字符上限为 256;字符数不等于 token 数。**参数**diff --git a/docs/zh/api/18-observer.md b/docs/zh/api/18-observer.mdindex a82641842..484d9b69f 100644--- a/docs/zh/api/18-observer.md+++ b/docs/zh/api/18-observer.md@@ -4,7 +4,7 @@ Observer API 提供队列、向量库、模型、锁、检索和文件系统等## Observer API-Observer API 提供详细的组件级监控。+以下 Python 示例使用 `SyncHTTPClient`。Observer 接口是返回字典的属性,使用 `client.observer.queue`,不加括号。每次访问都会请求服务端;需要读取多个字段时,先保存返回值。### observer.queue@@ -37,13 +37,9 @@ curl -X GET http://localhost:1933/api/v1/observer/queue \**Python SDK**```python-print(client.observer.queue())-# 输出:-# [queue] (healthy)-# Queue Pending In Progress Processed Errors Total-# Embedding 0 0 10 0 10-# Semantic 0 0 10 0 10-# TOTAL 0 0 20 0 20+status = client.observer.queue+print(status["is_healthy"])+print(status["status"])```**TypeScript SDK**@@ -117,16 +113,9 @@ curl -X GET 'http://localhost:1933/api/v1/observer/vikingdb?format=json' \**Python SDK**```python-print(client.observer.vikingdb())-# 输出:-# [vikingdb] (healthy)-# Collection Index Count Vector Count Status-# context 1 55 OK-# TOTAL 1 55--# 访问特定属性-print(client.observer.vikingdb().is_healthy) # True-print(client.observer.vikingdb().status) # 状态表字符串+status = client.observer.vikingdb+print(status["is_healthy"])+print(status["status"])```**TypeScript SDK**@@ -211,13 +200,9 @@ curl -X GET http://localhost:1933/api/v1/observer/models \**Python SDK**```python-print(client.observer.models())-# 输出:-# [models] (healthy)-# provider_model healthy detail-# dense_embedding yes ...-# rerank yes ...-# vlm yes ...+status = client.observer.models+print(status["is_healthy"])+print(status["status"])```**TypeScript SDK**@@ -438,18 +423,9 @@ curl -X GET http://localhost:1933/api/v1/observer/system \**Python SDK**```python-print(client.observer.system())-# 输出:-# [queue] (healthy)-# ...-#-# [vikingdb] (healthy)-# ...-#-# [models] (healthy)-# ...-#-# [system] (healthy)+status = client.observer.system+print(status["is_healthy"])+print(status["components"])```**TypeScript SDK**diff --git a/docs/zh/api/22-openviking-assets.md b/docs/zh/api/22-openviking-assets.mdindex 69dd6c47d..bbaf85a45 100644--- a/docs/zh/api/22-openviking-assets.md+++ b/docs/zh/api/22-openviking-assets.md@@ -96,7 +96,7 @@ Manifest 按名称选择资产时,把 Catalog YAML 放入 `catalog_yaml`,来- 连接器、仓库 URL、Git 引用或资产身份不合法;- 同一份 Manifest 中出现重复资产身份。-请求字段为空、类型错误或超过长度限制时,由请求模型返回 HTTP `422`。+请求字段为空、类型错误或超过长度限制时,返回 HTTP `400` 和 `INVALID_ARGUMENT`,字段详情见 `error.details.validation_errors`。## 预检 Git 仓库权限diff --git a/docs/zh/api/23-agent-runtime.md b/docs/zh/api/23-agent-runtime.mdindex 3dad55bb8..4ffc99bf0 100644--- a/docs/zh/api/23-agent-runtime.md+++ b/docs/zh/api/23-agent-runtime.md@@ -151,7 +151,7 @@ curl http://localhost:1933/api/v1/compile/submissions/studio-compile-001 \-H "X-API-Key: your-key"```-返回 `200 OK`,其中 `status` 为 `"ok"`,`result` 为已有的 OV 任务记录,结构与上方创建任务响应一致。查询范围限定为当前账号和用户,不会创建任务。提交不存在(包括键仅被其他用户使用)时返回 `404`;键格式不合法时返回 `422`。+返回 `200 OK`,其中 `status` 为 `"ok"`,`result` 为已有的 OV 任务记录,结构与上方创建任务响应一致。查询范围限定为当前账号和用户,不会创建任务。提交不存在(包括键仅被其他用户使用)时返回 `404`;键格式不合法时返回 `400 INVALID_ARGUMENT`。需要安全重试创建请求时,应复用相同的 `Idempotency-Key` 和请求参数。使用同一键提交不同参数会返回 `409`。未传入该请求头的创建请求,不提供用于此查询的提交键。diff --git a/docs/zh/concepts/04-viking-uri.md b/docs/zh/concepts/04-viking-uri.mdindex e93d51cec..06f4a2f41 100644--- a/docs/zh/concepts/04-viking-uri.md+++ b/docs/zh/concepts/04-viking-uri.md@@ -154,7 +154,7 @@ Peer 数据使用 `viking://user/<user_id>/peers/<peer_id>/...`。```viking://user/{user_id}/sessions/{session_id}/ # 会话根目录-viking://user/{user_id}/sessions/{session_id}/messages # 会话消息+viking://user/{user_id}/sessions/{session_id}/messages.jsonl # 会话消息viking://user/{user_id}/sessions/{session_id}/tools # 工具执行viking://user/{user_id}/sessions/{session_id}/history # 归档历史viking://~/sessions/{session_id}/ # 自己的会话(家目录别名写法)@@ -352,9 +352,8 @@ overview = await client.overview(uri="viking://resources/docs/")| 文件 | 用途 ||------|------|-| `.abstract.md` | L0 摘要(~100 tokens) |-| `.overview.md` | L1 概览(~2k tokens) |-| `` | 相关资源 |+| `.abstract.md` | L0 目录摘要(默认正文上限 256 字符) |+| `.overview.md` | L1 目录概览(默认正文上限 4,000 字符) || `.meta.json` | 元数据 |## 最佳实践diff --git a/docs/zh/concepts/13-privacy.md b/docs/zh/concepts/13-privacy.mdindex c55a553d4..c873f8d23 100644--- a/docs/zh/concepts/13-privacy.md+++ b/docs/zh/concepts/13-privacy.md@@ -110,9 +110,8 @@ fs.read(uri)-> 记入“额外配置”提示(`Configured but not referenced in content`)。4. 当存在 `unresolved_entries` 或“额外配置”时,会在内容末尾追加:- - `[OpenViking Privacy Notice]`- - `Related configured privacy values: ...`- - `Not replaced (missing config): ...`(如有)+ - `[Privacy Config Notice]`+ - `Missing config: ...`(如有)- `Configured but not referenced in content: ...`(如有)> 注意:当前实现中,仅当该 skill 已有 `current` 配置时才会进入 restore。若没有当前配置,不会追加 notice。diff --git a/docs/zh/guides/01-configuration.md b/docs/zh/guides/01-configuration.mdindex 8c5dae864..ab0c4461f 100644--- a/docs/zh/guides/01-configuration.md+++ b/docs/zh/guides/01-configuration.md@@ -723,8 +723,8 @@ provider,并设置 `storage.vectordb.sparse_weight > 0`。自托管模型的添加资源时,VLM 生成:-1. **L0(摘要)**:~100 token 摘要-2. **L1(概览)**:~2k token 概览,包含导航信息+1. **L0(摘要)**:文件或目录摘要,默认字符上限为 256+2. **L1(概览)**:目录概览,包含导航信息,默认字符上限为 4000如果未配置 VLM,L0/L1 将直接从内容生成(语义性较弱),多模态资源的描述可能有限。diff --git a/docs/zh/guides/03-deployment.md b/docs/zh/guides/03-deployment.mdindex 459c5137d..64aedd0a4 100644--- a/docs/zh/guides/03-deployment.md+++ b/docs/zh/guides/03-deployment.md@@ -427,7 +427,7 @@ curl http://localhost:1933/health# 就绪探针curl http://localhost:1933/ready-# {"status": "ready", "checks": {"agfs": "ok", "vectordb": "ok", "api_key_manager": "ok", "embedding": "ok", "ollama": "ok"}}+# {"status":"ready","checks":{"agfs":{"status":"ok","checks":{"filesystem":"ok","multiwrite_sync":"not_supported"}},"vectordb":"ok","api_key_manager":"ok","embedding":"ok","ollama":"not_configured"}}```在 Kubernetes 中,使用 `/health` 作为存活探针,`/ready` 作为就绪探针。diff --git a/docs/zh/guides/04-authentication.md b/docs/zh/guides/04-authentication.mdindex 0273018c6..2a926e585 100644--- a/docs/zh/guides/04-authentication.md+++ b/docs/zh/guides/04-authentication.md@@ -726,7 +726,7 @@ make build-cliRUST_LOG=debug ov ls viking://# 检查配置-ov doctor+ov config validate```---