René's URL Explorer Experiment


Title: feat: refactor command framework by XXPermanentXX · Pull Request #90 · modelstudioai/cli · GitHub

Open Graph Title: feat: refactor command framework by XXPermanentXX · Pull Request #90 · modelstudioai/cli

X Title: feat: refactor command framework by XXPermanentXX · Pull Request #90 · modelstudioai/cli

Description: Official Model Studio CLI(阿里云百炼 CLI)built for AI Agent frameworks, exposing models, search, multimodal, and workflow capabilities as structured tool calls. - feat: refactor command framework by XXPermanentXX · Pull Request #90 · modelstudioai/cli

Open Graph Description: Overview This PR refactors the CLI onto a self-built command framework and splits the monorepo into clearer layers: core logic, runtime framework, shared command implementations, and product entryp...

X Description: Overview This PR refactors the CLI onto a self-built command framework and splits the monorepo into clearer layers: core logic, runtime framework, shared command implementations, and product entryp...

Opengraph URL: https://github.com/modelstudioai/cli/pull/90

X: @github

direct link

Domain: github.com

route-pattern/_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:f6476534-2520-6760-3062-b5e5199c4023
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idC178:3D423:1F716F:2ACC5D:6A5247ED
html-safe-noncee00bcf6b8f13d1433b573c9aa47de3d0d727867b42c7f43af76e106dfdd7593a
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDMTc4OjNENDIzOjFGNzE2RjoyQUNDNUQ6NkE1MjQ3RUQiLCJ2aXNpdG9yX2lkIjoiNjc0NTY2NzQ2MzU1ODYxMjk3MyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac747fca0d1e0e26217f14618fbcdfc3234ef04b3180fcb96041ee51e77392efca
hovercard-subject-tagpull_request:4012158139
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/modelstudioai/cli/90/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/86fa13e34673216193f0f684df2dd1207098a92e9a9e000f4b5107096cff59ae/modelstudioai/cli/pull/90
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/86fa13e34673216193f0f684df2dd1207098a92e9a9e000f4b5107096cff59ae/modelstudioai/cli/pull/90
og:image:altOverview This PR refactors the CLI onto a self-built command framework and splits the monorepo into clearer layers: core logic, runtime framework, shared command implementations, and product entryp...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameXXPermanentXX
hostnamegithub.com
expected-hostnamegithub.com
Noneb9a586c06a05a7a86fc7e3f4dbd03e42f6869085879aa184aa6369456dbd50fb
turbo-cache-controlno-cache
go-importgithub.com/modelstudioai/cli git https://github.com/modelstudioai/cli.git
octolytics-dimension-user_id283556804
octolytics-dimension-user_loginmodelstudioai
octolytics-dimension-repository_id1251875798
octolytics-dimension-repository_nwomodelstudioai/cli
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id1251875798
octolytics-dimension-repository_network_root_nwomodelstudioai/cli
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release7aed05249554b889eb33d002851a973eebcc7e91
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/modelstudioai/cli/pull/90#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmodelstudioai%2Fcli%2Fpull%2F90
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmodelstudioai%2Fcli%2Fpull%2F90
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=modelstudioai%2Fcli
Reloadhttps://github.com/modelstudioai/cli/pull/90
Reloadhttps://github.com/modelstudioai/cli/pull/90
Reloadhttps://github.com/modelstudioai/cli/pull/90
Please reload this pagehttps://github.com/modelstudioai/cli/pull/90
modelstudioai https://github.com/modelstudioai
clihttps://github.com/modelstudioai/cli
Notifications https://github.com/login?return_to=%2Fmodelstudioai%2Fcli
Fork 18 https://github.com/login?return_to=%2Fmodelstudioai%2Fcli
Star 267 https://github.com/login?return_to=%2Fmodelstudioai%2Fcli
Code https://github.com/modelstudioai/cli
Issues 1 https://github.com/modelstudioai/cli/issues
Pull requests 3 https://github.com/modelstudioai/cli/pulls
Discussions https://github.com/modelstudioai/cli/discussions
Actions https://github.com/modelstudioai/cli/actions
Projects https://github.com/modelstudioai/cli/projects
Security and quality 0 https://github.com/modelstudioai/cli/security
Insights https://github.com/modelstudioai/cli/pulse
Code https://github.com/modelstudioai/cli
Issues https://github.com/modelstudioai/cli/issues
Pull requests https://github.com/modelstudioai/cli/pulls
Discussions https://github.com/modelstudioai/cli/discussions
Actions https://github.com/modelstudioai/cli/actions
Projects https://github.com/modelstudioai/cli/projects
Security and quality https://github.com/modelstudioai/cli/security
Insights https://github.com/modelstudioai/cli/pulse
XXPermanentXXhttps://github.com/XXPermanentXX
mainhttps://github.com/modelstudioai/cli/tree/main
feat/self-built-frameworkhttps://github.com/modelstudioai/cli/tree/feat/self-built-framework
Conversationhttps://github.com/modelstudioai/cli/pull/90
Commits29 (29)https://github.com/modelstudioai/cli/pull/90/commits
Checkshttps://github.com/modelstudioai/cli/pull/90/checks
Files changedhttps://github.com/modelstudioai/cli/pull/90/files
feat: refactor command frameworkhttps://github.com/modelstudioai/cli/pull/90#top
XXPermanentXXhttps://github.com/XXPermanentXX
mainhttps://github.com/modelstudioai/cli/tree/main
feat/self-built-frameworkhttps://github.com/modelstudioai/cli/tree/feat/self-built-framework
https://github.com/XXPermanentXX
XXPermanentXXhttps://github.com/XXPermanentXX
Jul 8, 2026https://github.com/modelstudioai/cli/pull/90#issue-4834835887
Please reload this pagehttps://github.com/modelstudioai/cli/pull/90
Please reload this pagehttps://github.com/modelstudioai/cli/pull/90
XXPermanentXXhttps://github.com/XXPermanentXX
June 24, 2026 16:41https://github.com/modelstudioai/cli/pull/90#commits-pushed-7a0a083
https://github.com/XXPermanentXX
refactor(core): replace skipDefaultApiKeySetup with required auth fieldhttps://github.com/modelstudioai/cli/pull/90/commits/7a0a083b2e9629f74cf1553523787a625eb804b2
7a0a083https://github.com/modelstudioai/cli/pull/90/commits/7a0a083b2e9629f74cf1553523787a625eb804b2
https://github.com/XXPermanentXX
refactor(runtime): resolve/middleware kernel + declarative arg valida…https://github.com/modelstudioai/cli/pull/90/commits/91e6c6f553c3f4a05d6a7c00a2e02561d28d160c
91e6c6fhttps://github.com/modelstudioai/cli/pull/90/commits/91e6c6f553c3f4a05d6a7c00a2e02561d28d160c
https://github.com/XXPermanentXX
refactor(runtime): unify validation into UsageError; bare command sho…https://github.com/modelstudioai/cli/pull/90/commits/cbd3c1232c0bc67c25a7eaa37db14b39bdfa4b98
cbd3c12https://github.com/modelstudioai/cli/pull/90/commits/cbd3c1232c0bc67c25a7eaa37db14b39bdfa4b98
https://github.com/XXPermanentXX
refactor(flags): keyed type-inferred flag schema; option→flag renamehttps://github.com/modelstudioai/cli/pull/90/commits/f9bf36c2426f2c9f7b1eb29eb4b360cc5b7a52b0
f9bf36chttps://github.com/modelstudioai/cli/pull/90/commits/f9bf36c2426f2c9f7b1eb29eb4b360cc5b7a52b0
https://github.com/XXPermanentXX
refactor(auth): centralize credential resolution into authStage + Clienthttps://github.com/modelstudioai/cli/pull/90/commits/95eb07d04ac3421b03c52564b0bfa0fa4a005c5f
95eb07dhttps://github.com/modelstudioai/cli/pull/90/commits/95eb07d04ac3421b03c52564b0bfa0fa4a005c5f
https://github.com/XXPermanentXX
refactor(auth): remove deprecated AK/SK auth for knowledge retrievehttps://github.com/modelstudioai/cli/pull/90/commits/2f9558c16182ec8771c0b310a10d4c7e39f7b2e8
2f9558chttps://github.com/modelstudioai/cli/pull/90/commits/2f9558c16182ec8771c0b310a10d4c7e39f7b2e8
https://github.com/XXPermanentXX
refactor(commands): route all exits through the central error handlerhttps://github.com/modelstudioai/cli/pull/90/commits/1f56feab24568b49aac3abb0c8e244cc604804af
1f56feahttps://github.com/modelstudioai/cli/pull/90/commits/1f56feab24568b49aac3abb0c8e244cc604804af
https://github.com/XXPermanentXX
test(e2e): align with UsageError validation contracthttps://github.com/modelstudioai/cli/pull/90/commits/df89ededc247c76671469ec2ebbb54895706d062
df89edehttps://github.com/modelstudioai/cli/pull/90/commits/df89ededc247c76671469ec2ebbb54895706d062
https://github.com/XXPermanentXX
feat(update-checker): surface update notice to non-TTY/agent runshttps://github.com/modelstudioai/cli/pull/90/commits/bd431d769fcd87af0af2cd9d839161cbf8f09453
bd431d7https://github.com/modelstudioai/cli/pull/90/commits/bd431d769fcd87af0af2cd9d839161cbf8f09453
https://github.com/XXPermanentXX
refactor(runtime): group process-lifecycle setup into installProcessH…https://github.com/modelstudioai/cli/pull/90/commits/ae88f7a4ad5a371fde85b0cbaf0f75dae575251c
ae88f7ahttps://github.com/modelstudioai/cli/pull/90/commits/ae88f7a4ad5a371fde85b0cbaf0f75dae575251c
https://github.com/XXPermanentXX
refactor(core): split god Config into Identity/Settings/Credential re…https://github.com/modelstudioai/cli/pull/90/commits/d31b7f83cae508f779d00d8d2f7fae2e3c0ab62f
d31b7f8https://github.com/modelstudioai/cli/pull/90/commits/d31b7f83cae508f779d00d8d2f7fae2e3c0ab62f
https://github.com/XXPermanentXX
refactor(flags): scope credential flags by command auth domainhttps://github.com/modelstudioai/cli/pull/90/commits/deab3b3841d732a158a713e95d8bf6b11f0fd5d9
deab3b3https://github.com/modelstudioai/cli/pull/90/commits/deab3b3841d732a158a713e95d8bf6b11f0fd5d9
https://github.com/XXPermanentXX
refactor(flags): scope yes/async/concurrent to command-owned flagshttps://github.com/modelstudioai/cli/pull/90/commits/468b4d710ef59f6d7d33da3f9fbaa9928980e4cc
468b4d7https://github.com/modelstudioai/cli/pull/90/commits/468b4d710ef59f6d7d33da3f9fbaa9928980e4cc
https://github.com/XXPermanentXX
docs(agents): align maintenance guides with split CLI architecturehttps://github.com/modelstudioai/cli/pull/90/commits/b3b1a08baf05db8e09dc31735f8e1efdfd2cc68b
b3b1a08https://github.com/modelstudioai/cli/pull/90/commits/b3b1a08baf05db8e09dc31735f8e1efdfd2cc68b
https://github.com/XXPermanentXX
refactor(flags): align media command async and concurrent handlinghttps://github.com/modelstudioai/cli/pull/90/commits/c35f2856e52a908de05641f35f4b29030411516e
c35f285https://github.com/modelstudioai/cli/pull/90/commits/c35f2856e52a908de05641f35f4b29030411516e
https://github.com/XXPermanentXX
refactor(output): centralize ANSI styling and remove no-color flaghttps://github.com/modelstudioai/cli/pull/90/commits/476dd3b84119584c69e82bfe1501e5e676c45dcc
476dd3bhttps://github.com/modelstudioai/cli/pull/90/commits/476dd3b84119584c69e82bfe1501e5e676c45dcc
https://github.com/XXPermanentXX
fix(verbose): restore request-side log lines dropped in credential re…https://github.com/modelstudioai/cli/pull/90/commits/d20e037dec618b1654251d46692d8ef3722acef3
d20e037https://github.com/modelstudioai/cli/pull/90/commits/d20e037dec618b1654251d46692d8ef3722acef3
https://github.com/XXPermanentXX
Merge branch 'main' into feat/self-built-frameworkhttps://github.com/modelstudioai/cli/pull/90/commits/b0c48bab6bae5825fa073e123dcc53d7246187ac
b0c48bahttps://github.com/modelstudioai/cli/pull/90/commits/b0c48bab6bae5825fa073e123dcc53d7246187ac
https://github.com/XXPermanentXX
Merge branch 'main' into feat/self-built-frameworkhttps://github.com/modelstudioai/cli/pull/90/commits/4dfe3ac907016efed0e4e4ddd5a8afb8ea3b5c2e
4dfe3achttps://github.com/modelstudioai/cli/pull/90/commits/4dfe3ac907016efed0e4e4ddd5a8afb8ea3b5c2e
https://github.com/XXPermanentXX
fix: preserve offline dry-run validation before authhttps://github.com/modelstudioai/cli/pull/90/commits/c18844120a2877961fc3884f64b64b097242d335
c188441https://github.com/modelstudioai/cli/pull/90/commits/c18844120a2877961fc3884f64b64b097242d335
https://github.com/XXPermanentXX
refactor(commands): remove yes confirmation gateshttps://github.com/modelstudioai/cli/pull/90/commits/49095c3a8ab27dff6970ac26c19c4ccde45ff6b0
49095c3https://github.com/modelstudioai/cli/pull/90/commits/49095c3a8ab27dff6970ac26c19c4ccde45ff6b0
https://github.com/XXPermanentXX
feat(auth): add OpenAPI AK/SK auth domain for token planhttps://github.com/modelstudioai/cli/pull/90/commits/2debfdba6bc000f12881100c8438963ae9b058fe
2debfdbhttps://github.com/modelstudioai/cli/pull/90/commits/2debfdba6bc000f12881100c8438963ae9b058fe
https://github.com/XXPermanentXX
fix(runtime): tailor root help to product entrypointshttps://github.com/modelstudioai/cli/pull/90/commits/bd4b0ad9a55c02bd17f5f10d409d9e461386b0b0
bd4b0adhttps://github.com/modelstudioai/cli/pull/90/commits/bd4b0ad9a55c02bd17f5f10d409d9e461386b0b0
https://github.com/XXPermanentXX
fix(runtime): ignore unsupported lowercase proxy env varshttps://github.com/modelstudioai/cli/pull/90/commits/13ade9181f5e6fd98db3ea0ab5872c43538ade2c
13ade91https://github.com/modelstudioai/cli/pull/90/commits/13ade9181f5e6fd98db3ea0ab5872c43538ade2c
https://github.com/XXPermanentXX
fix(auth): stop printing quick start after loginhttps://github.com/modelstudioai/cli/pull/90/commits/7ce018cc532bb9d1a15f6e2b228d9a0198c04ec4
7ce018chttps://github.com/modelstudioai/cli/pull/90/commits/7ce018cc532bb9d1a15f6e2b228d9a0198c04ec4
https://github.com/XXPermanentXX
docs: align agent and skill docs with kscli splithttps://github.com/modelstudioai/cli/pull/90/commits/749549aa2841e4ebd7ad509394b7a01095473abe
749549ahttps://github.com/modelstudioai/cli/pull/90/commits/749549aa2841e4ebd7ad509394b7a01095473abe
https://github.com/XXPermanentXX
XXPermanentXXhttps://github.com/XXPermanentXX
Jul 9, 2026https://github.com/modelstudioai/cli/pull/90#event-27757965129
https://github.com/XXPermanentXX
XXPermanentXXhttps://github.com/XXPermanentXX
Jul 9, 2026https://github.com/modelstudioai/cli/pull/90#event-27758004535
XXPermanentXXhttps://github.com/XXPermanentXX
July 9, 2026 17:47https://github.com/modelstudioai/cli/pull/90#commits-pushed-4525d5d
https://github.com/XXPermanentXX
release: prepare 1.7.0https://github.com/modelstudioai/cli/pull/90/commits/4525d5df6c872d742e0effe488cb6d74994f55f4
4525d5dhttps://github.com/modelstudioai/cli/pull/90/commits/4525d5df6c872d742e0effe488cb6d74994f55f4
https://github.com/XXPermanentXX
chore(dev): run CLI workspace entries from sourcehttps://github.com/modelstudioai/cli/pull/90/commits/66402d986862c692d90d23466f1494a41cf62235
66402d9https://github.com/modelstudioai/cli/pull/90/commits/66402d986862c692d90d23466f1494a41cf62235
https://github.com/XXPermanentXX
test(e2e): run proxy probe with tsxhttps://github.com/modelstudioai/cli/pull/90/commits/0a301ee641a02167981abc6740fa5170db932b90
0a301eehttps://github.com/modelstudioai/cli/pull/90/commits/0a301ee641a02167981abc6740fa5170db932b90
https://github.com/XXPermanentXX
XXPermanentXXhttps://github.com/XXPermanentXX
03f0e7chttps://github.com/modelstudioai/cli/commit/03f0e7c5c43735ccd5507737cae1ae5046943259
Jul 9, 2026https://github.com/modelstudioai/cli/pull/90#event-27763396194
Please reload this pagehttps://github.com/modelstudioai/cli/pull/90
https://github.com/XXPermanentXX
XXPermanentXXhttps://github.com/XXPermanentXX
July 10, 2026 01:56https://github.com/modelstudioai/cli/pull/90#event-27793205267
https://github.co/hiddenchars
https://github.com/modelstudioai/cli/pull/{{ revealButtonHref }}
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmodelstudioai%2Fcli%2Fpull%2F90
Please reload this pagehttps://github.com/modelstudioai/cli/pull/90
https://github.com/XXPermanentXX
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.