Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
nexul
command
Command nexul installs, upgrades and removes Nexul's services on this machine: the server, OpenObserve, runners and automations hosts.
|
Command nexul installs, upgrades and removes Nexul's services on this machine: the server, OpenObserve, runners and automations hosts. |
|
ee
|
|
|
cmd/license-sign
command
|
|
|
internal
|
|
|
access
Package access implements permission overwrites, the HasPermission check, and doc-permission use-cases.
|
Package access implements permission overwrites, the HasPermission check, and doc-permission use-cases. |
|
auth
Package auth implements the identity and session use-cases (ADR 0019).
|
Package auth implements the identity and session use-cases (ADR 0019). |
|
automations
Package automations implements first-party event-driven code, not a no-code rule engine.
|
Package automations implements first-party event-driven code, not a no-code rule engine. |
|
botwebhook
Package botwebhook implements bots: named posters bound to one conversation, driven from outside through a Discord-compatible webhook URL whose token is the credential.
|
Package botwebhook implements bots: named posters bound to one conversation, driven from outside through a Discord-compatible webhook URL whose token is the credential. |
|
calendar
Package calendar is the workspace calendar (ADR 0168): meetings, who is invited and their replies, and the reminders sent before a meeting starts and the day before a ticket is due.
|
Package calendar is the workspace calendar (ADR 0168): meetings, who is invited and their replies, and the reminders sent before a meeting starts and the day before a ticket is due. |
|
chat
Package chat implements the chat domain core: conversations, messages, and per-user unread state.
|
Package chat implements the chat domain core: conversations, messages, and per-user unread state. |
|
connectors
Package connectors holds credentials the instance uses to call out to third-party tools on its own behalf.
|
Package connectors holds credentials the instance uses to call out to third-party tools on its own behalf. |
|
connectors/cloudflare
Package cloudflare implements connectors.OAuthClient against Cloudflare's OAuth app, reading credentials live.
|
Package cloudflare implements connectors.OAuthClient against Cloudflare's OAuth app, reading credentials live. |
|
connectors/github
Package github implements connectors.OAuthClient against a GitHub App, reading AppConfig fresh on every call.
|
Package github implements connectors.OAuthClient against a GitHub App, reading AppConfig fresh on every call. |
|
crashintake
Package crashintake turns crash reports a bot posts into bug tickets: one per crash, a running note for its repeats, and a new high-priority bug when a crash returns in a build that holds its fix.
|
Package crashintake turns crash reports a bot posts into bug tickets: one per crash, a running note for its repeats, and a new high-priority bug when a crash returns in a build that holds its fix. |
|
dns/cloudflare
Package cloudflare implements dns.DNSProvider against Cloudflare's v4 API.
|
Package cloudflare implements dns.DNSProvider against Cloudflare's v4 API. |
|
docs/richtext
Package richtext converts between the docs domain's canonical structured rich text (Tiptap JSON, ADR 0026) and CommonMark.
|
Package richtext converts between the docs domain's canonical structured rich text (Tiptap JSON, ADR 0026) and CommonMark. |
|
eventcatalog
Package eventcatalog aggregates every domain's published topics and serves their published schemas (ADR 0137).
|
Package eventcatalog aggregates every domain's published topics and serves their published schemas (ADR 0137). |
|
gitprovider/github
Package github implements gitprovider.GitProvider against GitHub via go-github.
|
Package github implements gitprovider.GitProvider against GitHub via go-github. |
|
harness
Package harness is the seam between Nexul and an agent harness (T3 Code today, others later): one Client per kind, registered by Kind, and only harness-neutral types cross it (ADR 0054).
|
Package harness is the seam between Nexul and an agent harness (T3 Code today, others later): one Client per kind, registered by Kind, and only harness-neutral types cross it (ADR 0054). |
|
harness/harnesstest
Package harnesstest is the one in-memory harness.Client every domain test uses instead of its own fake.
|
Package harnesstest is the one in-memory harness.Client every domain test uses instead of its own fake. |
|
imports
Package imports brings another tool's records into a project: a scan, a confirmed job, live progress, and re-runs that skip what came in before (ADR 0201).
|
Package imports brings another tool's records into a project: a scan, a confirmed job, live progress, and re-runs that skip what came in before (ADR 0201). |
|
imports/testutil
Package testutil holds a stub of Linear's GraphQL API for the import tests.
|
Package testutil holds a stub of Linear's GraphQL API for the import tests. |
|
install
Package install puts Nexul on a Linux server, a Mac or a Windows PC as native services and keeps it current: the nexul command's install, upgrade, status and uninstall commands.
|
Package install puts Nexul on a Linux server, a Mac or a Windows PC as native services and keeps it current: the nexul command's install, upgrade, status and uninstall commands. |
|
integrations
Package integrations implements scoped API tokens, signed webhooks-out, the schema catalog, and audit log (ADR 0043).
|
Package integrations implements scoped API tokens, signed webhooks-out, the schema catalog, and audit log (ADR 0043). |
|
issuesync
Package issuesync keeps a project's GitHub issues and its tickets in step (ADR 0200).
|
Package issuesync keeps a project's GitHub issues and its tickets in step (ADR 0200). |
|
livekit
Package livekit is a minimal, stdlib-only LiveKit client; deliberately skips the server-sdk-go dependency.
|
Package livekit is a minimal, stdlib-only LiveKit client; deliberately skips the server-sdk-go dependency. |
|
mcp
Package mcp is the Model Context Protocol adapter: the official SDK's stateless Streamable HTTP handler over the tools, resources, and prompts the domains declare (ADR 0067).
|
Package mcp is the Model Context Protocol adapter: the official SDK's stateless Streamable HTTP handler over the tools, resources, and prompts the domains declare (ADR 0067). |
|
mcp/composite
Package composite holds the MCP tools that compose more than one domain; it imports only the domains it composes.
|
Package composite holds the MCP tools that compose more than one domain; it imports only the domains it composes. |
|
mentions
Package mentions implements the @-mention/chip resolution seam.
|
Package mentions implements the @-mention/chip resolution seam. |
|
pairing
Package pairing implements the user-level half of @Agent: paired computers, their harness sessions, and defaults.
|
Package pairing implements the user-level half of @Agent: paired computers, their harness sessions, and defaults. |
|
platform/auditnote
Package auditnote lets a use-case name the computer a request acted on, so the audit row the adapter writes after it carries the computer, its owner and any command it started (the personal runners spec, Access and privacy rule 5).
|
Package auditnote lets a use-case name the computer a request acted on, so the audit row the adapter writes after it carries the computer, its owner and any command it started (the personal runners spec, Access and privacy rule 5). |
|
platform/colors
Package colors defines what every owner-configurable color field accepts: a suggested hue or any hex color.
|
Package colors defines what every owner-configurable color field accepts: a suggested hue or any hex color. |
|
platform/containerlog
Package containerlog serves container logs read live from Docker through a runner (ADR 0091): a snapshot of the last lines over HTTP, or a live tail over a WebSocket per viewer.
|
Package containerlog serves container logs read live from Docker through a runner (ADR 0091): a snapshot of the last lines over HTTP, or a live tail over a WebSocket per viewer. |
|
platform/crypto
Package crypto provides authenticated-encryption helpers for secrets at rest.
|
Package crypto provides authenticated-encryption helpers for secrets at rest. |
|
platform/errors
Package apperrors defines the cross-cutting sentinel errors; named so callers can also import "errors".
|
Package apperrors defines the cross-cutting sentinel errors; named so callers can also import "errors". |
|
platform/eventbus/deadletter
Package deadletter persists events that exhausted retries or failed permanently, and replays them back onto the bus.
|
Package deadletter persists events that exhausted retries or failed permanently, and replays them back onto the bus. |
|
platform/eventbus/inprocess
Package inprocess implements the Day-1 EventBus over in-process channels.
|
Package inprocess implements the Day-1 EventBus over in-process channels. |
|
platform/eventbus/outbox
Package outbox implements the transactional outbox.
|
Package outbox implements the transactional outbox. |
|
platform/eventbus/processed
Package processed holds the consumer-side idempotency store.
|
Package processed holds the consumer-side idempotency store. |
|
platform/eventbus/testutil
Package testutil provides shared test helpers for the eventbus packages.
|
Package testutil provides shared test helpers for the eventbus packages. |
|
platform/freshdns
Package freshdns resolves names through a public resolver before the host's, so a record created seconds ago is not hidden behind the negative answer the host's resolver cached while it did not exist yet (Cloudflare zones cache "no such name" for 30 minutes).
|
Package freshdns resolves names through a public resolver before the host's, so a record created seconds ago is not hidden behind the negative answer the host's resolver cached while it did not exist yet (Cloudflare zones cache "no such name" for 30 minutes). |
|
platform/githubapp
Package githubapp checks a GitHub App registration live, so a typo never gets stored as this instance's login app.
|
Package githubapp checks a GitHub App registration live, so a typo never gets stored as this instance's login app. |
|
platform/hostcred
Package hostcred mints and checks the one-time enrollment codes and long-lived credentials hosts (runners, automations hosts) authenticate with; only hashes are ever stored.
|
Package hostcred mints and checks the one-time enrollment codes and long-lived credentials hosts (runners, automations hosts) authenticate with; only hashes are ever stored. |
|
platform/httpx
Package httpx provides the JSON/error adapter helpers shared by the domain HTTP gateways (ADR 0019).
|
Package httpx provides the JSON/error adapter helpers shared by the domain HTTP gateways (ADR 0019). |
|
platform/identity
Package identity carries the acting user through a request context, so use-cases enforce access without auth.
|
Package identity carries the acting user through a request context, so use-cases enforce access without auth. |
|
platform/ids
Package ids generates the time-sortable UUIDv7 identifiers domain use-cases mint for new rows.
|
Package ids generates the time-sortable UUIDv7 identifiers domain use-cases mint for new rows. |
|
platform/jsonx
Package jsonx is the JSON encoder every adapter and event payload shares, so clients always get arrays.
|
Package jsonx is the JSON encoder every adapter and event payload shares, so clients always get arrays. |
|
platform/labels
Package labels is the one rule for the labels on a computer and the needs a play names (ADR 0197).
|
Package labels is the one rule for the labels on a computer and the needs a play names (ADR 0197). |
|
platform/live
Package live fans bus events out to connected browser WebSockets; callers decide which topics to bridge.
|
Package live fans bus events out to connected browser WebSockets; callers decide which topics to bridge. |
|
platform/logstore
Package logstore reads Nexul's own logs back out of OpenObserve on the caller's behalf (ADR 0155).
|
Package logstore reads Nexul's own logs back out of OpenObserve on the caller's behalf (ADR 0155). |
|
platform/mcptool
Package mcptool is the MCP tool contract every domain declares its tools with; only internal/mcp speaks the protocol.
|
Package mcptool is the MCP tool contract every domain declares its tools with; only internal/mcp speaks the protocol. |
|
platform/oauthx
Package oauthx is the shared form-encoded OAuth token-exchange POST used by every provider client.
|
Package oauthx is the shared form-encoded OAuth token-exchange POST used by every provider client. |
|
platform/openapi
Package openapi builds an OpenAPI 3.0.x document from gateway route registrations (ADR 0045).
|
Package openapi builds an OpenAPI 3.0.x document from gateway route registrations (ADR 0045). |
|
platform/paging
Package paging is the stretch of a list a use-case reads in SQL, the same for the HTTP gateway and MCP (ADR 0140).
|
Package paging is the stretch of a list a use-case reads in SQL, the same for the HTTP gateway and MCP (ADR 0140). |
|
platform/permissions
Package permissions defines the one domain x action vocabulary shared by roles, tokens, and the agent: read, write, and delete on every domain, plus a further verb a domain may declare (ADR 0057).
|
Package permissions defines the one domain x action vocabulary shared by roles, tokens, and the agent: read, write, and delete on every domain, plus a further verb a domain may declare (ADR 0057). |
|
platform/redact
Package redact hides credentials in text that is saved, such as an agent turn's transcript.
|
Package redact hides credentials in text that is saved, such as an agent turn's transcript. |
|
platform/release
Package release is a small GitHub Releases client for the Nexul repo, shared by the runner download proxy and the /api/version handler so both hit the same 5-minute cache.
|
Package release is a small GitHub Releases client for the Nexul repo, shared by the runner download proxy and the /api/version handler so both hit the same 5-minute cache. |
|
platform/secretref
Package secretref recognises a secret reference: a value that names, in full, where a secret lives in an external secrets manager instead of holding it (ADR 0181).
|
Package secretref recognises a secret reference: a value that names, in full, where a secret lives in an external secrets manager instead of holding it (ADR 0181). |
|
platform/secretref/onepassword
Package onepassword resolves op:// references through the 1Password SDK.
|
Package onepassword resolves op:// references through the 1Password SDK. |
|
platform/secretref/secretreftest
Package secretreftest is the in-memory secretref.Resolver tests use instead of their own.
|
Package secretreftest is the in-memory secretref.Resolver tests use instead of their own. |
|
platform/shelljob
Package shelljob is the server side of a shell job (ADR 0209): the record, its checks on input, and the queue that runs four at a time per runner and keeps a running job's output for its viewers.
|
Package shelljob is the server side of a shell job (ADR 0209): the record, its checks on input, and the queue that runs four at a time per runner and keeps a running job's output for its viewers. |
|
platform/skills
Package skills holds the agent skills Nexul writes to paired computers, each versioned by its own content.
|
Package skills holds the agent skills Nexul writes to paired computers, each versioned by its own content. |
|
platform/still
Package still turns an uploaded picture into a small still PNG, so no client animates a large GIF to draw a 22pt avatar.
|
Package still turns an uploaded picture into a small still PNG, so no client animates a large GIF to draw a 22pt avatar. |
|
platform/storage/testutil
Package testutil holds storage fixtures for tests in any package that migrates a real database.
|
Package testutil holds storage fixtures for tests in any package that migrates a real database. |
|
platform/storage/testutil/migrated
Package migrated hands tests a copy of one migrated database built per test binary, because replaying every migration per test costs seconds under -race.
|
Package migrated hands tests a copy of one migrated database built per test binary, because replaying every migration per test costs seconds under -race. |
|
platform/textedit
Package textedit applies find-and-replace edits to a body, so a change never needs the whole body resent.
|
Package textedit applies find-and-replace edits to a body, so a change never needs the whole body resent. |
|
platform/version
Package version holds the single build-stamped version both binaries read (server and runner).
|
Package version holds the single build-stamped version both binaries read (server and runner). |
|
platform/wake
Package wake is a broadcast that any number of loops can wait on, so one event reaches all of them.
|
Package wake is a broadcast that any number of loops can wait on, so one event reaches all of them. |
|
platform/webhooksig
Package webhooksig signs the bodies Nexul posts to a webhook, so a receiver can check they came from this instance: the integrations relay (ADR 0043) and the audit stream (ADR 0190) both send its value as X-Nexul-Signature.
|
Package webhooksig signs the bodies Nexul posts to a webhook, so a receiver can check they came from this instance: the integrations relay (ADR 0043) and the audit stream (ADR 0190) both send its value as X-Nexul-Signature. |
|
platform/welcomestep
Package welcomestep is the vocabulary of Welcome wizard steps a role can give: roles store the keys, welcome reads them.
|
Package welcomestep is the vocabulary of Welcome wizard steps a role can give: roles store the keys, welcome reads them. |
|
platform/wordcount
Package wordcount sizes a text edit as the words added and removed, the figures a version's change size shows.
|
Package wordcount sizes a text edit as the words added and removed, the figures a version's change size shows. |
|
plays
Package plays implements the Play entity: a workspace-scoped, user-fired Agent turn definition (ADR 0055).
|
Package plays implements the Play entity: a workspace-scoped, user-fired Agent turn definition (ADR 0055). |
|
presence
Package presence holds one harness connection per paired computer while its owner has a live browser WS.
|
Package presence holds one harness connection per paired computer while its owner has a live browser WS. |
|
push
Package push sends one Expo push message per phone session for every notification written to an inbox.
|
Package push sends one Expo push message per phone session for every notification written to an inbox. |
|
repository
Package repository reads a git repository's tree and proposes deployable candidates: compose stacks and standalone Dockerfiles, with their services, ports and env keys.
|
Package repository reads a git repository's tree and proposes deployable candidates: compose stacks and standalone Dockerfiles, with their services, ports and env keys. |
|
roles
Package roles implements the Role entity: a permission catalog with a protected singleton Owner role.
|
Package roles implements the Role entity: a permission catalog with a protected singleton Owner role. |
|
t3client
Package t3client is the harness.Client for T3 Code on orchestration protocol 1; a T3 past it answers harness.MovedError.
|
Package t3client is the harness.Client for T3 Code on orchestration protocol 1; a T3 past it answers harness.MovedError. |
|
t3clientv2
Package t3clientv2 is the harness.Client for T3 Code servers on orchestration protocol 2, over the t3rpc transport.
|
Package t3clientv2 is the harness.Client for T3 Code servers on orchestration protocol 2, over the t3rpc transport. |
|
t3rpc
Package t3rpc speaks T3 Code's Effect RPC protocol over one WebSocket: the transport both orchestration protocols share.
|
Package t3rpc speaks T3 Code's Effect RPC protocol over one WebSocket: the transport both orchestration protocols share. |
|
t3rpc/t3rpctest
Package t3rpctest is a fake T3 Code server every T3 client's tests share: the pairing exchange, the wsTicket mint, the /ws Effect RPC socket, and the environment descriptor.
|
Package t3rpctest is a fake T3 Code server every T3 client's tests share: the pairing exchange, the wsTicket mint, the /ws Effect RPC socket, and the environment descriptor. |
|
templates
Package templates implements the instance layer every template resolves through (ADR 0103): the code default, then the instance template, then the workspace or project that holds its own text.
|
Package templates implements the instance layer every template resolves through (ADR 0103): the code default, then the instance template, then the workspace or project that holds its own text. |
|
tenancy
Package tenancy implements Workspace; named "tenancy" since internal/workspace already claimed that name.
|
Package tenancy implements Workspace; named "tenancy" since internal/workspace already claimed that name. |
|
voice
Package voice owns LiveKit interaction for voice channels: join tokens, webhooks, and room occupancy (ADR 0030).
|
Package voice owns LiveKit interaction for voice channels: join tokens, webhooks, and room occupancy (ADR 0030). |
|
welcome
Package welcome works out each person's Welcome wizard progress: the steps their roles give them, which are done, which they skipped, and whether any lights the account menu's dot.
|
Package welcome works out each person's Welcome wizard progress: the steps their roles give them, which are done, which they skipped, and whether any lights the account menu's dot. |
|
workspace
Package workspace implements projects, repositories, ticket moves, and the notifications inbox (ADR 0019).
|
Package workspace implements projects, repositories, ticket moves, and the notifications inbox (ADR 0019). |
|
runner
|
|
|
cmd
command
|
|
|
server
|
|
|
cmd
command
|
|
|
webui
Package webui serves the built web frontend from the server binary in single-binary mode.
|
Package webui serves the built web frontend from the server binary in single-binary mode. |
Click to show internal directories.
Click to hide internal directories.