Skip to content
Closed
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
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion .github/CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -374,7 +374,7 @@ In addition, you will need to update the registries:
Add your block to the blocks registry (`/apps/sim/blocks/registry.ts`):
```typescript:/apps/sim/blocks/registry.ts
import { PineconeBlock } from './blocks/pinecone'
import { PineconeBlock } from '@/blocks/blocks/pinecone'
// Registry of all available blocks
export const registry: Record<string, BlockConfig> = {
Expand Down
36 changes: 24 additions & 12 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
name: Build AMD64
needs: test-build
if: github.event_name == 'push' && (github.ref == 'refs/heads/main' || github.ref == 'refs/heads/staging')
runs-on: blacksmith-4vcpu-ubuntu-2404
runs-on: blacksmith-8vcpu-ubuntu-2404
permissions:
contents: read
packages: write
Expand Down Expand Up @@ -162,7 +162,7 @@
# Create GHCR multi-arch manifests (only for main, after both builds)
create-ghcr-manifests:
name: Create GHCR Manifests
runs-on: blacksmith-4vcpu-ubuntu-2404
runs-on: blacksmith-8vcpu-ubuntu-2404
needs: [build-amd64, build-ghcr-arm64]
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
permissions:
Expand Down Expand Up @@ -198,18 +198,30 @@
"${IMAGE_BASE}:${{ github.sha }}-arm64"
docker manifest push "${IMAGE_BASE}:${{ github.sha }}"

# Deploy Trigger.dev (after ECR images are pushed, runs in parallel with process-docs)
trigger-deploy:
name: Deploy Trigger.dev
needs: build-amd64
if: github.event_name == 'push' && (github.ref == 'refs/heads/main' || github.ref == 'refs/heads/staging')
uses: ./.github/workflows/trigger-deploy.yml
secrets: inherit
# Check if docs changed
check-docs-changes:
name: Check Docs Changes
runs-on: blacksmith-4vcpu-ubuntu-2404
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
outputs:
docs_changed: ${{ steps.filter.outputs.docs }}
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 2 # Need at least 2 commits to detect changes
- uses: dorny/paths-filter@v3
id: filter
with:
filters: |
docs:
- 'apps/docs/content/docs/en/**'
- 'apps/sim/scripts/process-docs.ts'
- 'apps/sim/lib/chunkers/**'

# Process docs embeddings (after ECR images are pushed, runs in parallel with trigger-deploy)
# Process docs embeddings (only when docs change, after ECR images are pushed)
process-docs:

Check warning

Code scanning / CodeQL

Workflow does not contain permissions Medium

Actions job or workflow does not limit the permissions of the GITHUB_TOKEN. Consider setting an explicit permissions block, using the following as a minimal starting point: {contents: read}
name: Process Docs
needs: build-amd64
if: github.event_name == 'push' && (github.ref == 'refs/heads/main' || github.ref == 'refs/heads/staging')
needs: [build-amd64, check-docs-changes]
if: needs.check-docs-changes.outputs.docs_changed == 'true'
uses: ./.github/workflows/docs-embeddings.yml
secrets: inherit
6 changes: 3 additions & 3 deletions .github/workflows/docs-embeddings.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ on:
jobs:
process-docs-embeddings:
name: Process Documentation Embeddings
runs-on: blacksmith-4vcpu-ubuntu-2404
if: github.ref == 'refs/heads/main' || github.ref == 'refs/heads/staging'
runs-on: blacksmith-8vcpu-ubuntu-2404
if: github.ref == 'refs/heads/main'

steps:
- name: Checkout code
Expand Down Expand Up @@ -41,6 +41,6 @@ jobs:
- name: Process docs embeddings
working-directory: ./apps/sim
env:
DATABASE_URL: ${{ github.ref == 'refs/heads/main' && secrets.DATABASE_URL || secrets.STAGING_DATABASE_URL }}
DATABASE_URL: ${{ secrets.DATABASE_URL }}
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
run: bun run scripts/process-docs.ts --clear
4 changes: 2 additions & 2 deletions .github/workflows/images.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ permissions:
jobs:
build-amd64:
name: Build AMD64
runs-on: blacksmith-4vcpu-ubuntu-2404
runs-on: blacksmith-8vcpu-ubuntu-2404
strategy:
fail-fast: false
matrix:
Expand Down Expand Up @@ -146,7 +146,7 @@ jobs:

create-ghcr-manifests:
name: Create GHCR Manifests
runs-on: blacksmith-4vcpu-ubuntu-2404
runs-on: blacksmith-8vcpu-ubuntu-2404
needs: [build-amd64, build-ghcr-arm64]
if: github.ref == 'refs/heads/main'
strategy:
Expand Down
55 changes: 0 additions & 55 deletions .github/workflows/trigger-deploy.yml

This file was deleted.

2 changes: 1 addition & 1 deletion apps/docs/components/ui/block-info-card.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
'use client'

import type * as React from 'react'
import { blockTypeToIconMap } from './icon-mapping'
import { blockTypeToIconMap } from '@/components/ui/icon-mapping'

interface BlockInfoCardProps {
type: string
Expand Down
2 changes: 1 addition & 1 deletion apps/docs/components/ui/image.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

import { useState } from 'react'
import NextImage, { type ImageProps as NextImageProps } from 'next/image'
import { Lightbox } from '@/components/ui/lightbox'
import { cn } from '@/lib/utils'
import { Lightbox } from './lightbox'

interface ImageProps extends Omit<NextImageProps, 'className'> {
className?: string
Expand Down
74 changes: 51 additions & 23 deletions apps/docs/content/docs/de/tools/linear.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -39,14 +39,24 @@ Tickets von Linear abrufen und filtern

| Parameter | Typ | Erforderlich | Beschreibung |
| --------- | ---- | -------- | ----------- |
| `teamId` | string | Ja | Linear Team-ID |
| `projectId` | string | Ja | Linear Projekt-ID |
| `teamId` | string | Nein | Linear Team-ID zum Filtern |
| `projectId` | string | Nein | Linear Projekt-ID zum Filtern |
| `assigneeId` | string | Nein | Benutzer-ID zum Filtern nach Zugewiesenem |
| `stateId` | string | Nein | Workflow-Status-ID zum Filtern nach Status |
| `priority` | number | Nein | Priorität zum Filtern \(0=Keine Priorität, 1=Dringend, 2=Hoch, 3=Normal, 4=Niedrig\) |
| `labelIds` | array | Nein | Array von Label-IDs zum Filtern |
| `createdAfter` | string | Nein | Tickets filtern, die nach diesem Datum erstellt wurden \(ISO 8601 Format\) |
| `updatedAfter` | string | Nein | Tickets filtern, die nach diesem Datum aktualisiert wurden \(ISO 8601 Format\) |
| `includeArchived` | boolean | Nein | Archivierte Tickets einschließen \(Standard: false\) |
| `first` | number | Nein | Anzahl der zurückzugebenden Tickets \(Standard: 50, max: 250\) |
| `after` | string | Nein | Paginierungscursor für die nächste Seite |
| `orderBy` | string | Nein | Sortierreihenfolge: "createdAt" oder "updatedAt" \(Standard: "updatedAt"\) |

#### Ausgabe

| Parameter | Typ | Beschreibung |
| --------- | ---- | ----------- |
| `issues` | array | Array von Tickets aus dem angegebenen Linear Team und Projekt, jedes enthält id, title, description, state, teamId und projectId |
| `issues` | array | Array von gefilterten Tickets aus Linear |

### `linear_get_issue`

Expand All @@ -73,15 +83,25 @@ Ein neues Ticket in Linear erstellen
| Parameter | Typ | Erforderlich | Beschreibung |
| --------- | ---- | -------- | ----------- |
| `teamId` | string | Ja | Linear Team-ID |
| `projectId` | string | Ja | Linear Projekt-ID |
| `projectId` | string | Nein | Linear Projekt-ID |
| `title` | string | Ja | Ticket-Titel |
| `description` | string | Nein | Ticket-Beschreibung |
| `stateId` | string | Nein | Workflow-Status-ID \(Status\) |
| `assigneeId` | string | Nein | Benutzer-ID, dem das Ticket zugewiesen werden soll |
| `priority` | number | Nein | Priorität \(0=Keine Priorität, 1=Dringend, 2=Hoch, 3=Normal, 4=Niedrig\) |
| `estimate` | number | Nein | Schätzung in Punkten |
| `labelIds` | array | Nein | Array von Label-IDs, die dem Ticket zugewiesen werden sollen |
| `cycleId` | string | Nein | Zyklus-ID, dem das Ticket zugewiesen werden soll |
| `parentId` | string | Nein | Übergeordnete Ticket-ID \(für die Erstellung von Untertickets\) |
| `dueDate` | string | Nein | Fälligkeitsdatum im ISO 8601-Format \(nur Datum: JJJJ-MM-TT\) |
| `subscriberIds` | array | Nein | Array von Benutzer-IDs, die das Ticket abonnieren sollen |
| `projectMilestoneId` | string | Nein | Projektmeilenstein-ID, die mit dem Ticket verknüpft werden soll |

#### Ausgabe

| Parameter | Typ | Beschreibung |
| --------- | ---- | ----------- |
| `issue` | object | Das erstellte Ticket mit id, title, description, state, teamId und projectId |
| `issue` | object | Das erstellte Ticket mit allen seinen Eigenschaften |

### `linear_update_issue`

Expand All @@ -98,7 +118,13 @@ Ein bestehendes Ticket in Linear aktualisieren
| `assigneeId` | string | Nein | Benutzer-ID, dem das Ticket zugewiesen werden soll |
| `priority` | number | Nein | Priorität \(0=Keine Priorität, 1=Dringend, 2=Hoch, 3=Normal, 4=Niedrig\) |
| `estimate` | number | Nein | Schätzung in Punkten |
| `labelIds` | array | Nein | Array von Label-IDs, die dem Ticket zugewiesen werden sollen |
| `labelIds` | array | Nein | Array von Label-IDs, die für das Ticket gesetzt werden sollen \(ersetzt alle vorhandenen Labels\) |
| `projectId` | string | Nein | Projekt-ID, zu der das Ticket verschoben werden soll |
| `cycleId` | string | Nein | Zyklus-ID, dem das Ticket zugewiesen werden soll |
| `parentId` | string | Nein | Übergeordnete Ticket-ID \(um dieses zu einem Unterticket zu machen\) |
| `dueDate` | string | Nein | Fälligkeitsdatum im ISO 8601-Format \(nur Datum: JJJJ-MM-TT\) |
| `addedLabelIds` | array | Nein | Array von Label-IDs, die dem Ticket hinzugefügt werden sollen \(ohne vorhandene Labels zu ersetzen\) |
| `removedLabelIds` | array | Nein | Array von Label-IDs, die vom Ticket entfernt werden sollen |

#### Ausgabe

Expand Down Expand Up @@ -236,8 +262,8 @@ Einen Kommentar in Linear bearbeiten

| Parameter | Typ | Erforderlich | Beschreibung |
| --------- | ---- | -------- | ----------- |
| `commentId` | string | Ja | Kommentar-ID, die aktualisiert werden soll |
| `body` | string | Ja | Neuer Kommentartext \(unterstützt Markdown\) |
| `commentId` | string | Ja | Kommentar-ID zum Aktualisieren |
| `body` | string | Nein | Neuer Kommentartext \(unterstützt Markdown\) |

#### Ausgabe

Expand Down Expand Up @@ -344,14 +370,14 @@ Ein bestehendes Projekt in Linear aktualisieren

| Parameter | Typ | Erforderlich | Beschreibung |
| --------- | ---- | -------- | ----------- |
| `projectId` | string | Ja | Projekt-ID, die aktualisiert werden soll |
| `projectId` | string | Ja | Projekt-ID zum Aktualisieren |
| `name` | string | Nein | Neuer Projektname |
| `description` | string | Nein | Neue Projektbeschreibung |
| `state` | string | Nein | Projektstatus (geplant, gestartet, abgeschlossen, abgebrochen) |
| `state` | string | Nein | Projektstatus \(planned, started, completed, canceled\) |
| `leadId` | string | Nein | Benutzer-ID des Projektleiters |
| `startDate` | string | Nein | Projektstartdatum (ISO-Format) |
| `targetDate` | string | Nein | Projektzieldatum (ISO-Format) |
| `priority` | number | Nein | Projektpriorität (0-4) |
| `startDate` | string | Nein | Projektstartdatum \(ISO-Format: JJJJ-MM-TT\) |
| `targetDate` | string | Nein | Projektzieldatum \(ISO-Format: JJJJ-MM-TT\) |
| `priority` | number | Nein | Projektpriorität \(0=Keine Priorität, 1=Dringend, 2=Hoch, 3=Normal, 4=Niedrig\) |

#### Ausgabe

Expand Down Expand Up @@ -525,11 +551,11 @@ Einen neuen Workflow-Status in Linear erstellen

| Parameter | Typ | Erforderlich | Beschreibung |
| --------- | ---- | -------- | ----------- |
| `teamId` | string | Ja | Team-ID, in dem der Status erstellt werden soll |
| `name` | string | Ja | Name des Status \(z.B. "In Prüfung"\) |
| `color` | string | Ja | Farbe des Status \(Hex-Format\) |
| `teamId` | string | Ja | Team-ID, in der der Status erstellt werden soll |
| `name` | string | Ja | Statusname \(z.B. "In Prüfung"\) |
| `color` | string | Nein | Statusfarbe \(Hex-Format\) |
| `type` | string | Ja | Statustyp: "backlog", "unstarted", "started", "completed" oder "canceled" |
| `description` | string | Nein | Beschreibung des Status |
| `description` | string | Nein | Statusbeschreibung |
| `position` | number | Nein | Position im Workflow |

#### Ausgabe
Expand Down Expand Up @@ -635,9 +661,9 @@ Einen Anhang zu einem Ticket in Linear hinzufügen

| Parameter | Typ | Erforderlich | Beschreibung |
| --------- | ---- | -------- | ----------- |
| `issueId` | string | Ja | Ticket-ID, an die der Anhang angehängt werden soll |
| `issueId` | string | Ja | Ticket-ID, an die angehängt werden soll |
| `url` | string | Ja | URL des Anhangs |
| `title` | string | Nein | Titel des Anhangs |
| `title` | string | Ja | Titel des Anhangs |
| `subtitle` | string | Nein | Untertitel/Beschreibung des Anhangs |

#### Ausgabe
Expand Down Expand Up @@ -673,7 +699,7 @@ Metadaten eines Anhangs in Linear aktualisieren
| Parameter | Typ | Erforderlich | Beschreibung |
| --------- | ---- | -------- | ----------- |
| `attachmentId` | string | Ja | Anhang-ID zum Aktualisieren |
| `title` | string | Nein | Neuer Titel des Anhangs |
| `title` | string | Ja | Neuer Titel des Anhangs |
| `subtitle` | string | Nein | Neuer Untertitel des Anhangs |

#### Ausgabe
Expand Down Expand Up @@ -707,8 +733,8 @@ Zwei Tickets in Linear miteinander verknüpfen (blockiert, bezieht sich auf, dup
| Parameter | Typ | Erforderlich | Beschreibung |
| --------- | ---- | -------- | ----------- |
| `issueId` | string | Ja | Quell-Ticket-ID |
| `relatedIssueId` | string | Ja | Ziel-Ticket-ID für die Verknüpfung |
| `type` | string | Ja | Beziehungstyp: "blocks", "blocked", "duplicate", "related" |
| `relatedIssueId` | string | Ja | Ziel-Ticket-ID, mit der verknüpft werden soll |
| `type` | string | Ja | Beziehungstyp: "blocks", "duplicate" oder "related". Hinweis: Wenn "blocks" von A nach B erstellt wird, wird die umgekehrte Beziehung \(B blockiert durch A\) automatisch erstellt. |

#### Ausgabe

Expand Down Expand Up @@ -1217,7 +1243,8 @@ Ein neues Projekt-Label in Linear erstellen

| Parameter | Typ | Erforderlich | Beschreibung |
| --------- | ---- | -------- | ----------- |
| `name` | string | Ja | Projekt-Label-Name |
| `projectId` | string | Ja | Das Projekt für dieses Label |
| `name` | string | Ja | Projektlabel-Name |
| `color` | string | Nein | Label-Farbe \(Hex-Code\) |
| `description` | string | Nein | Label-Beschreibung |
| `isGroup` | boolean | Nein | Ob dies eine Label-Gruppe ist |
Expand Down Expand Up @@ -1394,6 +1421,7 @@ Einen neuen Projektstatus in Linear erstellen

| Parameter | Typ | Erforderlich | Beschreibung |
| --------- | ---- | -------- | ----------- |
| `projectId` | string | Ja | Das Projekt, für das der Status erstellt werden soll |
| `name` | string | Ja | Name des Projektstatus |
| `color` | string | Ja | Statusfarbe \(Hex-Code\) |
| `description` | string | Nein | Statusbeschreibung |
Expand Down
Loading
Loading