@getripple/cli 1.0.4
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/CHANGELOG.md +21 -0
- package/README.md +110 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +3169 -0
- package/dist/index.js.map +1 -0
- package/package.json +53 -0
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
# @getripple/cli Changelog
|
|
2
|
+
|
|
3
|
+
## [1.0.4] - 2026-06-03
|
|
4
|
+
|
|
5
|
+
### Fixed
|
|
6
|
+
- Executable entry point for the `ripple` binary.
|
|
7
|
+
- Publishable package identity under `@getripple/cli`.
|
|
8
|
+
- Release readiness checks for packed installs and CI gate behavior.
|
|
9
|
+
- Package-specific README and changelog included in the npm tarball.
|
|
10
|
+
|
|
11
|
+
## [1.0.3] - 2026-06-03
|
|
12
|
+
|
|
13
|
+
### Added
|
|
14
|
+
- Initial release of the Ripple CLI.
|
|
15
|
+
- Commands for `scan`, `focus`, `blast`, `plan`, `check`, `audit`, `repair`, `gate`, `doctor`, `agent`, `init`, and `init-ci`.
|
|
16
|
+
- GitHub Actions workflow generation with `ripple init-ci`.
|
|
17
|
+
- Drift checks against saved change intent, control boundary, current policy, and readiness snapshot.
|
|
18
|
+
- Trust-boundary checking with `--mode function`, `--mode file`, `--mode task`, and `--mode pr`.
|
|
19
|
+
|
|
20
|
+
### Notes
|
|
21
|
+
- Public alpha. The strongest current experience is JavaScript and TypeScript.
|
package/README.md
ADDED
|
@@ -0,0 +1,110 @@
|
|
|
1
|
+
# @getripple/cli
|
|
2
|
+
|
|
3
|
+
Run Ripple's architecture checks in your terminal and CI pipeline without VS Code.
|
|
4
|
+
|
|
5
|
+
```bash
|
|
6
|
+
npx -y @getripple/cli plan --file src/auth.ts --task "refactor token handling"
|
|
7
|
+
```
|
|
8
|
+
|
|
9
|
+
Ripple is a local AI-agent workflow engine: plan before edit, check after edit,
|
|
10
|
+
catch drift, and tell the agent what to fix.
|
|
11
|
+
|
|
12
|
+
## Quick Start
|
|
13
|
+
|
|
14
|
+
Initialize Ripple in a repo:
|
|
15
|
+
|
|
16
|
+
```bash
|
|
17
|
+
npx -y @getripple/cli init
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
Create a saved plan before editing:
|
|
21
|
+
|
|
22
|
+
```bash
|
|
23
|
+
npx -y @getripple/cli plan --file src/auth.ts --task "refactor token handling" --mode file --save
|
|
24
|
+
```
|
|
25
|
+
|
|
26
|
+
After editing and staging files, check the change against the saved plan:
|
|
27
|
+
|
|
28
|
+
```bash
|
|
29
|
+
npx -y @getripple/cli check --staged --intent latest
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
For the smallest continue/stop answer:
|
|
33
|
+
|
|
34
|
+
```bash
|
|
35
|
+
npx -y @getripple/cli gate --intent latest
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
## Install
|
|
39
|
+
|
|
40
|
+
```bash
|
|
41
|
+
npm install -g @getripple/cli
|
|
42
|
+
```
|
|
43
|
+
|
|
44
|
+
Then run:
|
|
45
|
+
|
|
46
|
+
```bash
|
|
47
|
+
ripple init
|
|
48
|
+
ripple plan --file src/auth.ts --task "refactor token handling" --mode file --save
|
|
49
|
+
ripple check --staged --intent latest
|
|
50
|
+
ripple gate --intent latest
|
|
51
|
+
```
|
|
52
|
+
|
|
53
|
+
Check setup readiness:
|
|
54
|
+
|
|
55
|
+
```bash
|
|
56
|
+
npx -y @getripple/cli doctor
|
|
57
|
+
```
|
|
58
|
+
|
|
59
|
+
## CI Gate
|
|
60
|
+
|
|
61
|
+
Generate a GitHub Actions workflow:
|
|
62
|
+
|
|
63
|
+
```bash
|
|
64
|
+
ripple init-ci
|
|
65
|
+
```
|
|
66
|
+
|
|
67
|
+
Use Ripple as a pull-request gate:
|
|
68
|
+
|
|
69
|
+
```bash
|
|
70
|
+
ripple ci --base origin/main --intent latest --github-annotations
|
|
71
|
+
```
|
|
72
|
+
|
|
73
|
+
The gate speaks the same compact language used by CLI and MCP:
|
|
74
|
+
|
|
75
|
+
```txt
|
|
76
|
+
open/continue
|
|
77
|
+
closed/repair
|
|
78
|
+
closed/human-review
|
|
79
|
+
closed/restore-readiness
|
|
80
|
+
```
|
|
81
|
+
|
|
82
|
+
## Commands
|
|
83
|
+
|
|
84
|
+
```txt
|
|
85
|
+
ripple scan
|
|
86
|
+
ripple focus
|
|
87
|
+
ripple blast
|
|
88
|
+
ripple plan
|
|
89
|
+
ripple check
|
|
90
|
+
ripple audit
|
|
91
|
+
ripple repair
|
|
92
|
+
ripple gate
|
|
93
|
+
ripple doctor
|
|
94
|
+
ripple agent
|
|
95
|
+
ripple init
|
|
96
|
+
ripple init-ci
|
|
97
|
+
```
|
|
98
|
+
|
|
99
|
+
## Privacy
|
|
100
|
+
|
|
101
|
+
Ripple runs locally. No account, telemetry, cloud indexing, or remote model call
|
|
102
|
+
is required by the CLI.
|
|
103
|
+
|
|
104
|
+
## Status
|
|
105
|
+
|
|
106
|
+
Public alpha. The strongest current experience is JavaScript and TypeScript.
|
|
107
|
+
|
|
108
|
+
## License
|
|
109
|
+
|
|
110
|
+
MIT
|
package/dist/index.d.ts
ADDED