chore: import upstream snapshot with attribution
CI / Migrate Dev DB (push) Has been skipped
CI / Detect Version (push) Has been cancelled
CI / Migrate DB (push) Has been cancelled
CI / Build Dev ECR (./docker/app.Dockerfile, ECR_APP) (push) Has been cancelled
CI / Build Dev ECR (./docker/db.Dockerfile, ECR_MIGRATIONS) (push) Has been cancelled
CI / Build Dev ECR (./docker/pii.Dockerfile, ECR_PII) (push) Has been cancelled
CI / Build Dev ECR (./docker/realtime.Dockerfile, ECR_REALTIME) (push) Has been cancelled
CI / Deploy Trigger.dev (Dev) (push) Has been cancelled
CI / Build AMD64 (./docker/app.Dockerfile, ECR_APP, ghcr.io/simstudioai/simstudio) (push) Has been cancelled
CI / Build AMD64 (./docker/db.Dockerfile, ECR_MIGRATIONS, ghcr.io/simstudioai/migrations) (push) Has been cancelled
CI / Build AMD64 (./docker/pii.Dockerfile, ECR_PII, ghcr.io/simstudioai/pii) (push) Has been cancelled
CI / Build AMD64 (./docker/realtime.Dockerfile, ECR_REALTIME, ghcr.io/simstudioai/realtime) (push) Has been cancelled
CI / Build ARM64 (GHCR Only) (./docker/app.Dockerfile, ghcr.io/simstudioai/simstudio) (push) Has been cancelled
CI / Build ARM64 (GHCR Only) (./docker/db.Dockerfile, ghcr.io/simstudioai/migrations) (push) Has been cancelled
CI / Build ARM64 (GHCR Only) (./docker/pii.Dockerfile, ghcr.io/simstudioai/pii) (push) Has been cancelled
CI / Build ARM64 (GHCR Only) (./docker/realtime.Dockerfile, ghcr.io/simstudioai/realtime) (push) Has been cancelled
CI / Create GHCR Manifests (ghcr.io/simstudioai/migrations) (push) Has been cancelled
CI / Create GHCR Manifests (ghcr.io/simstudioai/pii) (push) Has been cancelled
CI / Create GHCR Manifests (ghcr.io/simstudioai/realtime) (push) Has been cancelled
CI / Create GHCR Manifests (ghcr.io/simstudioai/simstudio) (push) Has been cancelled
CI / Check Docs Changes (push) Has been cancelled
CI / Process Docs (push) Has been cancelled
CI / Create GitHub Release (push) Has been cancelled
CI / Test and Build (push) Has been cancelled
Publish CLI Package / publish-npm (push) Has been cancelled
Publish Python SDK / publish-pypi (push) Has been cancelled
Publish TypeScript SDK / publish-npm (push) Has been cancelled

This commit is contained in:
wehub-resource-sync
2026-07-13 13:20:55 +08:00
commit d25d482dc2
13754 changed files with 4996608 additions and 0 deletions
+3
View File
@@ -0,0 +1,3 @@
export { circlebackMeetingCompletedTrigger } from './meeting_completed'
export { circlebackMeetingNotesTrigger } from './meeting_notes'
export { circlebackWebhookTrigger } from './webhook'
@@ -0,0 +1,64 @@
import { CirclebackIcon } from '@/components/icons'
import type { TriggerConfig } from '@/triggers/types'
import { buildMeetingOutputs, circlebackSetupInstructions } from './utils'
export const circlebackMeetingCompletedTrigger: TriggerConfig = {
id: 'circleback_meeting_completed',
name: 'Circleback Meeting Completed',
provider: 'circleback',
description: 'Trigger workflow when a meeting is processed and ready in Circleback',
version: '1.0.0',
icon: CirclebackIcon,
subBlocks: [
{
id: 'webhookUrlDisplay',
title: 'Webhook URL',
type: 'short-input',
readOnly: true,
showCopyButton: true,
useWebhookUrl: true,
placeholder: 'Webhook URL will be generated',
mode: 'trigger',
condition: {
field: 'selectedTriggerId',
value: 'circleback_meeting_completed',
},
},
{
id: 'webhookSecret',
title: 'Signing Secret',
type: 'short-input',
placeholder: 'Paste signing secret from Circleback (optional)',
description: 'Validates that webhook deliveries originate from Circleback using HMAC-SHA256.',
password: true,
required: false,
mode: 'trigger',
condition: {
field: 'selectedTriggerId',
value: 'circleback_meeting_completed',
},
},
{
id: 'triggerInstructions',
title: 'Setup Instructions',
hideFromPreview: true,
type: 'text',
defaultValue: circlebackSetupInstructions('All meeting data'),
mode: 'trigger',
condition: {
field: 'selectedTriggerId',
value: 'circleback_meeting_completed',
},
},
],
outputs: buildMeetingOutputs(),
webhook: {
method: 'POST',
headers: {
'Content-Type': 'application/json',
},
},
}
@@ -0,0 +1,64 @@
import { CirclebackIcon } from '@/components/icons'
import type { TriggerConfig } from '@/triggers/types'
import { buildMeetingOutputs, circlebackSetupInstructions } from './utils'
export const circlebackMeetingNotesTrigger: TriggerConfig = {
id: 'circleback_meeting_notes',
name: 'Circleback Meeting Notes Ready',
provider: 'circleback',
description: 'Trigger workflow when meeting notes and action items are ready',
version: '1.0.0',
icon: CirclebackIcon,
subBlocks: [
{
id: 'webhookUrlDisplay',
title: 'Webhook URL',
type: 'short-input',
readOnly: true,
showCopyButton: true,
useWebhookUrl: true,
placeholder: 'Webhook URL will be generated',
mode: 'trigger',
condition: {
field: 'selectedTriggerId',
value: 'circleback_meeting_notes',
},
},
{
id: 'webhookSecret',
title: 'Signing Secret',
type: 'short-input',
placeholder: 'Paste signing secret from Circleback (optional)',
description: 'Validates that webhook deliveries originate from Circleback using HMAC-SHA256.',
password: true,
required: false,
mode: 'trigger',
condition: {
field: 'selectedTriggerId',
value: 'circleback_meeting_notes',
},
},
{
id: 'triggerInstructions',
title: 'Setup Instructions',
hideFromPreview: true,
type: 'text',
defaultValue: circlebackSetupInstructions('Meeting notes and action items'),
mode: 'trigger',
condition: {
field: 'selectedTriggerId',
value: 'circleback_meeting_notes',
},
},
],
outputs: buildMeetingOutputs(),
webhook: {
method: 'POST',
headers: {
'Content-Type': 'application/json',
},
},
}
+137
View File
@@ -0,0 +1,137 @@
import type { TriggerOutput } from '@/triggers/types'
/**
* Shared trigger dropdown options for all Circleback triggers
*/
export const circlebackTriggerOptions = [
{ label: 'General Webhook', id: 'circleback_webhook' },
{ label: 'Meeting Completed', id: 'circleback_meeting_completed' },
{ label: 'Meeting Notes Ready', id: 'circleback_meeting_notes' },
]
/**
* Generate setup instructions for a specific Circleback event type
*/
export function circlebackSetupInstructions(eventType: string): string {
const instructions = [
'<strong>Note:</strong> You need access to Circleback automations to set up webhooks. See the <a href="https://circleback.ai/docs/webhook-integration" target="_blank" rel="noopener noreferrer">Circleback webhook documentation</a> for details.',
'In Circleback, click <strong>Automations</strong> in the sidebar.',
'Create a new automation or edit an existing one.',
'Add a <strong>Send webhook request</strong> step to your automation.',
'Paste the <strong>Webhook URL</strong> from above into the Endpoint field.',
'Optionally, copy the <strong>Signing Secret</strong> from Circleback and paste it above to verify webhook signatures.',
`Toggle what to include in the request (Meeting notes, Action items, Transcript). For this trigger: <strong>${eventType}</strong>.`,
'Click <strong>"Done"</strong> and save the automation.',
]
return instructions
.map(
(instruction, index) =>
`<div class="mb-3">${index === 0 ? instruction : `<strong>${index}.</strong> ${instruction}`}</div>`
)
.join('')
}
/**
* Build output schema for meeting events
*/
export function buildMeetingOutputs(): Record<string, TriggerOutput> {
return {
id: {
type: 'number',
description: 'Circleback meeting ID',
},
name: {
type: 'string',
description: 'Meeting title/name',
},
url: {
type: 'string',
description: 'URL of the virtual meeting (Zoom, Google Meet, Teams, etc.)',
},
createdAt: {
type: 'string',
description: 'ISO8601 timestamp when meeting was created',
},
duration: {
type: 'number',
description: 'Meeting duration in seconds',
},
recordingUrl: {
type: 'string',
description: 'Recording URL (valid for 24 hours, if enabled)',
},
tags: {
type: 'array',
description: 'Array of tag strings',
},
icalUid: {
type: 'string',
description: 'Calendar event identifier',
},
attendees: {
type: 'array',
description: 'Array of attendee objects with name and email',
items: {
type: 'object',
properties: {
name: { type: 'string', description: 'Attendee name' },
email: { type: 'string', description: 'Attendee email address' },
},
},
},
notes: {
type: 'string',
description: 'Meeting notes in Markdown format',
},
actionItems: {
type: 'array',
description: 'Array of action item objects',
items: {
type: 'object',
properties: {
id: { type: 'number', description: 'Action item ID' },
title: { type: 'string', description: 'Action item title' },
description: { type: 'string', description: 'Action item description' },
assignee: {
type: 'object',
description: 'Person assigned to the action item (or null)',
properties: {
name: { type: 'string', description: 'Assignee name' },
email: { type: 'string', description: 'Assignee email' },
},
},
status: { type: 'string', description: 'Status: PENDING or DONE' },
},
},
},
transcript: {
type: 'array',
description: 'Array of transcript segments',
items: {
type: 'object',
properties: {
speaker: { type: 'string', description: 'Speaker name' },
text: { type: 'string', description: 'Transcript text' },
timestamp: { type: 'number', description: 'Timestamp in seconds' },
},
},
},
insights: {
type: 'object',
description: 'User-created insights keyed by insight name',
},
meeting: {
type: 'object',
description: 'Full meeting payload object',
properties: {
id: { type: 'number', description: 'Meeting ID' },
name: { type: 'string', description: 'Meeting name' },
url: { type: 'string', description: 'Meeting URL' },
duration: { type: 'number', description: 'Duration in seconds' },
createdAt: { type: 'string', description: 'Creation timestamp' },
recordingUrl: { type: 'string', description: 'Recording URL' },
},
},
} as any
}
+73
View File
@@ -0,0 +1,73 @@
import { CirclebackIcon } from '@/components/icons'
import type { TriggerConfig } from '@/triggers/types'
import { buildMeetingOutputs, circlebackSetupInstructions, circlebackTriggerOptions } from './utils'
export const circlebackWebhookTrigger: TriggerConfig = {
id: 'circleback_webhook',
name: 'Circleback Webhook',
provider: 'circleback',
description: 'Generic webhook trigger for all Circleback events',
version: '1.0.0',
icon: CirclebackIcon,
subBlocks: [
{
id: 'selectedTriggerId',
title: 'Trigger Type',
type: 'dropdown',
mode: 'trigger',
options: circlebackTriggerOptions,
value: () => 'circleback_webhook',
required: true,
},
{
id: 'webhookUrlDisplay',
title: 'Webhook URL',
type: 'short-input',
readOnly: true,
showCopyButton: true,
useWebhookUrl: true,
placeholder: 'Webhook URL will be generated',
mode: 'trigger',
condition: {
field: 'selectedTriggerId',
value: 'circleback_webhook',
},
},
{
id: 'webhookSecret',
title: 'Signing Secret',
type: 'short-input',
placeholder: 'Paste signing secret from Circleback (optional)',
description: 'Validates that webhook deliveries originate from Circleback using HMAC-SHA256.',
password: true,
required: false,
mode: 'trigger',
condition: {
field: 'selectedTriggerId',
value: 'circleback_webhook',
},
},
{
id: 'triggerInstructions',
title: 'Setup Instructions',
hideFromPreview: true,
type: 'text',
defaultValue: circlebackSetupInstructions('All events'),
mode: 'trigger',
condition: {
field: 'selectedTriggerId',
value: 'circleback_webhook',
},
},
],
outputs: buildMeetingOutputs(),
webhook: {
method: 'POST',
headers: {
'Content-Type': 'application/json',
},
},
}