@askexenow/exe-os 0.8.69 → 0.8.70

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.
@@ -3091,19 +3091,23 @@ function buildLaunchPlan(agent, behaviorsPath, passthrough, _hasAgentFlag, _prov
3091
3091
  `
3092
3092
  );
3093
3093
  }
3094
- if (effectiveIdPath) {
3094
+ if (effectiveIdPath && existsSync6(effectiveIdPath)) {
3095
3095
  if (ccSupportsFlag("--system-prompt")) {
3096
3096
  try {
3097
3097
  const identity = readFileSync4(effectiveIdPath, "utf-8");
3098
- args.push("--system-prompt", getSessionPrompt(identity));
3098
+ if (identity.trim().length > 0) {
3099
+ args.push("--system-prompt", getSessionPrompt(identity));
3100
+ }
3099
3101
  } catch {
3100
- args.push("--append-system-prompt-file", effectiveIdPath);
3102
+ if (existsSync6(effectiveIdPath)) {
3103
+ args.push("--append-system-prompt-file", effectiveIdPath);
3104
+ }
3101
3105
  }
3102
3106
  } else {
3103
3107
  args.push("--append-system-prompt-file", effectiveIdPath);
3104
3108
  }
3105
3109
  }
3106
- if (behaviorsPath) {
3110
+ if (behaviorsPath && existsSync6(behaviorsPath)) {
3107
3111
  args.push("--append-system-prompt-file", behaviorsPath);
3108
3112
  }
3109
3113
  const leanMcp = leanMcpConfigFor(agent);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@askexenow/exe-os",
3
- "version": "0.8.69",
3
+ "version": "0.8.70",
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",