Repository navigation
dexto@2.0.0
·
115 commits
to main
since this release
Major Changes
-
9a75f3a: dexto 2.0: one CLI for local agents and Dexto Cloud.
dexto loginsigns you in with your browser or a device code, with profiles (--org,--profile,dexto accounts),dexto whoamianddexto logout. 1.x's saved API key anddexto-cloudsign-ins carry over once;DEXTO_API_KEYand--api-keystill work.dexto auth …is gone.- Dexto models run on your sign-in and bill your organization's credits in a Cloud project;
dexto models listanddexto billingread it, and the status line shows your credits. Signed in, every local session gets the Dexto MCP. dexto cloud …builds in Dexto Cloud (projects, agents, automations, files, sandboxes, secrets, sites, functions, models, search, fetch, data deletions, api);dexto workspace,dexto find,dexto publish,dexto profileanddexto skills pushuse your workspace.- One output contract: JSON when stdout isn't a terminal, failures as
{"error":{"code","message","fix"}}on stderr, exit codes 0–6, anddexto --help --json.dexto runtakes--jsonand--stream-jsoninstead of--format. dexto session …isdexto chat …;dexto chat local|importbring Claude Code and Codex chats into Dexto.- Removed:
dexto deployand--cloud-agent(usedexto cloud sites|functions deploy).dexto traceanddexto spannow read/v1/traces.
See packages/cli/RELEASE-NOTES-2.0.md.
Minor Changes
- 9a75f3a: Chats in the interactive CLI can sync to the signed-in person's Dexto Cloud account, redacted. Sync is off until you turn it on with
/sync on, which says what syncs before anything does./syncshows or changes sync (/sync off,/sync on project,/sync off project),/privatekeeps a chat on this machine and deletes its cloud copy, anddexto chat deletedeletes the cloud copy too. Signing in asks for thechats:syncscope only while sync is on. A 2.0 beta's saved default of sync on now reads as off; run/sync onto keep syncing. - 9a75f3a: Add
dexto workspace computers keys list|create|revoketo manage computer enrollment keys from the terminal, so a script or agent can enroll machines it provisions (cloud VMs, CI runners) as connected computers without a browser.createprints the key once, with thedexto-daemon connectcommand to run on the machine. - 9a75f3a:
dexto2.0 drops the 1.x local-agent commands:setup,connect,agents,which,init,create-app,init-app,image,create-image,plugin,mcp,search,--mode web|server|mcp(with the embedded Web UI and the Docker server image),--skip-setup,--no-auto-install,--image,--devand--port. The interactive chat,dexto run,chat,upgrade,uninstalland the cloud commands stay. The first start needs a provider key in the environment ordexto login(signed in, it starts on Dexto models) instead of opening setup. Hints in other packages no longer name the removed commands. packages/cli/CLI.md maps each removed command to its replacement. - 9a75f3a: Add
dexto projectsto manage Dexto Projects from the terminal:list,get,create,update,delete,move(a chat into or out of a Project),start(a Project chat from a brief) andrun(message the Project's coordinator). Every command takes--json; commands that change something ask first, or take--yes. - 9a75f3a: Add
dexto review, which reviews the current branch's changes (committed since it left its base, uncommitted and untracked) with the bundled code-review skill and prints the review. It followsdexto run's output and exit codes:--json,--stream-jsonor--text, and with no changes it prints "Nothing to review." and exits 0 without starting an agent.--basepicks the branch to compare against (default: the upstream, else main) and--focusnames an area to look at hardest. - 9a75f3a:
dexto trace list,dexto trace view <run_id>anddexto span list <run_id>are back, on Dexto's public/v1/tracesAPI: 1.x's filters (--period,--status,--session,--name,--sort,--limit) under the 2.0 output contract (tables at a terminal, JSON with--jsonor when piped).dexto trace <run_id>is nowdexto trace view <run_id>, and the JSON is the/v1/tracesobjects rather than 1.x's{ traces },{ trace }and{ spans }. The client covers the run trace operations. - 9a75f3a: A signed-in person's Dexto Skills library joins local skill discovery:
dexto: each session syncs the library into~/.dexto/cloud-skills(only Skills whose files changed download; Skills that left the library are removed; offline keeps the last copy with one warning; with no person signed in the copy is removed).dexto skills syncsyncs on demand.--api-key -reads the key from stdin, and--api-keywith no value asks for it. The coding agent ships animport-chatsskill fordexto chat localanddexto chat import.@dexto/agent-management:~/.dexto/cloud-skillsis the last standalone skill root, with sourcecloud, so a local Skill of the same name wins.getStandaloneSkillPathsis exported.@dexto/cloud-client:GET /v1/skillsandGET /v1/skills/{skill_id}/bundle.
Patch Changes
- 9a75f3a:
npm install dextoand the dexto.ai installer work without a compiler or Python on Node.js 20, 22, 24 and 26. better-sqlite3 12.9 ships prebuilt binaries for Node.js 20, 22 and 24, and is now optional for the CLI: where it cannot install, as on Node.js 26,@dexto/storageopens SQLite with thenode:sqlitebuilt into Node.js instead.openSqliteis exported for other SQLite readers. - 9a75f3a: Preserve workspace tool errors and make chat-follow retry deadlines and network error handling more precise.
- 9a75f3a:
dexto runreports a failure once: in--jsonand--stream-json, stdout carries only JSON and stderr only the JSON error, and in text mode the error prints once with the command that fixes it. A run with no provider key and no Dexto sign-in exits 3 (needs sign-in) and points todexto login;--modelwithout that provider's key also exits 3. Logs go to stderr, so the first use of a bundled agent no longer prints install lines before the JSON. An unknown command exits 2 and points todexto --helpinstead of trying to start the chat. Text mode no longer echoes the reply on stderr. - 9a75f3a:
dexto loginends on the Dexto app's sign-in page, in light or dark, instead of a bare localhost page. When you deny access or the authorization server returns an error, the page now says so; the old page said "Signed in" even then. A failure after the redirect, such as the token exchange, still shows only in the terminal. - 9a75f3a: A mistyped subcommand or option, such as
dexto chat bogusor an unknown flag, exits 2 (usage) like a mistyped command, instead of 1. - 9a75f3a:
dexto uninstallalso removes~/.dexto/cli, where the dexto.ai/install scripts put the CLI package. - 9a75f3a: Move
globfrom 12 to 14,minimatchfrom 10 to 11 and@hono/node-serverfrom 1.19.17 to 2.1.5, so Dexto's own dependencies no longer carry their published advisories. The APIs Dexto calls are unchanged, and all three support the Node 20 floor Dexto already requires. The lockfile also moves the MCP SDK's@hono/node-serverto 2.1.5, which its range already allows, so the Docker image and standalone binaries carry one patched copy. The WebUI is still served the same way. - 9a75f3a:
dexto publishshows its progress on stderr, a line per step: packing the files, uploading and publishing. Before, it printed nothing until the link. - 9a75f3a: With
DEXTO_PALETTE=signal, the first run,dexto login(browser and--device),whoami, errors,--helpand the update notice use the Signal look. Without it, output is unchanged.@dexto/agent-managementsign-in now hands the CLI a prompt to show (SignInPrompt) and says why a sign-in ended (SignInEnded). - 9a75f3a: Build, test and ship the Docker image and standalone binaries with
zod4.6.7 andfollow-redirects1.16.2 instead ofzod4.3.6 andfollow-redirects1.16.1, which have published advisories. The declaredzodrange is unchanged, so installs from npm already resolved a patchedzod; this makes the repository's tests and bundled artifacts match what users get. The cancel-task route now declares its path parameter withunknown().transform().pipe()becausez.preprocessno longer type-checks there. - Updated dependencies [9a75f3a]
- Updated dependencies [9a75f3a]
- Updated dependencies [9a75f3a]
- Updated dependencies [9a75f3a]
- Updated dependencies [9a75f3a]
- Updated dependencies [9a75f3a]
- Updated dependencies [9a75f3a]
- Updated dependencies [9a75f3a]
- Updated dependencies [9a75f3a]
- Updated dependencies [9a75f3a]
- Updated dependencies [9a75f3a]
- Updated dependencies [9a75f3a]
- Updated dependencies [9a75f3a]
- Updated dependencies [9a75f3a]
- Updated dependencies [9a75f3a]
- Updated dependencies [9a75f3a]
- @dexto/core@1.18.0
- @dexto/storage@1.18.0
- @dexto/tui@1.18.0
- @dexto/agent-management@1.18.0
- @dexto/cloud-client@1.18.0
- @dexto/image-local@1.18.0
- @dexto/agent-config@1.18.0
- @dexto/analytics@1.18.0
- @dexto/client-sdk@1.18.0
- @dexto/image-logger-agent@1.18.0
- @dexto/llm@1.18.0
- @dexto/registry@1.18.0