@glrs-dev/assume 0.8.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 CHANGED
@@ -1,5 +1,38 @@
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
+
25
+ ## 0.9.0
26
+
27
+ ### Minor Changes
28
+
29
+ - [#256](https://github.com/iceglober/glrs/pull/256) [`610eae0`](https://github.com/iceglober/glrs/commit/610eae0e865ce33e1f8c757e35493268df75a899) Thanks [@iceglober](https://github.com/iceglober)! - `gsa init`: prompt to select which agent tools to configure, and fix the MCP writers
30
+
31
+ - `gsa init` now shows a multi-select of supported agent tools (OpenCode, Claude Code, Gemini CLI, Cursor) instead of silently auto-detecting one. Installed tools are pre-checked; you choose which to wire the `gsa` MCP server into.
32
+ - Fix OpenCode MCP entry: it now writes the correct `mcp` schema (`{ "type": "local", "command": ["gsa", "agent", "mcp"], "enabled": true }`) instead of the stdio `command`/`args` shape OpenCode ignores.
33
+ - Fix Claude Code target: MCP servers are written to `~/.claude.json` (`mcpServers`), not `~/.claude/settings.json`.
34
+ - Add Gemini CLI (`~/.gemini/settings.json`) and Cursor (`~/.cursor/mcp.json`) support, creating the config file when absent and preserving existing keys.
35
+
3
36
  ## 0.8.0
4
37
 
5
38
  ### 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.8.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.8.0",
55
- "@glrs-dev/assume-darwin-x64": "0.8.0",
56
- "@glrs-dev/assume-linux-x64": "0.8.0",
57
- "@glrs-dev/assume-linux-arm64": "0.8.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
  }