Skip to content

Commit 89060e3

Browse files
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 externals
1 parent e6e8136 commit 89060e3

File tree

12 files changed

+640
-324
lines changed

12 files changed

+640
-324
lines changed

build.mjs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,6 @@ esbuild
8383
external: [
8484
// Exclude native modules from bundling
8585
"*.node",
86-
"keytar",
8786
// TypeScript is a peer dependency and should not be bundled
8887
"typescript",
8988
// pino-pretty uses worker threads and must be external

package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,6 @@
5858
"graphql-request": "^7.1.2",
5959
"ink": "^5.2.0",
6060
"ink-select-input": "^6.0.0",
61-
"keytar": "^7.9.0",
6261
"open": "^10.1.1",
6362
"picomatch": "^4.0.3",
6463
"pino": "^9.6.0",

0 commit comments

Comments
 (0)