apt-mcp-agent-setup 3.5.61 → 3.9.0
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 +1338 -636
- package/bundle/NOTICES.md +0 -0
- package/bundle/core.enc +0 -0
- package/bundle/mcp-rules.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-fe.enc +0 -0
- package/bundle/skills-mobile.enc +0 -0
- package/docs/apt-3.7.0-migration.md +49 -0
- package/docs/technical-sources.md +20 -18
- package/docs/upstream-manifest.json +36 -19
- package/integrity-manifest.json +207 -181
- package/package.json +3 -3
- package/release-check.js +6 -2
- package/source-skills-lock.json +242 -24
- package/src/backends/{browser-tools-0.0.82.json → browser-tools-0.0.83.json} +375 -375
- package/src/backends/browser-tools.js +1 -1
- package/src/backends/{codegraph-1.6.0.json → codegraph-1.6.2.json} +180 -180
- package/src/backends/index-cache-authority.js +1 -1
- package/src/backends/index-cache-retention.js +1 -0
- package/src/backends/index-command.js +1 -1
- package/src/backends/index-contract.json +2 -2
- package/src/backends/index-maintenance.js +1 -1
- package/src/backends/index-store.js +1 -1
- package/src/backends/linked-worktrees.js +1 -1
- package/src/backends/machine-index-exclude.js +1 -0
- package/src/backends/memory-1.0.0.json +126 -0
- package/src/backends/profiles.js +1 -1
- package/src/backends/review_graph.py +44 -0
- package/src/backends/source-discovery.js +1 -1
- package/src/core/admission-fence.js +1 -1
- package/src/core/antigravity-subagents.js +1 -0
- 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/content-hash-cache.js +1 -1
- package/src/core/context-metrics.js +1 -1
- package/src/core/design-standard.js +1 -0
- 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/hook-phase.js +1 -0
- 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/learning-cli.js +1 -0
- package/src/core/learning-proposals.js +1 -0
- package/src/core/learning-rules.js +1 -0
- package/src/core/learning-signals.js +1 -0
- package/src/core/learning-store.js +1 -0
- package/src/core/learning-sync.js +1 -0
- 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-journal-retention.js +1 -0
- package/src/core/run-mailbox.js +1 -0
- package/src/core/run-owner.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/shared-checkout.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-layout.js +1 -0
- 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/codex-hook-trust.js +1 -1
- package/src/installer/connection-activation.js +1 -1
- package/src/installer/connection-retention.js +1 -0
- 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-install.js +1 -0
- package/src/installer/global-instructions.js +1 -0
- package/src/installer/global-setup.js +1 -1
- package/src/installer/hook-context-client.js +1 -1
- package/src/installer/hook-dispatcher.js +372 -179
- 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-forget.js +1 -0
- 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 -1
- 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-launcher.js +16 -16
- 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/uninstall.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 -1
- 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/installer/worktree-retention.js +1 -0
- package/src/license/canonical.js +1 -0
- package/src/license/crypto.js +1 -1
- package/src/license/delegation.js +1 -0
- package/src/license/fingerprint.js +1 -1
- package/src/license/server-config.js +1 -0
- package/src/license/terms.js +1 -1
- package/src/license/trust.js +1 -0
- package/src/license/verify.js +1 -1
- package/src/packs/deploy.js +1 -0
- package/src/packs/manifest.js +1 -0
- package/src/packs/status.js +1 -0
- package/src/packs/store.js +1 -0
- package/src/packs/sync.js +1 -0
- 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/learning-tools.js +1 -0
- 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/run-summary.js +1 -1
- package/src/proxy/server-instructions.js +1 -1
- package/src/proxy/server.js +1 -1
- package/src/proxy/workspace-gateway.js +1 -1
- package/src/templates/CLAUDE.md +13 -13
- package/src/templates/apt-runtime.md +31 -27
- package/src/templates/domain.md +3 -0
- package/src/templates/mcp-tools.md +4 -1
- package/bundle/skills-aso.enc +0 -0
- package/bundle/skills-design.enc +0 -0
- package/bundle/skills-marketing.enc +0 -0
- package/bundle/skills-pm.enc +0 -0
- package/src/backends/memory-2026.8.31.json +0 -34
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x135f58=_0x1f9b;function _0x10ea(){const _0xdd25cf=['mtK0nda4C1bWsLr6','Aw5WDxrty2HLBwe','mJiXmdeWBMjyy0Tz','mtaWmZm1nejnz1LTvW','ChjVCgvYDgLLCW','mtu0C2XzzuHW','BwfW','zxHWB3j0CW','mtm1q0z3A3nR','mtbLrhzJEwi','C3rYAw5N','mJeZnJq4AeDjD3ji','mtKXmdm1ofDZzwDwEa','mta4nZvRvuvyzwW','nZa2mJi4D2jPqLPp'];_0x10ea=function(){return _0xdd25cf;};return _0x10ea();}(function(_0x114abb,_0x4bf209){const _0x45a2bd=_0x1f9b,_0x4e5fa4=_0x114abb();while(!![]){try{const _0x5e3151=parseInt(_0x45a2bd(0x184))/0x1+-parseInt(_0x45a2bd(0x17a))/0x2+-parseInt(_0x45a2bd(0x183))/0x3+-parseInt(_0x45a2bd(0x185))/0x4*(-parseInt(_0x45a2bd(0x180))/0x5)+parseInt(_0x45a2bd(0x182))/0x6*(parseInt(_0x45a2bd(0x17c))/0x7)+-parseInt(_0x45a2bd(0x186))/0x8*(-parseInt(_0x45a2bd(0x17f))/0x9)+parseInt(_0x45a2bd(0x179))/0xa;if(_0x5e3151===_0x4bf209)break;else _0x4e5fa4['push'](_0x4e5fa4['shift']());}catch(_0x1ef7b0){_0x4e5fa4['push'](_0x4e5fa4['shift']());}}}(_0x10ea,0x608fe));const {tools}=require('./browser-tools-0.0.83.json');function _0x1f9b(_0xf357e4,_0x2c82ab){_0xf357e4=_0xf357e4-0x178;const _0x10ea8a=_0x10ea();let _0x1f9b55=_0x10ea8a[_0xf357e4];if(_0x1f9b['UCLLgW']===undefined){var _0xa4b518=function(_0x183dc9){const _0x19b041='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x484fef='',_0x43ed9d='';for(let _0x1f5218=0x0,_0x30580e,_0x11734b,_0x94e8bd=0x0;_0x11734b=_0x183dc9['charAt'](_0x94e8bd++);~_0x11734b&&(_0x30580e=_0x1f5218%0x4?_0x30580e*0x40+_0x11734b:_0x11734b,_0x1f5218++%0x4)?_0x484fef+=String['fromCharCode'](0xff&_0x30580e>>(-0x2*_0x1f5218&0x6)):0x0){_0x11734b=_0x19b041['indexOf'](_0x11734b);}for(let _0x44f8d9=0x0,_0x5ee7dd=_0x484fef['length'];_0x44f8d9<_0x5ee7dd;_0x44f8d9++){_0x43ed9d+='%'+('00'+_0x484fef['charCodeAt'](_0x44f8d9)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x43ed9d);};_0x1f9b['UFDbfx']=_0xa4b518,_0x1f9b['JBcmZv']={},_0x1f9b['UCLLgW']=!![];}const _0x51e062=_0x10ea8a[0x0];_0x1f9b['HPhmvo']!==_0x51e062&&(_0x1f9b['JBcmZv']={},_0x1f9b['HPhmvo']=_0x51e062);const _0x2d48a5=_0x1f9b['JBcmZv'][_0xf357e4];return _0x2d48a5===undefined?(_0x1f9b55=_0x1f9b['UFDbfx'](_0x1f9b55),_0x1f9b['JBcmZv'][_0xf357e4]=_0x1f9b55):_0x1f9b55=_0x2d48a5,_0x1f9b55;}module[_0x135f58(0x17e)]=tools[_0x135f58(0x17d)](_0x43ed9d=>({..._0x43ed9d,'inputSchema':{..._0x43ed9d[_0x135f58(0x178)],'properties':{..._0x43ed9d[_0x135f58(0x178)][_0x135f58(0x17b)],'aptTask':{'type':_0x135f58(0x181),'description':'Stable\x20task\x20identity;\x20reuse\x20for\x20this\x20task.'},'aptWorker':{'type':_0x135f58(0x181),'description':'Worker\x20identity;\x20defaults\x20to\x20coordinator.'}},'required':[..._0x43ed9d[_0x135f58(0x178)]['required']||[],'aptTask']}}));
|
|
@@ -1,180 +1,180 @@
|
|
|
1
|
-
{
|
|
2
|
-
"source": "@colbymchenry/codegraph@1.6.
|
|
3
|
-
"tools": [
|
|
4
|
-
{
|
|
5
|
-
"name": "codegraph_search",
|
|
6
|
-
"description": "Search indexed source symbols.",
|
|
7
|
-
"inputSchema": {
|
|
8
|
-
"type": "object",
|
|
9
|
-
"properties": {
|
|
10
|
-
"query": {
|
|
11
|
-
"type": "string",
|
|
12
|
-
"description": "Symbol name or partial name (e.g., \"auth\", \"signIn\", \"UserService\")"
|
|
13
|
-
},
|
|
14
|
-
"kind": {
|
|
15
|
-
"type": "string",
|
|
16
|
-
"description": "Filter by node kind",
|
|
17
|
-
"enum": [
|
|
18
|
-
"function",
|
|
19
|
-
"method",
|
|
20
|
-
"class",
|
|
21
|
-
"interface",
|
|
22
|
-
"type",
|
|
23
|
-
"variable",
|
|
24
|
-
"route",
|
|
25
|
-
"component"
|
|
26
|
-
]
|
|
27
|
-
},
|
|
28
|
-
"limit": {
|
|
29
|
-
"type": "number",
|
|
30
|
-
"description": "Maximum results (default: 10)",
|
|
31
|
-
"default": 10
|
|
32
|
-
},
|
|
33
|
-
"projectPath": {
|
|
34
|
-
"type": "string",
|
|
35
|
-
"description": "Absolute path to the project to query (or any directory inside it) — codegraph uses the nearest .codegraph/ index at or above that path. Omit to use this session's default project. Pass it to query a second codebase, or when the server root has no index of its own (e.g. a monorepo where only sub-projects are indexed, so there is no default project)."
|
|
36
|
-
}
|
|
37
|
-
},
|
|
38
|
-
"required": [
|
|
39
|
-
"query"
|
|
40
|
-
]
|
|
41
|
-
}
|
|
42
|
-
},
|
|
43
|
-
{
|
|
44
|
-
"name": "codegraph_callers",
|
|
45
|
-
"description": "Find callers of a source symbol.",
|
|
46
|
-
"inputSchema": {
|
|
47
|
-
"type": "object",
|
|
48
|
-
"properties": {
|
|
49
|
-
"symbol": {
|
|
50
|
-
"type": "string",
|
|
51
|
-
"description": "Name of the function, method, or class to find callers for"
|
|
52
|
-
},
|
|
53
|
-
"file": {
|
|
54
|
-
"type": "string",
|
|
55
|
-
"description": "Narrow to the definition in this file (path or suffix) when several same-named symbols exist (e.g. one UserService per app in a monorepo)"
|
|
56
|
-
},
|
|
57
|
-
"limit": {
|
|
58
|
-
"type": "number",
|
|
59
|
-
"description": "Maximum number of callers to return (default: 20)",
|
|
60
|
-
"default": 20
|
|
61
|
-
},
|
|
62
|
-
"projectPath": {
|
|
63
|
-
"type": "string",
|
|
64
|
-
"description": "Absolute path to the project to query (or any directory inside it) — codegraph uses the nearest .codegraph/ index at or above that path. Omit to use this session's default project. Pass it to query a second codebase, or when the server root has no index of its own (e.g. a monorepo where only sub-projects are indexed, so there is no default project)."
|
|
65
|
-
}
|
|
66
|
-
},
|
|
67
|
-
"required": [
|
|
68
|
-
"symbol"
|
|
69
|
-
]
|
|
70
|
-
}
|
|
71
|
-
},
|
|
72
|
-
{
|
|
73
|
-
"name": "codegraph_callees",
|
|
74
|
-
"description": "Find callees of a source symbol.",
|
|
75
|
-
"inputSchema": {
|
|
76
|
-
"type": "object",
|
|
77
|
-
"properties": {
|
|
78
|
-
"symbol": {
|
|
79
|
-
"type": "string",
|
|
80
|
-
"description": "Name of the function, method, or class to find callees for"
|
|
81
|
-
},
|
|
82
|
-
"file": {
|
|
83
|
-
"type": "string",
|
|
84
|
-
"description": "Narrow to the definition in this file (path or suffix) when several same-named symbols exist"
|
|
85
|
-
},
|
|
86
|
-
"limit": {
|
|
87
|
-
"type": "number",
|
|
88
|
-
"description": "Maximum number of callees to return (default: 20)",
|
|
89
|
-
"default": 20
|
|
90
|
-
},
|
|
91
|
-
"projectPath": {
|
|
92
|
-
"type": "string",
|
|
93
|
-
"description": "Absolute path to the project to query (or any directory inside it) — codegraph uses the nearest .codegraph/ index at or above that path. Omit to use this session's default project. Pass it to query a second codebase, or when the server root has no index of its own (e.g. a monorepo where only sub-projects are indexed, so there is no default project)."
|
|
94
|
-
}
|
|
95
|
-
},
|
|
96
|
-
"required": [
|
|
97
|
-
"symbol"
|
|
98
|
-
]
|
|
99
|
-
}
|
|
100
|
-
},
|
|
101
|
-
{
|
|
102
|
-
"name": "codegraph_explore",
|
|
103
|
-
"description": "Explore source symbols and their relationships.",
|
|
104
|
-
"inputSchema": {
|
|
105
|
-
"type": "object",
|
|
106
|
-
"properties": {
|
|
107
|
-
"query": {
|
|
108
|
-
"type": "string",
|
|
109
|
-
"description": "Symbol names, file names, or short code terms to explore (e.g., \"AuthService loginUser session-manager\", \"GraphTraverser BFS impact traversal.ts\"). For a flow question, name the symbols spanning the flow (e.g. \"mutateElement renderScene\"). A natural-language question works too — no prior codegraph_search needed."
|
|
110
|
-
},
|
|
111
|
-
"maxFiles": {
|
|
112
|
-
"type": "number",
|
|
113
|
-
"description": "Maximum number of files to include source code from (default: 12)",
|
|
114
|
-
"default": 12
|
|
115
|
-
},
|
|
116
|
-
"projectPath": {
|
|
117
|
-
"type": "string",
|
|
118
|
-
"description": "Absolute path to the project to query (or any directory inside it) — codegraph uses the nearest .codegraph/ index at or above that path. Omit to use this session's default project. Pass it to query a second codebase, or when the server root has no index of its own (e.g. a monorepo where only sub-projects are indexed, so there is no default project)."
|
|
119
|
-
}
|
|
120
|
-
},
|
|
121
|
-
"required": [
|
|
122
|
-
"query"
|
|
123
|
-
]
|
|
124
|
-
}
|
|
125
|
-
},
|
|
126
|
-
{
|
|
127
|
-
"name": "codegraph_status",
|
|
128
|
-
"description": "Inspect the bound workspace index.",
|
|
129
|
-
"inputSchema": {
|
|
130
|
-
"type": "object",
|
|
131
|
-
"properties": {
|
|
132
|
-
"projectPath": {
|
|
133
|
-
"type": "string",
|
|
134
|
-
"description": "Absolute path to the project to query (or any directory inside it) — codegraph uses the nearest .codegraph/ index at or above that path. Omit to use this session's default project. Pass it to query a second codebase, or when the server root has no index of its own (e.g. a monorepo where only sub-projects are indexed, so there is no default project)."
|
|
135
|
-
}
|
|
136
|
-
}
|
|
137
|
-
}
|
|
138
|
-
},
|
|
139
|
-
{
|
|
140
|
-
"name": "codegraph_files",
|
|
141
|
-
"description": "List indexed code files.",
|
|
142
|
-
"inputSchema": {
|
|
143
|
-
"type": "object",
|
|
144
|
-
"properties": {
|
|
145
|
-
"path": {
|
|
146
|
-
"type": "string",
|
|
147
|
-
"description": "Filter to files under this directory path (e.g., \"src/components\"). Returns all files if not specified."
|
|
148
|
-
},
|
|
149
|
-
"pattern": {
|
|
150
|
-
"type": "string",
|
|
151
|
-
"description": "Filter files matching this glob pattern (e.g., \"*.tsx\", \"**/*.test.ts\")"
|
|
152
|
-
},
|
|
153
|
-
"format": {
|
|
154
|
-
"type": "string",
|
|
155
|
-
"description": "Output format: \"tree\" (hierarchical, default), \"flat\" (simple list), \"grouped\" (by language)",
|
|
156
|
-
"enum": [
|
|
157
|
-
"tree",
|
|
158
|
-
"flat",
|
|
159
|
-
"grouped"
|
|
160
|
-
],
|
|
161
|
-
"default": "tree"
|
|
162
|
-
},
|
|
163
|
-
"includeMetadata": {
|
|
164
|
-
"type": "boolean",
|
|
165
|
-
"description": "Include file metadata like language and symbol count (default: true)",
|
|
166
|
-
"default": true
|
|
167
|
-
},
|
|
168
|
-
"maxDepth": {
|
|
169
|
-
"type": "number",
|
|
170
|
-
"description": "Maximum directory depth to show (default: unlimited)"
|
|
171
|
-
},
|
|
172
|
-
"projectPath": {
|
|
173
|
-
"type": "string",
|
|
174
|
-
"description": "Absolute path to the project to query (or any directory inside it) — codegraph uses the nearest .codegraph/ index at or above that path. Omit to use this session's default project. Pass it to query a second codebase, or when the server root has no index of its own (e.g. a monorepo where only sub-projects are indexed, so there is no default project)."
|
|
175
|
-
}
|
|
176
|
-
}
|
|
177
|
-
}
|
|
178
|
-
}
|
|
179
|
-
]
|
|
180
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"source": "@colbymchenry/codegraph@1.6.2 (MIT), MCP input schemas",
|
|
3
|
+
"tools": [
|
|
4
|
+
{
|
|
5
|
+
"name": "codegraph_search",
|
|
6
|
+
"description": "Search indexed source symbols.",
|
|
7
|
+
"inputSchema": {
|
|
8
|
+
"type": "object",
|
|
9
|
+
"properties": {
|
|
10
|
+
"query": {
|
|
11
|
+
"type": "string",
|
|
12
|
+
"description": "Symbol name or partial name (e.g., \"auth\", \"signIn\", \"UserService\")"
|
|
13
|
+
},
|
|
14
|
+
"kind": {
|
|
15
|
+
"type": "string",
|
|
16
|
+
"description": "Filter by node kind",
|
|
17
|
+
"enum": [
|
|
18
|
+
"function",
|
|
19
|
+
"method",
|
|
20
|
+
"class",
|
|
21
|
+
"interface",
|
|
22
|
+
"type",
|
|
23
|
+
"variable",
|
|
24
|
+
"route",
|
|
25
|
+
"component"
|
|
26
|
+
]
|
|
27
|
+
},
|
|
28
|
+
"limit": {
|
|
29
|
+
"type": "number",
|
|
30
|
+
"description": "Maximum results (default: 10)",
|
|
31
|
+
"default": 10
|
|
32
|
+
},
|
|
33
|
+
"projectPath": {
|
|
34
|
+
"type": "string",
|
|
35
|
+
"description": "Absolute path to the project to query (or any directory inside it) — codegraph uses the nearest .codegraph/ index at or above that path. Omit to use this session's default project. Pass it to query a second codebase, or when the server root has no index of its own (e.g. a monorepo where only sub-projects are indexed, so there is no default project)."
|
|
36
|
+
}
|
|
37
|
+
},
|
|
38
|
+
"required": [
|
|
39
|
+
"query"
|
|
40
|
+
]
|
|
41
|
+
}
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
"name": "codegraph_callers",
|
|
45
|
+
"description": "Find callers of a source symbol.",
|
|
46
|
+
"inputSchema": {
|
|
47
|
+
"type": "object",
|
|
48
|
+
"properties": {
|
|
49
|
+
"symbol": {
|
|
50
|
+
"type": "string",
|
|
51
|
+
"description": "Name of the function, method, or class to find callers for"
|
|
52
|
+
},
|
|
53
|
+
"file": {
|
|
54
|
+
"type": "string",
|
|
55
|
+
"description": "Narrow to the definition in this file (path or suffix) when several same-named symbols exist (e.g. one UserService per app in a monorepo)"
|
|
56
|
+
},
|
|
57
|
+
"limit": {
|
|
58
|
+
"type": "number",
|
|
59
|
+
"description": "Maximum number of callers to return (default: 20)",
|
|
60
|
+
"default": 20
|
|
61
|
+
},
|
|
62
|
+
"projectPath": {
|
|
63
|
+
"type": "string",
|
|
64
|
+
"description": "Absolute path to the project to query (or any directory inside it) — codegraph uses the nearest .codegraph/ index at or above that path. Omit to use this session's default project. Pass it to query a second codebase, or when the server root has no index of its own (e.g. a monorepo where only sub-projects are indexed, so there is no default project)."
|
|
65
|
+
}
|
|
66
|
+
},
|
|
67
|
+
"required": [
|
|
68
|
+
"symbol"
|
|
69
|
+
]
|
|
70
|
+
}
|
|
71
|
+
},
|
|
72
|
+
{
|
|
73
|
+
"name": "codegraph_callees",
|
|
74
|
+
"description": "Find callees of a source symbol.",
|
|
75
|
+
"inputSchema": {
|
|
76
|
+
"type": "object",
|
|
77
|
+
"properties": {
|
|
78
|
+
"symbol": {
|
|
79
|
+
"type": "string",
|
|
80
|
+
"description": "Name of the function, method, or class to find callees for"
|
|
81
|
+
},
|
|
82
|
+
"file": {
|
|
83
|
+
"type": "string",
|
|
84
|
+
"description": "Narrow to the definition in this file (path or suffix) when several same-named symbols exist"
|
|
85
|
+
},
|
|
86
|
+
"limit": {
|
|
87
|
+
"type": "number",
|
|
88
|
+
"description": "Maximum number of callees to return (default: 20)",
|
|
89
|
+
"default": 20
|
|
90
|
+
},
|
|
91
|
+
"projectPath": {
|
|
92
|
+
"type": "string",
|
|
93
|
+
"description": "Absolute path to the project to query (or any directory inside it) — codegraph uses the nearest .codegraph/ index at or above that path. Omit to use this session's default project. Pass it to query a second codebase, or when the server root has no index of its own (e.g. a monorepo where only sub-projects are indexed, so there is no default project)."
|
|
94
|
+
}
|
|
95
|
+
},
|
|
96
|
+
"required": [
|
|
97
|
+
"symbol"
|
|
98
|
+
]
|
|
99
|
+
}
|
|
100
|
+
},
|
|
101
|
+
{
|
|
102
|
+
"name": "codegraph_explore",
|
|
103
|
+
"description": "Explore source symbols and their relationships.",
|
|
104
|
+
"inputSchema": {
|
|
105
|
+
"type": "object",
|
|
106
|
+
"properties": {
|
|
107
|
+
"query": {
|
|
108
|
+
"type": "string",
|
|
109
|
+
"description": "Symbol names, file names, or short code terms to explore (e.g., \"AuthService loginUser session-manager\", \"GraphTraverser BFS impact traversal.ts\"). For a flow question, name the symbols spanning the flow (e.g. \"mutateElement renderScene\"). A natural-language question works too — no prior codegraph_search needed."
|
|
110
|
+
},
|
|
111
|
+
"maxFiles": {
|
|
112
|
+
"type": "number",
|
|
113
|
+
"description": "Maximum number of files to include source code from (default: 12)",
|
|
114
|
+
"default": 12
|
|
115
|
+
},
|
|
116
|
+
"projectPath": {
|
|
117
|
+
"type": "string",
|
|
118
|
+
"description": "Absolute path to the project to query (or any directory inside it) — codegraph uses the nearest .codegraph/ index at or above that path. Omit to use this session's default project. Pass it to query a second codebase, or when the server root has no index of its own (e.g. a monorepo where only sub-projects are indexed, so there is no default project)."
|
|
119
|
+
}
|
|
120
|
+
},
|
|
121
|
+
"required": [
|
|
122
|
+
"query"
|
|
123
|
+
]
|
|
124
|
+
}
|
|
125
|
+
},
|
|
126
|
+
{
|
|
127
|
+
"name": "codegraph_status",
|
|
128
|
+
"description": "Inspect the bound workspace index.",
|
|
129
|
+
"inputSchema": {
|
|
130
|
+
"type": "object",
|
|
131
|
+
"properties": {
|
|
132
|
+
"projectPath": {
|
|
133
|
+
"type": "string",
|
|
134
|
+
"description": "Absolute path to the project to query (or any directory inside it) — codegraph uses the nearest .codegraph/ index at or above that path. Omit to use this session's default project. Pass it to query a second codebase, or when the server root has no index of its own (e.g. a monorepo where only sub-projects are indexed, so there is no default project)."
|
|
135
|
+
}
|
|
136
|
+
}
|
|
137
|
+
}
|
|
138
|
+
},
|
|
139
|
+
{
|
|
140
|
+
"name": "codegraph_files",
|
|
141
|
+
"description": "List indexed code files.",
|
|
142
|
+
"inputSchema": {
|
|
143
|
+
"type": "object",
|
|
144
|
+
"properties": {
|
|
145
|
+
"path": {
|
|
146
|
+
"type": "string",
|
|
147
|
+
"description": "Filter to files under this directory path (e.g., \"src/components\"). Returns all files if not specified."
|
|
148
|
+
},
|
|
149
|
+
"pattern": {
|
|
150
|
+
"type": "string",
|
|
151
|
+
"description": "Filter files matching this glob pattern (e.g., \"*.tsx\", \"**/*.test.ts\")"
|
|
152
|
+
},
|
|
153
|
+
"format": {
|
|
154
|
+
"type": "string",
|
|
155
|
+
"description": "Output format: \"tree\" (hierarchical, default), \"flat\" (simple list), \"grouped\" (by language)",
|
|
156
|
+
"enum": [
|
|
157
|
+
"tree",
|
|
158
|
+
"flat",
|
|
159
|
+
"grouped"
|
|
160
|
+
],
|
|
161
|
+
"default": "tree"
|
|
162
|
+
},
|
|
163
|
+
"includeMetadata": {
|
|
164
|
+
"type": "boolean",
|
|
165
|
+
"description": "Include file metadata like language and symbol count (default: true)",
|
|
166
|
+
"default": true
|
|
167
|
+
},
|
|
168
|
+
"maxDepth": {
|
|
169
|
+
"type": "number",
|
|
170
|
+
"description": "Maximum directory depth to show (default: unlimited)"
|
|
171
|
+
},
|
|
172
|
+
"projectPath": {
|
|
173
|
+
"type": "string",
|
|
174
|
+
"description": "Absolute path to the project to query (or any directory inside it) — codegraph uses the nearest .codegraph/ index at or above that path. Omit to use this session's default project. Pass it to query a second codebase, or when the server root has no index of its own (e.g. a monorepo where only sub-projects are indexed, so there is no default project)."
|
|
175
|
+
}
|
|
176
|
+
}
|
|
177
|
+
}
|
|
178
|
+
}
|
|
179
|
+
]
|
|
180
|
+
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const _0x43758d=_0x17f6;(function(_0x3f2176,_0x1f151c){const _0x315efb=_0x17f6,_0x1cd43a=_0x3f2176();while(!![]){try{const _0x3cb1d7=-parseInt(_0x315efb(0xf2))/0x1*(parseInt(_0x315efb(0x165))/0x2)+parseInt(_0x315efb(0xf1))/0x3+-parseInt(_0x315efb(0x178))/0x4+parseInt(_0x315efb(0x16f))/0x5*(-parseInt(_0x315efb(0x16c))/0x6)+-parseInt(_0x315efb(0x169))/0x7*(parseInt(_0x315efb(0x164))/0x8)+-parseInt(_0x315efb(0x10e))/0x9+parseInt(_0x315efb(0x155))/0xa*(parseInt(_0x315efb(0xe0))/0xb);if(_0x3cb1d7===_0x1f151c)break;else _0x1cd43a['push'](_0x1cd43a['shift']());}catch(_0x33bc45){_0x1cd43a['push'](_0x1cd43a['shift']());}}}(_0x5062,0xc21fd));const fs=require(_0x43758d(0x100)),path=require(_0x43758d(0x11d)),os=require(_0x43758d(0xe3)),crypto=require(_0x43758d(0x131)),{identity,containsWorkspace}=require(_0x43758d(0x13e)),{acquireRuntimeLock}=require(_0x43758d(0x163)),{preserveArchiveBytes}=require(_0x43758d(0xfe)),sha=_0x541639=>crypto['createHash'](_0x43758d(0x173))[_0x43758d(0xe1)](_0x541639)[_0x43758d(0x107)](_0x43758d(0x14b)),fail=(_0x1245e0,_0x3c05e7)=>{const _0x4dccb5=_0x43758d,_0x430f70={};_0x430f70[_0x4dccb5(0x149)]=_0x1245e0;throw Object[_0x4dccb5(0x15b)](Error(_0x3c05e7),_0x430f70);};function safePath(_0x680404,_0x1a4d14,_0x7fdb83=![]){const _0x231079=_0x43758d,_0x1a6775=path[_0x231079(0x129)](_0x680404,_0x1a4d14);if(!_0x1a6775&&_0x7fdb83)return _0x680404;if(!_0x1a6775||path[_0x231079(0x182)](_0x1a6775)||_0x1a6775[_0x231079(0x119)](path['sep'])[_0x231079(0x14f)]('..'))fail(_0x231079(0x160),'Cache\x20path\x20escapes\x20workspace');let _0x195ce4=_0x680404;for(const _0x26b34a of _0x1a6775[_0x231079(0x119)](path[_0x231079(0x14e)])){_0x195ce4=path[_0x231079(0x11c)](_0x195ce4,_0x26b34a);try{if(fs['lstatSync'](_0x195ce4)['isSymbolicLink']()||!containsWorkspace(_0x680404,_0x195ce4))fail(_0x231079(0x160),'Cache\x20path\x20is\x20redirected');}catch(_0x5ebf57){if(_0x5ebf57[_0x231079(0x149)]!==_0x231079(0x184))throw _0x5ebf57;}}const _0x1ef164={};_0x1ef164[_0x231079(0x138)]=!![];if(_0x7fdb83)fs['mkdirSync'](_0x1a4d14,_0x1ef164);return _0x1a4d14;}function resolveManagedIndexCache({workspace:_0x51af75,kind:_0x3870c7,profile:_0x5efd00,instanceId:_0x357298,pending:pending=![],historical:historical=![],publicKey:_0x40c327}){const _0x5d04a8=_0x43758d;if(_0x5efd00[_0x5d04a8(0xe8)]===undefined)return null;if(![0x2,0x3][_0x5d04a8(0x14f)](_0x5efd00[_0x5d04a8(0xe8)])||![_0x5d04a8(0x146),'code-review-graph'][_0x5d04a8(0x14f)](_0x3870c7)||!/^\d+\.\d+\.\d+$/[_0x5d04a8(0xd7)](_0x5efd00[_0x5d04a8(0xf3)]||''))fail(_0x5d04a8(0x160),_0x5d04a8(0x186));_0x51af75=fs[_0x5d04a8(0x151)](_0x51af75);const _0x939228=Object[_0x5d04a8(0x120)](Object[_0x5d04a8(0x103)](_0x5efd00['versions']||{})[_0x5d04a8(0x14c)](([_0x1de798],[_0x32d8e6])=>_0x1de798[_0x5d04a8(0xf5)](_0x32d8e6))),_0x515563=_0x5efd00[_0x5d04a8(0xe8)],_0x49c7c2={};_0x49c7c2[_0x5d04a8(0xf3)]=_0x5efd00[_0x5d04a8(0xf3)],_0x49c7c2[_0x5d04a8(0x12f)]=_0x939228;const _0x13429f={'version':_0x515563,'owner':'apt-mcp-agent','epoch':_0x5d04a8(0x16e)+_0x515563,'workspace':identity(_0x51af75),'host':os[_0x5d04a8(0x123)]()+':'+process[_0x5d04a8(0x18b)]+':'+process[_0x5d04a8(0x11b)],'kind':_0x3870c7,'profile':_0x49c7c2},_0x3681ea=sha(JSON['stringify'](_0x13429f)),_0x4d4b4f=_0x515563===0x3?safePath(_0x51af75,path['join'](_0x51af75,_0x5d04a8(0x176)+_0x3870c7+_0x5d04a8(0xde)+_0x3681ea+_0x5d04a8(0x17a))):null;let _0x3c3415=null;if(_0x4d4b4f&&!historical){try{_0x3c3415=JSON[_0x5d04a8(0x112)](fs['readFileSync'](_0x4d4b4f));if(_0x3c3415['version']!==0x1||_0x3c3415['contractId']!==_0x3681ea||!/^[a-f0-9-]{36}$/[_0x5d04a8(0xd7)](_0x3c3415[_0x5d04a8(0x101)]||'')||_0x3c3415[_0x5d04a8(0xfd)]&&(!/^[a-f0-9-]{36}$/[_0x5d04a8(0xd7)](_0x3c3415[_0x5d04a8(0xfd)][_0x5d04a8(0x162)]||'')||!/^[a-f0-9-]{36}$/[_0x5d04a8(0xd7)](_0x3c3415[_0x5d04a8(0xfd)][_0x5d04a8(0xc7)]||'')))fail('INDEX_CACHE_UNVERIFIED',_0x5d04a8(0x130));}catch(_0x38660f){if(_0x38660f['code']!=='ENOENT')throw _0x38660f;}_0x357298||=pending&&_0x3c3415?.[_0x5d04a8(0xfd)]?_0x3c3415[_0x5d04a8(0xfd)][_0x5d04a8(0x162)]:_0x3c3415?.[_0x5d04a8(0x101)]||_0x5d04a8(0x153);if(!/^[a-f0-9-]{36}$/[_0x5d04a8(0xd7)](_0x357298))fail(_0x5d04a8(0xf0),_0x5d04a8(0x118));_0x13429f[_0x5d04a8(0x162)]=_0x357298;}if(_0x515563===0x3&&historical){_0x357298||=_0x5d04a8(0x153);if(!/^[a-f0-9-]{36}$/[_0x5d04a8(0xd7)](_0x357298))fail(_0x5d04a8(0xf0),_0x5d04a8(0x118));_0x13429f['instanceId']=_0x357298;}const _0x28fead=sha(JSON[_0x5d04a8(0xf9)](_0x13429f)),_0x294695=_0x28fead[_0x5d04a8(0x189)](0x0,0x18),_0x1251b4=_0x5d04a8(0x176)+_0x3870c7+_0x5d04a8(0xd1)+_0x294695,_0x23a76e=_0x3870c7===_0x5d04a8(0x146)?_0x5d04a8(0x115)+process[_0x5d04a8(0x18b)]+'-'+process[_0x5d04a8(0x11b)]+_0x5d04a8(0xe5)+_0x515563+'-'+_0x294695:_0x5d04a8(0x105)+_0x5efd00[_0x5d04a8(0xf3)]+'-'+process[_0x5d04a8(0x18b)]+'-'+process[_0x5d04a8(0x11b)]+_0x5d04a8(0xe5)+_0x515563+'-'+_0x294695,_0x43d1d3={..._0x13429f};_0x43d1d3['authorityId']=_0x28fead,_0x43d1d3[_0x5d04a8(0x17c)]=_0x1251b4,_0x43d1d3[_0x5d04a8(0xc8)]=_0x23a76e;const _0x31c3bd=_0x43d1d3,_0x43f6eb=sha(JSON[_0x5d04a8(0xf9)](_0x31c3bd)),_0x849cc2={..._0x31c3bd};_0x849cc2[_0x5d04a8(0x135)]=_0x43f6eb;const _0x305dfa=_0x849cc2,_0x9a0048=path[_0x5d04a8(0x11c)](_0x51af75,_0x1251b4),_0x2ce5d1=path['join'](_0x51af75,_0x23a76e),_0x321cfe=path['join'](_0x2ce5d1,_0x3870c7===_0x5d04a8(0x146)?'codegraph.db':_0x5d04a8(0xfa)),_0x545426={..._0x5efd00[_0x5d04a8(0x116)]};_0x545426[_0x5d04a8(0x10b)]=_0x23a76e;const _0x4e6389=_0x3870c7===_0x5d04a8(0x146)?_0x545426:{..._0x5efd00['env'],'CRG_DATA_DIR':_0x2ce5d1,'CRG_HOME':path['join'](_0x9a0048,_0x5d04a8(0xf8))},_0x5a644f={};_0x5a644f['workspace']=_0x51af75,_0x5a644f[_0x5d04a8(0xf6)]=_0x28fead,_0x5a644f['descriptorHash']=_0x43f6eb,_0x5a644f[_0x5d04a8(0x17d)]=_0x9a0048,_0x5a644f[_0x5d04a8(0xce)]=_0x2ce5d1,_0x5a644f[_0x5d04a8(0xe9)]=_0x321cfe,_0x5a644f['env']=_0x4e6389,_0x5a644f[_0x5d04a8(0x14d)]=_0x305dfa,_0x5a644f[_0x5d04a8(0x11e)]=_0x4d4b4f,_0x5a644f[_0x5d04a8(0x128)]=_0x3681ea,_0x5a644f[_0x5d04a8(0x110)]=_0x3c3415;const _0x46d617=_0x5a644f;if(_0x3c3415&&!historical)validateSelection(_0x46d617,_0x5efd00,_0x40c327);return _0x46d617;}function validateSelection(_0x1c97eb,_0x4e2bd2,_0x236741){const _0x1287a2=_0x43758d,{workspace:_0x4e086f,selector:_0x675da9}=_0x1c97eb,_0x262daa=require(_0x1287a2(0x147));if(_0x675da9[_0x1287a2(0xfd)]){const _0x21349f=_0x262daa[_0x1287a2(0x106)](_0x4e086f,_0x675da9['pending'],_0x236741);if(_0x675da9[_0x1287a2(0xfd)][_0x1287a2(0x162)]!==_0x21349f['instances']?.[_0x1c97eb['marker'][_0x1287a2(0x12a)]])fail(_0x1287a2(0xf0),'Pending\x20cache\x20differs\x20from\x20its\x20archived\x20allocation');}if(_0x675da9[_0x1287a2(0x101)]===_0x1287a2(0x153))return;if(_0x675da9[_0x1287a2(0x13c)]?.[_0x1287a2(0xc7)]!==_0x675da9[_0x1287a2(0x101)]||!/^[a-f0-9]{64}$/['test'](_0x675da9[_0x1287a2(0xcb)]||''))fail(_0x1287a2(0xf0),_0x1287a2(0x104));_0x262daa[_0x1287a2(0x106)](_0x4e086f,_0x675da9[_0x1287a2(0x13c)],_0x236741);const _0x53f0aa={};_0x53f0aa['workspace']=_0x4e086f,_0x53f0aa[_0x1287a2(0x12a)]=_0x1c97eb[_0x1287a2(0x14d)][_0x1287a2(0x12a)],_0x53f0aa[_0x1287a2(0x16a)]=_0x4e2bd2,_0x53f0aa['instanceId']=_0x675da9[_0x1287a2(0x101)],_0x53f0aa[_0x1287a2(0x16b)]=!![];const _0x376982=resolveManagedIndexCache(_0x53f0aa),_0x456edd=safePath(_0x4e086f,path[_0x1287a2(0x11c)](_0x376982[_0x1287a2(0x17d)],_0x1287a2(0xef))),_0x2f51cc=fs[_0x1287a2(0xdb)](_0x456edd),_0x29183c=JSON['parse'](_0x2f51cc),_0x538892=_0x29183c['execution'],_0xcd4ef6=_0x29183c[_0x1287a2(0x166)],_0x53c8c5=require(_0x1287a2(0xd2))[_0x1287a2(0xf7)](_0x29183c[_0x1287a2(0x17f)]?.[_0x1287a2(0x150)],_0x236741||require(_0x1287a2(0x144))[_0x1287a2(0x124)]);if(sha(_0x2f51cc)!==_0x675da9['publicationHash']||_0x29183c['version']!==0x1||_0x29183c[_0x1287a2(0x162)]!==_0x675da9['active']||_0x29183c[_0x1287a2(0xf6)]!==_0x376982[_0x1287a2(0xf6)]||_0x29183c[_0x1287a2(0x135)]!==_0x376982[_0x1287a2(0x135)]||_0x53c8c5[_0x1287a2(0xf3)]!==_0x538892?.[_0x1287a2(0x17f)]?.[_0x1287a2(0xf3)]||_0x53c8c5[_0x1287a2(0x107)]!==_0x538892?.[_0x1287a2(0x17f)]?.[_0x1287a2(0x107)]||!_0x538892?.[_0x1287a2(0xea)]?.[_0x1287a2(0xeb)](_0x47bef2=>_0x47bef2[_0x1287a2(0x12a)]===_0x376982[_0x1287a2(0x14d)][_0x1287a2(0x12a)]&&JSON[_0x1287a2(0xf9)](_0x47bef2[_0x1287a2(0x14d)])===JSON[_0x1287a2(0xf9)](_0x376982[_0x1287a2(0x14d)]))||_0x29183c[_0x1287a2(0x111)]?.[_0x1287a2(0x179)]!==!![]||_0x29183c[_0x1287a2(0x111)][_0x1287a2(0x12a)]!==_0x376982[_0x1287a2(0x14d)][_0x1287a2(0x12a)]||_0x29183c['probe']['version']!==_0x4e2bd2[_0x1287a2(0xf3)]||_0xcd4ef6?.[_0x1287a2(0xd9)]!==_0x1287a2(0x109)||_0xcd4ef6['authorityId']!==_0x376982[_0x1287a2(0xf6)]||_0xcd4ef6[_0x1287a2(0x135)]!==_0x376982[_0x1287a2(0x135)]||_0xcd4ef6[_0x1287a2(0xe9)]!==_0x376982[_0x1287a2(0xe9)]||_0xcd4ef6[_0x1287a2(0x159)]!==_0x538892[_0x1287a2(0x141)]||[_0x1287a2(0x13f),_0x1287a2(0xe7),_0x1287a2(0x18a),'transactionId']['some'](_0x7aefe8=>(_0xcd4ef6[_0x7aefe8]??null)!==(_0x538892[_0x7aefe8]??null))||!fs[_0x1287a2(0xd5)](safePath(_0x4e086f,_0x376982[_0x1287a2(0xe9)])))fail(_0x1287a2(0xf0),_0x1287a2(0x17b));validateManagedIndexCache(_0x376982);const _0x1b002d=safePath(_0x4e086f,path[_0x1287a2(0x11c)](_0x376982[_0x1287a2(0x17d)],_0x1287a2(0x108))),_0x4e05a9=JSON[_0x1287a2(0x112)](fs[_0x1287a2(0xdb)](_0x1b002d));if(_0x4e05a9[_0x1287a2(0xd9)]===_0x1287a2(0x109)&&(_0x4e05a9[_0x1287a2(0xf6)]!==_0x376982['authorityId']||_0x4e05a9[_0x1287a2(0x135)]!==_0x376982[_0x1287a2(0x135)]||_0x4e05a9['database']!==_0x376982[_0x1287a2(0xe9)]))fail(_0x1287a2(0xf0),_0x1287a2(0x136));}function verifyMarker(_0x1f81ac,_0x53136a,_0xec3e73){const _0x1e6447=_0x43758d;safePath(_0x1f81ac[_0x1e6447(0x12e)],_0x53136a);const _0x24f97a=safePath(_0x1f81ac[_0x1e6447(0x12e)],path[_0x1e6447(0x11c)](_0x53136a,_0xec3e73));try{const _0x5bad68=fs['lstatSync'](_0x24f97a);if(!_0x5bad68['isFile']()||!fs[_0x1e6447(0xdb)](_0x24f97a)[_0x1e6447(0x132)](Buffer[_0x1e6447(0x121)](JSON[_0x1e6447(0xf9)](_0x1f81ac[_0x1e6447(0x14d)]))))fail(_0x1e6447(0x160),_0x1e6447(0x181));}catch(_0x4e895e){if(_0x4e895e['code']===_0x1e6447(0x184))fail(_0x1e6447(0x160),_0x1e6447(0x15d));throw _0x4e895e;}}function createMarkedDirectory(_0x521ca0,_0x47bb0d,_0x12a5ac){const _0x2d9d8=_0x43758d;if(fs[_0x2d9d8(0xd5)](_0x47bb0d)){verifyMarker(_0x521ca0,_0x47bb0d,_0x12a5ac);return;}safePath(_0x521ca0[_0x2d9d8(0x12e)],path['dirname'](_0x47bb0d),!![]);try{fs[_0x2d9d8(0x117)](_0x47bb0d);}catch(_0x23fc96){if(_0x23fc96[_0x2d9d8(0x149)]===_0x2d9d8(0x10f))fail(_0x2d9d8(0x160),_0x2d9d8(0x15f));throw _0x23fc96;}safePath(_0x521ca0['workspace'],_0x47bb0d);const _0xcde144=fs['lstatSync'](_0x47bb0d),_0x1ef98a=path[_0x2d9d8(0x11c)](_0x47bb0d,_0x12a5ac);let _0x443f8a=![];try{safePath(_0x521ca0['workspace'],_0x1ef98a);const _0x365aff=fs[_0x2d9d8(0xe6)](_0x47bb0d);if(!_0x365aff['isDirectory']()||_0x365aff['dev']!==_0xcde144[_0x2d9d8(0x13a)]||_0x365aff[_0x2d9d8(0x152)]!==_0xcde144[_0x2d9d8(0x152)])fail(_0x2d9d8(0x160),_0x2d9d8(0x125));preserveArchiveBytes(_0x1ef98a,JSON[_0x2d9d8(0xf9)](_0x521ca0[_0x2d9d8(0x14d)])),verifyMarker(_0x521ca0,_0x47bb0d,_0x12a5ac),_0x443f8a=!![];}finally{if(!_0x443f8a)try{safePath(_0x521ca0['workspace'],_0x47bb0d);const _0x34211d=fs[_0x2d9d8(0xe6)](_0x47bb0d);if(_0x34211d[_0x2d9d8(0x13a)]===_0xcde144['dev']&&_0x34211d['ino']===_0xcde144['ino']){if(fs[_0x2d9d8(0xd5)](_0x1ef98a)&&fs[_0x2d9d8(0xdb)](_0x1ef98a)[_0x2d9d8(0x132)](Buffer[_0x2d9d8(0x121)](JSON[_0x2d9d8(0xf9)](_0x521ca0[_0x2d9d8(0x14d)]))))fs[_0x2d9d8(0x17e)](_0x1ef98a);fs[_0x2d9d8(0x185)](_0x47bb0d);}}catch{}}}function validateManagedIndexCache(_0x208ad0){const _0x53f9b8=_0x43758d;assertLegacyCacheSafe(_0x208ad0);if(_0x208ad0['marker']['kind']===_0x53f9b8(0x154))projectSentinel(_0x208ad0,!![]);verifyMarker(_0x208ad0,_0x208ad0[_0x53f9b8(0x17d)],'authority.json'),verifyMarker(_0x208ad0,_0x208ad0[_0x53f9b8(0xce)],'.apt-managed.json');for(const _0x224092 of[_0x53f9b8(0x143),_0x53f9b8(0xf8),_0x53f9b8(0x134),_0x53f9b8(0x168),_0x53f9b8(0x108),'recovery.json'])safePath(_0x208ad0[_0x53f9b8(0x12e)],path[_0x53f9b8(0x11c)](_0x208ad0[_0x53f9b8(0x17d)],_0x224092));for(const _0xa6a400 of['',_0x53f9b8(0x15c),'-shm',_0x53f9b8(0x170)])safePath(_0x208ad0['workspace'],_0x208ad0[_0x53f9b8(0xe9)]+_0xa6a400);}function openManagedIndexCache(_0x2e395d){const _0x1a7e7d=_0x43758d;assertLegacyCacheSafe(_0x2e395d),assertCacheOutcome(_0x2e395d);const _0xe38e6e=safePath(_0x2e395d[_0x1a7e7d(0x12e)],path[_0x1a7e7d(0xec)](_0x2e395d[_0x1a7e7d(0x17d)]),!![]),_0x5e225f=safePath(_0x2e395d[_0x1a7e7d(0x12e)],path[_0x1a7e7d(0x11c)](_0xe38e6e,_0x2e395d[_0x1a7e7d(0xf6)]['slice'](0x0,0x18)+'.authority.lock')),_0x2fb519=acquireRuntimeLock(_0x5e225f,0x0,_0x2e395d['marker'][_0x1a7e7d(0x167)]);if(!_0x2fb519)fail('INDEX_BUSY',_0x1a7e7d(0x11f));try{createMarkedDirectory(_0x2e395d,_0x2e395d['stateDirectory'],_0x1a7e7d(0xd6));const _0x17b231=safePath(_0x2e395d[_0x1a7e7d(0x12e)],path[_0x1a7e7d(0x11c)](_0x2e395d[_0x1a7e7d(0x17d)],'cache.lock')),_0x14c171=acquireRuntimeLock(_0x17b231,0x0,_0x2e395d[_0x1a7e7d(0x14d)][_0x1a7e7d(0x167)]);if(!_0x14c171)fail(_0x1a7e7d(0x175),'Selected\x20cache\x20is\x20being\x20maintained');try{createMarkedDirectory(_0x2e395d,_0x2e395d['cacheDirectory'],_0x1a7e7d(0xcf));if(_0x2e395d['marker']['kind']===_0x1a7e7d(0x154))safePath(_0x2e395d[_0x1a7e7d(0x12e)],projectSentinel(_0x2e395d),!![]);validateManagedIndexCache(_0x2e395d);}finally{_0x14c171();}}finally{_0x2fb519();}}function projectSentinel(_0xb8f3c9,_0x45af92=![]){const _0x591652=_0x43758d,_0x1ae9e7=safePath(_0xb8f3c9[_0x591652(0x12e)],path[_0x591652(0x11c)](_0xb8f3c9[_0x591652(0x12e)],_0x591652(0xf4)));try{if(!fs[_0x591652(0xe6)](_0x1ae9e7)['isDirectory']())fail('UNSAFE_INDEX',_0x591652(0xc9));}catch(_0x5001de){if(_0x5001de[_0x591652(0x149)]!=='ENOENT')throw _0x5001de;if(_0x45af92)fail(_0x591652(0x160),_0x591652(0x15a));}return _0x1ae9e7;}function stoppedLaunch(_0x8b38ae,_0x23e157){const _0x243988=_0x43758d;if(!/^[a-f0-9-]{36}$/['test'](_0x23e157||''))return![];try{const _0x224f1e=safePath(_0x8b38ae,path[_0x243988(0x11c)](_0x8b38ae,_0x243988(0xd8),_0x243988(0x174),_0x243988(0xcc),_0x23e157+'.json')),_0x55a113=JSON['parse'](fs[_0x243988(0xdb)](_0x224f1e,_0x243988(0xdf))['replace'](/^/,'')),_0x32a671=_0x55a113[_0x243988(0x13d)];return _0x55a113['status']==='stopped'&&_0x55a113[_0x243988(0xff)]?.[_0x243988(0x141)]===_0x23e157&&_0x32a671?.['source']===_0x243988(0x102)&&_0x32a671[_0x243988(0xed)]===_0x243988(0x148)&&_0x32a671[_0x243988(0x12c)]===!![]&&_0x32a671[_0x243988(0x127)]?.[_0x243988(0xd0)]===!![]&&_0x32a671[_0x243988(0x127)][_0x243988(0x183)]===0x0&&_0x32a671['job'][_0x243988(0x10c)]===!![];}catch{return![];}}function _0x17f6(_0x59be39,_0x24e925){_0x59be39=_0x59be39-0xc7;const _0x5062a9=_0x5062();let _0x17f652=_0x5062a9[_0x59be39];if(_0x17f6['KAfQSG']===undefined){var _0x3f68be=function(_0x3d7e9e){const _0x41c612='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0xfc71a8='',_0x2060be='';for(let _0x509cc6=0x0,_0xb30db7,_0x283726,_0x512198=0x0;_0x283726=_0x3d7e9e['charAt'](_0x512198++);~_0x283726&&(_0xb30db7=_0x509cc6%0x4?_0xb30db7*0x40+_0x283726:_0x283726,_0x509cc6++%0x4)?_0xfc71a8+=String['fromCharCode'](0xff&_0xb30db7>>(-0x2*_0x509cc6&0x6)):0x0){_0x283726=_0x41c612['indexOf'](_0x283726);}for(let _0xacff48=0x0,_0x4dcc09=_0xfc71a8['length'];_0xacff48<_0x4dcc09;_0xacff48++){_0x2060be+='%'+('00'+_0xfc71a8['charCodeAt'](_0xacff48)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x2060be);};_0x17f6['RefbBp']=_0x3f68be,_0x17f6['FgcIzr']={},_0x17f6['KAfQSG']=!![];}const _0x280e96=_0x5062a9[0x0],_0x137451=_0x59be39+_0x280e96,_0x5f6544=_0x17f6['FgcIzr'][_0x137451];return!_0x5f6544?(_0x17f652=_0x17f6['RefbBp'](_0x17f652),_0x17f6['FgcIzr'][_0x137451]=_0x17f652):_0x17f652=_0x5f6544,_0x17f652;}function _0x5062(){const _0x511b9e=['DMvYC2LVBNm','q2fJAguGC2vSzwn0B3iGAxmGAw52ywXPza','BM9KztPJCNLWDg8','zxf1ywXZ','su5ervHFuKvdt1zfuLLFq0HbtKDfra','CMvNAxn0CNKVCMvNAxn0CNKUANnVBG','zgvZy3jPChrVCKHHC2G','u2vSzwn0zwqGy2fJAguGCMvJzwLWDcbKAwzMzxjZigzYB20GAxrZigf1DgHVCML0Eq','rNjLC2GGy2fJAguGyNvPBgqGAxmGBwLZC2LUzW','CMvJDxjZAxzL','CMvJB3zLCMvK','zgv2','lI9PBMrLEc1ZDg9Yzq','CMvJB3zLCNK','C2H1DgrVD25fDMLKzw5Jzq','lI4Vy29Yzs93B3jRC3bHy2uTCgf0Aa','z2vUzxjHDgLVBG','Dw5RBM93BG','yxr0zw1WDeLK','Aw5ZDgfUy2vZ','DxnLCNm','lI4VBgLJzw5Zzs92zxjPzNK','lxnOBq','y29KzwDYyxbO','lI4VAw5ZDgfSBgvYl2LUzgv4lwLUDgvYCNvWDgLVBI1YzwnVDMvYEq','AM9IlxrYzwu','y29Kzq','uMvJB3zLCNKGy2fJAguGywXSB2nHDgLVBIbJAgfUz2vK','Agv4','C29YDa','BwfYA2vY','C2vW','Aw5JBhvKzxm','CMvSzwfZzq','CMvHBhbHDgHtEw5J','Aw5V','mdaWmdaWmdaTmdaWmc0WmdaWltaWmdaTmdaWmdaWmdaWmdaW','y29Kzs1YzxzPzxCTz3jHCgG','mZy2odKZmhngEKXsBq','yNvPBgrPBMC','qw5VDgHLCIbYzwnVDMvYEsbVD25ZihrOzsbJywnOzsbZzwXLy3rPB24','B3jPz2LUywW','Bgf1BMnOqxr0zw1WDeLK','uMv2Awv3ihbYB2PLy3qGC2vUDgLUzwWGAxmGBwLZC2LUzW','yxnZAwDU','lxDHBa','t2nJDxbPzwqGy2fJAguGAgfZig5Vigf1DgHVCML0Eq','u2vSzwn0zwqGy2fJAguGAgfZigfUihvUy29UzMLYBwvKigLUzgv4ig9WzxjHDgLVBG','q2fJAguGCgf0AcbIzwnHBwuGB2nJDxbPzwq','vu5tquzfx0Lorevy','zMLSzxm','Aw5ZDgfUy2vjza','lI4Vy29Yzs9VD25Lzc1SB2nR','mZjTvgv5tha','nZKYDMLIyLbi','CMvJzwLWDa','Ag9ZDa','y2fJAguUBg9JAW','mZK0odiXAhv4qxPm','ChjVzMLSzq','AgLZDg9YAwnHBa','mtK2ndy4mMXZrgL5rq','C3rHz2vnyw5Hz2vKsw5KzxHdywnOzq','yxb0lwLUzgv4lwnHy2HLlxy','mJbWv3vIqLe','lwPVDxjUywW','DMfSAwrHDgvnyw5Hz2vKsw5KzxHdywnOzq','uMvJB3zLCNKGAgfZig5VignHy2HLigfSBg9JyxrPB24','C2HHmJu2','CNvUDgLTzq','su5ervHFqLvtwq','lMfNzw50CY9YDw50Aw1Ll2jHy2TLBMrZlW','B3DUzwq','ndu2mte0ogv6v21kuq','zNvUy3rPB25HBfjLywr5','lMPZB24','u2vSzwn0zwqGy2fJAguGChvIBgLJyxrPB24GAxmGAw52ywXPza','C3rHDgvszwXHDgL2zq','C3rHDgveAxjLy3rVCNK','Dw5SAw5Ru3LUyW','ChjVzhvJzxi','q2fJAguGChjVBw90Aw9Uigv2AwrLBMnLignOyw5NzwqGyMvMB3jLihnLBgvJDgLVBG','q2fJAguGyxv0Ag9YAxr5igrVzxmGBM90ig1HDgnOigL0CYbWAhLZAwnHBcbWyxrO','AxnbyNnVBhv0zq','ywn0AxzLuhjVy2vZC2vZ','ru5pru5u','CM1KAxjtEw5J','vw5ZDxbWB3j0zwqGy2fJAguGy29UDhjHy3q','rNjLC2GGy2fJAguGCMvXDwLYzxmGyNvPBgqGyw5Kigz1BMn0Aw9UywWGChjVyMu','yxnZzxj0q2fJAgvpDxrJB21L','C2XPy2u','y2f0ywXVz0HHC2G','CgXHDgzVCM0','CMvJB3zLCNLjza','y2fJAgvszwXHDgL2zq','uMv2Awv3ihbYB2PLy3qGC2vUDgLUzwWGAxmGBM90igeGzgLYzwn0B3j5','Aw5KzxHqDwjSAwnHDgLVBKv4zwn1DgLVBG','ChvIBgLJyxrPB25iyxnO','Aw5KzxGTyxr0zw1WDhm','lMXVy2S','y2fJAgveAxjLy3rVCNK','lMfWDc1Tyw5Hz2vKlMPZB24','yxnZAwDUBwvUDenVBMzPCM1Lza','l2nHy2HLCY8','lI4Vy29Yzs9YzwnVDMvYEs1WCM9VzG','q2fJAguGC2vSzwn0Aw9UigLZigj1C3K','B3bLBK1HBMfNzwrjBMrLEenHy2HL','zxHPC3rZu3LUyW','yxv0Ag9YAxr5lMPZB24','DgvZDa','lMfNzw50CW','C3rHDhvZ','CMvZB2X2zu1HBMfNzwrjBMrLEenHy2HL','CMvHzezPBgvtEw5J','C3rVChbLzeXHDw5JAa','su5ervHFufjpqKvFrKfjteve','l3nLBgvJDg9YCY8','DxrMoa','mtiXtMTYsefz','DxbKyxrL','su5ervHFt1vuq09nrv9vtKTot1Do','BM9KztPVCW','ywn0AxzHDgvnyw5Hz2vKsw5KzxHdywnOzq','lwfWDa','Bhn0yxrtEw5J','CMvZB3vYy2veAwDLC3q','y2fJAgvdB250CMfJDa','zgf0ywjHC2u','y2fJAgvZ','C29Tzq','zgLYBMfTzq','y29UDgfPBM1LBNq','lMnVzguTCMv2Awv3lwDYyxbOlMrI','ChvIBgLJyxrPB24UANnVBG','su5ervHFq0fdsevFvu5wrvjjrKLfra','mJuXmZi1owXLAw1NDa','odi3DePNsLnc','DMvYC2LVBG','lMnVzguTCMv2Awv3lwDYyxbO','Bg9JywXLq29TCgfYzq','yxv0Ag9YAxr5swq','DMvYAwz5sw5KzxHqCM9KDwnLCG','CMvNAxn0CNK','C3rYAw5NAwz5','z3jHCgGUzgi','su5ervHFu1rpuf9vtKnptKzjuK1fra','tgvNywn5igLUzgv4ihjLy292zxj5igHHCYbUBYbJB25MAxjTzwqGDgvYBwLUywWGB3v0y29Tzq','CgvUzgLUzW','lI4Vy29Yzs9YzwnVDMvYEs1HCMnOAxzL','zxHLy3v0Aw9U','BM9KztPMCW','ywn0AxzL','D2LUzg93CY1QB2iTB2jQzwn0','zw50CMLLCW','u2vSzwn0zwqGy2fJAguGAgfZig5VihzLCMLMAwvKihb1yMXPy2f0Aw9U','lMfNzw50CY8Uzgf0ys9NCMfWAc0','DMfSAwrHDgvjBMrLEefYy2HPDMu','zgLNzxn0','CMvJzwLWDc5QC29U','yNvPBhq','CMvWBgfJzufSBa','q09eruDsqvbix0rjuG','C3rVChbLza','lMfNzw50CY9YDw50Aw1Ll2jHy2TLBMrZ','oty3nZm3nKHpuxvzDW','ruvysvnu','C2vSzwn0B3i','ChjVyMu','CgfYC2u','lI9PBMrLEc1TywLUDgvUyw5Jzq','CMvJB3zLCNKUANnVBG','lMnVzgvNCMfWAc0','zw52','BwTKAxjtEw5J','q2fJAguGAw5ZDgfUy2uGAxmGAw52ywXPza','C3bSAxq','yxjJAgL2zuHHC2G','yxjJAa','AM9PBG','BM9KztPWyxrO','C2vSzwn0B3jgAwXL','q2fJAguGyxv0Ag9YAxr5igfSBg9JyxrPB24GAxmGyNvZEq','zNjVBuvUDhjPzxm','zNjVBq','zMLUza','Ag9ZDg5HBwu','ufjprfvdveLptL9qvujmsunFs0vz','qwXSB2nHDgvKignHy2HLigrPCMvJDg9YEsbJAgfUz2vKigjLzM9YzsbWDwjSAwnHDgLVBG','DhjHBNnHy3rPB25jza','AM9I','y29UDhjHy3rjza','CMvSyxrPDMu','A2LUza','yxrVBwLJ','DhjLzunVBMzPCM1Lza','CMvIDwLSDa','D29YA3nWywnL'];_0x5062=function(){return _0x511b9e;};return _0x5062();}function assertCacheOutcome(_0x4fb760,_0x4e1211,_0xb7039a){const _0x37cdfa=_0x43758d;for(const _0x12b29b of[_0x37cdfa(0x108),_0x37cdfa(0x114)]){const _0x1f272c=safePath(_0x4fb760[_0x37cdfa(0x12e)],path[_0x37cdfa(0x11c)](_0x4fb760[_0x37cdfa(0x17d)],_0x12b29b));try{const _0x44f0e1=fs[_0x37cdfa(0xdb)](_0x1f272c),_0x1b74eb=JSON['parse'](_0x44f0e1),_0x3df20b=_0x1b74eb[_0x37cdfa(0xd9)]===_0x37cdfa(0x140)||[_0x37cdfa(0xfb),_0x37cdfa(0xe2)][_0x37cdfa(0x14f)](_0x1b74eb[_0x37cdfa(0x149)]),_0x3cc090=_0x12b29b==='receipt.json'?_0x1b74eb[_0x37cdfa(0xd9)]===_0x37cdfa(0x156)&&!stoppedLaunch(_0x4fb760['workspace'],_0x1b74eb[_0x37cdfa(0x159)]):['recovering',_0x37cdfa(0x12d)][_0x37cdfa(0x14f)](_0x1b74eb['status']),_0x344327=_0x12b29b==='recovery.json'?_0x4e1211:_0xb7039a;if(_0x3df20b||_0x3cc090&&!(_0x344327&&_0x44f0e1[_0x37cdfa(0x132)](Buffer['from'](JSON['stringify'](_0x344327)))))fail(_0x37cdfa(0xe2),_0x37cdfa(0x15e));}catch(_0xfe091f){if(_0xfe091f['code']!=='ENOENT')throw _0xfe091f;}}}function assertLegacyCacheSafe(_0x12dfb7){const _0x1d19a1=_0x43758d;if(_0x12dfb7[_0x1d19a1(0x14d)]['kind']==='code-review-graph')projectSentinel(_0x12dfb7);if(_0x12dfb7[_0x1d19a1(0x14d)][_0x1d19a1(0x12a)]===_0x1d19a1(0x154))for(const _0x24ee00 of['','-wal',_0x1d19a1(0x145),'-journal']){const _0x1b3122=safePath(_0x12dfb7['workspace'],path[_0x1d19a1(0x11c)](_0x12dfb7[_0x1d19a1(0x12e)],_0x1d19a1(0xee)+_0x24ee00));if(fs[_0x1d19a1(0xd5)](_0x1b3122))fail('INDEX_LEGACY_MIGRATION_REQUIRED','Review\x20backend\x20would\x20migrate\x20a\x20legacy\x20database;\x20its\x20bytes\x20were\x20preserved');}const _0x435b22=safePath(_0x12dfb7[_0x1d19a1(0x12e)],path['join'](_0x12dfb7[_0x1d19a1(0x12e)],_0x1d19a1(0x10d),_0x12dfb7[_0x1d19a1(0x14d)][_0x1d19a1(0x12a)],_0x1d19a1(0x114)));try{const _0x5f42c6=JSON[_0x1d19a1(0x112)](fs[_0x1d19a1(0xdb)](_0x435b22));if(_0x5f42c6['status']!==_0x1d19a1(0x139))fail('INDEX_OUTCOME_UNKNOWN',_0x1d19a1(0xfc));}catch(_0x530421){if(_0x530421['code']!==_0x1d19a1(0x184))throw _0x530421;}}function stageManagedIndexCache(_0x3d90aa,_0x172cba,_0x430fd5){const _0x5c8a51=_0x43758d;if(!_0x3d90aa[_0x5c8a51(0x11e)])fail(_0x5c8a51(0xf0),'Cache\x20instances\x20require\x20contract\x203');const _0x13200a=require(_0x5c8a51(0x147))[_0x5c8a51(0x106)](_0x3d90aa[_0x5c8a51(0x12e)],_0x172cba,_0x430fd5),_0x5690a7=_0x13200a[_0x5c8a51(0x142)]?.[_0x3d90aa[_0x5c8a51(0x14d)][_0x5c8a51(0x12a)]];if(!/^[a-f0-9-]{36}$/[_0x5c8a51(0xd7)](_0x5690a7||''))fail(_0x5c8a51(0x133),_0x5c8a51(0x172));safePath(_0x3d90aa[_0x5c8a51(0x12e)],path['dirname'](_0x3d90aa['selectorFile']),!![]);const _0x15f18d=acquireRuntimeLock(_0x3d90aa[_0x5c8a51(0x11e)]+_0x5c8a51(0xcd));if(!_0x15f18d)fail(_0x5c8a51(0x175),_0x5c8a51(0xd3));try{let _0xe9c049;try{_0xe9c049=JSON[_0x5c8a51(0x112)](fs['readFileSync'](_0x3d90aa['selectorFile']));}catch(_0x58c502){if(_0x58c502['code']!=='ENOENT')throw _0x58c502;}if(_0xe9c049?.['pending']){if(_0xe9c049[_0x5c8a51(0xfd)][_0x5c8a51(0xc7)]===_0x172cba[_0x5c8a51(0xc7)]&&_0xe9c049[_0x5c8a51(0xfd)]['archiveHash']===_0x172cba[_0x5c8a51(0x11a)]){if(_0xe9c049[_0x5c8a51(0xfd)]['instanceId']!==_0x5690a7)fail(_0x5c8a51(0x133),_0x5c8a51(0x14a));return;}const _0xf356d9=path['relative'](_0x3d90aa[_0x5c8a51(0x12e)],_0x3d90aa[_0x5c8a51(0x11e)])[_0x5c8a51(0x10a)]('\x5c','/'),_0x51d8a3=_0x13200a[_0x5c8a51(0x161)][_0x5c8a51(0x122)](_0x57a4b0=>_0x57a4b0[_0x5c8a51(0x158)]===_0xf356d9);if(!_0x51d8a3||_0x51d8a3[_0x5c8a51(0x173)]!==sha(fs['readFileSync'](_0x3d90aa[_0x5c8a51(0x11e)])))fail('INDEX_RECOVERY_CHANGED',_0x5c8a51(0x157));require('../installer/index-interruption-recovery')[_0x5c8a51(0x106)](_0x3d90aa[_0x5c8a51(0x12e)],_0xe9c049[_0x5c8a51(0xfd)],_0x430fd5);}const _0x1ab51b={};_0x1ab51b[_0x5c8a51(0x162)]=_0x5690a7,_0x1ab51b[_0x5c8a51(0xc7)]=_0x172cba[_0x5c8a51(0xc7)],_0x1ab51b[_0x5c8a51(0x11a)]=_0x172cba['archiveHash'];const _0x556d5c={'version':0x1,'contractId':_0x3d90aa[_0x5c8a51(0x128)],'active':_0xe9c049?.[_0x5c8a51(0x101)]||_0x3d90aa['marker'][_0x5c8a51(0x162)],..._0xe9c049?.[_0x5c8a51(0x13c)]?{'recovery':_0xe9c049[_0x5c8a51(0x13c)],'publicationHash':_0xe9c049[_0x5c8a51(0xcb)]}:{}};_0x556d5c[_0x5c8a51(0xfd)]=_0x1ab51b;const _0x21cf95=_0x556d5c;require(_0x5c8a51(0x13b))[_0x5c8a51(0x12b)](_0x3d90aa[_0x5c8a51(0x11e)],_0x21cf95);}finally{_0x15f18d();}}function activateManagedIndexCache(_0x547f44,_0x167f2f,_0x2fcabd){const _0x491f67=_0x43758d;if(!_0x547f44[_0x491f67(0x11e)]||!_0x547f44[_0x491f67(0x110)]?.['pending']||_0x547f44[_0x491f67(0x14d)][_0x491f67(0x162)]!==_0x547f44[_0x491f67(0x110)][_0x491f67(0xfd)]['instanceId'])return;const _0x3f36ce=require(_0x491f67(0x113))[_0x491f67(0xca)](_0x547f44['workspace'],_0x2fcabd,_0x547f44[_0x491f67(0x14d)]),_0xd7eb07=acquireRuntimeLock(_0x547f44['selectorFile']+_0x491f67(0xcd));if(!_0xd7eb07)fail(_0x491f67(0x175),_0x491f67(0xd3));try{safePath(_0x547f44['workspace'],_0x547f44['selectorFile']);const _0x174169=JSON[_0x491f67(0x112)](fs[_0x491f67(0xdb)](_0x547f44[_0x491f67(0x11e)]));if(JSON[_0x491f67(0xf9)](_0x174169)!==JSON[_0x491f67(0xf9)](_0x547f44[_0x491f67(0x110)]))fail(_0x491f67(0x133),'Cache\x20selection\x20changed\x20during\x20build');const _0x154434=_0x174169[_0x491f67(0xfd)]||_0x174169[_0x491f67(0x13c)],_0x515086=require('../installer/index-interruption-recovery')[_0x491f67(0x106)](_0x547f44[_0x491f67(0x12e)],_0x154434);if(_0x174169[_0x491f67(0xfd)]['instanceId']!==_0x515086[_0x491f67(0x142)]?.[_0x547f44[_0x491f67(0x14d)][_0x491f67(0x12a)]])fail(_0x491f67(0x133),'Recovery\x20cache\x20allocation\x20changed\x20before\x20publication');validateManagedIndexCache(_0x547f44),assertCacheOutcome(_0x547f44);const _0x5ecd11=JSON[_0x491f67(0x112)](fs[_0x491f67(0xdb)](safePath(_0x547f44[_0x491f67(0x12e)],path[_0x491f67(0x11c)](_0x547f44[_0x491f67(0x17d)],_0x491f67(0x108)))));if(_0x167f2f?.[_0x491f67(0x179)]!==!![]||_0x5ecd11['status']!==_0x491f67(0x109)||_0x5ecd11[_0x491f67(0xf6)]!==_0x547f44[_0x491f67(0xf6)]||_0x5ecd11[_0x491f67(0x135)]!==_0x547f44['descriptorHash']||_0x5ecd11[_0x491f67(0xe9)]!==_0x547f44[_0x491f67(0xe9)]||!fs['existsSync'](_0x547f44[_0x491f67(0xe9)])||_0x5ecd11[_0x491f67(0x159)]!==_0x3f36ce[_0x491f67(0x141)]||['generation',_0x491f67(0xe7),'catalogHash',_0x491f67(0x126)][_0x491f67(0xeb)](_0x3aa6f5=>(_0x5ecd11[_0x3aa6f5]??null)!==(_0x3f36ce[_0x3aa6f5]??null)))fail('INDEX_PROBE_FAILED',_0x491f67(0x187));require('./index-maintenance')['indexPublicationExecution'](_0x547f44['workspace'],_0x2fcabd,_0x547f44[_0x491f67(0x14d)]);const _0x2b401d={};_0x2b401d[_0x491f67(0xf3)]=0x1,_0x2b401d[_0x491f67(0x162)]=_0x547f44[_0x491f67(0x14d)]['instanceId'],_0x2b401d[_0x491f67(0xf6)]=_0x547f44[_0x491f67(0xf6)],_0x2b401d[_0x491f67(0x135)]=_0x547f44[_0x491f67(0x135)],_0x2b401d[_0x491f67(0xff)]=_0x3f36ce,_0x2b401d[_0x491f67(0x17f)]=_0x3f36ce['producer'],_0x2b401d['receipt']=_0x5ecd11,_0x2b401d[_0x491f67(0x111)]={},_0x2b401d[_0x491f67(0x111)][_0x491f67(0x179)]=!![],_0x2b401d[_0x491f67(0x111)]['kind']=_0x547f44[_0x491f67(0x14d)][_0x491f67(0x12a)],_0x2b401d[_0x491f67(0x111)][_0x491f67(0xf3)]=_0x547f44[_0x491f67(0x14d)][_0x491f67(0x16a)][_0x491f67(0xf3)];const _0xa795ab=_0x2b401d,_0x48e39b=safePath(_0x547f44[_0x491f67(0x12e)],path[_0x491f67(0x11c)](_0x547f44['stateDirectory'],'publication.json'));let _0x4d3ab3;try{_0x4d3ab3=fs['readFileSync'](_0x48e39b);}catch(_0x28b7f0){if(_0x28b7f0[_0x491f67(0x149)]!==_0x491f67(0x184))throw _0x28b7f0;}_0x4d3ab3?validateSelection({..._0x547f44,'selector':{'version':0x1,'contractId':_0x547f44[_0x491f67(0x128)],'active':_0x547f44[_0x491f67(0x14d)][_0x491f67(0x162)],'recovery':_0x154434,'publicationHash':sha(_0x4d3ab3)}},{..._0x547f44['marker'][_0x491f67(0x16a)],'cacheContract':0x3}):(_0x4d3ab3=Buffer[_0x491f67(0x121)](JSON[_0x491f67(0xf9)](_0xa795ab)),preserveArchiveBytes(_0x48e39b,_0x4d3ab3));require('./index-maintenance')['indexPublicationExecution'](_0x547f44['workspace'],_0x2fcabd,_0x547f44[_0x491f67(0x14d)]);if(!_0xd7eb07[_0x491f67(0x177)]()||!fs['readFileSync'](_0x48e39b)[_0x491f67(0x132)](_0x4d3ab3)||JSON['stringify'](JSON[_0x491f67(0x112)](fs[_0x491f67(0xdb)](_0x547f44[_0x491f67(0x11e)])))!==JSON[_0x491f67(0xf9)](_0x174169))fail(_0x491f67(0x133),_0x491f67(0x180));require(_0x491f67(0x13b))['atomic'](_0x547f44[_0x491f67(0x11e)],{'version':0x1,'contractId':_0x547f44['contractId'],'active':_0x547f44[_0x491f67(0x14d)][_0x491f67(0x162)],'recovery':_0x154434,'publicationHash':sha(_0x4d3ab3)});}catch(_0x4ee4ef){if(_0x4ee4ef[_0x491f67(0x149)]===_0x491f67(0x184))fail(_0x491f67(0xdd),_0x491f67(0x137));throw _0x4ee4ef;}finally{_0xd7eb07();}}const _0x439d9d={};_0x439d9d[_0x43758d(0xda)]=resolveManagedIndexCache,_0x439d9d[_0x43758d(0xd4)]=openManagedIndexCache,_0x439d9d[_0x43758d(0x171)]=validateManagedIndexCache,_0x439d9d[_0x43758d(0x188)]=assertCacheOutcome,_0x439d9d[_0x43758d(0xdc)]=stoppedLaunch,_0x439d9d['safePath']=safePath,_0x439d9d[_0x43758d(0x16d)]=stageManagedIndexCache,_0x439d9d[_0x43758d(0xe4)]=activateManagedIndexCache,module['exports']=_0x439d9d;
|
|
1
|
+
'use strict';const _0x3dd8c0=_0xda06;(function(_0x861c2a,_0x1bf982){const _0x5b6f9f=_0xda06,_0xe792aa=_0x861c2a();while(!![]){try{const _0x41574f=-parseInt(_0x5b6f9f(0x1f6))/0x1+-parseInt(_0x5b6f9f(0x1ba))/0x2*(-parseInt(_0x5b6f9f(0x203))/0x3)+parseInt(_0x5b6f9f(0x1d8))/0x4*(parseInt(_0x5b6f9f(0x1a1))/0x5)+parseInt(_0x5b6f9f(0x21f))/0x6*(parseInt(_0x5b6f9f(0x166))/0x7)+parseInt(_0x5b6f9f(0x19c))/0x8*(parseInt(_0x5b6f9f(0x18d))/0x9)+parseInt(_0x5b6f9f(0x198))/0xa*(parseInt(_0x5b6f9f(0x1b4))/0xb)+-parseInt(_0x5b6f9f(0x19a))/0xc*(parseInt(_0x5b6f9f(0x220))/0xd);if(_0x41574f===_0x1bf982)break;else _0xe792aa['push'](_0xe792aa['shift']());}catch(_0x2b7f2f){_0xe792aa['push'](_0xe792aa['shift']());}}}(_0xbc50,0x6c553));function _0xda06(_0x5d0d38,_0x41f35f){_0x5d0d38=_0x5d0d38-0x165;const _0xbc50e8=_0xbc50();let _0xda0629=_0xbc50e8[_0x5d0d38];if(_0xda06['GQPlGw']===undefined){var _0x182a93=function(_0x4a27f9){const _0x36660a='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0xf01de0='',_0x5d9023='';for(let _0x3ec6a4=0x0,_0x2bfd0f,_0x106dff,_0x9a0eaf=0x0;_0x106dff=_0x4a27f9['charAt'](_0x9a0eaf++);~_0x106dff&&(_0x2bfd0f=_0x3ec6a4%0x4?_0x2bfd0f*0x40+_0x106dff:_0x106dff,_0x3ec6a4++%0x4)?_0xf01de0+=String['fromCharCode'](0xff&_0x2bfd0f>>(-0x2*_0x3ec6a4&0x6)):0x0){_0x106dff=_0x36660a['indexOf'](_0x106dff);}for(let _0x4ded0a=0x0,_0x42d7fa=_0xf01de0['length'];_0x4ded0a<_0x42d7fa;_0x4ded0a++){_0x5d9023+='%'+('00'+_0xf01de0['charCodeAt'](_0x4ded0a)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x5d9023);};_0xda06['crwVuP']=_0x182a93,_0xda06['RWocDj']={},_0xda06['GQPlGw']=!![];}const _0x4fcff9=_0xbc50e8[0x0];_0xda06['nVenxp']!==_0x4fcff9&&(_0xda06['RWocDj']={},_0xda06['nVenxp']=_0x4fcff9);const _0x172f2d=_0xda06['RWocDj'][_0x5d0d38];return _0x172f2d===undefined?(_0xda0629=_0xda06['crwVuP'](_0xda0629),_0xda06['RWocDj'][_0x5d0d38]=_0xda0629):_0xda0629=_0x172f2d,_0xda0629;}const fs=require(_0x3dd8c0(0x17b)),path=require(_0x3dd8c0(0x216)),os=require('node:os'),crypto=require(_0x3dd8c0(0x194)),{identity,containsWorkspace}=require(_0x3dd8c0(0x213)),{acquireRuntimeLock}=require(_0x3dd8c0(0x20b)),{preserveArchiveBytes}=require(_0x3dd8c0(0x1dd)),sha=_0x4a85e2=>crypto['createHash'](_0x3dd8c0(0x1d4))[_0x3dd8c0(0x171)](_0x4a85e2)[_0x3dd8c0(0x178)](_0x3dd8c0(0x17d)),fail=(_0x53fbd8,_0x549f9a)=>{const _0x3f3f9c=_0x3dd8c0,_0x12955f={};_0x12955f['code']=_0x53fbd8;throw Object[_0x3f3f9c(0x1d2)](Error(_0x549f9a),_0x12955f);};function safePath(_0x3b91ca,_0x4365c9,_0x2b633c=![]){const _0x51a0da=_0x3dd8c0,_0x1bc3f0=path[_0x51a0da(0x1a6)](_0x3b91ca,_0x4365c9);if(!_0x1bc3f0&&_0x2b633c)return _0x3b91ca;if(!_0x1bc3f0||path['isAbsolute'](_0x1bc3f0)||_0x1bc3f0[_0x51a0da(0x1c0)](path[_0x51a0da(0x17c)])[_0x51a0da(0x1bc)]('..'))fail(_0x51a0da(0x1f9),_0x51a0da(0x204));let _0x21270b=_0x3b91ca;for(const _0x498827 of _0x1bc3f0[_0x51a0da(0x1c0)](path[_0x51a0da(0x17c)])){_0x21270b=path[_0x51a0da(0x175)](_0x21270b,_0x498827);try{if(fs[_0x51a0da(0x1cc)](_0x21270b)[_0x51a0da(0x1aa)]()||!containsWorkspace(_0x3b91ca,_0x21270b))fail('UNSAFE_INDEX','Cache\x20path\x20is\x20redirected');}catch(_0x17ef8a){if(_0x17ef8a[_0x51a0da(0x209)]!=='ENOENT')throw _0x17ef8a;}}const _0x22ce2b={};_0x22ce2b[_0x51a0da(0x1d1)]=!![];if(_0x2b633c)fs[_0x51a0da(0x21c)](_0x4365c9,_0x22ce2b);return _0x4365c9;}function guard(_0x25ed5d,_0xa8d8ac,_0x48149a=![]){const _0x494a59=_0x3dd8c0,_0x361221=_0x25ed5d['root']||_0x25ed5d[_0x494a59(0x228)],_0x3733dc=path[_0x494a59(0x1a6)](_0x361221,_0xa8d8ac),_0x33b17c=_0x361221!==_0x25ed5d['workspace']&&_0x3733dc&&!_0x3733dc['startsWith']('..')&&!path['isAbsolute'](_0x3733dc);return safePath(_0x33b17c?_0x361221:_0x25ed5d[_0x494a59(0x228)],_0xa8d8ac,_0x48149a);}const dataRoot=_0x61b856=>require(_0x3dd8c0(0x222))[_0x3dd8c0(0x215)](_0x61b856);function resolveManagedIndexCache({workspace:_0x3aceea,kind:_0x136100,profile:_0x22b87a,instanceId:_0x38927a,pending:pending=![],historical:historical=![],publicKey:_0x5b5d98}){const _0xc14d8=_0x3dd8c0;if(_0x22b87a[_0xc14d8(0x18f)]===undefined)return null;if(![0x2,0x3][_0xc14d8(0x1bc)](_0x22b87a['cacheContract'])||![_0xc14d8(0x1b5),_0xc14d8(0x181)][_0xc14d8(0x1bc)](_0x136100)||!/^\d+\.\d+\.\d+$/[_0xc14d8(0x1a8)](_0x22b87a[_0xc14d8(0x170)]||''))fail(_0xc14d8(0x1f9),_0xc14d8(0x1fc));_0x3aceea=fs[_0xc14d8(0x187)](_0x3aceea);const _0x58b53d=Object[_0xc14d8(0x16e)](Object[_0xc14d8(0x1f7)](_0x22b87a[_0xc14d8(0x19d)]||{})[_0xc14d8(0x16d)](([_0x4f5208],[_0x5d4719])=>_0x4f5208[_0xc14d8(0x1ae)](_0x5d4719))),_0x266f1e=_0x22b87a[_0xc14d8(0x18f)],_0x259429={};_0x259429[_0xc14d8(0x170)]=_0x22b87a[_0xc14d8(0x170)],_0x259429[_0xc14d8(0x19d)]=_0x58b53d;const _0x5055cf={'version':_0x266f1e,'owner':_0xc14d8(0x1e1),'epoch':'apt-index-cache-v'+_0x266f1e,'workspace':identity(_0x3aceea),'host':os[_0xc14d8(0x1fd)]()+':'+process[_0xc14d8(0x219)]+':'+process['arch'],'kind':_0x136100,'profile':_0x259429},_0xb91e61=sha(JSON[_0xc14d8(0x1ce)](_0x5055cf)),_0x4ab08f=dataRoot(_0x3aceea),_0xdbe988={};_0xdbe988[_0xc14d8(0x1d1)]=!![];if(_0x4ab08f!==_0x3aceea)fs[_0xc14d8(0x21c)](_0x4ab08f,_0xdbe988);const _0x2df7cb=_0x266f1e===0x3?safePath(_0x4ab08f,path[_0xc14d8(0x175)](_0x4ab08f,'.agents/runtime/backends/'+_0x136100+_0xc14d8(0x20f)+_0xb91e61+_0xc14d8(0x1c5))):null;let _0x5ecbfe=null;if(_0x2df7cb&&!historical){try{_0x5ecbfe=JSON['parse'](fs[_0xc14d8(0x1a2)](_0x2df7cb));if(_0x5ecbfe[_0xc14d8(0x170)]!==0x1||_0x5ecbfe['contractId']!==_0xb91e61||!/^[a-f0-9-]{36}$/['test'](_0x5ecbfe['active']||'')||_0x5ecbfe[_0xc14d8(0x1db)]&&(!/^[a-f0-9-]{36}$/[_0xc14d8(0x1a8)](_0x5ecbfe[_0xc14d8(0x1db)][_0xc14d8(0x191)]||'')||!/^[a-f0-9-]{36}$/[_0xc14d8(0x1a8)](_0x5ecbfe[_0xc14d8(0x1db)][_0xc14d8(0x1d7)]||'')))fail(_0xc14d8(0x226),_0xc14d8(0x1c2));}catch(_0xace4b6){if(_0xace4b6['code']!==_0xc14d8(0x173))throw _0xace4b6;}_0x38927a||=pending&&_0x5ecbfe?.[_0xc14d8(0x1db)]?_0x5ecbfe['pending'][_0xc14d8(0x191)]:_0x5ecbfe?.[_0xc14d8(0x202)]||'00000000-0000-0000-0000-000000000000';if(!/^[a-f0-9-]{36}$/[_0xc14d8(0x1a8)](_0x38927a))fail('INDEX_CACHE_UNVERIFIED',_0xc14d8(0x1f2));_0x5055cf[_0xc14d8(0x191)]=_0x38927a;}if(_0x266f1e===0x3&&historical){_0x38927a||='00000000-0000-0000-0000-000000000000';if(!/^[a-f0-9-]{36}$/['test'](_0x38927a))fail('INDEX_CACHE_UNVERIFIED',_0xc14d8(0x1f2));_0x5055cf[_0xc14d8(0x191)]=_0x38927a;}const _0x573b19=sha(JSON[_0xc14d8(0x1ce)](_0x5055cf)),_0x1d53db=_0x573b19[_0xc14d8(0x210)](0x0,0x18),_0x136d1c='.agents/runtime/backends/'+_0x136100+_0xc14d8(0x1f0)+_0x1d53db,_0x165f40=_0x136100===_0xc14d8(0x1b5)?_0xc14d8(0x19f)+process['platform']+'-'+process[_0xc14d8(0x193)]+_0xc14d8(0x20d)+_0x266f1e+'-'+_0x1d53db:_0xc14d8(0x21e)+_0x22b87a['version']+'-'+process['platform']+'-'+process[_0xc14d8(0x193)]+'-apt'+_0x266f1e+'-'+_0x1d53db,_0x171e07={..._0x5055cf};_0x171e07[_0xc14d8(0x183)]=_0x573b19,_0x171e07['stateRelative']=_0x136d1c,_0x171e07[_0xc14d8(0x196)]=_0x165f40;const _0x140725=_0x171e07,_0x39defc=sha(JSON['stringify'](_0x140725)),_0x5606af={..._0x140725};_0x5606af['descriptorHash']=_0x39defc;const _0x4f3ec9=_0x5606af,_0xf8ee82=path['join'](_0x4ab08f,_0x136d1c),_0x4babcd=path[_0xc14d8(0x175)](_0x136100===_0xc14d8(0x1b5)?_0x3aceea:_0x4ab08f,_0x165f40),_0x314faf=path['join'](_0x4babcd,_0x136100===_0xc14d8(0x1b5)?_0xc14d8(0x200):_0xc14d8(0x1e4)),_0x47ed1f={..._0x22b87a[_0xc14d8(0x16c)]};_0x47ed1f[_0xc14d8(0x225)]=_0x165f40;const _0x1f5eee=_0x136100===_0xc14d8(0x1b5)?_0x47ed1f:{..._0x22b87a[_0xc14d8(0x16c)],'CRG_DATA_DIR':_0x4babcd,'CRG_HOME':path[_0xc14d8(0x175)](_0xf8ee82,_0xc14d8(0x177))},_0x19ce82={};_0x19ce82[_0xc14d8(0x228)]=_0x3aceea,_0x19ce82[_0xc14d8(0x17e)]=_0x4ab08f,_0x19ce82[_0xc14d8(0x183)]=_0x573b19,_0x19ce82['descriptorHash']=_0x39defc,_0x19ce82['stateDirectory']=_0xf8ee82,_0x19ce82[_0xc14d8(0x186)]=_0x4babcd,_0x19ce82['database']=_0x314faf,_0x19ce82[_0xc14d8(0x16c)]=_0x1f5eee,_0x19ce82[_0xc14d8(0x1e5)]=_0x4f3ec9,_0x19ce82[_0xc14d8(0x1ec)]=_0x2df7cb,_0x19ce82[_0xc14d8(0x16f)]=_0xb91e61,_0x19ce82[_0xc14d8(0x1d3)]=_0x5ecbfe;const _0x524332=_0x19ce82;if(_0x5ecbfe&&!historical)validateSelection(_0x524332,_0x22b87a,_0x5b5d98);return _0x524332;}function _0xbc50(){const _0x4ba183=['u2vSzwn0zwqGy2fJAguGCMvJzwLWDcbKAwzMzxjZigzYB20GAxrZigf1DgHVCML0Eq','CMvJB3zLCNK','qw5VDgHLCIbYzwnVDMvYEsbVD25ZihrOzsbJywnOzsbZzwXLy3rPB24','y29Kzq','lMf1DgHVCML0Es5SB2nR','lI4Vy29Yzs9VD25Lzc1SB2nR','C291CMnL','lwfWDa','ywn0AxzLuhjVy2vZC2vZ','l3nLBgvJDg9YCY8','C2XPy2u','CgfYC2u','y2f0ywXVz0HHC2G','lI4Vy29Yzs93B3jRC3bHy2uTCgf0Aa','uMvJB3zLCNKGy2fJAguGywXSB2nHDgLVBIbJAgfUz2vKigjLzM9YzsbWDwjSAwnHDgLVBG','C3rHDgvcyxnL','BM9KztPWyxrO','ruvysvnu','yNvPBhq','CgXHDgzVCM0','lMDPDa','C3rVChbLza','BwTKAxjtEw5J','zMLUza','lMfNzw50CY8Uzgf0ys9NCMfWAc0','mZbYANjUthi','mtnTzfHNtvG','ChjVyMu','lI4Vy29Yzs93B3jRC3bHy2uTBgf5B3v0','zgf0ywjHC2u','A2LUza','q09eruDsqvbix0rjuG','su5ervHFq0fdsevFvu5wrvjjrKLfra','C3rVChbLzeXHDw5JAa','D29YA3nWywnL','u2vSzwn0zwqGy2fJAguGAgfZig5VihzLCMLMAwvKihb1yMXPy2f0Aw9U','su5ervHFqLvtwq','mJa4mJKYt0fluMj0','zgv2','AM9I','AM9IlxrYzwu','CMvJzwLWDc5QC29U','Aw5ZDgfUy2vZ','zw52','C29YDa','zNjVBuvUDhjPzxm','y29UDhjHy3rjza','DMvYC2LVBG','DxbKyxrL','zgLYBMfTzq','ru5pru5u','z3vHCMq','AM9PBG','zxf1ywXZ','CMvNAxn0CNK','zgLNzxn0','yxrVBwLJ','B3bLBK1HBMfNzwrjBMrLEenHy2HL','BM9KztPMCW','C2vW','Agv4','CM9VDa','CMvZB3vYy2veAwDLC3q','yxjJAgL2zuHHC2G','y29Kzs1YzxzPzxCTz3jHCgG','uMv2Awv3igjHy2TLBMqGD291BgqGBwLNCMf0zsbHigXLz2fJEsbKyxrHyMfZztSGAxrZigj5DgvZihDLCMuGChjLC2vYDMvK','yxv0Ag9YAxr5swq','Bgf1BMnOqxr0zw1WDeLK','su5ervHFu1rpuf9vtKnptKzjuK1fra','y2fJAgveAxjLy3rVCNK','CMvHBhbHDgHtEw5J','ugvUzgLUzYbJywnOzsbKAwzMzxjZigzYB20GAxrZigfYy2HPDMvKigfSBg9JyxrPB24','C2fMzvbHDgG','lMfNzw50CW','lMnVzguTCMv2Awv3lwDYyxbOlMrI','Aw5KzxHqDwjSAwnHDgLVBKv4zwn1DgLVBG','mtuZvxzfzg1W','DMfSAwrHDgvjBMrLEefYy2HPDMu','y2fJAgvdB250CMfJDa','uMvJB3zLCNKGAgfZig5VignHy2HLigfSBg9JyxrPB24','Aw5ZDgfUy2vjza','zxHLy3v0Aw9U','yxjJAa','BM9KztPJCNLWDg8','yxnZAwDUBwvUDenVBMzPCM1Lza','y2fJAgvszwXHDgL2zq','y29UDgfPBM1LBNq','nde4nZbjtfbqt1O','CMvWBgfJzq','mtu5otKYnZzxqxvYsgy','ChvIBgLJyxrPB25iyxnO','mJy2nerPDwrVBq','DMvYC2LVBNm','rNjLC2GGy2fJAguGyNvPBgqGAxmGBwLZC2LUzW','lMnVzgvNCMfWAc0','su5ervHFufjpqKvFrKfjteve','mZi1otm2nvjRyxr3Aa','CMvHzezPBgvtEw5J','yxv0Ag9YAxr5lMPZB24','mdaWmdaWmdaTmdaWmc0WmdaWltaWmdaTmdaWmdaWmdaWmdaW','rNjLC2GGy2fJAguGCMvXDwLYzxmGyNvPBgqGyw5Kigz1BMn0Aw9UywWGChjVyMu','CMvSyxrPDMu','lI4Vy29Yzs9YzwnVDMvYEs1WCM9VzG','DgvZDa','q2fJAguGChjVBw90Aw9Uigv2AwrLBMnLignOyw5NzwqGyMvMB3jLihnLBgvJDgLVBG','AxntEw1IB2XPy0XPBMS','Aw5KzxGTyxr0zw1WDhm','AxngAwXL','ufjprfvdveLptL9qvujmsunFs0vz','Bg9JywXLq29TCgfYzq','u2vSzwn0zwqGy2fJAguGChvIBgLJyxrPB24GAxmGAw52ywXPza','lxnOBq','lMXVy2S','AgLZDg9YAwnHBa','uMv2Awv3ihbYB2PLy3qGC2vUDgLUzwWGAxmGBwLZC2LUzW','mtq4nvLsyw9fuG','y29KzwDYyxbO','C2vUDgLUzwW','q2fJAguGC2vSzwn0Aw9UigLZigj1C3K','zxHPC3rZu3LUyW','C29Tzq','mtaWmtG2tNfICwLW','su5ervHFt1vuq09nrv9vtKTot1Do','Aw5JBhvKzxm','AxneAxjLy3rVCNK','lwPVDxjUywW','z2vUzxjHDgLVBG','C3bSAxq','CMvSzwfZzq','q2fJAguGC2vSzwn0B3iGAxmGAw52ywXPza','zMLSzxm','DMfSAwrHDgvnyw5Hz2vKsw5KzxHdywnOzq','lMPZB24','DhjLzunVBMzPCM1Lza','DxrMoa','lI9PBMrLEc1ZDg9Yzq','CMvWBgfJzufSBa','CMvNAxn0CNKVCMvNAxn0CNKUANnVBG','CMvJB3zLCMLUzW','Bhn0yxrtEw5J','ChjVzMLSzq','C3rYAw5NAwz5','u2vSzwn0zwqGy2fJAguGAxmGyMvPBMCGBwfPBNrHAw5Lza','Aw5V','CMvJDxjZAxzL','yxnZAwDU','C2vSzwn0B3i','C2HHmJu2','yxr0zw1WDeLK','C3rHDhvZ','CMvJB3zLCNLjza','ngzJz3n2vq','Ag9ZDa','lxDHBa','CgvUzgLUzW','CMvJB3zLCNKUANnVBG','lI4Vy29Yzs9YzwnVDMvYEs1HCMnOAxzL','su5ervHFuKvdt1zfuLLFq0HbtKDfra','B3DUzwq','C2H1DgrVD25fDMLKzw5Jzq','yxb0lw1JCc1Hz2vUDa','y2fJAgvZ','ChjVzhvJzxi','z3jHCgGUzgi','BwfYA2vY','lI9PBMrLEc1TywLUDgvUyw5Jzq','lI4VAw5ZDgfSBgvYl2LUzgv4lwLUDgvYCNvWDgLVBI1YzwnVDMvYEq','zgvZy3jPChrVCKHHC2G','CMvJzwLWDa','zNvUy3rPB25HBfjLywr5','ywn0AxzHDgvnyw5Hz2vKsw5KzxHdywnOzq','C2vSzwn0B3jgAwXL','q2fJAguGC2vSzwn0Aw9UignOyw5NzwqGzhvYAw5Nigj1AwXK','CMvIDwLSDa','C3rHDgveAxjLy3rVCNK','l2nHy2HLCY8','lMfWDc1Tyw5Hz2vKlMPZB24','q2fJAguGAw5ZDgfUy2uGAxmGAw52ywXPza','yxnZzxj0q2fJAgvpDxrJB21L','ChvIBgLJyxrPB24UANnVBG','CMvJB3zLCMvK','mJq1nZy0twDdzLnx','zw50CMLLCW','uMvJB3zLCNKGy2fJAguGywXSB2nHDgLVBIbJAgfUz2vK','vu5tquzfx0Lorevy','zNjVBq','lI4VBgLJzw5Zzs92zxjPzNK','vw5ZDxbWB3j0zwqGy2fJAguGy29UDhjHy3q','Ag9ZDg5HBwu','D2LUzg93CY1QB2iTB2jQzwn0','y2fJAguUBg9JAW','y29KzwDYyxbOlMrI','zxHWB3j0CW','ywn0AxzL','mZLNvwzYrLi','q2fJAguGCgf0AcbLC2nHCgvZihDVCMTZCgfJzq','DMvYAwz5sw5KzxHqCM9KDwnLCG'];_0xbc50=function(){return _0x4ba183;};return _0xbc50();}function validateSelection(_0x283b30,_0x407c41,_0x274769){const _0x37c69e=_0x3dd8c0,{workspace:_0xf2db65,selector:_0x208352}=_0x283b30,_0x1530a3=require('../installer/index-interruption-recovery');if(_0x208352[_0x37c69e(0x1db)]){const _0x1a7e28=_0x1530a3['validateIndexArchive'](_0xf2db65,_0x208352[_0x37c69e(0x1db)],_0x274769);if(_0x208352['pending'][_0x37c69e(0x191)]!==_0x1a7e28[_0x37c69e(0x16b)]?.[_0x283b30[_0x37c69e(0x1e5)]['kind']])fail(_0x37c69e(0x226),_0x37c69e(0x188));}if(_0x208352[_0x37c69e(0x202)]===_0x37c69e(0x1a4))return;if(_0x208352[_0x37c69e(0x207)]?.['recoveryId']!==_0x208352[_0x37c69e(0x202)]||!/^[a-f0-9]{64}$/[_0x37c69e(0x1a8)](_0x208352[_0x37c69e(0x19b)]||''))fail(_0x37c69e(0x226),_0x37c69e(0x229));_0x1530a3['validateIndexArchive'](_0xf2db65,_0x208352[_0x37c69e(0x207)],_0x274769);const _0x51795f={};_0x51795f['workspace']=_0xf2db65,_0x51795f[_0x37c69e(0x224)]=_0x283b30[_0x37c69e(0x1e5)]['kind'],_0x51795f[_0x37c69e(0x1cd)]=_0x407c41,_0x51795f['instanceId']=_0x208352[_0x37c69e(0x202)],_0x51795f[_0x37c69e(0x1b2)]=!![];const _0x27d211=resolveManagedIndexCache(_0x51795f),_0x297825=guard(_0x27d211,path[_0x37c69e(0x175)](_0x27d211['stateDirectory'],'publication.json')),_0x14c09a=fs[_0x37c69e(0x1a2)](_0x297825),_0x169e15=JSON[_0x37c69e(0x211)](_0x14c09a),_0x3a0d5b=_0x169e15[_0x37c69e(0x192)],_0x5c3e4c=_0x169e15[_0x37c69e(0x1e9)],_0x234a97=require(_0x37c69e(0x1a7))[_0x37c69e(0x205)](_0x169e15[_0x37c69e(0x1e3)]?.[_0x37c69e(0x1c1)],_0x274769||require(_0x37c69e(0x1fb))[_0x37c69e(0x1ad)]);if(sha(_0x14c09a)!==_0x208352['publicationHash']||_0x169e15[_0x37c69e(0x170)]!==0x1||_0x169e15['instanceId']!==_0x208352[_0x37c69e(0x202)]||_0x169e15['authorityId']!==_0x27d211[_0x37c69e(0x183)]||_0x169e15[_0x37c69e(0x1e8)]!==_0x27d211[_0x37c69e(0x1e8)]||_0x234a97[_0x37c69e(0x170)]!==_0x3a0d5b?.[_0x37c69e(0x1e3)]?.[_0x37c69e(0x170)]||_0x234a97[_0x37c69e(0x178)]!==_0x3a0d5b?.[_0x37c69e(0x1e3)]?.[_0x37c69e(0x178)]||!_0x3a0d5b?.[_0x37c69e(0x1e2)]?.['some'](_0x3ccbf9=>_0x3ccbf9['kind']===_0x27d211[_0x37c69e(0x1e5)][_0x37c69e(0x224)]&&JSON[_0x37c69e(0x1ce)](_0x3ccbf9[_0x37c69e(0x1e5)])===JSON[_0x37c69e(0x1ce)](_0x27d211['marker']))||_0x169e15[_0x37c69e(0x221)]?.['functionalReady']!==!![]||_0x169e15[_0x37c69e(0x221)][_0x37c69e(0x224)]!==_0x27d211[_0x37c69e(0x1e5)][_0x37c69e(0x224)]||_0x169e15['probe']['version']!==_0x407c41[_0x37c69e(0x170)]||_0x5c3e4c?.[_0x37c69e(0x1d6)]!=='built'||_0x5c3e4c[_0x37c69e(0x183)]!==_0x27d211[_0x37c69e(0x183)]||_0x5c3e4c[_0x37c69e(0x1e8)]!==_0x27d211[_0x37c69e(0x1e8)]||_0x5c3e4c[_0x37c69e(0x223)]!==_0x27d211['database']||_0x5c3e4c[_0x37c69e(0x184)]!==_0x3a0d5b[_0x37c69e(0x1d5)]||[_0x37c69e(0x1bf),_0x37c69e(0x17f),'catalogHash','transactionId'][_0x37c69e(0x1b9)](_0x193558=>(_0x5c3e4c[_0x193558]??null)!==(_0x3a0d5b[_0x193558]??null))||!fs[_0x37c69e(0x1b8)](guard(_0x27d211,_0x27d211[_0x37c69e(0x223)])))fail(_0x37c69e(0x226),_0x37c69e(0x1af));const _0x54067e={};_0x54067e[_0x37c69e(0x1b6)]=![],validateManagedIndexCache(_0x27d211,_0x54067e);const _0x9a6721=guard(_0x27d211,path[_0x37c69e(0x175)](_0x27d211['stateDirectory'],_0x37c69e(0x16a))),_0x3a259d=JSON[_0x37c69e(0x211)](fs[_0x37c69e(0x1a2)](_0x9a6721));if(_0x3a259d[_0x37c69e(0x1d6)]==='built'&&(_0x3a259d[_0x37c69e(0x183)]!==_0x27d211[_0x37c69e(0x183)]||_0x3a259d['descriptorHash']!==_0x27d211[_0x37c69e(0x1e8)]||_0x3a259d[_0x37c69e(0x223)]!==_0x27d211['database']))fail(_0x37c69e(0x226),_0x37c69e(0x206));}function verifyMarker(_0x1f0fd0,_0x4a59be,_0x36b213){const _0x45c80b=_0x3dd8c0;guard(_0x1f0fd0,_0x4a59be);const _0x562ca4=guard(_0x1f0fd0,path[_0x45c80b(0x175)](_0x4a59be,_0x36b213));try{const _0x3c1e40=fs['lstatSync'](_0x562ca4);if(!_0x3c1e40[_0x45c80b(0x1ac)]()||!fs[_0x45c80b(0x1a2)](_0x562ca4)[_0x45c80b(0x176)](Buffer['from'](JSON[_0x45c80b(0x1ce)](_0x1f0fd0[_0x45c80b(0x1e5)]))))fail(_0x45c80b(0x1f9),'Cache\x20authority\x20does\x20not\x20match\x20its\x20physical\x20path');}catch(_0xfc9986){if(_0xfc9986[_0x45c80b(0x209)]===_0x45c80b(0x173))fail(_0x45c80b(0x1f9),'Occupied\x20cache\x20has\x20no\x20authority');throw _0xfc9986;}}function createMarkedDirectory(_0x37c52b,_0x501685,_0xcc031b){const _0x27ca6f=_0x3dd8c0;if(fs[_0x27ca6f(0x1b8)](_0x501685)){verifyMarker(_0x37c52b,_0x501685,_0xcc031b);return;}guard(_0x37c52b,path[_0x27ca6f(0x172)](_0x501685),!![]);try{fs['mkdirSync'](_0x501685);}catch(_0x1dc05a){if(_0x1dc05a['code']===_0x27ca6f(0x217))fail('UNSAFE_INDEX','Cache\x20path\x20became\x20occupied');throw _0x1dc05a;}guard(_0x37c52b,_0x501685);const _0x4e2d35=fs[_0x27ca6f(0x1cc)](_0x501685),_0x29e975=path['join'](_0x501685,_0xcc031b);let _0x5da216=![];try{guard(_0x37c52b,_0x29e975);const _0x40fe29=fs[_0x27ca6f(0x1cc)](_0x501685);if(!_0x40fe29[_0x27ca6f(0x1bd)]()||_0x40fe29['dev']!==_0x4e2d35[_0x27ca6f(0x167)]||_0x40fe29[_0x27ca6f(0x1d0)]!==_0x4e2d35[_0x27ca6f(0x1d0)])fail(_0x27ca6f(0x1f9),'Allocated\x20cache\x20directory\x20changed\x20before\x20publication');preserveArchiveBytes(_0x29e975,JSON[_0x27ca6f(0x1ce)](_0x37c52b[_0x27ca6f(0x1e5)])),verifyMarker(_0x37c52b,_0x501685,_0xcc031b),_0x5da216=!![];}finally{if(!_0x5da216)try{guard(_0x37c52b,_0x501685);const _0x203ae1=fs[_0x27ca6f(0x1cc)](_0x501685);if(_0x203ae1[_0x27ca6f(0x167)]===_0x4e2d35[_0x27ca6f(0x167)]&&_0x203ae1[_0x27ca6f(0x1d0)]===_0x4e2d35[_0x27ca6f(0x1d0)]){if(fs[_0x27ca6f(0x1b8)](_0x29e975)&&fs[_0x27ca6f(0x1a2)](_0x29e975)[_0x27ca6f(0x176)](Buffer[_0x27ca6f(0x1fa)](JSON[_0x27ca6f(0x1ce)](_0x37c52b[_0x27ca6f(0x1e5)]))))fs['unlinkSync'](_0x29e975);fs['rmdirSync'](_0x501685);}}catch{}}}function validateManagedIndexCache(_0x4fca1f,{sentinel:sentinel=!![]}={}){const _0x4a1086=_0x3dd8c0;assertLegacyCacheSafe(_0x4fca1f);if(sentinel&&_0x4fca1f[_0x4a1086(0x1e5)][_0x4a1086(0x224)]==='code-review-graph')projectSentinel(_0x4fca1f,!![]);verifyMarker(_0x4fca1f,_0x4fca1f[_0x4a1086(0x1ef)],_0x4a1086(0x1a3)),verifyMarker(_0x4fca1f,_0x4fca1f['cacheDirectory'],_0x4a1086(0x1f1));for(const _0x23c467 of['users',_0x4a1086(0x177),_0x4a1086(0x1ca),_0x4a1086(0x1ff),_0x4a1086(0x16a),_0x4a1086(0x1dc)])guard(_0x4fca1f,path[_0x4a1086(0x175)](_0x4fca1f['stateDirectory'],_0x23c467));for(const _0x283f60 of['',_0x4a1086(0x1da),'-shm',_0x4a1086(0x1be)])guard(_0x4fca1f,_0x4fca1f[_0x4a1086(0x223)]+_0x283f60);}function openManagedIndexCache(_0x227b53){const _0x241aee=_0x3dd8c0;assertLegacyCacheSafe(_0x227b53),assertCacheOutcome(_0x227b53);const _0x1fb0db=guard(_0x227b53,path[_0x241aee(0x172)](_0x227b53[_0x241aee(0x1ef)]),!![]),_0x17a71c=guard(_0x227b53,path[_0x241aee(0x175)](_0x1fb0db,_0x227b53[_0x241aee(0x183)][_0x241aee(0x210)](0x0,0x18)+_0x241aee(0x20a))),_0x50b929=acquireRuntimeLock(_0x17a71c,0x0,_0x227b53['marker'][_0x241aee(0x1d9)]);if(!_0x50b929)fail(_0x241aee(0x165),'Cache\x20authority\x20allocation\x20is\x20busy');try{createMarkedDirectory(_0x227b53,_0x227b53[_0x241aee(0x1ef)],_0x241aee(0x1a3));const _0x1ba506=guard(_0x227b53,path['join'](_0x227b53[_0x241aee(0x1ef)],_0x241aee(0x1ff))),_0x574c74=acquireRuntimeLock(_0x1ba506,0x0,_0x227b53[_0x241aee(0x1e5)][_0x241aee(0x1d9)]);if(!_0x574c74)fail(_0x241aee(0x165),_0x241aee(0x1cf));try{createMarkedDirectory(_0x227b53,_0x227b53[_0x241aee(0x186)],_0x241aee(0x1f1)),restoreProjectSentinel(_0x227b53),validateManagedIndexCache(_0x227b53);}finally{_0x574c74();}}finally{_0x50b929();}}function projectSentinel(_0x51d039,_0x2e61b7=![]){const _0x3927ec=_0x3dd8c0;if(_0x51d039[_0x3927ec(0x17e)]&&_0x51d039['root']!==_0x51d039[_0x3927ec(0x228)]&&fs[_0x3927ec(0x1b8)](path['join'](_0x51d039[_0x3927ec(0x228)],_0x3927ec(0x21a))))return null;const _0x205400=guard(_0x51d039,path[_0x3927ec(0x175)](_0x51d039[_0x3927ec(0x228)],'.code-review-graph'));try{if(!fs[_0x3927ec(0x1cc)](_0x205400)['isDirectory']())fail(_0x3927ec(0x1f9),'Review\x20project\x20sentinel\x20is\x20not\x20a\x20directory');}catch(_0x20c160){if(_0x20c160[_0x3927ec(0x209)]!=='ENOENT')throw _0x20c160;if(_0x2e61b7)fail('UNSAFE_INDEX',_0x3927ec(0x1b3));}return _0x205400;}function restoreProjectSentinel(_0x3c6432){const _0xc2180e=_0x3dd8c0,_0x2efdd2=_0x3c6432[_0xc2180e(0x1e5)][_0xc2180e(0x224)]==='code-review-graph'?projectSentinel(_0x3c6432):null;if(_0x2efdd2)guard(_0x3c6432,_0x2efdd2,!![]);}function stoppedLaunch(_0x17afc4,_0x97dc47){const _0x577072=_0x3dd8c0;if(!/^[a-f0-9-]{36}$/[_0x577072(0x1a8)](_0x97dc47||''))return![];try{const _0x9ebd8a=dataRoot(_0x17afc4),_0x12ab14=safePath(_0x9ebd8a,path[_0x577072(0x175)](_0x9ebd8a,_0x577072(0x18a),'runtime',_0x577072(0x1ab),_0x97dc47+_0x577072(0x1c5))),_0x179275=JSON[_0x577072(0x211)](fs[_0x577072(0x1a2)](_0x12ab14,_0x577072(0x1c7))[_0x577072(0x199)](/^/,'')),_0x69a881=_0x179275[_0x577072(0x1e0)];return _0x179275['status']===_0x577072(0x21b)&&_0x179275['execution']?.[_0x577072(0x1d5)]===_0x97dc47&&_0x69a881?.[_0x577072(0x20c)]===_0x577072(0x1fe)&&_0x69a881[_0x577072(0x197)]===_0x577072(0x169)&&_0x69a881[_0x577072(0x1c6)]===!![]&&_0x69a881[_0x577072(0x168)]?.[_0x577072(0x195)]===!![]&&_0x69a881['job'][_0x577072(0x20e)]===0x0&&_0x69a881[_0x577072(0x168)]['stopped']===!![];}catch{return![];}}function assertCacheOutcome(_0x333a01,_0x2017e6,_0x996769){const _0x3cea6f=_0x3dd8c0;for(const _0x51678d of[_0x3cea6f(0x16a),'recovery.json']){const _0x343e94=guard(_0x333a01,path[_0x3cea6f(0x175)](_0x333a01[_0x3cea6f(0x1ef)],_0x51678d));try{const _0x463627=fs[_0x3cea6f(0x1a2)](_0x343e94),_0xfcf3da=JSON['parse'](_0x463627),_0x472db0=_0xfcf3da[_0x3cea6f(0x1d6)]==='unknown'||[_0x3cea6f(0x185),_0x3cea6f(0x1bb)][_0x3cea6f(0x1bc)](_0xfcf3da[_0x3cea6f(0x209)]),_0x5745a2=_0x51678d===_0x3cea6f(0x16a)?_0xfcf3da[_0x3cea6f(0x1d6)]==='building'&&!stoppedLaunch(_0x333a01[_0x3cea6f(0x228)],_0xfcf3da[_0x3cea6f(0x184)]):[_0x3cea6f(0x1cb),_0x3cea6f(0x1ee)][_0x3cea6f(0x1bc)](_0xfcf3da['status']),_0x4bf0a5=_0x51678d===_0x3cea6f(0x1dc)?_0x2017e6:_0x996769;if(_0x472db0||_0x5745a2&&!(_0x4bf0a5&&_0x463627[_0x3cea6f(0x176)](Buffer[_0x3cea6f(0x1fa)](JSON[_0x3cea6f(0x1ce)](_0x4bf0a5)))))fail(_0x3cea6f(0x1bb),'Selected\x20cache\x20has\x20an\x20unconfirmed\x20index\x20operation');}catch(_0x197e7c){if(_0x197e7c[_0x3cea6f(0x209)]!==_0x3cea6f(0x173))throw _0x197e7c;}}}function assertLegacyCacheSafe(_0x5df86d){const _0x6a0a5e=_0x3dd8c0;if(_0x5df86d[_0x6a0a5e(0x1e5)][_0x6a0a5e(0x224)]===_0x6a0a5e(0x181))projectSentinel(_0x5df86d);if(_0x5df86d[_0x6a0a5e(0x1e5)]['kind']===_0x6a0a5e(0x181))for(const _0x4784f9 of['',_0x6a0a5e(0x1da),_0x6a0a5e(0x1b0),'-journal']){const _0x258c47=guard(_0x5df86d,path[_0x6a0a5e(0x175)](_0x5df86d[_0x6a0a5e(0x228)],_0x6a0a5e(0x18b)+_0x4784f9));if(fs[_0x6a0a5e(0x1b8)](_0x258c47))fail('INDEX_LEGACY_MIGRATION_REQUIRED',_0x6a0a5e(0x182));}const _0x4cca87=guard(_0x5df86d,path[_0x6a0a5e(0x175)](_0x5df86d[_0x6a0a5e(0x17e)]||_0x5df86d[_0x6a0a5e(0x228)],'.agents/runtime/backends',_0x5df86d['marker'][_0x6a0a5e(0x224)],'recovery.json'));try{const _0xb7c67f=JSON['parse'](fs[_0x6a0a5e(0x1a2)](_0x4cca87));if(_0xb7c67f[_0x6a0a5e(0x1d6)]!==_0x6a0a5e(0x1f5))fail('INDEX_OUTCOME_UNKNOWN','Legacy\x20index\x20recovery\x20has\x20no\x20confirmed\x20terminal\x20outcome');}catch(_0xc66eaa){if(_0xc66eaa[_0x6a0a5e(0x209)]!==_0x6a0a5e(0x173))throw _0xc66eaa;}}function stageManagedIndexCache(_0x4b1a22,_0x37ae9c,_0x491604){const _0x3ed620=_0x3dd8c0;if(!_0x4b1a22[_0x3ed620(0x1ec)])fail(_0x3ed620(0x226),'Cache\x20instances\x20require\x20contract\x203');const _0x11b338=require(_0x3ed620(0x1e7))['validateIndexArchive'](_0x4b1a22['workspace'],_0x37ae9c,_0x491604),_0xd74a44=_0x11b338[_0x3ed620(0x16b)]?.[_0x4b1a22[_0x3ed620(0x1e5)][_0x3ed620(0x224)]];if(!/^[a-f0-9-]{36}$/[_0x3ed620(0x1a8)](_0xd74a44||''))fail(_0x3ed620(0x1de),_0x3ed620(0x190));guard(_0x4b1a22,path[_0x3ed620(0x172)](_0x4b1a22['selectorFile']),!![]);const _0x2cdd4a=acquireRuntimeLock(_0x4b1a22[_0x3ed620(0x1ec)]+_0x3ed620(0x1b1));if(!_0x2cdd4a)fail('INDEX_BUSY',_0x3ed620(0x1b7));try{let _0x25dc21;try{_0x25dc21=JSON['parse'](fs[_0x3ed620(0x1a2)](_0x4b1a22[_0x3ed620(0x1ec)]));}catch(_0x1ce6f0){if(_0x1ce6f0['code']!==_0x3ed620(0x173))throw _0x1ce6f0;}if(_0x25dc21?.[_0x3ed620(0x1db)]){if(_0x25dc21[_0x3ed620(0x1db)][_0x3ed620(0x1d7)]===_0x37ae9c[_0x3ed620(0x1d7)]&&_0x25dc21[_0x3ed620(0x1db)][_0x3ed620(0x180)]===_0x37ae9c[_0x3ed620(0x180)]){if(_0x25dc21[_0x3ed620(0x1db)]['instanceId']!==_0xd74a44)fail('INDEX_RECOVERY_CHANGED',_0x3ed620(0x1f8));return;}const _0xbff574=path[_0x3ed620(0x1a6)](_0x4b1a22[_0x3ed620(0x17e)]||_0x4b1a22['workspace'],_0x4b1a22['selectorFile'])[_0x3ed620(0x1c9)]('\x5c','/'),_0xb8dbbd=_0x11b338[_0x3ed620(0x1c3)][_0x3ed620(0x21d)](_0x297643=>_0x297643['original']===_0xbff574);if(!_0xb8dbbd||_0xb8dbbd['sha256']!==sha(fs['readFileSync'](_0x4b1a22[_0x3ed620(0x1ec)])))fail(_0x3ed620(0x1de),_0x3ed620(0x208));require(_0x3ed620(0x1e7))[_0x3ed620(0x18e)](_0x4b1a22[_0x3ed620(0x228)],_0x25dc21[_0x3ed620(0x1db)],_0x491604);}const _0x4dc0af={};_0x4dc0af['instanceId']=_0xd74a44,_0x4dc0af['recoveryId']=_0x37ae9c[_0x3ed620(0x1d7)],_0x4dc0af['archiveHash']=_0x37ae9c[_0x3ed620(0x180)];const _0x562a9e={'version':0x1,'contractId':_0x4b1a22[_0x3ed620(0x16f)],'active':_0x25dc21?.[_0x3ed620(0x202)]||_0x4b1a22[_0x3ed620(0x1e5)][_0x3ed620(0x191)],..._0x25dc21?.[_0x3ed620(0x207)]?{'recovery':_0x25dc21[_0x3ed620(0x207)],'publicationHash':_0x25dc21[_0x3ed620(0x19b)]}:{}};_0x562a9e[_0x3ed620(0x1db)]=_0x4dc0af;const _0xe8ac33=_0x562a9e;require(_0x3ed620(0x1c8))['atomic'](_0x4b1a22[_0x3ed620(0x1ec)],_0xe8ac33);}finally{_0x2cdd4a();}}function activateManagedIndexCache(_0x42f32b,_0x57f4db,_0x189c82){const _0x4afa3e=_0x3dd8c0;if(!_0x42f32b[_0x4afa3e(0x1ec)]||!_0x42f32b['selector']?.[_0x4afa3e(0x1db)]||_0x42f32b[_0x4afa3e(0x1e5)][_0x4afa3e(0x191)]!==_0x42f32b[_0x4afa3e(0x1d3)]['pending'][_0x4afa3e(0x191)])return;const _0x3627be=require('./index-maintenance')[_0x4afa3e(0x18c)](_0x42f32b[_0x4afa3e(0x228)],_0x189c82,_0x42f32b[_0x4afa3e(0x1e5)]),_0x561d19=acquireRuntimeLock(_0x42f32b[_0x4afa3e(0x1ec)]+_0x4afa3e(0x1b1));if(!_0x561d19)fail(_0x4afa3e(0x165),_0x4afa3e(0x1b7));try{guard(_0x42f32b,_0x42f32b['selectorFile']);const _0x31e445=JSON[_0x4afa3e(0x211)](fs[_0x4afa3e(0x1a2)](_0x42f32b[_0x4afa3e(0x1ec)]));if(JSON[_0x4afa3e(0x1ce)](_0x31e445)!==JSON[_0x4afa3e(0x1ce)](_0x42f32b[_0x4afa3e(0x1d3)]))fail(_0x4afa3e(0x1de),_0x4afa3e(0x1ed));const _0x171cbd=_0x31e445[_0x4afa3e(0x1db)]||_0x31e445[_0x4afa3e(0x207)],_0x4dd8bd=require(_0x4afa3e(0x1e7))['validateIndexArchive'](_0x42f32b[_0x4afa3e(0x228)],_0x171cbd);if(_0x31e445[_0x4afa3e(0x1db)][_0x4afa3e(0x191)]!==_0x4dd8bd[_0x4afa3e(0x16b)]?.[_0x42f32b[_0x4afa3e(0x1e5)][_0x4afa3e(0x224)]])fail(_0x4afa3e(0x1de),_0x4afa3e(0x214));validateManagedIndexCache(_0x42f32b),assertCacheOutcome(_0x42f32b);const _0x3a3ff8=JSON['parse'](fs['readFileSync'](guard(_0x42f32b,path['join'](_0x42f32b[_0x4afa3e(0x1ef)],'receipt.json'))));if(_0x57f4db?.['functionalReady']!==!![]||_0x3a3ff8[_0x4afa3e(0x1d6)]!==_0x4afa3e(0x218)||_0x3a3ff8[_0x4afa3e(0x183)]!==_0x42f32b[_0x4afa3e(0x183)]||_0x3a3ff8['descriptorHash']!==_0x42f32b[_0x4afa3e(0x1e8)]||_0x3a3ff8[_0x4afa3e(0x223)]!==_0x42f32b['database']||!fs[_0x4afa3e(0x1b8)](_0x42f32b[_0x4afa3e(0x223)])||_0x3a3ff8['launchAttemptId']!==_0x3627be[_0x4afa3e(0x1d5)]||[_0x4afa3e(0x1bf),'resourceDigest',_0x4afa3e(0x212),'transactionId'][_0x4afa3e(0x1b9)](_0x51bb7=>(_0x3a3ff8[_0x51bb7]??null)!==(_0x3627be[_0x51bb7]??null)))fail(_0x4afa3e(0x1a0),_0x4afa3e(0x1a5));require('./index-maintenance')[_0x4afa3e(0x18c)](_0x42f32b[_0x4afa3e(0x228)],_0x189c82,_0x42f32b['marker']);const _0x1c9f8d={};_0x1c9f8d[_0x4afa3e(0x170)]=0x1,_0x1c9f8d[_0x4afa3e(0x191)]=_0x42f32b['marker'][_0x4afa3e(0x191)],_0x1c9f8d['authorityId']=_0x42f32b[_0x4afa3e(0x183)],_0x1c9f8d[_0x4afa3e(0x1e8)]=_0x42f32b[_0x4afa3e(0x1e8)],_0x1c9f8d[_0x4afa3e(0x192)]=_0x3627be,_0x1c9f8d['producer']=_0x3627be[_0x4afa3e(0x1e3)],_0x1c9f8d[_0x4afa3e(0x1e9)]=_0x3a3ff8,_0x1c9f8d[_0x4afa3e(0x221)]={},_0x1c9f8d[_0x4afa3e(0x221)][_0x4afa3e(0x1ea)]=!![],_0x1c9f8d[_0x4afa3e(0x221)][_0x4afa3e(0x224)]=_0x42f32b[_0x4afa3e(0x1e5)][_0x4afa3e(0x224)],_0x1c9f8d[_0x4afa3e(0x221)][_0x4afa3e(0x170)]=_0x42f32b[_0x4afa3e(0x1e5)][_0x4afa3e(0x1cd)][_0x4afa3e(0x170)];const _0x4e14e6=_0x1c9f8d,_0x3d8212=guard(_0x42f32b,path[_0x4afa3e(0x175)](_0x42f32b['stateDirectory'],_0x4afa3e(0x1f4)));let _0x59f9ab;try{_0x59f9ab=fs[_0x4afa3e(0x1a2)](_0x3d8212);}catch(_0x30cc7b){if(_0x30cc7b['code']!==_0x4afa3e(0x173))throw _0x30cc7b;}_0x59f9ab?validateSelection({..._0x42f32b,'selector':{'version':0x1,'contractId':_0x42f32b['contractId'],'active':_0x42f32b['marker'][_0x4afa3e(0x191)],'recovery':_0x171cbd,'publicationHash':sha(_0x59f9ab)}},{..._0x42f32b[_0x4afa3e(0x1e5)]['profile'],'cacheContract':0x3}):(_0x59f9ab=Buffer['from'](JSON[_0x4afa3e(0x1ce)](_0x4e14e6)),preserveArchiveBytes(_0x3d8212,_0x59f9ab));require(_0x4afa3e(0x1e6))[_0x4afa3e(0x18c)](_0x42f32b[_0x4afa3e(0x228)],_0x189c82,_0x42f32b['marker']);if(!_0x561d19[_0x4afa3e(0x1df)]()||!fs[_0x4afa3e(0x1a2)](_0x3d8212)[_0x4afa3e(0x176)](_0x59f9ab)||JSON[_0x4afa3e(0x1ce)](JSON[_0x4afa3e(0x211)](fs[_0x4afa3e(0x1a2)](_0x42f32b['selectorFile'])))!==JSON['stringify'](_0x31e445))fail('INDEX_RECOVERY_CHANGED',_0x4afa3e(0x1a9));require(_0x4afa3e(0x1c8))[_0x4afa3e(0x179)](_0x42f32b[_0x4afa3e(0x1ec)],{'version':0x1,'contractId':_0x42f32b[_0x4afa3e(0x16f)],'active':_0x42f32b[_0x4afa3e(0x1e5)][_0x4afa3e(0x191)],'recovery':_0x171cbd,'publicationHash':sha(_0x59f9ab)});}catch(_0x5a9c21){if(_0x5a9c21[_0x4afa3e(0x209)]==='ENOENT')fail(_0x4afa3e(0x1a0),_0x4afa3e(0x19e));throw _0x5a9c21;}finally{_0x561d19();}}const _0x55a4cb={};_0x55a4cb[_0x3dd8c0(0x174)]=guard,_0x55a4cb['dataRoot']=dataRoot,_0x55a4cb['resolveManagedIndexCache']=resolveManagedIndexCache,_0x55a4cb[_0x3dd8c0(0x17a)]=openManagedIndexCache,_0x55a4cb[_0x3dd8c0(0x1c4)]=validateManagedIndexCache,_0x55a4cb['restoreProjectSentinel']=restoreProjectSentinel,_0x55a4cb[_0x3dd8c0(0x1f3)]=assertCacheOutcome,_0x55a4cb[_0x3dd8c0(0x227)]=stoppedLaunch,_0x55a4cb[_0x3dd8c0(0x189)]=safePath,_0x55a4cb['stageManagedIndexCache']=stageManagedIndexCache,_0x55a4cb[_0x3dd8c0(0x1eb)]=activateManagedIndexCache,module[_0x3dd8c0(0x201)]=_0x55a4cb;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
'use strict';const _0x3e94c5=_0x7d18;(function(_0x3c7375,_0x43ad46){const _0x5e9b7e=_0x7d18,_0x4b6c7e=_0x3c7375();while(!![]){try{const _0x130a2f=parseInt(_0x5e9b7e(0x1cd))/0x1+parseInt(_0x5e9b7e(0x1b5))/0x2+-parseInt(_0x5e9b7e(0x1f7))/0x3+parseInt(_0x5e9b7e(0x1ef))/0x4*(-parseInt(_0x5e9b7e(0x20b))/0x5)+-parseInt(_0x5e9b7e(0x1c4))/0x6*(parseInt(_0x5e9b7e(0x19d))/0x7)+parseInt(_0x5e9b7e(0x1bb))/0x8+parseInt(_0x5e9b7e(0x17f))/0x9;if(_0x130a2f===_0x43ad46)break;else _0x4b6c7e['push'](_0x4b6c7e['shift']());}catch(_0x318368){_0x4b6c7e['push'](_0x4b6c7e['shift']());}}}(_0x5cfd,0x2c344));const fs=require(_0x3e94c5(0x1e5)),os=require(_0x3e94c5(0x199)),path=require(_0x3e94c5(0x1a6)),crypto=require(_0x3e94c5(0x1f5)),{sameWorkspace,containsWorkspace,identity}=require('../core/workspace-path'),{acquireRuntimeLock}=require(_0x3e94c5(0x1ba)),layout=require(_0x3e94c5(0x1bf)),HOST=os[_0x3e94c5(0x1ff)]()+':'+process[_0x3e94c5(0x180)]+':'+process[_0x3e94c5(0x188)],DAY_MS=0x18*0x3c*0x3c*0x3e8,BACKUP=String['raw']`(?:\.apt-backup-[0-9a-f-]{36})?`,REMOVING=/\.apt-removing-[0-9a-f-]{36}$/,NAMES={'codegraph':new RegExp(String['raw']`^\.codegraph(?:-[a-z0-9]+-[a-z0-9]+)?(?:-apt\d+-[a-f0-9]{24})?(?:-w[a-f0-9]{16})?${BACKUP}$`),'code-review-graph':new RegExp(String['raw']`^graph(?:-\d+\.\d+\.\d+)?(?:-[a-z0-9]+-[a-z0-9]+-apt\d+-[a-f0-9]{24})?(?:-w[a-f0-9]{16})?${BACKUP}$`)},LEGACY_CODE=_0x3e94c5(0x1e9),sha=_0x465b53=>crypto[_0x3e94c5(0x1c6)](_0x3e94c5(0x210))['update'](_0x465b53)['digest'](_0x3e94c5(0x1f1));function plainDirectory(_0x2d011d){const _0x49c24d=_0x3e94c5;try{const _0x59ddea=fs[_0x49c24d(0x1df)](_0x2d011d);return _0x59ddea[_0x49c24d(0x1bc)]()&&!_0x59ddea['isSymbolicLink']();}catch{return![];}}function readJson(_0x2d5626){const _0x5bb6ee=_0x3e94c5;try{return JSON[_0x5bb6ee(0x1a7)](fs[_0x5bb6ee(0x1fb)](_0x2d5626,_0x5bb6ee(0x1f6))[_0x5bb6ee(0x20c)](/^/,''));}catch{return null;}}function measure(_0x38c028){const _0x12333b=_0x3e94c5;let _0x25ad36=0x0,_0x103b1b=0x0;const _0x3303db=[_0x38c028];while(_0x3303db[_0x12333b(0x1a0)]){const _0x548b66=_0x3303db[_0x12333b(0x1e7)]();let _0x2f5642=[];try{const _0xdc6122={};_0xdc6122['withFileTypes']=!![],_0x2f5642=fs[_0x12333b(0x1b2)](_0x548b66,_0xdc6122);}catch{continue;}for(const _0x51896c of _0x2f5642){const _0x4b9bc2=path[_0x12333b(0x1e4)](_0x548b66,_0x51896c['name']);if(_0x51896c[_0x12333b(0x1bc)]()&&!_0x51896c[_0x12333b(0x1ad)]())_0x3303db[_0x12333b(0x18c)](_0x4b9bc2);else{_0x25ad36++;try{_0x103b1b+=fs[_0x12333b(0x1df)](_0x4b9bc2)[_0x12333b(0x194)];}catch{}}}}const _0x4eff61={};return _0x4eff61[_0x12333b(0x17e)]=_0x25ad36,_0x4eff61[_0x12333b(0x17c)]=_0x103b1b,_0x4eff61;}function newest(_0x4c5297){const _0x2fca57=_0x3e94c5;let _0x4b7801=0x0;for(const _0x38a70f of _0x4c5297){try{_0x4b7801=Math[_0x2fca57(0x1d9)](_0x4b7801,fs[_0x2fca57(0x1df)](_0x38a70f)[_0x2fca57(0x1d2)]);}catch{}}return _0x4b7801;}const children=_0x4e0851=>{const _0x41da2b=_0x3e94c5;try{return fs[_0x41da2b(0x1b2)](_0x4e0851)[_0x41da2b(0x174)](_0x37a620=>path['join'](_0x4e0851,_0x37a620));}catch{return[];}},filetimeMs=_0x170f8f=>/^\d{1,20}$/[_0x3e94c5(0x1d8)](_0x170f8f||'')?Number(BigInt(_0x170f8f)/0x2710n)-0xa9730b66800:null;function leaseHeld(_0x253e4e,_0x386cfa){const _0x4eb949=_0x3e94c5,_0x4759b7=readJson(_0x253e4e);if(!_0x4759b7)return!![];let _0x3f0262;try{_0x3f0262=fs[_0x4eb949(0x1df)](_0x253e4e)[_0x4eb949(0x1d2)];}catch{return![];}return[[_0x4759b7[_0x4eb949(0x1ea)],_0x4759b7[_0x4eb949(0x1c2)]],[_0x4759b7['childPid'],_0x4759b7[_0x4eb949(0x1c9)]]][_0x4eb949(0x214)](([_0x5caae4,_0x57d9db])=>{const _0x4d0c7c=_0x4eb949;if(!Number['isSafeInteger'](_0x5caae4)||_0x5caae4<=0x0)return![];let _0x480fb7;try{_0x480fb7=_0x386cfa()(_0x5caae4);}catch{return!![];}if(!_0x480fb7)return![];if(typeof _0x57d9db===_0x4d0c7c(0x191)&&_0x57d9db)return _0x480fb7['start']===_0x57d9db;const _0x5b2db7=process[_0x4d0c7c(0x180)]===_0x4d0c7c(0x1a3)?filetimeMs(_0x480fb7['start']):null;return _0x5b2db7===null||_0x5b2db7<=_0x3f0262;});}function _0x7d18(_0x1b8695,_0x220602){_0x1b8695=_0x1b8695-0x171;const _0x5cfd28=_0x5cfd();let _0x7d18ab=_0x5cfd28[_0x1b8695];if(_0x7d18['IdyKLK']===undefined){var _0x36c052=function(_0xc50019){const _0x45994e='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x401a2c='',_0x478b1f='';for(let _0x55be52=0x0,_0x52a0c5,_0x26640c,_0x4e0698=0x0;_0x26640c=_0xc50019['charAt'](_0x4e0698++);~_0x26640c&&(_0x52a0c5=_0x55be52%0x4?_0x52a0c5*0x40+_0x26640c:_0x26640c,_0x55be52++%0x4)?_0x401a2c+=String['fromCharCode'](0xff&_0x52a0c5>>(-0x2*_0x55be52&0x6)):0x0){_0x26640c=_0x45994e['indexOf'](_0x26640c);}for(let _0x2d97c6=0x0,_0x1eb2e4=_0x401a2c['length'];_0x2d97c6<_0x1eb2e4;_0x2d97c6++){_0x478b1f+='%'+('00'+_0x401a2c['charCodeAt'](_0x2d97c6)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x478b1f);};_0x7d18['wVmvdS']=_0x36c052,_0x7d18['knzTGH']={},_0x7d18['IdyKLK']=!![];}const _0x40c0d0=_0x5cfd28[0x0];_0x7d18['MmmSas']!==_0x40c0d0&&(_0x7d18['knzTGH']={},_0x7d18['MmmSas']=_0x40c0d0);const _0x31f2e9=_0x7d18['knzTGH'][_0x1b8695];return _0x31f2e9===undefined?(_0x7d18ab=_0x7d18['wVmvdS'](_0x7d18ab),_0x7d18['knzTGH'][_0x1b8695]=_0x7d18ab):_0x7d18ab=_0x31f2e9,_0x7d18ab;}function selectedCaches(_0x66feb5,_0x26a15d){const _0x2c562f=_0x3e94c5,{resolveManagedIndexCache:_0x1e519f}=require('./index-cache-authority'),_0x2c438c={};for(const _0x269af2 of Object[_0x2c562f(0x18d)](NAMES)){const _0x2dfca9=_0x26a15d[_0x269af2];if(!_0x2dfca9){const _0x299393={};_0x299393[_0x2c562f(0x201)]=_0x2c562f(0x1c1),_0x2c438c[_0x269af2]=_0x299393;continue;}try{const _0x2a5134=new Set();for(const _0x18dfd7 of[![],!![]]){const _0x2c0250={};_0x2c0250[_0x2c562f(0x192)]=_0x66feb5,_0x2c0250[_0x2c562f(0x177)]=_0x269af2,_0x2c0250['profile']=_0x2dfca9,_0x2c0250[_0x2c562f(0x1d0)]=_0x18dfd7;const _0x590d26=_0x1e519f(_0x2c0250),_0x52432b={};_0x52432b[_0x2c562f(0x1e9)]=_0x2c562f(0x1c5);if(!_0x590d26)throw Object[_0x2c562f(0x1ab)](new Error(_0x2c562f(0x1ca)),_0x52432b);_0x2a5134[_0x2c562f(0x1ec)](path['resolve'](_0x590d26[_0x2c562f(0x1c3)])[_0x2c562f(0x1e0)]());}const _0x121efc={};_0x121efc[_0x2c562f(0x1f8)]=_0x2a5134,_0x2c438c[_0x269af2]=_0x121efc;}catch(_0x5835da){const _0x56b278={};_0x56b278[_0x2c562f(0x201)]=_0x5835da['code']||_0x2c562f(0x1cb),_0x2c438c[_0x269af2]=_0x56b278;}}return _0x2c438c;}function installedProfiles(){const _0xa9cc54=_0x3e94c5,_0x1db7f0=require('./profiles'),_0x5c5012={};for(const [_0x2d1c40,_0x2f97f4]of[[_0xa9cc54(0x190),_0x1db7f0[_0xa9cc54(0x190)]],[_0xa9cc54(0x207),_0x1db7f0[_0xa9cc54(0x1dc)]]]){try{_0x5c5012[_0x2d1c40]=_0x2f97f4();}catch{_0x5c5012[_0x2d1c40]=null;}}return _0x5c5012;}function classify(_0x324782,_0xa14678){const _0x59b00f=_0x3e94c5,{workspace:_0x11dc81,root:_0x3087f3,selected:_0x13e607,now:_0x17fd6d,graceMs:_0x580a57,backupGraceMs:_0x5b19b3}=_0xa14678,{directory:_0x1738b9,kind:_0x45bffa}=_0x324782,_0x47459a=path[_0x59b00f(0x20e)](_0x1738b9),_0x30ff5f=/\.apt-backup-[0-9a-f-]{36}$/['test'](_0x47459a),_0x57a940=_0xdd0e60=>({..._0x324782,'action':_0x59b00f(0x215),'reason':_0xdd0e60}),_0x2892fa=_0x252bfb=>({..._0x324782,'action':'confirm','reason':_0x252bfb});if(!plainDirectory(_0x1738b9))return _0x57a940('not-a-directory');const _0x5dd384=readJson(path['join'](_0x1738b9,_0x59b00f(0x211)));if(!_0x5dd384)return _0x47459a===LEGACY_CODE?_0x2892fa(_0x59b00f(0x1d1)):_0x57a940(_0x59b00f(0x1d1));if(_0x5dd384['owner']!==_0x59b00f(0x187)||_0x5dd384[_0x59b00f(0x177)]!==_0x45bffa)return _0x57a940(_0x59b00f(0x1de));let _0x37c860=![];try{_0x37c860=sameWorkspace(_0x5dd384['workspace'],_0x11dc81);}catch{}if(!_0x37c860)return _0x57a940(_0x59b00f(0x1f3));const _0x39b4fa=[0x2,0x3][_0x59b00f(0x1eb)](_0x5dd384[_0x59b00f(0x19a)]);if(_0x39b4fa&&(typeof _0x5dd384[_0x59b00f(0x193)]!==_0x59b00f(0x191)||path[_0x59b00f(0x20e)](_0x5dd384[_0x59b00f(0x193)])!==_0x47459a[_0x59b00f(0x20c)](/\.apt-backup-[0-9a-f-]{36}$/,'')||!/^\.agents\/runtime\/backends\/(?:codegraph|code-review-graph)\/caches\/[a-f0-9]{24}$/[_0x59b00f(0x1d8)](_0x5dd384[_0x59b00f(0x204)]||'')))return _0x57a940(_0x59b00f(0x1ce));if(_0x13e607[_0x45bffa][_0x59b00f(0x201)])return _0x57a940(_0x59b00f(0x19b)+_0x13e607[_0x45bffa][_0x59b00f(0x201)]);if(!_0x30ff5f&&_0x13e607[_0x45bffa][_0x59b00f(0x1f8)][_0x59b00f(0x1e3)](path[_0x59b00f(0x1c8)](_0x1738b9)['toLowerCase']()))return _0x57a940(_0x59b00f(0x1a4));for(const _0x360562 of[_0x59b00f(0x189),_0x59b00f(0x17a)])if(fs[_0x59b00f(0x182)](path[_0x59b00f(0x1e4)](_0x1738b9,_0x360562)))return _0x57a940(_0x59b00f(0x1ed));const _0x1dea05=_0x39b4fa?path[_0x59b00f(0x1e4)](_0x3087f3,_0x5dd384[_0x59b00f(0x204)]):path[_0x59b00f(0x1e4)](_0x3087f3,_0x59b00f(0x202),_0x59b00f(0x1ee),_0x59b00f(0x1b9),_0x45bffa);if(!containsWorkspace(_0x3087f3,_0x1dea05)&&fs[_0x59b00f(0x182)](_0x1dea05))return _0x57a940(_0x59b00f(0x1b0));const _0x25de5a=path[_0x59b00f(0x1e4)](_0x1dea05,_0x59b00f(0x1e6));if(children(_0x25de5a)[_0x59b00f(0x214)](_0x3789f8=>_0x3789f8[_0x59b00f(0x171)]('.json')&&leaseHeld(_0x3789f8,_0xa14678['lookup'])))return _0x57a940('in-use');let _0x6679c7=![];if(_0x39b4fa&&!_0x30ff5f){const _0x43fe39=readJson(path[_0x59b00f(0x1e4)](_0x1dea05,'receipt.json')),_0x57f49f=readJson(path[_0x59b00f(0x1e4)](_0x1dea05,'recovery.json'));_0x6679c7=[_0x59b00f(0x20a),'unknown'][_0x59b00f(0x1eb)](_0x43fe39?.['status'])||[_0x59b00f(0x1ae),'rebuilt',_0x59b00f(0x1c0)]['includes'](_0x57f49f?.[_0x59b00f(0x1e2)]);}if(_0x30ff5f){const _0x5044c2=readJson(path[_0x59b00f(0x1e4)](_0x1dea05,_0x59b00f(0x173)));let _0x421984=![];try{_0x421984=Boolean(_0x5044c2?.[_0x59b00f(0x1d7)])&&identity(_0x5044c2[_0x59b00f(0x1d7)])===identity(_0x1738b9);}catch{}if(_0x421984&&_0x5044c2[_0x59b00f(0x1e2)]!==_0x59b00f(0x1d5))return _0x57a940(_0x59b00f(0x179));}const _0x27f4c6=newest([_0x1738b9,...children(_0x1738b9),..._0x39b4fa&&!_0x30ff5f?children(_0x1dea05):[],...children(_0x25de5a)]);if(_0x6679c7&&_0x17fd6d-_0x27f4c6<_0x5b19b3)return _0x57a940('unconfirmed-operation');if(_0x17fd6d-_0x27f4c6<(_0x30ff5f?_0x5b19b3:_0x580a57))return _0x57a940(_0x59b00f(0x17d));if(_0x5dd384['host']===undefined)return _0x2892fa('no-host-in-marker');if(_0x5dd384[_0x59b00f(0x1b4)]!==HOST)return _0x57a940('other-host');const _0x4d9fa2={..._0x324782};return _0x4d9fa2[_0x59b00f(0x178)]=_0x59b00f(0x1b7),_0x4d9fa2['reason']=_0x30ff5f?_0x59b00f(0x1ac):'superseded',_0x4d9fa2['marker']=_0x5dd384,_0x4d9fa2[_0x59b00f(0x212)]=_0x39b4fa&&!_0x30ff5f?_0x1dea05:null,_0x4d9fa2;}function candidates(_0x3edfd3,_0x31b8bf){const _0x300972=_0x3e94c5,_0xa3333e=[],_0x55f41b=(_0x595597,_0x28d324,_0x5227ea)=>{const _0x231d7e=_0x7d18;for(const _0xddd60c of((()=>{const _0x213c85=_0x7d18;try{return fs[_0x213c85(0x1b2)](_0x595597);}catch{return[];}})())){const _0x321280=path['join'](_0x595597,_0xddd60c);if(REMOVING['test'](_0xddd60c)){const _0x17724a={};_0x17724a[_0x231d7e(0x197)]=_0x321280,_0x17724a[_0x231d7e(0x177)]=_0x28d324,_0x17724a[_0x231d7e(0x208)]=!![],_0xa3333e[_0x231d7e(0x18c)](_0x17724a);continue;}const _0x55e66d={};_0x55e66d[_0x231d7e(0x197)]=_0x321280,_0x55e66d[_0x231d7e(0x177)]=_0x28d324;if(_0x5227ea['test'](_0xddd60c))_0xa3333e[_0x231d7e(0x18c)](_0x55e66d);}};_0x55f41b(_0x3edfd3,'codegraph',NAMES[_0x300972(0x190)]);const _0x569a3e=path[_0x300972(0x1e4)](_0x31b8bf,_0x300972(0x202),_0x300972(0x186));_0x55f41b(_0x569a3e,_0x300972(0x207),NAMES[_0x300972(0x207)]);if(plainDirectory(path[_0x300972(0x1e4)](_0x569a3e,LEGACY_CODE)))_0xa3333e[_0x300972(0x18c)]({'directory':path['join'](_0x569a3e,LEGACY_CODE),'kind':'codegraph'});return _0xa3333e;}function dropSelector(_0x48100f,_0x515645,_0x16644d){const _0x58ddb9=_0x3e94c5;if(_0x16644d[_0x58ddb9(0x19a)]!==0x3||!/^[a-f0-9-]{36}$/[_0x58ddb9(0x1d8)](_0x16644d[_0x58ddb9(0x20d)]||''))return!![];const _0xf43eb8={};_0xf43eb8['version']=_0x16644d[_0x58ddb9(0x19a)],_0xf43eb8[_0x58ddb9(0x18f)]=_0x16644d['owner'],_0xf43eb8[_0x58ddb9(0x1fd)]=_0x16644d[_0x58ddb9(0x1fd)],_0xf43eb8[_0x58ddb9(0x192)]=_0x16644d[_0x58ddb9(0x192)],_0xf43eb8[_0x58ddb9(0x1b4)]=_0x16644d[_0x58ddb9(0x1b4)],_0xf43eb8[_0x58ddb9(0x177)]=_0x16644d[_0x58ddb9(0x177)],_0xf43eb8[_0x58ddb9(0x176)]=_0x16644d[_0x58ddb9(0x176)];const _0x22be52=_0xf43eb8,_0x311e8d=path[_0x58ddb9(0x1e4)](_0x48100f,'.agents',_0x58ddb9(0x1ee),_0x58ddb9(0x1b9),_0x515645,_0x58ddb9(0x19c),sha(JSON[_0x58ddb9(0x1d3)](_0x22be52))+_0x58ddb9(0x172)),_0x1bc25c=readJson(_0x311e8d);if(!_0x1bc25c)return!![];if(_0x1bc25c[_0x58ddb9(0x1d0)]?.[_0x58ddb9(0x20d)]===_0x16644d[_0x58ddb9(0x20d)])return![];if(_0x1bc25c[_0x58ddb9(0x203)]!==_0x16644d[_0x58ddb9(0x20d)])return!![];if(_0x1bc25c[_0x58ddb9(0x1d0)])return![];const _0x487944=acquireRuntimeLock(_0x311e8d+'.lock');if(!_0x487944)return![];try{const _0x4eb956={};return _0x4eb956[_0x58ddb9(0x1be)]=!![],fs[_0x58ddb9(0x213)](_0x311e8d,_0x4eb956),!![];}finally{_0x487944();}}function pruneIndexCaches(_0x52f2c5,_0x5a998e={}){const _0x297893=_0x3e94c5,_0x49ec2f=_0x5a998e[_0x297893(0x1a2)]??Date[_0x297893(0x1a2)](),_0x38ed4b=_0x5a998e[_0x297893(0x1fa)]??DAY_MS,_0x29a40a=_0x5a998e[_0x297893(0x1f2)]??0x7*DAY_MS,_0x188573=_0x5a998e[_0x297893(0x1cf)]??0x1d4c0,_0x4e8aa1={};_0x4e8aa1[_0x297893(0x1e2)]='not-needed',_0x4e8aa1[_0x297893(0x1e8)]=0x0,_0x4e8aa1[_0x297893(0x17e)]=0x0,_0x4e8aa1[_0x297893(0x17c)]=0x0,_0x4e8aa1[_0x297893(0x1da)]=0x0,_0x4e8aa1[_0x297893(0x1cc)]=0x0,_0x4e8aa1[_0x297893(0x1f9)]=[];const _0x35d269=_0x4e8aa1;let _0x124bf1=null;try{_0x52f2c5=fs[_0x297893(0x1b6)](_0x52f2c5);const _0xd20981=layout['stateBase'](_0x52f2c5);if(_0x5a998e['apply']){const _0x2496bf=path[_0x297893(0x209)](layout[_0x297893(0x183)](_0x52f2c5,_0x297893(0x195)));if(!plainDirectory(_0x2496bf))return _0x35d269;_0x124bf1=acquireRuntimeLock(layout['fenceFile'](_0x52f2c5,_0x297893(0x195)));const _0x5b8755={..._0x35d269};_0x5b8755['status']='busy';if(!_0x124bf1)return _0x5b8755;const _0x2a2207={..._0x35d269};_0x2a2207[_0x297893(0x1e2)]=_0x297893(0x1f0);if(require('../core/admission-fence')[_0x297893(0x1b8)](_0x52f2c5)[_0x297893(0x19f)]!==_0x297893(0x175))return _0x2a2207;}const _0x28fa82=selectedCaches(_0x52f2c5,_0x5a998e['profiles']||installedProfiles());let _0x4154da=null;const _0x1d42dd=()=>_0x4154da||=_0x5a998e['processLookup']||require(_0x297893(0x18a))[_0x297893(0x1e1)](),_0x263f0c={};_0x263f0c['workspace']=_0x52f2c5,_0x263f0c['root']=_0xd20981,_0x263f0c[_0x297893(0x1a4)]=_0x28fa82,_0x263f0c['now']=_0x49ec2f,_0x263f0c['graceMs']=_0x38ed4b,_0x263f0c[_0x297893(0x1f2)]=_0x29a40a,_0x263f0c['lookup']=_0x1d42dd;const _0x363441=_0x263f0c,_0x1021f0=Date[_0x297893(0x1a2)]();for(const _0x42dab3 of candidates(_0x52f2c5,_0xd20981)){const _0x22bfc9=path['relative'](_0x52f2c5,_0x42dab3['directory'])[_0x297893(0x20c)](/\\/g,'/'),_0x70f02b=measure(_0x42dab3[_0x297893(0x197)]),_0x8a0502=_0x42dab3[_0x297893(0x208)]?{..._0x42dab3,'action':_0x297893(0x1b7),'reason':_0x297893(0x17b)}:classify(_0x42dab3,_0x363441),_0x14a996={'path':containsWorkspace(_0x52f2c5,_0x42dab3['directory'])?_0x22bfc9:_0x42dab3[_0x297893(0x197)],'kind':_0x42dab3[_0x297893(0x177)],'action':_0x8a0502['action'],'reason':_0x8a0502[_0x297893(0x1a1)],'files':_0x70f02b[_0x297893(0x17e)],'bytes':_0x70f02b[_0x297893(0x17c)]};_0x35d269[_0x297893(0x1f9)][_0x297893(0x18c)](_0x14a996);const _0x1e5e3e=_0x8a0502[_0x297893(0x178)]===_0x297893(0x1b7)||_0x8a0502[_0x297893(0x178)]===_0x297893(0x1a8)&&_0x5a998e[_0x297893(0x1bd)];if(!_0x5a998e[_0x297893(0x181)]||!_0x1e5e3e)continue;if(Date[_0x297893(0x1a2)]()-_0x1021f0>=_0x188573){_0x35d269[_0x297893(0x1cc)]++;continue;}try{if(_0x8a0502[_0x297893(0x1d6)]&&!dropSelector(_0xd20981,_0x42dab3[_0x297893(0x177)],_0x8a0502[_0x297893(0x1d6)])){_0x14a996[_0x297893(0x178)]=_0x297893(0x215),_0x14a996[_0x297893(0x1a1)]='selector-busy';continue;}let _0x20b8bd=null;if(_0x8a0502[_0x297893(0x212)]&&fs[_0x297893(0x182)](_0x8a0502['stateDirectory'])){_0x20b8bd=acquireRuntimeLock(path[_0x297893(0x1e4)](_0x8a0502[_0x297893(0x212)],_0x297893(0x196)),0x0,HOST);if(!_0x20b8bd){_0x14a996[_0x297893(0x178)]='keep',_0x14a996[_0x297893(0x1a1)]=_0x297893(0x1f0);continue;}}try{const _0x346889=_0x42dab3[_0x297893(0x208)]?_0x42dab3[_0x297893(0x197)]:_0x42dab3['directory']+_0x297893(0x20f)+crypto[_0x297893(0x1a5)]();if(!_0x42dab3[_0x297893(0x208)])fs[_0x297893(0x206)](_0x42dab3[_0x297893(0x197)],_0x346889);const _0xe20837={};_0xe20837[_0x297893(0x18b)]=!![],_0xe20837['force']=!![],_0xe20837[_0x297893(0x184)]=0x3,_0xe20837[_0x297893(0x1db)]=0x64,fs['rmSync'](_0x346889,_0xe20837);}finally{_0x20b8bd?.();}const _0x2ecb99={};_0x2ecb99[_0x297893(0x18b)]=!![],_0x2ecb99[_0x297893(0x1be)]=!![],_0x2ecb99[_0x297893(0x184)]=0x3,_0x2ecb99['retryDelay']=0x64;if(_0x8a0502[_0x297893(0x212)])fs[_0x297893(0x213)](_0x8a0502[_0x297893(0x212)],_0x2ecb99);_0x14a996[_0x297893(0x178)]=_0x297893(0x1e8),_0x35d269[_0x297893(0x1e8)]++,_0x35d269[_0x297893(0x17e)]+=_0x70f02b[_0x297893(0x17e)],_0x35d269[_0x297893(0x17c)]+=_0x70f02b[_0x297893(0x17c)];}catch(_0x71617b){_0x14a996['action']=_0x297893(0x215),_0x14a996['reason']=_0x71617b[_0x297893(0x1e9)]||_0x297893(0x1f4),_0x35d269[_0x297893(0x1da)]++;}}const _0x115220=_0x35d269[_0x297893(0x1f9)]['filter'](_0x1741d1=>_0x1741d1[_0x297893(0x178)]==='remove'||_0x1741d1[_0x297893(0x178)]==='confirm')[_0x297893(0x1a0)];return _0x35d269[_0x297893(0x1e2)]=!_0x5a998e[_0x297893(0x181)]?_0x115220?_0x297893(0x1fc):_0x297893(0x1b3):_0x35d269[_0x297893(0x1da)]||_0x35d269[_0x297893(0x1cc)]?'partial':_0x35d269[_0x297893(0x1e8)]?_0x297893(0x205):'not-needed',_0x35d269;}catch(_0x2cd6c8){const _0x2de73b={..._0x35d269};return _0x2de73b['status']='failed',_0x2de73b['code']=_0x2cd6c8[_0x297893(0x1e9)]||_0x297893(0x19e),_0x2de73b;}finally{_0x124bf1?.();}}const megabytes=_0x157ae5=>Math[_0x3e94c5(0x198)](_0x157ae5/(0x400*0x400))[_0x3e94c5(0x1b1)]('en-US');function describeIndexRetention(_0x3fd749){const _0x2b8155=_0x3e94c5;if(!_0x3fd749?.['entries'])return[];const _0x144fe3=[];if(_0x3fd749[_0x2b8155(0x1e8)])_0x144fe3[_0x2b8155(0x18c)](_0x2b8155(0x200)+_0x3fd749[_0x2b8155(0x1e8)]+'\x20cache(s)\x20the\x20current\x20release\x20no\x20longer\x20uses,\x20'+megabytes(_0x3fd749[_0x2b8155(0x17c)])+'\x20MB.'+(_0x3fd749[_0x2b8155(0x1cc)]?'\x20'+_0x3fd749['remaining']+_0x2b8155(0x1d4):''));const _0x3e807d=_0x3fd749['entries'][_0x2b8155(0x216)](_0x47212d=>_0x47212d[_0x2b8155(0x178)]===_0x2b8155(0x1a8));if(_0x3e807d[_0x2b8155(0x1a0)])_0x144fe3[_0x2b8155(0x18c)](_0x2b8155(0x1aa)+_0x3e807d['length']+_0x2b8155(0x1c7)+megabytes(_0x3e807d[_0x2b8155(0x18e)]((_0x74d787,_0x4c02e6)=>_0x74d787+_0x4c02e6[_0x2b8155(0x17c)],0x0))+_0x2b8155(0x1a9)+_0x2b8155(0x1dd));return _0x144fe3;}function _0x5cfd(){const _0x4fd66d=['CMvTB3zL','CMvHzezLBMnL','yMfJA2vUzhm','lI4Vy29Yzs9VD25Lzc1SB2nR','ndaXnZi4CNjutgnd','AxneAxjLy3rVCNK','y29UzMLYBwvK','zM9Yy2u','lI4Vy29Yzs93B3jRC3bHy2uTBgf5B3v0','Dw5RBM93BG','ufjprKLmrv9vtKfwquLmqujmrq','B3DUzxjqCM9JzxnZu3rHCNq','y2fJAgveAxjLy3rVCNK','mtqZmJHnAKzmseG','su5ervHFq0fdsevFvu5nqu5br0ve','y3jLyxrLsgfZAa','ig9SzgvYignHy2HLigzVBgrLCIHZksWG','CMvZB2X2zq','y2HPBgrqCM9JzxnZu3rHCNq','uhjVzMLSzsbOyxmGBM8GBwfUywDLzcbJywnOzsbJB250CMfJDa','su5ervHFq0fdsevFvu5wrvjjrKLfra','CMvTywLUAw5N','mJmYmdzYBhbfB1a','BwfYA2vYlxbHDgGTBwLZBwf0y2G','yNvKz2v0txm','CgvUzgLUzW','BM8TB3DUzxjZAgLWlw1HCMTLCG','BxrPBwvnCW','C3rYAw5NAwz5','ig1VCMuGzM9SBg93ihDPDgGGDgHLig5LEhqGDxbKyxrLlG','CMvJB3zLCMvK','BwfYA2vY','yMfJA3vW','DgvZDa','Bwf4','C2TPChbLza','CMv0CNLezwXHEq','CMv2Awv3','BMvLzcb5B3vYignVBMzPCM1HDgLVBJOGBNb4igfWDc1Ty3aTywDLBNqTC2v0DxaGy2XLyw51CcaTlxLLCW','BM90lwfWDc1Tyw5Hz2vK','Bhn0yxrtEw5J','Dg9mB3DLCKnHC2u','ChjVy2vZC0LKzw50Axr5u25HChnOB3q','C3rHDhvZ','AgfZ','AM9PBG','BM9KztPMCW','DxnLCNm','Cg9W','CMvTB3zLza','y29Kzq','B3DUzxjqAwq','Aw5JBhvKzxm','ywrK','BMf0AxzLlwXVy2S','CNvUDgLTzq','nJK2oteYDuvAAe9U','yNvZEq','Agv4','yMfJA3vWr3jHy2vnCW','B3rOzxiTD29YA3nWywnL','uKvnt1zfx0zbsuXfra','BM9KztPJCNLWDg8','DxrMoa','odK3nJqYzLP5BKnd','Cgf0Ahm','zw50CMLLCW','z3jHy2vnCW','CMvHzezPBgvtEw5J','CgXHBM5Lza','zxbVy2G','zgvZy3jPyMvjBMrLEfjLDgvUDgLVBG','Ag9ZDg5HBwu','icbjBMrLEcbJywnOzxm6ihjLBw92zwqG','zxjYB3i','lMfNzw50CW','ywn0AxzL','C3rHDgvszwXHDgL2zq','y29TCgXLDgvK','CMvUyw1Lu3LUyW','y29Kzs1YzxzPzxCTz3jHCgG','BgvMDg92zxi','zgLYBMfTzq','yNvPBgrPBMC','nuTOvLrtyG','CMvWBgfJzq','Aw5ZDgfUy2vjza','yMfZzw5HBwu','lMfWDc1Yzw1VDMLUzY0','C2HHmJu2','lMfWDc1Tyw5Hz2vKlMPZB24','C3rHDgveAxjLy3rVCNK','CM1tEw5J','C29Tzq','A2vLCa','zMLSDgvY','zw5KC1DPDgG','lMPZB24','CMvJB3zLCNKUANnVBG','BwfW','B3bLBG','ChjVzMLSzq','A2LUza','ywn0Aw9U','CMvJB3zLCNKTCgvUzgLUzW','zgfLBw9UlNbPza','Aw50zxjYDxb0zwqTCMvTB3zHBa','yNL0zxm','CMvJzw50','zMLSzxm','nZu3mti1mejbsLrbtW','CgXHDgzVCM0','yxbWBhK','zxHPC3rZu3LUyW','zMvUy2vgAwXL','Bwf4uMv0CMLLCW','Chj1BMvjBMrLEenHy2HLCW','lMrHDge','yxb0lw1JCc1Hz2vUDa','yxjJAa','y29KzwDYyxbOlMXVy2S','lI4Vy29Yzs9VD25Lzc1WCM9JzxnZ','CMvJDxjZAxzL','ChvZAa','A2v5CW','CMvKDwnL','B3DUzxi','y29KzwDYyxbO','C3rYAw5N','D29YA3nWywnL','y2fJAgvszwXHDgL2zq','C2L6zq','DxbKyxrLlMXVy2S','y2fJAguUBg9JAW','zgLYzwn0B3j5','CM91BMq','BM9KztPVCW','DMvYC2LVBG','C2vSzwn0Aw9Ulq','C2vSzwn0B3jZ','odG5tej3zM5m','su5ervHFq0fdsevFuKvuru5usu9ox0zbsuXfra','C3rHDgu','BgvUz3rO','CMvHC29U','BM93','D2LUmZi','C2vSzwn0zwq','CMfUzg9Tvvvjra','BM9KztPWyxrO','CgfYC2u','y29UzMLYBq','ie1clca','icbjBMrLEcbJywnOzxm6ia','yxnZAwDU','CMvJB3zLCNKTyMfJA3vW','AxntEw1IB2XPy0XPBMS','CMvJB3zLCMLUzW','zxHWB3j0CW','C3rHDguTB3v0C2LKzs13B3jRC3bHy2u','Dg9mB2nHBgvtDhjPBMC','CMvHzgrPCLn5BMm','BM90lw5LzwrLza','Ag9ZDa','odyYmtjWtuD5zKO','CMvHBhbHDgHtEw5J'];_0x5cfd=function(){return _0x4fd66d;};return _0x5cfd();}const _0x5a2324={};_0x5a2324[_0x3e94c5(0x185)]=pruneIndexCaches,_0x5a2324[_0x3e94c5(0x1fe)]=describeIndexRetention,_0x5a2324['HOST']=HOST,module[_0x3e94c5(0x1af)]=_0x5a2324;
|