delimit-cli 4.5.12 → 4.5.13
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.
|
Binary file
|
|
@@ -1,42 +1,38 @@
|
|
|
1
1
|
# This file was generated by Nuitka
|
|
2
2
|
|
|
3
3
|
# Stubs included by default
|
|
4
|
-
|
|
4
|
+
import time
|
|
5
|
+
import json
|
|
6
|
+
import os
|
|
5
7
|
from pathlib import Path
|
|
6
8
|
import hashlib
|
|
7
|
-
import json
|
|
8
|
-
import time
|
|
9
9
|
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
10
|
+
PRO_TOOLS = frozenset({'delimit_gov_evaluate', 'delimit_gov_policy', 'delimit_gov_run', 'delimit_gov_verify', 'delimit_os_plan', 'delimit_os_status', 'delimit_os_gates', 'delimit_deploy_plan', 'delimit_deploy_build', 'delimit_deploy_publish', 'delimit_deploy_verify', 'delimit_deploy_rollback', 'delimit_deploy_status', 'delimit_deploy_site', 'delimit_deploy_npm', 'delimit_memory_search', 'delimit_vault_search', 'delimit_vault_snapshot', 'delimit_vault_health', 'delimit_evidence_collect', 'delimit_evidence_verify', 'delimit_deliberate', 'delimit_models', 'delimit_obs_metrics', 'delimit_obs_logs', 'delimit_obs_status', 'delimit_release_plan', 'delimit_release_status', 'delimit_release_sync', 'delimit_cost_analyze', 'delimit_cost_optimize', 'delimit_cost_alert', 'delimit_social_post', 'delimit_social_generate', 'delimit_social_history', 'delimit_screen_record', 'delimit_screenshot', 'delimit_notify', 'delimit_agent_dispatch', 'delimit_agent_status', 'delimit_agent_complete', 'delimit_agent_handoff', 'delimit_executor'})
|
|
11
|
+
def needs_revalidation(data: dict) -> bool:
|
|
12
|
+
...
|
|
13
|
+
def revalidate_license(data: dict) -> dict:
|
|
14
|
+
...
|
|
15
|
+
def is_license_valid(data: dict) -> bool:
|
|
16
|
+
...
|
|
17
|
+
def _write_license(data: dict) -> None:
|
|
18
|
+
...
|
|
19
|
+
def _call_lemon_squeezy(data: dict) -> bool | None:
|
|
20
|
+
...
|
|
18
21
|
def load_license() -> dict:
|
|
19
22
|
...
|
|
20
|
-
|
|
21
23
|
def check_premium() -> bool:
|
|
22
24
|
...
|
|
23
|
-
|
|
24
25
|
def gate_tool(tool_name: str) -> dict | None:
|
|
25
26
|
...
|
|
26
|
-
|
|
27
27
|
def activate(key: str) -> dict:
|
|
28
28
|
...
|
|
29
|
-
|
|
30
29
|
def _revalidate(data: dict) -> dict:
|
|
31
30
|
...
|
|
32
|
-
|
|
33
31
|
def _get_monthly_usage(tool_name: str) -> int:
|
|
34
32
|
...
|
|
35
|
-
|
|
36
33
|
def _increment_usage(tool_name: str) -> int:
|
|
37
34
|
...
|
|
38
35
|
|
|
39
|
-
|
|
40
36
|
__name__ = ...
|
|
41
37
|
|
|
42
38
|
|
|
@@ -44,7 +40,9 @@ __name__ = ...
|
|
|
44
40
|
# Modules used internally, to allow implicit dependencies to be seen:
|
|
45
41
|
import hashlib
|
|
46
42
|
import json
|
|
43
|
+
import os
|
|
47
44
|
import time
|
|
48
45
|
import pathlib
|
|
49
46
|
import urllib
|
|
50
|
-
import urllib.request
|
|
47
|
+
import urllib.request
|
|
48
|
+
import re
|
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.13",
|
|
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": [
|
|
@@ -55,7 +55,7 @@
|
|
|
55
55
|
"scripts": {
|
|
56
56
|
"postinstall": "node scripts/postinstall.js",
|
|
57
57
|
"sync-gateway": "bash scripts/sync-gateway.sh",
|
|
58
|
-
"prepublishOnly": "bash scripts/publish-ci-guard.sh && npm run sync-gateway && bash scripts/security-check.sh",
|
|
58
|
+
"prepublishOnly": "bash scripts/publish-ci-guard.sh && npm run sync-gateway && bash scripts/build-license-core.sh && bash scripts/security-check.sh",
|
|
59
59
|
"test": "node --test tests/setup-onboarding.test.js tests/setup-matrix.test.js tests/setup-no-clobber.test.js tests/config-export-import.test.js tests/cross-model-hooks.test.js tests/golden-path.test.js tests/v420-features.test.js tests/v43-wrap-engine.test.js tests/v43-trust-page-engine.test.js tests/v43-ai-sbom-engine.test.js tests/attest-mcp.test.js tests/delimit-home.test.js tests/postinstall-hardening.test.js"
|
|
60
60
|
},
|
|
61
61
|
"keywords": [
|