@askexenow/exe-os 0.9.171 → 0.9.172

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.
@@ -4,9 +4,6 @@ import {
4
4
  import {
5
5
  listTasks
6
6
  } from "./chunk-45ZH65ZP.js";
7
- import {
8
- getProjectName
9
- } from "./chunk-OPU3NYOO.js";
10
7
 
11
8
  // src/mcp/tools/list-tasks.ts
12
9
  import { z } from "zod";
@@ -26,23 +23,9 @@ function registerListTasks(server) {
26
23
  },
27
24
  async ({ assigned_to, status, project_name, priority, cross_session }) => {
28
25
  try {
29
- let resolvedProject;
30
26
  const { agentId, agentRole } = getActiveAgent();
31
27
  const isOwnQuery = assigned_to && assigned_to === agentId;
32
- if (project_name === "all") {
33
- const { canCoordinate } = await import("./lib/employees.js");
34
- if (canCoordinate(agentId, agentRole)) {
35
- resolvedProject = void 0;
36
- } else {
37
- resolvedProject = getProjectName() || void 0;
38
- }
39
- } else if (project_name) {
40
- resolvedProject = project_name;
41
- } else if (isOwnQuery) {
42
- resolvedProject = void 0;
43
- } else {
44
- resolvedProject = getProjectName() || void 0;
45
- }
28
+ const resolvedProject = project_name && project_name !== "all" ? project_name : void 0;
46
29
  const { canCoordinate: canCoord } = await import("./lib/employees.js");
47
30
  const effectiveCrossSession = canCoord(agentId, agentRole) ? cross_session ?? false : false;
48
31
  const tasks = await listTasks({
@@ -67,7 +67,7 @@ import {
67
67
  } from "./chunk-DAYGVU5G.js";
68
68
  import {
69
69
  registerListTasks
70
- } from "./chunk-6V5I5ULJ.js";
70
+ } from "./chunk-3EZ6OEHW.js";
71
71
  import {
72
72
  registerUpdateTask
73
73
  } from "./chunk-HYER4S3M.js";
@@ -3235,6 +3235,7 @@ process.on("uncaughtException", (err) => {
3235
3235
  function killOrphanDaemons() {
3236
3236
  try {
3237
3237
  const pids = execSyncNode("pgrep -f 'exe-daemon\\.js' 2>/dev/null || true", { encoding: "utf8", timeout: 3e3 }).trim().split("\n").filter(Boolean).map(Number).filter((n) => !isNaN(n) && n !== process.pid);
3238
+ if (pids.length === 0) return;
3238
3239
  for (const pid of pids) {
3239
3240
  try {
3240
3241
  process.kill(pid, 0);
@@ -3244,6 +3245,17 @@ function killOrphanDaemons() {
3244
3245
  } catch {
3245
3246
  }
3246
3247
  }
3248
+ setTimeout(() => {
3249
+ for (const pid of pids) {
3250
+ try {
3251
+ process.kill(pid, 0);
3252
+ process.stderr.write(`[exed] Orphan PID ${pid} survived SIGTERM \u2014 escalating to SIGKILL
3253
+ `);
3254
+ process.kill(pid, "SIGKILL");
3255
+ } catch {
3256
+ }
3257
+ }
3258
+ }, 2e3).unref();
3247
3259
  } catch {
3248
3260
  }
3249
3261
  }
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  registerAllTools
3
- } from "../chunk-P66NZBZ5.js";
3
+ } from "../chunk-4NKKU2ZV.js";
4
4
  import "../chunk-PLNYW6PA.js";
5
5
  import "../chunk-R4IK2YT3.js";
6
6
  import "../chunk-67TGEOEJ.js";
@@ -20,7 +20,7 @@ import "../chunk-3KVMAWJO.js";
20
20
  import "../chunk-674LHALH.js";
21
21
  import "../chunk-DAYGVU5G.js";
22
22
  import "../chunk-MLXJ5EZG.js";
23
- import "../chunk-6V5I5ULJ.js";
23
+ import "../chunk-3EZ6OEHW.js";
24
24
  import "../chunk-HYER4S3M.js";
25
25
  import "../chunk-BYVSOED6.js";
26
26
  import "../chunk-OHWG4WPC.js";
@@ -3,7 +3,7 @@ import {
3
3
  } from "../chunk-V4TZI6EO.js";
4
4
  import {
5
5
  registerAllTools
6
- } from "../chunk-P66NZBZ5.js";
6
+ } from "../chunk-4NKKU2ZV.js";
7
7
  import {
8
8
  initLicenseGate
9
9
  } from "../chunk-PLNYW6PA.js";
@@ -28,7 +28,7 @@ import "../chunk-3KVMAWJO.js";
28
28
  import "../chunk-674LHALH.js";
29
29
  import "../chunk-DAYGVU5G.js";
30
30
  import "../chunk-MLXJ5EZG.js";
31
- import "../chunk-6V5I5ULJ.js";
31
+ import "../chunk-3EZ6OEHW.js";
32
32
  import "../chunk-HYER4S3M.js";
33
33
  import "../chunk-BYVSOED6.js";
34
34
  import "../chunk-OHWG4WPC.js";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  registerListTasks
3
- } from "../../chunk-6V5I5ULJ.js";
3
+ } from "../../chunk-3EZ6OEHW.js";
4
4
  import "../../chunk-NNWW2DUN.js";
5
5
  import "../../chunk-7WPIM2L6.js";
6
6
  import "../../chunk-45ZH65ZP.js";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@askexenow/exe-os",
3
- "version": "0.9.171",
3
+ "version": "0.9.172",
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",