-
Notifications
You must be signed in to change notification settings - Fork 1.2k
feat(kimi-code): support two OAuth login endpoints #2862
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
28 commits
Select commit
Hold shift + click to select a range
59d9eb1
feat(kimi-code): add China/International region selection for OAuth l…
liruifengv ddfd3c8
fix(oauth): keep an explicit default-slot login ahead of the install …
liruifengv b0b7116
fix(agent-core-v2): thread the default-slot key through capability re…
liruifengv 605ada1
fix(agent-core-v2): honor the region-marker opt-out for the telemetry…
liruifengv 0eba850
Merge remote-tracking branch 'origin/main' into feat/oauth-region-split
liruifengv f9349df
feat(cli): show region site domains in login platform selector
liruifengv 12b3c4f
Merge remote-tracking branch 'origin/main' into feat/oauth-region-split
liruifengv 56b287f
chore: reword oauth login changesets
liruifengv 4bd7e82
fix: honor the region marker opt-out in the CLI and capability resolvers
liruifengv ba46a0a
refactor: rename login region values to mainland-cn and global
liruifengv adc68d8
fix: keep the --region help text in English
liruifengv 2c0774f
fix: simplify the --region help text to site domains
liruifengv 1dc232a
feat: drop the suggested login platform order
liruifengv a037b11
feat: split a browser-safe region profile table out of the region res…
liruifengv e48d6b6
Revert "feat: split a browser-safe region profile table out of the re…
liruifengv 9cdaab4
fix: read the install marker from the bootstrapped home directory
liruifengv 715baf6
fix: resolve the server plugin marketplace from the active login region
liruifengv 4c69299
feat: expose the login region option through the klient auth facade
liruifengv 6f607b8
fix: drop a comment from the v2 auth region test
liruifengv d5f3b03
fix: keep scoped base-only logins on their environment for a bare login
liruifengv 12597b2
fix: invalidate the region cache on the provider-manager logout path
liruifengv 7c0ed41
fix: route client-config fetches through the active region profile
liruifengv 2a49766
fix: resolve the telemetry endpoint per flush so a login region switc…
liruifengv 401cb00
test: expect the telemetry endpoint resolver in the CLI init assertions
liruifengv ddd06a7
fix: resolve the default telemetry endpoint from the bootstrapped home
liruifengv 43f1616
chore: reword the oauth login changeset around the two login methods
liruifengv cc857f7
chore: trim the oauth login changeset to the headline
liruifengv bee4988
feat: let hosts override the region marker env through the server boo…
liruifengv File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,5 @@ | ||
| --- | ||
| "@moonshot-ai/kimi-code": minor | ||
| --- | ||
|
|
||
| Support two OAuth login methods — kimi.ai and kimi.com. |
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,5 @@ | ||
| --- | ||
| "@moonshot-ai/kimi-code-sdk": patch | ||
| --- | ||
|
|
||
| Add an optional region parameter to the auth login API for selecting the OAuth login endpoint (.com or .ai deployment). |
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
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
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
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
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
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
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
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
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
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
Oops, something went wrong.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.