@myagentroam/node 0.9.27 → 0.9.29
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/connector.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/* mar-release-protected */
|
|
2
|
-
const _0x20219f=_0x456c;(function(_0x8812c5,_0x6cdf4f){const _0x281f3b=_0x456c,_0x5d3780=_0x8812c5();while(!![]){try{const _0x1dbf41=parseInt(_0x281f3b(0x19d))/(-0x19+0xa71+-0x1*0xa57)*(-parseInt(_0x281f3b(0x1bf))/(0x1a97*0x1+-0x1293*0x2+-0x5*-0x21d))+-parseInt(_0x281f3b(0x69))/(-0x412*-0x3+-0x41*0x1a+-0x599)*(parseInt(_0x281f3b(0x239))/(0x5a2*-0x2+0x1*0x1669+-0x4d*0x25))+-parseInt(_0x281f3b(0x1a9))/(0x1ea5+-0x8aa*0x2+-0x94*0x17)+-parseInt(_0x281f3b(0x191))/(-0x1*0x2111+-0x1*0x13c3+0x37*0xf6)+-parseInt(_0x281f3b(0x19b))/(-0x47*-0x9+0x19ee+0x2d7*-0xa)+-parseInt(_0x281f3b(0x11b))/(0x12ce+0x2*-0xce0+0x6fa)+parseInt(_0x281f3b(0xdc))/(-0x197+-0x1c05+0x1da5);if(_0x1dbf41===_0x6cdf4f)break;else _0x5d3780['push'](_0x5d3780['shift']());}catch(_0x41b4a){_0x5d3780['push'](_0x5d3780['shift']());}}}(_0x3f84,0x2*-0x1d66f+-0x2e216+0x3*0x4c27e));import{dirname,resolve}from'node:path';import{createEnvelope}from'@myagentroam/protocol';import{hostedConversationStorePath,loadNodeConfig,nodeDataDirectory,nodeDatabasePath}from'./config.js';import{NodeMetrics,nodeLog}from'./operational.js';import{assertLocalSqlitePath}from'./storage.js';import{detectCapabilitiesAsync,unavailableCapabilities}from'./capabilities.js';import{NodeDatabase}from'./database.js';function _0x456c(_0x35fadf,_0x38b2db){_0x35fadf=_0x35fadf-(0x45*-0x73+0x307*-0x6+0x3192);const _0x2618c5=_0x3f84();let _0x6e2b70=_0x2618c5[_0x35fadf];if(_0x456c['mAOBXf']===undefined){var _0x3e05d7=function(_0x1b0f6b){const _0x42cf14='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x40254f='',_0x4e9877='';for(let _0x220846=0x1f93+0x44*-0x1f+-0x1*0x1757,_0x21805d,_0x51126d,_0xbeceb6=-0x3*-0x17f+0x1*0x96a+0x1*-0xde7;_0x51126d=_0x1b0f6b['charAt'](_0xbeceb6++);~_0x51126d&&(_0x21805d=_0x220846%(0x1fc*-0x13+-0x1e*0x41+0x2d56)?_0x21805d*(-0x15cc+-0x100*-0x10+0x60c)+_0x51126d:_0x51126d,_0x220846++%(0xb51*-0x1+0x1*0x93f+-0x1*-0x216))?_0x40254f+=String['fromCharCode'](-0x403+0x419*-0x3+-0x2b*-0x67&_0x21805d>>(-(-0x2192+0x6b9*0x2+-0x35b*-0x6)*_0x220846&-0x4e+0x1681*-0x1+0x16d5)):-0x236e+-0x3d*-0x31+-0x1*-0x17c1){_0x51126d=_0x42cf14['indexOf'](_0x51126d);}for(let _0x17c219=-0x5f3+0x1600+0x24b*-0x7,_0x194d05=_0x40254f['length'];_0x17c219<_0x194d05;_0x17c219++){_0x4e9877+='%'+('00'+_0x40254f['charCodeAt'](_0x17c219)['toString'](0x1*-0x1b3d+0xfcf+-0x1*-0xb7e))['slice'](-(0x24b3+-0xf53*-0x1+-0xd01*0x4));}return decodeURIComponent(_0x4e9877);};_0x456c['iTjMqs']=_0x3e05d7,_0x456c['XEHCfV']={},_0x456c['mAOBXf']=!![];}const _0x496bbc=_0x2618c5[-0x267b+0x24de+0x19d];_0x456c['aVwwRQ']!==_0x496bbc&&(_0x456c['XEHCfV']={},_0x456c['aVwwRQ']=_0x496bbc);const _0x2bc36c=_0x456c['XEHCfV'][_0x35fadf];return _0x2bc36c===undefined?(_0x6e2b70=_0x456c['iTjMqs'](_0x6e2b70),_0x456c['XEHCfV'][_0x35fadf]=_0x6e2b70):_0x6e2b70=_0x2bc36c,_0x6e2b70;}import{TerminalManager}from'./terminal.js';import{NodeRuntimeState}from'./runtime-state.js';import{CommandStateStore}from'./runner-command-engine.js';import{missionUnrestrictedAccess,MissionRuntime}from'./service/mission-runtime.js';import{MissionMcpServer}from'./service/mission-mcp-server.js';import{RunnerUsageReader}from'./runner-usage.js';import{ClaudeCodeRunner}from'./runner/claude-code-runner.js';import{ClaudeManagedRunController}from'./runner/claude/managed-run-controller.js';import{CodexRunner}from'./runner/codex-runner.js';import{CodexManagedRunController}from'./runner/codex/managed-run-controller.js';import{FakeTestRunner}from'./runner/fake-test-runner.js';import{RunnerRegistry}from'./runner/runner-registry.js';import{OpenCodeRunner}from'./runner/opencode-runner.js';import{MarAgentRunner}from'./runner/mar-agent-runner.js';import{MarAgentManagedRunController}from'./runner/mar-agent/managed-run-controller.js';import{OpenCodeManagedRunController}from'./runner/opencode/managed-run-controller.js';import{NodeOperationRouter}from'./connector/node-operation-router.js';import{SkillNodeOperationService}from'./service/skill-node-operation-service.js';import{McpNodeOperationService}from'./service/mcp-node-operation-service.js';import{RunnerService}from'./service/runner-service.js';import{TerminalService}from'./service/terminal-service.js';import{WorkspaceService}from'./service/workspace-service.js';import{WorkspaceWatchService}from'./service/workspace-watch-service.js';import{WorkspaceFileService}from'./service/workspace-file-service.js';import{WorkspaceUploadService}from'./service/workspace-upload-service.js';import{WorkspaceChangeService}from'./service/workspace-change-service.js';import{WorkspaceSessionService}from'./service/workspace-session-service.js';import{WorkbenchEventService}from'./service/workbench-event-service.js';import{RunDomainState}from'./service/run-domain-state.js';import{RecentRunProjectionService}from'./service/recent-run-projection-service.js';import{SessionDomainState}from'./service/session-domain-state.js';import{RunEventService}from'./service/run-event-service.js';import{RunAttachmentService}from'./service/run-attachment-service.js';import{NodeTerminalChannel}from'./service/node-terminal-channel.js';import{WorkspaceWorkbenchService}from'./service/workspace-workbench-service.js';import{NativeSessionWatchService}from'./service/native-session-watch-service.js';import{SessionWatchSlotCoordinator}from'./service/session-watch-slot-coordinator.js';import{SessionContextService}from'./service/session-context-service.js';import{WorkspaceDomainState}from'./service/workspace-domain-state.js';import{RunWorkbenchService}from'./service/run-workbench-service.js';import{SessionQueryService}from'./service/session-query-service.js';import{WorkspaceQueueWorkbenchService}from'./service/workspace-queue-workbench-service.js';import{ContinuousRunCoordinator}from'./service/continuous-run-coordinator.js';import{SessionIdentityService}from'./service/session-identity-service.js';import{NativeSessionProjectionService}from'./service/native-session-projection-service.js';import{composeConversationRuntimePage,ConversationHistoryService,convergeConversationWatchPage,hasManagedActiveRun}from'./service/conversation-history-service.js';import{ConversationSegmentService,conversationSegmentIdentityForItem,conversationSegments}from'./service/conversation-segment-service.js';import{RunnerInteractionService}from'./service/runner-interaction-service.js';import{SessionLifecycleService}from'./service/session-lifecycle-service.js';import{ExternalSessionResumeService}from'./service/external-session-resume-service.js';import{SessionMessageService}from'./service/session-message-service.js';import{SessionCatalogService}from'./service/session-catalog-service.js';import{SessionCommandService}from'./service/session-command-service.js';import{SessionPresentationService}from'./service/session-presentation-service.js';import{isPlainRecord,isRunnerImageAttachment,parseRunnerImageAttachments}from'./runner/codex/conversation-parser.js';export{nodeConnectEndpoint,validatedCapabilities}from'./runner/codex/conversation-parser.js';import{NodeControlChannel}from'./service/node-control-channel.js';import{NodeControlMessageService}from'./service/node-control-message-service.js';import{NodeRequestService}from'./service/node-request-service.js';import{WorkbenchManifestService}from'./service/workbench-manifest-service.js';import{NodeRunEventBridge,workbenchPayloadSessionId}from'./service/node-run-event-bridge.js';import{NodeWorkspaceCoordinator}from'./service/node-workspace-coordinator.js';import{FakeManagedRunService}from'./service/fake-managed-run-service.js';import{RunnerChannelMessageService}from'./service/runner-channel-message-service.js';import{ManagedRunnerSessionService}from'./service/managed-runner-session-service.js';import{NodeConnectionLifecycleService}from'./service/node-connection-lifecycle-service.js';import{NodeUpgradeCoordinator,nodeUpgradeRequestPath}from'./service/node-upgrade-coordinator.js';import{HostedConversationStore}from'./service/hosted-conversation-store.js';import{ConversationTemplateNodeService}from'./service/conversation-template-node-service.js';import{HostedConversationNodeService}from'./service/hosted-conversation-node-service.js';import{BubblewrapSandboxExecutor}from'./service/bubblewrap-sandbox-executor.js';import{MarAgentHostedConversationRuntime}from'./runner/mar-agent/hosted-conversation-runtime.js';import{conversationHostingCapability,probeBubblewrap}from'./service/conversation-hosting-capability-service.js';import{ConversationHostingMaintenanceService}from'./service/conversation-hosting-maintenance-service.js';import{safeErrorCode}from'./util/safe-error.js';const HEARTBEAT_MS=-0x2*-0x27e7+0x1*0x4b3f+-0x3*0x2027,CAPABILITY_REFRESH_MS=0xa1*0x255+0x151+-0x8e66,RETRY_MIN_MS=-0x1*-0x1c33+0x1d41+-0x3780,RETRY_MAX_MS=-0xdb7*-0x7+-0x308e+0x45bd,CLAUDE_APPROVAL_TIMEOUT_MS=(0x3*0x315+0xdd*0x26+-0x2a03)*(-0x3024+0x280*-0x3b+-0x49*-0x5e4),CONVERSATION_TEMPLATE_OPERATIONS=[_0x20219f(0x1e1),_0x20219f(0x1b3),_0x20219f(0x158),_0x20219f(0xd0)],HOSTED_CONVERSATION_OPERATIONS=[_0x20219f(0x183),_0x20219f(0x7e),_0x20219f(0x93),_0x20219f(0x92),_0x20219f(0x8a),_0x20219f(0x21e),_0x20219f(0x16c),_0x20219f(0xc5),_0x20219f(0xbc),_0x20219f(0xcf),_0x20219f(0x20c),_0x20219f(0xc1),_0x20219f(0x154),_0x20219f(0x219),_0x20219f(0x76),_0x20219f(0x80),_0x20219f(0x1fe),_0x20219f(0x16b)],CONVERSATION_HOSTING_MAINTENANCE_OPERATIONS=[_0x20219f(0xb8),_0x20219f(0x18d),_0x20219f(0xba)];export function nextReconnectDelay(_0xe26053){const _0x5b8def=_0x20219f;return Math[_0x5b8def(0x122)](RETRY_MAX_MS,RETRY_MIN_MS*(-0x2192+0x6b9*0x2+-0x35b*-0x6)**Math[_0x5b8def(0x122)](Math[_0x5b8def(0x103)](_0xe26053,-0x4e+0x1681*-0x1+0x16cf),-0x236e+-0x3d*-0x31+-0x7*-0x367));}function upgradeMetadata(_0x55ce43,_0xb6a3d8){const _0x28e926=_0x20219f,_0x739cbc={..._0x55ce43??{}};if(process.env['MAR_NODE_SUPERVISED']==='1')_0x739cbc[_0x28e926(0x165)]=!![];else delete _0x739cbc[_0x28e926(0x165)];if(_0xb6a3d8[_0x28e926(0x15b)]===_0x28e926(0x85))delete _0x739cbc[_0x28e926(0x21c)];else _0x739cbc[_0x28e926(0x21c)]=_0xb6a3d8;return _0x739cbc;}export class NodeConnector{[_0x20219f(0x1c0)]=crypto[_0x20219f(0x72)]()[_0x20219f(0x79)](/-/g,'');[_0x20219f(0x113)];[_0x20219f(0x128)];[_0x20219f(0x15d)];[_0x20219f(0x144)];set[_0x20219f(0x190)](_0x4f5e54){const _0x53dc06=_0x20219f;this[_0x53dc06(0x113)][_0x53dc06(0x1fb)](_0x4f5e54);}[_0x20219f(0xb9)]=![];[_0x20219f(0x187)];[_0x20219f(0x228)];[_0x20219f(0x213)];[_0x20219f(0x177)];[_0x20219f(0x14c)];[_0x20219f(0x139)];[_0x20219f(0x149)]=![];[_0x20219f(0x12a)];[_0x20219f(0xcc)];[_0x20219f(0x19a)];[_0x20219f(0x16e)];[_0x20219f(0xd8)];[_0x20219f(0xa2)];[_0x20219f(0x1ce)];[_0x20219f(0x170)];[_0x20219f(0x1e2)];[_0x20219f(0x235)];[_0x20219f(0x20b)]=new WorkbenchEventService(envelope=>this[_0x20219f(0x83)](envelope),(category,payload)=>{const _0x882e6c=_0x20219f,sessionId=workbenchPayloadSessionId(this[_0x882e6c(0x221)],category,payload);return sessionId===undefined||!this[_0x882e6c(0x145)][_0x882e6c(0x1ac)][_0x882e6c(0x15a)](sessionId);});[_0x20219f(0xff)];[_0x20219f(0x18b)];[_0x20219f(0xe0)]=new RunDomainState();[_0x20219f(0x189)];[_0x20219f(0x107)];[_0x20219f(0x182)]=new SessionDomainState();[_0x20219f(0x145)];[_0x20219f(0xb7)];[_0x20219f(0x231)];[_0x20219f(0x7b)];[_0x20219f(0x1b8)];[_0x20219f(0x218)];[_0x20219f(0xdb)];[_0x20219f(0x20e)];[_0x20219f(0x1ba)];[_0x20219f(0x1a3)];[_0x20219f(0x20a)];[_0x20219f(0x236)];[_0x20219f(0x19f)];[_0x20219f(0x134)];[_0x20219f(0x19c)];[_0x20219f(0x9e)];[_0x20219f(0x1b7)];[_0x20219f(0x175)];[_0x20219f(0x201)];[_0x20219f(0x210)];[_0x20219f(0x1cc)];[_0x20219f(0x114)];[_0x20219f(0x155)];[_0x20219f(0x222)];[_0x20219f(0x198)];[_0x20219f(0x197)];[_0x20219f(0x10c)];[_0x20219f(0x18f)];[_0x20219f(0xfc)];[_0x20219f(0x208)]=new NodeOperationRouter();[_0x20219f(0x1ad)];[_0x20219f(0x1cb)];[_0x20219f(0xa8)];[_0x20219f(0x224)];[_0x20219f(0x1af)]=new CommandStateStore();[_0x20219f(0x167)]=new MissionRuntime(()=>undefined);[_0x20219f(0x116)]=new Map();[_0x20219f(0x18e)]=new Map();[_0x20219f(0x1c4)]=new MissionMcpServer(this[_0x20219f(0x167)],sessionId=>{const _0x3a6d4c=_0x20219f,mission=this[_0x3a6d4c(0x167)][_0x3a6d4c(0x173)](sessionId),session=this[_0x3a6d4c(0x221)][_0x3a6d4c(0x131)](sessionId);if(mission===undefined||session===undefined)return;if(mission[_0x3a6d4c(0x199)]!==_0x3a6d4c(0xe2))this[_0x3a6d4c(0x18f)][_0x3a6d4c(0x207)](sessionId);this[_0x3a6d4c(0x1bd)](session,mission);});[_0x20219f(0x18c)];[_0x20219f(0x209)];[_0x20219f(0x211)];[_0x20219f(0xd5)]=new WorkspaceDomainState();[_0x20219f(0x1c2)]=new WorkspaceWatchService(this[_0x20219f(0xd5)],workspaceId=>this[_0x20219f(0x17d)][_0x20219f(0x1a0)](workspaceId),workspaceId=>this[_0x20219f(0x17d)][_0x20219f(0x148)](workspaceId),workspaceId=>this[_0x20219f(0xce)]?.[_0x20219f(0x162)](workspaceId));[_0x20219f(0x17d)]=new WorkspaceSessionService(this[_0x20219f(0xd5)],{'discover':workspaceId=>this[_0x20219f(0x186)](workspaceId),'listPage':workspaceId=>this[_0x20219f(0xb1)](_0x20219f(0x9a),{'workspaceId':workspaceId,'limit':0x14}),'active':workspaceId=>this[_0x20219f(0x1c2)][_0x20219f(0xec)](workspaceId,_0x20219f(0x1e0)),'invalidate':workspaceId=>void this[_0x20219f(0xce)]?.[_0x20219f(0x11f)](workspaceId,_0x20219f(0x1e0)),'onPending':(workspaceId,waitMs)=>nodeLog(_0x20219f(0xbf),{'nodeId':this[_0x20219f(0x228)]?.[_0x20219f(0x233)],'workspaceId':workspaceId,'waitMs':waitMs})});[_0x20219f(0x229)]=new WorkspaceFileService(this[_0x20219f(0xd5)],()=>this[_0x20219f(0x228)]?.[_0x20219f(0x13f)]??[],workspaceId=>this[_0x20219f(0x107)][_0x20219f(0xde)](workspaceId));[_0x20219f(0x10d)]=new WorkspaceUploadService(this[_0x20219f(0xd5)],workspaceId=>{const _0x158998=_0x20219f;this[_0x158998(0x229)][_0x158998(0x1f1)](workspaceId),this[_0x158998(0x107)][_0x158998(0xde)](workspaceId);});[_0x20219f(0x87)]=new WorkspaceChangeService(this[_0x20219f(0xd5)]);[_0x20219f(0xce)];[_0x20219f(0x108)];[_0x20219f(0x7f)]=new RecentRunProjectionService(message=>this[_0x20219f(0x1f0)](_0x20219f(0x21d),message));[_0x20219f(0x221)]=new NodeRuntimeState(()=>this[_0x20219f(0x228)]?.[_0x20219f(0x233)]??_0x20219f(0xd6),workspaceId=>this[_0x20219f(0x108)]?.[_0x20219f(0x132)](workspaceId),Date[_0x20219f(0x127)],(run,session,userMessage)=>this[_0x20219f(0x7f)][_0x20219f(0x141)](run,session,userMessage));[_0x20219f(0x7d)]=new NodeMetrics();[_0x20219f(0x157)]=new RunEventService({'runtime':this[_0x20219f(0x221)],'metrics':this[_0x20219f(0x7d)],'state':this[_0x20219f(0xe0)],'isBootstrapSession':sessionId=>this[_0x20219f(0x145)][_0x20219f(0x1ac)][_0x20219f(0x15a)](sessionId),'presentSession':session=>this[_0x20219f(0x20e)][_0x20219f(0xbe)](session),'rejectBootstrap':(sessionId,code)=>this[_0x20219f(0x145)][_0x20219f(0xb3)](sessionId,code),'emitWorkbench':(category,payload)=>{const _0x41f118=_0x20219f;if(category===_0x41f118(0x97)&&isPlainRecord(payload)&&_0x41f118(0x179)in payload)this[_0x41f118(0x20d)](payload[_0x41f118(0x179)]);else this[_0x41f118(0x1bb)](category,payload);},'cleanupAttachments':runId=>this[_0x20219f(0x134)][_0x20219f(0x160)](runId),'expireImages':runId=>this[_0x20219f(0x134)][_0x20219f(0xa1)](runId),'scheduleContextRefresh':sessionId=>this[_0x20219f(0x198)][_0x20219f(0x174)](sessionId),'refreshWorkspaceSessions':workspaceId=>this[_0x20219f(0xce)][_0x20219f(0xfb)](workspaceId,_0x20219f(0x1e0)),'dispatchQueue':async(sessionId,delayMs=-0x5f3+0x1600+0x24b*-0x7)=>{const _0x1b3a98=_0x20219f;if(this[_0x1b3a98(0x211)][_0x1b3a98(0x21b)]())return;if(delayMs>0x1*-0x1b3d+0xfcf+-0xb*-0x10a){this[_0x1b3a98(0x18f)][_0x1b3a98(0x174)](sessionId,delayMs);return;}await this[_0x1b3a98(0x18f)][_0x1b3a98(0x1fc)](sessionId);},'executionStarted':executionId=>this[_0x20219f(0x18f)][_0x20219f(0xb4)](executionId),'keepRunActive':sessionId=>(this[_0x20219f(0x116)][_0x20219f(0x15a)](sessionId)||this[_0x20219f(0x18e)][_0x20219f(0x15a)](sessionId))&&this[_0x20219f(0x167)][_0x20219f(0x173)](sessionId)?.[_0x20219f(0x199)]===_0x20219f(0xe2),'executionTerminating':(executionId,status)=>{const _0x1a098f=_0x20219f,pending=this[_0x1a098f(0x18f)][_0x1a098f(0x21b)](executionId);if(pending?.[_0x1a098f(0x22b)]===undefined)return;const started=this[_0x1a098f(0x18f)][_0x1a098f(0x142)](executionId),blocked=this[_0x1a098f(0x167)][_0x1a098f(0x1bc)](pending[_0x1a098f(0xb5)],status===_0x1a098f(0x98));if(blocked){this[_0x1a098f(0x1a7)](pending[_0x1a098f(0xb5)]),this[_0x1a098f(0x18f)][_0x1a098f(0x207)](pending[_0x1a098f(0xb5)]);const terminalMission=this[_0x1a098f(0x167)][_0x1a098f(0x173)](pending[_0x1a098f(0xb5)]),session=this[_0x1a098f(0x221)][_0x1a098f(0x131)](pending[_0x1a098f(0xb5)]);if(terminalMission!==undefined&&session!==undefined)this[_0x1a098f(0x1bd)](session,terminalMission);return;}if(status!==_0x1a098f(0x98)||started)return;this[_0x1a098f(0x1a7)](pending[_0x1a098f(0xb5)]);const retry={'sessionId':pending[_0x1a098f(0xb5)],'timer':setTimeout(()=>{const _0x53b569=_0x1a098f;this[_0x53b569(0x116)][_0x53b569(0x1f7)](retry[_0x53b569(0xb5)]);const mission=this[_0x53b569(0x167)][_0x53b569(0x173)](retry[_0x53b569(0xb5)]);if(mission?.[_0x53b569(0x199)]!==_0x53b569(0xe2)||mission['id']!==pending[_0x53b569(0x22b)]?.['id']||mission[_0x53b569(0x232)]!==pending[_0x53b569(0x22b)][_0x53b569(0x232)])return;void this[_0x53b569(0x20a)][_0x53b569(0x23a)]({'sessionId':retry[_0x53b569(0xb5)],'kind':_0x53b569(0x185),'content':this[_0x53b569(0x167)][_0x53b569(0x181)](retry[_0x53b569(0xb5)],_0x53b569(0x185)),'deliveryIntent':_0x53b569(0x1c1),'mission':{'id':mission['id'],'revision':mission[_0x53b569(0x232)]},'secretEnvironment':pending[_0x53b569(0x1d1)],...pending[_0x53b569(0x1ea)]===undefined?{}:{'personalInstructions':pending[_0x53b569(0x1ea)]}})[_0x53b569(0x17c)](()=>undefined);},0x6e17+-0x499*-0xa+-0x6179*0x1)};this[_0x1a098f(0x116)][_0x1a098f(0x1cd)](pending[_0x1a098f(0xb5)],retry),retry[_0x1a098f(0x7a)][_0x1a098f(0x22f)]();},'releaseExecution':executionId=>{const _0x54bda1=_0x20219f;this[_0x54bda1(0x1c4)][_0x54bda1(0x109)](executionId),this[_0x54bda1(0x18f)][_0x54bda1(0x16d)](executionId);}});[_0x20219f(0xcb)]=new SessionWatchSlotCoordinator();[_0x20219f(0x10f)]=new NativeSessionWatchService({'resolve':async sessionId=>this[_0x20219f(0x221)][_0x20219f(0x131)](sessionId)??this[_0x20219f(0xb7)][_0x20219f(0xc9)](sessionId),'managedActive':session=>hasManagedActiveRun(this[_0x20219f(0x221)],session),'suspended':sessionId=>this[_0x20219f(0x1a3)][_0x20219f(0x105)](sessionId),'refreshActivity':session=>this[_0x20219f(0x231)][_0x20219f(0xc0)](session),'present':session=>this[_0x20219f(0x20e)][_0x20219f(0xbe)](session),'readPage':(session,limit)=>this[_0x20219f(0x231)][_0x20219f(0x10a)](session,{'limit':limit}),'readHistoryPage':(session,limit)=>this[_0x20219f(0x231)][_0x20219f(0x21f)](session,{'limit':limit}),'convergePage':convergeConversationWatchPage,'composeRuntimePage':composeConversationRuntimePage,'projectInitialPage':(session,page,_unit,limit)=>{const _0x5ce31d=_0x20219f,context=this[_0x5ce31d(0x198)][_0x5ce31d(0x143)](session['id']);return this[_0x5ce31d(0x198)][_0x5ce31d(0x174)](session),{'kind':_0x5ce31d(0x193),'sequence':this[_0x5ce31d(0x20b)][_0x5ce31d(0xa7)](),'session':this[_0x5ce31d(0x20e)][_0x5ce31d(0xbe)](session),'runs':this[_0x5ce31d(0x221)][_0x5ce31d(0x1de)](session['id']),'queue':this[_0x5ce31d(0xfc)][_0x5ce31d(0x143)](session['id']),'context':context,'conversation':this[_0x5ce31d(0x7b)][_0x5ce31d(0x12c)](session,page,limit)};},'emitSession':session=>this[_0x20219f(0x172)]({'session':session}),'emitPage':(session,page)=>this[_0x20219f(0xf1)](_0x20219f(0x97),{'sessionId':session['id'],'snapshot':this[_0x20219f(0x7b)][_0x20219f(0x12c)](session,page,-0x267b+0x24de+0x1a7)}),'nodeId':()=>this[_0x20219f(0x228)]?.[_0x20219f(0x233)]??_0x20219f(0xd6),'nodeGeneration':()=>this[_0x20219f(0x1c0)],'emitWatchEvent':payload=>this[_0x20219f(0x1f0)](_0x20219f(0x164),payload),'sessionWatchSlots':this[_0x20219f(0xcb)],'log':nodeLog});constructor(_0x168eaa={}){const _0xeb4588=_0x20219f;this[_0xeb4588(0x228)]=_0x168eaa[_0xeb4588(0x228)],this[_0xeb4588(0x170)]=_0x168eaa[_0xeb4588(0x170)],this[_0xeb4588(0x235)]=_0x168eaa[_0xeb4588(0x235)]??CLAUDE_APPROVAL_TIMEOUT_MS,this[_0xeb4588(0x213)]=_0x168eaa[_0xeb4588(0x177)]!==undefined,this[_0xeb4588(0x177)]=_0x168eaa[_0xeb4588(0x177)]??unavailableCapabilities(),this[_0xeb4588(0x139)]=_0x168eaa[_0xeb4588(0x139)]??probeBubblewrap,this[_0xeb4588(0x211)]=new NodeUpgradeCoordinator(()=>{const _0x21bf09=_0xeb4588;if(this[_0x21bf09(0x228)]===undefined)throw new Error(_0x21bf09(0x225));return nodeUpgradeRequestPath(nodeDatabasePath(this[_0x21bf09(0x228)],this[_0x21bf09(0x170)]));},()=>this[_0xeb4588(0xe0)][_0xeb4588(0xe2)][_0xeb4588(0xf5)],_0x1a00ff=>{const _0x353bb3=_0xeb4588;this[_0x353bb3(0x177)]={...this[_0x353bb3(0x177)],'metadata':upgradeMetadata(this[_0x353bb3(0x177)][_0x353bb3(0xe7)],_0x1a00ff)},this[_0x353bb3(0x113)]?.[_0x353bb3(0x1f0)](_0x353bb3(0x177),this[_0x353bb3(0x177)]);},_0x168eaa[_0xeb4588(0x1f3)]??(()=>{const _0x28c48f=_0xeb4588;void this[_0x28c48f(0x22d)]()[_0x28c48f(0x89)](()=>process[_0x28c48f(0xfa)](0x528+0x762+0x39*-0x37));})),this[_0xeb4588(0x177)]={...this[_0xeb4588(0x177)],'metadata':upgradeMetadata(this[_0xeb4588(0x177)][_0xeb4588(0xe7)],this[_0xeb4588(0x211)][_0xeb4588(0x143)]())};const _0x4e0a2=_0x168eaa[_0xeb4588(0x14c)]??detectCapabilitiesAsync;this[_0xeb4588(0x14c)]=async()=>{const _0x282f35=_0xeb4588,_0x444882=await _0x4e0a2();return this[_0x282f35(0x22e)]({..._0x444882,'metadata':upgradeMetadata(_0x444882[_0x282f35(0xe7)],this[_0x282f35(0x211)][_0x282f35(0x143)]())});},this[_0xeb4588(0x1e2)]=_0x168eaa[_0xeb4588(0x1e2)]??!![],this[_0xeb4588(0xff)]=_0x168eaa[_0xeb4588(0xff)]===undefined?undefined:new FakeTestRunner(_0x168eaa[_0xeb4588(0xff)]),this[_0xeb4588(0x18b)]=_0x168eaa[_0xeb4588(0x18b)],this[_0xeb4588(0x134)]=new RunAttachmentService(_0x599d99=>this[_0xeb4588(0x222)][_0xeb4588(0x15c)](_0x599d99[_0xeb4588(0x1e6)])[_0xeb4588(0x14a)](_0x599d99)),this[_0xeb4588(0x9e)]=new CodexRunner(_0x168eaa[_0xeb4588(0x9e)],_0x168eaa[_0xeb4588(0x14b)]),this[_0xeb4588(0x1b7)]=new CodexManagedRunController(this[_0xeb4588(0x9e)],{'available':()=>this[_0xeb4588(0x177)][_0xeb4588(0x159)][_0xeb4588(0x1a6)],'intercepted':()=>this[_0xeb4588(0xff)]!==undefined,'active':this[_0xeb4588(0xe0)][_0xeb4588(0xe2)],'addActive':_0x55382d=>this[_0xeb4588(0xe0)][_0xeb4588(0xe2)][_0xeb4588(0x234)](_0x55382d),'removeActive':_0x27f650=>this[_0xeb4588(0xe0)][_0xeb4588(0xe2)][_0xeb4588(0x1f7)](_0x27f650),'adopt':_0x296626=>this[_0xeb4588(0x221)][_0xeb4588(0x6b)](_0x296626),'session':_0x56ccfd=>this[_0xeb4588(0x221)][_0xeb4588(0x131)](_0x56ccfd),'runStatus':_0x31de35=>this[_0xeb4588(0x221)][_0xeb4588(0x110)](_0x31de35)?.[_0xeb4588(0x199)],'run':_0x4dbade=>this[_0xeb4588(0x221)][_0xeb4588(0x110)](_0x4dbade),'interrupted':_0x3fb4ea=>this[_0xeb4588(0xe0)][_0xeb4588(0x1ed)][_0xeb4588(0x15a)](_0x3fb4ea),'parseAttachments':parseRunnerImageAttachments,'materialize':(_0x26d7d2,_0xcccc29)=>this[_0xeb4588(0x134)][_0xeb4588(0x1c9)](_0x26d7d2,_0xcccc29),'completeCancelled':_0x564ce2=>this[_0xeb4588(0x1b8)][_0xeb4588(0x13e)](_0x564ce2),'promoteSession':(_0x1bb432,_0x204751)=>this[_0xeb4588(0x145)][_0xeb4588(0x6d)](_0x1bb432,_0x204751),'send':(_0x44f498,_0x485d8c)=>this[_0xeb4588(0x1f0)](_0x44f498,_0x485d8c),'emit':(_0x2a2643,_0x31b98d,_0x3ff82e,_0x168d15)=>this[_0xeb4588(0x189)][_0xeb4588(0x156)](_0x2a2643,_0x31b98d,_0x3ff82e,_0x168d15),'cancel':(_0x51ad7a,_0x134838,_0x51d8cd,_0x47eb2a,_0x34650d)=>this[_0xeb4588(0x1b8)][_0xeb4588(0x1ec)](_0x51ad7a,_0x134838,_0x51d8cd,_0x47eb2a,_0x34650d),'createApproval':_0x1767ee=>this[_0xeb4588(0x221)][_0xeb4588(0x1c8)](_0x1767ee),'publishApproval':_0x1f8d87=>this[_0xeb4588(0x189)][_0xeb4588(0x129)](_0x1f8d87),'emitItem':(_0x34fd3c,_0x5c2e77)=>this[_0xeb4588(0xe6)](_0x34fd3c,_0x5c2e77),'appendImages':(_0x58e172,_0x530f51)=>this[_0xeb4588(0x134)][_0xeb4588(0x1d3)](_0x58e172,_0x530f51[_0xeb4588(0x1c5)](isRunnerImageAttachment)),'syncTitle':(_0x30b953,_0x2fc8e7,_0x1209cd)=>this[_0xeb4588(0xdb)][_0xeb4588(0x137)](_0x30b953,_0x2fc8e7,_0x1209cd),'commandState':(_0x51d75a,_0x20af31)=>this[_0xeb4588(0x1af)][_0xeb4588(0x173)](_0x51d75a,_0x20af31),'setCommandState':(_0x32ba57,_0x5913c1)=>this[_0xeb4588(0x1af)][_0xeb4588(0x1cd)](_0x32ba57,_0x5913c1),'clearCommandState':(_0x31bc97,_0xe0cbd0)=>this[_0xeb4588(0x1af)][_0xeb4588(0x8e)](_0x31bc97,_0xe0cbd0),'commandStates':_0x236f17=>this[_0xeb4588(0x1af)][_0xeb4588(0x1b2)](_0x236f17),'hasActiveSessionLease':_0x123fa7=>this[_0xeb4588(0x221)][_0xeb4588(0x74)](_0x123fa7),'fast':_0x8fd728=>this[_0xeb4588(0xb1)](_0xeb4588(0x1e5),{'runner':_0xeb4588(0x159),'commandId':_0xeb4588(0xa4),'input':_0x8fd728})}),this[_0xeb4588(0x9e)][_0xeb4588(0xa0)](_0x522ca9=>this[_0xeb4588(0x1b7)][_0xeb4588(0x1f2)](_0x522ca9)),this[_0xeb4588(0x175)]=new ClaudeCodeRunner(_0x168eaa[_0xeb4588(0x175)]),this[_0xeb4588(0x201)]=new OpenCodeRunner(_0x168eaa[_0xeb4588(0x201)]),this[_0xeb4588(0x210)]=new MarAgentRunner(),this[_0xeb4588(0x1cc)]=new MarAgentManagedRunController(this[_0xeb4588(0x210)],{'active':this[_0xeb4588(0xe0)][_0xeb4588(0xe2)],'adopt':_0x5e450d=>this[_0xeb4588(0x221)][_0xeb4588(0x6b)](_0x5e450d),'promote':(_0x461a59,_0x1e8479)=>this[_0xeb4588(0x145)][_0xeb4588(0x6d)](_0x461a59,_0x1e8479),'syncTitle':(_0x378ed6,_0x2a5167)=>this[_0xeb4588(0xdb)][_0xeb4588(0x137)](_0x378ed6,_0x378ed6,_0x2a5167),'emit':(_0x26c6a7,_0x2c09b7,_0x301c38,_0x4a63b4)=>this[_0xeb4588(0x189)][_0xeb4588(0x156)](_0x26c6a7,_0x2c09b7,_0x301c38,_0x4a63b4),'emitItem':(_0x358523,_0x5c969b)=>this[_0xeb4588(0xe6)](_0x358523,_0x5c969b),'createApproval':_0x348adc=>this[_0xeb4588(0x221)][_0xeb4588(0x1c8)](_0x348adc),'publishApproval':_0x12ff0b=>this[_0xeb4588(0x189)][_0xeb4588(0x129)](_0x12ff0b),'run':_0x2e273a=>this[_0xeb4588(0x221)][_0xeb4588(0x110)](_0x2e273a),'commandState':(_0x485959,_0x422c3)=>this[_0xeb4588(0x1af)][_0xeb4588(0x173)](_0x485959,_0x422c3),'setCommandState':(_0x3a59cd,_0xf84d9c)=>this[_0xeb4588(0x1af)][_0xeb4588(0x1cd)](_0x3a59cd,_0xf84d9c),'clearCommandState':(_0x1bbac4,_0x2342d1)=>this[_0xeb4588(0x1af)][_0xeb4588(0x8e)](_0x1bbac4,_0x2342d1),'commandStates':_0x5b71a9=>this[_0xeb4588(0x1af)][_0xeb4588(0x1b2)](_0x5b71a9),'webSearch':(_0x574b34,_0x2b8729)=>this[_0xeb4588(0xdd)](_0x574b34,_0x2b8729)}),this[_0xeb4588(0x210)][_0xeb4588(0x1db)](_0x89f0e2=>this[_0xeb4588(0x1cc)][_0xeb4588(0x20f)](_0x89f0e2)),this[_0xeb4588(0x114)]=new OpenCodeManagedRunController(this[_0xeb4588(0x201)],{'intercepted':()=>this[_0xeb4588(0xff)]!==undefined,'active':this[_0xeb4588(0xe0)][_0xeb4588(0xe2)],'parseAttachments':parseRunnerImageAttachments,'persistAttachments':(_0x55cab2,_0x2d057c,_0x38128d)=>this[_0xeb4588(0x134)][_0xeb4588(0x9c)](_0x55cab2,_0x2d057c+_0xeb4588(0x1cf),_0x38128d),'emit':(_0x15de5d,_0x173daf,_0x51f3e0,_0x3a5d41)=>this[_0xeb4588(0x189)][_0xeb4588(0x156)](_0x15de5d,_0x173daf,_0x51f3e0,_0x3a5d41),'emitItem':(_0x35426b,_0x1a420e)=>this[_0xeb4588(0xe6)](_0x35426b,_0x1a420e),'adopt':_0x43b5e0=>this[_0xeb4588(0x221)][_0xeb4588(0x6b)](_0x43b5e0),'run':_0x1761a0=>{const _0x2282de=_0xeb4588,_0x5f2bbe=this[_0x2282de(0x221)][_0x2282de(0x110)](_0x1761a0);if(_0x5f2bbe===undefined)throw new Error(_0x2282de(0xc3));return _0x5f2bbe;},'hasActiveSessionLease':_0x45aa36=>this[_0xeb4588(0x221)][_0xeb4588(0x74)](_0x45aa36),'promote':(_0x4b27b8,_0x2e3634)=>this[_0xeb4588(0x145)][_0xeb4588(0x6d)](_0x4b27b8,_0x2e3634),'rememberNative':(_0x4935c2,_0x1a7a52)=>this[_0xeb4588(0xdb)][_0xeb4588(0x71)](_0x4935c2,_0x1a7a52),'send':(_0x5eb00d,_0x166ac9)=>this[_0xeb4588(0x1f0)](_0x5eb00d,_0x166ac9),'createApproval':_0x2eb6af=>this[_0xeb4588(0x221)][_0xeb4588(0x1c8)](_0x2eb6af),'expireApproval':_0x1f4723=>{const _0xf75cab=_0xeb4588;this[_0xf75cab(0x221)][_0xf75cab(0x1d4)](_0x1f4723);},'publishApproval':_0x3a68f2=>this[_0xeb4588(0x189)][_0xeb4588(0x129)](_0x3a68f2),'commandState':(_0x426fce,_0x5baab7)=>this[_0xeb4588(0x1af)][_0xeb4588(0x173)](_0x426fce,_0x5baab7),'setCommandState':(_0x45de52,_0x4c5f1a)=>this[_0xeb4588(0x1af)][_0xeb4588(0x1cd)](_0x45de52,_0x4c5f1a),'clearCommandState':(_0x16f39b,_0x59f872)=>this[_0xeb4588(0x1af)][_0xeb4588(0x8e)](_0x16f39b,_0x59f872),'commandStates':_0x220ffa=>this[_0xeb4588(0x1af)][_0xeb4588(0x1b2)](_0x220ffa)},this[_0xeb4588(0x235)]),this[_0xeb4588(0x155)]=new ClaudeManagedRunController(this[_0xeb4588(0x175)],{'intercepted':()=>this[_0xeb4588(0xff)]!==undefined,'active':this[_0xeb4588(0xe0)][_0xeb4588(0xe2)],'parseAttachments':parseRunnerImageAttachments,'emit':(_0x4f7e26,_0x58f025,_0x1c362f,_0x3088e8)=>this[_0xeb4588(0x189)][_0xeb4588(0x156)](_0x4f7e26,_0x58f025,_0x1c362f,_0x3088e8),'adopt':_0x22b533=>this[_0xeb4588(0x221)][_0xeb4588(0x6b)](_0x22b533),'run':_0x288cd1=>this[_0xeb4588(0x221)][_0xeb4588(0x110)](_0x288cd1),'hasActiveSessionLease':_0x3ad3b3=>this[_0xeb4588(0x221)][_0xeb4588(0x74)](_0x3ad3b3),'session':_0x107b81=>this[_0xeb4588(0x221)][_0xeb4588(0x131)](_0x107b81),'completeCancelled':_0x160a1d=>this[_0xeb4588(0x1b8)][_0xeb4588(0x13e)](_0x160a1d),'requestUserInput':(_0x204ada,_0x1391dc,_0x1493b3)=>this[_0xeb4588(0x1b8)][_0xeb4588(0x133)](_0x204ada,_0x1391dc,_0x1493b3),'requestApproval':(_0x8c6be1,_0x5a16e9,_0x2d68ed)=>this[_0xeb4588(0x1b8)][_0xeb4588(0x15e)](_0x8c6be1,_0x5a16e9,_0x2d68ed),'rememberNative':(_0x37e28,_0x32baef)=>this[_0xeb4588(0xdb)][_0xeb4588(0x71)](_0x37e28,_0x32baef),'promote':(_0x5e52e0,_0x536519)=>this[_0xeb4588(0x145)][_0xeb4588(0x6d)](_0x5e52e0,_0x536519),'send':(_0x3ff02a,_0x598707)=>this[_0xeb4588(0x1f0)](_0x3ff02a,_0x598707),'emitItem':(_0x1a27f1,_0x59a072)=>this[_0xeb4588(0xe6)](_0x1a27f1,_0x59a072),'syncTitle':(_0x4d0d0f,_0x49114f,_0x395e23)=>this[_0xeb4588(0xdb)][_0xeb4588(0x137)](_0x4d0d0f,_0x49114f,_0x395e23),'setChannelToken':(_0x381318,_0x23a0b0)=>this[_0xeb4588(0x221)][_0xeb4588(0x135)](_0x381318,_0x23a0b0),'commandState':(_0x594f22,_0x5e0f4a)=>this[_0xeb4588(0x1af)][_0xeb4588(0x173)](_0x594f22,_0x5e0f4a),'setCommandState':(_0x5d5ed9,_0x4fb2c6)=>this[_0xeb4588(0x1af)][_0xeb4588(0x1cd)](_0x5d5ed9,_0x4fb2c6),'clearCommandState':(_0x2710e7,_0x1fcf86)=>this[_0xeb4588(0x1af)][_0xeb4588(0x8e)](_0x2710e7,_0x1fcf86),'commandStates':_0x518f18=>this[_0xeb4588(0x1af)][_0xeb4588(0x1b2)](_0x518f18)}),this[_0xeb4588(0x222)]=new RunnerRegistry([this[_0xeb4588(0x201)],this[_0xeb4588(0x210)],this[_0xeb4588(0x9e)],this[_0xeb4588(0x175)],...this[_0xeb4588(0xff)]===undefined?[]:[this[_0xeb4588(0xff)]]]),this[_0xeb4588(0xdb)]=new ManagedRunnerSessionService(this[_0xeb4588(0x221)],this[_0xeb4588(0x222)],_0x53c4f9=>this[_0xeb4588(0x172)]({'session':this[_0xeb4588(0x20e)][_0xeb4588(0xbe)](_0x53c4f9)})),this[_0xeb4588(0x1b8)]=new RunnerInteractionService({'runtime':this[_0xeb4588(0x221)],'state':this[_0xeb4588(0xe0)],'codex':()=>this[_0xeb4588(0x9e)],'claude':()=>this[_0xeb4588(0x175)],'runners':this[_0xeb4588(0x222)],'emitRun':(_0x376158,_0x1084ed,_0x388dec,_0xb2d46f)=>this[_0xeb4588(0x189)][_0xeb4588(0x156)](_0x376158,_0x1084ed,_0x388dec,_0xb2d46f),'emitItem':(_0x1a7b70,_0x283ffd)=>this[_0xeb4588(0xe6)](_0x1a7b70,_0x283ffd),'approvalTimeoutMs':this[_0xeb4588(0x235)],'publishApproval':_0x424a93=>this[_0xeb4588(0x189)][_0xeb4588(0x129)](_0x424a93)}),this[_0xeb4588(0x218)]=new RunnerChannelMessageService({'interactions':this[_0xeb4588(0x1b8)],'send':(_0x1fbc3d,_0x2bb1d7,_0x33b94f)=>this[_0xeb4588(0x1f0)](_0x1fbc3d,_0x2bb1d7,_0x33b94f)}),this[_0xeb4588(0x20e)]=new SessionPresentationService({'database':()=>this[_0xeb4588(0x108)],'runtime':this[_0xeb4588(0x221)],'commands':this[_0xeb4588(0x1af)],'runners':this[_0xeb4588(0x222)],'capabilities':()=>this[_0xeb4588(0x177)],'hasManagedActiveRun':_0x119f72=>hasManagedActiveRun(this[_0xeb4588(0x221)],_0x119f72),'externalActivity':_0x2584de=>this[_0xeb4588(0x182)][_0xeb4588(0x1f6)][_0xeb4588(0x173)](_0x2584de),'projectionForNative':_0x17c0e7=>this[_0xeb4588(0xb7)][_0xeb4588(0xa3)](_0x17c0e7)}),this[_0xeb4588(0xb7)]=new NativeSessionProjectionService({'database':()=>this[_0xeb4588(0x108)],'nodeId':()=>this[_0xeb4588(0x228)]?.[_0xeb4588(0x233)]??_0xeb4588(0x1c3),'runtime':this[_0xeb4588(0x221)],'runners':this[_0xeb4588(0x222)],'capabilities':()=>this[_0xeb4588(0x177)],'state':this[_0xeb4588(0x182)],'commands':this[_0xeb4588(0x1af)],'present':_0x4e1cea=>this[_0xeb4588(0x20e)][_0xeb4588(0xbe)](_0x4e1cea)}),this[_0xeb4588(0x231)]=new ConversationHistoryService({'runtime':this[_0xeb4588(0x221)],'runners':this[_0xeb4588(0x222)],'capabilities':()=>this[_0xeb4588(0x177)],'attachments':this[_0xeb4588(0x134)],'snapshotSequence':()=>this[_0xeb4588(0x20b)][_0xeb4588(0xa7)](),'hasManagedActiveRun':_0x8f3a3b=>hasManagedActiveRun(this[_0xeb4588(0x221)],_0x8f3a3b),'setExternalActivity':(_0x3cd55b,_0x30c523)=>this[_0xeb4588(0x182)][_0xeb4588(0x1f6)][_0xeb4588(0x1cd)](_0x3cd55b,_0x30c523)}),this[_0xeb4588(0x7b)]=new ConversationSegmentService((_0x4cc54e,_0x532d84)=>this[_0xeb4588(0x231)][_0xeb4588(0x10a)](_0x4cc54e,_0x532d84)),this[_0xeb4588(0x198)]=new SessionContextService({'runners':this[_0xeb4588(0x222)],'session':_0x4ad9b6=>this[_0xeb4588(0x221)][_0xeb4588(0x131)](_0x4ad9b6),'stopped':()=>this[_0xeb4588(0xb9)],'publish':_0x4a8126=>this[_0xeb4588(0x172)](_0x4a8126)}),this[_0xeb4588(0x197)]=new RunWorkbenchService({'runtime':this[_0xeb4588(0x221)],'readImage':async(_0x133540,_0x3e0b82)=>this[_0xeb4588(0x134)][_0xeb4588(0x10a)](_0x133540,_0x3e0b82)??await this[_0xeb4588(0x134)][_0xeb4588(0x1a1)](_0x133540,_0x3e0b82),'respondUserInput':(_0x662e62,_0x24b2b2,_0x2a3981)=>this[_0xeb4588(0x1b8)][_0xeb4588(0x13d)](_0x662e62,_0x24b2b2,_0x2a3981),'pauseQueue':_0x17810a=>this[_0xeb4588(0xfc)][_0xeb4588(0x153)](_0x17810a),'emitRun':(_0x1a2029,_0x5e331f,_0x4c12d3,_0x30d059)=>this[_0xeb4588(0x189)][_0xeb4588(0x156)](_0x1a2029,_0x5e331f,_0x4c12d3,_0x30d059),'control':(_0xc221de,_0xd25dc5)=>this[_0xeb4588(0x128)][_0xeb4588(0x123)](JSON[_0xeb4588(0x1b4)](createEnvelope(_0xc221de,_0xd25dc5))),'markInterrupted':_0x24db90=>this[_0xeb4588(0xe0)][_0xeb4588(0x1ed)][_0xeb4588(0x234)](_0x24db90)}),this[_0xeb4588(0x10c)]=new SessionQueryService({'runtime':this[_0xeb4588(0x221)],'runners':this[_0xeb4588(0x222)],'resolve':_0x2d6fec=>this[_0xeb4588(0xb7)][_0xeb4588(0xc2)](_0x2d6fec),'present':_0x1a2289=>this[_0xeb4588(0x20e)][_0xeb4588(0xbe)](_0x1a2289),'history':(_0x4e0937,_0x1a7b58)=>this[_0xeb4588(0x231)][_0xeb4588(0x10a)](_0x4e0937,_0x1a7b58),'segments':(_0x2e4aa3,_0x4929ef)=>this[_0xeb4588(0x7b)][_0xeb4588(0x10a)](_0x2e4aa3,_0x4929ef),'context':this[_0xeb4588(0x198)],'discover':(_0x9b1157,_0x4ac3a5)=>this[_0xeb4588(0xb7)][_0xeb4588(0xe3)](_0x9b1157,_0x4ac3a5),'workspaceIdForCwd':_0x2fd3b6=>this[_0xeb4588(0x108)]?.[_0xeb4588(0x101)]()[_0xeb4588(0xb6)](_0x2602ef=>_0x2602ef[_0xeb4588(0x136)]===_0x2fd3b6)?.['id']}),this[_0xeb4588(0x18f)]=new ContinuousRunCoordinator({'runtime':this[_0xeb4588(0x221)],'emitQueue':(_0x2f7340,_0x55e959)=>this[_0xeb4588(0x189)][_0xeb4588(0x12f)](_0x2f7340,_0x55e959),'clearImages':_0x4a483b=>this[_0xeb4588(0x134)][_0xeb4588(0x8e)](_0x4a483b),'cleanupAttachments':_0x344073=>this[_0xeb4588(0x134)][_0xeb4588(0x160)](_0x344073),'migrateAssets':(_0x1ec24d,_0x3e7e34)=>this[_0xeb4588(0x134)][_0xeb4588(0x118)](_0x1ec24d,_0x3e7e34),'emitRun':(_0x296752,_0x3151bd,_0x5d07d6,_0x15bea1)=>this[_0xeb4588(0x189)][_0xeb4588(0x156)](_0x296752,_0x3151bd,_0x5d07d6,_0x15bea1),'emitConversation':_0x46a448=>this[_0xeb4588(0x20d)](_0x46a448),'control':(_0x43b358,_0x24e21c)=>this[_0xeb4588(0x128)][_0xeb4588(0x123)](JSON[_0xeb4588(0x1b4)](createEnvelope(_0x43b358,_0x24e21c))),'stopped':()=>this[_0xeb4588(0xb9)],'markInterrupted':_0x1a2634=>this[_0xeb4588(0xe0)][_0xeb4588(0x1ed)][_0xeb4588(0x234)](_0x1a2634),'mcps':_0x191a0f=>this[_0xeb4588(0x108)]?.[_0xeb4588(0x1c6)](_0x191a0f)??[],'afterExecutionStarted':async _0x1bff67=>{const _0x1b6f43=_0xeb4588;if(_0x1bff67[_0x1b6f43(0x22b)]===undefined)return;const _0x314f2c=this[_0x1b6f43(0x167)][_0x1b6f43(0x173)](_0x1bff67[_0x1b6f43(0xb5)]);if(_0x314f2c?.[_0x1b6f43(0x199)]!==_0x1b6f43(0xe2)||_0x314f2c['id']!==_0x1bff67[_0x1b6f43(0x22b)]['id']||_0x314f2c[_0x1b6f43(0x232)]!==_0x1bff67[_0x1b6f43(0x22b)][_0x1b6f43(0x232)])return;const _0x53a773=this[_0x1b6f43(0x167)][_0x1b6f43(0x115)](_0x1bff67[_0x1b6f43(0xb5)]),_0x579b66=this[_0x1b6f43(0x221)][_0x1b6f43(0x131)](_0x1bff67[_0x1b6f43(0xb5)]);if(_0x53a773!==undefined&&_0x579b66!==undefined)this[_0x1b6f43(0x1bd)](_0x579b66,_0x53a773);await this[_0x1b6f43(0x1b0)]({'sessionId':_0x1bff67[_0x1b6f43(0xb5)],'mission':{'id':_0x314f2c['id'],'revision':_0x314f2c[_0x1b6f43(0x232)]},'secretEnvironment':_0x1bff67[_0x1b6f43(0x1d1)],..._0x1bff67[_0x1b6f43(0x1ea)]===undefined?{}:{'personalInstructions':_0x1bff67[_0x1b6f43(0x1ea)]}});},'missionMcp':async _0x872660=>{const _0x138ec0=_0xeb4588;if(_0x872660[_0x138ec0(0x22b)]===undefined)throw new Error(_0x138ec0(0x140));const _0x17258a=await this[_0x138ec0(0x1c4)][_0x138ec0(0x1a5)]({'executionId':_0x872660[_0x138ec0(0xc8)],'sessionId':_0x872660[_0x138ec0(0xb5)],'missionId':_0x872660[_0x138ec0(0x22b)]['id'],'revision':_0x872660[_0x138ec0(0x22b)][_0x138ec0(0x232)]});return{'installation':{'targetKind':_0x138ec0(0x10b),'targetId':_0x872660[_0x138ec0(0x19e)],'catalogEntryId':_0x138ec0(0x1ae),'serverName':_0x138ec0(0x1f8),'displayName':_0x138ec0(0x1a8),'version':_0x138ec0(0xfd),'enabled':!![],'runtime':{'transport':_0x138ec0(0xf2),'url':_0x138ec0(0x121),'headers':{}},'configuration':_0x17258a[_0x138ec0(0x1a5)],'installedAt':Date[_0x138ec0(0x127)](),..._0x17258a[_0x138ec0(0x1a5)]},'secrets':_0x17258a[_0x138ec0(0xc7)]};}}),this[_0xeb4588(0xfc)]=new WorkspaceQueueWorkbenchService({'runtime':this[_0xeb4588(0x221)],'coordinator':this[_0xeb4588(0x18f)],'emit':(_0xaf665d,_0x59a47a)=>this[_0xeb4588(0x189)][_0xeb4588(0x12f)](_0xaf665d,_0x59a47a),'prepareInput':(_0x425522,_0x21900e,_0x3c0dbc)=>this[_0xeb4588(0x222)][_0xeb4588(0x15c)](_0x425522)[_0xeb4588(0x195)](_0x21900e,_0x3c0dbc)}),this[_0xeb4588(0x145)]=new SessionIdentityService({'runtime':this[_0xeb4588(0x221)],'persist':(_0x5416e6,_0xf5683f)=>{const _0x4debbf=_0xeb4588;if(_0x5416e6[_0x4debbf(0xf6)]===null||_0x5416e6[_0x4debbf(0xc4)]===null||_0x5416e6[_0x4debbf(0x192)]===null)return;this[_0x4debbf(0x108)]?.[_0x4debbf(0x81)]({'runner':_0x5416e6[_0x4debbf(0x1e6)],'externalSessionId':_0xf5683f,'workspaceId':_0x5416e6[_0x4debbf(0x19e)],'model':_0x5416e6[_0x4debbf(0xf6)],'effort':_0x5416e6[_0x4debbf(0xc4)],'access':_0x5416e6[_0x4debbf(0x192)]});},'migrateCommands':(_0x413401,_0x4fc1d3)=>this[_0xeb4588(0x1af)][_0xeb4588(0xef)](_0x413401,_0x4fc1d3),'migrateMission':(_0x5ebb6f,_0x5e91fe)=>{const _0x58ca72=_0xeb4588;this[_0x58ca72(0x167)][_0x58ca72(0xa5)](_0x5ebb6f,_0x5e91fe),this[_0x58ca72(0x1c4)][_0x58ca72(0xa5)](_0x5ebb6f,_0x5e91fe);const _0x724572=this[_0x58ca72(0x116)][_0x58ca72(0x173)](_0x5ebb6f);_0x724572!==undefined&&(this[_0x58ca72(0x116)][_0x58ca72(0x1f7)](_0x5ebb6f),_0x724572[_0x58ca72(0xb5)]=_0x5e91fe,this[_0x58ca72(0x116)][_0x58ca72(0x1cd)](_0x5e91fe,_0x724572));const _0x48fb83=this[_0x58ca72(0x18e)][_0x58ca72(0x173)](_0x5ebb6f);_0x48fb83!==undefined&&(this[_0x58ca72(0x18e)][_0x58ca72(0x1f7)](_0x5ebb6f),this[_0x58ca72(0x18e)][_0x58ca72(0x1cd)](_0x5e91fe,_0x48fb83));},'migrateQueue':(_0x31d0bc,_0x1ac8dd)=>this[_0xeb4588(0x18f)][_0xeb4588(0xa5)](_0x31d0bc,_0x1ac8dd),'migrateRunnerState':(_0x2c0965,_0x3510c6)=>this[_0xeb4588(0x189)][_0xeb4588(0x230)](_0x2c0965,_0x3510c6),'emitSession':_0x5454ab=>this[_0xeb4588(0x172)]({'session':_0x5454ab}),'emitRun':_0x4f3175=>this[_0xeb4588(0xf1)](_0xeb4588(0x1e3),{'run':_0x4f3175}),'emitQueue':_0x433c18=>this[_0xeb4588(0x18f)][_0xeb4588(0x184)](_0x433c18),'emitTurn':_0x1ed8bb=>this[_0xeb4588(0x20d)](_0x1ed8bb)}),this[_0xeb4588(0x1ba)]=new SessionLifecycleService({'database':()=>{const _0x316376=_0xeb4588;if(this[_0x316376(0x108)]===undefined)throw new Error(_0x316376(0x146));return this[_0x316376(0x108)];},'runtime':this[_0xeb4588(0x221)],'runners':this[_0xeb4588(0x222)],'projection':this[_0xeb4588(0xb7)],'identity':this[_0xeb4588(0x145)],'present':_0x2c1243=>this[_0xeb4588(0x20e)][_0xeb4588(0xbe)](_0x2c1243),'emitSession':_0xf62ded=>this[_0xeb4588(0x172)]({'session':this[_0xeb4588(0x20e)][_0xeb4588(0xbe)](_0xf62ded)}),'execute':(_0x5e006c,_0x6e9411)=>this[_0xeb4588(0xb1)](_0x5e006c,_0x6e9411),'interceptedSessionId':_0x16e6c0=>this[_0xeb4588(0xff)]===undefined?undefined:_0xeb4588(0xae)+_0x16e6c0}),this[_0xeb4588(0x1a3)]=new ExternalSessionResumeService({'runtime':this[_0xeb4588(0x221)],'runners':this[_0xeb4588(0x222)],'state':this[_0xeb4588(0x182)],'available':_0x4b042c=>this[_0xeb4588(0x222)][_0xeb4588(0x15c)](_0x4b042c)[_0xeb4588(0x1a6)](this[_0xeb4588(0x177)]),'projectionFor':_0x3a3fa9=>this[_0xeb4588(0xb7)][_0xeb4588(0xa3)](_0x3a3fa9),'managedAliasFor':_0xc21cb7=>this[_0xeb4588(0xb7)][_0xeb4588(0xe5)](_0xc21cb7),'ensureConfiguration':_0x162f61=>this[_0xeb4588(0xb7)][_0xeb4588(0x204)](_0x162f61),'configuration':_0x504b57=>this[_0xeb4588(0xb7)][_0xeb4588(0x13a)](_0x504b57),'workspacePath':_0xdec8b9=>this[_0xeb4588(0x108)]?.[_0xeb4588(0x132)](_0xdec8b9)?.[_0xeb4588(0x136)],'rememberNative':(_0x23c950,_0xc236de)=>this[_0xeb4588(0xdb)][_0xeb4588(0x71)](_0x23c950,_0xc236de),'stage':_0x22f485=>{const _0x557c55=_0xeb4588,_0x1cc6ce=this[_0x557c55(0xb7)][_0x557c55(0x13a)](_0x22f485);return this[_0x557c55(0x221)][_0x557c55(0xda)]({'workspaceId':_0x22f485[_0x557c55(0x19e)],'runner':_0x22f485[_0x557c55(0x1e6)],'externalSessionId':_0x22f485[_0x557c55(0x1d5)]??_0x22f485['id'],'nativeControl':_0x557c55(0x171),'cwd':_0x22f485[_0x557c55(0xe4)],'model':_0x1cc6ce[_0x557c55(0xf6)],'effort':_0x1cc6ce[_0x557c55(0xc4)],'access':_0x1cc6ce[_0x557c55(0x192)],..._0x22f485[_0x557c55(0x16a)]===null?{}:{'title':_0x22f485[_0x557c55(0x16a)]},..._0x22f485[_0x557c55(0xbb)]===null?{}:{'customTitle':_0x22f485[_0x557c55(0xbb)]}});},'resolve':_0x38ea3d=>this[_0xeb4588(0xb7)][_0xeb4588(0xc2)](_0x38ea3d)}),this[_0xeb4588(0x19f)]=new SessionCommandService({'runtime':this[_0xeb4588(0x221)],'runners':this[_0xeb4588(0x222)],'projection':this[_0xeb4588(0xb7)],'resume':this[_0xeb4588(0x1a3)],'profiles':()=>this[_0xeb4588(0x1ad)][_0xeb4588(0x1d7)](),'present':_0x4d5caf=>this[_0xeb4588(0x20e)][_0xeb4588(0xbe)](_0x4d5caf),'resumeQueueAfterCommandRun':_0x4c95d4=>this[_0xeb4588(0xfc)][_0xeb4588(0x1f5)](_0x4c95d4),'beginMission':_0x2f0d39=>{const _0xf94522=_0xeb4588,_0x3f5a5c=this[_0xf94522(0x1af)][_0xf94522(0x173)](_0x2f0d39['id'],_0xf94522(0x22b));if(_0x3f5a5c?.[_0xf94522(0xe2)]===!![])return{'session':this[_0xf94522(0x20e)][_0xf94522(0xbe)](_0x2f0d39),'missionAlreadyActive':!![]};_0x3f5a5c!==undefined&&(this[_0xf94522(0x167)][_0xf94522(0x8e)](_0x2f0d39['id']),this[_0xf94522(0x1af)][_0xf94522(0x8e)](_0x2f0d39['id'],_0xf94522(0x22b)));const _0x94a9d8=this[_0xf94522(0x1a4)](_0x2f0d39);return this[_0xf94522(0x18f)][_0xf94522(0x1fa)](_0x2f0d39['id']),this[_0xf94522(0x1af)][_0xf94522(0x1cd)](_0x2f0d39['id'],this[_0xf94522(0x99)]()),this[_0xf94522(0xf1)](_0xf94522(0x237),{'session':this[_0xf94522(0x20e)][_0xf94522(0xbe)](_0x94a9d8[_0xf94522(0x237)])}),{'session':this[_0xf94522(0x20e)][_0xf94522(0xbe)](_0x94a9d8[_0xf94522(0x237)]),'missionAccessChanged':_0x94a9d8[_0xf94522(0xee)]};},'mission':async({session:_0x5cff33,objective:_0x29e12f,secretEnvironment:_0xbfde2a,personalInstructions:_0x55e0c0})=>{const _0x3d5347=_0xeb4588;this[_0x3d5347(0x1a7)](_0x5cff33['id']);const _0x3358e4=this[_0x3d5347(0x1a4)](_0x5cff33),_0x30f304=_0x3358e4[_0x3d5347(0x237)],_0x37d378=this[_0x3d5347(0x167)][_0x3d5347(0x173)](_0x5cff33['id'])?.[_0x3d5347(0x199)]===_0x3d5347(0xe2);this[_0x3d5347(0x18f)][_0x3d5347(0x207)](_0x5cff33['id']);const _0x423ab4=this[_0x3d5347(0x167)][_0x3d5347(0x1df)](_0x5cff33['id'],_0x29e12f);this[_0x3d5347(0x1bd)](_0x30f304,_0x423ab4);const _0x743336=await this[_0x3d5347(0x20a)][_0x3d5347(0x23a)]({'sessionId':_0x5cff33['id'],'kind':_0x3d5347(0x1df),'content':this[_0x3d5347(0x167)][_0x3d5347(0x181)](_0x5cff33['id'],_0x3d5347(0x1df)),'deliveryIntent':_0x37d378?_0x3d5347(0xe9):_0x3d5347(0x1c1),'mission':{'id':_0x423ab4['id'],'revision':_0x423ab4[_0x3d5347(0x232)]},'secretEnvironment':_0xbfde2a,..._0x55e0c0===undefined?{}:{'personalInstructions':_0x55e0c0}});return{...isPlainRecord(_0x743336)?_0x743336:{'result':_0x743336},'missionAccessChanged':_0x3358e4[_0x3d5347(0xee)]};},'clearMission':_0x49951b=>{const _0x2abe81=_0xeb4588;return this[_0x2abe81(0x1a7)](_0x49951b['id']),this[_0x2abe81(0x167)][_0x2abe81(0x8e)](_0x49951b['id']),this[_0x2abe81(0x18f)][_0x2abe81(0x207)](_0x49951b['id']),this[_0x2abe81(0x1e8)](_0x49951b['id'],_0x2abe81(0x147)),this[_0x2abe81(0x1af)][_0x2abe81(0x8e)](_0x49951b['id'],_0x2abe81(0x22b)),this[_0x2abe81(0xf1)](_0x2abe81(0x237),{'session':this[_0x2abe81(0x20e)][_0x2abe81(0xbe)](_0x49951b)}),{'session':this[_0x2abe81(0x20e)][_0x2abe81(0xbe)](_0x49951b),'cleared':!![]};}}),this[_0xeb4588(0x20a)]=new SessionMessageService({'runtime':this[_0xeb4588(0x221)],'uploads':this[_0xeb4588(0x10d)],'attachments':this[_0xeb4588(0x134)],'commands':this[_0xeb4588(0x1af)],'coordinator':this[_0xeb4588(0x18f)],'runners':this[_0xeb4588(0x222)],'resolve':_0x3dddc6=>this[_0xeb4588(0x1a3)][_0xeb4588(0x21a)](_0x3dddc6),'present':_0x52b0fa=>this[_0xeb4588(0x20e)][_0xeb4588(0xbe)](_0x52b0fa),'emitSession':_0x412cc8=>this[_0xeb4588(0x172)]({'session':this[_0xeb4588(0x20e)][_0xeb4588(0xbe)](_0x412cc8)}),'channelToken':_0x481771=>{const _0x3ccd98=_0xeb4588,_0x4b71e7=this[_0x3ccd98(0x221)][_0x3ccd98(0x131)](_0x481771);return _0x4b71e7?.[_0x3ccd98(0x94)]??undefined;},'missionMessage':(_0xb0535a,_0xd3f221)=>{const _0x11e2c9=_0xeb4588,_0x438948=this[_0x11e2c9(0x1af)][_0x11e2c9(0x173)](_0xb0535a['id'],_0x11e2c9(0x22b));if(_0x438948?.[_0x11e2c9(0xe2)]!==!![])return undefined;const _0x54cafe=this[_0x11e2c9(0x167)][_0x11e2c9(0x173)](_0xb0535a['id']);if(_0x54cafe?.[_0x11e2c9(0x199)]===_0x11e2c9(0xe2))return{'runnerContent':_0xd3f221,'mission':{'id':_0x54cafe['id'],'revision':_0x54cafe[_0x11e2c9(0x232)]},'activated':![]};const _0x22dd4f=this[_0x11e2c9(0x167)][_0x11e2c9(0x1df)](_0xb0535a['id'],_0xd3f221);return this[_0x11e2c9(0x1bd)](_0xb0535a,_0x22dd4f),{'runnerContent':this[_0x11e2c9(0x167)][_0x11e2c9(0x181)](_0xb0535a['id'],_0x11e2c9(0x1df)),'mission':{'id':_0x22dd4f['id'],'revision':_0x22dd4f[_0x11e2c9(0x232)]},'activated':!![]};},'prepareMissionInsertion':(_0x1cd8a8,_0x35a776)=>this[_0xeb4588(0x18f)][_0xeb4588(0x1fa)](_0x1cd8a8,_0x35a776),'missionPreparationFailed':(_0x44fb57,_0x200b33,_0x487805)=>{const _0xf92fc3=_0xeb4588;if(!_0x487805)return;const _0x206b7b=this[_0xf92fc3(0x167)][_0xf92fc3(0x173)](_0x44fb57['id']);if(_0x206b7b?.['id']!==_0x200b33['id']||_0x206b7b[_0xf92fc3(0x232)]!==_0x200b33[_0xf92fc3(0x232)])return;this[_0xf92fc3(0x167)][_0xf92fc3(0x8e)](_0x44fb57['id']),this[_0xf92fc3(0x1e8)](_0x44fb57['id'],_0xf92fc3(0x98)),this[_0xf92fc3(0x1af)][_0xf92fc3(0x1cd)](_0x44fb57['id'],this[_0xf92fc3(0x99)]()),this[_0xf92fc3(0xf1)](_0xf92fc3(0x237),{'session':this[_0xf92fc3(0x20e)][_0xf92fc3(0xbe)](_0x44fb57)});}}),this[_0xeb4588(0x236)]=new SessionCatalogService({'database':()=>{const _0x15c0dd=_0xeb4588;if(this[_0x15c0dd(0x108)]===undefined)throw new Error(_0x15c0dd(0x146));return this[_0x15c0dd(0x108)];},'nodeId':()=>this[_0xeb4588(0x228)]?.[_0xeb4588(0x233)]??_0xeb4588(0x1c3),'runtime':this[_0xeb4588(0x221)],'runners':this[_0xeb4588(0x222)],'projection':this[_0xeb4588(0xb7)],'resume':this[_0xeb4588(0x1a3)],'cachedNative':()=>[...this[_0xeb4588(0x182)][_0xeb4588(0x12d)][_0xeb4588(0x22c)]()],'cachedWorkspace':_0xa0d2fb=>this[_0xeb4588(0x107)][_0xeb4588(0x95)](_0xa0d2fb),'present':_0xb81fff=>this[_0xeb4588(0x20e)][_0xeb4588(0xbe)](_0xb81fff),'projectionForNative':_0x45ebb5=>this[_0xeb4588(0xb7)][_0xeb4588(0xa3)](_0x45ebb5),'nativeIds':_0x544be2=>this[_0xeb4588(0xb7)][_0xeb4588(0x1e7)](_0x544be2),'forget':(_0x3460d3,_0x4ea355)=>this[_0xeb4588(0xb7)][_0xeb4588(0xa6)](_0x3460d3,_0x4ea355),'refreshActivity':_0x5a57aa=>this[_0xeb4588(0x231)][_0xeb4588(0xc0)](_0x5a57aa),'externalActivity':_0x526d0e=>this[_0xeb4588(0x182)][_0xeb4588(0x1f6)][_0xeb4588(0x173)](_0x526d0e),'history':(_0x1f0382,_0x34be09)=>this[_0xeb4588(0x231)][_0xeb4588(0x10a)](_0x1f0382,_0x34be09),'emitSession':_0x2641bc=>this[_0xeb4588(0x172)]({'session':this[_0xeb4588(0x20e)][_0xeb4588(0xbe)](_0x2641bc)})}),this[_0xeb4588(0x9e)][_0xeb4588(0x1b5)]({'start':_0x152b23=>this[_0xeb4588(0x1b7)][_0xeb4588(0x1df)](_0x152b23),'cancel':(_0x36ec2b,_0x454505)=>{const _0x3bc730=_0xeb4588,_0x392e99=this[_0x3bc730(0x9e)][_0x3bc730(0x100)][_0x3bc730(0xca)][_0x3bc730(0x173)](_0x36ec2b);if(_0x392e99?.[_0x3bc730(0xf4)]===undefined)return![];return void this[_0x3bc730(0x1b8)][_0x3bc730(0x1ec)](_0x36ec2b,_0x392e99[_0x3bc730(0x13b)],_0x392e99[_0x3bc730(0xf4)],_0x392e99[_0x3bc730(0xe4)],_0x454505===_0x3bc730(0xd1)?_0x3bc730(0x104):_0x3bc730(0x88)),!![];},'decideApproval':_0x54a67f=>this[_0xeb4588(0x1b8)][_0xeb4588(0x11c)](_0x54a67f[_0xeb4588(0xe8)],_0x54a67f[_0xeb4588(0x1ef)])}),this[_0xeb4588(0x175)][_0xeb4588(0x1b5)]({'start':_0x37e7de=>this[_0xeb4588(0x155)][_0xeb4588(0x1df)](_0x37e7de),'cancel':(_0x5c54b0,_0x32678f)=>this[_0xeb4588(0x1b8)][_0xeb4588(0x124)](_0x5c54b0,_0x32678f),'decideApproval':_0xb45169=>this[_0xeb4588(0x1b8)][_0xeb4588(0x11e)](_0xb45169[_0xeb4588(0xe8)],_0xb45169[_0xeb4588(0x1ef)])}),this[_0xeb4588(0x201)][_0xeb4588(0x1b5)]({'start':_0x19fe42=>this[_0xeb4588(0x114)][_0xeb4588(0x1df)](_0x19fe42),'cancel':(_0x49ce17,_0x103b19)=>this[_0xeb4588(0x114)][_0xeb4588(0xf7)](_0x49ce17,_0x103b19),'decideApproval':_0x5a2042=>this[_0xeb4588(0x114)][_0xeb4588(0x130)](_0x5a2042),'respondUserInput':(_0x3247c7,_0x5d1a5a,_0x210f92)=>this[_0xeb4588(0x114)][_0xeb4588(0x13d)](_0x3247c7,_0x5d1a5a,_0x210f92)}),this[_0xeb4588(0x210)][_0xeb4588(0x1b5)]({'start':_0x5eb0e4=>this[_0xeb4588(0x1cc)][_0xeb4588(0x1df)](_0x5eb0e4),'cancel':(_0x337231,_0x1ac508)=>this[_0xeb4588(0x1cc)][_0xeb4588(0xf7)](_0x337231,_0x1ac508),'decideApproval':_0x461591=>this[_0xeb4588(0x1cc)][_0xeb4588(0x130)](_0x461591),'respondUserInput':(_0xe989a4,_0x310bc1,_0x54deee)=>this[_0xeb4588(0x1cc)][_0xeb4588(0x13d)](_0xe989a4,_0x310bc1,_0x54deee)}),this[_0xeb4588(0x9e)][_0xeb4588(0x1d9)]({'execute':(_0x2382d4,_0x2eb7f7,_0x298614,_0x41739b)=>this[_0xeb4588(0x1b7)][_0xeb4588(0x1f4)](_0x2382d4,_0x2eb7f7,_0x298614,_0x41739b)}),this[_0xeb4588(0x175)][_0xeb4588(0x1d9)]({'execute':(_0x33743a,_0x317ba5,_0x3b3dc8,_0x298375)=>this[_0xeb4588(0x155)][_0xeb4588(0x1f4)](_0x33743a,_0x317ba5,_0x3b3dc8,_0x298375)}),this[_0xeb4588(0x201)][_0xeb4588(0x1d9)]({'execute':(_0x430178,_0x48437d,_0x1404c9,_0x533189)=>this[_0xeb4588(0x114)][_0xeb4588(0x1f4)](_0x430178,_0x48437d,_0x533189)}),this[_0xeb4588(0x210)][_0xeb4588(0x1d9)]({'execute':(_0x5bdea8,_0x11c026,_0x21c552,_0x5cbe97)=>this[_0xeb4588(0x1cc)][_0xeb4588(0x1f4)](_0x5bdea8,_0x11c026,_0x21c552,_0x5cbe97)});const _0x56b4ec=this[_0xeb4588(0xff)]===undefined||this[_0xeb4588(0x18b)]===undefined?undefined:new FakeManagedRunService({'runner':this[_0xeb4588(0xff)],'script':this[_0xeb4588(0x18b)],'runners':this[_0xeb4588(0x222)],'runtime':this[_0xeb4588(0x221)],'state':this[_0xeb4588(0xe0)],'emitRun':(_0x195c05,_0x96e087,_0x46e1ed,_0x17c527)=>this[_0xeb4588(0x189)][_0xeb4588(0x156)](_0x195c05,_0x96e087,_0x46e1ed,_0x17c527),'publishApproval':_0x47aa19=>this[_0xeb4588(0x189)][_0xeb4588(0x129)](_0x47aa19),'disconnect':()=>this[_0xeb4588(0x113)][_0xeb4588(0x9d)](0x1*-0x337+-0x1*0x10e7+0x23c8,_0xeb4588(0x176))});this[_0xeb4588(0xff)]?.[_0xeb4588(0x1b5)]({'start':_0x9a582e=>_0x56b4ec?.[_0xeb4588(0x1df)](_0x9a582e),'cancel':(_0x5606f9,_0x5c6a5a)=>_0x5c6a5a===_0xeb4588(0xd1)?this[_0xeb4588(0xff)]?.[_0xeb4588(0xf7)](_0x5606f9)??![]:this[_0xeb4588(0xff)]?.[_0xeb4588(0x180)](_0x5606f9)??![],'decideApproval':_0x5267e7=>this[_0xeb4588(0xff)]?.[_0xeb4588(0x91)](_0x5267e7[_0xeb4588(0xc8)],_0x5267e7[_0xeb4588(0xe8)],_0x5267e7[_0xeb4588(0x1ef)])??![]}),this[_0xeb4588(0x18c)]=_0x168eaa[_0xeb4588(0x18c)]??new RunnerUsageReader(),this[_0xeb4588(0x108)]=_0x168eaa[_0xeb4588(0x108)],this[_0xeb4588(0x209)]=_0x168eaa[_0xeb4588(0x209)]??new TerminalManager({'platform':this[_0xeb4588(0x177)][_0xeb4588(0x200)]===_0xeb4588(0x117)?_0xeb4588(0xeb):_0xeb4588(0x1d6)}),this[_0xeb4588(0x209)][_0xeb4588(0x1aa)](_0x5e62c7=>this[_0xeb4588(0x107)][_0xeb4588(0x6a)](_0x5e62c7)),this[_0xeb4588(0x19c)]=new NodeTerminalChannel({'config':()=>this[_0xeb4588(0x228)],'controlConnected':()=>this[_0xeb4588(0x113)][_0xeb4588(0x238)](),'stopped':()=>this[_0xeb4588(0xb9)],'reconnect':this[_0xeb4588(0x1e2)],'reconnectDelay':nextReconnectDelay,'manager':this[_0xeb4588(0x209)]}),this[_0xeb4588(0x113)]=new NodeControlChannel({'config':()=>this[_0xeb4588(0x228)],'capabilities':()=>this[_0xeb4588(0x177)],'stopped':()=>this[_0xeb4588(0xb9)],'reconnect':this[_0xeb4588(0x1e2)],'reconnectDelay':nextReconnectDelay,'onConnecting':_0x16ba80=>{const _0x7c7354=_0xeb4588;this[_0x7c7354(0x7d)][_0x7c7354(0xdf)](),nodeLog(_0x7c7354(0x194),{'attempt':_0x16ba80});},'onReconnectScheduled':()=>this[_0xeb4588(0x7d)][_0xeb4588(0x15f)](),'onMessage':_0x37774e=>this[_0xeb4588(0x188)](_0x37774e),'onClose':(_0xeac0f3,_0x4afd37)=>{const _0x286d6e=_0xeb4588;this[_0x286d6e(0x19c)][_0x286d6e(0x214)]();if(_0xeac0f3===0x1b5a+-0x1d4d+-0x199*-0xb&&_0x4afd37===_0x286d6e(0x1b6))nodeLog(_0x286d6e(0x1b1),{'message':_0x286d6e(0x11d)});if(_0xeac0f3===0xb*-0x14c+-0x860+0x1*0x2647||_0xeac0f3===-0xb4a+0x20ff+0x4*-0x473)void this[_0x286d6e(0x209)][_0x286d6e(0xbd)]();}}),this[_0xeb4588(0x128)]=new NodeControlMessageService({'config':()=>this[_0xeb4588(0x228)],'register':(_0x5f45f9,_0x16bbdb)=>this[_0xeb4588(0x144)][_0xeb4588(0x1dd)](_0x5f45f9,_0x16bbdb),'connected':()=>this[_0xeb4588(0x144)][_0xeb4588(0x238)](),'close':(_0x2f131,_0x4ce7da)=>this[_0xeb4588(0x113)][_0xeb4588(0x9d)](_0x2f131,_0x4ce7da),'inspectWorkspace':_0xb4f454=>this[_0xeb4588(0x107)][_0xeb4588(0x12e)](_0xb4f454),'handleNodeRequest':_0x530960=>this[_0xeb4588(0x15d)][_0xeb4588(0x123)](_0x530960),'reconcileRuns':_0x3421d3=>this[_0xeb4588(0x189)][_0xeb4588(0x18a)](_0x3421d3),'runners':this[_0xeb4588(0x222)],'deliverSessionChannelMessage':_0x5a8988=>this[_0xeb4588(0x218)][_0xeb4588(0x123)](_0x5a8988),'completeUncontrolledCancellation':_0x52f156=>{const _0x49bc12=_0xeb4588,_0x3a4307=this[_0x49bc12(0x221)][_0x49bc12(0x110)](_0x52f156);if(_0x3a4307?.[_0x49bc12(0x199)]===_0x49bc12(0x14f))this[_0x49bc12(0x1b8)][_0x49bc12(0x13e)](_0x52f156);},'send':(_0x577d86,_0x22a01c,_0x36bd55)=>this[_0xeb4588(0x1f0)](_0x577d86,_0x22a01c,_0x36bd55)}),this[_0xeb4588(0x15d)]=new NodeRequestService({'nodeId':()=>this[_0xeb4588(0x228)]?.[_0xeb4588(0x233)],'databaseAvailable':()=>this[_0xeb4588(0x108)]!==undefined,'execute':(_0x4fc6f3,_0x9fa8df)=>this[_0xeb4588(0xb1)](_0x4fc6f3,_0x9fa8df),'send':(_0x29df31,_0x2bb48c,_0x268594)=>this[_0xeb4588(0x1f0)](_0x29df31,_0x2bb48c,_0x268594)}),this[_0xeb4588(0x107)]=new NodeWorkspaceCoordinator({'config':()=>this[_0xeb4588(0x228)],'database':()=>this[_0xeb4588(0x108)],'watches':this[_0xeb4588(0x1c2)],'sessions':this[_0xeb4588(0x17d)],'changes':this[_0xeb4588(0x87)],'emit':(_0x1cb8e0,_0x21f457)=>void this[_0xeb4588(0xce)]?.[_0xeb4588(0x11f)](_0x1cb8e0,_0x21f457),'send':(_0x2be07b,_0x2e64f9,_0x33e6f0)=>this[_0xeb4588(0x1f0)](_0x2be07b,_0x2e64f9,_0x33e6f0)}),this[_0xeb4588(0x189)]=new NodeRunEventBridge({'runtime':this[_0xeb4588(0x221)],'state':this[_0xeb4588(0xe0)],'events':this[_0xeb4588(0x157)],'emitWorkbench':(_0x427715,_0x24e768)=>this[_0xeb4588(0x1bb)](_0x427715,_0x24e768),'queues':this[_0xeb4588(0xfc)],'codex':this[_0xeb4588(0x9e)],'claude':this[_0xeb4588(0x175)],'openCode':this[_0xeb4588(0x201)],'send':(_0x328b05,_0x401f73,_0x48c681)=>this[_0xeb4588(0x1f0)](_0x328b05,_0x401f73,_0x48c681)}),this[_0xeb4588(0x144)]=new NodeConnectionLifecycleService({'config':()=>this[_0xeb4588(0x228)],'setConfig':_0xb81860=>this[_0xeb4588(0x228)]=_0xb81860,'configPath':this[_0xeb4588(0x170)],'capabilities':()=>this[_0xeb4588(0x177)],'detectCapabilities':this[_0xeb4588(0x14c)],'capabilitiesProvided':this[_0xeb4588(0x213)],'stopped':()=>this[_0xeb4588(0xb9)],'setCapabilities':_0x2c5fb2=>this[_0xeb4588(0x177)]={..._0x2c5fb2,'metadata':upgradeMetadata(_0x2c5fb2[_0xeb4588(0xe7)],this[_0xeb4588(0x211)][_0xeb4588(0x143)]())},'control':this[_0xeb4588(0x113)],'terminal':this[_0xeb4588(0x19c)],'metrics':this[_0xeb4588(0x7d)],'heartbeatMs':HEARTBEAT_MS,'refreshMs':CAPABILITY_REFRESH_MS,'onRegistered':()=>this[_0xeb4588(0x205)](),'onConnected':()=>this[_0xeb4588(0x7f)][_0xeb4588(0x8f)]()});const _0x390f78=()=>{const _0x20103d=_0xeb4588;if(this[_0x20103d(0x108)]===undefined)throw new Error(_0x20103d(0x146));return this[_0x20103d(0x108)];};this[_0xeb4588(0x1ad)]=new RunnerService(_0x390f78,()=>this[_0xeb4588(0x177)],this[_0xeb4588(0x222)],this[_0xeb4588(0x18c)]),this[_0xeb4588(0x1cb)]=new WorkbenchManifestService({'capabilities':()=>this[_0xeb4588(0x177)],'runners':this[_0xeb4588(0x1ad)],'terminals':this[_0xeb4588(0x209)]}),this[_0xeb4588(0xa8)]=new TerminalService(_0x390f78,this[_0xeb4588(0x209)]),this[_0xeb4588(0x224)]=new WorkspaceService(_0x390f78,()=>{const _0x3e9e0e=_0xeb4588;if(this[_0x3e9e0e(0x228)]===undefined)throw new Error(_0x3e9e0e(0x225));return this[_0x3e9e0e(0x228)];},this[_0xeb4588(0x221)],_0x27a8ae=>{const _0x3f92f0=_0xeb4588;this[_0x3f92f0(0x229)][_0x3f92f0(0x1f1)](_0x27a8ae),this[_0x3f92f0(0x107)][_0x3f92f0(0xa9)](_0x27a8ae),this[_0x3f92f0(0x17d)][_0x3f92f0(0xde)](_0x27a8ae),this[_0x3f92f0(0x107)][_0x3f92f0(0x17b)](_0x27a8ae);}),this[_0xeb4588(0xce)]=new WorkspaceWorkbenchService({'requireWorkspace':_0x3841f9=>this[_0xeb4588(0x107)][_0xeb4588(0x15c)](_0x3841f9),'inspectWorkspace':_0x72453e=>this[_0xeb4588(0x107)][_0xeb4588(0x226)](_0x72453e),'commitWorkspace':(_0x11f17f,_0x293810)=>this[_0xeb4588(0x107)][_0xeb4588(0x151)](_0x11f17f,_0x293810),'watch':this[_0xeb4588(0x1c2)],'files':this[_0xeb4588(0x229)],'uploads':this[_0xeb4588(0x10d)],'changes':this[_0xeb4588(0x87)],'listSessions':_0x406029=>this[_0xeb4588(0xb1)](_0xeb4588(0x9a),{'workspaceId':_0x406029,'limit':0x14}),'invalidate':_0x221e37=>{const _0x182254=_0xeb4588;this[_0x182254(0x229)][_0x182254(0x1f1)](_0x221e37),this[_0x182254(0x107)][_0x182254(0xde)](_0x221e37);},'nodeId':()=>this[_0xeb4588(0x228)]?.[_0xeb4588(0x233)]??_0xeb4588(0xd6),'nodeGeneration':()=>this[_0xeb4588(0x1c0)],'emitWatchEvent':_0x27b362=>this[_0xeb4588(0x1f0)](_0xeb4588(0x164),_0x27b362)});for(const _0x6ce30b of CONVERSATION_TEMPLATE_OPERATIONS)this[_0xeb4588(0x208)][_0xeb4588(0x1dd)](_0x6ce30b,_0x4e09ea=>{const _0x2269b5=_0xeb4588,_0x5a07ee=this[_0x2269b5(0xcc)]?.[_0x6ce30b];if(_0x5a07ee===undefined)throw new Error(_0x2269b5(0x1c7));return _0x5a07ee(_0x4e09ea);});for(const _0x37ce9c of HOSTED_CONVERSATION_OPERATIONS)this[_0xeb4588(0x208)][_0xeb4588(0x1dd)](_0x37ce9c,_0x127ce8=>{const _0x9f47d6=_0xeb4588,_0x102956=this[_0x9f47d6(0x19a)]?.[_0x37ce9c];if(_0x102956===undefined)throw new Error(_0x9f47d6(0x1c7));return _0x102956(_0x127ce8);});for(const _0x3486bc of CONVERSATION_HOSTING_MAINTENANCE_OPERATIONS)this[_0xeb4588(0x208)][_0xeb4588(0x1dd)](_0x3486bc,_0x3045e7=>{const _0x4d2bcb=_0xeb4588,_0x3097c7=this[_0x4d2bcb(0x16e)]?.[_0x3486bc];if(_0x3097c7===undefined)throw new Error(_0x4d2bcb(0x1c7));return _0x3097c7(_0x3045e7);});this[_0xeb4588(0x208)][_0xeb4588(0x8d)](this[_0xeb4588(0x1ad)][_0xeb4588(0x217)]()),this[_0xeb4588(0x208)][_0xeb4588(0x8d)](this[_0xeb4588(0xa8)][_0xeb4588(0x217)]()),this[_0xeb4588(0x208)][_0xeb4588(0x8d)](this[_0xeb4588(0x224)][_0xeb4588(0x217)]()),this[_0xeb4588(0x208)][_0xeb4588(0x8d)](this[_0xeb4588(0xce)][_0xeb4588(0x217)]()),this[_0xeb4588(0x208)][_0xeb4588(0x8d)](this[_0xeb4588(0x197)][_0xeb4588(0x217)]()),this[_0xeb4588(0x208)][_0xeb4588(0x8d)](this[_0xeb4588(0x10f)][_0xeb4588(0x217)]()),this[_0xeb4588(0x208)][_0xeb4588(0x8d)](this[_0xeb4588(0x10c)][_0xeb4588(0x217)]()),this[_0xeb4588(0x208)][_0xeb4588(0x8d)](this[_0xeb4588(0x1ba)][_0xeb4588(0x217)]()),this[_0xeb4588(0x208)][_0xeb4588(0x8d)](this[_0xeb4588(0x20a)][_0xeb4588(0x217)]()),this[_0xeb4588(0x208)][_0xeb4588(0x8d)](this[_0xeb4588(0x236)][_0xeb4588(0x217)]()),this[_0xeb4588(0x208)][_0xeb4588(0x8d)](this[_0xeb4588(0x19f)][_0xeb4588(0x217)]()),this[_0xeb4588(0x208)][_0xeb4588(0x8d)](this[_0xeb4588(0xfc)][_0xeb4588(0x217)]()),this[_0xeb4588(0x208)][_0xeb4588(0x8d)](new SkillNodeOperationService(_0x390f78,()=>{const _0x2b2ec6=_0xeb4588;if(this[_0x2b2ec6(0x228)]===undefined)throw new Error(_0x2b2ec6(0x225));return this[_0x2b2ec6(0x228)];})[_0xeb4588(0x217)]()),this[_0xeb4588(0x208)][_0xeb4588(0x8d)](new McpNodeOperationService(_0x390f78)[_0xeb4588(0x217)]()),this[_0xeb4588(0x208)][_0xeb4588(0x1dd)](_0xeb4588(0xed),()=>({'metrics':{...this[_0xeb4588(0x7d)][_0xeb4588(0x143)](),'activeRuns':this[_0xeb4588(0xe0)][_0xeb4588(0xe2)][_0xeb4588(0xf5)],'workspaceLeases':this[_0xeb4588(0x221)][_0xeb4588(0x138)]()}})),this[_0xeb4588(0x208)][_0xeb4588(0x1dd)](_0xeb4588(0x90),_0x125d69=>this[_0xeb4588(0x211)][_0xeb4588(0x1be)](_0x125d69)),this[_0xeb4588(0x208)][_0xeb4588(0x1dd)](_0xeb4588(0x1da),()=>this[_0xeb4588(0x211)][_0xeb4588(0xf7)]()),this[_0xeb4588(0x208)][_0xeb4588(0x1dd)](_0xeb4588(0x6f),async()=>({'manifest':await this[_0xeb4588(0x1cb)][_0xeb4588(0x10a)]()}));}async[_0x20219f(0x205)](){const _0x1b6c1b=_0x20219f,_0x1c6243=this[_0x1b6c1b(0xd8)],_0x475da8=this[_0x1b6c1b(0xa2)],_0x2b0c4e=this[_0x1b6c1b(0x1ce)];this[_0x1b6c1b(0xd8)]=undefined,this[_0x1b6c1b(0xa2)]=undefined,this[_0x1b6c1b(0x1ce)]=undefined,this[_0x1b6c1b(0x19a)]=undefined,this[_0x1b6c1b(0x16e)]=undefined,this[_0x1b6c1b(0xcc)]=undefined,this[_0x1b6c1b(0x149)]=![],this[_0x1b6c1b(0x12a)]=undefined,await _0x2b0c4e?.[_0x1b6c1b(0x1f1)](),_0x475da8?.[_0x1b6c1b(0x1f1)](),await _0x1c6243?.[_0x1b6c1b(0x1f1)]()[_0x1b6c1b(0x17c)](()=>undefined);const _0x3578ee=this[_0x1b6c1b(0x228)];if(_0x3578ee?.[_0x1b6c1b(0xd7)]?.[_0x1b6c1b(0x220)]===!![]&&this[_0x1b6c1b(0x177)][_0x1b6c1b(0x200)]===_0x1b6c1b(0x1d6)){if(_0x3578ee[_0x1b6c1b(0x233)]===undefined)this[_0x1b6c1b(0x12a)]=_0x1b6c1b(0xf3);else{let _0x31b322,_0x3dd100,_0x473fb2;try{if(this[_0x1b6c1b(0x108)]===undefined)throw new Error(_0x1b6c1b(0x146));const _0x5bfc98=hostedConversationStorePath(_0x3578ee,this[_0x1b6c1b(0x170)]);if(_0x5bfc98===undefined)throw new Error(_0x1b6c1b(0x73));const _0x509879=new HostedConversationStore({'dataDirectory':nodeDataDirectory(_0x3578ee,this[_0x1b6c1b(0x170)]),'rootDirectory':_0x5bfc98,'nodeId':_0x3578ee[_0x1b6c1b(0x233)],'database':this[_0x1b6c1b(0x108)]});await _0x509879[_0x1b6c1b(0xd3)]();const _0x29427f=new ConversationTemplateNodeService({'database':this[_0x1b6c1b(0x108)],'store':_0x509879,'nodeId':()=>this[_0x1b6c1b(0x228)]?.[_0x1b6c1b(0x233)]??_0x1b6c1b(0xf8)});await _0x29427f[_0x1b6c1b(0xac)](),await _0x509879[_0x1b6c1b(0x7c)](),_0x31b322=new MarAgentHostedConversationRuntime({'webSearch':(_0x32cb2d,_0x9af71c)=>this[_0x1b6c1b(0xdd)](_0x32cb2d,_0x9af71c)}),_0x3dd100=new HostedConversationNodeService({'database':this[_0x1b6c1b(0x108)],'store':_0x509879,'runtime':_0x31b322,'nodeId':()=>this[_0x1b6c1b(0x228)]?.[_0x1b6c1b(0x233)]??_0x1b6c1b(0xf8),'nodeGeneration':()=>this[_0x1b6c1b(0x1c0)],'sessionWatchSlots':this[_0x1b6c1b(0xcb)],'emitWatchEvent':_0x4d7ae1=>this[_0x1b6c1b(0x1f0)](_0x1b6c1b(0x164),_0x4d7ae1),'nextWorkbenchEvent':_0x305468=>this[_0x1b6c1b(0x20b)][_0x1b6c1b(0xc6)](_0x1b6c1b(0x9b),_0x305468),'emitWorkbenchEvent':_0x1c5dc6=>this[_0x1b6c1b(0x20b)][_0x1b6c1b(0x184)](_0x1c5dc6),'processExecutorFactory':_0xa45c3f=>new BubblewrapSandboxExecutor(_0xa45c3f),'assertCanCreate':()=>{const _0x2d3f80=_0x1b6c1b;if(_0x473fb2===undefined)throw new Error(_0x2d3f80(0x1c7));return _0x473fb2[_0x2d3f80(0x163)]();}}),_0x473fb2=new ConversationHostingMaintenanceService({'store':_0x509879,'inactiveRetentionDays':_0x3578ee[_0x1b6c1b(0xd7)][_0x1b6c1b(0x1fd)]??-0x1061+0x17f*-0x1+-0x7a*-0x26,'isConversationInUse':_0x5cd5b0=>_0x3dd100?.[_0x1b6c1b(0xf9)](_0x5cd5b0)??!![],'beginConversationCleanup':_0x507fb0=>_0x3dd100?.[_0x1b6c1b(0x82)](_0x507fb0),'releaseConversation':_0x3f38ce=>{const _0x135229=_0x1b6c1b;if(_0x3dd100===undefined)throw new Error(_0x135229(0x1c7));return _0x3dd100[_0x135229(0x75)](_0x3f38ce);},'onAutomaticCleanupError':_0x2cd61d=>nodeLog(_0x1b6c1b(0x112),{'nodeId':_0x3578ee[_0x1b6c1b(0x233)],'code':safeErrorCode(_0x2cd61d,_0x1b6c1b(0x1f9))})}),this[_0x1b6c1b(0xcc)]=_0x29427f[_0x1b6c1b(0x217)](),this[_0x1b6c1b(0x19a)]=_0x3dd100[_0x1b6c1b(0x217)](),this[_0x1b6c1b(0x16e)]=_0x473fb2[_0x1b6c1b(0x217)](),this[_0x1b6c1b(0xd8)]=_0x31b322,this[_0x1b6c1b(0xa2)]=_0x3dd100,this[_0x1b6c1b(0x1ce)]=_0x473fb2,await _0x473fb2[_0x1b6c1b(0x1df)](),this[_0x1b6c1b(0x149)]=!![];}catch(_0x473c16){await _0x473fb2?.[_0x1b6c1b(0x1f1)](),_0x3dd100?.[_0x1b6c1b(0x1f1)](),await _0x31b322?.[_0x1b6c1b(0x1f1)]()[_0x1b6c1b(0x17c)](()=>undefined),this[_0x1b6c1b(0x12a)]=safeErrorCode(_0x473c16,_0x1b6c1b(0x17a)),nodeLog(_0x1b6c1b(0xea),{'nodeId':_0x3578ee[_0x1b6c1b(0x233)],'code':this[_0x1b6c1b(0x12a)]});}}}this[_0x1b6c1b(0x177)]=await this[_0x1b6c1b(0x22e)](this[_0x1b6c1b(0x177)]);}async[_0x20219f(0x22e)](_0x5a3cb6){const _0xb89276=_0x20219f;let _0x46d672=this[_0xb89276(0x149)],_0x4371fc=this[_0xb89276(0x12a)],_0x4a66b5=_0xb89276(0x1d2);if(_0x46d672&&this[_0xb89276(0x1ce)]!==undefined)try{_0x4a66b5=(await this[_0xb89276(0x1ce)][_0xb89276(0x119)]())[_0xb89276(0x22a)];}catch(_0x3d7239){_0x46d672=![],_0x4371fc=safeErrorCode(_0x3d7239,_0xb89276(0x73));}return{..._0x5a3cb6,'conversationHosting':await conversationHostingCapability(_0x5a3cb6,this[_0xb89276(0x228)],_0x46d672,_0x4371fc,this[_0xb89276(0x139)],_0x4a66b5)};}async[_0x20219f(0x1df)](){const _0xae47a9=_0x20219f;if(this[_0xae47a9(0x187)]!==undefined)await this[_0xae47a9(0x187)];this[_0xae47a9(0x187)]=undefined,this[_0xae47a9(0xb9)]=![],this[_0xae47a9(0x228)]??=await loadNodeConfig(this[_0xae47a9(0x170)]),await this[_0xae47a9(0x211)][_0xae47a9(0x1d0)](resolve(dirname(nodeDatabasePath(this[_0xae47a9(0x228)],this[_0xae47a9(0x170)])),_0xae47a9(0x16f))),await assertLocalSqlitePath(nodeDatabasePath(this[_0xae47a9(0x228)],this[_0xae47a9(0x170)])),this[_0xae47a9(0x108)]??=new NodeDatabase(nodeDatabasePath(this[_0xae47a9(0x228)],this[_0xae47a9(0x170)]),()=>this[_0xae47a9(0x228)]?.[_0xae47a9(0x233)]??_0xae47a9(0xf8)),this[_0xae47a9(0x108)][_0xae47a9(0x102)](),await this[_0xae47a9(0x205)](),this[_0xae47a9(0x144)][_0xae47a9(0x1df)](),this[_0xae47a9(0x113)][_0xae47a9(0x196)]();}[_0x20219f(0x1a7)](_0x2a721d){const _0x6ca7fd=_0x20219f,_0x3f4053=this[_0x6ca7fd(0x116)][_0x6ca7fd(0x173)](_0x2a721d);if(_0x3f4053!==undefined)clearTimeout(_0x3f4053[_0x6ca7fd(0x7a)]);this[_0x6ca7fd(0x116)][_0x6ca7fd(0x1f7)](_0x2a721d),this[_0x6ca7fd(0x18e)][_0x6ca7fd(0x1f7)](_0x2a721d);}async[_0x20219f(0x1b0)](_0x42bb36){const _0x483855=_0x20219f,_0xa62a0c=_0x42bb36[_0x483855(0x22b)]['id']+':'+_0x42bb36[_0x483855(0x22b)][_0x483855(0x232)];this[_0x483855(0x18e)][_0x483855(0x1cd)](_0x42bb36[_0x483855(0xb5)],_0xa62a0c);try{await this[_0x483855(0x20a)][_0x483855(0x23a)]({'sessionId':_0x42bb36[_0x483855(0xb5)],'kind':_0x483855(0x185),'content':this[_0x483855(0x167)][_0x483855(0x181)](_0x42bb36[_0x483855(0xb5)],_0x483855(0x185)),'deliveryIntent':_0x483855(0xd4),'mission':_0x42bb36[_0x483855(0x22b)],'secretEnvironment':_0x42bb36[_0x483855(0x1d1)],..._0x42bb36[_0x483855(0x1ea)]===undefined?{}:{'personalInstructions':_0x42bb36[_0x483855(0x1ea)]}});const _0x2afabe=this[_0x483855(0x167)][_0x483855(0x173)](_0x42bb36[_0x483855(0xb5)]);if(_0x2afabe?.[_0x483855(0x199)]!==_0x483855(0xe2)||_0x2afabe['id']!==_0x42bb36[_0x483855(0x22b)]['id']||_0x2afabe[_0x483855(0x232)]!==_0x42bb36[_0x483855(0x22b)][_0x483855(0x232)]){if(this[_0x483855(0x18e)][_0x483855(0x173)](_0x42bb36[_0x483855(0xb5)])===_0xa62a0c)this[_0x483855(0x18e)][_0x483855(0x1f7)](_0x42bb36[_0x483855(0xb5)]);return;}this[_0x483855(0x1a7)](_0x42bb36[_0x483855(0xb5)]);}catch{const _0x633202=this[_0x483855(0x167)][_0x483855(0x173)](_0x42bb36[_0x483855(0xb5)]);if(_0x633202?.[_0x483855(0x199)]!==_0x483855(0xe2)||_0x633202['id']!==_0x42bb36[_0x483855(0x22b)]['id']||_0x633202[_0x483855(0x232)]!==_0x42bb36[_0x483855(0x22b)][_0x483855(0x232)]){if(this[_0x483855(0x18e)][_0x483855(0x173)](_0x42bb36[_0x483855(0xb5)])===_0xa62a0c)this[_0x483855(0x18e)][_0x483855(0x1f7)](_0x42bb36[_0x483855(0xb5)]);return;}const _0x4125d7=(_0x42bb36[_0x483855(0x1dc)]??0x34+-0x1ee*-0x9+-0x1192)+(0x96e+-0x1ec5*0x1+0x1558),_0x34b5a3=this[_0x483855(0x221)][_0x483855(0x131)](_0x42bb36[_0x483855(0xb5)]);if(_0x4125d7>-0x103a+0xd65+0x2d8||_0x34b5a3===undefined){this[_0x483855(0x1a7)](_0x42bb36[_0x483855(0xb5)]);if(_0x4125d7>-0x2*-0x9d6+-0x1c02+-0x859*-0x1){const _0x555d29=this[_0x483855(0x167)][_0x483855(0x125)](_0x42bb36[_0x483855(0xb5)],_0x42bb36[_0x483855(0x22b)]['id'],_0x42bb36[_0x483855(0x22b)][_0x483855(0x232)]);this[_0x483855(0x18f)][_0x483855(0x207)](_0x42bb36[_0x483855(0xb5)]),this[_0x483855(0x1e8)](_0x42bb36[_0x483855(0xb5)],_0x483855(0x98));if(_0x34b5a3!==undefined)this[_0x483855(0x1bd)](_0x34b5a3,_0x555d29);}return;}this[_0x483855(0x1a7)](_0x42bb36[_0x483855(0xb5)]);const _0x3b836f={'sessionId':_0x42bb36[_0x483855(0xb5)],'timer':setTimeout(()=>{const _0x412008=_0x483855,_0x3a885a=this[_0x412008(0x167)][_0x412008(0x173)](_0x3b836f[_0x412008(0xb5)]);if(_0x3a885a?.[_0x412008(0x199)]!==_0x412008(0xe2)||_0x3a885a['id']!==_0x42bb36[_0x412008(0x22b)]['id']||_0x3a885a[_0x412008(0x232)]!==_0x42bb36[_0x412008(0x22b)][_0x412008(0x232)])return;void this[_0x412008(0x1b0)]({..._0x42bb36,'sessionId':_0x3b836f[_0x412008(0xb5)],'failedAttempts':_0x4125d7});},0xc*0x6b3+-0x32*0x130+-0x965*-0x4)};this[_0x483855(0x116)][_0x483855(0x1cd)](_0x42bb36[_0x483855(0xb5)],_0x3b836f),_0x3b836f[_0x483855(0x7a)][_0x483855(0x22f)]();}}[_0x20219f(0x1e8)](_0x2155a9,_0x362c57){const _0x2a832c=_0x20219f,_0x216eaf=this[_0x2a832c(0x221)][_0x2a832c(0x1eb)](_0x2155a9);if(_0x216eaf===undefined||this[_0x2a832c(0x221)][_0x2a832c(0x8b)](_0x216eaf['id'])!==undefined)return;this[_0x2a832c(0x189)][_0x2a832c(0x156)](_0x216eaf['id'],_0x362c57===_0x2a832c(0x147)?_0x2a832c(0x212):_0x2a832c(0x216),_0x362c57===_0x2a832c(0x147)?{}:{'code':_0x2a832c(0x202)},_0x362c57);}[_0x20219f(0x1a4)](_0x55deb6){const _0x1e4f71=_0x20219f,_0x59b2a5=missionUnrestrictedAccess(_0x55deb6[_0x1e4f71(0x1e6)]),_0x2dbded=_0x55deb6[_0x1e4f71(0x192)]!==_0x59b2a5,_0x3f7425=_0x2dbded?this[_0x1e4f71(0x221)][_0x1e4f71(0x106)](_0x55deb6['id'],_0x59b2a5):_0x55deb6;if(_0x2dbded&&_0x3f7425[_0x1e4f71(0x1d5)]!==null&&_0x3f7425[_0x1e4f71(0xf6)]!==null&&_0x3f7425[_0x1e4f71(0xc4)]!==null)this[_0x1e4f71(0x108)]?.[_0x1e4f71(0x81)]({'runner':_0x3f7425[_0x1e4f71(0x1e6)],'externalSessionId':_0x3f7425[_0x1e4f71(0x1d5)],'workspaceId':_0x3f7425[_0x1e4f71(0x19e)],'model':_0x3f7425[_0x1e4f71(0xf6)],'effort':_0x3f7425[_0x1e4f71(0xc4)],'access':_0x59b2a5});return{'session':_0x3f7425,'changed':_0x2dbded};}[_0x20219f(0x99)](){const _0x189f2c=_0x20219f;return{'commandId':_0x189f2c(0x22b),'active':!![],'label':_0x189f2c(0x1a8),'detail':null,'closable':!![],'closeInput':_0x189f2c(0x111)};}[_0x20219f(0x22d)](){const _0x3f78e7=_0x20219f;if(this[_0x3f78e7(0x187)]!==undefined)return this[_0x3f78e7(0x187)];this[_0x3f78e7(0xb9)]=!![],this[_0x3f78e7(0x7f)][_0x3f78e7(0x1f1)](),this[_0x3f78e7(0x211)][_0x3f78e7(0x22d)](),this[_0x3f78e7(0x144)][_0x3f78e7(0x22d)]();for(const _0x51ae1d of this[_0x3f78e7(0x175)][_0x3f78e7(0x100)][_0x3f78e7(0x203)][_0x3f78e7(0x22c)]()){clearTimeout(_0x51ae1d[_0x3f78e7(0x7a)]),_0x51ae1d[_0x3f78e7(0xc2)](_0x3f78e7(0x70));}this[_0x3f78e7(0x175)][_0x3f78e7(0x100)][_0x3f78e7(0x203)][_0x3f78e7(0x8e)]();for(const _0x449d4b of this[_0x3f78e7(0x175)][_0x3f78e7(0x100)][_0x3f78e7(0x8c)][_0x3f78e7(0x22c)]()){clearTimeout(_0x449d4b[_0x3f78e7(0x7a)]),_0x449d4b[_0x3f78e7(0xb3)](_0x3f78e7(0x150));}this[_0x3f78e7(0x175)][_0x3f78e7(0x100)][_0x3f78e7(0x8c)][_0x3f78e7(0x8e)](),this[_0x3f78e7(0x10f)][_0x3f78e7(0x8e)](),this[_0x3f78e7(0x145)][_0x3f78e7(0x1f1)](),this[_0x3f78e7(0x1ba)][_0x3f78e7(0x8e)](),this[_0x3f78e7(0x18f)][_0x3f78e7(0x8e)]();for(const _0x55919f of this[_0x3f78e7(0x116)][_0x3f78e7(0x22c)]())clearTimeout(_0x55919f[_0x3f78e7(0x7a)]);this[_0x3f78e7(0x116)][_0x3f78e7(0x8e)](),this[_0x3f78e7(0x18e)][_0x3f78e7(0x8e)](),this[_0x3f78e7(0x157)][_0x3f78e7(0x8e)](),this[_0x3f78e7(0x198)][_0x3f78e7(0x1f1)]();for(const _0x5df6d1 of this[_0x3f78e7(0x175)][_0x3f78e7(0x100)][_0x3f78e7(0xca)][_0x3f78e7(0x22c)]())_0x5df6d1[_0x3f78e7(0x123)][_0x3f78e7(0xf7)]();this[_0x3f78e7(0x175)][_0x3f78e7(0x100)][_0x3f78e7(0xca)][_0x3f78e7(0x8e)](),this[_0x3f78e7(0x134)][_0x3f78e7(0x1f1)](),void this[_0x3f78e7(0x1cc)][_0x3f78e7(0x1f1)]();const _0x436bd2=this[_0x3f78e7(0x1ce)]?.[_0x3f78e7(0x1f1)]();this[_0x3f78e7(0x1ce)]=undefined,this[_0x3f78e7(0xa2)]?.[_0x3f78e7(0x1f1)](),this[_0x3f78e7(0xa2)]=undefined;const _0x31db87=this[_0x3f78e7(0xd8)];this[_0x3f78e7(0xd8)]=undefined,this[_0x3f78e7(0x19a)]=undefined,this[_0x3f78e7(0x16e)]=undefined,void this[_0x3f78e7(0x10d)][_0x3f78e7(0xbd)](),this[_0x3f78e7(0x229)][_0x3f78e7(0x1f1)](),this[_0x3f78e7(0x1c2)][_0x3f78e7(0x1ab)](),this[_0x3f78e7(0xce)][_0x3f78e7(0x8e)](),this[_0x3f78e7(0x17d)][_0x3f78e7(0x8e)](),this[_0x3f78e7(0x87)][_0x3f78e7(0x8e)](),void this[_0x3f78e7(0x222)][_0x3f78e7(0x22d)](),void this[_0x3f78e7(0x1c4)][_0x3f78e7(0x9d)](),void this[_0x3f78e7(0x209)][_0x3f78e7(0xbd)](),this[_0x3f78e7(0x19c)][_0x3f78e7(0x22d)](),this[_0x3f78e7(0x113)][_0x3f78e7(0x22d)]();const _0x591146=this[_0x3f78e7(0x108)];return this[_0x3f78e7(0x108)]=undefined,this[_0x3f78e7(0x187)]=((async()=>{const _0x3cb912=_0x3f78e7;try{await _0x436bd2;}finally{await _0x31db87?.[_0x3cb912(0x1f1)]()[_0x3cb912(0x17c)](()=>undefined),_0x591146?.[_0x3cb912(0x9d)]();}})()),this[_0x3f78e7(0x187)];}[_0x20219f(0x188)]=_0x282198=>this[_0x20219f(0x128)][_0x20219f(0x123)](_0x282198);[_0x20219f(0x169)]=(_0x47eec8,_0x517b17,_0x578153,_0x5e76ff)=>this[_0x20219f(0x189)][_0x20219f(0x156)](_0x47eec8,_0x517b17,_0x578153,_0x5e76ff);[_0x20219f(0xe6)]=(_0x35fb4c,_0x473568)=>{const _0x22bdd1=_0x20219f;this[_0x22bdd1(0x157)][_0x22bdd1(0x206)](_0x35fb4c);const _0x1d0068=isPlainRecord(_0x473568)&&typeof _0x473568[_0x22bdd1(0xf0)]===_0x22bdd1(0x84)?_0x473568[_0x22bdd1(0xf0)]:undefined,_0x302c98=isPlainRecord(_0x473568)&&typeof _0x473568[_0x22bdd1(0xfe)]===_0x22bdd1(0x84)?_0x473568[_0x22bdd1(0xfe)]:undefined,_0x2feb13=this[_0x22bdd1(0x221)][_0x22bdd1(0x215)](_0x35fb4c),_0x1863d5=_0x1d0068===undefined||_0x2feb13===undefined?undefined:conversationSegmentIdentityForItem(_0x2feb13,_0x1d0068,_0x302c98);this[_0x22bdd1(0x189)][_0x22bdd1(0x156)](_0x35fb4c,_0x22bdd1(0x120),_0x1863d5===undefined||!isPlainRecord(_0x473568)?_0x473568:{..._0x473568,'segmentId':_0x1863d5['id'],'segmentIndex':_0x1863d5[_0x22bdd1(0x6e)]});};[_0x20219f(0x20d)]=_0xfd49ba=>{const _0x3edc8a=_0x20219f,_0xc31912=isPlainRecord(_0xfd49ba)&&Array[_0x3edc8a(0x1b9)](_0xfd49ba[_0x3edc8a(0x1a2)])?conversationSegments(_0xfd49ba):[];this[_0x3edc8a(0xf1)](_0x3edc8a(0x97),{'turn':_0xfd49ba,'segments':_0xc31912});};[_0x20219f(0x1bb)]=(_0x1f2748,_0x42c314)=>{const _0x3a4551=_0x20219f;if(_0x1f2748===_0x3a4551(0x237)){this[_0x3a4551(0x172)](_0x42c314);return;}this[_0x3a4551(0xf1)](_0x1f2748,_0x42c314);};[_0x20219f(0x172)]=_0x2edd8c=>{const _0x2c0835=_0x20219f;if(isPlainRecord(_0x2edd8c)&&isPlainRecord(_0x2edd8c[_0x2c0835(0x237)])){const _0x40b4cc=_0x2edd8c[_0x2c0835(0x237)][_0x2c0835(0x19e)];typeof _0x40b4cc===_0x2c0835(0x84)&&(this[_0x2c0835(0x17d)][_0x2c0835(0x14d)](_0x40b4cc),void this[_0x2c0835(0xce)]?.[_0x2c0835(0x11f)](_0x40b4cc,_0x2c0835(0x1e0)));}this[_0x2c0835(0xf1)](_0x2c0835(0x237),_0x2edd8c);};[_0x20219f(0xf1)]=(_0x34890f,_0x1b52cd)=>{const _0x48f98f=_0x20219f;if(_0x34890f===_0x48f98f(0x97)&&isPlainRecord(_0x1b52cd)&&isPlainRecord(_0x1b52cd[_0x48f98f(0xcd)])&&_0x1b52cd[_0x48f98f(0xcd)][_0x48f98f(0x161)]!==_0x48f98f(0x227)){const _0x43f939=typeof _0x1b52cd[_0x48f98f(0xcd)][_0x48f98f(0xc8)]===_0x48f98f(0x84)?_0x1b52cd[_0x48f98f(0xcd)][_0x48f98f(0xc8)]:undefined,_0x95f044=typeof _0x1b52cd[_0x48f98f(0xcd)][_0x48f98f(0xd9)]===_0x48f98f(0xaf)?_0x1b52cd[_0x48f98f(0xcd)][_0x48f98f(0xd9)]:undefined,_0x28f71b=_0x43f939===undefined?undefined:this[_0x48f98f(0x221)][_0x48f98f(0x215)](_0x43f939);if(_0x28f71b===undefined)return;const _0x50f6eb=isPlainRecord(_0x1b52cd[_0x48f98f(0xcd)][_0x48f98f(0x126)])?_0x1b52cd[_0x48f98f(0xcd)][_0x48f98f(0x126)]:undefined,_0x3d62e2=_0x1b52cd[_0x48f98f(0xcd)][_0x48f98f(0x161)]===_0x48f98f(0xd2)&&typeof _0x50f6eb?.[_0x48f98f(0xab)]===_0x48f98f(0x84)?_0x50f6eb[_0x48f98f(0xab)]:undefined,_0x4a9b55=typeof _0x50f6eb?.[_0x48f98f(0xf0)]===_0x48f98f(0x84)?_0x50f6eb[_0x48f98f(0xf0)]:typeof _0x50f6eb?.[_0x48f98f(0xe8)]===_0x48f98f(0x84)?_0x48f98f(0x9f)+_0x50f6eb[_0x48f98f(0xe8)]:undefined,_0x1b5942=_0x3d62e2!==undefined&&_0x95f044!==undefined?_0x28f71b[_0x48f98f(0x1a2)][_0x48f98f(0xb6)](_0x12f42c=>_0x12f42c[_0x48f98f(0xfe)]===_0x48f98f(0x1e4)&&_0x12f42c[_0x48f98f(0x232)]===_0x95f044):_0x4a9b55===undefined?undefined:_0x28f71b[_0x48f98f(0x1a2)][_0x48f98f(0xb6)](_0x261281=>_0x261281['id']===_0x43f939+':'+_0x4a9b55);if(_0x3d62e2!==undefined&&_0x1b5942?.[_0x48f98f(0xfe)]===_0x48f98f(0x1e4))_0x1b52cd={'sessionId':_0x28f71b[_0x48f98f(0xb5)],'delta':{'runId':_0x28f71b[_0x48f98f(0xc8)],'itemId':_0x1b5942['id'],'text':_0x3d62e2,'createdAt':typeof _0x1b52cd[_0x48f98f(0xcd)][_0x48f98f(0x77)]===_0x48f98f(0xaf)?_0x1b52cd[_0x48f98f(0xcd)][_0x48f98f(0x77)]:Date[_0x48f98f(0x127)]()}};else{if(_0x1b5942!==undefined){const _0xa4526b=conversationSegmentIdentityForItem(_0x28f71b,_0x1b5942['id'],_0x1b5942[_0x48f98f(0xfe)]);_0x1b52cd={'sessionId':_0x28f71b[_0x48f98f(0xb5)],'runId':_0x28f71b[_0x48f98f(0xc8)],'item':{'itemId':_0x1b5942['id'],'kind':_0x1b5942[_0x48f98f(0xfe)],'status':_0x1b5942[_0x48f98f(0x199)],'payload':_0x1b5942[_0x48f98f(0x126)],'startedAt':_0x1b5942[_0x48f98f(0x11a)],'completedAt':_0x1b5942[_0x48f98f(0x178)],'segmentId':_0xa4526b['id'],'segmentIndex':_0xa4526b[_0x48f98f(0x6e)]}};}else{if(_0x1b52cd[_0x48f98f(0xcd)][_0x48f98f(0x161)]!==_0x48f98f(0x168)&&_0x1b52cd[_0x48f98f(0xcd)][_0x48f98f(0x161)]!==_0x48f98f(0x13c))return;_0x1b52cd={'turn':_0x28f71b,'segments':conversationSegments(_0x28f71b)};}}}const _0x5dafe6=this[_0x48f98f(0x20b)][_0x48f98f(0xc6)](_0x34890f,_0x1b52cd);if(_0x5dafe6===undefined)return;const _0x2b4a0b=_0x34890f===_0x48f98f(0x97)&&isPlainRecord(_0x1b52cd)&&isPlainRecord(_0x1b52cd[_0x48f98f(0xcd)])&&_0x1b52cd[_0x48f98f(0xcd)][_0x48f98f(0x161)]===_0x48f98f(0x227),_0x530252=workbenchPayloadSessionId(this[_0x48f98f(0x221)],_0x34890f,_0x1b52cd);if(!_0x2b4a0b&&_0x530252!==undefined){this[_0x48f98f(0x10f)][_0x48f98f(0xb2)](_0x530252,_0x5dafe6);return;}this[_0x48f98f(0x20b)][_0x48f98f(0x184)](_0x5dafe6);};[_0x20219f(0x186)]=_0x1429f8=>this[_0x20219f(0xb7)][_0x20219f(0x166)](_0x1429f8);[_0x20219f(0x86)]=_0x4043bb=>this[_0x20219f(0x107)][_0x20219f(0xde)](_0x4043bb);[_0x20219f(0x1ff)]=()=>undefined;[_0x20219f(0x78)]=()=>this[_0x20219f(0x144)][_0x20219f(0x78)]();[_0x20219f(0xe1)]=()=>this[_0x20219f(0x144)][_0x20219f(0xe1)]();async[_0x20219f(0xb1)](_0x13dd5c,_0x1a8d10){const _0xfcc39a=_0x20219f;if(this[_0xfcc39a(0x108)]===undefined)throw new Error(_0xfcc39a(0x146));if(this[_0xfcc39a(0x211)][_0xfcc39a(0x1ca)](_0x13dd5c))throw new Error(_0xfcc39a(0x1d8));return nodeLog(_0xfcc39a(0x1e9),{'nodeId':this[_0xfcc39a(0x228)]?.[_0xfcc39a(0x233)],'operation':_0x13dd5c}),this[_0xfcc39a(0x208)][_0xfcc39a(0x152)](_0x13dd5c,_0x1a8d10);}async[_0x20219f(0xdd)](_0x434160,_0x5ed0d8){const _0x462692=_0x20219f,_0x25d640=this[_0x462692(0x228)];if(_0x25d640?.[_0x462692(0x233)]===undefined||_0x25d640[_0x462692(0xad)]===undefined)throw new Error(_0x462692(0xf3));const _0x3e9789=await fetch(_0x25d640[_0x462692(0x10e)][_0x462692(0x79)](/\/$/u,'')+_0x462692(0x14e),{'method':_0x462692(0x17e),'headers':{'content-type':_0x462692(0x1ee),'x-mar-node-id':_0x25d640[_0x462692(0x233)],'authorization':_0x462692(0x12b)+_0x25d640[_0x462692(0xad)]},'body':JSON[_0x462692(0x1b4)](_0x434160),'signal':_0x5ed0d8});if(!_0x3e9789['ok'])throw new Error(_0x462692(0x6c));const _0x528a02=await _0x3e9789[_0x462692(0xaa)]();return{'content':JSON[_0x462692(0x1b4)](_0x528a02),'data':_0x528a02};}[_0x20219f(0x1bd)](_0x4bb95e,_0x26a527){const _0x3a2ada=_0x20219f;if(_0x26a527[_0x3a2ada(0x199)]!==_0x3a2ada(0xe2)){this[_0x3a2ada(0x1af)][_0x3a2ada(0x8e)](_0x4bb95e['id'],_0x3a2ada(0x22b)),this[_0x3a2ada(0xf1)](_0x3a2ada(0x237),{'session':this[_0x3a2ada(0x20e)][_0x3a2ada(0xbe)](_0x4bb95e)});return;}this[_0x3a2ada(0x1af)][_0x3a2ada(0x1cd)](_0x4bb95e['id'],{'commandId':_0x3a2ada(0x22b),'active':_0x26a527[_0x3a2ada(0x199)]===_0x3a2ada(0xe2),'label':_0x3a2ada(0x1a8),'detail':_0x26a527[_0x3a2ada(0x17f)][_0x3a2ada(0x223)](-0x1cfa*0x1+0x15d8+-0x391*-0x2,-0x1379*-0x2+-0x59c*0x3+-0x1*0x142a),'closable':!![],'closeInput':_0x3a2ada(0x96),'mission':{'id':_0x26a527['id'],'objective':_0x26a527[_0x3a2ada(0x17f)],'revision':_0x26a527[_0x3a2ada(0x232)],'status':_0x26a527[_0x3a2ada(0x199)],'turns':_0x26a527[_0x3a2ada(0xb0)]}}),this[_0x3a2ada(0xf1)](_0x3a2ada(0x237),{'session':this[_0x3a2ada(0x20e)][_0x3a2ada(0xbe)](_0x4bb95e)});}[_0x20219f(0x1f0)](_0x18ae69,_0xe73cce,_0x8fd2c9){const _0x24894f=_0x20219f;this[_0x24894f(0x113)][_0x24894f(0x1f0)](_0x18ae69,_0xe73cce,_0x8fd2c9);}[_0x20219f(0x83)](_0x1605a1){const _0xc55353=_0x20219f;this[_0xc55353(0x113)][_0xc55353(0x83)](_0x1605a1);}}function _0x3f84(){const _0x446331=['C2vZC2LVBKnVBw1HBMrtzxj2AwnL','zw5ZDxjLv2f0y2G','CMvHze5HDgL2zq','AxrLBxm','zxH0zxjUywXtzxnZAw9UuMvZDw1Lu2vYDMLJzq','ChjLCgfYzu1PC3nPB25tzxnZAw9U','Aw5ZDgfSBgf0Aw9U','yxzHAwXHyMXL','y2XLyxjnAxnZAw9UuMv0CNK','twLZC2LVBG','mJmWndu3mhPJDevMCW','B25tDw1Tyxj5','y2XLyxjbBgW','yM9VDhn0CMfWswrZ','CNvUBMvYu2vYDMLJzq','BwfYlwLUDgvYBMfSlw1PC3nPB24','y29TBwfUzfn0yxrLCW','zw5XDwv1zu1PC3nPB25dB250Aw51yxrPB24','BM9Kzs5JB25Uzwn0Aw9UlNjLCgXHy2vK','BgLZDa','y29UDMvYC2f0Aw9UlNrLBxbSyxrLlNb1yMXPC2G','C3rYAw5NAwz5','yMLUzenVBNrYB2W','tK9erv9dt05orunusu9ox1jfueXbq0ve','y29KzxHsDw5dB250CM9SBgvY','CNvUBMvYsw50zxjHy3rPB25tzxj2AwnL','AxnbCNjHEq','C2vZC2LVBKXPzMvJEwnSzvnLCNzPy2u','ChvIBgLZAfDVCMTIzw5JAev2zw50','CMvJB3jKrxHLy3v0Aw9UuMvZDwX0','ChvIBgLZAe1PC3nPB25tDgf0zq','CMvXDwvZDa','mJm1nJb6wuPzA1m','BM9KzuDLBMvYyxrPB24','u0vora','D29YA3nWywnLv2f0y2Htzxj2AwnL','CMvJB3jKzwqTC2vZC2LVBG','BwLZC2LVBK1JCfnLCNzLCG','zMLSDgvY','zwzMzwn0AxzLtwnWsw5ZDgfSBgf0Aw9UCW','q09ovKvsu0fusu9ox0Hpu1rjtKDFvu5bvKfjtefcteu','y3jLyxrLqxbWCM92ywW','Bwf0zxjPywXPEMvdB2rLEa','yMXVy2TZ','D29YA2jLBMnOtwfUAwzLC3rtzxj2AwnL','BwfYqwDLBNrsDw5dB250CM9SBgvY','C2v0','y29UDMvYC2f0Aw9Usg9ZDgLUz01HAw50zw5HBMnLu2vYDMLJzq','lw9Wzw5JB2rLlwLTywDLCW','Bg9HzfjLC3vSDa','C2vJCMv0rw52AxjVBM1LBNq','qvzbsuXbqKXf','yxbWzw5K','zxHWAxjLqxbWCM92ywW','zxH0zxjUywXtzxnZAw9Uswq','BgLUDxG','ChjVzMLSzxm','tK9erv9vueDsqurfx1bftKrjtKC','yMLUzenVBw1HBMrdB250CM9S','BM9Kzs51CgDYywrLlMnHBMnLBa','C2v0u2vZC2LVBLjLC291CMnLuMvSzwfZzxi','zMfPBgvKqxr0zw1WDhm','CMvNAxn0zxi','BgLZDfj1BNngB3jtzxnZAw9U','C3rHCNq','C2vZC2LVBNm','y29UDMvYC2f0Aw9UlNrLBxbSyxrLlNnVDxjJzs5PBNnWzwn0','CMvJB25Uzwn0','CNvU','yxnZAxn0yw50x21LC3nHz2u','CNvUBMvYlMnVBw1HBMqUzxHLy3v0zq','CNvUBMvY','BMf0AxzLswrZ','zMLUAxnOswrSzu1PC3nPB25sDw4','BM9Kzs5VCgvYyxrPB24','CgvYC29UywXjBNn0CNvJDgLVBNm','ywn0AxzLu2vZC2LVBLj1BG','y2fUy2vSq29KzxHuDxjU','Aw50zxjYDxb0uMvXDwvZDgvK','yxbWBgLJyxrPB24VANnVBG','zgvJAxnPB24','C2vUza','zgLZCg9Zzq','AgfUzgXLtM90AwzPy2f0Aw9U','DxbNCMfKzvjLywr5','zxHLy3v0zunVBw1HBMq','CMvZDw1Lqwz0zxjdB21Tyw5KuNvU','zxH0zxjUywXby3rPDML0Eq','zgvSzxrL','BxLHz2vUDhjVyw1FBwLZC2LVBG','q09ovKvsu0fusu9ox0Hpu1rjtKDFq0Xfqu5vuf9gquLmruq','CMvTB3zLugvUzgLUz1f1zxvL','CMvWBgfJzvnVy2TLDezVCLrLC3rPBMC','zgLZCgf0y2G','Aw5Hy3rPDMvszxrLBNrPB25eyxLZ','y29UDMvYC2f0Aw9UlMHVC3rLzc5MAwXLCY51CgXVywqUy2fUy2vS','CMvJB25JAwXLugvYC2LZDgvKuNvUCW','CgXHDgzVCM0','B3bLBKnVzgvdBgLLBNq','tuLtu0LptL9dt05usu5vqvrjt05FrKfjteve','yxbWCM92ywXZ','zw5ZDxjLuMvZDw1LzenVBMzPz3vYyxrPB24','Aw5PDgLHBgL6zunVBNzLCNnHDgLVBKHVC3rPBMC','zMX1C2Hqzw5KAw5Nvgv4Da','CMvTB3zLtwLZC2LVBLf1zxvL','B3bLCMf0Aw9UuM91DgvY','DgvYBwLUywXnyw5Hz2vY','C2vZC2LVBK1LC3nHz2vtzxj2AwnL','D29YA2jLBMnOrxzLBNrtzxj2AwnL','y29UDMvYC2f0Aw9UlMHVC3rLzc5MAwXLlNjLywq','zw1PDenVBNzLCNnHDgLVBLr1CM4','C2vZC2LVBLbYzxnLBNrHDgLVBLnLCNzPy2u','CMvSzwfZzvnLC3nPB24','BwfYqwDLBNrdBgLLBNq','DxbNCMfKzunVB3jKAw5HDg9Y','CNvUlMnVBxbSzxrLza','y2fWywjPBgL0AwvZuhjVDMLKzwq','zgLZy29UBMvJDa','y29UDMvYC2f0Aw9UvhvYBKzVCLj1BG','CNvUlMzHAwXLza','B3bLCMf0Aw9UCW','CNvUBMvYq2HHBM5LBe1LC3nHz2vZ','y29UDMvYC2f0Aw9UlMHVC3rLzc5MAwXLCY51CgXVywqUy2H1BMS','ywnJzxb0rM9YtwvZC2fNzq','CgvUzgLUzW','DxbNCMfKzq','CMvJzw50lxj1BNm','y29UDMvYC2f0Aw9UlMHVC3rLzc5TzxnZywDL','CMvHzeHPC3rVCNLqywDL','zw5HyMXLza','CNvUDgLTzq','CNvUBMvYCW','C2XPy2u','D29YA3nWywnLu2vYDMLJzq','tK9erv9dt05gsuDFvu5bvKfjtefcteu','Aw5ZCgvJDe1LDgfKyxrH','BM90AwzPy2f0Aw9U','y29UzMLN','D29YA3nWywnLrMLSzvnLCNzPy2u','y2fWywnPDhK','BwLZC2LVBG','DMfSDwvZ','C3rVCa','ChjVAMvJDenVBNzLCNnHDgLVBKHVC3rPBMDdyxbHyMLSAxr5','Dw5Yzwy','BwLNCMf0zvj1BM5LCLnLC3nPB25jzgvUDgL0Eq','y29UDMvYC2f0Aw9UsgLZDg9YEvnLCNzPy2u','CMv2AxnPB24','BM9KzuLK','ywrK','y2XHDwrLqxbWCM92ywXuAw1LB3v0txm','C2vZC2LVBKnHDgfSB2Dtzxj2AwnL','C2vZC2LVBG','y29UBMvJDgvK','oeL0vNjtCG','C3vIBwL0twLZC2LVBG','ndmXodG5tNnQA3bS','CgvYC2LZDfrLCM1PBMfS','ywrVChrsDw4','tufsx0fhru5ux1DfqL9trufsq0HFrKfjteve','ChjVBw90zq','Aw5KzxG','BM9Kzs53B3jRyMvUy2GUy2fWywjPBgL0AwvZ','uKvkrunuruq','CMvTzw1Izxi','CMfUzg9Tvvvjra','q09ovKvsu0fusu9ox0Hpu1rjtKDFu1rpuKfhrv9vtKfwquLmqujmrq','AgfZqwn0AxzLu2vZC2LVBKXLyxnL','CMvSzwfZzunVBNzLCNnHDgLVBKzVCKnSzwfUDxa','y29UDMvYC2f0Aw9UlMHVC3rLzc5MAwXLCY51CgXVywqUC3rHDhvZ','y3jLyxrLzef0','C3rHCNrdyxbHyMLSAxr5uMvMCMvZAa','CMvWBgfJzq','DgLTzxi','y29UDMvYC2f0Aw9Uu2vNBwvUDfnLCNzPy2u','CMvIDwLSzenVBNzLCNnHDgLVBKLUzgv4','Bwv0CMLJCW','y29UDMvYC2f0Aw9UlMHVC3rLzc5JCMvHDgu','CMvJzw50uNvUuhjVAMvJDgLVBLnLCNzPy2u','y29UDMvYC2f0Aw9UlMHVC3rLzc5MAwXLCY51CgXVywqUy29TCgXLDgu','C2f2zu5HDgL2zvnLC3nPB25nzxrHzgf0yq','yMvNAw5dB252zxjZyxrPB25dBgvHBNvW','C2vUzevUDMvSB3bL','C3rYAw5N','surmrq','Aw52ywXPzgf0zvDVCMTZCgfJzvDHDgnOvg9WAwnZ','D29YA3nWywnLq2HHBMDLu2vYDMLJzq','su5urvjsvvburuq','zMLUywXSEq','y29UDMvYC2f0Aw9UlMHVC3rLzc51BNDHDgnO','y3vYCMvUDev4zwn1DgLVBKLK','DxnLCKLUChv0CW','CMvNAxn0zxjbBgW','y2XLyxi','ChvIBgLZAfnUyxbZAg90','BM9Kzs51CgDYywrLlNjLCxvLC3q','zgvJAwrL','y29UDMvYC2f0Aw9UlMHVC3rLzc53yxrJAa','y29UDMvYC2f0Aw9UlMHVC3rLzc5Nzxq','y2HHBM5LBfrVA2vU','y2fJAgvKu2vZC2LVBNm','l21PC3nPB24','y29UDMvYC2f0Aw9U','rKfjteve','CgvUzgLUz01PC3nPB25dB21Tyw5Ku3rHDgu','C2vZC2LVBI5SAxn0','Ag9ZDgvKlwnVBNzLCNnHDgLVBG','CgvYC2LZDezPBgvZ','y2XVC2u','y29KzxHdBgLLBNq','yxbWCM92ywW6','B25oB3rPzMLJyxrPB24','zxHWAxjL','Ag9ZDgvKq29UDMvYC2f0Aw9Uu2vYDMLJzq','ChjVAMvJDgLVBKzVCK5HDgL2zq','zMfZDa','BwLNCMf0zvnLC3nPB24','zM9Yz2v0','C25HChnOB3rtzxf1zw5Jzq','DgvYBwLUywXtzxj2AwnL','Aw52ywXPzgf0zunOyw5Nzxm','ANnVBG','Dgv4Da','CMvJB3zLCKLUDgvYCNvWDgvKuhvIBgLJyxrPB25Z','y3jLzgvUDgLHBa','zMfRztO','BNvTyMvY','DhvYBNm','zxHLy3v0zu5VzgvpCgvYyxrPB24','zw1PDfjLywX0Aw1L','CMvQzwn0','zxHLy3v0Aw9Uu3rHCNrLza','C2vZC2LVBKLK','zMLUza','BMf0AxzLu2vZC2LVBLbYB2PLy3rPB25tzxj2AwnL','y29UDMvYC2f0Aw9UlMHVC3rPBMCUC3rVCMfNzs5PBNnWzwn0','C3rVChbLza','y29UDMvYC2f0Aw9UlMHVC3rPBMCUy2XLyw51Cc5LEgvJDxrL','y3vZDg9TvgL0Bgu','y29UDMvYC2f0Aw9UlMHVC3rLzc5TzxrHzgf0ys51CgrHDgu','C2H1DgrVD24','ChjLC2vUDa','BMf0AxzLlNnLC3nPB24UzgLZy292zxj5lNbLBMrPBMC','CMvMCMvZAev4DgvYBMfSqwn0AxzPDhK','y29UDMvYC2f0Aw9UlMHVC3rLzc5MAwXLCY51CgXVywqUChjLzMXPz2H0','CMvZB2X2zq','uLvox05pvf9gt1vora','zwzMB3j0','y29UDMvYC2f0Aw9UlMHVC3rLzc5JB25MAwCUDxbKyxrL','BMv4Da','C2vJCMv0CW','CNvUswq','CMvZB2X2zun1CNjLBNq','CNvUCW','C2vZC2LVBLDHDgnOu2XVDhm','y29UDMvYC2f0Aw9UvgvTCgXHDgvpCgvYyxrPB25Z','zxzLBNq','D29YA3nWywnLv29YA2jLBMnOu2vYDMLJzq','y29UDMvYC2f0Aw9UlMHVC3rLzc5MAwXLCY5SAxn0','y29UDMvYC2f0Aw9UlNrLBxbSyxrLlNzLCNnPB24UAw5ZCgvJDa','q0foq0vm','Dgv4Dc5KzwX0yq','Aw5PDgLHBgL6zq','uvvfvuu','D29YA3nWywnLu3rHDgu','CNvUDgLTzs1UB2rL','y29UDMvYC2f0Aw9Usg9ZDgLUzW','Ag9ZDgvKq29UDMvYC2f0Aw9UuNvUDgLTzq','C2vXDwvUy2u','y3jLyxrLqwDLBNrtzxnZAw9U','BwfUywDLzfj1BM5LCLnLC3nPB25Z','mZq5odG2mZrmAurUr1C','D2vIu2vHCMnO','Aw52ywXPzgf0zq','y29UBMvJDgvKqxr0zw1WDa','CNvUu3rHDgu','CMvMCMvZAenHCgfIAwXPDgLLCW','ywn0AxzL','zgLZy292zxi','y3DK','BwfUywDLzezVCK5HDgL2zq','zw1PDenVBNzLCNnHDgLVBKL0zw0','Bwv0ywrHDge','yxbWCM92ywXjza','uKvqtefdrv9dvvjsru5u','y29UDMvYC2f0Aw9UlMHVC3rPBMCUAw5PDgLHBgL6yxrPB24UzMfPBgvK','D2LUmZi','Dg9WAwnby3rPDMu','BM9Kzs5TzxrYAwnZ','y2HHBMDLza','ChjVBw90zvnLC3nPB25jzgvUDgL0Eq','AxrLBuLK','zw1PDfDVCMTIzw5JAev2zw50','sfruua','tK9erv9vtKfvveHftLrjq0furuq','DhvYBKLK','C2L6zq','Bw9KzwW','y2fUy2vS','Dw5YzwDPC3rLCMvK','AxndB252zxjZyxrPB25jBLvZzq','zxHPDa','zw5ZDxjLvg9WAwntBMfWC2HVDa','D29YA3nWywnLuxvLDwvxB3jRyMvUy2Htzxj2AwnL','ms4WlJa','A2LUza','zMfRzvj1BM5LCG','zxHLy3v0Aw9U','BgLZDfDVCMTZCgfJzxm','y2XVC2vsDw5UAw5NvgvYBwLUywXtzxnZAw9UCW','Bwf4','q0foq0vmteve','DhjHBNnPDgLVBMLUzW','DxbKyxrLqwDLBNrtzxnZAw9UqwnJzxnZ','D29YA3nWywnLq29VCMrPBMf0B3i','zgf0ywjHC2u','CMv2B2TL','CMvHza','v09ss1nqqunf','C2vZC2LVBLf1zxj5u2vYDMLJzq','D29YA3nWywnLvxbSB2fKu2vYDMLJzq','C2vYDMvYvxjS','BMf0AxzLu2vZC2LVBLDHDgnOu2vYDMLJzq','z2v0uNvU','l21PC3nPB24Gls1JBgvHCG','y29UDMvYC2f0Aw9UlMHVC3rPBMCUy2XLyw51Cc5MywLSzwq','y29UDhjVBenOyw5UzwW','B3bLBKnVzgvsDw5dB250CM9SBgvY','CMvJB3jKvhvYBG','BwLZC2LVBLjLDhj5vgLTzxjZ','D2LUzg93CW','Bw92zq','C3rVCMfNzunHCgfJAxr5','C3rHCNrLzef0','nJm4otuYmfn2uKXhrW','zgvJAwrLq29KzxHbChbYB3zHBa','vgHPCYboB2rLignVBM5Ly3rPB24GD2fZihjLCgXHy2vKigj5igeGBMv3zxiGAw5ZDgfUy2uGD2L0Acb0AguGC2fTzsbPzgvUDgL0Es4Gq2HLy2SGzM9Yigr1CgXPy2f0zsbWCM9JzxnZzxmU','zgvJAwrLq2XHDwrLqxbWCM92ywW','Aw52ywXPzgf0zvrVCgLJ','y29UDMvYC2f0Aw9UlML0zw0','Ahr0Chm6lY8XmJCUmc4WlJeUAw52ywXPzc9Ty3a','BwLU','AgfUzgXL','y2fUy2vSq2XHDwrLuNvU','yMXVy2TbzNrLCLj1BNrPBwvgywLSDxjL','Cgf5Bg9Hza','BM93','y29UDhjVBe1LC3nHz2vZ','ChvIBgLZAefWChjVDMfS','y29UDMvYC2f0Aw9Usg9ZDgLUz0zHAwX1CMvdB2rL','qMvHCMvYia','ChjVAMvJDeLUAxrPywW','zgLYzwn0tMf0AxzL','Aw5ZCgvJDa','zw1PDff1zxvL','zgvJAwrLqxbWCM92ywW','z2v0qwDLBNrtzxnZAw9U','z2v0v29YA3nWywnL','CMvXDwvZDenSyxvKzvvZzxjjBNb1Da','CNvUqxr0ywnOBwvUDfnLCNzPy2u','C2v0q2HHBM5LBfrVA2vU','Cgf0Aa','CMvMCMvZAfrPDgXL','ywn0AxzLv29YA3nWywnLtgvHC2vdB3vUDa','y29UDMvYC2f0Aw9Usg9ZDgLUz1bYB2jL','CMvZDw1LzenVBMzPz3vYyxrPB24','DgHYzwfKswq','CNvUlNj1BM5PBMC','CMvZCg9UzfvZzxjjBNb1Da','y29TCgXLDgvdyw5JzwXSzwrsDw4','ywXSB3DLzfjVB3rZ','tuLtu0LptL9ot1rFqunusvzf','CMvJB3jK','AgfZrxHLy3v0Aw9Uu3rHCNrLza','C25HChnOB3q','y29UBMvJDgLVBKXPzMvJEwnSzq','C2vZC2LVBKLKzw50Axr5u2vYDMLJzq','tK9erv9eqvrbqKftrv9vtKfwquLmqujmrq','u1vdq0vfreve','C3rVCfDHDgnO','y29UDMvYC2f0Aw9Usg9ZDgLUz1n0B3jHz2vszwfKEq','BMf0AxzLsw1Hz2vsB290CW','y29KzxHqCM9MAwXLq2XPzw50rMfJDg9YEq','y2fWywjPBgL0EurLDgvJDg9Y','Aw52ywXPzgf0zunHy2HL','l2fWAs9UB2rLlxrVB2XZl3DLyI1ZzwfYy2G','q0foq0vmteLorW','tK9erv9tve9queve','y29TBwL0twv0ywrHDge','zxHLy3v0zq','Cgf1C2vtzxnZAw9UuxvLDwu','y29UDMvYC2f0Aw9UlMHVC3rLzc5MAwXLCY51CgXVywqUy3jLyxrL','y2XHDwrLuNvUq29UDhjVBgXLCG','zw1PDfj1BG','CNvUrxzLBNrtzxj2AwnL','y29UDMvYC2f0Aw9UlNrLBxbSyxrLlNb1yMXPC2GUC3rHDhvZ','y29KzxG','AgfZ','C3rHDgu','CMvXDwLYzq','BM9KzvjLCxvLC3rZ','CMvXDwvZDenSyxvKzufWChjVDMfS','CMvJB25Uzwn0u2nOzwr1BgvK','y2XLyw51Ca','zxzLBNruExbL','y2XLyxjxB3jRC3bHy2u','yxnZzxj0q2fUq3jLyxrL','D2f0y2GUzxzLBNq','C3vWzxj2AxnLzfvWz3jHzgu','zgLZy292zxjxB3jRC3bHy2u','BwLZC2LVBLj1BNrPBwu','CNvUlNn0yxj0zwq','zw1PDfj1BKv2zw50','CNvUBMvYvgL0Bgu','y29UDMvYC2f0Aw9UlMHVC3rLzc5KzwXLDgu','y29UDMvYC2f0Aw9UlMHVC3rLzc5PBNrLCNj1Chq','CMvTB3zL','y29UDMvYC2f0Aw9Usg9ZDgLUz01HAw50zw5HBMnLt3bLCMf0Aw9UCW','DxbNCMfKzs1Yzxn1BhqUANnVBG','y29UzMLNugf0Aa','rvHurvjoquW','zw1PDfnLC3nPB25xB3jRyMvUy2HfDMvUDa','z2v0','C2nOzwr1Bgu','y2XHDwrLq2XPzw50','rKflrv9svu5orvjFreLtq09otKvdva','y2fWywjPBgL0AwvZ','y29TCgXLDgvKqxq','DhvYBG','q09ovKvsu0fusu9ox0Hpu1rjtKDFuKvdt1zfuLLFrKfjteve','y2XLyxjxyxrJAgvZ','y2f0y2G','D29YA3nWywnLu2vZC2LVBLnLCNzPy2u','ue9tva','B2jQzwn0AxzL','Aw50zxjYDxb0','ChjVBxb0','C2vZC2LVBLn0yxrL','y29UDMvYC2f0Aw9UlMHVC3rLzc5SAxn0','ChvIBgLZAa','y29UDgLUDwu','zgLZy292zxjxB3jRC3bHy2vtzxnZAw9UCW','C3rVChbPBMC','AgfUzgXLtwvZC2fNzq','CNvUrxzLBNrcCMLKz2u','CMvJB25JAwXL','zMfRzvnJCMLWDa','CNvUBMvYvxnHz2vszwfKzxi','y29UDMvYC2f0Aw9UlMHVC3rPBMCUy2XLyw51Cc5WCMv2Awv3','BwLZC2LVBKnVBNrPBNvHDgLVBLbLBMrPBMC','y29UDgLUDw91C1j1BKnVB3jKAw5HDg9Y','C29JA2v0','ntKWndG2nefUDwzmtq','ywnJzxnZ','C2vZC2LVBI13yxrJAc1ZBMfWC2HVDa','BM9Kzs5JB25Uzwn0Aw5N','ChjLCgfYzu1LC3nHz2vjBNb1Da','y29UBMvJDa','CNvUv29YA2jLBMnOu2vYDMLJzq','C2vZC2LVBKnVBNrLEhrtzxj2AwnL','C3rHDhvZ','Ag9ZDgvKq29UDMvYC2f0Aw9Ut3bLCMf0Aw9UCW','nJCYmJK0tfPLyw91','DgvYBwLUywXdAgfUBMvS','nJr1qNfwseq','D29YA3nWywnLswq'];_0x3f84=function(){return _0x446331;};return _0x3f84();}
|
|
2
|
+
const _0x6b58f4=_0x11d1;(function(_0x7ff00d,_0x596a90){const _0x2db811=_0x11d1,_0x32355e=_0x7ff00d();while(!![]){try{const _0x587ba8=parseInt(_0x2db811(0x17c))/(-0x1*0x1999+0x5b3*0x1+-0x5*-0x3fb)*(-parseInt(_0x2db811(0x11e))/(-0xa4*0x33+0x1ad+0x1f01*0x1))+-parseInt(_0x2db811(0x15d))/(-0x88f*0x1+-0x1*0x25d7+-0x1*-0x2e69)*(-parseInt(_0x2db811(0x200))/(-0x1abf+0x6ec+0x13d7))+-parseInt(_0x2db811(0x1ec))/(0x12cb+0x2*0x16f+-0x15a4)*(parseInt(_0x2db811(0x13d))/(0x956+0x970*-0x1+0x20))+-parseInt(_0x2db811(0x158))/(-0x1a*0x101+-0xb23+0x2544)+parseInt(_0x2db811(0x1ab))/(-0x25ed+0xc2*-0x11+-0x13*-0x2ad)*(-parseInt(_0x2db811(0x191))/(0x71f*-0x3+-0x1*0x9a9+-0x1f0f*-0x1))+parseInt(_0x2db811(0x2ca))/(0x26*-0x57+-0x237c+0x3070)+-parseInt(_0x2db811(0x1f1))/(0x559*-0x2+0x3*-0xbf1+-0x2e9*-0x10)*(-parseInt(_0x2db811(0x1d6))/(0x266f*0x1+-0xff8+-0x166b));if(_0x587ba8===_0x596a90)break;else _0x32355e['push'](_0x32355e['shift']());}catch(_0x2ff6ec){_0x32355e['push'](_0x32355e['shift']());}}}(_0x579a,0x27*0x49a1+0x9c17*-0x14+0x86c39));import{dirname,resolve}from'node:path';import{createEnvelope}from'@myagentroam/protocol';import{hostedConversationStorePath,loadNodeConfig,nodeDataDirectory,nodeDatabasePath}from'./config.js';import{NodeMetrics,nodeLog}from'./operational.js';import{assertLocalSqlitePath}from'./storage.js';import{detectCapabilitiesAsync,unavailableCapabilities}from'./capabilities.js';import{NodeDatabase}from'./database.js';import{TerminalManager}from'./terminal.js';import{NodeRuntimeState}from'./runtime-state.js';import{CommandStateStore}from'./runner-command-engine.js';import{missionUnrestrictedAccess,MissionRuntime}from'./service/mission-runtime.js';import{MissionMcpServer}from'./service/mission-mcp-server.js';import{RunnerUsageReader}from'./runner-usage.js';import{ClaudeCodeRunner}from'./runner/claude-code-runner.js';import{ClaudeManagedRunController}from'./runner/claude/managed-run-controller.js';import{CodexRunner}from'./runner/codex-runner.js';import{CodexManagedRunController}from'./runner/codex/managed-run-controller.js';import{FakeTestRunner}from'./runner/fake-test-runner.js';import{RunnerRegistry}from'./runner/runner-registry.js';import{OpenCodeRunner}from'./runner/opencode-runner.js';import{MarAgentRunner}from'./runner/mar-agent-runner.js';import{MarAgentManagedRunController}from'./runner/mar-agent/managed-run-controller.js';import{OpenCodeManagedRunController}from'./runner/opencode/managed-run-controller.js';import{NodeOperationRouter}from'./connector/node-operation-router.js';import{SkillNodeOperationService}from'./service/skill-node-operation-service.js';import{McpNodeOperationService}from'./service/mcp-node-operation-service.js';import{RunnerService}from'./service/runner-service.js';import{TerminalService}from'./service/terminal-service.js';import{WorkspaceService}from'./service/workspace-service.js';import{WorkspaceWatchService}from'./service/workspace-watch-service.js';import{WorkspaceFileService}from'./service/workspace-file-service.js';import{WorkspaceUploadService}from'./service/workspace-upload-service.js';import{WorkspaceChangeService}from'./service/workspace-change-service.js';import{WorkspaceSessionService}from'./service/workspace-session-service.js';import{WorkbenchEventService}from'./service/workbench-event-service.js';import{RunDomainState}from'./service/run-domain-state.js';import{RecentRunProjectionService}from'./service/recent-run-projection-service.js';import{SessionDomainState}from'./service/session-domain-state.js';import{RunEventService}from'./service/run-event-service.js';import{RunAttachmentService}from'./service/run-attachment-service.js';import{NodeTerminalChannel}from'./service/node-terminal-channel.js';import{WorkspaceWorkbenchService}from'./service/workspace-workbench-service.js';import{NativeSessionWatchService}from'./service/native-session-watch-service.js';import{SessionWatchSlotCoordinator}from'./service/session-watch-slot-coordinator.js';import{SessionContextService}from'./service/session-context-service.js';import{WorkspaceDomainState}from'./service/workspace-domain-state.js';import{RunWorkbenchService}from'./service/run-workbench-service.js';import{SessionQueryService}from'./service/session-query-service.js';import{WorkspaceQueueWorkbenchService}from'./service/workspace-queue-workbench-service.js';import{ContinuousRunCoordinator}from'./service/continuous-run-coordinator.js';import{SessionIdentityService}from'./service/session-identity-service.js';import{NativeSessionProjectionService}from'./service/native-session-projection-service.js';import{composeConversationRuntimePage,ConversationHistoryService,convergeConversationWatchPage,hasManagedActiveRun}from'./service/conversation-history-service.js';import{ConversationSegmentService,conversationSegmentIdentityForItem,conversationSegments}from'./service/conversation-segment-service.js';import{RunnerInteractionService}from'./service/runner-interaction-service.js';import{SessionLifecycleService}from'./service/session-lifecycle-service.js';import{ExternalSessionResumeService}from'./service/external-session-resume-service.js';import{SessionMessageService}from'./service/session-message-service.js';import{SessionCatalogService}from'./service/session-catalog-service.js';import{SessionCommandService}from'./service/session-command-service.js';import{SessionPresentationService}from'./service/session-presentation-service.js';import{isPlainRecord,isRunnerImageAttachment,parseRunnerImageAttachments}from'./runner/codex/conversation-parser.js';export{nodeConnectEndpoint,validatedCapabilities}from'./runner/codex/conversation-parser.js';import{NodeControlChannel}from'./service/node-control-channel.js';import{NodeControlMessageService}from'./service/node-control-message-service.js';import{NodeRequestService}from'./service/node-request-service.js';import{WorkbenchManifestService}from'./service/workbench-manifest-service.js';import{NodeRunEventBridge,workbenchPayloadSessionId}from'./service/node-run-event-bridge.js';import{NodeWorkspaceCoordinator}from'./service/node-workspace-coordinator.js';import{FakeManagedRunService}from'./service/fake-managed-run-service.js';import{RunnerChannelMessageService}from'./service/runner-channel-message-service.js';function _0x579a(){const _0x1a930f=['BwLZC2LVBG','y29UDMvYC2f0Aw9UlNrLBxbSyxrLlNnVDxjJzs5PBNnWzwn0','C2vYDMvYvxjS','zxHWAxjL','zw5ZDxjLuMvZDw1LzenVBMzPz3vYyxrPB24','CMv2B2TL','BM9KzvjLCxvLC3rZ','DhvYBNm','DgLTzxi','CNvUqxr0ywnOBwvUDfnLCNzPy2u','yxbWCM92ywW6','uKvkrunuruq','ChvIBgLZAa','zxHLy3v0zq','y29UDMvYC2f0Aw9UlMHVC3rLzc5MAwXLlNjLywq','zxH0zxjUywXtzxnZAw9UuMvZDw1Lu2vYDMLJzq','yxnZAxn0yw50x21LC3nHz2u','C3rVCfDHDgnO','D29YA3nWywnLq2HHBMDLu2vYDMLJzq','C2vZC2LVBLbYzxnLBNrHDgLVBLnLCNzPy2u','CNvUlMnVBxbSzxrLza','yxbWCM92ywXjza','D29YA2jLBMnOrxzLBNrtzxj2AwnL','zMfRzvj1BM5LCG','yxnZzxj0q2fUq3jLyxrL','y2XLyxjnAxnZAw9UuMv0CNK','q0foq0vmteve','D29YA2jLBMnOtwfUAwzLC3rtzxj2AwnL','BwfYqwDLBNrsDw5dB250CM9SBgvY','DxnLCKLUChv0CW','CMvZB2X2zq','C3rHCNrdyxbHyMLSAxr5uMvMCMvZAa','CMvMCMvZAev4DgvYBMfSqwn0AxzPDhK','CMvZDw1LzenVBMzPz3vYyxrPB24','C2vZC2LVBI13yxrJAc1ZBMfWC2HVDa','tufsx0fhru5ux1DfqL9trufsq0HFrKfjteve','ChvIBgLZAefWChjVDMfS','zMX1C2Hqzw5KAw5Nvgv4Da','Bwf0zxjPywXPEMvdB2rLEa','y29TBwL0twv0ywrHDge','Bg9HzfjLC3vSDa','CNvUBMvYvgL0Bgu','Aw5ZCgvJDa','y3jLyxrLqwDLBNrtzxnZAw9U','C2XPy2u','CNvUlNj1BM5PBMC','y3vYCMvUDev4zwn1DgLVBKLK','Cgf1C2vtzxnZAw9UuxvLDwu','BM9Kzs5JB25Uzwn0Aw5N','y29UDgLUDwu','Aw52ywXPzgf0zunOyw5Nzxm','BwLZC2LVBK1JCfnLCNzLCG','ms4WlJa','y29UDMvYC2f0Aw9Usg9ZDgLUz01HAw50zw5HBMnLu2vYDMLJzq','zw1PDfjLywX0Aw1L','zMfZDa','l21PC3nPB24Gls1JBgvHCG','y29UDMvYC2f0Aw9UlNrLBxbSyxrLlNb1yMXPC2G','y29KzxHqCM9MAwXLq2XPzw50rMfJDg9YEq','C25HChnOB3rtzxf1zw5Jzq','tK9erv9eqvrbqKftrv9vtKfwquLmqujmrq','ChjVzMLSzxm','y29UBMvJDgvKqxr0zw1WDa','y29UDMvYC2f0Aw9Usg9ZDgLUzW','zgvSzxrL','zw5ZDxjLvg9WAwntBMfWC2HVDa','C3rHCNrLzef0','C3vWzxj2AxnLzfvWz3jHzgu','zMLSDgvY','CMvJB25Uzwn0u2nOzwr1BgvK','BgLUDxG','tK9erv9vueDsqurfx1bftKrjtKC','ywXSB3DLzfjVB3rZ','zM9Yz2v0','q0foq0vmteLorW','y29UDMvYC2f0Aw9UlMHVC3rLzc5MAwXLCY51CgXVywqUy3jLyxrL','DxbNCMfKzunVB3jKAw5HDg9Y','zgf0ywjHC2u','rvHurvjoquW','Aw5ZCgvJDe1LDgfKyxrH','Aw5ZDgfSBgf0Aw9U','y2f0y2G','C3rYAw5NAwz5','AgfZrxHLy3v0Aw9Uu3rHCNrLza','Bwv0CMLJCW','BM9Kzs5JB25Uzwn0Aw9UlNjLCgXHy2vK','z2v0qwDLBNrtzxnZAw9U','ChvIBgLZAe1PC3nPB25tDgf0zq','y29UDMvYC2f0Aw9UlMHVC3rLzc5MAwXLCY51CgXVywqUC3rHDhvZ','C3rVCMfNzunHCgfJAxr5','DgHYzwfKswq','Ag9ZDgvKq29UDMvYC2f0Aw9Ut3bLCMf0Aw9UCW','BMf0AxzLlNnLC3nPB24UzgLZy292zxj5lNbLBMrPBMC','CMvSzwfZzunVBNzLCNnHDgLVBKzVCKnSzwfUDxa','zgLZy292zxjxB3jRC3bHy2vtzxnZAw9UCW','C2vZC2LVBKLK','BMf0AxzLu2vZC2LVBLDHDgnOu2vYDMLJzq','ChjVAMvJDeLUAxrPywW','zw1PDenVBNzLCNnHDgLVBKL0zw0','y29UDMvYC2f0Aw9UlNrLBxbSyxrLlNb1yMXPC2GUC3rHDhvZ','q0foq0vm','q09ovKvsu0fusu9ox0Hpu1rjtKDFq0Xfqu5vuf9gquLmruq','tK9erv9dt05gsuDFvu5bvKfjtefcteu','CMvJzw50lxj1BNm','u0vora','CMvNAxn0zxjbBgW','y29UDMvYC2f0Aw9Usg9ZDgLUz0zHAwX1CMvdB2rL','y2XHDwrLqxbWCM92ywXuAw1LB3v0txm','BwfUywDLzfj1BM5LCLnLC3nPB25Z','ChjVAMvJDgLVBKzVCK5HDgL2zq','y2XVC2vsDw5UAw5NvgvYBwLUywXtzxnZAw9UCW','AgfZqwn0AxzLu2vZC2LVBKXLyxnL','zMfRzvnJCMLWDa','BgLZDfj1BNngB3jtzxnZAw9U','y29UBMvJDgvK','C2v0u2vZC2LVBLjLC291CMnLuMvSzwfZzxi','Dgv4Da','CNvUswq','y29UDMvYC2f0Aw9UlMHVC3rPBMCUy2XLyw51Cc5MywLSzwq','vgHPCYboB2rLignVBM5Ly3rPB24GD2fZihjLCgXHy2vKigj5igeGBMv3zxiGAw5ZDgfUy2uGD2L0Acb0AguGC2fTzsbPzgvUDgL0Es4Gq2HLy2SGzM9Yigr1CgXPy2f0zsbWCM9JzxnZzxmU','CMvSzwfZzvnLC3nPB24','Cgf0Aa','Aw52ywXPzgf0zq','CMvTB3zLtwLZC2LVBLf1zxvL','CMvHze5HDgL2zq','D29YA3nWywnLv29YA2jLBMnOu2vYDMLJzq','D2f0y2GUzxzLBNq','C2vUza','CNvUlNn0yxj0zwq','y29UDgLUDw91C1j1BKnVB3jKAw5HDg9Y','BwLZC2LVBLjLDhj5vgLTzxjZ','CNvUv29YA2jLBMnOu2vYDMLJzq','A2LUza','zgvJAwrL','C2vZC2LVBKLKzw50Axr5u2vYDMLJzq','Aw50zxjYDxb0uMvXDwvZDgvK','C2vXDwvUy2u','CNvUBMvYCW','y29UBMvJDgLVBKXPzMvJEwnSzq','y29UDMvYC2f0Aw9UlMHVC3rLzc53yxrJAa','y29UDhjVBe1LC3nHz2vZ','C2f2zu5HDgL2zvnLC3nPB25nzxrHzgf0yq','ntC5mtaZmeL1CunLrW','C2vZC2LVBLn0yxrL','tK9erv9tve9queve','D29YA3nWywnLv2f0y2Htzxj2AwnL','y2XLyxi','Ag9ZDgvKq29UDMvYC2f0Aw9UuNvUDgLTzq','y29UDMvYC2f0Aw9Uu2vNBwvUDfnLCNzPy2u','y29UDMvYC2f0Aw9UlMHVC3rPBMCUC3rVCMfNzs5PBNnWzwn0','y29UDMvYC2f0Aw9UlMHVC3rLzc5MAwXLCY5SAxn0','qMvHCMvYia','y29UBMvJDa','yMLUzenVBw1HBMrdB250CM9S','CNvUCW','CMvTB3zLugvUzgLUz1f1zxvL','rKflrv9svu5orvjFreLtq09otKvdva','CNvUlMzHAwXLza','sfruua','z2v0uNvU','y29UDMvYC2f0Aw9Usg9ZDgLUz1bYB2jL','y2fWywjPBgL0AwvZuhjVDMLKzwq','ue9tva','zMLUza','DgvYBwLUywXtzxj2AwnL','DxbNCMfKzvjLywr5','twLZC2LVBG','zxzLBNq','B25oB3rPzMLJyxrPB24','ChjVBw90zvnLC3nPB25jzgvUDgL0Eq','CMvXDwvZDenSyxvKzufWChjVDMfS','C3rVCa','y29UDMvYC2f0Aw9U','ChvIBgLZAfnUyxbZAg90','y29UDMvYC2f0Aw9UlNrLBxbSyxrLlNzLCNnPB24UAw5ZCgvJDa','y2fJAgvKu2vZC2LVBNm','CMvXDwLYzq','BMf0AxzLu2vZC2LVBLbYB2PLy3rPB25tzxj2AwnL','BM93','BM9Kzs51CgDYywrLlMnHBMnLBa','C2vZC2LVBKnHDgfSB2Dtzxj2AwnL','ChjVBw90zq','y29UDMvYC2f0Aw9UvgvTCgXHDgvpCgvYyxrPB25Z','mty2ntGYAhfuCNLW','C2vZC2LVBKnVBw1HBMrtzxj2AwnL','CMvJB3jKrxHLy3v0Aw9UuMvZDwX0','C3rHCNq','BMf0AxzLsw1Hz2vsB290CW','yMXVy2TbzNrLCLj1BNrPBwvgywLSDxjL','D29YA3nWywnLu3rHDgu','v09ss1nqqunf','y29UDMvYC2f0Aw9UlMHVC3rLzc5MAwXLCY51CgXVywqUy29TCgXLDgu','y29UDMvYC2f0Aw9UlMHVC3rLzc51BNDHDgnO','BwfYlwLUDgvYBMfSlw1PC3nPB24','AxrLBuLK','yxbWzw5K','C2vJCMv0CW','y29UDMvYC2f0Aw9UlMHVC3rLzc5PBNrLCNj1Chq','zw1PDfnLC3nPB25xB3jRyMvUy2HfDMvUDa','y29UDMvYC2f0Aw9UlMHVC3rLzc5JB25MAwCUDxbKyxrL','Bw92zq','C2vUzevUDMvSB3bL','y2XHDwrLq2XPzw50','ywn0AxzL','B3bLCMf0Aw9UuM91DgvY','zxHPDa','y2HHBM5LBfrVA2vU','Aw5PDgLHBgL6zunVBNzLCNnHDgLVBKHVC3rPBMC','C2vZC2LVBNm','tK9erv9vtKfvveHftLrjq0furuq','AxnbCNjHEq','B25tDw1Tyxj5','CMfUzg9Tvvvjra','Aw5PDgLHBgL6zq','mtuWoteXnerqu2zMqW','zw1PDfDVCMTIzw5JAev2zw50','y29UDMvYC2f0Aw9UlMHVC3rLzc5SAxn0','ywrK','rKfjteve','CMvHza','zMfRztO','y29UDMvYC2f0Aw9UlMHVC3rLzc5Nzxq','y2XVC2u','zgLZCgf0y2G','C2vZC2LVBG','zxH0zxjUywXtzxnZAw9Uswq','y29UDMvYC2f0Aw9UsgLZDg9YEvnLCNzPy2u','C3rHDgu','zgvJAwrLqxbWCM92ywW','zgLZy29UBMvJDa','C3rVChbLza','BwLZC2LVBLj1BNrPBwu','AgfUzgXL','CNvUDgLTzq','ChjLC2vUDa','y29UDMvYC2f0Aw9UlMHVC3rLzc5MAwXLCY51CgXVywqUChjLzMXPz2H0','y29TCgXLDgvKqxq','y2XLyxjbBgW','C29JA2v0','CgvYC29UywXjBNn0CNvJDgLVBNm','BwfUywDLzezVCK5HDgL2zq','ndq2nKfKqMv0BG','ywn0AxzLu2vZC2LVBLj1BG','CNvUBMvYu2vYDMLJzq','tuLtu0LptL9dt05usu5vqvrjt05FrKfjteve','CNvUBMvYq2HHBM5LBe1LC3nHz2vZ','mZa4mtLKtwP3tfy','Aw5KzxG','ChjVBxb0','C25HChnOB3q','Dgv4Dc5KzwX0yq','CMvXDwvZDenSyxvKzvvZzxjjBNb1Da','BgLZDa','D29YA3nWywnLu2vYDMLJzq','CNvUDgLTzs1UB2rL','y29UDMvYC2f0Aw9UlMHVC3rPBMCUAw5PDgLHBgL6yxrPB24UzMfPBgvK','y29UDMvYC2f0Aw9UlML0zw0','BwLNCMf0zvnLC3nPB24','C2vJCMv0rw52AxjVBM1LBNq','BxLHz2vUDhjVyw1FBwLZC2LVBG','zxHLy3v0zunVBw1HBMq','yxbWBgLJyxrPB24VANnVBG','Ag9ZDgvKlwnVBNzLCNnHDgLVBG','CgvUzgLUzW','D29YA3nWywnLq29VCMrPBMf0B3i','D29YA3nWywnLrMLSzvnLCNzPy2u','DgvYBwLUywXdAgfUBMvS','B2jQzwn0AxzL','zxHLy3v0Aw9U','CgXHDgzVCM0','CMvJB3jK','y29KzxHsDw5dB250CM9SBgvY','y29UDMvYC2f0Aw9UlMHVC3rLzc5KzwXLDgu','surmrq','D2vIu2vHCMnO','zw1PDfj1BKv2zw50','BM9KzuDLBMvYyxrPB24','mNLrBwXjza','zw1PDff1zxvL','Ag9ZDgvKq29UDMvYC2f0Aw9Uu2vYDMLJzq','y3jLyxrLqxbWCM92ywW','y2fUy2vSq2XHDwrLuNvU','zgLZy292zxjxB3jRC3bHy2u','CMvHzeHPC3rVCNLqywDL','zgvJAwrLq29KzxHbChbYB3zHBa','yMLUzenVBNrYB2W','C3rYAw5N','AxndB252zxjZyxrPB25jBLvZzq','CNvUBMvYvxnHz2vszwfKzxi','D2LUmZi','BNvTyMvY','Dw5YzwDPC3rLCMvK','y2XHDwrLuNvUq29UDhjVBgXLCG','ChvIBgLZAfDVCMTIzw5JAev2zw50','zMfPBgvKqxr0zw1WDhm','D29YA3nWywnLu2vZC2LVBLnLCNzPy2u','CMvWBgfJzvnVy2TLDezVCLrLC3rPBMC','CNvUrxzLBNrtzxj2AwnL','ody0otLLzfHyAvy','y29UDMvYC2f0Aw9UlMHVC3rLzc5MAwXLCY51CgXVywqUy2fUy2vS','lw9Wzw5JB2rLlwLTywDLCW','C2v0q2HHBM5LBfrVA2vU','y29UDMvYC2f0Aw9UlMHVC3rLzc5MAwXLCY51CgXVywqUy2H1BMS','CMvNAxn0zxi','C3rVChbPBMC','zgvJAxnPB24','y3jLzgvUDgLHBa','y29TCgXLDgvdyw5JzwXSzwrsDw4','y29UDMvYC2f0Aw9UlMHVC3rPBMCUy2XLyw51Cc5WCMv2Awv3','D29YA3nWywnLswq','BMv4Da','D29YA3nWywnLvxbSB2fKu2vYDMLJzq','Dw5Yzwy','Aw50zxjYDxb0','y3DK','q09ovKvsu0fusu9ox0Hpu1rjtKDFvu5bvKfjtefcteu','AxrLBxm','y2XLyw51Ca','CgvYC2LZDezPBgvZ','CMvZDw1Lqwz0zxjdB21Tyw5KuNvU','DMfSDwvZ','yxzHAwXHyMXL','CMvMCMvZAfrPDgXL','CMvJB25Uzwn0','ntuYvfjAvwzl','BM90AwzPy2f0Aw9U','uvvfvuu','C2vZC2LVBKXPzMvJEwnSzvnLCNzPy2u','zxH0zxjUywXby3rPDML0Eq','zxHLy3v0Aw9Uu3rHCNrLza','B3bLBKnVzgvsDw5dB250CM9SBgvY','C3rHDhvZ','tuLtu0LptL9ot1rFqunusvzf','y2XLyxjxyxrJAgvZ','B3bLBKnVzgvdBgLLBNq','y29UDhjVBenOyw5UzwW','BM9Kzs5TzxrYAwnZ','CMvJB3jKzwqTC2vZC2LVBG','AgfUzgXLtM90AwzPy2f0Aw9U','zgvJAwrLq2XHDwrLqxbWCM92ywW','BwLU','y29TBwfUzfn0yxrLCW','C2L6zq','y2fWywjPBgL0EurLDgvJDg9Y','BwfYqwDLBNrdBgLLBNq','DhvYBKLK','y2fWywjPBgL0AwvZ','y29UDMvYC2f0Aw9UlMHVC3rLzc5TzxnZywDL','Aw5Hy3rPDMvszxrLBNrPB25eyxLZ','CNvUBMvYsw50zxjHy3rPB25tzxj2AwnL','Dg9WAwnby3rPDMu','BM9Kzs51CgDYywrLlNjLCxvLC3q','l21PC3nPB24','BM9Kzs53B3jRyMvUy2GUy2fWywjPBgL0AwvZ','ChjVAMvJDenVBNzLCNnHDgLVBKHVC3rPBMDdyxbHyMLSAxr5','C2vZC2LVBLf1zxj5u2vYDMLJzq','Cgf5Bg9Hza','DgvYBwLUywXnyw5Hz2vY','BM9KzuLK','ywn0AxzLv29YA3nWywnLtgvHC2vdB3vUDa','y2fWywnPDhK','y29UDMvYC2f0Aw9UlMHVC3rLzc5JCMvHDgu','C2vZC2LVBLDHDgnOu2XVDhm','B3bLCMf0Aw9UCW','CNvU','y29UDMvYC2f0Aw9Usg9ZDgLUz1n0B3jHz2vszwfKEq','CMvTzw1Izxi','mtqYota0nZzZruXeuNu','z2v0v29YA3nWywnL','CgvUzgLUz01PC3nPB25dB21Tyw5Ku3rHDgu','D29YA3nWywnLuxvLDwvxB3jRyMvUy2Htzxj2AwnL','CMvXDwvZDa','ywnJzxb0rM9YtwvZC2fNzq','ChjLCgfYzu1LC3nHz2vjBNb1Da','C2vZC2LVBKnVBNrLEhrtzxj2AwnL','zMLUywXSEq','y29UzMLN','zgLZy292zxi','y2fUy2vSq29KzxHuDxjU','C2vZC2LVBI5SAxn0','Aw52ywXPzgf0zvDVCMTZCgfJzvDHDgnOvg9WAwnZ','zMLUAxnOswrSzu1PC3nPB25sDw4','Aw52ywXPzgf0zvrVCgLJ','DhvYBG','y29UDMvYC2f0Aw9Usg9ZDgLUz01HAw50zw5HBMnLt3bLCMf0Aw9UCW','CMvJB3jKvhvYBG','y29KzxHdBgLLBNq','Aw52ywXPzgf0zunHy2HL','tK9erv9dt05orunusu9ox1jfueXbq0ve','mtbAqxfwzgm','BM9Kzs5VCgvYyxrPB24','y29UDMvYC2f0Aw9UlMHVC3rPBMCUy2XLyw51Cc5LEgvJDxrL','AgfZ','Bw9KzwW','mtfpB3fYuwO','y3jLyxrLzef0','CMvJB3zLCKLUDgvYCNvWDgvKuhvIBgLJyxrPB25Z','zwzMB3j0','CMvTB3zL','yM9VDhn0CMfWswrZ','yMvNAw5dB252zxjZyxrPB25dBgvHBNvW','CMvIDwLSzenVBNzLCNnHDgLVBKLUzgv4','y2HHBMDLza','CMvJB25JAwXLugvYC2LZDgvKuNvUCW','CNvUu3rHDgu','y29KzxG','CgvYC2LZDfrLCM1PBMfS','C2H1DgrVD24','C2v0','mJbztK9Auxu','q09ovKvsu0fusu9ox0Hpu1rjtKDFu1rpuKfhrv9vtKfwquLmqujmrq','y3vZDg9TvgL0Bgu','zw5ZDxjLv2f0y2G','ywnJzxnZ','C2nOzwr1Bgu','CNvUrxzLBNrcCMLKz2u','y29UDMvYC2f0Aw9UlMHVC3rLzc5TzxrHzgf0ys51CgrHDgu','u1vdq0vfreve','BMf0AxzLswrZ','zgLYzwn0tMf0AxzL','Bwf4','DxbNCMfKzq','yMXVy2TZ','CMvJB25JAwXL','BgLZDfDVCMTZCgfJzxm','Bwv0ywrHDge','CNvUBMvYlMnVBw1HBMqUzxHLy3v0zq','zwzMzwn0AxzLtwnWsw5ZDgfSBgf0Aw9UCW','zgLZCg9Zzq','BwLNCMf0zvj1BM5LCLnLC3nPB25jzgvUDgL0Eq','ywrVChrsDw4','uLvox05pvf9gt1vora','CMvZCg9UzfvZzxjjBNb1Da','zw1PDfj1BG','ANnVBG','AgfUzgXLtwvZC2fNzq','zw5HyMXLza','CMvWBgfJzq','y2XLyxjxB3jRC3bHy2u','y29UzMLNugf0Aa','DhjHBNnPDgLVBMLUzW','zxHWAxjLqxbWCM92ywW','uKvqtefdrv9dvvjsru5u','z2v0','CMvQzwn0','D2LUzg93CW','CMv2AxnPB24','y29UDMvYC2f0Aw9UvhvYBKzVCLj1BG','BwLZC2LVBKnVBNrPBNvHDgLVBLbLBMrPBMC','zw1PDenVBNzLCNnHDgLVBLr1CM4','zw5XDwv1zu1PC3nPB25dB250Aw51yxrPB24','yxbWCM92ywXZ','CMvMCMvZAenHCgfIAwXPDgLLCW','DxbKyxrLqwDLBNrtzxnZAw9UqwnJzxnZ','CMvJzw50uNvUuhjVAMvJDgLVBLnLCNzPy2u','qvzbsuXbqKXf','CNvUBMvY','y2fUy2vS','su5urvjsvvburuq','C2vZC2LVBK1LC3nHz2vtzxj2AwnL','C3vIBwL0twLZC2LVBG','zxzLBNruExbL','l2fWAs9UB2rLlxrVB2XZl3DLyI1ZzwfYy2G','DxbNCMfKzs1Yzxn1BhqUANnVBG','q09ovKvsu0fusu9ox0Hpu1rjtKDFuKvdt1zfuLLFrKfjteve','CMvZB2X2zun1CNjLBNq','ChjLCgfYzu1PC3nPB25tzxnZAw9U','zxHLy3v0zu5VzgvpCgvYyxrPB24','Ahr0Chm6lY8XmJCUmc4WlJeUAw52ywXPzc9Ty3a'];_0x579a=function(){return _0x1a930f;};return _0x579a();}import{ManagedRunnerSessionService}from'./service/managed-runner-session-service.js';import{NodeConnectionLifecycleService}from'./service/node-connection-lifecycle-service.js';import{NodeUpgradeCoordinator,nodeUpgradeRequestPath}from'./service/node-upgrade-coordinator.js';import{HostedConversationStore}from'./service/hosted-conversation-store.js';import{ConversationTemplateNodeService}from'./service/conversation-template-node-service.js';import{HostedConversationNodeService}from'./service/hosted-conversation-node-service.js';import{BubblewrapSandboxExecutor}from'./service/bubblewrap-sandbox-executor.js';import{MarAgentHostedConversationRuntime}from'./runner/mar-agent/hosted-conversation-runtime.js';import{conversationHostingCapability,probeBubblewrap}from'./service/conversation-hosting-capability-service.js';import{ConversationHostingMaintenanceService}from'./service/conversation-hosting-maintenance-service.js';import{ConversationHostingEnablementService}from'./service/conversation-hosting-enablement-service.js';import{safeErrorCode}from'./util/safe-error.js';const HEARTBEAT_MS=-0x5168+0x1d*0xe9+0x719b,CAPABILITY_REFRESH_MS=0x32c4+0x6e9c*0x3+0x6*-0x18b4,RETRY_MIN_MS=-0x1*0x173a+-0x12a2+0x8*0x57a,RETRY_MAX_MS=0x1283*0x1+-0xaa38+0x10ce5,CLAUDE_APPROVAL_TIMEOUT_MS=(0x1a0f+-0x200b+0x606)*(0xbb*0xff+0x25b2+-0x41*-0x29),CONVERSATION_TEMPLATE_OPERATIONS=[_0x6b58f4(0x23d),_0x6b58f4(0x275),_0x6b58f4(0x29f),_0x6b58f4(0x115)],HOSTED_CONVERSATION_OPERATIONS=[_0x6b58f4(0x13f),_0x6b58f4(0x1d0),_0x6b58f4(0x144),_0x6b58f4(0x2c7),_0x6b58f4(0x127),_0x6b58f4(0x1c2),_0x6b58f4(0x12c),_0x6b58f4(0x12e),_0x6b58f4(0x207),_0x6b58f4(0x2d2),_0x6b58f4(0x24a),_0x6b58f4(0x152),_0x6b58f4(0x287),_0x6b58f4(0x195),_0x6b58f4(0x294),_0x6b58f4(0x126),_0x6b58f4(0x192),_0x6b58f4(0x177)],CONVERSATION_HOSTING_MAINTENANCE_OPERATIONS=[_0x6b58f4(0x2d1),_0x6b58f4(0x19b),_0x6b58f4(0x1ee)];function _0x11d1(_0x4557bd,_0x5df4df){_0x4557bd=_0x4557bd-(-0x511*-0x7+-0x1*0x1272+-0x1*0x1001);const _0x226c27=_0x579a();let _0x301186=_0x226c27[_0x4557bd];if(_0x11d1['HYbhKp']===undefined){var _0x336763=function(_0x149b16){const _0x374605='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x1958a9='',_0x584e07='';for(let _0x1640a3=-0x1aa6+-0x5*0x31d+0x65*0x6b,_0x54470a,_0x16929f,_0x206742=-0x1*0x676+0x169*0x3+0x1*0x23b;_0x16929f=_0x149b16['charAt'](_0x206742++);~_0x16929f&&(_0x54470a=_0x1640a3%(-0x1*0x173a+-0x12a2+0x20*0x14f)?_0x54470a*(0x18b*0x2+-0x1c5f+0x1989)+_0x16929f:_0x16929f,_0x1640a3++%(0x1a0f+-0x200b+0x600))?_0x1958a9+=String['fromCharCode'](0x2*0x7c3+0x324+-0x11ab*0x1&_0x54470a>>(-(-0x112d*-0x1+-0x3*0xcdc+0x1569)*_0x1640a3&-0x4b7+0x14b9+-0xffc)):-0x22f3*-0x1+-0x58f+-0x1d64){_0x16929f=_0x374605['indexOf'](_0x16929f);}for(let _0x2e878b=0x6c4*-0x3+-0x1*0x125f+0x26ab*0x1,_0x4b1216=_0x1958a9['length'];_0x2e878b<_0x4b1216;_0x2e878b++){_0x584e07+='%'+('00'+_0x1958a9['charCodeAt'](_0x2e878b)['toString'](0x2*0x796+-0x150e*-0x1+0x242a*-0x1))['slice'](-(0x1241+-0x1821+0x5e2));}return decodeURIComponent(_0x584e07);};_0x11d1['xHmcdQ']=_0x336763,_0x11d1['ZFSdhu']={},_0x11d1['HYbhKp']=!![];}const _0x2614f7=_0x226c27[0x63*-0x11+-0x13c4+0x265*0xb];_0x11d1['WtaRdi']!==_0x2614f7&&(_0x11d1['ZFSdhu']={},_0x11d1['WtaRdi']=_0x2614f7);const _0x78cb9b=_0x11d1['ZFSdhu'][_0x4557bd];return _0x78cb9b===undefined?(_0x301186=_0x11d1['xHmcdQ'](_0x301186),_0x11d1['ZFSdhu'][_0x4557bd]=_0x301186):_0x301186=_0x78cb9b,_0x301186;}export function nextReconnectDelay(_0x1ab5f0){const _0x788058=_0x6b58f4;return Math[_0x788058(0x1bb)](RETRY_MAX_MS,RETRY_MIN_MS*(-0x112d*-0x1+-0x3*0xcdc+0x1569)**Math[_0x788058(0x1bb)](Math[_0x788058(0x20b)](_0x1ab5f0,-0x4b7+0x14b9+-0x1002),-0x22f3*-0x1+-0x58f+-0x1d54));}function upgradeMetadata(_0x2e4782,_0x5b8d6a){const _0x26d8e4=_0x6b58f4,_0x1af822={..._0x2e4782??{}};if(process.env['MAR_NODE_SUPERVISED']==='1')_0x1af822[_0x26d8e4(0x27f)]=!![];else delete _0x1af822[_0x26d8e4(0x27f)];if(_0x5b8d6a[_0x26d8e4(0x14a)]===_0x26d8e4(0x178))delete _0x1af822[_0x26d8e4(0x20c)];else _0x1af822[_0x26d8e4(0x20c)]=_0x5b8d6a;return _0x1af822;}export class NodeConnector{[_0x6b58f4(0x17b)]=crypto[_0x6b58f4(0x13b)]()[_0x6b58f4(0x21c)](/-/g,'');[_0x6b58f4(0x1b6)];[_0x6b58f4(0x2c8)];[_0x6b58f4(0x242)];[_0x6b58f4(0x2c6)];set[_0x6b58f4(0x155)](_0x1f493b){const _0x19005e=_0x6b58f4;this[_0x19005e(0x1b6)][_0x19005e(0x18f)](_0x1f493b);}[_0x6b58f4(0x14d)]=![];[_0x6b58f4(0x197)];[_0x6b58f4(0x1df)];[_0x6b58f4(0x108)];[_0x6b58f4(0x1c1)];[_0x6b58f4(0x1be)];[_0x6b58f4(0x107)];[_0x6b58f4(0x1d4)]=![];[_0x6b58f4(0x2a6)];[_0x6b58f4(0x11d)];[_0x6b58f4(0x297)];[_0x6b58f4(0x1e7)];[_0x6b58f4(0x2cf)];[_0x6b58f4(0x17e)];[_0x6b58f4(0x271)];[_0x6b58f4(0x21e)];[_0x6b58f4(0x1aa)];[_0x6b58f4(0x2a7)];[_0x6b58f4(0x252)]=new WorkbenchEventService(envelope=>this[_0x6b58f4(0x130)](envelope),(category,payload)=>{const _0x5a5bcc=_0x6b58f4,sessionId=workbenchPayloadSessionId(this[_0x5a5bcc(0x150)],category,payload);return sessionId===undefined||!this[_0x5a5bcc(0x2c2)][_0x5a5bcc(0x1f6)][_0x5a5bcc(0x1ef)](sessionId);});[_0x6b58f4(0x253)];[_0x6b58f4(0x2ac)];[_0x6b58f4(0x1fb)]=new RunDomainState();[_0x6b58f4(0x206)];[_0x6b58f4(0x16f)];[_0x6b58f4(0x2cb)]=new SessionDomainState();[_0x6b58f4(0x2c2)];[_0x6b58f4(0x118)];[_0x6b58f4(0x149)];[_0x6b58f4(0x2d0)];[_0x6b58f4(0x1c4)];[_0x6b58f4(0x15c)];[_0x6b58f4(0x2a8)];[_0x6b58f4(0x24f)];[_0x6b58f4(0x1ae)];[_0x6b58f4(0x24b)];[_0x6b58f4(0x232)];[_0x6b58f4(0x11b)];[_0x6b58f4(0x11f)];[_0x6b58f4(0x245)];[_0x6b58f4(0x171)];[_0x6b58f4(0x1e9)];[_0x6b58f4(0x176)];[_0x6b58f4(0x131)];[_0x6b58f4(0x1b5)];[_0x6b58f4(0x1bf)];[_0x6b58f4(0x258)];[_0x6b58f4(0x1b1)];[_0x6b58f4(0x18b)];[_0x6b58f4(0x2c5)];[_0x6b58f4(0x1dd)];[_0x6b58f4(0x2bf)];[_0x6b58f4(0x1ca)];[_0x6b58f4(0x2bd)];[_0x6b58f4(0x1d9)];[_0x6b58f4(0x133)]=new NodeOperationRouter();[_0x6b58f4(0x15a)];[_0x6b58f4(0x257)];[_0x6b58f4(0x10b)];[_0x6b58f4(0x164)];[_0x6b58f4(0x1bc)]=new CommandStateStore();[_0x6b58f4(0x14e)]=new MissionRuntime(()=>undefined);[_0x6b58f4(0x2be)]=new Map();[_0x6b58f4(0x227)]=new Map();[_0x6b58f4(0x26f)]=new MissionMcpServer(this[_0x6b58f4(0x14e)],sessionId=>{const _0xdf56d9=_0x6b58f4,mission=this[_0xdf56d9(0x14e)][_0xdf56d9(0x222)](sessionId),session=this[_0xdf56d9(0x150)][_0xdf56d9(0x292)](sessionId);if(mission===undefined||session===undefined)return;if(mission[_0xdf56d9(0x1b2)]!==_0xdf56d9(0x132))this[_0xdf56d9(0x2bd)][_0xdf56d9(0x2b7)](sessionId);this[_0xdf56d9(0x293)](session,mission);});[_0x6b58f4(0x187)];[_0x6b58f4(0x1cc)];[_0x6b58f4(0x288)];[_0x6b58f4(0x124)]=new WorkspaceDomainState();[_0x6b58f4(0x2cd)]=new WorkspaceWatchService(this[_0x6b58f4(0x124)],workspaceId=>this[_0x6b58f4(0x18e)][_0x6b58f4(0x203)](workspaceId),workspaceId=>this[_0x6b58f4(0x18e)][_0x6b58f4(0x24d)](workspaceId),workspaceId=>this[_0x6b58f4(0x2b9)]?.[_0x6b58f4(0x21d)](workspaceId));[_0x6b58f4(0x18e)]=new WorkspaceSessionService(this[_0x6b58f4(0x124)],{'discover':workspaceId=>this[_0x6b58f4(0x29a)](workspaceId),'listPage':workspaceId=>this[_0x6b58f4(0x23a)](_0x6b58f4(0x1e2),{'workspaceId':workspaceId,'limit':0x14}),'active':workspaceId=>this[_0x6b58f4(0x2cd)][_0x6b58f4(0x1c5)](workspaceId,_0x6b58f4(0x137)),'invalidate':workspaceId=>void this[_0x6b58f4(0x2b9)]?.[_0x6b58f4(0x1e5)](workspaceId,_0x6b58f4(0x137)),'onPending':(workspaceId,waitMs)=>nodeLog(_0x6b58f4(0x298),{'nodeId':this[_0x6b58f4(0x1df)]?.[_0x6b58f4(0x1cd)],'workspaceId':workspaceId,'waitMs':waitMs})});[_0x6b58f4(0x170)]=new WorkspaceFileService(this[_0x6b58f4(0x124)],()=>this[_0x6b58f4(0x1df)]?.[_0x6b58f4(0x284)]??[],workspaceId=>this[_0x6b58f4(0x16f)][_0x6b58f4(0x2b6)](workspaceId));[_0x6b58f4(0x19e)]=new WorkspaceUploadService(this[_0x6b58f4(0x124)],workspaceId=>{const _0x2c0281=_0x6b58f4;this[_0x2c0281(0x170)][_0x2c0281(0x213)](workspaceId),this[_0x2c0281(0x16f)][_0x2c0281(0x2b6)](workspaceId);});[_0x6b58f4(0x24e)]=new WorkspaceChangeService(this[_0x6b58f4(0x124)]);[_0x6b58f4(0x2b9)];[_0x6b58f4(0x289)];[_0x6b58f4(0x22d)]=new RecentRunProjectionService(message=>this[_0x6b58f4(0x2bb)](_0x6b58f4(0x2a3),message));[_0x6b58f4(0x150)]=new NodeRuntimeState(()=>this[_0x6b58f4(0x1df)]?.[_0x6b58f4(0x1cd)]??_0x6b58f4(0x165),workspaceId=>this[_0x6b58f4(0x289)]?.[_0x6b58f4(0x1d7)](workspaceId),Date[_0x6b58f4(0x119)],(run,session,userMessage)=>this[_0x6b58f4(0x22d)][_0x6b58f4(0x175)](run,session,userMessage));[_0x6b58f4(0x290)]=new NodeMetrics();[_0x6b58f4(0x190)]=new RunEventService({'runtime':this[_0x6b58f4(0x150)],'metrics':this[_0x6b58f4(0x290)],'state':this[_0x6b58f4(0x1fb)],'isBootstrapSession':sessionId=>this[_0x6b58f4(0x2c2)][_0x6b58f4(0x1f6)][_0x6b58f4(0x1ef)](sessionId),'presentSession':session=>this[_0x6b58f4(0x24f)][_0x6b58f4(0x151)](session),'rejectBootstrap':(sessionId,code)=>this[_0x6b58f4(0x2c2)][_0x6b58f4(0x223)](sessionId,code),'emitWorkbench':(category,payload)=>{const _0x2245b5=_0x6b58f4;if(category===_0x2245b5(0x113)&&isPlainRecord(payload)&&_0x2245b5(0x1e6)in payload)this[_0x2245b5(0x228)](payload[_0x2245b5(0x1e6)]);else this[_0x2245b5(0x18c)](category,payload);},'cleanupAttachments':runId=>this[_0x6b58f4(0x245)][_0x6b58f4(0x1a4)](runId),'expireImages':runId=>this[_0x6b58f4(0x245)][_0x6b58f4(0x23f)](runId),'scheduleContextRefresh':sessionId=>this[_0x6b58f4(0x1dd)][_0x6b58f4(0x205)](sessionId),'refreshWorkspaceSessions':workspaceId=>this[_0x6b58f4(0x2b9)][_0x6b58f4(0x27d)](workspaceId,_0x6b58f4(0x137)),'dispatchQueue':async(sessionId,delayMs=0x6c4*-0x3+-0x1*0x125f+0x26ab*0x1)=>{const _0x2f3c5d=_0x6b58f4;if(this[_0x2f3c5d(0x288)][_0x2f3c5d(0x16e)]())return;if(delayMs>0x2*0x796+-0x150e*-0x1+0x243a*-0x1){this[_0x2f3c5d(0x2bd)][_0x2f3c5d(0x205)](sessionId,delayMs);return;}await this[_0x2f3c5d(0x2bd)][_0x2f3c5d(0x146)](sessionId);},'executionStarted':executionId=>this[_0x6b58f4(0x2bd)][_0x6b58f4(0x1b0)](executionId),'keepRunActive':sessionId=>(this[_0x6b58f4(0x2be)][_0x6b58f4(0x1ef)](sessionId)||this[_0x6b58f4(0x227)][_0x6b58f4(0x1ef)](sessionId))&&this[_0x6b58f4(0x14e)][_0x6b58f4(0x222)](sessionId)?.[_0x6b58f4(0x1b2)]===_0x6b58f4(0x132),'executionTerminating':(executionId,status)=>{const _0x7c4a96=_0x6b58f4,pending=this[_0x7c4a96(0x2bd)][_0x7c4a96(0x16e)](executionId);if(pending?.[_0x7c4a96(0x23c)]===undefined)return;const started=this[_0x7c4a96(0x2bd)][_0x7c4a96(0x28f)](executionId),blocked=this[_0x7c4a96(0x14e)][_0x7c4a96(0x120)](pending[_0x7c4a96(0x29b)],status===_0x7c4a96(0x141));if(blocked){this[_0x7c4a96(0x255)](pending[_0x7c4a96(0x29b)]),this[_0x7c4a96(0x2bd)][_0x7c4a96(0x2b7)](pending[_0x7c4a96(0x29b)]);const terminalMission=this[_0x7c4a96(0x14e)][_0x7c4a96(0x222)](pending[_0x7c4a96(0x29b)]),session=this[_0x7c4a96(0x150)][_0x7c4a96(0x292)](pending[_0x7c4a96(0x29b)]);if(terminalMission!==undefined&&session!==undefined)this[_0x7c4a96(0x293)](session,terminalMission);return;}if(status!==_0x7c4a96(0x141)||started)return;this[_0x7c4a96(0x255)](pending[_0x7c4a96(0x29b)]);const retry={'sessionId':pending[_0x7c4a96(0x29b)],'timer':setTimeout(()=>{const _0x4976bb=_0x7c4a96;this[_0x4976bb(0x2be)][_0x4976bb(0x27c)](retry[_0x4976bb(0x29b)]);const mission=this[_0x4976bb(0x14e)][_0x4976bb(0x222)](retry[_0x4976bb(0x29b)]);if(mission?.[_0x4976bb(0x1b2)]!==_0x4976bb(0x132)||mission['id']!==pending[_0x4976bb(0x23c)]?.['id']||mission[_0x4976bb(0x225)]!==pending[_0x4976bb(0x23c)][_0x4976bb(0x225)])return;void this[_0x4976bb(0x232)][_0x4976bb(0x233)]({'sessionId':retry[_0x4976bb(0x29b)],'kind':_0x4976bb(0x26d),'content':this[_0x4976bb(0x14e)][_0x4976bb(0x15f)](retry[_0x4976bb(0x29b)],_0x4976bb(0x26d)),'deliveryIntent':_0x4976bb(0x2a4),'mission':{'id':mission['id'],'revision':mission[_0x4976bb(0x225)]},'secretEnvironment':pending[_0x4976bb(0x169)],...pending[_0x4976bb(0x156)]===undefined?{}:{'personalInstructions':pending[_0x4976bb(0x156)]}})[_0x4976bb(0x28d)](()=>undefined);},0x36c1+-0x4861+0x4c38)};this[_0x7c4a96(0x2be)][_0x7c4a96(0x1ff)](pending[_0x7c4a96(0x29b)],retry),retry[_0x7c4a96(0x244)][_0x7c4a96(0x19f)]();},'releaseExecution':executionId=>{const _0x1e4c46=_0x6b58f4;this[_0x1e4c46(0x26f)][_0x1e4c46(0x241)](executionId),this[_0x1e4c46(0x2bd)][_0x1e4c46(0x1f5)](executionId);}});[_0x6b58f4(0x1d1)]=new SessionWatchSlotCoordinator();[_0x6b58f4(0x29c)]=new NativeSessionWatchService({'resolve':async sessionId=>this[_0x6b58f4(0x150)][_0x6b58f4(0x292)](sessionId)??this[_0x6b58f4(0x118)][_0x6b58f4(0x238)](sessionId),'managedActive':session=>hasManagedActiveRun(this[_0x6b58f4(0x150)],session),'suspended':sessionId=>this[_0x6b58f4(0x24b)][_0x6b58f4(0x21f)](sessionId),'refreshActivity':session=>this[_0x6b58f4(0x149)][_0x6b58f4(0x25c)](session),'present':session=>this[_0x6b58f4(0x24f)][_0x6b58f4(0x151)](session),'readPage':(session,limit)=>this[_0x6b58f4(0x149)][_0x6b58f4(0x142)](session,{'limit':limit}),'readHistoryPage':(session,limit)=>this[_0x6b58f4(0x149)][_0x6b58f4(0x182)](session,{'limit':limit}),'convergePage':convergeConversationWatchPage,'composeRuntimePage':composeConversationRuntimePage,'projectInitialPage':(session,page,_unit,limit)=>{const _0x17be28=_0x6b58f4,context=this[_0x17be28(0x1dd)][_0x17be28(0x160)](session['id']);return this[_0x17be28(0x1dd)][_0x17be28(0x205)](session),{'kind':_0x17be28(0x25e),'sequence':this[_0x17be28(0x252)][_0x17be28(0x277)](),'session':this[_0x17be28(0x24f)][_0x17be28(0x151)](session),'runs':this[_0x17be28(0x150)][_0x17be28(0x2ad)](session['id']),'queue':this[_0x17be28(0x1d9)][_0x17be28(0x160)](session['id']),'context':context,'conversation':this[_0x17be28(0x2d0)][_0x17be28(0x29d)](session,page,limit)};},'emitSession':session=>this[_0x6b58f4(0x12d)]({'session':session}),'emitPage':(session,page)=>this[_0x6b58f4(0x13e)](_0x6b58f4(0x113),{'sessionId':session['id'],'snapshot':this[_0x6b58f4(0x2d0)][_0x6b58f4(0x29d)](session,page,0x63*-0x11+-0x13c4+0x8cb*0x3)}),'nodeId':()=>this[_0x6b58f4(0x1df)]?.[_0x6b58f4(0x1cd)]??_0x6b58f4(0x165),'nodeGeneration':()=>this[_0x6b58f4(0x17b)],'emitWatchEvent':payload=>this[_0x6b58f4(0x2bb)](_0x6b58f4(0x2ba),payload),'sessionWatchSlots':this[_0x6b58f4(0x1d1)],'log':nodeLog});constructor(_0x1b087c={}){const _0x2ba4b7=_0x6b58f4;this[_0x2ba4b7(0x1df)]=_0x1b087c[_0x2ba4b7(0x1df)],this[_0x2ba4b7(0x21e)]=_0x1b087c[_0x2ba4b7(0x21e)],this[_0x2ba4b7(0x2a7)]=_0x1b087c[_0x2ba4b7(0x2a7)]??CLAUDE_APPROVAL_TIMEOUT_MS,this[_0x2ba4b7(0x108)]=_0x1b087c[_0x2ba4b7(0x1c1)]!==undefined,this[_0x2ba4b7(0x1c1)]=_0x1b087c[_0x2ba4b7(0x1c1)]??unavailableCapabilities(),this[_0x2ba4b7(0x107)]=_0x1b087c[_0x2ba4b7(0x107)]??probeBubblewrap,this[_0x2ba4b7(0x288)]=new NodeUpgradeCoordinator(()=>{const _0x1e1fa3=_0x2ba4b7;if(this[_0x1e1fa3(0x1df)]===undefined)throw new Error(_0x1e1fa3(0x2a2));return nodeUpgradeRequestPath(nodeDatabasePath(this[_0x1e1fa3(0x1df)],this[_0x1e1fa3(0x21e)]));},()=>this[_0x2ba4b7(0x1fb)][_0x2ba4b7(0x132)][_0x2ba4b7(0x1bd)],_0x8a9604=>{const _0x423c8f=_0x2ba4b7;this[_0x423c8f(0x1c1)]={...this[_0x423c8f(0x1c1)],'metadata':upgradeMetadata(this[_0x423c8f(0x1c1)][_0x423c8f(0x210)],_0x8a9604)},this[_0x423c8f(0x1b6)]?.[_0x423c8f(0x2bb)](_0x423c8f(0x1c1),this[_0x423c8f(0x1c1)]);},_0x1b087c[_0x2ba4b7(0x10c)]??(()=>{const _0x40944d=_0x2ba4b7;void this[_0x40944d(0x112)]()[_0x40944d(0x1de)](()=>process[_0x40944d(0x134)](0x11be+0x1*0x25e9+-0x375c));})),this[_0x2ba4b7(0x1c1)]={...this[_0x2ba4b7(0x1c1)],'metadata':upgradeMetadata(this[_0x2ba4b7(0x1c1)][_0x2ba4b7(0x210)],this[_0x2ba4b7(0x288)][_0x2ba4b7(0x160)]())};const _0x2aea91=_0x1b087c[_0x2ba4b7(0x1be)]??detectCapabilitiesAsync;this[_0x2ba4b7(0x1be)]=async()=>{const _0xb281a6=_0x2ba4b7,_0x199eb8=await _0x2aea91();return this[_0xb281a6(0x1c9)]({..._0x199eb8,'metadata':upgradeMetadata(_0x199eb8[_0xb281a6(0x210)],this[_0xb281a6(0x288)][_0xb281a6(0x160)]())});},this[_0x2ba4b7(0x1aa)]=_0x1b087c[_0x2ba4b7(0x1aa)]??!![],this[_0x2ba4b7(0x253)]=_0x1b087c[_0x2ba4b7(0x253)]===undefined?undefined:new FakeTestRunner(_0x1b087c[_0x2ba4b7(0x253)]),this[_0x2ba4b7(0x2ac)]=_0x1b087c[_0x2ba4b7(0x2ac)],this[_0x2ba4b7(0x245)]=new RunAttachmentService(_0x4d7d7e=>this[_0x2ba4b7(0x2c5)][_0x2ba4b7(0x117)](_0x4d7d7e[_0x2ba4b7(0x22f)])[_0x2ba4b7(0x122)](_0x4d7d7e)),this[_0x2ba4b7(0x1e9)]=new CodexRunner(_0x1b087c[_0x2ba4b7(0x1e9)],_0x1b087c[_0x2ba4b7(0x276)]),this[_0x2ba4b7(0x176)]=new CodexManagedRunController(this[_0x2ba4b7(0x1e9)],{'available':()=>this[_0x2ba4b7(0x1c1)][_0x2ba4b7(0x1fc)][_0x2ba4b7(0x1a8)],'intercepted':()=>this[_0x2ba4b7(0x253)]!==undefined,'active':this[_0x2ba4b7(0x1fb)][_0x2ba4b7(0x132)],'addActive':_0x4efc88=>this[_0x2ba4b7(0x1fb)][_0x2ba4b7(0x132)][_0x2ba4b7(0x140)](_0x4efc88),'removeActive':_0x1ff004=>this[_0x2ba4b7(0x1fb)][_0x2ba4b7(0x132)][_0x2ba4b7(0x27c)](_0x1ff004),'adopt':_0x1a5d96=>this[_0x2ba4b7(0x150)][_0x2ba4b7(0x215)](_0x1a5d96),'session':_0x5bf877=>this[_0x2ba4b7(0x150)][_0x2ba4b7(0x292)](_0x5bf877),'runStatus':_0x1126a1=>this[_0x2ba4b7(0x150)][_0x2ba4b7(0x106)](_0x1126a1)?.[_0x2ba4b7(0x1b2)],'run':_0x145f49=>this[_0x2ba4b7(0x150)][_0x2ba4b7(0x106)](_0x145f49),'interrupted':_0x141893=>this[_0x2ba4b7(0x1fb)][_0x2ba4b7(0x2c3)][_0x2ba4b7(0x1ef)](_0x141893),'parseAttachments':parseRunnerImageAttachments,'materialize':(_0x545279,_0x224085)=>this[_0x2ba4b7(0x245)][_0x2ba4b7(0x262)](_0x545279,_0x224085),'completeCancelled':_0x4069a3=>this[_0x2ba4b7(0x1c4)][_0x2ba4b7(0x19a)](_0x4069a3),'promoteSession':(_0x1d3aa0,_0xec268c)=>this[_0x2ba4b7(0x2c2)][_0x2ba4b7(0x11c)](_0x1d3aa0,_0xec268c),'send':(_0x8a24e1,_0x1d02d4)=>this[_0x2ba4b7(0x2bb)](_0x8a24e1,_0x1d02d4),'emit':(_0xc4a204,_0x2c53c3,_0x2789f3,_0x59daf8)=>this[_0x2ba4b7(0x206)][_0x2ba4b7(0x218)](_0xc4a204,_0x2c53c3,_0x2789f3,_0x59daf8),'cancel':(_0x28d641,_0x2200ac,_0x4c4c18,_0x1b04c1,_0x10fd78)=>this[_0x2ba4b7(0x1c4)][_0x2ba4b7(0x1e1)](_0x28d641,_0x2200ac,_0x4c4c18,_0x1b04c1,_0x10fd78),'createApproval':_0x3452ad=>this[_0x2ba4b7(0x150)][_0x2ba4b7(0x17f)](_0x3452ad),'publishApproval':_0x89ee2b=>this[_0x2ba4b7(0x206)][_0x2ba4b7(0x260)](_0x89ee2b),'emitItem':(_0x4f7e48,_0x66704)=>this[_0x2ba4b7(0x29e)](_0x4f7e48,_0x66704),'appendImages':(_0x4cdcd5,_0x39c510)=>this[_0x2ba4b7(0x245)][_0x2ba4b7(0x12a)](_0x4cdcd5,_0x39c510[_0x2ba4b7(0x280)](isRunnerImageAttachment)),'syncTitle':(_0x8d372c,_0x5dcebd,_0x432366)=>this[_0x2ba4b7(0x2a8)][_0x2ba4b7(0x1a9)](_0x8d372c,_0x5dcebd,_0x432366),'commandState':(_0xc6e46a,_0x39cd8e)=>this[_0x2ba4b7(0x1bc)][_0x2ba4b7(0x222)](_0xc6e46a,_0x39cd8e),'setCommandState':(_0x3f6f1d,_0x41b73f)=>this[_0x2ba4b7(0x1bc)][_0x2ba4b7(0x1ff)](_0x3f6f1d,_0x41b73f),'clearCommandState':(_0x3668a,_0x43d65c)=>this[_0x2ba4b7(0x1bc)][_0x2ba4b7(0x2ce)](_0x3668a,_0x43d65c),'commandStates':_0x27b0bb=>this[_0x2ba4b7(0x1bc)][_0x2ba4b7(0x163)](_0x27b0bb),'hasActiveSessionLease':_0x160fb3=>this[_0x2ba4b7(0x150)][_0x2ba4b7(0x2ab)](_0x160fb3),'fast':_0x4e00ad=>this[_0x2ba4b7(0x23a)](_0x2ba4b7(0x211),{'runner':_0x2ba4b7(0x1fc),'commandId':_0x2ba4b7(0x273),'input':_0x4e00ad})}),this[_0x2ba4b7(0x1e9)][_0x2ba4b7(0x10f)](_0x30c25f=>this[_0x2ba4b7(0x176)][_0x2ba4b7(0x1b9)](_0x30c25f)),this[_0x2ba4b7(0x131)]=new ClaudeCodeRunner(_0x1b087c[_0x2ba4b7(0x131)]),this[_0x2ba4b7(0x1b5)]=new OpenCodeRunner(_0x1b087c[_0x2ba4b7(0x1b5)]),this[_0x2ba4b7(0x1bf)]=new MarAgentRunner(),this[_0x2ba4b7(0x258)]=new MarAgentManagedRunController(this[_0x2ba4b7(0x1bf)],{'active':this[_0x2ba4b7(0x1fb)][_0x2ba4b7(0x132)],'adopt':_0x2d5f43=>this[_0x2ba4b7(0x150)][_0x2ba4b7(0x215)](_0x2d5f43),'promote':(_0x12524f,_0x319b4a)=>this[_0x2ba4b7(0x2c2)][_0x2ba4b7(0x11c)](_0x12524f,_0x319b4a),'syncTitle':(_0x147f97,_0x2e4f73)=>this[_0x2ba4b7(0x2a8)][_0x2ba4b7(0x1a9)](_0x147f97,_0x147f97,_0x2e4f73),'emit':(_0x2e3fb3,_0x2c510f,_0x302895,_0x47bd80)=>this[_0x2ba4b7(0x206)][_0x2ba4b7(0x218)](_0x2e3fb3,_0x2c510f,_0x302895,_0x47bd80),'emitItem':(_0x2a80cf,_0xa4245a)=>this[_0x2ba4b7(0x29e)](_0x2a80cf,_0xa4245a),'createApproval':_0x3b7c=>this[_0x2ba4b7(0x150)][_0x2ba4b7(0x17f)](_0x3b7c),'publishApproval':_0x3168ce=>this[_0x2ba4b7(0x206)][_0x2ba4b7(0x260)](_0x3168ce),'run':_0x20a338=>this[_0x2ba4b7(0x150)][_0x2ba4b7(0x106)](_0x20a338),'commandState':(_0x46b1dc,_0x19e744)=>this[_0x2ba4b7(0x1bc)][_0x2ba4b7(0x222)](_0x46b1dc,_0x19e744),'setCommandState':(_0x559e0e,_0x3c7105)=>this[_0x2ba4b7(0x1bc)][_0x2ba4b7(0x1ff)](_0x559e0e,_0x3c7105),'clearCommandState':(_0xe96445,_0x535bd6)=>this[_0x2ba4b7(0x1bc)][_0x2ba4b7(0x2ce)](_0xe96445,_0x535bd6),'commandStates':_0x4d348b=>this[_0x2ba4b7(0x1bc)][_0x2ba4b7(0x163)](_0x4d348b),'webSearch':(_0xf3f63c,_0x302c6b)=>this[_0x2ba4b7(0x179)](_0xf3f63c,_0x302c6b)}),this[_0x2ba4b7(0x1bf)][_0x2ba4b7(0x2af)](_0x22fad3=>this[_0x2ba4b7(0x258)][_0x2ba4b7(0x2b4)](_0x22fad3)),this[_0x2ba4b7(0x1b1)]=new OpenCodeManagedRunController(this[_0x2ba4b7(0x1b5)],{'intercepted':()=>this[_0x2ba4b7(0x253)]!==undefined,'active':this[_0x2ba4b7(0x1fb)][_0x2ba4b7(0x132)],'parseAttachments':parseRunnerImageAttachments,'persistAttachments':(_0x3df41c,_0x45dcef,_0x460185)=>this[_0x2ba4b7(0x245)][_0x2ba4b7(0x1a5)](_0x3df41c,_0x45dcef+_0x2ba4b7(0x193),_0x460185),'emit':(_0x34b256,_0x58483a,_0xe4a5d9,_0x5d60ca)=>this[_0x2ba4b7(0x206)][_0x2ba4b7(0x218)](_0x34b256,_0x58483a,_0xe4a5d9,_0x5d60ca),'emitItem':(_0x48d5fe,_0x483068)=>this[_0x2ba4b7(0x29e)](_0x48d5fe,_0x483068),'adopt':_0x96aea2=>this[_0x2ba4b7(0x150)][_0x2ba4b7(0x215)](_0x96aea2),'run':_0xb0936b=>{const _0x44e3ae=_0x2ba4b7,_0x3c49c8=this[_0x44e3ae(0x150)][_0x44e3ae(0x106)](_0xb0936b);if(_0x3c49c8===undefined)throw new Error(_0x44e3ae(0x216));return _0x3c49c8;},'hasActiveSessionLease':_0x2c4053=>this[_0x2ba4b7(0x150)][_0x2ba4b7(0x2ab)](_0x2c4053),'promote':(_0x2b2b7a,_0x5b8539)=>this[_0x2ba4b7(0x2c2)][_0x2ba4b7(0x11c)](_0x2b2b7a,_0x5b8539),'rememberNative':(_0x70ead4,_0x1d13fc)=>this[_0x2ba4b7(0x2a8)][_0x2ba4b7(0x1d5)](_0x70ead4,_0x1d13fc),'send':(_0x24d3e2,_0x988fe3)=>this[_0x2ba4b7(0x2bb)](_0x24d3e2,_0x988fe3),'createApproval':_0x606aba=>this[_0x2ba4b7(0x150)][_0x2ba4b7(0x17f)](_0x606aba),'expireApproval':_0x4a10d7=>{const _0x2f58b3=_0x2ba4b7;this[_0x2f58b3(0x150)][_0x2f58b3(0x220)](_0x4a10d7);},'publishApproval':_0x49dc03=>this[_0x2ba4b7(0x206)][_0x2ba4b7(0x260)](_0x49dc03),'commandState':(_0x3a99ca,_0x239e87)=>this[_0x2ba4b7(0x1bc)][_0x2ba4b7(0x222)](_0x3a99ca,_0x239e87),'setCommandState':(_0x3a81cd,_0x469449)=>this[_0x2ba4b7(0x1bc)][_0x2ba4b7(0x1ff)](_0x3a81cd,_0x469449),'clearCommandState':(_0x28e996,_0x9923e5)=>this[_0x2ba4b7(0x1bc)][_0x2ba4b7(0x2ce)](_0x28e996,_0x9923e5),'commandStates':_0x1bca1a=>this[_0x2ba4b7(0x1bc)][_0x2ba4b7(0x163)](_0x1bca1a)},this[_0x2ba4b7(0x2a7)]),this[_0x2ba4b7(0x18b)]=new ClaudeManagedRunController(this[_0x2ba4b7(0x131)],{'intercepted':()=>this[_0x2ba4b7(0x253)]!==undefined,'active':this[_0x2ba4b7(0x1fb)][_0x2ba4b7(0x132)],'parseAttachments':parseRunnerImageAttachments,'emit':(_0x430574,_0x5f470a,_0xcb62e6,_0x28f762)=>this[_0x2ba4b7(0x206)][_0x2ba4b7(0x218)](_0x430574,_0x5f470a,_0xcb62e6,_0x28f762),'adopt':_0x5a0389=>this[_0x2ba4b7(0x150)][_0x2ba4b7(0x215)](_0x5a0389),'run':_0x21dec3=>this[_0x2ba4b7(0x150)][_0x2ba4b7(0x106)](_0x21dec3),'hasActiveSessionLease':_0x48b170=>this[_0x2ba4b7(0x150)][_0x2ba4b7(0x2ab)](_0x48b170),'session':_0x35047e=>this[_0x2ba4b7(0x150)][_0x2ba4b7(0x292)](_0x35047e),'completeCancelled':_0x4e7ed2=>this[_0x2ba4b7(0x1c4)][_0x2ba4b7(0x19a)](_0x4e7ed2),'requestUserInput':(_0x3a2dc7,_0x1c5622,_0xd02a4a)=>this[_0x2ba4b7(0x1c4)][_0x2ba4b7(0x162)](_0x3a2dc7,_0x1c5622,_0xd02a4a),'requestApproval':(_0x261836,_0x12d843,_0x4d31e4)=>this[_0x2ba4b7(0x1c4)][_0x2ba4b7(0x111)](_0x261836,_0x12d843,_0x4d31e4),'rememberNative':(_0x45d49d,_0x2bec52)=>this[_0x2ba4b7(0x2a8)][_0x2ba4b7(0x1d5)](_0x45d49d,_0x2bec52),'promote':(_0x2ca0da,_0x5de996)=>this[_0x2ba4b7(0x2c2)][_0x2ba4b7(0x11c)](_0x2ca0da,_0x5de996),'send':(_0x41ffc4,_0x57f03d)=>this[_0x2ba4b7(0x2bb)](_0x41ffc4,_0x57f03d),'emitItem':(_0x1676d2,_0x156016)=>this[_0x2ba4b7(0x29e)](_0x1676d2,_0x156016),'syncTitle':(_0x32fafd,_0xeeb72d,_0x2d4824)=>this[_0x2ba4b7(0x2a8)][_0x2ba4b7(0x1a9)](_0x32fafd,_0xeeb72d,_0x2d4824),'setChannelToken':(_0x207891,_0x1c148e)=>this[_0x2ba4b7(0x150)][_0x2ba4b7(0x194)](_0x207891,_0x1c148e),'commandState':(_0x34eb92,_0x26f185)=>this[_0x2ba4b7(0x1bc)][_0x2ba4b7(0x222)](_0x34eb92,_0x26f185),'setCommandState':(_0x38ec76,_0x139192)=>this[_0x2ba4b7(0x1bc)][_0x2ba4b7(0x1ff)](_0x38ec76,_0x139192),'clearCommandState':(_0x5ca937,_0x137d06)=>this[_0x2ba4b7(0x1bc)][_0x2ba4b7(0x2ce)](_0x5ca937,_0x137d06),'commandStates':_0x12e510=>this[_0x2ba4b7(0x1bc)][_0x2ba4b7(0x163)](_0x12e510)}),this[_0x2ba4b7(0x2c5)]=new RunnerRegistry([this[_0x2ba4b7(0x1b5)],this[_0x2ba4b7(0x1bf)],this[_0x2ba4b7(0x1e9)],this[_0x2ba4b7(0x131)],...this[_0x2ba4b7(0x253)]===undefined?[]:[this[_0x2ba4b7(0x253)]]]),this[_0x2ba4b7(0x2a8)]=new ManagedRunnerSessionService(this[_0x2ba4b7(0x150)],this[_0x2ba4b7(0x2c5)],_0x26e80e=>this[_0x2ba4b7(0x12d)]({'session':this[_0x2ba4b7(0x24f)][_0x2ba4b7(0x151)](_0x26e80e)})),this[_0x2ba4b7(0x1c4)]=new RunnerInteractionService({'runtime':this[_0x2ba4b7(0x150)],'state':this[_0x2ba4b7(0x1fb)],'codex':()=>this[_0x2ba4b7(0x1e9)],'claude':()=>this[_0x2ba4b7(0x131)],'runners':this[_0x2ba4b7(0x2c5)],'emitRun':(_0x27678e,_0x19564c,_0x33ce54,_0x5519b5)=>this[_0x2ba4b7(0x206)][_0x2ba4b7(0x218)](_0x27678e,_0x19564c,_0x33ce54,_0x5519b5),'emitItem':(_0x153f03,_0x57e24e)=>this[_0x2ba4b7(0x29e)](_0x153f03,_0x57e24e),'approvalTimeoutMs':this[_0x2ba4b7(0x2a7)],'publishApproval':_0x18d383=>this[_0x2ba4b7(0x206)][_0x2ba4b7(0x260)](_0x18d383)}),this[_0x2ba4b7(0x15c)]=new RunnerChannelMessageService({'interactions':this[_0x2ba4b7(0x1c4)],'send':(_0x22b7c9,_0x25df12,_0xc89c77)=>this[_0x2ba4b7(0x2bb)](_0x22b7c9,_0x25df12,_0xc89c77)}),this[_0x2ba4b7(0x24f)]=new SessionPresentationService({'database':()=>this[_0x2ba4b7(0x289)],'runtime':this[_0x2ba4b7(0x150)],'commands':this[_0x2ba4b7(0x1bc)],'runners':this[_0x2ba4b7(0x2c5)],'capabilities':()=>this[_0x2ba4b7(0x1c1)],'hasManagedActiveRun':_0x213104=>hasManagedActiveRun(this[_0x2ba4b7(0x150)],_0x213104),'externalActivity':_0x4a227e=>this[_0x2ba4b7(0x2cb)][_0x2ba4b7(0x1af)][_0x2ba4b7(0x222)](_0x4a227e),'projectionForNative':_0x566eca=>this[_0x2ba4b7(0x118)][_0x2ba4b7(0x2a9)](_0x566eca)}),this[_0x2ba4b7(0x118)]=new NativeSessionProjectionService({'database':()=>this[_0x2ba4b7(0x289)],'nodeId':()=>this[_0x2ba4b7(0x1df)]?.[_0x2ba4b7(0x1cd)]??_0x2ba4b7(0x1b8),'runtime':this[_0x2ba4b7(0x150)],'runners':this[_0x2ba4b7(0x2c5)],'capabilities':()=>this[_0x2ba4b7(0x1c1)],'state':this[_0x2ba4b7(0x2cb)],'commands':this[_0x2ba4b7(0x1bc)],'present':_0x604b55=>this[_0x2ba4b7(0x24f)][_0x2ba4b7(0x151)](_0x604b55)}),this[_0x2ba4b7(0x149)]=new ConversationHistoryService({'runtime':this[_0x2ba4b7(0x150)],'runners':this[_0x2ba4b7(0x2c5)],'capabilities':()=>this[_0x2ba4b7(0x1c1)],'attachments':this[_0x2ba4b7(0x245)],'snapshotSequence':()=>this[_0x2ba4b7(0x252)][_0x2ba4b7(0x277)](),'hasManagedActiveRun':_0x4e85b6=>hasManagedActiveRun(this[_0x2ba4b7(0x150)],_0x4e85b6),'setExternalActivity':(_0x474f58,_0x5849ee)=>this[_0x2ba4b7(0x2cb)][_0x2ba4b7(0x1af)][_0x2ba4b7(0x1ff)](_0x474f58,_0x5849ee)}),this[_0x2ba4b7(0x2d0)]=new ConversationSegmentService((_0x3bac7b,_0x4b00f5)=>this[_0x2ba4b7(0x149)][_0x2ba4b7(0x142)](_0x3bac7b,_0x4b00f5)),this[_0x2ba4b7(0x1dd)]=new SessionContextService({'runners':this[_0x2ba4b7(0x2c5)],'session':_0x1659fc=>this[_0x2ba4b7(0x150)][_0x2ba4b7(0x292)](_0x1659fc),'stopped':()=>this[_0x2ba4b7(0x14d)],'publish':_0x2fa084=>this[_0x2ba4b7(0x12d)](_0x2fa084)}),this[_0x2ba4b7(0x2bf)]=new RunWorkbenchService({'runtime':this[_0x2ba4b7(0x150)],'readImage':async(_0xb7dfca,_0x4532a6)=>this[_0x2ba4b7(0x245)][_0x2ba4b7(0x142)](_0xb7dfca,_0x4532a6)??await this[_0x2ba4b7(0x245)][_0x2ba4b7(0x2b8)](_0xb7dfca,_0x4532a6),'respondUserInput':(_0x29ecb5,_0x330a10,_0x2e98b3)=>this[_0x2ba4b7(0x1c4)][_0x2ba4b7(0x217)](_0x29ecb5,_0x330a10,_0x2e98b3),'pauseQueue':_0xc455ba=>this[_0x2ba4b7(0x1d9)][_0x2ba4b7(0x26b)](_0xc455ba),'emitRun':(_0xf50f79,_0x16e353,_0x37e34f,_0x3ed66e)=>this[_0x2ba4b7(0x206)][_0x2ba4b7(0x218)](_0xf50f79,_0x16e353,_0x37e34f,_0x3ed66e),'control':(_0x4acc0a,_0x3cd05b)=>this[_0x2ba4b7(0x2c8)][_0x2ba4b7(0x14f)](JSON[_0x2ba4b7(0x28e)](createEnvelope(_0x4acc0a,_0x3cd05b))),'markInterrupted':_0x18268f=>this[_0x2ba4b7(0x1fb)][_0x2ba4b7(0x2c3)][_0x2ba4b7(0x140)](_0x18268f)}),this[_0x2ba4b7(0x1ca)]=new SessionQueryService({'runtime':this[_0x2ba4b7(0x150)],'runners':this[_0x2ba4b7(0x2c5)],'resolve':_0x5bc71d=>this[_0x2ba4b7(0x118)][_0x2ba4b7(0x25a)](_0x5bc71d),'present':_0x39a6ea=>this[_0x2ba4b7(0x24f)][_0x2ba4b7(0x151)](_0x39a6ea),'history':(_0x52f791,_0x292386)=>this[_0x2ba4b7(0x149)][_0x2ba4b7(0x142)](_0x52f791,_0x292386),'segments':(_0x55a040,_0x49f2aa)=>this[_0x2ba4b7(0x2d0)][_0x2ba4b7(0x142)](_0x55a040,_0x49f2aa),'context':this[_0x2ba4b7(0x1dd)],'discover':(_0x33111a,_0x4681a6)=>this[_0x2ba4b7(0x118)][_0x2ba4b7(0x1e0)](_0x33111a,_0x4681a6),'workspaceIdForCwd':_0xe85f88=>this[_0x2ba4b7(0x289)]?.[_0x2ba4b7(0x20f)]()[_0x2ba4b7(0x10a)](_0x4e122d=>_0x4e122d[_0x2ba4b7(0x2b5)]===_0xe85f88)?.['id']}),this[_0x2ba4b7(0x2bd)]=new ContinuousRunCoordinator({'runtime':this[_0x2ba4b7(0x150)],'emitQueue':(_0x4f8772,_0x40d6b7)=>this[_0x2ba4b7(0x206)][_0x2ba4b7(0x17d)](_0x4f8772,_0x40d6b7),'clearImages':_0x627fa0=>this[_0x2ba4b7(0x245)][_0x2ba4b7(0x2ce)](_0x627fa0),'cleanupAttachments':_0x4a2865=>this[_0x2ba4b7(0x245)][_0x2ba4b7(0x1a4)](_0x4a2865),'migrateAssets':(_0x7d0047,_0x5b542b)=>this[_0x2ba4b7(0x245)][_0x2ba4b7(0x12f)](_0x7d0047,_0x5b542b),'emitRun':(_0x4d5844,_0x209892,_0x355c4c,_0x555ce6)=>this[_0x2ba4b7(0x206)][_0x2ba4b7(0x218)](_0x4d5844,_0x209892,_0x355c4c,_0x555ce6),'emitConversation':_0x106e8b=>this[_0x2ba4b7(0x228)](_0x106e8b),'control':(_0xa735f1,_0x362dcb)=>this[_0x2ba4b7(0x2c8)][_0x2ba4b7(0x14f)](JSON[_0x2ba4b7(0x28e)](createEnvelope(_0xa735f1,_0x362dcb))),'stopped':()=>this[_0x2ba4b7(0x14d)],'markInterrupted':_0x26f26c=>this[_0x2ba4b7(0x1fb)][_0x2ba4b7(0x2c3)][_0x2ba4b7(0x140)](_0x26f26c),'mcps':_0xc0c184=>this[_0x2ba4b7(0x289)]?.[_0x2ba4b7(0x212)](_0xc0c184)??[],'afterExecutionStarted':async _0x3c5806=>{const _0x5a60cd=_0x2ba4b7;if(_0x3c5806[_0x5a60cd(0x23c)]===undefined)return;const _0x1d7212=this[_0x5a60cd(0x14e)][_0x5a60cd(0x222)](_0x3c5806[_0x5a60cd(0x29b)]);if(_0x1d7212?.[_0x5a60cd(0x1b2)]!==_0x5a60cd(0x132)||_0x1d7212['id']!==_0x3c5806[_0x5a60cd(0x23c)]['id']||_0x1d7212[_0x5a60cd(0x225)]!==_0x3c5806[_0x5a60cd(0x23c)][_0x5a60cd(0x225)])return;const _0x4e148f=this[_0x5a60cd(0x14e)][_0x5a60cd(0x1e8)](_0x3c5806[_0x5a60cd(0x29b)]),_0x14632d=this[_0x5a60cd(0x150)][_0x5a60cd(0x292)](_0x3c5806[_0x5a60cd(0x29b)]);if(_0x4e148f!==undefined&&_0x14632d!==undefined)this[_0x5a60cd(0x293)](_0x14632d,_0x4e148f);await this[_0x5a60cd(0x229)]({'sessionId':_0x3c5806[_0x5a60cd(0x29b)],'mission':{'id':_0x1d7212['id'],'revision':_0x1d7212[_0x5a60cd(0x225)]},'secretEnvironment':_0x3c5806[_0x5a60cd(0x169)],..._0x3c5806[_0x5a60cd(0x156)]===undefined?{}:{'personalInstructions':_0x3c5806[_0x5a60cd(0x156)]}});},'missionMcp':async _0x38fd3f=>{const _0x2a0616=_0x2ba4b7;if(_0x38fd3f[_0x2a0616(0x23c)]===undefined)throw new Error(_0x2a0616(0x1b3));const _0x41bf88=await this[_0x2a0616(0x26f)][_0x2a0616(0x28c)]({'executionId':_0x38fd3f[_0x2a0616(0x2b1)],'sessionId':_0x38fd3f[_0x2a0616(0x29b)],'missionId':_0x38fd3f[_0x2a0616(0x23c)]['id'],'revision':_0x38fd3f[_0x2a0616(0x23c)][_0x2a0616(0x225)]});return{'installation':{'targetKind':_0x2a0616(0x125),'targetId':_0x38fd3f[_0x2a0616(0x19c)],'catalogEntryId':_0x2a0616(0x128),'serverName':_0x2a0616(0x16a),'displayName':_0x2a0616(0x10d),'version':_0x2a0616(0x270),'enabled':!![],'runtime':{'transport':_0x2a0616(0x105),'url':_0x2a0616(0x23b),'headers':{}},'configuration':_0x41bf88[_0x2a0616(0x28c)],'installedAt':Date[_0x2a0616(0x119)](),..._0x41bf88[_0x2a0616(0x28c)]},'secrets':_0x41bf88[_0x2a0616(0x12b)]};}}),this[_0x2ba4b7(0x1d9)]=new WorkspaceQueueWorkbenchService({'runtime':this[_0x2ba4b7(0x150)],'coordinator':this[_0x2ba4b7(0x2bd)],'emit':(_0x29420b,_0x409bf5)=>this[_0x2ba4b7(0x206)][_0x2ba4b7(0x17d)](_0x29420b,_0x409bf5),'prepareInput':(_0x52a5b7,_0x5a941b,_0xc494f4)=>this[_0x2ba4b7(0x2c5)][_0x2ba4b7(0x117)](_0x52a5b7)[_0x2ba4b7(0x1dc)](_0x5a941b,_0xc494f4)}),this[_0x2ba4b7(0x2c2)]=new SessionIdentityService({'runtime':this[_0x2ba4b7(0x150)],'persist':(_0x39d832,_0x5a40bf)=>{const _0x18bf7b=_0x2ba4b7;if(_0x39d832[_0x18bf7b(0x1f0)]===null||_0x39d832[_0x18bf7b(0x1f4)]===null||_0x39d832[_0x18bf7b(0x204)]===null)return;this[_0x18bf7b(0x289)]?.[_0x18bf7b(0x2c9)]({'runner':_0x39d832[_0x18bf7b(0x22f)],'externalSessionId':_0x5a40bf,'workspaceId':_0x39d832[_0x18bf7b(0x19c)],'model':_0x39d832[_0x18bf7b(0x1f0)],'effort':_0x39d832[_0x18bf7b(0x1f4)],'access':_0x39d832[_0x18bf7b(0x204)]});},'migrateCommands':(_0x426fe2,_0x403403)=>this[_0x2ba4b7(0x1bc)][_0x2ba4b7(0x110)](_0x426fe2,_0x403403),'migrateMission':(_0x43f547,_0x377702)=>{const _0x30f3c2=_0x2ba4b7;this[_0x30f3c2(0x14e)][_0x30f3c2(0x168)](_0x43f547,_0x377702),this[_0x30f3c2(0x26f)][_0x30f3c2(0x168)](_0x43f547,_0x377702);const _0x5e5fda=this[_0x30f3c2(0x2be)][_0x30f3c2(0x222)](_0x43f547);_0x5e5fda!==undefined&&(this[_0x30f3c2(0x2be)][_0x30f3c2(0x27c)](_0x43f547),_0x5e5fda[_0x30f3c2(0x29b)]=_0x377702,this[_0x30f3c2(0x2be)][_0x30f3c2(0x1ff)](_0x377702,_0x5e5fda));const _0x14f2d3=this[_0x30f3c2(0x227)][_0x30f3c2(0x222)](_0x43f547);_0x14f2d3!==undefined&&(this[_0x30f3c2(0x227)][_0x30f3c2(0x27c)](_0x43f547),this[_0x30f3c2(0x227)][_0x30f3c2(0x1ff)](_0x377702,_0x14f2d3));},'migrateQueue':(_0x403771,_0x499cb1)=>this[_0x2ba4b7(0x2bd)][_0x2ba4b7(0x168)](_0x403771,_0x499cb1),'migrateRunnerState':(_0x299e31,_0x4e2fcd)=>this[_0x2ba4b7(0x206)][_0x2ba4b7(0x214)](_0x299e31,_0x4e2fcd),'emitSession':_0x2dbe43=>this[_0x2ba4b7(0x12d)]({'session':_0x2dbe43}),'emitRun':_0x41d6c9=>this[_0x2ba4b7(0x13e)](_0x2ba4b7(0x1d3),{'run':_0x41d6c9}),'emitQueue':_0x5254ea=>this[_0x2ba4b7(0x2bd)][_0x2ba4b7(0x248)](_0x5254ea),'emitTurn':_0x539dd4=>this[_0x2ba4b7(0x228)](_0x539dd4)}),this[_0x2ba4b7(0x1ae)]=new SessionLifecycleService({'database':()=>{const _0x2a2250=_0x2ba4b7;if(this[_0x2a2250(0x289)]===undefined)throw new Error(_0x2a2250(0x278));return this[_0x2a2250(0x289)];},'runtime':this[_0x2ba4b7(0x150)],'runners':this[_0x2ba4b7(0x2c5)],'projection':this[_0x2ba4b7(0x118)],'identity':this[_0x2ba4b7(0x2c2)],'present':_0x2d26d4=>this[_0x2ba4b7(0x24f)][_0x2ba4b7(0x151)](_0x2d26d4),'emitSession':_0x13ce7f=>this[_0x2ba4b7(0x12d)]({'session':this[_0x2ba4b7(0x24f)][_0x2ba4b7(0x151)](_0x13ce7f)}),'execute':(_0x14a16d,_0x11679a)=>this[_0x2ba4b7(0x23a)](_0x14a16d,_0x11679a),'interceptedSessionId':_0x4b9d10=>this[_0x2ba4b7(0x253)]===undefined?undefined:_0x2ba4b7(0x143)+_0x4b9d10}),this[_0x2ba4b7(0x24b)]=new ExternalSessionResumeService({'runtime':this[_0x2ba4b7(0x150)],'runners':this[_0x2ba4b7(0x2c5)],'state':this[_0x2ba4b7(0x2cb)],'available':_0x11449f=>this[_0x2ba4b7(0x2c5)][_0x2ba4b7(0x117)](_0x11449f)[_0x2ba4b7(0x1a8)](this[_0x2ba4b7(0x1c1)]),'projectionFor':_0x4ed511=>this[_0x2ba4b7(0x118)][_0x2ba4b7(0x2a9)](_0x4ed511),'managedAliasFor':_0x4e8f18=>this[_0x2ba4b7(0x118)][_0x2ba4b7(0x157)](_0x4e8f18),'ensureConfiguration':_0x3e907b=>this[_0x2ba4b7(0x118)][_0x2ba4b7(0x240)](_0x3e907b),'configuration':_0x188893=>this[_0x2ba4b7(0x118)][_0x2ba4b7(0x25d)](_0x188893),'workspacePath':_0x7aee7d=>this[_0x2ba4b7(0x289)]?.[_0x2ba4b7(0x1d7)](_0x7aee7d)?.[_0x2ba4b7(0x2b5)],'rememberNative':(_0x12a352,_0x1d02fa)=>this[_0x2ba4b7(0x2a8)][_0x2ba4b7(0x1d5)](_0x12a352,_0x1d02fa),'stage':_0xf88676=>{const _0x669959=_0x2ba4b7,_0x29831f=this[_0x669959(0x118)][_0x669959(0x25d)](_0xf88676);return this[_0x669959(0x150)][_0x669959(0x267)]({'workspaceId':_0xf88676[_0x669959(0x19c)],'runner':_0xf88676[_0x669959(0x22f)],'externalSessionId':_0xf88676[_0x669959(0x148)]??_0xf88676['id'],'nativeControl':_0x669959(0x28a),'cwd':_0xf88676[_0x669959(0x1a1)],'model':_0x29831f[_0x669959(0x1f0)],'effort':_0x29831f[_0x669959(0x1f4)],'access':_0x29831f[_0x669959(0x204)],..._0xf88676[_0x669959(0x265)]===null?{}:{'title':_0xf88676[_0x669959(0x265)]},..._0xf88676[_0x669959(0x202)]===null?{}:{'customTitle':_0xf88676[_0x669959(0x202)]}});},'resolve':_0x497591=>this[_0x2ba4b7(0x118)][_0x2ba4b7(0x25a)](_0x497591)}),this[_0x2ba4b7(0x11f)]=new SessionCommandService({'runtime':this[_0x2ba4b7(0x150)],'runners':this[_0x2ba4b7(0x2c5)],'projection':this[_0x2ba4b7(0x118)],'resume':this[_0x2ba4b7(0x24b)],'profiles':()=>this[_0x2ba4b7(0x15a)][_0x2ba4b7(0x279)](),'present':_0xe5ee9c=>this[_0x2ba4b7(0x24f)][_0x2ba4b7(0x151)](_0xe5ee9c),'resumeQueueAfterCommandRun':_0x463cc2=>this[_0x2ba4b7(0x1d9)][_0x2ba4b7(0x1a6)](_0x463cc2),'beginMission':_0x4cc475=>{const _0x45b842=_0x2ba4b7,_0x159df5=this[_0x45b842(0x1bc)][_0x45b842(0x222)](_0x4cc475['id'],_0x45b842(0x23c));if(_0x159df5?.[_0x45b842(0x132)]===!![])return{'session':this[_0x45b842(0x24f)][_0x45b842(0x151)](_0x4cc475),'missionAlreadyActive':!![]};_0x159df5!==undefined&&(this[_0x45b842(0x14e)][_0x45b842(0x2ce)](_0x4cc475['id']),this[_0x45b842(0x1bc)][_0x45b842(0x2ce)](_0x4cc475['id'],_0x45b842(0x23c)));const _0x4f98ea=this[_0x45b842(0x239)](_0x4cc475);return this[_0x45b842(0x2bd)][_0x45b842(0x2d7)](_0x4cc475['id']),this[_0x45b842(0x1bc)][_0x45b842(0x1ff)](_0x4cc475['id'],this[_0x45b842(0x1d8)]()),this[_0x45b842(0x13e)](_0x45b842(0x147),{'session':this[_0x45b842(0x24f)][_0x45b842(0x151)](_0x4f98ea[_0x45b842(0x147)])}),{'session':this[_0x45b842(0x24f)][_0x45b842(0x151)](_0x4f98ea[_0x45b842(0x147)]),'missionAccessChanged':_0x4f98ea[_0x45b842(0x1f9)]};},'mission':async({session:_0x487e12,objective:_0x398259,secretEnvironment:_0x3763be,personalInstructions:_0x4ed19f})=>{const _0x1fd234=_0x2ba4b7;this[_0x1fd234(0x255)](_0x487e12['id']);const _0x20c01f=this[_0x1fd234(0x239)](_0x487e12),_0x27e8a7=_0x20c01f[_0x1fd234(0x147)],_0x461e79=this[_0x1fd234(0x14e)][_0x1fd234(0x222)](_0x487e12['id'])?.[_0x1fd234(0x1b2)]===_0x1fd234(0x132);this[_0x1fd234(0x2bd)][_0x1fd234(0x2b7)](_0x487e12['id']);const _0x9d9219=this[_0x1fd234(0x14e)][_0x1fd234(0x121)](_0x487e12['id'],_0x398259);this[_0x1fd234(0x293)](_0x27e8a7,_0x9d9219);const _0x1bd573=await this[_0x1fd234(0x232)][_0x1fd234(0x233)]({'sessionId':_0x487e12['id'],'kind':_0x1fd234(0x121),'content':this[_0x1fd234(0x14e)][_0x1fd234(0x15f)](_0x487e12['id'],_0x1fd234(0x121)),'deliveryIntent':_0x461e79?_0x1fd234(0x221):_0x1fd234(0x2a4),'mission':{'id':_0x9d9219['id'],'revision':_0x9d9219[_0x1fd234(0x225)]},'secretEnvironment':_0x3763be,..._0x4ed19f===undefined?{}:{'personalInstructions':_0x4ed19f}});return{...isPlainRecord(_0x1bd573)?_0x1bd573:{'result':_0x1bd573},'missionAccessChanged':_0x20c01f[_0x1fd234(0x1f9)]};},'clearMission':_0x152576=>{const _0x2f35d9=_0x2ba4b7;return this[_0x2f35d9(0x255)](_0x152576['id']),this[_0x2f35d9(0x14e)][_0x2f35d9(0x2ce)](_0x152576['id']),this[_0x2f35d9(0x2bd)][_0x2f35d9(0x2b7)](_0x152576['id']),this[_0x2f35d9(0x1e4)](_0x152576['id'],_0x2f35d9(0x208)),this[_0x2f35d9(0x1bc)][_0x2f35d9(0x2ce)](_0x152576['id'],_0x2f35d9(0x23c)),this[_0x2f35d9(0x13e)](_0x2f35d9(0x147),{'session':this[_0x2f35d9(0x24f)][_0x2f35d9(0x151)](_0x152576)}),{'session':this[_0x2f35d9(0x24f)][_0x2f35d9(0x151)](_0x152576),'cleared':!![]};}}),this[_0x2ba4b7(0x232)]=new SessionMessageService({'runtime':this[_0x2ba4b7(0x150)],'uploads':this[_0x2ba4b7(0x19e)],'attachments':this[_0x2ba4b7(0x245)],'commands':this[_0x2ba4b7(0x1bc)],'coordinator':this[_0x2ba4b7(0x2bd)],'runners':this[_0x2ba4b7(0x2c5)],'resolve':_0x27aa44=>this[_0x2ba4b7(0x24b)][_0x2ba4b7(0x1db)](_0x27aa44),'present':_0x276eec=>this[_0x2ba4b7(0x24f)][_0x2ba4b7(0x151)](_0x276eec),'emitSession':_0x55bbef=>this[_0x2ba4b7(0x12d)]({'session':this[_0x2ba4b7(0x24f)][_0x2ba4b7(0x151)](_0x55bbef)}),'channelToken':_0x566d97=>{const _0x3e4bc0=_0x2ba4b7,_0x6647f0=this[_0x3e4bc0(0x150)][_0x3e4bc0(0x292)](_0x566d97);return _0x6647f0?.[_0x3e4bc0(0x135)]??undefined;},'missionMessage':(_0x2603eb,_0x2741ac)=>{const _0x3565fd=_0x2ba4b7,_0xe5ef9=this[_0x3565fd(0x1bc)][_0x3565fd(0x222)](_0x2603eb['id'],_0x3565fd(0x23c));if(_0xe5ef9?.[_0x3565fd(0x132)]!==!![])return undefined;const _0x1d448d=this[_0x3565fd(0x14e)][_0x3565fd(0x222)](_0x2603eb['id']);if(_0x1d448d?.[_0x3565fd(0x1b2)]===_0x3565fd(0x132))return{'runnerContent':_0x2741ac,'mission':{'id':_0x1d448d['id'],'revision':_0x1d448d[_0x3565fd(0x225)]},'activated':![]};const _0x4066e2=this[_0x3565fd(0x14e)][_0x3565fd(0x121)](_0x2603eb['id'],_0x2741ac);return this[_0x3565fd(0x293)](_0x2603eb,_0x4066e2),{'runnerContent':this[_0x3565fd(0x14e)][_0x3565fd(0x15f)](_0x2603eb['id'],_0x3565fd(0x121)),'mission':{'id':_0x4066e2['id'],'revision':_0x4066e2[_0x3565fd(0x225)]},'activated':!![]};},'prepareMissionInsertion':(_0x47540c,_0x5f32e6)=>this[_0x2ba4b7(0x2bd)][_0x2ba4b7(0x2d7)](_0x47540c,_0x5f32e6),'missionPreparationFailed':(_0x225251,_0x159aee,_0x378f1a)=>{const _0x19d250=_0x2ba4b7;if(!_0x378f1a)return;const _0x55de50=this[_0x19d250(0x14e)][_0x19d250(0x222)](_0x225251['id']);if(_0x55de50?.['id']!==_0x159aee['id']||_0x55de50[_0x19d250(0x225)]!==_0x159aee[_0x19d250(0x225)])return;this[_0x19d250(0x14e)][_0x19d250(0x2ce)](_0x225251['id']),this[_0x19d250(0x1e4)](_0x225251['id'],_0x19d250(0x141)),this[_0x19d250(0x1bc)][_0x19d250(0x1ff)](_0x225251['id'],this[_0x19d250(0x1d8)]()),this[_0x19d250(0x13e)](_0x19d250(0x147),{'session':this[_0x19d250(0x24f)][_0x19d250(0x151)](_0x225251)});}}),this[_0x2ba4b7(0x11b)]=new SessionCatalogService({'database':()=>{const _0x5c9191=_0x2ba4b7;if(this[_0x5c9191(0x289)]===undefined)throw new Error(_0x5c9191(0x278));return this[_0x5c9191(0x289)];},'nodeId':()=>this[_0x2ba4b7(0x1df)]?.[_0x2ba4b7(0x1cd)]??_0x2ba4b7(0x1b8),'runtime':this[_0x2ba4b7(0x150)],'runners':this[_0x2ba4b7(0x2c5)],'projection':this[_0x2ba4b7(0x118)],'resume':this[_0x2ba4b7(0x24b)],'cachedNative':()=>[...this[_0x2ba4b7(0x2cb)][_0x2ba4b7(0x20a)][_0x2ba4b7(0x1a7)]()],'cachedWorkspace':_0x136b30=>this[_0x2ba4b7(0x16f)][_0x2ba4b7(0x116)](_0x136b30),'present':_0x411c96=>this[_0x2ba4b7(0x24f)][_0x2ba4b7(0x151)](_0x411c96),'projectionForNative':_0x468586=>this[_0x2ba4b7(0x118)][_0x2ba4b7(0x2a9)](_0x468586),'nativeIds':_0x14afe2=>this[_0x2ba4b7(0x118)][_0x2ba4b7(0x209)](_0x14afe2),'forget':(_0x579657,_0x1664dc)=>this[_0x2ba4b7(0x118)][_0x2ba4b7(0x285)](_0x579657,_0x1664dc),'refreshActivity':_0x704b84=>this[_0x2ba4b7(0x149)][_0x2ba4b7(0x25c)](_0x704b84),'externalActivity':_0xb34956=>this[_0x2ba4b7(0x2cb)][_0x2ba4b7(0x1af)][_0x2ba4b7(0x222)](_0xb34956),'history':(_0x58614e,_0xaa47cb)=>this[_0x2ba4b7(0x149)][_0x2ba4b7(0x142)](_0x58614e,_0xaa47cb),'emitSession':_0x14e81d=>this[_0x2ba4b7(0x12d)]({'session':this[_0x2ba4b7(0x24f)][_0x2ba4b7(0x151)](_0x14e81d)})}),this[_0x2ba4b7(0x1e9)][_0x2ba4b7(0x184)]({'start':_0x1b0bda=>this[_0x2ba4b7(0x176)][_0x2ba4b7(0x121)](_0x1b0bda),'cancel':(_0x4a8ccf,_0x3526f7)=>{const _0x17c3e8=_0x2ba4b7,_0x13fd58=this[_0x17c3e8(0x1e9)][_0x17c3e8(0x173)][_0x17c3e8(0x2d6)][_0x17c3e8(0x222)](_0x4a8ccf);if(_0x13fd58?.[_0x17c3e8(0x1c0)]===undefined)return![];return void this[_0x17c3e8(0x1c4)][_0x17c3e8(0x1e1)](_0x4a8ccf,_0x13fd58[_0x17c3e8(0x296)],_0x13fd58[_0x17c3e8(0x1c0)],_0x13fd58[_0x17c3e8(0x1a1)],_0x3526f7===_0x17c3e8(0x2a0)?_0x17c3e8(0x256):_0x17c3e8(0x231)),!![];},'decideApproval':_0x46db9a=>this[_0x2ba4b7(0x1c4)][_0x2ba4b7(0x183)](_0x46db9a[_0x2ba4b7(0x251)],_0x46db9a[_0x2ba4b7(0x198)])}),this[_0x2ba4b7(0x131)][_0x2ba4b7(0x184)]({'start':_0x568e38=>this[_0x2ba4b7(0x18b)][_0x2ba4b7(0x121)](_0x568e38),'cancel':(_0x1a235e,_0x194da2)=>this[_0x2ba4b7(0x1c4)][_0x2ba4b7(0x180)](_0x1a235e,_0x194da2),'decideApproval':_0x2b1621=>this[_0x2ba4b7(0x1c4)][_0x2ba4b7(0x1ba)](_0x2b1621[_0x2ba4b7(0x251)],_0x2b1621[_0x2ba4b7(0x198)])}),this[_0x2ba4b7(0x1b5)][_0x2ba4b7(0x184)]({'start':_0x2f0470=>this[_0x2ba4b7(0x1b1)][_0x2ba4b7(0x121)](_0x2f0470),'cancel':(_0x352593,_0x4dee6f)=>this[_0x2ba4b7(0x1b1)][_0x2ba4b7(0x230)](_0x352593,_0x4dee6f),'decideApproval':_0x26e9a0=>this[_0x2ba4b7(0x1b1)][_0x2ba4b7(0x14b)](_0x26e9a0),'respondUserInput':(_0x1ba9d4,_0x396fea,_0x2db3cf)=>this[_0x2ba4b7(0x1b1)][_0x2ba4b7(0x217)](_0x1ba9d4,_0x396fea,_0x2db3cf)}),this[_0x2ba4b7(0x1bf)][_0x2ba4b7(0x184)]({'start':_0xbda8fe=>this[_0x2ba4b7(0x258)][_0x2ba4b7(0x121)](_0xbda8fe),'cancel':(_0x2dae8a,_0x2e6014)=>this[_0x2ba4b7(0x258)][_0x2ba4b7(0x230)](_0x2dae8a,_0x2e6014),'decideApproval':_0x5c808e=>this[_0x2ba4b7(0x258)][_0x2ba4b7(0x14b)](_0x5c808e),'respondUserInput':(_0x14daee,_0x38bafb,_0x3346ee)=>this[_0x2ba4b7(0x258)][_0x2ba4b7(0x217)](_0x14daee,_0x38bafb,_0x3346ee)}),this[_0x2ba4b7(0x1e9)][_0x2ba4b7(0x2d5)]({'execute':(_0x403110,_0x1bd7b9,_0x3922b5,_0x56e32d)=>this[_0x2ba4b7(0x176)][_0x2ba4b7(0x16b)](_0x403110,_0x1bd7b9,_0x3922b5,_0x56e32d)}),this[_0x2ba4b7(0x131)][_0x2ba4b7(0x2d5)]({'execute':(_0x23e39e,_0xb728aa,_0x67b505,_0x2727d)=>this[_0x2ba4b7(0x18b)][_0x2ba4b7(0x16b)](_0x23e39e,_0xb728aa,_0x67b505,_0x2727d)}),this[_0x2ba4b7(0x1b5)][_0x2ba4b7(0x2d5)]({'execute':(_0x3eaac2,_0xe4c1f2,_0x360cca,_0x319e36)=>this[_0x2ba4b7(0x1b1)][_0x2ba4b7(0x16b)](_0x3eaac2,_0xe4c1f2,_0x319e36)}),this[_0x2ba4b7(0x1bf)][_0x2ba4b7(0x2d5)]({'execute':(_0x61649c,_0x1fb461,_0x517ac0,_0x5ec6fe)=>this[_0x2ba4b7(0x258)][_0x2ba4b7(0x16b)](_0x61649c,_0x1fb461,_0x517ac0,_0x5ec6fe)});const _0x14d9cb=this[_0x2ba4b7(0x253)]===undefined||this[_0x2ba4b7(0x2ac)]===undefined?undefined:new FakeManagedRunService({'runner':this[_0x2ba4b7(0x253)],'script':this[_0x2ba4b7(0x2ac)],'runners':this[_0x2ba4b7(0x2c5)],'runtime':this[_0x2ba4b7(0x150)],'state':this[_0x2ba4b7(0x1fb)],'emitRun':(_0x270205,_0x1d4b20,_0x17f9fc,_0x18f38b)=>this[_0x2ba4b7(0x206)][_0x2ba4b7(0x218)](_0x270205,_0x1d4b20,_0x17f9fc,_0x18f38b),'publishApproval':_0x4fdb09=>this[_0x2ba4b7(0x206)][_0x2ba4b7(0x260)](_0x4fdb09),'disconnect':()=>this[_0x2ba4b7(0x1b6)][_0x2ba4b7(0x145)](-0x1*0x20e3+-0x50*0x47+-0xc7*-0x5b,_0x2ba4b7(0x2d8))});this[_0x2ba4b7(0x253)]?.[_0x2ba4b7(0x184)]({'start':_0x24a405=>_0x14d9cb?.[_0x2ba4b7(0x121)](_0x24a405),'cancel':(_0x12d32c,_0x362302)=>_0x362302===_0x2ba4b7(0x2a0)?this[_0x2ba4b7(0x253)]?.[_0x2ba4b7(0x230)](_0x12d32c)??![]:this[_0x2ba4b7(0x253)]?.[_0x2ba4b7(0x1a0)](_0x12d32c)??![],'decideApproval':_0x5115f6=>this[_0x2ba4b7(0x253)]?.[_0x2ba4b7(0x2c1)](_0x5115f6[_0x2ba4b7(0x2b1)],_0x5115f6[_0x2ba4b7(0x251)],_0x5115f6[_0x2ba4b7(0x198)])??![]}),this[_0x2ba4b7(0x187)]=_0x1b087c[_0x2ba4b7(0x187)]??new RunnerUsageReader(),this[_0x2ba4b7(0x289)]=_0x1b087c[_0x2ba4b7(0x289)],this[_0x2ba4b7(0x1cc)]=_0x1b087c[_0x2ba4b7(0x1cc)]??new TerminalManager({'platform':this[_0x2ba4b7(0x1c1)][_0x2ba4b7(0x174)]===_0x2ba4b7(0x224)?_0x2ba4b7(0x188):_0x2ba4b7(0x282)}),this[_0x2ba4b7(0x1cc)][_0x2ba4b7(0x13a)](_0x3239b2=>this[_0x2ba4b7(0x16f)][_0x2ba4b7(0x1fd)](_0x3239b2)),this[_0x2ba4b7(0x171)]=new NodeTerminalChannel({'config':()=>this[_0x2ba4b7(0x1df)],'controlConnected':()=>this[_0x2ba4b7(0x1b6)][_0x2ba4b7(0x2ae)](),'stopped':()=>this[_0x2ba4b7(0x14d)],'reconnect':this[_0x2ba4b7(0x1aa)],'reconnectDelay':nextReconnectDelay,'manager':this[_0x2ba4b7(0x1cc)]}),this[_0x2ba4b7(0x1b6)]=new NodeControlChannel({'config':()=>this[_0x2ba4b7(0x1df)],'capabilities':()=>this[_0x2ba4b7(0x1c1)],'stopped':()=>this[_0x2ba4b7(0x14d)],'reconnect':this[_0x2ba4b7(0x1aa)],'reconnectDelay':nextReconnectDelay,'onConnecting':_0x169e55=>{const _0x30cb53=_0x2ba4b7;this[_0x30cb53(0x290)][_0x30cb53(0x27a)](),nodeLog(_0x30cb53(0x26c),{'attempt':_0x169e55});},'onReconnectScheduled':()=>this[_0x2ba4b7(0x290)][_0x2ba4b7(0x281)](),'onMessage':_0x1539c3=>this[_0x2ba4b7(0x21a)](_0x1539c3),'onClose':(_0x5e8cff,_0x387602)=>{const _0x24bd30=_0x2ba4b7;this[_0x24bd30(0x171)][_0x24bd30(0x14c)]();if(_0x5e8cff===-0xc86*0x1+-0xf3+0x23d*0xd&&_0x387602===_0x24bd30(0x1eb))nodeLog(_0x24bd30(0x291),{'message':_0x24bd30(0x2b3)});if(_0x5e8cff===0x1*-0x1467+0x6*-0x225+0x30e8||_0x5e8cff===-0x164a+-0x4de*0x1+-0xb*-0x2d3)void this[_0x24bd30(0x1cc)][_0x24bd30(0x1fe)]();}}),this[_0x2ba4b7(0x2c8)]=new NodeControlMessageService({'config':()=>this[_0x2ba4b7(0x1df)],'register':(_0x2770be,_0x27b8ee)=>this[_0x2ba4b7(0x2c6)][_0x2ba4b7(0x196)](_0x2770be,_0x27b8ee),'connected':()=>this[_0x2ba4b7(0x2c6)][_0x2ba4b7(0x2ae)](),'close':(_0x318799,_0x407675)=>this[_0x2ba4b7(0x1b6)][_0x2ba4b7(0x145)](_0x318799,_0x407675),'inspectWorkspace':_0x317907=>this[_0x2ba4b7(0x16f)][_0x2ba4b7(0x266)](_0x317907),'handleNodeRequest':_0x3c1a0a=>this[_0x2ba4b7(0x242)][_0x2ba4b7(0x14f)](_0x3c1a0a),'reconcileRuns':_0x280cb6=>this[_0x2ba4b7(0x206)][_0x2ba4b7(0x20e)](_0x280cb6),'runners':this[_0x2ba4b7(0x2c5)],'deliverSessionChannelMessage':_0x170278=>this[_0x2ba4b7(0x15c)][_0x2ba4b7(0x14f)](_0x170278),'completeUncontrolledCancellation':_0x318562=>{const _0x49de87=_0x2ba4b7,_0x2db024=this[_0x49de87(0x150)][_0x49de87(0x106)](_0x318562);if(_0x2db024?.[_0x49de87(0x1b2)]===_0x49de87(0x286))this[_0x49de87(0x1c4)][_0x49de87(0x19a)](_0x318562);},'send':(_0x1f38af,_0x217862,_0xee43c9)=>this[_0x2ba4b7(0x2bb)](_0x1f38af,_0x217862,_0xee43c9)}),this[_0x2ba4b7(0x242)]=new NodeRequestService({'nodeId':()=>this[_0x2ba4b7(0x1df)]?.[_0x2ba4b7(0x1cd)],'databaseAvailable':()=>this[_0x2ba4b7(0x289)]!==undefined,'execute':(_0x1d2c93,_0x26ad41)=>this[_0x2ba4b7(0x23a)](_0x1d2c93,_0x26ad41),'send':(_0x4fb715,_0x45ee9d,_0x48f255)=>this[_0x2ba4b7(0x2bb)](_0x4fb715,_0x45ee9d,_0x48f255)}),this[_0x2ba4b7(0x16f)]=new NodeWorkspaceCoordinator({'config':()=>this[_0x2ba4b7(0x1df)],'database':()=>this[_0x2ba4b7(0x289)],'watches':this[_0x2ba4b7(0x2cd)],'sessions':this[_0x2ba4b7(0x18e)],'changes':this[_0x2ba4b7(0x24e)],'emit':(_0x4e6f9a,_0x54a0fb)=>void this[_0x2ba4b7(0x2b9)]?.[_0x2ba4b7(0x1e5)](_0x4e6f9a,_0x54a0fb),'send':(_0x3f157d,_0x14eea4,_0x1791f2)=>this[_0x2ba4b7(0x2bb)](_0x3f157d,_0x14eea4,_0x1791f2)}),this[_0x2ba4b7(0x206)]=new NodeRunEventBridge({'runtime':this[_0x2ba4b7(0x150)],'state':this[_0x2ba4b7(0x1fb)],'events':this[_0x2ba4b7(0x190)],'emitWorkbench':(_0xc3dd91,_0x541b8b)=>this[_0x2ba4b7(0x18c)](_0xc3dd91,_0x541b8b),'queues':this[_0x2ba4b7(0x1d9)],'codex':this[_0x2ba4b7(0x1e9)],'claude':this[_0x2ba4b7(0x131)],'openCode':this[_0x2ba4b7(0x1b5)],'send':(_0x1f89ef,_0x38425d,_0x407cba)=>this[_0x2ba4b7(0x2bb)](_0x1f89ef,_0x38425d,_0x407cba)}),this[_0x2ba4b7(0x2c6)]=new NodeConnectionLifecycleService({'config':()=>this[_0x2ba4b7(0x1df)],'setConfig':_0x162705=>this[_0x2ba4b7(0x1df)]=_0x162705,'configPath':this[_0x2ba4b7(0x21e)],'capabilities':()=>this[_0x2ba4b7(0x1c1)],'detectCapabilities':this[_0x2ba4b7(0x1be)],'capabilitiesProvided':this[_0x2ba4b7(0x108)],'stopped':()=>this[_0x2ba4b7(0x14d)],'setCapabilities':_0x3ff7da=>this[_0x2ba4b7(0x1c1)]={..._0x3ff7da,'metadata':upgradeMetadata(_0x3ff7da[_0x2ba4b7(0x210)],this[_0x2ba4b7(0x288)][_0x2ba4b7(0x160)]())},'control':this[_0x2ba4b7(0x1b6)],'terminal':this[_0x2ba4b7(0x171)],'metrics':this[_0x2ba4b7(0x290)],'heartbeatMs':HEARTBEAT_MS,'refreshMs':CAPABILITY_REFRESH_MS,'onRegistered':()=>this[_0x2ba4b7(0x136)](),'onConnected':()=>this[_0x2ba4b7(0x22d)][_0x2ba4b7(0x114)]()});const _0xff2207=()=>{const _0x4885f6=_0x2ba4b7;if(this[_0x4885f6(0x289)]===undefined)throw new Error(_0x4885f6(0x278));return this[_0x4885f6(0x289)];};this[_0x2ba4b7(0x15a)]=new RunnerService(_0xff2207,()=>this[_0x2ba4b7(0x1c1)],this[_0x2ba4b7(0x2c5)],this[_0x2ba4b7(0x187)]),this[_0x2ba4b7(0x257)]=new WorkbenchManifestService({'capabilities':()=>this[_0x2ba4b7(0x1c1)],'runners':this[_0x2ba4b7(0x15a)],'terminals':this[_0x2ba4b7(0x1cc)]}),this[_0x2ba4b7(0x10b)]=new TerminalService(_0xff2207,this[_0x2ba4b7(0x1cc)]),this[_0x2ba4b7(0x164)]=new WorkspaceService(_0xff2207,()=>{const _0x4dfe62=_0x2ba4b7;if(this[_0x4dfe62(0x1df)]===undefined)throw new Error(_0x4dfe62(0x2a2));return this[_0x4dfe62(0x1df)];},this[_0x2ba4b7(0x150)],_0x45a924=>{const _0x2c2b2a=_0x2ba4b7;this[_0x2c2b2a(0x170)][_0x2c2b2a(0x213)](_0x45a924),this[_0x2c2b2a(0x16f)][_0x2c2b2a(0x26e)](_0x45a924),this[_0x2c2b2a(0x18e)][_0x2c2b2a(0x2b6)](_0x45a924),this[_0x2c2b2a(0x16f)][_0x2c2b2a(0x1b4)](_0x45a924);}),this[_0x2ba4b7(0x2b9)]=new WorkspaceWorkbenchService({'requireWorkspace':_0x117a1f=>this[_0x2ba4b7(0x16f)][_0x2ba4b7(0x117)](_0x117a1f),'inspectWorkspace':_0x24aae3=>this[_0x2ba4b7(0x16f)][_0x2ba4b7(0x28b)](_0x24aae3),'commitWorkspace':(_0x136369,_0x4c4ba9)=>this[_0x2ba4b7(0x16f)][_0x2ba4b7(0x263)](_0x136369,_0x4c4ba9),'watch':this[_0x2ba4b7(0x2cd)],'files':this[_0x2ba4b7(0x170)],'uploads':this[_0x2ba4b7(0x19e)],'changes':this[_0x2ba4b7(0x24e)],'listSessions':_0x21fed4=>this[_0x2ba4b7(0x23a)](_0x2ba4b7(0x1e2),{'workspaceId':_0x21fed4,'limit':0x14}),'invalidate':_0x945838=>{const _0x1bfc42=_0x2ba4b7;this[_0x1bfc42(0x170)][_0x1bfc42(0x213)](_0x945838),this[_0x1bfc42(0x16f)][_0x1bfc42(0x2b6)](_0x945838);},'nodeId':()=>this[_0x2ba4b7(0x1df)]?.[_0x2ba4b7(0x1cd)]??_0x2ba4b7(0x165),'nodeGeneration':()=>this[_0x2ba4b7(0x17b)],'emitWatchEvent':_0x3e0f2e=>this[_0x2ba4b7(0x2bb)](_0x2ba4b7(0x2ba),_0x3e0f2e)});for(const _0x8a917a of CONVERSATION_TEMPLATE_OPERATIONS)this[_0x2ba4b7(0x133)][_0x2ba4b7(0x196)](_0x8a917a,_0x52146f=>{const _0x5ee2ce=_0x2ba4b7,_0x134f60=this[_0x5ee2ce(0x11d)]?.[_0x8a917a];if(_0x134f60===undefined)throw new Error(_0x5ee2ce(0x1a2));return _0x134f60(_0x52146f);});for(const _0x1e8719 of HOSTED_CONVERSATION_OPERATIONS)this[_0x2ba4b7(0x133)][_0x2ba4b7(0x196)](_0x1e8719,_0x40ac09=>{const _0x511619=_0x2ba4b7,_0xa48550=this[_0x511619(0x297)]?.[_0x1e8719];if(_0xa48550===undefined)throw new Error(_0x511619(0x1a2));return _0xa48550(_0x40ac09);});for(const _0x42cf7f of CONVERSATION_HOSTING_MAINTENANCE_OPERATIONS)this[_0x2ba4b7(0x133)][_0x2ba4b7(0x196)](_0x42cf7f,_0xf1f018=>{const _0x5eebd9=_0x2ba4b7,_0x59820f=this[_0x5eebd9(0x1e7)]?.[_0x42cf7f];if(_0x59820f===undefined)throw new Error(_0x5eebd9(0x1a2));return _0x59820f(_0xf1f018);});this[_0x2ba4b7(0x133)][_0x2ba4b7(0x2a5)](this[_0x2ba4b7(0x15a)][_0x2ba4b7(0x1d2)]()),this[_0x2ba4b7(0x133)][_0x2ba4b7(0x2a5)](this[_0x2ba4b7(0x10b)][_0x2ba4b7(0x1d2)]()),this[_0x2ba4b7(0x133)][_0x2ba4b7(0x2a5)](this[_0x2ba4b7(0x164)][_0x2ba4b7(0x1d2)]()),this[_0x2ba4b7(0x133)][_0x2ba4b7(0x2a5)](this[_0x2ba4b7(0x2b9)][_0x2ba4b7(0x1d2)]()),this[_0x2ba4b7(0x133)][_0x2ba4b7(0x2a5)](this[_0x2ba4b7(0x2bf)][_0x2ba4b7(0x1d2)]()),this[_0x2ba4b7(0x133)][_0x2ba4b7(0x2a5)](this[_0x2ba4b7(0x29c)][_0x2ba4b7(0x1d2)]()),this[_0x2ba4b7(0x133)][_0x2ba4b7(0x2a5)](this[_0x2ba4b7(0x1ca)][_0x2ba4b7(0x1d2)]()),this[_0x2ba4b7(0x133)][_0x2ba4b7(0x2a5)](this[_0x2ba4b7(0x1ae)][_0x2ba4b7(0x1d2)]()),this[_0x2ba4b7(0x133)][_0x2ba4b7(0x2a5)](this[_0x2ba4b7(0x232)][_0x2ba4b7(0x1d2)]()),this[_0x2ba4b7(0x133)][_0x2ba4b7(0x2a5)](this[_0x2ba4b7(0x11b)][_0x2ba4b7(0x1d2)]()),this[_0x2ba4b7(0x133)][_0x2ba4b7(0x2a5)](this[_0x2ba4b7(0x11f)][_0x2ba4b7(0x1d2)]()),this[_0x2ba4b7(0x133)][_0x2ba4b7(0x2a5)](this[_0x2ba4b7(0x1d9)][_0x2ba4b7(0x1d2)]()),this[_0x2ba4b7(0x133)][_0x2ba4b7(0x2a5)](new ConversationHostingEnablementService({'config':()=>this[_0x2ba4b7(0x1df)],'setConfig':_0x4150a5=>this[_0x2ba4b7(0x1df)]=_0x4150a5,'configPath':this[_0x2ba4b7(0x21e)],'platform':()=>this[_0x2ba4b7(0x1c1)][_0x2ba4b7(0x174)],'capability':()=>this[_0x2ba4b7(0x1c1)][_0x2ba4b7(0x27b)],'initialize':()=>this[_0x2ba4b7(0x136)](),'publishCapabilities':()=>this[_0x2ba4b7(0x2bb)](_0x2ba4b7(0x1c1),this[_0x2ba4b7(0x1c1)])})[_0x2ba4b7(0x1d2)]()),this[_0x2ba4b7(0x133)][_0x2ba4b7(0x2a5)](new SkillNodeOperationService(_0xff2207,()=>{const _0x42f9e3=_0x2ba4b7;if(this[_0x42f9e3(0x1df)]===undefined)throw new Error(_0x42f9e3(0x2a2));return this[_0x42f9e3(0x1df)];})[_0x2ba4b7(0x1d2)]()),this[_0x2ba4b7(0x133)][_0x2ba4b7(0x2a5)](new McpNodeOperationService(_0xff2207)[_0x2ba4b7(0x1d2)]()),this[_0x2ba4b7(0x133)][_0x2ba4b7(0x196)](_0x2ba4b7(0x1b7),()=>({'metrics':{...this[_0x2ba4b7(0x290)][_0x2ba4b7(0x160)](),'activeRuns':this[_0x2ba4b7(0x1fb)][_0x2ba4b7(0x132)][_0x2ba4b7(0x1bd)],'workspaceLeases':this[_0x2ba4b7(0x150)][_0x2ba4b7(0x1ce)]()}})),this[_0x2ba4b7(0x133)][_0x2ba4b7(0x196)](_0x2ba4b7(0x1c6),_0x542482=>this[_0x2ba4b7(0x288)][_0x2ba4b7(0x1da)](_0x542482)),this[_0x2ba4b7(0x133)][_0x2ba4b7(0x196)](_0x2ba4b7(0x11a),()=>this[_0x2ba4b7(0x288)][_0x2ba4b7(0x230)]()),this[_0x2ba4b7(0x133)][_0x2ba4b7(0x196)](_0x2ba4b7(0x1c8),async()=>({'manifest':await this[_0x2ba4b7(0x257)][_0x2ba4b7(0x142)]()}));}async[_0x6b58f4(0x136)](){const _0x2137ad=_0x6b58f4,_0x2220f6=this[_0x2137ad(0x2cf)],_0x2c4ac3=this[_0x2137ad(0x17e)],_0x44dfb4=this[_0x2137ad(0x271)];this[_0x2137ad(0x2cf)]=undefined,this[_0x2137ad(0x17e)]=undefined,this[_0x2137ad(0x271)]=undefined,this[_0x2137ad(0x297)]=undefined,this[_0x2137ad(0x1e7)]=undefined,this[_0x2137ad(0x11d)]=undefined,this[_0x2137ad(0x1d4)]=![],this[_0x2137ad(0x2a6)]=undefined,await _0x44dfb4?.[_0x2137ad(0x213)](),_0x2c4ac3?.[_0x2137ad(0x213)](),await _0x2220f6?.[_0x2137ad(0x213)]()[_0x2137ad(0x28d)](()=>undefined);const _0x342d3c=this[_0x2137ad(0x1df)];if(_0x342d3c?.[_0x2137ad(0x27b)]?.[_0x2137ad(0x21b)]===!![]&&this[_0x2137ad(0x1c1)][_0x2137ad(0x174)]===_0x2137ad(0x282)){if(_0x342d3c[_0x2137ad(0x1cd)]===undefined)this[_0x2137ad(0x2a6)]=_0x2137ad(0x138);else{let _0x379574,_0x3cfc89,_0x77f69e;try{if(this[_0x2137ad(0x289)]===undefined)throw new Error(_0x2137ad(0x278));const _0x4d5096=hostedConversationStorePath(_0x342d3c,this[_0x2137ad(0x21e)]);if(_0x4d5096===undefined)throw new Error(_0x2137ad(0x201));const _0x4915f5=new HostedConversationStore({'dataDirectory':nodeDataDirectory(_0x342d3c,this[_0x2137ad(0x21e)]),'rootDirectory':_0x4d5096,'nodeId':_0x342d3c[_0x2137ad(0x1cd)],'database':this[_0x2137ad(0x289)]});await _0x4915f5[_0x2137ad(0x13c)]();const _0x2f6b70=new ConversationTemplateNodeService({'database':this[_0x2137ad(0x289)],'store':_0x4915f5,'nodeId':()=>this[_0x2137ad(0x1df)]?.[_0x2137ad(0x1cd)]??_0x2137ad(0x18a)});await _0x2f6b70[_0x2137ad(0x1f3)](),await _0x4915f5[_0x2137ad(0x1f8)](),_0x379574=new MarAgentHostedConversationRuntime({'webSearch':(_0x1ae313,_0x3315a2)=>this[_0x2137ad(0x179)](_0x1ae313,_0x3315a2)}),_0x3cfc89=new HostedConversationNodeService({'database':this[_0x2137ad(0x289)],'store':_0x4915f5,'runtime':_0x379574,'nodeId':()=>this[_0x2137ad(0x1df)]?.[_0x2137ad(0x1cd)]??_0x2137ad(0x18a),'nodeGeneration':()=>this[_0x2137ad(0x17b)],'sessionWatchSlots':this[_0x2137ad(0x1d1)],'emitWatchEvent':_0x28ea17=>this[_0x2137ad(0x2bb)](_0x2137ad(0x2ba),_0x28ea17),'nextWorkbenchEvent':_0x4e69d8=>this[_0x2137ad(0x252)][_0x2137ad(0x19d)](_0x2137ad(0x16d),_0x4e69d8),'emitWorkbenchEvent':_0x4fe303=>this[_0x2137ad(0x252)][_0x2137ad(0x248)](_0x4fe303),'processExecutorFactory':_0x1fa41a=>new BubblewrapSandboxExecutor(_0x1fa41a),'assertCanCreate':()=>{const _0x10afe6=_0x2137ad;if(_0x77f69e===undefined)throw new Error(_0x10afe6(0x1a2));return _0x77f69e[_0x10afe6(0x254)]();}}),_0x77f69e=new ConversationHostingMaintenanceService({'store':_0x4915f5,'inactiveRetentionDays':_0x342d3c[_0x2137ad(0x27b)][_0x2137ad(0x1c3)]??0x35*-0x47+0x26d5*-0x1+0x35c4,'isConversationInUse':_0x2d3435=>_0x3cfc89?.[_0x2137ad(0x186)](_0x2d3435)??!![],'beginConversationCleanup':_0x40204a=>_0x3cfc89?.[_0x2137ad(0x1f7)](_0x40204a),'releaseConversation':_0x353418=>{const _0x212ffb=_0x2137ad;if(_0x3cfc89===undefined)throw new Error(_0x212ffb(0x1a2));return _0x3cfc89[_0x212ffb(0x299)](_0x353418);},'onAutomaticCleanupError':_0x409165=>nodeLog(_0x2137ad(0x2b2),{'nodeId':_0x342d3c[_0x2137ad(0x1cd)],'code':safeErrorCode(_0x409165,_0x2137ad(0x2a1))})}),this[_0x2137ad(0x11d)]=_0x2f6b70[_0x2137ad(0x1d2)](),this[_0x2137ad(0x297)]=_0x3cfc89[_0x2137ad(0x1d2)](),this[_0x2137ad(0x1e7)]=_0x77f69e[_0x2137ad(0x1d2)](),this[_0x2137ad(0x2cf)]=_0x379574,this[_0x2137ad(0x17e)]=_0x3cfc89,this[_0x2137ad(0x271)]=_0x77f69e,await _0x77f69e[_0x2137ad(0x121)](),this[_0x2137ad(0x1d4)]=!![];}catch(_0x13e699){await _0x77f69e?.[_0x2137ad(0x213)](),_0x3cfc89?.[_0x2137ad(0x213)](),await _0x379574?.[_0x2137ad(0x213)]()[_0x2137ad(0x28d)](()=>undefined),this[_0x2137ad(0x2a6)]=safeErrorCode(_0x13e699,_0x2137ad(0x237)),nodeLog(_0x2137ad(0x166),{'nodeId':_0x342d3c[_0x2137ad(0x1cd)],'code':this[_0x2137ad(0x2a6)]});}}}this[_0x2137ad(0x1c1)]=await this[_0x2137ad(0x1c9)](this[_0x2137ad(0x1c1)]);}async[_0x6b58f4(0x1c9)](_0xf5042){const _0x588857=_0x6b58f4;let _0x4556d4=this[_0x588857(0x1d4)],_0x2df146=this[_0x588857(0x2a6)],_0x521326=_0x588857(0x22e);if(_0x4556d4&&this[_0x588857(0x271)]!==undefined)try{_0x521326=(await this[_0x588857(0x271)][_0x588857(0x295)]())[_0x588857(0x1cf)];}catch(_0x3002d8){_0x4556d4=![],_0x2df146=safeErrorCode(_0x3002d8,_0x588857(0x201));}return{..._0xf5042,'conversationHosting':await conversationHostingCapability(_0xf5042,this[_0x588857(0x1df)],_0x4556d4,_0x2df146,this[_0x588857(0x107)],_0x521326)};}async[_0x6b58f4(0x121)](){const _0x16c466=_0x6b58f4;if(this[_0x16c466(0x197)]!==undefined)await this[_0x16c466(0x197)];this[_0x16c466(0x197)]=undefined,this[_0x16c466(0x14d)]=![],this[_0x16c466(0x1df)]??=await loadNodeConfig(this[_0x16c466(0x21e)]),await this[_0x16c466(0x288)][_0x16c466(0x264)](resolve(dirname(nodeDatabasePath(this[_0x16c466(0x1df)],this[_0x16c466(0x21e)])),_0x16c466(0x236))),await assertLocalSqlitePath(nodeDatabasePath(this[_0x16c466(0x1df)],this[_0x16c466(0x21e)])),this[_0x16c466(0x289)]??=new NodeDatabase(nodeDatabasePath(this[_0x16c466(0x1df)],this[_0x16c466(0x21e)]),()=>this[_0x16c466(0x1df)]?.[_0x16c466(0x1cd)]??_0x16c466(0x18a)),this[_0x16c466(0x289)][_0x16c466(0x2aa)](),await this[_0x16c466(0x136)](),this[_0x16c466(0x2c6)][_0x16c466(0x121)](),this[_0x16c466(0x1b6)][_0x16c466(0x2d4)]();}[_0x6b58f4(0x255)](_0x34443a){const _0x25bccb=_0x6b58f4,_0x4562a4=this[_0x25bccb(0x2be)][_0x25bccb(0x222)](_0x34443a);if(_0x4562a4!==undefined)clearTimeout(_0x4562a4[_0x25bccb(0x244)]);this[_0x25bccb(0x2be)][_0x25bccb(0x27c)](_0x34443a),this[_0x25bccb(0x227)][_0x25bccb(0x27c)](_0x34443a);}async[_0x6b58f4(0x229)](_0x9d59ea){const _0x41c282=_0x6b58f4,_0x44a191=_0x9d59ea[_0x41c282(0x23c)]['id']+':'+_0x9d59ea[_0x41c282(0x23c)][_0x41c282(0x225)];this[_0x41c282(0x227)][_0x41c282(0x1ff)](_0x9d59ea[_0x41c282(0x29b)],_0x44a191);try{await this[_0x41c282(0x232)][_0x41c282(0x233)]({'sessionId':_0x9d59ea[_0x41c282(0x29b)],'kind':_0x41c282(0x26d),'content':this[_0x41c282(0x14e)][_0x41c282(0x15f)](_0x9d59ea[_0x41c282(0x29b)],_0x41c282(0x26d)),'deliveryIntent':_0x41c282(0x1ad),'mission':_0x9d59ea[_0x41c282(0x23c)],'secretEnvironment':_0x9d59ea[_0x41c282(0x169)],..._0x9d59ea[_0x41c282(0x156)]===undefined?{}:{'personalInstructions':_0x9d59ea[_0x41c282(0x156)]}});const _0x2d3493=this[_0x41c282(0x14e)][_0x41c282(0x222)](_0x9d59ea[_0x41c282(0x29b)]);if(_0x2d3493?.[_0x41c282(0x1b2)]!==_0x41c282(0x132)||_0x2d3493['id']!==_0x9d59ea[_0x41c282(0x23c)]['id']||_0x2d3493[_0x41c282(0x225)]!==_0x9d59ea[_0x41c282(0x23c)][_0x41c282(0x225)]){if(this[_0x41c282(0x227)][_0x41c282(0x222)](_0x9d59ea[_0x41c282(0x29b)])===_0x44a191)this[_0x41c282(0x227)][_0x41c282(0x27c)](_0x9d59ea[_0x41c282(0x29b)]);return;}this[_0x41c282(0x255)](_0x9d59ea[_0x41c282(0x29b)]);}catch{const _0x37207d=this[_0x41c282(0x14e)][_0x41c282(0x222)](_0x9d59ea[_0x41c282(0x29b)]);if(_0x37207d?.[_0x41c282(0x1b2)]!==_0x41c282(0x132)||_0x37207d['id']!==_0x9d59ea[_0x41c282(0x23c)]['id']||_0x37207d[_0x41c282(0x225)]!==_0x9d59ea[_0x41c282(0x23c)][_0x41c282(0x225)]){if(this[_0x41c282(0x227)][_0x41c282(0x222)](_0x9d59ea[_0x41c282(0x29b)])===_0x44a191)this[_0x41c282(0x227)][_0x41c282(0x27c)](_0x9d59ea[_0x41c282(0x29b)]);return;}const _0x1ade2b=(_0x9d59ea[_0x41c282(0x18d)]??-0x1072*-0x2+-0x119*0x19+-0x573)+(0x1*-0xfdd+0x63d+0x9a1),_0x26ba48=this[_0x41c282(0x150)][_0x41c282(0x292)](_0x9d59ea[_0x41c282(0x29b)]);if(_0x1ade2b>0x21*0xf6+-0xb*0x19f+-0xdde||_0x26ba48===undefined){this[_0x41c282(0x255)](_0x9d59ea[_0x41c282(0x29b)]);if(_0x1ade2b>0x17a3*0x1+-0x1fbd+0x43*0x1f){const _0x30fc21=this[_0x41c282(0x14e)][_0x41c282(0x123)](_0x9d59ea[_0x41c282(0x29b)],_0x9d59ea[_0x41c282(0x23c)]['id'],_0x9d59ea[_0x41c282(0x23c)][_0x41c282(0x225)]);this[_0x41c282(0x2bd)][_0x41c282(0x2b7)](_0x9d59ea[_0x41c282(0x29b)]),this[_0x41c282(0x1e4)](_0x9d59ea[_0x41c282(0x29b)],_0x41c282(0x141));if(_0x26ba48!==undefined)this[_0x41c282(0x293)](_0x26ba48,_0x30fc21);}return;}this[_0x41c282(0x255)](_0x9d59ea[_0x41c282(0x29b)]);const _0x10702e={'sessionId':_0x9d59ea[_0x41c282(0x29b)],'timer':setTimeout(()=>{const _0x140ea7=_0x41c282,_0x4fa9f3=this[_0x140ea7(0x14e)][_0x140ea7(0x222)](_0x10702e[_0x140ea7(0x29b)]);if(_0x4fa9f3?.[_0x140ea7(0x1b2)]!==_0x140ea7(0x132)||_0x4fa9f3['id']!==_0x9d59ea[_0x140ea7(0x23c)]['id']||_0x4fa9f3[_0x140ea7(0x225)]!==_0x9d59ea[_0x140ea7(0x23c)][_0x140ea7(0x225)])return;void this[_0x140ea7(0x229)]({..._0x9d59ea,'sessionId':_0x10702e[_0x140ea7(0x29b)],'failedAttempts':_0x1ade2b});},-0xfe9*0x7+0x43d9+0x661e)};this[_0x41c282(0x2be)][_0x41c282(0x1ff)](_0x9d59ea[_0x41c282(0x29b)],_0x10702e),_0x10702e[_0x41c282(0x244)][_0x41c282(0x19f)]();}}[_0x6b58f4(0x1e4)](_0x2fed34,_0x267ece){const _0x2aabf1=_0x6b58f4,_0x9d46d7=this[_0x2aabf1(0x150)][_0x2aabf1(0x159)](_0x2fed34);if(_0x9d46d7===undefined||this[_0x2aabf1(0x150)][_0x2aabf1(0x26a)](_0x9d46d7['id'])!==undefined)return;this[_0x2aabf1(0x206)][_0x2aabf1(0x218)](_0x9d46d7['id'],_0x267ece===_0x2aabf1(0x208)?_0x2aabf1(0x250):_0x2aabf1(0x104),_0x267ece===_0x2aabf1(0x208)?{}:{'code':_0x2aabf1(0x15b)},_0x267ece);}[_0x6b58f4(0x239)](_0x1e647c){const _0x3ecd3c=_0x6b58f4,_0x11cde0=missionUnrestrictedAccess(_0x1e647c[_0x3ecd3c(0x22f)]),_0x364028=_0x1e647c[_0x3ecd3c(0x204)]!==_0x11cde0,_0x208bc3=_0x364028?this[_0x3ecd3c(0x150)][_0x3ecd3c(0x22c)](_0x1e647c['id'],_0x11cde0):_0x1e647c;if(_0x364028&&_0x208bc3[_0x3ecd3c(0x148)]!==null&&_0x208bc3[_0x3ecd3c(0x1f0)]!==null&&_0x208bc3[_0x3ecd3c(0x1f4)]!==null)this[_0x3ecd3c(0x289)]?.[_0x3ecd3c(0x2c9)]({'runner':_0x208bc3[_0x3ecd3c(0x22f)],'externalSessionId':_0x208bc3[_0x3ecd3c(0x148)],'workspaceId':_0x208bc3[_0x3ecd3c(0x19c)],'model':_0x208bc3[_0x3ecd3c(0x1f0)],'effort':_0x208bc3[_0x3ecd3c(0x1f4)],'access':_0x11cde0});return{'session':_0x208bc3,'changed':_0x364028};}[_0x6b58f4(0x1d8)](){const _0x1a507e=_0x6b58f4;return{'commandId':_0x1a507e(0x23c),'active':!![],'label':_0x1a507e(0x10d),'detail':null,'closable':!![],'closeInput':_0x1a507e(0x274)};}[_0x6b58f4(0x112)](){const _0x2ff39d=_0x6b58f4;if(this[_0x2ff39d(0x197)]!==undefined)return this[_0x2ff39d(0x197)];this[_0x2ff39d(0x14d)]=!![],this[_0x2ff39d(0x22d)][_0x2ff39d(0x213)](),this[_0x2ff39d(0x288)][_0x2ff39d(0x112)](),this[_0x2ff39d(0x2c6)][_0x2ff39d(0x112)]();for(const _0x572f52 of this[_0x2ff39d(0x131)][_0x2ff39d(0x173)][_0x2ff39d(0x22a)][_0x2ff39d(0x1a7)]()){clearTimeout(_0x572f52[_0x2ff39d(0x244)]),_0x572f52[_0x2ff39d(0x25a)](_0x2ff39d(0x247));}this[_0x2ff39d(0x131)][_0x2ff39d(0x173)][_0x2ff39d(0x22a)][_0x2ff39d(0x2ce)]();for(const _0x132b29 of this[_0x2ff39d(0x131)][_0x2ff39d(0x173)][_0x2ff39d(0x259)][_0x2ff39d(0x1a7)]()){clearTimeout(_0x132b29[_0x2ff39d(0x244)]),_0x132b29[_0x2ff39d(0x223)](_0x2ff39d(0x2cc));}this[_0x2ff39d(0x131)][_0x2ff39d(0x173)][_0x2ff39d(0x259)][_0x2ff39d(0x2ce)](),this[_0x2ff39d(0x29c)][_0x2ff39d(0x2ce)](),this[_0x2ff39d(0x2c2)][_0x2ff39d(0x213)](),this[_0x2ff39d(0x1ae)][_0x2ff39d(0x2ce)](),this[_0x2ff39d(0x2bd)][_0x2ff39d(0x2ce)]();for(const _0x10d8f3 of this[_0x2ff39d(0x2be)][_0x2ff39d(0x1a7)]())clearTimeout(_0x10d8f3[_0x2ff39d(0x244)]);this[_0x2ff39d(0x2be)][_0x2ff39d(0x2ce)](),this[_0x2ff39d(0x227)][_0x2ff39d(0x2ce)](),this[_0x2ff39d(0x190)][_0x2ff39d(0x2ce)](),this[_0x2ff39d(0x1dd)][_0x2ff39d(0x213)]();for(const _0x412f87 of this[_0x2ff39d(0x131)][_0x2ff39d(0x173)][_0x2ff39d(0x2d6)][_0x2ff39d(0x1a7)]())_0x412f87[_0x2ff39d(0x14f)][_0x2ff39d(0x230)]();this[_0x2ff39d(0x131)][_0x2ff39d(0x173)][_0x2ff39d(0x2d6)][_0x2ff39d(0x2ce)](),this[_0x2ff39d(0x245)][_0x2ff39d(0x213)](),void this[_0x2ff39d(0x258)][_0x2ff39d(0x213)]();const _0xb155db=this[_0x2ff39d(0x271)]?.[_0x2ff39d(0x213)]();this[_0x2ff39d(0x271)]=undefined,this[_0x2ff39d(0x17e)]?.[_0x2ff39d(0x213)](),this[_0x2ff39d(0x17e)]=undefined;const _0x2d312e=this[_0x2ff39d(0x2cf)];this[_0x2ff39d(0x2cf)]=undefined,this[_0x2ff39d(0x297)]=undefined,this[_0x2ff39d(0x1e7)]=undefined,void this[_0x2ff39d(0x19e)][_0x2ff39d(0x1fe)](),this[_0x2ff39d(0x170)][_0x2ff39d(0x213)](),this[_0x2ff39d(0x2cd)][_0x2ff39d(0x154)](),this[_0x2ff39d(0x2b9)][_0x2ff39d(0x2ce)](),this[_0x2ff39d(0x18e)][_0x2ff39d(0x2ce)](),this[_0x2ff39d(0x24e)][_0x2ff39d(0x2ce)](),void this[_0x2ff39d(0x2c5)][_0x2ff39d(0x112)](),void this[_0x2ff39d(0x26f)][_0x2ff39d(0x145)](),void this[_0x2ff39d(0x1cc)][_0x2ff39d(0x1fe)](),this[_0x2ff39d(0x171)][_0x2ff39d(0x112)](),this[_0x2ff39d(0x1b6)][_0x2ff39d(0x112)]();const _0x4c6750=this[_0x2ff39d(0x289)];return this[_0x2ff39d(0x289)]=undefined,this[_0x2ff39d(0x197)]=((async()=>{const _0x96ff41=_0x2ff39d;try{await _0xb155db;}finally{await _0x2d312e?.[_0x96ff41(0x213)]()[_0x96ff41(0x28d)](()=>undefined),_0x4c6750?.[_0x96ff41(0x145)]();}})()),this[_0x2ff39d(0x197)];}[_0x6b58f4(0x21a)]=_0x133c09=>this[_0x6b58f4(0x2c8)][_0x6b58f4(0x14f)](_0x133c09);[_0x6b58f4(0x17a)]=(_0x1bd73a,_0xe9cab8,_0x564d23,_0x149599)=>this[_0x6b58f4(0x206)][_0x6b58f4(0x218)](_0x1bd73a,_0xe9cab8,_0x564d23,_0x149599);[_0x6b58f4(0x29e)]=(_0xed416e,_0x2bef33)=>{const _0x3ba4b4=_0x6b58f4;this[_0x3ba4b4(0x190)][_0x3ba4b4(0x261)](_0xed416e);const _0x197ff2=isPlainRecord(_0x2bef33)&&typeof _0x2bef33[_0x3ba4b4(0x129)]===_0x3ba4b4(0x185)?_0x2bef33[_0x3ba4b4(0x129)]:undefined,_0x3d01ce=isPlainRecord(_0x2bef33)&&typeof _0x2bef33[_0x3ba4b4(0x2c0)]===_0x3ba4b4(0x185)?_0x2bef33[_0x3ba4b4(0x2c0)]:undefined,_0x387840=this[_0x3ba4b4(0x150)][_0x3ba4b4(0x226)](_0xed416e),_0x5d6c0f=_0x197ff2===undefined||_0x387840===undefined?undefined:conversationSegmentIdentityForItem(_0x387840,_0x197ff2,_0x3d01ce);this[_0x3ba4b4(0x206)][_0x3ba4b4(0x218)](_0xed416e,_0x3ba4b4(0x167),_0x5d6c0f===undefined||!isPlainRecord(_0x2bef33)?_0x2bef33:{..._0x2bef33,'segmentId':_0x5d6c0f['id'],'segmentIndex':_0x5d6c0f[_0x3ba4b4(0x15e)]});};[_0x6b58f4(0x228)]=_0x32275c=>{const _0x588af3=_0x6b58f4,_0x2e372a=isPlainRecord(_0x32275c)&&Array[_0x588af3(0x139)](_0x32275c[_0x588af3(0x1a3)])?conversationSegments(_0x32275c):[];this[_0x588af3(0x13e)](_0x588af3(0x113),{'turn':_0x32275c,'segments':_0x2e372a});};[_0x6b58f4(0x18c)]=(_0x596fec,_0x19ceff)=>{const _0x416e40=_0x6b58f4;if(_0x596fec===_0x416e40(0x147)){this[_0x416e40(0x12d)](_0x19ceff);return;}this[_0x416e40(0x13e)](_0x596fec,_0x19ceff);};[_0x6b58f4(0x12d)]=_0x387869=>{const _0x578078=_0x6b58f4;if(isPlainRecord(_0x387869)&&isPlainRecord(_0x387869[_0x578078(0x147)])){const _0x11cae4=_0x387869[_0x578078(0x147)][_0x578078(0x19c)];typeof _0x11cae4===_0x578078(0x185)&&(this[_0x578078(0x18e)][_0x578078(0x1ea)](_0x11cae4),void this[_0x578078(0x2b9)]?.[_0x578078(0x1e5)](_0x11cae4,_0x578078(0x137)));}this[_0x578078(0x13e)](_0x578078(0x147),_0x387869);};[_0x6b58f4(0x13e)]=(_0x5dd5ba,_0x34ffdf)=>{const _0x1d08f2=_0x6b58f4;if(_0x5dd5ba===_0x1d08f2(0x113)&&isPlainRecord(_0x34ffdf)&&isPlainRecord(_0x34ffdf[_0x1d08f2(0x10e)])&&_0x34ffdf[_0x1d08f2(0x10e)][_0x1d08f2(0x234)]!==_0x1d08f2(0x1ac)){const _0x579288=typeof _0x34ffdf[_0x1d08f2(0x10e)][_0x1d08f2(0x2b1)]===_0x1d08f2(0x185)?_0x34ffdf[_0x1d08f2(0x10e)][_0x1d08f2(0x2b1)]:undefined,_0x32a702=typeof _0x34ffdf[_0x1d08f2(0x10e)][_0x1d08f2(0x2c4)]===_0x1d08f2(0x189)?_0x34ffdf[_0x1d08f2(0x10e)][_0x1d08f2(0x2c4)]:undefined,_0x559675=_0x579288===undefined?undefined:this[_0x1d08f2(0x150)][_0x1d08f2(0x226)](_0x579288);if(_0x559675===undefined)return;const _0xe9e281=isPlainRecord(_0x34ffdf[_0x1d08f2(0x10e)][_0x1d08f2(0x1cb)])?_0x34ffdf[_0x1d08f2(0x10e)][_0x1d08f2(0x1cb)]:undefined,_0x10c68d=_0x34ffdf[_0x1d08f2(0x10e)][_0x1d08f2(0x234)]===_0x1d08f2(0x161)&&typeof _0xe9e281?.[_0x1d08f2(0x2b0)]===_0x1d08f2(0x185)?_0xe9e281[_0x1d08f2(0x2b0)]:undefined,_0x53f086=typeof _0xe9e281?.[_0x1d08f2(0x129)]===_0x1d08f2(0x185)?_0xe9e281[_0x1d08f2(0x129)]:typeof _0xe9e281?.[_0x1d08f2(0x251)]===_0x1d08f2(0x185)?_0x1d08f2(0x246)+_0xe9e281[_0x1d08f2(0x251)]:undefined,_0x197aee=_0x10c68d!==undefined&&_0x32a702!==undefined?_0x559675[_0x1d08f2(0x1a3)][_0x1d08f2(0x10a)](_0xd02ca4=>_0xd02ca4[_0x1d08f2(0x2c0)]===_0x1d08f2(0x24c)&&_0xd02ca4[_0x1d08f2(0x225)]===_0x32a702):_0x53f086===undefined?undefined:_0x559675[_0x1d08f2(0x1a3)][_0x1d08f2(0x10a)](_0x4607da=>_0x4607da['id']===_0x579288+':'+_0x53f086);if(_0x10c68d!==undefined&&_0x197aee?.[_0x1d08f2(0x2c0)]===_0x1d08f2(0x24c))_0x34ffdf={'sessionId':_0x559675[_0x1d08f2(0x29b)],'delta':{'runId':_0x559675[_0x1d08f2(0x2b1)],'itemId':_0x197aee['id'],'text':_0x10c68d,'createdAt':typeof _0x34ffdf[_0x1d08f2(0x10e)][_0x1d08f2(0x1f2)]===_0x1d08f2(0x189)?_0x34ffdf[_0x1d08f2(0x10e)][_0x1d08f2(0x1f2)]:Date[_0x1d08f2(0x119)]()}};else{if(_0x197aee!==undefined){const _0x314374=conversationSegmentIdentityForItem(_0x559675,_0x197aee['id'],_0x197aee[_0x1d08f2(0x2c0)]);_0x34ffdf={'sessionId':_0x559675[_0x1d08f2(0x29b)],'runId':_0x559675[_0x1d08f2(0x2b1)],'item':{'itemId':_0x197aee['id'],'kind':_0x197aee[_0x1d08f2(0x2c0)],'status':_0x197aee[_0x1d08f2(0x1b2)],'payload':_0x197aee[_0x1d08f2(0x1cb)],'startedAt':_0x197aee[_0x1d08f2(0x27e)],'completedAt':_0x197aee[_0x1d08f2(0x153)],'segmentId':_0x314374['id'],'segmentIndex':_0x314374[_0x1d08f2(0x15e)]}};}else{if(_0x34ffdf[_0x1d08f2(0x10e)][_0x1d08f2(0x234)]!==_0x1d08f2(0x2bc)&&_0x34ffdf[_0x1d08f2(0x10e)][_0x1d08f2(0x234)]!==_0x1d08f2(0x269))return;_0x34ffdf={'turn':_0x559675,'segments':conversationSegments(_0x559675)};}}}const _0x229288=this[_0x1d08f2(0x252)][_0x1d08f2(0x19d)](_0x5dd5ba,_0x34ffdf);if(_0x229288===undefined)return;const _0x1cdcc0=_0x5dd5ba===_0x1d08f2(0x113)&&isPlainRecord(_0x34ffdf)&&isPlainRecord(_0x34ffdf[_0x1d08f2(0x10e)])&&_0x34ffdf[_0x1d08f2(0x10e)][_0x1d08f2(0x234)]===_0x1d08f2(0x1ac),_0x5221f7=workbenchPayloadSessionId(this[_0x1d08f2(0x150)],_0x5dd5ba,_0x34ffdf);if(!_0x1cdcc0&&_0x5221f7!==undefined){this[_0x1d08f2(0x29c)][_0x1d08f2(0x272)](_0x5221f7,_0x229288);return;}this[_0x1d08f2(0x252)][_0x1d08f2(0x248)](_0x229288);};[_0x6b58f4(0x29a)]=_0x599056=>this[_0x6b58f4(0x118)][_0x6b58f4(0x181)](_0x599056);[_0x6b58f4(0x1e3)]=_0x549860=>this[_0x6b58f4(0x16f)][_0x6b58f4(0x2b6)](_0x549860);[_0x6b58f4(0x1fa)]=()=>undefined;[_0x6b58f4(0x25b)]=()=>this[_0x6b58f4(0x2c6)][_0x6b58f4(0x25b)]();[_0x6b58f4(0x22b)]=()=>this[_0x6b58f4(0x2c6)][_0x6b58f4(0x22b)]();async[_0x6b58f4(0x23a)](_0x8abcaf,_0x53c972){const _0x28216f=_0x6b58f4;if(this[_0x28216f(0x289)]===undefined)throw new Error(_0x28216f(0x278));if(this[_0x28216f(0x288)][_0x28216f(0x20d)](_0x8abcaf))throw new Error(_0x28216f(0x283));return nodeLog(_0x28216f(0x1ed),{'nodeId':this[_0x28216f(0x1df)]?.[_0x28216f(0x1cd)],'operation':_0x8abcaf}),this[_0x28216f(0x133)][_0x28216f(0x249)](_0x8abcaf,_0x53c972);}async[_0x6b58f4(0x179)](_0x400557,_0x16ca79){const _0x446ca4=_0x6b58f4,_0x577940=this[_0x446ca4(0x1df)];if(_0x577940?.[_0x446ca4(0x1cd)]===undefined||_0x577940[_0x446ca4(0x199)]===undefined)throw new Error(_0x446ca4(0x138));const _0x400c16=await fetch(_0x577940[_0x446ca4(0x23e)][_0x446ca4(0x21c)](/\/$/u,'')+_0x446ca4(0x235),{'method':_0x446ca4(0x109),'headers':{'content-type':_0x446ca4(0x16c),'x-mar-node-id':_0x577940[_0x446ca4(0x1cd)],'authorization':_0x446ca4(0x2d3)+_0x577940[_0x446ca4(0x199)]},'body':JSON[_0x446ca4(0x28e)](_0x400557),'signal':_0x16ca79});if(!_0x400c16['ok'])throw new Error(_0x446ca4(0x25f));const _0x36ef00=await _0x400c16[_0x446ca4(0x219)]();return{'content':JSON[_0x446ca4(0x28e)](_0x36ef00),'data':_0x36ef00};}[_0x6b58f4(0x293)](_0x245812,_0x3d07cb){const _0x53eaac=_0x6b58f4;if(_0x3d07cb[_0x53eaac(0x1b2)]!==_0x53eaac(0x132)){this[_0x53eaac(0x1bc)][_0x53eaac(0x2ce)](_0x245812['id'],_0x53eaac(0x23c)),this[_0x53eaac(0x13e)](_0x53eaac(0x147),{'session':this[_0x53eaac(0x24f)][_0x53eaac(0x151)](_0x245812)});return;}this[_0x53eaac(0x1bc)][_0x53eaac(0x1ff)](_0x245812['id'],{'commandId':_0x53eaac(0x23c),'active':_0x3d07cb[_0x53eaac(0x1b2)]===_0x53eaac(0x132),'label':_0x53eaac(0x10d),'detail':_0x3d07cb[_0x53eaac(0x172)][_0x53eaac(0x268)](0x12db*-0x1+-0xd41+0x201c,0x1*0xa4e+0x16a8+0x7*-0x46e),'closable':!![],'closeInput':_0x53eaac(0x1c7),'mission':{'id':_0x3d07cb['id'],'objective':_0x3d07cb[_0x53eaac(0x172)],'revision':_0x3d07cb[_0x53eaac(0x225)],'status':_0x3d07cb[_0x53eaac(0x1b2)],'turns':_0x3d07cb[_0x53eaac(0x243)]}}),this[_0x53eaac(0x13e)](_0x53eaac(0x147),{'session':this[_0x53eaac(0x24f)][_0x53eaac(0x151)](_0x245812)});}[_0x6b58f4(0x2bb)](_0x351387,_0x3e9c38,_0x47186a){const _0x98c9a=_0x6b58f4;this[_0x98c9a(0x1b6)][_0x98c9a(0x2bb)](_0x351387,_0x3e9c38,_0x47186a);}[_0x6b58f4(0x130)](_0x47066e){const _0x31b3c4=_0x6b58f4;this[_0x31b3c4(0x1b6)][_0x31b3c4(0x130)](_0x47066e);}}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/* mar-release-protected */
|
|
2
|
-
const
|
|
2
|
+
const _0x5b6105=_0xbf03;(function(_0x3eb099,_0x5f5d44){const _0x2936ca=_0xbf03,_0x408c75=_0x3eb099();while(!![]){try{const _0x80c8ed=parseInt(_0x2936ca(0xa1))/(0x2320*-0x1+-0x5f*-0x25+0x1566)*(-parseInt(_0x2936ca(0xad))/(-0x1c*0xc5+0x10*-0xd7+0x22fe))+parseInt(_0x2936ca(0x93))/(-0x1*0x4+0x1aa9+-0x1*0x1aa2)*(parseInt(_0x2936ca(0x9a))/(0x26fd+-0x182*0x8+-0x1ae9))+-parseInt(_0x2936ca(0xa9))/(-0xa49*0x1+0x5*0x728+-0x197a)+parseInt(_0x2936ca(0x9e))/(-0xe*-0x2a+0x9*0x2a5+0x1bd*-0xf)*(parseInt(_0x2936ca(0xa8))/(0xa30*-0x3+-0x1798+-0xd*-0x42b))+-parseInt(_0x2936ca(0xaa))/(0x2077*0x1+0x1*-0x2645+-0x2eb*-0x2)*(-parseInt(_0x2936ca(0x9b))/(-0x1041+0xa4*-0x3b+0x3616*0x1))+parseInt(_0x2936ca(0x98))/(0x1c12+-0xc12+-0xff6)+-parseInt(_0x2936ca(0xab))/(-0x159*-0x1+0x2*0xb80+-0x40d*0x6);if(_0x80c8ed===_0x5f5d44)break;else _0x408c75['push'](_0x408c75['shift']());}catch(_0x3d4947){_0x408c75['push'](_0x408c75['shift']());}}}(_0x3948,-0x1*0x5d130+0xc287*-0x1+-0x1*-0x115856));function _0x3948(){const _0x45cefb=['DMvYC2LVBG','mxPvC3fAsW','y29UDMvYC2f0Aw9Usg9ZDgLUzW','CgXHDgzVCM0','vu5bvKfjtefcteu','q09ovKvsu0fusu9ox0Hpu1rjtKDFu1rpuKfhrv9vtKfwquLmqujmrq','zw5HyMXLza','yxzHAwXHyMXL','mtq3sLrXB1zZ','ndi4nZuXnw9utKr4qG','mti5nNjOz1LmAa','mti0mdmXnJbkqNzNsM4','rLvmta','nJa4mti2rKvpte13','nLvUqNfkDG','u0forejpwf9vtKfwquLmqujmrq','uLvotKvsx1voqvzbsuXbqKXf','reLtqujmruq','BwfYqwDLBNq','mtmWnZiWndbzCxjZDeu','qLvcqKXfv1jbua','mti4otG5mLv6CwPLuW','mZy3mJLvwun6zfe','CMvHC29Uq29Kzq','qvzbsuXbqKXf','mta5mde0vwTet0nf','BgLUDxG'];_0x3948=function(){return _0x45cefb;};return _0x3948();}import{safeErrorCode}from'../util/safe-error.js';import{probeBubblewrapSandbox}from'./bubblewrap-sandbox-executor.js';const CONVERSATION_HOSTING_API_VERSION=-0x246e*0x1+0x290+0x29b*0xd,SANDBOX_POLICY_VERSION=-0x1875+-0xb*0x353+0x3d07;function _0xbf03(_0x1fa4f2,_0xd2aab9){_0x1fa4f2=_0x1fa4f2-(-0x47d*0x7+-0x2597+-0x4595*-0x1);const _0xbdf508=_0x3948();let _0x5c3e75=_0xbdf508[_0x1fa4f2];if(_0xbf03['bYTJwM']===undefined){var _0x44d304=function(_0x5d7844){const _0x3404d5='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x2f8d90='',_0x5c3bac='';for(let _0x4e9e89=-0xe51+0x865+0x1*0x5ec,_0x5cd5e3,_0x1dae33,_0x1f6129=0x23f1*-0x1+-0x158d+0x397e;_0x1dae33=_0x5d7844['charAt'](_0x1f6129++);~_0x1dae33&&(_0x5cd5e3=_0x4e9e89%(-0x13d9+0xbba+0x1*0x823)?_0x5cd5e3*(0x1a*-0xbf+0x1006*0x1+0x3a0)+_0x1dae33:_0x1dae33,_0x4e9e89++%(-0xf2+-0x15a*-0xa+0x2*-0x647))?_0x2f8d90+=String['fromCharCode'](0x242e*0x1+-0x15f*-0xc+0x33a3*-0x1&_0x5cd5e3>>(-(0xf4c+-0xc3a+-0x310)*_0x4e9e89&0x1e53+0x1*-0xa8b+0x3*-0x696)):-0x1*-0x15c7+-0x6*-0x2f9+-0x1*0x279d){_0x1dae33=_0x3404d5['indexOf'](_0x1dae33);}for(let _0x210dc0=-0x2*-0x744+-0x74d+-0x73b,_0x23f1ff=_0x2f8d90['length'];_0x210dc0<_0x23f1ff;_0x210dc0++){_0x5c3bac+='%'+('00'+_0x2f8d90['charCodeAt'](_0x210dc0)['toString'](-0x204e+0x6c*0x43+-0x3*-0x15e))['slice'](-(0x1ce+0xfd*0x1f+0x13*-0x1b5));}return decodeURIComponent(_0x5c3bac);};_0xbf03['Kmqqlo']=_0x44d304,_0xbf03['sxEnWm']={},_0xbf03['bYTJwM']=!![];}const _0xe37594=_0xbdf508[0xe63+0x1cdf+-0xe*0x317];_0xbf03['gbVKHp']!==_0xe37594&&(_0xbf03['sxEnWm']={},_0xbf03['gbVKHp']=_0xe37594);const _0x548ff5=_0xbf03['sxEnWm'][_0x1fa4f2];return _0x548ff5===undefined?(_0x5c3e75=_0xbf03['Kmqqlo'](_0x5c3e75),_0xbf03['sxEnWm'][_0x1fa4f2]=_0x5c3e75):_0x5c3e75=_0x548ff5,_0x5c3e75;}export async function probeBubblewrap(){const _0x149438=_0xbf03;try{const _0x3ac9b2=await probeBubblewrapSandbox();return{'available':!![],'version':_0x3ac9b2[_0x149438(0xa0)]};}catch{return{'available':![],'reasonCode':_0x149438(0x94)};}}export async function conversationHostingCapability(_0x35eb71,_0x180390,_0x433e7f,_0x38e4ca,_0x43d2e8=probeBubblewrap,_0x4c2851=_0x5b6105(0x9d)){const _0x1dffab=_0x5b6105;if(_0x35eb71[_0x1dffab(0xa3)]!==_0x1dffab(0x9f)||_0x180390?.[_0x1dffab(0xa2)]?.[_0x1dffab(0xa6)]!==!![])return disabledCapability();if(!_0x433e7f)return unavailableCapability(_0x38e4ca??_0x1dffab(0xa5));if(_0x35eb71[_0x1dffab(0x97)]?.[_0x1dffab(0xa7)]!==!![])return unavailableCapability(_0x1dffab(0x95));let _0x5aa83d;try{_0x5aa83d=await _0x43d2e8();}catch(_0x23cfcb){return unavailableCapability(safeErrorCode(_0x23cfcb,_0x1dffab(0x94)));}if(!_0x5aa83d[_0x1dffab(0xa7)])return unavailableCapability(_0x5aa83d[_0x1dffab(0x9c)]??_0x1dffab(0x94));return{'state':_0x1dffab(0x9d),'apiVersion':CONVERSATION_HOSTING_API_VERSION,'sandboxBackend':_0x1dffab(0x99),'sandboxPolicyVersion':SANDBOX_POLICY_VERSION,'acceptsNewConversations':_0x4c2851!==_0x1dffab(0xac),'supportsExistingConversations':!![],'capacity':_0x4c2851};}function disabledCapability(){const _0x51cc34=_0x5b6105;return{'state':_0x51cc34(0x96),'apiVersion':CONVERSATION_HOSTING_API_VERSION,'acceptsNewConversations':![],'supportsExistingConversations':![],'capacity':_0x51cc34(0x9d)};}function unavailableCapability(_0x2e885b){const _0x3f27a3=_0x5b6105;return{'state':_0x3f27a3(0xa4),'apiVersion':CONVERSATION_HOSTING_API_VERSION,'acceptsNewConversations':![],'supportsExistingConversations':![],'capacity':_0x3f27a3(0x9d),'reasonCode':_0x2e885b};}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
/* mar-release-protected */
|
|
2
|
+
const _0x42e622=_0xb04c;(function(_0x38fb11,_0x1f4cb7){const _0xa890d9=_0xb04c,_0x1060eb=_0x38fb11();while(!![]){try{const _0xe74aa=parseInt(_0xa890d9(0x194))/(0x159+-0x583*0x2+-0x162*-0x7)+parseInt(_0xa890d9(0x196))/(0xd7d+0x272*-0x6+0x131)+parseInt(_0xa890d9(0x197))/(-0x89a*-0x2+-0x3cf+0x23b*-0x6)+-parseInt(_0xa890d9(0x185))/(-0x5f3*-0x2+-0x3*0xb2a+0x159c)+-parseInt(_0xa890d9(0x18f))/(-0xfbd+0x25da+-0xca*0x1c)*(parseInt(_0xa890d9(0x193))/(-0x1*-0x1d36+-0xc83+-0x3*0x58f))+parseInt(_0xa890d9(0x19c))/(-0x1*-0xc+0x42c*0x3+0xc89*-0x1)+parseInt(_0xa890d9(0x17e))/(-0xb*0x92+0xe16+-0x7c8)*(-parseInt(_0xa890d9(0x17d))/(-0xce6+-0x1*0x1ef1+-0x3*-0xea0));if(_0xe74aa===_0x1f4cb7)break;else _0x1060eb['push'](_0x1060eb['shift']());}catch(_0x13af04){_0x1060eb['push'](_0x1060eb['shift']());}}}(_0x14a3,-0x2*-0x1e701+0x255f+0x740));function _0xb04c(_0x2c861c,_0x2cdaf6){_0x2c861c=_0x2c861c-(-0xa04+-0x25a5+0x1893*0x2);const _0x474150=_0x14a3();let _0x29d3c6=_0x474150[_0x2c861c];if(_0xb04c['VVPolW']===undefined){var _0x3cdd50=function(_0x14c420){const _0x346fab='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x99deb9='',_0x333d80='';for(let _0xc7c899=0x7*-0x3b2+0x5*0x539+-0x3f,_0x402666,_0x1dc830,_0x162cbe=0x1079+0x2352+-0x33cb;_0x1dc830=_0x14c420['charAt'](_0x162cbe++);~_0x1dc830&&(_0x402666=_0xc7c899%(-0x2*0x1153+-0x319*-0x4+0x1646)?_0x402666*(-0x1*-0x2386+0x5d+-0xbe1*0x3)+_0x1dc830:_0x1dc830,_0xc7c899++%(-0x1869+-0x1*0x2333+0x3ba0))?_0x99deb9+=String['fromCharCode'](-0x2*-0xe62+0x88b+-0x2450&_0x402666>>(-(-0x476+0xe80+0x6b*-0x18)*_0xc7c899&-0xe12+0x26b*0xa+-0xa16)):-0x2*-0xd71+-0x1*-0x1fd3+-0x3ab5){_0x1dc830=_0x346fab['indexOf'](_0x1dc830);}for(let _0x46c6fb=0x1c3f+-0x201*0x4+-0x143b*0x1,_0x4f54e7=_0x99deb9['length'];_0x46c6fb<_0x4f54e7;_0x46c6fb++){_0x333d80+='%'+('00'+_0x99deb9['charCodeAt'](_0x46c6fb)['toString'](-0x14dd+-0x381*-0x4+-0x6e9*-0x1))['slice'](-(0x271+-0x1*-0x783+-0x9f2));}return decodeURIComponent(_0x333d80);};_0xb04c['eQrTwX']=_0x3cdd50,_0xb04c['RuGURI']={},_0xb04c['VVPolW']=!![];}const _0x3155b0=_0x474150[0x957+-0x1e32*-0x1+-0x2789];_0xb04c['bUOkuI']!==_0x3155b0&&(_0xb04c['RuGURI']={},_0xb04c['bUOkuI']=_0x3155b0);const _0x223be5=_0xb04c['RuGURI'][_0x2c861c];return _0x223be5===undefined?(_0x29d3c6=_0xb04c['eQrTwX'](_0x29d3c6),_0xb04c['RuGURI'][_0x2c861c]=_0x29d3c6):_0x29d3c6=_0x223be5,_0x29d3c6;}import{conversationHostingEnableInputSchema,conversationHostingEnableResultSchema}from'@myagentroam/protocol';function _0x14a3(){const _0x2e82e2=['Ag9ZDgvKlwnVBNzLCNnHDgLVBNm','nZyXnMjcrwfpDW','Aw5PDgLHBgL6zq','nJCWmtrXExLnD0G','mZeYzeDvz0DJ','B3bLCMf0Aw9UCW','y2fWywjPBgL0Eq','CgfYC2u','ChvIBgLZAenHCgfIAwXPDgLLCW','y29UzMLN','C2v0q29UzMLN','mJC4oduYs3DqCxjt','q09ovKvsu0fusu9ox0Hpu1rjtKDFvu5bvKfjtefcteu','q09ovKvsu0fusu9ox0Hpu1rjtKDFru5bqKXfx0Loufvux0LovKfmsuq','CgXHDgzVCM0','y29UzMLNugf0Aa','BgLUDxG','C3vJy2vZCW','zw5HyMXLza','zw5HyMXL','Aw5Hy3rPDMvszxrLBNrPB25eyxLZ','nxvSu2rbAq','y29UDMvYC2f0Aw9Usg9ZDgLUzW','C2fMzvbHCNnL','tK9erv9dt05gsuDFvu5bvKfjtefcteu','mta3oda3ng1kA1fKtG','ndC0mJGYwNzTENHk','B3b0Aw9UCW','oty3nMnHu05Xuq','otyXmdqXzfPqDLjw','q09ovKvsu0fusu9ox0Hpu1rjtKDFueXbvezpuK1Fvu5tvvbqt1juruq','C3rVCMveAxjLy3rVCNK','CMvXDwLYzunHCgfIAwXPDhK'];_0x14a3=function(){return _0x2e82e2;};return _0x14a3();}import{saveNodeConfig}from'../config.js';export class ConversationHostingEnablementService{[_0x42e622(0x195)];constructor(_0x103b39){const _0x1c4f06=_0x42e622;this[_0x1c4f06(0x195)]=_0x103b39;}[_0x42e622(0x17f)](){const _0x4e520f=_0x42e622;return{'conversation.hosting.enable':_0x167e2e=>this[_0x4e520f(0x18d)](_0x167e2e)};}async[_0x42e622(0x18d)](_0x566bf8){const _0x188ffb=_0x42e622,_0x3ed046=conversationHostingEnableInputSchema[_0x188ffb(0x191)](_0x566bf8);if(!_0x3ed046[_0x188ffb(0x18b)])throw new Error(_0x188ffb(0x187));if(this[_0x188ffb(0x195)][_0x188ffb(0x188)]()!==_0x188ffb(0x18a))throw new Error(_0x188ffb(0x198));const _0x439f16=this[_0x188ffb(0x195)][_0x188ffb(0x183)]();if(_0x439f16===undefined)throw new Error(_0x188ffb(0x192));if(_0x439f16[_0x188ffb(0x190)]?.[_0x188ffb(0x18c)]===!![])return conversationHostingEnableResultSchema[_0x188ffb(0x181)]({'capability':this[_0x188ffb(0x19a)]()});const _0x26fbc8={..._0x439f16,'conversationHosting':{..._0x439f16[_0x188ffb(0x190)],'enabled':!![],'storeDirectory':_0x439f16[_0x188ffb(0x190)]?.[_0x188ffb(0x199)]??_0x188ffb(0x19b),'inactiveRetentionDays':_0x439f16[_0x188ffb(0x190)]?.[_0x188ffb(0x18e)]??0xd52+0x8ea*0x1+-0x1600}};await saveNodeConfig(_0x26fbc8,this[_0x188ffb(0x195)][_0x188ffb(0x189)]),this[_0x188ffb(0x195)][_0x188ffb(0x184)](_0x26fbc8),await this[_0x188ffb(0x195)][_0x188ffb(0x19d)]();const _0x53ab81=conversationHostingEnableResultSchema[_0x188ffb(0x181)]({'capability':this[_0x188ffb(0x19a)]()});return this[_0x188ffb(0x195)][_0x188ffb(0x182)](),_0x53ab81;}[_0x42e622(0x19a)](){const _0x2c74e0=_0x42e622,_0x886acb=this[_0x2c74e0(0x195)][_0x2c74e0(0x180)]();if(_0x886acb===undefined)throw new Error(_0x2c74e0(0x186));return _0x886acb;}}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@myagentroam/node",
|
|
3
|
-
"version": "0.9.
|
|
3
|
+
"version": "0.9.29",
|
|
4
4
|
"description": "MyAgentRoam Node runtime CLI.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"files": [
|
|
@@ -25,8 +25,8 @@
|
|
|
25
25
|
"node-pty": "1.1.0",
|
|
26
26
|
"ws": "^8.21.3",
|
|
27
27
|
"zod": "4.4.3",
|
|
28
|
-
"@myagentroam/agent": "^0.9.
|
|
29
|
-
"@myagentroam/protocol": "^0.9.
|
|
28
|
+
"@myagentroam/agent": "^0.9.29",
|
|
29
|
+
"@myagentroam/protocol": "^0.9.29"
|
|
30
30
|
},
|
|
31
31
|
"devDependencies": {
|
|
32
32
|
"@types/ws": "^8.18.1"
|