Skip to content

Glossary

One word for each thing. The extension docs and the policies use these words. When the code uses another word, the entry says so.

The person who runs HADAL on their machine. The owner can do all things. Only the owner turns modules on and off. Code: the role "owner".

A person whom the owner invited, who can steer sessions. A guest can see all sessions, or only the sessions to which they were invited. Code: the role "guest".

A person who can see sessions, but cannot steer them. Code: the role "viewer".

Anyone who signs in to HADAL: the owner, a guest, or a viewer. Code: user, as in request.user. Say “person” and “people”, not “user”.

To send messages to HADAL in a session, and to stop HADAL there. The owner and guests can steer. Code: the access "steer".

When people take turns in a session, the person who has the turn is the only person who can send messages to HADAL. Other pages say “drive” for this.

The person whose message started HADAL’s current work in a session. HADAL acts for this person, with this person’s rights. Code: host.requesterOf. To know this person’s role, use host.roleOf with the id (since 0.27.0, experimental).

One conversation with HADAL, with its folder, its history, and its settings. Code: a session’s id is a conversationId. Say “session”, not “conversation” or “chat”.

The folder where HADAL works in a session. Code: cwd.

The messages and tool calls of a session, as the app shows them.

Plain text that a command puts in a session’s transcript, for all the people who see the session. HADAL does not get it.

A session that another session started with host.linkedSessions. It is an ordinary session, and it shows under the session that started it.

The session that starts a linked session, or that sends it a message.

The name that a session uses for one of its linked sessions. It is not the session’s id. Each session has its own addresses.

A session and all the sessions linked to it.

A session that HADAL starts for a part of its work. The subagent reports to the session that started it.

A limit on what HADAL can spend: for a session, or for a person. Code: host.heldBack says when one stops work.

The spend limit of a session. A team uses the budget of the session that started it.

A mode of a session where HADAL makes a plan and does not change files. Only tools that only read can run.

One .ts file that default-exports a setup function. Menu → Extensions lists modules. The browser module is a different file.

What a module returns: a name, with tools, prompt sections, hooks, and tasks. Pi Durable’s defineExtension makes it. In the app’s menus, “extension” means a module.

A module in the drop-in folder. It is the owner’s. It stays when HADAL updates, and it is off until the owner turns it on.

A module in src/server/extensions/. It is part of HADAL.

HADAL’s folder for its data: ~/.hadal by default. Code: host.dataDir.

The folder for drop-ins: extensions/ in the data folder.

To import a module and set it up. To reload is to load it again after an edit.

What one load of a module made: its extensions, routes, browser module, and commands. An edit makes a new version, and the old version goes. Do not mix this up with the API version.

What the owner does to a module in Menu → Extensions. A module that is off does not load.

The first argument of a module’s default export. See host.

The second argument of a module’s default export. See web.

The argument of a browser module’s default export. See pocket.

A function that HADAL can call. A module defines it with defineTool.

One call of a tool by HADAL, with its arguments and its result. See How tool calls show.

A part of HADAL’s system prompt that a module adds.

A function that checks or changes HADAL’s tool calls and answers.

An address on the server that a module adds, under /api/x/<module>/. A handler answers its requests.

A .js file, or a folder with an index.js, that the app loads in the tabs of the people it is for. It gets pocket.

Data that a module sends from the server to its browser module, with web.send.

A command that a person types in the message box, as /name. It runs on the server, and it does not ask HADAL. Also called a slash command.

A function that runs when a version of a module goes. Code: onDispose.

One open copy of the app in a browser.

The column of buttons at the edge of the app: in the sidebar, in the drawer, and on a phone’s home screen.

The app’s menu, from ⋯ in the top bar. A module adds menu rows to its App group.

The box that finds actions and sessions as a person types: Ctrl+K, or ⌘+K. A module adds launcher actions to it.

A view that a module adds in the place of the session.

A panel over the app, such as Menu → Extensions. A module can add sheets.

A short message at the edge of the app. Code: host.notice, pocket.notify, and the command result "toast".

One of the app’s components that pocket gives: Icon, Loader, Spinner, Markdown, and Switch.

The object that you give to pocket.rail, pocket.page, and the others. Its types are RailSpec, PageSpec, and so on.

Small cards beside a session that show the live work of other sessions.

A tab opened with ?noext=1 at the end of the app’s address loads no browser modules.

The library that runs HADAL’s sessions as durable work. HADAL is built on it. Extensions are Pi Durable’s.

Durable work that Pi Durable keeps across restarts.

Durable data that a module defines with defineDoc. Its kind is its name, such as x.clock.settings.

A value that Pi Durable keeps with a tool call. When the call runs again after a restart, it finds the value.

A change to documents that is done all together, or not at all.

To run a tool call again after a restart cut it off. Only a tool with replay: "safe" runs again.

The list of drop-ins that other people wrote: Menu → Extensions → Find extensions.

The JSON file that the gallery reads. See Gallery entry.

One extension in the index: its files at a pinned commit, and what it declares.

What an entry says that its module installs.

A commit of an extension that people must not use.

The version of the extension API: web.api and pocket.version. See API versions.

The first release of HADAL that has a member.

A version of HADAL, such as 0.14.0. It is not the API version. “Since 0.14.0” names the first release that has a member.

A member that changes only as API stability says.

A member that can change, or go, in any minor release, but never in a patch release.

A member of the host that only HADAL’s built-in modules use. It is not in the types file.

The agent: the AI that works in sessions.

This app, which runs HADAL in a browser, for one or more people.

The owner’s assistant in HADAL, which runs the owner’s other sessions.

A built-in module that asks a person before HADAL runs a tool call that could be risky.

A person’s answer to a tool call that Lancet Guard holds: allow or deny.

A company or service that runs models, such as Anthropic or OpenAI. A person signs in to a provider.

Do not use Use
enable, disable turn on, turn off
plugin, add-on extension, or module
chat, thread (for a session) session
client (for a browser module) browser module
toast notice
user (for a person) person, or the owner, a guest, a viewer

These pages describe HADAL 0.29.0. Your copy has the pages of its own version in its docs/ folder.