@sandagent/daemon 0.9.3 → 0.9.4

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/bundle.mjs CHANGED
@@ -262139,7 +262139,12 @@ function createPiRunner(options2 = {}) {
262139
262139
  resourceLoader
262140
262140
  });
262141
262141
  if (options2.systemPrompt != null && options2.systemPrompt !== "") {
262142
- session.agent.setSystemPrompt(options2.systemPrompt);
262142
+ const existing = session.agent.state.systemPrompt ?? "";
262143
+ session.agent.setSystemPrompt(existing ? `${existing}
262144
+
262145
+ ---
262146
+
262147
+ ${options2.systemPrompt}` : options2.systemPrompt);
262143
262148
  }
262144
262149
  const eventQueue = [];
262145
262150
  let isComplete = false;
package/dist/index.js CHANGED
@@ -262138,7 +262138,12 @@ function createPiRunner(options2 = {}) {
262138
262138
  resourceLoader
262139
262139
  });
262140
262140
  if (options2.systemPrompt != null && options2.systemPrompt !== "") {
262141
- session.agent.setSystemPrompt(options2.systemPrompt);
262141
+ const existing = session.agent.state.systemPrompt ?? "";
262142
+ session.agent.setSystemPrompt(existing ? `${existing}
262143
+
262144
+ ---
262145
+
262146
+ ${options2.systemPrompt}` : options2.systemPrompt);
262142
262147
  }
262143
262148
  const eventQueue = [];
262144
262149
  let isComplete = false;
package/dist/nextjs.js CHANGED
@@ -262134,7 +262134,12 @@ function createPiRunner(options2 = {}) {
262134
262134
  resourceLoader
262135
262135
  });
262136
262136
  if (options2.systemPrompt != null && options2.systemPrompt !== "") {
262137
- session.agent.setSystemPrompt(options2.systemPrompt);
262137
+ const existing = session.agent.state.systemPrompt ?? "";
262138
+ session.agent.setSystemPrompt(existing ? `${existing}
262139
+
262140
+ ---
262141
+
262142
+ ${options2.systemPrompt}` : options2.systemPrompt);
262138
262143
  }
262139
262144
  const eventQueue = [];
262140
262145
  let isComplete = false;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sandagent/daemon",
3
- "version": "0.9.3",
3
+ "version": "0.9.4",
4
4
  "description": "SandAgent Daemon - Unified API gateway for sandbox services (file, git, volumes)",
5
5
  "type": "module",
6
6
  "bin": {