Skip to content

Commit b7e814b

Browse files
authored
v0.5.10: copilot upgrade, preprocessor, logs search, UI, code hygiene
2 parents 842ef27 + 3be57af commit b7e814b

File tree

596 files changed

+18127
-10162
lines changed

Some content is hidden

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

596 files changed

+18127
-10162
lines changed

.github/CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -374,7 +374,7 @@ In addition, you will need to update the registries:
374374
Add your block to the blocks registry (`/apps/sim/blocks/registry.ts`):
375375
376376
```typescript:/apps/sim/blocks/registry.ts
377-
import { PineconeBlock } from './blocks/pinecone'
377+
import { PineconeBlock } from '@/blocks/blocks/pinecone'
378378
379379
// Registry of all available blocks
380380
export const registry: Record<string, BlockConfig> = {

.github/workflows/ci.yml

Lines changed: 24 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
name: Build AMD64
2222
needs: test-build
2323
if: github.event_name == 'push' && (github.ref == 'refs/heads/main' || github.ref == 'refs/heads/staging')
24-
runs-on: blacksmith-4vcpu-ubuntu-2404
24+
runs-on: blacksmith-8vcpu-ubuntu-2404
2525
permissions:
2626
contents: read
2727
packages: write
@@ -162,7 +162,7 @@ jobs:
162162
# Create GHCR multi-arch manifests (only for main, after both builds)
163163
create-ghcr-manifests:
164164
name: Create GHCR Manifests
165-
runs-on: blacksmith-4vcpu-ubuntu-2404
165+
runs-on: blacksmith-8vcpu-ubuntu-2404
166166
needs: [build-amd64, build-ghcr-arm64]
167167
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
168168
permissions:
@@ -198,18 +198,30 @@ jobs:
198198
"${IMAGE_BASE}:${{ github.sha }}-arm64"
199199
docker manifest push "${IMAGE_BASE}:${{ github.sha }}"
200200
201-
# Deploy Trigger.dev (after ECR images are pushed, runs in parallel with process-docs)
202-
trigger-deploy:
203-
name: Deploy Trigger.dev
204-
needs: build-amd64
205-
if: github.event_name == 'push' && (github.ref == 'refs/heads/main' || github.ref == 'refs/heads/staging')
206-
uses: ./.github/workflows/trigger-deploy.yml
207-
secrets: inherit
201+
# Check if docs changed
202+
check-docs-changes:
203+
name: Check Docs Changes
204+
runs-on: blacksmith-4vcpu-ubuntu-2404
205+
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
206+
outputs:
207+
docs_changed: ${{ steps.filter.outputs.docs }}
208+
steps:
209+
- uses: actions/checkout@v4
210+
with:
211+
fetch-depth: 2 # Need at least 2 commits to detect changes
212+
- uses: dorny/paths-filter@v3
213+
id: filter
214+
with:
215+
filters: |
216+
docs:
217+
- 'apps/docs/content/docs/en/**'
218+
- 'apps/sim/scripts/process-docs.ts'
219+
- 'apps/sim/lib/chunkers/**'
208220
209-
# Process docs embeddings (after ECR images are pushed, runs in parallel with trigger-deploy)
221+
# Process docs embeddings (only when docs change, after ECR images are pushed)
210222
process-docs:
211223
name: Process Docs
212-
needs: build-amd64
213-
if: github.event_name == 'push' && (github.ref == 'refs/heads/main' || github.ref == 'refs/heads/staging')
224+
needs: [build-amd64, check-docs-changes]
225+
if: needs.check-docs-changes.outputs.docs_changed == 'true'
214226
uses: ./.github/workflows/docs-embeddings.yml
215227
secrets: inherit

.github/workflows/docs-embeddings.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ on:
77
jobs:
88
process-docs-embeddings:
99
name: Process Documentation Embeddings
10-
runs-on: blacksmith-4vcpu-ubuntu-2404
11-
if: github.ref == 'refs/heads/main' || github.ref == 'refs/heads/staging'
10+
runs-on: blacksmith-8vcpu-ubuntu-2404
11+
if: github.ref == 'refs/heads/main'
1212

1313
steps:
1414
- name: Checkout code
@@ -41,6 +41,6 @@ jobs:
4141
- name: Process docs embeddings
4242
working-directory: ./apps/sim
4343
env:
44-
DATABASE_URL: ${{ github.ref == 'refs/heads/main' && secrets.DATABASE_URL || secrets.STAGING_DATABASE_URL }}
44+
DATABASE_URL: ${{ secrets.DATABASE_URL }}
4545
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
4646
run: bun run scripts/process-docs.ts --clear

.github/workflows/images.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ permissions:
1212
jobs:
1313
build-amd64:
1414
name: Build AMD64
15-
runs-on: blacksmith-4vcpu-ubuntu-2404
15+
runs-on: blacksmith-8vcpu-ubuntu-2404
1616
strategy:
1717
fail-fast: false
1818
matrix:
@@ -146,7 +146,7 @@ jobs:
146146

147147
create-ghcr-manifests:
148148
name: Create GHCR Manifests
149-
runs-on: blacksmith-4vcpu-ubuntu-2404
149+
runs-on: blacksmith-8vcpu-ubuntu-2404
150150
needs: [build-amd64, build-ghcr-arm64]
151151
if: github.ref == 'refs/heads/main'
152152
strategy:

.github/workflows/trigger-deploy.yml

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

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
'use client'
22

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

66
interface BlockInfoCardProps {
77
type: string

apps/docs/components/ui/image.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22

33
import { useState } from 'react'
44
import NextImage, { type ImageProps as NextImageProps } from 'next/image'
5+
import { Lightbox } from '@/components/ui/lightbox'
56
import { cn } from '@/lib/utils'
6-
import { Lightbox } from './lightbox'
77

88
interface ImageProps extends Omit<NextImageProps, 'className'> {
99
className?: string

apps/docs/content/docs/de/tools/linear.mdx

Lines changed: 51 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -39,14 +39,24 @@ Tickets von Linear abrufen und filtern
3939

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

4555
#### Ausgabe
4656

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

5161
### `linear_get_issue`
5262

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

80100
#### Ausgabe
81101

82102
| Parameter | Typ | Beschreibung |
83103
| --------- | ---- | ----------- |
84-
| `issue` | object | Das erstellte Ticket mit id, title, description, state, teamId und projectId |
104+
| `issue` | object | Das erstellte Ticket mit allen seinen Eigenschaften |
85105

86106
### `linear_update_issue`
87107

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

103129
#### Ausgabe
104130

@@ -236,8 +262,8 @@ Einen Kommentar in Linear bearbeiten
236262

237263
| Parameter | Typ | Erforderlich | Beschreibung |
238264
| --------- | ---- | -------- | ----------- |
239-
| `commentId` | string | Ja | Kommentar-ID, die aktualisiert werden soll |
240-
| `body` | string | Ja | Neuer Kommentartext \(unterstützt Markdown\) |
265+
| `commentId` | string | Ja | Kommentar-ID zum Aktualisieren |
266+
| `body` | string | Nein | Neuer Kommentartext \(unterstützt Markdown\) |
241267

242268
#### Ausgabe
243269

@@ -344,14 +370,14 @@ Ein bestehendes Projekt in Linear aktualisieren
344370

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

356382
#### Ausgabe
357383

@@ -525,11 +551,11 @@ Einen neuen Workflow-Status in Linear erstellen
525551

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

535561
#### Ausgabe
@@ -635,9 +661,9 @@ Einen Anhang zu einem Ticket in Linear hinzufügen
635661

636662
| Parameter | Typ | Erforderlich | Beschreibung |
637663
| --------- | ---- | -------- | ----------- |
638-
| `issueId` | string | Ja | Ticket-ID, an die der Anhang angehängt werden soll |
664+
| `issueId` | string | Ja | Ticket-ID, an die angehängt werden soll |
639665
| `url` | string | Ja | URL des Anhangs |
640-
| `title` | string | Nein | Titel des Anhangs |
666+
| `title` | string | Ja | Titel des Anhangs |
641667
| `subtitle` | string | Nein | Untertitel/Beschreibung des Anhangs |
642668

643669
#### Ausgabe
@@ -673,7 +699,7 @@ Metadaten eines Anhangs in Linear aktualisieren
673699
| Parameter | Typ | Erforderlich | Beschreibung |
674700
| --------- | ---- | -------- | ----------- |
675701
| `attachmentId` | string | Ja | Anhang-ID zum Aktualisieren |
676-
| `title` | string | Nein | Neuer Titel des Anhangs |
702+
| `title` | string | Ja | Neuer Titel des Anhangs |
677703
| `subtitle` | string | Nein | Neuer Untertitel des Anhangs |
678704

679705
#### Ausgabe
@@ -707,8 +733,8 @@ Zwei Tickets in Linear miteinander verknüpfen (blockiert, bezieht sich auf, dup
707733
| Parameter | Typ | Erforderlich | Beschreibung |
708734
| --------- | ---- | -------- | ----------- |
709735
| `issueId` | string | Ja | Quell-Ticket-ID |
710-
| `relatedIssueId` | string | Ja | Ziel-Ticket-ID für die Verknüpfung |
711-
| `type` | string | Ja | Beziehungstyp: "blocks", "blocked", "duplicate", "related" |
736+
| `relatedIssueId` | string | Ja | Ziel-Ticket-ID, mit der verknüpft werden soll |
737+
| `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. |
712738

713739
#### Ausgabe
714740

@@ -1217,7 +1243,8 @@ Ein neues Projekt-Label in Linear erstellen
12171243

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

13951422
| Parameter | Typ | Erforderlich | Beschreibung |
13961423
| --------- | ---- | -------- | ----------- |
1424+
| `projectId` | string | Ja | Das Projekt, für das der Status erstellt werden soll |
13971425
| `name` | string | Ja | Name des Projektstatus |
13981426
| `color` | string | Ja | Statusfarbe \(Hex-Code\) |
13991427
| `description` | string | Nein | Statusbeschreibung |

0 commit comments

Comments
 (0)