@glrs-dev/assume 0.13.0 → 0.14.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 +18 -0
  2. package/package.json +5 -5
package/CHANGELOG.md CHANGED
@@ -1,5 +1,23 @@
1
1
  # @glrs-dev/assume
2
2
 
3
+ ## 0.14.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [#297](https://github.com/iceglober/glrs/pull/297) [`19da75b`](https://github.com/iceglober/glrs/commit/19da75b071f3a7aa7af228e3812e63e3e0da4a5f) Thanks [@iceglober](https://github.com/iceglober)! - `gsa` MCP tool `run_with_credentials` now accepts an optional `env` parameter for additional environment variables.
8
+
9
+ Agents can pass repo-specific env vars (cert paths, confirmation flags, service addresses, …) alongside the injected AWS credentials — a pure pass-through, no repo knowledge on gsa's side. The command still runs in the gsa MCP server's working directory (the workspace root it was launched in), so relative paths work like the bash tool.
10
+
11
+ ```
12
+ run_with_credentials(
13
+ command: "node_modules/.bin/tsx scripts/tsx/backfill.ts",
14
+ context: "production / developer",
15
+ env: { "CONFIRM_PRODUCTION": "yes", "TEMPORAL_NAMESPACE": "kn-prod" }
16
+ )
17
+ ```
18
+
19
+ Values must be strings; invalid names or non-string values return a clear invalid-params error. The gsa-injected `AWS_*` credential and region vars take precedence and cannot be overridden by `env`. Env var names (not values) are recorded in the audit log.
20
+
3
21
  ## 0.13.0
4
22
 
5
23
  ### Minor Changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@glrs-dev/assume",
3
- "version": "0.13.0",
3
+ "version": "0.14.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.13.0",
55
- "@glrs-dev/assume-darwin-x64": "0.13.0",
56
- "@glrs-dev/assume-linux-x64": "0.13.0",
57
- "@glrs-dev/assume-linux-arm64": "0.13.0"
54
+ "@glrs-dev/assume-darwin-arm64": "0.14.0",
55
+ "@glrs-dev/assume-darwin-x64": "0.14.0",
56
+ "@glrs-dev/assume-linux-x64": "0.14.0",
57
+ "@glrs-dev/assume-linux-arm64": "0.14.0"
58
58
  }
59
59
  }