internal/

directory
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Oct 14, 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 Djinn's documentation site, docs/site, with its Command line tab filled in from the command tree of this very djinn (cli.Reference): what `go tool task docs` writes into bin/docs, and what djinn up serves at /docs/.
Package docsite is Djinn's documentation site, docs/site, with its Command line tab filled in from the command tree of this very djinn (cli.Reference): what `go tool task docs` writes into bin/docs, and what djinn up serves at /docs/.
Package fsx holds the file system helpers several packages share: a rename that Windows does not refuse for a moment, and a write that a reader never sees half done.
Package fsx holds the file system helpers several packages share: a rename that Windows does not refuse for a moment, and a write that a reader never sees half done.
Package gate grants the gates: shared resources (code generation, the local stack, an end-to-end run, a paid model run) that one holder uses at a time, granted only while the machine is not under pressure and has the memory the command peaked at, the first wish of the rank first.
Package gate grants the gates: shared resources (code generation, the local stack, an end-to-end run, a paid model run) that one holder uses at a time, granted only while the machine is not under pressure and has the memory the command peaked at, the first wish of the rank first.
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 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 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.

Jump to

Keyboard shortcuts

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