Repository navigation
Trajectory 0.6.4-beta
Pre-releaseTrajectory 0.6.4-beta
This beta is for administrators who deploy Trajectory with Jamf Pro or another MDM, and for anyone who wants a simpler way to install, update and remove it. Three commands now cover a Mac's whole lifecycle, updates follow the update ring and version floor from your managed settings, and Trajectory Lens arrives as the new local viewer. This is a beta prerelease for early evaluation. The stable installation channel does not change.
Highlights
Install, update and remove with three commands
trajectory install sets up a Mac from its managed settings. It connects the coding agents the settings name, starts the background service when it isn't running, and updates Trajectory when the installed release is below deployment.minimum_version. Running it again changes nothing, and it prints one result.
trajectory install --format jsontrajectory uninstall removes Trajectory from your user account: the capture service, each coding agent's integration, the binary and the rest of ~/.trajectory. It keeps only the records that stop a later install from sending the same history to Datadog again. --dry-run shows what it would remove, and --purge removes the kept records too.
trajectory uninstall --dry-runUpdates follow your update ring and version floor
trajectory update installs the release your update ring names when it is newer than the installed release and not below the version floor. It then restarts the capture service, and puts the previous binary back if the service does not answer. It takes only --source, --force, --dry-run and --format text|json, and prints one result. With automatic updates on, the background service runs it as a separate process once an hour.
An update no longer hands the background service over between releases, rolls out in stages, rolls back or follows deployment.json. trajectory install removes the records earlier updates left beside the binary, so a leftover record can no longer stop the service from starting. Both commands also restart a capture service that still runs another release, such as after an interrupted update.
A simpler Jamf Pro kit
Kits from trajectory-mdm prepare now hold one script in place of the installation and reconcile scripts. It stores the API keys, installs or keeps the binary for the deployment's update ring, and exits nonzero only when the binary or an API key needs your attention, so a recurring policy retries everything else. The Trajectory state extension attribute now reports failed when Trajectory does not answer, instead of holding up the Mac's inventory update. Regenerate and redeploy the kit to adopt both. --jamf-legacy-installer builds the earlier kit.
Hosted settings can change more without a new profile
A hosted config.defaults.yaml can now change security modules and the list of coding-agent clients, and turn on a managed capture audit with managed_capture. Keep the hosted file's modules the same as the profile's until every computer runs this release, and set deployment.minimum_version above 0.6.3 before the hosted file sets setup.clients or managed_capture.
Trajectory Lens
The new trajectory lens command opens Trajectory Lens, a local viewer for your sessions. Browse sessions by period and project, and read Insights pages on usage, work, outliers, reliability and skills. On request, an installed coding agent can investigate an expensive session or a reliability problem with read-only access to your local data. The agent can read any file your user account can read, and what it reads goes to its model provider. Its own session is incognito.
trajectory lensThe viewer that trajectory view opens is deprecated in favor of Lens. It keeps working for now.
Improvements
trajectory servereportstrajectory.ops.agent.runningevery minute: the sessions and sub-agents running now for each coding agent.- The new
trajectory.ops.update.stategauge reports each computer's release ring, version floor and update state.trajectory.ops.convergence.heartbeatandtrajectory.ops.update.wait_age_secondsare no longer sent. trajectory managed statusreports the running release with its update ring and version floor.trajectory update statusandtrajectory update doctorare gone.
Fixes
- A Claude Code session that ends mid-reply, such as with
/exit, reports that turn once with its tokens and cost, and sends the session's cost total. - Codex: a turn that patched files keeps its files-modified and lines-of-code counts when you queue a prompt while it runs.
- OpenCode and Kilo keep the end-of-turn totals of a turn with very large responses, and record streamed reasoning once instead of repeating it.
- Backfill no longer stays busy when its owner stops making progress, and a pass stopped partway reports the sessions it imported, so it continues at the next start.
- A manually installed Claude Code plugin sends its events to the Trajectory home set by
TRAJECTORY_HOME. - A home with a long session history no longer pays a growing disk cost every couple of minutes while idle.
- Kiro CLI:
trajectory doctorchecks hooks underKIRO_HOME,trajectory setupno longer overwrites a hook file changed while it runs, and Agent Security names MCP servers whose names hold an underscore, hyphen or space. - Agent Security no longer reports a Kiro CLI command that only prints text as a settings change, and in observe mode evaluates every hook when several sessions run tools at once.
- The MDM reconcile script's recovery line for a refused configuration profile now matches the refusal.