@memoraone/mcp 0.1.51 → 0.1.52

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.51",
234
+ version: "0.1.52",
235
235
  type: "module",
236
236
  main: "dist/index.cjs",
237
237
  exports: {
@@ -13432,6 +13432,9 @@ var init_bridgeClientRoots = __esm({
13432
13432
  });
13433
13433
 
13434
13434
  // src/pluginStartupBindingWait.ts
13435
+ function isPluginStartupSetupRequired(value) {
13436
+ return typeof value === "object" && value !== null && !Array.isArray(value) && value.status === "setup_required" && !(value instanceof Error);
13437
+ }
13435
13438
  function toPluginStartupSetupRequired(err, gate = {}) {
13436
13439
  if (!shouldWaitForPluginStartupBinding(gate)) {
13437
13440
  return null;
@@ -14111,6 +14114,9 @@ var init_bridgeProxy = __esm({
14111
14114
  ),
14112
14115
  log: this.log
14113
14116
  }) : await resolveBinding();
14117
+ if (isPluginStartupSetupRequired(binding)) {
14118
+ return;
14119
+ }
14114
14120
  const environmentLog = binding.environment !== void 0 ? ` environment=${binding.environment}` : "";
14115
14121
  this.log(
14116
14122
  `session binding binding=${binding.repositoryBindingId} project=${binding.projectId} workspace=${binding.workspaceRoot} source=${binding.bindingSource}${environmentLog}`
package/dist/index.cjs CHANGED
File without changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@memoraone/mcp",
3
- "version": "0.1.51",
3
+ "version": "0.1.52",
4
4
  "type": "module",
5
5
  "main": "dist/index.cjs",
6
6
  "exports": {
@@ -20,6 +20,15 @@
20
20
  "publishConfig": {
21
21
  "access": "public"
22
22
  },
23
+ "scripts": {
24
+ "build": "tsup && node scripts/writeBinWrapper.cjs",
25
+ "prepublishOnly": "pnpm run build",
26
+ "dev": "tsx src/cli.ts",
27
+ "lint": "eslint .",
28
+ "lint:contracts": "node scripts/lint-contracts.cjs",
29
+ "test": "pnpm run lint:contracts && MEMORAONE_SKIP_CONNECT_HOST_RUNTIME_CLEANUP=1 node --import=tsx --test test/*.test.js",
30
+ "validate:auth": "node --import=tsx --test test/memoraClient.test.js"
31
+ },
23
32
  "dependencies": {
24
33
  "@modelcontextprotocol/sdk": "^1.25.1",
25
34
  "@napi-rs/keyring": "1.3.0",
@@ -32,13 +41,5 @@
32
41
  "tsup": "^8.5.1",
33
42
  "tsx": "^4.21.0",
34
43
  "typescript": "^5.9.2"
35
- },
36
- "scripts": {
37
- "build": "tsup && node scripts/writeBinWrapper.cjs",
38
- "dev": "tsx src/cli.ts",
39
- "lint": "eslint .",
40
- "lint:contracts": "node scripts/lint-contracts.cjs",
41
- "test": "pnpm run lint:contracts && MEMORAONE_SKIP_CONNECT_HOST_RUNTIME_CLEANUP=1 node --import=tsx --test test/*.test.js",
42
- "validate:auth": "node --import=tsx --test test/memoraClient.test.js"
43
44
  }
44
- }
45
+ }