@myagentroam/node 0.9.20 → 0.9.22
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 +1 -1
- package/dist/runner/claude/tool-normalizer.js +1 -1
- package/dist/runner/codex/tool-normalizer.js +1 -1
- package/dist/runner/mar-agent/conversation-normalizer.js +1 -1
- package/dist/runner/mar-agent/managed-run-controller.js +1 -1
- package/dist/runner/mar-agent-runner.js +1 -1
- package/dist/runner/opencode/tool-normalizer.js +1 -1
- package/dist/service/node-workspace-coordinator.js +1 -1
- package/dist/service/workspace-workbench-service.js +1 -1
- package/dist/workspace.js +1 -1
- package/package.json +3 -3
package/dist/connector.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/* mar-release-protected */
|
|
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);}}
|
|
2
|
+
const _0x5e09f1=_0x13b9;(function(_0x4499b9,_0x1367be){const _0x236e03=_0x13b9,_0x5e404b=_0x4499b9();while(!![]){try{const _0xaf0f9a=parseInt(_0x236e03(0x190))/(-0x2099*-0x1+-0xd*0x16f+0xdf5*-0x1)*(parseInt(_0x236e03(0x201))/(0x61b*0x1+-0x112*0xb+0x1*0x5ad))+parseInt(_0x236e03(0xf7))/(0x9b+-0x1308*-0x2+-0x26a8)+parseInt(_0x236e03(0xf3))/(-0x183b+-0x1e46+0x3685)*(-parseInt(_0x236e03(0x17a))/(0x1218+0x1a4b+-0x6*0x765))+-parseInt(_0x236e03(0xaf))/(-0x23fb+0x3*0x5a7+0x130c)+parseInt(_0x236e03(0x1c3))/(-0x3d4+-0x3*0x3a2+0xec1)+parseInt(_0x236e03(0x221))/(0x101e+-0x1d70+-0x2*-0x6ad)*(parseInt(_0x236e03(0x204))/(0xa7e*-0x1+0x1ded+-0x1366))+parseInt(_0x236e03(0x10c))/(-0x270d+-0x8*-0x16b+-0x1*-0x1bbf)*(-parseInt(_0x236e03(0x173))/(-0x1*0xf29+0x11ee+-0x2ba*0x1));if(_0xaf0f9a===_0x1367be)break;else _0x5e404b['push'](_0x5e404b['shift']());}catch(_0x135d9f){_0x5e404b['push'](_0x5e404b['shift']());}}}(_0x36f2,-0x1*0xf2504+0x12d5aa+0x7ce51));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';function _0x36f2(){const _0x8c361f=['y2fUy2vSq29KzxHuDxjU','BM93','y2fWywjPBgL0EurLDgvJDg9Y','zMfPBgvKqxr0zw1WDhm','C29JA2v0','zgLZy292zxjxB3jRC3bHy2vtzxnZAw9UCW','CMvJB3jKzwqTC2vZC2LVBG','Aw5ZDgfSBgf0Aw9U','C3vIBwL0twLZC2LVBG','C25HChnOB3rtzxf1zw5Jzq','zxHPDa','tufsx0fhru5ux1DfqL9trufsq0HFrKfjteve','zMfRzvnJCMLWDa','tK9erv9vtKfvveHftLrjq0furuq','C3rHCNq','yxnZAxn0yw50x21LC3nHz2u','sfruua','y29UBMvJDgvK','y3jLzgvUDgLHBa','CNvUBMvY','CMvZCg9UzfvZzxjjBNb1Da','ywnJzxb0rM9YtwvZC2fNzq','y2XHDwrLqxbWCM92ywXuAw1LB3v0txm','zxzLBNq','D29YA3nWywnLq2HHBMDLu2vYDMLJzq','CgXHDgzVCM0','z2v0uNvU','yMLUzenVBw1HBMrdB250CM9S','BgLZDa','y3jLyxrLqxbWCM92ywW','zw1PDfj1BG','zxHWAxjL','DgvYBwLUywXtzxj2AwnL','zgLZy292zxjxB3jRC3bHy2u','Aw50zxjYDxb0uMvXDwvZDgvK','BwLZC2LVBK1JCfnLCNzLCG','ChvIBgLZAfDVCMTIzw5JAev2zw50','CMvMCMvZAenHCgfIAwXPDgLLCW','y2HHBM5LBfrVA2vU','zwzMB3j0','BMv4Da','CMvNAxn0zxjbBgW','C3rHCNrLzef0','mtm3nda0ng5WuK1zCG','CMvHzeHPC3rVCNLqywDL','D29YA2jLBMnOtwfUAwzLC3rtzxj2AwnL','y29UDMvYC2f0Aw9Uu2vNBwvUDfnLCNzPy2u','D29YA3nWywnLv29YA2jLBMnOu2vYDMLJzq','Dgv4Dc5KzwX0yq','y2f0y2G','CNvUBMvYsw50zxjHy3rPB25tzxj2AwnL','BM9Kzs5JB25Uzwn0Aw5N','uvvfvuu','z2v0v29YA3nWywnL','ChjVBw90zvnLC3nPB25jzgvUDgL0Eq','zxHLy3v0zunVBw1HBMq','CNvUBMvYq2HHBM5LBe1LC3nHz2vZ','rKflrv9svu5orvjFreLtq09otKvdva','ywnJzxnZ','DhvYBG','ywn0AxzL','Dgv4Da','Dg9WAwnby3rPDMu','y29UzMLNugf0Aa','y2fWywjPBgL0AwvZ','BwfUywDLzfj1BM5LCLnLC3nPB25Z','ywrK','ue9tva','lw9Wzw5JB2rLlwLTywDLCW','C2v0','ChjVBxb0','BM9Kzs51CgDYywrLlNjLCxvLC3q','CNvUv29YA2jLBMnOu2vYDMLJzq','ChvIBgLZAefWChjVDMfS','C2vXDwvUy2u','DxnLCKLUChv0CW','y29TCgXLDgvKqxq','D29YA2jLBMnOrxzLBNrtzxj2AwnL','zw1PDenVBNzLCNnHDgLVBKL0zw0','BwfYqwDLBNrdBgLLBNq','C2vZC2LVBKXPzMvJEwnSzvnLCNzPy2u','zMLUAxnOswrSzu1PC3nPB25sDw4','zw1PDfj1BKv2zw50','C2H1DgrVD24','DxbNCMfKzs1Yzxn1BhqUANnVBG','Bw9KzwW','y2fUy2vS','Bwf0zxjPywXPEMvdB2rLEa','uLvox05pvf9gt1vora','zgf0ywjHC2u','Aw50zxjYDxb0','B3bLBKnVzgvdBgLLBNq','Aw52ywXPzgf0zunHy2HL','DgvYBwLUywXnyw5Hz2vY','Bwv0ywrHDge','y29UDhjVBenOyw5UzwW','zw1PDfDVCMTIzw5JAev2zw50','zMfRzvj1BM5LCG','ChvIBgLZAa','zxHLy3v0Aw9Uu3rHCNrLza','zw1PDenVBNzLCNnHDgLVBLr1CM4','A2LUza','ChvIBgLZAfnUyxbZAg90','zw1PDfjLywX0Aw1L','su5urvjsvvburuq','mZiXmdjIq3vMq0G','BM9Kzs5JB25Uzwn0Aw9UlNjLCgXHy2vK','C2vZC2LVBKnHDgfSB2Dtzxj2AwnL','ntr4wfj4rey','CMvQzwn0','AxnbCNjHEq','C2vZC2LVBI5SAxn0','yxbWCM92ywXZ','BwLZC2LVBLj1BNrPBwu','CNvUlNn0yxj0zwq','y3jLyxrLqwDLBNrtzxnZAw9U','CMvTB3zL','zgvJAwrL','CNvUlMzHAwXLza','BM9Kzs5VCgvYyxrPB24','Ahr0Chm6lY8XmJCUmc4WlJeUAw52ywXPzc9Ty3a','CMvXDwLYzq','CNvUDgLTzq','D29YA3nWywnLswq','q0foq0vmteve','ywn0AxzLv29YA3nWywnLtgvHC2vdB3vUDa','tuLtu0LptL9dt05usu5vqvrjt05FrKfjteve','BMf0AxzLsw1Hz2vsB290CW','C2f2zu5HDgL2zvnLC3nPB25nzxrHzgf0yq','BxLHz2vUDhjVyw1FBwLZC2LVBG','uKvqtefdrv9dvvjsru5u','q0foq0vm','CMvXDwvZDa','C2vZC2LVBG','CgvYC2LZDezPBgvZ','y29UDMvYC2f0Aw9UvhvYBKzVCLj1BG','yMLUzenVBNrYB2W','mJm2mJe2rNbUDNP1','yxbWCM92ywW6','BM9KzvjLCxvLC3rZ','tK9erv9tve9queve','ChjVAMvJDeLUAxrPywW','D29YA3nWywnLu2vZC2LVBLnLCNzPy2u','C2nOzwr1Bgu','ywn0AxzLu2vZC2LVBLj1BG','C2vJCMv0rw52AxjVBM1LBNq','BMf0AxzLswrZ','ChjLC2vUDa','y29UDhjVBe1LC3nHz2vZ','v09ss1nqqunf','BgLZDfDVCMTZCgfJzxm','C3rHDgu','CMvHza','z2v0qwDLBNrtzxnZAw9U','CMvNAxn0zxi','CgvUzgLUzW','CMvTB3zLugvUzgLUz1f1zxvL','CMvSzwfZzvnLC3nPB24','zMLUza','zxzLBNruExbL','ywrVChrsDw4','y2XHDwrLuNvUq29UDhjVBgXLCG','CNvUlNj1BM5PBMC','y29UBMvJDa','DxbNCMfKzvjLywr5','y3vZDg9TvgL0Bgu','AgfZ','C25HChnOB3q','C2v0u2vZC2LVBLjLC291CMnLuMvSzwfZzxi','BM9KzuLK','ChjLCgfYzu1LC3nHz2vjBNb1Da','zMfZDa','CNvUBMvYu2vYDMLJzq','BMf0AxzLu2vZC2LVBLbYB2PLy3rPB25tzxj2AwnL','zxHLy3v0zu5VzgvpCgvYyxrPB24','Bw92zq','mJq3ntyZnM1qt1Lbtq','CMfUzg9Tvvvjra','y2fUy2vSq2XHDwrLuNvU','DxbKyxrLqwDLBNrtzxnZAw9UqwnJzxnZ','y2XLyxjxyxrJAgvZ','DhvYBNm','BgLZDfj1BNngB3jtzxnZAw9U','y29UzMLN','Aw5ZCgvJDe1LDgfKyxrH','zwzMzwn0AxzLtwnWsw5ZDgfSBgf0Aw9UCW','zxHWAxjLqxbWCM92ywW','CgvYC29UywXjBNn0CNvJDgLVBNm','AgfUzgXLtM90AwzPy2f0Aw9U','C2vZC2LVBNm','CgvUzgLUz01PC3nPB25dB21Tyw5Ku3rHDgu','D2LUzg93CW','C2vZC2LVBLn0yxrL','CMvXDwvZDenSyxvKzufWChjVDMfS','DgLTzxi','zxHLy3v0zq','C2vZC2LVBKnVBNrLEhrtzxj2AwnL','zw1PDfnLC3nPB25xB3jRyMvUy2HfDMvUDa','y2XLyxjnAxnZAw9UuMv0CNK','CMvWBgfJzvnVy2TLDezVCLrLC3rPBMC','zw5ZDxjLuMvZDw1LzenVBMzPz3vYyxrPB24','y29UBMvJDgLVBKXPzMvJEwnSzq','CNvUlMnVBxbSzxrLza','y2XLyxjbBgW','yxbWBgLJyxrPB24VANnVBG','CMv2AxnPB24','zw1PDff1zxvL','CNvUrxzLBNrcCMLKz2u','C2vZC2LVBK1LC3nHz2vtzxj2AwnL','zxH0zxjUywXtzxnZAw9Uswq','BMf0AxzLu2vZC2LVBLDHDgnOu2vYDMLJzq','y29UDMvYC2f0Aw9U','surmrq','Dw5Yzwy','CMvXDwvZDenSyxvKzvvZzxjjBNb1Da','CMvZB2X2zq','AxrLBxm','CMvMCMvZAfrPDgXL','y2fWywjPBgL0AwvZuhjVDMLKzwq','y2XVC2vsDw5UAw5NvgvYBwLUywXtzxnZAw9UCW','BM9KzuDLBMvYyxrPB24','CMvMCMvZAev4DgvYBMfSqwn0AxzPDhK','C3rVChbLza','CNvUCW','zMX1C2Hqzw5KAw5Nvgv4Da','ChvIBgLZAe1PC3nPB25tDgf0zq','tK9erv9eqvrbqKftrv9vtKfwquLmqujmrq','Cgf5Bg9Hza','Bg9HzfjLC3vSDa','y2XVC2u','C2v0q2HHBM5LBfrVA2vU','CNvUBMvYlMnVBw1HBMqUzxHLy3v0zq','C3rHCNrdyxbHyMLSAxr5uMvMCMvZAa','CMvZDw1LzenVBMzPz3vYyxrPB24','C2vYDMvYvxjS','C2XPy2u','C2vZC2LVBKLKzw50Axr5u2vYDMLJzq','CMvWBgfJzq','y29UBMvJDgvKqxr0zw1WDa','BwfYlwLUDgvYBMfSlw1PC3nPB24','ywXSB3DLzfjVB3rZ','DgHYzwfKswq','l21PC3nPB24','u0vora','odbLrvDdqw8','CMvJB25Uzwn0u2nOzwr1BgvK','yxzHAwXHyMXL','C2vUza','ndmYmta0ngPjvMfZrW','qMvHCMvYia','B3bLBKnVzgvsDw5dB250CM9SBgvY','D2LUmZi','tuLtu0LptL9ot1rFqunusvzf','y29UDMvYC2f0Aw9UsgLZDg9YEvnLCNzPy2u','D2f0y2GUzxzLBNq','y29TBwL0twv0ywrHDge','CNvUDgLTzs1UB2rL','C2vJCMv0CW','C3vWzxj2AxnLzfvWz3jHzgu','zxH0zxjUywXtzxnZAw9UuMvZDw1Lu2vYDMLJzq','BwLZC2LVBKnVBNrPBNvHDgLVBLbLBMrPBMC','y29KzxG','C3rYAw5N','tK9erv9dt05gsuDFvu5bvKfjtefcteu','DhvYBKLK','Bwv0CMLJCW','CNvUBMvYvxnHz2vszwfKzxi','y29KzxHdBgLLBNq','zgvJAxnPB24','nJbWvNnTu0u','ChjLCgfYzu1PC3nPB25tzxnZAw9U','AgfZrxHLy3v0Aw9Uu3rHCNrLza','BwLNCMf0zvj1BM5LCLnLC3nPB25jzgvUDgL0Eq','CMvJB25JAwXL','C2vZC2LVBI13yxrJAc1ZBMfWC2HVDa','CNvUswq','yMXVy2TZ','Cgf1C2vtzxnZAw9UuxvLDwu','CMvJB25Uzwn0','rvHurvjoquW','CMvHze5HDgL2zq','C3rYAw5NAwz5','l2fWAs9UB2rLlxrVB2XZl3DLyI1ZzwfYy2G','BNvTyMvY','CMvTzw1Izxi','CMvJB25JAwXLugvYC2LZDgvKuNvUCW','CMvJB3jKrxHLy3v0Aw9UuMvZDwX0','CNvUBMvYvgL0Bgu','zgLYzwn0tMf0AxzL','twLZC2LVBG','zgvSzxrL','yxbWCM92ywXjza','BwfYqwDLBNrsDw5dB250CM9SBgvY','uKvkrunuruq','C2vZC2LVBKLK','AgfZqwn0AxzLu2vZC2LVBKXLyxnL','D29YA3nWywnLu2vYDMLJzq','CgvYC2LZDfrLCM1PBMfS','z2v0','CMvJzw50lxj1BNm','DhjHBNnPDgLVBMLUzW','y29UDMvYC2f0Aw9UlML0zw0','BM9Kzs51CgDYywrLlMnHBMnLBa','yM9VDhn0CMfWswrZ','zxH0zxjUywXby3rPDML0Eq','DgvYBwLUywXdAgfUBMvS','zgLZCgf0y2G','CNvUrxzLBNrtzxj2AwnL','rKfjteve','q0foq0vmteLorW','D29YA3nWywnLrMLSzvnLCNzPy2u','Aw5KzxG','l21PC3nPB24Gls1JBgvHCG','y3vYCMvUDev4zwn1DgLVBKLK','u1vdq0vfreve','CMvZDw1Lqwz0zxjdB21Tyw5KuNvU','DMfSDwvZ','CMvJB3jKvhvYBG','y3jLyxrLzef0','BM9Kzs53B3jRyMvUy2GUy2fWywjPBgL0AwvZ','zxHLy3v0Aw9U','CMvJzw50uNvUuhjVAMvJDgLVBLnLCNzPy2u','BM9Kzs5TzxrYAwnZ','y2XLyxjxB3jRC3bHy2u','CNvU','zgLZCg9Zzq','zMfRztO','y2XLyw51Ca','y29KzxHqCM9MAwXLq2XPzw50rMfJDg9YEq','tK9erv9vueDsqurfx1bftKrjtKC','C3rHDhvZ','C3rVCa','BMf0AxzLlNnLC3nPB24UzgLZy292zxj5lNbLBMrPBMC','C2vZC2LVBKnVBw1HBMrtzxj2AwnL','y2XHDwrLq2XPzw50','CMvTB3zLtwLZC2LVBLf1zxvL','C3rVCfDHDgnO','zw5ZDxjLv2f0y2G','y29TBwfUzfn0yxrLCW','DxbNCMfKzq','BwLU','CNvUu3rHDgu','B3bLCMf0Aw9UuM91DgvY','Aw5ZCgvJDa','Aw52ywXPzgf0zunOyw5Nzxm','D29YA3nWywnLuxvLDwvxB3jRyMvUy2Htzxj2AwnL','zw5XDwv1zu1PC3nPB25dB250Aw51yxrPB24','Bwf4','vgHPCYboB2rLignVBM5Ly3rPB24GD2fZihjLCgXHy2vKigj5igeGBMv3zxiGAw5ZDgfUy2uGD2L0Acb0AguGC2fTzsbPzgvUDgL0Es4Gq2HLy2SGzM9Yigr1CgXPy2f0zsbWCM9JzxnZzxmU','y29UDgLUDwu','y29TCgXLDgvdyw5JzwXSzwrsDw4','C2vZC2LVBLbYzxnLBNrHDgLVBLnLCNzPy2u','y29UDgLUDw91C1j1BKnVB3jKAw5HDg9Y','zw5ZDxjLvg9WAwntBMfWC2HVDa','zgvJAwrLqxbWCM92ywW','B2jQzwn0AxzL','y2XLyxi','AxrLBuLK','BwLNCMf0zvnLC3nPB24','D2vIu2vHCMnO','y2HHBMDLza','CMvJB3jK','Aw52ywXPzgf0zvrVCgLJ','zM9Yz2v0','yxbWzw5K','CMvZB2X2zun1CNjLBNq','BwLZC2LVBG','BwLZC2LVBLjLDhj5vgLTzxjZ','y29KzxHsDw5dB250CM9SBgvY','Dw5YzwDPC3rLCMvK','zgLZy29UBMvJDa','DxbNCMfKzunVB3jKAw5HDg9Y','mJe1nZG4mxr2qLvQBa','ChjVzMLSzxm','D29YA3nWywnLvxbSB2fKu2vYDMLJzq','AgfUzgXLtwvZC2fNzq','Aw52ywXPzgf0zvDVCMTZCgfJzvDHDgnOvg9WAwnZ','CNvUBMvYCW','y2fJAgvKu2vZC2LVBNm','mJqXotb0vefRB00','ChjVAMvJDgLVBKzVCK5HDgL2zq','B25tDw1Tyxj5','C2L6zq','B3bLCMf0Aw9UCW','D29YA3nWywnLv2f0y2Htzxj2AwnL','zgLZy292zxi','zgvJAwrLq29KzxHbChbYB3zHBa','AgfUzgXL','C2vZC2LVBLf1zxj5u2vYDMLJzq','y3DK','CNvUqxr0ywnOBwvUDfnLCNzPy2u','ChjVBw90zq','ANnVBG','CMv2B2TL','tK9erv9dt05orunusu9ox1jfueXbq0ve','ms4WlJa','D29YA3nWywnLu3rHDgu','yMXVy2TbzNrLCLj1BNrPBwvgywLSDxjL','D29YA3nWywnLq29VCMrPBMf0B3i','Aw52ywXPzgf0zq','zMLSDgvY','mZLACvvzEMG','BgLUDxG','BM90AwzPy2f0Aw9U','C2vUzevUDMvSB3bL','zgvJAwrLq2XHDwrLqxbWCM92ywW','Cgf0Aa','BwfUywDLzezVCK5HDgL2zq','B25oB3rPzMLJyxrPB24'];_0x36f2=function(){return _0x8c361f;};return _0x36f2();}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';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=0x1403+-0x3323*-0x1+-0xc8e,CAPABILITY_REFRESH_MS=0x1*-0x1582a+-0x327a+-0x45e4*-0x9,RETRY_MIN_MS=-0x219c+-0x209d+0x1*0x442d,RETRY_MAX_MS=-0x12be*0xc+-0x132d+0x4841*0x5,CLAUDE_APPROVAL_TIMEOUT_MS=(-0x4*0x53f+0x54*0x71+-0x100e)*(0x1c88d+-0xe6aa+-0x1*-0x87d);function _0x13b9(_0xf428dd,_0x5caadb){_0xf428dd=_0xf428dd-(-0x59*0x1f+-0x64a+0x11ae);const _0x35edfc=_0x36f2();let _0xfd8a51=_0x35edfc[_0xf428dd];if(_0x13b9['LXTigt']===undefined){var _0x17f9e9=function(_0x2d32c1){const _0x48089e='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x27e304='',_0x39f9c4='';for(let _0x493134=0xf7*0xd+0x2b*0x66+-0x1dad,_0x3a162d,_0x336053,_0x4842f0=0x595+-0x226d+0x1cd8;_0x336053=_0x2d32c1['charAt'](_0x4842f0++);~_0x336053&&(_0x3a162d=_0x493134%(0x616+-0x150*-0x6+-0xdf2)?_0x3a162d*(-0x209d+0x1*-0xb36+0x2c13)+_0x336053:_0x336053,_0x493134++%(-0x332+0x1a3a+0x7ac*-0x3))?_0x27e304+=String['fromCharCode'](-0x4*0x53f+0x54*0x71+-0xf19&_0x3a162d>>(-(0x260c+-0x1339+-0x1*0x12d1)*_0x493134&-0xc0d+0x1*0x2d4+0x93f)):0x3d6*-0x8+-0x19*-0x128+0x1c8){_0x336053=_0x48089e['indexOf'](_0x336053);}for(let _0x5d26e2=-0x9*-0x11a+0x919+-0x1303,_0x58cdd1=_0x27e304['length'];_0x5d26e2<_0x58cdd1;_0x5d26e2++){_0x39f9c4+='%'+('00'+_0x27e304['charCodeAt'](_0x5d26e2)['toString'](0x1*0x24d5+-0x47*0x51+-0xe4e))['slice'](-(0x456+-0x1f*0x7+-0x51*0xb));}return decodeURIComponent(_0x39f9c4);};_0x13b9['UdbuMl']=_0x17f9e9,_0x13b9['pUzPsZ']={},_0x13b9['LXTigt']=!![];}const _0x8a6f34=_0x35edfc[-0x7*0x3d1+0x1e*0x2+-0x1a7b*-0x1];_0x13b9['tQVgct']!==_0x8a6f34&&(_0x13b9['pUzPsZ']={},_0x13b9['tQVgct']=_0x8a6f34);const _0x16b7f1=_0x13b9['pUzPsZ'][_0xf428dd];return _0x16b7f1===undefined?(_0xfd8a51=_0x13b9['UdbuMl'](_0xfd8a51),_0x13b9['pUzPsZ'][_0xf428dd]=_0xfd8a51):_0xfd8a51=_0x16b7f1,_0xfd8a51;}export function nextReconnectDelay(_0x78d12e){const _0x20147f=_0x13b9;return Math[_0x20147f(0x153)](RETRY_MAX_MS,RETRY_MIN_MS*(-0xc0d+0x1*0x2d4+0x93b)**Math[_0x20147f(0x153)](Math[_0x20147f(0x15a)](_0x78d12e,0x3d6*-0x8+-0x19*-0x128+0x1c8),-0x9*-0x11a+0x919+-0x12f3));}function upgradeMetadata(_0xb4a40e,_0x1fc45e){const _0x4d315b=_0x13b9,_0x3cdffb={..._0xb4a40e??{}};if(process.env['MAR_NODE_SUPERVISED']==='1')_0x3cdffb[_0x4d315b(0x101)]=!![];else delete _0x3cdffb[_0x4d315b(0x101)];if(_0x1fc45e[_0x4d315b(0x22f)]===_0x4d315b(0xd3))delete _0x3cdffb[_0x4d315b(0x152)];else _0x3cdffb[_0x4d315b(0x152)]=_0x1fc45e;return _0x3cdffb;}export class NodeConnector{[_0x5e09f1(0xdb)]=crypto[_0x5e09f1(0xb0)]()[_0x5e09f1(0xec)](/-/g,'');[_0x5e09f1(0x1f7)];[_0x5e09f1(0x22c)];[_0x5e09f1(0x223)];[_0x5e09f1(0xc8)];set[_0x5e09f1(0x19c)](_0x174e1){const _0x452b79=_0x5e09f1;this[_0x452b79(0x1f7)][_0x452b79(0xc6)](_0x174e1);}[_0x5e09f1(0xdd)]=![];[_0x5e09f1(0xb6)];[_0x5e09f1(0xd9)];[_0x5e09f1(0x1d8)];[_0x5e09f1(0x19a)];[_0x5e09f1(0x1d7)];[_0x5e09f1(0x115)];[_0x5e09f1(0x1ae)];[_0x5e09f1(0x1e5)]=new WorkbenchEventService(envelope=>this[_0x5e09f1(0x193)](envelope),(category,payload)=>{const _0x18f2a1=_0x5e09f1,sessionId=workbenchPayloadSessionId(this[_0x18f2a1(0x212)],category,payload);return sessionId===undefined||!this[_0x18f2a1(0xeb)][_0x18f2a1(0x12e)][_0x18f2a1(0xa5)](sessionId);});[_0x5e09f1(0x1f9)];[_0x5e09f1(0x1a4)];[_0x5e09f1(0x154)]=new RunDomainState();[_0x5e09f1(0xce)];[_0x5e09f1(0x18d)];[_0x5e09f1(0xbf)]=new SessionDomainState();[_0x5e09f1(0xeb)];[_0x5e09f1(0xac)];[_0x5e09f1(0xfc)];[_0x5e09f1(0x1c6)];[_0x5e09f1(0x1ca)];[_0x5e09f1(0x1d0)];[_0x5e09f1(0x1d9)];[_0x5e09f1(0x15e)];[_0x5e09f1(0x1e8)];[_0x5e09f1(0x102)];[_0x5e09f1(0xcf)];[_0x5e09f1(0x203)];[_0x5e09f1(0x14c)];[_0x5e09f1(0x185)];[_0x5e09f1(0x130)];[_0x5e09f1(0x10a)];[_0x5e09f1(0x16f)];[_0x5e09f1(0x14d)];[_0x5e09f1(0x1f3)];[_0x5e09f1(0x1e7)];[_0x5e09f1(0x123)];[_0x5e09f1(0xf9)];[_0x5e09f1(0xa0)];[_0x5e09f1(0x178)];[_0x5e09f1(0xc3)];[_0x5e09f1(0x1e0)];[_0x5e09f1(0x183)];[_0x5e09f1(0x15f)];[_0x5e09f1(0x158)];[_0x5e09f1(0x155)]=new NodeOperationRouter();[_0x5e09f1(0xab)];[_0x5e09f1(0x1c5)];[_0x5e09f1(0x1b8)];[_0x5e09f1(0x127)];[_0x5e09f1(0x151)]=new CommandStateStore();[_0x5e09f1(0x209)]=new MissionRuntime(()=>undefined);[_0x5e09f1(0x16e)]=new Map();[_0x5e09f1(0x103)]=new Map();[_0x5e09f1(0x1bb)]=new MissionMcpServer(this[_0x5e09f1(0x209)],sessionId=>{const _0x55a700=_0x5e09f1,mission=this[_0x55a700(0x209)][_0x55a700(0x129)](sessionId),session=this[_0x55a700(0x212)][_0x55a700(0x231)](sessionId);if(mission===undefined||session===undefined)return;if(mission[_0x55a700(0x149)]!==_0x55a700(0x1d4))this[_0x55a700(0x15f)][_0x55a700(0x14e)](sessionId);this[_0x55a700(0xe0)](session,mission);});[_0x5e09f1(0x109)];[_0x5e09f1(0x1f5)];[_0x5e09f1(0x172)];[_0x5e09f1(0x18b)]=new WorkspaceDomainState();[_0x5e09f1(0x17f)]=new WorkspaceWatchService(this[_0x5e09f1(0x18b)],workspaceId=>this[_0x5e09f1(0x226)][_0x5e09f1(0x150)](workspaceId),workspaceId=>this[_0x5e09f1(0x226)][_0x5e09f1(0x14f)](workspaceId),workspaceId=>this[_0x5e09f1(0x1c7)]?.[_0x5e09f1(0x142)](workspaceId));[_0x5e09f1(0x226)]=new WorkspaceSessionService(this[_0x5e09f1(0x18b)],{'discover':workspaceId=>this[_0x5e09f1(0x19d)](workspaceId),'listPage':workspaceId=>this[_0x5e09f1(0xad)](_0x5e09f1(0x207),{'workspaceId':workspaceId,'limit':0x14}),'active':workspaceId=>this[_0x5e09f1(0x17f)][_0x5e09f1(0x1d6)](workspaceId,_0x5e09f1(0xbc)),'invalidate':workspaceId=>void this[_0x5e09f1(0x1c7)]?.[_0x5e09f1(0x169)](workspaceId,_0x5e09f1(0xbc)),'onPending':(workspaceId,waitMs)=>nodeLog(_0x5e09f1(0x14b),{'nodeId':this[_0x5e09f1(0xb6)]?.[_0x5e09f1(0xa8)],'workspaceId':workspaceId,'waitMs':waitMs})});[_0x5e09f1(0x135)]=new WorkspaceFileService(this[_0x5e09f1(0x18b)],()=>this[_0x5e09f1(0xb6)]?.[_0x5e09f1(0xef)]??[],workspaceId=>this[_0x5e09f1(0x18d)][_0x5e09f1(0x18e)](workspaceId));[_0x5e09f1(0x175)]=new WorkspaceUploadService(this[_0x5e09f1(0x18b)],workspaceId=>this[_0x5e09f1(0x18d)][_0x5e09f1(0x18e)](workspaceId));[_0x5e09f1(0x1b0)]=new WorkspaceChangeService(this[_0x5e09f1(0x18b)]);[_0x5e09f1(0x1c7)];[_0x5e09f1(0x1f1)];[_0x5e09f1(0x140)]=new RecentRunProjectionService(message=>this[_0x5e09f1(0xf6)](_0x5e09f1(0x12a),message));[_0x5e09f1(0x212)]=new NodeRuntimeState(()=>this[_0x5e09f1(0xb6)]?.[_0x5e09f1(0xa8)]??_0x5e09f1(0xff),workspaceId=>this[_0x5e09f1(0x1f1)]?.[_0x5e09f1(0x1cd)](workspaceId),Date[_0x5e09f1(0x199)],(run,session,userMessage)=>this[_0x5e09f1(0x140)][_0x5e09f1(0x168)](run,session,userMessage));[_0x5e09f1(0x108)]=new NodeMetrics();[_0x5e09f1(0x132)]=new RunEventService({'runtime':this[_0x5e09f1(0x212)],'metrics':this[_0x5e09f1(0x108)],'state':this[_0x5e09f1(0x154)],'isBootstrapSession':sessionId=>this[_0x5e09f1(0xeb)][_0x5e09f1(0x12e)][_0x5e09f1(0xa5)](sessionId),'presentSession':session=>this[_0x5e09f1(0x15e)][_0x5e09f1(0x22b)](session),'rejectBootstrap':(sessionId,code)=>this[_0x5e09f1(0xeb)][_0x5e09f1(0x205)](sessionId,code),'emitWorkbench':(category,payload)=>{const _0x5d4e2c=_0x5e09f1;if(category===_0x5d4e2c(0xd2)&&isPlainRecord(payload)&&_0x5d4e2c(0x1d3)in payload)this[_0x5d4e2c(0x1fc)](payload[_0x5d4e2c(0x1d3)]);else this[_0x5d4e2c(0x1bc)](category,payload);},'cleanupAttachments':runId=>this[_0x5e09f1(0x185)][_0x5e09f1(0x146)](runId),'expireImages':runId=>this[_0x5e09f1(0x185)][_0x5e09f1(0x1b7)](runId),'scheduleContextRefresh':sessionId=>this[_0x5e09f1(0xc3)][_0x5e09f1(0x227)](sessionId),'refreshWorkspaceSessions':workspaceId=>this[_0x5e09f1(0x1c7)][_0x5e09f1(0x160)](workspaceId,_0x5e09f1(0xbc)),'dispatchQueue':async(sessionId,delayMs=0x1*0x24d5+-0x47*0x51+-0xe5e)=>{const _0x4dc6bc=_0x5e09f1;if(this[_0x4dc6bc(0x172)][_0x4dc6bc(0x233)]())return;if(delayMs>0x456+-0x1f*0x7+-0x2f*0x13){this[_0x4dc6bc(0x15f)][_0x4dc6bc(0x227)](sessionId,delayMs);return;}await this[_0x4dc6bc(0x15f)][_0x4dc6bc(0x131)](sessionId);},'executionStarted':executionId=>this[_0x5e09f1(0x15f)][_0x5e09f1(0x1fb)](executionId),'keepRunActive':sessionId=>(this[_0x5e09f1(0x16e)][_0x5e09f1(0xa5)](sessionId)||this[_0x5e09f1(0x103)][_0x5e09f1(0xa5)](sessionId))&&this[_0x5e09f1(0x209)][_0x5e09f1(0x129)](sessionId)?.[_0x5e09f1(0x149)]===_0x5e09f1(0x1d4),'executionTerminating':(executionId,status)=>{const _0xa794ef=_0x5e09f1,pending=this[_0xa794ef(0x15f)][_0xa794ef(0x233)](executionId);if(pending?.[_0xa794ef(0x16d)]===undefined)return;const started=this[_0xa794ef(0x15f)][_0xa794ef(0x10e)](executionId),blocked=this[_0xa794ef(0x209)][_0xa794ef(0x11d)](pending[_0xa794ef(0x125)],status===_0xa794ef(0x133));if(blocked){this[_0xa794ef(0xc5)](pending[_0xa794ef(0x125)]),this[_0xa794ef(0x15f)][_0xa794ef(0x14e)](pending[_0xa794ef(0x125)]);const terminalMission=this[_0xa794ef(0x209)][_0xa794ef(0x129)](pending[_0xa794ef(0x125)]),session=this[_0xa794ef(0x212)][_0xa794ef(0x231)](pending[_0xa794ef(0x125)]);if(terminalMission!==undefined&&session!==undefined)this[_0xa794ef(0xe0)](session,terminalMission);return;}if(status!==_0xa794ef(0x133)||started)return;this[_0xa794ef(0xc5)](pending[_0xa794ef(0x125)]);const retry={'sessionId':pending[_0xa794ef(0x125)],'timer':setTimeout(()=>{const _0x51d600=_0xa794ef;this[_0x51d600(0x16e)][_0x51d600(0x121)](retry[_0x51d600(0x125)]);const mission=this[_0x51d600(0x209)][_0x51d600(0x129)](retry[_0x51d600(0x125)]);if(mission?.[_0x51d600(0x149)]!==_0x51d600(0x1d4)||mission['id']!==pending[_0x51d600(0x16d)]?.['id']||mission[_0x51d600(0xcc)]!==pending[_0x51d600(0x16d)][_0x51d600(0xcc)])return;void this[_0x51d600(0xcf)][_0x51d600(0x1a0)]({'sessionId':retry[_0x51d600(0x125)],'kind':_0x51d600(0x15c),'content':this[_0x51d600(0x209)][_0x51d600(0x1de)](retry[_0x51d600(0x125)],_0x51d600(0x15c)),'deliveryIntent':_0x51d600(0xf2),'mission':{'id':mission['id'],'revision':mission[_0x51d600(0xcc)]},'secretEnvironment':pending[_0x51d600(0x229)],...pending[_0x51d600(0xba)]===undefined?{}:{'personalInstructions':pending[_0x51d600(0xba)]}})[_0x51d600(0x1c9)](()=>undefined);},-0x15*0x3d1+0xb3*0x1+-0x8a0a*-0x1)};this[_0xa794ef(0x16e)][_0xa794ef(0x1dd)](pending[_0xa794ef(0x125)],retry),retry[_0xa794ef(0xc1)][_0xa794ef(0xd4)]();},'releaseExecution':executionId=>{const _0x464b36=_0x5e09f1;this[_0x464b36(0x1bb)][_0x464b36(0x188)](executionId),this[_0x464b36(0x15f)][_0x464b36(0x20c)](executionId);}});[_0x5e09f1(0xd1)]=new NativeSessionWatchService({'resolve':async sessionId=>this[_0x5e09f1(0x212)][_0x5e09f1(0x231)](sessionId)??this[_0x5e09f1(0xac)][_0x5e09f1(0x16c)](sessionId),'managedActive':session=>hasManagedActiveRun(this[_0x5e09f1(0x212)],session),'suspended':sessionId=>this[_0x5e09f1(0x102)][_0x5e09f1(0x12b)](sessionId),'refreshActivity':session=>this[_0x5e09f1(0xfc)][_0x5e09f1(0xdc)](session),'present':session=>this[_0x5e09f1(0x15e)][_0x5e09f1(0x22b)](session),'readPage':(session,limit)=>this[_0x5e09f1(0xfc)][_0x5e09f1(0x230)](session,{'limit':limit}),'readHistoryPage':(session,limit)=>this[_0x5e09f1(0xfc)][_0x5e09f1(0x1c4)](session,{'limit':limit}),'convergePage':convergeConversationWatchPage,'composeRuntimePage':composeConversationRuntimePage,'projectInitialPage':(session,page,_unit,limit)=>{const _0xc2aa9d=_0x5e09f1,context=this[_0xc2aa9d(0xc3)][_0xc2aa9d(0xa6)](session['id']);return this[_0xc2aa9d(0xc3)][_0xc2aa9d(0x227)](session),{'kind':_0xc2aa9d(0x111),'sequence':this[_0xc2aa9d(0x1e5)][_0xc2aa9d(0x1a1)](),'session':this[_0xc2aa9d(0x15e)][_0xc2aa9d(0x22b)](session),'runs':this[_0xc2aa9d(0x212)][_0xc2aa9d(0xb5)](session['id']),'queue':this[_0xc2aa9d(0x158)][_0xc2aa9d(0xa6)](session['id']),'context':context,'conversation':this[_0xc2aa9d(0x1c6)][_0xc2aa9d(0x225)](session,page,limit)};},'emitSession':session=>this[_0x5e09f1(0xc4)]({'session':session}),'emitPage':(session,page)=>this[_0x5e09f1(0x1f8)](_0x5e09f1(0xd2),{'sessionId':session['id'],'snapshot':this[_0x5e09f1(0x1c6)][_0x5e09f1(0x225)](session,page,-0x166*0x13+0x24da+-0xa3e)}),'nodeId':()=>this[_0x5e09f1(0xb6)]?.[_0x5e09f1(0xa8)]??_0x5e09f1(0xff),'nodeGeneration':()=>this[_0x5e09f1(0xdb)],'emitWatchEvent':payload=>this[_0x5e09f1(0xf6)](_0x5e09f1(0xfd),payload),'log':nodeLog});constructor(_0x469325={}){const _0xf09321=_0x5e09f1;this[_0xf09321(0xb6)]=_0x469325[_0xf09321(0xb6)],this[_0xf09321(0x1d7)]=_0x469325[_0xf09321(0x1d7)],this[_0xf09321(0x1ae)]=_0x469325[_0xf09321(0x1ae)]??CLAUDE_APPROVAL_TIMEOUT_MS,this[_0xf09321(0xd9)]=_0x469325[_0xf09321(0x1d8)]!==undefined,this[_0xf09321(0x1d8)]=_0x469325[_0xf09321(0x1d8)]??unavailableCapabilities(),this[_0xf09321(0x172)]=new NodeUpgradeCoordinator(()=>{const _0x52bb2a=_0xf09321;if(this[_0x52bb2a(0xb6)]===undefined)throw new Error(_0x52bb2a(0x106));return nodeUpgradeRequestPath(nodeDatabasePath(this[_0x52bb2a(0xb6)],this[_0x52bb2a(0x1d7)]));},()=>this[_0xf09321(0x154)][_0xf09321(0x1d4)][_0xf09321(0x17d)],_0x3e1e0f=>{const _0x106aab=_0xf09321;this[_0x106aab(0x1d8)]={...this[_0x106aab(0x1d8)],'metadata':upgradeMetadata(this[_0x106aab(0x1d8)][_0x106aab(0x1f6)],_0x3e1e0f)},this[_0x106aab(0x1f7)]?.[_0x106aab(0xf6)](_0x106aab(0x1d8),this[_0x106aab(0x1d8)]);},_0x469325[_0xf09321(0xa3)]??(()=>{const _0x385f77=_0xf09321;this[_0x385f77(0x14a)](),setImmediate(()=>process[_0x385f77(0x1a2)](-0x1*0x1475+-0x105*0x2+0x1*0x16ca));})),this[_0xf09321(0x1d8)]={...this[_0xf09321(0x1d8)],'metadata':upgradeMetadata(this[_0xf09321(0x1d8)][_0xf09321(0x1f6)],this[_0xf09321(0x172)][_0xf09321(0xa6)]())};const _0x14b389=_0x469325[_0xf09321(0x19a)]??detectCapabilitiesAsync;this[_0xf09321(0x19a)]=async()=>{const _0x25b4e4=_0xf09321,_0xfb2f3d=await _0x14b389();return{..._0xfb2f3d,'metadata':upgradeMetadata(_0xfb2f3d[_0x25b4e4(0x1f6)],this[_0x25b4e4(0x172)][_0x25b4e4(0xa6)]())};},this[_0xf09321(0x115)]=_0x469325[_0xf09321(0x115)]??!![],this[_0xf09321(0x1f9)]=_0x469325[_0xf09321(0x1f9)]===undefined?undefined:new FakeTestRunner(_0x469325[_0xf09321(0x1f9)]),this[_0xf09321(0x1a4)]=_0x469325[_0xf09321(0x1a4)],this[_0xf09321(0x185)]=new RunAttachmentService(_0x1b969a=>this[_0xf09321(0x178)][_0xf09321(0x211)](_0x1b969a[_0xf09321(0x1ab)])[_0xf09321(0x217)](_0x1b969a)),this[_0xf09321(0x10a)]=new CodexRunner(_0x469325[_0xf09321(0x10a)],_0x469325[_0xf09321(0x147)]),this[_0xf09321(0x16f)]=new CodexManagedRunController(this[_0xf09321(0x10a)],{'available':()=>this[_0xf09321(0x1d8)][_0xf09321(0x104)][_0xf09321(0xf5)],'intercepted':()=>this[_0xf09321(0x1f9)]!==undefined,'active':this[_0xf09321(0x154)][_0xf09321(0x1d4)],'addActive':_0x3b498b=>this[_0xf09321(0x154)][_0xf09321(0x1d4)][_0xf09321(0x1da)](_0x3b498b),'removeActive':_0x1726ae=>this[_0xf09321(0x154)][_0xf09321(0x1d4)][_0xf09321(0x121)](_0x1726ae),'adopt':_0x4e1890=>this[_0xf09321(0x212)][_0xf09321(0x9f)](_0x4e1890),'session':_0x55a5f9=>this[_0xf09321(0x212)][_0xf09321(0x231)](_0x55a5f9),'runStatus':_0x26d17a=>this[_0xf09321(0x212)][_0xf09321(0x1b2)](_0x26d17a)?.[_0xf09321(0x149)],'run':_0x38ae80=>this[_0xf09321(0x212)][_0xf09321(0x1b2)](_0x38ae80),'interrupted':_0x5ab136=>this[_0xf09321(0x154)][_0xf09321(0x1ba)][_0xf09321(0xa5)](_0x5ab136),'parseAttachments':parseRunnerImageAttachments,'materialize':(_0x39c48d,_0x1ec6d1)=>this[_0xf09321(0x185)][_0xf09321(0x1ef)](_0x39c48d,_0x1ec6d1),'completeCancelled':_0x1ee5de=>this[_0xf09321(0x1ca)][_0xf09321(0x15d)](_0x1ee5de),'promoteSession':(_0x3f8ae2,_0xf21ed8)=>this[_0xf09321(0xeb)][_0xf09321(0x186)](_0x3f8ae2,_0xf21ed8),'send':(_0x24916b,_0x158a67)=>this[_0xf09321(0xf6)](_0x24916b,_0x158a67),'emit':(_0x399428,_0x1fc763,_0x2711dc,_0xed0355)=>this[_0xf09321(0xce)][_0xf09321(0x1b6)](_0x399428,_0x1fc763,_0x2711dc,_0xed0355),'cancel':(_0x190d22,_0xe8513a,_0x589df9,_0x3d56c8,_0x17059d)=>this[_0xf09321(0x1ca)][_0xf09321(0x198)](_0x190d22,_0xe8513a,_0x589df9,_0x3d56c8,_0x17059d),'createApproval':_0x804f7b=>this[_0xf09321(0x212)][_0xf09321(0x1b5)](_0x804f7b),'publishApproval':_0x3c2721=>this[_0xf09321(0xce)][_0xf09321(0x1e1)](_0x3c2721),'emitItem':(_0x14dba2,_0x5664cf)=>this[_0xf09321(0x1e6)](_0x14dba2,_0x5664cf),'appendImages':(_0x32dfc2,_0x18ee3f)=>this[_0xf09321(0x185)][_0xf09321(0x16b)](_0x32dfc2,_0x18ee3f[_0xf09321(0x18f)](isRunnerImageAttachment)),'syncTitle':(_0xd1ef4,_0x156f3a,_0x106993)=>this[_0xf09321(0x1d9)][_0xf09321(0xd8)](_0xd1ef4,_0x156f3a,_0x106993),'commandState':(_0x196d33,_0x37412d)=>this[_0xf09321(0x151)][_0xf09321(0x129)](_0x196d33,_0x37412d),'setCommandState':(_0x5e81e8,_0x291afb)=>this[_0xf09321(0x151)][_0xf09321(0x1dd)](_0x5e81e8,_0x291afb),'clearCommandState':(_0x1d3c9f,_0x5bff3d)=>this[_0xf09321(0x151)][_0xf09321(0x163)](_0x1d3c9f,_0x5bff3d),'commandStates':_0x1f1594=>this[_0xf09321(0x151)][_0xf09321(0x1b4)](_0x1f1594),'hasActiveSessionLease':_0x1253b0=>this[_0xf09321(0x212)][_0xf09321(0x126)](_0x1253b0),'fast':_0x9c69c6=>this[_0xf09321(0xad)](_0xf09321(0xe6),{'runner':_0xf09321(0x104),'commandId':_0xf09321(0xaa),'input':_0x9c69c6})}),this[_0xf09321(0x10a)][_0xf09321(0x197)](_0x4fda84=>this[_0xf09321(0x16f)][_0xf09321(0xbb)](_0x4fda84)),this[_0xf09321(0x14d)]=new ClaudeCodeRunner(_0x469325[_0xf09321(0x14d)]),this[_0xf09321(0x1f3)]=new OpenCodeRunner(_0x469325[_0xf09321(0x1f3)]),this[_0xf09321(0x1e7)]=new MarAgentRunner(),this[_0xf09321(0x123)]=new MarAgentManagedRunController(this[_0xf09321(0x1e7)],{'active':this[_0xf09321(0x154)][_0xf09321(0x1d4)],'adopt':_0x3c86b2=>this[_0xf09321(0x212)][_0xf09321(0x9f)](_0x3c86b2),'promote':(_0x45f767,_0x446942)=>this[_0xf09321(0xeb)][_0xf09321(0x186)](_0x45f767,_0x446942),'syncTitle':(_0x524862,_0x240033)=>this[_0xf09321(0x1d9)][_0xf09321(0xd8)](_0x524862,_0x524862,_0x240033),'emit':(_0x4de955,_0xc3b279,_0x4fa221,_0x57ab02)=>this[_0xf09321(0xce)][_0xf09321(0x1b6)](_0x4de955,_0xc3b279,_0x4fa221,_0x57ab02),'emitItem':(_0x51f586,_0x530346)=>this[_0xf09321(0x1e6)](_0x51f586,_0x530346),'createApproval':_0x4a33b7=>this[_0xf09321(0x212)][_0xf09321(0x1b5)](_0x4a33b7),'publishApproval':_0x184f91=>this[_0xf09321(0xce)][_0xf09321(0x1e1)](_0x184f91),'run':_0x4ee5bb=>this[_0xf09321(0x212)][_0xf09321(0x1b2)](_0x4ee5bb),'commandState':(_0x22a4e3,_0x150ea4)=>this[_0xf09321(0x151)][_0xf09321(0x129)](_0x22a4e3,_0x150ea4),'setCommandState':(_0x231601,_0xcac54a)=>this[_0xf09321(0x151)][_0xf09321(0x1dd)](_0x231601,_0xcac54a),'clearCommandState':(_0xe4997d,_0x55c388)=>this[_0xf09321(0x151)][_0xf09321(0x163)](_0xe4997d,_0x55c388),'commandStates':_0x529e84=>this[_0xf09321(0x151)][_0xf09321(0x1b4)](_0x529e84),'webSearch':(_0x239d05,_0x2966b0)=>this[_0xf09321(0x166)](_0x239d05,_0x2966b0)}),this[_0xf09321(0x1e7)][_0xf09321(0xa7)](_0x10d141=>this[_0xf09321(0x123)][_0xf09321(0x235)](_0x10d141)),this[_0xf09321(0xf9)]=new OpenCodeManagedRunController(this[_0xf09321(0x1f3)],{'intercepted':()=>this[_0xf09321(0x1f9)]!==undefined,'active':this[_0xf09321(0x154)][_0xf09321(0x1d4)],'parseAttachments':parseRunnerImageAttachments,'persistAttachments':(_0xe415ed,_0x23d767,_0x200cb3)=>this[_0xf09321(0x185)][_0xf09321(0x21e)](_0xe415ed,_0x23d767+_0xf09321(0x1dc),_0x200cb3),'emit':(_0x12905c,_0x44794e,_0x568456,_0xd709b3)=>this[_0xf09321(0xce)][_0xf09321(0x1b6)](_0x12905c,_0x44794e,_0x568456,_0xd709b3),'emitItem':(_0xb859b0,_0x57966f)=>this[_0xf09321(0x1e6)](_0xb859b0,_0x57966f),'adopt':_0x598f67=>this[_0xf09321(0x212)][_0xf09321(0x9f)](_0x598f67),'run':_0x142c43=>{const _0x127f7b=_0xf09321,_0x3d112f=this[_0x127f7b(0x212)][_0x127f7b(0x1b2)](_0x142c43);if(_0x3d112f===undefined)throw new Error(_0x127f7b(0x1f0));return _0x3d112f;},'hasActiveSessionLease':_0x184107=>this[_0xf09321(0x212)][_0xf09321(0x126)](_0x184107),'promote':(_0x466f66,_0x12ea9f)=>this[_0xf09321(0xeb)][_0xf09321(0x186)](_0x466f66,_0x12ea9f),'rememberNative':(_0x282126,_0x59abf2)=>this[_0xf09321(0x1d9)][_0xf09321(0x11b)](_0x282126,_0x59abf2),'send':(_0x43d5e4,_0x5f912f)=>this[_0xf09321(0xf6)](_0x43d5e4,_0x5f912f),'createApproval':_0x2399db=>this[_0xf09321(0x212)][_0xf09321(0x1b5)](_0x2399db),'expireApproval':_0xcf9802=>{const _0x7b143a=_0xf09321;this[_0x7b143a(0x212)][_0x7b143a(0xb9)](_0xcf9802);},'publishApproval':_0x5b9e17=>this[_0xf09321(0xce)][_0xf09321(0x1e1)](_0x5b9e17),'commandState':(_0x45d6df,_0x5c50ba)=>this[_0xf09321(0x151)][_0xf09321(0x129)](_0x45d6df,_0x5c50ba),'setCommandState':(_0x15aa18,_0x4e8dfc)=>this[_0xf09321(0x151)][_0xf09321(0x1dd)](_0x15aa18,_0x4e8dfc),'clearCommandState':(_0x27aa0b,_0x5ae792)=>this[_0xf09321(0x151)][_0xf09321(0x163)](_0x27aa0b,_0x5ae792),'commandStates':_0x1ab39d=>this[_0xf09321(0x151)][_0xf09321(0x1b4)](_0x1ab39d)},this[_0xf09321(0x1ae)]),this[_0xf09321(0xa0)]=new ClaudeManagedRunController(this[_0xf09321(0x14d)],{'intercepted':()=>this[_0xf09321(0x1f9)]!==undefined,'active':this[_0xf09321(0x154)][_0xf09321(0x1d4)],'parseAttachments':parseRunnerImageAttachments,'emit':(_0x50a4ef,_0x1620bf,_0x1076e0,_0x23bb16)=>this[_0xf09321(0xce)][_0xf09321(0x1b6)](_0x50a4ef,_0x1620bf,_0x1076e0,_0x23bb16),'adopt':_0x5c5923=>this[_0xf09321(0x212)][_0xf09321(0x9f)](_0x5c5923),'run':_0x274216=>this[_0xf09321(0x212)][_0xf09321(0x1b2)](_0x274216),'hasActiveSessionLease':_0x3a68e4=>this[_0xf09321(0x212)][_0xf09321(0x126)](_0x3a68e4),'session':_0x403dd6=>this[_0xf09321(0x212)][_0xf09321(0x231)](_0x403dd6),'completeCancelled':_0x4bc7c1=>this[_0xf09321(0x1ca)][_0xf09321(0x15d)](_0x4bc7c1),'requestUserInput':(_0x491193,_0x272849,_0x5381d9)=>this[_0xf09321(0x1ca)][_0xf09321(0xd5)](_0x491193,_0x272849,_0x5381d9),'requestApproval':(_0x46c610,_0x5e4a1a,_0x1ce3f9)=>this[_0xf09321(0x1ca)][_0xf09321(0xc0)](_0x46c610,_0x5e4a1a,_0x1ce3f9),'rememberNative':(_0x383eae,_0x543f72)=>this[_0xf09321(0x1d9)][_0xf09321(0x11b)](_0x383eae,_0x543f72),'promote':(_0x47df41,_0x1edf05)=>this[_0xf09321(0xeb)][_0xf09321(0x186)](_0x47df41,_0x1edf05),'send':(_0x30426c,_0x33096d)=>this[_0xf09321(0xf6)](_0x30426c,_0x33096d),'emitItem':(_0x42fe7f,_0x36ac6a)=>this[_0xf09321(0x1e6)](_0x42fe7f,_0x36ac6a),'syncTitle':(_0x392a0f,_0x164cb6,_0x334bb8)=>this[_0xf09321(0x1d9)][_0xf09321(0xd8)](_0x392a0f,_0x164cb6,_0x334bb8),'setChannelToken':(_0x139584,_0x272a70)=>this[_0xf09321(0x212)][_0xf09321(0xe5)](_0x139584,_0x272a70),'commandState':(_0x183b65,_0x210e73)=>this[_0xf09321(0x151)][_0xf09321(0x129)](_0x183b65,_0x210e73),'setCommandState':(_0x111e44,_0x2ca35d)=>this[_0xf09321(0x151)][_0xf09321(0x1dd)](_0x111e44,_0x2ca35d),'clearCommandState':(_0x46bb3b,_0xf7649e)=>this[_0xf09321(0x151)][_0xf09321(0x163)](_0x46bb3b,_0xf7649e),'commandStates':_0x4711f3=>this[_0xf09321(0x151)][_0xf09321(0x1b4)](_0x4711f3)}),this[_0xf09321(0x178)]=new RunnerRegistry([this[_0xf09321(0x1f3)],this[_0xf09321(0x1e7)],this[_0xf09321(0x10a)],this[_0xf09321(0x14d)],...this[_0xf09321(0x1f9)]===undefined?[]:[this[_0xf09321(0x1f9)]]]),this[_0xf09321(0x1d9)]=new ManagedRunnerSessionService(this[_0xf09321(0x212)],this[_0xf09321(0x178)],_0x1b877d=>this[_0xf09321(0xc4)]({'session':this[_0xf09321(0x15e)][_0xf09321(0x22b)](_0x1b877d)})),this[_0xf09321(0x1ca)]=new RunnerInteractionService({'runtime':this[_0xf09321(0x212)],'state':this[_0xf09321(0x154)],'codex':()=>this[_0xf09321(0x10a)],'claude':()=>this[_0xf09321(0x14d)],'runners':this[_0xf09321(0x178)],'emitRun':(_0x26b091,_0x58c349,_0x37aae3,_0x386cdb)=>this[_0xf09321(0xce)][_0xf09321(0x1b6)](_0x26b091,_0x58c349,_0x37aae3,_0x386cdb),'emitItem':(_0x14990d,_0x267bf4)=>this[_0xf09321(0x1e6)](_0x14990d,_0x267bf4),'approvalTimeoutMs':this[_0xf09321(0x1ae)],'publishApproval':_0x114b03=>this[_0xf09321(0xce)][_0xf09321(0x1e1)](_0x114b03)}),this[_0xf09321(0x1d0)]=new RunnerChannelMessageService({'interactions':this[_0xf09321(0x1ca)],'send':(_0x3e81b9,_0x3f5c3a,_0x3a58a9)=>this[_0xf09321(0xf6)](_0x3e81b9,_0x3f5c3a,_0x3a58a9)}),this[_0xf09321(0x15e)]=new SessionPresentationService({'database':()=>this[_0xf09321(0x1f1)],'runtime':this[_0xf09321(0x212)],'commands':this[_0xf09321(0x151)],'runners':this[_0xf09321(0x178)],'capabilities':()=>this[_0xf09321(0x1d8)],'hasManagedActiveRun':_0x385399=>hasManagedActiveRun(this[_0xf09321(0x212)],_0x385399),'externalActivity':_0x1ea33d=>this[_0xf09321(0xbf)][_0xf09321(0x12f)][_0xf09321(0x129)](_0x1ea33d),'projectionForNative':_0x1745ce=>this[_0xf09321(0xac)][_0xf09321(0x17b)](_0x1745ce)}),this[_0xf09321(0xac)]=new NativeSessionProjectionService({'database':()=>this[_0xf09321(0x1f1)],'nodeId':()=>this[_0xf09321(0xb6)]?.[_0xf09321(0xa8)]??_0xf09321(0x19e),'runtime':this[_0xf09321(0x212)],'runners':this[_0xf09321(0x178)],'capabilities':()=>this[_0xf09321(0x1d8)],'state':this[_0xf09321(0xbf)],'commands':this[_0xf09321(0x151)],'present':_0x5ace20=>this[_0xf09321(0x15e)][_0xf09321(0x22b)](_0x5ace20)}),this[_0xf09321(0xfc)]=new ConversationHistoryService({'runtime':this[_0xf09321(0x212)],'runners':this[_0xf09321(0x178)],'capabilities':()=>this[_0xf09321(0x1d8)],'attachments':this[_0xf09321(0x185)],'snapshotSequence':()=>this[_0xf09321(0x1e5)][_0xf09321(0x1a1)](),'hasManagedActiveRun':_0x5359fd=>hasManagedActiveRun(this[_0xf09321(0x212)],_0x5359fd),'setExternalActivity':(_0x2a5bfd,_0x3b5269)=>this[_0xf09321(0xbf)][_0xf09321(0x12f)][_0xf09321(0x1dd)](_0x2a5bfd,_0x3b5269)}),this[_0xf09321(0x1c6)]=new ConversationSegmentService((_0x1d51d2,_0x469893)=>this[_0xf09321(0xfc)][_0xf09321(0x230)](_0x1d51d2,_0x469893)),this[_0xf09321(0xc3)]=new SessionContextService({'runners':this[_0xf09321(0x178)],'session':_0x52629a=>this[_0xf09321(0x212)][_0xf09321(0x231)](_0x52629a),'stopped':()=>this[_0xf09321(0xdd)],'publish':_0x4d3fac=>this[_0xf09321(0xc4)](_0x4d3fac)}),this[_0xf09321(0x1e0)]=new RunWorkbenchService({'runtime':this[_0xf09321(0x212)],'readImage':async(_0x107cae,_0x2fbe5e)=>this[_0xf09321(0x185)][_0xf09321(0x230)](_0x107cae,_0x2fbe5e)??await this[_0xf09321(0x185)][_0xf09321(0x117)](_0x107cae,_0x2fbe5e),'respondUserInput':(_0x364c21,_0x1e1a69,_0x185611)=>this[_0xf09321(0x1ca)][_0xf09321(0x1ac)](_0x364c21,_0x1e1a69,_0x185611),'pauseQueue':_0x3d691c=>this[_0xf09321(0x158)][_0xf09321(0x114)](_0x3d691c),'emitRun':(_0x5b19a0,_0x2924b3,_0x59fd6c,_0x3dcea0)=>this[_0xf09321(0xce)][_0xf09321(0x1b6)](_0x5b19a0,_0x2924b3,_0x59fd6c,_0x3dcea0),'control':(_0x5419c2,_0x322177)=>this[_0xf09321(0x22c)][_0xf09321(0x182)](JSON[_0xf09321(0x118)](createEnvelope(_0x5419c2,_0x322177))),'markInterrupted':_0x50a9a0=>this[_0xf09321(0x154)][_0xf09321(0x1ba)][_0xf09321(0x1da)](_0x50a9a0)}),this[_0xf09321(0x183)]=new SessionQueryService({'runtime':this[_0xf09321(0x212)],'runners':this[_0xf09321(0x178)],'resolve':_0x186515=>this[_0xf09321(0xac)][_0xf09321(0xd6)](_0x186515),'present':_0x1da6ba=>this[_0xf09321(0x15e)][_0xf09321(0x22b)](_0x1da6ba),'history':(_0x3a0bc1,_0x5a08e6)=>this[_0xf09321(0xfc)][_0xf09321(0x230)](_0x3a0bc1,_0x5a08e6),'segments':(_0x5ea1d1,_0x2a630d)=>this[_0xf09321(0x1c6)][_0xf09321(0x230)](_0x5ea1d1,_0x2a630d),'context':this[_0xf09321(0xc3)],'discover':(_0x33eb75,_0x5bdb0b)=>this[_0xf09321(0xac)][_0xf09321(0x180)](_0x33eb75,_0x5bdb0b),'workspaceIdForCwd':_0x34b869=>this[_0xf09321(0x1f1)]?.[_0xf09321(0x22e)]()[_0xf09321(0x9d)](_0x149f2d=>_0x149f2d[_0xf09321(0x195)]===_0x34b869)?.['id']}),this[_0xf09321(0x15f)]=new ContinuousRunCoordinator({'runtime':this[_0xf09321(0x212)],'emitQueue':(_0x1f00fc,_0x3de836)=>this[_0xf09321(0xce)][_0xf09321(0xcd)](_0x1f00fc,_0x3de836),'clearImages':_0x3bdf33=>this[_0xf09321(0x185)][_0xf09321(0x163)](_0x3bdf33),'cleanupAttachments':_0x4c498e=>this[_0xf09321(0x185)][_0xf09321(0x146)](_0x4c498e),'migrateAssets':(_0xc460eb,_0x5f09dd)=>this[_0xf09321(0x185)][_0xf09321(0xae)](_0xc460eb,_0x5f09dd),'emitRun':(_0x265075,_0x4a29bd,_0x26cada,_0x2c9ac6)=>this[_0xf09321(0xce)][_0xf09321(0x1b6)](_0x265075,_0x4a29bd,_0x26cada,_0x2c9ac6),'emitConversation':_0xe41a5d=>this[_0xf09321(0x1fc)](_0xe41a5d),'control':(_0x519c9f,_0x21261f)=>this[_0xf09321(0x22c)][_0xf09321(0x182)](JSON[_0xf09321(0x118)](createEnvelope(_0x519c9f,_0x21261f))),'stopped':()=>this[_0xf09321(0xdd)],'markInterrupted':_0xe139cc=>this[_0xf09321(0x154)][_0xf09321(0x1ba)][_0xf09321(0x1da)](_0xe139cc),'mcps':_0x4879d2=>this[_0xf09321(0x1f1)]?.[_0xf09321(0xb8)](_0x4879d2)??[],'afterExecutionStarted':async _0x1f3aef=>{const _0x4d89ca=_0xf09321;if(_0x1f3aef[_0x4d89ca(0x16d)]===undefined)return;const _0x103b7f=this[_0x4d89ca(0x209)][_0x4d89ca(0x129)](_0x1f3aef[_0x4d89ca(0x125)]);if(_0x103b7f?.[_0x4d89ca(0x149)]!==_0x4d89ca(0x1d4)||_0x103b7f['id']!==_0x1f3aef[_0x4d89ca(0x16d)]['id']||_0x103b7f[_0x4d89ca(0xcc)]!==_0x1f3aef[_0x4d89ca(0x16d)][_0x4d89ca(0xcc)])return;const _0x2b09c6=this[_0x4d89ca(0x209)][_0x4d89ca(0x13c)](_0x1f3aef[_0x4d89ca(0x125)]),_0xd49e45=this[_0x4d89ca(0x212)][_0x4d89ca(0x231)](_0x1f3aef[_0x4d89ca(0x125)]);if(_0x2b09c6!==undefined&&_0xd49e45!==undefined)this[_0x4d89ca(0xe0)](_0xd49e45,_0x2b09c6);await this[_0x4d89ca(0x159)]({'sessionId':_0x1f3aef[_0x4d89ca(0x125)],'mission':{'id':_0x103b7f['id'],'revision':_0x103b7f[_0x4d89ca(0xcc)]},'secretEnvironment':_0x1f3aef[_0x4d89ca(0x229)],..._0x1f3aef[_0x4d89ca(0xba)]===undefined?{}:{'personalInstructions':_0x1f3aef[_0x4d89ca(0xba)]}});},'missionMcp':async _0x1ffea4=>{const _0x27b6ac=_0xf09321;if(_0x1ffea4[_0x27b6ac(0x16d)]===undefined)throw new Error(_0x27b6ac(0xfb));const _0x893602=await this[_0x27b6ac(0x1bb)][_0x27b6ac(0x19f)]({'executionId':_0x1ffea4[_0x27b6ac(0x112)],'sessionId':_0x1ffea4[_0x27b6ac(0x125)],'missionId':_0x1ffea4[_0x27b6ac(0x16d)]['id'],'revision':_0x1ffea4[_0x27b6ac(0x16d)][_0x27b6ac(0xcc)]});return{'installation':{'targetKind':_0x27b6ac(0x22d),'targetId':_0x1ffea4[_0x27b6ac(0x213)],'catalogEntryId':_0x27b6ac(0xee),'serverName':_0x27b6ac(0x219),'displayName':_0x27b6ac(0x120),'version':_0x27b6ac(0x18a),'enabled':!![],'runtime':{'transport':_0x27b6ac(0x1a8),'url':_0x27b6ac(0x210),'headers':{}},'configuration':_0x893602[_0x27b6ac(0x19f)],'installedAt':Date[_0x27b6ac(0x199)](),..._0x893602[_0x27b6ac(0x19f)]},'secrets':_0x893602[_0x27b6ac(0x100)]};}}),this[_0xf09321(0x158)]=new WorkspaceQueueWorkbenchService({'runtime':this[_0xf09321(0x212)],'coordinator':this[_0xf09321(0x15f)],'emit':(_0x35c14f,_0x15ed18)=>this[_0xf09321(0xce)][_0xf09321(0xcd)](_0x35c14f,_0x15ed18),'prepareInput':(_0x5f16fe,_0x26389a,_0x5b2533)=>this[_0xf09321(0x178)][_0xf09321(0x211)](_0x5f16fe)[_0xf09321(0xa9)](_0x26389a,_0x5b2533)}),this[_0xf09321(0xeb)]=new SessionIdentityService({'runtime':this[_0xf09321(0x212)],'persist':(_0x5c8fb6,_0x73cd47)=>{const _0x3e86c6=_0xf09321;if(_0x5c8fb6[_0x3e86c6(0x1ed)]===null||_0x5c8fb6[_0x3e86c6(0x1bf)]===null||_0x5c8fb6[_0x3e86c6(0x1d2)]===null)return;this[_0x3e86c6(0x1f1)]?.[_0x3e86c6(0x218)]({'runner':_0x5c8fb6[_0x3e86c6(0x1ab)],'externalSessionId':_0x73cd47,'workspaceId':_0x5c8fb6[_0x3e86c6(0x213)],'model':_0x5c8fb6[_0x3e86c6(0x1ed)],'effort':_0x5c8fb6[_0x3e86c6(0x1bf)],'access':_0x5c8fb6[_0x3e86c6(0x1d2)]});},'migrateCommands':(_0x286b9a,_0x3e6dd1)=>this[_0xf09321(0x151)][_0xf09321(0x1ce)](_0x286b9a,_0x3e6dd1),'migrateMission':(_0x382809,_0x515f6e)=>{const _0xf609b7=_0xf09321;this[_0xf609b7(0x209)][_0xf609b7(0x165)](_0x382809,_0x515f6e),this[_0xf609b7(0x1bb)][_0xf609b7(0x165)](_0x382809,_0x515f6e);const _0x3cf40f=this[_0xf609b7(0x16e)][_0xf609b7(0x129)](_0x382809);_0x3cf40f!==undefined&&(this[_0xf609b7(0x16e)][_0xf609b7(0x121)](_0x382809),_0x3cf40f[_0xf609b7(0x125)]=_0x515f6e,this[_0xf609b7(0x16e)][_0xf609b7(0x1dd)](_0x515f6e,_0x3cf40f));const _0x2bdeb6=this[_0xf609b7(0x103)][_0xf609b7(0x129)](_0x382809);_0x2bdeb6!==undefined&&(this[_0xf609b7(0x103)][_0xf609b7(0x121)](_0x382809),this[_0xf609b7(0x103)][_0xf609b7(0x1dd)](_0x515f6e,_0x2bdeb6));},'migrateQueue':(_0x3e5631,_0x4cdaf0)=>this[_0xf09321(0x15f)][_0xf09321(0x165)](_0x3e5631,_0x4cdaf0),'migrateRunnerState':(_0xa76024,_0x518288)=>this[_0xf09321(0xce)][_0xf09321(0x10f)](_0xa76024,_0x518288),'emitSession':_0x50c5ba=>this[_0xf09321(0xc4)]({'session':_0x50c5ba}),'emitRun':_0x2593e4=>this[_0xf09321(0x1f8)](_0xf09321(0x143),{'run':_0x2593e4}),'emitQueue':_0x4b0da5=>this[_0xf09321(0x15f)][_0xf09321(0x1fa)](_0x4b0da5),'emitTurn':_0x3396e6=>this[_0xf09321(0x1fc)](_0x3396e6)}),this[_0xf09321(0x1e8)]=new SessionLifecycleService({'database':()=>{const _0x574a6a=_0xf09321;if(this[_0x574a6a(0x1f1)]===undefined)throw new Error(_0x574a6a(0xe1));return this[_0x574a6a(0x1f1)];},'runtime':this[_0xf09321(0x212)],'runners':this[_0xf09321(0x178)],'projection':this[_0xf09321(0xac)],'identity':this[_0xf09321(0xeb)],'present':_0xb2acad=>this[_0xf09321(0x15e)][_0xf09321(0x22b)](_0xb2acad),'emitSession':_0x2dc31f=>this[_0xf09321(0xc4)]({'session':this[_0xf09321(0x15e)][_0xf09321(0x22b)](_0x2dc31f)}),'execute':(_0x4653e7,_0x1d2d46)=>this[_0xf09321(0xad)](_0x4653e7,_0x1d2d46),'interceptedSessionId':_0x2c5eaf=>this[_0xf09321(0x1f9)]===undefined?undefined:_0xf09321(0x145)+_0x2c5eaf}),this[_0xf09321(0x102)]=new ExternalSessionResumeService({'runtime':this[_0xf09321(0x212)],'runners':this[_0xf09321(0x178)],'state':this[_0xf09321(0xbf)],'available':_0x7b4725=>this[_0xf09321(0x178)][_0xf09321(0x211)](_0x7b4725)[_0xf09321(0xf5)](this[_0xf09321(0x1d8)]),'projectionFor':_0x41022f=>this[_0xf09321(0xac)][_0xf09321(0x17b)](_0x41022f),'managedAliasFor':_0x4750c2=>this[_0xf09321(0xac)][_0xf09321(0x196)](_0x4750c2),'ensureConfiguration':_0x5b3099=>this[_0xf09321(0xac)][_0xf09321(0xc7)](_0x5b3099),'configuration':_0x6a35f8=>this[_0xf09321(0xac)][_0xf09321(0xe8)](_0x6a35f8),'workspacePath':_0x2356b4=>this[_0xf09321(0x1f1)]?.[_0xf09321(0x1cd)](_0x2356b4)?.[_0xf09321(0x195)],'rememberNative':(_0xfe2695,_0x34f1e2)=>this[_0xf09321(0x1d9)][_0xf09321(0x11b)](_0xfe2695,_0x34f1e2),'stage':_0x4693d1=>{const _0x124522=_0xf09321,_0x1c2e6d=this[_0x124522(0xac)][_0x124522(0xe8)](_0x4693d1);return this[_0x124522(0x212)][_0x124522(0x20b)]({'workspaceId':_0x4693d1[_0x124522(0x213)],'runner':_0x4693d1[_0x124522(0x1ab)],'externalSessionId':_0x4693d1[_0x124522(0xd0)]??_0x4693d1['id'],'nativeControl':_0x124522(0x116),'cwd':_0x4693d1[_0x124522(0x184)],'model':_0x1c2e6d[_0x124522(0x1ed)],'effort':_0x1c2e6d[_0x124522(0x1bf)],'access':_0x1c2e6d[_0x124522(0x1d2)],..._0x4693d1[_0x124522(0x11e)]===null?{}:{'title':_0x4693d1[_0x124522(0x11e)]},..._0x4693d1[_0x124522(0xa4)]===null?{}:{'customTitle':_0x4693d1[_0x124522(0xa4)]}});},'resolve':_0x3096c1=>this[_0xf09321(0xac)][_0xf09321(0xd6)](_0x3096c1)}),this[_0xf09321(0x14c)]=new SessionCommandService({'runtime':this[_0xf09321(0x212)],'runners':this[_0xf09321(0x178)],'projection':this[_0xf09321(0xac)],'resume':this[_0xf09321(0x102)],'profiles':()=>this[_0xf09321(0xab)][_0xf09321(0x174)](),'present':_0x1ce8f1=>this[_0xf09321(0x15e)][_0xf09321(0x22b)](_0x1ce8f1),'resumeQueueAfterCommandRun':_0x13e7d6=>this[_0xf09321(0x158)][_0xf09321(0x13a)](_0x13e7d6),'beginMission':_0x4fb0db=>{const _0x2fc217=_0xf09321,_0x5f55af=this[_0x2fc217(0x151)][_0x2fc217(0x129)](_0x4fb0db['id'],_0x2fc217(0x16d));if(_0x5f55af?.[_0x2fc217(0x1d4)]===!![])return{'session':this[_0x2fc217(0x15e)][_0x2fc217(0x22b)](_0x4fb0db),'missionAlreadyActive':!![]};_0x5f55af!==undefined&&(this[_0x2fc217(0x209)][_0x2fc217(0x163)](_0x4fb0db['id']),this[_0x2fc217(0x151)][_0x2fc217(0x163)](_0x4fb0db['id'],_0x2fc217(0x16d)));const _0x5cb03c=this[_0x2fc217(0x10d)](_0x4fb0db);return this[_0x2fc217(0x15f)][_0x2fc217(0x234)](_0x4fb0db['id']),this[_0x2fc217(0x151)][_0x2fc217(0x1dd)](_0x4fb0db['id'],this[_0x2fc217(0xbd)]()),this[_0x2fc217(0x1f8)](_0x2fc217(0x21d),{'session':this[_0x2fc217(0x15e)][_0x2fc217(0x22b)](_0x5cb03c[_0x2fc217(0x21d)])}),{'session':this[_0x2fc217(0x15e)][_0x2fc217(0x22b)](_0x5cb03c[_0x2fc217(0x21d)]),'missionAccessChanged':_0x5cb03c[_0x2fc217(0x167)]};},'mission':async({session:_0x231adc,objective:_0xb3c023,secretEnvironment:_0x4b478d,personalInstructions:_0x55caf3})=>{const _0x322841=_0xf09321;this[_0x322841(0xc5)](_0x231adc['id']);const _0x471bac=this[_0x322841(0x10d)](_0x231adc),_0x3d637d=_0x471bac[_0x322841(0x21d)],_0x2dca07=this[_0x322841(0x209)][_0x322841(0x129)](_0x231adc['id'])?.[_0x322841(0x149)]===_0x322841(0x1d4);this[_0x322841(0x15f)][_0x322841(0x14e)](_0x231adc['id']);const _0x3bec50=this[_0x322841(0x209)][_0x322841(0x1a6)](_0x231adc['id'],_0xb3c023);this[_0x322841(0xe0)](_0x3d637d,_0x3bec50);const _0x164053=await this[_0x322841(0xcf)][_0x322841(0x1a0)]({'sessionId':_0x231adc['id'],'kind':_0x322841(0x1a6),'content':this[_0x322841(0x209)][_0x322841(0x1de)](_0x231adc['id'],_0x322841(0x1a6)),'deliveryIntent':_0x2dca07?_0x322841(0x21a):_0x322841(0xf2),'mission':{'id':_0x3bec50['id'],'revision':_0x3bec50[_0x322841(0xcc)]},'secretEnvironment':_0x4b478d,..._0x55caf3===undefined?{}:{'personalInstructions':_0x55caf3}});return{...isPlainRecord(_0x164053)?_0x164053:{'result':_0x164053},'missionAccessChanged':_0x471bac[_0x322841(0x167)]};},'clearMission':_0x1cdcfe=>{const _0x1ca473=_0xf09321;return this[_0x1ca473(0xc5)](_0x1cdcfe['id']),this[_0x1ca473(0x209)][_0x1ca473(0x163)](_0x1cdcfe['id']),this[_0x1ca473(0x15f)][_0x1ca473(0x14e)](_0x1cdcfe['id']),this[_0x1ca473(0x1e9)](_0x1cdcfe['id'],_0x1ca473(0x139)),this[_0x1ca473(0x151)][_0x1ca473(0x163)](_0x1cdcfe['id'],_0x1ca473(0x16d)),this[_0x1ca473(0x1f8)](_0x1ca473(0x21d),{'session':this[_0x1ca473(0x15e)][_0x1ca473(0x22b)](_0x1cdcfe)}),{'session':this[_0x1ca473(0x15e)][_0x1ca473(0x22b)](_0x1cdcfe),'cleared':!![]};}}),this[_0xf09321(0xcf)]=new SessionMessageService({'runtime':this[_0xf09321(0x212)],'uploads':this[_0xf09321(0x175)],'attachments':this[_0xf09321(0x185)],'commands':this[_0xf09321(0x151)],'coordinator':this[_0xf09321(0x15f)],'runners':this[_0xf09321(0x178)],'resolve':_0x1de8fa=>this[_0xf09321(0x102)][_0xf09321(0x1ad)](_0x1de8fa),'present':_0x32bfd8=>this[_0xf09321(0x15e)][_0xf09321(0x22b)](_0x32bfd8),'emitSession':_0x563261=>this[_0xf09321(0xc4)]({'session':this[_0xf09321(0x15e)][_0xf09321(0x22b)](_0x563261)}),'channelToken':_0x2cbc70=>{const _0x566da5=_0xf09321,_0x5992db=this[_0x566da5(0x212)][_0x566da5(0x231)](_0x2cbc70);return _0x5992db?.[_0x566da5(0x1be)]??undefined;},'missionMessage':(_0xc8aa54,_0x13eb70)=>{const _0x230602=_0xf09321,_0x2418db=this[_0x230602(0x151)][_0x230602(0x129)](_0xc8aa54['id'],_0x230602(0x16d));if(_0x2418db?.[_0x230602(0x1d4)]!==!![])return undefined;const _0xa8391=this[_0x230602(0x209)][_0x230602(0x129)](_0xc8aa54['id']);if(_0xa8391?.[_0x230602(0x149)]===_0x230602(0x1d4))return{'runnerContent':_0x13eb70,'mission':{'id':_0xa8391['id'],'revision':_0xa8391[_0x230602(0xcc)]},'activated':![]};const _0x2deca2=this[_0x230602(0x209)][_0x230602(0x1a6)](_0xc8aa54['id'],_0x13eb70);return this[_0x230602(0xe0)](_0xc8aa54,_0x2deca2),{'runnerContent':this[_0x230602(0x209)][_0x230602(0x1de)](_0xc8aa54['id'],_0x230602(0x1a6)),'mission':{'id':_0x2deca2['id'],'revision':_0x2deca2[_0x230602(0xcc)]},'activated':!![]};},'prepareMissionInsertion':(_0x148a73,_0x5dc2e6)=>this[_0xf09321(0x15f)][_0xf09321(0x234)](_0x148a73,_0x5dc2e6),'missionPreparationFailed':(_0x13740e,_0x160fe7,_0x1def99)=>{const _0x558b83=_0xf09321;if(!_0x1def99)return;const _0x34e38c=this[_0x558b83(0x209)][_0x558b83(0x129)](_0x13740e['id']);if(_0x34e38c?.['id']!==_0x160fe7['id']||_0x34e38c[_0x558b83(0xcc)]!==_0x160fe7[_0x558b83(0xcc)])return;this[_0x558b83(0x209)][_0x558b83(0x163)](_0x13740e['id']),this[_0x558b83(0x1e9)](_0x13740e['id'],_0x558b83(0x133)),this[_0x558b83(0x151)][_0x558b83(0x1dd)](_0x13740e['id'],this[_0x558b83(0xbd)]()),this[_0x558b83(0x1f8)](_0x558b83(0x21d),{'session':this[_0x558b83(0x15e)][_0x558b83(0x22b)](_0x13740e)});}}),this[_0xf09321(0x203)]=new SessionCatalogService({'database':()=>{const _0x145923=_0xf09321;if(this[_0x145923(0x1f1)]===undefined)throw new Error(_0x145923(0xe1));return this[_0x145923(0x1f1)];},'nodeId':()=>this[_0xf09321(0xb6)]?.[_0xf09321(0xa8)]??_0xf09321(0x19e),'runtime':this[_0xf09321(0x212)],'runners':this[_0xf09321(0x178)],'projection':this[_0xf09321(0xac)],'resume':this[_0xf09321(0x102)],'cachedNative':()=>[...this[_0xf09321(0xbf)][_0xf09321(0x11f)][_0xf09321(0x13b)]()],'cachedWorkspace':_0x51917b=>this[_0xf09321(0x18d)][_0xf09321(0x179)](_0x51917b),'present':_0x2b1d64=>this[_0xf09321(0x15e)][_0xf09321(0x22b)](_0x2b1d64),'projectionForNative':_0x32a167=>this[_0xf09321(0xac)][_0xf09321(0x17b)](_0x32a167),'nativeIds':_0x532f22=>this[_0xf09321(0xac)][_0xf09321(0x22a)](_0x532f22),'forget':(_0x11b598,_0x4c40ef)=>this[_0xf09321(0xac)][_0xf09321(0x16a)](_0x11b598,_0x4c40ef),'refreshActivity':_0x3e6792=>this[_0xf09321(0xfc)][_0xf09321(0xdc)](_0x3e6792),'externalActivity':_0x310a78=>this[_0xf09321(0xbf)][_0xf09321(0x12f)][_0xf09321(0x129)](_0x310a78),'history':(_0x44378f,_0x5ad587)=>this[_0xf09321(0xfc)][_0xf09321(0x230)](_0x44378f,_0x5ad587),'emitSession':_0x2afb65=>this[_0xf09321(0xc4)]({'session':this[_0xf09321(0x15e)][_0xf09321(0x22b)](_0x2afb65)})}),this[_0xf09321(0x10a)][_0xf09321(0x220)]({'start':_0x46767e=>this[_0xf09321(0x16f)][_0xf09321(0x1a6)](_0x46767e),'cancel':(_0x2d07dd,_0x1feb59)=>{const _0x141a37=_0xf09321,_0x50c2b0=this[_0x141a37(0x10a)][_0x141a37(0x13f)][_0x141a37(0xde)][_0x141a37(0x129)](_0x2d07dd);if(_0x50c2b0?.[_0x141a37(0x107)]===undefined)return![];return void this[_0x141a37(0x1ca)][_0x141a37(0x198)](_0x2d07dd,_0x50c2b0[_0x141a37(0xf0)],_0x50c2b0[_0x141a37(0x107)],_0x50c2b0[_0x141a37(0x184)],_0x1feb59===_0x141a37(0x21b)?_0x141a37(0x214):_0x141a37(0x200)),!![];},'decideApproval':_0x1e9b47=>this[_0xf09321(0x1ca)][_0xf09321(0x181)](_0x1e9b47[_0xf09321(0x122)],_0x1e9b47[_0xf09321(0x10b)])}),this[_0xf09321(0x14d)][_0xf09321(0x220)]({'start':_0x123e58=>this[_0xf09321(0xa0)][_0xf09321(0x1a6)](_0x123e58),'cancel':(_0x191563,_0x5dd70e)=>this[_0xf09321(0x1ca)][_0xf09321(0xb1)](_0x191563,_0x5dd70e),'decideApproval':_0x4a46e3=>this[_0xf09321(0x1ca)][_0xf09321(0x194)](_0x4a46e3[_0xf09321(0x122)],_0x4a46e3[_0xf09321(0x10b)])}),this[_0xf09321(0x1f3)][_0xf09321(0x220)]({'start':_0x373388=>this[_0xf09321(0xf9)][_0xf09321(0x1a6)](_0x373388),'cancel':(_0x5d443d,_0x19c570)=>this[_0xf09321(0xf9)][_0xf09321(0x1ee)](_0x5d443d,_0x19c570),'decideApproval':_0x5597c8=>this[_0xf09321(0xf9)][_0xf09321(0x161)](_0x5597c8),'respondUserInput':(_0xf5a756,_0x40a5ee,_0x2028c5)=>this[_0xf09321(0xf9)][_0xf09321(0x1ac)](_0xf5a756,_0x40a5ee,_0x2028c5)}),this[_0xf09321(0x1e7)][_0xf09321(0x220)]({'start':_0x1227e8=>this[_0xf09321(0x123)][_0xf09321(0x1a6)](_0x1227e8),'cancel':(_0x2bd77b,_0x1dce48)=>this[_0xf09321(0x123)][_0xf09321(0x1ee)](_0x2bd77b,_0x1dce48),'decideApproval':_0x4687ee=>this[_0xf09321(0x123)][_0xf09321(0x161)](_0x4687ee),'respondUserInput':(_0x2681a4,_0x46b33a,_0x35b94a)=>this[_0xf09321(0x123)][_0xf09321(0x1ac)](_0x2681a4,_0x46b33a,_0x35b94a)}),this[_0xf09321(0x10a)][_0xf09321(0x1b3)]({'execute':(_0x51278a,_0x1165fe,_0x1e4f49,_0x300a48)=>this[_0xf09321(0x16f)][_0xf09321(0x1cf)](_0x51278a,_0x1165fe,_0x1e4f49,_0x300a48)}),this[_0xf09321(0x14d)][_0xf09321(0x1b3)]({'execute':(_0xf3439e,_0x4f20ba,_0x2c8ac2,_0x1bd71e)=>this[_0xf09321(0xa0)][_0xf09321(0x1cf)](_0xf3439e,_0x4f20ba,_0x2c8ac2,_0x1bd71e)}),this[_0xf09321(0x1f3)][_0xf09321(0x1b3)]({'execute':(_0x44a35f,_0x2ff960,_0x4ee9e4,_0x21f6a0)=>this[_0xf09321(0xf9)][_0xf09321(0x1cf)](_0x44a35f,_0x2ff960,_0x21f6a0)}),this[_0xf09321(0x1e7)][_0xf09321(0x1b3)]({'execute':(_0x3cdaf1,_0x2ab4fe,_0x1fec7e,_0x2a3256)=>this[_0xf09321(0x123)][_0xf09321(0x1cf)](_0x3cdaf1,_0x2ab4fe,_0x1fec7e,_0x2a3256)});const _0x4a2ff0=this[_0xf09321(0x1f9)]===undefined||this[_0xf09321(0x1a4)]===undefined?undefined:new FakeManagedRunService({'runner':this[_0xf09321(0x1f9)],'script':this[_0xf09321(0x1a4)],'runners':this[_0xf09321(0x178)],'runtime':this[_0xf09321(0x212)],'state':this[_0xf09321(0x154)],'emitRun':(_0x5daf68,_0x151639,_0x1be6ed,_0xf63cdd)=>this[_0xf09321(0xce)][_0xf09321(0x1b6)](_0x5daf68,_0x151639,_0x1be6ed,_0xf63cdd),'publishApproval':_0x130c16=>this[_0xf09321(0xce)][_0xf09321(0x1e1)](_0x130c16),'disconnect':()=>this[_0xf09321(0x1f7)][_0xf09321(0xe4)](0xa11*0x2+-0x4a8*-0x8+-0x59*0x78,_0xf09321(0x1d1))});this[_0xf09321(0x1f9)]?.[_0xf09321(0x220)]({'start':_0x253a2e=>_0x4a2ff0?.[_0xf09321(0x1a6)](_0x253a2e),'cancel':(_0x2b6ef1,_0x37ea3e)=>_0x37ea3e===_0xf09321(0x21b)?this[_0xf09321(0x1f9)]?.[_0xf09321(0x1ee)](_0x2b6ef1)??![]:this[_0xf09321(0x1f9)]?.[_0xf09321(0x1f2)](_0x2b6ef1)??![],'decideApproval':_0x4f97cd=>this[_0xf09321(0x1f9)]?.[_0xf09321(0x20d)](_0x4f97cd[_0xf09321(0x112)],_0x4f97cd[_0xf09321(0x122)],_0x4f97cd[_0xf09321(0x10b)])??![]}),this[_0xf09321(0x109)]=_0x469325[_0xf09321(0x109)]??new RunnerUsageReader(),this[_0xf09321(0x1f1)]=_0x469325[_0xf09321(0x1f1)],this[_0xf09321(0x1f5)]=_0x469325[_0xf09321(0x1f5)]??new TerminalManager({'platform':this[_0xf09321(0x1d8)][_0xf09321(0x1b1)]===_0xf09321(0xbe)?_0xf09321(0xfa):_0xf09321(0x191)}),this[_0xf09321(0x1f5)][_0xf09321(0x17c)](_0x2c1400=>this[_0xf09321(0x18d)][_0xf09321(0x128)](_0x2c1400)),this[_0xf09321(0x130)]=new NodeTerminalChannel({'config':()=>this[_0xf09321(0xb6)],'controlConnected':()=>this[_0xf09321(0x1f7)][_0xf09321(0x1a9)](),'stopped':()=>this[_0xf09321(0xdd)],'reconnect':this[_0xf09321(0x115)],'reconnectDelay':nextReconnectDelay,'manager':this[_0xf09321(0x1f5)]}),this[_0xf09321(0x1f7)]=new NodeControlChannel({'config':()=>this[_0xf09321(0xb6)],'capabilities':()=>this[_0xf09321(0x1d8)],'stopped':()=>this[_0xf09321(0xdd)],'reconnect':this[_0xf09321(0x115)],'reconnectDelay':nextReconnectDelay,'onConnecting':_0x299a85=>{const _0x22c222=_0xf09321;this[_0x22c222(0x108)][_0x22c222(0xed)](),nodeLog(_0x22c222(0x1cb),{'attempt':_0x299a85});},'onReconnectScheduled':()=>this[_0xf09321(0x108)][_0xf09321(0xf4)](),'onMessage':_0x3f0b50=>this[_0xf09321(0x176)](_0x3f0b50),'onClose':(_0x19eea6,_0x243449)=>{const _0x520055=_0xf09321;this[_0x520055(0x130)][_0x520055(0x171)]();if(_0x19eea6===-0x1*-0x61d+-0x329+0xcac&&_0x243449===_0x520055(0x189))nodeLog(_0x520055(0x202),{'message':_0x520055(0x15b)});if(_0x19eea6===-0x206*0x3+-0x21d0+0x3785||_0x19eea6===-0x1062+0xc07*0x2+-0x3c3)void this[_0x520055(0x1f5)][_0x520055(0x1eb)]();}}),this[_0xf09321(0x22c)]=new NodeControlMessageService({'config':()=>this[_0xf09321(0xb6)],'register':(_0x2c2c70,_0x698437)=>this[_0xf09321(0xc8)][_0xf09321(0x232)](_0x2c2c70,_0x698437),'connected':()=>this[_0xf09321(0xc8)][_0xf09321(0x1a9)](),'close':(_0x5cc4ec,_0x2a5369)=>this[_0xf09321(0x1f7)][_0xf09321(0xe4)](_0x5cc4ec,_0x2a5369),'inspectWorkspace':_0xc9e428=>this[_0xf09321(0x18d)][_0xf09321(0x156)](_0xc9e428),'handleNodeRequest':_0x4bc8c9=>this[_0xf09321(0x223)][_0xf09321(0x182)](_0x4bc8c9),'reconcileRuns':_0x58c610=>this[_0xf09321(0xce)][_0xf09321(0x110)](_0x58c610),'runners':this[_0xf09321(0x178)],'deliverSessionChannelMessage':_0x2cc95f=>this[_0xf09321(0x1d0)][_0xf09321(0x182)](_0x2cc95f),'completeUncontrolledCancellation':_0x3ffff1=>{const _0x4e6f9a=_0xf09321,_0x11d07d=this[_0x4e6f9a(0x212)][_0x4e6f9a(0x1b2)](_0x3ffff1);if(_0x11d07d?.[_0x4e6f9a(0x149)]===_0x4e6f9a(0x134))this[_0x4e6f9a(0x1ca)][_0x4e6f9a(0x15d)](_0x3ffff1);},'send':(_0xac02bd,_0x24f6d7,_0x29ca97)=>this[_0xf09321(0xf6)](_0xac02bd,_0x24f6d7,_0x29ca97)}),this[_0xf09321(0x223)]=new NodeRequestService({'nodeId':()=>this[_0xf09321(0xb6)]?.[_0xf09321(0xa8)],'databaseAvailable':()=>this[_0xf09321(0x1f1)]!==undefined,'execute':(_0x15615a,_0x3c7f70)=>this[_0xf09321(0xad)](_0x15615a,_0x3c7f70),'send':(_0x6e8b40,_0x2d9947,_0x4214bc)=>this[_0xf09321(0xf6)](_0x6e8b40,_0x2d9947,_0x4214bc)}),this[_0xf09321(0x18d)]=new NodeWorkspaceCoordinator({'config':()=>this[_0xf09321(0xb6)],'database':()=>this[_0xf09321(0x1f1)],'watches':this[_0xf09321(0x17f)],'sessions':this[_0xf09321(0x226)],'changes':this[_0xf09321(0x1b0)],'emit':(_0x14ed19,_0x517f23)=>void this[_0xf09321(0x1c7)]?.[_0xf09321(0x169)](_0x14ed19,_0x517f23),'send':(_0x187492,_0x3f28b6,_0x2c0784)=>this[_0xf09321(0xf6)](_0x187492,_0x3f28b6,_0x2c0784)}),this[_0xf09321(0xce)]=new NodeRunEventBridge({'runtime':this[_0xf09321(0x212)],'state':this[_0xf09321(0x154)],'events':this[_0xf09321(0x132)],'emitWorkbench':(_0xb66fa1,_0x360b0e)=>this[_0xf09321(0x1bc)](_0xb66fa1,_0x360b0e),'queues':this[_0xf09321(0x158)],'codex':this[_0xf09321(0x10a)],'claude':this[_0xf09321(0x14d)],'openCode':this[_0xf09321(0x1f3)],'send':(_0xdfca98,_0x2b9a12,_0x3b6000)=>this[_0xf09321(0xf6)](_0xdfca98,_0x2b9a12,_0x3b6000)}),this[_0xf09321(0xc8)]=new NodeConnectionLifecycleService({'config':()=>this[_0xf09321(0xb6)],'setConfig':_0x2d8028=>this[_0xf09321(0xb6)]=_0x2d8028,'configPath':this[_0xf09321(0x1d7)],'capabilities':()=>this[_0xf09321(0x1d8)],'detectCapabilities':this[_0xf09321(0x19a)],'capabilitiesProvided':this[_0xf09321(0xd9)],'stopped':()=>this[_0xf09321(0xdd)],'setCapabilities':_0x8c081=>this[_0xf09321(0x1d8)]={..._0x8c081,'metadata':upgradeMetadata(_0x8c081[_0xf09321(0x1f6)],this[_0xf09321(0x172)][_0xf09321(0xa6)]())},'control':this[_0xf09321(0x1f7)],'terminal':this[_0xf09321(0x130)],'metrics':this[_0xf09321(0x108)],'heartbeatMs':HEARTBEAT_MS,'refreshMs':CAPABILITY_REFRESH_MS,'onConnected':()=>this[_0xf09321(0x140)][_0xf09321(0x1fe)]()});const _0x585699=()=>{const _0x4c7e00=_0xf09321;if(this[_0x4c7e00(0x1f1)]===undefined)throw new Error(_0x4c7e00(0xe1));return this[_0x4c7e00(0x1f1)];};this[_0xf09321(0xab)]=new RunnerService(_0x585699,()=>this[_0xf09321(0x1d8)],this[_0xf09321(0x178)],this[_0xf09321(0x109)]),this[_0xf09321(0x1c5)]=new WorkbenchManifestService({'capabilities':()=>this[_0xf09321(0x1d8)],'runners':this[_0xf09321(0xab)],'terminals':this[_0xf09321(0x1f5)]}),this[_0xf09321(0x1b8)]=new TerminalService(_0x585699,this[_0xf09321(0x1f5)]),this[_0xf09321(0x127)]=new WorkspaceService(_0x585699,()=>{const _0x2bc0e9=_0xf09321;if(this[_0x2bc0e9(0xb6)]===undefined)throw new Error(_0x2bc0e9(0x106));return this[_0x2bc0e9(0xb6)];},this[_0xf09321(0x212)],_0xa6cec4=>{const _0x10853f=_0xf09321;this[_0x10853f(0x135)][_0x10853f(0x144)](_0xa6cec4),this[_0x10853f(0x18d)][_0x10853f(0x157)](_0xa6cec4),this[_0x10853f(0x226)][_0x10853f(0x18e)](_0xa6cec4),this[_0x10853f(0x18d)][_0x10853f(0xb3)](_0xa6cec4);}),this[_0xf09321(0x1c7)]=new WorkspaceWorkbenchService({'requireWorkspace':_0x2ee306=>this[_0xf09321(0x18d)][_0xf09321(0x211)](_0x2ee306),'inspectWorkspace':_0x3c4996=>this[_0xf09321(0x18d)][_0xf09321(0xb7)](_0x3c4996),'commitWorkspace':(_0x5d7c9c,_0x5207a2)=>this[_0xf09321(0x18d)][_0xf09321(0xfe)](_0x5d7c9c,_0x5207a2),'watch':this[_0xf09321(0x17f)],'files':this[_0xf09321(0x135)],'uploads':this[_0xf09321(0x175)],'changes':this[_0xf09321(0x1b0)],'listSessions':_0x86545f=>this[_0xf09321(0xad)](_0xf09321(0x207),{'workspaceId':_0x86545f,'limit':0x14}),'invalidate':_0x1343fa=>this[_0xf09321(0x18d)][_0xf09321(0x18e)](_0x1343fa),'nodeId':()=>this[_0xf09321(0xb6)]?.[_0xf09321(0xa8)]??_0xf09321(0xff),'nodeGeneration':()=>this[_0xf09321(0xdb)],'emitWatchEvent':_0x123ddc=>this[_0xf09321(0xf6)](_0xf09321(0xfd),_0x123ddc)}),this[_0xf09321(0x155)][_0xf09321(0x1c1)](this[_0xf09321(0xab)][_0xf09321(0x17e)]()),this[_0xf09321(0x155)][_0xf09321(0x1c1)](this[_0xf09321(0x1b8)][_0xf09321(0x17e)]()),this[_0xf09321(0x155)][_0xf09321(0x1c1)](this[_0xf09321(0x127)][_0xf09321(0x17e)]()),this[_0xf09321(0x155)][_0xf09321(0x1c1)](this[_0xf09321(0x1c7)][_0xf09321(0x17e)]()),this[_0xf09321(0x155)][_0xf09321(0x1c1)](this[_0xf09321(0x1e0)][_0xf09321(0x17e)]()),this[_0xf09321(0x155)][_0xf09321(0x1c1)](this[_0xf09321(0xd1)][_0xf09321(0x17e)]()),this[_0xf09321(0x155)][_0xf09321(0x1c1)](this[_0xf09321(0x183)][_0xf09321(0x17e)]()),this[_0xf09321(0x155)][_0xf09321(0x1c1)](this[_0xf09321(0x1e8)][_0xf09321(0x17e)]()),this[_0xf09321(0x155)][_0xf09321(0x1c1)](this[_0xf09321(0xcf)][_0xf09321(0x17e)]()),this[_0xf09321(0x155)][_0xf09321(0x1c1)](this[_0xf09321(0x203)][_0xf09321(0x17e)]()),this[_0xf09321(0x155)][_0xf09321(0x1c1)](this[_0xf09321(0x14c)][_0xf09321(0x17e)]()),this[_0xf09321(0x155)][_0xf09321(0x1c1)](this[_0xf09321(0x158)][_0xf09321(0x17e)]()),this[_0xf09321(0x155)][_0xf09321(0x1c1)](new SkillNodeOperationService(_0x585699,()=>{const _0x7438dc=_0xf09321;if(this[_0x7438dc(0xb6)]===undefined)throw new Error(_0x7438dc(0x106));return this[_0x7438dc(0xb6)];})[_0xf09321(0x17e)]()),this[_0xf09321(0x155)][_0xf09321(0x1c1)](new McpNodeOperationService(_0x585699)[_0xf09321(0x17e)]()),this[_0xf09321(0x155)][_0xf09321(0x232)](_0xf09321(0x141),()=>({'metrics':{...this[_0xf09321(0x108)][_0xf09321(0xa6)](),'activeRuns':this[_0xf09321(0x154)][_0xf09321(0x1d4)][_0xf09321(0x17d)],'workspaceLeases':this[_0xf09321(0x212)][_0xf09321(0x215)]()}})),this[_0xf09321(0x155)][_0xf09321(0x232)](_0xf09321(0x1df),_0x278896=>this[_0xf09321(0x172)][_0xf09321(0x21c)](_0x278896)),this[_0xf09321(0x155)][_0xf09321(0x232)](_0xf09321(0x12d),()=>this[_0xf09321(0x172)][_0xf09321(0x1ee)]()),this[_0xf09321(0x155)][_0xf09321(0x232)](_0xf09321(0x13e),async()=>({'manifest':await this[_0xf09321(0x1c5)][_0xf09321(0x230)]()}));}async[_0x5e09f1(0x1a6)](){const _0x32ef1f=_0x5e09f1;this[_0x32ef1f(0xdd)]=![],this[_0x32ef1f(0xb6)]??=await loadNodeConfig(this[_0x32ef1f(0x1d7)]),await this[_0x32ef1f(0x172)][_0x32ef1f(0xe3)](resolve(dirname(nodeDatabasePath(this[_0x32ef1f(0xb6)],this[_0x32ef1f(0x1d7)])),_0x32ef1f(0x1ec))),await assertLocalSqlitePath(nodeDatabasePath(this[_0x32ef1f(0xb6)],this[_0x32ef1f(0x1d7)])),this[_0x32ef1f(0x1f1)]??=new NodeDatabase(nodeDatabasePath(this[_0x32ef1f(0xb6)],this[_0x32ef1f(0x1d7)]),()=>this[_0x32ef1f(0xb6)]?.[_0x32ef1f(0xa8)]??_0x32ef1f(0x170)),this[_0x32ef1f(0x1f1)][_0x32ef1f(0xda)](),this[_0x32ef1f(0xc8)][_0x32ef1f(0x1a6)](),this[_0x32ef1f(0x1f7)][_0x32ef1f(0xa2)]();}[_0x5e09f1(0xc5)](_0xb462ed){const _0x367dbc=_0x5e09f1,_0x3c1411=this[_0x367dbc(0x16e)][_0x367dbc(0x129)](_0xb462ed);if(_0x3c1411!==undefined)clearTimeout(_0x3c1411[_0x367dbc(0xc1)]);this[_0x367dbc(0x16e)][_0x367dbc(0x121)](_0xb462ed),this[_0x367dbc(0x103)][_0x367dbc(0x121)](_0xb462ed);}async[_0x5e09f1(0x159)](_0x5dc804){const _0x7bb571=_0x5e09f1,_0x526b4d=_0x5dc804[_0x7bb571(0x16d)]['id']+':'+_0x5dc804[_0x7bb571(0x16d)][_0x7bb571(0xcc)];this[_0x7bb571(0x103)][_0x7bb571(0x1dd)](_0x5dc804[_0x7bb571(0x125)],_0x526b4d);try{await this[_0x7bb571(0xcf)][_0x7bb571(0x1a0)]({'sessionId':_0x5dc804[_0x7bb571(0x125)],'kind':_0x7bb571(0x15c),'content':this[_0x7bb571(0x209)][_0x7bb571(0x1de)](_0x5dc804[_0x7bb571(0x125)],_0x7bb571(0x15c)),'deliveryIntent':_0x7bb571(0x1cc),'mission':_0x5dc804[_0x7bb571(0x16d)],'secretEnvironment':_0x5dc804[_0x7bb571(0x229)],..._0x5dc804[_0x7bb571(0xba)]===undefined?{}:{'personalInstructions':_0x5dc804[_0x7bb571(0xba)]}});const _0x12ada5=this[_0x7bb571(0x209)][_0x7bb571(0x129)](_0x5dc804[_0x7bb571(0x125)]);if(_0x12ada5?.[_0x7bb571(0x149)]!==_0x7bb571(0x1d4)||_0x12ada5['id']!==_0x5dc804[_0x7bb571(0x16d)]['id']||_0x12ada5[_0x7bb571(0xcc)]!==_0x5dc804[_0x7bb571(0x16d)][_0x7bb571(0xcc)]){if(this[_0x7bb571(0x103)][_0x7bb571(0x129)](_0x5dc804[_0x7bb571(0x125)])===_0x526b4d)this[_0x7bb571(0x103)][_0x7bb571(0x121)](_0x5dc804[_0x7bb571(0x125)]);return;}this[_0x7bb571(0xc5)](_0x5dc804[_0x7bb571(0x125)]);}catch{const _0x4fb7ed=this[_0x7bb571(0x209)][_0x7bb571(0x129)](_0x5dc804[_0x7bb571(0x125)]);if(_0x4fb7ed?.[_0x7bb571(0x149)]!==_0x7bb571(0x1d4)||_0x4fb7ed['id']!==_0x5dc804[_0x7bb571(0x16d)]['id']||_0x4fb7ed[_0x7bb571(0xcc)]!==_0x5dc804[_0x7bb571(0x16d)][_0x7bb571(0xcc)]){if(this[_0x7bb571(0x103)][_0x7bb571(0x129)](_0x5dc804[_0x7bb571(0x125)])===_0x526b4d)this[_0x7bb571(0x103)][_0x7bb571(0x121)](_0x5dc804[_0x7bb571(0x125)]);return;}const _0x20ed97=(_0x5dc804[_0x7bb571(0x19b)]??0xa*0x2dd+-0x4b5*-0x8+-0x1*0x424a)+(0x264*0x3+0x3*0x240+-0xdeb),_0x4f9117=this[_0x7bb571(0x212)][_0x7bb571(0x231)](_0x5dc804[_0x7bb571(0x125)]);if(_0x20ed97>0x1eef*-0x1+-0x116*-0x1a+0x1*0x2b6||_0x4f9117===undefined){this[_0x7bb571(0xc5)](_0x5dc804[_0x7bb571(0x125)]);if(_0x20ed97>0x35*0x40+-0x1d48+0x100b*0x1){const _0x3658ff=this[_0x7bb571(0x209)][_0x7bb571(0x18c)](_0x5dc804[_0x7bb571(0x125)],_0x5dc804[_0x7bb571(0x16d)]['id'],_0x5dc804[_0x7bb571(0x16d)][_0x7bb571(0xcc)]);this[_0x7bb571(0x15f)][_0x7bb571(0x14e)](_0x5dc804[_0x7bb571(0x125)]),this[_0x7bb571(0x1e9)](_0x5dc804[_0x7bb571(0x125)],_0x7bb571(0x133));if(_0x4f9117!==undefined)this[_0x7bb571(0xe0)](_0x4f9117,_0x3658ff);}return;}this[_0x7bb571(0xc5)](_0x5dc804[_0x7bb571(0x125)]);const _0x3cb70b={'sessionId':_0x5dc804[_0x7bb571(0x125)],'timer':setTimeout(()=>{const _0x1672ea=_0x7bb571,_0x2dad9c=this[_0x1672ea(0x209)][_0x1672ea(0x129)](_0x3cb70b[_0x1672ea(0x125)]);if(_0x2dad9c?.[_0x1672ea(0x149)]!==_0x1672ea(0x1d4)||_0x2dad9c['id']!==_0x5dc804[_0x1672ea(0x16d)]['id']||_0x2dad9c[_0x1672ea(0xcc)]!==_0x5dc804[_0x1672ea(0x16d)][_0x1672ea(0xcc)])return;void this[_0x1672ea(0x159)]({..._0x5dc804,'sessionId':_0x3cb70b[_0x1672ea(0x125)],'failedAttempts':_0x20ed97});},0x689d+0x5cf2+-0x8af7)};this[_0x7bb571(0x16e)][_0x7bb571(0x1dd)](_0x5dc804[_0x7bb571(0x125)],_0x3cb70b),_0x3cb70b[_0x7bb571(0xc1)][_0x7bb571(0xd4)]();}}[_0x5e09f1(0x1e9)](_0x27208b,_0x113952){const _0x1d5ad6=_0x5e09f1,_0x4fb240=this[_0x1d5ad6(0x212)][_0x1d5ad6(0x228)](_0x27208b);if(_0x4fb240===undefined||this[_0x1d5ad6(0x212)][_0x1d5ad6(0x138)](_0x4fb240['id'])!==undefined)return;this[_0x1d5ad6(0xce)][_0x1d5ad6(0x1b6)](_0x4fb240['id'],_0x113952===_0x1d5ad6(0x139)?_0x1d5ad6(0xc9):_0x1d5ad6(0x20e),_0x113952===_0x1d5ad6(0x139)?{}:{'code':_0x1d5ad6(0x216)},_0x113952);}[_0x5e09f1(0x10d)](_0x19878c){const _0x26071a=_0x5e09f1,_0x187670=missionUnrestrictedAccess(_0x19878c[_0x26071a(0x1ab)]),_0x52c3e4=_0x19878c[_0x26071a(0x1d2)]!==_0x187670,_0x5c03ae=_0x52c3e4?this[_0x26071a(0x212)][_0x26071a(0xb2)](_0x19878c['id'],_0x187670):_0x19878c;if(_0x52c3e4&&_0x5c03ae[_0x26071a(0xd0)]!==null&&_0x5c03ae[_0x26071a(0x1ed)]!==null&&_0x5c03ae[_0x26071a(0x1bf)]!==null)this[_0x26071a(0x1f1)]?.[_0x26071a(0x218)]({'runner':_0x5c03ae[_0x26071a(0x1ab)],'externalSessionId':_0x5c03ae[_0x26071a(0xd0)],'workspaceId':_0x5c03ae[_0x26071a(0x213)],'model':_0x5c03ae[_0x26071a(0x1ed)],'effort':_0x5c03ae[_0x26071a(0x1bf)],'access':_0x187670});return{'session':_0x5c03ae,'changed':_0x52c3e4};}[_0x5e09f1(0xbd)](){const _0x247c2c=_0x5e09f1;return{'commandId':_0x247c2c(0x16d),'active':!![],'label':_0x247c2c(0x120),'detail':null,'closable':!![],'closeInput':_0x247c2c(0x137)};}[_0x5e09f1(0x14a)](){const _0x25445d=_0x5e09f1;this[_0x25445d(0xdd)]=!![],this[_0x25445d(0x140)][_0x25445d(0x144)](),this[_0x25445d(0x172)][_0x25445d(0x14a)](),this[_0x25445d(0xc8)][_0x25445d(0x14a)]();for(const _0x3a3fa6 of this[_0x25445d(0x14d)][_0x25445d(0x13f)][_0x25445d(0x208)][_0x25445d(0x13b)]()){clearTimeout(_0x3a3fa6[_0x25445d(0xc1)]),_0x3a3fa6[_0x25445d(0xd6)](_0x25445d(0x124));}this[_0x25445d(0x14d)][_0x25445d(0x13f)][_0x25445d(0x208)][_0x25445d(0x163)]();for(const _0x4e636a of this[_0x25445d(0x14d)][_0x25445d(0x13f)][_0x25445d(0x1e3)][_0x25445d(0x13b)]()){clearTimeout(_0x4e636a[_0x25445d(0xc1)]),_0x4e636a[_0x25445d(0x205)](_0x25445d(0x224));}this[_0x25445d(0x14d)][_0x25445d(0x13f)][_0x25445d(0x1e3)][_0x25445d(0x163)](),this[_0x25445d(0xd1)][_0x25445d(0x163)](),this[_0x25445d(0xeb)][_0x25445d(0x144)](),this[_0x25445d(0x1e8)][_0x25445d(0x163)](),this[_0x25445d(0x15f)][_0x25445d(0x163)]();for(const _0x549775 of this[_0x25445d(0x16e)][_0x25445d(0x13b)]())clearTimeout(_0x549775[_0x25445d(0xc1)]);this[_0x25445d(0x16e)][_0x25445d(0x163)](),this[_0x25445d(0x103)][_0x25445d(0x163)](),this[_0x25445d(0x132)][_0x25445d(0x163)](),this[_0x25445d(0xc3)][_0x25445d(0x144)]();for(const _0x137648 of this[_0x25445d(0x14d)][_0x25445d(0x13f)][_0x25445d(0xde)][_0x25445d(0x13b)]())_0x137648[_0x25445d(0x182)][_0x25445d(0x1ee)]();this[_0x25445d(0x14d)][_0x25445d(0x13f)][_0x25445d(0xde)][_0x25445d(0x163)](),this[_0x25445d(0x185)][_0x25445d(0x144)](),void this[_0x25445d(0x123)][_0x25445d(0x144)](),void this[_0x25445d(0x175)][_0x25445d(0x1eb)](),this[_0x25445d(0x135)][_0x25445d(0x144)](),this[_0x25445d(0x17f)][_0x25445d(0xca)](),this[_0x25445d(0x1c7)][_0x25445d(0x163)](),this[_0x25445d(0x226)][_0x25445d(0x163)](),this[_0x25445d(0x1b0)][_0x25445d(0x163)](),void this[_0x25445d(0x178)][_0x25445d(0x14a)](),void this[_0x25445d(0x1bb)][_0x25445d(0xe4)](),void this[_0x25445d(0x1f5)][_0x25445d(0x1eb)](),this[_0x25445d(0x130)][_0x25445d(0x14a)](),this[_0x25445d(0x1f7)][_0x25445d(0x14a)](),this[_0x25445d(0x1f1)]?.[_0x25445d(0xe4)](),this[_0x25445d(0x1f1)]=undefined;}[_0x5e09f1(0x176)]=_0x15d275=>this[_0x5e09f1(0x22c)][_0x5e09f1(0x182)](_0x15d275);[_0x5e09f1(0x1ea)]=(_0x1371a7,_0x2a7650,_0x49a382,_0x3fd78b)=>this[_0x5e09f1(0xce)][_0x5e09f1(0x1b6)](_0x1371a7,_0x2a7650,_0x49a382,_0x3fd78b);[_0x5e09f1(0x1e6)]=(_0x1d1009,_0x262a44)=>{const _0x1d45d2=_0x5e09f1;this[_0x1d45d2(0x132)][_0x1d45d2(0xdf)](_0x1d1009);const _0x54e1fa=isPlainRecord(_0x262a44)&&typeof _0x262a44[_0x1d45d2(0x164)]===_0x1d45d2(0x105)?_0x262a44[_0x1d45d2(0x164)]:undefined,_0x4684e1=isPlainRecord(_0x262a44)&&typeof _0x262a44[_0x1d45d2(0x1fd)]===_0x1d45d2(0x105)?_0x262a44[_0x1d45d2(0x1fd)]:undefined,_0x3adadf=this[_0x1d45d2(0x212)][_0x1d45d2(0x21f)](_0x1d1009),_0x387569=_0x54e1fa===undefined||_0x3adadf===undefined?undefined:conversationSegmentIdentityForItem(_0x3adadf,_0x54e1fa,_0x4684e1);this[_0x1d45d2(0xce)][_0x1d45d2(0x1b6)](_0x1d1009,_0x1d45d2(0x12c),_0x387569===undefined||!isPlainRecord(_0x262a44)?_0x262a44:{..._0x262a44,'segmentId':_0x387569['id'],'segmentIndex':_0x387569[_0x1d45d2(0x136)]});};[_0x5e09f1(0x1fc)]=_0x317c9a=>{const _0x50baed=_0x5e09f1,_0x4a90c8=isPlainRecord(_0x317c9a)&&Array[_0x50baed(0x206)](_0x317c9a[_0x50baed(0xd7)])?conversationSegments(_0x317c9a):[];this[_0x50baed(0x1f8)](_0x50baed(0xd2),{'turn':_0x317c9a,'segments':_0x4a90c8});};[_0x5e09f1(0x1bc)]=(_0x48dd14,_0x6adc59)=>{const _0xd43dfd=_0x5e09f1;if(_0x48dd14===_0xd43dfd(0x21d)){this[_0xd43dfd(0xc4)](_0x6adc59);return;}this[_0xd43dfd(0x1f8)](_0x48dd14,_0x6adc59);};[_0x5e09f1(0xc4)]=_0x5c5552=>{const _0x156ba9=_0x5e09f1;if(isPlainRecord(_0x5c5552)&&isPlainRecord(_0x5c5552[_0x156ba9(0x21d)])){const _0xde18fd=_0x5c5552[_0x156ba9(0x21d)][_0x156ba9(0x213)];typeof _0xde18fd===_0x156ba9(0x105)&&(this[_0x156ba9(0x226)][_0x156ba9(0x1f4)](_0xde18fd),void this[_0x156ba9(0x1c7)]?.[_0x156ba9(0x169)](_0xde18fd,_0x156ba9(0xbc)));}this[_0x156ba9(0x1f8)](_0x156ba9(0x21d),_0x5c5552);};[_0x5e09f1(0x1f8)]=(_0x23fa8c,_0x361231)=>{const _0x4250d0=_0x5e09f1;if(_0x23fa8c===_0x4250d0(0xd2)&&isPlainRecord(_0x361231)&&isPlainRecord(_0x361231[_0x4250d0(0x1af)])&&_0x361231[_0x4250d0(0x1af)][_0x4250d0(0x9e)]!==_0x4250d0(0x192)){const _0x26fe7f=typeof _0x361231[_0x4250d0(0x1af)][_0x4250d0(0x112)]===_0x4250d0(0x105)?_0x361231[_0x4250d0(0x1af)][_0x4250d0(0x112)]:undefined,_0x16015a=typeof _0x361231[_0x4250d0(0x1af)][_0x4250d0(0x1e2)]===_0x4250d0(0x11a)?_0x361231[_0x4250d0(0x1af)][_0x4250d0(0x1e2)]:undefined,_0x164a0a=_0x26fe7f===undefined?undefined:this[_0x4250d0(0x212)][_0x4250d0(0x21f)](_0x26fe7f);if(_0x164a0a===undefined)return;const _0x42290b=isPlainRecord(_0x361231[_0x4250d0(0x1af)][_0x4250d0(0xe2)])?_0x361231[_0x4250d0(0x1af)][_0x4250d0(0xe2)]:undefined,_0x1b59fa=_0x361231[_0x4250d0(0x1af)][_0x4250d0(0x9e)]===_0x4250d0(0x1c8)&&typeof _0x42290b?.[_0x4250d0(0x1d5)]===_0x4250d0(0x105)?_0x42290b[_0x4250d0(0x1d5)]:undefined,_0x1281ad=typeof _0x42290b?.[_0x4250d0(0x164)]===_0x4250d0(0x105)?_0x42290b[_0x4250d0(0x164)]:typeof _0x42290b?.[_0x4250d0(0x122)]===_0x4250d0(0x105)?_0x4250d0(0x222)+_0x42290b[_0x4250d0(0x122)]:undefined,_0xfdcafd=_0x1b59fa!==undefined&&_0x16015a!==undefined?_0x164a0a[_0x4250d0(0xd7)][_0x4250d0(0x9d)](_0x45cc5d=>_0x45cc5d[_0x4250d0(0x1fd)]===_0x4250d0(0x1a7)&&_0x45cc5d[_0x4250d0(0xcc)]===_0x16015a):_0x1281ad===undefined?undefined:_0x164a0a[_0x4250d0(0xd7)][_0x4250d0(0x9d)](_0x512805=>_0x512805['id']===_0x26fe7f+':'+_0x1281ad);if(_0x1b59fa!==undefined&&_0xfdcafd?.[_0x4250d0(0x1fd)]===_0x4250d0(0x1a7))_0x361231={'sessionId':_0x164a0a[_0x4250d0(0x125)],'delta':{'runId':_0x164a0a[_0x4250d0(0x112)],'itemId':_0xfdcafd['id'],'text':_0x1b59fa,'createdAt':typeof _0x361231[_0x4250d0(0x1af)][_0x4250d0(0x13d)]===_0x4250d0(0x11a)?_0x361231[_0x4250d0(0x1af)][_0x4250d0(0x13d)]:Date[_0x4250d0(0x199)]()}};else{if(_0xfdcafd!==undefined){const _0x23a600=conversationSegmentIdentityForItem(_0x164a0a,_0xfdcafd['id'],_0xfdcafd[_0x4250d0(0x1fd)]);_0x361231={'sessionId':_0x164a0a[_0x4250d0(0x125)],'runId':_0x164a0a[_0x4250d0(0x112)],'item':{'itemId':_0xfdcafd['id'],'kind':_0xfdcafd[_0x4250d0(0x1fd)],'status':_0xfdcafd[_0x4250d0(0x149)],'payload':_0xfdcafd[_0x4250d0(0xe2)],'startedAt':_0xfdcafd[_0x4250d0(0x1c2)],'completedAt':_0xfdcafd[_0x4250d0(0x1e4)],'segmentId':_0x23a600['id'],'segmentIndex':_0x23a600[_0x4250d0(0x136)]}};}else{if(_0x361231[_0x4250d0(0x1af)][_0x4250d0(0x9e)]!==_0x4250d0(0x20a)&&_0x361231[_0x4250d0(0x1af)][_0x4250d0(0x9e)]!==_0x4250d0(0xa1))return;_0x361231={'turn':_0x164a0a,'segments':conversationSegments(_0x164a0a)};}}}const _0x5d6db8=this[_0x4250d0(0x1e5)][_0x4250d0(0x1c0)](_0x23fa8c,_0x361231);if(_0x5d6db8===undefined)return;const _0x13982d=_0x23fa8c===_0x4250d0(0xd2)&&isPlainRecord(_0x361231)&&isPlainRecord(_0x361231[_0x4250d0(0x1af)])&&_0x361231[_0x4250d0(0x1af)][_0x4250d0(0x9e)]===_0x4250d0(0x192),_0xc0edd4=workbenchPayloadSessionId(this[_0x4250d0(0x212)],_0x23fa8c,_0x361231);if(!_0x13982d&&_0xc0edd4!==undefined){this[_0x4250d0(0xd1)][_0x4250d0(0x1ff)](_0xc0edd4,_0x5d6db8);return;}this[_0x4250d0(0x1e5)][_0x4250d0(0x1fa)](_0x5d6db8);};[_0x5e09f1(0x19d)]=_0x28b313=>this[_0x5e09f1(0xac)][_0x5e09f1(0x1b9)](_0x28b313);[_0x5e09f1(0x177)]=_0x1eca40=>this[_0x5e09f1(0x18d)][_0x5e09f1(0x18e)](_0x1eca40);[_0x5e09f1(0x11c)]=()=>undefined;[_0x5e09f1(0xe7)]=()=>this[_0x5e09f1(0xc8)][_0x5e09f1(0xe7)]();[_0x5e09f1(0x1bd)]=()=>this[_0x5e09f1(0xc8)][_0x5e09f1(0x1bd)]();async[_0x5e09f1(0xad)](_0x3582d7,_0x375991){const _0x1882f4=_0x5e09f1;if(this[_0x1882f4(0x1f1)]===undefined)throw new Error(_0x1882f4(0xe1));if(this[_0x1882f4(0x172)][_0x1882f4(0x113)](_0x3582d7))throw new Error(_0x1882f4(0x148));return nodeLog(_0x1882f4(0x20f),{'nodeId':this[_0x1882f4(0xb6)]?.[_0x1882f4(0xa8)],'operation':_0x3582d7}),this[_0x1882f4(0x155)][_0x1882f4(0xc2)](_0x3582d7,_0x375991);}async[_0x5e09f1(0x166)](_0x57559c,_0x612653){const _0x191aa7=_0x5e09f1,_0x1d900e=this[_0x191aa7(0xb6)];if(_0x1d900e?.[_0x191aa7(0xa8)]===undefined||_0x1d900e[_0x191aa7(0x1aa)]===undefined)throw new Error(_0x191aa7(0x1a5));const _0x4e3898=await fetch(_0x1d900e[_0x191aa7(0xe9)][_0x191aa7(0xec)](/\/$/u,'')+_0x191aa7(0x119),{'method':_0x191aa7(0x1db),'headers':{'content-type':_0x191aa7(0xcb),'x-mar-node-id':_0x1d900e[_0x191aa7(0xa8)],'authorization':_0x191aa7(0xf8)+_0x1d900e[_0x191aa7(0x1aa)]},'body':JSON[_0x191aa7(0x118)](_0x57559c),'signal':_0x612653});if(!_0x4e3898['ok'])throw new Error(_0x191aa7(0x1a3));const _0x4f0b95=await _0x4e3898[_0x191aa7(0x187)]();return{'content':JSON[_0x191aa7(0x118)](_0x4f0b95),'data':_0x4f0b95};}[_0x5e09f1(0xe0)](_0x208ddc,_0x5d86c7){const _0x4bfbd1=_0x5e09f1;if(_0x5d86c7[_0x4bfbd1(0x149)]!==_0x4bfbd1(0x1d4)){this[_0x4bfbd1(0x151)][_0x4bfbd1(0x163)](_0x208ddc['id'],_0x4bfbd1(0x16d)),this[_0x4bfbd1(0x1f8)](_0x4bfbd1(0x21d),{'session':this[_0x4bfbd1(0x15e)][_0x4bfbd1(0x22b)](_0x208ddc)});return;}this[_0x4bfbd1(0x151)][_0x4bfbd1(0x1dd)](_0x208ddc['id'],{'commandId':_0x4bfbd1(0x16d),'active':_0x5d86c7[_0x4bfbd1(0x149)]===_0x4bfbd1(0x1d4),'label':_0x4bfbd1(0x120),'detail':_0x5d86c7[_0x4bfbd1(0x162)][_0x4bfbd1(0xea)](-0x1f74+-0x72*-0x1a+0x30*0x6a,0x1d*0xd3+0x6cd*-0x5+-0xc0e*-0x1),'closable':!![],'closeInput':_0x4bfbd1(0xf1),'mission':{'id':_0x5d86c7['id'],'objective':_0x5d86c7[_0x4bfbd1(0x162)],'revision':_0x5d86c7[_0x4bfbd1(0xcc)],'status':_0x5d86c7[_0x4bfbd1(0x149)],'turns':_0x5d86c7[_0x4bfbd1(0xb4)]}}),this[_0x4bfbd1(0x1f8)](_0x4bfbd1(0x21d),{'session':this[_0x4bfbd1(0x15e)][_0x4bfbd1(0x22b)](_0x208ddc)});}[_0x5e09f1(0xf6)](_0x16c699,_0x54a3b8,_0x5bd485){const _0x32a988=_0x5e09f1;this[_0x32a988(0x1f7)][_0x32a988(0xf6)](_0x16c699,_0x54a3b8,_0x5bd485);}[_0x5e09f1(0x193)](_0x5989c4){const _0x757d35=_0x5e09f1;this[_0x757d35(0x1f7)][_0x757d35(0x193)](_0x5989c4);}}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/* mar-release-protected */
|
|
2
|
-
(function(
|
|
2
|
+
(function(_0x1c1c1d,_0x130728){const _0x42718d=_0x2a5f,_0x5b6713=_0x1c1c1d();while(!![]){try{const _0x414754=-parseInt(_0x42718d(0x184))/(-0x32b*0xc+0xb6+0x254f)*(-parseInt(_0x42718d(0x19b))/(0x158d+-0x1637+0xac))+parseInt(_0x42718d(0x176))/(0x36b*0x1+0x1c16+-0x8b*0x3a)*(parseInt(_0x42718d(0x197))/(0xacf*-0x1+0x661*-0x1+0x1134))+-parseInt(_0x42718d(0x186))/(0x1a8*0x2+-0x610+0x2c5)+-parseInt(_0x42718d(0x172))/(0xfde*0x1+0x2615*0x1+-0x1*0x35ed)+parseInt(_0x42718d(0x173))/(-0x17e7+-0x5*-0x59f+-0x42d)*(-parseInt(_0x42718d(0x18f))/(0x1f5b+0x98d+0x368*-0xc))+-parseInt(_0x42718d(0x18a))/(-0x292*0x4+-0x1f36+0x1*0x2987)+parseInt(_0x42718d(0x18e))/(-0x1aa5+0x134f+0xec*0x8);if(_0x414754===_0x130728)break;else _0x5b6713['push'](_0x5b6713['shift']());}catch(_0xfac246){_0x5b6713['push'](_0x5b6713['shift']());}}}(_0x2508,-0x44f91+0x3*-0x22cd9+0xeb27b));import{compactRunnerText,compactRunnerValue}from'../../util/node-operation-parsers.js';export function normalizeClaudeTool(_0x5c6a00,_0x2d8cb1,_0x520c8f,_0x4543ad,_0x9d234e){const _0x216b8d=_0x2a5f,_0x3cf2a3=record(_0x2d8cb1),_0x7d3194=compactRunnerText(_0x5c6a00,-0x1c79+0xe15+-0x772*-0x2)||_0x216b8d(0x17b),_0x1e955a=_0x520c8f===null?null:compactRunnerText(_0x520c8f,-0xabf+-0x1500+0x46cf),_0x2ffcf4=_0x9d234e||(_0x520c8f?.[_0x216b8d(0x182)]??-0x13*-0x8b+0x40b*-0x1+-0x646)>-0x17dd+0x1dac+0x1*0x2141,_0x17e142=claudeSubagentProjection(_0x5c6a00,_0x2d8cb1,_0x520c8f);if(isCommandTool(_0x5c6a00))return{'kind':_0x216b8d(0x189),'payload':{'command':compactRunnerText(typeof _0x3cf2a3?.[_0x216b8d(0x185)]===_0x216b8d(0x16e)?_0x3cf2a3[_0x216b8d(0x185)]:_0x7d3194,0x3801+-0x1*0x21a1+0x10b0),'cwd':null,'outputPreview':_0x1e955a??'','outputRef':null,'exitCode':null,'durationMs':null,'truncated':_0x2ffcf4}};if(isFileTool(_0x5c6a00)){const _0x27e53f=typeof _0x3cf2a3?.[_0x216b8d(0x16c)]===_0x216b8d(0x16e)?_0x3cf2a3[_0x216b8d(0x16c)]:typeof _0x3cf2a3?.[_0x216b8d(0x191)]===_0x216b8d(0x16e)?_0x3cf2a3[_0x216b8d(0x191)]:typeof _0x3cf2a3?.[_0x216b8d(0x18b)]===_0x216b8d(0x16e)?_0x3cf2a3[_0x216b8d(0x18b)]:null,_0x23fbbe=_0x27e53f===null?null:compactRunnerText(_0x27e53f,-0x26*0xb2+0x1e09+0xc63);return{'kind':_0x216b8d(0x17e),'payload':{'changes':_0x23fbbe===null||_0x23fbbe[_0x216b8d(0x182)]===-0x1163*-0x2+0x1de7*0x1+-0x158f*0x3?[]:[{'path':_0x23fbbe,'change':_0x216b8d(0x199),'additions':null,'deletions':null,'diffAvailable':![]}]}};}return{'kind':_0x216b8d(0x170),'payload':{'namespace':_0x216b8d(0x18c),'toolName':_0x7d3194,'title':compactRunnerText(_0x5c6a00,-0x170b+-0x129b*0x1+0x2b9a)||_0x7d3194,'inputSummary':compactRunnerValue(_0x2d8cb1,0xc76+-0x3*-0x18d7+-0xff9*0x3)[_0x216b8d(0x192)]||null,'outputSummary':_0x1e955a,'progressLabel':null,'errorCode':_0x4543ad?_0x216b8d(0x174):null,'truncated':_0x2ffcf4,..._0x17e142}};}function isCommandTool(_0x179782){const _0x221909=_0x2a5f;return _0x179782===_0x221909(0x193)||_0x179782===_0x221909(0x187)||_0x179782===_0x221909(0x16d);}function isFileTool(_0x3c8984){const _0xec3d7e=_0x2a5f;return _0x3c8984===_0xec3d7e(0x171)||_0x3c8984===_0xec3d7e(0x196)||_0x3c8984===_0xec3d7e(0x179)||_0x3c8984===_0xec3d7e(0x175);}function _0x2a5f(_0x2fff78,_0x268c7b){_0x2fff78=_0x2fff78-(0x1664+0xbd8+-0x20d0);const _0x49530c=_0x2508();let _0x3e7cde=_0x49530c[_0x2fff78];if(_0x2a5f['BugKAX']===undefined){var _0xdb69f7=function(_0x520c8f){const _0x4543ad='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x9d234e='',_0x3cf2a3='';for(let _0x7d3194=0x10*0x8b+-0x166*-0x3+-0x671*0x2,_0x1e955a,_0x2ffcf4,_0x17e142=-0x2345+0x7e0+0x1b65;_0x2ffcf4=_0x520c8f['charAt'](_0x17e142++);~_0x2ffcf4&&(_0x1e955a=_0x7d3194%(-0x19ee+-0x1*0x104d+-0x15*-0x203)?_0x1e955a*(0x11a1+0x2536+-0x145*0x2b)+_0x2ffcf4:_0x2ffcf4,_0x7d3194++%(0x28*-0x5+0x1afe+-0x1a32))?_0x9d234e+=String['fromCharCode'](0x1936+-0x116d+0x365*-0x2&_0x1e955a>>(-(-0x1010+0xbee*-0x3+-0xcf7*-0x4)*_0x7d3194&-0x6f*-0x57+0x24e2+-0x4a95)):-0x1113+0xf84+0x18f*0x1){_0x2ffcf4=_0x4543ad['indexOf'](_0x2ffcf4);}for(let _0x27e53f=-0x1115+-0x951*-0x4+-0x142f*0x1,_0x23fbbe=_0x9d234e['length'];_0x27e53f<_0x23fbbe;_0x27e53f++){_0x3cf2a3+='%'+('00'+_0x9d234e['charCodeAt'](_0x27e53f)['toString'](-0x66a+0x1096+0x4*-0x287))['slice'](-(0x1*0x674+-0x7c3*0x3+-0x9*-0x1df));}return decodeURIComponent(_0x3cf2a3);};_0x2a5f['dNyxYO']=_0xdb69f7,_0x2a5f['RFYFcU']={},_0x2a5f['BugKAX']=!![];}const _0x5c6a00=_0x49530c[0x7d7+-0x1034*-0x2+-0x283f];_0x2a5f['abaqAM']!==_0x5c6a00&&(_0x2a5f['RFYFcU']={},_0x2a5f['abaqAM']=_0x5c6a00);const _0x2d8cb1=_0x2a5f['RFYFcU'][_0x2fff78];return _0x2d8cb1===undefined?(_0x3e7cde=_0x2a5f['dNyxYO'](_0x3e7cde),_0x2a5f['RFYFcU'][_0x2fff78]=_0x3e7cde):_0x3e7cde=_0x2d8cb1,_0x3e7cde;}function record(_0x691126){const _0x458141=_0x2a5f;return _0x691126!==null&&typeof _0x691126===_0x458141(0x183)&&!Array[_0x458141(0x17a)](_0x691126)?_0x691126:undefined;}function claudeSubagentProjection(_0x42e86b,_0x1b6bc0,_0x1a70e6){const _0x47f1cb=_0x2a5f,_0x5a1e11=_0x42e86b[_0x47f1cb(0x180)](),_0x145e05=_0x5a1e11===_0x47f1cb(0x195)?_0x47f1cb(0x181):_0x5a1e11===_0x47f1cb(0x18d)?_0x47f1cb(0x188):_0x5a1e11===_0x47f1cb(0x190)?_0x47f1cb(0x16f):_0x5a1e11===_0x47f1cb(0x17f)?_0x47f1cb(0x178):undefined;if(_0x145e05===undefined)return undefined;const _0x31f542=structuredRecord(_0x1b6bc0),_0x256640=structuredRecord(_0x1a70e6),_0x46bd54=_0x5a1e11===_0x47f1cb(0x195)?boundedId(_0x256640?.[_0x47f1cb(0x177)]):_0x5a1e11===_0x47f1cb(0x17f)?boundedId(_0x31f542?.['to']):boundedId(_0x31f542?.[_0x47f1cb(0x17c)])??boundedId(_0x256640?.[_0x47f1cb(0x17c)]),_0x35a196=_0x5a1e11===_0x47f1cb(0x195)&&typeof _0x31f542?.[_0x47f1cb(0x198)]===_0x47f1cb(0x16e)?compactRunnerText(_0x31f542[_0x47f1cb(0x198)],0x402+-0x43*0x5d+0x1649):'';return{'subagentOperation':_0x145e05,'subagentId':_0x46bd54??null,..._0x35a196[_0x47f1cb(0x182)]===-0xc3*-0x2e+0x1*0x1072+-0xa4c*0x5?{}:{'title':_0x35a196}};}function structuredRecord(_0x5781cb){const _0x4ee97c=_0x2a5f;if(typeof _0x5781cb!==_0x4ee97c(0x16e))return record(_0x5781cb);const _0x4379d8=_0x5781cb[_0x4ee97c(0x194)]();if(!_0x4379d8[_0x4ee97c(0x19a)]('{'))return undefined;try{return record(JSON[_0x4ee97c(0x17d)](_0x4379d8));}catch{return undefined;}}function boundedId(_0x5564de){const _0xf924d6=_0x2a5f;if(typeof _0x5564de!==_0xf924d6(0x16e))return undefined;const _0x3c044d=_0x5564de[_0xf924d6(0x194)]();return _0x3c044d[_0xf924d6(0x182)]>0x1f87*0x1+-0xddc+-0x11ab*0x1&&_0x3c044d[_0xf924d6(0x182)]<=-0x1689+0x5*0xd+0x16c8?_0x3c044d:undefined;}function _0x2508(){const _0x15b271=['C3rYAw5N','q0foq0vm','Dg9VBf9JywXS','v3jPDgu','mtuXotKYnKLTC3rbuq','mtq3mZvmuKXVr0u','ve9ptf9fwevdvvrjt05FrKfjteve','tM90zwjVB2TfzgL0','mJi1nta3wKDnzLzb','ywDLBNrjza','tuvtu0fhrq','txvSDgLfzgL0','AxnbCNjHEq','Dw5RBM93BG','DgfZA19Pza','CgfYC2u','zMLSzv9JAgfUz2u','C2vUzg1LC3nHz2u','Dg9mB3DLCKnHC2u','u1rbuLq','BgvUz3rO','B2jQzwn0','mti5neH0wKPJBW','y29TBwfUza','mti1mZm4nufsBM5ysa','yMfZAa','u1rbvfvt','y29TBwfUzf9LEgvJDxrPB24','mJa2mZG4mgXPr2Tewq','BM90zwjVB2TFCgf0Aa','y2XHDwrLlwnVzgu','DgfZA291Dhb1Da','nta5mtiYmg1tquzLta','odG4uhbRELjq','DgfZA3n0B3a','Cgf0Aa','Dgv4Da','qMfZAa','DhjPBq','ywDLBNq','rwrPDa','mtzTD1PQr1G','zgvZy3jPChrPB24','tu9esuzjruq','C3rHCNrZv2L0Aa','nJm0CxDJCxPZ','zMLSzv9WyxrO','u2HLBgW'];_0x2508=function(){return _0x15b271;};return _0x2508();}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/* mar-release-protected */
|
|
2
|
-
(function(_0x5a2395,_0x1a816b){const _0x3aad9c=_0x5296,_0x4ce70b=_0x5a2395();while(!![]){try{const _0x3a0fd4=-parseInt(_0x3aad9c(0xe5))/(0x234d+-0x18b0+0x4*-0x2a7)*(-parseInt(_0x3aad9c(0x101))/(-0x1d2*0x5+0x1797+0x151*-0xb))+-parseInt(_0x3aad9c(0x109))/(-0x17*-0xbf+0x334+-0x145a)+-parseInt(_0x3aad9c(0xfa))/(0x6*0x430+0x6c+-0xcc4*0x2)+parseInt(_0x3aad9c(0xef))/(-0x362+0xd5a+-0x9f3)+parseInt(_0x3aad9c(0xe6))/(0x263b+-0x1*0x1cf3+-0x942)+parseInt(_0x3aad9c(0xde))/(0x5f0+-0x96d+0x384)*(parseInt(_0x3aad9c(0xf5))/(-0x12d*0x13+0x2*0xcca+-0x335))+parseInt(_0x3aad9c(0xfb))/(0x1444+-0x1c1*-0x13+-0x358e)*(-parseInt(_0x3aad9c(0xf2))/(0x18b8+0x20a8+-0x3956));if(_0x3a0fd4===_0x1a816b)break;else _0x4ce70b['push'](_0x4ce70b['shift']());}catch(_0x6419a0){_0x4ce70b['push'](_0x4ce70b['shift']());}}}(_0x5e9a,-0x1f29*0x41+-0x6a074*-0x1+0x68471));import{compactRunnerText}from'../../util/node-operation-parsers.js';export function normalizeCodexTool(_0x2aeded){const _0x510ef8=_0x5296,_0x70e644=unwrapCodexExec(_0x2aeded[_0x510ef8(0xed)],_0x2aeded[_0x510ef8(0xe7)]),_0x2dc272=compactRunnerText(_0x70e644?.[_0x510ef8(0xed)]??_0x2aeded[_0x510ef8(0xed)],0xd82+0x93c*0x1+-0x163e)||_0x510ef8(0x100),_0xb51c0f=_0x70e644?.[_0x510ef8(0xe7)]??_0x2aeded[_0x510ef8(0xe7)],_0x53146e=_0x2aeded[_0x510ef8(0xfc)]??[];if(_0x2dc272===_0x510ef8(0xfe)){const _0x525002=patchFileChanges(_0x70e644?.[_0x510ef8(0xeb)]);if(_0x525002[_0x510ef8(0x10a)]>0x19f6+0x1*0x466+0x1*-0x1e5c)return{'kind':_0x510ef8(0xe4),'payload':{'changes':_0x525002}};}if(isCommandTool(_0x2dc272)){const _0x5f289b=compactRunnerText(_0x2aeded[_0x510ef8(0xf9)]??'',0x4af*-0x1+-0x5b*-0xc5+-0x1a48);if(_0x2aeded[_0x510ef8(0x10b)]===!![])return{'kind':_0x510ef8(0x104),'payload':{'outputPreview':_0x5f289b,'truncated':_0x2aeded[_0x510ef8(0x103)]===!![]||(_0x2aeded[_0x510ef8(0xf9)]?.[_0x510ef8(0x10a)]??-0x3*-0xcf5+0x7f6*-0x3+-0xefd)>0x318a+-0x4c95+0x421b*0x1,..._0x53146e[_0x510ef8(0x10a)]===-0x3d1*-0x1+0xce0+-0x1*0x10b1?{}:{'attachments':_0x53146e}}};const _0x506150=record(_0xb51c0f),_0x1f2969=typeof _0xb51c0f===_0x510ef8(0xea)?_0xb51c0f:typeof _0x506150?.[_0x510ef8(0xf3)]===_0x510ef8(0xea)?_0x506150[_0x510ef8(0xf3)]:typeof _0x506150?.[_0x510ef8(0xee)]===_0x510ef8(0xea)?_0x506150[_0x510ef8(0xee)]:_0x2aeded[_0x510ef8(0xf4)]||_0x2dc272;return{'kind':_0x510ef8(0x104),'payload':{'command':compactRunnerText(_0x1f2969,0x40a8+0x1*0xeda+-0x2872),'cwd':typeof _0x506150?.[_0x510ef8(0xe2)]===_0x510ef8(0xea)?compactRunnerText(_0x506150[_0x510ef8(0xe2)],0x107*-0xd+-0x15a6+0x1*0x3301):null,'outputPreview':_0x5f289b,'outputRef':null,'exitCode':null,'durationMs':null,'truncated':_0x2aeded[_0x510ef8(0x103)]===!![]||_0x1f2969[_0x510ef8(0x10a)]>0x9*-0x9f+-0x39c1+-0x1d*-0x388||(_0x2aeded[_0x510ef8(0xf9)]?.[_0x510ef8(0x10a)]??-0x203c+-0x1*-0x1c96+0x3a6)>0x25f7+-0x12fb+0x1414,..._0x53146e[_0x510ef8(0x10a)]===0x1*-0x115b+-0x10a*0x7+0x18a1?{}:{'attachments':_0x53146e}}};}if(_0x2aeded[_0x510ef8(0x10b)]===!![])return{'kind':_0x510ef8(0xe1),'payload':{'outputSummary':_0x2aeded[_0x510ef8(0xf9)]??null,..._0x53146e[_0x510ef8(0x10a)]===-0x10ca*0x1+0x2*-0x1297+0x35f8?{}:{'attachments':_0x53146e}}};return{'kind':_0x510ef8(0xe1),'payload':{'title':_0x2dc272,'namespace':compactRunnerText(_0x2aeded[_0x510ef8(0x106)]??_0x510ef8(0xec),-0x22bc+-0xc87+0x2fc3),'toolName':_0x2dc272,'inputSummary':_0x2aeded[_0x510ef8(0xf4)]??null,'outputSummary':_0x2aeded[_0x510ef8(0xf9)]??null,'progressLabel':null,'errorCode':null,'truncated':_0x2aeded[_0x510ef8(0x103)]===!![],..._0x53146e[_0x510ef8(0x10a)]===0x1205*0x2+0x25f*-0x6+-0x15d0?{}:{'attachments':_0x53146e}}};}function unwrapCodexExec(_0x37e213,_0x35c711){const _0x2cc03a=_0x5296;if(_0x37e213!==_0x2cc03a(0xff)||typeof _0x35c711!==_0x2cc03a(0xea))return undefined;const _0x46d4bc=/\btools\.([A-Za-z_][A-Za-z0-9_]*)\s*\(/u[_0x2cc03a(0xff)](_0x35c711);if(_0x46d4bc?.[-0xbc*-0x2+0x1a1*0xf+0xc3*-0x22]===undefined)return undefined;const _0x1934de=_0x46d4bc[-0x2127+0x41*0x55+0x1*0xb93];if(_0x1934de===_0x2cc03a(0xf6)){const _0xe6bf91=quotedProperty(_0x35c711,_0x2cc03a(0xf3)),_0x287a9e=quotedProperty(_0x35c711,_0x2cc03a(0xf7));return{'name':_0x1934de,'rawInput':{..._0xe6bf91===undefined?{}:{'cmd':_0xe6bf91},..._0x287a9e===undefined?{}:{'cwd':_0x287a9e}}};}if(_0x1934de===_0x2cc03a(0xfe)){const _0x3e0ab7=quotedVariable(_0x35c711,_0x2cc03a(0xeb));return{'name':_0x1934de,'rawInput':_0x3e0ab7??_0x35c711,..._0x3e0ab7?{'patch':_0x3e0ab7}:{}};}return{'name':_0x1934de,'rawInput':_0x35c711};}function _0x5296(_0x24fcb3,_0x5f4f00){_0x24fcb3=_0x24fcb3-(0x388*0x9+0x2383+0x5f*-0xb3);const _0x102bc7=_0x5e9a();let _0x426a8b=_0x102bc7[_0x24fcb3];if(_0x5296['lAUEoN']===undefined){var _0x3ed5ea=function(_0x20661e){const _0x632b8e='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x2ba8db='',_0x22e8e8='';for(let _0x5baca7=-0x185b+0x4*-0x413+0x28a7,_0x1e52cf,_0x4f93fc,_0x58db2c=0x19a0+0x1*0x2621+-0x3fc1;_0x4f93fc=_0x20661e['charAt'](_0x58db2c++);~_0x4f93fc&&(_0x1e52cf=_0x5baca7%(0x1*0x108+0x193+0x297*-0x1)?_0x1e52cf*(0x2620+0x1b9d+-0x1df*0x23)+_0x4f93fc:_0x4f93fc,_0x5baca7++%(0x53*0x4+-0x643+-0x4fb*-0x1))?_0x2ba8db+=String['fromCharCode'](0x407*-0x1+0x5*-0x211+-0xf5b*-0x1&_0x1e52cf>>(-(-0xb1e+0x1*0xc53+-0x133)*_0x5baca7&0x2502+0x9a+-0x2596)):0x2513+0x1*0x1b88+-0x409b){_0x4f93fc=_0x632b8e['indexOf'](_0x4f93fc);}for(let _0x57e0aa=-0x1ce1*0x1+-0x5*-0x79c+-0x92b,_0x4b423f=_0x2ba8db['length'];_0x57e0aa<_0x4b423f;_0x57e0aa++){_0x22e8e8+='%'+('00'+_0x2ba8db['charCodeAt'](_0x57e0aa)['toString'](-0x1*-0x1c96+-0x1a4a+-0x4*0x8f))['slice'](-(-0xe3f+-0x18b6+0x26f7));}return decodeURIComponent(_0x22e8e8);};_0x5296['lozKcj']=_0x3ed5ea,_0x5296['vnWlgR']={},_0x5296['lAUEoN']=!![];}const _0x23adf1=_0x102bc7[-0x190*-0x13+0x762+-0x2512];_0x5296['nPIVpN']!==_0x23adf1&&(_0x5296['vnWlgR']={},_0x5296['nPIVpN']=_0x23adf1);const _0x54b67b=_0x5296['vnWlgR'][_0x24fcb3];return _0x54b67b===undefined?(_0x426a8b=_0x5296['lozKcj'](_0x426a8b),_0x5296['vnWlgR'][_0x24fcb3]=_0x426a8b):_0x426a8b=_0x54b67b,_0x426a8b;}function quotedProperty(_0x481137,_0x48db7b){const _0x7e8bf2=_0x5296,_0x3b37f0=new RegExp('\x5cb'+_0x48db7b+_0x7e8bf2(0xdf),'u')[_0x7e8bf2(0xff)](_0x481137);return decodeJsonString(_0x3b37f0?.[-0x258e+-0x1*0x1462+0x39f1]);}function quotedVariable(_0x53bec5,_0x7e6a46){const _0x1ec153=_0x5296,_0x931c49=new RegExp(_0x1ec153(0xe0)+_0x7e6a46+_0x1ec153(0xfd),'u')[_0x1ec153(0xff)](_0x53bec5);return decodeJsonString(_0x931c49?.[0x9b9*-0x4+0x2306+0x3df]);}function decodeJsonString(_0x26d4ad){const _0xfdb41f=_0x5296;if(_0x26d4ad===undefined)return undefined;try{const _0x65443e=JSON[_0xfdb41f(0xe8)](_0x26d4ad);return typeof _0x65443e===_0xfdb41f(0xea)?_0x65443e:undefined;}catch{return undefined;}}function patchFileChanges(_0x535565){const _0x6e2cdc=_0x5296;if(_0x535565===undefined)return[];const _0x170435=[];for(const _0x5a4ec0 of _0x535565[_0x6e2cdc(0xe3)](/\r?\n/u)){const _0x14516e=/^\*\*\* (Add|Delete|Update) File: (.+)$/u[_0x6e2cdc(0xff)](_0x5a4ec0);if(_0x14516e?.[0x1*-0x1b1+-0xeea+-0x109c*-0x1]===undefined||_0x14516e[-0x6*-0x5ae+-0x17f4+-0xa1e]===undefined)continue;const _0x5dfd72=compactRunnerText(_0x14516e[0x1*0xe61+0x7*0xe4+-0x41f*0x5],-0x1*-0x1ba9+0x16c9+-0x2272);if(_0x5dfd72[_0x6e2cdc(0x10a)]===0x4*0x554+0xe*0xca+-0x205c)continue;_0x170435[_0x6e2cdc(0xf8)]({'path':_0x5dfd72,'change':_0x14516e[0x142e+-0x25a7+0x117a]===_0x6e2cdc(0x107)?_0x6e2cdc(0x108):_0x14516e[0x11*-0x75+0x123*0x1+0x6a3*0x1]===_0x6e2cdc(0xf1)?_0x6e2cdc(0x102):_0x6e2cdc(0xe9),'additions':null,'deletions':null,'diffAvailable':![]});}return _0x170435;}function _0x5e9a(){const _0x387614=['mJiZmdGXnu1uBgnOwq','B2jQzwn0','rgvSzxrL','mZa4odu5mejurhnbvW','y21K','Aw5WDxrtDw1Tyxj5','nZj4vMHiqum','zxHLy19JB21Tyw5K','D29YA2rPCG','ChvZAa','B3v0Chv0u3vTBwfYEq','nta5ndaWzefvrxrR','mJDVqMfIAKm','yxr0ywnOBwvUDhm','xhmQpvXZkIGIkd86xfWUFfTEiLXCxsKQiIK','yxbWBhLFCgf0y2G','zxHLyW','Dg9VBa','ndqZmgDSBxH6va','revmrvrfra','Dhj1BMnHDgvK','y29TBwfUzf9LEgvJDxrPB24','AxnbCNjHEq','BMfTzxnWywnL','qwrK','qureruq','mta1nJu0mfv2DxrIvq','BgvUz3rO','B3v0Chv0t25SEq','nteYndKXDNrdCgLs','xhmQoLXZkIGIkd86xfWUFfTEiLXCxsKQiIK','xgiOpZPJB25ZDhXSzxqPxhmR','Dg9VBf9JywXS','y3DK','C3bSAxq','zMLSzv9JAgfUz2u','ndrdB0PiBM4','mZi3odG1mgLoBMvquq','CMf3sw5WDxq','CgfYC2u','tu9esuzjruq','C3rYAw5N','Cgf0y2G','y29KzxG','BMfTzq','y29TBwfUza'];_0x5e9a=function(){return _0x387614;};return _0x5e9a();}function isCommandTool(_0xabcb03){const _0x35bc80=_0x5296;return _0xabcb03===_0x35bc80(0xff)||_0xabcb03===_0x35bc80(0xf6);}function record(_0x3a81da){const _0x5cda8c=_0x5296;return _0x3a81da!==null&&typeof _0x3a81da===_0x5cda8c(0xf0)&&!Array[_0x5cda8c(0x105)](_0x3a81da)?_0x3a81da:undefined;}
|
|
2
|
+
(function(_0x4179a0,_0x4c31d7){const _0x1d6644=_0x22ed,_0x37a17d=_0x4179a0();while(!![]){try{const _0x24aee0=-parseInt(_0x1d6644(0x95))/(-0x497+-0xd57*-0x2+-0x1616)+-parseInt(_0x1d6644(0xb2))/(0x21bb+0x18*-0x1a+-0x1f49)*(-parseInt(_0x1d6644(0xca))/(-0x1b08+-0x1*-0xdcb+-0x20*-0x6a))+-parseInt(_0x1d6644(0x8f))/(0x3*0x807+0xa33+-0x56*0x66)*(-parseInt(_0x1d6644(0xce))/(-0x89b+0x1*0xda3+-0x503))+-parseInt(_0x1d6644(0x9a))/(0x2fd*0x7+0x731*-0x3+0xae)*(parseInt(_0x1d6644(0x9c))/(0xba*-0x30+-0xe17+0x30fe))+-parseInt(_0x1d6644(0xc4))/(0x3*0x5c9+-0x18d1*-0x1+0xe0c*-0x3)+parseInt(_0x1d6644(0x9f))/(-0x1dd2+0x270b*0x1+-0x70*0x15)*(-parseInt(_0x1d6644(0xb1))/(-0x1f78+0x168b+-0x8f7*-0x1))+-parseInt(_0x1d6644(0xc8))/(-0x1*-0x491+-0x1d9e+0x1918)*(-parseInt(_0x1d6644(0x96))/(-0x884*-0x2+0x1a*0x178+-0xd6*0x42));if(_0x24aee0===_0x4c31d7)break;else _0x37a17d['push'](_0x37a17d['shift']());}catch(_0x5f1fd7){_0x37a17d['push'](_0x37a17d['shift']());}}}(_0x2f9e,-0x45*-0x126e+0x1a2b1+-0xc31*-0x11));import{compactRunnerText}from'../../util/node-operation-parsers.js';export function normalizeCodexTool(_0x2f8fcc){const _0x58ac0c=_0x22ed,_0x5cb55a=unwrapCodexExec(_0x2f8fcc[_0x58ac0c(0xcc)],_0x2f8fcc[_0x58ac0c(0xa1)]),_0xf27fa3=compactRunnerText(_0x5cb55a?.[_0x58ac0c(0xcc)]??_0x2f8fcc[_0x58ac0c(0xcc)],-0x1b9c+-0x4*-0x33e+0xcc*0x13)||_0x58ac0c(0xc2),_0x13930e=_0x5cb55a?.[_0x58ac0c(0xa1)]??_0x2f8fcc[_0x58ac0c(0xa1)],_0x513fd6=_0x2f8fcc[_0x58ac0c(0xaa)]??[],_0x50cd42=codexSubagentProjection(_0x2f8fcc[_0x58ac0c(0xa0)],_0xf27fa3,_0x13930e,_0x2f8fcc[_0x58ac0c(0xbd)]);if(_0xf27fa3===_0x58ac0c(0xc3)){const _0x3cc6e0=patchFileChanges(_0x5cb55a?.[_0x58ac0c(0xa6)]);if(_0x3cc6e0[_0x58ac0c(0xba)]>-0xc2b+-0x14e*0xc+0x1bd3)return{'kind':_0x58ac0c(0xad),'payload':{'changes':_0x3cc6e0}};}if(isCommandTool(_0xf27fa3)){const _0x2b857f=compactRunnerText(_0x2f8fcc[_0x58ac0c(0xbd)]??'',0x100b+0x2db+-0x142a*-0x1);if(_0x2f8fcc[_0x58ac0c(0x90)]===!![])return{'kind':_0x58ac0c(0x8c),'payload':{'outputPreview':_0x2b857f,'truncated':_0x2f8fcc[_0x58ac0c(0xb7)]===!![]||(_0x2f8fcc[_0x58ac0c(0xbd)]?.[_0x58ac0c(0xba)]??-0x1*0xbb+0x2*0x1259+-0x3*0xbfd)>-0x3*-0x88f+-0x1078+0x1ddb,..._0x513fd6[_0x58ac0c(0xba)]===0x5*-0x71b+0x8b8+0x1*0x1acf?{}:{'attachments':_0x513fd6}}};const _0x47e8a2=record(_0x13930e),_0x45177f=typeof _0x13930e===_0x58ac0c(0xa8)?_0x13930e:typeof _0x47e8a2?.[_0x58ac0c(0x84)]===_0x58ac0c(0xa8)?_0x47e8a2[_0x58ac0c(0x84)]:typeof _0x47e8a2?.[_0x58ac0c(0xb3)]===_0x58ac0c(0xa8)?_0x47e8a2[_0x58ac0c(0xb3)]:_0x2f8fcc[_0x58ac0c(0x94)]||_0xf27fa3;return{'kind':_0x58ac0c(0x8c),'payload':{'command':compactRunnerText(_0x45177f,0x2*0x1754+0x25ef+-0x2d87),'cwd':typeof _0x47e8a2?.[_0x58ac0c(0xa4)]===_0x58ac0c(0xa8)?compactRunnerText(_0x47e8a2[_0x58ac0c(0xa4)],0x65+-0xf*0x1f5+0x2cf6):null,'outputPreview':_0x2b857f,'outputRef':null,'exitCode':null,'durationMs':null,'truncated':_0x2f8fcc[_0x58ac0c(0xb7)]===!![]||_0x45177f[_0x58ac0c(0xba)]>0x276a+-0x4e*0x2f+0x1bf*0x8||(_0x2f8fcc[_0x58ac0c(0xbd)]?.[_0x58ac0c(0xba)]??-0xcb3*-0x2+-0xc74+-0xcf2)>0xe7b+-0x4d31*-0x1+-0x349c,..._0x513fd6[_0x58ac0c(0xba)]===0x1404+0x109*0x23+0x51d*-0xb?{}:{'attachments':_0x513fd6}}};}if(_0x2f8fcc[_0x58ac0c(0x90)]===!![])return{'kind':_0x58ac0c(0xc5),'payload':{'outputSummary':_0x2f8fcc[_0x58ac0c(0xbd)]??null,..._0x50cd42,..._0x513fd6[_0x58ac0c(0xba)]===0x77b+0xd*-0x218+0x13bd?{}:{'attachments':_0x513fd6}}};return{'kind':_0x58ac0c(0xc5),'payload':{'title':_0xf27fa3,'namespace':compactRunnerText(_0x2f8fcc[_0x58ac0c(0xa0)]??_0x58ac0c(0xcb),0x121f*0x1+0x201*0xf+-0x2fae),'toolName':_0xf27fa3,'inputSummary':_0x2f8fcc[_0x58ac0c(0x94)]??null,'outputSummary':_0x2f8fcc[_0x58ac0c(0xbd)]??null,'progressLabel':null,'errorCode':null,'truncated':_0x2f8fcc[_0x58ac0c(0xb7)]===!![],..._0x50cd42,..._0x513fd6[_0x58ac0c(0xba)]===-0x93c+0x2*0x1b6+0x1f0*0x3?{}:{'attachments':_0x513fd6}}};}function _0x22ed(_0x24f470,_0x3b816b){_0x24f470=_0x24f470-(0x2010+-0x376+-0x1c17*0x1);const _0x3c1c39=_0x2f9e();let _0x14fdde=_0x3c1c39[_0x24f470];if(_0x22ed['pulWlj']===undefined){var _0x45ce0d=function(_0x5d5341){const _0x4ff8a2='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x55d0d2='',_0x2d7257='';for(let _0x246b33=-0x664+0x5d9+0x8b,_0x33dd3d,_0x139ecd,_0x3b358f=-0x4*-0x33e+0xed*-0x7+-0x67d;_0x139ecd=_0x5d5341['charAt'](_0x3b358f++);~_0x139ecd&&(_0x33dd3d=_0x246b33%(-0x14e*0xc+-0xdeb+0x1*0x1d97)?_0x33dd3d*(-0x615*0x2+-0xd07+0x1*0x1971)+_0x139ecd:_0x139ecd,_0x246b33++%(0x74*-0x3+0x8dd+-0x3*0x27f))?_0x55d0d2+=String['fromCharCode'](0x24b6+-0x882+-0x1b35&_0x33dd3d>>(-(-0x22e*-0x4+0x6*0x170+0xe*-0x13d)*_0x246b33&0x194a+0x8ab+-0x4d9*0x7)):-0xcd5+0x17c2+-0x1*0xaed){_0x139ecd=_0x4ff8a2['indexOf'](_0x139ecd);}for(let _0x36e08a=-0x1930+0x17f*0x13+-0x1*0x33d,_0x510442=_0x55d0d2['length'];_0x36e08a<_0x510442;_0x36e08a++){_0x2d7257+='%'+('00'+_0x55d0d2['charCodeAt'](_0x36e08a)['toString'](0xed+-0x1802+0x1725*0x1))['slice'](-(-0x1bf1+0x1a20+0x1d3*0x1));}return decodeURIComponent(_0x2d7257);};_0x22ed['QiTSkR']=_0x45ce0d,_0x22ed['PQYOxf']={},_0x22ed['pulWlj']=!![];}const _0x54604f=_0x3c1c39[0x2*-0x1065+0x5*0x3cd+0xdc9];_0x22ed['eFjNiy']!==_0x54604f&&(_0x22ed['PQYOxf']={},_0x22ed['eFjNiy']=_0x54604f);const _0x310cbf=_0x22ed['PQYOxf'][_0x24f470];return _0x310cbf===undefined?(_0x14fdde=_0x22ed['QiTSkR'](_0x14fdde),_0x22ed['PQYOxf'][_0x24f470]=_0x14fdde):_0x14fdde=_0x310cbf,_0x14fdde;}function unwrapCodexExec(_0x203ad2,_0x38e799){const _0x32b535=_0x22ed;if(_0x203ad2!==_0x32b535(0xa9)||typeof _0x38e799!==_0x32b535(0xa8))return undefined;const _0x1945e1=/\btools\.([A-Za-z_][A-Za-z0-9_]*)\s*\(/u[_0x32b535(0xa9)](_0x38e799);if(_0x1945e1?.[0x2f*-0x79+0x2068+0x4*-0x28c]===undefined)return undefined;const _0xbb1e0e=_0x1945e1[-0x1f43+0x2517+-0x5d3];if(_0xbb1e0e===_0x32b535(0x93)){const _0x1c1f45=quotedProperty(_0x38e799,_0x32b535(0x84)),_0x38c60e=quotedProperty(_0x38e799,_0x32b535(0x99));return{'name':_0xbb1e0e,'rawInput':{..._0x1c1f45===undefined?{}:{'cmd':_0x1c1f45},..._0x38c60e===undefined?{}:{'cwd':_0x38c60e}}};}if(_0xbb1e0e===_0x32b535(0xc3)){const _0x11a6ab=quotedVariable(_0x38e799,_0x32b535(0xa6));return{'name':_0xbb1e0e,'rawInput':_0x11a6ab??_0x38e799,..._0x11a6ab?{'patch':_0x11a6ab}:{}};}return{'name':_0xbb1e0e,'rawInput':_0x38e799};}function _0x2f9e(){const _0x226b8c=['C2vUzf9PBNb1Da','revmrvrfra','xhmQpvXZkIGIkd86xfWUFfTEiLXCxsKQiIK','y29TBwfUzf9LEgvJDxrPB24','C3bSAxq','y29SBgfIB3jHDgLVBG','neXOBhDvuG','B3v0Chv0t25SEq','ywDLBNrjza','CMvZDw1Lx2fNzw50','zxHLy19JB21Tyw5K','Aw5WDxrtDw1Tyxj5','ndK1nte5BKTdBeXI','mJiYotzXs0PJAxi','tu9esuzjruq','B2jQzwn0','D29YA2rPCG','mtHXAenNvKu','zgf0yq','nZKWmJaYsuDrvKLc','DgfYz2v0','y2XVC2vFywDLBNq','mtHbqLDuy0u','BMfTzxnWywnL','CMf3sw5WDxq','BgLZDf9Hz2vUDhm','CMvZDwX0','y3DK','tuvtu0fhrq','Cgf0y2G','DgfYz2v0CW','C3rYAw5N','zxHLyW','yxr0ywnOBwvUDhm','D2fPDf9Hz2vUDa','Aw50zxjYDxb0x2fNzw50','zMLSzv9JAgfUz2u','u1rbvfvt','uKvtvu1f','C3rHCNrZv2L0Aa','mJmZmJe2mfvfsvPKtW','nti1ndKWq0D5y0vv','y29TBwfUza','qureruq','qwrK','Aw5JBhvKzxm','Dhj1BMnHDgvK','DhjPBq','q0foq0vm','BgvUz3rO','AxnbCNjHEq','xhmQoLXZkIGIkd86xfWUFfTEiLXCxsKQiIK','B3v0Chv0u3vTBwfYEq','ChvZAa','C2vUzf9TzxnZywDL','CgfYC2u','BxvSDgLFywDLBNrFDJi','Dg9VBa','yxbWBhLFCgf0y2G','ndi3ndmWngnlDKXiuq','Dg9VBf9JywXS','B3v0Chv0','C3bHD25FywDLBNq','nJK4nxjruez6Aq','xgiOpZPJB25ZDhXSzxqPxhmR','nLvjEuPwqq','y29KzxG','BMfTzq','u1rbuLq','mZa3nJGWnvfvuKPtwq','zM9SBg93DxbFDgfZAW','rgvSzxrL','y21K','Dg9mB3DLCKnHC2u','BxvSDgLFywDLBNrFDJe','ywDLBNrFAwq','DgfZA19Uyw1L'];_0x2f9e=function(){return _0x226b8c;};return _0x2f9e();}function quotedProperty(_0x1d31aa,_0x33bb7f){const _0x1b97ff=_0x22ed,_0x1a5be0=new RegExp('\x5cb'+_0x33bb7f+_0x1b97ff(0xbc),'u')[_0x1b97ff(0xa9)](_0x1d31aa);return decodeJsonString(_0x1a5be0?.[0xc8+-0x14ed*-0x1+-0x15b4]);}function quotedVariable(_0xd6f965,_0x41a62f){const _0x3ce428=_0x22ed,_0x296a5b=new RegExp(_0x3ce428(0xc9)+_0x41a62f+_0x3ce428(0x8b),'u')[_0x3ce428(0xa9)](_0xd6f965);return decodeJsonString(_0x296a5b?.[-0x1ac6+-0xc49*0x1+0x2710]);}function decodeJsonString(_0x3a5141){const _0x559c66=_0x22ed;if(_0x3a5141===undefined)return undefined;try{const _0x4cfed1=JSON[_0x559c66(0xc0)](_0x3a5141);return typeof _0x4cfed1===_0x559c66(0xa8)?_0x4cfed1:undefined;}catch{return undefined;}}function patchFileChanges(_0x3f9ae1){const _0xdf2398=_0x22ed;if(_0x3f9ae1===undefined)return[];const _0x7ea0e0=[];for(const _0x1b6ba4 of _0x3f9ae1[_0xdf2398(0x8d)](/\r?\n/u)){const _0x345fb9=/^\*\*\* (Add|Delete|Update) File: (.+)$/u[_0xdf2398(0xa9)](_0x1b6ba4);if(_0x345fb9?.[-0xae4*0x2+0x35*-0x3b+0x2200]===undefined||_0x345fb9[0x810+0x173b+-0x1f49]===undefined)continue;const _0x36f2a4=compactRunnerText(_0x345fb9[0x1e7a+0x182a+-0x1236*0x3],-0x7ae+0x634+-0x2*-0x8bd);if(_0x36f2a4[_0xdf2398(0xba)]===0x1b92+0xbe7+0xd7*-0x2f)continue;_0x7ea0e0[_0xdf2398(0xbe)]({'path':_0x36f2a4,'change':_0x345fb9[0x12b9*0x1+-0x218e+0x2*0x76b]===_0xdf2398(0xb5)?_0xdf2398(0xb4):_0x345fb9[0x1*-0x1a7+0x1360+-0x2f4*0x6]===_0xdf2398(0x83)?_0xdf2398(0x8a):_0xdf2398(0x97),'additions':null,'deletions':null,'diffAvailable':![]});}return _0x7ea0e0;}function isCommandTool(_0x403753){const _0x4cc907=_0x22ed;return _0x403753===_0x4cc907(0xa9)||_0x403753===_0x4cc907(0x93);}function record(_0x3c1c68){const _0x4b0c3b=_0x22ed;return _0x3c1c68!==null&&typeof _0x3c1c68===_0x4b0c3b(0x98)&&!Array[_0x4b0c3b(0xbb)](_0x3c1c68)?_0x3c1c68:undefined;}function codexSubagentProjection(_0x12b391,_0x474b90,_0x251b80,_0x14d51d){const _0x2e94e7=_0x22ed;if(_0x12b391!==undefined&&_0x12b391[_0x2e94e7(0xba)]>-0x1d5c+0x2a5*-0x2+0x22a6&&![_0x2e94e7(0xcb),_0x2e94e7(0x8e),_0x2e94e7(0x86),_0x2e94e7(0xc1)][_0x2e94e7(0xb6)](_0x12b391[_0x2e94e7(0x85)]()))return undefined;const _0x42d9ca=_0x474b90===_0x2e94e7(0xc7)?_0x2e94e7(0xcd):_0x474b90===_0x2e94e7(0xab)||_0x474b90===_0x2e94e7(0xa2)?_0x2e94e7(0xae):_0x474b90===_0x2e94e7(0x9e)||_0x474b90===_0x2e94e7(0xac)?_0x2e94e7(0xb9):_0x474b90===_0x2e94e7(0x89)||_0x474b90===_0x2e94e7(0xbf)||_0x474b90===_0x2e94e7(0xcf)?_0x2e94e7(0xa5):_0x474b90===_0x2e94e7(0x92)?_0x2e94e7(0xaf):undefined;if(_0x42d9ca===undefined)return undefined;const _0x105c3d=structuredRecord(_0x251b80),_0x3f54d3=_0x42d9ca===_0x2e94e7(0xcd)&&typeof _0x105c3d?.[_0x2e94e7(0x88)]===_0x2e94e7(0xa8)?compactRunnerText(_0x105c3d[_0x2e94e7(0x88)],0x872+-0xd*-0x21d+-0x21f7):'';return{'subagentOperation':_0x42d9ca,'subagentId':codexSubagentId(_0x251b80)??codexSubagentId(_0x14d51d)??null,..._0x3f54d3[_0x2e94e7(0xba)]===-0x159*-0x1+0x2650+-0x8f*0x47?{}:{'title':_0x3f54d3}};}function codexSubagentId(_0x2a869f){const _0x55edca=_0x22ed,_0x529098=structuredRecord(_0x2a869f);if(_0x529098===undefined)return undefined;for(const _0x27d63b of[_0x55edca(0x91),_0x55edca(0x87),_0x55edca(0x9d),'id']){const _0x778011=boundedId(_0x529098[_0x27d63b]);if(_0x778011!==undefined)return _0x778011;}if(Array[_0x55edca(0xbb)](_0x529098[_0x55edca(0xa7)]))for(const _0x36a554 of _0x529098[_0x55edca(0xa7)]){const _0x5c63e0=boundedId(_0x36a554);if(_0x5c63e0!==undefined)return _0x5c63e0;}for(const _0x33989c of[_0x55edca(0x9b),_0x55edca(0xa3),_0x55edca(0xc6)]){const _0x1f04ee=codexSubagentId(_0x529098[_0x33989c]);if(_0x1f04ee!==undefined)return _0x1f04ee;}return undefined;}function structuredRecord(_0x380a6f){const _0x4234f4=_0x22ed;if(typeof _0x380a6f!==_0x4234f4(0xa8))return record(_0x380a6f);const _0x1ed0ad=_0x380a6f[_0x4234f4(0xb8)]();if(!_0x1ed0ad[_0x4234f4(0xb0)]('{'))return undefined;try{return record(JSON[_0x4234f4(0xc0)](_0x1ed0ad));}catch{return undefined;}}function boundedId(_0xf9bc13){const _0x225d57=_0x22ed;if(typeof _0xf9bc13!==_0x225d57(0xa8))return undefined;const _0x435ead=_0xf9bc13[_0x225d57(0xb8)]();return _0x435ead[_0x225d57(0xba)]>0x213a+0x55b+-0x77*0x53&&_0x435ead[_0x225d57(0xba)]<=-0x1eb7+0x233+0x1d04?_0x435ead:undefined;}
|