mirror of
https://github.com/openclaw/openclaw.git
synced 2026-10-03 17:53:39 +00:00
* fix(agents): bound grep context reads to prevent gateway OOM Cap the per-file context read with readRegularFileSync (4MiB) and fall back to rg's match line when a file is oversized, instead of reading the whole file into memory. Resolve symlinks first to preserve legacy context rendering. * fix(agents): decode ripgrep byte-form match lines for oversized grep files Ripgrep emits data.lines.bytes (base64) for non-UTF-8 match lines. The oversized-file fallback previously only read data.lines.text and fell back to an empty string, silently blanking valid match text. Decode bytes to UTF-8 before the fallback and add a regression test for the byte-form JSON shape. * fix(agents): render grep context from ripgrep records Use the searched, decoded match and context records for default grep windows while retaining the shipped custom readFile contract. Preserve context at the match limit, real EOF boundaries, and native path bytes. This removes the extra whole-file reread and keeps result paths readable. Co-authored-by: xialonglee <li.xialong@xydigit.com> --------- Co-authored-by: Peter Steinberger <steipete@gmail.com> Co-authored-by: xialonglee <li.xialong@xydigit.com> |
||
|---|---|---|
| .. | ||
| lib | ||
| parallels | ||
| agent-bundle-mcp-tools-docker.sh | ||
| agents-delete-shared-workspace-docker.sh | ||
| browser-cdp-snapshot-docker.sh | ||
| browser-plugin-profiles-docker.sh | ||
| build-image.sh | ||
| bun-global-install-smoke.sh | ||
| bundled-plugin-install-uninstall-docker.sh | ||
| cli-installer-distribution-docker.sh | ||
| codex-media-path-docker.sh | ||
| codex-npm-plugin-live-docker.sh | ||
| codex-on-demand-docker.sh | ||
| compose-setup.sh | ||
| config-reload-source-docker.sh | ||
| cron-cli-docker.sh | ||
| cron-mcp-cleanup-docker-client.ts | ||
| cron-mcp-cleanup-docker.sh | ||
| cron-mcp-cleanup-seed.ts | ||
| docker-openai-seed.ts | ||
| docker-package-install.sh | ||
| docker-selected-plugins.sh | ||
| Dockerfile | ||
| Dockerfile.qr-import | ||
| doctor-install-switch-docker.sh | ||
| gateway-concurrency-docker.sh | ||
| gateway-network-docker.sh | ||
| kitchen-sink-plugin-docker.sh | ||
| kitchen-sink-rpc-docker.sh | ||
| kitchen-sink-rpc-walk.mjs | ||
| kitchen-sink-rpc-walk.mts | ||
| live-plugin-tool-docker.sh | ||
| mcp-app-conformance-server.mjs | ||
| mcp-channel-limits.ts | ||
| mcp-channels-docker.sh | ||
| mcp-channels-seed.ts | ||
| mcp-code-mode-gateway-client.ts | ||
| mcp-code-mode-gateway-docker.sh | ||
| mcp-code-mode-gateway-live-docker.sh | ||
| mcp-code-mode-gateway-seed.ts | ||
| mock-openai-server.mjs | ||
| multi-node-update-docker.sh | ||
| npm-onboard-channel-agent-docker.sh | ||
| npm-telegram-live-docker.sh | ||
| npm-telegram-live-runner.ts | ||
| onboard-docker.sh | ||
| openai-chat-tools-docker.sh | ||
| openai-image-auth-docker.sh | ||
| openai-web-search-minimal-docker.sh | ||
| openwebui-docker.sh | ||
| openwebui-probe.mjs | ||
| parallels-linux-smoke.sh | ||
| parallels-macos-smoke.sh | ||
| parallels-npm-update-smoke.sh | ||
| parallels-windows-prepare.sh | ||
| parallels-windows-smoke.sh | ||
| plugin-binding-command-escape-docker.sh | ||
| plugin-binding-command-escape.Dockerfile | ||
| plugin-lifecycle-matrix-docker.sh | ||
| plugin-update-unchanged-docker.sh | ||
| plugins-docker.sh | ||
| qa-cli-onboarding.mjs | ||
| qa-plugin-install-sources.mjs | ||
| qr-import-docker.sh | ||
| release-media-memory-docker.sh | ||
| release-plugin-marketplace-docker.sh | ||
| release-typed-onboarding-docker.sh | ||
| release-upgrade-user-journey-docker.sh | ||
| release-user-journey-docker.sh | ||
| sandbox-browser-sidecar-docker.sh | ||
| session-runtime-context-docker-client.ts | ||
| session-runtime-context-docker.sh | ||
| skill-install-docker.sh | ||
| status-corrupt-plugin-deps.sh | ||
| system-agent-first-run-docker.sh | ||
| system-agent-first-run-spec.json | ||
| system-agent-rescue-docker-client.ts | ||
| system-agent-rescue-docker.sh | ||
| systemd-sealed-service-definition.sh | ||
| telegram-bot-api.ts | ||
| update-channel-switch-docker.sh | ||
| update-corrupt-plugin-docker.sh | ||
| update-run-package-self-upgrade-docker.sh | ||
| upgrade-survivor-docker.sh | ||