delimit-cli 4.5.9 → 4.5.10
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/gateway/ai/server.py +32 -7
- package/package.json +1 -1
package/gateway/ai/server.py
CHANGED
|
@@ -8498,7 +8498,16 @@ def delimit_inbox_daemon(action: str = "status") -> Dict[str, Any]:
|
|
|
8498
8498
|
action: 'start' (begin polling), 'stop' (halt polling),
|
|
8499
8499
|
'status' (show daemon state, last poll, failures).
|
|
8500
8500
|
"""
|
|
8501
|
-
|
|
8501
|
+
try:
|
|
8502
|
+
from ai.inbox_daemon import start_daemon, stop_daemon, get_daemon_status
|
|
8503
|
+
except (ImportError, ModuleNotFoundError):
|
|
8504
|
+
# LED-1261: backing module is gateway-only (excluded from npm bundle).
|
|
8505
|
+
# Customers calling this get a graceful message instead of a raw traceback.
|
|
8506
|
+
return _with_next_steps("inbox_daemon", {
|
|
8507
|
+
"status": "not_available",
|
|
8508
|
+
"error": "delimit_inbox_daemon is an internal Delimit feature not shipped in the npm bundle.",
|
|
8509
|
+
"hint": "Pro customers interested in inbox automation can contact pro@delimit.ai.",
|
|
8510
|
+
})
|
|
8502
8511
|
|
|
8503
8512
|
if action == "start":
|
|
8504
8513
|
return _with_next_steps("inbox_daemon", start_daemon())
|
|
@@ -8547,11 +8556,19 @@ def delimit_self_repair_daemon(action: str = "status") -> Dict[str, Any]:
|
|
|
8547
8556
|
'status' (running / last_pass / breaches_emitted /
|
|
8548
8557
|
consecutive_failures).
|
|
8549
8558
|
"""
|
|
8550
|
-
|
|
8551
|
-
|
|
8552
|
-
|
|
8553
|
-
|
|
8554
|
-
|
|
8559
|
+
try:
|
|
8560
|
+
from ai.self_repair_daemon import (
|
|
8561
|
+
start_daemon as _sr_start,
|
|
8562
|
+
stop_daemon as _sr_stop,
|
|
8563
|
+
get_daemon_status as _sr_status,
|
|
8564
|
+
)
|
|
8565
|
+
except (ImportError, ModuleNotFoundError):
|
|
8566
|
+
# LED-1261: backing module is gateway-only (excluded from npm bundle).
|
|
8567
|
+
return _with_next_steps("self_repair_daemon", {
|
|
8568
|
+
"status": "not_available",
|
|
8569
|
+
"error": "delimit_self_repair_daemon is an internal Delimit feature not shipped in the npm bundle.",
|
|
8570
|
+
"hint": "Pro customers interested in self-repair watcher can contact pro@delimit.ai.",
|
|
8571
|
+
})
|
|
8555
8572
|
|
|
8556
8573
|
if action == "start":
|
|
8557
8574
|
return _with_next_steps("self_repair_daemon", _sr_start())
|
|
@@ -8581,7 +8598,15 @@ def delimit_corp_dashboard() -> Dict[str, Any]:
|
|
|
8581
8598
|
{"error": "..."} for that key only and never crashes the whole call.
|
|
8582
8599
|
Gateway-only — not shipped in the npm bundle.
|
|
8583
8600
|
"""
|
|
8584
|
-
|
|
8601
|
+
try:
|
|
8602
|
+
from ai.corp_dashboard import get_corp_dashboard
|
|
8603
|
+
except (ImportError, ModuleNotFoundError):
|
|
8604
|
+
# LED-1261: backing module is gateway-only (excluded from npm bundle).
|
|
8605
|
+
return _with_next_steps("corp_dashboard", {
|
|
8606
|
+
"status": "not_available",
|
|
8607
|
+
"error": "delimit_corp_dashboard is an internal Delimit feature not shipped in the npm bundle.",
|
|
8608
|
+
"hint": "Pro customers interested in the corp dashboard surface can contact pro@delimit.ai.",
|
|
8609
|
+
})
|
|
8585
8610
|
result = get_corp_dashboard()
|
|
8586
8611
|
return _with_next_steps("corp_dashboard", result)
|
|
8587
8612
|
|
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": "4.5.
|
|
4
|
+
"version": "4.5.10",
|
|
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": [
|