Skip to content

Commit 1d0ff09

Browse files
committed
Merge remote-tracking branch 'origin/main' into agent/fix-discord-activity-write-timer
2 parents e094871 + 89b6d85 commit 1d0ff09

154 files changed

Lines changed: 6118 additions & 1264 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎.github/workflows/docs-external-links.yml‎

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,21 @@ jobs:
2222
with:
2323
persist-credentials: false
2424

25+
- name: Setup Node.js and pnpm
26+
uses: ./.github/actions/setup-node-env
27+
with:
28+
install-bun: "false"
29+
install-deps: "false"
30+
31+
- name: Install link audit dependencies
32+
run: pnpm install --filter . --frozen-lockfile --ignore-scripts
33+
34+
- name: Prepare MDX link audit input
35+
run: >-
36+
node scripts/docs-link-audit.mjs
37+
--prepare-external-links
38+
.artifacts/docs-external-links/mdx
39+
2540
- name: Audit external links
2641
uses: lycheeverse/lychee-action@e7477775783ea5526144ba13e8db5eec57747ce8 # v2.9.0
2742
with:
@@ -45,11 +60,45 @@ jobs:
4560
'./docs/**/*.md'
4661
'./docs/**/*.mdx'
4762
'./docs/docs.json'
63+
'./.artifacts/docs-external-links/mdx/**/*.md'
64+
'./.artifacts/docs-external-links/mdx/**/*.mdx'
4865
fail: false
4966
failIfEmpty: true
5067
format: markdown
5168
output: .artifacts/docs-external-links/report.md
5269

70+
# The main pass follows redirects. This pass stops at the first response
71+
# so permanent moves remain visible without flagging temporary redirects.
72+
- name: Report permanent redirects
73+
if: always()
74+
continue-on-error: true
75+
run: >-
76+
lychee
77+
--no-progress
78+
--base-url https://docs.openclaw.ai
79+
--exclude-all-private
80+
--accept '100..=300,302..=307,309..=599'
81+
--accept-timeouts
82+
--max-retries 2
83+
--retry-wait-time 2
84+
--timeout 20
85+
--max-redirects 0
86+
--scheme http
87+
--scheme https
88+
--exclude '^https://docs\.openclaw\.ai/'
89+
--exclude '^https://github\.com/openclaw/maintainers/'
90+
--exclude '^https://(claude\.ai|help\.openai\.com|openai\.com|platform\.openai\.com|support\.discord\.com|www\.npmjs\.com|www\.raspberrypi\.com)/'
91+
--format markdown
92+
--output .artifacts/docs-external-links/permanent-redirects.md
93+
'./README.md'
94+
'./CONTRIBUTING.md'
95+
'./SECURITY.md'
96+
'./docs/**/*.md'
97+
'./docs/**/*.mdx'
98+
'./docs/docs.json'
99+
'./.artifacts/docs-external-links/mdx/**/*.md'
100+
'./.artifacts/docs-external-links/mdx/**/*.mdx'
101+
53102
- name: Upload audit report
54103
if: always()
55104
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7

‎docs/channels/slack.md‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1440,6 +1440,7 @@ Slack native progress task cards are opt-in for progress mode. Set `channels.sla
14401440
- A reply thread must be available for native text streaming and Slack assistant thread status to appear. Thread selection still follows `replyToMode`.
14411441
- Channel, group-chat, and top-level DM roots can still use the normal draft preview when native streaming is unavailable or no reply thread exists.
14421442
- Top-level Slack DMs stay off-thread by default, so they do not show Slack's thread-style native stream/status preview; OpenClaw posts and edits a draft preview in the DM instead.
1443+
- Custom outbound username/icon settings keep portable previews enabled. OpenClaw keeps the preview app-authored so partial/block previews can be removed before a separately customized final; progress mode may instead collapse the app-authored draft into a receipt. Slack does not allow impersonated messages to be deleted.
14431444
- Media and non-text payloads fall back to normal delivery.
14441445
- Media/error finals cancel pending preview edits; eligible text/block finals flush only when they can edit the preview in place.
14451446
- If streaming fails mid-reply, OpenClaw falls back to normal delivery for remaining payloads.

‎docs/providers/mistral.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ OpenClaw defaults Mistral realtime STT to `pcm_mulaw` at 8 kHz so Voice Call can
147147

148148
<AccordionGroup>
149149
<Accordion title="Adjustable reasoning">
150-
`mistral/mistral-small-latest`, `mistral/mistral-small-2603`, and `mistral/mistral-medium-3-5` support [adjustable reasoning](https://docs.mistral.ai/studio-api/conversations/reasoning/adjustable) on the Chat Completions API via `reasoning_effort` (`none` minimizes extra thinking in the output; `high` surfaces full thinking traces before the final answer).
150+
`mistral/mistral-small-latest`, `mistral/mistral-small-2603`, and `mistral/mistral-medium-3-5` support [adjustable reasoning](https://docs.mistral.ai/studio-api/conversations/reasoning) on the Chat Completions API via `reasoning_effort` (`none` minimizes extra thinking in the output; `high` surfaces full thinking traces before the final answer).
151151

152152
OpenClaw maps the session **thinking** level to Mistral's API:
153153

‎docs/tools/browser.md‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -922,6 +922,11 @@ The agent gets **one tool** for browser automation:
922922
How it maps:
923923

924924
- `browser snapshot` returns a stable UI tree (AI or ARIA).
925+
- `browser navigate` also returns the loaded page's snapshot inline (efficient
926+
interactive tier, so the payload stays compact and bounded), so the agent
927+
does not need a follow-up snapshot call. Batch `act` results that report a
928+
cross-document navigation include the same fresh page state. Navigations
929+
that resolve to a download skip it.
925930
- `browser act` uses the snapshot `ref` IDs to click/type/drag/select.
926931
- `browser screenshot` captures pixels (full page, element, or labeled refs).
927932
- `browser doctor` checks Gateway, plugin, profile, browser, and tab readiness.

‎docs/tools/code-mode.md‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -300,6 +300,7 @@ Bundled provider catalogs currently flag these models as `"preferred"`:
300300
| anthropic | `claude-fable-5`, `claude-opus-5`, `claude-sonnet-5`, `claude-mythos-5`, `claude-opus-4-8`, `claude-haiku-4-5` |
301301
| deepseek | `deepseek-v4-pro`, `deepseek-v4-flash` |
302302
| google | `gemini-3-flash-preview`, `gemini-3.1-pro-preview`, `gemini-3.1-flash-lite`, `gemini-3.5-flash`, `gemini-3.5-flash-lite`, `gemini-3.6-flash` |
303+
| kimi | `k3`, `k3-256k` |
303304
| minimax | `MiniMax-M3` |
304305
| moonshot | `kimi-k3` |
305306
| openai | `gpt-5.6`, `gpt-5.6-sol`, `gpt-5.6-terra`, `gpt-5.6-luna`, `gpt-5.5`, `gpt-5.5-pro` |

‎extensions/browser/skills/browser-automation/SKILL.md‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,8 @@ Use this skill when you need the `browser` tool for anything beyond a single pag
3434
- Use `labels=true` on snapshot or screenshot when visual position matters. On Playwright-backed profiles, the response includes an `annotations` array (`{ref, number, role, name?, box}`) with each ref's bounding box in the captured image's coordinate space, so you can reason about position without re-snapshotting; screenshot labels can also combine with `fullPage=true` (CLI: `--full-page`) to label the whole document, or `ref` / `element` to clip to one element. `profile="user"` and other existing-session (chrome-mcp) profiles render an overlay into page screenshots but do not attach `annotations` or use the Playwright full-page/ref/element projection helper, so read positions from the labeled image itself on those profiles. The raw-CDP fallback (no Playwright) does not support labeled screenshots at all and returns a 501, so only request `labels` when Playwright is available.
3535
4. Act narrowly:
3636
- Prefer `action="act"` with a ref from the latest snapshot.
37-
- After navigation, modal changes, or form submission, snapshot again before the next action.
37+
- `navigate` returns the loaded page's compact snapshot inline, and batch `act` results that report a cross-document navigation include fresh page state; use those refs directly instead of a follow-up snapshot call.
38+
- After a single act that triggers navigation, and after modal changes or form submissions, snapshot again before the next action.
3839
- Avoid blind waits. Wait for visible UI state when possible.
3940
5. Report real blockers:
4041
- If the page needs login, permission, captcha, 2FA, camera/microphone approval, or another manual step, stop and tell the user exactly what is needed.

‎extensions/browser/src/browser-extract.ts‎

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ import {
1010
readStringValue,
1111
wrapExternalContent,
1212
} from "./browser-tool.runtime.js";
13+
import type { BrowserProxyRequest } from "./browser-tool.snapshot.js";
1314
import {
1415
BROWSER_EXTRACT_MAX_CHARS,
1516
BROWSER_EXTRACT_TRUNCATION_MARKER,
@@ -49,15 +50,6 @@ type BrowserExtractDeps = BrowserExtractCompletionDeps & {
4950
browserPageContent: typeof browserPageContent;
5051
};
5152

52-
type BrowserProxyRequest = (opts: {
53-
method: string;
54-
path: string;
55-
body?: unknown;
56-
timeoutMs?: number;
57-
profile?: string;
58-
signal?: AbortSignal;
59-
}) => Promise<unknown>;
60-
6153
export function resolveBrowserExtractTimeoutMs(input: Record<string, unknown>): number {
6254
const requested = readPositiveIntegerParam(input, "timeoutMs", {
6355
message: "timeoutMs must be a positive integer.",

‎extensions/browser/src/browser-tool-description.ts‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ export function describeBrowserTool(opts: {
1414
"For multi-step browser work, login checks, stale refs, duplicate tabs, or Google Meet flows, use the bundled browser-automation skill when it is available.",
1515
'For stable, self-resolving refs across calls, use snapshot with refs="aria" (Playwright aria-ref ids). Default refs="role" are role+name-based.',
1616
"Repeated compatible snapshots with stable document identity mark newly appeared ref-bearing elements with [new].",
17+
"navigate returns the loaded page's compact snapshot inline (efficient interactive tier; use action=snapshot for a full snapshot); do not call snapshot after navigate. Batch act results that report a cross-document navigation also include fresh page state; after a single act that triggers navigation, snapshot before using refs.",
1718
"Use snapshot+act for UI automation. Avoid act:wait by default; use only in exceptional cases when no reliable UI state exists.",
1819
"To read or answer questions from page text, prefer action=extract with query (optionally selector, ignoreSelectors, or schema) over snapshot: it answers in one call without loading page content into context.",
1920
"For file chooser uploads, pass the trigger ref with paths in the same upload call when available; use paths-only arming only when a later trigger is intentional. Use inputRef or element to set a file input directly.",

0 commit comments

Comments
 (0)