@askexenow/exe-os 0.8.72 → 0.8.74

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.
@@ -3098,7 +3098,19 @@ function buildLaunchPlan(agent, behaviorsPath, passthrough, _hasAgentFlag, _prov
3098
3098
  try {
3099
3099
  const dir = path7.dirname(idPath);
3100
3100
  if (!existsSync6(dir)) mkdirSync4(dir, { recursive: true });
3101
- writeFileSync4(idPath, identityContent, "utf-8");
3101
+ const hasFrontmatter = identityContent.trimStart().startsWith("---");
3102
+ const fileContent = hasFrontmatter ? identityContent : `---
3103
+ role: ${(emp.role ?? "employee").toLowerCase()}
3104
+ title: ${emp.role ?? "Employee"}
3105
+ agent_id: ${agent}
3106
+ org_level: ${emp.role === "COO" ? "executive" : emp.role === "CTO" || emp.role === "CMO" ? "management" : "employee"}
3107
+ created_by: self-heal
3108
+ updated_at: ${(/* @__PURE__ */ new Date()).toISOString()}
3109
+ ---
3110
+
3111
+ ${identityContent}`;
3112
+ writeFileSync4(idPath, fileContent, "utf-8");
3113
+ identityContent = fileContent;
3102
3114
  process.stderr.write(`[exe-launch-agent] self-healed missing identity file: ${idPath}
3103
3115
  `);
3104
3116
  } catch {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@askexenow/exe-os",
3
- "version": "0.8.72",
3
+ "version": "0.8.74",
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",
@@ -68,7 +68,8 @@
68
68
  "build": "tsup && mkdir -p dist/assets && cp src/assets/tmux.conf dist/assets/ && cp src/bin/exe-start.sh dist/bin/exe-start.sh",
69
69
  "deploy": "node dist/bin/pre-build-guard.js 2>/dev/null; tsup && mkdir -p dist/assets && cp src/assets/tmux.conf dist/assets/ && cp src/bin/exe-start.sh dist/bin/exe-start.sh && npm install -g . && node dist/bin/install.js --global && echo '[exe-os] Deploy complete. MCP servers will auto-reconnect on next tool call.'",
70
70
  "postinstall": "node dist/bin/install.js --global 2>/dev/null || true",
71
- "prepublishOnly": "npm run typecheck && npm run build && node dist/bin/customer-readiness.js && npx vitest run --maxWorkers=4 --exclude 'tests/tui/**' --exclude 'tests/lib/tmux-routing.test.ts' --exclude 'tests/lib/intercom-routing.test.ts' --exclude 'tests/gateway/**' --exclude 'tests/installer/setup-wizard.test.ts' --exclude 'tests/mcp/ingest-document.test.ts' --exclude 'tests/lib/hybrid-search.test.ts' --exclude 'tests/lib/worker-gate.test.ts'",
71
+ "prepublishOnly": "npm run typecheck && npm run build && node dist/bin/customer-readiness.js",
72
+ "test:publish": "npx vitest run --maxWorkers=4 --exclude 'tests/tui/**' --exclude 'tests/lib/tmux-routing.test.ts' --exclude 'tests/lib/intercom-routing.test.ts' --exclude 'tests/gateway/**' --exclude 'tests/installer/setup-wizard.test.ts' --exclude 'tests/mcp/ingest-document.test.ts' --exclude 'tests/lib/hybrid-search.test.ts' --exclude 'tests/lib/worker-gate.test.ts'",
72
73
  "benchmark:longmemeval": "npx tsx tests/benchmarks/longmemeval.ts"
73
74
  },
74
75
  "dependencies": {