exomind 0.3.12 → 0.3.13

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/dist/cli.js CHANGED
@@ -3119,7 +3119,7 @@ var {
3119
3119
  // package.json
3120
3120
  var package_default = {
3121
3121
  name: "exomind",
3122
- version: "0.3.12",
3122
+ version: "0.3.13",
3123
3123
  description: "ExoMind \u8DE8\u5E73\u53F0\u547D\u4EE4\u884C\u5BA2\u6237\u7AEF \u2014 \u901A\u8FC7 REST \u4E0E ExoMind \u77E5\u8BC6\u5E93\u4EA4\u4E92(ingest/query/search/review),\u66FF\u4EE3 Windows \u4E0D\u53EF\u7528\u7684 MCP \u5BA2\u6237\u7AEF\u3002",
3124
3124
  bin: {
3125
3125
  exomind: "dist/cli.js"
@@ -4569,10 +4569,14 @@ async function install(client, opts) {
4569
4569
  const keyHint = live.api_key ? `${live.api_key.slice(0, 8)}\u2026${live.api_key.slice(-4)}` : "";
4570
4570
  let me = null;
4571
4571
  if (live.api_key) {
4572
- try {
4573
- me = await client.get("/auth/me");
4574
- } catch {
4575
- me = null;
4572
+ for (let i = 0; i < 3; i++) {
4573
+ try {
4574
+ me = await client.get("/auth/me", { timeoutMs: 6e3 });
4575
+ if (me && me.authenticated) break;
4576
+ } catch {
4577
+ me = null;
4578
+ }
4579
+ if (i < 2) await new Promise((r) => setTimeout(r, 1e3));
4576
4580
  }
4577
4581
  }
4578
4582
  const mcp = live.api_key ? await checkMcp() : { ok: false, detail: "\u672A\u914D\u7F6E API Key" };