@oisincoveney/pipeline 3.12.2 → 3.12.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.
@@ -104,7 +104,7 @@ scheduler:
104
104
  backlog-intake:
105
105
  category: intake
106
106
  profile: moka-researcher
107
- models: [openai/gpt-5.5]
107
+ models: [openai/gpt-5.5, kimi-for-coding/kimi-k2-thinking]
108
108
  reasoning_effort: medium
109
109
  red-tests:
110
110
  category: red
@@ -119,7 +119,7 @@ scheduler:
119
119
  verification:
120
120
  category: verification
121
121
  profile: moka-verifier
122
- models: [openai/gpt-5.5]
122
+ models: [openai/gpt-5.5, kimi-for-coding/kimi-k2-thinking]
123
123
  reasoning_effort: medium
124
124
  execute:
125
125
  required_categories: [intake, research, red, green, mechanical, acceptance, verification, learn]
@@ -127,7 +127,7 @@ scheduler:
127
127
  backlog-intake:
128
128
  category: intake
129
129
  profile: moka-researcher
130
- models: [openai/gpt-5.5]
130
+ models: [openai/gpt-5.5, kimi-for-coding/kimi-k2-thinking]
131
131
  reasoning_effort: medium
132
132
  research:
133
133
  category: research
@@ -152,17 +152,17 @@ scheduler:
152
152
  acceptance-review:
153
153
  category: acceptance
154
154
  profile: moka-acceptance-reviewer
155
- models: [openai/gpt-5.5]
155
+ models: [openai/gpt-5.5, kimi-for-coding/kimi-k2-thinking]
156
156
  reasoning_effort: medium
157
157
  verification:
158
158
  category: verification
159
159
  profile: moka-verifier
160
- models: [openai/gpt-5.5]
160
+ models: [openai/gpt-5.5, kimi-for-coding/kimi-k2-thinking]
161
161
  reasoning_effort: medium
162
162
  learn:
163
163
  category: learn
164
164
  profile: moka-learner
165
- models: [openai/gpt-5.5]
165
+ models: [openai/gpt-5.5, kimi-for-coding/kimi-k2-thinking]
166
166
  reasoning_effort: low
167
167
  schedules:
168
168
  quick-schedule:
@@ -25,7 +25,7 @@ const RUNNER_OPENCODE_ENV = [
25
25
  },
26
26
  {
27
27
  name: "PIPELINE_AGENT_TIMEOUT_MS",
28
- value: "1200000"
28
+ value: "600000"
29
29
  },
30
30
  {
31
31
  name: "PIPELINE_DISABLED_MODELS",
@@ -99,10 +99,10 @@ declare const workflowNodeBaseSchema: z.ZodObject<{
99
99
  models: z.ZodOptional<z.ZodArray<z.ZodString>>;
100
100
  needs: z.ZodOptional<z.ZodArray<z.ZodString>>;
101
101
  reasoning_effort: z.ZodOptional<z.ZodEnum<{
102
- none: "none";
103
- low: "low";
104
- medium: "medium";
105
102
  high: "high";
103
+ medium: "medium";
104
+ low: "low";
105
+ none: "none";
106
106
  xhigh: "xhigh";
107
107
  }>>;
108
108
  retries: z.ZodOptional<z.ZodObject<{
@@ -319,10 +319,10 @@ declare const configSchema: z.ZodObject<{
319
319
  schema_path: z.ZodOptional<z.ZodString>;
320
320
  }, z.core.$strict>>;
321
321
  reasoning_effort: z.ZodOptional<z.ZodEnum<{
322
- none: "none";
323
- low: "low";
324
- medium: "medium";
325
322
  high: "high";
323
+ medium: "medium";
324
+ low: "low";
325
+ none: "none";
326
326
  xhigh: "xhigh";
327
327
  }>>;
328
328
  rules: z.ZodOptional<z.ZodArray<z.ZodString>>;
@@ -407,10 +407,10 @@ declare const configSchema: z.ZodObject<{
407
407
  host_models: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
408
408
  model: z.ZodOptional<z.ZodString>;
409
409
  reasoning_effort: z.ZodOptional<z.ZodEnum<{
410
- none: "none";
411
- low: "low";
412
- medium: "medium";
413
410
  high: "high";
411
+ medium: "medium";
412
+ low: "low";
413
+ none: "none";
414
414
  xhigh: "xhigh";
415
415
  }>>;
416
416
  type: z.ZodEnum<{
@@ -496,10 +496,10 @@ declare const configSchema: z.ZodObject<{
496
496
  models: z.ZodArray<z.ZodString>;
497
497
  profile: z.ZodString;
498
498
  reasoning_effort: z.ZodOptional<z.ZodEnum<{
499
- none: "none";
500
- low: "low";
501
- medium: "medium";
502
499
  high: "high";
500
+ medium: "medium";
501
+ low: "low";
502
+ none: "none";
503
503
  xhigh: "xhigh";
504
504
  }>>;
505
505
  }, z.core.$strict>>>;
@@ -509,8 +509,8 @@ declare const configSchema: z.ZodObject<{
509
509
  schedules: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
510
510
  description: z.ZodOptional<z.ZodString>;
511
511
  baseline: z.ZodEnum<{
512
- execute: "execute";
513
512
  quick: "quick";
513
+ execute: "execute";
514
514
  }>;
515
515
  max_parallel_nodes: z.ZodOptional<z.ZodNumber>;
516
516
  node_catalog: z.ZodOptional<z.ZodString>;
package/dist/hooks.d.ts CHANGED
@@ -13,8 +13,8 @@ declare const hookResultSchema: z.ZodObject<{
13
13
  taskContext: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
14
14
  }, z.core.$strict>>;
15
15
  status: z.ZodEnum<{
16
- pass: "pass";
17
16
  fail: "fail";
17
+ pass: "pass";
18
18
  skip: "skip";
19
19
  }>;
20
20
  summary: z.ZodOptional<z.ZodString>;
@@ -166,8 +166,8 @@ declare const mokaSubmitOptionsSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
166
166
  }, z.core.$strict>>;
167
167
  serviceAccountName: z.ZodOptional<z.ZodString>;
168
168
  mode: z.ZodEnum<{
169
- quick: "quick";
170
169
  full: "full";
170
+ quick: "quick";
171
171
  }>;
172
172
  schedulePath: z.ZodOptional<z.ZodString>;
173
173
  scheduleYaml: z.ZodOptional<z.ZodString>;
@@ -77,7 +77,7 @@ declare const scheduleArtifactSchema: z.ZodObject<{
77
77
  })[] | undefined;
78
78
  models?: string[] | undefined;
79
79
  needs?: string[] | undefined;
80
- reasoning_effort?: "none" | "low" | "medium" | "high" | "xhigh" | undefined;
80
+ reasoning_effort?: "high" | "medium" | "low" | "none" | "xhigh" | undefined;
81
81
  retries?: {
82
82
  max_attempts: number;
83
83
  backoff_ms?: number | undefined;
@@ -156,7 +156,7 @@ declare const scheduleArtifactSchema: z.ZodObject<{
156
156
  })[] | undefined;
157
157
  models?: string[] | undefined;
158
158
  needs?: string[] | undefined;
159
- reasoning_effort?: "none" | "low" | "medium" | "high" | "xhigh" | undefined;
159
+ reasoning_effort?: "high" | "medium" | "low" | "none" | "xhigh" | undefined;
160
160
  retries?: {
161
161
  max_attempts: number;
162
162
  backoff_ms?: number | undefined;
@@ -234,7 +234,7 @@ declare const scheduleArtifactSchema: z.ZodObject<{
234
234
  })[] | undefined;
235
235
  models?: string[] | undefined;
236
236
  needs?: string[] | undefined;
237
- reasoning_effort?: "none" | "low" | "medium" | "high" | "xhigh" | undefined;
237
+ reasoning_effort?: "high" | "medium" | "low" | "none" | "xhigh" | undefined;
238
238
  retries?: {
239
239
  max_attempts: number;
240
240
  backoff_ms?: number | undefined;
@@ -312,7 +312,7 @@ declare const scheduleArtifactSchema: z.ZodObject<{
312
312
  })[] | undefined;
313
313
  models?: string[] | undefined;
314
314
  needs?: string[] | undefined;
315
- reasoning_effort?: "none" | "low" | "medium" | "high" | "xhigh" | undefined;
315
+ reasoning_effort?: "high" | "medium" | "low" | "none" | "xhigh" | undefined;
316
316
  retries?: {
317
317
  max_attempts: number;
318
318
  backoff_ms?: number | undefined;
@@ -390,7 +390,7 @@ declare const scheduleArtifactSchema: z.ZodObject<{
390
390
  })[] | undefined;
391
391
  models?: string[] | undefined;
392
392
  needs?: string[] | undefined;
393
- reasoning_effort?: "none" | "low" | "medium" | "high" | "xhigh" | undefined;
393
+ reasoning_effort?: "high" | "medium" | "low" | "none" | "xhigh" | undefined;
394
394
  retries?: {
395
395
  max_attempts: number;
396
396
  backoff_ms?: number | undefined;
@@ -467,7 +467,7 @@ declare const scheduleArtifactSchema: z.ZodObject<{
467
467
  })[] | undefined;
468
468
  models?: string[] | undefined;
469
469
  needs?: string[] | undefined;
470
- reasoning_effort?: "none" | "low" | "medium" | "high" | "xhigh" | undefined;
470
+ reasoning_effort?: "high" | "medium" | "low" | "none" | "xhigh" | undefined;
471
471
  retries?: {
472
472
  max_attempts: number;
473
473
  backoff_ms?: number | undefined;
@@ -546,7 +546,7 @@ declare const scheduleArtifactSchema: z.ZodObject<{
546
546
  })[] | undefined;
547
547
  models?: string[] | undefined;
548
548
  needs?: string[] | undefined;
549
- reasoning_effort?: "none" | "low" | "medium" | "high" | "xhigh" | undefined;
549
+ reasoning_effort?: "high" | "medium" | "low" | "none" | "xhigh" | undefined;
550
550
  retries?: {
551
551
  max_attempts: number;
552
552
  backoff_ms?: number | undefined;
@@ -624,7 +624,7 @@ declare const scheduleArtifactSchema: z.ZodObject<{
624
624
  })[] | undefined;
625
625
  models?: string[] | undefined;
626
626
  needs?: string[] | undefined;
627
- reasoning_effort?: "none" | "low" | "medium" | "high" | "xhigh" | undefined;
627
+ reasoning_effort?: "high" | "medium" | "low" | "none" | "xhigh" | undefined;
628
628
  retries?: {
629
629
  max_attempts: number;
630
630
  backoff_ms?: number | undefined;
@@ -702,7 +702,7 @@ declare const scheduleArtifactSchema: z.ZodObject<{
702
702
  })[] | undefined;
703
703
  models?: string[] | undefined;
704
704
  needs?: string[] | undefined;
705
- reasoning_effort?: "none" | "low" | "medium" | "high" | "xhigh" | undefined;
705
+ reasoning_effort?: "high" | "medium" | "low" | "none" | "xhigh" | undefined;
706
706
  retries?: {
707
707
  max_attempts: number;
708
708
  backoff_ms?: number | undefined;
@@ -780,7 +780,7 @@ declare const scheduleArtifactSchema: z.ZodObject<{
780
780
  })[] | undefined;
781
781
  models?: string[] | undefined;
782
782
  needs?: string[] | undefined;
783
- reasoning_effort?: "none" | "low" | "medium" | "high" | "xhigh" | undefined;
783
+ reasoning_effort?: "high" | "medium" | "low" | "none" | "xhigh" | undefined;
784
784
  retries?: {
785
785
  max_attempts: number;
786
786
  backoff_ms?: number | undefined;
@@ -856,7 +856,7 @@ declare const scheduleArtifactSchema: z.ZodObject<{
856
856
  })[] | undefined;
857
857
  models?: string[] | undefined;
858
858
  needs?: string[] | undefined;
859
- reasoning_effort?: "none" | "low" | "medium" | "high" | "xhigh" | undefined;
859
+ reasoning_effort?: "high" | "medium" | "low" | "none" | "xhigh" | undefined;
860
860
  retries?: {
861
861
  max_attempts: number;
862
862
  backoff_ms?: number | undefined;
@@ -935,7 +935,7 @@ declare const scheduleArtifactSchema: z.ZodObject<{
935
935
  })[] | undefined;
936
936
  models?: string[] | undefined;
937
937
  needs?: string[] | undefined;
938
- reasoning_effort?: "none" | "low" | "medium" | "high" | "xhigh" | undefined;
938
+ reasoning_effort?: "high" | "medium" | "low" | "none" | "xhigh" | undefined;
939
939
  retries?: {
940
940
  max_attempts: number;
941
941
  backoff_ms?: number | undefined;
@@ -1013,7 +1013,7 @@ declare const scheduleArtifactSchema: z.ZodObject<{
1013
1013
  })[] | undefined;
1014
1014
  models?: string[] | undefined;
1015
1015
  needs?: string[] | undefined;
1016
- reasoning_effort?: "none" | "low" | "medium" | "high" | "xhigh" | undefined;
1016
+ reasoning_effort?: "high" | "medium" | "low" | "none" | "xhigh" | undefined;
1017
1017
  retries?: {
1018
1018
  max_attempts: number;
1019
1019
  backoff_ms?: number | undefined;
@@ -1091,7 +1091,7 @@ declare const scheduleArtifactSchema: z.ZodObject<{
1091
1091
  })[] | undefined;
1092
1092
  models?: string[] | undefined;
1093
1093
  needs?: string[] | undefined;
1094
- reasoning_effort?: "none" | "low" | "medium" | "high" | "xhigh" | undefined;
1094
+ reasoning_effort?: "high" | "medium" | "low" | "none" | "xhigh" | undefined;
1095
1095
  retries?: {
1096
1096
  max_attempts: number;
1097
1097
  backoff_ms?: number | undefined;
@@ -1169,7 +1169,7 @@ declare const scheduleArtifactSchema: z.ZodObject<{
1169
1169
  })[] | undefined;
1170
1170
  models?: string[] | undefined;
1171
1171
  needs?: string[] | undefined;
1172
- reasoning_effort?: "none" | "low" | "medium" | "high" | "xhigh" | undefined;
1172
+ reasoning_effort?: "high" | "medium" | "low" | "none" | "xhigh" | undefined;
1173
1173
  retries?: {
1174
1174
  max_attempts: number;
1175
1175
  backoff_ms?: number | undefined;
@@ -1246,7 +1246,7 @@ declare const scheduleArtifactSchema: z.ZodObject<{
1246
1246
  })[] | undefined;
1247
1247
  models?: string[] | undefined;
1248
1248
  needs?: string[] | undefined;
1249
- reasoning_effort?: "none" | "low" | "medium" | "high" | "xhigh" | undefined;
1249
+ reasoning_effort?: "high" | "medium" | "low" | "none" | "xhigh" | undefined;
1250
1250
  retries?: {
1251
1251
  max_attempts: number;
1252
1252
  backoff_ms?: number | undefined;
@@ -1325,7 +1325,7 @@ declare const scheduleArtifactSchema: z.ZodObject<{
1325
1325
  })[] | undefined;
1326
1326
  models?: string[] | undefined;
1327
1327
  needs?: string[] | undefined;
1328
- reasoning_effort?: "none" | "low" | "medium" | "high" | "xhigh" | undefined;
1328
+ reasoning_effort?: "high" | "medium" | "low" | "none" | "xhigh" | undefined;
1329
1329
  retries?: {
1330
1330
  max_attempts: number;
1331
1331
  backoff_ms?: number | undefined;
@@ -1403,7 +1403,7 @@ declare const scheduleArtifactSchema: z.ZodObject<{
1403
1403
  })[] | undefined;
1404
1404
  models?: string[] | undefined;
1405
1405
  needs?: string[] | undefined;
1406
- reasoning_effort?: "none" | "low" | "medium" | "high" | "xhigh" | undefined;
1406
+ reasoning_effort?: "high" | "medium" | "low" | "none" | "xhigh" | undefined;
1407
1407
  retries?: {
1408
1408
  max_attempts: number;
1409
1409
  backoff_ms?: number | undefined;
@@ -1481,7 +1481,7 @@ declare const scheduleArtifactSchema: z.ZodObject<{
1481
1481
  })[] | undefined;
1482
1482
  models?: string[] | undefined;
1483
1483
  needs?: string[] | undefined;
1484
- reasoning_effort?: "none" | "low" | "medium" | "high" | "xhigh" | undefined;
1484
+ reasoning_effort?: "high" | "medium" | "low" | "none" | "xhigh" | undefined;
1485
1485
  retries?: {
1486
1486
  max_attempts: number;
1487
1487
  backoff_ms?: number | undefined;
@@ -1559,7 +1559,7 @@ declare const scheduleArtifactSchema: z.ZodObject<{
1559
1559
  })[] | undefined;
1560
1560
  models?: string[] | undefined;
1561
1561
  needs?: string[] | undefined;
1562
- reasoning_effort?: "none" | "low" | "medium" | "high" | "xhigh" | undefined;
1562
+ reasoning_effort?: "high" | "medium" | "low" | "none" | "xhigh" | undefined;
1563
1563
  retries?: {
1564
1564
  max_attempts: number;
1565
1565
  backoff_ms?: number | undefined;
@@ -48,8 +48,8 @@ declare const runnerDeliverySchema: z.ZodObject<{
48
48
  declare const mokaSubmissionSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
49
49
  kind: z.ZodLiteral<"graph">;
50
50
  mode: z.ZodEnum<{
51
- quick: "quick";
52
51
  full: "full";
52
+ quick: "quick";
53
53
  }>;
54
54
  }, z.core.$strict>, z.ZodObject<{
55
55
  argv: z.ZodArray<z.ZodString>;
@@ -114,8 +114,8 @@ declare const runnerCommandPayloadSchema: z.ZodObject<{
114
114
  submission: z.ZodDefault<z.ZodDiscriminatedUnion<[z.ZodObject<{
115
115
  kind: z.ZodLiteral<"graph">;
116
116
  mode: z.ZodEnum<{
117
- quick: "quick";
118
117
  full: "full";
118
+ quick: "quick";
119
119
  }>;
120
120
  }, z.core.$strict>, z.ZodObject<{
121
121
  argv: z.ZodArray<z.ZodString>;
@@ -108,8 +108,8 @@ declare const runnerEventRecordSchema: z.ZodUnion<readonly [z.ZodObject<{
108
108
  nodeId: z.ZodOptional<z.ZodString>;
109
109
  outputs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
110
110
  status: z.ZodEnum<{
111
- pass: "pass";
112
111
  fail: "fail";
112
+ pass: "pass";
113
113
  skip: "skip";
114
114
  }>;
115
115
  summary: z.ZodOptional<z.ZodString>;
@@ -208,9 +208,9 @@ declare const runnerEventRecordSchema: z.ZodUnion<readonly [z.ZodObject<{
208
208
  blocked: "blocked";
209
209
  }>;
210
210
  priority: z.ZodOptional<z.ZodEnum<{
211
- low: "low";
212
- medium: "medium";
213
211
  high: "high";
212
+ medium: "medium";
213
+ low: "low";
214
214
  }>>;
215
215
  status: z.ZodEnum<{
216
216
  "To Do": "To Do";
@@ -353,8 +353,8 @@ declare const runnerEventBatchSchema: z.ZodObject<{
353
353
  nodeId: z.ZodOptional<z.ZodString>;
354
354
  outputs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
355
355
  status: z.ZodEnum<{
356
- pass: "pass";
357
356
  fail: "fail";
357
+ pass: "pass";
358
358
  skip: "skip";
359
359
  }>;
360
360
  summary: z.ZodOptional<z.ZodString>;
@@ -453,9 +453,9 @@ declare const runnerEventBatchSchema: z.ZodObject<{
453
453
  blocked: "blocked";
454
454
  }>;
455
455
  priority: z.ZodOptional<z.ZodEnum<{
456
- low: "low";
457
- medium: "medium";
458
456
  high: "high";
457
+ medium: "medium";
458
+ low: "low";
459
459
  }>>;
460
460
  status: z.ZodEnum<{
461
461
  "To Do": "To Do";
@@ -29,10 +29,14 @@ function executeOpencodeSession(deps, plan, options) {
29
29
  function boundByAgentTimeout(plan) {
30
30
  return (effect) => {
31
31
  const timeoutMs = plan.timeoutMs;
32
+ process.stderr.write(`[agent-timeout] wired nodeId=${plan.nodeId} timeoutMs=${String(timeoutMs)}\n`);
32
33
  if (!timeoutMs || timeoutMs <= 0) return effect;
33
34
  return Effect.timeoutFail(Effect.disconnect(effect), {
34
35
  duration: Duration.millis(timeoutMs),
35
- onTimeout: () => /* @__PURE__ */ new Error(`agent session timed out after ${timeoutMs}ms`)
36
+ onTimeout: () => {
37
+ process.stderr.write(`[agent-timeout] FIRED nodeId=${plan.nodeId} after ${timeoutMs}ms\n`);
38
+ return /* @__PURE__ */ new Error(`agent session timed out after ${timeoutMs}ms`);
39
+ }
36
40
  });
37
41
  };
38
42
  }
package/package.json CHANGED
@@ -128,7 +128,7 @@
128
128
  "prepack": "bun run build:cli"
129
129
  },
130
130
  "type": "module",
131
- "version": "3.12.2",
131
+ "version": "3.12.3",
132
132
  "description": "Config-driven multi-agent pipeline runner for repository work",
133
133
  "main": "./dist/index.js",
134
134
  "types": "./dist/index.d.ts",