@vtxmacro/cli 2026.10.4 → 2026.10.6
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/README.md +10 -0
- package/bin/vtx-mcp.js +3262 -816
- package/bin/vtx-service-bootstrap.js +389 -379
- package/bin/vtx-service-launcher.js +57 -0
- package/bin/vtx.js +98419 -75795
- package/package.json +1 -1
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { createRequire as __vtxCreateRequire } from 'node:module'; const require = __vtxCreateRequire(import.meta.url);
|
|
2
|
+
|
|
1
3
|
// lib/runtime-policy.generated.json
|
|
2
4
|
var runtime_policy_generated_default = {
|
|
3
5
|
ui: {
|
|
@@ -94,6 +96,17 @@ var runtime_policy_generated_default = {
|
|
|
94
96
|
history_evidence: {
|
|
95
97
|
device_rounds_per_beat: 6,
|
|
96
98
|
device_retry_seconds: 60
|
|
99
|
+
},
|
|
100
|
+
panel_reads: {
|
|
101
|
+
device_open_orders_reuse_seconds: 2
|
|
102
|
+
},
|
|
103
|
+
account_stream: {
|
|
104
|
+
fill_forward_interval_ms: 1e3,
|
|
105
|
+
fill_forward_max_pending: 500
|
|
106
|
+
},
|
|
107
|
+
hyperliquid_snapshot: {
|
|
108
|
+
max_fills_per_execution: 20,
|
|
109
|
+
max_fill_payload_bytes: 32768
|
|
97
110
|
}
|
|
98
111
|
},
|
|
99
112
|
server_runtime: {
|
|
@@ -108,6 +121,23 @@ var runtime_policy_generated_default = {
|
|
|
108
121
|
client_presence_http_timeout_milliseconds: 5e3
|
|
109
122
|
}
|
|
110
123
|
}
|
|
124
|
+
},
|
|
125
|
+
history_reads: {
|
|
126
|
+
max_requests_per_read: 64,
|
|
127
|
+
history_start_ms: 16409952e5,
|
|
128
|
+
device_read_deadline_seconds: 180,
|
|
129
|
+
device_recent_window_hours: 24
|
|
130
|
+
}
|
|
131
|
+
},
|
|
132
|
+
agent_cli: {
|
|
133
|
+
update_check_interval_ms: 144e5,
|
|
134
|
+
update_check_timeout_ms: 5e3,
|
|
135
|
+
stage_timeout_ms: 6e5,
|
|
136
|
+
startup_ready_timeout_ms: 12e4
|
|
137
|
+
},
|
|
138
|
+
leaderboard: {
|
|
139
|
+
device_portfolio: {
|
|
140
|
+
device_retry_seconds: 300
|
|
111
141
|
}
|
|
112
142
|
},
|
|
113
143
|
external_inference: {
|
|
@@ -131,6 +161,9 @@ var runtime_policy_generated_default = {
|
|
|
131
161
|
runtime_watchdog: {
|
|
132
162
|
ping_interval_milliseconds: 15e3,
|
|
133
163
|
telemetry_interval_milliseconds: 3e5
|
|
164
|
+
},
|
|
165
|
+
updates: {
|
|
166
|
+
auto_check_interval_seconds: 21600
|
|
134
167
|
}
|
|
135
168
|
},
|
|
136
169
|
screener: {
|
|
@@ -153,6 +186,8 @@ var runtime_policy_generated_default = {
|
|
|
153
186
|
client_public_read_budget: {
|
|
154
187
|
max_weight: 1200,
|
|
155
188
|
window_seconds: 60,
|
|
189
|
+
ui_max_weight_percent: 75,
|
|
190
|
+
background_max_weight_percent: 50,
|
|
156
191
|
cooldown_seconds: 60,
|
|
157
192
|
metadata_ttl_seconds: 300,
|
|
158
193
|
user_fees_ttl_seconds: 300,
|
|
@@ -224,7 +259,29 @@ var runtime_policy_generated_default = {
|
|
|
224
259
|
trading_analysis: 4,
|
|
225
260
|
ui: 5,
|
|
226
261
|
background: 6
|
|
262
|
+
},
|
|
263
|
+
account_stream_backoff: {
|
|
264
|
+
initial_seconds: 1,
|
|
265
|
+
max_seconds: 15,
|
|
266
|
+
multiplier: 2,
|
|
267
|
+
jitter_seconds: 2,
|
|
268
|
+
reset_after_seconds: 60
|
|
269
|
+
},
|
|
270
|
+
websocket: {
|
|
271
|
+
ping_interval_seconds: 20,
|
|
272
|
+
account_open_timeout_seconds: 10
|
|
227
273
|
}
|
|
274
|
+
},
|
|
275
|
+
cache: {
|
|
276
|
+
order_history_ttl_seconds: 30,
|
|
277
|
+
twap_history_ttl_seconds: 30,
|
|
278
|
+
twap_fills_ttl_seconds: 30,
|
|
279
|
+
funding_history_ttl_seconds: 300
|
|
280
|
+
}
|
|
281
|
+
},
|
|
282
|
+
data_sync: {
|
|
283
|
+
trade_chain_history: {
|
|
284
|
+
range_page_limit: 500
|
|
228
285
|
}
|
|
229
286
|
}
|
|
230
287
|
};
|