@gtrabanco/pi-agentic-workflow 0.18.1 → 0.18.2

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.
@@ -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.2",
4
4
  "description": "Pi package: canonical agentic-workflow skills, friendly slash commands, and per-command model routing.",
5
5
  "keywords": [
6
6
  "pi-package",