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

@connectai/selfhost

Package Overview
Dependencies
Maintainers
2
Versions
15
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.7
to
0.1.8
+3
-3
assets/docker-compose.selfhost.yml

@@ -99,3 +99,3 @@ # ConnectAI self-host stack — IMAGE-BASED variant (no source clone).

# via the loop-svc command override below).
image: ghcr.io/connectai-os/connectai-app:${CONNECTAI_IMAGE_TAG:-v0.1.1}
image: ghcr.io/connectai-os/connectai-app:${CONNECTAI_IMAGE_TAG:-v0.1.7}
restart: unless-stopped

@@ -140,3 +140,3 @@ depends_on:

loop-svc:
image: ghcr.io/connectai-os/connectai-app:${CONNECTAI_IMAGE_TAG:-v0.1.1}
image: ghcr.io/connectai-os/connectai-app:${CONNECTAI_IMAGE_TAG:-v0.1.7}
command: ["/app/app-entrypoint.sh", "worker"]

@@ -176,3 +176,3 @@ restart: unless-stopped

console:
image: ghcr.io/connectai-os/connectai-console:${CONNECTAI_IMAGE_TAG:-v0.1.1}
image: ghcr.io/connectai-os/connectai-console:${CONNECTAI_IMAGE_TAG:-v0.1.7}
restart: unless-stopped

@@ -179,0 +179,0 @@ depends_on:

@@ -14,3 +14,3 @@ // Shared constants for the @connectai/selfhost CLI.

// still override it with --tag / CONNECTAI_IMAGE_TAG.
export const DEFAULT_IMAGE_TAG = 'v0.1.1'
export const DEFAULT_IMAGE_TAG = 'v0.1.7'

@@ -17,0 +17,0 @@ // CON-94 right-sized local defaults: a small chat model + the 1024-dim embedder.

{
"name": "@connectai/selfhost",
"version": "0.1.7",
"version": "0.1.8",
"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",

@@ -40,3 +40,3 @@ # @connectai/selfhost

3. **Generate `.env`**: copies the example, then fills the secrets with a CSPRNG (`crypto.randomBytes`): `INFISICAL_*`, **`ENCRYPTION_SECRET`** (32 bytes / 64 hex), and a strong **`POSTGRES_PASSWORD`** (with `DATABASE_URL` updated to match). Written `chmod 600`. **Idempotent**: it never overwrites a value you already set, and a second run is a no-op. Secrets are local-only: never logged, never transmitted.
4. **Boot**: delegates to the bundled `up.sh`, which `docker compose pull`s the prebuilt images, brings up Infisical, provisions the vault identity, brings up the full stack, and waits for the API `/health` + the console. By default the installer runs the first-party GHCR images at the pinned, pullable tag **`v0.1.1`**: the merged backend image `ghcr.io/connectai-os/connectai-app:v0.1.1` (used by both api + worker roles) plus `ghcr.io/connectai-os/connectai-console:v0.1.1`. You can override the release with `--tag` / `CONNECTAI_IMAGE_TAG`. It also pulls the pinned support images from the compose bundle: `infisical/infisical:v0.159.28`, `pgvector/pgvector:pg16`, `postgres:16-alpine`, `redis:7-alpine`, and `ollama/ollama:latest`.
4. **Boot**: delegates to the bundled `up.sh`, which `docker compose pull`s the prebuilt images, brings up Infisical, provisions the vault identity, brings up the full stack, and waits for the API `/health` + the console. By default the installer runs the first-party GHCR images at the pinned, pullable tag **`v0.1.7`**: the merged backend image `ghcr.io/connectai-os/connectai-app:v0.1.7` (used by both api + worker roles) plus `ghcr.io/connectai-os/connectai-console:v0.1.7`. You can override the release with `--tag` / `CONNECTAI_IMAGE_TAG`. It also pulls the pinned support images from the compose bundle: `infisical/infisical:v0.159.28`, `pgvector/pgvector:pg16`, `postgres:16-alpine`, `redis:7-alpine`, and `ollama/ollama:latest`.
5. **Pull models** (`qwen2.5:1.5b` chat + `mxbai-embed-large` embed) into the bundled Ollama. **Soft-fail**: a pull error warns and points at the wizard, it never fails the install.

@@ -72,3 +72,3 @@ 6. **Print** the console URL, the setup-token command, and the next step.

| `--no-pull` | skip the model pull |
| `--tag <tag>` | GHCR image tag to run (default: `v0.1.1`; also `CONNECTAI_IMAGE_TAG`) |
| `--tag <tag>` | GHCR image tag to run (default: `v0.1.7`; also `CONNECTAI_IMAGE_TAG`) |
| `--yes`, `-y` | non-interactive (already the default; accepted for CI) |

@@ -89,3 +89,3 @@

- **localhost is the v1 target.** The packaged installer is the fastest path for a same-box eval. The prebuilt console image bakes its API base URL at publish time to `http://localhost:4000`, which is correct for localhost. Serving the prebuilt console for a remote origin needs extra setup; use [`SELF_HOSTING.md`](../../SELF_HOSTING.md) before trying to expose this packaged path on a real domain.
- The packaged installer defaults to the verified `v0.1.1` release tag. If you override it, keep the same tag across your operator docs and rollout notes.
- The packaged installer defaults to the verified `v0.1.7` release tag. If you override it, keep the same tag across your operator docs and rollout notes.
- The first run downloads several GB (images + models) and can take a few minutes; re-runs are fast and idempotent.

@@ -92,0 +92,0 @@ - This is a thin front door over the same hardened `up.sh` boot engine used by a source checkout; it does not re-implement orchestration.