Repository navigation
fix(config): sync schema.help + schema.labels with upstream; add dependency files - #90
Merged
Merged
Conversation
5 tasks
Copilot
AI
changed the title
[WIP] Fix config sync with upstream and re-apply our additions
fix(config): sync schema.help + schema.labels with upstream; add dependency files
Apr 6, 2026
Piboonsak
marked this pull request as ready for review
April 6, 2026 07:30
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
schema.help.ts(496 lines) andschema.labels.ts(357 lines) were far behind upstream (1511 and 811 lines respectively), missing comprehensive help text and labels for all config keys added by upstream.openclaw config settab-completion, and docs generation all read from these maps — gaps mean missing labels/descriptions for valid config keys.media-audio-field-metadata.ts,talk-defaults.ts); confirmed all our additions from PRs [WIP] Add rate limiting and throttle layer functionality #51/feat(agents): rapid-succession storm detector + callTrace to prevent nested-agent tool storms #56/feat(agent): enable reasoning mode as default #78 (rapidSuccessionhelp/labels, rate-limit entries) are preserved.types.openclaw.ts,zod-schema.ts,types.tools.ts,zod-schema.agent-runtime.ts,types.agent-defaults.ts,zod-schema.agent-defaults.ts) — HEAD already contains all feature additions from the sprint PRs; taking full upstream versions of these files introduced breaking union-type changes (AgentModelConfig,SecretInputforapiKey) requiring cascading fixes across 30+ unrelated files outside the config directory scope.Change Type (select all)
Scope (select all touched areas)
Linked Issue/PR
User-visible / Behavior Changes
openclaw config setand config-related UI will now show labels and help text for all upstream-added config keys (e.g.env.*,talk.*,tools.media.audio.*, and many more). No runtime behavior changes.Security Impact (required)
NoNoNoNoNoRepro + Verification
Environment
Steps
pnpm buildnode --import tsx node_modules/vitest/dist/cli.js run "src/config"Expected
Actual
Evidence
Pre-existing failures in
tool-loop-detection.test.tsandpi-tools.before-tool-call.test.tsare unrelated and reproduce identically on HEAD before any changes.Human Verification (required)
rapidSuccessionand rate-limit entries present in both updated files.pnpm testsuite end-to-end (pre-existing failures in loop-detection tests make the suite non-green on HEAD itself).Compatibility / Migration
YesNoNoFailure Recovery (if this breaks)
git revertthe commit; the files are pure lookup maps with no runtime logic.src/config/schema.help.ts,src/config/schema.labels.ts,src/config/media-audio-field-metadata.ts,src/config/talk-defaults.tsopenclaw config setoutput or config UI.Risks and Mitigations
Warning
Firewall rules blocked me from connecting to one or more addresses (expand for details)
I tried to connect to the following addresses, but was blocked by firewall rules:
api.openai.com/opt/hostedtoolcache/node/24.14.1/x64/bin/node /opt/hostedtoolcache/node/24.14.1/x64/bin/node --conditions node --conditions development --experimental-import-meta-resolve --require /home/REDACTED/work/openclaw_github/openclaw_github/node_modules/.pnpm/[email protected]_@opentelemetry+[email protected]_@types+[email protected]_@vitest+browser-playwright@4._c9688654361f600a6ea7cb5666ec9fae/node_modules/vitest/suppress-warnings.cjs /home/REDACTED/work/openclaw_github/openclaw_github/node_modules/.pnpm/[email protected]_@opentelemetry+[email protected]_@types+[email protected]_@vitest+browser-playwright@4._c9688654361f600a6ea7cb5666ec9fae/node_modules/vitest/dist/workers/forks.js orks.js 18_@opentelemetry+[email protected]_@types+[email protected]_@vitest+browser-playwright@4._c9688654361f600a6ea7cb5666ec9fae/node_modules/vitest/suppress-warnings.cjs 18_@opentelemetry+[email protected]_@types+[email protected]_@vitest+browser-playwright@4._c9688654361f600a6ea7cb5666ec9fae/node_modules/vitest/dist/workers/forks.js fo/c�� 88654361f600a6ea7cb5666ec9fae/node_modules/vitest/suppress-warnings.cjs 88654361f600a6ea7cb5666ec9fae/node_modules/vitest/dist/workers/forks.js b/node_modules/.bin/bash ngs.cjs orks.js pnpm/[email protected] pnpm/[email protected](dns block)example.com/opt/hostedtoolcache/node/24.14.1/x64/bin/node /opt/hostedtoolcache/node/24.14.1/x64/bin/node --conditions node --conditions development --experimental-import-meta-resolve --require /home/REDACTED/work/openclaw_github/openclaw_github/node_modules/.pnpm/[email protected]_@opentelemetry+[email protected]_@types+[email protected]_@vitest+browser-playwright@4._c9688654361f600a6ea7cb5666ec9fae/node_modules/vitest/suppress-warnings.cjs /home/REDACTED/work/openclaw_github/openclaw_github/node_modules/.pnpm/[email protected]_@opentelemetry+[email protected]_@types+[email protected]_@vitest+browser-playwright@4._c9688654361f600a6ea7cb5666ec9fae/node_modules/vitest/dist/workers/forks.js git 18_@opentelemetry+[email protected]_@types+[email protected]_@vitest+browser-playwright@4._c9688654361f600a6ea7cb5666ec9fae/node_modules/vitest/suppress-warnings.cjs 18_@opentelemetry+[email protected]_@types+[email protected]_@vitest+browser-playwright@4._c9688654361f600a6ea7cb5666ec9fae/node_modules/vitest/dist/workers/forks.js --no�� 88654361f600a6ea7cb5666ec9fae/node_modules/vitest/suppress-warnings.cjs 88654361f600a6ea7cb5666ec9fae/node_modules/vitest/dist/workers/forks.js ndor/bin/sh(dns block)/opt/hostedtoolcache/node/24.14.1/x64/bin/node /opt/hostedtoolcache/node/24.14.1/x64/bin/node --conditions node --conditions development --experimental-import-meta-resolve --require /home/REDACTED/work/openclaw_github/openclaw_github/node_modules/.pnpm/[email protected]_@opentelemetry+[email protected]_@types+[email protected]_@vitest+browser-playwright@4._c9688654361f600a6ea7cb5666ec9fae/node_modules/vitest/suppress-warnings.cjs /home/REDACTED/work/openclaw_github/openclaw_github/node_modules/.pnpm/[email protected]_@opentelemetry+[email protected]_@types+[email protected]_@vitest+browser-playwright@4._c9688654361f600a6ea7cb5666ec9fae/node_modules/vitest/dist/workers/forks.js orks.js pnpm/[email protected] pnpm/[email protected] 4.li�� laywright@4._c9688654361f600a6ea7cb5666ec9fae/node_modules/vitest/suppress-warnings.cjs laywright@4._c9688654361f600a6ea7cb5666ec9fae/node_modules/vitest/dist/workers/forks.js /usr/local/bin/bash ngs.cjs orks.js b/node_modules/.node b/node_modules/.--conditions(dns block)/opt/hostedtoolcache/node/24.14.1/x64/bin/node /opt/hostedtoolcache/node/24.14.1/x64/bin/node --conditions node --conditions development --experimental-import-meta-resolve --require /home/REDACTED/work/openclaw_github/openclaw_github/node_modules/.pnpm/[email protected]_@opentelemetry+[email protected]_@types+[email protected]_@vitest+browser-playwright@4._c9688654361f600a6ea7cb5666ec9fae/node_modules/vitest/suppress-warnings.cjs /home/REDACTED/work/openclaw_github/openclaw_github/node_modules/.pnpm/[email protected]_@opentelemetry+[email protected]_@types+[email protected]_@vitest+browser-playwright@4._c9688654361f600a6ea7cb5666ec9fae/node_modules/vitest/dist/workers/forks.js orks.js 18_@opentelemetry+[email protected]_@types+[email protected]_@vitest+browser-playwright@4._c9688654361f600a6ea7cb5666ec9fae/node_modules/vitest/suppress-warnings.cjs 18_@opentelemetry+[email protected]_@types+[email protected]_@vitest+browser-playwright@4._c9688654361f600a6ea7cb5666ec9fae/node_modules/vitest/dist/workers/forks.js --no�� laywright@4._c96--experimental-import-meta-resolve laywright@4._c96--require de/node/bin/pnpm/home/REDACTED/work/openclaw_github/openclaw_github/node_modules/.pnpm/[email protected] ngs.cjs orks.js b/node_modules/.node b/node_modules/.--conditions(dns block)files.slack.com/opt/hostedtoolcache/node/24.14.1/x64/bin/node /opt/hostedtoolcache/node/24.14.1/x64/bin/node --conditions node --conditions development --experimental-import-meta-resolve --require /home/REDACTED/work/openclaw_github/openclaw_github/node_modules/.pnpm/[email protected]_@opentelemetry+[email protected]_@types+[email protected]_@vitest+browser-playwright@4._c9688654361f600a6ea7cb5666ec9fae/node_modules/vitest/suppress-warnings.cjs /home/REDACTED/work/openclaw_github/openclaw_github/node_modules/.pnpm/[email protected]_@opentelemetry+[email protected]_@types+[email protected]_@vitest+browser-playwright@4._c9688654361f600a6ea7cb5666ec9fae/node_modules/vitest/dist/workers/forks.js git 18_@opentelemetry+[email protected]_@types+[email protected]_@vitest+browser-playwright@4._c9688654361f600a6ea7cb5666ec9fae/node_modules/vitest/suppress-warnings.cjs 18_@opentelemetry+[email protected]_@types+[email protected]_@vitest+browser-playwright@4._c9688654361f600a6ea7cb5666ec9fae/node_modules/vitest/dist/workers/forks.js ^imp�� --is-inside-work-tree >/dev/null/opt/hostedtoolcache/node/24.14.1/x64/bin/node bash b/node_modules/.bin/sh --noprofile git(dns block)private.test/opt/hostedtoolcache/node/24.14.1/x64/bin/node /opt/hostedtoolcache/node/24.14.1/x64/bin/node --conditions node --conditions development --experimental-import-meta-resolve --require /home/REDACTED/work/openclaw_github/openclaw_github/node_modules/.pnpm/[email protected]_@opentelemetry+[email protected]_@types+[email protected]_@vitest+browser-playwright@4._c9688654361f600a6ea7cb5666ec9fae/node_modules/vitest/suppress-warnings.cjs /home/REDACTED/work/openclaw_github/openclaw_github/node_modules/.pnpm/[email protected]_@opentelemetry+[email protected]_@types+[email protected]_@vitest+browser-playwright@4._c9688654361f600a6ea7cb5666ec9fae/node_modules/vitest/dist/workers/forks.js orks.js 18_@opentelemetry+[email protected]_@types+[email protected]_@vitest+browser-playwright@4._c9688654361f600a6ea7cb5666ec9fae/node_modules/vitest/suppress-warnings.cjs 18_@opentelemetry+[email protected]_@types+[email protected]_@vitest+browser-playwright@4._c9688654361f600a6ea7cb5666ec9fae/node_modules/vitest/dist/workers/forks.js --no�� laywright@4._c96--experimental-import-meta-resolve laywright@4._c96--require de/node/bin/pnpm/home/REDACTED/work/openclaw_github/openclaw_github/node_modules/.pnpm/[email protected] ngs.cjs orks.js b/node_modules/.node b/node_modules/.--conditions(dns block)If you need me to access, download, or install something from one of these locations, you can either: