Repository navigation
refactor: isolate native CLI availability resolution - #129374
Merged
Merged
Conversation
Contributor
|
🦞👀 Pull request received. I will update this pull request when review starts. |
Contributor
Author
|
Fixed: native CLI model availability now satisfies the core lint and max-lines gates without changing behavior. |
github-actions Bot
pushed a commit
to Desicool/openclaw
that referenced
this pull request
Aug 26, 2026
Moved native CLI availability ownership resolution into the model-list auth owner and removed the stale test callback, restoring lint without changing behavior. Refs openclaw#129332.
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
Repair the lint regressions left by #129332 without changing native Claude CLI model availability.
This keeps the follow-up to #129052 structurally aligned with the existing model-list auth owner.
Root Cause
#129332 placed the prepared native CLI ownership resolver directly in
models-list-result.ts, pushing an already-large module past the max-lines limit.The same change removed copied credential setup from the native CLI Gateway test but left its now-unused
statecallback parameter.Changes
models-list-auth-resolver.tsVerification
Refs #129332