apt-mcp-agent-setup 3.5.36 → 3.5.61

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.
Files changed (183) hide show
  1. package/README.md +123 -123
  2. package/bin/cli.js +1 -1
  3. package/build-input.json +302 -241
  4. package/bundle/NOTICES.md +0 -0
  5. package/bundle/core.enc +0 -0
  6. package/bundle/mcp-rules.enc +0 -0
  7. package/bundle/skills-aso.enc +0 -0
  8. package/bundle/skills-ba.enc +0 -0
  9. package/bundle/skills-base.enc +0 -0
  10. package/bundle/skills-be.enc +0 -0
  11. package/bundle/skills-design.enc +0 -0
  12. package/bundle/skills-fe.enc +0 -0
  13. package/bundle/skills-marketing.enc +0 -0
  14. package/bundle/skills-mobile.enc +0 -0
  15. package/bundle/skills-pm.enc +0 -0
  16. package/docs/technical-sources.md +7 -7
  17. package/integrity-manifest.json +183 -178
  18. package/package.json +1 -1
  19. package/release-check.js +30 -30
  20. package/src/backends/browser-tools.js +1 -1
  21. package/src/backends/index-cache-authority.js +1 -1
  22. package/src/backends/index-command.js +1 -1
  23. package/src/backends/index-contract.json +11 -11
  24. package/src/backends/index-maintenance.js +1 -1
  25. package/src/backends/index-store.js +1 -1
  26. package/src/backends/linked-worktrees.js +1 -0
  27. package/src/backends/profiles.js +1 -1
  28. package/src/backends/review_graph.py +125 -103
  29. package/src/backends/source-discovery.js +1 -1
  30. package/src/core/admission-fence.js +1 -1
  31. package/src/core/aso-import.js +1 -1
  32. package/src/core/backend-lease-recovery.js +1 -1
  33. package/src/core/boot-evidence.js +1 -1
  34. package/src/core/caller-context.js +1 -1
  35. package/src/core/catalog.js +1 -1
  36. package/src/core/claude-caller-authority.js +1 -1
  37. package/src/core/claude-invocation.js +1 -1
  38. package/src/core/claude-launch-recovery.js +1 -1
  39. package/src/core/claude-native.js +1 -1
  40. package/src/core/claude-plan.js +1 -1
  41. package/src/core/claude-transcript-scan.js +1 -1
  42. package/src/core/claude-worker-transcript.js +1 -1
  43. package/src/core/codex-host-metadata.js +1 -1
  44. package/src/core/codex-transcript-receipt.js +1 -1
  45. package/src/core/connection-inspector.js +1 -1
  46. package/src/core/content-hash-cache.js +1 -1
  47. package/src/core/context-metrics.js +1 -1
  48. package/src/core/doctor.js +1 -1
  49. package/src/core/draining-completion.js +1 -1
  50. package/src/core/execution.js +1 -1
  51. package/src/core/git-context.js +1 -1
  52. package/src/core/hook-bridge.js +1 -1
  53. package/src/core/hook-diagnostics.js +1 -1
  54. package/src/core/hook-lease.js +1 -1
  55. package/src/core/host-adapters.js +1 -1
  56. package/src/core/interrupted-boot-transport-proof.js +1 -1
  57. package/src/core/interrupted-natural-closure-proof.js +1 -1
  58. package/src/core/interrupted-operation-audit.js +1 -1
  59. package/src/core/interrupted-transport-proof.js +1 -1
  60. package/src/core/ipc-envelope.js +1 -1
  61. package/src/core/legacy-retirement-proof.js +1 -1
  62. package/src/core/memory-scope.js +1 -1
  63. package/src/core/memory-store.js +1 -1
  64. package/src/core/model-inventory.js +1 -1
  65. package/src/core/model-routing.js +1 -1
  66. package/src/core/native-dispatch.js +1 -1
  67. package/src/core/native-receipt.js +1 -1
  68. package/src/core/native-retirement.js +1 -1
  69. package/src/core/node-version.js +1 -1
  70. package/src/core/npm-cli.js +1 -1
  71. package/src/core/owned-command-child.js +1 -1
  72. package/src/core/owned-command.js +1 -1
  73. package/src/core/owned-lock.js +1 -1
  74. package/src/core/owned-process.js +1 -1
  75. package/src/core/pipeline-journal.js +1 -1
  76. package/src/core/presentations.js +1 -1
  77. package/src/core/quality-artifacts.js +1 -1
  78. package/src/core/quality.js +1 -1
  79. package/src/core/read-command.js +1 -1
  80. package/src/core/readonly-skill.js +1 -1
  81. package/src/core/recovery-archive.js +1 -1
  82. package/src/core/recovery-proof.js +1 -1
  83. package/src/core/resource-transaction.js +1 -1
  84. package/src/core/run-checkpoint.js +1 -1
  85. package/src/core/run-compatibility.js +1 -1
  86. package/src/core/run-owner.js +1 -0
  87. package/src/core/run-state-codec.js +1 -1
  88. package/src/core/runtime-authority.js +1 -1
  89. package/src/core/runtime-info.js +1 -1
  90. package/src/core/runtime-ownership.js +1 -1
  91. package/src/core/session.js +1 -1
  92. package/src/core/shared-checkout.js +1 -1
  93. package/src/core/skill-companions.js +1 -1
  94. package/src/core/skill-names.js +1 -1
  95. package/src/core/storage-retry.js +1 -1
  96. package/src/core/tool-contracts.js +1 -1
  97. package/src/core/transport-boot-contract.json +12 -12
  98. package/src/core/transport-close-contract.json +10 -10
  99. package/src/core/transport-contract.json +10 -10
  100. package/src/core/transport-pending-boot-contract.json +12 -12
  101. package/src/core/update-control.js +1 -1
  102. package/src/core/upgrade-runs.js +1 -1
  103. package/src/core/upgrade-stop.js +1 -1
  104. package/src/core/windows-job.js +1 -1
  105. package/src/core/workflow-policy.js +1 -1
  106. package/src/core/workspace-generation.js +1 -1
  107. package/src/core/workspace-path.js +1 -1
  108. package/src/installer/bounded-command.js +1 -1
  109. package/src/installer/candidate-preflight.js +1 -1
  110. package/src/installer/claude-commands.js +1 -1
  111. package/src/installer/codex-hook-trust.js +1 -0
  112. package/src/installer/connection-activation.js +1 -1
  113. package/src/installer/connection-supervisor.js +1 -1
  114. package/src/installer/deployment-draft.js +1 -1
  115. package/src/installer/gateway-context.js +1 -1
  116. package/src/installer/gateway-migration.js +1 -1
  117. package/src/installer/gateway-runtime.js +1 -1
  118. package/src/installer/global-setup.js +1 -1
  119. package/src/installer/hook-context-client.js +1 -1
  120. package/src/installer/hook-dispatcher.js +179 -179
  121. package/src/installer/host-hooks.js +1 -1
  122. package/src/installer/index-interruption-recovery.js +1 -1
  123. package/src/installer/index-recovery.js +1 -1
  124. package/src/installer/install-intent.js +1 -1
  125. package/src/installer/interrupted-operation-recovery.js +1 -1
  126. package/src/installer/legacy-prepared-plan.js +1 -1
  127. package/src/installer/legacy-registration.js +1 -1
  128. package/src/installer/managed-config.js +1 -1
  129. package/src/installer/migration-scope.js +1 -1
  130. package/src/installer/platform-config.js +1 -1
  131. package/src/installer/prerequisites.js +1 -1
  132. package/src/installer/presentations.js +1 -1
  133. package/src/installer/project-outcome.js +1 -1
  134. package/src/installer/project-setup.js +1 -1
  135. package/src/installer/recovery-backup-retention.js +1 -1
  136. package/src/installer/registration-closure.js +1 -1
  137. package/src/installer/registration-plan.js +1 -1
  138. package/src/installer/registration-receipt.js +1 -1
  139. package/src/installer/registrations.js +1 -1
  140. package/src/installer/runtime-activation.js +1 -1
  141. package/src/installer/runtime-child.js +1 -1
  142. package/src/installer/runtime-cleanup.js +1 -1
  143. package/src/installer/runtime-lock.js +1 -1
  144. package/src/installer/runtime-store.js +1 -1
  145. package/src/installer/runtime-supervisor.js +1 -1
  146. package/src/installer/setup-wizard.js +1 -1
  147. package/src/installer/stale-run-release.js +1 -1
  148. package/src/installer/uninstall.js +1 -0
  149. package/src/installer/update-addons.js +1 -1
  150. package/src/installer/update-cleanup.js +1 -1
  151. package/src/installer/update-executor.js +1 -1
  152. package/src/installer/update-history.js +1 -1
  153. package/src/installer/update-registration.js +1 -1
  154. package/src/installer/update-report.js +1 -1
  155. package/src/installer/update-request.js +1 -1
  156. package/src/installer/update-scope.js +1 -1
  157. package/src/installer/workspace-registry.js +1 -1
  158. package/src/installer/workspace-transaction.js +1 -1
  159. package/src/installer/workspace-update.js +1 -1
  160. package/src/license/crypto.js +1 -1
  161. package/src/license/fingerprint.js +1 -1
  162. package/src/license/terms.js +1 -1
  163. package/src/license/verify.js +1 -1
  164. package/src/presets/index.js +1 -1
  165. package/src/proxy/backends.js +1 -1
  166. package/src/proxy/browser-sessions.js +1 -1
  167. package/src/proxy/core-tools.js +1 -1
  168. package/src/proxy/pipeline.js +1 -1
  169. package/src/proxy/public-catalog.js +1 -1
  170. package/src/proxy/router.config.js +1 -1
  171. package/src/proxy/router.js +1 -1
  172. package/src/proxy/run-summary.js +1 -1
  173. package/src/proxy/server-instructions.js +1 -0
  174. package/src/proxy/server.js +1 -1
  175. package/src/proxy/workspace-gateway.js +1 -1
  176. package/src/templates/AGENTS.md +1 -1
  177. package/src/templates/CLAUDE.md +1 -1
  178. package/src/templates/GEMINI.md +1 -1
  179. package/src/templates/apt-runtime.md +5 -4
  180. package/src/templates/copilot-instructions.md +1 -1
  181. package/src/templates/cursorrules.mdc +1 -1
  182. package/src/templates/mcp-tools.md +4 -4
  183. package/src/templates/windsurfrules.md +1 -1
@@ -1 +1 @@
1
- 'use strict';const _0x1f841f=_0x4d95;(function(_0x16a525,_0x576e71){const _0x3a1fcc=_0x4d95,_0x33b65a=_0x16a525();while(!![]){try{const _0x1c5bd1=parseInt(_0x3a1fcc(0x171))/0x1*(parseInt(_0x3a1fcc(0x17d))/0x2)+parseInt(_0x3a1fcc(0x16c))/0x3+-parseInt(_0x3a1fcc(0x143))/0x4+parseInt(_0x3a1fcc(0x160))/0x5*(parseInt(_0x3a1fcc(0x154))/0x6)+parseInt(_0x3a1fcc(0x16f))/0x7+-parseInt(_0x3a1fcc(0x17f))/0x8+-parseInt(_0x3a1fcc(0x161))/0x9*(parseInt(_0x3a1fcc(0x165))/0xa);if(_0x1c5bd1===_0x576e71)break;else _0x33b65a['push'](_0x33b65a['shift']());}catch(_0x5b9695){_0x33b65a['push'](_0x33b65a['shift']());}}}(_0x3bd5,0x68b75));const {readFence}=require(_0x1f841f(0x146)),{sameWorkspace}=require(_0x1f841f(0x14a));function _0x3bd5(){const _0x24e64e=['lI93B3jRC3bHy2uTCgf0Aa','zxHLy3v0Aw9U','CM9Szq','DgfZAW','Cgf0Aa','ywn0AxzL','ChjVAMvJDfbHDgG','z2v0u2vZC2LVBLj1BNrPBwu','CgLWzwXPBMvnyw5Hz2vY','D3jPDgvY','mJi5nZGYuuPjyuLf','Bw9Kzq','q0fmtevsx0fuvevnufrFtuLttufuq0G','C3rVCfjLyxnVBG','y29Kzq','CNvUswq','zhjHAw5PBMC','tKfusvzfx1DssvrfuL9srvfvsvjfra','yxr0zw1WDeLK','C3rHDhvZ','yM9VDhn0CMfWCgvK','q0fmtevsx0fvveHpuKLuwv9dsefor0ve','ntbxz2LdsLG','mJu1otmZEunYufnQ','zxHWB3j0CW','CgfYC2u','reLtuefuq0HFt1DorvjtseLqx1vos05pv04','mZKWrwfjywHk','yxr0zw1WDhm','AxngAw5PDgu','tKfusvzfx1jfu0vsvKfusu9ox1jfuvvjuKve','yxv0Ag9YAxPLrhjHAw5PBMDdB21WBgv0Aw9U','C3rHDgu','y2HHBMDLzef0','mJm3otG1ogP5DePwCW','y2fSBgvYq29UDgv4DfjLCxvPCMvK','y29VCMrPBMf0B3i','ndm4nZu3mKXhrwjNvW','CMvHzfj1BG','mu1sCxvVwq','ywn0B3jjza','ywXSB3DLza','CgLWzwXPBMvFDMvYAwz5','qvbux1vqrefurv9qru5esu5h','qvbux1DsqvbqrurFvu5hvufsrevex1rpt0Xt','CgvLAW','C3rVCfjLCxvLC3rLza','zMLUza','x2fWDenVBNrLEhq','C3rVChbLza','C2vZC2LVBKLK','mta5ndKWognhthniBa','yM91BMrqAxbLBgLUzq','mJe3ody0ofHKEgHmvq','AgfZ','lI9OB29RlwjYAwrNzq','mJe2mdG2mgX4uxjzzq','zxbVy2G','Ag9ZDfnLC3nPB25jza','lI9Hzg1PC3nPB24TzMvUy2u','y2fUtxv0yxrL','Aw5ZCgvJDa','CgXHBG'];_0x3bd5=function(){return _0x24e64e;};return _0x3bd5();}function _0x4d95(_0x188958,_0x4911a9){_0x188958=_0x188958-0x143;const _0x3bd50c=_0x3bd5();let _0x4d95e1=_0x3bd50c[_0x188958];if(_0x4d95['hFSGzu']===undefined){var _0x14dd95=function(_0x5e48df){const _0x135777='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x3fef5c='',_0x5546c5='';for(let _0xd9e538=0x0,_0x313fe1,_0x5a4a1e,_0x19e03d=0x0;_0x5a4a1e=_0x5e48df['charAt'](_0x19e03d++);~_0x5a4a1e&&(_0x313fe1=_0xd9e538%0x4?_0x313fe1*0x40+_0x5a4a1e:_0x5a4a1e,_0xd9e538++%0x4)?_0x3fef5c+=String['fromCharCode'](0xff&_0x313fe1>>(-0x2*_0xd9e538&0x6)):0x0){_0x5a4a1e=_0x135777['indexOf'](_0x5a4a1e);}for(let _0x49f8b3=0x0,_0x36887d=_0x3fef5c['length'];_0x49f8b3<_0x36887d;_0x49f8b3++){_0x5546c5+='%'+('00'+_0x3fef5c['charCodeAt'](_0x49f8b3)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x5546c5);};_0x4d95['JsDgpw']=_0x14dd95,_0x4d95['OJgbty']={},_0x4d95['hFSGzu']=!![];}const _0x4bf569=_0x3bd50c[0x0],_0x4a3a44=_0x188958+_0x4bf569,_0xa69784=_0x4d95['OJgbty'][_0x4a3a44];return!_0xa69784?(_0x4d95e1=_0x4d95['JsDgpw'](_0x4d95e1),_0x4d95['OJgbty'][_0x4a3a44]=_0x4d95e1):_0x4d95e1=_0xa69784,_0x4d95e1;}async function authorizeDrainingCompletion(_0x313fe1,_0x5a4a1e,_0x19e03d={}){const _0x5b5d92=_0x1f841f,_0x49f8b3=readFence(_0x313fe1[_0x5b5d92(0x150)]),_0x36887d=_0xd262a3=>({'allowed':![],'epoch':_0x49f8b3[_0x5b5d92(0x144)],'code':_0xd262a3});if(_0x49f8b3[_0x5b5d92(0x16a)]!==_0x5b5d92(0x15a))return _0x36887d(_0x5b5d92(0x175));if(_0x49f8b3[_0x5b5d92(0x178)])return _0x36887d('RUNTIME_UPGRADE_STOP_REQUESTED');if(_0x313fe1[_0x5b5d92(0x16d)]||_0x19e03d['_aptContext'])try{await _0x313fe1['callerContextBroker'][_0x5b5d92(0x148)](_0x19e03d[_0x5b5d92(0x17a)],_0x5a4a1e,_0x19e03d);const _0x59fc7d={};return _0x59fc7d[_0x5b5d92(0x173)]=!![],_0x59fc7d[_0x5b5d92(0x144)]=_0x49f8b3[_0x5b5d92(0x144)],_0x59fc7d;}catch(_0x349c05){return _0x36887d(_0x349c05[_0x5b5d92(0x158)]||'CALLER_CONTEXT_REQUIRED');}const _0x3ecd8d=_0x313fe1[_0x5b5d92(0x17e)];if(!_0x3ecd8d||!_0x313fe1['hostSessionId'])return _0x36887d(_0x5b5d92(0x164));const _0x1d0419=_0x313fe1[_0x5b5d92(0x151)]()[_0x5b5d92(0x177)](_0x313fe1['hostSessionId']);if(!_0x1d0419?.[_0x5b5d92(0x15e)]||_0x1d0419[_0x5b5d92(0x155)]===_0x5b5d92(0x149)||_0x1d0419[_0x5b5d92(0x17b)])return _0x36887d(_0x5b5d92(0x15f));if(_0x19e03d[_0x5b5d92(0x17c)]&&_0x19e03d[_0x5b5d92(0x17c)]!==_0x313fe1['hostSessionId']||_0x19e03d['task']&&_0x19e03d[_0x5b5d92(0x14d)]!==_0x3ecd8d['task']||_0x19e03d[_0x5b5d92(0x159)]&&_0x19e03d[_0x5b5d92(0x159)]!==_0x3ecd8d[_0x5b5d92(0x159)])return _0x36887d(_0x5b5d92(0x156));const _0x4feed0=_0x313fe1[_0x5b5d92(0x152)][_0x5b5d92(0x170)](_0x3ecd8d[_0x5b5d92(0x14d)],_0x3ecd8d[_0x5b5d92(0x159)]);if(!_0x4feed0||_0x4feed0[_0x5b5d92(0x15d)]!=='active'||_0x4feed0[_0x5b5d92(0x14b)]?.[_0x5b5d92(0x157)]||!sameWorkspace(_0x4feed0['workspace']?.[_0x5b5d92(0x14e)],_0x313fe1[_0x5b5d92(0x150)]))return _0x36887d(_0x5b5d92(0x15f));const _0x1f33f5=!require(_0x5b5d92(0x181))[_0x5b5d92(0x176)][_0x5b5d92(0x180)](_0x5a4a1e);if(!_0x1f33f5&&_0x5a4a1e!==_0x5b5d92(0x174))return _0x36887d(_0x5b5d92(0x175));const _0x36e4e8=_0x1f33f5?_0x5b5d92(0x16e):_0x19e03d[_0x5b5d92(0x172)]||_0x5b5d92(0x16e),_0x243b01=_0x1f33f5?_0x1d0419[_0x5b5d92(0x166)]?.['coordinator']||_0x1d0419[_0x5b5d92(0x15c)]:_0x19e03d[_0x5b5d92(0x15c)],_0x3248f8=_0x4feed0[_0x5b5d92(0x14b)][_0x5b5d92(0x14f)][_0x5b5d92(0x179)](_0x939d6e=>_0x939d6e[_0x5b5d92(0x15c)]===_0x243b01&&_0x939d6e[_0x5b5d92(0x172)]===_0x36e4e8&&_0x939d6e[_0x5b5d92(0x17c)]===_0x313fe1[_0x5b5d92(0x145)]&&_0x939d6e[_0x5b5d92(0x14c)]===_0x5b5d92(0x153));if(!_0x3248f8||!Number[_0x5b5d92(0x167)](Date['parse'](_0x3248f8['reservedAt']))||Date['parse'](_0x3248f8['reservedAt'])>=Date[_0x5b5d92(0x163)](_0x49f8b3[_0x5b5d92(0x16b)]))return _0x36887d(_0x5b5d92(0x168));const _0x595087=await _0x313fe1['pipelineManager'][_0x5b5d92(0x147)]({'task':_0x3ecd8d['task'],'runId':_0x3ecd8d[_0x5b5d92(0x159)],'sessionId':_0x313fe1[_0x5b5d92(0x145)],'actorId':_0x36e4e8,'attemptId':_0x243b01,'workspacePath':_0x313fe1[_0x5b5d92(0x150)],'mode':_0x1d0419[_0x5b5d92(0x155)]}),_0x49c734={};return _0x49c734[_0x5b5d92(0x173)]=!![],_0x49c734[_0x5b5d92(0x144)]=_0x49f8b3[_0x5b5d92(0x144)],_0x595087[_0x5b5d92(0x173)]===!![]?_0x49c734:_0x36887d(_0x595087[_0x5b5d92(0x158)]||_0x5b5d92(0x15b));}const _0xd9e538={};_0xd9e538[_0x1f841f(0x169)]=authorizeDrainingCompletion,module[_0x1f841f(0x162)]=_0xd9e538;
1
+ 'use strict';const _0x419f47=_0x1731;(function(_0x4e936c,_0x2f32e9){const _0x1b30e9=_0x1731,_0x19fea7=_0x4e936c();while(!![]){try{const _0x4ab7ef=parseInt(_0x1b30e9(0xc5))/0x1+parseInt(_0x1b30e9(0xd4))/0x2+parseInt(_0x1b30e9(0xc9))/0x3+parseInt(_0x1b30e9(0xbc))/0x4*(parseInt(_0x1b30e9(0xa0))/0x5)+-parseInt(_0x1b30e9(0xa9))/0x6+parseInt(_0x1b30e9(0xac))/0x7+-parseInt(_0x1b30e9(0xba))/0x8*(parseInt(_0x1b30e9(0xb1))/0x9);if(_0x4ab7ef===_0x2f32e9)break;else _0x19fea7['push'](_0x19fea7['shift']());}catch(_0x2e9f51){_0x19fea7['push'](_0x19fea7['shift']());}}}(_0xd098,0x2b17a));function _0xd098(){const _0x5bf6f9=['yxv0Ag9YAxPLrhjHAw5PBMDdB21WBgv0Aw9U','q0fmtevsx0fuvevnufrFtuLttufuq0G','q0fmtevsx0nptLrfwfrFuKvrvuLsruq','y2HHBMDLzef0','y2fSBgvYq29UDgv4DejYB2TLCG','yM91BMrqAxbLBgLUzq','nJa2mtHYzwzSCgC','tKfusvzfx1jfu0vsvKfusu9ox1jfuvvjuKve','C3rVCfjLCxvLC3rLza','CMvHzfj1BG','otC4odG4zxzkuLP1','C3rVChbLza','AgfZ','ywXSB3DLza','ChjVAMvJDfbHDgG','DgfZAW','C2vZC2LVBKLK','lI9Hzg1PC3nPB24TzMvUy2u','C3rHDgu','x2fWDenVBNrLEhq','CNvUswq','nti2vw9is3rd','zhjHAw5PBMC','mtu0nuzUCMLtBa','C3rVCfjLyxnVBG','q0fmtevsx0fvveHpuKLuwv9dsefor0ve','lI9OB29RlwjYAwrNzq','Bw9Kzq','CgLWzwXPBMvnyw5Hz2vY','zxbVy2G','D3jPDgvY','y29VCMrPBMf0B3i','mty4mdm1ngLOuvLKEa','ywn0B3jjza','Ag9ZDfnLC3nPB25jza','mtu4mte3nhPUzgjOyG','lI93B3jRC3bHy2uTCgf0Aa','CgfYC2u','tKfusvzfx1DssvrfuL9srvfvsvjfra','yxr0zw1WDeLK','otL3EfDeENG','y2fSBgvYq29UDgv4DfjLCxvPCMvK','CgvLAW','uLvoveLnrv9vueDsqurfx1nut1bFuKvrvuvtveve','CM9Szq','y29Kzq','zxHWB3j0CW','yxr0zw1WDhm','Aw5ZCgvJDa','mtKZntKYBgLIt2jV','qvbux1vqrefurv9qru5esu5h','mtqYmhrXwgfxAq','ywn0AxzL','zxHLy3v0Aw9U'];_0xd098=function(){return _0x5bf6f9;};return _0xd098();}const {readFence}=require(_0x419f47(0xd0)),{sameWorkspace}=require(_0x419f47(0xad));async function authorizeDrainingCompletion(_0x3ed2cd,_0x2159f9,_0x32aea9={}){const _0x46afd6=_0x419f47,_0x55a775=readFence(_0x3ed2cd[_0x46afd6(0xcd)]),_0x3f0f9e=_0x4bfc9f=>({'allowed':![],'epoch':_0x55a775['epoch'],'code':_0x4bfc9f});if(_0x55a775[_0x46afd6(0xd1)]!==_0x46afd6(0x9f))return _0x3f0f9e('APT_UPDATE_PENDING');if(_0x55a775[_0x46afd6(0xc7)])return _0x3f0f9e(_0x46afd6(0xb4));if(_0x3ed2cd[_0x46afd6(0xb2)]||_0x32aea9[_0x46afd6(0xd2)])try{await _0x3ed2cd[_0x46afd6(0xc3)][_0x46afd6(0xb9)](_0x32aea9[_0x46afd6(0xd2)],_0x2159f9,_0x32aea9);const _0x594247={};return _0x594247[_0x46afd6(0xcc)]=!![],_0x594247[_0x46afd6(0xa6)]=_0x55a775['epoch'],_0x594247;}catch(_0x1c7a97){return _0x3f0f9e(_0x1c7a97[_0x46afd6(0xb6)]||_0x46afd6(0xc1));}const _0x4de1cd=_0x3ed2cd[_0x46afd6(0xc4)];if(!_0x4de1cd||!_0x3ed2cd[_0x46afd6(0xab)])return _0x3f0f9e('DISPATCH_OWNERSHIP_UNKNOWN');const _0x2c5053=_0x3ed2cd['getSessionRuntime']()[_0x46afd6(0xb3)](_0x3ed2cd['hostSessionId']);if(!_0x2c5053?.['bootstrapped']||_0x2c5053[_0x46afd6(0xa4)]==='plan'||_0x2c5053[_0x46afd6(0xca)])return _0x3f0f9e(_0x46afd6(0xa2));if(_0x32aea9['sessionId']&&_0x32aea9[_0x46afd6(0xcf)]!==_0x3ed2cd[_0x46afd6(0xab)]||_0x32aea9[_0x46afd6(0xce)]&&_0x32aea9[_0x46afd6(0xce)]!==_0x4de1cd[_0x46afd6(0xce)]||_0x32aea9[_0x46afd6(0xd3)]&&_0x32aea9[_0x46afd6(0xd3)]!==_0x4de1cd['runId'])return _0x3f0f9e(_0x46afd6(0xc0));const _0x4bc209=_0x3ed2cd[_0x46afd6(0xa5)][_0x46afd6(0xc8)](_0x4de1cd[_0x46afd6(0xce)],_0x4de1cd[_0x46afd6(0xd3)]);if(!_0x4bc209||_0x4bc209['status']!==_0x46afd6(0xbd)||_0x4bc209[_0x46afd6(0xbe)]?.[_0x46afd6(0xa1)]||!sameWorkspace(_0x4bc209['workspace']?.['path'],_0x3ed2cd[_0x46afd6(0xcd)]))return _0x3f0f9e(_0x46afd6(0xa2));const _0x3987e4=!require(_0x46afd6(0xa3))['APT_WRAPPED_UNGUARDED_TOOLS'][_0x46afd6(0xcb)](_0x2159f9);if(!_0x3987e4&&_0x2159f9!=='pipeline_verify')return _0x3f0f9e(_0x46afd6(0xbb));const _0x583075=_0x3987e4?_0x46afd6(0xa8):_0x32aea9['actorId']||_0x46afd6(0xa8),_0x3a0db1=_0x3987e4?_0x2c5053[_0x46afd6(0xb8)]?.[_0x46afd6(0xa8)]||_0x2c5053[_0x46afd6(0xb0)]:_0x32aea9[_0x46afd6(0xb0)],_0x405c9d=_0x4bc209[_0x46afd6(0xbe)][_0x46afd6(0xbd)]['find'](_0x12481e=>_0x12481e[_0x46afd6(0xb0)]===_0x3a0db1&&_0x12481e[_0x46afd6(0xaa)]===_0x583075&&_0x12481e[_0x46afd6(0xcf)]===_0x3ed2cd[_0x46afd6(0xab)]&&_0x12481e[_0x46afd6(0xb5)]===_0x46afd6(0xa7));if(!_0x405c9d||!Number['isFinite'](Date['parse'](_0x405c9d['reservedAt']))||Date[_0x46afd6(0xae)](_0x405c9d['reservedAt'])>=Date['parse'](_0x55a775[_0x46afd6(0xc2)]))return _0x3f0f9e(_0x46afd6(0xc6));const _0x410504=await _0x3ed2cd['pipelineManager']['canMutate']({'task':_0x4de1cd['task'],'runId':_0x4de1cd[_0x46afd6(0xd3)],'sessionId':_0x3ed2cd['hostSessionId'],'actorId':_0x583075,'attemptId':_0x3a0db1,'workspacePath':_0x3ed2cd[_0x46afd6(0xcd)],'mode':_0x2c5053[_0x46afd6(0xa4)]}),_0x1d3a5e={};return _0x1d3a5e[_0x46afd6(0xcc)]=!![],_0x1d3a5e['epoch']=_0x55a775['epoch'],_0x410504[_0x46afd6(0xcc)]===!![]?_0x1d3a5e:_0x3f0f9e(_0x410504['code']||_0x46afd6(0xaf));}function _0x1731(_0x245ef4,_0x4c0f83){_0x245ef4=_0x245ef4-0x9f;const _0xd09804=_0xd098();let _0x173185=_0xd09804[_0x245ef4];if(_0x1731['xkEHoF']===undefined){var _0x37ef0e=function(_0x5822d3){const _0x2f6137='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x47cfa7='',_0x5dc27b='';for(let _0x8f9f9e=0x0,_0x3ed2cd,_0x2159f9,_0x32aea9=0x0;_0x2159f9=_0x5822d3['charAt'](_0x32aea9++);~_0x2159f9&&(_0x3ed2cd=_0x8f9f9e%0x4?_0x3ed2cd*0x40+_0x2159f9:_0x2159f9,_0x8f9f9e++%0x4)?_0x47cfa7+=String['fromCharCode'](0xff&_0x3ed2cd>>(-0x2*_0x8f9f9e&0x6)):0x0){_0x2159f9=_0x2f6137['indexOf'](_0x2159f9);}for(let _0x55a775=0x0,_0x3f0f9e=_0x47cfa7['length'];_0x55a775<_0x3f0f9e;_0x55a775++){_0x5dc27b+='%'+('00'+_0x47cfa7['charCodeAt'](_0x55a775)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x5dc27b);};_0x1731['FdGBUY']=_0x37ef0e,_0x1731['gUJqWH']={},_0x1731['xkEHoF']=!![];}const _0x551fc7=_0xd09804[0x0],_0x4a2f04=_0x245ef4+_0x551fc7,_0x4812ef=_0x1731['gUJqWH'][_0x4a2f04];return!_0x4812ef?(_0x173185=_0x1731['FdGBUY'](_0x173185),_0x1731['gUJqWH'][_0x4a2f04]=_0x173185):_0x173185=_0x4812ef,_0x173185;}const _0x8f9f9e={};_0x8f9f9e[_0x419f47(0xbf)]=authorizeDrainingCompletion,module[_0x419f47(0xb7)]=_0x8f9f9e;