@extension.dev/mcp 7.0.0 → 9.0.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/.claude-plugin/marketplace.json +1 -1
- package/.claude-plugin/plugin.json +1 -1
- package/CHANGELOG.md +224 -0
- package/README.md +13 -21
- package/claude/ARCHITECTURE.md +4 -4
- package/claude/CLAUDE.md +2 -2
- package/claude/README.md +1 -1
- package/claude/commands/extension-add.md +1 -1
- package/claude/commands/extension-debug.md +1 -1
- package/claude/commands/extension-publish.md +1 -1
- package/claude/commands/extension.md +3 -3
- package/claude/rules/mcp-tools.md +45 -49
- package/dist/module.js +1026 -1186
- package/dist/src/lib/common-schema.d.ts +28 -0
- package/dist/src/lib/launch-flags.d.ts +6 -6
- package/dist/src/lib/session-identity.d.ts +16 -0
- package/dist/src/tools/add-feature.d.ts +2 -2
- package/dist/src/tools/analyze.d.ts +29 -0
- package/dist/src/tools/auth.d.ts +33 -0
- package/dist/src/tools/browsers.d.ts +39 -0
- package/dist/src/tools/build.d.ts +5 -6
- package/dist/src/tools/detect-browsers.d.ts +1 -20
- package/dist/src/tools/dev.d.ts +11 -11
- package/dist/src/tools/{dom-inspect.d.ts → dom-snapshot.d.ts} +6 -6
- package/dist/src/tools/eval.d.ts +6 -6
- package/dist/src/tools/get-template-source.d.ts +1 -22
- package/dist/src/tools/inspect.d.ts +33 -5
- package/dist/src/tools/install-browser.d.ts +1 -18
- package/dist/src/tools/list-browsers.d.ts +1 -9
- package/dist/src/tools/list-extensions.d.ts +4 -4
- package/dist/src/tools/list-templates.d.ts +1 -35
- package/dist/src/tools/login.d.ts +1 -23
- package/dist/src/tools/logout.d.ts +1 -9
- package/dist/src/tools/logs-schema.d.ts +2 -2
- package/dist/src/tools/open.d.ts +6 -6
- package/dist/src/tools/preview-web.d.ts +4 -4
- package/dist/src/tools/publish.d.ts +2 -2
- package/dist/src/tools/release-list.d.ts +1 -23
- package/dist/src/tools/release-promote.d.ts +2 -2
- package/dist/src/tools/release-status.d.ts +37 -0
- package/dist/src/tools/reload.d.ts +6 -6
- package/dist/src/tools/shares.d.ts +2 -2
- package/dist/src/tools/start.d.ts +16 -10
- package/dist/src/tools/stop.d.ts +2 -2
- package/dist/src/tools/storage.d.ts +6 -6
- package/dist/src/tools/store-status.d.ts +1 -23
- package/dist/src/tools/{deploy.d.ts → submit.d.ts} +4 -4
- package/dist/src/tools/{source-inspect.d.ts → templates.d.ts} +27 -23
- package/dist/src/tools/uninstall-browser.d.ts +1 -21
- package/dist/src/tools/wait.d.ts +4 -4
- package/dist/src/tools/whoami.d.ts +1 -9
- package/extensions/live-preview/chromium/action/index.js +1 -9
- package/extensions/live-preview/chromium/background/service_worker.js +3 -11
- package/extensions/live-preview/chromium/manifest.json +1 -1
- package/package.json +2 -2
- package/server.json +3 -3
- package/dist/src/__tests__/fixtures/ready-contract.d.ts +0 -7
- package/dist/src/__tests__/setup-session-dir.d.ts +0 -1
- package/dist/src/tools/preview.d.ts +0 -66
- /package/dist/src/tools/{source-inspect-gecko.d.ts → inspect-gecko.d.ts} +0 -0
|
@@ -1,26 +1,4 @@
|
|
|
1
|
-
export declare
|
|
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
|
-
api: {
|
|
16
|
-
type: string;
|
|
17
|
-
description: string;
|
|
18
|
-
};
|
|
19
|
-
};
|
|
20
|
-
required: never[];
|
|
21
|
-
};
|
|
22
|
-
};
|
|
23
|
-
export declare function handler(args: {
|
|
1
|
+
export declare function readReleases(args: {
|
|
24
2
|
workspace?: string;
|
|
25
3
|
project?: string;
|
|
26
4
|
api?: string;
|
|
@@ -32,8 +32,8 @@ export declare const schema: {
|
|
|
32
32
|
description: string;
|
|
33
33
|
};
|
|
34
34
|
api: {
|
|
35
|
-
type: string;
|
|
36
|
-
description:
|
|
35
|
+
readonly type: "string";
|
|
36
|
+
readonly description: "Platform base URL (default EXTENSION_DEV_API_URL, else https://www.extension.dev)";
|
|
37
37
|
};
|
|
38
38
|
};
|
|
39
39
|
required: string[];
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
export declare const schema: {
|
|
2
|
+
name: string;
|
|
3
|
+
description: string;
|
|
4
|
+
inputSchema: {
|
|
5
|
+
type: "object";
|
|
6
|
+
properties: {
|
|
7
|
+
include: {
|
|
8
|
+
type: string;
|
|
9
|
+
items: {
|
|
10
|
+
type: string;
|
|
11
|
+
enum: string[];
|
|
12
|
+
};
|
|
13
|
+
default: string[];
|
|
14
|
+
description: string;
|
|
15
|
+
};
|
|
16
|
+
workspace: {
|
|
17
|
+
type: string;
|
|
18
|
+
description: string;
|
|
19
|
+
};
|
|
20
|
+
project: {
|
|
21
|
+
type: string;
|
|
22
|
+
description: string;
|
|
23
|
+
};
|
|
24
|
+
api: {
|
|
25
|
+
readonly type: "string";
|
|
26
|
+
readonly description: "Platform base URL (default EXTENSION_DEV_API_URL, else https://www.extension.dev)";
|
|
27
|
+
};
|
|
28
|
+
};
|
|
29
|
+
required: never[];
|
|
30
|
+
};
|
|
31
|
+
};
|
|
32
|
+
export declare function handler(args: {
|
|
33
|
+
include?: string[];
|
|
34
|
+
workspace?: string;
|
|
35
|
+
project?: string;
|
|
36
|
+
api?: string;
|
|
37
|
+
}): Promise<string>;
|
|
@@ -6,8 +6,8 @@ export declare const schema: {
|
|
|
6
6
|
type: "object";
|
|
7
7
|
properties: {
|
|
8
8
|
projectPath: {
|
|
9
|
-
type: string;
|
|
10
|
-
description:
|
|
9
|
+
readonly type: "string";
|
|
10
|
+
readonly description: "Extension project root (needs a live dev session)";
|
|
11
11
|
};
|
|
12
12
|
context: {
|
|
13
13
|
type: string;
|
|
@@ -19,12 +19,12 @@ export declare const schema: {
|
|
|
19
19
|
description: string;
|
|
20
20
|
};
|
|
21
21
|
browser: {
|
|
22
|
-
type: string;
|
|
23
|
-
description:
|
|
22
|
+
readonly type: "string";
|
|
23
|
+
readonly description: "Session browser; defaults to this project's live session";
|
|
24
24
|
};
|
|
25
25
|
timeout: {
|
|
26
|
-
type:
|
|
27
|
-
description:
|
|
26
|
+
readonly type: "number";
|
|
27
|
+
readonly description: "Command timeout in ms (default 5000)";
|
|
28
28
|
};
|
|
29
29
|
};
|
|
30
30
|
required: string[];
|
|
@@ -33,8 +33,8 @@ export declare const schema: {
|
|
|
33
33
|
description: string;
|
|
34
34
|
};
|
|
35
35
|
api: {
|
|
36
|
-
type: string;
|
|
37
|
-
description:
|
|
36
|
+
readonly type: "string";
|
|
37
|
+
readonly description: "Platform base URL (default EXTENSION_DEV_API_URL, else https://www.extension.dev)";
|
|
38
38
|
};
|
|
39
39
|
};
|
|
40
40
|
required: never[];
|
|
@@ -7,7 +7,7 @@ export declare const schema: {
|
|
|
7
7
|
properties: {
|
|
8
8
|
profile: {
|
|
9
9
|
readonly type: "string";
|
|
10
|
-
readonly description: "
|
|
10
|
+
readonly description: "Profile path, or \"false\" to reuse the real user profile. Omit for a throwaway one.";
|
|
11
11
|
};
|
|
12
12
|
startingUrl: {
|
|
13
13
|
readonly type: "string";
|
|
@@ -15,35 +15,40 @@ export declare const schema: {
|
|
|
15
15
|
};
|
|
16
16
|
chromiumBinary: {
|
|
17
17
|
readonly type: "string";
|
|
18
|
-
readonly description: "
|
|
18
|
+
readonly description: "Custom Chromium-based binary (overrides browser)";
|
|
19
19
|
};
|
|
20
20
|
geckoBinary: {
|
|
21
21
|
readonly type: "string";
|
|
22
|
-
readonly description: "
|
|
22
|
+
readonly description: "Custom Gecko/Firefox binary (overrides browser)";
|
|
23
23
|
};
|
|
24
24
|
host: {
|
|
25
25
|
readonly type: "string";
|
|
26
|
-
readonly description: "
|
|
26
|
+
readonly description: "Bind host, default 127.0.0.1. Use 0.0.0.0 in Docker or devcontainers.";
|
|
27
27
|
};
|
|
28
28
|
publicHost: {
|
|
29
29
|
readonly type: "string";
|
|
30
|
-
readonly description: "
|
|
30
|
+
readonly description: "Host the browser dials for HMR and reload when it differs from the bind host";
|
|
31
31
|
};
|
|
32
32
|
extensions: {
|
|
33
33
|
readonly type: "array";
|
|
34
34
|
readonly items: {
|
|
35
35
|
readonly type: "string";
|
|
36
36
|
};
|
|
37
|
-
readonly description: "
|
|
37
|
+
readonly description: "Extra extension paths or store URLs to load alongside the project";
|
|
38
38
|
};
|
|
39
39
|
projectPath: {
|
|
40
|
-
type: string;
|
|
41
|
-
description:
|
|
40
|
+
readonly type: "string";
|
|
41
|
+
readonly description: "Extension project root";
|
|
42
42
|
};
|
|
43
43
|
browser: {
|
|
44
|
+
readonly type: "string";
|
|
45
|
+
readonly enum: readonly ["chrome", "chromium", "edge", "brave", "opera", "vivaldi", "yandex", "firefox", "waterfox", "librewolf", "safari", "chromium-based", "gecko-based", "firefox-based", "webkit-based"];
|
|
46
|
+
readonly default: "chrome";
|
|
47
|
+
};
|
|
48
|
+
build: {
|
|
44
49
|
type: string;
|
|
45
|
-
|
|
46
|
-
|
|
50
|
+
default: boolean;
|
|
51
|
+
description: string;
|
|
47
52
|
};
|
|
48
53
|
polyfill: {
|
|
49
54
|
type: string;
|
|
@@ -66,6 +71,7 @@ export declare const schema: {
|
|
|
66
71
|
export declare function handler(args: {
|
|
67
72
|
projectPath: string;
|
|
68
73
|
browser?: string;
|
|
74
|
+
build?: boolean;
|
|
69
75
|
polyfill?: boolean;
|
|
70
76
|
port?: number;
|
|
71
77
|
noBrowser?: boolean;
|
package/dist/src/tools/stop.d.ts
CHANGED
|
@@ -6,8 +6,8 @@ export declare const schema: {
|
|
|
6
6
|
type: "object";
|
|
7
7
|
properties: {
|
|
8
8
|
projectPath: {
|
|
9
|
-
type: string;
|
|
10
|
-
description:
|
|
9
|
+
readonly type: "string";
|
|
10
|
+
readonly description: "Extension project root (needs a live dev session)";
|
|
11
11
|
};
|
|
12
12
|
action: {
|
|
13
13
|
type: string;
|
|
@@ -32,12 +32,12 @@ export declare const schema: {
|
|
|
32
32
|
default: string;
|
|
33
33
|
};
|
|
34
34
|
browser: {
|
|
35
|
-
type: string;
|
|
36
|
-
description:
|
|
35
|
+
readonly type: "string";
|
|
36
|
+
readonly description: "Session browser; defaults to this project's live session";
|
|
37
37
|
};
|
|
38
38
|
timeout: {
|
|
39
|
-
type:
|
|
40
|
-
description:
|
|
39
|
+
readonly type: "number";
|
|
40
|
+
readonly description: "Command timeout in ms (default 5000)";
|
|
41
41
|
};
|
|
42
42
|
};
|
|
43
43
|
required: string[];
|
|
@@ -1,25 +1,3 @@
|
|
|
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
|
-
api: {
|
|
16
|
-
type: string;
|
|
17
|
-
description: string;
|
|
18
|
-
};
|
|
19
|
-
};
|
|
20
|
-
required: never[];
|
|
21
|
-
};
|
|
22
|
-
};
|
|
23
1
|
interface SubmissionView {
|
|
24
2
|
version?: string;
|
|
25
3
|
status?: string;
|
|
@@ -44,7 +22,7 @@ export interface NormalizedStoresStatus {
|
|
|
44
22
|
lastPollAt?: string;
|
|
45
23
|
}
|
|
46
24
|
export declare function normalizeStoresStatus(json: unknown): NormalizedStoresStatus;
|
|
47
|
-
export declare function
|
|
25
|
+
export declare function readStores(args: {
|
|
48
26
|
workspace?: string;
|
|
49
27
|
project?: string;
|
|
50
28
|
api?: string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export declare function storeMdWarnings(browsers: string[], cwd: string): string[];
|
|
2
|
-
export interface
|
|
2
|
+
export interface SubmitToolArgs {
|
|
3
3
|
browsers: string[];
|
|
4
4
|
buildSha: string;
|
|
5
5
|
channel?: string;
|
|
@@ -39,11 +39,11 @@ export declare const schema: {
|
|
|
39
39
|
description: string;
|
|
40
40
|
};
|
|
41
41
|
api: {
|
|
42
|
-
type: string;
|
|
43
|
-
description:
|
|
42
|
+
readonly type: "string";
|
|
43
|
+
readonly description: "Platform base URL (default EXTENSION_DEV_API_URL, else https://www.extension.dev)";
|
|
44
44
|
};
|
|
45
45
|
};
|
|
46
46
|
required: string[];
|
|
47
47
|
};
|
|
48
48
|
};
|
|
49
|
-
export declare function handler(args:
|
|
49
|
+
export declare function handler(args: SubmitToolArgs): Promise<string>;
|
|
@@ -4,54 +4,58 @@ export declare const schema: {
|
|
|
4
4
|
inputSchema: {
|
|
5
5
|
type: "object";
|
|
6
6
|
properties: {
|
|
7
|
-
|
|
7
|
+
action: {
|
|
8
8
|
type: string;
|
|
9
|
-
|
|
9
|
+
enum: string[];
|
|
10
|
+
default: string;
|
|
10
11
|
};
|
|
11
|
-
|
|
12
|
+
slug: {
|
|
12
13
|
type: string;
|
|
13
14
|
description: string;
|
|
14
15
|
};
|
|
15
|
-
|
|
16
|
+
files: {
|
|
16
17
|
type: string;
|
|
17
18
|
items: {
|
|
18
19
|
type: string;
|
|
19
20
|
};
|
|
20
21
|
description: string;
|
|
21
22
|
};
|
|
22
|
-
|
|
23
|
+
query: {
|
|
23
24
|
type: string;
|
|
24
|
-
items: {
|
|
25
|
-
type: string;
|
|
26
|
-
enum: string[];
|
|
27
|
-
};
|
|
28
|
-
default: string[];
|
|
29
25
|
description: string;
|
|
30
26
|
};
|
|
31
|
-
|
|
27
|
+
surface: {
|
|
28
|
+
type: string;
|
|
29
|
+
enum: string[];
|
|
30
|
+
description: string;
|
|
31
|
+
};
|
|
32
|
+
framework: {
|
|
32
33
|
type: string;
|
|
34
|
+
enum: string[];
|
|
33
35
|
description: string;
|
|
34
36
|
};
|
|
35
|
-
|
|
37
|
+
tags: {
|
|
36
38
|
type: string;
|
|
37
|
-
|
|
39
|
+
items: {
|
|
40
|
+
type: string;
|
|
41
|
+
};
|
|
38
42
|
description: string;
|
|
39
43
|
};
|
|
40
|
-
|
|
44
|
+
featured: {
|
|
41
45
|
type: string;
|
|
42
|
-
default: boolean;
|
|
43
46
|
description: string;
|
|
44
47
|
};
|
|
45
48
|
};
|
|
46
|
-
required:
|
|
49
|
+
required: never[];
|
|
47
50
|
};
|
|
48
51
|
};
|
|
49
52
|
export declare function handler(args: {
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
53
|
+
action?: string;
|
|
54
|
+
slug?: string;
|
|
55
|
+
files?: string[];
|
|
56
|
+
query?: string;
|
|
57
|
+
surface?: string;
|
|
58
|
+
framework?: string;
|
|
59
|
+
tags?: string[];
|
|
60
|
+
featured?: boolean;
|
|
57
61
|
}): Promise<string>;
|
|
@@ -1,24 +1,4 @@
|
|
|
1
|
-
export declare
|
|
2
|
-
name: string;
|
|
3
|
-
description: string;
|
|
4
|
-
inputSchema: {
|
|
5
|
-
type: "object";
|
|
6
|
-
properties: {
|
|
7
|
-
browser: {
|
|
8
|
-
type: string;
|
|
9
|
-
enum: string[];
|
|
10
|
-
description: string;
|
|
11
|
-
};
|
|
12
|
-
all: {
|
|
13
|
-
type: string;
|
|
14
|
-
default: boolean;
|
|
15
|
-
description: string;
|
|
16
|
-
};
|
|
17
|
-
};
|
|
18
|
-
required: never[];
|
|
19
|
-
};
|
|
20
|
-
};
|
|
21
|
-
export declare function handler(args: {
|
|
1
|
+
export declare function uninstallManagedBrowser(args: {
|
|
22
2
|
browser?: string;
|
|
23
3
|
all?: boolean;
|
|
24
4
|
}): Promise<string>;
|
package/dist/src/tools/wait.d.ts
CHANGED
|
@@ -5,12 +5,12 @@ export declare const schema: {
|
|
|
5
5
|
type: "object";
|
|
6
6
|
properties: {
|
|
7
7
|
projectPath: {
|
|
8
|
-
type: string;
|
|
9
|
-
description:
|
|
8
|
+
readonly type: "string";
|
|
9
|
+
readonly description: "Extension project root";
|
|
10
10
|
};
|
|
11
11
|
browser: {
|
|
12
|
-
type: string;
|
|
13
|
-
description:
|
|
12
|
+
readonly type: "string";
|
|
13
|
+
readonly description: "Session browser; defaults to this project's live session";
|
|
14
14
|
};
|
|
15
15
|
timeoutMs: {
|
|
16
16
|
type: string;
|