pi-cohort 4.1.0 → 5.0.0
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/CHANGELOG.md
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pi-cohort",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "5.0.0",
|
|
4
4
|
"description": "Delegate Pi work to focused child agents: code review, scouting, implementation, parallel audits, saved chains, and background jobs.",
|
|
5
5
|
"author": "Jacek Juraszek",
|
|
6
6
|
"license": "MIT",
|
|
@@ -400,8 +400,8 @@ subagent({
|
|
|
400
400
|
})
|
|
401
401
|
```
|
|
402
402
|
|
|
403
|
-
|
|
404
|
-
For programmatic background launches, use `async: true`.
|
|
403
|
+
Programmatic chains launch directly by default. Set `clarify: true` to preview or edit a sequential chain before launch; chains containing parallel steps skip the UI. Clarify edits affect only the next run; use management actions, settings, or markdown files for persistent changes.
|
|
404
|
+
For programmatic background launches, use `async: true`. Explicit `clarify: true` keeps the run foreground for the clarify UI.
|
|
405
405
|
|
|
406
406
|
|
|
407
407
|
## Worktree Isolation
|
package/src/extension/schemas.ts
CHANGED
|
@@ -289,7 +289,7 @@ export const SubagentParams = Type.Object({
|
|
|
289
289
|
Type.String({ description: "Directory to store session logs (default: temp; enables sessions even if share=false)" }),
|
|
290
290
|
),
|
|
291
291
|
// Clarification TUI
|
|
292
|
-
clarify: Type.Optional(Type.Boolean({ description: "Show TUI to preview/edit before execution. Explicit clarify: true keeps the run foreground for the clarify UI;
|
|
292
|
+
clarify: Type.Optional(Type.Boolean({ description: "Show TUI to preview/edit before execution. Omitted or false launches directly. Explicit clarify: true keeps the run foreground for the clarify UI when supported; chains containing parallel steps skip the UI." })),
|
|
293
293
|
control: Type.Optional(ControlOverrides),
|
|
294
294
|
// Solo agent overrides
|
|
295
295
|
output: Type.Optional(Type.Unsafe({
|
|
@@ -493,7 +493,7 @@ export async function executeChain(params: ChainExecutionParams): Promise<ChainE
|
|
|
493
493
|
const chainDir = createChainDir(runId, chainDirBase);
|
|
494
494
|
const hasParallelSteps = chainSteps.some((step) => isParallelStep(step) || isDynamicParallelStep(step));
|
|
495
495
|
let templates: ResolvedTemplates = resolveChainTemplates(chainSteps);
|
|
496
|
-
const shouldClarify = clarify
|
|
496
|
+
const shouldClarify = clarify === true && ctx.hasUI && !hasParallelSteps;
|
|
497
497
|
let tuiBehaviorOverrides: (BehaviorOverride | undefined)[] | undefined;
|
|
498
498
|
const availableModels: ModelInfo[] = ctx.modelRegistry.getAvailable().map(toModelInfo);
|
|
499
499
|
const availableSkills = discoverAvailableSkills(cwd ?? ctx.cwd);
|