knownfix 0.3.0 → 0.3.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.
Files changed (2) hide show
  1. package/index.mjs +2 -2
  2. package/package.json +1 -1
package/index.mjs CHANGED
@@ -136,7 +136,7 @@ async function main() {
136
136
  if (purchase?.checkout === "ready") {
137
137
  console.log(`\nLikely cause: ${purchase.diagnosisPreview?.likelyCause || "A stocked failure mode matches this signature."}`);
138
138
  console.log(`Price: ${purchase.price?.usd || "$0.05"} ${purchase.price?.currency || "USD"}`);
139
- console.log(`Next: ${purchase.nextAction?.instruction || "Pay the signed offer, then redeem with get_fix."}`);
139
+ console.log("Next: connect the MCP server and use the private purchase object from search_fixes, or call get_offer.");
140
140
  console.log("The signed paymentOffer is intentionally not printed by this CLI.");
141
141
  } else if (out.topMatchTier === "free-sample") {
142
142
  console.log("\nThe complete free fix is included in the MCP search result.");
@@ -153,7 +153,7 @@ async function main() {
153
153
  const { ListToolsRequestSchema, CallToolRequestSchema } = await import(
154
154
  "@modelcontextprotocol/sdk/types.js"
155
155
  );
156
- const server = new Server({ name: "knownfix-bridge", version: "0.3.0" }, { capabilities: { tools: {} } });
156
+ const server = new Server({ name: "knownfix-bridge", version: "0.3.1" }, { capabilities: { tools: {} } });
157
157
  server.setRequestHandler(ListToolsRequestSchema, async () => ({ tools: (await rpc("tools/list")).tools }));
158
158
  server.setRequestHandler(CallToolRequestSchema, async (req) =>
159
159
  rpc("tools/call", { name: req.params.name, arguments: req.params.arguments ?? {} })
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "knownfix",
3
- "version": "0.3.0",
3
+ "version": "0.3.1",
4
4
  "description": "MCP storefront for 36 dev-error fixes: purchase-ready search, 11 free fixes, signed USDC or ETH offers, and premium recovery packs on Base.",
5
5
  "type": "module",
6
6
  "bin": { "knownfix": "index.mjs" },