@glrs-dev/assume 0.6.6 → 0.7.1
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/CHANGELOG.md +23 -0
- package/dist/{chunk-J5BWAQEL.js → chunk-CGS5UTSO.js} +1 -1
- package/dist/cli.js +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/package.json +6 -6
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,28 @@
|
|
|
1
1
|
# @glrs-dev/assume
|
|
2
2
|
|
|
3
|
+
## 0.7.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#223](https://github.com/iceglober/glrs/pull/223) [`a6132bd`](https://github.com/iceglober/glrs/commit/a6132bd13a85bad9d8055c979e08c734a0420a5b) Thanks [@iceglober](https://github.com/iceglober)! - fix(assume): publish platform packages with glrs-assume binary (was gs-assume)
|
|
8
|
+
|
|
9
|
+
## 0.7.0
|
|
10
|
+
|
|
11
|
+
### Minor Changes
|
|
12
|
+
|
|
13
|
+
- [#220](https://github.com/iceglober/glrs/pull/220) [`1a68158`](https://github.com/iceglober/glrs/commit/1a681582d60c40c048d166245e75bc5b0497a6db) Thanks [@iceglober](https://github.com/iceglober)! - Reliable auto-refresh and rebrand to glrs-assume
|
|
14
|
+
|
|
15
|
+
**Auto-refresh reliability** — SSO sessions now stay alive for the full 7-day refresh window without manual intervention:
|
|
16
|
+
|
|
17
|
+
- Inline refresh in every CLI command: when the daemon isn't running and the session is expired but the refresh token is valid, any `gsa` command refreshes inline instead of showing "expired"
|
|
18
|
+
- Credential endpoint retry: when AWS CLI/SDK hits the daemon's HTTP endpoint with an expired session, the endpoint refreshes the token and retries automatically (no more 503s)
|
|
19
|
+
- `status` and `shell-init` now restart the daemon if it's dead (`BackgroundEnsure`), so every new terminal and every status check keeps the daemon alive
|
|
20
|
+
- Auto-install launchd agent on `gsa login` — the daemon survives reboots without requiring `gsa serve --install`
|
|
21
|
+
- SIGTERM handling in the daemon for clean shutdown when launchd stops the service
|
|
22
|
+
- launchd plist improvements: `KeepAlive.SuccessfulExit=false` (eliminates 10s respawn polling loop), `ProcessType=Background` (prevents App Nap from suspending the refresh loop), `AbandonProcessGroup` (clean shutdown)
|
|
23
|
+
|
|
24
|
+
**Rebrand** — `gs-assume` renamed to `glrs-assume` across binary names, config paths (`~/.config/glrs-assume`), env vars (`GLRS_ASSUME_*`), launchd label, shell functions, and all user-facing output. The `gsa` short alias is unchanged.
|
|
25
|
+
|
|
3
26
|
## 0.6.6
|
|
4
27
|
|
|
5
28
|
### Patch Changes
|
|
@@ -13,7 +13,7 @@ function detectPlatform() {
|
|
|
13
13
|
`[@glrs-dev/assume] Unsupported platform: ${platform}-${arch}. Supported: darwin-arm64, darwin-x64, linux-x64, linux-arm64. Windows support is not currently available \u2014 the daemon is Unix-architectured. File an issue at https://github.com/iceglober/glrs/issues if you need another target.`
|
|
14
14
|
);
|
|
15
15
|
}
|
|
16
|
-
var BIN_NAME = "
|
|
16
|
+
var BIN_NAME = "glrs-assume";
|
|
17
17
|
function getBinaryPath() {
|
|
18
18
|
const platform = detectPlatform();
|
|
19
19
|
const pkgName = `@glrs-dev/assume-${platform}`;
|
package/dist/cli.js
CHANGED
package/dist/index.d.ts
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
* involved — npm's `os` + `cpu` fields in each platform package cause
|
|
10
10
|
* npm/pnpm/bun to skip packages that don't match the user's platform.
|
|
11
11
|
*/
|
|
12
|
-
declare const BIN_NAME = "
|
|
12
|
+
declare const BIN_NAME = "glrs-assume";
|
|
13
13
|
/**
|
|
14
14
|
* Resolve the path to the prebuilt binary for this platform.
|
|
15
15
|
*
|
package/dist/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@glrs-dev/assume",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.7.1",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
"type": "module",
|
|
19
19
|
"main": "./dist/index.js",
|
|
20
20
|
"bin": {
|
|
21
|
-
"
|
|
21
|
+
"glrs-assume": "./dist/cli.js",
|
|
22
22
|
"gsa": "./dist/cli.js"
|
|
23
23
|
},
|
|
24
24
|
"files": [
|
|
@@ -51,9 +51,9 @@
|
|
|
51
51
|
"typescript": "^5"
|
|
52
52
|
},
|
|
53
53
|
"optionalDependencies": {
|
|
54
|
-
"@glrs-dev/assume-darwin-arm64": "0.
|
|
55
|
-
"@glrs-dev/assume-darwin-x64": "0.
|
|
56
|
-
"@glrs-dev/assume-linux-x64": "0.
|
|
57
|
-
"@glrs-dev/assume-linux-arm64": "0.
|
|
54
|
+
"@glrs-dev/assume-darwin-arm64": "0.7.1",
|
|
55
|
+
"@glrs-dev/assume-darwin-x64": "0.7.1",
|
|
56
|
+
"@glrs-dev/assume-linux-x64": "0.7.1",
|
|
57
|
+
"@glrs-dev/assume-linux-arm64": "0.7.1"
|
|
58
58
|
}
|
|
59
59
|
}
|