internal/

directory
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Nov 12, 2026 License: Apache-2.0

Directories

Path Synopsis
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.
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.
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.
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.
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.
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).
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.
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.
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).
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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).
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).
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.
Package ui implements UiService, the API the window calls.
Package ui implements UiService, the API the window calls.
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.
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.
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.

Jump to

Keyboard shortcuts

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