Commit Graph
6 Commits
Author SHA1 Message Date
gengruilin 61760a62c6 refactor(linear): rename src/copy.ts to src/locales.ts
The repository names a package's localized text module locales.ts, as dsh-mcp-account and the four CLI connector apps do. The export COPY keeps its name, which matches the registration's copy field.
2026-11-18 17:03:52 +08:00
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 3f7c57514a refactor(linear): follow the ctx.mcpManager rename
The base publishes the MCP manager as `ctx.mcpManager`. Inject and
register through that key, and update the tests, the package and group
READMEs, and the generated configuration catalog.
2026-11-03 13:22:34 +08:00
gengruilin bc6824ccf5 refactor(linear): register the account on the Host
The Linear row registers its Plugins page account with ctx.mcpAccounts
while the account registry runs, with the text that names Linear in
every shipped language in src/copy.ts. The browser half, its 41-key
dictionary, and its client build are removed; the section, tag,
activation guidance, and notices now come from the shared account
surfaces, and headless profiles load the row without the account.
2026-11-02 15:06:05 +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