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.

refactor(web): remove obsolete agent v2 scaffolding and editor state (#41931)

yyh898050659756
diff --git a/knip.config.ts b/knip.config.ts
index 3931cfd7a2f..939a3143ac2 100644
--- a/knip.config.ts
+++ b/knip.config.ts
@@ -32,11 +32,7 @@ const config: KnipConfig = {
'!vitest.setup.ts!',
],
ignore: ['public/**'],
- ignoreFiles: [
- 'features/agent-v2/agent-detail/configure/components/orchestrate/memory.tsx',
- 'features/agent-v2/agent-detail/configure/components/orchestrate/prompt-editor/option-menu.tsx',
- 'i18n-config/locale-resources/*.ts',
- ],
+ ignoreFiles: ['i18n-config/locale-resources/*.ts'],
ignoreDependencies: ['@iconify-json/*', '@storybook/addon-onboarding'],
},
},
diff --git a/web/app/(commonLayout)/datasets/layout.spec.tsx b/web/app/(commonLayout)/datasets/layout.spec.tsx
index 4dc7bb758d9..5821350e393 100644
--- a/web/app/(commonLayout)/datasets/layout.spec.tsx
+++ b/web/app/(commonLayout)/datasets/layout.spec.tsx
@@ -26,7 +26,6 @@ vi.mock('@/context/permission-state', async () => {
})
type ConsoleStateFixture = {
- isCurrentWorkspaceEditor: boolean
isCurrentWorkspaceDatasetOperator: boolean
isLoadingCurrentWorkspace: boolean
isLoadingWorkspacePermissionKeys: boolean
@@ -37,7 +36,6 @@ type ConsoleStateFixture = {
}
const baseContext: ConsoleStateFixture = {
- isCurrentWorkspaceEditor: true,
isCurrentWorkspaceDatasetOperator: false,
isLoadingCurrentWorkspace: false,
isLoadingWorkspacePermissionKeys: false,
@@ -97,7 +95,6 @@ describe('DatasetsLayout', () => {
it('should render children without a page-level dataset permission', () => {
setConsoleState({
- isCurrentWorkspaceEditor: true,
isCurrentWorkspaceDatasetOperator: true,
workspacePermissionKeys: ['dataset.create_and_management', 'dataset.external.connect'],
})
@@ -114,7 +111,6 @@ describe('DatasetsLayout', () => {
it('should render children on the dataset list route without dataset permissions', () => {
setConsoleState({
- isCurrentWorkspaceEditor: false,
isCurrentWorkspaceDatasetOperator: false,
workspacePermissionKeys: [],
})
diff --git a/web/app/components/api-key/__tests__/api-key-modal.spec.tsx b/web/app/components/api-key/__tests__/api-key-modal.spec.tsx
index 175208af370..6b8c7eb26f3 100644
--- a/web/app/components/api-key/__tests__/api-key-modal.spec.tsx
+++ b/web/app/components/api-key/__tests__/api-key-modal.spec.tsx
@@ -123,7 +123,6 @@ vi.mock('@/context/workspace-state', async () => {
return createWorkspaceStateModuleMock(() => ({
currentWorkspace: mockCurrentWorkspace(),
isCurrentWorkspaceManager: true,
- isCurrentWorkspaceEditor: true,
}))
})
diff --git a/web/app/components/app-sidebar/__tests__/app-detail-section.spec.tsx b/web/app/components/app-sidebar/__tests__/app-detail-section.spec.tsx
index 27546c4eb51..89276d1ca51 100644
--- a/web/app/components/app-sidebar/__tests__/app-detail-section.spec.tsx
+++ b/web/app/components/app-sidebar/__tests__/app-detail-section.spec.tsx
@@ -44,9 +44,7 @@ vi.mock('@/context/permission-state', async () => {
})
vi.mock('@/context/workspace-state', async () => {
const { createWorkspaceStateModuleMock } = await import('@/test/console/state-fixture')
- return createWorkspaceStateModuleMock(() => ({
- isCurrentWorkspaceEditor: false,
- }))
+ return createWorkspaceStateModuleMock(() => ({}))
})
vi.mock('@/next/navigation', () => ({
usePathname: () => mockPathname,
diff --git a/web/app/components/app/app-publisher/__tests__/index.spec.tsx b/web/app/components/app/app-publisher/__tests__/index.spec.tsx
index bb9766c54fd..00b556e018c 100644
--- a/web/app/components/app/app-publisher/__tests__/index.spec.tsx
+++ b/web/app/components/app/app-publisher/__tests__/index.spec.tsx
@@ -149,7 +149,6 @@ vi.mock('@/service/use-tools', () => ({
vi.mock('@/context/workspace-state', async () => {
const { createWorkspaceStateModuleMock } = await import('@/test/console/state-fixture')
return createWorkspaceStateModuleMock(() => ({
- isCurrentWorkspaceEditor: false,
isCurrentWorkspaceManager: true,
workspacePermissionKeys: mockWorkspacePermissionKeys,
}))
diff --git a/web/app/components/apps/__tests__/app-card.spec.tsx b/web/app/components/apps/__tests__/app-card.spec.tsx
index 9304f1fc71c..cd93f052ab1 100644
--- a/web/app/components/apps/__tests__/app-card.spec.tsx
+++ b/web/app/components/apps/__tests__/app-card.spec.tsx
@@ -159,7 +159,6 @@ vi.mock('use-context-selector', () => ({
}))
const mockConsoleState = vi.hoisted(() => ({
- isCurrentWorkspaceEditor: true,
userProfile: { id: 'user-1' },
workspacePermissionKeys: ['app.create_and_management'] as string[],
}))
@@ -446,7 +445,6 @@ describe('AppCard', () => {
mockAppDslExport.exportAppDsl.mockResolvedValue({ status: 'downloaded' })
mockWorkflowAppDslExport.isExporting = false
mockWorkflowAppDslExport.exportWorkflowAppDsl.mockResolvedValue({ status: 'downloaded' })
- mockConsoleState.isCurrentWorkspaceEditor = true
mockConsoleState.userProfile = { id: 'user-1' }
mockConsoleState.workspacePermissionKeys = ['app.create_and_management']
})
@@ -608,7 +606,6 @@ describe('AppCard', () => {
})
it('should allow app edit permission to bind tags without workspace tag management permission', () => {
- mockConsoleState.isCurrentWorkspaceEditor = false
mockConsoleState.workspacePermissionKeys = []
mockConsoleState.userProfile = { id: 'user-2' }
const editableApp = createMockApp({
@@ -626,7 +623,6 @@ describe('AppCard', () => {
})
it('should allow workspace app tag management permission to bind tags without app edit permission', () => {
- mockConsoleState.isCurrentWorkspaceEditor = false
mockConsoleState.workspacePermissionKeys = ['app.tag.manage']
mockConsoleState.userProfile = { id: 'user-2' }
const tagManageApp = createMockApp({
@@ -644,7 +640,6 @@ describe('AppCard', () => {
})
it('should render existing app tags as readonly without app edit or workspace tag management permission', () => {
- mockConsoleState.isCurrentWorkspaceEditor = false
mockConsoleState.workspacePermissionKeys = []
mockConsoleState.userProfile = { id: 'user-2' }
const readonlyApp = createMockApp({
@@ -1613,14 +1608,6 @@ describe('AppCard', () => {
})
})
- describe('Non-editor User', () => {
- it('should handle non-editor workspace users', () => {
- // This tests the isCurrentWorkspaceEditor=true branch (default mock)
- render(<AppCard app={mockApp} />)
- expect(screen.getByRole('link', { name: 'Test App' })).toBeInTheDocument()
- })
- })
-
describe('WebApp Auth Enabled', () => {
beforeEach(() => {
mockWebappAuthEnabled = true
diff --git a/web/app/components/custom/custom-web-app-brand/hooks/__tests__/use-web-app-brand.spec.tsx b/web/app/components/custom/custom-web-app-brand/hooks/__tests__/use-web-app-brand.spec.tsx
index b4e90ce67a3..d5e37b52ca3 100644
--- a/web/app/components/custom/custom-web-app-brand/hooks/__tests__/use-web-app-brand.spec.tsx
+++ b/web/app/components/custom/custom-web-app-brand/hooks/__tests__/use-web-app-brand.spec.tsx
@@ -137,7 +137,6 @@ const createConsoleState = (overrides: Partial<ConsoleStateFixture> = {}): Conso
userProfile: testUserProfile,
isCurrentWorkspaceManager: true,
isCurrentWorkspaceOwner: false,
- isCurrentWorkspaceEditor: false,
isCurrentWorkspaceDatasetOperator: false,
workspacePermissionKeys: ['customization.manage'],
refreshCurrentWorkspace: vi.fn(),
diff --git a/web/app/components/datasets/list/__tests__/index.spec.tsx b/web/app/components/datasets/list/__tests__/index.spec.tsx
index 6505d8b04f5..79d2bc4f81f 100644
--- a/web/app/components/datasets/list/__tests__/index.spec.tsx
+++ b/web/app/components/datasets/list/__tests__/index.spec.tsx
@@ -71,7 +71,6 @@ function NewKnowledgeGuideDismissedProbe() {
const mockPush = vi.fn()
const mockReplace = vi.fn()
let mockConsoleState = {
- isCurrentWorkspaceEditor: true,
isCurrentWorkspaceManager: true,
isCurrentWorkspaceOwner: true,
knowledgeFsEnabled: false,
@@ -247,7 +246,6 @@ describe('List', () => {
vi.clearAllMocks()
localStorage.clear()
mockConsoleState = {
- isCurrentWorkspaceEditor: true,
isCurrentWorkspaceManager: true,
isCurrentWorkspaceOwner: true,
knowledgeFsEnabled: false,
@@ -428,7 +426,6 @@ describe('List', () => {
it('should hide external API panel button without dataset.external.connect', () => {
mockConsoleState = {
- isCurrentWorkspaceEditor: true,
isCurrentWorkspaceManager: true,
isCurrentWorkspaceOwner: true,
knowledgeFsEnabled: false,
@@ -539,9 +536,8 @@ describe('List', () => {
expect(screen.queryByTestId('datasets-component')).not.toBeInTheDocument()
})
- it('should render first empty state when dataset.create_and_management is available without the legacy editor role', async () => {
+ it('should render first empty state when dataset.create_and_management is available', async () => {
mockConsoleState = {
- isCurrentWorkspaceEditor: false,
isCurrentWorkspaceManager: true,
isCurrentWorkspaceOwner: true,
knowledgeFsEnabled: false,
@@ -566,7 +562,6 @@ describe('List', () => {
it('should render a permission empty state without dataset creation permissions', async () => {
mockConsoleState = {
- isCurrentWorkspaceEditor: true,
isCurrentWorkspaceManager: true,
isCurrentWorkspaceOwner: true,
knowledgeFsEnabled: false,
@@ -676,7 +671,6 @@ describe('List', () => {
it('should not show include all checkbox when not workspace owner', async () => {
mockConsoleState = {
- isCurrentWorkspaceEditor: true,
isCurrentWorkspaceManager: true,
isCurrentWorkspaceOwner: false,
knowledgeFsEnabled: false,
diff --git a/web/app/components/header/account-setting/__tests__/index.spec.tsx b/web/app/components/header/account-setting/__tests__/index.spec.tsx
index f22ac71a6e0..2ae74260d2f 100644
--- a/web/app/components/header/account-setting/__tests__/index.spec.tsx
+++ b/web/app/components/header/account-setting/__tests__/index.spec.tsx
@@ -151,7 +151,6 @@ const baseConsoleState: ConsoleStateFixture = {
},
isCurrentWorkspaceManager: true,
isCurrentWorkspaceOwner: true,
- isCurrentWorkspaceEditor: true,
isCurrentWorkspaceDatasetOperator: false,
refreshCurrentWorkspace: vi.fn(),
isLoadingCurrentWorkspace: false,
diff --git a/web/app/components/main-nav/__tests__/index.spec.tsx b/web/app/components/main-nav/__tests__/index.spec.tsx
index e4fd2aecdd6..e210775b7d5 100644
--- a/web/app/components/main-nav/__tests__/index.spec.tsx
+++ b/web/app/components/main-nav/__tests__/index.spec.tsx
@@ -517,7 +517,6 @@ const consoleState: MainNavConsoleState = {
},
isCurrentWorkspaceManager: true,
isCurrentWorkspaceOwner: true,
- isCurrentWorkspaceEditor: true,
isCurrentWorkspaceDatasetOperator: false,
refreshCurrentWorkspace: vi.fn(),
profileMeta: {
@@ -855,7 +854,6 @@ describe('MainNav', () => {
role: 'dataset_operator',
},
isCurrentWorkspaceDatasetOperator: true,
- isCurrentWorkspaceEditor: false,
isCurrentWorkspaceManager: false,
isCurrentWorkspaceOwner: false,
workspacePermissionKeys: datasetOperatorWorkspacePermissionKeys,
@@ -892,7 +890,6 @@ describe('MainNav', () => {
role: 'normal',
},
isCurrentWorkspaceDatasetOperator: false,
- isCurrentWorkspaceEditor: false,
isCurrentWorkspaceManager: false,
isCurrentWorkspaceOwner: false,
workspacePermissionKeys: ['app_library.access', 'tool.manage', 'agent.acl.preview'],
@@ -1389,7 +1386,6 @@ describe('MainNav', () => {
role: 'dataset_operator',
},
isCurrentWorkspaceDatasetOperator: true,
- isCurrentWorkspaceEditor: false,
isCurrentWorkspaceManager: false,
isCurrentWorkspaceOwner: false,
workspacePermissionKeys: datasetOperatorWorkspacePermissionKeys,
diff --git a/web/app/components/main-nav/__tests__/layout.spec.tsx b/web/app/components/main-nav/__tests__/layout.spec.tsx
index c2833868fea..a34559a0c36 100644
--- a/web/app/components/main-nav/__tests__/layout.spec.tsx
+++ b/web/app/components/main-nav/__tests__/layout.spec.tsx
@@ -11,7 +11,6 @@ import MainNavLayout from '../layout'
const mockConsoleState = vi.hoisted(() => ({
current: {
isCurrentWorkspaceDatasetOperator: false,
- isCurrentWorkspaceEditor: true,
},
}))
@@ -65,7 +64,6 @@ describe('MainNavLayout', () => {
;(usePathname as Mock).mockReturnValue('/apps')
mockConsoleState.current = {
isCurrentWorkspaceDatasetOperator: false,
- isCurrentWorkspaceEditor: true,
}
;(useSuspenseQuery as Mock).mockReturnValue({
data: {
@@ -245,7 +243,6 @@ describe('MainNavLayout', () => {
pathname: '/agents/agent-1/configure',
consoleState: {
isCurrentWorkspaceDatasetOperator: true,
- isCurrentWorkspaceEditor: true,
},
systemFeatures: {
enable_app_deploy: true,
@@ -256,7 +253,6 @@ describe('MainNavLayout', () => {
pathname: '/deployments/app-instance-1/overview',
consoleState: {
isCurrentWorkspaceDatasetOperator: false,
- isCurrentWorkspaceEditor: false,
},
systemFeatures: {
enable_app_deploy: true,
@@ -267,7 +263,6 @@ describe('MainNavLayout', () => {
pathname: '/deployments/app-instance-1/overview',
consoleState: {
isCurrentWorkspaceDatasetOperator: false,
- isCurrentWorkspaceEditor: true,
},
systemFeatures: {
enable_app_deploy: false,
diff --git a/web/app/components/snippet-list/__tests__/index.spec.tsx b/web/app/components/snippet-list/__tests__/index.spec.tsx
index 758ecbcc5c5..b7448d00e55 100644
--- a/web/app/components/snippet-list/__tests__/index.spec.tsx
+++ b/web/app/components/snippet-list/__tests__/index.spec.tsx
@@ -77,7 +77,6 @@ vi.mock('@/service/client', () => ({
},
}))
-const mockIsCurrentWorkspaceEditor = vi.fn(() => true)
const mockIsCurrentWorkspaceDatasetOperator = vi.fn(() => false)
const mockWorkspacePermissionKeys = vi.fn(() => ['snippets.create_and_modify'])
@@ -263,7 +262,6 @@ describe('SnippetList', () => {
mockQueryState.tagIDs = []
mockQueryState.keywords = ''
mockQueryState.creatorIDs = []
- mockIsCurrentWorkspaceEditor.mockReturnValue(true)
mockIsCurrentWorkspaceDatasetOperator.mockReturnValue(false)
mockWorkspacePermissionKeys.mockReturnValue(['snippets.create_and_modify'])
mockUseInfiniteSnippetList.mockReturnValue({
@@ -428,8 +426,7 @@ describe('SnippetList', () => {
expect(within(list).getByText('workflow.tabs.noSnippetsFound')).toBeInTheDocument()
})
- it('shows the create button for users with snippet create permission even when they are not workspace editors', () => {
- mockIsCurrentWorkspaceEditor.mockReturnValue(false)
+ it('shows the create button for users with snippet create permission', () => {
mockWorkspacePermissionKeys.mockReturnValue(['snippets.create_and_modify'])
renderList()
diff --git a/web/app/components/snippet-list/components/__tests__/snippet-card.spec.tsx b/web/app/components/snippet-list/components/__tests__/snippet-card.spec.tsx
index d4d824a6c9d..5b36d04c8e1 100644
--- a/web/app/components/snippet-list/components/__tests__/snippet-card.spec.tsx
+++ b/web/app/components/snippet-list/components/__tests__/snippet-card.spec.tsx
@@ -9,7 +9,6 @@ const {
mockExportMutateAsync,
mockOnRefresh,
mockRenderTagSelector,
- mockIsCurrentWorkspaceEditor,
mockWorkspacePermissionKeys,
mockToastError,
mockToastSuccess,
@@ -18,7 +17,6 @@ const {
mockDeleteMutate: vi.fn(),
mockDownloadBlob: vi.fn(),
mockExportMutateAsync: vi.fn(),
- mockIsCurrentWorkspaceEditor: vi.fn(() => true),
mockWorkspacePermissionKeys: vi.fn(() => ['snippets.create_and_modify', 'snippets.management']),
mockOnRefresh: vi.fn(),
mockRenderTagSelector: vi.fn(),
@@ -30,14 +28,12 @@ const {
vi.mock('@/context/workspace-state', async () => {
const { createWorkspaceStateModuleMock } = await import('@/test/console/state-fixture')
return createWorkspaceStateModuleMock(() => ({
- isCurrentWorkspaceEditor: mockIsCurrentWorkspaceEditor(),
workspacePermissionKeys: mockWorkspacePermissionKeys(),
}))
})
vi.mock('@/context/permission-state', async () => {
const { createPermissionStateModuleMock } = await import('@/test/console/state-fixture')
return createPermissionStateModuleMock(() => ({
- isCurrentWorkspaceEditor: mockIsCurrentWorkspaceEditor(),
workspacePermissionKeys: mockWorkspacePermissionKeys(),
}))
})
@@ -146,7 +142,6 @@ const createSnippet = (overrides: Partial<SnippetListItem> = {}): SnippetListIte
describe('SnippetCard', () => {
beforeEach(() => {
vi.clearAllMocks()
- mockIsCurrentWorkspaceEditor.mockReturnValue(true)
mockWorkspacePermissionKeys.mockReturnValue([
'snippets.create_and_modify',
'snippets.management',
@@ -222,7 +217,6 @@ describe('SnippetCard', () => {
})
it('should show edit info with create-and-modify permission without management actions', async () => {
- mockIsCurrentWorkspaceEditor.mockReturnValue(false)
mockWorkspacePermissionKeys.mockReturnValue(['snippets.create_and_modify'])
render(<SnippetCard snippet={createSnippet()} />)
@@ -245,7 +239,6 @@ describe('SnippetCard', () => {
})
it('should show delete with snippet management permission without create-and-modify actions', async () => {
- mockIsCurrentWorkspaceEditor.mockReturnValue(false)
mockWorkspacePermissionKeys.mockReturnValue(['snippets.management'])
render(<SnippetCard snippet={createSnippet()} />)
diff --git a/web/app/components/workflow/nodes/agent-v2/output-variables.ts b/web/app/components/workflow/nodes/agent-v2/output-variables.ts
index 44baae5dda0..1d568d85c33 100644
--- a/web/app/components/workflow/nodes/agent-v2/output-variables.ts
+++ b/web/app/components/workflow/nodes/agent-v2/output-variables.ts
@@ -16,15 +16,6 @@ export const AGENT_V2_RESERVED_OUTPUT_NAMES: ReadonlySet<string> = new Set([
'_session',
])
-const outputTypeLabels: Record<DeclaredOutputConfig['type'], string> = {
- array: 'Array',
- boolean: 'Boolean',
- file: 'File',
- number: 'Number',
- object: 'Object',
- string: 'String',
-}
-
const outputVarTypes: Record<DeclaredOutputConfig['type'], VarType> = {
array: VarType.array,
boolean: VarType.boolean,
@@ -55,17 +46,6 @@ export function normalizeAgentV2DeclaredOutputs(outputs: readonly DeclaredOutput
return [agentV2SystemTextOutput, ...getAgentV2CustomDeclaredOutputs(outputs)]
}
-/**
- * @public
- */
-// TODO: Remove this marker after the output type label consumer is wired.
-export function getDeclaredOutputTypeLabel(output: DeclaredOutputConfig) {
- if (output.type === 'array')
- return `Array[${output.array_item ? outputTypeLabels[output.array_item.type] : 'Object'}]`
-
- return outputTypeLabels[output.type]
-}
-
function getDeclaredOutputVarType(output: DeclaredOutputConfig) {
if (output.type === 'array')
return output.array_item ? arrayItemVarTypes[output.array_item.type] : VarType.arrayObject
diff --git a/web/context/__tests__/console-bootstrap.spec.tsx b/web/context/__tests__/console-bootstrap.spec.tsx
index dd051b4e37c..ae3e29272a4 100644
--- a/web/context/__tests__/console-bootstrap.spec.tsx
+++ b/web/context/__tests__/console-bootstrap.spec.tsx
@@ -24,7 +24,6 @@ import {
currentWorkspaceAtom,
currentWorkspaceLoadingAtom,
isCurrentWorkspaceDatasetOperatorAtom,
- isCurrentWorkspaceEditorAtom,
isCurrentWorkspaceManagerAtom,
isCurrentWorkspaceOwnerAtom,
} from '../workspace-state'
@@ -214,7 +213,6 @@ function ConsoleBootstrapProbe() {
const currentWorkspace = useAtomValue(currentWorkspaceAtom)
const isCurrentWorkspaceManager = useAtomValue(isCurrentWorkspaceManagerAtom)
const isCurrentWorkspaceOwner = useAtomValue(isCurrentWorkspaceOwnerAtom)
- const isCurrentWorkspaceEditor = useAtomValue(isCurrentWorkspaceEditorAtom)
const isCurrentWorkspaceDatasetOperator = useAtomValue(isCurrentWorkspaceDatasetOperatorAtom)
const workspacePermissionKeys = useAtomValue(workspacePermissionKeysAtom)
const datasetDefaultPermissionKeys = useAtomValue(datasetDefaultPermissionKeysAtom)
@@ -258,10 +256,6 @@ function ConsoleBootstrapProbe() {
owner:
{String(isCurrentWorkspaceOwner)}
</span>
- <span>
- editor:
- {String(isCurrentWorkspaceEditor)}
- </span>
<span>
dataset operator:
{String(isCurrentWorkspaceDatasetOperator)}
@@ -422,7 +416,6 @@ describe('Console bootstrap', () => {
expect(await screen.findByText('manager:true')).toBeInTheDocument()
expect(screen.getByText('owner:true')).toBeInTheDocument()
- expect(screen.getByText('editor:true')).toBeInTheDocument()
expect(screen.getByText('dataset operator:false')).toBeInTheDocument()
})
diff --git a/web/context/app-context-normalizers.ts b/web/context/app-context-normalizers.ts
index ab491ca5766..9adc4f70f34 100644
--- a/web/context/app-context-normalizers.ts
+++ b/web/context/app-context-normalizers.ts
@@ -16,7 +16,6 @@ export const emptyWorkspacePermissionKeys: string[] = []
export type WorkspaceRoleFlags = {
isCurrentWorkspaceManager: boolean
isCurrentWorkspaceOwner: boolean
- isCurrentWorkspaceEditor: boolean
isCurrentWorkspaceDatasetOperator: boolean
}
@@ -53,7 +52,6 @@ export function getWorkspaceRoleFlags(
return {
isCurrentWorkspaceManager: ['owner', 'admin'].includes(currentWorkspace.role),
isCurrentWorkspaceOwner: currentWorkspace.role === 'owner',
- isCurrentWorkspaceEditor: ['owner', 'admin', 'editor'].includes(currentWorkspace.role),
isCurrentWorkspaceDatasetOperator: currentWorkspace.role === 'dataset_operator',
}
}
diff --git a/web/context/workspace-state.ts b/web/context/workspace-state.ts
index 8c9460286dd..a138e98c33e 100644
--- a/web/context/workspace-state.ts
+++ b/web/context/workspace-state.ts
@@ -32,15 +32,6 @@ export const isCurrentWorkspaceManagerAtom = atom((get) => {
return get(workspaceRoleFlagsAtom).isCurrentWorkspaceManager
})
-/**
- * Retained for future permission checks when RBAC is disabled.
- *
- * @public
- */
-export const isCurrentWorkspaceEditorAtom = atom((get) => {
- return get(workspaceRoleFlagsAtom).isCurrentWorkspaceEditor
-})
-
export const isCurrentWorkspaceDatasetOperatorAtom = atom((get) => {
return get(workspaceRoleFlagsAtom).isCurrentWorkspaceDatasetOperator
})
diff --git a/web/features/agent-v2/agent-detail/configure/components/orchestrate/memory.tsx b/web/features/agent-v2/agent-detail/configure/components/orchestrate/memory.tsx
deleted file mode 100644
index 2fc72f92da4..00000000000
--- a/web/features/agent-v2/agent-detail/configure/components/orchestrate/memory.tsx
+++ /dev/null
@@ -1,115 +0,0 @@
-'use client'
-
-import type { AgentSoulMemoryConfig } from '@dify/contracts/api/console/agent/types.gen'
-import { Button } from '@langgenius/dify-ui/button'
-import { cn } from '@langgenius/dify-ui/cn'
-import { useTranslation } from 'react-i18next'
-import { SkeletonRectangle } from '@/app/components/base/skeleton'
-
-type MemorySettingsProps = {
- isPending: boolean
- memory?: AgentSoulMemoryConfig
-}
-
-const memoryConfigFields = [
- {
- key: 'budget',
- icon: 'i-ri-scales-3-line',
- labelKey: 'agentDetail.memorySettings.budgetLabel',
- },
- {
- key: 'scope',
- icon: 'i-ri-global-line',
- labelKey: 'agentDetail.memorySettings.scopeLabel',
- },
-] as const
-
-function MemoryConfigValue({
- icon,
- isPending,
- label,
- value,
-}: {
- icon: string
- isPending: boolean
- label: string
- value?: string | null
-}) {
- const { t } = useTranslation('agentV2')
-
- return (
- <div className="flex min-h-19 min-w-0 items-start gap-3 rounded-lg border border-divider-subtle bg-background-section-burn p-3">
- <div className="flex size-8 shrink-0 items-center justify-center rounded-lg border border-divider-subtle bg-components-panel-bg text-text-tertiary">
- <span aria-hidden className={`${icon} size-4`} />
- </div>
- <div className="min-w-0 flex-1">
- <div className="system-xs-semibold-uppercase text-text-tertiary">{label}</div>
- {isPending ? (
- <SkeletonRectangle className="mt-2 h-4 w-28 animate-pulse rounded-md" />
- ) : (
- <div
- className={cn(
- 'mt-1 truncate system-sm-semibold',
- value ? 'text-text-primary' : 'text-text-quaternary',
- )}
- translate={value ? 'no' : undefined}
- >
- {value || t(($) => $['agentDetail.memorySettings.notConfigured'])}
- </div>
- )}
- </div>
- </div>
- )
-}
-
-export function MemorySettings({ isPending, memory }: MemorySettingsProps) {
- const { t } = useTranslation('agentV2')
-
- return (
- <div className="rounded-xl border border-components-panel-border bg-components-panel-bg p-4 shadow-xs">
- <div className="mb-4 flex items-start gap-3">
- <div className="flex size-10 shrink-0 items-center justify-center rounded-xl border bg-state-accent-hover text-text-accent-light-mode-only">
- <span aria-hidden className="i-ri-brain-line size-5" />
- </div>
- <div className="min-w-0">
- <h2 className="system-xl-semibold text-text-primary">
- {t(($) => $['agentDetail.memorySettings.title'])}
- </h2>
- <p className="mt-1 system-sm-regular text-text-tertiary">
- {t(($) => $['agentDetail.memorySettings.description'])}
- </p>
- </div>
- </div>
-
- <div className="grid grid-cols-1 gap-3 sm:grid-cols-2">
- {memoryConfigFields.map((field) => (
- <MemoryConfigValue
- key={field.key}
- icon={field.icon}
- isPending={isPending}
- label={t(($) => $[field.labelKey])}
- value={memory?.[field.key]}
- />
- ))}
- </div>
-
- <div className="mt-4 flex flex-wrap items-center justify-between gap-3 border-t border-divider-subtle pt-4">
- <div className="min-w-0 flex-1">
- <div className="flex min-w-0 flex-wrap items-center gap-1.5 system-xs-regular text-text-tertiary">
- <span>{t(($) => $['agentDetail.memorySettings.export.title'])}</span>
- <span className="inline-flex items-center gap-1 rounded-[5px] bg-components-badge-bg-dimm px-1.5 py-0.5 system-2xs-medium-uppercase text-text-tertiary">
- {t(($) => $['agentDetail.memorySettings.export.soon'])}
- </span>
- </div>
- <p className="mt-0.5 system-2xs-regular text-text-tertiary">
- {t(($) => $['agentDetail.memorySettings.export.description'])}
- </p>
- </div>
- <Button variant="secondary" size="small" disabled>
- <span aria-hidden className="i-ri-download-line size-3.5" />
- {t(($) => $['agentDetail.memorySettings.export.download'])}
- </Button>
- </div>
- </div>
- )
-}
diff --git a/web/features/agent-v2/agent-detail/configure/components/orchestrate/prompt-editor/option-menu.tsx b/web/features/agent-v2/agent-detail/configure/components/orchestrate/prompt-editor/option-menu.tsx
deleted file mode 100644
index e93ce9a53f9..00000000000
--- a/web/features/agent-v2/agent-detail/configure/components/orchestrate/prompt-editor/option-menu.tsx
+++ /dev/null
@@ -1,55 +0,0 @@
-'use client'
-
-import type { InsertOption } from './options'
-import {
- DropdownMenu,
- DropdownMenuContent,
- DropdownMenuItem,
- DropdownMenuTrigger,
-} from '@langgenius/dify-ui/dropdown-menu'
-import { useTranslation } from 'react-i18next'
-
-type AgentPromptOptionMenuProps = {
- label: string
- icon: string
- options: InsertOption[]
- onInsert: (token: string) => void
-}
-
-export function AgentPromptOptionMenu({
- label,
- icon,
- options,
- onInsert,
-}: AgentPromptOptionMenuProps) {
- const { t } = useTranslation('agentV2')
-
- return (
- <DropdownMenu>
- <DropdownMenuTrigger
- render={
- <button
- type="button"
- className="flex h-6 shrink-0 items-center gap-1 rounded-md px-1.5 py-1 text-text-tertiary hover:bg-state-base-hover hover:text-text-secondary focus-visible:ring-2 focus-visible:ring-state-accent-solid focus-visible:outline-hidden"
- >
- <span aria-hidden className={`${icon} size-3.5`} />
- <span className="system-xs-medium">{label}</span>
- </button>
- }
- />
- <DropdownMenuContent placement="bottom-start" sideOffset={4} className="w-60 p-1">
- {options.map((option) => (
- <DropdownMenuItem
- key={option.key}
- className="gap-2"
- onClick={() => onInsert(option.token)}
- >
- <span aria-hidden className={`${option.icon} size-4 text-text-tertiary`} />
- <span className="min-w-0 flex-1 truncate">{t(($) => $[option.labelKey])}</span>
- <span className="code-xs-regular text-text-quaternary">{option.token}</span>
- </DropdownMenuItem>
- ))}
- </DropdownMenuContent>
- </DropdownMenu>
- )
-}
diff --git a/web/features/agent-v2/agent-detail/configure/components/orchestrate/prompt-editor/options.ts b/web/features/agent-v2/agent-detail/configure/components/orchestrate/prompt-editor/options.ts
index c0c7d2dc94b..e29f2219b9d 100644
--- a/web/features/agent-v2/agent-detail/configure/components/orchestrate/prompt-editor/options.ts
+++ b/web/features/agent-v2/agent-detail/configure/components/orchestrate/prompt-editor/options.ts
@@ -1,69 +1,3 @@
-/**
- * @public
- */
-// TODO: Remove this marker after prompt option menus are wired.
-export type AgentPromptOptionLabelKey =
- | 'agentDetail.configure.prompt.insert.tenders'
- | 'agentDetail.configure.prompt.insert.question'
- | 'agentDetail.configure.prompt.insert.reportFile'
- | 'agentDetail.configure.prompt.mention.davidHayes'
- | 'agentDetail.configure.prompt.mention.priyaRamanathan'
-
-/**
- * @public
- */
-// TODO: Remove this marker after prompt option menus are wired.
-export type InsertOption = {
- key: string
- labelKey: AgentPromptOptionLabelKey
- token: string
- icon: string
-}
-
-/**
- * @public
- */
-// TODO: Remove this marker after prompt option menus are wired.
-export const insertOptions: InsertOption[] = [
- {
- key: 'tenders',
- labelKey: 'agentDetail.configure.prompt.insert.tenders',
- token: '{{tenders}}',
- icon: 'i-ri-home-4-line',
- },
- {
- key: 'question',
- labelKey: 'agentDetail.configure.prompt.insert.question',
- token: '{{question}}',
- icon: 'i-ri-question-answer-line',
- },
- {
- key: 'reportFile',
- labelKey: 'agentDetail.configure.prompt.insert.reportFile',
- token: '{{qna_report_pdf}}',
- icon: 'i-ri-file-pdf-2-line',
- },
-]
-
-/**
- * @public
- */
-// TODO: Remove this marker after prompt option menus are wired.
-export const mentionOptions: InsertOption[] = [
- {
- key: 'davidHayes',
- labelKey: 'agentDetail.configure.prompt.mention.davidHayes',
- token: '{{DavidHayes}}',
- icon: 'i-ri-user-line',
- },
- {
- key: 'priyaRamanathan',
- labelKey: 'agentDetail.configure.prompt.mention.priyaRamanathan',
- token: '{{PriyaRamanathan}}',
- icon: 'i-ri-user-line',
- },
-]
-
const appendToken = (value: string, token: string) => {
if (!value) return `${token} `
diff --git a/web/i18n/ar-TN/agent-v-2.json b/web/i18n/ar-TN/agent-v-2.json
index c851c41328b..f9e7429a069 100644
--- a/web/i18n/ar-TN/agent-v-2.json
+++ b/web/i18n/ar-TN/agent-v-2.json
@@ -162,12 +162,7 @@
"agentDetail.configure.prompt.copy": "نسخ المطالبة",
"agentDetail.configure.prompt.copyFailed": "فشل نسخ المطالبة.",
"agentDetail.configure.prompt.insert.label": "إدراج",
- "agentDetail.configure.prompt.insert.question": "بدء السؤال",
- "agentDetail.configure.prompt.insert.reportFile": "ملف تقرير الإخراج",
- "agentDetail.configure.prompt.insert.tenders": "بدء العطاءات",
"agentDetail.configure.prompt.label": "المطالبة",
- "agentDetail.configure.prompt.mention.davidHayes": "David Hayes",
- "agentDetail.configure.prompt.mention.priyaRamanathan": "Priya Ramanathan",
"agentDetail.configure.prompt.placeholder": "اكتب التعليمات هنا،",
"agentDetail.configure.prompt.referenceMissing": "{{name}} غير موجود",
"agentDetail.configure.prompt.richTip": "حدّد دور الوكيل وكيفية عمله. <docLink>تعرّف على المزيد</docLink>",
@@ -313,15 +308,6 @@
"agentDetail.logs.table.updatedTime": "وقت التحديث",
"agentDetail.logs.table.userRate": "معدل المستخدم",
"agentDetail.logs.title": "السجلات",
- "agentDetail.memorySettings.budgetLabel": "ميزانية الذاكرة",
- "agentDetail.memorySettings.description": "إعدادات الذاكرة من لقطة التكوين النشطة.",
- "agentDetail.memorySettings.export.description": "تصدير الذاكرة مخطط له لإصدار لاحق.",
- "agentDetail.memorySettings.export.download": "تنزيل",
- "agentDetail.memorySettings.export.soon": "قريباً",
- "agentDetail.memorySettings.export.title": "تصدير الذاكرة الحالية",
- "agentDetail.memorySettings.notConfigured": "غير مكوّن",
- "agentDetail.memorySettings.scopeLabel": "نطاق الذاكرة",
- "agentDetail.memorySettings.title": "الذاكرة",
"agentDetail.metadata.sourceLabel": "المصدر",
"agentDetail.monitoring.change": "{{value}} عن الفترة السابقة",
"agentDetail.monitoring.dateRangeLabel": "نطاق التاريخ",
diff --git a/web/i18n/de-DE/agent-v-2.json b/web/i18n/de-DE/agent-v-2.json
index 19818a58f51..10a78c43b89 100644
--- a/web/i18n/de-DE/agent-v-2.json
+++ b/web/i18n/de-DE/agent-v-2.json
@@ -162,12 +162,7 @@
"agentDetail.configure.prompt.copy": "Prompt kopieren",
"agentDetail.configure.prompt.copyFailed": "Prompt konnte nicht kopiert werden.",
"agentDetail.configure.prompt.insert.label": "Einfügen",
- "agentDetail.configure.prompt.insert.question": "Startfrage",
- "agentDetail.configure.prompt.insert.reportFile": "Ausgabebericht-Datei",
- "agentDetail.configure.prompt.insert.tenders": "Ausschreibungen starten",
"agentDetail.configure.prompt.label": "Prompt",
- "agentDetail.configure.prompt.mention.davidHayes": "David Hayes",
- "agentDetail.configure.prompt.mention.priyaRamanathan": "Priya Ramanathan",
"agentDetail.configure.prompt.placeholder": "Anweisungen hier eintragen,",
"agentDetail.configure.prompt.referenceMissing": "{{name}} existiert nicht",
"agentDetail.configure.prompt.richTip": "Definieren Sie die Rolle des Agenten und wie er arbeiten soll. <docLink>Mehr erfahren</docLink>",
@@ -313,15 +308,6 @@
"agentDetail.logs.table.updatedTime": "Aktualisierungszeit",
"agentDetail.logs.table.userRate": "Benutzerbewertung",
"agentDetail.logs.title": "Logs",
- "agentDetail.memorySettings.budgetLabel": "Speicherbudget",
- "agentDetail.memorySettings.description": "Speichereinstellungen aus dem aktiven Konfigurations-Snapshot.",
- "agentDetail.memorySettings.export.description": "Der Speicherexport ist für ein späteres Release geplant.",
- "agentDetail.memorySettings.export.download": "Herunterladen",
- "agentDetail.memorySettings.export.soon": "Demnächst",
- "agentDetail.memorySettings.export.title": "Aktuellen Speicher exportieren",
- "agentDetail.memorySettings.notConfigured": "Nicht konfiguriert",
- "agentDetail.memorySettings.scopeLabel": "Speicherbereich",
- "agentDetail.memorySettings.title": "Speicher",
"agentDetail.metadata.sourceLabel": "Quelle",
"agentDetail.monitoring.change": "{{value}} im Vergleich zum Vorzeitraum",
"agentDetail.monitoring.dateRangeLabel": "Datumsbereich",
diff --git a/web/i18n/en-US/agent-v-2.json b/web/i18n/en-US/agent-v-2.json
index 236834f23fb..05a78ff230d 100644
--- a/web/i18n/en-US/agent-v-2.json
+++ b/web/i18n/en-US/agent-v-2.json
@@ -162,12 +162,7 @@
"agentDetail.configure.prompt.copy": "Copy prompt",
"agentDetail.configure.prompt.copyFailed": "Failed to copy prompt.",
"agentDetail.configure.prompt.insert.label": "Insert",
- "agentDetail.configure.prompt.insert.question": "Start question",
- "agentDetail.configure.prompt.insert.reportFile": "Output report file",
- "agentDetail.configure.prompt.insert.tenders": "Start tenders",
"agentDetail.configure.prompt.label": "Prompt",
- "agentDetail.configure.prompt.mention.davidHayes": "David Hayes",
- "agentDetail.configure.prompt.mention.priyaRamanathan": "Priya Ramanathan",
"agentDetail.configure.prompt.placeholder": "Write instructions here,",
"agentDetail.configure.prompt.referenceMissing": "{{name}} does not exist",
"agentDetail.configure.prompt.richTip": "Define the agent's role and how it should work. <docLink>Learn more</docLink>",
@@ -313,15 +308,6 @@
"agentDetail.logs.table.updatedTime": "Updated Time",
"agentDetail.logs.table.userRate": "User Rate",
"agentDetail.logs.title": "Logs",
- "agentDetail.memorySettings.budgetLabel": "Memory Budget",
- "agentDetail.memorySettings.description": "Memory settings from the active configuration snapshot.",
- "agentDetail.memorySettings.export.description": "Memory export is planned for a later release.",
- "agentDetail.memorySettings.export.download": "Download",
- "agentDetail.memorySettings.export.soon": "Soon",
- "agentDetail.memorySettings.export.title": "Export current memory",
- "agentDetail.memorySettings.notConfigured": "Not configured",
- "agentDetail.memorySettings.scopeLabel": "Memory Scope",
- "agentDetail.memorySettings.title": "Memory",
"agentDetail.metadata.sourceLabel": "Source",
"agentDetail.monitoring.change": "{{value}} from previous period",
"agentDetail.monitoring.dateRangeLabel": "Date range",
diff --git a/web/i18n/es-ES/agent-v-2.json b/web/i18n/es-ES/agent-v-2.json
index 9972e093003..6c90915d8d8 100644
--- a/web/i18n/es-ES/agent-v-2.json
+++ b/web/i18n/es-ES/agent-v-2.json
@@ -162,12 +162,7 @@
"agentDetail.configure.prompt.copy": "Copiar prompt",
"agentDetail.configure.prompt.copyFailed": "Error al copiar el prompt.",
"agentDetail.configure.prompt.insert.label": "Insertar",
- "agentDetail.configure.prompt.insert.question": "Pregunta inicial",
- "agentDetail.configure.prompt.insert.reportFile": "Archivo de informe de salida",
- "agentDetail.configure.prompt.insert.tenders": "Lista inicial de licitaciones",
"agentDetail.configure.prompt.label": "Prompt",
- "agentDetail.configure.prompt.mention.davidHayes": "David Hayes",
- "agentDetail.configure.prompt.mention.priyaRamanathan": "Priya Ramanathan",
"agentDetail.configure.prompt.placeholder": "Escribe las instrucciones aquí,",
"agentDetail.configure.prompt.referenceMissing": "{{name}} no existe",
"agentDetail.configure.prompt.richTip": "Define el rol del agente y cómo debe trabajar. <docLink>Más información</docLink>",
@@ -313,15 +308,6 @@
"agentDetail.logs.table.updatedTime": "Fecha de actualización",
"agentDetail.logs.table.userRate": "Valoración del usuario",
"agentDetail.logs.title": "Registros",
- "agentDetail.memorySettings.budgetLabel": "Presupuesto de memoria",
- "agentDetail.memorySettings.description": "Configuración de memoria desde la instantánea de configuración activa.",
- "agentDetail.memorySettings.export.description": "La exportación de memoria está prevista para una versión posterior.",
- "agentDetail.memorySettings.export.download": "Descargar",
- "agentDetail.memorySettings.export.soon": "Próximamente",
- "agentDetail.memorySettings.export.title": "Exportar memoria actual",
- "agentDetail.memorySettings.notConfigured": "No configurado",
- "agentDetail.memorySettings.scopeLabel": "Alcance de memoria",
- "agentDetail.memorySettings.title": "Memoria",
"agentDetail.metadata.sourceLabel": "Fuente",
"agentDetail.monitoring.change": "{{value}} respecto al periodo anterior",
"agentDetail.monitoring.dateRangeLabel": "Rango de fechas",
diff --git a/web/i18n/fa-IR/agent-v-2.json b/web/i18n/fa-IR/agent-v-2.json
index de8b71226c7..a5baa56df34 100644
--- a/web/i18n/fa-IR/agent-v-2.json
+++ b/web/i18n/fa-IR/agent-v-2.json
@@ -162,12 +162,7 @@
"agentDetail.configure.prompt.copy": "کپی پرامپت",
"agentDetail.configure.prompt.copyFailed": "کپی پرامپت ناموفق بود.",
"agentDetail.configure.prompt.insert.label": "درج",
- "agentDetail.configure.prompt.insert.question": "شروع سؤال",
- "agentDetail.configure.prompt.insert.reportFile": "فایل گزارش خروجی",
- "agentDetail.configure.prompt.insert.tenders": "شروع مناقصه‌ها",
"agentDetail.configure.prompt.label": "پرامپت",
- "agentDetail.configure.prompt.mention.davidHayes": "David Hayes",
- "agentDetail.configure.prompt.mention.priyaRamanathan": "Priya Ramanathan",
"agentDetail.configure.prompt.placeholder": "دستورالعمل‌ها را اینجا بنویسید،",
"agentDetail.configure.prompt.referenceMissing": "{{name}} وجود ندارد",
"agentDetail.configure.prompt.richTip": "نقش عامل و نحوه کار آن را تعریف کنید. <docLink>بیشتر بدانید</docLink>",
@@ -313,15 +308,6 @@
"agentDetail.logs.table.updatedTime": "زمان به‌روزرسانی",
"agentDetail.logs.table.userRate": "نرخ کاربر",
"agentDetail.logs.title": "گزارش‌ها",
- "agentDetail.memorySettings.budgetLabel": "بودجه حافظه",
- "agentDetail.memorySettings.description": "تنظیمات حافظه از عکس فوری پیکربندی فعال.",
- "agentDetail.memorySettings.export.description": "صادرات حافظه برای انتشار بعدی برنامه‌ریزی شده است.",
- "agentDetail.memorySettings.export.download": "دانلود",
- "agentDetail.memorySettings.export.soon": "به‌زودی",
- "agentDetail.memorySettings.export.title": "صادر کردن حافظه فعلی",
- "agentDetail.memorySettings.notConfigured": "پیکربندی نشده",
- "agentDetail.memorySettings.scopeLabel": "دامنه حافظه",
- "agentDetail.memorySettings.title": "حافظه",
"agentDetail.metadata.sourceLabel": "منبع",
"agentDetail.monitoring.change": "{{value}} نسبت به دوره قبل",
"agentDetail.monitoring.dateRangeLabel": "بازه تاریخ",
diff --git a/web/i18n/fr-FR/agent-v-2.json b/web/i18n/fr-FR/agent-v-2.json
index 59d030e5131..9a4650f1408 100644
--- a/web/i18n/fr-FR/agent-v-2.json
+++ b/web/i18n/fr-FR/agent-v-2.json
@@ -162,12 +162,7 @@
"agentDetail.configure.prompt.copy": "Copier le prompt",
"agentDetail.configure.prompt.copyFailed": "Échec de la copie du prompt.",
"agentDetail.configure.prompt.insert.label": "Insérer",
- "agentDetail.configure.prompt.insert.question": "Question de départ",
- "agentDetail.configure.prompt.insert.reportFile": "Fichier de rapport de sortie",
- "agentDetail.configure.prompt.insert.tenders": "Liste d’appels d’offres de départ",
"agentDetail.configure.prompt.label": "Prompt",
- "agentDetail.configure.prompt.mention.davidHayes": "David Hayes",
- "agentDetail.configure.prompt.mention.priyaRamanathan": "Priya Ramanathan",
"agentDetail.configure.prompt.placeholder": "Écrivez les instructions ici,",
"agentDetail.configure.prompt.referenceMissing": "{{name}} n’existe pas",
"agentDetail.configure.prompt.richTip": "Définissez le rôle de l’agent et la manière dont il doit travailler. <docLink>En savoir plus</docLink>",
@@ -313,15 +308,6 @@
"agentDetail.logs.table.updatedTime": "Date de mise à jour",
"agentDetail.logs.table.userRate": "Note de l’utilisateur",
"agentDetail.logs.title": "Journaux",
- "agentDetail.memorySettings.budgetLabel": "Budget mémoire",
- "agentDetail.memorySettings.description": "Paramètres de mémoire de l’instantané de configuration actif.",
- "agentDetail.memorySettings.export.description": "L’exportation de la mémoire est prévue pour une version ultérieure.",
- "agentDetail.memorySettings.export.download": "Télécharger",
- "agentDetail.memorySettings.export.soon": "Bientôt",
- "agentDetail.memorySettings.export.title": "Exporter la mémoire actuelle",
- "agentDetail.memorySettings.notConfigured": "Non configuré",
- "agentDetail.memorySettings.scopeLabel": "Portée de la mémoire",
- "agentDetail.memorySettings.title": "Mémoire",
"agentDetail.metadata.sourceLabel": "Source",
"agentDetail.monitoring.change": "{{value}} par rapport à la période précédente",
"agentDetail.monitoring.dateRangeLabel": "Plage de dates",
diff --git a/web/i18n/hi-IN/agent-v-2.json b/web/i18n/hi-IN/agent-v-2.json
index 2e9ac346919..2f5d7e75617 100644
--- a/web/i18n/hi-IN/agent-v-2.json
+++ b/web/i18n/hi-IN/agent-v-2.json
@@ -162,12 +162,7 @@
"agentDetail.configure.prompt.copy": "प्रॉम्प्ट कॉपी करें",
"agentDetail.configure.prompt.copyFailed": "प्रॉम्प्ट कॉपी करने में विफल।",
"agentDetail.configure.prompt.insert.label": "सम्मिलित करें",
- "agentDetail.configure.prompt.insert.question": "प्रश्न आरंभ करें",
- "agentDetail.configure.prompt.insert.reportFile": "आउटपुट रिपोर्ट फ़ाइल",
- "agentDetail.configure.prompt.insert.tenders": "निविदाएँ आरंभ करें",
"agentDetail.configure.prompt.label": "प्रॉम्प्ट",
- "agentDetail.configure.prompt.mention.davidHayes": "David Hayes",
- "agentDetail.configure.prompt.mention.priyaRamanathan": "Priya Ramanathan",
"agentDetail.configure.prompt.placeholder": "यहाँ निर्देश लिखें,",
"agentDetail.configure.prompt.referenceMissing": "{{name}} मौजूद नहीं है",
"agentDetail.configure.prompt.richTip": "एजेंट की भूमिका और उसके काम करने के तरीके को तय करें। <docLink>ज़्यादा जानें</docLink>",
@@ -313,15 +308,6 @@
"agentDetail.logs.table.updatedTime": "अद्यतन समय",
"agentDetail.logs.table.userRate": "उपयोगकर्ता दर",
"agentDetail.logs.title": "लॉग",
- "agentDetail.memorySettings.budgetLabel": "मेमोरी बजट",
- "agentDetail.memorySettings.description": "सक्रिय कॉन्फ़िगरेशन स्नैपशॉट से मेमोरी सेटिंग्स।",
- "agentDetail.memorySettings.export.description": "मेमोरी निर्यात बाद के रिलीज़ के लिए नियोजित है।",
- "agentDetail.memorySettings.export.download": "डाउनलोड करें",
- "agentDetail.memorySettings.export.soon": "जल्द ही",
- "agentDetail.memorySettings.export.title": "वर्तमान मेमोरी निर्यात करें",
- "agentDetail.memorySettings.notConfigured": "कॉन्फ़िगर नहीं किया गया",
- "agentDetail.memorySettings.scopeLabel": "मेमोरी दायरा",
- "agentDetail.memorySettings.title": "मेमोरी",
"agentDetail.metadata.sourceLabel": "स्रोत",
"agentDetail.monitoring.change": "पिछली अवधि से {{value}}",
"agentDetail.monitoring.dateRangeLabel": "दिनांक सीमा",
diff --git a/web/i18n/id-ID/agent-v-2.json b/web/i18n/id-ID/agent-v-2.json
index 0076eedfaf3..73ed8d49fa6 100644
--- a/web/i18n/id-ID/agent-v-2.json
+++ b/web/i18n/id-ID/agent-v-2.json
@@ -162,12 +162,7 @@
"agentDetail.configure.prompt.copy": "Salin prompt",
"agentDetail.configure.prompt.copyFailed": "Gagal menyalin prompt.",
"agentDetail.configure.prompt.insert.label": "Sisipkan",
- "agentDetail.configure.prompt.insert.question": "Mulai pertanyaan",
- "agentDetail.configure.prompt.insert.reportFile": "File laporan keluaran",
- "agentDetail.configure.prompt.insert.tenders": "Mulai tender",
"agentDetail.configure.prompt.label": "Prompt",
- "agentDetail.configure.prompt.mention.davidHayes": "David Hayes",
- "agentDetail.configure.prompt.mention.priyaRamanathan": "Priya Ramanathan",
"agentDetail.configure.prompt.placeholder": "Tulis instruksi di sini,",
"agentDetail.configure.prompt.referenceMissing": "{{name}} tidak ada",
"agentDetail.configure.prompt.richTip": "Tentukan peran agen dan cara kerjanya. <docLink>Pelajari selengkapnya</docLink>",
@@ -313,15 +308,6 @@
"agentDetail.logs.table.updatedTime": "Waktu Diperbarui",
"agentDetail.logs.table.userRate": "Tingkat Pengguna",
"agentDetail.logs.title": "Log",
- "agentDetail.memorySettings.budgetLabel": "Anggaran Memori",
- "agentDetail.memorySettings.description": "Pengaturan memori dari snapshot konfigurasi aktif.",
- "agentDetail.memorySettings.export.description": "Ekspor memori direncanakan untuk rilis berikutnya.",
- "agentDetail.memorySettings.export.download": "Unduh",
- "agentDetail.memorySettings.export.soon": "Segera",
- "agentDetail.memorySettings.export.title": "Ekspor memori saat ini",
- "agentDetail.memorySettings.notConfigured": "Belum dikonfigurasi",
- "agentDetail.memorySettings.scopeLabel": "Cakupan Memori",
- "agentDetail.memorySettings.title": "Memori",
"agentDetail.metadata.sourceLabel": "Sumber",
"agentDetail.monitoring.change": "{{value}} dari periode sebelumnya",
"agentDetail.monitoring.dateRangeLabel": "Rentang tanggal",
diff --git a/web/i18n/it-IT/agent-v-2.json b/web/i18n/it-IT/agent-v-2.json
index 7d6b291432e..a5f82d61c66 100644
--- a/web/i18n/it-IT/agent-v-2.json
+++ b/web/i18n/it-IT/agent-v-2.json
@@ -162,12 +162,7 @@
"agentDetail.configure.prompt.copy": "Copia prompt",
"agentDetail.configure.prompt.copyFailed": "Impossibile copiare il prompt.",
"agentDetail.configure.prompt.insert.label": "Inserisci",
- "agentDetail.configure.prompt.insert.question": "Domanda iniziale",
- "agentDetail.configure.prompt.insert.reportFile": "File di report di output",
- "agentDetail.configure.prompt.insert.tenders": "Elenco gare iniziale",
"agentDetail.configure.prompt.label": "Prompt",
- "agentDetail.configure.prompt.mention.davidHayes": "David Hayes",
- "agentDetail.configure.prompt.mention.priyaRamanathan": "Priya Ramanathan",
"agentDetail.configure.prompt.placeholder": "Scrivi le istruzioni qui,",
"agentDetail.configure.prompt.referenceMissing": "{{name}} non esiste",
"agentDetail.configure.prompt.richTip": "Definisci il ruolo dell’agente e il modo in cui deve lavorare. <docLink>Scopri di più</docLink>",
@@ -313,15 +308,6 @@
"agentDetail.logs.table.updatedTime": "Ora di aggiornamento",
"agentDetail.logs.table.userRate": "Valutazione utente",
"agentDetail.logs.title": "Log",
- "agentDetail.memorySettings.budgetLabel": "Budget di memoria",
- "agentDetail.memorySettings.description": "Impostazioni di memoria dallo snapshot di configurazione attivo.",
- "agentDetail.memorySettings.export.description": "L’esportazione della memoria è prevista per una versione successiva.",
- "agentDetail.memorySettings.export.download": "Scarica",
- "agentDetail.memorySettings.export.soon": "Presto",
- "agentDetail.memorySettings.export.title": "Esporta la memoria corrente",
- "agentDetail.memorySettings.notConfigured": "Non configurato",
- "agentDetail.memorySettings.scopeLabel": "Ambito della memoria",
- "agentDetail.memorySettings.title": "Memoria",
"agentDetail.metadata.sourceLabel": "Origine",
"agentDetail.monitoring.change": "{{value}} rispetto al periodo precedente",
"agentDetail.monitoring.dateRangeLabel": "Intervallo di date",
diff --git a/web/i18n/ja-JP/agent-v-2.json b/web/i18n/ja-JP/agent-v-2.json
index df7c3c9220d..5d43a5b4f4c 100644
--- a/web/i18n/ja-JP/agent-v-2.json
+++ b/web/i18n/ja-JP/agent-v-2.json
@@ -162,12 +162,7 @@
"agentDetail.configure.prompt.copy": "プロンプトをコピー",
"agentDetail.configure.prompt.copyFailed": "プロンプトのコピーに失敗しました。",
"agentDetail.configure.prompt.insert.label": "挿入",
- "agentDetail.configure.prompt.insert.question": "質問を開始",
- "agentDetail.configure.prompt.insert.reportFile": "レポートファイルを出力",
- "agentDetail.configure.prompt.insert.tenders": "入札を開始",
"agentDetail.configure.prompt.label": "プロンプト",
- "agentDetail.configure.prompt.mention.davidHayes": "David Hayes",
- "agentDetail.configure.prompt.mention.priyaRamanathan": "Priya Ramanathan",
"agentDetail.configure.prompt.placeholder": "ここに指示を記述してください、",
"agentDetail.configure.prompt.referenceMissing": "{{name}} は存在しません",
"agentDetail.configure.prompt.richTip": "Agent のロールと仕事の進め方を設定します。<docLink>詳細を見る</docLink>",
@@ -313,15 +308,6 @@
"agentDetail.logs.table.updatedTime": "更新日時",
"agentDetail.logs.table.userRate": "ユーザー評価",
"agentDetail.logs.title": "ログ",
- "agentDetail.memorySettings.budgetLabel": "メモリ予算",
- "agentDetail.memorySettings.description": "現在のアクティブな設定スナップショットのメモリ設定。",
- "agentDetail.memorySettings.export.description": "メモリのエクスポートは今後のリリースで予定されています。",
- "agentDetail.memorySettings.export.download": "ダウンロード",
- "agentDetail.memorySettings.export.soon": "近日公開",
- "agentDetail.memorySettings.export.title": "現在のメモリをエクスポート",
- "agentDetail.memorySettings.notConfigured": "未設定",
- "agentDetail.memorySettings.scopeLabel": "メモリ範囲",
- "agentDetail.memorySettings.title": "メモリ",
"agentDetail.metadata.sourceLabel": "ソース",
"agentDetail.monitoring.change": "前期間から {{value}}",
"agentDetail.monitoring.dateRangeLabel": "日付範囲",
diff --git a/web/i18n/ko-KR/agent-v-2.json b/web/i18n/ko-KR/agent-v-2.json
index d053b4b681c..84295bec8e1 100644
--- a/web/i18n/ko-KR/agent-v-2.json
+++ b/web/i18n/ko-KR/agent-v-2.json
@@ -162,12 +162,7 @@
"agentDetail.configure.prompt.copy": "프롬프트 복사",
"agentDetail.configure.prompt.copyFailed": "프롬프트 복사에 실패했습니다.",
"agentDetail.configure.prompt.insert.label": "삽입",
- "agentDetail.configure.prompt.insert.question": "질문 시작",
- "agentDetail.configure.prompt.insert.reportFile": "보고서 파일 출력",
- "agentDetail.configure.prompt.insert.tenders": "입찰 시작",
"agentDetail.configure.prompt.label": "프롬프트",
- "agentDetail.configure.prompt.mention.davidHayes": "David Hayes",
- "agentDetail.configure.prompt.mention.priyaRamanathan": "Priya Ramanathan",
"agentDetail.configure.prompt.placeholder": "여기에 지시 사항을 작성하세요,",
"agentDetail.configure.prompt.referenceMissing": "{{name}}이(가) 존재하지 않습니다",
"agentDetail.configure.prompt.richTip": "에이전트의 역할과 작업 방식을 정의합니다. <docLink>자세히 알아보기</docLink>",
@@ -313,15 +308,6 @@
"agentDetail.logs.table.updatedTime": "업데이트 시간",
"agentDetail.logs.table.userRate": "사용자 평점",
"agentDetail.logs.title": "로그",
- "agentDetail.memorySettings.budgetLabel": "메모리 예산",
- "agentDetail.memorySettings.description": "현재 활성 구성 스냅샷의 메모리 설정입니다.",
- "agentDetail.memorySettings.export.description": "메모리 내보내기는 향후 릴리스에서 제공될 예정입니다.",
- "agentDetail.memorySettings.export.download": "다운로드",
- "agentDetail.memorySettings.export.soon": "곧 제공",
- "agentDetail.memorySettings.export.title": "현재 메모리 내보내기",
- "agentDetail.memorySettings.notConfigured": "구성되지 않음",
- "agentDetail.memorySettings.scopeLabel": "메모리 범위",
- "agentDetail.memorySettings.title": "메모리",
"agentDetail.metadata.sourceLabel": "소스",
"agentDetail.monitoring.change": "이전 기간 대비 {{value}}",
"agentDetail.monitoring.dateRangeLabel": "날짜 범위",
diff --git a/web/i18n/lo-LA/agent-v-2.json b/web/i18n/lo-LA/agent-v-2.json
index ecf9660c091..0a81d8ca5cc 100644
--- a/web/i18n/lo-LA/agent-v-2.json
+++ b/web/i18n/lo-LA/agent-v-2.json
@@ -162,12 +162,7 @@
"agentDetail.configure.prompt.copy": "ຄັດລອກ Prompt",
"agentDetail.configure.prompt.copyFailed": "ຄັດລອກ Prompt ບໍ່ສຳເລັດ.",
"agentDetail.configure.prompt.insert.label": "ແຊກ",
- "agentDetail.configure.prompt.insert.question": "ເລີ່ມຄຳຖາມ",
- "agentDetail.configure.prompt.insert.reportFile": "ໄຟລ໌ລາຍງານຜົນອອກ",
- "agentDetail.configure.prompt.insert.tenders": "ເລີ່ມການປະມູນ (Tenders)",
"agentDetail.configure.prompt.label": "ຄຳສັ່ງ (Prompt)",
- "agentDetail.configure.prompt.mention.davidHayes": "David Hayes",
- "agentDetail.configure.prompt.mention.priyaRamanathan": "Priya Ramanathan",
"agentDetail.configure.prompt.placeholder": "ຂຽນຄຳແນະນຳຢູ່ນີ້,",
"agentDetail.configure.prompt.referenceMissing": "{{name}} ບໍ່ມີຢູ່",
"agentDetail.configure.prompt.richTip": "ກຳນົດບົດບາດຂອງຕົວແທນ ແລະ ວິທີທີ່ຄວນເຮັດວຽກ. <docLink>ຮຽນຮູ້ເພີ່ມເຕີມ</docLink>",
@@ -313,15 +308,6 @@
"agentDetail.logs.table.updatedTime": "ເວລາອັບເດດ",
"agentDetail.logs.table.userRate": "ອັດຕາຜູ້ໃຊ້",
"agentDetail.logs.title": "ບັນທຶກ (Logs)",
- "agentDetail.memorySettings.budgetLabel": "ງົບປະມານໜ່ວຍຄວາມຈຳ",
- "agentDetail.memorySettings.description": "ການຕັ້ງຄ່າໜ່ວຍຄວາມຈຳຈາກ snapshot ຂອງການຕັ້ງຄ່າທີ່ກຳລັງໃຊ້ງານ.",
- "agentDetail.memorySettings.export.description": "ການສົ່ງອອກໜ່ວຍຄວາມຈຳມີແຜນຈະເປີດໃຊ້ໃນເວີຊັນຕໍ່ໄປ.",
- "agentDetail.memorySettings.export.download": "ດາວໂຫຼດ",
- "agentDetail.memorySettings.export.soon": "ໄວໆນີ້",
- "agentDetail.memorySettings.export.title": "ສົ່ງອອກໜ່ວຍຄວາມຈຳປັດຈຸບັນ",
- "agentDetail.memorySettings.notConfigured": "ຍັງບໍ່ໄດ້ຕັ້ງຄ່າ",
- "agentDetail.memorySettings.scopeLabel": "ຂອບເຂດໜ່ວຍຄວາມຈຳ",
- "agentDetail.memorySettings.title": "ໜ່ວຍຄວາມຈຳ",
"agentDetail.metadata.sourceLabel": "ແຫຼ່ງທີ່ມາ",
"agentDetail.monitoring.change": "{{value}} ຈາກໄລຍະຜ່ານມາ",
"agentDetail.monitoring.dateRangeLabel": "ໄລຍະວັນທີ",
diff --git a/web/i18n/nl-NL/agent-v-2.json b/web/i18n/nl-NL/agent-v-2.json
index a667e70215a..f1f394a74b9 100644
--- a/web/i18n/nl-NL/agent-v-2.json
+++ b/web/i18n/nl-NL/agent-v-2.json
@@ -162,12 +162,7 @@
"agentDetail.configure.prompt.copy": "Prompt kopiëren",
"agentDetail.configure.prompt.copyFailed": "Prompt kopiëren mislukt.",
"agentDetail.configure.prompt.insert.label": "Invoegen",
- "agentDetail.configure.prompt.insert.question": "Startvraag",
- "agentDetail.configure.prompt.insert.reportFile": "Uitvoerrapport-bestand",
- "agentDetail.configure.prompt.insert.tenders": "Aanbestedingen starten",
"agentDetail.configure.prompt.label": "Prompt",
- "agentDetail.configure.prompt.mention.davidHayes": "David Hayes",
- "agentDetail.configure.prompt.mention.priyaRamanathan": "Priya Ramanathan",
"agentDetail.configure.prompt.placeholder": "Schrijf hier instructies,",
"agentDetail.configure.prompt.referenceMissing": "{{name}} bestaat niet",
"agentDetail.configure.prompt.richTip": "Bepaal de rol van de agent en hoe die moet werken. <docLink>Meer informatie</docLink>",
@@ -313,15 +308,6 @@
"agentDetail.logs.table.updatedTime": "Bijgewerkte tijd",
"agentDetail.logs.table.userRate": "Gebruikersbeoordeling",
"agentDetail.logs.title": "Logs",
- "agentDetail.memorySettings.budgetLabel": "Geheugenbudget",
- "agentDetail.memorySettings.description": "Geheugeninstellingen uit de actieve configuratiemomentopname.",
- "agentDetail.memorySettings.export.description": "Geheugenexport is gepland voor een latere release.",
- "agentDetail.memorySettings.export.download": "Downloaden",
- "agentDetail.memorySettings.export.soon": "Binnenkort",
- "agentDetail.memorySettings.export.title": "Huidig geheugen exporteren",
- "agentDetail.memorySettings.notConfigured": "Niet geconfigureerd",
- "agentDetail.memorySettings.scopeLabel": "Geheugenscope",
- "agentDetail.memorySettings.title": "Geheugen",
"agentDetail.metadata.sourceLabel": "Bron",
"agentDetail.monitoring.change": "{{value}} t.o.v. vorige periode",
"agentDetail.monitoring.dateRangeLabel": "Datumbereik",
diff --git a/web/i18n/pl-PL/agent-v-2.json b/web/i18n/pl-PL/agent-v-2.json
index a46161802f9..ffff6cceda9 100644
--- a/web/i18n/pl-PL/agent-v-2.json
+++ b/web/i18n/pl-PL/agent-v-2.json
@@ -162,12 +162,7 @@
"agentDetail.configure.prompt.copy": "Kopiuj prompt",
"agentDetail.configure.prompt.copyFailed": "Nie udało się skopiować promptu.",
"agentDetail.configure.prompt.insert.label": "Wstaw",
- "agentDetail.configure.prompt.insert.question": "Pytanie początkowe",
- "agentDetail.configure.prompt.insert.reportFile": "Wyjściowy plik raportu",
- "agentDetail.configure.prompt.insert.tenders": "Rozpocznij przetargi",
"agentDetail.configure.prompt.label": "Prompt",
- "agentDetail.configure.prompt.mention.davidHayes": "David Hayes",
- "agentDetail.configure.prompt.mention.priyaRamanathan": "Priya Ramanathan",
"agentDetail.configure.prompt.placeholder": "Napisz tutaj instrukcje,",
"agentDetail.configure.prompt.referenceMissing": "{{name}} nie istnieje",
"agentDetail.configure.prompt.richTip": "Określ rolę agenta i sposób jego działania. <docLink>Dowiedz się więcej</docLink>",
@@ -313,15 +308,6 @@
"agentDetail.logs.table.updatedTime": "Czas aktualizacji",
"agentDetail.logs.table.userRate": "Ocena użytkownika",
"agentDetail.logs.title": "Logi",
- "agentDetail.memorySettings.budgetLabel": "Budżet pamięci",
- "agentDetail.memorySettings.description": "Ustawienia pamięci z aktywnej migawki konfiguracji.",
- "agentDetail.memorySettings.export.description": "Eksport pamięci zaplanowano na późniejsze wydanie.",
- "agentDetail.memorySettings.export.download": "Pobierz",
- "agentDetail.memorySettings.export.soon": "Wkrótce",
- "agentDetail.memorySettings.export.title": "Eksportuj bieżącą pamięć",
- "agentDetail.memorySettings.notConfigured": "Nieskonfigurowane",
- "agentDetail.memorySettings.scopeLabel": "Zakres pamięci",
- "agentDetail.memorySettings.title": "Pamięć",
"agentDetail.metadata.sourceLabel": "Źródło",
"agentDetail.monitoring.change": "{{value}} w porównaniu z poprzednim okresem",
"agentDetail.monitoring.dateRangeLabel": "Zakres dat",
diff --git a/web/i18n/pt-BR/agent-v-2.json b/web/i18n/pt-BR/agent-v-2.json
index 0c68840cc91..d513a63e036 100644
--- a/web/i18n/pt-BR/agent-v-2.json
+++ b/web/i18n/pt-BR/agent-v-2.json
@@ -162,12 +162,7 @@
"agentDetail.configure.prompt.copy": "Copiar prompt",
"agentDetail.configure.prompt.copyFailed": "Falha ao copiar o prompt.",
"agentDetail.configure.prompt.insert.label": "Inserir",
- "agentDetail.configure.prompt.insert.question": "Pergunta inicial",
- "agentDetail.configure.prompt.insert.reportFile": "Arquivo de relatório de saída",
- "agentDetail.configure.prompt.insert.tenders": "Lista inicial de licitações",
"agentDetail.configure.prompt.label": "Prompt",
- "agentDetail.configure.prompt.mention.davidHayes": "David Hayes",
- "agentDetail.configure.prompt.mention.priyaRamanathan": "Priya Ramanathan",
"agentDetail.configure.prompt.placeholder": "Escreva as instruções aqui,",
"agentDetail.configure.prompt.referenceMissing": "{{name}} não existe",
"agentDetail.configure.prompt.richTip": "Defina o papel do agente e como ele deve trabalhar. <docLink>Saiba mais</docLink>",
@@ -313,15 +308,6 @@
"agentDetail.logs.table.updatedTime": "Hora de atualização",
"agentDetail.logs.table.userRate": "Avaliação do usuário",
"agentDetail.logs.title": "Logs",
- "agentDetail.memorySettings.budgetLabel": "Orçamento de memória",
- "agentDetail.memorySettings.description": "Configurações de memória do snapshot de configuração ativo.",
- "agentDetail.memorySettings.export.description": "A exportação de memória está prevista para uma versão futura.",
- "agentDetail.memorySettings.export.download": "Baixar",
- "agentDetail.memorySettings.export.soon": "Em breve",
- "agentDetail.memorySettings.export.title": "Exportar memória atual",
- "agentDetail.memorySettings.notConfigured": "Não configurado",
- "agentDetail.memorySettings.scopeLabel": "Escopo da memória",
- "agentDetail.memorySettings.title": "Memória",
"agentDetail.metadata.sourceLabel": "Origem",
"agentDetail.monitoring.change": "{{value}} em relação ao período anterior",
"agentDetail.monitoring.dateRangeLabel": "Intervalo de datas",
diff --git a/web/i18n/ro-RO/agent-v-2.json b/web/i18n/ro-RO/agent-v-2.json
index ba160bd4e74..0698ee0f2a2 100644
--- a/web/i18n/ro-RO/agent-v-2.json
+++ b/web/i18n/ro-RO/agent-v-2.json
@@ -162,12 +162,7 @@
"agentDetail.configure.prompt.copy": "Copiază prompt-ul",
"agentDetail.configure.prompt.copyFailed": "Copierea prompt-ului a eșuat.",
"agentDetail.configure.prompt.insert.label": "Inserează",
- "agentDetail.configure.prompt.insert.question": "Întrebare de start",
- "agentDetail.configure.prompt.insert.reportFile": "Fișier de raport de ieșire",
- "agentDetail.configure.prompt.insert.tenders": "Listă de licitații de start",
"agentDetail.configure.prompt.label": "Prompt",
- "agentDetail.configure.prompt.mention.davidHayes": "David Hayes",
- "agentDetail.configure.prompt.mention.priyaRamanathan": "Priya Ramanathan",
"agentDetail.configure.prompt.placeholder": "Scrieți instrucțiunile aici,",
"agentDetail.configure.prompt.referenceMissing": "{{name}} nu există",
"agentDetail.configure.prompt.richTip": "Definiți rolul agentului și modul în care ar trebui să lucreze. <docLink>Aflați mai multe</docLink>",
@@ -313,15 +308,6 @@
"agentDetail.logs.table.updatedTime": "Data actualizării",
"agentDetail.logs.table.userRate": "Rating utilizator",
"agentDetail.logs.title": "Jurnale",
- "agentDetail.memorySettings.budgetLabel": "Buget de memorie",
- "agentDetail.memorySettings.description": "Setări de memorie din instantaneul de configurare activ.",
- "agentDetail.memorySettings.export.description": "Exportul memoriei este planificat pentru o versiune ulterioară.",
- "agentDetail.memorySettings.export.download": "Descarcă",
- "agentDetail.memorySettings.export.soon": "În curând",
- "agentDetail.memorySettings.export.title": "Exportați memoria curentă",
- "agentDetail.memorySettings.notConfigured": "Neconfigurat",
- "agentDetail.memorySettings.scopeLabel": "Domeniul memoriei",
- "agentDetail.memorySettings.title": "Memorie",
"agentDetail.metadata.sourceLabel": "Sursă",
"agentDetail.monitoring.change": "{{value}} față de perioada anterioară",
"agentDetail.monitoring.dateRangeLabel": "Interval de date",
diff --git a/web/i18n/ru-RU/agent-v-2.json b/web/i18n/ru-RU/agent-v-2.json
index f383b2f11f0..4448479bb26 100644
--- a/web/i18n/ru-RU/agent-v-2.json
+++ b/web/i18n/ru-RU/agent-v-2.json
@@ -162,12 +162,7 @@
"agentDetail.configure.prompt.copy": "Копировать промпт",
"agentDetail.configure.prompt.copyFailed": "Не удалось скопировать промпт.",
"agentDetail.configure.prompt.insert.label": "Вставить",
- "agentDetail.configure.prompt.insert.question": "Начальный вопрос",
- "agentDetail.configure.prompt.insert.reportFile": "Файл выходного отчёта",
- "agentDetail.configure.prompt.insert.tenders": "Начать тендеры",
"agentDetail.configure.prompt.label": "Промпт",
- "agentDetail.configure.prompt.mention.davidHayes": "David Hayes",
- "agentDetail.configure.prompt.mention.priyaRamanathan": "Priya Ramanathan",
"agentDetail.configure.prompt.placeholder": "Напишите инструкции здесь,",
"agentDetail.configure.prompt.referenceMissing": "{{name}} не существует",
"agentDetail.configure.prompt.richTip": "Определите роль агента и то, как он должен работать. <docLink>Подробнее</docLink>",
@@ -313,15 +308,6 @@
"agentDetail.logs.table.updatedTime": "Время обновления",
"agentDetail.logs.table.userRate": "Оценка пользователя",
"agentDetail.logs.title": "Журналы",
- "agentDetail.memorySettings.budgetLabel": "Бюджет памяти",
- "agentDetail.memorySettings.description": "Настройки памяти из активного снимка конфигурации.",
- "agentDetail.memorySettings.export.description": "Экспорт памяти запланирован на более позднюю версию.",
- "agentDetail.memorySettings.export.download": "Скачать",
- "agentDetail.memorySettings.export.soon": "Скоро",
- "agentDetail.memorySettings.export.title": "Экспортировать текущую память",
- "agentDetail.memorySettings.notConfigured": "Не настроено",
- "agentDetail.memorySettings.scopeLabel": "Область памяти",
- "agentDetail.memorySettings.title": "Память",
"agentDetail.metadata.sourceLabel": "Источник",
"agentDetail.monitoring.change": "{{value}} к предыдущему периоду",
"agentDetail.monitoring.dateRangeLabel": "Диапазон дат",
diff --git a/web/i18n/sl-SI/agent-v-2.json b/web/i18n/sl-SI/agent-v-2.json
index 7555c1f2d17..dd720c1cdef 100644
--- a/web/i18n/sl-SI/agent-v-2.json
+++ b/web/i18n/sl-SI/agent-v-2.json
@@ -162,12 +162,7 @@
"agentDetail.configure.prompt.copy": "Kopiraj poziv",
"agentDetail.configure.prompt.copyFailed": "Poziva ni bilo mogoče kopirati.",
"agentDetail.configure.prompt.insert.label": "Vstavi",
- "agentDetail.configure.prompt.insert.question": "Začetno vprašanje",
- "agentDetail.configure.prompt.insert.reportFile": "Izhodna datoteka poročila",
- "agentDetail.configure.prompt.insert.tenders": "Zaženi razpise",
"agentDetail.configure.prompt.label": "Poziv",
- "agentDetail.configure.prompt.mention.davidHayes": "David Hayes",
- "agentDetail.configure.prompt.mention.priyaRamanathan": "Priya Ramanathan",
"agentDetail.configure.prompt.placeholder": "Tukaj napišite navodila,",
"agentDetail.configure.prompt.referenceMissing": "{{name}} ne obstaja",
"agentDetail.configure.prompt.richTip": "Določite vlogo agenta in način njegovega delovanja. <docLink>Več o tem</docLink>",
@@ -313,15 +308,6 @@
"agentDetail.logs.table.updatedTime": "Čas posodobitve",
"agentDetail.logs.table.userRate": "Ocena uporabnika",
"agentDetail.logs.title": "Dnevniki",
- "agentDetail.memorySettings.budgetLabel": "Proračun pomnilnika",
- "agentDetail.memorySettings.description": "Nastavitve pomnilnika iz aktivnega posnetka konfiguracije.",
- "agentDetail.memorySettings.export.description": "Izvoz pomnilnika je predviden za poznejšo izdajo.",
- "agentDetail.memorySettings.export.download": "Prenesi",
- "agentDetail.memorySettings.export.soon": "Kmalu",
- "agentDetail.memorySettings.export.title": "Izvozi trenutni pomnilnik",
- "agentDetail.memorySettings.notConfigured": "Ni nastavljeno",
- "agentDetail.memorySettings.scopeLabel": "Obseg pomnilnika",
- "agentDetail.memorySettings.title": "Pomnilnik",
"agentDetail.metadata.sourceLabel": "Vir",
"agentDetail.monitoring.change": "{{value}} glede na prejšnje obdobje",
"agentDetail.monitoring.dateRangeLabel": "Datumsko obdobje",
diff --git a/web/i18n/th-TH/agent-v-2.json b/web/i18n/th-TH/agent-v-2.json
index 36838e041db..9508f3c881e 100644
--- a/web/i18n/th-TH/agent-v-2.json
+++ b/web/i18n/th-TH/agent-v-2.json
@@ -162,12 +162,7 @@
"agentDetail.configure.prompt.copy": "คัดลอกพรอมต์",
"agentDetail.configure.prompt.copyFailed": "คัดลอกพรอมต์ไม่สำเร็จ",
"agentDetail.configure.prompt.insert.label": "แทรก",
- "agentDetail.configure.prompt.insert.question": "เริ่มคำถาม",
- "agentDetail.configure.prompt.insert.reportFile": "ไฟล์รายงานเอาต์พุต",
- "agentDetail.configure.prompt.insert.tenders": "เริ่มการประมูล",
"agentDetail.configure.prompt.label": "พรอมต์",
- "agentDetail.configure.prompt.mention.davidHayes": "David Hayes",
- "agentDetail.configure.prompt.mention.priyaRamanathan": "Priya Ramanathan",
"agentDetail.configure.prompt.placeholder": "เขียนคำสั่งที่นี่,",
"agentDetail.configure.prompt.referenceMissing": "{{name}} ไม่มีอยู่",
"agentDetail.configure.prompt.richTip": "กำหนดบทบาทของเอเจนต์และวิธีการทำงาน <docLink>ดูข้อมูลเพิ่มเติม</docLink>",
@@ -313,15 +308,6 @@
"agentDetail.logs.table.updatedTime": "เวลาที่อัปเดต",
"agentDetail.logs.table.userRate": "อัตราผู้ใช้",
"agentDetail.logs.title": "บันทึก",
- "agentDetail.memorySettings.budgetLabel": "งบประมาณหน่วยความจำ",
- "agentDetail.memorySettings.description": "การตั้งค่าหน่วยความจำจากสแนปช็อตการกำหนดค่าที่ใช้งานอยู่",
- "agentDetail.memorySettings.export.description": "การส่งออกหน่วยความจำมีกำหนดในรุ่นต่อ ๆ ไป",
- "agentDetail.memorySettings.export.download": "ดาวน์โหลด",
- "agentDetail.memorySettings.export.soon": "เร็ว ๆ นี้",
- "agentDetail.memorySettings.export.title": "ส่งออกหน่วยความจำปัจจุบัน",
- "agentDetail.memorySettings.notConfigured": "ไม่ได้กำหนดค่า",
- "agentDetail.memorySettings.scopeLabel": "ขอบเขตหน่วยความจำ",
- "agentDetail.memorySettings.title": "หน่วยความจำ",
"agentDetail.metadata.sourceLabel": "แหล่งที่มา",
"agentDetail.monitoring.change": "{{value}} จากช่วงก่อนหน้า",
"agentDetail.monitoring.dateRangeLabel": "ช่วงวันที่",
diff --git a/web/i18n/tr-TR/agent-v-2.json b/web/i18n/tr-TR/agent-v-2.json
index 355838f92e8..98c2210fecf 100644
--- a/web/i18n/tr-TR/agent-v-2.json
+++ b/web/i18n/tr-TR/agent-v-2.json
@@ -162,12 +162,7 @@
"agentDetail.configure.prompt.copy": "İstemi kopyala",
"agentDetail.configure.prompt.copyFailed": "İstem kopyalanamadı.",
"agentDetail.configure.prompt.insert.label": "Ekle",
- "agentDetail.configure.prompt.insert.question": "Soruya başla",
- "agentDetail.configure.prompt.insert.reportFile": "Çıktı rapor dosyası",
- "agentDetail.configure.prompt.insert.tenders": "İhalelere başla",
"agentDetail.configure.prompt.label": "İstem",
- "agentDetail.configure.prompt.mention.davidHayes": "David Hayes",
- "agentDetail.configure.prompt.mention.priyaRamanathan": "Priya Ramanathan",
"agentDetail.configure.prompt.placeholder": "Talimatları buraya yazın,",
"agentDetail.configure.prompt.referenceMissing": "{{name}} mevcut değil",
"agentDetail.configure.prompt.richTip": "Agent'ın rolünü ve nasıl çalışması gerektiğini tanımlayın. <docLink>Daha fazla bilgi</docLink>",
@@ -313,15 +308,6 @@
"agentDetail.logs.table.updatedTime": "Güncellenme Zamanı",
"agentDetail.logs.table.userRate": "Kullanıcı Oranı",
"agentDetail.logs.title": "Günlükler",
- "agentDetail.memorySettings.budgetLabel": "Bellek Bütçesi",
- "agentDetail.memorySettings.description": "Aktif yapılandırma anlık görüntüsünden bellek ayarları.",
- "agentDetail.memorySettings.export.description": "Bellek dışa aktarımı sonraki bir sürüm için planlanmıştır.",
- "agentDetail.memorySettings.export.download": "İndir",
- "agentDetail.memorySettings.export.soon": "Yakında",
- "agentDetail.memorySettings.export.title": "Mevcut belleği dışa aktar",
- "agentDetail.memorySettings.notConfigured": "Yapılandırılmadı",
- "agentDetail.memorySettings.scopeLabel": "Bellek Kapsamı",
- "agentDetail.memorySettings.title": "Bellek",
"agentDetail.metadata.sourceLabel": "Kaynak",
"agentDetail.monitoring.change": "Önceki döneme göre {{value}}",
"agentDetail.monitoring.dateRangeLabel": "Tarih aralığı",
diff --git a/web/i18n/uk-UA/agent-v-2.json b/web/i18n/uk-UA/agent-v-2.json
index 72bc0a8a9f9..d5fc57f67dd 100644
--- a/web/i18n/uk-UA/agent-v-2.json
+++ b/web/i18n/uk-UA/agent-v-2.json
@@ -162,12 +162,7 @@
"agentDetail.configure.prompt.copy": "Скопіювати промпт",
"agentDetail.configure.prompt.copyFailed": "Не вдалося скопіювати промпт.",
"agentDetail.configure.prompt.insert.label": "Вставити",
- "agentDetail.configure.prompt.insert.question": "Початкове запитання",
- "agentDetail.configure.prompt.insert.reportFile": "Файл вихідного звіту",
- "agentDetail.configure.prompt.insert.tenders": "Розпочати тендери",
"agentDetail.configure.prompt.label": "Промпт",
- "agentDetail.configure.prompt.mention.davidHayes": "David Hayes",
- "agentDetail.configure.prompt.mention.priyaRamanathan": "Priya Ramanathan",
"agentDetail.configure.prompt.placeholder": "Напишіть інструкції тут,",
"agentDetail.configure.prompt.referenceMissing": "{{name}} не існує",
"agentDetail.configure.prompt.richTip": "Визначте роль агента та спосіб його роботи. <docLink>Докладніше</docLink>",
@@ -313,15 +308,6 @@
"agentDetail.logs.table.updatedTime": "Час оновлення",
"agentDetail.logs.table.userRate": "Оцінка користувача",
"agentDetail.logs.title": "Журнали",
- "agentDetail.memorySettings.budgetLabel": "Бюджет пам'яті",
- "agentDetail.memorySettings.description": "Налаштування пам'яті з активного знімка конфігурації.",
- "agentDetail.memorySettings.export.description": "Експорт пам'яті заплановано на пізніший випуск.",
- "agentDetail.memorySettings.export.download": "Завантажити",
- "agentDetail.memorySettings.export.soon": "Скоро",
- "agentDetail.memorySettings.export.title": "Експортувати поточну пам'ять",
- "agentDetail.memorySettings.notConfigured": "Не налаштовано",
- "agentDetail.memorySettings.scopeLabel": "Область пам'яті",
- "agentDetail.memorySettings.title": "Пам'ять",
"agentDetail.metadata.sourceLabel": "Джерело",
"agentDetail.monitoring.change": "{{value}} порівняно з попереднім періодом",
"agentDetail.monitoring.dateRangeLabel": "Діапазон дат",
diff --git a/web/i18n/vi-VN/agent-v-2.json b/web/i18n/vi-VN/agent-v-2.json
index cf18b7e0e7a..4e2c8426b30 100644
--- a/web/i18n/vi-VN/agent-v-2.json
+++ b/web/i18n/vi-VN/agent-v-2.json
@@ -162,12 +162,7 @@
"agentDetail.configure.prompt.copy": "Sao chép lời nhắc",
"agentDetail.configure.prompt.copyFailed": "Sao chép lời nhắc thất bại.",
"agentDetail.configure.prompt.insert.label": "Chèn",
- "agentDetail.configure.prompt.insert.question": "Câu hỏi bắt đầu",
- "agentDetail.configure.prompt.insert.reportFile": "Tệp báo cáo đầu ra",
- "agentDetail.configure.prompt.insert.tenders": "Bắt đầu thầu",
"agentDetail.configure.prompt.label": "Lời nhắc",
- "agentDetail.configure.prompt.mention.davidHayes": "David Hayes",
- "agentDetail.configure.prompt.mention.priyaRamanathan": "Priya Ramanathan",
"agentDetail.configure.prompt.placeholder": "Viết hướng dẫn tại đây,",
"agentDetail.configure.prompt.referenceMissing": "{{name}} không tồn tại",
"agentDetail.configure.prompt.richTip": "Xác định vai trò của tác nhân và cách tác nhân hoạt động. <docLink>Tìm hiểu thêm</docLink>",
@@ -313,15 +308,6 @@
"agentDetail.logs.table.updatedTime": "Thời gian cập nhật",
"agentDetail.logs.table.userRate": "Tỷ lệ người dùng",
"agentDetail.logs.title": "Nhật ký",
- "agentDetail.memorySettings.budgetLabel": "Ngân sách bộ nhớ",
- "agentDetail.memorySettings.description": "Cài đặt bộ nhớ từ snapshot cấu hình đang hoạt động.",
- "agentDetail.memorySettings.export.description": "Xuất bộ nhớ được lên kế hoạch cho bản phát hành sau.",
- "agentDetail.memorySettings.export.download": "Tải xuống",
- "agentDetail.memorySettings.export.soon": "Sắp ra mắt",
- "agentDetail.memorySettings.export.title": "Xuất bộ nhớ hiện tại",
- "agentDetail.memorySettings.notConfigured": "Chưa cấu hình",
- "agentDetail.memorySettings.scopeLabel": "Phạm vi bộ nhớ",
- "agentDetail.memorySettings.title": "Bộ nhớ",
"agentDetail.metadata.sourceLabel": "Nguồn",
"agentDetail.monitoring.change": "{{value}} so với kỳ trước",
"agentDetail.monitoring.dateRangeLabel": "Khoảng ngày",
diff --git a/web/i18n/zh-Hans/agent-v-2.json b/web/i18n/zh-Hans/agent-v-2.json
index 7aa268f2ad9..e7c840ebfcf 100644
--- a/web/i18n/zh-Hans/agent-v-2.json
+++ b/web/i18n/zh-Hans/agent-v-2.json
@@ -162,12 +162,7 @@
"agentDetail.configure.prompt.copy": "复制提示词",
"agentDetail.configure.prompt.copyFailed": "提示词复制失败。",
"agentDetail.configure.prompt.insert.label": "插入",
- "agentDetail.configure.prompt.insert.question": "开始问题",
- "agentDetail.configure.prompt.insert.reportFile": "输出报告文件",
- "agentDetail.configure.prompt.insert.tenders": "开始招标列表",
"agentDetail.configure.prompt.label": "提示词",
- "agentDetail.configure.prompt.mention.davidHayes": "David Hayes",
- "agentDetail.configure.prompt.mention.priyaRamanathan": "Priya Ramanathan",
"agentDetail.configure.prompt.placeholder": "在此编写指令,",
"agentDetail.configure.prompt.referenceMissing": "{{name}} 不存在",
"agentDetail.configure.prompt.richTip": "设定 Agent 的角色和工作方式。<docLink>了解更多</docLink>",
@@ -313,15 +308,6 @@
"agentDetail.logs.table.updatedTime": "更新时间",
"agentDetail.logs.table.userRate": "用户评分",
"agentDetail.logs.title": "日志",
- "agentDetail.memorySettings.budgetLabel": "记忆预算",
- "agentDetail.memorySettings.description": "当前活跃配置快照中的记忆设置。",
- "agentDetail.memorySettings.export.description": "记忆导出将在后续版本开放。",
- "agentDetail.memorySettings.export.download": "下载",
- "agentDetail.memorySettings.export.soon": "后续推出",
- "agentDetail.memorySettings.export.title": "导出当前记忆",
- "agentDetail.memorySettings.notConfigured": "未配置",
- "agentDetail.memorySettings.scopeLabel": "记忆范围",
- "agentDetail.memorySettings.title": "记忆",
"agentDetail.metadata.sourceLabel": "来源",
"agentDetail.monitoring.change": "较上一周期 {{value}}",
"agentDetail.monitoring.dateRangeLabel": "日期范围",
diff --git a/web/i18n/zh-Hant/agent-v-2.json b/web/i18n/zh-Hant/agent-v-2.json
index 22832f1a700..eea2b155aec 100644
--- a/web/i18n/zh-Hant/agent-v-2.json
+++ b/web/i18n/zh-Hant/agent-v-2.json
@@ -162,12 +162,7 @@
"agentDetail.configure.prompt.copy": "複製提示詞",
"agentDetail.configure.prompt.copyFailed": "提示詞複製失敗。",
"agentDetail.configure.prompt.insert.label": "插入",
- "agentDetail.configure.prompt.insert.question": "開始問題",
- "agentDetail.configure.prompt.insert.reportFile": "輸出報告檔案",
- "agentDetail.configure.prompt.insert.tenders": "開始招標清單",
"agentDetail.configure.prompt.label": "提示詞",
- "agentDetail.configure.prompt.mention.davidHayes": "David Hayes",
- "agentDetail.configure.prompt.mention.priyaRamanathan": "Priya Ramanathan",
"agentDetail.configure.prompt.placeholder": "在此編寫指令,",
"agentDetail.configure.prompt.referenceMissing": "{{name}} 不存在",
"agentDetail.configure.prompt.richTip": "設定 Agent 的角色和工作方式。<docLink>了解更多</docLink>",
@@ -313,15 +308,6 @@
"agentDetail.logs.table.updatedTime": "更新時間",
"agentDetail.logs.table.userRate": "使用者評分",
"agentDetail.logs.title": "日誌",
- "agentDetail.memorySettings.budgetLabel": "記憶預算",
- "agentDetail.memorySettings.description": "目前活躍設定快照中的記憶設定。",
- "agentDetail.memorySettings.export.description": "記憶匯出將在後續版本開放。",
- "agentDetail.memorySettings.export.download": "下載",
- "agentDetail.memorySettings.export.soon": "即將推出",
- "agentDetail.memorySettings.export.title": "匯出目前記憶",
- "agentDetail.memorySettings.notConfigured": "未設定",
- "agentDetail.memorySettings.scopeLabel": "記憶範圍",
- "agentDetail.memorySettings.title": "記憶",
"agentDetail.metadata.sourceLabel": "來源",
"agentDetail.monitoring.change": "較上一週期 {{value}}",
"agentDetail.monitoring.dateRangeLabel": "日期範圍",
diff --git a/web/test/console/state-fixture.ts b/web/test/console/state-fixture.ts
index 331069b7312..eab4e2a502c 100644
--- a/web/test/console/state-fixture.ts
+++ b/web/test/console/state-fixture.ts
@@ -15,7 +15,6 @@ export type ConsoleStateFixture = {
currentWorkspace?: Partial<GetWorkspacesCurrentSummaryResponse> | null
isCurrentWorkspaceManager?: boolean
isCurrentWorkspaceOwner?: boolean
- isCurrentWorkspaceEditor?: boolean
isCurrentWorkspaceDatasetOperator?: boolean
isLoadingCurrentWorkspace?: boolean
isLoadingWorkspacePermissionKeys?: boolean
@@ -43,7 +42,6 @@ const currentWorkspaceAtom = atom<GetWorkspacesCurrentSummaryResponse>(defaultCu
const currentWorkspaceIdAtom = atom((get) => get(currentWorkspaceAtom).id)
const isCurrentWorkspaceManagerAtom = atom(false)
const isCurrentWorkspaceOwnerAtom = atom(false)
-const isCurrentWorkspaceEditorAtom = atom(false)
const isCurrentWorkspaceDatasetOperatorAtom = atom(false)
const currentWorkspaceLoadingAtom = atom(false)
const refreshCurrentWorkspaceCallbackAtom = atom({ callback: () => {} })
@@ -80,7 +78,6 @@ export const seedRegisteredConsoleStateFixture = (store: JotaiStore) => {
})
store.set(isCurrentWorkspaceManagerAtom, state.isCurrentWorkspaceManager ?? false)
store.set(isCurrentWorkspaceOwnerAtom, state.isCurrentWorkspaceOwner ?? false)
- store.set(isCurrentWorkspaceEditorAtom, state.isCurrentWorkspaceEditor ?? false)
store.set(isCurrentWorkspaceDatasetOperatorAtom, state.isCurrentWorkspaceDatasetOperator ?? false)
store.set(currentWorkspaceLoadingAtom, state.isLoadingCurrentWorkspace ?? false)
store.set(workspacePermissionKeysAtom, state.workspacePermissionKeys ?? [])
@@ -110,7 +107,6 @@ export const createWorkspaceStateModuleMock = (getState: ConsoleStateFixtureReso
currentWorkspace: state.currentWorkspace,
isCurrentWorkspaceManager: state.isCurrentWorkspaceManager,
isCurrentWorkspaceOwner: state.isCurrentWorkspaceOwner,
- isCurrentWorkspaceEditor: state.isCurrentWorkspaceEditor,
isCurrentWorkspaceDatasetOperator: state.isCurrentWorkspaceDatasetOperator,
isLoadingCurrentWorkspace: state.isLoadingCurrentWorkspace,
refreshCurrentWorkspace: state.refreshCurrentWorkspace,
@@ -121,7 +117,6 @@ export const createWorkspaceStateModuleMock = (getState: ConsoleStateFixtureReso
currentWorkspaceIdAtom,
isCurrentWorkspaceManagerAtom,
isCurrentWorkspaceOwnerAtom,
- isCurrentWorkspaceEditorAtom,
isCurrentWorkspaceDatasetOperatorAtom,
currentWorkspaceLoadingAtom,
refreshCurrentWorkspaceAtom,