Skip to content

Trajectory 0.6.5-beta.2

Pre-release
Pre-release

Choose a tag to compare

@dd-octo-sts dd-octo-sts released this 02 Dec 05:22
d306ede

Trajectory 0.6.5-beta.2

This beta release adds per-client command shim selection and single-client shim restoration, introduces opt-in Claude subscription routing through AI Gateway, expands Agent Security Skill Scanner coverage across GitHub Copilot CLI and Claude Code, and improves Codex session capture under custom CODEX_HOME paths and macOS Jamf setup confirmation.

Highlights

Per-client command shims and single-client restore

trajectory setup --install-client-shims and managed client_command_shims now accept an explicit client list (such as --install-client-shims=cc or client_command_shims.clients: ["cc"]), so teams can enable command shims one client at a time without wrapping other coding agents. Users can also remove Trajectory's command shim and launcher link for a single client with trajectory setup shims restore <client>, keeping capture hooks and other clients intact while recording a local opt-out so managed reconciliation does not reinstall that shim.

trajectory setup --install-client-shims=cc
trajectory setup shims restore claude

Opt-in Claude subscription routing for AI Gateway

trajectory claude --subscription --provider <slug> adds an opt-in path (off by default) to forward a signed-in Claude /login or CLAUDE_CODE_OAUTH_TOKEN session through an AI Gateway subscription provider while preserving Datadog authentication and tagging sessions with trajectory.billing_lane:subscription.

trajectory claude --subscription --provider <slug>

Expanded Skill Scanner coverage for Copilot CLI and Claude Code

Agent Security Skill Scanner now inspects skills loaded by GitHub Copilot CLI whenever managed configuration enables Skill Scanner, blocking malicious skills in enforce mode before Copilot uses them (sessions that disable hooks are not checked). For Claude Code, Skill Scanner now also checks skills invoked before session-start discovery finishes, skills in parent folders outside a Git repository, and skills loaded from subfolders during a session.

Fixes

  • Codex hook setup now verifies Trajectory hook ownership when CODEX_HOME uses a symlinked parent directory or a case-variant path.
  • Codex sessions running under newly created per-workspace CODEX_HOME directories are captured promptly by the watcher fallback and reconcile full token usage, cost, and tool calls when hooks are active.
  • macOS Jamf installs now wait for the background service to apply the managed profile before reporting incomplete setup.
  • Skill Scanner continues blocking a skill it already found unsafe even when background scanning is busy and cannot answer in time.

Privacy and safety

  • On Linux, Skill Scanner inspects Claude Code skills in /etc/claude-code/.claude/skills, including managed skills that override personal or project skills with the same name; on macOS and Windows it reports a coverage gap when that directory exists.
  • With Skill Scanner enabled, Claude Code 2.1.332 and later no longer execute shell lines from a blocked skill, including skills preloaded by a subagent, while the skill text itself still loads.