Skip to content

Commit 4309d06

Browse files
authored
v0.6.37: audit logs page, isolated-vm worker rotation, permission groups ui
2 parents cbfab1c + 85f1d96 commit 4309d06

File tree

277 files changed

+3638
-2508
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

277 files changed

+3638
-2508
lines changed

.claude/commands/add-trigger.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -423,7 +423,6 @@ export const {service}PollingTrigger: TriggerConfig = {
423423
subBlocks: [
424424
{ id: 'triggerCredentials', type: 'oauth-input', title: 'Credentials', serviceId: '{service}', requiredScopes: [], required: true, mode: 'trigger', supportsCredentialSets: true },
425425
// ... service-specific config fields (dropdowns, inputs, switches) ...
426-
{ id: 'triggerSave', type: 'trigger-save', title: '', hideFromPreview: true, mode: 'trigger', triggerId: '{service}_poller' },
427426
{ id: 'triggerInstructions', type: 'text', title: 'Setup Instructions', hideFromPreview: true, mode: 'trigger', defaultValue: '...' },
428427
],
429428

@@ -486,7 +485,6 @@ Add to `helm/sim/values.yaml` under the existing polling cron jobs:
486485
- [ ] Handler implements `PollingProviderHandler` at `lib/webhooks/polling/{service}.ts`
487486
- [ ] Trigger config has `polling: true` and defines subBlocks manually (no `buildTriggerSubBlocks`)
488487
- [ ] Provider string matches across: trigger config, handler, `POLLING_PROVIDERS`, polling registry
489-
- [ ] `triggerSave` subBlock `triggerId` matches trigger config `id`
490488
- [ ] First poll seeds state and emits nothing
491489
- [ ] Added provider to `POLLING_PROVIDERS` in `triggers/constants.ts`
492490
- [ ] Added handler to `POLLING_HANDLERS` in `lib/webhooks/polling/registry.ts`

.claude/rules/constitution.md

Lines changed: 71 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,71 @@
1+
# Sim — Language & Positioning
2+
3+
When editing user-facing copy (landing pages, docs, metadata, marketing), follow these rules.
4+
5+
## Identity
6+
7+
Sim is the **AI workspace** where teams build and run AI agents. Not a workflow tool, not an agent framework, not an automation platform.
8+
9+
**Short definition:** Sim is the open-source AI workspace where teams build, deploy, and manage AI agents.
10+
11+
**Full definition:** Sim is the open-source AI workspace where teams build, deploy, and manage AI agents. Connect 1,000+ integrations and every major LLM to create agents that automate real work — visually, conversationally, or with code.
12+
13+
## Audience
14+
15+
**Primary:** Teams building AI agents for their organization — IT, operations, and technical teams who need governance, security, lifecycle management, and collaboration.
16+
17+
**Secondary:** Individual builders and developers who care about speed, flexibility, and open source.
18+
19+
## Required Language
20+
21+
| Concept | Use | Never use |
22+
|---------|-----|-----------|
23+
| The product | "AI workspace" | "workflow tool", "automation platform", "agent framework" |
24+
| Building | "build agents", "create agents" | "create workflows" (unless describing the workflow module specifically) |
25+
| Visual builder | "workflow builder" or "visual builder" | "canvas", "graph editor" |
26+
| Mothership | "Mothership" (capitalized) | "chat", "AI assistant", "copilot" |
27+
| Deployment | "deploy", "ship" | "publish", "activate" |
28+
| Audience | "teams", "builders" | "users", "customers" (in marketing copy) |
29+
| What agents do | "automate real work" | "automate tasks", "automate workflows" |
30+
| Our advantage | "open-source AI workspace" | "open-source platform" |
31+
32+
## Tone
33+
34+
- **Direct.** Short sentences. Active voice. Lead with what it does.
35+
- **Concrete.** Name specific things — "Slack bots, compliance agents, data pipelines" — not abstractions.
36+
- **Confident, not loud.** No exclamation marks or superlatives.
37+
- **Simple.** If a 16-year-old can't understand the sentence, rewrite it.
38+
39+
## Claim Hierarchy
40+
41+
When describing Sim, always lead with the most differentiated claim:
42+
43+
1. **What it is:** "The AI workspace for teams"
44+
2. **What you do:** "Build, deploy, and manage AI agents"
45+
3. **How:** "Visually, conversationally, or with code"
46+
4. **Scale:** "1,000+ integrations, every major LLM"
47+
5. **Trust:** "Open source. SOC2. Trusted by 100,000+ builders."
48+
49+
## Module Descriptions
50+
51+
| Module | One-liner |
52+
|--------|-----------|
53+
| **Mothership** | Your AI command center. Build and manage everything in natural language. |
54+
| **Workflows** | The visual builder. Connect blocks, models, and integrations into agent logic. |
55+
| **Knowledge Base** | Your agents' memory. Upload docs, sync sources, build vector databases. |
56+
| **Tables** | A database, built in. Store, query, and wire structured data into agent runs. |
57+
| **Files** | Upload, create, and share. One store for your team and every agent. |
58+
| **Logs** | Full visibility, every run. Trace execution block by block. |
59+
60+
## What We Never Say
61+
62+
- Never call Sim "just a workflow tool"
63+
- Never compare only on integration count — we win on AI-native capabilities
64+
- Never use "no-code" as the primary descriptor — say "visually, conversationally, or with code"
65+
- Never promise unshipped features
66+
- Never use jargon ("RAG", "vector database", "MCP") without plain-English explanation on public pages
67+
- Avoid "agentic workforce" as a primary term — use "AI agents"
68+
69+
## Vision
70+
71+
Sim becomes the default environment where teams build AI agents — not a tool you visit for one task, but a workspace you live in. Workflows are one module; Mothership is another. The workspace is the constant; the interface adapts.

.cursor/commands/add-trigger.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -418,7 +418,6 @@ export const {service}PollingTrigger: TriggerConfig = {
418418
subBlocks: [
419419
{ id: 'triggerCredentials', type: 'oauth-input', title: 'Credentials', serviceId: '{service}', requiredScopes: [], required: true, mode: 'trigger', supportsCredentialSets: true },
420420
// ... service-specific config fields (dropdowns, inputs, switches) ...
421-
{ id: 'triggerSave', type: 'trigger-save', title: '', hideFromPreview: true, mode: 'trigger', triggerId: '{service}_poller' },
422421
{ id: 'triggerInstructions', type: 'text', title: 'Setup Instructions', hideFromPreview: true, mode: 'trigger', defaultValue: '...' },
423422
],
424423

@@ -481,7 +480,6 @@ Add to `helm/sim/values.yaml` under the existing polling cron jobs:
481480
- [ ] Handler implements `PollingProviderHandler` at `lib/webhooks/polling/{service}.ts`
482481
- [ ] Trigger config has `polling: true` and defines subBlocks manually (no `buildTriggerSubBlocks`)
483482
- [ ] Provider string matches across: trigger config, handler, `POLLING_PROVIDERS`, polling registry
484-
- [ ] `triggerSave` subBlock `triggerId` matches trigger config `id`
485483
- [ ] First poll seeds state and emits nothing
486484
- [ ] Added provider to `POLLING_PROVIDERS` in `triggers/constants.ts`
487485
- [ ] Added handler to `POLLING_HANDLERS` in `lib/webhooks/polling/registry.ts`

.cursor/rules/constitution.mdc

Lines changed: 76 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,76 @@
1+
---
2+
description: Sim product language, positioning, and tone guidelines
3+
globs: ["apps/sim/app/(landing)/**", "apps/sim/app/(home)/**", "apps/docs/**", "apps/sim/app/manifest.ts", "apps/sim/app/sitemap.ts", "apps/sim/app/robots.ts", "apps/sim/app/llms.txt/**", "apps/sim/app/llms-full.txt/**", "apps/sim/app/(landing)/**/structured-data*", "apps/docs/**/structured-data*", "**/metadata*", "**/seo*"]
4+
---
5+
6+
# Sim — Language & Positioning
7+
8+
When editing user-facing copy (landing pages, docs, metadata, marketing), follow these rules.
9+
10+
## Identity
11+
12+
Sim is the **AI workspace** where teams build and run AI agents. Not a workflow tool, not an agent framework, not an automation platform.
13+
14+
**Short definition:** Sim is the open-source AI workspace where teams build, deploy, and manage AI agents.
15+
16+
**Full definition:** Sim is the open-source AI workspace where teams build, deploy, and manage AI agents. Connect 1,000+ integrations and every major LLM to create agents that automate real work — visually, conversationally, or with code.
17+
18+
## Audience
19+
20+
**Primary:** Teams building AI agents for their organization — IT, operations, and technical teams who need governance, security, lifecycle management, and collaboration.
21+
22+
**Secondary:** Individual builders and developers who care about speed, flexibility, and open source.
23+
24+
## Required Language
25+
26+
| Concept | Use | Never use |
27+
|---------|-----|-----------|
28+
| The product | "AI workspace" | "workflow tool", "automation platform", "agent framework" |
29+
| Building | "build agents", "create agents" | "create workflows" (unless describing the workflow module specifically) |
30+
| Visual builder | "workflow builder" or "visual builder" | "canvas", "graph editor" |
31+
| Mothership | "Mothership" (capitalized) | "chat", "AI assistant", "copilot" |
32+
| Deployment | "deploy", "ship" | "publish", "activate" |
33+
| Audience | "teams", "builders" | "users", "customers" (in marketing copy) |
34+
| What agents do | "automate real work" | "automate tasks", "automate workflows" |
35+
| Our advantage | "open-source AI workspace" | "open-source platform" |
36+
37+
## Tone
38+
39+
- **Direct.** Short sentences. Active voice. Lead with what it does.
40+
- **Concrete.** Name specific things — "Slack bots, compliance agents, data pipelines" — not abstractions.
41+
- **Confident, not loud.** No exclamation marks or superlatives.
42+
- **Simple.** If a 16-year-old can't understand the sentence, rewrite it.
43+
44+
## Claim Hierarchy
45+
46+
When describing Sim, always lead with the most differentiated claim:
47+
48+
1. **What it is:** "The AI workspace for teams"
49+
2. **What you do:** "Build, deploy, and manage AI agents"
50+
3. **How:** "Visually, conversationally, or with code"
51+
4. **Scale:** "1,000+ integrations, every major LLM"
52+
5. **Trust:** "Open source. SOC2. Trusted by 100,000+ builders."
53+
54+
## Module Descriptions
55+
56+
| Module | One-liner |
57+
|--------|-----------|
58+
| **Mothership** | Your AI command center. Build and manage everything in natural language. |
59+
| **Workflows** | The visual builder. Connect blocks, models, and integrations into agent logic. |
60+
| **Knowledge Base** | Your agents' memory. Upload docs, sync sources, build vector databases. |
61+
| **Tables** | A database, built in. Store, query, and wire structured data into agent runs. |
62+
| **Files** | Upload, create, and share. One store for your team and every agent. |
63+
| **Logs** | Full visibility, every run. Trace execution block by block. |
64+
65+
## What We Never Say
66+
67+
- Never call Sim "just a workflow tool"
68+
- Never compare only on integration count — we win on AI-native capabilities
69+
- Never use "no-code" as the primary descriptor — say "visually, conversationally, or with code"
70+
- Never promise unshipped features
71+
- Never use jargon ("RAG", "vector database", "MCP") without plain-English explanation on public pages
72+
- Avoid "agentic workforce" as a primary term — use "AI agents"
73+
74+
## Vision
75+
76+
Sim becomes the default environment where teams build AI agents — not a tool you visit for one task, but a workspace you live in. Workflows are one module; Mothership is another. The workspace is the constant; the interface adapts.

apps/docs/app/[lang]/[[...slug]]/page.tsx

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -280,12 +280,12 @@ export async function generateMetadata(props: {
280280
title: data.title,
281281
description:
282282
data.description ||
283-
'Documentation for Sim — the open-source platform to build AI agents and run your agentic workforce.',
283+
'Documentation for Sim — the open-source AI workspace where teams build, deploy, and manage AI agents.',
284284
keywords: [
285285
'AI agents',
286-
'agentic workforce',
287-
'AI agent platform',
288-
'agentic workflows',
286+
'AI workspace',
287+
'AI agent builder',
288+
'build AI agents',
289289
'LLM orchestration',
290290
'AI automation',
291291
'knowledge base',
@@ -300,7 +300,7 @@ export async function generateMetadata(props: {
300300
title: data.title,
301301
description:
302302
data.description ||
303-
'Documentation for Sim — the open-source platform to build AI agents and run your agentic workforce.',
303+
'Documentation for Sim — the open-source AI workspace where teams build, deploy, and manage AI agents.',
304304
url: fullUrl,
305305
siteName: 'Sim Documentation',
306306
type: 'article',
@@ -322,7 +322,7 @@ export async function generateMetadata(props: {
322322
title: data.title,
323323
description:
324324
data.description ||
325-
'Documentation for Sim — the open-source platform to build AI agents and run your agentic workforce.',
325+
'Documentation for Sim — the open-source AI workspace where teams build, deploy, and manage AI agents.',
326326
images: [ogImageUrl],
327327
creator: '@simdotai',
328328
site: '@simdotai',

apps/docs/app/[lang]/layout.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ export default async function Layout({ children, params }: LayoutProps) {
6666
'@type': 'WebSite',
6767
name: 'Sim Documentation',
6868
description:
69-
'Documentation for Sim — the open-source platform to build AI agents and run your agentic workforce. Connect 1,000+ integrations and LLMs to deploy and orchestrate agentic workflows.',
69+
'Documentation for Sim — the open-source AI workspace where teams build, deploy, and manage AI agents. Connect 1,000+ integrations and every major LLM.',
7070
url: 'https://docs.sim.ai',
7171
publisher: {
7272
'@type': 'Organization',

apps/docs/app/layout.tsx

Lines changed: 10 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -14,29 +14,27 @@ export const viewport: Viewport = {
1414
export const metadata = {
1515
metadataBase: new URL('https://docs.sim.ai'),
1616
title: {
17-
default: 'Sim Documentation — Build AI Agents & Run Your Agentic Workforce',
17+
default: 'Sim Documentation — The AI Workspace for Teams',
1818
template: '%s | Sim Docs',
1919
},
2020
description:
21-
'Documentation for Sim — the open-source platform to build AI agents and run your agentic workforce. Connect 1,000+ integrations and LLMs to deploy and orchestrate agentic workflows.',
21+
'Documentation for Sim — the open-source AI workspace where teams build, deploy, and manage AI agents. Connect 1,000+ integrations and every major LLM.',
2222
applicationName: 'Sim Docs',
2323
generator: 'Next.js',
2424
referrer: 'origin-when-cross-origin' as const,
2525
keywords: [
26+
'AI workspace',
27+
'AI agent builder',
2628
'AI agents',
27-
'agentic workforce',
28-
'AI agent platform',
29+
'build AI agents',
2930
'open-source AI agents',
30-
'agentic workflows',
3131
'LLM orchestration',
3232
'AI integrations',
3333
'knowledge base',
3434
'AI automation',
35-
'workflow builder',
36-
'AI workflow orchestration',
35+
'visual workflow builder',
3736
'enterprise AI',
3837
'AI agent deployment',
39-
'intelligent automation',
4038
'AI tools',
4139
],
4240
authors: [{ name: 'Sim Team', url: 'https://sim.ai' }],
@@ -65,9 +63,9 @@ export const metadata = {
6563
alternateLocale: ['es_ES', 'fr_FR', 'de_DE', 'ja_JP', 'zh_CN'],
6664
url: 'https://docs.sim.ai',
6765
siteName: 'Sim Documentation',
68-
title: 'Sim Documentation — Build AI Agents & Run Your Agentic Workforce',
66+
title: 'Sim Documentation — The AI Workspace for Teams',
6967
description:
70-
'Documentation for Sim — the open-source platform to build AI agents and run your agentic workforce. Connect 1,000+ integrations and LLMs to deploy and orchestrate agentic workflows.',
68+
'Documentation for Sim — the open-source AI workspace where teams build, deploy, and manage AI agents. Connect 1,000+ integrations and every major LLM.',
7169
images: [
7270
{
7371
url: 'https://docs.sim.ai/api/og?title=Sim%20Documentation',
@@ -79,9 +77,9 @@ export const metadata = {
7977
},
8078
twitter: {
8179
card: 'summary_large_image',
82-
title: 'Sim Documentation — Build AI Agents & Run Your Agentic Workforce',
80+
title: 'Sim Documentation — The AI Workspace for Teams',
8381
description:
84-
'Documentation for Sim — the open-source platform to build AI agents and run your agentic workforce. Connect 1,000+ integrations and LLMs to deploy and orchestrate agentic workflows.',
82+
'Documentation for Sim — the open-source AI workspace where teams build, deploy, and manage AI agents. Connect 1,000+ integrations and every major LLM.',
8583
creator: '@simdotai',
8684
site: '@simdotai',
8785
images: ['https://docs.sim.ai/api/og?title=Sim%20Documentation'],

apps/docs/app/llms.txt/route.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,9 @@ export async function GET() {
3737

3838
const manifest = `# Sim Documentation
3939
40-
> The open-source platform to build AI agents and run your agentic workforce.
40+
> The open-source AI workspace where teams build, deploy, and manage AI agents.
4141
42-
Sim is the open-source platform to build AI agents and run your agentic workforce. Connect 1,000+ integrations and LLMs to deploy and orchestrate agentic workflows. Create agents, workflows, knowledge bases, tables, and docs. Trusted by over 100,000 builders.
42+
Sim is the open-source AI workspace where teams build, deploy, and manage AI agents. Connect 1,000+ integrations and every major LLM to create agents that automate real work — visually, conversationally, or with code. Trusted by over 100,000 builders.
4343
4444
## Documentation Overview
4545

apps/docs/components/structured-data.tsx

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -70,10 +70,11 @@ export function StructuredData({
7070
'@context': 'https://schema.org',
7171
'@type': 'SoftwareApplication',
7272
name: 'Sim',
73-
applicationCategory: 'DeveloperApplication',
73+
applicationCategory: 'BusinessApplication',
74+
applicationSubCategory: 'AI Workspace',
7475
operatingSystem: 'Any',
7576
description:
76-
'Sim is the open-source platform to build AI agents and run your agentic workforce. Connect 1,000+ integrations and LLMs to deploy and orchestrate agentic workflows. Create agents, workflows, knowledge bases, tables, and docs.',
77+
'Sim is the open-source AI workspace where teams build, deploy, and manage AI agents. Connect 1,000+ integrations and every major LLM to create agents that automate real work.',
7778
url: baseUrl,
7879
author: {
7980
'@type': 'Organization',
@@ -84,8 +85,9 @@ export function StructuredData({
8485
category: 'Developer Tools',
8586
},
8687
featureList: [
87-
'AI agent creation',
88-
'Agentic workflow orchestration',
88+
'AI workspace for teams',
89+
'Mothership — natural language agent creation',
90+
'Visual workflow builder',
8991
'1,000+ integrations',
9092
'LLM orchestration (OpenAI, Anthropic, Google, xAI, Mistral, Perplexity)',
9193
'Knowledge base creation',

apps/docs/content/docs/en/enterprise/index.mdx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,9 @@ For self-hosted deployments, enterprise features can be enabled via environment
6969
| `ACCESS_CONTROL_ENABLED`, `NEXT_PUBLIC_ACCESS_CONTROL_ENABLED` | Permission groups for access restrictions |
7070
| `SSO_ENABLED`, `NEXT_PUBLIC_SSO_ENABLED` | Single Sign-On with SAML/OIDC |
7171
| `CREDENTIAL_SETS_ENABLED`, `NEXT_PUBLIC_CREDENTIAL_SETS_ENABLED` | Polling Groups for email triggers |
72+
| `INBOX_ENABLED`, `NEXT_PUBLIC_INBOX_ENABLED` | Sim Mailer inbox for outbound email |
73+
| `WHITELABELING_ENABLED`, `NEXT_PUBLIC_WHITELABELING_ENABLED` | Custom branding and white-labeling |
74+
| `AUDIT_LOGS_ENABLED`, `NEXT_PUBLIC_AUDIT_LOGS_ENABLED` | Audit logging for compliance and monitoring |
7275
| `DISABLE_INVITATIONS`, `NEXT_PUBLIC_DISABLE_INVITATIONS` | Globally disable workspace/organization invitations |
7376

7477
### Organization Management

0 commit comments

Comments
 (0)