Documentation
¶
Overview ¶
Package plugins holds the plugins the release bundles, one directory each. Its own code only embeds their manifests, which the host reads whether or not a plugin's binary is installed, and their profile layers, which the host loads when no plugin directory on disk holds one.
Index ¶
Constants ¶
This section is empty.
Variables ¶
var Manifests embed.FS
Manifests holds <id>/plugin.toml of every bundled plugin.
var Profiles embed.FS
Profiles holds <id>/profile/ of every bundled plugin that has one.
Functions ¶
This section is empty.
Types ¶
This section is empty.
Directories
¶
| Path | Synopsis |
|---|---|
|
Package github is the GitHub source plugin: what its binary serves through the SDK, over its own store in the state directory the host gives it.
|
Package github is the GitHub source plugin: what its binary serves through the SDK, over its own store in the state directory the host gives it. |
|
api
Package github reads pull requests over GitHub's HTTPS API, batching every pull request of a sweep into aliased GraphQL queries.
|
Package github reads pull requests over GitHub's HTTPS API, batching every pull request of a sweep into aliased GraphQL queries. |
|
api/apitest
Package apitest serves an api.Client from gh fakes, as the plugin's tests write them, and records what it meters.
|
Package apitest serves an api.Client from gh fakes, as the plugin's tests write them, and records what it meters. |
|
change
Package change holds the rules that decide what a change to a pull request calls for: a follow-up, a triage round, a board move.
|
Package change holds the rules that decide what a change to a pull request calls for: a follow-up, a triage round, a board move. |
|
cmd/wloop-plugin-github
command
Command wloop-plugin-github is the GitHub source plugin's binary, which the host runs as a child process.
|
Command wloop-plugin-github is the GitHub source plugin's binary, which the host runs as a child process. |
|
collect
Package collect keeps the plugin's store in step with GitHub: a cheap fast sweep that reads only what changed and a slow sweep that rebuilds the scope and catches what the searches no longer return.
|
Package collect keeps the plugin's store in step with GitHub: a cheap fast sweep that reads only what changed and a slow sweep that rebuilds the scope and catches what the searches no longer return. |
|
explore
Package explore turns what the user types in Explore into one GitHub search for open pull requests to help on.
|
Package explore turns what the user types in Explore into one GitHub search for open pull requests to help on. |
|
gh
Package gh shells out to the gh command line, which owns GitHub's authentication.
|
Package gh shells out to the gh command line, which owns GitHub's authentication. |
|
git
Package git reads local checkouts with the git binary, as the planner asks.
|
Package git reads local checkouts with the git binary, as the planner asks. |
|
nudge
Package nudge is the GitHub plugin's nudge: whom a nudge asks on a pull request, when it refuses, and the nudge drafts its github-nudge rule proposes on stalled pull requests.
|
Package nudge is the GitHub plugin's nudge: whom a nudge asks on a pull request, when it refuses, and the nudge drafts its github-nudge rule proposes on stalled pull requests. |
|
plan
Package plan is the GitHub plugin's round planner: over the plugin's pull requests and the host's round state, books, events and workspaces, it decides which automatic rounds are due, why, and what each covers.
|
Package plan is the GitHub plugin's round planner: over the plugin's pull requests and the host's round state, books, events and workspaces, it decides which automatic rounds are due, why, and what each covers. |
|
pr
Package pr is the GitHub plugin's pull request: its reference and the row the plugin's store keeps of it.
|
Package pr is the GitHub plugin's pull request: its reference and the row the plugin's store keeps of it. |
|
publish
Package publish posts the GitHub plugin's approved drafts as issue comments on their pull request.
|
Package publish posts the GitHub plugin's approved drafts as issue comments on their pull request. |
|
row
Package row derives what the plugin reports of a pull request from the pull request and its events alone: its situation, the source part of its row's payload, its views and facets, its card, its items, its link signals and its workflow facts.
|
Package row derives what the plugin reports of a pull request from the pull request and its events alone: its situation, the source part of its row's payload, its views and facets, its card, its items, its link signals and its workflow facts. |
|
scope
Package scope turns the configured sources into the people, teams and repositories the inventory follows, and the searches that find them.
|
Package scope turns the configured sources into the people, teams and repositories the inventory follows, and the searches that find them. |
|
situation
Package situation derives who a pull request is waiting on, and since when, from the pull request and its events alone.
|
Package situation derives who a pull request is waiting on, and since when, from the pull request and its events alone. |
|
store
Package store is the GitHub plugin's own database, in the state directory the host gives it: the pull requests it reads, their sightings and details, the workspaces' fetches, its meta values and the overrides it keeps of what the user set.
|
Package store is the GitHub plugin's own database, in the state directory the host gives it: the pull requests it reads, their sightings and details, the workspaces' fetches, its meta values and the overrides it keeps of what the user set. |
|
workday
Package workday counts time in working days, Monday to Friday, as the host counts a working-days value.
|
Package workday counts time in working days, Monday to Friday, as the host counts a working-days value. |
|
Package slack is the Slack source: ingestion, rows, cards and the plugin's capabilities.
|
Package slack is the Slack source: ingestion, rows, cards and the plugin's capabilities. |
|
auth
Package auth keeps the Slack tokens: login, refresh and the Keychain.
|
Package auth keeps the Slack tokens: login, refresh and the Keychain. |
|
cmd/wloop-plugin-slack
command
Command wloop-plugin-slack is the Slack source plugin's binary, which the host runs as a child process.
|
Command wloop-plugin-slack is the Slack source plugin's binary, which the host runs as a child process. |
|
config
Package config is the configuration the Slack plugin reads: its [plugins.slack] table and the host keys its manifest's config_reads names, as the host passes them.
|
Package config is the configuration the Slack plugin reads: its [plugins.slack] table and the host keys its manifest's config_reads names, as the host passes them. |
|
domain
Package slack is the Slack plugin's domain: messages, deltas and the facts the source stores.
|
Package slack is the Slack plugin's domain: messages, deltas and the facts the source stores. |
|
draft
Package draft holds the Outbox drafts: posts the loop proposes and the user approves before they reach a provider.
|
Package draft holds the Outbox drafts: posts the loop proposes and the user approves before they reach a provider. |
|
eval
Package eval measures the Slack extractor: an oracle reads a conversation and writes the viewer's briefing, a blind reader writes the same briefing from the extractor's ledger alone, and a judge with the conversation compares them.
|
Package eval measures the Slack extractor: an oracle reads a conversation and writes the viewer's briefing, a blind reader writes the same briefing from the extractor's ledger alone, and a judge with the conversation compares them. |
|
extract
Package extract turns a Slack conversation window into items ledger ops through one agent call.
|
Package extract turns a Slack conversation window into items ledger ops through one agent call. |
|
host
Package host is the host's broker as the Slack plugin calls it, in the plugin's own types: the items ledger, the agent and the profile layer.
|
Package host is the host's broker as the Slack plugin calls it, in the plugin's own types: the items ledger, the agent and the profile layer. |
|
host/hosttest
Package hosttest is an in-memory host broker for the Slack plugin's tests: it records what the plugin reports, proposes and writes, applies item ops with the host ledger's rules, and answers asks from a script.
|
Package hosttest is an in-memory host broker for the Slack plugin's tests: it records what the plugin reports, proposes and writes, applies item ops with the host ledger's rules, and answers asks from a script. |
|
ingest
Package ingest drives the Slack source: discovery, change detection by object version, detail reads of what moved, and saves through the source's store.
|
Package ingest drives the Slack source: discovery, change detection by object version, detail reads of what moved, and saves through the source's store. |
|
items
Package items holds the cross-source items ledger's types.
|
Package items holds the cross-source items ledger's types. |
|
jsonschema
Package jsonschema validates structured agent answers against the subset of JSON Schema the profile's schemas may use: type, properties, required, additionalProperties, enum, minLength, maxLength, minItems, maxItems, items, pattern (RE2) and description.
|
Package jsonschema validates structured agent answers against the subset of JSON Schema the profile's schemas may use: type, properties, required, additionalProperties, enum, minLength, maxLength, minItems, maxItems, items, pattern (RE2) and description. |
|
language
Package language tells the language a Slack thread's people write in.
|
Package language tells the language a Slack thread's people write in. |
|
link
Package link holds the cross-source links between units.
|
Package link holds the cross-source links between units. |
|
rows
Package slackrows serves Slack units as read model rows: threads and DM segments with their extraction verdict and open items.
|
Package slackrows serves Slack units as read model rows: threads and DM segments with their extraction verdict and open items. |
|
send
Package send posts a message to Slack as the user.
|
Package send posts a message to Slack as the user. |
|
slackapi
Package slack is a thin client for the Slack Web API.
|
Package slack is a thin client for the Slack Web API. |
|
slacktest
Package slacktest is a fake Slack Web API for tests.
|
Package slacktest is a fake Slack Web API for tests. |
|
socket
Package socket keeps a Slack Socket Mode connection.
|
Package socket keeps a Slack Socket Mode connection. |
|
socket/sockettest
Package sockettest is a fake Slack Socket Mode server for tests.
|
Package sockettest is a fake Slack Socket Mode server for tests. |
|
store
Package store is the Slack plugin's own database, in the state directory the host gives it: the conversations, threads, messages and users it read, the DM segment map and what the extraction keeps per unit.
|
Package store is the Slack plugin's own database, in the state directory the host gives it: the conversations, threads, messages and users it read, the DM segment map and what the extraction keeps per unit. |
|
tag
Package tag names what a pull request touches with key:value tags, a matching system and nothing more: nine fixed keys, each value normalized to one spelling.
|
Package tag names what a pull request touches with key:value tags, a matching system and nothing more: nine fixed keys, each value normalized to one spelling. |
|
unit
Package unit names the units of work the Slack plugin and the host share: a provider and the provider's key, as the host's units are.
|
Package unit names the units of work the Slack plugin and the host share: a provider and the provider's key, as the host's units are. |