@jpoindexter/agent-smith 1.1.5 → 1.1.6

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.

Potentially problematic release.


This version of @jpoindexter/agent-smith might be problematic. Click here for more details.

package/README.md CHANGED
@@ -91,11 +91,22 @@ agentsmith --force
91
91
  ## Feedback & Bug Reports
92
92
 
93
93
  ```bash
94
- # Auto-collect diagnostics and open a pre-filled GitHub issue
95
94
  agentsmith feedback
96
95
  ```
97
96
 
98
- Collects environment info (OS, Node, npm, git), project shape (framework, file stats), and your last scan results — then opens a GitHub issue with everything pre-filled. No private data (no file paths, branch names, or code) is included.
97
+ Any feedback is helpful bugs, ideas, questions, or just telling us what you're building.
98
+
99
+ Run `agentsmith feedback` and pick what you want to do: report a bug, request a feature, ask a question, share an idea, or show what you built. Bug reports auto-collect diagnostics and pre-fill the issue for you.
100
+
101
+ **Privacy:** agentsmith does not collect, send, or store any data. Everything runs locally on your machine. The feedback command gathers some basic info (tool versions, OS, aggregate file counts) to help with bug reports — but nothing is sent anywhere automatically. You see exactly what's collected and you choose whether to include it. Don't feel like sharing logs? A simple description is just as valuable.
102
+
103
+ You can also reach us directly:
104
+
105
+ - [Report a bug](https://github.com/jpoindexter/agentsmith/issues/new?template=bug_report.yml)
106
+ - [Request a feature](https://github.com/jpoindexter/agentsmith/issues/new?template=feature_request.yml)
107
+ - [Ask a question](https://github.com/jpoindexter/agentsmith/discussions/categories/q-a)
108
+ - [Share an idea](https://github.com/jpoindexter/agentsmith/discussions/categories/ideas)
109
+ - [Show and tell](https://github.com/jpoindexter/agentsmith/discussions/categories/show-and-tell)
99
110
 
100
111
  ## Output Modes
101
112
 
package/dist/cli.js CHANGED
@@ -627,7 +627,7 @@ import { dirname, join as pathJoin } from "path";
627
627
  import { homedir } from "os";
628
628
  var __filename = fileURLToPath(import.meta.url);
629
629
  var __dirname = dirname(__filename);
630
- var packageVersion = "1.1.5";
630
+ var packageVersion = "1.1.6";
631
631
  try {
632
632
  const packageJson = JSON.parse(readFileSync4(pathJoin(__dirname, "../package.json"), "utf-8"));
633
633
  packageVersion = packageJson.version;
@@ -657,7 +657,7 @@ function readLastRun() {
657
657
  var cli = cac("agentsmith");
658
658
  cli.command("[dir]", "Generate AGENTS.md from your codebase").option("-o, --output <file>", "Output file path", { default: "AGENTS.md" }).option("--dry-run", "Preview without writing file").option("--force", "Overwrite existing AGENTS.md even if it has custom content").option("--compact", "Generate compact output (fewer details, smaller token count)").option("--json", "Also generate AGENTS.index.json for programmatic access").option("--check-secrets", "Scan for potential secrets and warn before output").option("--include-git-log", "Include recent git commits in output").option("--xml", "Output in XML format (industry standard)").option("--remote <url>", "Clone and analyze a remote GitHub repository").option("--compress", "Extract signatures only (reduce tokens by ~40%)").option("--minimal", "Ultra-compact output (~3K tokens) - TL;DR + rules + component names").option("--tree", "Include file tree in output (off by default)").option("--copy", "Copy output to clipboard").option("--include-diffs", "Include uncommitted git changes").option("--split-output <size>", "Split output into chunks (e.g., 100kb, 500kb)").option("--security", "Include security audit (npm audit) in output").option("--monorepo", "Generate AGENTS.md for each package in monorepo").option("--mcp", "Start as MCP server (for AI tool integration)").option("--watch", "Watch for file changes and regenerate automatically").action(async (dir, options) => {
659
659
  if (options.mcp) {
660
- const { startMcpServer } = await import("./mcp-server-OICMWH7U.js");
660
+ const { startMcpServer } = await import("./mcp-server-J53WVKF4.js");
661
661
  await startMcpServer();
662
662
  return;
663
663
  }
@@ -1061,7 +1061,9 @@ cli.command("feedback", "Open GitHub Issues with auto-collected diagnostics").ac
1061
1061
  console.log(pc.cyan(`
1062
1062
  agentsmith v${packageVersion} | Feedback
1063
1063
  `));
1064
- console.log(pc.dim(" Collecting diagnostics (no private data)...\n"));
1064
+ console.log(pc.dim(" Collecting diagnostics...\n"));
1065
+ console.log(pc.dim(" Privacy: No file paths, branch names, repo URLs, or code"));
1066
+ console.log(pc.dim(" content is collected. Only tool versions and aggregate stats.\n"));
1065
1067
  let packageManager = "unknown";
1066
1068
  if (existsSync4(join4(cwd, "pnpm-lock.yaml"))) packageManager = "pnpm";
1067
1069
  else if (existsSync4(join4(cwd, "yarn.lock"))) packageManager = "yarn";
@@ -1240,29 +1242,47 @@ cli.command("feedback", "Open GitHub Issues with auto-collected diagnostics").ac
1240
1242
  bodyLines.push("</details>");
1241
1243
  }
1242
1244
  const issueBody = bodyLines.join("\n");
1243
- let copiedToClipboard = false;
1244
1245
  try {
1245
1246
  const { default: clipboard } = await import("clipboardy");
1246
1247
  await clipboard.write(issueBody);
1247
- copiedToClipboard = true;
1248
- console.log(pc.green(" \u2713 Diagnostics copied to clipboard"));
1248
+ console.log(pc.green(" \u2713 Diagnostics copied to clipboard (paste into any form)\n"));
1249
1249
  } catch {
1250
- console.log(pc.yellow(" \u26A0 Could not copy to clipboard"));
1250
+ console.log(pc.yellow(" \u26A0 Could not copy to clipboard\n"));
1251
1251
  }
1252
- const baseUrl = "https://github.com/jpoindexter/agentsmith/issues/new";
1253
- const encodedBody = encodeURIComponent(issueBody);
1254
- const fullUrl = `${baseUrl}?title=&body=${encodedBody}&assignees=jpoindexter&labels=feedback`;
1255
- const url = fullUrl.length <= 7e3 ? fullUrl : baseUrl;
1256
- const prefilled = fullUrl.length <= 7e3;
1257
- if (prefilled) {
1258
- console.log(pc.green(" \u2713 Opening pre-filled issue in browser..."));
1259
- } else {
1260
- console.log(pc.green(" \u2713 Opening GitHub Issues in browser..."));
1261
- if (copiedToClipboard) {
1262
- console.log(pc.dim(" Paste diagnostics from clipboard into the issue body"));
1263
- }
1252
+ console.log(" How would you like to give feedback?\n");
1253
+ console.log(` ${pc.cyan("1")} Report a bug ${pc.dim("(pre-filled issue with diagnostics)")}`);
1254
+ console.log(` ${pc.cyan("2")} Request a feature`);
1255
+ console.log(` ${pc.cyan("3")} Ask a question ${pc.dim("(GitHub Discussions)")}`);
1256
+ console.log(` ${pc.cyan("4")} Share an idea ${pc.dim("(GitHub Discussions)")}`);
1257
+ console.log(` ${pc.cyan("5")} Show and tell ${pc.dim("(share how you use agentsmith)")}`);
1258
+ console.log("");
1259
+ const urls = {
1260
+ "1": (() => {
1261
+ const baseUrl = "https://github.com/jpoindexter/agentsmith/issues/new?template=bug_report.yml&assignees=jpoindexter&labels=bug,feedback";
1262
+ const withBody = `${baseUrl}&body=${encodeURIComponent(issueBody)}`;
1263
+ return withBody.length <= 7e3 ? withBody : baseUrl;
1264
+ })(),
1265
+ "2": "https://github.com/jpoindexter/agentsmith/issues/new?template=feature_request.yml&assignees=jpoindexter&labels=enhancement",
1266
+ "3": "https://github.com/jpoindexter/agentsmith/discussions/categories/q-a",
1267
+ "4": "https://github.com/jpoindexter/agentsmith/discussions/categories/ideas",
1268
+ "5": "https://github.com/jpoindexter/agentsmith/discussions/categories/show-and-tell"
1269
+ };
1270
+ const { createInterface } = await import("readline");
1271
+ const rl = createInterface({ input: process.stdin, output: process.stdout });
1272
+ const answer = await new Promise((resolve) => {
1273
+ rl.question(pc.dim(" Enter choice (1-5): "), (ans) => {
1274
+ rl.close();
1275
+ resolve(ans.trim());
1276
+ });
1277
+ });
1278
+ const url = urls[answer];
1279
+ if (!url) {
1280
+ console.log(pc.yellow("\n Invalid choice. Visit https://github.com/jpoindexter/agentsmith\n"));
1281
+ return;
1264
1282
  }
1265
- console.log(pc.dim(` ${baseUrl}
1283
+ console.log(pc.green(`
1284
+ \u2713 Opening in browser...`));
1285
+ console.log(pc.dim(` ${url.split("?")[0]}
1266
1286
  `));
1267
1287
  try {
1268
1288
  if (process.platform === "darwin") {
@@ -41,7 +41,7 @@ import { existsSync, readFileSync } from "fs";
41
41
  import { join, resolve, dirname } from "path";
42
42
  import { fileURLToPath } from "url";
43
43
  var __mcpDirname = dirname(fileURLToPath(import.meta.url));
44
- var mcpVersion = "1.1.5";
44
+ var mcpVersion = "1.1.6";
45
45
  try {
46
46
  const pkg = JSON.parse(readFileSync(join(__mcpDirname, "../package.json"), "utf-8"));
47
47
  mcpVersion = pkg.version;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jpoindexter/agent-smith",
3
- "version": "1.1.5",
3
+ "version": "1.1.6",
4
4
  "description": "Auto-generate AGENTS.md from your codebase",
5
5
  "type": "module",
6
6
  "bin": {