Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion api-reference/monitors.openapi.en.json
Original file line number Diff line number Diff line change
Expand Up @@ -3860,7 +3860,7 @@
"Monitors/Data sources"
],
"x-mint": {
"content": "Use datasource IDs from `/monit/datasource/list`. Disabled datasources return `datasource_disabled`; `alerting_enabled=false` does not block tools. Errors use non-2xx HTTP status and `error.code`, `error.message`, `error.reason`. `tool_not_supported` indicates the selected executor does not provide this tool; it is not a vendor permission error. Never retry through another Edge or the legacy diagnose endpoint automatically.",
"content": "## Restrictions\n\n| Aspect | Value |\n| ------ | ----- |\n| Rate limits | **2,000 requests/minute**; **32 requests/second** per account |\n| Permissions | **Datasources Read** (`monit`) |\n\nUse datasource IDs from `/monit/datasource/list`. Disabled datasources return `datasource_disabled`; `alerting_enabled=false` does not block tools. Errors use non-2xx HTTP status and `error.code`, `error.message`, `error.reason`. `tool_not_supported` indicates the selected executor does not provide this tool; it is not a vendor permission error. Never retry through another Edge or the legacy diagnose endpoint automatically.",
"href": "/en/api-reference/monitors/data-sources/monit-datasource-tools-invoke",
"metadata": {
"sidebarTitle": "Invoke datasource tool"
Expand Down
2 changes: 1 addition & 1 deletion api-reference/monitors.openapi.zh.json
Original file line number Diff line number Diff line change
Expand Up @@ -3860,7 +3860,7 @@
"Monitors/告警数据源"
],
"x-mint": {
"content": "通过 `/monit/datasource/list` 获取数据源 ID。停用数据源返回 `datasource_disabled`,`alerting_enabled=false` 不阻断工具。错误使用非 2xx HTTP 状态和 `error.code`、`error.message`、`error.reason`。`tool_not_supported` 表示选中的执行端未提供该工具,不表示厂商权限不足。禁止自动切换 Edge 或回退旧 diagnose 重试。",
"content": "## 限制说明\n\n| 项目 | 说明 |\n| ---- | ---- |\n| 速率限制 | 每个账户 **2,000 次/分钟**;**32 次/秒** |\n| 权限要求 | **数据源查看**(`monit`) |\n\n通过 `/monit/datasource/list` 获取数据源 ID。停用数据源返回 `datasource_disabled`,`alerting_enabled=false` 不阻断工具。错误使用非 2xx HTTP 状态和 `error.code`、`error.message`、`error.reason`。`tool_not_supported` 表示选中的执行端未提供该工具,不表示厂商权限不足。禁止自动切换 Edge 或回退旧 diagnose 重试。",
"href": "/zh/api-reference/monitors/data-sources/monit-datasource-tools-invoke",
"metadata": {
"sidebarTitle": "调用数据源工具"
Expand Down
2 changes: 1 addition & 1 deletion api-reference/on-call.openapi.zh.json
Original file line number Diff line number Diff line change
Expand Up @@ -17340,7 +17340,7 @@
},
"responses": {
"200": {
"description": "Success",
"description": "成功",
"content": {
"application/json": {
"schema": {
Expand Down
2 changes: 1 addition & 1 deletion api-reference/openapi.en.json
Original file line number Diff line number Diff line change
Expand Up @@ -44827,7 +44827,7 @@
"Monitors/Data sources"
],
"x-mint": {
"content": "Use datasource IDs from `/monit/datasource/list`. Disabled datasources return `datasource_disabled`; `alerting_enabled=false` does not block tools. Errors use non-2xx HTTP status and `error.code`, `error.message`, `error.reason`. `tool_not_supported` indicates the selected executor does not provide this tool; it is not a vendor permission error. Never retry through another Edge or the legacy diagnose endpoint automatically.",
"content": "## Restrictions\n\n| Aspect | Value |\n| ------ | ----- |\n| Rate limits | **2,000 requests/minute**; **32 requests/second** per account |\n| Permissions | **Datasources Read** (`monit`) |\n\nUse datasource IDs from `/monit/datasource/list`. Disabled datasources return `datasource_disabled`; `alerting_enabled=false` does not block tools. Errors use non-2xx HTTP status and `error.code`, `error.message`, `error.reason`. `tool_not_supported` indicates the selected executor does not provide this tool; it is not a vendor permission error. Never retry through another Edge or the legacy diagnose endpoint automatically.",
"href": "/en/api-reference/monitors/data-sources/monit-datasource-tools-invoke",
"metadata": {
"sidebarTitle": "Invoke datasource tool"
Expand Down
34 changes: 17 additions & 17 deletions api-reference/openapi.zh.json
Original file line number Diff line number Diff line change
Expand Up @@ -44827,7 +44827,7 @@
"Monitors/告警数据源"
],
"x-mint": {
"content": "通过 `/monit/datasource/list` 获取数据源 ID。停用数据源返回 `datasource_disabled`,`alerting_enabled=false` 不阻断工具。错误使用非 2xx HTTP 状态和 `error.code`、`error.message`、`error.reason`。`tool_not_supported` 表示选中的执行端未提供该工具,不表示厂商权限不足。禁止自动切换 Edge 或回退旧 diagnose 重试。",
"content": "## 限制说明\n\n| 项目 | 说明 |\n| ---- | ---- |\n| 速率限制 | 每个账户 **2,000 次/分钟**;**32 次/秒** |\n| 权限要求 | **数据源查看**(`monit`) |\n\n通过 `/monit/datasource/list` 获取数据源 ID。停用数据源返回 `datasource_disabled`,`alerting_enabled=false` 不阻断工具。错误使用非 2xx HTTP 状态和 `error.code`、`error.message`、`error.reason`。`tool_not_supported` 表示选中的执行端未提供该工具,不表示厂商权限不足。禁止自动切换 Edge 或回退旧 diagnose 重试。",
"href": "/zh/api-reference/monitors/data-sources/monit-datasource-tools-invoke",
"metadata": {
"sidebarTitle": "调用数据源工具"
Expand Down Expand Up @@ -49939,7 +49939,7 @@
}
}
},
"description": "Success"
"description": "成功"
},
"400": {
"$ref": "#/components/responses/BadRequest"
Expand Down Expand Up @@ -50090,7 +50090,7 @@
}
}
},
"description": "Success"
"description": "成功"
},
"400": {
"$ref": "#/components/responses/BadRequest"
Expand Down Expand Up @@ -50164,7 +50164,7 @@
}
}
},
"description": "Success"
"description": "成功"
},
"400": {
"$ref": "#/components/responses/BadRequest"
Expand Down Expand Up @@ -50244,7 +50244,7 @@
}
}
},
"description": "Success"
"description": "成功"
},
"400": {
"$ref": "#/components/responses/BadRequest"
Expand Down Expand Up @@ -50345,7 +50345,7 @@
}
}
},
"description": "Success"
"description": "成功"
},
"400": {
"$ref": "#/components/responses/BadRequest"
Expand Down Expand Up @@ -53745,7 +53745,7 @@
}
}
},
"description": "Success"
"description": "成功"
},
"400": {
"$ref": "#/components/responses/BadRequest"
Expand Down Expand Up @@ -53832,7 +53832,7 @@
}
}
},
"description": "Success"
"description": "成功"
},
"400": {
"$ref": "#/components/responses/BadRequest"
Expand Down Expand Up @@ -53929,7 +53929,7 @@
}
}
},
"description": "Success"
"description": "成功"
},
"400": {
"$ref": "#/components/responses/BadRequest"
Expand Down Expand Up @@ -54051,7 +54051,7 @@
}
}
},
"description": "Success"
"description": "成功"
},
"400": {
"$ref": "#/components/responses/BadRequest"
Expand Down Expand Up @@ -54131,7 +54131,7 @@
}
}
},
"description": "Success"
"description": "成功"
},
"400": {
"$ref": "#/components/responses/BadRequest"
Expand Down Expand Up @@ -54212,7 +54212,7 @@
}
}
},
"description": "Success"
"description": "成功"
},
"400": {
"$ref": "#/components/responses/BadRequest"
Expand Down Expand Up @@ -54288,7 +54288,7 @@
}
}
},
"description": "Success"
"description": "成功"
},
"400": {
"$ref": "#/components/responses/BadRequest"
Expand Down Expand Up @@ -54369,7 +54369,7 @@
}
}
},
"description": "Success"
"description": "成功"
},
"400": {
"$ref": "#/components/responses/BadRequest"
Expand Down Expand Up @@ -54467,7 +54467,7 @@
}
}
},
"description": "Success"
"description": "成功"
},
"400": {
"$ref": "#/components/responses/BadRequest"
Expand Down Expand Up @@ -54549,7 +54549,7 @@
}
}
},
"description": "Success"
"description": "成功"
},
"400": {
"$ref": "#/components/responses/BadRequest"
Expand Down Expand Up @@ -58089,7 +58089,7 @@
}
}
},
"description": "Success"
"description": "成功"
},
"400": {
"$ref": "#/components/responses/BadRequest"
Expand Down
10 changes: 5 additions & 5 deletions api-reference/rum.openapi.zh.json
Original file line number Diff line number Diff line change
Expand Up @@ -4617,7 +4617,7 @@
}
}
},
"description": "Success"
"description": "成功"
},
"400": {
"$ref": "#/components/responses/BadRequest"
Expand Down Expand Up @@ -4768,7 +4768,7 @@
}
}
},
"description": "Success"
"description": "成功"
},
"400": {
"$ref": "#/components/responses/BadRequest"
Expand Down Expand Up @@ -4842,7 +4842,7 @@
}
}
},
"description": "Success"
"description": "成功"
},
"400": {
"$ref": "#/components/responses/BadRequest"
Expand Down Expand Up @@ -4922,7 +4922,7 @@
}
}
},
"description": "Success"
"description": "成功"
},
"400": {
"$ref": "#/components/responses/BadRequest"
Expand Down Expand Up @@ -5023,7 +5023,7 @@
}
}
},
"description": "Success"
"description": "成功"
},
"400": {
"$ref": "#/components/responses/BadRequest"
Expand Down
20 changes: 10 additions & 10 deletions api-reference/safari.openapi.zh.json
Original file line number Diff line number Diff line change
Expand Up @@ -4065,7 +4065,7 @@
},
"responses": {
"200": {
"description": "Success",
"description": "成功",
"content": {
"application/json": {
"schema": {
Expand Down Expand Up @@ -4185,7 +4185,7 @@
},
"responses": {
"200": {
"description": "Success",
"description": "成功",
"content": {
"application/json": {
"schema": {
Expand Down Expand Up @@ -4285,7 +4285,7 @@
},
"responses": {
"200": {
"description": "Success",
"description": "成功",
"content": {
"application/json": {
"schema": {
Expand Down Expand Up @@ -4369,7 +4369,7 @@
},
"responses": {
"200": {
"description": "Success",
"description": "成功",
"content": {
"application/json": {
"schema": {
Expand Down Expand Up @@ -4527,7 +4527,7 @@
},
"responses": {
"200": {
"description": "Success",
"description": "成功",
"content": {
"application/json": {
"schema": {
Expand Down Expand Up @@ -4607,7 +4607,7 @@
},
"responses": {
"200": {
"description": "Success",
"description": "成功",
"content": {
"application/json": {
"schema": {
Expand Down Expand Up @@ -4704,7 +4704,7 @@
},
"responses": {
"200": {
"description": "Success",
"description": "成功",
"content": {
"application/json": {
"schema": {
Expand Down Expand Up @@ -4780,7 +4780,7 @@
},
"responses": {
"200": {
"description": "Success",
"description": "成功",
"content": {
"application/json": {
"schema": {
Expand Down Expand Up @@ -4861,7 +4861,7 @@
},
"responses": {
"200": {
"description": "Success",
"description": "成功",
"content": {
"application/json": {
"schema": {
Expand Down Expand Up @@ -4942,7 +4942,7 @@
},
"responses": {
"200": {
"description": "Success",
"description": "成功",
"content": {
"application/json": {
"schema": {
Expand Down
8 changes: 6 additions & 2 deletions docs.json
Original file line number Diff line number Diff line change
Expand Up @@ -1752,7 +1752,8 @@
"pages": [
"zh/on-call/integration/sso/authing",
"zh/on-call/integration/sso/keycloak",
"zh/on-call/integration/sso/openldap"
"zh/on-call/integration/sso/openldap",
"zh/on-call/integration/sso/role-team-sync"
]
},
{
Expand Down Expand Up @@ -1951,6 +1952,7 @@
"icon": "lightbulb",
"pages": [
"zh/rum/best-practices/sampling",
"zh/rum/best-practices/bandwidth-estimation",
"zh/rum/best-practices/distributed-tracing",
"zh/rum/best-practices/alert-noise-reduction"
]
Expand Down Expand Up @@ -3162,7 +3164,8 @@
"pages": [
"en/on-call/integration/sso/authing",
"en/on-call/integration/sso/keycloak",
"en/on-call/integration/sso/openldap"
"en/on-call/integration/sso/openldap",
"en/on-call/integration/sso/role-team-sync"
]
},
{
Expand Down Expand Up @@ -3361,6 +3364,7 @@
"icon": "lightbulb",
"pages": [
"en/rum/best-practices/sampling",
"en/rum/best-practices/bandwidth-estimation",
"en/rum/best-practices/distributed-tracing",
"en/rum/best-practices/alert-noise-reduction"
]
Expand Down
5 changes: 3 additions & 2 deletions en/ai-sre/sessions.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -226,10 +226,11 @@ Beyond subagents, the agent can push time-consuming work into the background. Ta
| shell | The `bash` tool with `run_in_background` | A long one-shot command (build, batch job, data pull); only its completion needs reporting |
| monitor | The `monitor` tool | A standing watcher task: watches a condition until it hits or reaches its deadline, and the script's output flows back to the agent as event batches; a one-shot delayed action (e.g. "check again in half an hour") is done with a monitor plus `sleep` |

A unified **Tasks** panel on the right side of the session tracks every task of the session, grouped into **Needs you / Running / Finished**. There are two entry points:
A unified **Tasks** panel on the right side of the session tracks every task of the session, grouped into **Needs you / Running / Finished**. There are three entry points:

- **The tasks button in the chat header**: carries a count badge for "needs you + running" tasks, capped at `9+`; the badge is red when any task needs you (awaiting authorization / awaiting input), and blue when tasks are only running.
- **The generation status row while a turn is running**: shows the live task count (e.g. "3 tasks · 1 agent needs you"); clicking it opens the same task panel.
- **The tool row that started a monitor / background bash**: the tool row in the conversation that started a `monitor` or a background command (`bash` with `run_in_background`) — when it is the only tool in its group, that group's header — is itself that task's handle in the transcript: its trailing external-link icon marks it clickable, the tooltip reads **Open task detail**, and clicking it opens that task's detail panel directly. Such rows no longer expand into raw Input/Output (a background bash row used to show only the command, with no status or output). In a read-only shared session the detail opens in read-only mode as well.

Task details differ by kind: clicking an **agent** task opens the child session's execution transcript (see above); clicking a **shell / monitor** task opens its own event-timeline detail, which includes the status (a running task also shows how many seconds ago its last liveness probe landed — probing happens roughly every 30 seconds), run duration, event count, output bytes, the monitor's deadline (standing tasks with no deadline show "Persistent"), the exit code, the full command, and the event timeline in order. **The stop button lives in the detail header** — **Stop task** for shell / monitor tasks and **Stop Subagent** for subagents — and interrupts only that task, without affecting the main session.

Expand All @@ -238,7 +239,7 @@ How this surfaces in the conversation stream:
- A tool line that starts a background command reads **Started background command**; when a turn mixes foreground and background commands, the collapsed tool group counts each category separately (e.g. `Ran 1 command, started 1 background command`).
- Each time a monitor's condition hits, a 🔭 system line is inlined into the conversation: the first line shows the monitor's description plus a first-line summary of that output batch, and clicking it expands the full batch in place.
- When a task ends, a terminal line appears with the end state and a result summary, plus the exit code and a note when the task envelope carries them.
- The `monitor` tool line itself does not expand into input / output — the bookkeeping it returns (task ID, output file, deadline, and so on) is presented more completely in the task panel's detail.
- The `monitor` tool line itself does not expand into input / output — clicking it opens the corresponding task's detail panel, where the bookkeeping it returns (task ID, output file, deadline, and so on) is presented more completely.

Two status indicators related to background tasks:

Expand Down
Loading
Loading