@gtrabanco/pi-agentic-workflow 0.18.1 → 0.18.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.
package/README.md CHANGED
@@ -246,7 +246,7 @@ dialog.
246
246
 
247
247
  ## Notes
248
248
 
249
- - Verified against Pi 0.85.1 (2026-09-05) (`pi install`, package skills, friendly
249
+ - Verified against Pi 0.99.1 (2026-09-29) (`pi install`, package skills, friendly
250
250
  command registration, routed set/clear, settings console round-trip, `sendUserMessage`
251
251
  with prompt template expansion).
252
252
  - The package declares Pi as a peer dependency; it bundles no copy of Pi.
@@ -15,9 +15,18 @@
15
15
  * Run-log line format (SPEC AC10):
16
16
  * YYYY-MM-DD HH:MM — <kind/code> — <invocation|stop> — <k>/<cap>
17
17
  */
18
- import type { ConductorConfig, LoopDeps, LoopResult } from "./types.js";
19
- /** Default config used when deps.config is not provided. */
20
- export declare const DEFAULT_CONDUCTOR_CONFIG: ConductorConfig;
18
+ import { DEFAULT_CONDUCTOR_CONFIG } from "./types.js";
19
+ import type { LoopDeps, LoopResult } from "./types.js";
20
+ /**
21
+ * The one shipped default, owned by `types.ts` (deeply frozen so that merges
22
+ * always produce new objects) and re-exported here so this module's surface is
23
+ * unchanged. `loop.ts` used to declare a SECOND copy of the same object literal:
24
+ * the package then published two identically-named constants —
25
+ * `DEFAULT_CONDUCTOR_CONFIG` and its `DEFAULT_CONDUCTOR_CONFIG_LOOP` alias —
26
+ * which could silently diverge, and the loop's own fallback was mutable while
27
+ * the published one was frozen.
28
+ */
29
+ export { DEFAULT_CONDUCTOR_CONFIG };
21
30
  /**
22
31
  * Run the conductor loop until convergence, stop, cap, or park.
23
32
  * All I/O is injected through deps; the loop itself is deterministic.
@@ -15,14 +15,18 @@
15
15
  * Run-log line format (SPEC AC10):
16
16
  * YYYY-MM-DD HH:MM — <kind/code> — <invocation|stop> — <k>/<cap>
17
17
  */
18
+ import { DEFAULT_CONDUCTOR_CONFIG } from "./types.js";
18
19
  import { checkCloseout } from "./closeout.js";
19
- /** Default config used when deps.config is not provided. */
20
- export const DEFAULT_CONDUCTOR_CONFIG = {
21
- iterationsCap: 12,
22
- sensitivePaths: [],
23
- securityPaths: [],
24
- runLogPath: ".agentic-workflow/advance-run.log",
25
- };
20
+ /**
21
+ * The one shipped default, owned by `types.ts` (deeply frozen so that merges
22
+ * always produce new objects) and re-exported here so this module's surface is
23
+ * unchanged. `loop.ts` used to declare a SECOND copy of the same object literal:
24
+ * the package then published two identically-named constants —
25
+ * `DEFAULT_CONDUCTOR_CONFIG` and its `DEFAULT_CONDUCTOR_CONFIG_LOOP` alias —
26
+ * which could silently diverge, and the loop's own fallback was mutable while
27
+ * the published one was frozen.
28
+ */
29
+ export { DEFAULT_CONDUCTOR_CONFIG };
26
30
  /**
27
31
  * Fallback command-name set used when deps.commandNames is not provided.
28
32
  * The real wiring derives the names from the bundled skills catalogue —
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gtrabanco/pi-agentic-workflow",
3
- "version": "0.18.1",
3
+ "version": "0.18.3",
4
4
  "description": "Pi package: canonical agentic-workflow skills, friendly slash commands, and per-command model routing.",
5
5
  "keywords": [
6
6
  "pi-package",
@@ -53,10 +53,10 @@
53
53
  "prepare": "bun run build && bun run bundle:skills"
54
54
  },
55
55
  "peerDependencies": {
56
- "@earendil-works/pi-coding-agent": ">=0.87.0"
56
+ "@earendil-works/pi-coding-agent": ">=0.99.1",
57
+ "@earendil-works/pi-tui": "*"
57
58
  },
58
59
  "dependencies": {
59
- "@earendil-works/pi-tui": "0.87.0",
60
60
  "@gtrabanco/agentic-workflow": "0.1.1",
61
61
  "@gtrabanco/agentic-workflow-schema": "4.5.0"
62
62
  },