Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
vx
command
Command vx is the vx command line client.
|
Command vx is the vx command line client. |
|
vx-server
command
Command vx-server runs the vx server and its admin tasks.
|
Command vx-server runs the vx server and its admin tasks. |
|
gen
|
|
|
internal
|
|
|
api
Package api adapts the service layer to connect-go handlers.
|
Package api adapts the service layer to connect-go handlers. |
|
blob
Package blob stores content-addressed objects: file contents and trees.
|
Package blob stores content-addressed objects: file contents and trees. |
|
blob/s3test
Package s3test is an in-process fake of the S3 API for tests: one bucket, objects in memory, SigV4 signatures checked on every request, multipart uploads, ranged reads, ListObjects (v1) and injected failures.
|
Package s3test is an in-process fake of the S3 API for tests: one bucket, objects in memory, SigV4 signatures checked on every request, multipart uploads, ranged reads, ListObjects (v1) and injected failures. |
|
cli
Package cli implements the vx command line.
|
Package cli implements the vx command line. |
|
client
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. |
|
engine
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. |
|
gitbridge
Package gitbridge connects vx to git hosts.
|
Package gitbridge connects vx to git hosts. |
|
gitbridge/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. |
|
github
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. |
|
github/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. |
|
hash
Package hash defines the content hash used for every object in vx.
|
Package hash defines the content hash used for every object in vx. |
|
mcp
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. |
|
merge
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. |
|
metrics
Package metrics is a small Prometheus registry: counters, gauges and histograms with labels, written in the Prometheus text format (version 0.0.4).
|
Package metrics is a small Prometheus registry: counters, gauges and histograms with labels, written in the Prometheus text format (version 0.0.4). |
|
object
Package object defines the vx object model: trees, manifests and changesets.
|
Package object defines the vx object model: trees, manifests and changesets. |
|
oidc
Package oidc is the client side of OpenID Connect sign-in: provider discovery, the authorization code flow with PKCE, and ID token verification (signature through the provider's JWKS, issuer, audience, expiry and nonce).
|
Package oidc is the client side of OpenID Connect sign-in: provider discovery, the authorization code flow with PKCE, and ID token verification (signature through the provider's JWKS, issuer, audience, expiry and nonce). |
|
oidc/oidctest
Package oidctest is a fake OpenID Connect provider for tests: discovery, JWKS, an authorize endpoint that signs the configured user in at once, and a token endpoint that checks the client secret and PKCE and issues RS256 ID tokens.
|
Package oidctest is a fake OpenID Connect provider for tests: discovery, JWKS, an authorize endpoint that signs the configured user in at once, and a token endpoint that checks the client secret and PKCE and issues RS256 ID tokens. |
|
provider
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. |
|
ratelimit
Package ratelimit keeps token buckets per class (API, sign-in, sign-up, CLI login, webhooks) and key (a token or a client address), in memory.
|
Package ratelimit keeps token buckets per class (API, sign-in, sign-up, CLI login, webhooks) and key (a token or a client address), in memory. |
|
rules
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. |
|
secret
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. |
|
server
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. |
|
service
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. |
|
store
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. |
|
store/storetest
Package storetest gives tests an isolated, migrated Postgres database.
|
Package storetest gives tests an isolated, migrated Postgres database. |
|
version
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. |
|
web/highlight
Package highlight colours source code for the web UI's diffs.
|
Package highlight colours source code for the web UI's diffs. |
|
webpush
Package webpush sends Web Push messages: the payload encrypted for one browser subscription (RFC 8291, aes128gcm of RFC 8188) and the request signed with the server's VAPID key (RFC 8292).
|
Package webpush sends Web Push messages: the payload encrypted for one browser subscription (RFC 8291, aes128gcm of RFC 8188) and the request signed with the server's VAPID key (RFC 8292). |
|
workcopy
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. |
Click to show internal directories.
Click to hide internal directories.