Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .claude/rules/sim-styling.md
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ The chip family is the canonical chrome: `ChipInput`, `ChipTextarea`, `ChipModal
- **Errors** → `error` prop. Never `className={cn(err && 'border-[var(--text-error)]')}`.
- **Leading icon** → `icon` prop (rendered 14px in `--text-icon`).
- **Trailing buttons** (reveal/copy/fetch) → `endAdornment`.
- **Inner-input styling** (e.g. `font-mono`, number-spinner reset) → `inputClassName` (ChipInput only). See `ee/whitelabeling/components/whitelabeling-settings.tsx`.
- **Inner-input styling** (e.g. `font-mono`, number-spinner reset) → `inputClassName` (ChipInput only).
- **`ChipModalField` controls take NO className.** Pass `title`/`value`/`onChange`/`error`/`hint`/`required`/`flush`. The field owns label, control, and error/hint rendering. See `app/workspace/[workspaceId]/skills/components/skill-modal/skill-modal.tsx`.

### What className MAY carry
Expand Down
2 changes: 1 addition & 1 deletion .cursor/rules/sim-styling.mdc
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ The chip family is the canonical chrome: `ChipInput`, `ChipTextarea`, `ChipModal
- **Errors** → `error` prop. Never `className={cn(err && 'border-[var(--text-error)]')}`.
- **Leading icon** → `icon` prop (rendered 14px in `--text-icon`).
- **Trailing buttons** (reveal/copy/fetch) → `endAdornment`.
- **Inner-input styling** (e.g. `font-mono`, number-spinner reset) → `inputClassName` (ChipInput only). See `ee/whitelabeling/components/whitelabeling-settings.tsx`.
- **Inner-input styling** (e.g. `font-mono`, number-spinner reset) → `inputClassName` (ChipInput only).
- **`ChipModalField` controls take NO className.** Pass `title`/`value`/`onChange`/`error`/`hint`/`required`/`flush`. The field owns label, control, and error/hint rendering. See `app/workspace/[workspaceId]/skills/components/skill-modal/skill-modal.tsx`.

### What className MAY carry
Expand Down
3 changes: 1 addition & 2 deletions apps/docs/content/docs/platform/enterprise/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: Enterprise
description: Configure organization access, provisioning, security, and operations
---

Sim Enterprise adds controls for organization access, member provisioning, security, operations, and branding. On Sim Cloud, these features require an Enterprise subscription. Organization owners and admins manage organization controls in **Settings → Organization**.
Sim Enterprise adds controls for organization access, member provisioning, security, and operations. On Sim Cloud, these features require an Enterprise subscription. Organization owners and admins manage organization controls in **Settings → Organization**.

| Feature | Use it to |
| --- | --- |
Expand All @@ -19,7 +19,6 @@ Sim Enterprise adds controls for organization access, member provisioning, secur
| [Data drains](/platform/enterprise/data-drains) | Export logs and Chat records to your own destination |
| [Custom blocks](/platform/enterprise/custom-blocks) | Share a workflow as a block across the organization |
| [Workspace forks](/platform/enterprise/forks) | Copy a workspace and sync deployed workflow changes |
| [White-labeling](/platform/enterprise/whitelabeling) | Configure organization branding |

## Self-hosted setup

Expand Down
3 changes: 1 addition & 2 deletions apps/docs/content/docs/platform/enterprise/meta.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,7 @@
"audit-logs",
"usage-tracking",
"data-retention",
"data-drains",
"whitelabeling"
"data-drains"
],
"defaultOpen": false
}
17 changes: 4 additions & 13 deletions apps/docs/content/docs/platform/enterprise/self-hosted.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import { Callout } from '@/components/ui/callout'
import { Step, Steps } from '@/components/ui/steps'
import { Tab, Tabs } from '@/components/ui/tabs'

On a self-hosted deployment with billing disabled, enable enterprise features through environment variables. Then create an organization and attach its workspaces: branding, PII redaction, permission groups, custom blocks, data drains, and organization audit scope depend on the organization that owns a workspace.
On a self-hosted deployment with billing disabled, enable enterprise features through environment variables. Then create an organization and attach its workspaces: PII redaction, permission groups, custom blocks, data drains, and organization audit scope depend on the organization that owns a workspace.

This guide covers the standard billing-disabled configuration. If billing is enabled, subscription gates apply and instance-organization variables are ignored.

Expand Down Expand Up @@ -144,15 +144,7 @@ curl "https://sim.example.com/api/v1/admin/dashboard/workspaces/$WORKSPACE_ID/mo

Use the Settings UI or these API requests:

<Tabs items={['Branding', 'Data retention', 'Session policy']}>
<Tab value="Branding">
```bash
curl -X PATCH https://sim.example.com/api/v1/admin/organizations/$ORG_ID/whitelabel \
-H "x-admin-key: $ADMIN_API_KEY" \
-H "Content-Type: application/json" \
-d '{"brandName": "Acme AI", "hidePoweredBySim": true}'
```
</Tab>
<Tabs items={['Data retention', 'Session policy']}>
<Tab value="Data retention">
```bash
curl -X PATCH https://sim.example.com/api/v1/admin/organizations/$ORG_ID/data-retention \
Expand Down Expand Up @@ -244,7 +236,7 @@ OAuth token cleanup removes expired and revoked credentials independently of sig

## Feature flag reference

Explicit individual flags override the master switch, including when set to `false`. With billing disabled and no enterprise flags set, custom branding, session policies, and the Sim Mailer inbox remain enabled by default. Other features require opt-in.
Explicit individual flags override the master switch, including when set to `false`. With billing disabled and no enterprise flags set, session policies and the Sim Mailer inbox remain enabled by default. Other features require opt-in.

| Feature | Server variable | Browser variable |
| --- | --- | --- |
Expand All @@ -253,7 +245,6 @@ Explicit individual flags override the master switch, including when set to `fal
| Permission groups | `ACCESS_CONTROL_ENABLED` | `NEXT_PUBLIC_ACCESS_CONTROL_ENABLED` |
| SAML and OIDC sign-in | `SSO_ENABLED` | `NEXT_PUBLIC_SSO_ENABLED` |
| Directory provisioning | `SCIM_ENABLED` | `NEXT_PUBLIC_SCIM_ENABLED` |
| Custom branding — enabled by default | `WHITELABELING_ENABLED` | `NEXT_PUBLIC_WHITELABELING_ENABLED` |
| Audit logs | `AUDIT_LOGS_ENABLED` | `NEXT_PUBLIC_AUDIT_LOGS_ENABLED` |
| Insights | `USAGE_MONITORING_ENABLED` | `NEXT_PUBLIC_USAGE_MONITORING_ENABLED` |
| Custom blocks | `CUSTOM_BLOCKS_ENABLED` | `NEXT_PUBLIC_CUSTOM_BLOCKS_ENABLED` |
Expand Down Expand Up @@ -289,7 +280,7 @@ To inspect workspace ownership:
SELECT id, name, workspace_mode, organization_id FROM workspace;
```

A workspace with `personal` mode or a null `organization_id` does not inherit organization branding, PII redaction, permission groups, or drains.
A workspace with `personal` mode or a null `organization_id` does not inherit organization PII redaction, permission groups, or drains.

## Related docs

Expand Down
117 changes: 0 additions & 117 deletions apps/docs/content/docs/platform/enterprise/whitelabeling.mdx

This file was deleted.

2 changes: 1 addition & 1 deletion apps/docs/content/docs/platform/self-hosting/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ ENTERPRISE_ENABLED=true
NEXT_PUBLIC_ENTERPRISE_ENABLED=true
```

Organizations, SSO, permission groups, audit logs, whitelabeling, session policies, retention, and data drains also need their feature-specific configuration. Most read settings from the organization that owns a workspace. Enabling the suite can enable retention processing; review the configured policy before turning it on.
Organizations, SSO, permission groups, audit logs, session policies, retention, and data drains also need their feature-specific configuration. Most read settings from the organization that owns a workspace. Enabling the suite can enable retention processing; review the configured policy before turning it on.

See [Self-hosted enterprise features](/platform/enterprise/self-hosted) for organization setup, per-feature flags, and billing-enabled differences.

Expand Down
6 changes: 6 additions & 0 deletions apps/docs/lib/redirects.ts
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,12 @@ const PATH_REDIRECTS: DocsRedirect[] = [
// copilot deprecated and removed
{ source: '/copilot', destination: '/chat', permanent: true },
{ source: '/copilot/:path*', destination: '/chat', permanent: true },
// white-labeling removed
{
source: '/platform/enterprise/whitelabeling',
destination: '/platform/enterprise',
permanent: true,
},
// mothership/* renamed to chat/* — the surface is "Chat", the agent is "Sim"
{ source: '/mothership', destination: '/chat', permanent: true },
{ source: '/mothership/:path*', destination: '/chat/:path*', permanent: true },
Expand Down
120 changes: 1 addition & 119 deletions apps/docs/scripts/fixtures/content-baseline.json
Original file line number Diff line number Diff line change
Expand Up @@ -169941,7 +169941,6 @@
"/platform/enterprise/data-drains",
"/platform/enterprise/custom-blocks",
"/platform/enterprise/forks",
"/platform/enterprise/whitelabeling",
"/platform/enterprise/self-hosted"
],
"media": []
Expand Down Expand Up @@ -171057,13 +171056,6 @@
"bytes": 179,
"line": 132
},
{
"lang": "bash",
"meta": null,
"sha256": "5f943c8dc3ae17edeee35961bc6c1c53d8b2f5cb9b1100941cb813c552358c34",
"bytes": 220,
"line": 145
},
{
"lang": "bash",
"meta": null,
Expand Down Expand Up @@ -171750,115 +171742,6 @@
}
]
},
{
"source": "platform/enterprise/whitelabeling.mdx",
"url": "/platform/enterprise/whitelabeling",
"sha256": "a159e4c7f51e4110cb75bcf01107c0cf36c35bdb6d2377476986dcec5ad6414e",
"bytes": 5696,
"frontmatter": {
"title": "White-labeling",
"description": "Set organization branding or a self-hosted deployment's default identity, colors, and links"
},
"headings": [
{
"title": "Configure organization branding",
"url": "#configure-organization-branding",
"depth": 2
},
{
"title": "Identity",
"url": "#identity",
"depth": 3
},
{
"title": "Colors",
"url": "#colors",
"depth": 3
},
{
"title": "Links",
"url": "#links",
"depth": 3
},
{
"title": "Scope and fallback",
"url": "#scope-and-fallback",
"depth": 2
},
{
"title": "Instance-wide branding",
"url": "#instance-wide-branding",
"depth": 2
},
{
"title": "Identity variables",
"url": "#identity-variables",
"depth": 3
},
{
"title": "Color variables",
"url": "#color-variables",
"depth": 3
},
{
"title": "Link variables",
"url": "#link-variables",
"depth": 3
},
{
"title": "Serve assets on Kubernetes",
"url": "#serve-assets-on-kubernetes",
"depth": 3
},
{
"title": "Related docs",
"url": "#related-docs",
"depth": 2
}
],
"explicitIds": [],
"imports": [],
"components": [],
"expressions": [],
"codeFences": [
{
"lang": "bash",
"meta": null,
"sha256": "8e80f47a93dcce528eb103fa840efe537ec09a49a2866f2848cfca56b0f4d219",
"bytes": 227,
"line": 56
},
{
"lang": "bash",
"meta": null,
"sha256": "4913154073ff05d86b2a8aee6597f8822ad68280ac52c4d619e447c2bfba4095",
"bytes": 222,
"line": 68
},
{
"lang": "bash",
"meta": null,
"sha256": "b4a7bebd4c1cd1a2bbe88a2c7941e44688512aa8e0695032868cb7ac9484548e",
"bytes": 188,
"line": 80
},
{
"lang": "yaml",
"meta": null,
"sha256": "e9721cad54b2890cb2e9598b82ac45dd7e5e7f95fdd8c729d7c9e5fa1f09067d",
"bytes": 287,
"line": 93
}
],
"links": [
"#instance-wide-branding",
"/platform/enterprise/self-hosted",
"/platform/enterprise/self-hosted",
"/platform/self-hosting/kubernetes",
"/platform/self-hosting/security"
],
"media": []
},
{
"source": "platform/organization.mdx",
"url": "/platform/organization",
Expand Down Expand Up @@ -232204,8 +232087,7 @@
"audit-logs",
"usage-tracking",
"data-retention",
"data-drains",
"whitelabeling"
"data-drains"
],
"defaultOpen": false
},
Expand Down
Loading
Loading