Big News: Socket raises $60M Series C at a $1B valuation to secure software supply chains for AI-driven development.Announcement
Sign In

@opencode-cloud/core

Package Overview
Dependencies
Maintainers
1
Versions
90
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@opencode-cloud/core - npm Package Compare versions

Comparing version
3.1.5
to
3.1.6
+1
-1
Cargo.toml
[package]
name = "opencode-cloud-core"
version = "3.1.5"
version = "3.1.6"
edition = "2024"

@@ -5,0 +5,0 @@ rust-version = "1.88"

{
"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",

@@ -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

@@ -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"));