# @dexto/analytics ## 1.5.6 ### Patch Changes - 042f4f0: ### CLI Improvements - Add `/export` command to export conversations as Markdown or JSON - Add `Ctrl+T` toggle for task list visibility during processing - Improve task list UI with collapsible view near the processing message - Fix race condition causing duplicate rendering (mainly visible with explore tool) - Don't truncate `pattern` and `question` args in tool output display ### Bug Fixes - Fix build script to preserve `.dexto` storage (conversations, logs) during clean builds - Fix `@dexto/tools-todo` versioning - add to fixed version group in changeset config ### Configuration Changes - Remove approval timeout defaults - now waits indefinitely (better UX for CLI) - Add package versioning guidelines to AGENTS.md - Updated dependencies [042f4f0] - @dexto/agent-management@1.5.6 - @dexto/core@1.5.6 ## 1.5.5 ### Patch Changes - Updated dependencies [63fa083] - Updated dependencies [6df3ca9] - @dexto/core@1.5.5 - @dexto/agent-management@1.5.5 ## 1.5.4 ### Patch Changes - 499b890: Fix model override persistence after compaction and improve context token tracking **Bug Fixes:** - Fix model override resetting to config model after compaction (now respects session overrides) **Context Tracking Improvements:** - New algorithm uses actual `input_tokens` and `output_tokens` from LLM responses as source of truth - Self-correcting estimates: inaccuracies auto-correct when next LLM response arrives - Handles pruning automatically (next response's input_tokens reflects pruned state) - `/context` and compaction decisions now share common calculation logic - Removed `outputBuffer` concept in favor of single configurable threshold - Default compaction threshold lowered to 90% **New `/context` Command:** - Interactive overlay with stacked token bar visualization - Breakdown by component: system prompt, tools, messages, free space, auto-compact buffer - Expandable per-tool token details - Shows pruned tool count and compaction history **Observability:** - Comparison logging between estimated vs actual tokens for calibration - `dexto_llm_tokens_consumed` metric now includes estimated input tokens and accuracy metrics - Updated dependencies [0016cd3] - Updated dependencies [499b890] - Updated dependencies [aa2c9a0] - @dexto/core@1.5.4 - @dexto/agent-management@1.5.4 ## 1.5.3 ### Patch Changes - Updated dependencies [4f00295] - Updated dependencies [69c944c] - @dexto/agent-management@1.5.3 - @dexto/core@1.5.3 ## 1.5.2 ### Patch Changes - Updated dependencies [91acb03] - Updated dependencies [8a85ea4] - Updated dependencies [527f3f9] - @dexto/agent-management@1.5.2 - @dexto/core@1.5.2 ## 1.5.1 ### Patch Changes - Updated dependencies [a25d3ee] - Updated dependencies [bfcc7b1] - Updated dependencies [4aabdb7] - @dexto/agent-management@1.5.1 - @dexto/core@1.5.1 ## 1.5.0 ### Minor Changes - e7722e5: Minor version bump for new release with bundler, custom tool pkgs, etc. ### Patch Changes - abfe5ce: Update and standardize analytics for CLI and web UI - Updated dependencies [ee12727] - Updated dependencies [1e7e974] - Updated dependencies [4c05310] - Updated dependencies [5fa79fa] - Updated dependencies [ef40e60] - Updated dependencies [e714418] - Updated dependencies [e7722e5] - Updated dependencies [7d5ab19] - Updated dependencies [436a900] - @dexto/agent-management@1.5.0 - @dexto/core@1.5.0 ## 1.4.0 ### Patch Changes - Updated dependencies [bd5c097] - Updated dependencies [7a64414] - Updated dependencies [3cdce89] - Updated dependencies [d640e40] - Updated dependencies [6f5627d] - Updated dependencies [6e6a3e7] - Updated dependencies [f73a519] - Updated dependencies [c54760f] - Updated dependencies [ab47df8] - Updated dependencies [3b4b919] - @dexto/core@1.4.0 - @dexto/agent-management@1.4.0 ## 1.3.0 ### Patch Changes - Updated dependencies [e2f770b] - Updated dependencies [f843b62] - Updated dependencies [eb266af] - @dexto/core@1.3.0 - @dexto/agent-management@1.3.0 ## 1.2.6 ### Patch Changes - Updated dependencies [7feb030] - @dexto/core@1.2.6 - @dexto/agent-management@1.2.6 ## 1.2.5 ### Patch Changes - 5e27806: Add changeset for updated agentCard with protocol version 0.3.0 - a35a256: Migrate from WebSocket to Server-Sent Events (SSE) for real-time streaming - Replace WebSocket with SSE for message streaming via new `/api/message-stream` endpoint - Refactor approval system from event-based providers to simpler handler pattern - Add new APIs for session approval - Move session title generation to a separate API - Add `ApprovalCoordinator` for multi-client SSE routing with sessionId mapping - Add stream and generate methods to DextoAgent and integ tests for itq= - a154ae0: UI refactor with TanStack Query, new agent management package, and Hono as default server **Server:** - Make Hono the default API server (use `DEXTO_USE_EXPRESS=true` env var to use Express) - Fix agentId propagation to Hono server for correct agent name display - Fix circular reference crashes in error logging by using structured logger context **WebUI:** - Integrate TanStack Query for server state management with automatic caching and invalidation - Add centralized query key factory and API client with structured error handling - Replace manual data fetching with TanStack Query hooks across all components - Add Zustand for client-side persistent state (recent agents in localStorage) - Add keyboard shortcuts support with react-hotkeys-hook - Add optimistic updates for session management via WebSocket events - Fix Dialog auto-close bug in CreateMemoryModal - Add defensive null handling in MemoryPanel - Standardize Prettier formatting (single quotes, 4-space indentation) **Agent Management:** - Add `@dexto/agent-management` package for centralized agent configuration management - Extract agent registry, preferences, and path utilities into dedicated package **Internal:** - Improve build orchestration and fix dependency imports - Add `@dexto/agent-management` to global CLI installation - ac649fd: Fix error handling and UI bugs, add gpt-5.1, gemini-3 - Updated dependencies [c1e814f] - Updated dependencies [f9bca72] - Updated dependencies [c0a10cd] - Updated dependencies [81598b5] - Updated dependencies [4c90ffe] - Updated dependencies [1a20506] - Updated dependencies [8f373cc] - Updated dependencies [f28ad7e] - Updated dependencies [4dd4998] - Updated dependencies [5e27806] - Updated dependencies [a35a256] - Updated dependencies [0fa6ef5] - Updated dependencies [e2fb5f8] - Updated dependencies [a154ae0] - Updated dependencies [ac649fd] - @dexto/agent-management@1.2.5 - @dexto/core@1.2.5 ## 1.2.4 ### Patch Changes - cd706e7: bump up version after fixing node-machine-id - Updated dependencies [cd706e7] - @dexto/core@1.2.4 ## 1.2.3 ### Patch Changes - 5d6ae73: Bump up version to fix bugs - Updated dependencies [5d6ae73] - @dexto/core@1.2.3 ## 1.2.2 ### Patch Changes - 8b96b63: Add posthog analytics package and add to web ui - @dexto/core@1.2.2