@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 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
@@ -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) => {