AI Agents & MCPs & AI Workflow Automation • (~400 MCP servers for AI agents) • AI Automation / AI Agent with MCPs • AI Workflows & AI Agents • MCPs for AI Agents
TypeScript ai-agentai-agent-toolsai-agentsai-agents-frameworkmcpmcp-servermcp-toolsmcpsn8n-alternativeno-code-automationworkflowworkflow-automationworkflows
chore(web): delete dead code and add knip to keep it out (#15619)
moaaz4fde04d417eb
diff --git a/brain/knowledge/engineering/web-feature-anatomy.md b/brain/knowledge/engineering/web-feature-anatomy.mdindex e3e4161a193..99e41456eee 100644--- a/brain/knowledge/engineering/web-feature-anatomy.md+++ b/brain/knowledge/engineering/web-feature-anatomy.md@@ -122,3 +122,7 @@ Verify with `npx turbo run lint --filter=web`, or `npm run lint-dev` for the who- **`deepEqual` from the `deep-equal` package is LOOSE by default, so matching an option is not the same as matching its type.** Verified on `[email protected]`: `deepEqual('5', 5)`, `deepEqual(0, false)`, `deepEqual('', 0)` and `deepEqual({a:'1'}, {a:1})` are all `true`. Every option-matching call in the web dropdowns relies on this (`searchable-select.tsx`, `multi-select-piece-property.tsx`, `dynamic-dropdown-piece-property.tsx`), which is fine while the result is only used to *find* a row. It stops being fine the moment you write the matched option's value back into the form: `restoreValueIfStillInOptions` restoring `matchingOption.value` instead of the stored value silently rewrites a saved `'12345'` into `12345` when a connection switch re-resolves the dropdown, and the piece — or the backend schema — then sees a number where a string was persisted. Decide deliberately: canonicalize to the option's value (what the option list says is correct) or echo back the value the form already held; if you need the strict comparison, `deep-equal` takes `{ strict: true }`. The same looseness means a stored `0` can match an option whose value is `false`.- **CI never type checked `packages/web`, so a `tsc` error could sit on `main` while every check stayed green.** The web build script is `vite build`, and esbuild transpiles without reading types — `packages/server/{api,worker,sandbox,utils}` build with `tsc -p` and so get the type check for free from the build step, but `packages/server/engine` is bundled by esbuild and has the same hole — it carries pre-existing type errors today, so it cannot just be added to the step. Nothing else in `ci.yml` ran `tsc` against web. The failure mode is that the author's editor is the only thing that sees the error, and it reaches whoever pulls next: [#15524](https://github.com/activepieces/activepieces/pull/15524) landed a `'message' in apError.params` on a union where `INVALID_CREDENTIALS` declares `params: null`, and `main` was red in every contributor's IDE for hours with no CI signal. **Read that class of error as a runtime bug, not a lint nit**: `in` throws a `TypeError` on `null` and `undefined`, so the suppressed complaint was describing a real crash inside a React Query `onError` — the toast never rendered and the user got no feedback at all. The narrowing was honest and the cast was not: `error.response.data as ApErrorParams` promises a `params` object that a proxy 500, a gateway HTML page or a bare `{ message }` body does not carry, so the property is `undefined` at runtime no matter what the cast says. `ci.yml` now runs `npx turbo run typecheck --filter=web` (the `typecheck` task already existed in `turbo.json`) before the core build. When adding a package that builds through a bundler rather than `tsc`, give it the same explicit step.- **The UI theme default is `light`, not `system` — and the embed pins to light too.** `ThemeProvider` ([components/providers/theme-provider.tsx](packages/web/src/components/providers/theme-provider.tsx)) falls back to `light` when `vite-ui-theme` is unset, and the embed route calls `setThemeWithoutPersisting(event.data.data.mode ?? 'light')` so a vendor that passes no `styling.mode` never inherits the *viewer's* OS theme inside the iframe. **The embed must use the non-persisting setter**: the iframe is same-origin with the main app, so the plain `setTheme` writes the vendor's styling choice into the shared `vite-ui-theme` key and the user's own UI silently loses the theme they picked — one visit to a customer's embed and their dark mode is gone. Anything that is a *surface's* display choice rather than the user's preference wants that setter (or `forceLightMode`, which the auth pages use). The flip side is that non-persisted theme state only survives while the provider does, and `app.tsx` remounts its subtree on every language change via `<React.Fragment key={i18n.language}>` — a fresh `ThemeProvider` re-reads `vite-ui-theme` and the override is gone. So `ThemeProvider` sits *outside* that keyed fragment, and any other provider holding state that is not written to storage has to as well. The embed hits this exactly: `VENDOR_INIT` applies `styling.mode` and then `i18n.changeLanguage(locale)` inside the same handler, so a vendor asking for dark plus a non-`en` locale is the case that breaks. `system` is still a real option, but only when a user picks it in Settings > Appearance. The default used to be `system` and nobody noticed, because `system` was silently broken — it read `prefers-color-scheme` once at mount and never re-read it, so in practice everyone landed on light; fixing that (GIT-1478, #15463) flipped every dark-OS user with no stored preference into dark overnight, which is what GIT-1888 reverses. So a "dark mode is the default now" report is not a regression in the toggle, it is this default. Note the resolution happens in one `useEffect` that also depends on `branding`: with no branding loaded it returns early and *no* theme class is on `<html>` at all, which reads as light because that is the unclassed stylesheet.++- **A `.ts` and a `.tsx` of the same name can both sit in the tree, and every importer silently binds to the `.ts`.** `hooks/use-mobile.ts` and `hooks/use-mobile.tsx` were byte-for-byte identical for months: the `.ts` arrived with #11554 and nothing removed the `.tsx` that #11440 had left. Both TypeScript's Node resolution and Vite try `.ts` before `.tsx`, so all five importers of `@/hooks/use-mobile` resolved to the `.ts` and the `.tsx` was unreachable — while still being edited, linted and typechecked like live code. Nothing flags this: the import resolves, tsc is happy, and a `grep` for the symbol shows five healthy importers, which reads as proof the file is *used*. Only a reachability tool sees it. When a file looks dead but its symbol has importers, check for a same-named sibling with the other extension before concluding the tool is wrong.+- **`knip` is the reachability check for `packages/web`; `npm run knip` must exit clean.** Config in `knip.json` at the repo root, every rule at its default `error` severity — nothing is muted, so a non-zero exit means real dead code, not noise. Two settings carry the weight. `src/features/*/index.ts` are **entry points**, because a feature barrel is that feature's public surface (see *Feature folder* above) and is meant to export more than today's callers import; without that, reachability reports the convention itself as dead. `ignoreExportsUsedInFile: true` means anything it does report is referenced *nowhere*, not even in its own file. The two `ignore*` lists cover what knip genuinely cannot see: `tailwindcss`/`tw-animate-css` arrive via `@import` in `styles.css` (knip does not follow CSS), and `dwebp`/`sips`/`cwebp` are system binaries shelled out to by `scripts/generate-usecase-images.mjs`.+- **When knip flags an export whose name clearly has live callers, look for a second symbol of that name before concluding knip is wrong.** This codebase repeatedly grew duplicates — something was moved or re-implemented and the old copy stayed — so a `grep` for the symbol finds the *other* one and reads as proof the finding is bogus. Every instance checked was knip being right: `use-mobile.ts` vs `.tsx` (identical files, resolution silently picks `.ts`), `cursor-position-context.tsx` duplicated under `flow-canvas/` and `state/` (two separate `createContext()` calls), `parseAnswerPairs` shared vs a local copy in `assistant-message.tsx`, and `FlowApprovalRequestState`/`PieceSelectorTabConfig` re-exported locally while every consumer imports them from `@activepieces/shared`. knip also resolves this repo's dynamic imports correctly, including `React.lazy(() => import(x))` (needs `default`) and `import(x).then(m => ({default: m.Named}))` (needs the named export) — do not assume it is guessing. Verify a finding by reading the importing file's actual `import` statement, never by counting `grep` hits on the name.\ No newline at end of filediff --git a/bun.lock b/bun.lockindex 0de9eb9fdae..0f60df6ba37 100644--- a/bun.lock+++ b/bun.lock@@ -42,6 +42,7 @@"i18next-parser": "9.3.0","inquirer": "8.2.7","jsonc-eslint-parser": "2.4.1",+ "knip": "6.35.1","lint-staged": "15.2.9","prettier": "2.8.4","semver": "7.6.0",@@ -11109,8 +11110,6 @@"socket.io-client": "4.8.1","sonner": "2.0.7","tailwind-merge": "2.4.0",- "tailwind-scrollbar": "4.0.2",- "tslib": "2.6.2","tw-animate-css": "1.4.0","use-debounce": "10.0.1","use-deep-compare-effect": "1.8.1",@@ -13164,11 +13163,11 @@"@elevenlabs/elevenlabs-js": ["@elevenlabs/[email protected]", "", { "dependencies": { "command-exists": "^1.2.9", "form-data": "^4.0.0", "form-data-encoder": "^4.0.2", "formdata-node": "^6.0.3", "node-fetch": "^2.7.0", "qs": "^6.13.1", "url-join": "4.0.1" } }, "sha512-4EnytSPC0z+cZ6E+eze8um3KgiD3Rk3D5BRsHHeaqD9GjB38ZjD64SfZmj5itWcZVkl8Bx+0xdM/I4n1SO7E5g=="],- "@emnapi/core": ["@emnapi/[email protected]", "", { "dependencies": { "@emnapi/wasi-threads": "1.2.1", "tslib": "^2.4.0" } }, "sha512-yq6OkJ4p82CAfPl0u9mQebQHKPJkY7WrIuk205cTYnYe+k2Z8YBh11FrbRG/H6ihirqcacOgl2BIO8oyMQLeXw=="],+ "@emnapi/core": ["@emnapi/[email protected]", "", { "dependencies": { "@emnapi/wasi-threads": "1.2.2", "tslib": "^2.4.0" } }, "sha512-TC8MkTuZUtcTSiFeuC0ksCh9QIJ5+F21MvZ4Wn4ORfYaFJ/0dsiudv5tVkejgwZlwQ39jL9WWDe2lz8x0WglOA=="],- "@emnapi/runtime": ["@emnapi/[email protected]", "", { "dependencies": { "tslib": "^2.4.0" } }, "sha512-vgj7R3y3Wgx24IQaGPA/R6YFXLHVMOZ0uVEyIQPaWs+rd1AzfEMXlAC22FYwO1XkKR6NPsq7mUandH8oIRdZFw=="],+ "@emnapi/runtime": ["@emnapi/[email protected]", "", { "dependencies": { "tslib": "^2.4.0" } }, "sha512-kyOl3X0DuTiT1h2ft8r2fYO8JYtU9a9Xis/zBSiGArNaagCOWx90N1k2wxp18czFDH+OgcWGb5ZP/XMt3dcyPA=="],- "@emnapi/wasi-threads": ["@emnapi/[email protected]", "", { "dependencies": { "tslib": "^2.4.0" } }, "sha512-uTII7OYF+/Mes/MrcIOYp5yOtSMLBWSIoLPpcgwipoiKbli6k322tcoFsxoIIxPDqW01SQGAgko4EzZi2BNv2w=="],+ "@emnapi/wasi-threads": ["@emnapi/[email protected]", "", { "dependencies": { "tslib": "^2.4.0" } }, "sha512-c95qOXkHdydNKhscBTebqEC1CVAZpyqOfVfBzQ1qgzyl3gfeldUjIggDbIZgDKsHLgnsM+igH7TJ/eAasaVuMA=="],"@esbuild/aix-ppc64": ["@esbuild/[email protected]", "", { "os": "aix", "cpu": "ppc64" }, "sha512-Svl7tq8k/08+p6CXPpRjQ1fKX+1odH/BQbb48fV6fj3CWHhsoIOoY87w1oHXm0qEpkIK3ZfVgp0hed3XBXzXMQ=="],@@ -13638,7 +13637,7 @@"@msgpackr-extract/msgpackr-extract-win32-x64": ["@msgpackr-extract/[email protected]", "", { "os": "win32", "cpu": "x64" }, "sha512-x0fWaQtYp4E6sktbsdAqnehxDgEc/VwM7uLsRCYWaiGu0ykYdZPiS8zCWdnjHwyiumousxfBm4SO31eXqwEZhQ=="],- "@napi-rs/wasm-runtime": ["@napi-rs/[email protected]", "", { "dependencies": { "@emnapi/core": "^1.4.3", "@emnapi/runtime": "^1.4.3", "@tybys/wasm-util": "^0.10.0" } }, "sha512-ZVWUcfwY4E/yPitQJl481FjFo3K22D6qF0DuFH6Y/nbnE11GY5uguDxZMGXPQ8WQ0128MXQD7TnfHyK4oWoIJQ=="],+ "@napi-rs/wasm-runtime": ["@napi-rs/[email protected]", "", { "dependencies": { "@tybys/wasm-util": "^0.10.3" }, "peerDependencies": { "@emnapi/core": "^1.7.1 || ^2.0.0-alpha.4", "@emnapi/runtime": "^1.7.1 || ^2.0.0-alpha.4" } }, "sha512-AJxoUD2/15ESHbvpcyjU274nsAPLuOtPHCk0vKJM5pj//Fg/B1FXNWjPnXTT9PymCYYiHo4zPj0ZomXBKhoy7g=="],"@noble/curves": ["@noble/[email protected]", "", { "dependencies": { "@noble/hashes": "1.3.2" } }, "sha512-oYclrNgRaM9SsBUBVbb8M6DTV7ZHRTKugureoYEncY5c65HOmRzvSiTE3y5CYaPYJA/GVkrhXEoF0M3Ya9PMnw=="],@@ -13674,7 +13673,83 @@"@opentelemetry/api": ["@opentelemetry/[email protected]", "", {}, "sha512-3giAOQvZiH5F9bMlMiv8+GSPMeqg0dbaeo58/0SlA9sxSqZhnUtxzX9/2FzyhS9sWQf5S0GJE0AKBrFqjpeYcg=="],- "@oxc-project/types": ["@oxc-project/[email protected]", "", {}, "sha512-ngyLUpUjO3dpqygSRQDx7nMx8+BmXbWOU4oIwTJFV2MVIDG7knIZwgdwXlQWLg3C3oxg1lS7ppMtPKqKFb7wzw=="],+ "@oxc-parser/binding-android-arm-eabi": ["@oxc-parser/[email protected]", "", { "os": "android", "cpu": "arm" }, "sha512-pHASv9g5pASxb7akHERZNSkrEqPhFaUix98o7d9hbTpolnnFWl7UiRrcMhCsV1+iVO4/cJwKsbKRJTFNs2tdBQ=="],++ "@oxc-parser/binding-android-arm64": ["@oxc-parser/[email protected]", "", { "os": "android", "cpu": "arm64" }, "sha512-sg/6Ez0KdAygsu0POELux9wN1Po2CP93WY8eNl4DBKIGprsd4QSHBXOb471Pu9i2OCD5sLkISSb2agZEhVn2Zw=="],++ "@oxc-parser/binding-darwin-arm64": ["@oxc-parser/[email protected]", "", { "os": "darwin", "cpu": "arm64" }, "sha512-yiSJmzGUvCUaJT8X3j40gVcX+ckuHQMuiOtF8DvzTs5+JtB/7XuHFPp4M+vv5u+HlBtDUd4Ks5pyHpWz8mfnkg=="],++ "@oxc-parser/binding-darwin-x64": ["@oxc-parser/[email protected]", "", { "os": "darwin", "cpu": "x64" }, "sha512-6ZeklaamrMy4H2JmhvcJg6iip59tYILtuLaILxyAHT3l5FDxnI5ihVievAft5ZmAbqtlWHErOi1OpJK8gy1wcA=="],++ "@oxc-parser/binding-freebsd-x64": ["@oxc-parser/[email protected]", "", { "os": "freebsd", "cpu": "x64" }, "sha512-vFsPx+a/qFECPnz/H8nC6x6MDvnWscLTCo/5muojEF54ERUq1kdgbvnWo95YnkhjF9sTIcG/uDxQBh1gffaufQ=="],++ "@oxc-parser/binding-linux-arm-gnueabihf": ["@oxc-parser/[email protected]", "", { "os": "linux", "cpu": "arm" }, "sha512-eOr3M+6iGbbxNL4PSS0VtsyQ2eOUxSBh00BqO22SbolDimPSYsBuLr/LCrZBkiqW2BoabhR6V4R8jrRAay7hjg=="],++ "@oxc-parser/binding-linux-arm-musleabihf": ["@oxc-parser/[email protected]", "", { "os": "linux", "cpu": "arm" }, "sha512-58ZKDw0mQRbCNfrd2IDyV4o8T7enzGERJn41BH2tjrZVGyiKiFzcfDicuB7Zcpb/1xIOrObovr8Dja6lZi8dLw=="],++ "@oxc-parser/binding-linux-arm64-gnu": ["@oxc-parser/[email protected]", "", { "os": "linux", "cpu": "arm64" }, "sha512-Fnu95O4eZ5i++GPvIzBEZ8y4ddTLR+D9paYa8JRaRk6ZK7nHQiWP5xtrhcPQsXqgat1d7sU/d5rbbI0p1FTHSQ=="],++ "@oxc-parser/binding-linux-arm64-musl": ["@oxc-parser/[email protected]", "", { "os": "linux", "cpu": "arm64" }, "sha512-3CQy/BMdx7N7H3qrcPxUL+a2CwUZodUcf6oq8iJuNZ9C6Ol1aq3mcWzsgySJ7CHFLvpX21ZDPp1r1X0QLbu/AQ=="],++ "@oxc-parser/binding-linux-ppc64-gnu": ["@oxc-parser/[email protected]", "", { "os": "linux", "cpu": "ppc64" }, "sha512-9LkaYvfiF8hMOw900csAvkf1oxE8XlmMeGowu5BcastSSwV8mKvKRMNU7HsV+ycyj1dQD8pX5qgOw8ja6SJacg=="],++ "@oxc-parser/binding-linux-riscv64-gnu": ["@oxc-parser/[email protected]", "", { "os": "linux", "cpu": "none" }, "sha512-2GBiM9h26dR4WJfhoMvnFMnFLf7m/kYs4UMqjvrOfQG4BV1nuTJDH22Zc2MQr3INZF7nSKYQ6xlhD3hQ7A6gug=="],++ "@oxc-parser/binding-linux-riscv64-musl": ["@oxc-parser/[email protected]", "", { "os": "linux", "cpu": "none" }, "sha512-uPqZexvKJmEgq4mAu36qe2xTfXZE7oyik1R7KtZ5tl8qKlq1U1fIqTFRUEBZqRGvforoTrGIpatRzcoPKO66RA=="],++ "@oxc-parser/binding-linux-s390x-gnu": ["@oxc-parser/[email protected]", "", { "os": "linux", "cpu": "s390x" }, "sha512-9oUHvnTbp7ZraFsTC8PN6XhdhPSSxZumYvixWl7Smi353gEULvK6yV0sXNVrdFMHQeaDKFCi8TgDhNK7/A+Y+Q=="],++ "@oxc-parser/binding-linux-x64-gnu": ["@oxc-parser/[email protected]", "", { "os": "linux", "cpu": "x64" }, "sha512-2qhDSJwKzbSZzF7lDqqk8sr/yXsmwr3PeUa4/nazIF+zFAYz1gVPEfC34GQtGxzJUUmklaYAL63368LEfrMeyw=="],++ "@oxc-parser/binding-linux-x64-musl": ["@oxc-parser/[email protected]", "", { "os": "linux", "cpu": "x64" }, "sha512-qQoPDZUFV0bh9xA09XydmkjMBpgc1ukJuhMvzQ9QeVmFaHTS9W5TE5CoLmSl3QQyUP9OuHO3x/WPZTIIZPWR3Q=="],++ "@oxc-parser/binding-openharmony-arm64": ["@oxc-parser/[email protected]", "", { "os": "none", "cpu": "arm64" }, "sha512-1UGbaQWEXUCLqAmaR5kwRDjx/R4S5LQKZkM9CHmaHkuKhriOF32aRLfS0jCRNE2yGQJLMEA1z9UucbBVqjXnDw=="],++ "@oxc-parser/binding-win32-arm64-msvc": ["@oxc-parser/[email protected]", "", { "os": "win32", "cpu": "arm64" }, "sha512-pWKdzRDNG2+NK4h/V6U/CYERcfYD6u28h5IB/VJVsrZaD3muvE58tUj22lieL5vLZ+XFi1GPv9YXckZbJZ9BLA=="],++ "@oxc-parser/binding-win32-ia32-msvc": ["@oxc-parser/[email protected]", "", { "os": "win32", "cpu": "ia32" }, "sha512-i3p4x+mvwtjcE1J5HM6V7ggsbXiznExN/4MkNyOy3dfXrVV3bnkSfmZxvo6/84qCVX4ShkpNE1SKt9biIF31GQ=="],++ "@oxc-parser/binding-win32-x64-msvc": ["@oxc-parser/[email protected]", "", { "os": "win32", "cpu": "x64" }, "sha512-Ye6vB7VQulghWYkYkECOBYFRVEizz4XyRTUAv+t8BuyurhKU7uD0P9eowL+mKG5Mf8MSYx+DI3Cm8SKZvYG7bQ=="],++ "@oxc-project/types": ["@oxc-project/[email protected]", "", {}, "sha512-Nm4s/jB+4FpFsPhWGEC4h7rzksesmtnMXomo6rCMcg/b8zLQuOziRgkCS1fxDCXOlJB/6Q8oABOZ/OP6RIPj9A=="],++ "@oxc-resolver/binding-android-arm-eabi": ["@oxc-resolver/[email protected]", "", { "os": "android", "cpu": "arm" }, "sha512-y09e0L0SRI2OA2tUIrjBgoV3eH5hvUKXNkJqXmNo5V2WxIjyC7I7aJfRLMEVpA8yi95f90gFDvO0VMgrDw+vwA=="],++ "@oxc-resolver/binding-android-arm64": ["@oxc-resolver/[email protected]", "", { "os": "android", "cpu": "arm64" }, "sha512-cl4icWaZFnLdg8m6qtnh5rBMuGbxc/ptStFHLeCNwr+2cZjkjNwQu/jYRS0CHlnPecOJMpuS5M6/BH+0J/YkEg=="],++ "@oxc-resolver/binding-darwin-arm64": ["@oxc-resolver/[email protected]", "", { "os": "darwin", "cpu": "arm64" }, "sha512-At29QEMF6HajbQvgY8K6OXnHD1x9rad74xBEfmCB6ZqCGsdq75aK7tOYcTbOanMy8qdIBrfL3SMr3p/lfSlb9w=="],++ "@oxc-resolver/binding-darwin-x64": ["@oxc-resolver/[email protected]", "", { "os": "darwin", "cpu": "x64" }, "sha512-A5Kqr1EUj4oIL5CF4WRssq/o5P0Y11cwoFouMRmQ7YnC/A8V93nv1nb7aSU8HwcgmXropjLNkVTl4MN87cu28Q=="],++ "@oxc-resolver/binding-freebsd-x64": ["@oxc-resolver/[email protected]", "", { "os": "freebsd", "cpu": "x64" }, "sha512-R5xkRBRRz7ceH/P5Jrc6G7FmdUdgpLYyESFAUDVTNQ9K0sGPxcp4ljiwEwEqsvNcQ4sYbMRrWcHHBCu7ksAJVw=="],++ "@oxc-resolver/binding-linux-arm-gnueabihf": ["@oxc-resolver/[email protected]", "", { "os": "linux", "cpu": "arm" }, "sha512-k/RuYL4L/R58IBn3wT5ma3Wh4k62bp1eYCFRWCmMsasUOqL+H6sW0VGFadEzKWXFFlz+2uIMoeMk9ySSZJHgbg=="],++ "@oxc-resolver/binding-linux-arm-musleabihf": ["@oxc-resolver/[email protected]", "", { "os": "linux", "cpu": "arm" }, "sha512-bnHAak3ujYfH5pKk4NieFNbvYvernfoQDgwLddbZ3OtMYrem87/qjlA+u+aKG0oZcqSLGCful/6/CEA+aeAgaA=="],++ "@oxc-resolver/binding-linux-arm64-gnu": ["@oxc-resolver/[email protected]", "", { "os": "linux", "cpu": "arm64" }, "sha512-vDT3KHgzYp47gmtNOqL2VNhCyl5Zv643eyxm//A68J8DeUGXrvD1pZFiaT4jSfe+RInfnn1R2yVHye4enx6RnA=="],++ "@oxc-resolver/binding-linux-arm64-musl": ["@oxc-resolver/[email protected]", "", { "os": "linux", "cpu": "arm64" }, "sha512-+kMlQvbzfyEYtu5FcjE4p+ttBLpKW4d/AsAsuE69BxV6V4twZJeIQZFfD8gh/wqglY0MkPSezWXQH0jBV13MUw=="],++ "@oxc-resolver/binding-linux-ppc64-gnu": ["@oxc-resolver/[email protected]", "", { "os": "linux", "cpu": "ppc64" }, "sha512-shjfMhmZ3gq9fv/w7bi3PnZlgOPG+2QAOFf0BJF0EgBSIGZ6PMLN2zbGEblTUYB/NKVDRyYhE2ff3dJ1QqNPkA=="],++ "@oxc-resolver/binding-linux-riscv64-gnu": ["@oxc-resolver/[email protected]", "", { "os": "linux", "cpu": "none" }, "sha512-zGelwFR5oRo+b69k8Lrzun86DyUHzfKN6cnjbR9l7Z7NIRznOE/2ZvPa1IUKqAL2PzAXOdwkfVqNvO1H2RlpAw=="],++ "@oxc-resolver/binding-linux-riscv64-musl": ["@oxc-resolver/[email protected]", "", { "os": "linux", "cpu": "none" }, "sha512-qxZ1SWCXJY0eyhAlP6Lmo9F2Nrtx7EkYj9oCgL8apDPCwXwCEDA2U697bbT81JIc2IrVjxO4KX6WU2N+oN9Z4w=="],++ "@oxc-resolver/binding-linux-s390x-gnu": ["@oxc-resolver/[email protected]", "", { "os": "linux", "cpu": "s390x" }, "sha512-sGCecF3cx2DFlH4t/z7ApnOnXqN48p5p5mlHDEnHTAukQa2P+qMVE4CwyWE9W+q/m3QJ7kKfGrIjax31f44oFQ=="],++ "@oxc-resolver/binding-linux-x64-gnu": ["@oxc-resolver/[email protected]", "", { "os": "linux", "cpu": "x64" }, "sha512-k/VlMMcSzMlahb3/fENM4rTlsJ0s3fFROA0KXPBmKggqmTSaE383sl8F3KCOXPLmVsYfW6hCitMhXCEtNeZxxg=="],++ "@oxc-resolver/binding-linux-x64-musl": ["@oxc-resolver/[email protected]", "", { "os": "linux", "cpu": "x64" }, "sha512-8hbnZyNi97b/8wapYaIF9+t9GmZKBW2vunaOc3h9HGJptH7b7XpvZqOTBSm/MpTjr7H497BlgOaSfLUdhmy2bw=="],++ "@oxc-resolver/binding-openharmony-arm64": ["@oxc-resolver/[email protected]", "", { "os": "none", "cpu": "arm64" }, "sha512-MvyGik3a6pVgZ0t/kWlbmFxFLmXQJwgLsY2eYFHLpy0wGwRbfzeIGgDwQ3kXqE30z+kSXennRkCrT7TUvkptNg=="],++ "@oxc-resolver/binding-wasm32-wasi": ["@oxc-resolver/[email protected]", "", { "dependencies": { "@emnapi/core": "1.11.2", "@emnapi/runtime": "1.11.2", "@napi-rs/wasm-runtime": "^1.1.6" }, "cpu": "none" }, "sha512-vHcssMPwO08RTvj/c0iOBz90attxyG3wQJ0dTcyEQK43LRpcdLWZlV5feBhv6Isn6ahbQIzHbCgfa81+RiML0Q=="],++ "@oxc-resolver/binding-win32-arm64-msvc": ["@oxc-resolver/[email protected]", "", { "os": "win32", "cpu": "arm64" }, "sha512-uokJqro2iBqkFvJdKQLP7d8/BUmFwESQFVmIJUQKj1Xn1a/LysJoe1vmeECLF5b3jsV8CAL5sEMJXX6SdK9Nhg=="],++ "@oxc-resolver/binding-win32-x64-msvc": ["@oxc-resolver/[email protected]", "", { "os": "win32", "cpu": "x64" }, "sha512-UqGPmo56KDfLlfXFAFIrNflHT8tFxWGEivWg3Zeyp4Uy2NlKN1FGPr6/BxcLGG3+kZ6Wp14g5Uj+n71boqZfiw=="],"@paralleldrive/cuid2": ["@paralleldrive/[email protected]", "", { "dependencies": { "@noble/hashes": "^1.1.5" } }, "sha512-XO7cAxhnTZl0Yggq6jOgjiOHhbgcO4NqFqwSmQpjK3b6TEE6Uj/jfSk6wzYyemh3+I0sHirKSetjQwn5cZktFw=="],@@ -14328,7 +14403,7 @@"@turbo/windows-arm64": ["@turbo/[email protected]", "", { "os": "win32", "cpu": "arm64" }, "sha512-fVdCsnmYoKICsycbWuuGp6Jvi51/3G/UluFWuAUCvR8PIW5IJkAk5BM9UF8PSm0Q2IphWHFZjYEgjHsh3B9y/g=="],- "@tybys/wasm-util": ["@tybys/[email protected]", "", { "dependencies": { "tslib": "^2.4.0" } }, "sha512-9tTaPJLSiejZKx+Bmog4uSubteqTvFrVrURwkmHixBo0G4seD0zUxp98E1DzUBJxLQ3NPwXrGKDiVjwx/DpPsg=="],+ "@tybys/wasm-util": ["@tybys/[email protected]", "", { "dependencies": { "tslib": "^2.4.0" } }, "sha512-W3c4gRigFS0T/Ma4qIYF3GDAc5AQdHb1yL5znJT1Zv1YaD9Kitx656wBjvr19qbiosmZT8lWDM5BEMynUqX65A=="],"@types/amqplib": ["@types/[email protected]", "", { "dependencies": { "@types/node": "*" } }, "sha512-IVj3avf9AQd2nXCx0PGk/OYq7VmHiyNxWFSb5HhU9ATh+i+gHWvVcljFTcTWQ/dyHJCTrzCixde+r/asL2ErDA=="],@@ -14494,8 +14569,6 @@"@types/phoenix": ["@types/[email protected]", "", {}, "sha512-oN9ive//QSBkf19rfDv45M7eZPi0eEXylht2OLEXicu5b4KoQ1OzXIw+xDSGWxSxe1JmepRR/ZH283vsu518/Q=="],- "@types/prismjs": ["@types/[email protected]", "", {}, "sha512-vqlvI7qlMvcCBbVe0AKAb4f97//Hy0EBTaiW8AalRnG/xAN5zOiWWyrNqNXeq8+KAuvRewjCVY1+IPxk4RdNYw=="],-"@types/qrcode": ["@types/[email protected]", "", { "dependencies": { "@types/node": "*" } }, "sha512-te7NQcV2BOvdj2b1hCAHzAoMNuj65kNBMz0KBaxM6c3VGBOhU0dURQKOtH8CFNI/dsKkwlv32p26qYQTWoB5bw=="],"@types/qs": ["@types/[email protected]", "", {}, "sha512-eOunJqu0K1923aExK6y8p6fsihYEn/BYuQ4g0CxAAgFc4b/ZLN4CrsRZ55srTdqoiLzU2B2evC+apEIxprEzkQ=="],@@ -15668,6 +15741,8 @@"fbjs-css-vars": ["[email protected]", "", {}, "sha512-b2XGFAFdWZWg0phtAWLHCk836A1Xann+I+Dgd3Gk64MHKZO44FfoD1KxyvbSh0qZsIoXQGGlVztIY+oitJPpRQ=="],+ "fd-package-json": ["[email protected]", "", { "dependencies": { "walk-up-path": "^4.0.0" } }, "sha512-jKmm9YtsNXN789RS/0mSzOC1NUq9mkVd65vbSSVsKdjGvYXBuE4oWe2QOEoFeRmJg+lPuZxpmrfFclNhoRMneQ=="],+"fd-slicer": ["[email protected]", "", { "dependencies": { "pend": "~1.2.0" } }, "sha512-cE1qsB/VwyQozZ+q1dGxR8LBYNZeofhEdUNGSMbQD3Gw2lAzX9Zb3uIU6Ebc/Fmyjo9AWWfnn0AUCHqtevs/8g=="],"fdir": ["[email protected]", "", { "peerDependencies": { "picomatch": "^3 || ^4" }, "optionalPeers": ["picomatch"] }, "sha512-tIbYtZbucOs0BRGqPJkshJUYdL+SDH7dVM8gjy+ERp3WAUjLEFJE+02kanyHtwjWOnwrKYBiwAmM0p4kLJAnXg=="],@@ -15730,6 +15805,8 @@"form-data-encoder": ["[email protected]", "", {}, "sha512-qfqtYan3rxrnCk1VYaA4H+Ms9xdpPqvLZa6xmMgFvhO32x7/3J/ExcTd6qpxM0vH2GdMI+poehyBZvqfMTto8A=="],+ "formatly": ["[email protected]", "", { "dependencies": { "fd-package-json": "^2.0.0", "package-manager-detector": "^1.8.0" }, "bin": { "formatly": "bin/index.mjs" } }, "sha512-7CXJtIIA0zy/u12StsYk25qVKxvdLA2ep2sTNxK3ov0mGNIIDqIvAXDSgTnAfDJFsPfWjuz0WjfYSdpvnLA5Tg=="],+"formdata-node": ["[email protected]", "", { "dependencies": { "node-domexception": "1.0.0", "web-streams-polyfill": "4.0.0-beta.3" } }, "sha512-0iirZp3uVDjVGt9p49aTaqjk84TrglENEDuqfdlZQ1roC9CWlPk6Avf8EEnZNcAqPonwkG35x4n3ww/1THYAeQ=="],"formdata-polyfill": ["[email protected]", "", { "dependencies": { "fetch-blob": "^3.1.2" } }, "sha512-buewHzMvYL29jdeQTVILecSaZKnt/RJWjoZCF5OW60Z67/GmSLBkOFM7qh1PI3zFNtJbaZL5eQu1vLfazOwj4g=="],@@ -16154,7 +16231,7 @@"jimp": ["[email protected]", "", { "dependencies": { "@jimp/custom": "^0.22.12", "@jimp/plugins": "^0.22.12", "@jimp/types": "^0.22.12", "regenerator-runtime": "^0.13.3" } }, "sha512-R5jZaYDnfkxKJy1dwLpj/7cvyjxiclxU3F4TrI/J4j2rS0niq6YDUMoPn5hs8GDpO+OZGo7Ky057CRtWesyhfg=="],- "jiti": ["[email protected]", "", { "bin": { "jiti": "lib/jiti-cli.mjs" } }, "sha512-ekilCSN1jwRvIbgeg/57YFh8qQDNbwDb9xT/qu2DAHbFFZUicIl4ygVaAvzveMhMVr3LnpSKTNnwt8PoOfmKhQ=="],+ "jiti": ["[email protected]", "", { "bin": { "jiti": "lib/jiti-cli.mjs" } }, "sha512-AC/7JofJvZGrrneWNaEnJeOLUx+JlGt7tNa0wZiRPT4MY1wmfKjt2+6O2p2uz2+skll8OZZmJMNqeke7kKbNgQ=="],"joi": ["[email protected]", "", { "dependencies": { "@hapi/hoek": "^9.3.0", "@hapi/topo": "^5.1.0", "@sideway/address": "^4.1.5", "@sideway/formula": "^3.0.1", "@sideway/pinpoint": "^2.0.0" } }, "sha512-otDA4ldcIx+ZXsKHWmp0YizCweVRZG96J10b0FevjfuncLO1oX59THoAmHkNubYJ+9gWsYsp5k8v4ib6oDv1fA=="],@@ -16240,6 +16317,8 @@"kleur": ["[email protected]", "", {}, "sha512-eTIzlVOSUR+JxdDFepEYcBMtZ9Qqdef+rnzWdRZuMbOywu5tO2w2N7rqjoANZ5k9vywhL6Br1VRjUIgTQx4E8w=="],+ "knip": ["[email protected]", "", { "dependencies": { "fdir": "^6.5.0", "formatly": "^0.7.0", "get-tsconfig": "4.14.3", "jiti": "^2.7.0", "oxc-parser": "^0.148.0", "oxc-resolver": "11.24.2", "picomatch": "^4.0.7", "smol-toml": "^1.8.0", "strip-json-comments": "5.0.3", "tinyglobby": "^0.2.17", "unbash": "^4.0.11", "yaml": "^2.9.0", "zod": "^4.4.3" }, "bin": { "knip": "bin/knip.js", "knip-bun": "bin/knip-bun.js" } }, "sha512-22wnEnv4do2fvoeJsxpFCG/MBxReNxoCVBccaCl7suUJsG+F0UvxI9ycxZ9YgtLHSSjrZl5tOas0JZ/R1vJ93g=="],+"kuler": ["[email protected]", "", {}, "sha512-Xq9nH7KlWZmXAtodXDDRE7vs6DU1gTU8zYDHDiWLSip45Egwq3plLHzPn27NgvzL2r1LMPC1vdqh98sQxtqj4A=="],"language-subtag-registry": ["[email protected]", "", {}, "sha512-0K65Lea881pHotoGEa5gDlMxt3pctLi2RplBb7Ezh4rRdLEOtgi7n4EwK9lamnUCkKBqaeKRVebTq6BAxSkpXQ=="],@@ -16786,6 +16865,10 @@"own-keys": ["[email protected]", "", { "dependencies": { "get-intrinsic": "^1.2.6", "object-keys": "^1.1.1", "safe-push-apply": "^1.0.0" } }, "sha512-qFOyK5PjiWZd+QQIh+1jhdb9LpxTF0qs7Pm8o5QHYZ0M3vKqSqzsZaEB6oWlxZ+q2sJBMI/Ktgd2N5ZwQoRHfg=="],+ "oxc-parser": ["[email protected]", "", { "dependencies": { "@oxc-project/types": "^0.148.0" }, "optionalDependencies": { "@oxc-parser/binding-android-arm-eabi": "0.148.0", "@oxc-parser/binding-android-arm64": "0.148.0", "@oxc-parser/binding-darwin-arm64": "0.148.0", "@oxc-parser/binding-darwin-x64": "0.148.0", "@oxc-parser/binding-freebsd-x64": "0.148.0", "@oxc-parser/binding-linux-arm-gnueabihf": "0.148.0", "@oxc-parser/binding-linux-arm-musleabihf": "0.148.0", "@oxc-parser/binding-linux-arm64-gnu": "0.148.0", "@oxc-parser/binding-linux-arm64-musl": "0.148.0", "@oxc-parser/binding-linux-ppc64-gnu": "0.148.0", "@oxc-parser/binding-linux-riscv64-gnu": "0.148.0", "@oxc-parser/binding-linux-riscv64-musl": "0.148.0", "@oxc-parser/binding-linux-s390x-gnu": "0.148.0", "@oxc-parser/binding-linux-x64-gnu": "0.148.0", "@oxc-parser/binding-linux-x64-musl": "0.148.0", "@oxc-parser/binding-openharmony-arm64": "0.148.0", "@oxc-parser/binding-win32-arm64-msvc": "0.148.0", "@oxc-parser/binding-win32-ia32-msvc": "0.148.0", "@oxc-parser/binding-win32-x64-msvc": "0.148.0" } }, "sha512-syxUKHeUll89RIABQADcI7sikYrwyssvA6gj4phSSIPezKVM8yMaLAiLLSc7fmzVvrwybfFGFbW5zme9sX87rg=="],++ "oxc-resolver": ["[email protected]", "", { "optionalDependencies": { "@oxc-resolver/binding-android-arm-eabi": "11.24.2", "@oxc-resolver/binding-android-arm64": "11.24.2", "@oxc-resolver/binding-darwin-arm64": "11.24.2", "@oxc-resolver/binding-darwin-x64": "11.24.2", "@oxc-resolver/binding-freebsd-x64": "11.24.2", "@oxc-resolver/binding-linux-arm-gnueabihf": "11.24.2", "@oxc-resolver/binding-linux-arm-musleabihf": "11.24.2", "@oxc-resolver/binding-linux-arm64-gnu": "11.24.2", "@oxc-resolver/binding-linux-arm64-musl": "11.24.2", "@oxc-resolver/binding-linux-ppc64-gnu": "11.24.2", "@oxc-resolver/binding-linux-riscv64-gnu": "11.24.2", "@oxc-resolver/binding-linux-riscv64-musl": "11.24.2", "@oxc-resolver/binding-linux-s390x-gnu": "11.24.2", "@oxc-resolver/binding-linux-x64-gnu": "11.24.2", "@oxc-resolver/binding-linux-x64-musl": "11.24.2", "@oxc-resolver/binding-openharmony-arm64": "11.24.2", "@oxc-resolver/binding-wasm32-wasi": "11.24.2", "@oxc-resolver/binding-win32-arm64-msvc": "11.24.2", "@oxc-resolver/binding-win32-x64-msvc": "11.24.2" } }, "sha512-FY91FiDBj7ls5MsFS9jN3tjz2o0/zsdSsymlakySaBwVJZorHhkWyICLZMKxlu1R9vYo+sd3z1jwb4J8x7bNDw=="],+"p-finally": ["[email protected]", "", {}, "sha512-LICb2p9CB7FS+0eR1oqWnHhp0FljGLZCWBE9aix0Uye9W8LTQPwMTYVGWQWIw9RdQiDg4+epXQODwIYJtSJaow=="],"p-limit": ["[email protected]", "", { "dependencies": { "p-try": "^2.0.0" } }, "sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w=="],@@ -16808,6 +16891,8 @@"package-json-from-dist": ["[email protected]", "", {}, "sha512-UEZIS3/by4OC8vL3P2dTXRETpebLI2NiI5vIrjaD/5UtrkFX/tNbwjTSRAGC/+7CAo2pIcBaRgWmcBBHcsaCIw=="],+ "package-manager-detector": ["[email protected]", "", {}, "sha512-yQA4H19AmPEoMUeavPMDIe1higySl/gH/yaQrkT/s07Qp+7pp2hYz30N3z2l5BkjVkF9Ow6o0wjJamm2y7Sn0A=="],+"packet-reader": ["[email protected]", "", {}, "sha512-HAKu/fG3HpHFO0AA8WE8q2g+gBJaZ9MG7fcKk+IJPLTGAD6Psw4443l+9DGRbOIh3/aXr7Phy0TjilYivJo5XQ=="],"pako": ["[email protected]", "", {}, "sha512-w+eufiZ1WuJYgPXbV/PO3NCMEc3xqylkKHzp8bxp1uW4qaSNQUkwmLLEc3kKsfz8lpV1F8Ht3U1Cm+9Srog2ug=="],@@ -16902,7 +16987,7 @@"picocolors": ["[email protected]", "", {}, "sha512-xceH2snhtb5M9liqDsmEw56le376mTZkEX/jEb/RxNFyegNul7eNslCXP9FDj/Lcu0X8KEyMceP2ntpaHrDEVA=="],- "picomatch": ["[email protected]", "", {}, "sha512-QP88BAKvMam/3NxH6vj2o21R6MjxZUAd6nlwAS/pnGvN9IVLocLHxGYIzFhg6fUQ+5th6P4dv4eW9jX3DSIj7A=="],+ "picomatch": ["[email protected]", "", {}, "sha512-qcJu88Q2IWqJsDD529JKMdwGm/dvInW4HvQnRwiH9JtihJvzGOscDtHE3x1pBKeUOTysQ8kVmLnJ2kJu7yhcGA=="],"pidtree": ["[email protected]", "", { "bin": { "pidtree": "bin/pidtree.js" } }, "sha512-eG2dWTVw5bzqGRztnHExczNxt5VGsE6OwTeCG3fdUf9KBsZzO3R5OIIIzWR+iZA0NtZ+RDVdaoE2dK1cn6jH4g=="],@@ -16964,8 +17049,6 @@"pretty-ms": ["[email protected]", "", { "dependencies": { "parse-ms": "^4.0.0" } }, "sha512-gjVS5hOP+M3wMm5nmNOucbIrqudzs9v/57bWRHQWLYklXqoXKrVfYW2W9+glfGsqtPgpiz5WwyEEB+ksXIx3gQ=="],- "prism-react-renderer": ["[email protected]", "", { "dependencies": { "@types/prismjs": "^1.26.0", "clsx": "^2.0.0" }, "peerDependencies": { "react": ">=16.0.0" } }, "sha512-ey8Ls/+Di31eqzUxC46h8MksNuGx/n0AAC8uKpwFau4RPDYLuE3EXTp8N8G2vX2N7UC/+IXeNUnlWBGGcAG+Ig=="],-"process": ["[email protected]", "", {}, "sha512-cdGef/drWFoydD1JsMzuFf8100nZl+GT+yacc2bEced5f9Rjk4z+WtFUTBu9PhOi9j/jfmBPu0mMEY4wIdAF8A=="],"process-nextick-args": ["[email protected]", "", {}, "sha512-3ouUOpQhtgrbOa17J7+uxOTpITYWaGP7/AhoR3+A+/1e9skrzelGi/dXzEYyvbxubEF6Wn2ypscTKiKJFFn1ag=="],@@ -17390,6 +17473,8 @@"smart-buffer": ["[email protected]", "", {}, "sha512-94hK0Hh8rPqQl2xXc3HsaBoOXKV20MToPkcXvwbISWLEs+64sBq5kFgn2kJDHb1Pry9yrP0dxrCI9RRci7RXKg=="],+ "smol-toml": ["[email protected]", "", {}, "sha512-kCZr2V3ch9i00x8zXRhjUNVcjG9ijES5dDudkXvUVCT5QlJNQWElSJdZqyPemffHoLNUYwOcou0Fy+ojN0uHSQ=="],+"snowflake-sdk": ["[email protected]", "", { "dependencies": { "@aws-crypto/sha256-js": "^5.2.0", "@aws-sdk/client-s3": "^3.983.0", "@aws-sdk/client-sts": "^3.983.0", "@aws-sdk/credential-provider-node": "^3.972.5", "@aws-sdk/ec2-metadata-service": "^3.983.0", "@azure/identity": "^4.10.1", "@azure/storage-blob": "12.26.x", "@google-cloud/storage": "^7.19.0", "@smithy/node-http-handler": "^4.4.9", "@smithy/protocol-http": "^5.3.8", "@smithy/signature-v4": "^5.3.8", "@techteamer/ocsp": "1.0.1", "asn1.js-rfc2560": "^5.0.0", "asn1.js-rfc5280": "^3.0.0", "axios": "^1.13.4", "big-integer": "^1.6.43", "bignumber.js": "^9.1.2", "bn.js": "^5.2.1", "browser-request": "^0.3.3", "expand-tilde": "^2.0.2", "fast-xml-parser": "^5.3.4", "fastest-levenshtein": "^1.0.16", "generic-pool": "^3.8.2", "google-auth-library": "^10.1.0", "https-proxy-agent": "^7.0.2", "jsonwebtoken": "^9.0.3", "mime-types": "^2.1.29", "moment": "^2.29.4", "moment-timezone": "^0.5.15", "oauth4webapi": "^3.0.1", "open": "^7.3.1", "simple-lru-cache": "^0.0.2", "toml": "^3.0.0", "uuid": "^8.3.2", "winston": "^3.1.0" }, "peerDependencies": { "asn1.js": "^5.4.1" } }, "sha512-J+YIRLXDsE+nNn5UOtz7maWyMyrdHmvXoh/u8g079VEa9VwvjVaQa66TCt3bxL6fZQH1nmp5WhEbOPfbFn4Mag=="],"soap": ["[email protected]", "", { "dependencies": { "axios": "^1.8.3", "axios-ntlm": "^1.4.3", "debug": "^4.4.0", "formidable": "^3.5.2", "get-stream": "^6.0.1", "lodash": "^4.17.21", "sax": "^1.4.1", "strip-bom": "^3.0.0", "whatwg-mimetype": "4.0.0", "xml-crypto": "^6.0.1" } }, "sha512-dqfX9qHhXup3ZLWsI5of6xJIJKeBCPnn3tTu9sKtASm2A53Zk6/u3drygLiUy+H1mmjRBptXfVkjY6pt8nhOjA=="],@@ -17522,7 +17607,7 @@"strip-indent": ["[email protected]", "", { "dependencies": { "min-indent": "^1.0.0" } }, "sha512-laJTa3Jb+VQpaC6DseHhF7dXVqHTfJPCRDaEbid/drOhgitgYku/letMUqOXFoWV0zIIUbjpdH2t+tYj4bQMRQ=="],- "strip-json-comments": ["[email protected]", "", {}, "sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig=="],+ "strip-json-comments": ["[email protected]", "", {}, "sha512-1tB5mhVo7U+ETBKNf92xT4hrQa3pm0MZ0PQvuDnWgAAGHDsfp4lPSpiS6psrSiet87wyGPh9ft6wmhOMQ0hDiw=="],"strip-literal": ["[email protected]", "", { "dependencies": { "js-tokens": "^9.0.1" } }, "sha512-8r3mkIM/2+PpjHoOtiAW8Rg3jJLHaV7xPwG+YRGrv6FP0wwk/toTpATxWYOW0BKdWwl82VT2tFYi5DlROa0Mxg=="],@@ -17562,8 +17647,6 @@"tailwind-merge": ["[email protected]", "", {}, "sha512-49AwoOQNKdqKPd9CViyH5wJoSKsCDjUlzL8DxuGp3P1FsGY36NJDAa18jLZcaHAUUuTj+JB8IAo8zWgBNvBF7A=="],- "tailwind-scrollbar": ["[email protected]", "", { "dependencies": { "prism-react-renderer": "^2.4.1" }, "peerDependencies": { "tailwindcss": "4.x" } }, "sha512-wAQiIxAPqk0MNTPptVe/xoyWi27y+NRGnTwvn4PQnbvB9kp8QUBiGl/wsfoVBHnQxTmhXJSNt9NHTmcz9EivFA=="],-"tailwindcss": ["[email protected]", "", {}, "sha512-j9Ee2YjuQqYT9bbRTfTZht9W/ytp5H+jJpZKiYdP/bpnXARAuELt9ofP0lPnmHjbga7SNQIxdTAXCmtKVYjN+Q=="],"tapable": ["[email protected]", "", {}, "sha512-uxc/zpqFg6x7C8vOE7lh6Lbda8eEL9zmVm/PLeTPBRhh1xCgdWaQ+J1CUieGpIfm2HdtsUpRv+HshiasBMcc6A=="],@@ -17624,7 +17707,7 @@"tinyexec": ["[email protected]", "", {}, "sha512-KQQR9yN7R5+OSwaK0XQoj22pwHoTlgYqmUscPYoknOoWCWfj/5/ABTMRi69FrKU5ffPVh5QcFikpWJI/P1ocHA=="],- "tinyglobby": ["[email protected]", "", { "dependencies": { "fdir": "^6.5.0", "picomatch": "^4.0.4" } }, "sha512-pn99VhoACYR8nFHhxqix+uvsbXineAasWm5ojXoN8xEwK5Kd3/TrhNn1wByuD52UxWRLy8pu+kRMniEi6Eq9Zg=="],+ "tinyglobby": ["[email protected]", "", { "dependencies": { "fdir": "^6.5.0", "picomatch": "^4.0.4" } }, "sha512-wXR/dYpcqKmfWpEdZjiKJOwCNFndD0DMnrW/cYjVGttEkBfVgcLFHoNrlj47mjOVic9yyNu65alsgF4NQyTa2g=="],"tinypool": ["[email protected]", "", {}, "sha512-Zba82s87IFq9A9XmjiX5uZA/ARWDrB03OHlq+Vw1fSdt0I+4/Kutwy8BP4Y/y/aORMo61FQ0vIb5j44vSo5Pkg=="],@@ -17742,6 +17825,8 @@"uint8arrays": ["[email protected]", "", { "dependencies": { "multiformats": "^9.4.2" } }, "sha512-HRCx0q6O9Bfbp+HHSfQQKD7wU70+lydKVt4EghkdOvlK/NlrF90z+eXV34mUd48rNvVJXwkrMSPpCATkct8fJA=="],+ "unbash": ["[email protected]", "", {}, "sha512-FoSOKV7NEofQSkAefMVHam4ZPKYMxjAydxiV72UFEDNV/YofxjGfiZ2A9pZjdL/lRJzTjcu4PABo1JYJX8N5iQ=="],+"unbox-primitive": ["[email protected]", "", { "dependencies": { "call-bound": "^1.0.3", "has-bigints": "^1.0.2", "has-symbols": "^1.1.0", "which-boxed-primitive": "^1.1.1" } }, "sha512-nWJ91DjeOkej/TA8pXQ3myruKpKEYgqvpw9lz4OPHj/NWFNluYrjbz9j01CJ8yKQd2g4jFoOkINCTW2I5LEEyw=="],"unbzip2-stream": ["[email protected]", "", { "dependencies": { "buffer": "^5.2.1", "through": "^2.3.8" } }, "sha512-mlExGW4w71ebDJviH16lQLtZS32VKqsSfk80GCfUlwT/4/hNRFsoscrF/c++9xinkMzECL1uL9DDwXqFWkruPg=="],@@ -17892,6 +17977,8 @@"walk-sync": ["[email protected]", "", { "dependencies": { "@types/minimatch": "^3.0.3", "ensure-posix-path": "^1.1.0", "matcher-collection": "^2.0.0", "minimatch": "^3.0.4" } }, "sha512-IC8sL7aB4/ZgFcGI2T1LczZeFWZ06b3zoHH7jBPyHxOtIIz1jppWHjjEXkOFvFojBVAK9pV7g47xOZ4LW3QLfg=="],+ "walk-up-path": ["[email protected]", "", {}, "sha512-3hu+tD8YzSLGuFYtPRb48vdhKMi0KQV5sn+uWr8+7dMEq/2G/dtLrdDinkLjqq5TIbIBjYJ4Ax/n3YiaW7QM8A=="],+"watchpack": ["[email protected]", "", { "dependencies": { "glob-to-regexp": "^0.4.1", "graceful-fs": "^4.1.2" } }, "sha512-Zn5uXdcFNIA1+1Ei5McRd+iRzfhENPCe7LeABkJtNulSxjma+l7ltNx55BWZkRlwRnpOgHqxnjyaDgJnNXnqzg=="],"wav": ["[email protected]", "", { "dependencies": { "buffer-alloc": "^1.1.0", "buffer-from": "^1.0.0", "debug": "^2.2.0", "readable-stream": "^1.1.14", "stream-parser": "^0.3.1" } }, "sha512-viHtz3cDd/Tcr/HbNqzQCofKdF6kWUymH9LGDdskfWFoIy/HJ+RTihgjEcHfnsy1PO4e9B+y4HwgTwMrByquhg=="],@@ -19216,6 +19303,8 @@"@eslint/eslintrc/js-yaml": ["[email protected]", "", { "dependencies": { "argparse": "^2.0.1" }, "bin": { "js-yaml": "bin/js-yaml.js" } }, "sha512-ePWsvanv0DWuDRsW8dnt+R4jQ31SCRCQ7hhNcPXZPsoBZiemuZNYGf7adZdqX2D86j6rvKp3RpCxVTSb8WQlOw=="],+ "@eslint/eslintrc/strip-json-comments": ["[email protected]", "", {}, "sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig=="],+"@ethersproject/transactions/@ethersproject/signing-key": ["@ethersproject/[email protected]", "", { "dependencies": { "@ethersproject/bytes": "^5.8.0", "@ethersproject/logger": "^5.8.0", "@ethersproject/properties": "^5.8.0", "bn.js": "^5.2.1", "elliptic": "6.6.1", "hash.js": "1.1.7" } }, "sha512-LrPW2ZxoigFi6U6aVkFN/fa9Yx/+4AtIUe4/HACTvKJdhm0eeb107EVCIQcrLZkxaSIgc/eCrX8Q1GtbH+9n3w=="],"@fastify/http-proxy/fastify-plugin": ["[email protected]", "", {}, "sha512-FAIDA8eovSt5qcDgcBvDuX/v0Cjz0ohGhENZ/wpc3y+oZCY2afZ9Baqql3g/lC+OHRnciQol4ww7tuthOb9idw=="],@@ -19260,6 +19349,8 @@"@hubspot/api-client/form-data": ["[email protected]", "", { "dependencies": { "asynckit": "^0.4.0", "combined-stream": "^1.0.8", "es-set-tostringtag": "^2.1.0", "hasown": "^2.0.2", "mime-types": "^2.1.35", "safe-buffer": "^5.2.1" } }, "sha512-jqdObeR2rxZZbPSGL+3VckHMYtu+f9//KXBsVny6JSX/pa38Fy+bGjuG8eW/H6USNQWhLi8Num++cU2yOCNz4A=="],+ "@img/sharp-wasm32/@emnapi/runtime": ["@emnapi/[email protected]", "", { "dependencies": { "tslib": "^2.4.0" } }, "sha512-vgj7R3y3Wgx24IQaGPA/R6YFXLHVMOZ0uVEyIQPaWs+rd1AzfEMXlAC22FYwO1XkKR6NPsq7mUandH8oIRdZFw=="],+"@inquirer/core/cli-width": ["[email protected]", "", {}, "sha512-ouuZd4/dm2Sw5Gmqy6bGyNNNe1qt9RpmxveLSO7KcgsTnU7RXfsw+/bukWGo1abgBiMAic068rclZsO4IWmmxQ=="],"@inquirer/core/mute-stream": ["[email protected]", "", {}, "sha512-WWdIxpyjEn+FhQJQQv9aQAYlHoNVdzIzUySNV1gHUPDSdZJ3yZn7pAAbQcV7B56Mvu881q9FZV+0Vx2xC44VWA=="],@@ -19294,8 +19385,6 @@"@microsoft/microsoft-graph-client/tslib": ["[email protected]", "", {}, "sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w=="],- "@napi-rs/wasm-runtime/@emnapi/runtime": ["@emnapi/[email protected]", "", { "dependencies": { "tslib": "^2.4.0" } }, "sha512-ewvYlk86xUoGI0zQRNq/mC+16R1QeDlKQy21Ki3oSYXNgLb45GV1P6A0M+/s6nyCuNDqe5VpaY84BzXGwVbwFA=="],-"@npmcli/fs/semver": ["[email protected]", "", { "bin": { "semver": "bin/semver.js" } }, "sha512-vFKC2IEtQnVhpT78h1Yp8wzwrf8CM+MzKMHGJZfBtzhZNycRFnXsHk6E5TxIkkMsgNS7mdX3AGB7x2QM2di4lA=="],"@npmcli/move-file/rimraf": ["[email protected]", "", { "dependencies": { "glob": "^7.1.3" }, "bin": { "rimraf": "bin.js" } }, "sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA=="],@@ -19308,6 +19397,8 @@"@oclif/core/supports-color": ["[email protected]", "", { "dependencies": { "has-flag": "^4.0.0" } }, "sha512-MpUEN2OodtUzxvKQl72cUF7RQ5EiHsGvSsVG0ia9c5RbWGL2CI4C7EpPS8UTBIplnlzZiNuV56w+FuNxy3ty2Q=="],+ "@oclif/core/tinyglobby": ["[email protected]", "", { "dependencies": { "fdir": "^6.5.0", "picomatch": "^4.0.4" } }, "sha512-pn99VhoACYR8nFHhxqix+uvsbXineAasWm5ojXoN8xEwK5Kd3/TrhNn1wByuD52UxWRLy8pu+kRMniEi6Eq9Zg=="],+"@oclif/core/wrap-ansi": ["[email protected]", "", { "dependencies": { "ansi-styles": "^4.0.0", "string-width": "^4.1.0", "strip-ansi": "^6.0.0" } }, "sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q=="],"@oclif/plugin-not-found/ansis": ["[email protected]", "", {}, "sha512-0qWUglt9JEqLFr3w1I1pbrChn1grhaiAR2ocX1PP/flRmxgtwTzPFFFnfIlD6aMOLQZgSuCRlidD70lvx8yhzg=="],@@ -19484,6 +19575,8 @@"@readme/better-ajv-errors/@babel/runtime": ["@babel/[email protected]", "", {}, "sha512-JiDShH45zKHWyGe4ZNVRrCjBz8Nh9TMmZG1kh4QTK8hCBTWBi8Da+i7s1fJw7/lYpM4ccepSNfqzZ/QvABBi5g=="],+ "@rolldown/binding-wasm32-wasi/@napi-rs/wasm-runtime": ["@napi-rs/[email protected]", "", { "dependencies": { "@emnapi/core": "^1.4.3", "@emnapi/runtime": "^1.4.3", "@tybys/wasm-util": "^0.10.0" } }, "sha512-ZVWUcfwY4E/yPitQJl481FjFo3K22D6qF0DuFH6Y/nbnE11GY5uguDxZMGXPQ8WQ0128MXQD7TnfHyK4oWoIJQ=="],+"@rollup/pluginutils/picomatch": ["[email protected]", "", {}, "sha512-V7+vQEJ06Z+c5tSye8S+nHUfI51xoXIXjHQ99cQtKUkQqqO1kO/KCJUfZXuB47h/YBlDhah2H3hdUGXn8ie0oA=="],"@runware/sdk-js/uuid": ["[email protected]", "", { "bin": { "uuid": "dist/bin/uuid" } }, "sha512-b+1eJOlsR9K8HJpow9Ok3fiWOWSIcIzXodvv0rQjVoOVNpWMpxf1wZNpt4y9h10odCNrqnYp1OBzRktckBe3sA=="],@@ -19650,6 +19743,8 @@"@supabase/node-fetch/whatwg-url": ["[email protected]", "", { "dependencies": { "tr46": "~0.0.3", "webidl-conversions": "^3.0.0" } }, "sha512-saE57nupxk6v3HY35+jzBwYa0rKSy0XR8JSxZPwgLr7ys0IBzhGviA1/TUGJLmSVqs8pb9AnvICXEuOHLprYTw=="],+ "@tailwindcss/node/jiti": ["[email protected]", "", { "bin": { "jiti": "lib/jiti-cli.mjs" } }, "sha512-ekilCSN1jwRvIbgeg/57YFh8qQDNbwDb9xT/qu2DAHbFFZUicIl4ygVaAvzveMhMVr3LnpSKTNnwt8PoOfmKhQ=="],+"@tailwindcss/oxide-wasm32-wasi/@emnapi/core": ["@emnapi/[email protected]", "", { "dependencies": { "@emnapi/wasi-threads": "1.2.1", "tslib": "^2.4.0" }, "bundled": true }, "sha512-yq6OkJ4p82CAfPl0u9mQebQHKPJkY7WrIuk205cTYnYe+k2Z8YBh11FrbRG/H6ihirqcacOgl2BIO8oyMQLeXw=="],"@tailwindcss/oxide-wasm32-wasi/@emnapi/runtime": ["@emnapi/[email protected]", "", { "dependencies": { "tslib": "^2.4.0" }, "bundled": true }, "sha512-ewvYlk86xUoGI0zQRNq/mC+16R1QeDlKQy21Ki3oSYXNgLb45GV1P6A0M+/s6nyCuNDqe5VpaY84BzXGwVbwFA=="],@@ -20126,6 +20221,10 @@"katex/commander": ["[email protected]", "", {}, "sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ=="],+ "knip/get-tsconfig": ["[email protected]", "", { "dependencies": { "resolve-pkg-maps": "^1.0.0" } }, "sha512-++QEw4DIY7WGoukz+/+A/8dGYPT9l9yIadnmSgZ8Rjr3YVSVDipQSO9CdnJo9ePqFqUUqh+wk9uIaoiAwsiPkA=="],++ "knip/zod": ["[email protected]", "", {}, "sha512-v5l/aFXZQeai4awLbOpSoHecE9UiMrnfx75tEXLjNonXVARxQ5mOeipTjROUchszUNCqnE+hqAMujRsRHsut2Q=="],+"lazystream/readable-stream": ["[email protected]", "", { "dependencies": { "core-util-is": "~1.0.0", "inherits": "~2.0.3", "isarray": "~1.0.0", "process-nextick-args": "~2.0.0", "safe-buffer": "~5.1.1", "string_decoder": "~1.1.1", "util-deprecate": "~1.0.1" } }, "sha512-8p0AUk4XODgIewSi0l8Epjs+EVnWiK7NoDIEGU0HhE7+ZyY8D1IMY7odu5lRrFXGg71L15KG8QrPmum45RTtdA=="],"libmime/iconv-lite": ["[email protected]", "", { "dependencies": { "safer-buffer": ">= 2.1.2 < 3.0.0" } }, "sha512-IKXpvIzjnC9XTAUbVBcMfGS0EPaIXtW6v+zr+RRp+hqULEpo0owZax6wyRwPOJbWbzjYspQwusTsfVr0ifh4uQ=="],@@ -20430,6 +20529,8 @@"rimraf/glob": ["[email protected]", "", { "dependencies": { "foreground-child": "^3.1.0", "jackspeak": "^3.1.2", "minimatch": "^9.0.4", "minipass": "^7.1.2", "package-json-from-dist": "^1.0.0", "path-scurry": "^1.11.1" }, "bin": { "glob": "dist/esm/bin.mjs" } }, "sha512-DfXN8DfhJ7NH3Oe7cFmu3NCu1wKbkReJ8TorzSAFbSKrlNaQSKfIzqYqVY8zlbs2NLBbWpRiU52GX2PbaBVNkg=="],+ "rolldown/@oxc-project/types": ["@oxc-project/[email protected]", "", {}, "sha512-ngyLUpUjO3dpqygSRQDx7nMx8+BmXbWOU4oIwTJFV2MVIDG7knIZwgdwXlQWLg3C3oxg1lS7ppMtPKqKFb7wzw=="],+"rolldown/@rolldown/pluginutils": ["@rolldown/[email protected]", "", {}, "sha512-e9MeMtVWo186sgvFFJOPGy7/d2j2mZhLJIdVW0C/xDluuOvymEATqz6zKsP0ZmXGzQtqlyjz5sC1sYQUoJG98w=="],"rolldown/ansis": ["[email protected]", "", {}, "sha512-HqZ5rWlFjGiV0tDm3UxxgNRqsOTniqoKZu0pIAfh7TZQMGuZK+hH0drySty0si0QXj1ieop4+SkSfPZBPPkHig=="],@@ -20580,6 +20681,8 @@"tsdown/tinyexec": ["[email protected]", "", {}, "sha512-dAqSqE/RabpBKI8+h26GfLq6Vb3JVXs30XYQjdMjaj/c2tS8IYYMbIzP599KtRj7c57/wYApb3QjgRgXmrCukA=="],+ "tsdown/tinyglobby": ["[email protected]", "", { "dependencies": { "fdir": "^6.5.0", "picomatch": "^4.0.4" } }, "sha512-pn99VhoACYR8nFHhxqix+uvsbXineAasWm5ojXoN8xEwK5Kd3/TrhNn1wByuD52UxWRLy8pu+kRMniEi6Eq9Zg=="],+"tsutils/tslib": ["[email protected]", "", {}, "sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg=="],"tsx/esbuild": ["[email protected]", "", { "optionalDependencies": { "@esbuild/aix-ppc64": "0.27.7", "@esbuild/android-arm": "0.27.7", "@esbuild/android-arm64": "0.27.7", "@esbuild/android-x64": "0.27.7", "@esbuild/darwin-arm64": "0.27.7", "@esbuild/darwin-x64": "0.27.7", "@esbuild/freebsd-arm64": "0.27.7", "@esbuild/freebsd-x64": "0.27.7", "@esbuild/linux-arm": "0.27.7", "@esbuild/linux-arm64": "0.27.7", "@esbuild/linux-ia32": "0.27.7", "@esbuild/linux-loong64": "0.27.7", "@esbuild/linux-mips64el": "0.27.7", "@esbuild/linux-ppc64": "0.27.7", "@esbuild/linux-riscv64": "0.27.7", "@esbuild/linux-s390x": "0.27.7", "@esbuild/linux-x64": "0.27.7", "@esbuild/netbsd-arm64": "0.27.7", "@esbuild/netbsd-x64": "0.27.7", "@esbuild/openbsd-arm64": "0.27.7", "@esbuild/openbsd-x64": "0.27.7", "@esbuild/openharmony-arm64": "0.27.7", "@esbuild/sunos-x64": "0.27.7", "@esbuild/win32-arm64": "0.27.7", "@esbuild/win32-ia32": "0.27.7", "@esbuild/win32-x64": "0.27.7" }, "bin": { "esbuild": "bin/esbuild" } }, "sha512-IxpibTjyVnmrIQo5aqNpCgoACA/dTKLTlhMHihVHhdkxKyPO1uBBthumT0rdHmcsk9uMonIWS0m4FljWzILh3w=="],@@ -20608,6 +20711,8 @@"unbzip2-stream/buffer": ["[email protected]", "", { "dependencies": { "base64-js": "^1.3.1", "ieee754": "^1.1.13" } }, "sha512-EHcyIPBQ4BSGlvjB16k5KgAJ27CIsHY/2JBmCRReo48y9rQ3MaUzWX3KVlBa4U7MyX02HdVj0K7C3WaB3ju7FQ=="],+ "unconfig/jiti": ["[email protected]", "", { "bin": { "jiti": "lib/jiti-cli.mjs" } }, "sha512-ekilCSN1jwRvIbgeg/57YFh8qQDNbwDb9xT/qu2DAHbFFZUicIl4ygVaAvzveMhMVr3LnpSKTNnwt8PoOfmKhQ=="],+"unified/is-plain-obj": ["[email protected]", "", {}, "sha512-YWnfyRwxL/+SsrWYfOpUtz5b3YD+nyfkHvjbcanzk8zgyO4ASD67uVMRt8k5bM4lLMDnXfriRhOpemw+NfT1eA=="],"unified/vfile": ["[email protected]", "", { "dependencies": { "@types/unist": "^2.0.0", "is-buffer": "^2.0.0", "unist-util-stringify-position": "^2.0.0", "vfile-message": "^2.0.0" } }, "sha512-O6AE4OskCG5S1emQ/4gl8zK586RqA3srz3nfK/Viy0UPToBc5Trp9BVFb1u0CjsKrAWwnpr4ifM/KBXPWwJbCA=="],@@ -20634,6 +20739,10 @@"vite/esbuild": ["[email protected]", "", { "optionalDependencies": { "@esbuild/aix-ppc64": "0.25.0", "@esbuild/android-arm": "0.25.0", "@esbuild/android-arm64": "0.25.0", "@esbuild/android-x64": "0.25.0", "@esbuild/darwin-arm64": "0.25.0", "@esbuild/darwin-x64": "0.25.0", "@esbuild/freebsd-arm64": "0.25.0", "@esbuild/freebsd-x64": "0.25.0", "@esbuild/linux-arm": "0.25.0", "@esbuild/linux-arm64": "0.25.0", "@esbuild/linux-ia32": "0.25.0", "@esbuild/linux-loong64": "0.25.0", "@esbuild/linux-mips64el": "0.25.0", "@esbuild/linux-ppc64": "0.25.0", "@esbuild/linux-riscv64": "0.25.0", "@esbuild/linux-s390x": "0.25.0", "@esbuild/linux-x64": "0.25.0", "@esbuild/netbsd-arm64": "0.25.0", "@esbuild/netbsd-x64": "0.25.0", "@esbuild/openbsd-arm64": "0.25.0", "@esbuild/openbsd-x64": "0.25.0", "@esbuild/sunos-x64": "0.25.0", "@esbuild/win32-arm64": "0.25.0", "@esbuild/win32-ia32": "0.25.0", "@esbuild/win32-x64": "0.25.0" }, "bin": { "esbuild": "bin/esbuild" } }, "sha512-BXq5mqc8ltbaN34cDqWuYKyNhX8D/Z0J1xdtdQ8UcIIIyJyz+ZMKUt58tF3SrZ85jcfN/PZYhjR5uDQAYNVbuw=="],+ "vite/picomatch": ["[email protected]", "", {}, "sha512-QP88BAKvMam/3NxH6vj2o21R6MjxZUAd6nlwAS/pnGvN9IVLocLHxGYIzFhg6fUQ+5th6P4dv4eW9jX3DSIj7A=="],++ "vite/tinyglobby": ["[email protected]", "", { "dependencies": { "fdir": "^6.5.0", "picomatch": "^4.0.4" } }, "sha512-pn99VhoACYR8nFHhxqix+uvsbXineAasWm5ojXoN8xEwK5Kd3/TrhNn1wByuD52UxWRLy8pu+kRMniEi6Eq9Zg=="],+"vite-node/es-module-lexer": ["[email protected]", "", {}, "sha512-jEQoCwk8hyb2AZziIOLhDqpm5+2ww5uIE6lkO/6jcOCusfk6LhMHpXXfBLXTZ7Ydyt0j4VoUQv6uGNYbdW+kBA=="],"vite-node/pathe": ["[email protected]", "", {}, "sha512-WUjGcAqP1gQacoQe+OBJsFA7Ld4DyXuUIjZ5cc75cLHvJ7dtNsTugphxIADwspS+AraAUePCKrSVtPLFj/F88w=="],@@ -20648,6 +20757,10 @@"vitest/pathe": ["[email protected]", "", {}, "sha512-WUjGcAqP1gQacoQe+OBJsFA7Ld4DyXuUIjZ5cc75cLHvJ7dtNsTugphxIADwspS+AraAUePCKrSVtPLFj/F88w=="],+ "vitest/picomatch": ["[email protected]", "", {}, "sha512-QP88BAKvMam/3NxH6vj2o21R6MjxZUAd6nlwAS/pnGvN9IVLocLHxGYIzFhg6fUQ+5th6P4dv4eW9jX3DSIj7A=="],++ "vitest/tinyglobby": ["[email protected]", "", { "dependencies": { "fdir": "^6.5.0", "picomatch": "^4.0.4" } }, "sha512-pn99VhoACYR8nFHhxqix+uvsbXineAasWm5ojXoN8xEwK5Kd3/TrhNn1wByuD52UxWRLy8pu+kRMniEi6Eq9Zg=="],+"vscode-languageclient/semver": ["[email protected]", "", { "bin": { "semver": "bin/semver.js" } }, "sha512-vFKC2IEtQnVhpT78h1Yp8wzwrf8CM+MzKMHGJZfBtzhZNycRFnXsHk6E5TxIkkMsgNS7mdX3AGB7x2QM2di4lA=="],"wav/debug": ["[email protected]", "", { "dependencies": { "ms": "2.0.0" } }, "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA=="],@@ -21080,18 +21193,20 @@"@grpc/grpc-js/@grpc/proto-loader/protobufjs": ["[email protected]", "", { "dependencies": { "@protobufjs/aspromise": "^1.1.2", "@protobufjs/base64": "^1.1.2", "@protobufjs/codegen": "^2.0.5", "@protobufjs/eventemitter": "^1.1.0", "@protobufjs/fetch": "^1.1.0", "@protobufjs/float": "^1.0.2", "@protobufjs/inquire": "^1.1.1", "@protobufjs/path": "^1.1.2", "@protobufjs/pool": "^1.1.0", "@protobufjs/utf8": "^1.1.1", "@types/node": ">=13.7.0", "long": "^5.0.0" } }, "sha512-M71sTMB146U3u0di3yup8iM+zv8yPRNQVr1KK4tyBitl3qFvEGucq/rGDRShD2rsJhtN02RJaJ7j5X5hmy8SJg=="],+ "@img/sharp-wasm32/@emnapi/runtime/tslib": ["[email protected]", "", {}, "sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w=="],+"@isaacs/cliui/strip-ansi/ansi-regex": ["[email protected]", "", {}, "sha512-Bq3SmSpyFHaWjPk8If9yc6svM8c56dB5BAtW4Qbw5jHTwwXXcTLoRMkpDJp6VL0XzlWaCHTXrkFURMYmD0sLqg=="],"@isaacs/cliui/wrap-ansi/ansi-styles": ["[email protected]", "", {}, "sha512-4Dj6M28JB+oAH8kFkTLUo+a2jwOFkuqb3yucU0CANcRRUbxS0cP0nZYCGjcc3BNXwRIsUVmDGgzawme7zvJHvg=="],"@mailchain/crypto/@noble/curves/@noble/hashes": ["@noble/[email protected]", "", {}, "sha512-ilHEACi9DwqJB0pw7kv+Apvh50jiiSyR/cQ3y4W7lOR5mhvn/50FLUfsnfJz0BDZtl/RR16kXvptiv6q1msYZg=="],- "@napi-rs/wasm-runtime/@emnapi/runtime/tslib": ["[email protected]", "", {}, "sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w=="],-"@npmcli/move-file/rimraf/glob": ["[email protected]", "", { "dependencies": { "fs.realpath": "^1.0.0", "inflight": "^1.0.4", "inherits": "2", "minimatch": "^3.1.1", "once": "^1.3.0", "path-is-absolute": "^1.0.0" } }, "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q=="],"@oclif/core/minimatch/brace-expansion": ["[email protected]", "", { "dependencies": { "balanced-match": "^4.0.2" } }, "sha512-VZznLgtwhn+Mact9tfiwx64fA9erHH/MCXEUfB/0bX/6Fz6ny5EGTXYltMocqg4xFAQZtnO3DHWWXi8RiuN7cQ=="],+ "@oclif/core/tinyglobby/picomatch": ["[email protected]", "", {}, "sha512-QP88BAKvMam/3NxH6vj2o21R6MjxZUAd6nlwAS/pnGvN9IVLocLHxGYIzFhg6fUQ+5th6P4dv4eW9jX3DSIj7A=="],+"@playwright/test/playwright/fsevents": ["[email protected]", "", { "os": "darwin" }, "sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA=="],"@playwright/test/playwright/playwright-core": ["[email protected]", "", { "bin": { "playwright-core": "cli.js" } }, "sha512-Nbjs2zjj0htNhzgiy5wu+3w09YetDx5pkrpI/kZotDlDUaYk0HVA5xrBVPdow4SAUIlhgKcJeJg4GRKW6xHusA=="],@@ -21100,6 +21215,12 @@"@qdrant/js-client-rest/undici/@fastify/busboy": ["@fastify/[email protected]", "", {}, "sha512-vBZP4NlzfOlerQTnba4aqZoMhE/a9HY7HRqoOPaETQcSQuWEIyZMHGfVu6w9wGtGK5fED5qRs2DteVCjOH60sA=="],+ "@rolldown/binding-wasm32-wasi/@napi-rs/wasm-runtime/@emnapi/core": ["@emnapi/[email protected]", "", { "dependencies": { "@emnapi/wasi-threads": "1.2.1", "tslib": "^2.4.0" } }, "sha512-yq6OkJ4p82CAfPl0u9mQebQHKPJkY7WrIuk205cTYnYe+k2Z8YBh11FrbRG/H6ihirqcacOgl2BIO8oyMQLeXw=="],++ "@rolldown/binding-wasm32-wasi/@napi-rs/wasm-runtime/@emnapi/runtime": ["@emnapi/[email protected]", "", { "dependencies": { "tslib": "^2.4.0" } }, "sha512-ewvYlk86xUoGI0zQRNq/mC+16R1QeDlKQy21Ki3oSYXNgLb45GV1P6A0M+/s6nyCuNDqe5VpaY84BzXGwVbwFA=="],++ "@rolldown/binding-wasm32-wasi/@napi-rs/wasm-runtime/@tybys/wasm-util": ["@tybys/[email protected]", "", { "dependencies": { "tslib": "^2.4.0" } }, "sha512-9tTaPJLSiejZKx+Bmog4uSubteqTvFrVrURwkmHixBo0G4seD0zUxp98E1DzUBJxLQ3NPwXrGKDiVjwx/DpPsg=="],+"@runwayml/sdk/@types/node/undici-types": ["[email protected]", "", {}, "sha512-JlCMO+ehdEIKqlFxk6IfVoAUVmgz7cU7zD/h9XZ0qzeosSHmUJVOzSQvvYSYWXkFXC+IfLKSIffhv0sVZup6pA=="],"@smithy/eventstream-codec/@smithy/core/@smithy/types": ["@smithy/[email protected]", "", { "dependencies": { "tslib": "^2.6.2" } }, "sha512-0JFs3V2y2M9tKW5na/qxe69Zv+uxLMO7QBbhxF/FHu/Gp2NFZAAL9tWl9PU02xxo07pb3G9FTyjNc6D5uZrJIg=="],@@ -21168,6 +21289,8 @@"checkly/@typescript-eslint/typescript-estree/minimatch": ["[email protected]", "", { "dependencies": { "brace-expansion": "^5.0.5" } }, "sha512-MULkVLfKGYDFYejP07QOurDLLQpcjk7Fw+7jXS2R2czRQzR56yHRveU5NDJEOviH+hETZKSkIk5c+T23GjFUMg=="],+ "checkly/@typescript-eslint/typescript-estree/tinyglobby": ["[email protected]", "", { "dependencies": { "fdir": "^6.5.0", "picomatch": "^4.0.4" } }, "sha512-pn99VhoACYR8nFHhxqix+uvsbXineAasWm5ojXoN8xEwK5Kd3/TrhNn1wByuD52UxWRLy8pu+kRMniEi6Eq9Zg=="],+"checkly/@typescript-eslint/typescript-estree/ts-api-utils": ["[email protected]", "", { "peerDependencies": { "typescript": ">=4.8.4" } }, "sha512-OJ/ibxhPlqrMM0UiNHJ/0CKQkoKF243/AEmplt3qpRgkW8VG7IfOS41h7V8TjITqdByHzrjcS/2si+y4lIh8NA=="],"checkly/execa/figures": ["[email protected]", "", { "dependencies": { "is-unicode-supported": "^2.0.0" } }, "sha512-d+l3qxjSesT4V7v2fh+QnmFnUWv9lSpjarhShNTgBOfA0ttejbQUAlHLitbjkoRiDulW0OPoQPYIGhIC8ohejg=="],@@ -21760,6 +21883,8 @@"through2/readable-stream/string_decoder": ["[email protected]", "", { "dependencies": { "safe-buffer": "~5.1.0" } }, "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg=="],+ "tsdown/tinyglobby/picomatch": ["[email protected]", "", {}, "sha512-QP88BAKvMam/3NxH6vj2o21R6MjxZUAd6nlwAS/pnGvN9IVLocLHxGYIzFhg6fUQ+5th6P4dv4eW9jX3DSIj7A=="],+"tsx/esbuild/@esbuild/aix-ppc64": ["@esbuild/[email protected]", "", { "os": "aix", "cpu": "ppc64" }, "sha512-EKX3Qwmhz1eMdEJokhALr0YiD0lhQNwDqkPYyPhiSwKrh7/4KRjQc04sZ8db+5DVVnZ1LmbNDI1uAMPEUBnQPg=="],"tsx/esbuild/@esbuild/android-arm": ["@esbuild/[email protected]", "", { "os": "android", "cpu": "arm" }, "sha512-jbPXvB4Yj2yBV7HUfE2KHe4GJX51QplCN1pGbYjvsyCZbQmies29EoJbkEc+vYuU5o45AfQn37vZlyXy4YJ8RQ=="],@@ -22100,6 +22225,14 @@"@oclif/core/minimatch/brace-expansion/balanced-match": ["[email protected]", "", {}, "sha512-BLrgEcRTwX2o6gGxGOCNyMvGSp35YofuYzw9h1IMTRmKqttAZZVU67bdb9Pr2vUHA8+j3i2tJfjO6C6+4myGTA=="],+ "@rolldown/binding-wasm32-wasi/@napi-rs/wasm-runtime/@emnapi/core/@emnapi/wasi-threads": ["@emnapi/[email protected]", "", { "dependencies": { "tslib": "^2.4.0" } }, "sha512-uTII7OYF+/Mes/MrcIOYp5yOtSMLBWSIoLPpcgwipoiKbli6k322tcoFsxoIIxPDqW01SQGAgko4EzZi2BNv2w=="],++ "@rolldown/binding-wasm32-wasi/@napi-rs/wasm-runtime/@emnapi/core/tslib": ["[email protected]", "", {}, "sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w=="],++ "@rolldown/binding-wasm32-wasi/@napi-rs/wasm-runtime/@emnapi/runtime/tslib": ["[email protected]", "", {}, "sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w=="],++ "@rolldown/binding-wasm32-wasi/@napi-rs/wasm-runtime/@tybys/wasm-util/tslib": ["[email protected]", "", {}, "sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w=="],+"@tryfabric/martian/remark-gfm/mdast-util-gfm/mdast-util-gfm-autolink-literal": ["[email protected]", "", { "dependencies": { "ccount": "^1.0.0", "mdast-util-find-and-replace": "^1.1.0", "micromark": "^2.11.3" } }, "sha512-GjmLjWrXg1wqMIO9+ZsRik/s7PLwTaeCHVB7vRxUwLntZc8mzmTsLVr6HW1yLokcnhfURsn5zmSVdi3/xWWu1A=="],"@tryfabric/martian/remark-gfm/mdast-util-gfm/mdast-util-gfm-strikethrough": ["[email protected]", "", { "dependencies": { "mdast-util-to-markdown": "^0.6.0" } }, "sha512-5OQLXpt6qdbttcDG/UxYY7Yjj3e8P7X16LzvpX8pIQPYJ/C2Z1qFGMmcw+1PZMUM3Z8wt8NRfYTvCni93mgsgA=="],@@ -22142,6 +22275,8 @@"checkly/@typescript-eslint/typescript-estree/minimatch/brace-expansion": ["[email protected]", "", { "dependencies": { "balanced-match": "^4.0.2" } }, "sha512-VZznLgtwhn+Mact9tfiwx64fA9erHH/MCXEUfB/0bX/6Fz6ny5EGTXYltMocqg4xFAQZtnO3DHWWXi8RiuN7cQ=="],+ "checkly/@typescript-eslint/typescript-estree/tinyglobby/picomatch": ["[email protected]", "", {}, "sha512-QP88BAKvMam/3NxH6vj2o21R6MjxZUAd6nlwAS/pnGvN9IVLocLHxGYIzFhg6fUQ+5th6P4dv4eW9jX3DSIj7A=="],+"checkly/execa/figures/is-unicode-supported": ["[email protected]", "", {}, "sha512-mE00Gnza5EEB3Ds0HfMyllZzbBrmLOX3vfWoj9A9PEnTfratQ/BcaJOuMhnkhjXvb2+FkY3VuHqtAGpTPmglFQ=="],"checkly/execa/npm-run-path/path-key": ["[email protected]", "", {}, "sha512-haREypq7xkM7ErfgIyA0z+Bj4AGKlMSdlQE2jvJo6huWD1EdkKYV+G/T4nq0YEF2vgTT8kqMFKo1uHn950r4SQ=="],diff --git a/knip.json b/knip.jsonnew file mode 100644index 00000000000..e8b262d6624--- /dev/null+++ b/knip.json@@ -0,0 +1,39 @@+{+ "$schema": "https://unpkg.com/knip@6/schema.json",+ "workspaces": {+ "packages/web": {+ "entry": [+ "src/polyfills.ts",+ "src/features/*/index.ts",+ "vite-plugins/**/*.{js,mjs}",+ "scripts/**/*.{js,mjs}",+ "test/**/*.{test,spec}.{ts,tsx}"+ ],+ "project": [+ "src/**/*.{ts,tsx}"+ ],+ "ignore": [+ "src/components/ui/**",+ "src/components/prompt-kit/**"+ ],+ "ignoreDependencies": [+ "tw-animate-css",+ "tailwindcss"+ ],+ "ignoreBinaries": [+ "dwebp",+ "sips",+ "cwebp"+ ]+ }+ },+ "ignoreWorkspaces": [+ "packages/pieces/**",+ "packages/cli",+ "packages/tests-e2e",+ "packages/ee/embed-sdk",+ "packages/server/**",+ "packages/core/**"+ ],+ "ignoreExportsUsedInFile": true+}diff --git a/package.json b/package.jsonindex ab5d140e8c5..9ff188019ff 100644--- a/package.json+++ b/package.json@@ -54,7 +54,8 @@"bump-translated-pieces": "npx ts-node --project tools/tsconfig.tools.json tools/scripts/pieces/bump-translated-pieces.ts","bump-all-pieces-patch-version": "npx ts-node --project tools/tsconfig.tools.json tools/scripts/pieces/bump-all-pieces-patch-version.ts","security:sla": "npx ts-node --project tools/tsconfig.tools.json tools/scripts/security/sla-report.ts",- "sync-model-catalog": "npx tsx tools/scripts/sync-model-catalog.ts"+ "sync-model-catalog": "npx tsx tools/scripts/sync-model-catalog.ts",+ "knip": "knip --workspace packages/web"},"private": true,"dependencies": {@@ -95,6 +96,7 @@"i18next-parser": "9.3.0","inquirer": "8.2.7","jsonc-eslint-parser": "2.4.1",+ "knip": "6.35.1","lint-staged": "15.2.9","prettier": "2.8.4","semver": "7.6.0",diff --git a/packages/web/package.json b/packages/web/package.jsonindex b4578d7c78c..7e2c4707fe7 100644--- a/packages/web/package.json+++ b/packages/web/package.json@@ -106,8 +106,6 @@"socket.io-client": "4.8.1","sonner": "2.0.7","tailwind-merge": "2.4.0",- "tailwind-scrollbar": "4.0.2",- "tslib": "2.6.2","tw-animate-css": "1.4.0","use-debounce": "10.0.1","use-deep-compare-effect": "1.8.1",diff --git a/packages/web/src/app/app.tsx b/packages/web/src/app/app.tsxindex cfc2fdf3c3e..4e0f7a91a49 100644--- a/packages/web/src/app/app.tsx+++ b/packages/web/src/app/app.tsx@@ -46,5 +46,3 @@ export function App() {</GlobalErrorBoundary>);}--export default App;diff --git a/packages/web/src/app/builder/flow-canvas/cursor-position-context.tsx b/packages/web/src/app/builder/flow-canvas/cursor-position-context.tsxindex 95658014337..dfa0da48c08 100644--- a/packages/web/src/app/builder/flow-canvas/cursor-position-context.tsx+++ b/packages/web/src/app/builder/flow-canvas/cursor-position-context.tsx@@ -1,4 +1,4 @@-import { createContext, useContext, useEffect, useRef } from 'react';+import { createContext, useContext, useEffect } from 'react';const CursorPositionContext = createContext<{cursorPosition: { x: number; y: number };@@ -12,24 +12,6 @@ export const useCursorPosition = () => {return useContext(CursorPositionContext);};-export const CursorPositionProvider = ({- children,-}: {- children: React.ReactNode;-}) => {- const cursorPositionRef = useRef<{ x: number; y: number }>({ x: 0, y: 0 });- const setCursorPosition = (position: { x: number; y: number }) => {- cursorPositionRef.current = position;- };- return (- <CursorPositionContext.Provider- value={{ cursorPosition: cursorPositionRef.current, setCursorPosition }}- >- {children}- </CursorPositionContext.Provider>- );-};-//Use this only in the component you want to re-render when the cursor position changes, i.e dragged step or noteexport const useCursorPositionEffect = (callback: (position: { x: number; y: number }) => void,diff --git a/packages/web/src/app/builder/flow-canvas/utils/types.ts b/packages/web/src/app/builder/flow-canvas/utils/types.tsindex 3401014657a..b06d5846288 100644--- a/packages/web/src/app/builder/flow-canvas/utils/types.ts+++ b/packages/web/src/app/builder/flow-canvas/utils/types.ts@@ -106,7 +106,6 @@ export type ApNode =export enum ApEdgeType {STRAIGHT_LINE = 'ApStraightLineEdge',LOOP_START_EDGE = 'ApLoopStartEdge',- LOOP_CLOSE_EDGE = 'ApLoopCloseEdge',LOOP_RETURN_EDGE = 'ApLoopReturnEdge',ROUTER_START_EDGE = 'ApRouterStartEdge',ROUTER_END_EDGE = 'ApRouterEndEdge',@@ -128,10 +127,6 @@ export type ApLoopStartEdge = Edge & {};};-export type ApLoopCloseEdge = Edge & {- type: ApEdgeType.LOOP_CLOSE_EDGE;-};-export type ApLoopReturnEdge = Edge & {type: ApEdgeType.LOOP_RETURN_EDGE;data: {diff --git a/packages/web/src/app/components/account-settings/index.tsx b/packages/web/src/app/components/account-settings/index.tsxindex 72321aede7c..fb659fa0161 100644--- a/packages/web/src/app/components/account-settings/index.tsx+++ b/packages/web/src/app/components/account-settings/index.tsx@@ -20,8 +20,8 @@ import { ScrollArea } from '@/components/ui/scroll-area';import { Separator } from '@/components/ui/separator';import { userHooks, userMutations } from '@/hooks/user-hooks';-import LanguageToggle from './language-toggle';-import ThemeToggle from './theme-toggle';+import { LanguageToggle } from './language-toggle';+import { ThemeToggle } from './theme-toggle';export interface AccountSettingsDialogProps {open: boolean;@@ -127,5 +127,3 @@ export function AccountSettingsDialog({</Dialog>);}--export default AccountSettingsDialog;diff --git a/packages/web/src/app/components/account-settings/language-toggle.tsx b/packages/web/src/app/components/account-settings/language-toggle.tsxindex 72ab845d6b1..649f8b4f8bd 100644--- a/packages/web/src/app/components/account-settings/language-toggle.tsx+++ b/packages/web/src/app/components/account-settings/language-toggle.tsx@@ -125,5 +125,3 @@ export const LanguageToggle = () => {</div>);};--export default LanguageToggle;diff --git a/packages/web/src/app/components/account-settings/theme-toggle.tsx b/packages/web/src/app/components/account-settings/theme-toggle.tsxindex d333bea7611..36b69c12f04 100644--- a/packages/web/src/app/components/account-settings/theme-toggle.tsx+++ b/packages/web/src/app/components/account-settings/theme-toggle.tsx@@ -48,5 +48,3 @@ export const ThemeToggle = () => {</div>);};--export default ThemeToggle;diff --git a/packages/web/src/app/components/billing-page-shell.tsx b/packages/web/src/app/components/billing-page-shell.tsxindex 49787934e32..f9778a289e0 100644--- a/packages/web/src/app/components/billing-page-shell.tsx+++ b/packages/web/src/app/components/billing-page-shell.tsx@@ -12,7 +12,7 @@ import { billingQueries } from '@/features/billing';import { flagsHooks } from '@/hooks/flags-hooks';import { platformHooks } from '@/hooks/platform-hooks';-import LockedFeatureGuard from './locked-feature-guard';+import { LockedFeatureGuard } from './locked-feature-guard';const LOCK_DOCUMENTATION_URL ='https://www.activepieces.com/docs/install/configuration/overview#enterprise-edition-optional';diff --git a/packages/web/src/app/components/edition-guard.tsx b/packages/web/src/app/components/edition-guard.tsxdeleted file mode 100644index 327ffcce62c..00000000000--- a/packages/web/src/app/components/edition-guard.tsx+++ /dev/null@@ -1,20 +0,0 @@-import { ApEdition, ApFlagId } from '@activepieces/shared';--import { flagsHooks } from '@/hooks/flags-hooks';--type EditionGuardProps = {- children: React.ReactNode;- allowedEditions: ApEdition[];-};--const EditionGuard = ({ children, allowedEditions }: EditionGuardProps) => {- const { data: edition } = flagsHooks.useFlag<ApEdition>(ApFlagId.EDITION);-- if (!edition || !allowedEditions.includes(edition)) {- return null;- }- return children;-};--EditionGuard.displayName = 'EditionGuard';-export { EditionGuard };diff --git a/packages/web/src/app/components/flag-guard.tsx b/packages/web/src/app/components/flag-guard.tsxdeleted file mode 100644index 997756d885c..00000000000--- a/packages/web/src/app/components/flag-guard.tsx+++ /dev/null@@ -1,18 +0,0 @@-import { ApFlagId } from '@activepieces/shared';--import { flagsHooks } from '@/hooks/flags-hooks';--type FlagGuardProps = {- children: React.ReactNode;- flag: ApFlagId;-};-const FlagGuard = ({ children, flag }: FlagGuardProps) => {- const { data: flagValue } = flagsHooks.useFlag<boolean>(flag);- if (!flagValue) {- return null;- }- return children;-};--FlagGuard.displayName = 'FlagGuard';-export { FlagGuard };diff --git a/packages/web/src/app/components/locked-feature-guard.tsx b/packages/web/src/app/components/locked-feature-guard.tsxindex cd26c8e5858..e8f2cadbfae 100644--- a/packages/web/src/app/components/locked-feature-guard.tsx+++ b/packages/web/src/app/components/locked-feature-guard.tsx@@ -89,5 +89,3 @@ export const LockedFeatureGuard = ({</div>);};--export default LockedFeatureGuard;diff --git a/packages/web/src/app/components/primary-rail/index.tsx b/packages/web/src/app/components/primary-rail/index.tsxindex 682726153bc..af304f5739f 100644--- a/packages/web/src/app/components/primary-rail/index.tsx+++ b/packages/web/src/app/components/primary-rail/index.tsx@@ -73,7 +73,7 @@ import { userHooks } from '@/hooks/user-hooks';import { authenticationSession } from '@/lib/authentication-session';import { cn } from '@/lib/utils';-import AccountSettingsDialog from '../account-settings';+import { AccountSettingsDialog } from '../account-settings';import { recordAccess } from '../global-search/access-history';import { useGlobalSearch } from '../global-search/global-search-context';import { HelpAndFeedback } from '../help-and-feedback';diff --git a/packages/web/src/app/components/project-layout/project-dashboard-layout-header.tsx b/packages/web/src/app/components/project-layout/project-dashboard-layout-header.tsxindex 402fde077ca..6e4104844eb 100644--- a/packages/web/src/app/components/project-layout/project-dashboard-layout-header.tsx+++ b/packages/web/src/app/components/project-layout/project-dashboard-layout-header.tsx@@ -180,5 +180,3 @@ export const ProjectDashboardLayoutHeader = () => {};ProjectDashboardLayoutHeader.displayName = 'ProjectDashboardLayoutHeader';--export default ProjectDashboardLayoutHeader;diff --git a/packages/web/src/app/components/project-settings-layout.tsx b/packages/web/src/app/components/project-settings-layout.tsxdeleted file mode 100644index 6e57928a1e7..00000000000--- a/packages/web/src/app/components/project-settings-layout.tsx+++ /dev/null@@ -1,18 +0,0 @@-import { isNil } from '@activepieces/core-utils';-import { Navigate } from 'react-router-dom';--import { authenticationSession } from '../../lib/authentication-session';--export default function ProjectSettingsLayout({- children,-}: {- children: React.ReactNode;-}) {- const currentProjectId = authenticationSession.getProjectId();-- if (isNil(currentProjectId)) {- return <Navigate to="/sign-in" replace />;- }-- return <div className="w-full">{children}</div>;-}diff --git a/packages/web/src/app/components/project-settings/alerts/team-project-alerts.tsx b/packages/web/src/app/components/project-settings/alerts/team-project-alerts.tsxindex 59b8d8fab75..03f54147f46 100644--- a/packages/web/src/app/components/project-settings/alerts/team-project-alerts.tsx+++ b/packages/web/src/app/components/project-settings/alerts/team-project-alerts.tsx@@ -2,6 +2,9 @@ import { Permission } from '@activepieces/core-utils';import { t } from 'i18next';import { Bell, Trash, UserRound } from 'lucide-react';+import { LoadingSpinner } from '@/components/custom/spinner';+import { Alert, AlertDescription, AlertTitle } from '@/components/ui/alert';+import { Button } from '@/components/ui/button';import {Item,ItemActions,@@ -10,10 +13,7 @@ import {ItemGroup,ItemMedia,ItemTitle,-} from '@/components/custom/item';-import { LoadingSpinner } from '@/components/custom/spinner';-import { Alert, AlertDescription, AlertTitle } from '@/components/ui/alert';-import { Button } from '@/components/ui/button';+} from '@/components/ui/item';import { Switch } from '@/components/ui/switch';import {Tooltip,diff --git a/packages/web/src/app/components/project-settings/environment/index.tsx b/packages/web/src/app/components/project-settings/environment/index.tsxindex 7e916c256e0..73c09b5b1c5 100644--- a/packages/web/src/app/components/project-settings/environment/index.tsx+++ b/packages/web/src/app/components/project-settings/environment/index.tsx@@ -1,7 +1,7 @@import { t } from 'i18next';import { toast } from 'sonner';-import LockedFeatureGuard from '@/app/components/locked-feature-guard';+import { LockedFeatureGuard } from '@/app/components/locked-feature-guard';import { LoadingSpinner } from '@/components/custom/spinner';import { Button } from '@/components/ui/button';import { Card } from '@/components/ui/card';diff --git a/packages/web/src/app/components/project-settings/mcp-server/utils/mcp-tools-metadata.ts b/packages/web/src/app/components/project-settings/mcp-server/utils/mcp-tools-metadata.tsindex 751229a493b..f98722d0ded 100644--- a/packages/web/src/app/components/project-settings/mcp-server/utils/mcp-tools-metadata.ts+++ b/packages/web/src/app/components/project-settings/mcp-server/utils/mcp-tools-metadata.ts@@ -259,7 +259,3 @@ export function getToolCategories({),}));}--export const ALL_CONTROLLABLE_TOOL_NAMES: string[] = TOOL_CATEGORIES.filter(- (c) => !c.locked,-).flatMap((c) => c.tools.map((t) => t.name));diff --git a/packages/web/src/app/components/sidebar/ap-sidebar-group.tsx b/packages/web/src/app/components/sidebar/ap-sidebar-group.tsxdeleted file mode 100644index b254a5434a6..00000000000--- a/packages/web/src/app/components/sidebar/ap-sidebar-group.tsx+++ /dev/null@@ -1,16 +0,0 @@-import { ComponentType } from 'react';--import { SidebarItemType } from './ap-sidebar-item';--export type SidebarGeneralItemType = SidebarItemType | SidebarGroupType;--export type SidebarGroupType = {- name?: string;- label: string;- icon?: ComponentType<{ className?: string }>;- items: SidebarItemType[];- type: 'group';- open: boolean;- setOpen: (open: boolean) => void;- isActive?: (pathname: string) => boolean;-};diff --git a/packages/web/src/app/components/sidebar/project/index.tsx b/packages/web/src/app/components/sidebar/project/index.tsxdeleted file mode 100644index 50877f68399..00000000000--- a/packages/web/src/app/components/sidebar/project/index.tsx+++ /dev/null@@ -1,68 +0,0 @@-import { isNil } from '@activepieces/core-utils';-import {- PROJECT_COLOR_PALETTE,- ProjectType,- ProjectWithLimits,-} from '@activepieces/shared';-import { User } from 'lucide-react';--import { Avatar } from '@/components/ui/avatar';-import { SidebarMenuButton, useSidebar } from '@/components/ui/sidebar-shadcn';-import { getProjectName } from '@/features/projects';-import { cn } from '@/lib/utils';--const MAX_LENGTH_TO_NOT_SHOW_TOOLTIP = 28;--type ProjectSideBarItemProps = {- project: ProjectWithLimits;- isCurrentProject: boolean;- handleProjectSelect: (projectId: string) => void;-};--const ProjectSideBarItem = ({- project,- isCurrentProject,- handleProjectSelect,-}: ProjectSideBarItemProps) => {- const { state } = useSidebar();-- const projectName = getProjectName(project);-- const projectAvatar = isNil(project.icon) ? null : project.type ===- ProjectType.TEAM ? (- <Avatar- className="size-[18px] text-sm font-bold flex items-center justify-center rounded-[4px]"- style={{- backgroundColor: PROJECT_COLOR_PALETTE[project.icon.color].color,- color: PROJECT_COLOR_PALETTE[project.icon.color].textColor,- }}- >- <span className="scale-75">{projectName.charAt(0).toUpperCase()}</span>- </Avatar>- ) : (- <User className="size-4 " />- );-- const shouldShowTooltip = projectName.length > MAX_LENGTH_TO_NOT_SHOW_TOOLTIP;- const displayText = shouldShowTooltip- ? `${projectName.substring(0, MAX_LENGTH_TO_NOT_SHOW_TOOLTIP)}...`- : projectName;- const isCollapsed = state === 'collapsed';- return (- <SidebarMenuButton- onClick={() => handleProjectSelect(project.id)}- className={cn('', {- 'bg-sidebar-accent! ': isCurrentProject,- })}- >- {projectAvatar}- {!isCollapsed && (- <span className={cn('truncate', { 'font-semibold': isCurrentProject })}>- {displayText}- </span>- )}- </SidebarMenuButton>- );-};--export default ProjectSideBarItem;diff --git a/packages/web/src/app/components/sidebar/sidebar-header.tsx b/packages/web/src/app/components/sidebar/sidebar-header.tsxdeleted file mode 100644index 6e5f307615f..00000000000--- a/packages/web/src/app/components/sidebar/sidebar-header.tsx+++ /dev/null@@ -1,90 +0,0 @@-import { ApEdition, ApFlagId } from '@activepieces/shared';-import { t } from 'i18next';-import { ChevronsUpDown } from 'lucide-react';-import { useNavigate } from 'react-router-dom';--import { useEmbedding } from '@/components/providers/embed-provider';-import { Button } from '@/components/ui/button';-import {- SidebarHeader,- SidebarMenu,- SidebarMenuButton,- SidebarMenuItem,- useSidebar,-} from '@/components/ui/sidebar-shadcn';-import { PlatformSwitcher } from '@/features/projects';-import { useAuthorization } from '@/hooks/authorization-hooks';-import { flagsHooks } from '@/hooks/flags-hooks';-import { platformHooks } from '@/hooks/platform-hooks';-import { determineDefaultRoute } from '@/lib/route-utils';--function SidebarLogoCollapsed({ linkTo }: { linkTo?: string }) {- const branding = flagsHooks.useWebsiteBranding();- const navigate = useNavigate();- return (- <Button- variant="ghost"- size="icon"- onClick={() => navigate(linkTo || '/')}- className="h-10! w-8! p-0! group-data-[collapsible=icon]:h-10! items-center justify-center"- >- <img- src={branding.logos.logoIconUrl}- alt={t('home')}- className="h-5! w-5! shrink-0"- draggable={false}- />- </Button>- );-}--export const AppSidebarHeader = () => {- const { embedState } = useEmbedding();- const { data: edition } = flagsHooks.useFlag<ApEdition>(ApFlagId.EDITION);- const showSwitcher = edition === ApEdition.CLOUD && !embedState.isEmbedded;- const { state } = useSidebar();- const { platform: currentPlatform } = platformHooks.useCurrentPlatform();- const { checkAccess } = useAuthorization();- const defaultRoute = determineDefaultRoute({- checkAccess,- chatEnabled: currentPlatform.plan.chatEnabled,- });- const branding = flagsHooks.useWebsiteBranding();-- if (!showSwitcher) {- return (- <SidebarHeader className="pb-0">- <div className="w-full flex items-center gap-2">- <SidebarLogoCollapsed linkTo={defaultRoute} />- {state !== 'collapsed' && (- <h1 className="truncate text-sm font-medium">- {branding.websiteName}- </h1>- )}- </div>- </SidebarHeader>- );- }-- return (- <SidebarHeader>- <SidebarMenu>- <SidebarMenuItem className="flex items-center">- <SidebarLogoCollapsed linkTo={defaultRoute} />- {state !== 'collapsed' && (- <div className="flex-1 min-w-0">- <PlatformSwitcher>- <SidebarMenuButton className="h-10! w-full">- <span className="truncate font-medium flex-1 text-left text-sm">- {currentPlatform?.name ?? t('platform')}- </span>- <ChevronsUpDown className="ml-auto size-3! shrink-0" />- </SidebarMenuButton>- </PlatformSwitcher>- </div>- )}- </SidebarMenuItem>- </SidebarMenu>- </SidebarHeader>- );-};diff --git a/packages/web/src/app/components/sidebar/sidebar-user.tsx b/packages/web/src/app/components/sidebar/sidebar-user.tsxindex 2163df2ec49..53dbfdf204b 100644--- a/packages/web/src/app/components/sidebar/sidebar-user.tsx+++ b/packages/web/src/app/components/sidebar/sidebar-user.tsx@@ -25,7 +25,7 @@ import { userHooks } from '@/hooks/user-hooks';import { authenticationSession } from '@/lib/authentication-session';import { cn } from '@/lib/utils';-import AccountSettingsDialog from '../account-settings';+import { AccountSettingsDialog } from '../account-settings';import { HelpAndFeedback } from '../help-and-feedback';export function SidebarUser() {diff --git a/packages/web/src/app/routes/agents/id/index.tsx b/packages/web/src/app/routes/agents/id/index.tsxindex 137ca7aeb49..141c9786a8d 100644--- a/packages/web/src/app/routes/agents/id/index.tsx+++ b/packages/web/src/app/routes/agents/id/index.tsx@@ -17,14 +17,14 @@ import {} from 'react-router-dom';import { LockedFeatureGuard } from '@/app/components/locked-feature-guard';+import { Button } from '@/components/ui/button';import {Empty,EmptyDescription,EmptyHeader,EmptyMedia,EmptyTitle,-} from '@/components/custom/empty';-import { Button } from '@/components/ui/button';+} from '@/components/ui/empty';import { Skeleton } from '@/components/ui/skeleton';import { Tabs, TabsList, TabsTrigger } from '@/components/ui/tabs';import { useAgentsAvailable } from '@/features/agents';diff --git a/packages/web/src/app/routes/agents/index.tsx b/packages/web/src/app/routes/agents/index.tsxindex d233bc0cc31..a46fe619031 100644--- a/packages/web/src/app/routes/agents/index.tsx+++ b/packages/web/src/app/routes/agents/index.tsx@@ -25,13 +25,6 @@ import { useDebounce } from 'use-debounce';import { LockedFeatureGuard } from '@/app/components/locked-feature-guard';import { DataFetchErrorState } from '@/components/custom/data-fetch-error-state';-import {- Empty,- EmptyDescription,- EmptyHeader,- EmptyMedia,- EmptyTitle,-} from '@/components/custom/empty';import { SearchableSelect } from '@/components/custom/searchable-select';import { Button } from '@/components/ui/button';import {@@ -41,6 +34,13 @@ import {DropdownMenuRadioItem,DropdownMenuTrigger,} from '@/components/ui/dropdown-menu';+import {+ Empty,+ EmptyDescription,+ EmptyHeader,+ EmptyMedia,+ EmptyTitle,+} from '@/components/ui/empty';import { Skeleton } from '@/components/ui/skeleton';import { Textarea } from '@/components/ui/textarea';import { AgentCard } from '@/features/agents/agent-card';diff --git a/packages/web/src/app/routes/approvals/index.tsx b/packages/web/src/app/routes/approvals/index.tsxindex e7dc808dc76..e1ca9bc2375 100644--- a/packages/web/src/app/routes/approvals/index.tsx+++ b/packages/web/src/app/routes/approvals/index.tsx@@ -150,5 +150,3 @@ export function ApprovalsPage() {</div>);}--export default ApprovalsPage;diff --git a/packages/web/src/app/routes/chat-with-ai/components/assistant-message.tsx b/packages/web/src/app/routes/chat-with-ai/components/assistant-message.tsxindex fd48fd14a8f..5a8dcbf6490 100644--- a/packages/web/src/app/routes/chat-with-ai/components/assistant-message.tsx+++ b/packages/web/src/app/routes/chat-with-ai/components/assistant-message.tsx@@ -32,6 +32,7 @@ import {import {ConnectionPickerData,getTextFromParts,+ parseAnswerPairs,ProjectPickerData,} from '../lib/message-parsers';@@ -680,17 +681,3 @@ function AnsweredQuestionsCard({ answersText }: { answersText: string }) {</motion.div>);}--function parseAnswerPairs(- text: string,-): Array<{ question: string; answer: string }> {- return text- .split('\n')- .filter((line) => line.startsWith('- **'))- .map((line) => {- const match = line.match(/^- \*\*(.+?)\*\*\s*(.*)$/);- if (!match) return null;- return { question: match[1], answer: match[2] };- })- .filter((p): p is { question: string; answer: string } => p !== null);-}diff --git a/packages/web/src/app/routes/chat-with-ai/components/question-inputs/question-icon.tsx b/packages/web/src/app/routes/chat-with-ai/components/question-inputs/question-icon.tsxindex a53ccc3d043..04b2f9839ba 100644--- a/packages/web/src/app/routes/chat-with-ai/components/question-inputs/question-icon.tsx+++ b/packages/web/src/app/routes/chat-with-ai/components/question-inputs/question-icon.tsx@@ -224,5 +224,3 @@ export function OptionIcon({</span>);}--export const ALLOWED_QUESTION_ICONS = Object.keys(ICON_MAP);diff --git a/packages/web/src/app/routes/impact/index.tsx b/packages/web/src/app/routes/impact/index.tsxindex 659eb38eafc..4e4a6cf5744 100644--- a/packages/web/src/app/routes/impact/index.tsx+++ b/packages/web/src/app/routes/impact/index.tsx@@ -7,7 +7,7 @@ import { useSearchParams } from 'react-router-dom';import { useEffectOnce } from 'react-use';import { toast } from 'sonner';-import LockedFeatureGuard from '@/app/components/locked-feature-guard';+import { LockedFeatureGuard } from '@/app/components/locked-feature-guard';import { PageHeader } from '@/components/custom/page-header';import { Button } from '@/components/ui/button';import {diff --git a/packages/web/src/app/routes/mcp-server/activity/activity-feed.tsx b/packages/web/src/app/routes/mcp-server/activity/activity-feed.tsxindex 2fd44932c6e..5978489b0cf 100644--- a/packages/web/src/app/routes/mcp-server/activity/activity-feed.tsx+++ b/packages/web/src/app/routes/mcp-server/activity/activity-feed.tsx@@ -20,7 +20,7 @@ import {EmptyHeader,EmptyMedia,EmptyTitle,-} from '@/components/custom/empty';+} from '@/components/ui/empty';import { piecesHooks } from '@/features/pieces/hooks/pieces-hooks';import { platformUserHooks } from '@/features/platform-admin/hooks/platform-user-hooks';import { projectCollectionUtils } from '@/features/projects';diff --git a/packages/web/src/app/routes/mcp-server/grants/grants-tab.tsx b/packages/web/src/app/routes/mcp-server/grants/grants-tab.tsxindex 6cdeaa91215..f6f3c3ebf8c 100644--- a/packages/web/src/app/routes/mcp-server/grants/grants-tab.tsx+++ b/packages/web/src/app/routes/mcp-server/grants/grants-tab.tsx@@ -14,14 +14,14 @@ import {LIMIT_QUERY_PARAM,} from '@/components/custom/data-table';import { ConfirmationDeleteDialog } from '@/components/custom/delete-dialog';+import { Button } from '@/components/ui/button';import {Empty,EmptyDescription,EmptyHeader,EmptyMedia,EmptyTitle,-} from '@/components/custom/empty';-import { Button } from '@/components/ui/button';+} from '@/components/ui/empty';import { platformUserHooks } from '@/features/platform-admin/hooks/platform-user-hooks';import { projectCollectionUtils } from '@/features/projects';import { userHooks } from '@/hooks/user-hooks';diff --git a/packages/web/src/app/routes/platform-routes.tsx b/packages/web/src/app/routes/platform-routes.tsxindex d4a5ad9af0c..8be572f6fd1 100644--- a/packages/web/src/app/routes/platform-routes.tsx+++ b/packages/web/src/app/routes/platform-routes.tsx@@ -13,8 +13,10 @@ const EventDestinationsPage = React.lazy(() => import('./platform/infra/event-destinations'),);const SettingsHealthPage = React.lazy(() => import('./platform/infra/health'));-const PlatformConfigurationsPage = React.lazy(- () => import('./platform/infra/configurations'),+const PlatformConfigurationsPage = React.lazy(() =>+ import('./platform/infra/configurations').then((m) => ({+ default: m.ConfigurationsPage,+ })),);const TriggerHealthPage = React.lazy(() => import('./platform/infra/triggers'));const SettingsWorkersPage = React.lazy(diff --git a/packages/web/src/app/routes/platform/infra/configurations/index.tsx b/packages/web/src/app/routes/platform/infra/configurations/index.tsxindex 8a89eef95b9..fd9322119de 100644--- a/packages/web/src/app/routes/platform/infra/configurations/index.tsx+++ b/packages/web/src/app/routes/platform/infra/configurations/index.tsx@@ -42,8 +42,6 @@ export const ConfigurationsPage = () => {return <ConfigurationsContent configuration={configuration} />;};-export default ConfigurationsPage;-const ConfigurationsContent = ({configuration,}: ConfigurationsContentProps) => {diff --git a/packages/web/src/app/routes/platform/infra/configurations/telemetry-section.tsx b/packages/web/src/app/routes/platform/infra/configurations/telemetry-section.tsxindex ad80d6ebbc9..e45348d4705 100644--- a/packages/web/src/app/routes/platform/infra/configurations/telemetry-section.tsx+++ b/packages/web/src/app/routes/platform/infra/configurations/telemetry-section.tsx@@ -2,6 +2,7 @@ import { t } from 'i18next';import { Activity, Server } from 'lucide-react';import { Control } from 'react-hook-form';+import { FormField, FormItem, FormMessage } from '@/components/ui/form';import {Item,ItemMedia,@@ -9,8 +10,7 @@ import {ItemTitle,ItemDescription,ItemActions,-} from '@/components/custom/item';-import { FormField, FormItem, FormMessage } from '@/components/ui/form';+} from '@/components/ui/item';import { Switch } from '@/components/ui/switch';import { TrackedEventsDialog } from './tracked-events-dialog';diff --git a/packages/web/src/app/routes/platform/infra/event-destinations/components/event-destination-row.tsx b/packages/web/src/app/routes/platform/infra/event-destinations/components/event-destination-row.tsxindex 25640664f03..c25e0238f87 100644--- a/packages/web/src/app/routes/platform/infra/event-destinations/components/event-destination-row.tsx+++ b/packages/web/src/app/routes/platform/infra/event-destinations/components/event-destination-row.tsx@@ -2,6 +2,9 @@ import { EventDestination } from '@activepieces/shared';import { t } from 'i18next';import { ExternalLink, Globe, Workflow } from 'lucide-react';+import { TextWithTooltip } from '@/components/custom/text-with-tooltip';+import { Badge } from '@/components/ui/badge';+import { Button } from '@/components/ui/button';import {Item,ItemActions,@@ -9,10 +12,7 @@ import {ItemDescription,ItemMedia,ItemTitle,-} from '@/components/custom/item';-import { TextWithTooltip } from '@/components/custom/text-with-tooltip';-import { Badge } from '@/components/ui/badge';-import { Button } from '@/components/ui/button';+} from '@/components/ui/item';import {Tooltip,TooltipContent,diff --git a/packages/web/src/app/routes/platform/infra/event-destinations/index.tsx b/packages/web/src/app/routes/platform/infra/event-destinations/index.tsxindex 8d242866cb7..38200b941a4 100644--- a/packages/web/src/app/routes/platform/infra/event-destinations/index.tsx+++ b/packages/web/src/app/routes/platform/infra/event-destinations/index.tsx@@ -5,10 +5,10 @@ import { Workflow } from 'lucide-react';import { useMemo } from 'react';import { CenteredPage } from '@/app/components/centered-page';-import LockedFeatureGuard from '@/app/components/locked-feature-guard';+import { LockedFeatureGuard } from '@/app/components/locked-feature-guard';import { AnimatedIconButton } from '@/components/custom/animated-icon-button';-import { ItemGroup } from '@/components/custom/item';import { PlusIcon } from '@/components/icons/plus';+import { ItemGroup } from '@/components/ui/item';import { SkeletonList } from '@/components/ui/skeleton';import { flowsApi } from '@/features/flows';import { flagsHooks } from '@/hooks/flags-hooks';diff --git a/packages/web/src/app/routes/platform/infra/workers/index.tsx b/packages/web/src/app/routes/platform/infra/workers/index.tsxindex a93461dfe54..fe7324018c2 100644--- a/packages/web/src/app/routes/platform/infra/workers/index.tsx+++ b/packages/web/src/app/routes/platform/infra/workers/index.tsx@@ -22,7 +22,7 @@ import React from 'react';import { useSearchParams } from 'react-router-dom';import { DashboardPageHeader } from '@/app/components/dashboard-page-header';-import LockedFeatureGuard from '@/app/components/locked-feature-guard';+import { LockedFeatureGuard } from '@/app/components/locked-feature-guard';import { RequestTrial } from '@/app/components/request-trial';import {Alert,diff --git a/packages/web/src/app/routes/platform/projects/index.tsx b/packages/web/src/app/routes/platform/projects/index.tsxindex ad361c74d57..aef8d948055 100644--- a/packages/web/src/app/routes/platform/projects/index.tsx+++ b/packages/web/src/app/routes/platform/projects/index.tsx@@ -9,13 +9,15 @@ import { toast } from 'sonner';import { platformApi } from '@/api/platforms-api';import { DashboardPageHeader } from '@/app/components/dashboard-page-header';-import LockedFeatureGuard from '@/app/components/locked-feature-guard';+import { LockedFeatureGuard } from '@/app/components/locked-feature-guard';import {DataTable,RowDataWithActions,BulkAction,} from '@/components/custom/data-table';import { ConfirmationDeleteDialog } from '@/components/custom/delete-dialog';+import { Button } from '@/components/ui/button';+import { Checkbox } from '@/components/ui/checkbox';import {Item,ItemMedia,@@ -23,9 +25,7 @@ import {ItemTitle,ItemDescription,ItemActions,-} from '@/components/custom/item';-import { Button } from '@/components/ui/button';-import { Checkbox } from '@/components/ui/checkbox';+} from '@/components/ui/item';import { Switch } from '@/components/ui/switch';import {Tooltip,diff --git a/packages/web/src/app/routes/platform/security/api-keys/index.tsx b/packages/web/src/app/routes/platform/security/api-keys/index.tsxindex dedb9e0acbf..b59cd49b800 100644--- a/packages/web/src/app/routes/platform/security/api-keys/index.tsx+++ b/packages/web/src/app/routes/platform/security/api-keys/index.tsx@@ -3,19 +3,10 @@ import { t } from 'i18next';import { Key, MoreHorizontal, Trash } from 'lucide-react';import { CenteredPage } from '@/app/components/centered-page';-import LockedFeatureGuard from '@/app/components/locked-feature-guard';+import { LockedFeatureGuard } from '@/app/components/locked-feature-guard';import { NewApiKeyDialog } from '@/app/routes/platform/security/api-keys/new-api-key-dialog';import { AnimatedIconButton } from '@/components/custom/animated-icon-button';import { ConfirmationDeleteDialog } from '@/components/custom/delete-dialog';-import {- Item,- ItemActions,- ItemContent,- ItemDescription,- ItemGroup,- ItemMedia,- ItemTitle,-} from '@/components/custom/item';import { PlusIcon } from '@/components/icons/plus';import { Button } from '@/components/ui/button';import {@@ -24,6 +15,15 @@ import {DropdownMenuItem,DropdownMenuTrigger,} from '@/components/ui/dropdown-menu';+import {+ Item,+ ItemActions,+ ItemContent,+ ItemDescription,+ ItemGroup,+ ItemMedia,+ ItemTitle,+} from '@/components/ui/item';import { SkeletonList } from '@/components/ui/skeleton';import { internalErrorToast } from '@/components/ui/sonner';import { apiKeyApi, apiKeyQueries } from '@/features/platform-admin';diff --git a/packages/web/src/app/routes/platform/security/audit-logs/index.tsx b/packages/web/src/app/routes/platform/security/audit-logs/index.tsxindex 0c0d318c41e..2a8c31a1fb2 100644--- a/packages/web/src/app/routes/platform/security/audit-logs/index.tsx+++ b/packages/web/src/app/routes/platform/security/audit-logs/index.tsx@@ -30,7 +30,7 @@ import { Fragment, useState } from 'react';import { Link } from 'react-router-dom';import { DashboardPageHeader } from '@/app/components/dashboard-page-header';-import LockedFeatureGuard from '@/app/components/locked-feature-guard';+import { LockedFeatureGuard } from '@/app/components/locked-feature-guard';import { DataTable, DataTableFilters } from '@/components/custom/data-table';import { DataTableColumnHeader } from '@/components/custom/data-table/data-table-column-header';import { FormattedDate } from '@/components/custom/formatted-date';diff --git a/packages/web/src/app/routes/platform/security/embed/index.tsx b/packages/web/src/app/routes/platform/security/embed/index.tsxindex e0823fdd562..b9851abe638 100644--- a/packages/web/src/app/routes/platform/security/embed/index.tsx+++ b/packages/web/src/app/routes/platform/security/embed/index.tsx@@ -14,7 +14,7 @@ import {} from 'lucide-react';import { useState } from 'react';-import LockedFeatureGuard from '@/app/components/locked-feature-guard';+import { LockedFeatureGuard } from '@/app/components/locked-feature-guard';import { DataFetchErrorState } from '@/components/custom/data-fetch-error-state';import { Button } from '@/components/ui/button';import { Separator } from '@/components/ui/separator';diff --git a/packages/web/src/app/routes/platform/security/embed/steps/signing-keys-step.tsx b/packages/web/src/app/routes/platform/security/embed/steps/signing-keys-step.tsxindex 234c9a5e848..147d52d136c 100644--- a/packages/web/src/app/routes/platform/security/embed/steps/signing-keys-step.tsx+++ b/packages/web/src/app/routes/platform/security/embed/steps/signing-keys-step.tsx@@ -3,6 +3,13 @@ import { t } from 'i18next';import { Key, MoreHorizontal, Trash } from 'lucide-react';import { ConfirmationDeleteDialog } from '@/components/custom/delete-dialog';+import { Button } from '@/components/ui/button';+import {+ DropdownMenu,+ DropdownMenuContent,+ DropdownMenuItem,+ DropdownMenuTrigger,+} from '@/components/ui/dropdown-menu';import {Item,ItemActions,@@ -11,14 +18,7 @@ import {ItemGroup,ItemMedia,ItemTitle,-} from '@/components/custom/item';-import { Button } from '@/components/ui/button';-import {- DropdownMenu,- DropdownMenuContent,- DropdownMenuItem,- DropdownMenuTrigger,-} from '@/components/ui/dropdown-menu';+} from '@/components/ui/item';import { SkeletonList } from '@/components/ui/skeleton';import { internalErrorToast } from '@/components/ui/sonner';import { NewSigningKeyDialog, signingKeyApi } from '@/features/platform-admin';diff --git a/packages/web/src/app/routes/platform/security/project-role/index.tsx b/packages/web/src/app/routes/platform/security/project-role/index.tsxindex 8c5c8511748..0812a096d29 100644--- a/packages/web/src/app/routes/platform/security/project-role/index.tsx+++ b/packages/web/src/app/routes/platform/security/project-role/index.tsx@@ -1,7 +1,7 @@import { t } from 'i18next';import { CenteredPage } from '@/app/components/centered-page';-import LockedFeatureGuard from '@/app/components/locked-feature-guard';+import { LockedFeatureGuard } from '@/app/components/locked-feature-guard';import { AnimatedIconButton } from '@/components/custom/animated-icon-button';import { PlusIcon } from '@/components/icons/plus';import {diff --git a/packages/web/src/app/routes/platform/security/project-role/project-role-users-table.tsx b/packages/web/src/app/routes/platform/security/project-role/project-role-users-table.tsxindex f756a93d955..c5eb5245f81 100644--- a/packages/web/src/app/routes/platform/security/project-role/project-role-users-table.tsx+++ b/packages/web/src/app/routes/platform/security/project-role/project-role-users-table.tsx@@ -4,13 +4,13 @@ import { t } from 'i18next';import { Loader2, Users } from 'lucide-react';import { Link } from 'react-router-dom';+import { UserAvatar } from '@/components/custom/user-avatar';import {Item,ItemContent,ItemDescription,ItemTitle,-} from '@/components/custom/item';-import { UserAvatar } from '@/components/custom/user-avatar';+} from '@/components/ui/item';import {Sheet,SheetContent,diff --git a/packages/web/src/app/routes/platform/security/project-role/project-roles-table.tsx b/packages/web/src/app/routes/platform/security/project-role/project-roles-table.tsxindex 4ed2cd4f4c6..5169ce914c8 100644--- a/packages/web/src/app/routes/platform/security/project-role/project-roles-table.tsx+++ b/packages/web/src/app/routes/platform/security/project-role/project-roles-table.tsx@@ -12,6 +12,8 @@ import {import { useState } from 'react';import { ConfirmationDeleteDialog } from '@/components/custom/delete-dialog';+import { Badge } from '@/components/ui/badge';+import { Button } from '@/components/ui/button';import {Item,ItemActions,@@ -20,9 +22,7 @@ import {ItemGroup,ItemMedia,ItemTitle,-} from '@/components/custom/item';-import { Badge } from '@/components/ui/badge';-import { Button } from '@/components/ui/button';+} from '@/components/ui/item';import { SkeletonList } from '@/components/ui/skeleton';import { projectRoleMutations } from '@/features/platform-admin';import { platformHooks } from '@/hooks/platform-hooks';diff --git a/packages/web/src/app/routes/platform/security/secret-managers/index.tsx b/packages/web/src/app/routes/platform/security/secret-managers/index.tsxindex bf8d853bd73..7aa4ad96844 100644--- a/packages/web/src/app/routes/platform/security/secret-managers/index.tsx+++ b/packages/web/src/app/routes/platform/security/secret-managers/index.tsx@@ -16,7 +16,7 @@ import {} from 'lucide-react';import { DashboardPageHeader } from '@/app/components/dashboard-page-header';-import LockedFeatureGuard from '@/app/components/locked-feature-guard';+import { LockedFeatureGuard } from '@/app/components/locked-feature-guard';import { AnimatedIconButton } from '@/components/custom/animated-icon-button';import { DataTable, RowDataWithActions } from '@/components/custom/data-table';import { DataTableColumnHeader } from '@/components/custom/data-table/data-table-column-header';diff --git a/packages/web/src/app/routes/platform/security/sso/index.tsx b/packages/web/src/app/routes/platform/security/sso/index.tsxindex 3f287fb5b04..38b5a549f09 100644--- a/packages/web/src/app/routes/platform/security/sso/index.tsx+++ b/packages/web/src/app/routes/platform/security/sso/index.tsx@@ -4,9 +4,10 @@ import { CheckCircle, LockIcon, MailIcon, Earth } from 'lucide-react';import { toast } from 'sonner';import { CenteredPage } from '@/app/components/centered-page';-import LockedFeatureGuard from '@/app/components/locked-feature-guard';+import { LockedFeatureGuard } from '@/app/components/locked-feature-guard';import { AllowedDomainDialog } from '@/app/routes/platform/security/sso/allowed-domain';import { ConfigureSamlDialog } from '@/app/routes/platform/security/sso/saml-dialog';+import { Badge } from '@/components/ui/badge';import {Item,ItemMedia,@@ -14,8 +15,7 @@ import {ItemTitle,ItemDescription,ItemActions,-} from '@/components/custom/item';-import { Badge } from '@/components/ui/badge';+} from '@/components/ui/item';import { Switch } from '@/components/ui/switch';import { ssoMutations } from '@/features/platform-admin';import { platformHooks } from '@/hooks/platform-hooks';diff --git a/packages/web/src/app/routes/platform/setup/ai/index.tsx b/packages/web/src/app/routes/platform/setup/ai/index.tsxindex 83a00dc2435..02145a08ad4 100644--- a/packages/web/src/app/routes/platform/setup/ai/index.tsx+++ b/packages/web/src/app/routes/platform/setup/ai/index.tsx@@ -8,7 +8,7 @@ import { flagsHooks } from '@/hooks/flags-hooks';import { userHooks } from '@/hooks/user-hooks';import { cn } from '@/lib/utils';-import LockedFeatureGuard from '../../../../components/locked-feature-guard';+import { LockedFeatureGuard } from '../../../../components/locked-feature-guard';import { CapabilitiesTab } from './capabilities-tab';import { ProvidersTab } from './providers-tab';diff --git a/packages/web/src/app/routes/platform/setup/general/index.tsx b/packages/web/src/app/routes/platform/setup/general/index.tsxindex 0fc7f7f34f3..f7b9e1f05e0 100644--- a/packages/web/src/app/routes/platform/setup/general/index.tsx+++ b/packages/web/src/app/routes/platform/setup/general/index.tsx@@ -33,5 +33,3 @@ export const GeneralPage = () => {</CenteredPage>);};--export default GeneralPage;diff --git a/packages/web/src/app/routes/platform/setup/templates/index.tsx b/packages/web/src/app/routes/platform/setup/templates/index.tsxindex cb9d410b812..4cb45d79d53 100644--- a/packages/web/src/app/routes/platform/setup/templates/index.tsx+++ b/packages/web/src/app/routes/platform/setup/templates/index.tsx@@ -8,7 +8,7 @@ import { useSearchParams } from 'react-router-dom';import { toast } from 'sonner';import { DashboardPageHeader } from '@/app/components/dashboard-page-header';-import LockedFeatureGuard from '@/app/components/locked-feature-guard';+import { LockedFeatureGuard } from '@/app/components/locked-feature-guard';import { AnimatedIconButton } from '@/components/custom/animated-icon-button';import {DataTable,diff --git a/packages/web/src/app/routes/platform/users/index.tsx b/packages/web/src/app/routes/platform/users/index.tsxindex 69a856a53d6..4f314f0ca1c 100644--- a/packages/web/src/app/routes/platform/users/index.tsx+++ b/packages/web/src/app/routes/platform/users/index.tsx@@ -8,7 +8,7 @@ import { User } from 'lucide-react';import { useMemo, useState } from 'react';import { DashboardPageHeader } from '@/app/components/dashboard-page-header';-import LockedFeatureGuard from '@/app/components/locked-feature-guard';+import { LockedFeatureGuard } from '@/app/components/locked-feature-guard';import { DataTable } from '@/components/custom/data-table';import { UserRoundPlusIcon } from '@/components/icons/user-round-plus';import { Button } from '@/components/ui/button';diff --git a/packages/web/src/app/routes/templates/empty-templates-view.tsx b/packages/web/src/app/routes/templates/empty-templates-view.tsxindex a3d339945b7..ad3c811337e 100644--- a/packages/web/src/app/routes/templates/empty-templates-view.tsx+++ b/packages/web/src/app/routes/templates/empty-templates-view.tsx@@ -7,7 +7,7 @@ import {EmptyHeader,EmptyMedia,EmptyTitle,-} from '@/components/custom/empty';+} from '@/components/ui/empty';export const EmptyTemplatesView = () => {return (diff --git a/packages/web/src/app/routes/templates/selected-category-view.tsx b/packages/web/src/app/routes/templates/selected-category-view.tsxindex bdab091bac6..ade200dea4a 100644--- a/packages/web/src/app/routes/templates/selected-category-view.tsx+++ b/packages/web/src/app/routes/templates/selected-category-view.tsx@@ -8,7 +8,7 @@ import {EmptyHeader,EmptyMedia,EmptyTitle,-} from '@/components/custom/empty';+} from '@/components/ui/empty';import { Skeleton } from '@/components/ui/skeleton';import { ExploreTemplateCard } from '@/features/templates/components/explore-template-card';diff --git a/packages/web/src/app/routes/templates/skeletons/index.tsx b/packages/web/src/app/routes/templates/skeletons/index.tsxdeleted file mode 100644index 2947f058c03..00000000000--- a/packages/web/src/app/routes/templates/skeletons/index.tsx+++ /dev/null@@ -1,2 +0,0 @@-export { TemplateCardSkeleton } from './template-card-skeleton';-export { CategorySectionSkeleton } from './category-section-skeleton';diff --git a/packages/web/src/components/custom/circular-progress.tsx b/packages/web/src/components/custom/circular-progress.tsxdeleted file mode 100644index a91313c9513..00000000000--- a/packages/web/src/components/custom/circular-progress.tsx+++ /dev/null@@ -1,49 +0,0 @@-import { PolarGrid, RadialBar, RadialBarChart } from 'recharts';--import { ChartContainer } from '../ui/chart';--const ProgressCircularComponent: React.FC<{- data: {- plan: number;- usage: number;- };- size?: 'big' | 'small';-}> = ({ data, size = 'big' }) => {- const sizeClass = size === 'big' ? 'size-[40px]' : 'size-[25px]';- return (- <div className={`overflow-hidden ${sizeClass}`}>- <ChartContainer- config={{}}- className={`mx-auto aspect-square max-h-[250px] min-h-[180px] ${sizeClass}`}- >- <RadialBarChart- data={[- {- name: 'plan',- progress: data.usage,- fill: 'hsl(var(--primary))',- },- ]}- startAngle={0}- endAngle={(data.usage / data.plan) * 360}- innerRadius={80}- outerRadius={110}- style={{- height: size === 'big' ? 40 : 25,- }}- >- <PolarGrid- gridType="circle"- radialLines={false}- stroke="none"- className="first:fill-muted last:fill-background"- polarRadius={[86, 74]}- />- <RadialBar dataKey="progress" background cornerRadius={10} />- </RadialBarChart>- </ChartContainer>- </div>- );-};--export { ProgressCircularComponent };diff --git a/packages/web/src/components/custom/field.tsx b/packages/web/src/components/custom/field.tsxdeleted file mode 100644index 056f8bcf316..00000000000--- a/packages/web/src/components/custom/field.tsx+++ /dev/null@@ -1,248 +0,0 @@-'use client';--import { cva, type VariantProps } from 'class-variance-authority';-import { useMemo } from 'react';--import { Label } from '@/components/ui/label';-import { Separator } from '@/components/ui/separator';-import { cn } from '@/lib/utils';--function FieldSet({ className, ...props }: React.ComponentProps<'fieldset'>) {- return (- <fieldset- data-slot="field-set"- className={cn(- 'flex flex-col gap-6',- 'has-[>[data-slot=checkbox-group]]:gap-3 has-[>[data-slot=radio-group]]:gap-3',- className,- )}- {...props}- />- );-}--function FieldLegend({- className,- variant = 'legend',- ...props-}: React.ComponentProps<'legend'> & { variant?: 'legend' | 'label' }) {- return (- <legend- data-slot="field-legend"- data-variant={variant}- className={cn(- 'mb-3 font-medium',- 'data-[variant=legend]:text-base',- 'data-[variant=label]:text-sm',- className,- )}- {...props}- />- );-}--function FieldGroup({ className, ...props }: React.ComponentProps<'div'>) {- return (- <div- data-slot="field-group"- className={cn(- 'group/field-group @container/field-group flex w-full flex-col gap-7 data-[slot=checkbox-group]:gap-3 *:data-[slot=field-group]:gap-4',- className,- )}- {...props}- />- );-}--const fieldVariants = cva(- 'group/field flex w-full gap-3 data-[invalid=true]:text-destructive',- {- variants: {- orientation: {- vertical: ['flex-col *:w-full [&>.sr-only]:w-auto'],- horizontal: [- 'flex-row items-center',- '*:data-[slot=field-label]:flex-auto',- 'has-[>[data-slot=field-content]]:items-start [&>[role=checkbox],[role=radio]]:has-[>[data-slot=field-content]]:mt-px',- ],- responsive: [- 'flex-col *:w-full [&>.sr-only]:w-auto @md/field-group:flex-row @md/field-group:items-center @md/field-group:*:w-auto',- '@md/field-group:*:data-[slot=field-label]:flex-auto',- '@md/field-group:has-[>[data-slot=field-content]]:items-start @md/field-group:[&>[role=checkbox],[role=radio]]:has-[>[data-slot=field-content]]:mt-px',- ],- },- },- defaultVariants: {- orientation: 'vertical',- },- },-);--function Field({- className,- orientation = 'vertical',- ...props-}: React.ComponentProps<'div'> & VariantProps<typeof fieldVariants>) {- return (- <div- role="group"- data-slot="field"- data-orientation={orientation}- className={cn(fieldVariants({ orientation }), className)}- {...props}- />- );-}--function FieldContent({ className, ...props }: React.ComponentProps<'div'>) {- return (- <div- data-slot="field-content"- className={cn(- 'group/field-content flex flex-1 flex-col gap-1.5 leading-snug',- className,- )}- {...props}- />- );-}--function FieldLabel({- className,- ...props-}: React.ComponentProps<typeof Label>) {- return (- <Label- data-slot="field-label"- className={cn(- 'group/field-label peer/field-label flex w-fit gap-2 leading-snug group-data-[disabled=true]/field:opacity-50',- 'has-[>[data-slot=field]]:w-full has-[>[data-slot=field]]:flex-col has-[>[data-slot=field]]:rounded-md has-[>[data-slot=field]]:border data-[slot=field]:*:p-4',- 'has-data-[state=checked]:bg-primary/5 has-data-[state=checked]:border-primary dark:has-data-[state=checked]:bg-primary/10',- className,- )}- {...props}- />- );-}--function FieldTitle({ className, ...props }: React.ComponentProps<'div'>) {- return (- <div- data-slot="field-label"- className={cn(- 'flex w-fit items-center gap-2 text-sm leading-snug font-medium group-data-[disabled=true]/field:opacity-50',- className,- )}- {...props}- />- );-}--function FieldDescription({ className, ...props }: React.ComponentProps<'p'>) {- return (- <p- data-slot="field-description"- className={cn(- 'text-muted-foreground text-sm leading-normal font-normal group-has-data-[orientation=horizontal]/field:text-balance',- 'last:mt-0 nth-last-2:-mt-1 [[data-variant=legend]+&]:-mt-1.5',- '[&>a:hover]:text-primary [&>a]:underline [&>a]:underline-offset-4',- className,- )}- {...props}- />- );-}--function FieldSeparator({- children,- className,- ...props-}: React.ComponentProps<'div'> & {- children?: React.ReactNode;-}) {- return (- <div- data-slot="field-separator"- data-content={!!children}- className={cn(- 'relative -my-2 h-5 text-sm group-data-[variant=outline]/field-group:-mb-2',- className,- )}- {...props}- >- <Separator className="absolute inset-0 top-1/2" />- {children && (- <span- className="bg-background text-muted-foreground relative mx-auto block w-fit px-2"- data-slot="field-separator-content"- >- {children}- </span>- )}- </div>- );-}--function FieldError({- className,- children,- errors,- ...props-}: React.ComponentProps<'div'> & {- errors?: Array<{ message?: string } | undefined>;-}) {- const content = useMemo(() => {- if (children) {- return children;- }-- if (!errors?.length) {- return null;- }-- const uniqueErrors = [- ...new Map(errors.map((error) => [error?.message, error])).values(),- ];-- if (uniqueErrors?.length == 1) {- return uniqueErrors[0]?.message;- }-- return (- <ul className="ml-4 flex list-disc flex-col gap-1">- {uniqueErrors.map(- (error, index) =>- error?.message && <li key={index}>{error.message}</li>,- )}- </ul>- );- }, [children, errors]);-- if (!content) {- return null;- }-- return (- <div- role="alert"- data-slot="field-error"- className={cn('text-destructive text-sm font-normal', className)}- {...props}- >- {content}- </div>- );-}--export {- Field,- FieldLabel,- FieldDescription,- FieldError,- FieldGroup,- FieldLegend,- FieldSeparator,- FieldSet,- FieldContent,- FieldTitle,-};diff --git a/packages/web/src/components/custom/item-media-image.tsx b/packages/web/src/components/custom/item-media-image.tsxdeleted file mode 100644index c0f0bb38306..00000000000--- a/packages/web/src/components/custom/item-media-image.tsx+++ /dev/null@@ -1,26 +0,0 @@-import { colorsUtils } from '@/lib/color-utils';--import { ItemMedia } from './item';--function ItemMediaImage({ src, alt }: ItemMediaImageProps) {- const backgroundColor = colorsUtils.useAverageColorInImage({- imgUrl: src,- transparency: 10,- });-- return (- <ItemMedia- variant="icon"- style={backgroundColor ? { backgroundColor } : undefined}- >- <img src={src} alt={alt} className="size-6" />- </ItemMedia>- );-}--type ItemMediaImageProps = {- src: string;- alt: string;-};--export { ItemMediaImage };diff --git a/packages/web/src/components/custom/multi-select.tsx b/packages/web/src/components/custom/multi-select.tsxindex a4905e84468..1c8a02d44e0 100644--- a/packages/web/src/components/custom/multi-select.tsx+++ b/packages/web/src/components/custom/multi-select.tsx@@ -572,11 +572,6 @@ const MultiSelectEmpty = React.forwardRef<MultiSelectEmpty.displayName = 'MultiSelectEmpty';-export type MultiSelectOption = {- value: unknown;- label: string;-};-export {MultiSelect,MultiSelectTrigger,diff --git a/packages/web/src/components/custom/smart-output-viewer/format-value.tsx b/packages/web/src/components/custom/smart-output-viewer/format-value.tsxindex 71da3e07090..93b6c9282cc 100644--- a/packages/web/src/components/custom/smart-output-viewer/format-value.tsx+++ b/packages/web/src/components/custom/smart-output-viewer/format-value.tsx@@ -16,11 +16,6 @@ function getValueByDotPath(obj: unknown, path: string): unknown {return pathUtils.getValueByDotPath(obj, path);}-function resolveValue(json: unknown, field: OutputSchemaField): unknown {- const path = field.value ?? field.key;- return getValueByDotPath(json, path);-}-function formatFileSize(bytes: number): string {if (bytes < 1024) return `${bytes} B`;if (bytes < 1024 * 1024) return `${(bytes / 1024).toFixed(1)} KB`;@@ -250,7 +245,6 @@ function FormatValue({ value, field }: FormatValueProps) {export {FormatValue,FormatSingleValue,- resolveValue,getValueByDotPath,isSafeUrl,isSafeEmail,diff --git a/packages/web/src/components/icons/arrow-left.tsx b/packages/web/src/components/icons/arrow-left.tsxdeleted file mode 100644index 15b91646bb0..00000000000--- a/packages/web/src/components/icons/arrow-left.tsx+++ /dev/null@@ -1,112 +0,0 @@-'use client';--import type { Variants } from 'motion/react';-import { motion, useAnimation } from 'motion/react';-import type { HTMLAttributes } from 'react';-import { forwardRef, useCallback, useImperativeHandle, useRef } from 'react';--import { cn } from '@/lib/utils';--export interface ArrowLeftIconHandle {- startAnimation: () => void;- stopAnimation: () => void;-}--interface ArrowLeftIconProps extends HTMLAttributes<HTMLDivElement> {- size?: number;-}--const PATH_VARIANTS: Variants = {- normal: { d: 'm12 19-7-7 7-7', translateX: 0 },- animate: {- d: 'm12 19-7-7 7-7',- translateX: [0, 3, 0],- transition: {- duration: 0.4,- },- },-};--const SECOND_PATH_VARIANTS: Variants = {- normal: { d: 'M19 12H5' },- animate: {- d: ['M19 12H5', 'M19 12H10', 'M19 12H5'],- transition: {- duration: 0.4,- },- },-};--const ArrowLeftIcon = forwardRef<ArrowLeftIconHandle, ArrowLeftIconProps>(- ({ onMouseEnter, onMouseLeave, className, size = 28, ...props }, ref) => {- const controls = useAnimation();- const isControlledRef = useRef(false);-- useImperativeHandle(ref, () => {- isControlledRef.current = true;-- return {- startAnimation: () => controls.start('animate'),- stopAnimation: () => controls.start('normal'),- };- });-- const handleMouseEnter = useCallback(- (e: React.MouseEvent<HTMLDivElement>) => {- if (isControlledRef.current) {- onMouseEnter?.(e);- } else {- controls.start('animate');- }- },- [controls, onMouseEnter],- );-- const handleMouseLeave = useCallback(- (e: React.MouseEvent<HTMLDivElement>) => {- if (isControlledRef.current) {- onMouseLeave?.(e);- } else {- controls.start('normal');- }- },- [controls, onMouseLeave],- );-- return (- <div- className={cn(className)}- onMouseEnter={handleMouseEnter}- onMouseLeave={handleMouseLeave}- {...props}- >- <svg- fill="none"- height={size}- stroke="currentColor"- strokeLinecap="round"- strokeLinejoin="round"- strokeWidth="2"- viewBox="0 0 24 24"- width={size}- xmlns="http://www.w3.org/2000/svg"- >- <motion.path- animate={controls}- d="m12 19-7-7 7-7"- variants={PATH_VARIANTS}- />- <motion.path- animate={controls}- d="M19 12H5"- variants={SECOND_PATH_VARIANTS}- />- </svg>- </div>- );- },-);--ArrowLeftIcon.displayName = 'ArrowLeftIcon';--export { ArrowLeftIcon };diff --git a/packages/web/src/components/icons/search.tsx b/packages/web/src/components/icons/search.tsxdeleted file mode 100644index 42452cc6176..00000000000--- a/packages/web/src/components/icons/search.tsx+++ /dev/null@@ -1,94 +0,0 @@-'use client';--import { motion, useAnimation } from 'motion/react';-import type { HTMLAttributes } from 'react';-import { forwardRef, useCallback, useImperativeHandle, useRef } from 'react';--import { cn } from '@/lib/utils';--export interface SearchIconHandle {- startAnimation: () => void;- stopAnimation: () => void;-}--interface SearchIconProps extends HTMLAttributes<HTMLDivElement> {- size?: number;-}--const SearchIcon = forwardRef<SearchIconHandle, SearchIconProps>(- ({ onMouseEnter, onMouseLeave, className, size = 28, ...props }, ref) => {- const controls = useAnimation();- const isControlledRef = useRef(false);-- useImperativeHandle(ref, () => {- isControlledRef.current = true;-- return {- startAnimation: () => controls.start('animate'),- stopAnimation: () => controls.start('normal'),- };- });-- const handleMouseEnter = useCallback(- (e: React.MouseEvent<HTMLDivElement>) => {- if (isControlledRef.current) {- onMouseEnter?.(e);- } else {- controls.start('animate');- }- },- [controls, onMouseEnter],- );-- const handleMouseLeave = useCallback(- (e: React.MouseEvent<HTMLDivElement>) => {- if (isControlledRef.current) {- onMouseLeave?.(e);- } else {- controls.start('normal');- }- },- [controls, onMouseLeave],- );-- return (- <div- className={cn(className)}- onMouseEnter={handleMouseEnter}- onMouseLeave={handleMouseLeave}- {...props}- >- <motion.svg- animate={controls}- fill="none"- height={size}- stroke="currentColor"- strokeLinecap="round"- strokeLinejoin="round"- strokeWidth="2"- transition={{- duration: 1,- bounce: 0.3,- }}- variants={{- normal: { x: 0, y: 0 },- animate: {- x: [0, 0, -3, 0],- y: [0, -4, 0, 0],- },- }}- viewBox="0 0 24 24"- width={size}- xmlns="http://www.w3.org/2000/svg"- >- <circle cx="11" cy="11" r="8" />- <path d="m21 21-4.3-4.3" />- </motion.svg>- </div>- );- },-);--SearchIcon.displayName = 'SearchIcon';--export { SearchIcon };diff --git a/packages/web/src/components/custom/empty.tsx b/packages/web/src/components/ui/empty.tsxsimilarity index 100%rename from packages/web/src/components/custom/empty.tsxrename to packages/web/src/components/ui/empty.tsxdiff --git a/packages/web/src/components/custom/item.tsx b/packages/web/src/components/ui/item.tsxsimilarity index 100%rename from packages/web/src/components/custom/item.tsxrename to packages/web/src/components/ui/item.tsxdiff --git a/packages/web/src/features/authentication/components/auth-animation.tsx b/packages/web/src/features/authentication/components/auth-animation.tsxdeleted file mode 100644index 07ff82e1649..00000000000--- a/packages/web/src/features/authentication/components/auth-animation.tsx+++ /dev/null@@ -1,1275 +0,0 @@-import { useCallback, useEffect, useRef, useState } from 'react';--import { cn } from '@/lib/utils';--const SCENE_COUNT = 5;-const SCENE_DURATION_MS = 4000;-const TICK_INTERVAL_MS = 100;-const TICKS_PER_SCENE = SCENE_DURATION_MS / TICK_INTERVAL_MS;-const TYPING_INTERVAL_MS = 20;-const MORPHING_DURATION_MS = 800;--const CDN = 'https://cdn.activepieces.com/pieces';--const FULL_PROMPT =- 'When a new lead arrives, research their company and role. Score them 1-10 based on fit. If score > 7, ask me on Slack before sending a discount.';--const BASE_TOOLS = ['hubspot', 'slack', 'openai'];--const INTEGRATION_LOGOS = [- { name: 'Salesforce', slug: 'salesforce' },- { name: 'ServiceNow', slug: 'service-now' },- { name: 'SAP Ariba', slug: 'sap-ariba' },- { name: 'NetSuite', slug: 'netsuite' },- { name: 'Microsoft Teams', slug: 'microsoft-teams' },- { name: 'Slack', slug: 'slack' },- { name: 'HubSpot', slug: 'hubspot' },- { name: 'Zendesk', slug: 'zendesk' },- { name: 'Jira Cloud', slug: 'jira' },- { name: 'Snowflake', slug: 'snowflake' },- { name: 'Dynamics CRM', slug: 'microsoft-dynamics-crm' },- { name: 'Intercom', slug: 'intercom' },-] as const;--type SceneIndex = 0 | 1 | 2 | 3 | 4;--type AgentPosition = {- top: number;- left: number;- width: number;- height: number;-};--type LeadRow = {- name: string;- company: string;- score: number;- status: string;- scoreColor: string;- statusBg: string;- statusText: string;- dotColor: string;-};--const LEADS: LeadRow[] = [- {- name: 'Sarah Chen',- company: 'Stripe',- score: 92,- status: 'Qualified',- scoreColor: 'bg-emerald-100 text-emerald-700',- statusBg: 'bg-emerald-100',- statusText: 'text-emerald-700',- dotColor: 'bg-emerald-500',- },- {- name: 'Mike Johnson',- company: 'Shopify',- score: 68,- status: 'Nurturing',- scoreColor: 'bg-amber-100 text-amber-700',- statusBg: 'bg-amber-100',- statusText: 'text-amber-700',- dotColor: 'bg-amber-500',- },- {- name: 'Lisa Park',- company: 'Figma',- score: 34,- status: 'New',- scoreColor: 'bg-gray-100 text-gray-600',- statusBg: 'bg-gray-100',- statusText: 'text-gray-500',- dotColor: 'bg-gray-400',- },- {- name: 'Alex Rivera',- company: 'Notion',- score: 85,- status: 'Qualified',- scoreColor: 'bg-emerald-100 text-emerald-700',- statusBg: 'bg-emerald-100',- statusText: 'text-emerald-700',- dotColor: 'bg-emerald-500',- },- {- name: 'Jordan Lee',- company: 'Vercel',- score: 52,- status: 'Nurturing',- scoreColor: 'bg-amber-100 text-amber-700',- statusBg: 'bg-amber-100',- statusText: 'text-amber-700',- dotColor: 'bg-amber-500',- },- {- name: 'Emma Wilson',- company: 'Linear',- score: 78,- status: 'Qualified',- scoreColor: 'bg-emerald-100 text-emerald-700',- statusBg: 'bg-emerald-100',- statusText: 'text-emerald-700',- dotColor: 'bg-emerald-500',- },-];--// ── SVG Icons ──--function PauseIcon() {- return (- <svg- xmlns="http://www.w3.org/2000/svg"- viewBox="0 0 256 256"- width="1em"- height="1em"- fill="currentColor"- className="w-3.5 h-3.5 text-gray-700"- >- <path d="M216,48V208a16,16,0,0,1-16,16H160a16,16,0,0,1-16-16V48a16,16,0,0,1,16-16h40A16,16,0,0,1,216,48ZM96,32H56A16,16,0,0,0,40,48V208a16,16,0,0,0,16,16H96a16,16,0,0,0,16-16V48A16,16,0,0,0,96,32Z" />- </svg>- );-}--function PlayIcon() {- return (- <svg- xmlns="http://www.w3.org/2000/svg"- viewBox="0 0 256 256"- width="1em"- height="1em"- fill="currentColor"- className="w-3.5 h-3.5 text-gray-700"- >- <path d="M232.4,114.49,88.32,26.35a16,16,0,0,0-16.2-.3A15.86,15.86,0,0,0,64,40.74V215.26a15.94,15.94,0,0,0,8.12,13.89,16,16,0,0,0,16.2-.3L232.4,141.51a16,16,0,0,0,0-27Z" />- </svg>- );-}--function SlackSvgIcon() {- return (- <svg- className="w-4 h-4 text-white/90"- viewBox="0 0 24 24"- fill="currentColor"- >- <path d="M5.042 15.165a2.528 2.528 0 0 1-2.52 2.523A2.528 2.528 0 0 1 0 15.165a2.527 2.527 0 0 1 2.522-2.52h2.52v2.52zM6.313 15.165a2.527 2.527 0 0 1 2.521-2.52 2.527 2.527 0 0 1 2.521 2.52v6.313A2.528 2.528 0 0 1 8.834 24a2.528 2.528 0 0 1-2.521-2.522v-6.313zM8.834 5.042a2.528 2.528 0 0 1-2.521-2.52A2.528 2.528 0 0 1 8.834 0a2.528 2.528 0 0 1 2.521 2.522v2.52H8.834zM8.834 6.313a2.528 2.528 0 0 1 2.521 2.521 2.528 2.528 0 0 1-2.521 2.521H2.522A2.528 2.528 0 0 1 0 8.834a2.528 2.528 0 0 1 2.522-2.521h6.312zM18.956 8.834a2.528 2.528 0 0 1 2.522-2.521A2.528 2.528 0 0 1 24 8.834a2.528 2.528 0 0 1-2.522 2.521h-2.522V8.834zM17.688 8.834a2.528 2.528 0 0 1-2.523 2.521 2.527 2.527 0 0 1-2.52-2.521V2.522A2.527 2.527 0 0 1 15.165 0a2.528 2.528 0 0 1 2.523 2.522v6.312zM15.165 18.956a2.528 2.528 0 0 1 2.523 2.522A2.528 2.528 0 0 1 15.165 24a2.527 2.527 0 0 1-2.52-2.522v-2.522h2.52zM15.165 17.688a2.527 2.527 0 0 1-2.52-2.523 2.526 2.526 0 0 1 2.52-2.52h6.313A2.527 2.527 0 0 1 24 15.165a2.528 2.528 0 0 1-2.522 2.523h-6.313z" />- </svg>- );-}--function ConditionSvg() {- return (- <svg- className="w-[19px] h-[19px] text-amber-500"- fill="none"- stroke="currentColor"- viewBox="0 0 24 24"- >- <path- strokeLinecap="round"- strokeLinejoin="round"- strokeWidth="2"- d="M8.228 9c.549-1.165 2.03-2 3.772-2 2.21 0 4 1.343 4 3 0 1.4-1.278 2.575-3.006 2.907-.542.104-.994.54-.994 1.093m0 3h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z"- />- </svg>- );-}--function LoopSvg() {- return (- <svg- className="w-[19px] h-[19px] text-pink-500"- fill="none"- stroke="currentColor"- viewBox="0 0 24 24"- >- <path- strokeLinecap="round"- strokeLinejoin="round"- strokeWidth="2"- d="M4 4v5h.582m15.356 2A8.001 8.001 0 004.582 9m0 0H9m11 11v-5h-.581m0 0a8.003 8.003 0 01-15.357-2m15.357 2H15"- />- </svg>- );-}--function TableSvg() {- return (- <svg- className="w-4 h-4 text-violet-600"- fill="none"- stroke="currentColor"- viewBox="0 0 24 24"- >- <path- strokeLinecap="round"- strokeLinejoin="round"- strokeWidth="2"- d="M3 10h18M3 14h18M10 3v18M14 3v18"- />- </svg>- );-}--// ── Flow Node (reusable card for flow builder) ──--function FlowNode({- icon,- label,- subtitle,- borderColor = 'border-gray-200',- iconBg = 'bg-gray-50',-}: {- icon: React.ReactNode;- label: string;- subtitle: string;- borderColor?: string;- iconBg?: string;-}) {- return (- <div className={cn('rounded-xl border bg-white px-3 py-2.5', borderColor)}>- <div className="flex items-center gap-2.5">- <div- className={cn(- 'w-8 h-8 rounded-lg flex items-center justify-center flex-shrink-0',- iconBg,- )}- >- {icon}- </div>- <div className="flex-1 min-w-0">- <div className="font-medium text-gray-900 text-sm truncate leading-tight">- {label}- </div>- <div className="text-gray-500 text-xs truncate leading-tight">- {subtitle}- </div>- </div>- </div>- </div>- );-}--// ── Agent Card (the single element that morphs between scenes) ──--function AgentCard({- activeIndex,- position,- isMorphing,- typedPrompt,- isTyping,-}: {- activeIndex: SceneIndex;- position: AgentPosition;- isMorphing: boolean;- typedPrompt: string;- isTyping: boolean;-}) {- const isLarge = activeIndex === 0 || activeIndex === 1;- const isCollapsed = activeIndex === 3;- const showInstructions = activeIndex === 0;- const showToolsHighlight = activeIndex === 1;-- const title = isLarge- ? 'Lead Qualifier'- : activeIndex === 2- ? '2. Qualify Lead'- : 'Qualify Lead';-- return (- <div- className={cn(- 'auth-anim-agent absolute',- activeIndex === 1 ? 'z-20' : 'z-30',- )}- style={{- top: `${position.top}px`,- left: `${position.left}px`,- width: `${position.width}px`,- height: `${position.height}px`,- }}- >- {/* Animated gradient border wrapper */}- <div- className={cn(- 'auth-anim-gradient-border rounded-xl h-full p-[2px] relative',- isMorphing && 'auth-anim-gradient-morphing',- )}- >- {/* Full agent card (scenes 0, 1, 2, 4) */}- <div- className="bg-white rounded-[10px] overflow-hidden h-full"- style={{- transition: 'opacity 300ms ease, visibility 300ms ease',- transitionDelay: isCollapsed ? '0ms' : '200ms',- opacity: isCollapsed ? 0 : 1,- visibility: isCollapsed ? 'hidden' : 'visible',- }}- >- {/* Header */}- <div className="px-3 py-2.5 flex items-center gap-2.5">- <div- className={cn(- 'flex-shrink-0 rounded-lg flex items-center justify-center bg-gradient-to-br from-violet-100 to-fuchsia-100 transition-all duration-500',- isLarge ? 'w-10 h-10' : 'w-8 h-8',- )}- >- <span- className={cn(- 'transition-all duration-300',- isLarge ? 'text-sm' : 'text-xs',- )}- >- {'🤖'}- </span>- </div>- <div className="flex-1 min-w-0">- <div className="font-medium text-gray-900 truncate leading-tight text-sm">- {title}- </div>- <div className="text-gray-500 truncate leading-tight text-xs">- AI Agent- </div>- </div>- </div>-- {/* Body (expanded view - scenes 0 and 1) */}- <div- className="transition-all duration-500 ease-out overflow-hidden border-t border-gray-100"- style={{- maxHeight:- activeIndex === 0 || activeIndex === 1 ? '400px' : '0px',- opacity: activeIndex === 0 || activeIndex === 1 ? 1 : 0,- }}- >- <div className="p-4 space-y-3">- {/* Instructions */}- <div>- <label className="text-xs font-bold text-gray-400 uppercase mb-1.5 block">- Instructions- </label>- {showInstructions ? (- <div className="p-3 rounded-lg bg-violet-50 border border-violet-200 min-h-[60px]">- <p className="text-sm text-gray-700 leading-relaxed">- {typedPrompt}- {isTyping && (- <span className="inline-block w-0.5 h-4 bg-violet-500 ml-0.5 animate-pulse" />- )}- </p>- </div>- ) : (- <div className="p-3 rounded-lg bg-gray-100 border border-gray-200 min-h-[60px] space-y-2">- <div className="h-3 bg-gray-200 rounded w-full" />- <div className="h-3 bg-gray-200 rounded w-4/5" />- <div className="h-3 bg-gray-200 rounded w-3/5" />- </div>- )}- </div>- <div className="grid grid-cols-2 gap-2">- {/* Trigger */}- <div className="p-3 rounded-lg bg-gray-50 border border-gray-100">- <p className="text-xs font-bold text-gray-400 uppercase mb-2">- Trigger- </p>- {showInstructions ? (- <div className="flex items-center gap-2.5">- <div className="w-7 h-7 rounded-md bg-white border border-gray-200 flex items-center justify-center flex-shrink-0">- <img- src={`${CDN}/hubspot.png`}- className="w-4 h-4"- alt=""- />- </div>- <span className="text-sm font-medium text-gray-700">- New Lead- </span>- </div>- ) : (- <div className="flex items-center gap-2.5">- <div className="w-7 h-7 rounded-md bg-gray-200 flex-shrink-0" />- <div className="h-3 bg-gray-200 rounded w-16" />- </div>- )}- </div>- {/* Tools */}- <div- className={cn(- 'p-3 rounded-lg',- showToolsHighlight- ? 'bg-violet-50 border border-violet-200'- : 'bg-gray-50 border border-gray-100',- )}- >- <p- className={cn(- 'text-xs font-bold uppercase mb-2',- showToolsHighlight ? 'text-violet-500' : 'text-gray-400',- )}- >- Tools- </p>- {showInstructions ? (- <div className="flex items-center gap-1">- {BASE_TOOLS.map((piece) => (- <div- key={piece}- className="w-7 h-7 rounded-md bg-white border border-gray-200 flex items-center justify-center flex-shrink-0"- >- <img- src={`${CDN}/${piece}.png`}- className="w-4 h-4"- alt=""- />- </div>- ))}- <div className="w-7 h-7 rounded-md bg-violet-100 border border-violet-200 flex items-center justify-center flex-shrink-0">- <span className="text-xs font-bold text-violet-600">- +- </span>- </div>- </div>- ) : (- <div className="flex items-center gap-1">- <div className="w-7 h-7 rounded-md bg-gray-200 flex-shrink-0" />- <div className="w-7 h-7 rounded-md bg-gray-200 flex-shrink-0" />- <div- className={cn(- 'w-7 h-7 rounded-md bg-violet-200 border-2 border-violet-400 flex items-center justify-center flex-shrink-0',- showToolsHighlight && 'animate-pulse',- )}- >- <span className="text-xs font-bold text-violet-600">- +- </span>- </div>- </div>- )}- </div>- </div>- </div>- </div>- </div>-- {/* Collapsed emoji overlay (scene 3) */}- <div- className="absolute inset-[2px] rounded-[10px] bg-gradient-to-br from-violet-100 to-fuchsia-100 flex items-center justify-center text-sm"- style={{- transition: 'opacity 300ms ease, visibility 300ms ease',- transitionDelay: isCollapsed ? '200ms' : '0ms',- opacity: isCollapsed ? 1 : 0,- visibility: isCollapsed ? 'visible' : 'hidden',- }}- >- {'🤖'}- </div>- </div>- </div>- );-}--// ── Scene 0: Natural Language (just a slot for the agent) ──--function Scene0Slot({- slotRef,-}: {- slotRef: React.RefObject<HTMLDivElement | null>;-}) {- return (- <div className="absolute inset-0 flex items-center justify-center p-8">- <div ref={slotRef} className="w-[340px] h-[320px]" />- </div>- );-}--// ── Scene 1: Integrations Popup ──--function Scene1({- visible,- slotRef,-}: {- visible: boolean;- slotRef: React.RefObject<HTMLDivElement | null>;-}) {- return (- <div- className="absolute inset-0 flex items-center justify-center p-6 z-40"- style={{- transition: 'opacity 500ms cubic-bezier(0.16,1,0.3,1)',- opacity: visible ? 1 : 0,- pointerEvents: visible ? 'auto' : 'none',- }}- >- <div className="flex items-start">- {/* Agent slot */}- <div ref={slotRef} className="w-[340px] h-[320px] relative mt-12" />-- {/* Overlapping popup */}- <div className="w-64 -ml-16 relative z-50">- {/* Header */}- <div className="px-4 py-3 border border-gray-200 border-b-0 rounded-t-xl bg-white">- <p className="font-semibold text-gray-900 text-sm">Add Tools</p>- </div>-- {/* Tools grid */}- <div className="p-3 border-x border-gray-200 bg-white relative">- <div className="grid grid-cols-4 gap-2">- {INTEGRATION_LOGOS.map((app) => (- <div- key={app.slug}- className="group/icon relative w-12 h-12 rounded-lg bg-white border border-gray-200 p-2 hover:border-violet-400 hover:scale-105 hover:bg-violet-50 transition-all duration-150 cursor-pointer flex items-center justify-center hover:z-[100]"- >- <img- src={`${CDN}/${app.slug}.png`}- alt={app.name}- className="w-7 h-7 object-contain pointer-events-none"- />- <span className="absolute bottom-full mb-2 left-1/2 -translate-x-1/2 px-2 py-1 bg-gray-900 text-white text-xs rounded whitespace-nowrap opacity-0 invisible group-hover/icon:opacity-100 group-hover/icon:visible transition-all duration-150 z-[200]">- {app.name}- </span>- </div>- ))}- </div>- </div>-- {/* Footer */}- <div className="px-4 py-3 bg-gray-50 border border-gray-200 border-t-gray-100 rounded-b-xl flex items-center justify-between">- <p className="text-gray-900 font-semibold">685+ apps</p>- <span className="text-xs text-violet-600 font-medium">- Browse all →- </span>- </div>- </div>- </div>- </div>- );-}--// ── Scene 2: Flow View (Custom Logic) ──--function Scene2({- visible,- slotRef,-}: {- visible: boolean;- slotRef: React.RefObject<HTMLDivElement | null>;-}) {- return (- <div- className="absolute inset-0 flex items-center justify-center"- style={{- transition: 'opacity 500ms ease',- opacity: visible ? 1 : 0,- pointerEvents: visible ? 'auto' : 'none',- paddingTop: '60px',- }}- >- <div className="relative" style={{ width: '390px', height: '400px' }}>- {/* SVG Connection Lines */}- <svg- className="absolute inset-0 pointer-events-none"- width="390"- height="400"- >- {/* Main flow: Trigger -> Agent -> Condition */}- <path- d="M 195 52 L 195 87"- stroke="#9ca3af"- strokeWidth="2"- fill="none"- strokeLinecap="round"- />- <path- d="M 195 139 L 195 174"- stroke="#9ca3af"- strokeWidth="2"- fill="none"- strokeLinecap="round"- />- {/* LEFT BRANCH ENTRY */}- <path- d="M 195 226 L 195 241 Q 195 253, 183 253 L 92 253 Q 80 253, 80 265"- stroke="#9ca3af"- strokeWidth="2"- fill="none"- strokeLinecap="round"- strokeLinejoin="round"- />- {/* RIGHT BRANCH ENTRY */}- <path- d="M 195 226 L 195 241 Q 195 253, 207 253 L 298 253 Q 310 253, 310 265"- stroke="#9ca3af"- strokeWidth="2"- fill="none"- strokeLinecap="round"- strokeLinejoin="round"- />- {/* LEFT BRANCH vertical */}- <path- d="M 80 317 L 80 347"- stroke="#9ca3af"- strokeWidth="2"- fill="none"- strokeLinecap="round"- />- {/* RIGHT BRANCH vertical */}- <path- d="M 310 317 L 310 347"- stroke="#9ca3af"- strokeWidth="2"- fill="none"- strokeLinecap="round"- />- </svg>-- {/* Node 1: Trigger (y=0) */}- <div- className="absolute"- style={{ left: '115px', top: '0px', width: '160px' }}- >- <div className="absolute -top-5 left-0 text-xs font-medium text-green-600 bg-green-50 px-2 py-0.5 rounded border border-green-200 z-10">- {'⚡'} Trigger- </div>- <FlowNode- icon={- <img- src={`${CDN}/hubspot.png`}- className="w-[19px] h-[19px]"- alt=""- />- }- label="1. New Lead"- subtitle="HubSpot"- iconBg="bg-pink-50"- />- </div>-- {/* Node 2: Agent slot (y=87) */}- <div- ref={slotRef}- className="absolute"- style={{- left: '115px',- top: '87px',- width: '160px',- height: '52px',- }}- />-- {/* Node 3: Condition (y=174) */}- <div- className="absolute"- style={{ left: '115px', top: '174px', width: '160px' }}- >- <FlowNode- icon={<ConditionSvg />}- label="3. Qualified?"- subtitle="Condition"- borderColor="border-amber-200"- iconBg="bg-amber-50"- />- </div>-- {/* LEFT BRANCH Node 1: Salesforce (y=265) */}- <div- className="absolute"- style={{ left: '0px', top: '265px', width: '160px' }}- >- <FlowNode- icon={- <img- src={`${CDN}/salesforce.png`}- className="w-[19px] h-[19px]"- alt=""- />- }- label="4. Add to CRM"- subtitle="Salesforce"- iconBg="bg-blue-50"- />- </div>-- {/* LEFT BRANCH Node 2: Slack (y=347) */}- <div- className="absolute"- style={{ left: '0px', top: '347px', width: '160px' }}- >- <FlowNode- icon={- <img- src={`${CDN}/slack.png`}- className="w-[19px] h-[19px]"- alt=""- />- }- label="5. Notify Sales"- subtitle="Slack"- iconBg="bg-purple-50"- />- </div>-- {/* RIGHT BRANCH Node 1: Loop (y=265) */}- <div- className="absolute"- style={{ left: '230px', top: '265px', width: '160px' }}- >- <FlowNode- icon={<LoopSvg />}- label="6. Nurture Loop"- subtitle="Loop"- borderColor="border-pink-200"- iconBg="bg-pink-50"- />- </div>-- {/* RIGHT BRANCH Node 2: Email (y=347) */}- <div- className="absolute"- style={{ left: '230px', top: '347px', width: '160px' }}- >- <FlowNode- icon={- <img- src={`${CDN}/gmail.png`}- className="w-[19px] h-[19px]"- alt=""- />- }- label="7. Send Email"- subtitle="Gmail"- iconBg="bg-cyan-50"- />- </div>- </div>- </div>- );-}--// ── Scene 3: Slack Message (Human Approval) ──--function Scene3({- visible,- slotRef,-}: {- visible: boolean;- slotRef: React.RefObject<HTMLDivElement | null>;-}) {- return (- <div- className="absolute inset-0 flex items-center justify-center p-8"- style={{- transition: 'opacity 500ms ease',- opacity: visible ? 1 : 0,- pointerEvents: visible ? 'auto' : 'none',- }}- >- <div className="w-full max-w-sm">- <div className="bg-white rounded-lg overflow-hidden border border-gray-200">- {/* Slack header */}- <div className="px-3 py-2 bg-[#4A154B] flex items-center gap-2">- <SlackSvgIcon />- <span className="text-white/90 text-sm">#sales</span>- </div>-- {/* Message */}- <div className="p-4">- <div className="flex gap-3">- {/* Slot for agent avatar */}- <div ref={slotRef} className="w-8 h-8 flex-shrink-0 mt-0.5" />-- <div className="flex-1 min-w-0">- <div className="flex items-baseline gap-2 mb-1">- <span className="font-bold text-gray-900 text-sm">- Lead Qualifier- </span>- <span className="text-gray-400 text-xs">11:42 AM</span>- </div>-- <div className="space-y-2 text-sm text-gray-800 leading-relaxed">- <p>- Hey! <strong>Sarah Chen</strong> from TechCorp just signed- up.- </p>- <p className="text-gray-600">- She's VP of Engineering and matches our ICP. Should I- send the intro sequence?- </p>- </div>-- {/* Slack-style buttons */}- <div className="flex gap-2 mt-3">- <button className="px-4 py-1.5 bg-[#007a5a] hover:bg-[#148567] text-white text-sm font-medium rounded transition-colors">- Send intro- </button>- <button className="px-4 py-1.5 bg-white hover:bg-gray-50 text-gray-700 text-sm font-medium rounded border border-gray-300 transition-colors">- Skip- </button>- </div>- </div>- </div>- </div>- </div>- </div>- </div>- );-}--// ── Scene 4: Tables (Agent Data) ──--function Scene4({- visible,- slotRef,-}: {- visible: boolean;- slotRef: React.RefObject<HTMLDivElement | null>;-}) {- return (- <div- className="absolute inset-0 flex flex-col items-center justify-end"- style={{- transition: 'opacity 500ms ease',- opacity: visible ? 1 : 0,- pointerEvents: visible ? 'auto' : 'none',- }}- >- {/* TOP: Agent card */}- <div className="relative flex-shrink-0 mt-32">- <div ref={slotRef} className="w-[200px] h-[60px]" />- </div>-- {/* Vertical lines */}- <div className="relative w-[30px] h-[60px] flex-shrink-0 z-0">- <svg className="w-full h-full" preserveAspectRatio="none">- <line- x1="10"- y1="0"- x2="10"- y2="100%"- stroke="#10b981"- strokeWidth="2"- strokeOpacity="0.2"- strokeLinecap="round"- />- <line- x1="20"- y1="100%"- x2="20"- y2="0"- stroke="#8b5cf6"- strokeWidth="2"- strokeOpacity="0.2"- strokeLinecap="round"- />- </svg>- {/* Animated particles - centered on lines */}- <div className="absolute inset-0 pointer-events-none">- {[0, 0.5, 1, 1.5].map((delay) => (- <span- key={`down-${delay}`}- className="auth-anim-particle-dot-vertical bg-emerald-500"- style={{ left: '8px', animationDelay: `${delay}s` }}- />- ))}- {[0, 0.5, 1, 1.5].map((delay) => (- <span- key={`up-${delay}`}- className="auth-anim-particle-dot-vertical-reverse bg-violet-500"- style={{ left: '18px', animationDelay: `${delay}s` }}- />- ))}- </div>- </div>-- {/* BOTTOM: Table - extends beyond container */}- <div className="bg-white border border-gray-200 border-b-0 rounded-t-xl flex flex-col overflow-hidden w-[90%] z-10">- {/* Toolbar */}- <div className="px-4 py-2.5 bg-white border-b border-gray-200 flex items-center gap-3">- <div className="flex items-center gap-2">- <div className="w-7 h-7 rounded-md bg-violet-100 flex items-center justify-center">- <TableSvg />- </div>- <span className="font-semibold text-gray-900 text-sm">- Lead Scores- </span>- </div>- <div className="flex-1" />- <div className="flex items-center gap-1.5 text-xs text-gray-500">- <span className="w-1.5 h-1.5 rounded-full bg-emerald-500" />- <span>Synced</span>- </div>- </div>-- {/* Table */}- <div className="flex-1 overflow-auto">- <table className="w-full border-collapse text-sm">- <thead className="sticky top-0 z-10">- <tr className="bg-gray-50">- <th className="w-10 px-3 py-2 text-center text-xs font-medium text-gray-400 border-b border-r border-gray-200 bg-gray-50" />- <th className="px-4 py-2 text-left text-xs font-semibold text-gray-600 border-b border-r border-gray-200 bg-gray-50">- Name- </th>- <th className="px-4 py-2 text-left text-xs font-semibold text-gray-600 border-b border-r border-gray-200 bg-gray-50">- Company- </th>- <th className="px-4 py-2 text-left text-xs font-semibold text-gray-600 border-b border-r border-gray-200 bg-gray-50">- Score- </th>- <th className="px-4 py-2 text-left text-xs font-semibold text-gray-600 border-b border-gray-200 bg-gray-50">- Status- </th>- </tr>- </thead>- <tbody>- {LEADS.map((lead, i) => {- const isLast = i === LEADS.length - 1;- return (- <tr key={lead.name} className="group hover:bg-blue-50/50">- <td- className={cn(- 'px-3 py-2.5 text-center text-xs text-gray-400 border-r border-gray-100 bg-gray-50/50',- !isLast && 'border-b',- )}- >- {i + 1}- </td>- <td- className={cn(- 'px-4 py-2.5 text-gray-900 border-r border-gray-100 whitespace-nowrap',- !isLast && 'border-b',- )}- >- {lead.name}- </td>- <td- className={cn(- 'px-4 py-2.5 text-gray-600 border-r border-gray-100',- !isLast && 'border-b',- )}- >- {lead.company}- </td>- <td- className={cn(- 'px-4 py-2.5 border-r border-gray-100',- !isLast && 'border-b',- )}- >- <span- className={cn(- 'inline-flex items-center justify-center w-8 h-6 rounded text-xs font-semibold',- lead.scoreColor,- )}- >- {lead.score}- </span>- </td>- <td- className={cn(- 'px-4 py-2.5 border-gray-100',- !isLast && 'border-b',- )}- >- <span- className={cn(- 'inline-flex items-center gap-1 px-2 py-0.5 rounded text-xs font-medium',- lead.statusBg,- lead.statusText,- )}- >- <span- className={cn(- 'w-1.5 h-1.5 rounded-full inline-block',- lead.dotColor,- )}- />- {lead.status}- </span>- </td>- </tr>- );- })}- </tbody>- </table>- </div>- </div>- </div>- );-}--// ── Progress Dots ──--const SCENE_LABELS = [- 'AI Agent',- 'Integrations',- 'Custom Logic',- 'Human Approval',- 'Agent Data',-] as const;--// ── Measure slot position relative to canvas (accounting for CSS scale) ──--function measureSlotPosition(- canvasEl: HTMLDivElement,- slotEl: HTMLDivElement,-): AgentPosition {- const canvasRect = canvasEl.getBoundingClientRect();- const slotRect = slotEl.getBoundingClientRect();- const scale = canvasRect.width / canvasEl.offsetWidth || 1;-- return {- top: (slotRect.top - canvasRect.top) / scale,- left: (slotRect.left - canvasRect.left) / scale,- width: slotRect.width / scale,- height: slotRect.height / scale,- };-}--// ── Main Component ──--function AuthAnimation() {- const [activeIndex, setActiveIndex] = useState<SceneIndex>(0);- const [isPlaying, setIsPlaying] = useState(true);- const [progress, setProgress] = useState(0);- const [isMorphing, setIsMorphing] = useState(false);- const [typedPrompt, setTypedPrompt] = useState('');- const [isTypingAnim, setIsTypingAnim] = useState(false);- const [agentPos, setAgentPos] = useState<AgentPosition>({- top: 0,- left: 0,- width: 340,- height: 320,- });-- const canvasRef = useRef<HTMLDivElement>(null);- const wrapperRef = useRef<HTMLDivElement>(null);- const slot0Ref = useRef<HTMLDivElement>(null);- const slot1Ref = useRef<HTMLDivElement>(null);- const slot2Ref = useRef<HTMLDivElement>(null);- const slot3Ref = useRef<HTMLDivElement>(null);- const slot4Ref = useRef<HTMLDivElement>(null);-- const intervalRef = useRef<ReturnType<typeof setInterval> | null>(null);- const morphTimeoutRef = useRef<ReturnType<typeof setTimeout> | null>(null);- const typingIntervalRef = useRef<ReturnType<typeof setInterval> | null>(null);-- // We need a ref that tracks the latest activeIndex for use in measureSlot- const activeIndexRef = useRef<SceneIndex>(activeIndex);- activeIndexRef.current = activeIndex;-- const getSlotRef = useCallback(- (index: SceneIndex): React.RefObject<HTMLDivElement | null> => {- const refs = [slot0Ref, slot1Ref, slot2Ref, slot3Ref, slot4Ref];- return refs[index];- },- [],- );-- const measureSlot = useCallback(() => {- const canvas = canvasRef.current;- const slotRef = getSlotRef(activeIndexRef.current);- const slot = slotRef.current;- if (!canvas || !slot) return;- setAgentPos(measureSlotPosition(canvas, slot));- }, [getSlotRef]);-- // Start typing animation for scene 0- const startTyping = useCallback(() => {- if (typingIntervalRef.current) clearInterval(typingIntervalRef.current);- setTypedPrompt('');- setIsTypingAnim(true);- let i = 0;- typingIntervalRef.current = setInterval(() => {- if (i < FULL_PROMPT.length) {- setTypedPrompt(FULL_PROMPT.slice(0, i + 1));- i++;- } else {- if (typingIntervalRef.current) clearInterval(typingIntervalRef.current);- setIsTypingAnim(false);- }- }, TYPING_INTERVAL_MS);- }, []);-- // Handle scene change- const handleSceneChange = useCallback(- (nextScene: SceneIndex) => {- setActiveIndex(nextScene);- setIsMorphing(true);- if (morphTimeoutRef.current) clearTimeout(morphTimeoutRef.current);- morphTimeoutRef.current = setTimeout(() => {- setIsMorphing(false);- }, MORPHING_DURATION_MS);-- if (nextScene === 0) {- startTyping();- }-- // Measure after DOM update- requestAnimationFrame(() => {- setTimeout(measureSlot, 50);- });- },- [measureSlot, startTyping],- );-- // Auto-play timer- const stopAuto = useCallback(() => {- if (intervalRef.current) {- clearInterval(intervalRef.current);- intervalRef.current = null;- }- }, []);-- const startAuto = useCallback(() => {- stopAuto();- let localProgress = 0;- intervalRef.current = setInterval(() => {- localProgress += 100 / TICKS_PER_SCENE;- if (localProgress >= 100) {- localProgress = 0;- const next = ((activeIndexRef.current + 1) % SCENE_COUNT) as SceneIndex;- handleSceneChange(next);- }- setProgress(localProgress);- }, TICK_INTERVAL_MS);- }, [stopAuto, handleSceneChange]);-- // Play/pause effect- useEffect(() => {- if (isPlaying) {- startAuto();- } else {- stopAuto();- }- return stopAuto;- }, [isPlaying, startAuto, stopAuto]);-- // Initial setup: measure + start typing- useEffect(() => {- const timer = setTimeout(() => {- measureSlot();- }, 100);- startTyping();- return () => clearTimeout(timer);- }, [measureSlot, startTyping]);-- // ResizeObserver for canvas scaling- useEffect(() => {- const wrapper = wrapperRef.current;- if (!wrapper) return;-- const observer = new ResizeObserver(() => {- measureSlot();- });- observer.observe(wrapper);- return () => observer.disconnect();- }, [measureSlot]);-- // Cleanup on unmount- useEffect(() => {- return () => {- if (typingIntervalRef.current) clearInterval(typingIntervalRef.current);- if (morphTimeoutRef.current) clearTimeout(morphTimeoutRef.current);- };- }, []);-- const handleTogglePlay = useCallback(() => {- setIsPlaying((prev) => !prev);- }, []);-- return (- <div- ref={wrapperRef}- className="auth-anim-scale-wrapper relative overflow-hidden rounded-2xl w-full h-full"- >- {/* Canvas - always renders at full 520px, CSS-scaled to fit */}- <div- ref={canvasRef}- className={cn(- 'auth-anim-canvas relative overflow-hidden origin-top-left group',- 'bg-cover bg-center bg-no-repeat',- )}- style={{- height: '100%',- backgroundImage:- 'url(https://cdn.activepieces.com/assets/auth-anim-bg.webp)',- }}- >- {/* Scene Title - top center */}- <div className="absolute top-24 left-0 right-0 z-50 flex justify-center">- <span- key={activeIndex}- className="text-[24px] font-bold text-black animate-[blur-in_0.6s_ease-out] font-sentient"- >- {SCENE_LABELS[activeIndex]}- </span>- </div>-- {/* Play/Pause - modern glass style, visible on hover */}- <div className="absolute top-5 left-5 z-50 opacity-0 group-hover:opacity-100 transition-opacity duration-300">- <button- className="relative w-7 h-7 rounded-full bg-white/15 backdrop-blur-sm hover:scale-105 transition-all duration-200 flex items-center justify-center"- onClick={handleTogglePlay}- >- <svg className="absolute inset-0 -rotate-90" viewBox="0 0 28 28">- <circle- cx="14"- cy="14"- r="13"- fill="none"- stroke="rgba(0,0,0,0.06)"- strokeWidth="2"- />- <circle- cx="14"- cy="14"- r="13"- fill="none"- stroke="currentColor"- strokeWidth="2"- strokeLinecap="round"- strokeDasharray={2 * Math.PI * 13}- strokeDashoffset={2 * Math.PI * 13 * (1 - progress / 100)}- style={{ transition: 'stroke-dashoffset 100ms linear' }}- />- </svg>- {isPlaying ? <PauseIcon /> : <PlayIcon />}- </button>- </div>-- {/* The Agent - positioned via measured slots */}- <AgentCard- activeIndex={activeIndex}- position={agentPos}- isMorphing={isMorphing}- typedPrompt={typedPrompt}- isTyping={isTypingAnim}- />-- {/* Scene 0: Natural Language - always rendered, just holds the slot */}- <div- style={{- display: activeIndex === 0 ? 'block' : 'none',- }}- >- <Scene0Slot slotRef={slot0Ref} />- </div>-- {/* Scene 1: Integrations */}- <Scene1 visible={activeIndex === 1} slotRef={slot1Ref} />-- {/* Scene 2: Custom Logic (Flow View) */}- <Scene2 visible={activeIndex === 2} slotRef={slot2Ref} />-- {/* Scene 3: Human Approval (Slack) */}- <Scene3 visible={activeIndex === 3} slotRef={slot3Ref} />-- {/* Scene 4: Agent Data (Tables) */}- <Scene4 visible={activeIndex === 4} slotRef={slot4Ref} />- </div>- </div>- );-}--AuthAnimation.displayName = 'AuthAnimation';--export { AuthAnimation };diff --git a/packages/web/src/features/authentication/components/auth-form-template.tsx b/packages/web/src/features/authentication/components/auth-form-template.tsxdeleted file mode 100644index ecfc4b7a7aa..00000000000--- a/packages/web/src/features/authentication/components/auth-form-template.tsx+++ /dev/null@@ -1,115 +0,0 @@-import { ApEdition, ApFlagId } from '@activepieces/shared';-import { t } from 'i18next';-import React, { useCallback, useEffect, useState } from 'react';-import { Link } from 'react-router-dom';--import { useTheme } from '@/components/providers/theme-provider';-import { cn } from '@/lib/utils';--import { FullLogo } from '../../../components/custom/full-logo';-import { flagsHooks } from '../../../hooks/flags-hooks';--import { AuthAnimation } from './auth-animation';--const TermsFooter = () => {- const { data: termsOfServiceUrl } = flagsHooks.useFlag<string>(- ApFlagId.TERMS_OF_SERVICE_URL,- );- const { data: privacyPolicyUrl } = flagsHooks.useFlag<string>(- ApFlagId.PRIVACY_POLICY_URL,- );- const { data: edition } = flagsHooks.useFlag<ApEdition>(ApFlagId.EDITION);-- if (- edition !== ApEdition.CLOUD ||- (!termsOfServiceUrl && !privacyPolicyUrl)- ) {- return null;- }-- return (- <div className="text-center text-xs text-muted-foreground">- {t('By continuing, you agree to our')}- {termsOfServiceUrl && (- <Link- to={termsOfServiceUrl}- target="_blank"- className="px-1 text-muted-foreground underline hover:text-primary text-xs transition-all duration-200"- >- {t('Terms of Service')}- </Link>- )}- {termsOfServiceUrl && privacyPolicyUrl && t('and')}- {privacyPolicyUrl && (- <Link- to={privacyPolicyUrl}- target="_blank"- className="pl-1 text-muted-foreground underline hover:text-primary text-xs transition-all duration-200"- >- {t('Privacy Policy')}- </Link>- )}- .- </div>- );-};--const AuthImage = () => {- const [loaded, setLoaded] = useState(false);- const onLoad = useCallback(() => setLoaded(true), []);-- return (- <img- src="https://cdn.activepieces.com/assets/auth-bg.webp"- alt=""- onLoad={onLoad}- className={cn(- 'absolute inset-0 w-full h-full object-cover transition-opacity duration-300',- loaded ? 'opacity-100' : 'opacity-0',- )}- />- );-};--const AuthLayout = ({- children,- isSignUp,-}: {- children: React.ReactNode;- isSignUp?: boolean;-}) => {- const { setForceLightMode } = useTheme();- useEffect(() => {- setForceLightMode(true);- return () => setForceLightMode(false);- }, [setForceLightMode]);- return (- <div className="h-screen w-full overflow-hidden flex bg-white relative">- {/* Form — left side */}- <div className="flex flex-col w-full lg:w-1/2 p-5 lg:px-[100px]">- <div className="pt-3 flex justify-center">- <FullLogo />- </div>- <div className="flex-1 flex items-center justify-center">- <div className="w-full max-w-xs overflow-y-auto px-1">{children}</div>- </div>- {isSignUp && (- <div className="pb-4">- <TermsFooter />- </div>- )}- </div>-- {/* Right side — animation for sign-up, image for sign-in */}- <div className="hidden lg:flex w-1/2 py-5 pr-5">- <div className="relative w-full h-full rounded-2xl overflow-hidden bg-muted">- {isSignUp ? <AuthAnimation /> : <AuthImage />}- </div>- </div>- </div>- );-};--AuthLayout.displayName = 'AuthLayout';--export { AuthLayout };diff --git a/packages/web/src/features/authentication/index.ts b/packages/web/src/features/authentication/index.tsindex aabf1b310cb..b978e9ecce1 100644--- a/packages/web/src/features/authentication/index.ts+++ b/packages/web/src/features/authentication/index.ts@@ -1,6 +1,5 @@export { managedAuthApi } from './api/managed-auth-api';export { authMutations } from './hooks/auth-hooks';-export { AuthLayout } from './components/auth-form-template';export { AuthLanding } from './components/auth-landing/auth-landing';export { ChangePasswordForm } from './components/change-password';export { CheckEmailNote } from './components/check-email-note';diff --git a/packages/web/src/features/chat/use-cases/default-use-cases.ts b/packages/web/src/features/chat/use-cases/default-use-cases.tsindex cea4397ce2e..bf5a06d1b64 100644--- a/packages/web/src/features/chat/use-cases/default-use-cases.ts+++ b/packages/web/src/features/chat/use-cases/default-use-cases.ts@@ -52,22 +52,3 @@ export type ExampleCardData = {title: string;prompt: string;};--export const GREETING_HEADLINES: GreetingHeadline[] = [- { withName: 'Put me to work, {name}.', plain: 'Put me to work.' },- { withName: "I'll handle it, {name}.", plain: "I'll handle it." },- { withName: 'Consider it done, {name}.', plain: 'Consider it done.' },- {- withName: "Let's get things done, {name}.",- plain: "Let's get things done.",- },- {- withName: "Let's clear your plate, {name}.",- plain: "Let's clear your plate.",- },-];--export type GreetingHeadline = {- withName: string;- plain: string;-};diff --git a/packages/web/src/features/flow-approvals/api/flow-approvals-api.ts b/packages/web/src/features/flow-approvals/api/flow-approvals-api.tsindex 97763dc5fc6..ff48cd150de 100644--- a/packages/web/src/features/flow-approvals/api/flow-approvals-api.ts+++ b/packages/web/src/features/flow-approvals/api/flow-approvals-api.ts@@ -1,6 +1,5 @@import {FlowApprovalRequest,- FlowApprovalRequestState,ListFlowApprovalRequestsQuery,PopulatedFlowApprovalRequest,RejectFlowApprovalRequestBody,@@ -33,8 +32,4 @@ export const flowApprovalsApi = {},};-export type {- FlowApprovalRequest,- FlowApprovalRequestState,- PopulatedFlowApprovalRequest,-};+export type { FlowApprovalRequest, PopulatedFlowApprovalRequest };diff --git a/packages/web/src/features/folders/components/rename-folder-dialog.tsx b/packages/web/src/features/folders/components/rename-folder-dialog.tsxdeleted file mode 100644index df05a586269..00000000000--- a/packages/web/src/features/folders/components/rename-folder-dialog.tsx+++ /dev/null@@ -1,133 +0,0 @@-import { FolderDto } from '@activepieces/shared';-import { zodResolver } from '@hookform/resolvers/zod';-import { useMutation } from '@tanstack/react-query';-import { HttpStatusCode } from 'axios';-import { t } from 'i18next';-import { FormProvider, useForm } from 'react-hook-form';-import { toast } from 'sonner';-import { z } from 'zod';--import { Button } from '@/components/ui/button';-import {- Dialog,- DialogContent,- DialogFooter,- DialogHeader,- DialogTitle,-} from '@/components/ui/dialog';-import { FormField, FormItem, FormMessage } from '@/components/ui/form';-import { Input } from '@/components/ui/input';-import { internalErrorToast } from '@/components/ui/sonner';-import { foldersApi } from '@/features/folders/api/folders-api';-import { api } from '@/lib/api';-import { authenticationSession } from '@/lib/authentication-session';--type CreateFolderDialogProps = {- updateSearchParams: (_folderId?: string) => void;- refetchFolders: () => void;- className?: string;- open: boolean;- onOpenChange: (open: boolean) => void;-};--const CreateFolderFormSchema = z.object({- displayName: z- .string({ message: t('Please enter folder name') })- .regex(/.*\S.*/, t('Please enter folder name')),-});--type CreateFolderFormSchema = z.infer<typeof CreateFolderFormSchema>;--export const CreateFolderDialog = ({- updateSearchParams,- refetchFolders,- open,- onOpenChange,-}: CreateFolderDialogProps) => {- const form = useForm<CreateFolderFormSchema>({- resolver: zodResolver(CreateFolderFormSchema),- });-- const { mutate, isPending } = useMutation<- FolderDto,- Error,- CreateFolderFormSchema- >({- mutationFn: async (data) => {- return await foldersApi.create({- displayName: data.displayName.trim(),- projectId: authenticationSession.getProjectId()!,- });- },- onSuccess: (folder) => {- form.reset();- onOpenChange(false);- updateSearchParams(folder.id);- refetchFolders();- toast.success(t('Added folder successfully'));- },- onError: (error) => {- if (api.isError(error)) {- switch (error.response?.status) {- case HttpStatusCode.Conflict: {- form.setError('root.serverError', {- message: t('The folder name already exists.'),- });- break;- }- default: {- internalErrorToast();- break;- }- }- }- },- });-- return (- <Dialog open={open} onOpenChange={onOpenChange}>- <DialogContent>- <DialogHeader>- <DialogTitle>{t('New Folder')}</DialogTitle>- </DialogHeader>- <FormProvider {...form}>- <form onSubmit={form.handleSubmit((data) => mutate(data))}>- <FormField- control={form.control}- name="displayName"- render={({ field }) => (- <FormItem>- <Input- {...field}- required- id="folder"- placeholder={t('Folder Name')}- className="rounded-sm"- />- <FormMessage />- </FormItem>- )}- />- {form?.formState?.errors?.root?.serverError && (- <FormMessage>- {form.formState.errors.root.serverError.message}- </FormMessage>- )}- <DialogFooter>- <Button- variant={'outline'}- onClick={() => onOpenChange(false)}- type="button"- >- {t('Cancel')}- </Button>- <Button type="submit" loading={isPending}>- {t('Confirm')}- </Button>- </DialogFooter>- </form>- </FormProvider>- </DialogContent>- </Dialog>- );-};diff --git a/packages/web/src/features/pieces/utils/piece-selector-customization.tsx b/packages/web/src/features/pieces/utils/piece-selector-customization.tsxindex c9a8dc0c9bd..54123e518e5 100644--- a/packages/web/src/features/pieces/utils/piece-selector-customization.tsx+++ b/packages/web/src/features/pieces/utils/piece-selector-customization.tsx@@ -262,5 +262,3 @@ export type ResolvedPieceSelectorTab = {name: string;icon: React.ReactNode;};--export type { PieceSelectorTabConfig };diff --git a/packages/web/src/features/templates/components/templates-browse-dialog.tsx b/packages/web/src/features/templates/components/templates-browse-dialog.tsxindex 7a2a3f3fccb..36efb4675a5 100644--- a/packages/web/src/features/templates/components/templates-browse-dialog.tsx+++ b/packages/web/src/features/templates/components/templates-browse-dialog.tsx@@ -5,13 +5,6 @@ import { LayoutGrid, Search } from 'lucide-react';import { useMemo, useState } from 'react';import { useDebounce } from 'use-debounce';-import {- Empty,- EmptyDescription,- EmptyHeader,- EmptyMedia,- EmptyTitle,-} from '@/components/custom/empty';import { Button } from '@/components/ui/button';import {Carousel,@@ -26,6 +19,13 @@ import {DialogHeader,DialogTitle,} from '@/components/ui/dialog';+import {+ Empty,+ EmptyDescription,+ EmptyHeader,+ EmptyMedia,+ EmptyTitle,+} from '@/components/ui/empty';import { Input } from '@/components/ui/input';import { Skeleton } from '@/components/ui/skeleton';import { platformHooks } from '@/hooks/platform-hooks';diff --git a/packages/web/src/hooks/use-mobile.tsx b/packages/web/src/hooks/use-mobile.tsxdeleted file mode 100644index 821f8ff4aa7..00000000000--- a/packages/web/src/hooks/use-mobile.tsx+++ /dev/null@@ -1,21 +0,0 @@-import * as React from 'react';--const MOBILE_BREAKPOINT = 768;--export function useIsMobile() {- const [isMobile, setIsMobile] = React.useState<boolean | undefined>(- undefined,- );-- React.useEffect(() => {- const mql = window.matchMedia(`(max-width: ${MOBILE_BREAKPOINT - 1}px)`);- const onChange = () => {- setIsMobile(window.innerWidth < MOBILE_BREAKPOINT);- };- mql.addEventListener('change', onChange);- setIsMobile(window.innerWidth < MOBILE_BREAKPOINT);- return () => mql.removeEventListener('change', onChange);- }, []);-- return !!isMobile;-}diff --git a/packages/web/src/i18n.ts b/packages/web/src/i18n.tsindex fa61baf844a..6dfc283577e 100644--- a/packages/web/src/i18n.ts+++ b/packages/web/src/i18n.ts@@ -21,4 +21,3 @@ i18nnsSeparator: false,returnEmptyString: false,});-export default i18n;diff --git a/packages/web/src/lib/compose-refs.ts b/packages/web/src/lib/compose-refs.tsindex 6a7ac072221..9c9eca7e226 100644--- a/packages/web/src/lib/compose-refs.ts+++ b/packages/web/src/lib/compose-refs.ts@@ -24,13 +24,4 @@ function composeRefs<T>(...refs: PossibleRef<T>[]) {return (node: T) => refs.forEach((ref) => setRef(ref, node));}-/**- * A custom hook that composes multiple refs- * Accepts callback refs and RefObject(s)- */-function useComposedRefs<T>(...refs: PossibleRef<T>[]) {- // eslint-disable-next-line react-hooks/exhaustive-deps- return React.useCallback(composeRefs(...refs), refs);-}--export { composeRefs, useComposedRefs };+export { composeRefs };diff --git a/packages/web/src/main.tsx b/packages/web/src/main.tsxindex dadb1c95358..a4d0f369abe 100644--- a/packages/web/src/main.tsx+++ b/packages/web/src/main.tsx@@ -3,7 +3,7 @@ import { StrictMode } from 'react';import * as ReactDOM from 'react-dom/client';import './i18n';-import App from './app/app';+import { App } from './app/app';import { acquisitionUtils } from './lib/acquisition-utils';import { errorReporting } from './lib/error-reporting';import { reloadOnceForStaleChunk } from './lib/lazy-with-retry';