@keystrokehq/keystroke 1.0.21 → 1.0.22

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/agent.cjs CHANGED
@@ -14448,7 +14448,7 @@ async function buildAgentRuntime(def, ctx, runPrompt = {}, agentSlug) {
14448
14448
  invokeTool: require_dist$3.createInvokeToolBridge(hostTools)
14449
14449
  });
14450
14450
  const tools = [...handle.tools, ...hostTools];
14451
- let systemPrompt = def.systemPrompt;
14451
+ let systemPrompt = `Current date and time (UTC): ${(/* @__PURE__ */ new Date()).toISOString()}\n\n${def.systemPrompt}`;
14452
14452
  systemPrompt = `${require_dist$3.sandboxSystemPromptInjection({
14453
14453
  hasUserFiles: (def.sandbox?.files?.length ?? 0) > 0,
14454
14454
  hasSkills: Boolean(def.skills?.length)