@oisincoveney/pipeline 3.12.1 → 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:
@@ -18,13 +18,20 @@ const RUNNER_RETRY_STRATEGY = {
18
18
  limit: "3",
19
19
  retryPolicy: "Always"
20
20
  };
21
- const RUNNER_OPENCODE_ENV = [{
22
- name: "CODEX_AUTH_PER_PROJECT_ACCOUNTS",
23
- value: "0"
24
- }, {
25
- name: "PIPELINE_AGENT_TIMEOUT_MS",
26
- value: "1200000"
27
- }];
21
+ const RUNNER_OPENCODE_ENV = [
22
+ {
23
+ name: "CODEX_AUTH_PER_PROJECT_ACCOUNTS",
24
+ value: "0"
25
+ },
26
+ {
27
+ name: "PIPELINE_AGENT_TIMEOUT_MS",
28
+ value: "600000"
29
+ },
30
+ {
31
+ name: "PIPELINE_DISABLED_MODELS",
32
+ value: "opencode-go/qwen3.7-max"
33
+ }
34
+ ];
28
35
  const DEFAULT_RUNNER_RESOURCES = {
29
36
  limits: {
30
37
  cpu: "4",
@@ -5,13 +5,13 @@ import { z } from "zod";
5
5
  //#region src/moka-submit.d.ts
6
6
  declare const mokaSubmitDirectHooksSchema: z.ZodRecord<z.ZodEnum<{
7
7
  "workflow.start": "workflow.start";
8
+ "node.finish": "node.finish";
9
+ "node.start": "node.start";
8
10
  "workflow.success": "workflow.success";
9
11
  "workflow.failure": "workflow.failure";
10
12
  "workflow.complete": "workflow.complete";
11
- "node.start": "node.start";
12
13
  "node.success": "node.success";
13
14
  "node.error": "node.error";
14
- "node.finish": "node.finish";
15
15
  "gate.failure": "gate.failure";
16
16
  }> & z.core.$partial, z.ZodDiscriminatedUnion<[z.ZodObject<{
17
17
  failure: z.ZodDefault<z.ZodEnum<{
@@ -98,13 +98,13 @@ declare const mokaSubmitOptionsSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
98
98
  }, z.core.$strict>>;
99
99
  hooks: z.ZodOptional<z.ZodRecord<z.ZodEnum<{
100
100
  "workflow.start": "workflow.start";
101
+ "node.finish": "node.finish";
102
+ "node.start": "node.start";
101
103
  "workflow.success": "workflow.success";
102
104
  "workflow.failure": "workflow.failure";
103
105
  "workflow.complete": "workflow.complete";
104
- "node.start": "node.start";
105
106
  "node.success": "node.success";
106
107
  "node.error": "node.error";
107
- "node.finish": "node.finish";
108
108
  "gate.failure": "gate.failure";
109
109
  }> & z.core.$partial, z.ZodDiscriminatedUnion<[z.ZodObject<{
110
110
  failure: z.ZodDefault<z.ZodEnum<{
@@ -216,13 +216,13 @@ declare const mokaSubmitOptionsSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
216
216
  }, z.core.$strict>>;
217
217
  hooks: z.ZodOptional<z.ZodRecord<z.ZodEnum<{
218
218
  "workflow.start": "workflow.start";
219
+ "node.finish": "node.finish";
220
+ "node.start": "node.start";
219
221
  "workflow.success": "workflow.success";
220
222
  "workflow.failure": "workflow.failure";
221
223
  "workflow.complete": "workflow.complete";
222
- "node.start": "node.start";
223
224
  "node.success": "node.success";
224
225
  "node.error": "node.error";
225
- "node.finish": "node.finish";
226
226
  "gate.failure": "gate.failure";
227
227
  }> & z.core.$partial, z.ZodDiscriminatedUnion<[z.ZodObject<{
228
228
  failure: z.ZodDefault<z.ZodEnum<{
@@ -11,8 +11,8 @@ declare const runnerEventRecordSchema: z.ZodUnion<readonly [z.ZodObject<{
11
11
  runId: z.ZodString;
12
12
  sequence: z.ZodNumber;
13
13
  type: z.ZodEnum<{
14
- "workflow.start": "workflow.start";
15
14
  "workflow.planned": "workflow.planned";
15
+ "workflow.start": "workflow.start";
16
16
  }>;
17
17
  workflowPlan: z.ZodObject<{
18
18
  edges: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -58,10 +58,10 @@ declare const runnerEventRecordSchema: z.ZodUnion<readonly [z.ZodObject<{
58
58
  }>;
59
59
  }, z.core.$strip>;
60
60
  type: z.ZodEnum<{
61
- "node.start": "node.start";
62
- "node.finish": "node.finish";
63
61
  "agent.finish": "agent.finish";
64
62
  "agent.start": "agent.start";
63
+ "node.finish": "node.finish";
64
+ "node.start": "node.start";
65
65
  }>;
66
66
  }, z.core.$strip>, z.ZodObject<{
67
67
  at: z.ZodOptional<z.ZodString>;
@@ -256,8 +256,8 @@ declare const runnerEventBatchSchema: z.ZodObject<{
256
256
  runId: z.ZodString;
257
257
  sequence: z.ZodNumber;
258
258
  type: z.ZodEnum<{
259
- "workflow.start": "workflow.start";
260
259
  "workflow.planned": "workflow.planned";
260
+ "workflow.start": "workflow.start";
261
261
  }>;
262
262
  workflowPlan: z.ZodObject<{
263
263
  edges: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -303,10 +303,10 @@ declare const runnerEventBatchSchema: z.ZodObject<{
303
303
  }>;
304
304
  }, z.core.$strip>;
305
305
  type: z.ZodEnum<{
306
- "node.start": "node.start";
307
- "node.finish": "node.finish";
308
306
  "agent.finish": "agent.finish";
309
307
  "agent.start": "agent.start";
308
+ "node.finish": "node.finish";
309
+ "node.start": "node.start";
310
310
  }>;
311
311
  }, z.core.$strip>, z.ZodObject<{
312
312
  at: z.ZodOptional<z.ZodString>;
@@ -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.1",
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",