-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
50
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
50 commits
Select commit
Hold shift + click to select a range
1845162
feat: add LARKSUITE_CLI_PROFILE session env with flag precedence
luozhixiong01 b1d4489
feat: add profile selection error subtypes and machine-readable fields
luozhixiong01 b6c19f5
feat: add IdentitySelection type for explainable credential selection
luozhixiong01 deb16ce
feat: unify credential selection with profile conflict detection
luozhixiong01 e6466b9
fix(credential): gate success-account direct-credential treatment on …
luozhixiong01 c24a382
test(credential): lock profile_secret_invalid against secret-bearing …
luozhixiong01 8666365
feat: surface credentialSource and directCredentialEnv in whoami
luozhixiong01 9b1f3fa
refactor: drop whoami suggestion field and IdentitySelection.Suggestion
luozhixiong01 c4f5022
docs: add profile selection help to profile and whoami commands
luozhixiong01 1d9f48b
docs: add profile selection entry hint to lark-shared skill
luozhixiong01 71521b9
fix(credential): add credential_source to config errors and report pr…
luozhixiong01 fe3d949
docs: forbid hollow identity promises in lark-shared profile hint
luozhixiong01 5a0f022
docs: broaden lark-shared trigger to profile selection and add sessio…
luozhixiong01 417777f
docs: trim lark-shared profile rule to lark-cli scope, drop agent-she…
luozhixiong01 4eb068f
docs: clarify whoami vs auth status boundary in lark-shared profile rule
luozhixiong01 70b611a
docs: use imperative one-line whoami vs auth status routing boundary
luozhixiong01 6aa8dec
feat: distinguish auth status from whoami identity in help and skill
luozhixiong01 d8f877f
docs: guide per-command LARKSUITE_CLI_PROFILE prefix for non-persiste…
luozhixiong01 4306f41
docs: point to auth status --json --verify for token validity checks
luozhixiong01 9cad3ca
docs: require auth status --json --verify for login/token checks
luozhixiong01 eabc855
test(credential): use recognized placeholders for secret fixtures
luozhixiong01 7c04a1a
docs(lark-shared): refine profile-selection guidance
luozhixiong01 beeeb71
fix(credential): propagate malformed-config error for explicit profile
luozhixiong01 ccc6dd3
feat(profile): distinguish saved default from effective identity
luozhixiong01 a340417
docs(lark-shared): write profile-selection guidance in Chinese
luozhixiong01 7cc881c
fix(credential): surface malformed config on the config-default path
luozhixiong01 ce00fdc
fix(credential): make profile arbitration explicit
luozhixiong01 0c8bf43
test: use recognized credential placeholders
luozhixiong01 7b32b22
docs(lark-shared): restore the trigger description to main's version
luozhixiong01 cf2af70
fix(credential): surface precise causes instead of flattened selectio…
luozhixiong01 76ee4cd
fix(config): pin saved-config commands to the saved default
luozhixiong01 f01f7ab
chore: guard empty profile source and document credential wire fields
luozhixiong01 fd9940c
fix(credential): surface the real keychain out-of-sync cause
luozhixiong01 dd42477
fix(credential): refuse cross-app tokens after a config edit
luozhixiong01 e28f917
fix(credential): keep policy mistakes and saved-config inspection off…
luozhixiong01 f6732c9
fix(profile): keep only the renamed default field in profile list
luozhixiong01 76bd47a
fix(credential): refuse mismatched tokens before any token work
luozhixiong01 6b80706
fix(credential): unforgeable AccountDirect reservation, gate aligned …
luozhixiong01 16ed512
test(credential): pin the TAT mint-then-cache happy path
luozhixiong01 51f3f07
docs(lark-shared): route pin/clear-session-identity intents from eval…
luozhixiong01 3a9cfdd
chore: use a recognized token placeholder and trim skill routing prose
luozhixiong01 01fdf2f
docs(lark-shared): format profile selection guidance
luozhixiong01 5442811
fix(auth): enforce app binding before token resolution
luozhixiong01 8bcb04c
test(auth): assert token dispatch call counts
luozhixiong01 754f471
test(auth): align token fixtures with account selection
luozhixiong01 0fef066
fix(auth): classify invalid sidecar policy
luozhixiong01 48b0ade
fix(profile): honor an explicit empty profile flag
luozhixiong01 8587203
test(sidecar): align fake provider with app binding
luozhixiong01 c86c348
fix(auth): reserve incomplete credential arbitration for env
luozhixiong01 4769b5c
docs(profile): clarify identity diagnostics heading
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.