djinn

package module
v0.5.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 23, 2026 License: Apache-2.0 Imports: 3 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

Djinn

Djinn

A wisp of smoke to work your will.

Beta. Djinn has left alpha: it runs real work every day, its own development first, and what it does is covered by tests. It is not v1 yet: some paths are verified by tests only (see What beta means), the command line and the API may still change, and the road to v1 is below, with no date set.

Djinn turns what you wish into work done by coding agents, on your own machine, with your own accounts. It is one command, djinn: a native window, a local server, and a command line the agents use. You make wishes; one Djinn, the lead, plans each of them into tasks; workers of several agents (Claude Code, Codex, Antigravity) carry them out, each in its own Git worktree; Djinn schedules, checks, merges and pushes their work. Everything that needs you comes as a question, with a recommendation and the exact command when a move is yours to make.

What no djinn can grant

Like the genie of the lamp, Djinn has limits, and they are the project's first rule:

  • It can't kill anybody. Nothing destructive or irreversible (a deletion, a force push, a deployment) happens without your explicit go.
  • It can't make anybody fall in love. It never bends anyone else's will: no message, approval or merge sent in your name that you have not seen.
  • It can't bring anyone back from the dead. What failed stays failed: no made-up result, every claim comes with its evidence.
  • No wishing for more wishes. It never grants itself more than it was given: no extra budget, no wider access, and no secret it stores or reads.
  • Three wishes at a time. One Djinn holds three active wishes at most, and as many set aside as you like.

Workers commit, and never push. Each commits its work in its worktree; Djinn merges each one's work as it ends, checked, and pushes on a cadence: one CI run per push instead of one per worker. It opens pull requests as drafts, and never marks them ready nor merges them: that stays yours.

Install

One line, no administrator rights. The script picks the build for your system, checks it against the release's SHA256SUMS, and puts djinn in your own folders (~/.local/bin on macOS and Linux). On Linux without WebKitGTK it installs a build that opens Djinn in your browser.

curl -fsSL https://github.com/Empowill/Djinn/releases/latest/download/install.sh | sh    # macOS, Linux
irm https://github.com/Empowill/Djinn/releases/latest/download/install.ps1 | iex         # Windows

Then run djinn up (djinn up --browser prints a URL instead of opening a window). The latest release is v0.5.0, and its notes say what each part still needs.

Agents. Djinn asks for no API key and stores none: it runs the agents you installed and signed in to, and your account pays for them. Connections & preferences shows which ones it finds and installs or signs them in from the window; the Summoning Circle picks the agent and model for the Djinn and for each kind of worker, and ranks your sign-ins when you have several Claude accounts. By hand: npm install -g @anthropic-ai/claude-code, npm install -g @openai/codex, and for Antigravity see docs/providers.md.

macOS builds are not signed yet. The curl install is not affected; a Djinn.app downloaded with a browser must be allowed once in System Settings › Privacy & Security, or with xattr -dr com.apple.quarantine Djinn.app.

From source

With Go 1.25+ (and CGO for the window), Node.js 22, and on Linux the GTK and WebKitGTK headers (the full list is in CONTRIBUTING.md):

git clone https://github.com/Empowill/Djinn.git && cd Djinn
npm ci
go tool task install    # installs djinn in Go's bin folder, with its menu entry on Linux
djinn up

What works today

What is below is merged on main and covered by tests (the release notes say what ships in each tagged build). Every concept has its page in the Grimoire.

  • Wishes and azimas. A wish is what you ask for, across one or more projects. The Djinn splits it into azimas (goal-sized parts of the plan) and tasks in a conflict-free parallel graph; each work task is one worker in its own worktree. Azimas are ranked by priority, can wait as drafts, move between wishes, and end To validate: their card lists the proofs only a person, a machine or a real model can give, and Validate closes them. Guide · Azimas
  • One Djinn for every wish. A single lead sees every active wish, so it spots duplicate or conflicting work. By default Djinn drives it without a terminal, in a fresh Claude Code or Codex session per batch of events, from djinn brief, a summary Djinn writes without a model, and from notes built into the binary (djinn lead notes). A chip names where it runs and moves it across agents, accounts or models; the History tab and djinn lead journal show its batches; Write to the Djinn (Cmd/Ctrl+I) sends it your words. Its tone follows the window's theme: a solar Djinn in light, a mocking demon in dark. Guide · The Djinn
  • Questions and moves. The Djinn says nothing for you in a terminal: every report, doubt, choice or "done" is a question in its wish, ordered by urgency (Blocking, Your move, To decide, Can wait), with options and a recommendation selected from the start. The answer button names what starts: Build, Iterate, Investigate launch the option's planned worker at once, To the lead hands the answer to the Djinn. Enlighten me sends an investigator, with web search, to dig first and revise the question; Later and Sleep set it aside until a task ends, a pull request merges or a date passes. A move only you can make puts every command to run in one code block at the top; a check or a CI result is never asked of you. The window is driven from the keyboard too. Guide · Question and move
  • Tilasms. A tilasm is a self-contained, sandboxed HTML page (djinn://tilasm/<id>) the Djinn or a worker writes to show an analysis, a comparison, a diagram or an interactive mockup, versioned in Djinn's data folder, never in your repository. It opens full size over a question or in the Tilasms tab; you comment a passage or an element inline, then Iterate or Launch sends the comments in one batch. A tilasm and the question linking it settle each other. Guide
  • Investigations, mockups and ifrits. Besides work tasks, the Djinn can start an investigation (a short, bounded study) or a mockup (rounds of visual exploration), which never merge and end in a tilasm and a question. An ifrit is an interactive worker that stays lit while you are active, keeps its dev servers up with clickable ports (djinn serve), goes out when you leave, and merges through the project's checks when finished. Guide
  • Watchers, pull requests babysat, templates and the Inbox. A watcher is an agentless command task, zero tokens and zero worker slots, that wakes the Djinn when its command's output changes. Project skills can declare wish templates, babysit every pull or merge request a task opens until it merges, and plug Inbox sources that surface outside requests. Watchers & templates · Babysitting · Inbox
  • Your work lands where you choose. Per wish, one integration branch; per azima, one branch cut from main whose draft pull request Djinn opens at its first push. Djinn merges each task's work, runs the project's checks, starts a correction worker when they fail, and pushes on a standard cadence or on demand. A project describes its limits to Djinn in a djinn.yaml. Guide · Push strategy
  • Review. Each task shows its whole diff; a comment on a line reaches its worker or becomes a correction task. The Review tab lists the merged work to tick off, and the Decisions tab every decision taken, by whom, and what it led to. Guide
  • Several Claude accounts. Workers run on every Claude sign-in you add, the one whose week ends soonest first or in the order you set; a worker that hits its account's limit moves to another with its session. Several Claude accounts
  • Your machine stays yours. A load slider, from Minimal to Overclock or Auto, sets how much of the machine the workers take. Every command a Claude worker runs takes its turn through gates, heavy ones one at a time, and a memory brake freezes, then interrupts, the worker whose memory grew outside them before the machine runs out. Gates · Machine and load
  • The flying carpet and the Hourglass. The flying carpet (Ctrl+1 / Cmd+1) shows every active wish at once, the inbox, and what waits for you first. The Hourglass (Ctrl+2 / Cmd+2) shows the Machine (CPU and memory over time, each worker, where command time goes, the disk and what to clean) and the Statistics of the work, which djinn query reads from a terminal too. Flying carpet · Hourglass · Queries
  • Stops lose nothing. A watchdog wakes a worker gone silent and continues it on its own session; each task has a seal (time, turns, spending cap, what it may edit and run). Quitting Djinn stops every worker, watcher and check it started, and the next start resumes them; after a crash, or with djinn up --paused, it resumes none until it knows why. Guide
  • Share a wish. Share exports a wish to a .djinn file (its plan, questions, decisions, tilasms; never code nor secrets) that Import a wish opens on another machine; djinn wish sync keeps a static page of it up to date. Guide
  • Logs, a debug dump and updates. logs/djinn.log in the data folder records each call, command, error and panic, never a prompt or a secret; djinn debug dump says where each part waits when Djinn freezes. A banner offers a newer Djinn with its release notes; nothing restarts without you. Guide
Systems
System Builds What is verified
Linux amd64, arm64: GTK 3, GTK 4, browser Daily use, on amd64 with GTK 3. Every test runs in CI.
macOS one universal binary, and Djinn.app Used on a Mac during the port; the native end-to-end test passes there. Go tests run in CI. The release archives are not checked by hand yet.
Windows amd64, arm64 Go, interface and end-to-end tests run in CI, not yet as a required check. Not checked yet on a physical machine.

What beta means

Djinn builds itself every day, with a Claude Code lead on Linux; much else is covered by tests but not yet by use. Not verified yet:

  • Codex is tested against recorded streams, not yet run for real by this project as a lead or a worker; its accounts are listed and ordered, but their quota is not read. Antigravity has run real tasks; it reports no sign-in status.
  • macOS by hand from a release: Djinn.app opened from the Finder, its notifications, the title bar, a crash. The builds are not signed nor notarized.
  • Windows and arm64 Linux on real hardware, including the Windows window and SmartScreen. On Windows, workers cannot be paused and their memory is not measured yet.
  • GitLab: merge requests opened and babysat, tested against a fake forge, not yet on a live GitLab project.
  • An update from inside the app from one release to the next.

The data folder is kept across versions; the command line and the API may still change before v1.

Roadmap to v1

Djinn is tracked here, with no other tool: one file per task in plan/, with what to do and the questions still open.

Before v1

The four themes that lead from beta to v1:

  1. Delegating tasks between machines (T28).
  2. Peer-to-peer collaboration on artifacts (tilasms) (T29).
  3. Simpler QA and human validation (reworking the review).
  4. Tuning the Djinn's tone of voice.
Proposals

Proposals, not decisions: each one needs a yes before any work.

  1. Hand one task to another machine first. T28 plans a whole mesh of trusted machines; sending one ready task, with its session, to a machine you name would prove the trust and the transport early, and give you a second machine's slots now.
  2. Comments on a shared tilasm come back to the wish. djinn wish sync writes a page one way only, and T29 leaves open how a comment returns; tilasm comments already reach the Djinn in batches, so they are the natural first path back, and a colleague's remark on a mockup reaches the wish without a copy and paste.
  3. Validate an azima, not each task. The Review tab ticks merged work task by task, while the proofs live on the azima; one place per azima with its diff against main, its proofs and Validate would let you check a feature once, as you think of it.
  4. Try it before you tick it. Validating a front change today means running it yourself; an ifrit lit on the azima's branch, its ports one click away, would put the running change in front of you at validation time.
  5. The Djinn's tone, chosen apart from the theme. The tone follows the window's theme today; a setting of its own (plain, solar, demon) in the Summoning Circle, with a sample question, would let you keep the dark theme with a plain Djinn, on a shared screen or with a team.
  6. A plain tone for what leaves Djinn. A shared wish or page carries the questions in the tone they were written in; writing what a teammate reads in the plain tone would keep the jokes between you and your Djinn.
  7. Lessons a team teaches its Djinn. Lead notes change only with a Djinn release; notes a project keeps beside its djinn.yaml would let a team's lead learn its conventions without waiting for one.
  8. Codex on equal terms with Claude. Codex accounts are ordered but their quota is not read, and no real Codex run is verified yet; reading its quota and running a real Codex lead and worker would make the agent choice a real one.
  9. Windows workers that pause and are measured. Pausing a worker and its memory figures are missing on Windows; without them the load slider and the memory brake protect a Windows machine less.
  10. A first start with something to see. A new user meets an empty window and spends tokens before seeing a question; the demonstration wish of the screenshots below, offered at the first start, would show a question, a plan and a review before the first real wish.
  11. A signed Mac and Windows install. Unsigned builds stop a newcomer at Gatekeeper or SmartScreen; signing and notarizing them would make a downloaded app open like any other.
  12. A live GitLab check and an update tried release to release. Both are tested against fakes only; one real run of each before v1 would turn them into verified paths.
Done

Phase 1 · Native app

Phase 2 · Orchestration and data, after which Djinn runs on itself

Phase 3 · Comfort

Screenshots of a demonstration wish, with fictional data. go tool task screenshots takes them again.

Documentation

User guide · Providers · Agent protocol · Team settings · Wish templates · Backups · Release notes

Every concept and command in one site: Grimoire in the window's side panel, served at /docs/ while djinn up runs, or go tool task docs, then bin/docs/index.html. Its pages are in docs/site/pages/.

Contributing

Everything you need to work on Djinn, person or agent, is in CONTRIBUTING.md: the shape of the project (the lamp and the smoke), its technical directions, how to set up, and its license rules. Coding agents read AGENTS.md too. go tool task test runs every test, and no test calls a paid model.

License

Djinn is free and open-source software under the Apache License, Version 2.0. Third-party dependencies and their licenses are listed in docs/THIRD_PARTY_NOTICES.md, shipped with every release.

Credits

Thanks to Clément Fauvelle (@clemzer0o) for the macOS and Codex port and for the design of the window. The engine and some adapters are studied from T3 Code. The avatars use Thinking Orbs. Djinn's diagrams and illustrations are original.

Documentation

Overview

Package djinn holds what must sit at the root of the module: the built interface, embedded at compile time.

Index

Constants

This section is empty.

Variables

View Source
var Icon []byte

Icon is the icon of the application, for the window, the dock and the tray.

View Source
var Icon256 []byte

Icon256 is the icon at 256 px, for the window on Linux: GTK 3 silently drops a window icon that does not fit one X11 request, 512 px or more (gdk_x11_window_set_icon_list). Made by `go run ./tools/icons gen`.

Functions

func Docs

func Docs() fs.FS

Docs returns the Grimoire, the documentation site, its pages rendered and its Command line filled in from this djinn's commands: what djinn up serves at /docs/.

func UI

func UI() fs.FS

UI returns the built interface, rooted at the content of dist/.

Types

This section is empty.

Directories

Path Synopsis
cmd
djinn command
Command djinn is the single entry point of Djinn: the native window, the local server and the command line that agents use to drive a mission.
Command djinn is the single entry point of Djinn: the native window, the local server and the command line that agents use to drive a mission.
gen
Package gen holds what `go tool task gen` generates from the protos in api/.
Package gen holds what `go tool task gen` generates from the protos in api/.
go/backup/v1/backupv1connect
Package backup.v1 is the backup of Djinn's data folder: one archive, taken while Djinn runs.
Package backup.v1 is the backup of Djinn's data folder: one archive, taken while Djinn runs.
go/demo/v1/demov1connect
Package demo.v1 is a minimal service that proves a server stream reaches the interface, in the window and in the browser alike.
Package demo.v1 is a minimal service that proves a server stream reaches the interface, in the window and in the browser alike.
go/djinn/v1/djinnv1connect
The operating load slider that controls how much of the machine Djinn uses.
The operating load slider that controls how much of the machine Djinn uses.
go/machine/v1/machinev1connect
Package machine.v1 is what Djinn knows of the machine it runs on, and the gates: shared resources it grants one holder at a time.
Package machine.v1 is what Djinn knows of the machine it runs on, and the gates: shared resources it grants one holder at a time.
go/plan/v1/planv1connect
The plan of work: the projects Djinn knows, the wishes it works to grant across them, their tasks, and the questions agents ask along the way.
The plan of work: the projects Djinn knows, the wishes it works to grant across them, their tasks, and the questions agents ask along the way.
go/query/v1/queryv1connect
Package query.v1 reads Djinn's stored collections as tables: one route for every list, its columns, filters, sorts and aggregates named by refs, its answer an Arrow table whose shape follows the query.
Package query.v1 reads Djinn's stored collections as tables: one route for every list, its columns, filters, sorts and aggregates named by refs, its answer an Arrow table whose shape follows the query.
go/terminal/v1/terminalv1connect
Package terminal.v1 runs programs on pseudo-terminals for the window: a shell, or the lead agent, in a real terminal the user types into.
Package terminal.v1 runs programs on pseudo-terminals for the window: a shell, or the lead agent, in a real terminal the user types into.
go/ui/v1/uiv1connect
The interface reserved to the native window.
The interface reserved to the native window.
internal
backup
Package backup writes Djinn's data folder into one archive, and puts it back.
Package backup writes Djinn's data folder into one archive, and puts it back.
cli
Package cli turns the public methods of the protos into commands, by convention and at runtime: the command is the service then the method, the arguments are the fields of the request, and the help is the proto comments.
Package cli turns the public methods of the protos into commands, by convention and at runtime: the command is the service then the method, the arguments are the fields of the request, and the help is the proto comments.
demo
Package demo implements demo.v1.DemoService, which only proves that a server stream reaches the interface.
Package demo implements demo.v1.DemoService, which only proves that a server stream reaches the interface.
dispatch
Package dispatch decides which planned task starts now: the scheduler's rules, in plain Go, apart from the store and the workers.
Package dispatch decides which planned task starts now: the scheduler's rules, in plain Go, apart from the store and the workers.
dispatch/bench
Package bench is the dispatch bench (T07): dispatch situations written as data, each with the decision expected by hand, and what a contender decides for each.
Package bench is the dispatch bench (T07): dispatch situations written as data, each with the decision expected by hand, and what a contender decides for each.
docsite
Package docsite is the Grimoire, Djinn's documentation site, docs/site: its book's navigation and pages rendered from docs/site/pages (grimoire.go), and its Command line filled in from the command tree of this very djinn (cli.Reference).
Package docsite is the Grimoire, Djinn's documentation site, docs/site: its book's navigation and pages rendered from docs/site/pages (grimoire.go), and its Command line filled in from the command tree of this very djinn (cli.Reference).
fsx
Package fsx holds the file system helpers several packages share: a rename that Windows does not refuse for a moment, a write that a reader never sees half done, and the sweep of what such a write left when a kill cut it.
Package fsx holds the file system helpers several packages share: a rename that Windows does not refuse for a moment, a write that a reader never sees half done, and the sweep of what such a write left when a kill cut it.
gate
Package gate grants the gates: named resources (code generation, the local stack, an end-to-end run, a paid model run), granted only while the machine is not under pressure and has the memory the command peaked at.
Package gate grants the gates: named resources (code generation, the local stack, an end-to-end run, a paid model run), granted only while the machine is not under pressure and has the memory the command peaked at.
gitx
Package gitx starts the git commands Djinn runs, each with a deadline: a git that talks to a remote (over ssh, a stalled connection or a prompt nobody sees) or waits on a lock never holds Djinn for good (W504).
Package gitx starts the git commands Djinn runs, each with a deadline: a git that talks to a remote (over ssh, a stalled connection or a prompt nobody sees) or waits on a lock never holds Djinn for good (W504).
harness
Package harness runs workers: one agent process per task, in the task's own worktree, followed and recorded in the store as it goes.
Package harness runs workers: one agent process per task, in the task's own worktree, followed and recorded in the store as it goes.
link
Package link reads Djinn's links, djinn://tilasm/<id> and djinn://wish/<id>, which open the app on what they name from anywhere: a browser, a chat, a terminal, a Markdown file.
Package link reads Djinn's links, djinn://tilasm/<id> and djinn://wish/<id>, which open the app on what they name from anywhere: a browser, a chat, a terminal, a Markdown file.
lockx
Package lockx holds an exclusive lock on a file, the one a djinn up takes on its data folder: a second djinn up on the folder, whatever its version and even run under wine, sees it held before it writes anything there.
Package lockx holds an exclusive lock on a file, the one a djinn up takes on its data folder: a second djinn up on the folder, whatever its version and even run under wine, sees it held before it writes anything there.
logx
Package logx is the log of djinn up, to debug a freeze or a quit that hangs (W511): levelled lines (log/slog) in logs/djinn.log of the data folder, rolled over in the process on every system, and goroutine dumps beside them.
Package logx is the log of djinn up, to debug a freeze or a quit that hangs (W511): levelled lines (log/slog) in logs/djinn.log of the data folder, rolled over in the process on every system, and goroutine dumps beside them.
machine
Package machine discovers what the machine has (cores, memory, disk, GPUs) and how loaded it is (load, pressure), and turns it into the number of workers Djinn runs at once, whether a new worker or a gate may start now, and whether a local model can run.
Package machine discovers what the machine has (cores, memory, disk, GPUs) and how loaded it is (load, pressure), and turns it into the number of workers Djinn runs at once, whether a new worker or a gate may start now, and whether a local model can run.
plan
Package plan implements the services of plan.v1 on the store: projects, wishes and questions.
Package plan implements the services of plan.v1 on the store: projects, wishes and questions.
query
Package query reads a collection of stored messages by refs, as a table: the columns a query selects, its rows filtered and sorted.
Package query reads a collection of stored messages by refs, as a table: the columns a query selects, its rows filtered and sorted.
querytext
Package querytext reads the texts a person types for a query into QueryService's typed messages, and writes them back: a filter status=running, a sort -create_time, a group create_time::week, a measure cost=usage.cost_usd::sum.
Package querytext reads the texts a person types for a query into QueryService's typed messages, and writes them back: a filter status=running, a sort -create_time, a group create_time::week, a measure cost=usage.cost_usd::sum.
render
Package render writes the page of a wish: one HTML file standing alone, made by Djinn from its store, never by a model.
Package render writes the page of a wish: one HTML file standing alone, made by Djinn from its store, never by a model.
server
Package server builds the single HTTP handler that both the native window and the browser mode serve: the Connect services, and the interface for every other path.
Package server builds the single HTTP handler that both the native window and the browser mode serve: the Connect services, and the interface for every other path.
store
Package store keeps the entities of Djinn in one SQLite database, by protobuf reflection: one table per message, its id as primary key, the fields it is searched by as columns, and the whole message as a binary payload.
Package store keeps the entities of Djinn in one SQLite database, by protobuf reflection: one table per message, its id as primary key, the fields it is searched by as columns, and the whole message as a binary payload.
swapexe
Package swapexe puts a freshly built executable in place of an installed one, in one rename, without disturbing a copy that runs.
Package swapexe puts a freshly built executable in place of an installed one, in one rename, without disturbing a copy that runs.
terminal
Package terminal runs programs on pseudo-terminals for the window: a shell, or the lead agent, that the user types into as in any terminal.
Package terminal runs programs on pseudo-terminals for the window: a shell, or the lead agent, that the user types into as in any terminal.
testx
Package testx holds what the tests of several packages share: the mark of a test that checks portable logic, which the Windows job skips (CONTRIBUTING.md), and the environment every test process starts from (Guard).
Package testx holds what the tests of several packages share: the mark of a test that checks portable logic, which the Windows job skips (CONTRIBUTING.md), and the environment every test process starts from (Guard).
testx/bigwish
Package bigwish makes a wish of real size, to measure Djinn on: its azimas and tasks, the events of their workers, its questions and decisions, its blocks and its journal, as a wish export (WishService.Import reads it).
Package bigwish makes a wish of real size, to measure Djinn on: its azimas and tasks, the events of their workers, its questions and decisions, its blocks and its journal, as a wish export (WishService.Import reads it).
tilasm
Package tilasm builds what a tilasm publishes on claude.ai: its page with the files beside it, at their paths, as the window serves them.
Package tilasm builds what a tilasm publishes on claude.ai: its page with the files beside it, at their paths, as the window serves them.
ui
Package ui implements UiService, the API the window calls.
Package ui implements UiService, the API the window calls.
usage
Package usage provides model price tables and cost estimation for worker token usage.
Package usage provides model price tables and cost estimation for worker token usage.
window
Package window watches the page of Djinn's native window from outside it, on Linux.
Package window watches the page of Djinn's native window from outside it, on Linux.
wrap
Package wrap is the commands Djinn puts first on a worker's path: docker, which binds the containers the worker starts to its task and bounds them, and, for the agents Claude's hook does not cover (Codex, Antigravity), the heavy heads (go, npm, make…), which wait for their admission by the gates.
Package wrap is the commands Djinn puts first on a worker's path: docker, which binds the containers the worker starts to its task and bounds them, and, for the agents Claude's hook does not cover (Codex, Antigravity), the heavy heads (go, npm, make…), which wait for their admission by the gates.
lead
notes
Package notes holds the lead's notes: how to lead wishes with Djinn, learnt from past wishes, whatever the agent that leads.
Package notes holds the lead's notes: how to lead wishes with Djinn, learnt from past wishes, whatever the agent that leads.
tones
Package tones holds the Djinn's two tones (decision Q36, W156): the voice of the lead Djinn drives, by the theme the window shows.
Package tones holds the Djinn's two tones (decision Q36, W156): the voice of the lead Djinn drives, by the theme the window shows.
Package locales holds the texts Djinn shows to people, one JSON catalog per language, shared by the Go server and the interface (src/i18n.ts).
Package locales holds the texts Djinn shows to people, one JSON catalog per language, shared by the Go server and the interface (src/i18n.ts).
tools
benchdispatch command
Command benchdispatch is the dispatch bench (T07, plan/8e8d3d76-orchestrator.md): it runs the plain Go scheduler on every case of internal/dispatch/bench/cases.json and prints a Markdown table of its decisions, the expected ones, and the time per pass.
Command benchdispatch is the dispatch bench (T07, plan/8e8d3d76-orchestrator.md): it runs the plain Go scheduler on every case of internal/dispatch/bench/cases.json and prints a Markdown table of its decisions, the expected ones, and the time per pass.
benchworkers command
Command benchworkers compares four ways Djinn starts a worker on the same small task, with a real model: cold (claude -p as Djinn runs it), --bare, a fork of a session, and a cold worker behind a stable brief.
Command benchworkers compares four ways Djinn starts a worker on the same small task, with a real model: cold (claude -p as Djinn runs it), --bare, a fork of a session, and a cold worker behind a stable brief.
bigwish command
Command bigwish writes a wish of real size (internal/testx/bigwish) to a file, as djinn wish export writes one: djinn wish import reads it into any djinn, the e2e's first (e2e/bigwish.ts).
Command bigwish writes a wish of real size (internal/testx/bigwish) to a file, as djinn wish export writes one: djinn wish import reads it into any djinn, the e2e's first (e2e/bigwish.ts).
copydir command
Command copydir copies a directory tree.
Command copydir copies a directory tree.
devloop command
Command devloop is `go tool task dev`: Djinn while you edit it.
Command devloop is `go tool task dev`: Djinn while you edit it.
docsite command
Command docsite builds the Grimoire, the documentation site, into a folder that opens offline: docs/site, its pages rendered and its Command line filled in from the command tree djinn is built from.
Command docsite builds the Grimoire, the documentation site, into a folder that opens offline: docs/site, its pages rendered and its Command line filled in from the command tree djinn is built from.
icons command
Command icons makes Djinn's icon for each system from one drawing, build/icon.png: the logo of the window, which the window, the dock and the tray already show (assets.go).
Command icons makes Djinn's icon for each system from one drawing, build/icon.png: the logo of the window, which the window, the dock and the tray already show (assets.go).
macapp command
Command macapp lays out Djinn.app, the macOS application bundle, around a djinn binary built for macOS, and zips it.
Command macapp lays out Djinn.app, the macOS application bundle, around a djinn binary built for macOS, and zips it.
releasepack command
Command releasepack packs release archives and their checksums.
Command releasepack packs release archives and their checksums.
slowtests command
Command slowtests reads `go test -json` on its input, prints what go test prints without -json (the output of the tests that fail, the build errors, a line per package), and fails when a test fails or when a top-level test took longer than -max: tests stay fast, and a slow one is caught the day it slows down.
Command slowtests reads `go test -json` on its input, prints what go test prints without -json (the output of the tests that fail, the build errors, a line per package), and fails when a test fails or when a top-level test took longer than -max: tests stay fast, and a slow one is caught the day it slows down.
svgdiagrams command
swapexe command
Command swapexe puts a freshly built executable in place of an installed one, in one rename, without disturbing a copy that runs: it is how `task install` updates the Djinn in use.
Command swapexe puts a freshly built executable in place of an installed one, in one rename, without disturbing a copy that runs: it is how `task install` updates the Djinn in use.
testall command
Command testall runs the parts of `go tool task test` at once, each as its own `go tool task <part>` whose output goes to its own file (test-results/<part>.log), and prints them apart: a green part's output as soon as it ends, a red part's at the end, under its name, and last a line naming the parts that failed.
Command testall runs the parts of `go tool task test` at once, each as its own `go tool task <part>` whose output goes to its own file (test-results/<part>.log), and prints them apart: a green part's output as soon as it ends, a red part's at the end, under its name, and last a line naming the parts that failed.
windowcheck command
Command windowcheck tells whether a Connect server stream reaches the native window of Djinn message by message, on the path the window really uses on this system: the Wails internal asset server (wails://) on macOS and Linux, the loopback HTTP server with its token on Windows; and whether a unary call with an empty response still succeeds there.
Command windowcheck tells whether a Connect server stream reaches the native window of Djinn message by message, on the path the window really uses on this system: the Wails internal asset server (wails://) on macOS and Linux, the loopback HTTP server with its token on Windows; and whether a unary call with an empty response still succeeds there.
Package wishicons is the bank of wish icons (L09 v6), shared by the server and the interface as the locales are: bank.json holds each icon's name, family, duo, search words in English and in French, and its drawing.
Package wishicons is the bank of wish icons (L09 v6), shared by the server and the interface as the locales are: bank.json holds each icon's name, family, duo, search words in English and in French, and its drawing.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL