platform/

directory
v0.0.0-...-0c72368 Latest Latest
Warning

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

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

Directories

Path Synopsis
Package analytics is the optional Plausible Analytics of the pages (design/analytics.md, P-113).
Package analytics is the optional Plausible Analytics of the pages (design/analytics.md, P-113).
Package auth signs people in (design/auth.md): sessions are cookies sealed with AES-256-GCM, so no instance keeps state; OpenID Connect with PKCE identifies people at their provider; bearer tokens identify machines.
Package auth signs people in (design/auth.md): sessions are cookies sealed with AES-256-GCM, so no instance keeps state; OpenID Connect with PKCE identifies people at their provider; bearer tokens identify machines.
oidctest
Package oidctest is a fake OpenID Connect provider for tests, on a loopback listener: discovery, JWKS, an authorization endpoint that approves at once as the configured user, the token endpoint with PKCE, userinfo and end session.
Package oidctest is a fake OpenID Connect provider for tests, on a loopback listener: discovery, JWKS, an authorization endpoint that approves at once as the configured user, the token endpoint with PKCE, userinfo and end session.
Package cluster lets several instances serve one portal.
Package cluster lets several instances serve one portal.
clustertest
Package clustertest is an in-memory cluster backend for tests: a Hub is the cluster, each Dial a member with its own connection.
Package clustertest is an in-memory cluster backend for tests: a Hub is the cluster, each Dial a member with its own connection.
Package config loads and validates the configuration of SCP: built-in defaults, then a YAML file, then SCP_* environment variables, then command-line flags.
Package config loads and validates the configuration of SCP: built-in defaults, then a YAML file, then SCP_* environment variables, then command-line flags.
Package docstore keeps what an admin edits in the portal's pages (core): the layouts, the announcements.
Package docstore keeps what an admin edits in the portal's pages (core): the layouts, the announcements.
Package ghlogin signs a person in to a GitHub host for the personal edition (design/personal.md): the host's forms (github.com, a GitHub Enterprise Server, a GHE.com tenant), the device flow, and the two read-only calls that say who the token is and which organisations it reaches.
Package ghlogin signs a person in to a GitHub host for the personal edition (design/personal.md): the host's forms (github.com, a GitHub Enterprise Server, a GHE.com tenant), the device flow, and the two read-only calls that say who the token is and which organisations it reaches.
Package github reads repositories from GitHub for the sync jobs: GitHub App or token authentication, REST calls through go-github, conditional requests with ETags, rate-limit observation and error classification.
Package github reads repositories from GitHub for the sync jobs: GitHub App or token authentication, REST calls through go-github, conditional requests with ETags, rate-limit observation and error classification.
githubtest
Package githubtest is a fake GitHub REST server for tests: App and token authentication, organisation and user account listings with pagination, single repositories, rate-limit headers, ETags and 304s, fault injection and a request ledger.
Package githubtest is a fake GitHub REST server for tests: App and token authentication, organisation and user account listings with pagination, single repositories, rate-limit headers, ETags and 304s, fault injection and a request ledger.
Package health scores repositories and weighs them into products, so an owner sees what needs attention.
Package health scores repositories and weighs them into products, so an owner sees what needs attention.
Package httpapi builds the HTTP handlers of the two listeners: the public port (web UI, API, badges, LLM surface, webhook) and the admin port (probes, metrics, profiling, status).
Package httpapi builds the HTTP handlers of the two listeners: the public port (web UI, API, badges, LLM surface, webhook) and the admin port (probes, metrics, profiling, status).
oapi
Package oapi is generated from api/openapi.yaml: the API types and the strict server interface.
Package oapi is generated from api/openapi.yaml: the API types and the strict server interface.
Package llm streams tool-using chat from a language-model provider: two wire formats (Anthropic Messages and the OpenAI-compatible Chat Completions) over net/http, one adapter each, for five providers.
Package llm streams tool-using chat from a language-model provider: two wire formats (Anthropic Messages and the OpenAI-compatible Chat Completions) over net/http, one adapter each, for five providers.
Package mcpserver serves the tool catalogue over the Model Context Protocol (design/agents.md, W2): /mcp in Streamable HTTP, stateless, with JSON answers.
Package mcpserver serves the tool catalogue over the Model Context Protocol (design/agents.md, W2): /mcp in Streamable HTTP, stateless, with JSON answers.
Package prereq is what each feature needs from GitHub (read permissions, webhook events) and the check of it against what a source's credential is granted (design/prerequisites.md, P-71).
Package prereq is what each feature needs from GitHub (read permissions, webhook events) and the check of it against what a source's credential is granted (design/prerequisites.md, P-71).
Package scope is what the listings of one feature's items (commits, pull requests, issues) share: which repositories a request's group and repository parameters name, the numbered page asked for and the freshness of the scope.
Package scope is what the listings of one feature's items (commits, pull requests, issues) share: which repositories a request's group and repository parameters name, the numbered page asked for and the freshness of the scope.
Package setup is the personal edition's first-run page (design/personal.md): in the browser the person signs in to GitHub, chooses the accounts, and sorts their repositories into products.
Package setup is the personal edition's first-run page (design/personal.md): in the browser the person signs in to GitHub, chooses the accounts, and sorts their repositories into products.
Package snapshot holds the immutable serving state of SCP: the catalogue, the facets features hang on its repositories and the indexes they derive.
Package snapshot holds the immutable serving state of SCP: the catalogue, the facets features hang on its repositories and the indexes they derive.
Package store keeps everything the portal holds on to in SQLite, so a restart (or a crash) serves it before the first GitHub call: the catalogue, the documents administrators save, sealed credentials, parked webhook events.
Package store keeps everything the portal holds on to in SQLite, so a restart (or a crash) serves it before the first GitHub call: the catalogue, the documents administrators save, sealed credentials, parked webhook events.
Package sync runs the jobs that read GitHub.
Package sync runs the jobs that read GitHub.
Package theme is what makes a deployment look like its owner's without rebuilding the portal (design/theme.md, P-108): a directory of files the portal serves under /theme/ (a stylesheet that sets the colour tokens, a logo, a favicon) and a product name, both read at the start.
Package theme is what makes a deployment look like its owner's without rebuilding the portal (design/theme.md, P-108): a directory of files the portal serves under /theme/ (a stylesheet that sets the colour tokens, a logo, a favicon) and a product name, both read at the start.
Package tools is the catalogue of the read-only tools agents call (design/agents.md): the assistant in process, MCP clients at /mcp and browser agents through WebMCP.
Package tools is the catalogue of the read-only tools agents call (design/agents.md): the assistant in process, MCP clients at /mcp and browser agents through WebMCP.
Package vault seals the credentials the portal reads GitHub with (design/personal.md): AES-256-GCM under a key that lives in the operating system's keychain, else in a 0600 file beside the store, never in the store.
Package vault seals the credentials the portal reads GitHub with (design/personal.md): AES-256-GCM under a key that lives in the operating system's keychain, else in a 0600 file beside the store, never in the store.
Package webui runs the web UI's server, the Next.js standalone build in web.dir, as a child process on a loopback port: started with the portal, restarted when it exits or its bundle is replaced, stopped at shutdown.
Package webui runs the web UI's server, the Next.js standalone build in web.dir, as a child process on a loopback port: started with the portal, restarted when it exits or its bundle is replaced, stopped at shutdown.

Jump to

Keyboard shortcuts

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