@extension.dev/mcp 5.5.0 → 5.5.2

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.
@@ -0,0 +1,14 @@
1
+ export interface BridgeTab {
2
+ tabId: number | null;
3
+ url: string;
4
+ title: string;
5
+ }
6
+ export declare function listBridgeTabs(projectPath: string, browser: string, timeout?: number): Promise<{
7
+ tabs: BridgeTab[];
8
+ } | {
9
+ error: string;
10
+ }>;
11
+ export declare function matchTabsByUrl(tabs: BridgeTab[], needle: string): BridgeTab[];
12
+ export declare function pollForBridgeTab(projectPath: string, browser: string, url: string, budgetMs: number): Promise<BridgeTab | null>;
13
+ export declare function navigateToUrlViaBridge(projectPath: string, browser: string, url: string, timeout?: number): Promise<string>;
14
+ export declare function resolveBridgeBaseUrl(projectPath: string, browser: string, timeout?: number): Promise<string | null>;
@@ -1,4 +1,12 @@
1
1
  import { type StoredCredentials } from "./credentials";
2
+ /**
3
+ * The platform clamps CLI token TTL to at most 7 days (server-owned; this
4
+ * client only states the truth). Every token surface repeats it so CI authors
5
+ * learn the rotation contract up front instead of from a 401 a week after
6
+ * wiring the pipeline. Links the console's Access tokens page when the
7
+ * project is known.
8
+ */
9
+ export declare function tokenTtlNote(workspaceSlug?: string, projectSlug?: string): string;
2
10
  type FetchImpl = typeof fetch;
3
11
  export declare function resolveApiBase(api?: string): string;
4
12
  /**
@@ -0,0 +1,56 @@
1
+ export declare const schema: {
2
+ name: string;
3
+ description: string;
4
+ inputSchema: {
5
+ type: "object";
6
+ properties: {
7
+ workspace: {
8
+ type: string;
9
+ description: string;
10
+ };
11
+ project: {
12
+ type: string;
13
+ description: string;
14
+ };
15
+ };
16
+ required: never[];
17
+ };
18
+ };
19
+ interface SubmissionView {
20
+ version?: string;
21
+ status?: string;
22
+ storeUrl?: string;
23
+ submittedAt?: string;
24
+ channel?: string;
25
+ buildSha?: string;
26
+ storeSubmissionId?: string;
27
+ failureReason?: string;
28
+ }
29
+ interface ReviewView {
30
+ status?: string;
31
+ version?: string;
32
+ buildId?: string;
33
+ checkedAt?: string;
34
+ }
35
+ /** Latest submissions.json record per store, newest submittedAt first. */
36
+ export declare function latestSubmissionsByStore(json: unknown): Record<string, SubmissionView>;
37
+ export interface NormalizedStoresStatus {
38
+ lastSubmission?: Record<string, unknown>;
39
+ lastOverride?: Record<string, unknown>;
40
+ reviews: Record<string, ReviewView>;
41
+ lastPollAt?: string;
42
+ }
43
+ /**
44
+ * Accept any historical shape of stores/status.json. SchemaVersion 3 carries
45
+ * lastSubmission / lastOverride / lastPoll / reviews as sections. Legacy v2
46
+ * came in two flavors that used to clobber each other: the submit-path shape
47
+ * (kind "stores_status", lastSubmission only) and the poller shape (kind
48
+ * "store_status" with perStore/updates at the top level) whose updates seed
49
+ * the reviews map here, mirroring the registry template's normalizer.
50
+ */
51
+ export declare function normalizeStoresStatus(json: unknown): NormalizedStoresStatus;
52
+ export declare function handler(args: {
53
+ workspace?: string;
54
+ project?: string;
55
+ }): Promise<string>;
56
+ export {};
package/package.json CHANGED
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "name": "@extension.dev/mcp",
3
3
  "type": "module",
4
- "version": "5.5.0",
5
- "description": "MCP server that lets AI agents (Claude Code, Claude Desktop, Cursor, Copilot, Codex) build, run, inspect, and publish browser extensions. 32 tools for scaffolding, live DOM inspection, log streaming, and store-ready builds across Chrome, Edge, Firefox, Safari, and every Chromium- or Gecko-based browser (Brave, Opera, Vivaldi, Yandex, Waterfox, LibreWolf). Powered by extension.dev and Extension.js.",
4
+ "version": "5.5.2",
5
+ "description": "MCP server that lets AI agents (Claude Code, Claude Desktop, Cursor, Copilot, Codex) build, run, inspect, and publish browser extensions. 33 tools for scaffolding, live DOM inspection, log streaming, and store-ready builds across Chrome, Edge, Firefox, and every Chromium- or Gecko-based browser (Brave, Opera, Vivaldi, Yandex, Waterfox, LibreWolf), with Safari coming next. Powered by extension.dev and Extension.js.",
6
6
  "mcpName": "io.github.extensiondev/mcp",
7
7
  "license": "MIT",
8
8
  "author": {
9
9
  "name": "Cezar Augusto",
10
- "email": "boss@cezaraugusto.net",
10
+ "email": "hello@extension.dev",
11
11
  "url": "https://cezaraugusto.com"
12
12
  },
13
13
  "repository": {
package/server.json CHANGED
@@ -1,19 +1,19 @@
1
1
  {
2
2
  "$schema": "https://static.modelcontextprotocol.io/schemas/2025-09-29/server.schema.json",
3
3
  "name": "io.github.extensiondev/mcp",
4
- "description": "Build, run, inspect, and publish browser extensions from any MCP client. 32 tools, 11 browsers.",
4
+ "description": "Build, run, inspect, and publish browser extensions from any MCP client. 33 tools, 11 browsers.",
5
5
  "repository": {
6
6
  "url": "https://github.com/extensiondev/mcp",
7
7
  "source": "github"
8
8
  },
9
9
  "websiteUrl": "https://extension.dev",
10
- "version": "5.5.0",
10
+ "version": "5.5.2",
11
11
  "packages": [
12
12
  {
13
13
  "registryType": "npm",
14
14
  "registryBaseUrl": "https://registry.npmjs.org",
15
15
  "identifier": "@extension.dev/mcp",
16
- "version": "5.5.0",
16
+ "version": "5.5.2",
17
17
  "runtimeHint": "npx",
18
18
  "transport": {
19
19
  "type": "stdio"