@glrs-dev/assume 0.9.0 → 0.10.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.
- package/CHANGELOG.md +22 -0
- package/README.md +3 -1
- package/package.json +5 -5
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,27 @@
|
|
|
1
1
|
# @glrs-dev/assume
|
|
2
2
|
|
|
3
|
+
## 0.10.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [#258](https://github.com/iceglober/glrs/pull/258) [`a4cf228`](https://github.com/iceglober/glrs/commit/a4cf228c995dd3de2fe60d79a533d18f09aedf36) Thanks [@iceglober](https://github.com/iceglober)! - feat(assume): `gsa init` requires a default context, gates all commands until set up, and self-repairs broken installs
|
|
8
|
+
|
|
9
|
+
`gsa init` now requires choosing a default context (what the bare credential
|
|
10
|
+
endpoint and `gsa exec`/agents resolve to when none is pinned). Pick it
|
|
11
|
+
interactively or pass `--default-context <pattern>`.
|
|
12
|
+
|
|
13
|
+
`glrs assume init` repairs and migrates in one shot: it removes the deprecated
|
|
14
|
+
`@glorious/assume` package (whose stale `gsa`/`gs-assume` bins shadow the
|
|
15
|
+
current install), installs the latest `@glrs-dev/assume`, and migrates a
|
|
16
|
+
pre-rebrand `gs-assume` config directory forward (copy, never delete) so you
|
|
17
|
+
keep providers, contexts, and credentials.
|
|
18
|
+
|
|
19
|
+
Breaking: until `gsa init` completes, gsa is non-functional — every command
|
|
20
|
+
except `init`, `upgrade`, `shell-init`, `status`, and `config` refuses with a
|
|
21
|
+
pointer to `gsa init`. This prevents the half-configured state where the daemon
|
|
22
|
+
is running but no default context exists. Existing users must run `gsa init`
|
|
23
|
+
once after upgrading to write the new init marker.
|
|
24
|
+
|
|
3
25
|
## 0.9.0
|
|
4
26
|
|
|
5
27
|
### Minor Changes
|
package/README.md
CHANGED
|
@@ -10,7 +10,9 @@ Docs: **[glrs.dev/assume](https://glrs.dev/assume)**
|
|
|
10
10
|
glrs assume init
|
|
11
11
|
```
|
|
12
12
|
|
|
13
|
-
|
|
13
|
+
Installs the latest binary (clearing the deprecated `@glorious/assume`), migrates any legacy `gs-assume` config forward, logs you in, approves agent contexts, and has you pick a default context. Re-run any time to repair a broken install. Until init completes, gsa is inert — every command except `init`, `upgrade`, `shell-init`, `status`, and `config` refuses.
|
|
14
|
+
|
|
15
|
+
Or standalone: `npm i -g @glrs-dev/assume` (then `gsa init`).
|
|
14
16
|
|
|
15
17
|
## Usage
|
|
16
18
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@glrs-dev/assume",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.10.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.
|
|
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.10.0",
|
|
55
|
+
"@glrs-dev/assume-darwin-x64": "0.10.0",
|
|
56
|
+
"@glrs-dev/assume-linux-x64": "0.10.0",
|
|
57
|
+
"@glrs-dev/assume-linux-arm64": "0.10.0"
|
|
58
58
|
}
|
|
59
59
|
}
|