OfficeCliEngine 1.26.8.14

dotnet add package OfficeCliEngine --version 1.26.8.14
                    
NuGet\Install-Package OfficeCliEngine -Version 1.26.8.14
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="OfficeCliEngine" Version="1.26.8.14" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="OfficeCliEngine" Version="1.26.8.14" />
                    
Directory.Packages.props
<PackageReference Include="OfficeCliEngine" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add OfficeCliEngine --version 1.26.8.14
                    
#r "nuget: OfficeCliEngine, 1.26.8.14"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package OfficeCliEngine@1.26.8.14
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=OfficeCliEngine&version=1.26.8.14
                    
Install as a Cake Addin
#tool nuget:?package=OfficeCliEngine&version=1.26.8.14
                    
Install as a Cake Tool

OfficeCliEngine

In-process Office document manipulation engine (DOCX / XLSX / PPTX), vendored from the OfficeCLI project (Apache-2.0).

It exposes the OfficeCLI engine (OfficeCli.Core + OfficeCli.Handlers) as a library: deterministic JSON output, path-based addressing (/slide[1]/shape[2]), schema-driven property validation, template merge, dump/batch round-trip and HTML rendering — without the CLI shell.

This package is the engine behind the OfficeTool agent tool (AIOrchestrator\API\OfficeTool.cs). See VENDOR.md for the upstream sync procedure and NOTICE.md for attribution.

Quick start

using OfficeCli.Handlers;               // DocumentHandlerFactory
using OfficeCli.Core;                   // IDocumentHandler, CliException

using var handler = DocumentHandlerFactory.Open("/tmp/report.docx", editable: true);
var outline = handler.ViewOutline();
var json    = handler.Get("/body/p[1]", depth: 1);
handler.Set("/body/p[1]", new Dictionary<string, object?> { ["bold"] = "true" });
handler.Save();

Errors are surfaced as CliException with structured Code, Suggestion, ValidValues and Help fields — the same self-healing contract the CLI uses.

Vendored content

  • src/officecli/ — upstream project tree, byte-identical, minus Program.cs
  • skills/ — agent skills (embedded skills/… resources)
  • schemas/help/ — help schemas (embedded schemas/help/… resources)

Do not edit files under src/officecli/: they are upstream-copied. See VENDOR.md.

Updating from upstream

The vendor tracks the stable release (the "Source code (zip)" asset of https://github.com/iOfficeAI/OfficeCLI/releases), never the repository branch.

.\update-officecli.ps1                 # latest release: sync + gap analysis + builds + tests
.\update-officecli.ps1 -Tag v1.0.144   # pin a specific release

The updater vendors the release byte-identical, reports any CLI command that has no OfficeTool method yet (sync-gap-report.md), verifies embedded-resource parity, builds engine + AIOrchestrator and runs the OfficeTool.Tests harness. Nothing is committed or pushed — review, fix reported gaps, then commit (CI publishes NuGet). Full procedure: VENDOR.md.

Product Compatible and additional computed target framework versions.
.NET net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.26.8.14 103 8/14/2026
1.26.8.13 108 8/13/2026