Skip to content

Commit fabf696

Browse files
authored
v0.7.18: landing, tools depth, media embeds in md editor, sonnet 5
2 parents 0371856 + ca34301 commit fabf696

764 files changed

Lines changed: 60027 additions & 13629 deletions

File tree

Some content is hidden

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

.agents/skills/design-taste-frontend/SKILL.md

Lines changed: 1206 additions & 0 deletions
Large diffs are not rendered by default.

.agents/skills/emil-design-eng/SKILL.md

Lines changed: 679 additions & 0 deletions
Large diffs are not rendered by default.

.claude/commands/add-block.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -732,6 +732,13 @@ Please provide the SVG and I'll convert it to a React component.
732732
You can usually find this in the service's brand/press kit page, or copy it from their website.
733733
```
734734

735+
When converting the SVG: a **monochrome** logo (single white or black mark) must
736+
use `fill='currentColor'`, never a hardcoded `#fff`/`#000000`. Block icons render
737+
both inside their `bgColor` tile and "bare" on a neutral page (the home Suggested
738+
actions list) in light and dark mode; a hardcoded white/black mark goes invisible
739+
bare on the matching background. Multi-color brand logos keep their own fills.
740+
Verify with `bun run check:bare-icons`.
741+
735742
## Advanced Mode for Optional Fields
736743

737744
Optional fields that are rarely used should be set to `mode: 'advanced'` so they don't clutter the basic UI. This includes:

.claude/commands/add-integration.md

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -279,6 +279,31 @@ Once the user provides the SVG:
279279
2. Create a React component that spreads props
280280
3. Ensure viewBox is preserved from the original SVG
281281

282+
### Theme-safety (bare rendering) — REQUIRED
283+
284+
The icon renders both inside its colored `bgColor` tile AND "bare" (no tile) on a
285+
neutral page — e.g. the home **Suggested actions** list — in both light and dark
286+
mode. A monochrome logo whose paths hardcode a single near-white or near-black
287+
fill is invisible bare on the matching background (white-on-white in light mode,
288+
black-on-black in dark mode).
289+
290+
Rules when adding the SVG:
291+
292+
- **Monochrome logos** (a single white or black mark): draw the shape with
293+
`fill='currentColor'`, not `fill='#fff'` / `fill='#000000'`. It then inherits
294+
white inside dark tiles, near-black inside light tiles (via
295+
`getTileIconColorClass`), and the theme-aware `var(--text-icon)` bare — legible
296+
everywhere. Do NOT set `iconColor` for these.
297+
- **Multi-color brand logos** (their own vivid fills): keep the hardcoded fills.
298+
They read on any background. Only set `iconColor` (a vivid brand hex, never a
299+
near-black/near-white tile color) if the bare icon should adopt a brand tint.
300+
- A large white shape with a tiny vivid accent (e.g. a logo where the body is the
301+
white negative space) still vanishes bare — convert the body to `currentColor`.
302+
303+
Verify with `bun run check:bare-icons` (also runs in CI). It flags purely
304+
monochrome hazards; for partial-accent logos, eyeball the suggested-actions list
305+
in both light and dark mode.
306+
282307
## Step 5: Create Triggers (Optional)
283308

284309
If the service supports webhooks, create triggers using the generic `buildTriggerSubBlocks` helper.
@@ -466,6 +491,7 @@ If creating V2 versions (API-aligned outputs):
466491
- [ ] Asked user to provide SVG
467492
- [ ] Added icon to `components/icons.tsx`
468493
- [ ] Icon spreads props correctly
494+
- [ ] Monochrome marks use `fill='currentColor'` (not hardcoded white/black) so the icon renders bare in light AND dark mode — verified with `bun run check:bare-icons`
469495

470496
### Triggers (if service supports webhooks)
471497
- [ ] Created `triggers/{service}/` directory
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../../.agents/skills/design-taste-frontend

.claude/skills/emil-design-eng

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../../.agents/skills/emil-design-eng

.cursor/rules/constitution.mdc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
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*"]
3+
globs: ["apps/sim/app/(landing)/**", "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*"]
44
---
55

66
# Sim — Language & Positioning

.cursor/rules/landing-seo-geo.mdc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
description: SEO and GEO guidelines for the landing page
3-
globs: ["apps/sim/app/(home)/**/*.tsx"]
3+
globs: ["apps/sim/app/(landing)/**/*.tsx"]
44
---
55
# Landing Page — SEO / GEO
66

.github/workflows/test-build.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,9 @@ jobs:
125125
- name: Client boundary import audit
126126
run: bun run check:client-boundary
127127

128+
- name: Bare-icon theme-safety audit
129+
run: bun run check:bare-icons
130+
128131
- name: Verify realtime prune graph
129132
run: bun run check:realtime-prune
130133

README.md

Lines changed: 34 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212

1313
<p align="center">
1414
<a href="https://sim.ai" target="_blank" rel="noopener noreferrer">
15-
<img src="apps/sim/public/static/readme-hero.gif" alt="Sim — your workflow agent for solving automations. Build, deploy, and manage AI agents visually, conversationally, or with code." width="100%"/>
15+
<img src="apps/sim/public/static/readme-banner.png" alt="Sim — Integrate, Context, Build, and Monitor AI agents" width="100%"/>
1616
</a>
1717
</p>
1818

@@ -35,7 +35,7 @@ Open [http://localhost:3000](http://localhost:3000)
3535
Docker must be installed and running. Use `-p, --port <port>` to run Sim on a different port, or `--no-pull` to skip pulling the latest Docker images.
3636

3737
<p align="center">
38-
<img src="apps/sim/public/static/readme-tour.gif" alt="How Sim worksIntegrate, Context, Build, Monitor — shown end to end: start a chat to build an agent, connect Slack and other integrations, add a knowledge base, build the workflow visually, deploy it, and monitor runs in the logs" width="100%"/>
38+
<img src="apps/sim/public/static/readme-platform.png" alt="The Sim platform — chat on the left, the visual workflow builder on the right" width="100%"/>
3939
</p>
4040

4141
## Capabilities
@@ -46,6 +46,33 @@ Docker must be installed and running. Use `-p, --port <port>` to run Sim on a di
4646
- Ingest files, knowledge bases, and structured table data
4747
- Monitor runs, logs, schedules, and workflow activity
4848

49+
## One workspace, every surface
50+
51+
<p align="center">Chat and workflows are just the start — tables, files, knowledge, and scheduled tasks all live in the same workspace.</p>
52+
53+
<table>
54+
<tr>
55+
<td width="50%" valign="top">
56+
<img src="apps/sim/public/static/readme-tables.png" alt="Tables in Sim — structured data your agents can query" width="100%"/>
57+
<p align="center"><b>Tables</b> — a database, built in</p>
58+
</td>
59+
<td width="50%" valign="top">
60+
<img src="apps/sim/public/static/readme-files.png" alt="Files in Sim — documents for your team and every agent" width="100%"/>
61+
<p align="center"><b>Files</b> — one store for your team and every agent</p>
62+
</td>
63+
</tr>
64+
<tr>
65+
<td width="50%" valign="top">
66+
<img src="apps/sim/public/static/readme-knowledge.png" alt="Knowledge bases in Sim — synced docs your agents can search" width="100%"/>
67+
<p align="center"><b>Knowledge</b> — your agents' memory</p>
68+
</td>
69+
<td width="50%" valign="top">
70+
<img src="apps/sim/public/static/readme-scheduled-tasks.png" alt="Scheduled tasks in Sim — recurring agent runs on a calendar" width="100%"/>
71+
<p align="center"><b>Scheduled tasks</b> — runs on your schedule</p>
72+
</td>
73+
</tr>
74+
</table>
75+
4976
## Self-hosting
5077

5178
### Docker Compose
@@ -120,6 +147,9 @@ See the [environment variables reference](https://docs.sim.ai/self-hosting/envir
120147

121148
## Tech Stack
122149

150+
<details>
151+
<summary>Next.js · Bun · PostgreSQL · Drizzle · Better Auth · Tailwind — and the rest of the stack</summary>
152+
123153
- **Framework**: [Next.js](https://nextjs.org/) (App Router)
124154
- **Runtime**: [Bun](https://bun.sh/)
125155
- **Database**: PostgreSQL with [Drizzle ORM](https://orm.drizzle.team)
@@ -136,6 +166,8 @@ See the [environment variables reference](https://docs.sim.ai/self-hosting/envir
136166
- **Remote Code Execution**: [E2B](https://www.e2b.dev/)
137167
- **Isolated Code Execution**: [isolated-vm](https://github.com/laverdet/isolated-vm)
138168

169+
</details>
170+
139171
## Contributing
140172

141173
We welcome contributions! Please see our [Contributing Guide](.github/CONTRIBUTING.md) for details.

0 commit comments

Comments
 (0)