🚀 Socket Launch Week Day 5:Introducing Repository Access Permissions and Custom Roles.Learn more
Sign In

@connectai/selfhost

Package Overview
Dependencies
Maintainers
2
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@connectai/selfhost - npm Package Compare versions

Comparing version
0.1.6
to
0.1.7
+3
-3
lib/models.js

@@ -10,9 +10,9 @@ // Pull the local inference models into the bundled Ollama. SOFT-FAIL by contract

function pullOne(dir, model) {
export function pullOne(dir, model, { spawnImpl = spawn, composeEnvImpl = composeEnv } = {}) {
return new Promise((resolve) => {
// `docker compose exec -T ollama ollama pull <model>` streams progress to the
// inherited stdout. -T disables TTY allocation (safe in non-interactive runs).
const child = spawn('docker', [...composeArgs(dir), 'exec', '-T', 'ollama', 'ollama', 'pull', model], {
const child = spawnImpl('docker', [...composeArgs(dir), 'exec', '-T', 'ollama', 'ollama', 'pull', model], {
stdio: 'inherit',
env: composeEnv(),
env: composeEnvImpl(dir),
})

@@ -19,0 +19,0 @@ child.on('error', () => resolve(false))

{
"name": "@connectai/selfhost",
"version": "0.1.6",
"version": "0.1.7",
"description": "One-command self-host installer for ConnectAI. Takes a clean machine (only Docker + Node) to a running, health-checked company-brain in one command, with no source clone and no local image build: `npx @connectai/selfhost run`. Bundles the image-based docker-compose stack + boot scripts, generates a strong .env (CSPRNG ENCRYPTION_SECRET + POSTGRES_PASSWORD), boots the stack, and soft-pulls the local inference models.",

@@ -5,0 +5,0 @@ "type": "module",