delimit-cli 3.14.3 → 3.14.5
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 +25 -0
- package/bin/delimit-cli.js +3 -3
- package/bin/delimit-setup.js +2 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -24,6 +24,30 @@ npx delimit-cli setup # Configure your AI assistants
|
|
|
24
24
|
|
|
25
25
|
No API keys. No account. No config files.
|
|
26
26
|
|
|
27
|
+
### Pick your first win
|
|
28
|
+
|
|
29
|
+
**Protect my API** — catch breaking changes before merge:
|
|
30
|
+
```bash
|
|
31
|
+
npx delimit-cli try
|
|
32
|
+
# Creates a sample API, introduces breaking changes, shows what gets blocked.
|
|
33
|
+
# Saves a governance report to delimit-report.md
|
|
34
|
+
```
|
|
35
|
+
|
|
36
|
+
**Watch for drift** — detect spec changes without review:
|
|
37
|
+
```bash
|
|
38
|
+
npx delimit-cli init # Sets up governance + drift baseline
|
|
39
|
+
# Weekly drift checks run automatically via GitHub Action
|
|
40
|
+
```
|
|
41
|
+
|
|
42
|
+
**Run PR copilot** — governance gates on every pull request:
|
|
43
|
+
```yaml
|
|
44
|
+
# .github/workflows/api-governance.yml
|
|
45
|
+
- uses: delimit-ai/delimit-action@v1
|
|
46
|
+
with:
|
|
47
|
+
spec: api/openapi.yaml
|
|
48
|
+
# Posts gate status, violations, and remediation in PR comments
|
|
49
|
+
```
|
|
50
|
+
|
|
27
51
|
---
|
|
28
52
|
|
|
29
53
|
## What's New in v3.14
|
|
@@ -97,6 +121,7 @@ That's it. Delimit auto-fetches the base branch spec, diffs it, and posts a PR c
|
|
|
97
121
|
## CLI commands
|
|
98
122
|
|
|
99
123
|
```bash
|
|
124
|
+
npx delimit-cli try # Zero-risk demo — saves governance report
|
|
100
125
|
npx delimit-cli demo # Self-contained governance demo
|
|
101
126
|
npx delimit-cli init # Guided wizard with compliance templates
|
|
102
127
|
npx delimit-cli init --preset strict # Initialize with strict policy
|
package/bin/delimit-cli.js
CHANGED
|
@@ -1119,7 +1119,7 @@ program
|
|
|
1119
1119
|
const ans = await inquirer.prompt([{
|
|
1120
1120
|
type: 'confirm',
|
|
1121
1121
|
name: 'addWorkflow',
|
|
1122
|
-
message: 'Add GitHub Action for PR governance?',
|
|
1122
|
+
message: 'Add GitHub Action for PR governance? (Enter = Yes)',
|
|
1123
1123
|
default: true,
|
|
1124
1124
|
}]);
|
|
1125
1125
|
writeWorkflow = ans.addWorkflow;
|
|
@@ -1148,7 +1148,7 @@ jobs:
|
|
|
1148
1148
|
with:
|
|
1149
1149
|
ref: \${{ github.event.pull_request.base.sha }}
|
|
1150
1150
|
path: _base
|
|
1151
|
-
- uses: delimit-ai/delimit@v1
|
|
1151
|
+
- uses: delimit-ai/delimit-action@v1
|
|
1152
1152
|
with:
|
|
1153
1153
|
old_spec: _base/${specPath}
|
|
1154
1154
|
new_spec: ${specPath}
|
|
@@ -1175,7 +1175,7 @@ jobs:
|
|
|
1175
1175
|
const driftAns = await inquirer.prompt([{
|
|
1176
1176
|
type: 'confirm',
|
|
1177
1177
|
name: 'addDrift',
|
|
1178
|
-
message: 'Add weekly drift monitoring workflow?',
|
|
1178
|
+
message: 'Add weekly drift monitoring workflow? (Enter = Yes)',
|
|
1179
1179
|
default: true,
|
|
1180
1180
|
}]);
|
|
1181
1181
|
writeDrift = driftAns.addDrift;
|
package/bin/delimit-setup.js
CHANGED
|
@@ -513,7 +513,7 @@ Run full governance compliance checks. Verify security, policy compliance, evide
|
|
|
513
513
|
const answer = await inquirer.prompt([{
|
|
514
514
|
type: 'confirm',
|
|
515
515
|
name: 'enable',
|
|
516
|
-
message: 'Enable governance wrapping?',
|
|
516
|
+
message: 'Enable governance wrapping? (press Enter for Yes)',
|
|
517
517
|
default: true,
|
|
518
518
|
}]);
|
|
519
519
|
enableShims = answer.enable;
|
|
@@ -621,7 +621,7 @@ exit 127
|
|
|
621
621
|
const answer = await inq.prompt([{
|
|
622
622
|
type: 'confirm',
|
|
623
623
|
name: 'install',
|
|
624
|
-
message: `Install governance hooks for ${detected.map(t => t.name).join(', ')}
|
|
624
|
+
message: `Install governance hooks for ${detected.map(t => t.name).join(', ')}? (press Enter for Yes)`,
|
|
625
625
|
default: true,
|
|
626
626
|
}]);
|
|
627
627
|
installHooks = answer.install;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "delimit-cli",
|
|
3
3
|
"mcpName": "io.github.delimit-ai/delimit-mcp-server",
|
|
4
|
-
"version": "3.14.
|
|
4
|
+
"version": "3.14.5",
|
|
5
5
|
"description": "Unify Claude Code, Codex, Cursor, and Gemini CLI with persistent context, governance, and multi-model debate.",
|
|
6
6
|
"main": "index.js",
|
|
7
7
|
"files": [
|