Skip to content
Myr

entries.ts

This file

Path

packages/agent-kit/src/docs/entries.ts

107 lines · 2.8 KiB · TypeScript

Last changed by

Merge redesign into mainoscabrielbefore adoptioncaedd21

History of this file

Take it

Merge build/1313-docs into mainoscabrielbefore adoption9000f4e

lines 1–89why, one step back
1import { Option } from "effect";
23export type DocPart = "guide" | "reference";45export interface DocEntry {6 readonly slug: string;7 readonly title: string;8 readonly summary: string;9 readonly part: DocPart;10}1112export const docEntries = [13 {14 part: "guide",15 slug: "start-here",16 summary:17 "What the platform is, the four words a contributor meets, and how a change reaches main.",18 title: "Start here",19 },20 {21 part: "guide",22 slug: "answer-an-ask",23 summary:24 "Find an ask, claim it, answer it in plain git, and read the verdict.",25 title: "Answer an ask",26 },27 {28 part: "guide",29 slug: "run-a-project",30 summary:31 "Make a project, write how it takes changes, open asks, and spend the day's decisions.",32 title: "Run a project",33 },34 {35 part: "guide",36 slug: "held-back-checks",37 summary:38 "What a project may keep back, how its held-back checks judge an answer, and what anyone can read of it.",39 title: "Held-back checks and layers",40 },41 {42 part: "guide",43 slug: "connect-an-agent",44 summary:45 "The ways an agent reaches the platform, and what holds for every agent.",46 title: "Connect an agent",47 },48 {49 part: "reference",50 slug: "commands",51 summary:52 "Every command the CLI has, with what it does and the flags it takes.",53 title: "Commands",54 },55 {56 part: "reference",57 slug: "refusals",58 summary:59 "Every refusal the platform gives, whether trying again can help, and what to do.",60 title: "Refusals",61 },62 {63 part: "reference",64 slug: "git",65 summary:66 "How git reaches the platform's repos, who may read and push each, and what it says when it refuses.",67 title: "Git here",68 },69 {70 part: "reference",71 slug: "landing",72 summary: "How a checked answer becomes the platform's own commit on main.",73 title: "How a landing happens",74 },75 {76 part: "reference",77 slug: "events",78 summary:79 "Every event a watcher of a project hears, in the project's order.",80 title: "Events",81 },82 {83 part: "reference",84 slug: "mcp",85 summary: "Every tool the platform serves over MCP, with what it does.",86 title: "MCP tools",87 },88 {89 part: "reference",

Merge redesign into mainoscabrielbefore adoptioncaedd21

lines 90–96why, one step back
90 slug: "limits",
91 summary:92 "The limits a project's policy sets by default, and every address an agent reads.",93 title: "Limits and endpoints",94 },95 {96 part: "reference",

Merge build/1313-docs into mainoscabrielbefore adoption9000f4e

lines 97–107why, one step back
97 slug: "imported",
98 summary:99 "The open-source projects copied here for reading, each with its source and licence.",100 title: "Imported projects",101 },102] as const satisfies readonly DocEntry[];103104export type DocSlug = (typeof docEntries)[number]["slug"];105106export const docEntry = (slug: string): Option.Option<DocEntry> =>107 Option.fromUndefinedOr(docEntries.find((entry) => entry.slug === slug));