Skip to content

FrontAgent v2.1.1

Latest

Choose a tag to compare

@ceilf6 ceilf6 released this 09 Jun 02:10

FrontAgent v2.1.1

FrontAgent v2.1.1 is a patch release after v2.1.0. It focuses on maintainability, security hardening, workflow reliability, and test coverage across the agent execution path, Filesense, hybrid RAG, memory persistence, runtime MCP handling, and the VS Code webview.

Highlights

  • Decomposed the core agent and executor orchestration paths into smaller, focused helpers.
  • Split Filesense engine responsibilities for helpers, indexing, notes, query, and schema orchestration.
  • Extracted memory persistence writers and preload/recall helpers.
  • Extracted semantic search orchestration from the hybrid RAG knowledge-base path.
  • Hardened VS Code webview nonce generation and split webview renderers.
  • Restored and hardened local GitNexus contract gates and worktree bootstrap checks.
  • Expanded focused unit coverage across CLI, runtime MCP, executor, agent, context, Filesense, memory, RAG, and VS Code webview behavior.

Changed

  • Executor orchestration: Tool-call handling, validation skip handling, progress enforcement, step feedback, and step trace recording now live in focused modules. This keeps execution behavior stable while reducing the size of the central executor implementation.
  • Agent orchestration: Context gathering, facts update flushing, project prescan preparation, task execution setup, and execution callback wiring were extracted from the main FrontAgent flow.
  • Context management: Fact serialization, facts merging, filesystem fact updates, and module dependency graph updates were split out of ContextManager.
  • Planner phases: Planner phase helper logic was split into dedicated modules with additional tests.
  • Filesense engine: Engine helper logic, index persistence, notes generation, query result handling, and schema orchestration were separated into focused modules.
  • Memory store: Memory preload/recall behavior and persistence writer behavior were extracted from MemoryStore.
  • Hybrid RAG: Semantic search orchestration was extracted from the knowledge-base implementation.
  • Runtime MCP: MCP task invocation setup was split from the runtime MCP server handler path.
  • VS Code extension: Webview body, script, style, and template rendering were decomposed into smaller helpers.
  • Code quality subagent: Prompt policy logic was split into a dedicated helper.
  • Tooling: The temporary GitNexus release-candidate patch was removed and the Biome schema version was aligned.

Fixed

  • VS Code security: Hardened webview nonce generation.
  • Filesense query: Preserved relative path semantics in query results.
  • Filesense notes: Preserved notes schema path ownership.
  • Workflow contracts: Restored the local GitNexus contract gate.
  • Bootstrap checks: Resolved relative core worktree paths and guarded bootstrap against mismatched worktrees.

Tests

  • Added focused CLI command router coverage.
  • Added runtime MCP contract tests and schema assertion coverage.
  • Added hybrid RAG knowledge-base coverage.
  • Added executor tests for validation skipping, progress enforcement, step feedback, tool-call handling, and trace recording.
  • Added agent tests for context gathering, facts flushing, project prescan preparation, execution callbacks, and task execution setup.
  • Added ContextManager tests for fact serialization, facts merging, filesystem fact updates, and module dependency graph behavior.
  • Added Filesense tests for engine helpers, indexing persistence writes, notes generation, query behavior, and schema orchestration.
  • Added memory tests for preload/recall helpers and persistence writers.
  • Added VS Code webview tests for body, script, style, and template renderer extraction.
  • Cleaned Biome warnings in executor, shared utility, and LLM service tests.

Dependencies

  • Updated production dependency lockfile entries from the Dependabot production dependency group.

Compatibility

  • CLI package version: frontagent@2.1.1.
  • VS Code extension version: frontagent@2.1.1.
  • Node.js requirement: >=20.0.0.
  • VS Code requirement: ^1.120.0.