@remcp/runtime 0.2.136 → 0.2.137

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,11 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.2.137 — 2026-10-02
4
+
5
+ - `environment.outputSchema` now matches the real stable runtime payload: `platform`, `arch`, `node`, `cwd`, `home`, `temp`, nullable `shell`, `path_entries[]`, and opt-in sanitized `environment`.
6
+ - Removed stale schema fields `hostname`, `release`, `path`, and `env`, which were never emitted by `environmentTool`.
7
+ - Regression coverage checks both payload and schema parity. The 83-tool count is unchanged; the tool-surface digest changes intentionally because the schema is corrected.
8
+
3
9
  ## 0.2.136 — 2026-10-02
4
10
 
5
11
  - `installed_apps` now normalizes Windows registry, macOS `system_profiler`, `dpkg-query`, and `rpm` inventories into one structured `data[]` contract with stable app name/version/publisher/path fields.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@remcp/runtime",
3
- "version": "0.2.136",
3
+ "version": "0.2.137",
4
4
  "description": "First-party ReMCP local device runtime: filesystem, terminal, computer-use, browser, diagnostics and document tools over MCP.",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -225,7 +225,17 @@ const OUTPUT_FIELDS = Object.freeze({
225
225
  returned:outputNumber('Number of records returned in data.'),
226
226
  truncated:outputBoolean('True when count is larger than returned because of the requested limit.'),
227
227
  },
228
- environment: { platform:outputString(), arch:outputString(), hostname:outputString(), release:outputString(), shell:outputString(), path:outputString(), node:outputString(), env:outputObject() },
228
+ environment: {
229
+ platform:outputString(),
230
+ arch:outputString(),
231
+ node:outputString(),
232
+ cwd:outputString('Runtime working directory.'),
233
+ home:outputString('Current user home directory.'),
234
+ temp:outputString('Operating-system temporary directory.'),
235
+ shell:{ type:['string','null'], description:'Configured command shell when available.' },
236
+ path_entries:outputArray(outputString('One PATH entry in native search order.')),
237
+ environment:outputObject('Sanitized environment variables when include_env=true.'),
238
+ },
229
239
  audio: { volume:outputNumber(), muted:outputBoolean(), action:outputString(), backend:outputString(), text:outputString() },
230
240
  power_action: { text:outputString(), action:outputString() },
231
241
  record_screen: { path:outputString(), bytes:outputNumber(), duration_seconds:outputNumber(), format:outputString() },