Repository navigation
Releases
dittosh v0.3.0
dittosh v0.3.0
This release adds support for the JavaScript and TypeScript agent skills added in
agent-skills v0.6.0,
and installs the skills a skill links to, so their links work. Use it with
agent-skills v0.6.1,
whose skills no longer link to files that installed copies don't include.
New
dittosh skills add installs Ditto's new JavaScript and TypeScript skills:
js-sdk: the shared JavaScript/TypeScript API guide.js-node,js-web,js-react-native, andjs-expo: setup and
troubleshooting for Node.js, browsers and React, React Native, and Expo.native-app-config: Apple and Android permissions and configuration, shared
by the Swift, Kotlin, React Native, and Expo skills.
dittosh skills add js-sdkdittosh skills add now installs companion skills: the other skills a skill
links to. Many skills link to files in other skills, such as
../js-sdk/assets/runtime.ts, and those links only work when both skills are
installed side by side.
- The CLI reads the links from the skill's files and follows them, so new
upstream skill families work without a CLI update. - With agent-skills v0.6.0 and later, any
js-*skill installs the other fourjs-*
skills andnative-app-config.swift-sdkaddsnative-app-config.
data-streamsaddskotlin-sdk,swift-sdk, andnative-app-config.
data-modelingaddswrite-dql. - A note on stderr lists the companions, and the results show them as
companion of <skill>. Companions that are already installed show as
presentand don't count as skipped, including when OpenCode and
Antigravity share.agents/skillsin a project. --no-depsinstalls only the named skill. The choice is saved with the
install, so later updates don't add companions to it either.- Copilot and Windsurf get one flattened file per skill, so links can't work
there. Companions are not installed for them.
dittosh skills update installs companions that a newer release adds. For
example, updating swift-sdk from v0.5.0 to v0.6.0 also installs
native-app-config. update --no-deps skips this for one run.
Improved
dittosh skills add --agentaccepts the agent names used bynpx skillsas
well as its own:claude-code(same asclaude),gemini-cli(gemini),
github-copilot(copilot), andantigravity-cli(antigravity).dittosh skills updatereports a skill that the target release no longer
ships as skipped, instead of failing the whole update.dittosh skills updateagainst a release with no skills exits with code 2
and a clear message.- The exported tutorial (
dittosh tutorial) shows how to install the
JavaScript skills.
Fixed
dittosh skills update --allprinted a garbled message when every skill was
current. It now printsall installed skills are already on <version>.
Installation and updates
Install with Homebrew. Newer Homebrew versions only load formulas from taps you
trust, so trust the Ditto tap once first:
brew trust getditto/tap
brew install getditto/tap/dittoshUpdate an existing install (run brew trust getditto/tap first if Homebrew
says the tap is untrusted):
brew update && brew upgrade getditto/tap/dittoshThen refresh your installed skills to agent-skills v0.6.1. The update also installs
any companion skills your installed skills now link to:
dittosh skills update --allSupported systems: Apple Silicon macOS and Linux x64/arm64. Intel Macs are not
supported by the bundled Ditto SDK.
dittosh v0.2.0
dittosh v0.2.0
This release updates the bundled Ditto SDK to 5.2.0, adds a tutorial command
with interactive DQL lessons, adds a benchmark command, adds dittosh doctor --report for bug reports, adds live system
metrics to the interactive shell, shows the full execution profile the SDK reports, and refreshes
development dependencies to resolve security advisories.
New
dittosh tutorial writes a hands-on Markdown walkthrough of the CLI, tailored to
your installation (version, upgrade command, platform), from
importing and querying to diagnostics and advanced DQL.
dittosh tutorial --interactive teaches DQL in 27 guided lessons across
beginner, intermediate, and advanced levels, in a full-screen view: the lesson
stays in view at the top, results scroll below it, the ✓/✗ verdict stays
above the prompt, a sidebar outlines the lessons and your progress, Ctrl+T shows
the fields of the collections each lesson uses, and ? slides in a help panel.
- Each lesson explains a concept (projection, predicates, functions,
aggregation, joins, indexes, query plans, and more), shows the syntax, sets a
task, and checks your answer. - Lessons run in a separate practice store, so your data is never touched.
- Press Enter to run a statement (
;is optional). Tab gives a hint, Ctrl+L
picks a lesson from a list, Ctrl+N/Ctrl+P move between lessons, and?
explains everything; progress is saved between sessions. --plain(or a window smaller than 60×20) uses a simple line-by-line shell
instead.- Advanced lessons cover joins,
ANY … SATISFIES, indexes (including
mixed-direction composite indexes), query plans,USE IDS, and the system
collections.
dittosh dql bench benchmarks DQL statements: it runs each one many times and
reports mean, p50, p95, p99, min, max, and standard deviation.
--runs <n>sets the number of timed runs (default 50).--warmupruns the
statement untimed first, enough to fill about 250 ms, or--warmup <n>times.--pre,--before-each(also--reset),--after-each, and--postrun statements once
before timing, before every run (untimed), after every successful run (untimed), and once
afterwards (even after a failure). Use them to
create and drop indexes, or to put data back so every run of a write does the
same work.-f <file>runs benchmarks from a JSON file, in the same format as Ditto's DQL
benchmark suites (query,preQueries,resetQueries,postQueries), plus a
dittosh-onlyafterEachQueries.
--example <dataset>writes a sample file to start from. See
docs/benchmarking.md.dittosh dql dataset run <query> --runs <n> --warmupbenchmarks a query from
a sample dataset's catalog.
dittosh doctor --report writes one .tar.gz file to attach to a GitHub issue.
- It holds versions, OS and terminal details, the health checks, paths and free
disk space, dittosh settings (credentials only as set/not set), a store summary
(collection names, document counts, indexes; no document contents), and the
last failed command with its error output. - It includes the Ditto SDK 5.2 support bundle: the SDK's debug logs and the
store configuration with secrets removed.dittosh dql support-bundlesaves
just that bundle. --no-storeand--no-sdk-bundleleave parts out. The license token is never
included, andreport.md/report.jsonshow your home folder as~. The SDK
bundle is included as is: it holds the database ID, file paths, and peer keys.dittosh doctornow works withoutdql(dittosh dql doctorstill works).--debug(orDITTOSH_DEBUG=1) on any command shows the SDK's debug logs and
stack traces on stderr; stdout is unchanged.- A bug-report issue template asks for the file. See
docs/troubleshooting.md.
The interactive dittosh dql shell has a new .metrics command that shows
the SDK's live system metrics as formatted tables.
- Store metrics: SQLite transactions, fsync, WAL size, commit and lock timings.
- Query (DQL) metrics: requests, selects, failures, and parse, plan, and
execution times. - Totals run since the session opened; Change, p50/p90/p99, and Max cover the
time since the previous.metrics. .metrics storeor.metrics querynarrows the view;.metrics alladds
network, sync, transport, and the other sections.
Improved
dittosh dql --profile now shows everything in the SDK's profile:
- per-operator
recv,send, andstor(time blocked on storage) timings - scheduler yield counts by reason (
budget,sender,receiver,
heartbeat), plus total storage time and total yields in the summary - skipped document counts
- join subplans (
nlJoin→inner) as nested trees - each operator's remaining attributes
- the database ID, request type, feature flags, and directives
Changed
- Updated the bundled Ditto Node SDK from 5.1.0 to 5.2.0.
dittosh version
reports the new SDK version. - Updated vite, source-map-js, and vitest to patched versions. These are
build and test tools only; they are not part of the installed CLI.
Installation and updates
Install with Homebrew:
brew install getditto/tap/dittoshUpdate an existing install:
brew update && brew upgrade getditto/tap/dittoshHomebrew manages Node.js 24, so you don't need Node.js or npm installed.
Supported systems: Apple Silicon macOS and Linux x64/arm64. Intel Macs are not
supported by the bundled Ditto SDK. Homebrew installs now include only your
platform's copy of the Ditto SDK, so they are much smaller (about 150 MB on
macOS, 180 MB on Linux).
dittosh v0.1.0
dittosh v0.1.0
The first Ditto CLI release provides an offline DQL workspace for exploring
Ditto, running queries and mutations, and working with built-in sample datasets.
Included
- Interactive, file, stdin, and one-shot DQL execution.
- Table, JSON, CSV, Markdown, HTML, and vertical output, plus query diagnostics.
- Movies, retail, retail joins, and point-of-sale sample datasets.
- AI agent skill installation and package-manager-aware update commands.
- A built-in offline license; no account or user-provided credentials required.
Installation and updates
brew install getditto/tap/dittosh
brew update && brew upgrade dittoshThe command is dittosh. Homebrew manages Node.js 24. Supported systems are Apple Silicon macOS,
and Linux x64/arm64 for this Homebrew test. Intel Macs are not supported by the
bundled Ditto SDK. The formula downloads the archive attached to this GitHub release.
Merge tap PR #1 before installing.
Publishing @dittolive/cli to npm is deferred; no npm account is required.
Run dittosh version to inspect the installed version and offline license
expiry. Use brew update && brew upgrade dittosh for Homebrew updates.