@mastra/github-signals 0.0.0-knowledge-studio-20261029065150 → 0.0.0-knowledge-alpha-studio-20261030162625
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.cjs +4 -8
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +3 -6
- package/dist/index.js.map +1 -1
- package/package.json +5 -5
package/dist/index.cjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
|
|
2
|
+
// \0rolldown/runtime.js
|
|
3
3
|
var __create = Object.create;
|
|
4
4
|
var __defProp = Object.defineProperty;
|
|
5
5
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
@@ -20,7 +20,6 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
20
20
|
value: mod,
|
|
21
21
|
enumerable: true
|
|
22
22
|
}) : target, mod));
|
|
23
|
-
//#endregion
|
|
24
23
|
let crypto = require("crypto");
|
|
25
24
|
let fs_promises = require("fs/promises");
|
|
26
25
|
let os = require("os");
|
|
@@ -30,7 +29,7 @@ let _mastra_core_signals = require("@mastra/core/signals");
|
|
|
30
29
|
let _mastra_core_tools = require("@mastra/core/tools");
|
|
31
30
|
let zod = require("zod");
|
|
32
31
|
zod = __toESM(zod, 1);
|
|
33
|
-
|
|
32
|
+
// src/github-auth-env.ts
|
|
34
33
|
let execFileAsync$2;
|
|
35
34
|
/** Environment variables both gitcrawl and the `gh` CLI treat as a GitHub credential. */
|
|
36
35
|
const GITHUB_TOKEN_ENV_VARS = ["GH_TOKEN", "GITHUB_TOKEN"];
|
|
@@ -77,8 +76,7 @@ async function resolveGithubAuthEnv() {
|
|
|
77
76
|
GITHUB_TOKEN: token
|
|
78
77
|
};
|
|
79
78
|
}
|
|
80
|
-
|
|
81
|
-
//#region src/github-app-owner.ts
|
|
79
|
+
// src/github-app-owner.ts
|
|
82
80
|
const OWNER_CACHE_TTL_MS = 864e5;
|
|
83
81
|
let execFileAsync$1;
|
|
84
82
|
const defaultRunGhApi = async (args) => {
|
|
@@ -134,8 +132,7 @@ var GithubAppOwnerResolver = class {
|
|
|
134
132
|
};
|
|
135
133
|
}
|
|
136
134
|
};
|
|
137
|
-
|
|
138
|
-
//#region src/index.ts
|
|
135
|
+
// src/index.ts
|
|
139
136
|
let _execFileAsync;
|
|
140
137
|
async function execFileAsync(file, args, options) {
|
|
141
138
|
if (!_execFileAsync) {
|
|
@@ -1932,7 +1929,6 @@ var GithubSignals = class extends _mastra_core_signals.SignalProvider {
|
|
|
1932
1929
|
});
|
|
1933
1930
|
}
|
|
1934
1931
|
};
|
|
1935
|
-
//#endregion
|
|
1936
1932
|
exports.GITHUB_SIGNALS_METADATA_KEY = GITHUB_SIGNALS_METADATA_KEY;
|
|
1937
1933
|
exports.GITHUB_SUBSCRIBE_PR_TAG = GITHUB_SUBSCRIBE_PR_TAG;
|
|
1938
1934
|
exports.GITHUB_SYNC_STATUS_TAG = GITHUB_SYNC_STATUS_TAG;
|