@aku11i/phantom 2.2.0 → 2.2.3
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/package.json +1 -1
- package/phantom.js +7 -3
package/package.json
CHANGED
package/phantom.js
CHANGED
|
@@ -9521,7 +9521,11 @@ async function getGitHubToken() {
|
|
|
9521
9521
|
}
|
|
9522
9522
|
async function createGitHubClient() {
|
|
9523
9523
|
const token = await getGitHubToken();
|
|
9524
|
-
|
|
9524
|
+
const options = { auth: token };
|
|
9525
|
+
if (process.env.GH_HOST) {
|
|
9526
|
+
options.baseUrl = `https://${process.env.GH_HOST}/api/v3`;
|
|
9527
|
+
}
|
|
9528
|
+
return new Octokit2(options);
|
|
9525
9529
|
}
|
|
9526
9530
|
|
|
9527
9531
|
// ../github/src/api/pull-request.ts
|
|
@@ -13348,7 +13352,7 @@ var StdioServerTransport = class {
|
|
|
13348
13352
|
// ../mcp/package.json
|
|
13349
13353
|
var package_default = {
|
|
13350
13354
|
name: "@aku11i/phantom-mcp",
|
|
13351
|
-
version: "2.2.
|
|
13355
|
+
version: "2.2.3",
|
|
13352
13356
|
private: true,
|
|
13353
13357
|
type: "module",
|
|
13354
13358
|
main: "./src/index.ts",
|
|
@@ -13846,7 +13850,7 @@ import { parseArgs as parseArgs10 } from "node:util";
|
|
|
13846
13850
|
// package.json
|
|
13847
13851
|
var package_default2 = {
|
|
13848
13852
|
name: "@aku11i/phantom-cli",
|
|
13849
|
-
version: "2.2.
|
|
13853
|
+
version: "2.2.3",
|
|
13850
13854
|
private: true,
|
|
13851
13855
|
type: "module",
|
|
13852
13856
|
scripts: {
|