delimit-cli 3.9.1 → 3.9.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-setup.js
CHANGED
|
@@ -104,7 +104,8 @@ async function main() {
|
|
|
104
104
|
const arch = (() => { try { return execSync('uname -m', { encoding: 'utf-8' }).trim(); } catch { return 'x86_64'; } })();
|
|
105
105
|
const osName = process.platform === 'darwin' ? 'macos' : 'linux';
|
|
106
106
|
const artifact = `${osName}-${arch}-${pyVer}`;
|
|
107
|
-
const
|
|
107
|
+
const pkg = JSON.parse(fs.readFileSync(path.join(__dirname, '..', 'package.json'), 'utf-8'));
|
|
108
|
+
const proVersion = pkg.proModuleVersion || '3.8.2';
|
|
108
109
|
const proUrl = `https://delimit.ai/releases/v${proVersion}/delimit-pro-${artifact}.tar.gz`;
|
|
109
110
|
|
|
110
111
|
try {
|
|
@@ -1,20 +1,6 @@
|
|
|
1
|
-
"""
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
""
|
|
6
|
-
|
|
7
|
-
def get_models_config():
|
|
8
|
-
raise ImportError("Deliberation engine requires Pro module. Run: npx delimit-cli setup")
|
|
9
|
-
|
|
10
|
-
def configure_models():
|
|
11
|
-
raise ImportError("Deliberation engine requires Pro module. Run: npx delimit-cli setup")
|
|
12
|
-
|
|
13
|
-
def deliberate(**kwargs):
|
|
14
|
-
raise ImportError("Deliberation engine requires Pro module. Run: npx delimit-cli setup")
|
|
15
|
-
|
|
16
|
-
def _call_cli(*args, **kwargs):
|
|
17
|
-
raise ImportError("Deliberation engine requires Pro module.")
|
|
18
|
-
|
|
19
|
-
def _call_model(*args, **kwargs):
|
|
20
|
-
raise ImportError("Deliberation engine requires Pro module.")
|
|
1
|
+
"""Delimit Deliberation Engine — compiled binary required. Run: npx delimit-cli setup"""
|
|
2
|
+
def get_models_config(): raise ImportError("Requires Pro module")
|
|
3
|
+
def configure_models(): raise ImportError("Requires Pro module")
|
|
4
|
+
def deliberate(**kwargs): raise ImportError("Requires Pro module")
|
|
5
|
+
def _call_cli(*a, **kw): raise ImportError("Requires Pro module")
|
|
6
|
+
def _call_model(*a, **kw): raise ImportError("Requires Pro module")
|
package/gateway/ai/governance.py
CHANGED
|
@@ -1,11 +1,4 @@
|
|
|
1
|
-
"""
|
|
2
|
-
Delimit Governance Layer — the loop that keeps AI agents on track.
|
|
3
|
-
The full engine is distributed as a compiled binary (.so/.pyd).
|
|
4
|
-
Install compiled modules: npx delimit-cli setup
|
|
5
|
-
"""
|
|
6
|
-
|
|
1
|
+
"""Delimit Governance Layer — compiled binary required. Run: npx delimit-cli setup"""
|
|
7
2
|
def govern(tool_name, result, project_path="."):
|
|
8
|
-
"""Route tool result through governance. Requires compiled module."""
|
|
9
|
-
# Minimal fallback: pass through without governance
|
|
10
3
|
result["next_steps"] = result.get("next_steps", [])
|
|
11
4
|
return result
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "delimit-cli",
|
|
3
|
-
"version": "3.9.
|
|
3
|
+
"version": "3.9.2",
|
|
4
4
|
"description": "One workspace for every AI coding assistant. Tasks, memory, and governance carry between Claude Code, Codex, and Gemini CLI.",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"files": [
|
|
@@ -58,6 +58,7 @@
|
|
|
58
58
|
"js-yaml": "^4.1.0",
|
|
59
59
|
"minimatch": "^5.1.0"
|
|
60
60
|
},
|
|
61
|
+
"proModuleVersion": "3.8.2",
|
|
61
62
|
"engines": {
|
|
62
63
|
"node": ">=14.0.0"
|
|
63
64
|
}
|