@askexenow/exe-os 0.9.11 → 0.9.12

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.
@@ -7167,6 +7167,23 @@ async function pollIdleKill(deps, idleTickCounts, opts) {
7167
7167
  continue;
7168
7168
  }
7169
7169
  const signals = await deps.collectSignals(entry.agentId, entry.windowName);
7170
+ if (signals.hasOpenTasks) {
7171
+ const instanceName = entry.windowName.split("-")[0] ?? entry.agentId;
7172
+ if (instanceName !== entry.agentId) {
7173
+ try {
7174
+ const markerPath = __require("path").join(
7175
+ __require("os").homedir(),
7176
+ ".exe-os",
7177
+ "session-cache",
7178
+ `current-task-${instanceName}.json`
7179
+ );
7180
+ if (!__require("fs").existsSync(markerPath)) {
7181
+ signals.hasOpenTasks = false;
7182
+ }
7183
+ } catch {
7184
+ }
7185
+ }
7186
+ }
7170
7187
  if (signals.hasOpenTasks || signals.hasNeedsReview || signals.hasUnreadInbox || signals.hadRecentIntercomAck) {
7171
7188
  idleTickCounts.delete(entry.windowName);
7172
7189
  continue;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@askexenow/exe-os",
3
- "version": "0.9.11",
3
+ "version": "0.9.12",
4
4
  "description": "AI employee operating system — persistent memory, task management, and multi-agent coordination for Claude Code.",
5
5
  "license": "CC-BY-NC-4.0",
6
6
  "type": "module",