Repository navigation
Trajectory 0.6.5-beta.4
Pre-releaseTrajectory 0.6.5-beta.4
This beta release expands Skill Scanner coverage across Claude Code and Codex, adds Gemini 4 model pricing, restores the live running-agents gauge, enriches turn timing and attribution metrics, and reduces authentication and replay overhead.
Highlights
Broader Skill Scanner coverage for Claude Code and Codex
When Skill Scanner is enabled, Claude Code now inspects skills located in folders passed with --add-dir as well as skills imported from CLAUDE.md via @path. When an imported skill is blocked, the next prompt is blocked with recovery steps and subsequent prompts in that session run with a warning to the model; a first prompt sent before Claude reports the import is not checked. For Codex, Skill Scanner now checks skills referenced with $name in prompts and skills read with a plain cat of SKILL.md in observe mode, recording findings without stopping the prompt or command. Personal installs created with the shell installer also enable Skill Scanner in the default security configuration.
Gemini 4 model pricing
Trajectory now reports token costs for Gemini 4 Neon, Gemini 4 Hydrogen, and Gemini 4 Carbon requests from their November 2026 launches, including sessions recorded before this release.
Live running-agents gauge and richer turn metrics
trajectory serve again reports trajectory.ops.agent.running every minute with the count of active sessions and sub-agents per coding agent (agent_kind:session and agent_kind:subagent, and 0 when idle). Completed turns now also publish measured model time, owner-scoped tool time, and first-response-byte latency when available, while session, turn, and hook latency metrics include bounded application launch attribution and active reader client context.
Custom CLI tool lists for markers and Codex hook diagnostics
Markers using normalizer: cli_tool can now declare additional command-line tools in cli_tools without waiting for a Trajectory update, and shell tool-use metrics can tag calls with the matched command-line tool. For Codex users, trajectory doctor now reports when Codex does not trust or execute Trajectory's plugin hooks and shows the command to resolve it:
trajectory doctorFixes
- AI Gateway Pup authentication now caches tokens by JWT expiry with backoff for near-expiry tokens, avoids spawning
pupwhen noai-gatewaysession exists on disk, and backs off repeated missing sign-in checks until local authentication state changes. - Pi terminal and print modes are classified cleanly without guessing SDK or RPC host surfaces, and published turn identity is preserved when Pi surface metadata arrives later.
- Replaying an unchanged local session no longer deletes and recreates its evaluated markers, reducing sync traffic for Reader V2 clients.
Privacy and safety
- Skill Scanner inspects Claude Code
--add-dirfolders andCLAUDE.md@pathimports, blocks the next prompt with recovery guidance after a blocked import, and observes Codex$nameandSKILL.mdreads without disrupting the session. - Active HTTP reader client identity is recorded only after successful authorization, remote reader identity starts after registration, and versioned local buffers keep new attribution tags isolated from older processes.