CLI
151 commands across 34 programs, 416 flags in total.
- apply-web-brand-assets1 flag
- build-cli-archive6 flags
- └await-notarization1 flag
- build-desktop-artifact12 flags
- build-npm-launcher2 flags
- check-changed2 flags
- dev-runner12 flags
- export-brand-icons1 flag
- generate2 flags
- generate-release-notes6 flags
- knip-check1 flag
- merge-update-manifests1 flag
- migrate-dev-db5 flags
- mobile-audit
- └capture4 flags
- └compare7 flags
- └report2 flags
- mobile-behavior13 flags
- mobile-native-client7 flags
- notify-discord-release6 flags
- prove-scenario4 flags
- resolve-nightly-release6 flags
- resolve-previous-release-tag3 flags
- server-metrics
- └ab14 flags
- └compare1 flag
- └noise
- └run14 flags
- smoke-cli-archive2 flags
- sync-reference-repos4 flags
- t312 flags
- └__claude-history
- └__service-launcher
- └__service-preflight2 flags
- └__speech-worker
- └__ssh-helper
- └home-owned
- └keep-server
- └pick-port
- └runtime-port
- └update-remaining
- └wait-ready
- └acp-mcp-bridge
- └acp-mcp-call
- └app1 flag
- └auth
- └connect-device
- └approve2 flags
- └list3 flags
- └revoke2 flags
- └pairing
- └create6 flags
- └list3 flags
- └revoke2 flags
- └session
- └issue7 flags
- └list3 flags
- └revoke2 flags
- └browser
- └setup1 flag
- └connect2 flags
- └link3 flags
- └login2 flags
- └logout1 flag
- └publish2 flags
- └status2 flags
- └unlink1 flag
- └doctor3 flags
- └environment
- └link6 flags
- └list3 flags
- └unlink2 flags
- └feedback6 flags
- └list3 flags
- └help
- └install
- └pair5 flags
- └policy
- └check
- └settings
- └show1 flag
- └templates1 flag
- └project
- └add3 flags
- └remove2 flags
- └rename1 flag
- └serve
- └service
- └install2 flags
- └protect3 flags
- └restart1 flag
- └status1 flag
- └uninstall1 flag
- └update2 flags
- └start12 flags
- └status2 flags
- └theme
- └clear1 flag
- └set2 flags
- └show1 flag
- └thread
- └list3 flags
- └send4 flags
- └show3 flags
- └start11 flags
- └trace
- └summary3 flags
- └triage3 flags
- └uninstall2 flags
- └up5 flags
- └update5 flags
- └workflow
- └cancel3 flags
- └hooks2 flags
- └list5 flags
- └questions3 flags
- └resume2 flags
- └show2 flags
- └signal6 flags
- └start4 flags
- └store
- └delete1 flag
- └list2 flags
- └set1 flag
- └withdraw5 flags
- t3-sqlite-state3 flags
apply-web-brand-assets
1 command
Copy web brand assets into a built hosted web app.
- Framework
- effect-cli
apply-web-brand-assets <brand> <target-directory> [flags]| Argument | Type | Description |
|---|---|---|
| brand | string | Asset brand to copy into the hosted web output directory. |
| target-directory | string | Output directory that contains the hosted web build assets. |
| Flag | Type | Required | Default | Description |
|---|---|---|---|---|
| --channel | string | required | — | Hosted release channel to map to a web asset brand. |
0 usages · in 1 flow
build-cli-archive
2 commands
Package the t3 single-executable into a per-platform archive.
- Framework
- effect-cli
build-cli-archive [flags]| Flag | Type | Required | Default | Description |
|---|---|---|---|---|
| --arch | string | required | — | |
| --notary-submission-file | string | required | — | macOS: submit for notarization without waiting and write the submission id here. Publish only after await-notarization succeeds. |
| --output-dir | string | — | release-cli | |
| --platform | string | required | — | |
| --resource-monitor-dir | string | required | — | Directory laid out like dist/resource-monitor (defaults to apps/server/dist/resource-monitor). |
| --version | string | required | — | Release version for the archive name. |
0 usages · in 1 flow
Wait for a --notary-submission-file submission; fail unless Accepted.
- Framework
- effect-cli
build-cli-archive await-notarization [flags]| Flag | Type | Required | Default | Description |
|---|---|---|---|---|
| --submission-file | string | required | — |
0 usages · in 1 flow
build-desktop-artifact
1 command
Build a desktop artifact for T3 Code.
- Framework
- effect-cli
build-desktop-artifact [flags]| Flag | Type | Required | Default | Description |
|---|---|---|---|---|
| --arch | string | required | — | Build arch, for example arm64/x64/universal (env: T3CODE_DESKTOP_ARCH). |
| --build-version | string | required | — | Compiled bundle and desktop package version (env: T3CODE_DESKTOP_VERSION). |
| --keep-stage | boolean | — | — | Keep temporary staging files (env: T3CODE_DESKTOP_KEEP_STAGE). |
| --mock-update-server-port | number | required | — | Mock update server port (env: T3CODE_DESKTOP_MOCK_UPDATE_SERVER_PORT). |
| --mock-updates | boolean | — | — | Enable mock updates (env: T3CODE_DESKTOP_MOCK_UPDATES). |
| --output-dir | string | required | — | Output directory for artifacts (env: T3CODE_DESKTOP_OUTPUT_DIR). |
| --platform | string | required | — | Build platform (env: T3CODE_DESKTOP_PLATFORM). |
| --signed | boolean | — | — | Enable signing/notarization discovery; Windows uses Azure Trusted Signing (env: T3CODE_DESKTOP_SIGNED). |
| --skip-build | boolean | — | — | Skip `vp run build:desktop` and use existing dist artifacts (env: T3CODE_DESKTOP_SKIP_BUILD). |
| --target | string | required | — | Artifact target, for example dmg/AppImage/nsis (env: T3CODE_DESKTOP_TARGET). |
| --verbose | boolean | — | — | Stream subprocess stdout (env: T3CODE_DESKTOP_VERBOSE). |
| --wsl-runtime | string | required | — | Path to the Linux CLI release archive (t3-<version>-linux-x64.tar.gz) to embed as the WSL runtime of a Windows build (env: T3CODE_DESKTOP_WSL_RUNTIME). |
0 usages · in 1 flow
build-npm-launcher
1 command
Build the t3 npm launcher package.
- Framework
- effect-cli
build-npm-launcher [flags]| Flag | Type | Required | Default | Description |
|---|---|---|---|---|
| --output-dir | string | — | npm-packages | |
| --version | string | required | — | Exact release version; the launcher downloads this version's archive. |
0 usages · in 1 flow
check-changed
1 command
Run CI's fast checks for this branch's changes.
- Framework
- effect-cli
check-changed <ref> [flags]| Argument | Type | Description |
|---|---|---|
| ref | string | Compare against the merge base with this ref. |
| Flag | Type | Required | Default | Description |
|---|---|---|---|---|
| --concurrency | number | required | — | Budget of parallel steps and typecheck workers; also CHECK_CHANGED_CONCURRENCY. Defaults to one per two cores and per 6 GiB of available memory. |
| --timeout | number | required | — | Seconds before a step is killed; also CHECK_CHANGED_TIMEOUT. Defaults to 900. |
0 usages · in 1 flow
cli
4 commands
T3 server build & publish CLI.
- Framework
- effect-cli
cli0 usages · in 1 flow
Build the server package (tsdown + bundle web client).
- Framework
- effect-cli
cli build [flags]| Flag | Type | Required | Default | Description |
|---|---|---|---|---|
| --verbose | boolean | — | false |
0 usages · in 1 flow
- Framework
- effect-cli
cli build-exe [flags]| Flag | Type | Required | Default | Description |
|---|---|---|---|---|
| --target | string | required | — | Cross-build for <platform>-<arch> in nodejs.org naming (for example darwin-x64); defaults to the host. |
| --verbose | boolean | — | false |
0 usages · in 1 flow
Publish the t3 launcher to npm.
- Framework
- effect-cli
cli publish [flags]| Flag | Type | Required | Default | Description |
|---|---|---|---|---|
| --access | string | — | public | |
| --dry-run | boolean | — | false | |
| --packages-dir | string | required | — | Output dir of scripts/build-npm-launcher.ts. |
| --provenance | boolean | — | false | |
| --tag | string | — | latest | |
| --verbose | boolean | — | false |
0 usages · in 1 flow
client-metrics
6 commands
Measure the web client in headless Chromium against a production build and a seeded server. Linux and macOS. Thread switches (each its own thread, switched to from a small hub thread by a sidebar click): short, long Panel closed; one turn, and many heavy turns: the timeline's cost. working A thread streaming a long replayed turn while it is switched to. approval A thread waiting on an approval. medium Panel closed, the same timeline as the panel cases: their baseline. diff Diff panel on a branch changing 40 files. pull-request Pull request panel with a long body, files, commits and comments (fake GitHub). browser Browser surface on a local page. device Device surface; no device stream exists here, so it shows its empty state (light). Interactions (each a few measured steps inside one thread): type-short, type-long Keys typed into the composer, each key to its next paint. scroll-long Wheel up a fixed distance through the long timeline: missed frames, LoAF. palette Open the command palette, type a query. pr-tabs Pull request panel: Timeline, Code, then Summary. surfaces Switch between two right-panel surfaces (pull request and diff). terminal Open and close the terminal drawer. settings Open Settings and go back. Trust a change only from `ab` on one machine; calibrate floors with `noise` on A/A runs.
- Framework
- effect-cli
client-metrics0 usages · in 1 flow
Run two checkouts alternately (A B, then B A) on this machine and compare them. The harness, seed and replay agent come from this script, so an older checkout works too; a case it cannot run is skipped and named.
- Framework
- effect-cli
client-metrics ab <checkout-a> <checkout-b> [flags]| Argument | Type | Description |
|---|---|---|
| checkout-a | string | Baseline checkout. |
| checkout-b | string | Candidate checkout. |
| Flag | Type | Required | Default | Description |
|---|---|---|---|---|
| --cases | string | — | | |
| --floors | string | required | — | Floors file from `noise --out`; its metrics gate on calibrated floors. |
| --long-turns | number | — | 12 | Turns in the long thread, each a heavy recorded turn. |
| --out-dir | string | — | client-metrics-ab | Directory for a.json and b.json. |
| --renders | boolean | — | false | Count React commits and component renders per measured step and per window that samples renderer CPU while a thread streams, with their top components and causes. Step and switch counts are near-deterministic, so compare gates on them; a window's count varies with the replay's bursts. The probe slows commits a little, so compare like with like. Pair with --unminified for readable names. |
| --rounds | number | — | 3 | Rounds; each runs A and B once, alternating which goes first. |
| --skip-build | boolean | — | false | Serve the checkout's existing apps/web/dist instead of building it. |
| --slot-diff | string | — | | With --renders, comma-separated components whose changed hook slots are deep-diffed into renders.ndjson beside the output. |
| --soak | number | — | 0 | After measuring, repeat every case this many times in a second browser with V8's compiling tiers off (so compiled code does not read as a leak) and record heap, DOM nodes and listeners after GC along the way, with their growth per iteration over the soak's later half. |
| --switch-rounds | number | — | 4 | Rounds over every case per run: a switch's first round is its first visit, the rest revisits. |
| --threshold | number | — | 10 | Percent a metric must move, past its floor, to count. |
| --trace | boolean | — | false | Trace one extra round with a CPU profile: per step, the input task's forced style and layout and its JS by source file and library, and the long tasks after it, mapped through the build's sourcemaps. Saves trace.json in the artifacts directory: `<out>-artifacts` for `run --out` (not saved without --out), a-artifacts and b-artifacts in `ab`'s out dir. |
| --unminified | boolean | — | false | Build without minification (sourcemaps kept), so render counts and profiles name components. Slower than production; compare like with like. |
0 usages · in 1 flow
Markdown table of two result files, lower is better. Each run's median is one sample; with 2+ runs a side, a metric counts only when the 95% bootstrap interval of the median difference across runs clears the threshold and its floor (calibrated with --floors, else a default). One run a side is shown, not gated. Exits 1 on a regression.
- Framework
- effect-cli
client-metrics compare <before> <after> [flags]| Argument | Type | Description |
|---|---|---|
| before | string | Baseline JSON. |
| after | string | Candidate JSON. |
| Flag | Type | Required | Default | Description |
|---|---|---|---|---|
| --floors | string | required | — | Floors file from `noise --out`; its metrics gate on calibrated floors. |
| --threshold | number | — | 10 | Percent a metric must move, past its floor, to count. |
0 usages · in 1 flow
Spread of every metric over A/A runs (`ab <same> <same>`): the 95% interval of the median difference, a calibrated floor covering it, and whether the metric is steady enough to gate on. ⚠ marks a floor above the default. --out writes the floors for compare.
- Framework
- effect-cli
client-metrics noise <dir> [flags]| Argument | Type | Description |
|---|---|---|
| dir | string[] | An `ab` out dir (a.json and b.json) of one checkout against itself. |
| Flag | Type | Required | Default | Description |
|---|---|---|---|---|
| --out | string | required | — | Floors file to write, for `compare --floors` and `ab --floors`. |
0 usages · in 1 flow
Build a checkout's web app, seed a server with replayed threads, a large diff, a pull request on a fake GitHub and a local page, and measure thread switches, interactions, memory and renderer CPU in headless Chromium.
- Framework
- effect-cli
client-metrics run [flags]| Flag | Type | Required | Default | Description |
|---|---|---|---|---|
| --cases | string | — | | |
| --checkout | string | required | — | Checkout to measure, with dependencies installed. |
| --long-turns | number | — | 12 | Turns in the long thread, each a heavy recorded turn. |
| --out | string | required | — | JSON file to write. |
| --renders | boolean | — | false | Count React commits and component renders per measured step and per window that samples renderer CPU while a thread streams, with their top components and causes. Step and switch counts are near-deterministic, so compare gates on them; a window's count varies with the replay's bursts. The probe slows commits a little, so compare like with like. Pair with --unminified for readable names. |
| --skip-build | boolean | — | false | Serve the checkout's existing apps/web/dist instead of building it. |
| --slot-diff | string | — | | With --renders, comma-separated components whose changed hook slots are deep-diffed into renders.ndjson beside the output. |
| --soak | number | — | 0 | After measuring, repeat every case this many times in a second browser with V8's compiling tiers off (so compiled code does not read as a leak) and record heap, DOM nodes and listeners after GC along the way, with their growth per iteration over the soak's later half. |
| --switch-rounds | number | — | 4 | Rounds over every case per run: a switch's first round is its first visit, the rest revisits. |
| --trace | boolean | — | false | Trace one extra round with a CPU profile: per step, the input task's forced style and layout and its JS by source file and library, and the long tasks after it, mapped through the build's sourcemaps. Saves trace.json in the artifacts directory: `<out>-artifacts` for `run --out` (not saved without --out), a-artifacts and b-artifacts in `ab`'s out dir. |
| --unminified | boolean | — | false | Build without minification (sourcemaps kept), so render counts and profiles name components. Slower than production; compare like with like. |
0 usages · in 1 flow
Print a result file's tables.
- Framework
- effect-cli
client-metrics summary <file>| Argument | Type | Description |
|---|---|---|
| file | string | A result JSON. |
0 usages · in 1 flow
dev-runner
1 command
Run monorepo development modes with deterministic port/env wiring.
- Framework
- effect-cli
dev-runner <mode> <run-arg> [flags]| Argument | Type | Description |
|---|---|---|
| mode | string | Development mode to run. |
| run-arg | string[] | Additional Vite+ run args (pass after `--`). |
| Flag | Type | Required | Default | Description |
|---|---|---|---|---|
| --auto-bootstrap-project-from-cwd | boolean | — | — | Auto-bootstrap toggle (equivalent to T3CODE_AUTO_BOOTSTRAP_PROJECT_FROM_CWD). |
| --browser | boolean | — | false | Open a browser automatically (disabled by default for web dev). |
| --built | boolean | — | false | With --share: serve a production web build from the backend instead of the Vite dev server. Rebuilds on change, no HMR, much smaller remote loads. |
| --dev-url | string | required | — | Explicit web dev URL override (forwards to VITE_DEV_SERVER_URL). Ambient VITE_DEV_SERVER_URL values are ignored so a parent dev app cannot redirect the child runner. |
| --dry-run | boolean | — | false | Resolve mode/ports/env and print, but do not spawn Vite+. |
| --home-dir | string | required | — | Explicit T3 Code data directory; runtime state is stored under userdata (equivalent to T3CODE_HOME). Inside a git worktree this defaults to that worktree's own .t3 so dev state stays off the shared home. |
| --host | string | required | — | Server host/interface override (forwards to T3CODE_HOST). Ambient T3CODE_HOST is ignored: agent shells inherit it from the T3 server that spawned them. |
| --log-websocket-events | boolean | — | — | WebSocket event logging toggle (equivalent to T3CODE_LOG_WS_EVENTS). |
| --memory-limit-gb | number | required | — | Stop the dev server when it and its child processes use more than this many GiB of RAM plus swap (equivalent to T3CODE_DEV_MEMORY_LIMIT_GB). Defaults to half of RAM, at most 16. 0 turns it off. Linux only. |
| --port | number | required | — | Server port override (forwards to T3CODE_PORT). Ambient T3CODE_PORT is ignored: agent shells inherit it from the T3 server that spawned them. |
| --seed | boolean | — | — | Seed an empty worktree database from ~/.t3 on first start (read-only, via migrate-dev-db) if the source is at most 500 MiB. On by default; --no-seed or T3CODE_DEV_SEED=0 skips it. |
| --share | boolean | — | false | Publish the web dev server on this machine's tailnet over HTTPS (via `tailscale serve`) and print the pairing URL for it. Removed again on exit. |
0 usages · in 1 flow
export-brand-icons
1 command
Export development, preview, and production assets from Icon Composer projects.
- Framework
- effect-cli
export-brand-icons [flags]| Flag | Type | Required | Default | Description |
|---|---|---|---|---|
| --check | boolean | — | false | Verify generated icon assets without modifying files. |
0 usages · in 1 flow
generate
1 command
Generate Effect ACP schemas from the pinned ACP release assets.
- Framework
- effect-cli
generate [flags]| Flag | Type | Required | Default | Description |
|---|---|---|---|---|
| --only | string | — | all | |
| --skip-download | boolean | — | false |
0 usages · in 1 flow
generate-release-notes
1 command
Write release notes with a model summary over GitHub's full list.
- Framework
- effect-cli
generate-release-notes [flags]| Flag | Type | Required | Default | Description |
|---|---|---|---|---|
| --output | string | required | — | File to write the notes to. |
| --previous-tag | string | required | — | Previous release tag. |
| --ref | string | required | — | Commit being released. |
| --repository | string | required | — | GitHub owner/name. |
| --tag | string | required | — | Tag being released. |
| --version | string | required | — | Version shown in the header. |
0 usages · in 1 flow
knip-check
1 command
Report unused files, dependencies and exports.
- Framework
- effect-cli
knip-check [flags]| Flag | Type | Required | Default | Description |
|---|---|---|---|---|
| --cwd | string | required | — | Project to check instead of this repository. |
0 usages · in 1 flow
merge-release-update-manifests
1 command
Require and merge complete arm64/x64 desktop updater manifest pairs.
- Framework
- effect-cli
merge-release-update-manifests <release-assets-dir>| Argument | Type | Description |
|---|---|---|
| release-assets-dir | string | Directory containing every desktop release artifact. |
0 usages · in 1 flow
merge-update-manifests
1 command
Merge two Electron updater manifests into a multi-arch manifest.
- Framework
- effect-cli
merge-update-manifests <primary-path> <secondary-path> <output-path> [flags]| Argument | Type | Description |
|---|---|---|
| primary-path | string | Primary update manifest path. Defaults to the output path. |
| secondary-path | string | Secondary update manifest path to merge into the primary manifest. |
| output-path | string | Optional output path for the merged manifest. |
| Flag | Type | Required | Default | Description |
|---|---|---|---|---|
| --platform | string | required | — | Update manifest platform. |
0 usages · in 1 flow
migrate-dev-db
1 command
Rebuild the worktree dev database from a pruned snapshot of the real ~/.t3 data, then run migrations.
- Framework
- effect-cli
migrate-dev-db [flags]| Flag | Type | Required | Default | Description |
|---|---|---|---|---|
| --base-dir | string | required | — | Isolated .t3 directory. Defaults to the current worktree's .t3. |
| --drop-resumable | string | required | — | Only drop, in place, the thread families a server started on this database would resume, and fail if any remain. Copies only; never the live database. |
| --projects | number | — | 5 | How many recently updated projects to keep. |
| --source | string | required | — | Source database. Defaults to ~/.t3/userdata/statev2.sqlite. |
| --threads-per-project | number | — | 10 | How many recent stopped threads, with their forks and subagents, to keep per project. A family with more threads than this is skipped. |
0 usages · in 1 flow
mobile-audit
4 commands
Capture, diff, and visualize mobile accessibility audits.
- Framework
- effect-cli
mobile-audit0 usages · in 1 flow
Capture a screenshot, native agent-device audit JSON, and raw accessibility snapshot.
- Framework
- effect-cli
mobile-audit capture <agent-device-arg> [flags]| Argument | Type | Description |
|---|---|---|
| agent-device-arg | string[] | Extra arguments forwarded to agent-device (pass after `--`). |
| Flag | Type | Required | Default | Description |
|---|---|---|---|---|
| --agent-device | string | required | — | Optional path to an agent-device launcher; defaults to the workspace CLI. |
| --out | string | required | — | Directory to write captured artifacts. |
| --platform | string | required | — | Target mobile platform (ios or android). |
| --screen | string | required | — | Screen identifier for output files. |
0 usages · in 1 flow
Diff two audit capture directories and render annotated side-by-side PNGs and Markdown.
- Framework
- effect-cli
mobile-audit compare [flags]| Flag | Type | Required | Default | Description |
|---|---|---|---|---|
| --after | string | required | — | Candidate capture directory. |
| --after-label | string | — | AFTER (head) | Banner label for the after panel. |
| --all | boolean | — | false | Render comparison PNGs even for screens with no delta. |
| --before | string | required | — | Baseline capture directory. |
| --before-label | string | — | BEFORE (base) | Banner label for the before panel. |
| --fail-on-regression | boolean | — | false | Exit non-zero if any screen introduces new findings. |
| --out | string | required | — | Output directory for diff.json, report.md, and comparison PNGs. |
0 usages · in 1 flow
Annotate a single audit capture directory with hit-box overlays.
- Framework
- effect-cli
mobile-audit report [flags]| Flag | Type | Required | Default | Description |
|---|---|---|---|---|
| --dir | string | required | — | Capture directory to annotate. |
| --out | string | required | — | Output directory for report.md and annotated PNGs. |
0 usages · in 1 flow
mobile-behavior
1 command
- Framework
- effect-cli
mobile-behavior [flags]| Flag | Type | Required | Default | Description |
|---|---|---|---|---|
| --agent-device | string | — | — | |
| --baseline | string | required | — | results.jsonl from an earlier run to compare against. |
| --case | string | required | — | Comma-separated case ids. |
| --device | string | — | | Simulator UDID; leave out for a Simlock lease, whose gateway picks it. |
| --device-config | string | required | — | The --config path device_open returned for this device. |
| --device-name | string | — | | Simulator name as Metro lists it, e.g. "iPhone 17 Pro". Leave out when this run's Metro serves one device. |
| --device-session | string | required | — | The --session name device_open returned for this device. |
| --forget-other-environments | boolean | — | false | Remove the app's other saved environments first. Only for a simulator kept for this eval. |
| --host | string | required | — | Address the simulator uses to reach this machine; defaults to the tailnet IP. |
| --label | string | required | — | Column name in the scoreboard; defaults to the pose. |
| --out | string | required | — | Directory for results and run state. |
| --pose | string | — | phone | |
| --samples | number | — | 3 |
0 usages · in 1 flow
mobile-metrics
6 commands
Measure the iOS app on a Simlock simulator with mobile:behavior's server, Metro and behavior probe. Needs SIMLOCK_AGENT_DEVICE_URL and AGENT_DEVICE_DAEMON_AUTH_TOKEN. Cases (real taps, swipes and typing through agent-device): switch-short, switch-long Tap a Home row: tap to the frame showing the thread's rows. switch-working A thread streaming a reply, opened twice; each round starts and stops its own. tabs PRs, Usage, then Chats in the tab bar. pull-request The PR list, then the branch PR (40 files, long body, comments; fake GitHub). issues The issues list, which shares the PR tab's slot. diff A thread's git menu, then Review changes on the 40-file branch. side-chat A thread's side chat chip. type Keys typed into a composer, each to its next JS frame. scroll-long Drag up through the long timeline: JS and UI frame drops. scroll-home Scroll the chat list after seeding 60 extra threads. fling-home Repeat four closely spaced swipes across the same populated list. `--build dev` (the default) runs the development bundle: render and commit counts and A/B differences are representative, absolute times and heap growth are not. `--build release` runs the production bundle as Hermes bytecode: real times and a flat heap, but no commit ms, no `--renders`, and minified component names in soak retention. Soak in release. Trust a change only from `ab` on one simulator model and build.
- Framework
- effect-cli
mobile-metrics0 usages · in 1 flow
Run two checkouts alternately (A B, then B A) on one device and compare them. The harness, server and seed come from this script; each side's Metro serves its own app.
- Framework
- effect-cli
mobile-metrics ab <checkout-a> <checkout-b> [flags]| Argument | Type | Description |
|---|---|---|
| checkout-a | string | Baseline checkout. |
| checkout-b | string | Candidate checkout. |
| Flag | Type | Required | Default | Description |
|---|---|---|---|---|
| --ab-rounds | number | — | 2 | App launches a side; each round runs A and B once, alternating which goes first. |
| --build | string | — | dev | dev runs the development bundle; release runs the production bundle as Hermes bytecode on the same dev client (compiling takes a few minutes per launch). Soak in release: dev-build heap grows with dev machinery. |
| --cases | string | — | | |
| --device | string | — | iPhone 18 Pro | Simlock iOS model to lease; compare only runs on one model. |
| --device-target | string | required | — | JSON with command and targetArgs from device_open for a simulator or emulator. Install the dev client first; both A/B checkouts must share its native fingerprint. Set --device to its model. |
| --floors | string | required | — | Floors file from `noise --out`. |
| --forget-other-environments | boolean | — | false | Clear saved connections and cached threads from an attached disposable device. |
| --host | string | required | — | Address the simulator reaches this machine on; defaults to the tailnet IP. |
| --long-turns | number | — | 40 | Turns in the long settled thread. |
| --out-dir | string | — | mobile-metrics-ab | |
| --platform | string | — | ios | Device platform. Android requires an attached emulator and a development bundle. |
| --renders | boolean | — | false | Count component renders and their causes per step with the render counter. It slows commits; compare like with like. |
| --rounds | number | — | 3 | Rounds over every case per app launch; a switch's first round is its first visit. |
| --soak | number | — | 0 | After the rounds, repeat the switch cases this many times, sampling the Hermes heap and process memory after each, with growth per iteration. |
| --threshold | number | — | 10 | Percent a metric must move, past its floor, to count. |
0 usages · in 1 flow
Markdown table of two result files, gated like client-metrics: each app launch's median is one sample, and a metric counts only with 2+ launches a side when its bootstrap interval clears the threshold and floor. Exits 1 on a regression.
- Framework
- effect-cli
mobile-metrics compare <before> <after> [flags]| Argument | Type | Description |
|---|---|---|
| before | string | Baseline JSON. |
| after | string | Candidate JSON. |
| Flag | Type | Required | Default | Description |
|---|---|---|---|---|
| --floors | string | required | — | Floors file from `noise --out`. |
| --threshold | number | — | 10 | Percent a metric must move, past its floor, to count. |
0 usages · in 1 flow
Each metric's A/A spread and a floor for `compare --floors`.
- Framework
- effect-cli
mobile-metrics noise <dir> [flags]| Argument | Type | Description |
|---|---|---|
| dir | string[] | An `ab` out dir of one checkout against itself. |
| Flag | Type | Required | Default | Description |
|---|---|---|---|---|
| --out | string | required | — | Floors file to write. |
0 usages · in 1 flow
Use an attached device or lease an iOS simulator from Simlock, seed a server (replayed threads, a 40-file branch with a PR on a fake GitHub), open a checkout's dev client and measure each case.
- Framework
- effect-cli
mobile-metrics run [flags]| Flag | Type | Required | Default | Description |
|---|---|---|---|---|
| --build | string | — | dev | dev runs the development bundle; release runs the production bundle as Hermes bytecode on the same dev client (compiling takes a few minutes per launch). Soak in release: dev-build heap grows with dev machinery. |
| --cases | string | — | | |
| --checkout | string | — | — | Checkout whose app Metro serves, with dependencies installed. |
| --device | string | — | iPhone 18 Pro | Simlock iOS model to lease; compare only runs on one model. |
| --device-target | string | required | — | JSON with command and targetArgs from device_open for a simulator or emulator. Install the dev client first; both A/B checkouts must share its native fingerprint. Set --device to its model. |
| --forget-other-environments | boolean | — | false | Clear saved connections and cached threads from an attached disposable device. |
| --host | string | required | — | Address the simulator reaches this machine on; defaults to the tailnet IP. |
| --long-turns | number | — | 40 | Turns in the long settled thread. |
| --out | string | — | mobile-metrics.json | JSON file to write. |
| --platform | string | — | ios | Device platform. Android requires an attached emulator and a development bundle. |
| --renders | boolean | — | false | Count component renders and their causes per step with the render counter. It slows commits; compare like with like. |
| --rounds | number | — | 3 | Rounds over every case per app launch; a switch's first round is its first visit. |
| --soak | number | — | 0 | After the rounds, repeat the switch cases this many times, sampling the Hermes heap and process memory after each, with growth per iteration. |
0 usages · in 1 flow
Print a result file's tables.
- Framework
- effect-cli
mobile-metrics summary <file>| Argument | Type | Description |
|---|---|---|
| file | string | A result JSON. |
0 usages · in 1 flow
mobile-native-client
1 command
- Framework
- effect-cli
mobile-native-client <mode> <platform> <device> [flags]| Argument | Type | Description |
|---|---|---|
| mode | string | |
| platform | string | |
| device | string |
| Flag | Type | Required | Default | Description |
|---|---|---|---|---|
| --abi | string | — | x86_64 | Android ABI of the session's device (default x86_64). |
| --app | string | — | expo | Which client: apps/mobile (expo) or apps/mobile-nitro (nitro). |
| --config | string | required | — | With --session, the agent-device config the session was opened with (T3 Code's device_open returns it in targetArgs). Needed for a device pool behind a gateway. |
| --expect-fingerprint | string | required | — | With --prepare, fail before building unless the checkout's native fingerprint is this one. |
| --metro | string | required | — | With --session, open the dev client against this Metro URL. |
| --prepare | boolean | — | false | Fetch or build the client for this checkout without a device (Android: for --abi). Run it before leasing a device: a build can outlast the lease. |
| --session | string | required | — | Install into this already-open agent-device session (a device pool, cloud, or remote host) instead of a local device. |
0 usages · in 1 flow
mobile-native-static-check
1 command
Run mobile native static analysis. SwiftLint may be skipped when unavailable; ktlint and detekt are required when Kotlin sources exist.
- Framework
- effect-cli
mobile-native-static-check0 usages · in 1 flow
notify-discord-release
1 command
Post a T3 Code release announcement to Discord.
- Framework
- effect-cli
notify-discord-release <target> [flags]| Argument | Type | Description |
|---|---|---|
| target | string | Discord announcement target: prerelease or latest. |
| Flag | Type | Required | Default | Description |
|---|---|---|---|---|
| --release-name | string | required | — | Human-readable release name. |
| --release-notes-file | string | required | — | File containing the published GitHub release notes. |
| --release-url | string | required | — | Public GitHub release URL. |
| --release-version | string | required | — | Release version. |
| --role-id | string | required | — | Discord role ID to mention in the release announcement. |
| --tag | string | required | — | Git tag for the release. |
0 usages · in 1 flow
prove-scenario
1 command
- Framework
- effect-cli
prove-scenario <scenario> [flags]| Argument | Type | Description |
|---|---|---|
| scenario | string | Scenario file, such as scripts/scenarios/name.e2e.ts. |
| Flag | Type | Required | Default | Description |
|---|---|---|---|---|
| --base | string | required | — | Commit the bug shows on. |
| --head | string | — | HEAD | Commit with the fix. |
| --target | string | required | — | Target to run on: web or ios. Default: ios when the scenario imports t3-mobile.ts, else web. |
| --upload-command | string | required | — | Command that takes capture paths and prints one URL per line. |
0 usages · in 1 flow
Record a Cursor Agent SDK replay fixture live. Reads CURSOR_API_KEY, plus optional T3_CURSOR_REPLAY_MODEL and T3_CURSOR_REPLAY_CWD.
- Framework
- effect-cli
record-cursor-agent-sdk-replay-fixture [flags]| Flag | Type | Required | Default | Description |
|---|---|---|---|---|
| --out | string | required | — | Write the transcript here instead of over the checked-in fixture. |
| --scenario | string | required | — | Scenario to record (or T3_CURSOR_REPLAY_SCENARIO). |
0 usages · in 1 flow
resolve-nightly-release
1 command
Resolve nightly release version metadata.
- Framework
- effect-cli
resolve-nightly-release [flags]| Flag | Type | Required | Default | Description |
|---|---|---|---|---|
| --channel | string | — | nightly | Prerelease channel whose identifier the version carries. |
| --date | string | required | — | Nightly build date in YYYYMMDD. |
| --github-output | boolean | — | false | Write values to GITHUB_OUTPUT instead of stdout. |
| --root | string | required | — | Workspace root used to resolve apps/desktop/package.json. |
| --run-number | string | required | — | GitHub Actions run number. |
| --sha | string | required | — | Commit sha for the nightly build. |
0 usages · in 1 flow
resolve-previous-release-tag
1 command
Resolve the previous release tag for a stable or nightly series.
- Framework
- effect-cli
resolve-previous-release-tag [flags]| Flag | Type | Required | Default | Description |
|---|---|---|---|---|
| --channel | string | required | — | Release channel whose previous tag should be resolved. |
| --current-tag | string | required | — | Current release tag to compare against. |
| --github-output | boolean | — | false | Write values to GITHUB_OUTPUT instead of stdout. |
0 usages · in 1 flow
server-metrics
5 commands
Measure the server process against a fake Anthropic API and the real claude CLI, on Linux, macOS and Windows. Which scenario answers what: working Many threads editing files at once, one client watching all: steer performance work by its loop delay, turn end and turns per minute. pipeline One thread's overhead per turn: send to API request, reply end to run end. clients What an attached client costs, and a user's 3 devices reconnecting. --stress adds the 20-client storm, an upper bound. quiet Idle cost per open thread (the scaling fit); rest is an idle server. streaming CPU and loop delay while 5 replies stream. firstWord A new thread's time to the API; startup is time to the first answer. Latency on a shared machine is noisy. busy Opt-in: a copy of your real database, read-only, for costs an empty one hides. Trust a change only from `ab` on one machine. compare gates on floors measured from A/A runs (`noise`), shows metrics too noisy to gate on without counting them, and warns when other processes loaded the machine; rerun then. --quick suits a per-PR or nightly check; decide on full runs.
- Framework
- effect-cli
server-metrics0 usages · in 1 flow
Run two checkouts alternately on this machine and compare them. Each needs its dependencies installed; the harness comes from this script, so an old release works too.
- Framework
- effect-cli
server-metrics ab <checkout-a> <checkout-b> [flags]| Argument | Type | Description |
|---|---|---|
| checkout-a | string | Baseline checkout. |
| checkout-b | string | Candidate checkout. |
| Flag | Type | Required | Default | Description |
|---|---|---|---|---|
| --busy-ballast-mb | number | — | 768 | busy: MB the server retains off-heap, so its RSS matches a server open for days. A seeded database alone keeps RSS near 0.5 GB. |
| --busy-projects | number | — | 10 | busy: projects to keep from the real database, each backed by a clone. |
| --busy-threads | number | — | 200 | busy: stopped threads to keep per project. |
| --no-agent-scope | boolean | — | false | Linux only: start the server without XDG_RUNTIME_DIR, so it takes the no-agent-scope path macOS and Windows always take. |
| --only | string | required | — | |
| --out-dir | string | — | server-metrics-ab | Directory for a.json and b.json. |
| --quick | boolean | — | false | Shorter windows, fewer turns and fewer points (about a third of the time), for a per-PR or nightly check. Compare quick runs only with quick runs. |
| --rounds | number | — | 3 | Rounds; each runs A and B once, alternating which goes first. |
| --runs | number | required | — | firstWord runs in each variant. Default 5, 3 with --quick. |
| --seed-dir | string | required | — | busy: a base dir `vp run migrate-dev-db --base-dir <dir>` already seeded, instead of seeding each checkout on every invocation. |
| --soak | number | — | 0 | Minutes of soak: 10 threads under one web client, a short turn every 30 s in a project with 3,000 loose remote refs that gains one per turn. From minute 2, every 2 minutes a new thread replaces the oldest (archived, then deleted), the client reconnects and a fake GitHub remote gains a commit; the client polls that host's pull requests and checks. Reports heap, RSS and child-process slopes per hour, the constructors that grew, and the objects whose retained size grew at each of three snapshots with the path that holds them. Needs openssl on PATH and Node 24.5 or later. Runs alone unless --only names more. |
| --stress | boolean | — | false | Also run upper bounds no user hits daily: clients drops 20 clients at once and reconnects them. Compare stress numbers only with stress numbers. |
| --threads | string | required | — | Open thread counts the quiet and clients scenarios measure. Default 0,5,10,20; 0,10 with --quick. |
| --threshold | number | — | 10 | Percent a metric must move, past its noise floor, to count. |
0 usages · in 1 flow
Markdown table of two result files, lower is better. With 2+ runs a side, a metric counts only when the 95% bootstrap interval of the median difference clears the threshold and its noise floor, measured from A/A runs (see `noise`). Metrics too noisy to gate on are shown but never counted. Warns when either side ran under heavy machine load. Exits 1 on a regression.
- Framework
- effect-cli
server-metrics compare <before> <after> [flags]| Argument | Type | Description |
|---|---|---|
| before | string | Baseline JSON. |
| after | string | Candidate JSON. |
| Flag | Type | Required | Default | Description |
|---|---|---|---|---|
| --threshold | number | — | 10 | Percent a metric must move, past its noise floor, to count. |
0 usages · in 1 flow
Spread of every metric over A/A runs (`ab <same> <same>`), an estimated floor covering the half ranges and median differences these runs showed, and which metrics are too noisy to gate on. ⚠ marks a current floor under the estimate. Refuses directories whose two files record different commits.
- Framework
- effect-cli
server-metrics noise <dir>| Argument | Type | Description |
|---|---|---|
| dir | string[] | An `ab` out dir (a.json and b.json) of one commit against itself. |
0 usages · in 1 flow
Measure a checkout's server: startup, rest and first word on one server, then quiet threads (with their cost per thread), clients, many threads working, the turn pipeline, streaming and an optional soak on servers of their own. Needs the real claude CLI on PATH; on Windows the native claude.exe from claude.ai/install.ps1, since an npm claude.cmd shim cannot be started without a shell.
- Framework
- effect-cli
server-metrics run [flags]| Flag | Type | Required | Default | Description |
|---|---|---|---|---|
| --busy-ballast-mb | number | — | 768 | busy: MB the server retains off-heap, so its RSS matches a server open for days. A seeded database alone keeps RSS near 0.5 GB. |
| --busy-projects | number | — | 10 | busy: projects to keep from the real database, each backed by a clone. |
| --busy-threads | number | — | 200 | busy: stopped threads to keep per project. |
| --checkout | string | required | — | Checkout whose server to measure, with dependencies installed. |
| --no-agent-scope | boolean | — | false | Linux only: start the server without XDG_RUNTIME_DIR, so it takes the no-agent-scope path macOS and Windows always take. |
| --only | string | required | — | |
| --out | string | required | — | JSON file to write. |
| --quick | boolean | — | false | Shorter windows, fewer turns and fewer points (about a third of the time), for a per-PR or nightly check. Compare quick runs only with quick runs. |
| --repeat | number | — | 1 | Runs to record in one file. |
| --runs | number | required | — | firstWord runs in each variant. Default 5, 3 with --quick. |
| --seed-dir | string | required | — | busy: a base dir `vp run migrate-dev-db --base-dir <dir>` already seeded, instead of seeding each checkout on every invocation. |
| --soak | number | — | 0 | Minutes of soak: 10 threads under one web client, a short turn every 30 s in a project with 3,000 loose remote refs that gains one per turn. From minute 2, every 2 minutes a new thread replaces the oldest (archived, then deleted), the client reconnects and a fake GitHub remote gains a commit; the client polls that host's pull requests and checks. Reports heap, RSS and child-process slopes per hour, the constructors that grew, and the objects whose retained size grew at each of three snapshots with the path that holds them. Needs openssl on PATH and Node 24.5 or later. Runs alone unless --only names more. |
| --stress | boolean | — | false | Also run upper bounds no user hits daily: clients drops 20 clients at once and reconnects them. Compare stress numbers only with stress numbers. |
| --threads | string | required | — | Open thread counts the quiet and clients scenarios measure. Default 0,5,10,20; 0,10 with --quick. |
0 usages · in 1 flow
smoke-cli-archive
1 command
Extract a CLI archive and run its executable.
- Framework
- effect-cli
smoke-cli-archive [flags]| Flag | Type | Required | Default | Description |
|---|---|---|---|---|
| --archive | string | required | — | |
| --expect-version | string | required | — |
0 usages · in 1 flow
start-app
1 command
- Framework
- effect-cli
start-app <surface> <t3-home> <port>| Argument | Type | Description |
|---|---|---|
| surface | string | web: server and Vite. mobile: server on every interface and Metro. |
| t3-home | string | T3 home to recreate. |
| port | string[] | web: <host> <web-port>. mobile: <server-port> <metro-port> <host>. |
0 usages · in 1 flow
sync-reference-repos
1 command
Sync vendored reference repositories under .repos/.
- Framework
- effect-cli
sync-reference-repos [flags]| Flag | Type | Required | Default | Description |
|---|---|---|---|---|
| --dry-run | boolean | — | false | Print the planned syncs without cloning or committing. |
| --latest | boolean | — | false | Sync each repo from its latest branch instead of the installed version. |
| --repo | string | required | — | Sync only the named reference repo. Defaults to all configured repos. |
| --root | string | required | — | Workspace root used to resolve versions and .repos/ prefixes. |
0 usages · in 1 flow
t3
95 commands
Run T3 Code in this terminal and open it in your browser. To use it from your other devices, run `t3 up`.
- Framework
- effect-cli
t3 <cwd> [flags]| Argument | Type | Description |
|---|---|---|
| cwd | string | Working directory for provider sessions (defaults to the current directory). |
| Flag | Type | Required | Default | Description |
|---|---|---|---|---|
| --auto-bootstrap-project-from-cwd | boolean | — | — | Create a project for the current working directory on startup when missing. |
| --base-dir | string | required | — | Explicit T3 Code data directory; runtime state is stored under userdata (equivalent to T3CODE_HOME). |
| --bootstrap-fd | number | required | — | Read one-time bootstrap secrets from the given file descriptor. |
| --dev-url | string | required | — | Dev web URL to proxy/redirect to (equivalent to VITE_DEV_SERVER_URL). |
| --host | string | required | — | Host/interface to bind (for example 127.0.0.1, 0.0.0.0, or a Tailnet IP). |
| --lan | boolean | — | — | Accept connections from your local network and tailnet, not only this machine (equivalent to T3CODE_LAN). |
| --log-websocket-events | boolean | — | — | Emit server-side logs for outbound WebSocket push traffic (equivalent to T3CODE_LOG_WS_EVENTS). |
| --mode | string | required | — | Runtime mode. `desktop` keeps loopback defaults unless overridden. |
| --no-browser | boolean | — | — | Disable automatic browser opening. |
| --port | number | required | — | Port for the HTTP/WebSocket server. |
| --tailscale-serve | boolean | — | — | Configure Tailscale Serve to expose this backend over HTTPS on the Tailnet. |
| --tailscale-serve-port | number | required | — | HTTPS port for Tailscale Serve when --tailscale-serve is enabled. |
0 usages · in 1 flow
- Framework
- effect-cli
t3 __claude-history <method> <session-id> <options>| Argument | Type | Description |
|---|---|---|
| method | string | |
| session-id | string | |
| options | string |
0 usages · in 1 flow
- Framework
- effect-cli
t3 __service-launcher0 usages · in 1 flow
- Framework
- effect-cli
t3 __service-preflight [flags]| Flag | Type | Required | Default | Description |
|---|---|---|---|---|
| --database-path | string | required | — | |
| --launcher-protocol | number | required | — |
0 usages · in 1 flow
- Framework
- effect-cli
t3 __speech-worker <mode> <module-url>| Argument | Type | Description |
|---|---|---|
| mode | string | |
| module-url | string |
0 usages · in 1 flow
- Framework
- effect-cli
t3 __ssh-helper0 usages · in 1 flow
- Framework
- effect-cli
t3 __ssh-helper home-owned <base-dir>| Argument | Type | Description |
|---|---|---|
| base-dir | string |
0 usages · in 1 flow
- Framework
- effect-cli
t3 __ssh-helper keep-server <runtime-file> <pid>| Argument | Type | Description |
|---|---|---|
| runtime-file | string | |
| pid | number |
0 usages · in 1 flow
- Framework
- effect-cli
t3 __ssh-helper pick-port <port-file> <default-port> <scan-window>| Argument | Type | Description |
|---|---|---|
| port-file | string | |
| default-port | number | |
| scan-window | number |
0 usages · in 1 flow
- Framework
- effect-cli
t3 __ssh-helper runtime-port <runtime-file>| Argument | Type | Description |
|---|---|---|
| runtime-file | string |
0 usages · in 1 flow
- Framework
- effect-cli
t3 __ssh-helper update-remaining <marker-file>| Argument | Type | Description |
|---|---|---|
| marker-file | string |
0 usages · in 1 flow
- Framework
- effect-cli
t3 __ssh-helper wait-ready <port> <timeout-ms> <probe-timeout-ms>| Argument | Type | Description |
|---|---|---|
| port | number | |
| timeout-ms | number | |
| probe-timeout-ms | number |
0 usages · in 1 flow
Bridge T3 Code's MCP endpoint to stdio for ACP agents.
- Framework
- effect-cli
t3 acp-mcp-bridge0 usages · in 1 flow
Call one T3 Code MCP tool from an ACP agent terminal.
- Framework
- effect-cli
t3 acp-mcp-call <tool> <arguments-json>| Argument | Type | Description |
|---|---|---|
| tool | string | |
| arguments-json | string |
0 usages · in 1 flow
Open a project in the running T3 Code desktop app.
- Framework
- effect-cli
t3 app <path> [flags]| Argument | Type | Description |
|---|---|---|
| path | string | Project directory. Default: current directory. |
| Flag | Type | Required | Default | Description |
|---|---|---|---|---|
| --base-dir | string | required | — | Explicit T3 Code data directory; runtime state is stored under userdata (equivalent to T3CODE_HOME). |
0 usages · in 1 flow
Manage the local auth control plane for headless deployments.
- Framework
- effect-cli
t3 auth0 usages · in 1 flow
Approve and revoke devices that reach this host through T3 Connect.
- Framework
- effect-cli
t3 auth connect-device0 usages · in 1 flow
Approve the waiting T3 Connect device that shows this code.
- Framework
- effect-cli
t3 auth connect-device approve <code> [flags]| Argument | Type | Description |
|---|---|---|
| code | string | The code the device shows, such as `K7QM-2XFD`. |
| Flag | Type | Required | Default | Description |
|---|---|---|---|---|
| --base-dir | string | required | — | Explicit T3 Code data directory; runtime state is stored under userdata (equivalent to T3CODE_HOME). |
| --dev-url | string | required | — | Dev web URL to proxy/redirect to (equivalent to VITE_DEV_SERVER_URL). |
0 usages · in 1 flow
List T3 Connect devices waiting for approval and those already trusted.
- Framework
- effect-cli
t3 auth connect-device list [flags]| Flag | Type | Required | Default | Description |
|---|---|---|---|---|
| --base-dir | string | required | — | Explicit T3 Code data directory; runtime state is stored under userdata (equivalent to T3CODE_HOME). |
| --dev-url | string | required | — | Dev web URL to proxy/redirect to (equivalent to VITE_DEV_SERVER_URL). |
| --json | boolean | — | false | Emit JSON instead of human-readable output. |
0 usages · in 1 flow
Stop trusting a T3 Connect device and end its sessions.
- Framework
- effect-cli
t3 auth connect-device revoke <code> [flags]| Argument | Type | Description |
|---|---|---|
| code | string | The code the device shows, such as `K7QM-2XFD`. |
| Flag | Type | Required | Default | Description |
|---|---|---|---|---|
| --base-dir | string | required | — | Explicit T3 Code data directory; runtime state is stored under userdata (equivalent to T3CODE_HOME). |
| --dev-url | string | required | — | Dev web URL to proxy/redirect to (equivalent to VITE_DEV_SERVER_URL). |
0 usages · in 1 flow
Manage one-time client pairing tokens.
- Framework
- effect-cli
t3 auth pairing0 usages · in 1 flow
Issue a new client pairing token.
- Framework
- effect-cli
t3 auth pairing create [flags]| Flag | Type | Required | Default | Description |
|---|---|---|---|---|
| --base-dir | string | required | — | Explicit T3 Code data directory; runtime state is stored under userdata (equivalent to T3CODE_HOME). |
| --base-url | string | required | — | Optional public base URL used to print a ready `/pair#token=...` link. |
| --dev-url | string | required | — | Dev web URL to proxy/redirect to (equivalent to VITE_DEV_SERVER_URL). |
| --json | boolean | — | false | Emit JSON instead of human-readable output. |
| --label | string | required | — | Optional human-readable label. |
| --ttl | string | required | — | TTL, for example `5m`, `1h`, `30d`, or `15 minutes`. |
0 usages · in 1 flow
List active client pairing tokens without revealing their secrets.
- Framework
- effect-cli
t3 auth pairing list [flags]| Flag | Type | Required | Default | Description |
|---|---|---|---|---|
| --base-dir | string | required | — | Explicit T3 Code data directory; runtime state is stored under userdata (equivalent to T3CODE_HOME). |
| --dev-url | string | required | — | Dev web URL to proxy/redirect to (equivalent to VITE_DEV_SERVER_URL). |
| --json | boolean | — | false | Emit JSON instead of human-readable output. |
0 usages · in 1 flow
Revoke an active client pairing token.
- Framework
- effect-cli
t3 auth pairing revoke <id> [flags]| Argument | Type | Description |
|---|---|---|
| id | string | Pairing credential id to revoke. |
| Flag | Type | Required | Default | Description |
|---|---|---|---|---|
| --base-dir | string | required | — | Explicit T3 Code data directory; runtime state is stored under userdata (equivalent to T3CODE_HOME). |
| --dev-url | string | required | — | Dev web URL to proxy/redirect to (equivalent to VITE_DEV_SERVER_URL). |
0 usages · in 1 flow
Manage bearer sessions.
- Framework
- effect-cli
t3 auth session0 usages · in 1 flow
Issue a scoped bearer access token for headless or remote clients.
- Framework
- effect-cli
t3 auth session issue [flags]| Flag | Type | Required | Default | Description |
|---|---|---|---|---|
| --base-dir | string | required | — | Explicit T3 Code data directory; runtime state is stored under userdata (equivalent to T3CODE_HOME). |
| --dev-url | string | required | — | Dev web URL to proxy/redirect to (equivalent to VITE_DEV_SERVER_URL). |
| --json | boolean | — | false | Emit JSON instead of human-readable output. |
| --label | string | required | — | Optional human-readable label. |
| --subject | string | required | — | Optional session subject. |
| --token-only | boolean | — | false | Print only the issued bearer token. |
| --ttl | string | required | — | TTL, for example `5m`, `1h`, `30d`, or `15 minutes`. |
0 usages · in 1 flow
List active sessions without revealing bearer tokens.
- Framework
- effect-cli
t3 auth session list [flags]| Flag | Type | Required | Default | Description |
|---|---|---|---|---|
| --base-dir | string | required | — | Explicit T3 Code data directory; runtime state is stored under userdata (equivalent to T3CODE_HOME). |
| --dev-url | string | required | — | Dev web URL to proxy/redirect to (equivalent to VITE_DEV_SERVER_URL). |
| --json | boolean | — | false | Emit JSON instead of human-readable output. |
0 usages · in 1 flow
Revoke an active session. A T3 Connect device's session takes the device's trust and other sessions with it; if approval for new devices is off, the device can connect again on its own.
- Framework
- effect-cli
t3 auth session revoke <session-id> [flags]| Argument | Type | Description |
|---|---|---|
| session-id | string | Session id to revoke. |
| Flag | Type | Required | Default | Description |
|---|---|---|---|---|
| --base-dir | string | required | — | Explicit T3 Code data directory; runtime state is stored under userdata (equivalent to T3CODE_HOME). |
| --dev-url | string | required | — | Dev web URL to proxy/redirect to (equivalent to VITE_DEV_SERVER_URL). |
0 usages · in 1 flow
Manage T3's headless browser on this host.
- Framework
- effect-cli
t3 browser0 usages · in 1 flow
Set up this Linux host for T3's browser: allow Chrome's sandbox and install its libraries and fonts.
- Framework
- effect-cli
t3 browser setup [flags]| Flag | Type | Required | Default | Description |
|---|---|---|---|---|
| --base-dir | string | required | — | Explicit T3 Code data directory; runtime state is stored under userdata (equivalent to T3CODE_HOME). |
0 usages · in 1 flow
Set up T3 Connect for this machine. Same as `t3 up --connect`.
- Framework
- effect-cli
t3 connect [flags]| Flag | Type | Required | Default | Description |
|---|---|---|---|---|
| --base-dir | string | required | — | Explicit T3 Code data directory; runtime state is stored under userdata (equivalent to T3CODE_HOME). |
| --headless | boolean | — | false | Sign in with a URL and code on any device. Automatic without a terminal or over SSH. |
1 usage · in 1 flow
Authorize this environment for T3 Connect on next start.
- Framework
- effect-cli
t3 connect link [flags]| Flag | Type | Required | Default | Description |
|---|---|---|---|---|
| --base-dir | string | required | — | Explicit T3 Code data directory; runtime state is stored under userdata (equivalent to T3CODE_HOME). |
| --headless | boolean | — | false | Sign in with a URL and code on any device. Automatic without a terminal or over SSH. |
| --publish-only | boolean | — | false | Link to publish agent activity only, with no managed tunnel. Reach this environment out of band (e.g. Tailscale). |
0 usages · in 1 flow
Authorize the T3 Connect CLI without enabling remote access.
- Framework
- effect-cli
t3 connect login [flags]| Flag | Type | Required | Default | Description |
|---|---|---|---|---|
| --base-dir | string | required | — | Explicit T3 Code data directory; runtime state is stored under userdata (equivalent to T3CODE_HOME). |
| --headless | boolean | — | false | Sign in with a URL and code on any device. Automatic without a terminal or over SSH. |
0 usages · in 1 flow
Disable T3 Connect and clear the stored CLI authorization.
- Framework
- effect-cli
t3 connect logout [flags]| Flag | Type | Required | Default | Description |
|---|---|---|---|---|
| --base-dir | string | required | — | Explicit T3 Code data directory; runtime state is stored under userdata (equivalent to T3CODE_HOME). |
0 usages · in 1 flow
Toggle publishing agent activity (push notifications and Live Activities) to your mobile clients.
- Framework
- effect-cli
t3 connect publish [flags]| Flag | Type | Required | Default | Description |
|---|---|---|---|---|
| --base-dir | string | required | — | Explicit T3 Code data directory; runtime state is stored under userdata (equivalent to T3CODE_HOME). |
| --disable | boolean | — | false | Stop publishing agent activity to your mobile clients. |
0 usages · in 1 flow
Show T3 Connect setup and check that other devices can reach this machine.
- Framework
- effect-cli
t3 connect status [flags]| Flag | Type | Required | Default | Description |
|---|---|---|---|---|
| --base-dir | string | required | — | Explicit T3 Code data directory; runtime state is stored under userdata (equivalent to T3CODE_HOME). |
| --json | boolean | — | false | Emit JSON instead of human-readable output. |
0 usages · in 1 flow
Disable T3 Connect while retaining the stored authorization.
- Framework
- effect-cli
t3 connect unlink [flags]| Flag | Type | Required | Default | Description |
|---|---|---|---|---|
| --base-dir | string | required | — | Explicit T3 Code data directory; runtime state is stored under userdata (equivalent to T3CODE_HOME). |
0 usages · in 1 flow
Inspect this T3 Code data directory and repair it. Pauses and restarts the background service as needed.
- Framework
- effect-cli
t3 doctor [flags]| Flag | Type | Required | Default | Description |
|---|---|---|---|---|
| --base-dir | string | required | — | Explicit T3 Code data directory; runtime state is stored under userdata (equivalent to T3CODE_HOME). |
| --dry-run | boolean | — | false | Show the repairs without changing anything, even with --fix. |
| --fix | boolean | — | false | Apply the recommended repairs without prompting. |
0 usages · in 1 flow
Link other T3 Code environments, so agents here can work there.
- Framework
- effect-cli
t3 environment0 usages · in 1 flow
Link another T3 Code environment, so agents here can work there. It shows up there under Authorized clients in Settings → Sharing & access, where it can be revoked.
- Framework
- effect-cli
t3 environment link <url> [flags]| Argument | Type | Description |
|---|---|---|
| url | string | Where the other environment answers: its T3 Connect, Tailscale, LAN or loopback address. |
| Flag | Type | Required | Default | Description |
|---|---|---|---|---|
| --access | string | — | approval-required | What this environment's agents may do there: read-only, or the broadest runtime mode. |
| --base-dir | string | required | — | Explicit T3 Code data directory; runtime state is stored under userdata (equivalent to T3CODE_HOME). |
| --dev-url | string | required | — | Dev web URL to proxy/redirect to (equivalent to VITE_DEV_SERVER_URL). |
| --from | string | required | — | Link several environments: a file with one `<url> <pairing-code>` per line, or - for stdin. Environments already linked are left as they are. |
| --pairing-code | string | required | — | A pairing code from the other environment (`t3 pair` there). |
| --url … | string[] | required | — | Another address for the same environment, tried after the first. |
0 usages · in 1 flow
List linked environments and whether each answers now.
- Framework
- effect-cli
t3 environment list [flags]| Flag | Type | Required | Default | Description |
|---|---|---|---|---|
| --base-dir | string | required | — | Explicit T3 Code data directory; runtime state is stored under userdata (equivalent to T3CODE_HOME). |
| --dev-url | string | required | — | Dev web URL to proxy/redirect to (equivalent to VITE_DEV_SERVER_URL). |
| --json | boolean | — | false | Emit JSON instead of human-readable output. |
0 usages · in 1 flow
Forget a linked environment here, and end its session there when that environment answers.
- Framework
- effect-cli
t3 environment unlink <environment-id> [flags]| Argument | Type | Description |
|---|---|---|
| environment-id | string | The linked environment's id, from `t3 environment list`. |
| Flag | Type | Required | Default | Description |
|---|---|---|---|---|
| --base-dir | string | required | — | Explicit T3 Code data directory; runtime state is stored under userdata (equivalent to T3CODE_HOME). |
| --dev-url | string | required | — | Dev web URL to proxy/redirect to (equivalent to VITE_DEV_SERVER_URL). |
0 usages · in 1 flow
Send feedback about T3 Code to the T3 team. Needs Agent feedback set to Automatic in Settings > Labs; to approve a report first, ask your agent in a thread.
- Framework
- effect-cli
t3 feedback [flags]| Flag | Type | Required | Default | Description |
|---|---|---|---|---|
| --actual | string | required | — | What happened instead. |
| --base-dir | string | required | — | Explicit T3 Code data directory; runtime state is stored under userdata (equivalent to T3CODE_HOME). |
| --expected | string | required | — | What you expected. |
| --kind | string | required | — | What went wrong. |
| --subject | string | required | — | The T3 tool name, t3 command such as `t3 thread send`, or `general`. |
| --workaround | string | — | | What you did instead. |
0 usages · in 1 flow
List recent feedback reports saved on this machine, newest first.
- Framework
- effect-cli
t3 feedback list [flags]| Flag | Type | Required | Default | Description |
|---|---|---|---|---|
| --base-dir | string | required | — | Explicit T3 Code data directory; runtime state is stored under userdata (equivalent to T3CODE_HOME). |
| --dev-url | string | required | — | Dev web URL to proxy/redirect to (equivalent to VITE_DEV_SERVER_URL). |
| --json | boolean | — | false | Print JSON instead of text. |
0 usages · in 1 flow
Show command help.
- Framework
- effect-cli
t3 help0 usages · in 1 flow
Install this version as the `t3` command.
- Framework
- effect-cli
t3 install0 usages · in 1 flow
Mint a pairing token for a running T3 Code server and print it as a QR code.
- Framework
- effect-cli
t3 pair [flags]| Flag | Type | Required | Default | Description |
|---|---|---|---|---|
| --base-dir | string | required | — | Explicit T3 Code data directory; runtime state is stored under userdata (equivalent to T3CODE_HOME). |
| --label | string | required | — | Optional label shown in the server's connections list. |
| --tailscale | boolean | — | false | Publish the server over Tailscale Serve HTTPS and pair through the tailnet URL. |
| --tailscale-serve-port | number | — | 443 | HTTPS port for Tailscale Serve when --tailscale is enabled. |
| --ttl | string | required | — | Token TTL, for example `5m`, `1h`, or `15 minutes`. Defaults to 5 minutes. |
0 usages · in 1 flow
Inspect the administrator's managed policy.
- Framework
- effect-cli
t3 policy0 usages · in 1 flow
Validate a policy file before deploying it.
- Framework
- effect-cli
t3 policy check <file>| Argument | Type | Description |
|---|---|---|
| file | string | Policy file to validate. |
0 usages · in 1 flow
List the settings a policy can manage, with their defaults.
- Framework
- effect-cli
t3 policy settings0 usages · in 1 flow
Show the policy installed on this machine, and whether the running server loaded it.
- Framework
- effect-cli
t3 policy show [flags]| Flag | Type | Required | Default | Description |
|---|---|---|---|---|
| --base-dir | string | required | — | Explicit T3 Code data directory; runtime state is stored under userdata (equivalent to T3CODE_HOME). |
0 usages · in 1 flow
Write the Windows Group Policy template and a macOS configuration profile.
- Framework
- effect-cli
t3 policy templates <directory> [flags]| Argument | Type | Description |
|---|---|---|
| directory | string | Directory to write the templates to. |
| Flag | Type | Required | Default | Description |
|---|---|---|---|---|
| --policy | string | required | — | Policy file to put in the macOS profile. Default: a small sample. |
0 usages · in 1 flow
Manage projects.
- Framework
- effect-cli
t3 project0 usages · in 1 flow
Add a project.
- Framework
- effect-cli
t3 project add <path> [flags]| Argument | Type | Description |
|---|---|---|
| path | string | Workspace root to add as a project. |
| Flag | Type | Required | Default | Description |
|---|---|---|---|---|
| --base-dir | string | required | — | Explicit T3 Code data directory; runtime state is stored under userdata (equivalent to T3CODE_HOME). |
| --title | string | required | — | Optional project title. |
| --track … | string[] | required | — | A folder outside the path that the project also works in. Repositories inside the path are found on their own. Repeat for more. |
0 usages · in 1 flow
Remove a project.
- Framework
- effect-cli
t3 project remove <project> [flags]| Argument | Type | Description |
|---|---|---|
| project | string | Project id or workspace root to remove. |
| Flag | Type | Required | Default | Description |
|---|---|---|---|---|
| --base-dir | string | required | — | Explicit T3 Code data directory; runtime state is stored under userdata (equivalent to T3CODE_HOME). |
| --force | boolean | — | false | Delete the project and all of its threads. |
0 usages · in 1 flow
Rename a project.
- Framework
- effect-cli
t3 project rename <project> <title> [flags]| Argument | Type | Description |
|---|---|---|
| project | string | Project id or workspace root to rename. |
| title | string | New project title. |
| Flag | Type | Required | Default | Description |
|---|---|---|---|---|
| --base-dir | string | required | — | Explicit T3 Code data directory; runtime state is stored under userdata (equivalent to T3CODE_HOME). |
0 usages · in 1 flow
Run T3 Code in this terminal without opening a browser, and print pairing details. The background service runs this too, without printing them: pair with `t3 pair`. To set up access from your other devices, run `t3 up`.
- Framework
- effect-cli
t3 serve0 usages · in 1 flow
Manage the T3 Code background service.
- Framework
- effect-cli
t3 service0 usages · in 1 flow
Install T3 Code as a background service for this user. `t3 up` also chooses how your other devices reach it.
- Framework
- effect-cli
t3 service install [flags]| Flag | Type | Required | Default | Description |
|---|---|---|---|---|
| --allow-downgrade | boolean | — | false | Allow replacing a newer installed service with this older CLI version. |
| --base-dir | string | required | — | Explicit T3 Code data directory; runtime state is stored under userdata (equivalent to T3CODE_HOME). |
0 usages · in 1 flow
Protect the T3 Code server from agents under memory pressure (Linux with systemd). Asks for sudo.
- Framework
- effect-cli
t3 service protect [flags]| Flag | Type | Required | Default | Description |
|---|---|---|---|---|
| --base-dir | string | required | — | Explicit T3 Code data directory; runtime state is stored under userdata (equivalent to T3CODE_HOME). |
| --undo | boolean | — | false | Remove the protection this command set up. |
| --yes | boolean | — | false | Answer yes to every question, including SSH and Tailscale. |
0 usages · in 1 flow
Restart the background service. Picks up a version installed by `t3 update` that was not restarted at the time.
- Framework
- effect-cli
t3 service restart [flags]| Flag | Type | Required | Default | Description |
|---|---|---|---|---|
| --base-dir | string | required | — | Explicit T3 Code data directory; runtime state is stored under userdata (equivalent to T3CODE_HOME). |
0 usages · in 1 flow
Show whether the T3 Code background service is installed.
- Framework
- effect-cli
t3 service status [flags]| Flag | Type | Required | Default | Description |
|---|---|---|---|---|
| --base-dir | string | required | — | Explicit T3 Code data directory; runtime state is stored under userdata (equivalent to T3CODE_HOME). |
0 usages · in 1 flow
Stop and remove the T3 Code background service.
- Framework
- effect-cli
t3 service uninstall [flags]| Flag | Type | Required | Default | Description |
|---|---|---|---|---|
| --base-dir | string | required | — | Explicit T3 Code data directory; runtime state is stored under userdata (equivalent to T3CODE_HOME). |
0 usages · in 1 flow
Deprecated. Run `t3 update` to move to a newer release.
- Framework
- effect-cli
t3 service update [flags]| Flag | Type | Required | Default | Description |
|---|---|---|---|---|
| --allow-downgrade | boolean | — | false | Allow replacing a newer installed service with this older CLI version. |
| --base-dir | string | required | — | Explicit T3 Code data directory; runtime state is stored under userdata (equivalent to T3CODE_HOME). |
0 usages · in 1 flow
Same as `t3`.
- Framework
- effect-cli
t3 start <cwd> [flags]| Argument | Type | Description |
|---|---|---|
| cwd | string | Working directory for provider sessions (defaults to the current directory). |
| Flag | Type | Required | Default | Description |
|---|---|---|---|---|
| --auto-bootstrap-project-from-cwd | boolean | — | — | Create a project for the current working directory on startup when missing. |
| --base-dir | string | required | — | Explicit T3 Code data directory; runtime state is stored under userdata (equivalent to T3CODE_HOME). |
| --bootstrap-fd | number | required | — | Read one-time bootstrap secrets from the given file descriptor. |
| --dev-url | string | required | — | Dev web URL to proxy/redirect to (equivalent to VITE_DEV_SERVER_URL). |
| --host | string | required | — | Host/interface to bind (for example 127.0.0.1, 0.0.0.0, or a Tailnet IP). |
| --lan | boolean | — | — | Accept connections from your local network and tailnet, not only this machine (equivalent to T3CODE_LAN). |
| --log-websocket-events | boolean | — | — | Emit server-side logs for outbound WebSocket push traffic (equivalent to T3CODE_LOG_WS_EVENTS). |
| --mode | string | required | — | Runtime mode. `desktop` keeps loopback defaults unless overridden. |
| --no-browser | boolean | — | — | Disable automatic browser opening. |
| --port | number | required | — | Port for the HTTP/WebSocket server. |
| --tailscale-serve | boolean | — | — | Configure Tailscale Serve to expose this backend over HTTPS on the Tailnet. |
| --tailscale-serve-port | number | required | — | HTTPS port for Tailscale Serve when --tailscale-serve is enabled. |
0 usages · in 1 flow
Show service setup and remote access settings.
- Framework
- effect-cli
t3 status [flags]| Flag | Type | Required | Default | Description |
|---|---|---|---|---|
| --base-dir | string | required | — | Explicit T3 Code data directory; runtime state is stored under userdata (equivalent to T3CODE_HOME). |
| --json | boolean | — | false | Print the settings as JSON. Does not test connections. |
0 usages · in 1 flow
Inspect and set environment-wide theme defaults.
- Framework
- effect-cli
t3 theme0 usages · in 1 flow
Remove the environment's theme; clients keep what they have.
- Framework
- effect-cli
t3 theme clear [flags]| Flag | Type | Required | Default | Description |
|---|---|---|---|---|
| --base-dir | string | required | — | Explicit T3 Code data directory; runtime state is stored under userdata (equivalent to T3CODE_HOME). |
0 usages · in 1 flow
Set the environment's theme. The web app this server serves and the desktop app on this machine switch to it; a desktop app connected from another machine does not.
- Framework
- effect-cli
t3 theme set <theme> [flags]| Argument | Type | Description |
|---|---|---|
| theme | string | A theme id (a built-in, or one this machine publishes, where themes/nightfall.json is "nightfall"), or a path to a theme JSON file to publish and set in one step. |
| Flag | Type | Required | Default | Description |
|---|---|---|---|---|
| --base-dir | string | required | — | Explicit T3 Code data directory; runtime state is stored under userdata (equivalent to T3CODE_HOME). |
| --id | string | required | — | Theme id to publish a file under, instead of its filename. |
0 usages · in 1 flow
Show the environment's theme and its published themes.
- Framework
- effect-cli
t3 theme show [flags]| Flag | Type | Required | Default | Description |
|---|---|---|---|---|
| --base-dir | string | required | — | Explicit T3 Code data directory; runtime state is stored under userdata (equivalent to T3CODE_HOME). |
0 usages · in 1 flow
Start, message, and read threads on the running server.
- Framework
- effect-cli
t3 thread0 usages · in 1 flow
List a project's threads, newest first.
- Framework
- effect-cli
t3 thread list [flags]| Flag | Type | Required | Default | Description |
|---|---|---|---|---|
| --base-dir | string | required | — | Explicit T3 Code data directory; runtime state is stored under userdata (equivalent to T3CODE_HOME). |
| --json | boolean | — | false | Print JSON instead of text. |
| --project | string | — | . | Project id or a path inside the project. Defaults to this directory. |
0 usages · in 1 flow
Send a message to a thread. A busy thread gets it as its next turn; nothing is interrupted.
- Framework
- effect-cli
t3 thread send <thread> <message> [flags]| Argument | Type | Description |
|---|---|---|
| thread | string | Thread id. |
| message | string | Message for the agent, or - to read it from stdin. |
| Flag | Type | Required | Default | Description |
|---|---|---|---|---|
| --base-dir | string | required | — | Explicit T3 Code data directory; runtime state is stored under userdata (equivalent to T3CODE_HOME). |
| --json | boolean | — | false | Print JSON instead of text. |
| --output-schema | string | required | — | File holding a JSON Schema. The agent must return data matching it; --wait --json prints it as `output`. |
| --wait | boolean | — | false | Wait for the agent to finish and print its reply. Exits 1 if the run fails and 2 if it waits for an answer. |
0 usages · in 1 flow
Show a thread's state and its latest messages.
- Framework
- effect-cli
t3 thread show <thread> [flags]| Argument | Type | Description |
|---|---|---|
| thread | string | Thread id. |
| Flag | Type | Required | Default | Description |
|---|---|---|---|---|
| --base-dir | string | required | — | Explicit T3 Code data directory; runtime state is stored under userdata (equivalent to T3CODE_HOME). |
| --json | boolean | — | false | Print JSON instead of text. |
| --messages | number | — | 10 | How many of the latest messages to print. |
0 usages · in 1 flow
Start a thread in a project and print its id.
- Framework
- effect-cli
t3 thread start <project> <message> [flags]| Argument | Type | Description |
|---|---|---|
| project | string | Project id or a path inside the project, such as . |
| message | string | Message for the agent, or - to read it from stdin. |
| Flag | Type | Required | Default | Description |
|---|---|---|---|---|
| --base-dir | string | required | — | Explicit T3 Code data directory; runtime state is stored under userdata (equivalent to T3CODE_HOME). |
| --branch | string | required | — | Branch name for the new worktree. |
| --generate-title | boolean | — | false | Generate the thread's title from the message. Until it's ready, the thread shows --title or the first line. |
| --json | boolean | — | false | Print JSON instead of text. |
| --model | string | required | — | Model slug. Defaults to the project's default model. |
| --option … | string[] | required | — | Model option as id=value (Codex: reasoningEffort=high; Claude: effort=high). Ids depend on the model. Repeat for more. Needs --provider and --model. |
| --output-schema | string | required | — | File holding a JSON Schema. The agent must return data matching it; --wait --json prints it as `output`. |
| --provider | string | required | — | Provider instance id. Pass with --model. |
| --title | string | required | — | Thread title. Defaults to the message's first line. |
| --wait | boolean | — | false | Wait for the agent to finish and print its reply. Exits 1 if the run fails and 2 if it waits for an answer. |
| --worktree | string | required | — | Run in a new git worktree based on this branch, tag, or commit, instead of the project folder. |
0 usages · in 1 flow
Inspect the local server trace file.
- Framework
- effect-cli
t3 trace0 usages · in 1 flow
Summarize the local server trace file: counts, rates, and latency.
- Framework
- effect-cli
t3 trace summary [flags]| Flag | Type | Required | Default | Description |
|---|---|---|---|---|
| --base-dir | string | required | — | Explicit T3 Code data directory; runtime state is stored under userdata (equivalent to T3CODE_HOME). |
| --limit | number | — | 25 | Number of span names to show, busiest first. |
| --since | string | required | — | Only count spans that ended in this window, for example 30m or 2h. |
0 usages · in 1 flow
Investigate a T3 Code problem on this machine with Claude Code, Codex, or Antigravity, and help file a good issue.
- Framework
- effect-cli
t3 triage [flags]| Flag | Type | Required | Default | Description |
|---|---|---|---|---|
| --agent | string | required | — | Agent CLI to use. Default: ask when multiple are installed. |
| --base-dir | string | required | — | Explicit T3 Code data directory; runtime state is stored under userdata (equivalent to T3CODE_HOME). |
| --model | string | required | — | Model passed through to the agent CLI. Default: the agent's default. |
0 usages · in 1 flow
Remove t3 from this machine: the background service, the launcher, and every downloaded version. Your projects and threads are kept.
- Framework
- effect-cli
t3 uninstall [flags]| Flag | Type | Required | Default | Description |
|---|---|---|---|---|
| --base-dir | string | required | — | Explicit T3 Code data directory; runtime state is stored under userdata (equivalent to T3CODE_HOME). |
| --yes, -y | boolean | — | false | Remove everything without asking. Required from a script, where there is no prompt. |
0 usages · in 1 flow
Set up remote access and the T3 Code background service. Access flags skip the question, and routes not named keep their settings. Without a terminal, a needed restart runs without asking and stops running agent turns.
- Framework
- effect-cli
t3 up [flags]| Flag | Type | Required | Default | Description |
|---|---|---|---|---|
| --base-dir | string | required | — | Explicit T3 Code data directory; runtime state is stored under userdata (equivalent to T3CODE_HOME). |
| --connect | boolean | — | — | Allow access through T3 Connect with your T3 account. Turn off with --no-connect. |
| --headless | boolean | — | false | Sign in with a URL and code on any device. Automatic without a terminal or over SSH. |
| --lan | boolean | — | — | Allow LAN and tailnet connections. Anyone there can reach the port; a pairing code is the only lock. Turn off with --no-lan. |
| --yes | boolean | — | false | Ask nothing. Keep the access settings; a new machine gets T3 Connect. A restart stops running agent turns. |
0 usages · in 1 flow
Download a newer t3 and switch this machine to it, including the background service when one is installed.
- Framework
- effect-cli
t3 update <version> [flags]| Argument | Type | Description |
|---|---|---|
| version | string | Exact version to install. Defaults to the newest release on the channel. |
| Flag | Type | Required | Default | Description |
|---|---|---|---|---|
| --allow-downgrade | boolean | — | false | Allow moving to an older version than the one running. |
| --base-dir | string | required | — | Explicit T3 Code data directory; runtime state is stored under userdata (equivalent to T3CODE_HOME). |
| --channel | string | required | — | Release channel to follow. Defaults to the channel this t3 was published on. |
| --github-token | string | required | — | GitHub token for listing and downloading unlisted preview releases. Defaults to GH_TOKEN or GITHUB_TOKEN. |
| --yes, -y | boolean | — | false | Restart the background service without asking. Required to restart it from a script, where there is no prompt. |
0 usages · in 1 flow
Start, inspect and steer durable workflow runs on the running server.
- Framework
- effect-cli
t3 workflow0 usages · in 1 flow
Cancel a run.
- Framework
- effect-cli
t3 workflow cancel <run> [flags]| Argument | Type | Description |
|---|---|---|
| run | string | Run id. |
| Flag | Type | Required | Default | Description |
|---|---|---|---|---|
| --base-dir | string | required | — | Explicit T3 Code data directory; runtime state is stored under userdata (equivalent to T3CODE_HOME). |
| --json | boolean | — | false | Print JSON instead of text. |
| --reason | string | required | — | Why, kept as the run's detail. |
0 usages · in 1 flow
List the URL paths that start runs. Each holds its hook's secret; add the server's origin.
- Framework
- effect-cli
t3 workflow hooks [flags]| Flag | Type | Required | Default | Description |
|---|---|---|---|---|
| --base-dir | string | required | — | Explicit T3 Code data directory; runtime state is stored under userdata (equivalent to T3CODE_HOME). |
| --json | boolean | — | false | Print JSON instead of text. |
0 usages · in 1 flow
List workflow runs, newest first.
- Framework
- effect-cli
t3 workflow list [flags]| Flag | Type | Required | Default | Description |
|---|---|---|---|---|
| --base-dir | string | required | — | Explicit T3 Code data directory; runtime state is stored under userdata (equivalent to T3CODE_HOME). |
| --json | boolean | — | false | Print JSON instead of text. |
| --status | string | required | — | Only runs in this state. A skipped run is listed only with `skipped`, unless another run invoked it. |
| --subject | string | required | — | Only runs about this: the web address of their subject, or a thread id. |
| --tag | string | required | — | Only runs their workflow tagged with this. |
0 usages · in 1 flow
List the questions runs are waiting on a person to answer.
- Framework
- effect-cli
t3 workflow questions [flags]| Flag | Type | Required | Default | Description |
|---|---|---|---|---|
| --base-dir | string | required | — | Explicit T3 Code data directory; runtime state is stored under userdata (equivalent to T3CODE_HOME). |
| --json | boolean | — | false | Print JSON instead of text. |
| --kind | string | required | — | Only questions of this kind, as their workflow's `asks` names it. |
0 usages · in 1 flow
Run a paused run's failed step again.
- Framework
- effect-cli
t3 workflow resume <run> [flags]| Argument | Type | Description |
|---|---|---|
| run | string | Run id. |
| Flag | Type | Required | Default | Description |
|---|---|---|---|---|
| --base-dir | string | required | — | Explicit T3 Code data directory; runtime state is stored under userdata (equivalent to T3CODE_HOME). |
| --json | boolean | — | false | Print JSON instead of text. |
0 usages · in 1 flow
Show a run and its steps.
- Framework
- effect-cli
t3 workflow show <run> [flags]| Argument | Type | Description |
|---|---|---|
| run | string | Run id. |
| Flag | Type | Required | Default | Description |
|---|---|---|---|---|
| --base-dir | string | required | — | Explicit T3 Code data directory; runtime state is stored under userdata (equivalent to T3CODE_HOME). |
| --json | boolean | — | false | Print JSON instead of text. |
0 usages · in 1 flow
Wake a waiting run, or answer its question.
- Framework
- effect-cli
t3 workflow signal <value> [flags]| Argument | Type | Description |
|---|---|---|
| value | string | What the wait receives, as JSON. A question takes {"choice": ...}. |
| Flag | Type | Required | Default | Description |
|---|---|---|---|---|
| --base-dir | string | required | — | Explicit T3 Code data directory; runtime state is stored under userdata (equivalent to T3CODE_HOME). |
| --channel | string | required | — | The channel the wait opened with. |
| --id | string | required | — | Names this signal: sending it again with the same id is the same signal. |
| --run | string | required | — | Run id. Pass with --wait, not with --workflow and --channel. |
| --wait | string | required | — | The wait's or question's name in that run. |
| --workflow | string | required | — | Workflow name. Pass with --channel when the run is not known. |
0 usages · in 1 flow
Start a workflow run and print it.
- Framework
- effect-cli
t3 workflow start <workflow> [flags]| Argument | Type | Description |
|---|---|---|
| workflow | string | Workflow name. |
| Flag | Type | Required | Default | Description |
|---|---|---|---|---|
| --base-dir | string | required | — | Explicit T3 Code data directory; runtime state is stored under userdata (equivalent to T3CODE_HOME). |
| --input | string | — | {} | The run's payload, as JSON. Defaults to {}. |
| --json | boolean | — | false | Print JSON instead of text. |
| --key | string | required | — | Required. Names this run: starting again with the same key is the same run, not a second one. |
0 usages · in 1 flow
See and change what workflows keep between runs.
- Framework
- effect-cli
t3 workflow store0 usages · in 1 flow
Delete a key of the store.
- Framework
- effect-cli
t3 workflow store delete <key> [flags]| Argument | Type | Description |
|---|---|---|
| key | string | The key in the store. |
| Flag | Type | Required | Default | Description |
|---|---|---|---|---|
| --base-dir | string | required | — | Explicit T3 Code data directory; runtime state is stored under userdata (equivalent to T3CODE_HOME). |
0 usages · in 1 flow
List what workflows keep in the store.
- Framework
- effect-cli
t3 workflow store list <prefix?> [flags]| Argument | Type | Description |
|---|---|---|
| prefix? | string | Only keys that start with this. |
| Flag | Type | Required | Default | Description |
|---|---|---|---|---|
| --base-dir | string | required | — | Explicit T3 Code data directory; runtime state is stored under userdata (equivalent to T3CODE_HOME). |
| --json | boolean | — | false | Print JSON instead of text. |
0 usages · in 1 flow
Set a key of the store, as a person flipping a switch does.
- Framework
- effect-cli
t3 workflow store set <key> <value> [flags]| Argument | Type | Description |
|---|---|---|
| key | string | The key in the store. |
| value | string | The value, as JSON. |
| Flag | Type | Required | Default | Description |
|---|---|---|---|---|
| --base-dir | string | required | — | Explicit T3 Code data directory; runtime state is stored under userdata (equivalent to T3CODE_HOME). |
0 usages · in 1 flow
End a run's open question unanswered. The run goes on as if the question timed out.
- Framework
- effect-cli
t3 workflow withdraw [flags]| Flag | Type | Required | Default | Description |
|---|---|---|---|---|
| --base-dir | string | required | — | Explicit T3 Code data directory; runtime state is stored under userdata (equivalent to T3CODE_HOME). |
| --json | boolean | — | false | Print JSON instead of text. |
| --reason | string | required | — | Why, kept on the question's step. |
| --run | string | required | — | Run id. |
| --wait | string | required | — | The question's name in that run. |
0 usages · in 1 flow
t3-sqlite-state
1 command
Inspect or seed an isolated T3 SQLite database with automatic backups for writes.
- Framework
- effect-cli
t3-sqlite-state <operation> [flags]| Argument | Type | Description |
|---|---|---|
| operation | string | Run a read-only query or a backed-up fixture mutation. |
| Flag | Type | Required | Default | Description |
|---|---|---|---|---|
| --base-dir | string | required | — | Explicit T3 base directory containing userdata/statev2.sqlite. |
| --file | string | required | — | Path to a SQL source file. |
| --sql | string | required | — | SQL source supplied directly on the command line. |
0 usages · in 1 flow
task-cache
3 commands
- Framework
- effect-cli
task-cache0 usages · in 1 flow
- Framework
- effect-cli
task-cache add-writer <name> [flags]| Argument | Type | Description |
|---|---|---|
| name | string | Lowercase writer name |
| Flag | Type | Required | Default | Description |
|---|---|---|---|---|
| --new-registry | boolean | — | false |
0 usages · in 1 flow
- Framework
- effect-cli
task-cache revoke-writer <name>| Argument | Type | Description |
|---|---|---|
| name | string | Lowercase writer name |
0 usages · in 1 flow
update-release-package-versions
1 command
Update release package versions across the workspace.
- Framework
- effect-cli
update-release-package-versions <version> [flags]| Argument | Type | Description |
|---|---|---|
| version | string | Release version to write into each releasable package.json. |
| Flag | Type | Required | Default | Description |
|---|---|---|---|---|
| --github-output | boolean | — | false | Append changed=<boolean> to GITHUB_OUTPUT. |
| --root | string | required | — | Workspace root used to resolve the release package manifests. |
0 usages · in 1 flow
verify-windows-desktop-artifact
1 command
Verify a Windows desktop artifact's packaged natives load.
- Framework
- effect-cli
verify-windows-desktop-artifact [flags]| Flag | Type | Required | Default | Description |
|---|---|---|---|---|
| --app-dir | string | required | — | The electron-builder `win-<arch>-unpacked` directory. |
| --arch | string | required | — | |
| --build-version | string | required | — | The artifact's build version. |
| --verbose | boolean | — | false |