auto-chrome-mcp-shared 1.8.0 → 1.10.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/README.md +5 -5
- package/dist/index.d.mts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +2 -2
- package/dist/index.mjs +2 -2
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
# chrome-mcp-
|
|
1
|
+
# auto-chrome-mcp-shared
|
|
2
2
|
|
|
3
|
-
Internal shared types, constants, and message contracts used by the [auto-chrome-mcp](https://github.com/cw02326/auto-chrome-mcp) Chrome extension and the [`
|
|
3
|
+
Internal shared types, constants, and message contracts used by the [auto-chrome-mcp](https://github.com/cw02326/auto-chrome-mcp) Chrome extension and the [`auto-chrome-mcp-bridge`](https://www.npmjs.com/package/auto-chrome-mcp-bridge) Node.js Native Messaging host.
|
|
4
4
|
|
|
5
5
|
**Not intended for direct end-user consumption.** Public APIs are not guaranteed stable across minor versions — pin a specific version if you depend on it.
|
|
6
6
|
|
|
7
7
|
## Install
|
|
8
8
|
|
|
9
9
|
```bash
|
|
10
|
-
npm install chrome-mcp-
|
|
10
|
+
npm install auto-chrome-mcp-shared
|
|
11
11
|
```
|
|
12
12
|
|
|
13
13
|
## Usage
|
|
14
14
|
|
|
15
15
|
```ts
|
|
16
|
-
import { TOOL_NAMES, NativeMessageType } from 'chrome-mcp-
|
|
16
|
+
import { TOOL_NAMES, NativeMessageType } from 'auto-chrome-mcp-shared';
|
|
17
17
|
```
|
|
18
18
|
|
|
19
19
|
Subpath exports: `constants`, `types`, `tools`, `rr-graph`, `step-types`, `labels`, `node-spec`, `node-spec-registry`, `node-specs-builtin`, `agent-types`.
|
|
@@ -21,7 +21,7 @@ Subpath exports: `constants`, `types`, `tools`, `rr-graph`, `step-types`, `label
|
|
|
21
21
|
## Links
|
|
22
22
|
|
|
23
23
|
- Source & issues: <https://github.com/cw02326/auto-chrome-mcp>
|
|
24
|
-
- Bridge package: <https://www.npmjs.com/package/
|
|
24
|
+
- Bridge package: <https://www.npmjs.com/package/auto-chrome-mcp-bridge>
|
|
25
25
|
|
|
26
26
|
## License
|
|
27
27
|
|
package/dist/index.d.mts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Tool } from '@modelcontextprotocol/sdk/types.js';
|
|
2
2
|
|
|
3
3
|
declare const DEFAULT_SERVER_PORT = 12320;
|
|
4
|
-
declare const HOST_NAME = "com.
|
|
4
|
+
declare const HOST_NAME = "com.autochromemcp.nativehost";
|
|
5
5
|
|
|
6
6
|
declare enum NativeMessageType {
|
|
7
7
|
START = "start",
|
package/dist/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Tool } from '@modelcontextprotocol/sdk/types.js';
|
|
2
2
|
|
|
3
3
|
declare const DEFAULT_SERVER_PORT = 12320;
|
|
4
|
-
declare const HOST_NAME = "com.
|
|
4
|
+
declare const HOST_NAME = "com.autochromemcp.nativehost";
|
|
5
5
|
|
|
6
6
|
declare enum NativeMessageType {
|
|
7
7
|
START = "start",
|
package/dist/index.js
CHANGED
|
@@ -45,7 +45,7 @@ module.exports = __toCommonJS(index_exports);
|
|
|
45
45
|
|
|
46
46
|
// src/constants.ts
|
|
47
47
|
var DEFAULT_SERVER_PORT = 12320;
|
|
48
|
-
var HOST_NAME = "com.
|
|
48
|
+
var HOST_NAME = "com.autochromemcp.nativehost";
|
|
49
49
|
|
|
50
50
|
// src/types.ts
|
|
51
51
|
var NativeMessageType = /* @__PURE__ */ ((NativeMessageType2) => {
|
|
@@ -804,7 +804,7 @@ Tip: If the returned elements do not include the specific element you need, use
|
|
|
804
804
|
},
|
|
805
805
|
{
|
|
806
806
|
name: TOOL_NAMES.BROWSER.SWITCH_TAB,
|
|
807
|
-
description: "
|
|
807
|
+
description: "Bring a tab to the front (activates it and can take OS focus). Use ONLY when the user explicitly asked to switch/show a tab. To retarget automation at another tab without disturbing the user, use chrome_set_work_tab instead - this tool is exempt from the no-interference gate, so it will actually change what the user is looking at.",
|
|
808
808
|
inputSchema: {
|
|
809
809
|
type: "object",
|
|
810
810
|
properties: {
|
package/dist/index.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// src/constants.ts
|
|
2
2
|
var DEFAULT_SERVER_PORT = 12320;
|
|
3
|
-
var HOST_NAME = "com.
|
|
3
|
+
var HOST_NAME = "com.autochromemcp.nativehost";
|
|
4
4
|
|
|
5
5
|
// src/types.ts
|
|
6
6
|
var NativeMessageType = /* @__PURE__ */ ((NativeMessageType2) => {
|
|
@@ -759,7 +759,7 @@ Tip: If the returned elements do not include the specific element you need, use
|
|
|
759
759
|
},
|
|
760
760
|
{
|
|
761
761
|
name: TOOL_NAMES.BROWSER.SWITCH_TAB,
|
|
762
|
-
description: "
|
|
762
|
+
description: "Bring a tab to the front (activates it and can take OS focus). Use ONLY when the user explicitly asked to switch/show a tab. To retarget automation at another tab without disturbing the user, use chrome_set_work_tab instead - this tool is exempt from the no-interference gate, so it will actually change what the user is looking at.",
|
|
763
763
|
inputSchema: {
|
|
764
764
|
type: "object",
|
|
765
765
|
properties: {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "auto-chrome-mcp-shared",
|
|
3
|
-
"version": "1.
|
|
4
|
-
"author": "hangye (upstream),
|
|
3
|
+
"version": "1.10.0",
|
|
4
|
+
"author": "hangye (upstream), cw02326 (auto-chrome-mcp fork)",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
7
7
|
"url": "https://github.com/cw02326/auto-chrome-mcp.git",
|