@askexenow/exe-os 0.9.186 → 0.9.187

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.
Files changed (2) hide show
  1. package/dist/mcp/server.js +10 -1
  2. package/package.json +1 -1
@@ -224,7 +224,16 @@ try {
224
224
  _currentMcpVersion = existsSync(MCP_VERSION_PATH) ? readFileSync(MCP_VERSION_PATH, "utf8").trim() : null;
225
225
  } catch {
226
226
  }
227
- const skipHotReload = process.env.EXE_MCP_NO_HOT_RELOAD === "1" || (process.env.AGENT_ROLE || "").toLowerCase().includes("coo");
227
+ let isCooSession = (process.env.AGENT_ROLE || "").toLowerCase().includes("coo");
228
+ if (!isCooSession) {
229
+ try {
230
+ const { getAgentContext } = await import("../agent-context-AZTTMUHP.js");
231
+ const ctx = getAgentContext();
232
+ if (ctx?.agentRole?.toLowerCase().includes("coo")) isCooSession = true;
233
+ } catch {
234
+ }
235
+ }
236
+ const skipHotReload = process.env.EXE_MCP_NO_HOT_RELOAD === "1" || isCooSession;
228
237
  const _versionWatchdog = setInterval(() => {
229
238
  if (skipHotReload) return;
230
239
  try {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@askexenow/exe-os",
3
- "version": "0.9.186",
3
+ "version": "0.9.187",
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",