@wrongstack/plugins 0.318.0 → 0.319.1

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.
@@ -153,13 +153,18 @@ async function detectRunner(requested) {
153
153
  try {
154
154
  await new Promise((resolve, reject) => {
155
155
  const ex = resolveExec("npx", [`${match.name}`, "--version"]);
156
- execFile(ex.cmd, ex.args, {
157
- encoding: "utf-8",
158
- timeout: 5e3,
159
- cwd: process.cwd(),
160
- windowsHide: true,
161
- ...ex.windowsVerbatimArguments ? { windowsVerbatimArguments: true } : {}
162
- }, (err) => err ? reject(err) : resolve());
156
+ execFile(
157
+ ex.cmd,
158
+ ex.args,
159
+ {
160
+ encoding: "utf-8",
161
+ timeout: 5e3,
162
+ cwd: process.cwd(),
163
+ windowsHide: true,
164
+ ...ex.windowsVerbatimArguments ? { windowsVerbatimArguments: true } : {}
165
+ },
166
+ (err) => err ? reject(err) : resolve()
167
+ );
163
168
  });
164
169
  return match;
165
170
  } catch {
@@ -170,13 +175,18 @@ async function detectRunner(requested) {
170
175
  try {
171
176
  await new Promise((resolve, reject) => {
172
177
  const ex = resolveExec("npx", [`${candidate.name}`, "--version"]);
173
- execFile(ex.cmd, ex.args, {
174
- encoding: "utf-8",
175
- timeout: 5e3,
176
- cwd: process.cwd(),
177
- windowsHide: true,
178
- ...ex.windowsVerbatimArguments ? { windowsVerbatimArguments: true } : {}
179
- }, (err) => err ? reject(err) : resolve());
178
+ execFile(
179
+ ex.cmd,
180
+ ex.args,
181
+ {
182
+ encoding: "utf-8",
183
+ timeout: 5e3,
184
+ cwd: process.cwd(),
185
+ windowsHide: true,
186
+ ...ex.windowsVerbatimArguments ? { windowsVerbatimArguments: true } : {}
187
+ },
188
+ (err) => err ? reject(err) : resolve()
189
+ );
180
190
  });
181
191
  return candidate;
182
192
  } catch {
@@ -444,7 +454,9 @@ var plugin = {
444
454
  Fix the failing tests or revert the change if it broke something.`
445
455
  };
446
456
  };
447
- state.hookUnregister = api.registerHook("PostToolUse", "write|edit", hook, { background: true });
457
+ state.hookUnregister = api.registerHook("PostToolUse", "write|edit", hook, {
458
+ background: true
459
+ });
448
460
  api.tools.register({
449
461
  name: "test_gate_status",
450
462
  description: "Reports test-runner-gate state: command, patterns, and per-session pass/fail/error/no-test counters.",
package/dist/type-gate.js CHANGED
@@ -242,7 +242,9 @@ Fix the type error(s) or adjust the change.`;
242
242
  }
243
243
  return { additionalContext: message };
244
244
  };
245
- state.hookUnregister = api.registerHook("PostToolUse", "write|edit", hook, { background: true });
245
+ state.hookUnregister = api.registerHook("PostToolUse", "write|edit", hook, {
246
+ background: true
247
+ });
246
248
  api.tools.register({
247
249
  name: "type_gate_status",
248
250
  description: "Reports type-gate state: command, tsconfig, severity, and per-session pass/fail/error counters.",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wrongstack/plugins",
3
- "version": "0.318.0",
3
+ "version": "0.319.1",
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": "0.318.0",
307
- "@wrongstack/primitives": "0.318.0",
308
- "@wrongstack/plugin-sdk": "0.318.0",
309
- "@wrongstack/tools": "0.318.0"
306
+ "@wrongstack/core": "0.319.1",
307
+ "@wrongstack/primitives": "0.319.1",
308
+ "@wrongstack/plugin-sdk": "0.319.1",
309
+ "@wrongstack/tools": "0.319.1"
310
310
  },
311
311
  "scripts": {
312
312
  "build": "node ../../scripts/build-package.mjs",