Self-improving AI Employees for everyone
Python ai-agentsai-employeeai-employeesassistantautonomous-agentsco-employeescompanygrok-botinstinctloop-agentsmuseown-your-datapersonalself-hosted
chore: move every zeenie hostname to opencompany.sh
trohitg7f83e4f5131e
diff --git a/.env b/.envindex 1fda4fc8..2bf1dc1b 100644--- a/.env+++ b/.env@@ -153,7 +153,7 @@ WS_LOGGING_ENABLED=true# GUNICORN_MAX_REQUESTS_JITTER=1000# WebSocket Configuration (For remote Android device connections)-WEBSOCKET_URL=wss://relay.zeenie.xyz/ws+WEBSOCKET_URL=wss://relay.opencompany.sh/wsWEBSOCKET_API_KEY=# AI Proxy Configuration (Ollama-style proxy for Claude Code CLI)diff --git a/.env.template b/.env.templateindex cafcda5d..46c33bf0 100644--- a/.env.template+++ b/.env.template@@ -260,7 +260,7 @@ WS_LOGGING_ENABLED=true# GUNICORN_MAX_REQUESTS_JITTER=1000# WebSocket Configuration (For remote Android device connections)-WEBSOCKET_URL=wss://relay.zeenie.xyz/ws+WEBSOCKET_URL=wss://relay.opencompany.sh/wsWEBSOCKET_API_KEY=# AI Proxy Configuration (Ollama-style proxy for Claude Code CLI)diff --git a/CLAUDE.md b/CLAUDE.mdindex 74d5c83b..863cfa7a 100644--- a/CLAUDE.md+++ b/CLAUDE.md@@ -1779,7 +1779,7 @@ The Android relay system uses a **two-state model** for connection status:| `paired` | Android device has scanned QR and is paired via relay | Green/Red status dot |**Key Concepts:**-- **Relay Connection**: The WebSocket connection to `wss://relay.zeenie.xyz/ws` - can be active without a device+- **Relay Connection**: The WebSocket connection to `wss://relay.opencompany.sh/ws` - can be active without a device- **Device Pairing**: An Android device scans the QR code and pairs - required for service execution- **Android service nodes require pairing**, not just relay connection, to executediff --git a/README.md b/README.mdindex cb137c32..b8f61484 100644--- a/README.md+++ b/README.md@@ -11,7 +11,7 @@OpenCompany is an open-source, self-hosted canvas for AI agent workflows — think n8n, built agent-first. Drag, drop, and connect AI agents to your email, calendar, messages, browser, phone, and 30 other services, with 132 nodes across 27 categories to build from. No code required. No subscription. No usage limits. Bring your own API keys, or run models locally with Ollama / LM Studio for free.-**[Read the docs →](https://docs.zeenie.xyz)**+**[Read the docs →](https://docs.opencompany.sh)**## Quick Start@@ -161,7 +161,7 @@ Want to add a node, LLM provider, skill, or integration? One Python file = one n- **[server/nodes/README.md](server/nodes/README.md)** — 5-minute plugin recipe + folder map- **[docs-internal/](docs-internal/)** — deep-dive architecture docs (execution engine, Temporal, LLM layer, credentials, event system, performance, build pipeline)- **[CLAUDE.md](CLAUDE.md)** — comprehensive project memory (great for AI-assisted contributions)-- **Hosted docs:** https://docs.zeenie.xyz/+- **Hosted docs:** https://docs.opencompany.sh/- **DeepWiki:** https://deepwiki.com/zeenie-ai/OpenCompany## Contributingdiff --git a/bin/cli.js b/bin/cli.jsindex 76eb579d..f88d3d7b 100755--- a/bin/cli.js+++ b/bin/cli.js@@ -49,7 +49,7 @@ Examples:company build # Build for productionCompatibility: the legacy \`machina\` command remains available but is deprecated.-Documentation: https://docs.zeenie.xyz/+Documentation: https://docs.opencompany.sh/`);}diff --git a/docs-internal/ci_cd.md b/docs-internal/ci_cd.mdindex 2cb5b04d..c7ac703a 100644--- a/docs-internal/ci_cd.md+++ b/docs-internal/ci_cd.md@@ -29,7 +29,7 @@ The repo currently ships **three workflows** plus one composite action. A number> Documentation is NOT deployed from this repo: the Mintlify docs live in> the separate [zeenie-ai/docs-OpenCompany](https://github.com/zeenie-ai/docs-OpenCompany)-> repo and auto-deploy to docs.zeenie.xyz via the Mintlify GitHub app+> repo and auto-deploy to docs.opencompany.sh via the Mintlify GitHub app> (that repo's own workflow only runs `mintlify validate` + broken-links).### Workflow summary@@ -134,7 +134,7 @@ There is currently no audit gate, no PyPI publish, no SLSA `attest-build-provena## Documentation deployment (separate repo)-The public Mintlify docs (docs.zeenie.xyz) live in the separate+The public Mintlify docs (docs.opencompany.sh) live in the separate[zeenie-ai/docs-OpenCompany](https://github.com/zeenie-ai/docs-OpenCompany)repo. Deployment happens automatically via the Mintlify GitHub app onpushes to that repo's `main`; its own workflow only validatesdiff --git a/docs-internal/credentials_panel.md b/docs-internal/credentials_panel.mdindex bd0e1c64..69b20761 100644--- a/docs-internal/credentials_panel.md+++ b/docs-internal/credentials_panel.md@@ -346,7 +346,7 @@ Provider × table examples:`encrypt(plaintext) -> str` / `decrypt(ciphertext) -> str`. Decryption raises `ValueError` on tampering/wrong-key, `RuntimeError` if `initialize()` was never called.### 4.5 Runtime redirect URI derivation-[server/services/oauth_utils.py](../server/services/oauth_utils.py) `get_redirect_uri(connection, provider)` derives the OAuth callback URI from the live `WebSocket.base_url` (or `Request.base_url`) — converting `ws(s)` to `http(s)` and appending the path from `config/google_apis.json`. No hardcoded hostnames or ports. Works in dev (`http://localhost:5678/api/google/callback`) and prod (`https://flow.zeenie.xyz/api/google/callback`) without env vars.+[server/services/oauth_utils.py](../server/services/oauth_utils.py) `get_redirect_uri(connection, provider)` derives the OAuth callback URI from the live `WebSocket.base_url` (or `Request.base_url`) — converting `ws(s)` to `http(s)` and appending the path from `config/google_apis.json`. No hardcoded hostnames or ports. Works in dev (`http://localhost:5678/api/google/callback`) and prod (`https://flow.opencompany.sh/api/google/callback`) without env vars.---diff --git a/docs-internal/deployment_legacy.md b/docs-internal/deployment_legacy.mdindex e3abc779..731160c6 100644--- a/docs-internal/deployment_legacy.md+++ b/docs-internal/deployment_legacy.md@@ -193,7 +193,7 @@ services:### Nginx Configuration-Located at `/etc/nginx/sites-available/flow.zeenie.xyz`:+Located at `/etc/nginx/sites-available/flow.opencompany.sh`:- Frontend: `/` -> `http://127.0.0.1:3000`- Backend API: `/api/` -> `http://127.0.0.1:3010/api/`- WebSocket: `/ws/` -> `http://127.0.0.1:3010/ws/` (with upgrade headers)diff --git a/docs-internal/design-system/IMPLEMENTATION.md b/docs-internal/design-system/IMPLEMENTATION.mdindex 656ff073..1cc7f1a9 100644--- a/docs-internal/design-system/IMPLEMENTATION.md+++ b/docs-internal/design-system/IMPLEMENTATION.md@@ -1,6 +1,6 @@# OpenCompany Design System — Claude Code Implementation Guide-This bundle is the **OpenCompany (zeenie.ai) design system**: real design tokens, reference React components, full-screen UI-kit recreations, and foundation/theme documentation. Hand it to Claude Code to implement OpenCompany-branded UI in a real codebase.+This bundle is the **OpenCompany (opencompany.sh) design system**: real design tokens, reference React components, full-screen UI-kit recreations, and foundation/theme documentation. Hand it to Claude Code to implement OpenCompany-branded UI in a real codebase.> **What these files are.** `styles.css` + everything under `tokens/` is **production-ready CSS** — ship it as-is. Everything under `components/`, `ui_kits/`, and `guidelines/` is a **design reference**: faithful prototypes (React with inline styles that read the CSS variables) showing the intended look, anatomy, and behavior. Recreate them in the target codebase's own environment and patterns (your component library, your styling system) rather than copying verbatim. If there's no environment yet, React + plain CSS variables is the path of least resistance because the components are already written that way.diff --git a/docs-internal/design-system/SKILL.md b/docs-internal/design-system/SKILL.mdindex 4679e3a3..3def6d28 100644--- a/docs-internal/design-system/SKILL.md+++ b/docs-internal/design-system/SKILL.md@@ -1,6 +1,6 @@---name: opencompany-design-description: Use this skill to generate well-branded interfaces and assets for OpenCompany (zeenie.ai), either for production or throwaway prototypes/mocks/etc. Contains essential design guidelines, colors, type, fonts, assets, and UI kit components for prototyping.+description: Use this skill to generate well-branded interfaces and assets for OpenCompany (opencompany.sh), either for production or throwaway prototypes/mocks/etc. Contains essential design guidelines, colors, type, fonts, assets, and UI kit components for prototyping.user-invocable: true---@@ -9,7 +9,7 @@ If creating visual artifacts (slides, mocks, throwaway prototypes, etc), copy asIf the user invokes this skill without any other guidance, ask them what they want to build or design, ask some questions, and act as an expert designer who outputs HTML artifacts _or_ production code, depending on the need.Key facts:-- OpenCompany is zeenie.ai's local-first AI workflow OS — a visual node canvas where users wire AI agents to email, WhatsApp, Android phones, browsers, and 50+ services.+- OpenCompany is opencompany.sh's local-first AI workflow OS — a visual node canvas where users wire AI agents to email, WhatsApp, Android phones, browsers, and 50+ services.- Link `styles.css` for all tokens; add `class="dark"` on `<html>` for the signature neutral-slate-dark + Dracula-neon look (the default for product UI).- Color is semantic: action intents (run=green, stop=pink, save=cyan, config=orange, secret=yellow, tools=purple) and node roles (agent=purple, model=cyan, tool=green, trigger=pink, workflow=orange) — always as soft tints (8–15% fill, 30–60% border, full-strength text), never solid neon fills.- Type: Geist (Google Fonts), 14px base, sentence case, terse copy; JetBrains Mono for counts/state/timestamps.diff --git a/docs-internal/design-system/guidelines/wordmark.html b/docs-internal/design-system/guidelines/wordmark.htmlindex d15e6f9c..7d8725b9 100644--- a/docs-internal/design-system/guidelines/wordmark.html+++ b/docs-internal/design-system/guidelines/wordmark.html@@ -12,7 +12,7 @@</div><div><div style="font-family: var(--font-sans); font-size: 26px; font-weight: 600; color: var(--fg-default); letter-spacing: -0.01em;">OpenCompany</div>- <div style="font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.04em; color: var(--fg-muted);">by zeenie.ai</div>+ <div style="font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.04em; color: var(--fg-muted);">by opencompany.sh</div></div></div></body>diff --git a/docs-internal/design-system/readme.md b/docs-internal/design-system/readme.mdindex a5a831ce..7496040d 100644--- a/docs-internal/design-system/readme.md+++ b/docs-internal/design-system/readme.md@@ -1,15 +1,15 @@-# OpenCompany Design System (zeenie.ai)+# OpenCompany Design System (opencompany.sh)-Design system for **OpenCompany** — zeenie.ai's open-source, local-first AI workflow OS. "Your own AI assistant that does real work": users drag, drop, and connect AI agents to email, calendar, messages, phone, and 50+ services on a visual node canvas, then run or deploy workflows that keep running in the background. No code, no subscription; bring your own API keys or run models locally.+Design system for **OpenCompany** — opencompany.sh's open-source, local-first AI workflow OS. "Your own AI assistant that does real work": users drag, drop, and connect AI agents to email, calendar, messages, phone, and 50+ services on a visual node canvas, then run or deploy workflows that keep running in the background. No code, no subscription; bring your own API keys or run models locally.**Sources** (explore these to design even better against this product):- GitHub: https://github.com/zeenie-ai/OpenCompany — primary source. Key design files: `client/src/index.css` (all color/role tokens), `client/src/themes/{base,light,dark}.css` (contract tokens: surfaces, type, motion), `client/tailwind.config.js`, `client/src/components/ui/` (TopToolbar, ComponentPalette, ActionButton, StatusBar, WorkflowSidebar…), `client/src/components/SquareNode.tsx` (canvas node anatomy), `client/src/assets/icons/index.ts` (icon resolver).-- Hosted docs: https://docs.zeenie.xyz/ · DeepWiki: https://deepwiki.com/zeenie-ai/OpenCompany+- Hosted docs: https://docs.opencompany.sh/ · DeepWiki: https://deepwiki.com/zeenie-ai/OpenCompany- Reference screenshot: `assets/product-canvas-screenshot.png` (real product — dark canvas, neon nodes, WhatsApp automation demo).## Product surfaces1. **OpenCompany app** (`localhost:3000`) — the core product. A three-zone desktop workspace: workflow sidebar (left), node canvas (center), component palette (right), top toolbar, bottom status bar, multi-tab console dock. Recreated in `ui_kits/opencompany/`.-2. **Marketing/docs** (zeenie.ai, docs.zeenie.xyz) — not in the repo; no UI kit was fabricated for them. Use the foundations here plus the README voice when designing those.+2. **Marketing/docs** (opencompany.sh, docs.opencompany.sh) — not in the repo; no UI kit was fabricated for them. Use the foundations here plus the README voice when designing those.The app ships 12 visual themes (light, dark, Renaissance, Cyber, Edo, Steampunk…). This design system encodes the two canonical ones: **light** (default `:root`) and **dark** (`class="dark"` — the signature look used in every screenshot and demo).@@ -19,7 +19,7 @@ The app ships 12 visual themes (light, dark, Renaissance, Cyber, Edo, Steampunk**Voice: confident, concrete, slightly conspiratorial about doing less work.** The README sells outcomes, not features: "doing the work you'd rather not", "Agent teams that delegate", "Code execution that's actually safe".-- **Second person, possessive.** "Your own AI assistant", "your data stays with you", "your machine". The product is *yours*; zeenie.ai rarely says "we".+- **Second person, possessive.** "Your own AI assistant", "your data stays with you", "your machine". The product is *yours*; opencompany.sh rarely says "we".- **Short declarative fragments for value props.** "No code required. No subscription. No usage limits."- **Sentence case everywhere** — headings ("What You Can Build" is Title Case in README headers, but UI copy is sentence case: "No workflows yet", "Create your first workflow to get started"). Buttons are single words or short verb phrases: **Start**, **Stop**, **Save**, **New Workflow**, **Apply All**.- **UI microcopy is terse and systemy.** Status bar reads like a shell prompt: `ONLINE | WF: Test | NODES: 12 | THEME: DARK | 14:02:33`. States: "Saved" / "Modified". Tooltips are full sentences: "Override all agent nodes in this workflow to use the selected model".@@ -80,6 +80,6 @@ The app ships 12 visual themes (light, dark, Renaissance, Cyber, Edo, Steampunk## Caveats- **Fonts substituted:** Geist served from Google Fonts instead of the app's bundled `@fontsource-variable/geist` (same typeface, different delivery). Drop real `.woff2` files into `tokens/` + add `@font-face` if pixel-exact metrics matter.- **No official logo found in the repo** (favicon is the Vite placeholder; README hero is a GitHub user-attachment). The wordmark card sets "OpenCompany" in Geist 600 as a stand-in — replace with the real mark when available.-- zeenie.ai marketing site isn't in the repo; no marketing UI kit was invented.+- opencompany.sh marketing site isn't in the repo; no marketing UI kit was invented.- The app's 10 themed skins are analyzed in `guidelines/THEMES.md` (token contract, per-theme matrix, porting recipe) with sources in `reference/themes/` — but only light/dark are encoded as live token scopes here. Ask to port a skin (e.g. Cyber) into `tokens/` if you want it usable.- **Motion** is documented in `guidelines/ANIMATIONS.md` and encoded in `tokens/animations.css` (per-theme `--dur`/`--ease`/`--motion-style` scopes + signature keyframes for all 12 themes). Live demo: `guidelines/animations-all-themes.html`.diff --git a/docs-internal/gcp_vm_deploy_runbook.md b/docs-internal/gcp_vm_deploy_runbook.mdindex e3c74628..ea17f0c2 100644--- a/docs-internal/gcp_vm_deploy_runbook.md+++ b/docs-internal/gcp_vm_deploy_runbook.md@@ -6,7 +6,7 @@ Written to be executable by an AI agent (or a human) with no other context.This is the manual path — it does NOT use `company deploy` / Terraform(`cli/commands/deploy/`, `cli/terraform/`). It was derived from a real deployment to-`demo.zeenie.xyz` (June 2026, before the scoped-package cutover) and encodes every pitfall hit on the way.+`demo.opencompany.sh` (June 2026, before the scoped-package cutover) and encodes every pitfall hit on the way.Re-validated July 2026 against `0.0.95` with an **IP-only variant** (no Cloudflare /domain — skip step 4): pitfalls 2 and 3 are fixed in `>= 0.0.95` (annotated below),and pitfalls 11-13 were added from that run.@@ -24,9 +24,9 @@ Decide these up front; they appear in commands below as `<PLACEHOLDERS>`.| `<VM_NAME>` | `demo` | Instance name || `<REGION>` / `<ZONE>` | `asia-south1` / `asia-south1-a` | Mumbai. Any region works || `<IP_NAME>` | `opencompany-india-ip` | Name for the reserved static IP |-| `<DOMAIN>` | `demo.zeenie.xyz` | Must be a subdomain of a zone in the Cloudflare account |+| `<DOMAIN>` | `demo.opencompany.sh` | Must be a subdomain of a zone in the Cloudflare account || `<SUBDOMAIN>` | `demo` | The record name within the zone |-| `<OWNER_EMAIL>` | `[email protected]` | Login email for the owner account |+| `<OWNER_EMAIL>` | `[email protected]` | Login email for the owner account || `<OWNER_PASSWORD>` | (generated) | >= 8 chars; generate 20-char alphanumeric if not supplied || `<JWT_KEY>` `<SECRET_KEY>` `<ENC_KEY>` | (generated) | Three independent 48-hex secrets |@@ -304,7 +304,7 @@ JSON `--body` (individual flags like `--type/--name` are NOT supported):```bashcf zones list # find the zone; grab account id from the outputcf context set account-id <ACCOUNT_ID>-cf context set zone <ZONE_DOMAIN> # e.g. zeenie.xyz+cf context set zone <ZONE_DOMAIN> # e.g. opencompany.shcf dns records list # check the name is freecf dns records create --body '{"type":"A","name":"<SUBDOMAIN>","content":"<STATIC_IP>","proxied":true,"ttl":1,"comment":"OpenCompany VM <ZONE> (gcloud, opencompany@latest)"}'```diff --git a/docs-internal/status_broadcaster.md b/docs-internal/status_broadcaster.mdindex 24671ba8..a31c7709 100644--- a/docs-internal/status_broadcaster.md+++ b/docs-internal/status_broadcaster.md@@ -164,7 +164,7 @@ Android support uses a two-state model because a relay WebSocket can be connecte| State | Meaning | Frontend behavior ||---|---|---|-| `connected` | Relay WebSocket to `wss://relay.zeenie.xyz/ws` is active | Not shown directly |+| `connected` | Relay WebSocket to `wss://relay.opencompany.sh/ws` is active | Not shown directly || `paired` | Android app has scanned QR and established session | Green dot on Android nodes |```diff --git a/server/services/oauth_utils.py b/server/services/oauth_utils.pyindex 92383961..cbd11b85 100644--- a/server/services/oauth_utils.py+++ b/server/services/oauth_utils.py@@ -8,7 +8,7 @@ from each plugin's ``__init__.py``); the base URL (scheme + host + port) comesfrom the connection itself.ws://localhost:5678/ws/status -> http://localhost:5678/api/google/callback- wss://flow.zeenie.xyz/ws/status -> https://flow.zeenie.xyz/api/google/callback+ wss://flow.opencompany.sh/ws/status -> https://flow.opencompany.sh/api/google/callbackhttp://localhost:5678/api/google -> http://localhost:5678/api/google/callback"""diff --git a/server/tests/credentials/test_oauth_utils.py b/server/tests/credentials/test_oauth_utils.pyindex e583f2b7..5a98937b 100644--- a/server/tests/credentials/test_oauth_utils.py+++ b/server/tests/credentials/test_oauth_utils.py@@ -27,7 +27,7 @@ class TestGetBaseUrl:assert get_base_url(_conn("ws://localhost:5678/ws/status")) == "http://localhost:5678"def test_wss_scheme_becomes_https(self):- assert get_base_url(_conn("wss://flow.zeenie.xyz/ws/status")) == "https://flow.zeenie.xyz"+ assert get_base_url(_conn("wss://flow.opencompany.sh/ws/status")) == "https://flow.opencompany.sh"def test_http_scheme_preserved(self):assert get_base_url(_conn("http://localhost:5678/api/google")) == "http://localhost:5678"@@ -58,8 +58,8 @@ class TestGetRedirectUri:@patch("services.oauth_utils.get_oauth_callback_path")def test_twitter_prod_https(self, mock_lookup):mock_lookup.return_value = "/api/twitter/callback"- uri = get_redirect_uri(_conn("wss://flow.zeenie.xyz/ws/status"), "twitter")- assert uri == "https://flow.zeenie.xyz/api/twitter/callback"+ uri = get_redirect_uri(_conn("wss://flow.opencompany.sh/ws/status"), "twitter")+ assert uri == "https://flow.opencompany.sh/api/twitter/callback"mock_lookup.assert_called_once_with("twitter")def test_unknown_provider_falls_back_to_default_path(self):