delimit-cli 3.11.0 → 3.11.2
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/bin/delimit-cli.js +52 -2
- package/gateway/core/contract_ledger.py +1 -1
- package/gateway/core/dependency_graph.py +1 -1
- package/gateway/core/dependency_manifest.py +1 -1
- package/gateway/core/event_backbone.py +2 -2
- package/gateway/core/event_schema.py +1 -1
- package/gateway/core/impact_analyzer.py +1 -1
- package/package.json +11 -2
- package/server.json +2 -2
package/bin/delimit-cli.js
CHANGED
|
@@ -472,8 +472,58 @@ program
|
|
|
472
472
|
}
|
|
473
473
|
});
|
|
474
474
|
console.log(chalk.green('✓ Removed PATH modifications'));
|
|
475
|
-
|
|
476
|
-
|
|
475
|
+
|
|
476
|
+
// Remove MCP config from Claude Code
|
|
477
|
+
const mcpPath = path.join(process.env.HOME, '.mcp.json');
|
|
478
|
+
if (fs.existsSync(mcpPath)) {
|
|
479
|
+
try {
|
|
480
|
+
const mcp = JSON.parse(fs.readFileSync(mcpPath, 'utf8'));
|
|
481
|
+
if (mcp.mcpServers && mcp.mcpServers.delimit) {
|
|
482
|
+
delete mcp.mcpServers.delimit;
|
|
483
|
+
fs.writeFileSync(mcpPath, JSON.stringify(mcp, null, 2));
|
|
484
|
+
console.log(chalk.green('✓ Removed from Claude Code MCP config'));
|
|
485
|
+
}
|
|
486
|
+
} catch (e) {}
|
|
487
|
+
}
|
|
488
|
+
|
|
489
|
+
// Remove from Codex config
|
|
490
|
+
const codexConfig = path.join(process.env.HOME, '.codex', 'config.json');
|
|
491
|
+
if (fs.existsSync(codexConfig)) {
|
|
492
|
+
try {
|
|
493
|
+
const cfg = JSON.parse(fs.readFileSync(codexConfig, 'utf8'));
|
|
494
|
+
if (cfg.mcpServers && cfg.mcpServers.delimit) {
|
|
495
|
+
delete cfg.mcpServers.delimit;
|
|
496
|
+
fs.writeFileSync(codexConfig, JSON.stringify(cfg, null, 2));
|
|
497
|
+
console.log(chalk.green('✓ Removed from Codex MCP config'));
|
|
498
|
+
}
|
|
499
|
+
} catch (e) {}
|
|
500
|
+
}
|
|
501
|
+
|
|
502
|
+
// Remove from Gemini CLI config
|
|
503
|
+
const geminiConfig = path.join(process.env.HOME, '.gemini', 'settings.json');
|
|
504
|
+
if (fs.existsSync(geminiConfig)) {
|
|
505
|
+
try {
|
|
506
|
+
const cfg = JSON.parse(fs.readFileSync(geminiConfig, 'utf8'));
|
|
507
|
+
if (cfg.mcpServers && cfg.mcpServers.delimit) {
|
|
508
|
+
delete cfg.mcpServers.delimit;
|
|
509
|
+
fs.writeFileSync(geminiConfig, JSON.stringify(cfg, null, 2));
|
|
510
|
+
console.log(chalk.green('✓ Removed from Gemini CLI MCP config'));
|
|
511
|
+
}
|
|
512
|
+
} catch (e) {}
|
|
513
|
+
}
|
|
514
|
+
|
|
515
|
+
// Remove shims
|
|
516
|
+
const shimsDir = path.join(process.env.HOME, '.delimit', 'shims');
|
|
517
|
+
if (fs.existsSync(shimsDir)) {
|
|
518
|
+
try {
|
|
519
|
+
fs.rmSync(shimsDir, { recursive: true });
|
|
520
|
+
console.log(chalk.green('✓ Removed CLI shims'));
|
|
521
|
+
} catch (e) {}
|
|
522
|
+
}
|
|
523
|
+
|
|
524
|
+
console.log(chalk.green('\n Delimit has been completely removed.'));
|
|
525
|
+
console.log(chalk.gray(' Your data in ~/.delimit/ has been preserved.'));
|
|
526
|
+
console.log(chalk.gray(' Delete it manually if you want: rm -rf ~/.delimit\n'));
|
|
477
527
|
});
|
|
478
528
|
|
|
479
529
|
// Helper function for installation
|
|
@@ -3,7 +3,7 @@ Delimit Contract Ledger
|
|
|
3
3
|
Reads, validates, and queries the append-only JSONL event ledger.
|
|
4
4
|
Optional SQLite index for fast lookups (never required for CI).
|
|
5
5
|
|
|
6
|
-
Per
|
|
6
|
+
Per Delimit architecture:
|
|
7
7
|
- Deterministic outputs
|
|
8
8
|
- Append-only artifacts
|
|
9
9
|
- SQLite index is optional, not required for CI
|
|
@@ -5,7 +5,7 @@ Constructs a deterministic service dependency graph from manifests.
|
|
|
5
5
|
The graph maps each API/service to its downstream consumers,
|
|
6
6
|
enabling impact analysis when an API contract changes.
|
|
7
7
|
|
|
8
|
-
Per
|
|
8
|
+
Per Delimit architecture:
|
|
9
9
|
- Deterministic outputs (sorted, reproducible)
|
|
10
10
|
- No telemetry
|
|
11
11
|
- Graceful degradation when manifests are missing
|
|
@@ -3,7 +3,7 @@ Delimit Event Backbone
|
|
|
3
3
|
Constructs ledger events, generates SHA-256 hashes, links hash chains,
|
|
4
4
|
and appends to the append-only JSONL ledger.
|
|
5
5
|
|
|
6
|
-
Per
|
|
6
|
+
Per Delimit architecture:
|
|
7
7
|
- Deterministic outputs
|
|
8
8
|
- Append-only artifacts
|
|
9
9
|
- Fail-closed CI behavior (ledger failures never affect CI)
|
|
@@ -199,7 +199,7 @@ class EventBackbone:
|
|
|
199
199
|
This is the primary API for event generation. It is best-effort:
|
|
200
200
|
if the ledger write fails, the event is still returned but not persisted.
|
|
201
201
|
|
|
202
|
-
CRITICAL: This method NEVER raises exceptions. Per
|
|
202
|
+
CRITICAL: This method NEVER raises exceptions. Per Delimit architecture,
|
|
203
203
|
ledger failures must not affect CI pass/fail outcome.
|
|
204
204
|
|
|
205
205
|
Returns:
|
|
@@ -3,7 +3,7 @@ Delimit Impact Analyzer
|
|
|
3
3
|
Determines downstream consumers affected by an API change
|
|
4
4
|
and produces informational impact summaries for CI output.
|
|
5
5
|
|
|
6
|
-
Per
|
|
6
|
+
Per Delimit architecture:
|
|
7
7
|
- Impact analysis is INFORMATIONAL ONLY
|
|
8
8
|
- NEVER affects CI pass/fail outcome
|
|
9
9
|
- Deterministic outputs
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "delimit-cli",
|
|
3
3
|
"mcpName": "io.github.delimit-ai/delimit",
|
|
4
|
-
"version": "3.11.
|
|
4
|
+
"version": "3.11.2",
|
|
5
5
|
"description": "One workspace for every AI coding assistant. Tasks, memory, and governance carry between Claude Code, Codex, and Gemini CLI.",
|
|
6
6
|
"main": "index.js",
|
|
7
7
|
"files": [
|
|
@@ -41,7 +41,16 @@
|
|
|
41
41
|
"delimit",
|
|
42
42
|
"openapi-diff",
|
|
43
43
|
"api-linter",
|
|
44
|
-
"contract-testing"
|
|
44
|
+
"contract-testing",
|
|
45
|
+
"mcp",
|
|
46
|
+
"mcp-server",
|
|
47
|
+
"model-context-protocol",
|
|
48
|
+
"claude-code",
|
|
49
|
+
"codex",
|
|
50
|
+
"gemini-cli",
|
|
51
|
+
"cursor",
|
|
52
|
+
"ai-governance",
|
|
53
|
+
"ai-agents"
|
|
45
54
|
],
|
|
46
55
|
"author": "Delimit AI <hello@delimit.ai>",
|
|
47
56
|
"license": "MIT",
|
package/server.json
CHANGED
|
@@ -7,13 +7,13 @@
|
|
|
7
7
|
"url": "https://github.com/delimit-ai/delimit",
|
|
8
8
|
"source": "github"
|
|
9
9
|
},
|
|
10
|
-
"version": "3.11.
|
|
10
|
+
"version": "3.11.2",
|
|
11
11
|
"websiteUrl": "https://delimit.ai",
|
|
12
12
|
"packages": [
|
|
13
13
|
{
|
|
14
14
|
"registryType": "npm",
|
|
15
15
|
"identifier": "delimit-cli",
|
|
16
|
-
"version": "3.11.
|
|
16
|
+
"version": "3.11.2",
|
|
17
17
|
"transport": {
|
|
18
18
|
"type": "stdio"
|
|
19
19
|
}
|