CubeLoop — a Pythonic, async-native agent harness core designed for high performance, readability, and production-grade persistence.
Python agent-frameworkagent-harnessagent-runtimeagentic-aiai-agentsai-frameworkanthropicharnessharness-engineeringharness-frameworklanggraphlanggraph-alternativellmmcpopenaipi-agentpi-agent-corepythonpython-agent
fix(docs): repoint HITL links after the guide split
xf gong8c5b5e3405f9
diff --git a/website/docs/getting-started/core-concepts.md b/website/docs/getting-started/core-concepts.mdindex 9678aba..c6bac97 100644--- a/website/docs/getting-started/core-concepts.md+++ b/website/docs/getting-started/core-concepts.md@@ -145,7 +145,7 @@ on the first `prompt()`. Built-in backends: `MemoryCheckpointer`,HITL adds two optional methods for cross-process suspend/resume:`save_pending_request` / `load_pending_request`. All first-party-backends implement them. See [HITL guide](../guides/hitl).+backends implement them. See [HITL guide](../guides/hitl/overview).## HITL (Human-in-the-Loop)@@ -185,7 +185,7 @@ Two channel backends ship in-box:Full details — the three HITL verbs, both built-in middlewares, thecross-process suspend/resume protocol, events, trace spans, and error-reference — are in the [HITL guide](../guides/hitl).+reference — are in the [HITL guide](../guides/hitl/overview).## Tracer (optional)diff --git a/website/docs/guides/agents/tool-use.md b/website/docs/guides/agents/tool-use.mdindex 300db1f..6a335eb 100644--- a/website/docs/guides/agents/tool-use.md+++ b/website/docs/guides/agents/tool-use.md@@ -82,7 +82,7 @@ There are two ways to opt out of parallel mode:)```-The built-in `ask_user` HITL tool (see [HITL guide](../hitl)) sets+The built-in `ask_user` HITL tool (see [HITL guide](../hitl/overview)) sets`execution_mode="sequential"` — it pauses the agent for human input, sothe tool batch runs one-by-one.diff --git a/website/docs/guides/checkpointing/postgres.md b/website/docs/guides/checkpointing/postgres.mdindex 72cbe98..ae346a6 100644--- a/website/docs/guides/checkpointing/postgres.md+++ b/website/docs/guides/checkpointing/postgres.md@@ -196,7 +196,7 @@ to so the schema is forward-compatible.Your host alembic upgrade must call`add_pending_request_column_op()` (from`cubepi.checkpointer.postgres.alembic_helpers`) before bumping the- schema_version row. See the [HITL guide](../hitl) for the full+ schema_version row. See the [HITL guide](../hitl/overview) for the fullcross-process flow.:::- **Connection pool exhaustion under load** — Default `max_pool_size=10`.diff --git a/website/docs/guides/checkpointing/sqlite.md b/website/docs/guides/checkpointing/sqlite.mdindex f5a3917..b687d2a 100644--- a/website/docs/guides/checkpointing/sqlite.md+++ b/website/docs/guides/checkpointing/sqlite.md@@ -85,7 +85,7 @@ This schema is append-only. CubePi never updates or deletes rows.## HITL pending table-When the [HITL](../hitl) module is in use, an additional table is+When the [HITL](../hitl/overview) module is in use, an additional table iscreated automatically on `__aenter__`:```sqldiff --git a/website/docs/guides/middleware/examples.md b/website/docs/guides/middleware/examples.mdindex 892c102..b8a13d3 100644--- a/website/docs/guides/middleware/examples.md+++ b/website/docs/guides/middleware/examples.md@@ -286,7 +286,7 @@ agent = Agent(channel's approve flow. `Approve` returns immediately.Full details — timeout semantics, edit semantics, events, trace spans,-cross-process suspend/resume — are in the [HITL guide](../hitl).+cross-process suspend/resume — are in the [HITL guide](../hitl/overview).## See alsodiff --git a/website/docs/guides/middleware/hooks.md b/website/docs/guides/middleware/hooks.mdindex 467a82d..a2ed5c4 100644--- a/website/docs/guides/middleware/hooks.md+++ b/website/docs/guides/middleware/hooks.md@@ -91,7 +91,7 @@ Return `BeforeToolCallResult(block=True, reason="…")` to short-circuit`is_error=True`. Return `None` (or no return) to proceed.Use for: permissions, rate limiting, dry-run modes, sandboxing,-human-in-the-loop confirmation (see [HITL guide](../hitl)).+human-in-the-loop confirmation (see [HITL guide](../hitl/overview)).Composition: **first `block=True` short-circuits** the chain.diff --git a/website/i18n/zh-Hans/docusaurus-plugin-content-docs/current/getting-started/core-concepts.md b/website/i18n/zh-Hans/docusaurus-plugin-content-docs/current/getting-started/core-concepts.mdindex 9384440..01d0ebf 100644--- a/website/i18n/zh-Hans/docusaurus-plugin-content-docs/current/getting-started/core-concepts.md+++ b/website/i18n/zh-Hans/docusaurus-plugin-content-docs/current/getting-started/core-concepts.md@@ -136,7 +136,7 @@ class Checkpointer(Protocol):见 [Checkpointing → SQLite](../guides/checkpointing/sqlite)。HITL 为跨进程挂起/恢复新增了两个可选方法:`save_pending_request` /-`load_pending_request`。所有第一方后���都已实现。见 [HITL 指南](../guides/hitl)。+`load_pending_request`。所有第一方后���都已实现。见 [HITL 指南](../guides/hitl/overview)。## HITL(人机协同)@@ -173,7 +173,7 @@ Channel 是一个可 `await` 的协程协作者:工具和中间件作者写`Agent.respond(question_id=, answer=)` 回答。完整细节——三种 HITL 动词、两套内置中间件、跨进程挂起/恢复协议、事件、-追踪 span 和错误参考——见 [HITL 指南](../guides/hitl)。+追踪 span 和错误参考——见 [HITL 指南](../guides/hitl/overview)。## Tracer(可选)diff --git a/website/i18n/zh-Hans/docusaurus-plugin-content-docs/current/guides/agents/tool-use.md b/website/i18n/zh-Hans/docusaurus-plugin-content-docs/current/guides/agents/tool-use.mdindex d01e361..6e50422 100644--- a/website/i18n/zh-Hans/docusaurus-plugin-content-docs/current/guides/agents/tool-use.md+++ b/website/i18n/zh-Hans/docusaurus-plugin-content-docs/current/guides/agents/tool-use.md@@ -79,7 +79,7 @@ agent = Agent()```-内置的 `ask_user` HITL 工具(见 [HITL 指南](../hitl))设置了+内置的 `ask_user` HITL 工具(见 [HITL 指南](../hitl/overview))设置了`execution_mode="sequential"` —— 它会暂停 agent 等待人类输入,因此工具批次会逐个运行。diff --git a/website/i18n/zh-Hans/docusaurus-plugin-content-docs/current/guides/checkpointing/postgres.md b/website/i18n/zh-Hans/docusaurus-plugin-content-docs/current/guides/checkpointing/postgres.mdindex 73ca1f8..2164f23 100644--- a/website/i18n/zh-Hans/docusaurus-plugin-content-docs/current/guides/checkpointing/postgres.md+++ b/website/i18n/zh-Hans/docusaurus-plugin-content-docs/current/guides/checkpointing/postgres.md@@ -176,7 +176,7 @@ CubePi v0.3 尚未暴露 fork API——现在写入它们是为了保持 schema宿主 alembic upgrade 必须在提升 schema_version 行之前调用`add_pending_request_column_op()`(来自`cubepi.checkpointer.postgres.alembic_helpers`)。- 完整的跨进程流程请参阅 [HITL 指南](../hitl)。+ 完整的跨进程流程请参阅 [HITL 指南](../hitl/overview)。:::- **负载下连接池耗尽** —— 默认 `max_pool_size=10`。如果应用的并发 agent 数超过此值,请调大。diff --git a/website/i18n/zh-Hans/docusaurus-plugin-content-docs/current/guides/checkpointing/sqlite.md b/website/i18n/zh-Hans/docusaurus-plugin-content-docs/current/guides/checkpointing/sqlite.mdindex 575380b..bb8c3e0 100644--- a/website/i18n/zh-Hans/docusaurus-plugin-content-docs/current/guides/checkpointing/sqlite.md+++ b/website/i18n/zh-Hans/docusaurus-plugin-content-docs/current/guides/checkpointing/sqlite.md@@ -80,7 +80,7 @@ CREATE TABLE thread_extra (## HITL 挂起表-当使用 [HITL](../hitl) 模块时,每次 `__aenter__` 会自动创建一个额外的表:+当使用 [HITL](../hitl/overview) 模块时,每次 `__aenter__` 会自动创建一个额外的表:```sqlCREATE TABLE IF NOT EXISTS thread_pending_request (diff --git a/website/i18n/zh-Hans/docusaurus-plugin-content-docs/current/guides/middleware/examples.md b/website/i18n/zh-Hans/docusaurus-plugin-content-docs/current/guides/middleware/examples.mdindex fe19117..89a9de2 100644--- a/website/i18n/zh-Hans/docusaurus-plugin-content-docs/current/guides/middleware/examples.md+++ b/website/i18n/zh-Hans/docusaurus-plugin-content-docs/current/guides/middleware/examples.md@@ -275,7 +275,7 @@ agent = Agent(`Approve` 立即返回。完整细节——超时语义、编辑语义、事件、追踪 span、跨进程挂起/恢复——-请参见 [HITL 指南](../hitl)。+请参见 [HITL 指南](../hitl/overview)。## 另请参阅diff --git a/website/i18n/zh-Hans/docusaurus-plugin-content-docs/current/guides/middleware/hooks.md b/website/i18n/zh-Hans/docusaurus-plugin-content-docs/current/guides/middleware/hooks.mdindex 481af03..764dbfd 100644--- a/website/i18n/zh-Hans/docusaurus-plugin-content-docs/current/guides/middleware/hooks.md+++ b/website/i18n/zh-Hans/docusaurus-plugin-content-docs/current/guides/middleware/hooks.md@@ -85,7 +85,7 @@ CubePi 会将该原因作为工具结果返回,并标记 `is_error=True`。返回 `None`(或无返回)则继续执行。用于:权限控制、速率限制、dry-run 模式、沙箱、-人机协同确认(参见 [HITL 指南](../hitl))。+人机协同确认(参见 [HITL 指南](../hitl/overview))。组合方式:**第一个 `block=True` 短路**整个链。diff --git a/website/src/components/Home/FeatureGrid.tsx b/website/src/components/Home/FeatureGrid.tsxindex dca50b3..b4ba538 100644--- a/website/src/components/Home/FeatureGrid.tsx+++ b/website/src/components/Home/FeatureGrid.tsx@@ -59,7 +59,7 @@ const CARDS = [{ Icon: IconTool, title: 'Tools', body: 'Plain functions, parallel execution.', href: '/docs/guides/agents/tool-use' },{ Icon: IconPlug, title: 'Providers', body: 'Anthropic, OpenAI, or write your own.', href: '/docs/guides/providers/anthropic' },{ Icon: IconDisk, title: 'Checkpointing', body: 'Append-only, O(1) per turn.', href: '/docs/guides/checkpointing/sqlite' },- { Icon: IconHitl, title: 'Human-in-the-loop', body: 'Pause for confirm, approve, or ask.', href: '/docs/next/guides/hitl' },+ { Icon: IconHitl, title: 'Human-in-the-loop', body: 'Pause for confirm, approve, or ask.', href: '/docs/next/guides/hitl/overview' },{ Icon: IconMcp, title: 'MCP', body: 'Load remote tools at startup.', href: '/docs/guides/mcp/loading' },{ Icon: IconTrace, title: 'Tracing', body: 'OpenTelemetry, OTLP / JSONL, GenAI semconv.', href: '/docs/guides/tracing/overview' },];