@askexenow/exe-os 0.9.46 → 0.9.47

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.
@@ -4486,7 +4486,11 @@ var DEFAULT_ROLE_MCP_MAP = {
4486
4486
  "content production specialist": ["exe-create"],
4487
4487
  "ai product lead": ["brave-search"]
4488
4488
  };
4489
- var ALWAYS_INCLUDE_SERVERS = ["exe-mem"];
4489
+ var ALWAYS_INCLUDE_SERVERS = ["exe-os", "exe-mem"];
4490
+ function leanMcpEnabled() {
4491
+ const value = process.env.EXE_OS_ENABLE_LEAN_MCP?.trim().toLowerCase();
4492
+ return value === "1" || value === "true" || value === "yes";
4493
+ }
4490
4494
  function collectAllMcpServers() {
4491
4495
  const servers = {};
4492
4496
  const sources = [
@@ -4551,6 +4555,7 @@ function generateLeanMcpConfig(agent, role) {
4551
4555
  }
4552
4556
  }
4553
4557
  function leanMcpConfigFor(agent) {
4558
+ if (!leanMcpEnabled()) return null;
4554
4559
  const p = path10.join(os7.homedir(), ".exe-os", "mcp-configs", `${agent}-lean.json`);
4555
4560
  return existsSync9(p) ? p : null;
4556
4561
  }
@@ -4793,7 +4798,9 @@ async function main() {
4793
4798
  return "employee";
4794
4799
  }
4795
4800
  })();
4796
- generateLeanMcpConfig(memoryAgent, empRole);
4801
+ if (leanMcpEnabled()) {
4802
+ generateLeanMcpConfig(memoryAgent, empRole);
4803
+ }
4797
4804
  const plan = buildLaunchPlan(agent, behaviorsPath, passthrough, hasAgentFlag, provider);
4798
4805
  process.env.AGENT_ID = memoryAgent;
4799
4806
  if (!process.env.EXE_SESSION_KEY) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@askexenow/exe-os",
3
- "version": "0.9.46",
3
+ "version": "0.9.47",
4
4
  "description": "AI employee operating system — persistent memory, task management, and multi-agent coordination for Claude Code.",
5
5
  "license": "SEE LICENSE IN LICENSE",
6
6
  "type": "module",