Skip to content

Commit 802767e

Browse files
committed
feat(docs): update favicon, fix icon contrast, add integration intros
- replace docs favicon/icon assets with new sim logo - fix light-tile icon contrast in BlockInfoCard so icons like Daytona no longer render invisible (white-on-white); matches sim toolbar's brightness-based contrast logic - add missing MANUAL-CONTENT-START:intro sections to 30 integration docs pages that lacked context/links
1 parent f60d41a commit 802767e

41 files changed

Lines changed: 406 additions & 3 deletions

Some content is hidden

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

apps/docs/app/favicon.ico

-10.4 KB
Binary file not shown.

apps/docs/components/ui/block-info-card.tsx

Lines changed: 32 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,22 +9,52 @@ interface BlockInfoCardProps {
99
icon?: React.ComponentType<{ className?: string }>
1010
}
1111

12+
/**
13+
* Brightness above which a tile background is "clearly light" and a white
14+
* foreground icon would wash out. Mirrors apps/sim's LIGHT_TILE_THRESHOLD
15+
* (blocks/icon-color.ts) so monochrome `currentColor` icons (e.g. Daytona,
16+
* Notion) stay legible on white/pale tiles instead of white-on-white.
17+
*/
18+
const LIGHT_TILE_THRESHOLD = 0.75
19+
20+
function isLightTileColor(color: string): boolean {
21+
const hex = color.trim().replace('#', '').toLowerCase()
22+
let r: number
23+
let g: number
24+
let b: number
25+
if (/^[0-9a-f]{3}$/.test(hex)) {
26+
r = Number.parseInt(hex[0] + hex[0], 16)
27+
g = Number.parseInt(hex[1] + hex[1], 16)
28+
b = Number.parseInt(hex[2] + hex[2], 16)
29+
} else if (/^[0-9a-f]{6}$/.test(hex)) {
30+
r = Number.parseInt(hex.slice(0, 2), 16)
31+
g = Number.parseInt(hex.slice(2, 4), 16)
32+
b = Number.parseInt(hex.slice(4, 6), 16)
33+
} else {
34+
return false
35+
}
36+
return (0.299 * r + 0.587 * g + 0.114 * b) / 255 > LIGHT_TILE_THRESHOLD
37+
}
38+
1239
export function BlockInfoCard({
1340
type,
1441
color,
1542
icon: IconComponent,
1643
}: BlockInfoCardProps): React.ReactNode {
1744
const ResolvedIcon = IconComponent || blockTypeToIconMap[type] || null
45+
const iconColorClass = isLightTileColor(color) ? 'text-black' : 'text-white'
1846

1947
return (
2048
<div
2149
className='mb-6 flex items-center justify-center overflow-hidden rounded-lg p-8'
2250
style={{ background: color }}
2351
>
2452
{ResolvedIcon ? (
25-
<ResolvedIcon className='size-10 text-white' />
53+
<ResolvedIcon className={`size-10 ${iconColorClass}`} />
2654
) : (
27-
<div className='font-mono text-white text-xl opacity-70'>{type.substring(0, 2)}</div>
55+
<div className={`font-mono text-xl opacity-70 ${iconColorClass}`}>
56+
{type.substring(0, 2)}
57+
</div>
2858
)}
2959
</div>
3060
)

apps/docs/content/docs/en/integrations/brandfetch.mdx

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,19 @@ import { BlockInfoCard } from "@/components/ui/block-info-card"
1010
color="#000000"
1111
/>
1212

13+
{/* MANUAL-CONTENT-START:intro */}
14+
[Brandfetch](https://brandfetch.com/) is a brand data API that provides logos, colors, fonts, and firmographic information for companies, looked up by domain, stock ticker, ISIN, or crypto symbol.
15+
16+
With Brandfetch, you can:
17+
18+
- **Retrieve brand assets**: Pull logos, icons, and symbols in multiple formats and themes for a given brand
19+
- **Get brand style data**: Access brand colors and fonts, including type, theme, and origin
20+
- **Look up company info**: Retrieve firmographic data such as employees, location, and industries, along with a data quality score
21+
- **Search for brands**: Find brands by name and get back their domains and icons
22+
23+
In Sim, the Brandfetch integration allows your agents to look up a brand's logos, colors, fonts, links, and company data by domain, ticker, ISIN, or crypto symbol, or search for a brand by name to find its domain and icon. This lets agents automate tasks like enriching company records with brand assets, verifying brand identity details, or sourcing logos and color palettes for design and reporting workflows.
24+
{/* MANUAL-CONTENT-END */}
25+
1326
## Usage Instructions
1427

1528
Integrate Brandfetch into your workflow. Retrieve brand logos, colors, fonts, and company data by domain, ticker, or name search.

apps/docs/content/docs/en/integrations/brightdata.mdx

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,20 @@ import { BlockInfoCard } from "@/components/ui/block-info-card"
1010
color="#FFFFFF"
1111
/>
1212

13+
{/* MANUAL-CONTENT-START:intro */}
14+
[Bright Data](https://brightdata.com/) is a web data platform that provides tools for scraping, searching, and extracting structured data from websites at scale, bypassing anti-bot protections, CAPTCHAs, and IP blocks along the way.
15+
16+
With Bright Data, you can:
17+
18+
- **Scrape any URL**: Fetch page content through Web Unlocker, with automatic anti-bot bypassing and optional Markdown conversion
19+
- **Search the web**: Query Google, Bing, DuckDuckGo, or Yandex through the SERP API and get structured results
20+
- **Discover content by intent**: Run AI-powered searches that rank results by relevance to a stated goal, with optional cleaned page content for RAG
21+
- **Run pre-built scrapers**: Trigger one of 660+ dataset scrapers for platforms like Amazon, LinkedIn, and Instagram, either synchronously for quick jobs or asynchronously via snapshots for larger ones
22+
23+
In Sim, the Bright Data integration allows your agents to scrape web pages, run search-engine queries, discover and rank content by intent, and trigger structured data extraction jobs against sites like Amazon and LinkedIn. Agents can check the status of async scraping jobs, download completed snapshot results, and cancel jobs still in progress—making it possible to build workflows that gather, monitor, and retrieve web data end to end.
24+
{/* MANUAL-CONTENT-END */}
25+
26+
1327
## Usage Instructions
1428

1529
Integrate Bright Data into the workflow. Scrape any URL with Web Unlocker, search Google and other engines with SERP API, discover web content ranked by intent, or trigger pre-built scrapers for structured data extraction.

apps/docs/content/docs/en/integrations/codepipeline.mdx

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,19 @@ import { BlockInfoCard } from "@/components/ui/block-info-card"
1010
color="linear-gradient(45deg, #2E27AD 0%, #527FFF 100%)"
1111
/>
1212

13+
{/* MANUAL-CONTENT-START:intro */}
14+
[AWS CodePipeline](https://aws.amazon.com/codepipeline/) is a continuous delivery service that automates the build, test, and deploy phases of software release pipelines. It orchestrates pipeline stages and actions, tracking execution status, source revisions, and approval steps across a release process.
15+
16+
With this integration, you can:
17+
18+
- **Inspect pipelines**: List pipelines, retrieve a pipeline's stage and action structure, and check its current execution state
19+
- **Track executions**: Get details on a specific execution or list recent executions and action-level history, including status, triggers, and source revisions
20+
- **Control pipeline flow**: Start or stop executions, retry failed stages, and approve or reject pending manual approval actions
21+
- **Manage stage transitions**: Disable or re-enable artifact transitions into or out of a stage to freeze or resume a pipeline
22+
23+
In Sim, the AWS CodePipeline integration allows your agents to monitor and control release pipelines programmatically — listing pipelines and their structure, checking execution and action status, starting or stopping executions, retrying failed stages, approving or rejecting manual approvals, and enabling or disabling stage transitions. This lets your agents build deployment automation and approval workflows that respond to pipeline state in real time.
24+
{/* MANUAL-CONTENT-END */}
25+
1326
## Usage Instructions
1427

1528
Integrate AWS CodePipeline into workflows. Start, stop, and monitor pipeline executions, retry failed stages, and approve or reject manual approval actions. Requires AWS access key and secret access key.

apps/docs/content/docs/en/integrations/context_dev.mdx

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,19 @@ import { BlockInfoCard } from "@/components/ui/block-info-card"
1010
color="#ffffff"
1111
/>
1212

13+
{/* MANUAL-CONTENT-START:intro */}
14+
[Context.dev](https://context.dev/) is a web data API that scrapes, crawls, searches, and extracts data from the web, and resolves brand and company data from a domain, name, email, ticker, or transaction descriptor.
15+
16+
With Context.dev, you can:
17+
18+
- **Scrape and crawl pages**: Convert URLs to clean markdown or HTML, capture screenshots, discover images, crawl entire sites, and map sitemaps
19+
- **Search the web**: Run natural language searches with domain filters and optional markdown scraping of results
20+
- **Extract structured data**: Pull data matching a JSON schema, or detect and extract product details and catalogs from a page or domain
21+
- **Analyze brand and design data**: Extract a domain's fonts and design system, classify a brand into NAICS/SIC industry codes, and resolve brand data (logos, colors, socials, address) from a domain, company name, email, ticker, or transaction descriptor
22+
23+
In Sim, the Context.dev integration allows your agents to scrape and crawl web pages into markdown or HTML, capture screenshots, search the web, extract structured data and product information, pull a site's fonts and style guide, classify a brand's industry, and look up brand assets and company details by domain, name, email, ticker, or transaction — all through a single set of API calls in your workflow.
24+
{/* MANUAL-CONTENT-END */}
25+
1326
## Usage Instructions
1427

1528
Integrate Context.dev into the workflow. Scrape pages to markdown or HTML, capture screenshots, list images, crawl entire sites, map sitemaps, search the web, extract structured data and products, pull design systems, classify industries, and retrieve brand assets by domain, name, email, ticker, or transaction — all from one API.

apps/docs/content/docs/en/integrations/crowdstrike.mdx

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,18 @@ import { BlockInfoCard } from "@/components/ui/block-info-card"
1010
color="#E01F3D"
1111
/>
1212

13+
{/* MANUAL-CONTENT-START:intro */}
14+
[CrowdStrike](https://www.crowdstrike.com/) is a cybersecurity platform providing endpoint protection, threat intelligence, and identity security through its Falcon suite. This integration connects to the Falcon Identity Protection API to query sensor data.
15+
16+
With this integration, you can:
17+
18+
- **Search sensors**: Query CrowdStrike identity protection sensors by hostname, IP, or related fields using Falcon Query Language filters
19+
- **Fetch sensor details**: Retrieve documented sensor details, including protection status, policy assignments, and protocol configuration, for one or more device IDs
20+
- **Run sensor aggregates**: Execute documented JSON aggregate queries to summarize sensor data into buckets and metrics
21+
22+
In Sim, the CrowdStrike integration allows your agents to search identity protection sensors, look up detailed sensor records by device ID, and run aggregate queries against sensor data—all authenticated with a Falcon API client ID and secret against a specified cloud region. This lets agents surface device protection status, policy coverage, and protocol configuration (Kerberos, LDAP, NTLM, RDP, SMB) as part of security monitoring and reporting workflows.
23+
{/* MANUAL-CONTENT-END */}
24+
1325
## Usage Instructions
1426

1527
Integrate CrowdStrike Identity Protection into workflows to search sensors, fetch documented sensor details by device ID, and run documented sensor aggregate queries.

apps/docs/content/docs/en/integrations/deployments.mdx

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,16 @@ import { BlockInfoCard } from "@/components/ui/block-info-card"
1010
color="#0C0C0C"
1111
/>
1212

13+
{/* MANUAL-CONTENT-START:intro */}
14+
Deployments is Sim's built-in system for taking a workflow's draft state live for API execution and managing its version history. Every deploy creates a new version, and past versions stay available for review or rollback.
15+
16+
- **Deploy and undeploy**: Push the current draft live as a new version, or take a live workflow offline and remove its triggers, webhooks, and schedules
17+
- **Promote or roll back**: Make any past version the live one without creating a new version, including re-deploying an undeployed workflow at a known-good version
18+
- **Inspect version history**: List every deployment version with its metadata, or fetch the full workflow state snapshot for a specific version
19+
20+
In Sim, the Deployments block allows your agents to deploy and undeploy workflows, promote a specific version to live for rollbacks, list all deployment versions of a workflow, and retrieve the deployed state snapshot of any past version—all programmatically as part of another workflow.
21+
{/* MANUAL-CONTENT-END */}
22+
1323
## Usage Instructions
1424

1525
Deploy, undeploy, and roll back workflows in the current workspace. Promote a previous deployment version to live, list every version, or fetch the deployed workflow state for a specific version.

apps/docs/content/docs/en/integrations/downdetector.mdx

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,19 @@ import { BlockInfoCard } from "@/components/ui/block-info-card"
1010
color="#FFFFFF"
1111
/>
1212

13+
{/* MANUAL-CONTENT-START:intro */}
14+
[Downdetector](https://downdetector.com/) is an outage-tracking service that aggregates user-submitted reports to detect and visualize real-time service disruptions for thousands of companies. The Downdetector Enterprise API exposes this data programmatically for monitoring and alerting.
15+
16+
With Downdetector, you can:
17+
18+
- **Search and identify companies**: Look up monitored companies by name, slug, country, or category to get their ids and status page URLs
19+
- **Check current status and trends**: Read a company's cached status, 24h report statistics, and baseline to judge whether current activity is abnormal
20+
- **Inspect problem indicators**: See which specific issues (e.g. "Login", "App crashing") are being reported and in what proportion
21+
- **Track incidents and events**: Pull incident timelines, published events, and attribution data (internal vs. external cause, user impact) for outages
22+
23+
In Sim, the Downdetector integration allows your agents to search for monitored companies, check their current status and baseline reports, retrieve near-real-time report counts and problem indicators, and pull incident, event, and attribution data — all programmatically through API calls. This enables your agents to power outage alerts, monitoring dashboards, and automated incident summaries that stay current with service disruptions across the companies and regions Downdetector tracks.
24+
{/* MANUAL-CONTENT-END */}
25+
1326
## Usage Instructions
1427

1528
Track real-time service outages with the Downdetector Enterprise API. Search monitored companies, read their current status and report trends, inspect problem indicators, and pull incident timelines to power outage alerts and dashboards. Requires a Downdetector Enterprise API plan.

apps/docs/content/docs/en/integrations/emailbison.mdx

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,19 @@ import { BlockInfoCard } from "@/components/ui/block-info-card"
1010
color="#FB7A22"
1111
/>
1212

13+
{/* MANUAL-CONTENT-START:intro */}
14+
[Email Bison](https://emailbison.com/) is a cold email outreach and deliverability platform for managing leads, sending sequences, and tracking campaign performance.
15+
16+
With Email Bison, you can:
17+
18+
- **Manage leads**: Create, update, retrieve, and tag leads, and track their engagement across campaigns
19+
- **Run campaigns**: Create campaigns, attach leads, and pause, resume, or archive them as needed
20+
- **Track replies**: List and filter incoming replies by status, folder, campaign, sender, lead, or tag
21+
- **React to events**: Trigger workflows on first email sent, interested replies, unsubscribes, bounces, opens, and sender account changes
22+
23+
In Sim, the Email Bison integration allows your agents to create and update leads, list and filter leads/campaigns/replies, attach leads to campaigns, manage campaign status, and organize leads with tags — all programmatically through API calls. Combined with Email Bison triggers, agents can also react in real time to events like a contact being emailed, replying, marking interest, unsubscribing, or an email bouncing, making it possible to automate outbound outreach workflows end to end.
24+
{/* MANUAL-CONTENT-END */}
25+
1326
## Usage Instructions
1427

1528
Integrate Email Bison into workflows. Create and update leads, manage campaigns, attach leads to campaigns, list replies, and organize leads with tags.

0 commit comments

Comments
 (0)