NextUI.AI.Harnesses.Cli 1.6.2195

NextUI.AI.Harnesses.Cli

Structured CLI agent harnesses for the NextUI AI orchestration system (design V6): instead of swallowing raw stdout, each harness speaks the CLI's official machine protocol and maps its frames onto the stable NextUI agent event contract (13 event kinds).

  • CodexAppServerHarness (nextui.cli2:codex-cli) — drives codex app-server (line-delimited JSON-RPC over stdio, without the "jsonrpc":"2.0" header field): initialize handshake, thread/start + turn/start lifecycle, streamed item/* notifications, protocol-native approvals (server→client requests answered through INextUIPermissionBroker), turn/steer interjections and turn/interrupt.
  • ClaudeStreamJsonHarness (nextui.cli2:claude-code) — drives claude -p --input-format stream-json --output-format stream-json --verbose --include-partial-messages (plain JSONL in both directions, no id correlation): system/init session id capture, token-level stream_event deltas (text/thinking), whole assistant/user messages for read-only tool visibility, one result per submitted user message; queued interjections go out as the next stdin user message after the current round. The executable name is parameterized — the same harness drives the protocol-isomorphic openclaude CLI.
  • GeminiStreamJsonHarness (nextui.cli2:gemini-cli) — drives gemini --output-format stream-json --prompt <text> (one-way JSONL on stdout; the prompt travels as argv and stdin is closed at start): init session id capture, assistant message delta chunks, tool_use/tool_result read-only tool visibility, error journal entries, one result per process. One run = one process = one prompt; interjections cannot be delivered and are journaled as rejected (contract-documented honest drop). Frame shapes are documentation-calibrated (no real binary was available); the contract lists the pending real-binary calibration items.

The package depends only on NextUI.AI.Abstractions plus the BCL (System.Diagnostics.Process, System.Text.Json, System.Threading.Channels). Per-backend compatibility contracts live in docs/agents/harness-contracts/ in the NextUI repository.

Showing the top 20 packages that depend on NextUI.AI.Harnesses.Cli.

Packages Downloads
NextUI.Blazor
NextUI Blazor Component Library
12
NextUI.Blazor
NextUI Blazor Component Library
8
NextUI.Blazor
NextUI Blazor Component Library
7
NextUI.Blazor
NextUI Blazor Component Library
6
NextUI.Blazor
NextUI Blazor Component Library
5
NextUI.Blazor
NextUI Blazor Component Library
4
NextUI.Blazor
NextUI Blazor Component Library
3
NextUI.Blazor
NextUI Blazor Component Library
2
NextUI.Blazor
NextUI Blazor Component Library
1

.NET 10.0

Version Downloads Last updated
1.6.3518 4 7/15/2026
1.6.3504-g94e6d096cc 2 7/14/2026
1.6.3501 6 7/14/2026
1.6.3488 8 7/14/2026
1.6.3483 2 7/14/2026
1.6.3415 5 7/13/2026
1.6.2607 12 6/30/2026
1.6.2596 2 6/29/2026
1.6.2583 4 6/28/2026
1.6.2422 4 6/24/2026
1.6.2419 3 6/24/2026
1.6.2415 5 6/24/2026
1.6.2363 6 6/22/2026
1.6.2195 5 6/18/2026
1.6.2077 4 6/14/2026
1.6.2024 5 6/14/2026