@myagentroam/node 0.9.52 → 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 _0x281842=_0x16f7;(function(_0x14ea36,_0x13e7a8){const _0x2e4333=_0x16f7,_0x3c9cbc=_0x14ea36();while(!![]){try{const _0x507bc9=parseInt(_0x2e4333(0x207))/(0xb*0x313+-0x10c4+0x110c*-0x1)+-parseInt(_0x2e4333(0x2d2))/(-0x1bef*0x1+-0x1b56+0x3747)+-parseInt(_0x2e4333(0x20a))/(0xbdf+0x21e4+0x3d*-0xc0)*(-parseInt(_0x2e4333(0x27f))/(0x1*0xba5+0x1*0x887+-0x1428))+parseInt(_0x2e4333(0x1cc))/(0x2*-0x11+-0xa9d+-0x34*-0x35)+parseInt(_0x2e4333(0x201))/(-0x14b0+0xc1d*-0x3+0x390d)*(parseInt(_0x2e4333(0x2d8))/(0x2*0x4af+-0x1d9b+0x1444))+parseInt(_0x2e4333(0x1a6))/(0x2003*-0x1+-0xb20+-0x101*-0x2b)+-parseInt(_0x2e4333(0x1fd))/(-0x1830+0x15*-0x1a6+0x3*0x139d);if(_0x507bc9===_0x13e7a8)break;else _0x3c9cbc['push'](_0x3c9cbc['shift']());}catch(_0x563b4e){_0x3c9cbc['push'](_0x3c9cbc['shift']());}}}(_0x596b,0xc94bc+0xa*0x9545+-0x1*0xb6607));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';function _0x596b(){const _0x589c8e=['C2vZC2LVBLbYzxnLBNrHDgLVBLnLCNzPy2u','D29YA3nWywnLv2f0y2Htzxj2AwnL','nda3odm4nhrKD1jQyq','yM9VDhn0CMfWswrZ','C3rHCNrdyxbHyMLSAxr5uMvMCMvZAa','C3rHDhvZ','C2vZC2LVBKnVBw1HBMrtzxj2AwnL','CNvUBMvYsw50zxjHy3rPB25tzxj2AwnL','y29UDMvYC2f0Aw9Usg9ZDgLUzW','su5urvjsvvburuq','yxbWCM92ywW6','CMvJB25Uzwn0u2nOzwr1BgvK','DgvYBwLUywXnyw5Hz2vY','C2vZC2LVBKLKzw50Axr5u2vYDMLJzq','Aw52ywXPzgf0zvDVCMTZCgfJzvDHDgnOvg9WAwnZ','y2fWywjPBgL0EurLDgvJDg9Y','ChjLCgfYzuzVCKrPC2fIBgu','rKflrv9svu5orvjFreLtq09otKvdva','y29TBwfUzfn0yxrLCW','y29UDgLUDwu','ChjVBw90zq','BwfYqwDLBNrnB2rLBhm','CgvUzgLUz01PC3nPB25dB21Tyw5Ku3rHDgu','DxbNCMfKzq','D29YA3nWywnLswq','zgLYzwn0tMf0AxzL','BwLZC2LVBK1JCfnLCNzLCG','zgLZy292zxi','q0foq0vmteLorW','y3vZDg9TvgL0Bgu','uLvox05pvf9gt1vora','CMvJB25JAwXL','BwfUywDLzezVCK5HDgL2zq','D29YA3nWywnLu2vZC2LVBLnLCNzPy2u','ChjVAMvJDenVBNzLCNnHDgLVBKHVC3rPBMDdyxbHyMLSAxr5','BM9Kzs5TzxrYAwnZ','C2vZC2LVBKnHDgfSB2Dtzxj2AwnL','tK9erv9dt05gsuDFvu5bvKfjtefcteu','y29UDMvYC2f0Aw9UvgvTCgXHDgvpCgvYyxrPB25Z','y2XLyxjnAxnZAw9UuMv0CNK','ndm3otiYnvzOtwPZsq','zgLZCgf0y2G','y29UDMvYC2f0Aw9UlMHVC3rLzc5MAwXLCY51CgXVywqUy2fUy2vS','yMLUzenVBNrYB2W','yxbWCM92ywXjza','BMf0AxzLswrZ','Cgf1C2vtzxnZAw9UuxvLDwu','C3rVCfDHDgnO','Bw92zq','zxHLy3v0Aw9U','C2vJCMv0CW','CMvJB25Uzwn0','B25tDw1Tyxj5','ChjLC2vUDa','CMvXDwLYzq','DgvYBwLUywXdAgfUBMvS','q09ovKvsu0fusu9ox0Hpu1rjtKDFu1rpuKfhrv9vtKfwquLmqujmrq','y2fJAgvKu2vZC2LVBNm','y2XVC2u','ChjLCgfYzu1LC3nHz2vjBNb1Da','DMfSDwvZ','C3rVCMfNzunHCgfJAxr5','BwLZC2LVBLjLDhj5vgLTzxjZ','D29YA3nWywnLrMLSzvnLCNzPy2u','BM9Kzs51CgDYywrLlMnHBMnLBa','zwzMzwn0AxzLtwnWsw5ZDgfSBgf0Aw9UCW','DhvYBNm','zw5ZDxjLvg9WAwntBMfWC2HVDa','DhvYBG','Aw5Hy3rPDMvszxrLBNrPB25eyxLZ','ChjVzMLSzxm','y29UzMLN','zgvJAwrLq29KzxHbChbYB3zHBa','l2fWAs9UB2rLlxrVB2XZl3DLyI1ZzwfYy2G','y29UDMvYC2f0Aw9UvhvYBKzVCLj1BG','CMvZDw1LzenVBMzPz3vYyxrPB24','ChjVBw90zvnLC3nPB25jzgvUDgL0Eq','DxnLCKLUChv0CW','zxH0zxjUywXby3rPDML0Eq','AgfZqwn0AxzLu2vZC2LVBKXLyxnL','y29UDMvYC2f0Aw9UlMHVC3rPBMCUy2XLyw51Cc5LEgvJDxrL','CMvJB25JAwXLugvYC2LZDgvKuNvUCW','Dgv4Dc5KzwX0yq','C2vZC2LVBKnVBNrLEhrtzxj2AwnL','DgLTzxi','zxHWAxjL','A2LUza','zMLUywXSEq','C2vZC2LVBG','nZe2mJiYn0Pwq1Pqva','C3rHCNq','ms4WlJa','zMfPBgvKqxr0zw1WDhm','mtjkEvDQAxC','DhjHBNnPDgLVBMLUzW','q09ovKvsu0fusu9ox0Hpu1rjtKDFvu5bvKfjtefcteu','BNvTyMvY','AgfUzgXL','CNvUBMvY','mtyYmZzIvhzxs3y','zw1PDff1zxvL','y3jLyxrLzef0','mtq1nZiWmNDAs1vmra','C3vWzxj2AxnLzfvWz3jHzgu','BgLZDa','u0vora','Dg9WAwnby3rPDMu','C2vJCMv0rw52AxjVBM1LBNq','qvzbsuXbqKXf','CMvJB3jKrxHLy3v0Aw9UuMvZDwX0','C2vZC2LVBI5SAxn0','BwfYqwDLBNrsDw50Aw1Ltw9KzwXZ','y2fUy2vSq2XHDwrLuNvU','Dw5YzwDPC3rLCMvK','CMvMCMvZAenHCgfIAwXPDgLLCW','Aw5KzxG','zMLUAxnOswrSzu1PC3nPB25sDw4','y3vYCMvUDev4zwn1DgLVBKLK','AxrLBuLK','C2XPy2u','y2fWywjPBgL0AwvZ','zxzLBNruExbL','y29TBwL0twv0ywrHDge','C2f2zu5HDgL2zvnLC3nPB25nzxrHzgf0yq','ChvIBgLZAa','CMvNAxn0zxjoyxrPDMu','zw1PDfjLywX0Aw1L','BwfYqwDLBNrdBgLLBNq','zgvJAwrL','y29UBMvJDa','y2XLyw51Ca','y29UBMvJDgLVBKXPzMvJEwnSzq','tK9erv9eqvrbqKftrv9vtKfwquLmqujmrq','y3jLzgvUDgLHBa','zxHPDa','C2v0','y29UDMvYC2f0Aw9UlNrLBxbSyxrLlNnVDxjJzs5PBNnWzwn0','D29YA3nWywnLv29YA2jLBMnOu2vYDMLJzq','CNvUqxr0ywnOBwvUDfnLCNzPy2u','y29UDMvYC2f0Aw9U','Bwv0CMLJCW','y29UBMvJDgvK','ChvIBgLZAe1PC3nPB25tDgf0zq','CMvTzw1Izxi','y29UDMvYC2f0Aw9UlMHVC3rLzc5MAwXLlNjLywq','CMvJB3jK','zgLZy292zxjxB3jRC3bHy2vtzxnZAw9UCW','y2XLyxjxyxrJAgvZ','y29UDMvYC2f0Aw9Usg9ZDgLUz01HAw50zw5HBMnLu2vYDMLJzq','y29UDMvYC2f0Aw9Usg9ZDgLUz1bYB2jL','y29UDMvYC2f0Aw9UlMHVC3rLzc5Nzxq','C3rYAw5NAwz5','zxzLBNq','z2v0qwDLBNrtzxnZAw9U','AxnbCNjHEq','l21PC3nPB24','BM9KzvjLCxvLC3rZ','tK9erv9vueDsqurfx1bftKrjtKC','C2vUza','rvHurvjoquW','BM93','C2vUzevUDMvSB3bL','zw1PDfj1BKv2zw50','CNvUBMvYq2HHBM5LBe1LC3nHz2vZ','BMf0AxzLu2vZC2LVBLbYB2PLy3rPB25tzxj2AwnL','Aw52ywXPzgf0zvrVCgLJ','zw5XDwv1zu1PC3nPB25dB250Aw51yxrPB24','C2vZC2LVBLDHDgnOu2XVDhm','uvvfvuu','y2HHBMDLza','C2vZC2LVBKXPzMvJEwnSzvnLCNzPy2u','AgfUzgXLtM90AwzPy2f0Aw9U','CMvJB3zLCKLUDgvYCNvWDgvKuhvIBgLJyxrPB25Z','B25oB3rPzMLJyxrPB24','zw5ZDxjLv2f0y2G','Dgv4Da','y29UDMvYC2f0Aw9UlMHVC3rPBMCUy2XLyw51Cc5MywLSzwq','BM9KzuDLBMvYyxrPB24','D29YA3nWywnLu3rHDgu','C2vYDMvYvxjS','C2v0r2vUzxjHDgvKsw1Hz2vszwDPC3rYyxi','DxbNCMfKzunVB3jKAw5HDg9Y','BgLZDfDVCMTZCgfJzxm','zxHLy3v0zu5VzgvpCgvYyxrPB24','zMLSDgvY','BM9Kzs51CgDYywrLlNjLCxvLC3q','Ag9ZDgvKq29UDMvYC2f0Aw9UuNvUDgLTzq','y29UDMvYC2f0Aw9UlMHVC3rLzc5JCMvHDgu','y29UDMvYC2f0Aw9UlNrLBxbSyxrLlNb1yMXPC2G','zgvJAwrLq2XHDwrLqxbWCM92ywW','CMvTB3zL','BwLZC2LVBLj1BNrPBwu','sfruua','BM90AwzPy2f0Aw9U','Aw5ZDgfSBgf0Aw9U','ChjVBxb0','D29YA3nWywnLq2HHBMDLu2vYDMLJzq','zMfRzvnJCMLWDa','CNvUu3rHDgu','Aw52ywXPzgf0zq','zM9Yz2v0','CMvNAxn0zxjbBgW','BgLUDxG','yxzHAwXHyMXL','zgLZy292zxjxB3jRC3bHy2u','BwLZC2LVBKnVBNrPBNvHDgLVBLbLBMrPBMC','DxbKyxrLqwDLBNrtzxnZAw9UqwnJzxnZ','AgfZ','CMvWBgfJzvnVy2TLDezVCLrLC3rPBMC','CMvNAxn0zxjoyxrPDMvjBwfNzxm','Aw5ZCgvJDe1LDgfKyxrH','y29UDMvYC2f0Aw9UlMHVC3rLzc5MAwXLCY51CgXVywqUC3rHDhvZ','D29YA3nWywnLq29VCMrPBMf0B3i','AxndB252zxjZyxrPB25jBLvZzq','zxHWAxjLqxbWCM92ywW','C2vZC2LVBLn0yxrL','zgLZCg9Zzq','BMf0AxzLsw1Hz2vsB290CW','Aw5ZCgvJDa','nfPqDw5xAa','CMvXDwvZDenSyxvKzvvZzxjjBNb1Da','CMvJzw50lxj1BNm','ywn0AxzLu2vZC2LVBLj1BG','zw1PDfnLC3nPB25xB3jRyMvUy2HfDMvUDa','zw1PDfj1BG','BgLZDfj1BNngB3jtzxnZAw9U','ChvIBgLZAefWChjVDMfS','AxrLBxm','ANnVBG','CNvUlMnVBxbSzxrLza','yMXVy2TZ','BM9Kzs53B3jRyMvUy2GUy2fWywjPBgL0AwvZ','y29UDMvYC2f0Aw9UlMHVC3rPBMCUy2XLyw51Cc5WCMv2Awv3','uKvkrunuruq','B3bLBKnVzgvsDw5dB250CM9SBgvY','D29YA2jLBMnOrxzLBNrtzxj2AwnL','y2fWywjPBgL0AwvZuhjVDMLKzwq','ywn0AxzLv29YA3nWywnLtgvHC2vdB3vUDa','y29UDMvYC2f0Aw9UlMHVC3rLzc5MAwXLCY51CgXVywqUy29TCgXLDgu','ywnJzxb0rM9YtwvZC2fNzq','BwLZC2LVBG','yxnZAxn0yw50x21LC3nHz2u','DxbNCMfKzs1Yzxn1BhqUANnVBG','y29UDMvYC2f0Aw9UlMHVC3rLzc5PBwfNzs5YzwfK','C2vXDwvUy2u','y29UBMvJDgvKqxr0zw1WDa','D29YA2jLBMnOtwfUAwzLC3rtzxj2AwnL','CMvXDwvZDenSyxvKzufWChjVDMfS','BM9KzuLK','ChjVAMvJDgLVBKzVCK5HDgL2zq','C25HChnOB3q','zxHLy3v0Aw9Uu3rHCNrLza','C2v0q2HHBM5LBfrVA2vU','y29UDMvYC2f0Aw9UlNrLBxbSyxrLlNb1yMXPC2GUC3rHDhvZ','l21PC3nPB24Gls1JBgvHCG','y2fWywnPDhK','CNvUrxzLBNrtzxj2AwnL','BM9Kzs5JB25Uzwn0Aw9UlNjLCgXHy2vK','CMvJzw50uNvUuhjVAMvJDgLVBLnLCNzPy2u','Ag9ZDgvKq29UDMvYC2f0Aw9Uu2vYDMLJzq','CMvHze5HDgL2zq','C2nOzwr1Bgu','zMfRzvj1BM5LCG','ue9tva','y29UDMvYC2f0Aw9UlMHVC3rLzc5MAwXLCY51CgXVywqUy3jLyxrL','zwzMB3j0','z2v0v29YA3nWywnL','BwfYqwDLBNrnB2rLBfrYyw5ZCg9YDfrLC3rZ','y29UDMvYC2f0Aw9UlMHVC3rLzc5PBNrLCNj1Chq','BMf0AxzLlNnLC3nPB24UzgLZy292zxj5lNbLBMrPBMC','y2XLyxi','CMvWBgfJzq','y29TCgXLDgvdyw5JzwXSzwrsDw4','C2H1DgrVD24','ChvIBgLZAfnUyxbZAg90','BxLHz2vUDhjVyw1FBwLZC2LVBG','Bwf0zxjPywXPEMvdB2rLEa','CNvUlNj1BM5PBMC','CMvSzwfZzvnLC3nPB24','qMvHCMvYia','CMvHza','yxbWzw5K','CMfUzg9Tvvvjra','Ahr0Chm6lY8XmJCUmc4WlJeUAw52ywXPzc9Ty3a','y3jLyxrLqxbWCM92ywW','zxHLy3v0zq','BwfYlwLUDgvYBMfSlw1PC3nPB24','CMvJB3jKvhvYBG','CNvUDgLTzunYzwrLBNrPywXZ','q09ovKvsu0fusu9ox0Hpu1rjtKDFuKvdt1zfuLLFrKfjteve','y2HHBM5LBfrVA2vU','CMv2AxnPB24','y29UDMvYC2f0Aw9UlML0zw0','BM9Kzs5VCgvYyxrPB24','Cgf5Bg9Hza','CMvNAxn0zxjhzw5LCMf0zwrjBwfNzxm','DxbNCMfKzvjLywr5','D2LUmZi','yxnZzxj0q2fUq3jLyxrL','q09ovKvsu0fusu9ox0Hpu1rjtKDFq0Xfqu5vuf9gquLmruq','ywrK','Aw5PDgLHBgL6zq','mtCWmtaYnKr3rNLtza','y2XLyxjbBgW','CNvUBMvYCW','y29UDMvYC2f0Aw9UlNrLBxbSyxrLlNzLCNnPB24UAw5ZCgvJDa','CNvUBMvYvxnHz2vszwfKzxi','y2fUy2vSq29KzxHuDxjU','nZy0mtqXqKT5wNPv','D29YA3nWywnLvxbSB2fKu2vYDMLJzq','y2f0y2G','zw5ZDxjLuMvZDw1LzenVBMzPz3vYyxrPB24','CMvQzwn0','D29YA3nWywnLuxvLDwvxB3jRyMvUy2Htzxj2AwnL','y2XHDwrLq2XPzw50','BMv4Da','y29UDMvYC2f0Aw9UlMHVC3rPBMCUC3rVCMfNzs5PBNnWzwn0','y29KzxG','CMvTB3zLugvUzgLUz1f1zxvL','CNvUDgLTzs1UB2rL','zMX1C2Hqzw5KAw5Nvgv4Da','y29TCgXLDgvKqxq','y29UDMvYC2f0Aw9UsgLZDg9YEvnLCNzPy2u','C2L6zq','Aw52ywXPzgf0zunOyw5Nzxm','Aw5PDgLHBgL6zunVBNzLCNnHDgLVBKHVC3rPBMC','tK9erv9vtKfvveHftLrjq0furuq','y29UDMvYC2f0Aw9UlMHVC3rLzc5TzxrHzgf0ys51CgrHDgu','DgHYzwfKswq','Cgf0Aa','C3rHCNrLzef0','CNvUBMvYu2vYDMLJzq','B3bLCMf0Aw9UuM91DgvY','y29UDMvYC2f0Aw9Uu2vNBwvUDfnLCNzPy2u','zw1PDenVBNzLCNnHDgLVBKL0zw0','zgf0ywjHC2u','y29UDMvYC2f0Aw9UlMHVC3rLzc5JB25MAwCUDxbKyxrL','CgXHDgzVCM0','ywn0AxzL','zgvJAxnPB24','CMvMCMvZAfrPDgXL','yxbWBgLJyxrPB24VANnVBG','CNvUlNn0yxj0zwq','CNvUCW','y29UDMvYC2f0Aw9UlMHVC3rLzc5SAxn0','y2fUy2vS','y2XHDwrLuNvUq29UDhjVBgXLCG','zgvJAwrLqxbWCM92ywW','tuLtu0LptL9ot1rFqunusvzf','CNvUBMvYvgL0Bgu','CNvUDgLTzq','ChjVAMvJDeLUAxrPywW','Ag9ZDgvKlwnVBNzLCNnHDgLVBG','B3bLCMf0Aw9UCW','y29KzxHqCM9MAwXLq2XPzw50rMfJDg9YEq','zgLZy29UBMvJDa','C2vZC2LVBI13yxrJAc1ZBMfWC2HVDa','C3vIBwL0twLZC2LVBG','DgvYBwLUywXtzxj2AwnL','zw1PDfDVCMTIzw5JAev2zw50','Aw50zxjYDxb0','y29KzxHdBgLLBNq','yMXVy2TbzNrLCLj1BNrPBwvgywLSDxjL','AgfUzgXLtwvZC2fNzq','y29UDhjVBenOyw5UzwW','y29UDMvYC2f0Aw9Usg9ZDgLUz0zHAwX1CMvdB2rL','y29UzMLNugf0Aa','y2XLyxjxB3jRC3bHy2u','vgHPCYboB2rLignVBM5Ly3rPB24GD2fZihjLCgXHy2vKigj5igeGBMv3zxiGAw5ZDgfUy2uGD2L0Acb0AguGC2fTzsbPzgvUDgL0Es4Gq2HLy2SGzM9Yigr1CgXPy2f0zsbWCM9JzxnZzxmU','CMvJB3jKzwqTC2vZC2LVBG','CgvYC29UywXjBNn0CNvJDgLVBNm','BwfYqwDLBNrnB2rLBa','zgvSzxrL','Dw5Yzwy','CMvTB3zLtwLZC2LVBLf1zxvL','Aw50zxjYDxb0uMvXDwvZDgvK','q0foq0vm','B2jQzwn0AxzL','ywXSB3DLzfjVB3rZ','zMfZDa','CMvXDwvZDa','CMvZDw1Lqwz0zxjdB21Tyw5KuNvU','y29UDMvYC2f0Aw9UlMHVC3rLzc51BNDHDgnO','y3DK','BwfYqwDLBNrsDw50Aw1Lu2nVCgvjza','zw1PDenVBNzLCNnHDgLVBLr1CM4','y2XHDwrLqxbWCM92ywXuAw1LB3v0txm','v09ss1nqqunf','zMLUza','y29UDMvYC2f0Aw9UlMHVC3rLzc5MAwXLCY5SAxn0','CMv2B2TL','y2XVC2vsDw5UAw5NvgvYBwLUywXtzxnZAw9UCW','u1vdq0vfreve','C3rVChbLza','AgfZrxHLy3v0Aw9Uu3rHCNrLza','Bg9HzfjLC3vSDa','BMf0AxzLu2vZC2LVBLDHDgnOu2vYDMLJzq','Bw9KzwW','twLZC2LVBG','C3rVCa','BwLU','CNvUrxzLBNrcCMLKz2u','y29UDMvYC2f0Aw9UlMHVC3rLzc5KzwXLDgu','yMLUzenVBw1HBMrdB250CM9S','tK9erv9tve9queve','CMvIDwLSzenVBNzLCNnHDgLVBKLUzgv4','CgvYC2LZDezPBgvZ','C29JA2v0','D2f0y2GUzxzLBNq','C3rHDgu','C2v0u2vZC2LVBLjLC291CMnLuMvSzwfZzxi','zxH0zxjUywXtzxnZAw9UuMvZDw1Lu2vYDMLJzq','z2v0','zxH0zxjUywXtzxnZAw9Uswq','y29UDMvYC2f0Aw9UlMHVC3rPBMCUAw5PDgLHBgL6yxrPB24UzMfPBgvK','CNvUBMvYlMnVBw1HBMqUzxHLy3v0zq','y3jLyxrLqwDLBNrtzxnZAw9U','DhvYBKLK','C3rVChbPBMC','y29UDMvYC2f0Aw9Usg9ZDgLUz1n0B3jHz2vszwfKEq','C2vZC2LVBK1LC3nHz2vtzxj2AwnL','zMfRztO','D2vIu2vHCMnO','tufsx0fhru5ux1DfqL9trufsq0HFrKfjteve','D2LUzg93CW','ywnJzxnZ','z2v0uNvU','C25HChnOB3rtzxf1zw5Jzq','y29UDMvYC2f0Aw9UlMHVC3rLzc5MAwXLCY51CgXVywqUy2H1BMS','ChjLCgfYzu1PC3nPB25tzxnZAw9U','B3bLBKnVzgvdBgLLBNq','q0foq0vmteve','CgvYC2LZDfrLCM1PBMfS','y29UDMvYC2f0Aw9UlMHVC3rLzc53yxrJAa','yMvNAw5dB252zxjZyxrPB25dBgvHBNvW','CNvU','y29UDMvYC2f0Aw9Usg9ZDgLUz01HAw50zw5HBMnLt3bLCMf0Aw9UCW','ywrVChrsDw4','surmrq','Ag9ZDgvKq29UDMvYC2f0Aw9Ut3bLCMf0Aw9UCW','CNvUswq','lw9Wzw5JB2rLlwLTywDLCW','BwLNCMf0zvnLC3nPB24','CNvUlMzHAwXLza','tuLtu0LptL9dt05usu5vqvrjt05FrKfjteve','y29UDMvYC2f0Aw9UlMHVC3rLzc5MAwXLCY51CgXVywqUChjLzMXPz2H0','uKvqtefdrv9dvvjsru5u','zw5HyMXLza','CMvZCg9UzfvZzxjjBNb1Da','CMvZB2X2zun1CNjLBNq','BwfYqwDLBNrsDw5dB250CM9SBgvY','BwLNCMf0zvj1BM5LCLnLC3nPB25jzgvUDgL0Eq','tK9erv9dt05orunusu9ox1jfueXbq0ve','ChvIBgLZAfDVCMTIzw5JAev2zw50','CMvNAxn0zxi','C2vZC2LVBNm','rKfjteve','y29UDMvYC2f0Aw9UlMHVC3rLzc5TzxnZywDL','BwfUywDLzfj1BM5LCLnLC3nPB25Z','CMvSzwfZzunVBNzLCNnHDgLVBKzVCKnSzwfUDxa','zxHLy3v0zunVBw1HBMq','BM9Kzs5JB25Uzwn0Aw5N','CMvZB2X2zq','Bwv0ywrHDge','Bwf4','C2vZC2LVBKLK','y29UDgLUDw91C1j1BKnVB3jKAw5HDg9Y','C2vZC2LVBLf1zxj5u2vYDMLJzq','CMvMCMvZAev4DgvYBMfSqwn0AxzPDhK','zgLZy29UBMvJDgvK','CMvHzeHPC3rVCNLqywDL','C3rYAw5N','CgvUzgLUzW','Aw52ywXPzgf0zunHy2HL','D29YA3nWywnLu2vYDMLJzq','CNvUv29YA2jLBMnOu2vYDMLJzq','yxbWCM92ywXZ','y29KzxHsDw5dB250CM9SBgvY','y29UDhjVBe1LC3nHz2vZ'];_0x596b=function(){return _0x589c8e;};return _0x596b();}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';function _0x16f7(_0x2f2f52,_0xf309a4){_0x2f2f52=_0x2f2f52-(-0x425*-0x3+0xf5b+0x1*-0x1a25);const _0x3b0805=_0x596b();let _0x39b9eb=_0x3b0805[_0x2f2f52];if(_0x16f7['wyMeZs']===undefined){var _0x5559ca=function(_0x35f2e6){const _0x28cca3='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x4376df='',_0x5b342c='';for(let _0x21adcb=0x145a+0x26d2+0x1c*-0x21d,_0x48d0d7,_0x25a016,_0x5d49a3=-0x1*-0x6+0x1a9a+-0x1aa0;_0x25a016=_0x35f2e6['charAt'](_0x5d49a3++);~_0x25a016&&(_0x48d0d7=_0x21adcb%(0x194e+0x5*0x414+0x2dae*-0x1)?_0x48d0d7*(-0x46*-0x3e+-0x1b78*-0x1+0x16*-0x202)+_0x25a016:_0x25a016,_0x21adcb++%(-0x14a*0x11+0x20a6+-0xab8))?_0x4376df+=String['fromCharCode'](0xcef+0x1359+-0x1f49&_0x48d0d7>>(-(-0x19fc+-0x1c3+-0x23*-0xcb)*_0x21adcb&-0x10b9*0x1+0x3c*0x3d+0x273)):-0x9ae+0x1f9*-0xa+-0x1*-0x1d68){_0x25a016=_0x28cca3['indexOf'](_0x25a016);}for(let _0x48f012=-0x1f6+-0x243e+0x2634,_0x4f87cd=_0x4376df['length'];_0x48f012<_0x4f87cd;_0x48f012++){_0x5b342c+='%'+('00'+_0x4376df['charCodeAt'](_0x48f012)['toString'](0x149d+-0x21ae+0x1*0xd21))['slice'](-(0xb*0x21a+-0x1fe2*-0x1+-0x36fe));}return decodeURIComponent(_0x5b342c);};_0x16f7['WVqFbC']=_0x5559ca,_0x16f7['qEXREl']={},_0x16f7['wyMeZs']=!![];}const _0x417cd6=_0x3b0805[-0x1*-0x1b74+-0x1849+-0x32b];_0x16f7['LdLTEw']!==_0x417cd6&&(_0x16f7['qEXREl']={},_0x16f7['LdLTEw']=_0x417cd6);const _0x35b91a=_0x16f7['qEXREl'][_0x2f2f52];return _0x35b91a===undefined?(_0x39b9eb=_0x16f7['WVqFbC'](_0x39b9eb),_0x16f7['qEXREl'][_0x2f2f52]=_0x39b9eb):_0x39b9eb=_0x35b91a,_0x39b9eb;}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';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=0x1*-0x92b+0x3319*0x1+0x10aa,CAPABILITY_REFRESH_MS=0x10b*-0x79+-0xb4b3+0x1*0x21d46,RETRY_MIN_MS=0x3a9*0x3+-0x81*-0x4b+-0x2ed2*0x1,RETRY_MAX_MS=0x883c+0x7db*0xb+-0x6975,CLAUDE_APPROVAL_TIMEOUT_MS=(0xb*-0x281+-0x26cf+0x4264)*(-0x1645c+-0x137cf+0x3868b),CONVERSATION_TEMPLATE_OPERATIONS=[_0x281842(0x22c),_0x281842(0x260),_0x281842(0x2a1),_0x281842(0x2d5)],HOSTED_CONVERSATION_OPERATIONS=[_0x281842(0x2fc),_0x281842(0x25f),_0x281842(0x23a),_0x281842(0x355),_0x281842(0x322),_0x281842(0x36d),_0x281842(0x2b0),_0x281842(0x2f4),_0x281842(0x2eb),_0x281842(0x297),_0x281842(0x329),_0x281842(0x234),_0x281842(0x361),_0x281842(0x2ac),_0x281842(0x350),_0x281842(0x277),_0x281842(0x292),_0x281842(0x1ce),_0x281842(0x336)],CONVERSATION_HOSTING_MAINTENANCE_OPERATIONS=[_0x281842(0x2e0),_0x281842(0x28c),_0x281842(0x1f4)];export function nextReconnectDelay(_0x1ad98b){const _0x9e9aff=_0x281842;return Math[_0x9e9aff(0x334)](RETRY_MAX_MS,RETRY_MIN_MS*(0x1c05+0xc2*-0x13+-0xd9d)**Math[_0x9e9aff(0x334)](Math[_0x9e9aff(0x374)](_0x1ad98b,0x25dd+0x132d+-0x390a),0x3*-0x609+0xca+0x1161));}function upgradeMetadata(_0x53555a,_0x3e8c4e){const _0x23d368=_0x281842,_0x477ca6={..._0x53555a??{}};if(process.env['MAR_NODE_SUPERVISED']==='1')_0x477ca6[_0x23d368(0x20b)]=!![];else delete _0x477ca6[_0x23d368(0x20b)];if(_0x3e8c4e[_0x23d368(0x33d)]===_0x23d368(0x35a))delete _0x477ca6[_0x23d368(0x1bb)];else _0x477ca6[_0x23d368(0x1bb)]=_0x3e8c4e;return _0x477ca6;}export class NodeConnector{[_0x281842(0x255)]=crypto[_0x281842(0x2be)]()[_0x281842(0x2b3)](/-/g,'');[_0x281842(0x310)];[_0x281842(0x382)];[_0x281842(0x240)];[_0x281842(0x227)];[_0x281842(0x2c4)]=new RuntimeCredentialControlService({'send':envelope=>this[_0x281842(0x245)](envelope)});[_0x281842(0x213)]=new MarAgentRuntimeModelFactory(this[_0x281842(0x2c4)]);[_0x281842(0x2af)]=new MarAgentModelTransportTestService({'modelFactory':this[_0x281842(0x213)]});set[_0x281842(0x33b)](_0x1e670d){const _0xb2e15e=_0x281842;this[_0xb2e15e(0x310)][_0xb2e15e(0x274)](_0x1e670d);}[_0x281842(0x32d)]=![];[_0x281842(0x346)];[_0x281842(0x1eb)];[_0x281842(0x290)];[_0x281842(0x21c)];[_0x281842(0x1b3)];[_0x281842(0x239)];[_0x281842(0x347)]=![];[_0x281842(0x311)];[_0x281842(0x1ca)];[_0x281842(0x35b)];[_0x281842(0x358)];[_0x281842(0x25e)];[_0x281842(0x2a7)];[_0x281842(0x238)];[_0x281842(0x312)];[_0x281842(0x1d7)];[_0x281842(0x326)];[_0x281842(0x28f)]=new WorkbenchEventService(envelope=>this[_0x281842(0x245)](envelope),(category,payload)=>{const _0x4cae90=_0x281842,sessionId=workbenchPayloadSessionId(this[_0x4cae90(0x302)],category,payload);return sessionId===undefined||!this[_0x4cae90(0x1b1)][_0x4cae90(0x1a7)][_0x4cae90(0x273)](sessionId);});[_0x281842(0x2aa)];[_0x281842(0x269)];[_0x281842(0x26a)]=new RunDomainState();[_0x281842(0x335)];[_0x281842(0x278)];[_0x281842(0x27b)]=new SessionDomainState();[_0x281842(0x1b1)];[_0x281842(0x248)];[_0x281842(0x2e6)];[_0x281842(0x2f1)];[_0x281842(0x1ab)];[_0x281842(0x247)];[_0x281842(0x36e)];[_0x281842(0x383)];[_0x281842(0x24e)];[_0x281842(0x33f)];[_0x281842(0x348)];[_0x281842(0x1c8)];[_0x281842(0x1aa)];[_0x281842(0x22e)];[_0x281842(0x1db)];[_0x281842(0x30d)];[_0x281842(0x381)];[_0x281842(0x2de)];[_0x281842(0x352)];[_0x281842(0x223)];[_0x281842(0x366)];[_0x281842(0x28e)];[_0x281842(0x2fe)];[_0x281842(0x2d4)];[_0x281842(0x1f7)];[_0x281842(0x37f)];[_0x281842(0x377)];[_0x281842(0x376)];[_0x281842(0x2dd)];[_0x281842(0x2f0)]=new NodeOperationRouter();[_0x281842(0x2ef)];[_0x281842(0x29a)];[_0x281842(0x30a)];[_0x281842(0x37e)];[_0x281842(0x1b6)]=new CommandStateStore();[_0x281842(0x263)]=new MissionRuntime(()=>undefined);[_0x281842(0x1e2)]=new Map();[_0x281842(0x271)]=new Map();[_0x281842(0x1be)]=new MissionMcpServer(this[_0x281842(0x263)],sessionId=>{const _0x1416ce=_0x281842,mission=this[_0x1416ce(0x263)][_0x1416ce(0x340)](sessionId),session=this[_0x1416ce(0x302)][_0x1416ce(0x23d)](sessionId);if(mission===undefined||session===undefined)return;if(mission[_0x1416ce(0x1a9)]!==_0x1416ce(0x2f6))this[_0x1416ce(0x376)][_0x1416ce(0x31a)](sessionId);this[_0x1416ce(0x232)](session,mission);});[_0x281842(0x2d6)];[_0x281842(0x1b0)];[_0x281842(0x259)];[_0x281842(0x256)]=new WorkspaceDomainState();[_0x281842(0x1a5)]=new WorkspaceWatchService(this[_0x281842(0x256)],workspaceId=>this[_0x281842(0x1c5)][_0x281842(0x252)](workspaceId),workspaceId=>this[_0x281842(0x1c5)][_0x281842(0x1d3)](workspaceId),workspaceId=>this[_0x281842(0x22d)]?.[_0x281842(0x313)](workspaceId));[_0x281842(0x1c5)]=new WorkspaceSessionService(this[_0x281842(0x256)],{'discover':workspaceId=>this[_0x281842(0x236)](workspaceId),'listPage':workspaceId=>this[_0x281842(0x25b)](_0x281842(0x212),{'workspaceId':workspaceId,'limit':0x14}),'active':workspaceId=>this[_0x281842(0x1a5)][_0x281842(0x20e)](workspaceId,_0x281842(0x36b)),'invalidate':workspaceId=>void this[_0x281842(0x22d)]?.[_0x281842(0x249)](workspaceId,_0x281842(0x36b)),'onPending':(workspaceId,waitMs)=>nodeLog(_0x281842(0x2b1),{'nodeId':this[_0x281842(0x1eb)]?.[_0x281842(0x29c)],'workspaceId':workspaceId,'waitMs':waitMs})});[_0x281842(0x1e3)]=new WorkspaceFileService(this[_0x281842(0x256)],()=>this[_0x281842(0x1eb)]?.[_0x281842(0x31e)]??[],workspaceId=>this[_0x281842(0x278)][_0x281842(0x26b)](workspaceId));[_0x281842(0x2d9)]=new WorkspaceUploadService(this[_0x281842(0x256)],workspaceId=>{const _0x5462ca=_0x281842;this[_0x5462ca(0x1e3)][_0x5462ca(0x27c)](workspaceId),this[_0x5462ca(0x278)][_0x5462ca(0x26b)](workspaceId);});[_0x281842(0x268)]=new WorkspaceChangeService(this[_0x281842(0x256)]);[_0x281842(0x22d)];[_0x281842(0x2f3)];[_0x281842(0x2a6)]=new RecentRunProjectionService(message=>this[_0x281842(0x242)](_0x281842(0x281),message));[_0x281842(0x302)]=new NodeRuntimeState(()=>this[_0x281842(0x1eb)]?.[_0x281842(0x29c)]??_0x281842(0x2e3),workspaceId=>this[_0x281842(0x2f3)]?.[_0x281842(0x2ae)](workspaceId),Date[_0x281842(0x244)],(run,session,userMessage)=>this[_0x281842(0x2a6)][_0x281842(0x235)](run,session,userMessage));[_0x281842(0x230)]=new NodeMetrics();[_0x281842(0x2a4)]=new RunEventService({'runtime':this[_0x281842(0x302)],'metrics':this[_0x281842(0x230)],'state':this[_0x281842(0x26a)],'isBootstrapSession':sessionId=>this[_0x281842(0x1b1)][_0x281842(0x1a7)][_0x281842(0x273)](sessionId),'presentSession':session=>this[_0x281842(0x383)][_0x281842(0x1d9)](session),'rejectBootstrap':(sessionId,code)=>this[_0x281842(0x1b1)][_0x281842(0x2dc)](sessionId,code),'emitWorkbench':(category,payload)=>{const _0x3ae8fe=_0x281842;if(category===_0x3ae8fe(0x22f)&&isPlainRecord(payload)&&_0x3ae8fe(0x1e8)in payload)this[_0x3ae8fe(0x325)](payload[_0x3ae8fe(0x1e8)]);else this[_0x3ae8fe(0x369)](category,payload);},'cleanupAttachments':runId=>this[_0x281842(0x22e)][_0x281842(0x226)](runId),'expireImages':runId=>this[_0x281842(0x22e)][_0x281842(0x1f9)](runId),'scheduleContextRefresh':sessionId=>this[_0x281842(0x1f7)][_0x281842(0x2a9)](sessionId),'refreshWorkspaceSessions':workspaceId=>this[_0x281842(0x22d)][_0x281842(0x1e7)](workspaceId,_0x281842(0x36b)),'dispatchQueue':async(sessionId,delayMs=-0x243e+-0x3fd+-0x283b*-0x1)=>{const _0x529d0a=_0x281842;if(this[_0x529d0a(0x259)][_0x529d0a(0x37c)]())return;if(delayMs>0x1*-0x417+0x4ca*-0x2+0x1*0xdab){this[_0x529d0a(0x376)][_0x529d0a(0x2a9)](sessionId,delayMs);return;}await this[_0x529d0a(0x376)][_0x529d0a(0x1cd)](sessionId);},'executionStarted':executionId=>this[_0x281842(0x376)][_0x281842(0x29f)](executionId),'keepRunActive':sessionId=>(this[_0x281842(0x1e2)][_0x281842(0x273)](sessionId)||this[_0x281842(0x271)][_0x281842(0x273)](sessionId))&&this[_0x281842(0x263)][_0x281842(0x340)](sessionId)?.[_0x281842(0x1a9)]===_0x281842(0x2f6),'executionTerminating':(executionId,status)=>{const _0x20cb20=_0x281842,pending=this[_0x20cb20(0x376)][_0x20cb20(0x37c)](executionId);if(pending?.[_0x20cb20(0x294)]===undefined)return;const started=this[_0x20cb20(0x376)][_0x20cb20(0x32e)](executionId),blocked=this[_0x20cb20(0x263)][_0x20cb20(0x211)](pending[_0x20cb20(0x375)],status===_0x20cb20(0x36c));if(blocked){this[_0x20cb20(0x1cb)](pending[_0x20cb20(0x375)]),this[_0x20cb20(0x376)][_0x20cb20(0x31a)](pending[_0x20cb20(0x375)]);const terminalMission=this[_0x20cb20(0x263)][_0x20cb20(0x340)](pending[_0x20cb20(0x375)]),session=this[_0x20cb20(0x302)][_0x20cb20(0x23d)](pending[_0x20cb20(0x375)]);if(terminalMission!==undefined&&session!==undefined)this[_0x20cb20(0x232)](session,terminalMission);return;}if(status!==_0x20cb20(0x36c)||started)return;this[_0x20cb20(0x1cb)](pending[_0x20cb20(0x375)]);const retry={'sessionId':pending[_0x20cb20(0x375)],'timer':setTimeout(()=>{const _0x2d7fdb=_0x20cb20;this[_0x2d7fdb(0x1e2)][_0x2d7fdb(0x318)](retry[_0x2d7fdb(0x375)]);const mission=this[_0x2d7fdb(0x263)][_0x2d7fdb(0x340)](retry[_0x2d7fdb(0x375)]);if(mission?.[_0x2d7fdb(0x1a9)]!==_0x2d7fdb(0x2f6)||mission['id']!==pending[_0x2d7fdb(0x294)]?.['id']||mission[_0x2d7fdb(0x2c7)]!==pending[_0x2d7fdb(0x294)][_0x2d7fdb(0x2c7)])return;void this[_0x2d7fdb(0x348)][_0x2d7fdb(0x309)]({'sessionId':retry[_0x2d7fdb(0x375)],'kind':_0x2d7fdb(0x1b7),'content':this[_0x2d7fdb(0x263)][_0x2d7fdb(0x267)](retry[_0x2d7fdb(0x375)],_0x2d7fdb(0x1b7)),'deliveryIntent':_0x2d7fdb(0x20d),'mission':{'id':mission['id'],'revision':mission[_0x2d7fdb(0x2c7)]},'secretEnvironment':pending[_0x2d7fdb(0x20f)],...pending[_0x2d7fdb(0x316)]===undefined?{}:{'personalInstructions':pending[_0x2d7fdb(0x316)]},...pending[_0x2d7fdb(0x317)]===undefined?{}:{'marAgentModel':pending[_0x2d7fdb(0x317)]},...pending[_0x2d7fdb(0x1b9)]===undefined?{}:{'marAgentModels':pending[_0x2d7fdb(0x1b9)]},...pending[_0x2d7fdb(0x324)]===undefined?{}:{'marAgentRuntimeScopeId':pending[_0x2d7fdb(0x324)]}})[_0x2d7fdb(0x2da)](()=>undefined);},0x208f+-0xb9b*0xa+-0x1*-0x8e17)};this[_0x20cb20(0x1e2)][_0x20cb20(0x22b)](pending[_0x20cb20(0x375)],retry),retry[_0x20cb20(0x1f8)][_0x20cb20(0x319)]();},'releaseExecution':executionId=>{const _0x1c1e84=_0x281842;this[_0x1c1e84(0x1be)][_0x1c1e84(0x32a)](executionId),this[_0x1c1e84(0x376)][_0x1c1e84(0x262)](executionId);}});[_0x281842(0x24b)]=new SessionWatchSlotCoordinator();[_0x281842(0x330)]=new NativeSessionWatchService({'resolve':async sessionId=>this[_0x281842(0x302)][_0x281842(0x23d)](sessionId)??this[_0x281842(0x248)][_0x281842(0x365)](sessionId),'managedActive':session=>hasManagedActiveRun(this[_0x281842(0x302)],session),'suspended':sessionId=>this[_0x281842(0x33f)][_0x281842(0x202)](sessionId),'refreshActivity':session=>this[_0x281842(0x2e6)][_0x281842(0x378)](session),'present':session=>this[_0x281842(0x383)][_0x281842(0x1d9)](session),'readPage':(session,limit)=>this[_0x281842(0x2e6)][_0x281842(0x2bc)](session,{'limit':limit}),'readHistoryPage':(session,limit)=>this[_0x281842(0x2e6)][_0x281842(0x37a)](session,{'limit':limit}),'convergePage':convergeConversationWatchPage,'composeRuntimePage':composeConversationRuntimePage,'projectInitialPage':(session,page,_unit,limit)=>{const _0xb2028=_0x281842,context=this[_0xb2028(0x1f7)][_0xb2028(0x29e)](session['id']);return this[_0xb2028(0x1f7)][_0xb2028(0x2a9)](session),{'kind':_0xb2028(0x308),'sequence':this[_0xb2028(0x28f)][_0xb2028(0x34f)](),'session':this[_0xb2028(0x383)][_0xb2028(0x1d9)](session),'runs':this[_0xb2028(0x302)][_0xb2028(0x285)](session['id']),'queue':this[_0xb2028(0x2dd)][_0xb2028(0x29e)](session['id']),'context':context,'conversation':this[_0xb2028(0x2f1)][_0xb2028(0x303)](session,page,limit)};},'emitSession':session=>this[_0x281842(0x283)]({'session':session}),'emitPage':(session,page)=>this[_0x281842(0x30b)](_0x281842(0x22f),{'sessionId':session['id'],'snapshot':this[_0x281842(0x2f1)][_0x281842(0x303)](session,page,-0x148e+-0x12+0x5*0x422)}),'nodeId':()=>this[_0x281842(0x1eb)]?.[_0x281842(0x29c)]??_0x281842(0x2e3),'nodeGeneration':()=>this[_0x281842(0x255)],'emitWatchEvent':payload=>this[_0x281842(0x242)](_0x281842(0x33c),payload),'sessionWatchSlots':this[_0x281842(0x24b)],'log':nodeLog});constructor(_0x136e98={}){const _0x1a668a=_0x281842;this[_0x1a668a(0x1eb)]=_0x136e98[_0x1a668a(0x1eb)],this[_0x1a668a(0x312)]=_0x136e98[_0x1a668a(0x312)],this[_0x1a668a(0x326)]=_0x136e98[_0x1a668a(0x326)]??CLAUDE_APPROVAL_TIMEOUT_MS,this[_0x1a668a(0x290)]=_0x136e98[_0x1a668a(0x21c)]!==undefined,this[_0x1a668a(0x21c)]=_0x136e98[_0x1a668a(0x21c)]??unavailableCapabilities(),this[_0x1a668a(0x239)]=_0x136e98[_0x1a668a(0x239)]??probeBubblewrap,this[_0x1a668a(0x259)]=new NodeUpgradeCoordinator(()=>{const _0x2adb2b=_0x1a668a;if(this[_0x2adb2b(0x1eb)]===undefined)throw new Error(_0x2adb2b(0x1c9));return nodeUpgradeRequestPath(nodeDatabasePath(this[_0x2adb2b(0x1eb)],this[_0x2adb2b(0x312)]));},()=>this[_0x1a668a(0x26a)][_0x1a668a(0x2f6)][_0x1a668a(0x2e7)],_0x2e238b=>{const _0xd5ed07=_0x1a668a;this[_0xd5ed07(0x21c)]={...this[_0xd5ed07(0x21c)],'metadata':upgradeMetadata(this[_0xd5ed07(0x21c)][_0xd5ed07(0x373)],_0x2e238b)},this[_0xd5ed07(0x310)]?.[_0xd5ed07(0x242)](_0xd5ed07(0x21c),this[_0xd5ed07(0x21c)]);},_0x136e98[_0x1a668a(0x2cc)]??(()=>{const _0x417285=_0x1a668a;void this[_0x417285(0x333)]()[_0x417285(0x1fb)](()=>process[_0x417285(0x22a)](0x1edc+-0x1*-0xe95+0x2d26*-0x1));})),this[_0x1a668a(0x21c)]={...this[_0x1a668a(0x21c)],'metadata':upgradeMetadata(this[_0x1a668a(0x21c)][_0x1a668a(0x373)],this[_0x1a668a(0x259)][_0x1a668a(0x29e)]())};const _0x37915d=_0x136e98[_0x1a668a(0x1b3)]??detectCapabilitiesAsync;this[_0x1a668a(0x1b3)]=async()=>{const _0x20988f=_0x1a668a,_0x3ffe45=await _0x37915d();return this[_0x20988f(0x1c6)]({..._0x3ffe45,'metadata':upgradeMetadata(_0x3ffe45[_0x20988f(0x373)],this[_0x20988f(0x259)][_0x20988f(0x29e)]())});},this[_0x1a668a(0x1d7)]=_0x136e98[_0x1a668a(0x1d7)]??!![],this[_0x1a668a(0x2aa)]=_0x136e98[_0x1a668a(0x2aa)]===undefined?undefined:new FakeTestRunner(_0x136e98[_0x1a668a(0x2aa)]),this[_0x1a668a(0x269)]=_0x136e98[_0x1a668a(0x269)],this[_0x1a668a(0x22e)]=new RunAttachmentService(_0x11e773=>this[_0x1a668a(0x2d4)][_0x1a668a(0x1da)](_0x11e773[_0x1a668a(0x206)])[_0x1a668a(0x27d)](_0x11e773)),this[_0x1a668a(0x30d)]=new CodexRunner(_0x136e98[_0x1a668a(0x30d)],_0x136e98[_0x1a668a(0x306)]),this[_0x1a668a(0x381)]=new CodexManagedRunController(this[_0x1a668a(0x30d)],{'available':()=>this[_0x1a668a(0x21c)][_0x1a668a(0x2e1)][_0x1a668a(0x26f)],'intercepted':()=>this[_0x1a668a(0x2aa)]!==undefined,'active':this[_0x1a668a(0x26a)][_0x1a668a(0x2f6)],'addActive':_0x4bbcc2=>this[_0x1a668a(0x26a)][_0x1a668a(0x2f6)][_0x1a668a(0x2d0)](_0x4bbcc2),'removeActive':_0x7306ef=>this[_0x1a668a(0x26a)][_0x1a668a(0x2f6)][_0x1a668a(0x318)](_0x7306ef),'adopt':_0x973328=>this[_0x1a668a(0x302)][_0x1a668a(0x359)](_0x973328),'session':_0x45dfcd=>this[_0x1a668a(0x302)][_0x1a668a(0x23d)](_0x45dfcd),'runStatus':_0x3424d2=>this[_0x1a668a(0x302)][_0x1a668a(0x34e)](_0x3424d2)?.[_0x1a668a(0x1a9)],'run':_0x135f08=>this[_0x1a668a(0x302)][_0x1a668a(0x34e)](_0x135f08),'interrupted':_0x55f953=>this[_0x1a668a(0x26a)][_0x1a668a(0x31b)][_0x1a668a(0x273)](_0x55f953),'parseAttachments':parseRunnerImageAttachments,'materialize':(_0x9b3e56,_0x281c7a)=>this[_0x1a668a(0x22e)][_0x1a668a(0x2b8)](_0x9b3e56,_0x281c7a),'completeCancelled':_0x192fcc=>this[_0x1a668a(0x1ab)][_0x1a668a(0x2b4)](_0x192fcc),'promoteSession':(_0x2f0978,_0x3f6fd2)=>this[_0x1a668a(0x1b1)][_0x1a668a(0x1b8)](_0x2f0978,_0x3f6fd2),'send':(_0x223ac0,_0x4cf904)=>this[_0x1a668a(0x242)](_0x223ac0,_0x4cf904),'emit':(_0x38ed1e,_0x37980a,_0x576b22,_0x2eea02)=>this[_0x1a668a(0x335)][_0x1a668a(0x284)](_0x38ed1e,_0x37980a,_0x576b22,_0x2eea02),'cancel':(_0x36e8a7,_0x205994,_0x5ca78f,_0x455118,_0x2fb8bf)=>this[_0x1a668a(0x1ab)][_0x1a668a(0x2d7)](_0x36e8a7,_0x205994,_0x5ca78f,_0x455118,_0x2fb8bf),'createApproval':_0x32bdee=>this[_0x1a668a(0x302)][_0x1a668a(0x2c0)](_0x32bdee),'publishApproval':_0x41a923=>this[_0x1a668a(0x335)][_0x1a668a(0x286)](_0x41a923),'emitItem':(_0x28e111,_0x377e0d)=>this[_0x1a668a(0x2f2)](_0x28e111,_0x377e0d),'appendImages':(_0x584d17,_0x16f839)=>this[_0x1a668a(0x22e)][_0x1a668a(0x2bd)](_0x584d17,_0x16f839[_0x1a668a(0x25c)](isRunnerImageAttachment)),'syncTitle':(_0x4b24be,_0x1cda35,_0x3f9052)=>this[_0x1a668a(0x36e)][_0x1a668a(0x2f8)](_0x4b24be,_0x1cda35,_0x3f9052),'commandState':(_0x4ea444,_0x5ba92b)=>this[_0x1a668a(0x1b6)][_0x1a668a(0x340)](_0x4ea444,_0x5ba92b),'setCommandState':(_0x167237,_0x3592fc)=>this[_0x1a668a(0x1b6)][_0x1a668a(0x22b)](_0x167237,_0x3592fc),'clearCommandState':(_0xe81c00,_0x5e6323)=>this[_0x1a668a(0x1b6)][_0x1a668a(0x2b2)](_0xe81c00,_0x5e6323),'commandStates':_0x4399ad=>this[_0x1a668a(0x1b6)][_0x1a668a(0x20c)](_0x4399ad),'hasActiveSessionLease':_0x94255d=>this[_0x1a668a(0x302)][_0x1a668a(0x1f3)](_0x94255d),'fast':_0x5ec16b=>this[_0x1a668a(0x25b)](_0x1a668a(0x343),{'runner':_0x1a668a(0x2e1),'commandId':_0x1a668a(0x31f),'input':_0x5ec16b})}),this[_0x1a668a(0x30d)][_0x1a668a(0x251)](_0x2b83f1=>this[_0x1a668a(0x381)][_0x1a668a(0x24f)](_0x2b83f1)),this[_0x1a668a(0x2de)]=new ClaudeCodeRunner(_0x136e98[_0x1a668a(0x2de)]),this[_0x1a668a(0x352)]=new OpenCodeRunner(_0x136e98[_0x1a668a(0x352)]),this[_0x1a668a(0x223)]=new MarAgentRunner(),this[_0x1a668a(0x223)][_0x1a668a(0x258)]((_0x48edec,_0x5be522)=>this[_0x1a668a(0x22e)][_0x1a668a(0x221)](_0x48edec,_0x5be522)),this[_0x1a668a(0x366)]=new MarAgentManagedRunController(this[_0x1a668a(0x223)],{'active':this[_0x1a668a(0x26a)][_0x1a668a(0x2f6)],'adopt':_0x25ac53=>this[_0x1a668a(0x302)][_0x1a668a(0x359)](_0x25ac53),'promote':(_0x467134,_0x10c26b)=>this[_0x1a668a(0x1b1)][_0x1a668a(0x1b8)](_0x467134,_0x10c26b),'syncTitle':(_0x562e79,_0x299c86)=>this[_0x1a668a(0x36e)][_0x1a668a(0x2f8)](_0x562e79,_0x562e79,_0x299c86),'emit':(_0x5d36e3,_0x5bc40a,_0x301c05,_0x1dde5c)=>this[_0x1a668a(0x335)][_0x1a668a(0x284)](_0x5d36e3,_0x5bc40a,_0x301c05,_0x1dde5c),'emitItem':(_0x3a3ebf,_0x4a9358)=>this[_0x1a668a(0x2f2)](_0x3a3ebf,_0x4a9358),'refreshContext':_0x372777=>{const _0x2a4327=_0x1a668a,_0x14470e=this[_0x2a4327(0x302)][_0x2a4327(0x34e)](_0x372777)?.[_0x2a4327(0x375)];if(_0x14470e!==undefined)this[_0x2a4327(0x1f7)][_0x2a4327(0x2a9)](_0x14470e);},'createApproval':_0x28a48d=>this[_0x1a668a(0x302)][_0x1a668a(0x2c0)](_0x28a48d),'publishApproval':_0x10fa7c=>this[_0x1a668a(0x335)][_0x1a668a(0x286)](_0x10fa7c),'run':_0x14b71b=>this[_0x1a668a(0x302)][_0x1a668a(0x34e)](_0x14b71b),'commandState':(_0x3df572,_0x273608)=>this[_0x1a668a(0x1b6)][_0x1a668a(0x340)](_0x3df572,_0x273608),'setCommandState':(_0xfac29e,_0x2be455)=>this[_0x1a668a(0x1b6)][_0x1a668a(0x22b)](_0xfac29e,_0x2be455),'clearCommandState':(_0x164ca4,_0x3f7646)=>this[_0x1a668a(0x1b6)][_0x1a668a(0x2b2)](_0x164ca4,_0x3f7646),'commandStates':_0x31a893=>this[_0x1a668a(0x1b6)][_0x1a668a(0x20c)](_0x31a893),'webSearch':(_0x45f398,_0x243d42)=>this[_0x1a668a(0x34a)](_0x45f398,_0x243d42),'registerGeneratedImages':(_0x3e76a2,_0x4b6b0e,_0x33e749)=>{const _0x30aa69=_0x1a668a,_0x59bce3=this[_0x30aa69(0x302)][_0x30aa69(0x1ee)](_0x3e76a2),_0x1e559b=_0x59bce3===undefined?undefined:this[_0x30aa69(0x302)][_0x30aa69(0x23d)](_0x59bce3[_0x30aa69(0x375)]);return _0x1e559b===undefined?[]:this[_0x30aa69(0x223)][_0x30aa69(0x2cb)](_0x1e559b,_0x4b6b0e,_0x33e749);}},{'modelFactory':this[_0x1a668a(0x213)]}),this[_0x1a668a(0x223)][_0x1a668a(0x33e)](_0xe46857=>this[_0x1a668a(0x366)][_0x1a668a(0x2ba)](_0xe46857)),this[_0x1a668a(0x28e)]=new OpenCodeManagedRunController(this[_0x1a668a(0x352)],{'intercepted':()=>this[_0x1a668a(0x2aa)]!==undefined,'active':this[_0x1a668a(0x26a)][_0x1a668a(0x2f6)],'parseAttachments':parseRunnerImageAttachments,'persistAttachments':(_0x277fc3,_0x44d173,_0x3129bf)=>this[_0x1a668a(0x22e)][_0x1a668a(0x33a)](_0x277fc3,_0x44d173+_0x1a668a(0x35d),_0x3129bf),'emit':(_0x430daa,_0x3c1dc0,_0xd069,_0x2f70d4)=>this[_0x1a668a(0x335)][_0x1a668a(0x284)](_0x430daa,_0x3c1dc0,_0xd069,_0x2f70d4),'emitItem':(_0x4dcab6,_0x24dbb4)=>this[_0x1a668a(0x2f2)](_0x4dcab6,_0x24dbb4),'adopt':_0x5cabe9=>this[_0x1a668a(0x302)][_0x1a668a(0x359)](_0x5cabe9),'run':_0x4e519b=>{const _0x37addd=_0x1a668a,_0xeb4b35=this[_0x37addd(0x302)][_0x37addd(0x34e)](_0x4e519b);if(_0xeb4b35===undefined)throw new Error(_0x37addd(0x1c2));return _0xeb4b35;},'hasActiveSessionLease':_0x7ce554=>this[_0x1a668a(0x302)][_0x1a668a(0x1f3)](_0x7ce554),'promote':(_0x4eacee,_0x51df38)=>this[_0x1a668a(0x1b1)][_0x1a668a(0x1b8)](_0x4eacee,_0x51df38),'rememberNative':(_0x59a109,_0xda631f)=>this[_0x1a668a(0x36e)][_0x1a668a(0x233)](_0x59a109,_0xda631f),'send':(_0x45f767,_0x4d529a)=>this[_0x1a668a(0x242)](_0x45f767,_0x4d529a),'createApproval':_0x166f00=>this[_0x1a668a(0x302)][_0x1a668a(0x2c0)](_0x166f00),'expireApproval':_0x27d5ea=>{const _0x3b5ea7=_0x1a668a;this[_0x3b5ea7(0x302)][_0x3b5ea7(0x27a)](_0x27d5ea);},'publishApproval':_0x4815e2=>this[_0x1a668a(0x335)][_0x1a668a(0x286)](_0x4815e2),'commandState':(_0x277273,_0xb6ad7)=>this[_0x1a668a(0x1b6)][_0x1a668a(0x340)](_0x277273,_0xb6ad7),'setCommandState':(_0x3b2756,_0x584dde)=>this[_0x1a668a(0x1b6)][_0x1a668a(0x22b)](_0x3b2756,_0x584dde),'clearCommandState':(_0x3179af,_0x639a69)=>this[_0x1a668a(0x1b6)][_0x1a668a(0x2b2)](_0x3179af,_0x639a69),'commandStates':_0x4cf8da=>this[_0x1a668a(0x1b6)][_0x1a668a(0x20c)](_0x4cf8da)},this[_0x1a668a(0x326)]),this[_0x1a668a(0x2fe)]=new ClaudeManagedRunController(this[_0x1a668a(0x2de)],{'intercepted':()=>this[_0x1a668a(0x2aa)]!==undefined,'active':this[_0x1a668a(0x26a)][_0x1a668a(0x2f6)],'parseAttachments':parseRunnerImageAttachments,'emit':(_0x24da75,_0x5bb721,_0x36d2f0,_0x4fbcc9)=>this[_0x1a668a(0x335)][_0x1a668a(0x284)](_0x24da75,_0x5bb721,_0x36d2f0,_0x4fbcc9),'adopt':_0x4d6ab8=>this[_0x1a668a(0x302)][_0x1a668a(0x359)](_0x4d6ab8),'run':_0x36434a=>this[_0x1a668a(0x302)][_0x1a668a(0x34e)](_0x36434a),'hasActiveSessionLease':_0xd8f4d7=>this[_0x1a668a(0x302)][_0x1a668a(0x1f3)](_0xd8f4d7),'session':_0x4b6f27=>this[_0x1a668a(0x302)][_0x1a668a(0x23d)](_0x4b6f27),'completeCancelled':_0x1ee2cd=>this[_0x1a668a(0x1ab)][_0x1a668a(0x2b4)](_0x1ee2cd),'requestUserInput':(_0x13b1d4,_0xb9ff17,_0x23cb13)=>this[_0x1a668a(0x1ab)][_0x1a668a(0x280)](_0x13b1d4,_0xb9ff17,_0x23cb13),'requestApproval':(_0x2c3b03,_0x53dc88,_0xfc5319)=>this[_0x1a668a(0x1ab)][_0x1a668a(0x29b)](_0x2c3b03,_0x53dc88,_0xfc5319),'rememberNative':(_0x56fd04,_0x55c092)=>this[_0x1a668a(0x36e)][_0x1a668a(0x233)](_0x56fd04,_0x55c092),'promote':(_0x36ca60,_0xa55485)=>this[_0x1a668a(0x1b1)][_0x1a668a(0x1b8)](_0x36ca60,_0xa55485),'send':(_0x1a5f8b,_0x2559ec)=>this[_0x1a668a(0x242)](_0x1a5f8b,_0x2559ec),'emitItem':(_0x5c9021,_0x18e193)=>this[_0x1a668a(0x2f2)](_0x5c9021,_0x18e193),'syncTitle':(_0xde29d2,_0x353c36,_0x591ab6)=>this[_0x1a668a(0x36e)][_0x1a668a(0x2f8)](_0xde29d2,_0x353c36,_0x591ab6),'setChannelToken':(_0x2d9bee,_0x38a084)=>this[_0x1a668a(0x302)][_0x1a668a(0x2a0)](_0x2d9bee,_0x38a084),'commandState':(_0x227d16,_0x38078f)=>this[_0x1a668a(0x1b6)][_0x1a668a(0x340)](_0x227d16,_0x38078f),'setCommandState':(_0x528754,_0x2de3c4)=>this[_0x1a668a(0x1b6)][_0x1a668a(0x22b)](_0x528754,_0x2de3c4),'clearCommandState':(_0x5db43b,_0x2320d2)=>this[_0x1a668a(0x1b6)][_0x1a668a(0x2b2)](_0x5db43b,_0x2320d2),'commandStates':_0x5cec68=>this[_0x1a668a(0x1b6)][_0x1a668a(0x20c)](_0x5cec68)}),this[_0x1a668a(0x2d4)]=new RunnerRegistry([this[_0x1a668a(0x352)],this[_0x1a668a(0x223)],this[_0x1a668a(0x30d)],this[_0x1a668a(0x2de)],...this[_0x1a668a(0x2aa)]===undefined?[]:[this[_0x1a668a(0x2aa)]]]),this[_0x1a668a(0x36e)]=new ManagedRunnerSessionService(this[_0x1a668a(0x302)],this[_0x1a668a(0x2d4)],_0x84eb80=>this[_0x1a668a(0x283)]({'session':this[_0x1a668a(0x383)][_0x1a668a(0x1d9)](_0x84eb80)})),this[_0x1a668a(0x1ab)]=new RunnerInteractionService({'runtime':this[_0x1a668a(0x302)],'state':this[_0x1a668a(0x26a)],'codex':()=>this[_0x1a668a(0x30d)],'claude':()=>this[_0x1a668a(0x2de)],'runners':this[_0x1a668a(0x2d4)],'emitRun':(_0x1d9676,_0x182277,_0x80e48b,_0x1f5899)=>this[_0x1a668a(0x335)][_0x1a668a(0x284)](_0x1d9676,_0x182277,_0x80e48b,_0x1f5899),'emitItem':(_0x53b8eb,_0x383dfd)=>this[_0x1a668a(0x2f2)](_0x53b8eb,_0x383dfd),'approvalTimeoutMs':this[_0x1a668a(0x326)],'publishApproval':_0x4806ba=>this[_0x1a668a(0x335)][_0x1a668a(0x286)](_0x4806ba)}),this[_0x1a668a(0x247)]=new RunnerChannelMessageService({'interactions':this[_0x1a668a(0x1ab)],'send':(_0x47c843,_0xfef790,_0x572973)=>this[_0x1a668a(0x242)](_0x47c843,_0xfef790,_0x572973)}),this[_0x1a668a(0x383)]=new SessionPresentationService({'database':()=>this[_0x1a668a(0x2f3)],'runtime':this[_0x1a668a(0x302)],'commands':this[_0x1a668a(0x1b6)],'runners':this[_0x1a668a(0x2d4)],'capabilities':()=>this[_0x1a668a(0x21c)],'hasManagedActiveRun':_0x494ff2=>hasManagedActiveRun(this[_0x1a668a(0x302)],_0x494ff2),'externalActivity':_0x67c530=>this[_0x1a668a(0x27b)][_0x1a668a(0x1f2)][_0x1a668a(0x340)](_0x67c530),'projectionForNative':_0x3982f5=>this[_0x1a668a(0x248)][_0x1a668a(0x29d)](_0x3982f5)}),this[_0x1a668a(0x248)]=new NativeSessionProjectionService({'database':()=>this[_0x1a668a(0x2f3)],'nodeId':()=>this[_0x1a668a(0x1eb)]?.[_0x1a668a(0x29c)]??_0x1a668a(0x315),'runtime':this[_0x1a668a(0x302)],'runners':this[_0x1a668a(0x2d4)],'capabilities':()=>this[_0x1a668a(0x21c)],'state':this[_0x1a668a(0x27b)],'commands':this[_0x1a668a(0x1b6)],'present':_0x2be34f=>this[_0x1a668a(0x383)][_0x1a668a(0x1d9)](_0x2be34f)}),this[_0x1a668a(0x2e6)]=new ConversationHistoryService({'runtime':this[_0x1a668a(0x302)],'runners':this[_0x1a668a(0x2d4)],'capabilities':()=>this[_0x1a668a(0x21c)],'attachments':this[_0x1a668a(0x22e)],'snapshotSequence':()=>this[_0x1a668a(0x28f)][_0x1a668a(0x34f)](),'hasManagedActiveRun':_0x74430c=>hasManagedActiveRun(this[_0x1a668a(0x302)],_0x74430c),'setExternalActivity':(_0x55e5a7,_0x14371c)=>this[_0x1a668a(0x27b)][_0x1a668a(0x1f2)][_0x1a668a(0x22b)](_0x55e5a7,_0x14371c)}),this[_0x1a668a(0x2f1)]=new ConversationSegmentService((_0x5150d1,_0x3f88a3)=>this[_0x1a668a(0x2e6)][_0x1a668a(0x2bc)](_0x5150d1,_0x3f88a3)),this[_0x1a668a(0x1f7)]=new SessionContextService({'runners':this[_0x1a668a(0x2d4)],'session':_0x34ca9e=>this[_0x1a668a(0x302)][_0x1a668a(0x23d)](_0x34ca9e),'stopped':()=>this[_0x1a668a(0x32d)],'publish':_0x3a107c=>this[_0x1a668a(0x283)](_0x3a107c)}),this[_0x1a668a(0x37f)]=new RunWorkbenchService({'runtime':this[_0x1a668a(0x302)],'readImage':async(_0x1a2213,_0xe9928a)=>this[_0x1a668a(0x22e)][_0x1a668a(0x2bc)](_0x1a2213,_0xe9928a)??await this[_0x1a668a(0x22e)][_0x1a668a(0x2a8)](_0x1a2213,_0xe9928a),'respondUserInput':(_0x3e3b3f,_0xd58892,_0x20a7f0)=>this[_0x1a668a(0x1ab)][_0x1a668a(0x364)](_0x3e3b3f,_0xd58892,_0x20a7f0),'pauseQueue':_0x2622a1=>this[_0x1a668a(0x2dd)][_0x1a668a(0x1d2)](_0x2622a1),'emitRun':(_0x5621d1,_0x3514e5,_0x4b51f3,_0x4b86e0)=>this[_0x1a668a(0x335)][_0x1a668a(0x284)](_0x5621d1,_0x3514e5,_0x4b51f3,_0x4b86e0),'control':(_0x282901,_0x437a6f)=>this[_0x1a668a(0x382)][_0x1a668a(0x205)](JSON[_0x1a668a(0x23b)](createEnvelope(_0x282901,_0x437a6f))),'markInterrupted':_0x28c8a4=>this[_0x1a668a(0x26a)][_0x1a668a(0x31b)][_0x1a668a(0x2d0)](_0x28c8a4)}),this[_0x1a668a(0x377)]=new SessionQueryService({'runtime':this[_0x1a668a(0x302)],'runners':this[_0x1a668a(0x2d4)],'resolve':_0x4e97bf=>this[_0x1a668a(0x248)][_0x1a668a(0x372)](_0x4e97bf),'present':_0x4ba220=>this[_0x1a668a(0x383)][_0x1a668a(0x1d9)](_0x4ba220),'history':(_0x10e360,_0x539688)=>this[_0x1a668a(0x2e6)][_0x1a668a(0x2bc)](_0x10e360,_0x539688),'segments':(_0x3f6d77,_0x4207b0)=>this[_0x1a668a(0x2f1)][_0x1a668a(0x2bc)](_0x3f6d77,_0x4207b0),'context':this[_0x1a668a(0x1f7)],'discover':(_0x1e7231,_0x162d2b)=>this[_0x1a668a(0x248)][_0x1a668a(0x1bf)](_0x1e7231,_0x162d2b),'workspaceIdForCwd':_0x4239e1=>this[_0x1a668a(0x2f3)]?.[_0x1a668a(0x25a)]()[_0x1a668a(0x328)](_0x2cec02=>_0x2cec02[_0x1a668a(0x2ed)]===_0x4239e1)?.['id']}),this[_0x1a668a(0x376)]=new ContinuousRunCoordinator({'runtime':this[_0x1a668a(0x302)],'emitQueue':(_0x4d0ae1,_0x5a3770)=>this[_0x1a668a(0x335)][_0x1a668a(0x208)](_0x4d0ae1,_0x5a3770),'clearImages':_0x22f90c=>this[_0x1a668a(0x22e)][_0x1a668a(0x2b2)](_0x22f90c),'cleanupAttachments':_0x28b705=>this[_0x1a668a(0x22e)][_0x1a668a(0x226)](_0x28b705),'migrateAssets':(_0x4fb28d,_0x100221)=>this[_0x1a668a(0x22e)][_0x1a668a(0x1d4)](_0x4fb28d,_0x100221),'emitRun':(_0x4f5cc4,_0x205faa,_0x5bbec5,_0x46e5df)=>this[_0x1a668a(0x335)][_0x1a668a(0x284)](_0x4f5cc4,_0x205faa,_0x5bbec5,_0x46e5df),'emitConversation':_0x4280b4=>this[_0x1a668a(0x325)](_0x4280b4),'control':(_0x31599e,_0x418f45)=>this[_0x1a668a(0x382)][_0x1a668a(0x205)](JSON[_0x1a668a(0x23b)](createEnvelope(_0x31599e,_0x418f45))),'stopped':()=>this[_0x1a668a(0x32d)],'markInterrupted':_0x1b163b=>this[_0x1a668a(0x26a)][_0x1a668a(0x31b)][_0x1a668a(0x2d0)](_0x1b163b),'mcps':_0x37b71e=>this[_0x1a668a(0x2f3)]?.[_0x1a668a(0x1e5)](_0x37b71e)??[],'afterExecutionStarted':async _0x2bb461=>{const _0x3dd725=_0x1a668a;if(_0x2bb461[_0x3dd725(0x294)]===undefined)return;const _0x37a715=this[_0x3dd725(0x263)][_0x3dd725(0x340)](_0x2bb461[_0x3dd725(0x375)]);if(_0x37a715?.[_0x3dd725(0x1a9)]!==_0x3dd725(0x2f6)||_0x37a715['id']!==_0x2bb461[_0x3dd725(0x294)]['id']||_0x37a715[_0x3dd725(0x2c7)]!==_0x2bb461[_0x3dd725(0x294)][_0x3dd725(0x2c7)])return;const _0x48a99b=this[_0x3dd725(0x263)][_0x3dd725(0x2c3)](_0x2bb461[_0x3dd725(0x375)]),_0x8cf7f1=this[_0x3dd725(0x302)][_0x3dd725(0x23d)](_0x2bb461[_0x3dd725(0x375)]);if(_0x48a99b!==undefined&&_0x8cf7f1!==undefined)this[_0x3dd725(0x232)](_0x8cf7f1,_0x48a99b);await this[_0x3dd725(0x24a)]({'sessionId':_0x2bb461[_0x3dd725(0x375)],'mission':{'id':_0x37a715['id'],'revision':_0x37a715[_0x3dd725(0x2c7)]},'secretEnvironment':_0x2bb461[_0x3dd725(0x20f)],..._0x2bb461[_0x3dd725(0x316)]===undefined?{}:{'personalInstructions':_0x2bb461[_0x3dd725(0x316)]},..._0x2bb461[_0x3dd725(0x317)]===undefined?{}:{'marAgentModel':_0x2bb461[_0x3dd725(0x317)]},..._0x2bb461[_0x3dd725(0x1b9)]===undefined?{}:{'marAgentModels':_0x2bb461[_0x3dd725(0x1b9)]},..._0x2bb461[_0x3dd725(0x324)]===undefined?{}:{'marAgentRuntimeScopeId':_0x2bb461[_0x3dd725(0x324)]}});},'missionMcp':async _0x58bc5f=>{const _0x1dca0e=_0x1a668a;if(_0x58bc5f[_0x1dca0e(0x294)]===undefined)throw new Error(_0x1dca0e(0x300));const _0x39b7ab=await this[_0x1dca0e(0x1be)][_0x1dca0e(0x266)]({'executionId':_0x58bc5f[_0x1dca0e(0x35c)],'sessionId':_0x58bc5f[_0x1dca0e(0x375)],'missionId':_0x58bc5f[_0x1dca0e(0x294)]['id'],'revision':_0x58bc5f[_0x1dca0e(0x294)][_0x1dca0e(0x2c7)]});return{'installation':{'targetKind':_0x1dca0e(0x327),'targetId':_0x58bc5f[_0x1dca0e(0x1bc)],'catalogEntryId':_0x1dca0e(0x2c2),'serverName':_0x1dca0e(0x2b7),'displayName':_0x1dca0e(0x332),'version':_0x1dca0e(0x1ff),'enabled':!![],'runtime':{'transport':_0x1dca0e(0x264),'url':_0x1dca0e(0x2bf),'headers':{}},'configuration':_0x39b7ab[_0x1dca0e(0x266)],'installedAt':Date[_0x1dca0e(0x244)](),..._0x39b7ab[_0x1dca0e(0x266)]},'secrets':_0x39b7ab[_0x1dca0e(0x1d6)]};}}),this[_0x1a668a(0x2dd)]=new WorkspaceQueueWorkbenchService({'runtime':this[_0x1a668a(0x302)],'coordinator':this[_0x1a668a(0x376)],'emit':(_0x4b421d,_0x57821a)=>this[_0x1a668a(0x335)][_0x1a668a(0x208)](_0x4b421d,_0x57821a),'prepareInput':(_0x183b4b,_0x2e3f6d,_0x2e0a64)=>this[_0x1a668a(0x2d4)][_0x1a668a(0x1da)](_0x183b4b)[_0x1a668a(0x1df)](_0x2e3f6d,_0x2e0a64)}),this[_0x1a668a(0x1b1)]=new SessionIdentityService({'runtime':this[_0x1a668a(0x302)],'persist':(_0x4f7233,_0x5133a1)=>{const _0x5cadb6=_0x1a668a;if(_0x4f7233[_0x5cadb6(0x331)]===null||_0x4f7233[_0x5cadb6(0x2ad)]===null||_0x4f7233[_0x5cadb6(0x34d)]===null)return;this[_0x5cadb6(0x2f3)]?.[_0x5cadb6(0x21f)]({'runner':_0x4f7233[_0x5cadb6(0x206)],'externalSessionId':_0x5133a1,'workspaceId':_0x4f7233[_0x5cadb6(0x1bc)],'model':_0x4f7233[_0x5cadb6(0x331)],'effort':_0x4f7233[_0x5cadb6(0x2ad)],'access':_0x4f7233[_0x5cadb6(0x34d)]});},'migrateCommands':(_0x2f922a,_0x231c2a)=>this[_0x1a668a(0x1b6)][_0x1a668a(0x1f0)](_0x2f922a,_0x231c2a),'migrateMission':(_0x17915f,_0x298027)=>{const _0x220037=_0x1a668a;this[_0x220037(0x263)][_0x220037(0x35e)](_0x17915f,_0x298027),this[_0x220037(0x1be)][_0x220037(0x35e)](_0x17915f,_0x298027);const _0x207227=this[_0x220037(0x1e2)][_0x220037(0x340)](_0x17915f);_0x207227!==undefined&&(this[_0x220037(0x1e2)][_0x220037(0x318)](_0x17915f),_0x207227[_0x220037(0x375)]=_0x298027,this[_0x220037(0x1e2)][_0x220037(0x22b)](_0x298027,_0x207227));const _0x48b1ea=this[_0x220037(0x271)][_0x220037(0x340)](_0x17915f);_0x48b1ea!==undefined&&(this[_0x220037(0x271)][_0x220037(0x318)](_0x17915f),this[_0x220037(0x271)][_0x220037(0x22b)](_0x298027,_0x48b1ea));},'migrateQueue':(_0x6e2677,_0x2ecdb1)=>this[_0x1a668a(0x376)][_0x1a668a(0x35e)](_0x6e2677,_0x2ecdb1),'migrateRunnerState':(_0x487c14,_0x3f4d96)=>this[_0x1a668a(0x335)][_0x1a668a(0x367)](_0x487c14,_0x3f4d96),'emitSession':_0x5d35fc=>this[_0x1a668a(0x283)]({'session':_0x5d35fc}),'emitRun':_0x212222=>this[_0x1a668a(0x30b)](_0x1a668a(0x357),{'run':_0x212222}),'emitQueue':_0x3bfb00=>this[_0x1a668a(0x376)][_0x1a668a(0x220)](_0x3bfb00),'emitTurn':_0x139139=>this[_0x1a668a(0x325)](_0x139139)}),this[_0x1a668a(0x24e)]=new SessionLifecycleService({'database':()=>{const _0x2d18cc=_0x1a668a;if(this[_0x2d18cc(0x2f3)]===undefined)throw new Error(_0x2d18cc(0x228));return this[_0x2d18cc(0x2f3)];},'runtime':this[_0x1a668a(0x302)],'runners':this[_0x1a668a(0x2d4)],'projection':this[_0x1a668a(0x248)],'identity':this[_0x1a668a(0x1b1)],'present':_0x5c5f31=>this[_0x1a668a(0x383)][_0x1a668a(0x1d9)](_0x5c5f31),'emitSession':_0x32f9ee=>this[_0x1a668a(0x283)]({'session':this[_0x1a668a(0x383)][_0x1a668a(0x1d9)](_0x32f9ee)}),'execute':(_0x467e25,_0x4f0be5)=>this[_0x1a668a(0x25b)](_0x467e25,_0x4f0be5),'interceptedSessionId':_0x37f302=>this[_0x1a668a(0x2aa)]===undefined?undefined:_0x1a668a(0x349)+_0x37f302}),this[_0x1a668a(0x33f)]=new ExternalSessionResumeService({'runtime':this[_0x1a668a(0x302)],'runners':this[_0x1a668a(0x2d4)],'state':this[_0x1a668a(0x27b)],'available':_0xf3904a=>this[_0x1a668a(0x2d4)][_0x1a668a(0x1da)](_0xf3904a)[_0x1a668a(0x26f)](this[_0x1a668a(0x21c)]),'projectionFor':_0x17c115=>this[_0x1a668a(0x248)][_0x1a668a(0x29d)](_0x17c115),'managedAliasFor':_0x2e251d=>this[_0x1a668a(0x248)][_0x1a668a(0x1c4)](_0x2e251d),'ensureConfiguration':_0x34017f=>this[_0x1a668a(0x248)][_0x1a668a(0x2db)](_0x34017f),'configuration':_0x128cee=>this[_0x1a668a(0x248)][_0x1a668a(0x1ef)](_0x128cee),'workspacePath':_0x10eec6=>this[_0x1a668a(0x2f3)]?.[_0x1a668a(0x2ae)](_0x10eec6)?.[_0x1a668a(0x2ed)],'rememberNative':(_0x31f96f,_0x2a84af)=>this[_0x1a668a(0x36e)][_0x1a668a(0x233)](_0x31f96f,_0x2a84af),'stage':_0x5d57e5=>{const _0x5f310a=_0x1a668a,_0x3fa78f=this[_0x5f310a(0x248)][_0x5f310a(0x1ef)](_0x5d57e5);return this[_0x5f310a(0x302)][_0x5f310a(0x344)]({'workspaceId':_0x5d57e5[_0x5f310a(0x1bc)],'runner':_0x5d57e5[_0x5f310a(0x206)],'externalSessionId':_0x5d57e5[_0x5f310a(0x341)]??_0x5d57e5['id'],'nativeControl':_0x5f310a(0x243),'cwd':_0x5d57e5[_0x5f310a(0x323)],'model':_0x3fa78f[_0x5f310a(0x331)],'effort':_0x3fa78f[_0x5f310a(0x2ad)],'access':_0x3fa78f[_0x5f310a(0x34d)],..._0x5d57e5[_0x5f310a(0x301)]===null?{}:{'title':_0x5d57e5[_0x5f310a(0x301)]},..._0x5d57e5[_0x5f310a(0x1c1)]===null?{}:{'customTitle':_0x5d57e5[_0x5f310a(0x1c1)]}});},'resolve':_0x1ea086=>this[_0x1a668a(0x248)][_0x1a668a(0x372)](_0x1ea086)}),this[_0x1a668a(0x1aa)]=new SessionCommandService({'runtime':this[_0x1a668a(0x302)],'runners':this[_0x1a668a(0x2d4)],'projection':this[_0x1a668a(0x248)],'resume':this[_0x1a668a(0x33f)],'profiles':()=>this[_0x1a668a(0x2ef)][_0x1a668a(0x1ea)](),'present':_0x3afbb2=>this[_0x1a668a(0x383)][_0x1a668a(0x1d9)](_0x3afbb2),'resumeQueueAfterCommandRun':_0x9f60be=>this[_0x1a668a(0x2dd)][_0x1a668a(0x321)](_0x9f60be),'beginMission':_0x192b38=>{const _0x5b4380=_0x1a668a,_0x547d4d=this[_0x5b4380(0x1b6)][_0x5b4380(0x340)](_0x192b38['id'],_0x5b4380(0x294));if(_0x547d4d?.[_0x5b4380(0x2f6)]===!![])return{'session':this[_0x5b4380(0x383)][_0x5b4380(0x1d9)](_0x192b38),'missionAlreadyActive':!![]};_0x547d4d!==undefined&&(this[_0x5b4380(0x263)][_0x5b4380(0x2b2)](_0x192b38['id']),this[_0x5b4380(0x1b6)][_0x5b4380(0x2b2)](_0x192b38['id'],_0x5b4380(0x294)));const _0x18b05b=this[_0x5b4380(0x351)](_0x192b38);return this[_0x5b4380(0x376)][_0x5b4380(0x2e2)](_0x192b38['id']),this[_0x5b4380(0x1b6)][_0x5b4380(0x22b)](_0x192b38['id'],this[_0x5b4380(0x1ba)]()),this[_0x5b4380(0x30b)](_0x5b4380(0x1fc),{'session':this[_0x5b4380(0x383)][_0x5b4380(0x1d9)](_0x18b05b[_0x5b4380(0x1fc)])}),{'session':this[_0x5b4380(0x383)][_0x5b4380(0x1d9)](_0x18b05b[_0x5b4380(0x1fc)]),'missionAccessChanged':_0x18b05b[_0x5b4380(0x24d)]};},'mission':async({session:_0x1fb3e1,objective:_0x1335ed,secretEnvironment:_0x5b237c,personalInstructions:_0x47fa5b,marAgentModel:_0x25d161,marAgentModels:_0x1fb920,marAgentRuntimeScopeId:_0x549d6b})=>{const _0xa260f6=_0x1a668a;this[_0xa260f6(0x1cb)](_0x1fb3e1['id']);const _0x35b995=this[_0xa260f6(0x351)](_0x1fb3e1),_0x2f101e=_0x35b995[_0xa260f6(0x1fc)],_0x149766=this[_0xa260f6(0x263)][_0xa260f6(0x340)](_0x1fb3e1['id'])?.[_0xa260f6(0x1a9)]===_0xa260f6(0x2f6);this[_0xa260f6(0x376)][_0xa260f6(0x31a)](_0x1fb3e1['id']);const _0xdda3f2=this[_0xa260f6(0x263)][_0xa260f6(0x1fe)](_0x1fb3e1['id'],_0x1335ed);this[_0xa260f6(0x232)](_0x2f101e,_0xdda3f2);const _0x4647d9=await this[_0xa260f6(0x348)][_0xa260f6(0x309)]({'sessionId':_0x1fb3e1['id'],'kind':_0xa260f6(0x1fe),'content':this[_0xa260f6(0x263)][_0xa260f6(0x267)](_0x1fb3e1['id'],_0xa260f6(0x1fe)),'deliveryIntent':_0x149766?_0xa260f6(0x362):_0xa260f6(0x20d),'mission':{'id':_0xdda3f2['id'],'revision':_0xdda3f2[_0xa260f6(0x2c7)]},'secretEnvironment':_0x5b237c,..._0x47fa5b===undefined?{}:{'personalInstructions':_0x47fa5b},..._0x25d161===undefined?{}:{'marAgentModel':_0x25d161},..._0x1fb920===undefined?{}:{'marAgentModels':_0x1fb920},..._0x549d6b===undefined?{}:{'marAgentRuntimeScopeId':_0x549d6b}});return{...isPlainRecord(_0x4647d9)?_0x4647d9:{'result':_0x4647d9},'missionAccessChanged':_0x35b995[_0xa260f6(0x24d)]};},'clearMission':_0xb165a8=>{const _0x2ed951=_0x1a668a;return this[_0x2ed951(0x1cb)](_0xb165a8['id']),this[_0x2ed951(0x263)][_0x2ed951(0x2b2)](_0xb165a8['id']),this[_0x2ed951(0x376)][_0x2ed951(0x31a)](_0xb165a8['id']),this[_0x2ed951(0x218)](_0xb165a8['id'],_0x2ed951(0x32c)),this[_0x2ed951(0x1b6)][_0x2ed951(0x2b2)](_0xb165a8['id'],_0x2ed951(0x294)),this[_0x2ed951(0x30b)](_0x2ed951(0x1fc),{'session':this[_0x2ed951(0x383)][_0x2ed951(0x1d9)](_0xb165a8)}),{'session':this[_0x2ed951(0x383)][_0x2ed951(0x1d9)](_0xb165a8),'cleared':!![]};}}),this[_0x1a668a(0x348)]=new SessionMessageService({'runtime':this[_0x1a668a(0x302)],'uploads':this[_0x1a668a(0x2d9)],'attachments':this[_0x1a668a(0x22e)],'commands':this[_0x1a668a(0x1b6)],'coordinator':this[_0x1a668a(0x376)],'runners':this[_0x1a668a(0x2d4)],'resolve':_0x242ceb=>this[_0x1a668a(0x33f)][_0x1a668a(0x293)](_0x242ceb),'present':_0x5873a7=>this[_0x1a668a(0x383)][_0x1a668a(0x1d9)](_0x5873a7),'emitSession':_0x408e65=>this[_0x1a668a(0x283)]({'session':this[_0x1a668a(0x383)][_0x1a668a(0x1d9)](_0x408e65)}),'channelToken':_0x451e38=>{const _0x1afc54=_0x1a668a,_0x6036e4=this[_0x1afc54(0x302)][_0x1afc54(0x23d)](_0x451e38);return _0x6036e4?.[_0x1afc54(0x2c6)]??undefined;},'missionMessage':(_0x1c6e0a,_0xf0af46)=>{const _0x4962ae=_0x1a668a,_0x477f18=this[_0x4962ae(0x1b6)][_0x4962ae(0x340)](_0x1c6e0a['id'],_0x4962ae(0x294));if(_0x477f18?.[_0x4962ae(0x2f6)]!==!![])return undefined;const _0x4ddf76=this[_0x4962ae(0x263)][_0x4962ae(0x340)](_0x1c6e0a['id']);if(_0x4ddf76?.[_0x4962ae(0x1a9)]===_0x4962ae(0x2f6))return{'runnerContent':_0xf0af46,'mission':{'id':_0x4ddf76['id'],'revision':_0x4ddf76[_0x4962ae(0x2c7)]},'activated':![]};const _0xb3e81f=this[_0x4962ae(0x263)][_0x4962ae(0x1fe)](_0x1c6e0a['id'],_0xf0af46);return this[_0x4962ae(0x232)](_0x1c6e0a,_0xb3e81f),{'runnerContent':this[_0x4962ae(0x263)][_0x4962ae(0x267)](_0x1c6e0a['id'],_0x4962ae(0x1fe)),'mission':{'id':_0xb3e81f['id'],'revision':_0xb3e81f[_0x4962ae(0x2c7)]},'activated':!![]};},'prepareMissionInsertion':(_0x220e5d,_0x316ae3)=>this[_0x1a668a(0x376)][_0x1a668a(0x2e2)](_0x220e5d,_0x316ae3),'missionPreparationFailed':(_0x2e0526,_0x265346,_0x624343)=>{const _0x5bc4c9=_0x1a668a;if(!_0x624343)return;const _0x1e4288=this[_0x5bc4c9(0x263)][_0x5bc4c9(0x340)](_0x2e0526['id']);if(_0x1e4288?.['id']!==_0x265346['id']||_0x1e4288[_0x5bc4c9(0x2c7)]!==_0x265346[_0x5bc4c9(0x2c7)])return;this[_0x5bc4c9(0x263)][_0x5bc4c9(0x2b2)](_0x2e0526['id']),this[_0x5bc4c9(0x218)](_0x2e0526['id'],_0x5bc4c9(0x36c)),this[_0x5bc4c9(0x1b6)][_0x5bc4c9(0x22b)](_0x2e0526['id'],this[_0x5bc4c9(0x1ba)]()),this[_0x5bc4c9(0x30b)](_0x5bc4c9(0x1fc),{'session':this[_0x5bc4c9(0x383)][_0x5bc4c9(0x1d9)](_0x2e0526)});}}),this[_0x1a668a(0x1c8)]=new SessionCatalogService({'database':()=>{const _0x313893=_0x1a668a;if(this[_0x313893(0x2f3)]===undefined)throw new Error(_0x313893(0x228));return this[_0x313893(0x2f3)];},'nodeId':()=>this[_0x1a668a(0x1eb)]?.[_0x1a668a(0x29c)]??_0x1a668a(0x315),'runtime':this[_0x1a668a(0x302)],'runners':this[_0x1a668a(0x2d4)],'projection':this[_0x1a668a(0x248)],'resume':this[_0x1a668a(0x33f)],'cachedNative':()=>[...this[_0x1a668a(0x27b)][_0x1a668a(0x1bd)][_0x1a668a(0x1e0)]()],'cachedWorkspace':_0x3b9f3d=>this[_0x1a668a(0x278)][_0x1a668a(0x1dd)](_0x3b9f3d),'present':_0x4c1440=>this[_0x1a668a(0x383)][_0x1a668a(0x1d9)](_0x4c1440),'projectionForNative':_0x156058=>this[_0x1a668a(0x248)][_0x1a668a(0x29d)](_0x156058),'nativeIds':_0x5a7fc2=>this[_0x1a668a(0x248)][_0x1a668a(0x1d1)](_0x5a7fc2),'forget':(_0x1a6a5f,_0x50b55b)=>this[_0x1a668a(0x248)][_0x1a668a(0x26c)](_0x1a6a5f,_0x50b55b),'refreshActivity':_0x234a30=>this[_0x1a668a(0x2e6)][_0x1a668a(0x378)](_0x234a30),'externalActivity':_0x48abb3=>this[_0x1a668a(0x27b)][_0x1a668a(0x1f2)][_0x1a668a(0x340)](_0x48abb3),'history':(_0x344c0e,_0xb3397f)=>this[_0x1a668a(0x2e6)][_0x1a668a(0x2bc)](_0x344c0e,_0xb3397f),'emitSession':_0x36f937=>this[_0x1a668a(0x283)]({'session':this[_0x1a668a(0x383)][_0x1a668a(0x1d9)](_0x36f937)})}),this[_0x1a668a(0x30d)][_0x1a668a(0x1cf)]({'start':_0x5cb1de=>this[_0x1a668a(0x381)][_0x1a668a(0x1fe)](_0x5cb1de),'cancel':(_0x4b92a8,_0x6c916f)=>{const _0xf5a7bf=_0x1a668a,_0x56a7ef=this[_0xf5a7bf(0x30d)][_0xf5a7bf(0x1d5)][_0xf5a7bf(0x2fb)][_0xf5a7bf(0x340)](_0x4b92a8);if(_0x56a7ef?.[_0xf5a7bf(0x345)]===undefined)return![];return void this[_0xf5a7bf(0x1ab)][_0xf5a7bf(0x2d7)](_0x4b92a8,_0x56a7ef[_0xf5a7bf(0x2ec)],_0x56a7ef[_0xf5a7bf(0x345)],_0x56a7ef[_0xf5a7bf(0x323)],_0x6c916f===_0xf5a7bf(0x31c)?_0xf5a7bf(0x353):_0xf5a7bf(0x1ad)),!![];},'decideApproval':_0xf80b44=>this[_0x1a668a(0x1ab)][_0x1a668a(0x1ec)](_0xf80b44[_0x1a668a(0x1d0)],_0xf80b44[_0x1a668a(0x2f7)])}),this[_0x1a668a(0x2de)][_0x1a668a(0x1cf)]({'start':_0x150001=>this[_0x1a668a(0x2fe)][_0x1a668a(0x1fe)](_0x150001),'cancel':(_0x17163b,_0x11d588)=>this[_0x1a668a(0x1ab)][_0x1a668a(0x214)](_0x17163b,_0x11d588),'decideApproval':_0x2ccbcc=>this[_0x1a668a(0x1ab)][_0x1a668a(0x261)](_0x2ccbcc[_0x1a668a(0x1d0)],_0x2ccbcc[_0x1a668a(0x2f7)])}),this[_0x1a668a(0x352)][_0x1a668a(0x1cf)]({'start':_0x5c6664=>this[_0x1a668a(0x28e)][_0x1a668a(0x1fe)](_0x5c6664),'cancel':(_0x513ec6,_0x9e642)=>this[_0x1a668a(0x28e)][_0x1a668a(0x2fd)](_0x513ec6,_0x9e642),'decideApproval':_0x24a289=>this[_0x1a668a(0x28e)][_0x1a668a(0x2ff)](_0x24a289),'respondUserInput':(_0x1024d4,_0x5be3f3,_0xd6fc21)=>this[_0x1a668a(0x28e)][_0x1a668a(0x364)](_0x1024d4,_0x5be3f3,_0xd6fc21)}),this[_0x1a668a(0x223)][_0x1a668a(0x1cf)]({'start':_0x4bea2c=>this[_0x1a668a(0x366)][_0x1a668a(0x1fe)](_0x4bea2c),'cancel':(_0x3f58dc,_0x11a196)=>this[_0x1a668a(0x366)][_0x1a668a(0x2fd)](_0x3f58dc,_0x11a196),'decideApproval':_0x2f7580=>this[_0x1a668a(0x366)][_0x1a668a(0x2ff)](_0x2f7580),'respondUserInput':(_0x97ecf,_0x5d2e75,_0x398fa6)=>this[_0x1a668a(0x366)][_0x1a668a(0x364)](_0x97ecf,_0x5d2e75,_0x398fa6)}),this[_0x1a668a(0x30d)][_0x1a668a(0x337)]({'execute':(_0x42e33f,_0x4f7078,_0x51705b,_0x4bb637)=>this[_0x1a668a(0x381)][_0x1a668a(0x370)](_0x42e33f,_0x4f7078,_0x51705b,_0x4bb637)}),this[_0x1a668a(0x2de)][_0x1a668a(0x337)]({'execute':(_0x22382e,_0x3db452,_0x331104,_0x47dcfc)=>this[_0x1a668a(0x2fe)][_0x1a668a(0x370)](_0x22382e,_0x3db452,_0x331104,_0x47dcfc)}),this[_0x1a668a(0x352)][_0x1a668a(0x337)]({'execute':(_0xeb6aea,_0x104019,_0x3c0243,_0x2ed33a)=>this[_0x1a668a(0x28e)][_0x1a668a(0x370)](_0xeb6aea,_0x104019,_0x2ed33a)}),this[_0x1a668a(0x223)][_0x1a668a(0x337)]({'execute':(_0x2479fa,_0x32acf5,_0x305e46,_0xf2d72c)=>this[_0x1a668a(0x366)][_0x1a668a(0x370)](_0x2479fa,_0x32acf5,_0x305e46,_0xf2d72c)});const _0x36e847=this[_0x1a668a(0x2aa)]===undefined||this[_0x1a668a(0x269)]===undefined?undefined:new FakeManagedRunService({'runner':this[_0x1a668a(0x2aa)],'script':this[_0x1a668a(0x269)],'runners':this[_0x1a668a(0x2d4)],'runtime':this[_0x1a668a(0x302)],'state':this[_0x1a668a(0x26a)],'emitRun':(_0x1c66f7,_0x2985e1,_0x11ff92,_0x398810)=>this[_0x1a668a(0x335)][_0x1a668a(0x284)](_0x1c66f7,_0x2985e1,_0x11ff92,_0x398810),'publishApproval':_0x142435=>this[_0x1a668a(0x335)][_0x1a668a(0x286)](_0x142435),'disconnect':()=>this[_0x1a668a(0x310)][_0x1a668a(0x1de)](-0x2559+0x55*0x3e+-0x3*-0xacf,_0x1a668a(0x1b5))});this[_0x1a668a(0x2aa)]?.[_0x1a668a(0x1cf)]({'start':_0x313d83=>_0x36e847?.[_0x1a668a(0x1fe)](_0x313d83),'cancel':(_0x453765,_0xb05562)=>_0xb05562===_0x1a668a(0x31c)?this[_0x1a668a(0x2aa)]?.[_0x1a668a(0x2fd)](_0x453765)??![]:this[_0x1a668a(0x2aa)]?.[_0x1a668a(0x30c)](_0x453765)??![],'decideApproval':_0x1e4111=>this[_0x1a668a(0x2aa)]?.[_0x1a668a(0x224)](_0x1e4111[_0x1a668a(0x35c)],_0x1e4111[_0x1a668a(0x1d0)],_0x1e4111[_0x1a668a(0x2f7)])??![]}),this[_0x1a668a(0x2d6)]=_0x136e98[_0x1a668a(0x2d6)]??new RunnerUsageReader(),this[_0x1a668a(0x2f3)]=_0x136e98[_0x1a668a(0x2f3)],this[_0x1a668a(0x1b0)]=_0x136e98[_0x1a668a(0x1b0)]??new TerminalManager({'platform':this[_0x1a668a(0x21c)][_0x1a668a(0x2f5)]===_0x1a668a(0x34c)?_0x1a668a(0x2cd):_0x1a668a(0x26e)}),this[_0x1a668a(0x1b0)][_0x1a668a(0x1d8)](_0x58c974=>this[_0x1a668a(0x278)][_0x1a668a(0x354)](_0x58c974)),this[_0x1a668a(0x1db)]=new NodeTerminalChannel({'config':()=>this[_0x1a668a(0x1eb)],'controlConnected':()=>this[_0x1a668a(0x310)][_0x1a668a(0x231)](),'stopped':()=>this[_0x1a668a(0x32d)],'reconnect':this[_0x1a668a(0x1d7)],'reconnectDelay':nextReconnectDelay,'manager':this[_0x1a668a(0x1b0)]}),this[_0x1a668a(0x310)]=new NodeControlChannel({'config':()=>this[_0x1a668a(0x1eb)],'capabilities':()=>this[_0x1a668a(0x21c)],'stopped':()=>this[_0x1a668a(0x32d)],'reconnect':this[_0x1a668a(0x1d7)],'reconnectDelay':nextReconnectDelay,'onConnecting':_0x59ee88=>{const _0x3ecce8=_0x1a668a;this[_0x3ecce8(0x230)][_0x3ecce8(0x299)](),nodeLog(_0x3ecce8(0x371),{'attempt':_0x59ee88});},'onReconnectScheduled':()=>this[_0x1a668a(0x230)][_0x1a668a(0x1af)](),'onMessage':_0x38e073=>this[_0x1a668a(0x30f)](_0x38e073),'onClose':(_0xa4ce10,_0x5e70b6)=>{const _0x70fe4d=_0x1a668a;this[_0x70fe4d(0x2c4)][_0x70fe4d(0x379)](),this[_0x70fe4d(0x1db)][_0x70fe4d(0x307)]();if(_0xa4ce10===0x172e+0x1570+-0x1cfe&&_0x5e70b6===_0x70fe4d(0x368))nodeLog(_0x70fe4d(0x2a5),{'message':_0x70fe4d(0x314)});if(_0xa4ce10===-0xd86+-0x1867+-0x4*-0xd64||_0xa4ce10===0xd1a+-0x4ca+-0x467)void this[_0x70fe4d(0x1b0)][_0x70fe4d(0x2b5)]();}}),this[_0x1a668a(0x382)]=new NodeControlMessageService({'config':()=>this[_0x1a668a(0x1eb)],'register':(_0x1738a0,_0xeecc80)=>this[_0x1a668a(0x227)][_0x1a668a(0x36a)](_0x1738a0,_0xeecc80),'connected':()=>this[_0x1a668a(0x227)][_0x1a668a(0x231)](),'close':(_0x3b2803,_0x21061c)=>this[_0x1a668a(0x310)][_0x1a668a(0x1de)](_0x3b2803,_0x21061c),'inspectWorkspace':_0x3a22eb=>this[_0x1a668a(0x278)][_0x1a668a(0x27e)](_0x3a22eb),'handleNodeRequest':_0x1c047f=>this[_0x1a668a(0x240)][_0x1a668a(0x205)](_0x1c047f),'handleRuntimeCredentialResponse':_0x3a3c7a=>this[_0x1a668a(0x2c4)][_0x1a668a(0x205)](_0x3a3c7a),'reconcileRuns':_0x32e0e7=>this[_0x1a668a(0x335)][_0x1a668a(0x1c3)](_0x32e0e7),'runners':this[_0x1a668a(0x2d4)],'deliverSessionChannelMessage':_0x39a85f=>this[_0x1a668a(0x247)][_0x1a668a(0x205)](_0x39a85f),'completeUncontrolledCancellation':_0x193149=>{const _0x4ea5f5=_0x1a668a,_0x564879=this[_0x4ea5f5(0x302)][_0x4ea5f5(0x34e)](_0x193149);if(_0x564879?.[_0x4ea5f5(0x1a9)]===_0x4ea5f5(0x1c0))this[_0x4ea5f5(0x1ab)][_0x4ea5f5(0x2b4)](_0x193149);},'send':(_0x582bc9,_0x523331,_0x1eb1cb)=>this[_0x1a668a(0x242)](_0x582bc9,_0x523331,_0x1eb1cb)}),this[_0x1a668a(0x240)]=new NodeRequestService({'nodeId':()=>this[_0x1a668a(0x1eb)]?.[_0x1a668a(0x29c)],'databaseAvailable':()=>this[_0x1a668a(0x2f3)]!==undefined,'execute':(_0x3b86c5,_0x21e46d)=>this[_0x1a668a(0x25b)](_0x3b86c5,_0x21e46d),'send':(_0x46e9e7,_0x455614,_0x19a63c)=>this[_0x1a668a(0x242)](_0x46e9e7,_0x455614,_0x19a63c)}),this[_0x1a668a(0x278)]=new NodeWorkspaceCoordinator({'config':()=>this[_0x1a668a(0x1eb)],'database':()=>this[_0x1a668a(0x2f3)],'watches':this[_0x1a668a(0x1a5)],'sessions':this[_0x1a668a(0x1c5)],'changes':this[_0x1a668a(0x268)],'emit':(_0x59b1c9,_0x4ca031)=>void this[_0x1a668a(0x22d)]?.[_0x1a668a(0x249)](_0x59b1c9,_0x4ca031),'send':(_0x451446,_0x4b686c,_0x3eeb4c)=>this[_0x1a668a(0x242)](_0x451446,_0x4b686c,_0x3eeb4c)}),this[_0x1a668a(0x335)]=new NodeRunEventBridge({'runtime':this[_0x1a668a(0x302)],'state':this[_0x1a668a(0x26a)],'events':this[_0x1a668a(0x2a4)],'emitWorkbench':(_0x52dac5,_0x559009)=>this[_0x1a668a(0x369)](_0x52dac5,_0x559009),'queues':this[_0x1a668a(0x2dd)],'codex':this[_0x1a668a(0x30d)],'claude':this[_0x1a668a(0x2de)],'openCode':this[_0x1a668a(0x352)],'send':(_0x44b617,_0x2698d4,_0x3e7031)=>this[_0x1a668a(0x242)](_0x44b617,_0x2698d4,_0x3e7031)}),this[_0x1a668a(0x227)]=new NodeConnectionLifecycleService({'config':()=>this[_0x1a668a(0x1eb)],'setConfig':_0xc54aa3=>this[_0x1a668a(0x1eb)]=_0xc54aa3,'configPath':this[_0x1a668a(0x312)],'capabilities':()=>this[_0x1a668a(0x21c)],'detectCapabilities':this[_0x1a668a(0x1b3)],'capabilitiesProvided':this[_0x1a668a(0x290)],'stopped':()=>this[_0x1a668a(0x32d)],'setCapabilities':_0x5732d8=>this[_0x1a668a(0x21c)]={..._0x5732d8,'metadata':upgradeMetadata(_0x5732d8[_0x1a668a(0x373)],this[_0x1a668a(0x259)][_0x1a668a(0x29e)]())},'control':this[_0x1a668a(0x310)],'terminal':this[_0x1a668a(0x1db)],'metrics':this[_0x1a668a(0x230)],'heartbeatMs':HEARTBEAT_MS,'refreshMs':CAPABILITY_REFRESH_MS,'onRegistered':()=>this[_0x1a668a(0x2e9)](),'onConnected':()=>{const _0x4c92e4=_0x1a668a;this[_0x4c92e4(0x2c4)][_0x4c92e4(0x231)](),this[_0x4c92e4(0x2a6)][_0x4c92e4(0x2b6)]();}});const _0x324f3c=()=>{const _0x615c34=_0x1a668a;if(this[_0x615c34(0x2f3)]===undefined)throw new Error(_0x615c34(0x228));return this[_0x615c34(0x2f3)];};this[_0x1a668a(0x2ef)]=new RunnerService(_0x324f3c,()=>this[_0x1a668a(0x21c)],this[_0x1a668a(0x2d4)],this[_0x1a668a(0x2d6)]),this[_0x1a668a(0x29a)]=new WorkbenchManifestService({'capabilities':()=>this[_0x1a668a(0x21c)],'runners':this[_0x1a668a(0x2ef)],'terminals':this[_0x1a668a(0x1b0)]}),this[_0x1a668a(0x30a)]=new TerminalService(_0x324f3c,this[_0x1a668a(0x1b0)]),this[_0x1a668a(0x37e)]=new WorkspaceService(_0x324f3c,()=>{const _0x49a625=_0x1a668a;if(this[_0x49a625(0x1eb)]===undefined)throw new Error(_0x49a625(0x1c9));return this[_0x49a625(0x1eb)];},this[_0x1a668a(0x302)],_0xfaa31=>{const _0x531685=_0x1a668a;this[_0x531685(0x1e3)][_0x531685(0x27c)](_0xfaa31),this[_0x531685(0x278)][_0x531685(0x2e8)](_0xfaa31),this[_0x531685(0x1c5)][_0x531685(0x26b)](_0xfaa31),this[_0x531685(0x278)][_0x531685(0x237)](_0xfaa31);}),this[_0x1a668a(0x22d)]=new WorkspaceWorkbenchService({'requireWorkspace':_0x2ce385=>this[_0x1a668a(0x278)][_0x1a668a(0x1da)](_0x2ce385),'inspectWorkspace':_0x5c2c11=>this[_0x1a668a(0x278)][_0x1a668a(0x276)](_0x5c2c11),'commitWorkspace':(_0x1a8eb7,_0x3a0731)=>this[_0x1a668a(0x278)][_0x1a668a(0x21e)](_0x1a8eb7,_0x3a0731),'watch':this[_0x1a668a(0x1a5)],'files':this[_0x1a668a(0x1e3)],'uploads':this[_0x1a668a(0x2d9)],'changes':this[_0x1a668a(0x268)],'listSessions':_0x370439=>this[_0x1a668a(0x25b)](_0x1a668a(0x212),{'workspaceId':_0x370439,'limit':0x14}),'invalidate':_0x1e40fa=>{const _0x21a27d=_0x1a668a;this[_0x21a27d(0x1e3)][_0x21a27d(0x27c)](_0x1e40fa),this[_0x21a27d(0x278)][_0x21a27d(0x26b)](_0x1e40fa);},'nodeId':()=>this[_0x1a668a(0x1eb)]?.[_0x1a668a(0x29c)]??_0x1a668a(0x2e3),'nodeGeneration':()=>this[_0x1a668a(0x255)],'emitWatchEvent':_0x51c8ad=>this[_0x1a668a(0x242)](_0x1a668a(0x33c),_0x51c8ad)});for(const _0x468b73 of CONVERSATION_TEMPLATE_OPERATIONS)this[_0x1a668a(0x2f0)][_0x1a668a(0x36a)](_0x468b73,_0x3a238=>{const _0xa5be3=_0x1a668a,_0x25a2d8=this[_0xa5be3(0x1ca)]?.[_0x468b73];if(_0x25a2d8===undefined)throw new Error(_0xa5be3(0x203));return _0x25a2d8(_0x3a238);});for(const _0x31380a of HOSTED_CONVERSATION_OPERATIONS)this[_0x1a668a(0x2f0)][_0x1a668a(0x36a)](_0x31380a,_0x347f3f=>{const _0x525d18=_0x1a668a,_0x3011cc=this[_0x525d18(0x35b)]?.[_0x31380a];if(_0x3011cc===undefined)throw new Error(_0x525d18(0x203));return _0x3011cc(_0x347f3f);});for(const _0x1e26a3 of CONVERSATION_HOSTING_MAINTENANCE_OPERATIONS)this[_0x1a668a(0x2f0)][_0x1a668a(0x36a)](_0x1e26a3,_0x233412=>{const _0x130c5e=_0x1a668a,_0x279572=this[_0x130c5e(0x358)]?.[_0x1e26a3];if(_0x279572===undefined)throw new Error(_0x130c5e(0x203));return _0x279572(_0x233412);});this[_0x1a668a(0x2f0)][_0x1a668a(0x26d)](this[_0x1a668a(0x2ef)][_0x1a668a(0x305)]()),this[_0x1a668a(0x2f0)][_0x1a668a(0x26d)](this[_0x1a668a(0x30a)][_0x1a668a(0x305)]()),this[_0x1a668a(0x2f0)][_0x1a668a(0x26d)](this[_0x1a668a(0x37e)][_0x1a668a(0x305)]()),this[_0x1a668a(0x2f0)][_0x1a668a(0x26d)](this[_0x1a668a(0x22d)][_0x1a668a(0x305)]()),this[_0x1a668a(0x2f0)][_0x1a668a(0x26d)](this[_0x1a668a(0x37f)][_0x1a668a(0x305)]()),this[_0x1a668a(0x2f0)][_0x1a668a(0x26d)](this[_0x1a668a(0x330)][_0x1a668a(0x305)]()),this[_0x1a668a(0x2f0)][_0x1a668a(0x26d)](this[_0x1a668a(0x377)][_0x1a668a(0x305)]()),this[_0x1a668a(0x2f0)][_0x1a668a(0x26d)](this[_0x1a668a(0x24e)][_0x1a668a(0x305)]()),this[_0x1a668a(0x2f0)][_0x1a668a(0x26d)](this[_0x1a668a(0x348)][_0x1a668a(0x305)]()),this[_0x1a668a(0x2f0)][_0x1a668a(0x26d)](this[_0x1a668a(0x1c8)][_0x1a668a(0x305)]()),this[_0x1a668a(0x2f0)][_0x1a668a(0x26d)](this[_0x1a668a(0x1aa)][_0x1a668a(0x305)]()),this[_0x1a668a(0x2f0)][_0x1a668a(0x26d)](this[_0x1a668a(0x2dd)][_0x1a668a(0x305)]()),this[_0x1a668a(0x2f0)][_0x1a668a(0x26d)](this[_0x1a668a(0x2af)][_0x1a668a(0x305)]()),this[_0x1a668a(0x2f0)][_0x1a668a(0x26d)](new ConversationHostingEnablementService({'config':()=>this[_0x1a668a(0x1eb)],'setConfig':_0x5d4f01=>this[_0x1a668a(0x1eb)]=_0x5d4f01,'configPath':this[_0x1a668a(0x312)],'platform':()=>this[_0x1a668a(0x21c)][_0x1a668a(0x2f5)],'capability':()=>this[_0x1a668a(0x21c)][_0x1a668a(0x1ac)],'initialize':()=>this[_0x1a668a(0x2e9)](),'prepareForDisable':()=>this[_0x1a668a(0x2a7)]?.[_0x1a668a(0x1b4)]()??(()=>{}),'publishCapabilities':()=>this[_0x1a668a(0x242)](_0x1a668a(0x21c),this[_0x1a668a(0x21c)])})[_0x1a668a(0x305)]()),this[_0x1a668a(0x2f0)][_0x1a668a(0x26d)](new SkillNodeOperationService(_0x324f3c,()=>{const _0x3ec780=_0x1a668a;if(this[_0x3ec780(0x1eb)]===undefined)throw new Error(_0x3ec780(0x1c9));return this[_0x3ec780(0x1eb)];})[_0x1a668a(0x305)]()),this[_0x1a668a(0x2f0)][_0x1a668a(0x26d)](new McpNodeOperationService(_0x324f3c)[_0x1a668a(0x305)]()),this[_0x1a668a(0x2f0)][_0x1a668a(0x36a)](_0x1a668a(0x1c7),()=>({'metrics':{...this[_0x1a668a(0x230)][_0x1a668a(0x29e)](),'activeRuns':this[_0x1a668a(0x26a)][_0x1a668a(0x2f6)][_0x1a668a(0x2e7)],'workspaceLeases':this[_0x1a668a(0x302)][_0x1a668a(0x291)]()}})),this[_0x1a668a(0x2f0)][_0x1a668a(0x36a)](_0x1a668a(0x25d),_0x3419ee=>this[_0x1a668a(0x259)][_0x1a668a(0x320)](_0x3419ee)),this[_0x1a668a(0x2f0)][_0x1a668a(0x36a)](_0x1a668a(0x1e4),()=>this[_0x1a668a(0x259)][_0x1a668a(0x2fd)]()),this[_0x1a668a(0x2f0)][_0x1a668a(0x36a)](_0x1a668a(0x28b),async()=>({'manifest':await this[_0x1a668a(0x29a)][_0x1a668a(0x2bc)]()}));}async[_0x281842(0x2e9)](){const _0x54752a=_0x281842,_0x8bdcc8=this[_0x54752a(0x25e)],_0x122d16=this[_0x54752a(0x2a7)],_0x51e897=this[_0x54752a(0x238)];this[_0x54752a(0x25e)]=undefined,this[_0x54752a(0x2a7)]=undefined,this[_0x54752a(0x238)]=undefined,this[_0x54752a(0x35b)]=undefined,this[_0x54752a(0x358)]=undefined,this[_0x54752a(0x1ca)]=undefined,this[_0x54752a(0x347)]=![],this[_0x54752a(0x311)]=undefined,await _0x51e897?.[_0x54752a(0x27c)](),_0x122d16?.[_0x54752a(0x27c)](),await _0x8bdcc8?.[_0x54752a(0x27c)]()[_0x54752a(0x2da)](()=>undefined);const _0x4b819b=this[_0x54752a(0x1eb)];if(_0x4b819b?.[_0x54752a(0x1ac)]?.[_0x54752a(0x363)]===!![]&&this[_0x54752a(0x21c)][_0x54752a(0x2f5)]===_0x54752a(0x26e)){if(_0x4b819b[_0x54752a(0x29c)]===undefined)this[_0x54752a(0x311)]=_0x54752a(0x2ea);else{let _0x355942,_0x47322b,_0x499aff;try{if(this[_0x54752a(0x2f3)]===undefined)throw new Error(_0x54752a(0x228));const _0x554e43=hostedConversationStorePath(_0x4b819b,this[_0x54752a(0x312)]);if(_0x554e43===undefined)throw new Error(_0x54752a(0x1dc));const _0x2b5f46=new HostedConversationStore({'dataDirectory':nodeDataDirectory(_0x4b819b,this[_0x54752a(0x312)]),'rootDirectory':_0x554e43,'nodeId':_0x4b819b[_0x54752a(0x29c)],'database':this[_0x54752a(0x2f3)]});await _0x2b5f46[_0x54752a(0x2d1)]();const _0x40ccdb=new ConversationTemplateNodeService({'database':this[_0x54752a(0x2f3)],'store':_0x2b5f46,'nodeId':()=>this[_0x54752a(0x1eb)]?.[_0x54752a(0x29c)]??_0x54752a(0x215)});await _0x40ccdb[_0x54752a(0x250)](),await _0x2b5f46[_0x54752a(0x339)](),_0x355942=new MarAgentHostedConversationRuntime({'webSearch':(_0x576dee,_0x3c00c0)=>this[_0x54752a(0x34a)](_0x576dee,_0x3c00c0),'modelFactory':this[_0x54752a(0x213)],'registerNativeImages':(_0x51e7be,_0x3e31ac,_0x7bc3f1)=>this[_0x54752a(0x22e)][_0x54752a(0x275)](_0x51e7be,_0x3e31ac,_0x7bc3f1,{'reuseCachedRunImages':![]})}),_0x47322b=new HostedConversationNodeService({'database':this[_0x54752a(0x2f3)],'store':_0x2b5f46,'runtime':_0x355942,'nodeId':()=>this[_0x54752a(0x1eb)]?.[_0x54752a(0x29c)]??_0x54752a(0x215),'nodeGeneration':()=>this[_0x54752a(0x255)],'sessionWatchSlots':this[_0x54752a(0x24b)],'emitWatchEvent':_0x56ea64=>this[_0x54752a(0x242)](_0x54752a(0x33c),_0x56ea64),'nextWorkbenchEvent':_0x11564f=>this[_0x54752a(0x28f)][_0x54752a(0x2df)](_0x54752a(0x304),_0x11564f),'emitWorkbenchEvent':_0x3c2a0f=>this[_0x54752a(0x28f)][_0x54752a(0x220)](_0x3c2a0f),'readImage':async(_0x12a75a,_0x2641f6)=>this[_0x54752a(0x22e)][_0x54752a(0x2bc)](_0x12a75a,_0x2641f6)??await this[_0x54752a(0x22e)][_0x54752a(0x2a8)](_0x12a75a,_0x2641f6),'processExecutorFactory':_0x2baf34=>new BubblewrapSandboxExecutor(_0x2baf34),'assertCanCreate':()=>{const _0x220463=_0x54752a;if(_0x499aff===undefined)throw new Error(_0x220463(0x203));return _0x499aff[_0x220463(0x2ce)]();}}),_0x499aff=new ConversationHostingMaintenanceService({'store':_0x2b5f46,'inactiveRetentionDays':_0x4b819b[_0x54752a(0x1ac)][_0x54752a(0x1e9)]??-0x1a75*-0x1+0x1412+-0x2e4b,'isConversationInUse':_0x2b5874=>_0x47322b?.[_0x54752a(0x279)](_0x2b5874)??!![],'beginConversationCleanup':_0x46a684=>_0x47322b?.[_0x54752a(0x356)](_0x46a684),'releaseConversation':_0x5ecc90=>{const _0x51caeb=_0x54752a;if(_0x47322b===undefined)throw new Error(_0x51caeb(0x203));return _0x47322b[_0x51caeb(0x36f)](_0x5ecc90);},'onAutomaticCleanupError':_0xfad53e=>nodeLog(_0x54752a(0x254),{'nodeId':_0x4b819b[_0x54752a(0x29c)],'code':safeErrorCode(_0xfad53e,_0x54752a(0x2cf))})}),this[_0x54752a(0x1ca)]=_0x40ccdb[_0x54752a(0x305)](),this[_0x54752a(0x35b)]=_0x47322b[_0x54752a(0x305)](),this[_0x54752a(0x358)]=_0x499aff[_0x54752a(0x305)](),this[_0x54752a(0x25e)]=_0x355942,this[_0x54752a(0x2a7)]=_0x47322b,this[_0x54752a(0x238)]=_0x499aff,await _0x499aff[_0x54752a(0x1fe)](),this[_0x54752a(0x347)]=!![];}catch(_0x589808){await _0x499aff?.[_0x54752a(0x27c)](),_0x47322b?.[_0x54752a(0x27c)](),await _0x355942?.[_0x54752a(0x27c)]()[_0x54752a(0x2da)](()=>undefined),this[_0x54752a(0x311)]=safeErrorCode(_0x589808,_0x54752a(0x2c5)),nodeLog(_0x54752a(0x342),{'nodeId':_0x4b819b[_0x54752a(0x29c)],'code':this[_0x54752a(0x311)]});}}}this[_0x54752a(0x21c)]=await this[_0x54752a(0x1c6)](this[_0x54752a(0x21c)]);}async[_0x281842(0x1c6)](_0x510367){const _0x1162ef=_0x281842;let _0x4703b3=this[_0x1162ef(0x347)],_0x498c27=this[_0x1162ef(0x311)],_0x2cae95=_0x1162ef(0x210);if(_0x4703b3&&this[_0x1162ef(0x238)]!==undefined)try{_0x2cae95=(await this[_0x1162ef(0x238)][_0x1162ef(0x1e1)]())[_0x1162ef(0x2a3)];}catch(_0x4146b1){_0x4703b3=![],_0x498c27=safeErrorCode(_0x4146b1,_0x1162ef(0x1dc));}return{..._0x510367,'conversationHosting':await conversationHostingCapability(_0x510367,this[_0x1162ef(0x1eb)],_0x4703b3,_0x498c27,this[_0x1162ef(0x239)],_0x2cae95)};}async[_0x281842(0x1fe)](){const _0x148ec9=_0x281842;if(this[_0x148ec9(0x346)]!==undefined)await this[_0x148ec9(0x346)];this[_0x148ec9(0x346)]=undefined,this[_0x148ec9(0x32d)]=![],this[_0x148ec9(0x1eb)]??=await loadNodeConfig(this[_0x148ec9(0x312)]),await this[_0x148ec9(0x259)][_0x148ec9(0x32f)](resolve(dirname(nodeDatabasePath(this[_0x148ec9(0x1eb)],this[_0x148ec9(0x312)])),_0x148ec9(0x296))),await assertLocalSqlitePath(nodeDatabasePath(this[_0x148ec9(0x1eb)],this[_0x148ec9(0x312)])),this[_0x148ec9(0x2f3)]??=new NodeDatabase(nodeDatabasePath(this[_0x148ec9(0x1eb)],this[_0x148ec9(0x312)]),()=>this[_0x148ec9(0x1eb)]?.[_0x148ec9(0x29c)]??_0x148ec9(0x215)),this[_0x148ec9(0x2f3)][_0x148ec9(0x32b)](),await this[_0x148ec9(0x2e9)](),this[_0x148ec9(0x227)][_0x148ec9(0x1fe)](),this[_0x148ec9(0x310)][_0x148ec9(0x225)]();}[_0x281842(0x1cb)](_0x6bce6d){const _0x5b493a=_0x281842,_0x20586f=this[_0x5b493a(0x1e2)][_0x5b493a(0x340)](_0x6bce6d);if(_0x20586f!==undefined)clearTimeout(_0x20586f[_0x5b493a(0x1f8)]);this[_0x5b493a(0x1e2)][_0x5b493a(0x318)](_0x6bce6d),this[_0x5b493a(0x271)][_0x5b493a(0x318)](_0x6bce6d);}async[_0x281842(0x24a)](_0x183a30){const _0x2ddf1c=_0x281842,_0x2368f3=_0x183a30[_0x2ddf1c(0x294)]['id']+':'+_0x183a30[_0x2ddf1c(0x294)][_0x2ddf1c(0x2c7)];this[_0x2ddf1c(0x271)][_0x2ddf1c(0x22b)](_0x183a30[_0x2ddf1c(0x375)],_0x2368f3);try{await this[_0x2ddf1c(0x348)][_0x2ddf1c(0x309)]({'sessionId':_0x183a30[_0x2ddf1c(0x375)],'kind':_0x2ddf1c(0x1b7),'content':this[_0x2ddf1c(0x263)][_0x2ddf1c(0x267)](_0x183a30[_0x2ddf1c(0x375)],_0x2ddf1c(0x1b7)),'deliveryIntent':_0x2ddf1c(0x24c),'mission':_0x183a30[_0x2ddf1c(0x294)],'secretEnvironment':_0x183a30[_0x2ddf1c(0x20f)],..._0x183a30[_0x2ddf1c(0x316)]===undefined?{}:{'personalInstructions':_0x183a30[_0x2ddf1c(0x316)]},..._0x183a30[_0x2ddf1c(0x317)]===undefined?{}:{'marAgentModel':_0x183a30[_0x2ddf1c(0x317)]},..._0x183a30[_0x2ddf1c(0x1b9)]===undefined?{}:{'marAgentModels':_0x183a30[_0x2ddf1c(0x1b9)]},..._0x183a30[_0x2ddf1c(0x324)]===undefined?{}:{'marAgentRuntimeScopeId':_0x183a30[_0x2ddf1c(0x324)]}});const _0x38af67=this[_0x2ddf1c(0x263)][_0x2ddf1c(0x340)](_0x183a30[_0x2ddf1c(0x375)]);if(_0x38af67?.[_0x2ddf1c(0x1a9)]!==_0x2ddf1c(0x2f6)||_0x38af67['id']!==_0x183a30[_0x2ddf1c(0x294)]['id']||_0x38af67[_0x2ddf1c(0x2c7)]!==_0x183a30[_0x2ddf1c(0x294)][_0x2ddf1c(0x2c7)]){if(this[_0x2ddf1c(0x271)][_0x2ddf1c(0x340)](_0x183a30[_0x2ddf1c(0x375)])===_0x2368f3)this[_0x2ddf1c(0x271)][_0x2ddf1c(0x318)](_0x183a30[_0x2ddf1c(0x375)]);return;}this[_0x2ddf1c(0x1cb)](_0x183a30[_0x2ddf1c(0x375)]);}catch{const _0x1b3455=this[_0x2ddf1c(0x263)][_0x2ddf1c(0x340)](_0x183a30[_0x2ddf1c(0x375)]);if(_0x1b3455?.[_0x2ddf1c(0x1a9)]!==_0x2ddf1c(0x2f6)||_0x1b3455['id']!==_0x183a30[_0x2ddf1c(0x294)]['id']||_0x1b3455[_0x2ddf1c(0x2c7)]!==_0x183a30[_0x2ddf1c(0x294)][_0x2ddf1c(0x2c7)]){if(this[_0x2ddf1c(0x271)][_0x2ddf1c(0x340)](_0x183a30[_0x2ddf1c(0x375)])===_0x2368f3)this[_0x2ddf1c(0x271)][_0x2ddf1c(0x318)](_0x183a30[_0x2ddf1c(0x375)]);return;}const _0x3d18b4=(_0x183a30[_0x2ddf1c(0x200)]??-0x1*-0x1f5e+0x2410+-0x167a*0x3)+(0x122d+0x1118+-0x25*0xf4),_0x4051d6=this[_0x2ddf1c(0x302)][_0x2ddf1c(0x23d)](_0x183a30[_0x2ddf1c(0x375)]);if(_0x3d18b4>-0x22c2+-0x1fa9+0x426e||_0x4051d6===undefined){this[_0x2ddf1c(0x1cb)](_0x183a30[_0x2ddf1c(0x375)]);if(_0x3d18b4>-0x1bca+-0xe2c+0x29f9){const _0x1b6612=this[_0x2ddf1c(0x263)][_0x2ddf1c(0x30e)](_0x183a30[_0x2ddf1c(0x375)],_0x183a30[_0x2ddf1c(0x294)]['id'],_0x183a30[_0x2ddf1c(0x294)][_0x2ddf1c(0x2c7)]);this[_0x2ddf1c(0x376)][_0x2ddf1c(0x31a)](_0x183a30[_0x2ddf1c(0x375)]),this[_0x2ddf1c(0x218)](_0x183a30[_0x2ddf1c(0x375)],_0x2ddf1c(0x36c));if(_0x4051d6!==undefined)this[_0x2ddf1c(0x232)](_0x4051d6,_0x1b6612);}return;}this[_0x2ddf1c(0x1cb)](_0x183a30[_0x2ddf1c(0x375)]);const _0x2e759d={'sessionId':_0x183a30[_0x2ddf1c(0x375)],'timer':setTimeout(()=>{const _0x1a9be4=_0x2ddf1c,_0x299366=this[_0x1a9be4(0x263)][_0x1a9be4(0x340)](_0x2e759d[_0x1a9be4(0x375)]);if(_0x299366?.[_0x1a9be4(0x1a9)]!==_0x1a9be4(0x2f6)||_0x299366['id']!==_0x183a30[_0x1a9be4(0x294)]['id']||_0x299366[_0x1a9be4(0x2c7)]!==_0x183a30[_0x1a9be4(0x294)][_0x1a9be4(0x2c7)])return;void this[_0x1a9be4(0x24a)]({..._0x183a30,'sessionId':_0x2e759d[_0x1a9be4(0x375)],'failedAttempts':_0x3d18b4});},0x2cb9+-0x60d+-0x11*-0x12c)};this[_0x2ddf1c(0x1e2)][_0x2ddf1c(0x22b)](_0x183a30[_0x2ddf1c(0x375)],_0x2e759d),_0x2e759d[_0x2ddf1c(0x1f8)][_0x2ddf1c(0x319)]();}}[_0x281842(0x218)](_0x3f9c23,_0x1da4c0){const _0x16eefd=_0x281842,_0x1a58eb=this[_0x16eefd(0x302)][_0x16eefd(0x282)](_0x3f9c23);if(_0x1a58eb===undefined||this[_0x16eefd(0x302)][_0x16eefd(0x219)](_0x1a58eb['id'])!==undefined)return;this[_0x16eefd(0x335)][_0x16eefd(0x284)](_0x1a58eb['id'],_0x1da4c0===_0x16eefd(0x32c)?_0x16eefd(0x289):_0x16eefd(0x35f),_0x1da4c0===_0x16eefd(0x32c)?{}:{'code':_0x16eefd(0x360)},_0x1da4c0);}[_0x281842(0x351)](_0x2a6001){const _0x59d98d=_0x281842,_0xa2ffb0=missionUnrestrictedAccess(_0x2a6001[_0x59d98d(0x206)]),_0x154c21=_0x2a6001[_0x59d98d(0x34d)]!==_0xa2ffb0,_0x10d5fc=_0x154c21?this[_0x59d98d(0x302)][_0x59d98d(0x272)](_0x2a6001['id'],_0xa2ffb0):_0x2a6001;if(_0x154c21&&_0x10d5fc[_0x59d98d(0x341)]!==null&&_0x10d5fc[_0x59d98d(0x331)]!==null&&_0x10d5fc[_0x59d98d(0x2ad)]!==null)this[_0x59d98d(0x2f3)]?.[_0x59d98d(0x21f)]({'runner':_0x10d5fc[_0x59d98d(0x206)],'externalSessionId':_0x10d5fc[_0x59d98d(0x341)],'workspaceId':_0x10d5fc[_0x59d98d(0x1bc)],'model':_0x10d5fc[_0x59d98d(0x331)],'effort':_0x10d5fc[_0x59d98d(0x2ad)],'access':_0xa2ffb0});return{'session':_0x10d5fc,'changed':_0x154c21};}[_0x281842(0x1ba)](){const _0x2bf252=_0x281842;return{'commandId':_0x2bf252(0x294),'active':!![],'label':_0x2bf252(0x332),'detail':null,'closable':!![],'closeInput':_0x2bf252(0x2a2)};}[_0x281842(0x333)](){const _0x1d4077=_0x281842;if(this[_0x1d4077(0x346)]!==undefined)return this[_0x1d4077(0x346)];this[_0x1d4077(0x32d)]=!![],this[_0x1d4077(0x2a6)][_0x1d4077(0x27c)](),this[_0x1d4077(0x259)][_0x1d4077(0x333)](),this[_0x1d4077(0x227)][_0x1d4077(0x333)]();for(const _0xabbaa3 of this[_0x1d4077(0x2de)][_0x1d4077(0x1d5)][_0x1d4077(0x380)][_0x1d4077(0x1e0)]()){clearTimeout(_0xabbaa3[_0x1d4077(0x1f8)]),_0xabbaa3[_0x1d4077(0x372)](_0x1d4077(0x28d));}this[_0x1d4077(0x2de)][_0x1d4077(0x1d5)][_0x1d4077(0x380)][_0x1d4077(0x2b2)]();for(const _0x32d9fc of this[_0x1d4077(0x2de)][_0x1d4077(0x1d5)][_0x1d4077(0x1f1)][_0x1d4077(0x1e0)]()){clearTimeout(_0x32d9fc[_0x1d4077(0x1f8)]),_0x32d9fc[_0x1d4077(0x2dc)](_0x1d4077(0x338));}this[_0x1d4077(0x2de)][_0x1d4077(0x1d5)][_0x1d4077(0x1f1)][_0x1d4077(0x2b2)](),this[_0x1d4077(0x330)][_0x1d4077(0x2b2)](),this[_0x1d4077(0x1b1)][_0x1d4077(0x27c)](),this[_0x1d4077(0x24e)][_0x1d4077(0x2b2)](),this[_0x1d4077(0x376)][_0x1d4077(0x2b2)]();for(const _0x386b50 of this[_0x1d4077(0x1e2)][_0x1d4077(0x1e0)]())clearTimeout(_0x386b50[_0x1d4077(0x1f8)]);this[_0x1d4077(0x1e2)][_0x1d4077(0x2b2)](),this[_0x1d4077(0x271)][_0x1d4077(0x2b2)](),this[_0x1d4077(0x2a4)][_0x1d4077(0x2b2)](),this[_0x1d4077(0x1f7)][_0x1d4077(0x27c)]();for(const _0x131c75 of this[_0x1d4077(0x2de)][_0x1d4077(0x1d5)][_0x1d4077(0x2fb)][_0x1d4077(0x1e0)]())_0x131c75[_0x1d4077(0x205)][_0x1d4077(0x2fd)]();this[_0x1d4077(0x2de)][_0x1d4077(0x1d5)][_0x1d4077(0x2fb)][_0x1d4077(0x2b2)](),this[_0x1d4077(0x22e)][_0x1d4077(0x27c)](),void this[_0x1d4077(0x366)][_0x1d4077(0x27c)]();const _0x5df7fd=this[_0x1d4077(0x238)]?.[_0x1d4077(0x27c)]();this[_0x1d4077(0x238)]=undefined,this[_0x1d4077(0x2a7)]?.[_0x1d4077(0x27c)](),this[_0x1d4077(0x2a7)]=undefined;const _0x21a09e=this[_0x1d4077(0x25e)];this[_0x1d4077(0x25e)]=undefined,this[_0x1d4077(0x35b)]=undefined,this[_0x1d4077(0x358)]=undefined,void this[_0x1d4077(0x2d9)][_0x1d4077(0x2b5)](),this[_0x1d4077(0x1e3)][_0x1d4077(0x27c)](),this[_0x1d4077(0x1a5)][_0x1d4077(0x2d3)](),this[_0x1d4077(0x22d)][_0x1d4077(0x2b2)](),this[_0x1d4077(0x1c5)][_0x1d4077(0x2b2)](),this[_0x1d4077(0x268)][_0x1d4077(0x2b2)](),void this[_0x1d4077(0x2d4)][_0x1d4077(0x333)](),void this[_0x1d4077(0x1be)][_0x1d4077(0x1de)](),void this[_0x1d4077(0x1b0)][_0x1d4077(0x2b5)](),this[_0x1d4077(0x1db)][_0x1d4077(0x333)](),this[_0x1d4077(0x2c4)][_0x1d4077(0x1de)](),this[_0x1d4077(0x310)][_0x1d4077(0x333)]();const _0x28d2fb=this[_0x1d4077(0x2f3)];return this[_0x1d4077(0x2f3)]=undefined,this[_0x1d4077(0x346)]=((async()=>{const _0x18b816=_0x1d4077;try{await _0x5df7fd;}finally{await _0x21a09e?.[_0x18b816(0x27c)]()[_0x18b816(0x2da)](()=>undefined),_0x28d2fb?.[_0x18b816(0x1de)]();}})()),this[_0x1d4077(0x346)];}[_0x281842(0x30f)]=_0x307640=>this[_0x281842(0x382)][_0x281842(0x205)](_0x307640);[_0x281842(0x246)]=(_0x224b26,_0x5a0ebe,_0x11c337,_0x5409f3)=>this[_0x281842(0x335)][_0x281842(0x284)](_0x224b26,_0x5a0ebe,_0x11c337,_0x5409f3);[_0x281842(0x2f2)]=(_0x561916,_0x55853a)=>{const _0x3eec0c=_0x281842;this[_0x3eec0c(0x2a4)][_0x3eec0c(0x2e4)](_0x561916);const _0x1c65ec=isPlainRecord(_0x55853a)&&typeof _0x55853a[_0x3eec0c(0x21a)]===_0x3eec0c(0x37b)?_0x55853a[_0x3eec0c(0x21a)]:undefined,_0x4e898a=isPlainRecord(_0x55853a)&&typeof _0x55853a[_0x3eec0c(0x1fa)]===_0x3eec0c(0x37b)?_0x55853a[_0x3eec0c(0x1fa)]:undefined,_0x748811=this[_0x3eec0c(0x302)][_0x3eec0c(0x1ee)](_0x561916),_0x246b80=_0x1c65ec===undefined||_0x748811===undefined?undefined:conversationSegmentIdentityForItem(_0x748811,_0x1c65ec,_0x4e898a);this[_0x3eec0c(0x335)][_0x3eec0c(0x284)](_0x561916,_0x3eec0c(0x2c8),_0x246b80===undefined||!isPlainRecord(_0x55853a)?_0x55853a:{..._0x55853a,'segmentId':_0x246b80['id'],'segmentIndex':_0x246b80[_0x3eec0c(0x217)]});};[_0x281842(0x325)]=_0x106fa5=>{const _0x4a3fc7=_0x281842,_0x5eee57=isPlainRecord(_0x106fa5)&&Array[_0x4a3fc7(0x23e)](_0x106fa5[_0x4a3fc7(0x287)])?conversationSegments(_0x106fa5):[];this[_0x4a3fc7(0x30b)](_0x4a3fc7(0x22f),{'turn':_0x106fa5,'segments':_0x5eee57});};[_0x281842(0x369)]=(_0x4ce38e,_0xcf436f)=>{const _0x6fadb0=_0x281842;if(_0x4ce38e===_0x6fadb0(0x1fc)){this[_0x6fadb0(0x283)](_0xcf436f);return;}this[_0x6fadb0(0x30b)](_0x4ce38e,_0xcf436f);};[_0x281842(0x283)]=_0x133e91=>{const _0x3b8497=_0x281842;if(isPlainRecord(_0x133e91)&&isPlainRecord(_0x133e91[_0x3b8497(0x1fc)])){const _0x39c42a=_0x133e91[_0x3b8497(0x1fc)][_0x3b8497(0x1bc)];typeof _0x39c42a===_0x3b8497(0x37b)&&(this[_0x3b8497(0x1c5)][_0x3b8497(0x37d)](_0x39c42a),void this[_0x3b8497(0x22d)]?.[_0x3b8497(0x249)](_0x39c42a,_0x3b8497(0x36b)));}this[_0x3b8497(0x30b)](_0x3b8497(0x1fc),_0x133e91);};[_0x281842(0x30b)]=(_0x32367a,_0x1cc8ab)=>{const _0x2aef57=_0x281842;if(_0x32367a===_0x2aef57(0x22f)&&isPlainRecord(_0x1cc8ab)&&isPlainRecord(_0x1cc8ab[_0x2aef57(0x23c)])&&_0x1cc8ab[_0x2aef57(0x23c)][_0x2aef57(0x21d)]!==_0x2aef57(0x265)){const _0x5c23cf=typeof _0x1cc8ab[_0x2aef57(0x23c)][_0x2aef57(0x35c)]===_0x2aef57(0x37b)?_0x1cc8ab[_0x2aef57(0x23c)][_0x2aef57(0x35c)]:undefined,_0x54ca74=typeof _0x1cc8ab[_0x2aef57(0x23c)][_0x2aef57(0x298)]===_0x2aef57(0x204)?_0x1cc8ab[_0x2aef57(0x23c)][_0x2aef57(0x298)]:undefined,_0x21a7ce=_0x5c23cf===undefined?undefined:this[_0x2aef57(0x302)][_0x2aef57(0x1ee)](_0x5c23cf);if(_0x21a7ce===undefined)return;const _0x887a13=isPlainRecord(_0x1cc8ab[_0x2aef57(0x23c)][_0x2aef57(0x2ca)])?_0x1cc8ab[_0x2aef57(0x23c)][_0x2aef57(0x2ca)]:undefined,_0x42e526=_0x1cc8ab[_0x2aef57(0x23c)][_0x2aef57(0x21d)]===_0x2aef57(0x1f6)&&typeof _0x887a13?.[_0x2aef57(0x253)]===_0x2aef57(0x37b)?_0x887a13[_0x2aef57(0x253)]:undefined,_0x1c66e7=typeof _0x887a13?.[_0x2aef57(0x21a)]===_0x2aef57(0x37b)?_0x887a13[_0x2aef57(0x21a)]:typeof _0x887a13?.[_0x2aef57(0x1d0)]===_0x2aef57(0x37b)?_0x2aef57(0x1ae)+_0x887a13[_0x2aef57(0x1d0)]:undefined,_0x16fc10=_0x42e526!==undefined&&_0x54ca74!==undefined?_0x21a7ce[_0x2aef57(0x287)][_0x2aef57(0x328)](_0x58d5ae=>_0x58d5ae[_0x2aef57(0x1fa)]===_0x2aef57(0x295)&&_0x58d5ae[_0x2aef57(0x2c7)]===_0x54ca74):_0x1c66e7===undefined?undefined:_0x21a7ce[_0x2aef57(0x287)][_0x2aef57(0x328)](_0x17ab16=>_0x17ab16['id']===_0x5c23cf+':'+_0x1c66e7);if(_0x42e526!==undefined&&_0x16fc10?.[_0x2aef57(0x1fa)]===_0x2aef57(0x295))_0x1cc8ab={'sessionId':_0x21a7ce[_0x2aef57(0x375)],'delta':{'runId':_0x21a7ce[_0x2aef57(0x35c)],'itemId':_0x16fc10['id'],'text':_0x42e526,'createdAt':typeof _0x1cc8ab[_0x2aef57(0x23c)][_0x2aef57(0x209)]===_0x2aef57(0x204)?_0x1cc8ab[_0x2aef57(0x23c)][_0x2aef57(0x209)]:Date[_0x2aef57(0x244)]()}};else{if(_0x16fc10!==undefined){const _0x74164b=conversationSegmentIdentityForItem(_0x21a7ce,_0x16fc10['id'],_0x16fc10[_0x2aef57(0x1fa)]);_0x1cc8ab={'sessionId':_0x21a7ce[_0x2aef57(0x375)],'runId':_0x21a7ce[_0x2aef57(0x35c)],'item':{'itemId':_0x16fc10['id'],'kind':_0x16fc10[_0x2aef57(0x1fa)],'status':_0x16fc10[_0x2aef57(0x1a9)],'payload':_0x16fc10[_0x2aef57(0x2ca)],'startedAt':_0x16fc10[_0x2aef57(0x2ee)],'completedAt':_0x16fc10[_0x2aef57(0x2e5)],'segmentId':_0x74164b['id'],'segmentIndex':_0x74164b[_0x2aef57(0x217)]}};}else{if(_0x1cc8ab[_0x2aef57(0x23c)][_0x2aef57(0x21d)]!==_0x2aef57(0x2fa)&&_0x1cc8ab[_0x2aef57(0x23c)][_0x2aef57(0x21d)]!==_0x2aef57(0x2b9))return;_0x1cc8ab={'turn':_0x21a7ce,'segments':conversationSegments(_0x21a7ce)};}}}const _0x4906eb=this[_0x2aef57(0x28f)][_0x2aef57(0x2df)](_0x32367a,_0x1cc8ab);if(_0x4906eb===undefined)return;const _0x56f560=_0x32367a===_0x2aef57(0x22f)&&isPlainRecord(_0x1cc8ab)&&isPlainRecord(_0x1cc8ab[_0x2aef57(0x23c)])&&_0x1cc8ab[_0x2aef57(0x23c)][_0x2aef57(0x21d)]===_0x2aef57(0x265),_0x2c8bb1=workbenchPayloadSessionId(this[_0x2aef57(0x302)],_0x32367a,_0x1cc8ab);if(!_0x56f560&&_0x2c8bb1!==undefined){this[_0x2aef57(0x330)][_0x2aef57(0x222)](_0x2c8bb1,_0x4906eb);return;}this[_0x2aef57(0x28f)][_0x2aef57(0x220)](_0x4906eb);};[_0x281842(0x236)]=_0x21b911=>this[_0x281842(0x248)][_0x281842(0x270)](_0x21b911);[_0x281842(0x1b2)]=_0xbbf8d7=>this[_0x281842(0x278)][_0x281842(0x26b)](_0xbbf8d7);[_0x281842(0x1f5)]=()=>undefined;[_0x281842(0x1a8)]=()=>this[_0x281842(0x227)][_0x281842(0x1a8)]();[_0x281842(0x216)]=()=>this[_0x281842(0x227)][_0x281842(0x216)]();async[_0x281842(0x25b)](_0x401180,_0x2d4749){const _0x443990=_0x281842;if(this[_0x443990(0x2f3)]===undefined)throw new Error(_0x443990(0x228));if(this[_0x443990(0x259)][_0x443990(0x28a)](_0x401180))throw new Error(_0x443990(0x241));return nodeLog(_0x443990(0x2c9),{'nodeId':this[_0x443990(0x1eb)]?.[_0x443990(0x29c)],'operation':_0x401180}),this[_0x443990(0x2f0)][_0x443990(0x2c1)](_0x401180,_0x2d4749);}async[_0x281842(0x34a)](_0x1063b8,_0x31b967){const _0x2241e6=_0x281842,_0xcfd374=this[_0x2241e6(0x1eb)];if(_0xcfd374?.[_0x2241e6(0x29c)]===undefined||_0xcfd374[_0x2241e6(0x229)]===undefined)throw new Error(_0x2241e6(0x2ea));const _0x19ce0b=await fetch(_0xcfd374[_0x2241e6(0x257)][_0x2241e6(0x2b3)](/\/$/u,'')+_0x2241e6(0x1ed),{'method':_0x2241e6(0x2ab),'headers':{'content-type':_0x2241e6(0x2f9),'x-mar-node-id':_0xcfd374[_0x2241e6(0x29c)],'authorization':_0x2241e6(0x2bb)+_0xcfd374[_0x2241e6(0x229)]},'body':JSON[_0x2241e6(0x23b)](_0x1063b8),'signal':_0x31b967});if(!_0x19ce0b['ok'])throw new Error(_0x2241e6(0x34b));const _0x31d3ee=await _0x19ce0b[_0x2241e6(0x288)]();return{'content':JSON[_0x2241e6(0x23b)](_0x31d3ee),'data':_0x31d3ee};}[_0x281842(0x232)](_0x430be1,_0x4b1b45){const _0x56ff26=_0x281842;if(_0x4b1b45[_0x56ff26(0x1a9)]!==_0x56ff26(0x2f6)){this[_0x56ff26(0x1b6)][_0x56ff26(0x2b2)](_0x430be1['id'],_0x56ff26(0x294)),this[_0x56ff26(0x30b)](_0x56ff26(0x1fc),{'session':this[_0x56ff26(0x383)][_0x56ff26(0x1d9)](_0x430be1)});return;}this[_0x56ff26(0x1b6)][_0x56ff26(0x22b)](_0x430be1['id'],{'commandId':_0x56ff26(0x294),'active':_0x4b1b45[_0x56ff26(0x1a9)]===_0x56ff26(0x2f6),'label':_0x56ff26(0x332),'detail':_0x4b1b45[_0x56ff26(0x31d)][_0x56ff26(0x21b)](-0x809+-0x5*-0x47e+-0xe6d*0x1,-0x37*0x4f+-0x1e11+-0x187f*-0x2),'closable':!![],'closeInput':_0x56ff26(0x23f),'mission':{'id':_0x4b1b45['id'],'objective':_0x4b1b45[_0x56ff26(0x31d)],'revision':_0x4b1b45[_0x56ff26(0x2c7)],'status':_0x4b1b45[_0x56ff26(0x1a9)],'turns':_0x4b1b45[_0x56ff26(0x1e6)]}}),this[_0x56ff26(0x30b)](_0x56ff26(0x1fc),{'session':this[_0x56ff26(0x383)][_0x56ff26(0x1d9)](_0x430be1)});}[_0x281842(0x242)](_0x1077f3,_0x5a4253,_0x368dc0){const _0x3d9391=_0x281842;this[_0x3d9391(0x310)][_0x3d9391(0x242)](_0x1077f3,_0x5a4253,_0x368dc0);}[_0x281842(0x245)](_0x1f45cb){const _0x1d9a36=_0x281842;this[_0x1d9a36(0x310)][_0x1d9a36(0x245)](_0x1f45cb);}}
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);}}
@@ -1,2 +1,2 @@
1
1
  /* mar-release-protected */
2
- const _0x5e90b7=_0x379e;(function(_0x3b2d82,_0x16b79d){const _0x5b5259=_0x379e,_0x34fe2a=_0x3b2d82();while(!![]){try{const _0x31e318=-parseInt(_0x5b5259(0xec))/(-0x17d1+0xad5+0xcfd)+-parseInt(_0x5b5259(0xfd))/(0x10ea+0xe7a+-0x1f62)+parseInt(_0x5b5259(0xb1))/(-0x2bb*0x2+-0x9*0x455+0x2c76)+parseInt(_0x5b5259(0xc8))/(0x889+-0x1d36+0x14b1)+parseInt(_0x5b5259(0x102))/(0x2b6*-0x8+0x2e9+-0x4*-0x4b3)*(-parseInt(_0x5b5259(0xee))/(0x2083+-0x89e+0x61*-0x3f))+parseInt(_0x5b5259(0xad))/(-0x11b*-0x13+-0x62f*-0x1+-0x1b29)+parseInt(_0x5b5259(0xf9))/(-0x2568+-0x1*-0x7dc+0x1d94)*(parseInt(_0x5b5259(0xce))/(-0x1ea6*-0x1+0x62f*-0x1+-0x1*0x186e));if(_0x31e318===_0x16b79d)break;else _0x34fe2a['push'](_0x34fe2a['shift']());}catch(_0x2b0041){_0x34fe2a['push'](_0x34fe2a['shift']());}}}(_0x3165,-0x1*0x2ddd9+0x30c77*-0x2+-0x44*-0x2dfc));import{mcpRuntimeDescriptorSchema}from'@myagentroam/protocol';export class AbstractRunner{[_0x5e90b7(0xa9)];[_0x5e90b7(0x100)];[_0x5e90b7(0xcc)]=!![];[_0x5e90b7(0xf7)]=![];async[_0x5e90b7(0xaa)](_0x161037,_0x2721ad,_0x49ff69={}){const _0x686984=_0x5e90b7;return void[_0x2721ad,_0x49ff69],this[_0x686984(0xf8)](_0x161037);}[_0x5e90b7(0xb7)](_0x133305,_0x488d2e,_0x3f1636){const _0x935e42=_0x5e90b7;void[_0x488d2e,_0x3f1636];const _0x331ac5=this[_0x935e42(0xf0)](),_0x366315=_0x331ac5[_0x935e42(0xe6)][_0x935e42(0xc4)](_0x12e1b0=>_0x12e1b0['id']===_0x133305[_0x935e42(0xdc)]);return _0x133305[_0x935e42(0xe1)]===this[_0x935e42(0xfe)]&&_0x366315!==undefined&&_0x366315[_0x935e42(0xff)][_0x935e42(0xdf)](_0x133305[_0x935e42(0xc7)])&&_0x331ac5[_0x935e42(0xdd)][_0x935e42(0xd7)](_0x355207=>_0x355207['id']===_0x133305[_0x935e42(0xc0)]);}[_0x5e90b7(0xc2)](_0x4b4994,_0x14d70e,_0x2e50a0){const _0x2eece8=_0x5e90b7;void[_0x4b4994,_0x14d70e,_0x2e50a0];throw new RunnerCapabilityError(this[_0x2eece8(0xfe)],_0x2eece8(0xbb));}[_0x5e90b7(0xcf)](_0x4aab6d,_0x469391){return void _0x469391,_0x4aab6d;}[_0x5e90b7(0x9e)](_0x1cd5ef,_0x10834c){return resolvedMcpServers(_0x1cd5ef,_0x10834c);}[_0x5e90b7(0xc5)](_0x7d356a){return void _0x7d356a,undefined;}[_0x5e90b7(0xd1)](_0x20531a,_0x160613,_0x5a543a,_0x121362,_0x1e7bb5,_0x493fb3){const _0x258528=_0x5e90b7;return void[_0x20531a,_0x160613,_0x5a543a,_0x121362,_0x1e7bb5,_0x493fb3],_0x258528(0xd4);}[_0x5e90b7(0xa1)](_0x4a9b41,_0x19d807){const _0x13873b=_0x5e90b7;void[_0x4a9b41,_0x19d807];throw new RunnerCapabilityError(this[_0x13873b(0xfe)],_0x13873b(0xba));}[_0x5e90b7(0xef)](){return undefined;}[_0x5e90b7(0xca)](){return![];}async[_0x5e90b7(0xf6)](_0x121621,_0x152ef9,_0x58a7a4){const _0x427216=_0x5e90b7;if(_0x121621[_0x427216(0xa0)]===null)return;_0x58a7a4[_0x427216(0xe2)]({'runner':_0x121621[_0x427216(0xe1)],'externalSessionId':_0x121621[_0x427216(0xa0)],'workspaceId':_0x121621[_0x427216(0xd9)],..._0x152ef9[_0x427216(0x9a)]===undefined?{}:{'customTitle':_0x152ef9[_0x427216(0x9a)]},..._0x152ef9[_0x427216(0xf1)]===undefined?{}:{'pinned':_0x152ef9[_0x427216(0xf1)]}});}async[_0x5e90b7(0xd5)](_0x40f5aa,_0x2dcaac){return void[_0x40f5aa,_0x2dcaac],![];}async[_0x5e90b7(0xbf)](_0x1c3e90,_0x19e30e,_0x2b1868){const _0x317064=_0x5e90b7;void[_0x1c3e90,_0x19e30e,_0x2b1868];throw new RunnerCapabilityError(this[_0x317064(0xfe)],_0x317064(0xcb));}[_0x5e90b7(0xde)](_0x207745,_0x5010ac,_0x31fff9){const _0x13b0b2=_0x5e90b7;return void _0x31fff9,_0x5010ac[_0x13b0b2(0x9a)]??_0x207745?.[_0x13b0b2(0xf5)]??null;}[_0x5e90b7(0xb5)](_0x3ffe0e){return void _0x3ffe0e,undefined;}[_0x5e90b7(0xf3)](_0x25d8ae){return void _0x25d8ae,[];}[_0x5e90b7(0xd0)](_0x2731a3){void _0x2731a3;}[_0x5e90b7(0xfc)](_0x5a1930,_0x3aaf78){void[_0x5a1930,_0x3aaf78];}async[_0x5e90b7(0x9f)](_0x13974d,_0x1e1ce2){return void[_0x13974d,_0x1e1ce2],undefined;}async[_0x5e90b7(0xe9)](_0x5d1be6,_0xc03385,_0x80a961){return void[_0x5d1be6,_0xc03385,_0x80a961],undefined;}async[_0x5e90b7(0xb6)](_0xa09eed){const _0x2511b1=_0x5e90b7,_0x2adb1b=await _0xa09eed[_0x2511b1(0xb0)]();return _0x2adb1b===undefined?undefined:{..._0x2adb1b,'source':_0x2511b1(0xb0)};}async[_0x5e90b7(0xa5)](_0x436754){return void _0x436754,undefined;}[_0x5e90b7(0xa2)](){return!![];}[_0x5e90b7(0xa8)](_0x201272){return void _0x201272,[];}[_0x5e90b7(0xa6)](_0x34dfd5){return void _0x34dfd5,undefined;}[_0x5e90b7(0xe5)](_0x20f016){const _0x22e08b=_0x5e90b7;if(this[_0x22e08b(0xa9)]!==undefined)throw new Error(_0x22e08b(0x99)+this[_0x22e08b(0xfe)]);this[_0x22e08b(0xa9)]=_0x20f016;}[_0x5e90b7(0xd8)](_0x458e34){const _0x10e3e4=_0x5e90b7;return this[_0x10e3e4(0xf7)]||_0x458e34===this[_0x10e3e4(0xfe)];}[_0x5e90b7(0xc1)](_0x47d905){const _0x5d6317=_0x5e90b7;if(this[_0x5d6317(0xa9)]===undefined)throw new Error(_0x5d6317(0xa4)+this[_0x5d6317(0xfe)]);this[_0x5d6317(0xa9)][_0x5d6317(0xb3)](_0x47d905);}[_0x5e90b7(0xe3)](_0x5b8f72,_0x1ac7a2){const _0x41fc66=_0x5e90b7;return this[_0x41fc66(0xa9)]?.[_0x41fc66(0xe7)](_0x5b8f72,_0x1ac7a2)===!![];}[_0x5e90b7(0xb4)](_0xe85724){const _0x553589=_0x5e90b7;return this[_0x553589(0xa9)]?.[_0x553589(0xb4)]?.(_0xe85724)===!![];}[_0x5e90b7(0xc9)](_0x3845fd,_0x5979dd,_0x426d79){const _0x213ef1=_0x5e90b7;return this[_0x213ef1(0xa9)]?.[_0x213ef1(0xc9)]?.(_0x3845fd,_0x5979dd,_0x426d79)===!![];}[_0x5e90b7(0x98)](_0x43ffb3){const _0x1f7545=_0x5e90b7;if(this[_0x1f7545(0x100)]!==undefined)throw new Error(_0x1f7545(0xb2)+this[_0x1f7545(0xfe)]);this[_0x1f7545(0x100)]=_0x43ffb3;}[_0x5e90b7(0xe0)](_0x3648e5,_0x4d18c1,_0xbd04fe,_0x34b7e4){const _0x5f575a=_0x5e90b7;if(this[_0x5f575a(0x100)]===undefined)return Promise[_0x5f575a(0xb9)](new Error(_0x5f575a(0xa7)));return this[_0x5f575a(0x100)][_0x5f575a(0xae)](_0x3648e5,_0x4d18c1,_0xbd04fe,_0x34b7e4);}}function resolvedMcpServers(_0x52f46e,_0x365609){const _0x5bddef=_0x5e90b7;if(!Array[_0x5bddef(0x101)](_0x52f46e))return[];const _0x26ab24=[];for(const _0xf1598c of _0x52f46e){if(_0xf1598c===null||typeof _0xf1598c!==_0x5bddef(0xbe)||Array[_0x5bddef(0x101)](_0xf1598c))continue;const _0x5db5c3=_0xf1598c;if(typeof _0x5db5c3[_0x5bddef(0xea)]!==_0x5bddef(0x9b)||_0x5db5c3[_0x5bddef(0xab)]!==!![])continue;if(_0x5db5c3[_0x5bddef(0xda)]===!![]&&typeof _0x5db5c3[_0x5bddef(0xaf)]===_0x5bddef(0x9b)&&Array[_0x5bddef(0x101)](_0x5db5c3[_0x5bddef(0xfb)])&&_0x5db5c3[_0x5bddef(0xfb)][_0x5bddef(0xbc)](_0x10c6ad=>typeof _0x10c6ad===_0x5bddef(0x9b))&&typeof _0x5db5c3[_0x5bddef(0xfa)]===_0x5bddef(0x9b)&&typeof _0x5db5c3[_0x5bddef(0x9c)]===_0x5bddef(0x9b)&&_0x365609[_0x5db5c3[_0x5bddef(0x9c)]]!==undefined){_0x26ab24[_0x5bddef(0xd6)]({'name':_0x5db5c3[_0x5bddef(0xea)],'lifecycle':_0x5bddef(0xb8),'transport':_0x5bddef(0xf2),'command':_0x5db5c3[_0x5bddef(0xaf)],'args':_0x5db5c3[_0x5bddef(0xfb)],'environment':{'MAR_MISSION_MCP_ENDPOINT':_0x5db5c3[_0x5bddef(0xfa)],'MAR_MISSION_MCP_TOKEN':_0x365609[_0x5db5c3[_0x5bddef(0x9c)]]}});continue;}const _0x52c8b2=mcpRuntimeDescriptorSchema[_0x5bddef(0xd3)](_0x5db5c3[_0x5bddef(0xbd)]);if(!_0x52c8b2[_0x5bddef(0xc6)])continue;const _0x6238a2=isRecord(_0x5db5c3[_0x5bddef(0xe4)])?_0x5db5c3[_0x5bddef(0xe4)]:{},_0x2565fe=_0x142aa0=>{const _0x377e6f=_0x5bddef;if(!isRecord(_0x142aa0))return{};const _0x46fc44={};for(const [_0x550b01,_0x28026e]of Object[_0x377e6f(0xcd)](_0x142aa0)){if(!isRecord(_0x28026e)||typeof _0x28026e[_0x377e6f(0x9c)]!==_0x377e6f(0x9b))return undefined;const _0x3e5f2f=_0x365609[_0x28026e[_0x377e6f(0x9c)]];if(_0x3e5f2f===undefined)return undefined;_0x46fc44[_0x550b01]=_0x3e5f2f;}return _0x46fc44;};if(_0x52c8b2[_0x5bddef(0xa3)][_0x5bddef(0xd2)]===_0x5bddef(0xf2)){const _0x338251=_0x2565fe(_0x52c8b2[_0x5bddef(0xa3)][_0x5bddef(0x9d)]),_0x143947=_0x2565fe(_0x6238a2[_0x5bddef(0x9d)]);if(_0x338251===undefined||_0x143947===undefined)continue;_0x26ab24[_0x5bddef(0xd6)]({'name':_0x5db5c3[_0x5bddef(0xea)],'transport':_0x5bddef(0xf2),'command':_0x52c8b2[_0x5bddef(0xa3)][_0x5bddef(0xaf)],'args':[..._0x52c8b2[_0x5bddef(0xa3)][_0x5bddef(0xfb)],...Array[_0x5bddef(0x101)](_0x6238a2[_0x5bddef(0xac)])?_0x6238a2[_0x5bddef(0xac)][_0x5bddef(0xe8)](_0x386949=>typeof _0x386949===_0x5bddef(0x9b)):[]],'environment':{..._0x338251,..._0x143947}});}else{const _0x2c0a12=_0x2565fe(_0x52c8b2[_0x5bddef(0xa3)][_0x5bddef(0xdb)]),_0x45187d=_0x2565fe(_0x6238a2[_0x5bddef(0xdb)]);if(_0x2c0a12===undefined||_0x45187d===undefined)continue;_0x26ab24[_0x5bddef(0xd6)]({'name':_0x5db5c3[_0x5bddef(0xea)],'transport':_0x5bddef(0xc3),'url':_0x52c8b2[_0x5bddef(0xa3)][_0x5bddef(0xeb)],'headers':{..._0x2c0a12,..._0x45187d}});}}return _0x26ab24;}function _0x379e(_0x28026e,_0x3e5f2f){_0x28026e=_0x28026e-(0x3*0xc65+-0x63a+-0x1e5d);const _0x338251=_0x3165();let _0x143947=_0x338251[_0x28026e];if(_0x379e['SMOEhg']===undefined){var _0x386949=function(_0x3d80ab){const _0x271439='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0xd7ef9a='',_0xbfc5a4='';for(let _0x144d46=0x271*0x4+-0x22db+0x1917,_0x200be4,_0x5044de,_0x385171=0x1f*0xb2+0x1*-0x2617+0x1089;_0x5044de=_0x3d80ab['charAt'](_0x385171++);~_0x5044de&&(_0x200be4=_0x144d46%(0x49d+0x169d+0x51*-0x56)?_0x200be4*(-0xf72+-0x198b+0x293d)+_0x5044de:_0x5044de,_0x144d46++%(0x22f0+0x1843*-0x1+-0xaa9))?_0xd7ef9a+=String['fromCharCode'](0x7*-0x377+-0x15b7+0x2ef7&_0x200be4>>(-(-0x11dd+-0x3c3+0x1a*0xd5)*_0x144d46&0x6*-0x158+-0x6f6+0xf0c)):0x2537+-0x1d3b+-0x7fc){_0x5044de=_0x271439['indexOf'](_0x5044de);}for(let _0x16a48f=-0x5*-0x33b+0x83*-0x19+-0x14*0x2b,_0x4e6558=_0xd7ef9a['length'];_0x16a48f<_0x4e6558;_0x16a48f++){_0xbfc5a4+='%'+('00'+_0xd7ef9a['charCodeAt'](_0x16a48f)['toString'](0x9*-0x305+0x1*0x709+-0x6bc*-0x3))['slice'](-(-0x1*-0x41f+0x1ce5+-0x1081*0x2));}return decodeURIComponent(_0xbfc5a4);};_0x379e['DNJWbF']=_0x386949,_0x379e['iIERZc']={},_0x379e['SMOEhg']=!![];}const _0x2c0a12=_0x338251[-0x220b+-0x86e+0x2a79*0x1];_0x379e['gatxbr']!==_0x2c0a12&&(_0x379e['iIERZc']={},_0x379e['gatxbr']=_0x2c0a12);const _0x45187d=_0x379e['iIERZc'][_0x28026e];return _0x45187d===undefined?(_0x143947=_0x379e['DNJWbF'](_0x143947),_0x379e['iIERZc'][_0x28026e]=_0x143947):_0x143947=_0x45187d,_0x143947;}function isRecord(_0x3d80ab){const _0x3529c6=_0x5e90b7;return _0x3d80ab!==null&&typeof _0x3d80ab===_0x3529c6(0xbe)&&!Array[_0x3529c6(0x101)](_0x3d80ab);}function _0x3165(){const _0x27d92e=['yMLUzenVBw1HBMrdB250CM9S','uLvotKvsx0nptLrst0XFquXsrufewv9ct1vordO','DgL0Bgu','C3rYAw5N','C2vJCMv0tMfTzq','zw52AxjVBM1LBNq','BwnWq29UzMLNDxjHDgLVBG','CMvHze1HBMfNzwrsDw5UzxjuAxrSzq','zxH0zxjUywXtzxnZAw9Uswq','zxHLy3v0zuDSB2jHBenVBw1HBMq','ywnJzxb0C1rYDw5JyxrLze5HDgL2zuHPC3rVCNK','zgf0yq','uLvotKvsx0nptLrst0XFtK9ux0jpvu5eoG','CMvHzev4DgvYBMfSqwn0AxzPDhK','BwfUywDLzfj1BKzVCK5HDgL2zvr1CM4','uLvotKvsx0nptu1btKrFvu5bvKfjtefcteu','BMf0AxzLsw1Hz2vsB290CW','y29UDhjVBa','CMvMCMvZAfbYB2zPBgu','zw5HyMXLza','yxjNDw1LBNrZ','mtKYmdG0mLzKCfvMsW','zxHLy3v0zq','y29TBwfUza','BMf0AxzL','odCZndm1CNfmwM5n','uLvotKvsx0nptu1btKrFq09ovfjptf9btfjfqurzx0jpvu5eoG','C3rHCNq','zgvJAwrLqxbWCM92ywW','BwfUywDLzefSAwfZswq','CMvHzenVBNzLCNnHDgLVBKHPC3rVCNK','C3vWCg9YDhndB25MAwD1CMf0Aw9U','rvHfq1vusu9o','CMvQzwn0','z2XVyMfSlwnVBw1HBMq','C2vZC2LVBI5WCMvZzw50yxrPB24','zxzLCNK','CNvUDgLTzq','B2jQzwn0','zM9YA05HDgL2zq','ywnJzxnZ','C3rHCNrnyw5Hz2vKuNvU','ChjLC2vUDfnLC3nPB24','sfruua','zMLUza','y2HHBM5LBfrVA2vU','C3vJy2vZCW','zwzMB3j0','mZa4ndy0vNfZyNzu','CMvZCg9UzfvZzxjjBNb1Da','DxnLC1j1BM5LCLrPDgXLrM9YuMvUyw1L','C2vZC2LVBI5YzxDPBMq','ywr2zxj0AxnLza','zw50CMLLCW','mtG5EejUEhnO','ChjLCgfYzu1LC3nHz2vjBNb1Da','zM9Yz2v0tMf0AxzLqwXPyxm','zgvSAxzLCKnOyw5UzwW','DhjHBNnWB3j0','C2fMzvbHCNnL','uKvkrunuruq','CMvTB3zLtMf0AxzL','ChvZAa','C29Tzq','ywnJzxb0C1j1BG','D29YA3nWywnLswq','x19TyxjnAxnZAw9U','AgvHzgvYCW','Bw9KzwW','ywnJzxnZt3b0Aw9UCW','ChjVAMvJDgvKuNvUBMvYvgL0Bgu','Aw5JBhvKzxm','zxHLy3v0zunVBw1HBMq','CNvUBMvY','C2f2zu5HDgL2zvnLC3nPB25nzxrHzgf0yq','y2fUy2vStwfUywDLzfj1BG','y29UzMLNDxjHDgLVBG','yMLUzenVBNrYB2W','Bw9KzwXZ','y2fUy2vS','zMLSDgvY','CMvHze9MzMLJAwfSq29UDMvYC2f0Aw9U','C2vYDMvYtMfTzq','DxjS','mJq0nZmXte13tgfY','y2fWywjPBgL0Eq','ndq3nJi0zfDetNPV','C2vYDMLJzvrPzxi','ChjVzMLSzuzVCLzHBgLKyxrPB24','CgLUBMvK','u1resu8','BMf0AxzLqwXPyxnLC0zVCG','uLvotKvsx0nbuefcsuXjvfLFvu5tvvbqt1juruq','CNvUBMvYvgL0Bgu','CMvUyw1LtMf0AxzL','Aw50zxjJzxb0C1j1BNm','ChjVzMLSzq','nJGWnZjIz250tLy','zw5KCg9PBNq','yxjNCW','CMvTzw1Izxjnyw5Hz2vKtMf0AxzL','mJC5ntyWuwDPEend','BMfTzq','C3vWCg9YDgvKrwzMB3j0CW','y29TBwfUzenVBNrYB2W','AxnbCNjHEq','mtvHzePIANy'];_0x3165=function(){return _0x27d92e;};return _0x3165();}export class RunnerCapabilityError extends Error{[_0x5e90b7(0xe1)];[_0x5e90b7(0xed)];constructor(_0x271439,_0xd7ef9a){const _0x24f2c2=_0x5e90b7;super(_0x24f2c2(0xf4)),this[_0x24f2c2(0xe1)]=_0x271439,this[_0x24f2c2(0xed)]=_0xd7ef9a;}}
2
+ const _0x3c12cd=_0x9bb4;function _0x9bb4(_0x340e34,_0x453dc3){_0x340e34=_0x340e34-(0xaf5+-0x23b+0x713*-0x1);const _0x477dd5=_0x2183();let _0x31eec1=_0x477dd5[_0x340e34];if(_0x9bb4['PbhRgu']===undefined){var _0x1fc72c=function(_0x386953){const _0x182fe0='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x1180af='',_0x4a9661='';for(let _0x50ca43=0x19fb+0xbed+-0x25e8,_0x42570a,_0x4439b7,_0x46161c=0x183f*0x1+-0x2*-0x108d+-0x3959;_0x4439b7=_0x386953['charAt'](_0x46161c++);~_0x4439b7&&(_0x42570a=_0x50ca43%(0x4d1+0xdb8+0x1285*-0x1)?_0x42570a*(-0xe6a+0x1*0x21e9+-0x1*0x133f)+_0x4439b7:_0x4439b7,_0x50ca43++%(-0x8*-0xca+0xed0+0x1c*-0xc1))?_0x1180af+=String['fromCharCode'](0x61e*0x1+-0x4*-0x67a+-0x1f07&_0x42570a>>(-(0x57c+-0x2275+0x9a9*0x3)*_0x50ca43&0x40d*0x1+0xc80+-0x1087)):0x1c3c+0x2b*-0x97+0x5*-0x93){_0x4439b7=_0x182fe0['indexOf'](_0x4439b7);}for(let _0x3300e0=-0x1fa5+0x21f2+-0x24d,_0x57c96f=_0x1180af['length'];_0x3300e0<_0x57c96f;_0x3300e0++){_0x4a9661+='%'+('00'+_0x1180af['charCodeAt'](_0x3300e0)['toString'](-0x19a6+-0xc0e+0x25c4))['slice'](-(-0x216a+0x216a+0x2));}return decodeURIComponent(_0x4a9661);};_0x9bb4['RheDdR']=_0x1fc72c,_0x9bb4['vdEpJx']={},_0x9bb4['PbhRgu']=!![];}const _0x5833fc=_0x477dd5[0x45f*0x3+-0xa9a+-0x283];_0x9bb4['eZSLjP']!==_0x5833fc&&(_0x9bb4['vdEpJx']={},_0x9bb4['eZSLjP']=_0x5833fc);const _0xe9c3e6=_0x9bb4['vdEpJx'][_0x340e34];return _0xe9c3e6===undefined?(_0x31eec1=_0x9bb4['RheDdR'](_0x31eec1),_0x9bb4['vdEpJx'][_0x340e34]=_0x31eec1):_0x31eec1=_0xe9c3e6,_0x31eec1;}(function(_0x59bbf5,_0x396b0d){const _0x135222=_0x9bb4,_0x2f18bd=_0x59bbf5();while(!![]){try{const _0x7100aa=parseInt(_0x135222(0x1c0))/(-0x1*0x2597+0xe9b*-0x1+0x3433)+parseInt(_0x135222(0x1bf))/(-0x14c*0x1+-0x1*0x823+0x1*0x971)*(-parseInt(_0x135222(0x1ce))/(-0x1614+0x1a33*-0x1+0x1*0x304a))+-parseInt(_0x135222(0x1ba))/(0x714*-0x2+0x2*0xa3d+0x1*-0x64e)*(-parseInt(_0x135222(0x1fb))/(-0x1*0x1409+0x17b*0xa+0x540))+-parseInt(_0x135222(0x208))/(-0x13da+0x12a4+0x4f*0x4)*(-parseInt(_0x135222(0x1f8))/(0x1c9a+-0x18cd+-0x2e*0x15))+parseInt(_0x135222(0x1af))/(-0x17*0x83+0x35*-0x65+0x2*0x105b)+parseInt(_0x135222(0x1ab))/(-0x1114*0x1+0xc3f+0x4de)*(-parseInt(_0x135222(0x1ef))/(-0x842+-0xff*0x19+0x2133))+-parseInt(_0x135222(0x1d4))/(-0x35b+-0x186e+0x1bd4);if(_0x7100aa===_0x396b0d)break;else _0x2f18bd['push'](_0x2f18bd['shift']());}catch(_0x28b3ba){_0x2f18bd['push'](_0x2f18bd['shift']());}}}(_0x2183,-0x12897*-0xf+-0x86203*-0x1+-0x10e435));import{mcpRuntimeDescriptorSchema}from'@myagentroam/protocol';function _0x2183(){const _0x96ff78=['nZjyC1bHquG','DhjHBNnWB3j0','Bw9KzwXZ','BMf0AxzLqwXPyxnLC0zVCG','C2fMzvbHCNnL','BMf0AxzLsw1Hz2vsB290CW','ywnJzxnZt3b0Aw9UCW','DxnLC1j1BM5LCLrPDgXLrM9YuMvUyw1L','Bw9KzwW','BwfUywDLzfj1BKzVCK5HDgL2zvr1CM4','C2vYDMvYtMfTzq','yxjNDw1LBNrZ','zMLUza','y29TBwfUza','x19TyxjnAxnZAw9U','ChjLC2vUDfnLC3nPB24','C3vWCg9YDhndB25MAwD1CMf0Aw9U','yxjNCW','nZC4ntLsAgjpuK0','BwnWq29UzMLNDxjHDgLVBG','C29Tzq','AxnbCNjHEq','ntuZodryuKfJtee','CMvHze1HBMfNzwrsDw5UzxjuAxrSzq','C3rHCNrnyw5Hz2vKuNvU','rvHfq1vusu9o','zM9YA05HDgL2zq','zgf0yq','yMLUzenVBNrYB2W','zxH0zxjUywXtzxnZAw9Uswq','zxHLy3v0zunVBw1HBMq','y2HHBM5LBfrVA2vU','ChvZAa','mZmYohfLwu1kyq','zxHLy3v0zq','C2vYDMLJzvrPzxi','BwfUywDLzefSAwfZswq','zw5KCg9PBNq','nZCWmdzJuMThB3m','otC3nZm0DhHMr1Pm','uKvkrunuruq','ywr2zxj0AxnLza','CMvHzenVBNzLCNnHDgLVBKHPC3rVCNK','zxHLy3v0zuDSB2jHBenVBw1HBMq','ChjLCgfYzu1LC3nHz2vjBNb1Da','DxjS','C3vWCg9YDgvKrwzMB3j0CW','ywnJzxnZ','C3vJy2vZCW','zxzLCNK','BMfTzq','CMvQzwn0','CNvUDgLTzq','ntDxsxbAENq','uLvotKvsx0nptLrst0XFtK9ux0jpvu5eoG','CMvZCg9UzfvZzxjjBNb1Da','C3rHCNq','ywnJzxb0C1rYDw5JyxrLze5HDgL2zuHPC3rVCNK','ChjVzMLSzuzVCLzHBgLKyxrPB24','otaWmdaYnfDbsxrtsq','zM9Yz2v0tMf0AxzLqwXPyxm','uLvotKvsx0nptu1btKrFvu5bvKfjtefcteu','u1resu8','CMvTB3zLtMf0AxzL','y2fUy2vS','B2jQzwn0','C2vZC2LVBI5WCMvZzw50yxrPB24','D29YA3nWywnLswq','zgvSAxzLCKnOyw5UzwW','zgvJAwrLqxbWCM92ywW','CNvUBMvYvgL0Bgu','C2f2zu5HDgL2zvnLC3nPB25nzxrHzgf0yq','C2vZC2LVBI5YzxDPBMq','zwzMB3j0','zw5HyMXLza','y2fWywjPBgL0Eq','ywnJzxb0C1j1BG','CM9SBgjHy2ToyxrPDMu','uLvotKvsx0nbuefcsuXjvfLFvu5tvvbqt1juruq','y29UzMLNDxjHDgLVBG','z2XVyMfSlwnVBw1HBMq','C2vJCMv0tMfTzq','DgL0Bgu','C2vZC2LVBI5YB2XSyMfJAW','AgvHzgvYCW','CNvUBMvY','mZKWtgrlqMP3','zMLSDgvY','CMvMCMvZAfbYB2zPBgu','ChjVAMvJDgvKuNvUBMvYvgL0Bgu','C3rYAw5N','CMvUyw1LtMf0AxzL','CMvHzev4DgvYBMfSqwn0AxzPDhK','sfruua','zw52AxjVBM1LBNq','ntG5mZCYDeTPEwXp','uLvotKvsx0nptLrst0XFquXsrufewv9ct1vordO','Aw50zxjJzxb0C1j1BNm','mJG0nxHmzw9duG','y29UDhjVBa','BMf0AxzL','y2fUy2vStwfUywDLzfj1BG','ChjVzMLSzq','y29TBwfUzenVBNrYB2W','CMvTzw1Izxjnyw5Hz2vKtMf0AxzL','uLvotKvsx0nptu1btKrFq09ovfjptf9btfjfqurzx0jpvu5eoG','yMLUzenVBw1HBMrdB250CM9S','CgLUBMvK','zw50CMLLCW','Aw5JBhvKzxm','CMvHze9MzMLJAwfSq29UDMvYC2f0Aw9U'];_0x2183=function(){return _0x96ff78;};return _0x2183();}export class AbstractRunner{[_0x3c12cd(0x1fc)];[_0x3c12cd(0x200)];[_0x3c12cd(0x1c2)]=!![];[_0x3c12cd(0x1fa)]=![];async[_0x3c12cd(0x1f1)](_0xcfdaeb,_0x4d47f1,_0x58174a={}){const _0x15b2b0=_0x3c12cd;return void[_0x4d47f1,_0x58174a],this[_0x15b2b0(0x1ff)](_0xcfdaeb);}[_0x3c12cd(0x1a9)](_0x4ed9eb,_0x5ebbe0,_0x4db3b3){const _0x31896d=_0x3c12cd;void[_0x5ebbe0,_0x4db3b3];const _0x2790d5=this[_0x31896d(0x1d3)](),_0x17a0e4=_0x2790d5[_0x31896d(0x20a)][_0x31896d(0x214)](_0x359171=>_0x359171['id']===_0x4ed9eb[_0x31896d(0x210)]);return _0x4ed9eb[_0x31896d(0x1ee)]===this[_0x31896d(0x1cb)]&&_0x17a0e4!==undefined&&_0x17a0e4[_0x31896d(0x1c7)][_0x31896d(0x206)](_0x4ed9eb[_0x31896d(0x1e2)])&&_0x2790d5[_0x31896d(0x20e)][_0x31896d(0x1ad)](_0x406eeb=>_0x406eeb['id']===_0x4ed9eb[_0x31896d(0x1c8)]);}[_0x3c12cd(0x1a8)](_0x131db8,_0x130dce,_0x56a2e6){const _0xe98fb2=_0x3c12cd;void[_0x131db8,_0x130dce,_0x56a2e6];throw new RunnerCapabilityError(this[_0xe98fb2(0x1cb)],_0xe98fb2(0x1db));}[_0x3c12cd(0x1c5)](_0x5c484e,_0x1e17fa){return void _0x1e17fa,_0x5c484e;}[_0x3c12cd(0x1ac)](_0x59137c,_0x151138){return resolvedMcpServers(_0x59137c,_0x151138);}[_0x3c12cd(0x1b8)](_0x48df0a){return void _0x48df0a,undefined;}[_0x3c12cd(0x1dd)](_0x301b42,_0x5e95b0,_0x2e4a2e,_0x376405,_0x41c460,_0x2fe8fa){const _0x261d5f=_0x3c12cd;return void[_0x301b42,_0x5e95b0,_0x2e4a2e,_0x376405,_0x41c460,_0x2fe8fa],_0x261d5f(0x1c1);}[_0x3c12cd(0x1c4)](_0x1d8b0a,_0x130e69){const _0x241b7a=_0x3c12cd;void[_0x1d8b0a,_0x130e69];throw new RunnerCapabilityError(this[_0x241b7a(0x1cb)],_0x241b7a(0x1e9));}[_0x3c12cd(0x1bc)](){return undefined;}[_0x3c12cd(0x20f)](){return![];}async[_0x3c12cd(0x1f4)](_0x43b0b5,_0x470dce,_0x372753){const _0x3568ce=_0x3c12cd;if(_0x43b0b5[_0x3568ce(0x1b6)]===null)return;_0x372753[_0x3568ce(0x1e0)]({'runner':_0x43b0b5[_0x3568ce(0x1ee)],'externalSessionId':_0x43b0b5[_0x3568ce(0x1b6)],'workspaceId':_0x43b0b5[_0x3568ce(0x1dc)],..._0x470dce[_0x3568ce(0x1eb)]===undefined?{}:{'customTitle':_0x470dce[_0x3568ce(0x1eb)]},..._0x470dce[_0x3568ce(0x204)]===undefined?{}:{'pinned':_0x470dce[_0x3568ce(0x204)]}});}async[_0x3c12cd(0x1d8)](_0x4f4ed5,_0x497663){return void[_0x4f4ed5,_0x497663],![];}async[_0x3c12cd(0x1b3)](_0x5e2fcc,_0x40fe89,_0x1e75be){const _0x3dc3f7=_0x3c12cd;void[_0x5e2fcc,_0x40fe89,_0x1e75be];throw new RunnerCapabilityError(this[_0x3dc3f7(0x1cb)],_0x3dc3f7(0x1e1));}async[_0x3c12cd(0x1e6)](_0x3f8987,_0x36625e){const _0x104969=_0x3c12cd;void[_0x3f8987,_0x36625e];throw new RunnerCapabilityError(this[_0x104969(0x1cb)],_0x104969(0x1ec));}[_0x3c12cd(0x1f2)](_0x5a1f76,_0x2c0cc7,_0xab603b){const _0x54060a=_0x3c12cd;return void _0xab603b,_0x2c0cc7[_0x54060a(0x1eb)]??_0x5a1f76?.[_0x54060a(0x1df)]??null;}[_0x3c12cd(0x1bd)](_0x364ef2){return void _0x364ef2,undefined;}[_0x3c12cd(0x20b)](_0x518efb){return void _0x518efb,[];}[_0x3c12cd(0x1d5)](_0x34a234){void _0x34a234;}[_0x3c12cd(0x201)](_0x3ef190,_0x497655){void[_0x3ef190,_0x497655];}async[_0x3c12cd(0x1b0)](_0x58d293,_0x22773f){return void[_0x58d293,_0x22773f],undefined;}async[_0x3c12cd(0x207)](_0x675c7b,_0x5225dd,_0x10bbaa){return void[_0x675c7b,_0x5225dd,_0x10bbaa],undefined;}async[_0x3c12cd(0x1c3)](_0x152a2f){const _0x2a7af2=_0x3c12cd,_0x3606ec=await _0x152a2f[_0x2a7af2(0x1fd)]();return _0x3606ec===undefined?undefined:{..._0x3606ec,'source':_0x2a7af2(0x1fd)};}async[_0x3c12cd(0x1f5)](_0x423882){return void _0x423882,undefined;}[_0x3c12cd(0x1d2)](){return!![];}[_0x3c12cd(0x20d)](_0x495c61){return void _0x495c61,[];}[_0x3c12cd(0x211)](_0x3b712c){return void _0x3b712c,undefined;}[_0x3c12cd(0x1b5)](_0x91117d){const _0x37e425=_0x3c12cd;if(this[_0x37e425(0x1fc)]!==undefined)throw new Error(_0x37e425(0x1f9)+this[_0x37e425(0x1cb)]);this[_0x37e425(0x1fc)]=_0x91117d;}[_0x3c12cd(0x1e5)](_0x591e0c){const _0x17f520=_0x3c12cd;return this[_0x17f520(0x1fa)]||_0x591e0c===this[_0x17f520(0x1cb)];}[_0x3c12cd(0x1b1)](_0x712f5d){const _0x5e35ae=_0x3c12cd;if(this[_0x5e35ae(0x1fc)]===undefined)throw new Error(_0x5e35ae(0x1cf)+this[_0x5e35ae(0x1cb)]);this[_0x5e35ae(0x1fc)][_0x5e35ae(0x1d1)](_0x712f5d);}[_0x3c12cd(0x1fe)](_0x2e748d,_0x28d345){const _0x305433=_0x3c12cd;return this[_0x305433(0x1fc)]?.[_0x305433(0x1d9)](_0x2e748d,_0x28d345)===!![];}[_0x3c12cd(0x1de)](_0x10629b){const _0x1b59fa=_0x3c12cd;return this[_0x1b59fa(0x1fc)]?.[_0x1b59fa(0x1de)]?.(_0x10629b)===!![];}[_0x3c12cd(0x1d0)](_0x20f945,_0x82282c,_0x2817fb){const _0x364310=_0x3c12cd;return this[_0x364310(0x1fc)]?.[_0x364310(0x1d0)]?.(_0x20f945,_0x82282c,_0x2817fb)===!![];}[_0x3c12cd(0x203)](_0xe7a370){const _0x20ccae=_0x3c12cd;if(this[_0x20ccae(0x200)]!==undefined)throw new Error(_0x20ccae(0x202)+this[_0x20ccae(0x1cb)]);this[_0x20ccae(0x200)]=_0xe7a370;}[_0x3c12cd(0x1b7)](_0x6e8546,_0x587856,_0x2f8407,_0x2e828a){const _0x29debf=_0x3c12cd;if(this[_0x29debf(0x200)]===undefined)return Promise[_0x29debf(0x1cc)](new Error(_0x29debf(0x1d6)));return this[_0x29debf(0x200)][_0x29debf(0x1bb)](_0x6e8546,_0x587856,_0x2f8407,_0x2e828a);}}function resolvedMcpServers(_0x14abf1,_0x3fb20e){const _0x24d48a=_0x3c12cd;if(!Array[_0x24d48a(0x1ae)](_0x14abf1))return[];const _0x22bf54=[];for(const _0x5c587e of _0x14abf1){if(_0x5c587e===null||typeof _0x5c587e!==_0x24d48a(0x1da)||Array[_0x24d48a(0x1ae)](_0x5c587e))continue;const _0x52c211=_0x5c587e;if(typeof _0x52c211[_0x24d48a(0x212)]!==_0x24d48a(0x1f3)||_0x52c211[_0x24d48a(0x1e3)]!==!![])continue;if(_0x52c211[_0x24d48a(0x1a7)]===!![]&&typeof _0x52c211[_0x24d48a(0x215)]===_0x24d48a(0x1f3)&&Array[_0x24d48a(0x1ae)](_0x52c211[_0x24d48a(0x1aa)])&&_0x52c211[_0x24d48a(0x1aa)][_0x24d48a(0x1ca)](_0x453dc3=>typeof _0x453dc3===_0x24d48a(0x1f3))&&typeof _0x52c211[_0x24d48a(0x1be)]===_0x24d48a(0x1f3)&&typeof _0x52c211[_0x24d48a(0x1ea)]===_0x24d48a(0x1f3)&&_0x3fb20e[_0x52c211[_0x24d48a(0x1ea)]]!==undefined){_0x22bf54[_0x24d48a(0x1b9)]({'name':_0x52c211[_0x24d48a(0x212)],'lifecycle':_0x24d48a(0x1b2),'transport':_0x24d48a(0x1d7),'command':_0x52c211[_0x24d48a(0x215)],'args':_0x52c211[_0x24d48a(0x1aa)],'environment':{'MAR_MISSION_MCP_ENDPOINT':_0x52c211[_0x24d48a(0x1be)],'MAR_MISSION_MCP_TOKEN':_0x3fb20e[_0x52c211[_0x24d48a(0x1ea)]]}});continue;}const _0x476cf=mcpRuntimeDescriptorSchema[_0x24d48a(0x20c)](_0x52c211[_0x24d48a(0x1cd)]);if(!_0x476cf[_0x24d48a(0x1c9)])continue;const _0xce6a1f=isRecord(_0x52c211[_0x24d48a(0x1e8)])?_0x52c211[_0x24d48a(0x1e8)]:{},_0x340e34=_0x477dd5=>{const _0x1e0b9b=_0x24d48a;if(!isRecord(_0x477dd5))return{};const _0x31eec1={};for(const [_0x1fc72c,_0x5833fc]of Object[_0x1e0b9b(0x205)](_0x477dd5)){if(!isRecord(_0x5833fc)||typeof _0x5833fc[_0x1e0b9b(0x1ea)]!==_0x1e0b9b(0x1f3))return undefined;const _0xe9c3e6=_0x3fb20e[_0x5833fc[_0x1e0b9b(0x1ea)]];if(_0xe9c3e6===undefined)return undefined;_0x31eec1[_0x1fc72c]=_0xe9c3e6;}return _0x31eec1;};if(_0x476cf[_0x24d48a(0x1b4)][_0x24d48a(0x209)]===_0x24d48a(0x1d7)){const _0x386953=_0x340e34(_0x476cf[_0x24d48a(0x1b4)][_0x24d48a(0x1f7)]),_0x182fe0=_0x340e34(_0xce6a1f[_0x24d48a(0x1f7)]);if(_0x386953===undefined||_0x182fe0===undefined)continue;_0x22bf54[_0x24d48a(0x1b9)]({'name':_0x52c211[_0x24d48a(0x212)],'transport':_0x24d48a(0x1d7),'command':_0x476cf[_0x24d48a(0x1b4)][_0x24d48a(0x215)],'args':[..._0x476cf[_0x24d48a(0x1b4)][_0x24d48a(0x1aa)],...Array[_0x24d48a(0x1ae)](_0xce6a1f[_0x24d48a(0x213)])?_0xce6a1f[_0x24d48a(0x213)][_0x24d48a(0x1f0)](_0x1180af=>typeof _0x1180af===_0x24d48a(0x1f3)):[]],'environment':{..._0x386953,..._0x182fe0}});}else{const _0x4a9661=_0x340e34(_0x476cf[_0x24d48a(0x1b4)][_0x24d48a(0x1ed)]),_0x50ca43=_0x340e34(_0xce6a1f[_0x24d48a(0x1ed)]);if(_0x4a9661===undefined||_0x50ca43===undefined)continue;_0x22bf54[_0x24d48a(0x1b9)]({'name':_0x52c211[_0x24d48a(0x212)],'transport':_0x24d48a(0x1f6),'url':_0x476cf[_0x24d48a(0x1b4)][_0x24d48a(0x1c6)],'headers':{..._0x4a9661,..._0x50ca43}});}}return _0x22bf54;}function isRecord(_0x42570a){const _0x439b56=_0x3c12cd;return _0x42570a!==null&&typeof _0x42570a===_0x439b56(0x1da)&&!Array[_0x439b56(0x1ae)](_0x42570a);}export class RunnerCapabilityError extends Error{[_0x3c12cd(0x1ee)];[_0x3c12cd(0x1e4)];constructor(_0x4439b7,_0x46161c){const _0x30bbd1=_0x3c12cd;super(_0x30bbd1(0x1e7)),this[_0x30bbd1(0x1ee)]=_0x4439b7,this[_0x30bbd1(0x1e4)]=_0x46161c;}}