apt-mcp-agent-setup 3.5.25 → 3.5.30
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/README.md +1 -1
- package/bin/cli.js +1 -1
- package/build-input.json +54 -36
- package/bundle/NOTICES.md +0 -0
- package/bundle/core.enc +0 -0
- package/bundle/mcp-rules.enc +0 -0
- package/bundle/skills-aso.enc +0 -0
- package/bundle/skills-ba.enc +0 -0
- package/bundle/skills-base.enc +0 -0
- package/bundle/skills-be.enc +0 -0
- package/bundle/skills-design.enc +0 -0
- package/bundle/skills-fe.enc +0 -0
- package/bundle/skills-marketing.enc +0 -0
- package/bundle/skills-mobile.enc +0 -0
- package/bundle/skills-pm.enc +0 -0
- package/integrity-manifest.json +161 -159
- package/package.json +1 -1
- package/src/backends/browser-tools.js +1 -1
- package/src/backends/index-cache-authority.js +1 -1
- package/src/backends/index-command.js +1 -1
- package/src/backends/index-maintenance.js +1 -1
- package/src/backends/index-store.js +1 -1
- package/src/backends/profiles.js +1 -1
- package/src/backends/review_graph.py +65 -0
- package/src/backends/source-discovery.js +1 -1
- package/src/core/admission-fence.js +1 -1
- package/src/core/aso-import.js +1 -1
- package/src/core/backend-lease-recovery.js +1 -1
- package/src/core/boot-evidence.js +1 -1
- package/src/core/caller-context.js +1 -1
- package/src/core/catalog.js +1 -1
- package/src/core/claude-caller-authority.js +1 -1
- package/src/core/claude-invocation.js +1 -1
- package/src/core/claude-launch-recovery.js +1 -1
- package/src/core/claude-native.js +1 -1
- package/src/core/claude-plan.js +1 -1
- package/src/core/claude-transcript-scan.js +1 -1
- package/src/core/claude-worker-transcript.js +1 -1
- package/src/core/codex-host-metadata.js +1 -1
- package/src/core/codex-transcript-receipt.js +1 -1
- package/src/core/connection-inspector.js +1 -1
- package/src/core/context-metrics.js +1 -1
- package/src/core/doctor.js +1 -1
- package/src/core/draining-completion.js +1 -1
- package/src/core/execution.js +1 -1
- package/src/core/git-context.js +1 -1
- package/src/core/hook-bridge.js +1 -1
- package/src/core/hook-diagnostics.js +1 -1
- package/src/core/hook-lease.js +1 -1
- package/src/core/host-adapters.js +1 -1
- package/src/core/interrupted-boot-transport-proof.js +1 -1
- package/src/core/interrupted-natural-closure-proof.js +1 -1
- package/src/core/interrupted-operation-audit.js +1 -1
- package/src/core/interrupted-transport-proof.js +1 -1
- package/src/core/ipc-envelope.js +1 -1
- package/src/core/legacy-retirement-proof.js +1 -1
- package/src/core/memory-scope.js +1 -1
- package/src/core/memory-store.js +1 -1
- package/src/core/model-inventory.js +1 -1
- package/src/core/model-routing.js +1 -1
- package/src/core/native-dispatch.js +1 -1
- package/src/core/native-receipt.js +1 -1
- package/src/core/native-retirement.js +1 -1
- package/src/core/node-version.js +1 -1
- package/src/core/npm-cli.js +1 -1
- package/src/core/owned-command-child.js +1 -1
- package/src/core/owned-command.js +1 -1
- package/src/core/owned-lock.js +1 -1
- package/src/core/owned-process.js +1 -1
- package/src/core/pipeline-journal.js +1 -1
- package/src/core/presentations.js +1 -1
- package/src/core/quality-artifacts.js +1 -1
- package/src/core/quality.js +1 -1
- package/src/core/read-command.js +1 -1
- package/src/core/readonly-skill.js +1 -1
- package/src/core/recovery-archive.js +1 -1
- package/src/core/recovery-proof.js +1 -1
- package/src/core/resource-transaction.js +1 -1
- package/src/core/run-checkpoint.js +1 -1
- package/src/core/run-compatibility.js +1 -1
- package/src/core/run-state-codec.js +1 -1
- package/src/core/runtime-authority.js +1 -1
- package/src/core/runtime-info.js +1 -1
- package/src/core/runtime-ownership.js +1 -1
- package/src/core/session.js +1 -1
- package/src/core/skill-companions.js +1 -1
- package/src/core/skill-names.js +1 -1
- package/src/core/storage-retry.js +1 -1
- package/src/core/tool-contracts.js +1 -1
- package/src/core/update-control.js +1 -1
- package/src/core/upgrade-runs.js +1 -1
- package/src/core/upgrade-stop.js +1 -1
- package/src/core/windows-job.js +1 -1
- package/src/core/workflow-policy.js +1 -1
- package/src/core/workspace-generation.js +1 -1
- package/src/core/workspace-path.js +1 -1
- package/src/installer/bounded-command.js +1 -1
- package/src/installer/candidate-preflight.js +1 -1
- package/src/installer/claude-commands.js +1 -1
- package/src/installer/connection-activation.js +1 -1
- package/src/installer/connection-supervisor.js +1 -1
- package/src/installer/deployment-draft.js +1 -1
- package/src/installer/gateway-context.js +1 -1
- package/src/installer/gateway-migration.js +1 -1
- package/src/installer/gateway-runtime.js +1 -1
- package/src/installer/global-setup.js +1 -1
- package/src/installer/hook-context-client.js +1 -1
- package/src/installer/hook-dispatcher.js +179 -141
- package/src/installer/host-hooks.js +1 -1
- package/src/installer/index-interruption-recovery.js +1 -1
- package/src/installer/index-recovery.js +1 -1
- package/src/installer/install-intent.js +1 -1
- package/src/installer/interrupted-operation-recovery.js +1 -1
- package/src/installer/legacy-prepared-plan.js +1 -1
- package/src/installer/legacy-registration.js +1 -1
- package/src/installer/managed-config.js +1 -1
- package/src/installer/migration-scope.js +1 -1
- package/src/installer/platform-config.js +1 -1
- package/src/installer/prerequisites.js +1 -1
- package/src/installer/presentations.js +1 -1
- package/src/installer/project-outcome.js +1 -1
- package/src/installer/project-setup.js +1 -1
- package/src/installer/recovery-backup-retention.js +1 -0
- package/src/installer/registration-closure.js +1 -1
- package/src/installer/registration-plan.js +1 -1
- package/src/installer/registration-receipt.js +1 -1
- package/src/installer/registrations.js +1 -1
- package/src/installer/runtime-activation.js +1 -1
- package/src/installer/runtime-child.js +1 -1
- package/src/installer/runtime-cleanup.js +1 -1
- package/src/installer/runtime-lock.js +1 -1
- package/src/installer/runtime-store.js +1 -1
- package/src/installer/runtime-supervisor.js +1 -1
- package/src/installer/setup-wizard.js +1 -1
- package/src/installer/stale-run-release.js +1 -1
- package/src/installer/update-addons.js +1 -1
- package/src/installer/update-cleanup.js +1 -1
- package/src/installer/update-executor.js +1 -1
- package/src/installer/update-history.js +1 -1
- package/src/installer/update-registration.js +1 -1
- package/src/installer/update-report.js +1 -0
- package/src/installer/update-request.js +1 -1
- package/src/installer/update-scope.js +1 -1
- package/src/installer/workspace-registry.js +1 -1
- package/src/installer/workspace-transaction.js +1 -1
- package/src/installer/workspace-update.js +1 -1
- package/src/license/crypto.js +1 -1
- package/src/license/fingerprint.js +1 -1
- package/src/license/terms.js +1 -1
- package/src/license/verify.js +1 -1
- package/src/presets/index.js +1 -1
- package/src/proxy/backends.js +1 -1
- package/src/proxy/browser-sessions.js +1 -1
- package/src/proxy/core-tools.js +1 -1
- package/src/proxy/pipeline.js +1 -1
- package/src/proxy/public-catalog.js +1 -1
- package/src/proxy/router.config.js +1 -1
- package/src/proxy/router.js +1 -1
- package/src/proxy/server.js +1 -1
- package/src/proxy/workspace-gateway.js +1 -1
- package/src/templates/mcp-tools.md +2 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const _0x1e5c48=_0x5135;(function(_0x25ad92,_0xc1f4fc){const _0x49e1fc=_0x5135,_0x3d31cc=_0x25ad92();while(!![]){try{const _0x40305d=-parseInt(_0x49e1fc(0x270))/0x1+parseInt(_0x49e1fc(0x23b))/0x2+-parseInt(_0x49e1fc(0x22b))/0x3+parseInt(_0x49e1fc(0x29b))/0x4+parseInt(_0x49e1fc(0x267))/0x5*(parseInt(_0x49e1fc(0x243))/0x6)+parseInt(_0x49e1fc(0x20c))/0x7*(-parseInt(_0x49e1fc(0x29d))/0x8)+parseInt(_0x49e1fc(0x1ce))/0x9*(-parseInt(_0x49e1fc(0x272))/0xa);if(_0x40305d===_0xc1f4fc)break;else _0x3d31cc['push'](_0x3d31cc['shift']());}catch(_0x5c593a){_0x3d31cc['push'](_0x3d31cc['shift']());}}}(_0x4baf,0x7cd9e));const fs=require(_0x1e5c48(0x1e1)),path=require(_0x1e5c48(0x227)),crypto=require(_0x1e5c48(0x1d3)),net=require(_0x1e5c48(0x202)),{signEnvelope}=require(_0x1e5c48(0x211)),{preserveConnectionArchive}=require(_0x1e5c48(0x1da)),readJson=_0x2f9760=>{const _0x70aedf=_0x1e5c48;try{return JSON[_0x70aedf(0x22c)](fs[_0x70aedf(0x28e)](_0x2f9760,'utf8'));}catch{return null;}},pause=_0x28ef27=>new Promise(_0x114a63=>setTimeout(_0x114a63,_0x28ef27));async function retryAdmission(_0x5e1870,{attempts:attempts=0x4,delayMs:delayMs=0xfa}={}){const _0x3b89eb=_0x1e5c48;for(let _0x1c9884=0x1;;_0x1c9884++){try{return _0x5e1870();}catch(_0x1d7399){if(_0x1d7399['code']!==_0x3b89eb(0x1d2)||_0x1c9884>=attempts)throw _0x1d7399;await pause(delayMs);}}}async function awaitSettledSupervisors(_0x1c2fe0,_0x21fca8,_0x27da33,_0x356624){const _0x3e54ce=_0x1e5c48;let _0x540f8b=_0x27da33();const _0x277b15=Number(_0x21fca8[_0x3e54ce(0x1d0)]||0x0);if(!(_0x277b15>0x0)||_0x21fca8[_0x3e54ce(0x204)]!==!![])return _0x540f8b;const _0x37cb46=Date[_0x3e54ce(0x1d6)]()+_0x277b15;for(;;){const _0x35888e=[],_0x11ab36={};_0x11ab36[_0x3e54ce(0x1c6)]=!![],_0x11ab36[_0x3e54ce(0x1f2)]=_0x540f8b;for(const _0x5a6ef4 of listWorkspaceReceipts(_0x1c2fe0,[],_0x11ab36)){if(_0x5a6ef4[_0x3e54ce(0x213)]===!![]||!Number['isSafeInteger'](_0x5a6ef4['supervisorPid'])||_0x5a6ef4[_0x3e54ce(0x291)]<=0x0)continue;const _0x372719={};_0x372719[_0x3e54ce(0x1f2)]=_0x540f8b;const _0x42fc9f=require(_0x3e54ce(0x21e))[_0x3e54ce(0x2ab)](_0x5a6ef4,_0x372719);if(_0x42fc9f[_0x3e54ce(0x281)]||![_0x3e54ce(0x1f1),_0x3e54ce(0x2ac)][_0x3e54ce(0x1f6)](_0x42fc9f[_0x3e54ce(0x1f3)][_0x3e54ce(0x26d)]))continue;const _0x1119cd={};_0x1119cd['timeoutMs']=0x3e8;const _0x4af68d=await(_0x21fca8[_0x3e54ce(0x231)]||probeConnection)(_0x5a6ef4,_0x1119cd);if(_0x4af68d[_0x3e54ce(0x214)]!==_0x3e54ce(0x27a))_0x35888e[_0x3e54ce(0x25f)](_0x5a6ef4[_0x3e54ce(0x1c9)]);}if(!_0x35888e['length'])return _0x540f8b;if(Date['now']()>=_0x37cb46){const _0x3b811a={};return _0x3b811a[_0x3e54ce(0x256)]=_0x3e54ce(0x269),_0x3b811a['connectionIds']=_0x35888e,_0x3b811a[_0x3e54ce(0x2ad)]=_0x277b15,_0x356624[_0x3e54ce(0x25f)](_0x3b811a),_0x540f8b;}await pause(Math[_0x3e54ce(0x2a1)](0x1f4,Math[_0x3e54ce(0x1c2)](0x1,_0x37cb46-Date[_0x3e54ce(0x1d6)]()))),_0x540f8b=_0x27da33();}}function archiveAndRetireReceipt(_0x557dc8,_0x553a0c,_0x4ea53a,_0x12a92c,_0xc0fb98){const _0x597329=_0x1e5c48,_0x1532cf=require(_0x597329(0x2b1));return _0x1532cf[_0x597329(0x1ff)](_0x557dc8,_0x272414=>{const _0x21b7f8=_0x597329,_0x58bded=_0x272414[_0x21b7f8(0x263)]&&_0x272414[_0x21b7f8(0x263)][_0x553a0c[_0x21b7f8(0x1c9)]],_0x15c7af=path[_0x21b7f8(0x26e)](fs['realpathSync'](_0x557dc8),_0x21b7f8(0x21d),_0x21b7f8(0x25b),_0x21b7f8(0x1e8),_0x553a0c[_0x21b7f8(0x1c9)]+_0x21b7f8(0x23a)),_0x54a468=fs[_0x21b7f8(0x28e)](_0x15c7af),_0x1713e0={..._0xc0fb98&&_0xc0fb98[_0x21b7f8(0x1df)]||{},'fenceEpoch':_0x272414['epoch'],'fenceState':_0x272414[_0x21b7f8(0x252)],'membership':JSON[_0x21b7f8(0x20d)](_0x58bded||null)},_0x4cccc5=_0xc0fb98&&_0xc0fb98[_0x21b7f8(0x1e2)],_0xd6337b=_0x4cccc5?_0xc0fb98['authority']['validateRetirementBatch'](_0xc0fb98[_0x21b7f8(0x1fe)],_0x4cccc5,_0x557dc8,_0x553a0c,_0x54a468,_0x1713e0):![],_0x46c83f=!_0xc0fb98&&require('../core/connection-inspector')[_0x21b7f8(0x2ab)](_0x553a0c,{'processIdentity':require(_0x21b7f8(0x29f))[_0x21b7f8(0x226)]()})[_0x21b7f8(0x281)],_0x43d901={};_0x43d901['code']=_0x21b7f8(0x290);if(JSON[_0x21b7f8(0x20d)](_0x58bded)!==JSON[_0x21b7f8(0x20d)](_0x4ea53a)||(_0xc0fb98?!_0xd6337b:!_0x46c83f))throw Object['assign'](new Error(_0x21b7f8(0x209)),_0x43d901);const _0x244f9f={};_0x244f9f[_0x21b7f8(0x256)]='CONNECTION_IDENTITY_UNVERIFIED';if(!/^[a-zA-Z0-9._-]{4,128}$/[_0x21b7f8(0x26a)](_0x553a0c&&_0x553a0c['connectionId']||''))throw Object[_0x21b7f8(0x222)](new Error(_0x21b7f8(0x1dc)),_0x244f9f);_0x557dc8=fs[_0x21b7f8(0x223)](_0x557dc8);const _0x559cee=_0x2a27d5=>crypto[_0x21b7f8(0x279)](_0x21b7f8(0x21c))[_0x21b7f8(0x1c0)](_0x2a27d5)['digest']('hex'),_0x42cdf5=path[_0x21b7f8(0x26e)](_0x557dc8,_0x21b7f8(0x21d),_0x21b7f8(0x218),_0x553a0c[_0x21b7f8(0x1c9)]+'-'+_0x559cee(_0x54a468)+_0x21b7f8(0x1bf)),_0x226de7=path[_0x21b7f8(0x26e)](_0x42cdf5,_0x21b7f8(0x26c),_0x553a0c[_0x21b7f8(0x1c9)]+_0x21b7f8(0x23a));for(const _0xf9429b of[path[_0x21b7f8(0x217)](_0x15c7af),path['dirname'](_0x226de7)]){let _0x248558=_0x557dc8;for(const _0x134b88 of path[_0x21b7f8(0x2b2)](_0x557dc8,_0xf9429b)[_0x21b7f8(0x2ae)](path[_0x21b7f8(0x282)])){_0x248558=path[_0x21b7f8(0x26e)](_0x248558,_0x134b88);if(!fs[_0x21b7f8(0x29c)](_0x248558))fs[_0x21b7f8(0x1db)](_0x248558);const _0x2ab82f=fs[_0x21b7f8(0x1d9)](_0x248558),_0x2d11c0={};_0x2d11c0['code']=_0x21b7f8(0x26b);if(_0x2ab82f[_0x21b7f8(0x1d1)]()||!_0x2ab82f[_0x21b7f8(0x277)]())throw Object[_0x21b7f8(0x222)](new Error(_0x21b7f8(0x27c)),_0x2d11c0);}}const _0x1a6c12={};_0x1a6c12['code']=_0x21b7f8(0x26b);if(fs[_0x21b7f8(0x1d9)](_0x15c7af)['isSymbolicLink']())throw Object[_0x21b7f8(0x222)](new Error(_0x21b7f8(0x207)),_0x1a6c12);const _0x29ec24=JSON[_0x21b7f8(0x22c)](_0x54a468),_0x3be8e4={};_0x3be8e4[_0x21b7f8(0x256)]=_0x21b7f8(0x290);if(JSON[_0x21b7f8(0x20d)](_0x29ec24)!==JSON[_0x21b7f8(0x20d)](_0x553a0c)||_0x4ea53a&&_0x4ea53a[_0x21b7f8(0x291)]!==_0x553a0c[_0x21b7f8(0x291)])throw Object['assign'](new Error(_0x21b7f8(0x253)),_0x3be8e4);const _0x2ac9b9={};_0x2ac9b9['path']='receipts/'+_0x553a0c[_0x21b7f8(0x1c9)]+'.json',_0x2ac9b9[_0x21b7f8(0x292)]=_0x54a468;const _0x20753d=[_0x2ac9b9];if(_0x4ea53a){const _0x23eb6a=Buffer['from'](JSON[_0x21b7f8(0x20d)](_0x4ea53a)),_0xd23969={};_0xd23969[_0x21b7f8(0x250)]='membership.json',_0xd23969[_0x21b7f8(0x292)]=_0x23eb6a,_0x20753d[_0x21b7f8(0x25f)](_0xd23969);const _0x57a171=fs[_0x21b7f8(0x28e)](require(_0x21b7f8(0x2b1))[_0x21b7f8(0x1eb)](_0x557dc8)),_0xf58d61={};_0xf58d61[_0x21b7f8(0x250)]=_0x21b7f8(0x1fd),_0xf58d61['bytes']=_0x57a171,_0x20753d[_0x21b7f8(0x25f)](_0xf58d61);}const _0x5c52ae={};_0x5c52ae[_0x21b7f8(0x214)]=_0x4cccc5,_0x5c52ae[_0x21b7f8(0x1df)]=_0x1713e0,preserveConnectionArchive(_0x42cdf5,{'version':0x1,'workspace':_0x557dc8,'connectionId':_0x553a0c[_0x21b7f8(0x1c9)],'reason':_0x12a92c,'createdAt':new Date()[_0x21b7f8(0x27b)](),..._0xd6337b?_0x5c52ae:{}},_0x20753d);const _0x132d79=_0xc0fb98?_0xc0fb98[_0x21b7f8(0x216)][_0x21b7f8(0x1c8)](_0xc0fb98[_0x21b7f8(0x1fe)],_0x4cccc5,_0x557dc8,_0x553a0c,_0x54a468,_0x1713e0):require('../core/connection-inspector')[_0x21b7f8(0x2ab)](_0x553a0c,{'processIdentity':require('../core/owned-process')[_0x21b7f8(0x226)]()})[_0x21b7f8(0x281)],_0x889524={};_0x889524['code']='CONNECTION_IDENTITY_UNVERIFIED';if(!fs[_0x21b7f8(0x28e)](_0x15c7af)[_0x21b7f8(0x283)](_0x54a468)||!_0x132d79)throw Object['assign'](new Error('Connection\x20ownership\x20changed\x20during\x20archive'),_0x889524);_0x4ea53a&&Number[_0x21b7f8(0x212)](_0x4ea53a[_0x21b7f8(0x291)])&&_0x4ea53a[_0x21b7f8(0x252)]!==_0x21b7f8(0x213)&&(_0x58bded[_0x21b7f8(0x252)]='closed',_0x58bded[_0x21b7f8(0x200)]=new Date()[_0x21b7f8(0x27b)](),_0x1532cf['saveLocked'](_0x557dc8,_0x272414));const _0x38faa4={..._0x553a0c,'closed':!![],'serving':![],'stopReason':'connection-reconciliation','forceRecovery':{'reason':_0x12a92c,'retiredAt':new Date()[_0x21b7f8(0x27b)](),'supervisorPid':_0x553a0c['supervisorPid']||null}},_0x3dba1f=_0x15c7af+'.'+crypto[_0x21b7f8(0x280)]()+_0x21b7f8(0x1f9);return fs[_0x21b7f8(0x293)](_0x3dba1f,JSON[_0x21b7f8(0x20d)](_0x38faa4)),require(_0x21b7f8(0x284))[_0x21b7f8(0x1f7)](_0x3dba1f,_0x15c7af),_0x42cdf5;});}function archiveAndRetireMember(_0x1a4929,_0x52a846,_0x72f157,_0x45a80d,_0x38624d){const _0x1b5a19=_0x1e5c48,_0x6cb27c=require(_0x1b5a19(0x2b1));return _0x6cb27c['withAdmissionLock'](_0x1a4929,_0x1f13e8=>{const _0x2f9eb2=_0x1b5a19,_0x32c488=_0x1f13e8['members']?.[_0x52a846[_0x2f9eb2(0x1c9)]],_0x10e57e=_0x38624d||require(_0x2f9eb2(0x29f))[_0x2f9eb2(0x1f2)],_0x5836f4={};_0x5836f4[_0x2f9eb2(0x256)]='CONNECTION_IDENTITY_UNVERIFIED';if(!_0x32c488||JSON[_0x2f9eb2(0x20d)](_0x32c488)!==JSON['stringify'](_0x52a846)||_0x10e57e(_0x52a846['supervisorPid'])!==null||fs[_0x2f9eb2(0x29c)](path[_0x2f9eb2(0x26e)](_0x1a4929,_0x2f9eb2(0x24e),_0x52a846['connectionId']+_0x2f9eb2(0x23a))))throw Object[_0x2f9eb2(0x222)](new Error(_0x2f9eb2(0x1c5)),_0x5836f4);const _0x33db21={};_0x33db21[_0x2f9eb2(0x256)]=_0x2f9eb2(0x290);if(!/^[a-zA-Z0-9._-]{4,128}$/['test'](_0x52a846[_0x2f9eb2(0x1c9)]||''))throw Object[_0x2f9eb2(0x222)](new Error('Connection\x20identity\x20is\x20not\x20archivable'),_0x33db21);const _0x4ab7b5=fs[_0x2f9eb2(0x223)](_0x1a4929),_0x150535=_0x6cb27c[_0x2f9eb2(0x1eb)](_0x1a4929),_0x6c7362=fs[_0x2f9eb2(0x28e)](_0x150535),_0x39f066=Buffer['from'](JSON[_0x2f9eb2(0x20d)](_0x52a846)),_0x1f27b1=_0x592e82=>crypto['createHash'](_0x2f9eb2(0x21c))[_0x2f9eb2(0x1c0)](_0x592e82)[_0x2f9eb2(0x21f)](_0x2f9eb2(0x1f8)),_0x309418=path[_0x2f9eb2(0x26e)](_0x4ab7b5,_0x2f9eb2(0x21d),'recovery-backups',_0x52a846[_0x2f9eb2(0x1c9)]+'-'+_0x1f27b1(_0x39f066)+_0x2f9eb2(0x1fb));let _0x379653=_0x4ab7b5;for(const _0x266638 of path[_0x2f9eb2(0x2b2)](_0x4ab7b5,_0x309418)[_0x2f9eb2(0x2ae)](path[_0x2f9eb2(0x282)])){_0x379653=path[_0x2f9eb2(0x26e)](_0x379653,_0x266638);if(!fs[_0x2f9eb2(0x29c)](_0x379653))fs[_0x2f9eb2(0x1db)](_0x379653);const _0x1d322a={};_0x1d322a[_0x2f9eb2(0x256)]=_0x2f9eb2(0x26b);if(fs[_0x2f9eb2(0x1d9)](_0x379653)[_0x2f9eb2(0x1d1)]()||!fs[_0x2f9eb2(0x1d9)](_0x379653)[_0x2f9eb2(0x277)]())throw Object[_0x2f9eb2(0x222)](new Error('Connection\x20recovery\x20path\x20is\x20unsafe'),_0x1d322a);}const _0x39884a={'version':0x1,'workspace':_0x4ab7b5,'connectionId':_0x52a846[_0x2f9eb2(0x1c9)],'reason':_0x72f157,'evidence':_0x45a80d,'createdAt':new Date()['toISOString']()},_0x2c6051={};_0x2c6051[_0x2f9eb2(0x250)]='membership.json',_0x2c6051['bytes']=_0x39f066;const _0x18952e={};_0x18952e['path']=_0x2f9eb2(0x1fd),_0x18952e['bytes']=_0x6c7362,preserveConnectionArchive(_0x309418,_0x39884a,[_0x2c6051,_0x18952e]);const _0x50a416={};_0x50a416[_0x2f9eb2(0x256)]='CONNECTION_IDENTITY_UNVERIFIED';if(_0x10e57e(_0x52a846[_0x2f9eb2(0x291)])!==null||fs[_0x2f9eb2(0x29c)](path[_0x2f9eb2(0x26e)](_0x1a4929,'.agents/runtime/connections',_0x52a846[_0x2f9eb2(0x1c9)]+_0x2f9eb2(0x23a))))throw Object[_0x2f9eb2(0x222)](new Error(_0x2f9eb2(0x1c3)),_0x50a416);return _0x32c488[_0x2f9eb2(0x252)]=_0x2f9eb2(0x213),_0x32c488[_0x2f9eb2(0x200)]=new Date()[_0x2f9eb2(0x27b)](),_0x32c488['closeReason']=_0x72f157,_0x6cb27c[_0x2f9eb2(0x2b4)](_0x1a4929,_0x1f13e8),_0x309418;});}async function probeConnection(_0xf77b24,_0x3e9a76={}){const _0x7b7422=_0x1e5c48;if(!_0xf77b24?.[_0x7b7422(0x206)]||!_0xf77b24?.['secretFile']||!_0xf77b24?.[_0x7b7422(0x1c9)])return{'status':_0x7b7422(0x2a3),'connectionId':_0xf77b24?.[_0x7b7422(0x1c9)]||null};let _0x2cbb10;try{_0x2cbb10=fs[_0x7b7422(0x28e)](_0xf77b24[_0x7b7422(0x2aa)]);}catch{const _0x41f196={};return _0x41f196['status']='reconnect-required',_0x41f196['connectionId']=_0xf77b24[_0x7b7422(0x1c9)],_0x41f196[_0x7b7422(0x256)]=_0x7b7422(0x262),_0x41f196;}const _0x334a86=crypto[_0x7b7422(0x280)](),_0x414481={};_0x414481['protocol']=0x2,_0x414481[_0x7b7422(0x24b)]=_0x7b7422(0x24c),_0x414481[_0x7b7422(0x1c9)]=_0xf77b24[_0x7b7422(0x1c9)],_0x414481[_0x7b7422(0x20f)]=_0x334a86;const _0xf23288=_0x414481;return _0xf23288[_0x7b7422(0x1c4)]=signEnvelope(_0x2cbb10,_0xf23288),new Promise(_0x300972=>{const _0x261ab1=_0x7b7422,_0x58d816=net['connect'](_0xf77b24[_0x261ab1(0x206)]);let _0x5362f3='';const _0x28b0ef=_0x315ac0=>{const _0x4dc63a=_0x261ab1;if(!_0x58d816[_0x4dc63a(0x298)])_0x58d816[_0x4dc63a(0x27d)]();const _0x20e161={..._0x315ac0};_0x20e161[_0x4dc63a(0x1c9)]=_0xf77b24[_0x4dc63a(0x1c9)],_0x300972(_0x20e161);},_0x5d6a30={};_0x5d6a30['status']=_0x261ab1(0x24f),_0x5d6a30[_0x261ab1(0x256)]=_0x261ab1(0x28b),_0x58d816[_0x261ab1(0x1ca)](_0x3e9a76[_0x261ab1(0x220)]||0x9c4,()=>_0x28b0ef(_0x5d6a30)),_0x58d816['on'](_0x261ab1(0x23d),_0x19b03f=>_0x28b0ef({'status':_0x261ab1(0x24f),'code':_0x19b03f[_0x261ab1(0x256)]||'PROBE_FAILED'})),_0x58d816['on']('connect',()=>_0x58d816['write'](JSON[_0x261ab1(0x20d)](_0xf23288)+'\x0a')),_0x58d816['on'](_0x261ab1(0x1cf),_0x4d8dbb=>{const _0x5e08cd=_0x261ab1;_0x5362f3+=_0x4d8dbb;const _0x138848={};_0x138848[_0x5e08cd(0x26d)]=_0x5e08cd(0x236),_0x138848[_0x5e08cd(0x256)]=_0x5e08cd(0x261);if(_0x5362f3['length']>0x2000)return _0x28b0ef(_0x138848);const _0x1002c8=_0x5362f3[_0x5e08cd(0x228)]('\x0a');if(_0x1002c8<0x0)return;let _0x347544;try{_0x347544=JSON['parse'](_0x5362f3['slice'](0x0,_0x1002c8));}catch{const _0x176b75={};return _0x176b75[_0x5e08cd(0x26d)]=_0x5e08cd(0x236),_0x176b75['code']=_0x5e08cd(0x2a2),_0x28b0ef(_0x176b75);}const {mac:_0x507969,..._0x4fd69b}=_0x347544,_0x22299e=crypto[_0x5e08cd(0x287)](_0x5e08cd(0x21c),_0x2cbb10)['update'](JSON[_0x5e08cd(0x20d)](_0x4fd69b))['digest']('hex');if(typeof _0x507969!==_0x5e08cd(0x224)||_0x507969['length']!==_0x22299e[_0x5e08cd(0x1dd)]||!crypto[_0x5e08cd(0x1ef)](Buffer[_0x5e08cd(0x1e7)](_0x507969),Buffer['from'](_0x22299e))||_0x4fd69b[_0x5e08cd(0x20f)]!==_0x334a86||_0x4fd69b[_0x5e08cd(0x1c9)]!==_0xf77b24[_0x5e08cd(0x1c9)]||_0x4fd69b['workspace']!==_0xf77b24[_0x5e08cd(0x1e6)]||_0x4fd69b['supervisorPid']!==_0xf77b24['supervisorPid']||_0xf77b24[_0x5e08cd(0x203)]!==undefined&&String(_0x4fd69b[_0x5e08cd(0x203)]||'')!==String(_0xf77b24['supervisorProcessStart']||'')||_0x4fd69b['generation']!==_0xf77b24[_0x5e08cd(0x276)]||_0x4fd69b[_0x5e08cd(0x27e)]!==_0xf77b24[_0x5e08cd(0x27e)]||_0xf77b24[_0x5e08cd(0x29e)]!==undefined&&String(_0x4fd69b[_0x5e08cd(0x29e)]||'')!==String(_0xf77b24[_0x5e08cd(0x29e)]||'')||_0x4fd69b[_0x5e08cd(0x1d4)]!==_0xf77b24[_0x5e08cd(0x1d4)]||_0x4fd69b[_0x5e08cd(0x21f)]!==_0xf77b24[_0x5e08cd(0x21f)]||_0x4fd69b['resourceDigest']!==_0xf77b24['resourceDigest'])return _0x28b0ef({'status':_0x5e08cd(0x236),'code':'PROBE_MISMATCH','connectionId':_0xf77b24[_0x5e08cd(0x1c9)]});const _0x1c1c55={'status':_0x4fd69b[_0x5e08cd(0x1ed)],..._0x4fd69b};_0x1c1c55[_0x5e08cd(0x214)]=_0x5e08cd(0x27a),_0x28b0ef(_0x1c1c55);});});}function _0x5135(_0xb5fefe,_0x4015ef){_0xb5fefe=_0xb5fefe-0x1bc;const _0x4baf5e=_0x4baf();let _0x5135a0=_0x4baf5e[_0xb5fefe];if(_0x5135['usZQCs']===undefined){var _0x4b74c6=function(_0x4c56ec){const _0x400a4b='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x37b06a='',_0xf3f6f='';for(let _0x43a5f1=0x0,_0x960ab7,_0x419698,_0xaefb3=0x0;_0x419698=_0x4c56ec['charAt'](_0xaefb3++);~_0x419698&&(_0x960ab7=_0x43a5f1%0x4?_0x960ab7*0x40+_0x419698:_0x419698,_0x43a5f1++%0x4)?_0x37b06a+=String['fromCharCode'](0xff&_0x960ab7>>(-0x2*_0x43a5f1&0x6)):0x0){_0x419698=_0x400a4b['indexOf'](_0x419698);}for(let _0x28a980=0x0,_0x4f6d7a=_0x37b06a['length'];_0x28a980<_0x4f6d7a;_0x28a980++){_0xf3f6f+='%'+('00'+_0x37b06a['charCodeAt'](_0x28a980)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0xf3f6f);};_0x5135['yPGbMO']=_0x4b74c6,_0x5135['SkGEpH']={},_0x5135['usZQCs']=!![];}const _0x1a5c79=_0x4baf5e[0x0],_0x297eb1=_0xb5fefe+_0x1a5c79,_0x45489c=_0x5135['SkGEpH'][_0x297eb1];return!_0x45489c?(_0x5135a0=_0x5135['yPGbMO'](_0x5135a0),_0x5135['SkGEpH'][_0x297eb1]=_0x5135a0):_0x5135a0=_0x45489c,_0x5135a0;}async function controlConnection(_0x445cc9,_0xbdd7f2,_0x28a06e={}){const _0x4e5eda=_0x1e5c48;if(![_0x4e5eda(0x275),_0x4e5eda(0x25d),'activate',_0x4e5eda(0x25a),_0x4e5eda(0x1be),_0x4e5eda(0x205),'commit-candidate',_0x4e5eda(0x1d8),_0x4e5eda(0x255),'gateway-binding'][_0x4e5eda(0x1f6)](_0xbdd7f2)||!_0x445cc9?.[_0x4e5eda(0x206)]||!_0x445cc9?.['secretFile'])return{'status':_0x4e5eda(0x236),'code':_0x4e5eda(0x22e),'connectionId':_0x445cc9?.[_0x4e5eda(0x1c9)]||null};let _0x25882e;try{_0x25882e=fs[_0x4e5eda(0x28e)](_0x445cc9['secretFile']);}catch{const _0xa2a924={};return _0xa2a924[_0x4e5eda(0x26d)]=_0x4e5eda(0x236),_0xa2a924['code']=_0x4e5eda(0x262),_0xa2a924[_0x4e5eda(0x1c9)]=_0x445cc9[_0x4e5eda(0x1c9)],_0xa2a924;}const _0x33c982=crypto[_0x4e5eda(0x280)](),_0x1da57e=_0x28a06e[_0x4e5eda(0x1d4)]||'',_0x1de891=_0x28a06e[_0x4e5eda(0x21f)]||'',_0x309a48={};_0x309a48[_0x4e5eda(0x22d)]=0x2,_0x309a48[_0x4e5eda(0x1c9)]=_0x445cc9['connectionId'],_0x309a48[_0x4e5eda(0x24b)]=_0xbdd7f2,_0x309a48[_0x4e5eda(0x20f)]=_0x33c982,_0x309a48['version']=_0x1da57e,_0x309a48[_0x4e5eda(0x21f)]=_0x1de891,_0x309a48[_0x4e5eda(0x2a8)]=_0x28a06e[_0x4e5eda(0x2a8)],_0x309a48['transactionId']=_0x28a06e['transactionId'],_0x309a48[_0x4e5eda(0x28a)]=_0x28a06e['epoch'],_0x309a48['generation']=_0x28a06e[_0x4e5eda(0x276)],_0x309a48['resourceDigest']=_0x28a06e[_0x4e5eda(0x27f)],_0x309a48[_0x4e5eda(0x1e9)]=_0x28a06e[_0x4e5eda(0x1e9)],_0x309a48[_0x4e5eda(0x246)]=_0x28a06e[_0x4e5eda(0x246)],_0x309a48[_0x4e5eda(0x1ec)]=_0x28a06e[_0x4e5eda(0x1ec)];const _0xe7b0ad=_0x309a48;return _0xe7b0ad[_0x4e5eda(0x1c4)]=signEnvelope(_0x25882e,_0xe7b0ad),new Promise(_0x2fe54c=>{const _0x5d795a=_0x4e5eda,_0x2eae7c=net[_0x5d795a(0x254)](_0x445cc9[_0x5d795a(0x206)]);let _0x595e01='';const _0x4439c4=_0x4a8f30=>{const _0x50cab6=_0x5d795a;if(!_0x2eae7c['destroyed'])_0x2eae7c[_0x50cab6(0x27d)]();const _0x216ce1={..._0x4a8f30};_0x216ce1[_0x50cab6(0x1c9)]=_0x445cc9[_0x50cab6(0x1c9)],_0x2fe54c(_0x216ce1);},_0xab3953={};_0xab3953[_0x5d795a(0x26d)]=_0x5d795a(0x236),_0xab3953[_0x5d795a(0x256)]=_0x5d795a(0x23e),_0x2eae7c[_0x5d795a(0x1ca)](_0x28a06e[_0x5d795a(0x220)]||0x1fbd0,()=>_0x4439c4(_0xab3953)),_0x2eae7c['on']('error',_0x1fe3c4=>_0x4439c4({'status':_0x5d795a(0x236),'code':_0x1fe3c4[_0x5d795a(0x256)]||_0x5d795a(0x1f5)})),_0x2eae7c['on'](_0x5d795a(0x254),()=>_0x2eae7c[_0x5d795a(0x20b)](JSON[_0x5d795a(0x20d)](_0xe7b0ad)+'\x0a')),_0x2eae7c['on']('data',_0x260a34=>{const _0x46083b=_0x5d795a;_0x595e01+=_0x260a34;const _0x3a88ed={};_0x3a88ed[_0x46083b(0x26d)]=_0x46083b(0x236),_0x3a88ed['code']=_0x46083b(0x242);if(_0x595e01[_0x46083b(0x1dd)]>0x2000)return _0x4439c4(_0x3a88ed);const _0x9ed213=_0x595e01['indexOf']('\x0a');if(_0x9ed213<0x0)return;let _0x193830;try{_0x193830=JSON['parse'](_0x595e01['slice'](0x0,_0x9ed213));}catch{const _0x27e2c9={};return _0x27e2c9[_0x46083b(0x26d)]=_0x46083b(0x236),_0x27e2c9[_0x46083b(0x256)]=_0x46083b(0x229),_0x4439c4(_0x27e2c9);}const {mac:_0x14174,..._0x5750a0}=_0x193830,_0x758112=crypto[_0x46083b(0x287)]('sha256',_0x25882e)['update'](JSON['stringify'](_0x5750a0))[_0x46083b(0x21f)](_0x46083b(0x1f8)),_0x2dc024={};_0x2dc024[_0x46083b(0x26d)]='failed',_0x2dc024[_0x46083b(0x256)]=_0x46083b(0x25c);if(typeof _0x14174!==_0x46083b(0x224)||_0x14174[_0x46083b(0x1dd)]!==_0x758112[_0x46083b(0x1dd)]||!crypto['timingSafeEqual'](Buffer[_0x46083b(0x1e7)](_0x14174),Buffer['from'](_0x758112))||_0x5750a0[_0x46083b(0x20f)]!==_0x33c982||_0x5750a0[_0x46083b(0x1c9)]!==_0x445cc9[_0x46083b(0x1c9)]||_0x5750a0[_0x46083b(0x1e6)]!==_0x445cc9['workspace']||_0x5750a0['supervisorPid']!==_0x445cc9[_0x46083b(0x291)])return _0x4439c4(_0x2dc024);const _0x5a8f40={..._0x5750a0};_0x5a8f40[_0x46083b(0x214)]=_0x46083b(0x27a),_0x4439c4(_0x5a8f40);});});}async function probeWorkspaceConnections(_0x2332d3,_0x2daa88={}){const _0x1b1834=_0x1e5c48,_0x202b36=[],_0x1ffb5d=listWorkspaceReceipts(_0x2332d3,_0x202b36,_0x2daa88),_0x4d4ebc=_0x1ffb5d[_0x1b1834(0x22f)](_0x4db617=>!_0x4db617[_0x1b1834(0x248)]),_0x4ff54d=new Array(_0x4d4ebc[_0x1b1834(0x1dd)]);let _0x128b50=0x0;await Promise['all'](Array['from']({'length':Math['min'](0x4,_0x4d4ebc[_0x1b1834(0x1dd)])},async()=>{const _0x27fd98=_0x1b1834;for(;;){const _0x585a43=_0x128b50++;if(_0x585a43>=_0x4d4ebc[_0x27fd98(0x1dd)])return;_0x4ff54d[_0x585a43]=await(_0x2daa88['probe']||probeConnection)(_0x4d4ebc[_0x585a43],_0x2daa88);}}));const _0x4b88cf=readJson(path['join'](fs[_0x1b1834(0x223)](_0x2332d3),_0x1b1834(0x21d),'runtime',_0x1b1834(0x1d5))),_0x38848c=require(_0x1b1834(0x2b1))[_0x1b1834(0x274)](_0x2332d3),_0x4bbb7d=_0x2daa88[_0x1b1834(0x1d4)]||null,_0x194548=_0x2daa88[_0x1b1834(0x21f)]||null,_0x3bfc8b=_0x2daa88[_0x1b1834(0x27f)]||null,_0x5b2b2a=_0x2daa88['catalogHash']||null,_0x418fce=Number[_0x1b1834(0x212)](_0x4b88cf?.[_0x1b1834(0x276)])&&_0x4b88cf['generation']>0x0&&_0x4ff54d['every'](_0x1573e3=>_0x1573e3[_0x1b1834(0x276)]===_0x4b88cf[_0x1b1834(0x276)]&&[_0x1b1834(0x1d4),_0x1b1834(0x21f),'resourceDigest',_0x1b1834(0x1e9)][_0x1b1834(0x249)](_0x2bdf27=>_0x1573e3[_0x2bdf27]===_0x4b88cf[_0x2bdf27])),_0x6e8e2e=_0x38848c[_0x1b1834(0x252)]===_0x1b1834(0x29a)&&_0x4ff54d[_0x1b1834(0x1dd)]>0x0&&_0x4ff54d[_0x1b1834(0x249)](_0x593f47=>_0x593f47['status']==='active'&&_0x593f47['serving']===!![]&&(!_0x4bbb7d||_0x593f47[_0x1b1834(0x1d4)]===_0x4bbb7d)&&(!_0x194548||_0x593f47[_0x1b1834(0x21f)]===_0x194548)&&(!_0x3bfc8b||_0x593f47[_0x1b1834(0x27f)]===_0x3bfc8b)&&(!_0x5b2b2a||_0x593f47[_0x1b1834(0x1e9)]===_0x5b2b2a))&&_0x418fce,_0x5542cd=Object[_0x1b1834(0x2b3)](_0x38848c[_0x1b1834(0x263)]||{})['filter'](_0x168a00=>_0x168a00['state']!==_0x1b1834(0x213)&&!_0x202b36[_0x1b1834(0x25e)](_0x5f5635=>_0x5f5635[_0x1b1834(0x256)]===_0x1b1834(0x2a0)&&_0x5f5635[_0x1b1834(0x1c9)]===_0x168a00['connectionId'])&&!_0x4ff54d[_0x1b1834(0x25e)](_0x4149f0=>_0x4149f0[_0x1b1834(0x1c9)]===_0x168a00[_0x1b1834(0x1c9)])),_0x46b774={};return _0x46b774[_0x1b1834(0x256)]=_0x1b1834(0x24d),{'status':_0x38848c['state']!==_0x1b1834(0x29a)?_0x1b1834(0x259):_0x6e8e2e&&!_0x5542cd[_0x1b1834(0x1dd)]?'active':_0x4ff54d[_0x1b1834(0x1dd)]||_0x5542cd[_0x1b1834(0x1dd)]?'reconnect-required':_0x1b1834(0x20e),'connections':_0x4ff54d,'confirmed':_0x4ff54d[_0x1b1834(0x22f)](_0x5349cb=>_0x5349cb['evidence']===_0x1b1834(0x27a))[_0x1b1834(0x1dd)],'generation':_0x418fce?_0x4b88cf[_0x1b1834(0x276)]:null,'blockers':[..._0x38848c[_0x1b1834(0x252)]!==_0x1b1834(0x29a)?[{'code':_0x1b1834(0x247),'state':_0x38848c['state']}]:[],..._0x4ff54d[_0x1b1834(0x1dd)]&&!_0x418fce?[_0x46b774]:[],..._0x5542cd[_0x1b1834(0x24a)](_0x192598=>({'code':_0x1b1834(0x1fc),'connectionId':_0x192598[_0x1b1834(0x1c9)]}))],'total':_0x4ff54d[_0x1b1834(0x1dd)],'foreignWorkspaceStates':_0x202b36};}function listWorkspaceReceipts(_0x62c53e,_0x1e57f2=[],_0x2d3a44={}){const _0xee4661=_0x1e5c48,_0x412faa=path[_0xee4661(0x26e)](fs[_0xee4661(0x223)](_0x62c53e),_0xee4661(0x21d),_0xee4661(0x25b),_0xee4661(0x1e8)),_0x1ecb11=require('../core/admission-fence')[_0xee4661(0x274)](_0x62c53e);let _0x331094;try{_0x331094=fs[_0xee4661(0x2a4)](_0x412faa)[_0xee4661(0x22f)](_0x5b0fa1=>_0x5b0fa1['endsWith'](_0xee4661(0x23a))&&!_0x5b0fa1['endsWith'](_0xee4661(0x20a)));}catch(_0x316f97){if(_0x316f97[_0xee4661(0x256)]===_0xee4661(0x2af))_0x331094=[];else throw _0x316f97;}const _0x42211d=[];for(const _0x3f7aa9 of _0x331094){const _0x23fc4a=readJson(path['join'](_0x412faa,_0x3f7aa9));let _0x49abab=!_0x23fc4a?.[_0xee4661(0x1e6)];try{_0x49abab||=require(_0xee4661(0x23c))[_0xee4661(0x278)](_0x23fc4a[_0xee4661(0x1e6)],_0x62c53e);}catch{}if(!_0x49abab){const _0x589cc3={};_0x589cc3['code']=_0xee4661(0x1cc),_0x589cc3[_0xee4661(0x239)]='connection',_0x589cc3['connectionId']=_0x23fc4a[_0xee4661(0x1c9)],_0x589cc3[_0xee4661(0x1cd)]=_0x3f7aa9,_0x1e57f2[_0xee4661(0x25f)](_0x589cc3);continue;}if(!_0x23fc4a)continue;if(_0x1ecb11['members']?.[_0x23fc4a['connectionId']]?.['state']===_0xee4661(0x213)&&!_0x2d3a44[_0xee4661(0x1c6)])continue;if(_0x23fc4a[_0xee4661(0x248)]===!![])_0x1e57f2['push']({'code':_0xee4661(0x219),'connectionId':_0x23fc4a[_0xee4661(0x1c9)],'file':_0x3f7aa9});if(_0x23fc4a['activation']===_0xee4661(0x244)||_0x23fc4a[_0xee4661(0x213)]===!![]||_0x23fc4a[_0xee4661(0x213)]===undefined&&_0x23fc4a[_0xee4661(0x1f0)]===![]&&['host-eof',_0xee4661(0x286),'supervisor-shutdown'][_0xee4661(0x1f6)](_0x23fc4a[_0xee4661(0x271)]))continue;_0x42211d[_0xee4661(0x25f)](_0x23fc4a);}const _0x51c060=require(_0xee4661(0x28f))['readGeneration'](_0x62c53e),_0xc188e3=readJson(path[_0xee4661(0x26e)](_0x62c53e,_0xee4661(0x257))),_0x3c7f4e=_0x2d3a44[_0xee4661(0x1f2)]||(_0x42211d[_0xee4661(0x25e)](_0x3e9364=>_0x3e9364[_0xee4661(0x291)])?require('../core/owned-process')[_0xee4661(0x226)]():undefined);return _0x42211d['filter'](_0x4d5f1b=>{const _0x5df31d=_0xee4661,_0x4df1a3={};_0x4df1a3[_0x5df31d(0x1f2)]=_0x3c7f4e;const _0x4f032d=require(_0x5df31d(0x21e))[_0x5df31d(0x2ab)](_0x4d5f1b,_0x4df1a3),_0x2b25c6=_0x1ecb11[_0x5df31d(0x263)]?.[_0x4d5f1b[_0x5df31d(0x1c9)]]||_0x51c060?.['connections']?.['includes'](_0x4d5f1b[_0x5df31d(0x1c9)])||_0xc188e3?.[_0x5df31d(0x245)]?.['some'](_0x341835=>_0x341835[_0x5df31d(0x1c9)]===_0x4d5f1b['connectionId'])||Object[_0x5df31d(0x2b3)](_0x1ecb11[_0x5df31d(0x237)]||{})[_0x5df31d(0x25e)](_0xe84fb2=>_0xe84fb2[_0x5df31d(0x26d)]===_0x5df31d(0x294)&&_0xe84fb2[_0x5df31d(0x1c9)]===_0x4d5f1b[_0x5df31d(0x1c9)]);if(!_0x4f032d['retired']&&_0x4d5f1b[_0x5df31d(0x295)]!==0x2&&!_0x2b25c6&&Number[_0x5df31d(0x212)](_0x4d5f1b[_0x5df31d(0x276)])&&_0x4d5f1b[_0x5df31d(0x276)]<_0x51c060?.['generation']){const _0x2e3860={};return _0x2e3860[_0x5df31d(0x256)]=_0x5df31d(0x240),_0x2e3860[_0x5df31d(0x1c9)]=_0x4d5f1b[_0x5df31d(0x1c9)],_0x2e3860['classification']=_0x4f032d['classification'],_0x2e3860['processStatus']=_0x4f032d['processState']?.[_0x5df31d(0x26d)],_0x2e3860[_0x5df31d(0x276)]=_0x4d5f1b[_0x5df31d(0x276)],_0x1e57f2[_0x5df31d(0x25f)](_0x2e3860),![];}if(_0x2d3a44[_0x5df31d(0x1c6)])return!![];if(!_0x4f032d[_0x5df31d(0x281)])return!![];const _0x3dbfc3={};return _0x3dbfc3[_0x5df31d(0x256)]=_0x5df31d(0x2a0),_0x3dbfc3['connectionId']=_0x4d5f1b[_0x5df31d(0x1c9)],_0x3dbfc3[_0x5df31d(0x1c7)]=_0x4f032d[_0x5df31d(0x1c7)],_0x3dbfc3['evidence']=_0x5df31d(0x266),_0x1e57f2[_0x5df31d(0x25f)](_0x3dbfc3),![];});}async function reconcileWorkspaceConnections(_0xc829f2,_0x540384={}){const _0x572258=_0x1e5c48;let _0x12c6b2=require(_0x572258(0x296));const _0x33019a=()=>_0x540384['processIdentity']||require(_0x572258(0x29f))['processIdentitySnapshot']();_0x540384[_0x572258(0x288)]&&_0x540384[_0x572258(0x1bc)]&&(require('./runtime-store')[_0x572258(0x235)](_0x540384[_0x572258(0x1bc)],_0x540384['publicKey']),_0x12c6b2=require(path[_0x572258(0x26e)](fs['realpathSync'](_0x540384[_0x572258(0x1bc)]),_0x572258(0x1bd))));const _0x2adcba=[],_0x447bd2=await awaitSettledSupervisors(_0xc829f2,_0x540384,_0x33019a,_0x2adcba),_0x3b5ed2={};_0x3b5ed2['includeRetired']=!![],_0x3b5ed2['processIdentity']=_0x447bd2;const _0x2c4c59=listWorkspaceReceipts(_0xc829f2,_0x2adcba,_0x3b5ed2),_0x4b3a9b=[],_0x2686ef=[];_0x2adcba[_0x572258(0x25f)](..._0x540384[_0x572258(0x288)]?.[_0x572258(0x225)]||[]);const _0x13acde=require(_0x572258(0x2b1))[_0x572258(0x274)](_0xc829f2),_0xfdc050=new Set();let _0x89a74c=_0x13acde;for(let _0x7b0f4d=0x0;_0x7b0f4d<0x3;_0x7b0f4d++){let _0x11ab76=_0x2c4c59;if(_0x7b0f4d>0x0){_0x89a74c=require(_0x572258(0x2b1))[_0x572258(0x274)](_0xc829f2);const _0x48dab8=new Set(Object[_0x572258(0x2b3)](_0x89a74c[_0x572258(0x263)]||{})[_0x572258(0x22f)](_0xdefc97=>_0xdefc97[_0x572258(0x252)]!=='closed'&&!_0xfdc050[_0x572258(0x238)](_0xdefc97[_0x572258(0x1c9)]))[_0x572258(0x24a)](_0x17823e=>_0x17823e['connectionId']));if(!_0x48dab8[_0x572258(0x1d7)])break;const _0x27533a={};_0x27533a[_0x572258(0x1c6)]=!![],_0x11ab76=listWorkspaceReceipts(_0xc829f2,_0x2adcba,_0x27533a)['filter'](_0x4a519c=>_0x48dab8['has'](_0x4a519c[_0x572258(0x1c9)])),_0x2c4c59['push'](..._0x11ab76);}for(const _0x3dd3f4 of _0x11ab76){_0xfdc050['add'](_0x3dd3f4[_0x572258(0x1c9)]);if(_0x3dd3f4[_0x572258(0x213)]===!![])continue;const _0x573c69=await(_0x540384[_0x572258(0x231)]||probeConnection)(_0x3dd3f4,_0x540384),_0x211dca={};_0x211dca[_0x572258(0x1f2)]=_0x447bd2,_0x211dca[_0x572258(0x1e2)]=_0x573c69;const _0x408c09=require(_0x572258(0x21e))['inspectConnection'](_0x3dd3f4,_0x211dca),{processState:_0x8f13e6,classification:_0x3f9186}=_0x408c09,_0x2fad65={};_0x2fad65['receipt']=_0x3dd3f4,_0x2fad65[_0x572258(0x1e2)]=_0x573c69,_0x2fad65[_0x572258(0x1c7)]=_0x3f9186,_0x2fad65[_0x572258(0x1f3)]=_0x8f13e6,_0x4b3a9b['push'](_0x2fad65);const _0x4435d0=_0x89a74c[_0x572258(0x263)]?.[_0x3dd3f4[_0x572258(0x1c9)]],_0x3f177b=_0x540384[_0x572258(0x288)]?.[_0x572258(0x23f)](_0x3dd3f4['connectionId']);if(_0x3f177b&&_0x573c69[_0x572258(0x214)]!==_0x572258(0x27a)&&_0x540384[_0x572258(0x204)]===!![])try{const _0x1da20e=await retryAdmission(()=>archiveAndRetireReceipt(_0xc829f2,_0x3dd3f4,_0x4435d0,_0x3f177b[_0x572258(0x260)],{'proof':_0x3f177b,'batch':_0x540384['legacyRecovery'],'authority':_0x12c6b2,'context':_0x540384[_0x572258(0x1ee)]})),_0x250583={};_0x250583['code']=_0x572258(0x299),_0x250583[_0x572258(0x1c9)]=_0x3dd3f4[_0x572258(0x1c9)],_0x250583[_0x572258(0x2a5)]=_0x1da20e,_0x250583[_0x572258(0x214)]=_0x3f177b['reason'],_0x2adcba['push'](_0x250583);continue;}catch(_0x3060c2){const _0x5af174={};_0x5af174[_0x572258(0x256)]=_0x572258(0x234),_0x5af174[_0x572258(0x1c9)]=_0x3dd3f4[_0x572258(0x1c9)],_0x5af174[_0x572258(0x1fa)]=_0x3060c2[_0x572258(0x256)]||'LEGACY_PROOF_CHANGED',_0x2686ef[_0x572258(0x25f)](_0x5af174);continue;}const _0x484565=_0x540384[_0x572258(0x21a)]&&_0x89a74c['state']==='frozen'&&_0x89a74c[_0x572258(0x21a)]===_0x540384[_0x572258(0x21a)]&&_0x4435d0&&_0x4435d0[_0x572258(0x252)]!==_0x572258(0x213)&&_0x4435d0[_0x572258(0x291)]===_0x3dd3f4['supervisorPid']&&_0x573c69[_0x572258(0x214)]===_0x572258(0x27a)&&_0x8f13e6[_0x572258(0x265)]?.[_0x572258(0x26d)]===_0x572258(0x1f1)&&!_0x3dd3f4[_0x572258(0x27e)]&&_0x573c69[_0x572258(0x27e)]===null;if(_0x484565){const _0x1b74bc={};_0x1b74bc[_0x572258(0x256)]=_0x572258(0x258),_0x1b74bc[_0x572258(0x1c9)]=_0x3dd3f4[_0x572258(0x1c9)],_0x1b74bc[_0x572258(0x21a)]=_0x540384[_0x572258(0x21a)],_0x2adcba[_0x572258(0x25f)](_0x1b74bc);continue;}if(_0x408c09[_0x572258(0x281)]&&_0x573c69['evidence']!=='authenticated-live-process'&&_0x540384[_0x572258(0x204)]===!![]&&(!_0x4435d0||_0x4435d0[_0x572258(0x291)]===_0x3dd3f4[_0x572258(0x291)]))try{const _0x240c93=await retryAdmission(()=>archiveAndRetireReceipt(_0xc829f2,_0x3dd3f4,_0x4435d0,'process-tree-absent')),_0x3b5de9={};_0x3b5de9[_0x572258(0x256)]=_0x540384[_0x572258(0x2a9)]?_0x572258(0x2a7):_0x572258(0x1cb),_0x3b5de9['connectionId']=_0x3dd3f4[_0x572258(0x1c9)],_0x3b5de9[_0x572258(0x2a5)]=_0x240c93,_0x3b5de9['evidence']=_0x572258(0x266),_0x2adcba[_0x572258(0x25f)](_0x3b5de9);continue;}catch(_0xf5a55e){const _0x3c8857={};_0x3c8857[_0x572258(0x256)]=_0x572258(0x234),_0x3c8857[_0x572258(0x1c9)]=_0x3dd3f4[_0x572258(0x1c9)],_0x3c8857[_0x572258(0x1c7)]=_0x3f9186,_0x3c8857['cause']=_0xf5a55e[_0x572258(0x256)]||'CONNECTION_CLOSURE_FAILED',_0x2686ef['push'](_0x3c8857);continue;}if(_0x540384[_0x572258(0x2a9)]===!![]&&_0x540384['apply']===!![]&&_0x573c69[_0x572258(0x214)]!==_0x572258(0x27a)&&_0x3f9186!==_0x572258(0x1f1)){if(_0x408c09[_0x572258(0x281)])try{const _0x269191=await retryAdmission(()=>archiveAndRetireReceipt(_0xc829f2,_0x3dd3f4,_0x4435d0,_0x572258(0x28d))),_0x18b705={};_0x18b705[_0x572258(0x256)]=_0x572258(0x2a7),_0x18b705[_0x572258(0x1c9)]=_0x3dd3f4['connectionId'],_0x18b705['backupPath']=_0x269191,_0x18b705['classification']=_0x3f9186,_0x18b705[_0x572258(0x214)]='process-tree-absent',_0x2adcba[_0x572258(0x25f)](_0x18b705);continue;}catch(_0x5a741f){const _0x3ac6ac={};_0x3ac6ac[_0x572258(0x256)]=_0x572258(0x208),_0x3ac6ac[_0x572258(0x1c9)]=_0x3dd3f4[_0x572258(0x1c9)],_0x3ac6ac[_0x572258(0x1c7)]=_0x3f9186,_0x3ac6ac[_0x572258(0x1fa)]=_0x5a741f[_0x572258(0x256)]||_0x572258(0x268),_0x2686ef[_0x572258(0x25f)](_0x3ac6ac);continue;}const _0x48a912={};_0x48a912[_0x572258(0x256)]=_0x572258(0x241),_0x48a912[_0x572258(0x1c9)]=_0x3dd3f4[_0x572258(0x1c9)],_0x48a912[_0x572258(0x1c7)]=_0x3f9186,_0x48a912[_0x572258(0x1fa)]=_0x8f13e6[_0x572258(0x256)]||(!_0x3dd3f4[_0x572258(0x291)]?_0x572258(0x1e4):!_0x3dd3f4['supervisorProcessStart']?_0x572258(0x1e3):_0x572258(0x28c)),_0x2686ef['push'](_0x48a912);continue;}if(_0x3f9186!==_0x572258(0x1f1))_0x2686ef[_0x572258(0x25f)]({'code':_0x3f9186===_0x572258(0x26f)?_0x572258(0x219):_0x3f9186===_0x572258(0x2ac)?_0x572258(0x297):_0x3f9186===_0x572258(0x22a)?_0x572258(0x215):_0x572258(0x1fc),'connectionId':_0x3dd3f4[_0x572258(0x1c9)],'classification':_0x3f9186,'cause':_0x8f13e6[_0x572258(0x256)]||_0x573c69[_0x572258(0x256)]||_0x573c69[_0x572258(0x26d)]});}}const _0x518f65=path[_0x572258(0x26e)](fs[_0x572258(0x223)](_0xc829f2),_0x572258(0x24e)),_0x297264=require(_0x572258(0x2b1))[_0x572258(0x274)](_0xc829f2);for(const _0x585682 of Object[_0x572258(0x2b3)](_0x297264['members']||{})){const _0x5452d9=_0x2c4c59[_0x572258(0x25e)](_0x2bb3a4=>_0x2bb3a4['connectionId']===_0x585682['connectionId']&&_0x2bb3a4[_0x572258(0x213)]!==!![]);if(_0x585682[_0x572258(0x252)]===_0x572258(0x213)||_0x5452d9)continue;const _0x34a810=fs['existsSync'](path['join'](_0x518f65,_0x585682[_0x572258(0x1c9)]+_0x572258(0x23a)));if(!_0x34a810&&_0x540384[_0x572258(0x204)]===!![]){let _0x945753;try{_0x945753=_0x447bd2(_0x585682[_0x572258(0x291)]);}catch(_0x216a21){const _0x4e4aab={};_0x4e4aab['status']=_0x572258(0x2a6),_0x4e4aab[_0x572258(0x256)]=_0x216a21[_0x572258(0x256)]||_0x572258(0x233),_0x945753=_0x4e4aab;}if(_0x945753===null)try{const _0x4f55f1=await retryAdmission(()=>archiveAndRetireMember(_0xc829f2,_0x585682,_0x572258(0x266),{'status':'missing','pid':_0x585682[_0x572258(0x291)],'start':_0x585682['supervisorProcessStart']||null},_0x540384['processIdentity'])),_0x3e6e23={};_0x3e6e23[_0x572258(0x256)]=_0x572258(0x21b),_0x3e6e23[_0x572258(0x1c9)]=_0x585682[_0x572258(0x1c9)],_0x3e6e23[_0x572258(0x2a5)]=_0x4f55f1,_0x3e6e23['evidence']=_0x572258(0x266),_0x2adcba[_0x572258(0x25f)](_0x3e6e23);continue;}catch(_0x113616){const _0x48e448={};_0x48e448[_0x572258(0x256)]=_0x572258(0x234),_0x48e448[_0x572258(0x1c9)]=_0x585682[_0x572258(0x1c9)],_0x48e448[_0x572258(0x1fa)]=_0x113616[_0x572258(0x256)]||_0x572258(0x221),_0x2686ef[_0x572258(0x25f)](_0x48e448);continue;}if(_0x945753&&_0x945753[_0x572258(0x26d)]==='unknown'){const _0x1f5d4b={};_0x1f5d4b[_0x572258(0x256)]=_0x572258(0x1fc),_0x1f5d4b[_0x572258(0x1c9)]=_0x585682[_0x572258(0x1c9)],_0x1f5d4b[_0x572258(0x1c7)]='ownership-unverified',_0x1f5d4b['cause']=_0x945753['code']||_0x572258(0x233),_0x2686ef[_0x572258(0x25f)](_0x1f5d4b);continue;}}let _0x123a93=![];if(/^[a-zA-Z0-9._-]{4,128}$/[_0x572258(0x26a)](_0x585682[_0x572258(0x1c9)]||'')){const _0x489b17=readJson(path[_0x572258(0x26e)](_0x518f65,_0x585682[_0x572258(0x1c9)]+'.json'));if(_0x489b17?.[_0x572258(0x213)]===!![]&&_0x489b17[_0x572258(0x1e6)]&&require(_0x572258(0x23c))[_0x572258(0x278)](_0x489b17[_0x572258(0x1e6)],_0xc829f2)&&_0x489b17['supervisorPid']===_0x585682['supervisorPid']&&(typeof _0x489b17['supervisorProcessStart']==='string'&&_0x489b17[_0x572258(0x203)]===_0x585682[_0x572258(0x203)]||!_0x489b17[_0x572258(0x203)]&&!_0x585682['supervisorProcessStart'])&&typeof _0x489b17[_0x572258(0x1c1)]===_0x572258(0x224))try{const _0x5c2ffb=path[_0x572258(0x26e)](_0x518f65,_0x572258(0x1ea),_0x585682[_0x572258(0x1c9)]+_0x572258(0x1f4)),_0x3f7db0=fs['existsSync'](_0x5c2ffb)?_0x5c2ffb:path['join'](_0xc829f2,_0x572258(0x264),crypto[_0x572258(0x279)](_0x572258(0x21c))[_0x572258(0x1c0)](_0x585682[_0x572258(0x1c9)])[_0x572258(0x21f)](_0x572258(0x1f8))+_0x572258(0x1f4));if(fs[_0x572258(0x1d9)](_0x3f7db0)[_0x572258(0x1d1)]())throw new Error(_0x572258(0x210));const {closureMac:_0x3fd21f,..._0x4b853d}=_0x489b17,_0x58435c=crypto['createHmac'](_0x572258(0x21c),fs[_0x572258(0x28e)](_0x3f7db0))[_0x572258(0x1c0)](JSON['stringify'](_0x4b853d))[_0x572258(0x21f)]('hex');_0x123a93=_0x58435c[_0x572258(0x1dd)]===_0x3fd21f[_0x572258(0x1dd)]&&crypto[_0x572258(0x1ef)](Buffer[_0x572258(0x1e7)](_0x58435c),Buffer[_0x572258(0x1e7)](_0x3fd21f));if(_0x123a93){const _0x1b9387=require(_0x572258(0x29f))['processIdentity'](_0x585682[_0x572258(0x291)]);if(_0x1b9387&&String(_0x1b9387[_0x572258(0x273)])===String(_0x585682[_0x572258(0x203)]))_0x123a93=![];else{if(_0x1b9387)_0x123a93=![];}}if(_0x123a93&&_0x540384[_0x572258(0x204)]===!![])require('../core/workspace-generation')[_0x572258(0x285)](_0xc829f2,_0x585682[_0x572258(0x1c9)],_0x585682['supervisorPid'],!![],_0x585682['supervisorProcessStart']);}catch{_0x123a93=![];}}const _0x5a746f={};_0x5a746f[_0x572258(0x256)]=_0x572258(0x1fc),_0x5a746f[_0x572258(0x1c9)]=_0x585682['connectionId'],_0x5a746f[_0x572258(0x1c7)]=_0x572258(0x232);const _0x4dbd82={};_0x4dbd82['code']=_0x572258(0x251),_0x4dbd82['connectionId']=_0x585682[_0x572258(0x1c9)];if(!_0x123a93)_0x2686ef['push'](_0x5a746f);else _0x2adcba[_0x572258(0x25f)](_0x4dbd82);}const _0x43afcb=new Map();for(const _0x398914 of _0x2686ef){const _0x182857=_0x398914[_0x572258(0x256)]+':'+(_0x398914[_0x572258(0x1fa)]||''),_0x4cbd69={..._0x398914};_0x4cbd69[_0x572258(0x2b0)]=[];const _0x5320d7=_0x43afcb[_0x572258(0x23f)](_0x182857)||_0x4cbd69;_0x5320d7[_0x572258(0x2b0)]['push'](_0x398914['connectionId']),_0x43afcb[_0x572258(0x230)](_0x182857,_0x5320d7);}return{'connections':_0x4b3a9b,'blockers':_0x2686ef,'blockerGroups':[..._0x43afcb[_0x572258(0x2b3)]()],'diagnostics':_0x2adcba};}const _0x485aea={};function _0x4baf(){const _0x1942dd=['tuvnqKvsx0fsq0HjvKvFrKfjteve','yxnZAwDU','CMvHBhbHDgHtEw5J','C3rYAw5N','zgLHz25VC3rPy3m','ChjVy2vZC0LKzw50Axr5u25HChnOB3q','BM9KztPWyxrO','Aw5KzxHpzG','q09ovfjptf9jtLzbteLe','CgLKlxjLDxnLza','mtq3ndqYmKr2zuLQwG','CgfYC2u','ChjVDg9JB2W','q09ovfjptf9vtKfwquLmqujmrq','zMLSDgvY','C2v0','ChjVyMu','BwLZC2LUzY1JBg9ZDxjLlwv2AwrLBMnL','ufjpq0vtu19pv05fuLnisvbFvu5wrvjjrKLfra','q09otKvdveLptL9dte9tvvjfx1voq09orKLstuve','DMvYAwz5uMvSzwfZzq','zMfPBgvK','DgLJA2v0CW','AgfZ','A2LUza','lMPZB24','mtu1mJCZmLnbtwXVva','lI4Vy29Yzs93B3jRC3bHy2uTCgf0Aa','zxjYB3i','q09ovfjptf9usu1ft1vu','z2v0','tevhqunzx0nptK5fq1rjt05FseLtve9swq','rK9sq0vFuKvdt05orunux1jfuvvjuKve','q09ovfjptf9pvKvsu0LArq','ntaYntK1nhvetfrbza','D29YA3nWywnLlxjLyM91BMq','ChjLDMLVDxndB25Uzwn0Aw9UCW','CMvSzwfZzq','qvbux1vqrefurv9qru5esu5h','ChjVDMLZAw9UywW','zxzLCNK','BwfW','DhLWzq','y2HHBgXLBMDL','r0vorvjbveLptL9vtKnptKzjuK1fra','lMfNzw50CY9YDw50Aw1Ll2nVBM5Ly3rPB25Z','CMvJB25Uzwn0lxjLCxvPCMvK','Cgf0Aa','q09otKvdveLptL9dte9tvvjfx1jfq09oq0Lmruq','C3rHDgu','q29UBMvJDgLVBIbJAgfUz2vKigjLzM9YzsbYzwnVDMvYEq','y29UBMvJDa','Ag9VAY1JB250zxH0','y29Kzq','lMfNzw50CY9YDw50Aw1Ll3vWzgf0zs10CMfUC2fJDgLVBI5QC29U','q09otKvdveLptL9uuKfou0Lusu9ox0fvveHftLrjq0furuq','CgvUzgLUzY1ZywzLlwjVDw5Kyxj5','ywjVCNq','CNvUDgLTzq','q09ovfjptf9nsvnnqvrdsa','CMvXDwvZDc1ZDg9W','C29Tzq','ChvZAa','CMvHC29U','ufjpqKvFt1zfuLnjwKu','u0vduKvux1voqvzbsuXbqKXf','BwvTyMvYCW','lMfNzw50CY9YDw50Aw1Ll3jLz2LZDhjHDgLVBI1JBg9ZDxjLCW','C3vWzxj2AxnVCG','ChjVy2vZCY10CMvLlwfIC2vUDa','nwPIC2PMwG','q09otKvdveLptL9dte9tvvjfx0zbsuXfra','q09otKvdveLptL9trvrutevFr1jbq0vFrvHqsvjfra','DgvZDa','uKvdt1zfuLLFuefusf9twu1msu5l','CMvJzwLWDhm','C3rHDhvZ','AM9PBG','y29UBMvJDgLUzW','mtq5mJyZz3fVBKzh','C3rVCfjLyxnVBG','mtGXndiXmfb2t0vezq','C3rHCNq','CMvHzezLBMnL','ChjLCgfYzq','z2vUzxjHDgLVBG','AxneAxjLy3rVCNK','C2fTzvDVCMTZCgfJzq','y3jLyxrLsgfZAa','yxv0AgvUDgLJyxrLzc1SAxzLlxbYB2nLC3m','Dg9ju09tDhjPBMC','q29UBMvJDgLVBIbYzwnVDMvYEsbWyxrOigLZihvUC2fMzq','zgvZDhjVEq','y2HPBgrqAwq','CMvZB3vYy2veAwDLC3q','CMfUzg9Tvvvjra','CMv0AxjLza','C2vW','zxf1ywXZ','lI4Vy29Yzs9ZDg9YywDLlxjLDhj5','y2XVC2vnzw1Izxi','Ag9ZDc1LCNjVCG','y3jLyxrLsg1HyW','BgvNywn5uMvJB3zLCNK','zxHWB3j0CW','zxbVy2G','ufjpqKvFveLnru9vva','qvvusevoveLdqvrfrf9srunptK5fq1rFuKvrvuLsruq','zxHWBgLJAxqTzM9Yy2uTCMvJB3zLCNK','CMvHzezPBgvtEw5J','lI4Vy29Yzs93B3jRC3bHy2uTz2vUzxjHDgLVBG','q09otKvdveLptL9jrevoveLuwv9vtLzfuKLgsuve','C3vWzxj2AxnVCLbPza','yNL0zxm','D3jPDgvgAwXLu3LUyW','ywn0AxzL','C3vWzxj2AxnVCLbYB3rVy29S','lI4Vy29Yzs9SzwDHy3KTCMv0AxjLBwvUDc1WCM9VzG','q09otKvdveLptL9puLbiqu5fra','zgvZDhjVEwvK','q09otKvdveLptL9mruDbq1LFuKvusvjfra','B3bLBG','mteYofHZBufiyG','zxHPC3rZu3LUyW','mJi0nJa3mMLZwurdAW','y2HPBgrqCM9JzxnZu3rHCNq','lI4Vy29Yzs9VD25Lzc1WCM9JzxnZ','q09otKvdveLptL9isvnut1jz','BwLU','ufjpqKvFsu5wquXjra','BgvNywn5lw93BMvYC2HPCc11BNzLCMLMAwvK','CMvHzgrPCLn5BMm','yMfJA3vWugf0Aa','Dw5RBM93BG','q09otKvdveLptL9gt1jdrv9srvrjuKve','D2fPDfnLy29Uzhm','zM9Yy2vszwnVDMvY','C2vJCMv0rMLSzq','Aw5ZCgvJDenVBM5Ly3rPB24','B3jWAgfUzwq','z3jHy2vnCW','C3bSAxq','ru5pru5u','y29UBMvJDgLVBKLKCW','lI4Vy29Yzs9Hzg1PC3nPB24TzMvUy2u','CMvSyxrPDMu','DMfSDwvZ','C2f2zuXVy2TLza','BgvNywn5uMvJB3zLCNLszwXLyxnL','C3jJl2nVCMuVBgvNywn5lxjLDgLYzw1LBNqTChjVB2yUANm','C3rVCc1MB3iTDxbKyxrL','lwnVBM5Ly3rPB25Z','DxbKyxrL','y2XVC3vYzu1HyW','Bwf4','q29UBMvJDgLVBIbHChbLyxjLzcbKDxjPBMCGyxjJAgL2zq','BwfJ','q29UBMvJDgLVBIbTzw1IzxjZAgLWignOyw5NzwqGyMvMB3jLihjLy292zxj5','Aw5JBhvKzvjLDgLYzwq','y2XHC3nPzMLJyxrPB24','DMfSAwrHDgvszxrPCMvTzw50qMf0y2G','y29UBMvJDgLVBKLK','C2v0vgLTzw91Da','q09otKvdveLptL9puLbiqu5FuKvdt05dsuXfra','rK9sruLhtL9xt1jlu1bbq0vFu1rbveu','zMLSzq','oxvnyNDrta','zgf0yq','zxHPDeDYywnLtxm','AxntEw1IB2XPy0XPBMS','qurnsvntsu9ox0jvu1K','BM9KztPJCNLWDg8','DMvYC2LVBG','z2vUzxjHDgLVBI5QC29U','BM93','C2L6zq','CMvZDg9Yzs1WCMv2Aw91CW','Bhn0yxrtEw5J','lI4Vy29Yzs9YzwnVDMvYEs1HCMnOAxzL','BwTKAxjtEw5J','q29UBMvJDgLVBIbPzgvUDgL0EsbPCYbUB3qGyxjJAgL2ywjSzq','BgvUz3rO','yxjJAgL2zufUzfjLDgLYzu1LBwjLCG','y29UDgv4Da','ChjVyMvxB3jRC3bHy2vdB25Uzwn0Aw9UCW','BM9KztPMCW','ChjVB2y','u1vqrvjwsvnpuL9quK9drvntx1nuqvjux01ju1njtKC','q0HjterFufjpq0vtu19tvefsvf9nsvntsu5h','CMvJB25JAwXLv29YA3nWywnLq29UBMvJDgLVBNm','D29YA3nWywnL','zNjVBq','y29UBMvJDgLVBNm','y2f0ywXVz0HHC2G','lNnLy3jLDhm','zMLSzuzVCG','BMf0AxzLq2fSBgvY','ywn0AxzHDgLVBG','CMvJB3zLCNLdB250zxH0','DgLTAw5Nu2fMzuvXDwfS','C2vYDMLUzW','BgL2zq','ChjVy2vZC0LKzw50Axr5','ChjVy2vZC1n0yxrL','lMTLEq','q09ovfjptf9gquLmruq','Aw5JBhvKzxm','CMvUyw1Lugf0AwvUDa','Agv4','lNrTCa','y2f1C2u','lw1LBwjLCNnOAxa','q09otKvdveLptL9vtKnptKzjuK1fra','ywrTAxnZAw9UlMPZB24','yMf0y2G','D2L0AefKBwLZC2LVBKXVy2S','y2XVC2vKqxq','ChjVyMvdB25Uzwn0Aw9U','BM9KztPUzxq','C3vWzxj2AxnVCLbYB2nLC3ntDgfYDa','yxbWBhK','ChjLCgfYzs1Jyw5KAwrHDgu','zw5KCg9PBNq','q29UBMvJDgLVBIbYzwnLAxb0igLZihvUC2fMzq','q09otKvdveLptL9gt1jdrv9srvrjuKvFrKfjteve','q29UBMvJDgLVBIbVD25LCNnOAxaGy2HHBMDLzcbIzwzVCMuGCMvJB3zLCNK','lNrYyw5Zywn0Aw9UlMPZB24','D3jPDgu','n29HEvz5EG','C3rYAw5NAwz5','CMvHzhKTBMv4Dc1JB25Uzwn0Aw9U','BM9Uy2u','sw52ywXPzcbJBg9ZDxjLigTLEq','lI4Vy29Yzs9PCgmTzw52zwXVCgu','AxntywzLsw50zwDLCG','y2XVC2vK','zxzPzgvUy2u','ueLex1jfvvnfra','yxv0Ag9YAxr5','zgLYBMfTzq','CMvJB3zLCNKTyMfJA3vWCW','q09otKvdveLptL9tvefsvf9qru5esu5h','DhjHBNnHy3rPB25jza','q09otKvdveLptL9nru1crvjFuKvusvjfra','C2HHmJu2','lMfNzw50CW','lI4Vy29Yzs9JB25Uzwn0Aw9UlwLUC3bLy3rVCG','zgLNzxn0','DgLTzw91De1Z'];_0x4baf=function(){return _0x1942dd;};return _0x4baf();}_0x485aea[_0x1e5c48(0x201)]=probeConnection,_0x485aea['controlConnection']=controlConnection,_0x485aea[_0x1e5c48(0x1e0)]=probeWorkspaceConnections,_0x485aea['listWorkspaceReceipts']=listWorkspaceReceipts,_0x485aea[_0x1e5c48(0x1e5)]=reconcileWorkspaceConnections,_0x485aea[_0x1e5c48(0x1de)]=archiveAndRetireMember,module[_0x1e5c48(0x289)]=_0x485aea;
|
|
1
|
+
'use strict';const _0x213d50=_0x297a;(function(_0x484347,_0x2fe099){const _0x1e57f1=_0x297a,_0x5cb5be=_0x484347();while(!![]){try{const _0x45725c=parseInt(_0x1e57f1(0x1d5))/0x1*(-parseInt(_0x1e57f1(0x19f))/0x2)+-parseInt(_0x1e57f1(0xf9))/0x3*(parseInt(_0x1e57f1(0x144))/0x4)+parseInt(_0x1e57f1(0x130))/0x5*(-parseInt(_0x1e57f1(0x158))/0x6)+parseInt(_0x1e57f1(0x199))/0x7*(-parseInt(_0x1e57f1(0x150))/0x8)+parseInt(_0x1e57f1(0xf6))/0x9+-parseInt(_0x1e57f1(0x161))/0xa*(-parseInt(_0x1e57f1(0x1c3))/0xb)+parseInt(_0x1e57f1(0x124))/0xc*(parseInt(_0x1e57f1(0x17c))/0xd);if(_0x45725c===_0x2fe099)break;else _0x5cb5be['push'](_0x5cb5be['shift']());}catch(_0x181964){_0x5cb5be['push'](_0x5cb5be['shift']());}}}(_0x6b59,0xbabb3));const fs=require('node:fs'),path=require(_0x213d50(0x1b1)),crypto=require(_0x213d50(0xf8)),net=require(_0x213d50(0x15f)),{signEnvelope}=require(_0x213d50(0x12c)),{preserveConnectionArchive}=require('../core/recovery-archive'),readJson=_0x19cdbc=>{const _0x52cb03=_0x213d50;try{return JSON[_0x52cb03(0x12b)](fs['readFileSync'](_0x19cdbc,_0x52cb03(0x14e)));}catch{return null;}},pause=_0x19d7b0=>new Promise(_0x5d240c=>setTimeout(_0x5d240c,_0x19d7b0));async function retryAdmission(_0x53617e,{attempts:attempts=0x4,delayMs:delayMs=0xfa}={}){const _0x1a3a27=_0x213d50;for(let _0x93815f=0x1;;_0x93815f++){try{return _0x53617e();}catch(_0x430214){if(_0x430214[_0x1a3a27(0xfe)]!==_0x1a3a27(0x1e4)||_0x93815f>=attempts)throw _0x430214;await pause(delayMs);}}}async function awaitSettledSupervisors(_0x533c75,_0x1c9358,_0x2559ea,_0x480e7){const _0x3cc625=_0x213d50;let _0x17a416=_0x2559ea();const _0x38d0c2=Number(_0x1c9358['exitGraceMs']||0x0);if(!(_0x38d0c2>0x0)||_0x1c9358[_0x3cc625(0x1a5)]!==!![])return _0x17a416;const _0x4eb7f1=Date[_0x3cc625(0x1df)]()+_0x38d0c2;for(;;){const _0x374356=[],_0x23fbe0={};_0x23fbe0[_0x3cc625(0x1de)]=!![],_0x23fbe0[_0x3cc625(0x1bf)]=_0x17a416;for(const _0x49080e of listWorkspaceReceipts(_0x533c75,[],_0x23fbe0)){if(_0x49080e['closed']===!![]||!Number['isSafeInteger'](_0x49080e[_0x3cc625(0x1bc)])||_0x49080e[_0x3cc625(0x1bc)]<=0x0)continue;const _0x27d261={};_0x27d261['processIdentity']=_0x17a416;const _0x59de9f=require(_0x3cc625(0x121))[_0x3cc625(0x117)](_0x49080e,_0x27d261);if(_0x59de9f[_0x3cc625(0x155)]||!['live',_0x3cc625(0x139)][_0x3cc625(0x1c9)](_0x59de9f[_0x3cc625(0x13a)][_0x3cc625(0xfd)]))continue;const _0x15773a={};_0x15773a['timeoutMs']=0x3e8;const _0x2d9df9=await(_0x1c9358[_0x3cc625(0x154)]||probeConnection)(_0x49080e,_0x15773a);if(_0x2d9df9[_0x3cc625(0x13b)]!==_0x3cc625(0x1e6))_0x374356[_0x3cc625(0x16e)](_0x49080e['connectionId']);}if(!_0x374356['length'])return _0x17a416;if(Date['now']()>=_0x4eb7f1){const _0x218760={};return _0x218760[_0x3cc625(0xfe)]=_0x3cc625(0x14c),_0x218760[_0x3cc625(0x1be)]=_0x374356,_0x218760[_0x3cc625(0x102)]=_0x38d0c2,_0x480e7[_0x3cc625(0x16e)](_0x218760),_0x17a416;}await pause(Math[_0x3cc625(0x11a)](0x1f4,Math['max'](0x1,_0x4eb7f1-Date[_0x3cc625(0x1df)]()))),_0x17a416=_0x2559ea();}}function archiveAndRetireReceipt(_0x57edd6,_0x3dc9de,_0x212e66,_0x40b27f,_0x4464f1){const _0x4c046f=_0x213d50,_0x2ea946=require(_0x4c046f(0x1a9));return _0x2ea946[_0x4c046f(0x167)](_0x57edd6,_0x17d1b6=>{const _0x120236=_0x4c046f,_0x400d35=_0x17d1b6[_0x120236(0x1e2)]&&_0x17d1b6[_0x120236(0x1e2)][_0x3dc9de['connectionId']],_0xd33e7c=path[_0x120236(0x149)](fs['realpathSync'](_0x57edd6),_0x120236(0x165),_0x120236(0x16d),'connections',_0x3dc9de['connectionId']+_0x120236(0x1d6)),_0x6cccf8=fs[_0x120236(0x114)](_0xd33e7c),_0x56be44={..._0x4464f1&&_0x4464f1[_0x120236(0x18c)]||{},'fenceEpoch':_0x17d1b6[_0x120236(0x185)],'fenceState':_0x17d1b6['state'],'membership':JSON['stringify'](_0x400d35||null)},_0x16799d=_0x4464f1&&_0x4464f1['proof'],_0x3d0157=_0x16799d?_0x4464f1[_0x120236(0x197)]['validateRetirementBatch'](_0x4464f1[_0x120236(0x146)],_0x16799d,_0x57edd6,_0x3dc9de,_0x6cccf8,_0x56be44):![],_0xb28cd3=!_0x4464f1&&require(_0x120236(0x121))[_0x120236(0x117)](_0x3dc9de,{'processIdentity':require(_0x120236(0x163))[_0x120236(0x148)]()})[_0x120236(0x155)],_0x18e5ed={};_0x18e5ed['code']=_0x120236(0x111);if(JSON[_0x120236(0x10d)](_0x400d35)!==JSON[_0x120236(0x10d)](_0x212e66)||(_0x4464f1?!_0x3d0157:!_0xb28cd3))throw Object[_0x120236(0x1c6)](new Error(_0x120236(0x1b0)),_0x18e5ed);const _0x5933be={};_0x5933be['code']=_0x120236(0x111);if(!/^[a-zA-Z0-9._-]{4,128}$/[_0x120236(0x1cb)](_0x3dc9de&&_0x3dc9de[_0x120236(0x1c8)]||''))throw Object[_0x120236(0x1c6)](new Error('Connection\x20identity\x20is\x20not\x20archivable'),_0x5933be);_0x57edd6=fs[_0x120236(0x164)](_0x57edd6);const _0x1c4f58=_0x429b57=>crypto[_0x120236(0x1bd)](_0x120236(0x13d))[_0x120236(0x166)](_0x429b57)[_0x120236(0x103)](_0x120236(0x143)),_0x521ed7=path[_0x120236(0x149)](_0x57edd6,_0x120236(0x165),_0x120236(0x1dc),_0x3dc9de['connectionId']+'-'+_0x1c4f58(_0x6cccf8)+_0x120236(0x191)),_0x3c5a18=path[_0x120236(0x149)](_0x521ed7,'receipts',_0x3dc9de[_0x120236(0x1c8)]+'.json');for(const _0x2e9a49 of[path['dirname'](_0xd33e7c),path[_0x120236(0x135)](_0x3c5a18)]){let _0x568a75=_0x57edd6;for(const _0x2c6254 of path['relative'](_0x57edd6,_0x2e9a49)[_0x120236(0x1dd)](path[_0x120236(0x182)])){_0x568a75=path[_0x120236(0x149)](_0x568a75,_0x2c6254);if(!fs[_0x120236(0x1e7)](_0x568a75))fs[_0x120236(0x1d3)](_0x568a75);const _0x3a5f45=fs[_0x120236(0x187)](_0x568a75),_0x299268={};_0x299268['code']=_0x120236(0x19c);if(_0x3a5f45[_0x120236(0xff)]()||!_0x3a5f45[_0x120236(0x122)]())throw Object[_0x120236(0x1c6)](new Error('Connection\x20recovery\x20path\x20is\x20unsafe'),_0x299268);}}const _0x5e146c={};_0x5e146c['code']=_0x120236(0x19c);if(fs[_0x120236(0x187)](_0xd33e7c)['isSymbolicLink']())throw Object['assign'](new Error(_0x120236(0x1a2)),_0x5e146c);const _0x45eb50=JSON[_0x120236(0x12b)](_0x6cccf8),_0x220dcb={};_0x220dcb['code']='CONNECTION_IDENTITY_UNVERIFIED';if(JSON[_0x120236(0x10d)](_0x45eb50)!==JSON[_0x120236(0x10d)](_0x3dc9de)||_0x212e66&&_0x212e66[_0x120236(0x1bc)]!==_0x3dc9de[_0x120236(0x1bc)])throw Object['assign'](new Error(_0x120236(0x133)),_0x220dcb);const _0x10e879={};_0x10e879[_0x120236(0x18f)]=_0x120236(0x1ac)+_0x3dc9de[_0x120236(0x1c8)]+_0x120236(0x1d6),_0x10e879[_0x120236(0x17d)]=_0x6cccf8;const _0x2cca82=[_0x10e879];if(_0x212e66){const _0x58ac73=Buffer['from'](JSON['stringify'](_0x212e66)),_0x3999a4={};_0x3999a4['path']='membership.json',_0x3999a4['bytes']=_0x58ac73,_0x2cca82['push'](_0x3999a4);const _0x26144c=fs[_0x120236(0x114)](require(_0x120236(0x1a9))[_0x120236(0x1d4)](_0x57edd6)),_0x4e8811={};_0x4e8811[_0x120236(0x18f)]=_0x120236(0x18b),_0x4e8811['bytes']=_0x26144c,_0x2cca82[_0x120236(0x16e)](_0x4e8811);}const _0xb70213={};_0xb70213[_0x120236(0x13b)]=_0x16799d,_0xb70213[_0x120236(0x18c)]=_0x56be44,preserveConnectionArchive(_0x521ed7,{'version':0x1,'workspace':_0x57edd6,'connectionId':_0x3dc9de[_0x120236(0x1c8)],'reason':_0x40b27f,'createdAt':new Date()[_0x120236(0x162)](),..._0x3d0157?_0xb70213:{}},_0x2cca82);const _0x28eb19=_0x4464f1?_0x4464f1[_0x120236(0x197)][_0x120236(0x119)](_0x4464f1[_0x120236(0x146)],_0x16799d,_0x57edd6,_0x3dc9de,_0x6cccf8,_0x56be44):require(_0x120236(0x121))[_0x120236(0x117)](_0x3dc9de,{'processIdentity':require(_0x120236(0x163))['processIdentitySnapshot']()})[_0x120236(0x155)],_0x48b253={};_0x48b253['code']=_0x120236(0x111);if(!fs['readFileSync'](_0xd33e7c)[_0x120236(0x113)](_0x6cccf8)||!_0x28eb19)throw Object[_0x120236(0x1c6)](new Error(_0x120236(0x1c1)),_0x48b253);_0x212e66&&Number['isSafeInteger'](_0x212e66['supervisorPid'])&&_0x212e66[_0x120236(0x178)]!==_0x120236(0x127)&&(_0x400d35[_0x120236(0x178)]=_0x120236(0x127),_0x400d35[_0x120236(0x18d)]=new Date()[_0x120236(0x162)](),_0x2ea946[_0x120236(0x1c5)](_0x57edd6,_0x17d1b6));const _0x2b2330={..._0x3dc9de,'closed':!![],'serving':![],'stopReason':_0x120236(0x11e),'forceRecovery':{'reason':_0x40b27f,'retiredAt':new Date()[_0x120236(0x162)](),'supervisorPid':_0x3dc9de[_0x120236(0x1bc)]||null}},_0x45b398=_0xd33e7c+'.'+crypto[_0x120236(0x10a)]()+'.tmp';return fs['writeFileSync'](_0x45b398,JSON['stringify'](_0x2b2330)),require('../core/storage-retry')['renamePatient'](_0x45b398,_0xd33e7c),_0x521ed7;});}function _0x6b59(){const _0xb55490=['ywn0AxzHDgLVBG','C29Tzq','z3jHy2vnCW','zgLNzxn0','y2XHC3nPzMLJyxrPB24','y2HPBgrqAwq','C2L6zq','y29TBwL0lwnHBMrPzgf0zq','DhjHBNnHy3rPB25jza','CMvSyxrPDMu','CMfUzg9Tvvvjra','q09otKvdveLptL9mruDbq1LFuKvusvjfra','q0HjterFufjpq0vtu19tvefsvf9nsvntsu5h','C3rYAw5NAwz5','zw5KC1DPDgG','C2XPy2u','ufjpqKvFtuLttufuq0G','q09otKvdveLptL9jrevoveLuwv9vtLzfuKLgsuve','lMfNzw50CY9YDw50Aw1Ll2nVBM5Ly3rPB25Z','zxf1ywXZ','CMvHzezPBgvtEw5J','ywn0AxzL','yxjJAgL2zufUzfjLDgLYzu1LBwjLCG','Aw5ZCgvJDenVBM5Ly3rPB24','lw1LBwjLCNnOAxa','DMfSAwrHDgvszxrPCMvTzw50qMf0y2G','BwLU','y2HHBgXLBMDL','ywXS','q09otKvdveLptL9nru1crvjFuKvusvjfra','y29UBMvJDgLVBI1YzwnVBMnPBgLHDgLVBG','BM9Uy2u','q09otKvdveLptL9uuKfou0Lusu9ox0fvveHftLrjq0furuq','lI4Vy29Yzs9JB25Uzwn0Aw9UlwLUC3bLy3rVCG','AxneAxjLy3rVCNK','u0vduKvux1voqvzbsuXbqKXf','mta4mgn4svLMzW','q29UBMvJDgLVBIbTzw1IzxjZAgLWignOyw5NzwqGyMvMB3jLihjLy292zxj5','ru5pru5u','y2XVC2vK','y29UBMvJDa','BgvNywn5lw93BMvYC2HPCc11BNzLCMLMAwvK','BwfW','CgfYC2u','lI4Vy29Yzs9PCgmTzw52zwXVCgu','ChjLDMLVDxndB25Uzwn0Aw9UCW','Aw5KzxHpzG','tuvnqKvsx0fsq0HjvKvFrKfjteve','nZm4nun5AxPuDq','q29UBMvJDgLVBIbYzwnVDMvYEsbWyxrOigLZihvUC2fMzq','lMfNzw50CY9YDw50Aw1Ll3jLz2LZDhjHDgLVBI1JBg9ZDxjLCW','q29UBMvJDgLVBIbJAgfUz2vKigjLzM9YzsbYzwnVDMvYEq','DhLWzq','zgLYBMfTzq','BMf0AxzLq2fSBgvY','q09ovfjptf9usu1ft1vu','r0vorvjbveLptL9vtKnptKzjuK1fra','B3jWAgfUzwq','ChjVy2vZC1n0yxrL','zxzPzgvUy2u','C2vYDMLUzW','C2HHmJu2','C2v0vgLTzw91Da','ChjLCgfYzs1Jyw5KAwrHDgu','zgvZDhjVEq','BgL2zq','BwLZC2LUzY1JBg9ZDxjLlwv2AwrLBMnL','Agv4','mJm0mdiWt2f0u2HO','lI4Vy29Yzs93B3jRC3bHy2uTz2vUzxjHDgLVBG','yMf0y2G','y2XVC2vnzw1Izxi','ChjVy2vZC0LKzw50Axr5u25HChnOB3q','AM9PBG','ufjpq0vtu19pv05fuLnisvbFvu5wrvjjrKLfra','zMLSzq','q09otKvdveLptL9trvrutevFr1jbq0vFrvHqsvjfra','BwLZC2LUzW','DxrMoa','y2XVC2vszwfZB24','mZi5otjuC1j6vKm','zxHWB3j0CW','ywrK','AgfZ','ChjVyMu','CMv0AxjLza','C2fTzvDVCMTZCgfJzq','zgvZDhjVEwvK','mtiWnKf2A3zqAa','q09ovfjptf9pvKvsu0LArq','q09otKvdveLptL9vtKnptKzjuK1fra','tevhqunzx0nptK5fq1rjt05FseLtve9swq','C3rHCNq','z2vUzxjHDgLVBG','y29UBMvJDgLVBG','BM9KztPUzxq','CMvZDg9Yzs1WCMv2Aw91CW','nJa0mfPKENL2rG','Dg9ju09tDhjPBMC','lI4Vy29Yzs9VD25Lzc1WCM9JzxnZ','CMvHBhbHDgHtEw5J','lMfNzw50CW','DxbKyxrL','D2L0AefKBwLZC2LVBKXVy2S','yMfJA3vWugf0Aa','zMfPBgvK','qvbux1vqrefurv9qru5esu5h','C3rYAw5N','Ag9ZDc1LCNjVCG','CNvUDgLTzq','ChvZAa','ChjVDg9JB2W','ChjVDMLZAw9UywW','C3vWzxj2AxnVCG','q09ovfjptf9gquLmruq','BwvTyMvYC2HPCc5QC29U','C3jJl2nVCMuVBgvNywn5lxjLDgLYzw1LBNqTChjVB2yUANm','q09otKvdveLptL9isvnut1jz','Ag9VAY1JB250zxH0','DgLTAw5Nu2fMzuvXDwfS','C3rHDgu','q09otKvdveLptL9dte9tvvjfx1voq09orKLstuve','ChjVy2vZCY10CMvLlwfIC2vUDa','y3jLyxrLsg1HyW','mtK4nJqWz3j3wKno','yNL0zxm','CMvHzeDLBMvYyxrPB24','zM9Yy2vszwnVDMvY','DgLJA2v0CW','ChjVyMvdB25Uzwn0Aw9U','C2vW','CMvHC29U','zw5KCg9PBNq','zxbVy2G','C3vWzxj2AxnVCI1ZAhv0zg93BG','Bhn0yxrtEw5J','BgvUz3rO','BgvNywn5uMvJB3zLCNLszwXLyxnL','q09otKvdveLptL9gt1jdrv9srvrjuKve','ywrTAxnZAw9UlMPZB24','y29UDgv4Da','y2XVC2vKqxq','lNnLy3jLDhm','Cgf0Aa','zgf0yq','lwnVBM5Ly3rPB25Z','y2HPBgrqCM9JzxnZu3rHCNq','BwfJ','D2fPDfnLy29Uzhm','DgLTzw91De1Z','DMfSDwvZ','yxv0Ag9YAxr5','DMvYC2LVBG','ndq4EMTmyKDk','ChvIBgLJs2v5','C2v0','uKvdt1zfuLLFuefusf9twu1msu5l','q09otKvdveLptL9dte9tvvjfx0zbsuXfra','zxjYB3i','mtiZode4mLrAAwXuua','lI4Vy29Yzs93B3jRC3bHy2uTCgf0Aa','q09otKvdveLptL9tvefsvf9qru5esu5h','q29UBMvJDgLVBIbYzwnLAxb0igLZihvUC2fMzq','ywjVCNq','D29YA3nWywnLlxjLyM91BMq','yxbWBhK','q09ovfjptf9jtLzbteLe','C3vWzxj2AxnVCLbYB2nLC3ntDgfYDa','B3bLBG','lI4Vy29Yzs9Hzg1PC3nPB24TzMvUy2u','CMvHzezLBMnL','DMvYAwz5uMvSzwfZzq','CMvJzwLWDhmV','ueLex1jfvvnfra','ufjpqKvFrKfjteve','CgvUzgLUzY1ZywzLlwjVDw5Kyxj5','q29UBMvJDgLVBIbVD25LCNnOAxaGy2HHBMDLzcbIzwzVCMuGCMvJB3zLCNK','BM9KztPWyxrO','tevhqunzx1bst09gx0niqu5hruq','q09otKvdveLptL9puLbiqu5FuKvdt05dsuXfra','y2f0ywXVz0HHC2G','CMvHzhKTBMv4Dc1JB25Uzwn0Aw9U','lMfNzw50CY9YDw50Aw1Ll3vWzgf0zs10CMfUC2fJDgLVBI5QC29U','BgvNywn5uMvJB3zLCNK','y29UBMvJDgLUzW','D3jPDgu','Dw5RBM93BG','CMvSzwfZzq','C3vWzxj2AxnVCLbPza','y3jLyxrLsgfZAa','y29UBMvJDgLVBKLKCW','ChjVy2vZC0LKzw50Axr5','z2v0','q29UBMvJDgLVBIbVD25LCNnOAxaGy2HHBMDLzcbKDxjPBMCGyxjJAgL2zq','z2vUzxjHDgLVBI5QC29U','mti1ntfzsKjdC2m','C3vWzxj2AxnVCLbYB3rVy29S','C2f2zuXVy2TLza','yxnZAwDU','lMTLEq','y29UBMvJDgLVBKLK','Aw5JBhvKzxm','D29YA3nWywnL','DgvZDa','zMLSDgvY','ChjLCgfYzq','zxzLCNK','C2vJCMv0rMLSzq','CMvJB25Uzwn0lxjLCxvPCMvK','y2f1C2u','q09ovfjptf9vtKfwquLmqujmrq','BwTKAxjtEw5J','zMLSzuzVCG','mvr3D21Kvq','lMPZB24','q09otKvdveLptL9puLbiqu5fra','z2f0zxDHEs1IAw5KAw5N','lNrYyw5Zywn0Aw9UlMPZB24','CMvZB3vYy2veAwDLC3q','AxntywzLsw50zwDLCG','CMvJB3zLCNKTyMfJA3vWCW','C3bSAxq','Aw5JBhvKzvjLDgLYzwq','BM93','BgLZDfDVCMTZCgfJzvjLy2vPChrZ','ufjpqKvFsu5wquXjra','BwvTyMvYCW','sw52ywXPzcbJBg9ZDxjLigTLEq','qurnsvntsu9ox0jvu1K','CMvJB25JAwXLv29YA3nWywnLq29UBMvJDgLVBNm','yxv0AgvUDgLJyxrLzc1SAxzLlxbYB2nLC3m','zxHPC3rZu3LUyW','ChjVB2y','CMvHzgrPCLn5BMm','nde4odK2ovPosuLpzG','zxHWBgLJAxqTzM9Yy2uTCMvJB3zLCNK','BM9KztPJCNLWDg8','mZblq1rItKK','y2XVC3vYzu1HyW','ChjVy2vZC1n0yxr1CW','zNjVBq','C3rHDhvZ','y29Kzq','AxntEw1IB2XPy0XPBMS'];_0x6b59=function(){return _0xb55490;};return _0x6b59();}function archiveAndRetireMember(_0x31f3b7,_0x18ab2c,_0x5794b4,_0x3bab69,_0x3a955e){const _0x222144=_0x213d50,_0x3fabb0=require(_0x222144(0x1a9));return _0x3fabb0[_0x222144(0x167)](_0x31f3b7,_0x22bffb=>{const _0x369047=_0x222144,_0x48a967=_0x22bffb[_0x369047(0x1e2)]?.[_0x18ab2c[_0x369047(0x1c8)]],_0x48006=_0x3a955e||require(_0x369047(0x163))[_0x369047(0x1bf)],_0x46c5f3={};_0x46c5f3[_0x369047(0xfe)]=_0x369047(0x111);if(!_0x48a967||JSON['stringify'](_0x48a967)!==JSON[_0x369047(0x10d)](_0x18ab2c)||_0x48006(_0x18ab2c[_0x369047(0x1bc)])!==null||fs[_0x369047(0x1e7)](path[_0x369047(0x149)](_0x31f3b7,_0x369047(0x112),_0x18ab2c[_0x369047(0x1c8)]+_0x369047(0x1d6))))throw Object[_0x369047(0x1c6)](new Error(_0x369047(0x125)),_0x46c5f3);const _0x452cc5={};_0x452cc5[_0x369047(0xfe)]=_0x369047(0x111);if(!/^[a-zA-Z0-9._-]{4,128}$/[_0x369047(0x1cb)](_0x18ab2c[_0x369047(0x1c8)]||''))throw Object[_0x369047(0x1c6)](new Error('Connection\x20identity\x20is\x20not\x20archivable'),_0x452cc5);const _0x1687d8=fs[_0x369047(0x164)](_0x31f3b7),_0x3139e2=_0x3fabb0[_0x369047(0x1d4)](_0x31f3b7),_0x382524=fs[_0x369047(0x114)](_0x3139e2),_0x11da9e=Buffer[_0x369047(0xfc)](JSON[_0x369047(0x10d)](_0x18ab2c)),_0x3db923=_0x33e4d2=>crypto[_0x369047(0x1bd)]('sha256')[_0x369047(0x166)](_0x33e4d2)[_0x369047(0x103)]('hex'),_0x2cccaf=path[_0x369047(0x149)](_0x1687d8,_0x369047(0x165),_0x369047(0x1dc),_0x18ab2c[_0x369047(0x1c8)]+'-'+_0x3db923(_0x11da9e)+_0x369047(0x118));let _0x4d73ab=_0x1687d8;for(const _0x22ef04 of path[_0x369047(0x109)](_0x1687d8,_0x2cccaf)[_0x369047(0x1dd)](path['sep'])){_0x4d73ab=path[_0x369047(0x149)](_0x4d73ab,_0x22ef04);if(!fs['existsSync'](_0x4d73ab))fs[_0x369047(0x1d3)](_0x4d73ab);const _0x58463e={};_0x58463e[_0x369047(0xfe)]=_0x369047(0x19c);if(fs[_0x369047(0x187)](_0x4d73ab)['isSymbolicLink']()||!fs[_0x369047(0x187)](_0x4d73ab)['isDirectory']())throw Object['assign'](new Error(_0x369047(0x131)),_0x58463e);}const _0x588b2a={'version':0x1,'workspace':_0x1687d8,'connectionId':_0x18ab2c[_0x369047(0x1c8)],'reason':_0x5794b4,'evidence':_0x3bab69,'createdAt':new Date()[_0x369047(0x162)]()},_0x273655={};_0x273655[_0x369047(0x18f)]=_0x369047(0x173),_0x273655[_0x369047(0x17d)]=_0x11da9e;const _0x398257={};_0x398257[_0x369047(0x18f)]=_0x369047(0x18b),_0x398257[_0x369047(0x17d)]=_0x382524,preserveConnectionArchive(_0x2cccaf,_0x588b2a,[_0x273655,_0x398257]);const _0x3114bd={};_0x3114bd[_0x369047(0xfe)]=_0x369047(0x111);if(_0x48006(_0x18ab2c[_0x369047(0x1bc)])!==null||fs['existsSync'](path[_0x369047(0x149)](_0x31f3b7,_0x369047(0x112),_0x18ab2c[_0x369047(0x1c8)]+_0x369047(0x1d6))))throw Object[_0x369047(0x1c6)](new Error('Connection\x20appeared\x20during\x20archive'),_0x3114bd);return _0x48a967['state']=_0x369047(0x127),_0x48a967['closedAt']=new Date()[_0x369047(0x162)](),_0x48a967[_0x369047(0x14f)]=_0x5794b4,_0x3fabb0['saveLocked'](_0x31f3b7,_0x22bffb),_0x2cccaf;});}async function probeConnection(_0x582c98,_0x339265={}){const _0x1a7940=_0x213d50;if(!_0x582c98?.['endpoint']||!_0x582c98?.[_0x1a7940(0x1cf)]||!_0x582c98?.['connectionId'])return{'status':_0x1a7940(0x129),'connectionId':_0x582c98?.[_0x1a7940(0x1c8)]||null};let _0x46d933;try{_0x46d933=fs[_0x1a7940(0x114)](_0x582c98[_0x1a7940(0x1cf)]);}catch{const _0x5dbdcb={};return _0x5dbdcb[_0x1a7940(0xfd)]=_0x1a7940(0x1d0),_0x5dbdcb[_0x1a7940(0x1c8)]=_0x582c98[_0x1a7940(0x1c8)],_0x5dbdcb[_0x1a7940(0xfe)]=_0x1a7940(0x123),_0x5dbdcb;}const _0xd650c6=crypto[_0x1a7940(0x10a)](),_0x5a55ca={};_0x5a55ca[_0x1a7940(0x16f)]=0x2,_0x5a55ca[_0x1a7940(0x134)]=_0x1a7940(0x11b),_0x5a55ca[_0x1a7940(0x1c8)]=_0x582c98[_0x1a7940(0x1c8)],_0x5a55ca[_0x1a7940(0x11f)]=_0xd650c6;const _0xae327a=_0x5a55ca;return _0xae327a[_0x1a7940(0x193)]=signEnvelope(_0x46d933,_0xae327a),new Promise(_0x1bc153=>{const _0x346c68=_0x1a7940,_0x5e7b94=net[_0x346c68(0x128)](_0x582c98[_0x346c68(0x184)]);let _0x381c22='';const _0x3bab56=_0x226d06=>{const _0x11ad52=_0x346c68;if(!_0x5e7b94['destroyed'])_0x5e7b94[_0x11ad52(0x140)]();const _0x477ccc={..._0x226d06};_0x477ccc['connectionId']=_0x582c98[_0x11ad52(0x1c8)],_0x1bc153(_0x477ccc);},_0x29dcf9={};_0x29dcf9[_0x346c68(0xfd)]=_0x346c68(0x1d0),_0x29dcf9['code']='PROBE_TIMEOUT',_0x5e7b94['setTimeout'](_0x339265[_0x346c68(0x195)]||0x9c4,()=>_0x3bab56(_0x29dcf9)),_0x5e7b94['on'](_0x346c68(0x19e),_0xc8852a=>_0x3bab56({'status':_0x346c68(0x1d0),'code':_0xc8852a[_0x346c68(0xfe)]||_0x346c68(0x1ae)})),_0x5e7b94['on'](_0x346c68(0x128),()=>_0x5e7b94[_0x346c68(0x1b9)](JSON[_0x346c68(0x10d)](_0xae327a)+'\x0a')),_0x5e7b94['on']('data',_0x1cfcf3=>{const _0x2cdde3=_0x346c68;_0x381c22+=_0x1cfcf3;const _0x573064={};_0x573064[_0x2cdde3(0xfd)]=_0x2cdde3(0x169),_0x573064[_0x2cdde3(0xfe)]='PROBE_OVERSIZE';if(_0x381c22[_0x2cdde3(0x188)]>0x2000)return _0x3bab56(_0x573064);const _0x15c196=_0x381c22[_0x2cdde3(0x12e)]('\x0a');if(_0x15c196<0x0)return;let _0x3dcc24;try{_0x3dcc24=JSON[_0x2cdde3(0x12b)](_0x381c22['slice'](0x0,_0x15c196));}catch{const _0x461abb={};return _0x461abb[_0x2cdde3(0xfd)]=_0x2cdde3(0x169),_0x461abb['code']=_0x2cdde3(0x1e1),_0x3bab56(_0x461abb);}const {mac:_0x50363a,..._0x20cde8}=_0x3dcc24,_0x50d35b=crypto[_0x2cdde3(0x17b)]('sha256',_0x46d933)[_0x2cdde3(0x166)](JSON[_0x2cdde3(0x10d)](_0x20cde8))['digest'](_0x2cdde3(0x143));if(typeof _0x50363a!==_0x2cdde3(0x16b)||_0x50363a[_0x2cdde3(0x188)]!==_0x50d35b[_0x2cdde3(0x188)]||!crypto[_0x2cdde3(0x177)](Buffer[_0x2cdde3(0xfc)](_0x50363a),Buffer[_0x2cdde3(0xfc)](_0x50d35b))||_0x20cde8[_0x2cdde3(0x11f)]!==_0xd650c6||_0x20cde8[_0x2cdde3(0x1c8)]!==_0x582c98[_0x2cdde3(0x1c8)]||_0x20cde8['workspace']!==_0x582c98['workspace']||_0x20cde8[_0x2cdde3(0x1bc)]!==_0x582c98['supervisorPid']||_0x582c98[_0x2cdde3(0x1a7)]!==undefined&&String(_0x20cde8[_0x2cdde3(0x1a7)]||'')!==String(_0x582c98[_0x2cdde3(0x1a7)]||'')||_0x20cde8[_0x2cdde3(0x15d)]!==_0x582c98[_0x2cdde3(0x15d)]||_0x20cde8[_0x2cdde3(0x105)]!==_0x582c98[_0x2cdde3(0x105)]||_0x582c98[_0x2cdde3(0x192)]!==undefined&&String(_0x20cde8[_0x2cdde3(0x192)]||'')!==String(_0x582c98['childProcessStart']||'')||_0x20cde8[_0x2cdde3(0x198)]!==_0x582c98[_0x2cdde3(0x198)]||_0x20cde8[_0x2cdde3(0x103)]!==_0x582c98['digest']||_0x20cde8[_0x2cdde3(0x1da)]!==_0x582c98[_0x2cdde3(0x1da)])return _0x3bab56({'status':'failed','code':_0x2cdde3(0x110),'connectionId':_0x582c98['connectionId']});const _0x3c9b71={'status':_0x20cde8[_0x2cdde3(0x100)],..._0x20cde8};_0x3c9b71[_0x2cdde3(0x13b)]=_0x2cdde3(0x1e6),_0x3bab56(_0x3c9b71);});});}async function controlConnection(_0x3b83dc,_0x9892b3,_0x5c45a1={}){const _0x5a7501=_0x213d50;if(![_0x5a7501(0x1cd),'request-stop','activate',_0x5a7501(0x1a3),'stop-for-update',_0x5a7501(0x13f),_0x5a7501(0x107),_0x5a7501(0x160),_0x5a7501(0x176),_0x5a7501(0x1d8)][_0x5a7501(0x1c9)](_0x9892b3)||!_0x3b83dc?.['endpoint']||!_0x3b83dc?.['secretFile'])return{'status':'failed','code':_0x5a7501(0x1d2),'connectionId':_0x3b83dc?.['connectionId']||null};let _0x47b42d;try{_0x47b42d=fs['readFileSync'](_0x3b83dc[_0x5a7501(0x1cf)]);}catch{const _0x3101a5={};return _0x3101a5['status']=_0x5a7501(0x169),_0x3101a5[_0x5a7501(0xfe)]='SECRET_UNAVAILABLE',_0x3101a5['connectionId']=_0x3b83dc['connectionId'],_0x3101a5;}const _0x4d28fb=crypto[_0x5a7501(0x10a)](),_0x3500cc=_0x5c45a1[_0x5a7501(0x198)]||'',_0x520586=_0x5c45a1[_0x5a7501(0x103)]||'',_0x373e9a={};_0x373e9a['protocol']=0x2,_0x373e9a[_0x5a7501(0x1c8)]=_0x3b83dc[_0x5a7501(0x1c8)],_0x373e9a[_0x5a7501(0x134)]=_0x9892b3,_0x373e9a[_0x5a7501(0x11f)]=_0x4d28fb,_0x373e9a[_0x5a7501(0x198)]=_0x3500cc,_0x373e9a['digest']=_0x520586,_0x373e9a['waitSeconds']=_0x5c45a1[_0x5a7501(0x194)],_0x373e9a[_0x5a7501(0x108)]=_0x5c45a1[_0x5a7501(0x108)],_0x373e9a[_0x5a7501(0x185)]=_0x5c45a1[_0x5a7501(0x185)],_0x373e9a[_0x5a7501(0x15d)]=_0x5c45a1[_0x5a7501(0x15d)],_0x373e9a[_0x5a7501(0x1da)]=_0x5c45a1[_0x5a7501(0x1da)],_0x373e9a[_0x5a7501(0x1b4)]=_0x5c45a1[_0x5a7501(0x1b4)],_0x373e9a[_0x5a7501(0x1bb)]=_0x5c45a1['release'],_0x373e9a['nativeCaller']=_0x5c45a1[_0x5a7501(0x136)];const _0x48eb5c=_0x373e9a;return _0x48eb5c[_0x5a7501(0x193)]=signEnvelope(_0x47b42d,_0x48eb5c),new Promise(_0xdae56c=>{const _0xf58a61=_0x5a7501,_0x534481=net['connect'](_0x3b83dc[_0xf58a61(0x184)]);let _0xb29759='';const _0x479ee7=_0x8a3669=>{const _0x33216c=_0xf58a61;if(!_0x534481[_0x33216c(0x157)])_0x534481[_0x33216c(0x140)]();const _0x5cf726={..._0x8a3669};_0x5cf726[_0x33216c(0x1c8)]=_0x3b83dc[_0x33216c(0x1c8)],_0xdae56c(_0x5cf726);},_0x1166d7={};_0x1166d7[_0xf58a61(0xfd)]=_0xf58a61(0x169),_0x1166d7[_0xf58a61(0xfe)]=_0xf58a61(0x137),_0x534481[_0xf58a61(0x13e)](_0x5c45a1['timeoutMs']||0x1fbd0,()=>_0x479ee7(_0x1166d7)),_0x534481['on'](_0xf58a61(0x19e),_0x32a3db=>_0x479ee7({'status':_0xf58a61(0x169),'code':_0x32a3db[_0xf58a61(0xfe)]||_0xf58a61(0x172)})),_0x534481['on'](_0xf58a61(0x128),()=>_0x534481[_0xf58a61(0x1b9)](JSON[_0xf58a61(0x10d)](_0x48eb5c)+'\x0a')),_0x534481['on'](_0xf58a61(0x190),_0x1d0bce=>{const _0x1a29b9=_0xf58a61;_0xb29759+=_0x1d0bce;const _0x47dc63={};_0x47dc63[_0x1a29b9(0xfd)]=_0x1a29b9(0x169),_0x47dc63[_0x1a29b9(0xfe)]=_0x1a29b9(0x159);if(_0xb29759['length']>0x2000)return _0x479ee7(_0x47dc63);const _0x14e279=_0xb29759['indexOf']('\x0a');if(_0x14e279<0x0)return;let _0x9a8427;try{_0x9a8427=JSON[_0x1a29b9(0x12b)](_0xb29759[_0x1a29b9(0x10f)](0x0,_0x14e279));}catch{const _0x30e871={};return _0x30e871['status']=_0x1a29b9(0x169),_0x30e871[_0x1a29b9(0xfe)]=_0x1a29b9(0x1a6),_0x479ee7(_0x30e871);}const {mac:_0x1bbe82,..._0x9528b6}=_0x9a8427,_0x255d36=crypto[_0x1a29b9(0x17b)](_0x1a29b9(0x13d),_0x47b42d)[_0x1a29b9(0x166)](JSON[_0x1a29b9(0x10d)](_0x9528b6))[_0x1a29b9(0x103)](_0x1a29b9(0x143)),_0x18f49a={};_0x18f49a[_0x1a29b9(0xfd)]=_0x1a29b9(0x169),_0x18f49a['code']='CONTROL_MISMATCH';if(typeof _0x1bbe82!==_0x1a29b9(0x16b)||_0x1bbe82['length']!==_0x255d36['length']||!crypto[_0x1a29b9(0x177)](Buffer[_0x1a29b9(0xfc)](_0x1bbe82),Buffer[_0x1a29b9(0xfc)](_0x255d36))||_0x9528b6[_0x1a29b9(0x11f)]!==_0x4d28fb||_0x9528b6['connectionId']!==_0x3b83dc[_0x1a29b9(0x1c8)]||_0x9528b6[_0x1a29b9(0x1ca)]!==_0x3b83dc[_0x1a29b9(0x1ca)]||_0x9528b6[_0x1a29b9(0x1bc)]!==_0x3b83dc['supervisorPid'])return _0x479ee7(_0x18f49a);const _0x4da7ca={..._0x9528b6};_0x4da7ca[_0x1a29b9(0x13b)]=_0x1a29b9(0x1e6),_0x479ee7(_0x4da7ca);});});}async function probeWorkspaceConnections(_0xa94387,_0x24b3d8={}){const _0x674fb2=_0x213d50,_0x1bf02a=[],_0x5db088=listWorkspaceReceipts(_0xa94387,_0x1bf02a,_0x24b3d8),_0x5e0c52=_0x5db088[_0x674fb2(0x1cc)](_0x4d5e5a=>!_0x4d5e5a[_0x674fb2(0x170)]),_0x3aa59a=new Array(_0x5e0c52[_0x674fb2(0x188)]);let _0x115921=0x0;await Promise[_0x674fb2(0x11c)](Array['from']({'length':Math['min'](0x4,_0x5e0c52[_0x674fb2(0x188)])},async()=>{const _0x4bb336=_0x674fb2;for(;;){const _0x90d3e1=_0x115921++;if(_0x90d3e1>=_0x5e0c52[_0x4bb336(0x188)])return;_0x3aa59a[_0x90d3e1]=await(_0x24b3d8[_0x4bb336(0x154)]||probeConnection)(_0x5e0c52[_0x90d3e1],_0x24b3d8);}}));const _0x3eb11e=readJson(path[_0x674fb2(0x149)](fs[_0x674fb2(0x164)](_0xa94387),'.agents',_0x674fb2(0x16d),_0x674fb2(0x1c2))),_0x503aa6=require(_0x674fb2(0x1a9))[_0x674fb2(0x1aa)](_0xa94387),_0x339680=_0x24b3d8[_0x674fb2(0x198)]||null,_0x3386ad=_0x24b3d8[_0x674fb2(0x103)]||null,_0x3fb49b=_0x24b3d8[_0x674fb2(0x1da)]||null,_0x364bdf=_0x24b3d8[_0x674fb2(0x1b4)]||null,_0x2f3ac1=Number[_0x674fb2(0x1db)](_0x3eb11e?.['generation'])&&_0x3eb11e[_0x674fb2(0x15d)]>0x0&&_0x3aa59a[_0x674fb2(0x1ce)](_0x34cb5d=>_0x34cb5d[_0x674fb2(0x15d)]===_0x3eb11e[_0x674fb2(0x15d)]&&['version',_0x674fb2(0x103),_0x674fb2(0x1da),'catalogHash'][_0x674fb2(0x1ce)](_0x10019f=>_0x34cb5d[_0x10019f]===_0x3eb11e[_0x10019f])),_0x53916a=_0x503aa6[_0x674fb2(0x178)]===_0x674fb2(0x1a8)&&_0x3aa59a[_0x674fb2(0x188)]>0x0&&_0x3aa59a[_0x674fb2(0x1ce)](_0x4a7815=>_0x4a7815[_0x674fb2(0xfd)]===_0x674fb2(0x115)&&_0x4a7815[_0x674fb2(0x13c)]===!![]&&(!_0x339680||_0x4a7815[_0x674fb2(0x198)]===_0x339680)&&(!_0x3386ad||_0x4a7815[_0x674fb2(0x103)]===_0x3386ad)&&(!_0x3fb49b||_0x4a7815['resourceDigest']===_0x3fb49b)&&(!_0x364bdf||_0x4a7815['catalogHash']===_0x364bdf))&&_0x2f3ac1,_0x3ede7b=Object[_0x674fb2(0x196)](_0x503aa6[_0x674fb2(0x1e2)]||{})['filter'](_0x3688c5=>_0x3688c5[_0x674fb2(0x178)]!=='closed'&&!_0x1bf02a['some'](_0x14e321=>_0x14e321[_0x674fb2(0xfe)]===_0x674fb2(0x175)&&_0x14e321['connectionId']===_0x3688c5[_0x674fb2(0x1c8)])&&!_0x3aa59a[_0x674fb2(0x101)](_0x2a1d77=>_0x2a1d77[_0x674fb2(0x1c8)]===_0x3688c5[_0x674fb2(0x1c8)])),_0x49d03a={};return _0x49d03a[_0x674fb2(0xfe)]=_0x674fb2(0x138),{'status':_0x503aa6['state']!==_0x674fb2(0x1a8)?_0x674fb2(0x1af):_0x53916a&&!_0x3ede7b['length']?_0x674fb2(0x115):_0x3aa59a[_0x674fb2(0x188)]||_0x3ede7b[_0x674fb2(0x188)]?'reconnect-required':_0x674fb2(0x1b5),'connections':_0x3aa59a,'confirmed':_0x3aa59a[_0x674fb2(0x1cc)](_0x16e27b=>_0x16e27b[_0x674fb2(0x13b)]===_0x674fb2(0x1e6))['length'],'generation':_0x2f3ac1?_0x3eb11e[_0x674fb2(0x15d)]:null,'blockers':[..._0x503aa6[_0x674fb2(0x178)]!==_0x674fb2(0x1a8)?[{'code':_0x674fb2(0x16a),'state':_0x503aa6[_0x674fb2(0x178)]}]:[],..._0x3aa59a[_0x674fb2(0x188)]&&!_0x2f3ac1?[_0x49d03a]:[],..._0x3ede7b[_0x674fb2(0x12a)](_0x2af46c=>({'code':'CONNECTION_UNCONFIRMED','connectionId':_0x2af46c['connectionId']}))],'total':_0x3aa59a[_0x674fb2(0x188)],'foreignWorkspaceStates':_0x1bf02a};}function listWorkspaceReceipts(_0x5e2d1,_0x146e43=[],_0x4b441f={}){const _0x58336d=_0x213d50,_0x22bc4a=path[_0x58336d(0x149)](fs[_0x58336d(0x164)](_0x5e2d1),'.agents',_0x58336d(0x16d),'connections'),_0x5e0ebf=require(_0x58336d(0x1a9))[_0x58336d(0x1aa)](_0x5e2d1);let _0xf94bc7;try{_0xf94bc7=fs[_0x58336d(0xf5)](_0x22bc4a)[_0x58336d(0x1cc)](_0x123756=>_0x123756['endsWith'](_0x58336d(0x1d6))&&!_0x123756[_0x58336d(0x10e)](_0x58336d(0x1d9)));}catch(_0x10810a){if(_0x10810a[_0x58336d(0xfe)]===_0x58336d(0x126))_0xf94bc7=[];else throw _0x10810a;}const _0x563bb0=[];for(const _0x2da508 of _0xf94bc7){const _0x28f499=readJson(path[_0x58336d(0x149)](_0x22bc4a,_0x2da508));let _0x1492e2=!_0x28f499?.[_0x58336d(0x1ca)];try{_0x1492e2||=require(_0x58336d(0x1a0))['sameWorkspace'](_0x28f499[_0x58336d(0x1ca)],_0x5e2d1);}catch{}if(!_0x1492e2){const _0x3da248={};_0x3da248['code']='FOREIGN_WORKSPACE_STATE',_0x3da248['kind']=_0x58336d(0x15e),_0x3da248[_0x58336d(0x1c8)]=_0x28f499[_0x58336d(0x1c8)],_0x3da248[_0x58336d(0x14b)]=_0x2da508,_0x146e43[_0x58336d(0x16e)](_0x3da248);continue;}if(!_0x28f499)continue;if(_0x5e0ebf[_0x58336d(0x1e2)]?.[_0x28f499[_0x58336d(0x1c8)]]?.[_0x58336d(0x178)]===_0x58336d(0x127)&&!_0x4b441f[_0x58336d(0x1de)])continue;if(_0x28f499[_0x58336d(0x170)]===!![])_0x146e43['push']({'code':_0x58336d(0x1a1),'connectionId':_0x28f499['connectionId'],'file':_0x2da508});if(_0x28f499[_0x58336d(0x100)]===_0x58336d(0x1a4)||_0x28f499[_0x58336d(0x127)]===!![]||_0x28f499[_0x58336d(0x127)]===undefined&&_0x28f499['serving']===![]&&['host-eof',_0x58336d(0x16c),_0x58336d(0x186)]['includes'](_0x28f499['stopReason']))continue;_0x563bb0['push'](_0x28f499);}const _0x201cc0=require(_0x58336d(0x145))[_0x58336d(0x17e)](_0x5e2d1),_0x3466ab=readJson(path[_0x58336d(0x149)](_0x5e2d1,_0x58336d(0x1b6))),_0x2324c9=_0x4b441f[_0x58336d(0x1bf)]||(_0x563bb0['some'](_0x43684c=>_0x43684c['supervisorPid'])?require(_0x58336d(0x163))[_0x58336d(0x148)]():undefined);return _0x563bb0['filter'](_0x423304=>{const _0x5e24c9=_0x58336d,_0x9113e={};_0x9113e[_0x5e24c9(0x1bf)]=_0x2324c9;const _0x416d00=require('../core/connection-inspector')['inspectConnection'](_0x423304,_0x9113e),_0x196910=_0x5e0ebf['members']?.[_0x423304[_0x5e24c9(0x1c8)]]||_0x201cc0?.['connections']?.[_0x5e24c9(0x1c9)](_0x423304[_0x5e24c9(0x1c8)])||_0x3466ab?.[_0x5e24c9(0x12d)]?.['some'](_0x48828a=>_0x48828a['connectionId']===_0x423304[_0x5e24c9(0x1c8)])||Object[_0x5e24c9(0x196)](_0x5e0ebf[_0x5e24c9(0x180)]||{})[_0x5e24c9(0x101)](_0x583f1d=>_0x583f1d[_0x5e24c9(0xfd)]===_0x5e24c9(0x115)&&_0x583f1d['connectionId']===_0x423304[_0x5e24c9(0x1c8)]);if(!_0x416d00['retired']&&_0x423304[_0x5e24c9(0x1c4)]!==0x2&&!_0x196910&&Number['isSafeInteger'](_0x423304[_0x5e24c9(0x15d)])&&_0x423304[_0x5e24c9(0x15d)]<_0x201cc0?.[_0x5e24c9(0x15d)]){const _0x5ca34a={};return _0x5ca34a[_0x5e24c9(0xfe)]=_0x5e24c9(0x15b),_0x5ca34a['connectionId']=_0x423304[_0x5e24c9(0x1c8)],_0x5ca34a[_0x5e24c9(0x104)]=_0x416d00['classification'],_0x5ca34a[_0x5e24c9(0xfb)]=_0x416d00[_0x5e24c9(0x13a)]?.[_0x5e24c9(0xfd)],_0x5ca34a['generation']=_0x423304[_0x5e24c9(0x15d)],_0x146e43['push'](_0x5ca34a),![];}if(_0x4b441f[_0x5e24c9(0x1de)])return!![];if(!_0x416d00['retired'])return!![];const _0x39bf9e={};return _0x39bf9e[_0x5e24c9(0xfe)]='CONNECTION_HISTORY',_0x39bf9e['connectionId']=_0x423304[_0x5e24c9(0x1c8)],_0x39bf9e[_0x5e24c9(0x104)]=_0x416d00[_0x5e24c9(0x104)],_0x39bf9e[_0x5e24c9(0x13b)]=_0x5e24c9(0x17a),_0x146e43[_0x5e24c9(0x16e)](_0x39bf9e),![];});}function _0x297a(_0x1df5b4,_0x5c7c8b){_0x1df5b4=_0x1df5b4-0xf5;const _0x6b599=_0x6b59();let _0x297aa7=_0x6b599[_0x1df5b4];if(_0x297a['pfbAKs']===undefined){var _0x15f041=function(_0x3c0dc9){const _0x516d18='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x572432='',_0x31d615='';for(let _0x53506f=0x0,_0x4c9d3d,_0x5f070e,_0x566613=0x0;_0x5f070e=_0x3c0dc9['charAt'](_0x566613++);~_0x5f070e&&(_0x4c9d3d=_0x53506f%0x4?_0x4c9d3d*0x40+_0x5f070e:_0x5f070e,_0x53506f++%0x4)?_0x572432+=String['fromCharCode'](0xff&_0x4c9d3d>>(-0x2*_0x53506f&0x6)):0x0){_0x5f070e=_0x516d18['indexOf'](_0x5f070e);}for(let _0x240b40=0x0,_0x4b210f=_0x572432['length'];_0x240b40<_0x4b210f;_0x240b40++){_0x31d615+='%'+('00'+_0x572432['charCodeAt'](_0x240b40)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x31d615);};_0x297a['VcscVe']=_0x15f041,_0x297a['wnFqQu']={},_0x297a['pfbAKs']=!![];}const _0x3dd893=_0x6b599[0x0],_0xa148df=_0x1df5b4+_0x3dd893,_0x164ee3=_0x297a['wnFqQu'][_0xa148df];return!_0x164ee3?(_0x297aa7=_0x297a['VcscVe'](_0x297aa7),_0x297a['wnFqQu'][_0xa148df]=_0x297aa7):_0x297aa7=_0x164ee3,_0x297aa7;}async function reconcileWorkspaceConnections(_0x47a872,_0x526b9d={}){const _0x220a11=_0x213d50;let _0x30fac8=require('../core/legacy-retirement-proof');const _0x811777=()=>_0x526b9d[_0x220a11(0x1bf)]||require('../core/owned-process')['processIdentitySnapshot']();_0x526b9d['legacyRecovery']&&_0x526b9d[_0x220a11(0x189)]&&(require('./runtime-store')[_0x220a11(0x1ab)](_0x526b9d['legacyRecoveryRelease'],_0x526b9d[_0x220a11(0x19a)]),_0x30fac8=require(path['join'](fs[_0x220a11(0x164)](_0x526b9d[_0x220a11(0x189)]),_0x220a11(0x174))));const _0x228c83=[],_0x1676da=await awaitSettledSupervisors(_0x47a872,_0x526b9d,_0x811777,_0x228c83),_0x1a2eff={};_0x1a2eff[_0x220a11(0x1de)]=!![],_0x1a2eff[_0x220a11(0x1bf)]=_0x1676da;const _0x26b30d=listWorkspaceReceipts(_0x47a872,_0x228c83,_0x1a2eff),_0x5b86e4=[],_0x61bedb=[];_0x228c83[_0x220a11(0x16e)](..._0x526b9d[_0x220a11(0x1b7)]?.['diagnostics']||[]);const _0x84c5a9=require(_0x220a11(0x1a9))[_0x220a11(0x1aa)](_0x47a872),_0x5507ae=new Set();let _0x187135=_0x84c5a9;for(let _0x46cf88=0x0;_0x46cf88<0x3;_0x46cf88++){let _0x118e3c=_0x26b30d;if(_0x46cf88>0x0){_0x187135=require(_0x220a11(0x1a9))[_0x220a11(0x1aa)](_0x47a872);const _0x4679ff=new Set(Object[_0x220a11(0x196)](_0x187135[_0x220a11(0x1e2)]||{})[_0x220a11(0x1cc)](_0x2090c7=>_0x2090c7[_0x220a11(0x178)]!==_0x220a11(0x127)&&!_0x5507ae['has'](_0x2090c7[_0x220a11(0x1c8)]))[_0x220a11(0x12a)](_0x3b598f=>_0x3b598f[_0x220a11(0x1c8)]));if(!_0x4679ff[_0x220a11(0x106)])break;const _0x3f5b3d={};_0x3f5b3d['includeRetired']=!![],_0x118e3c=listWorkspaceReceipts(_0x47a872,_0x228c83,_0x3f5b3d)['filter'](_0xd0b031=>_0x4679ff[_0x220a11(0x153)](_0xd0b031[_0x220a11(0x1c8)])),_0x26b30d[_0x220a11(0x16e)](..._0x118e3c);}for(const _0x2b141f of _0x118e3c){_0x5507ae[_0x220a11(0x152)](_0x2b141f['connectionId']);if(_0x2b141f[_0x220a11(0x127)]===!![])continue;const _0x3ae065=await(_0x526b9d[_0x220a11(0x154)]||probeConnection)(_0x2b141f,_0x526b9d),_0xabf4c4={};_0xabf4c4[_0x220a11(0x1bf)]=_0x1676da,_0xabf4c4[_0x220a11(0x1e8)]=_0x3ae065;const _0xa25b34=require(_0x220a11(0x121))[_0x220a11(0x117)](_0x2b141f,_0xabf4c4),{processState:_0x214c89,classification:_0x89e262}=_0xa25b34,_0x5afb61={};_0x5afb61['receipt']=_0x2b141f,_0x5afb61[_0x220a11(0x1e8)]=_0x3ae065,_0x5afb61[_0x220a11(0x104)]=_0x89e262,_0x5afb61[_0x220a11(0x13a)]=_0x214c89,_0x5b86e4[_0x220a11(0x16e)](_0x5afb61);const _0xca61e8=_0x187135[_0x220a11(0x1e2)]?.[_0x2b141f[_0x220a11(0x1c8)]],_0x25c3ce=_0x526b9d['legacyRecovery']?.[_0x220a11(0x1c0)](_0x2b141f[_0x220a11(0x1c8)]);if(_0x25c3ce&&_0x3ae065['evidence']!=='authenticated-live-process'&&_0x526b9d[_0x220a11(0x1a5)]===!![])try{const _0x47b6e3=await retryAdmission(()=>archiveAndRetireReceipt(_0x47a872,_0x2b141f,_0xca61e8,_0x25c3ce[_0x220a11(0x183)],{'proof':_0x25c3ce,'batch':_0x526b9d[_0x220a11(0x1b7)],'authority':_0x30fac8,'context':_0x526b9d['recoveryContext']})),_0x17f839={};_0x17f839[_0x220a11(0xfe)]=_0x220a11(0x10b),_0x17f839[_0x220a11(0x1c8)]=_0x2b141f['connectionId'],_0x17f839[_0x220a11(0x168)]=_0x47b6e3,_0x17f839[_0x220a11(0x13b)]=_0x25c3ce[_0x220a11(0x183)],_0x228c83[_0x220a11(0x16e)](_0x17f839);continue;}catch(_0x2fcabf){const _0x5735c8={};_0x5735c8[_0x220a11(0xfe)]=_0x220a11(0x179),_0x5735c8[_0x220a11(0x1c8)]=_0x2b141f['connectionId'],_0x5735c8['cause']=_0x2fcabf[_0x220a11(0xfe)]||_0x220a11(0x1b2),_0x61bedb[_0x220a11(0x16e)](_0x5735c8);continue;}const _0x190f18=_0x526b9d['transactionId']&&_0x187135[_0x220a11(0x178)]==='frozen'&&_0x187135[_0x220a11(0x108)]===_0x526b9d['transactionId']&&_0xca61e8&&_0xca61e8[_0x220a11(0x178)]!==_0x220a11(0x127)&&_0xca61e8[_0x220a11(0x1bc)]===_0x2b141f[_0x220a11(0x1bc)]&&_0x3ae065[_0x220a11(0x13b)]===_0x220a11(0x1e6)&&_0x214c89[_0x220a11(0x171)]?.[_0x220a11(0xfd)]===_0x220a11(0x141)&&!_0x2b141f['childPid']&&_0x3ae065[_0x220a11(0x105)]===null;if(_0x190f18){const _0x13617d={};_0x13617d[_0x220a11(0xfe)]=_0x220a11(0x120),_0x13617d[_0x220a11(0x1c8)]=_0x2b141f[_0x220a11(0x1c8)],_0x13617d['transactionId']=_0x526b9d[_0x220a11(0x108)],_0x228c83['push'](_0x13617d);continue;}if(_0xa25b34[_0x220a11(0x155)]&&_0x3ae065[_0x220a11(0x13b)]!=='authenticated-live-process'&&_0x526b9d[_0x220a11(0x1a5)]===!![]&&(!_0xca61e8||_0xca61e8[_0x220a11(0x1bc)]===_0x2b141f[_0x220a11(0x1bc)]))try{const _0x26c789=await retryAdmission(()=>archiveAndRetireReceipt(_0x47a872,_0x2b141f,_0xca61e8,_0x220a11(0x17a))),_0x41da67={};_0x41da67[_0x220a11(0xfe)]=_0x526b9d[_0x220a11(0x17f)]?'CONNECTION_FORCE_RETIRED':_0x220a11(0x1b3),_0x41da67[_0x220a11(0x1c8)]=_0x2b141f['connectionId'],_0x41da67[_0x220a11(0x168)]=_0x26c789,_0x41da67['evidence']=_0x220a11(0x17a),_0x228c83[_0x220a11(0x16e)](_0x41da67);continue;}catch(_0x522315){const _0x55ac4d={};_0x55ac4d[_0x220a11(0xfe)]='CONNECTION_CLOSURE_UNCONFIRMED',_0x55ac4d[_0x220a11(0x1c8)]=_0x2b141f['connectionId'],_0x55ac4d[_0x220a11(0x104)]=_0x89e262,_0x55ac4d['cause']=_0x522315['code']||'CONNECTION_CLOSURE_FAILED',_0x61bedb['push'](_0x55ac4d);continue;}if(_0x526b9d[_0x220a11(0x17f)]===!![]&&_0x526b9d[_0x220a11(0x1a5)]===!![]&&_0x3ae065[_0x220a11(0x13b)]!==_0x220a11(0x1e6)&&_0x89e262!==_0x220a11(0x141)){if(_0xa25b34[_0x220a11(0x155)])try{const _0x5a5d3a=await retryAdmission(()=>archiveAndRetireReceipt(_0x47a872,_0x2b141f,_0xca61e8,_0x220a11(0xf7))),_0x4484bd={};_0x4484bd['code']=_0x220a11(0x18a),_0x4484bd[_0x220a11(0x1c8)]=_0x2b141f[_0x220a11(0x1c8)],_0x4484bd[_0x220a11(0x168)]=_0x5a5d3a,_0x4484bd['classification']=_0x89e262,_0x4484bd['evidence']=_0x220a11(0x17a),_0x228c83[_0x220a11(0x16e)](_0x4484bd);continue;}catch(_0x4d1fa2){const _0x13be7a={};_0x13be7a[_0x220a11(0xfe)]='CONNECTION_FORCE_RETIRE_FAILED',_0x13be7a[_0x220a11(0x1c8)]=_0x2b141f[_0x220a11(0x1c8)],_0x13be7a[_0x220a11(0x104)]=_0x89e262,_0x13be7a['cause']=_0x4d1fa2[_0x220a11(0xfe)]||_0x220a11(0x19d),_0x61bedb['push'](_0x13be7a);continue;}const _0x1be63e={};_0x1be63e['code']='FORCE_RECONNECT_REQUIRED',_0x1be63e[_0x220a11(0x1c8)]=_0x2b141f[_0x220a11(0x1c8)],_0x1be63e[_0x220a11(0x104)]=_0x89e262,_0x1be63e[_0x220a11(0x1d1)]=_0x214c89['code']||(!_0x2b141f[_0x220a11(0x1bc)]?_0x220a11(0x10c):!_0x2b141f[_0x220a11(0x1a7)]?'SUPERVISOR_PROCESS_START_MISSING':'AUTHENTICATED_RECONNECT_REQUIRED'),_0x61bedb[_0x220a11(0x16e)](_0x1be63e);continue;}if(_0x89e262!==_0x220a11(0x141))_0x61bedb[_0x220a11(0x16e)]({'code':_0x89e262===_0x220a11(0x1b8)?'CONNECTION_START_PENDING':_0x89e262===_0x220a11(0x139)?_0x220a11(0x1d7):_0x89e262==='pid-reused'?_0x220a11(0x1ad):'CONNECTION_UNCONFIRMED','connectionId':_0x2b141f['connectionId'],'classification':_0x89e262,'cause':_0x214c89[_0x220a11(0xfe)]||_0x3ae065[_0x220a11(0xfe)]||_0x3ae065['status']});}}const _0x532837=path[_0x220a11(0x149)](fs['realpathSync'](_0x47a872),'.agents/runtime/connections'),_0x22039a=require('../core/admission-fence')[_0x220a11(0x1aa)](_0x47a872);for(const _0x451df6 of Object[_0x220a11(0x196)](_0x22039a[_0x220a11(0x1e2)]||{})){const _0xed6fee=_0x26b30d['some'](_0x4da946=>_0x4da946[_0x220a11(0x1c8)]===_0x451df6['connectionId']&&_0x4da946[_0x220a11(0x127)]!==!![]);if(_0x451df6[_0x220a11(0x178)]===_0x220a11(0x127)||_0xed6fee)continue;const _0x598a4c=fs[_0x220a11(0x1e7)](path[_0x220a11(0x149)](_0x532837,_0x451df6[_0x220a11(0x1c8)]+_0x220a11(0x1d6)));if(!_0x598a4c&&_0x526b9d[_0x220a11(0x1a5)]===!![]){let _0x2dd0d3;try{_0x2dd0d3=_0x1676da(_0x451df6['supervisorPid']);}catch(_0x15a30e){const _0x23555f={};_0x23555f['status']=_0x220a11(0x1ba),_0x23555f[_0x220a11(0xfe)]=_0x15a30e[_0x220a11(0xfe)]||_0x220a11(0x14a),_0x2dd0d3=_0x23555f;}if(_0x2dd0d3===null)try{const _0x20d860=await retryAdmission(()=>archiveAndRetireMember(_0x47a872,_0x451df6,_0x220a11(0x17a),{'status':_0x220a11(0x14d),'pid':_0x451df6[_0x220a11(0x1bc)],'start':_0x451df6[_0x220a11(0x1a7)]||null},_0x526b9d[_0x220a11(0x1bf)])),_0xd0779={};_0xd0779[_0x220a11(0xfe)]=_0x220a11(0x11d),_0xd0779[_0x220a11(0x1c8)]=_0x451df6[_0x220a11(0x1c8)],_0xd0779[_0x220a11(0x168)]=_0x20d860,_0xd0779[_0x220a11(0x13b)]=_0x220a11(0x17a),_0x228c83[_0x220a11(0x16e)](_0xd0779);continue;}catch(_0x35947d){const _0x38df90={};_0x38df90[_0x220a11(0xfe)]=_0x220a11(0x179),_0x38df90[_0x220a11(0x1c8)]=_0x451df6[_0x220a11(0x1c8)],_0x38df90[_0x220a11(0x1d1)]=_0x35947d[_0x220a11(0xfe)]||_0x220a11(0x12f),_0x61bedb[_0x220a11(0x16e)](_0x38df90);continue;}if(_0x2dd0d3&&_0x2dd0d3[_0x220a11(0xfd)]===_0x220a11(0x1ba)){const _0x23c7da={};_0x23c7da[_0x220a11(0xfe)]=_0x220a11(0x15a),_0x23c7da[_0x220a11(0x1c8)]=_0x451df6[_0x220a11(0x1c8)],_0x23c7da['classification']='ownership-unverified',_0x23c7da[_0x220a11(0x1d1)]=_0x2dd0d3[_0x220a11(0xfe)]||_0x220a11(0x14a),_0x61bedb['push'](_0x23c7da);continue;}}let _0x5d5b33=![];if(/^[a-zA-Z0-9._-]{4,128}$/[_0x220a11(0x1cb)](_0x451df6[_0x220a11(0x1c8)]||'')){const _0x5ea04e=readJson(path[_0x220a11(0x149)](_0x532837,_0x451df6[_0x220a11(0x1c8)]+_0x220a11(0x1d6)));if(_0x5ea04e?.[_0x220a11(0x127)]===!![]&&_0x5ea04e[_0x220a11(0x1ca)]&&require(_0x220a11(0x1a0))[_0x220a11(0x156)](_0x5ea04e[_0x220a11(0x1ca)],_0x47a872)&&_0x5ea04e[_0x220a11(0x1bc)]===_0x451df6[_0x220a11(0x1bc)]&&(typeof _0x5ea04e[_0x220a11(0x1a7)]===_0x220a11(0x16b)&&_0x5ea04e[_0x220a11(0x1a7)]===_0x451df6['supervisorProcessStart']||!_0x5ea04e[_0x220a11(0x1a7)]&&!_0x451df6['supervisorProcessStart'])&&typeof _0x5ea04e[_0x220a11(0xfa)]==='string')try{const _0x340a50=path[_0x220a11(0x149)](_0x532837,_0x220a11(0x18e),_0x451df6[_0x220a11(0x1c8)]+_0x220a11(0x1c7)),_0x485e5b=fs[_0x220a11(0x1e7)](_0x340a50)?_0x340a50:path['join'](_0x47a872,_0x220a11(0x132),crypto[_0x220a11(0x1bd)](_0x220a11(0x13d))[_0x220a11(0x166)](_0x451df6[_0x220a11(0x1c8)])[_0x220a11(0x103)](_0x220a11(0x143))+'.key');if(fs['lstatSync'](_0x485e5b)['isSymbolicLink']())throw new Error(_0x220a11(0x1e3));const {closureMac:_0x3ef71d,..._0x5a3577}=_0x5ea04e,_0x18d251=crypto[_0x220a11(0x17b)]('sha256',fs[_0x220a11(0x114)](_0x485e5b))['update'](JSON[_0x220a11(0x10d)](_0x5a3577))[_0x220a11(0x103)](_0x220a11(0x143));_0x5d5b33=_0x18d251[_0x220a11(0x188)]===_0x3ef71d[_0x220a11(0x188)]&&crypto[_0x220a11(0x177)](Buffer[_0x220a11(0xfc)](_0x18d251),Buffer[_0x220a11(0xfc)](_0x3ef71d));if(_0x5d5b33){const _0x4d6d36=require('../core/owned-process')[_0x220a11(0x1bf)](_0x451df6[_0x220a11(0x1bc)]);if(_0x4d6d36&&String(_0x4d6d36[_0x220a11(0x15c)])===String(_0x451df6[_0x220a11(0x1a7)]))_0x5d5b33=![];else{if(_0x4d6d36)_0x5d5b33=![];}}if(_0x5d5b33&&_0x526b9d[_0x220a11(0x1a5)]===!![])require(_0x220a11(0x145))[_0x220a11(0x147)](_0x47a872,_0x451df6[_0x220a11(0x1c8)],_0x451df6[_0x220a11(0x1bc)],!![],_0x451df6[_0x220a11(0x1a7)]);}catch{_0x5d5b33=![];}}const _0x343cb6={};_0x343cb6[_0x220a11(0xfe)]=_0x220a11(0x15a),_0x343cb6[_0x220a11(0x1c8)]=_0x451df6[_0x220a11(0x1c8)],_0x343cb6[_0x220a11(0x104)]=_0x220a11(0x142);const _0x42b2f0={};_0x42b2f0[_0x220a11(0xfe)]='CONNECTION_CLOSURE_RECONCILED',_0x42b2f0['connectionId']=_0x451df6[_0x220a11(0x1c8)];if(!_0x5d5b33)_0x61bedb['push'](_0x343cb6);else _0x228c83['push'](_0x42b2f0);}const _0x34b90c=new Map();for(const _0x5e75f4 of _0x61bedb){const _0x404a4a=_0x5e75f4['code']+':'+(_0x5e75f4['cause']||''),_0xee537a={..._0x5e75f4};_0xee537a[_0x220a11(0x1be)]=[];const _0x37b1e1=_0x34b90c[_0x220a11(0x1c0)](_0x404a4a)||_0xee537a;_0x37b1e1['connectionIds'][_0x220a11(0x16e)](_0x5e75f4[_0x220a11(0x1c8)]),_0x34b90c[_0x220a11(0x19b)](_0x404a4a,_0x37b1e1);}return{'connections':_0x5b86e4,'blockers':_0x61bedb,'blockerGroups':[..._0x34b90c[_0x220a11(0x196)]()],'diagnostics':_0x228c83};}const _0x4173aa={};_0x4173aa[_0x213d50(0x181)]=probeConnection,_0x4173aa['controlConnection']=controlConnection,_0x4173aa['probeWorkspaceConnections']=probeWorkspaceConnections,_0x4173aa[_0x213d50(0x1e0)]=listWorkspaceReceipts,_0x4173aa[_0x213d50(0x1e5)]=reconcileWorkspaceConnections,_0x4173aa[_0x213d50(0x116)]=archiveAndRetireMember,module[_0x213d50(0x151)]=_0x4173aa;
|