@extension.dev/mcp 3.17.0 → 4.1.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/CHANGELOG.md +42 -0
- package/bin/extension-mcp.js +1 -1
- package/dist/module.js +402 -489
- package/dist/src/lib/cdp-connection.d.ts +20 -0
- package/dist/src/lib/cdp-page-scripts.d.ts +5 -0
- package/dist/src/lib/cdp.d.ts +2 -19
- package/dist/src/lib/exec.d.ts +1 -1
- package/dist/src/tools/logs-constants.d.ts +6 -0
- package/dist/src/tools/logs-filter.d.ts +14 -0
- package/dist/src/tools/logs-schema.d.ts +65 -0
- package/dist/src/tools/logs.d.ts +2 -79
- package/dist/src/tools/publish.d.ts +0 -2
- package/dist/src/tools/release-promote.d.ts +50 -0
- package/package.json +16 -15
- package/dist/src/lib/credentials.d.ts +0 -24
- package/dist/src/lib/github-device.d.ts +0 -40
- package/dist/src/lib/login-flow.d.ts +0 -25
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,47 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 4.1.0
|
|
4
|
+
|
|
5
|
+
The MCP now consumes `@extension.dev/core` for all platform-auth logic
|
|
6
|
+
(core MIGRATION.md phase 2). No tool schema changes, no behavior changes:
|
|
7
|
+
the JSON-string envelopes are byte-compatible and pinned by tests.
|
|
8
|
+
|
|
9
|
+
- New dependency `@extension.dev/core` ^0.2.0: device-code login, credential
|
|
10
|
+
store, and publish client now live there, shared with every other surface.
|
|
11
|
+
- Deleted `src/lib/credentials.ts`, `src/lib/github-device.ts`,
|
|
12
|
+
`src/lib/login-flow.ts` and their migrated tests; `login`, `whoami`,
|
|
13
|
+
`logout`, and `release-promote` import from core.
|
|
14
|
+
- `tools/publish.ts` is a thin adapter over core's `publish()`; the frozen
|
|
15
|
+
PublishAuthError / PublishConfigError / PublishNetworkError / PublishError
|
|
16
|
+
envelopes and the success passthrough are pinned by a new
|
|
17
|
+
`publish-envelope` test.
|
|
18
|
+
- New `core-boundary` regression test: no file under `src/` may redefine the
|
|
19
|
+
credential store or import auth primitives from anywhere but
|
|
20
|
+
`@extension.dev/core`.
|
|
21
|
+
- CI and Release workflows pass `NPM_TOKEN` to the install step (core is
|
|
22
|
+
npm-restricted until the public flip).
|
|
23
|
+
|
|
24
|
+
## 4.0.8
|
|
25
|
+
|
|
26
|
+
Tracks the `extension` 4.0.8 suite (the versioning convention: this package's
|
|
27
|
+
version follows the CLI suite release it pairs with). One tool was added since
|
|
28
|
+
3.17.0, `extension_release_promote`, bringing the surface to 27 tools.
|
|
29
|
+
|
|
30
|
+
- Bump `extension-create`, `extension-develop`, `extension-install` from
|
|
31
|
+
^3.13.5 to ^4.0.8. All consumed APIs (`extensionCreate`, `extensionBuild`,
|
|
32
|
+
`extensionInstall`, `getManagedBrowsersCacheRoot`) and all CLI verbs the
|
|
33
|
+
tools shell out to (`dev`, `start`, `preview`, `logs`, `eval`, `storage`,
|
|
34
|
+
`reload`, `open`, `inspect`, `publish`, including `--allow-control`,
|
|
35
|
+
`--allow-eval` and `--no-browser`) are unchanged in 4.x; verified
|
|
36
|
+
end-to-end (create -> build -> dev ready contract -> manifest validate).
|
|
37
|
+
- `package.json` version now matches the published line (was a stale 0.0.1)
|
|
38
|
+
and the server reports its version from `package.json` instead of a
|
|
39
|
+
hardcoded string (previously stuck at 3.13.5).
|
|
40
|
+
- `browser-extension-manifest-fields` ^2.2.8 -> ^2.2.9.
|
|
41
|
+
- vitest config: resolve the extension-* test aliases from the packages'
|
|
42
|
+
exports maps; 4.x dropped the CJS entry, so `require.resolve` on the bare
|
|
43
|
+
specifier no longer works.
|
|
44
|
+
|
|
3
45
|
## 3.17.0
|
|
4
46
|
|
|
5
47
|
First stable release on npm. The registry previously carried only canary
|
package/bin/extension-mcp.js
CHANGED
|
@@ -3,7 +3,7 @@ import {startServer, runCli} from '../dist/module.js'
|
|
|
3
3
|
|
|
4
4
|
const [, , cmd, ...rest] = process.argv
|
|
5
5
|
|
|
6
|
-
if (cmd && ['login', 'logout', 'whoami'].includes(cmd)) {
|
|
6
|
+
if (cmd && ['login', 'logout', 'whoami', 'release'].includes(cmd)) {
|
|
7
7
|
runCli(cmd, rest)
|
|
8
8
|
.then((code) => process.exit(code))
|
|
9
9
|
.catch((err) => {
|