@leanandmean/coding-agent 0.74.1-scramjet.18 → 0.74.1-scramjet.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.
@@ -705,6 +705,7 @@ export class AgentSession {
705
705
  const appendSystemPrompt = loaderAppendSystemPrompt.length > 0 ? loaderAppendSystemPrompt.join("\n\n") : undefined;
706
706
  const loadedSkills = this._resourceLoader.getSkills().skills;
707
707
  const loadedContextFiles = this._resourceLoader.getAgentsFiles().agentsFiles;
708
+ // SCRAMJET-DIVERGENCE: pass session file path for volatile environment fact (issue 348)
708
709
  this._baseSystemPromptOptions = {
709
710
  cwd: this._cwd,
710
711
  skills: loadedSkills,
@@ -714,6 +715,7 @@ export class AgentSession {
714
715
  selectedTools: validToolNames,
715
716
  toolSnippets,
716
717
  promptGuidelines,
718
+ sessionFile: this.sessionManager.getSessionFile(),
717
719
  };
718
720
  this._baseSystemPromptSections = buildSystemPromptSections(this._baseSystemPromptOptions);
719
721
  this.agent.state.systemPrompt = this._baseSystemPromptSections.slice();