Skip to content

Commit 72fd5e0

Browse files
committed
Merge branch 'staging' into improvement/platform
2 parents 8a8d77f + 5d9752d commit 72fd5e0

27 files changed

Lines changed: 17448 additions & 948 deletions

File tree

apps/sim/app/(auth)/oauth/consent/loading.tsx

Lines changed: 0 additions & 21 deletions
This file was deleted.

apps/sim/app/(auth)/oauth/consent/page.tsx

Lines changed: 0 additions & 291 deletions
This file was deleted.

apps/sim/app/(landing)/integrations/(shell)/[slug]/page.tsx

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -516,6 +516,24 @@ export default async function IntegrationPage({ params }: { params: Promise<{ sl
516516
</>
517517
)}
518518

519+
{/* AI-generated content disclaimer (integration-specific) */}
520+
{landingContent?.aiDisclaimer && (
521+
<>
522+
<section aria-labelledby='ai-disclaimer-heading' className='px-6 py-10'>
523+
<h2
524+
id='ai-disclaimer-heading'
525+
className='mb-4 text-[20px] text-white leading-[100%] tracking-[-0.02em]'
526+
>
527+
AI-generated content
528+
</h2>
529+
<p className='max-w-[700px] text-[15px] text-[var(--landing-text-body)] leading-[150%] tracking-[0.02em]'>
530+
{landingContent.aiDisclaimer}
531+
</p>
532+
</section>
533+
<div className='h-px w-full bg-[var(--landing-bg-elevated)]' />
534+
</>
535+
)}
536+
519537
{/* How to automate */}
520538
<section aria-labelledby='how-it-works-heading' className='px-6 py-10'>
521539
<h2

apps/sim/app/(landing)/integrations/data/landing-content.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,5 +37,7 @@ export const INTEGRATION_LANDING_CONTENT: Record<string, IntegrationLandingConte
3737
body: 'Sim requests only the Slack permissions its actions and triggers need, and never shows private channel names or messages to people who are not members of those channels in Slack.',
3838
href: '/privacy',
3939
},
40+
aiDisclaimer:
41+
'Sim agents use AI models to generate messages and responses sent to Slack. AI-generated content can be inaccurate or incomplete — review automated outputs before relying on them, especially for important communications.',
4042
},
4143
}

apps/sim/app/(landing)/integrations/data/types.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,11 @@ export interface IntegrationLandingContent {
4040
body: string
4141
href: string
4242
}
43+
/**
44+
* Disclaimer about AI-generated content, required by some marketplaces for
45+
* apps with an AI component (e.g. Slack's AI-components guideline).
46+
*/
47+
aiDisclaimer?: string
4348
}
4449

4550
export interface Integration {

apps/sim/app/.well-known/oauth-authorization-server/[...issuer]/route.ts

Lines changed: 0 additions & 6 deletions
This file was deleted.

apps/sim/app/.well-known/oauth-authorization-server/route.ts

Lines changed: 0 additions & 6 deletions
This file was deleted.

apps/sim/app/.well-known/oauth-protected-resource/route.ts

Lines changed: 0 additions & 6 deletions
This file was deleted.

0 commit comments

Comments
 (0)