{ "setConfig": "{\"ok\":true,\"data\":{\"providerId\":\"massive\",\"kind\":\"financial-data\",\"name\":\"Massive (Polygon.io)\",\"status\":\"not-connected\",\"health\":{\"status\":\"not-connected\",\"diagnostic\":\"degraded\",\"lastCheck\":1789182986654,\"message\":\"Configured; run Test Connection to verify production data access\",\"permissions\":[{\"id\":\"realtime\",\"label\":\"Real-time data\",\"granted\":false}]},\"coverage\":{\"providerId\":\"massive\",\"capabilities\":[\"market.quote\",\"market.kline\",\"company.profile\"],\"markets\":[{\"id\":\"US\",\"name\":\"United States\"}],\"dataAccess\":\"end-of-day\",\"credentialRequirement\":\"api-key\",\"quota\":{\"limit\":5,\"window\":\"minute\"}},\"configurable\":true,\"configured\":true,\"hasAccount\":false,\"accountLabel\":null,\"error\":null,\"enabled\":true,\"endpoint\":\"https://folio_user:CANARYLEAK04dbpass@db.host.internal/api\",\"region\":null,\"routingRole\":\"fallback\",\"recentResult\":{\"capabilityId\":\"market.quote\",\"providerId\":\"massive\",\"ok\":false,\"fallbackUsed\":true,\"at\":1789182963198,\"errorCode\":\"CONFIG_MISSING\"}}}", "connectionsTest": "{\"ok\":true,\"data\":{\"status\":\"error\",\"diagnostic\":\"unreachable\",\"diagnosticCode\":\"UNKNOWN\",\"lastCheck\":1789183020207,\"latencyMs\":1,\"message\":\"Could not reach the data provider\"}}", "diagnosticsBundle": "{\"ok\":true,\"data\":{\"collectedAt\":\"2026-09-12T03:16:26.820Z\",\"app\":{\"version\":\"0.4.0-beta.2\",\"platform\":{\"os\":\"win32\",\"arch\":\"x64\",\"electron\":\"39.8.9\"}},\"runtime\":{\"agent\":{\"providerId\":\"local\",\"state\":null}},\"providers\":{\"llm\":{\"id\":null,\"model\":null},\"financial\":[{\"id\":\"longbridge\",\"status\":\"financial-data\",\"coverage\":{\"capabilities\":[\"market.quote\",\"market.kline\",\"market.intraday\",\"market.depth\",\"market.trades\",\"market.capitalFlow\",\"market.sentiment\",\"market.status\",\"company.profile\",\"company.valuation\",\"company.financials\",\"company.dividends\",\"company.earnings\",\"company.ratings\",\"research.news\",\"research.events\"],\"markets\":[\"US\",\"HK\",\"CN\",\"SG\"]}},{\"id\":\"longbridge-broker\",\"status\":\"broker-account\",\"coverage\":{\"capabilities\":[\"portfolio.summary\",\"portfolio.positions\",\"portfolio.assets\",\"portfolio.cashFlow\"],\"markets\":[]}},{\"id\":\"massive\",\"status\":\"financial-data\",\"coverage\":{\"capabilities\":[\"market.quote\",\"market.kline\",\"company.profile\"],\"markets\":[\"US\"]}}],\"broker\":{\"connected\":true,\"accountCount\":1},\"longbridgeCliVersion\":null},\"skills\":{\"loaded\":13},\"capabilities\":{\"available\":[\"market.quote\",\"market.kline\",\"market.intraday\",\"market.status\",\"company.profile\",\"company.valuation\",\"research.news\",\"portfolio.summary\",\"market.depth\",\"market.trades\",\"market.capitalFlow\",\"market.sentiment\",\"company.financials\",\"company.ratings\",\"company.dividends\",\"company.earnings\",\"research.events\",\"portfolio.positions\",\"portfolio.assets\",\"portfolio.cashFlow\"]},\"evaluation\":{\"backend\":\"none\",\"tracingEnabled\":false,\"privacyLevel\":\"standard\",\"project\":\"folio-agent\",\"connected\":null,\"traceStatus\":\"disabled\",\"datasets\":[\"folio-agent-v1\",\"folio-agent-v1-zh\",\"deep-research-gold-v1\"]},\"pi\":{\"status\":\"unknown\",\"command\":null,\"cwd\":null,\"extensions\":[],\"providersConfigured\":[],\"model\":null,\"lastExitCode\":null,\"lastExitSignal\":null,\"stderrTail\":null,\"observabilityDegraded\":null},\"resources\":{\"dev\":true,\"root\":\"D:\\\\httpsgithub.comhelsomefolio\"},\"errors\":[{\"at\":1789182986765,\"source\":\"main\",\"message\":\"Expected an object payload.\",\"stack\":\"Error: Expected an object payload.\\n at createCodeError2 (file:///D:/httpsgithub.comhelsomefolio/apps/electron/src/main/index.js:40693:17)\\n at requireObject (file:///D:/httpsgithub.comhelsomefolio/apps/electron/src/main/index.js:40688:11)\\n at AgentKernelHost.testProviderConnection (file:///D:/httpsgithub.comhelsomefolio/apps/electron/src/main/index.js:40062:21)\\n at file:///D:/httpsgithub.comhelsomefolio/apps/electron/src/main/index.js:41022:96\\n at toIpcResult (file:///D:/httpsgithub.comhelsomefolio/apps/electron/src/main/index.js:40653:24)\\n at file:///D:/httpsgithub.comhelsomefolio/apps/electron/src/main/index.js:41022:62\\n at Session. (node:electron/js2c/browser_init:2:112778)\\n at Session.emit (node:events:519:28)\"},{\"at\":1789182963198,\"source\":\"main\",\"message\":\"Add an API key to connect\",\"stack\":\"ProviderFetchError: Add an API key to connect\\n at fetch2 (file:///D:/httpsgithub.comhelsomefolio/apps/electron/src/main/index.js:30467:9)\\n at async toIpcResult (file:///D:/httpsgithub.comhelsomefolio/apps/electron/src/main/index.js:40653:18)\\n at async Session. (node:electron/js2c/browser_init:2:112762)\"},{\"at\":1789182963182,\"source\":\"main\",\"message\":\"Add an API key to connect\",\"stack\":\"ProviderFetchError: Add an API key to connect\\n at fetch2 (file:///D:/httpsgithub.comhelsomefolio/apps/electron/src/main/index.js:30467:9)\\n at async toIpcResult (file:///D:/httpsgithub.comhelsomefolio/apps/electron/src/main/index.js:40653:18)\\n at async Session. (node:electron/js2c/browser_init:2:112762)\"},{\"at\":1789182963175,\"source\":\"main\",\"message\":\"Add an API key to connect\",\"stack\":\"ProviderFetchError: Add an API key to connect\\n at fetch2 (file:///D:/httpsgithub.comhelsomefolio/apps/electron/src/main/index.js:30467:9)\\n at async toIpcResult (file:///D:/httpsgithub.comhelsomefolio/apps/electron/src/main/index.js:40653:18)\\n at async Session. (node:electron/js2c/browser_init:2:112762)\"},{\"at\":1789182902163,\"source\":\"main\",\"message\":\"Add an API key to connect\",\"stack\":\"ProviderFetchError: Add an API key to connect\\n at fetch2 (file:///D:/httpsgithub.comhelsomefolio/apps/electron/src/main/index.js:30467:9)\\n at async toIpcResult (file:///D:/httpsgithub.comhelsomefolio/apps/electron/src/main/index.js:40653:18)\\n at async Session. (node:electron/js2c/browser_init:2:112762)\"},{\"at\":1789182902153,\"source\":\"main\",\"message\":\"Add an API key to connect\",\"stack\":\"ProviderFetchError: Add an API key to connect\\n at fetch2 (file:///D:/httpsgithub.comhelsomefolio/apps/electron/src/main/index.js:30467:9)\\n at async toIpcResult (file:///D:/httpsgithub.comhelsomefolio/apps/electron/src/main/index.js:40653:18)\\n at async Session. (node:electron/js2c/browser_init:2:112762)\"},{\"at\":1789182902143,\"source\":\"main\",\"message\":\"Add an API key to connect\",\"stack\":\"ProviderFetchError: Add an API key to connect\\n at fetch2 (file:///D:/httpsgithub.comhelsomefolio/apps/electron/src/main/index.js:30467:9)\\n at async toIpcResult (file:///D:/httpsgithub.comhelsomefolio/apps/electron/src/main/index.js:40653:18)\\n at async Session. (node:electron/js2c/browser_init:2:112762)\"},{\"at\":1789182841171,\"source\":\"main\",\"message\":\"Add an API key to connect\",\"stack\":\"ProviderFetchError: Add an API key to connect\\n at fetch2 (file:///D:/httpsgithub.comhelsomefolio/apps/electron/src/main/index.js:30467:9)\\n at async toIpcResult (file:///D:/httpsgithub.comhelsomefolio/apps/electron/src/main/index.js:40653:18)\\n at async Session. (node:electron/js2c/browser_init:2:112762)\"},{\"at\":1789182841158,\"source\":\"main\",\"message\":\"Add an API key to connect\",\"stack\":\"ProviderFetchError: Add an API key to connect\\n at fetch2 (file:///D:/httpsgithub.comhelsomefolio/apps/electron/src/main/index.js:30467:9)\\n at async toIpcResult (file:///D:/httpsgithub.comhelsomefolio/apps/electron/src/main/index.js:40653:18)\\n at async Session. (node:electron/js2c/browser_init:2:112762)\"},{\"at\":1789182841151,\"source\":\"main\",\"message\":\"Add an API key to connect\",\"stack\":\"ProviderFetchError: Add an API key to connect\\n at fetch2 (file:///D:/httpsgithub.comhelsomefolio/apps/electron/src/main/index.js:30467:9)\\n at async toIpcResult (file:///D:/httpsgithub.comhelsomefolio/apps/electron/src/main/index.js:40653:18)\\n at async Session. (node:electron/js2c/browser_init:2:112762)\"},{\"at\":1789182811167,\"source\":\"main\",\"message\":\"Add an API key to connect\",\"stack\":\"ProviderFetchError: Add an API key to connect\\n at fetch2 (file:///D:/httpsgithub.comhelsomefolio/apps/electron/src/main/index.js:30467:9)\\n at async toIpcResult (file:///D:/httpsgithub.comhelsomefolio/apps/electron/src/main/index.js:40653:18)\\n at async Session. (node:electron/js2c/browser_init:2:112762)\"},{\"at\":1789182811159,\"source\":\"main\",\"message\":\"Add an API key to connect\",\"stack\":\"ProviderFetchError: Add an API key to connect\\n at fetch2 (file:///D:/httpsgithub.comhelsomefolio/apps/electron/src/main/index.js:30467:9)\\n at async toIpcResult (file:///D:/httpsgithub.comhelsomefolio/apps/electron/src/main/index.js:40653:18)\\n at async Session. (node:electron/js2c/browser_init:2:112762)\"},{\"at\":1789182811148,\"source\":\"main\",\"message\":\"Add an API key to connect\",\"stack\":\"ProviderFetchError: Add an API key to connect\\n at fetch2 (file:///D:/httpsgithub.comhelsomefolio/apps/electron/src/main/index.js:30467:9)\\n at async toIpcResult (file:///D:/httpsgithub.comhelsomefolio/apps/electron/src/main/index.js:40653:18)\\n at async Session. (node:electron/js2c/browser_init:2:112762)\"},{\"at\":1789182780168,\"source\":\"main\",\"message\":\"Add an API key to connect\",\"stack\":\"ProviderFetchError: Add an API key to connect\\n at fetch2 (file:///D:/httpsgithub.comhelsomefolio/apps/electron/src/main/index.js:30467:9)\\n at async toIpcResult (file:///D:/httpsgithub.comhelsomefolio/apps/electron/src/main/index.js:40653:18)\\n at async Session. (node:electron/js2c/browser_init:2:112762)\"},{\"at\":1789182780153,\"source\":\"main\",\"message\":\"Add an API key to connect\",\"stack\":\"ProviderFetchError: Add an API key to connect\\n at fetch2 (file:///D:/httpsgithub.comhelsomefolio/apps/electron/src/main/index.js:30467:9)\\n at async toIpcResult (file:///D:/httpsgithub.comhelsomefolio/apps/electron/src/main/index.js:40653:18)\\n at async Session. (node:electron/js2c/browser_init:2:112762)\"},{\"at\":1789182780147,\"source\":\"main\",\"message\":\"Add an API key to connect\",\"stack\":\"ProviderFetchError: Add an API key to connect\\n at fetch2 (file:///D:/httpsgithub.comhelsomefolio/apps/electron/src/main/index.js:30467:9)\\n at async toIpcResult (file:///D:/httpsgithub.comhelsomefolio/apps/electron/src/main/index.js:40653:18)\\n at async Session. (node:electron/js2c/browser_init:2:112762)\"},{\"at\":1789182750182,\"source\":\"main\",\"message\":\"Add an API key to connect\",\"stack\":\"ProviderFetchError: Add an API key to connect\\n at fetch2 (file:///D:/httpsgithub.comhelsomefolio/apps/electron/src/main/index.js:30467:9)\\n at async toIpcResult (file:///D:/httpsgithub.comhelsomefolio/apps/electron/src/main/index.js:40653:18)\\n at async Session. (node:electron/js2c/browser_init:2:112762)\"},{\"at\":1789182750167,\"source\":\"main\",\"message\":\"Add an API key to connect\",\"stack\":\"ProviderFetchError: Add an API key to connect\\n at fetch2 (file:///D:/httpsgithub.comhelsomefolio/apps/electron/src/main/index.js:30467:9)\\n at async toIpcResult (file:///D:/httpsgithub.comhelsomefolio/apps/electron/src/main/index.js:40653:18)\\n at async Session. (node:electron/js2c/browser_init:2:112762)\"},{\"at\":1789182750161,\"source\":\"main\",\"message\":\"Add an API key to connect\",\"stack\":\"ProviderFetchError: Add an API key to connect\\n at fetch2 (file:///D:/httpsgithub.comhelsomefolio/apps/electron/src/main/index.js:30467:9)\\n at async toIpcResult (file:///D:/httpsgithub.comhelsomefolio/apps/electron/src/main/index.js:40653:18)\\n at async Session. (node:electron/js2c/browser_init:2:112762)\"},{\"at\":1789182720161,\"source\":\"main\",\"message\":\"Add an API key to connect\",\"stack\":\"ProviderFetchError: Add an API key to connect\\n at fetch2 (file:///D:/httpsgithub.comhelsomefolio/apps/electron/src/main/index.js:30467:9)\\n at async toIpcResult (file:///D:/httpsgithub.comhelsomefolio/apps/electron/src/main/index.js:40653:18)\\n at async Session. (node:electron/js2c/browser_init:2:112762)\"}],\"redaction\":{\"policy\":\"Strips API keys (sk-/rk-/pk-/ak-…), AWS keys (AKIA…), Bearer and Basic auth headers, x-api-key/apiKey fields, JWTs, VCS tokens (gh*/github_pat_/glpat-/npm_), cloud & SaaS tokens (lsv2_/xox…/SG./AIza…/ya29.), cookies & session tokens, webhook signatures (whsec_/x-hub-signature), private key PEM blocks, URL userinfo and secret query parameters, connection-string credentials, and base64-ish blobs. Private conversation contents and portfolio details are additionally minimized per privacy level.\",\"applied\":false}}}", "judgeStatus": "{\"ok\":true,\"data\":{\"backend\":\"none\",\"tracingEnabled\":false,\"langfuseTracingEnabled\":false,\"privacyLevel\":\"standard\",\"project\":\"folio-agent\"}}" }