internal/

directory
v1.4.4 Latest Latest
Warning

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

Go to latest
Published: Nov 16, 2026 License: AGPL-3.0

Directories

Path Synopsis
Package acceptance holds the Slice 2 acceptance tests that need a whole server rather than one package: the sentinel-secret scan of spec section 12.2, and the end-to-end walks of section 16 that cross every layer.
Package acceptance holds the Slice 2 acceptance tests that need a whole server rather than one package: the sentinel-secret scan of spec section 12.2, and the end-to-end walks of section 16 that cross every layer.
Package accounts is the account registry and supervisor: which accounts exist, their state, one gm.Backend and one ingest goroutine each, and start/stop on pair, sign-out and remove (spec section 2.2).
Package accounts is the account registry and supervisor: which accounts exist, their state, one gm.Backend and one ingest goroutine each, and start/stop on pair, sign-out and remove (spec section 2.2).
Package api serves the REST surface of spec section 7: handlers, DTOs, the error envelope, strict parameter rejection and pagination.
Package api serves the REST surface of spec section 7: handlers, DTOs, the error envelope, strict parameter rejection and pagination.
Package apierr is the one place the Agent GM REST error taxonomy lives.
Package apierr is the one place the Agent GM REST error taxonomy lives.
Package audit is the append-only audit log of spec section 12.4.
Package audit is the append-only audit log of spec section 12.4.
Package authz is Agent GM's credential logic: what a scope is, how the admin bootstrap session of spec section 9.7 is minted and refreshed, how a presented token is authenticated, and every limiter that stands in front of those three (spec sections 9.6, 9.8, 12.1, 12.3).
Package authz is Agent GM's credential logic: what a scope is, how the admin bootstrap session of spec section 9.7 is minted and refreshed, how a presented token is authenticated, and every limiter that stands in front of those three (spec sections 9.6, 9.8, 12.1, 12.3).
Package cli holds the pieces `agm` needs that are not the REST client: the Chrome cookie capture, the paste fallback, and the messages the owner reads at a terminal (spec section 11.4).
Package cli holds the pieces `agm` needs that are not the REST client: the Chrome cookie capture, the paste fallback, and the messages the owner reads at a terminal (spec section 11.4).
Package clock is the injected time source every timeout in Agent GM is measured against (spec section 13.1).
Package clock is the injected time source every timeout in Agent GM is measured against (spec section 13.1).
Package config reads Agent GM's environment.
Package config reads Agent GM's environment.
Package core holds the operations the surfaces share: ingestion (backfill, the live stream and the reconciliation sweep), and the mutation pipeline.
Package core holds the operations the surfaces share: ingestion (backfill, the live stream and the reconciliation sweep), and the mutation pipeline.
gm
Package gm is Agent GM's entire dependency on Google Messages.
Package gm is Agent GM's entire dependency on Google Messages.
fake
Package fake is a deterministic in-memory Google Messages.
Package fake is a deterministic in-memory Google Messages.
Package lint is the name lint of spec section 13.5.
Package lint is the name lint of spec section 13.5.
Package logging builds Agent GM's two loggers.
Package logging builds Agent GM's two loggers.
Package media holds the upload and download tickets, the media cache on disk, content sniffing and the size limits of spec section 10.
Package media holds the upload and download tickets, the media cache on disk, content sniffing and the size limits of spec section 10.
Package oauth is Agent GM's OAuth 2.1 authorization server (spec section 9).
Package oauth is Agent GM's OAuth 2.1 authorization server (spec section 9).
Package settings is the runtime settings table of spec section 15.1: the keys that are mutable through `PATCH /v1/admin/settings` without an environment change and without a redeploy.
Package settings is the runtime settings table of spec section 15.1: the keys that are mutable through `PATCH /v1/admin/settings` without an environment change and without a redeploy.
Package wire holds the renderings every JSON surface must agree on.
Package wire holds the renderings every JSON surface must agree on.

Jump to

Keyboard shortcuts

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