chrome-relay 0.5.1 → 0.5.2

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/dist/cli.js CHANGED
@@ -5,7 +5,7 @@ import { Command } from "commander";
5
5
  import { writeFileSync } from "fs";
6
6
 
7
7
  // src/index.ts
8
- var CHROME_RELAY_VERSION = true ? "0.5.1" : "0.0.0-dev";
8
+ var CHROME_RELAY_VERSION = true ? "0.5.2" : "0.0.0-dev";
9
9
 
10
10
  // src/install/install.ts
11
11
  import os from "os";
@@ -167,6 +167,11 @@ async function callTool(name, args) {
167
167
 
168
168
  // src/release-notes.ts
169
169
  var RELEASE_NOTES = {
170
+ "0.5.2": [
171
+ "Strict input parsers (code-quality-hardening PR 0). Invalid console levels, network status filters, tab-group colors, and tab-id lists now throw instead of being silently dropped \u2014 an agent that asks for `errors` (typo of `error`) gets a precise error rather than all levels back.",
172
+ "Affected tools: chrome_console (levels), chrome_network (status), chrome_group (color, tabIds), chrome_screencast (format, action), chrome_network (action).",
173
+ "Parsers moved to apps/extension/src/browser/parsers.ts (pure module, no chrome runtime imports) so they're directly unit-testable. 24 new tests cover the strict paths."
174
+ ],
170
175
  "0.5.1": [
171
176
  "Tool results now carry a `notice` field when the CLI is older than the connected extension \u2014 agents (or humans) get a structured nudge to run `chrome-relay update`.",
172
177
  "New subcommand: `chrome-relay update` \u2014 installs the latest CLI via your package manager and prints what changed.",
package/dist/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  // src/index.ts
2
- var CHROME_RELAY_VERSION = true ? "0.5.1" : "0.0.0-dev";
2
+ var CHROME_RELAY_VERSION = true ? "0.5.2" : "0.0.0-dev";
3
3
  export {
4
4
  CHROME_RELAY_VERSION
5
5
  };
@@ -10,7 +10,7 @@ import Fastify from "fastify";
10
10
  var DEFAULT_HTTP_PORT = 12122;
11
11
 
12
12
  // src/index.ts
13
- var CHROME_RELAY_VERSION = true ? "0.5.1" : "0.0.0-dev";
13
+ var CHROME_RELAY_VERSION = true ? "0.5.2" : "0.0.0-dev";
14
14
 
15
15
  // src/release-notes.ts
16
16
  function compareSemver(a, b) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "chrome-relay",
3
- "version": "0.5.1",
3
+ "version": "0.5.2",
4
4
  "type": "module",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",