getForgeDefinition (src/forge-manifest.ts)

paseo · packages/protocol/src/forge-manifest.ts · typescript · Apache-2.0
auth

* Declarative manifest of the git forges Paseo knows how to present, mirroring provider-manifest.ts. Pure build-time data shared by BOTH the client (icon, brand label, PR↔MR relabel) and the server (registry host-matching, prompt branding). It is NEVER serialized over the wire, s

// Source: https://github.com/getpaseo/paseo | License: Apache-2.0 | Copyright 2025-present Mohamed Boudra
// Provided via justclaw.it.com; keep this notice with the code.
/**
 * Declarative manifest of the git forges Paseo knows how to present, mirroring
 * provider-manifest.ts. Pure build-time data shared by BOTH the client (icon,
 * brand label, PR↔MR relabel) and the server (registry host-matching, prompt
 * branding). It is NEVER serialized over the wire, so adding a forge here is not
 * a protocol change.
 *
 * Keep this a pure leaf: no imports, no zod, no functions with runtime deps.
 * Behavioural concerns (CLI invocation, host probing, REST adapters) live in the
 * server adapter keyed by {@link ForgeDefinition.id}; this file is only the
 * declarative half.
 */

/**
 * Declarativ

... (truncated -- full source via MCP)

See the full source, get the GitHub permalink, and search for more like it.

Get a free API key