@glrs-dev/assume 0.11.0 → 0.12.0

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.
Files changed (2) hide show
  1. package/CHANGELOG.md +13 -0
  2. package/package.json +5 -5
package/CHANGELOG.md CHANGED
@@ -1,5 +1,18 @@
1
1
  # @glrs-dev/assume
2
2
 
3
+ ## 0.12.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [#286](https://github.com/iceglober/glrs/pull/286) [`2b2c469`](https://github.com/iceglober/glrs/commit/2b2c469421b75cc8d59fed966cb2e591380b1ad2) Thanks [@iceglober](https://github.com/iceglober)! - Restore ambient credentials and make them robust across providers and re-logins.
8
+
9
+ - **Per-provider ambient defaults.** AWS and GCP each hold their own machine-global default context, both served in every shell at once. Replaces the single `active.json` with a per-provider default store (`defaults/<provider>.json`); a transparent one-time migration folds any existing `active.json` forward.
10
+ - **`gsa login` preserves your default.** A re-login after SSO expiry no longer drops you to "no context" — it keeps the prior default when still valid, ending the "must `gsa exec` for everything after every re-login" regression.
11
+ - **`gsa use` is a per-shell override**; new `--default` flag also sets the machine default. `gsa exec` with no `-c`/`--provider` injects every provider's default.
12
+ - **Always-on prompt.** Renders one `[provider:ctx]` bracket per provider (`*` marks a per-shell override), seeded from defaults so a brand-new shell shows the ambient default, and a dim `[gsa]` when nothing is active. New `prompt.layout = "above" | "inline"` (default two-line).
13
+ - **Stale-daemon recovery.** The daemon records its version; CLI commands cycle a running-but-outdated daemon left behind by an auto-upgrade.
14
+ - **Dead-session is surfaced loudly.** When a provider you use ambiently has an expired refresh token, the next command prints an actionable re-login hint instead of relying on a desktop notification.
15
+
3
16
  ## 0.11.0
4
17
 
5
18
  ### Minor Changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@glrs-dev/assume",
3
- "version": "0.11.0",
3
+ "version": "0.12.0",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -51,9 +51,9 @@
51
51
  "typescript": "^5"
52
52
  },
53
53
  "optionalDependencies": {
54
- "@glrs-dev/assume-darwin-arm64": "0.11.0",
55
- "@glrs-dev/assume-darwin-x64": "0.11.0",
56
- "@glrs-dev/assume-linux-x64": "0.11.0",
57
- "@glrs-dev/assume-linux-arm64": "0.11.0"
54
+ "@glrs-dev/assume-darwin-arm64": "0.12.0",
55
+ "@glrs-dev/assume-darwin-x64": "0.12.0",
56
+ "@glrs-dev/assume-linux-x64": "0.12.0",
57
+ "@glrs-dev/assume-linux-arm64": "0.12.0"
58
58
  }
59
59
  }