@eddacraft/anvil-cli 0.1.2-beta → 0.3.0
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 +12 -60
- package/bin/anvil.js +23 -0
- package/package.json +7 -67
- package/LICENSE +0 -14
- package/dist/index.js +0 -277297
- package/dist/index.js.map +0 -7
package/README.md
CHANGED
|
@@ -1,67 +1,19 @@
|
|
|
1
|
-
#
|
|
1
|
+
# @eddacraft/anvil-cli (deprecated)
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
changes meet your team's standards.
|
|
3
|
+
This package has been replaced by a native binary. The npm package will no
|
|
4
|
+
longer receive updates.
|
|
6
5
|
|
|
7
|
-
##
|
|
6
|
+
## Install the new CLI
|
|
8
7
|
|
|
9
|
-
```
|
|
10
|
-
|
|
11
|
-
npx @eddacraft/anvil-cli tutorial
|
|
12
|
-
|
|
13
|
-
# Or install globally
|
|
14
|
-
npm install -g @eddacraft/anvil-cli
|
|
15
|
-
anvil tutorial
|
|
8
|
+
```sh
|
|
9
|
+
curl -fsSL https://install.eddacraft.ai | sh
|
|
16
10
|
```
|
|
17
11
|
|
|
18
|
-
|
|
19
|
-
watching, and fixing issues.
|
|
20
|
-
|
|
21
|
-
## What Anvil Does
|
|
22
|
-
|
|
23
|
-
- **Quality gates** - validate code changes against architecture rules,
|
|
24
|
-
anti-patterns, and team conventions
|
|
25
|
-
- **Plan validation** - check planning documents (APS, SpecKit, BMAD) before
|
|
26
|
-
execution
|
|
27
|
-
- **Architecture enforcement** - define boundaries, layers, and dependency rules
|
|
28
|
-
- **Real-time watch mode** - validate as you code with instant feedback
|
|
29
|
-
- **AI authorship tracking** - trace which changes were AI-generated via Git
|
|
30
|
-
Notes
|
|
31
|
-
- **OPA/Rego policies** - write custom rules for your organisation
|
|
32
|
-
|
|
33
|
-
## Commands
|
|
34
|
-
|
|
35
|
-
| Command | Description |
|
|
36
|
-
| ---------------------- | ------------------------------- |
|
|
37
|
-
| `anvil tutorial` | Interactive guided tutorial |
|
|
38
|
-
| `anvil init` | Set up Anvil in a project |
|
|
39
|
-
| `anvil check --all` | Scan codebase for issues |
|
|
40
|
-
| `anvil watch --source` | Real-time validation |
|
|
41
|
-
| `anvil gate` | Run quality gates |
|
|
42
|
-
| `anvil doctor` | Diagnostics and troubleshooting |
|
|
43
|
-
| `anvil explain <rule>` | Understand a warning |
|
|
44
|
-
| `anvil status` | Show workspace status |
|
|
45
|
-
| `anvil --help` | See all commands |
|
|
46
|
-
|
|
47
|
-
## Requirements
|
|
48
|
-
|
|
49
|
-
- Node.js 20.0.0 or later
|
|
50
|
-
- Git
|
|
12
|
+
Or via Homebrew:
|
|
51
13
|
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
- [Report a bug](https://github.com/EddaCraft/anvil-001/issues/new?template=bug_report.md)
|
|
57
|
-
- [Request a feature](https://github.com/EddaCraft/anvil-001/issues/new?template=feature_request.md)
|
|
58
|
-
- [Share feedback](https://github.com/EddaCraft/anvil-001/issues/new?template=feedback.md)
|
|
59
|
-
|
|
60
|
-
## Documentation
|
|
61
|
-
|
|
62
|
-
- [Beta Tester Quickstart](https://github.com/EddaCraft/anvil-001/blob/main/docs/beta-testers/BETA-TESTER-QUICKSTART.md)
|
|
63
|
-
- [CLI Command Reference](https://github.com/EddaCraft/anvil-001/blob/main/apps/anvil-cli/DEVELOPMENT.md)
|
|
64
|
-
|
|
65
|
-
## Licence
|
|
14
|
+
```sh
|
|
15
|
+
brew install eddacraft/tap/anvil
|
|
16
|
+
```
|
|
66
17
|
|
|
67
|
-
|
|
18
|
+
See [eddacraft/anvil](https://github.com/eddacraft/anvil) for full
|
|
19
|
+
documentation.
|
package/bin/anvil.js
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
|
|
3
|
+
const message = `
|
|
4
|
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
5
|
+
|
|
6
|
+
@eddacraft/anvil-cli has been replaced by a
|
|
7
|
+
native binary. This npm package is deprecated.
|
|
8
|
+
|
|
9
|
+
Install the new anvil CLI:
|
|
10
|
+
|
|
11
|
+
curl -fsSL https://install.eddacraft.ai | sh
|
|
12
|
+
|
|
13
|
+
Or via Homebrew:
|
|
14
|
+
|
|
15
|
+
brew install eddacraft/tap/anvil
|
|
16
|
+
|
|
17
|
+
More info: https://github.com/eddacraft/anvil
|
|
18
|
+
|
|
19
|
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
20
|
+
`;
|
|
21
|
+
|
|
22
|
+
console.error(message);
|
|
23
|
+
process.exit(1);
|
package/package.json
CHANGED
|
@@ -1,74 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@eddacraft/anvil-cli",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"description": "
|
|
5
|
-
"type": "module",
|
|
3
|
+
"version": "0.3.0",
|
|
4
|
+
"description": "DEPRECATED — anvil is now a native binary. See https://github.com/eddacraft/anvil for install instructions.",
|
|
6
5
|
"bin": {
|
|
7
|
-
"anvil": "
|
|
6
|
+
"anvil": "bin/anvil.js"
|
|
8
7
|
},
|
|
9
|
-
"
|
|
10
|
-
"dist",
|
|
11
|
-
"README.md"
|
|
12
|
-
],
|
|
13
|
-
"engines": {
|
|
14
|
-
"node": ">=20.0.0"
|
|
15
|
-
},
|
|
16
|
-
"keywords": [
|
|
17
|
-
"anvil",
|
|
18
|
-
"automation",
|
|
19
|
-
"validation",
|
|
20
|
-
"quality-gates",
|
|
21
|
-
"ai-safety",
|
|
22
|
-
"speckit",
|
|
23
|
-
"planning"
|
|
24
|
-
],
|
|
8
|
+
"license": "LicenseRef-Proprietary",
|
|
25
9
|
"repository": {
|
|
26
10
|
"type": "git",
|
|
27
|
-
"url": "https://github.com/
|
|
28
|
-
"directory": "apps/anvil-cli"
|
|
29
|
-
},
|
|
30
|
-
"bugs": {
|
|
31
|
-
"url": "https://github.com/EddaCraft/anvil-001/issues"
|
|
32
|
-
},
|
|
33
|
-
"homepage": "https://github.com/EddaCraft/anvil-001#readme",
|
|
34
|
-
"author": "EddaCraft",
|
|
35
|
-
"dependencies": {
|
|
36
|
-
"@eddacraft/kindling-core": "0.1.2",
|
|
37
|
-
"@eddacraft/kindling-provider-local": "0.1.2",
|
|
38
|
-
"@eddacraft/kindling-store-sqlite": "0.1.2",
|
|
39
|
-
"beautiful-mermaid": "^0.1.3",
|
|
40
|
-
"chalk": "^5.6.2",
|
|
41
|
-
"chokidar": "5.0.0",
|
|
42
|
-
"commander": "^14.0.3",
|
|
43
|
-
"fs-extra": "^11.3.3",
|
|
44
|
-
"glob": "13.0.0",
|
|
45
|
-
"ink": "6.6.0",
|
|
46
|
-
"ink-select-input": "^6.2.0",
|
|
47
|
-
"ink-spinner": "^5.0.0",
|
|
48
|
-
"ink-text-input": "^6.0.0",
|
|
49
|
-
"inquirer": "13.2.2",
|
|
50
|
-
"ora": "9.3.0",
|
|
51
|
-
"react": "19.2.4",
|
|
52
|
-
"yaml": "^2.8.2",
|
|
53
|
-
"zod": "^4.3.6"
|
|
54
|
-
},
|
|
55
|
-
"devDependencies": {
|
|
56
|
-
"@types/fs-extra": "^11.0.4",
|
|
57
|
-
"@types/react": "^19.2.14",
|
|
58
|
-
"esbuild": "^0.27.3",
|
|
59
|
-
"ink-testing-library": "^4.0.0",
|
|
60
|
-
"node-pty": "^1.1.0",
|
|
61
|
-
"tuistory": "^0.0.13",
|
|
62
|
-
"@eddacraft/anvil-aps": "0.1.0",
|
|
63
|
-
"@eddacraft/anvil-adapters": "0.1.0",
|
|
64
|
-
"@eddacraft/anvil-core": "0.1.0",
|
|
65
|
-
"@eddacraft/anvil-kindling-integration": "0.1.0",
|
|
66
|
-
"@eddacraft/anvil-runtime": "0.1.0"
|
|
11
|
+
"url": "https://github.com/eddacraft/anvil"
|
|
67
12
|
},
|
|
68
|
-
"
|
|
69
|
-
|
|
70
|
-
"build:types": "tsc --emitDeclarationOnly",
|
|
71
|
-
"typecheck": "tsc --noEmit",
|
|
72
|
-
"test": "vitest"
|
|
73
|
-
}
|
|
74
|
-
}
|
|
13
|
+
"homepage": "https://github.com/eddacraft/anvil"
|
|
14
|
+
}
|
package/LICENSE
DELETED
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
Copyright (c) 2026 EddaCraft. All rights reserved.
|
|
2
|
-
|
|
3
|
-
PROPRIETARY AND CONFIDENTIAL
|
|
4
|
-
|
|
5
|
-
This software and associated documentation files (the "Software") are the
|
|
6
|
-
exclusive property of EddaCraft. Unauthorised copying, modification,
|
|
7
|
-
distribution, or use of this Software, via any medium, is strictly prohibited
|
|
8
|
-
without the express written permission of EddaCraft.
|
|
9
|
-
|
|
10
|
-
The Software is provided for evaluation and testing purposes only to authorised
|
|
11
|
-
beta testers. No licence is granted to use, copy, modify, or distribute the
|
|
12
|
-
Software for any other purpose.
|
|
13
|
-
|
|
14
|
-
For licensing enquiries, contact: legal@eddacraft.com
|