Commit Graph
3 Commits
Author SHA1 Message Date
gengruilin 9b9be2a540 test(linear): answer only issued tokens in the OAuth fixture and cover the credential-key conflict
The Web e2e fixture answered `/mcp` to any `Authorization` header while its header comment promised the issued token, and it folded handler errors into bare 500 responses. It now accepts only tokens it issued, records handler failures for the scenario to assert, and states why its MCP answers are hand-written: `apps/web` carries no MCP SDK dependency. `plugin.spec.ts` covers a configured server that already owns `mcp-client/linear`, the second load-time conflict the README and JSDoc name.

The README attributes `systemPrompt` to the base bundle instead of `dsh-web-app`, counts the guidance as three sentences, and cites Linear's documentation for the paid-workspace approval limitation. The jscpd marker names its twins, and the headless snapshot comment states that an empty authorization list means the fixture received no request.
2026-11-16 01:15:12 +08:00
gengruilin 45a31a4973 refactor(linear): show the account through the connector account registry
The plugin registers its server account with `dsh-mcp-account`, which shows it through `ctx.connectorAccounts`; the account spec follows the registry's stream, and the Web connection test reads the shared section's `data-connector-account` attribute. The snapshot profile drops its `mcp-client-host` row because the manager creates its own client host. The package group table gains room for the `connector/` row.
2026-11-08 22:37:02 +08:00
gengruilin 4f1a8b5097 feat(linear): add the Linear plugin over the shared MCP manager
Register Linear's hosted MCP server (https://mcp.linear.app/mcp) with the
shared MCP manager under the server name `linear` and the OAuth credential
key `mcp-client/linear`, add the Linear plugin naming guidance, and show the
Linear account on its Plugins page through ui-mcp-account. Tools load on
demand by default.
2026-11-01 18:55:22 +08:00