delimit-cli 3.8.0 → 3.8.1
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 +24 -0
- package/gateway/ai/server.py +5 -1
- package/package.json +1 -1
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
|
@@ -327,6 +327,25 @@ Run full governance compliance checks. Verify security, policy compliance, evide
|
|
|
327
327
|
}
|
|
328
328
|
}
|
|
329
329
|
|
|
330
|
+
// Create instruction files for other platforms
|
|
331
|
+
const instructionContent = getClaudeMdContent();
|
|
332
|
+
|
|
333
|
+
// Codex instructions
|
|
334
|
+
const codexInstructions = path.join(os.homedir(), '.codex', 'instructions.md');
|
|
335
|
+
if (fs.existsSync(path.join(os.homedir(), '.codex'))) {
|
|
336
|
+
if (!fs.existsSync(codexInstructions) || fs.readFileSync(codexInstructions, 'utf-8').includes('# Delimit')) {
|
|
337
|
+
fs.writeFileSync(codexInstructions, instructionContent);
|
|
338
|
+
}
|
|
339
|
+
}
|
|
340
|
+
|
|
341
|
+
// Cursor rules
|
|
342
|
+
const cursorRules = path.join(os.homedir(), '.cursorrules');
|
|
343
|
+
if (fs.existsSync(path.join(os.homedir(), '.cursor'))) {
|
|
344
|
+
if (!fs.existsSync(cursorRules) || fs.readFileSync(cursorRules, 'utf-8').includes('# Delimit')) {
|
|
345
|
+
fs.writeFileSync(cursorRules, instructionContent);
|
|
346
|
+
}
|
|
347
|
+
}
|
|
348
|
+
|
|
330
349
|
// Silent: auto-detect API keys and configure models.json (no output)
|
|
331
350
|
const modelsPath = path.join(DELIMIT_HOME, 'models.json');
|
|
332
351
|
if (!fs.existsSync(modelsPath)) {
|
|
@@ -386,6 +405,11 @@ function getClaudeMdContent() {
|
|
|
386
405
|
|
|
387
406
|
One workspace for every AI coding assistant.
|
|
388
407
|
|
|
408
|
+
## On every session start:
|
|
409
|
+
1. Call \`delimit_ledger_context\` to check for open tasks
|
|
410
|
+
2. If returning user, summarize what's pending
|
|
411
|
+
3. If new project, call \`delimit_scan\` to discover what Delimit can do
|
|
412
|
+
|
|
389
413
|
## Try these:
|
|
390
414
|
- "scan this project" -- discover what Delimit can do here
|
|
391
415
|
- "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