@senpi/runtime 3.0.248 → 3.0.249
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.
|
@@ -1159,7 +1159,7 @@
|
|
|
1159
1159
|
"dist/scanners/external/scaffold/import_check.py": "150dc0f4ab722ed64924bf775ee5bd955fc38710a6e6086e7e2f9d2dcba6ae84",
|
|
1160
1160
|
"dist/scanners/external/scaffold/journal.py": "73d730c008ac2926f2d5b0da2c9320dc4d3d58356b906c0e257f3b7d599d8232",
|
|
1161
1161
|
"dist/scanners/external/scaffold/loop_primitives.py": "5152c287a50bc73eec947faf45d638590db95d3994b58ba69dd56d5e4ed95e68",
|
|
1162
|
-
"dist/scanners/external/scaffold/preflight.py": "
|
|
1162
|
+
"dist/scanners/external/scaffold/preflight.py": "c77f138e80746c4247ba93cbe8a536bd7aa5dfee4d1093b224375f0a774461d8",
|
|
1163
1163
|
"dist/scanners/external/scaffold/requirements.txt": "6391912882b65ab1cad080e43361b00540ba0c4e97ca14c536167b57280ae382",
|
|
1164
1164
|
"dist/scanners/external/scaffold/scaffold.py": "2f8988f139f74eebfbbc7acf97afed5d11c7ab298ce6eefdf7dd010668381d53",
|
|
1165
1165
|
"dist/scanners/external/scaffold/scaffold_state.py": "371a8d75a7f8b816e95aea2b06cf19bf57e045c530c26f479981f0b7da6ffb36",
|
|
@@ -1757,6 +1757,6 @@
|
|
|
1757
1757
|
"dist/widgets/widgets/quant-desk-recommendations.d.ts.map": "410c41d3d2b37a1d8329aa888424f920424cc3afa1abd6acc64989093cbba24a",
|
|
1758
1758
|
"dist/widgets/widgets/quant-desk-recommendations.js": "91018c50913ace64ca1941c22e3de17549130a3370132b7f2ccc0477ee6d2aa0",
|
|
1759
1759
|
"dist/widgets/widgets/quant-desk-recommendations.js.map": "80b24b605271cff9acd56800f7c098c2335136e5362055c349e622b8751714c2",
|
|
1760
|
-
"openclaw.plugin.json": "
|
|
1760
|
+
"openclaw.plugin.json": "63324c2a09604f7038ae15e99731d4a0503ae1231c299dbf3d728fe305474681"
|
|
1761
1761
|
}
|
|
1762
1762
|
}
|
|
@@ -61,6 +61,7 @@ from .tick_metrics import TickMetrics, cpu_seconds, measure_tick # noqa: F401
|
|
|
61
61
|
PROBE_TICKS = 3
|
|
62
62
|
PROBE_MARGIN_SECONDS = 30
|
|
63
63
|
PROBE_DATA_LIMIT_BYTES = 1024 * 1024 * 1024
|
|
64
|
+
PROBE_ONE_THREAD = ("OPENBLAS_NUM_THREADS", "OMP_NUM_THREADS", "MKL_NUM_THREADS")
|
|
64
65
|
|
|
65
66
|
# Evidence is meant to be complete, but a scanner that prints in a loop will produce megabytes of
|
|
66
67
|
# it. Bounded with the ends kept and the middle marked, so the output stays honest about what was
|
|
@@ -1039,6 +1040,10 @@ def _cap_probe_memory() -> None:
|
|
|
1039
1040
|
resource.setrlimit(resource.RLIMIT_DATA, (PROBE_DATA_LIMIT_BYTES, PROBE_DATA_LIMIT_BYTES))
|
|
1040
1041
|
except (ValueError, OSError):
|
|
1041
1042
|
pass
|
|
1043
|
+
# A BLAS sizes a buffer per thread for every CPU it sees, and on a many-core host that alone
|
|
1044
|
+
# passes the cap. The deployed scanner runs one BLAS thread, so the probe measures it that way.
|
|
1045
|
+
for variable in PROBE_ONE_THREAD:
|
|
1046
|
+
os.environ[variable] = "1"
|
|
1042
1047
|
|
|
1043
1048
|
|
|
1044
1049
|
def _unmeasured(reason: str) -> Dict[str, Any]:
|
package/openclaw.plugin.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"id": "runtime",
|
|
3
3
|
"name": "Senpi Runtime",
|
|
4
4
|
"description": "Senpi runtime plugin for OpenClaw. Orchestrates scanners, LLM-based trade decisions, and a DSL trailing stop-loss exit engine.",
|
|
5
|
-
"version": "3.0.
|
|
5
|
+
"version": "3.0.249",
|
|
6
6
|
"commandAliases": [
|
|
7
7
|
{
|
|
8
8
|
"name": "senpi"
|