delimit-cli 4.1.44 → 4.1.47

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.
@@ -0,0 +1,50 @@
1
+ # This file was generated by Nuitka
2
+
3
+ # Stubs included by default
4
+ from __future__ import annotations
5
+ from pathlib import Path
6
+ import hashlib
7
+ import json
8
+ import time
9
+
10
+ LICENSE_FILE = Path.home() / '.delimit' / 'license.json'
11
+ USAGE_FILE = Path.home() / '.delimit' / 'usage.json'
12
+ LS_VALIDATE_URL = 'https://api.lemonsqueezy.com/v1/licenses/validate'
13
+ REVALIDATION_INTERVAL = 30 * 86400
14
+ GRACE_PERIOD = 7 * 86400
15
+ HARD_BLOCK = 14 * 86400
16
+ PRO_TOOLS = frozenset({'delimit_gov_health', 'delimit_gov_status', 'delimit_gov_evaluate', 'delimit_gov_policy', 'delimit_gov_run', 'delimit_gov_verify', 'delimit_deploy_plan', 'delimit_deploy_build', 'delimit_deploy_publish', 'delimit_deploy_verify', 'delimit_deploy_rollback', 'delimit_deploy_site', 'delimit_deploy_npm', 'delimit_memory_store', 'delimit_memory_search', 'delimit_memory_recent', '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'})
17
+ FREE_TRIAL_LIMITS = {'delimit_deliberate': 3}
18
+ def load_license() -> dict:
19
+ ...
20
+
21
+ def check_premium() -> bool:
22
+ ...
23
+
24
+ def gate_tool(tool_name: str) -> dict | None:
25
+ ...
26
+
27
+ def activate(key: str) -> dict:
28
+ ...
29
+
30
+ def _revalidate(data: dict) -> dict:
31
+ ...
32
+
33
+ def _get_monthly_usage(tool_name: str) -> int:
34
+ ...
35
+
36
+ def _increment_usage(tool_name: str) -> int:
37
+ ...
38
+
39
+
40
+ __name__ = ...
41
+
42
+
43
+
44
+ # Modules used internally, to allow implicit dependencies to be seen:
45
+ import hashlib
46
+ import json
47
+ import time
48
+ import pathlib
49
+ import urllib
50
+ import urllib.request