@glrs-dev/assume 0.9.0 → 0.10.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 CHANGED
@@ -1,5 +1,44 @@
1
1
  # @glrs-dev/assume
2
2
 
3
+ ## 0.10.1
4
+
5
+ ### Patch Changes
6
+
7
+ - [#267](https://github.com/iceglober/glrs/pull/267) [`d7cc1ef`](https://github.com/iceglober/glrs/commit/d7cc1ef9a4b342cbc00cbd3766fa5185381e4996) Thanks [@iceglober](https://github.com/iceglober)! - fix(assume): write the opencode MCP config to the path opencode actually reads
8
+
9
+ `gsa init` resolved OpenCode's config via `dirs::config_dir()`, which on macOS is
10
+ `~/Library/Application Support` — so it wrote the gsa MCP entry to
11
+ `~/Library/Application Support/opencode/opencode.json`, a file OpenCode never
12
+ reads. The "OpenCode: gsa MCP configured" message was a false read of that wrong
13
+ path, and the credential MCP never actually loaded.
14
+
15
+ OpenCode reads `$XDG_CONFIG_HOME/opencode/opencode.json` (default
16
+ `~/.config/opencode/opencode.json`) on every platform, matching the harness
17
+ installer. `gsa init` now resolves the same path. Other tools (claude-code,
18
+ gemini, cursor) were already correct (home-relative).
19
+
20
+ ## 0.10.0
21
+
22
+ ### Minor Changes
23
+
24
+ - [#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
25
+
26
+ `gsa init` now requires choosing a default context (what the bare credential
27
+ endpoint and `gsa exec`/agents resolve to when none is pinned). Pick it
28
+ interactively or pass `--default-context <pattern>`.
29
+
30
+ `glrs assume init` repairs and migrates in one shot: it removes the deprecated
31
+ `@glorious/assume` package (whose stale `gsa`/`gs-assume` bins shadow the
32
+ current install), installs the latest `@glrs-dev/assume`, and migrates a
33
+ pre-rebrand `gs-assume` config directory forward (copy, never delete) so you
34
+ keep providers, contexts, and credentials.
35
+
36
+ Breaking: until `gsa init` completes, gsa is non-functional — every command
37
+ except `init`, `upgrade`, `shell-init`, `status`, and `config` refuses with a
38
+ pointer to `gsa init`. This prevents the half-configured state where the daemon
39
+ is running but no default context exists. Existing users must run `gsa init`
40
+ once after upgrading to write the new init marker.
41
+
3
42
  ## 0.9.0
4
43
 
5
44
  ### 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
- Or standalone: `npm i -g @glrs-dev/assume`
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.9.0",
3
+ "version": "0.10.1",
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.9.0",
55
- "@glrs-dev/assume-darwin-x64": "0.9.0",
56
- "@glrs-dev/assume-linux-x64": "0.9.0",
57
- "@glrs-dev/assume-linux-arm64": "0.9.0"
54
+ "@glrs-dev/assume-darwin-arm64": "0.10.1",
55
+ "@glrs-dev/assume-darwin-x64": "0.10.1",
56
+ "@glrs-dev/assume-linux-x64": "0.10.1",
57
+ "@glrs-dev/assume-linux-arm64": "0.10.1"
58
58
  }
59
59
  }