LM-Kit.NET 2026.2.4

Released: Feb 12, 2026

2026.2.4 での更新項目

機能

  • Introduced the PdfSplitter class for physically splitting PDF documents by page ranges.
    • Supports extracting pages from Attachment instances or file paths.
    • Provides ExtractPages methods for single output and Split/SplitToFiles methods for multi-output splitting.
    • Integrates with DocumentSplittingResult to extract AI-detected segments into separate PDF files.
  • Introduced the DocumentSplitting class for detecting logical document boundaries within multi-page files.
  • Introduced the DocumentSplittingResult class.
  • Introduced the DocumentSegment class.
  • Introduced the PdfMerger class for merging multiple PDF documents into one.
    • Supports merging from Attachment instances or file paths.
    • Provides Merge methods for in-memory output and MergeToFile/MergeFiles methods for file output.
  • Added DatabaseTool to built-in tools for SQLite database operations.
    • Query, execute SQL, list tables, describe schemas, import/export CSV and JSON, vacuum, and backup.
    • Read-only by default with configurable write and DDL permissions, path restrictions, and blocked SQL keywords.
  • Added SpreadsheetTool to built-in tools for Excel (.xlsx) file operations.
    • Read ranges, write cells with values or formulas, list sheets, create workbooks, and convert to/from CSV and JSON.
    • Read-only by default with configurable write permissions and path restrictions.
  • Added RssFeedTool to built-in tools for RSS and Atom feed operations.
    • Fetch, parse raw XML, and search feed entries by keyword or date with support for RSS 2.0, Atom, and RSS 1.0 (RDF).
  • Added ClipboardTool to built-in tools for system clipboard access.
    • Cross-platform read/write of clipboard text using native commands (PowerShell, pbcopy/pbpaste, xclip).
  • Added FtpTool to built-in tools for FTP file transfer operations.
    • List, upload, download, delete, rename, mkdir/rmdir on FTP servers with passive mode and explicit FTPS support.
  • Extended the PdfToImage class to support JPEG output.
    • Added JPEG rendering with configurable quality alongside existing PNG and BMP support.
    • RenderToFiles now accepts "jpg" as a format option.
  • Introduced the ImageToPdf class for converting images into PDF documents.
    • Combines one or more JPEG, PNG, or BMP images into a single PDF.
    • Each image occupies a full page sized to match image dimensions.
    • Supports file path and Attachment inputs.
  • Introduced the PdfUnlocker class for removing password protection from PDFs.
    • Opens a password-protected PDF with the known password and saves an unprotected copy.
    • Supports file path and Attachment inputs with file or in-memory output.
  • Added SaveAsJpeg method to ImageBuffer.
    • Native JPEG encoder using libjpeg with configurable quality (0 to 100).
    • Supports RGB24, RGBA32 (alpha stripped), and GRAY8 pixel formats.
  • Added Document category to built-in tools with 11 document processing tools.
    • PdfSplitTool: Extract pages, split PDFs by ranges, and query page count.
    • PdfInfoTool: Retrieve page count, dimensions, metadata, and text content from PDFs.
    • PdfToImageTool: Render PDF pages as JPEG, PNG, or BMP images with configurable zoom and quality.
    • PdfMergeTool: Merge multiple PDF files into a single output file.
    • ImageToPdfTool: Convert one or more JPEG, PNG, or BMP images into a single PDF document.
    • PdfUnlockTool: Remove password protection from a PDF using the known password.
    • ImageDeskewTool: Detect and correct skew in scanned documents.
    • ImageCropTool: Auto-crop uniform borders from scanned documents and images.
    • ImageResizeTool: Resize images with exact dimensions or aspect-ratio-preserving box fit, convert pixel formats.
    • DocumentTextTool: Extract text from PDF, DOCX, XLSX, PPTX, and HTML files.
    • OcrTool: Extract text from images using Tesseract OCR with support for 34 languages.
  • Improved SupervisorOrchestrator to use a single-pass execution model.
    • Replaced the multi-step loop with a single ExecuteAgentAsync call, since AgentExecutor handles multi-turn tool calling internally.
    • Eliminated redundant supervisor iterations that could confuse the model.
  • Improved DelegateTool to return plain text on successful delegation.
    • Worker responses are now returned as plain text instead of a JSON wrapper, allowing the supervisor to relay them verbatim without summarizing.
  • Added real-time streaming of worker agent output during supervisor delegation.
    • Added AfterTextCompletion event to DelegateTool for streaming worker tokens in real time.
    • SupervisorOrchestrator now wires up BeforeDelegation, AfterDelegation, and AfterTextCompletion events to emit AgentStarted, Content, and AgentCompleted stream tokens for worker agents.
    • Users see live worker output instead of a frozen screen during delegation.
  • Improved SupervisorOrchestrator.DefaultSupervisorPrompt to instruct the supervisor to relay single-worker responses verbatim.