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.
Python agentagentic-aiagentic-frameworkagentic-workflowaiautomationclaudedeepseekgenaigptllmlow-codemcpnextjsno-codeopenaipythonskillsworkflow
fix(web): align app and agent export feedback (#44251)
yyhb5caf0b22b12
diff --git a/web/app/components/app-sidebar/app-info/__tests__/app-info-modals.spec.tsx b/web/app/components/app-sidebar/app-info/__tests__/app-info-modals.spec.tsxindex 31ac25d58ee..ea1fbf66a99 100644--- a/web/app/components/app-sidebar/app-info/__tests__/app-info-modals.spec.tsx+++ b/web/app/components/app-sidebar/app-info/__tests__/app-info-modals.spec.tsx@@ -26,8 +26,9 @@ vi.mock('@/app/components/app/use-export-app-dsl', () => ({useExportWorkflowAppDsl: () => ({exportWorkflowAppDsl: service.exportWorkflow,isExporting: false,+ reset: vi.fn(),}),- useExportAppDsl: () => ({ exportAppDsl: service.exportApp, isExporting: false }),+ useExportAppDsl: () => ({ exportAppDsl: service.exportApp, isExporting: false, reset: vi.fn() }),}))vi.mock('@/service/base', () => ({ request: (...args: unknown[]) => service.request(...args) }))vi.mock('@/app/components/workflow/collaboration/core/websocket-manager', () => ({@@ -180,6 +181,7 @@ it('submits the secret choice and keeps the export confirmation open after a faiappId: app.id,appName: app.name,includeSecret: true,+ feedback: 'dialog',}),)expect(dialog).toBeInTheDocument()diff --git a/web/app/components/app-sidebar/app-info/export-app-dialog.tsx b/web/app/components/app-sidebar/app-info/export-app-dialog.tsxindex 011ad0e7106..975407b96aa 100644--- a/web/app/components/app-sidebar/app-info/export-app-dialog.tsx+++ b/web/app/components/app-sidebar/app-info/export-app-dialog.tsx@@ -30,12 +30,26 @@ export function ExportAppDialog({ appDetail, open, onOpenChange }: ExportAppDialconst confirmLabelId = useId()const { t } = useTranslation(['workflow', 'common'])const [secrets, setSecrets] = useState<EnvironmentVariableItemResponse[]>([])- const { exportWorkflowAppDsl, isExporting: isChecking } = useExportWorkflowAppDsl()- const { exportAppDsl, isExporting } = useExportAppDsl()+ const {+ exportWorkflowAppDsl,+ isExporting: isChecking,+ errorMessage: checkError,+ reset: resetCheck,+ } = useExportWorkflowAppDsl()+ const {+ exportAppDsl,+ isExporting,+ errorMessage: exportError,+ reset: resetExport,+ } = useExportAppDsl()const isPending = isChecking || isExportingconst check = async () => {if (isPending) return- const result = await exportWorkflowAppDsl({ appId: appDetail.id, appName: appDetail.name })+ const result = await exportWorkflowAppDsl({+ appId: appDetail.id,+ appName: appDetail.name,+ feedback: 'dialog',+ })if (result.status === 'confirmation-required') setSecrets(result.secretEnvList)else if (result.status === 'downloaded') actionsRef.current?.close()}@@ -45,6 +59,7 @@ export function ExportAppDialog({ appDetail, open, onOpenChange }: ExportAppDialappId: appDetail.id,appName: appDetail.name,includeSecret,+ feedback: 'dialog',})if (result.status === 'downloaded') actionsRef.current?.close()}@@ -57,13 +72,18 @@ export function ExportAppDialog({ appDetail, open, onOpenChange }: ExportAppDialelse onOpenChange?.(nextOpen, details)}}onOpenChangeComplete={(nextOpen) => {- if (!nextOpen) setSecrets([])+ if (!nextOpen) {+ setSecrets([])+ resetCheck()+ resetExport()+ }}}><AlertDialogContent backdropProps={{ forceRender: true }}>{secrets.length > 0 ? (<ExportSecretsFormsecrets={secrets}+ errorMessage={exportError}isPending={isPending}onSubmit={(includeSecret) => {void download(includeSecret)@@ -79,6 +99,13 @@ export function ExportAppDialog({ appDetail, open, onOpenChange }: ExportAppDial{t(($) => $['sidebar.exportWarningDesc'], { ns: 'workflow' })}</AlertDialogDescription></AlertDialogHeader>+ {checkError && (+ <AlertDialogBody>+ <p role="alert" className="system-sm-regular text-text-destructive">+ {checkError}+ </p>+ </AlertDialogBody>+ )}<AlertDialogFooter><AlertDialogCancelButton disabled={isPending}>{t(($) => $['operation.cancel'], { ns: 'common' })}@@ -107,10 +134,12 @@ export function ExportAppDialog({ appDetail, open, onOpenChange }: ExportAppDialfunction ExportSecretsForm({secrets,+ errorMessage,isPending,onSubmit,}: {secrets: EnvironmentVariableItemResponse[]+ errorMessage?: stringisPending: booleanonSubmit: (includeSecret: boolean) => void}) {@@ -165,6 +194,11 @@ function ExportSecretsForm({{t(($) => $['env.export.checkbox'], { ns: 'workflow' })}</FieldLabel></Field>+ {errorMessage && (+ <p role="alert" className="mt-3 system-sm-regular text-text-destructive">+ {errorMessage}+ </p>+ )}</AlertDialogBody><AlertDialogFooter><AlertDialogCancelButton type="button" disabled={isPending}>diff --git a/web/app/components/app/__tests__/use-export-app-dsl.spec.tsx b/web/app/components/app/__tests__/use-export-app-dsl.spec.tsxindex d87ce91447b..106a46d9db8 100644--- a/web/app/components/app/__tests__/use-export-app-dsl.spec.tsx+++ b/web/app/components/app/__tests__/use-export-app-dsl.spec.tsx@@ -2,7 +2,10 @@ import type { ReactNode } from 'react'import { QueryClient, QueryClientProvider } from '@tanstack/react-query'import { act, render, renderHook, screen, waitFor } from '@testing-library/react'import userEvent from '@testing-library/user-event'+import { useState } from 'react'+import { ExportAppDialog } from '@/app/components/app-sidebar/app-info/export-app-dialog'import { createHttpError, httpErrorFromResponse } from '@/service/http-error'+import { createAppDetailFixture } from '@/test/fixtures/app'import AppExportConfirmModal from '../export-confirm-modal'import { useExportAppDsl, useExportWorkflowAppDsl } from '../use-export-app-dsl'@@ -33,24 +36,24 @@ const mocks = vi.hoisted(() => ({),}))-vi.mock('@/service/console', () => ({- consoleClient: {- apps: {- byAppId: {- export: {- get: mocks.exportAppDsl,- },- workflows: {- draft: {- environmentVariables: {- get: mocks.getEnvironmentVariables,+vi.mock('@/service/console', async () => {+ const { createTanstackQueryUtils } = await import('@orpc/tanstack-query')+ return {+ consoleQuery: createTanstackQueryUtils(+ {+ apps: {+ byAppId: {+ export: { get: mocks.exportAppDsl },+ workflows: {+ draft: { environmentVariables: { get: mocks.getEnvironmentVariables } },},},},},- },- },-}))+ { path: ['console'] },+ ),+ }+})vi.mock('@/utils/download', () => ({downloadBlob: mocks.downloadBlob,@@ -59,6 +62,7 @@ vi.mock('@/utils/download', () => ({vi.mock('@/app/notifications', () => ({toast: {error: mocks.toastError,+ success: mocks.toastSuccess,promise: mocks.toastPromise,},}))@@ -96,14 +100,20 @@ describe('useExportAppDsl', () => {.mockResolvedValueOnce(new File(['package'], 'app.ifpkg'))function ExportConfirmation() {- const { exportAppDsl, isExporting } = useExportAppDsl()+ const { exportAppDsl, isExporting, errorMessage } = useExportAppDsl()return (<AppExportConfirmModalenvList={[{ name: 'TOKEN', value: 'masked' }]}isExporting={isExporting}+ errorMessage={errorMessage}onClose={onClose}onConfirm={async (includeSecret) => {- const result = await exportAppDsl({ appId: 'app-1', appName: 'App', includeSecret })+ const result = await exportAppDsl({+ appId: 'app-1',+ appName: 'App',+ includeSecret,+ feedback: 'dialog',+ })return result.status === 'downloaded'}}/>@@ -124,16 +134,17 @@ describe('useExportAppDsl', () => {})expect(onClose).not.toHaveBeenCalled()expect(screen.getByRole('checkbox')).toBeChecked()- expect(mocks.toastError).toHaveBeenCalledExactlyOnceWith('app.exportAppFailed', {- description: 'Skill unavailable',- })+ expect(await screen.findByRole('alert')).toHaveTextContent('Skill unavailable')+ expect(mocks.toastError).not.toHaveBeenCalled()+ expect(mocks.toastPromise).not.toHaveBeenCalled()await user.click(await screen.findByRole('button', { name: 'app.exportSecret.title' }))await waitFor(() => expect(onClose).toHaveBeenCalledTimes(1))expect(mocks.exportAppDsl).toHaveBeenLastCalledWith(expect.objectContaining({ query: expect.objectContaining({ include_secret: true }) }),- { context: { silent: true } },+ expect.objectContaining({ context: expect.objectContaining({ silent: true }) }),)expect(mocks.downloadBlob).toHaveBeenCalledTimes(1)+ expect(mocks.toastSuccess).not.toHaveBeenCalled()})it.each([@@ -156,10 +167,10 @@ describe('useExportAppDsl', () => {).resolves.toEqual({ status: 'downloaded' })})- expect(mocks.toastSuccess).toHaveBeenCalledWith('app.exportAppSuccess')+ expect(mocks.toastSuccess).toHaveBeenCalledWith('app.ifpkgDownloaded')expect(mocks.exportAppDsl).toHaveBeenCalledWith({ params: { app_id: 'agent-app-id' }, query: { include_secret: false, format: 'ifpkg' } },- { context: { silent: true } },+ expect.objectContaining({ context: expect.objectContaining({ silent: true }) }),)expect(mocks.downloadBlob).toHaveBeenCalledWith({ data: archive, fileName })const [{ data }] = mocks.downloadBlob.mock.calls[0] as [{ data: Blob }]@@ -194,7 +205,7 @@ describe('useExportAppDsl', () => {format: 'ifpkg',},},- { context: { silent: true } },+ expect.objectContaining({ context: expect.objectContaining({ silent: true }) }),)expect(mocks.downloadBlob).toHaveBeenCalledWith({data: archive,@@ -203,6 +214,28 @@ describe('useExportAppDsl', () => {expect(mocks.getEnvironmentVariables).not.toHaveBeenCalled()})+ it('fetches a fresh file on each export and releases the file query afterward', async () => {+ const first = new File(['first'], 'first.ifpkg')+ const second = new File(['second'], 'second.ifpkg')+ mocks.exportAppDsl.mockResolvedValueOnce(first).mockResolvedValueOnce(second)+ const queryClient = new QueryClient({ defaultOptions: { queries: { staleTime: Infinity } } })+ const { result } = renderHook(() => useExportAppDsl(), {+ wrapper: ({ children }) => (+ <QueryClientProvider client={queryClient}>{children}</QueryClientProvider>+ ),+ })+ const input = { appId: 'app-1', appName: 'App' }+ await act(async () => {+ await result.current.exportAppDsl(input)+ })+ await act(async () => {+ await result.current.exportAppDsl(input)+ })+ expect(mocks.exportAppDsl).toHaveBeenCalledTimes(2)+ expect(mocks.downloadBlob).toHaveBeenLastCalledWith({ data: second, fileName: 'second.ifpkg' })+ await waitFor(() => expect(queryClient.getQueryCache().getAll()).toHaveLength(0))+ })+it('allows retrying a failed version export and downloads only the successful response', async () => {const archive = new File(['published agent package'], 'published-agent.ifpkg', {type: 'application/zip',@@ -232,7 +265,7 @@ describe('useExportAppDsl', () => {params: { app_id: input.appId },query: { include_secret: false, version_id: input.versionId },},- { context: { silent: true } },+ expect.objectContaining({ context: expect.objectContaining({ silent: true }) }),)expect(mocks.downloadBlob).toHaveBeenCalledTimes(1)expect(mocks.downloadBlob).toHaveBeenCalledWith({@@ -249,7 +282,7 @@ describe('useExportAppDsl', () => {await act(async () => {await result.current.exportAppDsl({ appId: 'app-id', appName: 'App' })})- expect(mocks.toastError).toHaveBeenCalledExactlyOnceWith('app.exportAppFailed', {+ expect(mocks.toastError).toHaveBeenCalledExactlyOnceWith('app.exportFailed', {description: 'HTTP 502',})expect(mocks.downloadBlob).not.toHaveBeenCalled()@@ -271,7 +304,7 @@ describe('useExportAppDsl', () => {params: { app_id: '4f6ae8f8-86c8-4ec8-82ef-e27f5932692b' },query: { include_secret: false },},- { context: { silent: true } },+ expect.objectContaining({ context: expect.objectContaining({ silent: true }) }),)expect(mocks.toastPromise).toHaveBeenCalledTimes(1)expect(mocks.getEnvironmentVariables).not.toHaveBeenCalled()@@ -351,10 +384,9 @@ describe('useExportAppDsl', () => {error: expect.any(Function),}),)- expect(mocks.toastError).toHaveBeenCalledExactlyOnceWith(- format === 'yaml' ? 'app.exportFailed' : 'app.exportAppFailed',- { description: "Package contains unusable Skill 'news-source-verification'" },- )+ expect(mocks.toastError).toHaveBeenCalledExactlyOnceWith('app.exportFailed', {+ description: "Package contains unusable Skill 'news-source-verification'",+ })expect(mocks.downloadBlob).not.toHaveBeenCalled()},)@@ -365,6 +397,44 @@ describe('useExportWorkflowAppDsl', () => {vi.clearAllMocks()})+ it('keeps dialog feedback inline through checking, failure, reopening and retry', async () => {+ const user = userEvent.setup()+ const app = createAppDetailFixture({ name: 'Workflow', mode: 'workflow' })+ mocks.getEnvironmentVariables+ .mockRejectedValueOnce(new Error('Draft unavailable'))+ .mockResolvedValue({ items: [] })+ mocks.exportAppDsl+ .mockRejectedValueOnce(new Error('Export unavailable'))+ .mockResolvedValueOnce(new File(['package'], 'workflow.ifpkg'))++ function ExportEntry() {+ const [open, setOpen] = useState(true)+ return (+ <>+ <button onClick={() => setOpen(true)}>Reopen</button>+ <ExportAppDialog appDetail={app} open={open} onOpenChange={setOpen} />+ </>+ )+ }++ render(<ExportEntry />, { wrapper: createWrapper() })+ await user.click(screen.getByRole('button', { name: 'common.operation.confirm' }))+ expect(await screen.findByRole('alert')).toHaveTextContent('Draft unavailable')+ expect(mocks.exportAppDsl).not.toHaveBeenCalled()+ await user.click(screen.getByRole('button', { name: 'common.operation.cancel' }))+ await waitFor(() => expect(screen.queryByRole('alertdialog')).not.toBeInTheDocument())+ await user.click(screen.getByRole('button', { name: 'Reopen' }))+ expect(screen.queryByRole('alert')).not.toBeInTheDocument()+ await user.click(screen.getByRole('button', { name: 'common.operation.confirm' }))+ expect(await screen.findByRole('alert')).toHaveTextContent('Export unavailable')+ expect(mocks.toastPromise).not.toHaveBeenCalled()+ expect(mocks.toastError).not.toHaveBeenCalled()+ await user.click(screen.getByRole('button', { name: 'common.operation.confirm' }))+ await waitFor(() => expect(screen.queryByRole('alertdialog')).not.toBeInTheDocument())+ expect(mocks.toastSuccess).not.toHaveBeenCalled()+ expect(mocks.downloadBlob).toHaveBeenCalledTimes(1)+ })+it('checks generated workflow environment variables before exporting', async () => {mocks.getEnvironmentVariables.mockResolvedValue({ items: [] })mocks.exportAppDsl.mockResolvedValue({ data: 'kind: app\n' })@@ -381,7 +451,7 @@ describe('useExportWorkflowAppDsl', () => {expect(mocks.getEnvironmentVariables).toHaveBeenCalledWith({ params: { app_id: 'workflow-app-id' } },- { context: { silent: true } },+ expect.objectContaining({ context: expect.objectContaining({ silent: true }) }),)expect(mocks.getEnvironmentVariables.mock.invocationCallOrder[0]).toBeLessThan(mocks.exportAppDsl.mock.invocationCallOrder[0]!,@@ -392,6 +462,30 @@ describe('useExportWorkflowAppDsl', () => {})})+ it('checks secrets again on a later export instead of reusing the previous environment list', async () => {+ mocks.getEnvironmentVariables+ .mockResolvedValueOnce({ items: [] })+ .mockResolvedValueOnce({ items: [{ name: 'TOKEN', value_type: 'secret', value: 'secret' }] })+ mocks.exportAppDsl.mockResolvedValue(new File(['package'], 'app.ifpkg'))+ const queryClient = new QueryClient({ defaultOptions: { queries: { staleTime: Infinity } } })+ const { result } = renderHook(() => useExportWorkflowAppDsl(), {+ wrapper: ({ children }) => (+ <QueryClientProvider client={queryClient}>{children}</QueryClientProvider>+ ),+ })+ const input = { appId: 'app-1', appName: 'App' }+ await act(async () => {+ await result.current.exportWorkflowAppDsl(input)+ })+ await act(async () => {+ await expect(result.current.exportWorkflowAppDsl(input)).resolves.toMatchObject({+ status: 'confirmation-required',+ })+ })+ expect(mocks.getEnvironmentVariables).toHaveBeenCalledTimes(2)+ expect(mocks.exportAppDsl).toHaveBeenCalledTimes(1)+ })+it('returns generated secret variables without starting a download', async () => {const secretEnvList = [{@@ -417,6 +511,8 @@ describe('useExportWorkflowAppDsl', () => {expect(mocks.exportAppDsl).not.toHaveBeenCalled()expect(mocks.toastPromise).not.toHaveBeenCalled()+ expect(mocks.toastSuccess).not.toHaveBeenCalled()+ expect(mocks.toastError).not.toHaveBeenCalled()})it('owns workflow preflight errors without starting a download', async () => {@@ -434,13 +530,38 @@ describe('useExportWorkflowAppDsl', () => {).resolves.toEqual({ status: 'failed' })})- expect(mocks.toastError).toHaveBeenCalledWith('app.exportAppFailed', {+ expect(mocks.toastError).toHaveBeenCalledExactlyOnceWith('app.exportFailed', {description: 'Draft unavailable',})+ expect(mocks.toastPromise).not.toHaveBeenCalled()expect(mocks.exportAppDsl).not.toHaveBeenCalled()})- it('keeps one pending lifecycle across the draft check and export', async () => {+ it('reports an export failure once after a successful secret check', async () => {+ mocks.getEnvironmentVariables.mockResolvedValue({ items: [] })+ mocks.exportAppDsl.mockRejectedValue(new Error('Export unavailable'))+ const { result } = renderHook(() => useExportWorkflowAppDsl(), {+ wrapper: createWrapper(),+ })++ await act(async () => {+ await expect(+ result.current.exportWorkflowAppDsl({+ appId: 'workflow-app-id',+ appName: 'Support Workflow',+ }),+ ).resolves.toEqual({ status: 'failed' })+ })++ expect(mocks.toastPromise).toHaveBeenCalledTimes(1)+ expect(mocks.toastError).toHaveBeenCalledExactlyOnceWith('app.exportFailed', {+ description: 'Export unavailable',+ })+ expect(mocks.toastSuccess).not.toHaveBeenCalled()+ expect(mocks.downloadBlob).not.toHaveBeenCalled()+ })++ it('stays pending across both stages but only shows a toast for the export', async () => {let resolveEnvironmentVariables: ((value: { items: [] }) => void) | undefinedlet resolveExport: ((value: { data: string }) => void) | undefinedmocks.getEnvironmentVariables.mockImplementation(@@ -470,17 +591,27 @@ describe('useExportWorkflowAppDsl', () => {await waitFor(() => expect(result.current.isExporting).toBe(true))expect(mocks.exportAppDsl).not.toHaveBeenCalled()+ expect(mocks.toastPromise).not.toHaveBeenCalled()+ expect(mocks.toastSuccess).not.toHaveBeenCalled()+ expect(mocks.toastError).not.toHaveBeenCalled()await act(async () => {resolveEnvironmentVariables?.({ items: [] })await waitFor(() => expect(mocks.exportAppDsl).toHaveBeenCalledTimes(1))})expect(result.current.isExporting).toBe(true)+ expect(mocks.toastPromise).toHaveBeenCalledWith(+ expect.any(Promise),+ expect.objectContaining({ loading: { title: 'common.operation.exporting' } }),+ )await act(async () => {resolveExport?.({ data: 'kind: app\n' })await exportPromise})await waitFor(() => expect(result.current.isExporting).toBe(false))+ expect(mocks.toastSuccess).toHaveBeenCalledExactlyOnceWith('common.operation.downloadSuccess')+ expect(mocks.toastPromise).toHaveBeenCalledTimes(1)+ expect(mocks.toastError).not.toHaveBeenCalled()})})diff --git a/web/app/components/app/export-confirm-modal.tsx b/web/app/components/app/export-confirm-modal.tsxindex 057eb405532..6e6e70e1df4 100644--- a/web/app/components/app/export-confirm-modal.tsx+++ b/web/app/components/app/export-confirm-modal.tsx@@ -21,6 +21,7 @@ type AppExportConfirmModalProps = {envList: Pick<EnvironmentVariableItemResponse, 'name' | 'value'>[]onConfirm: (includeSecret: boolean) => Promise<boolean>isExporting: boolean+ errorMessage?: stringonClose: () => void}@@ -29,6 +30,7 @@ const AppExportConfirmContent = ({onConfirm,onClose,isExporting,+ errorMessage,}: AppExportConfirmModalProps) => {const { t } = useTranslation(['app', 'workflow', 'common'])@@ -119,6 +121,11 @@ const AppExportConfirmContent = ({{t(($) => $['env.export.checkbox'], { ns: 'workflow' })}</span></label>+ {errorMessage && (+ <p role="alert" className="mt-3 system-sm-regular text-text-destructive">+ {errorMessage}+ </p>+ )}</AlertDialogBody><AlertDialogFooter><AlertDialogCancelButton disabled={isExporting}>diff --git a/web/app/components/app/use-export-app-dsl.ts b/web/app/components/app/use-export-app-dsl.tsindex f4cf1ad54b9..ecb8ea6e570 100644--- a/web/app/components/app/use-export-app-dsl.ts+++ b/web/app/components/app/use-export-app-dsl.ts@@ -4,11 +4,12 @@ import type {EnvironmentVariableItemResponse,GetAppsByAppIdExportData,} from '@dify/contracts/api/console/apps/types.gen'-import { useMutation } from '@tanstack/react-query'+import type { QueryClient } from '@tanstack/react-query'+import { useMutation, useQueryClient } from '@tanstack/react-query'import { useCallback } from 'react'import { useTranslation } from 'react-i18next'import { toast } from '@/app/notifications'-import { consoleClient } from '@/service/console'+import { consoleQuery } from '@/service/console'import { downloadBlob } from '@/utils/download'import { getErrorMessage } from '@/utils/error-message'@@ -19,20 +20,13 @@ type ExportAppDslInput = {versionId?: stringformat?: NonNullable<GetAppsByAppIdExportData['query']>['format']workflowId?: string+ feedback?: 'toast' | 'dialog'}-type ExportWorkflowAppDslInput = Pick<ExportAppDslInput, 'appId' | 'appName'>+type ExportWorkflowAppDslInput = Pick<ExportAppDslInput, 'appId' | 'appName' | 'feedback'>type ExportAppDslResult = { status: 'downloaded' } | { status: 'failed' }-type ExportAppDslMessages = {- loading: string- success: string- error: string- packageSuccess: string- packageError: string-}-export type ExportWorkflowAppDslResult =| ExportAppDslResult| {@@ -40,33 +34,36 @@ export type ExportWorkflowAppDslResult =secretEnvList: EnvironmentVariableItemResponse[]}-async function getSecretEnvironmentVariables(appId: string) {- const { items } = await consoleClient.apps.byAppId.workflows.draft.environmentVariables.get(- { params: { app_id: appId } },- { context: { silent: true } },+async function getSecretEnvironmentVariables(queryClient: QueryClient, appId: string) {+ const { items } = await queryClient.query(+ consoleQuery.apps.byAppId.workflows.draft.environmentVariables.get.queryOptions({+ input: { params: { app_id: appId } },+ context: { silent: true },+ staleTime: 0,+ }),)return items.filter((environmentVariable) => environmentVariable.value_type === 'secret')}-export async function exportAppDslFile({- appId,- appName,- includeSecret = false,- workflowId,- versionId,- format,-}: ExportAppDslInput) {- const response = await consoleClient.apps.byAppId.export.get(- {- params: { app_id: appId },- query: {- include_secret: includeSecret,- ...(workflowId ? { workflow_id: workflowId } : {}),- ...(versionId ? { version_id: versionId } : {}),- ...(format && { format }),+export async function exportAppDslFile(+ queryClient: QueryClient,+ { appId, appName, includeSecret = false, workflowId, versionId, format }: ExportAppDslInput,+) {+ const response = await queryClient.query(+ consoleQuery.apps.byAppId.export.get.queryOptions({+ input: {+ params: { app_id: appId },+ query: {+ include_secret: includeSecret,+ ...(workflowId ? { workflow_id: workflowId } : {}),+ ...(versionId ? { version_id: versionId } : {}),+ ...(format && { format }),+ },},- },- { context: { silent: true } },+ context: { silent: true },+ staleTime: 0,+ gcTime: 0,+ }),)if (response instanceof Blob) {@@ -85,24 +82,6 @@ export async function exportAppDslFile({return 'yaml' as const}-async function downloadAppDsl(input: ExportAppDslInput, messages: ExportAppDslMessages) {- await toast.promise(exportAppDslFile(input), {- loading: {- title: messages.loading,- },- success: (format) => ({- title: format === 'ifpkg' ? messages.packageSuccess : messages.success,- timeout: 3000,- }),- error: (error) => ({- title: input.format === 'yaml' ? messages.error : messages.packageError,- description: getErrorMessage(error),- }),- })-- return { status: 'downloaded' } as const-}-function useExportAppDslMessages() {const { t: tApp } = useTranslation(['app'])const { t: tCommon } = useTranslation(['common'])@@ -111,17 +90,40 @@ function useExportAppDslMessages() {loading: tCommon(($) => $['operation.exporting']),success: tCommon(($) => $['operation.downloadSuccess']),error: tApp(($) => $.exportFailed),- packageSuccess: tApp(($) => $.exportAppSuccess),- packageError: tApp(($) => $.exportAppFailed),+ packageSuccess: tApp(($) => $.ifpkgDownloaded),+ }+}++async function downloadAppDsl(+ queryClient: QueryClient,+ input: ExportAppDslInput,+ messages: ReturnType<typeof useExportAppDslMessages>,+): Promise<ExportAppDslResult> {+ const download = exportAppDslFile(queryClient, input)+ if (input.feedback === 'dialog') {+ await download+ } else {+ await toast.promise(download, {+ loading: { title: messages.loading },+ success: (format) => ({+ title: format === 'ifpkg' ? messages.packageSuccess : messages.success,+ timeout: 3000,+ }),+ error: (error) => ({+ title: messages.error,+ description: getErrorMessage(error),+ }),+ })}+ return { status: 'downloaded' }}/** Exports Agent, Chat, and Completion apps without reading a workflow draft. */export function useExportAppDsl() {const messages = useExportAppDslMessages()- const { mutateAsync, isPending } = useMutation({- mutationFn: (input: ExportAppDslInput): Promise<ExportAppDslResult> =>- downloadAppDsl(input, messages),+ const queryClient = useQueryClient()+ const { mutateAsync, isPending, error, reset } = useMutation({+ mutationFn: (input: ExportAppDslInput) => downloadAppDsl(queryClient, input, messages),})const exportAppDsl = useCallback(@@ -138,29 +140,31 @@ export function useExportAppDsl() {return {exportAppDsl,isExporting: isPending,+ errorMessage: error ? (getErrorMessage(error) ?? messages.error) : undefined,+ reset,}}/** Checks Workflow and Advanced Chat secrets before exporting their DSL. */export function useExportWorkflowAppDsl() {const messages = useExportAppDslMessages()- const { mutateAsync, isPending } = useMutation({+ const queryClient = useQueryClient()+ const { mutateAsync, isPending, error, reset } = useMutation({mutationFn: async (input: ExportWorkflowAppDslInput): Promise<ExportWorkflowAppDslResult> => {let secretEnvList: EnvironmentVariableItemResponse[]try {- secretEnvList = await getSecretEnvironmentVariables(input.appId)+ secretEnvList = await getSecretEnvironmentVariables(queryClient, input.appId)} catch (error) {- toast.error(messages.packageError, { description: getErrorMessage(error) })+ if (input.feedback !== 'dialog') {+ toast.error(messages.error, { description: getErrorMessage(error) })+ }throw error}- if (secretEnvList.length > 0)- return {- status: 'confirmation-required',- secretEnvList,- }-- return downloadAppDsl(input, messages)+ if (secretEnvList.length > 0) {+ return { status: 'confirmation-required', secretEnvList }+ }+ return downloadAppDsl(queryClient, input, messages)},})@@ -178,5 +182,7 @@ export function useExportWorkflowAppDsl() {return {exportWorkflowAppDsl,isExporting: isPending,+ errorMessage: error ? (getErrorMessage(error) ?? messages.error) : undefined,+ reset,}}diff --git a/web/app/components/apps/__tests__/app-card.spec.tsx b/web/app/components/apps/__tests__/app-card.spec.tsxindex 341d0ef87b1..07879d4667e 100644--- a/web/app/components/apps/__tests__/app-card.spec.tsx+++ b/web/app/components/apps/__tests__/app-card.spec.tsx@@ -18,6 +18,7 @@ const mockUserCanAccessApp = vi.hoisted(() => ({}))const mockAppDslExport = vi.hoisted(() => ({exportAppDsl: vi.fn(),+ reset: vi.fn(),isExporting: false,}))const mockWorkflowAppDslExport = vi.hoisted(() => ({@@ -1206,13 +1207,21 @@ describe('AppCard', () => {})})- it('should prevent duplicate exports while an app DSL export is pending', () => {+ it('keeps other menu actions available while preventing duplicate exports', async () => {mockAppDslExport.isExporting = truerender(<AppCard app={mockApp} />)- const trigger = screen.getByRole('button', { name: 'common.operation.exporting' })-- expect(trigger).toBeDisabled()+ const trigger = getOperationsTrigger()+ expect(trigger).not.toBeDisabled()+ fireEvent.click(trigger)+ const exportItem = await screen.findByRole('menuitem', { name: 'app.exportApp' })+ expect(exportItem).toHaveAttribute('aria-disabled', 'true')+ expect(screen.getByRole('menuitem', { name: 'app.editApp' })).not.toHaveAttribute(+ 'aria-disabled',+ 'true',+ )+ fireEvent.click(exportItem)+ expect(mockAppDslExport.exportAppDsl).not.toHaveBeenCalled()})})diff --git a/web/app/components/apps/app-card/interactions.tsx b/web/app/components/apps/app-card/interactions.tsxindex 831b755d161..a6fb651e04f 100644--- a/web/app/components/apps/app-card/interactions.tsx+++ b/web/app/components/apps/app-card/interactions.tsx@@ -296,7 +296,12 @@ export function AppCardInteractions({const isOperationsMenuOpen = operationsMenu.openconst setIsOperationsMenuOpen = operationsMenu.onOpenChangeconst [secretEnvList, setSecretEnvList] = useState<EnvironmentVariableItemResponse[]>([])- const { exportAppDsl, isExporting: isAppDslExporting } = useExportAppDsl()+ const {+ exportAppDsl,+ isExporting: isAppDslExporting,+ errorMessage: exportError,+ reset: resetExport,+ } = useExportAppDsl()const { exportWorkflowAppDsl, isExporting: isWorkflowAppDslExporting } = useExportWorkflowAppDsl()const isExporting = isAppDslExporting || isWorkflowAppDslExportingconst isTogglingStar = isStarring || isUnstarring@@ -469,13 +474,19 @@ export function AppCardInteractions({}const onExport = async (include = false) => {- const result = await exportAppDsl({ appId: app.id, appName: app.name, includeSecret: include })+ const result = await exportAppDsl({+ appId: app.id,+ appName: app.name,+ includeSecret: include,+ feedback: 'dialog',+ })return result.status === 'downloaded'}const exportCheck = async () => {if (isExporting) return+ resetExport()setIsOperationsMenuOpen(false)const isWorkflowApp = app.mode === 'workflow' || app.mode === 'advanced-chat'const result = isWorkflowApp@@ -605,26 +616,13 @@ export function AppCardInteractions({render={<IconButtonsize="lg"- aria-label={- isExporting- ? t(($) => $['operation.exporting'], { ns: 'common' })- : t(($) => $['operation.moreActionsFor'], {- ns: 'common',- name: app.name,- })- }- disabled={isExporting}+ aria-label={t(($) => $['operation.moreActionsFor'], {+ ns: 'common',+ name: app.name,+ })}className="data-popup-open:bg-state-base-hover">- <span- aria-hidden- className={cn(- 'size-4.5 text-text-tertiary',- isExporting- ? 'i-ri-loader-2-line animate-spin motion-reduce:animate-none'- : 'i-ri-more-fill',- )}- />+ <span aria-hidden className="i-ri-more-fill size-4.5 text-text-tertiary" /></IconButton>}/>@@ -743,6 +741,7 @@ export function AppCardInteractions({{secretEnvList.length > 0 && (<AppExportConfirmModalenvList={secretEnvList}+ errorMessage={exportError}isExporting={isExporting}onConfirm={onExport}onClose={() => setSecretEnvList([])}diff --git a/web/app/components/workflow-app/hooks/__tests__/use-DSL.spec.ts b/web/app/components/workflow-app/hooks/__tests__/use-DSL.spec.tsindex 2ab099dad65..7d3ad32e7f6 100644--- a/web/app/components/workflow-app/hooks/__tests__/use-DSL.spec.ts+++ b/web/app/components/workflow-app/hooks/__tests__/use-DSL.spec.ts@@ -69,23 +69,35 @@ vi.mock('../use-nodes-sync-draft', () => ({}),}))-vi.mock('@/service/console', async (importOriginal) => ({- ...(await importOriginal<typeof import('@/service/console')>()),- consoleClient: {- apps: {- byAppId: {- export: { get: (...args: unknown[]) => mockExportAppConfig(...args) },- workflows: {- draft: {- environmentVariables: {- get: (...args: unknown[]) => mockFetchEnvironmentVariables(...args),+vi.mock('@/service/console', async (importOriginal) => {+ const actual = await importOriginal<typeof import('@/service/console')>()+ const { createTanstackQueryUtils } = await import('@orpc/tanstack-query')+ return {+ consoleQuery: new Proxy(actual.consoleQuery, {+ get(target, property) {+ if (property !== 'apps') return Reflect.get(target, property)+ return createTanstackQueryUtils(+ {+ apps: {+ byAppId: {+ get: () => new Promise(() => {}),+ export: { get: (...args: unknown[]) => mockExportAppConfig(...args) },+ workflows: {+ draft: {+ environmentVariables: {+ get: (...args: unknown[]) => mockFetchEnvironmentVariables(...args),+ },+ },+ },+ },},},- },+ { path: ['console'] },+ ).apps},- },- },-}))+ }),+ }+})vi.mock('@/utils/download', () => ({downloadBlob: (...args: unknown[]) => mockDownloadBlob(...args),@@ -166,7 +178,7 @@ describe('useDSLByCanEdit', () => {expect(mockExportAppConfig).not.toHaveBeenCalled()expect(mockDownloadBlob).not.toHaveBeenCalled()expect(toastMocks.call).toHaveBeenCalledTimes(1)- expect(toastMocks.call).toHaveBeenCalledWith({ type: 'error', message: 'app.exportAppFailed' })+ expect(toastMocks.call).toHaveBeenCalledWith({ type: 'error', message: 'app.exportFailed' })})it('allows export when draft synchronization is skipped for read-only access', async () => {@@ -196,7 +208,7 @@ describe('useDSLByCanEdit', () => {params: { app_id: 'app-1' },query: { include_secret: true, workflow_id: 'revision-1' },},- { context: { silent: true } },+ expect.objectContaining({ context: expect.objectContaining({ silent: true }) }),)expect(mockDoSyncWorkflowDraft).not.toHaveBeenCalled()expect(mockDownloadBlob).toHaveBeenCalledWith({ data: file, fileName: 'workflow.ifpkg' })@@ -214,7 +226,7 @@ describe('useDSLByCanEdit', () => {expect(mockFetchEnvironmentVariables).toHaveBeenCalledWith({ params: { app_id: 'app-1' } },- { context: { silent: true } },+ expect.objectContaining({ context: expect.objectContaining({ silent: true }) }),)expect(mockDoSyncWorkflowDraft).toHaveBeenCalled()expect(mockExportAppConfig).toHaveBeenCalledWith(@@ -222,7 +234,7 @@ describe('useDSLByCanEdit', () => {params: { app_id: 'app-1' },query: { include_secret: false, workflow_id: undefined },},- { context: { silent: true } },+ expect.objectContaining({ context: expect.objectContaining({ silent: true }) }),)expect(mockDownloadBlob).toHaveBeenCalledWith(expect.objectContaining({@@ -279,7 +291,7 @@ workflow:params: { app_id: 'app-1' },query: { include_secret: true, workflow_id: 'workflow-1' },},- { context: { silent: true } },+ expect.objectContaining({ context: expect.objectContaining({ silent: true }) }),)})@@ -326,7 +338,7 @@ workflow:await waitFor(() => {expect(toastMocks.call).toHaveBeenCalledWith({type: 'error',- message: 'app.exportAppFailed',+ message: 'app.exportFailed',description: 'Package contains unusable Skill',})})@@ -347,7 +359,7 @@ workflow:await waitFor(() => {expect(toastMocks.call).toHaveBeenCalledWith({type: 'error',- message: 'app.exportAppFailed',+ message: 'app.exportFailed',description: 'draft fetch failed',})})diff --git a/web/app/components/workflow-app/hooks/use-DSL.ts b/web/app/components/workflow-app/hooks/use-DSL.tsindex 269e19bf5e9..238167cc25e 100644--- a/web/app/components/workflow-app/hooks/use-DSL.ts+++ b/web/app/components/workflow-app/hooks/use-DSL.ts@@ -1,6 +1,6 @@import type { useNodesSyncDraft } from './use-nodes-sync-draft'import type { ExportSecretEnvironmentEvent } from '@/app/components/workflow/export-secret-env-event'-import { useMutation, useQuery } from '@tanstack/react-query'+import { useMutation, useQuery, useQueryClient } from '@tanstack/react-query'import { useAtomValue } from 'jotai'import { useCallback } from 'react'import { useTranslation } from 'react-i18next'@@ -9,7 +9,7 @@ import { DSL_EXPORT_CHECK } from '@/app/components/workflow/constants'import { workflowAppIdentityAtom } from '@/app/components/workflow/editor-resource/state'import { toast } from '@/app/notifications'import { useEventEmitterContextContext } from '@/context/event-emitter'-import { consoleClient, consoleQuery } from '@/service/console'+import { consoleQuery } from '@/service/console'import { getErrorMessage } from '@/utils/error-message'import { useNodesSyncDraftByCanEdit } from './use-nodes-sync-draft'@@ -17,6 +17,7 @@ type DoSyncWorkflowDraft = ReturnType<typeof useNodesSyncDraft>['doSyncWorkflowDconst useDSLBase = (doSyncWorkflowDraft: DoSyncWorkflowDraft) => {const { t } = useTranslation(['app'])+ const queryClient = useQueryClient()const { eventEmitter } = useEventEmitterContextContext()const { appId } = useAtomValue(workflowAppIdentityAtom)@@ -38,12 +39,12 @@ const useDSLBase = (doSyncWorkflowDraft: DoSyncWorkflowDraft) => {},})if (syncFailed) {- toast.error(t(($) => $.exportAppFailed, { ns: 'app' }))+ toast.error(t(($) => $.exportFailed, { ns: 'app' }))return false}}- await exportAppDslFile({+ await exportAppDslFile(queryClient, {appId: appDetail.id,appName: appDetail.name,includeSecret: include,@@ -61,7 +62,7 @@ const useDSLBase = (doSyncWorkflowDraft: DoSyncWorkflowDraft) => {return await exportWorkflow({ include, workflowId })} catch (error) {toast.error(- t(($) => $.exportAppFailed, { ns: 'app' }),+ t(($) => $.exportFailed, { ns: 'app' }),{ description: getErrorMessage(error) },)return false@@ -73,9 +74,12 @@ const useDSLBase = (doSyncWorkflowDraft: DoSyncWorkflowDraft) => {const exportCheck = useCallback(async () => {if (!appDetail) returntry {- const { items } = await consoleClient.apps.byAppId.workflows.draft.environmentVariables.get(- { params: { app_id: appDetail.id } },- { context: { silent: true } },+ const { items } = await queryClient.query(+ consoleQuery.apps.byAppId.workflows.draft.environmentVariables.get.queryOptions({+ input: { params: { app_id: appDetail.id } },+ context: { silent: true },+ staleTime: 0,+ }),)const list = items.filter((env) => env.value_type === 'secret')if (list.length === 0) {@@ -90,13 +94,13 @@ const useDSLBase = (doSyncWorkflowDraft: DoSyncWorkflowDraft) => {} satisfies ExportSecretEnvironmentEvent)} catch (error) {toast.error(- t(($) => $.exportAppFailed, { ns: 'app' }),+ t(($) => $.exportFailed, { ns: 'app' }),{description: getErrorMessage(error),},)}- }, [appDetail, eventEmitter, handleExportDSL, t])+ }, [appDetail, eventEmitter, handleExportDSL, queryClient, t])return {exportCheck,diff --git a/web/features/agent-v2/agent-detail/__tests__/navigation.spec.tsx b/web/features/agent-v2/agent-detail/__tests__/navigation.spec.tsxindex b5798a2e52b..b33f44630ce 100644--- a/web/features/agent-v2/agent-detail/__tests__/navigation.spec.tsx+++ b/web/features/agent-v2/agent-detail/__tests__/navigation.spec.tsx@@ -203,7 +203,7 @@ describe('AgentDetailSection', () => {expect(screen.getAllByRole('menuitem').map((item) => item.textContent)).toEqual(['agentRoster.roster.editInfo','common.operation.duplicate',- 'app.exportApp',+ 'agentV2.exportAgent','common.operation.delete',])})@@ -213,7 +213,7 @@ describe('AgentDetailSection', () => {renderAgentDetailSection()await user.click(screen.getByRole('button', { name: /agentRoster\.roster\.moreActions/ }))- await user.click(screen.getByRole('menuitem', { name: 'app.exportApp' }))+ await user.click(screen.getByRole('menuitem', { name: 'agentV2.exportAgent' }))expect(mocks.exportAppDsl).toHaveBeenCalledWith({format: 'ifpkg',diff --git a/web/features/agent-v2/agent-detail/configure/components/preview/__tests__/versions-panel.spec.tsx b/web/features/agent-v2/agent-detail/configure/components/preview/__tests__/versions-panel.spec.tsxindex 286115bf5b9..563c14d8392 100644--- a/web/features/agent-v2/agent-detail/configure/components/preview/__tests__/versions-panel.spec.tsx+++ b/web/features/agent-v2/agent-detail/configure/components/preview/__tests__/versions-panel.spec.tsx@@ -125,7 +125,7 @@ describe('AgentPreviewVersionsPanel', () => {const user = userEvent.setup()const onSelectVersion = renderPanel()await user.click(screen.getByRole('button', { name: /moreActions.*Initial release/ }))- await user.click(screen.getByRole('menuitem', { name: /export/i }))+ await user.click(screen.getByRole('menuitem', { name: /agentV2\.exportAgent/ }))expect(exportState.exportAppDsl).toHaveBeenCalledWith({appId: 'app-1',appName: 'My agent',@@ -146,7 +146,7 @@ describe('AgentPreviewVersionsPanel', () => {const user = userEvent.setup()renderPanel()await user.click(screen.getByRole('button', { name: /moreActions.*Initial release/ }))- await user.click(screen.getByRole('menuitem', { name: /export/i }))+ await user.click(screen.getByRole('menuitem', { name: /agentV2\.exportAgent/ }))expect(exportState.onUrlUpdate).toHaveBeenCalledWith(expect.objectContaining({ queryString: '?pricing=open' }),)@@ -161,7 +161,7 @@ describe('AgentPreviewVersionsPanel', () => {const user = userEvent.setup()renderPanel()await user.click(screen.getByRole('button', { name: /moreActions.*Initial release/ }))- await user.click(screen.getByRole('menuitem', { name: /export/i }))+ await user.click(screen.getByRole('menuitem', { name: /agentV2\.exportAgent/ }))expect(exportState.exportAppDsl).toHaveBeenCalledWith(expect.objectContaining({ versionId: 'version-0' }),)@@ -174,7 +174,7 @@ describe('AgentPreviewVersionsPanel', () => {const user = userEvent.setup()renderPanel()await user.click(screen.getByRole('button', { name: /moreActions.*Initial release/ }))- const action = screen.getByRole('menuitem', { name: /export/i })+ const action = screen.getByRole('menuitem', { name: /agentV2\.exportAgent/ })expect(action).toHaveAttribute('aria-disabled', 'true')await user.click(action)expect(exportState.exportAppDsl).not.toHaveBeenCalled()@@ -300,7 +300,9 @@ describe('AgentPreviewVersionsPanel', () => {renderPanel()await user.click(screen.getByRole('button', { name: /moreActions.*Initial release/ }))expect(screen.getByRole('menuitem', { name: /restore/i })).toBeInTheDocument()- expect(screen.queryByRole('menuitem', { name: /export/i })).not.toBeInTheDocument()+ expect(+ screen.queryByRole('menuitem', { name: /agentV2\.exportAgent/ }),+ ).not.toBeInTheDocument()})it('hides restore without release permission while allowing export', async () => {@@ -309,7 +311,7 @@ describe('AgentPreviewVersionsPanel', () => {renderPanel()await user.click(screen.getByRole('button', { name: /moreActions.*Initial release/ }))expect(screen.queryByRole('menuitem', { name: /restore/i })).not.toBeInTheDocument()- expect(screen.getByRole('menuitem', { name: /export/i })).toBeInTheDocument()+ expect(screen.getByRole('menuitem', { name: /agentV2\.exportAgent/ })).toBeInTheDocument()})})diff --git a/web/features/agent-v2/agent-detail/configure/components/preview/versions-panel/version-item.tsx b/web/features/agent-v2/agent-detail/configure/components/preview/versions-panel/version-item.tsxindex cc4659bdcec..807cfd77b3a 100644--- a/web/features/agent-v2/agent-detail/configure/components/preview/versions-panel/version-item.tsx+++ b/web/features/agent-v2/agent-detail/configure/components/preview/versions-panel/version-item.tsx@@ -56,7 +56,7 @@ export function VersionItem({exportDisabled?: booleanshowUpgrade?: boolean}) {- const { t } = useTranslation(['agentV2', 'app', 'billing', 'agentRoster'])+ const { t } = useTranslation(['agentV2', 'billing', 'agentRoster'])const { t: tWorkflow } = useTranslation(['workflow', 'workflowHistory'])const isActive = version.id === activeVersionIdconst label =@@ -136,7 +136,7 @@ export function VersionItem({className="gap-2"><span aria-hidden className="i-ri-file-download-line size-4 shrink-0" />- <span className="flex-1">{t(($) => $.exportApp, { ns: 'app' })}</span>+ <span className="flex-1">{t(($) => $.exportAgent)}</span>{showUpgrade && (<PremiumBadge size="s">{t(($) => $['upgradeBtn.encourageShort'], { ns: 'billing' })}diff --git a/web/features/agent-v2/agent-detail/sidebar-actions.tsx b/web/features/agent-v2/agent-detail/sidebar-actions.tsxindex 228739441d6..8e2360b5f48 100644--- a/web/features/agent-v2/agent-detail/sidebar-actions.tsx+++ b/web/features/agent-v2/agent-detail/sidebar-actions.tsx@@ -25,7 +25,7 @@ type AgentDetailSidebarActionAgent = AgentFormSource &Pick<AgentAppPartial, 'app_id' | 'permission_keys'>export function AgentDetailSidebarActions({ agent }: { agent: AgentDetailSidebarActionAgent }) {- const { t } = useTranslation(['agentRoster'])+ const { t } = useTranslation(['agentRoster', 'agentV2'])const { t: tCommon } = useTranslation(['common'])const { t: tApp } = useTranslation(['app'])const [isEditOpen, setIsEditOpen] = useState(false)@@ -46,7 +46,7 @@ export function AgentDetailSidebarActions({ agent }: { agent: AgentDetailSidebarconst handleExport = () => {if (!capabilities.canImportExportDSL) returnif (!agent.app_id) {- toast.error(tApp(($) => $.exportAppFailed))+ toast.error(tApp(($) => $.exportFailed))return}@@ -104,7 +104,7 @@ export function AgentDetailSidebarActions({ agent }: { agent: AgentDetailSidebararia-hiddenclassName="i-ri-file-download-line size-4 shrink-0 text-text-tertiary"/>- <span>{tApp(($) => $.exportApp)}</span>+ <span>{t(($) => $.exportAgent, { ns: 'agentV2' })}</span></DropdownMenuItem>)}{capabilities.canDelete &&diff --git a/web/features/agent-v2/roster/components/__tests__/agent-roster-list.spec.tsx b/web/features/agent-v2/roster/components/__tests__/agent-roster-list.spec.tsxindex b4ae890f646..c7bb8cdf5c6 100644--- a/web/features/agent-v2/roster/components/__tests__/agent-roster-list.spec.tsx+++ b/web/features/agent-v2/roster/components/__tests__/agent-roster-list.spec.tsx@@ -403,7 +403,7 @@ describe('AgentRosterList', () => {})elseawait user.click(screen.getByRole('button', { name: /agentRoster\.roster\.moreActions/ }))- await user.click(screen.getByRole('menuitem', { name: 'app.exportApp' }))+ await user.click(screen.getByRole('menuitem', { name: 'agentV2.exportAgent' }))expect(exportAppDslMock).toHaveBeenCalledWith({format: 'ifpkg',@@ -420,7 +420,7 @@ describe('AgentRosterList', () => {await user.click(screen.getByRole('button', { name: /agentRoster\.roster\.moreActions/ }))- expect(screen.getByRole('menuitem', { name: 'app.exportApp' })).toHaveAttribute(+ expect(screen.getByRole('menuitem', { name: 'agentV2.exportAgent' })).toHaveAttribute('aria-disabled','true',)diff --git a/web/features/agent-v2/roster/components/agent-roster-list.tsx b/web/features/agent-v2/roster/components/agent-roster-list.tsxindex b5b8cdd223d..39d34e3f0df 100644--- a/web/features/agent-v2/roster/components/agent-roster-list.tsx+++ b/web/features/agent-v2/roster/components/agent-roster-list.tsx@@ -172,7 +172,7 @@ function AgentCardActionMenuItems({}: AgentCardActionMenuItemsProps) {const { t } = useTranslation(['agentRoster'])const { t: tCommon } = useTranslation(['common'])- const { t: tApp } = useTranslation(['app'])+ const { t: tAgent } = useTranslation(['agentV2'])const MenuItem = kind === 'context' ? ContextMenuItem : DropdownMenuItemconst MenuSeparator = kind === 'context' ? ContextMenuSeparator : DropdownMenuSeparator@@ -193,7 +193,7 @@ function AgentCardActionMenuItems({{onExport && (<MenuItem className="gap-2" disabled={isExporting} onClick={onExport}><span aria-hidden className="i-ri-download-line size-4 shrink-0 text-text-tertiary" />- <span>{tApp(($) => $.exportApp)}</span>+ <span>{tAgent(($) => $.exportAgent)}</span></MenuItem>)}{onDelete && (onEdit || onDuplicate || onExport) && <MenuSeparator />}@@ -262,7 +262,7 @@ function AgentRosterItem({ agent }: { agent: AgentAppPartial }) {const handleExport = () => {if (!capabilities.canImportExportDSL) returnif (!agent.app_id) {- toast.error(tApp(($) => $.exportAppFailed))+ toast.error(tApp(($) => $.exportFailed))return}diff --git a/web/i18n/locales/ar-TN/agent-v-2.json b/web/i18n/locales/ar-TN/agent-v-2.jsonindex 6b7dfc0aa6b..6fada00932f 100644--- a/web/i18n/locales/ar-TN/agent-v-2.json+++ b/web/i18n/locales/ar-TN/agent-v-2.json@@ -363,5 +363,6 @@"agentDetail.versionHistory.filter": "تصفية الإصدارات","agentDetail.versionHistory.restore": "استعادة","agentDetail.versionHistory.versionName": "الإصدار {{version}}",- "agentDetail.versionHistory.viewOnly": "عرض فقط"+ "agentDetail.versionHistory.viewOnly": "عرض فقط",+ "exportAgent": "تصدير Agent"}diff --git a/web/i18n/locales/ar-TN/app.json b/web/i18n/locales/ar-TN/app.jsonindex 8c3e88ba373..47083eeaf75 100644--- a/web/i18n/locales/ar-TN/app.json+++ b/web/i18n/locales/ar-TN/app.json@@ -43,9 +43,7 @@"editAppTitle": "تعديل معلومات التطبيق","editFailed": "فشل تحديث معلومات التطبيق","exportApp": "تصدير التطبيق",- "exportAppFailed": "تعذّر تصدير التطبيق",- "exportAppSuccess": "تم تنزيل حزمة التطبيق (.ifpkg)",- "exportFailed": "فشل تصدير DSL.",+ "exportFailed": "فشل التصدير","exportSecret.description": "عند التحديد، ستُضمّن القيم السرية في حزمة التطبيق المُصدَّرة.","exportSecret.title": "تصدير التطبيق مع القيم السرية","filterEmpty.noApps": "لا توجد تطبيقات هنا",@@ -137,6 +135,7 @@"iconPicker.title": "اختيار أيقونة","iconPicker.tryYourLuck": "جرّب حظك","iconPicker.zoom": "التكبير",+ "ifpkgDownloaded": "تم تنزيل ملف IFPKG","importApp": "استيراد التطبيق","importAppDescription": "حزمة تطبيق أو ملف DSL","importAppFormats": "يدعم .ifpkg و.yaml و.yml",diff --git a/web/i18n/locales/az-AZ/agent-v-2.json b/web/i18n/locales/az-AZ/agent-v-2.jsonindex 74071b8ccf2..f80250cde58 100644--- a/web/i18n/locales/az-AZ/agent-v-2.json+++ b/web/i18n/locales/az-AZ/agent-v-2.json@@ -363,5 +363,6 @@"agentDetail.versionHistory.filter": "Versiyaları süzgəcdən keçir","agentDetail.versionHistory.restore": "Bərpa et","agentDetail.versionHistory.versionName": "Versiya {{version}}",- "agentDetail.versionHistory.viewOnly": "Yalnız baxış"+ "agentDetail.versionHistory.viewOnly": "Yalnız baxış",+ "exportAgent": "Agent-i ixrac et"}diff --git a/web/i18n/locales/az-AZ/app.json b/web/i18n/locales/az-AZ/app.jsonindex f0492157791..056cce30230 100644--- a/web/i18n/locales/az-AZ/app.json+++ b/web/i18n/locales/az-AZ/app.json@@ -43,9 +43,7 @@"editAppTitle": "Tətbiq məlumatlarının redaktəsi","editFailed": "Tətbiq məlumatını yeniləmək mümkün olmadı","exportApp": "Tətbiqi ixrac et",- "exportAppFailed": "Tətbiqi ixrac etmək mümkün olmadı",- "exportAppSuccess": "Tətbiq paketi (.ifpkg) endirildi",- "exportFailed": "DSL-i ixrac etmək mümkün olmadı.",+ "exportFailed": "İxrac uğursuz oldu","exportSecret.description": "Seçildikdə məxfi dəyərlər ixrac edilən tətbiq paketinə daxil ediləcək.","exportSecret.title": "Tətbiqi məxfi dəyərlərlə ixrac et","filterEmpty.noApps": "Burada tətbiq yoxdur",@@ -137,6 +135,7 @@"iconPicker.title": "İkon seçin","iconPicker.tryYourLuck": "Şansını sına","iconPicker.zoom": "Miqyas",+ "ifpkgDownloaded": "IFPKG faylı endirildi","importApp": "Tətbiq idxal et","importAppDescription": "Tətbiq paketi və ya DSL faylı","importAppFormats": ".ifpkg, .yaml və .yml dəstəklənir",diff --git a/web/i18n/locales/de-DE/agent-v-2.json b/web/i18n/locales/de-DE/agent-v-2.jsonindex c0326707f67..8615ece79fd 100644--- a/web/i18n/locales/de-DE/agent-v-2.json+++ b/web/i18n/locales/de-DE/agent-v-2.json@@ -363,5 +363,6 @@"agentDetail.versionHistory.filter": "Versionen filtern","agentDetail.versionHistory.restore": "Wiederherstellen","agentDetail.versionHistory.versionName": "Version {{version}}",- "agentDetail.versionHistory.viewOnly": "Nur anzeigen"+ "agentDetail.versionHistory.viewOnly": "Nur anzeigen",+ "exportAgent": "Agent exportieren"}diff --git a/web/i18n/locales/de-DE/app.json b/web/i18n/locales/de-DE/app.jsonindex 47c01ae8ddf..264914754e4 100644--- a/web/i18n/locales/de-DE/app.json+++ b/web/i18n/locales/de-DE/app.json@@ -43,9 +43,7 @@"editAppTitle": "App-Informationen bearbeiten","editFailed": "Aktualisierung der App-Informationen fehlgeschlagen","exportApp": "App exportieren",- "exportAppFailed": "App konnte nicht exportiert werden",- "exportAppSuccess": "App-Paket (.ifpkg) heruntergeladen",- "exportFailed": "Fehler beim Exportieren von DSL.",+ "exportFailed": "Export fehlgeschlagen","exportSecret.description": "Wenn ausgewählt, werden geheime Werte in das exportierte App-Paket aufgenommen.","exportSecret.title": "App mit geheimen Werten exportieren","filterEmpty.noApps": "Hier gibt es keine Apps",@@ -137,6 +135,7 @@"iconPicker.title": "Symbol auswählen","iconPicker.tryYourLuck": "Auf gut Glück","iconPicker.zoom": "Zoom",+ "ifpkgDownloaded": "IFPKG-Datei heruntergeladen","importApp": "App importieren","importAppDescription": "App-Paket oder DSL-Datei","importAppFormats": "Unterstützt .ifpkg, .yaml und .yml",diff --git a/web/i18n/locales/en-US/agent-v-2.json b/web/i18n/locales/en-US/agent-v-2.jsonindex 40835a33883..c61a582ef6a 100644--- a/web/i18n/locales/en-US/agent-v-2.json+++ b/web/i18n/locales/en-US/agent-v-2.json@@ -363,5 +363,6 @@"agentDetail.versionHistory.filter": "Filter versions","agentDetail.versionHistory.restore": "Restore","agentDetail.versionHistory.versionName": "Version {{version}}",- "agentDetail.versionHistory.viewOnly": "View Only"+ "agentDetail.versionHistory.viewOnly": "View Only",+ "exportAgent": "Export Agent"}diff --git a/web/i18n/locales/en-US/app.json b/web/i18n/locales/en-US/app.jsonindex 39f075cab7e..c9ac9f0755b 100644--- a/web/i18n/locales/en-US/app.json+++ b/web/i18n/locales/en-US/app.json@@ -43,9 +43,7 @@"editAppTitle": "Edit App Info","editFailed": "Failed to update app info","exportApp": "Export App",- "exportAppFailed": "Failed to export app",- "exportAppSuccess": "App package (.ifpkg) downloaded",- "exportFailed": "Export DSL failed.",+ "exportFailed": "Export failed","exportSecret.description": "If selected, secret values will be included in the exported app package.","exportSecret.title": "Export app with secret values","filterEmpty.noApps": "No apps here",@@ -137,6 +135,7 @@"iconPicker.title": "Choose icon","iconPicker.tryYourLuck": "Try your luck","iconPicker.zoom": "Zoom",+ "ifpkgDownloaded": "IFPKG file downloaded","importApp": "Import App","importAppDescription": "App package or DSL file","importAppFormats": "Supports .ifpkg, .yaml, and .yml",diff --git a/web/i18n/locales/es-ES/agent-v-2.json b/web/i18n/locales/es-ES/agent-v-2.jsonindex eefe42f3f97..7ce512294c9 100644--- a/web/i18n/locales/es-ES/agent-v-2.json+++ b/web/i18n/locales/es-ES/agent-v-2.json@@ -363,5 +363,6 @@"agentDetail.versionHistory.filter": "Filtrar versiones","agentDetail.versionHistory.restore": "Restaurar","agentDetail.versionHistory.versionName": "Versión {{version}}",- "agentDetail.versionHistory.viewOnly": "Solo lectura"+ "agentDetail.versionHistory.viewOnly": "Solo lectura",+ "exportAgent": "Exportar agente"}diff --git a/web/i18n/locales/es-ES/app.json b/web/i18n/locales/es-ES/app.jsonindex fc6e6e2ef7f..7d418ecaa78 100644--- a/web/i18n/locales/es-ES/app.json+++ b/web/i18n/locales/es-ES/app.json@@ -43,9 +43,7 @@"editAppTitle": "Editar información de la app","editFailed": "Error al actualizar información de la app","exportApp": "Exportar aplicación",- "exportAppFailed": "No se pudo exportar la aplicación",- "exportAppSuccess": "Paquete de aplicación (.ifpkg) descargado",- "exportFailed": "Error al exportar DSL.",+ "exportFailed": "Error al exportar","exportSecret.description": "Si se selecciona, los valores secretos se incluirán en el paquete de aplicación exportado.","exportSecret.title": "Exportar aplicación con valores secretos","filterEmpty.noApps": "No hay aplicaciones aquí",@@ -137,6 +135,7 @@"iconPicker.title": "Elegir icono","iconPicker.tryYourLuck": "Prueba suerte","iconPicker.zoom": "Zoom",+ "ifpkgDownloaded": "Archivo IFPKG descargado","importApp": "Importar App","importAppDescription": "Paquete de aplicación o archivo DSL","importAppFormats": "Admite .ifpkg, .yaml y .yml",diff --git a/web/i18n/locales/fa-IR/agent-v-2.json b/web/i18n/locales/fa-IR/agent-v-2.jsonindex 02a7c37f71b..2c748db184e 100644--- a/web/i18n/locales/fa-IR/agent-v-2.json+++ b/web/i18n/locales/fa-IR/agent-v-2.json@@ -363,5 +363,6 @@"agentDetail.versionHistory.filter": "فیلتر نسخهها","agentDetail.versionHistory.restore": "بازیابی","agentDetail.versionHistory.versionName": "نسخه {{version}}",- "agentDetail.versionHistory.viewOnly": "فقط نمایش"+ "agentDetail.versionHistory.viewOnly": "فقط نمایش",+ "exportAgent": "خروجی گرفتن از Agent"}diff --git a/web/i18n/locales/fa-IR/app.json b/web/i18n/locales/fa-IR/app.jsonindex cf7454ddbc8..7ca885a401a 100644--- a/web/i18n/locales/fa-IR/app.json+++ b/web/i18n/locales/fa-IR/app.json@@ -43,9 +43,7 @@"editAppTitle": "ویرایش اطلاعات برنامه","editFailed": "بهروزرسانی اطلاعات برنامه ناموفق بود","exportApp": "خروجی گرفتن از برنامه",- "exportAppFailed": "خروجی گرفتن از برنامه ناموفق بود",- "exportAppSuccess": "بستهٔ برنامه (.ifpkg) دانلود شد",- "exportFailed": "صادر کردن DSL ناموفق بود.",+ "exportFailed": "خروجی گرفتن ناموفق بود","exportSecret.description": "در صورت انتخاب، مقادیر محرمانه در بستهٔ خروجی برنامه قرار میگیرند.","exportSecret.title": "خروجی گرفتن از برنامه با مقادیر محرمانه","filterEmpty.noApps": "هیچ برنامهای اینجا نیست",@@ -137,6 +135,7 @@"iconPicker.title": "انتخاب نماد","iconPicker.tryYourLuck": "شانست را امتحان کن","iconPicker.zoom": "بزرگنمایی",+ "ifpkgDownloaded": "فایل IFPKG دانلود شد","importApp": "وارد کردن برنامه","importAppDescription": "بستهٔ برنامه یا فایل DSL","importAppFormats": "از .ifpkg، .yaml و .yml پشتیبانی میکند",diff --git a/web/i18n/locales/fr-FR/agent-v-2.json b/web/i18n/locales/fr-FR/agent-v-2.jsonindex d6029a55b0c..9940d463c1a 100644--- a/web/i18n/locales/fr-FR/agent-v-2.json+++ b/web/i18n/locales/fr-FR/agent-v-2.json@@ -363,5 +363,6 @@"agentDetail.versionHistory.filter": "Filtrer les versions","agentDetail.versionHistory.restore": "Restaurer","agentDetail.versionHistory.versionName": "Version {{version}}",- "agentDetail.versionHistory.viewOnly": "Lecture seule"+ "agentDetail.versionHistory.viewOnly": "Lecture seule",+ "exportAgent": "Exporter l’agent"}diff --git a/web/i18n/locales/fr-FR/app.json b/web/i18n/locales/fr-FR/app.jsonindex 615fc2c8b4a..80ce57cce21 100644--- a/web/i18n/locales/fr-FR/app.json+++ b/web/i18n/locales/fr-FR/app.json@@ -43,9 +43,7 @@"editAppTitle": "Modifier les informations de l'application","editFailed": "Échec de la mise à jour des informations de l'application","exportApp": "Exporter l’application",- "exportAppFailed": "Échec de l’exportation de l’application",- "exportAppSuccess": "Paquet d’application (.ifpkg) téléchargé",- "exportFailed": "Échec de l'exportation du DSL.",+ "exportFailed": "Échec de l’exportation","exportSecret.description": "Si cette option est cochée, les valeurs secrètes seront incluses dans le paquet d’application exporté.","exportSecret.title": "Exporter l’application avec les valeurs secrètes","filterEmpty.noApps": "Aucune application ici",@@ -137,6 +135,7 @@"iconPicker.title": "Choisir une icône","iconPicker.tryYourLuck": "J’ai de la chance","iconPicker.zoom": "Zoom",+ "ifpkgDownloaded": "Fichier IFPKG téléchargé","importApp": "Importer l'App","importAppDescription": "Paquet d’application ou fichier DSL","importAppFormats": "Formats pris en charge : .ifpkg, .yaml et .yml",diff --git a/web/i18n/locales/hi-IN/agent-v-2.json b/web/i18n/locales/hi-IN/agent-v-2.jsonindex 8b4971c3c8d..b978aa2055a 100644--- a/web/i18n/locales/hi-IN/agent-v-2.json+++ b/web/i18n/locales/hi-IN/agent-v-2.json@@ -363,5 +363,6 @@"agentDetail.versionHistory.filter": "संस्करण फ़िल्टर करें","agentDetail.versionHistory.restore": "रीस्टोर करें","agentDetail.versionHistory.versionName": "संस्करण {{version}}",- "agentDetail.versionHistory.viewOnly": "केवल देखें"+ "agentDetail.versionHistory.viewOnly": "केवल देखें",+ "exportAgent": "एजेंट निर्यात करें"}diff --git a/web/i18n/locales/hi-IN/app.json b/web/i18n/locales/hi-IN/app.jsonindex a21f413e44b..9bdcde41d2c 100644--- a/web/i18n/locales/hi-IN/app.json+++ b/web/i18n/locales/hi-IN/app.json@@ -43,9 +43,7 @@"editAppTitle": "ऐप जानकारी संपादित करें","editFailed": "ऐप जानकारी अपडेट करने में विफल","exportApp": "ऐप निर्यात करें",- "exportAppFailed": "ऐप निर्यात नहीं हो सका",- "exportAppSuccess": "ऐप पैकेज (.ifpkg) डाउनलोड हो गया",- "exportFailed": "डीएसएल निर्यात विफल हुआ।",+ "exportFailed": "निर्यात विफल हुआ","exportSecret.description": "चयन करने पर गुप्त मान निर्यात किए गए ऐप पैकेज में शामिल होंगे।","exportSecret.title": "गुप्त मानों सहित ऐप निर्यात करें","filterEmpty.noApps": "यहाँ कोई ऐप नहीं है",@@ -137,6 +135,7 @@"iconPicker.title": "आइकन चुनें","iconPicker.tryYourLuck": "किस्मत आज़माएँ","iconPicker.zoom": "ज़ूम",+ "ifpkgDownloaded": "IFPKG फ़ाइल डाउनलोड हो गई","importApp": "ऐप आयात करें","importAppDescription": "ऐप पैकेज या DSL फ़ाइल","importAppFormats": ".ifpkg, .yaml और .yml समर्थित हैं",diff --git a/web/i18n/locales/id-ID/agent-v-2.json b/web/i18n/locales/id-ID/agent-v-2.jsonindex 94dd423f072..f6d90c0a920 100644--- a/web/i18n/locales/id-ID/agent-v-2.json+++ b/web/i18n/locales/id-ID/agent-v-2.json@@ -363,5 +363,6 @@"agentDetail.versionHistory.filter": "Filter versi","agentDetail.versionHistory.restore": "Pulihkan","agentDetail.versionHistory.versionName": "Versi {{version}}",- "agentDetail.versionHistory.viewOnly": "Hanya lihat"+ "agentDetail.versionHistory.viewOnly": "Hanya lihat",+ "exportAgent": "Ekspor Agen"}diff --git a/web/i18n/locales/id-ID/app.json b/web/i18n/locales/id-ID/app.jsonindex 04f0f4029cb..a1d919d426a 100644--- a/web/i18n/locales/id-ID/app.json+++ b/web/i18n/locales/id-ID/app.json@@ -43,9 +43,7 @@"editAppTitle": "Edit Info Aplikasi","editFailed": "Gagal memperbarui info aplikasi","exportApp": "Ekspor Aplikasi",- "exportAppFailed": "Gagal mengekspor aplikasi",- "exportAppSuccess": "Paket aplikasi (.ifpkg) diunduh",- "exportFailed": "Ekspor DSL gagal.",+ "exportFailed": "Ekspor gagal","exportSecret.description": "Jika dipilih, nilai rahasia akan disertakan dalam paket aplikasi yang diekspor.","exportSecret.title": "Ekspor aplikasi dengan nilai rahasia","filterEmpty.noApps": "Tidak ada aplikasi di sini",@@ -137,6 +135,7 @@"iconPicker.title": "Pilih ikon","iconPicker.tryYourLuck": "Coba keberuntungan","iconPicker.zoom": "Zoom",+ "ifpkgDownloaded": "File IFPKG diunduh","importApp": "Impor Aplikasi","importAppDescription": "Paket aplikasi atau file DSL","importAppFormats": "Mendukung .ifpkg, .yaml, dan .yml",diff --git a/web/i18n/locales/it-IT/agent-v-2.json b/web/i18n/locales/it-IT/agent-v-2.jsonindex 4ed5e06540a..2ce2c686cb9 100644--- a/web/i18n/locales/it-IT/agent-v-2.json+++ b/web/i18n/locales/it-IT/agent-v-2.json@@ -363,5 +363,6 @@"agentDetail.versionHistory.filter": "Filtra versioni","agentDetail.versionHistory.restore": "Ripristina","agentDetail.versionHistory.versionName": "Versione {{version}}",- "agentDetail.versionHistory.viewOnly": "Sola lettura"+ "agentDetail.versionHistory.viewOnly": "Sola lettura",+ "exportAgent": "Esporta agente"}diff --git a/web/i18n/locales/it-IT/app.json b/web/i18n/locales/it-IT/app.jsonindex ebb1baa1e0d..74116adadbc 100644--- a/web/i18n/locales/it-IT/app.json+++ b/web/i18n/locales/it-IT/app.json@@ -43,9 +43,7 @@"editAppTitle": "Modifica Info App","editFailed": "Aggiornamento delle info dell'app fallito","exportApp": "Esporta app",- "exportAppFailed": "Impossibile esportare l’app",- "exportAppSuccess": "Pacchetto app (.ifpkg) scaricato",- "exportFailed": "Esportazione DSL fallita.",+ "exportFailed": "Esportazione non riuscita","exportSecret.description": "Se selezionato, i valori segreti saranno inclusi nel pacchetto app esportato.","exportSecret.title": "Esporta app con valori segreti","filterEmpty.noApps": "Nessuna app qui",@@ -137,6 +135,7 @@"iconPicker.title": "Scegli icona","iconPicker.tryYourLuck": "Tenta la fortuna","iconPicker.zoom": "Zoom",+ "ifpkgDownloaded": "File IFPKG scaricato","importApp": "Importa App","importAppDescription": "Pacchetto app o file DSL","importAppFormats": "Supporta .ifpkg, .yaml e .yml",diff --git a/web/i18n/locales/ja-JP/agent-v-2.json b/web/i18n/locales/ja-JP/agent-v-2.jsonindex 36e0dad1a59..ba80f7a20f6 100644--- a/web/i18n/locales/ja-JP/agent-v-2.json+++ b/web/i18n/locales/ja-JP/agent-v-2.json@@ -363,5 +363,6 @@"agentDetail.versionHistory.filter": "バージョンをフィルター","agentDetail.versionHistory.restore": "復元","agentDetail.versionHistory.versionName": "バージョン {{version}}",- "agentDetail.versionHistory.viewOnly": "表示のみ"+ "agentDetail.versionHistory.viewOnly": "表示のみ",+ "exportAgent": "エージェントをエクスポート"}diff --git a/web/i18n/locales/ja-JP/app.json b/web/i18n/locales/ja-JP/app.jsonindex d163ea7771e..04cb804db30 100644--- a/web/i18n/locales/ja-JP/app.json+++ b/web/i18n/locales/ja-JP/app.json@@ -43,9 +43,7 @@"editAppTitle": "アプリ情報を編集する","editFailed": "アプリ情報の更新に失敗しました","exportApp": "アプリをエクスポート",- "exportAppFailed": "アプリのエクスポートに失敗しました",- "exportAppSuccess": "アプリパッケージ(.ifpkg)をダウンロードしました",- "exportFailed": "DSL のエクスポートに失敗しました。",+ "exportFailed": "エクスポートに失敗しました","exportSecret.description": "選択すると、エクスポートされるアプリパッケージにシークレット値が含まれます。","exportSecret.title": "シークレット値を含めてアプリをエクスポート","filterEmpty.noApps": "ここにアプリはありません",@@ -137,6 +135,7 @@"iconPicker.title": "アイコンを選択","iconPicker.tryYourLuck": "運試し","iconPicker.zoom": "ズーム",+ "ifpkgDownloaded": "IFPKG ファイルをダウンロードしました","importApp": "アプリをインポート","importAppDescription": "アプリパッケージまたは DSL ファイル","importAppFormats": "対応形式:.ifpkg、.yaml、.yml",diff --git a/web/i18n/locales/ko-KR/agent-v-2.json b/web/i18n/locales/ko-KR/agent-v-2.jsonindex 5944a6b0742..926be3a5a26 100644--- a/web/i18n/locales/ko-KR/agent-v-2.json+++ b/web/i18n/locales/ko-KR/agent-v-2.json@@ -363,5 +363,6 @@"agentDetail.versionHistory.filter": "버전 필터","agentDetail.versionHistory.restore": "복원","agentDetail.versionHistory.versionName": "버전 {{version}}",- "agentDetail.versionHistory.viewOnly": "보기 전용"+ "agentDetail.versionHistory.viewOnly": "보기 전용",+ "exportAgent": "에이전트 내보내기"}diff --git a/web/i18n/locales/ko-KR/app.json b/web/i18n/locales/ko-KR/app.jsonindex b509a6be643..d0c9e516e96 100644--- a/web/i18n/locales/ko-KR/app.json+++ b/web/i18n/locales/ko-KR/app.json@@ -43,9 +43,7 @@"editAppTitle": "앱 정보 편집하기","editFailed": "앱 정보 업데이트 실패","exportApp": "앱 내보내기",- "exportAppFailed": "앱을 내보내지 못했습니다",- "exportAppSuccess": "앱 패키지(.ifpkg)를 다운로드했습니다",- "exportFailed": "DSL 내보내기 실패",+ "exportFailed": "내보내기 실패","exportSecret.description": "선택하면 내보낸 앱 패키지에 비밀 값이 포함됩니다.","exportSecret.title": "비밀 값을 포함하여 앱 내보내기","filterEmpty.noApps": "여기에 앱이 없습니다",@@ -137,6 +135,7 @@"iconPicker.title": "아이콘 선택","iconPicker.tryYourLuck": "행운을 시험해 보세요","iconPicker.zoom": "확대/축소",+ "ifpkgDownloaded": "IFPKG 파일 다운로드 완료","importApp": "앱 가져오기","importAppDescription": "앱 패키지 또는 DSL 파일","importAppFormats": ".ifpkg, .yaml 및 .yml 지원",diff --git a/web/i18n/locales/lo-LA/agent-v-2.json b/web/i18n/locales/lo-LA/agent-v-2.jsonindex acbe78d9c25..310177f144a 100644--- a/web/i18n/locales/lo-LA/agent-v-2.json+++ b/web/i18n/locales/lo-LA/agent-v-2.json@@ -363,5 +363,6 @@"agentDetail.versionHistory.filter": "ກັ່ນຕອງເວີຊັນ","agentDetail.versionHistory.restore": "ຄືນຄ່າ (Restore)","agentDetail.versionHistory.versionName": "ເວີຊັນ {{version}}",- "agentDetail.versionHistory.viewOnly": "ເບິ່ງໄດ້ຢ່າງດຽວ"+ "agentDetail.versionHistory.viewOnly": "ເບິ່ງໄດ້ຢ່າງດຽວ",+ "exportAgent": "ສົ່ງອອກ Agent"}diff --git a/web/i18n/locales/lo-LA/app.json b/web/i18n/locales/lo-LA/app.jsonindex a53173aa9ab..6a1b5ae9726 100644--- a/web/i18n/locales/lo-LA/app.json+++ b/web/i18n/locales/lo-LA/app.json@@ -43,9 +43,7 @@"editAppTitle": "ແກ້ໄຂຂໍ້ມູນແອັບ","editFailed": "ອັບເດດຂໍ້ມູນແອັບບໍ່ສຳເລັດ","exportApp": "ສົ່ງອອກແອັບ",- "exportAppFailed": "ສົ່ງອອກແອັບບໍ່ສຳເລັດ",- "exportAppSuccess": "ດາວໂຫຼດແພັກເກດແອັບ (.ifpkg) ແລ້ວ",- "exportFailed": "ສົ່ງອອກ DSL ບໍ່ສຳເລັດ.",+ "exportFailed": "ການສົ່ງອອກລົ້ມເຫຼວ","exportSecret.description": "ຖ້າເລືອກ ຄ່າລັບຈະລວມຢູ່ໃນແພັກເກດແອັບທີ່ສົ່ງອອກ.","exportSecret.title": "ສົ່ງອອກແອັບພ້ອມຄ່າລັບ","filterEmpty.noApps": "ບໍ່ມີແອັບຢູ່ນີ້",@@ -137,6 +135,7 @@"iconPicker.title": "ເລືອກໄອຄອນ","iconPicker.tryYourLuck": "ລອງໂຊກຂອງທ່ານ","iconPicker.zoom": "ຊູມ",+ "ifpkgDownloaded": "ດາວໂຫຼດໄຟລ໌ IFPKG ແລ້ວ","importApp": "ນຳເຂົ້າແອັບ","importAppDescription": "ແພັກເກດແອັບ ຫຼື ໄຟລ໌ DSL","importAppFormats": "ຮອງຮັບ .ifpkg, .yaml ແລະ .yml",diff --git a/web/i18n/locales/nl-NL/agent-v-2.json b/web/i18n/locales/nl-NL/agent-v-2.jsonindex 1d8e5603d73..a7082c342a7 100644--- a/web/i18n/locales/nl-NL/agent-v-2.json+++ b/web/i18n/locales/nl-NL/agent-v-2.json@@ -363,5 +363,6 @@"agentDetail.versionHistory.filter": "Versies filteren","agentDetail.versionHistory.restore": "Herstellen","agentDetail.versionHistory.versionName": "Versie {{version}}",- "agentDetail.versionHistory.viewOnly": "Alleen bekijken"+ "agentDetail.versionHistory.viewOnly": "Alleen bekijken",+ "exportAgent": "Agent exporteren"}diff --git a/web/i18n/locales/nl-NL/app.json b/web/i18n/locales/nl-NL/app.jsonindex a404ef8f8b5..90805d69975 100644--- a/web/i18n/locales/nl-NL/app.json+++ b/web/i18n/locales/nl-NL/app.json@@ -43,9 +43,7 @@"editAppTitle": "Edit App Info","editFailed": "Failed to update app info","exportApp": "App exporteren",- "exportAppFailed": "App exporteren mislukt",- "exportAppSuccess": "App-pakket (.ifpkg) gedownload",- "exportFailed": "Export DSL failed.",+ "exportFailed": "Exporteren mislukt","exportSecret.description": "Indien geselecteerd, worden geheime waarden opgenomen in het geëxporteerde app-pakket.","exportSecret.title": "App met geheime waarden exporteren","filterEmpty.noApps": "Geen apps hier",@@ -137,6 +135,7 @@"iconPicker.title": "Pictogram kiezen","iconPicker.tryYourLuck": "Doe een gok","iconPicker.zoom": "Zoom",+ "ifpkgDownloaded": "IFPKG-bestand gedownload","importApp": "App importeren","importAppDescription": "App-pakket of DSL-bestand","importAppFormats": "Ondersteunt .ifpkg, .yaml en .yml",diff --git a/web/i18n/locales/pl-PL/agent-v-2.json b/web/i18n/locales/pl-PL/agent-v-2.jsonindex d3f6f24bc23..e069e4cbc4d 100644--- a/web/i18n/locales/pl-PL/agent-v-2.json+++ b/web/i18n/locales/pl-PL/agent-v-2.json@@ -363,5 +363,6 @@"agentDetail.versionHistory.filter": "Filtruj wersje","agentDetail.versionHistory.restore": "Przywróć","agentDetail.versionHistory.versionName": "Wersja {{version}}",- "agentDetail.versionHistory.viewOnly": "Tylko podgląd"+ "agentDetail.versionHistory.viewOnly": "Tylko podgląd",+ "exportAgent": "Eksportuj agenta"}diff --git a/web/i18n/locales/pl-PL/app.json b/web/i18n/locales/pl-PL/app.jsonindex e0040f8349f..78963ea1f03 100644--- a/web/i18n/locales/pl-PL/app.json+++ b/web/i18n/locales/pl-PL/app.json@@ -43,9 +43,7 @@"editAppTitle": "Edytuj informacje o aplikacji","editFailed": "Nie udało się zaktualizować informacji o aplikacji","exportApp": "Eksportuj aplikację",- "exportAppFailed": "Nie udało się wyeksportować aplikacji",- "exportAppSuccess": "Pobrano pakiet aplikacji (.ifpkg)",- "exportFailed": "Eksport DSL nie powiódł się.",+ "exportFailed": "Eksport nie powiódł się","exportSecret.description": "Po zaznaczeniu tajne wartości zostaną uwzględnione w eksportowanym pakiecie aplikacji.","exportSecret.title": "Eksportuj aplikację z tajnymi wartościami","filterEmpty.noApps": "Brak aplikacji tutaj",@@ -137,6 +135,7 @@"iconPicker.title": "Wybierz ikonę","iconPicker.tryYourLuck": "Spróbuj szczęścia","iconPicker.zoom": "Powiększenie",+ "ifpkgDownloaded": "Pobrano plik IFPKG","importApp": "Importuj aplikację","importAppDescription": "Pakiet aplikacji lub plik DSL","importAppFormats": "Obsługuje .ifpkg, .yaml i .yml",diff --git a/web/i18n/locales/pt-BR/agent-v-2.json b/web/i18n/locales/pt-BR/agent-v-2.jsonindex 947b49fd41b..b857f59bdb3 100644--- a/web/i18n/locales/pt-BR/agent-v-2.json+++ b/web/i18n/locales/pt-BR/agent-v-2.json@@ -363,5 +363,6 @@"agentDetail.versionHistory.filter": "Filtrar versões","agentDetail.versionHistory.restore": "Restaurar","agentDetail.versionHistory.versionName": "Versão {{version}}",- "agentDetail.versionHistory.viewOnly": "Somente leitura"+ "agentDetail.versionHistory.viewOnly": "Somente leitura",+ "exportAgent": "Exportar agente"}diff --git a/web/i18n/locales/pt-BR/app.json b/web/i18n/locales/pt-BR/app.jsonindex 4d9440e5836..44a22896a85 100644--- a/web/i18n/locales/pt-BR/app.json+++ b/web/i18n/locales/pt-BR/app.json@@ -43,9 +43,7 @@"editAppTitle": "Editar Informações do Aplicativo","editFailed": "Falha ao atualizar informações do aplicativo","exportApp": "Exportar aplicativo",- "exportAppFailed": "Falha ao exportar aplicativo",- "exportAppSuccess": "Pacote de aplicativo (.ifpkg) baixado",- "exportFailed": "Falha ao exportar DSL.",+ "exportFailed": "Falha ao exportar","exportSecret.description": "Se selecionado, os valores secretos serão incluídos no pacote de aplicativo exportado.","exportSecret.title": "Exportar aplicativo com valores secretos","filterEmpty.noApps": "Nenhum app aqui",@@ -137,6 +135,7 @@"iconPicker.title": "Escolher ícone","iconPicker.tryYourLuck": "Tente a sorte","iconPicker.zoom": "Zoom",+ "ifpkgDownloaded": "Arquivo IFPKG baixado","importApp": "Importar App","importAppDescription": "Pacote de aplicativo ou arquivo DSL","importAppFormats": "Suporta .ifpkg, .yaml e .yml",diff --git a/web/i18n/locales/ro-RO/agent-v-2.json b/web/i18n/locales/ro-RO/agent-v-2.jsonindex 6ed9ec3d1d3..ee90833afe0 100644--- a/web/i18n/locales/ro-RO/agent-v-2.json+++ b/web/i18n/locales/ro-RO/agent-v-2.json@@ -363,5 +363,6 @@"agentDetail.versionHistory.filter": "Filtrați versiunile","agentDetail.versionHistory.restore": "Restaurează","agentDetail.versionHistory.versionName": "Versiunea {{version}}",- "agentDetail.versionHistory.viewOnly": "Doar vizualizare"+ "agentDetail.versionHistory.viewOnly": "Doar vizualizare",+ "exportAgent": "Exportă agentul"}diff --git a/web/i18n/locales/ro-RO/app.json b/web/i18n/locales/ro-RO/app.jsonindex 46c3c6864da..0296e97d749 100644--- a/web/i18n/locales/ro-RO/app.json+++ b/web/i18n/locales/ro-RO/app.json@@ -43,9 +43,7 @@"editAppTitle": "Editează Info Aplicație","editFailed": "Actualizarea informațiilor despre aplicație a eșuat","exportApp": "Exportă aplicația",- "exportAppFailed": "Exportul aplicației a eșuat",- "exportAppSuccess": "Pachetul aplicației (.ifpkg) a fost descărcat",- "exportFailed": "Exportul DSL a eșuat.",+ "exportFailed": "Exportul a eșuat","exportSecret.description": "Dacă este selectat, valorile secrete vor fi incluse în pachetul de aplicație exportat.","exportSecret.title": "Exportă aplicația cu valori secrete","filterEmpty.noApps": "Nu există aplicații aici",@@ -137,6 +135,7 @@"iconPicker.title": "Alege pictograma","iconPicker.tryYourLuck": "Încearcă-ți norocul","iconPicker.zoom": "Zoom",+ "ifpkgDownloaded": "Fișierul IFPKG a fost descărcat","importApp": "Importați aplicația","importAppDescription": "Pachet de aplicație sau fișier DSL","importAppFormats": "Acceptă .ifpkg, .yaml și .yml",diff --git a/web/i18n/locales/ru-RU/agent-v-2.json b/web/i18n/locales/ru-RU/agent-v-2.jsonindex 585535b8791..ce16b8afb11 100644--- a/web/i18n/locales/ru-RU/agent-v-2.json+++ b/web/i18n/locales/ru-RU/agent-v-2.json@@ -363,5 +363,6 @@"agentDetail.versionHistory.filter": "Фильтровать версии","agentDetail.versionHistory.restore": "Восстановить","agentDetail.versionHistory.versionName": "Версия {{version}}",- "agentDetail.versionHistory.viewOnly": "Только просмотр"+ "agentDetail.versionHistory.viewOnly": "Только просмотр",+ "exportAgent": "Экспортировать агента"}diff --git a/web/i18n/locales/ru-RU/app.json b/web/i18n/locales/ru-RU/app.jsonindex cd35103c364..9e36913bf98 100644--- a/web/i18n/locales/ru-RU/app.json+++ b/web/i18n/locales/ru-RU/app.json@@ -43,9 +43,7 @@"editAppTitle": "Редактировать информацию о приложении","editFailed": "Не удалось обновить информацию о приложении","exportApp": "Экспортировать приложение",- "exportAppFailed": "Не удалось экспортировать приложение",- "exportAppSuccess": "Пакет приложения (.ifpkg) скачан",- "exportFailed": "Ошибка экспорта DSL.",+ "exportFailed": "Не удалось экспортировать","exportSecret.description": "Если выбрано, секретные значения будут включены в экспортируемый пакет приложения.","exportSecret.title": "Экспортировать приложение с секретными значениями","filterEmpty.noApps": "Здесь нет приложений",@@ -137,6 +135,7 @@"iconPicker.title": "Выбрать значок","iconPicker.tryYourLuck": "Испытать удачу","iconPicker.zoom": "Масштаб",+ "ifpkgDownloaded": "Файл IFPKG скачан","importApp": "Импортировать приложение","importAppDescription": "Пакет приложения или файл DSL","importAppFormats": "Поддерживаются .ifpkg, .yaml и .yml",diff --git a/web/i18n/locales/sl-SI/agent-v-2.json b/web/i18n/locales/sl-SI/agent-v-2.jsonindex 912c7ecf596..45e4225d5e7 100644--- a/web/i18n/locales/sl-SI/agent-v-2.json+++ b/web/i18n/locales/sl-SI/agent-v-2.json@@ -363,5 +363,6 @@"agentDetail.versionHistory.filter": "Filtriraj različice","agentDetail.versionHistory.restore": "Obnovi","agentDetail.versionHistory.versionName": "Različica {{version}}",- "agentDetail.versionHistory.viewOnly": "Samo ogled"+ "agentDetail.versionHistory.viewOnly": "Samo ogled",+ "exportAgent": "Izvozi agenta"}diff --git a/web/i18n/locales/sl-SI/app.json b/web/i18n/locales/sl-SI/app.jsonindex 2f9a189fad4..b96384f62b3 100644--- a/web/i18n/locales/sl-SI/app.json+++ b/web/i18n/locales/sl-SI/app.json@@ -43,9 +43,7 @@"editAppTitle": "Uredi informacije o aplikaciji","editFailed": "Posodobitev informacij o aplikaciji ni uspela","exportApp": "Izvozi aplikacijo",- "exportAppFailed": "Izvoz aplikacije ni uspel",- "exportAppSuccess": "Paket aplikacije (.ifpkg) je prenesen",- "exportFailed": "Izvoz DSL ni uspel.",+ "exportFailed": "Izvoz ni uspel","exportSecret.description": "Če je izbrano, bodo tajne vrednosti vključene v izvoženi paket aplikacije.","exportSecret.title": "Izvozi aplikacijo s tajnimi vrednostmi","filterEmpty.noApps": "Tukaj ni aplikacij",@@ -137,6 +135,7 @@"iconPicker.title": "Izberi ikono","iconPicker.tryYourLuck": "Poskusi srečo","iconPicker.zoom": "Povečava",+ "ifpkgDownloaded": "Datoteka IFPKG je prenesena","importApp": "Uvozi aplikacijo","importAppDescription": "Paket aplikacije ali datoteka DSL","importAppFormats": "Podpira .ifpkg, .yaml in .yml",diff --git a/web/i18n/locales/th-TH/agent-v-2.json b/web/i18n/locales/th-TH/agent-v-2.jsonindex 536d45a1bb3..039e86f31a9 100644--- a/web/i18n/locales/th-TH/agent-v-2.json+++ b/web/i18n/locales/th-TH/agent-v-2.json@@ -363,5 +363,6 @@"agentDetail.versionHistory.filter": "กรองเวอร์ชัน","agentDetail.versionHistory.restore": "กู้คืน","agentDetail.versionHistory.versionName": "เวอร์ชัน {{version}}",- "agentDetail.versionHistory.viewOnly": "ดูเท่านั้น"+ "agentDetail.versionHistory.viewOnly": "ดูเท่านั้น",+ "exportAgent": "ส่งออกเอเจนต์"}diff --git a/web/i18n/locales/th-TH/app.json b/web/i18n/locales/th-TH/app.jsonindex 24aa3df9ab9..483a0ec8f51 100644--- a/web/i18n/locales/th-TH/app.json+++ b/web/i18n/locales/th-TH/app.json@@ -43,9 +43,7 @@"editAppTitle": "แก้ไขข้อมูลโปรเจกต์","editFailed": "อัปเดตข้อมูลโปรเจกต์ไม่สําเร็จ","exportApp": "ส่งออกแอป",- "exportAppFailed": "ส่งออกแอปไม่สำเร็จ",- "exportAppSuccess": "ดาวน์โหลดแพ็กเกจแอป (.ifpkg) แล้ว",- "exportFailed": "ส่งออก DSL ล้มเหลว",+ "exportFailed": "ส่งออกไม่สำเร็จ","exportSecret.description": "หากเลือก ค่าลับจะรวมอยู่ในแพ็กเกจแอปที่ส่งออก","exportSecret.title": "ส่งออกแอปพร้อมค่าลับ","filterEmpty.noApps": "ไม่มีแอปที่นี่",@@ -137,6 +135,7 @@"iconPicker.title": "เลือกไอคอน","iconPicker.tryYourLuck": "ลองเสี่ยงโชค","iconPicker.zoom": "ซูม",+ "ifpkgDownloaded": "ดาวน์โหลดไฟล์ IFPKG แล้ว","importApp": "นำเข้าแอป","importAppDescription": "แพ็กเกจแอปหรือไฟล์ DSL","importAppFormats": "รองรับ .ifpkg, .yaml และ .yml",diff --git a/web/i18n/locales/tr-TR/agent-v-2.json b/web/i18n/locales/tr-TR/agent-v-2.jsonindex 39d594b5c2a..df58e93f5a4 100644--- a/web/i18n/locales/tr-TR/agent-v-2.json+++ b/web/i18n/locales/tr-TR/agent-v-2.json@@ -363,5 +363,6 @@"agentDetail.versionHistory.filter": "Sürümleri filtrele","agentDetail.versionHistory.restore": "Geri yükle","agentDetail.versionHistory.versionName": "Sürüm {{version}}",- "agentDetail.versionHistory.viewOnly": "Yalnızca görüntüle"+ "agentDetail.versionHistory.viewOnly": "Yalnızca görüntüle",+ "exportAgent": "Ajanı dışa aktar"}diff --git a/web/i18n/locales/tr-TR/app.json b/web/i18n/locales/tr-TR/app.jsonindex 6036e3f97d1..645f4ddf567 100644--- a/web/i18n/locales/tr-TR/app.json+++ b/web/i18n/locales/tr-TR/app.json@@ -43,9 +43,7 @@"editAppTitle": "Uygulama Bilgilerini Düzenle","editFailed": "Uygulama bilgileri güncellenemedi","exportApp": "Uygulamayı dışa aktar",- "exportAppFailed": "Uygulama dışa aktarılamadı",- "exportAppSuccess": "Uygulama paketi (.ifpkg) indirildi",- "exportFailed": "DSL dışa aktarımı başarısız oldu.",+ "exportFailed": "Dışa aktarma başarısız oldu","exportSecret.description": "Seçilirse gizli değerler dışa aktarılan uygulama paketine dahil edilir.","exportSecret.title": "Uygulamayı gizli değerlerle dışa aktar","filterEmpty.noApps": "Burada uygulama yok",@@ -137,6 +135,7 @@"iconPicker.title": "Simge seç","iconPicker.tryYourLuck": "Şansını dene","iconPicker.zoom": "Yakınlaştırma",+ "ifpkgDownloaded": "IFPKG dosyası indirildi","importApp": "Uygulamayı İçe Aktar","importAppDescription": "Uygulama paketi veya DSL dosyası","importAppFormats": ".ifpkg, .yaml ve .yml desteklenir",diff --git a/web/i18n/locales/uk-UA/agent-v-2.json b/web/i18n/locales/uk-UA/agent-v-2.jsonindex 4d419a23f22..f3dce0bf717 100644--- a/web/i18n/locales/uk-UA/agent-v-2.json+++ b/web/i18n/locales/uk-UA/agent-v-2.json@@ -363,5 +363,6 @@"agentDetail.versionHistory.filter": "Фільтрувати версії","agentDetail.versionHistory.restore": "Відновити","agentDetail.versionHistory.versionName": "Версія {{version}}",- "agentDetail.versionHistory.viewOnly": "Лише перегляд"+ "agentDetail.versionHistory.viewOnly": "Лише перегляд",+ "exportAgent": "Експортувати агента"}diff --git a/web/i18n/locales/uk-UA/app.json b/web/i18n/locales/uk-UA/app.jsonindex e30c44ba32d..d1465ccbf2d 100644--- a/web/i18n/locales/uk-UA/app.json+++ b/web/i18n/locales/uk-UA/app.json@@ -43,9 +43,7 @@"editAppTitle": "Редагувати інформацію про додаток","editFailed": "Не вдалося оновити інформацію про додаток","exportApp": "Експортувати застосунок",- "exportAppFailed": "Не вдалося експортувати застосунок",- "exportAppSuccess": "Пакет застосунку (.ifpkg) завантажено",- "exportFailed": "Не вдалося експортувати DSL.",+ "exportFailed": "Не вдалося експортувати","exportSecret.description": "Якщо вибрано, секретні значення буде включено до експортованого пакета застосунку.","exportSecret.title": "Експортувати застосунок із секретними значеннями","filterEmpty.noApps": "Тут немає застосунків",@@ -137,6 +135,7 @@"iconPicker.title": "Вибрати піктограму","iconPicker.tryYourLuck": "Спробувати удачу","iconPicker.zoom": "Масштаб",+ "ifpkgDownloaded": "Файл IFPKG завантажено","importApp": "Імпортувати додаток","importAppDescription": "Пакет застосунку або файл DSL","importAppFormats": "Підтримуються .ifpkg, .yaml та .yml",diff --git a/web/i18n/locales/vi-VN/agent-v-2.json b/web/i18n/locales/vi-VN/agent-v-2.jsonindex 1f76ce2fb04..d0734df6542 100644--- a/web/i18n/locales/vi-VN/agent-v-2.json+++ b/web/i18n/locales/vi-VN/agent-v-2.json@@ -363,5 +363,6 @@"agentDetail.versionHistory.filter": "Lọc phiên bản","agentDetail.versionHistory.restore": "Khôi phục","agentDetail.versionHistory.versionName": "Phiên bản {{version}}",- "agentDetail.versionHistory.viewOnly": "Chỉ xem"+ "agentDetail.versionHistory.viewOnly": "Chỉ xem",+ "exportAgent": "Xuất tác nhân"}diff --git a/web/i18n/locales/vi-VN/app.json b/web/i18n/locales/vi-VN/app.jsonindex c31cf2ad918..1c475e47d0e 100644--- a/web/i18n/locales/vi-VN/app.json+++ b/web/i18n/locales/vi-VN/app.json@@ -43,9 +43,7 @@"editAppTitle": "Chỉnh sửa thông tin ứng dụng","editFailed": "Không thể cập nhật thông tin ứng dụng","exportApp": "Xuất ứng dụng",- "exportAppFailed": "Không thể xuất ứng dụng",- "exportAppSuccess": "Đã tải xuống gói ứng dụng (.ifpkg)",- "exportFailed": "Xuất DSL thất bại.",+ "exportFailed": "Xuất thất bại","exportSecret.description": "Nếu được chọn, các giá trị bí mật sẽ được đưa vào gói ứng dụng đã xuất.","exportSecret.title": "Xuất ứng dụng kèm các giá trị bí mật","filterEmpty.noApps": "Không có ứng dụng nào ở đây",@@ -137,6 +135,7 @@"iconPicker.title": "Chọn biểu tượng","iconPicker.tryYourLuck": "Thử vận may","iconPicker.zoom": "Thu phóng",+ "ifpkgDownloaded": "Đã tải xuống tệp IFPKG","importApp": "Nhập App","importAppDescription": "Gói ứng dụng hoặc tệp DSL","importAppFormats": "Hỗ trợ .ifpkg, .yaml và .yml",diff --git a/web/i18n/locales/zh-Hans/agent-v-2.json b/web/i18n/locales/zh-Hans/agent-v-2.jsonindex 7f3ec0def94..651abf65ae3 100644--- a/web/i18n/locales/zh-Hans/agent-v-2.json+++ b/web/i18n/locales/zh-Hans/agent-v-2.json@@ -363,5 +363,6 @@"agentDetail.versionHistory.filter": "筛选版本","agentDetail.versionHistory.restore": "还原","agentDetail.versionHistory.versionName": "版本 {{version}}",- "agentDetail.versionHistory.viewOnly": "只读"+ "agentDetail.versionHistory.viewOnly": "只读",+ "exportAgent": "导出 Agent"}diff --git a/web/i18n/locales/zh-Hans/app.json b/web/i18n/locales/zh-Hans/app.jsonindex 1ffbbb0c8fc..559f993fb6d 100644--- a/web/i18n/locales/zh-Hans/app.json+++ b/web/i18n/locales/zh-Hans/app.json@@ -43,9 +43,7 @@"editAppTitle": "编辑应用信息","editFailed": "更新应用信息失败","exportApp": "导出应用",- "exportAppFailed": "导出应用失败",- "exportAppSuccess": "应用包(.ifpkg)已下载",- "exportFailed": "导出 DSL 失败",+ "exportFailed": "导出失败","exportSecret.description": "勾选后,Secret 值将包含在导出的应用包中。","exportSecret.title": "导出包含 Secret 值的应用","filterEmpty.noApps": "这里没有应用",@@ -137,6 +135,7 @@"iconPicker.title": "选择图标","iconPicker.tryYourLuck": "试试手气","iconPicker.zoom": "缩放",+ "ifpkgDownloaded": "IFPKG 文件已下载","importApp": "导入应用","importAppDescription": "应用包或 DSL 文件","importAppFormats": "支持 .ifpkg、.yaml 和 .yml",diff --git a/web/i18n/locales/zh-Hant/agent-v-2.json b/web/i18n/locales/zh-Hant/agent-v-2.jsonindex 2555c510c14..cf30617edc7 100644--- a/web/i18n/locales/zh-Hant/agent-v-2.json+++ b/web/i18n/locales/zh-Hant/agent-v-2.json@@ -363,5 +363,6 @@"agentDetail.versionHistory.filter": "篩選版本","agentDetail.versionHistory.restore": "還原","agentDetail.versionHistory.versionName": "版本 {{version}}",- "agentDetail.versionHistory.viewOnly": "唯讀"+ "agentDetail.versionHistory.viewOnly": "唯讀",+ "exportAgent": "匯出 Agent"}diff --git a/web/i18n/locales/zh-Hant/app.json b/web/i18n/locales/zh-Hant/app.jsonindex bfc204d58f0..a6a4d6b59ce 100644--- a/web/i18n/locales/zh-Hant/app.json+++ b/web/i18n/locales/zh-Hant/app.json@@ -43,9 +43,7 @@"editAppTitle": "編輯應用資訊","editFailed": "更新應用資訊失敗","exportApp": "匯出應用",- "exportAppFailed": "匯出應用失敗",- "exportAppSuccess": "應用套件(.ifpkg)已下載",- "exportFailed": "匯出 DSL 失敗",+ "exportFailed": "匯出失敗","exportSecret.description": "勾選後,Secret 值將包含在匯出的應用程式套件中。","exportSecret.title": "匯出包含 Secret 值的應用程式","filterEmpty.noApps": "這裡沒有應用",@@ -137,6 +135,7 @@"iconPicker.title": "選擇圖示","iconPicker.tryYourLuck": "試試手氣","iconPicker.zoom": "縮放",+ "ifpkgDownloaded": "IFPKG 檔案已下載","importApp": "匯入應用","importAppDescription": "應用套件或 DSL 檔案","importAppFormats": "支援 .ifpkg、.yaml 和 .yml",diff --git a/web/i18n/resources.generated.d.ts b/web/i18n/resources.generated.d.tsindex dc699461944..e8e43050a13 100644--- a/web/i18n/resources.generated.d.ts+++ b/web/i18n/resources.generated.d.ts@@ -528,6 +528,7 @@ export default interface Resources {'agentDetail.versionHistory.restore': 'Restore''agentDetail.versionHistory.versionName': 'Version {{version}}''agentDetail.versionHistory.viewOnly': 'View Only'+ exportAgent: 'Export Agent'}app: {'accessControlDialog.accessItems.anyone': 'Anyone with the link'@@ -572,9 +573,7 @@ export default interface Resources {editAppTitle: 'Edit App Info'editFailed: 'Failed to update app info'exportApp: 'Export App'- exportAppFailed: 'Failed to export app'- exportAppSuccess: 'App package (.ifpkg) downloaded'- exportFailed: 'Export DSL failed.'+ exportFailed: 'Export failed''exportSecret.description': 'If selected, secret values will be included in the exported app package.''exportSecret.title': 'Export app with secret values''filterEmpty.noApps': 'No apps here'@@ -665,6 +664,7 @@ export default interface Resources {'iconPicker.title': 'Choose icon''iconPicker.tryYourLuck': 'Try your luck''iconPicker.zoom': 'Zoom'+ ifpkgDownloaded: 'IFPKG file downloaded'importApp: 'Import App'importAppDescription: 'App package or DSL file'importAppFormats: 'Supports .ifpkg, .yaml, and .yml'