Commit 89060e3
committed
fix: replace keytar with native keychain, fix CLI validation routing, add auto-reauth on 403
- Replace keytar native addon with cross-platform keychain using OS CLIs
(macOS security, Linux secret-tool, Windows PasswordVault)
- Fix isCliValidation guard matching all tagged errors by checking against
explicit set of @effect/cli ValidationError tags
- Strip --pretty and --env global flags before passing args to @effect/cli
- Fix ApplicationsListQuery to use Relay connection syntax (edges/node)
- Add --scope option to 'auth login' for requesting additional OAuth scopes
- Add --scope option to 'api' command with automatic 403 retry: decodes JWT,
detects missing scopes, triggers auth flow, and retries the request
- Remove keytar from dependencies and build externals1 parent e6e8136 commit 89060e3
File tree
12 files changed
+640
-324
lines changed- src
- cli/commands
- core
- effect/layers
- services
- tests/setup
12 files changed
+640
-324
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
83 | 83 | | |
84 | 84 | | |
85 | 85 | | |
86 | | - | |
87 | 86 | | |
88 | 87 | | |
89 | 88 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
58 | 58 | | |
59 | 59 | | |
60 | 60 | | |
61 | | - | |
62 | 61 | | |
63 | 62 | | |
64 | 63 | | |
| |||
0 commit comments