delimit-cli 4.1.43 → 4.1.47
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 +33 -0
- package/README.md +46 -5
- package/bin/delimit-cli.js +1987 -337
- package/bin/delimit-setup.js +108 -66
- package/gateway/ai/activate_helpers.py +253 -7
- package/gateway/ai/agent_dispatch.py +34 -2
- package/gateway/ai/backends/deploy_bridge.py +167 -12
- package/gateway/ai/backends/gateway_core.py +236 -13
- package/gateway/ai/backends/repo_bridge.py +80 -16
- package/gateway/ai/backends/tools_infra.py +49 -32
- package/gateway/ai/checksums.sha256 +6 -0
- package/gateway/ai/content_engine.py +1276 -2
- package/gateway/ai/continuity.py +462 -0
- package/gateway/ai/deliberation.pyi +53 -0
- package/gateway/ai/github_scanner.py +1 -1
- package/gateway/ai/governance.py +58 -0
- package/gateway/ai/governance.pyi +32 -0
- package/gateway/ai/governance_hardening.py +569 -0
- package/gateway/ai/inbox_daemon_runner.py +217 -0
- package/gateway/ai/key_resolver.py +95 -2
- package/gateway/ai/ledger_manager.py +53 -3
- package/gateway/ai/license.py +104 -3
- package/gateway/ai/license_core.py +177 -36
- package/gateway/ai/license_core.pyi +50 -0
- package/gateway/ai/loop_engine.py +929 -294
- package/gateway/ai/notify.py +1786 -2
- package/gateway/ai/reddit_scanner.py +190 -1
- package/gateway/ai/screen_record.py +1 -1
- package/gateway/ai/secrets_broker.py +5 -1
- package/gateway/ai/server.py +254 -19
- package/gateway/ai/social_cache.py +341 -0
- package/gateway/ai/social_daemon.py +41 -10
- package/gateway/ai/supabase_sync.py +190 -2
- package/gateway/ai/swarm.py +86 -0
- package/gateway/ai/swarm_infra.py +656 -0
- package/gateway/ai/tui.py +594 -36
- package/gateway/ai/tweet_corpus_schema.sql +76 -0
- package/gateway/core/diff_engine_v2.py +6 -2
- package/gateway/core/generator_drift.py +242 -0
- package/gateway/core/json_schema_diff.py +375 -0
- package/gateway/core/openapi_version.py +124 -0
- package/gateway/core/spec_detector.py +47 -7
- package/gateway/core/spec_health.py +5 -2
- package/gateway/core/zero_spec/express_extractor.py +2 -2
- package/gateway/core/zero_spec/nestjs_extractor.py +40 -9
- package/gateway/requirements.txt +3 -6
- package/lib/cross-model-hooks.js +4 -12
- package/package.json +11 -3
- package/scripts/demo-v420-clean.sh +267 -0
- package/scripts/demo-v420-deliberation.sh +217 -0
- package/scripts/demo-v420.sh +55 -0
- package/scripts/postinstall.js +4 -3
- package/scripts/publish-ci-guard.sh +30 -0
- package/scripts/record-and-upload.sh +132 -0
- package/scripts/release.sh +126 -0
- package/scripts/sync-gateway.sh +112 -0
- package/scripts/youtube-upload.py +141 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,38 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [4.1.45] - 2026-04-09
|
|
4
|
+
|
|
5
|
+
### Fixed
|
|
6
|
+
- **Shim rename-hack removed** — install no longer races with npm reinstalls that clobbered `/usr/bin/claude` back to a symlink, causing `[Delimit] claude not found in PATH` mid-session. Shim now relies purely on `$HOME/.delimit/shims` being first in `PATH` plus a PATH-strip lookup for the real binary. Fixes regressions from the claude-real rename+wrap install mechanism.
|
|
7
|
+
- Shim exit screen parity and CLI lint output parity (LED-078, LED-087).
|
|
8
|
+
|
|
9
|
+
## [4.20.0] - 2026-04-20
|
|
10
|
+
|
|
11
|
+
*The highest state of AI governance.*
|
|
12
|
+
|
|
13
|
+
### Added
|
|
14
|
+
- `delimit doctor` — 14 prescriptive diagnostics with `--ci` JSON, `--fix` auto-repair, health score
|
|
15
|
+
- `delimit status` — visual terminal dashboard with `--json`, `--watch` live refresh
|
|
16
|
+
- `delimit simulate` — policy dry-run (terraform plan for API governance)
|
|
17
|
+
- `delimit report` — governance report with `--since`, `--format md|html|json`
|
|
18
|
+
- Memory hardening — SHA-256 integrity hash + source_model on every `remember`
|
|
19
|
+
- Tag-based publishing — `scripts/release.sh` + GitHub Actions workflow
|
|
20
|
+
- Gateway sync gate — `prepublishOnly` auto-syncs from gateway (drift impossible)
|
|
21
|
+
- YouTube auto-publish pipeline — `scripts/record-and-upload.sh`
|
|
22
|
+
- VS Code extension v0.2.0 — simulate + report commands
|
|
23
|
+
- 17 new tests for v4.20 features (total: 123)
|
|
24
|
+
|
|
25
|
+
### Fixed
|
|
26
|
+
- Flaky test timeouts (5s → 15s for hook/deliberate tests)
|
|
27
|
+
- PostToolUse hook test updated for tightened spec patterns
|
|
28
|
+
- Dashboard workspace filter now filters data by project (LED-330)
|
|
29
|
+
- Hardcoded usernames scrubbed from gateway (moved to env var)
|
|
30
|
+
|
|
31
|
+
### Changed
|
|
32
|
+
- README updated with v4.20 features and new quick-start commands
|
|
33
|
+
- Landing page: tool count 176 → 186, doctor + simulate cards, YouTube embed
|
|
34
|
+
- Demo GIF updated with clean mock data (Acme API)
|
|
35
|
+
|
|
3
36
|
## [4.1.0] - 2026-04-03
|
|
4
37
|
|
|
5
38
|
### Added
|
package/README.md
CHANGED
|
@@ -16,13 +16,18 @@ The universal command for the Delimit Swarm. When you say **"Think and Build"**,
|
|
|
16
16
|
Works across any configuration — from a single model on a budget to an enterprise swarm of 4+ models.
|
|
17
17
|
|
|
18
18
|
[](https://www.npmjs.com/package/delimit-cli)
|
|
19
|
+
[](https://github.com/delimit-ai/delimit-mcp-server)
|
|
20
|
+
[](https://delimit.ai)
|
|
19
21
|
[](https://github.com/marketplace/actions/delimit-api-governance)
|
|
20
22
|
[](https://opensource.org/licenses/MIT)
|
|
21
23
|
[](https://glama.ai/mcp/servers/delimit-ai/delimit)
|
|
22
|
-
[](https://github.com/marketplace/actions/delimit-api-governance)
|
|
23
24
|
|
|
24
25
|
<p align="center">
|
|
25
|
-
<img src="docs/demo.gif" alt="Delimit
|
|
26
|
+
<img src="docs/demo.gif" alt="Delimit v4.20 — doctor, simulate, status, memory" width="700">
|
|
27
|
+
</p>
|
|
28
|
+
|
|
29
|
+
<p align="center">
|
|
30
|
+
<a href="https://youtu.be/8e_6P7rkFxo">Watch the demo</a> · <a href="https://youtu.be/4O1wY4vWmiY">Multi-model deliberation</a> · <a href="https://delimit.ai">Website</a>
|
|
26
31
|
</p>
|
|
27
32
|
|
|
28
33
|
---
|
|
@@ -30,10 +35,11 @@ Works across any configuration — from a single model on a budget to an enterpr
|
|
|
30
35
|
## Try it in 2 minutes
|
|
31
36
|
|
|
32
37
|
```bash
|
|
38
|
+
npx delimit-cli doctor # 14 prescriptive checks — tells you exactly what to fix
|
|
39
|
+
npx delimit-cli status # Visual dashboard of your entire governance setup
|
|
40
|
+
npx delimit-cli simulate # Dry-run: see what would be blocked before you commit
|
|
33
41
|
npx delimit-cli scan # Instant health grade for your API spec
|
|
34
42
|
npx delimit-cli try owner/repo # Try governance on any GitHub repo
|
|
35
|
-
npx delimit-cli pr owner/repo#123 # Review any GitHub PR for breaking changes
|
|
36
|
-
npx delimit-cli setup && source ~/.bashrc # Configure AI assistants + activate
|
|
37
43
|
```
|
|
38
44
|
|
|
39
45
|
No API keys. No account. No config files.
|
|
@@ -64,7 +70,42 @@ npx delimit-cli init # Sets up governance + drift baseline
|
|
|
64
70
|
|
|
65
71
|
---
|
|
66
72
|
|
|
67
|
-
## What's New in v4.
|
|
73
|
+
## What's New in v4.20
|
|
74
|
+
|
|
75
|
+
*The highest state of AI governance.*
|
|
76
|
+
|
|
77
|
+
- **`delimit doctor`** -- 14 prescriptive diagnostics. Every failure prints the exact command to fix it. `--ci` for pipelines, `--fix` for auto-repair.
|
|
78
|
+
- **`delimit simulate`** -- policy dry-run. See what would be blocked before you commit. The `terraform plan` for API governance.
|
|
79
|
+
- **`delimit status`** -- visual terminal dashboard. Policy, specs, hooks, CI, MCP, models, memory, ledger, evidence, git branch. `--watch` for live refresh.
|
|
80
|
+
- **`delimit report`** -- governance report. `--since 7d --format md|html|json`. Audit-friendly output for PRs and compliance.
|
|
81
|
+
- **Memory hardening** -- SHA-256 integrity hash + source model tag on every `remember`. Cross-model trust, verified on every `recall`.
|
|
82
|
+
- **Tag-based publishing** -- automated gateway sync, no more version drift between source and npm bundle.
|
|
83
|
+
|
|
84
|
+
### Multi-Model Deliberation
|
|
85
|
+
|
|
86
|
+
Run your question through 4 AI models simultaneously. They debate each other until unanimous agreement.
|
|
87
|
+
|
|
88
|
+
```bash
|
|
89
|
+
delimit deliberate "Should we build rate limiting in-house or use a managed service?"
|
|
90
|
+
```
|
|
91
|
+
|
|
92
|
+
```
|
|
93
|
+
Round 1 (independent):
|
|
94
|
+
Claude: Build in-house. Redis sliding window is 50 lines.
|
|
95
|
+
Gemini: Build. You already have Redis.
|
|
96
|
+
Codex: Agree — but add circuit breaker for Redis failures.
|
|
97
|
+
Grok: Build. Managed service costs $200/mo for 50 lines of code.
|
|
98
|
+
|
|
99
|
+
Round 2 (deliberation):
|
|
100
|
+
All models: AGREE
|
|
101
|
+
|
|
102
|
+
UNANIMOUS CONSENSUS (2 rounds, confidence 94/100)
|
|
103
|
+
Build rate limiting in-house with Redis + circuit breaker.
|
|
104
|
+
```
|
|
105
|
+
|
|
106
|
+
3 free deliberations, then BYOK for unlimited. Works with Grok, Gemini, Claude, GPT-4o.
|
|
107
|
+
|
|
108
|
+
### v4.1
|
|
68
109
|
|
|
69
110
|
- **TUI** -- terminal-native Ventures panel, real `delimit think` and `delimit build` commands
|
|
70
111
|
- **Security hardening** -- notify.py stubbed in npm, axios pinned against supply chain attacks
|