@memoraone/mcp 0.1.67 → 0.1.68

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
@@ -243,7 +243,7 @@ var require_package = __commonJS({
243
243
  "package.json"(exports2, module2) {
244
244
  module2.exports = {
245
245
  name: "@memoraone/mcp",
246
- version: "0.1.67",
246
+ version: "0.1.68",
247
247
  type: "module",
248
248
  main: "dist/index.cjs",
249
249
  exports: {
@@ -8143,7 +8143,6 @@ function buildMemoraoneAntigravityMcpServer(options) {
8143
8143
  environment,
8144
8144
  apiUrl: options.apiUrl ?? (environment === "local" ? DEV_API_URL : void 0)
8145
8145
  }),
8146
- MEMORAONE_IDE_TYPE: "antigravity",
8147
8146
  [MEMORAONE_WORKSPACE_ROOT_ENV]: path35.resolve(options.workspaceRoot)
8148
8147
  };
8149
8148
  if (environment === "local" || options.devMode) {
@@ -16160,7 +16159,12 @@ function inferIdeType(params, options = {}) {
16160
16159
  const env2 = options.env ?? process.env;
16161
16160
  const argv = (options.argv ?? process.argv).join(" ").toLowerCase();
16162
16161
  const hasExplicitConfigOption = Object.prototype.hasOwnProperty.call(options, "configIdeType");
16163
- const explicitHint = hasExplicitConfigOption ? options.configIdeType : resolveIdeTypeFromEnv(env2) ?? config2.ideType;
16162
+ const explicitIdentity = resolveIdeTypeFromEnv(env2) ?? parseIdeType(
16163
+ hasExplicitConfigOption ? options.configIdeType : config2.ideType
16164
+ );
16165
+ if (explicitIdentity) {
16166
+ return explicitIdentity;
16167
+ }
16164
16168
  const fromClientInfo = mapReliableClientInfoName(params?.clientInfo?.name);
16165
16169
  if (fromClientInfo) {
16166
16170
  return fromClientInfo;
@@ -16169,9 +16173,6 @@ function inferIdeType(params, options = {}) {
16169
16173
  if (fromHost) {
16170
16174
  return fromHost;
16171
16175
  }
16172
- if (explicitHint) {
16173
- return explicitHint;
16174
- }
16175
16176
  const clientInfoName = String(params?.clientInfo?.name ?? "").toLowerCase();
16176
16177
  const clientInfoVersion = String(params?.clientInfo?.version ?? "").toLowerCase();
16177
16178
  const termProgram = String(env2.TERM_PROGRAM ?? "").toLowerCase();
package/dist/daemon.cjs CHANGED
@@ -8309,7 +8309,6 @@ function buildMemoraoneAntigravityMcpServer(options) {
8309
8309
  environment,
8310
8310
  apiUrl: options.apiUrl ?? (environment === "local" ? DEV_API_URL : void 0)
8311
8311
  }),
8312
- MEMORAONE_IDE_TYPE: "antigravity",
8313
8312
  [MEMORAONE_WORKSPACE_ROOT_ENV]: path36.resolve(options.workspaceRoot)
8314
8313
  };
8315
8314
  if (environment === "local" || options.devMode) {
@@ -12680,7 +12679,12 @@ function inferIdeType(params, options = {}) {
12680
12679
  const env2 = options.env ?? process.env;
12681
12680
  const argv = (options.argv ?? process.argv).join(" ").toLowerCase();
12682
12681
  const hasExplicitConfigOption = Object.prototype.hasOwnProperty.call(options, "configIdeType");
12683
- const explicitHint = hasExplicitConfigOption ? options.configIdeType : resolveIdeTypeFromEnv(env2) ?? config2.ideType;
12682
+ const explicitIdentity = resolveIdeTypeFromEnv(env2) ?? parseIdeType(
12683
+ hasExplicitConfigOption ? options.configIdeType : config2.ideType
12684
+ );
12685
+ if (explicitIdentity) {
12686
+ return explicitIdentity;
12687
+ }
12684
12688
  const fromClientInfo = mapReliableClientInfoName(params?.clientInfo?.name);
12685
12689
  if (fromClientInfo) {
12686
12690
  return fromClientInfo;
@@ -12689,9 +12693,6 @@ function inferIdeType(params, options = {}) {
12689
12693
  if (fromHost) {
12690
12694
  return fromHost;
12691
12695
  }
12692
- if (explicitHint) {
12693
- return explicitHint;
12694
- }
12695
12696
  const clientInfoName = String(params?.clientInfo?.name ?? "").toLowerCase();
12696
12697
  const clientInfoVersion = String(params?.clientInfo?.version ?? "").toLowerCase();
12697
12698
  const termProgram = String(env2.TERM_PROGRAM ?? "").toLowerCase();
package/dist/gateway.cjs CHANGED
@@ -7574,7 +7574,6 @@ function buildMemoraoneAntigravityMcpServer(options) {
7574
7574
  environment,
7575
7575
  apiUrl: options.apiUrl ?? (environment === "local" ? DEV_API_URL : void 0)
7576
7576
  }),
7577
- MEMORAONE_IDE_TYPE: "antigravity",
7578
7577
  [MEMORAONE_WORKSPACE_ROOT_ENV]: path38.resolve(options.workspaceRoot)
7579
7578
  };
7580
7579
  if (environment === "local" || options.devMode) {
@@ -13778,7 +13777,12 @@ function inferIdeType(params, options = {}) {
13778
13777
  const env2 = options.env ?? process.env;
13779
13778
  const argv = (options.argv ?? process.argv).join(" ").toLowerCase();
13780
13779
  const hasExplicitConfigOption = Object.prototype.hasOwnProperty.call(options, "configIdeType");
13781
- const explicitHint = hasExplicitConfigOption ? options.configIdeType : resolveIdeTypeFromEnv(env2) ?? config2.ideType;
13780
+ const explicitIdentity = resolveIdeTypeFromEnv(env2) ?? parseIdeType(
13781
+ hasExplicitConfigOption ? options.configIdeType : config2.ideType
13782
+ );
13783
+ if (explicitIdentity) {
13784
+ return explicitIdentity;
13785
+ }
13782
13786
  const fromClientInfo = mapReliableClientInfoName(params?.clientInfo?.name);
13783
13787
  if (fromClientInfo) {
13784
13788
  return fromClientInfo;
@@ -13787,9 +13791,6 @@ function inferIdeType(params, options = {}) {
13787
13791
  if (fromHost) {
13788
13792
  return fromHost;
13789
13793
  }
13790
- if (explicitHint) {
13791
- return explicitHint;
13792
- }
13793
13794
  const clientInfoName = String(params?.clientInfo?.name ?? "").toLowerCase();
13794
13795
  const clientInfoVersion = String(params?.clientInfo?.version ?? "").toLowerCase();
13795
13796
  const termProgram = String(env2.TERM_PROGRAM ?? "").toLowerCase();
package/dist/index.cjs CHANGED
@@ -8292,7 +8292,6 @@ function buildMemoraoneAntigravityMcpServer(options) {
8292
8292
  environment,
8293
8293
  apiUrl: options.apiUrl ?? (environment === "local" ? DEV_API_URL : void 0)
8294
8294
  }),
8295
- MEMORAONE_IDE_TYPE: "antigravity",
8296
8295
  [MEMORAONE_WORKSPACE_ROOT_ENV]: path36.resolve(options.workspaceRoot)
8297
8296
  };
8298
8297
  if (environment === "local" || options.devMode) {
@@ -12663,7 +12662,12 @@ function inferIdeType(params, options = {}) {
12663
12662
  const env2 = options.env ?? process.env;
12664
12663
  const argv = (options.argv ?? process.argv).join(" ").toLowerCase();
12665
12664
  const hasExplicitConfigOption = Object.prototype.hasOwnProperty.call(options, "configIdeType");
12666
- const explicitHint = hasExplicitConfigOption ? options.configIdeType : resolveIdeTypeFromEnv(env2) ?? config2.ideType;
12665
+ const explicitIdentity = resolveIdeTypeFromEnv(env2) ?? parseIdeType(
12666
+ hasExplicitConfigOption ? options.configIdeType : config2.ideType
12667
+ );
12668
+ if (explicitIdentity) {
12669
+ return explicitIdentity;
12670
+ }
12667
12671
  const fromClientInfo = mapReliableClientInfoName(params?.clientInfo?.name);
12668
12672
  if (fromClientInfo) {
12669
12673
  return fromClientInfo;
@@ -12672,9 +12676,6 @@ function inferIdeType(params, options = {}) {
12672
12676
  if (fromHost) {
12673
12677
  return fromHost;
12674
12678
  }
12675
- if (explicitHint) {
12676
- return explicitHint;
12677
- }
12678
12679
  const clientInfoName = String(params?.clientInfo?.name ?? "").toLowerCase();
12679
12680
  const clientInfoVersion = String(params?.clientInfo?.version ?? "").toLowerCase();
12680
12681
  const termProgram = String(env2.TERM_PROGRAM ?? "").toLowerCase();
@@ -6477,7 +6477,6 @@ function buildMemoraoneAntigravityMcpServer(options) {
6477
6477
  environment,
6478
6478
  apiUrl: options.apiUrl ?? (environment === "local" ? DEV_API_URL : void 0)
6479
6479
  }),
6480
- MEMORAONE_IDE_TYPE: "antigravity",
6481
6480
  [MEMORAONE_WORKSPACE_ROOT_ENV]: path35.resolve(options.workspaceRoot)
6482
6481
  };
6483
6482
  if (environment === "local" || options.devMode) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@memoraone/mcp",
3
- "version": "0.1.67",
3
+ "version": "0.1.68",
4
4
  "type": "module",
5
5
  "main": "dist/index.cjs",
6
6
  "exports": {