gadriel 1.1.5 → 1.2.1

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 CHANGED
@@ -5,6 +5,10 @@ SAST, SCA, secret, config, container, and API scans over your codebase and
5
5
  integrates with AI coding agents (Claude Code, Cursor, Copilot) via git hooks
6
6
  and an MCP server.
7
7
 
8
+ > **📖 Full documentation:** **[https://gadriel.ai/docs](https://gadriel.ai/docs)**
9
+ > — installation, authentication, first run, the CLI reference, supported
10
+ > languages, AI-assistant integration, false-positive handling, and more.
11
+
8
12
  > **Beta program:** This release is part of the Gadriel developer beta.
9
13
  > Sign up at [https://app.gadriel.ai/developers/](https://app.gadriel.ai/developers/)
10
14
  > to get your CLI token.
@@ -172,7 +176,7 @@ open .security/reports/index.html
172
176
 
173
177
  ## Getting started (full guide)
174
178
 
175
- Full onboarding guide: [docs/beta/getting-started.md](https://github.com/Gadriel-ai/preflight/blob/main/docs/beta/getting-started.md)
179
+ Full onboarding guide: [https://gadriel.ai/docs](https://gadriel.ai/docs)
176
180
 
177
181
  ## Code-security commands
178
182
 
@@ -232,11 +236,11 @@ Slash commands available:
232
236
  | `2` | Tooling error / crash |
233
237
  | `7` | Auth required — run `gadriel auth login` |
234
238
 
235
- ## Documentation
239
+ ## Documentation & support
236
240
 
237
- - Getting started: https://app.gadriel.ai/developers/
238
- - Full docs: https://gadriel.ai
239
- - Issues: https://github.com/Gadriel-ai/preflight/issues
241
+ - **Full docs: https://gadriel.ai/docs**
242
+ - Getting started / CLI tokens: https://app.gadriel.ai/developers/
243
+ - Support: https://gadriel.ai/docs
240
244
 
241
245
  ## License
242
246
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gadriel",
3
- "version": "1.1.5",
3
+ "version": "1.2.1",
4
4
  "description": "Gadriel - Code-security CLI for AI-assisted development",
5
5
  "keywords": [
6
6
  "security",
@@ -11,7 +11,7 @@
11
11
  "scanner"
12
12
  ],
13
13
  "homepage": "https://gadriel.ai",
14
- "bugs": "https://github.com/Gadriel-ai/preflight/issues",
14
+ "bugs": "https://gadriel.ai/docs",
15
15
  "repository": {
16
16
  "type": "git",
17
17
  "url": "git+https://github.com/Gadriel-ai/preflight.git",
@@ -25,21 +25,19 @@
25
25
  },
26
26
  "files": [
27
27
  "bin/gadriel.cjs",
28
- "scripts/postinstall.js",
29
28
  "README.md"
30
29
  ],
31
30
  "scripts": {
32
- "postinstall": "node scripts/postinstall.js || true",
33
31
  "test": "node --test test/shim.test.cjs"
34
32
  },
35
33
  "engines": {
36
34
  "node": ">=18"
37
35
  },
38
36
  "optionalDependencies": {
39
- "@gadriel/cli-linux-x64": "1.1.5",
40
- "@gadriel/cli-linux-arm64": "1.1.5",
41
- "@gadriel/cli-darwin-x64": "1.1.5",
42
- "@gadriel/cli-darwin-arm64": "1.1.5",
43
- "@gadriel/cli-win32-x64": "1.1.5"
37
+ "@gadriel/cli-linux-x64": "1.2.1",
38
+ "@gadriel/cli-linux-arm64": "1.2.1",
39
+ "@gadriel/cli-darwin-x64": "1.2.1",
40
+ "@gadriel/cli-darwin-arm64": "1.2.1",
41
+ "@gadriel/cli-win32-x64": "1.2.1"
44
42
  }
45
43
  }
@@ -1,47 +0,0 @@
1
- #!/usr/bin/env node
2
- // Lightweight install-time sanity check.
3
- //
4
- // We do NOT download anything here (the optionalDependencies pattern
5
- // is the whole point: npm fetches the right binary directly). This
6
- // script only verifies a platform package was resolved and prints a
7
- // helpful message if it wasn't, so users find out at install time
8
- // instead of at first invocation.
9
- //
10
- // `|| true` in package.json means a missing platform package never
11
- // fails the install — `bin/gadriel.js` will give a more actionable
12
- // error on the first run.
13
-
14
- import { createRequire } from "node:module";
15
- import { platform, arch } from "node:process";
16
-
17
- const require = createRequire(import.meta.url);
18
-
19
- const MAP = {
20
- "linux-x64": "@gadriel/cli-linux-x64",
21
- "linux-arm64": "@gadriel/cli-linux-arm64",
22
- "darwin-x64": "@gadriel/cli-darwin-x64",
23
- "darwin-arm64": "@gadriel/cli-darwin-arm64",
24
- "win32-x64": "@gadriel/cli-win32-x64",
25
- };
26
-
27
- const key = `${platform}-${arch}`;
28
- const target = MAP[key];
29
-
30
- if (!target) {
31
- console.warn(
32
- `gadriel: no prebuilt binary for ${key}. ` +
33
- `Open an issue at https://github.com/Gadriel-ai/preflight/issues`
34
- );
35
- process.exit(0); // don't fail npm install
36
- }
37
-
38
- try {
39
- require.resolve(`${target}/package.json`);
40
- // Resolved — install is good.
41
- } catch {
42
- console.warn(
43
- `gadriel: optional platform package "${target}" was skipped by npm.\n` +
44
- ` If 'gadriel' fails to run, reinstall with:\n` +
45
- ` npm install -g gadriel --include=optional`
46
- );
47
- }