Trax.Api.Console.Terminal
1.71.0
Prefix Reserved
dotnet tool install --global Trax.Api.Console.Terminal --version 1.71.0
dotnet new tool-manifest
dotnet tool install --local Trax.Api.Console.Terminal --version 1.71.0
#tool dotnet:?package=Trax.Api.Console.Terminal&version=1.71.0
nuke :add-package Trax.Api.Console.Terminal --version 1.71.0
Trax.Api.Console.Terminal
Part of Trax .NET: one description of your app, for the whole team. Every part of the app has a place, so you only have to write what it does. Docs · Getting started · Repository
trax-console is the Trax operations console in a terminal: runs, dead letters, the work queue, manifests, a run's
trace and machine instances, read and acted on over SSH or anywhere without a browser. It sends only the documents the
browser console sends, so a host that serves the console has nothing new to allow, and the operations gate decides
every request.
Install
dotnet tool install --global Trax.Api.Console.Terminal # needs the .NET 10 runtime
Install the version of the Trax release the host runs: trax-console check says which.
Example
export TRAX_CONSOLE_API_KEY=$(pass show trax/prod-operator)
trax-console --host https://ops.example.com # the console
trax-console --host https://ops.example.com list runs --where state=FAILED
trax-console --host https://ops.example.com do dead-letters requeue 7 9
With no command it opens the console; with one it answers in JSON lines, for scripts and agents. The credential
comes from TRAX_CONSOLE_API_KEY, TRAX_CONSOLE_TOKEN, --api-key-file or --token-file, never the command line.
Where this fits
Trax is split into layers, one folder of this repository each. Take the ones you need; the trains you wrote do not change. You are here: Trax.Api.
| Folder | What it adds |
|---|---|
| Trax.Core | Trains, junctions and the chain, with no database and no DI container |
| Trax.Effect | A recorded run for every execution (Postgres, SQLite or in memory), DI, effect providers |
| Trax.StateMachine | State machines a page drives and the server applies, in C# and TypeScript, held to one conformance kit |
| Trax.Mediator | The train bus: run a train by handing over its input, with every chain checked at startup |
| Trax.Scheduler | Cron and interval schedules, retries, dead letters, and workers on other machines or in Lambda |
| Trax.Api | GraphQL generated from your trains, with authentication, audit and typed clients, and the operations console your host serves, in a browser or a terminal |
| Trax.Cli | The trax tool: scaffold a hub and trains from an OpenAPI or GraphQL schema, and state-machine codegen |
| Trax.Samples | Complete sample apps, and the trax-api, trax-scheduler and trax-hub templates |
Docs live in Trax.Docs and are published at traxsharp.net/docs.
Contributing
Read AGENTS.md before changing code. Report vulnerabilities privately as described in SECURITY.md.
License
MIT. There is no commercial edition, and there will not be one.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
This package has no dependencies.