@ordewell/core 0.12.4 → 0.12.6

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.
Files changed (32) hide show
  1. package/dist/{ModeResolver-DS-aCVOP.d.ts → ModeResolver-CW8TEJjB.d.ts} +1 -1
  2. package/dist/{ModeResolver-CkZnbIqs.d.mts → ModeResolver-Clrk1OfJ.d.mts} +1 -1
  3. package/dist/{Task-D3O49EUo.d.mts → Task-jF9O6eWO.d.mts} +8 -2
  4. package/dist/{Task-D3O49EUo.d.ts → Task-jF9O6eWO.d.ts} +8 -2
  5. package/dist/{chunk-3S5IVTZM.mjs → chunk-GH5ZORAM.mjs} +1545 -9
  6. package/dist/chunk-GH5ZORAM.mjs.map +1 -0
  7. package/dist/{eventStore-CSFKy48Y.d.ts → eventStore-1iW5KeCk.d.mts} +209 -9
  8. package/dist/{eventStore-BcoMsZtU.d.mts → eventStore-COZ9fxn7.d.ts} +209 -9
  9. package/dist/index.d.mts +151 -49
  10. package/dist/index.d.ts +151 -49
  11. package/dist/index.js +6499 -2537
  12. package/dist/index.js.map +1 -1
  13. package/dist/index.mjs +4856 -2405
  14. package/dist/index.mjs.map +1 -1
  15. package/dist/parsing.d.mts +2 -2
  16. package/dist/parsing.d.ts +2 -2
  17. package/dist/plan-utils.d.mts +4 -4
  18. package/dist/plan-utils.d.ts +4 -4
  19. package/dist/plan-utils.js +54 -0
  20. package/dist/plan-utils.js.map +1 -1
  21. package/dist/plan-utils.mjs +13 -1
  22. package/dist/plan-utils.mjs.map +1 -1
  23. package/dist/{runSettingsText-BFaZSPRG.d.ts → runSettingsText--fMBMiPs.d.mts} +133 -12
  24. package/dist/{runSettingsText-DWsmcnBq.d.mts → runSettingsText-DCu4ItQN.d.ts} +133 -12
  25. package/dist/testing.d.mts +5 -3
  26. package/dist/testing.d.ts +5 -3
  27. package/dist/testing.js +6 -0
  28. package/dist/testing.js.map +1 -1
  29. package/dist/testing.mjs +5 -0
  30. package/dist/testing.mjs.map +1 -1
  31. package/package.json +1 -1
  32. package/dist/chunk-3S5IVTZM.mjs.map +0 -1
@@ -1,4 +1,4 @@
1
- import { b4 as RunnerId } from './Task-D3O49EUo.js';
1
+ import { b4 as RunnerId } from './Task-jF9O6eWO.js';
2
2
 
3
3
  interface RunnerModeInfo {
4
4
  id: string;
@@ -1,4 +1,4 @@
1
- import { b4 as RunnerId } from './Task-D3O49EUo.mjs';
1
+ import { b4 as RunnerId } from './Task-jF9O6eWO.mjs';
2
2
 
3
3
  interface RunnerModeInfo {
4
4
  id: string;
@@ -185,8 +185,14 @@ declare const HANDOFF_LIMITS: {
185
185
  };
186
186
  /** Findings the plan's digest keeps of a handoff. */
187
187
  declare const DIGEST_FINDINGS = 25;
188
- /** The handoff a call stated, its findings numbered in the author's order; undefined when it stated nothing. */
189
- declare function storedHandoff(handoff: Handoff): StoredHandoff | undefined;
188
+ /**
189
+ * The handoff a call stated, its findings numbered in the author's order;
190
+ * undefined when it stated nothing. Its words are a runner's, and go on to
191
+ * the planner's prompt and the plan on disk, so they are redacted here, where
192
+ * every handoff is stored from: by `redact`, which an attempt's output source
193
+ * gives the secrets Ordewell held for it (ADR-0061, H1).
194
+ */
195
+ declare function storedHandoff(handoff: Handoff, redact?: (text: string) => string): StoredHandoff | undefined;
190
196
  /**
191
197
  * A handoff that also names the patch its attempt saved (ADR-0050).
192
198
  * Ordewell adds it, past the author's own artifacts and their limit, and an
@@ -185,8 +185,14 @@ declare const HANDOFF_LIMITS: {
185
185
  };
186
186
  /** Findings the plan's digest keeps of a handoff. */
187
187
  declare const DIGEST_FINDINGS = 25;
188
- /** The handoff a call stated, its findings numbered in the author's order; undefined when it stated nothing. */
189
- declare function storedHandoff(handoff: Handoff): StoredHandoff | undefined;
188
+ /**
189
+ * The handoff a call stated, its findings numbered in the author's order;
190
+ * undefined when it stated nothing. Its words are a runner's, and go on to
191
+ * the planner's prompt and the plan on disk, so they are redacted here, where
192
+ * every handoff is stored from: by `redact`, which an attempt's output source
193
+ * gives the secrets Ordewell held for it (ADR-0061, H1).
194
+ */
195
+ declare function storedHandoff(handoff: Handoff, redact?: (text: string) => string): StoredHandoff | undefined;
190
196
  /**
191
197
  * A handoff that also names the patch its attempt saved (ADR-0050).
192
198
  * Ordewell adds it, past the author's own artifacts and their limit, and an