@myagentroam/node 0.9.16 → 0.9.18

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 _0x50c5b1=_0x31d7;(function(_0x22dc5e,_0x18c269){const _0x8d27f7=_0x31d7,_0x5bfb43=_0x22dc5e();while(!![]){try{const _0x41bbb6=-parseInt(_0x8d27f7(0xfd))/(0xcd0+-0x129d+0x5ce)+parseInt(_0x8d27f7(0x80))/(0xc17+-0x1601+0x27b*0x4)*(-parseInt(_0x8d27f7(0x1f0))/(-0x20e4+0x54f*-0x1+-0x131b*-0x2))+-parseInt(_0x8d27f7(0x1c3))/(0x8d8+0x24*0xa6+-0x202c)*(parseInt(_0x8d27f7(0x170))/(-0x3f*0x41+-0x1*0x1c00+0x9*0x4e4))+-parseInt(_0x8d27f7(0x1b4))/(-0x2587+-0x293*-0x4+0x1b41*0x1)*(-parseInt(_0x8d27f7(0xad))/(-0x2*-0xfba+0x63*-0x40+-0x6ad))+parseInt(_0x8d27f7(0x169))/(-0x119e+0x13d*0x4+0xcb2)*(parseInt(_0x8d27f7(0x156))/(-0x2a0+0x1c6e+-0x19c5))+-parseInt(_0x8d27f7(0x185))/(0x12b4+0x1*-0x2316+0x1*0x106c)*(parseInt(_0x8d27f7(0xa2))/(0xeca+0x28*-0x5c+-0x5f))+-parseInt(_0x8d27f7(0x1e5))/(-0x1cab+0x681*0x2+0x1*0xfb5)*(-parseInt(_0x8d27f7(0xa7))/(0x2b*-0x3b+0x577+0x47f));if(_0x41bbb6===_0x18c269)break;else _0x5bfb43['push'](_0x5bfb43['shift']());}catch(_0x5f0550){_0x5bfb43['push'](_0x5bfb43['shift']());}}}(_0x52f5,-0x9c5e6+-0x34826+-0x23610*-0x9));import{dirname,resolve}from'node:path';import{createEnvelope}from'@myagentroam/protocol';import{loadNodeConfig,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';import{WorkspaceUploadService}from'./service/workspace-upload-service.js';function _0x52f5(){const _0x5d3fe1=['CMvHza','mtCWC3rTvMny','zgf0ywjHC2u','Bwv0ywrHDge','y2fJAgvKu2vZC2LVBNm','D29YA3nWywnLrMLSzvnLCNzPy2u','BwfYqwDLBNrdBgLLBNq','ChvIBgLZAfnUyxbZAg90','ywnJzxb0rM9YtwvZC2fNzq','ywrVChrsDw4','u0vora','y29UDMvYC2f0Aw9U','C3rVChbLza','zwzMB3j0','CgXHDgzVCM0','C2vZC2LVBK1LC3nHz2vtzxj2AwnL','yxbWCM92ywXjza','ChjVBw90zvnLC3nPB25jzgvUDgL0Eq','ms4WlJa','D29YA3nWywnLv2f0y2Htzxj2AwnL','yxbWBgLJyxrPB24VANnVBG','DhjHBNnPDgLVBMLUzW','mJbzsfHps2S','ywnJzxnZ','BwfUywDLzezVCK5HDgL2zq','CNvUqxr0ywnOBwvUDfnLCNzPy2u','DgLTzxi','zxHLy3v0zq','tK9erv9dt05orunusu9ox1jfueXbq0ve','Ahr0Chm6lY8XmJCUmc4WlJeUAw52ywXPzc9Ty3a','C2vJCMv0CW','CMvMCMvZAfrPDgXL','CNvUBMvYvgL0Bgu','B3bLBKnVzgvsDw5dB250CM9SBgvY','DxbNCMfKzs1Yzxn1BhqUANnVBG','D29YA2jLBMnOtwfUAwzLC3rtzxj2AwnL','ChjLCgfYzu1PC3nPB25tzxnZAw9U','Aw5ZDgfSBgf0Aw9U','C2vZC2LVBKnHDgfSB2Dtzxj2AwnL','CNvUrxzLBNrcCMLKz2u','BgLZDfDVCMTZCgfJzxm','BM9Kzs53B3jRyMvUy2GUy2fWywjPBgL0AwvZ','D29YA3nWywnLuxvLDwvxB3jRyMvUy2Htzxj2AwnL','y2fUy2vS','C2vZC2LVBG','C3rYAw5N','CNvUBMvYlMnVBw1HBMqUzxHLy3v0zq','q0foq0vmteLorW','Bwf4','zgLZy29UBMvJDa','C2vUzevUDMvSB3bL','BwLZC2LVBLj1BNrPBwu','zxH0zxjUywXtzxnZAw9Uswq','C2vZC2LVBKLKzw50Axr5u2vYDMLJzq','zxHWAxjL','zMLSDgvY','y2XLyxjnAxnZAw9UuMv0CNK','Bw9KzwW','y29UDgLUDwu','CMvJB3jK','C2vYDMvYvxjS','C2vZC2LVBLn0yxrL','Cgf5Bg9Hza','CNvUlNj1BM5PBMC','ywn0AxzLv29YA3nWywnLtgvHC2vdB3vUDa','BMf0AxzLswrZ','CMvMCMvZAenHCgfIAwXPDgLLCW','DhvYBNm','D2vIu2vHCMnO','mZa2yxLsDMne','CMvWBgfJzvnVy2TLDezVCLrLC3rPBMC','C2v0q2HHBM5LBfrVA2vU','CNvUCW','tK9erv9vueDsqurfx1bftKrjtKC','BM9KzvjLCxvLC3rZ','D29YA3nWywnLvxbSB2fKu2vYDMLJzq','zw1PDff1zxvL','zxzLBNq','y3jLyxrLzef0','AxrLBxm','BM90AwzPy2f0Aw9U','C2vZC2LVBI13yxrJAc1ZBMfWC2HVDa','C2nOzwr1Bgu','CNvUDgLTzq','mtK2nJbvD2rfDg8','CNvUrxzLBNrtzxj2AwnL','CMvZB2X2zq','C2vZC2LVBNm','zMfRzvnJCMLWDa','u1vdq0vfreve','CMvXDwvZDenSyxvKzvvZzxjjBNb1Da','BwLU','CgvUzgLUz01PC3nPB25dB21Tyw5Ku3rHDgu','CMvTzw1Izxi','CNvUBMvYCW','tuLtu0LptL9ot1rFqunusvzf','yMLUzenVBNrYB2W','C2H1DgrVD24','z2v0v29YA3nWywnL','CMvNAxn0zxi','y3vYCMvUDev4zwn1DgLVBKLK','uKvqtefdrv9dvvjsru5u','BgLZDa','ChjLCgfYzu1LC3nHz2vjBNb1Da','C3rVCfDHDgnO','CMvMCMvZAev4DgvYBMfSqwn0AxzPDhK','C3rHCNq','y2fUy2vSq2XHDwrLuNvU','CNvUlNn0yxj0zwq','y29KzxHqCM9MAwXLq2XPzw50rMfJDg9YEq','C3rHCNrdyxbHyMLSAxr5uMvMCMvZAa','z2v0qwDLBNrtzxnZAw9U','twLZC2LVBG','BM9Kzs5VCgvYyxrPB24','y29TCgXLDgvKqxq','y29UDgLUDw91C1j1BKnVB3jKAw5HDg9Y','BwfUywDLzfj1BM5LCLnLC3nPB25Z','zgvJAwrLq29KzxHbChbYB3zHBa','mZzdB1r2CKC','BwLNCMf0zvnLC3nPB24','ChjVAMvJDgLVBKzVCK5HDgL2zq','BwLNCMf0zvj1BM5LCLnLC3nPB25jzgvUDgL0Eq','D2LUmZi','ChjVAMvJDeLUAxrPywW','zw1PDenVBNzLCNnHDgLVBLr1CM4','CNvUu3rHDgu','AgfUzgXL','ChjVzMLSzxm','zgvJAwrLqxbWCM92ywW','mJi3nZa5s0nkELnn','DxnLCKLUChv0CW','BMf0AxzLu2vZC2LVBLbYB2PLy3rPB25tzxj2AwnL','BM9Kzs51CgDYywrLlMnHBMnLBa','uKvkrunuruq','BM93','y29UBMvJDgvKqxr0zw1WDa','CMvTB3zLtwLZC2LVBLf1zxvL','zMfRztO','C2vXDwvUy2u','C2v0','zMfPBgvKqxr0zw1WDhm','C2vZC2LVBLf1zxj5u2vYDMLJzq','zxHLy3v0zunVBw1HBMq','Aw52ywXPzgf0zunHy2HL','CMvJB3jKzwqTC2vZC2LVBG','C3rHCNrLzef0','B3bLCMf0Aw9UuM91DgvY','zw1PDenVBNzLCNnHDgLVBKL0zw0','zw1PDfjLywX0Aw1L','Dw5Yzwy','su5urvjsvvburuq','y29UDhjVBe1LC3nHz2vZ','CMvXDwvZDa','BNvTyMvY','AgfZ','tK9erv9eqvrbqKftrv9vtKfwquLmqujmrq','CMvJB25JAwXL','CMvWBgfJzq','C25HChnOB3rtzxf1zw5Jzq','CNvUlMnVBxbSzxrLza','CMvJB25Uzwn0u2nOzwr1BgvK','Dgv4Da','zxzLBNruExbL','ChjVBxb0','C2vZC2LVBLbYzxnLBNrHDgLVBLnLCNzPy2u','D29YA3nWywnLu2vYDMLJzq','CNvUlMzHAwXLza','mtrrqLLbtKG','zw5XDwv1zu1PC3nPB25dB250Aw51yxrPB24','C3rHDgu','z2v0','y29UBMvJDa','Bw92zq','CNvUBMvYvxnHz2vszwfKzxi','y29KzxHsDw5dB250CM9SBgvY','y2XHDwrLq2XPzw50','BMv4Da','C3vIBwL0twLZC2LVBG','CgvYC29UywXjBNn0CNvJDgLVBNm','ChvIBgLZAa','zgLZCgf0y2G','CMvTB3zLugvUzgLUz1f1zxvL','B3bLBKnVzgvdBgLLBNq','tK9erv9vtKfvveHftLrjq0furuq','CNvUBMvY','D29YA3nWywnLswq','y3jLyxrLqxbWCM92ywW','C2L6zq','AgfZqwn0AxzLu2vZC2LVBKXLyxnL','Aw50zxjYDxb0uMvXDwvZDgvK','zgvSzxrL','zgLZy292zxjxB3jRC3bHy2u','y2fUy2vSq29KzxHuDxjU','CgvUzgLUzW','y29UBMvJDgvK','zgLZy292zxjxB3jRC3bHy2vtzxnZAw9UCW','BM9KzuLK','y2XHDwrLuNvUq29UDhjVBgXLCG','zw5ZDxjLuMvZDw1LzenVBMzPz3vYyxrPB24','zgLYzwn0tMf0AxzL','C25HChnOB3q','mtiZnZKWn0rkzLrWDa','uLvox05pvf9gt1vora','DgvYBwLUywXtzxj2AwnL','Aw5ZCgvJDa','y3jLyxrLqwDLBNrtzxnZAw9U','mti4ndyYmvHoyuLKwG','CgvYC2LZDfrLCM1PBMfS','D29YA3nWywnLv29YA2jLBMnOu2vYDMLJzq','B2jQzwn0AxzL','BM9Kzs5JB25Uzwn0Aw9UlNjLCgXHy2vK','BgLUDxG','odqZnJrwAezsugy','BwLZC2LVBG','zMX1C2Hqzw5KAw5Nvgv4Da','rvHurvjoquW','AxrLBuLK','tK9erv9tve9queve','uvvfvuu','CMvZCg9UzfvZzxjjBNb1Da','zgvJAxnPB24','zgvJAwrL','C3vWzxj2AxnLzfvWz3jHzgu','zw1PDfj1BG','D29YA3nWywnLq2HHBMDLu2vYDMLJzq','y2HHBMDLza','B25oB3rPzMLJyxrPB24','Aw52ywXPzgf0zvrVCgLJ','zM9Yz2v0','Cgf0Aa','ywrK','CMvTB3zL','zw5ZDxjLv2f0y2G','C2vZC2LVBKnVBNrLEhrtzxj2AwnL','ue9tva','Aw52ywXPzgf0zvDVCMTZCgfJzvDHDgnOvg9WAwnZ','zw5ZDxjLvg9WAwntBMfWC2HVDa','C2vJCMv0rw52AxjVBM1LBNq','CNvUDgLTzs1UB2rL','zMfZDa','ywXSB3DLzfjVB3rZ','yMXVy2TZ','CMvZDw1Lqwz0zxjdB21Tyw5KuNvU','y3DK','zxHLy3v0Aw9U','AgfUzgXLtwvZC2fNzq','ChjLC2vUDa','DxbNCMfKzq','y29UDMvYC2f0Aw9UvhvYBKzVCLj1BG','CMvNAxn0zxjbBgW','tK9erv9dt05gsuDFvu5bvKfjtefcteu','zxH0zxjUywXtzxnZAw9UuMvZDw1Lu2vYDMLJzq','y29UBMvJDgLVBKXPzMvJEwnSzq','DxbNCMfKzvjLywr5','D29YA2jLBMnOrxzLBNrtzxj2AwnL','Dg9WAwnby3rPDMu','zgvJAwrLq2XHDwrLqxbWCM92ywW','Dw5YzwDPC3rLCMvK','yxzHAwXHyMXL','y29UDhjVBenOyw5UzwW','CMvJzw50lxj1BNm','Aw5KzxG','ywn0AxzLu2vZC2LVBLj1BG','DgHYzwfKswq','y29UzMLN','Aw52ywXPzgf0zq','CNvUv29YA2jLBMnOu2vYDMLJzq','zxH0zxjUywXby3rPDML0Eq','D29YA3nWywnLu2vZC2LVBLnLCNzPy2u','D2f0y2GUzxzLBNq','y2XLyxi','y29UDMvYC2f0Aw9UlML0zw0','zgLZy292zxi','C2f2zu5HDgL2zvnLC3nPB25nzxrHzgf0yq','Bwf0zxjPywXPEMvdB2rLEa','BwfYlwLUDgvYBMfSlw1PC3nPB24','zMLUAxnOswrSzu1PC3nPB25sDw4','BM9KzuDLBMvYyxrPB24','CMfUzg9Tvvvjra','q0foq0vm','C2vUza','D2LUzg93CW','y29TCgXLDgvdyw5JzwXSzwrsDw4','zxHPDa','zMLUza','Aw50zxjYDxb0','C2XPy2u','ANnVBG','BwLZC2LVBK1JCfnLCNzLCG','CgvYC2LZDezPBgvZ','DMfSDwvZ','BMf0AxzLsw1Hz2vsB290CW','mJm4mdi4AfjkCKPr','y29TBwfUzfn0yxrLCW','CMvHzeHPC3rVCNLqywDL','yM9VDhn0CMfWswrZ','BxLHz2vUDhjVyw1FBwLZC2LVBG','CMvZB2X2zun1CNjLBNq','C2vZC2LVBKXPzMvJEwnSzvnLCNzPy2u','y29UDMvYC2f0Aw9UsgLZDg9YEvnLCNzPy2u','y2XLyxjxB3jRC3bHy2u','y2fWywjPBgL0AwvZ','C3rVCa','BM9Kzs5JB25Uzwn0Aw5N','CMvJzw50uNvUuhjVAMvJDgLVBLnLCNzPy2u','B25tDw1Tyxj5','ChvIBgLZAfDVCMTIzw5JAev2zw50','A2LUza','ChvIBgLZAefWChjVDMfS','AxnbCNjHEq','DhvYBKLK','y29UzMLNugf0Aa','y2HHBM5LBfrVA2vU','CNvUBMvYq2HHBM5LBe1LC3nHz2vZ','CMv2B2TL','C2vZC2LVBI5SAxn0','CNvU','DhvYBG','Bwv0CMLJCW','B3bLCMf0Aw9UCW','BwLZC2LVBKnVBNrPBNvHDgLVBLbLBMrPBMC','C3rYAw5NAwz5','CMvQzwn0','yxbWCM92ywXZ','C2vZC2LVBKLK','C2vZC2LVBKnVBw1HBMrtzxj2AwnL','CNvUBMvYsw50zxjHy3rPB25tzxj2AwnL','ywn0AxzL','DgvYBwLUywXnyw5Hz2vY','CMvJB25JAwXLugvYC2LZDgvKuNvUCW','z2v0uNvU','q0foq0vmteve','Aw52ywXPzgf0zunOyw5Nzxm','CMvJB3jKrxHLy3v0Aw9UuMvZDwX0','zw1PDfnLC3nPB25xB3jRyMvUy2HfDMvUDa','CNvUswq','AgfUzgXLtM90AwzPy2f0Aw9U','ChjVBw90zq','BMf0AxzLu2vZC2LVBLDHDgnOu2vYDMLJzq','y2f0y2G','l2fWAs9UB2rLlxrVB2XZl3DLyI1ZzwfYy2G','l21PC3nPB24Gls1JBgvHCG','C3rHDhvZ','AgfZrxHLy3v0Aw9Uu3rHCNrLza','tufsx0fhru5ux1DfqL9trufsq0HFrKfjteve','BMf0AxzLlNnLC3nPB24UzgLZy292zxj5lNbLBMrPBMC','CMvJB25Uzwn0','yMXVy2TbzNrLCLj1BNrPBwvgywLSDxjL','CMvXDwLYzq','y29KzxHdBgLLBNq','y2XVC2u','BwLZC2LVBLjLDhj5vgLTzxjZ','rKflrv9svu5orvjFreLtq09otKvdva','y2XLyxjbBgW','C29JA2v0','y29KzxG','CMvHze5HDgL2zq','BM9Kzs5TzxrYAwnZ','zxHWAxjLqxbWCM92ywW','qMvHCMvYia','tuLtu0LptL9dt05usu5vqvrjt05FrKfjteve','zxHLy3v0zu5VzgvpCgvYyxrPB24','D29YA3nWywnLq29VCMrPBMf0B3i','DxbNCMfKzunVB3jKAw5HDg9Y','CNvUBMvYu2vYDMLJzq','CMvJB3jKvhvYBG','l21PC3nPB24','vgHPCYboB2rLignVBM5Ly3rPB24GD2fZihjLCgXHy2vKigj5igeGBMv3zxiGAw5ZDgfUy2uGD2L0Acb0AguGC2fTzsbPzgvUDgL0Es4Gq2HLy2SGzM9Yigr1CgXPy2f0zsbWCM9JzxnZzxmU','y2XLyxjxyxrJAgvZ','y2fWywjPBgL0EurLDgvJDg9Y','rKfjteve','y3jLzgvUDgLHBa','y29UDMvYC2f0Aw9Uu2vNBwvUDfnLCNzPy2u','yxbWCM92ywW6','zMfRzvj1BM5LCG','zw1PDfDVCMTIzw5JAev2zw50','BgLZDfj1BNngB3jtzxnZAw9U','BwfYqwDLBNrsDw5dB250CM9SBgvY','DxbKyxrLqwDLBNrtzxnZAw9UqwnJzxnZ','Cgf1C2vtzxnZAw9UuxvLDwu','Bg9HzfjLC3vSDa','ovbfBuPfra','zgLZCg9Zzq','yxnZAxn0yw50x21LC3nHz2u','surmrq','yxbWzw5K','D29YA3nWywnLu3rHDgu','zw1PDfj1BKv2zw50','sfruua','yMLUzenVBw1HBMrdB250CM9S','y2XHDwrLqxbWCM92ywXuAw1LB3v0txm','Dgv4Dc5KzwX0yq','zxHLy3v0Aw9Uu3rHCNrLza','lw9Wzw5JB2rLlwLTywDLCW','y2XLyw51Ca','ChvIBgLZAe1PC3nPB25tDgf0zq','BM9Kzs51CgDYywrLlNjLCxvLC3q','zwzMzwn0AxzLtwnWsw5ZDgfSBgf0Aw9UCW','CMvZDw1LzenVBMzPz3vYyxrPB24','CMv2AxnPB24','ntu5mJu5mNPiExflsW','v09ss1nqqunf','y2fWywjPBgL0AwvZuhjVDMLKzwq','CMvXDwvZDenSyxvKzufWChjVDMfS','y2XVC2vsDw5UAw5NvgvYBwLUywXtzxnZAw9UCW','DgvYBwLUywXdAgfUBMvS'];_0x52f5=function(){return _0x5d3fe1;};return _0x52f5();}function _0x31d7(_0x2943a3,_0x696851){_0x2943a3=_0x2943a3-(0x1*0x205b+-0x83e*-0x1+-0x1*0x281b);const _0xba7f04=_0x52f5();let _0x368b08=_0xba7f04[_0x2943a3];if(_0x31d7['XVoKxS']===undefined){var _0x55630e=function(_0x4e13d6){const _0x342e52='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x266161='',_0xa1c10e='';for(let _0x3eb555=-0x6fd*-0x3+0x23*0xb5+0x16db*-0x2,_0x2f45fd,_0x220a7c,_0x2beea7=-0x18d3+-0x1*0x64d+0x1f20;_0x220a7c=_0x4e13d6['charAt'](_0x2beea7++);~_0x220a7c&&(_0x2f45fd=_0x3eb555%(-0x21fc+0x2b4+0x1f4c)?_0x2f45fd*(0x318+-0x2353*0x1+0x207b)+_0x220a7c:_0x220a7c,_0x3eb555++%(-0x483+-0x1945*0x1+-0xee6*-0x2))?_0x266161+=String['fromCharCode'](0x98b*-0x2+0xf94+0x481&_0x2f45fd>>(-(-0x1*-0x14f7+-0x4*-0x62b+0x1*-0x2da1)*_0x3eb555&0xdf3+-0x4bb+-0x16*0x6b)):0x223b+-0x6f+-0x21cc){_0x220a7c=_0x342e52['indexOf'](_0x220a7c);}for(let _0x5967ab=-0x3*-0x8f3+0x1*0x1379+-0x2e52,_0x3beb40=_0x266161['length'];_0x5967ab<_0x3beb40;_0x5967ab++){_0xa1c10e+='%'+('00'+_0x266161['charCodeAt'](_0x5967ab)['toString'](0x1c5e*-0x1+-0x60a*0x5+-0x1d5*-0x20))['slice'](-(0x240b+-0x1a99+-0x970));}return decodeURIComponent(_0xa1c10e);};_0x31d7['BkdMui']=_0x55630e,_0x31d7['laUFUM']={},_0x31d7['XVoKxS']=!![];}const _0x1f8008=_0xba7f04[-0xebc+0x1d8a+-0xece];_0x31d7['RpgrhP']!==_0x1f8008&&(_0x31d7['laUFUM']={},_0x31d7['RpgrhP']=_0x1f8008);const _0x222f5f=_0x31d7['laUFUM'][_0x2943a3];return _0x222f5f===undefined?(_0x368b08=_0x31d7['BkdMui'](_0x368b08),_0x31d7['laUFUM'][_0x2943a3]=_0x368b08):_0x368b08=_0x222f5f,_0x368b08;}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{SessionContextService}from'./service/session-context-service.js';import{WorkspaceDomainState}from'./service/workspace-domain-state.js';import{RunWorkbenchService}from'./service/run-workbench-service.js';import{SessionQueryService}from'./service/session-query-service.js';import{WorkspaceQueueWorkbenchService}from'./service/workspace-queue-workbench-service.js';import{ContinuousRunCoordinator}from'./service/continuous-run-coordinator.js';import{SessionIdentityService}from'./service/session-identity-service.js';import{NativeSessionProjectionService}from'./service/native-session-projection-service.js';import{composeConversationRuntimePage,ConversationHistoryService,convergeConversationWatchPage,hasManagedActiveRun}from'./service/conversation-history-service.js';import{ConversationSegmentService,conversationSegmentIdentityForItem,conversationSegments}from'./service/conversation-segment-service.js';import{RunnerInteractionService}from'./service/runner-interaction-service.js';import{SessionLifecycleService}from'./service/session-lifecycle-service.js';import{ExternalSessionResumeService}from'./service/external-session-resume-service.js';import{SessionMessageService}from'./service/session-message-service.js';import{SessionCatalogService}from'./service/session-catalog-service.js';import{SessionCommandService}from'./service/session-command-service.js';import{SessionPresentationService}from'./service/session-presentation-service.js';import{isPlainRecord,isRunnerImageAttachment,parseRunnerImageAttachments}from'./runner/codex/conversation-parser.js';export{nodeConnectEndpoint,validatedCapabilities}from'./runner/codex/conversation-parser.js';import{NodeControlChannel}from'./service/node-control-channel.js';import{NodeControlMessageService}from'./service/node-control-message-service.js';import{NodeRequestService}from'./service/node-request-service.js';import{WorkbenchManifestService}from'./service/workbench-manifest-service.js';import{NodeRunEventBridge,workbenchPayloadSessionId}from'./service/node-run-event-bridge.js';import{NodeWorkspaceCoordinator}from'./service/node-workspace-coordinator.js';import{FakeManagedRunService}from'./service/fake-managed-run-service.js';import{RunnerChannelMessageService}from'./service/runner-channel-message-service.js';import{ManagedRunnerSessionService}from'./service/managed-runner-session-service.js';import{NodeConnectionLifecycleService}from'./service/node-connection-lifecycle-service.js';import{NodeUpgradeCoordinator,nodeUpgradeRequestPath}from'./service/node-upgrade-coordinator.js';const HEARTBEAT_MS=0x44*0xf0+0x131c*-0x4+0x4748,CAPABILITY_REFRESH_MS=-0x3*0x1933+-0x146ea+0x27ce3,RETRY_MIN_MS=0x2b4+-0x9d5+-0x307*-0x3,RETRY_MAX_MS=-0x6d43+0xcda4+0x14cf,CLAUDE_APPROVAL_TIMEOUT_MS=(-0x1945*0x1+-0x16db*0x1+0x302a)*(-0x1*-0xbaeb+0x37f4+0x57*-0x19);export function nextReconnectDelay(_0x488f2f){const _0x582141=_0x31d7;return Math[_0x582141(0x1ca)](RETRY_MAX_MS,RETRY_MIN_MS*(-0xe*-0xfe+0x1*-0x55e+-0x2*0x442)**Math[_0x582141(0x1ca)](Math[_0x582141(0x19f)](_0x488f2f,-0x2*0x455+-0x1*0x24ee+0x2d98),0x11*-0x121+-0x2*0x6a+0x1*0x1415));}function upgradeMetadata(_0x153914,_0x1e9fca){const _0x2d4e4c=_0x31d7,_0x18c5a6={..._0x153914??{}};if(process.env['MAR_NODE_SUPERVISED']==='1')_0x18c5a6[_0x2d4e4c(0xb7)]=!![];else delete _0x18c5a6[_0x2d4e4c(0xb7)];if(_0x1e9fca[_0x2d4e4c(0x82)]===_0x2d4e4c(0x159))delete _0x18c5a6[_0x2d4e4c(0xd0)];else _0x18c5a6[_0x2d4e4c(0xd0)]=_0x1e9fca;return _0x18c5a6;}export class NodeConnector{[_0x50c5b1(0xee)]=crypto[_0x50c5b1(0xef)]()[_0x50c5b1(0x20c)](/-/g,'');[_0x50c5b1(0xdc)];[_0x50c5b1(0x206)];[_0x50c5b1(0x1b9)];[_0x50c5b1(0xd5)];set[_0x50c5b1(0x13b)](_0x26cd39){const _0x11d397=_0x50c5b1;this[_0x11d397(0xdc)][_0x11d397(0x1b5)](_0x26cd39);}[_0x50c5b1(0x17b)]=![];[_0x50c5b1(0xe1)];[_0x50c5b1(0x16b)];[_0x50c5b1(0x106)];[_0x50c5b1(0x14a)];[_0x50c5b1(0x110)];[_0x50c5b1(0x133)];[_0x50c5b1(0x15f)];[_0x50c5b1(0xd7)]=new WorkbenchEventService(envelope=>this[_0x50c5b1(0x1a1)](envelope),(category,payload)=>{const _0x5334b0=_0x50c5b1,sessionId=workbenchPayloadSessionId(this[_0x5334b0(0x1c2)],category,payload);return sessionId===undefined||!this[_0x5334b0(0x1a4)][_0x5334b0(0x100)][_0x5334b0(0x209)](sessionId);});[_0x50c5b1(0x14f)];[_0x50c5b1(0x1c7)];[_0x50c5b1(0x1ec)]=new RunDomainState();[_0x50c5b1(0x196)];[_0x50c5b1(0x143)];[_0x50c5b1(0x1ac)]=new SessionDomainState();[_0x50c5b1(0x1a4)];[_0x50c5b1(0x1f2)];[_0x50c5b1(0x104)];[_0x50c5b1(0x14d)];[_0x50c5b1(0x11f)];[_0x50c5b1(0x112)];[_0x50c5b1(0x1e3)];[_0x50c5b1(0x213)];[_0x50c5b1(0x103)];[_0x50c5b1(0xd4)];[_0x50c5b1(0x17e)];[_0x50c5b1(0x195)];[_0x50c5b1(0x11e)];[_0x50c5b1(0x188)];[_0x50c5b1(0x16e)];[_0x50c5b1(0x136)];[_0x50c5b1(0x87)];[_0x50c5b1(0x88)];[_0x50c5b1(0x8f)];[_0x50c5b1(0x175)];[_0x50c5b1(0x152)];[_0x50c5b1(0x190)];[_0x50c5b1(0x9e)];[_0x50c5b1(0x1cd)];[_0x50c5b1(0xc2)];[_0x50c5b1(0xe3)];[_0x50c5b1(0x1fc)];[_0x50c5b1(0x1e2)];[_0x50c5b1(0x199)];[_0x50c5b1(0x201)]=new NodeOperationRouter();[_0x50c5b1(0x145)];[_0x50c5b1(0x192)];[_0x50c5b1(0xa4)];[_0x50c5b1(0x7e)];[_0x50c5b1(0xfe)]=new CommandStateStore();[_0x50c5b1(0x1a2)]=new MissionRuntime(()=>undefined);[_0x50c5b1(0x138)]=new Map();[_0x50c5b1(0x119)]=new Map();[_0x50c5b1(0xf9)]=new MissionMcpServer(this[_0x50c5b1(0x1a2)],sessionId=>{const _0x1b8623=_0x50c5b1,mission=this[_0x1b8623(0x1a2)][_0x1b8623(0x83)](sessionId),session=this[_0x1b8623(0x1c2)][_0x1b8623(0x1de)](sessionId);if(mission===undefined||session===undefined)return;if(mission[_0x1b8623(0x12f)]!==_0x1b8623(0x120))this[_0x1b8623(0x1e2)][_0x1b8623(0x1f7)](sessionId);this[_0x1b8623(0x164)](session,mission);});[_0x50c5b1(0x86)];[_0x50c5b1(0x121)];[_0x50c5b1(0x144)];[_0x50c5b1(0x15b)]=new WorkspaceDomainState();[_0x50c5b1(0x182)]=new WorkspaceWatchService(this[_0x50c5b1(0x15b)],workspaceId=>this[_0x50c5b1(0xe5)][_0x50c5b1(0xc1)](workspaceId),workspaceId=>this[_0x50c5b1(0xe5)][_0x50c5b1(0x1d7)](workspaceId),workspaceId=>this[_0x50c5b1(0xa9)]?.[_0x50c5b1(0x105)](workspaceId));[_0x50c5b1(0xe5)]=new WorkspaceSessionService(this[_0x50c5b1(0x15b)],{'discover':workspaceId=>this[_0x50c5b1(0x9c)](workspaceId),'listPage':workspaceId=>this[_0x50c5b1(0x142)](_0x50c5b1(0x114),{'workspaceId':workspaceId,'limit':0x14}),'active':workspaceId=>this[_0x50c5b1(0x182)][_0x50c5b1(0xd8)](workspaceId,_0x50c5b1(0x1c6)),'invalidate':workspaceId=>void this[_0x50c5b1(0xa9)]?.[_0x50c5b1(0xbc)](workspaceId,_0x50c5b1(0x1c6)),'onPending':(workspaceId,waitMs)=>nodeLog(_0x50c5b1(0x132),{'nodeId':this[_0x50c5b1(0xe1)]?.[_0x50c5b1(0x9d)],'workspaceId':workspaceId,'waitMs':waitMs})});[_0x50c5b1(0x174)]=new WorkspaceFileService(this[_0x50c5b1(0x15b)],()=>this[_0x50c5b1(0xe1)]?.[_0x50c5b1(0xc9)]??[],workspaceId=>this[_0x50c5b1(0x143)][_0x50c5b1(0xe2)](workspaceId));[_0x50c5b1(0x1ba)]=new WorkspaceUploadService(this[_0x50c5b1(0x15b)],workspaceId=>this[_0x50c5b1(0x143)][_0x50c5b1(0xe2)](workspaceId));[_0x50c5b1(0xb9)]=new WorkspaceChangeService(this[_0x50c5b1(0x15b)]);[_0x50c5b1(0xa9)];[_0x50c5b1(0x171)];[_0x50c5b1(0x109)]=new RecentRunProjectionService(message=>this[_0x50c5b1(0xf1)](_0x50c5b1(0xdd),message));[_0x50c5b1(0x1c2)]=new NodeRuntimeState(()=>this[_0x50c5b1(0xe1)]?.[_0x50c5b1(0x9d)]??_0x50c5b1(0xc7),workspaceId=>this[_0x50c5b1(0x171)]?.[_0x50c5b1(0x1d1)](workspaceId),Date[_0x50c5b1(0x1f5)],(run,session,userMessage)=>this[_0x50c5b1(0x109)][_0x50c5b1(0x1aa)](run,session,userMessage));[_0x50c5b1(0x117)]=new NodeMetrics();[_0x50c5b1(0x1c4)]=new RunEventService({'runtime':this[_0x50c5b1(0x1c2)],'metrics':this[_0x50c5b1(0x117)],'state':this[_0x50c5b1(0x1ec)],'isBootstrapSession':sessionId=>this[_0x50c5b1(0x1a4)][_0x50c5b1(0x100)][_0x50c5b1(0x209)](sessionId),'presentSession':session=>this[_0x50c5b1(0x213)][_0x50c5b1(0xcf)](session),'rejectBootstrap':(sessionId,code)=>this[_0x50c5b1(0x1a4)][_0x50c5b1(0x11b)](sessionId,code),'emitWorkbench':(category,payload)=>{const _0x3e58f5=_0x50c5b1;if(category===_0x3e58f5(0x17a)&&isPlainRecord(payload)&&_0x3e58f5(0x116)in payload)this[_0x3e58f5(0x1eb)](payload[_0x3e58f5(0x116)]);else this[_0x3e58f5(0x10b)](category,payload);},'cleanupAttachments':runId=>this[_0x50c5b1(0x188)][_0x50c5b1(0x163)](runId),'expireImages':runId=>this[_0x50c5b1(0x188)][_0x50c5b1(0x1a5)](runId),'scheduleContextRefresh':sessionId=>this[_0x50c5b1(0xc2)][_0x50c5b1(0x1c1)](sessionId),'refreshWorkspaceSessions':workspaceId=>this[_0x50c5b1(0xa9)][_0x50c5b1(0xc5)](workspaceId,_0x50c5b1(0x1c6)),'dispatchQueue':async(sessionId,delayMs=-0x1e8e+0x1c5e*-0x1+-0x9d2*-0x6)=>{const _0x392492=_0x50c5b1;if(this[_0x392492(0x144)][_0x392492(0x9a)]())return;if(delayMs>-0xbc*-0x1f+-0x18fb+0x237){this[_0x392492(0x1e2)][_0x392492(0x1c1)](sessionId,delayMs);return;}await this[_0x392492(0x1e2)][_0x392492(0x8d)](sessionId);},'executionStarted':executionId=>this[_0x50c5b1(0x1e2)][_0x50c5b1(0x161)](executionId),'keepRunActive':sessionId=>(this[_0x50c5b1(0x138)][_0x50c5b1(0x209)](sessionId)||this[_0x50c5b1(0x119)][_0x50c5b1(0x209)](sessionId))&&this[_0x50c5b1(0x1a2)][_0x50c5b1(0x83)](sessionId)?.[_0x50c5b1(0x12f)]===_0x50c5b1(0x120),'executionTerminating':(executionId,status)=>{const _0x4eec17=_0x50c5b1,pending=this[_0x4eec17(0x1e2)][_0x4eec17(0x9a)](executionId);if(pending?.[_0x4eec17(0xae)]===undefined)return;const started=this[_0x4eec17(0x1e2)][_0x4eec17(0x130)](executionId),blocked=this[_0x4eec17(0x1a2)][_0x4eec17(0x126)](pending[_0x4eec17(0x11d)],status===_0x4eec17(0x14b));if(blocked){this[_0x4eec17(0x1a7)](pending[_0x4eec17(0x11d)]),this[_0x4eec17(0x1e2)][_0x4eec17(0x1f7)](pending[_0x4eec17(0x11d)]);const terminalMission=this[_0x4eec17(0x1a2)][_0x4eec17(0x83)](pending[_0x4eec17(0x11d)]),session=this[_0x4eec17(0x1c2)][_0x4eec17(0x1de)](pending[_0x4eec17(0x11d)]);if(terminalMission!==undefined&&session!==undefined)this[_0x4eec17(0x164)](session,terminalMission);return;}if(status!==_0x4eec17(0x14b)||started)return;this[_0x4eec17(0x1a7)](pending[_0x4eec17(0x11d)]);const retry={'sessionId':pending[_0x4eec17(0x11d)],'timer':setTimeout(()=>{const _0x24fa28=_0x4eec17;this[_0x24fa28(0x138)][_0x24fa28(0x97)](retry[_0x24fa28(0x11d)]);const mission=this[_0x24fa28(0x1a2)][_0x24fa28(0x83)](retry[_0x24fa28(0x11d)]);if(mission?.[_0x24fa28(0x12f)]!==_0x24fa28(0x120)||mission['id']!==pending[_0x24fa28(0xae)]?.['id']||mission[_0x24fa28(0x168)]!==pending[_0x24fa28(0xae)][_0x24fa28(0x168)])return;void this[_0x24fa28(0x17e)][_0x24fa28(0x8a)]({'sessionId':retry[_0x24fa28(0x11d)],'kind':_0x24fa28(0x1a9),'content':this[_0x24fa28(0x1a2)][_0x24fa28(0x212)](retry[_0x24fa28(0x11d)],_0x24fa28(0x1a9)),'deliveryIntent':_0x24fa28(0x179),'mission':{'id':mission['id'],'revision':mission[_0x24fa28(0x168)]},'secretEnvironment':pending[_0x24fa28(0xc6)],...pending[_0x24fa28(0x8b)]===undefined?{}:{'personalInstructions':pending[_0x24fa28(0x8b)]}})[_0x24fa28(0x12c)](()=>undefined);},-0x4f*0xda+-0x2c35+0xaa13)};this[_0x4eec17(0x138)][_0x4eec17(0x1fa)](pending[_0x4eec17(0x11d)],retry),retry[_0x4eec17(0x189)][_0x4eec17(0x204)]();},'releaseExecution':executionId=>{const _0x43a82b=_0x50c5b1;this[_0x43a82b(0xf9)][_0x43a82b(0x113)](executionId),this[_0x43a82b(0x1e2)][_0x43a82b(0xc0)](executionId);}});[_0x50c5b1(0x12b)]=new NativeSessionWatchService({'resolve':async sessionId=>this[_0x50c5b1(0x1c2)][_0x50c5b1(0x1de)](sessionId)??this[_0x50c5b1(0x1f2)][_0x50c5b1(0x102)](sessionId),'managedActive':session=>hasManagedActiveRun(this[_0x50c5b1(0x1c2)],session),'suspended':sessionId=>this[_0x50c5b1(0xd4)][_0x50c5b1(0x184)](sessionId),'refreshActivity':session=>this[_0x50c5b1(0x104)][_0x50c5b1(0x1d8)](session),'present':session=>this[_0x50c5b1(0x213)][_0x50c5b1(0xcf)](session),'readPage':(session,limit)=>this[_0x50c5b1(0x104)][_0x50c5b1(0x16f)](session,{'limit':limit}),'readHistoryPage':(session,limit)=>this[_0x50c5b1(0x104)][_0x50c5b1(0xff)](session,{'limit':limit}),'convergePage':convergeConversationWatchPage,'composeRuntimePage':composeConversationRuntimePage,'projectInitialPage':(session,page,_unit,limit)=>{const _0xd654c2=_0x50c5b1,context=this[_0xd654c2(0xc2)][_0xd654c2(0xa1)](session['id']);return this[_0xd654c2(0xc2)][_0xd654c2(0x1c1)](session),{'kind':_0xd654c2(0x1c0),'sequence':this[_0xd654c2(0xd7)][_0xd654c2(0x20d)](),'session':this[_0xd654c2(0x213)][_0xd654c2(0xcf)](session),'runs':this[_0xd654c2(0x1c2)][_0xd654c2(0x151)](session['id']),'queue':this[_0xd654c2(0x199)][_0xd654c2(0xa1)](session['id']),'context':context,'conversation':this[_0xd654c2(0x14d)][_0xd654c2(0x1ea)](session,page,limit)};},'emitSession':session=>this[_0x50c5b1(0x127)]({'session':session}),'emitPage':(session,page)=>this[_0x50c5b1(0x150)](_0x50c5b1(0x17a),{'sessionId':session['id'],'snapshot':this[_0x50c5b1(0x14d)][_0x50c5b1(0x1ea)](session,page,-0x543+0x21ad*-0x1+0x26fa)}),'nodeId':()=>this[_0x50c5b1(0xe1)]?.[_0x50c5b1(0x9d)]??_0x50c5b1(0xc7),'nodeGeneration':()=>this[_0x50c5b1(0xee)],'emitWatchEvent':payload=>this[_0x50c5b1(0xf1)](_0x50c5b1(0xe6),payload),'log':nodeLog});constructor(_0x1949b9={}){const _0x3b45fb=_0x50c5b1;this[_0x3b45fb(0xe1)]=_0x1949b9[_0x3b45fb(0xe1)],this[_0x3b45fb(0x110)]=_0x1949b9[_0x3b45fb(0x110)],this[_0x3b45fb(0x15f)]=_0x1949b9[_0x3b45fb(0x15f)]??CLAUDE_APPROVAL_TIMEOUT_MS,this[_0x3b45fb(0x16b)]=_0x1949b9[_0x3b45fb(0x106)]!==undefined,this[_0x3b45fb(0x106)]=_0x1949b9[_0x3b45fb(0x106)]??unavailableCapabilities(),this[_0x3b45fb(0x144)]=new NodeUpgradeCoordinator(()=>{const _0x2a255d=_0x3b45fb;if(this[_0x2a255d(0xe1)]===undefined)throw new Error(_0x2a255d(0xd3));return nodeUpgradeRequestPath(nodeDatabasePath(this[_0x2a255d(0xe1)],this[_0x2a255d(0x110)]));},()=>this[_0x3b45fb(0x1ec)][_0x3b45fb(0x120)][_0x3b45fb(0x94)],_0x162338=>{const _0x3f4a9e=_0x3b45fb;this[_0x3f4a9e(0x106)]={...this[_0x3f4a9e(0x106)],'metadata':upgradeMetadata(this[_0x3f4a9e(0x106)][_0x3f4a9e(0x172)],_0x162338)},this[_0x3f4a9e(0xdc)]?.[_0x3f4a9e(0xf1)](_0x3f4a9e(0x106),this[_0x3f4a9e(0x106)]);},_0x1949b9[_0x3b45fb(0xd6)]??(()=>{const _0x3e4581=_0x3b45fb;this[_0x3e4581(0x107)](),setImmediate(()=>process[_0x3e4581(0xf4)](-0x2*0x12a9+0x18e6+-0x1*-0xcb7));})),this[_0x3b45fb(0x106)]={...this[_0x3b45fb(0x106)],'metadata':upgradeMetadata(this[_0x3b45fb(0x106)][_0x3b45fb(0x172)],this[_0x3b45fb(0x144)][_0x3b45fb(0xa1)]())};const _0x5ef20f=_0x1949b9[_0x3b45fb(0x14a)]??detectCapabilitiesAsync;this[_0x3b45fb(0x14a)]=async()=>{const _0x2c1b13=_0x3b45fb,_0x4b748d=await _0x5ef20f();return{..._0x4b748d,'metadata':upgradeMetadata(_0x4b748d[_0x2c1b13(0x172)],this[_0x2c1b13(0x144)][_0x2c1b13(0xa1)]())};},this[_0x3b45fb(0x133)]=_0x1949b9[_0x3b45fb(0x133)]??!![],this[_0x3b45fb(0x14f)]=_0x1949b9[_0x3b45fb(0x14f)]===undefined?undefined:new FakeTestRunner(_0x1949b9[_0x3b45fb(0x14f)]),this[_0x3b45fb(0x1c7)]=_0x1949b9[_0x3b45fb(0x1c7)],this[_0x3b45fb(0x188)]=new RunAttachmentService(_0x3e26c0=>this[_0x3b45fb(0x1cd)][_0x3b45fb(0x135)](_0x3e26c0[_0x3b45fb(0x91)])[_0x3b45fb(0xfc)](_0x3e26c0)),this[_0x3b45fb(0x136)]=new CodexRunner(_0x1949b9[_0x3b45fb(0x136)],_0x1949b9[_0x3b45fb(0x1dc)]),this[_0x3b45fb(0x87)]=new CodexManagedRunController(this[_0x3b45fb(0x136)],{'available':()=>this[_0x3b45fb(0x106)][_0x3b45fb(0x13c)][_0x3b45fb(0xdb)],'intercepted':()=>this[_0x3b45fb(0x14f)]!==undefined,'active':this[_0x3b45fb(0x1ec)][_0x3b45fb(0x120)],'addActive':_0x40f566=>this[_0x3b45fb(0x1ec)][_0x3b45fb(0x120)][_0x3b45fb(0xbf)](_0x40f566),'removeActive':_0x2855b9=>this[_0x3b45fb(0x1ec)][_0x3b45fb(0x120)][_0x3b45fb(0x97)](_0x2855b9),'adopt':_0x10e69e=>this[_0x3b45fb(0x1c2)][_0x3b45fb(0x178)](_0x10e69e),'session':_0x1e2f3f=>this[_0x3b45fb(0x1c2)][_0x3b45fb(0x1de)](_0x1e2f3f),'runStatus':_0x5e2e18=>this[_0x3b45fb(0x1c2)][_0x3b45fb(0x123)](_0x5e2e18)?.[_0x3b45fb(0x12f)],'run':_0x444d05=>this[_0x3b45fb(0x1c2)][_0x3b45fb(0x123)](_0x444d05),'interrupted':_0x2601a0=>this[_0x3b45fb(0x1ec)][_0x3b45fb(0x96)][_0x3b45fb(0x209)](_0x2601a0),'parseAttachments':parseRunnerImageAttachments,'materialize':(_0x1826a6,_0x1e5193)=>this[_0x3b45fb(0x188)][_0x3b45fb(0xeb)](_0x1826a6,_0x1e5193),'completeCancelled':_0x3f91ba=>this[_0x3b45fb(0x11f)][_0x3b45fb(0xf3)](_0x3f91ba),'promoteSession':(_0x7c8554,_0x24f49d)=>this[_0x3b45fb(0x1a4)][_0x3b45fb(0x12a)](_0x7c8554,_0x24f49d),'send':(_0x73db93,_0x3e76c3)=>this[_0x3b45fb(0xf1)](_0x73db93,_0x3e76c3),'emit':(_0x1117e0,_0x783ea7,_0x1c16f9,_0x53f32a)=>this[_0x3b45fb(0x196)][_0x3b45fb(0xb8)](_0x1117e0,_0x783ea7,_0x1c16f9,_0x53f32a),'cancel':(_0x20f174,_0x231c92,_0x462753,_0x4c453f,_0x48d0d7)=>this[_0x3b45fb(0x11f)][_0x3b45fb(0x99)](_0x20f174,_0x231c92,_0x462753,_0x4c453f,_0x48d0d7),'createApproval':_0x21cdbc=>this[_0x3b45fb(0x1c2)][_0x3b45fb(0x93)](_0x21cdbc),'publishApproval':_0x1b0123=>this[_0x3b45fb(0x196)][_0x3b45fb(0x10d)](_0x1b0123),'emitItem':(_0x40f01a,_0x220184)=>this[_0x3b45fb(0x202)](_0x40f01a,_0x220184),'appendImages':(_0x5b22f2,_0x40d626)=>this[_0x3b45fb(0x188)][_0x3b45fb(0x15a)](_0x5b22f2,_0x40d626[_0x3b45fb(0x1a6)](isRunnerImageAttachment)),'syncTitle':(_0x3d7e2,_0x31d3ba,_0x368b34)=>this[_0x3b45fb(0x1e3)][_0x3b45fb(0x18e)](_0x3d7e2,_0x31d3ba,_0x368b34),'commandState':(_0x5ef28f,_0xe3b80)=>this[_0x3b45fb(0xfe)][_0x3b45fb(0x83)](_0x5ef28f,_0xe3b80),'setCommandState':(_0x53d4bc,_0x445d3b)=>this[_0x3b45fb(0xfe)][_0x3b45fb(0x1fa)](_0x53d4bc,_0x445d3b),'clearCommandState':(_0x43a540,_0x1f59be)=>this[_0x3b45fb(0xfe)][_0x3b45fb(0xe7)](_0x43a540,_0x1f59be),'commandStates':_0x2de56b=>this[_0x3b45fb(0xfe)][_0x3b45fb(0x1d5)](_0x2de56b),'hasActiveSessionLease':_0x4cf13a=>this[_0x3b45fb(0x1c2)][_0x3b45fb(0x95)](_0x4cf13a),'fast':_0x30b8f6=>this[_0x3b45fb(0x142)](_0x3b45fb(0x19d),{'runner':_0x3b45fb(0x13c),'commandId':_0x3b45fb(0xc8),'input':_0x30b8f6})}),this[_0x3b45fb(0x136)][_0x3b45fb(0xbb)](_0x1825fe=>this[_0x3b45fb(0x87)][_0x3b45fb(0x129)](_0x1825fe)),this[_0x3b45fb(0x88)]=new ClaudeCodeRunner(_0x1949b9[_0x3b45fb(0x88)]),this[_0x3b45fb(0x8f)]=new OpenCodeRunner(_0x1949b9[_0x3b45fb(0x8f)]),this[_0x3b45fb(0x175)]=new MarAgentRunner(),this[_0x3b45fb(0x152)]=new MarAgentManagedRunController(this[_0x3b45fb(0x175)],{'active':this[_0x3b45fb(0x1ec)][_0x3b45fb(0x120)],'adopt':_0x298422=>this[_0x3b45fb(0x1c2)][_0x3b45fb(0x178)](_0x298422),'promote':(_0x18b86f,_0x206fa5)=>this[_0x3b45fb(0x1a4)][_0x3b45fb(0x12a)](_0x18b86f,_0x206fa5),'syncTitle':(_0x2ccbd5,_0x3e36a9)=>this[_0x3b45fb(0x1e3)][_0x3b45fb(0x18e)](_0x2ccbd5,_0x2ccbd5,_0x3e36a9),'emit':(_0x4b1319,_0x3d11c9,_0xa3025d,_0x4187b0)=>this[_0x3b45fb(0x196)][_0x3b45fb(0xb8)](_0x4b1319,_0x3d11c9,_0xa3025d,_0x4187b0),'emitItem':(_0x31aedb,_0x1418f8)=>this[_0x3b45fb(0x202)](_0x31aedb,_0x1418f8),'createApproval':_0xd518af=>this[_0x3b45fb(0x1c2)][_0x3b45fb(0x93)](_0xd518af),'publishApproval':_0x9d35ee=>this[_0x3b45fb(0x196)][_0x3b45fb(0x10d)](_0x9d35ee),'run':_0xc017db=>this[_0x3b45fb(0x1c2)][_0x3b45fb(0x123)](_0xc017db),'commandState':(_0x54dfdc,_0x33ecb1)=>this[_0x3b45fb(0xfe)][_0x3b45fb(0x83)](_0x54dfdc,_0x33ecb1),'setCommandState':(_0x309bd5,_0x44d83b)=>this[_0x3b45fb(0xfe)][_0x3b45fb(0x1fa)](_0x309bd5,_0x44d83b),'clearCommandState':(_0x2361ae,_0x3c9448)=>this[_0x3b45fb(0xfe)][_0x3b45fb(0xe7)](_0x2361ae,_0x3c9448),'commandStates':_0x110a49=>this[_0x3b45fb(0xfe)][_0x3b45fb(0x1d5)](_0x110a49),'webSearch':(_0x1bb461,_0x19396e)=>this[_0x3b45fb(0x1b3)](_0x1bb461,_0x19396e)}),this[_0x3b45fb(0x190)]=new OpenCodeManagedRunController(this[_0x3b45fb(0x8f)],{'intercepted':()=>this[_0x3b45fb(0x14f)]!==undefined,'active':this[_0x3b45fb(0x1ec)][_0x3b45fb(0x120)],'parseAttachments':parseRunnerImageAttachments,'persistAttachments':(_0x25c68b,_0x4cf529,_0x55506e)=>this[_0x3b45fb(0x188)][_0x3b45fb(0xfa)](_0x25c68b,_0x4cf529+_0x3b45fb(0x162),_0x55506e),'emit':(_0x1f0866,_0x1c7106,_0x1f1df5,_0x395b38)=>this[_0x3b45fb(0x196)][_0x3b45fb(0xb8)](_0x1f0866,_0x1c7106,_0x1f1df5,_0x395b38),'emitItem':(_0x113878,_0x4cb673)=>this[_0x3b45fb(0x202)](_0x113878,_0x4cb673),'adopt':_0x387517=>this[_0x3b45fb(0x1c2)][_0x3b45fb(0x178)](_0x387517),'run':_0x54d4d4=>{const _0x4e430c=_0x3b45fb,_0x356a1d=this[_0x4e430c(0x1c2)][_0x4e430c(0x123)](_0x54d4d4);if(_0x356a1d===undefined)throw new Error(_0x4e430c(0xa3));return _0x356a1d;},'hasActiveSessionLease':_0x3e9793=>this[_0x3b45fb(0x1c2)][_0x3b45fb(0x95)](_0x3e9793),'promote':(_0x5878ed,_0x5ec6c1)=>this[_0x3b45fb(0x1a4)][_0x3b45fb(0x12a)](_0x5878ed,_0x5ec6c1),'rememberNative':(_0x4c52e7,_0x4e85bb)=>this[_0x3b45fb(0x1e3)][_0x3b45fb(0x1cc)](_0x4c52e7,_0x4e85bb),'send':(_0x366ef8,_0x3b9315)=>this[_0x3b45fb(0xf1)](_0x366ef8,_0x3b9315),'createApproval':_0x1c405e=>this[_0x3b45fb(0x1c2)][_0x3b45fb(0x93)](_0x1c405e),'expireApproval':_0x42dd1a=>{const _0x69c845=_0x3b45fb;this[_0x69c845(0x1c2)][_0x69c845(0x13f)](_0x42dd1a);},'publishApproval':_0x49e88a=>this[_0x3b45fb(0x196)][_0x3b45fb(0x10d)](_0x49e88a),'commandState':(_0x23d8ca,_0x2fc415)=>this[_0x3b45fb(0xfe)][_0x3b45fb(0x83)](_0x23d8ca,_0x2fc415),'setCommandState':(_0x4eed94,_0x58ba92)=>this[_0x3b45fb(0xfe)][_0x3b45fb(0x1fa)](_0x4eed94,_0x58ba92),'clearCommandState':(_0x11475a,_0x232942)=>this[_0x3b45fb(0xfe)][_0x3b45fb(0xe7)](_0x11475a,_0x232942),'commandStates':_0x3ec939=>this[_0x3b45fb(0xfe)][_0x3b45fb(0x1d5)](_0x3ec939)},this[_0x3b45fb(0x15f)]),this[_0x3b45fb(0x9e)]=new ClaudeManagedRunController(this[_0x3b45fb(0x88)],{'intercepted':()=>this[_0x3b45fb(0x14f)]!==undefined,'active':this[_0x3b45fb(0x1ec)][_0x3b45fb(0x120)],'parseAttachments':parseRunnerImageAttachments,'emit':(_0x22bd37,_0x568ce0,_0x34b4a3,_0x156031)=>this[_0x3b45fb(0x196)][_0x3b45fb(0xb8)](_0x22bd37,_0x568ce0,_0x34b4a3,_0x156031),'adopt':_0x59029a=>this[_0x3b45fb(0x1c2)][_0x3b45fb(0x178)](_0x59029a),'run':_0x4cf05d=>this[_0x3b45fb(0x1c2)][_0x3b45fb(0x123)](_0x4cf05d),'hasActiveSessionLease':_0x506e19=>this[_0x3b45fb(0x1c2)][_0x3b45fb(0x95)](_0x506e19),'session':_0x390e51=>this[_0x3b45fb(0x1c2)][_0x3b45fb(0x1de)](_0x390e51),'completeCancelled':_0x3c7aac=>this[_0x3b45fb(0x11f)][_0x3b45fb(0xf3)](_0x3c7aac),'requestUserInput':(_0x3a8d1a,_0x24df4d,_0x345eea)=>this[_0x3b45fb(0x11f)][_0x3b45fb(0x1c9)](_0x3a8d1a,_0x24df4d,_0x345eea),'requestApproval':(_0x145c5d,_0x16d2a6,_0x5e2604)=>this[_0x3b45fb(0x11f)][_0x3b45fb(0x16c)](_0x145c5d,_0x16d2a6,_0x5e2604),'rememberNative':(_0x5b6083,_0x348db5)=>this[_0x3b45fb(0x1e3)][_0x3b45fb(0x1cc)](_0x5b6083,_0x348db5),'promote':(_0x4448fd,_0x25be68)=>this[_0x3b45fb(0x1a4)][_0x3b45fb(0x12a)](_0x4448fd,_0x25be68),'send':(_0xcc6ee,_0x3fdeb0)=>this[_0x3b45fb(0xf1)](_0xcc6ee,_0x3fdeb0),'emitItem':(_0x150123,_0x350b3a)=>this[_0x3b45fb(0x202)](_0x150123,_0x350b3a),'syncTitle':(_0x45e747,_0x14d9b7,_0x17bbf2)=>this[_0x3b45fb(0x1e3)][_0x3b45fb(0x18e)](_0x45e747,_0x14d9b7,_0x17bbf2),'setChannelToken':(_0x4aed3a,_0x5875ab)=>this[_0x3b45fb(0x1c2)][_0x3b45fb(0x1b6)](_0x4aed3a,_0x5875ab),'commandState':(_0x1357e1,_0x733d4e)=>this[_0x3b45fb(0xfe)][_0x3b45fb(0x83)](_0x1357e1,_0x733d4e),'setCommandState':(_0x52769d,_0x2c8901)=>this[_0x3b45fb(0xfe)][_0x3b45fb(0x1fa)](_0x52769d,_0x2c8901),'clearCommandState':(_0x3fb0bc,_0x473961)=>this[_0x3b45fb(0xfe)][_0x3b45fb(0xe7)](_0x3fb0bc,_0x473961),'commandStates':_0x3f01cf=>this[_0x3b45fb(0xfe)][_0x3b45fb(0x1d5)](_0x3f01cf)}),this[_0x3b45fb(0x1cd)]=new RunnerRegistry([this[_0x3b45fb(0x8f)],this[_0x3b45fb(0x175)],this[_0x3b45fb(0x136)],this[_0x3b45fb(0x88)],...this[_0x3b45fb(0x14f)]===undefined?[]:[this[_0x3b45fb(0x14f)]]]),this[_0x3b45fb(0x1e3)]=new ManagedRunnerSessionService(this[_0x3b45fb(0x1c2)],this[_0x3b45fb(0x1cd)],_0x44f416=>this[_0x3b45fb(0x127)]({'session':this[_0x3b45fb(0x213)][_0x3b45fb(0xcf)](_0x44f416)})),this[_0x3b45fb(0x11f)]=new RunnerInteractionService({'runtime':this[_0x3b45fb(0x1c2)],'state':this[_0x3b45fb(0x1ec)],'codex':()=>this[_0x3b45fb(0x136)],'claude':()=>this[_0x3b45fb(0x88)],'runners':this[_0x3b45fb(0x1cd)],'emitRun':(_0x4ad2dc,_0x442a78,_0x3234b7,_0x59b66a)=>this[_0x3b45fb(0x196)][_0x3b45fb(0xb8)](_0x4ad2dc,_0x442a78,_0x3234b7,_0x59b66a),'emitItem':(_0x15f802,_0x28904)=>this[_0x3b45fb(0x202)](_0x15f802,_0x28904),'approvalTimeoutMs':this[_0x3b45fb(0x15f)],'publishApproval':_0x4e9c5b=>this[_0x3b45fb(0x196)][_0x3b45fb(0x10d)](_0x4e9c5b)}),this[_0x3b45fb(0x112)]=new RunnerChannelMessageService({'interactions':this[_0x3b45fb(0x11f)],'send':(_0x162c11,_0x39ec90,_0x558e5d)=>this[_0x3b45fb(0xf1)](_0x162c11,_0x39ec90,_0x558e5d)}),this[_0x3b45fb(0x213)]=new SessionPresentationService({'database':()=>this[_0x3b45fb(0x171)],'runtime':this[_0x3b45fb(0x1c2)],'commands':this[_0x3b45fb(0xfe)],'runners':this[_0x3b45fb(0x1cd)],'capabilities':()=>this[_0x3b45fb(0x106)],'hasManagedActiveRun':_0x235cf5=>hasManagedActiveRun(this[_0x3b45fb(0x1c2)],_0x235cf5),'externalActivity':_0x57bd34=>this[_0x3b45fb(0x1ac)][_0x3b45fb(0xe4)][_0x3b45fb(0x83)](_0x57bd34),'projectionForNative':_0x20cd4b=>this[_0x3b45fb(0x1f2)][_0x3b45fb(0x1e7)](_0x20cd4b)}),this[_0x3b45fb(0x1f2)]=new NativeSessionProjectionService({'database':()=>this[_0x3b45fb(0x171)],'nodeId':()=>this[_0x3b45fb(0xe1)]?.[_0x3b45fb(0x9d)]??_0x3b45fb(0x1ff),'runtime':this[_0x3b45fb(0x1c2)],'runners':this[_0x3b45fb(0x1cd)],'capabilities':()=>this[_0x3b45fb(0x106)],'state':this[_0x3b45fb(0x1ac)],'commands':this[_0x3b45fb(0xfe)],'present':_0x35aab6=>this[_0x3b45fb(0x213)][_0x3b45fb(0xcf)](_0x35aab6)}),this[_0x3b45fb(0x104)]=new ConversationHistoryService({'runtime':this[_0x3b45fb(0x1c2)],'runners':this[_0x3b45fb(0x1cd)],'capabilities':()=>this[_0x3b45fb(0x106)],'attachments':this[_0x3b45fb(0x188)],'snapshotSequence':()=>this[_0x3b45fb(0xd7)][_0x3b45fb(0x20d)](),'hasManagedActiveRun':_0x17f660=>hasManagedActiveRun(this[_0x3b45fb(0x1c2)],_0x17f660),'setExternalActivity':(_0x529dec,_0x191a4d)=>this[_0x3b45fb(0x1ac)][_0x3b45fb(0xe4)][_0x3b45fb(0x1fa)](_0x529dec,_0x191a4d)}),this[_0x3b45fb(0x14d)]=new ConversationSegmentService((_0x5c949,_0x2bffe5)=>this[_0x3b45fb(0x104)][_0x3b45fb(0x16f)](_0x5c949,_0x2bffe5)),this[_0x3b45fb(0xc2)]=new SessionContextService({'runners':this[_0x3b45fb(0x1cd)],'session':_0x50efbb=>this[_0x3b45fb(0x1c2)][_0x3b45fb(0x1de)](_0x50efbb),'stopped':()=>this[_0x3b45fb(0x17b)],'publish':_0x1f184d=>this[_0x3b45fb(0x127)](_0x1f184d)}),this[_0x3b45fb(0xe3)]=new RunWorkbenchService({'runtime':this[_0x3b45fb(0x1c2)],'readImage':async(_0x3d417f,_0x215e96)=>this[_0x3b45fb(0x188)][_0x3b45fb(0x16f)](_0x3d417f,_0x215e96)??await this[_0x3b45fb(0x188)][_0x3b45fb(0x13d)](_0x3d417f,_0x215e96),'respondUserInput':(_0x1fb4a3,_0x16efcf,_0xa671e8)=>this[_0x3b45fb(0x11f)][_0x3b45fb(0xb4)](_0x1fb4a3,_0x16efcf,_0xa671e8),'pauseQueue':_0x43a5f8=>this[_0x3b45fb(0x199)][_0x3b45fb(0x154)](_0x43a5f8),'emitRun':(_0x5e9c3c,_0x36f5b4,_0xbf5b9c,_0x41aed6)=>this[_0x3b45fb(0x196)][_0x3b45fb(0xb8)](_0x5e9c3c,_0x36f5b4,_0xbf5b9c,_0x41aed6),'control':(_0x5ba999,_0x34c2dd)=>this[_0x3b45fb(0x206)][_0x3b45fb(0x1ed)](JSON[_0x3b45fb(0x11a)](createEnvelope(_0x5ba999,_0x34c2dd))),'markInterrupted':_0x24468a=>this[_0x3b45fb(0x1ec)][_0x3b45fb(0x96)][_0x3b45fb(0xbf)](_0x24468a)}),this[_0x3b45fb(0x1fc)]=new SessionQueryService({'runtime':this[_0x3b45fb(0x1c2)],'runners':this[_0x3b45fb(0x1cd)],'resolve':_0x3038d2=>this[_0x3b45fb(0x1f2)][_0x3b45fb(0x1c5)](_0x3038d2),'present':_0x17f72f=>this[_0x3b45fb(0x213)][_0x3b45fb(0xcf)](_0x17f72f),'history':(_0x18089c,_0x3456cf)=>this[_0x3b45fb(0x104)][_0x3b45fb(0x16f)](_0x18089c,_0x3456cf),'segments':(_0x2ac0b5,_0x465d02)=>this[_0x3b45fb(0x14d)][_0x3b45fb(0x16f)](_0x2ac0b5,_0x465d02),'context':this[_0x3b45fb(0xc2)],'discover':(_0x482c17,_0x421c2d)=>this[_0x3b45fb(0x1f2)][_0x3b45fb(0xe9)](_0x482c17,_0x421c2d),'workspaceIdForCwd':_0x330fb7=>this[_0x3b45fb(0x171)]?.[_0x3b45fb(0x197)]()[_0x3b45fb(0xf5)](_0x34d52a=>_0x34d52a[_0x3b45fb(0xbe)]===_0x330fb7)?.['id']}),this[_0x3b45fb(0x1e2)]=new ContinuousRunCoordinator({'runtime':this[_0x3b45fb(0x1c2)],'emitQueue':(_0x49e6c6,_0x434b5c)=>this[_0x3b45fb(0x196)][_0x3b45fb(0x1bb)](_0x49e6c6,_0x434b5c),'clearImages':_0x5dd0da=>this[_0x3b45fb(0x188)][_0x3b45fb(0xe7)](_0x5dd0da),'cleanupAttachments':_0x51352b=>this[_0x3b45fb(0x188)][_0x3b45fb(0x163)](_0x51352b),'migrateAssets':(_0x22c45b,_0x593865)=>this[_0x3b45fb(0x188)][_0x3b45fb(0x85)](_0x22c45b,_0x593865),'emitRun':(_0x172f04,_0x23296d,_0x4853dc,_0x479317)=>this[_0x3b45fb(0x196)][_0x3b45fb(0xb8)](_0x172f04,_0x23296d,_0x4853dc,_0x479317),'emitConversation':_0x258ccd=>this[_0x3b45fb(0x1eb)](_0x258ccd),'control':(_0x4257db,_0x10719f)=>this[_0x3b45fb(0x206)][_0x3b45fb(0x1ed)](JSON[_0x3b45fb(0x11a)](createEnvelope(_0x4257db,_0x10719f))),'stopped':()=>this[_0x3b45fb(0x17b)],'markInterrupted':_0x1e6a5d=>this[_0x3b45fb(0x1ec)][_0x3b45fb(0x96)][_0x3b45fb(0xbf)](_0x1e6a5d),'mcps':_0x172773=>this[_0x3b45fb(0x171)]?.[_0x3b45fb(0x166)](_0x172773)??[],'afterExecutionStarted':async _0x24f3d7=>{const _0x501958=_0x3b45fb;if(_0x24f3d7[_0x501958(0xae)]===undefined)return;const _0x4c97ba=this[_0x501958(0x1a2)][_0x501958(0x83)](_0x24f3d7[_0x501958(0x11d)]);if(_0x4c97ba?.[_0x501958(0x12f)]!==_0x501958(0x120)||_0x4c97ba['id']!==_0x24f3d7[_0x501958(0xae)]['id']||_0x4c97ba[_0x501958(0x168)]!==_0x24f3d7[_0x501958(0xae)][_0x501958(0x168)])return;const _0x5dea9b=this[_0x501958(0x1a2)][_0x501958(0x146)](_0x24f3d7[_0x501958(0x11d)]),_0x1f0bd3=this[_0x501958(0x1c2)][_0x501958(0x1de)](_0x24f3d7[_0x501958(0x11d)]);if(_0x5dea9b!==undefined&&_0x1f0bd3!==undefined)this[_0x501958(0x164)](_0x1f0bd3,_0x5dea9b);await this[_0x501958(0x81)]({'sessionId':_0x24f3d7[_0x501958(0x11d)],'mission':{'id':_0x4c97ba['id'],'revision':_0x4c97ba[_0x501958(0x168)]},'secretEnvironment':_0x24f3d7[_0x501958(0xc6)],..._0x24f3d7[_0x501958(0x8b)]===undefined?{}:{'personalInstructions':_0x24f3d7[_0x501958(0x8b)]}});},'missionMcp':async _0x1f3ef6=>{const _0x1a7202=_0x3b45fb;if(_0x1f3ef6[_0x1a7202(0xae)]===undefined)throw new Error(_0x1a7202(0x1ce));const _0x638f0e=await this[_0x1a7202(0xf9)][_0x1a7202(0x194)]({'executionId':_0x1f3ef6[_0x1a7202(0x128)],'sessionId':_0x1f3ef6[_0x1a7202(0x11d)],'missionId':_0x1f3ef6[_0x1a7202(0xae)]['id'],'revision':_0x1f3ef6[_0x1a7202(0xae)][_0x1a7202(0x168)]});return{'installation':{'targetKind':_0x1a7202(0x16a),'targetId':_0x1f3ef6[_0x1a7202(0x92)],'catalogEntryId':_0x1a7202(0xec),'serverName':_0x1a7202(0x101),'displayName':_0x1a7202(0x1df),'version':_0x1a7202(0x181),'enabled':!![],'runtime':{'transport':_0x1a7202(0x15d),'url':_0x1a7202(0x18c),'headers':{}},'configuration':_0x638f0e[_0x1a7202(0x194)],'installedAt':Date[_0x1a7202(0x1f5)](),..._0x638f0e[_0x1a7202(0x194)]},'secrets':_0x638f0e[_0x1a7202(0x18d)]};}}),this[_0x3b45fb(0x199)]=new WorkspaceQueueWorkbenchService({'runtime':this[_0x3b45fb(0x1c2)],'coordinator':this[_0x3b45fb(0x1e2)],'emit':(_0x3fe79c,_0x14083b)=>this[_0x3b45fb(0x196)][_0x3b45fb(0x1bb)](_0x3fe79c,_0x14083b),'prepareInput':(_0x583edd,_0x1969ce,_0x5cd532)=>this[_0x3b45fb(0x1cd)][_0x3b45fb(0x135)](_0x583edd)[_0x3b45fb(0x1d6)](_0x1969ce,_0x5cd532)}),this[_0x3b45fb(0x1a4)]=new SessionIdentityService({'runtime':this[_0x3b45fb(0x1c2)],'persist':(_0x429d77,_0x24f766)=>{const _0x499554=_0x3b45fb;if(_0x429d77[_0x499554(0x1a8)]===null||_0x429d77[_0x499554(0x17c)]===null||_0x429d77[_0x499554(0x186)]===null)return;this[_0x499554(0x171)]?.[_0x499554(0xea)]({'runner':_0x429d77[_0x499554(0x91)],'externalSessionId':_0x24f766,'workspaceId':_0x429d77[_0x499554(0x92)],'model':_0x429d77[_0x499554(0x1a8)],'effort':_0x429d77[_0x499554(0x17c)],'access':_0x429d77[_0x499554(0x186)]});},'migrateCommands':(_0x5384ff,_0xc0e0bd)=>this[_0x3b45fb(0xfe)][_0x3b45fb(0x180)](_0x5384ff,_0xc0e0bd),'migrateMission':(_0x2029dc,_0x1ebbbd)=>{const _0x28017e=_0x3b45fb;this[_0x28017e(0x1a2)][_0x28017e(0x1e6)](_0x2029dc,_0x1ebbbd),this[_0x28017e(0xf9)][_0x28017e(0x1e6)](_0x2029dc,_0x1ebbbd);const _0x49e300=this[_0x28017e(0x138)][_0x28017e(0x83)](_0x2029dc);_0x49e300!==undefined&&(this[_0x28017e(0x138)][_0x28017e(0x97)](_0x2029dc),_0x49e300[_0x28017e(0x11d)]=_0x1ebbbd,this[_0x28017e(0x138)][_0x28017e(0x1fa)](_0x1ebbbd,_0x49e300));const _0x96080=this[_0x28017e(0x119)][_0x28017e(0x83)](_0x2029dc);_0x96080!==undefined&&(this[_0x28017e(0x119)][_0x28017e(0x97)](_0x2029dc),this[_0x28017e(0x119)][_0x28017e(0x1fa)](_0x1ebbbd,_0x96080));},'migrateQueue':(_0x5fe0a4,_0x5a1148)=>this[_0x3b45fb(0x1e2)][_0x3b45fb(0x1e6)](_0x5fe0a4,_0x5a1148),'migrateRunnerState':(_0x15b79b,_0x13904d)=>this[_0x3b45fb(0x196)][_0x3b45fb(0x1e8)](_0x15b79b,_0x13904d),'emitSession':_0x100b1e=>this[_0x3b45fb(0x127)]({'session':_0x100b1e}),'emitRun':_0x43dd86=>this[_0x3b45fb(0x150)](_0x3b45fb(0x115),{'run':_0x43dd86}),'emitQueue':_0x1d5914=>this[_0x3b45fb(0x1e2)][_0x3b45fb(0x8c)](_0x1d5914),'emitTurn':_0x58fd04=>this[_0x3b45fb(0x1eb)](_0x58fd04)}),this[_0x3b45fb(0x103)]=new SessionLifecycleService({'database':()=>{const _0x366a56=_0x3b45fb;if(this[_0x366a56(0x171)]===undefined)throw new Error(_0x366a56(0x20a));return this[_0x366a56(0x171)];},'runtime':this[_0x3b45fb(0x1c2)],'runners':this[_0x3b45fb(0x1cd)],'projection':this[_0x3b45fb(0x1f2)],'identity':this[_0x3b45fb(0x1a4)],'present':_0x46402c=>this[_0x3b45fb(0x213)][_0x3b45fb(0xcf)](_0x46402c),'emitSession':_0x5810bc=>this[_0x3b45fb(0x127)]({'session':this[_0x3b45fb(0x213)][_0x3b45fb(0xcf)](_0x5810bc)}),'execute':(_0x38fcbb,_0x225100)=>this[_0x3b45fb(0x142)](_0x38fcbb,_0x225100),'interceptedSessionId':_0x55406f=>this[_0x3b45fb(0x14f)]===undefined?undefined:_0x3b45fb(0x1f8)+_0x55406f}),this[_0x3b45fb(0xd4)]=new ExternalSessionResumeService({'runtime':this[_0x3b45fb(0x1c2)],'runners':this[_0x3b45fb(0x1cd)],'state':this[_0x3b45fb(0x1ac)],'available':_0xe55b4f=>this[_0x3b45fb(0x1cd)][_0x3b45fb(0x135)](_0xe55b4f)[_0x3b45fb(0xdb)](this[_0x3b45fb(0x106)]),'projectionFor':_0x18f78f=>this[_0x3b45fb(0x1f2)][_0x3b45fb(0x1e7)](_0x18f78f),'managedAliasFor':_0x26ece7=>this[_0x3b45fb(0x1f2)][_0x3b45fb(0x187)](_0x26ece7),'ensureConfiguration':_0x533086=>this[_0x3b45fb(0x1f2)][_0x3b45fb(0x9f)](_0x533086),'configuration':_0x4e1651=>this[_0x3b45fb(0x1f2)][_0x3b45fb(0x167)](_0x4e1651),'workspacePath':_0x550c0e=>this[_0x3b45fb(0x171)]?.[_0x3b45fb(0x1d1)](_0x550c0e)?.[_0x3b45fb(0xbe)],'rememberNative':(_0x3c30dd,_0x2876dd)=>this[_0x3b45fb(0x1e3)][_0x3b45fb(0x1cc)](_0x3c30dd,_0x2876dd),'stage':_0x3dd916=>{const _0x5c9d6d=_0x3b45fb,_0x344a56=this[_0x5c9d6d(0x1f2)][_0x5c9d6d(0x167)](_0x3dd916);return this[_0x5c9d6d(0x1c2)][_0x5c9d6d(0xa6)]({'workspaceId':_0x3dd916[_0x5c9d6d(0x92)],'runner':_0x3dd916[_0x5c9d6d(0x91)],'externalSessionId':_0x3dd916[_0x5c9d6d(0x1a3)]??_0x3dd916['id'],'nativeControl':_0x5c9d6d(0xb0),'cwd':_0x3dd916[_0x5c9d6d(0xcc)],'model':_0x344a56[_0x5c9d6d(0x1a8)],'effort':_0x344a56[_0x5c9d6d(0x17c)],'access':_0x344a56[_0x5c9d6d(0x186)],..._0x3dd916[_0x5c9d6d(0x18f)]===null?{}:{'title':_0x3dd916[_0x5c9d6d(0x18f)]}});},'resolve':_0xa63a3f=>this[_0x3b45fb(0x1f2)][_0x3b45fb(0x1c5)](_0xa63a3f)}),this[_0x3b45fb(0x11e)]=new SessionCommandService({'runtime':this[_0x3b45fb(0x1c2)],'runners':this[_0x3b45fb(0x1cd)],'projection':this[_0x3b45fb(0x1f2)],'resume':this[_0x3b45fb(0xd4)],'profiles':()=>this[_0x3b45fb(0x145)][_0x3b45fb(0x1ee)](),'present':_0x3f7af3=>this[_0x3b45fb(0x213)][_0x3b45fb(0xcf)](_0x3f7af3),'resumeQueueAfterCommandRun':_0x5ca065=>this[_0x3b45fb(0x199)][_0x3b45fb(0xcb)](_0x5ca065),'beginMission':_0x3e730e=>{const _0x374af8=_0x3b45fb,_0x48251d=this[_0x374af8(0xfe)][_0x374af8(0x83)](_0x3e730e['id'],_0x374af8(0xae));if(_0x48251d?.[_0x374af8(0x120)]===!![])return{'session':this[_0x374af8(0x213)][_0x374af8(0xcf)](_0x3e730e),'missionAlreadyActive':!![]};_0x48251d!==undefined&&(this[_0x374af8(0x1a2)][_0x374af8(0xe7)](_0x3e730e['id']),this[_0x374af8(0xfe)][_0x374af8(0xe7)](_0x3e730e['id'],_0x374af8(0xae)));const _0xa3eff1=this[_0x374af8(0x193)](_0x3e730e);return this[_0x374af8(0x1e2)][_0x374af8(0x8e)](_0x3e730e['id']),this[_0x374af8(0xfe)][_0x374af8(0x1fa)](_0x3e730e['id'],this[_0x374af8(0x1cb)]()),this[_0x374af8(0x150)](_0x374af8(0x19b),{'session':this[_0x374af8(0x213)][_0x374af8(0xcf)](_0xa3eff1[_0x374af8(0x19b)])}),{'session':this[_0x374af8(0x213)][_0x374af8(0xcf)](_0xa3eff1[_0x374af8(0x19b)]),'missionAccessChanged':_0xa3eff1[_0x374af8(0xba)]};},'mission':async({session:_0xc52fe6,objective:_0x18f5ad,secretEnvironment:_0x414917,personalInstructions:_0x194186})=>{const _0x4642bc=_0x3b45fb;this[_0x4642bc(0x1a7)](_0xc52fe6['id']);const _0x27acb8=this[_0x4642bc(0x193)](_0xc52fe6),_0x491249=_0x27acb8[_0x4642bc(0x19b)],_0x7c5501=this[_0x4642bc(0x1a2)][_0x4642bc(0x83)](_0xc52fe6['id'])?.[_0x4642bc(0x12f)]===_0x4642bc(0x120);this[_0x4642bc(0x1e2)][_0x4642bc(0x1f7)](_0xc52fe6['id']);const _0x249b0e=this[_0x4642bc(0x1a2)][_0x4642bc(0x1d9)](_0xc52fe6['id'],_0x18f5ad);this[_0x4642bc(0x164)](_0x491249,_0x249b0e);const _0x2fe870=await this[_0x4642bc(0x17e)][_0x4642bc(0x8a)]({'sessionId':_0xc52fe6['id'],'kind':_0x4642bc(0x1d9),'content':this[_0x4642bc(0x1a2)][_0x4642bc(0x212)](_0xc52fe6['id'],_0x4642bc(0x1d9)),'deliveryIntent':_0x7c5501?_0x4642bc(0x1d4):_0x4642bc(0x179),'mission':{'id':_0x249b0e['id'],'revision':_0x249b0e[_0x4642bc(0x168)]},'secretEnvironment':_0x414917,..._0x194186===undefined?{}:{'personalInstructions':_0x194186}});return{...isPlainRecord(_0x2fe870)?_0x2fe870:{'result':_0x2fe870},'missionAccessChanged':_0x27acb8[_0x4642bc(0xba)]};},'clearMission':_0x193ac1=>{const _0x548968=_0x3b45fb;return this[_0x548968(0x1a7)](_0x193ac1['id']),this[_0x548968(0x1a2)][_0x548968(0xe7)](_0x193ac1['id']),this[_0x548968(0x1e2)][_0x548968(0x1f7)](_0x193ac1['id']),this[_0x548968(0xed)](_0x193ac1['id'],_0x548968(0x1c8)),this[_0x548968(0xfe)][_0x548968(0xe7)](_0x193ac1['id'],_0x548968(0xae)),this[_0x548968(0x150)](_0x548968(0x19b),{'session':this[_0x548968(0x213)][_0x548968(0xcf)](_0x193ac1)}),{'session':this[_0x548968(0x213)][_0x548968(0xcf)](_0x193ac1),'cleared':!![]};}}),this[_0x3b45fb(0x17e)]=new SessionMessageService({'runtime':this[_0x3b45fb(0x1c2)],'uploads':this[_0x3b45fb(0x1ba)],'attachments':this[_0x3b45fb(0x188)],'commands':this[_0x3b45fb(0xfe)],'coordinator':this[_0x3b45fb(0x1e2)],'runners':this[_0x3b45fb(0x1cd)],'resolve':_0x5ab753=>this[_0x3b45fb(0xd4)][_0x3b45fb(0x177)](_0x5ab753),'present':_0x5647ad=>this[_0x3b45fb(0x213)][_0x3b45fb(0xcf)](_0x5647ad),'emitSession':_0x1c5ef3=>this[_0x3b45fb(0x127)]({'session':this[_0x3b45fb(0x213)][_0x3b45fb(0xcf)](_0x1c5ef3)}),'channelToken':_0x5d3110=>{const _0x33fc08=_0x3b45fb,_0x2d80c0=this[_0x33fc08(0x1c2)][_0x33fc08(0x1de)](_0x5d3110);return _0x2d80c0?.[_0x33fc08(0x111)]??undefined;},'missionMessage':(_0x819c0e,_0x3d4848)=>{const _0x1a358e=_0x3b45fb,_0x5a5511=this[_0x1a358e(0xfe)][_0x1a358e(0x83)](_0x819c0e['id'],_0x1a358e(0xae));if(_0x5a5511?.[_0x1a358e(0x120)]!==!![])return undefined;const _0x25e8fc=this[_0x1a358e(0x1a2)][_0x1a358e(0x83)](_0x819c0e['id']);if(_0x25e8fc?.[_0x1a358e(0x12f)]===_0x1a358e(0x120))return{'runnerContent':_0x3d4848,'mission':{'id':_0x25e8fc['id'],'revision':_0x25e8fc[_0x1a358e(0x168)]},'activated':![]};const _0x5977f4=this[_0x1a358e(0x1a2)][_0x1a358e(0x1d9)](_0x819c0e['id'],_0x3d4848);return this[_0x1a358e(0x164)](_0x819c0e,_0x5977f4),{'runnerContent':this[_0x1a358e(0x1a2)][_0x1a358e(0x212)](_0x819c0e['id'],_0x1a358e(0x1d9)),'mission':{'id':_0x5977f4['id'],'revision':_0x5977f4[_0x1a358e(0x168)]},'activated':!![]};},'prepareMissionInsertion':(_0x510ba8,_0xf4aa26)=>this[_0x3b45fb(0x1e2)][_0x3b45fb(0x8e)](_0x510ba8,_0xf4aa26),'missionPreparationFailed':(_0x57dffa,_0x1593d3,_0x562fe6)=>{const _0x3e1c56=_0x3b45fb;if(!_0x562fe6)return;const _0x4f5391=this[_0x3e1c56(0x1a2)][_0x3e1c56(0x83)](_0x57dffa['id']);if(_0x4f5391?.['id']!==_0x1593d3['id']||_0x4f5391[_0x3e1c56(0x168)]!==_0x1593d3[_0x3e1c56(0x168)])return;this[_0x3e1c56(0x1a2)][_0x3e1c56(0xe7)](_0x57dffa['id']),this[_0x3e1c56(0xed)](_0x57dffa['id'],_0x3e1c56(0x14b)),this[_0x3e1c56(0xfe)][_0x3e1c56(0x1fa)](_0x57dffa['id'],this[_0x3e1c56(0x1cb)]()),this[_0x3e1c56(0x150)](_0x3e1c56(0x19b),{'session':this[_0x3e1c56(0x213)][_0x3e1c56(0xcf)](_0x57dffa)});}}),this[_0x3b45fb(0x195)]=new SessionCatalogService({'database':()=>{const _0x4f635e=_0x3b45fb;if(this[_0x4f635e(0x171)]===undefined)throw new Error(_0x4f635e(0x20a));return this[_0x4f635e(0x171)];},'nodeId':()=>this[_0x3b45fb(0xe1)]?.[_0x3b45fb(0x9d)]??_0x3b45fb(0x1ff),'runtime':this[_0x3b45fb(0x1c2)],'runners':this[_0x3b45fb(0x1cd)],'projection':this[_0x3b45fb(0x1f2)],'resume':this[_0x3b45fb(0xd4)],'cachedNative':()=>[...this[_0x3b45fb(0x1ac)][_0x3b45fb(0xa0)][_0x3b45fb(0xfb)]()],'cachedWorkspace':_0x521712=>this[_0x3b45fb(0x143)][_0x3b45fb(0x173)](_0x521712),'present':_0x2115e1=>this[_0x3b45fb(0x213)][_0x3b45fb(0xcf)](_0x2115e1),'projectionForNative':_0x4fa150=>this[_0x3b45fb(0x1f2)][_0x3b45fb(0x1e7)](_0x4fa150),'nativeIds':_0x9a41ea=>this[_0x3b45fb(0x1f2)][_0x3b45fb(0x1b0)](_0x9a41ea),'forget':(_0x467be4,_0x2e0860)=>this[_0x3b45fb(0x1f2)][_0x3b45fb(0xbd)](_0x467be4,_0x2e0860),'refreshActivity':_0x352035=>this[_0x3b45fb(0x104)][_0x3b45fb(0x1d8)](_0x352035),'externalActivity':_0x5d345a=>this[_0x3b45fb(0x1ac)][_0x3b45fb(0xe4)][_0x3b45fb(0x83)](_0x5d345a),'history':(_0x48f505,_0x4d07e7)=>this[_0x3b45fb(0x104)][_0x3b45fb(0x16f)](_0x48f505,_0x4d07e7),'emitSession':_0x440c51=>this[_0x3b45fb(0x127)]({'session':this[_0x3b45fb(0x213)][_0x3b45fb(0xcf)](_0x440c51)})}),this[_0x3b45fb(0x136)][_0x3b45fb(0x1cf)]({'start':_0x14950b=>this[_0x3b45fb(0x87)][_0x3b45fb(0x1d9)](_0x14950b),'cancel':(_0x315aa7,_0x3952fc)=>{const _0xa63056=_0x3b45fb,_0x6e7811=this[_0xa63056(0x136)][_0xa63056(0xcd)][_0xa63056(0x1b7)][_0xa63056(0x83)](_0x315aa7);if(_0x6e7811?.[_0xa63056(0x10f)]===undefined)return![];return void this[_0xa63056(0x11f)][_0xa63056(0x99)](_0x315aa7,_0x6e7811[_0xa63056(0xe0)],_0x6e7811[_0xa63056(0x10f)],_0x6e7811[_0xa63056(0xcc)],_0x3952fc===_0xa63056(0xf0)?_0xa63056(0x124):_0xa63056(0x205)),!![];},'decideApproval':_0x5a23b4=>this[_0x3b45fb(0x11f)][_0x3b45fb(0x1e4)](_0x5a23b4[_0x3b45fb(0x17f)],_0x5a23b4[_0x3b45fb(0xb5)])}),this[_0x3b45fb(0x88)][_0x3b45fb(0x1cf)]({'start':_0x381e88=>this[_0x3b45fb(0x9e)][_0x3b45fb(0x1d9)](_0x381e88),'cancel':(_0xf41180,_0x235e1c)=>this[_0x3b45fb(0x11f)][_0x3b45fb(0x1da)](_0xf41180,_0x235e1c),'decideApproval':_0x58b7c2=>this[_0x3b45fb(0x11f)][_0x3b45fb(0xd9)](_0x58b7c2[_0x3b45fb(0x17f)],_0x58b7c2[_0x3b45fb(0xb5)])}),this[_0x3b45fb(0x8f)][_0x3b45fb(0x1cf)]({'start':_0x154b48=>this[_0x3b45fb(0x190)][_0x3b45fb(0x1d9)](_0x154b48),'cancel':(_0x6bb3d9,_0x2e20bb)=>this[_0x3b45fb(0x190)][_0x3b45fb(0x19a)](_0x6bb3d9,_0x2e20bb),'decideApproval':_0x6818fd=>this[_0x3b45fb(0x190)][_0x3b45fb(0x1ef)](_0x6818fd),'respondUserInput':(_0x4fa84c,_0xd7b48e,_0x53e5e9)=>this[_0x3b45fb(0x190)][_0x3b45fb(0xb4)](_0x4fa84c,_0xd7b48e,_0x53e5e9)}),this[_0x3b45fb(0x175)][_0x3b45fb(0x1cf)]({'start':_0x1c8e57=>this[_0x3b45fb(0x152)][_0x3b45fb(0x1d9)](_0x1c8e57),'cancel':(_0x53df92,_0x24ceba)=>this[_0x3b45fb(0x152)][_0x3b45fb(0x19a)](_0x53df92,_0x24ceba),'decideApproval':_0x49e302=>this[_0x3b45fb(0x152)][_0x3b45fb(0x1ef)](_0x49e302),'respondUserInput':(_0x260388,_0xdefc65,_0x521e43)=>this[_0x3b45fb(0x152)][_0x3b45fb(0xb4)](_0x260388,_0xdefc65,_0x521e43)}),this[_0x3b45fb(0x136)][_0x3b45fb(0x15e)]({'execute':(_0x40dba7,_0x440724,_0x3fee47,_0x567174)=>this[_0x3b45fb(0x87)][_0x3b45fb(0x1fd)](_0x40dba7,_0x440724,_0x3fee47,_0x567174)}),this[_0x3b45fb(0x88)][_0x3b45fb(0x15e)]({'execute':(_0x431bc8,_0xb2da6f,_0x449612,_0x521990)=>this[_0x3b45fb(0x9e)][_0x3b45fb(0x1fd)](_0x431bc8,_0xb2da6f,_0x449612,_0x521990)}),this[_0x3b45fb(0x8f)][_0x3b45fb(0x15e)]({'execute':(_0x409d85,_0x2f72c0,_0x1cc3f6,_0x18e0f8)=>this[_0x3b45fb(0x190)][_0x3b45fb(0x1fd)](_0x409d85,_0x2f72c0,_0x18e0f8)}),this[_0x3b45fb(0x175)][_0x3b45fb(0x15e)]({'execute':(_0x1f85ec,_0x473769,_0x3c78e8,_0x5a2c56)=>this[_0x3b45fb(0x152)][_0x3b45fb(0x1fd)](_0x1f85ec,_0x473769,_0x3c78e8,_0x5a2c56)});const _0x33851a=this[_0x3b45fb(0x14f)]===undefined||this[_0x3b45fb(0x1c7)]===undefined?undefined:new FakeManagedRunService({'runner':this[_0x3b45fb(0x14f)],'script':this[_0x3b45fb(0x1c7)],'runners':this[_0x3b45fb(0x1cd)],'runtime':this[_0x3b45fb(0x1c2)],'state':this[_0x3b45fb(0x1ec)],'emitRun':(_0x3f0c33,_0x5eb2b3,_0xd4e9ba,_0x59b1af)=>this[_0x3b45fb(0x196)][_0x3b45fb(0xb8)](_0x3f0c33,_0x5eb2b3,_0xd4e9ba,_0x59b1af),'publishApproval':_0x11ec37=>this[_0x3b45fb(0x196)][_0x3b45fb(0x10d)](_0x11ec37),'disconnect':()=>this[_0x3b45fb(0xdc)][_0x3b45fb(0x137)](0x7*-0x199+-0xc5*0x4+0x2f*0xa3,_0x3b45fb(0x139))});this[_0x3b45fb(0x14f)]?.[_0x3b45fb(0x1cf)]({'start':_0x309b38=>_0x33851a?.[_0x3b45fb(0x1d9)](_0x309b38),'cancel':(_0x18e261,_0x1dfba4)=>_0x1dfba4===_0x3b45fb(0xf0)?this[_0x3b45fb(0x14f)]?.[_0x3b45fb(0x19a)](_0x18e261)??![]:this[_0x3b45fb(0x14f)]?.[_0x3b45fb(0xf6)](_0x18e261)??![],'decideApproval':_0x250ccd=>this[_0x3b45fb(0x14f)]?.[_0x3b45fb(0xb6)](_0x250ccd[_0x3b45fb(0x128)],_0x250ccd[_0x3b45fb(0x17f)],_0x250ccd[_0x3b45fb(0xb5)])??![]}),this[_0x3b45fb(0x86)]=_0x1949b9[_0x3b45fb(0x86)]??new RunnerUsageReader(),this[_0x3b45fb(0x171)]=_0x1949b9[_0x3b45fb(0x171)],this[_0x3b45fb(0x121)]=_0x1949b9[_0x3b45fb(0x121)]??new TerminalManager({'platform':this[_0x3b45fb(0x106)][_0x3b45fb(0x17d)]===_0x3b45fb(0xf2)?_0x3b45fb(0x1e9):_0x3b45fb(0xac)}),this[_0x3b45fb(0x121)][_0x3b45fb(0x10a)](_0x211212=>this[_0x3b45fb(0x143)][_0x3b45fb(0xa8)](_0x211212)),this[_0x3b45fb(0x16e)]=new NodeTerminalChannel({'config':()=>this[_0x3b45fb(0xe1)],'controlConnected':()=>this[_0x3b45fb(0xdc)][_0x3b45fb(0x9b)](),'stopped':()=>this[_0x3b45fb(0x17b)],'reconnect':this[_0x3b45fb(0x133)],'reconnectDelay':nextReconnectDelay,'manager':this[_0x3b45fb(0x121)]}),this[_0x3b45fb(0xdc)]=new NodeControlChannel({'config':()=>this[_0x3b45fb(0xe1)],'capabilities':()=>this[_0x3b45fb(0x106)],'stopped':()=>this[_0x3b45fb(0x17b)],'reconnect':this[_0x3b45fb(0x133)],'reconnectDelay':nextReconnectDelay,'onConnecting':_0x565049=>{const _0x43c1ef=_0x3b45fb;this[_0x43c1ef(0x117)][_0x43c1ef(0x1f6)](),nodeLog(_0x43c1ef(0x108),{'attempt':_0x565049});},'onReconnectScheduled':()=>this[_0x3b45fb(0x117)][_0x3b45fb(0x20f)](),'onMessage':_0x51dcd6=>this[_0x3b45fb(0xce)](_0x51dcd6),'onClose':(_0x5360f2,_0x3e2d67)=>{const _0x1a994f=_0x3b45fb;this[_0x1a994f(0x16e)][_0x1a994f(0x1a0)]();if(_0x5360f2===0x130a+0x1*0x18bc+0xe13*-0x2&&_0x3e2d67===_0x1a994f(0x18b))nodeLog(_0x1a994f(0xab),{'message':_0x1a994f(0x148)});if(_0x5360f2===0x1*-0x20db+0x9fa+-0x2*-0x1342||_0x5360f2===-0x10d0+-0x683+0x1b3c)void this[_0x1a994f(0x121)][_0x1a994f(0x1d0)]();}}),this[_0x3b45fb(0x206)]=new NodeControlMessageService({'config':()=>this[_0x3b45fb(0xe1)],'register':(_0x596dc9,_0x36bb62)=>this[_0x3b45fb(0xd5)][_0x3b45fb(0x1d2)](_0x596dc9,_0x36bb62),'connected':()=>this[_0x3b45fb(0xd5)][_0x3b45fb(0x9b)](),'close':(_0x585cca,_0xb88eec)=>this[_0x3b45fb(0xdc)][_0x3b45fb(0x137)](_0x585cca,_0xb88eec),'inspectWorkspace':_0x1bf1a1=>this[_0x3b45fb(0x143)][_0x3b45fb(0xa5)](_0x1bf1a1),'handleNodeRequest':_0xe8ff87=>this[_0x3b45fb(0x1b9)][_0x3b45fb(0x1ed)](_0xe8ff87),'reconcileRuns':_0x1fc1fe=>this[_0x3b45fb(0x196)][_0x3b45fb(0x20b)](_0x1fc1fe),'runners':this[_0x3b45fb(0x1cd)],'deliverSessionChannelMessage':_0x404b29=>this[_0x3b45fb(0x112)][_0x3b45fb(0x1ed)](_0x404b29),'completeUncontrolledCancellation':_0xb60d3f=>{const _0x51608a=_0x3b45fb,_0x4c4579=this[_0x51608a(0x1c2)][_0x51608a(0x123)](_0xb60d3f);if(_0x4c4579?.[_0x51608a(0x12f)]===_0x51608a(0x19e))this[_0x51608a(0x11f)][_0x51608a(0xf3)](_0xb60d3f);},'send':(_0x41b673,_0x50cf9a,_0x1cb2c2)=>this[_0x3b45fb(0xf1)](_0x41b673,_0x50cf9a,_0x1cb2c2)}),this[_0x3b45fb(0x1b9)]=new NodeRequestService({'nodeId':()=>this[_0x3b45fb(0xe1)]?.[_0x3b45fb(0x9d)],'databaseAvailable':()=>this[_0x3b45fb(0x171)]!==undefined,'execute':(_0xa9ad38,_0x38f7e3)=>this[_0x3b45fb(0x142)](_0xa9ad38,_0x38f7e3),'send':(_0x4d76d5,_0xc267db,_0x199f06)=>this[_0x3b45fb(0xf1)](_0x4d76d5,_0xc267db,_0x199f06)}),this[_0x3b45fb(0x143)]=new NodeWorkspaceCoordinator({'config':()=>this[_0x3b45fb(0xe1)],'database':()=>this[_0x3b45fb(0x171)],'watches':this[_0x3b45fb(0x182)],'sessions':this[_0x3b45fb(0xe5)],'changes':this[_0x3b45fb(0xb9)],'emit':(_0xb7bfbd,_0x535fa7)=>void this[_0x3b45fb(0xa9)]?.[_0x3b45fb(0xbc)](_0xb7bfbd,_0x535fa7),'send':(_0x336004,_0x1af249,_0x50f703)=>this[_0x3b45fb(0xf1)](_0x336004,_0x1af249,_0x50f703)}),this[_0x3b45fb(0x196)]=new NodeRunEventBridge({'runtime':this[_0x3b45fb(0x1c2)],'state':this[_0x3b45fb(0x1ec)],'events':this[_0x3b45fb(0x1c4)],'emitWorkbench':(_0x5159d2,_0x1f9bc6)=>this[_0x3b45fb(0x10b)](_0x5159d2,_0x1f9bc6),'queues':this[_0x3b45fb(0x199)],'codex':this[_0x3b45fb(0x136)],'claude':this[_0x3b45fb(0x88)],'openCode':this[_0x3b45fb(0x8f)],'send':(_0x230f0d,_0x2066c5,_0x2f329a)=>this[_0x3b45fb(0xf1)](_0x230f0d,_0x2066c5,_0x2f329a)}),this[_0x3b45fb(0xd5)]=new NodeConnectionLifecycleService({'config':()=>this[_0x3b45fb(0xe1)],'setConfig':_0x3373e1=>this[_0x3b45fb(0xe1)]=_0x3373e1,'configPath':this[_0x3b45fb(0x110)],'capabilities':()=>this[_0x3b45fb(0x106)],'detectCapabilities':this[_0x3b45fb(0x14a)],'capabilitiesProvided':this[_0x3b45fb(0x16b)],'stopped':()=>this[_0x3b45fb(0x17b)],'setCapabilities':_0x49309f=>this[_0x3b45fb(0x106)]={..._0x49309f,'metadata':upgradeMetadata(_0x49309f[_0x3b45fb(0x172)],this[_0x3b45fb(0x144)][_0x3b45fb(0xa1)]())},'control':this[_0x3b45fb(0xdc)],'terminal':this[_0x3b45fb(0x16e)],'metrics':this[_0x3b45fb(0x117)],'heartbeatMs':HEARTBEAT_MS,'refreshMs':CAPABILITY_REFRESH_MS,'onConnected':()=>this[_0x3b45fb(0x109)][_0x3b45fb(0x176)]()});const _0x212bee=()=>{const _0x180840=_0x3b45fb;if(this[_0x180840(0x171)]===undefined)throw new Error(_0x180840(0x20a));return this[_0x180840(0x171)];};this[_0x3b45fb(0x145)]=new RunnerService(_0x212bee,()=>this[_0x3b45fb(0x106)],this[_0x3b45fb(0x1cd)],this[_0x3b45fb(0x86)]),this[_0x3b45fb(0x192)]=new WorkbenchManifestService({'capabilities':()=>this[_0x3b45fb(0x106)],'runners':this[_0x3b45fb(0x145)],'terminals':this[_0x3b45fb(0x121)]}),this[_0x3b45fb(0xa4)]=new TerminalService(_0x212bee,this[_0x3b45fb(0x121)]),this[_0x3b45fb(0x7e)]=new WorkspaceService(_0x212bee,()=>{const _0x27f3f2=_0x3b45fb;if(this[_0x27f3f2(0xe1)]===undefined)throw new Error(_0x27f3f2(0xd3));return this[_0x27f3f2(0xe1)];},this[_0x3b45fb(0x1c2)],_0x2195ff=>{const _0x107bb2=_0x3b45fb;this[_0x107bb2(0x174)][_0x107bb2(0x157)](_0x2195ff),this[_0x107bb2(0x143)][_0x107bb2(0x125)](_0x2195ff),this[_0x107bb2(0xe5)][_0x107bb2(0xe2)](_0x2195ff),this[_0x107bb2(0x143)][_0x107bb2(0x149)](_0x2195ff);}),this[_0x3b45fb(0xa9)]=new WorkspaceWorkbenchService({'requireWorkspace':_0x4c4099=>this[_0x3b45fb(0x143)][_0x3b45fb(0x135)](_0x4c4099),'watch':this[_0x3b45fb(0x182)],'files':this[_0x3b45fb(0x174)],'uploads':this[_0x3b45fb(0x1ba)],'changes':this[_0x3b45fb(0xb9)],'listSessions':_0x171080=>this[_0x3b45fb(0x142)](_0x3b45fb(0x114),{'workspaceId':_0x171080,'limit':0x14}),'invalidate':_0x4960ad=>this[_0x3b45fb(0x143)][_0x3b45fb(0xe2)](_0x4960ad),'nodeId':()=>this[_0x3b45fb(0xe1)]?.[_0x3b45fb(0x9d)]??_0x3b45fb(0xc7),'nodeGeneration':()=>this[_0x3b45fb(0xee)],'emitWatchEvent':_0x42a383=>this[_0x3b45fb(0xf1)](_0x3b45fb(0xe6),_0x42a383)}),this[_0x3b45fb(0x201)][_0x3b45fb(0xd2)](this[_0x3b45fb(0x145)][_0x3b45fb(0x118)]()),this[_0x3b45fb(0x201)][_0x3b45fb(0xd2)](this[_0x3b45fb(0xa4)][_0x3b45fb(0x118)]()),this[_0x3b45fb(0x201)][_0x3b45fb(0xd2)](this[_0x3b45fb(0x7e)][_0x3b45fb(0x118)]()),this[_0x3b45fb(0x201)][_0x3b45fb(0xd2)](this[_0x3b45fb(0xa9)][_0x3b45fb(0x118)]()),this[_0x3b45fb(0x201)][_0x3b45fb(0xd2)](this[_0x3b45fb(0xe3)][_0x3b45fb(0x118)]()),this[_0x3b45fb(0x201)][_0x3b45fb(0xd2)](this[_0x3b45fb(0x12b)][_0x3b45fb(0x118)]()),this[_0x3b45fb(0x201)][_0x3b45fb(0xd2)](this[_0x3b45fb(0x1fc)][_0x3b45fb(0x118)]()),this[_0x3b45fb(0x201)][_0x3b45fb(0xd2)](this[_0x3b45fb(0x103)][_0x3b45fb(0x118)]()),this[_0x3b45fb(0x201)][_0x3b45fb(0xd2)](this[_0x3b45fb(0x17e)][_0x3b45fb(0x118)]()),this[_0x3b45fb(0x201)][_0x3b45fb(0xd2)](this[_0x3b45fb(0x195)][_0x3b45fb(0x118)]()),this[_0x3b45fb(0x201)][_0x3b45fb(0xd2)](this[_0x3b45fb(0x11e)][_0x3b45fb(0x118)]()),this[_0x3b45fb(0x201)][_0x3b45fb(0xd2)](this[_0x3b45fb(0x199)][_0x3b45fb(0x118)]()),this[_0x3b45fb(0x201)][_0x3b45fb(0xd2)](new SkillNodeOperationService(_0x212bee,()=>{const _0x36033b=_0x3b45fb;if(this[_0x36033b(0xe1)]===undefined)throw new Error(_0x36033b(0xd3));return this[_0x36033b(0xe1)];})[_0x3b45fb(0x118)]()),this[_0x3b45fb(0x201)][_0x3b45fb(0xd2)](new McpNodeOperationService(_0x212bee)[_0x3b45fb(0x118)]()),this[_0x3b45fb(0x201)][_0x3b45fb(0x1d2)](_0x3b45fb(0x13e),()=>({'metrics':{...this[_0x3b45fb(0x117)][_0x3b45fb(0xa1)](),'activeRuns':this[_0x3b45fb(0x1ec)][_0x3b45fb(0x120)][_0x3b45fb(0x94)],'workspaceLeases':this[_0x3b45fb(0x1c2)][_0x3b45fb(0x1af)]()}})),this[_0x3b45fb(0x201)][_0x3b45fb(0x1d2)](_0x3b45fb(0x165),_0x5ca018=>this[_0x3b45fb(0x144)][_0x3b45fb(0x207)](_0x5ca018)),this[_0x3b45fb(0x201)][_0x3b45fb(0x1d2)](_0x3b45fb(0x1f3),()=>this[_0x3b45fb(0x144)][_0x3b45fb(0x19a)]()),this[_0x3b45fb(0x201)][_0x3b45fb(0x1d2)](_0x3b45fb(0x198),async()=>({'manifest':await this[_0x3b45fb(0x192)][_0x3b45fb(0x16f)]()}));}async[_0x50c5b1(0x1d9)](){const _0x331d63=_0x50c5b1;this[_0x331d63(0x17b)]=![],this[_0x331d63(0xe1)]??=await loadNodeConfig(this[_0x331d63(0x110)]),await this[_0x331d63(0x144)][_0x331d63(0x155)](resolve(dirname(nodeDatabasePath(this[_0x331d63(0xe1)],this[_0x331d63(0x110)])),_0x331d63(0x191))),await assertLocalSqlitePath(nodeDatabasePath(this[_0x331d63(0xe1)],this[_0x331d63(0x110)])),this[_0x331d63(0x171)]??=new NodeDatabase(nodeDatabasePath(this[_0x331d63(0xe1)],this[_0x331d63(0x110)]),()=>this[_0x331d63(0xe1)]?.[_0x331d63(0x9d)]??_0x331d63(0xda)),this[_0x331d63(0x171)][_0x331d63(0x16d)](),this[_0x331d63(0xd5)][_0x331d63(0x1d9)](),this[_0x331d63(0xdc)][_0x331d63(0x84)]();}[_0x50c5b1(0x1a7)](_0x3293c5){const _0x2c7af0=_0x50c5b1,_0x56783b=this[_0x2c7af0(0x138)][_0x2c7af0(0x83)](_0x3293c5);if(_0x56783b!==undefined)clearTimeout(_0x56783b[_0x2c7af0(0x189)]);this[_0x2c7af0(0x138)][_0x2c7af0(0x97)](_0x3293c5),this[_0x2c7af0(0x119)][_0x2c7af0(0x97)](_0x3293c5);}async[_0x50c5b1(0x81)](_0x2b7049){const _0x2978b1=_0x50c5b1,_0x39494c=_0x2b7049[_0x2978b1(0xae)]['id']+':'+_0x2b7049[_0x2978b1(0xae)][_0x2978b1(0x168)];this[_0x2978b1(0x119)][_0x2978b1(0x1fa)](_0x2b7049[_0x2978b1(0x11d)],_0x39494c);try{await this[_0x2978b1(0x17e)][_0x2978b1(0x8a)]({'sessionId':_0x2b7049[_0x2978b1(0x11d)],'kind':_0x2978b1(0x1a9),'content':this[_0x2978b1(0x1a2)][_0x2978b1(0x212)](_0x2b7049[_0x2978b1(0x11d)],_0x2978b1(0x1a9)),'deliveryIntent':_0x2978b1(0xb3),'mission':_0x2b7049[_0x2978b1(0xae)],'secretEnvironment':_0x2b7049[_0x2978b1(0xc6)],..._0x2b7049[_0x2978b1(0x8b)]===undefined?{}:{'personalInstructions':_0x2b7049[_0x2978b1(0x8b)]}});const _0x37610c=this[_0x2978b1(0x1a2)][_0x2978b1(0x83)](_0x2b7049[_0x2978b1(0x11d)]);if(_0x37610c?.[_0x2978b1(0x12f)]!==_0x2978b1(0x120)||_0x37610c['id']!==_0x2b7049[_0x2978b1(0xae)]['id']||_0x37610c[_0x2978b1(0x168)]!==_0x2b7049[_0x2978b1(0xae)][_0x2978b1(0x168)]){if(this[_0x2978b1(0x119)][_0x2978b1(0x83)](_0x2b7049[_0x2978b1(0x11d)])===_0x39494c)this[_0x2978b1(0x119)][_0x2978b1(0x97)](_0x2b7049[_0x2978b1(0x11d)]);return;}this[_0x2978b1(0x1a7)](_0x2b7049[_0x2978b1(0x11d)]);}catch{const _0x42d1f6=this[_0x2978b1(0x1a2)][_0x2978b1(0x83)](_0x2b7049[_0x2978b1(0x11d)]);if(_0x42d1f6?.[_0x2978b1(0x12f)]!==_0x2978b1(0x120)||_0x42d1f6['id']!==_0x2b7049[_0x2978b1(0xae)]['id']||_0x42d1f6[_0x2978b1(0x168)]!==_0x2b7049[_0x2978b1(0xae)][_0x2978b1(0x168)]){if(this[_0x2978b1(0x119)][_0x2978b1(0x83)](_0x2b7049[_0x2978b1(0x11d)])===_0x39494c)this[_0x2978b1(0x119)][_0x2978b1(0x97)](_0x2b7049[_0x2978b1(0x11d)]);return;}const _0x39e768=(_0x2b7049[_0x2978b1(0x1fb)]??0x1*-0x23b4+-0x2254+0x8*0x8c1)+(0xc*-0x49+-0x18b4+0x1c21),_0x3a9a4a=this[_0x2978b1(0x1c2)][_0x2978b1(0x1de)](_0x2b7049[_0x2978b1(0x11d)]);if(_0x39e768>0x14*-0xb+-0x5bd*-0x1+-0xb2*0x7||_0x3a9a4a===undefined){this[_0x2978b1(0x1a7)](_0x2b7049[_0x2978b1(0x11d)]);if(_0x39e768>-0xd*0xda+-0x1ff0+0x3*0xe57){const _0x951a6b=this[_0x2978b1(0x1a2)][_0x2978b1(0x134)](_0x2b7049[_0x2978b1(0x11d)],_0x2b7049[_0x2978b1(0xae)]['id'],_0x2b7049[_0x2978b1(0xae)][_0x2978b1(0x168)]);this[_0x2978b1(0x1e2)][_0x2978b1(0x1f7)](_0x2b7049[_0x2978b1(0x11d)]),this[_0x2978b1(0xed)](_0x2b7049[_0x2978b1(0x11d)],_0x2978b1(0x14b));if(_0x3a9a4a!==undefined)this[_0x2978b1(0x164)](_0x3a9a4a,_0x951a6b);}return;}this[_0x2978b1(0x1a7)](_0x2b7049[_0x2978b1(0x11d)]);const _0x31b17f={'sessionId':_0x2b7049[_0x2978b1(0x11d)],'timer':setTimeout(()=>{const _0x17e384=_0x2978b1,_0x2955e8=this[_0x17e384(0x1a2)][_0x17e384(0x83)](_0x31b17f[_0x17e384(0x11d)]);if(_0x2955e8?.[_0x17e384(0x12f)]!==_0x17e384(0x120)||_0x2955e8['id']!==_0x2b7049[_0x17e384(0xae)]['id']||_0x2955e8[_0x17e384(0x168)]!==_0x2b7049[_0x17e384(0xae)][_0x17e384(0x168)])return;void this[_0x17e384(0x81)]({..._0x2b7049,'sessionId':_0x31b17f[_0x17e384(0x11d)],'failedAttempts':_0x39e768});},0x15*0x537+-0x31d9+0x89*-0x2)};this[_0x2978b1(0x138)][_0x2978b1(0x1fa)](_0x2b7049[_0x2978b1(0x11d)],_0x31b17f),_0x31b17f[_0x2978b1(0x189)][_0x2978b1(0x204)]();}}[_0x50c5b1(0xed)](_0x22c1cc,_0xeac163){const _0x4d4392=_0x50c5b1,_0x522252=this[_0x4d4392(0x1c2)][_0x4d4392(0xdf)](_0x22c1cc);if(_0x522252===undefined||this[_0x4d4392(0x1c2)][_0x4d4392(0x1d3)](_0x522252['id'])!==undefined)return;this[_0x4d4392(0x196)][_0x4d4392(0xb8)](_0x522252['id'],_0xeac163===_0x4d4392(0x1c8)?_0x4d4392(0x20e):_0x4d4392(0x7f),_0xeac163===_0x4d4392(0x1c8)?{}:{'code':_0x4d4392(0x141)},_0xeac163);}[_0x50c5b1(0x193)](_0x749293){const _0x20a6fd=_0x50c5b1,_0x4668ec=missionUnrestrictedAccess(_0x749293[_0x20a6fd(0x91)]),_0x3f5349=_0x749293[_0x20a6fd(0x186)]!==_0x4668ec,_0x2ec259=_0x3f5349?this[_0x20a6fd(0x1c2)][_0x20a6fd(0x153)](_0x749293['id'],_0x4668ec):_0x749293;if(_0x3f5349&&_0x2ec259[_0x20a6fd(0x1a3)]!==null&&_0x2ec259[_0x20a6fd(0x1a8)]!==null&&_0x2ec259[_0x20a6fd(0x17c)]!==null)this[_0x20a6fd(0x171)]?.[_0x20a6fd(0xea)]({'runner':_0x2ec259[_0x20a6fd(0x91)],'externalSessionId':_0x2ec259[_0x20a6fd(0x1a3)],'workspaceId':_0x2ec259[_0x20a6fd(0x92)],'model':_0x2ec259[_0x20a6fd(0x1a8)],'effort':_0x2ec259[_0x20a6fd(0x17c)],'access':_0x4668ec});return{'session':_0x2ec259,'changed':_0x3f5349};}[_0x50c5b1(0x1cb)](){const _0x411e3b=_0x50c5b1;return{'commandId':_0x411e3b(0xae),'active':!![],'label':_0x411e3b(0x1df),'detail':null,'closable':!![],'closeInput':_0x411e3b(0x12e)};}[_0x50c5b1(0x107)](){const _0x3f43a2=_0x50c5b1;this[_0x3f43a2(0x17b)]=!![],this[_0x3f43a2(0x109)][_0x3f43a2(0x157)](),this[_0x3f43a2(0x144)][_0x3f43a2(0x107)](),this[_0x3f43a2(0xd5)][_0x3f43a2(0x107)]();for(const _0x1b8f85 of this[_0x3f43a2(0x88)][_0x3f43a2(0xcd)][_0x3f43a2(0x11c)][_0x3f43a2(0xfb)]()){clearTimeout(_0x1b8f85[_0x3f43a2(0x189)]),_0x1b8f85[_0x3f43a2(0x1c5)](_0x3f43a2(0x1f4));}this[_0x3f43a2(0x88)][_0x3f43a2(0xcd)][_0x3f43a2(0x11c)][_0x3f43a2(0xe7)]();for(const _0x34e38c of this[_0x3f43a2(0x88)][_0x3f43a2(0xcd)][_0x3f43a2(0x1f1)][_0x3f43a2(0xfb)]()){clearTimeout(_0x34e38c[_0x3f43a2(0x189)]),_0x34e38c[_0x3f43a2(0x11b)](_0x3f43a2(0xb2));}this[_0x3f43a2(0x88)][_0x3f43a2(0xcd)][_0x3f43a2(0x1f1)][_0x3f43a2(0xe7)](),this[_0x3f43a2(0x12b)][_0x3f43a2(0xe7)](),this[_0x3f43a2(0x1a4)][_0x3f43a2(0x157)](),this[_0x3f43a2(0x103)][_0x3f43a2(0xe7)](),this[_0x3f43a2(0x1e2)][_0x3f43a2(0xe7)]();for(const _0x12ff0c of this[_0x3f43a2(0x138)][_0x3f43a2(0xfb)]())clearTimeout(_0x12ff0c[_0x3f43a2(0x189)]);this[_0x3f43a2(0x138)][_0x3f43a2(0xe7)](),this[_0x3f43a2(0x119)][_0x3f43a2(0xe7)](),this[_0x3f43a2(0x1c4)][_0x3f43a2(0xe7)](),this[_0x3f43a2(0xc2)][_0x3f43a2(0x157)]();for(const _0x21eac4 of this[_0x3f43a2(0x88)][_0x3f43a2(0xcd)][_0x3f43a2(0x1b7)][_0x3f43a2(0xfb)]())_0x21eac4[_0x3f43a2(0x1ed)][_0x3f43a2(0x19a)]();this[_0x3f43a2(0x88)][_0x3f43a2(0xcd)][_0x3f43a2(0x1b7)][_0x3f43a2(0xe7)](),this[_0x3f43a2(0x188)][_0x3f43a2(0x157)](),void this[_0x3f43a2(0x152)][_0x3f43a2(0x157)](),void this[_0x3f43a2(0x1ba)][_0x3f43a2(0x1d0)](),this[_0x3f43a2(0x174)][_0x3f43a2(0x157)](),this[_0x3f43a2(0x182)][_0x3f43a2(0x13a)](),this[_0x3f43a2(0xa9)][_0x3f43a2(0xe7)](),this[_0x3f43a2(0xe5)][_0x3f43a2(0xe7)](),this[_0x3f43a2(0xb9)][_0x3f43a2(0xe7)](),void this[_0x3f43a2(0x1cd)][_0x3f43a2(0x107)](),void this[_0x3f43a2(0xf9)][_0x3f43a2(0x137)](),void this[_0x3f43a2(0x121)][_0x3f43a2(0x1d0)](),this[_0x3f43a2(0x16e)][_0x3f43a2(0x107)](),this[_0x3f43a2(0xdc)][_0x3f43a2(0x107)](),this[_0x3f43a2(0x171)]?.[_0x3f43a2(0x137)](),this[_0x3f43a2(0x171)]=undefined;}[_0x50c5b1(0xce)]=_0x29ab30=>this[_0x50c5b1(0x206)][_0x50c5b1(0x1ed)](_0x29ab30);[_0x50c5b1(0x15c)]=(_0x5ea126,_0x5cd42c,_0x2fd60e,_0x26eb66)=>this[_0x50c5b1(0x196)][_0x50c5b1(0xb8)](_0x5ea126,_0x5cd42c,_0x2fd60e,_0x26eb66);[_0x50c5b1(0x202)]=(_0x3c98b9,_0xc7cbce)=>{const _0x3da1cc=_0x50c5b1;this[_0x3da1cc(0x1c4)][_0x3da1cc(0xaf)](_0x3c98b9);const _0x1bd706=isPlainRecord(_0xc7cbce)&&typeof _0xc7cbce[_0x3da1cc(0xb1)]===_0x3da1cc(0x19c)?_0xc7cbce[_0x3da1cc(0xb1)]:undefined,_0x18b3c4=isPlainRecord(_0xc7cbce)&&typeof _0xc7cbce[_0x3da1cc(0x10c)]===_0x3da1cc(0x19c)?_0xc7cbce[_0x3da1cc(0x10c)]:undefined,_0x44c85a=this[_0x3da1cc(0x1c2)][_0x3da1cc(0xd1)](_0x3c98b9),_0x442109=_0x1bd706===undefined||_0x44c85a===undefined?undefined:conversationSegmentIdentityForItem(_0x44c85a,_0x1bd706,_0x18b3c4);this[_0x3da1cc(0x196)][_0x3da1cc(0xb8)](_0x3c98b9,_0x3da1cc(0xe8),_0x442109===undefined||!isPlainRecord(_0xc7cbce)?_0xc7cbce:{..._0xc7cbce,'segmentId':_0x442109['id'],'segmentIndex':_0x442109[_0x3da1cc(0xde)]});};[_0x50c5b1(0x1eb)]=_0x1f75a3=>{const _0x42f697=_0x50c5b1,_0x1c9817=isPlainRecord(_0x1f75a3)&&Array[_0x42f697(0x10e)](_0x1f75a3[_0x42f697(0x1be)])?conversationSegments(_0x1f75a3):[];this[_0x42f697(0x150)](_0x42f697(0x17a),{'turn':_0x1f75a3,'segments':_0x1c9817});};[_0x50c5b1(0x10b)]=(_0x1181e8,_0x50f4ca)=>{const _0x1952fd=_0x50c5b1;if(_0x1181e8===_0x1952fd(0x19b)){this[_0x1952fd(0x127)](_0x50f4ca);return;}this[_0x1952fd(0x150)](_0x1181e8,_0x50f4ca);};[_0x50c5b1(0x127)]=_0x24454b=>{const _0x1b3f6b=_0x50c5b1;if(isPlainRecord(_0x24454b)&&isPlainRecord(_0x24454b[_0x1b3f6b(0x19b)])){const _0x3619ab=_0x24454b[_0x1b3f6b(0x19b)][_0x1b3f6b(0x92)];typeof _0x3619ab===_0x1b3f6b(0x19c)&&(this[_0x1b3f6b(0xe5)][_0x1b3f6b(0x1fe)](_0x3619ab),void this[_0x1b3f6b(0xa9)]?.[_0x1b3f6b(0xbc)](_0x3619ab,_0x1b3f6b(0x1c6)));}this[_0x1b3f6b(0x150)](_0x1b3f6b(0x19b),_0x24454b);};[_0x50c5b1(0x150)]=(_0x312a57,_0x2df68a)=>{const _0x399771=_0x50c5b1;if(_0x312a57===_0x399771(0x17a)&&isPlainRecord(_0x2df68a)&&isPlainRecord(_0x2df68a[_0x399771(0x1bc)])&&_0x2df68a[_0x399771(0x1bc)][_0x399771(0x211)]!==_0x399771(0x1bf)){const _0x30a3cb=typeof _0x2df68a[_0x399771(0x1bc)][_0x399771(0x128)]===_0x399771(0x19c)?_0x2df68a[_0x399771(0x1bc)][_0x399771(0x128)]:undefined,_0x3024bb=typeof _0x2df68a[_0x399771(0x1bc)][_0x399771(0x1f9)]===_0x399771(0x208)?_0x2df68a[_0x399771(0x1bc)][_0x399771(0x1f9)]:undefined,_0x1b86d6=_0x30a3cb===undefined?undefined:this[_0x399771(0x1c2)][_0x399771(0xd1)](_0x30a3cb);if(_0x1b86d6===undefined)return;const _0x2e9a1a=isPlainRecord(_0x2df68a[_0x399771(0x1bc)][_0x399771(0x1ad)])?_0x2df68a[_0x399771(0x1bc)][_0x399771(0x1ad)]:undefined,_0x69030c=_0x2df68a[_0x399771(0x1bc)][_0x399771(0x211)]===_0x399771(0x160)&&typeof _0x2e9a1a?.[_0x399771(0x210)]===_0x399771(0x19c)?_0x2e9a1a[_0x399771(0x210)]:undefined,_0x102c2a=typeof _0x2e9a1a?.[_0x399771(0xb1)]===_0x399771(0x19c)?_0x2e9a1a[_0x399771(0xb1)]:typeof _0x2e9a1a?.[_0x399771(0x17f)]===_0x399771(0x19c)?_0x399771(0x14e)+_0x2e9a1a[_0x399771(0x17f)]:undefined,_0x3ed748=_0x69030c!==undefined&&_0x3024bb!==undefined?_0x1b86d6[_0x399771(0x1be)][_0x399771(0xf5)](_0x3762e1=>_0x3762e1[_0x399771(0x10c)]===_0x399771(0x158)&&_0x3762e1[_0x399771(0x168)]===_0x3024bb):_0x102c2a===undefined?undefined:_0x1b86d6[_0x399771(0x1be)][_0x399771(0xf5)](_0x321b5f=>_0x321b5f['id']===_0x30a3cb+':'+_0x102c2a);if(_0x69030c!==undefined&&_0x3ed748?.[_0x399771(0x10c)]===_0x399771(0x158))_0x2df68a={'sessionId':_0x1b86d6[_0x399771(0x11d)],'delta':{'runId':_0x1b86d6[_0x399771(0x128)],'itemId':_0x3ed748['id'],'text':_0x69030c,'createdAt':typeof _0x2df68a[_0x399771(0x1bc)][_0x399771(0x1bd)]===_0x399771(0x208)?_0x2df68a[_0x399771(0x1bc)][_0x399771(0x1bd)]:Date[_0x399771(0x1f5)]()}};else{if(_0x3ed748!==undefined){const _0x2172a4=conversationSegmentIdentityForItem(_0x1b86d6,_0x3ed748['id'],_0x3ed748[_0x399771(0x10c)]);_0x2df68a={'sessionId':_0x1b86d6[_0x399771(0x11d)],'runId':_0x1b86d6[_0x399771(0x128)],'item':{'itemId':_0x3ed748['id'],'kind':_0x3ed748[_0x399771(0x10c)],'status':_0x3ed748[_0x399771(0x12f)],'payload':_0x3ed748[_0x399771(0x1ad)],'startedAt':_0x3ed748[_0x399771(0x200)],'completedAt':_0x3ed748[_0x399771(0x1e1)],'segmentId':_0x2172a4['id'],'segmentIndex':_0x2172a4[_0x399771(0xde)]}};}else{if(_0x2df68a[_0x399771(0x1bc)][_0x399771(0x211)]!==_0x399771(0x1db)&&_0x2df68a[_0x399771(0x1bc)][_0x399771(0x211)]!==_0x399771(0x1ae))return;_0x2df68a={'turn':_0x1b86d6,'segments':conversationSegments(_0x1b86d6)};}}}const _0x3f1317=this[_0x399771(0xd7)][_0x399771(0x89)](_0x312a57,_0x2df68a);if(_0x3f1317===undefined)return;const _0x15b7d5=_0x312a57===_0x399771(0x17a)&&isPlainRecord(_0x2df68a)&&isPlainRecord(_0x2df68a[_0x399771(0x1bc)])&&_0x2df68a[_0x399771(0x1bc)][_0x399771(0x211)]===_0x399771(0x1bf),_0x4a15f6=workbenchPayloadSessionId(this[_0x399771(0x1c2)],_0x312a57,_0x2df68a);if(!_0x15b7d5&&_0x4a15f6!==undefined){this[_0x399771(0x12b)][_0x399771(0x203)](_0x4a15f6,_0x3f1317);return;}this[_0x399771(0xd7)][_0x399771(0x8c)](_0x3f1317);};[_0x50c5b1(0x9c)]=_0x5671b6=>this[_0x50c5b1(0x1f2)][_0x50c5b1(0x98)](_0x5671b6);[_0x50c5b1(0xc4)]=_0x2ba2f8=>this[_0x50c5b1(0x143)][_0x50c5b1(0xe2)](_0x2ba2f8);[_0x50c5b1(0x122)]=()=>undefined;[_0x50c5b1(0x1dd)]=()=>this[_0x50c5b1(0xd5)][_0x50c5b1(0x1dd)]();[_0x50c5b1(0x1b1)]=()=>this[_0x50c5b1(0xd5)][_0x50c5b1(0x1b1)]();async[_0x50c5b1(0x142)](_0x2f3cde,_0x4595a2){const _0x2807cf=_0x50c5b1;if(this[_0x2807cf(0x171)]===undefined)throw new Error(_0x2807cf(0x20a));if(this[_0x2807cf(0x144)][_0x2807cf(0xca)](_0x2f3cde))throw new Error(_0x2807cf(0x1b8));return nodeLog(_0x2807cf(0x1e0),{'nodeId':this[_0x2807cf(0xe1)]?.[_0x2807cf(0x9d)],'operation':_0x2f3cde}),this[_0x2807cf(0x201)][_0x2807cf(0x18a)](_0x2f3cde,_0x4595a2);}async[_0x50c5b1(0x1b3)](_0x1b6c55,_0x54a6c1){const _0x3056a3=_0x50c5b1,_0x80b97e=this[_0x3056a3(0xe1)];if(_0x80b97e?.[_0x3056a3(0x9d)]===undefined||_0x80b97e[_0x3056a3(0x14c)]===undefined)throw new Error(_0x3056a3(0x90));const _0x14cb26=await fetch(_0x80b97e[_0x3056a3(0x1ab)][_0x3056a3(0x20c)](/\/$/u,'')+_0x3056a3(0x12d),{'method':_0x3056a3(0xc3),'headers':{'content-type':_0x3056a3(0x183),'x-mar-node-id':_0x80b97e[_0x3056a3(0x9d)],'authorization':_0x3056a3(0x140)+_0x80b97e[_0x3056a3(0x14c)]},'body':JSON[_0x3056a3(0x11a)](_0x1b6c55),'signal':_0x54a6c1});if(!_0x14cb26['ok'])throw new Error(_0x3056a3(0x131));const _0x1906a1=await _0x14cb26[_0x3056a3(0xf8)]();return{'content':JSON[_0x3056a3(0x11a)](_0x1906a1),'data':_0x1906a1};}[_0x50c5b1(0x164)](_0x24e372,_0x4f8fb6){const _0x2dd2eb=_0x50c5b1;if(_0x4f8fb6[_0x2dd2eb(0x12f)]!==_0x2dd2eb(0x120)){this[_0x2dd2eb(0xfe)][_0x2dd2eb(0xe7)](_0x24e372['id'],_0x2dd2eb(0xae)),this[_0x2dd2eb(0x150)](_0x2dd2eb(0x19b),{'session':this[_0x2dd2eb(0x213)][_0x2dd2eb(0xcf)](_0x24e372)});return;}this[_0x2dd2eb(0xfe)][_0x2dd2eb(0x1fa)](_0x24e372['id'],{'commandId':_0x2dd2eb(0xae),'active':_0x4f8fb6[_0x2dd2eb(0x12f)]===_0x2dd2eb(0x120),'label':_0x2dd2eb(0x1df),'detail':_0x4f8fb6[_0x2dd2eb(0xaa)][_0x2dd2eb(0xf7)](0x269*0x1+0x184c*-0x1+0x15e3,0x16*-0x166+0x9*0x371+0x3*0x95),'closable':!![],'closeInput':_0x2dd2eb(0x147),'mission':{'id':_0x4f8fb6['id'],'objective':_0x4f8fb6[_0x2dd2eb(0xaa)],'revision':_0x4f8fb6[_0x2dd2eb(0x168)],'status':_0x4f8fb6[_0x2dd2eb(0x12f)],'turns':_0x4f8fb6[_0x2dd2eb(0x1b2)]}}),this[_0x2dd2eb(0x150)](_0x2dd2eb(0x19b),{'session':this[_0x2dd2eb(0x213)][_0x2dd2eb(0xcf)](_0x24e372)});}[_0x50c5b1(0xf1)](_0x5e10f5,_0x908345,_0x258aa8){const _0x73b64b=_0x50c5b1;this[_0x73b64b(0xdc)][_0x73b64b(0xf1)](_0x5e10f5,_0x908345,_0x258aa8);}[_0x50c5b1(0x1a1)](_0x5f51b4){const _0x50d940=_0x50c5b1;this[_0x50d940(0xdc)][_0x50d940(0x1a1)](_0x5f51b4);}}
2
+ const _0x4c6017=_0x287a;(function(_0xea0535,_0xcc294a){const _0x33ea71=_0x287a,_0x31fa91=_0xea0535();while(!![]){try{const _0x43af25=parseInt(_0x33ea71(0x258))/(-0xb*-0x8b+-0x6*0x67a+0x1a5*0x14)+parseInt(_0x33ea71(0x280))/(0x73+-0x1*0x1d17+-0x26*-0xc1)*(-parseInt(_0x33ea71(0x131))/(-0x1*0x123f+-0xc*0x12f+0x2076))+parseInt(_0x33ea71(0x1ad))/(-0x11*0x171+0xece+-0x9b7*-0x1)*(-parseInt(_0x33ea71(0x262))/(-0x527+-0x6ad+-0xbd9*-0x1))+parseInt(_0x33ea71(0x24a))/(-0x1955*-0x1+-0x364+-0xb5*0x1f)*(-parseInt(_0x33ea71(0x130))/(-0x5d4*0x1+0x1*-0xb24+0x10ff))+-parseInt(_0x33ea71(0x19d))/(0xc77+0x113*0x23+-0x8*0x641)+-parseInt(_0x33ea71(0x201))/(-0x1*-0xad3+-0xc1+-0xa09)*(-parseInt(_0x33ea71(0x27c))/(-0x17*-0x6d+-0x249b+0x1ada))+-parseInt(_0x33ea71(0x2af))/(-0x26f0*-0x1+0x2527+-0x4c0c)*(-parseInt(_0x33ea71(0x250))/(-0x3*0xa75+0x1fd8+0x1*-0x6d));if(_0x43af25===_0xcc294a)break;else _0x31fa91['push'](_0x31fa91['shift']());}catch(_0x240d30){_0x31fa91['push'](_0x31fa91['shift']());}}}(_0x1033,-0x61ebe+0x1*-0x3e1c8+0x2e*0x4ec4));import{dirname,resolve}from'node:path';import{createEnvelope}from'@myagentroam/protocol';import{loadNodeConfig,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';function _0x287a(_0x529673,_0x58379a){_0x529673=_0x529673-(0x1b33+-0x363+-0x16a2);const _0x4c6758=_0x1033();let _0x226dc9=_0x4c6758[_0x529673];if(_0x287a['ZvFmuR']===undefined){var _0x2354ba=function(_0xa8366b){const _0x4a7da7='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x25eaa2='',_0x2109b2='';for(let _0x34a7ff=-0xd67+-0x1*-0x4f4+0x873,_0x3f5001,_0xe36616,_0x305427=-0x26f5*-0x1+-0x232*0x7+-0x1797;_0xe36616=_0xa8366b['charAt'](_0x305427++);~_0xe36616&&(_0x3f5001=_0x34a7ff%(0xbb6+0x4*0x6cf+0xb*-0x38a)?_0x3f5001*(-0x259f*0x1+-0x20d5*-0x1+-0x3*-0x1ae)+_0xe36616:_0xe36616,_0x34a7ff++%(-0x2*0x1a7+0x8*0x43f+-0x1ea6))?_0x25eaa2+=String['fromCharCode'](-0x28c*0x6+-0x5d3+0x161a&_0x3f5001>>(-(0x1ea3+-0x1*-0x119b+-0x303c)*_0x34a7ff&-0x12b*0x19+-0x1f58+0x7*0x8a7)):-0x839+-0x8b*0x44+-0x2d25*-0x1){_0xe36616=_0x4a7da7['indexOf'](_0xe36616);}for(let _0x324668=0xe42*-0x2+0xc7*-0x29+0x3c63,_0x4a5347=_0x25eaa2['length'];_0x324668<_0x4a5347;_0x324668++){_0x2109b2+='%'+('00'+_0x25eaa2['charCodeAt'](_0x324668)['toString'](0x815+-0xca*0x28+0x178b))['slice'](-(-0xd1*0x25+-0x1de1+0x3c18));}return decodeURIComponent(_0x2109b2);};_0x287a['YOeeDT']=_0x2354ba,_0x287a['mKaXvQ']={},_0x287a['ZvFmuR']=!![];}const _0x5c7d9d=_0x4c6758[0x17*-0x28+-0x3e*-0x56+0x89e*-0x2];_0x287a['OmFFzC']!==_0x5c7d9d&&(_0x287a['mKaXvQ']={},_0x287a['OmFFzC']=_0x5c7d9d);const _0x141b6e=_0x287a['mKaXvQ'][_0x529673];return _0x141b6e===undefined?(_0x226dc9=_0x287a['YOeeDT'](_0x226dc9),_0x287a['mKaXvQ'][_0x529673]=_0x226dc9):_0x226dc9=_0x141b6e,_0x226dc9;}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';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{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';function _0x1033(){const _0x2c764f=['BwLZC2LVBK1JCfnLCNzLCG','CMvTB3zLugvUzgLUz1f1zxvL','zgLYzwn0tMf0AxzL','C2vZC2LVBLn0yxrL','y29UDMvYC2f0Aw9UsgLZDg9YEvnLCNzPy2u','C2vXDwvUy2u','rKfjteve','BgLUDxG','CMvNAxn0zxjbBgW','C3vWzxj2AxnLzfvWz3jHzgu','y2XHDwrLuNvUq29UDhjVBgXLCG','yxbWCM92ywXjza','y3jLyxrLzef0','DhvYBKLK','Aw52ywXPzgf0zq','y2HHBM5LBfrVA2vU','BM93','y3jLzgvUDgLHBa','ChvIBgLZAefWChjVDMfS','BwfYqwDLBNrdBgLLBNq','DhjHBNnPDgLVBMLUzW','tK9erv9vtKfvveHftLrjq0furuq','C2vZC2LVBLbYzxnLBNrHDgLVBLnLCNzPy2u','zMfZDa','CMvZDw1LzenVBMzPz3vYyxrPB24','yMXVy2TbzNrLCLj1BNrPBwvgywLSDxjL','ChjVAMvJDgLVBKzVCK5HDgL2zq','Bwf0zxjPywXPEMvdB2rLEa','zwzMB3j0','zgLZy292zxjxB3jRC3bHy2u','y3jLyxrLqwDLBNrtzxnZAw9U','zxH0zxjUywXby3rPDML0Eq','C2vUzevUDMvSB3bL','zxHLy3v0zq','D29YA3nWywnLq2HHBMDLu2vYDMLJzq','ywnJzxnZ','C2vZC2LVBKXPzMvJEwnSzvnLCNzPy2u','yxbWzw5K','CMv2B2TL','l21PC3nPB24Gls1JBgvHCG','C2vJCMv0rw52AxjVBM1LBNq','Aw5ZCgvJDa','CNvUBMvYsw50zxjHy3rPB25tzxj2AwnL','y2fUy2vS','zMfPBgvKqxr0zw1WDhm','BM9Kzs5JB25Uzwn0Aw9UlNjLCgXHy2vK','CNvUDgLTzs1UB2rL','BM90AwzPy2f0Aw9U','rKflrv9svu5orvjFreLtq09otKvdva','BwLZC2LVBLj1BNrPBwu','zxH0zxjUywXtzxnZAw9UuMvZDw1Lu2vYDMLJzq','Aw52ywXPzgf0zvDVCMTZCgfJzvDHDgnOvg9WAwnZ','CNvUBMvYvgL0Bgu','ChjLC2vUDa','zMfRzvj1BM5LCG','BM9Kzs5VCgvYyxrPB24','zxzLBNq','C2vZC2LVBKnVBNrLEhrtzxj2AwnL','y2XLyxjxyxrJAgvZ','BgLZDfj1BNngB3jtzxnZAw9U','CMvNAxn0zxi','zw1PDfj1BG','C2L6zq','owHpAergEG','v09ss1nqqunf','y29KzxHdBgLLBNq','C2vZC2LVBKnVBw1HBMrtzxj2AwnL','zMLUza','CMvWBgfJzq','y2XHDwrLqxbWCM92ywXuAw1LB3v0txm','zw5XDwv1zu1PC3nPB25dB250Aw51yxrPB24','Aw52ywXPzgf0zvrVCgLJ','BMf0AxzLswrZ','D29YA2jLBMnOrxzLBNrtzxj2AwnL','D29YA3nWywnLrMLSzvnLCNzPy2u','zw1PDfj1BKv2zw50','uKvqtefdrv9dvvjsru5u','zw1PDenVBNzLCNnHDgLVBKL0zw0','y3DK','CMvXDwLYzq','yMLUzenVBNrYB2W','Dw5YzwDPC3rLCMvK','y2XVC2vsDw5UAw5NvgvYBwLUywXtzxnZAw9UCW','Bw9KzwW','zgvSzxrL','y29TCgXLDgvKqxq','tuLtu0LptL9ot1rFqunusvzf','CNvUrxzLBNrtzxj2AwnL','C3rHCNq','tuLtu0LptL9dt05usu5vqvrjt05FrKfjteve','yxbWCM92ywXZ','C2H1DgrVD24','CMvZB2X2zq','C2v0q2HHBM5LBfrVA2vU','y29UDMvYC2f0Aw9Uu2vNBwvUDfnLCNzPy2u','zw1PDfDVCMTIzw5JAev2zw50','zM9Yz2v0','y2fWywjPBgL0EurLDgvJDg9Y','CMvQzwn0','D29YA3nWywnLuxvLDwvxB3jRyMvUy2Htzxj2AwnL','surmrq','ywn0AxzLu2vZC2LVBLj1BG','CMvXDwvZDenSyxvKzvvZzxjjBNb1Da','CMvJB25Uzwn0','CMvTzw1Izxi','y2XHDwrLq2XPzw50','zwzMzwn0AxzLtwnWsw5ZDgfSBgf0Aw9UCW','BwLZC2LVBG','yMXVy2TZ','Cgf1C2vtzxnZAw9UuxvLDwu','ChvIBgLZAfnUyxbZAg90','CMvWBgfJzvnVy2TLDezVCLrLC3rPBMC','zw1PDfnLC3nPB25xB3jRyMvUy2HfDMvUDa','y29UBMvJDgvKqxr0zw1WDa','yxzHAwXHyMXL','BwfUywDLzezVCK5HDgL2zq','zgvJAwrLq2XHDwrLqxbWCM92ywW','C2vYDMvYvxjS','AgfUzgXLtwvZC2fNzq','CgvYC2LZDezPBgvZ','AgfUzgXLtM90AwzPy2f0Aw9U','CNvUv29YA2jLBMnOu2vYDMLJzq','BwLZC2LVBKnVBNrPBNvHDgLVBLbLBMrPBMC','D29YA3nWywnLu2vZC2LVBLnLCNzPy2u','Cgf5Bg9Hza','ChjVAMvJDeLUAxrPywW','BxLHz2vUDhjVyw1FBwLZC2LVBG','y29UBMvJDgvK','q0foq0vmteve','Aw5ZDgfSBgf0Aw9U','CMvJB3jK','zgLZy29UBMvJDa','rvHurvjoquW','DgvYBwLUywXdAgfUBMvS','CgvYC2LZDfrLCM1PBMfS','C3rYAw5NAwz5','mJC0mKjdAwD6Bq','CNvUlNn0yxj0zwq','CMvZDw1Lqwz0zxjdB21Tyw5KuNvU','C2vZC2LVBI5SAxn0','y2fWywjPBgL0AwvZ','ChvIBgLZAa','mJm0otG0rxHrEM5o','CMvJzw50uNvUuhjVAMvJDgLVBLnLCNzPy2u','DxbNCMfKzs1Yzxn1BhqUANnVBG','ChjLCgfYzu1LC3nHz2vjBNb1Da','CNvUqxr0ywnOBwvUDfnLCNzPy2u','BgLZDfDVCMTZCgfJzxm','BM9KzuDLBMvYyxrPB24','zMLSDgvY','ndaYotqWs2HPAKnu','C2XPy2u','zxHWAxjLqxbWCM92ywW','CNvU','DgvYBwLUywXnyw5Hz2vY','C2vUza','y2fJAgvKu2vZC2LVBNm','CNvUBMvYlMnVBw1HBMqUzxHLy3v0zq','tK9erv9eqvrbqKftrv9vtKfwquLmqujmrq','Cgf0Aa','mJq1Cu5KsMTR','zw5ZDxjLuMvZDw1LzenVBMzPz3vYyxrPB24','DgLTzxi','C3rVChbLza','BM9Kzs51CgDYywrLlNjLCxvLC3q','y29UDgLUDwu','C3rHDhvZ','Ahr0Chm6lY8XmJCUmc4WlJeUAw52ywXPzc9Ty3a','CMvZB2X2zun1CNjLBNq','y2fWywjPBgL0AwvZuhjVDMLKzwq','zgvJAwrLq29KzxHbChbYB3zHBa','D29YA3nWywnLu3rHDgu','CMvZCg9UzfvZzxjjBNb1Da','A2LUza','BM9Kzs5JB25Uzwn0Aw5N','CgvYC29UywXjBNn0CNvJDgLVBNm','zgf0ywjHC2u','AxrLBxm','y29UBMvJDgLVBKXPzMvJEwnSzq','C29JA2v0','CNvUCW','tufsx0fhru5ux1DfqL9trufsq0HFrKfjteve','CMfUzg9Tvvvjra','z2v0uNvU','CMvJB3jKvhvYBG','z2v0','otm5mtbVvfDXDMi','zxHWAxjL','BwLU','Aw52ywXPzgf0zunOyw5Nzxm','mtC5ntKWAfv4zgDk','lw9Wzw5JB2rLlwLTywDLCW','zxHLy3v0zu5VzgvpCgvYyxrPB24','ue9tva','BM9KzuLK','zxzLBNruExbL','CNvUu3rHDgu','CMvTB3zLtwLZC2LVBLf1zxvL','Aw52ywXPzgf0zunHy2HL','CMvMCMvZAfrPDgXL','DxbKyxrLqwDLBNrtzxnZAw9UqwnJzxnZ','u1vdq0vfreve','CMvXDwvZDenSyxvKzufWChjVDMfS','zMLUAxnOswrSzu1PC3nPB25sDw4','CgXHDgzVCM0','Dw5Yzwy','CMvJB3jKzwqTC2vZC2LVBG','ywnJzxb0rM9YtwvZC2fNzq','y29KzxHqCM9MAwXLq2XPzw50rMfJDg9YEq','ChjVBxb0','Aw5KzxG','CMvJB3jKrxHLy3v0Aw9UuMvZDwX0','DgHYzwfKswq','C2vZC2LVBLf1zxj5u2vYDMLJzq','zw1PDfjLywX0Aw1L','zw5ZDxjLv2f0y2G','C3vIBwL0twLZC2LVBG','D29YA3nWywnLv2f0y2Htzxj2AwnL','AgfZqwn0AxzLu2vZC2LVBKXLyxnL','ms4WlJa','BMf0AxzLu2vZC2LVBLDHDgnOu2vYDMLJzq','C3rVCa','BwfUywDLzfj1BM5LCLnLC3nPB25Z','CNvUrxzLBNrcCMLKz2u','CMvJB25JAwXLugvYC2LZDgvKuNvUCW','CNvUDgLTzq','zw1PDff1zxvL','CMvJzw50lxj1BNm','CMvHze5HDgL2zq','y2fUy2vSq29KzxHuDxjU','y2HHBMDLza','CMvMCMvZAenHCgfIAwXPDgLLCW','BMf0AxzLsw1Hz2vsB290CW','sfruua','ChjVBw90zvnLC3nPB25jzgvUDgL0Eq','Dgv4Da','BwLZC2LVBLjLDhj5vgLTzxjZ','nda3qNDQu2LP','y3vZDg9TvgL0Bgu','C25HChnOB3rtzxf1zw5Jzq','zxHPDa','DhvYBNm','C3rYAw5N','BgLZDa','z2v0v29YA3nWywnL','l2fWAs9UB2rLlxrVB2XZl3DLyI1ZzwfYy2G','B3bLCMf0Aw9UCW','DxbNCMfKzunVB3jKAw5HDg9Y','ChjLCgfYzu1PC3nPB25tzxnZAw9U','yMLUzenVBw1HBMrdB250CM9S','DMfSDwvZ','zxHLy3v0zunVBw1HBMq','y29UDMvYC2f0Aw9UvhvYBKzVCLj1BG','CMvHzeHPC3rVCNLqywDL','zMX1C2Hqzw5KAw5Nvgv4Da','y29UDgLUDw91C1j1BKnVB3jKAw5HDg9Y','CMv2AxnPB24','Bwv0ywrHDge','AgfZ','z2v0qwDLBNrtzxnZAw9U','mJG2m3rmuKPKwa','ouj5q1PpDW','Dg9WAwnby3rPDMu','BM9Kzs51CgDYywrLlMnHBMnLBa','CMvJB25JAwXL','C2vZC2LVBKnHDgfSB2Dtzxj2AwnL','AgfUzgXL','ywn0AxzL','zgLZCg9Zzq','y3jLyxrLqxbWCM92ywW','C2vJCMv0CW','ANnVBG','qMvHCMvYia','C2v0','y3vYCMvUDev4zwn1DgLVBKLK','Aw50zxjYDxb0','C3rHCNrdyxbHyMLSAxr5uMvMCMvZAa','C3rHCNrLzef0','BwLNCMf0zvnLC3nPB24','DxbNCMfKzvjLywr5','u0vora','Dgv4Dc5KzwX0yq','DxbNCMfKzq','C2vZC2LVBKLKzw50Axr5u2vYDMLJzq','zMfRztO','CMvHza','D2vIu2vHCMnO','ywXSB3DLzfjVB3rZ','CNvUswq','yxbWCM92ywW6','CNvUBMvY','D2f0y2GUzxzLBNq','zgvJAwrL','yxbWBgLJyxrPB24VANnVBG','BwfYqwDLBNrsDw5dB250CM9SBgvY','zxH0zxjUywXtzxnZAw9Uswq','D2LUmZi','y2fUy2vSq2XHDwrLuNvU','uKvkrunuruq','D29YA3nWywnLvxbSB2fKu2vYDMLJzq','D29YA3nWywnLq29VCMrPBMf0B3i','D29YA2jLBMnOtwfUAwzLC3rtzxj2AwnL','BMf0AxzLu2vZC2LVBLbYB2PLy3rPB25tzxj2AwnL','zw5ZDxjLvg9WAwntBMfWC2HVDa','y29KzxHsDw5dB250CM9SBgvY','C2f2zu5HDgL2zvnLC3nPB25nzxrHzgf0yq','ChvIBgLZAe1PC3nPB25tDgf0zq','C2vZC2LVBKLK','zgLZy292zxi','y29UDhjVBe1LC3nHz2vZ','y29TCgXLDgvdyw5JzwXSzwrsDw4','y2XVC2u','y29UDMvYC2f0Aw9UlML0zw0','y29UzMLNugf0Aa','C3rVCfDHDgnO','y29UzMLN','ChvIBgLZAfDVCMTIzw5JAev2zw50','zw1PDenVBNzLCNnHDgLVBLr1CM4','ChjVBw90zq','B3bLCMf0Aw9UuM91DgvY','AxrLBuLK','BM9KzvjLCxvLC3rZ','C2vZC2LVBNm','Bw92zq','CMvTB3zL','y29UDhjVBenOyw5UzwW','DhvYBG','y2f0y2G','y2XLyw51Ca','C2vZC2LVBI13yxrJAc1ZBMfWC2HVDa','BwfYlwLUDgvYBMfSlw1PC3nPB24','DgvYBwLUywXtzxj2AwnL','tK9erv9dt05gsuDFvu5bvKfjtefcteu','ChjVzMLSzxm','y2XLyxi','l21PC3nPB24','BMf0AxzLlNnLC3nPB24UzgLZy292zxj5lNbLBMrPBMC','zgvJAxnPB24','y2XLyxjnAxnZAw9UuMv0CNK','q0foq0vmteLorW','CNvUBMvYq2HHBM5LBe1LC3nHz2vZ','yxnZAxn0yw50x21LC3nHz2u','ywn0AxzLv29YA3nWywnLtgvHC2vdB3vUDa','tK9erv9dt05orunusu9ox1jfueXbq0ve','y2XLyxjxB3jRC3bHy2u','D2LUzg93CW','CNvUlMnVBxbSzxrLza','C2nOzwr1Bgu','su5urvjsvvburuq','CMvJB25Uzwn0u2nOzwr1BgvK','BNvTyMvY','vgHPCYboB2rLignVBM5Ly3rPB24GD2fZihjLCgXHy2vKigj5igeGBMv3zxiGAw5ZDgfUy2uGD2L0Acb0AguGC2fTzsbPzgvUDgL0Es4Gq2HLy2SGzM9Yigr1CgXPy2f0zsbWCM9JzxnZzxmU','CMvXDwvZDa','ywrK','Bg9HzfjLC3vSDa','q0foq0vm','zgLZy292zxjxB3jRC3bHy2vtzxnZAw9UCW','CNvUBMvYvxnHz2vszwfKzxi','y29UBMvJDa','DxnLCKLUChv0CW','BwLNCMf0zvj1BM5LCLnLC3nPB25jzgvUDgL0Eq','CgvUzgLUz01PC3nPB25dB21Tyw5Ku3rHDgu','CNvUlMzHAwXLza','C25HChnOB3q','y29UDMvYC2f0Aw9U','BM9Kzs5TzxrYAwnZ','zgLZCgf0y2G','C2vZC2LVBK1LC3nHz2vtzxj2AwnL','B25oB3rPzMLJyxrPB24','odC3mZi4rKzUuNvc','uLvox05pvf9gt1vora','D29YA3nWywnLv29YA2jLBMnOu2vYDMLJzq','B3bLBKnVzgvsDw5dB250CM9SBgvY','y29KzxG','C3rHDgu','y2XLyxjbBgW','ywrVChrsDw4','Bwv0CMLJCW','tK9erv9tve9queve','CMvMCMvZAev4DgvYBMfSqwn0AxzPDhK','y29TBwfUzfn0yxrLCW','tK9erv9vueDsqurfx1bftKrjtKC','AxnbCNjHEq','C2vZC2LVBG','yM9VDhn0CMfWswrZ','mJqZotzHDurrDeW','AgfZrxHLy3v0Aw9Uu3rHCNrLza','Aw50zxjYDxb0uMvXDwvZDgvK','uvvfvuu','B2jQzwn0AxzL','B25tDw1Tyxj5','BM9Kzs53B3jRyMvUy2GUy2fWywjPBgL0AwvZ','D29YA3nWywnLu2vYDMLJzq','D29YA3nWywnLswq','CNvUBMvYu2vYDMLJzq','BMv4Da','B3bLBKnVzgvdBgLLBNq','twLZC2LVBG','zxHLy3v0Aw9Uu3rHCNrLza','CNvUBMvYCW','zgvJAwrLqxbWCM92ywW','CNvUlNj1BM5PBMC','CgvUzgLUzW','Bwf4','zxHLy3v0Aw9U','zMfRzvnJCMLWDa'];_0x1033=function(){return _0x2c764f;};return _0x1033();}import{RunnerInteractionService}from'./service/runner-interaction-service.js';import{SessionLifecycleService}from'./service/session-lifecycle-service.js';import{ExternalSessionResumeService}from'./service/external-session-resume-service.js';import{SessionMessageService}from'./service/session-message-service.js';import{SessionCatalogService}from'./service/session-catalog-service.js';import{SessionCommandService}from'./service/session-command-service.js';import{SessionPresentationService}from'./service/session-presentation-service.js';import{isPlainRecord,isRunnerImageAttachment,parseRunnerImageAttachments}from'./runner/codex/conversation-parser.js';export{nodeConnectEndpoint,validatedCapabilities}from'./runner/codex/conversation-parser.js';import{NodeControlChannel}from'./service/node-control-channel.js';import{NodeControlMessageService}from'./service/node-control-message-service.js';import{NodeRequestService}from'./service/node-request-service.js';import{WorkbenchManifestService}from'./service/workbench-manifest-service.js';import{NodeRunEventBridge,workbenchPayloadSessionId}from'./service/node-run-event-bridge.js';import{NodeWorkspaceCoordinator}from'./service/node-workspace-coordinator.js';import{FakeManagedRunService}from'./service/fake-managed-run-service.js';import{RunnerChannelMessageService}from'./service/runner-channel-message-service.js';import{ManagedRunnerSessionService}from'./service/managed-runner-session-service.js';import{NodeConnectionLifecycleService}from'./service/node-connection-lifecycle-service.js';import{NodeUpgradeCoordinator,nodeUpgradeRequestPath}from'./service/node-upgrade-coordinator.js';const HEARTBEAT_MS=-0x4da0+-0x74dd*-0x1+-0x3df*-0x5,CAPABILITY_REFRESH_MS=-0x11*0x7e3+0x6*0x176b+0x35*0x44d,RETRY_MIN_MS=-0x259f*0x1+-0x20d5*-0x1+-0x1*-0x6be,RETRY_MAX_MS=-0x3*0x69c+0x10*0xcbd+-0x42cc,CLAUDE_APPROVAL_TIMEOUT_MS=(-0x28c*0x6+-0x5d3+0x1525)*(0x16fa6+-0x79*-0x1bf+-0x1588d);export function nextReconnectDelay(_0x515d4e){const _0x128dae=_0x287a;return Math[_0x128dae(0x27e)](RETRY_MAX_MS,RETRY_MIN_MS*(-0x12b*0x19+-0x1f58+0x3*0x142f)**Math[_0x128dae(0x27e)](Math[_0x128dae(0x1bf)](_0x515d4e,-0x839+-0x8b*0x44+-0x2d25*-0x1),0xe42*-0x2+0xc7*-0x29+0x3c73));}function upgradeMetadata(_0x5b6a1e,_0x4bd5a7){const _0x2db79a=_0x287a,_0x1adf6c={..._0x5b6a1e??{}};if(process.env['MAR_NODE_SUPERVISED']==='1')_0x1adf6c[_0x2db79a(0x1cb)]=!![];else delete _0x1adf6c[_0x2db79a(0x1cb)];if(_0x4bd5a7[_0x2db79a(0x1a2)]===_0x2db79a(0x226))delete _0x1adf6c[_0x2db79a(0x146)];else _0x1adf6c[_0x2db79a(0x146)]=_0x4bd5a7;return _0x1adf6c;}export class NodeConnector{[_0x4c6017(0x256)]=crypto[_0x4c6017(0x278)]()[_0x4c6017(0x206)](/-/g,'');[_0x4c6017(0x171)];[_0x4c6017(0x161)];[_0x4c6017(0x16d)];[_0x4c6017(0x274)];set[_0x4c6017(0x275)](_0x272d8b){const _0x144dac=_0x4c6017;this[_0x144dac(0x171)][_0x144dac(0x231)](_0x272d8b);}[_0x4c6017(0x265)]=![];[_0x4c6017(0x167)];[_0x4c6017(0x26b)];[_0x4c6017(0x24e)];[_0x4c6017(0x223)];[_0x4c6017(0x165)];[_0x4c6017(0x229)];[_0x4c6017(0x207)];[_0x4c6017(0x20b)]=new WorkbenchEventService(envelope=>this[_0x4c6017(0x1e2)](envelope),(category,payload)=>{const _0x29fa35=_0x4c6017,sessionId=workbenchPayloadSessionId(this[_0x29fa35(0x2a3)],category,payload);return sessionId===undefined||!this[_0x29fa35(0x147)][_0x29fa35(0x1ac)][_0x29fa35(0x12e)](sessionId);});[_0x4c6017(0x1f8)];[_0x4c6017(0x1c1)];[_0x4c6017(0x286)]=new RunDomainState();[_0x4c6017(0x2a1)];[_0x4c6017(0x158)];[_0x4c6017(0x1c5)]=new SessionDomainState();[_0x4c6017(0x147)];[_0x4c6017(0x15a)];[_0x4c6017(0x1c6)];[_0x4c6017(0x220)];[_0x4c6017(0x1ec)];[_0x4c6017(0x180)];[_0x4c6017(0x2a0)];[_0x4c6017(0x1d8)];[_0x4c6017(0x1e6)];[_0x4c6017(0x1f4)];[_0x4c6017(0x19b)];[_0x4c6017(0x135)];[_0x4c6017(0x204)];[_0x4c6017(0x254)];[_0x4c6017(0x247)];[_0x4c6017(0x203)];[_0x4c6017(0x15c)];[_0x4c6017(0x22b)];[_0x4c6017(0x1b8)];[_0x4c6017(0x1d5)];[_0x4c6017(0x152)];[_0x4c6017(0x1a0)];[_0x4c6017(0x1cc)];[_0x4c6017(0x1bb)];[_0x4c6017(0x1fb)];[_0x4c6017(0x23b)];[_0x4c6017(0x297)];[_0x4c6017(0x2c1)];[_0x4c6017(0x225)];[_0x4c6017(0x16b)]=new NodeOperationRouter();[_0x4c6017(0x1b6)];[_0x4c6017(0x159)];[_0x4c6017(0x177)];[_0x4c6017(0x1b4)];[_0x4c6017(0x1a8)]=new CommandStateStore();[_0x4c6017(0x1f3)]=new MissionRuntime(()=>undefined);[_0x4c6017(0x2ae)]=new Map();[_0x4c6017(0x23c)]=new Map();[_0x4c6017(0x1c2)]=new MissionMcpServer(this[_0x4c6017(0x1f3)],sessionId=>{const _0x226a1c=_0x4c6017,mission=this[_0x226a1c(0x1f3)][_0x226a1c(0x27b)](sessionId),session=this[_0x226a1c(0x2a3)][_0x226a1c(0x12f)](sessionId);if(mission===undefined||session===undefined)return;if(mission[_0x226a1c(0x268)]!==_0x226a1c(0x137))this[_0x226a1c(0x2c1)][_0x226a1c(0x287)](sessionId);this[_0x226a1c(0x15e)](session,mission);});[_0x4c6017(0x191)];[_0x4c6017(0x25c)];[_0x4c6017(0x2b9)];[_0x4c6017(0x26d)]=new WorkspaceDomainState();[_0x4c6017(0x29b)]=new WorkspaceWatchService(this[_0x4c6017(0x26d)],workspaceId=>this[_0x4c6017(0x23d)][_0x4c6017(0x299)](workspaceId),workspaceId=>this[_0x4c6017(0x23d)][_0x4c6017(0x166)](workspaceId),workspaceId=>this[_0x4c6017(0x19f)]?.[_0x4c6017(0x184)](workspaceId));[_0x4c6017(0x23d)]=new WorkspaceSessionService(this[_0x4c6017(0x26d)],{'discover':workspaceId=>this[_0x4c6017(0x190)](workspaceId),'listPage':workspaceId=>this[_0x4c6017(0x282)](_0x4c6017(0x24d),{'workspaceId':workspaceId,'limit':0x14}),'active':workspaceId=>this[_0x4c6017(0x29b)][_0x4c6017(0x132)](workspaceId,_0x4c6017(0x16e)),'invalidate':workspaceId=>void this[_0x4c6017(0x19f)]?.[_0x4c6017(0x209)](workspaceId,_0x4c6017(0x16e)),'onPending':(workspaceId,waitMs)=>nodeLog(_0x4c6017(0x17c),{'nodeId':this[_0x4c6017(0x167)]?.[_0x4c6017(0x284)],'workspaceId':workspaceId,'waitMs':waitMs})});[_0x4c6017(0x20c)]=new WorkspaceFileService(this[_0x4c6017(0x26d)],()=>this[_0x4c6017(0x167)]?.[_0x4c6017(0x14b)]??[],workspaceId=>this[_0x4c6017(0x158)][_0x4c6017(0x1d0)](workspaceId));[_0x4c6017(0x157)]=new WorkspaceUploadService(this[_0x4c6017(0x26d)],workspaceId=>this[_0x4c6017(0x158)][_0x4c6017(0x1d0)](workspaceId));[_0x4c6017(0x1e4)]=new WorkspaceChangeService(this[_0x4c6017(0x26d)]);[_0x4c6017(0x19f)];[_0x4c6017(0x272)];[_0x4c6017(0x251)]=new RecentRunProjectionService(message=>this[_0x4c6017(0x25d)](_0x4c6017(0x2a5),message));[_0x4c6017(0x2a3)]=new NodeRuntimeState(()=>this[_0x4c6017(0x167)]?.[_0x4c6017(0x284)]??_0x4c6017(0x1f0),workspaceId=>this[_0x4c6017(0x272)]?.[_0x4c6017(0x2b6)](workspaceId),Date[_0x4c6017(0x1d2)],(run,session,userMessage)=>this[_0x4c6017(0x251)][_0x4c6017(0x244)](run,session,userMessage));[_0x4c6017(0x1a5)]=new NodeMetrics();[_0x4c6017(0x219)]=new RunEventService({'runtime':this[_0x4c6017(0x2a3)],'metrics':this[_0x4c6017(0x1a5)],'state':this[_0x4c6017(0x286)],'isBootstrapSession':sessionId=>this[_0x4c6017(0x147)][_0x4c6017(0x1ac)][_0x4c6017(0x12e)](sessionId),'presentSession':session=>this[_0x4c6017(0x1d8)][_0x4c6017(0x1f7)](session),'rejectBootstrap':(sessionId,code)=>this[_0x4c6017(0x147)][_0x4c6017(0x224)](sessionId,code),'emitWorkbench':(category,payload)=>{const _0x184ef6=_0x4c6017;if(category===_0x184ef6(0x198)&&isPlainRecord(payload)&&_0x184ef6(0x172)in payload)this[_0x184ef6(0x169)](payload[_0x184ef6(0x172)]);else this[_0x184ef6(0x168)](category,payload);},'cleanupAttachments':runId=>this[_0x4c6017(0x254)][_0x4c6017(0x174)](runId),'expireImages':runId=>this[_0x4c6017(0x254)][_0x4c6017(0x27d)](runId),'scheduleContextRefresh':sessionId=>this[_0x4c6017(0x1fb)][_0x4c6017(0x187)](sessionId),'refreshWorkspaceSessions':workspaceId=>this[_0x4c6017(0x19f)][_0x4c6017(0x15b)](workspaceId,_0x4c6017(0x16e)),'dispatchQueue':async(sessionId,delayMs=0x815+-0xca*0x28+0x177b)=>{const _0x33f093=_0x4c6017;if(this[_0x33f093(0x2b9)][_0x33f093(0x1be)]())return;if(delayMs>-0xd1*0x25+-0x1de1+0x3c16){this[_0x33f093(0x2c1)][_0x33f093(0x187)](sessionId,delayMs);return;}await this[_0x33f093(0x2c1)][_0x33f093(0x19a)](sessionId);},'executionStarted':executionId=>this[_0x4c6017(0x2c1)][_0x4c6017(0x1ba)](executionId),'keepRunActive':sessionId=>(this[_0x4c6017(0x2ae)][_0x4c6017(0x12e)](sessionId)||this[_0x4c6017(0x23c)][_0x4c6017(0x12e)](sessionId))&&this[_0x4c6017(0x1f3)][_0x4c6017(0x27b)](sessionId)?.[_0x4c6017(0x268)]===_0x4c6017(0x137),'executionTerminating':(executionId,status)=>{const _0x2c4315=_0x4c6017,pending=this[_0x2c4315(0x2c1)][_0x2c4315(0x1be)](executionId);if(pending?.[_0x2c4315(0x22d)]===undefined)return;const started=this[_0x2c4315(0x2c1)][_0x2c4315(0x1ae)](executionId),blocked=this[_0x2c4315(0x1f3)][_0x2c4315(0x295)](pending[_0x2c4315(0x15f)],status===_0x2c4315(0x1c8));if(blocked){this[_0x2c4315(0x17e)](pending[_0x2c4315(0x15f)]),this[_0x2c4315(0x2c1)][_0x2c4315(0x287)](pending[_0x2c4315(0x15f)]);const terminalMission=this[_0x2c4315(0x1f3)][_0x2c4315(0x27b)](pending[_0x2c4315(0x15f)]),session=this[_0x2c4315(0x2a3)][_0x2c4315(0x12f)](pending[_0x2c4315(0x15f)]);if(terminalMission!==undefined&&session!==undefined)this[_0x2c4315(0x15e)](session,terminalMission);return;}if(status!==_0x2c4315(0x1c8)||started)return;this[_0x2c4315(0x17e)](pending[_0x2c4315(0x15f)]);const retry={'sessionId':pending[_0x2c4315(0x15f)],'timer':setTimeout(()=>{const _0x2e1593=_0x2c4315;this[_0x2e1593(0x2ae)][_0x2e1593(0x216)](retry[_0x2e1593(0x15f)]);const mission=this[_0x2e1593(0x1f3)][_0x2e1593(0x27b)](retry[_0x2e1593(0x15f)]);if(mission?.[_0x2e1593(0x268)]!==_0x2e1593(0x137)||mission['id']!==pending[_0x2e1593(0x22d)]?.['id']||mission[_0x2e1593(0x2c2)]!==pending[_0x2e1593(0x22d)][_0x2e1593(0x2c2)])return;void this[_0x2e1593(0x19b)][_0x2e1593(0x29a)]({'sessionId':retry[_0x2e1593(0x15f)],'kind':_0x2e1593(0x267),'content':this[_0x2e1593(0x1f3)][_0x2e1593(0x293)](retry[_0x2e1593(0x15f)],_0x2e1593(0x267)),'deliveryIntent':_0x2e1593(0x144),'mission':{'id':mission['id'],'revision':mission[_0x2e1593(0x2c2)]},'secretEnvironment':pending[_0x2e1593(0x1ea)],...pending[_0x2e1593(0x271)]===undefined?{}:{'personalInstructions':pending[_0x2e1593(0x271)]}})[_0x2e1593(0x173)](()=>undefined);},0x1f*-0x59+-0x16*-0x2d7+0x6e5*0x1)};this[_0x2c4315(0x2ae)][_0x2c4315(0x13d)](pending[_0x2c4315(0x15f)],retry),retry[_0x2c4315(0x264)][_0x2c4315(0x28f)]();},'releaseExecution':executionId=>{const _0x45dac5=_0x4c6017;this[_0x45dac5(0x1c2)][_0x45dac5(0x1e8)](executionId),this[_0x45dac5(0x2c1)][_0x45dac5(0x170)](executionId);}});[_0x4c6017(0x29e)]=new NativeSessionWatchService({'resolve':async sessionId=>this[_0x4c6017(0x2a3)][_0x4c6017(0x12f)](sessionId)??this[_0x4c6017(0x15a)][_0x4c6017(0x26a)](sessionId),'managedActive':session=>hasManagedActiveRun(this[_0x4c6017(0x2a3)],session),'suspended':sessionId=>this[_0x4c6017(0x1f4)][_0x4c6017(0x1d6)](sessionId),'refreshActivity':session=>this[_0x4c6017(0x1c6)][_0x4c6017(0x1a7)](session),'present':session=>this[_0x4c6017(0x1d8)][_0x4c6017(0x1f7)](session),'readPage':(session,limit)=>this[_0x4c6017(0x1c6)][_0x4c6017(0x149)](session,{'limit':limit}),'readHistoryPage':(session,limit)=>this[_0x4c6017(0x1c6)][_0x4c6017(0x2bf)](session,{'limit':limit}),'convergePage':convergeConversationWatchPage,'composeRuntimePage':composeConversationRuntimePage,'projectInitialPage':(session,page,_unit,limit)=>{const _0x250493=_0x4c6017,context=this[_0x250493(0x1fb)][_0x250493(0x197)](session['id']);return this[_0x250493(0x1fb)][_0x250493(0x187)](session),{'kind':_0x250493(0x175),'sequence':this[_0x250493(0x20b)][_0x250493(0x2b1)](),'session':this[_0x250493(0x1d8)][_0x250493(0x1f7)](session),'runs':this[_0x250493(0x2a3)][_0x250493(0x1fd)](session['id']),'queue':this[_0x250493(0x225)][_0x250493(0x197)](session['id']),'context':context,'conversation':this[_0x250493(0x220)][_0x250493(0x23f)](session,page,limit)};},'emitSession':session=>this[_0x4c6017(0x232)]({'session':session}),'emitPage':(session,page)=>this[_0x4c6017(0x221)](_0x4c6017(0x198),{'sessionId':session['id'],'snapshot':this[_0x4c6017(0x220)][_0x4c6017(0x23f)](session,page,-0xc*-0x262+0x2135+-0xa3*0x61)}),'nodeId':()=>this[_0x4c6017(0x167)]?.[_0x4c6017(0x284)]??_0x4c6017(0x1f0),'nodeGeneration':()=>this[_0x4c6017(0x256)],'emitWatchEvent':payload=>this[_0x4c6017(0x25d)](_0x4c6017(0x14f),payload),'log':nodeLog});constructor(_0x5938a6={}){const _0x28a3ff=_0x4c6017;this[_0x28a3ff(0x167)]=_0x5938a6[_0x28a3ff(0x167)],this[_0x28a3ff(0x165)]=_0x5938a6[_0x28a3ff(0x165)],this[_0x28a3ff(0x207)]=_0x5938a6[_0x28a3ff(0x207)]??CLAUDE_APPROVAL_TIMEOUT_MS,this[_0x28a3ff(0x26b)]=_0x5938a6[_0x28a3ff(0x24e)]!==undefined,this[_0x28a3ff(0x24e)]=_0x5938a6[_0x28a3ff(0x24e)]??unavailableCapabilities(),this[_0x28a3ff(0x2b9)]=new NodeUpgradeCoordinator(()=>{const _0x36f2c8=_0x28a3ff;if(this[_0x36f2c8(0x167)]===undefined)throw new Error(_0x36f2c8(0x178));return nodeUpgradeRequestPath(nodeDatabasePath(this[_0x36f2c8(0x167)],this[_0x36f2c8(0x165)]));},()=>this[_0x28a3ff(0x286)][_0x28a3ff(0x137)][_0x28a3ff(0x200)],_0x5db49d=>{const _0x161808=_0x28a3ff;this[_0x161808(0x24e)]={...this[_0x161808(0x24e)],'metadata':upgradeMetadata(this[_0x161808(0x24e)][_0x161808(0x2c3)],_0x5db49d)},this[_0x161808(0x171)]?.[_0x161808(0x25d)](_0x161808(0x24e),this[_0x161808(0x24e)]);},_0x5938a6[_0x28a3ff(0x143)]??(()=>{const _0x2c6108=_0x28a3ff;this[_0x2c6108(0x29f)](),setImmediate(()=>process[_0x2c6108(0x2b2)](-0x1e75+0x15f6+0xf*0x96));})),this[_0x28a3ff(0x24e)]={...this[_0x28a3ff(0x24e)],'metadata':upgradeMetadata(this[_0x28a3ff(0x24e)][_0x28a3ff(0x2c3)],this[_0x28a3ff(0x2b9)][_0x28a3ff(0x197)]())};const _0x24f437=_0x5938a6[_0x28a3ff(0x223)]??detectCapabilitiesAsync;this[_0x28a3ff(0x223)]=async()=>{const _0x507c35=_0x28a3ff,_0x2dcff6=await _0x24f437();return{..._0x2dcff6,'metadata':upgradeMetadata(_0x2dcff6[_0x507c35(0x2c3)],this[_0x507c35(0x2b9)][_0x507c35(0x197)]())};},this[_0x28a3ff(0x229)]=_0x5938a6[_0x28a3ff(0x229)]??!![],this[_0x28a3ff(0x1f8)]=_0x5938a6[_0x28a3ff(0x1f8)]===undefined?undefined:new FakeTestRunner(_0x5938a6[_0x28a3ff(0x1f8)]),this[_0x28a3ff(0x1c1)]=_0x5938a6[_0x28a3ff(0x1c1)],this[_0x28a3ff(0x254)]=new RunAttachmentService(_0x1f8c6e=>this[_0x28a3ff(0x1bb)][_0x28a3ff(0x211)](_0x1f8c6e[_0x28a3ff(0x14e)])[_0x28a3ff(0x2aa)](_0x1f8c6e)),this[_0x28a3ff(0x203)]=new CodexRunner(_0x5938a6[_0x28a3ff(0x203)],_0x5938a6[_0x28a3ff(0x292)]),this[_0x28a3ff(0x15c)]=new CodexManagedRunController(this[_0x28a3ff(0x203)],{'available':()=>this[_0x28a3ff(0x24e)][_0x28a3ff(0x1a1)][_0x28a3ff(0x234)],'intercepted':()=>this[_0x28a3ff(0x1f8)]!==undefined,'active':this[_0x28a3ff(0x286)][_0x28a3ff(0x137)],'addActive':_0x1f34ac=>this[_0x28a3ff(0x286)][_0x28a3ff(0x137)][_0x28a3ff(0x18d)](_0x1f34ac),'removeActive':_0x48144c=>this[_0x28a3ff(0x286)][_0x28a3ff(0x137)][_0x28a3ff(0x216)](_0x48144c),'adopt':_0xac7ad5=>this[_0x28a3ff(0x2a3)][_0x28a3ff(0x1a4)](_0xac7ad5),'session':_0x55f072=>this[_0x28a3ff(0x2a3)][_0x28a3ff(0x12f)](_0x55f072),'runStatus':_0x394ef1=>this[_0x28a3ff(0x2a3)][_0x28a3ff(0x279)](_0x394ef1)?.[_0x28a3ff(0x268)],'run':_0x5c0a77=>this[_0x28a3ff(0x2a3)][_0x28a3ff(0x279)](_0x5c0a77),'interrupted':_0x5eeba9=>this[_0x28a3ff(0x286)][_0x28a3ff(0x1af)][_0x28a3ff(0x12e)](_0x5eeba9),'parseAttachments':parseRunnerImageAttachments,'materialize':(_0x3f61b2,_0x99624e)=>this[_0x28a3ff(0x254)][_0x28a3ff(0x1dd)](_0x3f61b2,_0x99624e),'completeCancelled':_0x1d3546=>this[_0x28a3ff(0x1ec)][_0x28a3ff(0x162)](_0x1d3546),'promoteSession':(_0x339d27,_0x2c790)=>this[_0x28a3ff(0x147)][_0x28a3ff(0x16a)](_0x339d27,_0x2c790),'send':(_0x3e329b,_0x48689c)=>this[_0x28a3ff(0x25d)](_0x3e329b,_0x48689c),'emit':(_0x3d9595,_0x544db5,_0x4cd57f,_0x1c9745)=>this[_0x28a3ff(0x2a1)][_0x28a3ff(0x1ff)](_0x3d9595,_0x544db5,_0x4cd57f,_0x1c9745),'cancel':(_0x46ca19,_0x2e8b6f,_0x481165,_0x3a512a,_0x5bf7ba)=>this[_0x28a3ff(0x1ec)][_0x28a3ff(0x2a7)](_0x46ca19,_0x2e8b6f,_0x481165,_0x3a512a,_0x5bf7ba),'createApproval':_0x5c3a55=>this[_0x28a3ff(0x2a3)][_0x28a3ff(0x139)](_0x5c3a55),'publishApproval':_0x24c2bf=>this[_0x28a3ff(0x2a1)][_0x28a3ff(0x1d4)](_0x24c2bf),'emitItem':(_0x4d9df6,_0xbb53e4)=>this[_0x28a3ff(0x20f)](_0x4d9df6,_0xbb53e4),'appendImages':(_0x5a1c0c,_0x100220)=>this[_0x28a3ff(0x254)][_0x28a3ff(0x1e7)](_0x5a1c0c,_0x100220[_0x28a3ff(0x257)](isRunnerImageAttachment)),'syncTitle':(_0x28ae48,_0x2cf25b,_0x59ea56)=>this[_0x28a3ff(0x2a0)][_0x28a3ff(0x289)](_0x28ae48,_0x2cf25b,_0x59ea56),'commandState':(_0x5c00a0,_0x512407)=>this[_0x28a3ff(0x1a8)][_0x28a3ff(0x27b)](_0x5c00a0,_0x512407),'setCommandState':(_0x3faadd,_0x4ac25f)=>this[_0x28a3ff(0x1a8)][_0x28a3ff(0x13d)](_0x3faadd,_0x4ac25f),'clearCommandState':(_0x405c0c,_0x5efc13)=>this[_0x28a3ff(0x1a8)][_0x28a3ff(0x17a)](_0x405c0c,_0x5efc13),'commandStates':_0x202396=>this[_0x28a3ff(0x1a8)][_0x28a3ff(0x2b5)](_0x202396),'hasActiveSessionLease':_0x5c09b0=>this[_0x28a3ff(0x2a3)][_0x28a3ff(0x29c)](_0x5c09b0),'fast':_0x3f5375=>this[_0x28a3ff(0x282)](_0x28a3ff(0x25f),{'runner':_0x28a3ff(0x1a1),'commandId':_0x28a3ff(0x1d9),'input':_0x3f5375})}),this[_0x28a3ff(0x203)][_0x28a3ff(0x19c)](_0x1e848b=>this[_0x28a3ff(0x15c)][_0x28a3ff(0x23a)](_0x1e848b)),this[_0x28a3ff(0x22b)]=new ClaudeCodeRunner(_0x5938a6[_0x28a3ff(0x22b)]),this[_0x28a3ff(0x1b8)]=new OpenCodeRunner(_0x5938a6[_0x28a3ff(0x1b8)]),this[_0x28a3ff(0x1d5)]=new MarAgentRunner(),this[_0x28a3ff(0x152)]=new MarAgentManagedRunController(this[_0x28a3ff(0x1d5)],{'active':this[_0x28a3ff(0x286)][_0x28a3ff(0x137)],'adopt':_0x237a99=>this[_0x28a3ff(0x2a3)][_0x28a3ff(0x1a4)](_0x237a99),'promote':(_0x50f566,_0x1fb07d)=>this[_0x28a3ff(0x147)][_0x28a3ff(0x16a)](_0x50f566,_0x1fb07d),'syncTitle':(_0x5356e2,_0x172c3c)=>this[_0x28a3ff(0x2a0)][_0x28a3ff(0x289)](_0x5356e2,_0x5356e2,_0x172c3c),'emit':(_0x271253,_0x237111,_0x3518d5,_0x133a9e)=>this[_0x28a3ff(0x2a1)][_0x28a3ff(0x1ff)](_0x271253,_0x237111,_0x3518d5,_0x133a9e),'emitItem':(_0x62a61b,_0x31c6ec)=>this[_0x28a3ff(0x20f)](_0x62a61b,_0x31c6ec),'createApproval':_0x5b615d=>this[_0x28a3ff(0x2a3)][_0x28a3ff(0x139)](_0x5b615d),'publishApproval':_0x37bd32=>this[_0x28a3ff(0x2a1)][_0x28a3ff(0x1d4)](_0x37bd32),'run':_0x26bdd6=>this[_0x28a3ff(0x2a3)][_0x28a3ff(0x279)](_0x26bdd6),'commandState':(_0x593150,_0x55bf77)=>this[_0x28a3ff(0x1a8)][_0x28a3ff(0x27b)](_0x593150,_0x55bf77),'setCommandState':(_0x4e01ee,_0xc09250)=>this[_0x28a3ff(0x1a8)][_0x28a3ff(0x13d)](_0x4e01ee,_0xc09250),'clearCommandState':(_0x72742e,_0x52dc55)=>this[_0x28a3ff(0x1a8)][_0x28a3ff(0x17a)](_0x72742e,_0x52dc55),'commandStates':_0x520b62=>this[_0x28a3ff(0x1a8)][_0x28a3ff(0x2b5)](_0x520b62),'webSearch':(_0x4f6321,_0x145a0f)=>this[_0x28a3ff(0x14a)](_0x4f6321,_0x145a0f)}),this[_0x28a3ff(0x1a0)]=new OpenCodeManagedRunController(this[_0x28a3ff(0x1b8)],{'intercepted':()=>this[_0x28a3ff(0x1f8)]!==undefined,'active':this[_0x28a3ff(0x286)][_0x28a3ff(0x137)],'parseAttachments':parseRunnerImageAttachments,'persistAttachments':(_0xf55704,_0x2ef349,_0x527fb1)=>this[_0x28a3ff(0x254)][_0x28a3ff(0x239)](_0xf55704,_0x2ef349+_0x28a3ff(0x281),_0x527fb1),'emit':(_0x417cf6,_0x5800a4,_0x84333a,_0xba508e)=>this[_0x28a3ff(0x2a1)][_0x28a3ff(0x1ff)](_0x417cf6,_0x5800a4,_0x84333a,_0xba508e),'emitItem':(_0x41f6f9,_0x43285f)=>this[_0x28a3ff(0x20f)](_0x41f6f9,_0x43285f),'adopt':_0x419b98=>this[_0x28a3ff(0x2a3)][_0x28a3ff(0x1a4)](_0x419b98),'run':_0x4b123d=>{const _0x4d81f6=_0x28a3ff,_0x2fbde9=this[_0x4d81f6(0x2a3)][_0x4d81f6(0x279)](_0x4b123d);if(_0x2fbde9===undefined)throw new Error(_0x4d81f6(0x19e));return _0x2fbde9;},'hasActiveSessionLease':_0x3e6957=>this[_0x28a3ff(0x2a3)][_0x28a3ff(0x29c)](_0x3e6957),'promote':(_0x5047eb,_0x379f34)=>this[_0x28a3ff(0x147)][_0x28a3ff(0x16a)](_0x5047eb,_0x379f34),'rememberNative':(_0x10440a,_0x33e1f3)=>this[_0x28a3ff(0x2a0)][_0x28a3ff(0x22a)](_0x10440a,_0x33e1f3),'send':(_0x1b11fd,_0x1b04b9)=>this[_0x28a3ff(0x25d)](_0x1b11fd,_0x1b04b9),'createApproval':_0x44d88e=>this[_0x28a3ff(0x2a3)][_0x28a3ff(0x139)](_0x44d88e),'expireApproval':_0x1c2ea1=>{const _0x237522=_0x28a3ff;this[_0x237522(0x2a3)][_0x237522(0x25a)](_0x1c2ea1);},'publishApproval':_0x54e1e7=>this[_0x28a3ff(0x2a1)][_0x28a3ff(0x1d4)](_0x54e1e7),'commandState':(_0x475984,_0x14de73)=>this[_0x28a3ff(0x1a8)][_0x28a3ff(0x27b)](_0x475984,_0x14de73),'setCommandState':(_0x252364,_0x1074ab)=>this[_0x28a3ff(0x1a8)][_0x28a3ff(0x13d)](_0x252364,_0x1074ab),'clearCommandState':(_0x541fc1,_0x43c3fd)=>this[_0x28a3ff(0x1a8)][_0x28a3ff(0x17a)](_0x541fc1,_0x43c3fd),'commandStates':_0x203f3a=>this[_0x28a3ff(0x1a8)][_0x28a3ff(0x2b5)](_0x203f3a)},this[_0x28a3ff(0x207)]),this[_0x28a3ff(0x1cc)]=new ClaudeManagedRunController(this[_0x28a3ff(0x22b)],{'intercepted':()=>this[_0x28a3ff(0x1f8)]!==undefined,'active':this[_0x28a3ff(0x286)][_0x28a3ff(0x137)],'parseAttachments':parseRunnerImageAttachments,'emit':(_0x4f1027,_0x23d0aa,_0x5a93ad,_0x5006a3)=>this[_0x28a3ff(0x2a1)][_0x28a3ff(0x1ff)](_0x4f1027,_0x23d0aa,_0x5a93ad,_0x5006a3),'adopt':_0x13fcd0=>this[_0x28a3ff(0x2a3)][_0x28a3ff(0x1a4)](_0x13fcd0),'run':_0x5deafb=>this[_0x28a3ff(0x2a3)][_0x28a3ff(0x279)](_0x5deafb),'hasActiveSessionLease':_0x3b5fb2=>this[_0x28a3ff(0x2a3)][_0x28a3ff(0x29c)](_0x3b5fb2),'session':_0x2670c9=>this[_0x28a3ff(0x2a3)][_0x28a3ff(0x12f)](_0x2670c9),'completeCancelled':_0x2b4bce=>this[_0x28a3ff(0x1ec)][_0x28a3ff(0x162)](_0x2b4bce),'requestUserInput':(_0x2b2d69,_0x365a9d,_0x17344b)=>this[_0x28a3ff(0x1ec)][_0x28a3ff(0x228)](_0x2b2d69,_0x365a9d,_0x17344b),'requestApproval':(_0x3061c4,_0x501677,_0x41c8b1)=>this[_0x28a3ff(0x1ec)][_0x28a3ff(0x28c)](_0x3061c4,_0x501677,_0x41c8b1),'rememberNative':(_0x146e7d,_0x551df4)=>this[_0x28a3ff(0x2a0)][_0x28a3ff(0x22a)](_0x146e7d,_0x551df4),'promote':(_0x67167a,_0x3a615f)=>this[_0x28a3ff(0x147)][_0x28a3ff(0x16a)](_0x67167a,_0x3a615f),'send':(_0x36d688,_0x152e4e)=>this[_0x28a3ff(0x25d)](_0x36d688,_0x152e4e),'emitItem':(_0x5728c8,_0x354783)=>this[_0x28a3ff(0x20f)](_0x5728c8,_0x354783),'syncTitle':(_0x2bba70,_0x2a6680,_0x29a626)=>this[_0x28a3ff(0x2a0)][_0x28a3ff(0x289)](_0x2bba70,_0x2a6680,_0x29a626),'setChannelToken':(_0x1f17c1,_0x34b2e3)=>this[_0x28a3ff(0x2a3)][_0x28a3ff(0x21f)](_0x1f17c1,_0x34b2e3),'commandState':(_0x72efe4,_0x10bd5d)=>this[_0x28a3ff(0x1a8)][_0x28a3ff(0x27b)](_0x72efe4,_0x10bd5d),'setCommandState':(_0x1c22e3,_0x247510)=>this[_0x28a3ff(0x1a8)][_0x28a3ff(0x13d)](_0x1c22e3,_0x247510),'clearCommandState':(_0x591c90,_0x41825d)=>this[_0x28a3ff(0x1a8)][_0x28a3ff(0x17a)](_0x591c90,_0x41825d),'commandStates':_0x35ff86=>this[_0x28a3ff(0x1a8)][_0x28a3ff(0x2b5)](_0x35ff86)}),this[_0x28a3ff(0x1bb)]=new RunnerRegistry([this[_0x28a3ff(0x1b8)],this[_0x28a3ff(0x1d5)],this[_0x28a3ff(0x203)],this[_0x28a3ff(0x22b)],...this[_0x28a3ff(0x1f8)]===undefined?[]:[this[_0x28a3ff(0x1f8)]]]),this[_0x28a3ff(0x2a0)]=new ManagedRunnerSessionService(this[_0x28a3ff(0x2a3)],this[_0x28a3ff(0x1bb)],_0x5a0f41=>this[_0x28a3ff(0x232)]({'session':this[_0x28a3ff(0x1d8)][_0x28a3ff(0x1f7)](_0x5a0f41)})),this[_0x28a3ff(0x1ec)]=new RunnerInteractionService({'runtime':this[_0x28a3ff(0x2a3)],'state':this[_0x28a3ff(0x286)],'codex':()=>this[_0x28a3ff(0x203)],'claude':()=>this[_0x28a3ff(0x22b)],'runners':this[_0x28a3ff(0x1bb)],'emitRun':(_0x10f86a,_0x250d5a,_0x4d93f1,_0x335025)=>this[_0x28a3ff(0x2a1)][_0x28a3ff(0x1ff)](_0x10f86a,_0x250d5a,_0x4d93f1,_0x335025),'emitItem':(_0x5ef8f4,_0x2f1596)=>this[_0x28a3ff(0x20f)](_0x5ef8f4,_0x2f1596),'approvalTimeoutMs':this[_0x28a3ff(0x207)],'publishApproval':_0x5c815f=>this[_0x28a3ff(0x2a1)][_0x28a3ff(0x1d4)](_0x5c815f)}),this[_0x28a3ff(0x180)]=new RunnerChannelMessageService({'interactions':this[_0x28a3ff(0x1ec)],'send':(_0x1519dd,_0x5dae9a,_0x729f9c)=>this[_0x28a3ff(0x25d)](_0x1519dd,_0x5dae9a,_0x729f9c)}),this[_0x28a3ff(0x1d8)]=new SessionPresentationService({'database':()=>this[_0x28a3ff(0x272)],'runtime':this[_0x28a3ff(0x2a3)],'commands':this[_0x28a3ff(0x1a8)],'runners':this[_0x28a3ff(0x1bb)],'capabilities':()=>this[_0x28a3ff(0x24e)],'hasManagedActiveRun':_0x533539=>hasManagedActiveRun(this[_0x28a3ff(0x2a3)],_0x533539),'externalActivity':_0x38034c=>this[_0x28a3ff(0x1c5)][_0x28a3ff(0x1e1)][_0x28a3ff(0x27b)](_0x38034c),'projectionForNative':_0x52efa3=>this[_0x28a3ff(0x15a)][_0x28a3ff(0x1dc)](_0x52efa3)}),this[_0x28a3ff(0x15a)]=new NativeSessionProjectionService({'database':()=>this[_0x28a3ff(0x272)],'nodeId':()=>this[_0x28a3ff(0x167)]?.[_0x28a3ff(0x284)]??_0x28a3ff(0x290),'runtime':this[_0x28a3ff(0x2a3)],'runners':this[_0x28a3ff(0x1bb)],'capabilities':()=>this[_0x28a3ff(0x24e)],'state':this[_0x28a3ff(0x1c5)],'commands':this[_0x28a3ff(0x1a8)],'present':_0x2f4499=>this[_0x28a3ff(0x1d8)][_0x28a3ff(0x1f7)](_0x2f4499)}),this[_0x28a3ff(0x1c6)]=new ConversationHistoryService({'runtime':this[_0x28a3ff(0x2a3)],'runners':this[_0x28a3ff(0x1bb)],'capabilities':()=>this[_0x28a3ff(0x24e)],'attachments':this[_0x28a3ff(0x254)],'snapshotSequence':()=>this[_0x28a3ff(0x20b)][_0x28a3ff(0x2b1)](),'hasManagedActiveRun':_0x58a109=>hasManagedActiveRun(this[_0x28a3ff(0x2a3)],_0x58a109),'setExternalActivity':(_0x2c3739,_0x30382a)=>this[_0x28a3ff(0x1c5)][_0x28a3ff(0x1e1)][_0x28a3ff(0x13d)](_0x2c3739,_0x30382a)}),this[_0x28a3ff(0x220)]=new ConversationSegmentService((_0x3efe66,_0x523eeb)=>this[_0x28a3ff(0x1c6)][_0x28a3ff(0x149)](_0x3efe66,_0x523eeb)),this[_0x28a3ff(0x1fb)]=new SessionContextService({'runners':this[_0x28a3ff(0x1bb)],'session':_0x4acc58=>this[_0x28a3ff(0x2a3)][_0x28a3ff(0x12f)](_0x4acc58),'stopped':()=>this[_0x28a3ff(0x265)],'publish':_0x337be4=>this[_0x28a3ff(0x232)](_0x337be4)}),this[_0x28a3ff(0x23b)]=new RunWorkbenchService({'runtime':this[_0x28a3ff(0x2a3)],'readImage':async(_0x1716c3,_0x145e18)=>this[_0x28a3ff(0x254)][_0x28a3ff(0x149)](_0x1716c3,_0x145e18)??await this[_0x28a3ff(0x254)][_0x28a3ff(0x2a6)](_0x1716c3,_0x145e18),'respondUserInput':(_0x5808b3,_0x1060da,_0x2e34b1)=>this[_0x28a3ff(0x1ec)][_0x28a3ff(0x26e)](_0x5808b3,_0x1060da,_0x2e34b1),'pauseQueue':_0x2fda47=>this[_0x28a3ff(0x225)][_0x28a3ff(0x22f)](_0x2fda47),'emitRun':(_0x51242d,_0x417743,_0x3c4c9c,_0xcf8be)=>this[_0x28a3ff(0x2a1)][_0x28a3ff(0x1ff)](_0x51242d,_0x417743,_0x3c4c9c,_0xcf8be),'control':(_0x5801d4,_0x46b924)=>this[_0x28a3ff(0x161)][_0x28a3ff(0x136)](JSON[_0x28a3ff(0x249)](createEnvelope(_0x5801d4,_0x46b924))),'markInterrupted':_0x6fb231=>this[_0x28a3ff(0x286)][_0x28a3ff(0x1af)][_0x28a3ff(0x18d)](_0x6fb231)}),this[_0x28a3ff(0x297)]=new SessionQueryService({'runtime':this[_0x28a3ff(0x2a3)],'runners':this[_0x28a3ff(0x1bb)],'resolve':_0x1c94f6=>this[_0x28a3ff(0x15a)][_0x28a3ff(0x21e)](_0x1c94f6),'present':_0xd87128=>this[_0x28a3ff(0x1d8)][_0x28a3ff(0x1f7)](_0xd87128),'history':(_0x1b86b7,_0x25ba6f)=>this[_0x28a3ff(0x1c6)][_0x28a3ff(0x149)](_0x1b86b7,_0x25ba6f),'segments':(_0xddee69,_0x185fe5)=>this[_0x28a3ff(0x220)][_0x28a3ff(0x149)](_0xddee69,_0x185fe5),'context':this[_0x28a3ff(0x1fb)],'discover':(_0x2dc315,_0x5acb56)=>this[_0x28a3ff(0x15a)][_0x28a3ff(0x160)](_0x2dc315,_0x5acb56),'workspaceIdForCwd':_0x211d5c=>this[_0x28a3ff(0x272)]?.[_0x28a3ff(0x255)]()[_0x28a3ff(0x205)](_0x475400=>_0x475400[_0x28a3ff(0x261)]===_0x211d5c)?.['id']}),this[_0x28a3ff(0x2c1)]=new ContinuousRunCoordinator({'runtime':this[_0x28a3ff(0x2a3)],'emitQueue':(_0xb6c51b,_0x1ba9d5)=>this[_0x28a3ff(0x2a1)][_0x28a3ff(0x2a4)](_0xb6c51b,_0x1ba9d5),'clearImages':_0x1bd08d=>this[_0x28a3ff(0x254)][_0x28a3ff(0x17a)](_0x1bd08d),'cleanupAttachments':_0x2ab29b=>this[_0x28a3ff(0x254)][_0x28a3ff(0x174)](_0x2ab29b),'migrateAssets':(_0x33a1e7,_0x2a050c)=>this[_0x28a3ff(0x254)][_0x28a3ff(0x16f)](_0x33a1e7,_0x2a050c),'emitRun':(_0x15361d,_0x58c9bb,_0x1b0858,_0x8f0ea4)=>this[_0x28a3ff(0x2a1)][_0x28a3ff(0x1ff)](_0x15361d,_0x58c9bb,_0x1b0858,_0x8f0ea4),'emitConversation':_0x1a7f5b=>this[_0x28a3ff(0x169)](_0x1a7f5b),'control':(_0x43478d,_0x3b0c32)=>this[_0x28a3ff(0x161)][_0x28a3ff(0x136)](JSON[_0x28a3ff(0x249)](createEnvelope(_0x43478d,_0x3b0c32))),'stopped':()=>this[_0x28a3ff(0x265)],'markInterrupted':_0x19334e=>this[_0x28a3ff(0x286)][_0x28a3ff(0x1af)][_0x28a3ff(0x18d)](_0x19334e),'mcps':_0x4058dd=>this[_0x28a3ff(0x272)]?.[_0x28a3ff(0x22c)](_0x4058dd)??[],'afterExecutionStarted':async _0x13669c=>{const _0x5e9f30=_0x28a3ff;if(_0x13669c[_0x5e9f30(0x22d)]===undefined)return;const _0x1f5ae1=this[_0x5e9f30(0x1f3)][_0x5e9f30(0x27b)](_0x13669c[_0x5e9f30(0x15f)]);if(_0x1f5ae1?.[_0x5e9f30(0x268)]!==_0x5e9f30(0x137)||_0x1f5ae1['id']!==_0x13669c[_0x5e9f30(0x22d)]['id']||_0x1f5ae1[_0x5e9f30(0x2c2)]!==_0x13669c[_0x5e9f30(0x22d)][_0x5e9f30(0x2c2)])return;const _0x128c0b=this[_0x5e9f30(0x1f3)][_0x5e9f30(0x27a)](_0x13669c[_0x5e9f30(0x15f)]),_0x45bc27=this[_0x5e9f30(0x2a3)][_0x5e9f30(0x12f)](_0x13669c[_0x5e9f30(0x15f)]);if(_0x128c0b!==undefined&&_0x45bc27!==undefined)this[_0x5e9f30(0x15e)](_0x45bc27,_0x128c0b);await this[_0x5e9f30(0x208)]({'sessionId':_0x13669c[_0x5e9f30(0x15f)],'mission':{'id':_0x1f5ae1['id'],'revision':_0x1f5ae1[_0x5e9f30(0x2c2)]},'secretEnvironment':_0x13669c[_0x5e9f30(0x1ea)],..._0x13669c[_0x5e9f30(0x271)]===undefined?{}:{'personalInstructions':_0x13669c[_0x5e9f30(0x271)]}});},'missionMcp':async _0x28fea5=>{const _0x12f31d=_0x28a3ff;if(_0x28fea5[_0x12f31d(0x22d)]===undefined)throw new Error(_0x12f31d(0x218));const _0x3c4283=await this[_0x12f31d(0x1c2)][_0x12f31d(0x243)]({'executionId':_0x28fea5[_0x12f31d(0x14c)],'sessionId':_0x28fea5[_0x12f31d(0x15f)],'missionId':_0x28fea5[_0x12f31d(0x22d)]['id'],'revision':_0x28fea5[_0x12f31d(0x22d)][_0x12f31d(0x2c2)]});return{'installation':{'targetKind':_0x12f31d(0x202),'targetId':_0x28fea5[_0x12f31d(0x1b5)],'catalogEntryId':_0x12f31d(0x176),'serverName':_0x12f31d(0x240),'displayName':_0x12f31d(0x1b9),'version':_0x12f31d(0x29d),'enabled':!![],'runtime':{'transport':_0x12f31d(0x2ab),'url':_0x12f31d(0x269),'headers':{}},'configuration':_0x3c4283[_0x12f31d(0x243)],'installedAt':Date[_0x12f31d(0x1d2)](),..._0x3c4283[_0x12f31d(0x243)]},'secrets':_0x3c4283[_0x12f31d(0x13a)]};}}),this[_0x28a3ff(0x225)]=new WorkspaceQueueWorkbenchService({'runtime':this[_0x28a3ff(0x2a3)],'coordinator':this[_0x28a3ff(0x2c1)],'emit':(_0x17d45,_0x1b1d98)=>this[_0x28a3ff(0x2a1)][_0x28a3ff(0x2a4)](_0x17d45,_0x1b1d98),'prepareInput':(_0x4272ee,_0x5c2c82,_0x1abd93)=>this[_0x28a3ff(0x1bb)][_0x28a3ff(0x211)](_0x4272ee)[_0x28a3ff(0x253)](_0x5c2c82,_0x1abd93)}),this[_0x28a3ff(0x147)]=new SessionIdentityService({'runtime':this[_0x28a3ff(0x2a3)],'persist':(_0x39db16,_0x51205e)=>{const _0x36f7dd=_0x28a3ff;if(_0x39db16[_0x36f7dd(0x215)]===null||_0x39db16[_0x36f7dd(0x1de)]===null||_0x39db16[_0x36f7dd(0x1e5)]===null)return;this[_0x36f7dd(0x272)]?.[_0x36f7dd(0x15d)]({'runner':_0x39db16[_0x36f7dd(0x14e)],'externalSessionId':_0x51205e,'workspaceId':_0x39db16[_0x36f7dd(0x1b5)],'model':_0x39db16[_0x36f7dd(0x215)],'effort':_0x39db16[_0x36f7dd(0x1de)],'access':_0x39db16[_0x36f7dd(0x1e5)]});},'migrateCommands':(_0x181fdf,_0x151401)=>this[_0x28a3ff(0x1a8)][_0x28a3ff(0x2ac)](_0x181fdf,_0x151401),'migrateMission':(_0x10e43a,_0x2c998c)=>{const _0x37f23a=_0x28a3ff;this[_0x37f23a(0x1f3)][_0x37f23a(0x142)](_0x10e43a,_0x2c998c),this[_0x37f23a(0x1c2)][_0x37f23a(0x142)](_0x10e43a,_0x2c998c);const _0x227f6c=this[_0x37f23a(0x2ae)][_0x37f23a(0x27b)](_0x10e43a);_0x227f6c!==undefined&&(this[_0x37f23a(0x2ae)][_0x37f23a(0x216)](_0x10e43a),_0x227f6c[_0x37f23a(0x15f)]=_0x2c998c,this[_0x37f23a(0x2ae)][_0x37f23a(0x13d)](_0x2c998c,_0x227f6c));const _0xf77149=this[_0x37f23a(0x23c)][_0x37f23a(0x27b)](_0x10e43a);_0xf77149!==undefined&&(this[_0x37f23a(0x23c)][_0x37f23a(0x216)](_0x10e43a),this[_0x37f23a(0x23c)][_0x37f23a(0x13d)](_0x2c998c,_0xf77149));},'migrateQueue':(_0x92fcc1,_0x140d30)=>this[_0x28a3ff(0x2c1)][_0x28a3ff(0x142)](_0x92fcc1,_0x140d30),'migrateRunnerState':(_0x420421,_0x8cf7f7)=>this[_0x28a3ff(0x2a1)][_0x28a3ff(0x194)](_0x420421,_0x8cf7f7),'emitSession':_0x42b860=>this[_0x28a3ff(0x232)]({'session':_0x42b860}),'emitRun':_0x3581c7=>this[_0x28a3ff(0x221)](_0x28a3ff(0x25b),{'run':_0x3581c7}),'emitQueue':_0x4b1a98=>this[_0x28a3ff(0x2c1)][_0x28a3ff(0x24f)](_0x4b1a98),'emitTurn':_0x127a1c=>this[_0x28a3ff(0x169)](_0x127a1c)}),this[_0x28a3ff(0x1e6)]=new SessionLifecycleService({'database':()=>{const _0x395ab5=_0x28a3ff;if(this[_0x395ab5(0x272)]===undefined)throw new Error(_0x395ab5(0x260));return this[_0x395ab5(0x272)];},'runtime':this[_0x28a3ff(0x2a3)],'runners':this[_0x28a3ff(0x1bb)],'projection':this[_0x28a3ff(0x15a)],'identity':this[_0x28a3ff(0x147)],'present':_0x137c28=>this[_0x28a3ff(0x1d8)][_0x28a3ff(0x1f7)](_0x137c28),'emitSession':_0x142e3b=>this[_0x28a3ff(0x232)]({'session':this[_0x28a3ff(0x1d8)][_0x28a3ff(0x1f7)](_0x142e3b)}),'execute':(_0x53a664,_0x17fca7)=>this[_0x28a3ff(0x282)](_0x53a664,_0x17fca7),'interceptedSessionId':_0x32a184=>this[_0x28a3ff(0x1f8)]===undefined?undefined:_0x28a3ff(0x148)+_0x32a184}),this[_0x28a3ff(0x1f4)]=new ExternalSessionResumeService({'runtime':this[_0x28a3ff(0x2a3)],'runners':this[_0x28a3ff(0x1bb)],'state':this[_0x28a3ff(0x1c5)],'available':_0xc3d942=>this[_0x28a3ff(0x1bb)][_0x28a3ff(0x211)](_0xc3d942)[_0x28a3ff(0x234)](this[_0x28a3ff(0x24e)]),'projectionFor':_0x24af20=>this[_0x28a3ff(0x15a)][_0x28a3ff(0x1dc)](_0x24af20),'managedAliasFor':_0x41b2fa=>this[_0x28a3ff(0x15a)][_0x28a3ff(0x235)](_0x41b2fa),'ensureConfiguration':_0x3884e9=>this[_0x28a3ff(0x15a)][_0x28a3ff(0x263)](_0x3884e9),'configuration':_0x558b91=>this[_0x28a3ff(0x15a)][_0x28a3ff(0x1da)](_0x558b91),'workspacePath':_0x54704b=>this[_0x28a3ff(0x272)]?.[_0x28a3ff(0x2b6)](_0x54704b)?.[_0x28a3ff(0x261)],'rememberNative':(_0x5defd0,_0x2ac93f)=>this[_0x28a3ff(0x2a0)][_0x28a3ff(0x22a)](_0x5defd0,_0x2ac93f),'stage':_0x13c3b4=>{const _0x2dbc8d=_0x28a3ff,_0x151f33=this[_0x2dbc8d(0x15a)][_0x2dbc8d(0x1da)](_0x13c3b4);return this[_0x2dbc8d(0x2a3)][_0x2dbc8d(0x1e0)]({'workspaceId':_0x13c3b4[_0x2dbc8d(0x1b5)],'runner':_0x13c3b4[_0x2dbc8d(0x14e)],'externalSessionId':_0x13c3b4[_0x2dbc8d(0x153)]??_0x13c3b4['id'],'nativeControl':_0x2dbc8d(0x246),'cwd':_0x13c3b4[_0x2dbc8d(0x210)],'model':_0x151f33[_0x2dbc8d(0x215)],'effort':_0x151f33[_0x2dbc8d(0x1de)],'access':_0x151f33[_0x2dbc8d(0x1e5)],..._0x13c3b4[_0x2dbc8d(0x1f6)]===null?{}:{'title':_0x13c3b4[_0x2dbc8d(0x1f6)]},..._0x13c3b4[_0x2dbc8d(0x2b0)]===null?{}:{'customTitle':_0x13c3b4[_0x2dbc8d(0x2b0)]}});},'resolve':_0x3ee3bc=>this[_0x28a3ff(0x15a)][_0x28a3ff(0x21e)](_0x3ee3bc)}),this[_0x28a3ff(0x204)]=new SessionCommandService({'runtime':this[_0x28a3ff(0x2a3)],'runners':this[_0x28a3ff(0x1bb)],'projection':this[_0x28a3ff(0x15a)],'resume':this[_0x28a3ff(0x1f4)],'profiles':()=>this[_0x28a3ff(0x1b6)][_0x28a3ff(0x179)](),'present':_0x34ecb9=>this[_0x28a3ff(0x1d8)][_0x28a3ff(0x1f7)](_0x34ecb9),'resumeQueueAfterCommandRun':_0x5a6f35=>this[_0x28a3ff(0x225)][_0x28a3ff(0x24c)](_0x5a6f35),'beginMission':_0x3f2067=>{const _0x3e3794=_0x28a3ff,_0x1ecfc9=this[_0x3e3794(0x1a8)][_0x3e3794(0x27b)](_0x3f2067['id'],_0x3e3794(0x22d));if(_0x1ecfc9?.[_0x3e3794(0x137)]===!![])return{'session':this[_0x3e3794(0x1d8)][_0x3e3794(0x1f7)](_0x3f2067),'missionAlreadyActive':!![]};_0x1ecfc9!==undefined&&(this[_0x3e3794(0x1f3)][_0x3e3794(0x17a)](_0x3f2067['id']),this[_0x3e3794(0x1a8)][_0x3e3794(0x17a)](_0x3f2067['id'],_0x3e3794(0x22d)));const _0x45b3fa=this[_0x3e3794(0x2ba)](_0x3f2067);return this[_0x3e3794(0x2c1)][_0x3e3794(0x1c3)](_0x3f2067['id']),this[_0x3e3794(0x1a8)][_0x3e3794(0x13d)](_0x3f2067['id'],this[_0x3e3794(0x195)]()),this[_0x3e3794(0x221)](_0x3e3794(0x1ab),{'session':this[_0x3e3794(0x1d8)][_0x3e3794(0x1f7)](_0x45b3fa[_0x3e3794(0x1ab)])}),{'session':this[_0x3e3794(0x1d8)][_0x3e3794(0x1f7)](_0x45b3fa[_0x3e3794(0x1ab)]),'missionAccessChanged':_0x45b3fa[_0x3e3794(0x2a8)]};},'mission':async({session:_0x2b0135,objective:_0x482921,secretEnvironment:_0x48fdfa,personalInstructions:_0x4c0ebc})=>{const _0x149e62=_0x28a3ff;this[_0x149e62(0x17e)](_0x2b0135['id']);const _0x50e30a=this[_0x149e62(0x2ba)](_0x2b0135),_0x5c78c0=_0x50e30a[_0x149e62(0x1ab)],_0x3932ff=this[_0x149e62(0x1f3)][_0x149e62(0x27b)](_0x2b0135['id'])?.[_0x149e62(0x268)]===_0x149e62(0x137);this[_0x149e62(0x2c1)][_0x149e62(0x287)](_0x2b0135['id']);const _0x397167=this[_0x149e62(0x1f3)][_0x149e62(0x21a)](_0x2b0135['id'],_0x482921);this[_0x149e62(0x15e)](_0x5c78c0,_0x397167);const _0x19989f=await this[_0x149e62(0x19b)][_0x149e62(0x29a)]({'sessionId':_0x2b0135['id'],'kind':_0x149e62(0x21a),'content':this[_0x149e62(0x1f3)][_0x149e62(0x293)](_0x2b0135['id'],_0x149e62(0x21a)),'deliveryIntent':_0x3932ff?_0x149e62(0x20e):_0x149e62(0x144),'mission':{'id':_0x397167['id'],'revision':_0x397167[_0x149e62(0x2c2)]},'secretEnvironment':_0x48fdfa,..._0x4c0ebc===undefined?{}:{'personalInstructions':_0x4c0ebc}});return{...isPlainRecord(_0x19989f)?_0x19989f:{'result':_0x19989f},'missionAccessChanged':_0x50e30a[_0x149e62(0x2a8)]};},'clearMission':_0x5594c5=>{const _0x1d2b3e=_0x28a3ff;return this[_0x1d2b3e(0x17e)](_0x5594c5['id']),this[_0x1d2b3e(0x1f3)][_0x1d2b3e(0x17a)](_0x5594c5['id']),this[_0x1d2b3e(0x2c1)][_0x1d2b3e(0x287)](_0x5594c5['id']),this[_0x1d2b3e(0x28d)](_0x5594c5['id'],_0x1d2b3e(0x28b)),this[_0x1d2b3e(0x1a8)][_0x1d2b3e(0x17a)](_0x5594c5['id'],_0x1d2b3e(0x22d)),this[_0x1d2b3e(0x221)](_0x1d2b3e(0x1ab),{'session':this[_0x1d2b3e(0x1d8)][_0x1d2b3e(0x1f7)](_0x5594c5)}),{'session':this[_0x1d2b3e(0x1d8)][_0x1d2b3e(0x1f7)](_0x5594c5),'cleared':!![]};}}),this[_0x28a3ff(0x19b)]=new SessionMessageService({'runtime':this[_0x28a3ff(0x2a3)],'uploads':this[_0x28a3ff(0x157)],'attachments':this[_0x28a3ff(0x254)],'commands':this[_0x28a3ff(0x1a8)],'coordinator':this[_0x28a3ff(0x2c1)],'runners':this[_0x28a3ff(0x1bb)],'resolve':_0x5f1159=>this[_0x28a3ff(0x1f4)][_0x28a3ff(0x291)](_0x5f1159),'present':_0x128753=>this[_0x28a3ff(0x1d8)][_0x28a3ff(0x1f7)](_0x128753),'emitSession':_0x22d8aa=>this[_0x28a3ff(0x232)]({'session':this[_0x28a3ff(0x1d8)][_0x28a3ff(0x1f7)](_0x22d8aa)}),'channelToken':_0x2dc378=>{const _0x455df4=_0x28a3ff,_0x1a7669=this[_0x455df4(0x2a3)][_0x455df4(0x12f)](_0x2dc378);return _0x1a7669?.[_0x455df4(0x1d1)]??undefined;},'missionMessage':(_0x375053,_0x4a07b1)=>{const _0x48d160=_0x28a3ff,_0x53924b=this[_0x48d160(0x1a8)][_0x48d160(0x27b)](_0x375053['id'],_0x48d160(0x22d));if(_0x53924b?.[_0x48d160(0x137)]!==!![])return undefined;const _0xba90d5=this[_0x48d160(0x1f3)][_0x48d160(0x27b)](_0x375053['id']);if(_0xba90d5?.[_0x48d160(0x268)]===_0x48d160(0x137))return{'runnerContent':_0x4a07b1,'mission':{'id':_0xba90d5['id'],'revision':_0xba90d5[_0x48d160(0x2c2)]},'activated':![]};const _0x5ebbfc=this[_0x48d160(0x1f3)][_0x48d160(0x21a)](_0x375053['id'],_0x4a07b1);return this[_0x48d160(0x15e)](_0x375053,_0x5ebbfc),{'runnerContent':this[_0x48d160(0x1f3)][_0x48d160(0x293)](_0x375053['id'],_0x48d160(0x21a)),'mission':{'id':_0x5ebbfc['id'],'revision':_0x5ebbfc[_0x48d160(0x2c2)]},'activated':!![]};},'prepareMissionInsertion':(_0x43fcb6,_0x1b651e)=>this[_0x28a3ff(0x2c1)][_0x28a3ff(0x1c3)](_0x43fcb6,_0x1b651e),'missionPreparationFailed':(_0x1011f7,_0x5f4c48,_0x50de1b)=>{const _0x413caa=_0x28a3ff;if(!_0x50de1b)return;const _0x48650f=this[_0x413caa(0x1f3)][_0x413caa(0x27b)](_0x1011f7['id']);if(_0x48650f?.['id']!==_0x5f4c48['id']||_0x48650f[_0x413caa(0x2c2)]!==_0x5f4c48[_0x413caa(0x2c2)])return;this[_0x413caa(0x1f3)][_0x413caa(0x17a)](_0x1011f7['id']),this[_0x413caa(0x28d)](_0x1011f7['id'],_0x413caa(0x1c8)),this[_0x413caa(0x1a8)][_0x413caa(0x13d)](_0x1011f7['id'],this[_0x413caa(0x195)]()),this[_0x413caa(0x221)](_0x413caa(0x1ab),{'session':this[_0x413caa(0x1d8)][_0x413caa(0x1f7)](_0x1011f7)});}}),this[_0x28a3ff(0x135)]=new SessionCatalogService({'database':()=>{const _0x1cc934=_0x28a3ff;if(this[_0x1cc934(0x272)]===undefined)throw new Error(_0x1cc934(0x260));return this[_0x1cc934(0x272)];},'nodeId':()=>this[_0x28a3ff(0x167)]?.[_0x28a3ff(0x284)]??_0x28a3ff(0x290),'runtime':this[_0x28a3ff(0x2a3)],'runners':this[_0x28a3ff(0x1bb)],'projection':this[_0x28a3ff(0x15a)],'resume':this[_0x28a3ff(0x1f4)],'cachedNative':()=>[...this[_0x28a3ff(0x1c5)][_0x28a3ff(0x1c4)][_0x28a3ff(0x2bc)]()],'cachedWorkspace':_0x97f616=>this[_0x28a3ff(0x158)][_0x28a3ff(0x25e)](_0x97f616),'present':_0x5352dd=>this[_0x28a3ff(0x1d8)][_0x28a3ff(0x1f7)](_0x5352dd),'projectionForNative':_0xf39aad=>this[_0x28a3ff(0x15a)][_0x28a3ff(0x1dc)](_0xf39aad),'nativeIds':_0x513c22=>this[_0x28a3ff(0x15a)][_0x28a3ff(0x20a)](_0x513c22),'forget':(_0x5a28ed,_0x5a6572)=>this[_0x28a3ff(0x15a)][_0x28a3ff(0x222)](_0x5a28ed,_0x5a6572),'refreshActivity':_0x5086f9=>this[_0x28a3ff(0x1c6)][_0x28a3ff(0x1a7)](_0x5086f9),'externalActivity':_0x4db8d9=>this[_0x28a3ff(0x1c5)][_0x28a3ff(0x1e1)][_0x28a3ff(0x27b)](_0x4db8d9),'history':(_0x247e63,_0x2a0037)=>this[_0x28a3ff(0x1c6)][_0x28a3ff(0x149)](_0x247e63,_0x2a0037),'emitSession':_0xe21037=>this[_0x28a3ff(0x232)]({'session':this[_0x28a3ff(0x1d8)][_0x28a3ff(0x1f7)](_0xe21037)})}),this[_0x28a3ff(0x203)][_0x28a3ff(0x212)]({'start':_0x191a25=>this[_0x28a3ff(0x15c)][_0x28a3ff(0x21a)](_0x191a25),'cancel':(_0x3d3904,_0x503203)=>{const _0x506ce2=_0x28a3ff,_0x228f7b=this[_0x506ce2(0x203)][_0x506ce2(0x1c0)][_0x506ce2(0x276)][_0x506ce2(0x27b)](_0x3d3904);if(_0x228f7b?.[_0x506ce2(0x1cf)]===undefined)return![];return void this[_0x506ce2(0x1ec)][_0x506ce2(0x2a7)](_0x3d3904,_0x228f7b[_0x506ce2(0x296)],_0x228f7b[_0x506ce2(0x1cf)],_0x228f7b[_0x506ce2(0x210)],_0x503203===_0x506ce2(0x18f)?_0x506ce2(0x242):_0x506ce2(0x188)),!![];},'decideApproval':_0x35972a=>this[_0x28a3ff(0x1ec)][_0x28a3ff(0x26c)](_0x35972a[_0x28a3ff(0x1cd)],_0x35972a[_0x28a3ff(0x17d)])}),this[_0x28a3ff(0x22b)][_0x28a3ff(0x212)]({'start':_0x2c94b2=>this[_0x28a3ff(0x1cc)][_0x28a3ff(0x21a)](_0x2c94b2),'cancel':(_0x36d3fa,_0x21d142)=>this[_0x28a3ff(0x1ec)][_0x28a3ff(0x155)](_0x36d3fa,_0x21d142),'decideApproval':_0x3deb95=>this[_0x28a3ff(0x1ec)][_0x28a3ff(0x236)](_0x3deb95[_0x28a3ff(0x1cd)],_0x3deb95[_0x28a3ff(0x17d)])}),this[_0x28a3ff(0x1b8)][_0x28a3ff(0x212)]({'start':_0x18f13d=>this[_0x28a3ff(0x1a0)][_0x28a3ff(0x21a)](_0x18f13d),'cancel':(_0x40b850,_0x5778dd)=>this[_0x28a3ff(0x1a0)][_0x28a3ff(0x1ed)](_0x40b850,_0x5778dd),'decideApproval':_0x64b457=>this[_0x28a3ff(0x1a0)][_0x28a3ff(0x1bc)](_0x64b457),'respondUserInput':(_0x41e203,_0x50241c,_0x5e16c4)=>this[_0x28a3ff(0x1a0)][_0x28a3ff(0x26e)](_0x41e203,_0x50241c,_0x5e16c4)}),this[_0x28a3ff(0x1d5)][_0x28a3ff(0x212)]({'start':_0x2b904f=>this[_0x28a3ff(0x152)][_0x28a3ff(0x21a)](_0x2b904f),'cancel':(_0x270170,_0x3e881c)=>this[_0x28a3ff(0x152)][_0x28a3ff(0x1ed)](_0x270170,_0x3e881c),'decideApproval':_0x358787=>this[_0x28a3ff(0x152)][_0x28a3ff(0x1bc)](_0x358787),'respondUserInput':(_0x1e7cc2,_0x5a60e4,_0x36dac3)=>this[_0x28a3ff(0x152)][_0x28a3ff(0x26e)](_0x1e7cc2,_0x5a60e4,_0x36dac3)}),this[_0x28a3ff(0x203)][_0x28a3ff(0x2bb)]({'execute':(_0x1c52ee,_0x3ab4a3,_0x51653b,_0x414120)=>this[_0x28a3ff(0x15c)][_0x28a3ff(0x2bd)](_0x1c52ee,_0x3ab4a3,_0x51653b,_0x414120)}),this[_0x28a3ff(0x22b)][_0x28a3ff(0x2bb)]({'execute':(_0x4a0e4f,_0xd0c965,_0x149ee0,_0xef61f)=>this[_0x28a3ff(0x1cc)][_0x28a3ff(0x2bd)](_0x4a0e4f,_0xd0c965,_0x149ee0,_0xef61f)}),this[_0x28a3ff(0x1b8)][_0x28a3ff(0x2bb)]({'execute':(_0x5c43d9,_0x186883,_0xc8b756,_0x308cac)=>this[_0x28a3ff(0x1a0)][_0x28a3ff(0x2bd)](_0x5c43d9,_0x186883,_0x308cac)}),this[_0x28a3ff(0x1d5)][_0x28a3ff(0x2bb)]({'execute':(_0x3917f6,_0x39bafd,_0x22403e,_0x263703)=>this[_0x28a3ff(0x152)][_0x28a3ff(0x2bd)](_0x3917f6,_0x39bafd,_0x22403e,_0x263703)});const _0x3c7a6a=this[_0x28a3ff(0x1f8)]===undefined||this[_0x28a3ff(0x1c1)]===undefined?undefined:new FakeManagedRunService({'runner':this[_0x28a3ff(0x1f8)],'script':this[_0x28a3ff(0x1c1)],'runners':this[_0x28a3ff(0x1bb)],'runtime':this[_0x28a3ff(0x2a3)],'state':this[_0x28a3ff(0x286)],'emitRun':(_0xb612ae,_0x1ac1c4,_0x59a958,_0x1917e0)=>this[_0x28a3ff(0x2a1)][_0x28a3ff(0x1ff)](_0xb612ae,_0x1ac1c4,_0x59a958,_0x1917e0),'publishApproval':_0x5453e9=>this[_0x28a3ff(0x2a1)][_0x28a3ff(0x1d4)](_0x5453e9),'disconnect':()=>this[_0x28a3ff(0x171)][_0x28a3ff(0x163)](0x77*-0x3b+0x86+0x2a91,_0x28a3ff(0x1f2))});this[_0x28a3ff(0x1f8)]?.[_0x28a3ff(0x212)]({'start':_0x371f8d=>_0x3c7a6a?.[_0x28a3ff(0x21a)](_0x371f8d),'cancel':(_0xd48e36,_0x17066c)=>_0x17066c===_0x28a3ff(0x18f)?this[_0x28a3ff(0x1f8)]?.[_0x28a3ff(0x1ed)](_0xd48e36)??![]:this[_0x28a3ff(0x1f8)]?.[_0x28a3ff(0x13f)](_0xd48e36)??![],'decideApproval':_0xd06a89=>this[_0x28a3ff(0x1f8)]?.[_0x28a3ff(0x150)](_0xd06a89[_0x28a3ff(0x14c)],_0xd06a89[_0x28a3ff(0x1cd)],_0xd06a89[_0x28a3ff(0x17d)])??![]}),this[_0x28a3ff(0x191)]=_0x5938a6[_0x28a3ff(0x191)]??new RunnerUsageReader(),this[_0x28a3ff(0x272)]=_0x5938a6[_0x28a3ff(0x272)],this[_0x28a3ff(0x25c)]=_0x5938a6[_0x28a3ff(0x25c)]??new TerminalManager({'platform':this[_0x28a3ff(0x24e)][_0x28a3ff(0x28e)]===_0x28a3ff(0x185)?_0x28a3ff(0x154):_0x28a3ff(0x1c9)}),this[_0x28a3ff(0x25c)][_0x28a3ff(0x1b2)](_0x45f9b2=>this[_0x28a3ff(0x158)][_0x28a3ff(0x248)](_0x45f9b2)),this[_0x28a3ff(0x247)]=new NodeTerminalChannel({'config':()=>this[_0x28a3ff(0x167)],'controlConnected':()=>this[_0x28a3ff(0x171)][_0x28a3ff(0x241)](),'stopped':()=>this[_0x28a3ff(0x265)],'reconnect':this[_0x28a3ff(0x229)],'reconnectDelay':nextReconnectDelay,'manager':this[_0x28a3ff(0x25c)]}),this[_0x28a3ff(0x171)]=new NodeControlChannel({'config':()=>this[_0x28a3ff(0x167)],'capabilities':()=>this[_0x28a3ff(0x24e)],'stopped':()=>this[_0x28a3ff(0x265)],'reconnect':this[_0x28a3ff(0x229)],'reconnectDelay':nextReconnectDelay,'onConnecting':_0x57ea2c=>{const _0x514411=_0x28a3ff;this[_0x514411(0x1a5)][_0x514411(0x233)](),nodeLog(_0x514411(0x270),{'attempt':_0x57ea2c});},'onReconnectScheduled':()=>this[_0x28a3ff(0x1a5)][_0x28a3ff(0x189)](),'onMessage':_0x102e97=>this[_0x28a3ff(0x238)](_0x102e97),'onClose':(_0x4fe224,_0x29f0db)=>{const _0x55dee5=_0x28a3ff;this[_0x55dee5(0x247)][_0x55dee5(0x245)]();if(_0x4fe224===-0x2bd*-0x8+-0x55d+-0xeb&&_0x29f0db===_0x55dee5(0x183))nodeLog(_0x55dee5(0x1ef),{'message':_0x55dee5(0x18b)});if(_0x4fe224===-0x1e6*0xa+-0x14ae+0x374d||_0x4fe224===0x1ef1+-0x1*0x9c2+-0x1146)void this[_0x55dee5(0x25c)][_0x55dee5(0x21d)]();}}),this[_0x28a3ff(0x161)]=new NodeControlMessageService({'config':()=>this[_0x28a3ff(0x167)],'register':(_0x386a99,_0x395d74)=>this[_0x28a3ff(0x274)][_0x28a3ff(0x1fe)](_0x386a99,_0x395d74),'connected':()=>this[_0x28a3ff(0x274)][_0x28a3ff(0x241)](),'close':(_0x24e666,_0x596a9e)=>this[_0x28a3ff(0x171)][_0x28a3ff(0x163)](_0x24e666,_0x596a9e),'inspectWorkspace':_0x3bd2b0=>this[_0x28a3ff(0x158)][_0x28a3ff(0x1eb)](_0x3bd2b0),'handleNodeRequest':_0x481de2=>this[_0x28a3ff(0x16d)][_0x28a3ff(0x136)](_0x481de2),'reconcileRuns':_0x3f1e7b=>this[_0x28a3ff(0x2a1)][_0x28a3ff(0x134)](_0x3f1e7b),'runners':this[_0x28a3ff(0x1bb)],'deliverSessionChannelMessage':_0x46ab8c=>this[_0x28a3ff(0x180)][_0x28a3ff(0x136)](_0x46ab8c),'completeUncontrolledCancellation':_0x4ed640=>{const _0x26dd57=_0x28a3ff,_0x52dad2=this[_0x26dd57(0x2a3)][_0x26dd57(0x279)](_0x4ed640);if(_0x52dad2?.[_0x26dd57(0x268)]===_0x26dd57(0x17f))this[_0x26dd57(0x1ec)][_0x26dd57(0x162)](_0x4ed640);},'send':(_0x294fe3,_0x441aa3,_0x52c817)=>this[_0x28a3ff(0x25d)](_0x294fe3,_0x441aa3,_0x52c817)}),this[_0x28a3ff(0x16d)]=new NodeRequestService({'nodeId':()=>this[_0x28a3ff(0x167)]?.[_0x28a3ff(0x284)],'databaseAvailable':()=>this[_0x28a3ff(0x272)]!==undefined,'execute':(_0x22f587,_0x5ca54d)=>this[_0x28a3ff(0x282)](_0x22f587,_0x5ca54d),'send':(_0x103b1a,_0x55d65a,_0x59a6dc)=>this[_0x28a3ff(0x25d)](_0x103b1a,_0x55d65a,_0x59a6dc)}),this[_0x28a3ff(0x158)]=new NodeWorkspaceCoordinator({'config':()=>this[_0x28a3ff(0x167)],'database':()=>this[_0x28a3ff(0x272)],'watches':this[_0x28a3ff(0x29b)],'sessions':this[_0x28a3ff(0x23d)],'changes':this[_0x28a3ff(0x1e4)],'emit':(_0x51f871,_0x22c72c)=>void this[_0x28a3ff(0x19f)]?.[_0x28a3ff(0x209)](_0x51f871,_0x22c72c),'send':(_0x52805c,_0x367186,_0x34153f)=>this[_0x28a3ff(0x25d)](_0x52805c,_0x367186,_0x34153f)}),this[_0x28a3ff(0x2a1)]=new NodeRunEventBridge({'runtime':this[_0x28a3ff(0x2a3)],'state':this[_0x28a3ff(0x286)],'events':this[_0x28a3ff(0x219)],'emitWorkbench':(_0xf5e3be,_0x5bb9af)=>this[_0x28a3ff(0x168)](_0xf5e3be,_0x5bb9af),'queues':this[_0x28a3ff(0x225)],'codex':this[_0x28a3ff(0x203)],'claude':this[_0x28a3ff(0x22b)],'openCode':this[_0x28a3ff(0x1b8)],'send':(_0x47071d,_0x4453a9,_0x2b5e60)=>this[_0x28a3ff(0x25d)](_0x47071d,_0x4453a9,_0x2b5e60)}),this[_0x28a3ff(0x274)]=new NodeConnectionLifecycleService({'config':()=>this[_0x28a3ff(0x167)],'setConfig':_0x1af5a5=>this[_0x28a3ff(0x167)]=_0x1af5a5,'configPath':this[_0x28a3ff(0x165)],'capabilities':()=>this[_0x28a3ff(0x24e)],'detectCapabilities':this[_0x28a3ff(0x223)],'capabilitiesProvided':this[_0x28a3ff(0x26b)],'stopped':()=>this[_0x28a3ff(0x265)],'setCapabilities':_0x4577fe=>this[_0x28a3ff(0x24e)]={..._0x4577fe,'metadata':upgradeMetadata(_0x4577fe[_0x28a3ff(0x2c3)],this[_0x28a3ff(0x2b9)][_0x28a3ff(0x197)]())},'control':this[_0x28a3ff(0x171)],'terminal':this[_0x28a3ff(0x247)],'metrics':this[_0x28a3ff(0x1a5)],'heartbeatMs':HEARTBEAT_MS,'refreshMs':CAPABILITY_REFRESH_MS,'onConnected':()=>this[_0x28a3ff(0x251)][_0x28a3ff(0x230)]()});const _0x3b14fe=()=>{const _0x347648=_0x28a3ff;if(this[_0x347648(0x272)]===undefined)throw new Error(_0x347648(0x260));return this[_0x347648(0x272)];};this[_0x28a3ff(0x1b6)]=new RunnerService(_0x3b14fe,()=>this[_0x28a3ff(0x24e)],this[_0x28a3ff(0x1bb)],this[_0x28a3ff(0x191)]),this[_0x28a3ff(0x159)]=new WorkbenchManifestService({'capabilities':()=>this[_0x28a3ff(0x24e)],'runners':this[_0x28a3ff(0x1b6)],'terminals':this[_0x28a3ff(0x25c)]}),this[_0x28a3ff(0x177)]=new TerminalService(_0x3b14fe,this[_0x28a3ff(0x25c)]),this[_0x28a3ff(0x1b4)]=new WorkspaceService(_0x3b14fe,()=>{const _0x101a9b=_0x28a3ff;if(this[_0x101a9b(0x167)]===undefined)throw new Error(_0x101a9b(0x178));return this[_0x101a9b(0x167)];},this[_0x28a3ff(0x2a3)],_0x5353f0=>{const _0x3d0ae8=_0x28a3ff;this[_0x3d0ae8(0x20c)][_0x3d0ae8(0x138)](_0x5353f0),this[_0x3d0ae8(0x158)][_0x3d0ae8(0x27f)](_0x5353f0),this[_0x3d0ae8(0x23d)][_0x3d0ae8(0x1d0)](_0x5353f0),this[_0x3d0ae8(0x158)][_0x3d0ae8(0x1fc)](_0x5353f0);}),this[_0x28a3ff(0x19f)]=new WorkspaceWorkbenchService({'requireWorkspace':_0xb36ae4=>this[_0x28a3ff(0x158)][_0x28a3ff(0x211)](_0xb36ae4),'watch':this[_0x28a3ff(0x29b)],'files':this[_0x28a3ff(0x20c)],'uploads':this[_0x28a3ff(0x157)],'changes':this[_0x28a3ff(0x1e4)],'listSessions':_0x1b222b=>this[_0x28a3ff(0x282)](_0x28a3ff(0x24d),{'workspaceId':_0x1b222b,'limit':0x14}),'invalidate':_0x816999=>this[_0x28a3ff(0x158)][_0x28a3ff(0x1d0)](_0x816999),'nodeId':()=>this[_0x28a3ff(0x167)]?.[_0x28a3ff(0x284)]??_0x28a3ff(0x1f0),'nodeGeneration':()=>this[_0x28a3ff(0x256)],'emitWatchEvent':_0x4228bf=>this[_0x28a3ff(0x25d)](_0x28a3ff(0x14f),_0x4228bf)}),this[_0x28a3ff(0x16b)][_0x28a3ff(0x1ca)](this[_0x28a3ff(0x1b6)][_0x28a3ff(0x2b8)]()),this[_0x28a3ff(0x16b)][_0x28a3ff(0x1ca)](this[_0x28a3ff(0x177)][_0x28a3ff(0x2b8)]()),this[_0x28a3ff(0x16b)][_0x28a3ff(0x1ca)](this[_0x28a3ff(0x1b4)][_0x28a3ff(0x2b8)]()),this[_0x28a3ff(0x16b)][_0x28a3ff(0x1ca)](this[_0x28a3ff(0x19f)][_0x28a3ff(0x2b8)]()),this[_0x28a3ff(0x16b)][_0x28a3ff(0x1ca)](this[_0x28a3ff(0x23b)][_0x28a3ff(0x2b8)]()),this[_0x28a3ff(0x16b)][_0x28a3ff(0x1ca)](this[_0x28a3ff(0x29e)][_0x28a3ff(0x2b8)]()),this[_0x28a3ff(0x16b)][_0x28a3ff(0x1ca)](this[_0x28a3ff(0x297)][_0x28a3ff(0x2b8)]()),this[_0x28a3ff(0x16b)][_0x28a3ff(0x1ca)](this[_0x28a3ff(0x1e6)][_0x28a3ff(0x2b8)]()),this[_0x28a3ff(0x16b)][_0x28a3ff(0x1ca)](this[_0x28a3ff(0x19b)][_0x28a3ff(0x2b8)]()),this[_0x28a3ff(0x16b)][_0x28a3ff(0x1ca)](this[_0x28a3ff(0x135)][_0x28a3ff(0x2b8)]()),this[_0x28a3ff(0x16b)][_0x28a3ff(0x1ca)](this[_0x28a3ff(0x204)][_0x28a3ff(0x2b8)]()),this[_0x28a3ff(0x16b)][_0x28a3ff(0x1ca)](this[_0x28a3ff(0x225)][_0x28a3ff(0x2b8)]()),this[_0x28a3ff(0x16b)][_0x28a3ff(0x1ca)](new SkillNodeOperationService(_0x3b14fe,()=>{const _0x5955ba=_0x28a3ff;if(this[_0x5955ba(0x167)]===undefined)throw new Error(_0x5955ba(0x178));return this[_0x5955ba(0x167)];})[_0x28a3ff(0x2b8)]()),this[_0x28a3ff(0x16b)][_0x28a3ff(0x1ca)](new McpNodeOperationService(_0x3b14fe)[_0x28a3ff(0x2b8)]()),this[_0x28a3ff(0x16b)][_0x28a3ff(0x1fe)](_0x28a3ff(0x199),()=>({'metrics':{...this[_0x28a3ff(0x1a5)][_0x28a3ff(0x197)](),'activeRuns':this[_0x28a3ff(0x286)][_0x28a3ff(0x137)][_0x28a3ff(0x200)],'workspaceLeases':this[_0x28a3ff(0x2a3)][_0x28a3ff(0x182)]()}})),this[_0x28a3ff(0x16b)][_0x28a3ff(0x1fe)](_0x28a3ff(0x266),_0x4bf5a2=>this[_0x28a3ff(0x2b9)][_0x28a3ff(0x18c)](_0x4bf5a2)),this[_0x28a3ff(0x16b)][_0x28a3ff(0x1fe)](_0x28a3ff(0x133),()=>this[_0x28a3ff(0x2b9)][_0x28a3ff(0x1ed)]()),this[_0x28a3ff(0x16b)][_0x28a3ff(0x1fe)](_0x28a3ff(0x1b3),async()=>({'manifest':await this[_0x28a3ff(0x159)][_0x28a3ff(0x149)]()}));}async[_0x4c6017(0x21a)](){const _0x1792bf=_0x4c6017;this[_0x1792bf(0x265)]=![],this[_0x1792bf(0x167)]??=await loadNodeConfig(this[_0x1792bf(0x165)]),await this[_0x1792bf(0x2b9)][_0x1792bf(0x18e)](resolve(dirname(nodeDatabasePath(this[_0x1792bf(0x167)],this[_0x1792bf(0x165)])),_0x1792bf(0x252))),await assertLocalSqlitePath(nodeDatabasePath(this[_0x1792bf(0x167)],this[_0x1792bf(0x165)])),this[_0x1792bf(0x272)]??=new NodeDatabase(nodeDatabasePath(this[_0x1792bf(0x167)],this[_0x1792bf(0x165)]),()=>this[_0x1792bf(0x167)]?.[_0x1792bf(0x284)]??_0x1792bf(0x213)),this[_0x1792bf(0x272)][_0x1792bf(0x214)](),this[_0x1792bf(0x274)][_0x1792bf(0x21a)](),this[_0x1792bf(0x171)][_0x1792bf(0x192)]();}[_0x4c6017(0x17e)](_0x10a9df){const _0x37c28c=_0x4c6017,_0x48e52e=this[_0x37c28c(0x2ae)][_0x37c28c(0x27b)](_0x10a9df);if(_0x48e52e!==undefined)clearTimeout(_0x48e52e[_0x37c28c(0x264)]);this[_0x37c28c(0x2ae)][_0x37c28c(0x216)](_0x10a9df),this[_0x37c28c(0x23c)][_0x37c28c(0x216)](_0x10a9df);}async[_0x4c6017(0x208)](_0x5328c0){const _0x2b9e58=_0x4c6017,_0x279b4b=_0x5328c0[_0x2b9e58(0x22d)]['id']+':'+_0x5328c0[_0x2b9e58(0x22d)][_0x2b9e58(0x2c2)];this[_0x2b9e58(0x23c)][_0x2b9e58(0x13d)](_0x5328c0[_0x2b9e58(0x15f)],_0x279b4b);try{await this[_0x2b9e58(0x19b)][_0x2b9e58(0x29a)]({'sessionId':_0x5328c0[_0x2b9e58(0x15f)],'kind':_0x2b9e58(0x267),'content':this[_0x2b9e58(0x1f3)][_0x2b9e58(0x293)](_0x5328c0[_0x2b9e58(0x15f)],_0x2b9e58(0x267)),'deliveryIntent':_0x2b9e58(0x1b0),'mission':_0x5328c0[_0x2b9e58(0x22d)],'secretEnvironment':_0x5328c0[_0x2b9e58(0x1ea)],..._0x5328c0[_0x2b9e58(0x271)]===undefined?{}:{'personalInstructions':_0x5328c0[_0x2b9e58(0x271)]}});const _0x40f9bc=this[_0x2b9e58(0x1f3)][_0x2b9e58(0x27b)](_0x5328c0[_0x2b9e58(0x15f)]);if(_0x40f9bc?.[_0x2b9e58(0x268)]!==_0x2b9e58(0x137)||_0x40f9bc['id']!==_0x5328c0[_0x2b9e58(0x22d)]['id']||_0x40f9bc[_0x2b9e58(0x2c2)]!==_0x5328c0[_0x2b9e58(0x22d)][_0x2b9e58(0x2c2)]){if(this[_0x2b9e58(0x23c)][_0x2b9e58(0x27b)](_0x5328c0[_0x2b9e58(0x15f)])===_0x279b4b)this[_0x2b9e58(0x23c)][_0x2b9e58(0x216)](_0x5328c0[_0x2b9e58(0x15f)]);return;}this[_0x2b9e58(0x17e)](_0x5328c0[_0x2b9e58(0x15f)]);}catch{const _0x4c1258=this[_0x2b9e58(0x1f3)][_0x2b9e58(0x27b)](_0x5328c0[_0x2b9e58(0x15f)]);if(_0x4c1258?.[_0x2b9e58(0x268)]!==_0x2b9e58(0x137)||_0x4c1258['id']!==_0x5328c0[_0x2b9e58(0x22d)]['id']||_0x4c1258[_0x2b9e58(0x2c2)]!==_0x5328c0[_0x2b9e58(0x22d)][_0x2b9e58(0x2c2)]){if(this[_0x2b9e58(0x23c)][_0x2b9e58(0x27b)](_0x5328c0[_0x2b9e58(0x15f)])===_0x279b4b)this[_0x2b9e58(0x23c)][_0x2b9e58(0x216)](_0x5328c0[_0x2b9e58(0x15f)]);return;}const _0x526bee=(_0x5328c0[_0x2b9e58(0x1ee)]??0x544+-0x95+0x4af*-0x1)+(0x3d8+-0x4*-0x20+-0x457),_0x234a3d=this[_0x2b9e58(0x2a3)][_0x2b9e58(0x12f)](_0x5328c0[_0x2b9e58(0x15f)]);if(_0x526bee>0x300+-0x1*0x2042+0x1d45||_0x234a3d===undefined){this[_0x2b9e58(0x17e)](_0x5328c0[_0x2b9e58(0x15f)]);if(_0x526bee>-0x48a*-0x1+-0x11b7*-0x1+-0xb1f*0x2){const _0x50ec1c=this[_0x2b9e58(0x1f3)][_0x2b9e58(0x1db)](_0x5328c0[_0x2b9e58(0x15f)],_0x5328c0[_0x2b9e58(0x22d)]['id'],_0x5328c0[_0x2b9e58(0x22d)][_0x2b9e58(0x2c2)]);this[_0x2b9e58(0x2c1)][_0x2b9e58(0x287)](_0x5328c0[_0x2b9e58(0x15f)]),this[_0x2b9e58(0x28d)](_0x5328c0[_0x2b9e58(0x15f)],_0x2b9e58(0x1c8));if(_0x234a3d!==undefined)this[_0x2b9e58(0x15e)](_0x234a3d,_0x50ec1c);}return;}this[_0x2b9e58(0x17e)](_0x5328c0[_0x2b9e58(0x15f)]);const _0x49e84f={'sessionId':_0x5328c0[_0x2b9e58(0x15f)],'timer':setTimeout(()=>{const _0x4c5661=_0x2b9e58,_0x3dc1a7=this[_0x4c5661(0x1f3)][_0x4c5661(0x27b)](_0x49e84f[_0x4c5661(0x15f)]);if(_0x3dc1a7?.[_0x4c5661(0x268)]!==_0x4c5661(0x137)||_0x3dc1a7['id']!==_0x5328c0[_0x4c5661(0x22d)]['id']||_0x3dc1a7[_0x4c5661(0x2c2)]!==_0x5328c0[_0x4c5661(0x22d)][_0x4c5661(0x2c2)])return;void this[_0x4c5661(0x208)]({..._0x5328c0,'sessionId':_0x49e84f[_0x4c5661(0x15f)],'failedAttempts':_0x526bee});},0x2b79+0x11c*-0x3d+0x52cb*0x1)};this[_0x2b9e58(0x2ae)][_0x2b9e58(0x13d)](_0x5328c0[_0x2b9e58(0x15f)],_0x49e84f),_0x49e84f[_0x2b9e58(0x264)][_0x2b9e58(0x28f)]();}}[_0x4c6017(0x28d)](_0x371e8c,_0xedbb9d){const _0x1c09f1=_0x4c6017,_0x416a7c=this[_0x1c09f1(0x2a3)][_0x1c09f1(0x227)](_0x371e8c);if(_0x416a7c===undefined||this[_0x1c09f1(0x2a3)][_0x1c09f1(0x13e)](_0x416a7c['id'])!==undefined)return;this[_0x1c09f1(0x2a1)][_0x1c09f1(0x1ff)](_0x416a7c['id'],_0xedbb9d===_0x1c09f1(0x28b)?_0x1c09f1(0x186):_0x1c09f1(0x196),_0xedbb9d===_0x1c09f1(0x28b)?{}:{'code':_0x1c09f1(0x21b)},_0xedbb9d);}[_0x4c6017(0x2ba)](_0x4025c8){const _0x1bf541=_0x4c6017,_0x3423ad=missionUnrestrictedAccess(_0x4025c8[_0x1bf541(0x14e)]),_0x2bb629=_0x4025c8[_0x1bf541(0x1e5)]!==_0x3423ad,_0x56ef60=_0x2bb629?this[_0x1bf541(0x2a3)][_0x1bf541(0x28a)](_0x4025c8['id'],_0x3423ad):_0x4025c8;if(_0x2bb629&&_0x56ef60[_0x1bf541(0x153)]!==null&&_0x56ef60[_0x1bf541(0x215)]!==null&&_0x56ef60[_0x1bf541(0x1de)]!==null)this[_0x1bf541(0x272)]?.[_0x1bf541(0x15d)]({'runner':_0x56ef60[_0x1bf541(0x14e)],'externalSessionId':_0x56ef60[_0x1bf541(0x153)],'workspaceId':_0x56ef60[_0x1bf541(0x1b5)],'model':_0x56ef60[_0x1bf541(0x215)],'effort':_0x56ef60[_0x1bf541(0x1de)],'access':_0x3423ad});return{'session':_0x56ef60,'changed':_0x2bb629};}[_0x4c6017(0x195)](){const _0x514344=_0x4c6017;return{'commandId':_0x514344(0x22d),'active':!![],'label':_0x514344(0x1b9),'detail':null,'closable':!![],'closeInput':_0x514344(0x1e9)};}[_0x4c6017(0x29f)](){const _0x5b8157=_0x4c6017;this[_0x5b8157(0x265)]=!![],this[_0x5b8157(0x251)][_0x5b8157(0x138)](),this[_0x5b8157(0x2b9)][_0x5b8157(0x29f)](),this[_0x5b8157(0x274)][_0x5b8157(0x29f)]();for(const _0x21d16e of this[_0x5b8157(0x22b)][_0x5b8157(0x1c0)][_0x5b8157(0x21c)][_0x5b8157(0x2bc)]()){clearTimeout(_0x21d16e[_0x5b8157(0x264)]),_0x21d16e[_0x5b8157(0x21e)](_0x5b8157(0x156));}this[_0x5b8157(0x22b)][_0x5b8157(0x1c0)][_0x5b8157(0x21c)][_0x5b8157(0x17a)]();for(const _0x54a1d5 of this[_0x5b8157(0x22b)][_0x5b8157(0x1c0)][_0x5b8157(0x193)][_0x5b8157(0x2bc)]()){clearTimeout(_0x54a1d5[_0x5b8157(0x264)]),_0x54a1d5[_0x5b8157(0x224)](_0x5b8157(0x1a6));}this[_0x5b8157(0x22b)][_0x5b8157(0x1c0)][_0x5b8157(0x193)][_0x5b8157(0x17a)](),this[_0x5b8157(0x29e)][_0x5b8157(0x17a)](),this[_0x5b8157(0x147)][_0x5b8157(0x138)](),this[_0x5b8157(0x1e6)][_0x5b8157(0x17a)](),this[_0x5b8157(0x2c1)][_0x5b8157(0x17a)]();for(const _0xe45c7f of this[_0x5b8157(0x2ae)][_0x5b8157(0x2bc)]())clearTimeout(_0xe45c7f[_0x5b8157(0x264)]);this[_0x5b8157(0x2ae)][_0x5b8157(0x17a)](),this[_0x5b8157(0x23c)][_0x5b8157(0x17a)](),this[_0x5b8157(0x219)][_0x5b8157(0x17a)](),this[_0x5b8157(0x1fb)][_0x5b8157(0x138)]();for(const _0x18320f of this[_0x5b8157(0x22b)][_0x5b8157(0x1c0)][_0x5b8157(0x276)][_0x5b8157(0x2bc)]())_0x18320f[_0x5b8157(0x136)][_0x5b8157(0x1ed)]();this[_0x5b8157(0x22b)][_0x5b8157(0x1c0)][_0x5b8157(0x276)][_0x5b8157(0x17a)](),this[_0x5b8157(0x254)][_0x5b8157(0x138)](),void this[_0x5b8157(0x152)][_0x5b8157(0x138)](),void this[_0x5b8157(0x157)][_0x5b8157(0x21d)](),this[_0x5b8157(0x20c)][_0x5b8157(0x138)](),this[_0x5b8157(0x29b)][_0x5b8157(0x1a3)](),this[_0x5b8157(0x19f)][_0x5b8157(0x17a)](),this[_0x5b8157(0x23d)][_0x5b8157(0x17a)](),this[_0x5b8157(0x1e4)][_0x5b8157(0x17a)](),void this[_0x5b8157(0x1bb)][_0x5b8157(0x29f)](),void this[_0x5b8157(0x1c2)][_0x5b8157(0x163)](),void this[_0x5b8157(0x25c)][_0x5b8157(0x21d)](),this[_0x5b8157(0x247)][_0x5b8157(0x29f)](),this[_0x5b8157(0x171)][_0x5b8157(0x29f)](),this[_0x5b8157(0x272)]?.[_0x5b8157(0x163)](),this[_0x5b8157(0x272)]=undefined;}[_0x4c6017(0x238)]=_0x35c088=>this[_0x4c6017(0x161)][_0x4c6017(0x136)](_0x35c088);[_0x4c6017(0x20d)]=(_0x18d48a,_0x28f7f5,_0x1b740f,_0x5cc13a)=>this[_0x4c6017(0x2a1)][_0x4c6017(0x1ff)](_0x18d48a,_0x28f7f5,_0x1b740f,_0x5cc13a);[_0x4c6017(0x20f)]=(_0x3eb4f0,_0x408083)=>{const _0x7650c4=_0x4c6017;this[_0x7650c4(0x219)][_0x7650c4(0x2c0)](_0x3eb4f0);const _0x443eb9=isPlainRecord(_0x408083)&&typeof _0x408083[_0x7650c4(0x16c)]===_0x7650c4(0x2b4)?_0x408083[_0x7650c4(0x16c)]:undefined,_0x21ee5b=isPlainRecord(_0x408083)&&typeof _0x408083[_0x7650c4(0x26f)]===_0x7650c4(0x2b4)?_0x408083[_0x7650c4(0x26f)]:undefined,_0x30fbda=this[_0x7650c4(0x2a3)][_0x7650c4(0x2be)](_0x3eb4f0),_0x165810=_0x443eb9===undefined||_0x30fbda===undefined?undefined:conversationSegmentIdentityForItem(_0x30fbda,_0x443eb9,_0x21ee5b);this[_0x7650c4(0x2a1)][_0x7650c4(0x1ff)](_0x3eb4f0,_0x7650c4(0x164),_0x165810===undefined||!isPlainRecord(_0x408083)?_0x408083:{..._0x408083,'segmentId':_0x165810['id'],'segmentIndex':_0x165810[_0x7650c4(0x294)]});};[_0x4c6017(0x169)]=_0x5b1589=>{const _0x2c53f4=_0x4c6017,_0x1a11b8=isPlainRecord(_0x5b1589)&&Array[_0x2c53f4(0x1aa)](_0x5b1589[_0x2c53f4(0x273)])?conversationSegments(_0x5b1589):[];this[_0x2c53f4(0x221)](_0x2c53f4(0x198),{'turn':_0x5b1589,'segments':_0x1a11b8});};[_0x4c6017(0x168)]=(_0x7c392,_0x268ca0)=>{const _0x5a77cc=_0x4c6017;if(_0x7c392===_0x5a77cc(0x1ab)){this[_0x5a77cc(0x232)](_0x268ca0);return;}this[_0x5a77cc(0x221)](_0x7c392,_0x268ca0);};[_0x4c6017(0x232)]=_0x2d6179=>{const _0x21cc11=_0x4c6017;if(isPlainRecord(_0x2d6179)&&isPlainRecord(_0x2d6179[_0x21cc11(0x1ab)])){const _0x339b5d=_0x2d6179[_0x21cc11(0x1ab)][_0x21cc11(0x1b5)];typeof _0x339b5d===_0x21cc11(0x2b4)&&(this[_0x21cc11(0x23d)][_0x21cc11(0x288)](_0x339b5d),void this[_0x21cc11(0x19f)]?.[_0x21cc11(0x209)](_0x339b5d,_0x21cc11(0x16e)));}this[_0x21cc11(0x221)](_0x21cc11(0x1ab),_0x2d6179);};[_0x4c6017(0x221)]=(_0x205bce,_0x39b4c6)=>{const _0x2e9968=_0x4c6017;if(_0x205bce===_0x2e9968(0x198)&&isPlainRecord(_0x39b4c6)&&isPlainRecord(_0x39b4c6[_0x2e9968(0x1fa)])&&_0x39b4c6[_0x2e9968(0x1fa)][_0x2e9968(0x285)]!==_0x2e9968(0x1f1)){const _0x289656=typeof _0x39b4c6[_0x2e9968(0x1fa)][_0x2e9968(0x14c)]===_0x2e9968(0x2b4)?_0x39b4c6[_0x2e9968(0x1fa)][_0x2e9968(0x14c)]:undefined,_0x43cb5d=typeof _0x39b4c6[_0x2e9968(0x1fa)][_0x2e9968(0x1c7)]===_0x2e9968(0x18a)?_0x39b4c6[_0x2e9968(0x1fa)][_0x2e9968(0x1c7)]:undefined,_0x46cf62=_0x289656===undefined?undefined:this[_0x2e9968(0x2a3)][_0x2e9968(0x2be)](_0x289656);if(_0x46cf62===undefined)return;const _0x2818d1=isPlainRecord(_0x39b4c6[_0x2e9968(0x1fa)][_0x2e9968(0x23e)])?_0x39b4c6[_0x2e9968(0x1fa)][_0x2e9968(0x23e)]:undefined,_0x30db45=_0x39b4c6[_0x2e9968(0x1fa)][_0x2e9968(0x285)]===_0x2e9968(0x145)&&typeof _0x2818d1?.[_0x2e9968(0x2ad)]===_0x2e9968(0x2b4)?_0x2818d1[_0x2e9968(0x2ad)]:undefined,_0x1ef981=typeof _0x2818d1?.[_0x2e9968(0x16c)]===_0x2e9968(0x2b4)?_0x2818d1[_0x2e9968(0x16c)]:typeof _0x2818d1?.[_0x2e9968(0x1cd)]===_0x2e9968(0x2b4)?_0x2e9968(0x14d)+_0x2818d1[_0x2e9968(0x1cd)]:undefined,_0x25378b=_0x30db45!==undefined&&_0x43cb5d!==undefined?_0x46cf62[_0x2e9968(0x273)][_0x2e9968(0x205)](_0x4d601c=>_0x4d601c[_0x2e9968(0x26f)]===_0x2e9968(0x181)&&_0x4d601c[_0x2e9968(0x2c2)]===_0x43cb5d):_0x1ef981===undefined?undefined:_0x46cf62[_0x2e9968(0x273)][_0x2e9968(0x205)](_0x322f9b=>_0x322f9b['id']===_0x289656+':'+_0x1ef981);if(_0x30db45!==undefined&&_0x25378b?.[_0x2e9968(0x26f)]===_0x2e9968(0x181))_0x39b4c6={'sessionId':_0x46cf62[_0x2e9968(0x15f)],'delta':{'runId':_0x46cf62[_0x2e9968(0x14c)],'itemId':_0x25378b['id'],'text':_0x30db45,'createdAt':typeof _0x39b4c6[_0x2e9968(0x1fa)][_0x2e9968(0x1ce)]===_0x2e9968(0x18a)?_0x39b4c6[_0x2e9968(0x1fa)][_0x2e9968(0x1ce)]:Date[_0x2e9968(0x1d2)]()}};else{if(_0x25378b!==undefined){const _0x51ad1a=conversationSegmentIdentityForItem(_0x46cf62,_0x25378b['id'],_0x25378b[_0x2e9968(0x26f)]);_0x39b4c6={'sessionId':_0x46cf62[_0x2e9968(0x15f)],'runId':_0x46cf62[_0x2e9968(0x14c)],'item':{'itemId':_0x25378b['id'],'kind':_0x25378b[_0x2e9968(0x26f)],'status':_0x25378b[_0x2e9968(0x268)],'payload':_0x25378b[_0x2e9968(0x23e)],'startedAt':_0x25378b[_0x2e9968(0x141)],'completedAt':_0x25378b[_0x2e9968(0x217)],'segmentId':_0x51ad1a['id'],'segmentIndex':_0x51ad1a[_0x2e9968(0x294)]}};}else{if(_0x39b4c6[_0x2e9968(0x1fa)][_0x2e9968(0x285)]!==_0x2e9968(0x24b)&&_0x39b4c6[_0x2e9968(0x1fa)][_0x2e9968(0x285)]!==_0x2e9968(0x1bd))return;_0x39b4c6={'turn':_0x46cf62,'segments':conversationSegments(_0x46cf62)};}}}const _0x41ed1a=this[_0x2e9968(0x20b)][_0x2e9968(0x1b7)](_0x205bce,_0x39b4c6);if(_0x41ed1a===undefined)return;const _0x17198a=_0x205bce===_0x2e9968(0x198)&&isPlainRecord(_0x39b4c6)&&isPlainRecord(_0x39b4c6[_0x2e9968(0x1fa)])&&_0x39b4c6[_0x2e9968(0x1fa)][_0x2e9968(0x285)]===_0x2e9968(0x1f1),_0x33d58e=workbenchPayloadSessionId(this[_0x2e9968(0x2a3)],_0x205bce,_0x39b4c6);if(!_0x17198a&&_0x33d58e!==undefined){this[_0x2e9968(0x29e)][_0x2e9968(0x298)](_0x33d58e,_0x41ed1a);return;}this[_0x2e9968(0x20b)][_0x2e9968(0x24f)](_0x41ed1a);};[_0x4c6017(0x190)]=_0x403586=>this[_0x4c6017(0x15a)][_0x4c6017(0x1df)](_0x403586);[_0x4c6017(0x1f5)]=_0x6a3d7e=>this[_0x4c6017(0x158)][_0x4c6017(0x1d0)](_0x6a3d7e);[_0x4c6017(0x2a2)]=()=>undefined;[_0x4c6017(0x140)]=()=>this[_0x4c6017(0x274)][_0x4c6017(0x140)]();[_0x4c6017(0x2a9)]=()=>this[_0x4c6017(0x274)][_0x4c6017(0x2a9)]();async[_0x4c6017(0x282)](_0x1cd89e,_0x1d405b){const _0x25254f=_0x4c6017;if(this[_0x25254f(0x272)]===undefined)throw new Error(_0x25254f(0x260));if(this[_0x25254f(0x2b9)][_0x25254f(0x22e)](_0x1cd89e))throw new Error(_0x25254f(0x1a9));return nodeLog(_0x25254f(0x1f9),{'nodeId':this[_0x25254f(0x167)]?.[_0x25254f(0x284)],'operation':_0x1cd89e}),this[_0x25254f(0x16b)][_0x25254f(0x1e3)](_0x1cd89e,_0x1d405b);}async[_0x4c6017(0x14a)](_0x943b0,_0x294392){const _0x2a4975=_0x4c6017,_0x434834=this[_0x2a4975(0x167)];if(_0x434834?.[_0x2a4975(0x284)]===undefined||_0x434834[_0x2a4975(0x1d3)]===undefined)throw new Error(_0x2a4975(0x1d7));const _0x540a53=await fetch(_0x434834[_0x2a4975(0x237)][_0x2a4975(0x206)](/\/$/u,'')+_0x2a4975(0x2b7),{'method':_0x2a4975(0x283),'headers':{'content-type':_0x2a4975(0x151),'x-mar-node-id':_0x434834[_0x2a4975(0x284)],'authorization':_0x2a4975(0x13c)+_0x434834[_0x2a4975(0x1d3)]},'body':JSON[_0x2a4975(0x249)](_0x943b0),'signal':_0x294392});if(!_0x540a53['ok'])throw new Error(_0x2a4975(0x277));const _0x57ae13=await _0x540a53[_0x2a4975(0x13b)]();return{'content':JSON[_0x2a4975(0x249)](_0x57ae13),'data':_0x57ae13};}[_0x4c6017(0x15e)](_0x47e99c,_0x49e009){const _0x525205=_0x4c6017;if(_0x49e009[_0x525205(0x268)]!==_0x525205(0x137)){this[_0x525205(0x1a8)][_0x525205(0x17a)](_0x47e99c['id'],_0x525205(0x22d)),this[_0x525205(0x221)](_0x525205(0x1ab),{'session':this[_0x525205(0x1d8)][_0x525205(0x1f7)](_0x47e99c)});return;}this[_0x525205(0x1a8)][_0x525205(0x13d)](_0x47e99c['id'],{'commandId':_0x525205(0x22d),'active':_0x49e009[_0x525205(0x268)]===_0x525205(0x137),'label':_0x525205(0x1b9),'detail':_0x49e009[_0x525205(0x1b1)][_0x525205(0x259)](-0x16ea+-0x1b4*-0xd+0xc6,-0xfcd*-0x1+-0x5f1+-0x7e8),'closable':!![],'closeInput':_0x525205(0x17b),'mission':{'id':_0x49e009['id'],'objective':_0x49e009[_0x525205(0x1b1)],'revision':_0x49e009[_0x525205(0x2c2)],'status':_0x49e009[_0x525205(0x268)],'turns':_0x49e009[_0x525205(0x2b3)]}}),this[_0x525205(0x221)](_0x525205(0x1ab),{'session':this[_0x525205(0x1d8)][_0x525205(0x1f7)](_0x47e99c)});}[_0x4c6017(0x25d)](_0x2e5b80,_0x430447,_0x53b8e9){const _0x10b742=_0x4c6017;this[_0x10b742(0x171)][_0x10b742(0x25d)](_0x2e5b80,_0x430447,_0x53b8e9);}[_0x4c6017(0x1e2)](_0x38dbd2){const _0x1b17cd=_0x4c6017;this[_0x1b17cd(0x171)][_0x1b17cd(0x1e2)](_0x38dbd2);}}
@@ -1,2 +1,2 @@
1
1
  /* mar-release-protected */
2
- const _0x8f60b1=_0x5f36;(function(_0x4846e2,_0x4fdce6){const _0x566691=_0x5f36,_0x587625=_0x4846e2();while(!![]){try{const _0x53ad69=parseInt(_0x566691(0x165))/(-0x41*-0xf+-0x1d9f+0x19d1*0x1)+-parseInt(_0x566691(0x16c))/(-0x26*-0x47+0x1*0x2701+-0x581*0x9)*(-parseInt(_0x566691(0x174))/(0x9*0x420+0x995*-0x2+-0x11f3))+parseInt(_0x566691(0x181))/(-0xc2b+0x1*-0x158+0xd87)*(-parseInt(_0x566691(0x14b))/(-0x2142+-0x1*-0x1ab4+-0x3*-0x231))+-parseInt(_0x566691(0x13f))/(0x364*-0xa+0x1652*-0x1+0x3840)+parseInt(_0x566691(0x184))/(-0x25a8+0x3*0x356+0x1bad)*(parseInt(_0x566691(0x164))/(-0xf59*-0x1+0x1*-0x19f6+0xaa5))+-parseInt(_0x566691(0x113))/(0xe94+-0x2*0xacc+0x70d)*(parseInt(_0x566691(0x12b))/(0x2246+-0x1*0x1c79+0x127*-0x5))+parseInt(_0x566691(0x175))/(-0x2128+0x6*-0x269+0x2fa9)*(parseInt(_0x566691(0x10e))/(-0x3*-0x15b+-0x19c4+0x15bf*0x1));if(_0x53ad69===_0x4fdce6)break;else _0x587625['push'](_0x587625['shift']());}catch(_0x57808d){_0x587625['push'](_0x587625['shift']());}}}(_0x5bd4,0x6d8bf*0x1+-0x59841*0x1+0x1*0x43c0b));import{boundedConversationItemId,compactRunnerText,compactRunnerValue}from'../../util/node-operation-parsers.js';export class MarAgentConversationNormalizer{#tools=new Map();#commands=new Map();#processOrigins=new Map();[_0x8f60b1(0x170)](_0x125c76){const _0x51e127=_0x8f60b1;if(_0x125c76[_0x51e127(0x10a)]===_0x51e127(0x13b))return[{'itemId':itemId(_0x51e127(0x10f),_0x125c76[_0x51e127(0x17e)]),'kind':_0x51e127(0x10f),'status':_0x51e127(0x129),'payload':{'code':compactRunnerText(_0x125c76[_0x51e127(0x117)],-0x9f4+-0x854+-0x88*-0x23)||_0x51e127(0x11f),'message':compactRunnerText(_0x125c76[_0x51e127(0x140)]??'',0x1c88+0xfbb*0x1+0x285b*-0x1)||_0x51e127(0x151),'recoverable':!![],'retryAfterMs':null},'merge':!![]}];if(_0x125c76[_0x51e127(0x10a)]===_0x51e127(0x171))return[{'itemId':itemId(_0x51e127(0x140),_0x125c76[_0x51e127(0x17e)]),'kind':_0x51e127(0x110),'status':_0x51e127(0x124),'payload':{'text':_0x125c76[_0x51e127(0x162)],'format':_0x51e127(0x11d),'model':null}}];if(_0x125c76[_0x51e127(0x10a)]===_0x51e127(0x142))return[{'itemId':itemId(_0x51e127(0x16e),_0x125c76[_0x51e127(0x112)]),'kind':_0x51e127(0x14a),'status':_0x51e127(0x124),'payload':{'sections':[{'index':0x0,'text':compactRunnerText(_0x125c76[_0x51e127(0x162)],-0xe*0x506+0x1045+0x1f*0x301)}]}}];if(_0x125c76[_0x51e127(0x10a)]===_0x51e127(0x15e))return this.#toolStarted(_0x125c76);if(_0x125c76[_0x51e127(0x10a)]===_0x51e127(0x10b))return this.#toolCompleted(_0x125c76);if(_0x125c76[_0x51e127(0x10a)]===_0x51e127(0x136))return this.#toolFailed(_0x125c76);if(_0x125c76[_0x51e127(0x10a)]===_0x51e127(0x155))return[{'itemId':itemId(_0x51e127(0x11e),_0x125c76[_0x51e127(0x122)]),'kind':_0x51e127(0x111),'status':_0x125c76[_0x51e127(0x119)]===_0x51e127(0x16b)?_0x51e127(0x17b):_0x125c76[_0x51e127(0x119)]===_0x51e127(0x124)?_0x51e127(0x124):_0x51e127(0x129),'payload':{'namespace':_0x51e127(0x116),'toolName':_0x125c76[_0x51e127(0x154)]===_0x51e127(0x180)?_0x51e127(0x173):_0x51e127(0x152),'title':_0x125c76[_0x51e127(0x154)]===_0x51e127(0x180)?_0x51e127(0x14e):_0x51e127(0x141),'inputSummary':_0x125c76[_0x51e127(0x118)][_0x51e127(0x15a)]===undefined&&_0x125c76[_0x51e127(0x118)][_0x51e127(0x13e)]===undefined?null:compactRunnerText(_0x125c76[_0x51e127(0x118)][_0x51e127(0x15a)]??_0x125c76[_0x51e127(0x118)][_0x51e127(0x13e)]??'',-0x2ab*-0xc+-0x4141*0x1+0x484d),'outputSummary':_0x125c76[_0x51e127(0x118)][_0x51e127(0x15c)]===undefined?null:compactRunnerText(_0x125c76[_0x51e127(0x118)][_0x51e127(0x15c)],0xbdf+-0x234+0x1d65),'progressLabel':_0x125c76[_0x51e127(0x119)]===_0x51e127(0x16b)?_0x51e127(0x10c):null,'errorCode':_0x125c76[_0x51e127(0x119)]===_0x51e127(0x129)?_0x51e127(0x14d):null,'truncated':![]},'merge':!![]}];if(_0x125c76[_0x51e127(0x10a)]===_0x51e127(0x157))return[{'itemId':itemId(_0x51e127(0x114),_0x125c76[_0x51e127(0x17e)]),'kind':_0x51e127(0x114),'status':_0x51e127(0x124),'payload':{'explanation':null,'steps':_0x125c76[_0x51e127(0x144)][_0x51e127(0x145)](_0x1c64f0=>({'id':compactRunnerText(_0x1c64f0['id'],0x3d*0x58+0x3*-0xc7d+0x10ff)||_0x51e127(0x168),'text':_0x1c64f0[_0x51e127(0x153)],'status':_0x1c64f0[_0x51e127(0x119)][_0x51e127(0x182)]()}))},'merge':!![]}];if(_0x125c76[_0x51e127(0x10a)]===_0x51e127(0x148))return[{'itemId':itemId(_0x51e127(0x128),_0x125c76[_0x51e127(0x112)]),'kind':_0x51e127(0x13a),'status':_0x51e127(0x124),'payload':{'phase':_0x51e127(0x124),'summaryCode':_0x51e127(0x15f)}}];if(_0x125c76[_0x51e127(0x10a)]===_0x51e127(0x167)||_0x125c76[_0x51e127(0x10a)]===_0x51e127(0x149))return[{'itemId':itemId(_0x51e127(0x156),_0x125c76[_0x51e127(0x14c)]),'kind':_0x51e127(0x111),'status':_0x125c76[_0x51e127(0x10a)]===_0x51e127(0x167)?_0x51e127(0x17b):_0x125c76[_0x51e127(0x119)]===_0x51e127(0x17c)?_0x51e127(0x124):_0x125c76[_0x51e127(0x119)]===_0x51e127(0x125)?_0x51e127(0x138):_0x51e127(0x129),'payload':{'namespace':_0x51e127(0x121),'toolName':_0x51e127(0x156),'title':_0x125c76[_0x51e127(0x10a)]===_0x51e127(0x167)?compactRunnerText(_0x125c76[_0x51e127(0x11a)],0xc7*0x2f+-0x1688+0x5*-0x269)||_0x51e127(0x123):_0x51e127(0x123),'inputSummary':_0x125c76[_0x51e127(0x10a)]===_0x51e127(0x167)?compactRunnerText(_0x125c76[_0x51e127(0x11a)],0x3d63+-0xc45*-0x2+-0x2edd):null,'outputSummary':_0x125c76[_0x51e127(0x10a)]===_0x51e127(0x149)?_0x125c76[_0x51e127(0x119)]:null,'progressLabel':_0x125c76[_0x51e127(0x10a)]===_0x51e127(0x167)?_0x51e127(0x10c):null,'errorCode':null,'truncated':![]},'merge':!![]}];return[];}#toolStarted(_0x333ad0){const _0x5e79d3=_0x8f60b1,_0x509811=itemId(_0x5e79d3(0x183),_0x333ad0[_0x5e79d3(0x16d)]);if(_0x333ad0[_0x5e79d3(0x166)]===_0x5e79d3(0x169)){const _0x1ac224=record(_0x333ad0[_0x5e79d3(0x137)])??{},_0x3f0466=_0x1ac224[_0x5e79d3(0x139)];if(_0x3f0466===_0x5e79d3(0x131)&&typeof _0x1ac224[_0x5e79d3(0x130)]===_0x5e79d3(0x146)){const _0x26ac27={'itemId':_0x509811,'command':compactRunnerText(_0x1ac224[_0x5e79d3(0x130)],0x261a*0x2+-0x44*-0xca+-0x5acc),'cwd':typeof _0x1ac224[_0x5e79d3(0x172)]===_0x5e79d3(0x146)?compactRunnerText(_0x1ac224[_0x5e79d3(0x172)],0x10be*-0x1+-0x1*-0x10+0x20ae):null,'outputPreview':'','exitCode':null,'truncated':![]};return this.#commands[_0x5e79d3(0x16f)](_0x333ad0[_0x5e79d3(0x16d)],_0x26ac27),this.#tools[_0x5e79d3(0x16f)](_0x333ad0[_0x5e79d3(0x16d)],{'toolName':_0x333ad0[_0x5e79d3(0x166)],'input':_0x333ad0[_0x5e79d3(0x137)],'itemId':_0x509811,'structured':!![],'commandOrigin':_0x333ad0[_0x5e79d3(0x16d)]}),[commandItem(_0x26ac27,_0x5e79d3(0x17b))];}if((_0x3f0466===_0x5e79d3(0x15b)||_0x3f0466===_0x5e79d3(0x177)||_0x3f0466===_0x5e79d3(0x17d))&&typeof _0x1ac224[_0x5e79d3(0x109)]===_0x5e79d3(0x146)){const _0x103d94=this.#processOrigins[_0x5e79d3(0x15d)](_0x1ac224[_0x5e79d3(0x109)]);if(_0x103d94!==undefined)return this.#tools[_0x5e79d3(0x16f)](_0x333ad0[_0x5e79d3(0x16d)],{'toolName':_0x333ad0[_0x5e79d3(0x166)],'input':_0x333ad0[_0x5e79d3(0x137)],'itemId':_0x509811,'structured':!![],'commandOrigin':_0x103d94}),[];}}this.#tools[_0x5e79d3(0x16f)](_0x333ad0[_0x5e79d3(0x16d)],{'toolName':_0x333ad0[_0x5e79d3(0x166)],'input':_0x333ad0[_0x5e79d3(0x137)],'itemId':_0x509811,'structured':_0x5e79d3(0x137)in _0x333ad0});if(_0x333ad0[_0x5e79d3(0x166)]===_0x5e79d3(0x159)&&_0x5e79d3(0x137)in _0x333ad0)return[fileChangeItem(_0x509811,_0x5e79d3(0x17b),[])];return[genericToolItem(_0x509811,_0x333ad0[_0x5e79d3(0x166)],_0x5e79d3(0x17b),_0x333ad0[_0x5e79d3(0x137)])];}#toolCompleted(_0x1dd6ab){const _0x42f6c3=_0x8f60b1,_0x278096=this.#tools[_0x42f6c3(0x15d)](_0x1dd6ab[_0x42f6c3(0x16d)]);if(_0x1dd6ab[_0x42f6c3(0x166)]===_0x42f6c3(0x169)&&_0x278096?.[_0x42f6c3(0x11c)]!==undefined){const _0x419d85=this.#commands[_0x42f6c3(0x15d)](_0x278096[_0x42f6c3(0x11c)]),_0xa66de8=execResult(_0x1dd6ab[_0x42f6c3(0x10d)]);if(_0x419d85!==undefined&&_0xa66de8!==undefined){if(_0xa66de8[_0x42f6c3(0x109)]!==undefined)this.#processOrigins[_0x42f6c3(0x16f)](_0xa66de8[_0x42f6c3(0x109)],_0x278096[_0x42f6c3(0x11c)]);applyCommandResult(_0x419d85,_0xa66de8);const _0x28e9fb=_0xa66de8[_0x42f6c3(0x119)]===_0x42f6c3(0x13d)?_0x42f6c3(0x17b):_0xa66de8[_0x42f6c3(0x119)]===_0x42f6c3(0x17c)&&_0xa66de8[_0x42f6c3(0x160)]===-0xad3+-0x917+0x2*0x9f5?_0x42f6c3(0x124):_0x42f6c3(0x129);return[commandItem(_0x419d85,_0x28e9fb)];}}if(_0x1dd6ab[_0x42f6c3(0x166)]===_0x42f6c3(0x159)&&(_0x278096?.[_0x42f6c3(0x13c)]===!![]||Array[_0x42f6c3(0x115)](record(_0x1dd6ab[_0x42f6c3(0x10d)])?.[_0x42f6c3(0x179)])))return[fileChangeItem(_0x278096?.[_0x42f6c3(0x122)]??itemId(_0x42f6c3(0x183),_0x1dd6ab[_0x42f6c3(0x16d)]),_0x42f6c3(0x124),patchChanges(_0x1dd6ab[_0x42f6c3(0x10d)]))];return[genericToolItem(_0x278096?.[_0x42f6c3(0x122)]??itemId(_0x42f6c3(0x183),_0x1dd6ab[_0x42f6c3(0x16d)]),_0x1dd6ab[_0x42f6c3(0x166)],_0x42f6c3(0x124),_0x278096?.[_0x42f6c3(0x137)],_0x1dd6ab[_0x42f6c3(0x118)],null,_0x1dd6ab[_0x42f6c3(0x135)])];}#toolFailed(_0x403573){const _0x4f41b8=_0x8f60b1,_0x196f12=this.#tools[_0x4f41b8(0x15d)](_0x403573[_0x4f41b8(0x16d)]);if(_0x403573[_0x4f41b8(0x166)]===_0x4f41b8(0x169)&&_0x196f12?.[_0x4f41b8(0x11c)]!==undefined){const _0x511cfa=this.#commands[_0x4f41b8(0x15d)](_0x196f12[_0x4f41b8(0x11c)]);if(_0x511cfa!==undefined)return[commandItem(_0x511cfa,_0x4f41b8(0x129))];}if(_0x403573[_0x4f41b8(0x166)]===_0x4f41b8(0x159)&&_0x196f12?.[_0x4f41b8(0x13c)]===!![])return[fileChangeItem(_0x196f12?.[_0x4f41b8(0x122)]??itemId(_0x4f41b8(0x183),_0x403573[_0x4f41b8(0x16d)]),_0x4f41b8(0x129),[])];return[genericToolItem(_0x196f12?.[_0x4f41b8(0x122)]??itemId(_0x4f41b8(0x183),_0x403573[_0x4f41b8(0x16d)]),_0x403573[_0x4f41b8(0x166)],_0x4f41b8(0x129),_0x196f12?.[_0x4f41b8(0x137)],null,_0x403573[_0x4f41b8(0x117)])];}}function itemId(_0x9556b5,_0x26c0a2){const _0x2e8bef=_0x8f60b1;return boundedConversationItemId(_0x2e8bef(0x16a)+_0x9556b5,_0x26c0a2);}function genericToolItem(_0x2d7d03,_0x4c7a85,_0x722c5b,_0x44bc0f,_0x44a5fc=null,_0xfde7fe=null,_0x5e8261=![]){const _0x2dba6e=_0x8f60b1;return{'itemId':_0x2d7d03,'kind':_0x2dba6e(0x111),'status':_0x722c5b,'payload':{'namespace':_0x2dba6e(0x121),'toolName':compactRunnerText(_0x4c7a85,-0x17d1+0x21*-0xdf+-0x4*-0xd44)||_0x2dba6e(0x168),'title':compactRunnerText(_0x4c7a85,-0x272+-0x2202+0x2668)||_0x2dba6e(0x168),'inputSummary':compactRunnerValue(_0x44bc0f,0x1*0x298+0x30ed+-0xc75*0x1)[_0x2dba6e(0x162)]||null,'outputSummary':_0x44a5fc===null?null:compactRunnerText(_0x44a5fc,-0x119*0x2a+-0x53*-0x6b+0x3279),'progressLabel':_0x722c5b===_0x2dba6e(0x17b)?_0x2dba6e(0x10c):null,'errorCode':_0xfde7fe===null?null:compactRunnerText(_0xfde7fe,0x16eb+-0x2004+0xb*0xdb),'truncated':_0x5e8261},'merge':!![]};}function _0x5f36(_0x2e12c4,_0xb6518a){_0x2e12c4=_0x2e12c4-(0x2194*-0x1+0x16*0x100+0x1*0xc9d);const _0x249ec5=_0x5bd4();let _0x31458d=_0x249ec5[_0x2e12c4];if(_0x5f36['FZWBXy']===undefined){var _0x4d8bce=function(_0x8c3d1c){const _0x4d248d='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x23cab6='',_0x138e0f='';for(let _0x44dbe2=0x99+0x1ce6+-0x1d7f,_0x378f92,_0x172007,_0x430674=-0x76a+0x1*0xb03+-0x399;_0x172007=_0x8c3d1c['charAt'](_0x430674++);~_0x172007&&(_0x378f92=_0x44dbe2%(0x58*0x57+0x1a75+0x1*-0x3859)?_0x378f92*(0x4*-0x3b7+-0x215*0xb+-0x107*-0x25)+_0x172007:_0x172007,_0x44dbe2++%(0x1edd+-0x1*0x2295+0x3bc))?_0x23cab6+=String['fromCharCode'](-0x24bc*0x1+0x1*-0x2275+0x15*0x370&_0x378f92>>(-(-0xfa3+0xc7*0x2f+-0x14e4)*_0x44dbe2&0x1*0x1d39+0xf8c+-0x8f3*0x5)):0x2b9*-0x5+0x261a*0x1+-0x187d){_0x172007=_0x4d248d['indexOf'](_0x172007);}for(let _0x1aba04=0x610*-0x3+0x1*-0x10be+0x22ee,_0x2ad796=_0x23cab6['length'];_0x1aba04<_0x2ad796;_0x1aba04++){_0x138e0f+='%'+('00'+_0x23cab6['charCodeAt'](_0x1aba04)['toString'](-0x46c+-0xad3+0xf4f))['slice'](-(0x928+0xf16+-0x183c));}return decodeURIComponent(_0x138e0f);};_0x5f36['oQXQWM']=_0x4d8bce,_0x5f36['OtNZeX']={},_0x5f36['FZWBXy']=!![];}const _0x3d820b=_0x249ec5[-0x4*-0x32+0x10ee+-0x11b6];_0x5f36['AMRYkD']!==_0x3d820b&&(_0x5f36['OtNZeX']={},_0x5f36['AMRYkD']=_0x3d820b);const _0x32a887=_0x5f36['OtNZeX'][_0x2e12c4];return _0x32a887===undefined?(_0x31458d=_0x5f36['oQXQWM'](_0x31458d),_0x5f36['OtNZeX'][_0x2e12c4]=_0x31458d):_0x31458d=_0x32a887,_0x31458d;}function commandItem(_0x44dd3e,_0x4cbf56){const _0x234bbc=_0x8f60b1;return{'itemId':_0x44dd3e[_0x234bbc(0x122)],'kind':_0x234bbc(0x12f),'status':_0x4cbf56,'payload':{'command':_0x44dd3e[_0x234bbc(0x130)],'cwd':_0x44dd3e[_0x234bbc(0x172)],'outputPreview':_0x44dd3e[_0x234bbc(0x132)],'outputRef':null,'exitCode':_0x44dd3e[_0x234bbc(0x160)],'durationMs':null,'truncated':_0x44dd3e[_0x234bbc(0x135)]},'merge':!![]};}function applyCommandResult(_0x2ece2b,_0x413147){const _0x497a0a=_0x8f60b1,_0x75103f=[_0x413147[_0x497a0a(0x127)],_0x413147[_0x497a0a(0x147)]][_0x497a0a(0x12a)](Boolean)[_0x497a0a(0x11b)]('\x0a');if(_0x75103f[_0x497a0a(0x133)]>0x56*-0x3a+0xc*-0x337+0x3a10){const _0x2b7abc=[_0x2ece2b[_0x497a0a(0x132)],_0x75103f][_0x497a0a(0x12a)](Boolean)[_0x497a0a(0x11b)]('\x0a');_0x2ece2b[_0x497a0a(0x135)]||=_0x2b7abc[_0x497a0a(0x133)]>0x22be*-0x1+0x23c2+0x260c,_0x2ece2b[_0x497a0a(0x132)]=compactRunnerText(_0x2b7abc,-0x3c4c+-0x3565+-0x2d*-0x365);}_0x2ece2b[_0x497a0a(0x160)]=_0x413147[_0x497a0a(0x160)]??_0x2ece2b[_0x497a0a(0x160)],_0x2ece2b[_0x497a0a(0x135)]||=_0x413147[_0x497a0a(0x135)];}function fileChangeItem(_0xbe0e38,_0x44abd4,_0x502acd){const _0x3ccb44=_0x8f60b1;return{'itemId':_0xbe0e38,'kind':_0x3ccb44(0x120),'status':_0x44abd4,'payload':{'changes':_0x502acd},'merge':!![]};}function patchChanges(_0x5dffc9){const _0x2fdb7e=_0x8f60b1,_0x35134d=record(_0x5dffc9)?.[_0x2fdb7e(0x179)];if(!Array[_0x2fdb7e(0x115)](_0x35134d))return[];return _0x35134d[_0x2fdb7e(0x17f)](_0x4379b1=>{const _0x41b2aa=_0x2fdb7e,_0x6cfe1c=record(_0x4379b1);if(typeof _0x6cfe1c?.[_0x41b2aa(0x17a)]!==_0x41b2aa(0x146))return[];const _0x4c88aa=compactRunnerText(_0x6cfe1c[_0x41b2aa(0x17a)],-0x605+0x1ea5*-0x1+0x34aa);if(_0x4c88aa[_0x41b2aa(0x133)]===0x1798+-0x23f4+-0x317*-0x4)return[];const _0x38251d=nonnegativeInteger(_0x6cfe1c[_0x41b2aa(0x161)]),_0x36812e=nonnegativeInteger(_0x6cfe1c[_0x41b2aa(0x126)]);if(_0x6cfe1c[_0x41b2aa(0x176)]===_0x41b2aa(0x12c)&&typeof _0x6cfe1c[_0x41b2aa(0x12e)]===_0x41b2aa(0x146)){const _0x5c5542=compactRunnerText(_0x6cfe1c[_0x41b2aa(0x12e)],0x236b+0x2b7+-0x1622);if(_0x5c5542[_0x41b2aa(0x133)]===0x817*0x1+-0x24a8+0x47*0x67)return[change(_0x4c88aa,_0x41b2aa(0x143),_0x38251d,_0x36812e)];return[change(_0x4c88aa,_0x41b2aa(0x134),_0x38251d,_0x36812e),change(_0x5c5542,_0x41b2aa(0x14f),_0x38251d,_0x36812e)];}const _0x3fd289=_0x6cfe1c[_0x41b2aa(0x176)]===_0x41b2aa(0x158)?_0x41b2aa(0x14f):_0x6cfe1c[_0x41b2aa(0x176)]===_0x41b2aa(0x163)?_0x41b2aa(0x134):_0x41b2aa(0x143);return[change(_0x4c88aa,_0x3fd289,_0x38251d,_0x36812e)];});}function change(_0x2db663,_0x3f1bcf,_0x5460b1,_0xb0eb2d){return{'path':_0x2db663,'change':_0x3f1bcf,'additions':_0x5460b1,'deletions':_0xb0eb2d,'diffAvailable':![]};}function _0x5bd4(){const _0x33d38f=['su5Fufjpr1jfu1m','y29TCgXLDgvK','y2fUy2vS','zxHLy3v0Aw9Uswq','zMXHDe1HCa','v0vcx1nfqvjdsa','mZGXotzSELz2uu8','Dg9vChbLCKnHC2u','Dg9VBa','mte5zgXythDx','ChjVy2vZC0LK','DhLWzq','Dg9VBc5JB21WBgv0zwq','uNvUBMLUzW','zgf0yq','mJrdvNbZEfC','zxjYB3i','yxnZAxn0yw50x21LC3nHz2u','Dg9VBf9JywXS','zxzLBNrjza','mZC3ndG3ouH4s3bTzq','CgXHBG','AxnbCNjHEq','Ag9ZDgvKlxDLyG','y29Kzq','C3vTBwfYEq','C3rHDhvZ','zgvZy3jPChrPB24','AM9PBG','y29TBwfUze9YAwDPBG','BwfYA2rVD24','Ag9ZDgvK','tufsx0fhru5ux1jvtL9gquLmruq','zMLSzv9JAgfUz2u','BwfYlwfNzw50','AxrLBuLK','u3vIywDLBNq','q09nueXfveve','y2fUy2vSBgvK','zgvSzxrLzeXPBMvZ','C3rKB3v0','y29TCgfJDa','rKfjteve','zMLSDgvY','mtbewwjRA3K','Bw92zwq','BNvTyMvY','DgfYz2v0ugf0Aa','y29TBwfUzf9LEgvJDxrPB24','y29TBwfUza','C3rHCNq','B3v0Chv0uhjLDMLLDW','BgvUz3rO','revmrvrfra','Dhj1BMnHDgvK','Dg9VBc5MywLSzwq','Aw5WDxq','q0foq0vmteve','ywn0Aw9U','y29UDgv4Df9JB21Wywn0Aw9U','zxHLy3v0Aw9UlMzHAwXLza','C3rYDwn0DxjLza','CNvUBMLUzW','DxjS','mJa3mta5mKDpuLnHBW','BwvZC2fNzq','v2vIigzLDgnO','CMvHC29UAw5NlNn1Bw1HCNK','tu9esuzjruq','AxrLBxm','BwfW','C3rYAw5N','C3rKzxjY','y29UDgv4Dc5JB21Wywn0zwq','C3vIywDLBNqUy29TCgXLDgvK','CMvHC29UAw5Nx3n1Bw1HCNK','mZa1ALfZtgPd','DgfZA0LK','se9tvevex1rpt0XFrKfjteve','v2vIihnLyxjJAa','qureruq','AxnjBNrLz2vY','tufsiefNzw50igv4zwn1DgLVBIbMywLSzwqU','D2vIx2zLDgnO','C3rLCa','A2LUza','Ag9ZDgvKx3rVB2WUDxbKyxrLza','C3vIywDLBNq','CgXHBI51CgrHDgvK','ywrKzwq','yxbWBhLFCgf0y2G','CxvLCNK','Cg9SBa','DgL0Bgu','z2v0','Dg9VBc5ZDgfYDgvK','q09ovevyvf9dt01qqunuruq','zxHPDenVzgu','ywrKzwrmAw5LCW','Dgv4Da','zgvSzxrLza','mti3nZiWrfbhDe9g','nda0mZKZzNHSqxHY','Dg9VBe5HBwu','C3vIywDLBNqUC3rHCNrLza','Dw5RBM93BG','zxHLyW','BwfYlwfNzw50lq','uLvotKLorW','mJC0uxnZqM5k','y2fSBeLK','CMvHC29UAw5N','C2v0','BM9YBwfSAxPL','BwvZC2fNzs5JB21WBgv0zwq','y3DK','D2vIx3nLyxjJAa','ntK5mvPZzenLtG','nde2ntaXofbeswz3Cq','B3bLCMf0Aw9U','D3jPDgu','B2jQzwn0','zMLSzxm','Cgf0Aa'];_0x5bd4=function(){return _0x33d38f;};return _0x5bd4();}function execResult(_0x5489ba){const _0xd0b8ac=_0x8f60b1,_0x411b86=record(_0x5489ba);if(_0x411b86?.[_0xd0b8ac(0x119)]!==_0xd0b8ac(0x13d)&&_0x411b86?.[_0xd0b8ac(0x119)]!==_0xd0b8ac(0x17c)&&_0x411b86?.[_0xd0b8ac(0x119)]!==_0xd0b8ac(0x125)||typeof _0x411b86[_0xd0b8ac(0x127)]!==_0xd0b8ac(0x146)||typeof _0x411b86[_0xd0b8ac(0x147)]!==_0xd0b8ac(0x146))return undefined;return{'status':_0x411b86[_0xd0b8ac(0x119)],...typeof _0x411b86[_0xd0b8ac(0x109)]===_0xd0b8ac(0x146)?{'processId':_0x411b86[_0xd0b8ac(0x109)]}:{},'stdout':_0x411b86[_0xd0b8ac(0x127)],'stderr':_0x411b86[_0xd0b8ac(0x147)],...typeof _0x411b86[_0xd0b8ac(0x160)]===_0xd0b8ac(0x12d)||_0x411b86[_0xd0b8ac(0x160)]===null?{'exitCode':_0x411b86[_0xd0b8ac(0x160)]}:{},'truncated':_0x411b86[_0xd0b8ac(0x135)]===!![]};}function record(_0x4ee9e3){const _0x447f2=_0x8f60b1;return _0x4ee9e3!==null&&typeof _0x4ee9e3===_0x447f2(0x178)&&!Array[_0x447f2(0x115)](_0x4ee9e3)?_0x4ee9e3:undefined;}function nonnegativeInteger(_0x316968){const _0x5cc550=_0x8f60b1;return typeof _0x316968===_0x5cc550(0x12d)&&Number[_0x5cc550(0x150)](_0x316968)&&_0x316968>=0x9c5+-0x1*-0x12b9+-0x2*0xe3f?_0x316968:null;}
2
+ const _0x12d190=_0xcd7a;(function(_0x13565e,_0x41ccb8){const _0x57ea30=_0xcd7a,_0x171c3a=_0x13565e();while(!![]){try{const _0x2c8ca7=parseInt(_0x57ea30(0x18d))/(-0x2356+-0x2457+-0x47ae*-0x1)+parseInt(_0x57ea30(0x197))/(0xb38+0x134f*-0x2+-0x2*-0xdb4)*(parseInt(_0x57ea30(0x1b6))/(0xd86+0x1*-0xf58+0x1d5))+parseInt(_0x57ea30(0x1c1))/(0xb*-0x2e7+-0x5*0x39d+0x3202)+parseInt(_0x57ea30(0x19b))/(0xb11+0x8dc+0x62*-0x34)+parseInt(_0x57ea30(0x188))/(0x303*-0x1+-0x5f*-0x14+0x1*-0x463)+-parseInt(_0x57ea30(0x15f))/(0x25*0x29+0x557+-0xb3d)*(parseInt(_0x57ea30(0x1b1))/(-0x375+-0x1b5f*0x1+0x1*0x1edc))+-parseInt(_0x57ea30(0x18b))/(0x22aa+-0x1463+-0xe3e);if(_0x2c8ca7===_0x41ccb8)break;else _0x171c3a['push'](_0x171c3a['shift']());}catch(_0x4678d9){_0x171c3a['push'](_0x171c3a['shift']());}}}(_0x4011,0x15edd5+0x1*-0x1573af+0xd9232));import{boundedConversationItemId,compactRunnerText,compactRunnerValue}from'../../util/node-operation-parsers.js';import{runnerErrorProjection}from'../../util/runner-error.js';export class MarAgentConversationNormalizer{#tools=new Map();#commands=new Map();#processOrigins=new Map();[_0x12d190(0x17b)](_0x8980a8){const _0xc86e47=_0x12d190;if(_0x8980a8[_0xc86e47(0x15c)]===_0xc86e47(0x1ca)){const _0x5ed2a5=runnerErrorProjection({'code':_0x8980a8[_0xc86e47(0x16e)],'message':_0x8980a8[_0xc86e47(0x15d)]},_0xc86e47(0x1b9));return[{'itemId':itemId(_0xc86e47(0x18f),_0x8980a8[_0xc86e47(0x163)]),'kind':_0xc86e47(0x18f),'status':_0xc86e47(0x1bf),'payload':{..._0x5ed2a5,'recoverable':!![],'retryAfterMs':null},'merge':!![]}];}if(_0x8980a8[_0xc86e47(0x15c)]===_0xc86e47(0x17f))return[{'itemId':itemId(_0xc86e47(0x15d),_0x8980a8[_0xc86e47(0x179)]),'kind':_0xc86e47(0x16a),'status':_0xc86e47(0x19f),'payload':{'text':_0x8980a8[_0xc86e47(0x174)],'format':_0xc86e47(0x157),'model':null}}];if(_0x8980a8[_0xc86e47(0x15c)]===_0xc86e47(0x180))return[{'itemId':itemId(_0xc86e47(0x15d),_0x8980a8[_0xc86e47(0x179)]),'kind':_0xc86e47(0x199),'status':_0xc86e47(0x19f),'payload':{'explanation':_0x8980a8[_0xc86e47(0x174)],'steps':[]}}];if(_0x8980a8[_0xc86e47(0x15c)]===_0xc86e47(0x178))return[{'itemId':itemId(_0xc86e47(0x1a4),_0x8980a8[_0xc86e47(0x1b7)]),'kind':_0xc86e47(0x1a6),'status':_0xc86e47(0x19f),'payload':{'sections':[{'index':0x0,'text':compactRunnerText(_0x8980a8[_0xc86e47(0x174)],-0x32ed*0x1+0x4dfc+-0x1b7*-0x7)}]}}];if(_0x8980a8[_0xc86e47(0x15c)]===_0xc86e47(0x1c8))return this.#toolStarted(_0x8980a8);if(_0x8980a8[_0xc86e47(0x15c)]===_0xc86e47(0x182))return this.#toolCompleted(_0x8980a8);if(_0x8980a8[_0xc86e47(0x15c)]===_0xc86e47(0x164))return this.#toolFailed(_0x8980a8);if(_0x8980a8[_0xc86e47(0x15c)]===_0xc86e47(0x1a0))return[{'itemId':itemId(_0xc86e47(0x171),_0x8980a8[_0xc86e47(0x179)]),'kind':_0xc86e47(0x160),'status':_0x8980a8[_0xc86e47(0x1b4)]===_0xc86e47(0x185)?_0xc86e47(0x18a):_0x8980a8[_0xc86e47(0x1b4)]===_0xc86e47(0x19f)?_0xc86e47(0x19f):_0xc86e47(0x1bf),'payload':{'namespace':_0xc86e47(0x1c0),'toolName':_0x8980a8[_0xc86e47(0x19c)]===_0xc86e47(0x158)?_0xc86e47(0x1ce):_0xc86e47(0x1b0),'title':_0x8980a8[_0xc86e47(0x19c)]===_0xc86e47(0x158)?_0xc86e47(0x1c2):_0xc86e47(0x189),'inputSummary':_0x8980a8[_0xc86e47(0x167)][_0xc86e47(0x166)]===undefined&&_0x8980a8[_0xc86e47(0x167)][_0xc86e47(0x172)]===undefined?null:compactRunnerText(_0x8980a8[_0xc86e47(0x167)][_0xc86e47(0x166)]??_0x8980a8[_0xc86e47(0x167)][_0xc86e47(0x172)]??'',-0x2dd7+0x4081+-0x1*-0x1466),'outputSummary':_0x8980a8[_0xc86e47(0x167)][_0xc86e47(0x19d)]===undefined?null:compactRunnerText(_0x8980a8[_0xc86e47(0x167)][_0xc86e47(0x19d)],-0x13*0xbf+-0x84+0x1*0x35c1),'progressLabel':_0x8980a8[_0xc86e47(0x1b4)]===_0xc86e47(0x185)?_0xc86e47(0x159):null,'errorCode':_0x8980a8[_0xc86e47(0x1b4)]===_0xc86e47(0x1bf)?_0xc86e47(0x16b):null,'truncated':![]},'merge':!![]}];if(_0x8980a8[_0xc86e47(0x15c)]===_0xc86e47(0x1b2))return[{'itemId':itemId(_0xc86e47(0x168),_0x8980a8[_0xc86e47(0x163)]),'kind':_0xc86e47(0x1aa),'status':_0xc86e47(0x19f),'payload':{'items':_0x8980a8[_0xc86e47(0x1c3)][_0xc86e47(0x1a9)](_0x3e328f=>({'id':compactRunnerText(_0x3e328f['id'],-0x107a+-0x4f*-0x55+-0x941)||_0xc86e47(0x1b5),'text':_0x3e328f[_0xc86e47(0x186)],'status':_0x3e328f[_0xc86e47(0x1b4)][_0xc86e47(0x19e)]()}))},'merge':!![]}];if(_0x8980a8[_0xc86e47(0x15c)]===_0xc86e47(0x176))return[{'itemId':itemId(_0xc86e47(0x1a2),_0x8980a8[_0xc86e47(0x1b7)]),'kind':_0xc86e47(0x16c),'status':_0xc86e47(0x19f),'payload':{'phase':_0xc86e47(0x19f),'summaryCode':_0xc86e47(0x1a5)}}];if(_0x8980a8[_0xc86e47(0x15c)]===_0xc86e47(0x165)||_0x8980a8[_0xc86e47(0x15c)]===_0xc86e47(0x1c6))return[{'itemId':itemId(_0xc86e47(0x15e),_0x8980a8[_0xc86e47(0x1a7)]),'kind':_0xc86e47(0x160),'status':_0x8980a8[_0xc86e47(0x15c)]===_0xc86e47(0x165)?_0xc86e47(0x18a):_0x8980a8[_0xc86e47(0x1b4)]===_0xc86e47(0x1a3)?_0xc86e47(0x19f):_0x8980a8[_0xc86e47(0x1b4)]===_0xc86e47(0x19a)?_0xc86e47(0x1cb):_0xc86e47(0x1bf),'payload':{'namespace':_0xc86e47(0x198),'toolName':_0xc86e47(0x15e),'title':_0x8980a8[_0xc86e47(0x15c)]===_0xc86e47(0x165)?compactRunnerText(_0x8980a8[_0xc86e47(0x17e)],0x1*0x2164+0x2346+-0x42b6)||_0xc86e47(0x1bc):_0xc86e47(0x1bc),'inputSummary':_0x8980a8[_0xc86e47(0x15c)]===_0xc86e47(0x165)?compactRunnerText(_0x8980a8[_0xc86e47(0x17e)],0x1e65*-0x1+-0x5*-0x991+0x15a0):null,'outputSummary':_0x8980a8[_0xc86e47(0x15c)]===_0xc86e47(0x1c6)?_0x8980a8[_0xc86e47(0x1b4)]:null,'progressLabel':_0x8980a8[_0xc86e47(0x15c)]===_0xc86e47(0x165)?_0xc86e47(0x159):null,'errorCode':null,'truncated':![]},'merge':!![]}];return[];}#toolStarted(_0x354305){const _0x1b550f=_0x12d190,_0x328b70=itemId(_0x1b550f(0x156),_0x354305[_0x1b550f(0x161)]);if(_0x354305[_0x1b550f(0x1cd)]===_0x1b550f(0x1bd)){const _0x257055=record(_0x354305[_0x1b550f(0x18c)])??{},_0x4142ce=_0x257055[_0x1b550f(0x1a1)];if(_0x4142ce===_0x1b550f(0x169)&&typeof _0x257055[_0x1b550f(0x173)]===_0x1b550f(0x1ad)){const _0x1c5d6a={'itemId':_0x328b70,'command':compactRunnerText(_0x257055[_0x1b550f(0x173)],0xa86+-0x21f*0x1+0x1ea9*0x1),'cwd':typeof _0x257055[_0x1b550f(0x1ba)]===_0x1b550f(0x1ad)?compactRunnerText(_0x257055[_0x1b550f(0x1ba)],0x183*0x5+0x1f*-0xdd+0xbbc*0x3):null,'outputPreview':'','exitCode':null,'truncated':![]};return this.#commands[_0x1b550f(0x175)](_0x354305[_0x1b550f(0x161)],_0x1c5d6a),this.#tools[_0x1b550f(0x175)](_0x354305[_0x1b550f(0x161)],{'toolName':_0x354305[_0x1b550f(0x1cd)],'input':_0x354305[_0x1b550f(0x18c)],'itemId':_0x328b70,'structured':!![],'commandOrigin':_0x354305[_0x1b550f(0x161)]}),[commandItem(_0x1c5d6a,_0x1b550f(0x18a))];}if((_0x4142ce===_0x1b550f(0x1be)||_0x4142ce===_0x1b550f(0x191)||_0x4142ce===_0x1b550f(0x18e))&&typeof _0x257055[_0x1b550f(0x170)]===_0x1b550f(0x1ad)){const _0x11f27d=this.#processOrigins[_0x1b550f(0x1bb)](_0x257055[_0x1b550f(0x170)]);if(_0x11f27d!==undefined)return this.#tools[_0x1b550f(0x175)](_0x354305[_0x1b550f(0x161)],{'toolName':_0x354305[_0x1b550f(0x1cd)],'input':_0x354305[_0x1b550f(0x18c)],'itemId':_0x328b70,'structured':!![],'commandOrigin':_0x11f27d}),[];}}this.#tools[_0x1b550f(0x175)](_0x354305[_0x1b550f(0x161)],{'toolName':_0x354305[_0x1b550f(0x1cd)],'input':_0x354305[_0x1b550f(0x18c)],'itemId':_0x328b70,'structured':_0x1b550f(0x18c)in _0x354305});if(_0x354305[_0x1b550f(0x1cd)]===_0x1b550f(0x190)&&_0x1b550f(0x18c)in _0x354305)return[fileChangeItem(_0x328b70,_0x1b550f(0x18a),[])];return[genericToolItem(_0x328b70,_0x354305[_0x1b550f(0x1cd)],_0x1b550f(0x18a),_0x354305[_0x1b550f(0x18c)])];}#toolCompleted(_0x5835c9){const _0x3856d0=_0x12d190,_0x1a6bce=this.#tools[_0x3856d0(0x1bb)](_0x5835c9[_0x3856d0(0x161)]);if(_0x5835c9[_0x3856d0(0x1cd)]===_0x3856d0(0x1bd)&&_0x1a6bce?.[_0x3856d0(0x1c7)]!==undefined){const _0x5c4fee=this.#commands[_0x3856d0(0x1bb)](_0x1a6bce[_0x3856d0(0x1c7)]),_0x286544=execResult(_0x5835c9[_0x3856d0(0x187)]);if(_0x5c4fee!==undefined&&_0x286544!==undefined){if(_0x286544[_0x3856d0(0x170)]!==undefined)this.#processOrigins[_0x3856d0(0x175)](_0x286544[_0x3856d0(0x170)],_0x1a6bce[_0x3856d0(0x1c7)]);applyCommandResult(_0x5c4fee,_0x286544);const _0x5c4568=_0x286544[_0x3856d0(0x1b4)]===_0x3856d0(0x1af)?_0x3856d0(0x18a):_0x286544[_0x3856d0(0x1b4)]===_0x3856d0(0x1a3)&&_0x286544[_0x3856d0(0x196)]===0x1*-0x69b+-0x1dab+-0x2446*-0x1?_0x3856d0(0x19f):_0x3856d0(0x1bf);return[commandItem(_0x5c4fee,_0x5c4568)];}}if(_0x5835c9[_0x3856d0(0x1cd)]===_0x3856d0(0x190)&&(_0x1a6bce?.[_0x3856d0(0x15a)]===!![]||Array[_0x3856d0(0x177)](record(_0x5835c9[_0x3856d0(0x187)])?.[_0x3856d0(0x1a8)])))return[fileChangeItem(_0x1a6bce?.[_0x3856d0(0x179)]??itemId(_0x3856d0(0x156),_0x5835c9[_0x3856d0(0x161)]),_0x3856d0(0x19f),patchChanges(_0x5835c9[_0x3856d0(0x187)]))];return[genericToolItem(_0x1a6bce?.[_0x3856d0(0x179)]??itemId(_0x3856d0(0x156),_0x5835c9[_0x3856d0(0x161)]),_0x5835c9[_0x3856d0(0x1cd)],_0x3856d0(0x19f),_0x1a6bce?.[_0x3856d0(0x18c)],_0x5835c9[_0x3856d0(0x167)],null,_0x5835c9[_0x3856d0(0x16f)])];}#toolFailed(_0x191a26){const _0xc5746d=_0x12d190,_0xa9e352=this.#tools[_0xc5746d(0x1bb)](_0x191a26[_0xc5746d(0x161)]);if(_0x191a26[_0xc5746d(0x1cd)]===_0xc5746d(0x1bd)&&_0xa9e352?.[_0xc5746d(0x1c7)]!==undefined){const _0x248117=this.#commands[_0xc5746d(0x1bb)](_0xa9e352[_0xc5746d(0x1c7)]);if(_0x248117!==undefined)return[commandItem(_0x248117,_0xc5746d(0x1bf))];}if(_0x191a26[_0xc5746d(0x1cd)]===_0xc5746d(0x190)&&_0xa9e352?.[_0xc5746d(0x15a)]===!![])return[fileChangeItem(_0xa9e352?.[_0xc5746d(0x179)]??itemId(_0xc5746d(0x156),_0x191a26[_0xc5746d(0x161)]),_0xc5746d(0x1bf),[])];return[genericToolItem(_0xa9e352?.[_0xc5746d(0x179)]??itemId(_0xc5746d(0x156),_0x191a26[_0xc5746d(0x161)]),_0x191a26[_0xc5746d(0x1cd)],_0xc5746d(0x1bf),_0xa9e352?.[_0xc5746d(0x18c)],null,_0x191a26[_0xc5746d(0x16e)])];}}function itemId(_0x1caa69,_0x548a44){const _0x1a3e8c=_0x12d190;return boundedConversationItemId(_0x1a3e8c(0x1cc)+_0x1caa69,_0x548a44);}function _0xcd7a(_0x2b663e,_0x4d7549){_0x2b663e=_0x2b663e-(-0x136*0x19+-0x1fd4+-0x74*-0x8c);const _0x2ee2eb=_0x4011();let _0x14ebd5=_0x2ee2eb[_0x2b663e];if(_0xcd7a['oOCsKR']===undefined){var _0x7a8a35=function(_0x593dad){const _0x56b665='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x5c1a4b='',_0x2c332b='';for(let _0x535984=-0x8b*-0x1f+0x85a*0x1+-0x192f,_0x5a0b7d,_0xc64580,_0x6db2b7=-0x17b3+0x999+-0x13*-0xbe;_0xc64580=_0x593dad['charAt'](_0x6db2b7++);~_0xc64580&&(_0x5a0b7d=_0x535984%(-0xb43+0x1f8e+-0x1447)?_0x5a0b7d*(0x4a5+0x1*-0x121c+0xdb7)+_0xc64580:_0xc64580,_0x535984++%(-0x4f*-0x55+-0x6ee+0x1349*-0x1))?_0x5c1a4b+=String['fromCharCode'](0x16bf+0x466+-0x1a26&_0x5a0b7d>>(-(0x9d*0x27+0x505+-0x1cee)*_0x535984&0x543+-0x110*0x1+0x42d*-0x1)):0x183*0x5+0x1f*-0xdd+0x99a*0x2){_0xc64580=_0x56b665['indexOf'](_0xc64580);}for(let _0x4979cd=0x1*-0x69b+-0x1dab+-0x2446*-0x1,_0x32b658=_0x5c1a4b['length'];_0x4979cd<_0x32b658;_0x4979cd++){_0x2c332b+='%'+('00'+_0x5c1a4b['charCodeAt'](_0x4979cd)['toString'](-0xa44+-0x73*0x11+0x1*0x11f7))['slice'](-(0xb*0x146+-0x41*-0x6f+-0x2a2f*0x1));}return decodeURIComponent(_0x2c332b);};_0xcd7a['gXzAAl']=_0x7a8a35,_0xcd7a['ysGZcJ']={},_0xcd7a['oOCsKR']=!![];}const _0x5bfd1c=_0x2ee2eb[-0xf2e+0x119e+-0x270];_0xcd7a['YbKkxa']!==_0x5bfd1c&&(_0xcd7a['ysGZcJ']={},_0xcd7a['YbKkxa']=_0x5bfd1c);const _0x5cb0cd=_0xcd7a['ysGZcJ'][_0x2b663e];return _0x5cb0cd===undefined?(_0x14ebd5=_0xcd7a['gXzAAl'](_0x14ebd5),_0xcd7a['ysGZcJ'][_0x2b663e]=_0x14ebd5):_0x14ebd5=_0x5cb0cd,_0x14ebd5;}function _0x4011(){const _0x17e08e=['q09ovevyvf9dt01qqunuruq','CMvHC29UAw5Nx3n1Bw1HCNK','DgfZA0LK','zMLSzxm','BwfW','Dg9KB19SAxn0','DgfYz2v0ugf0Aa','zMLSDgvY','C3rYAw5N','BNvTyMvY','CNvUBMLUzW','D2vIx2zLDgnO','ogvNs2DguG','Dg9KBY51CgrHDgvK','BgvUz3rO','C3rHDhvZ','Dw5RBM93BG','ntqYmZe5swz4CMTW','zxzLBNrjza','AM9PBG','tufsx0fhru5ux1jvtL9gquLmruq','y3DK','z2v0','u3vIywDLBNq','zxHLyW','Cg9SBa','rKfjteve','Ag9ZDgvKlxDLyG','nZu4ndu2EuXMAunu','v2vIihnLyxjJAa','AxrLBxm','qureruq','AxnjBNrLz2vY','C3vIywDLBNqUy29TCgXLDgvK','y29TBwfUze9YAwDPBG','Dg9VBc5ZDgfYDgvK','zgvSzxrLzeXPBMvZ','zxHLy3v0Aw9UlMzHAwXLza','q0foq0vmteve','BwfYlwfNzw50lq','Dg9VBe5HBwu','D2vIx3nLyxjJAa','y29TBwfUzf9LEgvJDxrPB24','Cgf0Aa','Dg9VBa','BwfYA2rVD24','v0vcx1nfqvjdsa','uNvUBMLUzW','C3rYDwn0DxjLza','B2jQzwn0','DhLWzq','BwvZC2fNzq','C3vIywDLBNq','mZuYntmZm1PrCwT4ra','Dg9VBf9JywXS','y2fSBeLK','B3bLCMf0Aw9U','zxHLy3v0Aw9Uswq','Dg9VBc5MywLSzwq','C3vIywDLBNqUC3rHCNrLza','CxvLCNK','C3vTBwfYEq','Dg9KBY1SAxn0','C3rHCNq','yxnZAxn0yw50x21LC3nHz2u','se9tvevex1rpt0XFrKfjteve','y29UDgv4Df9JB21Wywn0Aw9U','ywrKzwq','y29Kzq','Dhj1BMnHDgvK','ChjVy2vZC0LK','Ag9ZDgvK','DxjS','y29TBwfUza','Dgv4Da','C2v0','y29UDgv4Dc5JB21Wywn0zwq','AxnbCNjHEq','CMvHC29UAw5NlNn1Bw1HCNK','AxrLBuLK','zMLSzv9JAgfUz2u','BM9YBwfSAxPL','zgvSzxrLza','tu9esuzjruq','zgvZy3jPChrPB24','BwvZC2fNzs5JB21WBgv0zwq','CgXHBI5JB21WBgv0zwq','C3rKB3v0','Dg9VBc5JB21WBgv0zwq','Bw92zwq','ywrKzwrmAw5LCW','uLvotKLorW','C3rLCa','zgf0yq','odqYmtK4neXgrxHzyG','v2vIigzLDgnO','su5Fufjpr1jfu1m','mtq5mJuWnZHtBuTtwwW','Aw5WDxq','otm4ndyXr25PzwDy','y2fUy2vS','zxjYB3i','yxbWBhLFCgf0y2G','D3jPDgu','zMXHDe1HCa','B3v0Chv0uhjLDMLLDW','C3rKzxjY','revmrvrfra','zxHPDenVzgu','mMLqBePXDG','BwfYlwfNzw50','CgXHBG','y2fUy2vSBgvK','mtG1mdu2nujqrwjVua','A2LUza','DgL0Bgu','Dg9vChbLCKnHC2u','q09nueXfveve','Ag9ZDgvKx3rVB2WUDxbKyxrLza','ywn0Aw9U','y29TCgfJDa','y29TCgXLDgvK','CMvHC29UAw5N'];_0x4011=function(){return _0x17e08e;};return _0x4011();}function genericToolItem(_0x5d6d25,_0x270a32,_0xf30a56,_0x12145d,_0x29c11b=null,_0x4e5317=null,_0x4f7982=![]){const _0x237fdf=_0x12d190;return{'itemId':_0x5d6d25,'kind':_0x237fdf(0x160),'status':_0xf30a56,'payload':{'namespace':_0x237fdf(0x198),'toolName':compactRunnerText(_0x270a32,-0xa44+-0x73*0x11+0x1*0x1267)||_0x237fdf(0x1b5),'title':compactRunnerText(_0x270a32,0xb*0x146+-0x41*-0x6f+-0x283d*0x1)||_0x237fdf(0x1b5),'inputSummary':compactRunnerValue(_0x12145d,-0x1e5d+0x233b+0x2232)[_0x237fdf(0x174)]||null,'outputSummary':_0x29c11b===null?null:compactRunnerText(_0x29c11b,-0x707+-0x4636+0x744d),'progressLabel':_0xf30a56===_0x237fdf(0x18a)?_0x237fdf(0x159):null,'errorCode':_0x4e5317===null?null:compactRunnerText(_0x4e5317,0x913*0x4+-0x1*-0x24df+0x48db*-0x1),'truncated':_0x4f7982},'merge':!![]};}function commandItem(_0x58013c,_0x4f9ba1){const _0x20a28c=_0x12d190;return{'itemId':_0x58013c[_0x20a28c(0x179)],'kind':_0x20a28c(0x1cf),'status':_0x4f9ba1,'payload':{'command':_0x58013c[_0x20a28c(0x173)],'cwd':_0x58013c[_0x20a28c(0x1ba)],'outputPreview':_0x58013c[_0x20a28c(0x193)],'outputRef':null,'exitCode':_0x58013c[_0x20a28c(0x196)],'durationMs':null,'truncated':_0x58013c[_0x20a28c(0x16f)]},'merge':!![]};}function applyCommandResult(_0x352480,_0x56500f){const _0x4a4632=_0x12d190,_0x46deb6=[_0x56500f[_0x4a4632(0x181)],_0x56500f[_0x4a4632(0x194)]][_0x4a4632(0x1ac)](Boolean)[_0x4a4632(0x1b8)]('\x0a');if(_0x46deb6[_0x4a4632(0x1b3)]>0x1*-0x1ceb+-0x2174+0x3e5f){const _0xcf4551=[_0x352480[_0x4a4632(0x193)],_0x46deb6][_0x4a4632(0x1ac)](Boolean)[_0x4a4632(0x1b8)]('\x0a');_0x352480[_0x4a4632(0x16f)]||=_0xcf4551[_0x4a4632(0x1b3)]>0x1537*-0x1+0xf15+-0x37a*-0xd,_0x352480[_0x4a4632(0x193)]=compactRunnerText(_0xcf4551,0x49a3+0xe8+-0x237b*0x1);}_0x352480[_0x4a4632(0x196)]=_0x56500f[_0x4a4632(0x196)]??_0x352480[_0x4a4632(0x196)],_0x352480[_0x4a4632(0x16f)]||=_0x56500f[_0x4a4632(0x16f)];}function fileChangeItem(_0x4ea9de,_0x169501,_0x42ee4f){const _0x224fff=_0x12d190;return{'itemId':_0x4ea9de,'kind':_0x224fff(0x17a),'status':_0x169501,'payload':{'changes':_0x42ee4f},'merge':!![]};}function patchChanges(_0x55dd89){const _0x31d4d7=_0x12d190,_0x106842=record(_0x55dd89)?.[_0x31d4d7(0x1a8)];if(!Array[_0x31d4d7(0x177)](_0x106842))return[];return _0x106842[_0x31d4d7(0x192)](_0xfeb0af=>{const _0x4fb246=_0x31d4d7,_0x430283=record(_0xfeb0af);if(typeof _0x430283?.[_0x4fb246(0x1d0)]!==_0x4fb246(0x1ad))return[];const _0x5e74d2=compactRunnerText(_0x430283[_0x4fb246(0x1d0)],-0x119*0x4+-0x11*0x19d+-0x2fd1*-0x1);if(_0x5e74d2[_0x4fb246(0x1b3)]===0x1cf*0xb+0x264d+0xd*-0x47a)return[];const _0xe30cce=nonnegativeInteger(_0x430283[_0x4fb246(0x184)]),_0x46a635=nonnegativeInteger(_0x430283[_0x4fb246(0x1c9)]);if(_0x430283[_0x4fb246(0x162)]===_0x4fb246(0x183)&&typeof _0x430283[_0x4fb246(0x1ab)]===_0x4fb246(0x1ad)){const _0x5990c7=compactRunnerText(_0x430283[_0x4fb246(0x1ab)],0x26f6+-0x16a7+-0x4f);if(_0x5990c7[_0x4fb246(0x1b3)]===-0x386+0x1d96+-0x1a10)return[change(_0x5e74d2,_0x4fb246(0x17d),_0xe30cce,_0x46a635)];return[change(_0x5e74d2,_0x4fb246(0x195),_0xe30cce,_0x46a635),change(_0x5990c7,_0x4fb246(0x1c4),_0xe30cce,_0x46a635)];}const _0x3528ba=_0x430283[_0x4fb246(0x162)]===_0x4fb246(0x16d)?_0x4fb246(0x1c4):_0x430283[_0x4fb246(0x162)]===_0x4fb246(0x17c)?_0x4fb246(0x195):_0x4fb246(0x17d);return[change(_0x5e74d2,_0x3528ba,_0xe30cce,_0x46a635)];});}function change(_0x43b3ed,_0x5f5a8b,_0x5e64f7,_0x4ec0da){return{'path':_0x43b3ed,'change':_0x5f5a8b,'additions':_0x5e64f7,'deletions':_0x4ec0da,'diffAvailable':![]};}function execResult(_0x32c643){const _0x5d1e87=_0x12d190,_0x2dbf51=record(_0x32c643);if(_0x2dbf51?.[_0x5d1e87(0x1b4)]!==_0x5d1e87(0x1af)&&_0x2dbf51?.[_0x5d1e87(0x1b4)]!==_0x5d1e87(0x1a3)&&_0x2dbf51?.[_0x5d1e87(0x1b4)]!==_0x5d1e87(0x19a)||typeof _0x2dbf51[_0x5d1e87(0x181)]!==_0x5d1e87(0x1ad)||typeof _0x2dbf51[_0x5d1e87(0x194)]!==_0x5d1e87(0x1ad))return undefined;return{'status':_0x2dbf51[_0x5d1e87(0x1b4)],...typeof _0x2dbf51[_0x5d1e87(0x170)]===_0x5d1e87(0x1ad)?{'processId':_0x2dbf51[_0x5d1e87(0x170)]}:{},'stdout':_0x2dbf51[_0x5d1e87(0x181)],'stderr':_0x2dbf51[_0x5d1e87(0x194)],...typeof _0x2dbf51[_0x5d1e87(0x196)]===_0x5d1e87(0x1ae)||_0x2dbf51[_0x5d1e87(0x196)]===null?{'exitCode':_0x2dbf51[_0x5d1e87(0x196)]}:{},'truncated':_0x2dbf51[_0x5d1e87(0x16f)]===!![]};}function record(_0x356d05){const _0x93d8dc=_0x12d190;return _0x356d05!==null&&typeof _0x356d05===_0x93d8dc(0x15b)&&!Array[_0x93d8dc(0x177)](_0x356d05)?_0x356d05:undefined;}function nonnegativeInteger(_0x56f8be){const _0x4c6855=_0x12d190;return typeof _0x56f8be===_0x4c6855(0x1ae)&&Number[_0x4c6855(0x1c5)](_0x56f8be)&&_0x56f8be>=0x3ad*-0x2+0x7*-0x3a+0x8f0?_0x56f8be:null;}