Skip to content

Trajectory 0.6.4-beta.4

Pre-release
Pre-release

Choose a tag to compare

@dd-octo-sts dd-octo-sts released this 20 Nov 14:42
a63e2d2

Trajectory 0.6.4-beta.4

This beta is for teams rolling Trajectory out to managed Macs and Windows computers. Metrics keep flowing after an update, and macOS stops repeating folder prompts. Managed Macs take their updates from your organization's settings, and Windows support is broader. It also retires metrics that nothing used, so check your dashboards before you upgrade. This is a beta prerelease for early evaluation. The stable installation channel does not change.

Highlights

Turn metrics keep flowing after an update

On some computers, turn metrics and turn and session-end traces stopped after an update while another program that Trajectory could not identify kept running. They now resume when the background service starts on this release, and nothing already sent is sent again. trajectory doctor reports a failure while they are held back.

No repeated folder prompts on macOS

When a user clicks Don't Allow on a macOS prompt for a protected folder, such as Documents, the background service no longer asks again and again. It stops reading that folder until it restarts. It still captures and sends those sessions, with the folder name as their repository. trajectory doctor lists the refused folders.

Managed Macs follow your organization's update settings

On Macs managed with Jamf Pro or Intune, automatic updates, the update ring and the minimum version now come only from your organization's hosted config.defaults.yaml. Automatic updates stay off until it sets auto_update: true. trajectory-mdm refuses an intent that still sets binary_update or deployment.minimum_version, so move those values to the hosted file. The Jamf Pro and Intune scripts no longer pick a release: each places its kit's own signed release, and each Mac then follows your organization's ring. Kits built at 0.6.4-beta.3 or earlier must be replaced with a kit from trajectory-mdm prepare. Macs on 0.6.4-beta.3 or earlier refuse a newly generated profile, so update them before you assign it.

OpenCode 2 captured live

Trajectory now captures OpenCode 2 sessions live, from OpenCode 2.0.31, through its OpenCode plugin. OpenCode 2.0.0 to 2.0.30 are no longer captured, so update OpenCode. trajectory setup check warns on those versions. If it reports an outdated plugin, run:

trajectory setup --clients opencode

Windows: Claude Desktop Cowork and detection

Claude Desktop Cowork sessions are now captured on Windows, and Claude Desktop installed from its MSIX package is detected. Tools on PATH are now detected on Windows. To try this beta on Windows, download trajectory-windows-amd64.exe and checksums.sha256 from the v0.6.4-beta.4 release and check the file against its checksum.

Unused metrics retired

Trajectory no longer sends 101 metrics that nothing used, or that duplicated other metrics. If a dashboard or monitor reads one, move it before you upgrade. The deprecated metrics reference lists each one and its replacement, such as trajectory.turn.cost.usd.additive for trajectory.turn.cost.usd.total. Some metric tags are gone too, including git_remote_host and cost_coverage. Use query_source:subagent for sub-agent usage.

Improvements

  • Claude Code metrics say where Claude Code ran in trajectory.client_surface: desktop, cli, ide or exec.
  • trajectory.provider_route is datadog_ai_gateway for traffic through the Datadog AI Gateway. Other gateways stay llm_gateway.
  • Administrators can let a Datadog Feature Flags environment set the default of chosen Trajectory feature flags, for percentage rollouts and kill switches.
  • GPT-6.2 Astra and Sol are priced, and fast mode estimates Codex credits at twice the Standard rate for GPT-6 and GPT-6.1 models.
  • Every completed turn carries gen_ai.request.reasoning_effort, and trajectory.turn.agents.peak_running shows the most agents at work at once.
  • Kiro CLI records each sub-agent run with its name, prompt and reply.
  • Jamf: the policy log names why the binary could not be placed.
  • install.sh checks the downloaded binary against the release checksums.

Fixes

  • Claude Code turns stay separate when a hook times out on a busy machine, and a prompt is no longer refused with filelock: timeout after 0s.
  • Claude Desktop Cowork sessions count one turn per prompt.
  • A Codex session that names only its provider no longer reports the provider as its model.
  • Pi turns on models Pi has no price for take their cost from your rate cards. Gateway names for DeepSeek V4.1 Flash are priced.
  • OpenCode 1.x and Kilo turns that end after a provider error are recorded as failed.
  • trajectory update puts the previous release back when the capture service stops within seconds of starting.
  • A Mac rolled back to 0.6.4-beta.3 can still use its metric queue. A queue that 0.6.4-beta.3 already reorganized can't be read by 0.6.4-beta.2 or earlier, so don't roll that Mac back further.
  • An organization configuration that needs a service restart now stays installed for that restart.
  • Jamf: a run no longer reports a Mac as set up when the capture service is not running.
  • trajectory publish status and trajectory doctor report capture-only when no destination can receive data.

Privacy and safety

  • Turning incognito on or off, opting out of publishing, and turning capture off or on no longer send any metric to Datadog.
  • trajectory.pr.file_work.cost_indicator.usd.additive is off by default, because its file_path tag names repository files. Set export.pr_file_work_cost_indicator: true to keep it.
  • Agent Security for Kiro CLI flags more shell commands that change Kiro hook, agent and MCP files.
  • Local agent skills get a cached security assessment, and credential files are left out of its reads and uploads.