mcp-feedback 0.5.0 → 0.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +139 -2
- package/agentdist.json +40 -0
- package/dist/cli.d.ts +5 -0
- package/dist/cli.js +26 -3
- package/dist/conformance-cases.js +15 -4
- package/dist/drizzle.js +1 -0
- package/dist/index.d.ts +2 -2
- package/dist/index.js +2 -2
- package/dist/ingest/cli.d.ts +8 -0
- package/dist/ingest/cli.js +270 -0
- package/dist/ingest/github.d.ts +40 -0
- package/dist/ingest/github.js +80 -0
- package/dist/ingest/handler.d.ts +84 -0
- package/dist/ingest/handler.js +447 -0
- package/dist/ingest/index.d.ts +3 -0
- package/dist/ingest/index.js +5 -0
- package/dist/ingest/protocol.d.ts +203 -0
- package/dist/ingest/protocol.js +78 -0
- package/dist/ingest/tokens.d.ts +84 -0
- package/dist/ingest/tokens.js +163 -0
- package/dist/install.d.ts +3 -0
- package/dist/install.js +27 -0
- package/dist/reader.js +6 -1
- package/dist/register.d.ts +36 -4
- package/dist/register.js +45 -21
- package/dist/remote.d.ts +66 -0
- package/dist/remote.js +399 -0
- package/dist/store.d.ts +17 -0
- package/dist/store.js +5 -0
- package/dist/stores/memory.js +3 -1
- package/dist/stores/sql.js +5 -0
- package/dist/tools.d.ts +8 -1
- package/dist/tools.js +28 -7
- package/dist/types.d.ts +4 -0
- package/package.json +15 -2
- package/skills/add-feedback-to-mcp-server/SKILL.md +179 -0
- package/skills/add-feedback-to-mcp-server/references/feedback-section.md +57 -0
- package/skills/add-feedback-to-mcp-server/references/remote-ingest.md +84 -0
- package/skills/read-feedback/SKILL.md +99 -0
- package/skills/read-feedback/references/connecting.md +84 -0
- package/skills/set-up-feedback-reading/SKILL.md +60 -0
- package/skills/set-up-feedback-reading/references/project-reference.md +48 -0
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
# A project's local feedback reference
|
|
2
|
+
|
|
3
|
+
The template below becomes the file a project keeps about its own feedback. Sessions load it with the `read-feedback` skill.
|
|
4
|
+
|
|
5
|
+
- Fill in every `<...>` from what you found, and delete lines and sections that do not apply.
|
|
6
|
+
- Mark a fact you could not establish as unknown; do not guess.
|
|
7
|
+
- State facts and this project's rules. Leave out how paging, filters, notes, the CLI and `serve` work.
|
|
8
|
+
- Name credentials by where they come from. Never write a credential's value.
|
|
9
|
+
|
|
10
|
+
---
|
|
11
|
+
|
|
12
|
+
```markdown
|
|
13
|
+
---
|
|
14
|
+
name: <server>-feedback
|
|
15
|
+
description: Where <server>'s agent feedback is read and how this project works through it. Use with the read-feedback skill when asked to review, triage, drain or act on <server> feedback.
|
|
16
|
+
---
|
|
17
|
+
|
|
18
|
+
# <server> feedback
|
|
19
|
+
|
|
20
|
+
Agents file feedback with `submit_feedback` on `<agent endpoint path>`. Maintainers read and triage it on a separate reader endpoint. Use the `read-feedback` skill for how; this file has what is specific to <server>.
|
|
21
|
+
|
|
22
|
+
## Where
|
|
23
|
+
|
|
24
|
+
- Reader endpoint: `https://<published host>/<reader path>`. The <preview or staging> copy at `https://<other host>/<reader path>` keeps separate feedback; read it only when asked about that copy.
|
|
25
|
+
- Credential: `<NAME OF THE MAINTAINER SECRET>`, from <where maintainers get it>, supplied as `MCP_FEEDBACK_TOKEN`. `<NAME OF THE AGENT SECRET>` is refused here. Do not ask for, print or store either.
|
|
26
|
+
- In this repository, run the CLI as `<pnpm exec mcp-feedback | npx mcp-feedback>`.
|
|
27
|
+
- Tool prefix: <none | `<prefix>`>.
|
|
28
|
+
- Triage through this endpoint is recorded as `<reader clientId>`.
|
|
29
|
+
|
|
30
|
+
## Reading a record
|
|
31
|
+
|
|
32
|
+
- `context.references` keys: `<name>Id` is <what it identifies and which tool returns it>; ...
|
|
33
|
+
- `context.server_context` holds <what the server records about those objects when feedback is filed>. <What a timed-out or partial snapshot looks like.>
|
|
34
|
+
- `context.metadata`: <keys this server's agents are asked to use, if any>.
|
|
35
|
+
- <Whether callers share one credential, and so whether submitters can be told apart.>
|
|
36
|
+
- <Whether agents file only after the user confirms.>
|
|
37
|
+
|
|
38
|
+
## Acting on it
|
|
39
|
+
|
|
40
|
+
- <Who decides what gets worked on, and whether items are also tracked elsewhere.>
|
|
41
|
+
- A fix counts as released when <the project's release step, and the check that it is live>.
|
|
42
|
+
- A `resolved` note names <the version, PR, deployment or URL this project uses as evidence>.
|
|
43
|
+
- <Anything this project never does with feedback, for example filing it on a user's behalf.>
|
|
44
|
+
|
|
45
|
+
## Sources
|
|
46
|
+
|
|
47
|
+
<File and line for the endpoint, the credentials, `contextFields` and `attachContext`, so this can be checked when they change.>
|
|
48
|
+
```
|