@askexenow/exe-os 0.8.18 → 0.8.20

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.
@@ -1707,25 +1707,17 @@ function leanMcpConfigFor(agent) {
1707
1707
  const p = path6.join(os3.homedir(), ".exe-os", "mcp-configs", `${agent}-lean.json`);
1708
1708
  return existsSync6(p) ? p : null;
1709
1709
  }
1710
- function buildLaunchPlan(agent, behaviorsPath, passthrough, hasAgentFlag, provider = DEFAULT_PROVIDER) {
1710
+ function buildLaunchPlan(agent, behaviorsPath, passthrough, _hasAgentFlag, _provider) {
1711
1711
  const args = ["--dangerously-skip-permissions"];
1712
- const isNonDefaultProvider = provider !== DEFAULT_PROVIDER;
1713
- if (isNonDefaultProvider) {
1714
- const idPath = identityPathFor(agent);
1715
- if (existsSync6(idPath)) {
1716
- try {
1717
- const identity = readFileSync2(idPath, "utf-8");
1718
- args.push("--system-prompt", identity);
1719
- } catch {
1720
- args.push("--append-system-prompt-file", idPath);
1721
- }
1722
- }
1723
- } else if (hasAgentFlag) {
1724
- args.push("--agent", agent);
1725
- } else {
1726
- const idPath = identityPathFor(agent);
1727
- if (existsSync6(idPath)) {
1728
- args.push("--append-system-prompt-file", idPath);
1712
+ const idPath = identityPathFor(agent);
1713
+ const ccAgentPath = path6.join(os3.homedir(), ".claude", "agents", `${agent}.md`);
1714
+ const effectiveIdPath = existsSync6(idPath) ? idPath : existsSync6(ccAgentPath) ? ccAgentPath : null;
1715
+ if (effectiveIdPath) {
1716
+ try {
1717
+ const identity = readFileSync2(effectiveIdPath, "utf-8");
1718
+ args.push("--system-prompt", identity);
1719
+ } catch {
1720
+ args.push("--append-system-prompt-file", effectiveIdPath);
1729
1721
  }
1730
1722
  }
1731
1723
  if (behaviorsPath) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@askexenow/exe-os",
3
- "version": "0.8.18",
3
+ "version": "0.8.20",
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",
@@ -90,6 +90,7 @@
90
90
  "nodemailer": "^8.0.5",
91
91
  "openai": "^6.33.0",
92
92
  "react": "^19.2.4",
93
+ "typescript": "^5.0.0",
93
94
  "ws": "^8.20.0",
94
95
  "zod": "^4.3.6"
95
96
  },