@methiu/raigal 0.2.2 → 0.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/dist/{AgentApp-CIiRfOun.js → AgentApp-DJYdD1VH.js} +4 -2
- package/dist/adapters/vite.js +2 -1
- package/dist/cli.js +500 -178
- package/dist/{finding-assessment-M5fUTE-C.js → finding-assessment-CGpt5YUR.js} +3 -0
- package/dist/index.d.ts +30 -0
- package/dist/index.js +388 -130
- package/dist/{json-DBoMe4xB.js → json-BflWt4dX.js} +2 -2
- package/dist/mcp.js +301 -105
- package/dist/{mount-DTc8WaIt.js → mount-CHGc3gB6.js} +1 -1
- package/dist/{sarif--DI_2p2r.js → sarif-CdtsAfJ1.js} +1 -1
- package/dist/{sarif-Ba5D8TPH.js → sarif-CpuYM3aK.js} +2 -2
- package/dist/{version-9Cnt1TiK.js → version-B4eYJn3o.js} +1 -1
- package/package.json +1 -1
- package/scripts/release-guard.mjs +2 -2
|
@@ -4,7 +4,7 @@ const mountAgentTui = async (store) => {
|
|
|
4
4
|
const [{ render }, React, { AgentApp }] = await Promise.all([
|
|
5
5
|
import("ink"),
|
|
6
6
|
import("react"),
|
|
7
|
-
import("./AgentApp-
|
|
7
|
+
import("./AgentApp-DJYdD1VH.js")
|
|
8
8
|
]);
|
|
9
9
|
process.stdout.write("\x1B[?1049h\x1B[?25l");
|
|
10
10
|
const instance = render(React.createElement(AgentApp, { store }), { exitOnCtrlC: false });
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as APP_VERSION } from "./version-
|
|
1
|
+
import { t as APP_VERSION } from "./version-B4eYJn3o.js";
|
|
2
2
|
import { n as isSecretClassRule, t as FIXED_SECRET_DIAGNOSTIC_MESSAGE } from "./mask-secrets-BXn-ZSEh.js";
|
|
3
3
|
import path from "node:path";
|
|
4
4
|
//#region src/output/sarif.ts
|
|
@@ -53,7 +53,7 @@ const buildSarifLog = (results) => {
|
|
|
53
53
|
version: SARIF_VERSION,
|
|
54
54
|
runs: [{
|
|
55
55
|
tool: { driver: {
|
|
56
|
-
name: "
|
|
56
|
+
name: "raigal",
|
|
57
57
|
version: APP_VERSION,
|
|
58
58
|
informationUri: "https://github.com/meethiu/raigal",
|
|
59
59
|
rules
|
package/package.json
CHANGED
|
@@ -4,10 +4,10 @@ import path from "node:path";
|
|
|
4
4
|
import { fileURLToPath } from "node:url";
|
|
5
5
|
|
|
6
6
|
const __dirname = path.dirname(fileURLToPath(import.meta.url));
|
|
7
|
-
const ROOT = path.resolve(__dirname, "..");
|
|
7
|
+
const ROOT = process.argv[2] ? path.resolve(process.argv[2]) : path.resolve(__dirname, "..");
|
|
8
8
|
const LICENSE_PATH = path.join(ROOT, "LICENSE");
|
|
9
9
|
|
|
10
|
-
const PLACEHOLDER_TOKEN = "";
|
|
10
|
+
const PLACEHOLDER_TOKEN = "[LICENCE TEXT TO BE SUPPLIED BY COUNSEL]";
|
|
11
11
|
|
|
12
12
|
if (!fs.existsSync(LICENSE_PATH)) {
|
|
13
13
|
console.error("Release guard error: LICENSE file is missing.");
|