@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.mjs CHANGED
@@ -14437,7 +14437,7 @@ async function buildAgentRuntime(def, ctx, runPrompt = {}, agentSlug) {
14437
14437
  invokeTool: createInvokeToolBridge(hostTools)
14438
14438
  });
14439
14439
  const tools = [...handle.tools, ...hostTools];
14440
- let systemPrompt = def.systemPrompt;
14440
+ let systemPrompt = `Current date and time (UTC): ${(/* @__PURE__ */ new Date()).toISOString()}\n\n${def.systemPrompt}`;
14441
14441
  systemPrompt = `${sandboxSystemPromptInjection({
14442
14442
  hasUserFiles: (def.sandbox?.files?.length ?? 0) > 0,
14443
14443
  hasSkills: Boolean(def.skills?.length)