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
10 changes: 5 additions & 5 deletions apps/docs/app/llms.txt/route.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ Sim is the open-source AI workspace where teams build, deploy, and manage AI age

## Documentation Overview

This file provides an overview of our documentation. For full content of all pages, see ${baseUrl}/llms-full.txt
This file provides an overview of our documentation. For full content of all pages, see [llms-full.txt](${baseUrl}/llms-full.txt).

## Main Sections

Expand All @@ -54,16 +54,16 @@ ${Object.entries(sections)
.split('-')
.map((word) => word.charAt(0).toUpperCase() + word.slice(1))
.join(' ')
return `### ${sectionTitle}\n\n${items.map((item) => `- ${item.title}: ${item.url}${item.description ? `\n ${item.description}` : ''}`).join('\n')}`
return `### ${sectionTitle}\n\n${items.map((item) => `- [${item.title}](${item.url})${item.description ? `\n ${item.description}` : ''}`).join('\n')}`
})
.join('\n\n')}

## Additional Resources

- Full documentation content: ${baseUrl}/llms-full.txt
- [Full documentation content](${baseUrl}/llms-full.txt)
- Individual page content: ${baseUrl}/llms.mdx/[page-path]
- API documentation: ${baseUrl}/api-reference/
- Tool integrations: ${baseUrl}/tools/
- [API documentation](${baseUrl}/api-reference/)
- [Tool integrations](${baseUrl}/tools/)

## Statistics

Expand Down
51 changes: 0 additions & 51 deletions apps/docs/public/llms.txt

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,7 @@ export function ContentIndexPage({
sizes='(max-width: 768px) 100vw, (max-width: 1024px) 50vw, 33vw'
className='object-cover'
priority={index < 3}
fetchPriority={index === 0 ? 'high' : undefined}
unoptimized
/>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ export function ContentPostPage({
className='h-auto w-full'
sizes='(max-width: 768px) 100vw, 450px'
priority
fetchPriority='high'
itemProp='image'
unoptimized
/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,18 @@ import { CalloutFrame } from '@/app/(landing)/components/features/components/cal
* the right AND bottom edges bleed past the media stage's clip - a zoomed-in
* peek at part of the product rather than a complete miniature, scaling
* proportionally with the aspect-locked stage. Decorative.
*
* `sizes` is derived directly from the section's grid math rather than
* approximated, then rounded up to the worst-case (peak render/viewport
* ratio) in each tier so the browser never under-fetches:
* `callout = 1.25 * (viewport - 2*gutter - 32px card padding - [40px gap +
* 386px fixed copy column, desktop only])`, gutter = `px-20`/`max-lg:px-8`/
* `max-sm:px-5` from `Features`'s grid, matching `FeatureCard`'s
* `max-lg:grid-cols-1` stack. Peak ratios (verified against a static
* reproduction of this exact layout rendered at each Tailwind breakpoint):
* ~113.3% at the `max-width: 1023px` stacked tier's own upper edge, ~108.6%
* at `1460px` (the container's cap, where render width stops growing with
* viewport - hence the final tier is a flat px value, not a vw fraction).
*/
export function IntegrationsCallout() {
return (
Expand All @@ -29,7 +41,7 @@ export function IntegrationsCallout() {
src='/landing/feature-integrate-ui.png'
alt=''
fill
sizes='1050px'
sizes='(max-width: 1023px) 114vw, (max-width: 1460px) 109vw, 1053px'
className='object-cover'
/>
</CalloutFrame>
Expand Down
1 change: 1 addition & 0 deletions apps/sim/app/(landing)/components/hero/hero.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,7 @@ export function Hero() {
alt=''
fill
priority
fetchPriority='high'
quality={90}
sizes='(max-width: 1460px) 100vw, 1300px'
className='object-cover'
Expand Down
1 change: 1 addition & 0 deletions apps/sim/app/(landing)/enterprise/enterprise.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ const ENTERPRISE_CONFIG: SolutionsPageConfig = {
<Image
fill
priority
fetchPriority='high'
alt=''
className='object-cover object-center'
sizes='(max-width: 1024px) 100vw, 1300px'
Expand Down
32 changes: 16 additions & 16 deletions apps/sim/app/llms-full.txt/route.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ export function GET() {

## Overview

Sim is the AI workspace where teams create agents visually with the workflow builder, conversationally through Mothership, or programmatically with the API. Over 100,000 builders use Sim — from startups to Fortune 500 companies. Teams connect their tools and data, build agents that automate real work across systems, and manage them with full observability. SOC2 compliant.
Sim is the AI workspace where teams create agents visually with the workflow builder, conversationally through Chat, or programmatically with the API. Over 100,000 builders use Sim — from startups to Fortune 500 companies. Teams connect their tools and data, build agents that automate real work across systems, and manage them with full observability. SOC2 compliant.

## Product Details

Expand Down Expand Up @@ -122,7 +122,7 @@ Built-in table creation and management:
## Technical Architecture

### Frontend
- Next.js 15 with App Router
- Next.js 16 with App Router
- React Flow for the visual builder
- Tailwind CSS for styling
- Zustand for state management
Expand Down Expand Up @@ -150,26 +150,26 @@ Built-in table creation and management:

## Links

- **Website**: ${baseUrl}
- **Documentation**: https://docs.sim.ai
- **API Reference**: https://docs.sim.ai/api
- **GitHub**: https://github.com/simstudioai/sim
- **Discord**: https://discord.gg/Hr4UWYEcTT
- **X/Twitter**: https://x.com/simdotai
- **LinkedIn**: https://linkedin.com/company/simstudioai
- [Website](${baseUrl}): Product overview and primary entry point
- [Documentation](https://docs.sim.ai): Product guides and technical reference
- [API Reference](https://docs.sim.ai/api): API documentation
- [GitHub](https://github.com/simstudioai/sim): Open-source codebase
- [Discord](https://discord.gg/Hr4UWYEcTT): Community server
- [X/Twitter](https://x.com/simdotai): Announcements and updates
- [LinkedIn](https://linkedin.com/company/simstudioai): Company page

## Support

- **Email**: help@sim.ai
- **Security Issues**: security@sim.ai
- **Documentation**: https://docs.sim.ai
- **Community Discord**: https://discord.gg/Hr4UWYEcTT
- [Documentation](https://docs.sim.ai): Self-serve guides and reference
- [Community Discord](https://discord.gg/Hr4UWYEcTT): Community support
- Email: help@sim.ai
- Security issues: security@sim.ai

## Legal

- **Terms of Service**: ${baseUrl}/terms
- **Privacy Policy**: ${baseUrl}/privacy
- **Security**: ${baseUrl}/.well-known/security.txt
- [Terms of Service](${baseUrl}/terms): Legal terms
- [Privacy Policy](${baseUrl}/privacy): Data handling practices
- [Security](${baseUrl}/.well-known/security.txt): Vulnerability disclosure policy
`

return new Response(llmsFullContent, {
Expand Down
2 changes: 1 addition & 1 deletion apps/sim/content/blog/mothership/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ authors:
- emir
readingTime: 10
tags: [Release, Mothership, Tables, Knowledge Base, Connectors, RAG, Sim]
ogImage: /blog/mothership/cover.png
ogImage: /blog/mothership/cover.jpg
ogAlt: 'Introducing Mothership airship illustration'
about: ['AI Agents', 'Workflow Automation', 'Developer Tools']
timeRequired: PT10M
Expand Down
29 changes: 26 additions & 3 deletions apps/sim/next.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,10 @@ const minimalRegistryAlias: Record<string, string> = useMinimalRegistry
const nextConfig: NextConfig = {
devIndicators: false,
poweredByHeader: false,
// Safe here since this repo's source is already fully public on GitHub -
// no additional exposure versus Next's default (disabled to avoid leaking
// source on the client).
productionBrowserSourceMaps: true,
Comment thread
waleedlatif1 marked this conversation as resolved.
turbopack: {
root: path.join(import.meta.dirname, '../..'),
resolveAlias: minimalRegistryAlias,
Expand Down Expand Up @@ -188,7 +192,11 @@ const nextConfig: NextConfig = {
async headers() {
return [
{
source: '/((?!api/).*\\.(?:svg|jpg|jpeg|png|gif|ico|webp|avif|woff|woff2|ttf|eot))',
// `/public`-served assets keep their path across deploys (no content
// hash), so a shorter TTL + revalidation window bounds how long a
// changed asset can serve stale.
source:
'/((?!api/|_next/static/).*\\.(?:svg|jpg|jpeg|png|gif|ico|webp|avif|woff|woff2|ttf|eot))',
headers: [
{
key: 'Cache-Control',
Expand Down Expand Up @@ -245,14 +253,29 @@ const nextConfig: NextConfig = {
},
],
},
// Block access to sourcemap files (defense in depth)
// Block access to sourcemap files (defense in depth). The trailing
// `$` this rule previously ended with is not a regex anchor in Next's
// `source` matcher (path-to-regexp syntax, not raw regex) - it matched
// a literal `$` character, so this rule never actually fired against
// real `.map` URLs. Next already anchors the compiled pattern at both
// ends, so no trailing anchor is needed here.
//
// Also bounds `.map` files to a short, revalidated TTL rather than
// Next's built-in 1yr immutable default for `_next/static/*` - maps
// are content-hashed like their JS, so this isn't about staleness,
// it's so a future decision to stop shipping `productionBrowserSourceMaps`
// isn't undermined by browsers/edges holding old maps for a year.
{
source: '/(.*)\\.map$',
source: '/(.*)\\.map',
headers: [
{
key: 'x-robots-tag',
value: 'noindex',
},
{
key: 'Cache-Control',
value: 'public, max-age=86400, stale-while-revalidate=604800',
},
],
},
// Chat pages - allow iframe embedding from any origin
Expand Down
Binary file modified apps/sim/public/blog/mothership/cover.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed apps/sim/public/blog/mothership/cover.png
Binary file not shown.
59 changes: 0 additions & 59 deletions apps/sim/public/llms.txt

This file was deleted.

Loading