Directories
¶
| Path | Synopsis |
|---|---|
|
ai
|
|
|
bedrock
Package bedrock implements an aiprovider.LLMProvider backed by AWS Bedrock's Converse API.
|
Package bedrock implements an aiprovider.LLMProvider backed by AWS Bedrock's Converse API. |
|
Package apierror is the single definition of the Bowrain API error envelope.
|
Package apierror is the single definition of the Bowrain API error envelope. |
|
apps
|
|
|
bowrain
command
|
|
|
bowrain/cmd/wbridge
command
Command wbridge exposes the REAL Bowrain Desktop backend (backend.App) over HTTP so the genuine frontend can run in a browser for walkthrough recording.
|
Command wbridge exposes the REAL Bowrain Desktop backend (backend.App) over HTTP so the genuine frontend can run in a browser for walkthrough recording. |
|
Package billing implements plan management, usage credits, Stripe integration, and feature gating for the Bowrain platform.
|
Package billing implements plan management, usage credits, Stripe integration, and feature gating for the Bowrain platform. |
|
internal/genplans
command
Command genplans writes the landing-page plan catalog (the Go-sourced plan FACTS) to a committed JSON file.
|
Command genplans writes the landing-page plan catalog (the Go-sourced plan FACTS) to a committed JSON file. |
|
Package changes is the Bowrain server's side of the change contract (kapi.change/v1, core/change): the stream home, which keeps a stream's documents in rows, the operations a server job sends for the blocks a tool produced, and the recorder that announces an applied change set.
|
Package changes is the Bowrain server's side of the change contract (kapi.change/v1, core/change): the stream home, which keeps a stream's documents in rows, the operations a server job sends for the blocks a tool produced, and the recorder that announces an applied change set. |
|
cmd
|
|
|
bowrain-server
command
|
|
|
bowrain-worker
command
|
|
|
internal/boot
Package boot validates critical process configuration before the bowrain binaries start serving.
|
Package boot validates critical process configuration before the bowrain binaries start serving. |
|
stripe-provision
command
Command stripe-provision creates (or confirms) the Stripe objects the Bowrain billing code expects: the Pro and Team subscription prices, the credit-pack price, the AI-token meter, and the webhook endpoint.
|
Command stripe-provision creates (or confirms) the Stripe objects the Bowrain billing code expects: the Pro and Team subscription prices, the credit-pack price, the AI-token meter, and the webhook endpoint. |
|
Package contextscan ingests brand source material (pasted text, public web pages, uploaded files) into a single plain-text corpus for AI brand onboarding.
|
Package contextscan ingests brand source material (pasted text, public web pages, uploaded files) into a single plain-text corpus for AI brand onboarding. |
|
core
module
|
|
|
Package credentials manages AI provider configurations on disk and API keys in the OS keychain for the bowrain server, worker, and desktop app.
|
Package credentials manages AI provider configurations on disk and API keys in the OS keychain for the bowrain server, worker, and desktop app. |
|
Package crypto provides authenticated encryption for secret values stored at rest (e.g.
|
Package crypto provides authenticated encryption for secret values stored at rest (e.g. |
|
Package editorclient is the REST/SSE client for the Bowrain editor surface: workspace and project browsing, block editing and review, content memory, terminology, and AI-provider configuration.
|
Package editorclient is the REST/SSE client for the Bowrain editor surface: workspace and project browsing, block editing and review, content memory, terminology, and AI-provider configuration. |
|
Package forge talks to git forges — GitHub and GitLab — for the delivery tier: verifying inbound push webhooks and keeping one open pull/merge request per project up to date with the produced translations.
|
Package forge talks to git forges — GitHub and GitLab — for the delivery tier: verifying inbound push webhooks and keeping one open pull/merge request per project up to date with the produced translations. |
|
Package knowledge implements the governance and collaboration layer of the brand knowledge graph (AD-021): markets, observations, comments, concept revisions, change-sets with reviews and pilots, and the change-set state machine.
|
Package knowledge implements the governance and collaboration layer of the brand knowledge graph (AD-021): markets, observations, comments, concept revisions, change-sets with reviews and pilots, and the change-set state machine. |
|
Package mailer renders email templates and dispatches transactional emails for Bowrain.
|
Package mailer renders email templates and dispatches transactional emails for Bowrain. |
|
Package memory provides a PostgreSQL-backed implementation of neokapi's multilingual content memory.
|
Package memory provides a PostgreSQL-backed implementation of neokapi's multilingual content memory. |
|
Package migrations enumerates every PostgreSQL schema a bowrain deployment owns, in the order a deployment applies them.
|
Package migrations enumerates every PostgreSQL schema a bowrain deployment owns, in the order a deployment applies them. |
|
Package observe provides observability infrastructure for the Bowrain server: structured logging, Prometheus metrics, request correlation, and profiling.
|
Package observe provides observability infrastructure for the Bowrain server: structured logging, Prometheus metrics, request correlation, and profiling. |
|
Package platformconfig is the instance-wide (singleton) settings store for the Bowrain platform: the admin-controlled configuration surfaced in the ctrl control plane and applied at runtime by the server and worker.
|
Package platformconfig is the instance-wide (singleton) settings store for the Bowrain platform: the admin-controlled configuration surfaced in the ctrl control plane and applied at runtime by the server and worker. |
|
proto
|
|
|
Package resilience provides circuit breakers for outbound dependencies used by the Bowrain server and worker, including AI providers, connectors, storage, mail, identity and billing services.
|
Package resilience provides circuit breakers for outbound dependencies used by the Bowrain server and worker, including AI providers, connectors, storage, mail, identity and billing services. |
|
aiguard
Package aiguard puts every LLM call behind a per-provider circuit breaker.
|
Package aiguard puts every LLM call behind a per-provider circuit breaker. |
|
Package review holds the platform's answer to one question: may this user decide this unit, at this rung, in this project and this language?
|
Package review holds the platform's answer to one question: may this user decide this unit, at this rung, in this project and this language? |
|
Package runtimedirs checks, at start-up, that the directories the server and the worker write at run time are writable.
|
Package runtimedirs checks, at start-up, that the directories the server and the worker write at run time are writable. |
|
Package safehttp builds HTTP clients that will not reach private address space.
|
Package safehttp builds HTTP clients that will not reach private address space. |
|
safehttptest
Package safehttptest lets a test reach a local fixture server through the SSRF policy in bowrain/safehttp, without relaxing any of its checks.
|
Package safehttptest lets a test reach a local fixture server through the SSRF policy in bowrain/safehttp, without relaxing any of its checks. |
|
Package sandbox provides an isolated code execution environment backed by Docker containers.
|
Package sandbox provides an isolated code execution environment backed by Docker containers. |
|
scripts
|
|
|
connector-inventory
command
|
|
|
Package server provides the REST and gRPC API server for Bowrain.
|
Package server provides the REST and gRPC API server for Bowrain. |
|
mcp
Package mcp provides a cloud MCP (Model Context Protocol) server that exposes voice resources, tools, and prompts via Streamable HTTP.
|
Package mcp provides a cloud MCP (Model Context Protocol) server that exposes voice resources, tools, and prompts via Streamable HTTP. |
|
Package service provides the shared business logic layer used by both the REST/gRPC server and the CLI.
|
Package service provides the shared business logic layer used by both the REST/gRPC server and the CLI. |
|
Package storage provides shared SQLite infrastructure for Memory (content memory) and Terminology.
|
Package storage provides shared SQLite infrastructure for Memory (content memory) and Terminology. |
|
blobcfg
Package blobcfg centralizes how the server and worker resolve their blob backend from the environment, so the two can never drift (the historical LOCAL_BLOB_DIR vs BLOB_STORAGE_LOCAL_DIR split is exactly the kind of bug this prevents).
|
Package blobcfg centralizes how the server and worker resolve their blob backend from the environment, so the two can never drift (the historical LOCAL_BLOB_DIR vs BLOB_STORAGE_LOCAL_DIR split is exactly the kind of bug this prevents). |
|
localblob
Package localblob provides a local filesystem implementation of BlobStore.
|
Package localblob provides a local filesystem implementation of BlobStore. |
|
s3blob
Package s3blob provides an Amazon S3 (and S3-compatible: MinIO, LocalStack) implementation of storage.BlobStore.
|
Package s3blob provides an Amazon S3 (and S3-compatible: MinIO, LocalStack) implementation of storage.BlobStore. |
|
blockstore
Package blockstore adapts Bowrain's ContentStore to core/blockstore.Store for flows, automation and server handlers.
|
Package blockstore adapts Bowrain's ContentStore to core/blockstore.Store for flows, automation and server handlers. |
|
internal/storeutil
Package storeutil holds helpers shared by the PostgreSQL ContentStore (package store) and the SQLite ContentStore (package sqlitestore), so the two backends cannot drift on stream defaulting, locale serialization, block-ID generation, or which rows a deletion reaches.
|
Package storeutil holds helpers shared by the PostgreSQL ContentStore (package store) and the SQLite ContentStore (package sqlitestore), so the two backends cannot drift on stream defaulting, locale serialization, block-ID generation, or which rows a deletion reaches. |
|
Package sync hosts the server-side sync engine: the Merkle-tree diff engine (diff.go) and the Redis-backed hash cache (cache_redis.go), which depend on bowrain/core/store and redis and therefore belong in the platform module.
|
Package sync hosts the server-side sync engine: the Merkle-tree diff engine (diff.go) and the Redis-backed hash cache (cache_redis.go), which depend on bowrain/core/store and redis and therefore belong in the platform module. |
|
Package termcandidate finds a project's key terms and files them for review: candidate terms drawn from a sample of every collection, counted over the whole project, and stored as proposed concepts in the workspace terms store.
|
Package termcandidate finds a project's key terms and files them for review: candidate terms drawn from a sample of every collection, counted over the whole project, and stored as proposed concepts in the workspace terms store. |
|
termstest
Package termstest helps tests put a concept writer in the race it must win or lose correctly.
|
Package termstest helps tests put a concept writer in the race it must win or lose correctly. |
|
Package termscope limits the concepts of a workspace's terms store to the projects they apply in.
|
Package termscope limits the concepts of a workspace's terms store to the projects they apply in. |
|
Package termspush applies the terminology part of a push.
|
Package termspush applies the terminology part of a push. |
|
testutil
|
|
|
pgtest
Package pgtest provides PostgreSQL test infrastructure using testcontainers-go.
|
Package pgtest provides PostgreSQL test infrastructure using testcontainers-go. |
|
testimage
Package testimage names every container image the bowrain suites start, so the tests and the CI step that fetches them ahead of the run read the same list.
|
Package testimage names every container image the bowrain suites start, so the tests and the CI step that fetches them ahead of the run read the same list. |
|
testimage/list
command
Command list prints the container images the bowrain suites start, one per line, for the CI step that fetches them before the tests run.
|
Command list prints the container images the bowrain suites start, one per line, for the CI step that fetches them before the tests run. |
|
Package voicewrite writes a workspace voice profile and records the write on the context ledger, as one change.
|
Package voicewrite writes a workspace voice profile and records the write on the context ledger, as one change. |
Click to show internal directories.
Click to hide internal directories.