vet-skills 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.
Files changed (2) hide show
  1. package/dist/index.js +10 -1
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -7629,7 +7629,7 @@ import { mkdirSync, readFileSync, writeFileSync, existsSync, appendFileSync, chm
7629
7629
  import { homedir } from "node:os";
7630
7630
  import { join } from "node:path";
7631
7631
  import { randomUUID } from "node:crypto";
7632
- var VERSION = "0.5.1";
7632
+ var VERSION = "0.5.2";
7633
7633
  var HOME = process.env.VET_SKILLS_HOME ?? join(homedir(), ".vet-skills");
7634
7634
  var API = (process.env.KILLERSKILLS_API ?? "https://killerskills.ai").replace(/\/$/, "");
7635
7635
  var CACHE_TTL_MS = 24 * 60 * 60 * 1e3;
@@ -8506,6 +8506,15 @@ async function main() {
8506
8506
  console.log(`${c.verified("\u2713")} ${handle} added to the personal block list${values.reason ? ` (${values.reason})` : ""}.`);
8507
8507
  return 0;
8508
8508
  }
8509
+ case "bug": {
8510
+ const last = readLog().at(-1);
8511
+ const qs = new URLSearchParams({ kind: "bug", source: "cli", cli_version: VERSION, ...last ? { skill: `${last.skill}@${last.semver}`, decision: last.decision } : {} });
8512
+ const url = `${API}/feedback?${qs}`;
8513
+ console.log(`Report a bug: ${url}`);
8514
+ const opener = platform2() === "darwin" ? "open" : platform2() === "win32" ? "start" : "xdg-open";
8515
+ spawnSync(opener, [url], { stdio: "ignore", shell: platform2() === "win32" });
8516
+ return 0;
8517
+ }
8509
8518
  case "telemetry": {
8510
8519
  const sub = rest[0] ?? "status";
8511
8520
  if (sub === "on" || sub === "off") {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vet-skills",
3
- "version": "0.5.1",
3
+ "version": "0.5.2",
4
4
  "description": "Vet agent skills and MCP servers before they run. Verdicts from KillerSkills, policy from your org.",
5
5
  "type": "module",
6
6
  "bin": {