Skip to content

Self-evolving Context Database for AI Agents. Unify Agent Memory, Knowledge RAG and Skills.

21.4 KB
Raw Blame
const resources = {
  operations: {
    page: {
      placeholder: 'Operations dashboard is under construction.',
    },
  },
  requestLogs: {
    accessRequired: {
      description:
        'Connection identity is unresolved. Check the server address, identity, and authentication settings in Connection Settings.',
      title: 'Connection identity required',
    },
    clear: 'Clear',
    description:
      'Inspect server-side audited API requests for the current identity, including status, latency, and request identifiers.',
    disabled: {
      description:
        'Usage/Audit is not initialized, so server-side request logs are unavailable.',
      title: 'Audit logs unavailable',
    },
    details: {
      code: 'Error code',
      data: 'Error details',
      hide: 'Hide error details',
      message: 'Error message',
      show: 'Show error details',
    },
    empty: {
      description: 'Start your first audited API call!',
      filteredDescription:
        'Adjust the query or status filter to broaden the visible log entries.',
      filteredTitle: 'No matching requests',
      title: 'No logs yet',
      upload: 'Upload File',
    },
    error: {
      description: 'Failed to load audited request logs from the server.',
      title: 'Request failed',
    },
    eyebrow: 'Server API telemetry',
    filters: {
      all: 'All logs',
      apiTypePlaceholder: 'API type',
      error: 'Error logs',
      requestIdPlaceholder: 'Exact Request ID',
      statusCodePlaceholder: 'Status code',
    },
    loading: 'Loading request logs...',
    metrics: {
      successRate: 'Success rate',
      total: 'Total calls',
    },
    pagination: {
      next: 'Next',
      pageSize: 'Rows per page',
      pageSizeValue: '{{count}} / page',
      previous: 'Previous',
      summary: '{{total}} total, page {{page}} / {{pageCount}}',
    },
    query: 'Query',
    refresh: 'Refresh',
    reset: 'Reset',
    searchPlaceholder: 'Filter method, path, or status',
    scope: {
      currentIdentity: 'Current scope: Current connection identity',
      currentIdentityWithName:
        'Current scope: Current connection identity ({{identity}})',
    },
    status: {
      error: 'ERR',
      pending: 'PENDING',
      success: 'OK',
    },
    table: {
      accountId: 'Account ID',
      apiType: 'API Type',
      duration: 'Duration',
      method: 'Method',
      path: 'Path',
      requestId: 'Request ID',
      status: 'Status',
      time: 'Time',
      title: 'Captured requests',
      userId: 'User ID',
    },
    title: 'Request Logs',
  },
  addResource: {
    title: 'Add Resource',
    description:
      'Upload a local file to the server. File type is auto-detected via magic bytes.',
    dropzone: {
      title: 'Drag & drop a file here, or click to select',
      hint: 'Up to 10 files at a time.',
      supportedFormats:
        'Supports PDF, Word, PPTX, Excel, Markdown, code files, images, and more',
    },
    fileInfo: {
      name: 'File',
      size: 'Size',
      type: 'Type',
      unknown: 'Unknown type',
      remove: 'Remove',
    },
    targetUri: 'Target URI',
    'targetUri.placeholder': 'viking://resources/',
    'targetUri.hint':
      'Choose where to store this resource. Defaults to viking://resources/.',
    'targetUri.browse': 'Browse',
    destination: {
      parent: 'Parent Directory',
      exact: 'Exact Location',
      parentHint:
        'The resource name is derived from its source and stored under this parent directory.',
      exactHint:
        'Writes the resource to this exact URI. TOS imports require this mode.',
      tosHint:
        'TOS imports must use an exact target URI because the server does not derive a resource name.',
    },
    advancedOptions: 'Advanced Options',
    upload: 'Upload File',
    'upload.processing': 'File uploaded, processing...',
    uploading: 'Uploading\u2026',
    result: {
      success: 'Upload complete!',
      skippedFiles: '{{count}} file(s) skipped (unsupported format)',
    },
    cancelUpload: 'Cancel',
    startProcessing: 'Start Processing',
    success: 'Resource added successfully',
    fileBlocked: '"{{name}}" is not a supported file type.',
    fileTooLarge: '"{{name}}" exceeds the {{size}} file size limit.',
    tooManyFiles: 'Only the first {{count}} files were kept.',
    error: 'Request Failed',
    dirPicker: {
      scope: 'Resource scope',
      mine: 'My resources',
      shared: 'Shared resources',

      title: 'Select Directory',
      select: 'Select',
      cancel: 'Cancel',
      empty: 'Empty directory',
      error: 'Failed to load directory',
      selected: 'Selected:',
    },
    mode: {
      upload: 'Upload File',
      remote: 'Remote URL',
    },
    remoteUrl: 'Remote URL',
    'remoteUrl.placeholder': 'Paste a remote resource address',
    'remoteUrl.hint':
      'HTTP(S) URL, Git repository, or other remote resource address.',
    sourceKind: {
      feishu: 'Feishu / Lark',
      feishuHint:
        'Supports documents, wiki pages, spreadsheets, and bitable links.',
      git: 'Git Repository',
      gitHint:
        'Supports public or private Git repositories with an optional branch or commit.',
      remoteFile: 'Remote File',
      remoteFileHint: 'The remote file will be downloaded and parsed.',
      tos: 'TOS',
      tosHint: 'Imports a TOS path through the configured Connector.',
      webFeed: 'Site / Feed',
      webFeedHint: 'Imports content from a Sitemap, RSS, or Atom feed.',
      webPage: 'Web Page',
      webPageHint:
        'Supports a single page or recursive crawling through same-host links.',
    },
    sourcePicker: {
      title: 'Supported Remote Resource Types',
      hint: 'Every listed type has a server-side import path. Choose one to configure its parameters, or keep auto detection.',
      feishu: 'Feishu / Lark',
      feishuHint: 'Documents, wiki pages, spreadsheets, and bitables',
      feishuExample: 'https://example.feishu.cn/docx/...',
      git: 'Git Repository',
      gitHint: 'Public or private repositories with a branch or commit',
      gitExample: 'https://github.com/org/repo',
      webPage: 'Web Page / Site',
      webPageHint: 'Single pages, crawling, Sitemap, RSS, and Atom',
      webPageExample: 'https://example.com/docs',
      remoteFile: 'Remote File',
      remoteFileHint: 'PDF, Office, Markdown, media files, and more',
      remoteFileExample: 'https://example.com/file.pdf',
      tos: 'TOS',
      tosHint: 'Requires the TOS Connector to be enabled and allowed',
      tosExample: 'tos://bucket/path',
    },
    configurationGuide: {
      title: 'How do I configure this?',
      documentation: 'Open the server configuration guide',
    },
    feishu: {
      auth: {
        title: 'Access Method',
        hint: 'Choose the identity OpenViking uses to access this resource.',
        app: 'Server App Credentials',
        appHint:
          'Uses FEISHU_APP_ID and FEISHU_APP_SECRET configured on the server.',
        user: 'User Authorization',
        userHint:
          "Uses the current user's Feishu access token for private documents.",
      },
      accessToken: 'Access Token',
      'accessToken.placeholder': 'u-...',
      'accessToken.hint':
        'The token is used only for this import and is not stored.',
      refreshToken: 'Refresh Token',
      'refreshToken.placeholder': 'r-...',
      'refreshToken.hint':
        'Scheduled sync requires a refresh token and the same issuing Feishu app configured on the server.',
      configuration: {
        credentials:
          'Get the App ID and App Secret from the Feishu Open Platform.',
        server:
          'Set FEISHU_APP_ID and FEISHU_APP_SECRET on the server, or configure feishu.app_id and feishu.app_secret in ov.conf.',
        restart:
          'Restart OpenViking so the configuration takes effect; there is no separate enable switch.',
      },
    },
    git: {
      refType: 'Revision',
      branch: 'Branch',
      'branch.placeholder': 'main',
      commit: 'Commit',
      'commit.placeholder': 'Full or short commit SHA',
      auth: {
        title: 'Repository Access',
        public: 'Public Repository',
        publicHint: 'Access the repository without credentials.',
        token: 'HTTPS Token',
        tokenHint: 'Uses HTTPS Basic Auth for a private repository.',
        httpsOnly: 'Token authentication only supports HTTPS Git URLs.',
      },
      username: 'Username',
      'username.placeholder': 'oauth2',
      token: 'Access Token',
      'token.placeholder': 'Personal Access Token',
      'token.hint':
        'Credentials are sent in the request body and stored in private Watch authentication state when scheduled sync is enabled.',
    },
    web: {
      mode: {
        title: 'Import Mode',
        auto: 'Auto Detect',
        autoHint: 'Selects a page or feed based on the URL.',
        single: 'Single Page',
        singleHint: 'Imports only this page without following links.',
        recursive: 'Recursive Crawl',
        recursiveHint: 'Follows same-host links up to the selected depth.',
        site: 'Site / Feed',
        siteHint: 'Discovers a Sitemap, RSS, or Atom feed.',
      },
      depth: 'Crawl Depth',
      maxPages: 'Maximum Pages',
      includePaths: 'Included Path Prefixes',
      'includePaths.placeholder': '/docs, /en/',
      excludePaths: 'Excluded Path Prefixes',
      'excludePaths.placeholder': '/changelog, /archive',
      allowExternalLinks: 'Allow external links',
      skipDownloadLinks: 'Skip download links found on pages',
    },
    watch: {
      enabled: 'Scheduled Sync',
      hint: 'Periodically check this remote resource and import its latest content.',
      unsupported: 'Scheduled sync is not available for TOS imports.',
      requiredUnsupported:
        'This resource type cannot create a scheduled sync. Choose another type.',
      interval: 'Sync interval (minutes)',
      intervalHint: 'For example, 60 for hourly or 1440 for daily.',
    },
    tosOptions: {
      title: 'TOS Import',
      hint: 'Import an object or prefix from a TOS URI.',
      limitations:
        'The TOS Connector must be enabled and allowed by the server. Imports use an exact destination and do not support scheduled sync or parse-layout options.',
      configuration: {
        service: 'Deploy a Connector service that handles TOS imports.',
        endpoints:
          'Set connector.enable=true in ov.conf. Set connector.connector to the full doc/add endpoint URL and connector.tracker to the full task/info endpoint URL.',
        allow: 'Add tos to connector.allowed_add_types.',
        restart: 'Restart OpenViking, then import with tos://bucket/path.',
        noDocumentation:
          'Your Connector deployment provides the service endpoints; Studio does not fill them automatically. A dedicated TOS Connector deployment guide is not currently available.',
      },
    },
    strict: 'Strict Mode',
    'strict.hint':
      'When enabled, the server will reject files with unsupported or unrecognized types instead of skipping them silently.',
    directlyUploadMedia: 'Directly Upload Media',
    'directlyUploadMedia.hint':
      'When enabled, media files (images, audio, video) are stored as-is. When disabled, media files are processed through AI vision/audio pipeline for content extraction first.',
    createParent: 'Auto-create Parent Folder',
    'createParent.hint':
      'When enabled, automatically creates the parent directory if it does not exist.',
    preserveStructure: 'Preserve directory structure',
    'preserveStructure.serverDefault': 'Use server default',
    'preserveStructure.preserve': 'Preserve structure',
    'preserveStructure.flatten': 'Flatten files',
    parseMode: 'Parse Layout',
    'parseMode.default': 'Default splitting',
    'parseMode.noSplit': 'One Markdown body per document',
    processingMode: 'Processing Mode',
    'processingMode.semantic': 'Semantic understanding and vectors',
    'processingMode.vectorsOnly': 'Vectors only',
    waitForProcessing: 'Wait for processing to finish',
    timeout: 'Wait Timeout (seconds)',
    'timeout.placeholder': 'No limit when empty',
    sourceName: 'Resource Name',
    'sourceName.placeholder': 'Optional override for the detected source name',
    tags: 'Retrieval Tags',
    'tags.placeholder': 'team=docs, env=production',
    tagMode: 'Tag Write Mode',
    'tagMode.replace': 'Replace',
    'tagMode.append': 'Append',
    'tagMode.clear': 'Clear',
    reason: 'Reason',
    'reason.placeholder': 'Why are you adding this resource?',
    instruction: 'Instruction',
    'instruction.placeholder':
      'Special processing instructions for this resource.',
    directoryScan: {
      title: 'Directory Scan Options',
      ignoreDirs: 'Ignore Directories',
      'ignoreDirs.placeholder': 'node_modules, .git, __pycache__',
      include: 'Include Pattern',
      'include.placeholder': '*.py, *.md',
      exclude: 'Exclude Pattern',
      'exclude.placeholder': '*.log, *.tmp',
    },
  },
  resources: {
    processingTasks: {
      title: 'File Processing Tasks',
      empty: 'No processing tasks',
      toggleError: 'Toggle error details',
      errors: {
        tempUploadMissingId: 'The temporary upload did not return a file ID.',
        cancelled: 'Processing cancelled',
        failed: 'Processing failed',
      },
      columns: {
        fileName: 'File Name',
        status: 'Status',
        size: 'Size',
      },
      status: {
        cancelled: 'Cancelled',
        processing: 'Processing',
        success: 'Processed',
        failed: 'Processing failed',
      },
    },
    searchPalette: {
      modes: {
        name: 'files',
        switchHint: 'switch mode',
      },
      ariaLabel: 'Search',
      openContainingDirectory: 'Open containing directory',
      placeholder: 'Search',
      scope: {
        global: 'Search scope: Global',
        current: 'Search scope: {{name}}',
        resetToGlobal: 'Click to reset to global search',
      },
      scopeState: {
        validatingTitle: 'Validating search scope',
        validatingPrefix: 'Checking whether',
        validatingSuffix: 'exists',
        switchTitle: 'Switch search scope',
        switchPrefix: 'Press',
        switchMiddle: 'to switch to',
        invalidTitle: 'Search scope not found',
        invalidPrefix: 'Path',
        invalidSuffix: 'is inaccessible and cannot be switched to',
      },
      empty: {
        title: 'Search files and directories',
      },
      browseDirHint: {
        before: 'Enter',
        after: 'to browse directories',
      },
      globalScopeHint: {
        before: 'Enter',
        after: 'to switch search scope to global',
      },
      error: 'Search failed',
      emptyResults: {
        title: 'No matching files or directories found',
        subtitle: 'Try another keyword?',
      },
      footer: {
        dirMode: {
          select: 'Select',
          level: 'Level',
          confirm: 'Confirm',
          cancel: 'Cancel',
        },
        resultMode: {
          navigate: 'Navigate',
          open: 'Open',
          close: 'Close',
          count: '{{count}} results',
        },
      },
    },
    dirBrowser: {
      back: 'Back',
      loading: 'Loading directory',
      filesSection: 'Files',
      error: 'Failed to load directory',
      empty: {
        title: 'Empty directory',
        subtitle:
          'There are currently no subdirectories to expand at this level',
      },
    },
    filePreview: {
      editFailed: 'Unable to load the complete file for editing.',
      saveFailed: 'Unable to save the file.',
      directoryLevels: {
        abstractLabel: 'Abstract',
        overviewLabel: 'Overview',
        abstractDescription: 'Short semantic abstract',
        overviewDescription: 'Directory overview',
      },
      cancel: 'Cancel',
      edit: 'Edit',
      emptyFile: '(empty file)',
      emptyPrompt: 'Select a file to preview it here',
      formattingJson: 'Formatting JSON...',
      imageFailed: 'Image failed to load.',
      imageLoading: 'Loading image...',
      largeFileSkipped: 'This file is large and was not loaded automatically.',
      jsonFormatFailed: 'JSON formatting failed. Showing the raw content.',
      loadFile: 'Load anyway',
      loadingContent: 'Reading content...',
      loadingEditor: 'Loading editor...',
      markdownPreview: 'Preview',
      markdownSource: 'Source',
      mermaid: {
        diagramLabel: 'Mermaid diagram',
        errorDetails: 'Error details',
        loading: 'Rendering Mermaid diagram...',
        renderFailed: 'Unable to render Mermaid diagram.',
        showSource: 'Show Mermaid source',
        unknownError: 'Unknown Mermaid rendering error.',
      },
      noDirectoryContext: 'No abstract or overview available for this folder.',
      save: 'Save',
      selectDirectoryContext: 'Select a chip to show folder context.',
      unsupportedBinary: 'Binary files do not support text preview.',
      yamlMetadata: {
        ariaLabel: 'Directory metadata',
        directory: 'Directory',
        generatedBy: 'Generated by',
        trigger: 'Trigger',
        source: 'Source',
        freshness: 'Freshness',
        coverage: '{{sampled}} / {{total}} sampled',
        unsampled: '{{count}} unsampled',
        pendingChanges: 'Pending changes: {{count}}',
        rawYaml: 'YAML metadata',
      },
      jsonl: {
        collapse: 'Collapse',
        dialogMode: 'Dialog mode',
        emptyJsonl: 'Empty JSONL.',
        emptyMessage: 'Empty message',
        expand: 'Expand',
        noArguments: 'No arguments',
        recordCount: '{{count}} record',
        recordCount_other: '{{count}} records',
        toolcall: 'toolcall',
      },
    },
  },
  retrieval: {
    modeDescriptions: {
      find: 'Find relevant context by meaning for a standalone query.',
      search: 'Search by meaning, optionally using session context.',
      grep: 'Match file contents using text or a regular expression.',
      glob: 'Find files using a path pattern, such as **/*.md.',
    },
    title: 'Retrieval',
    searchPlaceholder: 'Search context',
    placeholders: {
      find: 'Enter a semantic query',
      search: 'Enter a question to interpret with session context',
      grep: 'Enter a regular expression or exact text',
      glob: 'Enter a file pattern, for example **/*.md',
    },
    send: 'Search',
    controls: {
      function: 'Retrieval Function',
      modes: {
        find: 'find',
        search: 'search',
        grep: 'grep',
        glob: 'glob',
      },
      ignoreCase: 'Ignore case',
      resultCount: 'Results',
      path: 'Path',
      pathPlaceholder: '/',
      scope: 'Scope',
      customScope: 'Custom scope',
      customScopePlaceholder: 'resources/project or viking://...',
      effectiveScope: 'Scope',
      allContexts: 'All contexts',
      scopes: {
        all: {
          label: 'All contexts',
        },
        resources: {
          label: 'Resources',
        },
        custom: {
          label: 'Custom URI',
        },
      },
      sessionId: 'Session ID',
      sessionPlaceholder: 'session_id (optional)',
    },
    advanced: {
      title: 'More filters',
      contextTypes: 'Context types',
      levels: 'Content levels',
      scoreThreshold: 'Minimum relevance',
      tags: 'Search tags',
      tagsPlaceholder: 'For example env=prod, team=search',
      tagsInvalid: 'Tags must use key=value format, separated by commas',
      timeRange: 'Time range',
      since: 'Start, e.g. 7d',
      until: 'End, e.g. 2026-07-27',
      anyTime: 'Any time',
      quickRange: 'Quick range',
      last24Hours: 'Last 24 hours',
      last7Days: 'Last 7 days',
      last30Days: 'Last 30 days',
      customRange: 'Custom dates',
      startDate: 'Start date',
      endDate: 'End date',
      clearTimeRange: 'Clear time range',
      timeField: 'Time field',
      updatedAt: 'Updated time',
      createdAt: 'Created time',
      provenance: 'Include retrieval provenance',
      reset: 'Reset filters',
    },
    detail: {
      score: 'Score',
      level: 'Level',
      openFilesystem: 'Open in Filesystem',
      uri: 'URI',
      summary: 'Summary',
      noSummary: 'No summary available',
      matchReason: 'Match reason',
    },
    results: {
      title: 'Search Results',
      topN: 'Search Results (Top{{count}})',
      line: 'Line {{line}}',
      lineLabel: 'Line',
      score: 'Score',
      uri: 'URI',
      description: 'Description',
      provenance: 'Retrieval provenance ({{count}})',
    },
    types: {
      resource: 'Resources',
      memory: 'Memories',
      skill: 'Skills',
    },
    queryPlan: {
      title: '{{count}} planned queries',
      more: '+{{count}} more',
    },
    loading: {
      vector: 'Searching vector indexes...',
      scan: 'Scanning context hierarchy...',
      match: 'Matching semantic context...',
      rerank: 'Reranking results...',
    },
    empty: {
      checking: 'Checking retrievable context...',
      readyTitle: 'Retrievable context is available',
      readyDescription: 'Enter a keyword and press Enter to search',
      title: 'No retrievable context yet',
      description: 'Upload your first resource to get started.',
      upload: 'Upload File',
    },
    error: {
      title: 'Search failed',
      fallback: 'The request could not be completed. Please try again.',
      network:
        'The OpenViking service could not be reached. Check the connection URL, service status, or CORS configuration.',
      code: 'Error code',
      status: 'HTTP status',
      requestId: 'Request ID',
    },
    noResults: {
      title: 'No matching content found',
      subtitle: 'Try another keyword or adjust the path scope',
    },
  },
} as const

export default resources