@opsee/mcp-server 0.6.9 → 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/package.json +1 -1
- package/src/client/api.ts +4 -0
package/package.json
CHANGED
package/src/client/api.ts
CHANGED
|
@@ -36,6 +36,10 @@ const authInterceptor: Interceptor = (next) => async (req) => {
|
|
|
36
36
|
if (token) {
|
|
37
37
|
req.header.set("Authorization", `Bearer ${token}`);
|
|
38
38
|
}
|
|
39
|
+
// Mark this as an automation (MCP) client so the backend stamps live board
|
|
40
|
+
// events with the system actor — an agent acting under a user's token must
|
|
41
|
+
// not be self-skipped on that user's own board. (ADR-0002 §5; Slice 5.)
|
|
42
|
+
req.header.set("X-Opsee-Client", "mcp");
|
|
39
43
|
return await next(req);
|
|
40
44
|
};
|
|
41
45
|
|