@davidorex/pi-workflows 0.32.0 → 0.33.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
@@ -4,6 +4,12 @@ All notable changes to `@davidorex/pi-workflows` are recorded here. Format follo
4
4
 
5
5
  ## [Unreleased]
6
6
 
7
+ ## [0.33.0] - 2026-07-08
8
+
9
+ - The bundled `phase-author` agent spec's `output.schema` reference is now `schemas/phase.schema.json` (a path relative to the spec, resolved via the package-root sibling `schemas/` convention that the other bundled schema-bearing specs use) rather than `../../.workflow/schemas/phase.schema.json`. The prior value pointed outside the package to a path that does not resolve in a published checkout, so the spec's phantom validation tool could not read its schema when dispatched through `call-agent`; the sibling-relative reference lets the schema resolve to the bundled `schemas/phase.schema.json` on disk. With this, all schema-bearing bundled specs' relative output-schema refs resolve via the sibling convention and dispatch through `call-agent`.
10
+ - New `./bundled-dirs` subpath export: `bundledDir(subdir)` resolves this package's bundled `agents/` / `workflows/` / `schemas/` directories for consumers outside the package (module-scoped helper, deliberately kept off the package barrel; pi-agent-dispatch consumes it to supply the bundled `agents/` directory as its dispatch loaders' builtin search tier).
11
+ - The bundled `phase-author` agent spec's task-template reference is now `phase-author/task.md` (a path relative to the template search roots) rather than `templates/phase-author/task.md`. The prior `templates/`-prefixed value did not resolve against the bundled pi-jit-agents template tier (whose search root already IS the `templates/` directory), so the spec's task prompt rendered empty when the agent was dispatched from a substrate with no local template copy; the relative reference lets it resolve against the bundled template tier.
12
+
7
13
  ## [0.32.0] - 2026-07-05
8
14
 
9
15
  ## [0.31.0] - 2026-06-13
@@ -10,8 +10,8 @@ tools:
10
10
 
11
11
  output:
12
12
  format: json
13
- schema: ../../.workflow/schemas/phase.schema.json
13
+ schema: schemas/phase.schema.json
14
14
 
15
15
  prompt:
16
16
  task:
17
- template: templates/phase-author/task.md
17
+ template: phase-author/task.md
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@davidorex/pi-workflows",
3
- "version": "0.32.0",
3
+ "version": "0.33.0",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -43,6 +43,10 @@
43
43
  "./auth-required": {
44
44
  "types": "./dist/auth-required.d.ts",
45
45
  "default": "./dist/auth-required.js"
46
+ },
47
+ "./bundled-dirs": {
48
+ "types": "./dist/bundled-dirs.d.ts",
49
+ "default": "./dist/bundled-dirs.js"
46
50
  }
47
51
  },
48
52
  "pi": {
@@ -65,13 +69,13 @@
65
69
  "clean": "rm -rf dist",
66
70
  "build": "rm -rf dist && tsc -p tsconfig.build.json",
67
71
  "prepublishOnly": "npm run clean && npm run build",
68
- "test": "tsx --test src/*.test.ts"
72
+ "test": "tsx --test --test-timeout=120000 src/*.test.ts"
69
73
  },
70
74
  "dependencies": {
71
75
  "nunjucks": "^3.2.4",
72
76
  "yaml": "^2.7.1",
73
- "@davidorex/pi-jit-agents": "^0.32.0",
74
- "@davidorex/pi-context": "^0.32.0",
77
+ "@davidorex/pi-jit-agents": "^0.33.0",
78
+ "@davidorex/pi-context": "^0.33.0",
75
79
  "@earendil-works/pi-ai": "^0.75.4",
76
80
  "@earendil-works/pi-coding-agent": "^0.75.4",
77
81
  "@earendil-works/pi-tui": "^0.75.4"
@@ -217,7 +217,7 @@ See references/bundled-resources.md for full inventory.
217
217
  - `handoff-writer`: task: `handoff-writer/task.md`
218
218
  - `investigator`: task: `investigator/task.md`
219
219
  - `pattern-analyzer`: system: `analyzers/patterns.md`, task: `analyzers/patterns-task.md`
220
- - `phase-author`: task: `templates/phase-author/task.md`
220
+ - `phase-author`: task: `phase-author/task.md`
221
221
  - `plan-creator`: task: `plan-creator/task.md`
222
222
  - `plan-decomposer`: task: `plan-decomposer/task.md`
223
223
  - `project-definer`: task: `project-definer/task.md`