ocpipe 0.5.15 → 0.5.16
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.
- package/package.json +4 -4
- package/src/claude-code.ts +2 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ocpipe",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.16",
|
|
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.
|
|
34
|
+
"@anthropic-ai/claude-agent-sdk": "0.2.45"
|
|
35
35
|
},
|
|
36
36
|
"peerDependenciesMeta": {
|
|
37
37
|
"@anthropic-ai/claude-agent-sdk": {
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
}
|
|
40
40
|
},
|
|
41
41
|
"devDependencies": {
|
|
42
|
-
"@anthropic-ai/claude-agent-sdk": "^0.2.
|
|
42
|
+
"@anthropic-ai/claude-agent-sdk": "^0.2.45",
|
|
43
43
|
"@eslint/js": "^10.0.1",
|
|
44
44
|
"bun-types": "^1.3.9",
|
|
45
45
|
"eslint": "^10.0.0",
|
|
@@ -48,7 +48,7 @@
|
|
|
48
48
|
"prettier": "^3.8.1",
|
|
49
49
|
"typescript": "^5.0.0",
|
|
50
50
|
"typescript-eslint": "^8.56.0",
|
|
51
|
-
"@typescript/native-preview": "^7.0.0-dev.
|
|
51
|
+
"@typescript/native-preview": "^7.0.0-dev.20260217.1",
|
|
52
52
|
"vitest": "^4.0.18"
|
|
53
53
|
},
|
|
54
54
|
"scripts": {
|
package/src/claude-code.ts
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
* sends SIGTERM immediately, which kills the subprocess before it can persist.
|
|
8
8
|
*
|
|
9
9
|
* See: https://github.com/s4wave/ocpipe/issues/10
|
|
10
|
-
* See: https://github.com/anthropics/
|
|
10
|
+
* See: https://github.com/anthropics/claude-agent-sdk-typescript/issues/177
|
|
11
11
|
*/
|
|
12
12
|
|
|
13
13
|
import { execSync } from 'child_process'
|
|
@@ -68,7 +68,7 @@ function resolveClaudeCodePath(explicit?: string): string | undefined {
|
|
|
68
68
|
try {
|
|
69
69
|
const found = execSync('which claude', { encoding: 'utf8', timeout: 3000 }).trim()
|
|
70
70
|
if (found) return found
|
|
71
|
-
} catch {}
|
|
71
|
+
} catch { /* which not found or timed out — fall through to defaults */ }
|
|
72
72
|
|
|
73
73
|
const defaults = [
|
|
74
74
|
join(homedir(), '.local', 'bin', 'claude'),
|