mirror of
https://github.com/agent0ai/agent-zero.git
synced 2026-06-02 15:31:28 +00:00
- Create plugins/_document_query/ with full plugin structure: plugin.yaml, default_config.yaml, tools/, helpers/, helpers/parsers/, prompts/, README.md - Add BaseParser ABC with asyncio.to_thread offload and configurable timeouts - Implement 5 parsers: PDF (PyMuPDF+Tesseract), HTML (Markdownify), Text (expanded mimetypes: YAML, XML, TOML, JS, TS, shell), Image (Unstructured), Unstructured (catch-all) - Add MIME type registry with priority-based routing via get_parser_for_mimetype() - Add gather_timeout on asyncio.gather for bounded concurrent fetches - All config externalized to default_config.yaml - Disable core files (._py.bak) replaced by plugin - Update knowledge_tool._py import to plugin path
8 lines
262 B
YAML
8 lines
262 B
YAML
name: _document_query
|
|
title: Document Query
|
|
description: Load, parse, index, and Q&A over local and remote documents with configurable timeouts and thread-safe parsers.
|
|
version: 1.0.0
|
|
settings_sections:
|
|
- agent
|
|
per_project_config: true
|
|
per_agent_config: false
|