@wrongstack/plugins 1.0.1 → 1.0.3

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/index.js CHANGED
@@ -13709,7 +13709,8 @@ var DEFAULTS33 = {
13709
13709
  maxConsecutiveFailures: 5
13710
13710
  };
13711
13711
  function isPrivateIPv4(hostname) {
13712
- const parts = hostname.split(".").map((p) => Number(p));
13712
+ const normalised = hostname.replace(/^::ffff:/i, "");
13713
+ const parts = normalised.split(".").map((p) => Number(p));
13713
13714
  if (parts.length !== 4 || parts.some((p) => !Number.isInteger(p) || p < 0 || p > 255)) {
13714
13715
  return false;
13715
13716
  }
@@ -167,7 +167,8 @@ var DEFAULTS = {
167
167
  maxConsecutiveFailures: 5
168
168
  };
169
169
  function isPrivateIPv4(hostname) {
170
- const parts = hostname.split(".").map((p) => Number(p));
170
+ const normalised = hostname.replace(/^::ffff:/i, "");
171
+ const parts = normalised.split(".").map((p) => Number(p));
171
172
  if (parts.length !== 4 || parts.some((p) => !Number.isInteger(p) || p < 0 || p > 255)) {
172
173
  return false;
173
174
  }
@@ -505,7 +505,11 @@ var HOST_PLUGIN_AUDIT_ENTRIES = [
505
505
  name: "@wrongstack/plug-lsp",
506
506
  risk: "medium",
507
507
  summary: "Language Server Protocol tools and slash commands.",
508
- defaultState: "inactive",
508
+ // Active by default: with `autoStart: 'lazy'` nothing is spawned until a
509
+ // file of a matching language is touched, and auto-discovery only adopts
510
+ // servers already installed on the machine. Disable with
511
+ // `{ name: 'lsp', enabled: false }` in config.plugins.
512
+ defaultState: "active",
509
513
  canDisable: true
510
514
  },
511
515
  {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wrongstack/plugins",
3
- "version": "1.0.1",
3
+ "version": "1.0.3",
4
4
  "description": "Official WrongStack collection of focused plugins for code quality, security, observability, planning, and agent coordination",
5
5
  "license": "MIT",
6
6
  "author": "ECOSTACK TECHNOLOGY OÜ",
@@ -303,10 +303,10 @@
303
303
  "vitest": "^4.1.11"
304
304
  },
305
305
  "dependencies": {
306
- "@wrongstack/core": "1.0.1",
307
- "@wrongstack/primitives": "1.0.1",
308
- "@wrongstack/plugin-sdk": "1.0.1",
309
- "@wrongstack/tools": "1.0.1"
306
+ "@wrongstack/core": "1.0.3",
307
+ "@wrongstack/primitives": "1.0.3",
308
+ "@wrongstack/plugin-sdk": "1.0.3",
309
+ "@wrongstack/tools": "1.0.3"
310
310
  },
311
311
  "scripts": {
312
312
  "build": "node ../../scripts/build-package.mjs",