Expand description
Extensions: a folder of someone else’s work — gates, observers, views,
skills, MCP servers — that a person trusts by one digest. The pure
parts live here: names, the [views.<name>] grammar, what each
contribution can reach in words, what widened since the last trust, and
SARIF findings as speccoder shows them.
Structs§
- Added
From - Where
speccoder extensions addcopied an extension from. - Contribution
- One contribution and what it can reach, in words.
- Extension
- One extension as
speccoder extensionsshows it. - Extension
Changes - What changed since an extension was trusted.
- Extensions
Report speccoder extensions: every extension, and what was just done.- Sarif
Finding - One finding, as speccoder shows it.
- ViewDef
- One
[views.<name>]. - View
Result - A view’s last result.
- View
Shown - One view as the app shows it.
- Views
Report - The views placed on a feature (or the project).
Enums§
- Contribution
Kind - What kind of thing an extension contributes.
- Extension
Source - Where an extension comes from.
- View
Data - A view’s data, ready for its widget.
- View
Place - Where a view stands.
- View
Source - Where a view’s data comes from.
- View
Widget - How a view shows its data.
Constants§
- MAX_
BYTES - The most bytes one extension may hold.
- MAX_
FILES - The most files one extension may hold.
- MAX_
FINDINGS - The most findings kept from one source.
- MAX_
SARIF - The largest SARIF file read.
Functions§
- hook_
contribution - A hook’s contribution,
namequalified (threatspec.check). - host
- The host of an http(s) URL.
- parse_
view - Parses
[views.<name>](as JSON). - sarif
- The findings of a SARIF 2.1.0 log: at most
MAX_FINDINGS, each message cut to 500 characters, each location made relative to the project byrelative(None: outside it). - server_
name - The MCP server name of an extension’s server:
<ext>_<server>, every run of-,.and_as one_(a tool reference’s component: lowercase letters, digits and single_inside). - shown
- A command as a person reads it: its words, quoted where needed.
- valid_
name - Whether
namemay name an extension (Agent Plugins 1.0): 1–64 ofa-z0-9-., a letter or digit at both ends, no--or... - view_
contribution - A view’s contribution,
namequalified. - widened
- What changed between the contributions trusted (
before) and now.