Přeskočit na obsah

Tato stránka byla automaticky přeložena z angličtiny, jediného jazyka, ve kterém se tento web píše. Číst originál.

brief.session

Jeden řádek a několik dalších: epizoda a úloha této relace (ta, kterou vlastní daná relace providera, jinak ta, na kterou ukazuje ukazatel), peeři každé nástěnky s pojmenovanými nástěnkami, které nešlo přečíst, linky meshe a to, co jeho žurnál adresuje tomuto runtimu, fronta integrace tak, jak ji říká `majordomus prs brief`, a zámek odvozování stroje. Skládá ji server držící lease tohoto checkoutu, který drží nástěnku a mesh: příkazová řádka se ho ptá a brief skládá sama, jen když neodpoví žádný, a řekne to; nahrazený server říká, že jeho vlastní nástěnka je pro sběr repozitáře nedosažitelná. Nese interval hlášení, který politika deklaruje (`session.brief_interval_minutes`), a text keep-awake, který se relaci řekne na začátku. Nic nezapisuje.

Jeden řádek a několik dalších: epizoda a úloha této relace (ta, kterou vlastní daná relace providera, jinak ta, na kterou ukazuje ukazatel), peeři každé nástěnky s pojmenovanými nástěnkami, které nešlo přečíst, linky meshe a to, co jeho žurnál adresuje tomuto runtimu, fronta integrace tak, jak ji říká `majordomus prs brief`, a zámek odvozování stroje. Skládá ji server držící lease tohoto checkoutu, který drží nástěnku a mesh: příkazová řádka se ho ptá a brief skládá sama, jen když neodpoví žádný, a řekne to; nahrazený server říká, že jeho vlastní nástěnka je pro sběr repozitáře nedosažitelná. Nese interval hlášení, který politika deklaruje (`session.brief_interval_minutes`), a text keep-awake, který se relaci řekne na začátku. Nic nezapisuje.

Zpřístupnění

Kde je tato jedna definice dosažitelná. Absence je explicitní: povrch, který není uveden, ji nenese.

povrchjako
MCPnástroj majordomus_brief
HTTPGET /api/v1/brief operationId brief.session
příkazová řádkamajordomus brief

Schémata

Kanonický vstup a výstup z typů Rustu; schéma nástroje MCP a parametry a odpovědi OpenAPI se odvozují z nich.

vstup · BriefInput

Na co se ptát brief.session.
vlastnosttyppovinnépopis
checkouty reference ne Které checkouty sekce peerů pokrývá: repository (každá nástěnka, výchozí) nebo this. default "repository"
lokální boolean ne Složit v procesu, který odpovídá, a nikdy se neptat držitele zámku checkoutu: to, co říká přeposlaný požadavek, aby se už nikdy nepřeposílal. výchozí false
session string | null ne Vlastní identita relace poskytovatele (id relace Claude Code): brief jmenuje otevřenou epizodu, kterou ta relace vlastní. Chybí-li, epizoda, na niž ukazuje ukazatel.
JSON Schema
{
  "$defs": {
    "Checkouts": {
      "description": "Which checkouts a reading of the server status covers.\n\nThe two answers cost differently and that is the whole reason the choice exists: the\nrepository's checkouts are read from git's registry of them and each one costs a lease\nread and a probe, while this checkout alone costs one of each and enumerates nothing.\nThe word each variant serialises to is the word the query parameter, the tool input and\nthe command-line flag all take.\n\n```\nuse majordomus_cli::capability::builtin::server::Checkouts;\nassert_eq!(serde_json::to_value(Checkouts::This).unwrap(), \"this\");\nassert_eq!(serde_json::to_value(Checkouts::Repository).unwrap(), \"repository\");\nassert_eq!(Checkouts::default(), Checkouts::Repository, \"the wide answer is what a caller who says nothing has always got\");\n```",
      "oneOf": [
        {
          "const": "repository",
          "description": "Every checkout git registers for the repository, the primary first — a lease read\nand a probe each. The default, because it is the answer this capability gave before\nthere was anything to ask.",
          "type": "string"
        },
        {
          "const": "this",
          "description": "This checkout alone. No other checkout is enumerated, no other lease is read and no\nother server is probed; `servers` holds the one entry, and it is this one.",
          "type": "string"
        }
      ]
    }
  },
  "description": "What to ask of `brief.session`.",
  "properties": {
    "checkouts": {
      "$ref": "#/$defs/Checkouts",
      "default": "repository",
      "description": "Which checkouts the peers section covers: `repository` (every board, the default) or `this`."
    },
    "local": {
      "default": false,
      "description": "Compose in the process that answers and never ask the checkout's leaseholder: what a forwarded request says, so that it is never forwarded again.",
      "type": "boolean"
    },
    "session": {
      "description": "The provider's own session identity (Claude Code's session id): the brief names the open episode that session owns. Absent, the episode the pointer resolves to.",
      "type": [
        "string",
        "null"
      ]
    }
  },
  "title": "BriefInput",
  "type": "object"
}

výstup · SessionBrief

Odpověď brief.session: co obklopuje jednu relaci, v jednom řádku a v několika.
vlastnosttyppovinnépopis
answered_by reference ano Který proces ji sestavil.
v string ano Kdy byl složen, RFC 3339.
derive reference ano Fronta derive.
integrace reference ano Integrační fronta.
interval_minutes integer ano Jak často relace hlásí sama o sobě, v minutách (session.brief_interval_minutes).
keep_awake string ano Co se relaci na jejím začátku říká o tom, jak se udržet vzhůru.
řádek string ano Brief jednou řádkou: text stavového řádku.
řádky array ano Brief v několika řádcích: jeden na sekci, pak peery, které jmenuje.
mesh reference ano Mesh.
peers reference ano Pracovníci všech nástěnek.
session reference ano Tato relace: její epizoda a úloha.
JSON Schema
{
  "$defs": {
    "BriefDeriveSection": {
      "description": "The machine's derive queue: its lock and its priority marker (`lib/machine_lock.sh`).",
      "properties": {
        "alive": {
          "description": "Whether that process is running on this machine.",
          "type": [
            "boolean",
            "null"
          ]
        },
        "held_seconds": {
          "description": "Seconds since the lock was taken.",
          "format": "uint64",
          "minimum": 0,
          "type": [
            "integer",
            "null"
          ]
        },
        "holder": {
          "description": "The lock's owner line, when the lock is held.",
          "type": [
            "string",
            "null"
          ]
        },
        "pid": {
          "description": "The holder's process id, when its line names one.",
          "format": "uint32",
          "minimum": 0,
          "type": [
            "integer",
            "null"
          ]
        },
        "priority": {
          "description": "The branches the priority marker names, when it is present.",
          "type": [
            "string",
            "null"
          ]
        },
        "state": {
          "$ref": "#/$defs/BriefSectionState",
          "description": "`undeclared` when the repository ships no derive lock."
        },
        "summary": {
          "description": "The section in words.",
          "type": "string"
        }
      },
      "required": [
        "state",
        "summary"
      ],
      "type": "object"
    },
    "BriefIntegrationSection": {
      "description": "The integration queue, as `majordomus prs brief` says it.",
      "properties": {
        "state": {
          "$ref": "#/$defs/BriefSectionState",
          "description": "Whether this checkout ever observed the forge."
        },
        "summary": {
          "description": "The section in words.",
          "type": "string"
        }
      },
      "required": [
        "state",
        "summary"
      ],
      "type": "object"
    },
    "BriefMeshSection": {
      "description": "The mesh: the links of this runtime and what the journal addresses to it.",
      "properties": {
        "active": {
          "description": "Whether cooperation runs in the composing process.",
          "type": "boolean"
        },
        "claims_held": {
          "description": "Claims held across the mesh.",
          "format": "uint",
          "minimum": 0,
          "type": "integer"
        },
        "connected": {
          "description": "Of them, connected.",
          "format": "uint",
          "minimum": 0,
          "type": "integer"
        },
        "failing": {
          "description": "Of them, degraded, unreachable or expired.",
          "format": "uint",
          "minimum": 0,
          "type": "integer"
        },
        "handovers_waiting": {
          "description": "Handovers another runtime published that nobody has consumed.",
          "format": "uint",
          "minimum": 0,
          "type": "integer"
        },
        "links": {
          "description": "Links to other runtimes.",
          "format": "uint",
          "minimum": 0,
          "type": "integer"
        },
        "overlaps_for_you": {
          "description": "Overlaps between a claim of this runtime and another's.",
          "format": "uint",
          "minimum": 0,
          "type": "integer"
        },
        "own_claims": {
          "description": "Of them, held by this runtime.",
          "format": "uint",
          "minimum": 0,
          "type": "integer"
        },
        "reason": {
          "description": "Why it does not, when it does not.",
          "type": [
            "string",
            "null"
          ]
        },
        "reviews_for_you": {
          "description": "Open review requests that name this runtime as the reviewer.",
          "format": "uint",
          "minimum": 0,
          "type": "integer"
        },
        "state": {
          "$ref": "#/$defs/BriefSectionState",
          "description": "Whether cooperation could be read."
        },
        "summary": {
          "description": "The section in words.",
          "type": "string"
        }
      },
      "required": [
        "state",
        "active",
        "links",
        "connected",
        "failing",
        "claims_held",
        "own_claims",
        "reviews_for_you",
        "handovers_waiting",
        "overlaps_for_you",
        "summary"
      ],
      "type": "object"
    },
    "BriefOrigin": {
      "description": "Which process composed the brief, and why that one.",
      "properties": {
        "note": {
          "description": "Why this process and not the leaseholder, when it is not the leaseholder.",
          "type": [
            "string",
            "null"
          ]
        },
        "process": {
          "description": "`leaseholder` (the server this checkout's lease names), `superseded` (a server that lost the lease), or `this_process` (no server answered, or the call asked for `local`).",
          "type": "string"
        },
        "url": {
          "description": "The address of the server that composed it, when one did.",
          "type": [
            "string",
            "null"
          ]
        }
      },
      "required": [
        "process"
      ],
      "type": "object"
    },
    "BriefPeersSection": {
      "description": "The workers of this repository, from every board the brief could read.",
      "properties": {
        "attached": {
          "description": "Attached peers across the boards read, the caller included.",
          "format": "uint",
          "minimum": 0,
          "type": "integer"
        },
        "boards": {
          "description": "How many boards the answer covers.",
          "format": "uint",
          "minimum": 0,
          "type": "integer"
        },
        "named": {
          "description": "The attached peers, one short line each, at most a bounded number.",
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        "overlaps": {
          "description": "Pairs of peers whose claimed scopes meet.",
          "format": "uint",
          "minimum": 0,
          "type": "integer"
        },
        "state": {
          "$ref": "#/$defs/BriefSectionState",
          "description": "Whether every board could be read."
        },
        "summary": {
          "description": "The section in words.",
          "type": "string"
        },
        "superseded": {
          "description": "Set when the composing server is superseded: its own board is unreachable by the repository's gather.",
          "type": [
            "string",
            "null"
          ]
        },
        "unread": {
          "description": "Every board that could not be read, as `<worktree>: <reason>`.",
          "items": {
            "type": "string"
          },
          "type": "array"
        }
      },
      "required": [
        "state",
        "attached",
        "boards",
        "overlaps",
        "named",
        "summary"
      ],
      "type": "object"
    },
    "BriefSectionState": {
      "description": "Whether a section of the brief could be read.",
      "oneOf": [
        {
          "const": "read",
          "description": "Its owner answered in full.",
          "type": "string"
        },
        {
          "const": "partial",
          "description": "Its owner answered, and part of what it covers could not be asked; the summary says which.",
          "type": "string"
        },
        {
          "const": "unread",
          "description": "Its owner did not answer; the summary says why.",
          "type": "string"
        },
        {
          "const": "undeclared",
          "description": "The repository declares nothing for it (no derive lock, a mesh switched off).",
          "type": "string"
        }
      ]
    },
    "BriefSessionSection": {
      "description": "The session the brief is about.",
      "properties": {
        "branch": {
          "description": "The checkout's branch.",
          "type": "string"
        },
        "caller": {
          "description": "The calling MCP session's place on this board, when the call came through one.",
          "type": [
            "string",
            "null"
          ]
        },
        "episode": {
          "description": "The open episode, when one is found.",
          "type": [
            "string",
            "null"
          ]
        },
        "head": {
          "description": "The checkout's head, abbreviated.",
          "type": "string"
        },
        "provider_session": {
          "description": "The provider session that owns it.",
          "type": [
            "string",
            "null"
          ]
        },
        "state": {
          "$ref": "#/$defs/BriefSectionState",
          "description": "Whether it could be read."
        },
        "summary": {
          "description": "The section in words.",
          "type": "string"
        },
        "task": {
          "description": "The active task's words.",
          "type": [
            "string",
            "null"
          ]
        },
        "task_id": {
          "description": "The active task's id, when one is active.",
          "type": [
            "string",
            "null"
          ]
        }
      },
      "required": [
        "state",
        "branch",
        "head",
        "summary"
      ],
      "type": "object"
    }
  },
  "description": "The answer of `brief.session`: what surrounds one session, in one line and in a few.",
  "properties": {
    "answered_by": {
      "$ref": "#/$defs/BriefOrigin",
      "description": "Which process composed it."
    },
    "at": {
      "description": "When it was composed, RFC 3339.",
      "type": "string"
    },
    "derive": {
      "$ref": "#/$defs/BriefDeriveSection",
      "description": "The derive queue."
    },
    "integration": {
      "$ref": "#/$defs/BriefIntegrationSection",
      "description": "The integration queue."
    },
    "interval_minutes": {
      "description": "How often a session reports on itself, in minutes (`session.brief_interval_minutes`).",
      "format": "uint64",
      "minimum": 0,
      "type": "integer"
    },
    "keep_awake": {
      "description": "What a session is told at its start about keeping itself awake.",
      "type": "string"
    },
    "line": {
      "description": "The brief in one line: the status line's text.",
      "type": "string"
    },
    "lines": {
      "description": "The brief in a few lines: one per section, then the peers it names.",
      "items": {
        "type": "string"
      },
      "type": "array"
    },
    "mesh": {
      "$ref": "#/$defs/BriefMeshSection",
      "description": "The mesh."
    },
    "peers": {
      "$ref": "#/$defs/BriefPeersSection",
      "description": "The workers of every board."
    },
    "session": {
      "$ref": "#/$defs/BriefSessionSection",
      "description": "This session: its episode and task."
    }
  },
  "required": [
    "at",
    "line",
    "lines",
    "interval_minutes",
    "keep_awake",
    "answered_by",
    "session",
    "peers",
    "mesh",
    "integration",
    "derive"
  ],
  "title": "SessionBrief",
  "type": "object"
}

Politiky

benchmark
povinné — cíl na každém transportu, který expozice deklaruje; případy jsou ty ze vstupního typu
cache
vypnuto — každé volání spustí handler

Cíle benchmarku

Odvozeno z registru pro tento repozitář: jeden požadavek na transport a případy, které poskytuje typ vstupu. Celá matice je na stránce měření výkonu.

transportstatepřípadytargets
directpokryto1výchozí
mcppokryto1výchozí
httppokryto1výchozí

Prohledává názvy a popisy všech stránek, které tento web publikuje.