Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
forgejo-mcp
command
Command forgejo-mcp is an MCP server for Forgejo (stdio, optional streamable HTTP).
|
Command forgejo-mcp is an MCP server for Forgejo (stdio, optional streamable HTTP). |
|
internal
|
|
|
clock
Package clock abstracts time so polling and retry code can be tested without real sleeps.
|
Package clock abstracts time so polling and retry code can be tested without real sleeps. |
|
config
Package config parses environment variables and flags (DESIGN.md section 3).
|
Package config parses environment variables and flags (DESIGN.md section 3). |
|
endpoints
Package endpoints embeds the generated index of every Forgejo API operation (DESIGN.md section 9.5) and offers search and path matching over it.
|
Package endpoints embeds the generated index of every Forgejo API operation (DESIGN.md section 9.5) and offers search and path matching over it. |
|
endpoints/gen
command
Command gen converts a Forgejo swagger.json into internal/endpoints/index.json.
|
Command gen converts a Forgejo swagger.json into internal/endpoints/index.json. |
|
endpoints/scope
Package scope derives the token scope category of an API operation.
|
Package scope derives the token scope category of an API operation. |
|
forgejo
Package forgejo is the HTTP client and API-level helpers (DESIGN.md sections 2, 5, 11).
|
Package forgejo is the HTTP client and API-level helpers (DESIGN.md sections 2, 5, 11). |
|
format
Package format holds pure output helpers (DESIGN.md section 6).
|
Package format holds pure output helpers (DESIGN.md section 6). |
|
gitremote
Package gitremote detects the default owner/name from a git checkout (DESIGN.md section 3.1).
|
Package gitremote detects the default owner/name from a git checkout (DESIGN.md section 3.1). |
|
testutil
Package testutil holds shared test helpers (DESIGN.md section 12.1).
|
Package testutil holds shared test helpers (DESIGN.md section 12.1). |
|
tools
Package tools is the tool framework: Spec/Action/Registry, schema generation, help, version gating and the Call context (DESIGN.md sections 2 and 4).
|
Package tools is the tool framework: Spec/Action/Registry, schema generation, help, version gating and the Call context (DESIGN.md sections 2 and 4). |
|
tools/actions
Package actions implements the `run` tool: Actions runs, jobs, logs, workflows, dispatch and artifacts (DESIGN.md sections 8.6 and 10.2).
|
Package actions implements the `run` tool: Actions runs, jobs, logs, workflows, dispatch and artifacts (DESIGN.md sections 8.6 and 10.2). |
|
tools/admin
Package admin implements the `admin` tool (DESIGN.md section 8.11).
|
Package admin implements the `admin` tool (DESIGN.md section 8.11). |
|
tools/all
Package all registers every tool area.
|
Package all registers every tool area. |
|
tools/docgen
command
Command docgen writes docs/TOOLS.md from the tool registry.
|
Command docgen writes docs/TOOLS.md from the tool registry. |
|
tools/packages
Package packages implements the `package` tool (DESIGN.md section 8.10).
|
Package packages implements the `package` tool (DESIGN.md section 8.10). |
|
tools/shared
Package shared holds helpers used by several tool areas (DESIGN.md sections 1, 3.1, 5.6, 5.7, 10.5).
|
Package shared holds helpers used by several tool areas (DESIGN.md sections 1, 3.1, 5.6, 5.7, 10.5). |
|
tools/shared/ci
Package ci holds the CI plumbing shared by the pr, checks, run, ci_failure and ci_wait tools (DESIGN.md sections 10.1-10.4).
|
Package ci holds the CI plumbing shared by the pr, checks, run, ci_failure and ci_wait tools (DESIGN.md sections 10.1-10.4). |
|
tools/shared/ci/wait
Package wait implements the server-side polling of section 10.1 (ci_wait and run dispatch wait=true).
|
Package wait implements the server-side polling of section 10.1 (ci_wait and run dispatch wait=true). |
Click to show internal directories.
Click to hide internal directories.