ocpipe 0.5.7 → 0.5.8

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 (2) hide show
  1. package/package.json +2 -2
  2. package/src/predict.ts +2 -2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ocpipe",
3
- "version": "0.5.7",
3
+ "version": "0.5.8",
4
4
  "description": "SDK for LLM pipelines with OpenCode and Zod",
5
5
  "type": "module",
6
6
  "main": "src/index.ts",
@@ -31,7 +31,7 @@
31
31
  "dependencies": {},
32
32
  "peerDependencies": {
33
33
  "zod": "4.3.6",
34
- "@anthropic-ai/claude-agent-sdk": "0.2.20"
34
+ "@anthropic-ai/claude-agent-sdk": "0.2.27"
35
35
  },
36
36
  "peerDependenciesMeta": {
37
37
  "@anthropic-ai/claude-agent-sdk": {
package/src/predict.ts CHANGED
@@ -204,7 +204,7 @@ export class Predict<S extends AnySignature> {
204
204
  model: correctionModel ?? ctx.defaultModel,
205
205
  sessionId: correctionModel ? undefined : sessionId,
206
206
  agent: ctx.defaultAgent,
207
- timeoutSec: 60,
207
+ timeoutSec: ctx.timeoutSec,
208
208
  workdir: ctx.workdir,
209
209
  claudeCode: ctx.claudeCode,
210
210
  signal: ctx.signal,
@@ -281,7 +281,7 @@ export class Predict<S extends AnySignature> {
281
281
  model: correctionModel ?? ctx.defaultModel,
282
282
  sessionId: correctionModel ? undefined : sessionId,
283
283
  agent: ctx.defaultAgent,
284
- timeoutSec: 60, // Short timeout for simple patches
284
+ timeoutSec: ctx.timeoutSec,
285
285
  workdir: ctx.workdir,
286
286
  claudeCode: ctx.claudeCode,
287
287
  signal: ctx.signal,