@ordewell/core 0.4.23 → 0.5.1

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 (46) hide show
  1. package/dist/{ITerminalRunner-CuNYBnqK.d.mts → ITerminalRunner-DCjsa2-I.d.mts} +31 -1
  2. package/dist/{ITerminalRunner-Da1gIAFX.d.ts → ITerminalRunner-H1yT8LTy.d.ts} +31 -1
  3. package/dist/{ModeResolver-mtIWrLXn.d.mts → ModeResolver-DVJ7HV3k.d.mts} +1 -1
  4. package/dist/{ModeResolver-Ob-ihQbI.d.ts → ModeResolver-Dkig8ghQ.d.ts} +1 -1
  5. package/dist/Task-BxQkPlXO.d.mts +664 -0
  6. package/dist/Task-BxQkPlXO.d.ts +664 -0
  7. package/dist/{chunk-O2MFTRHA.mjs → chunk-GWPIYDQW.mjs} +29 -5
  8. package/dist/chunk-GWPIYDQW.mjs.map +1 -0
  9. package/dist/{chunk-T4KGVP4N.mjs → chunk-JVMDEHRQ.mjs} +1 -1
  10. package/dist/chunk-JVMDEHRQ.mjs.map +1 -0
  11. package/dist/chunk-T2S5O36I.mjs +103 -0
  12. package/dist/chunk-T2S5O36I.mjs.map +1 -0
  13. package/dist/{chunk-MKUTJDT2.mjs → chunk-XWOUIA6A.mjs} +2 -2
  14. package/dist/index.d.mts +614 -104
  15. package/dist/index.d.ts +614 -104
  16. package/dist/index.js +3780 -1209
  17. package/dist/index.js.map +1 -1
  18. package/dist/index.mjs +3747 -1291
  19. package/dist/index.mjs.map +1 -1
  20. package/dist/order-labels.d.mts +1 -1
  21. package/dist/order-labels.d.ts +1 -1
  22. package/dist/{parsing-BJoHbA-t.d.ts → parsing-CF_grC29.d.ts} +2 -2
  23. package/dist/{parsing-BWfpLch9.d.mts → parsing-DRp4dPC0.d.mts} +2 -2
  24. package/dist/parsing.d.mts +3 -3
  25. package/dist/parsing.d.ts +3 -3
  26. package/dist/parsing.js.map +1 -1
  27. package/dist/parsing.mjs +2 -2
  28. package/dist/{plan-utils-DJm2a7Zp.d.ts → plan-utils-CkNbqAmS.d.ts} +63 -5
  29. package/dist/{plan-utils-s6VL8NDF.d.mts → plan-utils-CtB3_Ovf.d.mts} +63 -5
  30. package/dist/plan-utils.d.mts +3 -3
  31. package/dist/plan-utils.d.ts +3 -3
  32. package/dist/plan-utils.js +7 -0
  33. package/dist/plan-utils.js.map +1 -1
  34. package/dist/plan-utils.mjs +6 -2
  35. package/dist/testing.d.mts +93 -3
  36. package/dist/testing.d.ts +93 -3
  37. package/dist/testing.js +200 -0
  38. package/dist/testing.js.map +1 -1
  39. package/dist/testing.mjs +179 -0
  40. package/dist/testing.mjs.map +1 -1
  41. package/package.json +1 -1
  42. package/dist/Task-4rDGr8Su.d.mts +0 -271
  43. package/dist/Task-4rDGr8Su.d.ts +0 -271
  44. package/dist/chunk-O2MFTRHA.mjs.map +0 -1
  45. package/dist/chunk-T4KGVP4N.mjs.map +0 -1
  46. /package/dist/{chunk-MKUTJDT2.mjs.map → chunk-XWOUIA6A.mjs.map} +0 -0
@@ -1,5 +1,5 @@
1
1
  import { I as IApproval, a as ApprovalMode } from './ApprovalPolicy-BVhGdECT.mjs';
2
- import { h as RunnerId } from './Task-4rDGr8Su.mjs';
2
+ import { F as RunnerId } from './Task-BxQkPlXO.mjs';
3
3
 
4
4
  interface ToolOutcome {
5
5
  success: boolean;
@@ -205,6 +205,36 @@ interface IConfig {
205
205
  plannerThinkingEffort?: string;
206
206
  planMapEnabled: boolean;
207
207
  autonomousMode: boolean;
208
+ /**
209
+ * Run each AI task in its own git worktree and integrate the results on a
210
+ * per-run branch (ADR-0013). Non-git workspaces fall back to the shared
211
+ * workspace root regardless of this flag.
212
+ */
213
+ worktreeIsolation: boolean;
214
+ /**
215
+ * Shell command run in a fresh task worktree instead of symlinking ignored
216
+ * artifacts from the main worktree — for repos where sharing `node_modules`
217
+ * or a virtualenv is wrong.
218
+ */
219
+ worktreeSetupCommand?: string;
220
+ /**
221
+ * Repositories of the repo group listed by hand, relative to the workspace
222
+ * (ADR-0014). When non-empty the group is exactly these, replacing the
223
+ * repositories auto-detected directly inside the folder; needed for ones
224
+ * deeper than that, which are never auto-detected.
225
+ */
226
+ workspaceRepos: string[];
227
+ /**
228
+ * Extra paths or globs, relative to each repo root, linked from the real repo
229
+ * into its task worktree where they exist — gitignored local state such as
230
+ * `*.tfstate` that a task must use, not a copy of.
231
+ */
232
+ worktreeLinks: string[];
233
+ /**
234
+ * How many conflict repairs one task may go through before its conflict is
235
+ * left for a person (ADR-0015); 0 turns repair off.
236
+ */
237
+ conflictRepairAttempts: number;
208
238
  /**
209
239
  * What to do when planner research reaches outside its default envelope — an
210
240
  * out-of-workspace path, or a shell command beyond the auto-allowed read-only
@@ -1,5 +1,5 @@
1
1
  import { I as IApproval, a as ApprovalMode } from './ApprovalPolicy-BVhGdECT.js';
2
- import { h as RunnerId } from './Task-4rDGr8Su.js';
2
+ import { F as RunnerId } from './Task-BxQkPlXO.js';
3
3
 
4
4
  interface ToolOutcome {
5
5
  success: boolean;
@@ -205,6 +205,36 @@ interface IConfig {
205
205
  plannerThinkingEffort?: string;
206
206
  planMapEnabled: boolean;
207
207
  autonomousMode: boolean;
208
+ /**
209
+ * Run each AI task in its own git worktree and integrate the results on a
210
+ * per-run branch (ADR-0013). Non-git workspaces fall back to the shared
211
+ * workspace root regardless of this flag.
212
+ */
213
+ worktreeIsolation: boolean;
214
+ /**
215
+ * Shell command run in a fresh task worktree instead of symlinking ignored
216
+ * artifacts from the main worktree — for repos where sharing `node_modules`
217
+ * or a virtualenv is wrong.
218
+ */
219
+ worktreeSetupCommand?: string;
220
+ /**
221
+ * Repositories of the repo group listed by hand, relative to the workspace
222
+ * (ADR-0014). When non-empty the group is exactly these, replacing the
223
+ * repositories auto-detected directly inside the folder; needed for ones
224
+ * deeper than that, which are never auto-detected.
225
+ */
226
+ workspaceRepos: string[];
227
+ /**
228
+ * Extra paths or globs, relative to each repo root, linked from the real repo
229
+ * into its task worktree where they exist — gitignored local state such as
230
+ * `*.tfstate` that a task must use, not a copy of.
231
+ */
232
+ worktreeLinks: string[];
233
+ /**
234
+ * How many conflict repairs one task may go through before its conflict is
235
+ * left for a person (ADR-0015); 0 turns repair off.
236
+ */
237
+ conflictRepairAttempts: number;
208
238
  /**
209
239
  * What to do when planner research reaches outside its default envelope — an
210
240
  * out-of-workspace path, or a shell command beyond the auto-allowed read-only
@@ -1,4 +1,4 @@
1
- import { h as RunnerId } from './Task-4rDGr8Su.mjs';
1
+ import { F as RunnerId } from './Task-BxQkPlXO.mjs';
2
2
 
3
3
  interface RunnerModeInfo {
4
4
  id: string;
@@ -1,4 +1,4 @@
1
- import { h as RunnerId } from './Task-4rDGr8Su.js';
1
+ import { F as RunnerId } from './Task-BxQkPlXO.js';
2
2
 
3
3
  interface RunnerModeInfo {
4
4
  id: string;