Skip to content

Commit 6bfa898

Browse files
Merge remote-tracking branch 'upstream/main' into feat/klaviyo
* upstream/main: (1307 commits) refactor: update billing and project management fix: handle nil usage in platform hooks and update platform service to conditionally fetch usage fix: publishing piece to npm through tools scripts refactor: remove ManagePlanDialog from Billing component fix: update platform project service to directly assign tasks and aiCredits feat(gemini): add 2.5 flash and 2.5 pro models fix: reordered embedding sdk changelog to show latest first + added note for 0.66.0 fix: add image version for sdk 0.6.0 notes chore: bump versions refactor: upgrade dialog fix: pieces with testing function were using simulation refactor: use global error handler fix: mcp trigger testing docs: add documentation for Delete Project endpoint Update index.ts feat: lock mcps, agents and tables on limits exceeded feat: split integration tests into multiple files feat(mistral-ai): fix upload file feat: mistral-ai piece fix: lint ...
2 parents 65e2ff7 + 89262b0 commit 6bfa898

1,833 files changed

Lines changed: 132909 additions & 48893 deletions

File tree

Some content is hidden

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

.all-contributorsrc

Lines changed: 135 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1805,6 +1805,141 @@
18051805
"contributions": [
18061806
"plugin"
18071807
]
1808+
},
1809+
{
1810+
"login": "DerekJDev",
1811+
"name": "Derek Johnson",
1812+
"avatar_url": "https://avatars.githubusercontent.com/u/13419128?v=4",
1813+
"profile": "https://tarvent.com",
1814+
"contributions": [
1815+
"plugin"
1816+
]
1817+
},
1818+
{
1819+
"login": "mamiefurax",
1820+
"name": "MamieFurax",
1821+
"avatar_url": "https://avatars.githubusercontent.com/u/3955802?v=4",
1822+
"profile": "https://github.com/mamiefurax",
1823+
"contributions": [
1824+
"plugin"
1825+
]
1826+
},
1827+
{
1828+
"login": "jadhavharshh",
1829+
"name": "Harsh Jadhav",
1830+
"avatar_url": "https://avatars.githubusercontent.com/u/182950168?v=4",
1831+
"profile": "https://github.com/jadhavharshh",
1832+
"contributions": [
1833+
"code"
1834+
]
1835+
},
1836+
{
1837+
"login": "lucaslimasouza",
1838+
"name": "Lucas Lima de Souza",
1839+
"avatar_url": "https://avatars.githubusercontent.com/u/1576846?v=4",
1840+
"profile": "http://twitter.com/lucaslima_souza",
1841+
"contributions": [
1842+
"plugin"
1843+
]
1844+
},
1845+
{
1846+
"login": "BenjaminAlan",
1847+
"name": "Benjamin Benouarka",
1848+
"avatar_url": "https://avatars.githubusercontent.com/u/42831606?v=4",
1849+
"profile": "https://github.com/BenjaminAlan",
1850+
"contributions": [
1851+
"code"
1852+
]
1853+
},
1854+
{
1855+
"login": "cjwooo",
1856+
"name": "Chris Wu",
1857+
"avatar_url": "https://avatars.githubusercontent.com/u/4491213?v=4",
1858+
"profile": "https://www.linkedin.com/in/chris-wu/",
1859+
"contributions": [
1860+
"code"
1861+
]
1862+
},
1863+
{
1864+
"login": "prasanna2000-max",
1865+
"name": "Prasanna R",
1866+
"avatar_url": "https://avatars.githubusercontent.com/u/61037314?v=4",
1867+
"profile": "https://github.com/prasanna2000-max",
1868+
"contributions": [
1869+
"code"
1870+
]
1871+
},
1872+
{
1873+
"login": "AdminCraftHD",
1874+
"name": "AdminCraftHD",
1875+
"avatar_url": "https://avatars.githubusercontent.com/u/33310274?v=4",
1876+
"profile": "https://github.com/AdminCraftHD",
1877+
"contributions": [
1878+
"code"
1879+
]
1880+
},
1881+
{
1882+
"login": "tumrabert",
1883+
"name": "Tanakit Phentun",
1884+
"avatar_url": "https://avatars.githubusercontent.com/u/38305310?v=4",
1885+
"profile": "https://tumrabertworld.vercel.app/resume",
1886+
"contributions": [
1887+
"code"
1888+
]
1889+
},
1890+
{
1891+
"login": "marapper",
1892+
"name": "Sergey Bondar",
1893+
"avatar_url": "https://avatars.githubusercontent.com/u/1397054?v=4",
1894+
"profile": "https://github.com/marapper",
1895+
"contributions": [
1896+
"plugin"
1897+
]
1898+
},
1899+
{
1900+
"login": "yusuf-cirak",
1901+
"name": "Yusuf Çırak",
1902+
"avatar_url": "https://avatars.githubusercontent.com/u/81169996?v=4",
1903+
"profile": "https://yusufcirak.net",
1904+
"contributions": [
1905+
"plugin"
1906+
]
1907+
},
1908+
{
1909+
"login": "ezhil56x",
1910+
"name": "Ezhil Shanmugham",
1911+
"avatar_url": "https://avatars.githubusercontent.com/u/103899034?v=4",
1912+
"profile": "https://ezhil.dev",
1913+
"contributions": [
1914+
"plugin"
1915+
]
1916+
},
1917+
{
1918+
"login": "sunorains",
1919+
"name": "Anderson",
1920+
"avatar_url": "https://avatars.githubusercontent.com/u/211304820?v=4",
1921+
"profile": "https://github.com/sunorains",
1922+
"contributions": [
1923+
"plugin"
1924+
]
1925+
},
1926+
{
1927+
"login": "calladodan",
1928+
"name": "Daniel Callado",
1929+
"avatar_url": "https://avatars.githubusercontent.com/u/7246416?v=4",
1930+
"profile": "https://github.com/calladodan",
1931+
"contributions": [
1932+
"plugin"
1933+
]
1934+
},
1935+
{
1936+
"login": "sparkybug",
1937+
"name": "Ukaegbu Osinachi",
1938+
"avatar_url": "https://avatars.githubusercontent.com/u/52334088?v=4",
1939+
"profile": "https://github.com/sparkybug",
1940+
"contributions": [
1941+
"plugin"
1942+
]
18081943
}
18091944
],
18101945
"commitType": "docs"

.cursor/mcp.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"mcpServers": {
3+
"nx-mcp": {
4+
"url": "http://localhost:9536/sse"
5+
}
6+
}
7+
}

.github/workflows/build-cloud-nx.yml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,12 @@ jobs:
1818
node-version: 20
1919
cache: 'npm'
2020

21-
- run: npx nx-cloud start-ci-run --distribute-on="3 linux-large-js" --agents
21+
- run: npx nx-cloud start-ci-run --distribute-on="3 linux-large-js" --agents
2222

2323
- run: npm ci
2424

25+
- run: npx nx reset
26+
2527
- uses: nrwl/nx-set-shas@v4
2628

2729
- name: List all nx targets
@@ -68,4 +70,10 @@ jobs:
6870
if: steps.check-framework-common.outputs.framework_or_common_changed == 'true'
6971
run: npx nx run-many --target=build -c production --projects="pieces-*" --agents --parallel
7072

71-
- run: npx nx run-many --target=test --projects=engine,shared,server-api --agents --parallel
73+
- name: Run all tests in parallel
74+
run: |
75+
npx nx run-many --target=test --projects=engine,shared --agents --parallel &
76+
npx nx run server-api:test-ce &
77+
npx nx run server-api:test-ee &
78+
npx nx run server-api:test-cloud &
79+
wait

.github/workflows/crowdin.yml

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
name: Crowdin Action
2+
3+
on:
4+
push:
5+
branches: [ main ]
6+
workflow_dispatch:
7+
8+
jobs:
9+
synchronize-with-crowdin:
10+
runs-on: ubuntu-latest
11+
12+
steps:
13+
- name: Checkout
14+
uses: actions/checkout@v4
15+
16+
- name: crowdin action
17+
uses: crowdin/github-action@v2
18+
with:
19+
# Configuration file
20+
config: 'crowdin.yml'
21+
upload_sources: true
22+
upload_translations: false
23+
download_translations: true
24+
localization_branch_name: l10n_crowdin_translations
25+
create_pull_request: true
26+
pull_request_title: 'New Crowdin Translations'
27+
pull_request_body: 'New Crowdin translations by [Crowdin GH Action](https://github.com/crowdin/github-action)'
28+
pull_request_base_branch_name: 'main'
29+
env:
30+
# A classic GitHub Personal Access Token with the 'repo' scope selected (the user should have write access to the repository).
31+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
32+
33+
# A numeric ID, found at https://crowdin.com/project/<projectName>/tools/api
34+
CROWDIN_PROJECT_ID: ${{ secrets.CROWDIN_PROJECT_ID }}
35+
36+
# Visit https://crowdin.com/settings#api-key to create this token
37+
CROWDIN_PERSONAL_TOKEN: ${{ secrets.CROWDIN_PERSONAL_TOKEN }}

.github/workflows/e2e-tests.yml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
name: E2E Tests
2+
on:
3+
pull_request:
4+
branches: [main]
5+
push:
6+
branches: [main]
7+
8+
jobs:
9+
e2e-tests:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: actions/checkout@v4
13+
- uses: actions/setup-node@v3
14+
with:
15+
node-version: 20
16+
cache: 'npm'
17+
18+
- name: Install dependencies
19+
run: npm ci
20+
21+
- name: Install playwright dependencies
22+
run: sudo apt install -y libnss3 libnspr4 libatk1.0-0t64 libatk-bridge2.0-0t64 libcups2t64 libatspi2.0-0t64 libxcomposite1 libxdamage1 libxext6 libxfixes3 libxrandr2 libgbm1 libpango-1.0-0 libcairo2 libasound2t64
23+
24+
- name: Install Playwright browsers
25+
run: npx playwright install --with-deps
26+
27+
- name: Run E2E tests
28+
run: npx nx run tests-e2e:test-scenarios
29+
env:
30+
E2E_EMAIL: ${{ secrets.E2E_EMAIL }}
31+
E2E_PASSWORD: ${{ secrets.E2E_PASSWORD }}
32+
E2E_INSTANCE_URL: ${{ secrets.E2E_INSTANCE_URL }}

.gitignore

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,3 +62,12 @@ scratch.md
6262

6363
# environment variables
6464
.env
65+
66+
.cursor/rules/nx-rules.mdc
67+
.github/instructions/nx.instructions.md
68+
69+
# Playwright
70+
/test-results/
71+
/playwright-report/
72+
/blob-report/
73+
/playwright/.cache/

.vscode/settings.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,5 @@
1111
"editor.formatOnSave": false,
1212
"typescript.tsdk": "node_modules/typescript/lib",
1313
"javascript.preferences.importModuleSpecifier": "relative",
14+
"nxConsole.generateAiAgentRules": true,
1415
}

Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,11 +43,12 @@ FROM base AS build
4343

4444
# Set up backend
4545
WORKDIR /usr/src/app
46-
COPY . .
4746

4847
COPY .npmrc package.json package-lock.json ./
4948
RUN npm ci
5049

50+
COPY . .
51+
5152
RUN npx nx run-many --target=build --projects=server-api --configuration production
5253
RUN npx nx run-many --target=build --projects=react-ui
5354

README.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -411,6 +411,25 @@ Not into coding but still interested in contributing? Come join our [Discord](ht
411411
<tr>
412412
<td align="center" valign="top" width="14.28%"><a href="https://github.com/Sanket6652"><img src="https://avatars.githubusercontent.com/u/119039046?v=4?s=100" width="100px;" alt="Sanket6652"/><br /><sub><b>Sanket6652</b></sub></a><br /><a href="#plugin-Sanket6652" title="Plugin/utility libraries">🔌</a></td>
413413
<td align="center" valign="top" width="14.28%"><a href="https://github.com/Ani-4x"><img src="https://avatars.githubusercontent.com/u/174266491?v=4?s=100" width="100px;" alt="Animesh"/><br /><sub><b>Animesh</b></sub></a><br /><a href="#plugin-Ani-4x" title="Plugin/utility libraries">🔌</a></td>
414+
<td align="center" valign="top" width="14.28%"><a href="https://tarvent.com"><img src="https://avatars.githubusercontent.com/u/13419128?v=4?s=100" width="100px;" alt="Derek Johnson"/><br /><sub><b>Derek Johnson</b></sub></a><br /><a href="#plugin-DerekJDev" title="Plugin/utility libraries">🔌</a></td>
415+
<td align="center" valign="top" width="14.28%"><a href="https://github.com/mamiefurax"><img src="https://avatars.githubusercontent.com/u/3955802?v=4?s=100" width="100px;" alt="MamieFurax"/><br /><sub><b>MamieFurax</b></sub></a><br /><a href="#plugin-mamiefurax" title="Plugin/utility libraries">🔌</a></td>
416+
<td align="center" valign="top" width="14.28%"><a href="https://github.com/jadhavharshh"><img src="https://avatars.githubusercontent.com/u/182950168?v=4?s=100" width="100px;" alt="Harsh Jadhav"/><br /><sub><b>Harsh Jadhav</b></sub></a><br /><a href="https://github.com/activepieces/activepieces/commits?author=jadhavharshh" title="Code">💻</a></td>
417+
<td align="center" valign="top" width="14.28%"><a href="http://twitter.com/lucaslima_souza"><img src="https://avatars.githubusercontent.com/u/1576846?v=4?s=100" width="100px;" alt="Lucas Lima de Souza"/><br /><sub><b>Lucas Lima de Souza</b></sub></a><br /><a href="#plugin-lucaslimasouza" title="Plugin/utility libraries">🔌</a></td>
418+
<td align="center" valign="top" width="14.28%"><a href="https://github.com/BenjaminAlan"><img src="https://avatars.githubusercontent.com/u/42831606?v=4?s=100" width="100px;" alt="Benjamin Benouarka"/><br /><sub><b>Benjamin Benouarka</b></sub></a><br /><a href="https://github.com/activepieces/activepieces/commits?author=BenjaminAlan" title="Code">💻</a></td>
419+
</tr>
420+
<tr>
421+
<td align="center" valign="top" width="14.28%"><a href="https://www.linkedin.com/in/chris-wu/"><img src="https://avatars.githubusercontent.com/u/4491213?v=4?s=100" width="100px;" alt="Chris Wu"/><br /><sub><b>Chris Wu</b></sub></a><br /><a href="https://github.com/activepieces/activepieces/commits?author=cjwooo" title="Code">💻</a></td>
422+
<td align="center" valign="top" width="14.28%"><a href="https://github.com/prasanna2000-max"><img src="https://avatars.githubusercontent.com/u/61037314?v=4?s=100" width="100px;" alt="Prasanna R"/><br /><sub><b>Prasanna R</b></sub></a><br /><a href="https://github.com/activepieces/activepieces/commits?author=prasanna2000-max" title="Code">💻</a></td>
423+
<td align="center" valign="top" width="14.28%"><a href="https://github.com/AdminCraftHD"><img src="https://avatars.githubusercontent.com/u/33310274?v=4?s=100" width="100px;" alt="AdminCraftHD"/><br /><sub><b>AdminCraftHD</b></sub></a><br /><a href="https://github.com/activepieces/activepieces/commits?author=AdminCraftHD" title="Code">💻</a></td>
424+
<td align="center" valign="top" width="14.28%"><a href="https://tumrabertworld.vercel.app/resume"><img src="https://avatars.githubusercontent.com/u/38305310?v=4?s=100" width="100px;" alt="Tanakit Phentun"/><br /><sub><b>Tanakit Phentun</b></sub></a><br /><a href="https://github.com/activepieces/activepieces/commits?author=tumrabert" title="Code">💻</a></td>
425+
<td align="center" valign="top" width="14.28%"><a href="https://github.com/marapper"><img src="https://avatars.githubusercontent.com/u/1397054?v=4?s=100" width="100px;" alt="Sergey Bondar"/><br /><sub><b>Sergey Bondar</b></sub></a><br /><a href="#plugin-marapper" title="Plugin/utility libraries">🔌</a></td>
426+
<td align="center" valign="top" width="14.28%"><a href="https://yusufcirak.net"><img src="https://avatars.githubusercontent.com/u/81169996?v=4?s=100" width="100px;" alt="Yusuf Çırak"/><br /><sub><b>Yusuf Çırak</b></sub></a><br /><a href="#plugin-yusuf-cirak" title="Plugin/utility libraries">🔌</a></td>
427+
<td align="center" valign="top" width="14.28%"><a href="https://ezhil.dev"><img src="https://avatars.githubusercontent.com/u/103899034?v=4?s=100" width="100px;" alt="Ezhil Shanmugham"/><br /><sub><b>Ezhil Shanmugham</b></sub></a><br /><a href="#plugin-ezhil56x" title="Plugin/utility libraries">🔌</a></td>
428+
</tr>
429+
<tr>
430+
<td align="center" valign="top" width="14.28%"><a href="https://github.com/sunorains"><img src="https://avatars.githubusercontent.com/u/211304820?v=4?s=100" width="100px;" alt="Anderson"/><br /><sub><b>Anderson</b></sub></a><br /><a href="#plugin-sunorains" title="Plugin/utility libraries">🔌</a></td>
431+
<td align="center" valign="top" width="14.28%"><a href="https://github.com/calladodan"><img src="https://avatars.githubusercontent.com/u/7246416?v=4?s=100" width="100px;" alt="Daniel Callado"/><br /><sub><b>Daniel Callado</b></sub></a><br /><a href="#plugin-calladodan" title="Plugin/utility libraries">🔌</a></td>
432+
<td align="center" valign="top" width="14.28%"><a href="https://github.com/sparkybug"><img src="https://avatars.githubusercontent.com/u/52334088?v=4?s=100" width="100px;" alt="Ukaegbu Osinachi"/><br /><sub><b>Ukaegbu Osinachi</b></sub></a><br /><a href="#plugin-sparkybug" title="Plugin/utility libraries">🔌</a></td>
414433
</tr>
415434
</tbody>
416435
</table>

crowdin.yml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
1-
2-
"project_id_env": "CROWDIN_PROJECT_ID"
3-
"api_token_env": "CROWDIN_PERSONAL_TOKEN"
4-
"base_path": "."
5-
"base_url": "https://api.crowdin.com"
6-
"preserve_hierarchy": true
1+
project_id_env: CROWDIN_PROJECT_ID
2+
api_token_env: CROWDIN_PERSONAL_TOKEN
3+
base_path: .
4+
base_url: 'https://api.crowdin.com'
5+
preserve_hierarchy: 1
76
files:
87
- type: i18next_json
98
source: packages/react-ui/public/locales/en/translation.json

0 commit comments

Comments
 (0)