hedgequantx 2.5.13 → 2.5.15
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/package.json +1 -1
- package/src/app.js +9 -3
- package/src/menus/ai-agent.js +297 -50
- package/src/menus/dashboard.js +9 -13
- package/src/pages/algo/index.js +230 -35
- package/src/services/ai/index.js +294 -51
- package/src/services/ai/supervisor.js +713 -0
- package/src/services/ai/token-scanner.js +2 -1
|
@@ -381,7 +381,8 @@ const PROVIDER_PATTERNS = {
|
|
|
381
381
|
displayName: 'CLAUDE (ANTHROPIC)',
|
|
382
382
|
keyPatterns: [
|
|
383
383
|
/sk-ant-api\d{2}-[a-zA-Z0-9_-]{80,}/g, // New format API key
|
|
384
|
-
/sk-ant-[a-zA-Z0-9_-]{40,}/g,
|
|
384
|
+
/sk-ant-oat\d{2}-[a-zA-Z0-9_-]{40,}/g, // OAuth access token (from Claude Max/Pro subscription)
|
|
385
|
+
/sk-ant-(?!ort)[a-zA-Z0-9_-]{40,}/g, // Old format API key (excludes refresh tokens: sk-ant-ort...)
|
|
385
386
|
],
|
|
386
387
|
sessionPatterns: [
|
|
387
388
|
/"sessionKey"\s*:\s*"([^"]+)"/gi,
|