JackZhao10086
cb5055eb46
feat(auth): add auth qrcode subcommand and update auth docs/hints ( #968 )
...
* feat(auth): add auth qrcode subcommand and update auth docs/hints
* refactor(auth/qrcode): improve qrcode command with validation and custom output
2026-05-25 15:34:00 +08:00
吕盈辉律师
7bad9f2656
fix: guide agents to yield during auth device flow ( #933 )
2026-05-18 11:48:09 +08:00
MaxHuang22
7d0ceb5d58
feat: block auth/config when external credential provider is active ( #627 )
...
* feat(credential): add ActiveExtensionProviderName to detect external providers
Change-Id: Ie17a4b714e5eca17ae574ac188d570721790107d
* feat(cmdutil): add RequireBuiltinCredentialProvider guard for external credential providers
Change-Id: I8f2ea0af6fe6506b29beb69264b04c21c0f75da1
* feat(config): block all config subcommands when external credential provider is active
Change-Id: If215cb8f0a53cc92d623dd3d842e4465124af2be
* feat(auth): block all auth subcommands when external credential provider is active
Change-Id: Ia61184fb2daeb6a7a38d122c647b7cb67eaf8b1f
* fix(auth,config): silence usage in PersistentPreRunE to match root command behaviour
Change-Id: I6d4b3c7d9d9c7b10fc2482fdc80252bf051771ee
* test(auth,config,credential): address CodeRabbit review comments
- Use cmd.Find() to assert SilenceUsage on matched subcommand (not parent)
- Add TestRequireBuiltinCredentialProvider_PropagatesProviderError for error path
- Add 'external' fallback sentinel in ActiveExtensionProviderName
Change-Id: Iba35779ad2ed9807556264ba23db7096541e2bf3
2026-04-24 18:45:31 +08:00
liangshuo-1
555722ac8e
fix: resolve concurrency races in RuntimeContext ( #330 )
...
* fix: resolve concurrency races in RuntimeContext
- getAPIClient: replace check-then-act with sync.OnceValues, matching
the factory_default.go convention; use NewAPIClientWithConfig to avoid
post-construction config override; fall back to direct construction
for test contexts that bypass newRuntimeContext.
- outputErr: guard first-error capture with sync.Once to prevent data
races if Out() is ever called from concurrent goroutines.
Change-Id: I99c94c3dcb7663fa61571c9720163e41a5fc0e36
* fix: use tenant token for auth scopes
Change-Id: I83bb677e9a33e906e207679b2ba8d0364bc20fe3
2026-04-08 19:14:45 +08:00
梁硕
83dfb068ad
feat: open-source lark-cli — the official CLI for Lark/Feishu
...
Change-Id: I113d9cdb5403cec347efe4595415e34a18b7decf
2026-03-28 10:36:25 +08:00