@opencode-ai/cli
Advanced tools
+13
-13
@@ -9,3 +9,3 @@ { | ||
| }, | ||
| "version": "0.0.0-next-17020", | ||
| "version": "0.0.0-next-17025", | ||
| "license": "MIT", | ||
@@ -26,15 +26,15 @@ "repository": { | ||
| "optionalDependencies": { | ||
| "@opencode-ai/cli-linux-x64": "0.0.0-next-17020", | ||
| "@opencode-ai/cli-darwin-x64-baseline": "0.0.0-next-17020", | ||
| "@opencode-ai/cli-windows-x64-baseline": "0.0.0-next-17020", | ||
| "@opencode-ai/cli-linux-arm64": "0.0.0-next-17020", | ||
| "@opencode-ai/cli-linux-x64-baseline": "0.0.0-next-17020", | ||
| "@opencode-ai/cli-linux-x64-baseline-musl": "0.0.0-next-17020", | ||
| "@opencode-ai/cli-linux-arm64-musl": "0.0.0-next-17020", | ||
| "@opencode-ai/cli-windows-arm64": "0.0.0-next-17020", | ||
| "@opencode-ai/cli-linux-x64-musl": "0.0.0-next-17020", | ||
| "@opencode-ai/cli-darwin-arm64": "0.0.0-next-17020", | ||
| "@opencode-ai/cli-darwin-x64": "0.0.0-next-17020", | ||
| "@opencode-ai/cli-windows-x64": "0.0.0-next-17020" | ||
| "@opencode-ai/cli-linux-arm64-musl": "0.0.0-next-17025", | ||
| "@opencode-ai/cli-linux-x64": "0.0.0-next-17025", | ||
| "@opencode-ai/cli-darwin-x64-baseline": "0.0.0-next-17025", | ||
| "@opencode-ai/cli-darwin-x64": "0.0.0-next-17025", | ||
| "@opencode-ai/cli-linux-arm64": "0.0.0-next-17025", | ||
| "@opencode-ai/cli-windows-x64-baseline": "0.0.0-next-17025", | ||
| "@opencode-ai/cli-windows-x64": "0.0.0-next-17025", | ||
| "@opencode-ai/cli-linux-x64-musl": "0.0.0-next-17025", | ||
| "@opencode-ai/cli-windows-arm64": "0.0.0-next-17025", | ||
| "@opencode-ai/cli-linux-x64-baseline-musl": "0.0.0-next-17025", | ||
| "@opencode-ai/cli-linux-x64-baseline": "0.0.0-next-17025", | ||
| "@opencode-ai/cli-darwin-arm64": "0.0.0-next-17025" | ||
| } | ||
| } |
+12
-2
@@ -122,3 +122,11 @@ #!/usr/bin/env node | ||
| "npm", | ||
| ["install", "--ignore-scripts", "--no-save", "--loglevel=error", "--prefix", temp, `${name}@${dependencies[name]}`], | ||
| [ | ||
| "install", | ||
| "--ignore-scripts", | ||
| "--no-save", | ||
| "--loglevel=error", | ||
| "--prefix", | ||
| temp, | ||
| `${name}@${dependencies[name]}`, | ||
| ], | ||
| { stdio: "inherit", windowsHide: true }, | ||
@@ -154,3 +162,5 @@ ) | ||
| throw new Error(`Failed to install OpenCode. Try manually installing ${names.map((name) => JSON.stringify(name)).join(" or ")}.`) | ||
| throw new Error( | ||
| `Failed to install OpenCode. Try manually installing ${names.map((name) => JSON.stringify(name)).join(" or ")}.`, | ||
| ) | ||
| } | ||
@@ -157,0 +167,0 @@ |
AI-detected potential code anomaly
Supply chain riskAI has identified unusual behaviors that may pose a security risk.
Found 2 instances
6915
1.08%158
6.76%2
-50%