@oisincoveney/pipeline 3.12.0 → 3.12.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.
@@ -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: "1200000"
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",
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
- fail: "fail";
17
16
  pass: "pass";
17
+ fail: "fail";
18
18
  skip: "skip";
19
19
  }>;
20
20
  summary: z.ZodOptional<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
- fail: "fail";
112
111
  pass: "pass";
112
+ fail: "fail";
113
113
  skip: "skip";
114
114
  }>;
115
115
  summary: z.ZodOptional<z.ZodString>;
@@ -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
- fail: "fail";
357
356
  pass: "pass";
357
+ fail: "fail";
358
358
  skip: "skip";
359
359
  }>;
360
360
  summary: z.ZodOptional<z.ZodString>;
@@ -24,13 +24,13 @@ function executeOpencodeEffect(deps, plan, options) {
24
24
  function executeOpencodeSession(deps, plan, options) {
25
25
  return Effect.gen(function* () {
26
26
  return successResult(plan, yield* driveSession(deps, plan, options));
27
- }).pipe(withAgentTimeout(plan), Effect.catchAll((error) => Effect.succeed(failureResult(plan, error))));
27
+ }).pipe(boundByAgentTimeout(plan), Effect.catchAll((error) => Effect.succeed(failureResult(plan, error))));
28
28
  }
29
- function withAgentTimeout(plan) {
29
+ function boundByAgentTimeout(plan) {
30
30
  return (effect) => {
31
31
  const timeoutMs = plan.timeoutMs;
32
32
  if (!timeoutMs || timeoutMs <= 0) return effect;
33
- return Effect.timeoutFail(effect, {
33
+ return Effect.timeoutFail(Effect.disconnect(effect), {
34
34
  duration: Duration.millis(timeoutMs),
35
35
  onTimeout: () => /* @__PURE__ */ new Error(`agent session timed out after ${timeoutMs}ms`)
36
36
  });
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.0",
131
+ "version": "3.12.2",
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",