Repository navigation
v0.7.0
HPD AI Framework 0.7.0
This release introduces a durable, journal-driven Agent runtime, committed and resumable SSE streaming, checkpoint-driven compaction, durable subagent threads, a substantially expanded TUI form system, and stronger request/response coordination in HPD Events.
HPD-Agent 0.7.0
Added
- Added canonical per-thread journals with atomic batch appends, optimistic cursor checks, journal generations, bounded reads, catch-up/live observation, and atomic journal replacement.
- Added
ThreadKey,ThreadJournalCursor,ThreadDescriptor,ThreadEventBatch,ThreadProjectionReader, and explicit append, cursor, deletion, and journal-replacement conflict errors. - Added
FileSessionStoreas the file-backed implementation of the canonical journal contract. - Added committed, resumable SSE observation with cursor-based reconnect and replay.
- Added authoritative thread runtime snapshots containing projected history, the observed cursor, pending requests, and the active backend-owned run.
- Added structured input submission results with runtime run IDs and start timestamps, plus expected-run cancellation checks.
- Added checkpoint-driven compaction through
IThreadCompactionEngineandThreadCompactionEngine. - Added automatic, manual, fork, and selected-boundary compaction using explicit
CompactionSpecificationvalues. - Added thread-context usage estimation for compaction and user-interface reporting.
- Added durable, resumable subagent threads with runtime child descriptors, task names, configuration materialization, and started/completed/failed/cancelled lifecycle events.
- Added
IAgentRuntimeResolverand stored, supplied, and parent-inherited subagent configuration sources. - Added a unified structured input-dispatch pipeline and consistent per-run configuration propagation across runtime, middleware, functions, and background work.
- Added
AgentPermissionModewith secureAskdefaults and explicitFullAccessoperation. - Added subagent tools and lifecycle rendering to the coding harness and Agent TUI.
- Added journal acceptance/performance coverage and extensive lifecycle, replay, compaction, subagent, hosting, TUI, and TypeScript SDK tests.
Changed
- Reworked
ISessionStorearound canonical journal append, replace, descriptor, read, and observation operations. - Reworked Agent hosting, ASP.NET endpoints, TUI runtimes, audio projection, evaluations, bots, multi-agent workflows, and FFI integration around journal projection.
- Standardized hosted runtime transport on committed SSE and made backend execution state authoritative.
- Reworked compaction from middleware-owned cached state into cursor-checked journal rewriting.
- Reworked thread forking to use polymorphic compaction policies and explicit journal lineage.
- Reworked subagent execution so child work has durable session/thread identity and can be resumed and observed.
- Updated model resolution so provider and model choices can be supplied consistently per run.
- Updated middleware contexts to expose the effective
AgentRunConfigthroughout the execution lifecycle. - Updated coding command execution, permission handling, process handles, language-server events, and persisted file mutations.
- Updated the NuGet workflow to publish all supported provider projects, including Cerebras, Cohere, DashScope, DeepInfra, DeepSeek, Fireworks, Groq, Hyperbolic, LM Studio, MiniMax, Moonshot, Nebius, Nscale, NVIDIA NIM, OpenAI Compatible, OVHcloud, Perplexity, Replicate, SambaNova, Scaleway, SiliconFlow, Together, Venice, xAI, and Z.AI.
Removed
- Removed
JsonSessionStoreand the legacy monolithic thread-event document persistence path. - Removed legacy
LoadThreadAsync,LoadThreadDocumentAsync, single-event append, and thread-ID listing operations fromISessionStore. - Removed WebSocket streaming from the ASP.NET runtime and TypeScript Agent client.
- Removed the old
CompactionState,CompactionResult, andThreadHistoryCompactionlifecycle. - Removed obsolete thread-run service methods and legacy ASP.NET integration surfaces.
- Removed separate coding-harness edit/write implementations in favor of the canonical file-mutation path.
Fixed
- Fixed soft-compaction cache replay, hard mid-turn checkpoints, post-compaction replay, and compaction summary model selection.
- Fixed hosted lifecycle recovery and reconnection behavior around active runs.
- Fixed stale cancellation requests so they cannot cancel a newer runtime run.
- Fixed subagent visibility, runtime reconstruction, and reflection-based capability collapsing.
- Fixed execute-command lifecycle, permission, and persisted-event behavior.
- Fixed bot text flushing, audio output projection, and evaluation reconstruction against committed events.
- Fixed TUI cancellation safety by requiring deliberate double-Escape cancellation during active runs.
HPD-Events 0.7.0
Added
- Added hierarchical pending-request discovery through
GetPendingRequests()andPendingRequestSnapshot. - Added
RegisterRequest<TRequest,TResponse>()so request sessions can be registered before a caller-controlled durable publication boundary. - Added asynchronous response completion with a caller-supplied commit boundary through
RespondAsync(...). - Added atomic request-resolution reservation so cancellation, expiration, and response completion cannot race across a durable commit.
Changed
- Event coordinators no longer mutate domain events to assign global sequence numbers.
- Replay ordering now relies on timestamp, priority, source ordinal, and source sequence instead of coordinator-assigned event sequence numbers.
- Request cancellation, expiration, disposal, and response completion now use atomic terminal-state transitions.
Removed
- Removed
SequenceNumberfromIEventandEvent. - Removed
EventSequenceNumberfromReplayKey.
HPD-TUI 0.7.0
Added
- Added a generic
FormField<T>model with explicit field interactions, value-change notifications, descriptions, and asynchronous pending-change support. - Added
ActionFormField<T>,ChoiceFormField<T>,MultiChoiceFormField<T>, andLongFormField. - Added inline and picker choice presentations, disabled choices, multi-selection limits, and searchable/filterable selection behavior.
- Added
FormUpdateSessionfor safely applying live form changes and restoring state when editing is cancelled. - Added autocomplete dismissal and focus-aware Escape handling for dialogs.
- Added robust terminal paste detection and coverage.
Changed
- Reworked form models, controllers, and views for live editing, richer descriptions, validation, async field activation, and clearer interaction hints.
- Expanded integer, decimal, and text fields with stronger editing and validation behavior.
- Updated selection views and prompt controllers for improved keyboard traversal and filtering.
- Markdown parsing is now lazy and invalidates cached layout state when its source changes.
Removed
- Removed the old
BooleanFormField,EnumFormField<T>, andSelectFormField<T>implementations in favor of generic choice fields.
HPD-Graph 0.7.0
Changed
- Aligned Graph test coordinators with the new HPD Events pending-request contract.
- Removed the obsolete coordinator-assigned
sequenceNumberfield from connector SSE event payloads.
TypeScript Agent SDK, ACP, Headless UI, and Studio
Added
- Added resumable journal cursors, authoritative thread execution state, context-usage types, runtime-run submission results, and subagent lifecycle event types.
- Added snapshot hydration and cursor-aware catch-up to the SSE client.
- Added runtime-child and semantic fork information to headless thread projections and branch navigation.
Changed
- Updated the Agent SDK, ACP adapter, headless UI, Svelte bindings, and Studio API integration for the canonical journal and backend-owned run lifecycle.
- Updated thread controllers, projections, revisions, selectors, and fork controls to handle journal generations and authoritative runtime state.
Removed
- Removed the TypeScript WebSocket transport and its public exports. SSE is now the sole runtime lifecycle transport.
Migration Notes
- Custom
ISessionStoreimplementations must adopt the new descriptor and journal contract. Migrate file-backed use fromJsonSessionStoretoFileSessionStore. - Streaming clients must migrate from WebSockets to resumable SSE and persist the full
(generation, sequenceNumber)cursor. - Clients should hydrate from the authoritative thread-state snapshot and use returned runtime run IDs for cancellation.
- Replace
CompactionState,CompactionResult, andThreadHistoryCompactionintegrations withIThreadCompactionEngineandCompactionSpecification. - Replace
ThreadForkCompactionIntentwithInheritThreadForkCompaction,DisableThreadForkCompaction, orApplyThreadForkCompaction. - HPD Events consumers must stop reading or assigning
Event.SequenceNumber; durable domain ordering should come from the owning journal or source. - Implementations of
IEventCoordinatororIRequestResponseBusmust add pending-request discovery, request registration, and asynchronous response completion. - HPD TUI consumers should replace boolean, enum, and select fields with
ChoiceFormField<T>orMultiChoiceFormField<T>and update custom fields for the new generic form-field contract. - Graph connector consumers should no longer expect
sequenceNumberin connector SSE metadata.
Release Scope
- 29 commits
- 426 files changed
- 27,154 additions and 17,991 deletions
- Full comparison: v0.6.0...v0.7.0