@myagentroam/node 0.9.54 → 0.9.55
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/dist/connector.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/* mar-release-protected */
|
|
2
|
-
const _0x3e8fe1=_0x3af9;(function(_0x1437d4,_0x27c015){const _0x49a7b2=_0x3af9,_0x5bf89b=_0x1437d4();while(!![]){try{const _0x2cc8de=parseInt(_0x49a7b2(0x1f9))/(-0x27e*0x6+0x4df*-0x4+0xb7b*0x3)*(parseInt(_0x49a7b2(0x264))/(0x1990+0x1426+-0x4*0xb6d))+parseInt(_0x49a7b2(0x1c7))/(0xa53+-0x16a5+0xc55)+-parseInt(_0x49a7b2(0x185))/(-0x121f*0x1+0x1312*0x2+0x6ab*-0x3)*(parseInt(_0x49a7b2(0x265))/(-0x863*-0x1+0xd*0xaa+-0x1100))+-parseInt(_0x49a7b2(0x1dc))/(-0x9*0x1d5+-0x6b3*0x5+0x1*0x3202)+-parseInt(_0x49a7b2(0x1ea))/(-0x429+0x2063+-0x1*0x1c33)+parseInt(_0x49a7b2(0x20a))/(-0x1859*-0x1+-0x1900+0xaf)*(parseInt(_0x49a7b2(0x1eb))/(0xa1*-0x39+0x1efd+0x1*0x4e5))+parseInt(_0x49a7b2(0x1ce))/(-0x9*-0x217+0x1*0x1d39+0x17ff*-0x2)*(parseInt(_0x49a7b2(0x1dd))/(-0x1b5d+-0x2047+-0x56d*-0xb));if(_0x2cc8de===_0x27c015)break;else _0x5bf89b['push'](_0x5bf89b['shift']());}catch(_0x3bd7ea){_0x5bf89b['push'](_0x5bf89b['shift']());}}}(_0xef91,0x93d44+-0xe2ae+-0x1a89*-0x1a));import{dirname,resolve}from'node:path';import{createEnvelope}from'@myagentroam/protocol';import{hostedConversationStorePath,loadNodeConfig,nodeDataDirectory,nodeDatabasePath}from'./config.js';import{NodeMetrics,nodeLog}from'./operational.js';import{assertLocalSqlitePath}from'./storage.js';import{detectCapabilitiesAsync,unavailableCapabilities}from'./capabilities.js';import{NodeDatabase}from'./database.js';import{TerminalManager}from'./terminal.js';import{NodeRuntimeState}from'./runtime-state.js';import{CommandStateStore}from'./runner-command-engine.js';import{missionUnrestrictedAccess,MissionRuntime}from'./service/mission-runtime.js';import{MissionMcpServer}from'./service/mission-mcp-server.js';import{RunnerUsageReader}from'./runner-usage.js';import{ClaudeCodeRunner}from'./runner/claude-code-runner.js';import{ClaudeManagedRunController}from'./runner/claude/managed-run-controller.js';import{CodexRunner}from'./runner/codex-runner.js';import{CodexManagedRunController}from'./runner/codex/managed-run-controller.js';import{FakeTestRunner}from'./runner/fake-test-runner.js';import{RunnerRegistry}from'./runner/runner-registry.js';import{OpenCodeRunner}from'./runner/opencode-runner.js';function _0xef91(){const _0x45d8cd=['CMvSzwfZzunVBNzLCNnHDgLVBKzVCKnSzwfUDxa','y29UDMvYC2f0Aw9UlMHVC3rPBMCUy2XLyw51Cc5MywLSzwq','rKfjteve','y3vZDg9TvgL0Bgu','y29UzMLNugf0Aa','Aw5ZDgfSBgf0Aw9U','C3rHDgu','y29UDMvYC2f0Aw9UlMHVC3rPBMCUy2XLyw51Cc5LEgvJDxrL','C3rVCMfNzunHCgfJAxr5','q09ovKvsu0fusu9ox0Hpu1rjtKDFq0Xfqu5vuf9gquLmruq','CMvNAxn0zxjoyxrPDMvjBwfNzxm','y29UDMvYC2f0Aw9Uu2vNBwvUDfnLCNzPy2u','Ag9ZDgvKq29UDMvYC2f0Aw9Ut3bLCMf0Aw9UCW','y2XVC2u','CNvU','zMfZDa','C2XPy2u','B3bLCMf0Aw9UCW','CMvZB2X2zq','Aw52ywXPzgf0zvDVCMTZCgfJzvDHDgnOvg9WAwnZ','ywXSB3DLzfjVB3rZ','Dw5Yzwy','BwfYqwDLBNrsDw50Aw1Lu2nVCgvjza','ywn0AxzLu2vZC2LVBLj1BG','y2HHBMDLza','z2v0','ANnVBG','zxH0zxjUywXtzxnZAw9UuMvZDw1Lu2vYDMLJzq','DhjHBNnPDgLVBMLUzW','ChvIBgLZAefWChjVDMfS','y2XVC2vsDw5UAw5NvgvYBwLUywXtzxnZAw9UCW','tK9erv9vueDsqurfx1bftKrjtKC','BNvTyMvY','zw1PDfnLC3nPB25xB3jRyMvUy2HfDMvUDa','Bwf0zxjPywXPEMvdB2rLEa','y29UDMvYC2f0Aw9UlMHVC3rLzc5JCMvHDgu','y29UDMvYC2f0Aw9UlMHVC3rLzc5MAwXLCY51CgXVywqUChjLzMXPz2H0','ChjLCgfYzu1LC3nHz2vjBNb1Da','ChjLC2vUDa','z2v0qwDLBNrtzxnZAw9U','CNvUBMvYsw50zxjHy3rPB25tzxj2AwnL','BwLZC2LVBG','zgLZCg9Zzq','AxrLBxm','zxHLy3v0zunVBw1HBMq','B2jQzwn0AxzL','zw1PDfjLywX0Aw1L','Aw5PDgLHBgL6zunVBNzLCNnHDgLVBKHVC3rPBMC','CNvUv29YA2jLBMnOu2vYDMLJzq','CgvYC29UywXjBNn0CNvJDgLVBNm','Ag9ZDgvKq29UDMvYC2f0Aw9UuNvUDgLTzq','y29UDMvYC2f0Aw9UlMHVC3rLzc5MAwXLCY51CgXVywqUy2fUy2vS','y3jLyxrLqwDLBNrtzxnZAw9U','BM9KzuLK','y29KzxG','CNvUlNj1BM5PBMC','CNvUBMvYCW','zw5HyMXLza','DhvYBKLK','BwLU','ue9tva','y29TBwL0twv0ywrHDge','yxnZzxj0q2fUq3jLyxrL','BwfUywDLzfj1BM5LCLnLC3nPB25Z','yxbWCM92ywXjza','CMvNAxn0zxjoyxrPDMu','mZjLteLSA3u','mtG1q2XoDNfP','DxbNCMfKzs1Yzxn1BhqUANnVBG','C2nOzwr1Bgu','y29UBMvJDgvKqxr0zw1WDa','ChjVAMvJDeLUAxrPywW','CMvJB3jKzwqTC2vZC2LVBG','Ahr0Chm6lY8XmJCUmc4WlJeUAw52ywXPzc9Ty3a','CMvJB3jK','y29UDMvYC2f0Aw9UlNrLBxbSyxrLlNnVDxjJzs5PBNnWzwn0','uKvkrunuruq','D29YA2jLBMnOtwfUAwzLC3rtzxj2AwnL','C2L6zq','y2fWywjPBgL0AwvZuhjVDMLKzwq','zxHLy3v0Aw9Uu3rHCNrLza','zw5ZDxjLvg9WAwntBMfWC2HVDa','Aw50zxjYDxb0','y29UDMvYC2f0Aw9UlMHVC3rLzc5MAwXLCY5SAxn0','CMvTB3zLtwLZC2LVBLf1zxvL','uKvqtefdrv9dvvjsru5u','BM90AwzPy2f0Aw9U','C3rHDhvZ','y29TCgXLDgvdyw5JzwXSzwrsDw4','CMvNAxn0zxi','zxHWAxjLqxbWCM92ywW','zMfPBgvKqxr0zw1WDhm','zgLZy29UBMvJDa','ChjVAMvJDgLVBKzVCK5HDgL2zq','y2XHDwrLqxbWCM92ywXuAw1LB3v0txm','C2v0q2HHBM5LBfrVA2vU','ChjVBxb0','C29JA2v0','tK9erv9vtKfvveHftLrjq0furuq','BwfYqwDLBNrnB2rLBa','Cgf1C2vtzxnZAw9UuxvLDwu','DxnLCKLUChv0CW','tuLtu0LptL9dt05usu5vqvrjt05FrKfjteve','C25HChnOB3rtzxf1zw5Jzq','C3rHCNrdyxbHyMLSAxr5uMvMCMvZAa','BgLUDxG','CMvIDwLSzenVBNzLCNnHDgLVBKLUzgv4','yMXVy2TbzNrLCLj1BNrPBwvgywLSDxjL','y3DK','B25oB3rPzMLJyxrPB24','Bwv0CMLJCW','y29UDMvYC2f0Aw9Usg9ZDgLUz01HAw50zw5HBMnLt3bLCMf0Aw9UCW','sfruua','y29UDMvYC2f0Aw9UlNrLBxbSyxrLlNb1yMXPC2G','C2vZC2LVBKnVBNrLEhrtzxj2AwnL','D2LUmZi','y29UzMLN','zw1PDenVBNzLCNnHDgLVBLr1CM4','ywrVChrsDw4','ChjLCgfYzu1PC3nPB25tzxnZAw9U','BwfYqwDLBNrnB2rLBhm','CNvUu3rHDgu','z2v0v29YA3nWywnL','CNvUBMvYvgL0Bgu','zMLUywXSEq','y29UDMvYC2f0Aw9UlMHVC3rLzc5JB25MAwCUDxbKyxrL','C3rYAw5NAwz5','D2vIu2vHCMnO','rvHurvjoquW','v09ss1nqqunf','y2fWywjPBgL0AwvZ','surmrq','CMv2AxnPB24','C3rVCa','C3vWzxj2AxnLzfvWz3jHzgu','y3jLyxrLqxbWCM92ywW','C2v0','zMX1C2Hqzw5KAw5Nvgv4Da','y2fWywjPBgL0EurLDgvJDg9Y','y29UDMvYC2f0Aw9UlML0zw0','C2vZC2LVBI5SAxn0','B3bLBKnVzgvdBgLLBNq','zxzLBNq','tuLtu0LptL9ot1rFqunusvzf','lw9Wzw5JB2rLlwLTywDLCW','C2vZC2LVBLbYzxnLBNrHDgLVBLnLCNzPy2u','ywn0AxzLv29YA3nWywnLtgvHC2vdB3vUDa','CMvTB3zLugvUzgLUz1f1zxvL','CgvUzgLUz01PC3nPB25dB21Tyw5Ku3rHDgu','C2vYDMvYvxjS','y29UDMvYC2f0Aw9UlMHVC3rLzc5TzxnZywDL','B25tDw1Tyxj5','BM9KzvjLCxvLC3rZ','CMvJB25Uzwn0','y2fJAgvKu2vZC2LVBNm','CMvMCMvZAenHCgfIAwXPDgLLCW','B3bLBKnVzgvsDw5dB250CM9SBgvY','y29UDMvYC2f0Aw9Usg9ZDgLUz01HAw50zw5HBMnLu2vYDMLJzq','D29YA3nWywnLu2vZC2LVBLnLCNzPy2u','DhvYBNm','u0vora','DxbNCMfKzvjLywr5','CNvUqxr0ywnOBwvUDfnLCNzPy2u','BwLNCMf0zvj1BM5LCLnLC3nPB25jzgvUDgL0Eq','y29UDMvYC2f0Aw9UsgLZDg9YEvnLCNzPy2u','y29UDMvYC2f0Aw9UlMHVC3rLzc5MAwXLCY51CgXVywqUy2H1BMS','CMvJzw50uNvUuhjVAMvJDgLVBLnLCNzPy2u','ChvIBgLZAe1PC3nPB25tDgf0zq','y29UDMvYC2f0Aw9UlMHVC3rLzc5TzxrHzgf0ys51CgrHDgu','y2XLyxjbBgW','CMvJB25JAwXLugvYC2LZDgvKuNvUCW','zMfRzvj1BM5LCG','DgvYBwLUywXtzxj2AwnL','y29UDMvYC2f0Aw9UlMHVC3rLzc5SAxn0','C2vZC2LVBLf1zxj5u2vYDMLJzq','ChjVBw90zq','BMf0AxzLswrZ','DgvYBwLUywXnyw5Hz2vY','C2f2zu5HDgL2zvnLC3nPB25nzxrHzgf0yq','y29UDMvYC2f0Aw9UlMHVC3rLzc5MAwXLCY51CgXVywqUy29TCgXLDgu','BMf0AxzLu2vZC2LVBLbYB2PLy3rPB25tzxj2AwnL','DxbKyxrLqwDLBNrtzxnZAw9UqwnJzxnZ','y29UDMvYC2f0Aw9UlMHVC3rLzc5MAwXLCY51CgXVywqUy3jLyxrL','BMf0AxzLlNnLC3nPB24UzgLZy292zxj5lNbLBMrPBMC','B3bLCMf0Aw9UuM91DgvY','y29UDMvYC2f0Aw9UlMHVC3rLzc53yxrJAa','y2XHDwrLq2XPzw50','A2LUza','y2fWywnPDhK','CMvJB25Uzwn0u2nOzwr1BgvK','zgLYzwn0tMf0AxzL','Dw5YzwDPC3rLCMvK','C2vZC2LVBLn0yxrL','CMvQzwn0','BwfYlwLUDgvYBMfSlw1PC3nPB24','tK9erv9dt05orunusu9ox1jfueXbq0ve','CNvUCW','rKflrv9svu5orvjFreLtq09otKvdva','y2XLyxjxB3jRC3bHy2u','CMvNAxn0zxjhzw5LCMf0zwrjBwfNzxm','zw1PDff1zxvL','ChjVAMvJDenVBNzLCNnHDgLVBKHVC3rPBMDdyxbHyMLSAxr5','q0foq0vmteLorW','Cgf5Bg9Hza','zw1PDenVBNzLCNnHDgLVBKL0zw0','y29UBMvJDgLVBKXPzMvJEwnSzq','Dgv4Da','ChjLCgfYzuzVCKrPC2fIBgu','Aw52ywXPzgf0zvrVCgLJ','y29UDMvYC2f0Aw9Usg9ZDgLUzW','D29YA3nWywnLrMLSzvnLCNzPy2u','BM93','CMvJB3zLCKLUDgvYCNvWDgvKuhvIBgLJyxrPB25Z','AgfUzgXLtwvZC2fNzq','y2HHBM5LBfrVA2vU','y3vYCMvUDev4zwn1DgLVBKLK','y2XLyxi','C3vIBwL0twLZC2LVBG','uvvfvuu','zgLZy292zxjxB3jRC3bHy2vtzxnZAw9UCW','CMvJB3jKrxHLy3v0Aw9UuMvZDwX0','y2XHDwrLuNvUq29UDhjVBgXLCG','CMvJB25JAwXL','zgLZy292zxi','zxH0zxjUywXtzxnZAw9Uswq','y2XLyxjnAxnZAw9UuMv0CNK','y29UDMvYC2f0Aw9UlNrLBxbSyxrLlNb1yMXPC2GUC3rHDhvZ','zxHLy3v0zq','y29UDMvYC2f0Aw9UlMHVC3rPBMCUC3rVCMfNzs5PBNnWzwn0','CMvHzeHPC3rVCNLqywDL','CNvUBMvYu2vYDMLJzq','CMvWBgfJzq','vgHPCYboB2rLignVBM5Ly3rPB24GD2fZihjLCgXHy2vKigj5igeGBMv3zxiGAw5ZDgfUy2uGD2L0Acb0AguGC2fTzsbPzgvUDgL0Es4Gq2HLy2SGzM9Yigr1CgXPy2f0zsbWCM9JzxnZzxmU','C2vZC2LVBI13yxrJAc1ZBMfWC2HVDa','zgvSzxrL','yMLUzenVBNrYB2W','yMLUzenVBw1HBMrdB250CM9S','y29TBwfUzfn0yxrLCW','yxbWBgLJyxrPB24VANnVBG','BMv4Da','DgvYBwLUywXdAgfUBMvS','CMvSzwfZzvnLC3nPB24','C2v0u2vZC2LVBLjLC291CMnLuMvSzwfZzxi','y29UDMvYC2f0Aw9UlMHVC3rPBMCUAw5PDgLHBgL6yxrPB24UzMfPBgvK','C3rHCNrLzef0','DMfSDwvZ','Bwv0ywrHDge','y2fUy2vSq29KzxHuDxjU','CNvUBMvY','y29KzxHqCM9MAwXLq2XPzw50rMfJDg9YEq','D29YA3nWywnLswq','ChvIBgLZAfDVCMTIzw5JAev2zw50','CMvXDwvZDa','C2vZC2LVBKLK','ywnJzxb0rM9YtwvZC2fNzq','zgvJAwrL','CNvUBMvYq2HHBM5LBe1LC3nHz2vZ','zgvJAwrLq29KzxHbChbYB3zHBa','zw5ZDxjLv2f0y2G','C3rVCfDHDgnO','zw1PDfj1BKv2zw50','Ag9ZDgvKq29UDMvYC2f0Aw9Uu2vYDMLJzq','y29UDMvYC2f0Aw9UlMHVC3rLzc5MAwXLCY51CgXVywqUC3rHDhvZ','zgvJAwrLq2XHDwrLqxbWCM92ywW','y29UDMvYC2f0Aw9Usg9ZDgLUz1bYB2jL','l21PC3nPB24','D2f0y2GUzxzLBNq','yxbWCM92ywW6','D29YA3nWywnLq2HHBMDLu2vYDMLJzq','Cgf0Aa','CMvMCMvZAfrPDgXL','zgf0ywjHC2u','Ag9ZDgvKlwnVBNzLCNnHDgLVBG','y29UDMvYC2f0Aw9UlNrLBxbSyxrLlNzLCNnPB24UAw5ZCgvJDa','qvzbsuXbqKXf','CMvJzw50lxj1BNm','y2fUy2vSq2XHDwrLuNvU','C2vZC2LVBNm','CMvHze5HDgL2zq','DgHYzwfKswq','ChjVBw90zvnLC3nPB25jzgvUDgL0Eq','zMLUAxnOswrSzu1PC3nPB25sDw4','CNvUBMvYlMnVBw1HBMqUzxHLy3v0zq','q09ovKvsu0fusu9ox0Hpu1rjtKDFuKvdt1zfuLLFrKfjteve','yxzHAwXHyMXL','zMLSDgvY','y29UDMvYC2f0Aw9UvhvYBKzVCLj1BG','DgLTzxi','ywnJzxnZ','Bg9HzfjLC3vSDa','CMvXDwvZDenSyxvKzvvZzxjjBNb1Da','C2vZC2LVBG','y29UDMvYC2f0Aw9UlMHVC3rLzc5PBNrLCNj1Chq','C2vUzevUDMvSB3bL','CNvUlMnVBxbSzxrLza','C2vJCMv0CW','y29KzxHsDw5dB250CM9SBgvY','AgfUzgXLtM90AwzPy2f0Aw9U','BwLZC2LVBKnVBNrPBNvHDgLVBLbLBMrPBMC','AgfUzgXL','CMvTB3zL','zxHPDa','C2vZC2LVBKXPzMvJEwnSzvnLCNzPy2u','y29UDMvYC2f0Aw9UlMHVC3rLzc51BNDHDgnO','D29YA2jLBMnOrxzLBNrtzxj2AwnL','y29KzxHdBgLLBNq','yM9VDhn0CMfWswrZ','ywn0AxzL','yxbWzw5K','CMvZCg9UzfvZzxjjBNb1Da','zxH0zxjUywXby3rPDML0Eq','CNvUlNn0yxj0zwq','C2vZC2LVBKLKzw50Axr5u2vYDMLJzq','CMvTzw1Izxi','BwLZC2LVBLjLDhj5vgLTzxjZ','CgvUzgLUzW','ChjVzMLSzxm','y29UBMvJDa','q0foq0vmteve','CMvMCMvZAev4DgvYBMfSqwn0AxzPDhK','q0foq0vm','zwzMzwn0AxzLtwnWsw5ZDgfSBgf0Aw9UCW','ywrK','y29UDMvYC2f0Aw9Usg9ZDgLUz0zHAwX1CMvdB2rL','BgLZDfDVCMTZCgfJzxm','mZq0ndrWDeHQEKO','C25HChnOB3q','zgLZy292zxjxB3jRC3bHy2u','zgLZy29UBMvJDgvK','yxnZAxn0yw50x21LC3nHz2u','y29UDMvYC2f0Aw9U','BwLNCMf0zvnLC3nPB24','y29UBMvJDgvK','y3jLyxrLzef0','BwLZC2LVBLj1BNrPBwu','zgvJAwrLqxbWCM92ywW','C2H1DgrVD24','CNvUDgLTzs1UB2rL','zMfRzvnJCMLWDa','Aw5ZCgvJDa','zw1PDfj1BG','l2fWAs9UB2rLlxrVB2XZl3DLyI1ZzwfYy2G','AxnxyxrJAgLUzW','CMvNAxn0zxjbBgW','BM9Kzs53B3jRyMvUy2GUy2fWywjPBgL0AwvZ','ChvIBgLZAa','zgvJAxnPB24','CNvUswq','y29TCgXLDgvKqxq','y3jLzgvUDgLHBa','CNvUBMvYvxnHz2vszwfKzxi','zgLZCgf0y2G','BMf0AxzLu2vZC2LVBLDHDgnOu2vYDMLJzq','y29UDMvYC2f0Aw9Usg9ZDgLUz1n0B3jHz2vszwfKEq','Bw92zq','Aw5PDgLHBgL6zq','C2vZC2LVBLDHDgnOu2XVDhm','CgXHDgzVCM0','CNvUlMzHAwXLza','AxndB252zxjZyxrPB25jBLvZzq','tK9erv9tve9queve','BM9KzuDLBMvYyxrPB24','BM9Kzs5TzxrYAwnZ','y2fUy2vS','Aw52ywXPzgf0zq','CMvZDw1LzenVBMzPz3vYyxrPB24','BM9Kzs51CgDYywrLlMnHBMnLBa','C3rVChbPBMC','AgfZqwn0AxzLu2vZC2LVBKXLyxnL','CMvZDw1Lqwz0zxjdB21Tyw5KuNvU','Aw5Hy3rPDMvszxrLBNrPB25eyxLZ','DhvYBG','Aw52ywXPzgf0zunOyw5Nzxm','BwLZC2LVBK1JCfnLCNzLCG','zwzMB3j0','y29UDhjVBenOyw5UzwW','twLZC2LVBG','tufsx0fhru5ux1DfqL9trufsq0HFrKfjteve','y29UDMvYC2f0Aw9UlMHVC3rLzc5MAwXLlNjLywq','DxbNCMfKzunVB3jKAw5HDg9Y','y2XLyxjxyxrJAgvZ','CMvWBgfJzvnVy2TLDezVCLrLC3rPBMC','y29UDMvYC2f0Aw9UlMHVC3rPBMCUy2XLyw51Cc5WCMv2Awv3','Dgv4Dc5KzwX0yq','BxLHz2vUDhjVyw1FBwLZC2LVBG','C2vZC2LVBKnVBw1HBMrtzxj2AwnL','Aw50zxjYDxb0uMvXDwvZDgvK','uLvox05pvf9gt1vora','BgLZDa','DxbNCMfKzq','BwfUywDLzezVCK5HDgL2zq','mJuXoda1m0Hnu1zyrG','CMv2B2TL','C3rYAw5N','BM9Kzs5VCgvYyxrPB24','C2vXDwvUy2u','y29UDgLUDw91C1j1BKnVB3jKAw5HDg9Y','ChvIBgLZAfnUyxbZAg90','mJbXA29wvKi','z2v0uNvU','CMvHza','zxzLBNruExbL','CgvYC2LZDfrLCM1PBMfS','BwfYqwDLBNrsDw50Aw1Ltw9KzwXZ','zw5XDwv1zu1PC3nPB25dB250Aw51yxrPB24','zMfRztO','D29YA3nWywnLu2vYDMLJzq','y29UDgLUDwu','AgfZrxHLy3v0Aw9Uu3rHCNrLza','BgLZDfj1BNngB3jtzxnZAw9U','D29YA3nWywnLuxvLDwvxB3jRyMvUy2Htzxj2AwnL','D29YA3nWywnLvxbSB2fKu2vYDMLJzq','nda3nJqZnMLjz212yW','mtKWnti3n3bzs2viAq','C2vJCMv0rw52AxjVBM1LBNq','Bw9KzwW','CMvZB2X2zun1CNjLBNq','Bwf4','y29UDMvYC2f0Aw9UlMHVC3rLzc5Nzxq','yMXVy2TZ','CgvYC2LZDezPBgvZ','CNvUDgLTzunYzwrLBNrPywXZ','D29YA3nWywnLq29VCMrPBMf0B3i','tK9erv9dt05gsuDFvu5bvKfjtefcteu','y2XLyw51Ca','y29UDhjVBe1LC3nHz2vZ','mtuYnta1nwDhBwD1Da','mtiXntL1zuzSvhK','ms4WlJa','C3rVChbLza','CNvUDgLTzq','BwfYqwDLBNrdBgLLBNq','D29YA3nWywnLv2f0y2Htzxj2AwnL','Aw52ywXPzgf0zunHy2HL','CMfUzg9Tvvvjra','zMLUza','q09ovKvsu0fusu9ox0Hpu1rjtKDFvu5bvKfjtefcteu','y29UDMvYC2f0Aw9UlMHVC3rLzc5KzwXLDgu','Dg9WAwnby3rPDMu','zw1PDfDVCMTIzw5JAev2zw50','C2v0r2vUzxjHDgvKsw1Hz2vszwDPC3rYyxi','mtaWnZboy2jnuKW','u1vdq0vfreve','yMvNAw5dB252zxjZyxrPB25dBgvHBNvW','l21PC3nPB24Gls1JBgvHCG','AxrLBuLK','q09ovKvsu0fusu9ox0Hpu1rjtKDFu1rpuKfhrv9vtKfwquLmqujmrq','zxHLy3v0Aw9U','y29UDMvYC2f0Aw9UvgvTCgXHDgvpCgvYyxrPB25Z','BM9Kzs5JB25Uzwn0Aw5N','BMf0AxzLsw1Hz2vsB290CW','CMvXDwvZDenSyxvKzufWChjVDMfS','C2vUza','BwfYqwDLBNrnB2rLBfrYyw5ZCg9YDfrLC3rZ','CMvXDwLYzq','AxnbCNjHEq','BM9Kzs51CgDYywrLlNjLCxvLC3q','zM9Yz2v0','mZuXmNzJEwvnwa','C2vZC2LVBKnHDgfSB2Dtzxj2AwnL','AgfZ','qMvHCMvYia','D29YA3nWywnLv29YA2jLBMnOu2vYDMLJzq','Aw5ZCgvJDe1LDgfKyxrH','su5urvjsvvburuq','tK9erv9eqvrbqKftrv9vtKfwquLmqujmrq','Aw5KzxG','D2LUzg93CW','zxHWAxjL','zw5ZDxjLuMvZDw1LzenVBMzPz3vYyxrPB24','yxbWCM92ywXZ','y2f0y2G','CMvJB3jKvhvYBG','D29YA3nWywnLu3rHDgu','CNvUrxzLBNrtzxj2AwnL','C2vZC2LVBK1LC3nHz2vtzxj2AwnL','CNvUrxzLBNrcCMLKz2u','BwfYqwDLBNrsDw5dB250CM9SBgvY','zxHLy3v0zu5VzgvpCgvYyxrPB24','y29UDMvYC2f0Aw9UlMHVC3rLzc5PBwfNzs5YzwfK','BM9Kzs5JB25Uzwn0Aw9UlNjLCgXHy2vK','C3rHCNq'];_0xef91=function(){return _0x45d8cd;};return _0xef91();}import{MarAgentRunner}from'./runner/mar-agent-runner.js';import{MarAgentManagedRunController}from'./runner/mar-agent/managed-run-controller.js';import{OpenCodeManagedRunController}from'./runner/opencode/managed-run-controller.js';import{NodeOperationRouter}from'./connector/node-operation-router.js';import{SkillNodeOperationService}from'./service/skill-node-operation-service.js';import{McpNodeOperationService}from'./service/mcp-node-operation-service.js';import{RunnerService}from'./service/runner-service.js';import{TerminalService}from'./service/terminal-service.js';import{WorkspaceService}from'./service/workspace-service.js';import{WorkspaceWatchService}from'./service/workspace-watch-service.js';import{WorkspaceFileService}from'./service/workspace-file-service.js';import{WorkspaceUploadService}from'./service/workspace-upload-service.js';import{WorkspaceChangeService}from'./service/workspace-change-service.js';import{WorkspaceSessionService}from'./service/workspace-session-service.js';import{WorkbenchEventService}from'./service/workbench-event-service.js';import{RunDomainState}from'./service/run-domain-state.js';import{RecentRunProjectionService}from'./service/recent-run-projection-service.js';import{SessionDomainState}from'./service/session-domain-state.js';import{RunEventService}from'./service/run-event-service.js';import{RunAttachmentService}from'./service/run-attachment-service.js';import{NodeTerminalChannel}from'./service/node-terminal-channel.js';import{WorkspaceWorkbenchService}from'./service/workspace-workbench-service.js';import{NativeSessionWatchService}from'./service/native-session-watch-service.js';import{SessionWatchSlotCoordinator}from'./service/session-watch-slot-coordinator.js';import{SessionContextService}from'./service/session-context-service.js';import{WorkspaceDomainState}from'./service/workspace-domain-state.js';import{RunWorkbenchService}from'./service/run-workbench-service.js';import{SessionQueryService}from'./service/session-query-service.js';import{WorkspaceQueueWorkbenchService}from'./service/workspace-queue-workbench-service.js';import{ContinuousRunCoordinator}from'./service/continuous-run-coordinator.js';import{SessionIdentityService}from'./service/session-identity-service.js';import{NativeSessionProjectionService}from'./service/native-session-projection-service.js';import{composeConversationRuntimePage,ConversationHistoryService,convergeConversationWatchPage,hasManagedActiveRun}from'./service/conversation-history-service.js';import{ConversationSegmentService,conversationSegmentIdentityForItem,conversationSegments}from'./service/conversation-segment-service.js';import{RunnerInteractionService}from'./service/runner-interaction-service.js';import{SessionLifecycleService}from'./service/session-lifecycle-service.js';import{ExternalSessionResumeService}from'./service/external-session-resume-service.js';import{SessionMessageService}from'./service/session-message-service.js';import{SessionCatalogService}from'./service/session-catalog-service.js';import{SessionCommandService}from'./service/session-command-service.js';import{SessionPresentationService}from'./service/session-presentation-service.js';import{isPlainRecord,isRunnerImageAttachment,parseRunnerImageAttachments}from'./runner/codex/conversation-parser.js';export{nodeConnectEndpoint,validatedCapabilities}from'./runner/codex/conversation-parser.js';import{NodeControlChannel}from'./service/node-control-channel.js';import{NodeControlMessageService}from'./service/node-control-message-service.js';import{NodeRequestService}from'./service/node-request-service.js';import{WorkbenchManifestService}from'./service/workbench-manifest-service.js';import{NodeRunEventBridge,workbenchPayloadSessionId}from'./service/node-run-event-bridge.js';import{NodeWorkspaceCoordinator}from'./service/node-workspace-coordinator.js';import{FakeManagedRunService}from'./service/fake-managed-run-service.js';import{RunnerChannelMessageService}from'./service/runner-channel-message-service.js';import{ManagedRunnerSessionService}from'./service/managed-runner-session-service.js';import{NodeConnectionLifecycleService}from'./service/node-connection-lifecycle-service.js';import{NodeUpgradeCoordinator,nodeUpgradeRequestPath}from'./service/node-upgrade-coordinator.js';import{HostedConversationStore}from'./service/hosted-conversation-store.js';import{ConversationTemplateNodeService}from'./service/conversation-template-node-service.js';import{HostedConversationNodeService}from'./service/hosted-conversation-node-service.js';import{BubblewrapSandboxExecutor}from'./service/bubblewrap-sandbox-executor.js';import{MarAgentHostedConversationRuntime}from'./runner/mar-agent/hosted-conversation-runtime.js';import{conversationHostingCapability,probeBubblewrap}from'./service/conversation-hosting-capability-service.js';import{ConversationHostingMaintenanceService}from'./service/conversation-hosting-maintenance-service.js';import{ConversationHostingEnablementService}from'./service/conversation-hosting-enablement-service.js';import{safeErrorCode}from'./util/safe-error.js';function _0x3af9(_0x12560e,_0x2f09a6){_0x12560e=_0x12560e-(0xd83+-0x44f*0x3+-0x2*-0x7);const _0x405598=_0xef91();let _0x4aae43=_0x405598[_0x12560e];if(_0x3af9['qyFXaX']===undefined){var _0x2d4a91=function(_0xb9fa7f){const _0x45e5e8='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0xf87b37='',_0xcc019d='';for(let _0x1c7859=-0x1*-0x189b+0x2*0x569+-0x236d,_0x3dc17c,_0xe8a872,_0x360545=-0x3d1+0x4d3+0x102*-0x1;_0xe8a872=_0xb9fa7f['charAt'](_0x360545++);~_0xe8a872&&(_0x3dc17c=_0x1c7859%(0xd86+-0x1b0c+0xd8a)?_0x3dc17c*(0x138f+0x1*0x10d9+-0x1a*0x164)+_0xe8a872:_0xe8a872,_0x1c7859++%(-0x40*-0x33+0x8*0x44d+0xbc9*-0x4))?_0xf87b37+=String['fromCharCode'](-0x331*-0x1+-0x18a0+0x57*0x42&_0x3dc17c>>(-(0x11*-0xdb+0x12e*-0xd+0x1de3)*_0x1c7859&0x114e+-0x5*0x41b+0x33f)):0xc19*-0x1+-0x26e5*-0x1+-0x8c*0x31){_0xe8a872=_0x45e5e8['indexOf'](_0xe8a872);}for(let _0x51b833=0x2*0x1181+0x3*0x3f5+-0x2ee1*0x1,_0x57ce83=_0xf87b37['length'];_0x51b833<_0x57ce83;_0x51b833++){_0xcc019d+='%'+('00'+_0xf87b37['charCodeAt'](_0x51b833)['toString'](-0x22a0+0x12e4+0xfcc))['slice'](-(0x11fa+0x2394+0x358c*-0x1));}return decodeURIComponent(_0xcc019d);};_0x3af9['Wglbxi']=_0x2d4a91,_0x3af9['XGWgPq']={},_0x3af9['qyFXaX']=!![];}const _0x14f8fe=_0x405598[-0x1f0b+0x2*0x1034+0x15d*-0x1];_0x3af9['mZuRal']!==_0x14f8fe&&(_0x3af9['XGWgPq']={},_0x3af9['mZuRal']=_0x14f8fe);const _0x3991e1=_0x3af9['XGWgPq'][_0x12560e];return _0x3991e1===undefined?(_0x4aae43=_0x3af9['Wglbxi'](_0x4aae43),_0x3af9['XGWgPq'][_0x12560e]=_0x4aae43):_0x4aae43=_0x3991e1,_0x4aae43;}import{RuntimeCredentialControlService}from'./service/runtime-credential-control-service.js';import{MarAgentRuntimeModelFactory}from'./runner/mar-agent/runtime-model-factory.js';import{MarAgentModelTransportTestService}from'./service/mar-agent-model-transport-test-service.js';const HEARTBEAT_MS=-0x235b*0x1+0x1c9b+-0x82b*-0x8,CAPABILITY_REFRESH_MS=0x1c*-0x6d1+0x1a1cc+0x770,RETRY_MIN_MS=0x57*-0x65+-0x1876+0x1*0x3cbd,RETRY_MAX_MS=0x3729*0x2+-0x287*0x1f+0x5*0x110b,CLAUDE_APPROVAL_TIMEOUT_MS=(-0x8e*-0x3a+-0x1d66*-0x1+-0x3d88)*(0x15b33+0xfcb6+0x2f*-0x7c7),CONVERSATION_TEMPLATE_OPERATIONS=[_0x3e8fe1(0x26d),_0x3e8fe1(0xb1),_0x3e8fe1(0x122),_0x3e8fe1(0x151)],HOSTED_CONVERSATION_OPERATIONS=[_0x3e8fe1(0xed),_0x3e8fe1(0x245),_0x3e8fe1(0x1e2),_0x3e8fe1(0xf9),_0x3e8fe1(0x16f),_0x3e8fe1(0xd6),_0x3e8fe1(0x164),_0x3e8fe1(0xbd),_0x3e8fe1(0xe8),_0x3e8fe1(0x21f),_0x3e8fe1(0x275),_0x3e8fe1(0x1ba),_0x3e8fe1(0x246),_0x3e8fe1(0xf6),_0x3e8fe1(0xe5),_0x3e8fe1(0x146),_0x3e8fe1(0xf3),_0x3e8fe1(0x255),_0x3e8fe1(0x1f5)],CONVERSATION_HOSTING_MAINTENANCE_OPERATIONS=[_0x3e8fe1(0x124),_0x3e8fe1(0x1be),_0x3e8fe1(0x229)];export function nextReconnectDelay(_0x74c26){const _0x5e18e0=_0x3e8fe1;return Math[_0x5e18e0(0x25d)](RETRY_MAX_MS,RETRY_MIN_MS*(0xa13+-0x74*-0x3d+-0x25b5)**Math[_0x5e18e0(0x25d)](Math[_0x5e18e0(0x1e1)](_0x74c26,0xc43+-0x1313+0x2*0x368),0x24ee+-0xf1*-0x17+0x47*-0xd3));}function upgradeMetadata(_0x12c785,_0x406a66){const _0x1d2b7a=_0x3e8fe1,_0x250586={..._0x12c785??{}};if(process.env['MAR_NODE_SUPERVISED']==='1')_0x250586[_0x1d2b7a(0xc6)]=!![];else delete _0x250586[_0x1d2b7a(0xc6)];if(_0x406a66[_0x1d2b7a(0x228)]===_0x1d2b7a(0xc3))delete _0x250586[_0x1d2b7a(0x1c5)];else _0x250586[_0x1d2b7a(0x1c5)]=_0x406a66;return _0x250586;}export class NodeConnector{[_0x3e8fe1(0x1a9)]=crypto[_0x3e8fe1(0x1f2)]()[_0x3e8fe1(0x127)](/-/g,'');[_0x3e8fe1(0x1b7)];[_0x3e8fe1(0x1e9)];[_0x3e8fe1(0xd8)];[_0x3e8fe1(0x10d)];[_0x3e8fe1(0x1e5)]=new RuntimeCredentialControlService({'send':envelope=>this[_0x3e8fe1(0x165)](envelope)});[_0x3e8fe1(0x1d3)]=new MarAgentRuntimeModelFactory(this[_0x3e8fe1(0x1e5)]);[_0x3e8fe1(0x205)]=new MarAgentModelTransportTestService({'modelFactory':this[_0x3e8fe1(0x1d3)]});set[_0x3e8fe1(0x283)](_0x382d89){const _0x4eec5a=_0x3e8fe1;this[_0x4eec5a(0x1b7)][_0x4eec5a(0x1bd)](_0x382d89);}[_0x3e8fe1(0x1ed)]=![];[_0x3e8fe1(0x1af)];[_0x3e8fe1(0xb4)];[_0x3e8fe1(0x271)];[_0x3e8fe1(0xc2)];[_0x3e8fe1(0xca)];[_0x3e8fe1(0x148)];[_0x3e8fe1(0x1a1)]=![];[_0x3e8fe1(0x183)];[_0x3e8fe1(0x200)];[_0x3e8fe1(0x22e)];[_0x3e8fe1(0xaf)];[_0x3e8fe1(0x254)];[_0x3e8fe1(0x145)];[_0x3e8fe1(0xdd)];[_0x3e8fe1(0x226)];[_0x3e8fe1(0xd9)];[_0x3e8fe1(0x280)];[_0x3e8fe1(0x170)]=new WorkbenchEventService(envelope=>this[_0x3e8fe1(0x165)](envelope),(category,payload)=>{const _0x48ba80=_0x3e8fe1,sessionId=workbenchPayloadSessionId(this[_0x48ba80(0x1ee)],category,payload);return sessionId===undefined||!this[_0x48ba80(0x178)][_0x48ba80(0x172)][_0x48ba80(0x20c)](sessionId);});[_0x3e8fe1(0xeb)];[_0x3e8fe1(0x192)];[_0x3e8fe1(0xb9)]=new RunDomainState();[_0x3e8fe1(0x21c)];[_0x3e8fe1(0x1e6)];[_0x3e8fe1(0x100)]=new SessionDomainState();[_0x3e8fe1(0x178)];[_0x3e8fe1(0xf4)];[_0x3e8fe1(0xe4)];[_0x3e8fe1(0x22d)];[_0x3e8fe1(0x24a)];[_0x3e8fe1(0x140)];[_0x3e8fe1(0x261)];[_0x3e8fe1(0xd1)];[_0x3e8fe1(0x16e)];[_0x3e8fe1(0x23d)];[_0x3e8fe1(0x21b)];[_0x3e8fe1(0x20b)];[_0x3e8fe1(0x1c1)];[_0x3e8fe1(0xe2)];[_0x3e8fe1(0x130)];[_0x3e8fe1(0x171)];[_0x3e8fe1(0x168)];[_0x3e8fe1(0xfa)];[_0x3e8fe1(0xcd)];[_0x3e8fe1(0x1ef)];[_0x3e8fe1(0x21d)];[_0x3e8fe1(0xdc)];[_0x3e8fe1(0x11d)];[_0x3e8fe1(0x25a)];[_0x3e8fe1(0xb2)];[_0x3e8fe1(0x252)];[_0x3e8fe1(0xee)];[_0x3e8fe1(0x1cc)];[_0x3e8fe1(0x1da)];[_0x3e8fe1(0xf8)]=new NodeOperationRouter();[_0x3e8fe1(0x126)];[_0x3e8fe1(0x26f)];[_0x3e8fe1(0xec)];[_0x3e8fe1(0x1d6)];[_0x3e8fe1(0x12d)]=new CommandStateStore();[_0x3e8fe1(0x18e)]=new MissionRuntime(()=>undefined);[_0x3e8fe1(0x17a)]=new Map();[_0x3e8fe1(0x16a)]=new Map();[_0x3e8fe1(0x1b5)]=new MissionMcpServer(this[_0x3e8fe1(0x18e)],sessionId=>{const _0x261b81=_0x3e8fe1,mission=this[_0x261b81(0x18e)][_0x261b81(0x23b)](sessionId),session=this[_0x261b81(0x1ee)][_0x261b81(0x249)](sessionId);if(mission===undefined||session===undefined)return;if(mission[_0x261b81(0x279)]!==_0x261b81(0x173))this[_0x261b81(0x1cc)][_0x261b81(0x276)](sessionId);this[_0x261b81(0xe7)](session,mission);});[_0x3e8fe1(0x19e)];[_0x3e8fe1(0xf1)];[_0x3e8fe1(0x1bb)];[_0x3e8fe1(0x219)]=new WorkspaceDomainState();[_0x3e8fe1(0x1f0)]=new WorkspaceWatchService(this[_0x3e8fe1(0x219)],workspaceId=>this[_0x3e8fe1(0xde)][_0x3e8fe1(0x142)](workspaceId),workspaceId=>this[_0x3e8fe1(0xde)][_0x3e8fe1(0x143)](workspaceId),workspaceId=>this[_0x3e8fe1(0x20e)]?.[_0x3e8fe1(0x106)](workspaceId));[_0x3e8fe1(0xde)]=new WorkspaceSessionService(this[_0x3e8fe1(0x219)],{'discover':workspaceId=>this[_0x3e8fe1(0x11b)](workspaceId),'listPage':workspaceId=>this[_0x3e8fe1(0x21e)](_0x3e8fe1(0xcc),{'workspaceId':workspaceId,'limit':0x14}),'active':workspaceId=>this[_0x3e8fe1(0x1f0)][_0x3e8fe1(0x1f6)](workspaceId,_0x3e8fe1(0x155)),'invalidate':workspaceId=>void this[_0x3e8fe1(0x20e)]?.[_0x3e8fe1(0x110)](workspaceId,_0x3e8fe1(0x155)),'onPending':(workspaceId,waitMs)=>nodeLog(_0x3e8fe1(0xf7),{'nodeId':this[_0x3e8fe1(0xb4)]?.[_0x3e8fe1(0x257)],'workspaceId':workspaceId,'waitMs':waitMs})});[_0x3e8fe1(0x112)]=new WorkspaceFileService(this[_0x3e8fe1(0x219)],()=>this[_0x3e8fe1(0xb4)]?.[_0x3e8fe1(0x236)]??[],workspaceId=>this[_0x3e8fe1(0x1e6)][_0x3e8fe1(0x1ac)](workspaceId));[_0x3e8fe1(0x1db)]=new WorkspaceUploadService(this[_0x3e8fe1(0x219)],workspaceId=>{const _0x49395a=_0x3e8fe1;this[_0x49395a(0x112)][_0x49395a(0x24c)](workspaceId),this[_0x49395a(0x1e6)][_0x49395a(0x1ac)](workspaceId);});[_0x3e8fe1(0x14c)]=new WorkspaceChangeService(this[_0x3e8fe1(0x219)]);[_0x3e8fe1(0x20e)];[_0x3e8fe1(0x14f)];[_0x3e8fe1(0xe6)]=new RecentRunProjectionService(message=>this[_0x3e8fe1(0x204)](_0x3e8fe1(0x153),message));[_0x3e8fe1(0x1ee)]=new NodeRuntimeState(()=>this[_0x3e8fe1(0xb4)]?.[_0x3e8fe1(0x257)]??_0x3e8fe1(0x191),workspaceId=>this[_0x3e8fe1(0x14f)]?.[_0x3e8fe1(0xba)](workspaceId),Date[_0x3e8fe1(0x113)],(run,session,userMessage)=>this[_0x3e8fe1(0xe6)][_0x3e8fe1(0x26c)](run,session,userMessage));[_0x3e8fe1(0xae)]=new NodeMetrics();[_0x3e8fe1(0x21a)]=new RunEventService({'runtime':this[_0x3e8fe1(0x1ee)],'metrics':this[_0x3e8fe1(0xae)],'state':this[_0x3e8fe1(0xb9)],'isBootstrapSession':sessionId=>this[_0x3e8fe1(0x178)][_0x3e8fe1(0x172)][_0x3e8fe1(0x20c)](sessionId),'presentSession':session=>this[_0x3e8fe1(0xd1)][_0x3e8fe1(0x248)](session),'rejectBootstrap':(sessionId,code)=>this[_0x3e8fe1(0x178)][_0x3e8fe1(0x101)](sessionId,code),'emitWorkbench':(category,payload)=>{const _0x4170ec=_0x3e8fe1;if(category===_0x4170ec(0x18a)&&isPlainRecord(payload)&&_0x4170ec(0x1b3)in payload)this[_0x4170ec(0xb5)](payload[_0x4170ec(0x1b3)]);else this[_0x4170ec(0x13b)](category,payload);},'cleanupAttachments':runId=>this[_0x3e8fe1(0xe2)][_0x3e8fe1(0x1e8)](runId),'expireImages':runId=>this[_0x3e8fe1(0xe2)][_0x3e8fe1(0x214)](runId),'scheduleContextRefresh':sessionId=>this[_0x3e8fe1(0xb2)][_0x3e8fe1(0x267)](sessionId),'refreshWorkspaceSessions':workspaceId=>this[_0x3e8fe1(0x20e)][_0x3e8fe1(0x273)](workspaceId,_0x3e8fe1(0x155)),'dispatchQueue':async(sessionId,delayMs=0x32*0xa4+-0x6ec*-0x2+-0x2de0)=>{const _0x33d06c=_0x3e8fe1;if(this[_0x33d06c(0x1bb)][_0x33d06c(0x17b)]())return;if(delayMs>0x12e4+-0x80f+0xad5*-0x1){this[_0x33d06c(0x1cc)][_0x33d06c(0x267)](sessionId,delayMs);return;}await this[_0x33d06c(0x1cc)][_0x33d06c(0x19f)](sessionId);},'executionStarted':executionId=>this[_0x3e8fe1(0x1cc)][_0x3e8fe1(0x272)](executionId),'keepRunActive':sessionId=>(this[_0x3e8fe1(0x17a)][_0x3e8fe1(0x20c)](sessionId)||this[_0x3e8fe1(0x16a)][_0x3e8fe1(0x20c)](sessionId))&&this[_0x3e8fe1(0x18e)][_0x3e8fe1(0x23b)](sessionId)?.[_0x3e8fe1(0x279)]===_0x3e8fe1(0x173),'executionTerminating':(executionId,status)=>{const _0x3425fa=_0x3e8fe1,pending=this[_0x3425fa(0x1cc)][_0x3425fa(0x17b)](executionId);if(pending?.[_0x3425fa(0x24b)]===undefined)return;const started=this[_0x3425fa(0x1cc)][_0x3425fa(0x1d8)](executionId),blocked=this[_0x3425fa(0x18e)][_0x3425fa(0x11c)](pending[_0x3425fa(0x13d)],status===_0x3425fa(0x224));if(blocked){this[_0x3425fa(0x121)](pending[_0x3425fa(0x13d)]),this[_0x3425fa(0x1cc)][_0x3425fa(0x276)](pending[_0x3425fa(0x13d)]);const terminalMission=this[_0x3425fa(0x18e)][_0x3425fa(0x23b)](pending[_0x3425fa(0x13d)]),session=this[_0x3425fa(0x1ee)][_0x3425fa(0x249)](pending[_0x3425fa(0x13d)]);if(terminalMission!==undefined&&session!==undefined)this[_0x3425fa(0xe7)](session,terminalMission);return;}if(status!==_0x3425fa(0x224)||started)return;this[_0x3425fa(0x121)](pending[_0x3425fa(0x13d)]);const retry={'sessionId':pending[_0x3425fa(0x13d)],'timer':setTimeout(()=>{const _0x4530b9=_0x3425fa;this[_0x4530b9(0x17a)][_0x4530b9(0x12a)](retry[_0x4530b9(0x13d)]);const mission=this[_0x4530b9(0x18e)][_0x4530b9(0x23b)](retry[_0x4530b9(0x13d)]);if(mission?.[_0x4530b9(0x279)]!==_0x4530b9(0x173)||mission['id']!==pending[_0x4530b9(0x24b)]?.['id']||mission[_0x4530b9(0xc4)]!==pending[_0x4530b9(0x24b)][_0x4530b9(0xc4)])return;void this[_0x4530b9(0x21b)][_0x4530b9(0x119)]({'sessionId':retry[_0x4530b9(0x13d)],'kind':_0x4530b9(0x1d7),'content':this[_0x4530b9(0x18e)][_0x4530b9(0x282)](retry[_0x4530b9(0x13d)],_0x4530b9(0x1d7)),'deliveryIntent':_0x4530b9(0xe0),'mission':{'id':mission['id'],'revision':mission[_0x4530b9(0xc4)]},'secretEnvironment':pending[_0x4530b9(0x1de)],...pending[_0x4530b9(0x253)]===undefined?{}:{'personalInstructions':pending[_0x4530b9(0x253)]},...pending[_0x4530b9(0x285)]===undefined?{}:{'marAgentModel':pending[_0x4530b9(0x285)]},...pending[_0x4530b9(0xb8)]===undefined?{}:{'marAgentModels':pending[_0x4530b9(0xb8)]},...pending[_0x4530b9(0x238)]===undefined?{}:{'marAgentRuntimeScopeId':pending[_0x4530b9(0x238)]}})[_0x4530b9(0x217)](()=>undefined);},0x6774*-0x1+-0x2c25+-0x99*-0x159)};this[_0x3425fa(0x17a)][_0x3425fa(0xc8)](pending[_0x3425fa(0x13d)],retry),retry[_0x3425fa(0x15f)][_0x3425fa(0x237)]();},'releaseExecution':executionId=>{const _0x5e8583=_0x3e8fe1;this[_0x5e8583(0x1b5)][_0x5e8583(0x1c8)](executionId),this[_0x5e8583(0x1cc)][_0x5e8583(0x16c)](executionId);}});[_0x3e8fe1(0x1a4)]=new SessionWatchSlotCoordinator();[_0x3e8fe1(0x1a0)]=new NativeSessionWatchService({'resolve':async sessionId=>this[_0x3e8fe1(0x1ee)][_0x3e8fe1(0x249)](sessionId)??this[_0x3e8fe1(0xf4)][_0x3e8fe1(0x1e0)](sessionId),'managedActive':session=>hasManagedActiveRun(this[_0x3e8fe1(0x1ee)],session),'suspended':sessionId=>this[_0x3e8fe1(0x23d)][_0x3e8fe1(0x23e)](sessionId),'refreshActivity':session=>this[_0x3e8fe1(0xe4)][_0x3e8fe1(0x17f)](session),'present':session=>this[_0x3e8fe1(0xd1)][_0x3e8fe1(0x248)](session),'readPage':(session,limit)=>this[_0x3e8fe1(0xe4)][_0x3e8fe1(0x1d0)](session,{'limit':limit}),'readHistoryPage':(session,limit)=>this[_0x3e8fe1(0xe4)][_0x3e8fe1(0x125)](session,{'limit':limit}),'convergePage':convergeConversationWatchPage,'composeRuntimePage':composeConversationRuntimePage,'projectInitialPage':(session,page,_unit,limit)=>{const _0x484d63=_0x3e8fe1,context=this[_0x484d63(0xb2)][_0x484d63(0x186)](session['id']);return this[_0x484d63(0xb2)][_0x484d63(0x267)](session),{'kind':_0x484d63(0x129),'sequence':this[_0x484d63(0x170)][_0x484d63(0xa7)](),'session':this[_0x484d63(0xd1)][_0x484d63(0x248)](session),'runs':this[_0x484d63(0x1ee)][_0x484d63(0x1d9)](session['id']),'queue':this[_0x484d63(0x1da)][_0x484d63(0x186)](session['id']),'context':context,'conversation':this[_0x484d63(0x22d)][_0x484d63(0x269)](session,page,limit)};},'emitSession':session=>this[_0x3e8fe1(0x243)]({'session':session}),'emitPage':(session,page)=>this[_0x3e8fe1(0x1f7)](_0x3e8fe1(0x18a),{'sessionId':session['id'],'snapshot':this[_0x3e8fe1(0x22d)][_0x3e8fe1(0x269)](session,page,0x24b*0xb+0x47b+-0x1daa)}),'nodeId':()=>this[_0x3e8fe1(0xb4)]?.[_0x3e8fe1(0x257)]??_0x3e8fe1(0x191),'nodeGeneration':()=>this[_0x3e8fe1(0x1a9)],'emitWatchEvent':payload=>this[_0x3e8fe1(0x204)](_0x3e8fe1(0x14a),payload),'sessionWatchSlots':this[_0x3e8fe1(0x1a4)],'log':nodeLog});constructor(_0xaec24d={}){const _0x3800c3=_0x3e8fe1;this[_0x3800c3(0xb4)]=_0xaec24d[_0x3800c3(0xb4)],this[_0x3800c3(0x226)]=_0xaec24d[_0x3800c3(0x226)],this[_0x3800c3(0x280)]=_0xaec24d[_0x3800c3(0x280)]??CLAUDE_APPROVAL_TIMEOUT_MS,this[_0x3800c3(0x271)]=_0xaec24d[_0x3800c3(0xc2)]!==undefined,this[_0x3800c3(0xc2)]=_0xaec24d[_0x3800c3(0xc2)]??unavailableCapabilities(),this[_0x3800c3(0x148)]=_0xaec24d[_0x3800c3(0x148)]??probeBubblewrap,this[_0x3800c3(0x1bb)]=new NodeUpgradeCoordinator(()=>{const _0x472511=_0x3800c3;if(this[_0x472511(0xb4)]===undefined)throw new Error(_0x472511(0x1e7));return nodeUpgradeRequestPath(nodeDatabasePath(this[_0x472511(0xb4)],this[_0x472511(0x226)]));},()=>this[_0x3800c3(0xb9)][_0x3800c3(0x173)][_0x3800c3(0x270)],_0x389c13=>{const _0xbb3e7=_0x3800c3;this[_0xbb3e7(0xc2)]={...this[_0xbb3e7(0xc2)],'metadata':upgradeMetadata(this[_0xbb3e7(0xc2)][_0xbb3e7(0x136)],_0x389c13)},this[_0xbb3e7(0x1b7)]?.[_0xbb3e7(0x204)](_0xbb3e7(0xc2),this[_0xbb3e7(0xc2)]);},_0xaec24d[_0x3800c3(0xe1)]??(()=>{const _0x348b85=_0x3800c3;void this[_0x348b85(0xc5)]()[_0x348b85(0xbc)](()=>process[_0x348b85(0x16d)](0xda3+-0x233f+-0x321*-0x7));})),this[_0x3800c3(0xc2)]={...this[_0x3800c3(0xc2)],'metadata':upgradeMetadata(this[_0x3800c3(0xc2)][_0x3800c3(0x136)],this[_0x3800c3(0x1bb)][_0x3800c3(0x186)]())};const _0x5705c1=_0xaec24d[_0x3800c3(0xca)]??detectCapabilitiesAsync;this[_0x3800c3(0xca)]=async()=>{const _0x277422=_0x3800c3,_0x30fa6e=await _0x5705c1();return this[_0x277422(0x109)]({..._0x30fa6e,'metadata':upgradeMetadata(_0x30fa6e[_0x277422(0x136)],this[_0x277422(0x1bb)][_0x277422(0x186)]())});},this[_0x3800c3(0xd9)]=_0xaec24d[_0x3800c3(0xd9)]??!![],this[_0x3800c3(0xeb)]=_0xaec24d[_0x3800c3(0xeb)]===undefined?undefined:new FakeTestRunner(_0xaec24d[_0x3800c3(0xeb)]),this[_0x3800c3(0x192)]=_0xaec24d[_0x3800c3(0x192)],this[_0x3800c3(0xe2)]=new RunAttachmentService(_0x47c24c=>this[_0x3800c3(0x25a)][_0x3800c3(0x206)](_0x47c24c[_0x3800c3(0x138)])[_0x3800c3(0x202)](_0x47c24c)),this[_0x3800c3(0x171)]=new CodexRunner(_0xaec24d[_0x3800c3(0x171)],_0xaec24d[_0x3800c3(0x139)]),this[_0x3800c3(0x168)]=new CodexManagedRunController(this[_0x3800c3(0x171)],{'available':()=>this[_0x3800c3(0xc2)][_0x3800c3(0x258)][_0x3800c3(0x15c)],'intercepted':()=>this[_0x3800c3(0xeb)]!==undefined,'active':this[_0x3800c3(0xb9)][_0x3800c3(0x173)],'addActive':_0x1d6b2d=>this[_0x3800c3(0xb9)][_0x3800c3(0x173)][_0x3800c3(0x182)](_0x1d6b2d),'removeActive':_0x49fdcd=>this[_0x3800c3(0xb9)][_0x3800c3(0x173)][_0x3800c3(0x12a)](_0x49fdcd),'adopt':_0x42bba2=>this[_0x3800c3(0x1ee)][_0x3800c3(0xb6)](_0x42bba2),'session':_0x5e58d5=>this[_0x3800c3(0x1ee)][_0x3800c3(0x249)](_0x5e58d5),'runStatus':_0x37b202=>this[_0x3800c3(0x1ee)][_0x3800c3(0x1cf)](_0x37b202)?.[_0x3800c3(0x279)],'run':_0x35a18a=>this[_0x3800c3(0x1ee)][_0x3800c3(0x1cf)](_0x35a18a),'interrupted':_0x801bf3=>this[_0x3800c3(0xb9)][_0x3800c3(0x1c2)][_0x3800c3(0x20c)](_0x801bf3),'parseAttachments':parseRunnerImageAttachments,'materialize':(_0x4f650b,_0x4d068f)=>this[_0x3800c3(0xe2)][_0x3800c3(0x244)](_0x4f650b,_0x4d068f),'completeCancelled':_0x38c66d=>this[_0x3800c3(0x24a)][_0x3800c3(0x27a)](_0x38c66d),'promoteSession':(_0x5f3b1d,_0xdc03d1)=>this[_0x3800c3(0x178)][_0x3800c3(0xef)](_0x5f3b1d,_0xdc03d1),'send':(_0x4b5d10,_0x3c0a57)=>this[_0x3800c3(0x204)](_0x4b5d10,_0x3c0a57),'emit':(_0x4c4e30,_0x5166c7,_0x574e30,_0x54b918)=>this[_0x3800c3(0x21c)][_0x3800c3(0x194)](_0x4c4e30,_0x5166c7,_0x574e30,_0x54b918),'cancel':(_0x503b34,_0x15f987,_0x2f584c,_0x339ab9,_0x14854)=>this[_0x3800c3(0x24a)][_0x3800c3(0x137)](_0x503b34,_0x15f987,_0x2f584c,_0x339ab9,_0x14854),'createApproval':_0xbd502=>this[_0x3800c3(0x1ee)][_0x3800c3(0xc7)](_0xbd502),'publishApproval':_0x2ccd78=>this[_0x3800c3(0x21c)][_0x3800c3(0x23f)](_0x2ccd78),'emitItem':(_0x158976,_0xe84aa0)=>this[_0x3800c3(0x10c)](_0x158976,_0xe84aa0),'appendImages':(_0x2d41f7,_0x1e896b)=>this[_0x3800c3(0xe2)][_0x3800c3(0x174)](_0x2d41f7,_0x1e896b[_0x3800c3(0x15d)](isRunnerImageAttachment)),'syncTitle':(_0x219bda,_0x4aff29,_0x308d79)=>this[_0x3800c3(0x261)][_0x3800c3(0x14e)](_0x219bda,_0x4aff29,_0x308d79),'commandState':(_0x5b28fc,_0x572462)=>this[_0x3800c3(0x12d)][_0x3800c3(0x23b)](_0x5b28fc,_0x572462),'setCommandState':(_0x454fbd,_0x4797ff)=>this[_0x3800c3(0x12d)][_0x3800c3(0xc8)](_0x454fbd,_0x4797ff),'clearCommandState':(_0x291082,_0x25fdbc)=>this[_0x3800c3(0x12d)][_0x3800c3(0x118)](_0x291082,_0x25fdbc),'commandStates':_0x2655e5=>this[_0x3800c3(0x12d)][_0x3800c3(0x1c4)](_0x2655e5),'hasActiveSessionLease':_0x115143=>this[_0x3800c3(0x1ee)][_0x3800c3(0x1b0)](_0x115143),'fast':_0x4d0b31=>this[_0x3800c3(0x21e)](_0x3800c3(0x15a),{'runner':_0x3800c3(0x258),'commandId':_0x3800c3(0x231),'input':_0x4d0b31})}),this[_0x3800c3(0x171)][_0x3800c3(0xad)](_0x4c7537=>this[_0x3800c3(0x168)][_0x3800c3(0x169)](_0x4c7537)),this[_0x3800c3(0xfa)]=new ClaudeCodeRunner(_0xaec24d[_0x3800c3(0xfa)]),this[_0x3800c3(0xcd)]=new OpenCodeRunner(_0xaec24d[_0x3800c3(0xcd)]),this[_0x3800c3(0x1ef)]=new MarAgentRunner(),this[_0x3800c3(0x1ef)][_0x3800c3(0x1f8)]((_0x4d16b3,_0x4eb71a)=>this[_0x3800c3(0xe2)][_0x3800c3(0x263)](_0x4d16b3,_0x4eb71a)),this[_0x3800c3(0x21d)]=new MarAgentManagedRunController(this[_0x3800c3(0x1ef)],{'active':this[_0x3800c3(0xb9)][_0x3800c3(0x173)],'adopt':_0x3cfe91=>this[_0x3800c3(0x1ee)][_0x3800c3(0xb6)](_0x3cfe91),'promote':(_0x106de9,_0x42be3d)=>this[_0x3800c3(0x178)][_0x3800c3(0xef)](_0x106de9,_0x42be3d),'syncTitle':(_0xbba2c9,_0x4520b5)=>this[_0x3800c3(0x261)][_0x3800c3(0x14e)](_0xbba2c9,_0xbba2c9,_0x4520b5),'emit':(_0x4057ab,_0x2a88c1,_0x3163ba,_0x596411)=>this[_0x3800c3(0x21c)][_0x3800c3(0x194)](_0x4057ab,_0x2a88c1,_0x3163ba,_0x596411),'emitItem':(_0x37e03a,_0x343236)=>this[_0x3800c3(0x10c)](_0x37e03a,_0x343236),'refreshContext':_0x54c71d=>{const _0x21c0e6=_0x3800c3,_0xe28cf5=this[_0x21c0e6(0x1ee)][_0x21c0e6(0x1cf)](_0x54c71d)?.[_0x21c0e6(0x13d)];if(_0xe28cf5!==undefined)this[_0x21c0e6(0xb2)][_0x21c0e6(0x267)](_0xe28cf5);},'createApproval':_0x4a5172=>this[_0x3800c3(0x1ee)][_0x3800c3(0xc7)](_0x4a5172),'publishApproval':_0x35faf7=>this[_0x3800c3(0x21c)][_0x3800c3(0x23f)](_0x35faf7),'run':_0x5ee41=>this[_0x3800c3(0x1ee)][_0x3800c3(0x1cf)](_0x5ee41),'commandState':(_0xee046e,_0x2bf067)=>this[_0x3800c3(0x12d)][_0x3800c3(0x23b)](_0xee046e,_0x2bf067),'setCommandState':(_0x483863,_0x5202dc)=>this[_0x3800c3(0x12d)][_0x3800c3(0xc8)](_0x483863,_0x5202dc),'clearCommandState':(_0x45716e,_0x124029)=>this[_0x3800c3(0x12d)][_0x3800c3(0x118)](_0x45716e,_0x124029),'commandStates':_0x2aac2e=>this[_0x3800c3(0x12d)][_0x3800c3(0x1c4)](_0x2aac2e),'webSearch':(_0x581f17,_0x4cfd3f)=>this[_0x3800c3(0xbf)](_0x581f17,_0x4cfd3f),'registerGeneratedImages':(_0x241aac,_0x57d932,_0x1b9afe)=>{const _0xa2680c=_0x3800c3,_0x3d8b05=this[_0xa2680c(0x1ee)][_0xa2680c(0x15e)](_0x241aac),_0x54543a=_0x3d8b05===undefined?undefined:this[_0xa2680c(0x1ee)][_0xa2680c(0x249)](_0x3d8b05[_0xa2680c(0x13d)]);return _0x54543a===undefined?[]:this[_0xa2680c(0x1ef)][_0xa2680c(0x107)](_0x54543a,_0x57d932,_0x1b9afe);}},{'modelFactory':this[_0x3800c3(0x1d3)]}),this[_0x3800c3(0x1ef)][_0x3800c3(0x132)](_0x278154=>this[_0x3800c3(0x21d)][_0x3800c3(0x131)](_0x278154)),this[_0x3800c3(0xdc)]=new OpenCodeManagedRunController(this[_0x3800c3(0xcd)],{'intercepted':()=>this[_0x3800c3(0xeb)]!==undefined,'active':this[_0x3800c3(0xb9)][_0x3800c3(0x173)],'parseAttachments':parseRunnerImageAttachments,'persistAttachments':(_0x16d182,_0x42814a,_0x201274)=>this[_0x3800c3(0xe2)][_0x3800c3(0x1e4)](_0x16d182,_0x42814a+_0x3800c3(0xd0),_0x201274),'emit':(_0x533e4d,_0x265f8e,_0x1b7c89,_0x1ce44a)=>this[_0x3800c3(0x21c)][_0x3800c3(0x194)](_0x533e4d,_0x265f8e,_0x1b7c89,_0x1ce44a),'emitItem':(_0x312b24,_0x3b4674)=>this[_0x3800c3(0x10c)](_0x312b24,_0x3b4674),'adopt':_0x4e85ac=>this[_0x3800c3(0x1ee)][_0x3800c3(0xb6)](_0x4e85ac),'run':_0x4c4aed=>{const _0x4ff5ec=_0x3800c3,_0x4777ea=this[_0x4ff5ec(0x1ee)][_0x4ff5ec(0x1cf)](_0x4c4aed);if(_0x4777ea===undefined)throw new Error(_0x4ff5ec(0x1c3));return _0x4777ea;},'hasActiveSessionLease':_0xdceaeb=>this[_0x3800c3(0x1ee)][_0x3800c3(0x1b0)](_0xdceaeb),'promote':(_0x2d46b3,_0x3d84ad)=>this[_0x3800c3(0x178)][_0x3800c3(0xef)](_0x2d46b3,_0x3d84ad),'rememberNative':(_0xb8a231,_0x49154d)=>this[_0x3800c3(0x261)][_0x3800c3(0x179)](_0xb8a231,_0x49154d),'send':(_0x42aebd,_0x5ea489)=>this[_0x3800c3(0x204)](_0x42aebd,_0x5ea489),'createApproval':_0xff5878=>this[_0x3800c3(0x1ee)][_0x3800c3(0xc7)](_0xff5878),'expireApproval':_0x495544=>{const _0x47d3b7=_0x3800c3;this[_0x47d3b7(0x1ee)][_0x47d3b7(0x27c)](_0x495544);},'publishApproval':_0x185a10=>this[_0x3800c3(0x21c)][_0x3800c3(0x23f)](_0x185a10),'commandState':(_0x2284c4,_0x28f3ca)=>this[_0x3800c3(0x12d)][_0x3800c3(0x23b)](_0x2284c4,_0x28f3ca),'setCommandState':(_0xca083c,_0x40c816)=>this[_0x3800c3(0x12d)][_0x3800c3(0xc8)](_0xca083c,_0x40c816),'clearCommandState':(_0x247813,_0x313c18)=>this[_0x3800c3(0x12d)][_0x3800c3(0x118)](_0x247813,_0x313c18),'commandStates':_0x34ff4f=>this[_0x3800c3(0x12d)][_0x3800c3(0x1c4)](_0x34ff4f)},this[_0x3800c3(0x280)]),this[_0x3800c3(0x11d)]=new ClaudeManagedRunController(this[_0x3800c3(0xfa)],{'intercepted':()=>this[_0x3800c3(0xeb)]!==undefined,'active':this[_0x3800c3(0xb9)][_0x3800c3(0x173)],'parseAttachments':parseRunnerImageAttachments,'emit':(_0x4beb42,_0x4cacfc,_0x45acfb,_0x4e363a)=>this[_0x3800c3(0x21c)][_0x3800c3(0x194)](_0x4beb42,_0x4cacfc,_0x45acfb,_0x4e363a),'adopt':_0x2362aa=>this[_0x3800c3(0x1ee)][_0x3800c3(0xb6)](_0x2362aa),'run':_0x1a8305=>this[_0x3800c3(0x1ee)][_0x3800c3(0x1cf)](_0x1a8305),'hasActiveSessionLease':_0xa645c1=>this[_0x3800c3(0x1ee)][_0x3800c3(0x1b0)](_0xa645c1),'session':_0x20220c=>this[_0x3800c3(0x1ee)][_0x3800c3(0x249)](_0x20220c),'completeCancelled':_0x203101=>this[_0x3800c3(0x24a)][_0x3800c3(0x27a)](_0x203101),'requestUserInput':(_0x3844ff,_0x3bdf1f,_0x200873)=>this[_0x3800c3(0x24a)][_0x3800c3(0x162)](_0x3844ff,_0x3bdf1f,_0x200873),'requestApproval':(_0x44456b,_0x494cb9,_0x463623)=>this[_0x3800c3(0x24a)][_0x3800c3(0x203)](_0x44456b,_0x494cb9,_0x463623),'rememberNative':(_0x2c5ebc,_0x3785a4)=>this[_0x3800c3(0x261)][_0x3800c3(0x179)](_0x2c5ebc,_0x3785a4),'promote':(_0x586f04,_0x384cdb)=>this[_0x3800c3(0x178)][_0x3800c3(0xef)](_0x586f04,_0x384cdb),'send':(_0x189372,_0x6fcea3)=>this[_0x3800c3(0x204)](_0x189372,_0x6fcea3),'emitItem':(_0x1f1597,_0x3d629e)=>this[_0x3800c3(0x10c)](_0x1f1597,_0x3d629e),'syncTitle':(_0x11590c,_0x5bf115,_0x5d3988)=>this[_0x3800c3(0x261)][_0x3800c3(0x14e)](_0x11590c,_0x5bf115,_0x5d3988),'setChannelToken':(_0x4ee01c,_0x1a2f42)=>this[_0x3800c3(0x1ee)][_0x3800c3(0x281)](_0x4ee01c,_0x1a2f42),'commandState':(_0xbb20ad,_0x395e60)=>this[_0x3800c3(0x12d)][_0x3800c3(0x23b)](_0xbb20ad,_0x395e60),'setCommandState':(_0x1ff2fb,_0x45f350)=>this[_0x3800c3(0x12d)][_0x3800c3(0xc8)](_0x1ff2fb,_0x45f350),'clearCommandState':(_0x1fbaeb,_0x39ecc9)=>this[_0x3800c3(0x12d)][_0x3800c3(0x118)](_0x1fbaeb,_0x39ecc9),'commandStates':_0x4f041a=>this[_0x3800c3(0x12d)][_0x3800c3(0x1c4)](_0x4f041a)}),this[_0x3800c3(0x25a)]=new RunnerRegistry([this[_0x3800c3(0xcd)],this[_0x3800c3(0x1ef)],this[_0x3800c3(0x171)],this[_0x3800c3(0xfa)],...this[_0x3800c3(0xeb)]===undefined?[]:[this[_0x3800c3(0xeb)]]]),this[_0x3800c3(0x261)]=new ManagedRunnerSessionService(this[_0x3800c3(0x1ee)],this[_0x3800c3(0x25a)],_0x5cef6a=>this[_0x3800c3(0x243)]({'session':this[_0x3800c3(0xd1)][_0x3800c3(0x248)](_0x5cef6a)})),this[_0x3800c3(0x24a)]=new RunnerInteractionService({'runtime':this[_0x3800c3(0x1ee)],'state':this[_0x3800c3(0xb9)],'codex':()=>this[_0x3800c3(0x171)],'claude':()=>this[_0x3800c3(0xfa)],'runners':this[_0x3800c3(0x25a)],'emitRun':(_0x45930a,_0x24217e,_0x172203,_0x2ca7e7)=>this[_0x3800c3(0x21c)][_0x3800c3(0x194)](_0x45930a,_0x24217e,_0x172203,_0x2ca7e7),'emitItem':(_0x14b45f,_0x4a913f)=>this[_0x3800c3(0x10c)](_0x14b45f,_0x4a913f),'approvalTimeoutMs':this[_0x3800c3(0x280)],'publishApproval':_0x398a32=>this[_0x3800c3(0x21c)][_0x3800c3(0x23f)](_0x398a32)}),this[_0x3800c3(0x140)]=new RunnerChannelMessageService({'interactions':this[_0x3800c3(0x24a)],'send':(_0x2380b0,_0x28e8db,_0x3946be)=>this[_0x3800c3(0x204)](_0x2380b0,_0x28e8db,_0x3946be)}),this[_0x3800c3(0xd1)]=new SessionPresentationService({'database':()=>this[_0x3800c3(0x14f)],'runtime':this[_0x3800c3(0x1ee)],'commands':this[_0x3800c3(0x12d)],'runners':this[_0x3800c3(0x25a)],'capabilities':()=>this[_0x3800c3(0xc2)],'hasManagedActiveRun':_0x48a16a=>hasManagedActiveRun(this[_0x3800c3(0x1ee)],_0x48a16a),'externalActivity':_0x5b1180=>this[_0x3800c3(0x100)][_0x3800c3(0x176)][_0x3800c3(0x23b)](_0x5b1180),'projectionForNative':_0x29701e=>this[_0x3800c3(0xf4)][_0x3800c3(0x27f)](_0x29701e)}),this[_0x3800c3(0xf4)]=new NativeSessionProjectionService({'database':()=>this[_0x3800c3(0x14f)],'nodeId':()=>this[_0x3800c3(0xb4)]?.[_0x3800c3(0x257)]??_0x3800c3(0x26a),'runtime':this[_0x3800c3(0x1ee)],'runners':this[_0x3800c3(0x25a)],'capabilities':()=>this[_0x3800c3(0xc2)],'state':this[_0x3800c3(0x100)],'commands':this[_0x3800c3(0x12d)],'present':_0x58d5a7=>this[_0x3800c3(0xd1)][_0x3800c3(0x248)](_0x58d5a7)}),this[_0x3800c3(0xe4)]=new ConversationHistoryService({'runtime':this[_0x3800c3(0x1ee)],'runners':this[_0x3800c3(0x25a)],'capabilities':()=>this[_0x3800c3(0xc2)],'attachments':this[_0x3800c3(0xe2)],'snapshotSequence':()=>this[_0x3800c3(0x170)][_0x3800c3(0xa7)](),'hasManagedActiveRun':_0xd827d2=>hasManagedActiveRun(this[_0x3800c3(0x1ee)],_0xd827d2),'setExternalActivity':(_0x51a69e,_0x1bbe6f)=>this[_0x3800c3(0x100)][_0x3800c3(0x176)][_0x3800c3(0xc8)](_0x51a69e,_0x1bbe6f)}),this[_0x3800c3(0x22d)]=new ConversationSegmentService((_0x30b933,_0x41b2ea)=>this[_0x3800c3(0xe4)][_0x3800c3(0x1d0)](_0x30b933,_0x41b2ea)),this[_0x3800c3(0xb2)]=new SessionContextService({'runners':this[_0x3800c3(0x25a)],'session':_0x4e4be5=>this[_0x3800c3(0x1ee)][_0x3800c3(0x249)](_0x4e4be5),'stopped':()=>this[_0x3800c3(0x1ed)],'publish':_0x220343=>this[_0x3800c3(0x243)](_0x220343)}),this[_0x3800c3(0x252)]=new RunWorkbenchService({'runtime':this[_0x3800c3(0x1ee)],'readImage':async(_0x4be112,_0x2d8ca9)=>this[_0x3800c3(0xe2)][_0x3800c3(0x1d0)](_0x4be112,_0x2d8ca9)??await this[_0x3800c3(0xe2)][_0x3800c3(0x156)](_0x4be112,_0x2d8ca9),'respondUserInput':(_0x218e88,_0x3f3be8,_0x433c7f)=>this[_0x3800c3(0x24a)][_0x3800c3(0x175)](_0x218e88,_0x3f3be8,_0x433c7f),'pauseQueue':_0x25c45e=>this[_0x3800c3(0x1da)][_0x3800c3(0xa4)](_0x25c45e),'emitRun':(_0x39fc19,_0x56fdba,_0x4f48ee,_0x34d183)=>this[_0x3800c3(0x21c)][_0x3800c3(0x194)](_0x39fc19,_0x56fdba,_0x4f48ee,_0x34d183),'control':(_0x2ed553,_0x86be6)=>this[_0x3800c3(0x1e9)][_0x3800c3(0x16b)](JSON[_0x3800c3(0xbe)](createEnvelope(_0x2ed553,_0x86be6))),'markInterrupted':_0x2c6183=>this[_0x3800c3(0xb9)][_0x3800c3(0x1c2)][_0x3800c3(0x182)](_0x2c6183)}),this[_0x3800c3(0xee)]=new SessionQueryService({'runtime':this[_0x3800c3(0x1ee)],'runners':this[_0x3800c3(0x25a)],'resolve':_0x16b80c=>this[_0x3800c3(0xf4)][_0x3800c3(0x234)](_0x16b80c),'present':_0x37c4c7=>this[_0x3800c3(0xd1)][_0x3800c3(0x248)](_0x37c4c7),'history':(_0x58300b,_0x10718a)=>this[_0x3800c3(0xe4)][_0x3800c3(0x1d0)](_0x58300b,_0x10718a),'segments':(_0x42dfc5,_0x107a96)=>this[_0x3800c3(0x22d)][_0x3800c3(0x1d0)](_0x42dfc5,_0x107a96),'context':this[_0x3800c3(0xb2)],'discover':(_0x1573a3,_0x9985ae)=>this[_0x3800c3(0xf4)][_0x3800c3(0x11f)](_0x1573a3,_0x9985ae),'workspaceIdForCwd':_0x3e906f=>this[_0x3800c3(0x14f)]?.[_0x3800c3(0x184)]()[_0x3800c3(0x1f3)](_0x4109c5=>_0x4109c5[_0x3800c3(0x14d)]===_0x3e906f)?.['id']}),this[_0x3800c3(0x1cc)]=new ContinuousRunCoordinator({'runtime':this[_0x3800c3(0x1ee)],'emitQueue':(_0x573372,_0x3be5fb)=>this[_0x3800c3(0x21c)][_0x3800c3(0x108)](_0x573372,_0x3be5fb),'clearImages':_0x3e6258=>this[_0x3800c3(0xe2)][_0x3800c3(0x118)](_0x3e6258),'cleanupAttachments':_0x23686c=>this[_0x3800c3(0xe2)][_0x3800c3(0x1e8)](_0x23686c),'migrateAssets':(_0x1c401e,_0x3100ba)=>this[_0x3800c3(0xe2)][_0x3800c3(0x1a2)](_0x1c401e,_0x3100ba),'emitRun':(_0x495c8d,_0x14d82d,_0x5aa95e,_0x32fa7e)=>this[_0x3800c3(0x21c)][_0x3800c3(0x194)](_0x495c8d,_0x14d82d,_0x5aa95e,_0x32fa7e),'emitConversation':_0x462067=>this[_0x3800c3(0xb5)](_0x462067),'control':(_0x2031be,_0x30fddb)=>this[_0x3800c3(0x1e9)][_0x3800c3(0x16b)](JSON[_0x3800c3(0xbe)](createEnvelope(_0x2031be,_0x30fddb))),'stopped':()=>this[_0x3800c3(0x1ed)],'markInterrupted':_0xffb230=>this[_0x3800c3(0xb9)][_0x3800c3(0x1c2)][_0x3800c3(0x182)](_0xffb230),'mcps':_0x343e5d=>this[_0x3800c3(0x14f)]?.[_0x3800c3(0x181)](_0x343e5d)??[],'afterExecutionStarted':async _0x2948b3=>{const _0x311d80=_0x3800c3;if(_0x2948b3[_0x311d80(0x24b)]===undefined)return;const _0xf432b8=this[_0x311d80(0x18e)][_0x311d80(0x23b)](_0x2948b3[_0x311d80(0x13d)]);if(_0xf432b8?.[_0x311d80(0x279)]!==_0x311d80(0x173)||_0xf432b8['id']!==_0x2948b3[_0x311d80(0x24b)]['id']||_0xf432b8[_0x311d80(0xc4)]!==_0x2948b3[_0x311d80(0x24b)][_0x311d80(0xc4)])return;const _0x22f158=this[_0x311d80(0x18e)][_0x311d80(0x218)](_0x2948b3[_0x311d80(0x13d)]),_0x274658=this[_0x311d80(0x1ee)][_0x311d80(0x249)](_0x2948b3[_0x311d80(0x13d)]);if(_0x22f158!==undefined&&_0x274658!==undefined)this[_0x311d80(0xe7)](_0x274658,_0x22f158);await this[_0x311d80(0x1d4)]({'sessionId':_0x2948b3[_0x311d80(0x13d)],'mission':{'id':_0xf432b8['id'],'revision':_0xf432b8[_0x311d80(0xc4)]},'secretEnvironment':_0x2948b3[_0x311d80(0x1de)],..._0x2948b3[_0x311d80(0x253)]===undefined?{}:{'personalInstructions':_0x2948b3[_0x311d80(0x253)]},..._0x2948b3[_0x311d80(0x285)]===undefined?{}:{'marAgentModel':_0x2948b3[_0x311d80(0x285)]},..._0x2948b3[_0x311d80(0xb8)]===undefined?{}:{'marAgentModels':_0x2948b3[_0x311d80(0xb8)]},..._0x2948b3[_0x311d80(0x238)]===undefined?{}:{'marAgentRuntimeScopeId':_0x2948b3[_0x311d80(0x238)]}});},'missionMcp':async _0x5e7e5e=>{const _0x1b6b13=_0x3800c3;if(_0x5e7e5e[_0x1b6b13(0x24b)]===undefined)throw new Error(_0x1b6b13(0xcf));const _0x325563=await this[_0x1b6b13(0x1b5)][_0x1b6b13(0x227)]({'executionId':_0x5e7e5e[_0x1b6b13(0x19b)],'sessionId':_0x5e7e5e[_0x1b6b13(0x13d)],'missionId':_0x5e7e5e[_0x1b6b13(0x24b)]['id'],'revision':_0x5e7e5e[_0x1b6b13(0x24b)][_0x1b6b13(0xc4)]});return{'installation':{'targetKind':_0x1b6b13(0xc1),'targetId':_0x5e7e5e[_0x1b6b13(0x13a)],'catalogEntryId':_0x1b6b13(0x102),'serverName':_0x1b6b13(0x1c0),'displayName':_0x1b6b13(0x1b8),'version':_0x1b6b13(0x1ec),'enabled':!![],'runtime':{'transport':_0x1b6b13(0xb0),'url':_0x1b6b13(0x26b),'headers':{}},'configuration':_0x325563[_0x1b6b13(0x227)],'installedAt':Date[_0x1b6b13(0x113)](),..._0x325563[_0x1b6b13(0x227)]},'secrets':_0x325563[_0x1b6b13(0x167)]};}}),this[_0x3800c3(0x1da)]=new WorkspaceQueueWorkbenchService({'runtime':this[_0x3800c3(0x1ee)],'coordinator':this[_0x3800c3(0x1cc)],'emit':(_0x5dc489,_0x53b7c1)=>this[_0x3800c3(0x21c)][_0x3800c3(0x108)](_0x5dc489,_0x53b7c1),'prepareInput':(_0x54ca25,_0x430e59,_0x43b432)=>this[_0x3800c3(0x25a)][_0x3800c3(0x206)](_0x54ca25)[_0x3800c3(0x247)](_0x430e59,_0x43b432)}),this[_0x3800c3(0x178)]=new SessionIdentityService({'runtime':this[_0x3800c3(0x1ee)],'persist':(_0x3ff7fe,_0xb29490)=>{const _0xab5313=_0x3800c3;if(_0x3ff7fe[_0xab5313(0x1df)]===null||_0x3ff7fe[_0xab5313(0x1b6)]===null||_0x3ff7fe[_0xab5313(0x160)]===null)return;this[_0xab5313(0x14f)]?.[_0xab5313(0xf2)]({'runner':_0x3ff7fe[_0xab5313(0x138)],'externalSessionId':_0xb29490,'workspaceId':_0x3ff7fe[_0xab5313(0x13a)],'model':_0x3ff7fe[_0xab5313(0x1df)],'effort':_0x3ff7fe[_0xab5313(0x1b6)],'access':_0x3ff7fe[_0xab5313(0x160)]});},'migrateCommands':(_0xcb52,_0x7dcd85)=>this[_0x3800c3(0x12d)][_0x3800c3(0x158)](_0xcb52,_0x7dcd85),'migrateMission':(_0x958f88,_0x570b14)=>{const _0x1b78dc=_0x3800c3;this[_0x1b78dc(0x18e)][_0x1b78dc(0x18b)](_0x958f88,_0x570b14),this[_0x1b78dc(0x1b5)][_0x1b78dc(0x18b)](_0x958f88,_0x570b14);const _0x118e9b=this[_0x1b78dc(0x17a)][_0x1b78dc(0x23b)](_0x958f88);_0x118e9b!==undefined&&(this[_0x1b78dc(0x17a)][_0x1b78dc(0x12a)](_0x958f88),_0x118e9b[_0x1b78dc(0x13d)]=_0x570b14,this[_0x1b78dc(0x17a)][_0x1b78dc(0xc8)](_0x570b14,_0x118e9b));const _0x33c945=this[_0x1b78dc(0x16a)][_0x1b78dc(0x23b)](_0x958f88);_0x33c945!==undefined&&(this[_0x1b78dc(0x16a)][_0x1b78dc(0x12a)](_0x958f88),this[_0x1b78dc(0x16a)][_0x1b78dc(0xc8)](_0x570b14,_0x33c945));},'migrateQueue':(_0x1ab84e,_0x2a91f2)=>this[_0x3800c3(0x1cc)][_0x3800c3(0x18b)](_0x1ab84e,_0x2a91f2),'migrateRunnerState':(_0x1ed657,_0x521770)=>this[_0x3800c3(0x21c)][_0x3800c3(0xe3)](_0x1ed657,_0x521770),'emitSession':_0x5ab0ba=>this[_0x3800c3(0x243)]({'session':_0x5ab0ba}),'emitRun':_0x3ccd7e=>this[_0x3800c3(0x1f7)](_0x3800c3(0x230),{'run':_0x3ccd7e}),'emitQueue':_0x422bc1=>this[_0x3800c3(0x1cc)][_0x3800c3(0x199)](_0x422bc1),'emitTurn':_0x186173=>this[_0x3800c3(0xb5)](_0x186173)}),this[_0x3800c3(0x16e)]=new SessionLifecycleService({'database':()=>{const _0x473bb5=_0x3800c3;if(this[_0x473bb5(0x14f)]===undefined)throw new Error(_0x473bb5(0x211));return this[_0x473bb5(0x14f)];},'runtime':this[_0x3800c3(0x1ee)],'runners':this[_0x3800c3(0x25a)],'projection':this[_0x3800c3(0xf4)],'identity':this[_0x3800c3(0x178)],'present':_0x17105c=>this[_0x3800c3(0xd1)][_0x3800c3(0x248)](_0x17105c),'emitSession':_0x2c19a8=>this[_0x3800c3(0x243)]({'session':this[_0x3800c3(0xd1)][_0x3800c3(0x248)](_0x2c19a8)}),'execute':(_0x56df82,_0xe4e6e2)=>this[_0x3800c3(0x21e)](_0x56df82,_0xe4e6e2),'interceptedSessionId':_0x127c8f=>this[_0x3800c3(0xeb)]===undefined?undefined:_0x3800c3(0x1d5)+_0x127c8f}),this[_0x3800c3(0x23d)]=new ExternalSessionResumeService({'runtime':this[_0x3800c3(0x1ee)],'runners':this[_0x3800c3(0x25a)],'state':this[_0x3800c3(0x100)],'available':_0x16ce64=>this[_0x3800c3(0x25a)][_0x3800c3(0x206)](_0x16ce64)[_0x3800c3(0x15c)](this[_0x3800c3(0xc2)]),'projectionFor':_0x586798=>this[_0x3800c3(0xf4)][_0x3800c3(0x27f)](_0x586798),'managedAliasFor':_0x6e4a48=>this[_0x3800c3(0xf4)][_0x3800c3(0x1c6)](_0x6e4a48),'ensureConfiguration':_0x17ac85=>this[_0x3800c3(0xf4)][_0x3800c3(0x215)](_0x17ac85),'configuration':_0x2a6089=>this[_0x3800c3(0xf4)][_0x3800c3(0x1ad)](_0x2a6089),'workspacePath':_0xd88122=>this[_0x3800c3(0x14f)]?.[_0x3800c3(0xba)](_0xd88122)?.[_0x3800c3(0x14d)],'rememberNative':(_0x50d5a2,_0x3d3846)=>this[_0x3800c3(0x261)][_0x3800c3(0x179)](_0x50d5a2,_0x3d3846),'stage':_0x1b31e9=>{const _0x3b3ff8=_0x3800c3,_0x307c2e=this[_0x3b3ff8(0xf4)][_0x3b3ff8(0x1ad)](_0x1b31e9);return this[_0x3b3ff8(0x1ee)][_0x3b3ff8(0x256)]({'workspaceId':_0x1b31e9[_0x3b3ff8(0x13a)],'runner':_0x1b31e9[_0x3b3ff8(0x138)],'externalSessionId':_0x1b31e9[_0x3b3ff8(0x120)]??_0x1b31e9['id'],'nativeControl':_0x3b3ff8(0xc0),'cwd':_0x1b31e9[_0x3b3ff8(0xac)],'model':_0x307c2e[_0x3b3ff8(0x1df)],'effort':_0x307c2e[_0x3b3ff8(0x1b6)],'access':_0x307c2e[_0x3b3ff8(0x160)],..._0x1b31e9[_0x3b3ff8(0xbb)]===null?{}:{'title':_0x1b31e9[_0x3b3ff8(0xbb)]},..._0x1b31e9[_0x3b3ff8(0x225)]===null?{}:{'customTitle':_0x1b31e9[_0x3b3ff8(0x225)]}});},'resolve':_0xc5343d=>this[_0x3800c3(0xf4)][_0x3800c3(0x234)](_0xc5343d)}),this[_0x3800c3(0x1c1)]=new SessionCommandService({'runtime':this[_0x3800c3(0x1ee)],'runners':this[_0x3800c3(0x25a)],'projection':this[_0x3800c3(0xf4)],'resume':this[_0x3800c3(0x23d)],'profiles':()=>this[_0x3800c3(0x126)][_0x3800c3(0x17c)](),'present':_0x3dcd09=>this[_0x3800c3(0xd1)][_0x3800c3(0x248)](_0x3dcd09),'resumeQueueAfterCommandRun':_0x6e9b55=>this[_0x3800c3(0x1da)][_0x3800c3(0x1b1)](_0x6e9b55),'beginMission':_0x1c7a08=>{const _0x38e17e=_0x3800c3,_0x5a9c35=this[_0x38e17e(0x12d)][_0x38e17e(0x23b)](_0x1c7a08['id'],_0x38e17e(0x24b));if(_0x5a9c35?.[_0x38e17e(0x173)]===!![])return{'session':this[_0x38e17e(0xd1)][_0x38e17e(0x248)](_0x1c7a08),'missionAlreadyActive':!![]};_0x5a9c35!==undefined&&(this[_0x38e17e(0x18e)][_0x38e17e(0x118)](_0x1c7a08['id']),this[_0x38e17e(0x12d)][_0x38e17e(0x118)](_0x1c7a08['id'],_0x38e17e(0x24b)));const _0xbecb53=this[_0x38e17e(0xb7)](_0x1c7a08);return this[_0x38e17e(0x1cc)][_0x38e17e(0xd3)](_0x1c7a08['id']),this[_0x38e17e(0x12d)][_0x38e17e(0xc8)](_0x1c7a08['id'],this[_0x38e17e(0xd4)]()),this[_0x38e17e(0x1f7)](_0x38e17e(0x163),{'session':this[_0x38e17e(0xd1)][_0x38e17e(0x248)](_0xbecb53[_0x38e17e(0x163)])}),{'session':this[_0x38e17e(0xd1)][_0x38e17e(0x248)](_0xbecb53[_0x38e17e(0x163)]),'missionAccessChanged':_0xbecb53[_0x38e17e(0x23a)]};},'mission':async({session:_0x5c310c,objective:_0x5059e5,secretEnvironment:_0x31b6ef,personalInstructions:_0x438cf4,marAgentModel:_0x340da1,marAgentModels:_0x176fa1,marAgentRuntimeScopeId:_0x682654})=>{const _0x532553=_0x3800c3;this[_0x532553(0x121)](_0x5c310c['id']);const _0x19ec3b=this[_0x532553(0xb7)](_0x5c310c),_0x34ceb6=_0x19ec3b[_0x532553(0x163)],_0x62545e=this[_0x532553(0x18e)][_0x532553(0x23b)](_0x5c310c['id'])?.[_0x532553(0x279)]===_0x532553(0x173);this[_0x532553(0x1cc)][_0x532553(0x276)](_0x5c310c['id']);const _0x4165e6=this[_0x532553(0x18e)][_0x532553(0x221)](_0x5c310c['id'],_0x5059e5);this[_0x532553(0xe7)](_0x34ceb6,_0x4165e6);const _0x253db4=await this[_0x532553(0x21b)][_0x532553(0x119)]({'sessionId':_0x5c310c['id'],'kind':_0x532553(0x221),'content':this[_0x532553(0x18e)][_0x532553(0x282)](_0x5c310c['id'],_0x532553(0x221)),'deliveryIntent':_0x62545e?_0x532553(0x277):_0x532553(0xe0),'mission':{'id':_0x4165e6['id'],'revision':_0x4165e6[_0x532553(0xc4)]},'secretEnvironment':_0x31b6ef,..._0x438cf4===undefined?{}:{'personalInstructions':_0x438cf4},..._0x340da1===undefined?{}:{'marAgentModel':_0x340da1},..._0x176fa1===undefined?{}:{'marAgentModels':_0x176fa1},..._0x682654===undefined?{}:{'marAgentRuntimeScopeId':_0x682654}});return{...isPlainRecord(_0x253db4)?_0x253db4:{'result':_0x253db4},'missionAccessChanged':_0x19ec3b[_0x532553(0x23a)]};},'clearMission':_0x129636=>{const _0x4b1199=_0x3800c3;return this[_0x4b1199(0x121)](_0x129636['id']),this[_0x4b1199(0x18e)][_0x4b1199(0x118)](_0x129636['id']),this[_0x4b1199(0x1cc)][_0x4b1199(0x276)](_0x129636['id']),this[_0x4b1199(0x159)](_0x129636['id'],_0x4b1199(0x1fa)),this[_0x4b1199(0x12d)][_0x4b1199(0x118)](_0x129636['id'],_0x4b1199(0x24b)),this[_0x4b1199(0x1f7)](_0x4b1199(0x163),{'session':this[_0x4b1199(0xd1)][_0x4b1199(0x248)](_0x129636)}),{'session':this[_0x4b1199(0xd1)][_0x4b1199(0x248)](_0x129636),'cleared':!![]};}}),this[_0x3800c3(0x21b)]=new SessionMessageService({'runtime':this[_0x3800c3(0x1ee)],'uploads':this[_0x3800c3(0x1db)],'attachments':this[_0x3800c3(0xe2)],'commands':this[_0x3800c3(0x12d)],'coordinator':this[_0x3800c3(0x1cc)],'runners':this[_0x3800c3(0x25a)],'resolve':_0x361cdd=>this[_0x3800c3(0x23d)][_0x3800c3(0x13e)](_0x361cdd),'present':_0x4b2061=>this[_0x3800c3(0xd1)][_0x3800c3(0x248)](_0x4b2061),'emitSession':_0x1d7067=>this[_0x3800c3(0x243)]({'session':this[_0x3800c3(0xd1)][_0x3800c3(0x248)](_0x1d7067)}),'channelToken':_0x5bb334=>{const _0x337129=_0x3800c3,_0x300269=this[_0x337129(0x1ee)][_0x337129(0x249)](_0x5bb334);return _0x300269?.[_0x337129(0x116)]??undefined;},'missionMessage':(_0x59b772,_0x59f950)=>{const _0xfe2d9b=_0x3800c3,_0x5c1b42=this[_0xfe2d9b(0x12d)][_0xfe2d9b(0x23b)](_0x59b772['id'],_0xfe2d9b(0x24b));if(_0x5c1b42?.[_0xfe2d9b(0x173)]!==!![])return undefined;const _0x1b0e08=this[_0xfe2d9b(0x18e)][_0xfe2d9b(0x23b)](_0x59b772['id']);if(_0x1b0e08?.[_0xfe2d9b(0x279)]===_0xfe2d9b(0x173))return{'runnerContent':_0x59f950,'mission':{'id':_0x1b0e08['id'],'revision':_0x1b0e08[_0xfe2d9b(0xc4)]},'activated':![]};const _0x403f21=this[_0xfe2d9b(0x18e)][_0xfe2d9b(0x221)](_0x59b772['id'],_0x59f950);return this[_0xfe2d9b(0xe7)](_0x59b772,_0x403f21),{'runnerContent':this[_0xfe2d9b(0x18e)][_0xfe2d9b(0x282)](_0x59b772['id'],_0xfe2d9b(0x221)),'mission':{'id':_0x403f21['id'],'revision':_0x403f21[_0xfe2d9b(0xc4)]},'activated':!![]};},'prepareMissionInsertion':(_0x1027f8,_0x87df8b)=>this[_0x3800c3(0x1cc)][_0x3800c3(0xd3)](_0x1027f8,_0x87df8b),'missionPreparationFailed':(_0x17ec1b,_0x4edc22,_0x147f63)=>{const _0x162b2b=_0x3800c3;if(!_0x147f63)return;const _0x50ba0c=this[_0x162b2b(0x18e)][_0x162b2b(0x23b)](_0x17ec1b['id']);if(_0x50ba0c?.['id']!==_0x4edc22['id']||_0x50ba0c[_0x162b2b(0xc4)]!==_0x4edc22[_0x162b2b(0xc4)])return;this[_0x162b2b(0x18e)][_0x162b2b(0x118)](_0x17ec1b['id']),this[_0x162b2b(0x159)](_0x17ec1b['id'],_0x162b2b(0x224)),this[_0x162b2b(0x12d)][_0x162b2b(0xc8)](_0x17ec1b['id'],this[_0x162b2b(0xd4)]()),this[_0x162b2b(0x1f7)](_0x162b2b(0x163),{'session':this[_0x162b2b(0xd1)][_0x162b2b(0x248)](_0x17ec1b)});}}),this[_0x3800c3(0x20b)]=new SessionCatalogService({'database':()=>{const _0x3086a5=_0x3800c3;if(this[_0x3086a5(0x14f)]===undefined)throw new Error(_0x3086a5(0x211));return this[_0x3086a5(0x14f)];},'nodeId':()=>this[_0x3800c3(0xb4)]?.[_0x3800c3(0x257)]??_0x3800c3(0x26a),'runtime':this[_0x3800c3(0x1ee)],'runners':this[_0x3800c3(0x25a)],'projection':this[_0x3800c3(0xf4)],'resume':this[_0x3800c3(0x23d)],'cachedNative':()=>[...this[_0x3800c3(0x100)][_0x3800c3(0xfe)][_0x3800c3(0x135)]()],'cachedWorkspace':_0x3c25d5=>this[_0x3800c3(0x1e6)][_0x3800c3(0xda)](_0x3c25d5),'discoverWorkspace':_0x12fedc=>this[_0x3800c3(0xf4)][_0x3800c3(0x187)](_0x12fedc),'present':_0x4ae22f=>this[_0x3800c3(0xd1)][_0x3800c3(0x248)](_0x4ae22f),'projectionForNative':_0x4e7a58=>this[_0x3800c3(0xf4)][_0x3800c3(0x27f)](_0x4e7a58),'nativeIds':_0x1ea6f2=>this[_0x3800c3(0xf4)][_0x3800c3(0xf0)](_0x1ea6f2),'forget':(_0x38fe0a,_0x36a9c4)=>this[_0x3800c3(0xf4)][_0x3800c3(0x209)](_0x38fe0a,_0x36a9c4),'refreshActivity':_0x196309=>this[_0x3800c3(0xe4)][_0x3800c3(0x17f)](_0x196309),'externalActivity':_0x2bb921=>this[_0x3800c3(0x100)][_0x3800c3(0x176)][_0x3800c3(0x23b)](_0x2bb921),'isWatching':_0x1ed975=>this[_0x3800c3(0x1a0)][_0x3800c3(0x196)](_0x1ed975),'history':(_0x2b9536,_0x34d362)=>this[_0x3800c3(0xe4)][_0x3800c3(0x1d0)](_0x2b9536,_0x34d362),'invalidateHistory':_0xfe7ca=>this[_0x3800c3(0x1a0)][_0x3800c3(0x1ac)](_0xfe7ca),'invalidateWorkspaceSessions':_0x1656bc=>{const _0x41c21f=_0x3800c3;this[_0x41c21f(0xde)][_0x41c21f(0x1f1)](_0x1656bc),void this[_0x41c21f(0x20e)]?.[_0x41c21f(0x110)](_0x1656bc,_0x41c21f(0x155));},'emitSession':_0x540e76=>this[_0x3800c3(0x243)]({'session':this[_0x3800c3(0xd1)][_0x3800c3(0x248)](_0x540e76)})}),this[_0x3800c3(0x171)][_0x3800c3(0x12b)]({'start':_0xea3c2d=>this[_0x3800c3(0x168)][_0x3800c3(0x221)](_0xea3c2d),'cancel':(_0x16471d,_0x2f9a7e)=>{const _0x2d32f3=_0x3800c3,_0x2ffcc9=this[_0x2d32f3(0x171)][_0x2d32f3(0x1ff)][_0x2d32f3(0x104)][_0x2d32f3(0x23b)](_0x16471d);if(_0x2ffcc9?.[_0x2d32f3(0x25c)]===undefined)return![];return void this[_0x2d32f3(0x24a)][_0x2d32f3(0x137)](_0x16471d,_0x2ffcc9[_0x2d32f3(0x157)],_0x2ffcc9[_0x2d32f3(0x25c)],_0x2ffcc9[_0x2d32f3(0xac)],_0x2f9a7e===_0x2d32f3(0x180)?_0x2d32f3(0x17e):_0x2d32f3(0x210)),!![];},'decideApproval':_0x47eb05=>this[_0x3800c3(0x24a)][_0x3800c3(0x141)](_0x47eb05[_0x3800c3(0x262)],_0x47eb05[_0x3800c3(0x19a)])}),this[_0x3800c3(0xfa)][_0x3800c3(0x12b)]({'start':_0x5304fa=>this[_0x3800c3(0x11d)][_0x3800c3(0x221)](_0x5304fa),'cancel':(_0x37284d,_0x3a7110)=>this[_0x3800c3(0x24a)][_0x3800c3(0x154)](_0x37284d,_0x3a7110),'decideApproval':_0x1e492a=>this[_0x3800c3(0x24a)][_0x3800c3(0x147)](_0x1e492a[_0x3800c3(0x262)],_0x1e492a[_0x3800c3(0x19a)])}),this[_0x3800c3(0xcd)][_0x3800c3(0x12b)]({'start':_0x34bfec=>this[_0x3800c3(0xdc)][_0x3800c3(0x221)](_0x34bfec),'cancel':(_0x4162a8,_0x45675f)=>this[_0x3800c3(0xdc)][_0x3800c3(0x1ab)](_0x4162a8,_0x45675f),'decideApproval':_0x46ac23=>this[_0x3800c3(0xdc)][_0x3800c3(0x18f)](_0x46ac23),'respondUserInput':(_0x590303,_0x536933,_0x6fd6a7)=>this[_0x3800c3(0xdc)][_0x3800c3(0x175)](_0x590303,_0x536933,_0x6fd6a7)}),this[_0x3800c3(0x1ef)][_0x3800c3(0x12b)]({'start':_0x187ba8=>this[_0x3800c3(0x21d)][_0x3800c3(0x221)](_0x187ba8),'cancel':(_0x5e0da0,_0x212396)=>this[_0x3800c3(0x21d)][_0x3800c3(0x1ab)](_0x5e0da0,_0x212396),'decideApproval':_0x28e242=>this[_0x3800c3(0x21d)][_0x3800c3(0x18f)](_0x28e242),'respondUserInput':(_0x53d90f,_0x824c9b,_0x5a35a5)=>this[_0x3800c3(0x21d)][_0x3800c3(0x175)](_0x53d90f,_0x824c9b,_0x5a35a5)}),this[_0x3800c3(0x171)][_0x3800c3(0x12c)]({'execute':(_0x317bc6,_0x9e1175,_0x2c9c26,_0xfe3259)=>this[_0x3800c3(0x168)][_0x3800c3(0x24e)](_0x317bc6,_0x9e1175,_0x2c9c26,_0xfe3259)}),this[_0x3800c3(0xfa)][_0x3800c3(0x12c)]({'execute':(_0x2fcb87,_0x14463b,_0x94ed56,_0x58f7d1)=>this[_0x3800c3(0x11d)][_0x3800c3(0x24e)](_0x2fcb87,_0x14463b,_0x94ed56,_0x58f7d1)}),this[_0x3800c3(0xcd)][_0x3800c3(0x12c)]({'execute':(_0x2f3532,_0x47d6aa,_0x4942a1,_0x484a3c)=>this[_0x3800c3(0xdc)][_0x3800c3(0x24e)](_0x2f3532,_0x47d6aa,_0x484a3c)}),this[_0x3800c3(0x1ef)][_0x3800c3(0x12c)]({'execute':(_0x459afd,_0x30f074,_0x555ef4,_0x261b50)=>this[_0x3800c3(0x21d)][_0x3800c3(0x24e)](_0x459afd,_0x30f074,_0x555ef4,_0x261b50)});const _0x7c418e=this[_0x3800c3(0xeb)]===undefined||this[_0x3800c3(0x192)]===undefined?undefined:new FakeManagedRunService({'runner':this[_0x3800c3(0xeb)],'script':this[_0x3800c3(0x192)],'runners':this[_0x3800c3(0x25a)],'runtime':this[_0x3800c3(0x1ee)],'state':this[_0x3800c3(0xb9)],'emitRun':(_0x32ce7c,_0x11ae02,_0xab6a0d,_0x17521d)=>this[_0x3800c3(0x21c)][_0x3800c3(0x194)](_0x32ce7c,_0x11ae02,_0xab6a0d,_0x17521d),'publishApproval':_0x3e5888=>this[_0x3800c3(0x21c)][_0x3800c3(0x23f)](_0x3e5888),'disconnect':()=>this[_0x3800c3(0x1b7)][_0x3800c3(0x22f)](0x1232+-0x1a59+-0x1d5*-0xd,_0x3800c3(0x105))});this[_0x3800c3(0xeb)]?.[_0x3800c3(0x12b)]({'start':_0x3c065e=>_0x7c418e?.[_0x3800c3(0x221)](_0x3c065e),'cancel':(_0x43a8de,_0x2a5988)=>_0x2a5988===_0x3800c3(0x180)?this[_0x3800c3(0xeb)]?.[_0x3800c3(0x1ab)](_0x43a8de)??![]:this[_0x3800c3(0xeb)]?.[_0x3800c3(0x274)](_0x43a8de)??![],'decideApproval':_0x572468=>this[_0x3800c3(0xeb)]?.[_0x3800c3(0x13f)](_0x572468[_0x3800c3(0x19b)],_0x572468[_0x3800c3(0x262)],_0x572468[_0x3800c3(0x19a)])??![]}),this[_0x3800c3(0x19e)]=_0xaec24d[_0x3800c3(0x19e)]??new RunnerUsageReader(),this[_0x3800c3(0x14f)]=_0xaec24d[_0x3800c3(0x14f)],this[_0x3800c3(0xf1)]=_0xaec24d[_0x3800c3(0xf1)]??new TerminalManager({'platform':this[_0x3800c3(0xc2)][_0x3800c3(0x1a5)]===_0x3800c3(0x213)?_0x3800c3(0xb3):_0x3800c3(0xa9)}),this[_0x3800c3(0xf1)][_0x3800c3(0xd7)](_0x2793b7=>this[_0x3800c3(0x1e6)][_0x3800c3(0x1d2)](_0x2793b7)),this[_0x3800c3(0x130)]=new NodeTerminalChannel({'config':()=>this[_0x3800c3(0xb4)],'controlConnected':()=>this[_0x3800c3(0x1b7)][_0x3800c3(0x18c)](),'stopped':()=>this[_0x3800c3(0x1ed)],'reconnect':this[_0x3800c3(0xd9)],'reconnectDelay':nextReconnectDelay,'manager':this[_0x3800c3(0xf1)]}),this[_0x3800c3(0x1b7)]=new NodeControlChannel({'config':()=>this[_0x3800c3(0xb4)],'capabilities':()=>this[_0x3800c3(0xc2)],'stopped':()=>this[_0x3800c3(0x1ed)],'reconnect':this[_0x3800c3(0xd9)],'reconnectDelay':nextReconnectDelay,'onConnecting':_0x451082=>{const _0x56f0ee=_0x3800c3;this[_0x56f0ee(0xae)][_0x56f0ee(0x268)](),nodeLog(_0x56f0ee(0x201),{'attempt':_0x451082});},'onReconnectScheduled':()=>this[_0x3800c3(0xae)][_0x3800c3(0xfd)](),'onMessage':_0x27d66d=>this[_0x3800c3(0x115)](_0x27d66d),'onClose':(_0x2216ad,_0x481674)=>{const _0x1230a3=_0x3800c3;this[_0x1230a3(0x1e5)][_0x1230a3(0x188)](),this[_0x1230a3(0x130)][_0x1230a3(0x27e)]();if(_0x2216ad===-0x530*-0x1+0x1be2+0x2*-0x8b9&&_0x481674===_0x1230a3(0x103))nodeLog(_0x1230a3(0x220),{'message':_0x1230a3(0x128)});if(_0x2216ad===0x453*-0x5+-0x2*-0x2a1+-0x10*-0x200||_0x2216ad===0x97b*0x4+-0x7b3*-0x3+-0x14*0x2db)void this[_0x1230a3(0xf1)][_0x1230a3(0x190)]();}}),this[_0x3800c3(0x1e9)]=new NodeControlMessageService({'config':()=>this[_0x3800c3(0xb4)],'register':(_0x2cba3f,_0x3148b9)=>this[_0x3800c3(0x10d)][_0x3800c3(0x27b)](_0x2cba3f,_0x3148b9),'connected':()=>this[_0x3800c3(0x10d)][_0x3800c3(0x18c)](),'close':(_0x330014,_0x903e)=>this[_0x3800c3(0x1b7)][_0x3800c3(0x22f)](_0x330014,_0x903e),'inspectWorkspace':_0x1fc230=>this[_0x3800c3(0x1e6)][_0x3800c3(0x193)](_0x1fc230),'handleNodeRequest':_0x3ed690=>this[_0x3800c3(0xd8)][_0x3800c3(0x16b)](_0x3ed690),'handleRuntimeCredentialResponse':_0x404027=>this[_0x3800c3(0x1e5)][_0x3800c3(0x16b)](_0x404027),'reconcileRuns':_0x3f4652=>this[_0x3800c3(0x21c)][_0x3800c3(0x11e)](_0x3f4652),'runners':this[_0x3800c3(0x25a)],'deliverSessionChannelMessage':_0x3111e0=>this[_0x3800c3(0x140)][_0x3800c3(0x16b)](_0x3111e0),'completeUncontrolledCancellation':_0x48b1b2=>{const _0x58ec4c=_0x3800c3,_0x3ff016=this[_0x58ec4c(0x1ee)][_0x58ec4c(0x1cf)](_0x48b1b2);if(_0x3ff016?.[_0x58ec4c(0x279)]===_0x58ec4c(0x10a))this[_0x58ec4c(0x24a)][_0x58ec4c(0x27a)](_0x48b1b2);},'send':(_0x32bcc6,_0x15724b,_0x35cf4c)=>this[_0x3800c3(0x204)](_0x32bcc6,_0x15724b,_0x35cf4c)}),this[_0x3800c3(0xd8)]=new NodeRequestService({'nodeId':()=>this[_0x3800c3(0xb4)]?.[_0x3800c3(0x257)],'databaseAvailable':()=>this[_0x3800c3(0x14f)]!==undefined,'execute':(_0x5b6dba,_0x361925)=>this[_0x3800c3(0x21e)](_0x5b6dba,_0x361925),'send':(_0x588b8c,_0x3483fe,_0x4b455b)=>this[_0x3800c3(0x204)](_0x588b8c,_0x3483fe,_0x4b455b)}),this[_0x3800c3(0x1e6)]=new NodeWorkspaceCoordinator({'config':()=>this[_0x3800c3(0xb4)],'database':()=>this[_0x3800c3(0x14f)],'watches':this[_0x3800c3(0x1f0)],'sessions':this[_0x3800c3(0xde)],'changes':this[_0x3800c3(0x14c)],'emit':(_0x3e2a35,_0x420df0)=>void this[_0x3800c3(0x20e)]?.[_0x3800c3(0x110)](_0x3e2a35,_0x420df0),'send':(_0x270c4f,_0xb4df51,_0x55a061)=>this[_0x3800c3(0x204)](_0x270c4f,_0xb4df51,_0x55a061)}),this[_0x3800c3(0x21c)]=new NodeRunEventBridge({'runtime':this[_0x3800c3(0x1ee)],'state':this[_0x3800c3(0xb9)],'events':this[_0x3800c3(0x21a)],'emitWorkbench':(_0x22e9cd,_0x315538)=>this[_0x3800c3(0x13b)](_0x22e9cd,_0x315538),'queues':this[_0x3800c3(0x1da)],'codex':this[_0x3800c3(0x171)],'claude':this[_0x3800c3(0xfa)],'openCode':this[_0x3800c3(0xcd)],'send':(_0x491474,_0x1488e1,_0x3443a3)=>this[_0x3800c3(0x204)](_0x491474,_0x1488e1,_0x3443a3)}),this[_0x3800c3(0x10d)]=new NodeConnectionLifecycleService({'config':()=>this[_0x3800c3(0xb4)],'setConfig':_0x2ffaba=>this[_0x3800c3(0xb4)]=_0x2ffaba,'configPath':this[_0x3800c3(0x226)],'capabilities':()=>this[_0x3800c3(0xc2)],'detectCapabilities':this[_0x3800c3(0xca)],'capabilitiesProvided':this[_0x3800c3(0x271)],'stopped':()=>this[_0x3800c3(0x1ed)],'setCapabilities':_0x38656a=>this[_0x3800c3(0xc2)]={..._0x38656a,'metadata':upgradeMetadata(_0x38656a[_0x3800c3(0x136)],this[_0x3800c3(0x1bb)][_0x3800c3(0x186)]())},'control':this[_0x3800c3(0x1b7)],'terminal':this[_0x3800c3(0x130)],'metrics':this[_0x3800c3(0xae)],'heartbeatMs':HEARTBEAT_MS,'refreshMs':CAPABILITY_REFRESH_MS,'onRegistered':()=>this[_0x3800c3(0x251)](),'onConnected':()=>{const _0x1032c4=_0x3800c3;this[_0x1032c4(0x1e5)][_0x1032c4(0x18c)](),this[_0x1032c4(0xe6)][_0x1032c4(0x1cd)]();}});const _0x1fefca=()=>{const _0x21f21d=_0x3800c3;if(this[_0x21f21d(0x14f)]===undefined)throw new Error(_0x21f21d(0x211));return this[_0x21f21d(0x14f)];};this[_0x3800c3(0x126)]=new RunnerService(_0x1fefca,()=>this[_0x3800c3(0xc2)],this[_0x3800c3(0x25a)],this[_0x3800c3(0x19e)]),this[_0x3800c3(0x26f)]=new WorkbenchManifestService({'capabilities':()=>this[_0x3800c3(0xc2)],'runners':this[_0x3800c3(0x126)],'terminals':this[_0x3800c3(0xf1)]}),this[_0x3800c3(0xec)]=new TerminalService(_0x1fefca,this[_0x3800c3(0xf1)]),this[_0x3800c3(0x1d6)]=new WorkspaceService(_0x1fefca,()=>{const _0x4f5ca1=_0x3800c3;if(this[_0x4f5ca1(0xb4)]===undefined)throw new Error(_0x4f5ca1(0x1e7));return this[_0x4f5ca1(0xb4)];},this[_0x3800c3(0x1ee)],_0x5db704=>{const _0x112271=_0x3800c3;this[_0x112271(0x112)][_0x112271(0x24c)](_0x5db704),this[_0x112271(0x1e6)][_0x112271(0x1b4)](_0x5db704),this[_0x112271(0xde)][_0x112271(0x1ac)](_0x5db704),this[_0x112271(0x1e6)][_0x112271(0x1bc)](_0x5db704);}),this[_0x3800c3(0x20e)]=new WorkspaceWorkbenchService({'requireWorkspace':_0x263a20=>this[_0x3800c3(0x1e6)][_0x3800c3(0x206)](_0x263a20),'inspectWorkspace':_0x26c372=>this[_0x3800c3(0x1e6)][_0x3800c3(0x20f)](_0x26c372),'commitWorkspace':(_0x1b14b3,_0x2c9866)=>this[_0x3800c3(0x1e6)][_0x3800c3(0x25f)](_0x1b14b3,_0x2c9866),'watch':this[_0x3800c3(0x1f0)],'files':this[_0x3800c3(0x112)],'uploads':this[_0x3800c3(0x1db)],'changes':this[_0x3800c3(0x14c)],'listSessions':_0x13959a=>this[_0x3800c3(0x21e)](_0x3800c3(0xcc),{'workspaceId':_0x13959a,'limit':0x14}),'invalidate':_0x7cbc0f=>{const _0x259eca=_0x3800c3;this[_0x259eca(0x112)][_0x259eca(0x24c)](_0x7cbc0f),this[_0x259eca(0x1e6)][_0x259eca(0x1ac)](_0x7cbc0f);},'nodeId':()=>this[_0x3800c3(0xb4)]?.[_0x3800c3(0x257)]??_0x3800c3(0x191),'nodeGeneration':()=>this[_0x3800c3(0x1a9)],'emitWatchEvent':_0x59a3c2=>this[_0x3800c3(0x204)](_0x3800c3(0x14a),_0x59a3c2)});for(const _0x556f16 of CONVERSATION_TEMPLATE_OPERATIONS)this[_0x3800c3(0xf8)][_0x3800c3(0x27b)](_0x556f16,_0x44c27b=>{const _0x56e543=_0x3800c3,_0x3a8392=this[_0x56e543(0x200)]?.[_0x556f16];if(_0x3a8392===undefined)throw new Error(_0x56e543(0x1f4));return _0x3a8392(_0x44c27b);});for(const _0x38641b of HOSTED_CONVERSATION_OPERATIONS)this[_0x3800c3(0xf8)][_0x3800c3(0x27b)](_0x38641b,_0x3a502f=>{const _0x3c9356=_0x3800c3,_0x548dba=this[_0x3c9356(0x22e)]?.[_0x38641b];if(_0x548dba===undefined)throw new Error(_0x3c9356(0x1f4));return _0x548dba(_0x3a502f);});for(const _0x249891 of CONVERSATION_HOSTING_MAINTENANCE_OPERATIONS)this[_0x3800c3(0xf8)][_0x3800c3(0x27b)](_0x249891,_0x666797=>{const _0x5763c6=_0x3800c3,_0x1aa84c=this[_0x5763c6(0xaf)]?.[_0x249891];if(_0x1aa84c===undefined)throw new Error(_0x5763c6(0x1f4));return _0x1aa84c(_0x666797);});this[_0x3800c3(0xf8)][_0x3800c3(0x197)](this[_0x3800c3(0x126)][_0x3800c3(0x233)]()),this[_0x3800c3(0xf8)][_0x3800c3(0x197)](this[_0x3800c3(0xec)][_0x3800c3(0x233)]()),this[_0x3800c3(0xf8)][_0x3800c3(0x197)](this[_0x3800c3(0x1d6)][_0x3800c3(0x233)]()),this[_0x3800c3(0xf8)][_0x3800c3(0x197)](this[_0x3800c3(0x20e)][_0x3800c3(0x233)]()),this[_0x3800c3(0xf8)][_0x3800c3(0x197)](this[_0x3800c3(0x252)][_0x3800c3(0x233)]()),this[_0x3800c3(0xf8)][_0x3800c3(0x197)](this[_0x3800c3(0x1a0)][_0x3800c3(0x233)]()),this[_0x3800c3(0xf8)][_0x3800c3(0x197)](this[_0x3800c3(0xee)][_0x3800c3(0x233)]()),this[_0x3800c3(0xf8)][_0x3800c3(0x197)](this[_0x3800c3(0x16e)][_0x3800c3(0x233)]()),this[_0x3800c3(0xf8)][_0x3800c3(0x197)](this[_0x3800c3(0x21b)][_0x3800c3(0x233)]()),this[_0x3800c3(0xf8)][_0x3800c3(0x197)](this[_0x3800c3(0x20b)][_0x3800c3(0x233)]()),this[_0x3800c3(0xf8)][_0x3800c3(0x197)](this[_0x3800c3(0x1c1)][_0x3800c3(0x233)]()),this[_0x3800c3(0xf8)][_0x3800c3(0x197)](this[_0x3800c3(0x1da)][_0x3800c3(0x233)]()),this[_0x3800c3(0xf8)][_0x3800c3(0x197)](this[_0x3800c3(0x205)][_0x3800c3(0x233)]()),this[_0x3800c3(0xf8)][_0x3800c3(0x197)](new ConversationHostingEnablementService({'config':()=>this[_0x3800c3(0xb4)],'setConfig':_0x4a2530=>this[_0x3800c3(0xb4)]=_0x4a2530,'configPath':this[_0x3800c3(0x226)],'platform':()=>this[_0x3800c3(0xc2)][_0x3800c3(0x1a5)],'capability':()=>this[_0x3800c3(0xc2)][_0x3800c3(0x111)],'initialize':()=>this[_0x3800c3(0x251)](),'prepareForDisable':()=>this[_0x3800c3(0x145)]?.[_0x3800c3(0x10f)]()??(()=>{}),'publishCapabilities':()=>this[_0x3800c3(0x204)](_0x3800c3(0xc2),this[_0x3800c3(0xc2)])})[_0x3800c3(0x233)]()),this[_0x3800c3(0xf8)][_0x3800c3(0x197)](new SkillNodeOperationService(_0x1fefca,()=>{const _0x5b5b5b=_0x3800c3;if(this[_0x5b5b5b(0xb4)]===undefined)throw new Error(_0x5b5b5b(0x1e7));return this[_0x5b5b5b(0xb4)];})[_0x3800c3(0x233)]()),this[_0x3800c3(0xf8)][_0x3800c3(0x197)](new McpNodeOperationService(_0x1fefca)[_0x3800c3(0x233)]()),this[_0x3800c3(0xf8)][_0x3800c3(0x27b)](_0x3800c3(0x1aa),()=>({'metrics':{...this[_0x3800c3(0xae)][_0x3800c3(0x186)](),'activeRuns':this[_0x3800c3(0xb9)][_0x3800c3(0x173)][_0x3800c3(0x270)],'workspaceLeases':this[_0x3800c3(0x1ee)][_0x3800c3(0xd2)]()}})),this[_0x3800c3(0xf8)][_0x3800c3(0x27b)](_0x3800c3(0x208),_0x577200=>this[_0x3800c3(0x1bb)][_0x3800c3(0x13c)](_0x577200)),this[_0x3800c3(0xf8)][_0x3800c3(0x27b)](_0x3800c3(0x1ae),()=>this[_0x3800c3(0x1bb)][_0x3800c3(0x1ab)]()),this[_0x3800c3(0xf8)][_0x3800c3(0x27b)](_0x3800c3(0x198),async()=>({'manifest':await this[_0x3800c3(0x26f)][_0x3800c3(0x1d0)]()}));}async[_0x3e8fe1(0x251)](){const _0x522249=_0x3e8fe1,_0x3d4fe7=this[_0x522249(0x254)],_0x410eb8=this[_0x522249(0x145)],_0x41bb5d=this[_0x522249(0xdd)];this[_0x522249(0x254)]=undefined,this[_0x522249(0x145)]=undefined,this[_0x522249(0xdd)]=undefined,this[_0x522249(0x22e)]=undefined,this[_0x522249(0xaf)]=undefined,this[_0x522249(0x200)]=undefined,this[_0x522249(0x1a1)]=![],this[_0x522249(0x183)]=undefined,await _0x41bb5d?.[_0x522249(0x24c)](),_0x410eb8?.[_0x522249(0x24c)](),await _0x3d4fe7?.[_0x522249(0x24c)]()[_0x522249(0x217)](()=>undefined);const _0xe7e253=this[_0x522249(0xb4)];if(_0xe7e253?.[_0x522249(0x111)]?.[_0x522249(0x25b)]===!![]&&this[_0x522249(0xc2)][_0x522249(0x1a5)]===_0x522249(0xa9)){if(_0xe7e253[_0x522249(0x257)]===undefined)this[_0x522249(0x183)]=_0x522249(0x284);else{let _0x5c966f,_0x23d8d8,_0x976e4c;try{if(this[_0x522249(0x14f)]===undefined)throw new Error(_0x522249(0x211));const _0x1bff34=hostedConversationStorePath(_0xe7e253,this[_0x522249(0x226)]);if(_0x1bff34===undefined)throw new Error(_0x522249(0x1fe));const _0x305674=new HostedConversationStore({'dataDirectory':nodeDataDirectory(_0xe7e253,this[_0x522249(0x226)]),'rootDirectory':_0x1bff34,'nodeId':_0xe7e253[_0x522249(0x257)],'database':this[_0x522249(0x14f)]});await _0x305674[_0x522249(0x1a3)]();const _0x20d2ad=new ConversationTemplateNodeService({'database':this[_0x522249(0x14f)],'store':_0x305674,'nodeId':()=>this[_0x522249(0xb4)]?.[_0x522249(0x257)]??_0x522249(0xff)});await _0x20d2ad[_0x522249(0x114)](),await _0x305674[_0x522249(0xaa)](),_0x5c966f=new MarAgentHostedConversationRuntime({'webSearch':(_0xa18e4f,_0x5b308f)=>this[_0x522249(0xbf)](_0xa18e4f,_0x5b308f),'modelFactory':this[_0x522249(0x1d3)],'registerNativeImages':(_0x5b7e36,_0x2f68ef,_0x6169b2)=>this[_0x522249(0xe2)][_0x522249(0x22c)](_0x5b7e36,_0x2f68ef,_0x6169b2,{'reuseCachedRunImages':![]})}),_0x23d8d8=new HostedConversationNodeService({'database':this[_0x522249(0x14f)],'store':_0x305674,'runtime':_0x5c966f,'nodeId':()=>this[_0x522249(0xb4)]?.[_0x522249(0x257)]??_0x522249(0xff),'nodeGeneration':()=>this[_0x522249(0x1a9)],'sessionWatchSlots':this[_0x522249(0x1a4)],'emitWatchEvent':_0x4c91ea=>this[_0x522249(0x204)](_0x522249(0x14a),_0x4c91ea),'nextWorkbenchEvent':_0x279eef=>this[_0x522249(0x170)][_0x522249(0x12f)](_0x522249(0x150),_0x279eef),'emitWorkbenchEvent':_0x4b796a=>this[_0x522249(0x170)][_0x522249(0x199)](_0x4b796a),'readImage':async(_0x38a8bd,_0x6f8957)=>this[_0x522249(0xe2)][_0x522249(0x1d0)](_0x38a8bd,_0x6f8957)??await this[_0x522249(0xe2)][_0x522249(0x156)](_0x38a8bd,_0x6f8957),'processExecutorFactory':_0x3901d3=>new BubblewrapSandboxExecutor(_0x3901d3),'assertCanCreate':()=>{const _0xfcc32d=_0x522249;if(_0x976e4c===undefined)throw new Error(_0xfcc32d(0x1f4));return _0x976e4c[_0xfcc32d(0x260)]();}}),_0x976e4c=new ConversationHostingMaintenanceService({'store':_0x305674,'inactiveRetentionDays':_0xe7e253[_0x522249(0x111)][_0x522249(0x1b2)]??0x20a9+0x144f+0x2ee*-0x12,'isConversationInUse':_0x47b95a=>_0x23d8d8?.[_0x522249(0x1a7)](_0x47b95a)??!![],'beginConversationCleanup':_0x5f8427=>_0x23d8d8?.[_0x522249(0x1fb)](_0x5f8427),'releaseConversation':_0x1e97f9=>{const _0x41678c=_0x522249;if(_0x23d8d8===undefined)throw new Error(_0x41678c(0x1f4));return _0x23d8d8[_0x41678c(0x222)](_0x1e97f9);},'onAutomaticCleanupError':_0x59bd36=>nodeLog(_0x522249(0x223),{'nodeId':_0xe7e253[_0x522249(0x257)],'code':safeErrorCode(_0x59bd36,_0x522249(0x22b))})}),this[_0x522249(0x200)]=_0x20d2ad[_0x522249(0x233)](),this[_0x522249(0x22e)]=_0x23d8d8[_0x522249(0x233)](),this[_0x522249(0xaf)]=_0x976e4c[_0x522249(0x233)](),this[_0x522249(0x254)]=_0x5c966f,this[_0x522249(0x145)]=_0x23d8d8,this[_0x522249(0xdd)]=_0x976e4c,await _0x976e4c[_0x522249(0x221)](),this[_0x522249(0x1a1)]=!![];}catch(_0x5c6bd5){await _0x976e4c?.[_0x522249(0x24c)](),_0x23d8d8?.[_0x522249(0x24c)](),await _0x5c966f?.[_0x522249(0x24c)]()[_0x522249(0x217)](()=>undefined),this[_0x522249(0x183)]=safeErrorCode(_0x5c6bd5,_0x522249(0x15b)),nodeLog(_0x522249(0x133),{'nodeId':_0xe7e253[_0x522249(0x257)],'code':this[_0x522249(0x183)]});}}}this[_0x522249(0xc2)]=await this[_0x522249(0x109)](this[_0x522249(0xc2)]);}async[_0x3e8fe1(0x109)](_0x227aa2){const _0x361274=_0x3e8fe1;let _0x430c5b=this[_0x361274(0x1a1)],_0x1f7782=this[_0x361274(0x183)],_0x329c20=_0x361274(0x152);if(_0x430c5b&&this[_0x361274(0xdd)]!==undefined)try{_0x329c20=(await this[_0x361274(0xdd)][_0x361274(0x22a)]())[_0x361274(0xfc)];}catch(_0x100ee9){_0x430c5b=![],_0x1f7782=safeErrorCode(_0x100ee9,_0x361274(0x1fe));}return{..._0x227aa2,'conversationHosting':await conversationHostingCapability(_0x227aa2,this[_0x361274(0xb4)],_0x430c5b,_0x1f7782,this[_0x361274(0x148)],_0x329c20)};}async[_0x3e8fe1(0x221)](){const _0x2cfa80=_0x3e8fe1;if(this[_0x2cfa80(0x1af)]!==undefined)await this[_0x2cfa80(0x1af)];this[_0x2cfa80(0x1af)]=undefined,this[_0x2cfa80(0x1ed)]=![],this[_0x2cfa80(0xb4)]??=await loadNodeConfig(this[_0x2cfa80(0x226)]),await this[_0x2cfa80(0x1bb)][_0x2cfa80(0x161)](resolve(dirname(nodeDatabasePath(this[_0x2cfa80(0xb4)],this[_0x2cfa80(0x226)])),_0x2cfa80(0x266))),await assertLocalSqlitePath(nodeDatabasePath(this[_0x2cfa80(0xb4)],this[_0x2cfa80(0x226)])),this[_0x2cfa80(0x14f)]??=new NodeDatabase(nodeDatabasePath(this[_0x2cfa80(0xb4)],this[_0x2cfa80(0x226)]),()=>this[_0x2cfa80(0xb4)]?.[_0x2cfa80(0x257)]??_0x2cfa80(0xff)),this[_0x2cfa80(0x14f)][_0x2cfa80(0x240)](),await this[_0x2cfa80(0x251)](),this[_0x2cfa80(0x10d)][_0x2cfa80(0x221)](),this[_0x2cfa80(0x1b7)][_0x2cfa80(0x17d)]();}[_0x3e8fe1(0x121)](_0x5cb72d){const _0x55c88a=_0x3e8fe1,_0x315369=this[_0x55c88a(0x17a)][_0x55c88a(0x23b)](_0x5cb72d);if(_0x315369!==undefined)clearTimeout(_0x315369[_0x55c88a(0x15f)]);this[_0x55c88a(0x17a)][_0x55c88a(0x12a)](_0x5cb72d),this[_0x55c88a(0x16a)][_0x55c88a(0x12a)](_0x5cb72d);}async[_0x3e8fe1(0x1d4)](_0x34ca4b){const _0x12cd4b=_0x3e8fe1,_0x114370=_0x34ca4b[_0x12cd4b(0x24b)]['id']+':'+_0x34ca4b[_0x12cd4b(0x24b)][_0x12cd4b(0xc4)];this[_0x12cd4b(0x16a)][_0x12cd4b(0xc8)](_0x34ca4b[_0x12cd4b(0x13d)],_0x114370);try{await this[_0x12cd4b(0x21b)][_0x12cd4b(0x119)]({'sessionId':_0x34ca4b[_0x12cd4b(0x13d)],'kind':_0x12cd4b(0x1d7),'content':this[_0x12cd4b(0x18e)][_0x12cd4b(0x282)](_0x34ca4b[_0x12cd4b(0x13d)],_0x12cd4b(0x1d7)),'deliveryIntent':_0x12cd4b(0x11a),'mission':_0x34ca4b[_0x12cd4b(0x24b)],'secretEnvironment':_0x34ca4b[_0x12cd4b(0x1de)],..._0x34ca4b[_0x12cd4b(0x253)]===undefined?{}:{'personalInstructions':_0x34ca4b[_0x12cd4b(0x253)]},..._0x34ca4b[_0x12cd4b(0x285)]===undefined?{}:{'marAgentModel':_0x34ca4b[_0x12cd4b(0x285)]},..._0x34ca4b[_0x12cd4b(0xb8)]===undefined?{}:{'marAgentModels':_0x34ca4b[_0x12cd4b(0xb8)]},..._0x34ca4b[_0x12cd4b(0x238)]===undefined?{}:{'marAgentRuntimeScopeId':_0x34ca4b[_0x12cd4b(0x238)]}});const _0x52312f=this[_0x12cd4b(0x18e)][_0x12cd4b(0x23b)](_0x34ca4b[_0x12cd4b(0x13d)]);if(_0x52312f?.[_0x12cd4b(0x279)]!==_0x12cd4b(0x173)||_0x52312f['id']!==_0x34ca4b[_0x12cd4b(0x24b)]['id']||_0x52312f[_0x12cd4b(0xc4)]!==_0x34ca4b[_0x12cd4b(0x24b)][_0x12cd4b(0xc4)]){if(this[_0x12cd4b(0x16a)][_0x12cd4b(0x23b)](_0x34ca4b[_0x12cd4b(0x13d)])===_0x114370)this[_0x12cd4b(0x16a)][_0x12cd4b(0x12a)](_0x34ca4b[_0x12cd4b(0x13d)]);return;}this[_0x12cd4b(0x121)](_0x34ca4b[_0x12cd4b(0x13d)]);}catch{const _0x44001c=this[_0x12cd4b(0x18e)][_0x12cd4b(0x23b)](_0x34ca4b[_0x12cd4b(0x13d)]);if(_0x44001c?.[_0x12cd4b(0x279)]!==_0x12cd4b(0x173)||_0x44001c['id']!==_0x34ca4b[_0x12cd4b(0x24b)]['id']||_0x44001c[_0x12cd4b(0xc4)]!==_0x34ca4b[_0x12cd4b(0x24b)][_0x12cd4b(0xc4)]){if(this[_0x12cd4b(0x16a)][_0x12cd4b(0x23b)](_0x34ca4b[_0x12cd4b(0x13d)])===_0x114370)this[_0x12cd4b(0x16a)][_0x12cd4b(0x12a)](_0x34ca4b[_0x12cd4b(0x13d)]);return;}const _0x2aaf3d=(_0x34ca4b[_0x12cd4b(0x27d)]??0x93*-0x18+0x35*-0x34+0xc46*0x2)+(0x9d5*-0x1+-0x1955*-0x1+-0xf7f),_0x517406=this[_0x12cd4b(0x1ee)][_0x12cd4b(0x249)](_0x34ca4b[_0x12cd4b(0x13d)]);if(_0x2aaf3d>0x1ff7+0x1*-0x187d+-0x27d*0x3||_0x517406===undefined){this[_0x12cd4b(0x121)](_0x34ca4b[_0x12cd4b(0x13d)]);if(_0x2aaf3d>0xc67*-0x1+0x183e+-0x2*0x5ea){const _0x2faf55=this[_0x12cd4b(0x18e)][_0x12cd4b(0xab)](_0x34ca4b[_0x12cd4b(0x13d)],_0x34ca4b[_0x12cd4b(0x24b)]['id'],_0x34ca4b[_0x12cd4b(0x24b)][_0x12cd4b(0xc4)]);this[_0x12cd4b(0x1cc)][_0x12cd4b(0x276)](_0x34ca4b[_0x12cd4b(0x13d)]),this[_0x12cd4b(0x159)](_0x34ca4b[_0x12cd4b(0x13d)],_0x12cd4b(0x224));if(_0x517406!==undefined)this[_0x12cd4b(0xe7)](_0x517406,_0x2faf55);}return;}this[_0x12cd4b(0x121)](_0x34ca4b[_0x12cd4b(0x13d)]);const _0xd5eeb5={'sessionId':_0x34ca4b[_0x12cd4b(0x13d)],'timer':setTimeout(()=>{const _0x3a941e=_0x12cd4b,_0x58b805=this[_0x3a941e(0x18e)][_0x3a941e(0x23b)](_0xd5eeb5[_0x3a941e(0x13d)]);if(_0x58b805?.[_0x3a941e(0x279)]!==_0x3a941e(0x173)||_0x58b805['id']!==_0x34ca4b[_0x3a941e(0x24b)]['id']||_0x58b805[_0x3a941e(0xc4)]!==_0x34ca4b[_0x3a941e(0x24b)][_0x3a941e(0xc4)])return;void this[_0x3a941e(0x1d4)]({..._0x34ca4b,'sessionId':_0xd5eeb5[_0x3a941e(0x13d)],'failedAttempts':_0x2aaf3d});},-0x6a49+-0x1a32+0xbf13)};this[_0x12cd4b(0x17a)][_0x12cd4b(0xc8)](_0x34ca4b[_0x12cd4b(0x13d)],_0xd5eeb5),_0xd5eeb5[_0x12cd4b(0x15f)][_0x12cd4b(0x237)]();}}[_0x3e8fe1(0x159)](_0x3725a1,_0x5785a7){const _0x4d1fd3=_0x3e8fe1,_0x2ae85f=this[_0x4d1fd3(0x1ee)][_0x4d1fd3(0x239)](_0x3725a1);if(_0x2ae85f===undefined||this[_0x4d1fd3(0x1ee)][_0x4d1fd3(0x117)](_0x2ae85f['id'])!==undefined)return;this[_0x4d1fd3(0x21c)][_0x4d1fd3(0x194)](_0x2ae85f['id'],_0x5785a7===_0x4d1fd3(0x1fa)?_0x4d1fd3(0x166):_0x4d1fd3(0x1a6),_0x5785a7===_0x4d1fd3(0x1fa)?{}:{'code':_0x4d1fd3(0xa6)},_0x5785a7);}[_0x3e8fe1(0xb7)](_0x2e3cb7){const _0x49adf0=_0x3e8fe1,_0x395f73=missionUnrestrictedAccess(_0x2e3cb7[_0x49adf0(0x138)]),_0x12b3fc=_0x2e3cb7[_0x49adf0(0x160)]!==_0x395f73,_0x180364=_0x12b3fc?this[_0x49adf0(0x1ee)][_0x49adf0(0xf5)](_0x2e3cb7['id'],_0x395f73):_0x2e3cb7;if(_0x12b3fc&&_0x180364[_0x49adf0(0x120)]!==null&&_0x180364[_0x49adf0(0x1df)]!==null&&_0x180364[_0x49adf0(0x1b6)]!==null)this[_0x49adf0(0x14f)]?.[_0x49adf0(0xf2)]({'runner':_0x180364[_0x49adf0(0x138)],'externalSessionId':_0x180364[_0x49adf0(0x120)],'workspaceId':_0x180364[_0x49adf0(0x13a)],'model':_0x180364[_0x49adf0(0x1df)],'effort':_0x180364[_0x49adf0(0x1b6)],'access':_0x395f73});return{'session':_0x180364,'changed':_0x12b3fc};}[_0x3e8fe1(0xd4)](){const _0x2266d3=_0x3e8fe1;return{'commandId':_0x2266d3(0x24b),'active':!![],'label':_0x2266d3(0x1b8),'detail':null,'closable':!![],'closeInput':_0x2266d3(0x1fc)};}[_0x3e8fe1(0xc5)](){const _0x42ab03=_0x3e8fe1;if(this[_0x42ab03(0x1af)]!==undefined)return this[_0x42ab03(0x1af)];this[_0x42ab03(0x1ed)]=!![],this[_0x42ab03(0xe6)][_0x42ab03(0x24c)](),this[_0x42ab03(0x1bb)][_0x42ab03(0xc5)](),this[_0x42ab03(0x10d)][_0x42ab03(0xc5)]();for(const _0x338018 of this[_0x42ab03(0xfa)][_0x42ab03(0x1ff)][_0x42ab03(0x216)][_0x42ab03(0x135)]()){clearTimeout(_0x338018[_0x42ab03(0x15f)]),_0x338018[_0x42ab03(0x234)](_0x42ab03(0x26e));}this[_0x42ab03(0xfa)][_0x42ab03(0x1ff)][_0x42ab03(0x216)][_0x42ab03(0x118)]();for(const _0xc70cee of this[_0x42ab03(0xfa)][_0x42ab03(0x1ff)][_0x42ab03(0xa5)][_0x42ab03(0x135)]()){clearTimeout(_0xc70cee[_0x42ab03(0x15f)]),_0xc70cee[_0x42ab03(0x101)](_0x42ab03(0x1a8));}this[_0x42ab03(0xfa)][_0x42ab03(0x1ff)][_0x42ab03(0xa5)][_0x42ab03(0x118)](),this[_0x42ab03(0x1a0)][_0x42ab03(0x118)](),this[_0x42ab03(0x178)][_0x42ab03(0x24c)](),this[_0x42ab03(0x16e)][_0x42ab03(0x118)](),this[_0x42ab03(0x1cc)][_0x42ab03(0x118)]();for(const _0x1de1fc of this[_0x42ab03(0x17a)][_0x42ab03(0x135)]())clearTimeout(_0x1de1fc[_0x42ab03(0x15f)]);this[_0x42ab03(0x17a)][_0x42ab03(0x118)](),this[_0x42ab03(0x16a)][_0x42ab03(0x118)](),this[_0x42ab03(0x21a)][_0x42ab03(0x118)](),this[_0x42ab03(0xb2)][_0x42ab03(0x24c)]();for(const _0x44b5b6 of this[_0x42ab03(0xfa)][_0x42ab03(0x1ff)][_0x42ab03(0x104)][_0x42ab03(0x135)]())_0x44b5b6[_0x42ab03(0x16b)][_0x42ab03(0x1ab)]();this[_0x42ab03(0xfa)][_0x42ab03(0x1ff)][_0x42ab03(0x104)][_0x42ab03(0x118)](),this[_0x42ab03(0xe2)][_0x42ab03(0x24c)](),void this[_0x42ab03(0x21d)][_0x42ab03(0x24c)]();const _0x2744cb=this[_0x42ab03(0xdd)]?.[_0x42ab03(0x24c)]();this[_0x42ab03(0xdd)]=undefined,this[_0x42ab03(0x145)]?.[_0x42ab03(0x24c)](),this[_0x42ab03(0x145)]=undefined;const _0x4ef975=this[_0x42ab03(0x254)];this[_0x42ab03(0x254)]=undefined,this[_0x42ab03(0x22e)]=undefined,this[_0x42ab03(0xaf)]=undefined,void this[_0x42ab03(0x1db)][_0x42ab03(0x190)](),this[_0x42ab03(0x112)][_0x42ab03(0x24c)](),this[_0x42ab03(0x1f0)][_0x42ab03(0xe9)](),this[_0x42ab03(0x20e)][_0x42ab03(0x118)](),this[_0x42ab03(0xde)][_0x42ab03(0x118)](),this[_0x42ab03(0x14c)][_0x42ab03(0x118)](),void this[_0x42ab03(0x25a)][_0x42ab03(0xc5)](),void this[_0x42ab03(0x1b5)][_0x42ab03(0x22f)](),void this[_0x42ab03(0xf1)][_0x42ab03(0x190)](),this[_0x42ab03(0x130)][_0x42ab03(0xc5)](),this[_0x42ab03(0x1e5)][_0x42ab03(0x22f)](),this[_0x42ab03(0x1b7)][_0x42ab03(0xc5)]();const _0x587656=this[_0x42ab03(0x14f)];return this[_0x42ab03(0x14f)]=undefined,this[_0x42ab03(0x1af)]=((async()=>{const _0x43d677=_0x42ab03;try{await _0x2744cb;}finally{await _0x4ef975?.[_0x43d677(0x24c)]()[_0x43d677(0x217)](()=>undefined),_0x587656?.[_0x43d677(0x22f)]();}})()),this[_0x42ab03(0x1af)];}[_0x3e8fe1(0x115)]=_0x3a5506=>this[_0x3e8fe1(0x1e9)][_0x3e8fe1(0x16b)](_0x3a5506);[_0x3e8fe1(0x144)]=(_0x1c91e8,_0x2f0048,_0x57cb91,_0x185dd9)=>this[_0x3e8fe1(0x21c)][_0x3e8fe1(0x194)](_0x1c91e8,_0x2f0048,_0x57cb91,_0x185dd9);[_0x3e8fe1(0x10c)]=(_0x5d8a27,_0x15376c)=>{const _0x4153cd=_0x3e8fe1;this[_0x4153cd(0x21a)][_0x4153cd(0xc9)](_0x5d8a27);const _0x154d9f=isPlainRecord(_0x15376c)&&typeof _0x15376c[_0x4153cd(0x1fd)]===_0x4153cd(0x1c9)?_0x15376c[_0x4153cd(0x1fd)]:undefined,_0x2e9a8b=isPlainRecord(_0x15376c)&&typeof _0x15376c[_0x4153cd(0xfb)]===_0x4153cd(0x1c9)?_0x15376c[_0x4153cd(0xfb)]:undefined,_0xc5e886=this[_0x4153cd(0x1ee)][_0x4153cd(0x15e)](_0x5d8a27),_0xcf00bb=_0x154d9f===undefined||_0xc5e886===undefined?undefined:conversationSegmentIdentityForItem(_0xc5e886,_0x154d9f,_0x2e9a8b);this[_0x4153cd(0x21c)][_0x4153cd(0x194)](_0x5d8a27,_0x4153cd(0xcb),_0xcf00bb===undefined||!isPlainRecord(_0x15376c)?_0x15376c:{..._0x15376c,'segmentId':_0xcf00bb['id'],'segmentIndex':_0xcf00bb[_0x4153cd(0x212)]});};[_0x3e8fe1(0xb5)]=_0x25dab7=>{const _0x4077b4=_0x3e8fe1,_0x3abbc9=isPlainRecord(_0x25dab7)&&Array[_0x4077b4(0x207)](_0x25dab7[_0x4077b4(0x24d)])?conversationSegments(_0x25dab7):[];this[_0x4077b4(0x1f7)](_0x4077b4(0x18a),{'turn':_0x25dab7,'segments':_0x3abbc9});};[_0x3e8fe1(0x13b)]=(_0x4a3c84,_0x35b163)=>{const _0x3addf6=_0x3e8fe1;if(_0x4a3c84===_0x3addf6(0x163)){this[_0x3addf6(0x243)](_0x35b163);return;}this[_0x3addf6(0x1f7)](_0x4a3c84,_0x35b163);};[_0x3e8fe1(0x243)]=_0x58e9d3=>{const _0x9e8ba6=_0x3e8fe1;if(isPlainRecord(_0x58e9d3)&&isPlainRecord(_0x58e9d3[_0x9e8ba6(0x163)])){const _0x1498eb=_0x58e9d3[_0x9e8ba6(0x163)][_0x9e8ba6(0x13a)];typeof _0x1498eb===_0x9e8ba6(0x1c9)&&(this[_0x9e8ba6(0xde)][_0x9e8ba6(0x1f1)](_0x1498eb),void this[_0x9e8ba6(0x20e)]?.[_0x9e8ba6(0x110)](_0x1498eb,_0x9e8ba6(0x155)));}this[_0x9e8ba6(0x1f7)](_0x9e8ba6(0x163),_0x58e9d3);};[_0x3e8fe1(0x1f7)]=(_0x2c76e9,_0x40335e)=>{const _0x5acc5a=_0x3e8fe1;if(_0x2c76e9===_0x5acc5a(0x18a)&&isPlainRecord(_0x40335e)&&isPlainRecord(_0x40335e[_0x5acc5a(0xce)])&&_0x40335e[_0x5acc5a(0xce)][_0x5acc5a(0x1d1)]!==_0x5acc5a(0x278)){const _0xefbc8a=typeof _0x40335e[_0x5acc5a(0xce)][_0x5acc5a(0x19b)]===_0x5acc5a(0x1c9)?_0x40335e[_0x5acc5a(0xce)][_0x5acc5a(0x19b)]:undefined,_0x38f79f=typeof _0x40335e[_0x5acc5a(0xce)][_0x5acc5a(0x1cb)]===_0x5acc5a(0x242)?_0x40335e[_0x5acc5a(0xce)][_0x5acc5a(0x1cb)]:undefined,_0x3951d6=_0xefbc8a===undefined?undefined:this[_0x5acc5a(0x1ee)][_0x5acc5a(0x15e)](_0xefbc8a);if(_0x3951d6===undefined)return;const _0x14b4d1=isPlainRecord(_0x40335e[_0x5acc5a(0xce)][_0x5acc5a(0x10b)])?_0x40335e[_0x5acc5a(0xce)][_0x5acc5a(0x10b)]:undefined,_0xac644b=_0x40335e[_0x5acc5a(0xce)][_0x5acc5a(0x1d1)]===_0x5acc5a(0x1bf)&&typeof _0x14b4d1?.[_0x5acc5a(0x10e)]===_0x5acc5a(0x1c9)?_0x14b4d1[_0x5acc5a(0x10e)]:undefined,_0x4e2263=typeof _0x14b4d1?.[_0x5acc5a(0x1fd)]===_0x5acc5a(0x1c9)?_0x14b4d1[_0x5acc5a(0x1fd)]:typeof _0x14b4d1?.[_0x5acc5a(0x262)]===_0x5acc5a(0x1c9)?_0x5acc5a(0x14b)+_0x14b4d1[_0x5acc5a(0x262)]:undefined,_0x117f81=_0xac644b!==undefined&&_0x38f79f!==undefined?_0x3951d6[_0x5acc5a(0x24d)][_0x5acc5a(0x1f3)](_0x322e5c=>_0x322e5c[_0x5acc5a(0xfb)]===_0x5acc5a(0x189)&&_0x322e5c[_0x5acc5a(0xc4)]===_0x38f79f):_0x4e2263===undefined?undefined:_0x3951d6[_0x5acc5a(0x24d)][_0x5acc5a(0x1f3)](_0xba03a4=>_0xba03a4['id']===_0xefbc8a+':'+_0x4e2263);if(_0xac644b!==undefined&&_0x117f81?.[_0x5acc5a(0xfb)]===_0x5acc5a(0x189))_0x40335e={'sessionId':_0x3951d6[_0x5acc5a(0x13d)],'delta':{'runId':_0x3951d6[_0x5acc5a(0x19b)],'itemId':_0x117f81['id'],'text':_0xac644b,'createdAt':typeof _0x40335e[_0x5acc5a(0xce)][_0x5acc5a(0x18d)]===_0x5acc5a(0x242)?_0x40335e[_0x5acc5a(0xce)][_0x5acc5a(0x18d)]:Date[_0x5acc5a(0x113)]()}};else{if(_0x117f81!==undefined){const _0x3a5b5f=conversationSegmentIdentityForItem(_0x3951d6,_0x117f81['id'],_0x117f81[_0x5acc5a(0xfb)]);_0x40335e={'sessionId':_0x3951d6[_0x5acc5a(0x13d)],'runId':_0x3951d6[_0x5acc5a(0x19b)],'item':{'itemId':_0x117f81['id'],'kind':_0x117f81[_0x5acc5a(0xfb)],'status':_0x117f81[_0x5acc5a(0x279)],'payload':_0x117f81[_0x5acc5a(0x10b)],'startedAt':_0x117f81[_0x5acc5a(0x134)],'completedAt':_0x117f81[_0x5acc5a(0x19c)],'segmentId':_0x3a5b5f['id'],'segmentIndex':_0x3a5b5f[_0x5acc5a(0x212)]}};}else{if(_0x40335e[_0x5acc5a(0xce)][_0x5acc5a(0x1d1)]!==_0x5acc5a(0x177)&&_0x40335e[_0x5acc5a(0xce)][_0x5acc5a(0x1d1)]!==_0x5acc5a(0x259))return;_0x40335e={'turn':_0x3951d6,'segments':conversationSegments(_0x3951d6)};}}}const _0x17f416=this[_0x5acc5a(0x170)][_0x5acc5a(0x12f)](_0x2c76e9,_0x40335e);if(_0x17f416===undefined)return;const _0x517e7c=_0x2c76e9===_0x5acc5a(0x18a)&&isPlainRecord(_0x40335e)&&isPlainRecord(_0x40335e[_0x5acc5a(0xce)])&&_0x40335e[_0x5acc5a(0xce)][_0x5acc5a(0x1d1)]===_0x5acc5a(0x278),_0x1ca539=workbenchPayloadSessionId(this[_0x5acc5a(0x1ee)],_0x2c76e9,_0x40335e);if(!_0x517e7c&&_0x1ca539!==undefined){this[_0x5acc5a(0x1a0)][_0x5acc5a(0x250)](_0x1ca539,_0x17f416);return;}this[_0x5acc5a(0x170)][_0x5acc5a(0x199)](_0x17f416);};[_0x3e8fe1(0x11b)]=_0x26824b=>this[_0x3e8fe1(0xf4)][_0x3e8fe1(0x187)](_0x26824b);[_0x3e8fe1(0x235)]=_0x42e356=>this[_0x3e8fe1(0x1e6)][_0x3e8fe1(0x1ac)](_0x42e356);[_0x3e8fe1(0xea)]=()=>undefined;[_0x3e8fe1(0xa8)]=()=>this[_0x3e8fe1(0x10d)][_0x3e8fe1(0xa8)]();[_0x3e8fe1(0xdb)]=()=>this[_0x3e8fe1(0x10d)][_0x3e8fe1(0xdb)]();async[_0x3e8fe1(0x21e)](_0x47e92e,_0x474e61){const _0x59d140=_0x3e8fe1;if(this[_0x59d140(0x14f)]===undefined)throw new Error(_0x59d140(0x211));if(this[_0x59d140(0x1bb)][_0x59d140(0x1e3)](_0x47e92e))throw new Error(_0x59d140(0x241));return nodeLog(_0x59d140(0x1ca),{'nodeId':this[_0x59d140(0xb4)]?.[_0x59d140(0x257)],'operation':_0x47e92e}),this[_0x59d140(0xf8)][_0x59d140(0x123)](_0x47e92e,_0x474e61);}async[_0x3e8fe1(0xbf)](_0x94edde,_0x4bbf80){const _0x284743=_0x3e8fe1,_0x5f5519=this[_0x284743(0xb4)];if(_0x5f5519?.[_0x284743(0x257)]===undefined||_0x5f5519[_0x284743(0x19d)]===undefined)throw new Error(_0x284743(0x284));const _0x529d6a=await fetch(_0x5f5519[_0x284743(0xd5)][_0x284743(0x127)](/\/$/u,'')+_0x284743(0x195),{'method':_0x284743(0x25e),'headers':{'content-type':_0x284743(0x12e),'x-mar-node-id':_0x5f5519[_0x284743(0x257)],'authorization':_0x284743(0x20d)+_0x5f5519[_0x284743(0x19d)]},'body':JSON[_0x284743(0xbe)](_0x94edde),'signal':_0x4bbf80});if(!_0x529d6a['ok'])throw new Error(_0x284743(0x1b9));const _0x20f512=await _0x529d6a[_0x284743(0x23c)]();return{'content':JSON[_0x284743(0xbe)](_0x20f512),'data':_0x20f512};}[_0x3e8fe1(0xe7)](_0x2cf98a,_0x125410){const _0x36af7c=_0x3e8fe1;if(_0x125410[_0x36af7c(0x279)]!==_0x36af7c(0x173)){this[_0x36af7c(0x12d)][_0x36af7c(0x118)](_0x2cf98a['id'],_0x36af7c(0x24b)),this[_0x36af7c(0x1f7)](_0x36af7c(0x163),{'session':this[_0x36af7c(0xd1)][_0x36af7c(0x248)](_0x2cf98a)});return;}this[_0x36af7c(0x12d)][_0x36af7c(0xc8)](_0x2cf98a['id'],{'commandId':_0x36af7c(0x24b),'active':_0x125410[_0x36af7c(0x279)]===_0x36af7c(0x173),'label':_0x36af7c(0x1b8),'detail':_0x125410[_0x36af7c(0x24f)][_0x36af7c(0x232)](-0x23e4+-0x15b+0x5*0x773,-0x210+-0x3*0x4f7+-0x12e9*-0x1),'closable':!![],'closeInput':_0x36af7c(0x149),'mission':{'id':_0x125410['id'],'objective':_0x125410[_0x36af7c(0x24f)],'revision':_0x125410[_0x36af7c(0xc4)],'status':_0x125410[_0x36af7c(0x279)],'turns':_0x125410[_0x36af7c(0xdf)]}}),this[_0x36af7c(0x1f7)](_0x36af7c(0x163),{'session':this[_0x36af7c(0xd1)][_0x36af7c(0x248)](_0x2cf98a)});}[_0x3e8fe1(0x204)](_0x247419,_0x2280de,_0x497f4b){const _0x39182a=_0x3e8fe1;this[_0x39182a(0x1b7)][_0x39182a(0x204)](_0x247419,_0x2280de,_0x497f4b);}[_0x3e8fe1(0x165)](_0x43c441){const _0x1337e9=_0x3e8fe1;this[_0x1337e9(0x1b7)][_0x1337e9(0x165)](_0x43c441);}}
|
|
2
|
+
const _0x4ce2c3=_0x4f09;(function(_0x17f671,_0x3be13f){const _0x156a8a=_0x4f09,_0x4d38d5=_0x17f671();while(!![]){try{const _0x475ae3=parseInt(_0x156a8a(0x29f))/(0x147a+0x1816+-0x2c8f)*(-parseInt(_0x156a8a(0x20a))/(-0x2008+0x2452+-0x448))+parseInt(_0x156a8a(0x224))/(-0x13af+-0x12f8+0x26aa)*(parseInt(_0x156a8a(0x1f0))/(0xd4*0x22+0xaf*-0x39+0x11*0xa3))+-parseInt(_0x156a8a(0x2a6))/(-0x2316+-0x2*0x118d+0x4635)+parseInt(_0x156a8a(0x1c8))/(0x1af7+-0x100*0x4+0x7*-0x347)*(-parseInt(_0x156a8a(0x1c1))/(-0xd0a+0x222d+-0x151c))+parseInt(_0x156a8a(0x2db))/(0x852+0x27a*-0xf+-0xe6e*-0x2)+parseInt(_0x156a8a(0x239))/(-0x3b*0x31+-0x1583+-0x1*-0x20d7)*(-parseInt(_0x156a8a(0x22d))/(0x1b61+-0x1d33+-0x44*-0x7))+parseInt(_0x156a8a(0x1eb))/(-0x188d+-0x2641+-0x207*-0x1f)*(parseInt(_0x156a8a(0x2c7))/(-0x2399*0x1+0x24*0xfc+0x35*0x1));if(_0x475ae3===_0x3be13f)break;else _0x4d38d5['push'](_0x4d38d5['shift']());}catch(_0x47f0a4){_0x4d38d5['push'](_0x4d38d5['shift']());}}}(_0x38ba,0xcff3d+0xc1*-0xa63+0x2ae3f));import{dirname,resolve}from'node:path';import{createEnvelope}from'@myagentroam/protocol';import{hostedConversationStorePath,loadNodeConfig,nodeDataDirectory,nodeDatabasePath}from'./config.js';import{NodeMetrics,nodeLog}from'./operational.js';import{assertLocalSqlitePath}from'./storage.js';import{detectCapabilitiesAsync,unavailableCapabilities}from'./capabilities.js';import{NodeDatabase}from'./database.js';import{TerminalManager}from'./terminal.js';import{NodeRuntimeState}from'./runtime-state.js';import{CommandStateStore}from'./runner-command-engine.js';import{missionUnrestrictedAccess,MissionRuntime}from'./service/mission-runtime.js';import{MissionMcpServer}from'./service/mission-mcp-server.js';import{RunnerUsageReader}from'./runner-usage.js';import{ClaudeCodeRunner}from'./runner/claude-code-runner.js';import{ClaudeManagedRunController}from'./runner/claude/managed-run-controller.js';import{CodexRunner}from'./runner/codex-runner.js';import{CodexManagedRunController}from'./runner/codex/managed-run-controller.js';import{FakeTestRunner}from'./runner/fake-test-runner.js';import{RunnerRegistry}from'./runner/runner-registry.js';import{OpenCodeRunner}from'./runner/opencode-runner.js';import{MarAgentRunner}from'./runner/mar-agent-runner.js';import{MarAgentManagedRunController}from'./runner/mar-agent/managed-run-controller.js';import{OpenCodeManagedRunController}from'./runner/opencode/managed-run-controller.js';import{NodeOperationRouter}from'./connector/node-operation-router.js';import{SkillNodeOperationService}from'./service/skill-node-operation-service.js';import{McpNodeOperationService}from'./service/mcp-node-operation-service.js';import{RunnerService}from'./service/runner-service.js';import{TerminalService}from'./service/terminal-service.js';import{WorkspaceService}from'./service/workspace-service.js';import{WorkspaceWatchService}from'./service/workspace-watch-service.js';import{WorkspaceFileService}from'./service/workspace-file-service.js';function _0x38ba(){const _0x1e6e22=['CMv2AxnPB24','mZGWAKroDNHA','y29KzxHqCM9MAwXLq2XPzw50rMfJDg9YEq','D2LUmZi','C3rVCa','CMvNAxn0zxjhzw5LCMf0zwrjBwfNzxm','vgHPCYboB2rLignVBM5Ly3rPB24GD2fZihjLCgXHy2vKigj5igeGBMv3zxiGAw5ZDgfUy2uGD2L0Acb0AguGC2fTzsbPzgvUDgL0Es4Gq2HLy2SGzM9Yigr1CgXPy2f0zsbWCM9JzxnZzxmU','zw1PDfj1BG','y29UDMvYC2f0Aw9UlMHVC3rLzc5PBNrLCNj1Chq','ChvIBgLZAe1PC3nPB25tDgf0zq','CMvJB25JAwXL','Dw5Yzwy','CMv2B2TL','mtC2mZKXy2PbsK5O','DgLTzxi','CNvUBMvYvxnHz2vszwfKzxi','DgvYBwLUywXdAgfUBMvS','Cgf1C2vtzxnZAw9UuxvLDwu','y29UDMvYC2f0Aw9UvhvYBKzVCLj1BG','CMvJzw50lxj1BNm','C2vZC2LVBKLKzw50Axr5u2vYDMLJzq','BMf0AxzLlNnLC3nPB24UzgLZy292zxj5lNbLBMrPBMC','C2vZC2LVBLbYzxnLBNrHDgLVBLnLCNzPy2u','C2vZC2LVBKLK','D29YA3nWywnLq29VCMrPBMf0B3i','ywnJzxnZ','y29UDMvYC2f0Aw9UlMHVC3rPBMCUy2XLyw51Cc5LEgvJDxrL','y29UDMvYC2f0Aw9UlML0zw0','CMvWBgfJzq','yxbWBgLJyxrPB24VANnVBG','CMfUzg9Tvvvjra','Bwv0ywrHDge','Ag9ZDgvKq29UDMvYC2f0Aw9UuNvUDgLTzq','zw5HyMXLza','ChjVAMvJDeLUAxrPywW','y2fWywnPDhK','y29UDMvYC2f0Aw9UlMHVC3rLzc5YB2XSyMfJAW','tuLtu0LptL9ot1rFqunusvzf','BgLZDa','Ag9ZDgvKq29UDMvYC2f0Aw9Ut3bLCMf0Aw9UCW','CgvYC2LZDezPBgvZ','CMvZDw1Lqwz0zxjdB21Tyw5KuNvU','AgfZrxHLy3v0Aw9Uu3rHCNrLza','ANnVBG','Dgv4Dc5KzwX0yq','CMvTB3zLugvUzgLUz1f1zxvL','q09ovKvsu0fusu9ox0Hpu1rjtKDFu1rpuKfhrv9vtKfwquLmqujmrq','ChjVBw90zq','zw1PDfnLC3nPB25xB3jRyMvUy2HfDMvUDa','C3rVCfDHDgnO','BM9KzuLK','CNvUBMvYq2HHBM5LBe1LC3nHz2vZ','C3rVChbPBMC','ms4WlJa','q0foq0vmteLorW','CMvTB3zLtwLZC2LVBLf1zxvL','ChvIBgLZAa','D29YA3nWywnLv2f0y2Htzxj2AwnL','CNvUDgLTzs1UB2rL','zw5ZDxjLuMvZDw1LzenVBMzPz3vYyxrPB24','B3bLBKnVzgvsDw5dB250CM9SBgvY','zgLZy29UBMvJDgvK','y29UDMvYC2f0Aw9UlMHVC3rLzc5PBwfNzs5YzwfK','D29YA3nWywnLv29YA2jLBMnOu2vYDMLJzq','Dw5RBM93BG','y29UDgLUDw91C1j1BKnVB3jKAw5HDg9Y','y2XLyw51Ca','BMf0AxzLsw1Hz2vsB290CW','y29UDMvYC2f0Aw9UlMHVC3rPBMCUy2XLyw51Cc5WCMv2Awv3','q09ovKvsu0fusu9ox0Hpu1rjtKDFvu5bvKfjtefcteu','CMvZB2X2zun1CNjLBNq','DgvYBwLUywXnyw5Hz2vY','D29YA3nWywnLswq','CMvHzeHPC3rVCNLqywDL','yMLUzenVBNrYB2W','D2LUzg93CW','ChjLC2vUDa','rvHurvjoquW','BM9KzuDLBMvYyxrPB24','y2f0y2G','y29UDMvYC2f0Aw9UlMHVC3rLzc5MAwXLCY51CgXVywqUC3rHDhvZ','zxHLy3v0zunVBw1HBMq','y29UDMvYC2f0Aw9UlMHVC3rLzc5MAwXLlNjLywq','C2vZC2LVBLf1zxj5u2vYDMLJzq','CNvUlMzHAwXLza','zxHLy3v0zu5VzgvpCgvYyxrPB24','y2HHBM5LBfrVA2vU','y3jLzgvUDgLHBa','BwfYqwDLBNrdBgLLBNq','C3rHCNrdyxbHyMLSAxr5uMvMCMvZAa','AxndB252zxjZyxrPB25jBLvZzq','Cgf5Bg9Hza','BM9Kzs5JB25Uzwn0Aw9UlNjLCgXHy2vK','Dg9WAwnby3rPDMu','twLZC2LVBG','y29UDMvYC2f0Aw9UlMHVC3rLzc5Nzxq','y3DK','DxbKyxrLqwDLBNrtzxnZAw9UqwnJzxnZ','y2XLyxjxB3jRC3bHy2u','CMvJB3jKzwqTC2vZC2LVBG','yMXVy2TbzNrLCLj1BNrPBwvgywLSDxjL','y29KzxHdBgLLBNq','Dw5YzwDPC3rLCMvK','AxnbCNjHEq','D2f0y2GUzxzLBNq','C2vZC2LVBLn0yxrL','qvzbsuXbqKXf','CMvZDw1LzenVBMzPz3vYyxrPB24','y29UDMvYC2f0Aw9Usg9ZDgLUz1bYB2jL','l2fWAs9UB2rLlxrVB2XZl3DLyI1ZzwfYy2G','zxHLy3v0Aw9U','AgfUzgXLtwvZC2fNzq','DxbNCMfKzunVB3jKAw5HDg9Y','yMLUzenVBw1HBMrdB250CM9S','C2v0r2vUzxjHDgvKsw1Hz2vszwDPC3rYyxi','mtqZm2nnwLbnvG','D29YA3nWywnLrMLSzvnLCNzPy2u','y29UDMvYC2f0Aw9Usg9ZDgLUz01HAw50zw5HBMnLt3bLCMf0Aw9UCW','BMv4Da','C25HChnOB3rtzxf1zw5Jzq','Aw5PDgLHBgL6zunVBNzLCNnHDgLVBKHVC3rPBMC','rKfjteve','nJi1odmWsgTAEuvl','zw1PDfDVCMTIzw5JAev2zw50','DhvYBKLK','CMvMCMvZAfrPDgXL','y29UBMvJDgLVBKXPzMvJEwnSzq','y29UDMvYC2f0Aw9Usg9ZDgLUz0zHAwX1CMvdB2rL','CNvUlMnVBxbSzxrLza','y29UDMvYC2f0Aw9UlMHVC3rLzc51BNDHDgnO','C2v0','zw1PDfjLywX0Aw1L','zgLZy292zxi','C2vZC2LVBNm','zM9Yz2v0','CNvUBMvYu2vYDMLJzq','su5urvjsvvburuq','y3vZDg9TvgL0Bgu','CNvUswq','y29UzMLNugf0Aa','y2fUy2vS','CMvJB25Uzwn0u2nOzwr1BgvK','C2vZC2LVBK1LC3nHz2vtzxj2AwnL','v09ss1nqqunf','y2fJAgvKu2vZC2LVBNm','CNvUDgLTzq','y3jLyxrLqxbWCM92ywW','ChjLCgfYzu1PC3nPB25tzxnZAw9U','BgLUDxG','ChvIBgLZAfnUyxbZAg90','B3bLCMf0Aw9UCW','l21PC3nPB24Gls1JBgvHCG','y29UDMvYC2f0Aw9UlMHVC3rLzc53yxrJAa','D29YA3nWywnLu3rHDgu','y29UDgLUDwu','mtjVyuTqDem','y2fUy2vSq29KzxHuDxjU','zxH0zxjUywXby3rPDML0Eq','zxHWAxjL','BwLZC2LVBLjLDhj5vgLTzxjZ','y29UDMvYC2f0Aw9Usg9ZDgLUz01HAw50zw5HBMnLu2vYDMLJzq','CMvMCMvZAenHCgfIAwXPDgLLCW','CMvJB3jKrxHLy3v0Aw9UuMvZDwX0','z2v0v29YA3nWywnL','y29UDMvYC2f0Aw9UlNrLBxbSyxrLlNzLCNnPB24UAw5ZCgvJDa','AgfZqwn0AxzLu2vZC2LVBKXLyxnL','Bw9KzwW','zgLZy29UBMvJDa','y29UBMvJDgvKqxr0zw1WDa','B25tDw1Tyxj5','y29TCgXLDgvKqxq','ChjVBw90zvnLC3nPB25jzgvUDgL0Eq','qMvHCMvYia','C2vUza','y29UDMvYC2f0Aw9UlMHVC3rLzc5MAwXLCY51CgXVywqUy3jLyxrL','nJC3mZCWnhrYz09HrW','CMvNAxn0zxjoyxrPDMu','BwfYqwDLBNrnB2rLBfrYyw5ZCg9YDfrLC3rZ','y2XHDwrLqxbWCM92ywXuAw1LB3v0txm','y2XHDwrLuNvUq29UDhjVBgXLCG','zgLZy292zxjxB3jRC3bHy2vtzxnZAw9UCW','CMvMCMvZAev4DgvYBMfSqwn0AxzPDhK','zMLUywXSEq','zgLZCgf0y2G','DhvYBG','yxbWzw5K','y29UDMvYC2f0Aw9UlNrLBxbSyxrLlNb1yMXPC2G','zwzMB3j0','zxH0zxjUywXtzxnZAw9Uswq','zxHWAxjLqxbWCM92ywW','y29UDMvYC2f0Aw9Usg9ZDgLUzW','y29UDMvYC2f0Aw9UlMHVC3rLzc5KzwXLDgu','CNvUv29YA2jLBMnOu2vYDMLJzq','BwfUywDLzfj1BM5LCLnLC3nPB25Z','B25oB3rPzMLJyxrPB24','BgLZDfDVCMTZCgfJzxm','ChvIBgLZAfDVCMTIzw5JAev2zw50','y29UDMvYC2f0Aw9Usg9ZDgLUz1n0B3jHz2vszwfKEq','D29YA2jLBMnOrxzLBNrtzxj2AwnL','zxHPDa','BM9KzvjLCxvLC3rZ','CNvUlNj1BM5PBMC','Aw52ywXPzgf0zq','BwfUywDLzezVCK5HDgL2zq','zw1PDff1zxvL','y29UDMvYC2f0Aw9UlNrLBxbSyxrLlNnVDxjJzs5PBNnWzwn0','y29TBwL0twv0ywrHDge','q09ovKvsu0fusu9ox0Hpu1rjtKDFq0Xfqu5vuf9gquLmruq','AgfUzgXLtM90AwzPy2f0Aw9U','BwfYqwDLBNrnB2rLBhm','CMvHze5HDgL2zq','y2XVC2vsDw5UAw5NvgvYBwLUywXtzxnZAw9UCW','u1vdq0vfreve','C2XPy2u','CNvUrxzLBNrtzxj2AwnL','y29UDMvYC2f0Aw9U','yxnZzxj0q2fUq3jLyxrL','DxnLCKLUChv0CW','D29YA3nWywnLvxbSB2fKu2vYDMLJzq','AxrLBxm','uKvkrunuruq','C2vZC2LVBKnHDgfSB2Dtzxj2AwnL','BMf0AxzLu2vZC2LVBLDHDgnOu2vYDMLJzq','BwfYqwDLBNrsDw50Aw1Lu2nVCgvjza','CgvUzgLUz01PC3nPB25dB21Tyw5Ku3rHDgu','yM9VDhn0CMfWswrZ','Ag9ZDgvKq29UDMvYC2f0Aw9Uu2vYDMLJzq','C2vJCMv0CW','uLvox05pvf9gt1vora','DhvYBNm','Aw5Hy3rPDMvszxrLBNrPB25eyxLZ','CMvJB25Uzwn0','y29UDhjVBenOyw5UzwW','C29JA2v0','BwfYqwDLBNrsDw5dB250CM9SBgvY','zgvJAwrL','C2vZC2LVBLDHDgnOu2XVDhm','y29UDhjVBe1LC3nHz2vZ','yxbWCM92ywXjza','y29KzxG','ChvIBgLZAefWChjVDMfS','z2v0uNvU','y29UDMvYC2f0Aw9UlMHVC3rPBMCUy2XLyw51Cc5MywLSzwq','Aw5PDgLHBgL6zq','y29KzxHsDw5dB250CM9SBgvY','CMvZCg9UzfvZzxjjBNb1Da','rKflrv9svu5orvjFreLtq09otKvdva','y2XHDwrLq2XPzw50','q0foq0vmteve','sfruua','CgXHDgzVCM0','D29YA2jLBMnOtwfUAwzLC3rtzxj2AwnL','y29UBMvJDa','BM9Kzs5TzxrYAwnZ','Aw5KzxG','y29UDMvYC2f0Aw9UlMHVC3rLzc5SAxn0','C2vUzevUDMvSB3bL','y2HHBMDLza','C3rHCNrLzef0','Aw5ZCgvJDe1LDgfKyxrH','y2XLyxjxyxrJAgvZ','yxzHAwXHyMXL','CMvZB2X2zq','tK9erv9eqvrbqKftrv9vtKfwquLmqujmrq','zgLYzwn0tMf0AxzL','zMLUAxnOswrSzu1PC3nPB25sDw4','y29TBwfUzfn0yxrLCW','ywn0AxzL','D29YA3nWywnLuxvLDwvxB3jRyMvUy2Htzxj2AwnL','lw9Wzw5JB2rLlwLTywDLCW','Aw5ZDgfSBgf0Aw9U','C2vZC2LVBI13yxrJAc1ZBMfWC2HVDa','y29UDMvYC2f0Aw9UlMHVC3rLzc5MAwXLCY5SAxn0','C2vJCMv0rw52AxjVBM1LBNq','C2f2zu5HDgL2zvnLC3nPB25nzxrHzgf0yq','y29UDMvYC2f0Aw9UlNrLBxbSyxrLlNb1yMXPC2GUC3rHDhvZ','zgvJAwrLq2XHDwrLqxbWCM92ywW','DxbNCMfKzq','tK9erv9tve9queve','C2vYDMvYvxjS','BwLZC2LVBKnVBNrPBNvHDgLVBLbLBMrPBMC','yxbWCM92ywXZ','CNvUlNn0yxj0zwq','CMvJzw50uNvUuhjVAMvJDgLVBLnLCNzPy2u','DxbNCMfKzs1Yzxn1BhqUANnVBG','CNvUDgLTzunYzwrLBNrPywXZ','C3rHCNq','C2vZC2LVBI5SAxn0','BwLNCMf0zvnLC3nPB24','zgvSzxrL','Aw52ywXPzgf0zunHy2HL','CMvJB3jK','q0foq0vm','tK9erv9vtKfvveHftLrjq0furuq','BM9Kzs5JB25Uzwn0Aw5N','CMvHza','CNvUCW','BM9Kzs51CgDYywrLlNjLCxvLC3q','Aw50zxjYDxb0uMvXDwvZDgvK','zw1PDenVBNzLCNnHDgLVBKL0zw0','BMf0AxzLswrZ','C2H1DgrVD24','tuLtu0LptL9dt05usu5vqvrjt05FrKfjteve','DhjHBNnPDgLVBMLUzW','y29UDMvYC2f0Aw9UlMHVC3rPBMCUC3rVCMfNzs5PBNnWzwn0','CMvJB3jKvhvYBG','BwfYqwDLBNrsDw50Aw1Ltw9KzwXZ','y2XLyxi','BgLZDfj1BNngB3jtzxnZAw9U','C3rHDhvZ','CMvXDwvZDa','ChjVAMvJDenVBNzLCNnHDgLVBKHVC3rPBMDdyxbHyMLSAxr5','CNvUqxr0ywnOBwvUDfnLCNzPy2u','y3vYCMvUDev4zwn1DgLVBKLK','BwfYlwLUDgvYBMfSlw1PC3nPB24','zgvJAwrLqxbWCM92ywW','yMvNAw5dB252zxjZyxrPB25dBgvHBNvW','zgvJAwrLq29KzxHbChbYB3zHBa','zgf0ywjHC2u','DgHYzwfKswq','y29UDMvYC2f0Aw9Uu2vNBwvUDfnLCNzPy2u','Ahr0Chm6lY8XmJCUmc4WlJeUAw52ywXPzc9Ty3a','zgLZCg9Zzq','C2vXDwvUy2u','tK9erv9vueDsqurfx1bftKrjtKC','CMvNAxn0zxjoyxrPDMvjBwfNzxm','zw5XDwv1zu1PC3nPB25dB250Aw51yxrPB24','C2vZC2LVBKnVBNrLEhrtzxj2AwnL','BM9Kzs51CgDYywrLlMnHBMnLBa','CNvUBMvYsw50zxjHy3rPB25tzxj2AwnL','CMvJB25JAwXLugvYC2LZDgvKuNvUCW','ChjVzMLSzxm','ue9tva','B3bLCMf0Aw9UuM91DgvY','zMfZDa','y2XLyxjnAxnZAw9UuMv0CNK','ywnJzxb0rM9YtwvZC2fNzq','zxHLy3v0Aw9Uu3rHCNrLza','y29UDMvYC2f0Aw9UlMHVC3rLzc5MAwXLCY51CgXVywqUy2H1BMS','C3rHDgu','C3rVCMfNzunHCgfJAxr5','ywn0AxzLu2vZC2LVBLj1BG','yMXVy2TZ','Bwf4','CMvSzwfZzvnLC3nPB24','C3rVChbLza','zxHLy3v0zq','AgfUzgXL','zxzLBNruExbL','CMvWBgfJzvnVy2TLDezVCLrLC3rPBMC','zw1PDfj1BKv2zw50','ChjVBxb0','tK9erv9dt05gsuDFvu5bvKfjtefcteu','y3jLyxrLzef0','C2L6zq','zxzLBNq','CMvQzwn0','ywn0AxzLv29YA3nWywnLtgvHC2vdB3vUDa','C3rYAw5NAwz5','CNvUu3rHDgu','y2fWywjPBgL0EurLDgvJDg9Y','D29YA3nWywnLq2HHBMDLu2vYDMLJzq','Aw52ywXPzgf0zvDVCMTZCgfJzvDHDgnOvg9WAwnZ','y29UDMvYC2f0Aw9UlMHVC3rLzc5JB25MAwCUDxbKyxrL','Bwv0CMLJCW','yxbWCM92ywW6','D2vIu2vHCMnO','Bg9HzfjLC3vSDa','ywXSB3DLzfjVB3rZ','CMvXDwLYzq','BxLHz2vUDhjVyw1FBwLZC2LVBG','CNvUBMvYCW','BMf0AxzLu2vZC2LVBLbYB2PLy3rPB25tzxj2AwnL','CMvJB3zLCKLUDgvYCNvWDgvKuhvIBgLJyxrPB25Z','y29UBMvJDgvK','BwLZC2LVBLj1BNrPBwu','y29UDMvYC2f0Aw9UlMHVC3rLzc5TzxrHzgf0ys51CgrHDgu','D29YA3nWywnLu2vZC2LVBLnLCNzPy2u','mZyXnJiWn3jsDfDWCW','C3rYAw5N','C25HChnOB3q','zMX1C2Hqzw5KAw5Nvgv4Da','CNvUBMvYlMnVBw1HBMqUzxHLy3v0zq','y29UDMvYC2f0Aw9UlMHVC3rLzc5MAwXLCY51CgXVywqUy2fUy2vS','C2vZC2LVBKnVBw1HBMrtzxj2AwnL','nNvRuNrYvq','C2vZC2LVBKXPzMvJEwnSzvnLCNzPy2u','y2fUy2vSq2XHDwrLuNvU','C2vZC2LVBG','CNvUrxzLBNrcCMLKz2u','y2fWywjPBgL0AwvZuhjVDMLKzwq','CMvXDwvZDenSyxvKzvvZzxjjBNb1Da','y29UDMvYC2f0Aw9UlMHVC3rLzc5MAwXLCY51CgXVywqUChjLzMXPz2H0','y29UDMvYC2f0Aw9UlMHVC3rLzc5JCMvHDgu','zwzMzwn0AxzLtwnWsw5ZDgfSBgf0Aw9UCW','BM9Kzs53B3jRyMvUy2GUy2fWywjPBgL0AwvZ','u0vora','q09ovKvsu0fusu9ox0Hpu1rjtKDFuKvdt1zfuLLFrKfjteve','Aw52ywXPzgf0zvrVCgLJ','Bw92zq','C2v0q2HHBM5LBfrVA2vU','y29UDMvYC2f0Aw9UsgLZDg9YEvnLCNzPy2u','y29UDMvYC2f0Aw9UvgvTCgXHDgvpCgvYyxrPB25Z','CMvXDwvZDenSyxvKzufWChjVDMfS','DMfSDwvZ','ChjVAMvJDgLVBKzVCK5HDgL2zq','z2v0','y29UDMvYC2f0Aw9UlMHVC3rPBMCUAw5PDgLHBgL6yxrPB24UzMfPBgvK','CNvU','BM9Kzs5VCgvYyxrPB24','zMfRzvnJCMLWDa','AxrLBuLK','yxnZAxn0yw50x21LC3nHz2u','uKvqtefdrv9dvvjsru5u','BM93','Aw50zxjYDxb0','y29UzMLN','y29UDMvYC2f0Aw9UlMHVC3rLzc5TzxnZywDL','DgvYBwLUywXtzxj2AwnL','y29UDMvYC2f0Aw9UlMHVC3rLzc5MAwXLCY51CgXVywqUy29TCgXLDgu','nZa4mJe3nerpyKXPvW','CMvSzwfZzunVBNzLCNnHDgLVBKzVCKnSzwfUDxa','BwfYqwDLBNrnB2rLBa','ywrVChrsDw4','BwLNCMf0zvj1BM5LCLnLC3nPB25jzgvUDgL0Eq','mJK3mdGXmNf1ELDezq','BM90AwzPy2f0Aw9U','zxH0zxjUywXtzxnZAw9UuMvZDw1Lu2vYDMLJzq','C2nOzwr1Bgu','D29YA3nWywnLu2vYDMLJzq','CMvIDwLSzenVBNzLCNnHDgLVBKLUzgv4','BwLU','l21PC3nPB24','CMvTB3zL','zMLUza','CNvUBMvYvgL0Bgu','A2LUza','Aw52ywXPzgf0zunOyw5Nzxm','ChjLCgfYzuzVCKrPC2fIBgu','CNvUBMvY','y3jLyxrLqwDLBNrtzxnZAw9U','AgfZ','BwLZC2LVBK1JCfnLCNzLCG','DxbNCMfKzvjLywr5','zgLZy292zxjxB3jRC3bHy2u','ywrK','C3vIBwL0twLZC2LVBG','y2XVC2u','zMLSDgvY','zw5ZDxjLvg9WAwntBMfWC2HVDa','zMfPBgvKqxr0zw1WDhm','ndy0y0HsveLx','CMvNAxn0zxjbBgW','C2v0u2vZC2LVBLjLC291CMnLuMvSzwfZzxi','Aw5ZCgvJDa','AxnxyxrJAgLUzW','z2v0qwDLBNrtzxnZAw9U','zgvJAxnPB24','CgvUzgLUzW','zw5ZDxjLv2f0y2G','Ag9ZDgvKlwnVBNzLCNnHDgLVBG','y29TCgXLDgvdyw5JzwXSzwrsDw4','CMvNAxn0zxi','BNvTyMvY','Bwf0zxjPywXPEMvdB2rLEa','y2XLyxjbBgW','CMvTzw1Izxi','tK9erv9dt05orunusu9ox1jfueXbq0ve','y2fWywjPBgL0AwvZ','zMfRzvj1BM5LCG','uvvfvuu','B3bLBKnVzgvdBgLLBNq','CgvYC29UywXjBNn0CNvJDgLVBNm','Dgv4Da','ChjLCgfYzu1LC3nHz2vjBNb1Da','C3vWzxj2AxnLzfvWz3jHzgu','BwLZC2LVBG','m0T2v3vQDG','Cgf0Aa','BM9KzufWCfzLCNnPB24','B2jQzwn0AxzL','zMfRztO','surmrq','zw1PDenVBNzLCNnHDgLVBLr1CM4','CgvYC2LZDfrLCM1PBMfS'];_0x38ba=function(){return _0x1e6e22;};return _0x38ba();}import{WorkspaceUploadService}from'./service/workspace-upload-service.js';import{WorkspaceChangeService}from'./service/workspace-change-service.js';import{WorkspaceSessionService}from'./service/workspace-session-service.js';import{WorkbenchEventService}from'./service/workbench-event-service.js';import{RunDomainState}from'./service/run-domain-state.js';import{RecentRunProjectionService}from'./service/recent-run-projection-service.js';import{SessionDomainState}from'./service/session-domain-state.js';import{RunEventService}from'./service/run-event-service.js';import{RunAttachmentService}from'./service/run-attachment-service.js';import{NodeTerminalChannel}from'./service/node-terminal-channel.js';import{WorkspaceWorkbenchService}from'./service/workspace-workbench-service.js';import{NativeSessionWatchService}from'./service/native-session-watch-service.js';import{SessionWatchSlotCoordinator}from'./service/session-watch-slot-coordinator.js';import{SessionContextService}from'./service/session-context-service.js';import{WorkspaceDomainState}from'./service/workspace-domain-state.js';import{RunWorkbenchService}from'./service/run-workbench-service.js';import{SessionQueryService}from'./service/session-query-service.js';import{WorkspaceQueueWorkbenchService}from'./service/workspace-queue-workbench-service.js';import{ContinuousRunCoordinator}from'./service/continuous-run-coordinator.js';import{SessionIdentityService}from'./service/session-identity-service.js';import{NativeSessionProjectionService}from'./service/native-session-projection-service.js';import{composeConversationRuntimePage,ConversationHistoryService,convergeConversationWatchPage,hasManagedActiveRun}from'./service/conversation-history-service.js';import{ConversationSegmentService,conversationSegmentIdentityForItem,conversationSegments}from'./service/conversation-segment-service.js';import{RunnerInteractionService}from'./service/runner-interaction-service.js';import{SessionLifecycleService}from'./service/session-lifecycle-service.js';import{ExternalSessionResumeService}from'./service/external-session-resume-service.js';import{SessionMessageService}from'./service/session-message-service.js';import{SessionCatalogService}from'./service/session-catalog-service.js';import{SessionCommandService}from'./service/session-command-service.js';import{SessionPresentationService}from'./service/session-presentation-service.js';import{isPlainRecord,isRunnerImageAttachment,parseRunnerImageAttachments}from'./runner/codex/conversation-parser.js';import{readWebSearchError}from'./service/web-search-error.js';export{nodeConnectEndpoint,validatedCapabilities}from'./runner/codex/conversation-parser.js';import{NodeControlChannel}from'./service/node-control-channel.js';import{NodeControlMessageService}from'./service/node-control-message-service.js';import{NodeRequestService}from'./service/node-request-service.js';import{WorkbenchManifestService}from'./service/workbench-manifest-service.js';import{NodeRunEventBridge,workbenchPayloadSessionId}from'./service/node-run-event-bridge.js';import{NodeWorkspaceCoordinator}from'./service/node-workspace-coordinator.js';import{FakeManagedRunService}from'./service/fake-managed-run-service.js';import{RunnerChannelMessageService}from'./service/runner-channel-message-service.js';import{ManagedRunnerSessionService}from'./service/managed-runner-session-service.js';import{NodeConnectionLifecycleService}from'./service/node-connection-lifecycle-service.js';import{NodeUpgradeCoordinator,nodeUpgradeRequestPath}from'./service/node-upgrade-coordinator.js';import{HostedConversationStore}from'./service/hosted-conversation-store.js';import{ConversationTemplateNodeService}from'./service/conversation-template-node-service.js';import{HostedConversationNodeService}from'./service/hosted-conversation-node-service.js';import{BubblewrapSandboxExecutor}from'./service/bubblewrap-sandbox-executor.js';import{MarAgentHostedConversationRuntime}from'./runner/mar-agent/hosted-conversation-runtime.js';function _0x4f09(_0x3b8208,_0x4b425c){_0x3b8208=_0x3b8208-(0x63*0xd+-0x26ff+0x231f);const _0x50d9be=_0x38ba();let _0x6a03de=_0x50d9be[_0x3b8208];if(_0x4f09['SlHbEy']===undefined){var _0x41ceb2=function(_0x565ee5){const _0x58f598='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x202dff='',_0x37a61f='';for(let _0x47213c=-0x1219+0x25ac+-0x1393,_0x29760a,_0x5babf8,_0x2f87ee=-0x380+0x1b*-0x9+-0x43*-0x11;_0x5babf8=_0x565ee5['charAt'](_0x2f87ee++);~_0x5babf8&&(_0x29760a=_0x47213c%(-0x1f94+-0x10fe+0x3096)?_0x29760a*(0x16ff+0x14ca+-0x2b89)+_0x5babf8:_0x5babf8,_0x47213c++%(0x489+-0x24b*0x3+0x25c))?_0x202dff+=String['fromCharCode'](-0x1*0x18a3+0x1efa+-0x39*0x18&_0x29760a>>(-(0x1*0x1ca9+-0xb46+-0x5cb*0x3)*_0x47213c&-0x23f7+0xd5e+-0x169f*-0x1)):0xb*0x1a3+-0x5*-0x2c8+-0x1fe9){_0x5babf8=_0x58f598['indexOf'](_0x5babf8);}for(let _0x233107=0x11b*0x5+-0x1*0x22b7+-0x4*-0x74c,_0x3afc02=_0x202dff['length'];_0x233107<_0x3afc02;_0x233107++){_0x37a61f+='%'+('00'+_0x202dff['charCodeAt'](_0x233107)['toString'](-0x2644+0x237f+0x2d5*0x1))['slice'](-(0x1c1f+0xab5+-0x26d2));}return decodeURIComponent(_0x37a61f);};_0x4f09['TNrKqf']=_0x41ceb2,_0x4f09['IkqfUk']={},_0x4f09['SlHbEy']=!![];}const _0x25a1a2=_0x50d9be[-0x1*-0x56f+-0xea6+0x937];_0x4f09['BQmclQ']!==_0x25a1a2&&(_0x4f09['IkqfUk']={},_0x4f09['BQmclQ']=_0x25a1a2);const _0x3d3df1=_0x4f09['IkqfUk'][_0x3b8208];return _0x3d3df1===undefined?(_0x6a03de=_0x4f09['TNrKqf'](_0x6a03de),_0x4f09['IkqfUk'][_0x3b8208]=_0x6a03de):_0x6a03de=_0x3d3df1,_0x6a03de;}import{conversationHostingCapability,probeBubblewrap}from'./service/conversation-hosting-capability-service.js';import{ConversationHostingMaintenanceService}from'./service/conversation-hosting-maintenance-service.js';import{ConversationHostingEnablementService}from'./service/conversation-hosting-enablement-service.js';import{safeErrorCode}from'./util/safe-error.js';import{RuntimeCredentialControlService}from'./service/runtime-credential-control-service.js';import{MarAgentRuntimeModelFactory}from'./runner/mar-agent/runtime-model-factory.js';import{MarAgentModelTransportTestService}from'./service/mar-agent-model-transport-test-service.js';const HEARTBEAT_MS=-0x3883+-0xa80+0x221*0x3b,CAPABILITY_REFRESH_MS=0x8170+-0xffa1+0x16891,RETRY_MIN_MS=0x79f*-0x2+-0x14b7+0x25e9,RETRY_MAX_MS=-0x2e4f+0x1b35+-0x916*-0xf,CLAUDE_APPROVAL_TIMEOUT_MS=(0x1*-0xe9+-0x18a3+0x1996)*(-0x2*-0xe027+0x3*-0x56af+0x2e1f),CONVERSATION_TEMPLATE_OPERATIONS=[_0x4ce2c3(0x2f9),_0x4ce2c3(0x2e6),_0x4ce2c3(0x15a),_0x4ce2c3(0x2d0)],HOSTED_CONVERSATION_OPERATIONS=[_0x4ce2c3(0x146),_0x4ce2c3(0x1d0),_0x4ce2c3(0x28b),_0x4ce2c3(0x2c4),_0x4ce2c3(0x2ad),_0x4ce2c3(0x1e8),_0x4ce2c3(0x250),_0x4ce2c3(0x234),_0x4ce2c3(0x1b2),_0x4ce2c3(0x1bf),_0x4ce2c3(0x26a),_0x4ce2c3(0x157),_0x4ce2c3(0x27e),_0x4ce2c3(0x1cf),_0x4ce2c3(0x2da),_0x4ce2c3(0x199),_0x4ce2c3(0x27c),_0x4ce2c3(0x1ea),_0x4ce2c3(0x1c6),_0x4ce2c3(0x2eb)],CONVERSATION_HOSTING_MAINTENANCE_OPERATIONS=[_0x4ce2c3(0x177),_0x4ce2c3(0x270),_0x4ce2c3(0x246)];export function nextReconnectDelay(_0x154549){const _0x400ebe=_0x4ce2c3;return Math[_0x400ebe(0x1f6)](RETRY_MAX_MS,RETRY_MIN_MS*(0x1f58+-0x3*0x899+-0x58b)**Math[_0x400ebe(0x1f6)](Math[_0x400ebe(0x19e)](_0x154549,0xb*0x19b+0x43*-0x53+-0x8*-0x82),-0xb5c+0x11b*0x5+-0x1*-0x5e5));}function upgradeMetadata(_0x4c9c97,_0x483cd8){const _0x165409=_0x4ce2c3,_0x377fdb={..._0x4c9c97??{}};if(process.env['MAR_NODE_SUPERVISED']==='1')_0x377fdb[_0x165409(0x222)]=!![];else delete _0x377fdb[_0x165409(0x222)];if(_0x483cd8[_0x165409(0x19a)]===_0x165409(0x229))delete _0x377fdb[_0x165409(0x15c)];else _0x377fdb[_0x165409(0x15c)]=_0x483cd8;return _0x377fdb;}export class NodeConnector{[_0x4ce2c3(0x27a)]=crypto[_0x4ce2c3(0x24a)]()[_0x4ce2c3(0x248)](/-/g,'');[_0x4ce2c3(0x12f)];[_0x4ce2c3(0x134)];[_0x4ce2c3(0x2f4)];[_0x4ce2c3(0x2aa)];[_0x4ce2c3(0x164)]=new RuntimeCredentialControlService({'send':envelope=>this[_0x4ce2c3(0x147)](envelope)});[_0x4ce2c3(0x179)]=new MarAgentRuntimeModelFactory(this[_0x4ce2c3(0x164)]);[_0x4ce2c3(0x2dd)]=new MarAgentModelTransportTestService({'modelFactory':this[_0x4ce2c3(0x179)]});set[_0x4ce2c3(0x130)](_0x34cab2){const _0x5847b9=_0x4ce2c3;this[_0x5847b9(0x12f)][_0x5847b9(0x1a4)](_0x34cab2);}[_0x4ce2c3(0x1a0)]=![];[_0x4ce2c3(0x260)];[_0x4ce2c3(0x1e7)];[_0x4ce2c3(0x1cd)];[_0x4ce2c3(0x21b)];[_0x4ce2c3(0x1af)];[_0x4ce2c3(0x298)];[_0x4ce2c3(0x2f1)]=![];[_0x4ce2c3(0x2ab)];[_0x4ce2c3(0x1d9)];[_0x4ce2c3(0x253)];[_0x4ce2c3(0x2a1)];[_0x4ce2c3(0x24c)];[_0x4ce2c3(0x129)];[_0x4ce2c3(0x2cc)];[_0x4ce2c3(0x2b7)];[_0x4ce2c3(0x12e)];[_0x4ce2c3(0x2de)];[_0x4ce2c3(0x2f2)]=new WorkbenchEventService(envelope=>this[_0x4ce2c3(0x147)](envelope),(category,payload)=>{const _0x471d84=_0x4ce2c3,sessionId=workbenchPayloadSessionId(this[_0x471d84(0x2bd)],category,payload);return sessionId===undefined||!this[_0x471d84(0x240)][_0x471d84(0x128)][_0x471d84(0x200)](sessionId);});[_0x4ce2c3(0x21c)];[_0x4ce2c3(0x1e1)];[_0x4ce2c3(0x1ae)]=new RunDomainState();[_0x4ce2c3(0x1cc)];[_0x4ce2c3(0x244)];[_0x4ce2c3(0x295)]=new SessionDomainState();[_0x4ce2c3(0x240)];[_0x4ce2c3(0x1bb)];[_0x4ce2c3(0x1d8)];[_0x4ce2c3(0x187)];[_0x4ce2c3(0x190)];[_0x4ce2c3(0x25f)];[_0x4ce2c3(0x2ed)];[_0x4ce2c3(0x242)];[_0x4ce2c3(0x1c9)];[_0x4ce2c3(0x1f2)];[_0x4ce2c3(0x2ba)];[_0x4ce2c3(0x309)];[_0x4ce2c3(0x1c7)];[_0x4ce2c3(0x17f)];[_0x4ce2c3(0x23c)];[_0x4ce2c3(0x291)];[_0x4ce2c3(0x13b)];[_0x4ce2c3(0x13e)];[_0x4ce2c3(0x21e)];[_0x4ce2c3(0x284)];[_0x4ce2c3(0x131)];[_0x4ce2c3(0x268)];[_0x4ce2c3(0x2df)];[_0x4ce2c3(0x1ba)];[_0x4ce2c3(0x18e)];[_0x4ce2c3(0x2ec)];[_0x4ce2c3(0x27f)];[_0x4ce2c3(0x26d)];[_0x4ce2c3(0x153)];[_0x4ce2c3(0x194)]=new NodeOperationRouter();[_0x4ce2c3(0x2b3)];[_0x4ce2c3(0x142)];[_0x4ce2c3(0x1e9)];[_0x4ce2c3(0x1f4)];[_0x4ce2c3(0x151)]=new CommandStateStore();[_0x4ce2c3(0x1be)]=new MissionRuntime(()=>undefined);[_0x4ce2c3(0x2cb)]=new Map();[_0x4ce2c3(0x15f)]=new Map();[_0x4ce2c3(0x201)]=new MissionMcpServer(this[_0x4ce2c3(0x1be)],sessionId=>{const _0x108e3c=_0x4ce2c3,mission=this[_0x108e3c(0x1be)][_0x108e3c(0x1dd)](sessionId),session=this[_0x108e3c(0x2bd)][_0x108e3c(0x20f)](sessionId);if(mission===undefined||session===undefined)return;if(mission[_0x108e3c(0x17c)]!==_0x108e3c(0x152))this[_0x108e3c(0x26d)][_0x108e3c(0x263)](sessionId);this[_0x108e3c(0x235)](session,mission);});[_0x4ce2c3(0x23b)];[_0x4ce2c3(0x273)];[_0x4ce2c3(0x29c)];[_0x4ce2c3(0x2c5)]=new WorkspaceDomainState();[_0x4ce2c3(0x265)]=new WorkspaceWatchService(this[_0x4ce2c3(0x2c5)],workspaceId=>this[_0x4ce2c3(0x1c0)][_0x4ce2c3(0x212)](workspaceId),workspaceId=>this[_0x4ce2c3(0x1c0)][_0x4ce2c3(0x25d)](workspaceId),workspaceId=>this[_0x4ce2c3(0x26b)]?.[_0x4ce2c3(0x28e)](workspaceId));[_0x4ce2c3(0x1c0)]=new WorkspaceSessionService(this[_0x4ce2c3(0x2c5)],{'discover':workspaceId=>this[_0x4ce2c3(0x2e0)](workspaceId),'listPage':workspaceId=>this[_0x4ce2c3(0x281)](_0x4ce2c3(0x166),{'workspaceId':workspaceId,'limit':0x14}),'active':workspaceId=>this[_0x4ce2c3(0x265)][_0x4ce2c3(0x289)](workspaceId,_0x4ce2c3(0x2b1)),'invalidate':workspaceId=>void this[_0x4ce2c3(0x26b)]?.[_0x4ce2c3(0x1d5)](workspaceId,_0x4ce2c3(0x2b1)),'onPending':(workspaceId,waitMs)=>nodeLog(_0x4ce2c3(0x241),{'nodeId':this[_0x4ce2c3(0x1e7)]?.[_0x4ce2c3(0x25e)],'workspaceId':workspaceId,'waitMs':waitMs})});[_0x4ce2c3(0x2a0)]=new WorkspaceFileService(this[_0x4ce2c3(0x2c5)],()=>this[_0x4ce2c3(0x1e7)]?.[_0x4ce2c3(0x1b7)]??[],workspaceId=>this[_0x4ce2c3(0x244)][_0x4ce2c3(0x2f6)](workspaceId));[_0x4ce2c3(0x306)]=new WorkspaceUploadService(this[_0x4ce2c3(0x2c5)],workspaceId=>{const _0x3b9ae9=_0x4ce2c3;this[_0x3b9ae9(0x2a0)][_0x3b9ae9(0x189)](workspaceId),this[_0x3b9ae9(0x244)][_0x3b9ae9(0x2f6)](workspaceId);});[_0x4ce2c3(0x1b0)]=new WorkspaceChangeService(this[_0x4ce2c3(0x2c5)]);[_0x4ce2c3(0x26b)];[_0x4ce2c3(0x185)];[_0x4ce2c3(0x162)]=new RecentRunProjectionService(message=>this[_0x4ce2c3(0x2d9)](_0x4ce2c3(0x23f),message));[_0x4ce2c3(0x2bd)]=new NodeRuntimeState(()=>this[_0x4ce2c3(0x1e7)]?.[_0x4ce2c3(0x25e)]??_0x4ce2c3(0x266),workspaceId=>this[_0x4ce2c3(0x185)]?.[_0x4ce2c3(0x2cf)](workspaceId),Date[_0x4ce2c3(0x1e5)],(run,session,userMessage)=>this[_0x4ce2c3(0x162)][_0x4ce2c3(0x16a)](run,session,userMessage));[_0x4ce2c3(0x1b3)]=new NodeMetrics();[_0x4ce2c3(0x302)]=new RunEventService({'runtime':this[_0x4ce2c3(0x2bd)],'metrics':this[_0x4ce2c3(0x1b3)],'state':this[_0x4ce2c3(0x1ae)],'isBootstrapSession':sessionId=>this[_0x4ce2c3(0x240)][_0x4ce2c3(0x128)][_0x4ce2c3(0x200)](sessionId),'presentSession':session=>this[_0x4ce2c3(0x242)][_0x4ce2c3(0x278)](session),'rejectBootstrap':(sessionId,code)=>this[_0x4ce2c3(0x240)][_0x4ce2c3(0x1ab)](sessionId,code),'emitWorkbench':(category,payload)=>{const _0x3b61ba=_0x4ce2c3;if(category===_0x3b61ba(0x303)&&isPlainRecord(payload)&&_0x3b61ba(0x2e4)in payload)this[_0x3b61ba(0x22a)](payload[_0x3b61ba(0x2e4)]);else this[_0x3b61ba(0x2f0)](category,payload);},'cleanupAttachments':runId=>this[_0x4ce2c3(0x17f)][_0x4ce2c3(0x26e)](runId),'expireImages':runId=>this[_0x4ce2c3(0x17f)][_0x4ce2c3(0x2ca)](runId),'scheduleContextRefresh':sessionId=>this[_0x4ce2c3(0x18e)][_0x4ce2c3(0x1f3)](sessionId),'refreshWorkspaceSessions':workspaceId=>this[_0x4ce2c3(0x26b)][_0x4ce2c3(0x208)](workspaceId,_0x4ce2c3(0x2b1)),'dispatchQueue':async(sessionId,delayMs=0x1cfc+-0x2*0x449+-0x146a)=>{const _0x294b04=_0x4ce2c3;if(this[_0x294b04(0x29c)][_0x294b04(0x211)]())return;if(delayMs>0x3b*0x4f+0x20c9+-0x32fe){this[_0x294b04(0x26d)][_0x294b04(0x1f3)](sessionId,delayMs);return;}await this[_0x294b04(0x26d)][_0x294b04(0x2e3)](sessionId);},'executionStarted':executionId=>this[_0x4ce2c3(0x26d)][_0x4ce2c3(0x198)](executionId),'keepRunActive':sessionId=>(this[_0x4ce2c3(0x2cb)][_0x4ce2c3(0x200)](sessionId)||this[_0x4ce2c3(0x15f)][_0x4ce2c3(0x200)](sessionId))&&this[_0x4ce2c3(0x1be)][_0x4ce2c3(0x1dd)](sessionId)?.[_0x4ce2c3(0x17c)]===_0x4ce2c3(0x152),'executionTerminating':(executionId,status)=>{const _0x5f2f87=_0x4ce2c3,pending=this[_0x5f2f87(0x26d)][_0x5f2f87(0x211)](executionId);if(pending?.[_0x5f2f87(0x223)]===undefined)return;const started=this[_0x5f2f87(0x26d)][_0x5f2f87(0x256)](executionId),blocked=this[_0x5f2f87(0x1be)][_0x5f2f87(0x2ce)](pending[_0x5f2f87(0x243)],status===_0x5f2f87(0x2a5));if(blocked){this[_0x5f2f87(0x196)](pending[_0x5f2f87(0x243)]),this[_0x5f2f87(0x26d)][_0x5f2f87(0x263)](pending[_0x5f2f87(0x243)]);const terminalMission=this[_0x5f2f87(0x1be)][_0x5f2f87(0x1dd)](pending[_0x5f2f87(0x243)]),session=this[_0x5f2f87(0x2bd)][_0x5f2f87(0x20f)](pending[_0x5f2f87(0x243)]);if(terminalMission!==undefined&&session!==undefined)this[_0x5f2f87(0x235)](session,terminalMission);return;}if(status!==_0x5f2f87(0x2a5)||started)return;this[_0x5f2f87(0x196)](pending[_0x5f2f87(0x243)]);const retry={'sessionId':pending[_0x5f2f87(0x243)],'timer':setTimeout(()=>{const _0x27704c=_0x5f2f87;this[_0x27704c(0x2cb)][_0x27704c(0x168)](retry[_0x27704c(0x243)]);const mission=this[_0x27704c(0x1be)][_0x27704c(0x1dd)](retry[_0x27704c(0x243)]);if(mission?.[_0x27704c(0x17c)]!==_0x27704c(0x152)||mission['id']!==pending[_0x27704c(0x223)]?.['id']||mission[_0x27704c(0x22c)]!==pending[_0x27704c(0x223)][_0x27704c(0x22c)])return;void this[_0x27704c(0x2ba)][_0x27704c(0x205)]({'sessionId':retry[_0x27704c(0x243)],'kind':_0x27704c(0x2c6),'content':this[_0x27704c(0x1be)][_0x27704c(0x1a6)](retry[_0x27704c(0x243)],_0x27704c(0x2c6)),'deliveryIntent':_0x27704c(0x1d3),'mission':{'id':mission['id'],'revision':mission[_0x27704c(0x22c)]},'secretEnvironment':pending[_0x27704c(0x158)],...pending[_0x27704c(0x21f)]===undefined?{}:{'personalInstructions':pending[_0x27704c(0x21f)]},...pending[_0x27704c(0x1ed)]===undefined?{}:{'marAgentModel':pending[_0x27704c(0x1ed)]},...pending[_0x27704c(0x2fd)]===undefined?{}:{'marAgentModels':pending[_0x27704c(0x2fd)]},...pending[_0x27704c(0x30b)]===undefined?{}:{'marAgentRuntimeScopeId':pending[_0x27704c(0x30b)]}})[_0x27704c(0x27b)](()=>undefined);},-0x6575+-0x3*-0x56f+0x8fc0)};this[_0x5f2f87(0x2cb)][_0x5f2f87(0x2ae)](pending[_0x5f2f87(0x243)],retry),retry[_0x5f2f87(0x23a)][_0x5f2f87(0x237)]();},'releaseExecution':executionId=>{const _0x502b98=_0x4ce2c3;this[_0x502b98(0x201)][_0x502b98(0x238)](executionId),this[_0x502b98(0x26d)][_0x502b98(0x1f8)](executionId);}});[_0x4ce2c3(0x133)]=new SessionWatchSlotCoordinator();[_0x4ce2c3(0x30a)]=new NativeSessionWatchService({'resolve':async sessionId=>this[_0x4ce2c3(0x2bd)][_0x4ce2c3(0x20f)](sessionId)??this[_0x4ce2c3(0x1bb)][_0x4ce2c3(0x272)](sessionId),'managedActive':session=>hasManagedActiveRun(this[_0x4ce2c3(0x2bd)],session),'suspended':sessionId=>this[_0x4ce2c3(0x1f2)][_0x4ce2c3(0x176)](sessionId),'refreshActivity':session=>this[_0x4ce2c3(0x1d8)][_0x4ce2c3(0x2e1)](session),'present':session=>this[_0x4ce2c3(0x242)][_0x4ce2c3(0x278)](session),'readPage':(session,limit)=>this[_0x4ce2c3(0x1d8)][_0x4ce2c3(0x16e)](session,{'limit':limit}),'readHistoryPage':(session,limit)=>this[_0x4ce2c3(0x1d8)][_0x4ce2c3(0x275)](session,{'limit':limit}),'convergePage':convergeConversationWatchPage,'composeRuntimePage':composeConversationRuntimePage,'projectInitialPage':(session,page,_unit,limit)=>{const _0x12caf7=_0x4ce2c3,context=this[_0x12caf7(0x18e)][_0x12caf7(0x1c3)](session['id']);return this[_0x12caf7(0x18e)][_0x12caf7(0x1f3)](session),{'kind':_0x12caf7(0x156),'sequence':this[_0x12caf7(0x2f2)][_0x12caf7(0x2a3)](),'session':this[_0x12caf7(0x242)][_0x12caf7(0x278)](session),'runs':this[_0x12caf7(0x2bd)][_0x12caf7(0x17b)](session['id']),'queue':this[_0x12caf7(0x153)][_0x12caf7(0x1c3)](session['id']),'context':context,'conversation':this[_0x12caf7(0x187)][_0x12caf7(0x24e)](session,page,limit)};},'emitSession':session=>this[_0x4ce2c3(0x25c)]({'session':session}),'emitPage':(session,page)=>this[_0x4ce2c3(0x2a7)](_0x4ce2c3(0x303),{'sessionId':session['id'],'snapshot':this[_0x4ce2c3(0x187)][_0x4ce2c3(0x24e)](session,page,0x469*-0x7+0x9af+-0xd*-0x1a2)}),'nodeId':()=>this[_0x4ce2c3(0x1e7)]?.[_0x4ce2c3(0x25e)]??_0x4ce2c3(0x266),'nodeGeneration':()=>this[_0x4ce2c3(0x27a)],'emitWatchEvent':payload=>this[_0x4ce2c3(0x2d9)](_0x4ce2c3(0x294),payload),'sessionWatchSlots':this[_0x4ce2c3(0x133)],'log':nodeLog});constructor(_0x1a4902={}){const _0x13a99f=_0x4ce2c3;this[_0x13a99f(0x1e7)]=_0x1a4902[_0x13a99f(0x1e7)],this[_0x13a99f(0x2b7)]=_0x1a4902[_0x13a99f(0x2b7)],this[_0x13a99f(0x2de)]=_0x1a4902[_0x13a99f(0x2de)]??CLAUDE_APPROVAL_TIMEOUT_MS,this[_0x13a99f(0x1cd)]=_0x1a4902[_0x13a99f(0x21b)]!==undefined,this[_0x13a99f(0x21b)]=_0x1a4902[_0x13a99f(0x21b)]??unavailableCapabilities(),this[_0x13a99f(0x298)]=_0x1a4902[_0x13a99f(0x298)]??probeBubblewrap,this[_0x13a99f(0x29c)]=new NodeUpgradeCoordinator(()=>{const _0x3a4170=_0x13a99f;if(this[_0x3a4170(0x1e7)]===undefined)throw new Error(_0x3a4170(0x1a7));return nodeUpgradeRequestPath(nodeDatabasePath(this[_0x3a4170(0x1e7)],this[_0x3a4170(0x2b7)]));},()=>this[_0x13a99f(0x1ae)][_0x13a99f(0x152)][_0x13a99f(0x1a9)],_0x487a44=>{const _0x3f410e=_0x13a99f;this[_0x3f410e(0x21b)]={...this[_0x3f410e(0x21b)],'metadata':upgradeMetadata(this[_0x3f410e(0x21b)][_0x3f410e(0x24b)],_0x487a44)},this[_0x3f410e(0x12f)]?.[_0x3f410e(0x2d9)](_0x3f410e(0x21b),this[_0x3f410e(0x21b)]);},_0x1a4902[_0x13a99f(0x202)]??(()=>{const _0x35492e=_0x13a99f;void this[_0x35492e(0x230)]()[_0x35492e(0x2e2)](()=>process[_0x35492e(0x2f3)](-0x1*-0xb1b+0x3d*0x85+-0x2a81));})),this[_0x13a99f(0x21b)]={...this[_0x13a99f(0x21b)],'metadata':upgradeMetadata(this[_0x13a99f(0x21b)][_0x13a99f(0x24b)],this[_0x13a99f(0x29c)][_0x13a99f(0x1c3)]())};const _0x538b75=_0x1a4902[_0x13a99f(0x1af)]??detectCapabilitiesAsync;this[_0x13a99f(0x1af)]=async()=>{const _0x490000=_0x13a99f,_0x2d7f7e=await _0x538b75();return this[_0x490000(0x17e)]({..._0x2d7f7e,'metadata':upgradeMetadata(_0x2d7f7e[_0x490000(0x24b)],this[_0x490000(0x29c)][_0x490000(0x1c3)]())});},this[_0x13a99f(0x12e)]=_0x1a4902[_0x13a99f(0x12e)]??!![],this[_0x13a99f(0x21c)]=_0x1a4902[_0x13a99f(0x21c)]===undefined?undefined:new FakeTestRunner(_0x1a4902[_0x13a99f(0x21c)]),this[_0x13a99f(0x1e1)]=_0x1a4902[_0x13a99f(0x1e1)],this[_0x13a99f(0x17f)]=new RunAttachmentService(_0x296177=>this[_0x13a99f(0x1ba)][_0x13a99f(0x1b8)](_0x296177[_0x13a99f(0x1fe)])[_0x13a99f(0x26f)](_0x296177)),this[_0x13a99f(0x291)]=new CodexRunner(_0x1a4902[_0x13a99f(0x291)],_0x1a4902[_0x13a99f(0x22e)]),this[_0x13a99f(0x13b)]=new CodexManagedRunController(this[_0x13a99f(0x291)],{'available':()=>this[_0x13a99f(0x21b)][_0x13a99f(0x136)][_0x13a99f(0x14c)],'intercepted':()=>this[_0x13a99f(0x21c)]!==undefined,'active':this[_0x13a99f(0x1ae)][_0x13a99f(0x152)],'addActive':_0x532db2=>this[_0x13a99f(0x1ae)][_0x13a99f(0x152)][_0x13a99f(0x204)](_0x532db2),'removeActive':_0x1d2476=>this[_0x13a99f(0x1ae)][_0x13a99f(0x152)][_0x13a99f(0x168)](_0x1d2476),'adopt':_0x3720e3=>this[_0x13a99f(0x2bd)][_0x13a99f(0x1ee)](_0x3720e3),'session':_0x546f63=>this[_0x13a99f(0x2bd)][_0x13a99f(0x20f)](_0x546f63),'runStatus':_0x4e86bf=>this[_0x13a99f(0x2bd)][_0x13a99f(0x138)](_0x4e86bf)?.[_0x13a99f(0x17c)],'run':_0x3baccf=>this[_0x13a99f(0x2bd)][_0x13a99f(0x138)](_0x3baccf),'interrupted':_0x2bc351=>this[_0x13a99f(0x1ae)][_0x13a99f(0x171)][_0x13a99f(0x200)](_0x2bc351),'parseAttachments':parseRunnerImageAttachments,'materialize':(_0x48295a,_0x5df1bb)=>this[_0x13a99f(0x17f)][_0x13a99f(0x217)](_0x48295a,_0x5df1bb),'completeCancelled':_0x1feee5=>this[_0x13a99f(0x190)][_0x13a99f(0x214)](_0x1feee5),'promoteSession':(_0x4939e0,_0x311397)=>this[_0x13a99f(0x240)][_0x13a99f(0x25b)](_0x4939e0,_0x311397),'send':(_0x176229,_0x10e556)=>this[_0x13a99f(0x2d9)](_0x176229,_0x10e556),'emit':(_0x1023d1,_0x2f9f43,_0x433ffc,_0x1fbc42)=>this[_0x13a99f(0x1cc)][_0x13a99f(0x233)](_0x1023d1,_0x2f9f43,_0x433ffc,_0x1fbc42),'cancel':(_0x13f73c,_0x39aa60,_0x2b676f,_0x2001fe,_0x42bb86)=>this[_0x13a99f(0x190)][_0x13a99f(0x2c8)](_0x13f73c,_0x39aa60,_0x2b676f,_0x2001fe,_0x42bb86),'createApproval':_0x5b293c=>this[_0x13a99f(0x2bd)][_0x13a99f(0x2be)](_0x5b293c),'publishApproval':_0x39dc7f=>this[_0x13a99f(0x1cc)][_0x13a99f(0x137)](_0x39dc7f),'emitItem':(_0x42cd75,_0x485bbf)=>this[_0x13a99f(0x172)](_0x42cd75,_0x485bbf),'appendImages':(_0x4881ae,_0x3bb785)=>this[_0x13a99f(0x17f)][_0x13a99f(0x2e5)](_0x4881ae,_0x3bb785[_0x13a99f(0x207)](isRunnerImageAttachment)),'syncTitle':(_0x5e0584,_0x2e0fe9,_0x3fbe3b)=>this[_0x13a99f(0x2ed)][_0x13a99f(0x2a9)](_0x5e0584,_0x2e0fe9,_0x3fbe3b),'commandState':(_0x4e6708,_0x23de52)=>this[_0x13a99f(0x151)][_0x13a99f(0x1dd)](_0x4e6708,_0x23de52),'setCommandState':(_0x550d9d,_0x457b74)=>this[_0x13a99f(0x151)][_0x13a99f(0x2ae)](_0x550d9d,_0x457b74),'clearCommandState':(_0xb4154a,_0x938786)=>this[_0x13a99f(0x151)][_0x13a99f(0x17a)](_0xb4154a,_0x938786),'commandStates':_0x7d693a=>this[_0x13a99f(0x151)][_0x13a99f(0x252)](_0x7d693a),'hasActiveSessionLease':_0x390b02=>this[_0x13a99f(0x2bd)][_0x13a99f(0x2d1)](_0x390b02),'fast':_0x40503a=>this[_0x13a99f(0x281)](_0x13a99f(0x1c5),{'runner':_0x13a99f(0x136),'commandId':_0x13a99f(0x195),'input':_0x40503a})}),this[_0x13a99f(0x291)][_0x13a99f(0x2ee)](_0x8893f5=>this[_0x13a99f(0x13b)][_0x13a99f(0x2fc)](_0x8893f5)),this[_0x13a99f(0x13e)]=new ClaudeCodeRunner(_0x1a4902[_0x13a99f(0x13e)]),this[_0x13a99f(0x21e)]=new OpenCodeRunner(_0x1a4902[_0x13a99f(0x21e)]),this[_0x13a99f(0x284)]=new MarAgentRunner(),this[_0x13a99f(0x284)][_0x13a99f(0x29e)]((_0x568ddd,_0xe0d2ea)=>this[_0x13a99f(0x17f)][_0x13a99f(0x2dc)](_0x568ddd,_0xe0d2ea)),this[_0x13a99f(0x131)]=new MarAgentManagedRunController(this[_0x13a99f(0x284)],{'active':this[_0x13a99f(0x1ae)][_0x13a99f(0x152)],'adopt':_0x361482=>this[_0x13a99f(0x2bd)][_0x13a99f(0x1ee)](_0x361482),'promote':(_0x153d87,_0x535561)=>this[_0x13a99f(0x240)][_0x13a99f(0x25b)](_0x153d87,_0x535561),'syncTitle':(_0x50ba16,_0x39d253)=>this[_0x13a99f(0x2ed)][_0x13a99f(0x2a9)](_0x50ba16,_0x50ba16,_0x39d253),'emit':(_0xe17fbd,_0x170351,_0x4b506a,_0xe7f180)=>this[_0x13a99f(0x1cc)][_0x13a99f(0x233)](_0xe17fbd,_0x170351,_0x4b506a,_0xe7f180),'emitItem':(_0x52184f,_0x1395aa)=>this[_0x13a99f(0x172)](_0x52184f,_0x1395aa),'refreshContext':_0x4c87dc=>{const _0x1a0cfa=_0x13a99f,_0x1d852a=this[_0x1a0cfa(0x2bd)][_0x1a0cfa(0x138)](_0x4c87dc)?.[_0x1a0cfa(0x243)];if(_0x1d852a!==undefined)this[_0x1a0cfa(0x18e)][_0x1a0cfa(0x1f3)](_0x1d852a);},'createApproval':_0x3fe756=>this[_0x13a99f(0x2bd)][_0x13a99f(0x2be)](_0x3fe756),'publishApproval':_0x5acd39=>this[_0x13a99f(0x1cc)][_0x13a99f(0x137)](_0x5acd39),'run':_0x3a587c=>this[_0x13a99f(0x2bd)][_0x13a99f(0x138)](_0x3a587c),'commandState':(_0x576114,_0x39edee)=>this[_0x13a99f(0x151)][_0x13a99f(0x1dd)](_0x576114,_0x39edee),'setCommandState':(_0xf7acc7,_0x372b25)=>this[_0x13a99f(0x151)][_0x13a99f(0x2ae)](_0xf7acc7,_0x372b25),'clearCommandState':(_0x52176c,_0x5ebede)=>this[_0x13a99f(0x151)][_0x13a99f(0x17a)](_0x52176c,_0x5ebede),'commandStates':_0x1c6a2a=>this[_0x13a99f(0x151)][_0x13a99f(0x252)](_0x1c6a2a),'webSearch':(_0xab093,_0x2bc250)=>this[_0x13a99f(0x1b5)](_0xab093,_0x2bc250),'registerGeneratedImages':(_0x13f505,_0x1197ab,_0x147959)=>{const _0x2d46b0=_0x13a99f,_0x346f1c=this[_0x2d46b0(0x2bd)][_0x2d46b0(0x23e)](_0x13f505),_0x449e98=_0x346f1c===undefined?undefined:this[_0x2d46b0(0x2bd)][_0x2d46b0(0x20f)](_0x346f1c[_0x2d46b0(0x243)]);return _0x449e98===undefined?[]:this[_0x2d46b0(0x284)][_0x2d46b0(0x231)](_0x449e98,_0x1197ab,_0x147959);}},{'modelFactory':this[_0x13a99f(0x179)]}),this[_0x13a99f(0x284)][_0x13a99f(0x20c)](_0x38779c=>this[_0x13a99f(0x131)][_0x13a99f(0x19f)](_0x38779c)),this[_0x13a99f(0x268)]=new OpenCodeManagedRunController(this[_0x13a99f(0x21e)],{'intercepted':()=>this[_0x13a99f(0x21c)]!==undefined,'active':this[_0x13a99f(0x1ae)][_0x13a99f(0x152)],'parseAttachments':parseRunnerImageAttachments,'persistAttachments':(_0x5e0ad6,_0xe6894,_0x3936a4)=>this[_0x13a99f(0x17f)][_0x13a99f(0x254)](_0x5e0ad6,_0xe6894+_0x13a99f(0x154),_0x3936a4),'emit':(_0x445960,_0xb4bef1,_0x4b8f32,_0x91134d)=>this[_0x13a99f(0x1cc)][_0x13a99f(0x233)](_0x445960,_0xb4bef1,_0x4b8f32,_0x91134d),'emitItem':(_0x10a433,_0x41f2c1)=>this[_0x13a99f(0x172)](_0x10a433,_0x41f2c1),'adopt':_0x14fb59=>this[_0x13a99f(0x2bd)][_0x13a99f(0x1ee)](_0x14fb59),'run':_0x5cfb10=>{const _0x18a2b2=_0x13a99f,_0x53d1a4=this[_0x18a2b2(0x2bd)][_0x18a2b2(0x138)](_0x5cfb10);if(_0x53d1a4===undefined)throw new Error(_0x18a2b2(0x12b));return _0x53d1a4;},'hasActiveSessionLease':_0x59f3d1=>this[_0x13a99f(0x2bd)][_0x13a99f(0x2d1)](_0x59f3d1),'promote':(_0x4b6bf8,_0x3d6454)=>this[_0x13a99f(0x240)][_0x13a99f(0x25b)](_0x4b6bf8,_0x3d6454),'rememberNative':(_0x18c66d,_0x570115)=>this[_0x13a99f(0x2ed)][_0x13a99f(0x219)](_0x18c66d,_0x570115),'send':(_0x3d709a,_0x2c81cc)=>this[_0x13a99f(0x2d9)](_0x3d709a,_0x2c81cc),'createApproval':_0x4bcf31=>this[_0x13a99f(0x2bd)][_0x13a99f(0x2be)](_0x4bcf31),'expireApproval':_0x5cfa23=>{const _0x16582c=_0x13a99f;this[_0x16582c(0x2bd)][_0x16582c(0x2e9)](_0x5cfa23);},'publishApproval':_0x1b7002=>this[_0x13a99f(0x1cc)][_0x13a99f(0x137)](_0x1b7002),'commandState':(_0x5843be,_0x315b0f)=>this[_0x13a99f(0x151)][_0x13a99f(0x1dd)](_0x5843be,_0x315b0f),'setCommandState':(_0x5e4a16,_0xfc9272)=>this[_0x13a99f(0x151)][_0x13a99f(0x2ae)](_0x5e4a16,_0xfc9272),'clearCommandState':(_0x1ba964,_0x10c412)=>this[_0x13a99f(0x151)][_0x13a99f(0x17a)](_0x1ba964,_0x10c412),'commandStates':_0x2ea597=>this[_0x13a99f(0x151)][_0x13a99f(0x252)](_0x2ea597)},this[_0x13a99f(0x2de)]),this[_0x13a99f(0x2df)]=new ClaudeManagedRunController(this[_0x13a99f(0x13e)],{'intercepted':()=>this[_0x13a99f(0x21c)]!==undefined,'active':this[_0x13a99f(0x1ae)][_0x13a99f(0x152)],'parseAttachments':parseRunnerImageAttachments,'emit':(_0x1c46eb,_0x257842,_0x1d671d,_0x3a52ab)=>this[_0x13a99f(0x1cc)][_0x13a99f(0x233)](_0x1c46eb,_0x257842,_0x1d671d,_0x3a52ab),'adopt':_0xad27da=>this[_0x13a99f(0x2bd)][_0x13a99f(0x1ee)](_0xad27da),'run':_0x32d63f=>this[_0x13a99f(0x2bd)][_0x13a99f(0x138)](_0x32d63f),'hasActiveSessionLease':_0x512a83=>this[_0x13a99f(0x2bd)][_0x13a99f(0x2d1)](_0x512a83),'session':_0x220af2=>this[_0x13a99f(0x2bd)][_0x13a99f(0x20f)](_0x220af2),'completeCancelled':_0x5abba3=>this[_0x13a99f(0x190)][_0x13a99f(0x214)](_0x5abba3),'requestUserInput':(_0x8073ce,_0x2bf072,_0x27ba69)=>this[_0x13a99f(0x190)][_0x13a99f(0x1ce)](_0x8073ce,_0x2bf072,_0x27ba69),'requestApproval':(_0x452b60,_0x270eb5,_0x36389d)=>this[_0x13a99f(0x190)][_0x13a99f(0x1da)](_0x452b60,_0x270eb5,_0x36389d),'rememberNative':(_0x153ebf,_0x137fe7)=>this[_0x13a99f(0x2ed)][_0x13a99f(0x219)](_0x153ebf,_0x137fe7),'promote':(_0x276f4d,_0x4712c7)=>this[_0x13a99f(0x240)][_0x13a99f(0x25b)](_0x276f4d,_0x4712c7),'send':(_0x5bcaef,_0x50dff6)=>this[_0x13a99f(0x2d9)](_0x5bcaef,_0x50dff6),'emitItem':(_0x16c446,_0x1ecc3c)=>this[_0x13a99f(0x172)](_0x16c446,_0x1ecc3c),'syncTitle':(_0x12a838,_0x802628,_0x400f98)=>this[_0x13a99f(0x2ed)][_0x13a99f(0x2a9)](_0x12a838,_0x802628,_0x400f98),'setChannelToken':(_0x3dc066,_0x40a9c1)=>this[_0x13a99f(0x2bd)][_0x13a99f(0x1d7)](_0x3dc066,_0x40a9c1),'commandState':(_0x2cf4f4,_0x2d3dce)=>this[_0x13a99f(0x151)][_0x13a99f(0x1dd)](_0x2cf4f4,_0x2d3dce),'setCommandState':(_0x207ed9,_0x585c81)=>this[_0x13a99f(0x151)][_0x13a99f(0x2ae)](_0x207ed9,_0x585c81),'clearCommandState':(_0xd9e759,_0xd803e9)=>this[_0x13a99f(0x151)][_0x13a99f(0x17a)](_0xd9e759,_0xd803e9),'commandStates':_0x279dac=>this[_0x13a99f(0x151)][_0x13a99f(0x252)](_0x279dac)}),this[_0x13a99f(0x1ba)]=new RunnerRegistry([this[_0x13a99f(0x21e)],this[_0x13a99f(0x284)],this[_0x13a99f(0x291)],this[_0x13a99f(0x13e)],...this[_0x13a99f(0x21c)]===undefined?[]:[this[_0x13a99f(0x21c)]]]),this[_0x13a99f(0x2ed)]=new ManagedRunnerSessionService(this[_0x13a99f(0x2bd)],this[_0x13a99f(0x1ba)],_0x527488=>this[_0x13a99f(0x25c)]({'session':this[_0x13a99f(0x242)][_0x13a99f(0x278)](_0x527488)})),this[_0x13a99f(0x190)]=new RunnerInteractionService({'runtime':this[_0x13a99f(0x2bd)],'state':this[_0x13a99f(0x1ae)],'codex':()=>this[_0x13a99f(0x291)],'claude':()=>this[_0x13a99f(0x13e)],'runners':this[_0x13a99f(0x1ba)],'emitRun':(_0x2a2e28,_0xc47cbf,_0xaf3409,_0x4cbb57)=>this[_0x13a99f(0x1cc)][_0x13a99f(0x233)](_0x2a2e28,_0xc47cbf,_0xaf3409,_0x4cbb57),'emitItem':(_0x532808,_0x35d679)=>this[_0x13a99f(0x172)](_0x532808,_0x35d679),'approvalTimeoutMs':this[_0x13a99f(0x2de)],'publishApproval':_0x5c0a4c=>this[_0x13a99f(0x1cc)][_0x13a99f(0x137)](_0x5c0a4c)}),this[_0x13a99f(0x25f)]=new RunnerChannelMessageService({'interactions':this[_0x13a99f(0x190)],'send':(_0x147e85,_0x18af9c,_0x5948ce)=>this[_0x13a99f(0x2d9)](_0x147e85,_0x18af9c,_0x5948ce)}),this[_0x13a99f(0x242)]=new SessionPresentationService({'database':()=>this[_0x13a99f(0x185)],'runtime':this[_0x13a99f(0x2bd)],'commands':this[_0x13a99f(0x151)],'runners':this[_0x13a99f(0x1ba)],'capabilities':()=>this[_0x13a99f(0x21b)],'hasManagedActiveRun':_0x460ab5=>hasManagedActiveRun(this[_0x13a99f(0x2bd)],_0x460ab5),'externalActivity':_0x8e597=>this[_0x13a99f(0x295)][_0x13a99f(0x2c9)][_0x13a99f(0x1dd)](_0x8e597),'projectionForNative':_0x24fea3=>this[_0x13a99f(0x1bb)][_0x13a99f(0x1dc)](_0x24fea3)}),this[_0x13a99f(0x1bb)]=new NativeSessionProjectionService({'database':()=>this[_0x13a99f(0x185)],'nodeId':()=>this[_0x13a99f(0x1e7)]?.[_0x13a99f(0x25e)]??_0x13a99f(0x28f),'runtime':this[_0x13a99f(0x2bd)],'runners':this[_0x13a99f(0x1ba)],'capabilities':()=>this[_0x13a99f(0x21b)],'state':this[_0x13a99f(0x295)],'commands':this[_0x13a99f(0x151)],'present':_0xed7b69=>this[_0x13a99f(0x242)][_0x13a99f(0x278)](_0xed7b69)}),this[_0x13a99f(0x1d8)]=new ConversationHistoryService({'runtime':this[_0x13a99f(0x2bd)],'runners':this[_0x13a99f(0x1ba)],'capabilities':()=>this[_0x13a99f(0x21b)],'attachments':this[_0x13a99f(0x17f)],'snapshotSequence':()=>this[_0x13a99f(0x2f2)][_0x13a99f(0x2a3)](),'hasManagedActiveRun':_0x19a2d5=>hasManagedActiveRun(this[_0x13a99f(0x2bd)],_0x19a2d5),'setExternalActivity':(_0x24018c,_0x546244)=>this[_0x13a99f(0x295)][_0x13a99f(0x2c9)][_0x13a99f(0x2ae)](_0x24018c,_0x546244)}),this[_0x13a99f(0x187)]=new ConversationSegmentService((_0x3fa809,_0xbd6c1e)=>this[_0x13a99f(0x1d8)][_0x13a99f(0x16e)](_0x3fa809,_0xbd6c1e)),this[_0x13a99f(0x18e)]=new SessionContextService({'runners':this[_0x13a99f(0x1ba)],'session':_0x8a5ff6=>this[_0x13a99f(0x2bd)][_0x13a99f(0x20f)](_0x8a5ff6),'stopped':()=>this[_0x13a99f(0x1a0)],'publish':_0x35e331=>this[_0x13a99f(0x25c)](_0x35e331)}),this[_0x13a99f(0x2ec)]=new RunWorkbenchService({'runtime':this[_0x13a99f(0x2bd)],'readImage':async(_0xfd3715,_0x53063f)=>this[_0x13a99f(0x17f)][_0x13a99f(0x16e)](_0xfd3715,_0x53063f)??await this[_0x13a99f(0x17f)][_0x13a99f(0x2fe)](_0xfd3715,_0x53063f),'respondUserInput':(_0x17f992,_0x1add63,_0x1a93a5)=>this[_0x13a99f(0x190)][_0x13a99f(0x13c)](_0x17f992,_0x1add63,_0x1a93a5),'pauseQueue':_0xd94d8b=>this[_0x13a99f(0x153)][_0x13a99f(0x23d)](_0xd94d8b),'emitRun':(_0x42b0a3,_0x1548ab,_0x5564a1,_0x104149)=>this[_0x13a99f(0x1cc)][_0x13a99f(0x233)](_0x42b0a3,_0x1548ab,_0x5564a1,_0x104149),'control':(_0x37027f,_0x8bcc4)=>this[_0x13a99f(0x134)][_0x13a99f(0x1a2)](JSON[_0x13a99f(0x1ad)](createEnvelope(_0x37027f,_0x8bcc4))),'markInterrupted':_0xa8dc3=>this[_0x13a99f(0x1ae)][_0x13a99f(0x171)][_0x13a99f(0x204)](_0xa8dc3)}),this[_0x13a99f(0x27f)]=new SessionQueryService({'runtime':this[_0x13a99f(0x2bd)],'runners':this[_0x13a99f(0x1ba)],'resolve':_0x5c9346=>this[_0x13a99f(0x1bb)][_0x13a99f(0x14d)](_0x5c9346),'present':_0x571e3e=>this[_0x13a99f(0x242)][_0x13a99f(0x278)](_0x571e3e),'history':(_0x2beef9,_0x59e847)=>this[_0x13a99f(0x1d8)][_0x13a99f(0x16e)](_0x2beef9,_0x59e847),'segments':(_0x5d0212,_0x5f1c67)=>this[_0x13a99f(0x187)][_0x13a99f(0x16e)](_0x5d0212,_0x5f1c67),'context':this[_0x13a99f(0x18e)],'discover':(_0x30c03c,_0x27980f)=>this[_0x13a99f(0x1bb)][_0x13a99f(0x2b0)](_0x30c03c,_0x27980f),'workspaceIdForCwd':_0x55eb5c=>this[_0x13a99f(0x185)]?.[_0x13a99f(0x2ef)]()[_0x13a99f(0x1f9)](_0x57c5bb=>_0x57c5bb[_0x13a99f(0x225)]===_0x55eb5c)?.['id']}),this[_0x13a99f(0x26d)]=new ContinuousRunCoordinator({'runtime':this[_0x13a99f(0x2bd)],'emitQueue':(_0x1c285f,_0x133032)=>this[_0x13a99f(0x1cc)][_0x13a99f(0x2f8)](_0x1c285f,_0x133032),'clearImages':_0x3b9d8e=>this[_0x13a99f(0x17f)][_0x13a99f(0x17a)](_0x3b9d8e),'cleanupAttachments':_0x1fbd69=>this[_0x13a99f(0x17f)][_0x13a99f(0x26e)](_0x1fbd69),'migrateAssets':(_0x357bfd,_0x49853a)=>this[_0x13a99f(0x17f)][_0x13a99f(0x1d6)](_0x357bfd,_0x49853a),'emitRun':(_0x1133d8,_0x1f9a25,_0x2f6c35,_0x5df3a6)=>this[_0x13a99f(0x1cc)][_0x13a99f(0x233)](_0x1133d8,_0x1f9a25,_0x2f6c35,_0x5df3a6),'emitConversation':_0x4ee9ee=>this[_0x13a99f(0x22a)](_0x4ee9ee),'control':(_0x5792be,_0x3ce341)=>this[_0x13a99f(0x134)][_0x13a99f(0x1a2)](JSON[_0x13a99f(0x1ad)](createEnvelope(_0x5792be,_0x3ce341))),'stopped':()=>this[_0x13a99f(0x1a0)],'markInterrupted':_0x53c011=>this[_0x13a99f(0x1ae)][_0x13a99f(0x171)][_0x13a99f(0x204)](_0x53c011),'mcps':_0x34efa8=>this[_0x13a99f(0x185)]?.[_0x13a99f(0x1d1)](_0x34efa8)??[],'afterExecutionStarted':async _0x196fa1=>{const _0x46e0e4=_0x13a99f;if(_0x196fa1[_0x46e0e4(0x223)]===undefined)return;const _0x248b65=this[_0x46e0e4(0x1be)][_0x46e0e4(0x1dd)](_0x196fa1[_0x46e0e4(0x243)]);if(_0x248b65?.[_0x46e0e4(0x17c)]!==_0x46e0e4(0x152)||_0x248b65['id']!==_0x196fa1[_0x46e0e4(0x223)]['id']||_0x248b65[_0x46e0e4(0x22c)]!==_0x196fa1[_0x46e0e4(0x223)][_0x46e0e4(0x22c)])return;const _0x2c17de=this[_0x46e0e4(0x1be)][_0x46e0e4(0x178)](_0x196fa1[_0x46e0e4(0x243)]),_0x3d9bd7=this[_0x46e0e4(0x2bd)][_0x46e0e4(0x20f)](_0x196fa1[_0x46e0e4(0x243)]);if(_0x2c17de!==undefined&&_0x3d9bd7!==undefined)this[_0x46e0e4(0x235)](_0x3d9bd7,_0x2c17de);await this[_0x46e0e4(0x18d)]({'sessionId':_0x196fa1[_0x46e0e4(0x243)],'mission':{'id':_0x248b65['id'],'revision':_0x248b65[_0x46e0e4(0x22c)]},'secretEnvironment':_0x196fa1[_0x46e0e4(0x158)],..._0x196fa1[_0x46e0e4(0x21f)]===undefined?{}:{'personalInstructions':_0x196fa1[_0x46e0e4(0x21f)]},..._0x196fa1[_0x46e0e4(0x1ed)]===undefined?{}:{'marAgentModel':_0x196fa1[_0x46e0e4(0x1ed)]},..._0x196fa1[_0x46e0e4(0x2fd)]===undefined?{}:{'marAgentModels':_0x196fa1[_0x46e0e4(0x2fd)]},..._0x196fa1[_0x46e0e4(0x30b)]===undefined?{}:{'marAgentRuntimeScopeId':_0x196fa1[_0x46e0e4(0x30b)]}});},'missionMcp':async _0x4018ad=>{const _0x18a9fc=_0x13a99f;if(_0x4018ad[_0x18a9fc(0x223)]===undefined)throw new Error(_0x18a9fc(0x251));const _0x5a3d39=await this[_0x18a9fc(0x201)][_0x18a9fc(0x155)]({'executionId':_0x4018ad[_0x18a9fc(0x2b6)],'sessionId':_0x4018ad[_0x18a9fc(0x243)],'missionId':_0x4018ad[_0x18a9fc(0x223)]['id'],'revision':_0x4018ad[_0x18a9fc(0x223)][_0x18a9fc(0x22c)]});return{'installation':{'targetKind':_0x18a9fc(0x2bb),'targetId':_0x4018ad[_0x18a9fc(0x274)],'catalogEntryId':_0x18a9fc(0x181),'serverName':_0x18a9fc(0x1b9),'displayName':_0x18a9fc(0x28a),'version':_0x18a9fc(0x261),'enabled':!![],'runtime':{'transport':_0x18a9fc(0x140),'url':_0x18a9fc(0x188),'headers':{}},'configuration':_0x5a3d39[_0x18a9fc(0x155)],'installedAt':Date[_0x18a9fc(0x1e5)](),..._0x5a3d39[_0x18a9fc(0x155)]},'secrets':_0x5a3d39[_0x18a9fc(0x12a)]};}}),this[_0x13a99f(0x153)]=new WorkspaceQueueWorkbenchService({'runtime':this[_0x13a99f(0x2bd)],'coordinator':this[_0x13a99f(0x26d)],'emit':(_0x31ee36,_0x459388)=>this[_0x13a99f(0x1cc)][_0x13a99f(0x2f8)](_0x31ee36,_0x459388),'prepareInput':(_0x32abd7,_0x577c68,_0x5b7472)=>this[_0x13a99f(0x1ba)][_0x13a99f(0x1b8)](_0x32abd7)[_0x13a99f(0x221)](_0x577c68,_0x5b7472)}),this[_0x13a99f(0x240)]=new SessionIdentityService({'runtime':this[_0x13a99f(0x2bd)],'persist':(_0x523dac,_0x592b4b)=>{const _0x19f045=_0x13a99f;if(_0x523dac[_0x19f045(0x2d2)]===null||_0x523dac[_0x19f045(0x2e7)]===null||_0x523dac[_0x19f045(0x245)]===null)return;this[_0x19f045(0x185)]?.[_0x19f045(0x159)]({'runner':_0x523dac[_0x19f045(0x1fe)],'externalSessionId':_0x592b4b,'workspaceId':_0x523dac[_0x19f045(0x274)],'model':_0x523dac[_0x19f045(0x2d2)],'effort':_0x523dac[_0x19f045(0x2e7)],'access':_0x523dac[_0x19f045(0x245)]});},'migrateCommands':(_0x28a119,_0x288661)=>this[_0x13a99f(0x151)][_0x13a99f(0x2d7)](_0x28a119,_0x288661),'migrateMission':(_0xc8cb95,_0x30b6b2)=>{const _0xde529c=_0x13a99f;this[_0xde529c(0x1be)][_0xde529c(0x167)](_0xc8cb95,_0x30b6b2),this[_0xde529c(0x201)][_0xde529c(0x167)](_0xc8cb95,_0x30b6b2);const _0x4852ed=this[_0xde529c(0x2cb)][_0xde529c(0x1dd)](_0xc8cb95);_0x4852ed!==undefined&&(this[_0xde529c(0x2cb)][_0xde529c(0x168)](_0xc8cb95),_0x4852ed[_0xde529c(0x243)]=_0x30b6b2,this[_0xde529c(0x2cb)][_0xde529c(0x2ae)](_0x30b6b2,_0x4852ed));const _0x20d2d5=this[_0xde529c(0x15f)][_0xde529c(0x1dd)](_0xc8cb95);_0x20d2d5!==undefined&&(this[_0xde529c(0x15f)][_0xde529c(0x168)](_0xc8cb95),this[_0xde529c(0x15f)][_0xde529c(0x2ae)](_0x30b6b2,_0x20d2d5));},'migrateQueue':(_0x1f3728,_0x4f1719)=>this[_0x13a99f(0x26d)][_0x13a99f(0x167)](_0x1f3728,_0x4f1719),'migrateRunnerState':(_0x4b299c,_0x480bc7)=>this[_0x13a99f(0x1cc)][_0x13a99f(0x1ef)](_0x4b299c,_0x480bc7),'emitSession':_0x349cfe=>this[_0x13a99f(0x25c)]({'session':_0x349cfe}),'emitRun':_0x3ce9e9=>this[_0x13a99f(0x2a7)](_0x13a99f(0x1df),{'run':_0x3ce9e9}),'emitQueue':_0x1b2c5c=>this[_0x13a99f(0x26d)][_0x13a99f(0x264)](_0x1b2c5c),'emitTurn':_0x59704a=>this[_0x13a99f(0x22a)](_0x59704a)}),this[_0x13a99f(0x1c9)]=new SessionLifecycleService({'database':()=>{const _0x1c4452=_0x13a99f;if(this[_0x1c4452(0x185)]===undefined)throw new Error(_0x1c4452(0x14e));return this[_0x1c4452(0x185)];},'runtime':this[_0x13a99f(0x2bd)],'runners':this[_0x13a99f(0x1ba)],'projection':this[_0x13a99f(0x1bb)],'identity':this[_0x13a99f(0x240)],'present':_0x2c0f00=>this[_0x13a99f(0x242)][_0x13a99f(0x278)](_0x2c0f00),'emitSession':_0xa5bd32=>this[_0x13a99f(0x25c)]({'session':this[_0x13a99f(0x242)][_0x13a99f(0x278)](_0xa5bd32)}),'execute':(_0xc7cbf0,_0x3bf835)=>this[_0x13a99f(0x281)](_0xc7cbf0,_0x3bf835),'interceptedSessionId':_0x558d12=>this[_0x13a99f(0x21c)]===undefined?undefined:_0x13a99f(0x228)+_0x558d12}),this[_0x13a99f(0x1f2)]=new ExternalSessionResumeService({'runtime':this[_0x13a99f(0x2bd)],'runners':this[_0x13a99f(0x1ba)],'state':this[_0x13a99f(0x295)],'available':_0x3df02e=>this[_0x13a99f(0x1ba)][_0x13a99f(0x1b8)](_0x3df02e)[_0x13a99f(0x14c)](this[_0x13a99f(0x21b)]),'projectionFor':_0x1227de=>this[_0x13a99f(0x1bb)][_0x13a99f(0x1dc)](_0x1227de),'managedAliasFor':_0x4d8f03=>this[_0x13a99f(0x1bb)][_0x13a99f(0x2f7)](_0x4d8f03),'ensureConfiguration':_0xa6ea9a=>this[_0x13a99f(0x1bb)][_0x13a99f(0x267)](_0xa6ea9a),'configuration':_0x1db806=>this[_0x13a99f(0x1bb)][_0x13a99f(0x297)](_0x1db806),'workspacePath':_0x19ea46=>this[_0x13a99f(0x185)]?.[_0x13a99f(0x2cf)](_0x19ea46)?.[_0x13a99f(0x225)],'rememberNative':(_0x553287,_0xa76b6a)=>this[_0x13a99f(0x2ed)][_0x13a99f(0x219)](_0x553287,_0xa76b6a),'stage':_0x58f458=>{const _0x219b0c=_0x13a99f,_0x5a1da0=this[_0x219b0c(0x1bb)][_0x219b0c(0x297)](_0x58f458);return this[_0x219b0c(0x2bd)][_0x219b0c(0x1ff)]({'workspaceId':_0x58f458[_0x219b0c(0x274)],'runner':_0x58f458[_0x219b0c(0x1fe)],'externalSessionId':_0x58f458[_0x219b0c(0x2e8)]??_0x58f458['id'],'nativeControl':_0x219b0c(0x279),'cwd':_0x58f458[_0x219b0c(0x28c)],'model':_0x5a1da0[_0x219b0c(0x2d2)],'effort':_0x5a1da0[_0x219b0c(0x2e7)],'access':_0x5a1da0[_0x219b0c(0x245)],..._0x58f458[_0x219b0c(0x1fa)]===null?{}:{'title':_0x58f458[_0x219b0c(0x1fa)]},..._0x58f458[_0x219b0c(0x2b5)]===null?{}:{'customTitle':_0x58f458[_0x219b0c(0x2b5)]}});},'resolve':_0xd0920c=>this[_0x13a99f(0x1bb)][_0x13a99f(0x14d)](_0xd0920c)}),this[_0x13a99f(0x1c7)]=new SessionCommandService({'runtime':this[_0x13a99f(0x2bd)],'runners':this[_0x13a99f(0x1ba)],'projection':this[_0x13a99f(0x1bb)],'resume':this[_0x13a99f(0x1f2)],'profiles':()=>this[_0x13a99f(0x2b3)][_0x13a99f(0x192)](),'present':_0x2f576f=>this[_0x13a99f(0x242)][_0x13a99f(0x278)](_0x2f576f),'resumeQueueAfterCommandRun':_0x43ed2a=>this[_0x13a99f(0x153)][_0x13a99f(0x255)](_0x43ed2a),'beginMission':_0xbd4437=>{const _0x5efb39=_0x13a99f,_0x12e192=this[_0x5efb39(0x151)][_0x5efb39(0x1dd)](_0xbd4437['id'],_0x5efb39(0x223));if(_0x12e192?.[_0x5efb39(0x152)]===!![])return{'session':this[_0x5efb39(0x242)][_0x5efb39(0x278)](_0xbd4437),'missionAlreadyActive':!![]};_0x12e192!==undefined&&(this[_0x5efb39(0x1be)][_0x5efb39(0x17a)](_0xbd4437['id']),this[_0x5efb39(0x151)][_0x5efb39(0x17a)](_0xbd4437['id'],_0x5efb39(0x223)));const _0x5594ca=this[_0x5efb39(0x2bf)](_0xbd4437);return this[_0x5efb39(0x26d)][_0x5efb39(0x259)](_0xbd4437['id']),this[_0x5efb39(0x151)][_0x5efb39(0x2ae)](_0xbd4437['id'],this[_0x5efb39(0x127)]()),this[_0x5efb39(0x2a7)](_0x5efb39(0x1cb),{'session':this[_0x5efb39(0x242)][_0x5efb39(0x278)](_0x5594ca[_0x5efb39(0x1cb)])}),{'session':this[_0x5efb39(0x242)][_0x5efb39(0x278)](_0x5594ca[_0x5efb39(0x1cb)]),'missionAccessChanged':_0x5594ca[_0x5efb39(0x148)]};},'mission':async({session:_0x3dbb27,objective:_0x235c24,secretEnvironment:_0x5698cc,personalInstructions:_0x590bc1,marAgentModel:_0x78eafb,marAgentModels:_0xed15fe,marAgentRuntimeScopeId:_0x577b35})=>{const _0x4d684a=_0x13a99f;this[_0x4d684a(0x196)](_0x3dbb27['id']);const _0x563e01=this[_0x4d684a(0x2bf)](_0x3dbb27),_0x1eed4e=_0x563e01[_0x4d684a(0x1cb)],_0x149730=this[_0x4d684a(0x1be)][_0x4d684a(0x1dd)](_0x3dbb27['id'])?.[_0x4d684a(0x17c)]===_0x4d684a(0x152);this[_0x4d684a(0x26d)][_0x4d684a(0x263)](_0x3dbb27['id']);const _0x22208f=this[_0x4d684a(0x1be)][_0x4d684a(0x165)](_0x3dbb27['id'],_0x235c24);this[_0x4d684a(0x235)](_0x1eed4e,_0x22208f);const _0x43c4a8=await this[_0x4d684a(0x2ba)][_0x4d684a(0x205)]({'sessionId':_0x3dbb27['id'],'kind':_0x4d684a(0x165),'content':this[_0x4d684a(0x1be)][_0x4d684a(0x1a6)](_0x3dbb27['id'],_0x4d684a(0x165)),'deliveryIntent':_0x149730?_0x4d684a(0x1e4):_0x4d684a(0x1d3),'mission':{'id':_0x22208f['id'],'revision':_0x22208f[_0x4d684a(0x22c)]},'secretEnvironment':_0x5698cc,..._0x590bc1===undefined?{}:{'personalInstructions':_0x590bc1},..._0x78eafb===undefined?{}:{'marAgentModel':_0x78eafb},..._0xed15fe===undefined?{}:{'marAgentModels':_0xed15fe},..._0x577b35===undefined?{}:{'marAgentRuntimeScopeId':_0x577b35}});return{...isPlainRecord(_0x43c4a8)?_0x43c4a8:{'result':_0x43c4a8},'missionAccessChanged':_0x563e01[_0x4d684a(0x148)]};},'clearMission':_0x62eb1a=>{const _0x3ba50d=_0x13a99f;return this[_0x3ba50d(0x196)](_0x62eb1a['id']),this[_0x3ba50d(0x1be)][_0x3ba50d(0x17a)](_0x62eb1a['id']),this[_0x3ba50d(0x26d)][_0x3ba50d(0x263)](_0x62eb1a['id']),this[_0x3ba50d(0x150)](_0x62eb1a['id'],_0x3ba50d(0x300)),this[_0x3ba50d(0x151)][_0x3ba50d(0x17a)](_0x62eb1a['id'],_0x3ba50d(0x223)),this[_0x3ba50d(0x2a7)](_0x3ba50d(0x1cb),{'session':this[_0x3ba50d(0x242)][_0x3ba50d(0x278)](_0x62eb1a)}),{'session':this[_0x3ba50d(0x242)][_0x3ba50d(0x278)](_0x62eb1a),'cleared':!![]};}}),this[_0x13a99f(0x2ba)]=new SessionMessageService({'runtime':this[_0x13a99f(0x2bd)],'uploads':this[_0x13a99f(0x306)],'attachments':this[_0x13a99f(0x17f)],'commands':this[_0x13a99f(0x151)],'coordinator':this[_0x13a99f(0x26d)],'runners':this[_0x13a99f(0x1ba)],'resolve':_0x5f2764=>this[_0x13a99f(0x1f2)][_0x13a99f(0x197)](_0x5f2764),'present':_0xaf1743=>this[_0x13a99f(0x242)][_0x13a99f(0x278)](_0xaf1743),'emitSession':_0x4a4e6a=>this[_0x13a99f(0x25c)]({'session':this[_0x13a99f(0x242)][_0x13a99f(0x278)](_0x4a4e6a)}),'channelToken':_0x4d39a7=>{const _0x50d447=_0x13a99f,_0x3b8946=this[_0x50d447(0x2bd)][_0x50d447(0x20f)](_0x4d39a7);return _0x3b8946?.[_0x50d447(0x282)]??undefined;},'missionMessage':(_0x4abe2c,_0x174b5f)=>{const _0x105e47=_0x13a99f,_0x206afd=this[_0x105e47(0x151)][_0x105e47(0x1dd)](_0x4abe2c['id'],_0x105e47(0x223));if(_0x206afd?.[_0x105e47(0x152)]!==!![])return undefined;const _0x2601fc=this[_0x105e47(0x1be)][_0x105e47(0x1dd)](_0x4abe2c['id']);if(_0x2601fc?.[_0x105e47(0x17c)]===_0x105e47(0x152))return{'runnerContent':_0x174b5f,'mission':{'id':_0x2601fc['id'],'revision':_0x2601fc[_0x105e47(0x22c)]},'activated':![]};const _0x517491=this[_0x105e47(0x1be)][_0x105e47(0x165)](_0x4abe2c['id'],_0x174b5f);return this[_0x105e47(0x235)](_0x4abe2c,_0x517491),{'runnerContent':this[_0x105e47(0x1be)][_0x105e47(0x1a6)](_0x4abe2c['id'],_0x105e47(0x165)),'mission':{'id':_0x517491['id'],'revision':_0x517491[_0x105e47(0x22c)]},'activated':!![]};},'prepareMissionInsertion':(_0x5032d3,_0x4b8d7)=>this[_0x13a99f(0x26d)][_0x13a99f(0x259)](_0x5032d3,_0x4b8d7),'missionPreparationFailed':(_0x5033fe,_0x5569e7,_0x146ff2)=>{const _0x110326=_0x13a99f;if(!_0x146ff2)return;const _0x116105=this[_0x110326(0x1be)][_0x110326(0x1dd)](_0x5033fe['id']);if(_0x116105?.['id']!==_0x5569e7['id']||_0x116105[_0x110326(0x22c)]!==_0x5569e7[_0x110326(0x22c)])return;this[_0x110326(0x1be)][_0x110326(0x17a)](_0x5033fe['id']),this[_0x110326(0x150)](_0x5033fe['id'],_0x110326(0x2a5)),this[_0x110326(0x151)][_0x110326(0x2ae)](_0x5033fe['id'],this[_0x110326(0x127)]()),this[_0x110326(0x2a7)](_0x110326(0x1cb),{'session':this[_0x110326(0x242)][_0x110326(0x278)](_0x5033fe)});}}),this[_0x13a99f(0x309)]=new SessionCatalogService({'database':()=>{const _0x142cc4=_0x13a99f;if(this[_0x142cc4(0x185)]===undefined)throw new Error(_0x142cc4(0x14e));return this[_0x142cc4(0x185)];},'nodeId':()=>this[_0x13a99f(0x1e7)]?.[_0x13a99f(0x25e)]??_0x13a99f(0x28f),'runtime':this[_0x13a99f(0x2bd)],'runners':this[_0x13a99f(0x1ba)],'projection':this[_0x13a99f(0x1bb)],'resume':this[_0x13a99f(0x1f2)],'cachedNative':()=>[...this[_0x13a99f(0x295)][_0x13a99f(0x14f)][_0x13a99f(0x1db)]()],'cachedWorkspace':_0x57e640=>this[_0x13a99f(0x244)][_0x13a99f(0x2bc)](_0x57e640),'discoverWorkspace':_0x360aef=>this[_0x13a99f(0x1bb)][_0x13a99f(0x203)](_0x360aef),'present':_0x278581=>this[_0x13a99f(0x242)][_0x13a99f(0x278)](_0x278581),'projectionForNative':_0x48f8b9=>this[_0x13a99f(0x1bb)][_0x13a99f(0x1dc)](_0x48f8b9),'nativeIds':_0x57b581=>this[_0x13a99f(0x1bb)][_0x13a99f(0x173)](_0x57b581),'forget':(_0x46be4c,_0x23751f)=>this[_0x13a99f(0x1bb)][_0x13a99f(0x2b2)](_0x46be4c,_0x23751f),'refreshActivity':_0xe48506=>this[_0x13a99f(0x1d8)][_0x13a99f(0x2e1)](_0xe48506),'externalActivity':_0x45aedf=>this[_0x13a99f(0x295)][_0x13a99f(0x2c9)][_0x13a99f(0x1dd)](_0x45aedf),'isWatching':_0x383350=>this[_0x13a99f(0x30a)][_0x13a99f(0x20e)](_0x383350),'history':(_0x3b0b31,_0x15cf39)=>this[_0x13a99f(0x1d8)][_0x13a99f(0x16e)](_0x3b0b31,_0x15cf39),'invalidateHistory':_0xc26dd=>this[_0x13a99f(0x30a)][_0x13a99f(0x2f6)](_0xc26dd),'invalidateWorkspaceSessions':_0x558cb2=>{const _0x5785af=_0x13a99f;this[_0x5785af(0x1c0)][_0x5785af(0x169)](_0x558cb2),void this[_0x5785af(0x26b)]?.[_0x5785af(0x1d5)](_0x558cb2,_0x5785af(0x2b1));},'emitSession':_0x4f8358=>this[_0x13a99f(0x25c)]({'session':this[_0x13a99f(0x242)][_0x13a99f(0x278)](_0x4f8358)})}),this[_0x13a99f(0x291)][_0x13a99f(0x276)]({'start':_0x5924c1=>this[_0x13a99f(0x13b)][_0x13a99f(0x165)](_0x5924c1),'cancel':(_0x259a1c,_0x230f6e)=>{const _0x4d6889=_0x13a99f,_0x6ec674=this[_0x4d6889(0x291)][_0x4d6889(0x29a)][_0x4d6889(0x16f)][_0x4d6889(0x1dd)](_0x259a1c);if(_0x6ec674?.[_0x4d6889(0x2a8)]===undefined)return![];return void this[_0x4d6889(0x190)][_0x4d6889(0x2c8)](_0x259a1c,_0x6ec674[_0x4d6889(0x186)],_0x6ec674[_0x4d6889(0x2a8)],_0x6ec674[_0x4d6889(0x28c)],_0x230f6e===_0x4d6889(0x16b)?_0x4d6889(0x13f):_0x4d6889(0x2b4)),!![];},'decideApproval':_0x5dee91=>this[_0x13a99f(0x190)][_0x13a99f(0x184)](_0x5dee91[_0x13a99f(0x135)],_0x5dee91[_0x13a99f(0x210)])}),this[_0x13a99f(0x13e)][_0x13a99f(0x276)]({'start':_0x2540a0=>this[_0x13a99f(0x2df)][_0x13a99f(0x165)](_0x2540a0),'cancel':(_0x49cd15,_0x4a3b25)=>this[_0x13a99f(0x190)][_0x13a99f(0x1ca)](_0x49cd15,_0x4a3b25),'decideApproval':_0x300412=>this[_0x13a99f(0x190)][_0x13a99f(0x15b)](_0x300412[_0x13a99f(0x135)],_0x300412[_0x13a99f(0x210)])}),this[_0x13a99f(0x21e)][_0x13a99f(0x276)]({'start':_0x571e6c=>this[_0x13a99f(0x268)][_0x13a99f(0x165)](_0x571e6c),'cancel':(_0x22671f,_0x43baa7)=>this[_0x13a99f(0x268)][_0x13a99f(0x2b8)](_0x22671f,_0x43baa7),'decideApproval':_0x27201e=>this[_0x13a99f(0x268)][_0x13a99f(0x182)](_0x27201e),'respondUserInput':(_0x2f89d1,_0x3121a0,_0x3e6dd0)=>this[_0x13a99f(0x268)][_0x13a99f(0x13c)](_0x2f89d1,_0x3121a0,_0x3e6dd0)}),this[_0x13a99f(0x284)][_0x13a99f(0x276)]({'start':_0x318d26=>this[_0x13a99f(0x131)][_0x13a99f(0x165)](_0x318d26),'cancel':(_0x426c6b,_0x4b63e3)=>this[_0x13a99f(0x131)][_0x13a99f(0x2b8)](_0x426c6b,_0x4b63e3),'decideApproval':_0x284c0e=>this[_0x13a99f(0x131)][_0x13a99f(0x182)](_0x284c0e),'respondUserInput':(_0x2504b1,_0x4b2ccd,_0x2ccb00)=>this[_0x13a99f(0x131)][_0x13a99f(0x13c)](_0x2504b1,_0x4b2ccd,_0x2ccb00)}),this[_0x13a99f(0x291)][_0x13a99f(0x29d)]({'execute':(_0xde5c78,_0x15e563,_0x4a1dd3,_0x55d196)=>this[_0x13a99f(0x13b)][_0x13a99f(0x27d)](_0xde5c78,_0x15e563,_0x4a1dd3,_0x55d196)}),this[_0x13a99f(0x13e)][_0x13a99f(0x29d)]({'execute':(_0x4619b5,_0x52f48f,_0x21f077,_0xa8e514)=>this[_0x13a99f(0x2df)][_0x13a99f(0x27d)](_0x4619b5,_0x52f48f,_0x21f077,_0xa8e514)}),this[_0x13a99f(0x21e)][_0x13a99f(0x29d)]({'execute':(_0x2157e6,_0x1d77fc,_0x31502f,_0x3c0775)=>this[_0x13a99f(0x268)][_0x13a99f(0x27d)](_0x2157e6,_0x1d77fc,_0x3c0775)}),this[_0x13a99f(0x284)][_0x13a99f(0x29d)]({'execute':(_0x37916b,_0x3fdc8c,_0x5d32e7,_0xd01e08)=>this[_0x13a99f(0x131)][_0x13a99f(0x27d)](_0x37916b,_0x3fdc8c,_0x5d32e7,_0xd01e08)});const _0x2f1b69=this[_0x13a99f(0x21c)]===undefined||this[_0x13a99f(0x1e1)]===undefined?undefined:new FakeManagedRunService({'runner':this[_0x13a99f(0x21c)],'script':this[_0x13a99f(0x1e1)],'runners':this[_0x13a99f(0x1ba)],'runtime':this[_0x13a99f(0x2bd)],'state':this[_0x13a99f(0x1ae)],'emitRun':(_0x5a6b83,_0x52f680,_0x68639e,_0x1f4b39)=>this[_0x13a99f(0x1cc)][_0x13a99f(0x233)](_0x5a6b83,_0x52f680,_0x68639e,_0x1f4b39),'publishApproval':_0xa0a56e=>this[_0x13a99f(0x1cc)][_0x13a99f(0x137)](_0xa0a56e),'disconnect':()=>this[_0x13a99f(0x12f)][_0x13a99f(0x206)](0x2409+-0x1*0x21+-0x143e,_0x13a99f(0x13d))});this[_0x13a99f(0x21c)]?.[_0x13a99f(0x276)]({'start':_0x4cb4b2=>_0x2f1b69?.[_0x13a99f(0x165)](_0x4cb4b2),'cancel':(_0x283b67,_0x435884)=>_0x435884===_0x13a99f(0x16b)?this[_0x13a99f(0x21c)]?.[_0x13a99f(0x2b8)](_0x283b67)??![]:this[_0x13a99f(0x21c)]?.[_0x13a99f(0x1e6)](_0x283b67)??![],'decideApproval':_0x446f9a=>this[_0x13a99f(0x21c)]?.[_0x13a99f(0x132)](_0x446f9a[_0x13a99f(0x2b6)],_0x446f9a[_0x13a99f(0x135)],_0x446f9a[_0x13a99f(0x210)])??![]}),this[_0x13a99f(0x23b)]=_0x1a4902[_0x13a99f(0x23b)]??new RunnerUsageReader(),this[_0x13a99f(0x185)]=_0x1a4902[_0x13a99f(0x185)],this[_0x13a99f(0x273)]=_0x1a4902[_0x13a99f(0x273)]??new TerminalManager({'platform':this[_0x13a99f(0x21b)][_0x13a99f(0x141)]===_0x13a99f(0x277)?_0x13a99f(0x22f):_0x13a99f(0x2c0)}),this[_0x13a99f(0x273)][_0x13a99f(0x2d5)](_0x31215a=>this[_0x13a99f(0x244)][_0x13a99f(0x22b)](_0x31215a)),this[_0x13a99f(0x23c)]=new NodeTerminalChannel({'config':()=>this[_0x13a99f(0x1e7)],'controlConnected':()=>this[_0x13a99f(0x12f)][_0x13a99f(0x1bd)](),'stopped':()=>this[_0x13a99f(0x1a0)],'reconnect':this[_0x13a99f(0x12e)],'reconnectDelay':nextReconnectDelay,'manager':this[_0x13a99f(0x273)]}),this[_0x13a99f(0x12f)]=new NodeControlChannel({'config':()=>this[_0x13a99f(0x1e7)],'capabilities':()=>this[_0x13a99f(0x21b)],'stopped':()=>this[_0x13a99f(0x1a0)],'reconnect':this[_0x13a99f(0x12e)],'reconnectDelay':nextReconnectDelay,'onConnecting':_0x1b721b=>{const _0x165bfe=_0x13a99f;this[_0x165bfe(0x1b3)][_0x165bfe(0x2d4)](),nodeLog(_0x165bfe(0x16d),{'attempt':_0x1b721b});},'onReconnectScheduled':()=>this[_0x13a99f(0x1b3)][_0x13a99f(0x2b9)](),'onMessage':_0x100de7=>this[_0x13a99f(0x29b)](_0x100de7),'onClose':(_0x49d280,_0xc81381)=>{const _0x5ad4c5=_0x13a99f;this[_0x5ad4c5(0x164)][_0x5ad4c5(0x269)](),this[_0x5ad4c5(0x23c)][_0x5ad4c5(0x2d3)]();if(_0x49d280===-0x1e*0x9d+-0x1*0x1401+-0x1*-0x3607&&_0xc81381===_0x5ad4c5(0x21a))nodeLog(_0x5ad4c5(0x288),{'message':_0x5ad4c5(0x232)});if(_0x49d280===-0x13*-0x9d+-0x8e0+0xcdc||_0x49d280===0x2*-0x1373+0xde*-0x8+0x31bf)void this[_0x5ad4c5(0x273)][_0x5ad4c5(0x174)]();}}),this[_0x13a99f(0x134)]=new NodeControlMessageService({'config':()=>this[_0x13a99f(0x1e7)],'register':(_0x4a9b6d,_0x37cdad)=>this[_0x13a99f(0x2aa)][_0x13a99f(0x215)](_0x4a9b6d,_0x37cdad),'connected':()=>this[_0x13a99f(0x2aa)][_0x13a99f(0x1bd)](),'close':(_0x52f9c6,_0x2d61c4)=>this[_0x13a99f(0x12f)][_0x13a99f(0x206)](_0x52f9c6,_0x2d61c4),'inspectWorkspace':_0x4e026d=>this[_0x13a99f(0x244)][_0x13a99f(0x20d)](_0x4e026d),'handleNodeRequest':_0x49ab3d=>this[_0x13a99f(0x2f4)][_0x13a99f(0x1a2)](_0x49ab3d),'handleRuntimeCredentialResponse':_0x1c041d=>this[_0x13a99f(0x164)][_0x13a99f(0x1a2)](_0x1c041d),'reconcileRuns':_0x15dc90=>this[_0x13a99f(0x1cc)][_0x13a99f(0x236)](_0x15dc90),'runners':this[_0x13a99f(0x1ba)],'deliverSessionChannelMessage':_0x4d4f34=>this[_0x13a99f(0x25f)][_0x13a99f(0x1a2)](_0x4d4f34),'completeUncontrolledCancellation':_0xc49832=>{const _0x3d7583=_0x13a99f,_0x440463=this[_0x3d7583(0x2bd)][_0x3d7583(0x138)](_0xc49832);if(_0x440463?.[_0x3d7583(0x17c)]===_0x3d7583(0x262))this[_0x3d7583(0x190)][_0x3d7583(0x214)](_0xc49832);},'send':(_0x2466d7,_0x514358,_0x3ee621)=>this[_0x13a99f(0x2d9)](_0x2466d7,_0x514358,_0x3ee621)}),this[_0x13a99f(0x2f4)]=new NodeRequestService({'nodeId':()=>this[_0x13a99f(0x1e7)]?.[_0x13a99f(0x25e)],'databaseAvailable':()=>this[_0x13a99f(0x185)]!==undefined,'execute':(_0x8d1c3e,_0x39b7b4)=>this[_0x13a99f(0x281)](_0x8d1c3e,_0x39b7b4),'send':(_0x5dc8d3,_0xbee1fc,_0x4178e5)=>this[_0x13a99f(0x2d9)](_0x5dc8d3,_0xbee1fc,_0x4178e5)}),this[_0x13a99f(0x244)]=new NodeWorkspaceCoordinator({'config':()=>this[_0x13a99f(0x1e7)],'database':()=>this[_0x13a99f(0x185)],'watches':this[_0x13a99f(0x265)],'sessions':this[_0x13a99f(0x1c0)],'changes':this[_0x13a99f(0x1b0)],'emit':(_0x238c41,_0x3aeda6)=>void this[_0x13a99f(0x26b)]?.[_0x13a99f(0x1d5)](_0x238c41,_0x3aeda6),'send':(_0x383bb5,_0x594f23,_0x4e0620)=>this[_0x13a99f(0x2d9)](_0x383bb5,_0x594f23,_0x4e0620)}),this[_0x13a99f(0x1cc)]=new NodeRunEventBridge({'runtime':this[_0x13a99f(0x2bd)],'state':this[_0x13a99f(0x1ae)],'events':this[_0x13a99f(0x302)],'emitWorkbench':(_0x5db45a,_0x5f5dd7)=>this[_0x13a99f(0x2f0)](_0x5db45a,_0x5f5dd7),'queues':this[_0x13a99f(0x153)],'codex':this[_0x13a99f(0x291)],'claude':this[_0x13a99f(0x13e)],'openCode':this[_0x13a99f(0x21e)],'send':(_0x52ec14,_0x38536d,_0x17a0b7)=>this[_0x13a99f(0x2d9)](_0x52ec14,_0x38536d,_0x17a0b7)}),this[_0x13a99f(0x2aa)]=new NodeConnectionLifecycleService({'config':()=>this[_0x13a99f(0x1e7)],'setConfig':_0x1c47a8=>this[_0x13a99f(0x1e7)]=_0x1c47a8,'configPath':this[_0x13a99f(0x2b7)],'capabilities':()=>this[_0x13a99f(0x21b)],'detectCapabilities':this[_0x13a99f(0x1af)],'capabilitiesProvided':this[_0x13a99f(0x1cd)],'stopped':()=>this[_0x13a99f(0x1a0)],'setCapabilities':_0x122ff5=>this[_0x13a99f(0x21b)]={..._0x122ff5,'metadata':upgradeMetadata(_0x122ff5[_0x13a99f(0x24b)],this[_0x13a99f(0x29c)][_0x13a99f(0x1c3)]())},'control':this[_0x13a99f(0x12f)],'terminal':this[_0x13a99f(0x23c)],'metrics':this[_0x13a99f(0x1b3)],'heartbeatMs':HEARTBEAT_MS,'refreshMs':CAPABILITY_REFRESH_MS,'onRegistered':()=>this[_0x13a99f(0x2a4)](),'onConnected':()=>{const _0x4464bf=_0x13a99f;this[_0x4464bf(0x164)][_0x4464bf(0x1bd)](),this[_0x4464bf(0x162)][_0x4464bf(0x2c1)]();}});const _0x160531=()=>{const _0x31402a=_0x13a99f;if(this[_0x31402a(0x185)]===undefined)throw new Error(_0x31402a(0x14e));return this[_0x31402a(0x185)];};this[_0x13a99f(0x2b3)]=new RunnerService(_0x160531,()=>this[_0x13a99f(0x21b)],this[_0x13a99f(0x1ba)],this[_0x13a99f(0x23b)]),this[_0x13a99f(0x142)]=new WorkbenchManifestService({'capabilities':()=>this[_0x13a99f(0x21b)],'runners':this[_0x13a99f(0x2b3)],'terminals':this[_0x13a99f(0x273)]}),this[_0x13a99f(0x1e9)]=new TerminalService(_0x160531,this[_0x13a99f(0x273)]),this[_0x13a99f(0x1f4)]=new WorkspaceService(_0x160531,()=>{const _0x3dba5c=_0x13a99f;if(this[_0x3dba5c(0x1e7)]===undefined)throw new Error(_0x3dba5c(0x1a7));return this[_0x3dba5c(0x1e7)];},this[_0x13a99f(0x2bd)],_0x491d99=>{const _0xb36f94=_0x13a99f;this[_0xb36f94(0x2a0)][_0xb36f94(0x189)](_0x491d99),this[_0xb36f94(0x244)][_0xb36f94(0x1fc)](_0x491d99),this[_0xb36f94(0x1c0)][_0xb36f94(0x2f6)](_0x491d99),this[_0xb36f94(0x244)][_0xb36f94(0x14b)](_0x491d99);}),this[_0x13a99f(0x26b)]=new WorkspaceWorkbenchService({'requireWorkspace':_0x431bca=>this[_0x13a99f(0x244)][_0x13a99f(0x1b8)](_0x431bca),'inspectWorkspace':_0x3459a2=>this[_0x13a99f(0x244)][_0x13a99f(0x14a)](_0x3459a2),'commitWorkspace':(_0x32d467,_0x306f6b)=>this[_0x13a99f(0x244)][_0x13a99f(0x2fa)](_0x32d467,_0x306f6b),'watch':this[_0x13a99f(0x265)],'files':this[_0x13a99f(0x2a0)],'uploads':this[_0x13a99f(0x306)],'changes':this[_0x13a99f(0x1b0)],'listSessions':_0x19d55f=>this[_0x13a99f(0x281)](_0x13a99f(0x166),{'workspaceId':_0x19d55f,'limit':0x14}),'invalidate':_0x42a6a1=>{const _0x16c1b9=_0x13a99f;this[_0x16c1b9(0x2a0)][_0x16c1b9(0x189)](_0x42a6a1),this[_0x16c1b9(0x244)][_0x16c1b9(0x2f6)](_0x42a6a1);},'nodeId':()=>this[_0x13a99f(0x1e7)]?.[_0x13a99f(0x25e)]??_0x13a99f(0x266),'nodeGeneration':()=>this[_0x13a99f(0x27a)],'emitWatchEvent':_0x25247b=>this[_0x13a99f(0x2d9)](_0x13a99f(0x294),_0x25247b)});for(const _0x210008 of CONVERSATION_TEMPLATE_OPERATIONS)this[_0x13a99f(0x194)][_0x13a99f(0x215)](_0x210008,_0x46af93=>{const _0x5cf782=_0x13a99f,_0x29bf84=this[_0x5cf782(0x1d9)]?.[_0x210008];if(_0x29bf84===undefined)throw new Error(_0x5cf782(0x271));return _0x29bf84(_0x46af93);});for(const _0x581723 of HOSTED_CONVERSATION_OPERATIONS)this[_0x13a99f(0x194)][_0x13a99f(0x215)](_0x581723,_0x18049d=>{const _0x116513=_0x13a99f,_0x441ab6=this[_0x116513(0x253)]?.[_0x581723];if(_0x441ab6===undefined)throw new Error(_0x116513(0x271));return _0x441ab6(_0x18049d);});for(const _0x52a646 of CONVERSATION_HOSTING_MAINTENANCE_OPERATIONS)this[_0x13a99f(0x194)][_0x13a99f(0x215)](_0x52a646,_0x102890=>{const _0x1cd341=_0x13a99f,_0x20055a=this[_0x1cd341(0x2a1)]?.[_0x52a646];if(_0x20055a===undefined)throw new Error(_0x1cd341(0x271));return _0x20055a(_0x102890);});this[_0x13a99f(0x194)][_0x13a99f(0x20b)](this[_0x13a99f(0x2b3)][_0x13a99f(0x2c2)]()),this[_0x13a99f(0x194)][_0x13a99f(0x20b)](this[_0x13a99f(0x1e9)][_0x13a99f(0x2c2)]()),this[_0x13a99f(0x194)][_0x13a99f(0x20b)](this[_0x13a99f(0x1f4)][_0x13a99f(0x2c2)]()),this[_0x13a99f(0x194)][_0x13a99f(0x20b)](this[_0x13a99f(0x26b)][_0x13a99f(0x2c2)]()),this[_0x13a99f(0x194)][_0x13a99f(0x20b)](this[_0x13a99f(0x2ec)][_0x13a99f(0x2c2)]()),this[_0x13a99f(0x194)][_0x13a99f(0x20b)](this[_0x13a99f(0x30a)][_0x13a99f(0x2c2)]()),this[_0x13a99f(0x194)][_0x13a99f(0x20b)](this[_0x13a99f(0x27f)][_0x13a99f(0x2c2)]()),this[_0x13a99f(0x194)][_0x13a99f(0x20b)](this[_0x13a99f(0x1c9)][_0x13a99f(0x2c2)]()),this[_0x13a99f(0x194)][_0x13a99f(0x20b)](this[_0x13a99f(0x2ba)][_0x13a99f(0x2c2)]()),this[_0x13a99f(0x194)][_0x13a99f(0x20b)](this[_0x13a99f(0x309)][_0x13a99f(0x2c2)]()),this[_0x13a99f(0x194)][_0x13a99f(0x20b)](this[_0x13a99f(0x1c7)][_0x13a99f(0x2c2)]()),this[_0x13a99f(0x194)][_0x13a99f(0x20b)](this[_0x13a99f(0x153)][_0x13a99f(0x2c2)]()),this[_0x13a99f(0x194)][_0x13a99f(0x20b)](this[_0x13a99f(0x2dd)][_0x13a99f(0x2c2)]()),this[_0x13a99f(0x194)][_0x13a99f(0x20b)](new ConversationHostingEnablementService({'config':()=>this[_0x13a99f(0x1e7)],'setConfig':_0x3361a7=>this[_0x13a99f(0x1e7)]=_0x3361a7,'configPath':this[_0x13a99f(0x2b7)],'platform':()=>this[_0x13a99f(0x21b)][_0x13a99f(0x141)],'capability':()=>this[_0x13a99f(0x21b)][_0x13a99f(0x2ea)],'initialize':()=>this[_0x13a99f(0x2a4)](),'prepareForDisable':()=>this[_0x13a99f(0x129)]?.[_0x13a99f(0x1fd)]()??(()=>{}),'publishCapabilities':()=>this[_0x13a99f(0x2d9)](_0x13a99f(0x21b),this[_0x13a99f(0x21b)])})[_0x13a99f(0x2c2)]()),this[_0x13a99f(0x194)][_0x13a99f(0x20b)](new SkillNodeOperationService(_0x160531,()=>{const _0x475236=_0x13a99f;if(this[_0x475236(0x1e7)]===undefined)throw new Error(_0x475236(0x1a7));return this[_0x475236(0x1e7)];})[_0x13a99f(0x2c2)]()),this[_0x13a99f(0x194)][_0x13a99f(0x20b)](new McpNodeOperationService(_0x160531)[_0x13a99f(0x2c2)]()),this[_0x13a99f(0x194)][_0x13a99f(0x215)](_0x13a99f(0x144),()=>({'metrics':{...this[_0x13a99f(0x1b3)][_0x13a99f(0x1c3)](),'activeRuns':this[_0x13a99f(0x1ae)][_0x13a99f(0x152)][_0x13a99f(0x1a9)],'workspaceLeases':this[_0x13a99f(0x2bd)][_0x13a99f(0x1ac)]()}})),this[_0x13a99f(0x194)][_0x13a99f(0x215)](_0x13a99f(0x170),_0x3db199=>this[_0x13a99f(0x29c)][_0x13a99f(0x17d)](_0x3db199)),this[_0x13a99f(0x194)][_0x13a99f(0x215)](_0x13a99f(0x18f),()=>this[_0x13a99f(0x29c)][_0x13a99f(0x2b8)]()),this[_0x13a99f(0x194)][_0x13a99f(0x215)](_0x13a99f(0x1d2),async()=>({'manifest':await this[_0x13a99f(0x142)][_0x13a99f(0x16e)]()}));}async[_0x4ce2c3(0x2a4)](){const _0x38e137=_0x4ce2c3,_0xb5928a=this[_0x38e137(0x24c)],_0x402dd0=this[_0x38e137(0x129)],_0x7f6589=this[_0x38e137(0x2cc)];this[_0x38e137(0x24c)]=undefined,this[_0x38e137(0x129)]=undefined,this[_0x38e137(0x2cc)]=undefined,this[_0x38e137(0x253)]=undefined,this[_0x38e137(0x2a1)]=undefined,this[_0x38e137(0x1d9)]=undefined,this[_0x38e137(0x2f1)]=![],this[_0x38e137(0x2ab)]=undefined,await _0x7f6589?.[_0x38e137(0x189)](),_0x402dd0?.[_0x38e137(0x189)](),await _0xb5928a?.[_0x38e137(0x189)]()[_0x38e137(0x27b)](()=>undefined);const _0xc9c65b=this[_0x38e137(0x1e7)];if(_0xc9c65b?.[_0x38e137(0x2ea)]?.[_0x38e137(0x24d)]===!![]&&this[_0x38e137(0x21b)][_0x38e137(0x141)]===_0x38e137(0x2c0)){if(_0xc9c65b[_0x38e137(0x25e)]===undefined)this[_0x38e137(0x2ab)]=_0x38e137(0x16c);else{let _0x323592,_0x1a306b,_0x1f3a10;try{if(this[_0x38e137(0x185)]===undefined)throw new Error(_0x38e137(0x14e));const _0x303e84=hostedConversationStorePath(_0xc9c65b,this[_0x38e137(0x2b7)]);if(_0x303e84===undefined)throw new Error(_0x38e137(0x25a));const _0x534e0a=new HostedConversationStore({'dataDirectory':nodeDataDirectory(_0xc9c65b,this[_0x38e137(0x2b7)]),'rootDirectory':_0x303e84,'nodeId':_0xc9c65b[_0x38e137(0x25e)],'database':this[_0x38e137(0x185)]});await _0x534e0a[_0x38e137(0x13a)]();const _0xcbc6d0=new ConversationTemplateNodeService({'database':this[_0x38e137(0x185)],'store':_0x534e0a,'nodeId':()=>this[_0x38e137(0x1e7)]?.[_0x38e137(0x25e)]??_0x38e137(0x292)});await _0xcbc6d0[_0x38e137(0x1bc)](),await _0x534e0a[_0x38e137(0x1f5)](),_0x323592=new MarAgentHostedConversationRuntime({'webSearch':(_0x3d731b,_0x3bc599)=>this[_0x38e137(0x1b5)](_0x3d731b,_0x3bc599),'modelFactory':this[_0x38e137(0x179)],'registerNativeImages':(_0x175d1a,_0x395aa5,_0xc768d5)=>this[_0x38e137(0x17f)][_0x38e137(0x18c)](_0x175d1a,_0x395aa5,_0xc768d5,{'reuseCachedRunImages':![]})}),_0x1a306b=new HostedConversationNodeService({'database':this[_0x38e137(0x185)],'store':_0x534e0a,'runtime':_0x323592,'nodeId':()=>this[_0x38e137(0x1e7)]?.[_0x38e137(0x25e)]??_0x38e137(0x292),'nodeAppVersion':()=>this[_0x38e137(0x21b)][_0x38e137(0x226)]??_0x38e137(0x26c),'nodeGeneration':()=>this[_0x38e137(0x27a)],'sessionWatchSlots':this[_0x38e137(0x133)],'emitWatchEvent':_0x500bda=>this[_0x38e137(0x2d9)](_0x38e137(0x294),_0x500bda),'nextWorkbenchEvent':_0x1bf16f=>this[_0x38e137(0x2f2)][_0x38e137(0x2a2)](_0x38e137(0x213),_0x1bf16f),'emitWorkbenchEvent':_0x4e6994=>this[_0x38e137(0x2f2)][_0x38e137(0x264)](_0x4e6994),'readImage':async(_0x3d7ca0,_0x43d6f4)=>this[_0x38e137(0x17f)][_0x38e137(0x16e)](_0x3d7ca0,_0x43d6f4)??await this[_0x38e137(0x17f)][_0x38e137(0x2fe)](_0x3d7ca0,_0x43d6f4),'processExecutorFactory':_0x2cfd4b=>new BubblewrapSandboxExecutor(_0x2cfd4b),'assertCanCreate':()=>{const _0x579429=_0x38e137;if(_0x1f3a10===undefined)throw new Error(_0x579429(0x271));return _0x1f3a10[_0x579429(0x304)]();}}),_0x1f3a10=new ConversationHostingMaintenanceService({'store':_0x534e0a,'inactiveRetentionDays':_0xc9c65b[_0x38e137(0x2ea)][_0x38e137(0x12d)]??-0x1*-0x1767+-0x1f00+-0x1*-0x7d5,'isConversationInUse':_0x307195=>_0x1a306b?.[_0x38e137(0x286)](_0x307195)??!![],'beginConversationCleanup':_0x5305b5=>_0x1a306b?.[_0x38e137(0x183)](_0x5305b5),'releaseConversation':_0x3c7722=>{const _0x3a4438=_0x38e137;if(_0x1a306b===undefined)throw new Error(_0x3a4438(0x271));return _0x1a306b[_0x3a4438(0x1ec)](_0x3c7722);},'onAutomaticCleanupError':_0x5249dc=>nodeLog(_0x38e137(0x139),{'nodeId':_0xc9c65b[_0x38e137(0x25e)],'code':safeErrorCode(_0x5249dc,_0x38e137(0x2fb))})}),this[_0x38e137(0x1d9)]=_0xcbc6d0[_0x38e137(0x2c2)](),this[_0x38e137(0x253)]=_0x1a306b[_0x38e137(0x2c2)](),this[_0x38e137(0x2a1)]=_0x1f3a10[_0x38e137(0x2c2)](),this[_0x38e137(0x24c)]=_0x323592,this[_0x38e137(0x129)]=_0x1a306b,this[_0x38e137(0x2cc)]=_0x1f3a10,await _0x1f3a10[_0x38e137(0x165)](),this[_0x38e137(0x2f1)]=!![];}catch(_0x250df3){await _0x1f3a10?.[_0x38e137(0x189)](),_0x1a306b?.[_0x38e137(0x189)](),await _0x323592?.[_0x38e137(0x189)]()[_0x38e137(0x27b)](()=>undefined),this[_0x38e137(0x2ab)]=safeErrorCode(_0x250df3,_0x38e137(0x1d4)),nodeLog(_0x38e137(0x1de),{'nodeId':_0xc9c65b[_0x38e137(0x25e)],'code':this[_0x38e137(0x2ab)]});}}}this[_0x38e137(0x21b)]=await this[_0x38e137(0x17e)](this[_0x38e137(0x21b)]);}async[_0x4ce2c3(0x17e)](_0x1757b0){const _0x3ff65a=_0x4ce2c3;let _0x13e458=this[_0x3ff65a(0x2f1)],_0x5750a0=this[_0x3ff65a(0x2ab)],_0x12aec=_0x3ff65a(0x296);if(_0x13e458&&this[_0x3ff65a(0x2cc)]!==undefined)try{_0x12aec=(await this[_0x3ff65a(0x2cc)][_0x3ff65a(0x19b)]())[_0x3ff65a(0x24f)];}catch(_0x108b89){_0x13e458=![],_0x5750a0=safeErrorCode(_0x108b89,_0x3ff65a(0x25a));}return{..._0x1757b0,'conversationHosting':await conversationHostingCapability(_0x1757b0,this[_0x3ff65a(0x1e7)],_0x13e458,_0x5750a0,this[_0x3ff65a(0x298)],_0x12aec)};}async[_0x4ce2c3(0x165)](){const _0x3964e8=_0x4ce2c3;if(this[_0x3964e8(0x260)]!==undefined)await this[_0x3964e8(0x260)];this[_0x3964e8(0x260)]=undefined,this[_0x3964e8(0x1a0)]=![],this[_0x3964e8(0x1e7)]??=await loadNodeConfig(this[_0x3964e8(0x2b7)]),await this[_0x3964e8(0x29c)][_0x3964e8(0x1b6)](resolve(dirname(nodeDatabasePath(this[_0x3964e8(0x1e7)],this[_0x3964e8(0x2b7)])),_0x3964e8(0x163))),await assertLocalSqlitePath(nodeDatabasePath(this[_0x3964e8(0x1e7)],this[_0x3964e8(0x2b7)])),this[_0x3964e8(0x185)]??=new NodeDatabase(nodeDatabasePath(this[_0x3964e8(0x1e7)],this[_0x3964e8(0x2b7)]),()=>this[_0x3964e8(0x1e7)]?.[_0x3964e8(0x25e)]??_0x3964e8(0x292)),this[_0x3964e8(0x185)][_0x3964e8(0x2ff)](),await this[_0x3964e8(0x2a4)](),this[_0x3964e8(0x2aa)][_0x3964e8(0x165)](),this[_0x3964e8(0x12f)][_0x3964e8(0x143)]();}[_0x4ce2c3(0x196)](_0x32ad05){const _0x22158f=_0x4ce2c3,_0x41f729=this[_0x22158f(0x2cb)][_0x22158f(0x1dd)](_0x32ad05);if(_0x41f729!==undefined)clearTimeout(_0x41f729[_0x22158f(0x23a)]);this[_0x22158f(0x2cb)][_0x22158f(0x168)](_0x32ad05),this[_0x22158f(0x15f)][_0x22158f(0x168)](_0x32ad05);}async[_0x4ce2c3(0x18d)](_0x4f24c4){const _0xba5f2f=_0x4ce2c3,_0x284930=_0x4f24c4[_0xba5f2f(0x223)]['id']+':'+_0x4f24c4[_0xba5f2f(0x223)][_0xba5f2f(0x22c)];this[_0xba5f2f(0x15f)][_0xba5f2f(0x2ae)](_0x4f24c4[_0xba5f2f(0x243)],_0x284930);try{await this[_0xba5f2f(0x2ba)][_0xba5f2f(0x205)]({'sessionId':_0x4f24c4[_0xba5f2f(0x243)],'kind':_0xba5f2f(0x2c6),'content':this[_0xba5f2f(0x1be)][_0xba5f2f(0x1a6)](_0x4f24c4[_0xba5f2f(0x243)],_0xba5f2f(0x2c6)),'deliveryIntent':_0xba5f2f(0x21d),'mission':_0x4f24c4[_0xba5f2f(0x223)],'secretEnvironment':_0x4f24c4[_0xba5f2f(0x158)],..._0x4f24c4[_0xba5f2f(0x21f)]===undefined?{}:{'personalInstructions':_0x4f24c4[_0xba5f2f(0x21f)]},..._0x4f24c4[_0xba5f2f(0x1ed)]===undefined?{}:{'marAgentModel':_0x4f24c4[_0xba5f2f(0x1ed)]},..._0x4f24c4[_0xba5f2f(0x2fd)]===undefined?{}:{'marAgentModels':_0x4f24c4[_0xba5f2f(0x2fd)]},..._0x4f24c4[_0xba5f2f(0x30b)]===undefined?{}:{'marAgentRuntimeScopeId':_0x4f24c4[_0xba5f2f(0x30b)]}});const _0x3a6498=this[_0xba5f2f(0x1be)][_0xba5f2f(0x1dd)](_0x4f24c4[_0xba5f2f(0x243)]);if(_0x3a6498?.[_0xba5f2f(0x17c)]!==_0xba5f2f(0x152)||_0x3a6498['id']!==_0x4f24c4[_0xba5f2f(0x223)]['id']||_0x3a6498[_0xba5f2f(0x22c)]!==_0x4f24c4[_0xba5f2f(0x223)][_0xba5f2f(0x22c)]){if(this[_0xba5f2f(0x15f)][_0xba5f2f(0x1dd)](_0x4f24c4[_0xba5f2f(0x243)])===_0x284930)this[_0xba5f2f(0x15f)][_0xba5f2f(0x168)](_0x4f24c4[_0xba5f2f(0x243)]);return;}this[_0xba5f2f(0x196)](_0x4f24c4[_0xba5f2f(0x243)]);}catch{const _0x34db41=this[_0xba5f2f(0x1be)][_0xba5f2f(0x1dd)](_0x4f24c4[_0xba5f2f(0x243)]);if(_0x34db41?.[_0xba5f2f(0x17c)]!==_0xba5f2f(0x152)||_0x34db41['id']!==_0x4f24c4[_0xba5f2f(0x223)]['id']||_0x34db41[_0xba5f2f(0x22c)]!==_0x4f24c4[_0xba5f2f(0x223)][_0xba5f2f(0x22c)]){if(this[_0xba5f2f(0x15f)][_0xba5f2f(0x1dd)](_0x4f24c4[_0xba5f2f(0x243)])===_0x284930)this[_0xba5f2f(0x15f)][_0xba5f2f(0x168)](_0x4f24c4[_0xba5f2f(0x243)]);return;}const _0x1ca5ad=(_0x4f24c4[_0xba5f2f(0x209)]??0x1e0a+0x4*-0x107+-0x19ee)+(-0x14a9+0x3*-0xaa2+0x3490),_0x3720b0=this[_0xba5f2f(0x2bd)][_0xba5f2f(0x20f)](_0x4f24c4[_0xba5f2f(0x243)]);if(_0x1ca5ad>0x1*0xe57+0x555*-0x1+-0x1*0x8ff||_0x3720b0===undefined){this[_0xba5f2f(0x196)](_0x4f24c4[_0xba5f2f(0x243)]);if(_0x1ca5ad>0x9*0xeb+0xe96+-0x16d6){const _0x28dcb7=this[_0xba5f2f(0x1be)][_0xba5f2f(0x290)](_0x4f24c4[_0xba5f2f(0x243)],_0x4f24c4[_0xba5f2f(0x223)]['id'],_0x4f24c4[_0xba5f2f(0x223)][_0xba5f2f(0x22c)]);this[_0xba5f2f(0x26d)][_0xba5f2f(0x263)](_0x4f24c4[_0xba5f2f(0x243)]),this[_0xba5f2f(0x150)](_0x4f24c4[_0xba5f2f(0x243)],_0xba5f2f(0x2a5));if(_0x3720b0!==undefined)this[_0xba5f2f(0x235)](_0x3720b0,_0x28dcb7);}return;}this[_0xba5f2f(0x196)](_0x4f24c4[_0xba5f2f(0x243)]);const _0x585298={'sessionId':_0x4f24c4[_0xba5f2f(0x243)],'timer':setTimeout(()=>{const _0x339a5c=_0xba5f2f,_0x131248=this[_0x339a5c(0x1be)][_0x339a5c(0x1dd)](_0x585298[_0x339a5c(0x243)]);if(_0x131248?.[_0x339a5c(0x17c)]!==_0x339a5c(0x152)||_0x131248['id']!==_0x4f24c4[_0x339a5c(0x223)]['id']||_0x131248[_0x339a5c(0x22c)]!==_0x4f24c4[_0x339a5c(0x223)][_0x339a5c(0x22c)])return;void this[_0x339a5c(0x18d)]({..._0x4f24c4,'sessionId':_0x585298[_0x339a5c(0x243)],'failedAttempts':_0x1ca5ad});},0xb*-0x6da+-0x1*0x2b+0x8621)};this[_0xba5f2f(0x2cb)][_0xba5f2f(0x2ae)](_0x4f24c4[_0xba5f2f(0x243)],_0x585298),_0x585298[_0xba5f2f(0x23a)][_0xba5f2f(0x237)]();}}[_0x4ce2c3(0x150)](_0x4284a3,_0x596a33){const _0x1db7b0=_0x4ce2c3,_0x225829=this[_0x1db7b0(0x2bd)][_0x1db7b0(0x19c)](_0x4284a3);if(_0x225829===undefined||this[_0x1db7b0(0x2bd)][_0x1db7b0(0x180)](_0x225829['id'])!==undefined)return;this[_0x1db7b0(0x1cc)][_0x1db7b0(0x233)](_0x225829['id'],_0x596a33===_0x1db7b0(0x300)?_0x1db7b0(0x2ac):_0x1db7b0(0x280),_0x596a33===_0x1db7b0(0x300)?{}:{'code':_0x1db7b0(0x175)},_0x596a33);}[_0x4ce2c3(0x2bf)](_0x4ce38a){const _0x54829a=_0x4ce2c3,_0x3ed946=missionUnrestrictedAccess(_0x4ce38a[_0x54829a(0x1fe)]),_0x417c9e=_0x4ce38a[_0x54829a(0x245)]!==_0x3ed946,_0x32e2c9=_0x417c9e?this[_0x54829a(0x2bd)][_0x54829a(0x28d)](_0x4ce38a['id'],_0x3ed946):_0x4ce38a;if(_0x417c9e&&_0x32e2c9[_0x54829a(0x2e8)]!==null&&_0x32e2c9[_0x54829a(0x2d2)]!==null&&_0x32e2c9[_0x54829a(0x2e7)]!==null)this[_0x54829a(0x185)]?.[_0x54829a(0x159)]({'runner':_0x32e2c9[_0x54829a(0x1fe)],'externalSessionId':_0x32e2c9[_0x54829a(0x2e8)],'workspaceId':_0x32e2c9[_0x54829a(0x274)],'model':_0x32e2c9[_0x54829a(0x2d2)],'effort':_0x32e2c9[_0x54829a(0x2e7)],'access':_0x3ed946});return{'session':_0x32e2c9,'changed':_0x417c9e};}[_0x4ce2c3(0x127)](){const _0xa1ac39=_0x4ce2c3;return{'commandId':_0xa1ac39(0x223),'active':!![],'label':_0xa1ac39(0x28a),'detail':null,'closable':!![],'closeInput':_0xa1ac39(0x2c3)};}[_0x4ce2c3(0x230)](){const _0x636a19=_0x4ce2c3;if(this[_0x636a19(0x260)]!==undefined)return this[_0x636a19(0x260)];this[_0x636a19(0x1a0)]=!![],this[_0x636a19(0x162)][_0x636a19(0x189)](),this[_0x636a19(0x29c)][_0x636a19(0x230)](),this[_0x636a19(0x2aa)][_0x636a19(0x230)]();for(const _0x577c42 of this[_0x636a19(0x13e)][_0x636a19(0x29a)][_0x636a19(0x160)][_0x636a19(0x1db)]()){clearTimeout(_0x577c42[_0x636a19(0x23a)]),_0x577c42[_0x636a19(0x14d)](_0x636a19(0x308));}this[_0x636a19(0x13e)][_0x636a19(0x29a)][_0x636a19(0x160)][_0x636a19(0x17a)]();for(const _0xacdac0 of this[_0x636a19(0x13e)][_0x636a19(0x29a)][_0x636a19(0x305)][_0x636a19(0x1db)]()){clearTimeout(_0xacdac0[_0x636a19(0x23a)]),_0xacdac0[_0x636a19(0x1ab)](_0x636a19(0x15d));}this[_0x636a19(0x13e)][_0x636a19(0x29a)][_0x636a19(0x305)][_0x636a19(0x17a)](),this[_0x636a19(0x30a)][_0x636a19(0x17a)](),this[_0x636a19(0x240)][_0x636a19(0x189)](),this[_0x636a19(0x1c9)][_0x636a19(0x17a)](),this[_0x636a19(0x26d)][_0x636a19(0x17a)]();for(const _0x2e857c of this[_0x636a19(0x2cb)][_0x636a19(0x1db)]())clearTimeout(_0x2e857c[_0x636a19(0x23a)]);this[_0x636a19(0x2cb)][_0x636a19(0x17a)](),this[_0x636a19(0x15f)][_0x636a19(0x17a)](),this[_0x636a19(0x302)][_0x636a19(0x17a)](),this[_0x636a19(0x18e)][_0x636a19(0x189)]();for(const _0x1f002d of this[_0x636a19(0x13e)][_0x636a19(0x29a)][_0x636a19(0x16f)][_0x636a19(0x1db)]())_0x1f002d[_0x636a19(0x1a2)][_0x636a19(0x2b8)]();this[_0x636a19(0x13e)][_0x636a19(0x29a)][_0x636a19(0x16f)][_0x636a19(0x17a)](),this[_0x636a19(0x17f)][_0x636a19(0x189)](),void this[_0x636a19(0x131)][_0x636a19(0x189)]();const _0x16c7a=this[_0x636a19(0x2cc)]?.[_0x636a19(0x189)]();this[_0x636a19(0x2cc)]=undefined,this[_0x636a19(0x129)]?.[_0x636a19(0x189)](),this[_0x636a19(0x129)]=undefined;const _0x246d8b=this[_0x636a19(0x24c)];this[_0x636a19(0x24c)]=undefined,this[_0x636a19(0x253)]=undefined,this[_0x636a19(0x2a1)]=undefined,void this[_0x636a19(0x306)][_0x636a19(0x174)](),this[_0x636a19(0x2a0)][_0x636a19(0x189)](),this[_0x636a19(0x265)][_0x636a19(0x218)](),this[_0x636a19(0x26b)][_0x636a19(0x17a)](),this[_0x636a19(0x1c0)][_0x636a19(0x17a)](),this[_0x636a19(0x1b0)][_0x636a19(0x17a)](),void this[_0x636a19(0x1ba)][_0x636a19(0x230)](),void this[_0x636a19(0x201)][_0x636a19(0x206)](),void this[_0x636a19(0x273)][_0x636a19(0x174)](),this[_0x636a19(0x23c)][_0x636a19(0x230)](),this[_0x636a19(0x164)][_0x636a19(0x206)](),this[_0x636a19(0x12f)][_0x636a19(0x230)]();const _0x21513d=this[_0x636a19(0x185)];return this[_0x636a19(0x185)]=undefined,this[_0x636a19(0x260)]=((async()=>{const _0x1fded1=_0x636a19;try{await _0x16c7a;}finally{await _0x246d8b?.[_0x1fded1(0x189)]()[_0x1fded1(0x27b)](()=>undefined),_0x21513d?.[_0x1fded1(0x206)]();}})()),this[_0x636a19(0x260)];}[_0x4ce2c3(0x29b)]=_0x1b3f36=>this[_0x4ce2c3(0x134)][_0x4ce2c3(0x1a2)](_0x1b3f36);[_0x4ce2c3(0x1a5)]=(_0x55061e,_0x5062c8,_0x34c180,_0x7c0b96)=>this[_0x4ce2c3(0x1cc)][_0x4ce2c3(0x233)](_0x55061e,_0x5062c8,_0x34c180,_0x7c0b96);[_0x4ce2c3(0x172)]=(_0x13c1d5,_0x592e4e)=>{const _0x547d78=_0x4ce2c3;this[_0x547d78(0x302)][_0x547d78(0x1c4)](_0x13c1d5);const _0x54fca0=isPlainRecord(_0x592e4e)&&typeof _0x592e4e[_0x547d78(0x1e2)]===_0x547d78(0x1c2)?_0x592e4e[_0x547d78(0x1e2)]:undefined,_0x5d6540=isPlainRecord(_0x592e4e)&&typeof _0x592e4e[_0x547d78(0x1fb)]===_0x547d78(0x1c2)?_0x592e4e[_0x547d78(0x1fb)]:undefined,_0x55cd28=this[_0x547d78(0x2bd)][_0x547d78(0x23e)](_0x13c1d5),_0x50a1dd=_0x54fca0===undefined||_0x55cd28===undefined?undefined:conversationSegmentIdentityForItem(_0x55cd28,_0x54fca0,_0x5d6540);this[_0x547d78(0x1cc)][_0x547d78(0x233)](_0x13c1d5,_0x547d78(0x247),_0x50a1dd===undefined||!isPlainRecord(_0x592e4e)?_0x592e4e:{..._0x592e4e,'segmentId':_0x50a1dd['id'],'segmentIndex':_0x50a1dd[_0x547d78(0x145)]});};[_0x4ce2c3(0x22a)]=_0x15f3af=>{const _0x3786b6=_0x4ce2c3,_0x270e93=isPlainRecord(_0x15f3af)&&Array[_0x3786b6(0x293)](_0x15f3af[_0x3786b6(0x307)])?conversationSegments(_0x15f3af):[];this[_0x3786b6(0x2a7)](_0x3786b6(0x303),{'turn':_0x15f3af,'segments':_0x270e93});};[_0x4ce2c3(0x2f0)]=(_0x1e5a3e,_0x52a5ef)=>{const _0x403db1=_0x4ce2c3;if(_0x1e5a3e===_0x403db1(0x1cb)){this[_0x403db1(0x25c)](_0x52a5ef);return;}this[_0x403db1(0x2a7)](_0x1e5a3e,_0x52a5ef);};[_0x4ce2c3(0x25c)]=_0x3c4102=>{const _0x206208=_0x4ce2c3;if(isPlainRecord(_0x3c4102)&&isPlainRecord(_0x3c4102[_0x206208(0x1cb)])){const _0x2bca86=_0x3c4102[_0x206208(0x1cb)][_0x206208(0x274)];typeof _0x2bca86===_0x206208(0x1c2)&&(this[_0x206208(0x1c0)][_0x206208(0x169)](_0x2bca86),void this[_0x206208(0x26b)]?.[_0x206208(0x1d5)](_0x2bca86,_0x206208(0x2b1)));}this[_0x206208(0x2a7)](_0x206208(0x1cb),_0x3c4102);};[_0x4ce2c3(0x2a7)]=(_0x2a4af2,_0x342139)=>{const _0x383757=_0x4ce2c3;if(_0x2a4af2===_0x383757(0x303)&&isPlainRecord(_0x342139)&&isPlainRecord(_0x342139[_0x383757(0x1aa)])&&_0x342139[_0x383757(0x1aa)][_0x383757(0x1a3)]!==_0x383757(0x1f1)){const _0x1b2daf=typeof _0x342139[_0x383757(0x1aa)][_0x383757(0x2b6)]===_0x383757(0x1c2)?_0x342139[_0x383757(0x1aa)][_0x383757(0x2b6)]:undefined,_0x2497ce=typeof _0x342139[_0x383757(0x1aa)][_0x383757(0x18a)]===_0x383757(0x216)?_0x342139[_0x383757(0x1aa)][_0x383757(0x18a)]:undefined,_0x15e96a=_0x1b2daf===undefined?undefined:this[_0x383757(0x2bd)][_0x383757(0x23e)](_0x1b2daf);if(_0x15e96a===undefined)return;const _0x5f6382=isPlainRecord(_0x342139[_0x383757(0x1aa)][_0x383757(0x287)])?_0x342139[_0x383757(0x1aa)][_0x383757(0x287)]:undefined,_0x165404=_0x342139[_0x383757(0x1aa)][_0x383757(0x1a3)]===_0x383757(0x258)&&typeof _0x5f6382?.[_0x383757(0x220)]===_0x383757(0x1c2)?_0x5f6382[_0x383757(0x220)]:undefined,_0xba5e93=typeof _0x5f6382?.[_0x383757(0x1e2)]===_0x383757(0x1c2)?_0x5f6382[_0x383757(0x1e2)]:typeof _0x5f6382?.[_0x383757(0x135)]===_0x383757(0x1c2)?_0x383757(0x1b4)+_0x5f6382[_0x383757(0x135)]:undefined,_0x2820bb=_0x165404!==undefined&&_0x2497ce!==undefined?_0x15e96a[_0x383757(0x307)][_0x383757(0x1f9)](_0x4e12a2=>_0x4e12a2[_0x383757(0x1fb)]===_0x383757(0x1e3)&&_0x4e12a2[_0x383757(0x22c)]===_0x2497ce):_0xba5e93===undefined?undefined:_0x15e96a[_0x383757(0x307)][_0x383757(0x1f9)](_0x71c4e3=>_0x71c4e3['id']===_0x1b2daf+':'+_0xba5e93);if(_0x165404!==undefined&&_0x2820bb?.[_0x383757(0x1fb)]===_0x383757(0x1e3))_0x342139={'sessionId':_0x15e96a[_0x383757(0x243)],'delta':{'runId':_0x15e96a[_0x383757(0x2b6)],'itemId':_0x2820bb['id'],'text':_0x165404,'createdAt':typeof _0x342139[_0x383757(0x1aa)][_0x383757(0x1a8)]===_0x383757(0x216)?_0x342139[_0x383757(0x1aa)][_0x383757(0x1a8)]:Date[_0x383757(0x1e5)]()}};else{if(_0x2820bb!==undefined){const _0x2cebd7=conversationSegmentIdentityForItem(_0x15e96a,_0x2820bb['id'],_0x2820bb[_0x383757(0x1fb)]);_0x342139={'sessionId':_0x15e96a[_0x383757(0x243)],'runId':_0x15e96a[_0x383757(0x2b6)],'item':{'itemId':_0x2820bb['id'],'kind':_0x2820bb[_0x383757(0x1fb)],'status':_0x2820bb[_0x383757(0x17c)],'payload':_0x2820bb[_0x383757(0x287)],'startedAt':_0x2820bb[_0x383757(0x149)],'completedAt':_0x2820bb[_0x383757(0x2d6)],'segmentId':_0x2cebd7['id'],'segmentIndex':_0x2cebd7[_0x383757(0x145)]}};}else{if(_0x342139[_0x383757(0x1aa)][_0x383757(0x1a3)]!==_0x383757(0x161)&&_0x342139[_0x383757(0x1aa)][_0x383757(0x1a3)]!==_0x383757(0x2f5))return;_0x342139={'turn':_0x15e96a,'segments':conversationSegments(_0x15e96a)};}}}const _0x5d87f3=this[_0x383757(0x2f2)][_0x383757(0x2a2)](_0x2a4af2,_0x342139);if(_0x5d87f3===undefined)return;const _0x508b6c=_0x2a4af2===_0x383757(0x303)&&isPlainRecord(_0x342139)&&isPlainRecord(_0x342139[_0x383757(0x1aa)])&&_0x342139[_0x383757(0x1aa)][_0x383757(0x1a3)]===_0x383757(0x1f1),_0x5597ec=workbenchPayloadSessionId(this[_0x383757(0x2bd)],_0x2a4af2,_0x342139);if(!_0x508b6c&&_0x5597ec!==undefined){this[_0x383757(0x30a)][_0x383757(0x2af)](_0x5597ec,_0x5d87f3);return;}this[_0x383757(0x2f2)][_0x383757(0x264)](_0x5d87f3);};[_0x4ce2c3(0x2e0)]=_0xa9c91b=>this[_0x4ce2c3(0x1bb)][_0x4ce2c3(0x203)](_0xa9c91b);[_0x4ce2c3(0x1b1)]=_0x362085=>this[_0x4ce2c3(0x244)][_0x4ce2c3(0x2f6)](_0x362085);[_0x4ce2c3(0x191)]=()=>undefined;[_0x4ce2c3(0x285)]=()=>this[_0x4ce2c3(0x2aa)][_0x4ce2c3(0x285)]();[_0x4ce2c3(0x2cd)]=()=>this[_0x4ce2c3(0x2aa)][_0x4ce2c3(0x2cd)]();async[_0x4ce2c3(0x281)](_0x320f28,_0x17a536){const _0x37d6fe=_0x4ce2c3;if(this[_0x37d6fe(0x185)]===undefined)throw new Error(_0x37d6fe(0x14e));if(this[_0x37d6fe(0x29c)][_0x37d6fe(0x19d)](_0x320f28))throw new Error(_0x37d6fe(0x18b));return nodeLog(_0x37d6fe(0x1e0),{'nodeId':this[_0x37d6fe(0x1e7)]?.[_0x37d6fe(0x25e)],'operation':_0x320f28}),this[_0x37d6fe(0x194)][_0x37d6fe(0x1a1)](_0x320f28,_0x17a536);}async[_0x4ce2c3(0x1b5)](_0x59bb44,_0x5efd8e){const _0x499bc3=_0x4ce2c3,_0x144a06=this[_0x499bc3(0x1e7)];if(_0x144a06?.[_0x499bc3(0x25e)]===undefined||_0x144a06[_0x499bc3(0x283)]===undefined)throw new Error(_0x499bc3(0x16c));const _0x5c0f13=await fetch(_0x144a06[_0x499bc3(0x15e)][_0x499bc3(0x248)](/\/$/u,'')+_0x499bc3(0x299),{'method':_0x499bc3(0x193),'headers':{'content-type':_0x499bc3(0x249),'x-mar-node-id':_0x144a06[_0x499bc3(0x25e)],'authorization':_0x499bc3(0x2d8)+_0x144a06[_0x499bc3(0x283)]},'body':JSON[_0x499bc3(0x1ad)](_0x59bb44),'signal':_0x5efd8e});if(!_0x5c0f13['ok'])throw await readWebSearchError(_0x5c0f13);const _0x1745ef=await _0x5c0f13[_0x499bc3(0x257)]();return{'content':JSON[_0x499bc3(0x1ad)](_0x1745ef),'data':_0x1745ef};}[_0x4ce2c3(0x235)](_0x964959,_0xe52573){const _0x271840=_0x4ce2c3;if(_0xe52573[_0x271840(0x17c)]!==_0x271840(0x152)){this[_0x271840(0x151)][_0x271840(0x17a)](_0x964959['id'],_0x271840(0x223)),this[_0x271840(0x2a7)](_0x271840(0x1cb),{'session':this[_0x271840(0x242)][_0x271840(0x278)](_0x964959)});return;}this[_0x271840(0x151)][_0x271840(0x2ae)](_0x964959['id'],{'commandId':_0x271840(0x223),'active':_0xe52573[_0x271840(0x17c)]===_0x271840(0x152),'label':_0x271840(0x28a),'detail':_0xe52573[_0x271840(0x227)][_0x271840(0x301)](0x22b9+-0x2*-0x107+0x23*-0x10d,0x1760+0x144+-0x16b0),'closable':!![],'closeInput':_0x271840(0x1f7),'mission':{'id':_0xe52573['id'],'objective':_0xe52573[_0x271840(0x227)],'revision':_0xe52573[_0x271840(0x22c)],'status':_0xe52573[_0x271840(0x17c)],'turns':_0xe52573[_0x271840(0x12c)]}}),this[_0x271840(0x2a7)](_0x271840(0x1cb),{'session':this[_0x271840(0x242)][_0x271840(0x278)](_0x964959)});}[_0x4ce2c3(0x2d9)](_0x3b28e2,_0xb949a2,_0x29c608){const _0x46db54=_0x4ce2c3;this[_0x46db54(0x12f)][_0x46db54(0x2d9)](_0x3b28e2,_0xb949a2,_0x29c608);}[_0x4ce2c3(0x147)](_0x3ef6c2){const _0x3d8375=_0x4ce2c3;this[_0x3d8375(0x12f)][_0x3d8375(0x147)](_0x3ef6c2);}}
|