@opencode-cloud/core
Advanced tools
+1
-1
| [package] | ||
| name = "opencode-cloud-core" | ||
| version = "3.1.5" | ||
| version = "3.1.6" | ||
| edition = "2024" | ||
@@ -5,0 +5,0 @@ rust-version = "1.88" |
+1
-1
| { | ||
| "name": "@opencode-cloud/core", | ||
| "version": "3.1.5", | ||
| "version": "3.1.6", | ||
| "description": "Core NAPI bindings for opencode-cloud (internal package)", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
+9
-1
@@ -83,3 +83,3 @@ # opencode-cloud | ||
| ### From source | ||
| ### From source (install locally) | ||
@@ -89,2 +89,10 @@ ```bash | ||
| cd opencode-cloud | ||
| cargo install --path packages/cli-rust | ||
| ``` | ||
| ### From source (development run) | ||
| ```bash | ||
| git clone https://github.com/pRizz/opencode-cloud.git | ||
| cd opencode-cloud | ||
| just build | ||
@@ -91,0 +99,0 @@ cargo run -p opencode-cloud -- --version |
+10
-2
@@ -19,2 +19,6 @@ //! Docker-specific error types | ||
| /// Docker socket not found | ||
| #[error("Docker socket not found. Is Docker installed and running?")] | ||
| SocketNotFound, | ||
| /// Permission denied accessing Docker socket | ||
@@ -52,5 +56,6 @@ #[error( | ||
| // Detect common error patterns and provide better messages | ||
| if msg.contains("Cannot connect to the Docker daemon") | ||
| if msg.contains("No such file or directory") { | ||
| DockerError::SocketNotFound | ||
| } else if msg.contains("Cannot connect to the Docker daemon") | ||
| || msg.contains("connection refused") | ||
| || msg.contains("No such file or directory") | ||
| { | ||
@@ -75,2 +80,5 @@ DockerError::NotRunning | ||
| let err = DockerError::SocketNotFound; | ||
| assert!(err.to_string().contains("Docker socket not found")); | ||
| let err = DockerError::PermissionDenied; | ||
@@ -77,0 +85,0 @@ assert!(err.to_string().contains("Permission denied")); |
Shell access
Supply chain riskThis module accesses the system shell. Accessing the system shell increases the risk of executing arbitrary code.
Found 1 instance in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
Shell access
Supply chain riskThis module accesses the system shell. Accessing the system shell increases the risk of executing arbitrary code.
Found 1 instance in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
309696
0.15%254
3.25%