@memoraone/mcp 0.1.49 → 0.1.50

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.cjs CHANGED
@@ -231,7 +231,7 @@ var require_package = __commonJS({
231
231
  "package.json"(exports2, module2) {
232
232
  module2.exports = {
233
233
  name: "@memoraone/mcp",
234
- version: "0.1.49",
234
+ version: "0.1.50",
235
235
  type: "module",
236
236
  main: "dist/index.cjs",
237
237
  exports: {
@@ -1456,7 +1456,7 @@ async function resolveAuthoritativeBinding(workspaceRoot, _options = {}) {
1456
1456
  const local = await resolveLocalBinding(root);
1457
1457
  bindings.push(toResolvedBinding(local));
1458
1458
  } catch (err) {
1459
- if (err instanceof ReconnectRequiredError) {
1459
+ if (err instanceof ReconnectRequiredError && (err.message.includes("No local binding for workspace") || err.message.includes("No local MemoraOne binding for this workspace"))) {
1460
1460
  continue;
1461
1461
  }
1462
1462
  throw err;
@@ -1817,7 +1817,7 @@ async function resolveBindingFromWorkspaceRoots(workspaceRoots, options = {}) {
1817
1817
  })
1818
1818
  );
1819
1819
  } catch (err) {
1820
- if (err instanceof Error && (err.message.includes("No local MemoraOne binding") || err.message.includes("memoraone-mcp connect") || err.name === "ReconnectRequiredError")) {
1820
+ if (err instanceof Error && (err.message.includes("No local MemoraOne binding for this workspace") || err.message.includes("No local binding for workspace"))) {
1821
1821
  continue;
1822
1822
  }
1823
1823
  throw err;
package/dist/daemon.cjs CHANGED
@@ -1319,7 +1319,7 @@ async function resolveAuthoritativeBinding(workspaceRoot, _options = {}) {
1319
1319
  const local = await resolveLocalBinding(root);
1320
1320
  bindings.push(toResolvedBinding(local));
1321
1321
  } catch (err) {
1322
- if (err instanceof ReconnectRequiredError) {
1322
+ if (err instanceof ReconnectRequiredError && (err.message.includes("No local binding for workspace") || err.message.includes("No local MemoraOne binding for this workspace"))) {
1323
1323
  continue;
1324
1324
  }
1325
1325
  throw err;
@@ -1718,7 +1718,7 @@ async function resolveBindingFromWorkspaceRoots(workspaceRoots, options = {}) {
1718
1718
  })
1719
1719
  );
1720
1720
  } catch (err) {
1721
- if (err instanceof Error && (err.message.includes("No local MemoraOne binding") || err.message.includes("memoraone-mcp connect") || err.name === "ReconnectRequiredError")) {
1721
+ if (err instanceof Error && (err.message.includes("No local MemoraOne binding for this workspace") || err.message.includes("No local binding for workspace"))) {
1722
1722
  continue;
1723
1723
  }
1724
1724
  throw err;
package/dist/index.cjs CHANGED
@@ -1396,7 +1396,7 @@ async function resolveAuthoritativeBinding(workspaceRoot, _options = {}) {
1396
1396
  const local = await resolveLocalBinding(root);
1397
1397
  bindings.push(toResolvedBinding(local));
1398
1398
  } catch (err) {
1399
- if (err instanceof ReconnectRequiredError) {
1399
+ if (err instanceof ReconnectRequiredError && (err.message.includes("No local binding for workspace") || err.message.includes("No local MemoraOne binding for this workspace"))) {
1400
1400
  continue;
1401
1401
  }
1402
1402
  throw err;
@@ -1615,7 +1615,7 @@ async function resolveBindingFromWorkspaceRoots(workspaceRoots, options = {}) {
1615
1615
  })
1616
1616
  );
1617
1617
  } catch (err) {
1618
- if (err instanceof Error && (err.message.includes("No local MemoraOne binding") || err.message.includes("memoraone-mcp connect") || err.name === "ReconnectRequiredError")) {
1618
+ if (err instanceof Error && (err.message.includes("No local MemoraOne binding for this workspace") || err.message.includes("No local binding for workspace"))) {
1619
1619
  continue;
1620
1620
  }
1621
1621
  throw err;
@@ -1318,7 +1318,7 @@ async function resolveAuthoritativeBinding(workspaceRoot, _options = {}) {
1318
1318
  const local = await resolveLocalBinding(root);
1319
1319
  bindings.push(toResolvedBinding(local));
1320
1320
  } catch (err) {
1321
- if (err instanceof ReconnectRequiredError) {
1321
+ if (err instanceof ReconnectRequiredError && (err.message.includes("No local binding for workspace") || err.message.includes("No local MemoraOne binding for this workspace"))) {
1322
1322
  continue;
1323
1323
  }
1324
1324
  throw err;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@memoraone/mcp",
3
- "version": "0.1.49",
3
+ "version": "0.1.50",
4
4
  "type": "module",
5
5
  "main": "dist/index.cjs",
6
6
  "exports": {