mikoshi 0.1.0 → 0.1.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mikoshi",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "Private local code search + MCP",
5
5
  "type": "module",
6
6
  "bin": {
@@ -67,6 +67,15 @@ async function handleToolCall(params) {
67
67
  };
68
68
  }
69
69
 
70
+ const args = new Set(process.argv.slice(2));
71
+ const quiet = args.has("--quiet");
72
+ const shouldAnnounce =
73
+ !quiet && (process.env.MIKOSHI_MCP_BANNER === "1" || process.stdin.isTTY);
74
+
75
+ if (shouldAnnounce) {
76
+ console.error("Mikoshi MCP running (stdio). Waiting for client...");
77
+ }
78
+
70
79
  const rl = readline.createInterface({ input: process.stdin, crlfDelay: Infinity });
71
80
 
72
81
  rl.on("line", async (line) => {
@@ -88,7 +97,7 @@ rl.on("line", async (line) => {
88
97
  result: {
89
98
  protocolVersion: params?.protocolVersion || "2024-11-05",
90
99
  capabilities: { tools: {} },
91
- serverInfo: { name: "mikoshi", version: "0.1.0" },
100
+ serverInfo: { name: "mikoshi", version: "0.1.1" },
92
101
  },
93
102
  });
94
103
  return;