delimit-cli 3.8.0 → 3.8.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/README.md +1 -1
- package/bin/delimit-setup.js +29 -0
- package/gateway/ai/server.py +5 -1
- package/package.json +1 -1
- package/server.json +3 -3
package/README.md
CHANGED
|
@@ -39,7 +39,7 @@ That's it. Delimit auto-fetches the base branch spec, diffs it, and posts a PR c
|
|
|
39
39
|
- Step-by-step migration guide
|
|
40
40
|
- Policy violations
|
|
41
41
|
|
|
42
|
-
[View on GitHub Marketplace →](https://github.com/marketplace/actions/delimit-api-governance) · [See a live demo (6 breaking changes) →](https://github.com/delimit-ai/delimit-demo/pull/1)
|
|
42
|
+
[View on GitHub Marketplace →](https://github.com/marketplace/actions/delimit-api-governance) · [See a live demo (6 breaking changes) →](https://github.com/delimit-ai/delimit-action-demo/pull/1)
|
|
43
43
|
|
|
44
44
|
### Example PR comment
|
|
45
45
|
|
package/bin/delimit-setup.js
CHANGED
|
@@ -225,6 +225,11 @@ async function main() {
|
|
|
225
225
|
fs.writeFileSync(GEMINI_CONFIG, JSON.stringify(geminiConfig, null, 2));
|
|
226
226
|
log(` ${green('✓')} Added delimit to Gemini CLI (${GEMINI_CONFIG})`);
|
|
227
227
|
}
|
|
228
|
+
// Add governance instructions
|
|
229
|
+
if (!geminiConfig.customInstructions || !geminiConfig.customInstructions.includes('delimit_ledger_context')) {
|
|
230
|
+
geminiConfig.customInstructions = 'Delimit MCP is installed. On every session start, call delimit_ledger_context to check for open tasks. If new project, call delimit_scan. Track all work via the ledger.';
|
|
231
|
+
fs.writeFileSync(GEMINI_CONFIG, JSON.stringify(geminiConfig, null, 2));
|
|
232
|
+
}
|
|
228
233
|
} catch (e) {
|
|
229
234
|
log(` ${yellow('!')} Could not configure Gemini CLI: ${e.message}`);
|
|
230
235
|
}
|
|
@@ -327,6 +332,25 @@ Run full governance compliance checks. Verify security, policy compliance, evide
|
|
|
327
332
|
}
|
|
328
333
|
}
|
|
329
334
|
|
|
335
|
+
// Create instruction files for other platforms
|
|
336
|
+
const instructionContent = getClaudeMdContent();
|
|
337
|
+
|
|
338
|
+
// Codex instructions
|
|
339
|
+
const codexInstructions = path.join(os.homedir(), '.codex', 'instructions.md');
|
|
340
|
+
if (fs.existsSync(path.join(os.homedir(), '.codex'))) {
|
|
341
|
+
if (!fs.existsSync(codexInstructions) || fs.readFileSync(codexInstructions, 'utf-8').includes('# Delimit')) {
|
|
342
|
+
fs.writeFileSync(codexInstructions, instructionContent);
|
|
343
|
+
}
|
|
344
|
+
}
|
|
345
|
+
|
|
346
|
+
// Cursor rules
|
|
347
|
+
const cursorRules = path.join(os.homedir(), '.cursorrules');
|
|
348
|
+
if (fs.existsSync(path.join(os.homedir(), '.cursor'))) {
|
|
349
|
+
if (!fs.existsSync(cursorRules) || fs.readFileSync(cursorRules, 'utf-8').includes('# Delimit')) {
|
|
350
|
+
fs.writeFileSync(cursorRules, instructionContent);
|
|
351
|
+
}
|
|
352
|
+
}
|
|
353
|
+
|
|
330
354
|
// Silent: auto-detect API keys and configure models.json (no output)
|
|
331
355
|
const modelsPath = path.join(DELIMIT_HOME, 'models.json');
|
|
332
356
|
if (!fs.existsSync(modelsPath)) {
|
|
@@ -386,6 +410,11 @@ function getClaudeMdContent() {
|
|
|
386
410
|
|
|
387
411
|
One workspace for every AI coding assistant.
|
|
388
412
|
|
|
413
|
+
## On every session start:
|
|
414
|
+
1. Call \`delimit_ledger_context\` to check for open tasks
|
|
415
|
+
2. If returning user, summarize what's pending
|
|
416
|
+
3. If new project, call \`delimit_scan\` to discover what Delimit can do
|
|
417
|
+
|
|
389
418
|
## Try these:
|
|
390
419
|
- "scan this project" -- discover what Delimit can do here
|
|
391
420
|
- "lint my API spec" -- catch breaking changes in your OpenAPI spec
|
package/gateway/ai/server.py
CHANGED
|
@@ -34,7 +34,11 @@ from fastmcp import FastMCP
|
|
|
34
34
|
logger = logging.getLogger("delimit.ai")
|
|
35
35
|
|
|
36
36
|
mcp = FastMCP("delimit")
|
|
37
|
-
mcp.description =
|
|
37
|
+
mcp.description = (
|
|
38
|
+
"Delimit — One workspace for every AI coding assistant. "
|
|
39
|
+
"On session start, call delimit_ledger_context to check for open tasks. "
|
|
40
|
+
"Use delimit_scan on new projects. Track all work via the ledger."
|
|
41
|
+
)
|
|
38
42
|
|
|
39
43
|
VERSION = "3.2.0"
|
|
40
44
|
|
package/package.json
CHANGED
package/server.json
CHANGED
|
@@ -2,18 +2,18 @@
|
|
|
2
2
|
"$schema": "https://static.modelcontextprotocol.io/schemas/2025-12-11/server.schema.json",
|
|
3
3
|
"name": "io.github.delimit-ai/delimit",
|
|
4
4
|
"title": "Delimit",
|
|
5
|
-
"description": "
|
|
5
|
+
"description": "One workspace for every AI coding assistant. Shared tasks, memory, and governance.",
|
|
6
6
|
"repository": {
|
|
7
7
|
"url": "https://github.com/delimit-ai/delimit",
|
|
8
8
|
"source": "github"
|
|
9
9
|
},
|
|
10
|
-
"version": "3.
|
|
10
|
+
"version": "3.8.1",
|
|
11
11
|
"websiteUrl": "https://delimit.ai",
|
|
12
12
|
"packages": [
|
|
13
13
|
{
|
|
14
14
|
"registryType": "npm",
|
|
15
15
|
"identifier": "delimit-cli",
|
|
16
|
-
"version": "3.
|
|
16
|
+
"version": "3.8.1",
|
|
17
17
|
"transport": {
|
|
18
18
|
"type": "stdio"
|
|
19
19
|
}
|