@aiaiai-pt/frankctl 0.9.0 → 0.9.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aiaiai-pt/frankctl",
3
- "version": "0.9.0",
3
+ "version": "0.9.7",
4
4
  "description": "Terminal-first client for the Frank Low-Code Pipeline platform",
5
5
  "homepage": "https://franksdocs.nomadriver.co",
6
6
  "repository": {
@@ -50,7 +50,7 @@ frankctl config set profiles.default.keycloakUrl https://auth.frank.nomadriver.c
50
50
  ```
51
51
 
52
52
  Auth modes:
53
- - **PKCE (default)** — `frankctl auth login`. Browser-based, best for humans.
53
+ - **PKCE (default)** — `frankctl auth login`. Browser-based, best for humans; uses the dedicated public `frank-cli` client unless explicitly overridden.
54
54
  - **Headless** — `frankctl auth login --headless --username … --password-stdin`, or inject `FRANKCTL_PASSWORD` without the stdin flag.
55
55
  - **Service account** — `frankctl auth login --service-account --client-id … --client-secret-stdin`, or inject `FRANKCTL_CLIENT_SECRET`.
56
56
 
@@ -325,10 +325,13 @@ profiles:
325
325
  apiUrl: https://api.frank.nomadriver.co
326
326
  keycloakUrl: https://auth.frank.nomadriver.co
327
327
  realm: frank
328
- clientId: frank-low-code
328
+ clientId: frank-cli
329
329
  ```
330
330
 
331
- Precedence (top wins): CLI flag → env var → YAML → built-in default.
331
+ Precedence (top wins): CLI flag → env var → YAML → built-in default. Browser
332
+ PKCE's built-in client is `frank-cli`; headless password login retains
333
+ `frank-low-code`. Stored tokens retain their issuing client id so refresh uses
334
+ the same client.
332
335
  `config get <key>` reports `{value, source}` so you can see which layer won;
333
336
  `config list` prints the merged effective profile.
334
337