@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.
- package/dist/core/agent-session.d.ts.map +1 -1
- package/dist/core/agent-session.js +2 -0
- package/dist/core/agent-session.js.map +1 -1
- package/dist/core/system-prompt.d.ts +2 -0
- package/dist/core/system-prompt.d.ts.map +1 -1
- package/dist/core/system-prompt.js +5 -2
- package/dist/core/system-prompt.js.map +1 -1
- package/dist/modes/interactive/theme/dark.json +86 -0
- package/dist/modes/interactive/theme/light.json +85 -0
- package/docs/extensions.md +3 -2
- package/docs/sdk.md +1 -1
- package/package.json +65 -65
|
@@ -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();
|