# February 20, 2026 Update

Since the [last update](/content/blog/february-13-2026-update/index.html), we've been focused on developer experience and platform stability. Here's what's new.

## Overview

- _OpenCode session dashboard_ for terminal-based session inspection
- _.env file protection_ so project imports and cloud commands stop wiping your variables
- _Route parser improvements_ with multi-validator schema accumulation
- _Git identity commands_ separating personal identity from org installations
- _Windows path normalization_ across the CLI
- [And more!](/content/blog/february-20-2026-update#also-shipping/index.html)

## OpenCode Session Dashboard

The biggest addition this week: two new CLI commands that read [OpenCode](https://opencode.ai/) v1.2.0's SQLite database to give you live visibility into sessions, messages, tool calls, costs, and todos, all from the terminal. See the [OpenCode plugin docs](https://agentuity.dev/reference/cli/opencode-plugin#monitoring-sessions) for the full option reference.

### Dashboard

`agentuity ai opencode dashboard` shows a session tree with message counts, status, active tools, and cost summaries:

```
# Live dashboard with auto-refresh
agentuity ai opencode dashboard --watch --interval 5

# Filter to active sessions from the last hour
agentuity ai opencode dashboard --status active --since 1h

# JSON output for scripting
agentuity ai opencode dashboard --json
```

### Inspect

`agentuity ai opencode inspect` drills into a specific session to show the full message timeline, active tool calls, todos, cost breakdown, and child sessions:

```
agentuity ai opencode inspect ses_abc123
```

Under the hood, a new `OpenCodeDBReader` library reads directly from the local SQLite database, which is faster than API calls and works offline. The [Lead agent](/content/blog/january-30-2026-update#opencode-plugin/index.html) also gains a new `agentuity_session_dashboard` tool for in-process visibility into nested session hierarchies.

## .env File Protection

The CLI now preserves your existing `.env` variables when updating the SDK key. Whether you run [`project import`](https://agentuity.dev/reference/cli/getting-started#import-a-project), `cloud env set`, `cloud env delete`, or [`cloud env import`](https://agentuity.dev/reference/cli/configuration#import-from-file), only the `AGENTUITY_SDK_KEY` is touched, everything else stays intact.

## Route Parser Improvements

Two fixes to the Hono route AST parser improve build correctness:

**Multi-validator schema accumulation.** Routes using multiple validators now have all their schemas detected. Previously, only the first validator was captured:

```javascript
// Both schemas are now accumulated correctly
router.patch('/:id',
  zValidator('param', paramSchema),
  zValidator('json', bodySchema),
  async (c) => { /* ... */ }
);
```

**Hono lifecycle method filtering.** The route parser now skips `onError`, `notFound`, `basePath`, and `mount` calls, preventing them from generating false route entries during the build.

## Git Commands Restructured

The [`agentuity git`](https://agentuity.dev/reference/cli/git-integration) command tree was split into two groups to clarify the mental model:

```
# Personal GitHub identity (connect once)
agentuity git identity connect
agentuity git identity status
agentuity git identity disconnect

# Org-level GitHub App installations
agentuity git account add
agentuity git account list
agentuity git account remove
```

This separates "who you are" (identity) from "which GitHub accounts have the App installed" (account). The previous `agentuity git account add` command conflated both concepts.

## Also Shipping

**CLI Improvements**

- **File watcher ignores non-code files** — The [`agentuity dev`](https://agentuity.dev/reference/cli/development#hot-reload-behavior) watcher now skips `.md`, `.mdx`, `.yaml`, images, fonts, and other non-code assets. No more unnecessary hot reloads when editing documentation alongside agent code.
- **Windows path normalization** — A new `toForwardSlash()` utility normalizes backslash paths across agent detection, route discovery, metadata generation, zip utilities, and more. Fixes builds on Windows where `path.relative()` returns backslashes.
- **Upgrade command fix** — `agentuity upgrade` no longer hangs at the npm availability check. The subprocess call was replaced with a direct `fetch()` to the npm registry with a timeout.

**OpenCode Plugin**

- Lead agent patience guardrails strengthened with explicit tool restrictions while background tasks run
- Background manager hardened for [sandbox](https://agentuity.dev/services/sandbox) environments with proper auth headers
- `unwrapResponse()` results validated before iteration to prevent crashes

**Bug Fixes**

- Sub-router routes now use the correct file version hash for route ID generation, preventing collisions
- Queue `publish()` response parsing fixed to match the actual API response format

We're also working on improvements to database resilience, declarative sandbox dependencies, and more. Stay tuned!

## Upgrade Now

The CLI will prompt you automatically when a new version is available, but you can also upgrade manually:

```
agentuity upgrade
```

Or if you're starting fresh:

```
curl -fsSL https://agentuity.sh | sh
```

Once you're upgraded, try the new OpenCode dashboard with `agentuity ai opencode dashboard --watch`.
