Reference
tjet — user client
Commands:
tjet whoamitjet nametjet ownerstjet declassifytjet fixtjet fixertjet accounttjet orgtjet doctortjet bazel-credential-helpertjet operationtjet logintjet signuptjet logouttjet accountstjet issuetjet showcasetjet importtjet mirrortjet vendortjet reviewtjet landtjet logtjet difftjet snapshottjet exectjet inboxtjet searchtjet merge-basetjet rebasetjet stacktjet cherry-picktjet backporttjet reverttjet conflicttjet agenttjet mcptjet locktjet streamtjet mergetjet presubmittjet validationtjet releasetjet webhooktjet repotjet workspacetjet workspace opentjet workspace showtjet workspace bindtjet workspace switchtjet workspace updatetjet workspace newtjet workspace forktjet workspace includetjet workspace excludetjet workspace listtjet workspace closetjet workspace unpintjet workspace preimagestjet workspace pintjet workspace prefetchtjet workspace compact
tjet addtjet untracktjet removetjet mvtjet ls-filestjet statustjet daemontjet diagnosticstjet savetjet synctjet checkpointtjet filetjet blametjet historytjet changetjet undotjet redotjet restoretjet recovertjet cachetjet completionstjet admin exception
tjet
tjet: the trunkjet command line. Your files live in a repository on the server; you work on a
copy (a workspace), save locally, send your work as a change, get it reviewed, and land it.
Get started
tjet workspace open REPOSITORY FOLDER get a copy of a repository into FOLDER
tjet repo list the repositories you can see
tjet stream list the streams (like branches) of a repository
tjet where you are and what to do next
Work on your copy (inside its folder)
tjet status what you changed
tjet diff the changed lines
tjet add PATH | remove PATH | mv A B track a new file, delete, rename
tjet restore PATH throw away unsaved edits of a file
tjet save -m "what I did" save locally (tjet undo / tjet redo go back and forth)
tjet send send your saved work to the server as a change
tjet workspace update get the newest work of others (also: tjet pull)
tjet workspace switch STREAM move this copy to another stream
Review and land
tjet review create --reviewer NAME ask someone to review your change
tjet inbox what needs you
tjet diff --change ID what a change changes
tjet review comment ID "text" --path P --line N
tjet review approve ID | review request-changes ID "why"
tjet land ID merge an approved change into its stream
tjet merge STREAM merge a whole stream into main (a change to review)
tjet conflict list | show PATH | resolve PATH --file F
tjet revert ID undo a landed change (a change to review)
Look around
tjet log [STREAM] the history of your copy or of a stream
tjet blame PATH who changed each line of a file, and when
tjet history PATH the versions of one file
tjet search WORDS find text in files, and file names
tjet change list --mine your changes (ids, titles, states)
tjet file show PATH a file as it is on the server
Locks and releases
tjet lock acquire PATH | lock list | lock release PATH
tjet release create NAME | release certify NAME | release list
Outside a workspace, add --repo NAME (commands that take a change id find its repository).
Git words work too: pull, push, commit, clone, switch, checkout, branch.
Every command: tjet COMMAND --help (with examples). Machine-readable output: --json.
Commands:
whoami Who you are signed in as (and your role, inside a workspace)
name Check whether a name is free, or find what @name is now
owners OWNERS files: check them, see who owns a path
declassify Show hidden agent text or files once an approver agrees
fix Regenerate lockfiles and generated files with the repository's fixers
fixer Run fixer jobs as a runner, or see a change's fixer runs
account Your account: rename your @handle, or disable it
org Organizations: create, invite, join, members, roles, teams
doctor Check the connection, your sign-in and this workspace
bazel-credential-helper Bazel credential helper for remote builds
operation Outcomes of earlier requests (after an unknown outcome)
login Sign in (opens the browser)
signup Create an account with your email address
logout Sign out
accounts The accounts signed in on this computer
issue Issues: list, show, create, comment, close
showcase Public build showcase: build upstream commits remotely (runner, operators)
import Import a whole project from GitHub or a GitLab export
mirror Live read-only mirrors of upstream repositories
vendor Copy a mirrored upstream into a folder and keep it updated
review Ask for reviews, comment, approve or ask for changes
land Merge an approved change into its stream
log History: of your copy, of a stream (tjet log STREAM) or from a revision
diff Changed lines: your work, a change (--change ID) or two streams (A...B)
snapshot A read-only copy of an exact version, for builds
exec Run a command in a read-only copy of an exact version
inbox What needs you: review requests and other notifications
search Find text in files, and file names
merge-base Where two versions or streams started to differ
rebase Move your change onto the newest version of its stream
stack Changes that build on each other
cherry-pick Copy one landed change onto a stream (a new change)
backport Copy one landed change onto a maintained stream
revert Undo a landed change (a new change to review and land)
conflict Show and resolve merge conflicts
agent Tokens for agents and services
mcp Let a local AI client work here as your agent (MCP)
lock Lock files that cannot be merged (images, design files)
stream Streams (like branches): list, history, create, merge, rules
merge Merge a stream into main or another stream (a change to review)
presubmit Build and test the targets a change affects (runner and results)
validation Check results (CI) for changes about to land
release Releases: named, frozen versions
webhook Webhook deliveries (administrators)
repo Repositories: list, show, create, give access
workspace Your copies: open, update, switch stream, list
add Start tracking new files
untrack Stop tracking files but keep them on disk
remove Delete files (recorded at your next save)
mv Move or rename a file or folder
ls-files List the files this copy tracks (like git ls-files)
status What you changed in this copy (also: just `tjet`)
daemon The background helper that watches your copies
diagnostics Write a local diagnostics bundle for a bug report
save Save your work on this computer (tjet undo goes back)
sync Send your saved work to the server as a change (same as tjet send) [alias: send]
checkpoint Your local saves
file Files as they are on the server: show, history, blame
blame Who changed each line of a file, and when
history The versions of one file
change Changes: list, show, start a new one, abandon
undo Go back to your previous save
redo Go forward again after tjet undo
restore Throw away unsaved edits (shows what first)
recover Finish or roll back an interrupted command
cache The local download cache
completions Shell completion script (bash, zsh, fish, ...)
admin Administration (runs tjet-admin)
help Print this message or the help of the given subcommand(s)
Options:
-h, --help Print help
-V, --version Print version
Global options:
--server <SERVER> Server base URL. Default: the workspace's server, else the profile's, else https://trunkjet.io (the server `tjet login` signs in to) [env: TJET_SERVER=]
--profile <PROFILE> Named profile of the user configuration (TOML; schema: docs/manual/user-config.md) [env: TJET_PROFILE=]
--timeout <TIMEOUT> Whole-command deadline in seconds. On expiry the command stops; a remote request may already have completed (exit 8 for mutating commands) [env: TJET_TIMEOUT=]
--no-progress Do not write progress to stderr [env: TJET_NO_PROGRESS=]
--token-fd <TOKEN_FD> Read a session or scoped (agent) token from this open file descriptor (never pass a secret as a command-line value)
--token-stdin Read a session or scoped (agent) token from standard input
--workspace <WORKSPACE> Workspace directory (default: search upward from the current directory)
--json Emit exactly one JSON result on stdout
--non-interactive Never prompt; return structured errors instead
--allow-elevated-writes Windows: let this command change workspaces itself although the shell is elevated and UAC is on. Risky: the user's unelevated programs could redirect those writes. Without it an elevated tjet writes only through the unelevated daemon
--request-id <REQUEST_ID> Request identity for this command. Re-running the same command with the same value repeats exactly the same requests, so the server replays outcomes it already recorded instead of executing twice (use it to retry after an unknown outcome, exit 8)
Exit codes
0 done 1 refused or invalid (the message says why and what to do) 2 wrong usage
3 not signed in or not allowed 4 conflict, or something moved meanwhile 5 temporary failure, retry
6 integrity problem, recovery needed 7 over a quota or budget
8 unknown outcome: run the same command again with the same --request-id 130 interrupted
tjet whoami
Show the authenticated identity
Usage: tjet whoami [OPTIONS]
Options:
-h, --help
Print help (see a summary with '-h')
Global options:
--server <SERVER>
Server base URL. Default: the workspace's server, else the profile's, else https://trunkjet.io (the server `tjet login` signs in to)
[env: TJET_SERVER=]
--profile <PROFILE>
Named profile of the user configuration (TOML; schema: docs/manual/user-config.md)
[env: TJET_PROFILE=]
--timeout <TIMEOUT>
Whole-command deadline in seconds. On expiry the command stops; a remote request may already have completed (exit 8 for mutating commands)
[env: TJET_TIMEOUT=]
--no-progress
Do not write progress to stderr
[env: TJET_NO_PROGRESS=]
--token-fd <TOKEN_FD>
Read a session or scoped (agent) token from this open file descriptor (never pass a secret as a command-line value)
--token-stdin
Read a session or scoped (agent) token from standard input
--workspace <WORKSPACE>
Workspace directory (default: search upward from the current directory)
--json
Emit exactly one JSON result on stdout
--non-interactive
Never prompt; return structured errors instead
--allow-elevated-writes
Windows: let this command change workspaces itself although the shell is elevated and UAC is on. Risky: the user's unelevated programs could redirect those writes. Without it an elevated tjet writes only through the unelevated daemon
--request-id <REQUEST_ID>
Request identity for this command. Re-running the same command with the same value repeats exactly the same requests, so the server replays outcomes it already recorded instead of executing twice (use it to retry after an unknown outcome, exit 8)
Examples:
tjet whoami
tjet name
Names people type (`@handle`, `owner/repo`): check whether one is free, or find what one is now
Usage: tjet name [OPTIONS] <COMMAND>
Commands:
check Whether a name can be registered, and why not (NAME_TAKEN, NAME_RESERVED, NAME_CONFUSABLE, NAME_INVALID)
resolve What `@handle`, `@org/team` or `owner/repo` is now (a renamed name redirects)
help Print this message or the help of the given subcommand(s)
Options:
-h, --help
Print help (see a summary with '-h')
Global options:
--server <SERVER>
Server base URL. Default: the workspace's server, else the profile's, else https://trunkjet.io (the server `tjet login` signs in to)
[env: TJET_SERVER=]
--profile <PROFILE>
Named profile of the user configuration (TOML; schema: docs/manual/user-config.md)
[env: TJET_PROFILE=]
--timeout <TIMEOUT>
Whole-command deadline in seconds. On expiry the command stops; a remote request may already have completed (exit 8 for mutating commands)
[env: TJET_TIMEOUT=]
--no-progress
Do not write progress to stderr
[env: TJET_NO_PROGRESS=]
--token-fd <TOKEN_FD>
Read a session or scoped (agent) token from this open file descriptor (never pass a secret as a command-line value)
--token-stdin
Read a session or scoped (agent) token from standard input
--workspace <WORKSPACE>
Workspace directory (default: search upward from the current directory)
--json
Emit exactly one JSON result on stdout
--non-interactive
Never prompt; return structured errors instead
--allow-elevated-writes
Windows: let this command change workspaces itself although the shell is elevated and UAC is on. Risky: the user's unelevated programs could redirect those writes. Without it an elevated tjet writes only through the unelevated daemon
--request-id <REQUEST_ID>
Request identity for this command. Re-running the same command with the same value repeats exactly the same requests, so the server replays outcomes it already recorded instead of executing twice (use it to retry after an unknown outcome, exit 8)
tjet name check
Whether a name can be registered, and why not (NAME_TAKEN, NAME_RESERVED, NAME_CONFUSABLE, NAME_INVALID)
Usage: tjet name check [OPTIONS] <NAME>
Arguments:
<NAME> The name (`@` optional for a handle)
Options:
--kind <KIND> `handle`, `slug` or `repository` (repository names: tenant administrators) [default: handle]
-h, --help Print help
Global options:
--server <SERVER> Server base URL. Default: the workspace's server, else the profile's, else https://trunkjet.io (the server `tjet login` signs in to) [env: TJET_SERVER=]
--profile <PROFILE> Named profile of the user configuration (TOML; schema: docs/manual/user-config.md) [env: TJET_PROFILE=]
--timeout <TIMEOUT> Whole-command deadline in seconds. On expiry the command stops; a remote request may already have completed (exit 8 for mutating commands) [env: TJET_TIMEOUT=]
--no-progress Do not write progress to stderr [env: TJET_NO_PROGRESS=]
--token-fd <TOKEN_FD> Read a session or scoped (agent) token from this open file descriptor (never pass a secret as a command-line value)
--token-stdin Read a session or scoped (agent) token from standard input
--workspace <WORKSPACE> Workspace directory (default: search upward from the current directory)
--json Emit exactly one JSON result on stdout
--non-interactive Never prompt; return structured errors instead
--allow-elevated-writes Windows: let this command change workspaces itself although the shell is elevated and UAC is on. Risky: the user's unelevated programs could redirect those writes. Without it an elevated tjet writes only through the unelevated daemon
--request-id <REQUEST_ID> Request identity for this command. Re-running the same command with the same value repeats exactly the same requests, so the server replays outcomes it already recorded instead of executing twice (use it to retry after an unknown outcome, exit 8)
Examples:
tjet name check @mirko
tjet name resolve
What `@handle`, `@org/team` or `owner/repo` is now (a renamed name redirects)
Usage: tjet name resolve [OPTIONS] <NAME>
Arguments:
<NAME> The name
Options:
-h, --help Print help
Global options:
--server <SERVER> Server base URL. Default: the workspace's server, else the profile's, else https://trunkjet.io (the server `tjet login` signs in to) [env: TJET_SERVER=]
--profile <PROFILE> Named profile of the user configuration (TOML; schema: docs/manual/user-config.md) [env: TJET_PROFILE=]
--timeout <TIMEOUT> Whole-command deadline in seconds. On expiry the command stops; a remote request may already have completed (exit 8 for mutating commands) [env: TJET_TIMEOUT=]
--no-progress Do not write progress to stderr [env: TJET_NO_PROGRESS=]
--token-fd <TOKEN_FD> Read a session or scoped (agent) token from this open file descriptor (never pass a secret as a command-line value)
--token-stdin Read a session or scoped (agent) token from standard input
--workspace <WORKSPACE> Workspace directory (default: search upward from the current directory)
--json Emit exactly one JSON result on stdout
--non-interactive Never prompt; return structured errors instead
--allow-elevated-writes Windows: let this command change workspaces itself although the shell is elevated and UAC is on. Risky: the user's unelevated programs could redirect those writes. Without it an elevated tjet writes only through the unelevated daemon
--request-id <REQUEST_ID> Request identity for this command. Re-running the same command with the same value repeats exactly the same requests, so the server replays outcomes it already recorded instead of executing twice (use it to retry after an unknown outcome, exit 8)
Examples:
tjet name resolve acme/web
tjet owners
OWNERS and CODEOWNERS: check files offline, see who owns a path, validate names, and open the rename changes after a handle or team rename
Usage: tjet owners [OPTIONS] <COMMAND>
Commands:
check Check OWNERS/CODEOWNERS files offline (syntax, emails, patterns, limits); names are checked by `tjet owners validate`. Fails when any file has an error
validate Validate one owner file on the server, names included (unknown, retired with the current name, agents, teams of another organisation, owners who cannot read)
explain Which owners decide these paths at the head of the target stream (owners of paths you cannot read are withheld)
rename-changes After renaming a handle or team: open the owners bot's changes replacing the old name in every repository it may write to (they land only with the owners' approval)
help Print this message or the help of the given subcommand(s)
Options:
-h, --help
Print help (see a summary with '-h')
Global options:
--server <SERVER>
Server base URL. Default: the workspace's server, else the profile's, else https://trunkjet.io (the server `tjet login` signs in to)
[env: TJET_SERVER=]
--profile <PROFILE>
Named profile of the user configuration (TOML; schema: docs/manual/user-config.md)
[env: TJET_PROFILE=]
--timeout <TIMEOUT>
Whole-command deadline in seconds. On expiry the command stops; a remote request may already have completed (exit 8 for mutating commands)
[env: TJET_TIMEOUT=]
--no-progress
Do not write progress to stderr
[env: TJET_NO_PROGRESS=]
--token-fd <TOKEN_FD>
Read a session or scoped (agent) token from this open file descriptor (never pass a secret as a command-line value)
--token-stdin
Read a session or scoped (agent) token from standard input
--workspace <WORKSPACE>
Workspace directory (default: search upward from the current directory)
--json
Emit exactly one JSON result on stdout
--non-interactive
Never prompt; return structured errors instead
--allow-elevated-writes
Windows: let this command change workspaces itself although the shell is elevated and UAC is on. Risky: the user's unelevated programs could redirect those writes. Without it an elevated tjet writes only through the unelevated daemon
--request-id <REQUEST_ID>
Request identity for this command. Re-running the same command with the same value repeats exactly the same requests, so the server replays outcomes it already recorded instead of executing twice (use it to retry after an unknown outcome, exit 8)
tjet owners check
Check OWNERS/CODEOWNERS files offline (syntax, emails, patterns, limits); names are checked by `tjet owners validate`. Fails when any file has an error
Usage: tjet owners check [OPTIONS] <FILES>...
Arguments:
<FILES>... Owner files to check (`OWNERS` in any directory, `CODEOWNERS`, `.tjet/CODEOWNERS`)
Options:
-h, --help Print help
Global options:
--server <SERVER> Server base URL. Default: the workspace's server, else the profile's, else https://trunkjet.io (the server `tjet login` signs in to) [env: TJET_SERVER=]
--profile <PROFILE> Named profile of the user configuration (TOML; schema: docs/manual/user-config.md) [env: TJET_PROFILE=]
--timeout <TIMEOUT> Whole-command deadline in seconds. On expiry the command stops; a remote request may already have completed (exit 8 for mutating commands) [env: TJET_TIMEOUT=]
--no-progress Do not write progress to stderr [env: TJET_NO_PROGRESS=]
--token-fd <TOKEN_FD> Read a session or scoped (agent) token from this open file descriptor (never pass a secret as a command-line value)
--token-stdin Read a session or scoped (agent) token from standard input
--workspace <WORKSPACE> Workspace directory (default: search upward from the current directory)
--json Emit exactly one JSON result on stdout
--non-interactive Never prompt; return structured errors instead
--allow-elevated-writes Windows: let this command change workspaces itself although the shell is elevated and UAC is on. Risky: the user's unelevated programs could redirect those writes. Without it an elevated tjet writes only through the unelevated daemon
--request-id <REQUEST_ID> Request identity for this command. Re-running the same command with the same value repeats exactly the same requests, so the server replays outcomes it already recorded instead of executing twice (use it to retry after an unknown outcome, exit 8)
Examples:
tjet owners check OWNERS src/OWNERS
tjet owners validate
Validate one owner file on the server, names included (unknown, retired with the current name, agents, teams of another organisation, owners who cannot read)
Usage: tjet owners validate [OPTIONS] --repo <REPO> <FILE>
Arguments:
<FILE> The local file to send
Options:
--repo <REPO> The repository (its name); needed outside a workspace
--as <PATH> Its path in the repository (default: the file argument)
-h, --help Print help
Global options:
--server <SERVER> Server base URL. Default: the workspace's server, else the profile's, else https://trunkjet.io (the server `tjet login` signs in to) [env: TJET_SERVER=]
--profile <PROFILE> Named profile of the user configuration (TOML; schema: docs/manual/user-config.md) [env: TJET_PROFILE=]
--timeout <TIMEOUT> Whole-command deadline in seconds. On expiry the command stops; a remote request may already have completed (exit 8 for mutating commands) [env: TJET_TIMEOUT=]
--no-progress Do not write progress to stderr [env: TJET_NO_PROGRESS=]
--token-fd <TOKEN_FD> Read a session or scoped (agent) token from this open file descriptor (never pass a secret as a command-line value)
--token-stdin Read a session or scoped (agent) token from standard input
--workspace <WORKSPACE> Workspace directory (default: search upward from the current directory)
--json Emit exactly one JSON result on stdout
--non-interactive Never prompt; return structured errors instead
--allow-elevated-writes Windows: let this command change workspaces itself although the shell is elevated and UAC is on. Risky: the user's unelevated programs could redirect those writes. Without it an elevated tjet writes only through the unelevated daemon
--request-id <REQUEST_ID> Request identity for this command. Re-running the same command with the same value repeats exactly the same requests, so the server replays outcomes it already recorded instead of executing twice (use it to retry after an unknown outcome, exit 8)
Examples:
tjet owners validate --repo web src/OWNERS
tjet owners explain
Which owners decide these paths at the head of the target stream (owners of paths you cannot read are withheld)
Usage: tjet owners explain [OPTIONS] --repo <REPO> <PATHS>...
Arguments:
<PATHS>... File or folder paths
Options:
--repo <REPO> The repository (its name); needed outside a workspace
--stream <STREAM> The stream (default: main)
--change <CHANGE> Also validate the owner files among the paths at this change's current revision
-h, --help Print help
Global options:
--server <SERVER> Server base URL. Default: the workspace's server, else the profile's, else https://trunkjet.io (the server `tjet login` signs in to) [env: TJET_SERVER=]
--profile <PROFILE> Named profile of the user configuration (TOML; schema: docs/manual/user-config.md) [env: TJET_PROFILE=]
--timeout <TIMEOUT> Whole-command deadline in seconds. On expiry the command stops; a remote request may already have completed (exit 8 for mutating commands) [env: TJET_TIMEOUT=]
--no-progress Do not write progress to stderr [env: TJET_NO_PROGRESS=]
--token-fd <TOKEN_FD> Read a session or scoped (agent) token from this open file descriptor (never pass a secret as a command-line value)
--token-stdin Read a session or scoped (agent) token from standard input
--workspace <WORKSPACE> Workspace directory (default: search upward from the current directory)
--json Emit exactly one JSON result on stdout
--non-interactive Never prompt; return structured errors instead
--allow-elevated-writes Windows: let this command change workspaces itself although the shell is elevated and UAC is on. Risky: the user's unelevated programs could redirect those writes. Without it an elevated tjet writes only through the unelevated daemon
--request-id <REQUEST_ID> Request identity for this command. Re-running the same command with the same value repeats exactly the same requests, so the server replays outcomes it already recorded instead of executing twice (use it to retry after an unknown outcome, exit 8)
Examples:
tjet owners explain --repo web src/main.rs
tjet owners rename-changes
After renaming a handle or team: open the owners bot's changes replacing the old name in every repository it may write to (they land only with the owners' approval)
Usage: tjet owners rename-changes [OPTIONS] <OLD_NAME> <NEW_NAME>
Arguments:
<OLD_NAME> The retired name (@old or @org/old-team)
<NEW_NAME> The name it is now
Options:
-h, --help Print help
Global options:
--server <SERVER> Server base URL. Default: the workspace's server, else the profile's, else https://trunkjet.io (the server `tjet login` signs in to) [env: TJET_SERVER=]
--profile <PROFILE> Named profile of the user configuration (TOML; schema: docs/manual/user-config.md) [env: TJET_PROFILE=]
--timeout <TIMEOUT> Whole-command deadline in seconds. On expiry the command stops; a remote request may already have completed (exit 8 for mutating commands) [env: TJET_TIMEOUT=]
--no-progress Do not write progress to stderr [env: TJET_NO_PROGRESS=]
--token-fd <TOKEN_FD> Read a session or scoped (agent) token from this open file descriptor (never pass a secret as a command-line value)
--token-stdin Read a session or scoped (agent) token from standard input
--workspace <WORKSPACE> Workspace directory (default: search upward from the current directory)
--json Emit exactly one JSON result on stdout
--non-interactive Never prompt; return structured errors instead
--allow-elevated-writes Windows: let this command change workspaces itself although the shell is elevated and UAC is on. Risky: the user's unelevated programs could redirect those writes. Without it an elevated tjet writes only through the unelevated daemon
--request-id <REQUEST_ID> Request identity for this command. Re-running the same command with the same value repeats exactly the same requests, so the server replays outcomes it already recorded instead of executing twice (use it to retry after an unknown outcome, exit 8)
Examples:
tjet owners rename-changes @acme/core @acme/platform
tjet declassify
Text and files agents wrote after reading restricted content: see what waits for your approval, ask an approver to show a hidden item, release it, and manage the rules
Usage: tjet declassify [OPTIONS] <COMMAND>
Commands:
rules Show the repository's declassification rules (policy administrators). With `--set FILE` replace them with the rules in FILE (the `rules` array as this command prints it)
list Requests waiting for your approval: the hidden content, the paths the agent read, where it would be shown, and the digest a release must name
request Ask an approver to show one hidden item: a change's files (`--change`), its title (`--change --title`), an issue (`--issue`), an issue comment (`--issue --comment`) or a review comment (`--review --thread --event`)
release Release one item, bound to the exact content you reviewed (`--digest` as `tjet declassify list` shows it). To everyone unless `--to` names people or groups
help Print this message or the help of the given subcommand(s)
Options:
-h, --help
Print help (see a summary with '-h')
Global options:
--server <SERVER>
Server base URL. Default: the workspace's server, else the profile's, else https://trunkjet.io (the server `tjet login` signs in to)
[env: TJET_SERVER=]
--profile <PROFILE>
Named profile of the user configuration (TOML; schema: docs/manual/user-config.md)
[env: TJET_PROFILE=]
--timeout <TIMEOUT>
Whole-command deadline in seconds. On expiry the command stops; a remote request may already have completed (exit 8 for mutating commands)
[env: TJET_TIMEOUT=]
--no-progress
Do not write progress to stderr
[env: TJET_NO_PROGRESS=]
--token-fd <TOKEN_FD>
Read a session or scoped (agent) token from this open file descriptor (never pass a secret as a command-line value)
--token-stdin
Read a session or scoped (agent) token from standard input
--workspace <WORKSPACE>
Workspace directory (default: search upward from the current directory)
--json
Emit exactly one JSON result on stdout
--non-interactive
Never prompt; return structured errors instead
--allow-elevated-writes
Windows: let this command change workspaces itself although the shell is elevated and UAC is on. Risky: the user's unelevated programs could redirect those writes. Without it an elevated tjet writes only through the unelevated daemon
--request-id <REQUEST_ID>
Request identity for this command. Re-running the same command with the same value repeats exactly the same requests, so the server replays outcomes it already recorded instead of executing twice (use it to retry after an unknown outcome, exit 8)
tjet declassify rules
Show the repository's declassification rules (policy administrators). With `--set FILE` replace them with the rules in FILE (the `rules` array as this command prints it)
Usage: tjet declassify rules [OPTIONS] --repo <REPO>
Options:
--repo <REPO> The repository (its name); needed outside a workspace
--set <SET> JSON file with the new rules: `[{"name", "from", "to", "kinds", "approvers"}]` (`from`: path prefixes as strings) or the whole output of `tjet declassify rules`
-h, --help Print help
Global options:
--server <SERVER> Server base URL. Default: the workspace's server, else the profile's, else https://trunkjet.io (the server `tjet login` signs in to) [env: TJET_SERVER=]
--profile <PROFILE> Named profile of the user configuration (TOML; schema: docs/manual/user-config.md) [env: TJET_PROFILE=]
--timeout <TIMEOUT> Whole-command deadline in seconds. On expiry the command stops; a remote request may already have completed (exit 8 for mutating commands) [env: TJET_TIMEOUT=]
--no-progress Do not write progress to stderr [env: TJET_NO_PROGRESS=]
--token-fd <TOKEN_FD> Read a session or scoped (agent) token from this open file descriptor (never pass a secret as a command-line value)
--token-stdin Read a session or scoped (agent) token from standard input
--workspace <WORKSPACE> Workspace directory (default: search upward from the current directory)
--json Emit exactly one JSON result on stdout
--non-interactive Never prompt; return structured errors instead
--allow-elevated-writes Windows: let this command change workspaces itself although the shell is elevated and UAC is on. Risky: the user's unelevated programs could redirect those writes. Without it an elevated tjet writes only through the unelevated daemon
--request-id <REQUEST_ID> Request identity for this command. Re-running the same command with the same value repeats exactly the same requests, so the server replays outcomes it already recorded instead of executing twice (use it to retry after an unknown outcome, exit 8)
Examples:
tjet declassify rules --repo web --set rules.json
tjet declassify list
Requests waiting for your approval: the hidden content, the paths the agent read, where it would be shown, and the digest a release must name
Usage: tjet declassify list [OPTIONS] --repo <REPO>
Options:
--repo <REPO> The repository (its name); needed outside a workspace
-h, --help Print help
Global options:
--server <SERVER> Server base URL. Default: the workspace's server, else the profile's, else https://trunkjet.io (the server `tjet login` signs in to) [env: TJET_SERVER=]
--profile <PROFILE> Named profile of the user configuration (TOML; schema: docs/manual/user-config.md) [env: TJET_PROFILE=]
--timeout <TIMEOUT> Whole-command deadline in seconds. On expiry the command stops; a remote request may already have completed (exit 8 for mutating commands) [env: TJET_TIMEOUT=]
--no-progress Do not write progress to stderr [env: TJET_NO_PROGRESS=]
--token-fd <TOKEN_FD> Read a session or scoped (agent) token from this open file descriptor (never pass a secret as a command-line value)
--token-stdin Read a session or scoped (agent) token from standard input
--workspace <WORKSPACE> Workspace directory (default: search upward from the current directory)
--json Emit exactly one JSON result on stdout
--non-interactive Never prompt; return structured errors instead
--allow-elevated-writes Windows: let this command change workspaces itself although the shell is elevated and UAC is on. Risky: the user's unelevated programs could redirect those writes. Without it an elevated tjet writes only through the unelevated daemon
--request-id <REQUEST_ID> Request identity for this command. Re-running the same command with the same value repeats exactly the same requests, so the server replays outcomes it already recorded instead of executing twice (use it to retry after an unknown outcome, exit 8)
Examples:
tjet declassify list --repo web
tjet declassify request
Ask an approver to show one hidden item: a change's files (`--change`), its title (`--change --title`), an issue (`--issue`), an issue comment (`--issue --comment`) or a review comment (`--review --thread --event`)
Usage: tjet declassify request [OPTIONS] --repo <REPO>
Options:
--repo <REPO> The repository (its name); needed outside a workspace
--change <CHANGE> The change (its files; with `--title` its title)
--title With `--change`: the change's title instead of its files
--issue <ISSUE> The issue number (its title and description; with `--comment` one comment)
--comment <COMMENT> With `--issue`: the comment number
--review <REVIEW> A review comment: the review id (with `--thread` and `--event`)
--thread <THREAD> The review comment's thread id
--event <EVENT> The review comment's event id
--approver <APPROVER> Ask this person or group (id or handle); default: any approver
--reason <REASON> Why you need to see it (shown to the approver) [default: ""]
-h, --help Print help
Global options:
--server <SERVER> Server base URL. Default: the workspace's server, else the profile's, else https://trunkjet.io (the server `tjet login` signs in to) [env: TJET_SERVER=]
--profile <PROFILE> Named profile of the user configuration (TOML; schema: docs/manual/user-config.md) [env: TJET_PROFILE=]
--timeout <TIMEOUT> Whole-command deadline in seconds. On expiry the command stops; a remote request may already have completed (exit 8 for mutating commands) [env: TJET_TIMEOUT=]
--no-progress Do not write progress to stderr [env: TJET_NO_PROGRESS=]
--token-fd <TOKEN_FD> Read a session or scoped (agent) token from this open file descriptor (never pass a secret as a command-line value)
--token-stdin Read a session or scoped (agent) token from standard input
--workspace <WORKSPACE> Workspace directory (default: search upward from the current directory)
--json Emit exactly one JSON result on stdout
--non-interactive Never prompt; return structured errors instead
--allow-elevated-writes Windows: let this command change workspaces itself although the shell is elevated and UAC is on. Risky: the user's unelevated programs could redirect those writes. Without it an elevated tjet writes only through the unelevated daemon
--request-id <REQUEST_ID> Request identity for this command. Re-running the same command with the same value repeats exactly the same requests, so the server replays outcomes it already recorded instead of executing twice (use it to retry after an unknown outcome, exit 8)
Examples:
tjet declassify request --repo web --issue 12 --reason "I triage this issue"
tjet declassify release
Release one item, bound to the exact content you reviewed (`--digest` as `tjet declassify list` shows it). To everyone unless `--to` names people or groups
Usage: tjet declassify release [OPTIONS] --repo <REPO> --digest <DIGEST> --reason <REASON>
Options:
--repo <REPO> The repository (its name); needed outside a workspace
--change <CHANGE> The change (its files; with `--title` its title)
--title With `--change`: the change's title instead of its files
--issue <ISSUE> The issue number (its title and description; with `--comment` one comment)
--comment <COMMENT> With `--issue`: the comment number
--review <REVIEW> A review comment: the review id (with `--thread` and `--event`)
--thread <THREAD> The review comment's thread id
--event <EVENT> The review comment's event id
--digest <DIGEST> The content digest from `tjet declassify list` (what you reviewed)
--reason <REASON> Why it is safe to show (kept in the audit log)
--to <TO> Release only to these people or groups (ids or handles; repeatable)
--rule <RULE> Approve under this rule (you belong to its approvers) instead of as a policy administrator
-h, --help Print help
Global options:
--server <SERVER> Server base URL. Default: the workspace's server, else the profile's, else https://trunkjet.io (the server `tjet login` signs in to) [env: TJET_SERVER=]
--profile <PROFILE> Named profile of the user configuration (TOML; schema: docs/manual/user-config.md) [env: TJET_PROFILE=]
--timeout <TIMEOUT> Whole-command deadline in seconds. On expiry the command stops; a remote request may already have completed (exit 8 for mutating commands) [env: TJET_TIMEOUT=]
--no-progress Do not write progress to stderr [env: TJET_NO_PROGRESS=]
--token-fd <TOKEN_FD> Read a session or scoped (agent) token from this open file descriptor (never pass a secret as a command-line value)
--token-stdin Read a session or scoped (agent) token from standard input
--workspace <WORKSPACE> Workspace directory (default: search upward from the current directory)
--json Emit exactly one JSON result on stdout
--non-interactive Never prompt; return structured errors instead
--allow-elevated-writes Windows: let this command change workspaces itself although the shell is elevated and UAC is on. Risky: the user's unelevated programs could redirect those writes. Without it an elevated tjet writes only through the unelevated daemon
--request-id <REQUEST_ID> Request identity for this command. Re-running the same command with the same value repeats exactly the same requests, so the server replays outcomes it already recorded instead of executing twice (use it to retry after an unknown outcome, exit 8)
Examples:
tjet declassify release --repo web --change <change-id> --title --digest <digest> --reason "no secret in it"
tjet fix
Run the repository's fixers (`.tjet-fixers.toml`: lockfiles, generated BUILD files, indexes) on your working files, sandboxed, exactly as the server's fixer bot does, and apply what they change within their declared outputs
Usage: tjet fix [OPTIONS]
Options:
--fixer <FIXERS>
Run only these fixers (default: every declared fixer)
--check
Report what would change and fail when anything would; write nothing
--unsandboxed
Run without the sandbox (your own machine only; a server runner never does)
--tool <TOOLS>
Runner-provided tool directories, `NAME=DIR` (read-only, `DIR/bin` first on PATH)
--cache <CACHES>
Package caches, `NAME=DIR` (read-only, `TJET_CACHE_<NAME>`)
-h, --help
Print help (see a summary with '-h')
Global options:
--server <SERVER>
Server base URL. Default: the workspace's server, else the profile's, else https://trunkjet.io (the server `tjet login` signs in to)
[env: TJET_SERVER=]
--profile <PROFILE>
Named profile of the user configuration (TOML; schema: docs/manual/user-config.md)
[env: TJET_PROFILE=]
--timeout <TIMEOUT>
Whole-command deadline in seconds. On expiry the command stops; a remote request may already have completed (exit 8 for mutating commands)
[env: TJET_TIMEOUT=]
--no-progress
Do not write progress to stderr
[env: TJET_NO_PROGRESS=]
--token-fd <TOKEN_FD>
Read a session or scoped (agent) token from this open file descriptor (never pass a secret as a command-line value)
--token-stdin
Read a session or scoped (agent) token from standard input
--workspace <WORKSPACE>
Workspace directory (default: search upward from the current directory)
--json
Emit exactly one JSON result on stdout
--non-interactive
Never prompt; return structured errors instead
--allow-elevated-writes
Windows: let this command change workspaces itself although the shell is elevated and UAC is on. Risky: the user's unelevated programs could redirect those writes. Without it an elevated tjet writes only through the unelevated daemon
--request-id <REQUEST_ID>
Request identity for this command. Re-running the same command with the same value repeats exactly the same requests, so the server replays outcomes it already recorded instead of executing twice (use it to retry after an unknown outcome, exit 8)
Examples:
tjet fix --fixer decisions-index
tjet fixer
Fixer runner and status: claim and run a repository's fixer jobs as its trusted runner, or show the fixer runs of a change
Usage: tjet fixer [OPTIONS] <COMMAND>
Commands:
run Claim and run fixer jobs of a repository as its trusted runner
status Show the fixer runs of a change
help Print this message or the help of the given subcommand(s)
Options:
-h, --help
Print help (see a summary with '-h')
Global options:
--server <SERVER>
Server base URL. Default: the workspace's server, else the profile's, else https://trunkjet.io (the server `tjet login` signs in to)
[env: TJET_SERVER=]
--profile <PROFILE>
Named profile of the user configuration (TOML; schema: docs/manual/user-config.md)
[env: TJET_PROFILE=]
--timeout <TIMEOUT>
Whole-command deadline in seconds. On expiry the command stops; a remote request may already have completed (exit 8 for mutating commands)
[env: TJET_TIMEOUT=]
--no-progress
Do not write progress to stderr
[env: TJET_NO_PROGRESS=]
--token-fd <TOKEN_FD>
Read a session or scoped (agent) token from this open file descriptor (never pass a secret as a command-line value)
--token-stdin
Read a session or scoped (agent) token from standard input
--workspace <WORKSPACE>
Workspace directory (default: search upward from the current directory)
--json
Emit exactly one JSON result on stdout
--non-interactive
Never prompt; return structured errors instead
--allow-elevated-writes
Windows: let this command change workspaces itself although the shell is elevated and UAC is on. Risky: the user's unelevated programs could redirect those writes. Without it an elevated tjet writes only through the unelevated daemon
--request-id <REQUEST_ID>
Request identity for this command. Re-running the same command with the same value repeats exactly the same requests, so the server replays outcomes it already recorded instead of executing twice (use it to retry after an unknown outcome, exit 8)
tjet fixer run
Claim and run fixer jobs of a repository as its trusted runner
Usage: tjet fixer run [OPTIONS] --repo <REPO>
Options:
--repo <REPO> The repository (its name); needed outside a workspace
--once Handle at most one job, then exit (default: until no job is waiting)
--lease-ms <LEASE_MS> Lease per job in milliseconds
--tool <TOOLS> A tool directory NAME=DIR the fixers may use (read-only)
--cache <CACHES> A package cache NAME=DIR the fixers may read
-h, --help Print help
Global options:
--server <SERVER> Server base URL. Default: the workspace's server, else the profile's, else https://trunkjet.io (the server `tjet login` signs in to) [env: TJET_SERVER=]
--profile <PROFILE> Named profile of the user configuration (TOML; schema: docs/manual/user-config.md) [env: TJET_PROFILE=]
--timeout <TIMEOUT> Whole-command deadline in seconds. On expiry the command stops; a remote request may already have completed (exit 8 for mutating commands) [env: TJET_TIMEOUT=]
--no-progress Do not write progress to stderr [env: TJET_NO_PROGRESS=]
--token-fd <TOKEN_FD> Read a session or scoped (agent) token from this open file descriptor (never pass a secret as a command-line value)
--token-stdin Read a session or scoped (agent) token from standard input
--workspace <WORKSPACE> Workspace directory (default: search upward from the current directory)
--json Emit exactly one JSON result on stdout
--non-interactive Never prompt; return structured errors instead
--allow-elevated-writes Windows: let this command change workspaces itself although the shell is elevated and UAC is on. Risky: the user's unelevated programs could redirect those writes. Without it an elevated tjet writes only through the unelevated daemon
--request-id <REQUEST_ID> Request identity for this command. Re-running the same command with the same value repeats exactly the same requests, so the server replays outcomes it already recorded instead of executing twice (use it to retry after an unknown outcome, exit 8)
Examples:
tjet fixer run --repo web --tool cargo=/opt/rust --cache cargo=/srv/cargo/registry
tjet fixer status
Show the fixer runs of a change
Usage: tjet fixer status [OPTIONS] --repo <REPO> <CHANGE>
Arguments:
<CHANGE> The change (its id or the first 8 characters; default: this workspace's change)
Options:
--repo <REPO> The repository (its name); needed outside a workspace
-h, --help Print help
Global options:
--server <SERVER> Server base URL. Default: the workspace's server, else the profile's, else https://trunkjet.io (the server `tjet login` signs in to) [env: TJET_SERVER=]
--profile <PROFILE> Named profile of the user configuration (TOML; schema: docs/manual/user-config.md) [env: TJET_PROFILE=]
--timeout <TIMEOUT> Whole-command deadline in seconds. On expiry the command stops; a remote request may already have completed (exit 8 for mutating commands) [env: TJET_TIMEOUT=]
--no-progress Do not write progress to stderr [env: TJET_NO_PROGRESS=]
--token-fd <TOKEN_FD> Read a session or scoped (agent) token from this open file descriptor (never pass a secret as a command-line value)
--token-stdin Read a session or scoped (agent) token from standard input
--workspace <WORKSPACE> Workspace directory (default: search upward from the current directory)
--json Emit exactly one JSON result on stdout
--non-interactive Never prompt; return structured errors instead
--allow-elevated-writes Windows: let this command change workspaces itself although the shell is elevated and UAC is on. Risky: the user's unelevated programs could redirect those writes. Without it an elevated tjet writes only through the unelevated daemon
--request-id <REQUEST_ID> Request identity for this command. Re-running the same command with the same value repeats exactly the same requests, so the server replays outcomes it already recorded instead of executing twice (use it to retry after an unknown outcome, exit 8)
Examples:
tjet fixer status --repo web 3f2a...
tjet account
Your account: rename your handle, or disable it
Usage: tjet account [OPTIONS] <COMMAND>
Commands:
rename Rename your handle. The old one stays yours: it redirects to the new one and is never given to anyone else
disable Disable your account everywhere: every session, token and queued job stops in every organisation (needs a recent sign-in). Installation administrators may name another account with `--handle`
help Print this message or the help of the given subcommand(s)
Options:
-h, --help
Print help (see a summary with '-h')
Global options:
--server <SERVER>
Server base URL. Default: the workspace's server, else the profile's, else https://trunkjet.io (the server `tjet login` signs in to)
[env: TJET_SERVER=]
--profile <PROFILE>
Named profile of the user configuration (TOML; schema: docs/manual/user-config.md)
[env: TJET_PROFILE=]
--timeout <TIMEOUT>
Whole-command deadline in seconds. On expiry the command stops; a remote request may already have completed (exit 8 for mutating commands)
[env: TJET_TIMEOUT=]
--no-progress
Do not write progress to stderr
[env: TJET_NO_PROGRESS=]
--token-fd <TOKEN_FD>
Read a session or scoped (agent) token from this open file descriptor (never pass a secret as a command-line value)
--token-stdin
Read a session or scoped (agent) token from standard input
--workspace <WORKSPACE>
Workspace directory (default: search upward from the current directory)
--json
Emit exactly one JSON result on stdout
--non-interactive
Never prompt; return structured errors instead
--allow-elevated-writes
Windows: let this command change workspaces itself although the shell is elevated and UAC is on. Risky: the user's unelevated programs could redirect those writes. Without it an elevated tjet writes only through the unelevated daemon
--request-id <REQUEST_ID>
Request identity for this command. Re-running the same command with the same value repeats exactly the same requests, so the server replays outcomes it already recorded instead of executing twice (use it to retry after an unknown outcome, exit 8)
tjet account rename
Rename your handle. The old one stays yours: it redirects to the new one and is never given to anyone else
Usage: tjet account rename [OPTIONS] <HANDLE>
Arguments:
<HANDLE> The new handle (2-39 lowercase letters, digits and single hyphens; `@` optional)
Options:
-h, --help Print help
Global options:
--server <SERVER> Server base URL. Default: the workspace's server, else the profile's, else https://trunkjet.io (the server `tjet login` signs in to) [env: TJET_SERVER=]
--profile <PROFILE> Named profile of the user configuration (TOML; schema: docs/manual/user-config.md) [env: TJET_PROFILE=]
--timeout <TIMEOUT> Whole-command deadline in seconds. On expiry the command stops; a remote request may already have completed (exit 8 for mutating commands) [env: TJET_TIMEOUT=]
--no-progress Do not write progress to stderr [env: TJET_NO_PROGRESS=]
--token-fd <TOKEN_FD> Read a session or scoped (agent) token from this open file descriptor (never pass a secret as a command-line value)
--token-stdin Read a session or scoped (agent) token from standard input
--workspace <WORKSPACE> Workspace directory (default: search upward from the current directory)
--json Emit exactly one JSON result on stdout
--non-interactive Never prompt; return structured errors instead
--allow-elevated-writes Windows: let this command change workspaces itself although the shell is elevated and UAC is on. Risky: the user's unelevated programs could redirect those writes. Without it an elevated tjet writes only through the unelevated daemon
--request-id <REQUEST_ID> Request identity for this command. Re-running the same command with the same value repeats exactly the same requests, so the server replays outcomes it already recorded instead of executing twice (use it to retry after an unknown outcome, exit 8)
Examples:
tjet account rename mirko
tjet account disable
Disable your account everywhere: every session, token and queued job stops in every organisation (needs a recent sign-in). Installation administrators may name another account with `--handle`
Usage: tjet account disable [OPTIONS]
Options:
--handle <HANDLE> Another account to disable (installation administrators)
-h, --help Print help
Global options:
--server <SERVER> Server base URL. Default: the workspace's server, else the profile's, else https://trunkjet.io (the server `tjet login` signs in to) [env: TJET_SERVER=]
--profile <PROFILE> Named profile of the user configuration (TOML; schema: docs/manual/user-config.md) [env: TJET_PROFILE=]
--timeout <TIMEOUT> Whole-command deadline in seconds. On expiry the command stops; a remote request may already have completed (exit 8 for mutating commands) [env: TJET_TIMEOUT=]
--no-progress Do not write progress to stderr [env: TJET_NO_PROGRESS=]
--token-fd <TOKEN_FD> Read a session or scoped (agent) token from this open file descriptor (never pass a secret as a command-line value)
--token-stdin Read a session or scoped (agent) token from standard input
--workspace <WORKSPACE> Workspace directory (default: search upward from the current directory)
--json Emit exactly one JSON result on stdout
--non-interactive Never prompt; return structured errors instead
--allow-elevated-writes Windows: let this command change workspaces itself although the shell is elevated and UAC is on. Risky: the user's unelevated programs could redirect those writes. Without it an elevated tjet writes only through the unelevated daemon
--request-id <REQUEST_ID> Request identity for this command. Re-running the same command with the same value repeats exactly the same requests, so the server replays outcomes it already recorded instead of executing twice (use it to retry after an unknown outcome, exit 8)
Examples:
tjet account disable
tjet org
Organisations: create one, invite people, join, manage members, roles and teams
Usage: tjet org [OPTIONS] <COMMAND>
Commands:
create Create an organisation; you become its administrator
rename Rename the organisation (administrators) and/or change its display name. The old handle keeps redirecting for members and is never given to anyone else; clones and remotes keep working (they store the repository id). Then `tjet owners rename-changes @old @new` offers the OWNERS clean-up of `@old/team` references
use Choose the organisation your next sign-in opens (`@handle` or id). Without a choice a sign-in opens the organisation you chose with `use`, else your oldest membership
list The organisations you are a member of
show The organisation you act in (`--org`, else your default)
members Its members, their roles and teams (never email addresses)
invite Invite a person by `@handle`, or by email address (they get a link; only an account with that verified address can use it)
invitations Invitations waiting for you (`--sent`: the organisation's invitations, administrators)
join Join an organisation: an invitation id from `tjet org invitations`, or the link (or its token) from an invitation email. No account yet? Add --email (the invited address) and --handle: the mailed link creates the account and joins
decline Decline an invitation to you
revoke Withdraw an invitation the organisation sent (administrators)
role Set a member's organisation roles (comma-separated; `none` for none)
suspend Suspend a member: they keep their history but cannot act here
resume Lift a suspension
remove Remove a member from the organisation
leave Leave the organisation
team Teams (`@org/team`)
help Print this message or the help of the given subcommand(s)
Options:
--org <ORG>
The organisation to act in (`@handle`); default: your session's organisation
-h, --help
Print help (see a summary with '-h')
Global options:
--server <SERVER>
Server base URL. Default: the workspace's server, else the profile's, else https://trunkjet.io (the server `tjet login` signs in to)
[env: TJET_SERVER=]
--profile <PROFILE>
Named profile of the user configuration (TOML; schema: docs/manual/user-config.md)
[env: TJET_PROFILE=]
--timeout <TIMEOUT>
Whole-command deadline in seconds. On expiry the command stops; a remote request may already have completed (exit 8 for mutating commands)
[env: TJET_TIMEOUT=]
--no-progress
Do not write progress to stderr
[env: TJET_NO_PROGRESS=]
--token-fd <TOKEN_FD>
Read a session or scoped (agent) token from this open file descriptor (never pass a secret as a command-line value)
--token-stdin
Read a session or scoped (agent) token from standard input
--workspace <WORKSPACE>
Workspace directory (default: search upward from the current directory)
--json
Emit exactly one JSON result on stdout
--non-interactive
Never prompt; return structured errors instead
--allow-elevated-writes
Windows: let this command change workspaces itself although the shell is elevated and UAC is on. Risky: the user's unelevated programs could redirect those writes. Without it an elevated tjet writes only through the unelevated daemon
--request-id <REQUEST_ID>
Request identity for this command. Re-running the same command with the same value repeats exactly the same requests, so the server replays outcomes it already recorded instead of executing twice (use it to retry after an unknown outcome, exit 8)
tjet org create
Create an organisation; you become its administrator
Usage: tjet org create [OPTIONS] <HANDLE>
Arguments:
<HANDLE> Its handle (`@acme`; 2-39 lowercase letters, digits and single hyphens)
Options:
--name <NAME> Display name (default: the handle)
-h, --help Print help
Global options:
--server <SERVER> Server base URL. Default: the workspace's server, else the profile's, else https://trunkjet.io (the server `tjet login` signs in to) [env: TJET_SERVER=]
--profile <PROFILE> Named profile of the user configuration (TOML; schema: docs/manual/user-config.md) [env: TJET_PROFILE=]
--timeout <TIMEOUT> Whole-command deadline in seconds. On expiry the command stops; a remote request may already have completed (exit 8 for mutating commands) [env: TJET_TIMEOUT=]
--no-progress Do not write progress to stderr [env: TJET_NO_PROGRESS=]
--token-fd <TOKEN_FD> Read a session or scoped (agent) token from this open file descriptor (never pass a secret as a command-line value)
--token-stdin Read a session or scoped (agent) token from standard input
--workspace <WORKSPACE> Workspace directory (default: search upward from the current directory)
--json Emit exactly one JSON result on stdout
--non-interactive Never prompt; return structured errors instead
--allow-elevated-writes Windows: let this command change workspaces itself although the shell is elevated and UAC is on. Risky: the user's unelevated programs could redirect those writes. Without it an elevated tjet writes only through the unelevated daemon
--request-id <REQUEST_ID> Request identity for this command. Re-running the same command with the same value repeats exactly the same requests, so the server replays outcomes it already recorded instead of executing twice (use it to retry after an unknown outcome, exit 8)
Examples:
tjet org create acme --name "Acme Corp"
tjet org rename
Rename the organisation (administrators) and/or change its display name. The old handle keeps redirecting for members and is never given to anyone else; clones and remotes keep working (they store the repository id). Then `tjet owners rename-changes @old @new` offers the OWNERS clean-up of `@old/team` references
Usage: tjet org rename [OPTIONS] [HANDLE]
Arguments:
[HANDLE] The new handle (`@acme-inc`)
Options:
--name <NAME> The new display name
-h, --help Print help
Global options:
--server <SERVER> Server base URL. Default: the workspace's server, else the profile's, else https://trunkjet.io (the server `tjet login` signs in to) [env: TJET_SERVER=]
--profile <PROFILE> Named profile of the user configuration (TOML; schema: docs/manual/user-config.md) [env: TJET_PROFILE=]
--timeout <TIMEOUT> Whole-command deadline in seconds. On expiry the command stops; a remote request may already have completed (exit 8 for mutating commands) [env: TJET_TIMEOUT=]
--no-progress Do not write progress to stderr [env: TJET_NO_PROGRESS=]
--token-fd <TOKEN_FD> Read a session or scoped (agent) token from this open file descriptor (never pass a secret as a command-line value)
--token-stdin Read a session or scoped (agent) token from standard input
--workspace <WORKSPACE> Workspace directory (default: search upward from the current directory)
--json Emit exactly one JSON result on stdout
--non-interactive Never prompt; return structured errors instead
--allow-elevated-writes Windows: let this command change workspaces itself although the shell is elevated and UAC is on. Risky: the user's unelevated programs could redirect those writes. Without it an elevated tjet writes only through the unelevated daemon
--request-id <REQUEST_ID> Request identity for this command. Re-running the same command with the same value repeats exactly the same requests, so the server replays outcomes it already recorded instead of executing twice (use it to retry after an unknown outcome, exit 8)
Examples:
tjet org rename @acme-inc --name "Acme Inc."
tjet org use
Choose the organisation your next sign-in opens (`@handle` or id). Without a choice a sign-in opens the organisation you chose with `use`, else your oldest membership
Usage: tjet org use [OPTIONS] <ORG>
Arguments:
<ORG> The organisation (`@acme`)
Options:
-h, --help Print help
Global options:
--server <SERVER> Server base URL. Default: the workspace's server, else the profile's, else https://trunkjet.io (the server `tjet login` signs in to) [env: TJET_SERVER=]
--profile <PROFILE> Named profile of the user configuration (TOML; schema: docs/manual/user-config.md) [env: TJET_PROFILE=]
--timeout <TIMEOUT> Whole-command deadline in seconds. On expiry the command stops; a remote request may already have completed (exit 8 for mutating commands) [env: TJET_TIMEOUT=]
--no-progress Do not write progress to stderr [env: TJET_NO_PROGRESS=]
--token-fd <TOKEN_FD> Read a session or scoped (agent) token from this open file descriptor (never pass a secret as a command-line value)
--token-stdin Read a session or scoped (agent) token from standard input
--workspace <WORKSPACE> Workspace directory (default: search upward from the current directory)
--json Emit exactly one JSON result on stdout
--non-interactive Never prompt; return structured errors instead
--allow-elevated-writes Windows: let this command change workspaces itself although the shell is elevated and UAC is on. Risky: the user's unelevated programs could redirect those writes. Without it an elevated tjet writes only through the unelevated daemon
--request-id <REQUEST_ID> Request identity for this command. Re-running the same command with the same value repeats exactly the same requests, so the server replays outcomes it already recorded instead of executing twice (use it to retry after an unknown outcome, exit 8)
Examples:
tjet org use @acme
tjet org list
The organisations you are a member of
Usage: tjet org list [OPTIONS]
Options:
-h, --help Print help
Global options:
--server <SERVER> Server base URL. Default: the workspace's server, else the profile's, else https://trunkjet.io (the server `tjet login` signs in to) [env: TJET_SERVER=]
--profile <PROFILE> Named profile of the user configuration (TOML; schema: docs/manual/user-config.md) [env: TJET_PROFILE=]
--timeout <TIMEOUT> Whole-command deadline in seconds. On expiry the command stops; a remote request may already have completed (exit 8 for mutating commands) [env: TJET_TIMEOUT=]
--no-progress Do not write progress to stderr [env: TJET_NO_PROGRESS=]
--token-fd <TOKEN_FD> Read a session or scoped (agent) token from this open file descriptor (never pass a secret as a command-line value)
--token-stdin Read a session or scoped (agent) token from standard input
--workspace <WORKSPACE> Workspace directory (default: search upward from the current directory)
--json Emit exactly one JSON result on stdout
--non-interactive Never prompt; return structured errors instead
--allow-elevated-writes Windows: let this command change workspaces itself although the shell is elevated and UAC is on. Risky: the user's unelevated programs could redirect those writes. Without it an elevated tjet writes only through the unelevated daemon
--request-id <REQUEST_ID> Request identity for this command. Re-running the same command with the same value repeats exactly the same requests, so the server replays outcomes it already recorded instead of executing twice (use it to retry after an unknown outcome, exit 8)
Examples:
tjet org list
tjet org show
The organisation you act in (`--org`, else your default)
Usage: tjet org show [OPTIONS]
Options:
-h, --help Print help
Global options:
--server <SERVER> Server base URL. Default: the workspace's server, else the profile's, else https://trunkjet.io (the server `tjet login` signs in to) [env: TJET_SERVER=]
--profile <PROFILE> Named profile of the user configuration (TOML; schema: docs/manual/user-config.md) [env: TJET_PROFILE=]
--timeout <TIMEOUT> Whole-command deadline in seconds. On expiry the command stops; a remote request may already have completed (exit 8 for mutating commands) [env: TJET_TIMEOUT=]
--no-progress Do not write progress to stderr [env: TJET_NO_PROGRESS=]
--token-fd <TOKEN_FD> Read a session or scoped (agent) token from this open file descriptor (never pass a secret as a command-line value)
--token-stdin Read a session or scoped (agent) token from standard input
--workspace <WORKSPACE> Workspace directory (default: search upward from the current directory)
--json Emit exactly one JSON result on stdout
--non-interactive Never prompt; return structured errors instead
--allow-elevated-writes Windows: let this command change workspaces itself although the shell is elevated and UAC is on. Risky: the user's unelevated programs could redirect those writes. Without it an elevated tjet writes only through the unelevated daemon
--request-id <REQUEST_ID> Request identity for this command. Re-running the same command with the same value repeats exactly the same requests, so the server replays outcomes it already recorded instead of executing twice (use it to retry after an unknown outcome, exit 8)
Examples:
tjet org show --org @acme
tjet org members
Its members, their roles and teams (never email addresses)
Usage: tjet org members [OPTIONS]
Options:
-h, --help Print help
Global options:
--server <SERVER> Server base URL. Default: the workspace's server, else the profile's, else https://trunkjet.io (the server `tjet login` signs in to) [env: TJET_SERVER=]
--profile <PROFILE> Named profile of the user configuration (TOML; schema: docs/manual/user-config.md) [env: TJET_PROFILE=]
--timeout <TIMEOUT> Whole-command deadline in seconds. On expiry the command stops; a remote request may already have completed (exit 8 for mutating commands) [env: TJET_TIMEOUT=]
--no-progress Do not write progress to stderr [env: TJET_NO_PROGRESS=]
--token-fd <TOKEN_FD> Read a session or scoped (agent) token from this open file descriptor (never pass a secret as a command-line value)
--token-stdin Read a session or scoped (agent) token from standard input
--workspace <WORKSPACE> Workspace directory (default: search upward from the current directory)
--json Emit exactly one JSON result on stdout
--non-interactive Never prompt; return structured errors instead
--allow-elevated-writes Windows: let this command change workspaces itself although the shell is elevated and UAC is on. Risky: the user's unelevated programs could redirect those writes. Without it an elevated tjet writes only through the unelevated daemon
--request-id <REQUEST_ID> Request identity for this command. Re-running the same command with the same value repeats exactly the same requests, so the server replays outcomes it already recorded instead of executing twice (use it to retry after an unknown outcome, exit 8)
Examples:
tjet org members --org @acme
tjet org invite
Invite a person by `@handle`, or by email address (they get a link; only an account with that verified address can use it)
Usage: tjet org invite [OPTIONS] <WHO>
Arguments:
<WHO> `@handle` or an email address
Options:
--outside Invite as an outside collaborator (repository access only, no organisation role)
--role <ROLES> Organisation role given on joining (`tenant_admin`, `auditor`); repeatable
-h, --help Print help
Global options:
--server <SERVER> Server base URL. Default: the workspace's server, else the profile's, else https://trunkjet.io (the server `tjet login` signs in to) [env: TJET_SERVER=]
--profile <PROFILE> Named profile of the user configuration (TOML; schema: docs/manual/user-config.md) [env: TJET_PROFILE=]
--timeout <TIMEOUT> Whole-command deadline in seconds. On expiry the command stops; a remote request may already have completed (exit 8 for mutating commands) [env: TJET_TIMEOUT=]
--no-progress Do not write progress to stderr [env: TJET_NO_PROGRESS=]
--token-fd <TOKEN_FD> Read a session or scoped (agent) token from this open file descriptor (never pass a secret as a command-line value)
--token-stdin Read a session or scoped (agent) token from standard input
--workspace <WORKSPACE> Workspace directory (default: search upward from the current directory)
--json Emit exactly one JSON result on stdout
--non-interactive Never prompt; return structured errors instead
--allow-elevated-writes Windows: let this command change workspaces itself although the shell is elevated and UAC is on. Risky: the user's unelevated programs could redirect those writes. Without it an elevated tjet writes only through the unelevated daemon
--request-id <REQUEST_ID> Request identity for this command. Re-running the same command with the same value repeats exactly the same requests, so the server replays outcomes it already recorded instead of executing twice (use it to retry after an unknown outcome, exit 8)
Examples:
tjet org invite @ada --org @acme
tjet org invitations
Invitations waiting for you (`--sent`: the organisation's invitations, administrators)
Usage: tjet org invitations [OPTIONS]
Options:
--sent The organization's invitations instead of yours
-h, --help Print help
Global options:
--server <SERVER> Server base URL. Default: the workspace's server, else the profile's, else https://trunkjet.io (the server `tjet login` signs in to) [env: TJET_SERVER=]
--profile <PROFILE> Named profile of the user configuration (TOML; schema: docs/manual/user-config.md) [env: TJET_PROFILE=]
--timeout <TIMEOUT> Whole-command deadline in seconds. On expiry the command stops; a remote request may already have completed (exit 8 for mutating commands) [env: TJET_TIMEOUT=]
--no-progress Do not write progress to stderr [env: TJET_NO_PROGRESS=]
--token-fd <TOKEN_FD> Read a session or scoped (agent) token from this open file descriptor (never pass a secret as a command-line value)
--token-stdin Read a session or scoped (agent) token from standard input
--workspace <WORKSPACE> Workspace directory (default: search upward from the current directory)
--json Emit exactly one JSON result on stdout
--non-interactive Never prompt; return structured errors instead
--allow-elevated-writes Windows: let this command change workspaces itself although the shell is elevated and UAC is on. Risky: the user's unelevated programs could redirect those writes. Without it an elevated tjet writes only through the unelevated daemon
--request-id <REQUEST_ID> Request identity for this command. Re-running the same command with the same value repeats exactly the same requests, so the server replays outcomes it already recorded instead of executing twice (use it to retry after an unknown outcome, exit 8)
Examples:
tjet org invitations
tjet org join
Join an organisation: an invitation id from `tjet org invitations`, or the link (or its token) from an invitation email. No account yet? Add --email (the invited address) and --handle: the mailed link creates the account and joins
Usage: tjet org join [OPTIONS] <INVITATION>
Arguments:
<INVITATION>
Invitation id, or the token from the email
Options:
--email <EMAIL>
Create an account from the mailed invitation: the invited email address
--handle <HANDLE>
Create an account from the mailed invitation: its user name (@handle)
--name <NAME>
With --handle: the shown name (default: the handle)
--accept-terms <ACCEPT_TERMS>
With --handle: the terms version you accept, when the server has terms
--store <STORE>
With --handle: where the new sign-in is kept (as `tjet login --store`)
Possible values:
- keyring: The operating system's credential store
- file: A file readable only by you (`$XDG_CONFIG_HOME/trunkjet/credentials.json`)
-h, --help
Print help (see a summary with '-h')
Global options:
--server <SERVER>
Server base URL. Default: the workspace's server, else the profile's, else https://trunkjet.io (the server `tjet login` signs in to)
[env: TJET_SERVER=]
--profile <PROFILE>
Named profile of the user configuration (TOML; schema: docs/manual/user-config.md)
[env: TJET_PROFILE=]
--timeout <TIMEOUT>
Whole-command deadline in seconds. On expiry the command stops; a remote request may already have completed (exit 8 for mutating commands)
[env: TJET_TIMEOUT=]
--no-progress
Do not write progress to stderr
[env: TJET_NO_PROGRESS=]
--token-fd <TOKEN_FD>
Read a session or scoped (agent) token from this open file descriptor (never pass a secret as a command-line value)
--token-stdin
Read a session or scoped (agent) token from standard input
--workspace <WORKSPACE>
Workspace directory (default: search upward from the current directory)
--json
Emit exactly one JSON result on stdout
--non-interactive
Never prompt; return structured errors instead
--allow-elevated-writes
Windows: let this command change workspaces itself although the shell is elevated and UAC is on. Risky: the user's unelevated programs could redirect those writes. Without it an elevated tjet writes only through the unelevated daemon
--request-id <REQUEST_ID>
Request identity for this command. Re-running the same command with the same value repeats exactly the same requests, so the server replays outcomes it already recorded instead of executing twice (use it to retry after an unknown outcome, exit 8)
Examples:
tjet org join 3f2a...c9
tjet org decline
Decline an invitation to you
Usage: tjet org decline [OPTIONS] <INVITATION>
Arguments:
<INVITATION> Invitation id
Options:
-h, --help Print help
Global options:
--server <SERVER> Server base URL. Default: the workspace's server, else the profile's, else https://trunkjet.io (the server `tjet login` signs in to) [env: TJET_SERVER=]
--profile <PROFILE> Named profile of the user configuration (TOML; schema: docs/manual/user-config.md) [env: TJET_PROFILE=]
--timeout <TIMEOUT> Whole-command deadline in seconds. On expiry the command stops; a remote request may already have completed (exit 8 for mutating commands) [env: TJET_TIMEOUT=]
--no-progress Do not write progress to stderr [env: TJET_NO_PROGRESS=]
--token-fd <TOKEN_FD> Read a session or scoped (agent) token from this open file descriptor (never pass a secret as a command-line value)
--token-stdin Read a session or scoped (agent) token from standard input
--workspace <WORKSPACE> Workspace directory (default: search upward from the current directory)
--json Emit exactly one JSON result on stdout
--non-interactive Never prompt; return structured errors instead
--allow-elevated-writes Windows: let this command change workspaces itself although the shell is elevated and UAC is on. Risky: the user's unelevated programs could redirect those writes. Without it an elevated tjet writes only through the unelevated daemon
--request-id <REQUEST_ID> Request identity for this command. Re-running the same command with the same value repeats exactly the same requests, so the server replays outcomes it already recorded instead of executing twice (use it to retry after an unknown outcome, exit 8)
Examples:
tjet org decline 3f2a...c9
tjet org revoke
Withdraw an invitation the organisation sent (administrators)
Usage: tjet org revoke [OPTIONS] <INVITATION>
Arguments:
<INVITATION> Invitation id
Options:
-h, --help Print help
Global options:
--server <SERVER> Server base URL. Default: the workspace's server, else the profile's, else https://trunkjet.io (the server `tjet login` signs in to) [env: TJET_SERVER=]
--profile <PROFILE> Named profile of the user configuration (TOML; schema: docs/manual/user-config.md) [env: TJET_PROFILE=]
--timeout <TIMEOUT> Whole-command deadline in seconds. On expiry the command stops; a remote request may already have completed (exit 8 for mutating commands) [env: TJET_TIMEOUT=]
--no-progress Do not write progress to stderr [env: TJET_NO_PROGRESS=]
--token-fd <TOKEN_FD> Read a session or scoped (agent) token from this open file descriptor (never pass a secret as a command-line value)
--token-stdin Read a session or scoped (agent) token from standard input
--workspace <WORKSPACE> Workspace directory (default: search upward from the current directory)
--json Emit exactly one JSON result on stdout
--non-interactive Never prompt; return structured errors instead
--allow-elevated-writes Windows: let this command change workspaces itself although the shell is elevated and UAC is on. Risky: the user's unelevated programs could redirect those writes. Without it an elevated tjet writes only through the unelevated daemon
--request-id <REQUEST_ID> Request identity for this command. Re-running the same command with the same value repeats exactly the same requests, so the server replays outcomes it already recorded instead of executing twice (use it to retry after an unknown outcome, exit 8)
Examples:
tjet org revoke 3f2a...c9 --org @acme
tjet org role
Set a member's organisation roles (comma-separated; `none` for none)
Usage: tjet org role [OPTIONS] <MEMBER> <ROLES>
Arguments:
<MEMBER> The member (@handle)
<ROLES> Roles, comma-separated (tenant_admin, auditor) or none
Options:
-h, --help Print help
Global options:
--server <SERVER> Server base URL. Default: the workspace's server, else the profile's, else https://trunkjet.io (the server `tjet login` signs in to) [env: TJET_SERVER=]
--profile <PROFILE> Named profile of the user configuration (TOML; schema: docs/manual/user-config.md) [env: TJET_PROFILE=]
--timeout <TIMEOUT> Whole-command deadline in seconds. On expiry the command stops; a remote request may already have completed (exit 8 for mutating commands) [env: TJET_TIMEOUT=]
--no-progress Do not write progress to stderr [env: TJET_NO_PROGRESS=]
--token-fd <TOKEN_FD> Read a session or scoped (agent) token from this open file descriptor (never pass a secret as a command-line value)
--token-stdin Read a session or scoped (agent) token from standard input
--workspace <WORKSPACE> Workspace directory (default: search upward from the current directory)
--json Emit exactly one JSON result on stdout
--non-interactive Never prompt; return structured errors instead
--allow-elevated-writes Windows: let this command change workspaces itself although the shell is elevated and UAC is on. Risky: the user's unelevated programs could redirect those writes. Without it an elevated tjet writes only through the unelevated daemon
--request-id <REQUEST_ID> Request identity for this command. Re-running the same command with the same value repeats exactly the same requests, so the server replays outcomes it already recorded instead of executing twice (use it to retry after an unknown outcome, exit 8)
Examples:
tjet org role @ada tenant_admin --org @acme
tjet org suspend
Suspend a member: they keep their history but cannot act here
Usage: tjet org suspend [OPTIONS] <MEMBER>
Arguments:
<MEMBER> The member (@handle)
Options:
-h, --help Print help
Global options:
--server <SERVER> Server base URL. Default: the workspace's server, else the profile's, else https://trunkjet.io (the server `tjet login` signs in to) [env: TJET_SERVER=]
--profile <PROFILE> Named profile of the user configuration (TOML; schema: docs/manual/user-config.md) [env: TJET_PROFILE=]
--timeout <TIMEOUT> Whole-command deadline in seconds. On expiry the command stops; a remote request may already have completed (exit 8 for mutating commands) [env: TJET_TIMEOUT=]
--no-progress Do not write progress to stderr [env: TJET_NO_PROGRESS=]
--token-fd <TOKEN_FD> Read a session or scoped (agent) token from this open file descriptor (never pass a secret as a command-line value)
--token-stdin Read a session or scoped (agent) token from standard input
--workspace <WORKSPACE> Workspace directory (default: search upward from the current directory)
--json Emit exactly one JSON result on stdout
--non-interactive Never prompt; return structured errors instead
--allow-elevated-writes Windows: let this command change workspaces itself although the shell is elevated and UAC is on. Risky: the user's unelevated programs could redirect those writes. Without it an elevated tjet writes only through the unelevated daemon
--request-id <REQUEST_ID> Request identity for this command. Re-running the same command with the same value repeats exactly the same requests, so the server replays outcomes it already recorded instead of executing twice (use it to retry after an unknown outcome, exit 8)
Examples:
tjet org suspend @ada --org @acme
tjet org resume
Lift a suspension
Usage: tjet org resume [OPTIONS] <MEMBER>
Arguments:
<MEMBER> The member (@handle)
Options:
-h, --help Print help
Global options:
--server <SERVER> Server base URL. Default: the workspace's server, else the profile's, else https://trunkjet.io (the server `tjet login` signs in to) [env: TJET_SERVER=]
--profile <PROFILE> Named profile of the user configuration (TOML; schema: docs/manual/user-config.md) [env: TJET_PROFILE=]
--timeout <TIMEOUT> Whole-command deadline in seconds. On expiry the command stops; a remote request may already have completed (exit 8 for mutating commands) [env: TJET_TIMEOUT=]
--no-progress Do not write progress to stderr [env: TJET_NO_PROGRESS=]
--token-fd <TOKEN_FD> Read a session or scoped (agent) token from this open file descriptor (never pass a secret as a command-line value)
--token-stdin Read a session or scoped (agent) token from standard input
--workspace <WORKSPACE> Workspace directory (default: search upward from the current directory)
--json Emit exactly one JSON result on stdout
--non-interactive Never prompt; return structured errors instead
--allow-elevated-writes Windows: let this command change workspaces itself although the shell is elevated and UAC is on. Risky: the user's unelevated programs could redirect those writes. Without it an elevated tjet writes only through the unelevated daemon
--request-id <REQUEST_ID> Request identity for this command. Re-running the same command with the same value repeats exactly the same requests, so the server replays outcomes it already recorded instead of executing twice (use it to retry after an unknown outcome, exit 8)
Examples:
tjet org resume @ada --org @acme
tjet org remove
Remove a member from the organisation
Usage: tjet org remove [OPTIONS] <MEMBER>
Arguments:
<MEMBER> The member (@handle)
Options:
-h, --help Print help
Global options:
--server <SERVER> Server base URL. Default: the workspace's server, else the profile's, else https://trunkjet.io (the server `tjet login` signs in to) [env: TJET_SERVER=]
--profile <PROFILE> Named profile of the user configuration (TOML; schema: docs/manual/user-config.md) [env: TJET_PROFILE=]
--timeout <TIMEOUT> Whole-command deadline in seconds. On expiry the command stops; a remote request may already have completed (exit 8 for mutating commands) [env: TJET_TIMEOUT=]
--no-progress Do not write progress to stderr [env: TJET_NO_PROGRESS=]
--token-fd <TOKEN_FD> Read a session or scoped (agent) token from this open file descriptor (never pass a secret as a command-line value)
--token-stdin Read a session or scoped (agent) token from standard input
--workspace <WORKSPACE> Workspace directory (default: search upward from the current directory)
--json Emit exactly one JSON result on stdout
--non-interactive Never prompt; return structured errors instead
--allow-elevated-writes Windows: let this command change workspaces itself although the shell is elevated and UAC is on. Risky: the user's unelevated programs could redirect those writes. Without it an elevated tjet writes only through the unelevated daemon
--request-id <REQUEST_ID> Request identity for this command. Re-running the same command with the same value repeats exactly the same requests, so the server replays outcomes it already recorded instead of executing twice (use it to retry after an unknown outcome, exit 8)
Examples:
tjet org remove @ada --org @acme
tjet org leave
Leave the organisation
Usage: tjet org leave [OPTIONS]
Options:
-h, --help Print help
Global options:
--server <SERVER> Server base URL. Default: the workspace's server, else the profile's, else https://trunkjet.io (the server `tjet login` signs in to) [env: TJET_SERVER=]
--profile <PROFILE> Named profile of the user configuration (TOML; schema: docs/manual/user-config.md) [env: TJET_PROFILE=]
--timeout <TIMEOUT> Whole-command deadline in seconds. On expiry the command stops; a remote request may already have completed (exit 8 for mutating commands) [env: TJET_TIMEOUT=]
--no-progress Do not write progress to stderr [env: TJET_NO_PROGRESS=]
--token-fd <TOKEN_FD> Read a session or scoped (agent) token from this open file descriptor (never pass a secret as a command-line value)
--token-stdin Read a session or scoped (agent) token from standard input
--workspace <WORKSPACE> Workspace directory (default: search upward from the current directory)
--json Emit exactly one JSON result on stdout
--non-interactive Never prompt; return structured errors instead
--allow-elevated-writes Windows: let this command change workspaces itself although the shell is elevated and UAC is on. Risky: the user's unelevated programs could redirect those writes. Without it an elevated tjet writes only through the unelevated daemon
--request-id <REQUEST_ID> Request identity for this command. Re-running the same command with the same value repeats exactly the same requests, so the server replays outcomes it already recorded instead of executing twice (use it to retry after an unknown outcome, exit 8)
Examples:
tjet org leave --org @acme
tjet org team
Teams (`@org/team`)
Usage: tjet org team [OPTIONS] <COMMAND>
Commands:
list The organisation's teams
set Create a team or replace its members (`--member @x` repeatable, `--team slug` nests)
help Print this message or the help of the given subcommand(s)
Options:
-h, --help Print help
Global options:
--server <SERVER> Server base URL. Default: the workspace's server, else the profile's, else https://trunkjet.io (the server `tjet login` signs in to) [env: TJET_SERVER=]
--profile <PROFILE> Named profile of the user configuration (TOML; schema: docs/manual/user-config.md) [env: TJET_PROFILE=]
--timeout <TIMEOUT> Whole-command deadline in seconds. On expiry the command stops; a remote request may already have completed (exit 8 for mutating commands) [env: TJET_TIMEOUT=]
--no-progress Do not write progress to stderr [env: TJET_NO_PROGRESS=]
--token-fd <TOKEN_FD> Read a session or scoped (agent) token from this open file descriptor (never pass a secret as a command-line value)
--token-stdin Read a session or scoped (agent) token from standard input
--workspace <WORKSPACE> Workspace directory (default: search upward from the current directory)
--json Emit exactly one JSON result on stdout
--non-interactive Never prompt; return structured errors instead
--allow-elevated-writes Windows: let this command change workspaces itself although the shell is elevated and UAC is on. Risky: the user's unelevated programs could redirect those writes. Without it an elevated tjet writes only through the unelevated daemon
--request-id <REQUEST_ID> Request identity for this command. Re-running the same command with the same value repeats exactly the same requests, so the server replays outcomes it already recorded instead of executing twice (use it to retry after an unknown outcome, exit 8)
tjet org team list
The organisation's teams
Usage: tjet org team list [OPTIONS]
Options:
-h, --help Print help
Global options:
--server <SERVER> Server base URL. Default: the workspace's server, else the profile's, else https://trunkjet.io (the server `tjet login` signs in to) [env: TJET_SERVER=]
--profile <PROFILE> Named profile of the user configuration (TOML; schema: docs/manual/user-config.md) [env: TJET_PROFILE=]
--timeout <TIMEOUT> Whole-command deadline in seconds. On expiry the command stops; a remote request may already have completed (exit 8 for mutating commands) [env: TJET_TIMEOUT=]
--no-progress Do not write progress to stderr [env: TJET_NO_PROGRESS=]
--token-fd <TOKEN_FD> Read a session or scoped (agent) token from this open file descriptor (never pass a secret as a command-line value)
--token-stdin Read a session or scoped (agent) token from standard input
--workspace <WORKSPACE> Workspace directory (default: search upward from the current directory)
--json Emit exactly one JSON result on stdout
--non-interactive Never prompt; return structured errors instead
--allow-elevated-writes Windows: let this command change workspaces itself although the shell is elevated and UAC is on. Risky: the user's unelevated programs could redirect those writes. Without it an elevated tjet writes only through the unelevated daemon
--request-id <REQUEST_ID> Request identity for this command. Re-running the same command with the same value repeats exactly the same requests, so the server replays outcomes it already recorded instead of executing twice (use it to retry after an unknown outcome, exit 8)
Examples:
tjet org team list --org @acme
tjet org team set
Create a team or replace its members (`--member @x` repeatable, `--team slug` nests)
Usage: tjet org team set [OPTIONS] <SLUG>
Arguments:
<SLUG> The team (backend or @org/backend)
Options:
--member <MEMBERS> A member (@handle); repeat for more
--team <TEAMS> A member team (slug); repeat for more
--name <NAME> The name
--rename <RENAME> Rename the team; the old slug keeps redirecting and is never reused
-h, --help Print help
Global options:
--server <SERVER> Server base URL. Default: the workspace's server, else the profile's, else https://trunkjet.io (the server `tjet login` signs in to) [env: TJET_SERVER=]
--profile <PROFILE> Named profile of the user configuration (TOML; schema: docs/manual/user-config.md) [env: TJET_PROFILE=]
--timeout <TIMEOUT> Whole-command deadline in seconds. On expiry the command stops; a remote request may already have completed (exit 8 for mutating commands) [env: TJET_TIMEOUT=]
--no-progress Do not write progress to stderr [env: TJET_NO_PROGRESS=]
--token-fd <TOKEN_FD> Read a session or scoped (agent) token from this open file descriptor (never pass a secret as a command-line value)
--token-stdin Read a session or scoped (agent) token from standard input
--workspace <WORKSPACE> Workspace directory (default: search upward from the current directory)
--json Emit exactly one JSON result on stdout
--non-interactive Never prompt; return structured errors instead
--allow-elevated-writes Windows: let this command change workspaces itself although the shell is elevated and UAC is on. Risky: the user's unelevated programs could redirect those writes. Without it an elevated tjet writes only through the unelevated daemon
--request-id <REQUEST_ID> Request identity for this command. Re-running the same command with the same value repeats exactly the same requests, so the server replays outcomes it already recorded instead of executing twice (use it to retry after an unknown outcome, exit 8)
Examples:
tjet org team set backend --member @ada --member @linus --org @acme
tjet doctor
Client health: server and identity, workspace state, unsynchronized work
Usage: tjet doctor [OPTIONS]
Options:
-h, --help
Print help (see a summary with '-h')
Global options:
--server <SERVER>
Server base URL. Default: the workspace's server, else the profile's, else https://trunkjet.io (the server `tjet login` signs in to)
[env: TJET_SERVER=]
--profile <PROFILE>
Named profile of the user configuration (TOML; schema: docs/manual/user-config.md)
[env: TJET_PROFILE=]
--timeout <TIMEOUT>
Whole-command deadline in seconds. On expiry the command stops; a remote request may already have completed (exit 8 for mutating commands)
[env: TJET_TIMEOUT=]
--no-progress
Do not write progress to stderr
[env: TJET_NO_PROGRESS=]
--token-fd <TOKEN_FD>
Read a session or scoped (agent) token from this open file descriptor (never pass a secret as a command-line value)
--token-stdin
Read a session or scoped (agent) token from standard input
--workspace <WORKSPACE>
Workspace directory (default: search upward from the current directory)
--json
Emit exactly one JSON result on stdout
--non-interactive
Never prompt; return structured errors instead
--allow-elevated-writes
Windows: let this command change workspaces itself although the shell is elevated and UAC is on. Risky: the user's unelevated programs could redirect those writes. Without it an elevated tjet writes only through the unelevated daemon
--request-id <REQUEST_ID>
Request identity for this command. Re-running the same command with the same value repeats exactly the same requests, so the server replays outcomes it already recorded instead of executing twice (use it to retry after an unknown outcome, exit 8)
Examples:
tjet doctor
tjet bazel-credential-helper
Bazel credential helper for the build cache and remote execution (`--credential_helper`, docs/building-with-bazel.md): your `tjet login` session or TJET_TOKEN, only for the configured server's host and its subdomains
Usage: tjet bazel-credential-helper [OPTIONS] <ACTION>
Arguments:
<ACTION>
Bazel sends `get` (the request comes on stdin)
Options:
-h, --help
Print help (see a summary with '-h')
Global options:
--server <SERVER>
Server base URL. Default: the workspace's server, else the profile's, else https://trunkjet.io (the server `tjet login` signs in to)
[env: TJET_SERVER=]
--profile <PROFILE>
Named profile of the user configuration (TOML; schema: docs/manual/user-config.md)
[env: TJET_PROFILE=]
--timeout <TIMEOUT>
Whole-command deadline in seconds. On expiry the command stops; a remote request may already have completed (exit 8 for mutating commands)
[env: TJET_TIMEOUT=]
--no-progress
Do not write progress to stderr
[env: TJET_NO_PROGRESS=]
--token-fd <TOKEN_FD>
Read a session or scoped (agent) token from this open file descriptor (never pass a secret as a command-line value)
--token-stdin
Read a session or scoped (agent) token from standard input
--workspace <WORKSPACE>
Workspace directory (default: search upward from the current directory)
--json
Emit exactly one JSON result on stdout
--non-interactive
Never prompt; return structured errors instead
--allow-elevated-writes
Windows: let this command change workspaces itself although the shell is elevated and UAC is on. Risky: the user's unelevated programs could redirect those writes. Without it an elevated tjet writes only through the unelevated daemon
--request-id <REQUEST_ID>
Request identity for this command. Re-running the same command with the same value repeats exactly the same requests, so the server replays outcomes it already recorded instead of executing twice (use it to retry after an unknown outcome, exit 8)
Examples:
tjet bazel-credential-helper get < request.json # Bazel runs it: --credential_helper=trunkjet.io=tools/bazel/tjet-credential-helper
tjet operation
Request outcomes recorded by the server
Usage: tjet operation [OPTIONS] <COMMAND>
Commands:
list This workspace's unfinished synchronization jobs (their stable request identities, attempts and last error) and its recent local operations
resolve Ask the server for the recorded outcome of a stored request of this workspace (never re-executed); a completed accept becomes the checkpoint's remote outcome
show The recorded outcome of a request you made (by its request id)
help Print this message or the help of the given subcommand(s)
Options:
-h, --help
Print help (see a summary with '-h')
Global options:
--server <SERVER>
Server base URL. Default: the workspace's server, else the profile's, else https://trunkjet.io (the server `tjet login` signs in to)
[env: TJET_SERVER=]
--profile <PROFILE>
Named profile of the user configuration (TOML; schema: docs/manual/user-config.md)
[env: TJET_PROFILE=]
--timeout <TIMEOUT>
Whole-command deadline in seconds. On expiry the command stops; a remote request may already have completed (exit 8 for mutating commands)
[env: TJET_TIMEOUT=]
--no-progress
Do not write progress to stderr
[env: TJET_NO_PROGRESS=]
--token-fd <TOKEN_FD>
Read a session or scoped (agent) token from this open file descriptor (never pass a secret as a command-line value)
--token-stdin
Read a session or scoped (agent) token from standard input
--workspace <WORKSPACE>
Workspace directory (default: search upward from the current directory)
--json
Emit exactly one JSON result on stdout
--non-interactive
Never prompt; return structured errors instead
--allow-elevated-writes
Windows: let this command change workspaces itself although the shell is elevated and UAC is on. Risky: the user's unelevated programs could redirect those writes. Without it an elevated tjet writes only through the unelevated daemon
--request-id <REQUEST_ID>
Request identity for this command. Re-running the same command with the same value repeats exactly the same requests, so the server replays outcomes it already recorded instead of executing twice (use it to retry after an unknown outcome, exit 8)
tjet operation list
This workspace's unfinished synchronization jobs (their stable request identities, attempts and last error) and its recent local operations
Usage: tjet operation list [OPTIONS]
Options:
--limit <LIMIT> At most this many rows [default: 20]
-h, --help Print help
Global options:
--server <SERVER> Server base URL. Default: the workspace's server, else the profile's, else https://trunkjet.io (the server `tjet login` signs in to) [env: TJET_SERVER=]
--profile <PROFILE> Named profile of the user configuration (TOML; schema: docs/manual/user-config.md) [env: TJET_PROFILE=]
--timeout <TIMEOUT> Whole-command deadline in seconds. On expiry the command stops; a remote request may already have completed (exit 8 for mutating commands) [env: TJET_TIMEOUT=]
--no-progress Do not write progress to stderr [env: TJET_NO_PROGRESS=]
--token-fd <TOKEN_FD> Read a session or scoped (agent) token from this open file descriptor (never pass a secret as a command-line value)
--token-stdin Read a session or scoped (agent) token from standard input
--workspace <WORKSPACE> Workspace directory (default: search upward from the current directory)
--json Emit exactly one JSON result on stdout
--non-interactive Never prompt; return structured errors instead
--allow-elevated-writes Windows: let this command change workspaces itself although the shell is elevated and UAC is on. Risky: the user's unelevated programs could redirect those writes. Without it an elevated tjet writes only through the unelevated daemon
--request-id <REQUEST_ID> Request identity for this command. Re-running the same command with the same value repeats exactly the same requests, so the server replays outcomes it already recorded instead of executing twice (use it to retry after an unknown outcome, exit 8)
Examples:
tjet operation list
tjet operation resolve
Ask the server for the recorded outcome of a stored request of this workspace (never re-executed); a completed accept becomes the checkpoint's remote outcome
Usage: tjet operation resolve [OPTIONS] <REQUEST_ID>
Arguments:
<REQUEST_ID> The request id (from the earlier output)
Options:
-h, --help Print help
Global options:
--server <SERVER> Server base URL. Default: the workspace's server, else the profile's, else https://trunkjet.io (the server `tjet login` signs in to) [env: TJET_SERVER=]
--profile <PROFILE> Named profile of the user configuration (TOML; schema: docs/manual/user-config.md) [env: TJET_PROFILE=]
--timeout <TIMEOUT> Whole-command deadline in seconds. On expiry the command stops; a remote request may already have completed (exit 8 for mutating commands) [env: TJET_TIMEOUT=]
--no-progress Do not write progress to stderr [env: TJET_NO_PROGRESS=]
--token-fd <TOKEN_FD> Read a session or scoped (agent) token from this open file descriptor (never pass a secret as a command-line value)
--token-stdin Read a session or scoped (agent) token from standard input
--workspace <WORKSPACE> Workspace directory (default: search upward from the current directory)
--json Emit exactly one JSON result on stdout
--non-interactive Never prompt; return structured errors instead
--allow-elevated-writes Windows: let this command change workspaces itself although the shell is elevated and UAC is on. Risky: the user's unelevated programs could redirect those writes. Without it an elevated tjet writes only through the unelevated daemon
Examples:
tjet operation resolve REQUEST_ID
tjet operation show
The recorded outcome of a request you made (by its request id)
Usage: tjet operation show [OPTIONS] <REQUEST_ID>
Arguments:
<REQUEST_ID> The request id (from the earlier output)
Options:
--repo <REPO>
The repository (its name); needed outside a workspace
--original-request <ORIGINAL_REQUEST>
JSON file holding the exact original request body. The server uses it only as context, after matching its request id, repository and digest; it is never run
-h, --help
Print help
Global options:
--server <SERVER> Server base URL. Default: the workspace's server, else the profile's, else https://trunkjet.io (the server `tjet login` signs in to) [env: TJET_SERVER=]
--profile <PROFILE> Named profile of the user configuration (TOML; schema: docs/manual/user-config.md) [env: TJET_PROFILE=]
--timeout <TIMEOUT> Whole-command deadline in seconds. On expiry the command stops; a remote request may already have completed (exit 8 for mutating commands) [env: TJET_TIMEOUT=]
--no-progress Do not write progress to stderr [env: TJET_NO_PROGRESS=]
--token-fd <TOKEN_FD> Read a session or scoped (agent) token from this open file descriptor (never pass a secret as a command-line value)
--token-stdin Read a session or scoped (agent) token from standard input
--workspace <WORKSPACE> Workspace directory (default: search upward from the current directory)
--json Emit exactly one JSON result on stdout
--non-interactive Never prompt; return structured errors instead
--allow-elevated-writes Windows: let this command change workspaces itself although the shell is elevated and UAC is on. Risky: the user's unelevated programs could redirect those writes. Without it an elevated tjet writes only through the unelevated daemon
Examples:
tjet operation show REQUEST_ID
tjet login
Sign in through the server's identity provider (browser, PKCE, loopback redirect) and keep the session in the OS credential store.
Every process that uses the stored session (commands, the workspace daemon) refreshes it one at a time, under a lock file in a per-user lock directory; a process that waited uses the refreshed session. If a refresh was interrupted after it was sent (a crash, a timeout, a cut connection, a server error), the next command answers AUTH_REQUIRED and asks for `tjet login` instead of resending a refresh token that may already be used (the server would revoke every session of the login).
Usage: tjet login [OPTIONS] [HOST]
Arguments:
[HOST]
The server to sign in to: a host (`git.example.com`, https implied) or a URL. Default: `--server`/TJET_SERVER, else the server of the workspace you are in, else the profile's server, else https://trunkjet.io
Options:
--provider <PROVIDER>
External identity provider name (`/v1/auth/providers`). Without it, the server's own sign-in page approves the login (D-1857: password, passkey, GitHub, and others in the browser)
--no-browser
Only print the sign-in address; do not open a browser
--device
OAuth device authorization: print a code to enter on any device instead of a browser login with a loopback redirect (for machines without a browser)
--email <EMAIL>
Sign in with a one-time code sent to this email address (an address of your account); the code is read from the terminal (or standard input)
--store <STORE>
Where to keep the credentials. Default: the profile's `credential_store`, else `keyring`
Possible values:
- keyring: The operating system's credential store
- file: A file readable only by you (`$XDG_CONFIG_HOME/trunkjet/credentials.json`)
--account <ACCOUNT>
The account this login must be: its principal id, or the display name of an account already stored (see `tjet accounts`). A sign-in as anyone else is refused, its new session revoked, and nothing is stored. Without it, whoever signs in is stored as another account of the server (several accounts per server are kept, each under its own key); the last login is the server's default, which commands use
--token-file <FILE>
Sign in as an agent with its token file: the file the web page "Your agents > Create a token" downloads or `tjet agent connect` writes (format tjet-agent-token-v1, readable only by you). The agent's login is stored like a person's and refreshed by itself until the grant ends or is revoked; the file's server is used (a different HOST or --server is refused). Afterwards delete the file: its refresh secret now belongs to this login. A service credential file works the same way (format tjet-service-token-v1, written by `tjet-admin service credential issue`)
--if-new
With --token-file: import the file only once into this credential store (a runner pod's start). The same file again prints that it was imported and stores nothing: its refresh secret was spent by the stored login, and presenting it again would stop the credential
-h, --help
Print help (see a summary with '-h')
Global options:
--server <SERVER>
Server base URL. Default: the workspace's server, else the profile's, else https://trunkjet.io (the server `tjet login` signs in to)
[env: TJET_SERVER=]
--profile <PROFILE>
Named profile of the user configuration (TOML; schema: docs/manual/user-config.md)
[env: TJET_PROFILE=]
--timeout <TIMEOUT>
Whole-command deadline in seconds. On expiry the command stops; a remote request may already have completed (exit 8 for mutating commands)
[env: TJET_TIMEOUT=]
--no-progress
Do not write progress to stderr
[env: TJET_NO_PROGRESS=]
--token-fd <TOKEN_FD>
Read a session or scoped (agent) token from this open file descriptor (never pass a secret as a command-line value)
--token-stdin
Read a session or scoped (agent) token from standard input
--workspace <WORKSPACE>
Workspace directory (default: search upward from the current directory)
--json
Emit exactly one JSON result on stdout
--non-interactive
Never prompt; return structured errors instead
--allow-elevated-writes
Windows: let this command change workspaces itself although the shell is elevated and UAC is on. Risky: the user's unelevated programs could redirect those writes. Without it an elevated tjet writes only through the unelevated daemon
--request-id <REQUEST_ID>
Request identity for this command. Re-running the same command with the same value repeats exactly the same requests, so the server replays outcomes it already recorded instead of executing twice (use it to retry after an unknown outcome, exit 8)
Examples:
tjet login
tjet login --no-browser
tjet signup
Create an account on this server with your email address and a handle, then confirm the address with the 6-digit code mailed to it (typed here; `resend` asks for a new code). The new session is kept like `tjet login`. Only when the server offers signup; the answer never says whether the address already has an account (that address gets a mail saying so instead of a code)
Usage: tjet signup [OPTIONS] --email <EMAIL> --handle <HANDLE>
Options:
--email <EMAIL>
Your email address
--handle <HANDLE>
Your handle (`@handle`): letters, digits and hyphens
--name <NAME>
Your name as others see it (default: the handle)
--accept-terms <ACCEPT_TERMS>
Accept the server's terms in this version (the command prints the version and where to read the terms when it is missing or not current)
--store <STORE>
Where to keep the credentials (as for `tjet login`)
Possible values:
- keyring: The operating system's credential store
- file: A file readable only by you (`$XDG_CONFIG_HOME/trunkjet/credentials.json`)
-h, --help
Print help (see a summary with '-h')
Global options:
--server <SERVER>
Server base URL. Default: the workspace's server, else the profile's, else https://trunkjet.io (the server `tjet login` signs in to)
[env: TJET_SERVER=]
--profile <PROFILE>
Named profile of the user configuration (TOML; schema: docs/manual/user-config.md)
[env: TJET_PROFILE=]
--timeout <TIMEOUT>
Whole-command deadline in seconds. On expiry the command stops; a remote request may already have completed (exit 8 for mutating commands)
[env: TJET_TIMEOUT=]
--no-progress
Do not write progress to stderr
[env: TJET_NO_PROGRESS=]
--token-fd <TOKEN_FD>
Read a session or scoped (agent) token from this open file descriptor (never pass a secret as a command-line value)
--token-stdin
Read a session or scoped (agent) token from standard input
--workspace <WORKSPACE>
Workspace directory (default: search upward from the current directory)
--json
Emit exactly one JSON result on stdout
--non-interactive
Never prompt; return structured errors instead
--allow-elevated-writes
Windows: let this command change workspaces itself although the shell is elevated and UAC is on. Risky: the user's unelevated programs could redirect those writes. Without it an elevated tjet writes only through the unelevated daemon
--request-id <REQUEST_ID>
Request identity for this command. Re-running the same command with the same value repeats exactly the same requests, so the server replays outcomes it already recorded instead of executing twice (use it to retry after an unknown outcome, exit 8)
Examples:
tjet signup --email [email protected] --handle sam --accept-terms 2026-11
tjet logout
Revoke the stored session on the server and forget it locally: the server's default account, or `--account`. Other accounts stay, and none becomes the default
Usage: tjet logout [OPTIONS]
Options:
--account <ACCOUNT>
The account to log out of (principal id or display name)
-h, --help
Print help (see a summary with '-h')
Global options:
--server <SERVER>
Server base URL. Default: the workspace's server, else the profile's, else https://trunkjet.io (the server `tjet login` signs in to)
[env: TJET_SERVER=]
--profile <PROFILE>
Named profile of the user configuration (TOML; schema: docs/manual/user-config.md)
[env: TJET_PROFILE=]
--timeout <TIMEOUT>
Whole-command deadline in seconds. On expiry the command stops; a remote request may already have completed (exit 8 for mutating commands)
[env: TJET_TIMEOUT=]
--no-progress
Do not write progress to stderr
[env: TJET_NO_PROGRESS=]
--token-fd <TOKEN_FD>
Read a session or scoped (agent) token from this open file descriptor (never pass a secret as a command-line value)
--token-stdin
Read a session or scoped (agent) token from standard input
--workspace <WORKSPACE>
Workspace directory (default: search upward from the current directory)
--json
Emit exactly one JSON result on stdout
--non-interactive
Never prompt; return structured errors instead
--allow-elevated-writes
Windows: let this command change workspaces itself although the shell is elevated and UAC is on. Risky: the user's unelevated programs could redirect those writes. Without it an elevated tjet writes only through the unelevated daemon
--request-id <REQUEST_ID>
Request identity for this command. Re-running the same command with the same value repeats exactly the same requests, so the server replays outcomes it already recorded instead of executing twice (use it to retry after an unknown outcome, exit 8)
Examples:
tjet logout
tjet accounts
The stored accounts (no secrets): server, principal, display name, store, whether it is the server's default, and its local state (`ok`, `auth_required`, `credential_store_locked`). A login stored by an older `tjet` is listed as `legacy` until the next login to its server moves it to its own key
Usage: tjet accounts [OPTIONS]
Options:
-h, --help
Print help (see a summary with '-h')
Global options:
--server <SERVER>
Server base URL. Default: the workspace's server, else the profile's, else https://trunkjet.io (the server `tjet login` signs in to)
[env: TJET_SERVER=]
--profile <PROFILE>
Named profile of the user configuration (TOML; schema: docs/manual/user-config.md)
[env: TJET_PROFILE=]
--timeout <TIMEOUT>
Whole-command deadline in seconds. On expiry the command stops; a remote request may already have completed (exit 8 for mutating commands)
[env: TJET_TIMEOUT=]
--no-progress
Do not write progress to stderr
[env: TJET_NO_PROGRESS=]
--token-fd <TOKEN_FD>
Read a session or scoped (agent) token from this open file descriptor (never pass a secret as a command-line value)
--token-stdin
Read a session or scoped (agent) token from standard input
--workspace <WORKSPACE>
Workspace directory (default: search upward from the current directory)
--json
Emit exactly one JSON result on stdout
--non-interactive
Never prompt; return structured errors instead
--allow-elevated-writes
Windows: let this command change workspaces itself although the shell is elevated and UAC is on. Risky: the user's unelevated programs could redirect those writes. Without it an elevated tjet writes only through the unelevated daemon
--request-id <REQUEST_ID>
Request identity for this command. Re-running the same command with the same value repeats exactly the same requests, so the server replays outcomes it already recorded instead of executing twice (use it to retry after an unknown outcome, exit 8)
Examples:
tjet accounts
tjet issue
Issues: list, show, open, comment, close, assign and label (records/reviews/20-issues.md)
Usage: tjet issue [OPTIONS] <COMMAND>
Commands:
list Issues of the repository, newest first (one page; `--cursor` continues)
show One issue, with its first page of comments
create Open an issue. The body is Markdown; `--body-file -` reads standard input
comment Comment on an issue (Markdown; `-` reads standard input)
close Close an issue: done (default), wont-do, or duplicate with `--duplicate-of`
reopen Reopen a closed issue
assign Assign (`--add`) or unassign (`--remove`) principals by subject (`me` for yourself)
label Add or remove labels by name
help Print this message or the help of the given subcommand(s)
Options:
--repo <REPO>
The repository (its name); needed outside a workspace
-h, --help
Print help (see a summary with '-h')
Global options:
--server <SERVER>
Server base URL. Default: the workspace's server, else the profile's, else https://trunkjet.io (the server `tjet login` signs in to)
[env: TJET_SERVER=]
--profile <PROFILE>
Named profile of the user configuration (TOML; schema: docs/manual/user-config.md)
[env: TJET_PROFILE=]
--timeout <TIMEOUT>
Whole-command deadline in seconds. On expiry the command stops; a remote request may already have completed (exit 8 for mutating commands)
[env: TJET_TIMEOUT=]
--no-progress
Do not write progress to stderr
[env: TJET_NO_PROGRESS=]
--token-fd <TOKEN_FD>
Read a session or scoped (agent) token from this open file descriptor (never pass a secret as a command-line value)
--token-stdin
Read a session or scoped (agent) token from standard input
--workspace <WORKSPACE>
Workspace directory (default: search upward from the current directory)
--json
Emit exactly one JSON result on stdout
--non-interactive
Never prompt; return structured errors instead
--allow-elevated-writes
Windows: let this command change workspaces itself although the shell is elevated and UAC is on. Risky: the user's unelevated programs could redirect those writes. Without it an elevated tjet writes only through the unelevated daemon
--request-id <REQUEST_ID>
Request identity for this command. Re-running the same command with the same value repeats exactly the same requests, so the server replays outcomes it already recorded instead of executing twice (use it to retry after an unknown outcome, exit 8)
tjet issue list
Issues of the repository, newest first (one page; `--cursor` continues)
Usage: tjet issue list [OPTIONS]
Options:
--state <STATE> open (default), closed or all [default: open] [possible values: open, closed, all]
--assignee <ASSIGNEE> `me` or a principal subject
--author <AUTHOR> `me` or a principal subject
--mentioned <MENTIONED> `me` or a principal subject
--label <LABELS> A label name (repeat for several; all must match)
--text <TEXT> Words in the title or body
--limit <LIMIT> At most this many rows
--cursor <CURSOR> Continue a listing: the `next_cursor` of the previous one
-h, --help Print help
Global options:
--server <SERVER> Server base URL. Default: the workspace's server, else the profile's, else https://trunkjet.io (the server `tjet login` signs in to) [env: TJET_SERVER=]
--profile <PROFILE> Named profile of the user configuration (TOML; schema: docs/manual/user-config.md) [env: TJET_PROFILE=]
--timeout <TIMEOUT> Whole-command deadline in seconds. On expiry the command stops; a remote request may already have completed (exit 8 for mutating commands) [env: TJET_TIMEOUT=]
--no-progress Do not write progress to stderr [env: TJET_NO_PROGRESS=]
--token-fd <TOKEN_FD> Read a session or scoped (agent) token from this open file descriptor (never pass a secret as a command-line value)
--token-stdin Read a session or scoped (agent) token from standard input
--workspace <WORKSPACE> Workspace directory (default: search upward from the current directory)
--json Emit exactly one JSON result on stdout
--non-interactive Never prompt; return structured errors instead
--allow-elevated-writes Windows: let this command change workspaces itself although the shell is elevated and UAC is on. Risky: the user's unelevated programs could redirect those writes. Without it an elevated tjet writes only through the unelevated daemon
--request-id <REQUEST_ID> Request identity for this command. Re-running the same command with the same value repeats exactly the same requests, so the server replays outcomes it already recorded instead of executing twice (use it to retry after an unknown outcome, exit 8)
Examples:
tjet issue list --repo shop
tjet issue show
One issue, with its first page of comments
Usage: tjet issue show [OPTIONS] <NUMBER>
Arguments:
<NUMBER> The issue number
Options:
-h, --help Print help
Global options:
--server <SERVER> Server base URL. Default: the workspace's server, else the profile's, else https://trunkjet.io (the server `tjet login` signs in to) [env: TJET_SERVER=]
--profile <PROFILE> Named profile of the user configuration (TOML; schema: docs/manual/user-config.md) [env: TJET_PROFILE=]
--timeout <TIMEOUT> Whole-command deadline in seconds. On expiry the command stops; a remote request may already have completed (exit 8 for mutating commands) [env: TJET_TIMEOUT=]
--no-progress Do not write progress to stderr [env: TJET_NO_PROGRESS=]
--token-fd <TOKEN_FD> Read a session or scoped (agent) token from this open file descriptor (never pass a secret as a command-line value)
--token-stdin Read a session or scoped (agent) token from standard input
--workspace <WORKSPACE> Workspace directory (default: search upward from the current directory)
--json Emit exactly one JSON result on stdout
--non-interactive Never prompt; return structured errors instead
--allow-elevated-writes Windows: let this command change workspaces itself although the shell is elevated and UAC is on. Risky: the user's unelevated programs could redirect those writes. Without it an elevated tjet writes only through the unelevated daemon
--request-id <REQUEST_ID> Request identity for this command. Re-running the same command with the same value repeats exactly the same requests, so the server replays outcomes it already recorded instead of executing twice (use it to retry after an unknown outcome, exit 8)
Examples:
tjet issue show 12
tjet issue create
Open an issue. The body is Markdown; `--body-file -` reads standard input
Usage: tjet issue create [OPTIONS] <TITLE>
Arguments:
<TITLE> The issue's title
Options:
--body <BODY> The description (Markdown)
--body-file <BODY_FILE> Read the description from this file (`-` = standard input)
--label <LABELS> A label name (repeatable)
--assignee <ASSIGNEES> A person to assign (user name, `me` for yourself; repeatable)
-h, --help Print help
Global options:
--server <SERVER> Server base URL. Default: the workspace's server, else the profile's, else https://trunkjet.io (the server `tjet login` signs in to) [env: TJET_SERVER=]
--profile <PROFILE> Named profile of the user configuration (TOML; schema: docs/manual/user-config.md) [env: TJET_PROFILE=]
--timeout <TIMEOUT> Whole-command deadline in seconds. On expiry the command stops; a remote request may already have completed (exit 8 for mutating commands) [env: TJET_TIMEOUT=]
--no-progress Do not write progress to stderr [env: TJET_NO_PROGRESS=]
--token-fd <TOKEN_FD> Read a session or scoped (agent) token from this open file descriptor (never pass a secret as a command-line value)
--token-stdin Read a session or scoped (agent) token from standard input
--workspace <WORKSPACE> Workspace directory (default: search upward from the current directory)
--json Emit exactly one JSON result on stdout
--non-interactive Never prompt; return structured errors instead
--allow-elevated-writes Windows: let this command change workspaces itself although the shell is elevated and UAC is on. Risky: the user's unelevated programs could redirect those writes. Without it an elevated tjet writes only through the unelevated daemon
--request-id <REQUEST_ID> Request identity for this command. Re-running the same command with the same value repeats exactly the same requests, so the server replays outcomes it already recorded instead of executing twice (use it to retry after an unknown outcome, exit 8)
Examples:
tjet issue create "Cart total is wrong" --body "Steps: ..."
tjet issue comment
Comment on an issue (Markdown; `-` reads standard input)
Usage: tjet issue comment [OPTIONS] <NUMBER> <BODY>
Arguments:
<NUMBER> The issue number
<BODY> The comment (Markdown; `-` reads standard input)
Options:
-h, --help Print help
Global options:
--server <SERVER> Server base URL. Default: the workspace's server, else the profile's, else https://trunkjet.io (the server `tjet login` signs in to) [env: TJET_SERVER=]
--profile <PROFILE> Named profile of the user configuration (TOML; schema: docs/manual/user-config.md) [env: TJET_PROFILE=]
--timeout <TIMEOUT> Whole-command deadline in seconds. On expiry the command stops; a remote request may already have completed (exit 8 for mutating commands) [env: TJET_TIMEOUT=]
--no-progress Do not write progress to stderr [env: TJET_NO_PROGRESS=]
--token-fd <TOKEN_FD> Read a session or scoped (agent) token from this open file descriptor (never pass a secret as a command-line value)
--token-stdin Read a session or scoped (agent) token from standard input
--workspace <WORKSPACE> Workspace directory (default: search upward from the current directory)
--json Emit exactly one JSON result on stdout
--non-interactive Never prompt; return structured errors instead
--allow-elevated-writes Windows: let this command change workspaces itself although the shell is elevated and UAC is on. Risky: the user's unelevated programs could redirect those writes. Without it an elevated tjet writes only through the unelevated daemon
--request-id <REQUEST_ID> Request identity for this command. Re-running the same command with the same value repeats exactly the same requests, so the server replays outcomes it already recorded instead of executing twice (use it to retry after an unknown outcome, exit 8)
Examples:
tjet issue comment 12 "Fixed in the next release."
tjet issue close
Close an issue: done (default), wont-do, or duplicate with `--duplicate-of`
Usage: tjet issue close [OPTIONS] <NUMBER>
Arguments:
<NUMBER> The issue number
Options:
--reason <REASON> done (default), wont-do or duplicate [default: done] [possible values: done, wont-do, duplicate]
--duplicate-of <DUPLICATE_OF> The issue number this one duplicates
-h, --help Print help
Global options:
--server <SERVER> Server base URL. Default: the workspace's server, else the profile's, else https://trunkjet.io (the server `tjet login` signs in to) [env: TJET_SERVER=]
--profile <PROFILE> Named profile of the user configuration (TOML; schema: docs/manual/user-config.md) [env: TJET_PROFILE=]
--timeout <TIMEOUT> Whole-command deadline in seconds. On expiry the command stops; a remote request may already have completed (exit 8 for mutating commands) [env: TJET_TIMEOUT=]
--no-progress Do not write progress to stderr [env: TJET_NO_PROGRESS=]
--token-fd <TOKEN_FD> Read a session or scoped (agent) token from this open file descriptor (never pass a secret as a command-line value)
--token-stdin Read a session or scoped (agent) token from standard input
--workspace <WORKSPACE> Workspace directory (default: search upward from the current directory)
--json Emit exactly one JSON result on stdout
--non-interactive Never prompt; return structured errors instead
--allow-elevated-writes Windows: let this command change workspaces itself although the shell is elevated and UAC is on. Risky: the user's unelevated programs could redirect those writes. Without it an elevated tjet writes only through the unelevated daemon
--request-id <REQUEST_ID> Request identity for this command. Re-running the same command with the same value repeats exactly the same requests, so the server replays outcomes it already recorded instead of executing twice (use it to retry after an unknown outcome, exit 8)
Examples:
tjet issue close 12
tjet issue close 12 --duplicate-of 7
tjet issue reopen
Reopen a closed issue
Usage: tjet issue reopen [OPTIONS] <NUMBER>
Arguments:
<NUMBER> The issue number
Options:
-h, --help Print help
Global options:
--server <SERVER> Server base URL. Default: the workspace's server, else the profile's, else https://trunkjet.io (the server `tjet login` signs in to) [env: TJET_SERVER=]
--profile <PROFILE> Named profile of the user configuration (TOML; schema: docs/manual/user-config.md) [env: TJET_PROFILE=]
--timeout <TIMEOUT> Whole-command deadline in seconds. On expiry the command stops; a remote request may already have completed (exit 8 for mutating commands) [env: TJET_TIMEOUT=]
--no-progress Do not write progress to stderr [env: TJET_NO_PROGRESS=]
--token-fd <TOKEN_FD> Read a session or scoped (agent) token from this open file descriptor (never pass a secret as a command-line value)
--token-stdin Read a session or scoped (agent) token from standard input
--workspace <WORKSPACE> Workspace directory (default: search upward from the current directory)
--json Emit exactly one JSON result on stdout
--non-interactive Never prompt; return structured errors instead
--allow-elevated-writes Windows: let this command change workspaces itself although the shell is elevated and UAC is on. Risky: the user's unelevated programs could redirect those writes. Without it an elevated tjet writes only through the unelevated daemon
--request-id <REQUEST_ID> Request identity for this command. Re-running the same command with the same value repeats exactly the same requests, so the server replays outcomes it already recorded instead of executing twice (use it to retry after an unknown outcome, exit 8)
Examples:
tjet issue reopen 12
tjet issue assign
Assign (`--add`) or unassign (`--remove`) principals by subject (`me` for yourself)
Usage: tjet issue assign [OPTIONS] <NUMBER>
Arguments:
<NUMBER> The issue number
Options:
--add <ADD> Assign this person (user name, `me` for yourself; repeatable)
--remove <REMOVE> Unassign this person (repeatable)
-h, --help Print help
Global options:
--server <SERVER> Server base URL. Default: the workspace's server, else the profile's, else https://trunkjet.io (the server `tjet login` signs in to) [env: TJET_SERVER=]
--profile <PROFILE> Named profile of the user configuration (TOML; schema: docs/manual/user-config.md) [env: TJET_PROFILE=]
--timeout <TIMEOUT> Whole-command deadline in seconds. On expiry the command stops; a remote request may already have completed (exit 8 for mutating commands) [env: TJET_TIMEOUT=]
--no-progress Do not write progress to stderr [env: TJET_NO_PROGRESS=]
--token-fd <TOKEN_FD> Read a session or scoped (agent) token from this open file descriptor (never pass a secret as a command-line value)
--token-stdin Read a session or scoped (agent) token from standard input
--workspace <WORKSPACE> Workspace directory (default: search upward from the current directory)
--json Emit exactly one JSON result on stdout
--non-interactive Never prompt; return structured errors instead
--allow-elevated-writes Windows: let this command change workspaces itself although the shell is elevated and UAC is on. Risky: the user's unelevated programs could redirect those writes. Without it an elevated tjet writes only through the unelevated daemon
--request-id <REQUEST_ID> Request identity for this command. Re-running the same command with the same value repeats exactly the same requests, so the server replays outcomes it already recorded instead of executing twice (use it to retry after an unknown outcome, exit 8)
Examples:
tjet issue assign 12 --add me
tjet issue label
Add or remove labels by name
Usage: tjet issue label [OPTIONS] <NUMBER>
Arguments:
<NUMBER> The issue number
Options:
--add <ADD> Add this label (repeatable)
--remove <REMOVE> Remove this label (repeatable)
-h, --help Print help
Global options:
--server <SERVER> Server base URL. Default: the workspace's server, else the profile's, else https://trunkjet.io (the server `tjet login` signs in to) [env: TJET_SERVER=]
--profile <PROFILE> Named profile of the user configuration (TOML; schema: docs/manual/user-config.md) [env: TJET_PROFILE=]
--timeout <TIMEOUT> Whole-command deadline in seconds. On expiry the command stops; a remote request may already have completed (exit 8 for mutating commands) [env: TJET_TIMEOUT=]
--no-progress Do not write progress to stderr [env: TJET_NO_PROGRESS=]
--token-fd <TOKEN_FD> Read a session or scoped (agent) token from this open file descriptor (never pass a secret as a command-line value)
--token-stdin Read a session or scoped (agent) token from standard input
--workspace <WORKSPACE> Workspace directory (default: search upward from the current directory)
--json Emit exactly one JSON result on stdout
--non-interactive Never prompt; return structured errors instead
--allow-elevated-writes Windows: let this command change workspaces itself although the shell is elevated and UAC is on. Risky: the user's unelevated programs could redirect those writes. Without it an elevated tjet writes only through the unelevated daemon
--request-id <REQUEST_ID> Request identity for this command. Re-running the same command with the same value repeats exactly the same requests, so the server replays outcomes it already recorded instead of executing twice (use it to retry after an unknown outcome, exit 8)
Examples:
tjet issue label 12 --add bug
tjet showcase
Public build showcase: the runner, and the operator's configuration
Usage: tjet showcase [OPTIONS] <COMMAND>
Commands:
run Run as a showcase runner: claim queued runs (this principal must be a runner the showcase names), build each commit with remote execution, report the measurement
configure Create or replace a showcase (installation operators)
enqueue Queue runs of one upstream commit (installation operators)
show The rows of one showcase
list Every showcase with its medians
help Print this message or the help of the given subcommand(s)
Options:
-h, --help
Print help (see a summary with '-h')
Global options:
--server <SERVER>
Server base URL. Default: the workspace's server, else the profile's, else https://trunkjet.io (the server `tjet login` signs in to)
[env: TJET_SERVER=]
--profile <PROFILE>
Named profile of the user configuration (TOML; schema: docs/manual/user-config.md)
[env: TJET_PROFILE=]
--timeout <TIMEOUT>
Whole-command deadline in seconds. On expiry the command stops; a remote request may already have completed (exit 8 for mutating commands)
[env: TJET_TIMEOUT=]
--no-progress
Do not write progress to stderr
[env: TJET_NO_PROGRESS=]
--token-fd <TOKEN_FD>
Read a session or scoped (agent) token from this open file descriptor (never pass a secret as a command-line value)
--token-stdin
Read a session or scoped (agent) token from standard input
--workspace <WORKSPACE>
Workspace directory (default: search upward from the current directory)
--json
Emit exactly one JSON result on stdout
--non-interactive
Never prompt; return structured errors instead
--allow-elevated-writes
Windows: let this command change workspaces itself although the shell is elevated and UAC is on. Risky: the user's unelevated programs could redirect those writes. Without it an elevated tjet writes only through the unelevated daemon
--request-id <REQUEST_ID>
Request identity for this command. Re-running the same command with the same value repeats exactly the same requests, so the server replays outcomes it already recorded instead of executing twice (use it to retry after an unknown outcome, exit 8)
tjet showcase run
Run as a showcase runner: claim queued runs (this principal must be a runner the showcase names), build each commit with remote execution, report the measurement
Usage: tjet showcase run [OPTIONS] --remote-executor <REMOTE_EXECUTOR> --instance <INSTANCE>
Options:
--once
Claim at most one run, then exit
--bazel <BAZEL>
The Bazel (or bazelisk) binary [default: bazel]
--work-dir <WORK_DIR>
Runner directory (snapshots, output bases); default under the user cache
--remote-executor <REMOTE_EXECUTOR>
tjetd's REAPI endpoint, grpc://host:port on loopback, else grpcs://
--instance <INSTANCE>
REAPI instance name (the mirror repository's name)
--startup-arg <STARTUP_ARGS>
Bazel startup option (repeatable), e.g. --startup-arg=--host_jvm_args=-Xmx4g
--repository-cache <REPOSITORY_CACHE>
A shared download cache for external repositories (shown in every command line)
--lease-ms <LEASE_MS>
Lease per claim in milliseconds (default 3600000)
--poll-secs <POLL_SECS>
Seconds between claims while idle (without --once) [default: 30]
--exec-property <EXEC_PROPERTIES>
A platform property of every remote action (name=value, repeatable), e.g. tjet-toolset=<id>: the exec image whose tools match this runner's
-h, --help
Print help
Global options:
--server <SERVER> Server base URL. Default: the workspace's server, else the profile's, else https://trunkjet.io (the server `tjet login` signs in to) [env: TJET_SERVER=]
--profile <PROFILE> Named profile of the user configuration (TOML; schema: docs/manual/user-config.md) [env: TJET_PROFILE=]
--timeout <TIMEOUT> Whole-command deadline in seconds. On expiry the command stops; a remote request may already have completed (exit 8 for mutating commands) [env: TJET_TIMEOUT=]
--no-progress Do not write progress to stderr [env: TJET_NO_PROGRESS=]
--token-fd <TOKEN_FD> Read a session or scoped (agent) token from this open file descriptor (never pass a secret as a command-line value)
--token-stdin Read a session or scoped (agent) token from standard input
--workspace <WORKSPACE> Workspace directory (default: search upward from the current directory)
--json Emit exactly one JSON result on stdout
--non-interactive Never prompt; return structured errors instead
--allow-elevated-writes Windows: let this command change workspaces itself although the shell is elevated and UAC is on. Risky: the user's unelevated programs could redirect those writes. Without it an elevated tjet writes only through the unelevated daemon
--request-id <REQUEST_ID> Request identity for this command. Re-running the same command with the same value repeats exactly the same requests, so the server replays outcomes it already recorded instead of executing twice (use it to retry after an unknown outcome, exit 8)
Examples:
tjet showcase run --remote-executor grpcs://tjet.example:443 --instance abseil-cpp --bazel bazelisk
tjet showcase configure
Create or replace a showcase (installation operators)
Usage: tjet showcase configure [OPTIONS] --title <TITLE> --target <TARGETS> --workflow <WORKFLOW> --cores <CORES> --runner <RUNNERS> <SOURCE>
Arguments:
<SOURCE> github.com/<org>/<repo> (a public mirror)
Options:
--title <TITLE>
The name shown on the page
--target <TARGETS>
Bazel target pattern (repeatable)
--bazel-arg <BAZEL_ARGS>
Bazel argument after the command (repeatable)
--command <COMMAND>
build or test [default: test]
--workflow <WORKFLOW>
Upstream workflow file under .github/workflows (ci.yml)
--job <JOBS>
Upstream job name compared with (substring, repeatable; default every job)
--upstream-caching <UPSTREAM_CACHING>
What caching upstream CI already uses (shown on the page) [default: ""]
--cores <CORES>
Executor cores the runs may use (shown with every row)
--core-hour-usd <CORE_HOUR_USD>
US dollars per core-hour (0: no cost shown) [default: 0]
--cold-every <COLD_EVERY>
A cold run every N new commits (0: never)
--runner <RUNNERS>
Runner service principal id (repeatable)
--notes <NOTES>
Methodology notes (machine type, Bazel version) [default: ""]
--disabled
Hide the showcase and stop queueing runs
-h, --help
Print help
Global options:
--server <SERVER> Server base URL. Default: the workspace's server, else the profile's, else https://trunkjet.io (the server `tjet login` signs in to) [env: TJET_SERVER=]
--profile <PROFILE> Named profile of the user configuration (TOML; schema: docs/manual/user-config.md) [env: TJET_PROFILE=]
--timeout <TIMEOUT> Whole-command deadline in seconds. On expiry the command stops; a remote request may already have completed (exit 8 for mutating commands) [env: TJET_TIMEOUT=]
--no-progress Do not write progress to stderr [env: TJET_NO_PROGRESS=]
--token-fd <TOKEN_FD> Read a session or scoped (agent) token from this open file descriptor (never pass a secret as a command-line value)
--token-stdin Read a session or scoped (agent) token from standard input
--workspace <WORKSPACE> Workspace directory (default: search upward from the current directory)
--json Emit exactly one JSON result on stdout
--non-interactive Never prompt; return structured errors instead
--allow-elevated-writes Windows: let this command change workspaces itself although the shell is elevated and UAC is on. Risky: the user's unelevated programs could redirect those writes. Without it an elevated tjet writes only through the unelevated daemon
--request-id <REQUEST_ID> Request identity for this command. Re-running the same command with the same value repeats exactly the same requests, so the server replays outcomes it already recorded instead of executing twice (use it to retry after an unknown outcome, exit 8)
Examples:
tjet showcase configure github.com/abseil/abseil-cpp --title abseil-cpp --target //absl/... --workflow ci.yml --job Linux --cores 128 --runner PRINCIPAL_ID
tjet showcase enqueue
Queue runs of one upstream commit (installation operators)
Usage: tjet showcase enqueue [OPTIONS] <SOURCE> <COMMIT>
Arguments:
<SOURCE> github.com/<org>/<repo>
<COMMIT> Full commit id (40 hex)
Options:
--mode <MODES> cold, warm or incremental (repeatable; default warm and incremental)
--observed-ms <OBSERVED_MS> Orders the row (default now), e.g. the commit time for a backfill
-h, --help Print help
Global options:
--server <SERVER> Server base URL. Default: the workspace's server, else the profile's, else https://trunkjet.io (the server `tjet login` signs in to) [env: TJET_SERVER=]
--profile <PROFILE> Named profile of the user configuration (TOML; schema: docs/manual/user-config.md) [env: TJET_PROFILE=]
--timeout <TIMEOUT> Whole-command deadline in seconds. On expiry the command stops; a remote request may already have completed (exit 8 for mutating commands) [env: TJET_TIMEOUT=]
--no-progress Do not write progress to stderr [env: TJET_NO_PROGRESS=]
--token-fd <TOKEN_FD> Read a session or scoped (agent) token from this open file descriptor (never pass a secret as a command-line value)
--token-stdin Read a session or scoped (agent) token from standard input
--workspace <WORKSPACE> Workspace directory (default: search upward from the current directory)
--json Emit exactly one JSON result on stdout
--non-interactive Never prompt; return structured errors instead
--allow-elevated-writes Windows: let this command change workspaces itself although the shell is elevated and UAC is on. Risky: the user's unelevated programs could redirect those writes. Without it an elevated tjet writes only through the unelevated daemon
--request-id <REQUEST_ID> Request identity for this command. Re-running the same command with the same value repeats exactly the same requests, so the server replays outcomes it already recorded instead of executing twice (use it to retry after an unknown outcome, exit 8)
Examples:
tjet showcase enqueue github.com/abseil/abseil-cpp COMMIT --mode cold
tjet showcase show
The rows of one showcase
Usage: tjet showcase show [OPTIONS] <SOURCE>
Arguments:
<SOURCE> github.com/<org>/<repo> or <org>/<repo>
Options:
--mode <MODE> Only rows of this mode (cold, warm, incremental)
--limit <LIMIT> Rows to show (1..=200, default 50)
-h, --help Print help
Global options:
--server <SERVER> Server base URL. Default: the workspace's server, else the profile's, else https://trunkjet.io (the server `tjet login` signs in to) [env: TJET_SERVER=]
--profile <PROFILE> Named profile of the user configuration (TOML; schema: docs/manual/user-config.md) [env: TJET_PROFILE=]
--timeout <TIMEOUT> Whole-command deadline in seconds. On expiry the command stops; a remote request may already have completed (exit 8 for mutating commands) [env: TJET_TIMEOUT=]
--no-progress Do not write progress to stderr [env: TJET_NO_PROGRESS=]
--token-fd <TOKEN_FD> Read a session or scoped (agent) token from this open file descriptor (never pass a secret as a command-line value)
--token-stdin Read a session or scoped (agent) token from standard input
--workspace <WORKSPACE> Workspace directory (default: search upward from the current directory)
--json Emit exactly one JSON result on stdout
--non-interactive Never prompt; return structured errors instead
--allow-elevated-writes Windows: let this command change workspaces itself although the shell is elevated and UAC is on. Risky: the user's unelevated programs could redirect those writes. Without it an elevated tjet writes only through the unelevated daemon
--request-id <REQUEST_ID> Request identity for this command. Re-running the same command with the same value repeats exactly the same requests, so the server replays outcomes it already recorded instead of executing twice (use it to retry after an unknown outcome, exit 8)
Examples:
tjet showcase show abseil/abseil-cpp --mode warm
tjet showcase list
Every showcase with its medians
Usage: tjet showcase list [OPTIONS]
Options:
-h, --help Print help
Global options:
--server <SERVER> Server base URL. Default: the workspace's server, else the profile's, else https://trunkjet.io (the server `tjet login` signs in to) [env: TJET_SERVER=]
--profile <PROFILE> Named profile of the user configuration (TOML; schema: docs/manual/user-config.md) [env: TJET_PROFILE=]
--timeout <TIMEOUT> Whole-command deadline in seconds. On expiry the command stops; a remote request may already have completed (exit 8 for mutating commands) [env: TJET_TIMEOUT=]
--no-progress Do not write progress to stderr [env: TJET_NO_PROGRESS=]
--token-fd <TOKEN_FD> Read a session or scoped (agent) token from this open file descriptor (never pass a secret as a command-line value)
--token-stdin Read a session or scoped (agent) token from standard input
--workspace <WORKSPACE> Workspace directory (default: search upward from the current directory)
--json Emit exactly one JSON result on stdout
--non-interactive Never prompt; return structured errors instead
--allow-elevated-writes Windows: let this command change workspaces itself although the shell is elevated and UAC is on. Risky: the user's unelevated programs could redirect those writes. Without it an elevated tjet writes only through the unelevated daemon
--request-id <REQUEST_ID> Request identity for this command. Re-running the same command with the same value repeats exactly the same requests, so the server replays outcomes it already recorded instead of executing twice (use it to retry after an unknown outcome, exit 8)
Examples:
tjet showcase list
tjet import
Import a whole project from GitHub or a GitLab export: history, issues, pull requests, releases and wiki
Usage: tjet import [OPTIONS] <COMMAND>
Commands:
github Import a GitHub repository with its issues, pull requests, releases and wiki
gitlab-export Import a GitLab project export (.tar.gz from Settings, General, Advanced, Export). No running GitLab is needed
status Progress and the final report of an import
claim Link imported identities (imported:@gh-...) whose address you have verified to you
pulls Imported pull/merge requests with their discussion
releases Imported releases
help Print this message or the help of the given subcommand(s)
Options:
-h, --help
Print help (see a summary with '-h')
Global options:
--server <SERVER>
Server base URL. Default: the workspace's server, else the profile's, else https://trunkjet.io (the server `tjet login` signs in to)
[env: TJET_SERVER=]
--profile <PROFILE>
Named profile of the user configuration (TOML; schema: docs/manual/user-config.md)
[env: TJET_PROFILE=]
--timeout <TIMEOUT>
Whole-command deadline in seconds. On expiry the command stops; a remote request may already have completed (exit 8 for mutating commands)
[env: TJET_TIMEOUT=]
--no-progress
Do not write progress to stderr
[env: TJET_NO_PROGRESS=]
--token-fd <TOKEN_FD>
Read a session or scoped (agent) token from this open file descriptor (never pass a secret as a command-line value)
--token-stdin
Read a session or scoped (agent) token from standard input
--workspace <WORKSPACE>
Workspace directory (default: search upward from the current directory)
--json
Emit exactly one JSON result on stdout
--non-interactive
Never prompt; return structured errors instead
--allow-elevated-writes
Windows: let this command change workspaces itself although the shell is elevated and UAC is on. Risky: the user's unelevated programs could redirect those writes. Without it an elevated tjet writes only through the unelevated daemon
--request-id <REQUEST_ID>
Request identity for this command. Re-running the same command with the same value repeats exactly the same requests, so the server replays outcomes it already recorded instead of executing twice (use it to retry after an unknown outcome, exit 8)
tjet import github
Import a GitHub repository with its issues, pull requests, releases and wiki.
A public repository needs no token. GitHub then allows 60 requests per hour, so a repository with many pull requests takes hours (the import waits and continues). A private repository needs a token, read from TJET_GITHUB_TOKEN or, with --github-token-stdin, from the first line of standard input; never from the command line. A fine-grained token with read-only access to Contents, Issues, Pull requests and Metadata is enough. The server uses it for this run and does not keep it. Running the same command again continues an interrupted import.
Usage: tjet import github [OPTIONS] <REPOSITORY>
Arguments:
<REPOSITORY>
OWNER/REPO on GitHub
Options:
--into <INTO>
Where to put it: ORG/NAME or NAME (default: the GitHub name in your default organisation)
--github-token-stdin
Read the GitHub token from the first line of standard input
--no-wait
Start the import and return at once
-h, --help
Print help (see a summary with '-h')
Global options:
--server <SERVER>
Server base URL. Default: the workspace's server, else the profile's, else https://trunkjet.io (the server `tjet login` signs in to)
[env: TJET_SERVER=]
--profile <PROFILE>
Named profile of the user configuration (TOML; schema: docs/manual/user-config.md)
[env: TJET_PROFILE=]
--timeout <TIMEOUT>
Whole-command deadline in seconds. On expiry the command stops; a remote request may already have completed (exit 8 for mutating commands)
[env: TJET_TIMEOUT=]
--no-progress
Do not write progress to stderr
[env: TJET_NO_PROGRESS=]
--token-fd <TOKEN_FD>
Read a session or scoped (agent) token from this open file descriptor (never pass a secret as a command-line value)
--token-stdin
Read a session or scoped (agent) token from standard input
--workspace <WORKSPACE>
Workspace directory (default: search upward from the current directory)
--json
Emit exactly one JSON result on stdout
--non-interactive
Never prompt; return structured errors instead
--allow-elevated-writes
Windows: let this command change workspaces itself although the shell is elevated and UAC is on. Risky: the user's unelevated programs could redirect those writes. Without it an elevated tjet writes only through the unelevated daemon
--request-id <REQUEST_ID>
Request identity for this command. Re-running the same command with the same value repeats exactly the same requests, so the server replays outcomes it already recorded instead of executing twice (use it to retry after an unknown outcome, exit 8)
Examples:
tjet import github octocat/hello-world --into acme/hello-world
tjet import github acme/widgets --github-token-stdin
tjet import gitlab-export
Import a GitLab project export (.tar.gz from Settings, General, Advanced, Export). No running GitLab is needed
Usage: tjet import gitlab-export [OPTIONS] --into <INTO> <FILE>
Arguments:
<FILE> The export file (.tar.gz)
Options:
--into <INTO> ORG/NAME or NAME
--no-wait Start the import and return at once
-h, --help Print help
Global options:
--server <SERVER> Server base URL. Default: the workspace's server, else the profile's, else https://trunkjet.io (the server `tjet login` signs in to) [env: TJET_SERVER=]
--profile <PROFILE> Named profile of the user configuration (TOML; schema: docs/manual/user-config.md) [env: TJET_PROFILE=]
--timeout <TIMEOUT> Whole-command deadline in seconds. On expiry the command stops; a remote request may already have completed (exit 8 for mutating commands) [env: TJET_TIMEOUT=]
--no-progress Do not write progress to stderr [env: TJET_NO_PROGRESS=]
--token-fd <TOKEN_FD> Read a session or scoped (agent) token from this open file descriptor (never pass a secret as a command-line value)
--token-stdin Read a session or scoped (agent) token from standard input
--workspace <WORKSPACE> Workspace directory (default: search upward from the current directory)
--json Emit exactly one JSON result on stdout
--non-interactive Never prompt; return structured errors instead
--allow-elevated-writes Windows: let this command change workspaces itself although the shell is elevated and UAC is on. Risky: the user's unelevated programs could redirect those writes. Without it an elevated tjet writes only through the unelevated daemon
--request-id <REQUEST_ID> Request identity for this command. Re-running the same command with the same value repeats exactly the same requests, so the server replays outcomes it already recorded instead of executing twice (use it to retry after an unknown outcome, exit 8)
Examples:
tjet import gitlab-export widgets_export.tar.gz --into acme/widgets
tjet import status
Progress and the final report of an import
Usage: tjet import status [OPTIONS] <NAME>
Arguments:
<NAME> ORG/NAME or NAME
Options:
-h, --help Print help
Global options:
--server <SERVER> Server base URL. Default: the workspace's server, else the profile's, else https://trunkjet.io (the server `tjet login` signs in to) [env: TJET_SERVER=]
--profile <PROFILE> Named profile of the user configuration (TOML; schema: docs/manual/user-config.md) [env: TJET_PROFILE=]
--timeout <TIMEOUT> Whole-command deadline in seconds. On expiry the command stops; a remote request may already have completed (exit 8 for mutating commands) [env: TJET_TIMEOUT=]
--no-progress Do not write progress to stderr [env: TJET_NO_PROGRESS=]
--token-fd <TOKEN_FD> Read a session or scoped (agent) token from this open file descriptor (never pass a secret as a command-line value)
--token-stdin Read a session or scoped (agent) token from standard input
--workspace <WORKSPACE> Workspace directory (default: search upward from the current directory)
--json Emit exactly one JSON result on stdout
--non-interactive Never prompt; return structured errors instead
--allow-elevated-writes Windows: let this command change workspaces itself although the shell is elevated and UAC is on. Risky: the user's unelevated programs could redirect those writes. Without it an elevated tjet writes only through the unelevated daemon
--request-id <REQUEST_ID> Request identity for this command. Re-running the same command with the same value repeats exactly the same requests, so the server replays outcomes it already recorded instead of executing twice (use it to retry after an unknown outcome, exit 8)
Examples:
tjet import status acme/widgets
tjet import claim
Link imported identities (imported:@gh-...) whose address you have verified to you
Usage: tjet import claim [OPTIONS]
Options:
--org <ORG> The organisation (@handle); default: your default organisation
-h, --help Print help
Global options:
--server <SERVER> Server base URL. Default: the workspace's server, else the profile's, else https://trunkjet.io (the server `tjet login` signs in to) [env: TJET_SERVER=]
--profile <PROFILE> Named profile of the user configuration (TOML; schema: docs/manual/user-config.md) [env: TJET_PROFILE=]
--timeout <TIMEOUT> Whole-command deadline in seconds. On expiry the command stops; a remote request may already have completed (exit 8 for mutating commands) [env: TJET_TIMEOUT=]
--no-progress Do not write progress to stderr [env: TJET_NO_PROGRESS=]
--token-fd <TOKEN_FD> Read a session or scoped (agent) token from this open file descriptor (never pass a secret as a command-line value)
--token-stdin Read a session or scoped (agent) token from standard input
--workspace <WORKSPACE> Workspace directory (default: search upward from the current directory)
--json Emit exactly one JSON result on stdout
--non-interactive Never prompt; return structured errors instead
--allow-elevated-writes Windows: let this command change workspaces itself although the shell is elevated and UAC is on. Risky: the user's unelevated programs could redirect those writes. Without it an elevated tjet writes only through the unelevated daemon
--request-id <REQUEST_ID> Request identity for this command. Re-running the same command with the same value repeats exactly the same requests, so the server replays outcomes it already recorded instead of executing twice (use it to retry after an unknown outcome, exit 8)
Examples:
tjet import claim --org acme
tjet import pulls
Imported pull/merge requests with their discussion
Usage: tjet import pulls [OPTIONS] <REPO>
Arguments:
<REPO> The repository (ORG/NAME or NAME)
Options:
-h, --help Print help
Global options:
--server <SERVER> Server base URL. Default: the workspace's server, else the profile's, else https://trunkjet.io (the server `tjet login` signs in to) [env: TJET_SERVER=]
--profile <PROFILE> Named profile of the user configuration (TOML; schema: docs/manual/user-config.md) [env: TJET_PROFILE=]
--timeout <TIMEOUT> Whole-command deadline in seconds. On expiry the command stops; a remote request may already have completed (exit 8 for mutating commands) [env: TJET_TIMEOUT=]
--no-progress Do not write progress to stderr [env: TJET_NO_PROGRESS=]
--token-fd <TOKEN_FD> Read a session or scoped (agent) token from this open file descriptor (never pass a secret as a command-line value)
--token-stdin Read a session or scoped (agent) token from standard input
--workspace <WORKSPACE> Workspace directory (default: search upward from the current directory)
--json Emit exactly one JSON result on stdout
--non-interactive Never prompt; return structured errors instead
--allow-elevated-writes Windows: let this command change workspaces itself although the shell is elevated and UAC is on. Risky: the user's unelevated programs could redirect those writes. Without it an elevated tjet writes only through the unelevated daemon
--request-id <REQUEST_ID> Request identity for this command. Re-running the same command with the same value repeats exactly the same requests, so the server replays outcomes it already recorded instead of executing twice (use it to retry after an unknown outcome, exit 8)
Examples:
tjet import pulls acme/widgets
tjet import releases
Imported releases
Usage: tjet import releases [OPTIONS] <REPO>
Arguments:
<REPO> The repository (its name); needed outside a workspace
Options:
-h, --help Print help
Global options:
--server <SERVER> Server base URL. Default: the workspace's server, else the profile's, else https://trunkjet.io (the server `tjet login` signs in to) [env: TJET_SERVER=]
--profile <PROFILE> Named profile of the user configuration (TOML; schema: docs/manual/user-config.md) [env: TJET_PROFILE=]
--timeout <TIMEOUT> Whole-command deadline in seconds. On expiry the command stops; a remote request may already have completed (exit 8 for mutating commands) [env: TJET_TIMEOUT=]
--no-progress Do not write progress to stderr [env: TJET_NO_PROGRESS=]
--token-fd <TOKEN_FD> Read a session or scoped (agent) token from this open file descriptor (never pass a secret as a command-line value)
--token-stdin Read a session or scoped (agent) token from standard input
--workspace <WORKSPACE> Workspace directory (default: search upward from the current directory)
--json Emit exactly one JSON result on stdout
--non-interactive Never prompt; return structured errors instead
--allow-elevated-writes Windows: let this command change workspaces itself although the shell is elevated and UAC is on. Risky: the user's unelevated programs could redirect those writes. Without it an elevated tjet writes only through the unelevated daemon
--request-id <REQUEST_ID> Request identity for this command. Re-running the same command with the same value repeats exactly the same requests, so the server replays outcomes it already recorded instead of executing twice (use it to retry after an unknown outcome, exit 8)
Examples:
tjet import releases acme/widgets
tjet mirror
Live read-only mirrors of upstream repositories (github.com/OWNER/REPO, ...)
Usage: tjet mirror [OPTIONS] <COMMAND>
Commands:
add Register a live read-only mirror of SOURCE (host/owner/repo; tenant_admin)
show A mirror's state: followed branch, head, last sync, failures
sync Ask for a sync soon (rate-limited)
list Your organization's mirrors and the shared public ones
help Print this message or the help of the given subcommand(s)
Options:
-h, --help
Print help (see a summary with '-h')
Global options:
--server <SERVER>
Server base URL. Default: the workspace's server, else the profile's, else https://trunkjet.io (the server `tjet login` signs in to)
[env: TJET_SERVER=]
--profile <PROFILE>
Named profile of the user configuration (TOML; schema: docs/manual/user-config.md)
[env: TJET_PROFILE=]
--timeout <TIMEOUT>
Whole-command deadline in seconds. On expiry the command stops; a remote request may already have completed (exit 8 for mutating commands)
[env: TJET_TIMEOUT=]
--no-progress
Do not write progress to stderr
[env: TJET_NO_PROGRESS=]
--token-fd <TOKEN_FD>
Read a session or scoped (agent) token from this open file descriptor (never pass a secret as a command-line value)
--token-stdin
Read a session or scoped (agent) token from standard input
--workspace <WORKSPACE>
Workspace directory (default: search upward from the current directory)
--json
Emit exactly one JSON result on stdout
--non-interactive
Never prompt; return structured errors instead
--allow-elevated-writes
Windows: let this command change workspaces itself although the shell is elevated and UAC is on. Risky: the user's unelevated programs could redirect those writes. Without it an elevated tjet writes only through the unelevated daemon
--request-id <REQUEST_ID>
Request identity for this command. Re-running the same command with the same value repeats exactly the same requests, so the server replays outcomes it already recorded instead of executing twice (use it to retry after an unknown outcome, exit 8)
tjet mirror add
Register a live read-only mirror of SOURCE (host/owner/repo; tenant_admin)
Usage: tjet mirror add [OPTIONS] <SOURCE>
Arguments:
<SOURCE> Source key HOST/OWNER/REPO, e.g. github.com/rust-lang/log
Options:
--public Shared with every organization of this installation (operator tenant only)
--branch <BRANCH> Branch to follow (default: the upstream's default branch)
--credential <CREDENTIAL> Name of a server-side credential of your organization (private mirrors)
-h, --help Print help
Global options:
--server <SERVER> Server base URL. Default: the workspace's server, else the profile's, else https://trunkjet.io (the server `tjet login` signs in to) [env: TJET_SERVER=]
--profile <PROFILE> Named profile of the user configuration (TOML; schema: docs/manual/user-config.md) [env: TJET_PROFILE=]
--timeout <TIMEOUT> Whole-command deadline in seconds. On expiry the command stops; a remote request may already have completed (exit 8 for mutating commands) [env: TJET_TIMEOUT=]
--no-progress Do not write progress to stderr [env: TJET_NO_PROGRESS=]
--token-fd <TOKEN_FD> Read a session or scoped (agent) token from this open file descriptor (never pass a secret as a command-line value)
--token-stdin Read a session or scoped (agent) token from standard input
--workspace <WORKSPACE> Workspace directory (default: search upward from the current directory)
--json Emit exactly one JSON result on stdout
--non-interactive Never prompt; return structured errors instead
--allow-elevated-writes Windows: let this command change workspaces itself although the shell is elevated and UAC is on. Risky: the user's unelevated programs could redirect those writes. Without it an elevated tjet writes only through the unelevated daemon
--request-id <REQUEST_ID> Request identity for this command. Re-running the same command with the same value repeats exactly the same requests, so the server replays outcomes it already recorded instead of executing twice (use it to retry after an unknown outcome, exit 8)
Examples:
tjet mirror add github.com/rust-lang/log
tjet mirror add github.com/acme/private-lib --credential gh-app
tjet mirror show
A mirror's state: followed branch, head, last sync, failures
Usage: tjet mirror show [OPTIONS] <SOURCE>
Arguments:
<SOURCE> Source key HOST/OWNER/REPO, e.g. github.com/rust-lang/log
Options:
-h, --help Print help
Global options:
--server <SERVER> Server base URL. Default: the workspace's server, else the profile's, else https://trunkjet.io (the server `tjet login` signs in to) [env: TJET_SERVER=]
--profile <PROFILE> Named profile of the user configuration (TOML; schema: docs/manual/user-config.md) [env: TJET_PROFILE=]
--timeout <TIMEOUT> Whole-command deadline in seconds. On expiry the command stops; a remote request may already have completed (exit 8 for mutating commands) [env: TJET_TIMEOUT=]
--no-progress Do not write progress to stderr [env: TJET_NO_PROGRESS=]
--token-fd <TOKEN_FD> Read a session or scoped (agent) token from this open file descriptor (never pass a secret as a command-line value)
--token-stdin Read a session or scoped (agent) token from standard input
--workspace <WORKSPACE> Workspace directory (default: search upward from the current directory)
--json Emit exactly one JSON result on stdout
--non-interactive Never prompt; return structured errors instead
--allow-elevated-writes Windows: let this command change workspaces itself although the shell is elevated and UAC is on. Risky: the user's unelevated programs could redirect those writes. Without it an elevated tjet writes only through the unelevated daemon
--request-id <REQUEST_ID> Request identity for this command. Re-running the same command with the same value repeats exactly the same requests, so the server replays outcomes it already recorded instead of executing twice (use it to retry after an unknown outcome, exit 8)
Examples:
tjet mirror show github.com/rust-lang/log
tjet mirror sync
Ask for a sync soon (rate-limited)
Usage: tjet mirror sync [OPTIONS] <SOURCE>
Arguments:
<SOURCE> Source key HOST/OWNER/REPO, e.g. github.com/rust-lang/log
Options:
-h, --help Print help
Global options:
--server <SERVER> Server base URL. Default: the workspace's server, else the profile's, else https://trunkjet.io (the server `tjet login` signs in to) [env: TJET_SERVER=]
--profile <PROFILE> Named profile of the user configuration (TOML; schema: docs/manual/user-config.md) [env: TJET_PROFILE=]
--timeout <TIMEOUT> Whole-command deadline in seconds. On expiry the command stops; a remote request may already have completed (exit 8 for mutating commands) [env: TJET_TIMEOUT=]
--no-progress Do not write progress to stderr [env: TJET_NO_PROGRESS=]
--token-fd <TOKEN_FD> Read a session or scoped (agent) token from this open file descriptor (never pass a secret as a command-line value)
--token-stdin Read a session or scoped (agent) token from standard input
--workspace <WORKSPACE> Workspace directory (default: search upward from the current directory)
--json Emit exactly one JSON result on stdout
--non-interactive Never prompt; return structured errors instead
--allow-elevated-writes Windows: let this command change workspaces itself although the shell is elevated and UAC is on. Risky: the user's unelevated programs could redirect those writes. Without it an elevated tjet writes only through the unelevated daemon
--request-id <REQUEST_ID> Request identity for this command. Re-running the same command with the same value repeats exactly the same requests, so the server replays outcomes it already recorded instead of executing twice (use it to retry after an unknown outcome, exit 8)
Examples:
tjet mirror sync github.com/rust-lang/log
tjet mirror list
Your organization's mirrors and the shared public ones
Usage: tjet mirror list [OPTIONS]
Options:
-h, --help Print help
Global options:
--server <SERVER> Server base URL. Default: the workspace's server, else the profile's, else https://trunkjet.io (the server `tjet login` signs in to) [env: TJET_SERVER=]
--profile <PROFILE> Named profile of the user configuration (TOML; schema: docs/manual/user-config.md) [env: TJET_PROFILE=]
--timeout <TIMEOUT> Whole-command deadline in seconds. On expiry the command stops; a remote request may already have completed (exit 8 for mutating commands) [env: TJET_TIMEOUT=]
--no-progress Do not write progress to stderr [env: TJET_NO_PROGRESS=]
--token-fd <TOKEN_FD> Read a session or scoped (agent) token from this open file descriptor (never pass a secret as a command-line value)
--token-stdin Read a session or scoped (agent) token from standard input
--workspace <WORKSPACE> Workspace directory (default: search upward from the current directory)
--json Emit exactly one JSON result on stdout
--non-interactive Never prompt; return structured errors instead
--allow-elevated-writes Windows: let this command change workspaces itself although the shell is elevated and UAC is on. Risky: the user's unelevated programs could redirect those writes. Without it an elevated tjet writes only through the unelevated daemon
--request-id <REQUEST_ID> Request identity for this command. Re-running the same command with the same value repeats exactly the same requests, so the server replays outcomes it already recorded instead of executing twice (use it to retry after an unknown outcome, exit 8)
Examples:
tjet mirror list
tjet vendor
Copy a mirrored upstream into a folder as a reviewable change and keep it updated
Usage: tjet vendor [OPTIONS] <COMMAND>
Commands:
add Copy SOURCE[@REF] (a mirror; REF: branch, tag or commit) into PATH as tracked files
update Three-way merge PATH to a newer upstream state (default: the recorded ref again)
status Local changes and, unless --offline, whether upstream moved, of PATH or of every vendored folder of the workspace
help Print this message or the help of the given subcommand(s)
Options:
-h, --help
Print help (see a summary with '-h')
Global options:
--server <SERVER>
Server base URL. Default: the workspace's server, else the profile's, else https://trunkjet.io (the server `tjet login` signs in to)
[env: TJET_SERVER=]
--profile <PROFILE>
Named profile of the user configuration (TOML; schema: docs/manual/user-config.md)
[env: TJET_PROFILE=]
--timeout <TIMEOUT>
Whole-command deadline in seconds. On expiry the command stops; a remote request may already have completed (exit 8 for mutating commands)
[env: TJET_TIMEOUT=]
--no-progress
Do not write progress to stderr
[env: TJET_NO_PROGRESS=]
--token-fd <TOKEN_FD>
Read a session or scoped (agent) token from this open file descriptor (never pass a secret as a command-line value)
--token-stdin
Read a session or scoped (agent) token from standard input
--workspace <WORKSPACE>
Workspace directory (default: search upward from the current directory)
--json
Emit exactly one JSON result on stdout
--non-interactive
Never prompt; return structured errors instead
--allow-elevated-writes
Windows: let this command change workspaces itself although the shell is elevated and UAC is on. Risky: the user's unelevated programs could redirect those writes. Without it an elevated tjet writes only through the unelevated daemon
--request-id <REQUEST_ID>
Request identity for this command. Re-running the same command with the same value repeats exactly the same requests, so the server replays outcomes it already recorded instead of executing twice (use it to retry after an unknown outcome, exit 8)
tjet vendor add
Copy SOURCE[@REF] (a mirror; REF: branch, tag or commit) into PATH as tracked files
Usage: tjet vendor add [OPTIONS] <SPEC> <PATH>
Arguments:
<SPEC> SOURCE[@REF]: a mirror source key and optionally a branch, tag or full commit id
<PATH> New folder (relative to the current directory) to copy the tree into
Options:
-h, --help Print help
Global options:
--server <SERVER> Server base URL. Default: the workspace's server, else the profile's, else https://trunkjet.io (the server `tjet login` signs in to) [env: TJET_SERVER=]
--profile <PROFILE> Named profile of the user configuration (TOML; schema: docs/manual/user-config.md) [env: TJET_PROFILE=]
--timeout <TIMEOUT> Whole-command deadline in seconds. On expiry the command stops; a remote request may already have completed (exit 8 for mutating commands) [env: TJET_TIMEOUT=]
--no-progress Do not write progress to stderr [env: TJET_NO_PROGRESS=]
--token-fd <TOKEN_FD> Read a session or scoped (agent) token from this open file descriptor (never pass a secret as a command-line value)
--token-stdin Read a session or scoped (agent) token from standard input
--workspace <WORKSPACE> Workspace directory (default: search upward from the current directory)
--json Emit exactly one JSON result on stdout
--non-interactive Never prompt; return structured errors instead
--allow-elevated-writes Windows: let this command change workspaces itself although the shell is elevated and UAC is on. Risky: the user's unelevated programs could redirect those writes. Without it an elevated tjet writes only through the unelevated daemon
--request-id <REQUEST_ID> Request identity for this command. Re-running the same command with the same value repeats exactly the same requests, so the server replays outcomes it already recorded instead of executing twice (use it to retry after an unknown outcome, exit 8)
Examples:
tjet vendor add github.com/rust-lang/[email protected] third_party/log
tjet vendor update
Three-way merge PATH to a newer upstream state (default: the recorded ref again)
Usage: tjet vendor update [OPTIONS] <PATH>
Arguments:
<PATH> The vendored folder
Options:
--ref <GIT_REF> Branch, tag or full commit id to update to (default: the recorded ref)
-h, --help Print help
Global options:
--server <SERVER> Server base URL. Default: the workspace's server, else the profile's, else https://trunkjet.io (the server `tjet login` signs in to) [env: TJET_SERVER=]
--profile <PROFILE> Named profile of the user configuration (TOML; schema: docs/manual/user-config.md) [env: TJET_PROFILE=]
--timeout <TIMEOUT> Whole-command deadline in seconds. On expiry the command stops; a remote request may already have completed (exit 8 for mutating commands) [env: TJET_TIMEOUT=]
--no-progress Do not write progress to stderr [env: TJET_NO_PROGRESS=]
--token-fd <TOKEN_FD> Read a session or scoped (agent) token from this open file descriptor (never pass a secret as a command-line value)
--token-stdin Read a session or scoped (agent) token from standard input
--workspace <WORKSPACE> Workspace directory (default: search upward from the current directory)
--json Emit exactly one JSON result on stdout
--non-interactive Never prompt; return structured errors instead
--allow-elevated-writes Windows: let this command change workspaces itself although the shell is elevated and UAC is on. Risky: the user's unelevated programs could redirect those writes. Without it an elevated tjet writes only through the unelevated daemon
--request-id <REQUEST_ID> Request identity for this command. Re-running the same command with the same value repeats exactly the same requests, so the server replays outcomes it already recorded instead of executing twice (use it to retry after an unknown outcome, exit 8)
Examples:
tjet vendor update third_party/log
tjet vendor update third_party/log --ref 0.4.25
tjet vendor status
Local changes and, unless --offline, whether upstream moved, of PATH or of every vendored folder of the workspace
Usage: tjet vendor status [OPTIONS] [PATH]
Arguments:
[PATH] A vendored folder (default: every vendored folder of the workspace)
Options:
--offline Do not ask the server whether upstream moved
-h, --help Print help
Global options:
--server <SERVER> Server base URL. Default: the workspace's server, else the profile's, else https://trunkjet.io (the server `tjet login` signs in to) [env: TJET_SERVER=]
--profile <PROFILE> Named profile of the user configuration (TOML; schema: docs/manual/user-config.md) [env: TJET_PROFILE=]
--timeout <TIMEOUT> Whole-command deadline in seconds. On expiry the command stops; a remote request may already have completed (exit 8 for mutating commands) [env: TJET_TIMEOUT=]
--no-progress Do not write progress to stderr [env: TJET_NO_PROGRESS=]
--token-fd <TOKEN_FD> Read a session or scoped (agent) token from this open file descriptor (never pass a secret as a command-line value)
--token-stdin Read a session or scoped (agent) token from standard input
--workspace <WORKSPACE> Workspace directory (default: search upward from the current directory)
--json Emit exactly one JSON result on stdout
--non-interactive Never prompt; return structured errors instead
--allow-elevated-writes Windows: let this command change workspaces itself although the shell is elevated and UAC is on. Risky: the user's unelevated programs could redirect those writes. Without it an elevated tjet writes only through the unelevated daemon
--request-id <REQUEST_ID> Request identity for this command. Re-running the same command with the same value repeats exactly the same requests, so the server replays outcomes it already recorded instead of executing twice (use it to retry after an unknown outcome, exit 8)
Examples:
tjet vendor status
tjet vendor status third_party/log --offline
tjet review
Reviews, comments and approvals
Usage: tjet review [OPTIONS] <COMMAND>
Commands:
create Ask for a review of a change's current revision (default: this workspace's change)
show A review: its state, reviewers and approvals
comment Comment on a review: a new thread, a reply (`--thread`), or a new thread anchored to lines of one file (`--path` with `--line N` or `--line N-M`, one-based, inclusive)
comments Comments of a review. Follows every page by default; with --limit or --cursor prints one page (whole threads) and its `next_cursor`
approve Approve the exact current revision and patch digest of a change. Replaces your own earlier request for changes; other reviewers' requests stay
revoke Withdraw your approval of a change
request-changes Ask for changes on a review: the change cannot merge until you approve. Replaces your own approval of the current revision; other reviewers' approvals stay
list Reviews of the repository (of one change with --change; requested from you with --mine)
request Ask more reviewers to review
help Print this message or the help of the given subcommand(s)
Options:
--repo <REPO>
Repository name (needed outside a workspace); before or after the subcommand
-h, --help
Print help (see a summary with '-h')
Global options:
--server <SERVER>
Server base URL. Default: the workspace's server, else the profile's, else https://trunkjet.io (the server `tjet login` signs in to)
[env: TJET_SERVER=]
--profile <PROFILE>
Named profile of the user configuration (TOML; schema: docs/manual/user-config.md)
[env: TJET_PROFILE=]
--timeout <TIMEOUT>
Whole-command deadline in seconds. On expiry the command stops; a remote request may already have completed (exit 8 for mutating commands)
[env: TJET_TIMEOUT=]
--no-progress
Do not write progress to stderr
[env: TJET_NO_PROGRESS=]
--token-fd <TOKEN_FD>
Read a session or scoped (agent) token from this open file descriptor (never pass a secret as a command-line value)
--token-stdin
Read a session or scoped (agent) token from standard input
--workspace <WORKSPACE>
Workspace directory (default: search upward from the current directory)
--json
Emit exactly one JSON result on stdout
--non-interactive
Never prompt; return structured errors instead
--allow-elevated-writes
Windows: let this command change workspaces itself although the shell is elevated and UAC is on. Risky: the user's unelevated programs could redirect those writes. Without it an elevated tjet writes only through the unelevated daemon
--request-id <REQUEST_ID>
Request identity for this command. Re-running the same command with the same value repeats exactly the same requests, so the server replays outcomes it already recorded instead of executing twice (use it to retry after an unknown outcome, exit 8)
tjet review create
Ask for a review of a change's current revision (default: this workspace's change)
Usage: tjet review create [OPTIONS]
Options:
--repo <REPO> Repository name (needed outside a workspace); before or after the subcommand
--reviewer <REVIEWERS> Who should review: a user name (repeatable)
--change <CHANGE> The change to review (its id; default: this workspace's change)
-h, --help Print help
Global options:
--server <SERVER> Server base URL. Default: the workspace's server, else the profile's, else https://trunkjet.io (the server `tjet login` signs in to) [env: TJET_SERVER=]
--profile <PROFILE> Named profile of the user configuration (TOML; schema: docs/manual/user-config.md) [env: TJET_PROFILE=]
--timeout <TIMEOUT> Whole-command deadline in seconds. On expiry the command stops; a remote request may already have completed (exit 8 for mutating commands) [env: TJET_TIMEOUT=]
--no-progress Do not write progress to stderr [env: TJET_NO_PROGRESS=]
--token-fd <TOKEN_FD> Read a session or scoped (agent) token from this open file descriptor (never pass a secret as a command-line value)
--token-stdin Read a session or scoped (agent) token from standard input
--workspace <WORKSPACE> Workspace directory (default: search upward from the current directory)
--json Emit exactly one JSON result on stdout
--non-interactive Never prompt; return structured errors instead
--allow-elevated-writes Windows: let this command change workspaces itself although the shell is elevated and UAC is on. Risky: the user's unelevated programs could redirect those writes. Without it an elevated tjet writes only through the unelevated daemon
--request-id <REQUEST_ID> Request identity for this command. Re-running the same command with the same value repeats exactly the same requests, so the server replays outcomes it already recorded instead of executing twice (use it to retry after an unknown outcome, exit 8)
Examples:
tjet review create --reviewer bob
tjet review create --change 54c71f9d --reviewer bob --reviewer carol
tjet review show
A review: its state, reviewers and approvals
Usage: tjet review show [OPTIONS] <REVIEW>
Arguments:
<REVIEW> The review id, or a change id (its newest review)
Options:
--repo <REPO> Repository name (needed outside a workspace); before or after the subcommand
-h, --help Print help
Global options:
--server <SERVER> Server base URL. Default: the workspace's server, else the profile's, else https://trunkjet.io (the server `tjet login` signs in to) [env: TJET_SERVER=]
--profile <PROFILE> Named profile of the user configuration (TOML; schema: docs/manual/user-config.md) [env: TJET_PROFILE=]
--timeout <TIMEOUT> Whole-command deadline in seconds. On expiry the command stops; a remote request may already have completed (exit 8 for mutating commands) [env: TJET_TIMEOUT=]
--no-progress Do not write progress to stderr [env: TJET_NO_PROGRESS=]
--token-fd <TOKEN_FD> Read a session or scoped (agent) token from this open file descriptor (never pass a secret as a command-line value)
--token-stdin Read a session or scoped (agent) token from standard input
--workspace <WORKSPACE> Workspace directory (default: search upward from the current directory)
--json Emit exactly one JSON result on stdout
--non-interactive Never prompt; return structured errors instead
--allow-elevated-writes Windows: let this command change workspaces itself although the shell is elevated and UAC is on. Risky: the user's unelevated programs could redirect those writes. Without it an elevated tjet writes only through the unelevated daemon
--request-id <REQUEST_ID> Request identity for this command. Re-running the same command with the same value repeats exactly the same requests, so the server replays outcomes it already recorded instead of executing twice (use it to retry after an unknown outcome, exit 8)
Examples:
tjet review show 54c71f9d
tjet review comment
Comment on a review: a new thread, a reply (`--thread`), or a new thread anchored to lines of one file (`--path` with `--line N` or `--line N-M`, one-based, inclusive)
Usage: tjet review comment [OPTIONS] <REVIEW> <BODY>
Arguments:
<REVIEW> The review id, or a change id (its newest review)
<BODY> The comment text
Options:
--repo <REPO> Repository name (needed outside a workspace); before or after the subcommand
--thread <THREAD> Reply in this thread (its id from `tjet review comments`)
--path <PATH> File the comment is anchored to (requires `--line`)
--line <LINE> One-based line or inclusive range `N-M` of the anchored file (requires `--path`)
--side <SIDE> Which side of the revision's change the lines are on: `after` (the revision's file, default) or `before` (the file in its first parent) [possible values: before, after]
--revision <REVISION> Revision the anchor names (default: the change's current revision)
-h, --help Print help
Global options:
--server <SERVER> Server base URL. Default: the workspace's server, else the profile's, else https://trunkjet.io (the server `tjet login` signs in to) [env: TJET_SERVER=]
--profile <PROFILE> Named profile of the user configuration (TOML; schema: docs/manual/user-config.md) [env: TJET_PROFILE=]
--timeout <TIMEOUT> Whole-command deadline in seconds. On expiry the command stops; a remote request may already have completed (exit 8 for mutating commands) [env: TJET_TIMEOUT=]
--no-progress Do not write progress to stderr [env: TJET_NO_PROGRESS=]
--token-fd <TOKEN_FD> Read a session or scoped (agent) token from this open file descriptor (never pass a secret as a command-line value)
--token-stdin Read a session or scoped (agent) token from standard input
--workspace <WORKSPACE> Workspace directory (default: search upward from the current directory)
--json Emit exactly one JSON result on stdout
--non-interactive Never prompt; return structured errors instead
--allow-elevated-writes Windows: let this command change workspaces itself although the shell is elevated and UAC is on. Risky: the user's unelevated programs could redirect those writes. Without it an elevated tjet writes only through the unelevated daemon
--request-id <REQUEST_ID> Request identity for this command. Re-running the same command with the same value repeats exactly the same requests, so the server replays outcomes it already recorded instead of executing twice (use it to retry after an unknown outcome, exit 8)
Examples:
tjet review comment 54c71f9d "Typo here" --path README.md --line 12
tjet review comment 54c71f9d "Looks good overall"
tjet review comments
Comments of a review. Follows every page by default; with --limit or --cursor prints one page (whole threads) and its `next_cursor`
Usage: tjet review comments [OPTIONS] <REVIEW>
Arguments:
<REVIEW> The review id, or a change id (its newest review)
Options:
--limit <LIMIT> One page of at most this many events (1..=10000); a thread is never split
--repo <REPO> Repository name (needed outside a workspace); before or after the subcommand
--cursor <CURSOR> Continue after a previous page (its `next_cursor`)
-h, --help Print help
Global options:
--server <SERVER> Server base URL. Default: the workspace's server, else the profile's, else https://trunkjet.io (the server `tjet login` signs in to) [env: TJET_SERVER=]
--profile <PROFILE> Named profile of the user configuration (TOML; schema: docs/manual/user-config.md) [env: TJET_PROFILE=]
--timeout <TIMEOUT> Whole-command deadline in seconds. On expiry the command stops; a remote request may already have completed (exit 8 for mutating commands) [env: TJET_TIMEOUT=]
--no-progress Do not write progress to stderr [env: TJET_NO_PROGRESS=]
--token-fd <TOKEN_FD> Read a session or scoped (agent) token from this open file descriptor (never pass a secret as a command-line value)
--token-stdin Read a session or scoped (agent) token from standard input
--workspace <WORKSPACE> Workspace directory (default: search upward from the current directory)
--json Emit exactly one JSON result on stdout
--non-interactive Never prompt; return structured errors instead
--allow-elevated-writes Windows: let this command change workspaces itself although the shell is elevated and UAC is on. Risky: the user's unelevated programs could redirect those writes. Without it an elevated tjet writes only through the unelevated daemon
--request-id <REQUEST_ID> Request identity for this command. Re-running the same command with the same value repeats exactly the same requests, so the server replays outcomes it already recorded instead of executing twice (use it to retry after an unknown outcome, exit 8)
Examples:
tjet review comments 54c71f9d
tjet review approve
Approve the exact current revision and patch digest of a change. Replaces your own earlier request for changes; other reviewers' requests stay
Usage: tjet review approve [OPTIONS] [CHANGE]
Arguments:
[CHANGE] The change (its id, or the id of one of its reviews; default: this workspace's change)
Options:
--change <CHANGE> The same as CHANGE
--repo <REPO> Repository name (needed outside a workspace); before or after the subcommand
-h, --help Print help
Global options:
--server <SERVER> Server base URL. Default: the workspace's server, else the profile's, else https://trunkjet.io (the server `tjet login` signs in to) [env: TJET_SERVER=]
--profile <PROFILE> Named profile of the user configuration (TOML; schema: docs/manual/user-config.md) [env: TJET_PROFILE=]
--timeout <TIMEOUT> Whole-command deadline in seconds. On expiry the command stops; a remote request may already have completed (exit 8 for mutating commands) [env: TJET_TIMEOUT=]
--no-progress Do not write progress to stderr [env: TJET_NO_PROGRESS=]
--token-fd <TOKEN_FD> Read a session or scoped (agent) token from this open file descriptor (never pass a secret as a command-line value)
--token-stdin Read a session or scoped (agent) token from standard input
--workspace <WORKSPACE> Workspace directory (default: search upward from the current directory)
--json Emit exactly one JSON result on stdout
--non-interactive Never prompt; return structured errors instead
--allow-elevated-writes Windows: let this command change workspaces itself although the shell is elevated and UAC is on. Risky: the user's unelevated programs could redirect those writes. Without it an elevated tjet writes only through the unelevated daemon
--request-id <REQUEST_ID> Request identity for this command. Re-running the same command with the same value repeats exactly the same requests, so the server replays outcomes it already recorded instead of executing twice (use it to retry after an unknown outcome, exit 8)
Examples:
tjet review approve 54c71f9d
tjet review revoke
Withdraw your approval of a change
Usage: tjet review revoke [OPTIONS] [CHANGE]
Arguments:
[CHANGE] The change (its id, or the id of one of its reviews; default: this workspace's change)
Options:
--change <CHANGE> The same as CHANGE
--repo <REPO> Repository name (needed outside a workspace); before or after the subcommand
--revision <REVISION> The approved revision (default: the change's current revision)
-h, --help Print help
Global options:
--server <SERVER> Server base URL. Default: the workspace's server, else the profile's, else https://trunkjet.io (the server `tjet login` signs in to) [env: TJET_SERVER=]
--profile <PROFILE> Named profile of the user configuration (TOML; schema: docs/manual/user-config.md) [env: TJET_PROFILE=]
--timeout <TIMEOUT> Whole-command deadline in seconds. On expiry the command stops; a remote request may already have completed (exit 8 for mutating commands) [env: TJET_TIMEOUT=]
--no-progress Do not write progress to stderr [env: TJET_NO_PROGRESS=]
--token-fd <TOKEN_FD> Read a session or scoped (agent) token from this open file descriptor (never pass a secret as a command-line value)
--token-stdin Read a session or scoped (agent) token from standard input
--workspace <WORKSPACE> Workspace directory (default: search upward from the current directory)
--json Emit exactly one JSON result on stdout
--non-interactive Never prompt; return structured errors instead
--allow-elevated-writes Windows: let this command change workspaces itself although the shell is elevated and UAC is on. Risky: the user's unelevated programs could redirect those writes. Without it an elevated tjet writes only through the unelevated daemon
--request-id <REQUEST_ID> Request identity for this command. Re-running the same command with the same value repeats exactly the same requests, so the server replays outcomes it already recorded instead of executing twice (use it to retry after an unknown outcome, exit 8)
Examples:
tjet review revoke 54c71f9d
tjet review request-changes
Ask for changes on a review: the change cannot merge until you approve. Replaces your own approval of the current revision; other reviewers' approvals stay
Usage: tjet review request-changes [OPTIONS] <REVIEW> <BODY>
Arguments:
<REVIEW> The review id, or a change id (its newest review)
<BODY> What should change
Options:
--repo <REPO> Repository name (needed outside a workspace); before or after the subcommand
-h, --help Print help
Global options:
--server <SERVER> Server base URL. Default: the workspace's server, else the profile's, else https://trunkjet.io (the server `tjet login` signs in to) [env: TJET_SERVER=]
--profile <PROFILE> Named profile of the user configuration (TOML; schema: docs/manual/user-config.md) [env: TJET_PROFILE=]
--timeout <TIMEOUT> Whole-command deadline in seconds. On expiry the command stops; a remote request may already have completed (exit 8 for mutating commands) [env: TJET_TIMEOUT=]
--no-progress Do not write progress to stderr [env: TJET_NO_PROGRESS=]
--token-fd <TOKEN_FD> Read a session or scoped (agent) token from this open file descriptor (never pass a secret as a command-line value)
--token-stdin Read a session or scoped (agent) token from standard input
--workspace <WORKSPACE> Workspace directory (default: search upward from the current directory)
--json Emit exactly one JSON result on stdout
--non-interactive Never prompt; return structured errors instead
--allow-elevated-writes Windows: let this command change workspaces itself although the shell is elevated and UAC is on. Risky: the user's unelevated programs could redirect those writes. Without it an elevated tjet writes only through the unelevated daemon
--request-id <REQUEST_ID> Request identity for this command. Re-running the same command with the same value repeats exactly the same requests, so the server replays outcomes it already recorded instead of executing twice (use it to retry after an unknown outcome, exit 8)
Examples:
tjet review request-changes 54c71f9d "Please add a test"
tjet review list
Reviews of the repository (of one change with --change; requested from you with --mine)
Usage: tjet review list [OPTIONS]
Options:
--change <CHANGE> Only the reviews of this change (its id)
--repo <REPO> Repository name (needed outside a workspace); before or after the subcommand
--mine Only reviews requested from you
-h, --help Print help
Global options:
--server <SERVER> Server base URL. Default: the workspace's server, else the profile's, else https://trunkjet.io (the server `tjet login` signs in to) [env: TJET_SERVER=]
--profile <PROFILE> Named profile of the user configuration (TOML; schema: docs/manual/user-config.md) [env: TJET_PROFILE=]
--timeout <TIMEOUT> Whole-command deadline in seconds. On expiry the command stops; a remote request may already have completed (exit 8 for mutating commands) [env: TJET_TIMEOUT=]
--no-progress Do not write progress to stderr [env: TJET_NO_PROGRESS=]
--token-fd <TOKEN_FD> Read a session or scoped (agent) token from this open file descriptor (never pass a secret as a command-line value)
--token-stdin Read a session or scoped (agent) token from standard input
--workspace <WORKSPACE> Workspace directory (default: search upward from the current directory)
--json Emit exactly one JSON result on stdout
--non-interactive Never prompt; return structured errors instead
--allow-elevated-writes Windows: let this command change workspaces itself although the shell is elevated and UAC is on. Risky: the user's unelevated programs could redirect those writes. Without it an elevated tjet writes only through the unelevated daemon
--request-id <REQUEST_ID> Request identity for this command. Re-running the same command with the same value repeats exactly the same requests, so the server replays outcomes it already recorded instead of executing twice (use it to retry after an unknown outcome, exit 8)
Examples:
tjet review list --mine
tjet review request
Ask more reviewers to review
Usage: tjet review request [OPTIONS] --reviewer <REVIEWERS> <REVIEW>
Arguments:
<REVIEW> The review id, or a change id (its newest review)
Options:
--repo <REPO> Repository name (needed outside a workspace); before or after the subcommand
--reviewer <REVIEWERS> Who should review: a user name (repeatable)
-h, --help Print help
Global options:
--server <SERVER> Server base URL. Default: the workspace's server, else the profile's, else https://trunkjet.io (the server `tjet login` signs in to) [env: TJET_SERVER=]
--profile <PROFILE> Named profile of the user configuration (TOML; schema: docs/manual/user-config.md) [env: TJET_PROFILE=]
--timeout <TIMEOUT> Whole-command deadline in seconds. On expiry the command stops; a remote request may already have completed (exit 8 for mutating commands) [env: TJET_TIMEOUT=]
--no-progress Do not write progress to stderr [env: TJET_NO_PROGRESS=]
--token-fd <TOKEN_FD> Read a session or scoped (agent) token from this open file descriptor (never pass a secret as a command-line value)
--token-stdin Read a session or scoped (agent) token from standard input
--workspace <WORKSPACE> Workspace directory (default: search upward from the current directory)
--json Emit exactly one JSON result on stdout
--non-interactive Never prompt; return structured errors instead
--allow-elevated-writes Windows: let this command change workspaces itself although the shell is elevated and UAC is on. Risky: the user's unelevated programs could redirect those writes. Without it an elevated tjet writes only through the unelevated daemon
--request-id <REQUEST_ID> Request identity for this command. Re-running the same command with the same value repeats exactly the same requests, so the server replays outcomes it already recorded instead of executing twice (use it to retry after an unknown outcome, exit 8)
Examples:
tjet review request 54c71f9d --reviewer carol
tjet land
Integrate a change's exact revision into a stream under its policy. Inside the change's own workspace, without `--revision`, it refuses (WORKSPACE_DIRTY) while the workspace is not exactly the revision to land: unsaved or unsynchronized work, an undo/restore since that revision was published (`tjet save --remote` publishes the current state), or a revision published from another workspace, the web UI or the API (`tjet sync --reconcile` adopts it). Lands from elsewhere (another directory, the web UI, the API) cannot see local state
Usage: tjet land [OPTIONS] [CHANGE]
Arguments:
[CHANGE]
The change to land (its id; default: this workspace's change)
Options:
--change <CHANGE>
The change to land (the same as CHANGE)
--revision <REVISION>
Land exactly this revision of the change (default: its current revision)
--stream <STREAM>
The stream to land into
[default: main]
--lock <LOCKS>
Held lockset as LOCKSET:FENCE (repeatable)
--prepare-only
Prepare and report eligibility without publishing
--candidate <CANDIDATE>
Publish this already prepared (and validated) candidate
--queue
Queue the revision on the server, which prepares its candidate on whatever head the stream has when its turn comes and lands concurrent publishers in order (`integration.land`): a moved head is not reported but prepared again. Only for streams without required checks (CHECKS_REQUIRED otherwise)
--queue-wait <QUEUE_WAIT>
With `--queue`: how long to wait for the queued request (seconds). Past it the command ends OUTCOME_UNKNOWN (exit 8) naming the request id and the `--request-id` that retries exactly this land (it lands at most once)
[default: 600]
--repo <REPO>
The repository (its name); needed outside a workspace
-h, --help
Print help (see a summary with '-h')
Global options:
--server <SERVER>
Server base URL. Default: the workspace's server, else the profile's, else https://trunkjet.io (the server `tjet login` signs in to)
[env: TJET_SERVER=]
--profile <PROFILE>
Named profile of the user configuration (TOML; schema: docs/manual/user-config.md)
[env: TJET_PROFILE=]
--timeout <TIMEOUT>
Whole-command deadline in seconds. On expiry the command stops; a remote request may already have completed (exit 8 for mutating commands)
[env: TJET_TIMEOUT=]
--no-progress
Do not write progress to stderr
[env: TJET_NO_PROGRESS=]
--token-fd <TOKEN_FD>
Read a session or scoped (agent) token from this open file descriptor (never pass a secret as a command-line value)
--token-stdin
Read a session or scoped (agent) token from standard input
--workspace <WORKSPACE>
Workspace directory (default: search upward from the current directory)
--json
Emit exactly one JSON result on stdout
--non-interactive
Never prompt; return structured errors instead
--allow-elevated-writes
Windows: let this command change workspaces itself although the shell is elevated and UAC is on. Risky: the user's unelevated programs could redirect those writes. Without it an elevated tjet writes only through the unelevated daemon
--request-id <REQUEST_ID>
Request identity for this command. Re-running the same command with the same value repeats exactly the same requests, so the server replays outcomes it already recorded instead of executing twice (use it to retry after an unknown outcome, exit 8)
Examples:
tjet land # inside the change's workspace
tjet land 54c71f9d
tjet log
First-parent revision log (default: the workspace base, else the newest revision of main)
Usage: tjet log [OPTIONS] [STREAM]
Arguments:
[STREAM]
A stream name (its history) or a revision id: the same as --rev
Options:
--first-parent
Follow first parents only (the log's only mode; accepted for the documented grammar)
--rev <REV>
Start at this revision: a revision id (o1_...) or a stream name (its newest revision)
--stream <STREAM>
The history of this stream (the same as `--rev STREAM`)
--limit <LIMIT>
At most this many rows
[default: 50]
--repo <REPO>
The repository (its name); needed outside a workspace
-h, --help
Print help (see a summary with '-h')
Global options:
--server <SERVER>
Server base URL. Default: the workspace's server, else the profile's, else https://trunkjet.io (the server `tjet login` signs in to)
[env: TJET_SERVER=]
--profile <PROFILE>
Named profile of the user configuration (TOML; schema: docs/manual/user-config.md)
[env: TJET_PROFILE=]
--timeout <TIMEOUT>
Whole-command deadline in seconds. On expiry the command stops; a remote request may already have completed (exit 8 for mutating commands)
[env: TJET_TIMEOUT=]
--no-progress
Do not write progress to stderr
[env: TJET_NO_PROGRESS=]
--token-fd <TOKEN_FD>
Read a session or scoped (agent) token from this open file descriptor (never pass a secret as a command-line value)
--token-stdin
Read a session or scoped (agent) token from standard input
--workspace <WORKSPACE>
Workspace directory (default: search upward from the current directory)
--json
Emit exactly one JSON result on stdout
--non-interactive
Never prompt; return structured errors instead
--allow-elevated-writes
Windows: let this command change workspaces itself although the shell is elevated and UAC is on. Risky: the user's unelevated programs could redirect those writes. Without it an elevated tjet writes only through the unelevated daemon
--request-id <REQUEST_ID>
Request identity for this command. Re-running the same command with the same value repeats exactly the same requests, so the server replays outcomes it already recorded instead of executing twice (use it to retry after an unknown outcome, exit 8)
Examples:
tjet log
tjet log dark-mode
tjet log --repo shop --limit 10
tjet diff
Show changed lines: your unsaved and saved work against the workspace base, or two revisions or streams.
`tjet diff` compares the workspace files with the workspace base (base content that is not local is fetched from the server; offline, NEEDS_CONTENT names it). `tjet diff main...dark-mode` shows what dark-mode changes since it started from main (from their common ancestor to dark-mode), as `git diff main...dark-mode`. `tjet diff --from A --to B` (or `tjet diff A..B`) compares exactly A with B: work that A has and B lacks shows as removed. A and B are revision ids (o1_...) or stream names (their newest revision). `--json` prints the exact answer (hunks as line ranges, no lines).
Usage: tjet diff [OPTIONS] [A...B]
Arguments:
[A...B]
`A...B` (what B changes since it started from A) or `A..B` (exactly A against B)
Options:
--from <FROM>
Older side: a revision id (o1_...) or a stream name
--to <TO>
Newer side: a revision id (o1_...) or a stream name
--change <CHANGE>
What a change changes (its id, the start of it, or a review id): its current version with the line numbers `tjet review comment --line` takes
--paths <PATHS>...
Restrict to these repository path prefixes
[alias: --path]
--repo <REPO>
The repository (its name); needed outside a workspace
-h, --help
Print help (see a summary with '-h')
Global options:
--server <SERVER>
Server base URL. Default: the workspace's server, else the profile's, else https://trunkjet.io (the server `tjet login` signs in to)
[env: TJET_SERVER=]
--profile <PROFILE>
Named profile of the user configuration (TOML; schema: docs/manual/user-config.md)
[env: TJET_PROFILE=]
--timeout <TIMEOUT>
Whole-command deadline in seconds. On expiry the command stops; a remote request may already have completed (exit 8 for mutating commands)
[env: TJET_TIMEOUT=]
--no-progress
Do not write progress to stderr
[env: TJET_NO_PROGRESS=]
--token-fd <TOKEN_FD>
Read a session or scoped (agent) token from this open file descriptor (never pass a secret as a command-line value)
--token-stdin
Read a session or scoped (agent) token from standard input
--workspace <WORKSPACE>
Workspace directory (default: search upward from the current directory)
--json
Emit exactly one JSON result on stdout
--non-interactive
Never prompt; return structured errors instead
--allow-elevated-writes
Windows: let this command change workspaces itself although the shell is elevated and UAC is on. Risky: the user's unelevated programs could redirect those writes. Without it an elevated tjet writes only through the unelevated daemon
--request-id <REQUEST_ID>
Request identity for this command. Re-running the same command with the same value repeats exactly the same requests, so the server replays outcomes it already recorded instead of executing twice (use it to retry after an unknown outcome, exit 8)
Examples:
tjet diff
tjet diff main...dark-mode
tjet diff --change 54c71f9d
tjet snapshot
Materialize a pinned, read-only build snapshot of an exact revision (default: the workspace base, else the main head) and print its path and REAPI root digest
Usage: tjet snapshot [OPTIONS]
Options:
--rev <REV>
A revision id or a stream name (its newest version)
--repo <REPO>
The repository (its name); needed outside a workspace
--verify
Re-hash a reused snapshot against its recorded REAPI digest (rebuilt if damaged)
--upload-cas <URL>
Upload the snapshot's files and directory messages to this REAPI CAS (grpc://HOST:PORT on loopback, e.g. bazel-remote), then confirm none is missing
--cas-instance <CAS_INSTANCE>
REAPI instance name for --upload-cas
[default: ""]
--prune
Only apply the snapshot cache budget (TJET_SNAPSHOT_MAX_BYTES, TJET_SNAPSHOT_MAX_AGE_DAYS) and report what was evicted
-h, --help
Print help (see a summary with '-h')
Global options:
--server <SERVER>
Server base URL. Default: the workspace's server, else the profile's, else https://trunkjet.io (the server `tjet login` signs in to)
[env: TJET_SERVER=]
--profile <PROFILE>
Named profile of the user configuration (TOML; schema: docs/manual/user-config.md)
[env: TJET_PROFILE=]
--timeout <TIMEOUT>
Whole-command deadline in seconds. On expiry the command stops; a remote request may already have completed (exit 8 for mutating commands)
[env: TJET_TIMEOUT=]
--no-progress
Do not write progress to stderr
[env: TJET_NO_PROGRESS=]
--token-fd <TOKEN_FD>
Read a session or scoped (agent) token from this open file descriptor (never pass a secret as a command-line value)
--token-stdin
Read a session or scoped (agent) token from standard input
--workspace <WORKSPACE>
Workspace directory (default: search upward from the current directory)
--json
Emit exactly one JSON result on stdout
--non-interactive
Never prompt; return structured errors instead
--allow-elevated-writes
Windows: let this command change workspaces itself although the shell is elevated and UAC is on. Risky: the user's unelevated programs could redirect those writes. Without it an elevated tjet writes only through the unelevated daemon
--request-id <REQUEST_ID>
Request identity for this command. Re-running the same command with the same value repeats exactly the same requests, so the server replays outcomes it already recorded instead of executing twice (use it to retry after an unknown outcome, exit 8)
Examples:
tjet snapshot
tjet exec
Run COMMAND inside a pinned read-only snapshot of an exact revision. The command runs locally as you; its exit status is returned. Snapshot details go to stderr
Usage: tjet exec [OPTIONS] <COMMAND>...
Arguments:
<COMMAND>...
The command and its arguments (after --)
Options:
--snapshot <REV>
Revision to pin (default: the workspace base, else the main head)
--repo <REPO>
The repository (its name); needed outside a workspace
--verify
Re-hash a reused snapshot before running (rebuilt if damaged)
--isolate
Run the command isolated (Linux, bubblewrap): no network, the snapshot read-only at /src, system directories read-only, empty /tmp, cleared environment
-h, --help
Print help (see a summary with '-h')
Global options:
--server <SERVER>
Server base URL. Default: the workspace's server, else the profile's, else https://trunkjet.io (the server `tjet login` signs in to)
[env: TJET_SERVER=]
--profile <PROFILE>
Named profile of the user configuration (TOML; schema: docs/manual/user-config.md)
[env: TJET_PROFILE=]
--timeout <TIMEOUT>
Whole-command deadline in seconds. On expiry the command stops; a remote request may already have completed (exit 8 for mutating commands)
[env: TJET_TIMEOUT=]
--no-progress
Do not write progress to stderr
[env: TJET_NO_PROGRESS=]
--token-fd <TOKEN_FD>
Read a session or scoped (agent) token from this open file descriptor (never pass a secret as a command-line value)
--token-stdin
Read a session or scoped (agent) token from standard input
--workspace <WORKSPACE>
Workspace directory (default: search upward from the current directory)
--json
Emit exactly one JSON result on stdout
--non-interactive
Never prompt; return structured errors instead
--allow-elevated-writes
Windows: let this command change workspaces itself although the shell is elevated and UAC is on. Risky: the user's unelevated programs could redirect those writes. Without it an elevated tjet writes only through the unelevated daemon
--request-id <REQUEST_ID>
Request identity for this command. Re-running the same command with the same value repeats exactly the same requests, so the server replays outcomes it already recorded instead of executing twice (use it to retry after an unknown outcome, exit 8)
Examples:
tjet exec -- make test
tjet inbox
Your notification inbox (review requests, validation requests, integrations, ...)
Usage: tjet inbox [OPTIONS] <COMMAND>
Commands:
list Notifications, newest first. Pages are followed until `--limit` matching entries were collected (`--all`: every entry); a `next_cursor` in the output means older entries may exist: pass it to `--cursor`
read Mark notifications read
help Print this message or the help of the given subcommand(s)
Options:
-h, --help
Print help (see a summary with '-h')
Global options:
--server <SERVER>
Server base URL. Default: the workspace's server, else the profile's, else https://trunkjet.io (the server `tjet login` signs in to)
[env: TJET_SERVER=]
--profile <PROFILE>
Named profile of the user configuration (TOML; schema: docs/manual/user-config.md)
[env: TJET_PROFILE=]
--timeout <TIMEOUT>
Whole-command deadline in seconds. On expiry the command stops; a remote request may already have completed (exit 8 for mutating commands)
[env: TJET_TIMEOUT=]
--no-progress
Do not write progress to stderr
[env: TJET_NO_PROGRESS=]
--token-fd <TOKEN_FD>
Read a session or scoped (agent) token from this open file descriptor (never pass a secret as a command-line value)
--token-stdin
Read a session or scoped (agent) token from standard input
--workspace <WORKSPACE>
Workspace directory (default: search upward from the current directory)
--json
Emit exactly one JSON result on stdout
--non-interactive
Never prompt; return structured errors instead
--allow-elevated-writes
Windows: let this command change workspaces itself although the shell is elevated and UAC is on. Risky: the user's unelevated programs could redirect those writes. Without it an elevated tjet writes only through the unelevated daemon
--request-id <REQUEST_ID>
Request identity for this command. Re-running the same command with the same value repeats exactly the same requests, so the server replays outcomes it already recorded instead of executing twice (use it to retry after an unknown outcome, exit 8)
tjet inbox list
Notifications, newest first. Pages are followed until `--limit` matching entries were collected (`--all`: every entry); a `next_cursor` in the output means older entries may exist: pass it to `--cursor`
Usage: tjet inbox list [OPTIONS]
Options:
--unread Only unread notifications
--kind <KIND> Only notifications of this kind (e.g. review.requested)
--limit <LIMIT> At most this many entries [default: 100]
--all Every entry, however many pages that takes
--cursor <CURSOR> `next_cursor` from a previous listing
-h, --help Print help
Global options:
--server <SERVER> Server base URL. Default: the workspace's server, else the profile's, else https://trunkjet.io (the server `tjet login` signs in to) [env: TJET_SERVER=]
--profile <PROFILE> Named profile of the user configuration (TOML; schema: docs/manual/user-config.md) [env: TJET_PROFILE=]
--timeout <TIMEOUT> Whole-command deadline in seconds. On expiry the command stops; a remote request may already have completed (exit 8 for mutating commands) [env: TJET_TIMEOUT=]
--no-progress Do not write progress to stderr [env: TJET_NO_PROGRESS=]
--token-fd <TOKEN_FD> Read a session or scoped (agent) token from this open file descriptor (never pass a secret as a command-line value)
--token-stdin Read a session or scoped (agent) token from standard input
--workspace <WORKSPACE> Workspace directory (default: search upward from the current directory)
--json Emit exactly one JSON result on stdout
--non-interactive Never prompt; return structured errors instead
--allow-elevated-writes Windows: let this command change workspaces itself although the shell is elevated and UAC is on. Risky: the user's unelevated programs could redirect those writes. Without it an elevated tjet writes only through the unelevated daemon
--request-id <REQUEST_ID> Request identity for this command. Re-running the same command with the same value repeats exactly the same requests, so the server replays outcomes it already recorded instead of executing twice (use it to retry after an unknown outcome, exit 8)
Examples:
tjet inbox
tjet inbox list --unread
tjet inbox read
Mark notifications read
Usage: tjet inbox read [OPTIONS] [IDS]...
Arguments:
[IDS]... The ids
Options:
-h, --help Print help
Global options:
--server <SERVER> Server base URL. Default: the workspace's server, else the profile's, else https://trunkjet.io (the server `tjet login` signs in to) [env: TJET_SERVER=]
--profile <PROFILE> Named profile of the user configuration (TOML; schema: docs/manual/user-config.md) [env: TJET_PROFILE=]
--timeout <TIMEOUT> Whole-command deadline in seconds. On expiry the command stops; a remote request may already have completed (exit 8 for mutating commands) [env: TJET_TIMEOUT=]
--no-progress Do not write progress to stderr [env: TJET_NO_PROGRESS=]
--token-fd <TOKEN_FD> Read a session or scoped (agent) token from this open file descriptor (never pass a secret as a command-line value)
--token-stdin Read a session or scoped (agent) token from standard input
--workspace <WORKSPACE> Workspace directory (default: search upward from the current directory)
--json Emit exactly one JSON result on stdout
--non-interactive Never prompt; return structured errors instead
--allow-elevated-writes Windows: let this command change workspaces itself although the shell is elevated and UAC is on. Risky: the user's unelevated programs could redirect those writes. Without it an elevated tjet writes only through the unelevated daemon
--request-id <REQUEST_ID> Request identity for this command. Re-running the same command with the same value repeats exactly the same requests, so the server replays outcomes it already recorded instead of executing twice (use it to retry after an unknown outcome, exit 8)
Examples:
tjet inbox read ID
tjet search
Search source text visible to you (literal by default, --regex for RE2-style)
Usage: tjet search [OPTIONS] <QUERY>
Arguments:
<QUERY>
The words to find (literal text; any case unless --case-sensitive)
Options:
--regex
Treat the words as a regular expression (RE2 style)
--case-sensitive
Match upper and lower case exactly
--path <PATH>
Only files whose path matches this pattern (e.g. 'docs/*')
--lang <LANGUAGES>
Only files of this language (repeatable)
--at <AT>
Revision to search (default: main head)
--stale-ok
Accept the newest available index when the requested revision is not indexed yet
--exact
Only an index of exactly the requested revision (the default; INDEX_NOT_READY otherwise)
--limit <LIMIT>
At most this many matches
--cursor <CURSOR>
Continue a listing: the `next_cursor` of the previous one
--repo <REPO>
The repository (its name); needed outside a workspace
-h, --help
Print help (see a summary with '-h')
Global options:
--server <SERVER>
Server base URL. Default: the workspace's server, else the profile's, else https://trunkjet.io (the server `tjet login` signs in to)
[env: TJET_SERVER=]
--profile <PROFILE>
Named profile of the user configuration (TOML; schema: docs/manual/user-config.md)
[env: TJET_PROFILE=]
--timeout <TIMEOUT>
Whole-command deadline in seconds. On expiry the command stops; a remote request may already have completed (exit 8 for mutating commands)
[env: TJET_TIMEOUT=]
--no-progress
Do not write progress to stderr
[env: TJET_NO_PROGRESS=]
--token-fd <TOKEN_FD>
Read a session or scoped (agent) token from this open file descriptor (never pass a secret as a command-line value)
--token-stdin
Read a session or scoped (agent) token from standard input
--workspace <WORKSPACE>
Workspace directory (default: search upward from the current directory)
--json
Emit exactly one JSON result on stdout
--non-interactive
Never prompt; return structured errors instead
--allow-elevated-writes
Windows: let this command change workspaces itself although the shell is elevated and UAC is on. Risky: the user's unelevated programs could redirect those writes. Without it an elevated tjet writes only through the unelevated daemon
--request-id <REQUEST_ID>
Request identity for this command. Re-running the same command with the same value repeats exactly the same requests, so the server replays outcomes it already recorded instead of executing twice (use it to retry after an unknown outcome, exit 8)
Examples:
tjet search sourdough
tjet search "delivery fee" --at dark-mode
tjet merge-base
All maximal common ancestors of two revisions
Usage: tjet merge-base [OPTIONS] <A> <B>
Arguments:
<A>
A revision id (o1_...) or a stream name
<B>
A revision id (o1_...) or a stream name
Options:
--repo <REPO>
The repository (its name); needed outside a workspace
-h, --help
Print help (see a summary with '-h')
Global options:
--server <SERVER>
Server base URL. Default: the workspace's server, else the profile's, else https://trunkjet.io (the server `tjet login` signs in to)
[env: TJET_SERVER=]
--profile <PROFILE>
Named profile of the user configuration (TOML; schema: docs/manual/user-config.md)
[env: TJET_PROFILE=]
--timeout <TIMEOUT>
Whole-command deadline in seconds. On expiry the command stops; a remote request may already have completed (exit 8 for mutating commands)
[env: TJET_TIMEOUT=]
--no-progress
Do not write progress to stderr
[env: TJET_NO_PROGRESS=]
--token-fd <TOKEN_FD>
Read a session or scoped (agent) token from this open file descriptor (never pass a secret as a command-line value)
--token-stdin
Read a session or scoped (agent) token from standard input
--workspace <WORKSPACE>
Workspace directory (default: search upward from the current directory)
--json
Emit exactly one JSON result on stdout
--non-interactive
Never prompt; return structured errors instead
--allow-elevated-writes
Windows: let this command change workspaces itself although the shell is elevated and UAC is on. Risky: the user's unelevated programs could redirect those writes. Without it an elevated tjet writes only through the unelevated daemon
--request-id <REQUEST_ID>
Request identity for this command. Re-running the same command with the same value repeats exactly the same requests, so the server replays outcomes it already recorded instead of executing twice (use it to retry after an unknown outcome, exit 8)
Examples:
tjet merge-base main dark-mode
tjet rebase
Rebase the workspace change onto the stream head (or --onto REV); a stacked change rebases onto its parent change's current revision. Conflicts are kept as a merge state to resolve with `tjet conflict resolve`
Usage: tjet rebase [OPTIONS]
Options:
--onto <ONTO>
A revision or stream to move onto (default: the newest version of the stream)
--unstack
Leave the stack: rebase a stacked change onto --onto or the stream head
--change <CHANGE>
Change to rebase (default: the workspace change)
--repo <REPO>
The repository (its name); needed outside a workspace
-h, --help
Print help (see a summary with '-h')
Global options:
--server <SERVER>
Server base URL. Default: the workspace's server, else the profile's, else https://trunkjet.io (the server `tjet login` signs in to)
[env: TJET_SERVER=]
--profile <PROFILE>
Named profile of the user configuration (TOML; schema: docs/manual/user-config.md)
[env: TJET_PROFILE=]
--timeout <TIMEOUT>
Whole-command deadline in seconds. On expiry the command stops; a remote request may already have completed (exit 8 for mutating commands)
[env: TJET_TIMEOUT=]
--no-progress
Do not write progress to stderr
[env: TJET_NO_PROGRESS=]
--token-fd <TOKEN_FD>
Read a session or scoped (agent) token from this open file descriptor (never pass a secret as a command-line value)
--token-stdin
Read a session or scoped (agent) token from standard input
--workspace <WORKSPACE>
Workspace directory (default: search upward from the current directory)
--json
Emit exactly one JSON result on stdout
--non-interactive
Never prompt; return structured errors instead
--allow-elevated-writes
Windows: let this command change workspaces itself although the shell is elevated and UAC is on. Risky: the user's unelevated programs could redirect those writes. Without it an elevated tjet writes only through the unelevated daemon
--request-id <REQUEST_ID>
Request identity for this command. Re-running the same command with the same value repeats exactly the same requests, so the server replays outcomes it already recorded instead of executing twice (use it to retry after an unknown outcome, exit 8)
Examples:
tjet rebase
tjet stack
Stacked changes: show a stack, rebase it parents first, create a stacked change
Usage: tjet stack [OPTIONS] <COMMAND>
Commands:
show The stack containing a change (default: the workspace change), root first
rebase Rebase the stale stacked changes below a change (default: the workspace change), parents first; stops at the first conflict
new Create a new change stacked on PARENT (based on PARENT's current revision)
help Print this message or the help of the given subcommand(s)
Options:
--repo <REPO>
Repository name (needed outside a workspace); before or after the subcommand
-h, --help
Print help (see a summary with '-h')
Global options:
--server <SERVER>
Server base URL. Default: the workspace's server, else the profile's, else https://trunkjet.io (the server `tjet login` signs in to)
[env: TJET_SERVER=]
--profile <PROFILE>
Named profile of the user configuration (TOML; schema: docs/manual/user-config.md)
[env: TJET_PROFILE=]
--timeout <TIMEOUT>
Whole-command deadline in seconds. On expiry the command stops; a remote request may already have completed (exit 8 for mutating commands)
[env: TJET_TIMEOUT=]
--no-progress
Do not write progress to stderr
[env: TJET_NO_PROGRESS=]
--token-fd <TOKEN_FD>
Read a session or scoped (agent) token from this open file descriptor (never pass a secret as a command-line value)
--token-stdin
Read a session or scoped (agent) token from standard input
--workspace <WORKSPACE>
Workspace directory (default: search upward from the current directory)
--json
Emit exactly one JSON result on stdout
--non-interactive
Never prompt; return structured errors instead
--allow-elevated-writes
Windows: let this command change workspaces itself although the shell is elevated and UAC is on. Risky: the user's unelevated programs could redirect those writes. Without it an elevated tjet writes only through the unelevated daemon
--request-id <REQUEST_ID>
Request identity for this command. Re-running the same command with the same value repeats exactly the same requests, so the server replays outcomes it already recorded instead of executing twice (use it to retry after an unknown outcome, exit 8)
tjet stack show
The stack containing a change (default: the workspace change), root first
Usage: tjet stack show [OPTIONS]
Options:
--change <CHANGE> The change (its id or the first 8 characters; default: this workspace's change)
--repo <REPO> Repository name (needed outside a workspace); before or after the subcommand
-h, --help Print help
Global options:
--server <SERVER> Server base URL. Default: the workspace's server, else the profile's, else https://trunkjet.io (the server `tjet login` signs in to) [env: TJET_SERVER=]
--profile <PROFILE> Named profile of the user configuration (TOML; schema: docs/manual/user-config.md) [env: TJET_PROFILE=]
--timeout <TIMEOUT> Whole-command deadline in seconds. On expiry the command stops; a remote request may already have completed (exit 8 for mutating commands) [env: TJET_TIMEOUT=]
--no-progress Do not write progress to stderr [env: TJET_NO_PROGRESS=]
--token-fd <TOKEN_FD> Read a session or scoped (agent) token from this open file descriptor (never pass a secret as a command-line value)
--token-stdin Read a session or scoped (agent) token from standard input
--workspace <WORKSPACE> Workspace directory (default: search upward from the current directory)
--json Emit exactly one JSON result on stdout
--non-interactive Never prompt; return structured errors instead
--allow-elevated-writes Windows: let this command change workspaces itself although the shell is elevated and UAC is on. Risky: the user's unelevated programs could redirect those writes. Without it an elevated tjet writes only through the unelevated daemon
--request-id <REQUEST_ID> Request identity for this command. Re-running the same command with the same value repeats exactly the same requests, so the server replays outcomes it already recorded instead of executing twice (use it to retry after an unknown outcome, exit 8)
Examples:
tjet stack show
tjet stack rebase
Rebase the stale stacked changes below a change (default: the workspace change), parents first; stops at the first conflict
Usage: tjet stack rebase [OPTIONS]
Options:
--change <CHANGE> The change (its id or the first 8 characters; default: this workspace's change)
--repo <REPO> Repository name (needed outside a workspace); before or after the subcommand
--include-root Also rebase the change itself first (onto its parent, or its stream head)
-h, --help Print help
Global options:
--server <SERVER> Server base URL. Default: the workspace's server, else the profile's, else https://trunkjet.io (the server `tjet login` signs in to) [env: TJET_SERVER=]
--profile <PROFILE> Named profile of the user configuration (TOML; schema: docs/manual/user-config.md) [env: TJET_PROFILE=]
--timeout <TIMEOUT> Whole-command deadline in seconds. On expiry the command stops; a remote request may already have completed (exit 8 for mutating commands) [env: TJET_TIMEOUT=]
--no-progress Do not write progress to stderr [env: TJET_NO_PROGRESS=]
--token-fd <TOKEN_FD> Read a session or scoped (agent) token from this open file descriptor (never pass a secret as a command-line value)
--token-stdin Read a session or scoped (agent) token from standard input
--workspace <WORKSPACE> Workspace directory (default: search upward from the current directory)
--json Emit exactly one JSON result on stdout
--non-interactive Never prompt; return structured errors instead
--allow-elevated-writes Windows: let this command change workspaces itself although the shell is elevated and UAC is on. Risky: the user's unelevated programs could redirect those writes. Without it an elevated tjet writes only through the unelevated daemon
--request-id <REQUEST_ID> Request identity for this command. Re-running the same command with the same value repeats exactly the same requests, so the server replays outcomes it already recorded instead of executing twice (use it to retry after an unknown outcome, exit 8)
Examples:
tjet stack rebase
tjet stack new
Create a new change stacked on PARENT (based on PARENT's current revision)
Usage: tjet stack new [OPTIONS] --on <ON> --title <TITLE>
Options:
--on <ON> The parent change (its id)
--repo <REPO> Repository name (needed outside a workspace); before or after the subcommand
--title <TITLE> The title of the new change
--stream <STREAM> Target stream (default: the parent's)
-h, --help Print help
Global options:
--server <SERVER> Server base URL. Default: the workspace's server, else the profile's, else https://trunkjet.io (the server `tjet login` signs in to) [env: TJET_SERVER=]
--profile <PROFILE> Named profile of the user configuration (TOML; schema: docs/manual/user-config.md) [env: TJET_PROFILE=]
--timeout <TIMEOUT> Whole-command deadline in seconds. On expiry the command stops; a remote request may already have completed (exit 8 for mutating commands) [env: TJET_TIMEOUT=]
--no-progress Do not write progress to stderr [env: TJET_NO_PROGRESS=]
--token-fd <TOKEN_FD> Read a session or scoped (agent) token from this open file descriptor (never pass a secret as a command-line value)
--token-stdin Read a session or scoped (agent) token from standard input
--workspace <WORKSPACE> Workspace directory (default: search upward from the current directory)
--json Emit exactly one JSON result on stdout
--non-interactive Never prompt; return structured errors instead
--allow-elevated-writes Windows: let this command change workspaces itself although the shell is elevated and UAC is on. Risky: the user's unelevated programs could redirect those writes. Without it an elevated tjet writes only through the unelevated daemon
--request-id <REQUEST_ID> Request identity for this command. Re-running the same command with the same value repeats exactly the same requests, so the server replays outcomes it already recorded instead of executing twice (use it to retry after an unknown outcome, exit 8)
Examples:
tjet stack new --on 54c71f9d --title "Second step"
tjet cherry-pick
New change applying the exact patch of REV onto a stream head (default: REV's stream)
Usage: tjet cherry-pick [OPTIONS] <REV>
Arguments:
<REV>
A revision id or a stream name (its newest version)
Options:
--onto <ONTO>
Target stream
--mainline <MAINLINE>
One-based parent of REV the patch is taken against (required for multi-parent REV)
--title <TITLE>
The title of the new change
--repo <REPO>
The repository (its name); needed outside a workspace
--from-repo <FROM_REPO>
REV belongs to this other repository (name or id); its patch is imported
-h, --help
Print help (see a summary with '-h')
Global options:
--server <SERVER>
Server base URL. Default: the workspace's server, else the profile's, else https://trunkjet.io (the server `tjet login` signs in to)
[env: TJET_SERVER=]
--profile <PROFILE>
Named profile of the user configuration (TOML; schema: docs/manual/user-config.md)
[env: TJET_PROFILE=]
--timeout <TIMEOUT>
Whole-command deadline in seconds. On expiry the command stops; a remote request may already have completed (exit 8 for mutating commands)
[env: TJET_TIMEOUT=]
--no-progress
Do not write progress to stderr
[env: TJET_NO_PROGRESS=]
--token-fd <TOKEN_FD>
Read a session or scoped (agent) token from this open file descriptor (never pass a secret as a command-line value)
--token-stdin
Read a session or scoped (agent) token from standard input
--workspace <WORKSPACE>
Workspace directory (default: search upward from the current directory)
--json
Emit exactly one JSON result on stdout
--non-interactive
Never prompt; return structured errors instead
--allow-elevated-writes
Windows: let this command change workspaces itself although the shell is elevated and UAC is on. Risky: the user's unelevated programs could redirect those writes. Without it an elevated tjet writes only through the unelevated daemon
--request-id <REQUEST_ID>
Request identity for this command. Re-running the same command with the same value repeats exactly the same requests, so the server replays outcomes it already recorded instead of executing twice (use it to retry after an unknown outcome, exit 8)
Examples:
tjet cherry-pick 54c71f9d
tjet backport
Cherry-pick REV into another (maintained) stream under that stream's policy
Usage: tjet backport [OPTIONS] --to <TO> <REV>
Arguments:
<REV>
A revision id or a stream name (its newest version)
Options:
--to <TO>
The stream to copy it onto
--mainline <MAINLINE>
For a merge: which parent's side to keep (1 = the stream it was merged into)
--title <TITLE>
The title of the new change
--repo <REPO>
The repository (its name); needed outside a workspace
-h, --help
Print help (see a summary with '-h')
Global options:
--server <SERVER>
Server base URL. Default: the workspace's server, else the profile's, else https://trunkjet.io (the server `tjet login` signs in to)
[env: TJET_SERVER=]
--profile <PROFILE>
Named profile of the user configuration (TOML; schema: docs/manual/user-config.md)
[env: TJET_PROFILE=]
--timeout <TIMEOUT>
Whole-command deadline in seconds. On expiry the command stops; a remote request may already have completed (exit 8 for mutating commands)
[env: TJET_TIMEOUT=]
--no-progress
Do not write progress to stderr
[env: TJET_NO_PROGRESS=]
--token-fd <TOKEN_FD>
Read a session or scoped (agent) token from this open file descriptor (never pass a secret as a command-line value)
--token-stdin
Read a session or scoped (agent) token from standard input
--workspace <WORKSPACE>
Workspace directory (default: search upward from the current directory)
--json
Emit exactly one JSON result on stdout
--non-interactive
Never prompt; return structured errors instead
--allow-elevated-writes
Windows: let this command change workspaces itself although the shell is elevated and UAC is on. Risky: the user's unelevated programs could redirect those writes. Without it an elevated tjet writes only through the unelevated daemon
--request-id <REQUEST_ID>
Request identity for this command. Re-running the same command with the same value repeats exactly the same requests, so the server replays outcomes it already recorded instead of executing twice (use it to retry after an unknown outcome, exit 8)
Examples:
tjet backport 54c71f9d --to release-1.0
tjet revert
Undo a landed revision: creates a change that removes exactly what REV changed (to review and land like any change).
The inverse patch is taken against REV's first parent (or --mainline N for a merge).
Usage: tjet revert [OPTIONS] <REV>
Arguments:
<REV>
The revision to undo: a revision id (o1_...) or a stream name (its newest revision)
Options:
--stream <STREAM>
The stream the change targets (default: REV's stream)
--mainline <MAINLINE>
For a merge: which parent's side to keep (1 = the stream it was merged into)
--title <TITLE>
The title of the new change
--repo <REPO>
The repository (its name); needed outside a workspace
-h, --help
Print help (see a summary with '-h')
Global options:
--server <SERVER>
Server base URL. Default: the workspace's server, else the profile's, else https://trunkjet.io (the server `tjet login` signs in to)
[env: TJET_SERVER=]
--profile <PROFILE>
Named profile of the user configuration (TOML; schema: docs/manual/user-config.md)
[env: TJET_PROFILE=]
--timeout <TIMEOUT>
Whole-command deadline in seconds. On expiry the command stops; a remote request may already have completed (exit 8 for mutating commands)
[env: TJET_TIMEOUT=]
--no-progress
Do not write progress to stderr
[env: TJET_NO_PROGRESS=]
--token-fd <TOKEN_FD>
Read a session or scoped (agent) token from this open file descriptor (never pass a secret as a command-line value)
--token-stdin
Read a session or scoped (agent) token from standard input
--workspace <WORKSPACE>
Workspace directory (default: search upward from the current directory)
--json
Emit exactly one JSON result on stdout
--non-interactive
Never prompt; return structured errors instead
--allow-elevated-writes
Windows: let this command change workspaces itself although the shell is elevated and UAC is on. Risky: the user's unelevated programs could redirect those writes. Without it an elevated tjet writes only through the unelevated daemon
--request-id <REQUEST_ID>
Request identity for this command. Re-running the same command with the same value repeats exactly the same requests, so the server replays outcomes it already recorded instead of executing twice (use it to retry after an unknown outcome, exit 8)
Examples:
tjet revert 54c71f9d
tjet conflict
Merge conflicts of a change and their explicit resolutions
Usage: tjet conflict [OPTIONS] <COMMAND>
Commands:
list Conflicts of a change and their recorded resolutions. Follows every page by default; with --limit or --cursor prints one page and its `next_cursor`
show One conflict with its sides and (for eligible text) a marker materialization
resolve Record the explicit resolution of PATH. Once nothing is unresolved, the resolution revision is prepared and accepted (unless --no-finish)
finish Create the resolution revision after every conflict has a recorded resolution
help Print this message or the help of the given subcommand(s)
Options:
--repo <REPO>
Repository name (needed outside a workspace); before or after the subcommand
-h, --help
Print help (see a summary with '-h')
Global options:
--server <SERVER>
Server base URL. Default: the workspace's server, else the profile's, else https://trunkjet.io (the server `tjet login` signs in to)
[env: TJET_SERVER=]
--profile <PROFILE>
Named profile of the user configuration (TOML; schema: docs/manual/user-config.md)
[env: TJET_PROFILE=]
--timeout <TIMEOUT>
Whole-command deadline in seconds. On expiry the command stops; a remote request may already have completed (exit 8 for mutating commands)
[env: TJET_TIMEOUT=]
--no-progress
Do not write progress to stderr
[env: TJET_NO_PROGRESS=]
--token-fd <TOKEN_FD>
Read a session or scoped (agent) token from this open file descriptor (never pass a secret as a command-line value)
--token-stdin
Read a session or scoped (agent) token from standard input
--workspace <WORKSPACE>
Workspace directory (default: search upward from the current directory)
--json
Emit exactly one JSON result on stdout
--non-interactive
Never prompt; return structured errors instead
--allow-elevated-writes
Windows: let this command change workspaces itself although the shell is elevated and UAC is on. Risky: the user's unelevated programs could redirect those writes. Without it an elevated tjet writes only through the unelevated daemon
--request-id <REQUEST_ID>
Request identity for this command. Re-running the same command with the same value repeats exactly the same requests, so the server replays outcomes it already recorded instead of executing twice (use it to retry after an unknown outcome, exit 8)
tjet conflict list
Conflicts of a change and their recorded resolutions. Follows every page by default; with --limit or --cursor prints one page and its `next_cursor`
Usage: tjet conflict list [OPTIONS]
Options:
--change <CHANGE> The change (its id or the first 8 characters; default: this workspace's change)
--repo <REPO> Repository name (needed outside a workspace); before or after the subcommand
--limit <LIMIT> One page of at most this many conflicts (1..=1024), in path order
--cursor <CURSOR> Continue after a previous page (its `next_cursor`)
-h, --help Print help
Global options:
--server <SERVER> Server base URL. Default: the workspace's server, else the profile's, else https://trunkjet.io (the server `tjet login` signs in to) [env: TJET_SERVER=]
--profile <PROFILE> Named profile of the user configuration (TOML; schema: docs/manual/user-config.md) [env: TJET_PROFILE=]
--timeout <TIMEOUT> Whole-command deadline in seconds. On expiry the command stops; a remote request may already have completed (exit 8 for mutating commands) [env: TJET_TIMEOUT=]
--no-progress Do not write progress to stderr [env: TJET_NO_PROGRESS=]
--token-fd <TOKEN_FD> Read a session or scoped (agent) token from this open file descriptor (never pass a secret as a command-line value)
--token-stdin Read a session or scoped (agent) token from standard input
--workspace <WORKSPACE> Workspace directory (default: search upward from the current directory)
--json Emit exactly one JSON result on stdout
--non-interactive Never prompt; return structured errors instead
--allow-elevated-writes Windows: let this command change workspaces itself although the shell is elevated and UAC is on. Risky: the user's unelevated programs could redirect those writes. Without it an elevated tjet writes only through the unelevated daemon
--request-id <REQUEST_ID> Request identity for this command. Re-running the same command with the same value repeats exactly the same requests, so the server replays outcomes it already recorded instead of executing twice (use it to retry after an unknown outcome, exit 8)
Examples:
tjet conflict list
tjet conflict show
One conflict with its sides and (for eligible text) a marker materialization
Usage: tjet conflict show [OPTIONS] <PATH>
Arguments:
<PATH> A file path in the repository
Options:
--change <CHANGE> The change (its id or the first 8 characters; default: this workspace's change)
--repo <REPO> Repository name (needed outside a workspace); before or after the subcommand
-h, --help Print help
Global options:
--server <SERVER> Server base URL. Default: the workspace's server, else the profile's, else https://trunkjet.io (the server `tjet login` signs in to) [env: TJET_SERVER=]
--profile <PROFILE> Named profile of the user configuration (TOML; schema: docs/manual/user-config.md) [env: TJET_PROFILE=]
--timeout <TIMEOUT> Whole-command deadline in seconds. On expiry the command stops; a remote request may already have completed (exit 8 for mutating commands) [env: TJET_TIMEOUT=]
--no-progress Do not write progress to stderr [env: TJET_NO_PROGRESS=]
--token-fd <TOKEN_FD> Read a session or scoped (agent) token from this open file descriptor (never pass a secret as a command-line value)
--token-stdin Read a session or scoped (agent) token from standard input
--workspace <WORKSPACE> Workspace directory (default: search upward from the current directory)
--json Emit exactly one JSON result on stdout
--non-interactive Never prompt; return structured errors instead
--allow-elevated-writes Windows: let this command change workspaces itself although the shell is elevated and UAC is on. Risky: the user's unelevated programs could redirect those writes. Without it an elevated tjet writes only through the unelevated daemon
--request-id <REQUEST_ID> Request identity for this command. Re-running the same command with the same value repeats exactly the same requests, so the server replays outcomes it already recorded instead of executing twice (use it to retry after an unknown outcome, exit 8)
Examples:
tjet conflict show theme.css
tjet conflict resolve
Record the explicit resolution of PATH. Once nothing is unresolved, the resolution revision is prepared and accepted (unless --no-finish)
Usage: tjet conflict resolve [OPTIONS] <--ours|--theirs|--base|--file <FILE>|--delete|--rename <DEST>> <PATH>
Arguments:
<PATH> A file path in the repository
Options:
--ours Keep the target stream's side
--repo <REPO> Repository name (needed outside a workspace); before or after the subcommand
--theirs Keep the merged stream's side
--base Keep the version both started from
--file <FILE> Replace with the exact bytes of FILE
--delete Resolve by deleting the file
--rename <DEST> Place one side's entry at DEST instead (rename conflicts; see `conflict show` for the related paths)
--side <SIDE> With --rename: whose entry moves there (ours, theirs or base; default theirs)
--executable With --file: mark the result executable
--force With --file: accept a file that still holds conflict marker lines (<<<<<<<, =======, >>>>>>>) or is empty although a side had content
--change <CHANGE> The change (its id or the first 8 characters; default: this workspace's change)
-m, --message <MESSAGE> Message of the resolution revision
--no-finish Do not create the resolution version yet, even when nothing is left
-h, --help Print help
Global options:
--server <SERVER> Server base URL. Default: the workspace's server, else the profile's, else https://trunkjet.io (the server `tjet login` signs in to) [env: TJET_SERVER=]
--profile <PROFILE> Named profile of the user configuration (TOML; schema: docs/manual/user-config.md) [env: TJET_PROFILE=]
--timeout <TIMEOUT> Whole-command deadline in seconds. On expiry the command stops; a remote request may already have completed (exit 8 for mutating commands) [env: TJET_TIMEOUT=]
--no-progress Do not write progress to stderr [env: TJET_NO_PROGRESS=]
--token-fd <TOKEN_FD> Read a session or scoped (agent) token from this open file descriptor (never pass a secret as a command-line value)
--token-stdin Read a session or scoped (agent) token from standard input
--workspace <WORKSPACE> Workspace directory (default: search upward from the current directory)
--json Emit exactly one JSON result on stdout
--non-interactive Never prompt; return structured errors instead
--allow-elevated-writes Windows: let this command change workspaces itself although the shell is elevated and UAC is on. Risky: the user's unelevated programs could redirect those writes. Without it an elevated tjet writes only through the unelevated daemon
--request-id <REQUEST_ID> Request identity for this command. Re-running the same command with the same value repeats exactly the same requests, so the server replays outcomes it already recorded instead of executing twice (use it to retry after an unknown outcome, exit 8)
Examples:
tjet conflict resolve theme.css --file my-theme.css
tjet conflict resolve theme.css --theirs
tjet conflict finish
Create the resolution revision after every conflict has a recorded resolution
Usage: tjet conflict finish [OPTIONS]
Options:
--change <CHANGE> The change (its id or the first 8 characters; default: this workspace's change)
--repo <REPO> Repository name (needed outside a workspace); before or after the subcommand
-m, --message <MESSAGE> The message of the resolution version
-h, --help Print help
Global options:
--server <SERVER> Server base URL. Default: the workspace's server, else the profile's, else https://trunkjet.io (the server `tjet login` signs in to) [env: TJET_SERVER=]
--profile <PROFILE> Named profile of the user configuration (TOML; schema: docs/manual/user-config.md) [env: TJET_PROFILE=]
--timeout <TIMEOUT> Whole-command deadline in seconds. On expiry the command stops; a remote request may already have completed (exit 8 for mutating commands) [env: TJET_TIMEOUT=]
--no-progress Do not write progress to stderr [env: TJET_NO_PROGRESS=]
--token-fd <TOKEN_FD> Read a session or scoped (agent) token from this open file descriptor (never pass a secret as a command-line value)
--token-stdin Read a session or scoped (agent) token from standard input
--workspace <WORKSPACE> Workspace directory (default: search upward from the current directory)
--json Emit exactly one JSON result on stdout
--non-interactive Never prompt; return structured errors instead
--allow-elevated-writes Windows: let this command change workspaces itself although the shell is elevated and UAC is on. Risky: the user's unelevated programs could redirect those writes. Without it an elevated tjet writes only through the unelevated daemon
--request-id <REQUEST_ID> Request identity for this command. Re-running the same command with the same value repeats exactly the same requests, so the server replays outcomes it already recorded instead of executing twice (use it to retry after an unknown outcome, exit 8)
Examples:
tjet conflict finish
tjet agent
Your personal agents (@you/agent), their grants and kill switches; scoped tokens
Usage: tjet agent [OPTIONS] <COMMAND>
Commands:
token Scoped tokens (yourself, or an organisation agent/service as identity administrator)
usage Agent usage of the organisation per team for a month (administrators; never per person), or of one change (`--change`, the people taking part in it)
create Create a personal agent `@you/slug` (it acts only inside grants you give it)
work Issues assigned to agents, their questions and the AI review loop
list Your personal agents
disable Switch one of your agents off: every request of it stops at once
enable Switch one of your agents on again
pause-all Stop every token of every agent of yours; they continue only after a refresh from a grant that is still active
grant Grants: what an agent may do in an organisation on your behalf
switch The organisation's agent switch (identity administrators change it)
enrol Issue a new enrolment secret for one of your agents (printed once; the previous one stops working). Give it to the program that runs the agent: it uses it with `tjet agent connect` to ask you for access
connect Give an agent access. On your own computer, signed in: `tjet agent connect claude --repo acme/shop --for 8h` creates `@you/claude` if needed, shows in this terminal what it may do, where, for how long and what it can never do, asks "Allow? [Y/n]" and writes the agent's token to a file only you can read (never your own sign-in); `--browser` asks on the consent page instead. Without an agent name, for the program that runs an agent elsewhere: asks the owner for access with the enrolment secret (`TJET_AGENT_ENROLMENT` or `--enrolment-file`, never the command line), prints a web address and a code, waits for the approval and prints (or writes to `--out`) the token and refresh secret
help Print this message or the help of the given subcommand(s)
Options:
-h, --help
Print help (see a summary with '-h')
Global options:
--server <SERVER>
Server base URL. Default: the workspace's server, else the profile's, else https://trunkjet.io (the server `tjet login` signs in to)
[env: TJET_SERVER=]
--profile <PROFILE>
Named profile of the user configuration (TOML; schema: docs/manual/user-config.md)
[env: TJET_PROFILE=]
--timeout <TIMEOUT>
Whole-command deadline in seconds. On expiry the command stops; a remote request may already have completed (exit 8 for mutating commands)
[env: TJET_TIMEOUT=]
--no-progress
Do not write progress to stderr
[env: TJET_NO_PROGRESS=]
--token-fd <TOKEN_FD>
Read a session or scoped (agent) token from this open file descriptor (never pass a secret as a command-line value)
--token-stdin
Read a session or scoped (agent) token from standard input
--workspace <WORKSPACE>
Workspace directory (default: search upward from the current directory)
--json
Emit exactly one JSON result on stdout
--non-interactive
Never prompt; return structured errors instead
--allow-elevated-writes
Windows: let this command change workspaces itself although the shell is elevated and UAC is on. Risky: the user's unelevated programs could redirect those writes. Without it an elevated tjet writes only through the unelevated daemon
--request-id <REQUEST_ID>
Request identity for this command. Re-running the same command with the same value repeats exactly the same requests, so the server replays outcomes it already recorded instead of executing twice (use it to retry after an unknown outcome, exit 8)
tjet agent token
Scoped tokens (yourself, or an organisation agent/service as identity administrator)
Usage: tjet agent token [OPTIONS] <COMMAND>
Commands:
create Issue a scoped token; the secret is printed once
list
revoke
help Print this message or the help of the given subcommand(s)
Options:
-h, --help Print help
Global options:
--server <SERVER> Server base URL. Default: the workspace's server, else the profile's, else https://trunkjet.io (the server `tjet login` signs in to) [env: TJET_SERVER=]
--profile <PROFILE> Named profile of the user configuration (TOML; schema: docs/manual/user-config.md) [env: TJET_PROFILE=]
--timeout <TIMEOUT> Whole-command deadline in seconds. On expiry the command stops; a remote request may already have completed (exit 8 for mutating commands) [env: TJET_TIMEOUT=]
--no-progress Do not write progress to stderr [env: TJET_NO_PROGRESS=]
--token-fd <TOKEN_FD> Read a session or scoped (agent) token from this open file descriptor (never pass a secret as a command-line value)
--token-stdin Read a session or scoped (agent) token from standard input
--workspace <WORKSPACE> Workspace directory (default: search upward from the current directory)
--json Emit exactly one JSON result on stdout
--non-interactive Never prompt; return structured errors instead
--allow-elevated-writes Windows: let this command change workspaces itself although the shell is elevated and UAC is on. Risky: the user's unelevated programs could redirect those writes. Without it an elevated tjet writes only through the unelevated daemon
--request-id <REQUEST_ID> Request identity for this command. Re-running the same command with the same value repeats exactly the same requests, so the server replays outcomes it already recorded instead of executing twice (use it to retry after an unknown outcome, exit 8)
tjet agent token create
Issue a scoped token; the secret is printed once
Usage: tjet agent token create [OPTIONS] --repo <REPOS> <NAME>
Arguments:
<NAME> A name for the token
Options:
--repo <REPOS> A repository the token may use (repeatable)
--subject <SUBJECT> Act as this agent/service principal (subject); default: yourself
--path <PATHS> File or folder paths
--cap <CAPS> A capability the token gets (repeatable)
--ttl <TTL> How long the token is valid, in seconds
-h, --help Print help
Global options:
--server <SERVER> Server base URL. Default: the workspace's server, else the profile's, else https://trunkjet.io (the server `tjet login` signs in to) [env: TJET_SERVER=]
--profile <PROFILE> Named profile of the user configuration (TOML; schema: docs/manual/user-config.md) [env: TJET_PROFILE=]
--timeout <TIMEOUT> Whole-command deadline in seconds. On expiry the command stops; a remote request may already have completed (exit 8 for mutating commands) [env: TJET_TIMEOUT=]
--no-progress Do not write progress to stderr [env: TJET_NO_PROGRESS=]
--token-fd <TOKEN_FD> Read a session or scoped (agent) token from this open file descriptor (never pass a secret as a command-line value)
--token-stdin Read a session or scoped (agent) token from standard input
--workspace <WORKSPACE> Workspace directory (default: search upward from the current directory)
--json Emit exactly one JSON result on stdout
--non-interactive Never prompt; return structured errors instead
--allow-elevated-writes Windows: let this command change workspaces itself although the shell is elevated and UAC is on. Risky: the user's unelevated programs could redirect those writes. Without it an elevated tjet writes only through the unelevated daemon
--request-id <REQUEST_ID> Request identity for this command. Re-running the same command with the same value repeats exactly the same requests, so the server replays outcomes it already recorded instead of executing twice (use it to retry after an unknown outcome, exit 8)
Examples:
tjet agent token create build-bot --repo shop
tjet agent token list
Usage: tjet agent token list [OPTIONS]
Options:
-h, --help Print help
Global options:
--server <SERVER> Server base URL. Default: the workspace's server, else the profile's, else https://trunkjet.io (the server `tjet login` signs in to) [env: TJET_SERVER=]
--profile <PROFILE> Named profile of the user configuration (TOML; schema: docs/manual/user-config.md) [env: TJET_PROFILE=]
--timeout <TIMEOUT> Whole-command deadline in seconds. On expiry the command stops; a remote request may already have completed (exit 8 for mutating commands) [env: TJET_TIMEOUT=]
--no-progress Do not write progress to stderr [env: TJET_NO_PROGRESS=]
--token-fd <TOKEN_FD> Read a session or scoped (agent) token from this open file descriptor (never pass a secret as a command-line value)
--token-stdin Read a session or scoped (agent) token from standard input
--workspace <WORKSPACE> Workspace directory (default: search upward from the current directory)
--json Emit exactly one JSON result on stdout
--non-interactive Never prompt; return structured errors instead
--allow-elevated-writes Windows: let this command change workspaces itself although the shell is elevated and UAC is on. Risky: the user's unelevated programs could redirect those writes. Without it an elevated tjet writes only through the unelevated daemon
--request-id <REQUEST_ID> Request identity for this command. Re-running the same command with the same value repeats exactly the same requests, so the server replays outcomes it already recorded instead of executing twice (use it to retry after an unknown outcome, exit 8)
Examples:
tjet agent token list
tjet agent token revoke
Usage: tjet agent token revoke [OPTIONS] <TOKEN_ID>
Arguments:
<TOKEN_ID> The token id (from `tjet agent token list`)
Options:
-h, --help Print help
Global options:
--server <SERVER> Server base URL. Default: the workspace's server, else the profile's, else https://trunkjet.io (the server `tjet login` signs in to) [env: TJET_SERVER=]
--profile <PROFILE> Named profile of the user configuration (TOML; schema: docs/manual/user-config.md) [env: TJET_PROFILE=]
--timeout <TIMEOUT> Whole-command deadline in seconds. On expiry the command stops; a remote request may already have completed (exit 8 for mutating commands) [env: TJET_TIMEOUT=]
--no-progress Do not write progress to stderr [env: TJET_NO_PROGRESS=]
--token-fd <TOKEN_FD> Read a session or scoped (agent) token from this open file descriptor (never pass a secret as a command-line value)
--token-stdin Read a session or scoped (agent) token from standard input
--workspace <WORKSPACE> Workspace directory (default: search upward from the current directory)
--json Emit exactly one JSON result on stdout
--non-interactive Never prompt; return structured errors instead
--allow-elevated-writes Windows: let this command change workspaces itself although the shell is elevated and UAC is on. Risky: the user's unelevated programs could redirect those writes. Without it an elevated tjet writes only through the unelevated daemon
--request-id <REQUEST_ID> Request identity for this command. Re-running the same command with the same value repeats exactly the same requests, so the server replays outcomes it already recorded instead of executing twice (use it to retry after an unknown outcome, exit 8)
Examples:
tjet agent token revoke TOKEN_ID
tjet agent usage
Agent usage of the organisation per team for a month (administrators; never per person), or of one change (`--change`, the people taking part in it)
Usage: tjet agent usage [OPTIONS]
Options:
--month <MONTH> `YYYY-MM` (UTC); default: this month
--repo <REPO> The repository of `--change`
--change <CHANGE> A change id: that change's agent usage instead of the organisation report
--org <ORG> The organisation to act in (`@handle`); default: your session's organisation
-h, --help Print help
Global options:
--server <SERVER> Server base URL. Default: the workspace's server, else the profile's, else https://trunkjet.io (the server `tjet login` signs in to) [env: TJET_SERVER=]
--profile <PROFILE> Named profile of the user configuration (TOML; schema: docs/manual/user-config.md) [env: TJET_PROFILE=]
--timeout <TIMEOUT> Whole-command deadline in seconds. On expiry the command stops; a remote request may already have completed (exit 8 for mutating commands) [env: TJET_TIMEOUT=]
--no-progress Do not write progress to stderr [env: TJET_NO_PROGRESS=]
--token-fd <TOKEN_FD> Read a session or scoped (agent) token from this open file descriptor (never pass a secret as a command-line value)
--token-stdin Read a session or scoped (agent) token from standard input
--workspace <WORKSPACE> Workspace directory (default: search upward from the current directory)
--json Emit exactly one JSON result on stdout
--non-interactive Never prompt; return structured errors instead
--allow-elevated-writes Windows: let this command change workspaces itself although the shell is elevated and UAC is on. Risky: the user's unelevated programs could redirect those writes. Without it an elevated tjet writes only through the unelevated daemon
--request-id <REQUEST_ID> Request identity for this command. Re-running the same command with the same value repeats exactly the same requests, so the server replays outcomes it already recorded instead of executing twice (use it to retry after an unknown outcome, exit 8)
Examples:
tjet agent usage --month 2026-10
tjet agent create
Create a personal agent `@you/slug` (it acts only inside grants you give it)
Usage: tjet agent create [OPTIONS] <SLUG>
Arguments:
<SLUG> The agent's slug: it is addressed as `@you/slug`
Options:
--name <NAME> Display name (default: the slug)
--model <MODEL> Declared model/provider family (unverified)
--system A system agent of your organisation (`@org/slug`, for example the AI reviewer); identity administrators only
-h, --help Print help
Global options:
--server <SERVER> Server base URL. Default: the workspace's server, else the profile's, else https://trunkjet.io (the server `tjet login` signs in to) [env: TJET_SERVER=]
--profile <PROFILE> Named profile of the user configuration (TOML; schema: docs/manual/user-config.md) [env: TJET_PROFILE=]
--timeout <TIMEOUT> Whole-command deadline in seconds. On expiry the command stops; a remote request may already have completed (exit 8 for mutating commands) [env: TJET_TIMEOUT=]
--no-progress Do not write progress to stderr [env: TJET_NO_PROGRESS=]
--token-fd <TOKEN_FD> Read a session or scoped (agent) token from this open file descriptor (never pass a secret as a command-line value)
--token-stdin Read a session or scoped (agent) token from standard input
--workspace <WORKSPACE> Workspace directory (default: search upward from the current directory)
--json Emit exactly one JSON result on stdout
--non-interactive Never prompt; return structured errors instead
--allow-elevated-writes Windows: let this command change workspaces itself although the shell is elevated and UAC is on. Risky: the user's unelevated programs could redirect those writes. Without it an elevated tjet writes only through the unelevated daemon
--request-id <REQUEST_ID> Request identity for this command. Re-running the same command with the same value repeats exactly the same requests, so the server replays outcomes it already recorded instead of executing twice (use it to retry after an unknown outcome, exit 8)
Examples:
tjet agent create claude --name "Claude Code"
tjet agent work
Issues assigned to agents, their questions and the AI review loop
Usage: tjet agent work [OPTIONS] <COMMAND>
Commands:
assign Assign an issue to an agent: one of yours (`@you/slug`) or the organisation's (`@org/slug`, needs triage rights)
candidates The agents you can assign issues of this repository to
show An issue's agent work: state, draft, review round, questions
cancel Stop the agent's work on an issue (open questions are dismissed)
answer Answer a question an agent asked you (`-` reads the answer from standard input)
waiting Questions agents are waiting for you to answer
inbox As an agent: your open work (issues to work on, drafts to review)
link As the working agent: link the draft change you opened to the issue
ask As the working agent: ask the person you work for
submit As the working agent: hand your draft on to (AI) review
verdict As the AI reviewer: your advisory verdict (APPROVE_FOR_HUMAN or CHANGES_SUGGESTED)
reviewers The organisation's AI reviewers (identity administrators change them with --set)
help Print this message or the help of the given subcommand(s)
Options:
--repo <REPO> Repository name (default: this workspace's)
-h, --help Print help
Global options:
--server <SERVER> Server base URL. Default: the workspace's server, else the profile's, else https://trunkjet.io (the server `tjet login` signs in to) [env: TJET_SERVER=]
--profile <PROFILE> Named profile of the user configuration (TOML; schema: docs/manual/user-config.md) [env: TJET_PROFILE=]
--timeout <TIMEOUT> Whole-command deadline in seconds. On expiry the command stops; a remote request may already have completed (exit 8 for mutating commands) [env: TJET_TIMEOUT=]
--no-progress Do not write progress to stderr [env: TJET_NO_PROGRESS=]
--token-fd <TOKEN_FD> Read a session or scoped (agent) token from this open file descriptor (never pass a secret as a command-line value)
--token-stdin Read a session or scoped (agent) token from standard input
--workspace <WORKSPACE> Workspace directory (default: search upward from the current directory)
--json Emit exactly one JSON result on stdout
--non-interactive Never prompt; return structured errors instead
--allow-elevated-writes Windows: let this command change workspaces itself although the shell is elevated and UAC is on. Risky: the user's unelevated programs could redirect those writes. Without it an elevated tjet writes only through the unelevated daemon
--request-id <REQUEST_ID> Request identity for this command. Re-running the same command with the same value repeats exactly the same requests, so the server replays outcomes it already recorded instead of executing twice (use it to retry after an unknown outcome, exit 8)
tjet agent work assign
Assign an issue to an agent: one of yours (`@you/slug`) or the organisation's (`@org/slug`, needs triage rights)
Usage: tjet agent work assign [OPTIONS] <ISSUE> <AGENT>
Arguments:
<ISSUE> The issue number
<AGENT> `@you/slug`, `@org/slug` or the agent's id
Options:
-h, --help Print help
Global options:
--server <SERVER> Server base URL. Default: the workspace's server, else the profile's, else https://trunkjet.io (the server `tjet login` signs in to) [env: TJET_SERVER=]
--profile <PROFILE> Named profile of the user configuration (TOML; schema: docs/manual/user-config.md) [env: TJET_PROFILE=]
--timeout <TIMEOUT> Whole-command deadline in seconds. On expiry the command stops; a remote request may already have completed (exit 8 for mutating commands) [env: TJET_TIMEOUT=]
--no-progress Do not write progress to stderr [env: TJET_NO_PROGRESS=]
--token-fd <TOKEN_FD> Read a session or scoped (agent) token from this open file descriptor (never pass a secret as a command-line value)
--token-stdin Read a session or scoped (agent) token from standard input
--workspace <WORKSPACE> Workspace directory (default: search upward from the current directory)
--json Emit exactly one JSON result on stdout
--non-interactive Never prompt; return structured errors instead
--allow-elevated-writes Windows: let this command change workspaces itself although the shell is elevated and UAC is on. Risky: the user's unelevated programs could redirect those writes. Without it an elevated tjet writes only through the unelevated daemon
--request-id <REQUEST_ID> Request identity for this command. Re-running the same command with the same value repeats exactly the same requests, so the server replays outcomes it already recorded instead of executing twice (use it to retry after an unknown outcome, exit 8)
Examples:
tjet agent work assign 12 claude
tjet agent work assign 12 @acme/coder
tjet agent work candidates
The agents you can assign issues of this repository to
Usage: tjet agent work candidates [OPTIONS]
Options:
-h, --help Print help
Global options:
--server <SERVER> Server base URL. Default: the workspace's server, else the profile's, else https://trunkjet.io (the server `tjet login` signs in to) [env: TJET_SERVER=]
--profile <PROFILE> Named profile of the user configuration (TOML; schema: docs/manual/user-config.md) [env: TJET_PROFILE=]
--timeout <TIMEOUT> Whole-command deadline in seconds. On expiry the command stops; a remote request may already have completed (exit 8 for mutating commands) [env: TJET_TIMEOUT=]
--no-progress Do not write progress to stderr [env: TJET_NO_PROGRESS=]
--token-fd <TOKEN_FD> Read a session or scoped (agent) token from this open file descriptor (never pass a secret as a command-line value)
--token-stdin Read a session or scoped (agent) token from standard input
--workspace <WORKSPACE> Workspace directory (default: search upward from the current directory)
--json Emit exactly one JSON result on stdout
--non-interactive Never prompt; return structured errors instead
--allow-elevated-writes Windows: let this command change workspaces itself although the shell is elevated and UAC is on. Risky: the user's unelevated programs could redirect those writes. Without it an elevated tjet writes only through the unelevated daemon
--request-id <REQUEST_ID> Request identity for this command. Re-running the same command with the same value repeats exactly the same requests, so the server replays outcomes it already recorded instead of executing twice (use it to retry after an unknown outcome, exit 8)
Examples:
tjet agent work candidates --repo shop
tjet agent work show
An issue's agent work: state, draft, review round, questions
Usage: tjet agent work show [OPTIONS] <ISSUE>
Arguments:
<ISSUE> The issue number
Options:
-h, --help Print help
Global options:
--server <SERVER> Server base URL. Default: the workspace's server, else the profile's, else https://trunkjet.io (the server `tjet login` signs in to) [env: TJET_SERVER=]
--profile <PROFILE> Named profile of the user configuration (TOML; schema: docs/manual/user-config.md) [env: TJET_PROFILE=]
--timeout <TIMEOUT> Whole-command deadline in seconds. On expiry the command stops; a remote request may already have completed (exit 8 for mutating commands) [env: TJET_TIMEOUT=]
--no-progress Do not write progress to stderr [env: TJET_NO_PROGRESS=]
--token-fd <TOKEN_FD> Read a session or scoped (agent) token from this open file descriptor (never pass a secret as a command-line value)
--token-stdin Read a session or scoped (agent) token from standard input
--workspace <WORKSPACE> Workspace directory (default: search upward from the current directory)
--json Emit exactly one JSON result on stdout
--non-interactive Never prompt; return structured errors instead
--allow-elevated-writes Windows: let this command change workspaces itself although the shell is elevated and UAC is on. Risky: the user's unelevated programs could redirect those writes. Without it an elevated tjet writes only through the unelevated daemon
--request-id <REQUEST_ID> Request identity for this command. Re-running the same command with the same value repeats exactly the same requests, so the server replays outcomes it already recorded instead of executing twice (use it to retry after an unknown outcome, exit 8)
Examples:
tjet agent work show 12
tjet agent work cancel
Stop the agent's work on an issue (open questions are dismissed)
Usage: tjet agent work cancel [OPTIONS] <ISSUE>
Arguments:
<ISSUE> The issue number
Options:
-h, --help Print help
Global options:
--server <SERVER> Server base URL. Default: the workspace's server, else the profile's, else https://trunkjet.io (the server `tjet login` signs in to) [env: TJET_SERVER=]
--profile <PROFILE> Named profile of the user configuration (TOML; schema: docs/manual/user-config.md) [env: TJET_PROFILE=]
--timeout <TIMEOUT> Whole-command deadline in seconds. On expiry the command stops; a remote request may already have completed (exit 8 for mutating commands) [env: TJET_TIMEOUT=]
--no-progress Do not write progress to stderr [env: TJET_NO_PROGRESS=]
--token-fd <TOKEN_FD> Read a session or scoped (agent) token from this open file descriptor (never pass a secret as a command-line value)
--token-stdin Read a session or scoped (agent) token from standard input
--workspace <WORKSPACE> Workspace directory (default: search upward from the current directory)
--json Emit exactly one JSON result on stdout
--non-interactive Never prompt; return structured errors instead
--allow-elevated-writes Windows: let this command change workspaces itself although the shell is elevated and UAC is on. Risky: the user's unelevated programs could redirect those writes. Without it an elevated tjet writes only through the unelevated daemon
--request-id <REQUEST_ID> Request identity for this command. Re-running the same command with the same value repeats exactly the same requests, so the server replays outcomes it already recorded instead of executing twice (use it to retry after an unknown outcome, exit 8)
Examples:
tjet agent work cancel 12
tjet agent work answer
Answer a question an agent asked you (`-` reads the answer from standard input)
Usage: tjet agent work answer [OPTIONS] <ISSUE> <QUESTION> [TEXT]
Arguments:
<ISSUE> The issue number
<QUESTION> The question id (from `tjet agent work waiting`)
[TEXT] Your answer (`-` reads standard input)
Options:
--dismiss Dismiss the question instead of answering it
-h, --help Print help
Global options:
--server <SERVER> Server base URL. Default: the workspace's server, else the profile's, else https://trunkjet.io (the server `tjet login` signs in to) [env: TJET_SERVER=]
--profile <PROFILE> Named profile of the user configuration (TOML; schema: docs/manual/user-config.md) [env: TJET_PROFILE=]
--timeout <TIMEOUT> Whole-command deadline in seconds. On expiry the command stops; a remote request may already have completed (exit 8 for mutating commands) [env: TJET_TIMEOUT=]
--no-progress Do not write progress to stderr [env: TJET_NO_PROGRESS=]
--token-fd <TOKEN_FD> Read a session or scoped (agent) token from this open file descriptor (never pass a secret as a command-line value)
--token-stdin Read a session or scoped (agent) token from standard input
--workspace <WORKSPACE> Workspace directory (default: search upward from the current directory)
--json Emit exactly one JSON result on stdout
--non-interactive Never prompt; return structured errors instead
--allow-elevated-writes Windows: let this command change workspaces itself although the shell is elevated and UAC is on. Risky: the user's unelevated programs could redirect those writes. Without it an elevated tjet writes only through the unelevated daemon
--request-id <REQUEST_ID> Request identity for this command. Re-running the same command with the same value repeats exactly the same requests, so the server replays outcomes it already recorded instead of executing twice (use it to retry after an unknown outcome, exit 8)
Examples:
tjet agent work answer 12 QUESTION_ID "Yes, the last ten."
tjet agent work answer 12 QUESTION_ID --dismiss
tjet agent work waiting
Questions agents are waiting for you to answer
Usage: tjet agent work waiting [OPTIONS]
Options:
-h, --help Print help
Global options:
--server <SERVER> Server base URL. Default: the workspace's server, else the profile's, else https://trunkjet.io (the server `tjet login` signs in to) [env: TJET_SERVER=]
--profile <PROFILE> Named profile of the user configuration (TOML; schema: docs/manual/user-config.md) [env: TJET_PROFILE=]
--timeout <TIMEOUT> Whole-command deadline in seconds. On expiry the command stops; a remote request may already have completed (exit 8 for mutating commands) [env: TJET_TIMEOUT=]
--no-progress Do not write progress to stderr [env: TJET_NO_PROGRESS=]
--token-fd <TOKEN_FD> Read a session or scoped (agent) token from this open file descriptor (never pass a secret as a command-line value)
--token-stdin Read a session or scoped (agent) token from standard input
--workspace <WORKSPACE> Workspace directory (default: search upward from the current directory)
--json Emit exactly one JSON result on stdout
--non-interactive Never prompt; return structured errors instead
--allow-elevated-writes Windows: let this command change workspaces itself although the shell is elevated and UAC is on. Risky: the user's unelevated programs could redirect those writes. Without it an elevated tjet writes only through the unelevated daemon
--request-id <REQUEST_ID> Request identity for this command. Re-running the same command with the same value repeats exactly the same requests, so the server replays outcomes it already recorded instead of executing twice (use it to retry after an unknown outcome, exit 8)
Examples:
tjet agent work waiting
tjet agent work inbox
As an agent: your open work (issues to work on, drafts to review)
Usage: tjet agent work inbox [OPTIONS]
Options:
-h, --help Print help
Global options:
--server <SERVER> Server base URL. Default: the workspace's server, else the profile's, else https://trunkjet.io (the server `tjet login` signs in to) [env: TJET_SERVER=]
--profile <PROFILE> Named profile of the user configuration (TOML; schema: docs/manual/user-config.md) [env: TJET_PROFILE=]
--timeout <TIMEOUT> Whole-command deadline in seconds. On expiry the command stops; a remote request may already have completed (exit 8 for mutating commands) [env: TJET_TIMEOUT=]
--no-progress Do not write progress to stderr [env: TJET_NO_PROGRESS=]
--token-fd <TOKEN_FD> Read a session or scoped (agent) token from this open file descriptor (never pass a secret as a command-line value)
--token-stdin Read a session or scoped (agent) token from standard input
--workspace <WORKSPACE> Workspace directory (default: search upward from the current directory)
--json Emit exactly one JSON result on stdout
--non-interactive Never prompt; return structured errors instead
--allow-elevated-writes Windows: let this command change workspaces itself although the shell is elevated and UAC is on. Risky: the user's unelevated programs could redirect those writes. Without it an elevated tjet writes only through the unelevated daemon
--request-id <REQUEST_ID> Request identity for this command. Re-running the same command with the same value repeats exactly the same requests, so the server replays outcomes it already recorded instead of executing twice (use it to retry after an unknown outcome, exit 8)
Examples:
tjet agent work inbox
tjet agent work link
As the working agent: link the draft change you opened to the issue
Usage: tjet agent work link [OPTIONS] <ISSUE> <CHANGE>
Arguments:
<ISSUE> The issue number
<CHANGE> The change (its id or the first 8 characters; default: this workspace's change)
Options:
-h, --help Print help
Global options:
--server <SERVER> Server base URL. Default: the workspace's server, else the profile's, else https://trunkjet.io (the server `tjet login` signs in to) [env: TJET_SERVER=]
--profile <PROFILE> Named profile of the user configuration (TOML; schema: docs/manual/user-config.md) [env: TJET_PROFILE=]
--timeout <TIMEOUT> Whole-command deadline in seconds. On expiry the command stops; a remote request may already have completed (exit 8 for mutating commands) [env: TJET_TIMEOUT=]
--no-progress Do not write progress to stderr [env: TJET_NO_PROGRESS=]
--token-fd <TOKEN_FD> Read a session or scoped (agent) token from this open file descriptor (never pass a secret as a command-line value)
--token-stdin Read a session or scoped (agent) token from standard input
--workspace <WORKSPACE> Workspace directory (default: search upward from the current directory)
--json Emit exactly one JSON result on stdout
--non-interactive Never prompt; return structured errors instead
--allow-elevated-writes Windows: let this command change workspaces itself although the shell is elevated and UAC is on. Risky: the user's unelevated programs could redirect those writes. Without it an elevated tjet writes only through the unelevated daemon
--request-id <REQUEST_ID> Request identity for this command. Re-running the same command with the same value repeats exactly the same requests, so the server replays outcomes it already recorded instead of executing twice (use it to retry after an unknown outcome, exit 8)
Examples:
tjet agent work link 12 CHANGE_ID
tjet agent work ask
As the working agent: ask the person you work for
Usage: tjet agent work ask [OPTIONS] <ISSUE> <TEXT>
Arguments:
<ISSUE> The issue number
<TEXT> The question
Options:
-h, --help Print help
Global options:
--server <SERVER> Server base URL. Default: the workspace's server, else the profile's, else https://trunkjet.io (the server `tjet login` signs in to) [env: TJET_SERVER=]
--profile <PROFILE> Named profile of the user configuration (TOML; schema: docs/manual/user-config.md) [env: TJET_PROFILE=]
--timeout <TIMEOUT> Whole-command deadline in seconds. On expiry the command stops; a remote request may already have completed (exit 8 for mutating commands) [env: TJET_TIMEOUT=]
--no-progress Do not write progress to stderr [env: TJET_NO_PROGRESS=]
--token-fd <TOKEN_FD> Read a session or scoped (agent) token from this open file descriptor (never pass a secret as a command-line value)
--token-stdin Read a session or scoped (agent) token from standard input
--workspace <WORKSPACE> Workspace directory (default: search upward from the current directory)
--json Emit exactly one JSON result on stdout
--non-interactive Never prompt; return structured errors instead
--allow-elevated-writes Windows: let this command change workspaces itself although the shell is elevated and UAC is on. Risky: the user's unelevated programs could redirect those writes. Without it an elevated tjet writes only through the unelevated daemon
--request-id <REQUEST_ID> Request identity for this command. Re-running the same command with the same value repeats exactly the same requests, so the server replays outcomes it already recorded instead of executing twice (use it to retry after an unknown outcome, exit 8)
Examples:
tjet agent work ask 12 "Should empty queries show recent items?"
tjet agent work submit
As the working agent: hand your draft on to (AI) review
Usage: tjet agent work submit [OPTIONS] <ISSUE>
Arguments:
<ISSUE> The issue number
Options:
-h, --help Print help
Global options:
--server <SERVER> Server base URL. Default: the workspace's server, else the profile's, else https://trunkjet.io (the server `tjet login` signs in to) [env: TJET_SERVER=]
--profile <PROFILE> Named profile of the user configuration (TOML; schema: docs/manual/user-config.md) [env: TJET_PROFILE=]
--timeout <TIMEOUT> Whole-command deadline in seconds. On expiry the command stops; a remote request may already have completed (exit 8 for mutating commands) [env: TJET_TIMEOUT=]
--no-progress Do not write progress to stderr [env: TJET_NO_PROGRESS=]
--token-fd <TOKEN_FD> Read a session or scoped (agent) token from this open file descriptor (never pass a secret as a command-line value)
--token-stdin Read a session or scoped (agent) token from standard input
--workspace <WORKSPACE> Workspace directory (default: search upward from the current directory)
--json Emit exactly one JSON result on stdout
--non-interactive Never prompt; return structured errors instead
--allow-elevated-writes Windows: let this command change workspaces itself although the shell is elevated and UAC is on. Risky: the user's unelevated programs could redirect those writes. Without it an elevated tjet writes only through the unelevated daemon
--request-id <REQUEST_ID> Request identity for this command. Re-running the same command with the same value repeats exactly the same requests, so the server replays outcomes it already recorded instead of executing twice (use it to retry after an unknown outcome, exit 8)
Examples:
tjet agent work submit 12
tjet agent work verdict
As the AI reviewer: your advisory verdict (APPROVE_FOR_HUMAN or CHANGES_SUGGESTED)
Usage: tjet agent work verdict [OPTIONS] <ISSUE> <VERDICT>
Arguments:
<ISSUE> The issue number
<VERDICT> APPROVE_FOR_HUMAN or CHANGES_SUGGESTED (advisory only)
Options:
-h, --help Print help
Global options:
--server <SERVER> Server base URL. Default: the workspace's server, else the profile's, else https://trunkjet.io (the server `tjet login` signs in to) [env: TJET_SERVER=]
--profile <PROFILE> Named profile of the user configuration (TOML; schema: docs/manual/user-config.md) [env: TJET_PROFILE=]
--timeout <TIMEOUT> Whole-command deadline in seconds. On expiry the command stops; a remote request may already have completed (exit 8 for mutating commands) [env: TJET_TIMEOUT=]
--no-progress Do not write progress to stderr [env: TJET_NO_PROGRESS=]
--token-fd <TOKEN_FD> Read a session or scoped (agent) token from this open file descriptor (never pass a secret as a command-line value)
--token-stdin Read a session or scoped (agent) token from standard input
--workspace <WORKSPACE> Workspace directory (default: search upward from the current directory)
--json Emit exactly one JSON result on stdout
--non-interactive Never prompt; return structured errors instead
--allow-elevated-writes Windows: let this command change workspaces itself although the shell is elevated and UAC is on. Risky: the user's unelevated programs could redirect those writes. Without it an elevated tjet writes only through the unelevated daemon
--request-id <REQUEST_ID> Request identity for this command. Re-running the same command with the same value repeats exactly the same requests, so the server replays outcomes it already recorded instead of executing twice (use it to retry after an unknown outcome, exit 8)
Examples:
tjet agent work verdict 12 CHANGES_SUGGESTED
tjet agent work reviewers
The organisation's AI reviewers (identity administrators change them with --set)
Usage: tjet agent work reviewers [OPTIONS]
Options:
--set <SET> A system agent (`@org/slug`); repeatable; replaces the list
--rounds <ROUNDS> The round limit (1..=20, default 5) when setting
--distinct-family Require a reviewer with a declared model family different from the author's
-h, --help Print help
Global options:
--server <SERVER> Server base URL. Default: the workspace's server, else the profile's, else https://trunkjet.io (the server `tjet login` signs in to) [env: TJET_SERVER=]
--profile <PROFILE> Named profile of the user configuration (TOML; schema: docs/manual/user-config.md) [env: TJET_PROFILE=]
--timeout <TIMEOUT> Whole-command deadline in seconds. On expiry the command stops; a remote request may already have completed (exit 8 for mutating commands) [env: TJET_TIMEOUT=]
--no-progress Do not write progress to stderr [env: TJET_NO_PROGRESS=]
--token-fd <TOKEN_FD> Read a session or scoped (agent) token from this open file descriptor (never pass a secret as a command-line value)
--token-stdin Read a session or scoped (agent) token from standard input
--workspace <WORKSPACE> Workspace directory (default: search upward from the current directory)
--json Emit exactly one JSON result on stdout
--non-interactive Never prompt; return structured errors instead
--allow-elevated-writes Windows: let this command change workspaces itself although the shell is elevated and UAC is on. Risky: the user's unelevated programs could redirect those writes. Without it an elevated tjet writes only through the unelevated daemon
--request-id <REQUEST_ID> Request identity for this command. Re-running the same command with the same value repeats exactly the same requests, so the server replays outcomes it already recorded instead of executing twice (use it to retry after an unknown outcome, exit 8)
Examples:
tjet agent work reviewers
tjet agent work reviewers --set @acme/reviewer --rounds 5
tjet agent list
Your personal agents
Usage: tjet agent list [OPTIONS]
Options:
-h, --help Print help
Global options:
--server <SERVER> Server base URL. Default: the workspace's server, else the profile's, else https://trunkjet.io (the server `tjet login` signs in to) [env: TJET_SERVER=]
--profile <PROFILE> Named profile of the user configuration (TOML; schema: docs/manual/user-config.md) [env: TJET_PROFILE=]
--timeout <TIMEOUT> Whole-command deadline in seconds. On expiry the command stops; a remote request may already have completed (exit 8 for mutating commands) [env: TJET_TIMEOUT=]
--no-progress Do not write progress to stderr [env: TJET_NO_PROGRESS=]
--token-fd <TOKEN_FD> Read a session or scoped (agent) token from this open file descriptor (never pass a secret as a command-line value)
--token-stdin Read a session or scoped (agent) token from standard input
--workspace <WORKSPACE> Workspace directory (default: search upward from the current directory)
--json Emit exactly one JSON result on stdout
--non-interactive Never prompt; return structured errors instead
--allow-elevated-writes Windows: let this command change workspaces itself although the shell is elevated and UAC is on. Risky: the user's unelevated programs could redirect those writes. Without it an elevated tjet writes only through the unelevated daemon
--request-id <REQUEST_ID> Request identity for this command. Re-running the same command with the same value repeats exactly the same requests, so the server replays outcomes it already recorded instead of executing twice (use it to retry after an unknown outcome, exit 8)
Examples:
tjet agent list
tjet agent disable
Switch one of your agents off: every request of it stops at once
Usage: tjet agent disable [OPTIONS] <AGENT>
Arguments:
<AGENT> `@you/slug` or `slug`
Options:
-h, --help Print help
Global options:
--server <SERVER> Server base URL. Default: the workspace's server, else the profile's, else https://trunkjet.io (the server `tjet login` signs in to) [env: TJET_SERVER=]
--profile <PROFILE> Named profile of the user configuration (TOML; schema: docs/manual/user-config.md) [env: TJET_PROFILE=]
--timeout <TIMEOUT> Whole-command deadline in seconds. On expiry the command stops; a remote request may already have completed (exit 8 for mutating commands) [env: TJET_TIMEOUT=]
--no-progress Do not write progress to stderr [env: TJET_NO_PROGRESS=]
--token-fd <TOKEN_FD> Read a session or scoped (agent) token from this open file descriptor (never pass a secret as a command-line value)
--token-stdin Read a session or scoped (agent) token from standard input
--workspace <WORKSPACE> Workspace directory (default: search upward from the current directory)
--json Emit exactly one JSON result on stdout
--non-interactive Never prompt; return structured errors instead
--allow-elevated-writes Windows: let this command change workspaces itself although the shell is elevated and UAC is on. Risky: the user's unelevated programs could redirect those writes. Without it an elevated tjet writes only through the unelevated daemon
--request-id <REQUEST_ID> Request identity for this command. Re-running the same command with the same value repeats exactly the same requests, so the server replays outcomes it already recorded instead of executing twice (use it to retry after an unknown outcome, exit 8)
Examples:
tjet agent disable @ada/claude
tjet agent enable
Switch one of your agents on again
Usage: tjet agent enable [OPTIONS] <AGENT>
Arguments:
<AGENT> `@you/slug` or `slug`
Options:
-h, --help Print help
Global options:
--server <SERVER> Server base URL. Default: the workspace's server, else the profile's, else https://trunkjet.io (the server `tjet login` signs in to) [env: TJET_SERVER=]
--profile <PROFILE> Named profile of the user configuration (TOML; schema: docs/manual/user-config.md) [env: TJET_PROFILE=]
--timeout <TIMEOUT> Whole-command deadline in seconds. On expiry the command stops; a remote request may already have completed (exit 8 for mutating commands) [env: TJET_TIMEOUT=]
--no-progress Do not write progress to stderr [env: TJET_NO_PROGRESS=]
--token-fd <TOKEN_FD> Read a session or scoped (agent) token from this open file descriptor (never pass a secret as a command-line value)
--token-stdin Read a session or scoped (agent) token from standard input
--workspace <WORKSPACE> Workspace directory (default: search upward from the current directory)
--json Emit exactly one JSON result on stdout
--non-interactive Never prompt; return structured errors instead
--allow-elevated-writes Windows: let this command change workspaces itself although the shell is elevated and UAC is on. Risky: the user's unelevated programs could redirect those writes. Without it an elevated tjet writes only through the unelevated daemon
--request-id <REQUEST_ID> Request identity for this command. Re-running the same command with the same value repeats exactly the same requests, so the server replays outcomes it already recorded instead of executing twice (use it to retry after an unknown outcome, exit 8)
Examples:
tjet agent enable claude
tjet agent pause-all
Stop every token of every agent of yours; they continue only after a refresh from a grant that is still active
Usage: tjet agent pause-all [OPTIONS]
Options:
-h, --help Print help
Global options:
--server <SERVER> Server base URL. Default: the workspace's server, else the profile's, else https://trunkjet.io (the server `tjet login` signs in to) [env: TJET_SERVER=]
--profile <PROFILE> Named profile of the user configuration (TOML; schema: docs/manual/user-config.md) [env: TJET_PROFILE=]
--timeout <TIMEOUT> Whole-command deadline in seconds. On expiry the command stops; a remote request may already have completed (exit 8 for mutating commands) [env: TJET_TIMEOUT=]
--no-progress Do not write progress to stderr [env: TJET_NO_PROGRESS=]
--token-fd <TOKEN_FD> Read a session or scoped (agent) token from this open file descriptor (never pass a secret as a command-line value)
--token-stdin Read a session or scoped (agent) token from standard input
--workspace <WORKSPACE> Workspace directory (default: search upward from the current directory)
--json Emit exactly one JSON result on stdout
--non-interactive Never prompt; return structured errors instead
--allow-elevated-writes Windows: let this command change workspaces itself although the shell is elevated and UAC is on. Risky: the user's unelevated programs could redirect those writes. Without it an elevated tjet writes only through the unelevated daemon
--request-id <REQUEST_ID> Request identity for this command. Re-running the same command with the same value repeats exactly the same requests, so the server replays outcomes it already recorded instead of executing twice (use it to retry after an unknown outcome, exit 8)
Examples:
tjet agent pause-all
tjet agent grant
Grants: what an agent may do in an organisation on your behalf
Usage: tjet agent grant [OPTIONS] <COMMAND>
Commands:
create Grant one of your agents access here; prints its first token and refresh secret once
list Your grants here with their budget and what each has used (`--all`: every grant of the organisation, identity administrators, without budgets)
revoke End a grant at once
reissue Issue a new token and refresh secret for a grant still in force (after `pause-all`, an organisation epoch advance, or a lost secret); earlier refresh secrets stop working
refresh Exchange a refresh secret (argument, or `-` for standard input) for a new token and refresh secret. A secret works once; reusing one stops the grant
help Print this message or the help of the given subcommand(s)
Options:
-h, --help Print help
Global options:
--server <SERVER> Server base URL. Default: the workspace's server, else the profile's, else https://trunkjet.io (the server `tjet login` signs in to) [env: TJET_SERVER=]
--profile <PROFILE> Named profile of the user configuration (TOML; schema: docs/manual/user-config.md) [env: TJET_PROFILE=]
--timeout <TIMEOUT> Whole-command deadline in seconds. On expiry the command stops; a remote request may already have completed (exit 8 for mutating commands) [env: TJET_TIMEOUT=]
--no-progress Do not write progress to stderr [env: TJET_NO_PROGRESS=]
--token-fd <TOKEN_FD> Read a session or scoped (agent) token from this open file descriptor (never pass a secret as a command-line value)
--token-stdin Read a session or scoped (agent) token from standard input
--workspace <WORKSPACE> Workspace directory (default: search upward from the current directory)
--json Emit exactly one JSON result on stdout
--non-interactive Never prompt; return structured errors instead
--allow-elevated-writes Windows: let this command change workspaces itself although the shell is elevated and UAC is on. Risky: the user's unelevated programs could redirect those writes. Without it an elevated tjet writes only through the unelevated daemon
--request-id <REQUEST_ID> Request identity for this command. Re-running the same command with the same value repeats exactly the same requests, so the server replays outcomes it already recorded instead of executing twice (use it to retry after an unknown outcome, exit 8)
tjet agent grant create
Grant one of your agents access here; prints its first token and refresh secret once
Usage: tjet agent grant create [OPTIONS] --repo <REPOS> <AGENT>
Arguments:
<AGENT> `@you/slug` or `slug`
Options:
--repo <REPOS>
Repository name; repeatable (1..=100)
--path <PATHS>
Narrow to these path prefixes; repeatable
--cap <CAPS>
Capability; repeatable (default: read and draft writing). Never more than you hold
--days <DAYS>
Lifetime in days (default 7, at most 90)
--client <CLIENT>
What runs the agent (shown as declared, unverified)
--runtime <RUNTIME>
`local` (default) or `isolated`
--max-requests <MAX_REQUESTS>
Budget: at most this many requests (default: no limit)
--max-spend-units <MAX_SPEND_UNITS>
Budget: at most this many spend units (requests cost 1-10, jobs 1 per second)
--max-upload-bytes <MAX_UPLOAD_BYTES>
Budget: at most this many uploaded bytes
--org <ORG>
The organisation to act in (`@handle`); default: your session's organisation
-h, --help
Print help
Global options:
--server <SERVER> Server base URL. Default: the workspace's server, else the profile's, else https://trunkjet.io (the server `tjet login` signs in to) [env: TJET_SERVER=]
--profile <PROFILE> Named profile of the user configuration (TOML; schema: docs/manual/user-config.md) [env: TJET_PROFILE=]
--timeout <TIMEOUT> Whole-command deadline in seconds. On expiry the command stops; a remote request may already have completed (exit 8 for mutating commands) [env: TJET_TIMEOUT=]
--no-progress Do not write progress to stderr [env: TJET_NO_PROGRESS=]
--token-fd <TOKEN_FD> Read a session or scoped (agent) token from this open file descriptor (never pass a secret as a command-line value)
--token-stdin Read a session or scoped (agent) token from standard input
--workspace <WORKSPACE> Workspace directory (default: search upward from the current directory)
--json Emit exactly one JSON result on stdout
--non-interactive Never prompt; return structured errors instead
--allow-elevated-writes Windows: let this command change workspaces itself although the shell is elevated and UAC is on. Risky: the user's unelevated programs could redirect those writes. Without it an elevated tjet writes only through the unelevated daemon
--request-id <REQUEST_ID> Request identity for this command. Re-running the same command with the same value repeats exactly the same requests, so the server replays outcomes it already recorded instead of executing twice (use it to retry after an unknown outcome, exit 8)
Examples:
tjet agent grant create claude --repo shop --days 7
tjet agent grant create claude --repo shop --path src/ --cap path_read --cap path_list
tjet agent grant list
Your grants here with their budget and what each has used (`--all`: every grant of the organisation, identity administrators, without budgets)
Usage: tjet agent grant list [OPTIONS]
Options:
--all Every grant of the organisation (identity administrators)
--org <ORG> The organisation to act in (`@handle`); default: your session's organisation
-h, --help Print help
Global options:
--server <SERVER> Server base URL. Default: the workspace's server, else the profile's, else https://trunkjet.io (the server `tjet login` signs in to) [env: TJET_SERVER=]
--profile <PROFILE> Named profile of the user configuration (TOML; schema: docs/manual/user-config.md) [env: TJET_PROFILE=]
--timeout <TIMEOUT> Whole-command deadline in seconds. On expiry the command stops; a remote request may already have completed (exit 8 for mutating commands) [env: TJET_TIMEOUT=]
--no-progress Do not write progress to stderr [env: TJET_NO_PROGRESS=]
--token-fd <TOKEN_FD> Read a session or scoped (agent) token from this open file descriptor (never pass a secret as a command-line value)
--token-stdin Read a session or scoped (agent) token from standard input
--workspace <WORKSPACE> Workspace directory (default: search upward from the current directory)
--json Emit exactly one JSON result on stdout
--non-interactive Never prompt; return structured errors instead
--allow-elevated-writes Windows: let this command change workspaces itself although the shell is elevated and UAC is on. Risky: the user's unelevated programs could redirect those writes. Without it an elevated tjet writes only through the unelevated daemon
--request-id <REQUEST_ID> Request identity for this command. Re-running the same command with the same value repeats exactly the same requests, so the server replays outcomes it already recorded instead of executing twice (use it to retry after an unknown outcome, exit 8)
Examples:
tjet agent grant list --org @acme
tjet agent grant revoke
End a grant at once
Usage: tjet agent grant revoke [OPTIONS] <GRANT_ID>
Arguments:
<GRANT_ID> The grant id (`tjet agent grant list`)
Options:
--org <ORG> The organisation to act in (`@handle`); default: your session's organisation
-h, --help Print help
Global options:
--server <SERVER> Server base URL. Default: the workspace's server, else the profile's, else https://trunkjet.io (the server `tjet login` signs in to) [env: TJET_SERVER=]
--profile <PROFILE> Named profile of the user configuration (TOML; schema: docs/manual/user-config.md) [env: TJET_PROFILE=]
--timeout <TIMEOUT> Whole-command deadline in seconds. On expiry the command stops; a remote request may already have completed (exit 8 for mutating commands) [env: TJET_TIMEOUT=]
--no-progress Do not write progress to stderr [env: TJET_NO_PROGRESS=]
--token-fd <TOKEN_FD> Read a session or scoped (agent) token from this open file descriptor (never pass a secret as a command-line value)
--token-stdin Read a session or scoped (agent) token from standard input
--workspace <WORKSPACE> Workspace directory (default: search upward from the current directory)
--json Emit exactly one JSON result on stdout
--non-interactive Never prompt; return structured errors instead
--allow-elevated-writes Windows: let this command change workspaces itself although the shell is elevated and UAC is on. Risky: the user's unelevated programs could redirect those writes. Without it an elevated tjet writes only through the unelevated daemon
--request-id <REQUEST_ID> Request identity for this command. Re-running the same command with the same value repeats exactly the same requests, so the server replays outcomes it already recorded instead of executing twice (use it to retry after an unknown outcome, exit 8)
Examples:
tjet agent grant revoke GRANT_ID
tjet agent grant reissue
Issue a new token and refresh secret for a grant still in force (after `pause-all`, an organisation epoch advance, or a lost secret); earlier refresh secrets stop working
Usage: tjet agent grant reissue [OPTIONS] <GRANT_ID>
Arguments:
<GRANT_ID> The grant id (`tjet agent grant list`)
Options:
--org <ORG> The organisation to act in (`@handle`); default: your session's organisation
-h, --help Print help
Global options:
--server <SERVER> Server base URL. Default: the workspace's server, else the profile's, else https://trunkjet.io (the server `tjet login` signs in to) [env: TJET_SERVER=]
--profile <PROFILE> Named profile of the user configuration (TOML; schema: docs/manual/user-config.md) [env: TJET_PROFILE=]
--timeout <TIMEOUT> Whole-command deadline in seconds. On expiry the command stops; a remote request may already have completed (exit 8 for mutating commands) [env: TJET_TIMEOUT=]
--no-progress Do not write progress to stderr [env: TJET_NO_PROGRESS=]
--token-fd <TOKEN_FD> Read a session or scoped (agent) token from this open file descriptor (never pass a secret as a command-line value)
--token-stdin Read a session or scoped (agent) token from standard input
--workspace <WORKSPACE> Workspace directory (default: search upward from the current directory)
--json Emit exactly one JSON result on stdout
--non-interactive Never prompt; return structured errors instead
--allow-elevated-writes Windows: let this command change workspaces itself although the shell is elevated and UAC is on. Risky: the user's unelevated programs could redirect those writes. Without it an elevated tjet writes only through the unelevated daemon
--request-id <REQUEST_ID> Request identity for this command. Re-running the same command with the same value repeats exactly the same requests, so the server replays outcomes it already recorded instead of executing twice (use it to retry after an unknown outcome, exit 8)
Examples:
tjet agent grant reissue GRANT_ID
tjet agent grant refresh
Exchange a refresh secret (argument, or `-` for standard input) for a new token and refresh secret. A secret works once; reusing one stops the grant
Usage: tjet agent grant refresh [OPTIONS] <SECRET>
Arguments:
<SECRET> The refresh secret, or `-` to read it from standard input
Options:
-h, --help Print help
Global options:
--server <SERVER> Server base URL. Default: the workspace's server, else the profile's, else https://trunkjet.io (the server `tjet login` signs in to) [env: TJET_SERVER=]
--profile <PROFILE> Named profile of the user configuration (TOML; schema: docs/manual/user-config.md) [env: TJET_PROFILE=]
--timeout <TIMEOUT> Whole-command deadline in seconds. On expiry the command stops; a remote request may already have completed (exit 8 for mutating commands) [env: TJET_TIMEOUT=]
--no-progress Do not write progress to stderr [env: TJET_NO_PROGRESS=]
--token-fd <TOKEN_FD> Read a session or scoped (agent) token from this open file descriptor (never pass a secret as a command-line value)
--token-stdin Read a session or scoped (agent) token from standard input
--workspace <WORKSPACE> Workspace directory (default: search upward from the current directory)
--json Emit exactly one JSON result on stdout
--non-interactive Never prompt; return structured errors instead
--allow-elevated-writes Windows: let this command change workspaces itself although the shell is elevated and UAC is on. Risky: the user's unelevated programs could redirect those writes. Without it an elevated tjet writes only through the unelevated daemon
--request-id <REQUEST_ID> Request identity for this command. Re-running the same command with the same value repeats exactly the same requests, so the server replays outcomes it already recorded instead of executing twice (use it to retry after an unknown outcome, exit 8)
Examples:
tjet agent grant refresh - < refresh-secret
tjet agent switch
The organisation's agent switch (identity administrators change it)
Usage: tjet agent switch [OPTIONS] <COMMAND>
Commands:
show Show it
set Stop every agent here at once (`--off`), allow them again (`--on`), invalidate every grant token (`--new-epoch`), or accept agents that also work elsewhere
help Print this message or the help of the given subcommand(s)
Options:
-h, --help Print help
Global options:
--server <SERVER> Server base URL. Default: the workspace's server, else the profile's, else https://trunkjet.io (the server `tjet login` signs in to) [env: TJET_SERVER=]
--profile <PROFILE> Named profile of the user configuration (TOML; schema: docs/manual/user-config.md) [env: TJET_PROFILE=]
--timeout <TIMEOUT> Whole-command deadline in seconds. On expiry the command stops; a remote request may already have completed (exit 8 for mutating commands) [env: TJET_TIMEOUT=]
--no-progress Do not write progress to stderr [env: TJET_NO_PROGRESS=]
--token-fd <TOKEN_FD> Read a session or scoped (agent) token from this open file descriptor (never pass a secret as a command-line value)
--token-stdin Read a session or scoped (agent) token from standard input
--workspace <WORKSPACE> Workspace directory (default: search upward from the current directory)
--json Emit exactly one JSON result on stdout
--non-interactive Never prompt; return structured errors instead
--allow-elevated-writes Windows: let this command change workspaces itself although the shell is elevated and UAC is on. Risky: the user's unelevated programs could redirect those writes. Without it an elevated tjet writes only through the unelevated daemon
--request-id <REQUEST_ID> Request identity for this command. Re-running the same command with the same value repeats exactly the same requests, so the server replays outcomes it already recorded instead of executing twice (use it to retry after an unknown outcome, exit 8)
tjet agent switch show
Show it
Usage: tjet agent switch show [OPTIONS]
Options:
--org <ORG> The organisation to act in (`@handle`); default: your session's organisation
-h, --help Print help
Global options:
--server <SERVER> Server base URL. Default: the workspace's server, else the profile's, else https://trunkjet.io (the server `tjet login` signs in to) [env: TJET_SERVER=]
--profile <PROFILE> Named profile of the user configuration (TOML; schema: docs/manual/user-config.md) [env: TJET_PROFILE=]
--timeout <TIMEOUT> Whole-command deadline in seconds. On expiry the command stops; a remote request may already have completed (exit 8 for mutating commands) [env: TJET_TIMEOUT=]
--no-progress Do not write progress to stderr [env: TJET_NO_PROGRESS=]
--token-fd <TOKEN_FD> Read a session or scoped (agent) token from this open file descriptor (never pass a secret as a command-line value)
--token-stdin Read a session or scoped (agent) token from standard input
--workspace <WORKSPACE> Workspace directory (default: search upward from the current directory)
--json Emit exactly one JSON result on stdout
--non-interactive Never prompt; return structured errors instead
--allow-elevated-writes Windows: let this command change workspaces itself although the shell is elevated and UAC is on. Risky: the user's unelevated programs could redirect those writes. Without it an elevated tjet writes only through the unelevated daemon
--request-id <REQUEST_ID> Request identity for this command. Re-running the same command with the same value repeats exactly the same requests, so the server replays outcomes it already recorded instead of executing twice (use it to retry after an unknown outcome, exit 8)
Examples:
tjet agent switch show --org @acme
tjet agent switch set
Stop every agent here at once (`--off`), allow them again (`--on`), invalidate every grant token (`--new-epoch`), or accept agents that also work elsewhere
Usage: tjet agent switch set [OPTIONS]
Options:
--off
Stop every agent request here
--on
Allow agent requests again
--new-epoch
Invalidate every grant token here (grants stay; agents refresh)
--accept-multi-org <ACCEPT_MULTI_ORG>
Accept agents that also work in another organisation (their writes are marked) [possible values: true, false]
--org <ORG>
The organisation to act in (`@handle`); default: your session's organisation
-h, --help
Print help
Global options:
--server <SERVER> Server base URL. Default: the workspace's server, else the profile's, else https://trunkjet.io (the server `tjet login` signs in to) [env: TJET_SERVER=]
--profile <PROFILE> Named profile of the user configuration (TOML; schema: docs/manual/user-config.md) [env: TJET_PROFILE=]
--timeout <TIMEOUT> Whole-command deadline in seconds. On expiry the command stops; a remote request may already have completed (exit 8 for mutating commands) [env: TJET_TIMEOUT=]
--no-progress Do not write progress to stderr [env: TJET_NO_PROGRESS=]
--token-fd <TOKEN_FD> Read a session or scoped (agent) token from this open file descriptor (never pass a secret as a command-line value)
--token-stdin Read a session or scoped (agent) token from standard input
--workspace <WORKSPACE> Workspace directory (default: search upward from the current directory)
--json Emit exactly one JSON result on stdout
--non-interactive Never prompt; return structured errors instead
--allow-elevated-writes Windows: let this command change workspaces itself although the shell is elevated and UAC is on. Risky: the user's unelevated programs could redirect those writes. Without it an elevated tjet writes only through the unelevated daemon
--request-id <REQUEST_ID> Request identity for this command. Re-running the same command with the same value repeats exactly the same requests, so the server replays outcomes it already recorded instead of executing twice (use it to retry after an unknown outcome, exit 8)
Examples:
tjet agent switch set --off --org @acme
tjet agent switch set --on --new-epoch
tjet agent enrol
Issue a new enrolment secret for one of your agents (printed once; the previous one stops working). Give it to the program that runs the agent: it uses it with `tjet agent connect` to ask you for access
Usage: tjet agent enrol [OPTIONS] <AGENT>
Arguments:
<AGENT> `@you/slug` or `slug`
Options:
-h, --help Print help
Global options:
--server <SERVER> Server base URL. Default: the workspace's server, else the profile's, else https://trunkjet.io (the server `tjet login` signs in to) [env: TJET_SERVER=]
--profile <PROFILE> Named profile of the user configuration (TOML; schema: docs/manual/user-config.md) [env: TJET_PROFILE=]
--timeout <TIMEOUT> Whole-command deadline in seconds. On expiry the command stops; a remote request may already have completed (exit 8 for mutating commands) [env: TJET_TIMEOUT=]
--no-progress Do not write progress to stderr [env: TJET_NO_PROGRESS=]
--token-fd <TOKEN_FD> Read a session or scoped (agent) token from this open file descriptor (never pass a secret as a command-line value)
--token-stdin Read a session or scoped (agent) token from standard input
--workspace <WORKSPACE> Workspace directory (default: search upward from the current directory)
--json Emit exactly one JSON result on stdout
--non-interactive Never prompt; return structured errors instead
--allow-elevated-writes Windows: let this command change workspaces itself although the shell is elevated and UAC is on. Risky: the user's unelevated programs could redirect those writes. Without it an elevated tjet writes only through the unelevated daemon
--request-id <REQUEST_ID> Request identity for this command. Re-running the same command with the same value repeats exactly the same requests, so the server replays outcomes it already recorded instead of executing twice (use it to retry after an unknown outcome, exit 8)
Examples:
tjet agent enrol claude > enrolment-secret
tjet agent connect
Give an agent access. On your own computer, signed in: `tjet agent connect claude --repo acme/shop --for 8h` creates `@you/claude` if needed, shows in this terminal what it may do, where, for how long and what it can never do, asks "Allow? [Y/n]" and writes the agent's token to a file only you can read (never your own sign-in); `--browser` asks on the consent page instead. Without an agent name, for the program that runs an agent elsewhere: asks the owner for access with the enrolment secret (`TJET_AGENT_ENROLMENT` or `--enrolment-file`, never the command line), prints a web address and a code, waits for the approval and prints (or writes to `--out`) the token and refresh secret
Usage: tjet agent connect [OPTIONS] --repo <REPOS> [AGENT]
Arguments:
[AGENT] Your agent (`slug` or `@you/slug`): connect it from this signed-in terminal
Options:
--repo <REPOS>
Repository address (`owner/repo`); repeatable (1..=100)
--path <PATHS>
Ask only for these folders; repeatable
--cap <CAPS>
Capability; repeatable (default: read and draft writing)
--days <DAYS>
Lifetime in days (default 7, at most 90; the owner may shorten it)
--for <for_>
Lifetime: `30m`, `8h`, `7d`, `2w` (default 7 days, at most 90)
--client <CLIENT>
What runs the agent (shown to the owner as declared, unverified)
--runtime <RUNTIME>
`local` (default) or `isolated`
--browser
With an agent name: approve on the consent page in the browser instead of here
--enrolment-file <ENROLMENT_FILE>
File holding the enrolment secret (default: `TJET_AGENT_ENROLMENT`)
--out <OUT>
Write the token and refresh secret here (mode 0600). With an agent name the default is `<config dir>/trunkjet/agents/<slug>.json`; without, they are printed
-h, --help
Print help
Global options:
--server <SERVER> Server base URL. Default: the workspace's server, else the profile's, else https://trunkjet.io (the server `tjet login` signs in to) [env: TJET_SERVER=]
--profile <PROFILE> Named profile of the user configuration (TOML; schema: docs/manual/user-config.md) [env: TJET_PROFILE=]
--timeout <TIMEOUT> Whole-command deadline in seconds. On expiry the command stops; a remote request may already have completed (exit 8 for mutating commands) [env: TJET_TIMEOUT=]
--no-progress Do not write progress to stderr [env: TJET_NO_PROGRESS=]
--token-fd <TOKEN_FD> Read a session or scoped (agent) token from this open file descriptor (never pass a secret as a command-line value)
--token-stdin Read a session or scoped (agent) token from standard input
--workspace <WORKSPACE> Workspace directory (default: search upward from the current directory)
--json Emit exactly one JSON result on stdout
--non-interactive Never prompt; return structured errors instead
--allow-elevated-writes Windows: let this command change workspaces itself although the shell is elevated and UAC is on. Risky: the user's unelevated programs could redirect those writes. Without it an elevated tjet writes only through the unelevated daemon
--request-id <REQUEST_ID> Request identity for this command. Re-running the same command with the same value repeats exactly the same requests, so the server replays outcomes it already recorded instead of executing twice (use it to retry after an unknown outcome, exit 8)
Examples:
tjet agent connect --repo acme/shop --client "Claude Code" --enrolment-file enrolment-secret --out grant.json
tjet mcp
Serve the Model Context Protocol on standard input/output so a local AI client (Claude Code and others) can work in this repository as your agent: read issues and files, open and update a draft change from this workspace, ask you questions, read review comments. It never approves or merges. Without a grant it first asks you on this terminal: "Claude would like to work in <repo> as your agent. Allow? [Y/n]"
Usage: tjet mcp [OPTIONS]
Options:
--repo <REPO>
Repository name or address (default: this workspace's)
--grant-file <GRANT_FILE>
Grant file written by `tjet agent connect --out` (default: `.tjet/agent-grant.json` in the workspace; `TJET_TOKEN` wins)
--agent <AGENT>
Your agent's slug when it connects on first start (created if you have none)
[default: claude]
-h, --help
Print help (see a summary with '-h')
Global options:
--server <SERVER>
Server base URL. Default: the workspace's server, else the profile's, else https://trunkjet.io (the server `tjet login` signs in to)
[env: TJET_SERVER=]
--profile <PROFILE>
Named profile of the user configuration (TOML; schema: docs/manual/user-config.md)
[env: TJET_PROFILE=]
--timeout <TIMEOUT>
Whole-command deadline in seconds. On expiry the command stops; a remote request may already have completed (exit 8 for mutating commands)
[env: TJET_TIMEOUT=]
--no-progress
Do not write progress to stderr
[env: TJET_NO_PROGRESS=]
--token-fd <TOKEN_FD>
Read a session or scoped (agent) token from this open file descriptor (never pass a secret as a command-line value)
--token-stdin
Read a session or scoped (agent) token from standard input
--workspace <WORKSPACE>
Workspace directory (default: search upward from the current directory)
--json
Emit exactly one JSON result on stdout
--non-interactive
Never prompt; return structured errors instead
--allow-elevated-writes
Windows: let this command change workspaces itself although the shell is elevated and UAC is on. Risky: the user's unelevated programs could redirect those writes. Without it an elevated tjet writes only through the unelevated daemon
--request-id <REQUEST_ID>
Request identity for this command. Re-running the same command with the same value repeats exactly the same requests, so the server replays outcomes it already recorded instead of executing twice (use it to retry after an unknown outcome, exit 8)
Examples:
tjet mcp
tjet mcp --repo shop --grant-file grant.json
tjet lock
Fenced asset locks
Usage: tjet lock [OPTIONS] <COMMAND>
Commands:
acquire Lock files so nobody else can land changes to them until you release the lock (or it ends). When someone else holds a lock on a file, this says who and until when
renew Keep your lock longer (the lock id and fence that `tjet lock acquire` printed)
release Release your lock: name a locked file (`tjet lock release PATH`), or the lock id and fence that `tjet lock acquire` printed
show Who holds the lock on a file and until when (`tjet lock show PATH`), or one lock by its id
list The locks of the repository you may see: files, holder and until when (only those covering PATH when given)
help Print this message or the help of the given subcommand(s)
Options:
--repo <REPO>
Repository name (needed outside a workspace); before or after the subcommand
-h, --help
Print help (see a summary with '-h')
Global options:
--server <SERVER>
Server base URL. Default: the workspace's server, else the profile's, else https://trunkjet.io (the server `tjet login` signs in to)
[env: TJET_SERVER=]
--profile <PROFILE>
Named profile of the user configuration (TOML; schema: docs/manual/user-config.md)
[env: TJET_PROFILE=]
--timeout <TIMEOUT>
Whole-command deadline in seconds. On expiry the command stops; a remote request may already have completed (exit 8 for mutating commands)
[env: TJET_TIMEOUT=]
--no-progress
Do not write progress to stderr
[env: TJET_NO_PROGRESS=]
--token-fd <TOKEN_FD>
Read a session or scoped (agent) token from this open file descriptor (never pass a secret as a command-line value)
--token-stdin
Read a session or scoped (agent) token from standard input
--workspace <WORKSPACE>
Workspace directory (default: search upward from the current directory)
--json
Emit exactly one JSON result on stdout
--non-interactive
Never prompt; return structured errors instead
--allow-elevated-writes
Windows: let this command change workspaces itself although the shell is elevated and UAC is on. Risky: the user's unelevated programs could redirect those writes. Without it an elevated tjet writes only through the unelevated daemon
--request-id <REQUEST_ID>
Request identity for this command. Re-running the same command with the same value repeats exactly the same requests, so the server replays outcomes it already recorded instead of executing twice (use it to retry after an unknown outcome, exit 8)
tjet lock acquire
Lock files so nobody else can land changes to them until you release the lock (or it ends). When someone else holds a lock on a file, this says who and until when
Usage: tjet lock acquire [OPTIONS] [PATHS]...
Arguments:
[PATHS]... Repository paths to lock
Options:
--repo <REPO> Repository name (needed outside a workspace); before or after the subcommand
--subtree Lock each path as a folder: everything below it too
--ttl <TTL> Lease length in lease-clock ticks (seconds) [default: 3600]
-h, --help Print help
Global options:
--server <SERVER> Server base URL. Default: the workspace's server, else the profile's, else https://trunkjet.io (the server `tjet login` signs in to) [env: TJET_SERVER=]
--profile <PROFILE> Named profile of the user configuration (TOML; schema: docs/manual/user-config.md) [env: TJET_PROFILE=]
--timeout <TIMEOUT> Whole-command deadline in seconds. On expiry the command stops; a remote request may already have completed (exit 8 for mutating commands) [env: TJET_TIMEOUT=]
--no-progress Do not write progress to stderr [env: TJET_NO_PROGRESS=]
--token-fd <TOKEN_FD> Read a session or scoped (agent) token from this open file descriptor (never pass a secret as a command-line value)
--token-stdin Read a session or scoped (agent) token from standard input
--workspace <WORKSPACE> Workspace directory (default: search upward from the current directory)
--json Emit exactly one JSON result on stdout
--non-interactive Never prompt; return structured errors instead
--allow-elevated-writes Windows: let this command change workspaces itself although the shell is elevated and UAC is on. Risky: the user's unelevated programs could redirect those writes. Without it an elevated tjet writes only through the unelevated daemon
--request-id <REQUEST_ID> Request identity for this command. Re-running the same command with the same value repeats exactly the same requests, so the server replays outcomes it already recorded instead of executing twice (use it to retry after an unknown outcome, exit 8)
Examples:
tjet lock acquire design/mockup.psd
tjet lock renew
Keep your lock longer (the lock id and fence that `tjet lock acquire` printed)
Usage: tjet lock renew [OPTIONS] <LOCKSET> <FENCE>
Arguments:
<LOCKSET> The lock id `tjet lock acquire` printed
<FENCE> The fence `tjet lock acquire` printed
Options:
--repo <REPO> Repository name (needed outside a workspace); before or after the subcommand
--ttl <TTL> The new length, in seconds [default: 3600]
-h, --help Print help
Global options:
--server <SERVER> Server base URL. Default: the workspace's server, else the profile's, else https://trunkjet.io (the server `tjet login` signs in to) [env: TJET_SERVER=]
--profile <PROFILE> Named profile of the user configuration (TOML; schema: docs/manual/user-config.md) [env: TJET_PROFILE=]
--timeout <TIMEOUT> Whole-command deadline in seconds. On expiry the command stops; a remote request may already have completed (exit 8 for mutating commands) [env: TJET_TIMEOUT=]
--no-progress Do not write progress to stderr [env: TJET_NO_PROGRESS=]
--token-fd <TOKEN_FD> Read a session or scoped (agent) token from this open file descriptor (never pass a secret as a command-line value)
--token-stdin Read a session or scoped (agent) token from standard input
--workspace <WORKSPACE> Workspace directory (default: search upward from the current directory)
--json Emit exactly one JSON result on stdout
--non-interactive Never prompt; return structured errors instead
--allow-elevated-writes Windows: let this command change workspaces itself although the shell is elevated and UAC is on. Risky: the user's unelevated programs could redirect those writes. Without it an elevated tjet writes only through the unelevated daemon
--request-id <REQUEST_ID> Request identity for this command. Re-running the same command with the same value repeats exactly the same requests, so the server replays outcomes it already recorded instead of executing twice (use it to retry after an unknown outcome, exit 8)
Examples:
tjet lock renew LOCK_ID FENCE
tjet lock release
Release your lock: name a locked file (`tjet lock release PATH`), or the lock id and fence that `tjet lock acquire` printed
Usage: tjet lock release [OPTIONS] <LOCKSET> [FENCE]
Arguments:
<LOCKSET> A locked file of yours, or a lock id
[FENCE] The fence `tjet lock acquire` printed (default: your lock's current one)
Options:
--repo <REPO> Repository name (needed outside a workspace); before or after the subcommand
-h, --help Print help
Global options:
--server <SERVER> Server base URL. Default: the workspace's server, else the profile's, else https://trunkjet.io (the server `tjet login` signs in to) [env: TJET_SERVER=]
--profile <PROFILE> Named profile of the user configuration (TOML; schema: docs/manual/user-config.md) [env: TJET_PROFILE=]
--timeout <TIMEOUT> Whole-command deadline in seconds. On expiry the command stops; a remote request may already have completed (exit 8 for mutating commands) [env: TJET_TIMEOUT=]
--no-progress Do not write progress to stderr [env: TJET_NO_PROGRESS=]
--token-fd <TOKEN_FD> Read a session or scoped (agent) token from this open file descriptor (never pass a secret as a command-line value)
--token-stdin Read a session or scoped (agent) token from standard input
--workspace <WORKSPACE> Workspace directory (default: search upward from the current directory)
--json Emit exactly one JSON result on stdout
--non-interactive Never prompt; return structured errors instead
--allow-elevated-writes Windows: let this command change workspaces itself although the shell is elevated and UAC is on. Risky: the user's unelevated programs could redirect those writes. Without it an elevated tjet writes only through the unelevated daemon
--request-id <REQUEST_ID> Request identity for this command. Re-running the same command with the same value repeats exactly the same requests, so the server replays outcomes it already recorded instead of executing twice (use it to retry after an unknown outcome, exit 8)
Examples:
tjet lock release design/mockup.psd
tjet lock show
Who holds the lock on a file and until when (`tjet lock show PATH`), or one lock by its id
Usage: tjet lock show [OPTIONS] <PATH_OR_LOCK_ID>
Arguments:
<PATH_OR_LOCK_ID> A repository path, or a lock id
Options:
--repo <REPO> Repository name (needed outside a workspace); before or after the subcommand
-h, --help Print help
Global options:
--server <SERVER> Server base URL. Default: the workspace's server, else the profile's, else https://trunkjet.io (the server `tjet login` signs in to) [env: TJET_SERVER=]
--profile <PROFILE> Named profile of the user configuration (TOML; schema: docs/manual/user-config.md) [env: TJET_PROFILE=]
--timeout <TIMEOUT> Whole-command deadline in seconds. On expiry the command stops; a remote request may already have completed (exit 8 for mutating commands) [env: TJET_TIMEOUT=]
--no-progress Do not write progress to stderr [env: TJET_NO_PROGRESS=]
--token-fd <TOKEN_FD> Read a session or scoped (agent) token from this open file descriptor (never pass a secret as a command-line value)
--token-stdin Read a session or scoped (agent) token from standard input
--workspace <WORKSPACE> Workspace directory (default: search upward from the current directory)
--json Emit exactly one JSON result on stdout
--non-interactive Never prompt; return structured errors instead
--allow-elevated-writes Windows: let this command change workspaces itself although the shell is elevated and UAC is on. Risky: the user's unelevated programs could redirect those writes. Without it an elevated tjet writes only through the unelevated daemon
--request-id <REQUEST_ID> Request identity for this command. Re-running the same command with the same value repeats exactly the same requests, so the server replays outcomes it already recorded instead of executing twice (use it to retry after an unknown outcome, exit 8)
Examples:
tjet lock show design/mockup.psd
tjet lock list
The locks of the repository you may see: files, holder and until when (only those covering PATH when given)
Usage: tjet lock list [OPTIONS] [PATH]
Arguments:
[PATH] A file path in the repository
Options:
--repo <REPO> Repository name (needed outside a workspace); before or after the subcommand
-h, --help Print help
Global options:
--server <SERVER> Server base URL. Default: the workspace's server, else the profile's, else https://trunkjet.io (the server `tjet login` signs in to) [env: TJET_SERVER=]
--profile <PROFILE> Named profile of the user configuration (TOML; schema: docs/manual/user-config.md) [env: TJET_PROFILE=]
--timeout <TIMEOUT> Whole-command deadline in seconds. On expiry the command stops; a remote request may already have completed (exit 8 for mutating commands) [env: TJET_TIMEOUT=]
--no-progress Do not write progress to stderr [env: TJET_NO_PROGRESS=]
--token-fd <TOKEN_FD> Read a session or scoped (agent) token from this open file descriptor (never pass a secret as a command-line value)
--token-stdin Read a session or scoped (agent) token from standard input
--workspace <WORKSPACE> Workspace directory (default: search upward from the current directory)
--json Emit exactly one JSON result on stdout
--non-interactive Never prompt; return structured errors instead
--allow-elevated-writes Windows: let this command change workspaces itself although the shell is elevated and UAC is on. Risky: the user's unelevated programs could redirect those writes. Without it an elevated tjet writes only through the unelevated daemon
--request-id <REQUEST_ID> Request identity for this command. Re-running the same command with the same value repeats exactly the same requests, so the server replays outcomes it already recorded instead of executing twice (use it to retry after an unknown outcome, exit 8)
Examples:
tjet lock list
tjet lock list design/
tjet stream
Stream policy and integration history
Usage: tjet stream [OPTIONS] <COMMAND>
Commands:
list The streams of the repository (lines of development, like branches): name, newest version and state. Archived streams too with --all [alias: ls]
policy Show the trusted stream policy
set-policy Replace the stream policy (policy_admin), against its current generation
log Integration history (newest first)
merge Merge SOURCE's current head into a target stream: a new change whose revision has both heads as parents (conflicts are left to `tjet conflict`)
create Create a stream (e.g. a maintained release stream) at a revision (stream_admin)
help Print this message or the help of the given subcommand(s)
Options:
--repo <REPO>
Repository name (needed outside a workspace); before or after the subcommand
-h, --help
Print help (see a summary with '-h')
Global options:
--server <SERVER>
Server base URL. Default: the workspace's server, else the profile's, else https://trunkjet.io (the server `tjet login` signs in to)
[env: TJET_SERVER=]
--profile <PROFILE>
Named profile of the user configuration (TOML; schema: docs/manual/user-config.md)
[env: TJET_PROFILE=]
--timeout <TIMEOUT>
Whole-command deadline in seconds. On expiry the command stops; a remote request may already have completed (exit 8 for mutating commands)
[env: TJET_TIMEOUT=]
--no-progress
Do not write progress to stderr
[env: TJET_NO_PROGRESS=]
--token-fd <TOKEN_FD>
Read a session or scoped (agent) token from this open file descriptor (never pass a secret as a command-line value)
--token-stdin
Read a session or scoped (agent) token from standard input
--workspace <WORKSPACE>
Workspace directory (default: search upward from the current directory)
--json
Emit exactly one JSON result on stdout
--non-interactive
Never prompt; return structured errors instead
--allow-elevated-writes
Windows: let this command change workspaces itself although the shell is elevated and UAC is on. Risky: the user's unelevated programs could redirect those writes. Without it an elevated tjet writes only through the unelevated daemon
--request-id <REQUEST_ID>
Request identity for this command. Re-running the same command with the same value repeats exactly the same requests, so the server replays outcomes it already recorded instead of executing twice (use it to retry after an unknown outcome, exit 8)
tjet stream list
The streams of the repository (lines of development, like branches): name, newest version and state. Archived streams too with --all
Usage: tjet stream list [OPTIONS]
Options:
--all Also list archived streams
--repo <REPO> Repository name (needed outside a workspace); before or after the subcommand
-h, --help Print help
Global options:
--server <SERVER> Server base URL. Default: the workspace's server, else the profile's, else https://trunkjet.io (the server `tjet login` signs in to) [env: TJET_SERVER=]
--profile <PROFILE> Named profile of the user configuration (TOML; schema: docs/manual/user-config.md) [env: TJET_PROFILE=]
--timeout <TIMEOUT> Whole-command deadline in seconds. On expiry the command stops; a remote request may already have completed (exit 8 for mutating commands) [env: TJET_TIMEOUT=]
--no-progress Do not write progress to stderr [env: TJET_NO_PROGRESS=]
--token-fd <TOKEN_FD> Read a session or scoped (agent) token from this open file descriptor (never pass a secret as a command-line value)
--token-stdin Read a session or scoped (agent) token from standard input
--workspace <WORKSPACE> Workspace directory (default: search upward from the current directory)
--json Emit exactly one JSON result on stdout
--non-interactive Never prompt; return structured errors instead
--allow-elevated-writes Windows: let this command change workspaces itself although the shell is elevated and UAC is on. Risky: the user's unelevated programs could redirect those writes. Without it an elevated tjet writes only through the unelevated daemon
--request-id <REQUEST_ID> Request identity for this command. Re-running the same command with the same value repeats exactly the same requests, so the server replays outcomes it already recorded instead of executing twice (use it to retry after an unknown outcome, exit 8)
Examples:
tjet stream list
tjet stream list --repo shop --all
tjet stream policy
Show the trusted stream policy
Usage: tjet stream policy [OPTIONS] [STREAM]
Arguments:
[STREAM] The stream (default: main) [default: main]
Options:
--repo <REPO> Repository name (needed outside a workspace); before or after the subcommand
-h, --help Print help
Global options:
--server <SERVER> Server base URL. Default: the workspace's server, else the profile's, else https://trunkjet.io (the server `tjet login` signs in to) [env: TJET_SERVER=]
--profile <PROFILE> Named profile of the user configuration (TOML; schema: docs/manual/user-config.md) [env: TJET_PROFILE=]
--timeout <TIMEOUT> Whole-command deadline in seconds. On expiry the command stops; a remote request may already have completed (exit 8 for mutating commands) [env: TJET_TIMEOUT=]
--no-progress Do not write progress to stderr [env: TJET_NO_PROGRESS=]
--token-fd <TOKEN_FD> Read a session or scoped (agent) token from this open file descriptor (never pass a secret as a command-line value)
--token-stdin Read a session or scoped (agent) token from standard input
--workspace <WORKSPACE> Workspace directory (default: search upward from the current directory)
--json Emit exactly one JSON result on stdout
--non-interactive Never prompt; return structured errors instead
--allow-elevated-writes Windows: let this command change workspaces itself although the shell is elevated and UAC is on. Risky: the user's unelevated programs could redirect those writes. Without it an elevated tjet writes only through the unelevated daemon
--request-id <REQUEST_ID> Request identity for this command. Re-running the same command with the same value repeats exactly the same requests, so the server replays outcomes it already recorded instead of executing twice (use it to retry after an unknown outcome, exit 8)
Examples:
tjet stream policy main
tjet stream set-policy
Replace the stream policy (policy_admin), against its current generation
Usage: tjet stream set-policy [OPTIONS] [STREAM]
Arguments:
[STREAM] The stream (default: main) [default: main]
Options:
--approvals <APPROVALS>
How many approvals a change needs to land [default: 1]
--repo <REPO>
Repository name (needed outside a workspace); before or after the subcommand
--allow-self-approval
Let authors approve their own changes
--check <CHECKS>
A check that must pass before landing (repeatable)
--executor <EXECUTORS>
Subjects trusted to report check results
--locked <LOCKED>
A path prefix whose files need a lock to land (repeatable)
--approval-rule <APPROVAL_RULES>
Approver rule `PREFIX=MIN:APPROVER[,APPROVER...][;independent][;protected[=N]]` (PREFIX `*` = every change; an approver is a subject or `group:<uuid>`; `independent`: the author's and an agent sponsor's own approvals do not count; `protected`: agent-written changes need N more approvals, default 1). Given rules replace the stream's rules; without any, the current rules are kept
--clear-approval-rules
Remove every approver rule
--protected <PROTECTED>
A path protected in addition to the built-in list (owner, CI/build, lock and policy files). Given prefixes replace the stream's; without any, the current ones are kept
--clear-protected
Remove every added protected prefix (the built-in list stays)
--agent-extra-approvals <AGENT_EXTRA_APPROVALS>
Extra approvals an agent-written change touching a protected path needs from people other than the agent's sponsor, the author and the integrator (default 1; 0 turns it off, audited). Without it the current value is kept
-h, --help
Print help
Global options:
--server <SERVER> Server base URL. Default: the workspace's server, else the profile's, else https://trunkjet.io (the server `tjet login` signs in to) [env: TJET_SERVER=]
--profile <PROFILE> Named profile of the user configuration (TOML; schema: docs/manual/user-config.md) [env: TJET_PROFILE=]
--timeout <TIMEOUT> Whole-command deadline in seconds. On expiry the command stops; a remote request may already have completed (exit 8 for mutating commands) [env: TJET_TIMEOUT=]
--no-progress Do not write progress to stderr [env: TJET_NO_PROGRESS=]
--token-fd <TOKEN_FD> Read a session or scoped (agent) token from this open file descriptor (never pass a secret as a command-line value)
--token-stdin Read a session or scoped (agent) token from standard input
--workspace <WORKSPACE> Workspace directory (default: search upward from the current directory)
--json Emit exactly one JSON result on stdout
--non-interactive Never prompt; return structured errors instead
--allow-elevated-writes Windows: let this command change workspaces itself although the shell is elevated and UAC is on. Risky: the user's unelevated programs could redirect those writes. Without it an elevated tjet writes only through the unelevated daemon
--request-id <REQUEST_ID> Request identity for this command. Re-running the same command with the same value repeats exactly the same requests, so the server replays outcomes it already recorded instead of executing twice (use it to retry after an unknown outcome, exit 8)
Examples:
tjet stream set-policy main --approvals 1 --locked design
tjet stream log
Integration history (newest first)
Usage: tjet stream log [OPTIONS] [STREAM]
Arguments:
[STREAM] The stream (default: main) [default: main]
Options:
--repo <REPO> Repository name (needed outside a workspace); before or after the subcommand
-h, --help Print help
Global options:
--server <SERVER> Server base URL. Default: the workspace's server, else the profile's, else https://trunkjet.io (the server `tjet login` signs in to) [env: TJET_SERVER=]
--profile <PROFILE> Named profile of the user configuration (TOML; schema: docs/manual/user-config.md) [env: TJET_PROFILE=]
--timeout <TIMEOUT> Whole-command deadline in seconds. On expiry the command stops; a remote request may already have completed (exit 8 for mutating commands) [env: TJET_TIMEOUT=]
--no-progress Do not write progress to stderr [env: TJET_NO_PROGRESS=]
--token-fd <TOKEN_FD> Read a session or scoped (agent) token from this open file descriptor (never pass a secret as a command-line value)
--token-stdin Read a session or scoped (agent) token from standard input
--workspace <WORKSPACE> Workspace directory (default: search upward from the current directory)
--json Emit exactly one JSON result on stdout
--non-interactive Never prompt; return structured errors instead
--allow-elevated-writes Windows: let this command change workspaces itself although the shell is elevated and UAC is on. Risky: the user's unelevated programs could redirect those writes. Without it an elevated tjet writes only through the unelevated daemon
--request-id <REQUEST_ID> Request identity for this command. Re-running the same command with the same value repeats exactly the same requests, so the server replays outcomes it already recorded instead of executing twice (use it to retry after an unknown outcome, exit 8)
Examples:
tjet stream log main
tjet stream merge
Merge SOURCE's current head into a target stream: a new change whose revision has both heads as parents (conflicts are left to `tjet conflict`)
Usage: tjet stream merge [OPTIONS] <SOURCE>
Arguments:
<SOURCE> The stream to merge
Options:
--into <INTO> The stream to merge into [default: main]
--repo <REPO> Repository name (needed outside a workspace); before or after the subcommand
--title <TITLE> The title of the new change
-h, --help Print help
Global options:
--server <SERVER> Server base URL. Default: the workspace's server, else the profile's, else https://trunkjet.io (the server `tjet login` signs in to) [env: TJET_SERVER=]
--profile <PROFILE> Named profile of the user configuration (TOML; schema: docs/manual/user-config.md) [env: TJET_PROFILE=]
--timeout <TIMEOUT> Whole-command deadline in seconds. On expiry the command stops; a remote request may already have completed (exit 8 for mutating commands) [env: TJET_TIMEOUT=]
--no-progress Do not write progress to stderr [env: TJET_NO_PROGRESS=]
--token-fd <TOKEN_FD> Read a session or scoped (agent) token from this open file descriptor (never pass a secret as a command-line value)
--token-stdin Read a session or scoped (agent) token from standard input
--workspace <WORKSPACE> Workspace directory (default: search upward from the current directory)
--json Emit exactly one JSON result on stdout
--non-interactive Never prompt; return structured errors instead
--allow-elevated-writes Windows: let this command change workspaces itself although the shell is elevated and UAC is on. Risky: the user's unelevated programs could redirect those writes. Without it an elevated tjet writes only through the unelevated daemon
--request-id <REQUEST_ID> Request identity for this command. Re-running the same command with the same value repeats exactly the same requests, so the server replays outcomes it already recorded instead of executing twice (use it to retry after an unknown outcome, exit 8)
Examples:
tjet stream merge gift-cards --into main
tjet stream create
Create a stream (e.g. a maintained release stream) at a revision (stream_admin)
Usage: tjet stream create [OPTIONS] <NAME>
Arguments:
<NAME> The name
Options:
--at <AT> Accepted revision for the new head (default: the default stream's head)
--repo <REPO> Repository name (needed outside a workspace); before or after the subcommand
-h, --help Print help
Global options:
--server <SERVER> Server base URL. Default: the workspace's server, else the profile's, else https://trunkjet.io (the server `tjet login` signs in to) [env: TJET_SERVER=]
--profile <PROFILE> Named profile of the user configuration (TOML; schema: docs/manual/user-config.md) [env: TJET_PROFILE=]
--timeout <TIMEOUT> Whole-command deadline in seconds. On expiry the command stops; a remote request may already have completed (exit 8 for mutating commands) [env: TJET_TIMEOUT=]
--no-progress Do not write progress to stderr [env: TJET_NO_PROGRESS=]
--token-fd <TOKEN_FD> Read a session or scoped (agent) token from this open file descriptor (never pass a secret as a command-line value)
--token-stdin Read a session or scoped (agent) token from standard input
--workspace <WORKSPACE> Workspace directory (default: search upward from the current directory)
--json Emit exactly one JSON result on stdout
--non-interactive Never prompt; return structured errors instead
--allow-elevated-writes Windows: let this command change workspaces itself although the shell is elevated and UAC is on. Risky: the user's unelevated programs could redirect those writes. Without it an elevated tjet writes only through the unelevated daemon
--request-id <REQUEST_ID> Request identity for this command. Re-running the same command with the same value repeats exactly the same requests, so the server replays outcomes it already recorded instead of executing twice (use it to retry after an unknown outcome, exit 8)
Examples:
tjet stream create spring-menu
tjet merge
Merge stream SOURCE into another stream (default main): creates a change to review and land (same as `tjet stream merge`).
Nothing is merged until the change is approved and landed (`tjet land ID`). When both sides changed the same lines, the change is created with conflicts to resolve first (`tjet conflict show`, `tjet conflict resolve`); the exit status is still 0.
Usage: tjet merge [OPTIONS] <SOURCE>
Arguments:
<SOURCE>
The stream whose work to merge
Options:
--into <INTO>
The stream to merge into
[default: main]
--title <TITLE>
Title of the merge change (default: "Merge SOURCE into INTO")
--repo <REPO>
The repository (its name); needed outside a workspace
-h, --help
Print help (see a summary with '-h')
Global options:
--server <SERVER>
Server base URL. Default: the workspace's server, else the profile's, else https://trunkjet.io (the server `tjet login` signs in to)
[env: TJET_SERVER=]
--profile <PROFILE>
Named profile of the user configuration (TOML; schema: docs/manual/user-config.md)
[env: TJET_PROFILE=]
--timeout <TIMEOUT>
Whole-command deadline in seconds. On expiry the command stops; a remote request may already have completed (exit 8 for mutating commands)
[env: TJET_TIMEOUT=]
--no-progress
Do not write progress to stderr
[env: TJET_NO_PROGRESS=]
--token-fd <TOKEN_FD>
Read a session or scoped (agent) token from this open file descriptor (never pass a secret as a command-line value)
--token-stdin
Read a session or scoped (agent) token from standard input
--workspace <WORKSPACE>
Workspace directory (default: search upward from the current directory)
--json
Emit exactly one JSON result on stdout
--non-interactive
Never prompt; return structured errors instead
--allow-elevated-writes
Windows: let this command change workspaces itself although the shell is elevated and UAC is on. Risky: the user's unelevated programs could redirect those writes. Without it an elevated tjet writes only through the unelevated daemon
--request-id <REQUEST_ID>
Request identity for this command. Re-running the same command with the same value repeats exactly the same requests, so the server replays outcomes it already recorded instead of executing twice (use it to retry after an unknown outcome, exit 8)
Examples:
tjet merge gift-cards
tjet merge main --into release-1.0
tjet presubmit
Presubmit on changes: the runner, and the affected-target checks of a change
Usage: tjet presubmit [OPTIONS] <COMMAND>
Commands:
run Run as a presubmit runner: claim the repository's queued runs (this principal must be a service listed in the stream's trusted executors), compute the affected Bazel targets of each exact version, build and test them with the shared cache, report the results
show The presubmit checks of a change: the latest run, its targets, earlier runs
rerun Queue a fresh run of the change's current version
log The build log of a run (the end of Bazel's console output; default the latest run)
help Print this message or the help of the given subcommand(s)
Options:
--repo <REPO>
Repository name (needed outside a workspace); before or after the subcommand
-h, --help
Print help (see a summary with '-h')
Global options:
--server <SERVER>
Server base URL. Default: the workspace's server, else the profile's, else https://trunkjet.io (the server `tjet login` signs in to)
[env: TJET_SERVER=]
--profile <PROFILE>
Named profile of the user configuration (TOML; schema: docs/manual/user-config.md)
[env: TJET_PROFILE=]
--timeout <TIMEOUT>
Whole-command deadline in seconds. On expiry the command stops; a remote request may already have completed (exit 8 for mutating commands)
[env: TJET_TIMEOUT=]
--no-progress
Do not write progress to stderr
[env: TJET_NO_PROGRESS=]
--token-fd <TOKEN_FD>
Read a session or scoped (agent) token from this open file descriptor (never pass a secret as a command-line value)
--token-stdin
Read a session or scoped (agent) token from standard input
--workspace <WORKSPACE>
Workspace directory (default: search upward from the current directory)
--json
Emit exactly one JSON result on stdout
--non-interactive
Never prompt; return structured errors instead
--allow-elevated-writes
Windows: let this command change workspaces itself although the shell is elevated and UAC is on. Risky: the user's unelevated programs could redirect those writes. Without it an elevated tjet writes only through the unelevated daemon
--request-id <REQUEST_ID>
Request identity for this command. Re-running the same command with the same value repeats exactly the same requests, so the server replays outcomes it already recorded instead of executing twice (use it to retry after an unknown outcome, exit 8)
tjet presubmit run
Run as a presubmit runner: claim the repository's queued runs (this principal must be a service listed in the stream's trusted executors), compute the affected Bazel targets of each exact version, build and test them with the shared cache, report the results
Usage: tjet presubmit run [OPTIONS]
Options:
--once
Claim at most one run, then exit
--repo <REPO>
Repository name (needed outside a workspace); before or after the subcommand
--bazel <BAZEL>
The Bazel (or bazelisk) binary [default: bazel]
--work-dir <WORK_DIR>
Runner directory (snapshots, per-run output bases); default under the user cache
--remote-cache <REMOTE_CACHE>
REAPI cache of the build (tjetd: grpc://host:port on loopback, else grpcs://)
--remote-executor <REMOTE_EXECUTOR>
REAPI executor (tjetd): run the build's actions on the server's executor pool (grpc://host:port on loopback, else grpcs://); also the cache. Trusted runs use TJET_PRESUBMIT_CACHE_TOKEN, untrusted ones TJET_PRESUBMIT_UNTRUSTED_EXEC_TOKEN (an agent principal: the untrusted pool, never cached) or only read the cache
--instance <INSTANCE>
REAPI instance name (default: the repository name)
--universe <UNIVERSE>
Reverse-dependency universe (repeatable; default //...), e.g. --universe=//lib/... --universe=-//client/desktop/... (a leading - subtracts)
--test-tag-filters <TEST_TAG_FILTERS>
Bazel --test_tag_filters for the run (e.g. unit,-cargo-only): tests it excludes are left out of the affected set instead of reading as not run
--trusted-env <SECRET_ENV>
Environment variables handed to the tests of trusted runs only
--bazel-arg <BAZEL_ARGS>
Extra `bazel` arguments (repeatable), e.g. --bazel-arg=--config=ci
--startup-arg <STARTUP_ARGS>
Bazel startup options (repeatable), e.g. --startup-arg=--host_jvm_args=-Xmx2g
--untrusted-wrapper <UNTRUSTED_WRAPPER>
Run untrusted jobs (agent-written versions nobody independent approved) as `WRAPPER BAZEL ARGS...`: a program that runs Bazel as another user or in a container holding none of this runner's credentials, keys or caches. Without it untrusted runs are left for a runner that has one
--lease-ms <LEASE_MS>
Lease per claim in milliseconds (default 600000)
--poll-secs <POLL_SECS>
Seconds between claims while idle (without --once) [default: 5]
--signing-key <SIGNING_KEY>
Sign the candidate validations: private key file and its key id
--key-id <KEY_ID>
The id of the signing key
--fixers
Also be the repository's fixer runner: before each presubmit claim, run every waiting fixer job (sandboxed, as `tjet fixer run`), so fixers run first and presubmit tests the fixed version. The server holds a version's presubmit run back until its fixer run finished either way
--fixer-tool <FIXER_TOOLS>
A tool for the fixers, NAME=DIR (repeatable; with --fixers)
--fixer-cache <FIXER_CACHES>
A package cache for the fixers, NAME=DIR (repeatable; with --fixers)
-h, --help
Print help
Global options:
--server <SERVER> Server base URL. Default: the workspace's server, else the profile's, else https://trunkjet.io (the server `tjet login` signs in to) [env: TJET_SERVER=]
--profile <PROFILE> Named profile of the user configuration (TOML; schema: docs/manual/user-config.md) [env: TJET_PROFILE=]
--timeout <TIMEOUT> Whole-command deadline in seconds. On expiry the command stops; a remote request may already have completed (exit 8 for mutating commands) [env: TJET_TIMEOUT=]
--no-progress Do not write progress to stderr [env: TJET_NO_PROGRESS=]
--token-fd <TOKEN_FD> Read a session or scoped (agent) token from this open file descriptor (never pass a secret as a command-line value)
--token-stdin Read a session or scoped (agent) token from standard input
--workspace <WORKSPACE> Workspace directory (default: search upward from the current directory)
--json Emit exactly one JSON result on stdout
--non-interactive Never prompt; return structured errors instead
--allow-elevated-writes Windows: let this command change workspaces itself although the shell is elevated and UAC is on. Risky: the user's unelevated programs could redirect those writes. Without it an elevated tjet writes only through the unelevated daemon
--request-id <REQUEST_ID> Request identity for this command. Re-running the same command with the same value repeats exactly the same requests, so the server replays outcomes it already recorded instead of executing twice (use it to retry after an unknown outcome, exit 8)
Examples:
tjet presubmit run --repo web --once --bazel bazelisk --remote-cache grpcs://tjet.example:443
tjet presubmit show
The presubmit checks of a change: the latest run, its targets, earlier runs
Usage: tjet presubmit show [OPTIONS] <CHANGE>
Arguments:
<CHANGE> The change (its id or the first 8 characters; default: this workspace's change)
Options:
--repo <REPO> Repository name (needed outside a workspace); before or after the subcommand
--run <RUN> One run of the change (default: the latest)
-h, --help Print help
Global options:
--server <SERVER> Server base URL. Default: the workspace's server, else the profile's, else https://trunkjet.io (the server `tjet login` signs in to) [env: TJET_SERVER=]
--profile <PROFILE> Named profile of the user configuration (TOML; schema: docs/manual/user-config.md) [env: TJET_PROFILE=]
--timeout <TIMEOUT> Whole-command deadline in seconds. On expiry the command stops; a remote request may already have completed (exit 8 for mutating commands) [env: TJET_TIMEOUT=]
--no-progress Do not write progress to stderr [env: TJET_NO_PROGRESS=]
--token-fd <TOKEN_FD> Read a session or scoped (agent) token from this open file descriptor (never pass a secret as a command-line value)
--token-stdin Read a session or scoped (agent) token from standard input
--workspace <WORKSPACE> Workspace directory (default: search upward from the current directory)
--json Emit exactly one JSON result on stdout
--non-interactive Never prompt; return structured errors instead
--allow-elevated-writes Windows: let this command change workspaces itself although the shell is elevated and UAC is on. Risky: the user's unelevated programs could redirect those writes. Without it an elevated tjet writes only through the unelevated daemon
--request-id <REQUEST_ID> Request identity for this command. Re-running the same command with the same value repeats exactly the same requests, so the server replays outcomes it already recorded instead of executing twice (use it to retry after an unknown outcome, exit 8)
Examples:
tjet presubmit show CHANGE_ID
tjet presubmit rerun
Queue a fresh run of the change's current version
Usage: tjet presubmit rerun [OPTIONS] <CHANGE>
Arguments:
<CHANGE> The change (its id or the first 8 characters; default: this workspace's change)
Options:
--repo <REPO> Repository name (needed outside a workspace); before or after the subcommand
-h, --help Print help
Global options:
--server <SERVER> Server base URL. Default: the workspace's server, else the profile's, else https://trunkjet.io (the server `tjet login` signs in to) [env: TJET_SERVER=]
--profile <PROFILE> Named profile of the user configuration (TOML; schema: docs/manual/user-config.md) [env: TJET_PROFILE=]
--timeout <TIMEOUT> Whole-command deadline in seconds. On expiry the command stops; a remote request may already have completed (exit 8 for mutating commands) [env: TJET_TIMEOUT=]
--no-progress Do not write progress to stderr [env: TJET_NO_PROGRESS=]
--token-fd <TOKEN_FD> Read a session or scoped (agent) token from this open file descriptor (never pass a secret as a command-line value)
--token-stdin Read a session or scoped (agent) token from standard input
--workspace <WORKSPACE> Workspace directory (default: search upward from the current directory)
--json Emit exactly one JSON result on stdout
--non-interactive Never prompt; return structured errors instead
--allow-elevated-writes Windows: let this command change workspaces itself although the shell is elevated and UAC is on. Risky: the user's unelevated programs could redirect those writes. Without it an elevated tjet writes only through the unelevated daemon
--request-id <REQUEST_ID> Request identity for this command. Re-running the same command with the same value repeats exactly the same requests, so the server replays outcomes it already recorded instead of executing twice (use it to retry after an unknown outcome, exit 8)
Examples:
tjet presubmit rerun CHANGE_ID
tjet presubmit log
The build log of a run (the end of Bazel's console output; default the latest run)
Usage: tjet presubmit log [OPTIONS] <CHANGE>
Arguments:
<CHANGE> The change (its id or the first 8 characters; default: this workspace's change)
Options:
--repo <REPO> Repository name (needed outside a workspace); before or after the subcommand
--run <RUN> One run of the change (default: the latest)
-h, --help Print help
Global options:
--server <SERVER> Server base URL. Default: the workspace's server, else the profile's, else https://trunkjet.io (the server `tjet login` signs in to) [env: TJET_SERVER=]
--profile <PROFILE> Named profile of the user configuration (TOML; schema: docs/manual/user-config.md) [env: TJET_PROFILE=]
--timeout <TIMEOUT> Whole-command deadline in seconds. On expiry the command stops; a remote request may already have completed (exit 8 for mutating commands) [env: TJET_TIMEOUT=]
--no-progress Do not write progress to stderr [env: TJET_NO_PROGRESS=]
--token-fd <TOKEN_FD> Read a session or scoped (agent) token from this open file descriptor (never pass a secret as a command-line value)
--token-stdin Read a session or scoped (agent) token from standard input
--workspace <WORKSPACE> Workspace directory (default: search upward from the current directory)
--json Emit exactly one JSON result on stdout
--non-interactive Never prompt; return structured errors instead
--allow-elevated-writes Windows: let this command change workspaces itself although the shell is elevated and UAC is on. Risky: the user's unelevated programs could redirect those writes. Without it an elevated tjet writes only through the unelevated daemon
--request-id <REQUEST_ID> Request identity for this command. Re-running the same command with the same value repeats exactly the same requests, so the server replays outcomes it already recorded instead of executing twice (use it to retry after an unknown outcome, exit 8)
Examples:
tjet presubmit log CHANGE_ID
tjet validation
External check results for integration candidates
Usage: tjet validation [OPTIONS] <COMMAND>
Commands:
submit Report a check result for an exact candidate (trusted executors only)
keygen Generate an executor signing key: writes the private key file (mode 600, refusing to overwrite) and prints the public key for the server's `[[validation.executor_keys]]`
list
show The attempts of one check of a candidate (newest last) and its latest result
help Print this message or the help of the given subcommand(s)
Options:
--repo <REPO>
Repository name (needed outside a workspace); before or after the subcommand
-h, --help
Print help (see a summary with '-h')
Global options:
--server <SERVER>
Server base URL. Default: the workspace's server, else the profile's, else https://trunkjet.io (the server `tjet login` signs in to)
[env: TJET_SERVER=]
--profile <PROFILE>
Named profile of the user configuration (TOML; schema: docs/manual/user-config.md)
[env: TJET_PROFILE=]
--timeout <TIMEOUT>
Whole-command deadline in seconds. On expiry the command stops; a remote request may already have completed (exit 8 for mutating commands)
[env: TJET_TIMEOUT=]
--no-progress
Do not write progress to stderr
[env: TJET_NO_PROGRESS=]
--token-fd <TOKEN_FD>
Read a session or scoped (agent) token from this open file descriptor (never pass a secret as a command-line value)
--token-stdin
Read a session or scoped (agent) token from standard input
--workspace <WORKSPACE>
Workspace directory (default: search upward from the current directory)
--json
Emit exactly one JSON result on stdout
--non-interactive
Never prompt; return structured errors instead
--allow-elevated-writes
Windows: let this command change workspaces itself although the shell is elevated and UAC is on. Risky: the user's unelevated programs could redirect those writes. Without it an elevated tjet writes only through the unelevated daemon
--request-id <REQUEST_ID>
Request identity for this command. Re-running the same command with the same value repeats exactly the same requests, so the server replays outcomes it already recorded instead of executing twice (use it to retry after an unknown outcome, exit 8)
tjet validation submit
Report a check result for an exact candidate (trusted executors only)
Usage: tjet validation submit [OPTIONS] --candidate <CANDIDATE> --input-digest <INPUT_DIGEST> --check <CHECK> --result <RESULT>
Options:
--candidate <CANDIDATE> The integration candidate id
--repo <REPO> Repository name (needed outside a workspace); before or after the subcommand
--input-digest <INPUT_DIGEST> The digest of the inputs the check ran on
--check <CHECK> The check's name
--result <RESULT> The outcome (any letter case): pass, fail, cancelled or error [possible values: pass, fail, cancelled, error]
--check-version <CHECK_VERSION> The check's version [default: 1]
--environment <ENVIRONMENT> Where the check ran [default: unspecified]
--log <LOGS> Where the check's logs are
--artifact <ARTIFACTS> Artifact reference (repeatable)
--signing-key <SIGNING_KEY> Sign the result with this Ed25519 key file (32 raw bytes or 64 hex digits; must not be readable by group or others), as `--key-id`
--key-id <KEY_ID> The key ID the server has configured for this executor's public key
-h, --help Print help
Global options:
--server <SERVER> Server base URL. Default: the workspace's server, else the profile's, else https://trunkjet.io (the server `tjet login` signs in to) [env: TJET_SERVER=]
--profile <PROFILE> Named profile of the user configuration (TOML; schema: docs/manual/user-config.md) [env: TJET_PROFILE=]
--timeout <TIMEOUT> Whole-command deadline in seconds. On expiry the command stops; a remote request may already have completed (exit 8 for mutating commands) [env: TJET_TIMEOUT=]
--no-progress Do not write progress to stderr [env: TJET_NO_PROGRESS=]
--token-fd <TOKEN_FD> Read a session or scoped (agent) token from this open file descriptor (never pass a secret as a command-line value)
--token-stdin Read a session or scoped (agent) token from standard input
--workspace <WORKSPACE> Workspace directory (default: search upward from the current directory)
--json Emit exactly one JSON result on stdout
--non-interactive Never prompt; return structured errors instead
--allow-elevated-writes Windows: let this command change workspaces itself although the shell is elevated and UAC is on. Risky: the user's unelevated programs could redirect those writes. Without it an elevated tjet writes only through the unelevated daemon
--request-id <REQUEST_ID> Request identity for this command. Re-running the same command with the same value repeats exactly the same requests, so the server replays outcomes it already recorded instead of executing twice (use it to retry after an unknown outcome, exit 8)
Examples:
tjet validation submit --candidate ID --input-digest DIGEST --check unit --result pass
tjet validation keygen
Generate an executor signing key: writes the private key file (mode 600, refusing to overwrite) and prints the public key for the server's `[[validation.executor_keys]]`
Usage: tjet validation keygen [OPTIONS] --out <OUT>
Options:
--out <OUT> The private key file to write
--repo <REPO> Repository name (needed outside a workspace); before or after the subcommand
-h, --help Print help
Global options:
--server <SERVER> Server base URL. Default: the workspace's server, else the profile's, else https://trunkjet.io (the server `tjet login` signs in to) [env: TJET_SERVER=]
--profile <PROFILE> Named profile of the user configuration (TOML; schema: docs/manual/user-config.md) [env: TJET_PROFILE=]
--timeout <TIMEOUT> Whole-command deadline in seconds. On expiry the command stops; a remote request may already have completed (exit 8 for mutating commands) [env: TJET_TIMEOUT=]
--no-progress Do not write progress to stderr [env: TJET_NO_PROGRESS=]
--token-fd <TOKEN_FD> Read a session or scoped (agent) token from this open file descriptor (never pass a secret as a command-line value)
--token-stdin Read a session or scoped (agent) token from standard input
--workspace <WORKSPACE> Workspace directory (default: search upward from the current directory)
--json Emit exactly one JSON result on stdout
--non-interactive Never prompt; return structured errors instead
--allow-elevated-writes Windows: let this command change workspaces itself although the shell is elevated and UAC is on. Risky: the user's unelevated programs could redirect those writes. Without it an elevated tjet writes only through the unelevated daemon
--request-id <REQUEST_ID> Request identity for this command. Re-running the same command with the same value repeats exactly the same requests, so the server replays outcomes it already recorded instead of executing twice (use it to retry after an unknown outcome, exit 8)
Examples:
tjet validation keygen --out executor.key
tjet validation list
Usage: tjet validation list [OPTIONS] <CANDIDATE>
Arguments:
<CANDIDATE> The integration candidate id
Options:
--repo <REPO> Repository name (needed outside a workspace); before or after the subcommand
-h, --help Print help
Global options:
--server <SERVER> Server base URL. Default: the workspace's server, else the profile's, else https://trunkjet.io (the server `tjet login` signs in to) [env: TJET_SERVER=]
--profile <PROFILE> Named profile of the user configuration (TOML; schema: docs/manual/user-config.md) [env: TJET_PROFILE=]
--timeout <TIMEOUT> Whole-command deadline in seconds. On expiry the command stops; a remote request may already have completed (exit 8 for mutating commands) [env: TJET_TIMEOUT=]
--no-progress Do not write progress to stderr [env: TJET_NO_PROGRESS=]
--token-fd <TOKEN_FD> Read a session or scoped (agent) token from this open file descriptor (never pass a secret as a command-line value)
--token-stdin Read a session or scoped (agent) token from standard input
--workspace <WORKSPACE> Workspace directory (default: search upward from the current directory)
--json Emit exactly one JSON result on stdout
--non-interactive Never prompt; return structured errors instead
--allow-elevated-writes Windows: let this command change workspaces itself although the shell is elevated and UAC is on. Risky: the user's unelevated programs could redirect those writes. Without it an elevated tjet writes only through the unelevated daemon
--request-id <REQUEST_ID> Request identity for this command. Re-running the same command with the same value repeats exactly the same requests, so the server replays outcomes it already recorded instead of executing twice (use it to retry after an unknown outcome, exit 8)
Examples:
tjet validation list CANDIDATE_ID
tjet validation show
The attempts of one check of a candidate (newest last) and its latest result
Usage: tjet validation show [OPTIONS] --check <CHECK> <CANDIDATE>
Arguments:
<CANDIDATE> The integration candidate id
Options:
--check <CHECK> The check's name
--repo <REPO> Repository name (needed outside a workspace); before or after the subcommand
-h, --help Print help
Global options:
--server <SERVER> Server base URL. Default: the workspace's server, else the profile's, else https://trunkjet.io (the server `tjet login` signs in to) [env: TJET_SERVER=]
--profile <PROFILE> Named profile of the user configuration (TOML; schema: docs/manual/user-config.md) [env: TJET_PROFILE=]
--timeout <TIMEOUT> Whole-command deadline in seconds. On expiry the command stops; a remote request may already have completed (exit 8 for mutating commands) [env: TJET_TIMEOUT=]
--no-progress Do not write progress to stderr [env: TJET_NO_PROGRESS=]
--token-fd <TOKEN_FD> Read a session or scoped (agent) token from this open file descriptor (never pass a secret as a command-line value)
--token-stdin Read a session or scoped (agent) token from standard input
--workspace <WORKSPACE> Workspace directory (default: search upward from the current directory)
--json Emit exactly one JSON result on stdout
--non-interactive Never prompt; return structured errors instead
--allow-elevated-writes Windows: let this command change workspaces itself although the shell is elevated and UAC is on. Risky: the user's unelevated programs could redirect those writes. Without it an elevated tjet writes only through the unelevated daemon
--request-id <REQUEST_ID> Request identity for this command. Re-running the same command with the same value repeats exactly the same requests, so the server replays outcomes it already recorded instead of executing twice (use it to retry after an unknown outcome, exit 8)
Examples:
tjet validation show CANDIDATE_ID --check unit
tjet release
Release manifests and certification
Usage: tjet release [OPTIONS] <COMMAND>
Commands:
create Create a release: a named, frozen version (a draft until `tjet release certify NAME`)
show
list One page of releases in repository (release-id) order, not newest first. A `next_cursor` in the output means more releases exist: pass it to `--cursor`
certify Verify sources/evidence, pin sources and certify
revoke
retire End a certified or revoked release's retention: its source pins are retired. Refused while an environment still runs it. `--confirm` repeats the release name
help Print this message or the help of the given subcommand(s)
Options:
--repo <REPO>
Repository name (needed outside a workspace); before or after the subcommand
-h, --help
Print help (see a summary with '-h')
Global options:
--server <SERVER>
Server base URL. Default: the workspace's server, else the profile's, else https://trunkjet.io (the server `tjet login` signs in to)
[env: TJET_SERVER=]
--profile <PROFILE>
Named profile of the user configuration (TOML; schema: docs/manual/user-config.md)
[env: TJET_PROFILE=]
--timeout <TIMEOUT>
Whole-command deadline in seconds. On expiry the command stops; a remote request may already have completed (exit 8 for mutating commands)
[env: TJET_TIMEOUT=]
--no-progress
Do not write progress to stderr
[env: TJET_NO_PROGRESS=]
--token-fd <TOKEN_FD>
Read a session or scoped (agent) token from this open file descriptor (never pass a secret as a command-line value)
--token-stdin
Read a session or scoped (agent) token from standard input
--workspace <WORKSPACE>
Workspace directory (default: search upward from the current directory)
--json
Emit exactly one JSON result on stdout
--non-interactive
Never prompt; return structured errors instead
--allow-elevated-writes
Windows: let this command change workspaces itself although the shell is elevated and UAC is on. Risky: the user's unelevated programs could redirect those writes. Without it an elevated tjet writes only through the unelevated daemon
--request-id <REQUEST_ID>
Request identity for this command. Re-running the same command with the same value repeats exactly the same requests, so the server replays outcomes it already recorded instead of executing twice (use it to retry after an unknown outcome, exit 8)
tjet release create
Create a release: a named, frozen version (a draft until `tjet release certify NAME`).
By default the release holds the newest version of main of this repository (as the web app's "New release"); `--stream` takes another stream. `--source` names the parts exactly instead (several repositories, or an exact revision).
Usage: tjet release create [OPTIONS] <NAME>
Arguments:
<NAME>
The name
Options:
--repo <REPO>
Repository name (needed outside a workspace); before or after the subcommand
--stream <STREAM>
The stream whose newest version the release holds (when no --source is given)
[default: main]
--source <SOURCES>
A part of the release: ALIAS=REV or ALIAS=REPO:REV (optionally an @STREAM suffix). ALIAS is the part's name in the release (e.g. `app`); REV a revision id or a stream name (its newest version). Repeatable. Default: this repository at --stream
--toolchain <TOOLCHAIN>
Optional "built with" note: a UTF-8 text file (at most 64 KiB) recording the tools the release is built with (compiler versions, build image). Default: empty
--dep <DEPS>
NAME=SHA256@ORIGIN
--artifact <ARTIFACTS>
NAME=SHA256:BYTES (requires a configured artifact provider to certify)
--evidence <EVIDENCE>
Validation attempt id offered as evidence
-h, --help
Print help (see a summary with '-h')
Global options:
--server <SERVER>
Server base URL. Default: the workspace's server, else the profile's, else https://trunkjet.io (the server `tjet login` signs in to)
[env: TJET_SERVER=]
--profile <PROFILE>
Named profile of the user configuration (TOML; schema: docs/manual/user-config.md)
[env: TJET_PROFILE=]
--timeout <TIMEOUT>
Whole-command deadline in seconds. On expiry the command stops; a remote request may already have completed (exit 8 for mutating commands)
[env: TJET_TIMEOUT=]
--no-progress
Do not write progress to stderr
[env: TJET_NO_PROGRESS=]
--token-fd <TOKEN_FD>
Read a session or scoped (agent) token from this open file descriptor (never pass a secret as a command-line value)
--token-stdin
Read a session or scoped (agent) token from standard input
--workspace <WORKSPACE>
Workspace directory (default: search upward from the current directory)
--json
Emit exactly one JSON result on stdout
--non-interactive
Never prompt; return structured errors instead
--allow-elevated-writes
Windows: let this command change workspaces itself although the shell is elevated and UAC is on. Risky: the user's unelevated programs could redirect those writes. Without it an elevated tjet writes only through the unelevated daemon
--request-id <REQUEST_ID>
Request identity for this command. Re-running the same command with the same value repeats exactly the same requests, so the server replays outcomes it already recorded instead of executing twice (use it to retry after an unknown outcome, exit 8)
Examples:
tjet release create 1.3.0 # the newest version of main
tjet release create 1.3.0 --stream release-1.0 --toolchain built-with.txt
tjet release show
Usage: tjet release show [OPTIONS] <NAME>
Arguments:
<NAME> The name
Options:
--repo <REPO> Repository name (needed outside a workspace); before or after the subcommand
-h, --help Print help
Global options:
--server <SERVER> Server base URL. Default: the workspace's server, else the profile's, else https://trunkjet.io (the server `tjet login` signs in to) [env: TJET_SERVER=]
--profile <PROFILE> Named profile of the user configuration (TOML; schema: docs/manual/user-config.md) [env: TJET_PROFILE=]
--timeout <TIMEOUT> Whole-command deadline in seconds. On expiry the command stops; a remote request may already have completed (exit 8 for mutating commands) [env: TJET_TIMEOUT=]
--no-progress Do not write progress to stderr [env: TJET_NO_PROGRESS=]
--token-fd <TOKEN_FD> Read a session or scoped (agent) token from this open file descriptor (never pass a secret as a command-line value)
--token-stdin Read a session or scoped (agent) token from standard input
--workspace <WORKSPACE> Workspace directory (default: search upward from the current directory)
--json Emit exactly one JSON result on stdout
--non-interactive Never prompt; return structured errors instead
--allow-elevated-writes Windows: let this command change workspaces itself although the shell is elevated and UAC is on. Risky: the user's unelevated programs could redirect those writes. Without it an elevated tjet writes only through the unelevated daemon
--request-id <REQUEST_ID> Request identity for this command. Re-running the same command with the same value repeats exactly the same requests, so the server replays outcomes it already recorded instead of executing twice (use it to retry after an unknown outcome, exit 8)
Examples:
tjet release show 1.3.0
tjet release list
One page of releases in repository (release-id) order, not newest first. A `next_cursor` in the output means more releases exist: pass it to `--cursor`
Usage: tjet release list [OPTIONS]
Options:
--limit <LIMIT> Releases per page (the server clamps to 1..=500) [default: 100]
--repo <REPO> Repository name (needed outside a workspace); before or after the subcommand
--cursor <CURSOR> `next_cursor` from the previous page
-h, --help Print help
Global options:
--server <SERVER> Server base URL. Default: the workspace's server, else the profile's, else https://trunkjet.io (the server `tjet login` signs in to) [env: TJET_SERVER=]
--profile <PROFILE> Named profile of the user configuration (TOML; schema: docs/manual/user-config.md) [env: TJET_PROFILE=]
--timeout <TIMEOUT> Whole-command deadline in seconds. On expiry the command stops; a remote request may already have completed (exit 8 for mutating commands) [env: TJET_TIMEOUT=]
--no-progress Do not write progress to stderr [env: TJET_NO_PROGRESS=]
--token-fd <TOKEN_FD> Read a session or scoped (agent) token from this open file descriptor (never pass a secret as a command-line value)
--token-stdin Read a session or scoped (agent) token from standard input
--workspace <WORKSPACE> Workspace directory (default: search upward from the current directory)
--json Emit exactly one JSON result on stdout
--non-interactive Never prompt; return structured errors instead
--allow-elevated-writes Windows: let this command change workspaces itself although the shell is elevated and UAC is on. Risky: the user's unelevated programs could redirect those writes. Without it an elevated tjet writes only through the unelevated daemon
--request-id <REQUEST_ID> Request identity for this command. Re-running the same command with the same value repeats exactly the same requests, so the server replays outcomes it already recorded instead of executing twice (use it to retry after an unknown outcome, exit 8)
Examples:
tjet release list
tjet release certify
Verify sources/evidence, pin sources and certify
Usage: tjet release certify [OPTIONS] <NAME>
Arguments:
<NAME> The name
Options:
--repo <REPO> Repository name (needed outside a workspace); before or after the subcommand
-h, --help Print help
Global options:
--server <SERVER> Server base URL. Default: the workspace's server, else the profile's, else https://trunkjet.io (the server `tjet login` signs in to) [env: TJET_SERVER=]
--profile <PROFILE> Named profile of the user configuration (TOML; schema: docs/manual/user-config.md) [env: TJET_PROFILE=]
--timeout <TIMEOUT> Whole-command deadline in seconds. On expiry the command stops; a remote request may already have completed (exit 8 for mutating commands) [env: TJET_TIMEOUT=]
--no-progress Do not write progress to stderr [env: TJET_NO_PROGRESS=]
--token-fd <TOKEN_FD> Read a session or scoped (agent) token from this open file descriptor (never pass a secret as a command-line value)
--token-stdin Read a session or scoped (agent) token from standard input
--workspace <WORKSPACE> Workspace directory (default: search upward from the current directory)
--json Emit exactly one JSON result on stdout
--non-interactive Never prompt; return structured errors instead
--allow-elevated-writes Windows: let this command change workspaces itself although the shell is elevated and UAC is on. Risky: the user's unelevated programs could redirect those writes. Without it an elevated tjet writes only through the unelevated daemon
--request-id <REQUEST_ID> Request identity for this command. Re-running the same command with the same value repeats exactly the same requests, so the server replays outcomes it already recorded instead of executing twice (use it to retry after an unknown outcome, exit 8)
Examples:
tjet release certify 1.3.0
tjet release revoke
Usage: tjet release revoke [OPTIONS] --reason <REASON> <NAME>
Arguments:
<NAME> The name
Options:
--reason <REASON> Why (shown with the release)
--repo <REPO> Repository name (needed outside a workspace); before or after the subcommand
-h, --help Print help
Global options:
--server <SERVER> Server base URL. Default: the workspace's server, else the profile's, else https://trunkjet.io (the server `tjet login` signs in to) [env: TJET_SERVER=]
--profile <PROFILE> Named profile of the user configuration (TOML; schema: docs/manual/user-config.md) [env: TJET_PROFILE=]
--timeout <TIMEOUT> Whole-command deadline in seconds. On expiry the command stops; a remote request may already have completed (exit 8 for mutating commands) [env: TJET_TIMEOUT=]
--no-progress Do not write progress to stderr [env: TJET_NO_PROGRESS=]
--token-fd <TOKEN_FD> Read a session or scoped (agent) token from this open file descriptor (never pass a secret as a command-line value)
--token-stdin Read a session or scoped (agent) token from standard input
--workspace <WORKSPACE> Workspace directory (default: search upward from the current directory)
--json Emit exactly one JSON result on stdout
--non-interactive Never prompt; return structured errors instead
--allow-elevated-writes Windows: let this command change workspaces itself although the shell is elevated and UAC is on. Risky: the user's unelevated programs could redirect those writes. Without it an elevated tjet writes only through the unelevated daemon
--request-id <REQUEST_ID> Request identity for this command. Re-running the same command with the same value repeats exactly the same requests, so the server replays outcomes it already recorded instead of executing twice (use it to retry after an unknown outcome, exit 8)
Examples:
tjet release revoke 1.3.0 --reason "wrong prices"
tjet release retire
End a certified or revoked release's retention: its source pins are retired. Refused while an environment still runs it. `--confirm` repeats the release name
Usage: tjet release retire [OPTIONS] --reason <REASON> --confirm <CONFIRM> <NAME>
Arguments:
<NAME> The name
Options:
--reason <REASON> Why (recorded)
--repo <REPO> Repository name (needed outside a workspace); before or after the subcommand
--confirm <CONFIRM> The release name again, to confirm
-h, --help Print help
Global options:
--server <SERVER> Server base URL. Default: the workspace's server, else the profile's, else https://trunkjet.io (the server `tjet login` signs in to) [env: TJET_SERVER=]
--profile <PROFILE> Named profile of the user configuration (TOML; schema: docs/manual/user-config.md) [env: TJET_PROFILE=]
--timeout <TIMEOUT> Whole-command deadline in seconds. On expiry the command stops; a remote request may already have completed (exit 8 for mutating commands) [env: TJET_TIMEOUT=]
--no-progress Do not write progress to stderr [env: TJET_NO_PROGRESS=]
--token-fd <TOKEN_FD> Read a session or scoped (agent) token from this open file descriptor (never pass a secret as a command-line value)
--token-stdin Read a session or scoped (agent) token from standard input
--workspace <WORKSPACE> Workspace directory (default: search upward from the current directory)
--json Emit exactly one JSON result on stdout
--non-interactive Never prompt; return structured errors instead
--allow-elevated-writes Windows: let this command change workspaces itself although the shell is elevated and UAC is on. Risky: the user's unelevated programs could redirect those writes. Without it an elevated tjet writes only through the unelevated daemon
--request-id <REQUEST_ID> Request identity for this command. Re-running the same command with the same value repeats exactly the same requests, so the server replays outcomes it already recorded instead of executing twice (use it to retry after an unknown outcome, exit 8)
Examples:
tjet release retire 1.0.0 --reason "out of support" --confirm 1.0.0
tjet webhook
Webhook dead letters and their replay (stream administrators)
Usage: tjet webhook [OPTIONS] <COMMAND>
Commands:
list The repository's webhooks (secrets are never listed)
dead-letters Deliveries that exhausted their attempts, oldest first: delivery, event kind, attempts, last error and time. `truncated` means more exist than were returned
replay Re-queue dead letters of one webhook for a fresh round of attempts: the listed deliveries, or every dead letter of the webhook when none is named
help Print this message or the help of the given subcommand(s)
Options:
--repo <REPO>
Repository name (needed outside a workspace); before or after the subcommand
-h, --help
Print help (see a summary with '-h')
Global options:
--server <SERVER>
Server base URL. Default: the workspace's server, else the profile's, else https://trunkjet.io (the server `tjet login` signs in to)
[env: TJET_SERVER=]
--profile <PROFILE>
Named profile of the user configuration (TOML; schema: docs/manual/user-config.md)
[env: TJET_PROFILE=]
--timeout <TIMEOUT>
Whole-command deadline in seconds. On expiry the command stops; a remote request may already have completed (exit 8 for mutating commands)
[env: TJET_TIMEOUT=]
--no-progress
Do not write progress to stderr
[env: TJET_NO_PROGRESS=]
--token-fd <TOKEN_FD>
Read a session or scoped (agent) token from this open file descriptor (never pass a secret as a command-line value)
--token-stdin
Read a session or scoped (agent) token from standard input
--workspace <WORKSPACE>
Workspace directory (default: search upward from the current directory)
--json
Emit exactly one JSON result on stdout
--non-interactive
Never prompt; return structured errors instead
--allow-elevated-writes
Windows: let this command change workspaces itself although the shell is elevated and UAC is on. Risky: the user's unelevated programs could redirect those writes. Without it an elevated tjet writes only through the unelevated daemon
--request-id <REQUEST_ID>
Request identity for this command. Re-running the same command with the same value repeats exactly the same requests, so the server replays outcomes it already recorded instead of executing twice (use it to retry after an unknown outcome, exit 8)
tjet webhook list
The repository's webhooks (secrets are never listed)
Usage: tjet webhook list [OPTIONS]
Options:
--repo <REPO> Repository name (needed outside a workspace); before or after the subcommand
-h, --help Print help
Global options:
--server <SERVER> Server base URL. Default: the workspace's server, else the profile's, else https://trunkjet.io (the server `tjet login` signs in to) [env: TJET_SERVER=]
--profile <PROFILE> Named profile of the user configuration (TOML; schema: docs/manual/user-config.md) [env: TJET_PROFILE=]
--timeout <TIMEOUT> Whole-command deadline in seconds. On expiry the command stops; a remote request may already have completed (exit 8 for mutating commands) [env: TJET_TIMEOUT=]
--no-progress Do not write progress to stderr [env: TJET_NO_PROGRESS=]
--token-fd <TOKEN_FD> Read a session or scoped (agent) token from this open file descriptor (never pass a secret as a command-line value)
--token-stdin Read a session or scoped (agent) token from standard input
--workspace <WORKSPACE> Workspace directory (default: search upward from the current directory)
--json Emit exactly one JSON result on stdout
--non-interactive Never prompt; return structured errors instead
--allow-elevated-writes Windows: let this command change workspaces itself although the shell is elevated and UAC is on. Risky: the user's unelevated programs could redirect those writes. Without it an elevated tjet writes only through the unelevated daemon
--request-id <REQUEST_ID> Request identity for this command. Re-running the same command with the same value repeats exactly the same requests, so the server replays outcomes it already recorded instead of executing twice (use it to retry after an unknown outcome, exit 8)
Examples:
tjet webhook list
tjet webhook dead-letters
Deliveries that exhausted their attempts, oldest first: delivery, event kind, attempts, last error and time. `truncated` means more exist than were returned
Usage: tjet webhook dead-letters [OPTIONS]
Options:
--repo <REPO> Repository name (needed outside a workspace); before or after the subcommand
--webhook <WEBHOOK> Only this webhook's dead letters
--limit <LIMIT> At most this many (the server clamps to 1..=500; default 100)
-h, --help Print help
Global options:
--server <SERVER> Server base URL. Default: the workspace's server, else the profile's, else https://trunkjet.io (the server `tjet login` signs in to) [env: TJET_SERVER=]
--profile <PROFILE> Named profile of the user configuration (TOML; schema: docs/manual/user-config.md) [env: TJET_PROFILE=]
--timeout <TIMEOUT> Whole-command deadline in seconds. On expiry the command stops; a remote request may already have completed (exit 8 for mutating commands) [env: TJET_TIMEOUT=]
--no-progress Do not write progress to stderr [env: TJET_NO_PROGRESS=]
--token-fd <TOKEN_FD> Read a session or scoped (agent) token from this open file descriptor (never pass a secret as a command-line value)
--token-stdin Read a session or scoped (agent) token from standard input
--workspace <WORKSPACE> Workspace directory (default: search upward from the current directory)
--json Emit exactly one JSON result on stdout
--non-interactive Never prompt; return structured errors instead
--allow-elevated-writes Windows: let this command change workspaces itself although the shell is elevated and UAC is on. Risky: the user's unelevated programs could redirect those writes. Without it an elevated tjet writes only through the unelevated daemon
--request-id <REQUEST_ID> Request identity for this command. Re-running the same command with the same value repeats exactly the same requests, so the server replays outcomes it already recorded instead of executing twice (use it to retry after an unknown outcome, exit 8)
Examples:
tjet webhook dead-letters
tjet webhook replay
Re-queue dead letters of one webhook for a fresh round of attempts: the listed deliveries, or every dead letter of the webhook when none is named
Usage: tjet webhook replay [OPTIONS] <WEBHOOK> [DELIVERIES]...
Arguments:
<WEBHOOK> The webhook id (from `tjet webhook list`)
[DELIVERIES]... Delivery ids from `tjet webhook dead-letters`
Options:
--repo <REPO> Repository name (needed outside a workspace); before or after the subcommand
-h, --help Print help
Global options:
--server <SERVER> Server base URL. Default: the workspace's server, else the profile's, else https://trunkjet.io (the server `tjet login` signs in to) [env: TJET_SERVER=]
--profile <PROFILE> Named profile of the user configuration (TOML; schema: docs/manual/user-config.md) [env: TJET_PROFILE=]
--timeout <TIMEOUT> Whole-command deadline in seconds. On expiry the command stops; a remote request may already have completed (exit 8 for mutating commands) [env: TJET_TIMEOUT=]
--no-progress Do not write progress to stderr [env: TJET_NO_PROGRESS=]
--token-fd <TOKEN_FD> Read a session or scoped (agent) token from this open file descriptor (never pass a secret as a command-line value)
--token-stdin Read a session or scoped (agent) token from standard input
--workspace <WORKSPACE> Workspace directory (default: search upward from the current directory)
--json Emit exactly one JSON result on stdout
--non-interactive Never prompt; return structured errors instead
--allow-elevated-writes Windows: let this command change workspaces itself although the shell is elevated and UAC is on. Risky: the user's unelevated programs could redirect those writes. Without it an elevated tjet writes only through the unelevated daemon
--request-id <REQUEST_ID> Request identity for this command. Re-running the same command with the same value repeats exactly the same requests, so the server replays outcomes it already recorded instead of executing twice (use it to retry after an unknown outcome, exit 8)
Examples:
tjet webhook replay WEBHOOK_ID
tjet repo
Repository administration
Usage: tjet repo [OPTIONS] <COMMAND>
Commands:
create
list
grant Bind SUBJECT to ROLE on repository NAME (policy_admin)
show
archive Make a repository read-only (repository_admin); --undo makes it writable again
rename Rename a repository (policy administrators). The old address keeps working for everyone who can see the repository, and the old name is never given to another repository
resolve Show where an address points: the repository, its canonical address and permalink. Follows renames; `tjet.io/NAME` and `trunkjet.io/NAME` are the same repository
delete Delete a repository (organisation administrators). It disappears at once and can be restored by an administrator for the installation's recovery window (7 days by default), then it is purged for good. --confirm must repeat the exact name. Deleting needs a person who just signed in in the browser: command-line sessions and tokens are refused (REAUTH_REQUIRED), so use Settings > Delete repository in the web, or ask the operator (tjet-admin repo delete)
export Download a native archive of everything you may read, verified against its digest
import Upload and restore a native archive read-only (tenant administrators)
help Print this message or the help of the given subcommand(s)
Options:
-h, --help
Print help (see a summary with '-h')
Global options:
--server <SERVER>
Server base URL. Default: the workspace's server, else the profile's, else https://trunkjet.io (the server `tjet login` signs in to)
[env: TJET_SERVER=]
--profile <PROFILE>
Named profile of the user configuration (TOML; schema: docs/manual/user-config.md)
[env: TJET_PROFILE=]
--timeout <TIMEOUT>
Whole-command deadline in seconds. On expiry the command stops; a remote request may already have completed (exit 8 for mutating commands)
[env: TJET_TIMEOUT=]
--no-progress
Do not write progress to stderr
[env: TJET_NO_PROGRESS=]
--token-fd <TOKEN_FD>
Read a session or scoped (agent) token from this open file descriptor (never pass a secret as a command-line value)
--token-stdin
Read a session or scoped (agent) token from standard input
--workspace <WORKSPACE>
Workspace directory (default: search upward from the current directory)
--json
Emit exactly one JSON result on stdout
--non-interactive
Never prompt; return structured errors instead
--allow-elevated-writes
Windows: let this command change workspaces itself although the shell is elevated and UAC is on. Risky: the user's unelevated programs could redirect those writes. Without it an elevated tjet writes only through the unelevated daemon
--request-id <REQUEST_ID>
Request identity for this command. Re-running the same command with the same value repeats exactly the same requests, so the server replays outcomes it already recorded instead of executing twice (use it to retry after an unknown outcome, exit 8)
tjet repo create
Usage: tjet repo create [OPTIONS] <NAME>
Arguments:
<NAME> The new repository's name
Options:
--path-profile <PATH_PROFILE> Path profile: portable-v1 (default) or posix-bytes-v1. (`--profile` names a user configuration profile.) [default: portable-v1]
-h, --help Print help
Global options:
--server <SERVER> Server base URL. Default: the workspace's server, else the profile's, else https://trunkjet.io (the server `tjet login` signs in to) [env: TJET_SERVER=]
--profile <PROFILE> Named profile of the user configuration (TOML; schema: docs/manual/user-config.md) [env: TJET_PROFILE=]
--timeout <TIMEOUT> Whole-command deadline in seconds. On expiry the command stops; a remote request may already have completed (exit 8 for mutating commands) [env: TJET_TIMEOUT=]
--no-progress Do not write progress to stderr [env: TJET_NO_PROGRESS=]
--token-fd <TOKEN_FD> Read a session or scoped (agent) token from this open file descriptor (never pass a secret as a command-line value)
--token-stdin Read a session or scoped (agent) token from standard input
--workspace <WORKSPACE> Workspace directory (default: search upward from the current directory)
--json Emit exactly one JSON result on stdout
--non-interactive Never prompt; return structured errors instead
--allow-elevated-writes Windows: let this command change workspaces itself although the shell is elevated and UAC is on. Risky: the user's unelevated programs could redirect those writes. Without it an elevated tjet writes only through the unelevated daemon
--request-id <REQUEST_ID> Request identity for this command. Re-running the same command with the same value repeats exactly the same requests, so the server replays outcomes it already recorded instead of executing twice (use it to retry after an unknown outcome, exit 8)
Examples:
tjet repo create shop
tjet repo list
Usage: tjet repo list [OPTIONS]
Options:
-h, --help Print help
Global options:
--server <SERVER> Server base URL. Default: the workspace's server, else the profile's, else https://trunkjet.io (the server `tjet login` signs in to) [env: TJET_SERVER=]
--profile <PROFILE> Named profile of the user configuration (TOML; schema: docs/manual/user-config.md) [env: TJET_PROFILE=]
--timeout <TIMEOUT> Whole-command deadline in seconds. On expiry the command stops; a remote request may already have completed (exit 8 for mutating commands) [env: TJET_TIMEOUT=]
--no-progress Do not write progress to stderr [env: TJET_NO_PROGRESS=]
--token-fd <TOKEN_FD> Read a session or scoped (agent) token from this open file descriptor (never pass a secret as a command-line value)
--token-stdin Read a session or scoped (agent) token from standard input
--workspace <WORKSPACE> Workspace directory (default: search upward from the current directory)
--json Emit exactly one JSON result on stdout
--non-interactive Never prompt; return structured errors instead
--allow-elevated-writes Windows: let this command change workspaces itself although the shell is elevated and UAC is on. Risky: the user's unelevated programs could redirect those writes. Without it an elevated tjet writes only through the unelevated daemon
--request-id <REQUEST_ID> Request identity for this command. Re-running the same command with the same value repeats exactly the same requests, so the server replays outcomes it already recorded instead of executing twice (use it to retry after an unknown outcome, exit 8)
Examples:
tjet repo list
tjet repo grant
Bind SUBJECT to ROLE on repository NAME (policy_admin)
Usage: tjet repo grant [OPTIONS] <NAME> <SUBJECT> <ROLE>
Arguments:
<NAME> The repository
<SUBJECT> The person (user name) or principal id
<ROLE> reader, developer, reviewer, maintainer or repository_admin
Options:
-h, --help Print help
Global options:
--server <SERVER> Server base URL. Default: the workspace's server, else the profile's, else https://trunkjet.io (the server `tjet login` signs in to) [env: TJET_SERVER=]
--profile <PROFILE> Named profile of the user configuration (TOML; schema: docs/manual/user-config.md) [env: TJET_PROFILE=]
--timeout <TIMEOUT> Whole-command deadline in seconds. On expiry the command stops; a remote request may already have completed (exit 8 for mutating commands) [env: TJET_TIMEOUT=]
--no-progress Do not write progress to stderr [env: TJET_NO_PROGRESS=]
--token-fd <TOKEN_FD> Read a session or scoped (agent) token from this open file descriptor (never pass a secret as a command-line value)
--token-stdin Read a session or scoped (agent) token from standard input
--workspace <WORKSPACE> Workspace directory (default: search upward from the current directory)
--json Emit exactly one JSON result on stdout
--non-interactive Never prompt; return structured errors instead
--allow-elevated-writes Windows: let this command change workspaces itself although the shell is elevated and UAC is on. Risky: the user's unelevated programs could redirect those writes. Without it an elevated tjet writes only through the unelevated daemon
--request-id <REQUEST_ID> Request identity for this command. Re-running the same command with the same value repeats exactly the same requests, so the server replays outcomes it already recorded instead of executing twice (use it to retry after an unknown outcome, exit 8)
Examples:
tjet repo grant shop carol developer
tjet repo show
Usage: tjet repo show [OPTIONS] <NAME>
Arguments:
<NAME> The repository
Options:
-h, --help Print help
Global options:
--server <SERVER> Server base URL. Default: the workspace's server, else the profile's, else https://trunkjet.io (the server `tjet login` signs in to) [env: TJET_SERVER=]
--profile <PROFILE> Named profile of the user configuration (TOML; schema: docs/manual/user-config.md) [env: TJET_PROFILE=]
--timeout <TIMEOUT> Whole-command deadline in seconds. On expiry the command stops; a remote request may already have completed (exit 8 for mutating commands) [env: TJET_TIMEOUT=]
--no-progress Do not write progress to stderr [env: TJET_NO_PROGRESS=]
--token-fd <TOKEN_FD> Read a session or scoped (agent) token from this open file descriptor (never pass a secret as a command-line value)
--token-stdin Read a session or scoped (agent) token from standard input
--workspace <WORKSPACE> Workspace directory (default: search upward from the current directory)
--json Emit exactly one JSON result on stdout
--non-interactive Never prompt; return structured errors instead
--allow-elevated-writes Windows: let this command change workspaces itself although the shell is elevated and UAC is on. Risky: the user's unelevated programs could redirect those writes. Without it an elevated tjet writes only through the unelevated daemon
--request-id <REQUEST_ID> Request identity for this command. Re-running the same command with the same value repeats exactly the same requests, so the server replays outcomes it already recorded instead of executing twice (use it to retry after an unknown outcome, exit 8)
Examples:
tjet repo show shop
tjet repo archive
Make a repository read-only (repository_admin); --undo makes it writable again
Usage: tjet repo archive [OPTIONS] <NAME>
Arguments:
<NAME> The repository
Options:
--undo Make it writable again
-h, --help Print help
Global options:
--server <SERVER> Server base URL. Default: the workspace's server, else the profile's, else https://trunkjet.io (the server `tjet login` signs in to) [env: TJET_SERVER=]
--profile <PROFILE> Named profile of the user configuration (TOML; schema: docs/manual/user-config.md) [env: TJET_PROFILE=]
--timeout <TIMEOUT> Whole-command deadline in seconds. On expiry the command stops; a remote request may already have completed (exit 8 for mutating commands) [env: TJET_TIMEOUT=]
--no-progress Do not write progress to stderr [env: TJET_NO_PROGRESS=]
--token-fd <TOKEN_FD> Read a session or scoped (agent) token from this open file descriptor (never pass a secret as a command-line value)
--token-stdin Read a session or scoped (agent) token from standard input
--workspace <WORKSPACE> Workspace directory (default: search upward from the current directory)
--json Emit exactly one JSON result on stdout
--non-interactive Never prompt; return structured errors instead
--allow-elevated-writes Windows: let this command change workspaces itself although the shell is elevated and UAC is on. Risky: the user's unelevated programs could redirect those writes. Without it an elevated tjet writes only through the unelevated daemon
--request-id <REQUEST_ID> Request identity for this command. Re-running the same command with the same value repeats exactly the same requests, so the server replays outcomes it already recorded instead of executing twice (use it to retry after an unknown outcome, exit 8)
Examples:
tjet repo archive shop
tjet repo archive shop --undo
tjet repo rename
Rename a repository (policy administrators). The old address keeps working for everyone who can see the repository, and the old name is never given to another repository
Usage: tjet repo rename [OPTIONS] <NAME> <NEW_NAME>
Arguments:
<NAME> The repository (name or address such as `acme/web`)
<NEW_NAME> Its new name
Options:
-h, --help Print help
Global options:
--server <SERVER> Server base URL. Default: the workspace's server, else the profile's, else https://trunkjet.io (the server `tjet login` signs in to) [env: TJET_SERVER=]
--profile <PROFILE> Named profile of the user configuration (TOML; schema: docs/manual/user-config.md) [env: TJET_PROFILE=]
--timeout <TIMEOUT> Whole-command deadline in seconds. On expiry the command stops; a remote request may already have completed (exit 8 for mutating commands) [env: TJET_TIMEOUT=]
--no-progress Do not write progress to stderr [env: TJET_NO_PROGRESS=]
--token-fd <TOKEN_FD> Read a session or scoped (agent) token from this open file descriptor (never pass a secret as a command-line value)
--token-stdin Read a session or scoped (agent) token from standard input
--workspace <WORKSPACE> Workspace directory (default: search upward from the current directory)
--json Emit exactly one JSON result on stdout
--non-interactive Never prompt; return structured errors instead
--allow-elevated-writes Windows: let this command change workspaces itself although the shell is elevated and UAC is on. Risky: the user's unelevated programs could redirect those writes. Without it an elevated tjet writes only through the unelevated daemon
--request-id <REQUEST_ID> Request identity for this command. Re-running the same command with the same value repeats exactly the same requests, so the server replays outcomes it already recorded instead of executing twice (use it to retry after an unknown outcome, exit 8)
Examples:
tjet repo rename shop webshop
tjet repo resolve
Show where an address points: the repository, its canonical address and permalink. Follows renames; `tjet.io/NAME` and `trunkjet.io/NAME` are the same repository
Usage: tjet repo resolve [OPTIONS] <ADDRESS>
Arguments:
<ADDRESS> An address: `acme/web`, `tjet.io/acme/web`, `r/<uuid>` or a mirror source
Options:
-h, --help Print help
Global options:
--server <SERVER> Server base URL. Default: the workspace's server, else the profile's, else https://trunkjet.io (the server `tjet login` signs in to) [env: TJET_SERVER=]
--profile <PROFILE> Named profile of the user configuration (TOML; schema: docs/manual/user-config.md) [env: TJET_PROFILE=]
--timeout <TIMEOUT> Whole-command deadline in seconds. On expiry the command stops; a remote request may already have completed (exit 8 for mutating commands) [env: TJET_TIMEOUT=]
--no-progress Do not write progress to stderr [env: TJET_NO_PROGRESS=]
--token-fd <TOKEN_FD> Read a session or scoped (agent) token from this open file descriptor (never pass a secret as a command-line value)
--token-stdin Read a session or scoped (agent) token from standard input
--workspace <WORKSPACE> Workspace directory (default: search upward from the current directory)
--json Emit exactly one JSON result on stdout
--non-interactive Never prompt; return structured errors instead
--allow-elevated-writes Windows: let this command change workspaces itself although the shell is elevated and UAC is on. Risky: the user's unelevated programs could redirect those writes. Without it an elevated tjet writes only through the unelevated daemon
--request-id <REQUEST_ID> Request identity for this command. Re-running the same command with the same value repeats exactly the same requests, so the server replays outcomes it already recorded instead of executing twice (use it to retry after an unknown outcome, exit 8)
Examples:
tjet repo resolve tjet.io/acme/shop
tjet repo resolve r/0b8c3f1e-6f3a-4d55-9a2b-7c1d2e3f4a5b
tjet repo delete
Delete a repository (organisation administrators). It disappears at once and can be restored by an administrator for the installation's recovery window (7 days by default), then it is purged for good. --confirm must repeat the exact name. Deleting needs a person who just signed in in the browser: command-line sessions and tokens are refused (REAUTH_REQUIRED), so use Settings > Delete repository in the web, or ask the operator (tjet-admin repo delete)
Usage: tjet repo delete [OPTIONS] --confirm <CONFIRM> <NAME>
Arguments:
<NAME> The repository to delete
Options:
--confirm <CONFIRM> The repository name again, to confirm
-h, --help Print help
Global options:
--server <SERVER> Server base URL. Default: the workspace's server, else the profile's, else https://trunkjet.io (the server `tjet login` signs in to) [env: TJET_SERVER=]
--profile <PROFILE> Named profile of the user configuration (TOML; schema: docs/manual/user-config.md) [env: TJET_PROFILE=]
--timeout <TIMEOUT> Whole-command deadline in seconds. On expiry the command stops; a remote request may already have completed (exit 8 for mutating commands) [env: TJET_TIMEOUT=]
--no-progress Do not write progress to stderr [env: TJET_NO_PROGRESS=]
--token-fd <TOKEN_FD> Read a session or scoped (agent) token from this open file descriptor (never pass a secret as a command-line value)
--token-stdin Read a session or scoped (agent) token from standard input
--workspace <WORKSPACE> Workspace directory (default: search upward from the current directory)
--json Emit exactly one JSON result on stdout
--non-interactive Never prompt; return structured errors instead
--allow-elevated-writes Windows: let this command change workspaces itself although the shell is elevated and UAC is on. Risky: the user's unelevated programs could redirect those writes. Without it an elevated tjet writes only through the unelevated daemon
--request-id <REQUEST_ID> Request identity for this command. Re-running the same command with the same value repeats exactly the same requests, so the server replays outcomes it already recorded instead of executing twice (use it to retry after an unknown outcome, exit 8)
Examples:
tjet repo delete shop --confirm shop
tjet repo export
Download a native archive of everything you may read, verified against its digest
Usage: tjet repo export [OPTIONS] --output <OUTPUT> <NAME>
Arguments:
<NAME> The repository to export
Options:
--output <OUTPUT> The archive file to write
-h, --help Print help
Global options:
--server <SERVER> Server base URL. Default: the workspace's server, else the profile's, else https://trunkjet.io (the server `tjet login` signs in to) [env: TJET_SERVER=]
--profile <PROFILE> Named profile of the user configuration (TOML; schema: docs/manual/user-config.md) [env: TJET_PROFILE=]
--timeout <TIMEOUT> Whole-command deadline in seconds. On expiry the command stops; a remote request may already have completed (exit 8 for mutating commands) [env: TJET_TIMEOUT=]
--no-progress Do not write progress to stderr [env: TJET_NO_PROGRESS=]
--token-fd <TOKEN_FD> Read a session or scoped (agent) token from this open file descriptor (never pass a secret as a command-line value)
--token-stdin Read a session or scoped (agent) token from standard input
--workspace <WORKSPACE> Workspace directory (default: search upward from the current directory)
--json Emit exactly one JSON result on stdout
--non-interactive Never prompt; return structured errors instead
--allow-elevated-writes Windows: let this command change workspaces itself although the shell is elevated and UAC is on. Risky: the user's unelevated programs could redirect those writes. Without it an elevated tjet writes only through the unelevated daemon
--request-id <REQUEST_ID> Request identity for this command. Re-running the same command with the same value repeats exactly the same requests, so the server replays outcomes it already recorded instead of executing twice (use it to retry after an unknown outcome, exit 8)
Examples:
tjet repo export shop --output shop.tjetarchive
tjet repo import
Upload and restore a native archive read-only (tenant administrators)
Usage: tjet repo import [OPTIONS] <FILE>
Arguments:
<FILE> The archive file (from `tjet repo export`)
Options:
-h, --help Print help
Global options:
--server <SERVER> Server base URL. Default: the workspace's server, else the profile's, else https://trunkjet.io (the server `tjet login` signs in to) [env: TJET_SERVER=]
--profile <PROFILE> Named profile of the user configuration (TOML; schema: docs/manual/user-config.md) [env: TJET_PROFILE=]
--timeout <TIMEOUT> Whole-command deadline in seconds. On expiry the command stops; a remote request may already have completed (exit 8 for mutating commands) [env: TJET_TIMEOUT=]
--no-progress Do not write progress to stderr [env: TJET_NO_PROGRESS=]
--token-fd <TOKEN_FD> Read a session or scoped (agent) token from this open file descriptor (never pass a secret as a command-line value)
--token-stdin Read a session or scoped (agent) token from standard input
--workspace <WORKSPACE> Workspace directory (default: search upward from the current directory)
--json Emit exactly one JSON result on stdout
--non-interactive Never prompt; return structured errors instead
--allow-elevated-writes Windows: let this command change workspaces itself although the shell is elevated and UAC is on. Risky: the user's unelevated programs could redirect those writes. Without it an elevated tjet writes only through the unelevated daemon
--request-id <REQUEST_ID> Request identity for this command. Re-running the same command with the same value repeats exactly the same requests, so the server replays outcomes it already recorded instead of executing twice (use it to retry after an unknown outcome, exit 8)
Examples:
tjet repo import shop.tjetarchive
tjet workspace
Workspace management
Usage: tjet workspace [OPTIONS] <COMMAND>
Commands:
open Get a copy of repository REPO in folder DIR to work in
show
bind Bind this workspace to your account: background publishing of checkpoints saved with --remote then uses exactly that account's stored login, and nothing else. The account is the one tjet authenticates as (TJET_TOKEN, or the stored login), or with --account the stored login of that principal; the server confirms who it is. Workspaces opened before bindings existed, and `.tjet/` directories copied from elsewhere, are unbound until this (or an interactive `tjet sync`) binds them
switch Switch this workspace to another stream of its repository (like `git switch`)
update Move the workspace base to --rev or the stream head (journaled)
new A new workspace in DIR for a new task (like `git worktree add`): same repository, stream, view and base as this one, on its own new change; files come from this workspace (digest-verified, copy-on-write where the filesystem can), only files that differ here are downloaded. Your edits here stay here
fork Fork the current workspace into DIR for an agent: same repository, stream, view and base; identical files are copied locally (digest-verified), the rest is fetched
include Widen the sparse view: materialize these repository path prefixes at the base
exclude Narrow the sparse view by one include prefix (refused if anything below it is not plain base content)
list Workspaces you opened or forked on this machine
close Remove the current workspace if it holds nothing unique (exit 4 otherwise), or with --expired every expired forked workspace that holds nothing unique
unpin Release the offline pin (pinned content becomes ordinary, evictable cache)
preimages Show or set preimage retention (days), pins of an operation's preimages and the advisory disk budget (reported, never enforced by deleting unexpired preimages)
pin Hydrate and pin the content needed for offline local operations
prefetch Download the files at or below PATH into a virtual workspace, so they read without the network and, on Windows, from session 0 (services, SSH, CI agents), whose on-demand reads the Cloud Files filter refuses
compact Merge this workspace's small local object packs into one (D-1638; the daemon does this on its own above 32 packs). Readers keep working; a crash at any point loses nothing
help Print this message or the help of the given subcommand(s)
Options:
-h, --help
Print help (see a summary with '-h')
Global options:
--server <SERVER>
Server base URL. Default: the workspace's server, else the profile's, else https://trunkjet.io (the server `tjet login` signs in to)
[env: TJET_SERVER=]
--profile <PROFILE>
Named profile of the user configuration (TOML; schema: docs/manual/user-config.md)
[env: TJET_PROFILE=]
--timeout <TIMEOUT>
Whole-command deadline in seconds. On expiry the command stops; a remote request may already have completed (exit 8 for mutating commands)
[env: TJET_TIMEOUT=]
--no-progress
Do not write progress to stderr
[env: TJET_NO_PROGRESS=]
--token-fd <TOKEN_FD>
Read a session or scoped (agent) token from this open file descriptor (never pass a secret as a command-line value)
--token-stdin
Read a session or scoped (agent) token from standard input
--workspace <WORKSPACE>
Workspace directory (default: search upward from the current directory)
--json
Emit exactly one JSON result on stdout
--non-interactive
Never prompt; return structured errors instead
--allow-elevated-writes
Windows: let this command change workspaces itself although the shell is elevated and UAC is on. Risky: the user's unelevated programs could redirect those writes. Without it an elevated tjet writes only through the unelevated daemon
--request-id <REQUEST_ID>
Request identity for this command. Re-running the same command with the same value repeats exactly the same requests, so the server replays outcomes it already recorded instead of executing twice (use it to retry after an unknown outcome, exit 8)
tjet workspace open
Get a copy of repository REPO in folder DIR to work in.
Opens a materialized workspace of REPO at DIR (by default on stream main).
Windows: symlinks are NTFS symlinks, which need Developer Mode or an elevated session; otherwise PATH_NOT_MATERIALIZABLE names them. Links created without administrator rights (Developer Mode) work in the interactive desktop session. Processes that enforce Windows redirection trust, such as those started by the OpenSSH server or by services, refuse to follow them (ERROR_UNTRUSTED_MOUNT_POINT, 448); tjet itself never follows links and keeps working there. Open the workspace from an elevated session when other tools must follow its links in such processes.
Usage: tjet workspace open [OPTIONS] <REPO> [DIR]
Arguments:
<REPO>
The repository: its address (`acme/web`, `tjet.io/acme/web`, `trunkjet.io/acme/web`, `https://<server>/acme/web`, the permalink `r/<uuid>`, a mirror such as `github.com/rust-lang/log`) or a bare name in your current organisation
[DIR]
The folder to create the workspace in (default: the repository's name, as with `git clone`)
Options:
--stream <STREAM>
The stream to work on
[default: main]
--include <INCLUDE>
Include only these repository path prefixes (sparse view)
--rev <REV>
Open an exact accepted revision instead of the stream head
--trust-symlinks
Explicit local trust: also materialize symlinks whose targets are absolute or leave the workspace (otherwise they stay tracked but unmaterialized)
--mode <MODE>
`virtual`: DIR becomes a mount point served by the per-user daemon; files are fetched when first read (Linux FUSE, D-1610; Windows ProjFS, D-1611; V1 is not qualified). Needs the daemon running; refused where neither is available
[default: materialized]
[possible values: materialized, virtual]
-h, --help
Print help (see a summary with '-h')
Global options:
--server <SERVER>
Server base URL. Default: the workspace's server, else the profile's, else https://trunkjet.io (the server `tjet login` signs in to)
[env: TJET_SERVER=]
--profile <PROFILE>
Named profile of the user configuration (TOML; schema: docs/manual/user-config.md)
[env: TJET_PROFILE=]
--timeout <TIMEOUT>
Whole-command deadline in seconds. On expiry the command stops; a remote request may already have completed (exit 8 for mutating commands)
[env: TJET_TIMEOUT=]
--no-progress
Do not write progress to stderr
[env: TJET_NO_PROGRESS=]
--token-fd <TOKEN_FD>
Read a session or scoped (agent) token from this open file descriptor (never pass a secret as a command-line value)
--token-stdin
Read a session or scoped (agent) token from standard input
--workspace <WORKSPACE>
Workspace directory (default: search upward from the current directory)
--json
Emit exactly one JSON result on stdout
--non-interactive
Never prompt; return structured errors instead
--allow-elevated-writes
Windows: let this command change workspaces itself although the shell is elevated and UAC is on. Risky: the user's unelevated programs could redirect those writes. Without it an elevated tjet writes only through the unelevated daemon
--request-id <REQUEST_ID>
Request identity for this command. Re-running the same command with the same value repeats exactly the same requests, so the server replays outcomes it already recorded instead of executing twice (use it to retry after an unknown outcome, exit 8)
Examples:
tjet workspace open shop shop
tjet workspace open shop shop-gift --stream gift-cards
tjet clone tjet.io/acme/shop
tjet workspace show
Usage: tjet workspace show [OPTIONS]
Options:
-h, --help Print help
Global options:
--server <SERVER> Server base URL. Default: the workspace's server, else the profile's, else https://trunkjet.io (the server `tjet login` signs in to) [env: TJET_SERVER=]
--profile <PROFILE> Named profile of the user configuration (TOML; schema: docs/manual/user-config.md) [env: TJET_PROFILE=]
--timeout <TIMEOUT> Whole-command deadline in seconds. On expiry the command stops; a remote request may already have completed (exit 8 for mutating commands) [env: TJET_TIMEOUT=]
--no-progress Do not write progress to stderr [env: TJET_NO_PROGRESS=]
--token-fd <TOKEN_FD> Read a session or scoped (agent) token from this open file descriptor (never pass a secret as a command-line value)
--token-stdin Read a session or scoped (agent) token from standard input
--workspace <WORKSPACE> Workspace directory (default: search upward from the current directory)
--json Emit exactly one JSON result on stdout
--non-interactive Never prompt; return structured errors instead
--allow-elevated-writes Windows: let this command change workspaces itself although the shell is elevated and UAC is on. Risky: the user's unelevated programs could redirect those writes. Without it an elevated tjet writes only through the unelevated daemon
--request-id <REQUEST_ID> Request identity for this command. Re-running the same command with the same value repeats exactly the same requests, so the server replays outcomes it already recorded instead of executing twice (use it to retry after an unknown outcome, exit 8)
Examples:
tjet workspace show
tjet workspace bind
Bind this workspace to your account: background publishing of checkpoints saved with --remote then uses exactly that account's stored login, and nothing else. The account is the one tjet authenticates as (TJET_TOKEN, or the stored login), or with --account the stored login of that principal; the server confirms who it is. Workspaces opened before bindings existed, and `.tjet/` directories copied from elsewhere, are unbound until this (or an interactive `tjet sync`) binds them
Usage: tjet workspace bind [OPTIONS]
Options:
--account <ACCOUNT> The principal id of a stored login (`tjet whoami` shows yours)
-h, --help Print help
Global options:
--server <SERVER> Server base URL. Default: the workspace's server, else the profile's, else https://trunkjet.io (the server `tjet login` signs in to) [env: TJET_SERVER=]
--profile <PROFILE> Named profile of the user configuration (TOML; schema: docs/manual/user-config.md) [env: TJET_PROFILE=]
--timeout <TIMEOUT> Whole-command deadline in seconds. On expiry the command stops; a remote request may already have completed (exit 8 for mutating commands) [env: TJET_TIMEOUT=]
--no-progress Do not write progress to stderr [env: TJET_NO_PROGRESS=]
--token-fd <TOKEN_FD> Read a session or scoped (agent) token from this open file descriptor (never pass a secret as a command-line value)
--token-stdin Read a session or scoped (agent) token from standard input
--workspace <WORKSPACE> Workspace directory (default: search upward from the current directory)
--json Emit exactly one JSON result on stdout
--non-interactive Never prompt; return structured errors instead
--allow-elevated-writes Windows: let this command change workspaces itself although the shell is elevated and UAC is on. Risky: the user's unelevated programs could redirect those writes. Without it an elevated tjet writes only through the unelevated daemon
--request-id <REQUEST_ID> Request identity for this command. Re-running the same command with the same value repeats exactly the same requests, so the server replays outcomes it already recorded instead of executing twice (use it to retry after an unknown outcome, exit 8)
Examples:
tjet workspace bind
tjet workspace switch
Switch this workspace to another stream of its repository (like `git switch`).
Edits (changed files, new files that are not ignored, unsent checkpoints) are never lost or carried to the other stream: without --keep-edits the switch is refused; with it they are saved and sent to your current change on the current stream first, and come back when you switch back. The workspace returns to the change it left on STREAM, or starts a fresh change on STREAM's latest revision.
Usage: tjet workspace switch [OPTIONS] <STREAM>
Arguments:
<STREAM>
The stream to move this copy to
Options:
--keep-edits
Save and send the edits to the current change first ("save and switch")
-m, --message <MESSAGE>
With --keep-edits: the save's message
-h, --help
Print help (see a summary with '-h')
Global options:
--server <SERVER>
Server base URL. Default: the workspace's server, else the profile's, else https://trunkjet.io (the server `tjet login` signs in to)
[env: TJET_SERVER=]
--profile <PROFILE>
Named profile of the user configuration (TOML; schema: docs/manual/user-config.md)
[env: TJET_PROFILE=]
--timeout <TIMEOUT>
Whole-command deadline in seconds. On expiry the command stops; a remote request may already have completed (exit 8 for mutating commands)
[env: TJET_TIMEOUT=]
--no-progress
Do not write progress to stderr
[env: TJET_NO_PROGRESS=]
--token-fd <TOKEN_FD>
Read a session or scoped (agent) token from this open file descriptor (never pass a secret as a command-line value)
--token-stdin
Read a session or scoped (agent) token from standard input
--workspace <WORKSPACE>
Workspace directory (default: search upward from the current directory)
--json
Emit exactly one JSON result on stdout
--non-interactive
Never prompt; return structured errors instead
--allow-elevated-writes
Windows: let this command change workspaces itself although the shell is elevated and UAC is on. Risky: the user's unelevated programs could redirect those writes. Without it an elevated tjet writes only through the unelevated daemon
--request-id <REQUEST_ID>
Request identity for this command. Re-running the same command with the same value repeats exactly the same requests, so the server replays outcomes it already recorded instead of executing twice (use it to retry after an unknown outcome, exit 8)
Examples:
tjet workspace switch gift-cards
tjet workspace switch main --keep-edits -m "half done"
tjet workspace update
Move the workspace base to --rev or the stream head (journaled)
Usage: tjet workspace update [OPTIONS]
Options:
--rev <REV> A revision id or a stream name (its newest version)
-h, --help Print help
Global options:
--server <SERVER> Server base URL. Default: the workspace's server, else the profile's, else https://trunkjet.io (the server `tjet login` signs in to) [env: TJET_SERVER=]
--profile <PROFILE> Named profile of the user configuration (TOML; schema: docs/manual/user-config.md) [env: TJET_PROFILE=]
--timeout <TIMEOUT> Whole-command deadline in seconds. On expiry the command stops; a remote request may already have completed (exit 8 for mutating commands) [env: TJET_TIMEOUT=]
--no-progress Do not write progress to stderr [env: TJET_NO_PROGRESS=]
--token-fd <TOKEN_FD> Read a session or scoped (agent) token from this open file descriptor (never pass a secret as a command-line value)
--token-stdin Read a session or scoped (agent) token from standard input
--workspace <WORKSPACE> Workspace directory (default: search upward from the current directory)
--json Emit exactly one JSON result on stdout
--non-interactive Never prompt; return structured errors instead
--allow-elevated-writes Windows: let this command change workspaces itself although the shell is elevated and UAC is on. Risky: the user's unelevated programs could redirect those writes. Without it an elevated tjet writes only through the unelevated daemon
--request-id <REQUEST_ID> Request identity for this command. Re-running the same command with the same value repeats exactly the same requests, so the server replays outcomes it already recorded instead of executing twice (use it to retry after an unknown outcome, exit 8)
Examples:
tjet workspace update
tjet workspace new
A new workspace in DIR for a new task (like `git worktree add`): same repository, stream, view and base as this one, on its own new change; files come from this workspace (digest-verified, copy-on-write where the filesystem can), only files that differ here are downloaded. Your edits here stay here
Usage: tjet workspace new [OPTIONS] <DIR>
Arguments:
<DIR> The new folder
Options:
--change <CHANGE> The new change's title (default: the first line of its first save's message)
-h, --help Print help
Global options:
--server <SERVER> Server base URL. Default: the workspace's server, else the profile's, else https://trunkjet.io (the server `tjet login` signs in to) [env: TJET_SERVER=]
--profile <PROFILE> Named profile of the user configuration (TOML; schema: docs/manual/user-config.md) [env: TJET_PROFILE=]
--timeout <TIMEOUT> Whole-command deadline in seconds. On expiry the command stops; a remote request may already have completed (exit 8 for mutating commands) [env: TJET_TIMEOUT=]
--no-progress Do not write progress to stderr [env: TJET_NO_PROGRESS=]
--token-fd <TOKEN_FD> Read a session or scoped (agent) token from this open file descriptor (never pass a secret as a command-line value)
--token-stdin Read a session or scoped (agent) token from standard input
--workspace <WORKSPACE> Workspace directory (default: search upward from the current directory)
--json Emit exactly one JSON result on stdout
--non-interactive Never prompt; return structured errors instead
--allow-elevated-writes Windows: let this command change workspaces itself although the shell is elevated and UAC is on. Risky: the user's unelevated programs could redirect those writes. Without it an elevated tjet writes only through the unelevated daemon
--request-id <REQUEST_ID> Request identity for this command. Re-running the same command with the same value repeats exactly the same requests, so the server replays outcomes it already recorded instead of executing twice (use it to retry after an unknown outcome, exit 8)
Examples:
tjet workspace new ../shop-fix-cart --change "Fix the cart total"
tjet workspace fork
Fork the current workspace into DIR for an agent: same repository, stream, view and base; identical files are copied locally (digest-verified), the rest is fetched
Usage: tjet workspace fork [OPTIONS] <DIR>
Arguments:
<DIR> The new folder
Options:
--budget <BUDGET> Maximum bytes the fork may materialize (exit 7 when exceeded; nothing is left)
--ttl <TTL> Lifetime in seconds; afterwards `workspace close --expired` may remove it if clean
-h, --help Print help
Global options:
--server <SERVER> Server base URL. Default: the workspace's server, else the profile's, else https://trunkjet.io (the server `tjet login` signs in to) [env: TJET_SERVER=]
--profile <PROFILE> Named profile of the user configuration (TOML; schema: docs/manual/user-config.md) [env: TJET_PROFILE=]
--timeout <TIMEOUT> Whole-command deadline in seconds. On expiry the command stops; a remote request may already have completed (exit 8 for mutating commands) [env: TJET_TIMEOUT=]
--no-progress Do not write progress to stderr [env: TJET_NO_PROGRESS=]
--token-fd <TOKEN_FD> Read a session or scoped (agent) token from this open file descriptor (never pass a secret as a command-line value)
--token-stdin Read a session or scoped (agent) token from standard input
--workspace <WORKSPACE> Workspace directory (default: search upward from the current directory)
--json Emit exactly one JSON result on stdout
--non-interactive Never prompt; return structured errors instead
--allow-elevated-writes Windows: let this command change workspaces itself although the shell is elevated and UAC is on. Risky: the user's unelevated programs could redirect those writes. Without it an elevated tjet writes only through the unelevated daemon
--request-id <REQUEST_ID> Request identity for this command. Re-running the same command with the same value repeats exactly the same requests, so the server replays outcomes it already recorded instead of executing twice (use it to retry after an unknown outcome, exit 8)
Examples:
tjet workspace fork ../shop-agent
tjet workspace include
Widen the sparse view: materialize these repository path prefixes at the base
Usage: tjet workspace include [OPTIONS] <PATHS>...
Arguments:
<PATHS>... File or folder paths
Options:
-h, --help Print help
Global options:
--server <SERVER> Server base URL. Default: the workspace's server, else the profile's, else https://trunkjet.io (the server `tjet login` signs in to) [env: TJET_SERVER=]
--profile <PROFILE> Named profile of the user configuration (TOML; schema: docs/manual/user-config.md) [env: TJET_PROFILE=]
--timeout <TIMEOUT> Whole-command deadline in seconds. On expiry the command stops; a remote request may already have completed (exit 8 for mutating commands) [env: TJET_TIMEOUT=]
--no-progress Do not write progress to stderr [env: TJET_NO_PROGRESS=]
--token-fd <TOKEN_FD> Read a session or scoped (agent) token from this open file descriptor (never pass a secret as a command-line value)
--token-stdin Read a session or scoped (agent) token from standard input
--workspace <WORKSPACE> Workspace directory (default: search upward from the current directory)
--json Emit exactly one JSON result on stdout
--non-interactive Never prompt; return structured errors instead
--allow-elevated-writes Windows: let this command change workspaces itself although the shell is elevated and UAC is on. Risky: the user's unelevated programs could redirect those writes. Without it an elevated tjet writes only through the unelevated daemon
--request-id <REQUEST_ID> Request identity for this command. Re-running the same command with the same value repeats exactly the same requests, so the server replays outcomes it already recorded instead of executing twice (use it to retry after an unknown outcome, exit 8)
Examples:
tjet workspace include docs/
tjet workspace exclude
Narrow the sparse view by one include prefix (refused if anything below it is not plain base content)
Usage: tjet workspace exclude [OPTIONS] <PATH>
Arguments:
<PATH> A file path in the repository
Options:
-h, --help Print help
Global options:
--server <SERVER> Server base URL. Default: the workspace's server, else the profile's, else https://trunkjet.io (the server `tjet login` signs in to) [env: TJET_SERVER=]
--profile <PROFILE> Named profile of the user configuration (TOML; schema: docs/manual/user-config.md) [env: TJET_PROFILE=]
--timeout <TIMEOUT> Whole-command deadline in seconds. On expiry the command stops; a remote request may already have completed (exit 8 for mutating commands) [env: TJET_TIMEOUT=]
--no-progress Do not write progress to stderr [env: TJET_NO_PROGRESS=]
--token-fd <TOKEN_FD> Read a session or scoped (agent) token from this open file descriptor (never pass a secret as a command-line value)
--token-stdin Read a session or scoped (agent) token from standard input
--workspace <WORKSPACE> Workspace directory (default: search upward from the current directory)
--json Emit exactly one JSON result on stdout
--non-interactive Never prompt; return structured errors instead
--allow-elevated-writes Windows: let this command change workspaces itself although the shell is elevated and UAC is on. Risky: the user's unelevated programs could redirect those writes. Without it an elevated tjet writes only through the unelevated daemon
--request-id <REQUEST_ID> Request identity for this command. Re-running the same command with the same value repeats exactly the same requests, so the server replays outcomes it already recorded instead of executing twice (use it to retry after an unknown outcome, exit 8)
Examples:
tjet workspace exclude docs/
tjet workspace list
Workspaces you opened or forked on this machine
Usage: tjet workspace list [OPTIONS]
Options:
-h, --help Print help
Global options:
--server <SERVER> Server base URL. Default: the workspace's server, else the profile's, else https://trunkjet.io (the server `tjet login` signs in to) [env: TJET_SERVER=]
--profile <PROFILE> Named profile of the user configuration (TOML; schema: docs/manual/user-config.md) [env: TJET_PROFILE=]
--timeout <TIMEOUT> Whole-command deadline in seconds. On expiry the command stops; a remote request may already have completed (exit 8 for mutating commands) [env: TJET_TIMEOUT=]
--no-progress Do not write progress to stderr [env: TJET_NO_PROGRESS=]
--token-fd <TOKEN_FD> Read a session or scoped (agent) token from this open file descriptor (never pass a secret as a command-line value)
--token-stdin Read a session or scoped (agent) token from standard input
--workspace <WORKSPACE> Workspace directory (default: search upward from the current directory)
--json Emit exactly one JSON result on stdout
--non-interactive Never prompt; return structured errors instead
--allow-elevated-writes Windows: let this command change workspaces itself although the shell is elevated and UAC is on. Risky: the user's unelevated programs could redirect those writes. Without it an elevated tjet writes only through the unelevated daemon
--request-id <REQUEST_ID> Request identity for this command. Re-running the same command with the same value repeats exactly the same requests, so the server replays outcomes it already recorded instead of executing twice (use it to retry after an unknown outcome, exit 8)
Examples:
tjet workspace list
tjet workspace close
Remove the current workspace if it holds nothing unique (exit 4 otherwise), or with --expired every expired forked workspace that holds nothing unique
Usage: tjet workspace close [OPTIONS]
Options:
--expired Remove workspaces whose folder is gone
-h, --help Print help
Global options:
--server <SERVER> Server base URL. Default: the workspace's server, else the profile's, else https://trunkjet.io (the server `tjet login` signs in to) [env: TJET_SERVER=]
--profile <PROFILE> Named profile of the user configuration (TOML; schema: docs/manual/user-config.md) [env: TJET_PROFILE=]
--timeout <TIMEOUT> Whole-command deadline in seconds. On expiry the command stops; a remote request may already have completed (exit 8 for mutating commands) [env: TJET_TIMEOUT=]
--no-progress Do not write progress to stderr [env: TJET_NO_PROGRESS=]
--token-fd <TOKEN_FD> Read a session or scoped (agent) token from this open file descriptor (never pass a secret as a command-line value)
--token-stdin Read a session or scoped (agent) token from standard input
--workspace <WORKSPACE> Workspace directory (default: search upward from the current directory)
--json Emit exactly one JSON result on stdout
--non-interactive Never prompt; return structured errors instead
--allow-elevated-writes Windows: let this command change workspaces itself although the shell is elevated and UAC is on. Risky: the user's unelevated programs could redirect those writes. Without it an elevated tjet writes only through the unelevated daemon
--request-id <REQUEST_ID> Request identity for this command. Re-running the same command with the same value repeats exactly the same requests, so the server replays outcomes it already recorded instead of executing twice (use it to retry after an unknown outcome, exit 8)
Examples:
tjet workspace close
tjet workspace unpin
Release the offline pin (pinned content becomes ordinary, evictable cache)
Usage: tjet workspace unpin [OPTIONS]
Options:
-h, --help Print help
Global options:
--server <SERVER> Server base URL. Default: the workspace's server, else the profile's, else https://trunkjet.io (the server `tjet login` signs in to) [env: TJET_SERVER=]
--profile <PROFILE> Named profile of the user configuration (TOML; schema: docs/manual/user-config.md) [env: TJET_PROFILE=]
--timeout <TIMEOUT> Whole-command deadline in seconds. On expiry the command stops; a remote request may already have completed (exit 8 for mutating commands) [env: TJET_TIMEOUT=]
--no-progress Do not write progress to stderr [env: TJET_NO_PROGRESS=]
--token-fd <TOKEN_FD> Read a session or scoped (agent) token from this open file descriptor (never pass a secret as a command-line value)
--token-stdin Read a session or scoped (agent) token from standard input
--workspace <WORKSPACE> Workspace directory (default: search upward from the current directory)
--json Emit exactly one JSON result on stdout
--non-interactive Never prompt; return structured errors instead
--allow-elevated-writes Windows: let this command change workspaces itself although the shell is elevated and UAC is on. Risky: the user's unelevated programs could redirect those writes. Without it an elevated tjet writes only through the unelevated daemon
--request-id <REQUEST_ID> Request identity for this command. Re-running the same command with the same value repeats exactly the same requests, so the server replays outcomes it already recorded instead of executing twice (use it to retry after an unknown outcome, exit 8)
Examples:
tjet workspace unpin
tjet workspace preimages
Show or set preimage retention (days), pins of an operation's preimages and the advisory disk budget (reported, never enforced by deleting unexpired preimages)
Usage: tjet workspace preimages [OPTIONS]
Options:
--retention-days <RETENTION_DAYS>
Keep preimages this many days
--budget <BUDGET>
Advisory disk budget for kept preimages (bytes)
--pin <PIN>
Keep the preimages of this operation
--unpin <UNPIN>
Stop keeping the preimages of this operation
--remove <OP>
Delete a finished operation's preimages now, including bytes that exist nowhere else (they never expire automatically)
-h, --help
Print help
Global options:
--server <SERVER> Server base URL. Default: the workspace's server, else the profile's, else https://trunkjet.io (the server `tjet login` signs in to) [env: TJET_SERVER=]
--profile <PROFILE> Named profile of the user configuration (TOML; schema: docs/manual/user-config.md) [env: TJET_PROFILE=]
--timeout <TIMEOUT> Whole-command deadline in seconds. On expiry the command stops; a remote request may already have completed (exit 8 for mutating commands) [env: TJET_TIMEOUT=]
--no-progress Do not write progress to stderr [env: TJET_NO_PROGRESS=]
--token-fd <TOKEN_FD> Read a session or scoped (agent) token from this open file descriptor (never pass a secret as a command-line value)
--token-stdin Read a session or scoped (agent) token from standard input
--workspace <WORKSPACE> Workspace directory (default: search upward from the current directory)
--json Emit exactly one JSON result on stdout
--non-interactive Never prompt; return structured errors instead
--allow-elevated-writes Windows: let this command change workspaces itself although the shell is elevated and UAC is on. Risky: the user's unelevated programs could redirect those writes. Without it an elevated tjet writes only through the unelevated daemon
--request-id <REQUEST_ID> Request identity for this command. Re-running the same command with the same value repeats exactly the same requests, so the server replays outcomes it already recorded instead of executing twice (use it to retry after an unknown outcome, exit 8)
Examples:
tjet workspace preimages
tjet workspace pin
Hydrate and pin the content needed for offline local operations
Usage: tjet workspace pin [OPTIONS]
Options:
--offline Fetch everything needed to work offline
--budget <BUDGET> Maximum bytes to hydrate; refuses (exit 7) rather than evicting anything
--history <HISTORY> Also cache the first-parent log of this many revisions from the base, for offline `tjet log` (and the history of each --history-path)
--history-path <HISTORY_PATHS> Cache the history of this path too (repeatable; needs --history)
-h, --help Print help
Global options:
--server <SERVER> Server base URL. Default: the workspace's server, else the profile's, else https://trunkjet.io (the server `tjet login` signs in to) [env: TJET_SERVER=]
--profile <PROFILE> Named profile of the user configuration (TOML; schema: docs/manual/user-config.md) [env: TJET_PROFILE=]
--timeout <TIMEOUT> Whole-command deadline in seconds. On expiry the command stops; a remote request may already have completed (exit 8 for mutating commands) [env: TJET_TIMEOUT=]
--no-progress Do not write progress to stderr [env: TJET_NO_PROGRESS=]
--token-fd <TOKEN_FD> Read a session or scoped (agent) token from this open file descriptor (never pass a secret as a command-line value)
--token-stdin Read a session or scoped (agent) token from standard input
--workspace <WORKSPACE> Workspace directory (default: search upward from the current directory)
--json Emit exactly one JSON result on stdout
--non-interactive Never prompt; return structured errors instead
--allow-elevated-writes Windows: let this command change workspaces itself although the shell is elevated and UAC is on. Risky: the user's unelevated programs could redirect those writes. Without it an elevated tjet writes only through the unelevated daemon
--request-id <REQUEST_ID> Request identity for this command. Re-running the same command with the same value repeats exactly the same requests, so the server replays outcomes it already recorded instead of executing twice (use it to retry after an unknown outcome, exit 8)
Examples:
tjet workspace pin
tjet workspace prefetch
Download the files at or below PATH into a virtual workspace, so they read without the network and, on Windows, from session 0 (services, SSH, CI agents), whose on-demand reads the Cloud Files filter refuses
Usage: tjet workspace prefetch [OPTIONS] <PATHS>...
Arguments:
<PATHS>... File or folder paths
Options:
--budget <BUDGET> Maximum bytes to fetch; refuses (exit 7) rather than evicting anything
-h, --help Print help
Global options:
--server <SERVER> Server base URL. Default: the workspace's server, else the profile's, else https://trunkjet.io (the server `tjet login` signs in to) [env: TJET_SERVER=]
--profile <PROFILE> Named profile of the user configuration (TOML; schema: docs/manual/user-config.md) [env: TJET_PROFILE=]
--timeout <TIMEOUT> Whole-command deadline in seconds. On expiry the command stops; a remote request may already have completed (exit 8 for mutating commands) [env: TJET_TIMEOUT=]
--no-progress Do not write progress to stderr [env: TJET_NO_PROGRESS=]
--token-fd <TOKEN_FD> Read a session or scoped (agent) token from this open file descriptor (never pass a secret as a command-line value)
--token-stdin Read a session or scoped (agent) token from standard input
--workspace <WORKSPACE> Workspace directory (default: search upward from the current directory)
--json Emit exactly one JSON result on stdout
--non-interactive Never prompt; return structured errors instead
--allow-elevated-writes Windows: let this command change workspaces itself although the shell is elevated and UAC is on. Risky: the user's unelevated programs could redirect those writes. Without it an elevated tjet writes only through the unelevated daemon
--request-id <REQUEST_ID> Request identity for this command. Re-running the same command with the same value repeats exactly the same requests, so the server replays outcomes it already recorded instead of executing twice (use it to retry after an unknown outcome, exit 8)
Examples:
tjet workspace prefetch assets/
tjet workspace compact
Merge this workspace's small local object packs into one (D-1638; the daemon does this on its own above 32 packs). Readers keep working; a crash at any point loses nothing
Usage: tjet workspace compact [OPTIONS]
Options:
--loose Also move the one-file-per-object store's files into the new pack
--quarantine First move damaged packs aside into objects/packs/quarantined (never deleted); objects only they held stay unavailable and show in `tjet status`
-h, --help Print help
Global options:
--server <SERVER> Server base URL. Default: the workspace's server, else the profile's, else https://trunkjet.io (the server `tjet login` signs in to) [env: TJET_SERVER=]
--profile <PROFILE> Named profile of the user configuration (TOML; schema: docs/manual/user-config.md) [env: TJET_PROFILE=]
--timeout <TIMEOUT> Whole-command deadline in seconds. On expiry the command stops; a remote request may already have completed (exit 8 for mutating commands) [env: TJET_TIMEOUT=]
--no-progress Do not write progress to stderr [env: TJET_NO_PROGRESS=]
--token-fd <TOKEN_FD> Read a session or scoped (agent) token from this open file descriptor (never pass a secret as a command-line value)
--token-stdin Read a session or scoped (agent) token from standard input
--workspace <WORKSPACE> Workspace directory (default: search upward from the current directory)
--json Emit exactly one JSON result on stdout
--non-interactive Never prompt; return structured errors instead
--allow-elevated-writes Windows: let this command change workspaces itself although the shell is elevated and UAC is on. Risky: the user's unelevated programs could redirect those writes. Without it an elevated tjet writes only through the unelevated daemon
--request-id <REQUEST_ID> Request identity for this command. Re-running the same command with the same value repeats exactly the same requests, so the server replays outcomes it already recorded instead of executing twice (use it to retry after an unknown outcome, exit 8)
Examples:
tjet workspace compact
tjet add
Start tracking files
Usage: tjet add [OPTIONS] [PATHS]...
Arguments:
[PATHS]...
File or folder paths
Options:
-h, --help
Print help (see a summary with '-h')
Global options:
--server <SERVER>
Server base URL. Default: the workspace's server, else the profile's, else https://trunkjet.io (the server `tjet login` signs in to)
[env: TJET_SERVER=]
--profile <PROFILE>
Named profile of the user configuration (TOML; schema: docs/manual/user-config.md)
[env: TJET_PROFILE=]
--timeout <TIMEOUT>
Whole-command deadline in seconds. On expiry the command stops; a remote request may already have completed (exit 8 for mutating commands)
[env: TJET_TIMEOUT=]
--no-progress
Do not write progress to stderr
[env: TJET_NO_PROGRESS=]
--token-fd <TOKEN_FD>
Read a session or scoped (agent) token from this open file descriptor (never pass a secret as a command-line value)
--token-stdin
Read a session or scoped (agent) token from standard input
--workspace <WORKSPACE>
Workspace directory (default: search upward from the current directory)
--json
Emit exactly one JSON result on stdout
--non-interactive
Never prompt; return structured errors instead
--allow-elevated-writes
Windows: let this command change workspaces itself although the shell is elevated and UAC is on. Risky: the user's unelevated programs could redirect those writes. Without it an elevated tjet writes only through the unelevated daemon
--request-id <REQUEST_ID>
Request identity for this command. Re-running the same command with the same value repeats exactly the same requests, so the server replays outcomes it already recorded instead of executing twice (use it to retry after an unknown outcome, exit 8)
Examples:
tjet add img/loaf.png
tjet add .
tjet untrack
Stop tracking files but keep them on disk (a base file becomes a recorded deletion)
Usage: tjet untrack [OPTIONS] <PATHS>...
Arguments:
<PATHS>...
File or folder paths
Options:
-h, --help
Print help (see a summary with '-h')
Global options:
--server <SERVER>
Server base URL. Default: the workspace's server, else the profile's, else https://trunkjet.io (the server `tjet login` signs in to)
[env: TJET_SERVER=]
--profile <PROFILE>
Named profile of the user configuration (TOML; schema: docs/manual/user-config.md)
[env: TJET_PROFILE=]
--timeout <TIMEOUT>
Whole-command deadline in seconds. On expiry the command stops; a remote request may already have completed (exit 8 for mutating commands)
[env: TJET_TIMEOUT=]
--no-progress
Do not write progress to stderr
[env: TJET_NO_PROGRESS=]
--token-fd <TOKEN_FD>
Read a session or scoped (agent) token from this open file descriptor (never pass a secret as a command-line value)
--token-stdin
Read a session or scoped (agent) token from standard input
--workspace <WORKSPACE>
Workspace directory (default: search upward from the current directory)
--json
Emit exactly one JSON result on stdout
--non-interactive
Never prompt; return structured errors instead
--allow-elevated-writes
Windows: let this command change workspaces itself although the shell is elevated and UAC is on. Risky: the user's unelevated programs could redirect those writes. Without it an elevated tjet writes only through the unelevated daemon
--request-id <REQUEST_ID>
Request identity for this command. Re-running the same command with the same value repeats exactly the same requests, so the server replays outcomes it already recorded instead of executing twice (use it to retry after an unknown outcome, exit 8)
Examples:
tjet untrack build.log
tjet remove
Record deletions (and remove the local files); files with unsaved modifications need --force
Usage: tjet remove [OPTIONS] [PATHS]...
Arguments:
[PATHS]...
File or folder paths
Options:
-f, --force
Remove files even when their unsaved modifications are lost (like `git rm --force`)
-h, --help
Print help (see a summary with '-h')
Global options:
--server <SERVER>
Server base URL. Default: the workspace's server, else the profile's, else https://trunkjet.io (the server `tjet login` signs in to)
[env: TJET_SERVER=]
--profile <PROFILE>
Named profile of the user configuration (TOML; schema: docs/manual/user-config.md)
[env: TJET_PROFILE=]
--timeout <TIMEOUT>
Whole-command deadline in seconds. On expiry the command stops; a remote request may already have completed (exit 8 for mutating commands)
[env: TJET_TIMEOUT=]
--no-progress
Do not write progress to stderr
[env: TJET_NO_PROGRESS=]
--token-fd <TOKEN_FD>
Read a session or scoped (agent) token from this open file descriptor (never pass a secret as a command-line value)
--token-stdin
Read a session or scoped (agent) token from standard input
--workspace <WORKSPACE>
Workspace directory (default: search upward from the current directory)
--json
Emit exactly one JSON result on stdout
--non-interactive
Never prompt; return structured errors instead
--allow-elevated-writes
Windows: let this command change workspaces itself although the shell is elevated and UAC is on. Risky: the user's unelevated programs could redirect those writes. Without it an elevated tjet writes only through the unelevated daemon
--request-id <REQUEST_ID>
Request identity for this command. Re-running the same command with the same value repeats exactly the same requests, so the server replays outcomes it already recorded instead of executing twice (use it to retry after an unknown outcome, exit 8)
Examples:
tjet remove old-notes.txt
tjet mv
Move or rename a tracked file or directory, recording the move as provenance
Usage: tjet mv [OPTIONS] <FROM> <TO>
Arguments:
<FROM>
The file or folder to move
<TO>
Its new path
Options:
-h, --help
Print help (see a summary with '-h')
Global options:
--server <SERVER>
Server base URL. Default: the workspace's server, else the profile's, else https://trunkjet.io (the server `tjet login` signs in to)
[env: TJET_SERVER=]
--profile <PROFILE>
Named profile of the user configuration (TOML; schema: docs/manual/user-config.md)
[env: TJET_PROFILE=]
--timeout <TIMEOUT>
Whole-command deadline in seconds. On expiry the command stops; a remote request may already have completed (exit 8 for mutating commands)
[env: TJET_TIMEOUT=]
--no-progress
Do not write progress to stderr
[env: TJET_NO_PROGRESS=]
--token-fd <TOKEN_FD>
Read a session or scoped (agent) token from this open file descriptor (never pass a secret as a command-line value)
--token-stdin
Read a session or scoped (agent) token from standard input
--workspace <WORKSPACE>
Workspace directory (default: search upward from the current directory)
--json
Emit exactly one JSON result on stdout
--non-interactive
Never prompt; return structured errors instead
--allow-elevated-writes
Windows: let this command change workspaces itself although the shell is elevated and UAC is on. Risky: the user's unelevated programs could redirect those writes. Without it an elevated tjet writes only through the unelevated daemon
--request-id <REQUEST_ID>
Request identity for this command. Re-running the same command with the same value repeats exactly the same requests, so the server replays outcomes it already recorded instead of executing twice (use it to retry after an unknown outcome, exit 8)
Examples:
tjet mv helpers.py formatting.py
tjet ls-files
List the files this workspace tracks, like `git ls-files` (local; asks no server).
Tracked files and symbolic links in the current state (saved or not: an added file is listed, a removed one is not), sorted by path. With --others also the untracked files that are not ignored (as `tjet status` finds them). Paths are relative to the workspace root with `/` separators.
Usage: tjet ls-files [OPTIONS]
Options:
-o, --others
Also list untracked files that are not ignored (`git ls-files --others --exclude-standard`)
-z
End each path with a NUL byte instead of a newline (paths are printed unquoted)
-h, --help
Print help (see a summary with '-h')
Global options:
--server <SERVER>
Server base URL. Default: the workspace's server, else the profile's, else https://trunkjet.io (the server `tjet login` signs in to)
[env: TJET_SERVER=]
--profile <PROFILE>
Named profile of the user configuration (TOML; schema: docs/manual/user-config.md)
[env: TJET_PROFILE=]
--timeout <TIMEOUT>
Whole-command deadline in seconds. On expiry the command stops; a remote request may already have completed (exit 8 for mutating commands)
[env: TJET_TIMEOUT=]
--no-progress
Do not write progress to stderr
[env: TJET_NO_PROGRESS=]
--token-fd <TOKEN_FD>
Read a session or scoped (agent) token from this open file descriptor (never pass a secret as a command-line value)
--token-stdin
Read a session or scoped (agent) token from standard input
--workspace <WORKSPACE>
Workspace directory (default: search upward from the current directory)
--json
Emit exactly one JSON result on stdout
--non-interactive
Never prompt; return structured errors instead
--allow-elevated-writes
Windows: let this command change workspaces itself although the shell is elevated and UAC is on. Risky: the user's unelevated programs could redirect those writes. Without it an elevated tjet writes only through the unelevated daemon
--request-id <REQUEST_ID>
Request identity for this command. Re-running the same command with the same value repeats exactly the same requests, so the server replays outcomes it already recorded instead of executing twice (use it to retry after an unknown outcome, exit 8)
Examples:
tjet ls-files
tjet ls-files --others -z
tjet status
Report local changes relative to the workspace base (through the workspace daemon's watcher index when it is running, otherwise a full in-process scan)
Usage: tjet status [OPTIONS]
Options:
--full
Force a full scan (metadata comparison; hashes files whose metadata changed)
--fast
Answer from the watcher index or local records without scanning; reports `scan_complete: false` when that knowledge is uncertain
--verify
Read and hash every tracked selected file (expensive; never trusts metadata)
--no-daemon
Do not use the workspace daemon (also: TJET_NO_DAEMON=1)
-h, --help
Print help (see a summary with '-h')
Global options:
--server <SERVER>
Server base URL. Default: the workspace's server, else the profile's, else https://trunkjet.io (the server `tjet login` signs in to)
[env: TJET_SERVER=]
--profile <PROFILE>
Named profile of the user configuration (TOML; schema: docs/manual/user-config.md)
[env: TJET_PROFILE=]
--timeout <TIMEOUT>
Whole-command deadline in seconds. On expiry the command stops; a remote request may already have completed (exit 8 for mutating commands)
[env: TJET_TIMEOUT=]
--no-progress
Do not write progress to stderr
[env: TJET_NO_PROGRESS=]
--token-fd <TOKEN_FD>
Read a session or scoped (agent) token from this open file descriptor (never pass a secret as a command-line value)
--token-stdin
Read a session or scoped (agent) token from standard input
--workspace <WORKSPACE>
Workspace directory (default: search upward from the current directory)
--json
Emit exactly one JSON result on stdout
--non-interactive
Never prompt; return structured errors instead
--allow-elevated-writes
Windows: let this command change workspaces itself although the shell is elevated and UAC is on. Risky: the user's unelevated programs could redirect those writes. Without it an elevated tjet writes only through the unelevated daemon
--request-id <REQUEST_ID>
Request identity for this command. Re-running the same command with the same value repeats exactly the same requests, so the server replays outcomes it already recorded instead of executing twice (use it to retry after an unknown outcome, exit 8)
Examples:
tjet status
tjet
tjet daemon
Per-user workspace daemon (tjet-agent): start, stop, status, register
Usage: tjet daemon [OPTIONS] <COMMAND>
Commands:
start Start the per-user workspace daemon (tjet-agent); a no-op when it is already running. Refused in an elevated Windows shell unless --allow-elevated is given
stop Stop the daemon gracefully (waits for in-flight operations)
status Whether the daemon is running, its versions and registered workspaces
register Register the current workspace with the daemon (it starts watching it)
unregister Stop watching the current workspace
install Start the daemon at every login of this account, and now (DB-17b): a systemd user unit (Linux; an XDG autostart entry without a user manager), a per-user Scheduled Task (Windows) or a LaunchAgent in ~/Library/LaunchAgents (macOS). It runs `--managed`: no idle shutdown, restarted after a crash, never elevated. Refused in an elevated or root shell. Running it again changes nothing
uninstall Stop the login-started daemon and remove its registration completely
autostart Whether the daemon is registered to start at login (changes nothing)
diagnose Write a local diagnostics bundle for you to review (DB-23): the daemon's info and metrics, its logs and crash records, settings. Secrets are redacted; paths are hashed unless --include-paths. Nothing is sent anywhere
help Print this message or the help of the given subcommand(s)
Options:
-h, --help
Print help (see a summary with '-h')
Global options:
--server <SERVER>
Server base URL. Default: the workspace's server, else the profile's, else https://trunkjet.io (the server `tjet login` signs in to)
[env: TJET_SERVER=]
--profile <PROFILE>
Named profile of the user configuration (TOML; schema: docs/manual/user-config.md)
[env: TJET_PROFILE=]
--timeout <TIMEOUT>
Whole-command deadline in seconds. On expiry the command stops; a remote request may already have completed (exit 8 for mutating commands)
[env: TJET_TIMEOUT=]
--no-progress
Do not write progress to stderr
[env: TJET_NO_PROGRESS=]
--token-fd <TOKEN_FD>
Read a session or scoped (agent) token from this open file descriptor (never pass a secret as a command-line value)
--token-stdin
Read a session or scoped (agent) token from standard input
--workspace <WORKSPACE>
Workspace directory (default: search upward from the current directory)
--json
Emit exactly one JSON result on stdout
--non-interactive
Never prompt; return structured errors instead
--allow-elevated-writes
Windows: let this command change workspaces itself although the shell is elevated and UAC is on. Risky: the user's unelevated programs could redirect those writes. Without it an elevated tjet writes only through the unelevated daemon
--request-id <REQUEST_ID>
Request identity for this command. Re-running the same command with the same value repeats exactly the same requests, so the server replays outcomes it already recorded instead of executing twice (use it to retry after an unknown outcome, exit 8)
tjet daemon start
Start the per-user workspace daemon (tjet-agent); a no-op when it is already running. Refused in an elevated Windows shell unless --allow-elevated is given
Usage: tjet daemon start [OPTIONS]
Options:
--idle-timeout <IDLE_TIMEOUT>
Exit after this many idle seconds (0 = never)
--verify-interval <VERIFY_INTERVAL>
Full verification scan at least this often per workspace, in seconds (0 = never)
--allow-elevated
Windows: start the daemon even though this shell is elevated. Accepted only where UAC is off machine-wide (EnableLUA = 0): an elevated daemon can be driven by any program of the user
-h, --help
Print help
Global options:
--server <SERVER> Server base URL. Default: the workspace's server, else the profile's, else https://trunkjet.io (the server `tjet login` signs in to) [env: TJET_SERVER=]
--profile <PROFILE> Named profile of the user configuration (TOML; schema: docs/manual/user-config.md) [env: TJET_PROFILE=]
--timeout <TIMEOUT> Whole-command deadline in seconds. On expiry the command stops; a remote request may already have completed (exit 8 for mutating commands) [env: TJET_TIMEOUT=]
--no-progress Do not write progress to stderr [env: TJET_NO_PROGRESS=]
--token-fd <TOKEN_FD> Read a session or scoped (agent) token from this open file descriptor (never pass a secret as a command-line value)
--token-stdin Read a session or scoped (agent) token from standard input
--workspace <WORKSPACE> Workspace directory (default: search upward from the current directory)
--json Emit exactly one JSON result on stdout
--non-interactive Never prompt; return structured errors instead
--allow-elevated-writes Windows: let this command change workspaces itself although the shell is elevated and UAC is on. Risky: the user's unelevated programs could redirect those writes. Without it an elevated tjet writes only through the unelevated daemon
--request-id <REQUEST_ID> Request identity for this command. Re-running the same command with the same value repeats exactly the same requests, so the server replays outcomes it already recorded instead of executing twice (use it to retry after an unknown outcome, exit 8)
Examples:
tjet daemon start
tjet daemon stop
Stop the daemon gracefully (waits for in-flight operations)
Usage: tjet daemon stop [OPTIONS]
Options:
-h, --help Print help
Global options:
--server <SERVER> Server base URL. Default: the workspace's server, else the profile's, else https://trunkjet.io (the server `tjet login` signs in to) [env: TJET_SERVER=]
--profile <PROFILE> Named profile of the user configuration (TOML; schema: docs/manual/user-config.md) [env: TJET_PROFILE=]
--timeout <TIMEOUT> Whole-command deadline in seconds. On expiry the command stops; a remote request may already have completed (exit 8 for mutating commands) [env: TJET_TIMEOUT=]
--no-progress Do not write progress to stderr [env: TJET_NO_PROGRESS=]
--token-fd <TOKEN_FD> Read a session or scoped (agent) token from this open file descriptor (never pass a secret as a command-line value)
--token-stdin Read a session or scoped (agent) token from standard input
--workspace <WORKSPACE> Workspace directory (default: search upward from the current directory)
--json Emit exactly one JSON result on stdout
--non-interactive Never prompt; return structured errors instead
--allow-elevated-writes Windows: let this command change workspaces itself although the shell is elevated and UAC is on. Risky: the user's unelevated programs could redirect those writes. Without it an elevated tjet writes only through the unelevated daemon
--request-id <REQUEST_ID> Request identity for this command. Re-running the same command with the same value repeats exactly the same requests, so the server replays outcomes it already recorded instead of executing twice (use it to retry after an unknown outcome, exit 8)
Examples:
tjet daemon stop
tjet daemon status
Whether the daemon is running, its versions and registered workspaces
Usage: tjet daemon status [OPTIONS]
Options:
-h, --help Print help
Global options:
--server <SERVER> Server base URL. Default: the workspace's server, else the profile's, else https://trunkjet.io (the server `tjet login` signs in to) [env: TJET_SERVER=]
--profile <PROFILE> Named profile of the user configuration (TOML; schema: docs/manual/user-config.md) [env: TJET_PROFILE=]
--timeout <TIMEOUT> Whole-command deadline in seconds. On expiry the command stops; a remote request may already have completed (exit 8 for mutating commands) [env: TJET_TIMEOUT=]
--no-progress Do not write progress to stderr [env: TJET_NO_PROGRESS=]
--token-fd <TOKEN_FD> Read a session or scoped (agent) token from this open file descriptor (never pass a secret as a command-line value)
--token-stdin Read a session or scoped (agent) token from standard input
--workspace <WORKSPACE> Workspace directory (default: search upward from the current directory)
--json Emit exactly one JSON result on stdout
--non-interactive Never prompt; return structured errors instead
--allow-elevated-writes Windows: let this command change workspaces itself although the shell is elevated and UAC is on. Risky: the user's unelevated programs could redirect those writes. Without it an elevated tjet writes only through the unelevated daemon
--request-id <REQUEST_ID> Request identity for this command. Re-running the same command with the same value repeats exactly the same requests, so the server replays outcomes it already recorded instead of executing twice (use it to retry after an unknown outcome, exit 8)
Examples:
tjet daemon status
tjet daemon register
Register the current workspace with the daemon (it starts watching it)
Usage: tjet daemon register [OPTIONS]
Options:
-h, --help Print help
Global options:
--server <SERVER> Server base URL. Default: the workspace's server, else the profile's, else https://trunkjet.io (the server `tjet login` signs in to) [env: TJET_SERVER=]
--profile <PROFILE> Named profile of the user configuration (TOML; schema: docs/manual/user-config.md) [env: TJET_PROFILE=]
--timeout <TIMEOUT> Whole-command deadline in seconds. On expiry the command stops; a remote request may already have completed (exit 8 for mutating commands) [env: TJET_TIMEOUT=]
--no-progress Do not write progress to stderr [env: TJET_NO_PROGRESS=]
--token-fd <TOKEN_FD> Read a session or scoped (agent) token from this open file descriptor (never pass a secret as a command-line value)
--token-stdin Read a session or scoped (agent) token from standard input
--workspace <WORKSPACE> Workspace directory (default: search upward from the current directory)
--json Emit exactly one JSON result on stdout
--non-interactive Never prompt; return structured errors instead
--allow-elevated-writes Windows: let this command change workspaces itself although the shell is elevated and UAC is on. Risky: the user's unelevated programs could redirect those writes. Without it an elevated tjet writes only through the unelevated daemon
--request-id <REQUEST_ID> Request identity for this command. Re-running the same command with the same value repeats exactly the same requests, so the server replays outcomes it already recorded instead of executing twice (use it to retry after an unknown outcome, exit 8)
Examples:
tjet daemon register
tjet daemon unregister
Stop watching the current workspace
Usage: tjet daemon unregister [OPTIONS]
Options:
-h, --help Print help
Global options:
--server <SERVER> Server base URL. Default: the workspace's server, else the profile's, else https://trunkjet.io (the server `tjet login` signs in to) [env: TJET_SERVER=]
--profile <PROFILE> Named profile of the user configuration (TOML; schema: docs/manual/user-config.md) [env: TJET_PROFILE=]
--timeout <TIMEOUT> Whole-command deadline in seconds. On expiry the command stops; a remote request may already have completed (exit 8 for mutating commands) [env: TJET_TIMEOUT=]
--no-progress Do not write progress to stderr [env: TJET_NO_PROGRESS=]
--token-fd <TOKEN_FD> Read a session or scoped (agent) token from this open file descriptor (never pass a secret as a command-line value)
--token-stdin Read a session or scoped (agent) token from standard input
--workspace <WORKSPACE> Workspace directory (default: search upward from the current directory)
--json Emit exactly one JSON result on stdout
--non-interactive Never prompt; return structured errors instead
--allow-elevated-writes Windows: let this command change workspaces itself although the shell is elevated and UAC is on. Risky: the user's unelevated programs could redirect those writes. Without it an elevated tjet writes only through the unelevated daemon
--request-id <REQUEST_ID> Request identity for this command. Re-running the same command with the same value repeats exactly the same requests, so the server replays outcomes it already recorded instead of executing twice (use it to retry after an unknown outcome, exit 8)
Examples:
tjet daemon unregister
tjet daemon install
Start the daemon at every login of this account, and now (DB-17b): a systemd user unit (Linux; an XDG autostart entry without a user manager), a per-user Scheduled Task (Windows) or a LaunchAgent in ~/Library/LaunchAgents (macOS). It runs `--managed`: no idle shutdown, restarted after a crash, never elevated. Refused in an elevated or root shell. Running it again changes nothing
Usage: tjet daemon install [OPTIONS]
Options:
-h, --help Print help
Global options:
--server <SERVER> Server base URL. Default: the workspace's server, else the profile's, else https://trunkjet.io (the server `tjet login` signs in to) [env: TJET_SERVER=]
--profile <PROFILE> Named profile of the user configuration (TOML; schema: docs/manual/user-config.md) [env: TJET_PROFILE=]
--timeout <TIMEOUT> Whole-command deadline in seconds. On expiry the command stops; a remote request may already have completed (exit 8 for mutating commands) [env: TJET_TIMEOUT=]
--no-progress Do not write progress to stderr [env: TJET_NO_PROGRESS=]
--token-fd <TOKEN_FD> Read a session or scoped (agent) token from this open file descriptor (never pass a secret as a command-line value)
--token-stdin Read a session or scoped (agent) token from standard input
--workspace <WORKSPACE> Workspace directory (default: search upward from the current directory)
--json Emit exactly one JSON result on stdout
--non-interactive Never prompt; return structured errors instead
--allow-elevated-writes Windows: let this command change workspaces itself although the shell is elevated and UAC is on. Risky: the user's unelevated programs could redirect those writes. Without it an elevated tjet writes only through the unelevated daemon
--request-id <REQUEST_ID> Request identity for this command. Re-running the same command with the same value repeats exactly the same requests, so the server replays outcomes it already recorded instead of executing twice (use it to retry after an unknown outcome, exit 8)
Examples:
tjet daemon install
tjet daemon uninstall
Stop the login-started daemon and remove its registration completely
Usage: tjet daemon uninstall [OPTIONS]
Options:
-h, --help Print help
Global options:
--server <SERVER> Server base URL. Default: the workspace's server, else the profile's, else https://trunkjet.io (the server `tjet login` signs in to) [env: TJET_SERVER=]
--profile <PROFILE> Named profile of the user configuration (TOML; schema: docs/manual/user-config.md) [env: TJET_PROFILE=]
--timeout <TIMEOUT> Whole-command deadline in seconds. On expiry the command stops; a remote request may already have completed (exit 8 for mutating commands) [env: TJET_TIMEOUT=]
--no-progress Do not write progress to stderr [env: TJET_NO_PROGRESS=]
--token-fd <TOKEN_FD> Read a session or scoped (agent) token from this open file descriptor (never pass a secret as a command-line value)
--token-stdin Read a session or scoped (agent) token from standard input
--workspace <WORKSPACE> Workspace directory (default: search upward from the current directory)
--json Emit exactly one JSON result on stdout
--non-interactive Never prompt; return structured errors instead
--allow-elevated-writes Windows: let this command change workspaces itself although the shell is elevated and UAC is on. Risky: the user's unelevated programs could redirect those writes. Without it an elevated tjet writes only through the unelevated daemon
--request-id <REQUEST_ID> Request identity for this command. Re-running the same command with the same value repeats exactly the same requests, so the server replays outcomes it already recorded instead of executing twice (use it to retry after an unknown outcome, exit 8)
Examples:
tjet daemon uninstall
tjet daemon autostart
Whether the daemon is registered to start at login (changes nothing)
Usage: tjet daemon autostart [OPTIONS]
Options:
-h, --help Print help
Global options:
--server <SERVER> Server base URL. Default: the workspace's server, else the profile's, else https://trunkjet.io (the server `tjet login` signs in to) [env: TJET_SERVER=]
--profile <PROFILE> Named profile of the user configuration (TOML; schema: docs/manual/user-config.md) [env: TJET_PROFILE=]
--timeout <TIMEOUT> Whole-command deadline in seconds. On expiry the command stops; a remote request may already have completed (exit 8 for mutating commands) [env: TJET_TIMEOUT=]
--no-progress Do not write progress to stderr [env: TJET_NO_PROGRESS=]
--token-fd <TOKEN_FD> Read a session or scoped (agent) token from this open file descriptor (never pass a secret as a command-line value)
--token-stdin Read a session or scoped (agent) token from standard input
--workspace <WORKSPACE> Workspace directory (default: search upward from the current directory)
--json Emit exactly one JSON result on stdout
--non-interactive Never prompt; return structured errors instead
--allow-elevated-writes Windows: let this command change workspaces itself although the shell is elevated and UAC is on. Risky: the user's unelevated programs could redirect those writes. Without it an elevated tjet writes only through the unelevated daemon
--request-id <REQUEST_ID> Request identity for this command. Re-running the same command with the same value repeats exactly the same requests, so the server replays outcomes it already recorded instead of executing twice (use it to retry after an unknown outcome, exit 8)
Examples:
tjet daemon autostart
tjet daemon diagnose
Write a local diagnostics bundle for you to review (DB-23): the daemon's info and metrics, its logs and crash records, settings. Secrets are redacted; paths are hashed unless --include-paths. Nothing is sent anywhere
Usage: tjet daemon diagnose [OPTIONS]
Options:
--output <OUTPUT> The directory to write the bundle in (default: the current directory)
--include-paths Keep absolute paths and debug log lines (they may name workspace files)
-h, --help Print help
Global options:
--server <SERVER> Server base URL. Default: the workspace's server, else the profile's, else https://trunkjet.io (the server `tjet login` signs in to) [env: TJET_SERVER=]
--profile <PROFILE> Named profile of the user configuration (TOML; schema: docs/manual/user-config.md) [env: TJET_PROFILE=]
--timeout <TIMEOUT> Whole-command deadline in seconds. On expiry the command stops; a remote request may already have completed (exit 8 for mutating commands) [env: TJET_TIMEOUT=]
--no-progress Do not write progress to stderr [env: TJET_NO_PROGRESS=]
--token-fd <TOKEN_FD> Read a session or scoped (agent) token from this open file descriptor (never pass a secret as a command-line value)
--token-stdin Read a session or scoped (agent) token from standard input
--workspace <WORKSPACE> Workspace directory (default: search upward from the current directory)
--json Emit exactly one JSON result on stdout
--non-interactive Never prompt; return structured errors instead
--allow-elevated-writes Windows: let this command change workspaces itself although the shell is elevated and UAC is on. Risky: the user's unelevated programs could redirect those writes. Without it an elevated tjet writes only through the unelevated daemon
--request-id <REQUEST_ID> Request identity for this command. Re-running the same command with the same value repeats exactly the same requests, so the server replays outcomes it already recorded instead of executing twice (use it to retry after an unknown outcome, exit 8)
Examples:
tjet daemon diagnose
tjet diagnostics
Write a local diagnostics bundle for you to review (the same as `tjet daemon diagnose`): the daemon's info and metrics, its logs and crash records, settings. Secrets are redacted; paths are hashed unless --include-paths. Nothing is sent anywhere
Usage: tjet diagnostics [OPTIONS]
Options:
--output <OUTPUT>
The directory to write the bundle in (default: the current directory)
--include-paths
Keep absolute paths and debug log lines (they may name workspace files)
-h, --help
Print help (see a summary with '-h')
Global options:
--server <SERVER>
Server base URL. Default: the workspace's server, else the profile's, else https://trunkjet.io (the server `tjet login` signs in to)
[env: TJET_SERVER=]
--profile <PROFILE>
Named profile of the user configuration (TOML; schema: docs/manual/user-config.md)
[env: TJET_PROFILE=]
--timeout <TIMEOUT>
Whole-command deadline in seconds. On expiry the command stops; a remote request may already have completed (exit 8 for mutating commands)
[env: TJET_TIMEOUT=]
--no-progress
Do not write progress to stderr
[env: TJET_NO_PROGRESS=]
--token-fd <TOKEN_FD>
Read a session or scoped (agent) token from this open file descriptor (never pass a secret as a command-line value)
--token-stdin
Read a session or scoped (agent) token from standard input
--workspace <WORKSPACE>
Workspace directory (default: search upward from the current directory)
--json
Emit exactly one JSON result on stdout
--non-interactive
Never prompt; return structured errors instead
--allow-elevated-writes
Windows: let this command change workspaces itself although the shell is elevated and UAC is on. Risky: the user's unelevated programs could redirect those writes. Without it an elevated tjet writes only through the unelevated daemon
--request-id <REQUEST_ID>
Request identity for this command. Re-running the same command with the same value repeats exactly the same requests, so the server replays outcomes it already recorded instead of executing twice (use it to retry after an unknown outcome, exit 8)
Examples:
tjet diagnostics
tjet save
Capture a local checkpoint (LOCAL_DURABLE). With --remote, also send it (`tjet send`)
Usage: tjet save [OPTIONS] [PATHS]...
Arguments:
[PATHS]...
Save only these paths (files or directories, relative to the current directory); every other unsaved change stays unsaved. Default: the whole workspace
Options:
-m, --message <MESSAGE>
What you did (the change sent from your saves is titled with the newest message)
[default: ""]
--remote
Also send it to the server (as `tjet send`)
--include-untracked
Also save every new file that is not tracked yet
--as-other-account
With --remote: publish now with an explicit credential (TJET_TOKEN, --token-fd) of another account than the one this workspace is bound to
-h, --help
Print help (see a summary with '-h')
Global options:
--server <SERVER>
Server base URL. Default: the workspace's server, else the profile's, else https://trunkjet.io (the server `tjet login` signs in to)
[env: TJET_SERVER=]
--profile <PROFILE>
Named profile of the user configuration (TOML; schema: docs/manual/user-config.md)
[env: TJET_PROFILE=]
--timeout <TIMEOUT>
Whole-command deadline in seconds. On expiry the command stops; a remote request may already have completed (exit 8 for mutating commands)
[env: TJET_TIMEOUT=]
--no-progress
Do not write progress to stderr
[env: TJET_NO_PROGRESS=]
--token-fd <TOKEN_FD>
Read a session or scoped (agent) token from this open file descriptor (never pass a secret as a command-line value)
--token-stdin
Read a session or scoped (agent) token from standard input
--workspace <WORKSPACE>
Workspace directory (default: search upward from the current directory)
--json
Emit exactly one JSON result on stdout
--non-interactive
Never prompt; return structured errors instead
--allow-elevated-writes
Windows: let this command change workspaces itself although the shell is elevated and UAC is on. Risky: the user's unelevated programs could redirect those writes. Without it an elevated tjet writes only through the unelevated daemon
--request-id <REQUEST_ID>
Request identity for this command. Re-running the same command with the same value repeats exactly the same requests, so the server replays outcomes it already recorded instead of executing twice (use it to retry after an unknown outcome, exit 8)
Examples:
tjet save -m "Fix the delivery fee"
tjet save -m "Add photos" --include-untracked
tjet sync
Send your saved work to the server (`tjet send` and `tjet sync` are the same command): upload checkpoints and advance the remote change, retrying transient failures with bounded backoff. When the remote change moved (exit 4, CHANGE_MOVED), choose one of --rebase, --fork or --reconcile
Usage: tjet sync [OPTIONS]
Options:
--checkpoint <CHECKPOINT>
Synchronize this checkpoint (id or unique prefix) and everything requested before it
--rebase
Update the workspace to the remote change's latest revision (carrying local edits), then synchronize on top of it
--fork
Publish the unsynchronized checkpoints as a new change on the same base
--reconcile
Adopt the remote revision; local checkpoints stay local and restorable
--attempts <ATTEMPTS>
Attempts per checkpoint for transient failures (1 = no retry, and no wait for a revision the server is still preparing)
[default: 5]
--as-other-account
Publish with an explicit credential (TJET_TOKEN, --token-fd) of another account than the one this workspace is bound to; otherwise that is refused
-h, --help
Print help (see a summary with '-h')
Global options:
--server <SERVER>
Server base URL. Default: the workspace's server, else the profile's, else https://trunkjet.io (the server `tjet login` signs in to)
[env: TJET_SERVER=]
--profile <PROFILE>
Named profile of the user configuration (TOML; schema: docs/manual/user-config.md)
[env: TJET_PROFILE=]
--timeout <TIMEOUT>
Whole-command deadline in seconds. On expiry the command stops; a remote request may already have completed (exit 8 for mutating commands)
[env: TJET_TIMEOUT=]
--no-progress
Do not write progress to stderr
[env: TJET_NO_PROGRESS=]
--token-fd <TOKEN_FD>
Read a session or scoped (agent) token from this open file descriptor (never pass a secret as a command-line value)
--token-stdin
Read a session or scoped (agent) token from standard input
--workspace <WORKSPACE>
Workspace directory (default: search upward from the current directory)
--json
Emit exactly one JSON result on stdout
--non-interactive
Never prompt; return structured errors instead
--allow-elevated-writes
Windows: let this command change workspaces itself although the shell is elevated and UAC is on. Risky: the user's unelevated programs could redirect those writes. Without it an elevated tjet writes only through the unelevated daemon
--request-id <REQUEST_ID>
Request identity for this command. Re-running the same command with the same value repeats exactly the same requests, so the server replays outcomes it already recorded instead of executing twice (use it to retry after an unknown outcome, exit 8)
Examples:
tjet send
tjet save -m "Fix" && tjet send
tjet checkpoint
Local checkpoints
Usage: tjet checkpoint [OPTIONS] <COMMAND>
Commands:
list
show
pin Pin (or with --unpin release) every local object of a checkpoint's closure
export Export a checkpoint's local closure with a digest manifest into a new directory
unmark-remote Drop a pending remote mark (`save --remote`): the checkpoint stays local, background publishing no longer considers it, and later marks no longer wait behind it
help Print this message or the help of the given subcommand(s)
Options:
-h, --help
Print help (see a summary with '-h')
Global options:
--server <SERVER>
Server base URL. Default: the workspace's server, else the profile's, else https://trunkjet.io (the server `tjet login` signs in to)
[env: TJET_SERVER=]
--profile <PROFILE>
Named profile of the user configuration (TOML; schema: docs/manual/user-config.md)
[env: TJET_PROFILE=]
--timeout <TIMEOUT>
Whole-command deadline in seconds. On expiry the command stops; a remote request may already have completed (exit 8 for mutating commands)
[env: TJET_TIMEOUT=]
--no-progress
Do not write progress to stderr
[env: TJET_NO_PROGRESS=]
--token-fd <TOKEN_FD>
Read a session or scoped (agent) token from this open file descriptor (never pass a secret as a command-line value)
--token-stdin
Read a session or scoped (agent) token from standard input
--workspace <WORKSPACE>
Workspace directory (default: search upward from the current directory)
--json
Emit exactly one JSON result on stdout
--non-interactive
Never prompt; return structured errors instead
--allow-elevated-writes
Windows: let this command change workspaces itself although the shell is elevated and UAC is on. Risky: the user's unelevated programs could redirect those writes. Without it an elevated tjet writes only through the unelevated daemon
--request-id <REQUEST_ID>
Request identity for this command. Re-running the same command with the same value repeats exactly the same requests, so the server replays outcomes it already recorded instead of executing twice (use it to retry after an unknown outcome, exit 8)
tjet checkpoint list
Usage: tjet checkpoint list [OPTIONS]
Options:
-h, --help Print help
Global options:
--server <SERVER> Server base URL. Default: the workspace's server, else the profile's, else https://trunkjet.io (the server `tjet login` signs in to) [env: TJET_SERVER=]
--profile <PROFILE> Named profile of the user configuration (TOML; schema: docs/manual/user-config.md) [env: TJET_PROFILE=]
--timeout <TIMEOUT> Whole-command deadline in seconds. On expiry the command stops; a remote request may already have completed (exit 8 for mutating commands) [env: TJET_TIMEOUT=]
--no-progress Do not write progress to stderr [env: TJET_NO_PROGRESS=]
--token-fd <TOKEN_FD> Read a session or scoped (agent) token from this open file descriptor (never pass a secret as a command-line value)
--token-stdin Read a session or scoped (agent) token from standard input
--workspace <WORKSPACE> Workspace directory (default: search upward from the current directory)
--json Emit exactly one JSON result on stdout
--non-interactive Never prompt; return structured errors instead
--allow-elevated-writes Windows: let this command change workspaces itself although the shell is elevated and UAC is on. Risky: the user's unelevated programs could redirect those writes. Without it an elevated tjet writes only through the unelevated daemon
--request-id <REQUEST_ID> Request identity for this command. Re-running the same command with the same value repeats exactly the same requests, so the server replays outcomes it already recorded instead of executing twice (use it to retry after an unknown outcome, exit 8)
Examples:
tjet checkpoint list
tjet checkpoint show
Usage: tjet checkpoint show [OPTIONS] <ID>
Arguments:
<ID> The id (or its first characters)
Options:
-h, --help Print help
Global options:
--server <SERVER> Server base URL. Default: the workspace's server, else the profile's, else https://trunkjet.io (the server `tjet login` signs in to) [env: TJET_SERVER=]
--profile <PROFILE> Named profile of the user configuration (TOML; schema: docs/manual/user-config.md) [env: TJET_PROFILE=]
--timeout <TIMEOUT> Whole-command deadline in seconds. On expiry the command stops; a remote request may already have completed (exit 8 for mutating commands) [env: TJET_TIMEOUT=]
--no-progress Do not write progress to stderr [env: TJET_NO_PROGRESS=]
--token-fd <TOKEN_FD> Read a session or scoped (agent) token from this open file descriptor (never pass a secret as a command-line value)
--token-stdin Read a session or scoped (agent) token from standard input
--workspace <WORKSPACE> Workspace directory (default: search upward from the current directory)
--json Emit exactly one JSON result on stdout
--non-interactive Never prompt; return structured errors instead
--allow-elevated-writes Windows: let this command change workspaces itself although the shell is elevated and UAC is on. Risky: the user's unelevated programs could redirect those writes. Without it an elevated tjet writes only through the unelevated daemon
--request-id <REQUEST_ID> Request identity for this command. Re-running the same command with the same value repeats exactly the same requests, so the server replays outcomes it already recorded instead of executing twice (use it to retry after an unknown outcome, exit 8)
Examples:
tjet checkpoint show CHECKPOINT_ID
tjet checkpoint pin
Pin (or with --unpin release) every local object of a checkpoint's closure
Usage: tjet checkpoint pin [OPTIONS] <ID>
Arguments:
<ID> The id (or its first characters)
Options:
--unpin Release the pin instead
-h, --help Print help
Global options:
--server <SERVER> Server base URL. Default: the workspace's server, else the profile's, else https://trunkjet.io (the server `tjet login` signs in to) [env: TJET_SERVER=]
--profile <PROFILE> Named profile of the user configuration (TOML; schema: docs/manual/user-config.md) [env: TJET_PROFILE=]
--timeout <TIMEOUT> Whole-command deadline in seconds. On expiry the command stops; a remote request may already have completed (exit 8 for mutating commands) [env: TJET_TIMEOUT=]
--no-progress Do not write progress to stderr [env: TJET_NO_PROGRESS=]
--token-fd <TOKEN_FD> Read a session or scoped (agent) token from this open file descriptor (never pass a secret as a command-line value)
--token-stdin Read a session or scoped (agent) token from standard input
--workspace <WORKSPACE> Workspace directory (default: search upward from the current directory)
--json Emit exactly one JSON result on stdout
--non-interactive Never prompt; return structured errors instead
--allow-elevated-writes Windows: let this command change workspaces itself although the shell is elevated and UAC is on. Risky: the user's unelevated programs could redirect those writes. Without it an elevated tjet writes only through the unelevated daemon
--request-id <REQUEST_ID> Request identity for this command. Re-running the same command with the same value repeats exactly the same requests, so the server replays outcomes it already recorded instead of executing twice (use it to retry after an unknown outcome, exit 8)
Examples:
tjet checkpoint pin CHECKPOINT_ID
tjet checkpoint export
Export a checkpoint's local closure with a digest manifest into a new directory
Usage: tjet checkpoint export [OPTIONS] --output <OUTPUT> <ID>
Arguments:
<ID> The id (or its first characters)
Options:
--output <OUTPUT> The new directory to write
-h, --help Print help
Global options:
--server <SERVER> Server base URL. Default: the workspace's server, else the profile's, else https://trunkjet.io (the server `tjet login` signs in to) [env: TJET_SERVER=]
--profile <PROFILE> Named profile of the user configuration (TOML; schema: docs/manual/user-config.md) [env: TJET_PROFILE=]
--timeout <TIMEOUT> Whole-command deadline in seconds. On expiry the command stops; a remote request may already have completed (exit 8 for mutating commands) [env: TJET_TIMEOUT=]
--no-progress Do not write progress to stderr [env: TJET_NO_PROGRESS=]
--token-fd <TOKEN_FD> Read a session or scoped (agent) token from this open file descriptor (never pass a secret as a command-line value)
--token-stdin Read a session or scoped (agent) token from standard input
--workspace <WORKSPACE> Workspace directory (default: search upward from the current directory)
--json Emit exactly one JSON result on stdout
--non-interactive Never prompt; return structured errors instead
--allow-elevated-writes Windows: let this command change workspaces itself although the shell is elevated and UAC is on. Risky: the user's unelevated programs could redirect those writes. Without it an elevated tjet writes only through the unelevated daemon
--request-id <REQUEST_ID> Request identity for this command. Re-running the same command with the same value repeats exactly the same requests, so the server replays outcomes it already recorded instead of executing twice (use it to retry after an unknown outcome, exit 8)
Examples:
tjet checkpoint export CHECKPOINT_ID --output ../export
tjet checkpoint unmark-remote
Drop a pending remote mark (`save --remote`): the checkpoint stays local, background publishing no longer considers it, and later marks no longer wait behind it
Usage: tjet checkpoint unmark-remote [OPTIONS] <ID>
Arguments:
<ID> The id (or its first characters)
Options:
-h, --help Print help
Global options:
--server <SERVER> Server base URL. Default: the workspace's server, else the profile's, else https://trunkjet.io (the server `tjet login` signs in to) [env: TJET_SERVER=]
--profile <PROFILE> Named profile of the user configuration (TOML; schema: docs/manual/user-config.md) [env: TJET_PROFILE=]
--timeout <TIMEOUT> Whole-command deadline in seconds. On expiry the command stops; a remote request may already have completed (exit 8 for mutating commands) [env: TJET_TIMEOUT=]
--no-progress Do not write progress to stderr [env: TJET_NO_PROGRESS=]
--token-fd <TOKEN_FD> Read a session or scoped (agent) token from this open file descriptor (never pass a secret as a command-line value)
--token-stdin Read a session or scoped (agent) token from standard input
--workspace <WORKSPACE> Workspace directory (default: search upward from the current directory)
--json Emit exactly one JSON result on stdout
--non-interactive Never prompt; return structured errors instead
--allow-elevated-writes Windows: let this command change workspaces itself although the shell is elevated and UAC is on. Risky: the user's unelevated programs could redirect those writes. Without it an elevated tjet writes only through the unelevated daemon
--request-id <REQUEST_ID> Request identity for this command. Re-running the same command with the same value repeats exactly the same requests, so the server replays outcomes it already recorded instead of executing twice (use it to retry after an unknown outcome, exit 8)
Examples:
tjet checkpoint unmark-remote CHECKPOINT_ID
tjet file
Read files at an exact revision
Usage: tjet file [OPTIONS] <COMMAND>
Commands:
show Write the exact bytes of PATH at REVISION to stdout
history Revisions that changed PATH
blame Line attribution (policy nscm-blame-v1). A file beyond the server's synchronous budget is attributed by a background job: the command waits for it, showing its progress, unless `--no-wait` (then the pending job is printed; poll with `--job`)
access What you may do with each PATH (spec 23 §1): `write` (read and propose changes), `read`, or `use` (the path exists and can be built against, but its contents cannot be read). A path you may not see is reported exactly like one that does not exist
help Print this message or the help of the given subcommand(s)
Options:
-h, --help
Print help (see a summary with '-h')
Global options:
--server <SERVER>
Server base URL. Default: the workspace's server, else the profile's, else https://trunkjet.io (the server `tjet login` signs in to)
[env: TJET_SERVER=]
--profile <PROFILE>
Named profile of the user configuration (TOML; schema: docs/manual/user-config.md)
[env: TJET_PROFILE=]
--timeout <TIMEOUT>
Whole-command deadline in seconds. On expiry the command stops; a remote request may already have completed (exit 8 for mutating commands)
[env: TJET_TIMEOUT=]
--no-progress
Do not write progress to stderr
[env: TJET_NO_PROGRESS=]
--token-fd <TOKEN_FD>
Read a session or scoped (agent) token from this open file descriptor (never pass a secret as a command-line value)
--token-stdin
Read a session or scoped (agent) token from standard input
--workspace <WORKSPACE>
Workspace directory (default: search upward from the current directory)
--json
Emit exactly one JSON result on stdout
--non-interactive
Never prompt; return structured errors instead
--allow-elevated-writes
Windows: let this command change workspaces itself although the shell is elevated and UAC is on. Risky: the user's unelevated programs could redirect those writes. Without it an elevated tjet writes only through the unelevated daemon
--request-id <REQUEST_ID>
Request identity for this command. Re-running the same command with the same value repeats exactly the same requests, so the server replays outcomes it already recorded instead of executing twice (use it to retry after an unknown outcome, exit 8)
tjet file show
Write the exact bytes of PATH at REVISION to stdout
Usage: tjet file show [OPTIONS] --rev <REV> <PATH>
Arguments:
<PATH> The file's path in the repository
Options:
--rev <REV> A revision id (o1_...) or a stream name (its newest revision)
--repo <REPO> The repository (its name); needed outside a workspace
-h, --help Print help
Global options:
--server <SERVER> Server base URL. Default: the workspace's server, else the profile's, else https://trunkjet.io (the server `tjet login` signs in to) [env: TJET_SERVER=]
--profile <PROFILE> Named profile of the user configuration (TOML; schema: docs/manual/user-config.md) [env: TJET_PROFILE=]
--timeout <TIMEOUT> Whole-command deadline in seconds. On expiry the command stops; a remote request may already have completed (exit 8 for mutating commands) [env: TJET_TIMEOUT=]
--no-progress Do not write progress to stderr [env: TJET_NO_PROGRESS=]
--token-fd <TOKEN_FD> Read a session or scoped (agent) token from this open file descriptor (never pass a secret as a command-line value)
--token-stdin Read a session or scoped (agent) token from standard input
--workspace <WORKSPACE> Workspace directory (default: search upward from the current directory)
--json Emit exactly one JSON result on stdout
--non-interactive Never prompt; return structured errors instead
--allow-elevated-writes Windows: let this command change workspaces itself although the shell is elevated and UAC is on. Risky: the user's unelevated programs could redirect those writes. Without it an elevated tjet writes only through the unelevated daemon
--request-id <REQUEST_ID> Request identity for this command. Re-running the same command with the same value repeats exactly the same requests, so the server replays outcomes it already recorded instead of executing twice (use it to retry after an unknown outcome, exit 8)
Examples:
tjet file show README.md
tjet file show README.md --rev dark-mode
tjet file history
Revisions that changed PATH
Usage: tjet file history [OPTIONS] <PATH>
Arguments:
<PATH> A file path in the repository
Options:
--rev <REV> A revision id or a stream name (its newest version)
--first-parent Follow only the first parent of merges
--follow Follow the file across renames
--repo <REPO> The repository (its name); needed outside a workspace
-h, --help Print help
Global options:
--server <SERVER> Server base URL. Default: the workspace's server, else the profile's, else https://trunkjet.io (the server `tjet login` signs in to) [env: TJET_SERVER=]
--profile <PROFILE> Named profile of the user configuration (TOML; schema: docs/manual/user-config.md) [env: TJET_PROFILE=]
--timeout <TIMEOUT> Whole-command deadline in seconds. On expiry the command stops; a remote request may already have completed (exit 8 for mutating commands) [env: TJET_TIMEOUT=]
--no-progress Do not write progress to stderr [env: TJET_NO_PROGRESS=]
--token-fd <TOKEN_FD> Read a session or scoped (agent) token from this open file descriptor (never pass a secret as a command-line value)
--token-stdin Read a session or scoped (agent) token from standard input
--workspace <WORKSPACE> Workspace directory (default: search upward from the current directory)
--json Emit exactly one JSON result on stdout
--non-interactive Never prompt; return structured errors instead
--allow-elevated-writes Windows: let this command change workspaces itself although the shell is elevated and UAC is on. Risky: the user's unelevated programs could redirect those writes. Without it an elevated tjet writes only through the unelevated daemon
--request-id <REQUEST_ID> Request identity for this command. Re-running the same command with the same value repeats exactly the same requests, so the server replays outcomes it already recorded instead of executing twice (use it to retry after an unknown outcome, exit 8)
Examples:
tjet file history config/prices.yaml
tjet file blame
Line attribution (policy nscm-blame-v1). A file beyond the server's synchronous budget is attributed by a background job: the command waits for it, showing its progress, unless `--no-wait` (then the pending job is printed; poll with `--job`)
Usage: tjet file blame [OPTIONS] <PATH>
Arguments:
<PATH> A file path in the repository
Options:
--rev <REV> A revision id or a stream name (its newest version)
--repo <REPO> The repository (its name); needed outside a workspace
--no-wait Return a pending background job immediately instead of waiting for it
--wait-timeout <WAIT_TIMEOUT> Give up waiting after this many seconds (exit 5, RETRY_LATER; the job continues)
--job <JOB> Read (and wait for) this background blame job instead of requesting a blame
-h, --help Print help
Global options:
--server <SERVER> Server base URL. Default: the workspace's server, else the profile's, else https://trunkjet.io (the server `tjet login` signs in to) [env: TJET_SERVER=]
--profile <PROFILE> Named profile of the user configuration (TOML; schema: docs/manual/user-config.md) [env: TJET_PROFILE=]
--timeout <TIMEOUT> Whole-command deadline in seconds. On expiry the command stops; a remote request may already have completed (exit 8 for mutating commands) [env: TJET_TIMEOUT=]
--no-progress Do not write progress to stderr [env: TJET_NO_PROGRESS=]
--token-fd <TOKEN_FD> Read a session or scoped (agent) token from this open file descriptor (never pass a secret as a command-line value)
--token-stdin Read a session or scoped (agent) token from standard input
--workspace <WORKSPACE> Workspace directory (default: search upward from the current directory)
--json Emit exactly one JSON result on stdout
--non-interactive Never prompt; return structured errors instead
--allow-elevated-writes Windows: let this command change workspaces itself although the shell is elevated and UAC is on. Risky: the user's unelevated programs could redirect those writes. Without it an elevated tjet writes only through the unelevated daemon
--request-id <REQUEST_ID> Request identity for this command. Re-running the same command with the same value repeats exactly the same requests, so the server replays outcomes it already recorded instead of executing twice (use it to retry after an unknown outcome, exit 8)
Examples:
tjet file blame config/prices.yaml
tjet file access
What you may do with each PATH (spec 23 §1): `write` (read and propose changes), `read`, or `use` (the path exists and can be built against, but its contents cannot be read). A path you may not see is reported exactly like one that does not exist
Usage: tjet file access [OPTIONS] <PATHS>...
Arguments:
<PATHS>... Paths in the repository (at most 256)
Options:
--rev <REV> A revision id (o1_...) or a stream name; default: the workspace's base revision, else the head of `main`
--repo <REPO> The repository (its name); needed outside a workspace
-h, --help Print help
Global options:
--server <SERVER> Server base URL. Default: the workspace's server, else the profile's, else https://trunkjet.io (the server `tjet login` signs in to) [env: TJET_SERVER=]
--profile <PROFILE> Named profile of the user configuration (TOML; schema: docs/manual/user-config.md) [env: TJET_PROFILE=]
--timeout <TIMEOUT> Whole-command deadline in seconds. On expiry the command stops; a remote request may already have completed (exit 8 for mutating commands) [env: TJET_TIMEOUT=]
--no-progress Do not write progress to stderr [env: TJET_NO_PROGRESS=]
--token-fd <TOKEN_FD> Read a session or scoped (agent) token from this open file descriptor (never pass a secret as a command-line value)
--token-stdin Read a session or scoped (agent) token from standard input
--workspace <WORKSPACE> Workspace directory (default: search upward from the current directory)
--json Emit exactly one JSON result on stdout
--non-interactive Never prompt; return structured errors instead
--allow-elevated-writes Windows: let this command change workspaces itself although the shell is elevated and UAC is on. Risky: the user's unelevated programs could redirect those writes. Without it an elevated tjet writes only through the unelevated daemon
--request-id <REQUEST_ID> Request identity for this command. Re-running the same command with the same value repeats exactly the same requests, so the server replays outcomes it already recorded instead of executing twice (use it to retry after an unknown outcome, exit 8)
Examples:
tjet file access core/algo.rs docs/guide.md
tjet blame
Who last changed each line of a file, and when (the same as `tjet file blame`)
Usage: tjet blame [OPTIONS] <PATH>
Arguments:
<PATH>
A file path in the repository
Options:
--rev <REV>
A revision id or a stream name (its newest version)
--repo <REPO>
The repository (its name); needed outside a workspace
--no-wait
Return a pending background job immediately instead of waiting for it
--wait-timeout <WAIT_TIMEOUT>
Give up waiting after this many seconds (exit 5, RETRY_LATER; the job continues)
--job <JOB>
Read (and wait for) this background blame job instead of requesting a blame
-h, --help
Print help (see a summary with '-h')
Global options:
--server <SERVER>
Server base URL. Default: the workspace's server, else the profile's, else https://trunkjet.io (the server `tjet login` signs in to)
[env: TJET_SERVER=]
--profile <PROFILE>
Named profile of the user configuration (TOML; schema: docs/manual/user-config.md)
[env: TJET_PROFILE=]
--timeout <TIMEOUT>
Whole-command deadline in seconds. On expiry the command stops; a remote request may already have completed (exit 8 for mutating commands)
[env: TJET_TIMEOUT=]
--no-progress
Do not write progress to stderr
[env: TJET_NO_PROGRESS=]
--token-fd <TOKEN_FD>
Read a session or scoped (agent) token from this open file descriptor (never pass a secret as a command-line value)
--token-stdin
Read a session or scoped (agent) token from standard input
--workspace <WORKSPACE>
Workspace directory (default: search upward from the current directory)
--json
Emit exactly one JSON result on stdout
--non-interactive
Never prompt; return structured errors instead
--allow-elevated-writes
Windows: let this command change workspaces itself although the shell is elevated and UAC is on. Risky: the user's unelevated programs could redirect those writes. Without it an elevated tjet writes only through the unelevated daemon
--request-id <REQUEST_ID>
Request identity for this command. Re-running the same command with the same value repeats exactly the same requests, so the server replays outcomes it already recorded instead of executing twice (use it to retry after an unknown outcome, exit 8)
Examples:
tjet blame config/prices.yaml
tjet history
The revisions that changed a file (the same as `tjet file history`)
Usage: tjet history [OPTIONS] <PATH>
Arguments:
<PATH>
A file path in the repository
Options:
--rev <REV>
A revision id or a stream name (its newest version)
--first-parent
Follow only the first parent of merges
--follow
Follow the file across renames
--repo <REPO>
The repository (its name); needed outside a workspace
-h, --help
Print help (see a summary with '-h')
Global options:
--server <SERVER>
Server base URL. Default: the workspace's server, else the profile's, else https://trunkjet.io (the server `tjet login` signs in to)
[env: TJET_SERVER=]
--profile <PROFILE>
Named profile of the user configuration (TOML; schema: docs/manual/user-config.md)
[env: TJET_PROFILE=]
--timeout <TIMEOUT>
Whole-command deadline in seconds. On expiry the command stops; a remote request may already have completed (exit 8 for mutating commands)
[env: TJET_TIMEOUT=]
--no-progress
Do not write progress to stderr
[env: TJET_NO_PROGRESS=]
--token-fd <TOKEN_FD>
Read a session or scoped (agent) token from this open file descriptor (never pass a secret as a command-line value)
--token-stdin
Read a session or scoped (agent) token from standard input
--workspace <WORKSPACE>
Workspace directory (default: search upward from the current directory)
--json
Emit exactly one JSON result on stdout
--non-interactive
Never prompt; return structured errors instead
--allow-elevated-writes
Windows: let this command change workspaces itself although the shell is elevated and UAC is on. Risky: the user's unelevated programs could redirect those writes. Without it an elevated tjet writes only through the unelevated daemon
--request-id <REQUEST_ID>
Request identity for this command. Re-running the same command with the same value repeats exactly the same requests, so the server replays outcomes it already recorded instead of executing twice (use it to retry after an unknown outcome, exit 8)
Examples:
tjet history config/prices.yaml
tjet change
Logical changes
Usage: tjet change [OPTIONS] <COMMAND>
Commands:
new Start a new change in this workspace (created on the next sync). Stacked on the current change's published revision when the workspace is at it
switch Move this (saved and synchronized) workspace to another open change of yours
split Publish the work below --paths as a new change and the rest as this change's next revision (the original checkpoint is kept until both are remote)
move-paths Move the work below --paths to another open change with the same base
show A change: title, state, author, stream and current revision (default: this workspace's change)
list Changes of the repository, by state, owner or target stream
abandon Abandon (close) a change: closes its open reviews; it can no longer land. `tjet change reopen` undoes it
reopen Reopen an abandoned change (revalidates base/revision availability and permissions)
origin Origin of a derived change, changes derived from it and their integrations
stack Stack this change on PARENT (it must already be based on a revision of PARENT, e.g. a workspace opened with `--rev` at PARENT's current revision)
help Print this message or the help of the given subcommand(s)
Options:
-h, --help
Print help (see a summary with '-h')
Global options:
--server <SERVER>
Server base URL. Default: the workspace's server, else the profile's, else https://trunkjet.io (the server `tjet login` signs in to)
[env: TJET_SERVER=]
--profile <PROFILE>
Named profile of the user configuration (TOML; schema: docs/manual/user-config.md)
[env: TJET_PROFILE=]
--timeout <TIMEOUT>
Whole-command deadline in seconds. On expiry the command stops; a remote request may already have completed (exit 8 for mutating commands)
[env: TJET_TIMEOUT=]
--no-progress
Do not write progress to stderr
[env: TJET_NO_PROGRESS=]
--token-fd <TOKEN_FD>
Read a session or scoped (agent) token from this open file descriptor (never pass a secret as a command-line value)
--token-stdin
Read a session or scoped (agent) token from standard input
--workspace <WORKSPACE>
Workspace directory (default: search upward from the current directory)
--json
Emit exactly one JSON result on stdout
--non-interactive
Never prompt; return structured errors instead
--allow-elevated-writes
Windows: let this command change workspaces itself although the shell is elevated and UAC is on. Risky: the user's unelevated programs could redirect those writes. Without it an elevated tjet writes only through the unelevated daemon
--request-id <REQUEST_ID>
Request identity for this command. Re-running the same command with the same value repeats exactly the same requests, so the server replays outcomes it already recorded instead of executing twice (use it to retry after an unknown outcome, exit 8)
tjet change new
Start a new change in this workspace (created on the next sync). Stacked on the current change's published revision when the workspace is at it
Usage: tjet change new [OPTIONS]
Options:
-h, --help Print help
Global options:
--server <SERVER> Server base URL. Default: the workspace's server, else the profile's, else https://trunkjet.io (the server `tjet login` signs in to) [env: TJET_SERVER=]
--profile <PROFILE> Named profile of the user configuration (TOML; schema: docs/manual/user-config.md) [env: TJET_PROFILE=]
--timeout <TIMEOUT> Whole-command deadline in seconds. On expiry the command stops; a remote request may already have completed (exit 8 for mutating commands) [env: TJET_TIMEOUT=]
--no-progress Do not write progress to stderr [env: TJET_NO_PROGRESS=]
--token-fd <TOKEN_FD> Read a session or scoped (agent) token from this open file descriptor (never pass a secret as a command-line value)
--token-stdin Read a session or scoped (agent) token from standard input
--workspace <WORKSPACE> Workspace directory (default: search upward from the current directory)
--json Emit exactly one JSON result on stdout
--non-interactive Never prompt; return structured errors instead
--allow-elevated-writes Windows: let this command change workspaces itself although the shell is elevated and UAC is on. Risky: the user's unelevated programs could redirect those writes. Without it an elevated tjet writes only through the unelevated daemon
--request-id <REQUEST_ID> Request identity for this command. Re-running the same command with the same value repeats exactly the same requests, so the server replays outcomes it already recorded instead of executing twice (use it to retry after an unknown outcome, exit 8)
Examples:
tjet change new
tjet change switch
Move this (saved and synchronized) workspace to another open change of yours
Usage: tjet change switch [OPTIONS] <CHANGE>
Arguments:
<CHANGE> The change to move to (its id or the first 8 characters)
Options:
-h, --help Print help
Global options:
--server <SERVER> Server base URL. Default: the workspace's server, else the profile's, else https://trunkjet.io (the server `tjet login` signs in to) [env: TJET_SERVER=]
--profile <PROFILE> Named profile of the user configuration (TOML; schema: docs/manual/user-config.md) [env: TJET_PROFILE=]
--timeout <TIMEOUT> Whole-command deadline in seconds. On expiry the command stops; a remote request may already have completed (exit 8 for mutating commands) [env: TJET_TIMEOUT=]
--no-progress Do not write progress to stderr [env: TJET_NO_PROGRESS=]
--token-fd <TOKEN_FD> Read a session or scoped (agent) token from this open file descriptor (never pass a secret as a command-line value)
--token-stdin Read a session or scoped (agent) token from standard input
--workspace <WORKSPACE> Workspace directory (default: search upward from the current directory)
--json Emit exactly one JSON result on stdout
--non-interactive Never prompt; return structured errors instead
--allow-elevated-writes Windows: let this command change workspaces itself although the shell is elevated and UAC is on. Risky: the user's unelevated programs could redirect those writes. Without it an elevated tjet writes only through the unelevated daemon
--request-id <REQUEST_ID> Request identity for this command. Re-running the same command with the same value repeats exactly the same requests, so the server replays outcomes it already recorded instead of executing twice (use it to retry after an unknown outcome, exit 8)
Examples:
tjet change switch 54c71f9d
tjet change split
Publish the work below --paths as a new change and the rest as this change's next revision (the original checkpoint is kept until both are remote)
Usage: tjet change split [OPTIONS]
Options:
--paths <PATHS>... File or folder paths
--hunks <PATH=I,J> Move only these hunks of a modified text file: PATH=I,J (1-based, in the order `tjet diff` lists that file's hunks); repeatable
--title <TITLE> The title of the new change [default: split]
-h, --help Print help
Global options:
--server <SERVER> Server base URL. Default: the workspace's server, else the profile's, else https://trunkjet.io (the server `tjet login` signs in to) [env: TJET_SERVER=]
--profile <PROFILE> Named profile of the user configuration (TOML; schema: docs/manual/user-config.md) [env: TJET_PROFILE=]
--timeout <TIMEOUT> Whole-command deadline in seconds. On expiry the command stops; a remote request may already have completed (exit 8 for mutating commands) [env: TJET_TIMEOUT=]
--no-progress Do not write progress to stderr [env: TJET_NO_PROGRESS=]
--token-fd <TOKEN_FD> Read a session or scoped (agent) token from this open file descriptor (never pass a secret as a command-line value)
--token-stdin Read a session or scoped (agent) token from standard input
--workspace <WORKSPACE> Workspace directory (default: search upward from the current directory)
--json Emit exactly one JSON result on stdout
--non-interactive Never prompt; return structured errors instead
--allow-elevated-writes Windows: let this command change workspaces itself although the shell is elevated and UAC is on. Risky: the user's unelevated programs could redirect those writes. Without it an elevated tjet writes only through the unelevated daemon
--request-id <REQUEST_ID> Request identity for this command. Re-running the same command with the same value repeats exactly the same requests, so the server replays outcomes it already recorded instead of executing twice (use it to retry after an unknown outcome, exit 8)
Examples:
tjet change split --paths docs/
tjet change move-paths
Move the work below --paths to another open change with the same base
Usage: tjet change move-paths [OPTIONS] --to <TO> --paths <PATHS>...
Options:
--to <TO> The change to move the work to (its id)
--paths <PATHS>... File or folder paths
-h, --help Print help
Global options:
--server <SERVER> Server base URL. Default: the workspace's server, else the profile's, else https://trunkjet.io (the server `tjet login` signs in to) [env: TJET_SERVER=]
--profile <PROFILE> Named profile of the user configuration (TOML; schema: docs/manual/user-config.md) [env: TJET_PROFILE=]
--timeout <TIMEOUT> Whole-command deadline in seconds. On expiry the command stops; a remote request may already have completed (exit 8 for mutating commands) [env: TJET_TIMEOUT=]
--no-progress Do not write progress to stderr [env: TJET_NO_PROGRESS=]
--token-fd <TOKEN_FD> Read a session or scoped (agent) token from this open file descriptor (never pass a secret as a command-line value)
--token-stdin Read a session or scoped (agent) token from standard input
--workspace <WORKSPACE> Workspace directory (default: search upward from the current directory)
--json Emit exactly one JSON result on stdout
--non-interactive Never prompt; return structured errors instead
--allow-elevated-writes Windows: let this command change workspaces itself although the shell is elevated and UAC is on. Risky: the user's unelevated programs could redirect those writes. Without it an elevated tjet writes only through the unelevated daemon
--request-id <REQUEST_ID> Request identity for this command. Re-running the same command with the same value repeats exactly the same requests, so the server replays outcomes it already recorded instead of executing twice (use it to retry after an unknown outcome, exit 8)
Examples:
tjet change move-paths --to 54c71f9d --paths docs/
tjet change show
A change: title, state, author, stream and current revision (default: this workspace's change)
Usage: tjet change show [OPTIONS] [CHANGE]
Arguments:
[CHANGE] The change id (default: this workspace's change)
Options:
--change <CHANGE> The same as CHANGE
--repo <REPO> Repository name (needed outside a workspace)
-h, --help Print help
Global options:
--server <SERVER> Server base URL. Default: the workspace's server, else the profile's, else https://trunkjet.io (the server `tjet login` signs in to) [env: TJET_SERVER=]
--profile <PROFILE> Named profile of the user configuration (TOML; schema: docs/manual/user-config.md) [env: TJET_PROFILE=]
--timeout <TIMEOUT> Whole-command deadline in seconds. On expiry the command stops; a remote request may already have completed (exit 8 for mutating commands) [env: TJET_TIMEOUT=]
--no-progress Do not write progress to stderr [env: TJET_NO_PROGRESS=]
--token-fd <TOKEN_FD> Read a session or scoped (agent) token from this open file descriptor (never pass a secret as a command-line value)
--token-stdin Read a session or scoped (agent) token from standard input
--workspace <WORKSPACE> Workspace directory (default: search upward from the current directory)
--json Emit exactly one JSON result on stdout
--non-interactive Never prompt; return structured errors instead
--allow-elevated-writes Windows: let this command change workspaces itself although the shell is elevated and UAC is on. Risky: the user's unelevated programs could redirect those writes. Without it an elevated tjet writes only through the unelevated daemon
--request-id <REQUEST_ID> Request identity for this command. Re-running the same command with the same value repeats exactly the same requests, so the server replays outcomes it already recorded instead of executing twice (use it to retry after an unknown outcome, exit 8)
Examples:
tjet change show
tjet change show 54c71f9d
tjet change list
Changes of the repository, by state, owner or target stream
Usage: tjet change list [OPTIONS]
Options:
--state <STATE> Only changes in this state (any letter case) [possible values: open, integrated, abandoned, in_review, needs_changes]
--mine Only your own changes
--owner <OWNER> Only the changes of this user (a user name)
--stream <STREAM> Only changes that target this stream
--repo <REPO> Repository name (needed outside a workspace)
-h, --help Print help
Global options:
--server <SERVER> Server base URL. Default: the workspace's server, else the profile's, else https://trunkjet.io (the server `tjet login` signs in to) [env: TJET_SERVER=]
--profile <PROFILE> Named profile of the user configuration (TOML; schema: docs/manual/user-config.md) [env: TJET_PROFILE=]
--timeout <TIMEOUT> Whole-command deadline in seconds. On expiry the command stops; a remote request may already have completed (exit 8 for mutating commands) [env: TJET_TIMEOUT=]
--no-progress Do not write progress to stderr [env: TJET_NO_PROGRESS=]
--token-fd <TOKEN_FD> Read a session or scoped (agent) token from this open file descriptor (never pass a secret as a command-line value)
--token-stdin Read a session or scoped (agent) token from standard input
--workspace <WORKSPACE> Workspace directory (default: search upward from the current directory)
--json Emit exactly one JSON result on stdout
--non-interactive Never prompt; return structured errors instead
--allow-elevated-writes Windows: let this command change workspaces itself although the shell is elevated and UAC is on. Risky: the user's unelevated programs could redirect those writes. Without it an elevated tjet writes only through the unelevated daemon
--request-id <REQUEST_ID> Request identity for this command. Re-running the same command with the same value repeats exactly the same requests, so the server replays outcomes it already recorded instead of executing twice (use it to retry after an unknown outcome, exit 8)
Examples:
tjet change list --mine
tjet change list --state open
tjet change abandon
Abandon (close) a change: closes its open reviews; it can no longer land. `tjet change reopen` undoes it
Usage: tjet change abandon [OPTIONS] [CHANGE]
Arguments:
[CHANGE] The change id (default: this workspace's change)
Options:
--change <CHANGE> The same as CHANGE
--repo <REPO> Repository name (needed outside a workspace)
-h, --help Print help
Global options:
--server <SERVER> Server base URL. Default: the workspace's server, else the profile's, else https://trunkjet.io (the server `tjet login` signs in to) [env: TJET_SERVER=]
--profile <PROFILE> Named profile of the user configuration (TOML; schema: docs/manual/user-config.md) [env: TJET_PROFILE=]
--timeout <TIMEOUT> Whole-command deadline in seconds. On expiry the command stops; a remote request may already have completed (exit 8 for mutating commands) [env: TJET_TIMEOUT=]
--no-progress Do not write progress to stderr [env: TJET_NO_PROGRESS=]
--token-fd <TOKEN_FD> Read a session or scoped (agent) token from this open file descriptor (never pass a secret as a command-line value)
--token-stdin Read a session or scoped (agent) token from standard input
--workspace <WORKSPACE> Workspace directory (default: search upward from the current directory)
--json Emit exactly one JSON result on stdout
--non-interactive Never prompt; return structured errors instead
--allow-elevated-writes Windows: let this command change workspaces itself although the shell is elevated and UAC is on. Risky: the user's unelevated programs could redirect those writes. Without it an elevated tjet writes only through the unelevated daemon
--request-id <REQUEST_ID> Request identity for this command. Re-running the same command with the same value repeats exactly the same requests, so the server replays outcomes it already recorded instead of executing twice (use it to retry after an unknown outcome, exit 8)
Examples:
tjet change abandon 54c71f9d
tjet change reopen
Reopen an abandoned change (revalidates base/revision availability and permissions)
Usage: tjet change reopen [OPTIONS] [CHANGE]
Arguments:
[CHANGE] The change id (default: this workspace's change)
Options:
--change <CHANGE> The same as CHANGE
--repo <REPO> Repository name (needed outside a workspace)
-h, --help Print help
Global options:
--server <SERVER> Server base URL. Default: the workspace's server, else the profile's, else https://trunkjet.io (the server `tjet login` signs in to) [env: TJET_SERVER=]
--profile <PROFILE> Named profile of the user configuration (TOML; schema: docs/manual/user-config.md) [env: TJET_PROFILE=]
--timeout <TIMEOUT> Whole-command deadline in seconds. On expiry the command stops; a remote request may already have completed (exit 8 for mutating commands) [env: TJET_TIMEOUT=]
--no-progress Do not write progress to stderr [env: TJET_NO_PROGRESS=]
--token-fd <TOKEN_FD> Read a session or scoped (agent) token from this open file descriptor (never pass a secret as a command-line value)
--token-stdin Read a session or scoped (agent) token from standard input
--workspace <WORKSPACE> Workspace directory (default: search upward from the current directory)
--json Emit exactly one JSON result on stdout
--non-interactive Never prompt; return structured errors instead
--allow-elevated-writes Windows: let this command change workspaces itself although the shell is elevated and UAC is on. Risky: the user's unelevated programs could redirect those writes. Without it an elevated tjet writes only through the unelevated daemon
--request-id <REQUEST_ID> Request identity for this command. Re-running the same command with the same value repeats exactly the same requests, so the server replays outcomes it already recorded instead of executing twice (use it to retry after an unknown outcome, exit 8)
Examples:
tjet change reopen 54c71f9d
tjet change origin
Origin of a derived change, changes derived from it and their integrations
Usage: tjet change origin [OPTIONS] [CHANGE]
Arguments:
[CHANGE] The change id (default: this workspace's change)
Options:
--change <CHANGE> The same as CHANGE
--repo <REPO> Repository name (needed outside a workspace)
-h, --help Print help
Global options:
--server <SERVER> Server base URL. Default: the workspace's server, else the profile's, else https://trunkjet.io (the server `tjet login` signs in to) [env: TJET_SERVER=]
--profile <PROFILE> Named profile of the user configuration (TOML; schema: docs/manual/user-config.md) [env: TJET_PROFILE=]
--timeout <TIMEOUT> Whole-command deadline in seconds. On expiry the command stops; a remote request may already have completed (exit 8 for mutating commands) [env: TJET_TIMEOUT=]
--no-progress Do not write progress to stderr [env: TJET_NO_PROGRESS=]
--token-fd <TOKEN_FD> Read a session or scoped (agent) token from this open file descriptor (never pass a secret as a command-line value)
--token-stdin Read a session or scoped (agent) token from standard input
--workspace <WORKSPACE> Workspace directory (default: search upward from the current directory)
--json Emit exactly one JSON result on stdout
--non-interactive Never prompt; return structured errors instead
--allow-elevated-writes Windows: let this command change workspaces itself although the shell is elevated and UAC is on. Risky: the user's unelevated programs could redirect those writes. Without it an elevated tjet writes only through the unelevated daemon
--request-id <REQUEST_ID> Request identity for this command. Re-running the same command with the same value repeats exactly the same requests, so the server replays outcomes it already recorded instead of executing twice (use it to retry after an unknown outcome, exit 8)
Examples:
tjet change origin 54c71f9d
tjet change stack
Stack this change on PARENT (it must already be based on a revision of PARENT, e.g. a workspace opened with `--rev` at PARENT's current revision)
Usage: tjet change stack [OPTIONS] --on <ON>
Options:
--on <ON> The parent change (its id)
--change <CHANGE> The change (its id or the first 8 characters; default: this workspace's change)
--repo <REPO> The repository (its name); needed outside a workspace
-h, --help Print help
Global options:
--server <SERVER> Server base URL. Default: the workspace's server, else the profile's, else https://trunkjet.io (the server `tjet login` signs in to) [env: TJET_SERVER=]
--profile <PROFILE> Named profile of the user configuration (TOML; schema: docs/manual/user-config.md) [env: TJET_PROFILE=]
--timeout <TIMEOUT> Whole-command deadline in seconds. On expiry the command stops; a remote request may already have completed (exit 8 for mutating commands) [env: TJET_TIMEOUT=]
--no-progress Do not write progress to stderr [env: TJET_NO_PROGRESS=]
--token-fd <TOKEN_FD> Read a session or scoped (agent) token from this open file descriptor (never pass a secret as a command-line value)
--token-stdin Read a session or scoped (agent) token from standard input
--workspace <WORKSPACE> Workspace directory (default: search upward from the current directory)
--json Emit exactly one JSON result on stdout
--non-interactive Never prompt; return structured errors instead
--allow-elevated-writes Windows: let this command change workspaces itself although the shell is elevated and UAC is on. Risky: the user's unelevated programs could redirect those writes. Without it an elevated tjet writes only through the unelevated daemon
--request-id <REQUEST_ID> Request identity for this command. Re-running the same command with the same value repeats exactly the same requests, so the server replays outcomes it already recorded instead of executing twice (use it to retry after an unknown outcome, exit 8)
Examples:
tjet change stack --on 54c71f9d
tjet undo
Revert workspace files to the previous local checkpoint (journaled; never remote)
Usage: tjet undo [OPTIONS]
Options:
-h, --help
Print help (see a summary with '-h')
Global options:
--server <SERVER>
Server base URL. Default: the workspace's server, else the profile's, else https://trunkjet.io (the server `tjet login` signs in to)
[env: TJET_SERVER=]
--profile <PROFILE>
Named profile of the user configuration (TOML; schema: docs/manual/user-config.md)
[env: TJET_PROFILE=]
--timeout <TIMEOUT>
Whole-command deadline in seconds. On expiry the command stops; a remote request may already have completed (exit 8 for mutating commands)
[env: TJET_TIMEOUT=]
--no-progress
Do not write progress to stderr
[env: TJET_NO_PROGRESS=]
--token-fd <TOKEN_FD>
Read a session or scoped (agent) token from this open file descriptor (never pass a secret as a command-line value)
--token-stdin
Read a session or scoped (agent) token from standard input
--workspace <WORKSPACE>
Workspace directory (default: search upward from the current directory)
--json
Emit exactly one JSON result on stdout
--non-interactive
Never prompt; return structured errors instead
--allow-elevated-writes
Windows: let this command change workspaces itself although the shell is elevated and UAC is on. Risky: the user's unelevated programs could redirect those writes. Without it an elevated tjet writes only through the unelevated daemon
--request-id <REQUEST_ID>
Request identity for this command. Re-running the same command with the same value repeats exactly the same requests, so the server replays outcomes it already recorded instead of executing twice (use it to retry after an unknown outcome, exit 8)
Examples:
tjet undo
tjet redo
Re-apply the most recently undone local checkpoint
Usage: tjet redo [OPTIONS]
Options:
-h, --help
Print help (see a summary with '-h')
Global options:
--server <SERVER>
Server base URL. Default: the workspace's server, else the profile's, else https://trunkjet.io (the server `tjet login` signs in to)
[env: TJET_SERVER=]
--profile <PROFILE>
Named profile of the user configuration (TOML; schema: docs/manual/user-config.md)
[env: TJET_PROFILE=]
--timeout <TIMEOUT>
Whole-command deadline in seconds. On expiry the command stops; a remote request may already have completed (exit 8 for mutating commands)
[env: TJET_TIMEOUT=]
--no-progress
Do not write progress to stderr
[env: TJET_NO_PROGRESS=]
--token-fd <TOKEN_FD>
Read a session or scoped (agent) token from this open file descriptor (never pass a secret as a command-line value)
--token-stdin
Read a session or scoped (agent) token from standard input
--workspace <WORKSPACE>
Workspace directory (default: search upward from the current directory)
--json
Emit exactly one JSON result on stdout
--non-interactive
Never prompt; return structured errors instead
--allow-elevated-writes
Windows: let this command change workspaces itself although the shell is elevated and UAC is on. Risky: the user's unelevated programs could redirect those writes. Without it an elevated tjet writes only through the unelevated daemon
--request-id <REQUEST_ID>
Request identity for this command. Re-running the same command with the same value repeats exactly the same requests, so the server replays outcomes it already recorded instead of executing twice (use it to retry after an unknown outcome, exit 8)
Examples:
tjet redo
tjet restore
Throw away unsaved edits: put files back as they were at your last save (or at --checkpoint). Shows what would change unless --yes.
`tjet restore PATH...` puts back only those files or folders, `tjet restore --all` every file. Without --checkpoint the files go back to the checkpoint they are at (your last save, or where `tjet undo` took you), or to the workspace base when nothing was saved yet; `--checkpoint base` names the base. Your unsaved edits are first kept in a recovery checkpoint (unless --no-recovery-checkpoint), so `tjet restore --checkpoint ID` can bring them back.
Usage: tjet restore [OPTIONS] [PATH]...
Arguments:
[PATH]...
Files or folders to put back (relative to the current directory)
Options:
--all
Put back every file
--checkpoint <CHECKPOINT>
The checkpoint to go back to (an id or unique prefix from `tjet checkpoint list`, or `base`). Default: the checkpoint the files are at (your last save)
--yes
Apply instead of previewing
--no-recovery-checkpoint
Do not capture unsaved edits in a recovery checkpoint first
--path <PATH>
Restore only this path (a file or directory, relative to the current directory; repeatable); every other file is left as it is. Default: every file
-h, --help
Print help (see a summary with '-h')
Global options:
--server <SERVER>
Server base URL. Default: the workspace's server, else the profile's, else https://trunkjet.io (the server `tjet login` signs in to)
[env: TJET_SERVER=]
--profile <PROFILE>
Named profile of the user configuration (TOML; schema: docs/manual/user-config.md)
[env: TJET_PROFILE=]
--timeout <TIMEOUT>
Whole-command deadline in seconds. On expiry the command stops; a remote request may already have completed (exit 8 for mutating commands)
[env: TJET_TIMEOUT=]
--no-progress
Do not write progress to stderr
[env: TJET_NO_PROGRESS=]
--token-fd <TOKEN_FD>
Read a session or scoped (agent) token from this open file descriptor (never pass a secret as a command-line value)
--token-stdin
Read a session or scoped (agent) token from standard input
--workspace <WORKSPACE>
Workspace directory (default: search upward from the current directory)
--json
Emit exactly one JSON result on stdout
--non-interactive
Never prompt; return structured errors instead
--allow-elevated-writes
Windows: let this command change workspaces itself although the shell is elevated and UAC is on. Risky: the user's unelevated programs could redirect those writes. Without it an elevated tjet writes only through the unelevated daemon
--request-id <REQUEST_ID>
Request identity for this command. Re-running the same command with the same value repeats exactly the same requests, so the server replays outcomes it already recorded instead of executing twice (use it to retry after an unknown outcome, exit 8)
Examples:
tjet restore README.md
tjet restore --all --yes
tjet recover
Inspect interrupted operations and files an interrupted exclude or close left staged; resume or roll them back, or export a recovery bundle
Usage: tjet recover [OPTIONS]
Options:
--resume
Finish the interrupted operation
--rollback
Undo the interrupted operation
--export-bundle <EXPORT_BUNDLE>
Write every checkpoint's local closure, the journals and preimages, a copy of the local database and a digest manifest into this new directory (read-only)
--rebuild
Rebuild damaged or missing local metadata from the stored checkpoints (the old database is kept aside; base entries of changed paths are read from the server)
--abandon-switch
Give up an interrupted `tjet change switch` that cannot be finished: the files stay as it left them and the workspace takes a new change identity, so nothing is published to the change it left or to its target
-h, --help
Print help (see a summary with '-h')
Global options:
--server <SERVER>
Server base URL. Default: the workspace's server, else the profile's, else https://trunkjet.io (the server `tjet login` signs in to)
[env: TJET_SERVER=]
--profile <PROFILE>
Named profile of the user configuration (TOML; schema: docs/manual/user-config.md)
[env: TJET_PROFILE=]
--timeout <TIMEOUT>
Whole-command deadline in seconds. On expiry the command stops; a remote request may already have completed (exit 8 for mutating commands)
[env: TJET_TIMEOUT=]
--no-progress
Do not write progress to stderr
[env: TJET_NO_PROGRESS=]
--token-fd <TOKEN_FD>
Read a session or scoped (agent) token from this open file descriptor (never pass a secret as a command-line value)
--token-stdin
Read a session or scoped (agent) token from standard input
--workspace <WORKSPACE>
Workspace directory (default: search upward from the current directory)
--json
Emit exactly one JSON result on stdout
--non-interactive
Never prompt; return structured errors instead
--allow-elevated-writes
Windows: let this command change workspaces itself although the shell is elevated and UAC is on. Risky: the user's unelevated programs could redirect those writes. Without it an elevated tjet writes only through the unelevated daemon
--request-id <REQUEST_ID>
Request identity for this command. Re-running the same command with the same value repeats exactly the same requests, so the server replays outcomes it already recorded instead of executing twice (use it to retry after an unknown outcome, exit 8)
Examples:
tjet recover
tjet cache
The per-user shared object cache (remote-durable raw bytes shared by workspaces)
Usage: tjet cache [OPTIONS] <COMMAND>
Commands:
status Usage per server/repository partition (objects, bytes, user workspaces, pinned)
gc Evict unpinned objects, least recently installed first, until each partition fits
help Print this message or the help of the given subcommand(s)
Options:
-h, --help
Print help (see a summary with '-h')
Global options:
--server <SERVER>
Server base URL. Default: the workspace's server, else the profile's, else https://trunkjet.io (the server `tjet login` signs in to)
[env: TJET_SERVER=]
--profile <PROFILE>
Named profile of the user configuration (TOML; schema: docs/manual/user-config.md)
[env: TJET_PROFILE=]
--timeout <TIMEOUT>
Whole-command deadline in seconds. On expiry the command stops; a remote request may already have completed (exit 8 for mutating commands)
[env: TJET_TIMEOUT=]
--no-progress
Do not write progress to stderr
[env: TJET_NO_PROGRESS=]
--token-fd <TOKEN_FD>
Read a session or scoped (agent) token from this open file descriptor (never pass a secret as a command-line value)
--token-stdin
Read a session or scoped (agent) token from standard input
--workspace <WORKSPACE>
Workspace directory (default: search upward from the current directory)
--json
Emit exactly one JSON result on stdout
--non-interactive
Never prompt; return structured errors instead
--allow-elevated-writes
Windows: let this command change workspaces itself although the shell is elevated and UAC is on. Risky: the user's unelevated programs could redirect those writes. Without it an elevated tjet writes only through the unelevated daemon
--request-id <REQUEST_ID>
Request identity for this command. Re-running the same command with the same value repeats exactly the same requests, so the server replays outcomes it already recorded instead of executing twice (use it to retry after an unknown outcome, exit 8)
tjet cache status
Usage per server/repository partition (objects, bytes, user workspaces, pinned)
Usage: tjet cache status [OPTIONS]
Options:
-h, --help Print help
Global options:
--server <SERVER> Server base URL. Default: the workspace's server, else the profile's, else https://trunkjet.io (the server `tjet login` signs in to) [env: TJET_SERVER=]
--profile <PROFILE> Named profile of the user configuration (TOML; schema: docs/manual/user-config.md) [env: TJET_PROFILE=]
--timeout <TIMEOUT> Whole-command deadline in seconds. On expiry the command stops; a remote request may already have completed (exit 8 for mutating commands) [env: TJET_TIMEOUT=]
--no-progress Do not write progress to stderr [env: TJET_NO_PROGRESS=]
--token-fd <TOKEN_FD> Read a session or scoped (agent) token from this open file descriptor (never pass a secret as a command-line value)
--token-stdin Read a session or scoped (agent) token from standard input
--workspace <WORKSPACE> Workspace directory (default: search upward from the current directory)
--json Emit exactly one JSON result on stdout
--non-interactive Never prompt; return structured errors instead
--allow-elevated-writes Windows: let this command change workspaces itself although the shell is elevated and UAC is on. Risky: the user's unelevated programs could redirect those writes. Without it an elevated tjet writes only through the unelevated daemon
--request-id <REQUEST_ID> Request identity for this command. Re-running the same command with the same value repeats exactly the same requests, so the server replays outcomes it already recorded instead of executing twice (use it to retry after an unknown outcome, exit 8)
Examples:
tjet cache status
tjet cache gc
Evict unpinned objects, least recently installed first, until each partition fits
Usage: tjet cache gc [OPTIONS]
Options:
--budget <BUDGET> Bytes per partition (default: TJET_CACHE_BUDGET_BYTES, else 20 GiB)
-h, --help Print help
Global options:
--server <SERVER> Server base URL. Default: the workspace's server, else the profile's, else https://trunkjet.io (the server `tjet login` signs in to) [env: TJET_SERVER=]
--profile <PROFILE> Named profile of the user configuration (TOML; schema: docs/manual/user-config.md) [env: TJET_PROFILE=]
--timeout <TIMEOUT> Whole-command deadline in seconds. On expiry the command stops; a remote request may already have completed (exit 8 for mutating commands) [env: TJET_TIMEOUT=]
--no-progress Do not write progress to stderr [env: TJET_NO_PROGRESS=]
--token-fd <TOKEN_FD> Read a session or scoped (agent) token from this open file descriptor (never pass a secret as a command-line value)
--token-stdin Read a session or scoped (agent) token from standard input
--workspace <WORKSPACE> Workspace directory (default: search upward from the current directory)
--json Emit exactly one JSON result on stdout
--non-interactive Never prompt; return structured errors instead
--allow-elevated-writes Windows: let this command change workspaces itself although the shell is elevated and UAC is on. Risky: the user's unelevated programs could redirect those writes. Without it an elevated tjet writes only through the unelevated daemon
--request-id <REQUEST_ID> Request identity for this command. Re-running the same command with the same value repeats exactly the same requests, so the server replays outcomes it already recorded instead of executing twice (use it to retry after an unknown outcome, exit 8)
Examples:
tjet cache gc
tjet completions
Shell completion script (bash, zsh, fish, elvish, powershell) on stdout
Usage: tjet completions [OPTIONS] <SHELL>
Arguments:
<SHELL>
bash, zsh, fish, elvish or powershell
[possible values: bash, elvish, fish, powershell, zsh]
Options:
-h, --help
Print help (see a summary with '-h')
Global options:
--server <SERVER>
Server base URL. Default: the workspace's server, else the profile's, else https://trunkjet.io (the server `tjet login` signs in to)
[env: TJET_SERVER=]
--profile <PROFILE>
Named profile of the user configuration (TOML; schema: docs/manual/user-config.md)
[env: TJET_PROFILE=]
--timeout <TIMEOUT>
Whole-command deadline in seconds. On expiry the command stops; a remote request may already have completed (exit 8 for mutating commands)
[env: TJET_TIMEOUT=]
--no-progress
Do not write progress to stderr
[env: TJET_NO_PROGRESS=]
--token-fd <TOKEN_FD>
Read a session or scoped (agent) token from this open file descriptor (never pass a secret as a command-line value)
--token-stdin
Read a session or scoped (agent) token from standard input
--workspace <WORKSPACE>
Workspace directory (default: search upward from the current directory)
--json
Emit exactly one JSON result on stdout
--non-interactive
Never prompt; return structured errors instead
--allow-elevated-writes
Windows: let this command change workspaces itself although the shell is elevated and UAC is on. Risky: the user's unelevated programs could redirect those writes. Without it an elevated tjet writes only through the unelevated daemon
--request-id <REQUEST_ID>
Request identity for this command. Re-running the same command with the same value repeats exactly the same requests, so the server replays outcomes it already recorded instead of executing twice (use it to retry after an unknown outcome, exit 8)
Examples:
tjet completions bash > ~/.local/share/bash-completion/completions/tjet
tjet completions zsh > "${fpath[1]}/_tjet"
tjet admin exception
Two-person exceptional actions: one administrator requests, a second approves, then it executes once before it expires
Usage: tjet admin exception <COMMAND>
Commands:
request Request an exceptional action on one exact target (policy administrators)
list The repository's requests (policy administrators), optionally of one state
approve Approve a request as a second administrator (never the requester). `--confirm` must repeat the exact target identifier (lockset id, comment event id or principal id)
execute Execute an approved request. `--confirm` must repeat the exact target identifier
help Print this message or the help of the given subcommand(s)
Options:
-h, --help Print help
tjet admin exception request
Request an exceptional action on one exact target (policy administrators)
Usage: tjet admin exception request [OPTIONS] --repo <REPO> --action <ACTION> --reason <REASON>
Options:
--repo <REPO>
--action <ACTION>
Possible values:
- lock-takeover: Release another owner's lockset; its fence stops the owner from publishing with it
- comment-redact: Erase the stored text of a review comment and of every edit of it (irreversible)
- block-dismiss: Remove one principal's unresolved request for changes from a review
--lockset <LOCKSET>
LOCK_TAKEOVER: the lockset id
--review <REVIEW>
COMMENT_REDACT and BLOCK_DISMISS: the review id
--thread <THREAD>
COMMENT_REDACT: the thread id
--event <EVENT>
COMMENT_REDACT: the comment event id
--principal <PRINCIPAL>
BLOCK_DISMISS: the principal (id or subject) whose blocking request is removed
--reason <REASON>
Why (at least 10 bytes); kept in the audit record
--expires <EXPIRES>
Validity: `30m`, `24h`, `7d` (1 minute to 7 days; default 24h)
-h, --help
Print help (see a summary with '-h')
tjet admin exception list
The repository's requests (policy administrators), optionally of one state
Usage: tjet admin exception list [OPTIONS] --repo <REPO>
Options:
--repo <REPO>
--state <STATE> [possible values: PENDING, APPROVED, EXECUTED, EXPIRED]
-h, --help Print help
tjet admin exception approve
Approve a request as a second administrator (never the requester). `--confirm` must repeat the exact target identifier (lockset id, comment event id or principal id)
Usage: tjet admin exception approve --repo <REPO> --confirm <CONFIRM> <EXCEPTION>
Arguments:
<EXCEPTION>
Options:
--repo <REPO>
--confirm <CONFIRM>
-h, --help Print help
tjet admin exception execute
Execute an approved request. `--confirm` must repeat the exact target identifier
Usage: tjet admin exception execute --repo <REPO> --confirm <CONFIRM> <EXCEPTION>
Arguments:
<EXCEPTION>
Options:
--repo <REPO>
--confirm <CONFIRM>
-h, --help Print help