internal/

directory
v0.4.0 Latest Latest
Warning

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

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

Directories

Path Synopsis
Package api adapts the service layer to connect-go handlers.
Package api adapts the service layer to connect-go handlers.
Package blob stores content-addressed objects: file contents and trees.
Package blob stores content-addressed objects: file contents and trees.
Package cli implements the vx command line.
Package cli implements the vx command line.
Package client is the Go client for a vx server: typed service clients plus batched object transfer between a local blob store and the server.
Package client is the Go client for a vx server: typed service clients plus batched object transfer between a local blob store and the server.
Package engine holds the operations that combine snapshots: three-way merges of trees and the rebase step used when landing changes.
Package engine holds the operations that combine snapshots: three-way merges of trees and the rebase step used when landing changes.
Package gitbridge connects vx to git hosts.
Package gitbridge connects vx to git hosts.
hosttest
Package hosttest fakes the pull request APIs of GitLab (REST v4), Gitea and Forgejo (/api/v1) and Bitbucket Cloud (2.0) for one repository, and optionally serves git over HTTP for it (git http-backend), so tests never call a real host.
Package hosttest fakes the pull request APIs of GitLab (REST v4), Gitea and Forgejo (/api/v1) and Bitbucket Cloud (2.0) for one repository, and optionally serves git over HTTP for it (git http-backend), so tests never call a real host.
Package github is vx's client for the GitHub REST API as a GitHub App: the manifest flow, installations, installation tokens, OAuth sign-in, repository permissions and organization membership.
Package github is vx's client for the GitHub REST API as a GitHub App: the manifest flow, installations, installation tokens, OAuth sign-in, repository permissions and organization membership.
githubtest
Package githubtest is a fake GitHub for tests: an httptest server with the parts of the REST API and the browser flows vx uses, plus helpers to create users, organizations and repositories, set permissions, install the App and fire signed webhook deliveries.
Package githubtest is a fake GitHub for tests: an httptest server with the parts of the REST API and the browser flows vx uses, plus helpers to create users, organizations and repositories, set permissions, install the App and fire signed webhook deliveries.
Package hash defines the content hash used for every object in vx.
Package hash defines the content hash used for every object in vx.
Package mcp serves vx to agents over the Model Context Protocol, so they can query efforts, changes and the board directly instead of parsing CLI output.
Package mcp serves vx to agents over the Model Context Protocol, so they can query efforts, changes and the board directly instead of parsing CLI output.
Package merge implements line diffs, unified diff output and three-way merges of text files.
Package merge implements line diffs, unified diff output and three-way merges of text files.
Package object defines the vx object model: trees, manifests and changesets.
Package object defines the vx object model: trees, manifests and changesets.
Package provider holds the types shared by the service layer and the git bridge for shipping changes to a git host.
Package provider holds the types shared by the service layer and the git bridge for shipping changes to a git host.
Package rules reads a repository's vx.toml: what text merges cannot see.
Package rules reads a repository's vx.toml: what text merges cannot see.
Package secret seals secrets at rest with the server key (VX_SECRET_KEY): AES-256-GCM with a random nonce.
Package secret seals secrets at rest with the server key (VX_SECRET_KEY): AES-256-GCM with a random nonce.
Package server wires the vx server together: database, blob store, git bridge, API handlers and the HTTP listener.
Package server wires the vx server together: database, blob store, git bridge, API handlers and the HTTP listener.
Package service is vx's application logic: creating repos and efforts, opening workspaces and landing changes.
Package service is vx's application logic: creating repos and efforts, opening workspaces and landing changes.
Package store is the Postgres metadata store: principals, repos, branches, efforts, workspaces, changesets and the operation log.
Package store is the Postgres metadata store: principals, repos, branches, efforts, workspaces, changesets and the operation log.
storetest
Package storetest gives tests an isolated, migrated Postgres database.
Package storetest gives tests an isolated, migrated Postgres database.
Package version reports the build version, set at release time with -ldflags "-X github.com/TerracodeBA/vx/internal/version.Version=v0.1.0 ...".
Package version reports the build version, set at release time with -ldflags "-X github.com/TerracodeBA/vx/internal/version.Version=v0.1.0 ...".
web
Package web is the vx web UI: efforts, who is working on what, the timeline of lands with their evidence, diffs of each change, and the shipping view.
Package web is the vx web UI: efforts, who is working on what, the timeline of lands with their evidence, diffs of each change, and the shipping view.
highlight
Package highlight colours source code for the web UI's diffs.
Package highlight colours source code for the web UI's diffs.
Package workcopy manages a vx working copy on disk: the files, the .vx directory with its config, a local object cache and a stat index that avoids rehashing unchanged files.
Package workcopy manages a vx working copy on disk: the files, the .vx directory with its config, a local object cache and a stat index that avoids rehashing unchanged files.

Jump to

Keyboard shortcuts

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