pi-agent-flow 1.0.6 → 1.0.8

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/agents/code.md CHANGED
@@ -12,6 +12,11 @@ Core Principles:
12
12
  - DRY: Don't repeat yourself
13
13
  - KISS: Keep it simple
14
14
 
15
+ Branch Strategy:
16
+ - Run `git branch --show-current` to detect the current branch.
17
+ - If on `main` or `master`, create a new branch named after the mission context (e.g., `feat/add-login`, `fix/resolve-crash`) before making any changes.
18
+ - If already on a feature/fix branch, continue working on it — no new branch needed.
19
+
15
20
  Workflow:
16
21
  1. Analyze — read existing code for context
17
22
  2. Plan — step-by-step approach before modifying
package/index.ts CHANGED
@@ -25,7 +25,7 @@ import {
25
25
  // Limits
26
26
  // ---------------------------------------------------------------------------
27
27
 
28
- const DEFAULT_MAX_DELEGATION_DEPTH = 0;
28
+ const DEFAULT_MAX_DELEGATION_DEPTH = 3;
29
29
  const DEFAULT_PREVENT_CYCLE_DELEGATION = true;
30
30
  const FLOW_DEPTH_ENV = "PI_FLOW_DEPTH";
31
31
  const FLOW_MAX_DEPTH_ENV = "PI_FLOW_MAX_DEPTH";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pi-agent-flow",
3
- "version": "1.0.6",
3
+ "version": "1.0.8",
4
4
  "description": "Flow-state delegation extension for Pi coding agent.",
5
5
  "type": "module",
6
6
  "main": "index.ts",