create-skybridge 0.0.0-dev.d39b444 → 0.0.0-dev.d3e1d4f
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/dist/index.js +13 -8
- package/package.json +2 -2
- package/template/README.md +40 -18
- package/template/node_modules/.bin/alpic +21 -0
- package/template/node_modules/.bin/sb +2 -2
- package/template/node_modules/.bin/skybridge +2 -2
- package/template/node_modules/.bin/vite +2 -2
- package/template/package.json +6 -6
- package/template/web/src/widgets/magic-8-ball.tsx +8 -5
- package/template/node_modules/.bin/mcp-inspector +0 -21
package/dist/index.js
CHANGED
|
@@ -105,8 +105,8 @@ export async function init(args = process.argv.slice(2)) {
|
|
|
105
105
|
emptyDir(targetDir);
|
|
106
106
|
break;
|
|
107
107
|
case "no":
|
|
108
|
-
|
|
109
|
-
|
|
108
|
+
prompts.log.error("Target directory is not empty.");
|
|
109
|
+
process.exit(1);
|
|
110
110
|
}
|
|
111
111
|
}
|
|
112
112
|
const root = path.join(process.cwd(), targetDir);
|
|
@@ -247,19 +247,24 @@ function sanitizeTargetDir(targetDir) {
|
|
|
247
247
|
// Remove leading/trailing slashes
|
|
248
248
|
.replace(/^\/+|\/+$/g, ""));
|
|
249
249
|
}
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
return
|
|
250
|
+
// Skip user's SPEC.md and IDE/agent preferences (.idea, .claude, etc.)
|
|
251
|
+
function isSkippedEntry(entry) {
|
|
252
|
+
return ((entry.name.startsWith(".") && entry.isDirectory()) ||
|
|
253
|
+
entry.name === "SPEC.md");
|
|
254
|
+
}
|
|
255
|
+
function isEmpty(dirPath) {
|
|
256
|
+
const entries = fs.readdirSync(dirPath, { withFileTypes: true });
|
|
257
|
+
return entries.every(isSkippedEntry);
|
|
253
258
|
}
|
|
254
259
|
function emptyDir(dir) {
|
|
255
260
|
if (!fs.existsSync(dir)) {
|
|
256
261
|
return;
|
|
257
262
|
}
|
|
258
|
-
for (const
|
|
259
|
-
if (
|
|
263
|
+
for (const entry of fs.readdirSync(dir, { withFileTypes: true })) {
|
|
264
|
+
if (isSkippedEntry(entry)) {
|
|
260
265
|
continue;
|
|
261
266
|
}
|
|
262
|
-
fs.rmSync(path.
|
|
267
|
+
fs.rmSync(path.join(dir, entry.name), { recursive: true, force: true });
|
|
263
268
|
}
|
|
264
269
|
}
|
|
265
270
|
function getPkgExecCmd(pkgManager, cmd) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "create-skybridge",
|
|
3
|
-
"version": "0.0.0-dev.
|
|
3
|
+
"version": "0.0.0-dev.d3e1d4f",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Alpic",
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
],
|
|
19
19
|
"dependencies": {
|
|
20
20
|
"@clack/prompts": "^0.11.0",
|
|
21
|
-
"giget": "^
|
|
21
|
+
"giget": "^3.1.2",
|
|
22
22
|
"mri": "^1.2.0"
|
|
23
23
|
},
|
|
24
24
|
"devDependencies": {
|
package/template/README.md
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
# Skybridge Starter
|
|
2
2
|
|
|
3
|
-
A minimal TypeScript template for building
|
|
3
|
+
A minimal TypeScript template for building MCP and ChatGPT Apps with the [Skybridge](https://docs.skybridge.tech/home) framework.
|
|
4
4
|
|
|
5
5
|
## Getting Started
|
|
6
6
|
|
|
7
7
|
### Prerequisites
|
|
8
8
|
|
|
9
9
|
- Node.js 24+
|
|
10
|
-
- HTTP tunnel such as [ngrok](https://ngrok.com/download)
|
|
10
|
+
- HTTP tunnel such as [ngrok](https://ngrok.com/download) if you want to test with remote MCP hosts like ChatGPT or Claude.ai.
|
|
11
11
|
|
|
12
12
|
### Local Development
|
|
13
13
|
|
|
@@ -37,41 +37,63 @@ pnpm dev
|
|
|
37
37
|
bun dev
|
|
38
38
|
```
|
|
39
39
|
|
|
40
|
-
This command starts
|
|
40
|
+
This command starts:
|
|
41
|
+
- Your MCP server at `http://localhost:3000/mcp`.
|
|
42
|
+
- Skybridge DevTools UI at `http://localhost:3000/`.
|
|
41
43
|
|
|
42
|
-
|
|
43
|
-
- a React application on Vite HMR dev server (the UI elements to be displayed in the host)
|
|
44
|
+
#### 3. Project structure
|
|
44
45
|
|
|
45
|
-
#### 3. Connect to ChatGPT
|
|
46
|
-
|
|
47
|
-
- ChatGPT requires connectors to be publicly accessible. To expose your server on the Internet, run:
|
|
48
|
-
```bash
|
|
49
|
-
ngrok http 3000
|
|
50
46
|
```
|
|
51
|
-
|
|
47
|
+
├── server/
|
|
48
|
+
│ └── src/
|
|
49
|
+
│ ├── index.ts # Entry point
|
|
50
|
+
│ ├── middleware.ts # MCP middleware
|
|
51
|
+
│ └── server.ts # Widget registry & routes
|
|
52
|
+
├── web/
|
|
53
|
+
│ ├── src/
|
|
54
|
+
│ │ ├── widgets/ # React components (one per widget)
|
|
55
|
+
│ │ ├── helpers.ts # Shared utilities
|
|
56
|
+
│ │ └── index.css # Global styles
|
|
57
|
+
│ └── vite.config.ts
|
|
58
|
+
├── alpic.json # Deployment config
|
|
59
|
+
├── nodemon.json # Dev server config
|
|
60
|
+
└── package.json
|
|
61
|
+
```
|
|
52
62
|
|
|
53
63
|
### Create your first widget
|
|
54
64
|
|
|
55
65
|
#### 1. Add a new widget
|
|
56
66
|
|
|
57
|
-
- Register a widget in `server/server.ts` with a unique name (e.g., `my-widget`)
|
|
58
|
-
- Create a matching React component at `web/src/widgets/my-widget.tsx`. The file name must match the widget name exactly
|
|
67
|
+
- Register a widget in `server/src/server.ts` with a unique name (e.g., `my-widget`) using [`registerWidget`](https://docs.skybridge.tech/api-reference/register-widget)
|
|
68
|
+
- Create a matching React component at `web/src/widgets/my-widget.tsx`. **The file name must match the widget name exactly**.
|
|
59
69
|
|
|
60
70
|
#### 2. Edit widgets with Hot Module Replacement (HMR)
|
|
61
71
|
|
|
62
|
-
Edit and save components in `web/src/widgets/` — changes appear instantly
|
|
72
|
+
Edit and save components in `web/src/widgets/` — changes will appear instantly inside your App.
|
|
63
73
|
|
|
64
74
|
#### 3. Edit server code
|
|
65
75
|
|
|
66
|
-
Modify files in `server/` and
|
|
76
|
+
Modify files in `server/` and refresh the connection with your testing MCP Client to see the changes.
|
|
77
|
+
|
|
78
|
+
### Testing your App
|
|
79
|
+
|
|
80
|
+
You can test your App locally by using our DevTools UI on `localhost:3000` while running the `pnpm dev` command.
|
|
81
|
+
|
|
82
|
+
To test your app with other MCP Clients like ChatGPT, Claude or VSCode, see [Testing Your App](https://docs.skybridge.tech/quickstart/test-your-app).
|
|
83
|
+
|
|
67
84
|
|
|
68
85
|
## Deploy to Production
|
|
69
86
|
|
|
70
|
-
|
|
71
|
-
- In ChatGPT, navigate to **Settings → Connectors → Create** and add your MCP server URL (e.g., `https://your-app-name.alpic.live`)
|
|
87
|
+
Skybridge is infrastructure vendor agnostic, and your app can be deployed on any cloud platform supporting MCP.
|
|
72
88
|
|
|
73
|
-
|
|
89
|
+
Deploy your app in minutes with [Alpic](https://alpic.ai/).
|
|
90
|
+
1. Create an account on [Alpic platform](https://app.alpic.ai/).
|
|
91
|
+
2. Connect your GitHub repository to automatically deploy at each commit.
|
|
92
|
+
3. Use your remote App URL to connect it to MCP Clients, or use the Alpic Playground to easily test your App.
|
|
74
93
|
|
|
94
|
+
## Resources
|
|
95
|
+
- [Skybridge Documentation](https://docs.skybridge.tech/)
|
|
75
96
|
- [Apps SDK Documentation](https://developers.openai.com/apps-sdk)
|
|
97
|
+
- [MCP Apps Documentation](https://github.com/modelcontextprotocol/ext-apps/tree/main)
|
|
76
98
|
- [Model Context Protocol Documentation](https://modelcontextprotocol.io/)
|
|
77
99
|
- [Alpic Documentation](https://docs.alpic.ai/)
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
#!/bin/sh
|
|
2
|
+
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
|
|
3
|
+
|
|
4
|
+
case `uname` in
|
|
5
|
+
*CYGWIN*|*MINGW*|*MSYS*)
|
|
6
|
+
if command -v cygpath > /dev/null 2>&1; then
|
|
7
|
+
basedir=`cygpath -w "$basedir"`
|
|
8
|
+
fi
|
|
9
|
+
;;
|
|
10
|
+
esac
|
|
11
|
+
|
|
12
|
+
if [ -z "$NODE_PATH" ]; then
|
|
13
|
+
export NODE_PATH="/home/runner/work/skybridge/skybridge/node_modules/.pnpm/alpic@1.84.3/node_modules/alpic/bin/node_modules:/home/runner/work/skybridge/skybridge/node_modules/.pnpm/alpic@1.84.3/node_modules/alpic/node_modules:/home/runner/work/skybridge/skybridge/node_modules/.pnpm/alpic@1.84.3/node_modules:/home/runner/work/skybridge/skybridge/node_modules/.pnpm/node_modules"
|
|
14
|
+
else
|
|
15
|
+
export NODE_PATH="/home/runner/work/skybridge/skybridge/node_modules/.pnpm/alpic@1.84.3/node_modules/alpic/bin/node_modules:/home/runner/work/skybridge/skybridge/node_modules/.pnpm/alpic@1.84.3/node_modules/alpic/node_modules:/home/runner/work/skybridge/skybridge/node_modules/.pnpm/alpic@1.84.3/node_modules:/home/runner/work/skybridge/skybridge/node_modules/.pnpm/node_modules:$NODE_PATH"
|
|
16
|
+
fi
|
|
17
|
+
if [ -x "$basedir/node" ]; then
|
|
18
|
+
exec "$basedir/node" "$basedir/../alpic/bin/run.js" "$@"
|
|
19
|
+
else
|
|
20
|
+
exec node "$basedir/../alpic/bin/run.js" "$@"
|
|
21
|
+
fi
|
|
@@ -10,9 +10,9 @@ case `uname` in
|
|
|
10
10
|
esac
|
|
11
11
|
|
|
12
12
|
if [ -z "$NODE_PATH" ]; then
|
|
13
|
-
export NODE_PATH="/home/runner/work/skybridge/skybridge/node_modules/.pnpm/skybridge@0.
|
|
13
|
+
export NODE_PATH="/home/runner/work/skybridge/skybridge/node_modules/.pnpm/skybridge@0.29.1_@modelcontextprotocol+sdk@1.25.2_hono@4.11.9_zod@4.3.6__@types+node@25_3c7ccbf0a346b8841a3960a8af6d4057/node_modules/skybridge/bin/node_modules:/home/runner/work/skybridge/skybridge/node_modules/.pnpm/skybridge@0.29.1_@modelcontextprotocol+sdk@1.25.2_hono@4.11.9_zod@4.3.6__@types+node@25_3c7ccbf0a346b8841a3960a8af6d4057/node_modules/skybridge/node_modules:/home/runner/work/skybridge/skybridge/node_modules/.pnpm/skybridge@0.29.1_@modelcontextprotocol+sdk@1.25.2_hono@4.11.9_zod@4.3.6__@types+node@25_3c7ccbf0a346b8841a3960a8af6d4057/node_modules:/home/runner/work/skybridge/skybridge/node_modules/.pnpm/node_modules"
|
|
14
14
|
else
|
|
15
|
-
export NODE_PATH="/home/runner/work/skybridge/skybridge/node_modules/.pnpm/skybridge@0.
|
|
15
|
+
export NODE_PATH="/home/runner/work/skybridge/skybridge/node_modules/.pnpm/skybridge@0.29.1_@modelcontextprotocol+sdk@1.25.2_hono@4.11.9_zod@4.3.6__@types+node@25_3c7ccbf0a346b8841a3960a8af6d4057/node_modules/skybridge/bin/node_modules:/home/runner/work/skybridge/skybridge/node_modules/.pnpm/skybridge@0.29.1_@modelcontextprotocol+sdk@1.25.2_hono@4.11.9_zod@4.3.6__@types+node@25_3c7ccbf0a346b8841a3960a8af6d4057/node_modules/skybridge/node_modules:/home/runner/work/skybridge/skybridge/node_modules/.pnpm/skybridge@0.29.1_@modelcontextprotocol+sdk@1.25.2_hono@4.11.9_zod@4.3.6__@types+node@25_3c7ccbf0a346b8841a3960a8af6d4057/node_modules:/home/runner/work/skybridge/skybridge/node_modules/.pnpm/node_modules:$NODE_PATH"
|
|
16
16
|
fi
|
|
17
17
|
if [ -x "$basedir/node" ]; then
|
|
18
18
|
exec "$basedir/node" "$basedir/../skybridge/bin/run.js" "$@"
|
|
@@ -10,9 +10,9 @@ case `uname` in
|
|
|
10
10
|
esac
|
|
11
11
|
|
|
12
12
|
if [ -z "$NODE_PATH" ]; then
|
|
13
|
-
export NODE_PATH="/home/runner/work/skybridge/skybridge/node_modules/.pnpm/skybridge@0.
|
|
13
|
+
export NODE_PATH="/home/runner/work/skybridge/skybridge/node_modules/.pnpm/skybridge@0.29.1_@modelcontextprotocol+sdk@1.25.2_hono@4.11.9_zod@4.3.6__@types+node@25_3c7ccbf0a346b8841a3960a8af6d4057/node_modules/skybridge/bin/node_modules:/home/runner/work/skybridge/skybridge/node_modules/.pnpm/skybridge@0.29.1_@modelcontextprotocol+sdk@1.25.2_hono@4.11.9_zod@4.3.6__@types+node@25_3c7ccbf0a346b8841a3960a8af6d4057/node_modules/skybridge/node_modules:/home/runner/work/skybridge/skybridge/node_modules/.pnpm/skybridge@0.29.1_@modelcontextprotocol+sdk@1.25.2_hono@4.11.9_zod@4.3.6__@types+node@25_3c7ccbf0a346b8841a3960a8af6d4057/node_modules:/home/runner/work/skybridge/skybridge/node_modules/.pnpm/node_modules"
|
|
14
14
|
else
|
|
15
|
-
export NODE_PATH="/home/runner/work/skybridge/skybridge/node_modules/.pnpm/skybridge@0.
|
|
15
|
+
export NODE_PATH="/home/runner/work/skybridge/skybridge/node_modules/.pnpm/skybridge@0.29.1_@modelcontextprotocol+sdk@1.25.2_hono@4.11.9_zod@4.3.6__@types+node@25_3c7ccbf0a346b8841a3960a8af6d4057/node_modules/skybridge/bin/node_modules:/home/runner/work/skybridge/skybridge/node_modules/.pnpm/skybridge@0.29.1_@modelcontextprotocol+sdk@1.25.2_hono@4.11.9_zod@4.3.6__@types+node@25_3c7ccbf0a346b8841a3960a8af6d4057/node_modules/skybridge/node_modules:/home/runner/work/skybridge/skybridge/node_modules/.pnpm/skybridge@0.29.1_@modelcontextprotocol+sdk@1.25.2_hono@4.11.9_zod@4.3.6__@types+node@25_3c7ccbf0a346b8841a3960a8af6d4057/node_modules:/home/runner/work/skybridge/skybridge/node_modules/.pnpm/node_modules:$NODE_PATH"
|
|
16
16
|
fi
|
|
17
17
|
if [ -x "$basedir/node" ]; then
|
|
18
18
|
exec "$basedir/node" "$basedir/../skybridge/bin/run.js" "$@"
|
|
@@ -10,9 +10,9 @@ case `uname` in
|
|
|
10
10
|
esac
|
|
11
11
|
|
|
12
12
|
if [ -z "$NODE_PATH" ]; then
|
|
13
|
-
export NODE_PATH="/home/runner/work/skybridge/skybridge/node_modules/.pnpm/vite@7.3.1_@types+node@
|
|
13
|
+
export NODE_PATH="/home/runner/work/skybridge/skybridge/node_modules/.pnpm/vite@7.3.1_@types+node@25.2.1_jiti@2.6.1_lightningcss@1.30.2_terser@5.44.1_tsx@4.21.0_yaml@2.8.2/node_modules/vite/bin/node_modules:/home/runner/work/skybridge/skybridge/node_modules/.pnpm/vite@7.3.1_@types+node@25.2.1_jiti@2.6.1_lightningcss@1.30.2_terser@5.44.1_tsx@4.21.0_yaml@2.8.2/node_modules/vite/node_modules:/home/runner/work/skybridge/skybridge/node_modules/.pnpm/vite@7.3.1_@types+node@25.2.1_jiti@2.6.1_lightningcss@1.30.2_terser@5.44.1_tsx@4.21.0_yaml@2.8.2/node_modules:/home/runner/work/skybridge/skybridge/node_modules/.pnpm/node_modules"
|
|
14
14
|
else
|
|
15
|
-
export NODE_PATH="/home/runner/work/skybridge/skybridge/node_modules/.pnpm/vite@7.3.1_@types+node@
|
|
15
|
+
export NODE_PATH="/home/runner/work/skybridge/skybridge/node_modules/.pnpm/vite@7.3.1_@types+node@25.2.1_jiti@2.6.1_lightningcss@1.30.2_terser@5.44.1_tsx@4.21.0_yaml@2.8.2/node_modules/vite/bin/node_modules:/home/runner/work/skybridge/skybridge/node_modules/.pnpm/vite@7.3.1_@types+node@25.2.1_jiti@2.6.1_lightningcss@1.30.2_terser@5.44.1_tsx@4.21.0_yaml@2.8.2/node_modules/vite/node_modules:/home/runner/work/skybridge/skybridge/node_modules/.pnpm/vite@7.3.1_@types+node@25.2.1_jiti@2.6.1_lightningcss@1.30.2_terser@5.44.1_tsx@4.21.0_yaml@2.8.2/node_modules:/home/runner/work/skybridge/skybridge/node_modules/.pnpm/node_modules:$NODE_PATH"
|
|
16
16
|
fi
|
|
17
17
|
if [ -x "$basedir/node" ]; then
|
|
18
18
|
exec "$basedir/node" "$basedir/../vite/bin/vite.js" "$@"
|
package/template/package.json
CHANGED
|
@@ -8,26 +8,26 @@
|
|
|
8
8
|
"dev": "skybridge dev",
|
|
9
9
|
"build": "skybridge build",
|
|
10
10
|
"start": "skybridge start",
|
|
11
|
-
"
|
|
11
|
+
"deploy": "alpic deploy"
|
|
12
12
|
},
|
|
13
13
|
"dependencies": {
|
|
14
|
-
"@modelcontextprotocol/sdk": "^1.25.
|
|
14
|
+
"@modelcontextprotocol/sdk": "^1.25.2",
|
|
15
15
|
"cors": "^2.8.6",
|
|
16
16
|
"express": "^5.2.1",
|
|
17
17
|
"react": "^19.2.4",
|
|
18
18
|
"react-dom": "^19.2.4",
|
|
19
|
-
"skybridge": ">=0.
|
|
19
|
+
"skybridge": ">=0.29.1 <1.0.0",
|
|
20
20
|
"vite": "^7.3.1",
|
|
21
21
|
"zod": "^4.3.6"
|
|
22
22
|
},
|
|
23
23
|
"devDependencies": {
|
|
24
|
-
"@modelcontextprotocol/inspector": "^0.19.0",
|
|
25
24
|
"@skybridge/devtools": ">=0.26.1 <1.0.0",
|
|
26
25
|
"@types/cors": "^2.8.19",
|
|
27
26
|
"@types/express": "^5.0.6",
|
|
28
|
-
"@types/react": "^19.2.
|
|
27
|
+
"@types/react": "^19.2.13",
|
|
29
28
|
"@types/react-dom": "^19.2.3",
|
|
30
|
-
"@vitejs/plugin-react": "^5.1.
|
|
29
|
+
"@vitejs/plugin-react": "^5.1.4",
|
|
30
|
+
"alpic": "^1.84.3",
|
|
31
31
|
"nodemon": "^3.1.11",
|
|
32
32
|
"tsx": "^4.21.0",
|
|
33
33
|
"typescript": "^5.9.3"
|
|
@@ -5,15 +5,18 @@ import { useToolInfo } from "../helpers";
|
|
|
5
5
|
|
|
6
6
|
function Magic8Ball() {
|
|
7
7
|
const { input, output } = useToolInfo<"magic-8-ball">();
|
|
8
|
-
if (!output) {
|
|
9
|
-
return <div>Shaking...</div>;
|
|
10
|
-
}
|
|
11
8
|
|
|
12
9
|
return (
|
|
13
10
|
<div className="container">
|
|
14
11
|
<div className="ball">
|
|
15
|
-
|
|
16
|
-
|
|
12
|
+
{output ? (
|
|
13
|
+
<>
|
|
14
|
+
<div className="question">{input.question}</div>
|
|
15
|
+
<div className="answer">{output.answer}</div>
|
|
16
|
+
</>
|
|
17
|
+
) : (
|
|
18
|
+
<div className="question">Shaking...</div>
|
|
19
|
+
)}
|
|
17
20
|
</div>
|
|
18
21
|
</div>
|
|
19
22
|
);
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
#!/bin/sh
|
|
2
|
-
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
|
|
3
|
-
|
|
4
|
-
case `uname` in
|
|
5
|
-
*CYGWIN*|*MINGW*|*MSYS*)
|
|
6
|
-
if command -v cygpath > /dev/null 2>&1; then
|
|
7
|
-
basedir=`cygpath -w "$basedir"`
|
|
8
|
-
fi
|
|
9
|
-
;;
|
|
10
|
-
esac
|
|
11
|
-
|
|
12
|
-
if [ -z "$NODE_PATH" ]; then
|
|
13
|
-
export NODE_PATH="/home/runner/work/skybridge/skybridge/node_modules/.pnpm/@modelcontextprotocol+inspector@0.19.0_@types+node@24.10.9_@types+react-dom@19.2.3_@typ_41033ef40504844615e138b3524ee95a/node_modules/@modelcontextprotocol/inspector/cli/build/node_modules:/home/runner/work/skybridge/skybridge/node_modules/.pnpm/@modelcontextprotocol+inspector@0.19.0_@types+node@24.10.9_@types+react-dom@19.2.3_@typ_41033ef40504844615e138b3524ee95a/node_modules/@modelcontextprotocol/inspector/cli/node_modules:/home/runner/work/skybridge/skybridge/node_modules/.pnpm/@modelcontextprotocol+inspector@0.19.0_@types+node@24.10.9_@types+react-dom@19.2.3_@typ_41033ef40504844615e138b3524ee95a/node_modules/@modelcontextprotocol/inspector/node_modules:/home/runner/work/skybridge/skybridge/node_modules/.pnpm/@modelcontextprotocol+inspector@0.19.0_@types+node@24.10.9_@types+react-dom@19.2.3_@typ_41033ef40504844615e138b3524ee95a/node_modules/@modelcontextprotocol/node_modules:/home/runner/work/skybridge/skybridge/node_modules/.pnpm/@modelcontextprotocol+inspector@0.19.0_@types+node@24.10.9_@types+react-dom@19.2.3_@typ_41033ef40504844615e138b3524ee95a/node_modules:/home/runner/work/skybridge/skybridge/node_modules/.pnpm/node_modules"
|
|
14
|
-
else
|
|
15
|
-
export NODE_PATH="/home/runner/work/skybridge/skybridge/node_modules/.pnpm/@modelcontextprotocol+inspector@0.19.0_@types+node@24.10.9_@types+react-dom@19.2.3_@typ_41033ef40504844615e138b3524ee95a/node_modules/@modelcontextprotocol/inspector/cli/build/node_modules:/home/runner/work/skybridge/skybridge/node_modules/.pnpm/@modelcontextprotocol+inspector@0.19.0_@types+node@24.10.9_@types+react-dom@19.2.3_@typ_41033ef40504844615e138b3524ee95a/node_modules/@modelcontextprotocol/inspector/cli/node_modules:/home/runner/work/skybridge/skybridge/node_modules/.pnpm/@modelcontextprotocol+inspector@0.19.0_@types+node@24.10.9_@types+react-dom@19.2.3_@typ_41033ef40504844615e138b3524ee95a/node_modules/@modelcontextprotocol/inspector/node_modules:/home/runner/work/skybridge/skybridge/node_modules/.pnpm/@modelcontextprotocol+inspector@0.19.0_@types+node@24.10.9_@types+react-dom@19.2.3_@typ_41033ef40504844615e138b3524ee95a/node_modules/@modelcontextprotocol/node_modules:/home/runner/work/skybridge/skybridge/node_modules/.pnpm/@modelcontextprotocol+inspector@0.19.0_@types+node@24.10.9_@types+react-dom@19.2.3_@typ_41033ef40504844615e138b3524ee95a/node_modules:/home/runner/work/skybridge/skybridge/node_modules/.pnpm/node_modules:$NODE_PATH"
|
|
16
|
-
fi
|
|
17
|
-
if [ -x "$basedir/node" ]; then
|
|
18
|
-
exec "$basedir/node" "$basedir/../@modelcontextprotocol/inspector/cli/build/cli.js" "$@"
|
|
19
|
-
else
|
|
20
|
-
exec node "$basedir/../@modelcontextprotocol/inspector/cli/build/cli.js" "$@"
|
|
21
|
-
fi
|