Skip to content

armgit / dify

Public Imported from GitHub
0

Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.

chore(web): remove Agentation devtool (#41372)

yyh15021ad35031
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index 7c15bd03e66..d930c370887 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -243,9 +243,6 @@ catalogs:
abcjs:
specifier: 6.7.0
version: 6.7.0
- agentation:
- specifier: 3.0.2
- version: 3.0.2
ahooks:
specifier: 3.9.7
version: 3.9.7
@@ -632,11 +629,11 @@ overrides:
solid-js: 1.9.15
string-width: ~8.2.2
tar@<=7.5.15: ^7.5.16
+ vite@*: npm:@voidzero-dev/[email protected]
+ vitest@*: 4.1.11
ws@>=8.0.0 <8.20.1: ^8.21.3
yaml@>=2.0.0 <2.8.3: 2.9.0
yauzl@<3.2.1: 3.2.1
- vite@*: npm:@voidzero-dev/[email protected]
- vitest@*: 4.1.11
importers:
@@ -1565,9 +1562,6 @@ importers:
'@vitest/coverage-v8':
specifier: 'catalog:'
version: 4.1.11(@vitest/[email protected])([email protected])
- agentation:
- specifier: 'catalog:'
code-inspector-plugin:
specifier: 'catalog:'
version: 1.6.6([email protected])
@@ -5090,17 +5084,6 @@ packages:
engines: {node: '>=0.4.0'}
hasBin: true
- resolution: {integrity: sha512-iGzBxFVTuZEIKzLY6AExSLAQH6i6SwxV4pAu7v7m3X6bInZ7qlZXAwrEqyc4+EfP4gM7z2RXBF6SF4DeH0f2lA==}
- peerDependencies:
- react: '>=18.0.0'
- react-dom: '>=18.0.0'
- peerDependenciesMeta:
- react:
- optional: true
- react-dom:
- optional: true
-
resolution: {integrity: sha512-S0lvzhbdlhK36RFBkGv+RbOM/dbbweym+BIHM/bwwuWVSVN5TuVErHPMWo4w0t1NDYg5KPp2iEf7Y7E5LASYiw==}
peerDependencies:
@@ -12350,11 +12333,6 @@ snapshots:
- optionalDependencies:
- react: 19.2.8
- react-dom: 19.2.8([email protected])
-
dependencies:
'@babel/runtime': 7.29.7
@@ -16979,7 +16957,6 @@ time:
'@vitest/[email protected]': '2026-08-18T14:22:18.896Z'
'@voidzero-dev/[email protected]': '2026-08-24T04:06:39.867Z'
[email protected]: '2026-08-07T18:50:14.156Z'
- [email protected]: '2026-03-25T16:24:19.682Z'
[email protected]: '2026-03-23T15:49:13.605Z'
[email protected]: '2026-05-06T17:28:34.367Z'
[email protected]: '2025-11-25T23:28:06.854Z'
diff --git a/pnpm-workspace.yaml b/pnpm-workspace.yaml
index a2538f668af..b86152257dd 100644
--- a/pnpm-workspace.yaml
+++ b/pnpm-workspace.yaml
@@ -142,7 +142,6 @@ catalog:
'@vitest/browser-playwright': 4.1.11
'@vitest/coverage-v8': 4.1.11
abcjs: 6.7.0
- agentation: 3.0.2
ahooks: 3.9.7
c12: 4.0.0-beta.5
chokidar: 5.0.0
diff --git a/web/app/components/devtools/agentation-loader.tsx b/web/app/components/devtools/agentation-loader.tsx
deleted file mode 100644
index 4a46ac3d565..00000000000
--- a/web/app/components/devtools/agentation-loader.tsx
+++ /dev/null
@@ -1,14 +0,0 @@
-'use client'
-
-import { IS_DEV } from '@/config'
-import dynamic from '@/next/dynamic'
-
-const Agentation = dynamic(() => import('agentation').then((module) => module.Agentation), {
- ssr: false,
-})
-
-export function AgentationLoader() {
- if (!IS_DEV) return null
-
- return <Agentation />
-}
diff --git a/web/app/layout.tsx b/web/app/layout.tsx
index f9452cc2777..91571851d1f 100644
--- a/web/app/layout.tsx
+++ b/web/app/layout.tsx
@@ -18,7 +18,6 @@ import { headers } from '@/next/headers'
import { getApplicationTitle } from '@/utils/document-title'
import { CloudAnalytics } from './components/base/analytics-consent/cloud-analytics'
import { PartnerStackCookieRecorder } from './components/billing/partner-stack/cookie-recorder'
-import { AgentationLoader } from './components/devtools/agentation-loader'
import { ReactScanLoader } from './components/devtools/react-scan/loader'
import { I18nServerProvider } from './components/provider/i18n-server'
import { TanStackQueryProvider } from './query-provider'
@@ -87,7 +86,6 @@ export default async function RootLayout({ children }: { children: React.ReactNo
</NuqsAdapter>
</ThemeProvider>
</JotaiProvider>
- <AgentationLoader />
</div>
</body>
</html>
diff --git a/web/package.json b/web/package.json
index 9e38ab9dcc5..2de51c9fc94 100644
--- a/web/package.json
+++ b/web/package.json
@@ -177,7 +177,6 @@
"@vitejs/plugin-rsc": "catalog:",
"@vitest/browser-playwright": "catalog:",
"@vitest/coverage-v8": "catalog:",
- "agentation": "catalog:",
"code-inspector-plugin": "catalog:",
"happy-dom": "catalog:",
"playwright": "catalog:",