pi-baton 0.3.0 → 0.5.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 +26 -0
- package/lib/run-engine.ts +1 -1
- package/lib/status.ts +1 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,32 @@ All notable changes to this project will be documented in this file.
|
|
|
4
4
|
|
|
5
5
|
This project follows semantic versioning.
|
|
6
6
|
|
|
7
|
+
## [0.5.0] - 2026-06-23
|
|
8
|
+
|
|
9
|
+
### Added
|
|
10
|
+
|
|
11
|
+
- `/baton:run` continuous run engine executes the active idle run through isolated subagent steps to a terminal state.
|
|
12
|
+
- Step records persist under `.pi/baton/runs/<run>/steps/` and raw outputs under `outputs/`.
|
|
13
|
+
- Terminal run summaries report the failing step as `last step` when step execution fails.
|
|
14
|
+
|
|
15
|
+
### Changed
|
|
16
|
+
|
|
17
|
+
- Expanded `run-engine` tests for step/output persistence, state transitions, and failure `last step` reporting.
|
|
18
|
+
|
|
19
|
+
## [0.4.0] - 2026-06-22
|
|
20
|
+
|
|
21
|
+
### Added
|
|
22
|
+
|
|
23
|
+
- `/baton:start` creates an idle run from workflow selection and a task brief without starting execution.
|
|
24
|
+
- `/baton:status` reports workflow name, task brief, last/current step, run state, iteration count, and run directory.
|
|
25
|
+
- Single active run guard blocks a second `/baton:start` and points users to `/baton:status` or `/baton:run`.
|
|
26
|
+
- Run manifests persist under `.pi/baton/runs/` with an active-run pointer.
|
|
27
|
+
- Expanded workflow schema validation tests covering required fields, linear `next` transitions, review `on_accept` / `on_reject` branches, and invalid YAML handling at discovery time.
|
|
28
|
+
|
|
29
|
+
### Changed
|
|
30
|
+
|
|
31
|
+
- Workflow selection display names continue to come from YAML `name`; invalid or incomplete workflow documents now fail with explicit validation errors during `/baton:start` and `/baton:run` discovery.
|
|
32
|
+
|
|
7
33
|
## [0.3.0] - 2026-06-18
|
|
8
34
|
|
|
9
35
|
### Added
|
package/lib/run-engine.ts
CHANGED
|
@@ -242,7 +242,7 @@ export async function runContinuous(options: RunEngineOptions): Promise<RunResul
|
|
|
242
242
|
manifest = await updateRunState(options.cwd, manifest.id, {
|
|
243
243
|
state: "failed",
|
|
244
244
|
failureReason,
|
|
245
|
-
lastStep: manifest.lastStep,
|
|
245
|
+
lastStep: currentStep ?? manifest.lastStep,
|
|
246
246
|
currentStep,
|
|
247
247
|
});
|
|
248
248
|
}
|
package/lib/status.ts
CHANGED
|
@@ -4,6 +4,7 @@ export function formatStatusSummary(manifest: RunManifest): string {
|
|
|
4
4
|
return [
|
|
5
5
|
`workflow: ${manifest.workflowName}`,
|
|
6
6
|
`task brief: ${manifest.taskBrief}`,
|
|
7
|
+
`last step: ${manifest.lastStep ?? "(none)"}`,
|
|
7
8
|
`current step: ${manifest.currentStep ?? "(none)"}`,
|
|
8
9
|
`run state: ${manifest.state}`,
|
|
9
10
|
`iteration count: ${manifest.iteration}`,
|