pi-agent-flow 1.0.2 → 1.0.3

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.
Files changed (2) hide show
  1. package/flow.ts +4 -4
  2. package/package.json +1 -1
package/flow.ts CHANGED
@@ -140,12 +140,12 @@ function buildFlowArgs(
140
140
  // Flow instructions go in the intent message instead.
141
141
 
142
142
  const flowDirectives =
143
- `=== flow directive ===\n` +
144
- `You are a flow state executing a mission. The conversation history above is background context — use it for reference, but your sole focus is the intent below.\n` +
145
- `=== end flow directive ===`;
143
+ `--- flow directive ---\n` +
144
+ `The conversation history above is background context — use it for reference, but your sole focus is the intent below, and try to execute EXACTLY as requested in the intent.\n` +
145
+ `--- end flow directive ---`;
146
146
 
147
147
  const flowInstructions = flow.systemPrompt.trim()
148
- ? `\n\n=== system directive ===\n${flow.systemPrompt.trim()}\n=== end system directive ===`
148
+ ? `\n\n--- system directive ---\n${flow.systemPrompt.trim()}\n--- end system directive ---`
149
149
  : "";
150
150
 
151
151
  args.push(`${flowDirectives}${flowInstructions}\n\nIntent: ${intent}`);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pi-agent-flow",
3
- "version": "1.0.2",
3
+ "version": "1.0.3",
4
4
  "description": "Flow-state delegation extension for Pi coding agent.",
5
5
  "type": "module",
6
6
  "main": "index.ts",