-
Notifications
You must be signed in to change notification settings - Fork 1.2k
feat: add session-level profile selection and identity diagnostics #1776
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
Open
luozhixiong01
wants to merge
29
commits into
main
Choose a base branch
from
feat/session-profile-selection
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
29 commits
Select commit
Hold shift + click to select a range
4dd8a3a
feat: add LARKSUITE_CLI_PROFILE session env with flag precedence
luozhixiong01 c8eb7a5
feat: add profile selection error subtypes and machine-readable fields
luozhixiong01 6adeb0a
feat: add IdentitySelection type for explainable credential selection
luozhixiong01 ab00ddc
feat: unify credential selection with profile conflict detection
luozhixiong01 221dcc1
fix(credential): gate success-account direct-credential treatment on …
luozhixiong01 7c13fb1
test(credential): lock profile_secret_invalid against secret-bearing …
luozhixiong01 65b35be
feat: surface credentialSource and directCredentialEnv in whoami
luozhixiong01 ff3ac0e
refactor: drop whoami suggestion field and IdentitySelection.Suggestion
luozhixiong01 826d807
docs: add profile selection help to profile and whoami commands
luozhixiong01 acc835d
docs: add profile selection entry hint to lark-shared skill
luozhixiong01 5f2ff35
fix(credential): add credential_source to config errors and report pr…
luozhixiong01 c71434d
docs: forbid hollow identity promises in lark-shared profile hint
luozhixiong01 92c43b3
docs: broaden lark-shared trigger to profile selection and add sessio…
luozhixiong01 66100b7
docs: trim lark-shared profile rule to lark-cli scope, drop agent-she…
luozhixiong01 62405d6
docs: clarify whoami vs auth status boundary in lark-shared profile rule
luozhixiong01 feaf123
docs: use imperative one-line whoami vs auth status routing boundary
luozhixiong01 40b3087
feat: distinguish auth status from whoami identity in help and skill
luozhixiong01 bb82140
docs: guide per-command LARKSUITE_CLI_PROFILE prefix for non-persiste…
luozhixiong01 6fd370a
docs: point to auth status --json --verify for token validity checks
luozhixiong01 5ef56f0
docs: require auth status --json --verify for login/token checks
luozhixiong01 d87a695
test(credential): use recognized placeholders for secret fixtures
luozhixiong01 87e989d
docs(lark-shared): refine profile-selection guidance
luozhixiong01 74629fd
fix(credential): propagate malformed-config error for explicit profile
luozhixiong01 0547d40
feat(profile): distinguish saved default from effective identity
luozhixiong01 c76cac8
docs(lark-shared): write profile-selection guidance in Chinese
luozhixiong01 c15b811
fix(credential): surface malformed config on the config-default path
luozhixiong01 e6f8b8a
fix(credential): make profile arbitration explicit
luozhixiong01 a209f30
test: use recognized credential placeholders
luozhixiong01 00d8c07
docs(lark-shared): restore the trigger description to main's version
luozhixiong01 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
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.