apt-mcp-agent-setup 3.5.14 → 3.5.16
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 +14 -12
- package/bin/cli.js +1 -1
- package/build-input.json +94 -71
- package/bundle/NOTICES.md +0 -0
- package/bundle/core.enc +0 -0
- package/bundle/mcp-rules.enc +0 -0
- package/bundle/skills-aso.enc +0 -0
- package/bundle/skills-ba.enc +0 -0
- package/bundle/skills-base.enc +0 -0
- package/bundle/skills-be.enc +0 -0
- package/bundle/skills-design.enc +0 -0
- package/bundle/skills-fe.enc +0 -0
- package/bundle/skills-marketing.enc +0 -0
- package/bundle/skills-mobile.enc +0 -0
- package/bundle/skills-pm.enc +0 -0
- package/docs/technical-sources.md +11 -3
- package/integrity-manifest.json +154 -143
- package/package.json +1 -1
- package/release-check.js +11 -5
- package/src/backends/browser-tools.js +1 -1
- package/src/backends/index-cache-authority.js +1 -1
- package/src/backends/index-command.js +1 -1
- package/src/backends/index-contract.json +10 -0
- package/src/backends/index-maintenance.js +1 -1
- package/src/backends/index-store.js +1 -1
- package/src/backends/profiles.js +1 -1
- package/src/backends/review_graph.py +150 -6
- package/src/backends/source-discovery.js +1 -0
- package/src/core/admission-fence.js +1 -1
- package/src/core/aso-import.js +1 -1
- package/src/core/backend-lease-recovery.js +1 -1
- package/src/core/boot-evidence.js +1 -0
- 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-native.js +1 -1
- package/src/core/claude-plan.js +1 -1
- package/src/core/claude-transcript-scan.js +1 -1
- package/src/core/claude-worker-transcript.js +1 -1
- package/src/core/codex-host-metadata.js +1 -1
- package/src/core/codex-transcript-receipt.js +1 -1
- package/src/core/connection-inspector.js +1 -1
- package/src/core/context-metrics.js +1 -1
- package/src/core/doctor.js +1 -1
- package/src/core/draining-completion.js +1 -1
- package/src/core/execution.js +1 -1
- package/src/core/git-context.js +1 -1
- package/src/core/hook-bridge.js +1 -1
- package/src/core/hook-diagnostics.js +1 -0
- package/src/core/hook-lease.js +1 -0
- package/src/core/host-adapters.js +1 -1
- package/src/core/interrupted-operation-audit.js +1 -1
- package/src/core/interrupted-transport-proof.js +1 -0
- package/src/core/ipc-envelope.js +1 -1
- package/src/core/legacy-retirement-proof.js +1 -1
- package/src/core/memory-scope.js +1 -1
- package/src/core/memory-store.js +1 -1
- package/src/core/model-inventory.js +1 -1
- package/src/core/model-routing.js +1 -1
- package/src/core/native-dispatch.js +1 -1
- package/src/core/native-receipt.js +1 -1
- package/src/core/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 -0
- package/src/core/resource-transaction.js +1 -1
- package/src/core/run-checkpoint.js +1 -1
- package/src/core/run-compatibility.js +1 -1
- package/src/core/run-state-codec.js +1 -0
- package/src/core/runtime-authority.js +1 -1
- package/src/core/runtime-info.js +1 -1
- package/src/core/runtime-ownership.js +1 -1
- package/src/core/session.js +1 -1
- package/src/core/skill-companions.js +1 -1
- package/src/core/skill-names.js +1 -1
- package/src/core/storage-retry.js +1 -1
- package/src/core/tool-contracts.js +1 -1
- package/src/core/transport-contract.json +10 -0
- 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 -0
- package/src/core/workspace-generation.js +1 -1
- package/src/core/workspace-path.js +1 -1
- package/src/installer/bounded-command.js +1 -1
- package/src/installer/candidate-preflight.js +1 -1
- package/src/installer/connection-activation.js +1 -1
- package/src/installer/connection-supervisor.js +1 -1
- package/src/installer/deployment-draft.js +1 -1
- package/src/installer/gateway-context.js +1 -1
- package/src/installer/gateway-migration.js +1 -1
- package/src/installer/gateway-runtime.js +1 -1
- package/src/installer/global-setup.js +1 -1
- package/src/installer/hook-context-client.js +1 -1
- package/src/installer/hook-dispatcher.js +76 -24
- package/src/installer/host-hooks.js +1 -1
- package/src/installer/index-interruption-recovery.js +1 -0
- package/src/installer/index-recovery.js +1 -1
- package/src/installer/interrupted-operation-recovery.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/registration-closure.js +1 -1
- package/src/installer/registration-plan.js +1 -1
- package/src/installer/registration-receipt.js +1 -1
- package/src/installer/registrations.js +1 -1
- package/src/installer/runtime-activation.js +1 -1
- package/src/installer/runtime-child.js +1 -1
- package/src/installer/runtime-cleanup.js +1 -1
- package/src/installer/runtime-lock.js +1 -1
- package/src/installer/runtime-store.js +1 -1
- package/src/installer/runtime-supervisor.js +1 -1
- package/src/installer/setup-wizard.js +1 -1
- package/src/installer/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-request.js +1 -1
- package/src/installer/update-scope.js +1 -1
- package/src/installer/workspace-registry.js +1 -1
- package/src/installer/workspace-transaction.js +1 -1
- package/src/installer/workspace-update.js +1 -1
- package/src/license/crypto.js +1 -1
- package/src/license/fingerprint.js +1 -1
- package/src/license/terms.js +1 -1
- package/src/license/verify.js +1 -1
- package/src/presets/index.js +1 -1
- package/src/proxy/backends.js +1 -1
- package/src/proxy/browser-sessions.js +1 -1
- package/src/proxy/core-tools.js +1 -1
- package/src/proxy/pipeline.js +1 -1
- package/src/proxy/public-catalog.js +1 -1
- package/src/proxy/router.config.js +1 -1
- package/src/proxy/router.js +1 -1
- package/src/proxy/server.js +1 -1
- package/src/proxy/workspace-gateway.js +1 -1
package/integrity-manifest.json
CHANGED
|
@@ -1,163 +1,174 @@
|
|
|
1
1
|
{
|
|
2
2
|
"files": {
|
|
3
|
-
"bin/cli.js": "
|
|
4
|
-
"build-input.json": "
|
|
5
|
-
"bundle/core.enc": "
|
|
6
|
-
"bundle/mcp-rules.enc": "
|
|
7
|
-
"bundle/NOTICES.md": "
|
|
8
|
-
"bundle/skills-aso.enc": "
|
|
9
|
-
"bundle/skills-ba.enc": "
|
|
10
|
-
"bundle/skills-base.enc": "
|
|
11
|
-
"bundle/skills-be.enc": "
|
|
12
|
-
"bundle/skills-design.enc": "
|
|
13
|
-
"bundle/skills-fe.enc": "
|
|
14
|
-
"bundle/skills-marketing.enc": "
|
|
15
|
-
"bundle/skills-mobile.enc": "
|
|
16
|
-
"bundle/skills-pm.enc": "
|
|
3
|
+
"bin/cli.js": "05233bdc0ad5e7384ff8e2c7abe9c45675c59af721a3544e562de4cda6b9fd65",
|
|
4
|
+
"build-input.json": "c820e3f372d75ed80cd0beae3372b35c4a0e965499cf9b02d0bc81c3801a121b",
|
|
5
|
+
"bundle/core.enc": "d3fc238958012a85d912041de49a8d9e58967d4d0975998004f3e1532fab9605",
|
|
6
|
+
"bundle/mcp-rules.enc": "4cf04d0727e491eab44c2f53b9db0fe0956f09c1ff30463a526ef787caab421d",
|
|
7
|
+
"bundle/NOTICES.md": "8d33f9b45cade5f186c1ccc357bd84776e078dd702a1e4950d1aae9dd6a4e1e3",
|
|
8
|
+
"bundle/skills-aso.enc": "940e3023fd0f9a89d3407e35695fe57981189704f602e4f627f0d261348b03ca",
|
|
9
|
+
"bundle/skills-ba.enc": "1b16602ed1bbf3b507bf495892730190ceda19e28ea48c8db709d3670c0a31e1",
|
|
10
|
+
"bundle/skills-base.enc": "2dcf59a59fc678c1202a43330a786bf582455299a45e31613519dadc3aaf1114",
|
|
11
|
+
"bundle/skills-be.enc": "d3107d138f14df66679e9be76078e9053192199b4a01ee277f34f99ccce12618",
|
|
12
|
+
"bundle/skills-design.enc": "2e50c5b41721da3a9aa03753a8e731b43a4557ef2e6e6cef03b3bf8e08b2186f",
|
|
13
|
+
"bundle/skills-fe.enc": "25e6bdb76f21caaced5473ff55e1a428716f9dcb8fb13e56fb35d1f4bcbd9e4c",
|
|
14
|
+
"bundle/skills-marketing.enc": "d6f639377e3abe9b7e65b352590c03ea08f0e743b8deded8f9f290de9367b281",
|
|
15
|
+
"bundle/skills-mobile.enc": "445898002814574dbf6df142007a09abdcb328a27955261c1f69ae23754e247e",
|
|
16
|
+
"bundle/skills-pm.enc": "3aafc72c8c18a268666d54a2aa6ff1bd125618e17fee18c1964378e193d60df6",
|
|
17
17
|
"docs/apt-3.5.0-migration.md": "1848533b95c5ae26da37d5d5654c31de4bad77f967eadd05d5d2773165cb3b60",
|
|
18
18
|
"docs/apt-3.5.3-migration.md": "b5b94f09fba0531fb49adb538010f1f457d82019622632d531ecd16c78bba406",
|
|
19
19
|
"docs/apt-3.5.4-migration.md": "28cda37e86d752bd0db33c471324e65f43796d69179646f8cdb4fbd466310238",
|
|
20
20
|
"docs/technical-sources-release-checklist.md": "a5dc54b4d08913f32166bf89126f2483f55495569bbfcd96955be439ba9b82dc",
|
|
21
|
-
"docs/technical-sources.md": "
|
|
21
|
+
"docs/technical-sources.md": "eac2869cb70a168b6ada19ef0aa9037776fe6fcdd668bf1e2f350219e3b8b3e7",
|
|
22
22
|
"docs/upstream-manifest.json": "657a45ebba78fb44a1e2e66cb1b297b374bd21893d33a7818f095d880be10e12",
|
|
23
23
|
"LICENSE": "e9b3c5c1f9dc65f8591339e144dc7a1d1266886dc63c01edfeebd83a46315e36",
|
|
24
|
-
"package.json": "
|
|
25
|
-
"README.md": "
|
|
26
|
-
"release-check.js": "
|
|
24
|
+
"package.json": "90bc251994e06d80bde0cee328557250819723f6bdf4a3ece6ddf096095716a2",
|
|
25
|
+
"README.md": "16a1e2396e1582da626a0f3d06f1293d2bfd48c397304a71fe46c4fea5441649",
|
|
26
|
+
"release-check.js": "c13f8bdf094931ab58ef2a64f28881561d703d4ef59c45d1d93fc77726538387",
|
|
27
27
|
"source-skills-lock.json": "9d124798b307637a15f0b91efded4cb72b5f8f037cf6959ef735daf40e9fc01e",
|
|
28
28
|
"src/backends/browser-tools-0.0.82.json": "9cd158957c658c6d5b9be931a435c7af7d7f74b75adddd9bb7d4ff584757460c",
|
|
29
|
-
"src/backends/browser-tools.js": "
|
|
29
|
+
"src/backends/browser-tools.js": "6e23f21dbc2e4db533ab2a60e1883573ce29c9c79574d5d604778a597dca96c7",
|
|
30
30
|
"src/backends/codegraph-1.6.0.json": "badef7be6b3a8e671d184436a777562af0417e5e1d53f61b459955c10199e36e",
|
|
31
|
-
"src/backends/index-cache-authority.js": "
|
|
32
|
-
"src/backends/index-command.js": "
|
|
33
|
-
"src/backends/index-
|
|
34
|
-
"src/backends/index-
|
|
31
|
+
"src/backends/index-cache-authority.js": "83aa9ca54906ed00d1bc812b02cf58a975e4cd96baaf0a46c119d0bbb24504ab",
|
|
32
|
+
"src/backends/index-command.js": "f748e452fd8607f6a3e866bf1f46f967d36c0c5828a44ddb869c4a3c379c1fd2",
|
|
33
|
+
"src/backends/index-contract.json": "444583ddf9cc7cc9471cd749b1928fb4bda143fad7eb87fb87fc622543b574bc",
|
|
34
|
+
"src/backends/index-maintenance.js": "b15d72e07d4575a6c6f674573b2445125f93937dfc1cbb2f242f139cb28ba957",
|
|
35
|
+
"src/backends/index-store.js": "7037b9a56944494ee495da4e1a393341d322a73f1d2b73fb2f7a75b0f0cf7033",
|
|
35
36
|
"src/backends/memory-2026.8.31.json": "9cf00415f7d7c2beb27ef5358c5afb6c790abeffd9fcd17cbfa4244c7624a9e6",
|
|
36
|
-
"src/backends/profiles.js": "
|
|
37
|
-
"src/backends/review_graph.py": "
|
|
38
|
-
"src/
|
|
39
|
-
"src/core/
|
|
40
|
-
"src/core/
|
|
41
|
-
"src/core/
|
|
42
|
-
"src/core/
|
|
43
|
-
"src/core/
|
|
44
|
-
"src/core/
|
|
45
|
-
"src/core/claude-
|
|
46
|
-
"src/core/claude-
|
|
47
|
-
"src/core/claude-
|
|
48
|
-
"src/core/claude-
|
|
49
|
-
"src/core/
|
|
50
|
-
"src/core/
|
|
51
|
-
"src/core/
|
|
52
|
-
"src/core/
|
|
53
|
-
"src/core/
|
|
54
|
-
"src/core/
|
|
55
|
-
"src/core/
|
|
56
|
-
"src/core/
|
|
57
|
-
"src/core/
|
|
58
|
-
"src/core/
|
|
59
|
-
"src/core/
|
|
60
|
-
"src/core/
|
|
61
|
-
"src/core/
|
|
62
|
-
"src/core/
|
|
63
|
-
"src/core/
|
|
64
|
-
"src/core/
|
|
65
|
-
"src/core/
|
|
66
|
-
"src/core/
|
|
67
|
-
"src/core/
|
|
68
|
-
"src/core/
|
|
69
|
-
"src/core/
|
|
70
|
-
"src/core/
|
|
71
|
-
"src/core/
|
|
72
|
-
"src/core/
|
|
73
|
-
"src/core/
|
|
74
|
-
"src/core/
|
|
75
|
-
"src/core/
|
|
76
|
-
"src/core/
|
|
77
|
-
"src/core/
|
|
78
|
-
"src/core/
|
|
79
|
-
"src/core/
|
|
80
|
-
"src/core/
|
|
81
|
-
"src/core/
|
|
82
|
-
"src/core/
|
|
83
|
-
"src/core/
|
|
84
|
-
"src/core/
|
|
85
|
-
"src/core/
|
|
86
|
-
"src/core/
|
|
87
|
-
"src/core/
|
|
88
|
-
"src/core/
|
|
89
|
-
"src/core/
|
|
90
|
-
"src/core/
|
|
91
|
-
"src/core/
|
|
92
|
-
"src/core/
|
|
93
|
-
"src/core/
|
|
94
|
-
"src/core/
|
|
95
|
-
"src/core/
|
|
37
|
+
"src/backends/profiles.js": "bb283a74bfd4353ba2b59bef0fc13550a97d37ae8b3231492e0111f245a622aa",
|
|
38
|
+
"src/backends/review_graph.py": "63e3c48b6720594469806f49977f48f3ad4ca2a3348f31d2925b7b53e1cd066d",
|
|
39
|
+
"src/backends/source-discovery.js": "7749608d61a4ad77c048a01d047d6901ab19a6cb0603e7ca4abc4099c4190718",
|
|
40
|
+
"src/core/admission-fence.js": "c2433f5aa501a7d08ffd6c1cdc381bd85ad095503c5d9bd2788adcbd74516fa7",
|
|
41
|
+
"src/core/aso-import.js": "cb397f34ee9d49036bfeac72ebec61d4f200c8063080e90049af45a08345e67f",
|
|
42
|
+
"src/core/backend-lease-recovery.js": "ec906516b4eaa7b60c81b5280e7ce8cb588bfb678beaca97580c60c70797dda7",
|
|
43
|
+
"src/core/boot-evidence.js": "5454440c119bdcb0ab906c6f499cf3f557e01d09bcac1d5b866a6f5527b7fb8e",
|
|
44
|
+
"src/core/caller-context.js": "7b13ffeccdcbe031e464b6446c8b52b50b435cf332f92334c6de35188771bb0e",
|
|
45
|
+
"src/core/catalog.js": "a304453dc356eab448adef3d5efa70efbeb294f6bd69722e231804dbd0e958e9",
|
|
46
|
+
"src/core/claude-caller-authority.js": "9db7e53af3b687184516798315b0e5165da2ab8913d29f34471df70f80f394f0",
|
|
47
|
+
"src/core/claude-invocation.js": "bf0081a4b7a60a44d53c601acb72b3481b3c470e9c2cf2a2c9fb72209a70d055",
|
|
48
|
+
"src/core/claude-native.js": "552478bf6af8e3ba4d6e682eac9f984e239e107183eba3c30aaca10b32d63cfa",
|
|
49
|
+
"src/core/claude-plan.js": "cdc0f5b2c6a7529f7a6f0290e322d541e0a745756bd18bc9aae7b1d614e25ba8",
|
|
50
|
+
"src/core/claude-transcript-scan.js": "00333424b64a177c97f11b54a3f7377b006d3850d5c6359e0757803e486ee16c",
|
|
51
|
+
"src/core/claude-worker-transcript.js": "e819b9ca10e56f6e99db5233311ac673982afc2b20b8856d5013005ce74a7025",
|
|
52
|
+
"src/core/codex-host-metadata.js": "1deada673f20935a3dccc4f39fa5c042a5972c6277f226fdd98e5e5bffb0e7f4",
|
|
53
|
+
"src/core/codex-transcript-receipt.js": "1dd84b12ade5d8bedbc45034e88d6ce4ea079d8d519e5b8c7f331e553b1386f0",
|
|
54
|
+
"src/core/connection-inspector.js": "30770357934463c656a7ad96d4e0145cafdb407bbe7d90368c9befe0a7a83467",
|
|
55
|
+
"src/core/context-metrics.js": "d3fe83fe5d8a9086ab87aae01df7ebadeb2ec16194508dc3c7e42f07f88b5087",
|
|
56
|
+
"src/core/doctor.js": "aaff0d471a0248b97f1e16897749f9cbbf6cf09c0163779d2b4cea6711a98be7",
|
|
57
|
+
"src/core/draining-completion.js": "486c75d5674b59c7e1d616911b4143c3e3568e15a5fedafbb8fbc98fc83c9405",
|
|
58
|
+
"src/core/execution.js": "7883c417feb7b367454b00ab9d7c042ef486011f75d1f154354a95b5c681a887",
|
|
59
|
+
"src/core/git-context.js": "7f407467a0088f0d11dd122eb20a59cbbefb80b9759e60ab8ecfcd1cf75d85e9",
|
|
60
|
+
"src/core/hook-bridge.js": "aa6d74834fcad158fffe9d2b0a35e63a95bec5f1b2c4895760162b35f2b87b3d",
|
|
61
|
+
"src/core/hook-diagnostics.js": "8b4dda374251181a1f8fd9ddbb0efa7dbd82aa3b54eedfbb7ce258d4ad692b84",
|
|
62
|
+
"src/core/hook-lease.js": "cab71979e0a549f8662b7e65b224b33d0d49289d85cd6b5485f7f02513f2be43",
|
|
63
|
+
"src/core/host-adapters.js": "433be10144c7bbe48e2d23cd187e5db005fc990f4c7cf35cc4d1caa8f997b13e",
|
|
64
|
+
"src/core/interrupted-operation-audit.js": "1f0e8e2dceb17881962b007bbe3723ee2ab9e9f8286b89d8b60c5f3486fdd5be",
|
|
65
|
+
"src/core/interrupted-transport-proof.js": "905e66f0c366a5f797d9a5eca02e3dac96db8baee069c7f070fc0cb808913edf",
|
|
66
|
+
"src/core/ipc-envelope.js": "163d8a84c223fe1156b082b1fad62928b35844bd6d6f36cf04a52fba86734851",
|
|
67
|
+
"src/core/legacy-retirement-proof.js": "633a4f1c91d7f79dfb43e7b5bc9fc6a337e23529deb1effdd319e36703b2aafd",
|
|
68
|
+
"src/core/memory-scope.js": "3f4ad571b12bcaf643a516d4c92022c8028c11c0f2830cda6c7c4aba372d1051",
|
|
69
|
+
"src/core/memory-store.js": "439198ae02d08020abaf98d80ae3a6b25814bc1b9de78a2162fbd2e2f3f86f3d",
|
|
70
|
+
"src/core/model-inventory.js": "a9c18ff57b4ab382eaff2b6fa91aa4a879fb72d4a05bde82937028baaf773f2b",
|
|
71
|
+
"src/core/model-routing.js": "d076a7e9daf2253425e02b17ddc3ab36873794525e8bf792b5d6ec9e5a92a230",
|
|
72
|
+
"src/core/native-dispatch.js": "2e1d243a1c3ebe0844170f1c97cc6f18001aa5af871130d15f55aa09ae3cd620",
|
|
73
|
+
"src/core/native-receipt.js": "56d10099ecc920a3f71962e453493b2f6ea2e50ce3c8959eaeae9fea31f94d2f",
|
|
74
|
+
"src/core/node-version.js": "7c23a4476e7cb3f0019a040667134142f1ef315f2bac1bb5dabbe2fea61845be",
|
|
75
|
+
"src/core/npm-cli.js": "cfbc34688fdadfb335e686e96553f3c98af6357496594f87838f46311eae9922",
|
|
76
|
+
"src/core/owned-command-child.js": "afc6f9dbe4ea702fefeaca8b91a05958b238a0742a14378779fa641017b49106",
|
|
77
|
+
"src/core/owned-command.js": "2766f8772670ffe7d7417ab3dcb8c597c42b9834c4809a74a556957e38ecfb0e",
|
|
78
|
+
"src/core/owned-lock.js": "1f9efe3f09d9275310166e2e1d7e506038f4fae995e6b3499b6b37ba2ca46f8a",
|
|
79
|
+
"src/core/owned-process.js": "09afdd88227132926beae8dc3f9468b25e5e39723d3acf52bbf293ee24efe30b",
|
|
80
|
+
"src/core/pipeline-journal.js": "19fb2bfeeaddce0016c4b04e2436d7998d14702d7c87ea9e09ed4ec66e837d80",
|
|
81
|
+
"src/core/presentations.js": "90d7c548d05b934a5f38390c65d88d0fd93bf6f2288eee0e604440535853992c",
|
|
82
|
+
"src/core/quality-artifacts.js": "f3fc2ef124c49c71caaedb92e000e5ffd7825ad578fa228848624becd9abbd45",
|
|
83
|
+
"src/core/quality.js": "0e817f79eec1eddd6e45a5dac65f34406cc40755fd288688afd14af636c9d4ad",
|
|
84
|
+
"src/core/read-command.js": "6516c4cb4795898b954765821424e3f40dd4907e470dba0ce6de80850203d505",
|
|
85
|
+
"src/core/readonly-skill.js": "ca767a6804486a283bfc8567595f3f35d8ecff103bb0db62bc67719f9ff7b014",
|
|
86
|
+
"src/core/recovery-archive.js": "92697fc7b2d1dcd4b43ac94bfa93fd92b16a40be6d108965542cc93fe8e1f8d6",
|
|
87
|
+
"src/core/recovery-proof.js": "cb1fa9ee23780aeea07b6f7bcba38731d5acebd38af8ee6e67beed871f66d885",
|
|
88
|
+
"src/core/resource-transaction.js": "378c8f91c4e28cb250cd4674270e817cde4bdf03e49deb7dd278e255af2d1cdc",
|
|
89
|
+
"src/core/run-checkpoint.js": "91665f6f80b6c4ae99a8724be3fad35a61ba2110da7d44393932b664d5d90f53",
|
|
90
|
+
"src/core/run-compatibility.js": "6301b5468deb6b673c2dffa4dae1e61f4b9a30ff9598b50c8025e2edf911bc6f",
|
|
91
|
+
"src/core/run-state-codec.js": "3a92b27a8046e14727f65c4fc7cda7e57a552928421dcff5f7ee70ba00c644fd",
|
|
92
|
+
"src/core/runtime-authority.js": "fc0ae7e48ce8ab4afe782d1534771c934f5285325fe2267a0044685b5701a4f4",
|
|
93
|
+
"src/core/runtime-info.js": "4474979bb127ce78a18fe696862715fbde93c59e79cbb770c92a7a8dab2c81fa",
|
|
94
|
+
"src/core/runtime-ownership.js": "2b7b38fc8d6140eeb92dfd4d9d1808d1eca32dc1797365e34ffa6a354aab7ad9",
|
|
95
|
+
"src/core/session.js": "2a2fb3a9f00aadf6fb569dcc2dba0e24a9d5b4ebe8aed23ba4f48ef7f4dcc1ef",
|
|
96
|
+
"src/core/skill-companions.js": "c579904b95802f80415862f90bdfecca83907d125b17ae60434359c5400e27e4",
|
|
97
|
+
"src/core/skill-names.js": "95815aaffd64bff6771ce43333d48bd0c389b81aa3c4932cf385254d9e1c75cb",
|
|
98
|
+
"src/core/storage-retry.js": "9949242123d5465d820ae4fd78ba138877a80b49ec85e756fca96b74e70948b6",
|
|
99
|
+
"src/core/tool-contracts.js": "dcb83d8953c6fc0971e55b27653fd365889c495f29891d55420831cf0d836fda",
|
|
100
|
+
"src/core/transport-contract.json": "6d238a11f0d813b2eb5637b20ddfdd52e0a991f05687d0043b4f50627161cbcb",
|
|
101
|
+
"src/core/update-control.js": "85b720877cb08ffe2ff2b236b1a6920cad456e5823b848990088a8fa7a2c2469",
|
|
102
|
+
"src/core/upgrade-runs.js": "62a54f22aeb108169bb29d5b70b3c408cac0b63481e1c6d92f2b3faa2406d417",
|
|
103
|
+
"src/core/upgrade-stop.js": "1ba7109a2fb7b581e10bba98576439d85f661a98da53f949d11a23ee90a6c7a9",
|
|
104
|
+
"src/core/windows-job.js": "7e18701b9ae1c9cda8b106d50e57e645f4aa51310267cbe1539ff90b924630b8",
|
|
96
105
|
"src/core/windows-job.ps1": "dea12ccf8d3e488cb3cd2a23617d9c85cde269ffac79ee7c00480b56faf43469",
|
|
97
106
|
"src/core/windows-legacy-query.ps1": "ef584eccb2dbffa0e180d1008e9f78a615985c33f05ebac187dde5cc6757ea4e",
|
|
98
|
-
"src/core/
|
|
99
|
-
"src/core/workspace-
|
|
107
|
+
"src/core/workflow-policy.js": "57307d6c965398718d691b5394c77f1ab3536f80bdb7ed86caae1d1dbc617b81",
|
|
108
|
+
"src/core/workspace-generation.js": "3e2a61e0b4cfda7c046355127a6e41b5818dc55c4b7b48bbd67b2523d29121f4",
|
|
109
|
+
"src/core/workspace-path.js": "734d1d9b768dfccb9471fd5d9795e5d98d503052758edb56aa1d575d8efb4a7e",
|
|
100
110
|
"src/core/xlsx-reader.py": "00e260bcd4cec0672edf92b98f0636d1f42916d7e6f15c314a78e99e615c53cd",
|
|
101
|
-
"src/installer/bounded-command.js": "
|
|
102
|
-
"src/installer/candidate-preflight.js": "
|
|
103
|
-
"src/installer/connection-activation.js": "
|
|
104
|
-
"src/installer/connection-supervisor.js": "
|
|
111
|
+
"src/installer/bounded-command.js": "2c61f608554a913dd65805ef243d0fbe388ae54ae21c16a4fad5fe55fbb54dc2",
|
|
112
|
+
"src/installer/candidate-preflight.js": "2150aba8fc4e1ac86fe01ae941c0a683eadf1be6ece4b5e987d776123504a8fc",
|
|
113
|
+
"src/installer/connection-activation.js": "dbdda95a55f330641231d9ded0f3e3b47f4c4e78954b0ab8748644ef61dfb22f",
|
|
114
|
+
"src/installer/connection-supervisor.js": "4bd7df81b6137fe64a5d695644fc9496fb53af3e19f7a50aa77ff070ddb0a423",
|
|
105
115
|
"src/installer/context-legacy-hashes.json": "5d73a753c91714b549f6817282d374a72daad9a5d6501b8674a89ea346f40c86",
|
|
106
|
-
"src/installer/deployment-draft.js": "
|
|
107
|
-
"src/installer/gateway-context.js": "
|
|
108
|
-
"src/installer/gateway-migration.js": "
|
|
109
|
-
"src/installer/gateway-runtime.js": "
|
|
110
|
-
"src/installer/global-setup.js": "
|
|
111
|
-
"src/installer/hook-context-client.js": "
|
|
112
|
-
"src/installer/hook-dispatcher.js": "
|
|
113
|
-
"src/installer/host-hooks.js": "
|
|
114
|
-
"src/installer/index-recovery.js": "
|
|
115
|
-
"src/installer/
|
|
116
|
-
"src/installer/
|
|
117
|
-
"src/installer/
|
|
118
|
-
"src/installer/
|
|
119
|
-
"src/installer/
|
|
120
|
-
"src/installer/
|
|
116
|
+
"src/installer/deployment-draft.js": "a3e319a1333c5dc26586cf8dfbad2f8e2eaf67605f872467dc9be49dc7287bbc",
|
|
117
|
+
"src/installer/gateway-context.js": "0407aadd2bf181710fcf6e4fc64e285b424475c93d65c84371994641b0ceb779",
|
|
118
|
+
"src/installer/gateway-migration.js": "819f9d908159314ef18c859c85a979a992437f5c2ef23d59ea917eceacb5486c",
|
|
119
|
+
"src/installer/gateway-runtime.js": "0d76e9f65d868ee598a6b40d389703af3701be272a09e9cc7f48511bc47ff697",
|
|
120
|
+
"src/installer/global-setup.js": "903c8ee41d5a13f18801b229bdab0af72424b70a080dbb87fb5bb007c702dc8c",
|
|
121
|
+
"src/installer/hook-context-client.js": "2da3d9313c12dcfd4fbf762c872804023b9f981119639ab34d30aa2ddb9261a6",
|
|
122
|
+
"src/installer/hook-dispatcher.js": "70a4423d956c123ae7af860081ff902d2f23a36d44fe03ac758f71c36ba394ca",
|
|
123
|
+
"src/installer/host-hooks.js": "501c63fdaa9e7713079e38b6904d717010391d6a835762db665e6b2c6990b671",
|
|
124
|
+
"src/installer/index-interruption-recovery.js": "38c04f95bfbf4797ea904391d04975982b880fc5982b3b2afb6dde94678a029f",
|
|
125
|
+
"src/installer/index-recovery.js": "e488e813d0e548cef1ee413a000411f1e003872355fafcf9188d6aafa76baadd",
|
|
126
|
+
"src/installer/interrupted-operation-recovery.js": "dc6ad1ebb04fb9d74c01d3be05dd376e9464a2a3ff144d3fa842de087fa3f243",
|
|
127
|
+
"src/installer/legacy-registration.js": "6da9ac9c8f63f8125ef0cdc5ef9e826d93a11040523bf79b3c702776ffa7f6bf",
|
|
128
|
+
"src/installer/managed-config.js": "9c0de56feeb9d8f7aeaff63f97fdede7b4d46e820558812cec934b528b44e436",
|
|
129
|
+
"src/installer/migration-scope.js": "5ad0f2a5312b6449f009a5b32bb350e9d59010d827cca53520d6839485f8252e",
|
|
130
|
+
"src/installer/platform-config.js": "afa5ef425cc25e10506bdc0e13edfa4d55352c529b4c48cc55d34f33ffc60b74",
|
|
131
|
+
"src/installer/prerequisites.js": "5ce310655452146daf563dabf2e6cefde7b9270eac8574cd0aa5faa6e349d9e5",
|
|
121
132
|
"src/installer/presentations-requirements.txt": "3059dc5056a5775042e0254112b45af774b12c8b5f09b301c15877f8c255236b",
|
|
122
|
-
"src/installer/presentations.js": "
|
|
123
|
-
"src/installer/project-outcome.js": "
|
|
124
|
-
"src/installer/project-setup.js": "
|
|
125
|
-
"src/installer/registration-closure.js": "
|
|
126
|
-
"src/installer/registration-plan.js": "
|
|
127
|
-
"src/installer/registration-receipt.js": "
|
|
128
|
-
"src/installer/registrations.js": "
|
|
129
|
-
"src/installer/runtime-activation.js": "
|
|
130
|
-
"src/installer/runtime-child.js": "
|
|
131
|
-
"src/installer/runtime-cleanup.js": "
|
|
133
|
+
"src/installer/presentations.js": "be5d566b6454fd812d93a99bca41e23e68bd993a0c2f0def937416b0e9bde9b9",
|
|
134
|
+
"src/installer/project-outcome.js": "a6080806e2cdf74c57ec4c7f7047a8ee190dea865697a158cbf227d52772bf18",
|
|
135
|
+
"src/installer/project-setup.js": "28eec547ab187fcd2233753e911872e9d692ad2fd089657cdbe2bf94b2061c81",
|
|
136
|
+
"src/installer/registration-closure.js": "436023a733bf93852d262596a73751d915131c9b742de0bd6f8fb5c140c79d3b",
|
|
137
|
+
"src/installer/registration-plan.js": "ed23e50f9316fc21ccb470595952e93659ed745009941d73de89ea0dca55e27d",
|
|
138
|
+
"src/installer/registration-receipt.js": "d7777524ecf4a04537ff67324673bd9be7e53419c7a6310610964673ccd7956b",
|
|
139
|
+
"src/installer/registrations.js": "009160bbd2aab60e4c189cbcacb36cc0c2a87b794d0b903c26f321822e40bf91",
|
|
140
|
+
"src/installer/runtime-activation.js": "99d1caa83ebd182035328887b4d4ebff92abd8597cc512e4426d9dfb86685b26",
|
|
141
|
+
"src/installer/runtime-child.js": "46dc780857a9dd689844e6343957d1a3785a713a8f5ae7fc50b803281fea9783",
|
|
142
|
+
"src/installer/runtime-cleanup.js": "92c6e026f184f6c9643951be7c4641d563fb84decb73afefca1a65648084a6b8",
|
|
132
143
|
"src/installer/runtime-launcher.js": "8a7c3122084ea7b901141d8230815a155014a447aa538f0c9ae4d6d6116396f5",
|
|
133
|
-
"src/installer/runtime-lock.js": "
|
|
134
|
-
"src/installer/runtime-store.js": "
|
|
135
|
-
"src/installer/runtime-supervisor.js": "
|
|
136
|
-
"src/installer/setup-wizard.js": "
|
|
137
|
-
"src/installer/update-addons.js": "
|
|
138
|
-
"src/installer/update-cleanup.js": "
|
|
139
|
-
"src/installer/update-executor.js": "
|
|
140
|
-
"src/installer/update-history.js": "
|
|
141
|
-
"src/installer/update-registration.js": "
|
|
142
|
-
"src/installer/update-request.js": "
|
|
143
|
-
"src/installer/update-scope.js": "
|
|
144
|
-
"src/installer/workspace-registry.js": "
|
|
145
|
-
"src/installer/workspace-transaction.js": "
|
|
146
|
-
"src/installer/workspace-update.js": "
|
|
147
|
-
"src/license/crypto.js": "
|
|
148
|
-
"src/license/fingerprint.js": "
|
|
149
|
-
"src/license/terms.js": "
|
|
150
|
-
"src/license/verify.js": "
|
|
151
|
-
"src/presets/index.js": "
|
|
152
|
-
"src/proxy/backends.js": "
|
|
153
|
-
"src/proxy/browser-sessions.js": "
|
|
154
|
-
"src/proxy/core-tools.js": "
|
|
155
|
-
"src/proxy/pipeline.js": "
|
|
156
|
-
"src/proxy/public-catalog.js": "
|
|
157
|
-
"src/proxy/router.config.js": "
|
|
158
|
-
"src/proxy/router.js": "
|
|
159
|
-
"src/proxy/server.js": "
|
|
160
|
-
"src/proxy/workspace-gateway.js": "
|
|
144
|
+
"src/installer/runtime-lock.js": "5a99466a79a25fd025bde57e5fcd1d8417baf75ed3c944a34ee2521c68d7629c",
|
|
145
|
+
"src/installer/runtime-store.js": "543f97ee85e19c514e1d948357961dbe9871346487af8c6302a38e9f8feecf05",
|
|
146
|
+
"src/installer/runtime-supervisor.js": "4b97e7515c17ea305d8e45b67c6718005dbbcf94346257909badc83fa01d1c2f",
|
|
147
|
+
"src/installer/setup-wizard.js": "085d755823a6b0e82d0bf0b3f132d2002a7bc9b143c8db1b23e1ffa8ddee7e16",
|
|
148
|
+
"src/installer/update-addons.js": "bc3ebe37f0ef7cd8435374bceebbc0461b0b5f23c83f733020d34ba34a09f3e8",
|
|
149
|
+
"src/installer/update-cleanup.js": "984aa912a06a41ff7cf751c8c326255b5dc407de6c33f31287a5736ee50fd9ff",
|
|
150
|
+
"src/installer/update-executor.js": "a0fd3edb12f2343f11dc7d02d7b91235ea75c5645eb78d9671921a4b1173f462",
|
|
151
|
+
"src/installer/update-history.js": "ff4cb7d4be4ba1fc8845a929611796bf566c1b78a6f0565f240af858270d311d",
|
|
152
|
+
"src/installer/update-registration.js": "ae666efaeb8376f5a56d0a7107a7c3301baa44c93d0484043503ef900e4dcdef",
|
|
153
|
+
"src/installer/update-request.js": "a299347febce53349b95fafe89244f724a87bf60eabf5b768833c2a163ba30fc",
|
|
154
|
+
"src/installer/update-scope.js": "5a3e630581bbdad89915318ad571d5cdeb5e649f662229829ed583307b04f41b",
|
|
155
|
+
"src/installer/workspace-registry.js": "5b1ca1bc27280008d15c2a2b7bc252dfc508c26351a964fb4f607fc5e5c2a38f",
|
|
156
|
+
"src/installer/workspace-transaction.js": "159afde17a3f577e8d22a330fb9d5fb56530ca4d4dc44a619cbcc97fd6f2c00f",
|
|
157
|
+
"src/installer/workspace-update.js": "e9333ed89c8b5194905b1e9dab4d304d78e479a55c7b726234482591c0d80348",
|
|
158
|
+
"src/license/crypto.js": "1ecd92ac80fe39512340451aa3f636c2806808635b72f91ddfe5188abc618431",
|
|
159
|
+
"src/license/fingerprint.js": "946a2f634493fda3076cab30591900e07791f62e0ce76b0adbfcd1c25d8498d7",
|
|
160
|
+
"src/license/terms.js": "bf52891f46273833c9c5f2866fb1d2fd8f0c999fdc361c9486741ea5c76206fb",
|
|
161
|
+
"src/license/verify.js": "b36ad0ae7fd322383b4d4e1fc80606a81f3905dd857bec565614596c7ec2ff24",
|
|
162
|
+
"src/presets/index.js": "c4f7b13a1d883d6bfa46c2c499c7e66a842e8572101011717799f4df4b70c0f7",
|
|
163
|
+
"src/proxy/backends.js": "24007a5b12c7daf52940a19dc5c847a47d612a2cc1961f71fadbbdd6aca1478e",
|
|
164
|
+
"src/proxy/browser-sessions.js": "c6711ec03de1883ddf38f6edaa52b9b7a6565c88d039c042dde5162cd3bfb3d7",
|
|
165
|
+
"src/proxy/core-tools.js": "518404fd1c65df570c738b6215b4fa27e6fd81e34e01127e79eebb96a4d9debf",
|
|
166
|
+
"src/proxy/pipeline.js": "be24c134c9a94baedd3edd634c8b32232539f03c0e89359eb53a23e9fad00d0b",
|
|
167
|
+
"src/proxy/public-catalog.js": "849511f8322008629024b6f959dccaa313a2a75b7f1c264dd27cfacbf056fa2d",
|
|
168
|
+
"src/proxy/router.config.js": "b2f14aa36820b46d0429c755d3d5c0458065f94244935054f271311a533aa912",
|
|
169
|
+
"src/proxy/router.js": "3bac049648c7ab6949e886799c6474eb4a6b030f985ae137a424ce1f44c479cb",
|
|
170
|
+
"src/proxy/server.js": "bff413bac1ff154c63755dbd51036a06c53902d5bf7853c77e2c5895ff36ecc0",
|
|
171
|
+
"src/proxy/workspace-gateway.js": "b7bf0b04f6d0fa68b71d3c3d222f80891be96d95a8377fe0ac69bf77dd18b095",
|
|
161
172
|
"src/templates/AGENTS.md": "a84d4d52746aa295bf6452bbb3d63271fe83c998a5385bcc3f8fbdcba8830b91",
|
|
162
173
|
"src/templates/apt-runtime.md": "b654be066588aedd6c7f59ee4351360ebb0d16131352f817674614965525d5d8",
|
|
163
174
|
"src/templates/CLAUDE.md": "a84d4d52746aa295bf6452bbb3d63271fe83c998a5385bcc3f8fbdcba8830b91",
|
|
@@ -174,5 +185,5 @@
|
|
|
174
185
|
"src/templates/windsurfrules.md": "a84d4d52746aa295bf6452bbb3d63271fe83c998a5385bcc3f8fbdcba8830b91",
|
|
175
186
|
"technical-sources-check.js": "10877f5214db1a7040d73d1047126e2ed62a2b06c06a9605fdfb7813564451dd"
|
|
176
187
|
},
|
|
177
|
-
"signature": "
|
|
188
|
+
"signature": "YXcSP7wlTZgkZH_58u62bh7GUNfXTcKhv05uhHTMxlIM-NsIMi9ue3MRm7WEjorohs_p4Ow7gNHMm6hZcN-4BA"
|
|
178
189
|
}
|
package/package.json
CHANGED
package/release-check.js
CHANGED
|
@@ -133,8 +133,9 @@ function verifyPackagedQualityGate(installed, temp) {
|
|
|
133
133
|
const plan = { criteria: [{ id: 'adds', expectedOutcome: 'add(2,3) is 5', source: 'user-request', checkIds: ['add-test'] }],
|
|
134
134
|
checks: [{ id: 'add-test', criterionIds: ['adds'], format: 'node-tap', testIds: ['adds'], required: true }],
|
|
135
135
|
reviews: [{ id: 'technical', required: true }] };
|
|
136
|
-
const start = options => manager.start({ task: options.task, pipeline: 'hotfix', sessionId: 'package-quality',
|
|
137
|
-
|
|
136
|
+
const start = options => manager.start({ task: options.task, pipeline: 'hotfix', sessionId: 'package-quality',
|
|
137
|
+
scope: ['code.js', 'check.test.js'], workItemCount: 1,
|
|
138
|
+
acceptanceCriteria: ['add(2,3) is 5'], workspace: { mode: 'current', confirmed: true }, ...options });
|
|
138
139
|
const routed = start({ task: 'web-quality', productImpact: true, productTarget: 'web' });
|
|
139
140
|
assert.equal(routed.success, true, JSON.stringify(routed));
|
|
140
141
|
const routedState = manager.readRun('web-quality', routed.runId);
|
|
@@ -145,8 +146,10 @@ function verifyPackagedQualityGate(installed, temp) {
|
|
|
145
146
|
assert.equal(lowered.code, 'ACCEPTANCE_ALREADY_ACTIVE');
|
|
146
147
|
assert.equal(lowered.task, 'web-quality');
|
|
147
148
|
assert.equal(manager.reset({ task: 'web-quality', runId: routed.runId, sessionId: 'package-quality', confirm: true }).success, true);
|
|
148
|
-
const started = start({ task: 'functional-quality', qualityPlan: plan });
|
|
149
|
-
assert.equal(started.success, true, JSON.stringify(started));
|
|
149
|
+
const started = start({ task: 'functional-quality', qualityPlan: plan });
|
|
150
|
+
assert.equal(started.success, true, JSON.stringify(started));
|
|
151
|
+
assert.equal(manager.readRun('functional-quality', started.runId).versions.policy, 3);
|
|
152
|
+
assert.equal(manager.readRun('functional-quality', started.runId).workflowProfile, 'compact');
|
|
150
153
|
const base = { task: 'functional-quality', runId: started.runId, sessionId: 'package-quality' };
|
|
151
154
|
let serial = 0;
|
|
152
155
|
const next = () => manager.next({ ...base, requestId: `package-${++serial}` });
|
|
@@ -243,7 +246,10 @@ async function main() {
|
|
|
243
246
|
const sourceReport = require(path.join(runtimePackage, 'technical-sources-check.js')).validate({ root: runtimePackage, packageOnly: true });
|
|
244
247
|
assert.equal(sourceReport.ok, true, `Packaged technical source metadata drift: ${sourceReport.errors.join('; ')}`);
|
|
245
248
|
if (!publicKey) publicKey = require(path.join(runtimePackage, 'src/license/verify.js')).PRODUCTION_PUBLIC_KEY;
|
|
246
|
-
const installer = require(path.join(runtimePackage, 'src/installer/runtime-store.js'));
|
|
249
|
+
const installer = require(path.join(runtimePackage, 'src/installer/runtime-store.js'));
|
|
250
|
+
const runtimeManifest = JSON.parse(fs.readFileSync(path.join(runtimePackage, 'integrity-manifest.json'), 'utf8'));
|
|
251
|
+
assert.ok(Object.keys(runtimeManifest.files).every(file => !file.split('/').includes('__pycache__') &&
|
|
252
|
+
!/\.py[co]$/.test(file)), 'Signed runtime must exclude generated Python bytecode caches');
|
|
247
253
|
const hostConfig = require(path.join(runtimePackage, 'src/installer/platform-config.js'));
|
|
248
254
|
const runtimeRoot = path.join(temp, 'runtime tiếng Việt');
|
|
249
255
|
const installed = installer.installRuntime(runtimePackage, { root: runtimeRoot, publicKey });
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
const _0x439c6a=_0x5f44;(function(_0x2d0f65,_0x25c112){const _0x5a67de=_0x5f44,_0xe8d653=_0x2d0f65();while(!![]){try{const _0x406506=parseInt(_0x5a67de(0x135))/0x1*(-parseInt(_0x5a67de(0x125))/0x2)+-parseInt(_0x5a67de(0x120))/0x3*(parseInt(_0x5a67de(0x124))/0x4)+parseInt(_0x5a67de(0x121))/0x5*(parseInt(_0x5a67de(0x131))/0x6)+parseInt(_0x5a67de(0x134))/0x7+-parseInt(_0x5a67de(0x122))/0x8*(parseInt(_0x5a67de(0x127))/0x9)+parseInt(_0x5a67de(0x132))/0xa*(-parseInt(_0x5a67de(0x128))/0xb)+parseInt(_0x5a67de(0x12d))/0xc*(parseInt(_0x5a67de(0x126))/0xd);if(_0x406506===_0x25c112)break;else _0xe8d653['push'](_0xe8d653['shift']());}catch(_0x4a4b65){_0xe8d653['push'](_0xe8d653['shift']());}}}(_0x5079,0xd57bb));function _0x5079(){const _0x105b08=['ndaYnJG4mhjXsKvMrq','CMvXDwLYzwq','BwfW','zgvZy3jPChrPB24','C3rYAw5N','mJq5mdbMDuTMEhK','Aw5WDxrty2HLBwe','DhLWzq','lI9ICM93C2vYlxrVB2XZltaUmc44mI5QC29U','ndy3nJy0sxjlCg1j','mJbduLLTre8','u3rHyMXLihrHC2SGAwrLBNrPDhK7ihjLDxnLigzVCIb0AgLZihrHC2SU','otK5nZaWmxrvCKzNtW','nZLzAKHKy2q','m2DWqwLTBq','nuXICNzWtW','ntCXmZz1ChvoCgC','v29YA2vYigLKzw50Axr5oYbKzwzHDwX0CYb0BYbJB29YzgLUyxrVCI4','ndC1ndi3mNzbrLrfwG','mJi1otHyv05gy3C','mtuXndvwq1f1t2q','mJK3v0Xkyuzk'];_0x5079=function(){return _0x105b08;};return _0x5079();}function _0x5f44(_0x158f7d,_0x4572f1){_0x158f7d=_0x158f7d-0x120;const _0x5079f5=_0x5079();let _0x5f446f=_0x5079f5[_0x158f7d];if(_0x5f44['JIivzL']===undefined){var _0x573404=function(_0x291e20){const _0x86fe98='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x438cb7='',_0x531164='';for(let _0x7d0df5=0x0,_0x521000,_0x175a5e,_0xf48dbd=0x0;_0x175a5e=_0x291e20['charAt'](_0xf48dbd++);~_0x175a5e&&(_0x521000=_0x7d0df5%0x4?_0x521000*0x40+_0x175a5e:_0x175a5e,_0x7d0df5++%0x4)?_0x438cb7+=String['fromCharCode'](0xff&_0x521000>>(-0x2*_0x7d0df5&0x6)):0x0){_0x175a5e=_0x86fe98['indexOf'](_0x175a5e);}for(let _0x31d03e=0x0,_0x569fb7=_0x438cb7['length'];_0x31d03e<_0x569fb7;_0x31d03e++){_0x531164+='%'+('00'+_0x438cb7['charCodeAt'](_0x31d03e)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x531164);};_0x5f44['cJUylA']=_0x573404,_0x5f44['rzQctw']={},_0x5f44['JIivzL']=!![];}const _0x156baf=_0x5079f5[0x0],_0x513785=_0x158f7d+_0x156baf,_0x4a0440=_0x5f44['rzQctw'][_0x513785];return!_0x4a0440?(_0x5f446f=_0x5f44['cJUylA'](_0x5f446f),_0x5f44['rzQctw'][_0x513785]=_0x5f446f):_0x5f446f=_0x4a0440,_0x5f446f;}const {tools}=require(_0x439c6a(0x130)),_0x438cb7={};_0x438cb7[_0x439c6a(0x12f)]=_0x439c6a(0x12c),_0x438cb7[_0x439c6a(0x12b)]=_0x439c6a(0x133);const _0x531164={};_0x531164['type']=_0x439c6a(0x12c),_0x531164['description']=_0x439c6a(0x123),module['exports']=tools[_0x439c6a(0x12a)](_0x7d0df5=>({..._0x7d0df5,'inputSchema':{..._0x7d0df5[_0x439c6a(0x12e)],'properties':{..._0x7d0df5['inputSchema']['properties'],'aptTask':_0x438cb7,'aptWorker':_0x531164},'required':[..._0x7d0df5[_0x439c6a(0x12e)][_0x439c6a(0x129)]||[],'aptTask']}}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const _0x3ea492=_0x1473;(function(_0x177c9c,_0x1e65dd){const _0x5e5cc4=_0x1473,_0x16d46d=_0x177c9c();while(!![]){try{const _0x6ced49=-parseInt(_0x5e5cc4(0x22f))/0x1*(parseInt(_0x5e5cc4(0x242))/0x2)+-parseInt(_0x5e5cc4(0x209))/0x3*(parseInt(_0x5e5cc4(0x1e9))/0x4)+parseInt(_0x5e5cc4(0x20b))/0x5+-parseInt(_0x5e5cc4(0x204))/0x6+parseInt(_0x5e5cc4(0x21d))/0x7+parseInt(_0x5e5cc4(0x227))/0x8*(parseInt(_0x5e5cc4(0x222))/0x9)+parseInt(_0x5e5cc4(0x212))/0xa;if(_0x6ced49===_0x1e65dd)break;else _0x16d46d['push'](_0x16d46d['shift']());}catch(_0x4538d8){_0x16d46d['push'](_0x16d46d['shift']());}}}(_0x5516,0x74e07));function _0x1473(_0x99809a,_0x5c0b83){_0x99809a=_0x99809a-0x1e7;const _0x5516a1=_0x5516();let _0x14733b=_0x5516a1[_0x99809a];if(_0x1473['rdqcFL']===undefined){var _0x510d84=function(_0x1001ce){const _0x523fed='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x270bde='',_0x3faeec='';for(let _0x32e12f=0x0,_0x32e79d,_0x35f89d,_0x219da4=0x0;_0x35f89d=_0x1001ce['charAt'](_0x219da4++);~_0x35f89d&&(_0x32e79d=_0x32e12f%0x4?_0x32e79d*0x40+_0x35f89d:_0x35f89d,_0x32e12f++%0x4)?_0x270bde+=String['fromCharCode'](0xff&_0x32e79d>>(-0x2*_0x32e12f&0x6)):0x0){_0x35f89d=_0x523fed['indexOf'](_0x35f89d);}for(let _0x19fabc=0x0,_0x520f8c=_0x270bde['length'];_0x19fabc<_0x520f8c;_0x19fabc++){_0x3faeec+='%'+('00'+_0x270bde['charCodeAt'](_0x19fabc)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x3faeec);};_0x1473['FeoZpZ']=_0x510d84,_0x1473['KgtKdD']={},_0x1473['rdqcFL']=!![];}const _0x301dfd=_0x5516a1[0x0],_0x3933ae=_0x99809a+_0x301dfd,_0x222998=_0x1473['KgtKdD'][_0x3933ae];return!_0x222998?(_0x14733b=_0x1473['FeoZpZ'](_0x14733b),_0x1473['KgtKdD'][_0x3933ae]=_0x14733b):_0x14733b=_0x222998,_0x14733b;}const fs=require('node:fs'),path=require(_0x3ea492(0x250)),os=require('node:os'),crypto=require(_0x3ea492(0x229)),{identity,containsWorkspace}=require('../core/workspace-path'),{acquireRuntimeLock}=require(_0x3ea492(0x255)),{preserveArchiveBytes}=require('../core/recovery-archive'),sha=_0x23c3ca=>crypto[_0x3ea492(0x21b)](_0x3ea492(0x216))[_0x3ea492(0x221)](_0x23c3ca)[_0x3ea492(0x231)](_0x3ea492(0x252)),fail=(_0x434b5e,_0x466a75)=>{const _0x490ddb=_0x3ea492,_0x50e4ac={};_0x50e4ac[_0x490ddb(0x214)]=_0x434b5e;throw Object['assign'](Error(_0x466a75),_0x50e4ac);};function _0x5516(){const _0x2b6f84=['mJK4nJmWANfXzMT1','y29KzwDYyxbO','t2nJDxbPzwqGy2fJAguGAgfZig5Vigf1DgHVCML0Eq','C3bSAxq','y2fJAgvdB250CMfJDa','Bg9JywXLq29TCgfYzq','zgf0ywjHC2u','odGWmdm4mfDpCNbvCa','CMvZB2X2zu1HBMfNzwrjBMrLEenHy2HL','y29Kzq','Aw5V','C2HHmJu2','su5ervHFqLvtwq','DMfSAwrHDgvnyw5Hz2vKsw5KzxHdywnOzq','u2vSzwn0zwqGy2fJAguGAgfZigfUihvUy29UzMLYBwvKigLUzgv4ig9WzxjHDgLVBG','DMvYC2LVBG','y3jLyxrLsgfZAa','zgvZy3jPChrVCKHHC2G','mZGZmdGYn2ztAenXzG','q2fJAguGCgf0AcbPCYbYzwrPCMvJDgvK','zw52','qwXSB2nHDgvKignHy2HLigrPCMvJDg9YEsbJAgfUz2vKigjLzM9YzsbWDwjSAwnHDgLVBG','DxbKyxrL','mJa3DvnoyNvL','AxntEw1IB2XPy0XPBMS','y29KzwDYyxbOlMrI','lMfWDc1Tyw5Hz2vKlMPZB24','CgXHDgzVCM0','mtKWmtKYrvrzrgfq','C2vW','BM9KztPJCNLWDg8','AxnbyNnVBhv0zq','CMvNAxn0CNK','zNjVBuvUDhjPzxm','lwfWDdiT','C3rHDgvszwXHDgL2zq','m1flsezYwG','uMv2Awv3igjHy2TLBMqGD291BgqGBwLNCMf0zsbHigXLz2fJEsbKyxrHyMfZztSGAxrZigj5DgvZihDLCMuGChjLC2vYDMvK','zgLNzxn0','zxf1ywXZ','BwfYA2vY','su5ervHFt1vuq09nrv9vtKTot1Do','Ag9ZDg5HBwu','su5ervHFu1rpuf9vtKnptKzjuK1fra','CMvSyxrPDMu','C3rHDgveAxjLy3rVCNK','DxnLCNm','u2vSzwn0zwqGy2fJAguGAxmGyMvPBMCGBwfPBNrHAw5Lza','lwPVDxjUywW','C2XPy2u','tgvNywn5igLUzgv4ihjLy292zxj5igHHCYbUBYbJB25MAxjTzwqGDgvYBwLUywWGB3v0y29Tzq','y2fJAguUBg9JAW','CMvJDxjZAxzL','y29Kzs1YzxzPzxCTz3jHCgG','CMvHBhbHDgHtEw5J','mJKWmJq2Bfjmsxn3','lxnOBq','CM1KAxjtEw5J','zxHPC3rZu3LUyW','C3rYAw5NAwz5','yxnZzxj0q2fJAgvpDxrJB21L','Dw5SAw5Ru3LUyW','CMvNAxn0CNKVCMvNAxn0CNKUANnVBG','CMvHzezPBgvtEw5J','CgfYC2u','C2fMzvbHDgG','AM9PBG','yxv0Ag9YAxr5lMPZB24','BwTKAxjtEw5J','BM9KztPWyxrO','AxneAxjLy3rVCNK','Agv4','lxDHBa','zNjVBq','lI4Vy29Yzs9VD25Lzc1SB2nR','CMvIDwLSDa','Aw5JBhvKzxm','mZmXntG2ognrv0P4tG','ruvysvnu','su5ervHFtevhqunzx01jr1jbveLptL9srvfvsvjfra','Ag9ZDa','zgv2','zgLYBMfTzq','y2fJAgveAxjLy3rVCNK','CMvJzwLWDc5QC29U','q2fJAguGyxv0Ag9YAxr5igfSBg9JyxrPB24GAxmGyNvZEq','DMvYC2LVBNm','lMnVzguTCMv2Awv3lwDYyxbO','CMvJB3zLCMvK','lMnVzguTCMv2Awv3lwDYyxbOlMrI','zw50CMLLCW','yxb0lw1JCc1Hz2vUDa','D29YA3nWywnL','yNvPBgrPBMC','uMv2Awv3ihbYB2PLy3qGC2vUDgLUzwWGAxmGBwLZC2LUzW','A2LUza','yxv0Ag9YAxr5swq','q2fJAguGCgf0AcbIzwnHBwuGB2nJDxbPzwq','lMf1DgHVCML0Es5SB2nR','yxjJAa','CMvJB3zLCMLUzW','q2fJAguGyxv0Ag9YAxr5igrVzxmGBM90ig1HDgnOigL0CYbWAhLZAwnHBcbWyxrO','C3rHDhvZ','Dw5RBM93BG','mtC0ndu4nfjWEfzqrW','CMvJB3zLCNKUANnVBG','lMfNzw50CY9YDw50Aw1Ll2jHy2TLBMrZlW','ru5pru5u','Bhn0yxrtEw5J','m21pDhH3sW','vu5tquzfx0Lorevy'];_0x5516=function(){return _0x2b6f84;};return _0x5516();}function safePath(_0x436e10,_0x55ccd1,_0x29c16d=![]){const _0x263b16=_0x3ea492,_0x194ae5=path[_0x263b16(0x237)](_0x436e10,_0x55ccd1);if(!_0x194ae5&&_0x29c16d)return _0x436e10;if(!_0x194ae5||path[_0x263b16(0x22a)](_0x194ae5)||_0x194ae5[_0x263b16(0x20e)](path[_0x263b16(0x228)])[_0x263b16(0x1e8)]('..'))fail(_0x263b16(0x20a),'Cache\x20path\x20escapes\x20workspace');let _0x1630a4=_0x436e10;for(const _0xff5714 of _0x194ae5['split'](path['sep'])){_0x1630a4=path[_0x263b16(0x24d)](_0x1630a4,_0xff5714);try{if(fs[_0x263b16(0x208)](_0x1630a4)[_0x263b16(0x223)]()||!containsWorkspace(_0x436e10,_0x1630a4))fail(_0x263b16(0x20a),_0x263b16(0x21e));}catch(_0x3228ff){if(_0x3228ff['code']!==_0x263b16(0x207))throw _0x3228ff;}}const _0x516697={};_0x516697[_0x263b16(0x23f)]=!![];if(_0x29c16d)fs[_0x263b16(0x24f)](_0x55ccd1,_0x516697);return _0x55ccd1;}function resolveManagedIndexCache({workspace:_0x14166f,kind:_0x5af833,profile:_0x52ff61}){const _0x4d587a=_0x3ea492;if(_0x52ff61[_0x4d587a(0x20f)]===undefined)return null;if(_0x52ff61[_0x4d587a(0x20f)]!==0x2||!['codegraph',_0x4d587a(0x240)][_0x4d587a(0x1e8)](_0x5af833)||!/^\d+\.\d+\.\d+$/['test'](_0x52ff61[_0x4d587a(0x21a)]||''))fail(_0x4d587a(0x20a),'Unsupported\x20cache\x20contract');_0x14166f=fs[_0x4d587a(0x241)](_0x14166f);const _0x5b3c96=Object[_0x4d587a(0x22c)](Object[_0x4d587a(0x1f6)](_0x52ff61['versions']||{})['sort'](([_0x451577],[_0x1af338])=>_0x451577[_0x4d587a(0x210)](_0x1af338))),_0x5a55c1={};_0x5a55c1[_0x4d587a(0x21a)]=_0x52ff61['version'],_0x5a55c1[_0x4d587a(0x1f2)]=_0x5b3c96;const _0xb87c81={'version':0x2,'owner':_0x4d587a(0x1f7),'epoch':'apt-index-cache-v2','workspace':identity(_0x14166f),'host':os[_0x4d587a(0x235)]()+':'+process['platform']+':'+process[_0x4d587a(0x1ff)],'kind':_0x5af833,'profile':_0x5a55c1},_0x4140ad=sha(JSON[_0x4d587a(0x246)](_0xb87c81)),_0x3284e7=_0x4140ad['slice'](0x0,0x18),_0x55ac1b=_0x4d587a(0x206)+_0x5af833+'/caches/'+_0x3284e7,_0x5d20df=_0x5af833===_0x4d587a(0x20c)?'.codegraph-'+process[_0x4d587a(0x226)]+'-'+process[_0x4d587a(0x1ff)]+_0x4d587a(0x22d)+_0x3284e7:'.agents/.data/graph-'+_0x52ff61[_0x4d587a(0x21a)]+'-'+process['platform']+'-'+process[_0x4d587a(0x1ff)]+_0x4d587a(0x22d)+_0x3284e7,_0x316e65={..._0xb87c81};_0x316e65[_0x4d587a(0x1fc)]=_0x4140ad,_0x316e65[_0x4d587a(0x22e)]=_0x55ac1b,_0x316e65['cacheRelative']=_0x5d20df;const _0x39a94b=_0x316e65,_0x3a4f6b=sha(JSON[_0x4d587a(0x246)](_0x39a94b)),_0x22784d={..._0x39a94b};_0x22784d[_0x4d587a(0x21c)]=_0x3a4f6b;const _0x23a8da=_0x22784d,_0x520d8b=path[_0x4d587a(0x24d)](_0x14166f,_0x55ac1b),_0x2fe5f3=path[_0x4d587a(0x24d)](_0x14166f,_0x5d20df),_0x4f2e82=path['join'](_0x2fe5f3,_0x5af833===_0x4d587a(0x20c)?_0x4d587a(0x224):'graph.db'),_0x4ac233={..._0x52ff61[_0x4d587a(0x21f)]};_0x4ac233['CODEGRAPH_DIR']=_0x5d20df;const _0x1302b2=_0x5af833===_0x4d587a(0x20c)?_0x4ac233:{..._0x52ff61[_0x4d587a(0x21f)],'CRG_DATA_DIR':_0x2fe5f3,'CRG_HOME':path[_0x4d587a(0x24d)](_0x520d8b,_0x4d587a(0x22b))},_0x11b3f9={};return _0x11b3f9[_0x4d587a(0x1f8)]=_0x14166f,_0x11b3f9['authorityId']=_0x4140ad,_0x11b3f9[_0x4d587a(0x21c)]=_0x3a4f6b,_0x11b3f9[_0x4d587a(0x238)]=_0x520d8b,_0x11b3f9[_0x4d587a(0x1ef)]=_0x2fe5f3,_0x11b3f9[_0x4d587a(0x211)]=_0x4f2e82,_0x11b3f9['env']=_0x1302b2,_0x11b3f9[_0x4d587a(0x233)]=_0x23a8da,_0x11b3f9;}function verifyMarker(_0x10be06,_0x40b4c3,_0x4e2101){const _0x2bcd44=_0x3ea492;safePath(_0x10be06[_0x2bcd44(0x1f8)],_0x40b4c3);const _0x1f48e5=safePath(_0x10be06['workspace'],path[_0x2bcd44(0x24d)](_0x40b4c3,_0x4e2101));try{const _0x4711d1=fs[_0x2bcd44(0x208)](_0x1f48e5);if(!_0x4711d1['isFile']()||!fs[_0x2bcd44(0x24a)](_0x1f48e5)[_0x2bcd44(0x232)](Buffer['from'](JSON[_0x2bcd44(0x246)](_0x10be06[_0x2bcd44(0x233)]))))fail('UNSAFE_INDEX',_0x2bcd44(0x201));}catch(_0x8928df){if(_0x8928df[_0x2bcd44(0x214)]==='ENOENT')fail(_0x2bcd44(0x20a),_0x2bcd44(0x20d));throw _0x8928df;}}function createMarkedDirectory(_0x4f5203,_0x5ee903,_0x189c28){const _0x6582de=_0x3ea492;if(fs['existsSync'](_0x5ee903)){verifyMarker(_0x4f5203,_0x5ee903,_0x189c28);return;}safePath(_0x4f5203[_0x6582de(0x1f8)],path['dirname'](_0x5ee903),!![]);try{fs[_0x6582de(0x24f)](_0x5ee903);}catch(_0x176e29){if(_0x176e29[_0x6582de(0x214)]===_0x6582de(0x1ea))fail(_0x6582de(0x20a),_0x6582de(0x1fd));throw _0x176e29;}safePath(_0x4f5203[_0x6582de(0x1f8)],_0x5ee903);const _0x478b37=fs[_0x6582de(0x208)](_0x5ee903),_0x15b4ac=path[_0x6582de(0x24d)](_0x5ee903,_0x189c28);let _0x117b4e=![];try{safePath(_0x4f5203[_0x6582de(0x1f8)],_0x15b4ac);const _0x11d610=fs[_0x6582de(0x208)](_0x5ee903);if(!_0x11d610[_0x6582de(0x251)]()||_0x11d610[_0x6582de(0x1ed)]!==_0x478b37[_0x6582de(0x1ed)]||_0x11d610[_0x6582de(0x215)]!==_0x478b37['ino'])fail('UNSAFE_INDEX',_0x6582de(0x220));preserveArchiveBytes(_0x15b4ac,JSON[_0x6582de(0x246)](_0x4f5203[_0x6582de(0x233)])),verifyMarker(_0x4f5203,_0x5ee903,_0x189c28),_0x117b4e=!![];}finally{if(!_0x117b4e)try{safePath(_0x4f5203[_0x6582de(0x1f8)],_0x5ee903);const _0x3791ee=fs[_0x6582de(0x208)](_0x5ee903);if(_0x3791ee[_0x6582de(0x1ed)]===_0x478b37[_0x6582de(0x1ed)]&&_0x3791ee[_0x6582de(0x215)]===_0x478b37[_0x6582de(0x215)]){if(fs[_0x6582de(0x245)](_0x15b4ac)&&fs[_0x6582de(0x24a)](_0x15b4ac)[_0x6582de(0x232)](Buffer[_0x6582de(0x254)](JSON[_0x6582de(0x246)](_0x4f5203[_0x6582de(0x233)]))))fs[_0x6582de(0x248)](_0x15b4ac);fs[_0x6582de(0x244)](_0x5ee903);}}catch{}}}function validateManagedIndexCache(_0x5675bc){const _0x4d8b1f=_0x3ea492;assertLegacyCacheSafe(_0x5675bc);if(_0x5675bc[_0x4d8b1f(0x233)][_0x4d8b1f(0x1fb)]===_0x4d8b1f(0x240))projectSentinel(_0x5675bc,!![]);verifyMarker(_0x5675bc,_0x5675bc['stateDirectory'],_0x4d8b1f(0x24e)),verifyMarker(_0x5675bc,_0x5675bc[_0x4d8b1f(0x1ef)],_0x4d8b1f(0x225));for(const _0x4c6481 of[_0x4d8b1f(0x239),_0x4d8b1f(0x22b),_0x4d8b1f(0x249),_0x4d8b1f(0x23e),_0x4d8b1f(0x1f0),_0x4d8b1f(0x205)])safePath(_0x5675bc[_0x4d8b1f(0x1f8)],path[_0x4d8b1f(0x24d)](_0x5675bc['stateDirectory'],_0x4c6481));for(const _0x5807fa of['','-wal',_0x4d8b1f(0x243),_0x4d8b1f(0x23b)])safePath(_0x5675bc[_0x4d8b1f(0x1f8)],_0x5675bc['database']+_0x5807fa);}function openManagedIndexCache(_0x4a7585){const _0x46a192=_0x3ea492;assertLegacyCacheSafe(_0x4a7585),assertCacheOutcome(_0x4a7585);const _0x3651d5=safePath(_0x4a7585[_0x46a192(0x1f8)],path[_0x46a192(0x1ee)](_0x4a7585['stateDirectory']),!![]),_0x10ed99=safePath(_0x4a7585[_0x46a192(0x1f8)],path[_0x46a192(0x24d)](_0x3651d5,_0x4a7585[_0x46a192(0x1fc)][_0x46a192(0x23c)](0x0,0x18)+_0x46a192(0x1fe))),_0x37cf03=acquireRuntimeLock(_0x10ed99,0x0,_0x4a7585[_0x46a192(0x233)][_0x46a192(0x1ec)]);if(!_0x37cf03)fail(_0x46a192(0x217),_0x46a192(0x1f1));try{createMarkedDirectory(_0x4a7585,_0x4a7585[_0x46a192(0x238)],_0x46a192(0x24e));const _0x5eca17=safePath(_0x4a7585[_0x46a192(0x1f8)],path[_0x46a192(0x24d)](_0x4a7585['stateDirectory'],_0x46a192(0x23e))),_0xfe89fb=acquireRuntimeLock(_0x5eca17,0x0,_0x4a7585[_0x46a192(0x233)][_0x46a192(0x1ec)]);if(!_0xfe89fb)fail(_0x46a192(0x217),_0x46a192(0x23a));try{createMarkedDirectory(_0x4a7585,_0x4a7585[_0x46a192(0x1ef)],_0x46a192(0x225));if(_0x4a7585['marker'][_0x46a192(0x1fb)]==='code-review-graph')safePath(_0x4a7585[_0x46a192(0x1f8)],projectSentinel(_0x4a7585),!![]);validateManagedIndexCache(_0x4a7585);}finally{_0xfe89fb();}}finally{_0x37cf03();}}function projectSentinel(_0x3c45ef,_0x2d18e2=![]){const _0xf9d1=_0x3ea492,_0x12f7eb=safePath(_0x3c45ef[_0xf9d1(0x1f8)],path[_0xf9d1(0x24d)](_0x3c45ef['workspace'],_0xf9d1(0x1f3)));try{if(!fs[_0xf9d1(0x208)](_0x12f7eb)[_0xf9d1(0x251)]())fail(_0xf9d1(0x20a),'Review\x20project\x20sentinel\x20is\x20not\x20a\x20directory');}catch(_0x37cce4){if(_0x37cce4[_0xf9d1(0x214)]!==_0xf9d1(0x207))throw _0x37cce4;if(_0x2d18e2)fail(_0xf9d1(0x20a),_0xf9d1(0x1fa));}return _0x12f7eb;}function assertCacheOutcome(_0xa02b5f,_0x1d4b8a,_0x3a82c0){const _0x426b45=_0x3ea492;for(const _0x457ab6 of[_0x426b45(0x1f0),_0x426b45(0x205)]){const _0x1a7091=safePath(_0xa02b5f[_0x426b45(0x1f8)],path[_0x426b45(0x24d)](_0xa02b5f[_0x426b45(0x238)],_0x457ab6));try{const _0x131758=fs[_0x426b45(0x24a)](_0x1a7091),_0x877ca0=JSON['parse'](_0x131758),_0x2aff9d=_0x877ca0[_0x426b45(0x202)]===_0x426b45(0x203)||[_0x426b45(0x236),'INDEX_OUTCOME_UNKNOWN'][_0x426b45(0x1e8)](_0x877ca0[_0x426b45(0x214)]),_0x339fe3=_0x457ab6===_0x426b45(0x1f0)?_0x877ca0[_0x426b45(0x202)]===_0x426b45(0x1f9):[_0x426b45(0x200),_0x426b45(0x1e7)]['includes'](_0x877ca0[_0x426b45(0x202)]),_0x52f099=_0x457ab6==='recovery.json'?_0x1d4b8a:_0x3a82c0;if(_0x2aff9d||_0x339fe3&&!(_0x52f099&&_0x131758[_0x426b45(0x232)](Buffer[_0x426b45(0x254)](JSON[_0x426b45(0x246)](_0x52f099)))))fail(_0x426b45(0x234),_0x426b45(0x219));}catch(_0x326f2f){if(_0x326f2f[_0x426b45(0x214)]!==_0x426b45(0x207))throw _0x326f2f;}}}function assertLegacyCacheSafe(_0xde0310){const _0x3a1a2e=_0x3ea492;if(_0xde0310['marker']['kind']===_0x3a1a2e(0x240))projectSentinel(_0xde0310);if(_0xde0310[_0x3a1a2e(0x233)][_0x3a1a2e(0x1fb)]===_0x3a1a2e(0x240))for(const _0x59b0ac of['',_0x3a1a2e(0x253),_0x3a1a2e(0x243),_0x3a1a2e(0x23b)]){const _0x3df892=safePath(_0xde0310[_0x3a1a2e(0x1f8)],path['join'](_0xde0310[_0x3a1a2e(0x1f8)],_0x3a1a2e(0x1f5)+_0x59b0ac));if(fs[_0x3a1a2e(0x245)](_0x3df892))fail(_0x3a1a2e(0x1eb),_0x3a1a2e(0x230));}const _0x28c9d8=safePath(_0xde0310[_0x3a1a2e(0x1f8)],path['join'](_0xde0310['workspace'],'.agents/runtime/backends',_0xde0310[_0x3a1a2e(0x233)]['kind'],'recovery.json'));try{const _0x2a6945=JSON[_0x3a1a2e(0x24b)](fs['readFileSync'](_0x28c9d8));if(_0x2a6945['status']!==_0x3a1a2e(0x1f4))fail('INDEX_OUTCOME_UNKNOWN',_0x3a1a2e(0x23d));}catch(_0x598bf7){if(_0x598bf7[_0x3a1a2e(0x214)]!==_0x3a1a2e(0x207))throw _0x598bf7;}}const _0x520f8c={};_0x520f8c[_0x3ea492(0x213)]=resolveManagedIndexCache,_0x520f8c['openManagedIndexCache']=openManagedIndexCache,_0x520f8c[_0x3ea492(0x218)]=validateManagedIndexCache,_0x520f8c[_0x3ea492(0x247)]=assertCacheOutcome,_0x520f8c[_0x3ea492(0x24c)]=safePath,module['exports']=_0x520f8c;
|
|
1
|
+
'use strict';const _0x395e51=_0x2de0;(function(_0x24c6c8,_0x1fe107){const _0xfea06b=_0x2de0,_0x3f346a=_0x24c6c8();while(!![]){try{const _0x401434=parseInt(_0xfea06b(0x143))/0x1+-parseInt(_0xfea06b(0x1a6))/0x2+parseInt(_0xfea06b(0x11e))/0x3+-parseInt(_0xfea06b(0x131))/0x4*(-parseInt(_0xfea06b(0x197))/0x5)+-parseInt(_0xfea06b(0x17d))/0x6+parseInt(_0xfea06b(0x141))/0x7+-parseInt(_0xfea06b(0x157))/0x8;if(_0x401434===_0x1fe107)break;else _0x3f346a['push'](_0x3f346a['shift']());}catch(_0x2575e1){_0x3f346a['push'](_0x3f346a['shift']());}}}(_0x21ef,0x53a29));const fs=require(_0x395e51(0x135)),path=require(_0x395e51(0x15a)),os=require('node:os'),crypto=require(_0x395e51(0x114)),{identity,containsWorkspace}=require(_0x395e51(0x17f)),{acquireRuntimeLock}=require(_0x395e51(0x153)),{preserveArchiveBytes}=require(_0x395e51(0x17a)),sha=_0x41e9c6=>crypto[_0x395e51(0x129)](_0x395e51(0x18b))[_0x395e51(0x179)](_0x41e9c6)[_0x395e51(0x134)](_0x395e51(0x183)),fail=(_0x331c88,_0x33d43b)=>{const _0x5ccbd7=_0x395e51,_0x20abd8={};_0x20abd8[_0x5ccbd7(0x198)]=_0x331c88;throw Object['assign'](Error(_0x33d43b),_0x20abd8);};function _0x21ef(){const _0x561595=['CMvIDwLSDa','C3rHDhvZ','C2vSzwn0B3jgAwXL','lMfNzw50CY9YDw50Aw1Ll2jHy2TLBMrZ','Bg9JywXLq29TCgfYzq','Aw5ZDgfUy2vjza','DMvYC2LVBNm','C2XPy2u','DMvYAwz5sw5KzxHqCM9KDwnLCG','zgvZy3jPChrVCKHHC2G','lMfNzw50CY8Uzgf0ys9NCMfWAc0','zgLYBMfTzq','y2f0ywXVz0HHC2G','lMnVzguTCMv2Awv3lwDYyxbOlMrI','CMvJB3zLCNLjza','lMXVy2S','yxb0lw1JCc1Hz2vUDa','uMvJB3zLCNKGy2fJAguGywXSB2nHDgLVBIbJAgfUz2vKigjLzM9YzsbWDwjSAwnHDgLVBG','yxv0Ag9YAxr5lMPZB24','ChvIBgLJyxrPB25iyxnO','zw52','DxbKyxrL','lI4Vy29Yzs9YzwnVDMvYEs1HCMnOAxzL','su5ervHFu1rpuf9vtKnptKzjuK1fra','yNvPBgrPBMC','mJi0odu3mKzjqLrOAG','CMvZB2X2zu1HBMfNzwrjBMrLEenHy2HL','lI4Vy29Yzs93B3jRC3bHy2uTCgf0Aa','ChjVzhvJzxi','ywn0AxzHDgvnyw5Hz2vKsw5KzxHdywnOzq','C2vSzwn0B3i','Agv4','DhjHBNnHy3rPB25jza','CMvSzwfZzq','l3nLBgvJDg9YCY8','A2LUza','CgfYC2u','DMvYC2LVBG','su5ervHFtevhqunzx01jr1jbveLptL9srvfvsvjfra','C2HHmJu2','y2fJAgveAxjLy3rVCNK','ChvIBgLJyxrPB24UANnVBG','qw5VDgHLCIbYzwnVDMvYEsbVD25ZihrOzsbJywnOzsbZzwXLy3rPB24','CMvJDxjZAxzL','CMvZB3vYy2veAwDLC3q','CMvNAxn0CNK','q2fJAguGC2vSzwn0Aw9UigLZigj1C3K','q2fJAguGCgf0AcbPCYbYzwrPCMvJDgvK','zNvUy3rPB25HBfjLywr5','lMfNzw50CY9YDw50Aw1Ll2jHy2TLBMrZlW','C29YDa','mtboCfHvzhG','y29Kzq','zw50CMLLCW','tgvNywn5igLUzgv4ihjLy292zxj5igHHCYbUBYbJB25MAxjTzwqGDgvYBwLUywWGB3v0y29Tzq','Aw5KzxHqDwjSAwnHDgLVBKv4zwn1DgLVBG','lI4VBgLJzw5Zzs92zxjPzNK','yxjJAa','CgvUzgLUzW','CMvJzwLWDa','C3rHz2vnyw5Hz2vKsw5KzxHdywnOzq','DMfSAwrHDgvjBMrLEefYy2HPDMu','vu5tquzfx0Lorevy','zxHWB3j0CW','zNjVBq','lwfWDa','mZK3nde2D2LrrLnS','Dw5RBM93BG','q2fJAguGAw5ZDgfUy2vZihjLCxvPCMuGy29UDhjHy3qGmW','vw5ZDxbWB3j0zwqGy2fJAguGy29UDhjHy3q','q2fJAguGyxv0Ag9YAxr5igfSBg9JyxrPB24GAxmGyNvZEq','zgv2','ruvysvnu','lMfWDc1Tyw5Hz2vKlMPZB24','mdaWmdaWmdaTmdaWmc0WmdaWltaWmdaTmdaWmdaWmdaWmdaW','y29KzwDYyxbO','B3jPz2LUywW','ru5pru5u','C29Tzq','CMvSyxrPDMu','u2vSzwn0zwqGy2fJAguGChvIBgLJyxrPB24GAxmGAw52ywXPza','lI4Vy29Yzs9YzwnVDMvYEs1WCM9VzG','CMvJB3zLCMvK','AxneAxjLy3rVCNK','CMvHzezPBgvtEw5J','C3rYAw5NAwz5','BM9KztPJCNLWDg8','u2vSzwn0zwqGy2fJAguGCMvJzwLWDcbKAwzMzxjZigzYB20GAxrZigf1DgHVCML0Eq','su5ervHFuKvdt1zfuLLFq0HbtKDfra','D29YA3nWywnL','rNjLC2GGy2fJAguGCMvXDwLYzxmGyNvPBgqGyw5Kigz1BMn0Aw9UywWGChjVyMu','yxrVBwLJ','AM9PBG','yxr0zw1WDeLK','zxHPC3rZu3LUyW','Aw5V','mZG3ndG5sfn0rene','q2fJAguGC2vSzwn0Aw9UignOyw5NzwqGzhvYAw5Nigj1AwXK','y29Kzs1YzxzPzxCTz3jHCgG','y2fJAgvdB250CMfJDa','qwXSB2nHDgvKignHy2HLigrPCMvJDg9YEsbJAgfUz2vKigjLzM9YzsbWDwjSAwnHDgLVBG','CMvJB3zLCNKUANnVBG','ChjVyMu','zgf0ywjHC2u','y29KzwDYyxbOlMrI','su5ervHFq0fdsevFvu5wrvjjrKLfra','DgvZDa','y3jLyxrLsgfZAa','lI4VAw5ZDgfSBgvYl2LUzgv4lwLUDgvYCNvWDgLVBI1YzwnVDMvYEq','Ag9ZDa','yNvPBhq','CM1KAxjtEw5J','ChjVzMLSzq','lxDHBa','yxv0Ag9YAxr5swq','nJm2mtaWreLhzfnt','q2fJAguGCgf0AcbLC2nHCgvZihDVCMTZCgfJzq','CMvJB3zLCNK','zgLNzxn0','BM9KztPMCW','DMfSAwrHDgvnyw5Hz2vKsw5KzxHdywnOzq','yxnZzxj0q2fJAgvpDxrJB21L','t2nJDxbPzwqGy2fJAguGAgfZig5Vigf1DgHVCML0Eq','CMvWBgfJzufSBa','Aw5JBhvKzxm','zxf1ywXZ','zxHLy3v0Aw9U','C2vW','C3rHDgvszwXHDgL2zq','ywn0AxzL','AxnbyNnVBhv0zq','mZaYmZKZmgjxrhP5sa','C3bSAxq','nJe3oty3zNrgv05x','q2fJAguGChjVBw90Aw9Uigv2AwrLBMnLignOyw5NzwqGyMvMB3jLihnLBgvJDgLVBG','CMvHBhbHDgHtEw5J','uMvJB3zLCNKGy2fJAguGywXSB2nHDgLVBIbJAgfUz2vK','lMPZB24','y29UDhjHy3rjza','Bhn0yxrtEw5J','z2vUzxjHDgLVBG','su5ervHFufjpqKvFrKfjteve','su5ervHFt1vuq09nrv9vtKTot1Do','z3jHCgGUzgi','q2fJAguGAw5ZDgfUy2uGAxmGAw52ywXPza','y2fJAguUBg9JAW','su5ervHFqLvtwq','lwPVDxjUywW','lI9PBMrLEc1TywLUDgvUyw5Jzq','lI4Vy29Yzs9VD25Lzc1SB2nR','uMv2Awv3ihbYB2PLy3qGC2vUDgLUzwWGAxmGBwLZC2LUzW','Bgf1BMnOqxr0zw1WDeLK','uMv2Awv3igjHy2TLBMqGD291BgqGBwLNCMf0zsbHigXLz2fJEsbKyxrHyMfZztSGAxrZigj5DgvZihDLCMuGChjLC2vYDMvK','ndy0ota0oeTuvxrLAW','q2fJAguGCgf0AcbIzwnHBwuGB2nJDxbPzwq','lMf1DgHVCML0Es5SB2nR','BM9KztPWyxrO','AxntEw1IB2XPy0XPBMS','C3rHDgveAxjLy3rVCNK','CMvJzwLWDc5QC29U','uMvJB3zLCNKGAgfZig5VignHy2HLigfSBg9JyxrPB24','CgXHDgzVCM0','Aw5ZDgfUy2vZ','BwfYA2vY','yxjJAgL2zuHHC2G','zNjVBuvUDhjPzxm'];_0x21ef=function(){return _0x561595;};return _0x21ef();}function safePath(_0x30eac8,_0x55e35d,_0x5a2609=![]){const _0x50938b=_0x395e51,_0x5d1a4f=path[_0x50938b(0x1b3)](_0x30eac8,_0x55e35d);if(!_0x5d1a4f&&_0x5a2609)return _0x30eac8;if(!_0x5d1a4f||path[_0x50938b(0x140)](_0x5d1a4f)||_0x5d1a4f[_0x50938b(0x142)](path['sep'])[_0x50938b(0x13a)]('..'))fail('UNSAFE_INDEX',_0x50938b(0x132));let _0x572764=_0x30eac8;for(const _0x4c9143 of _0x5d1a4f['split'](path[_0x50938b(0x13d)])){_0x572764=path[_0x50938b(0x11a)](_0x572764,_0x4c9143);try{if(fs[_0x50938b(0x149)](_0x572764)[_0x50938b(0x15b)]()||!containsWorkspace(_0x30eac8,_0x572764))fail(_0x50938b(0x1a2),_0x50938b(0x193));}catch(_0x14df9a){if(_0x14df9a[_0x50938b(0x198)]!==_0x50938b(0x1b1))throw _0x14df9a;}}const _0x4233e1={};_0x4233e1[_0x50938b(0x18f)]=!![];if(_0x5a2609)fs['mkdirSync'](_0x55e35d,_0x4233e1);return _0x55e35d;}function resolveManagedIndexCache({workspace:_0x3ed6bc,kind:_0x287f64,profile:_0x495872,instanceId:_0x6dad98,pending:pending=![],historical:historical=![],publicKey:_0x3384c1}){const _0x50e241=_0x395e51;if(_0x495872[_0x50e241(0x121)]===undefined)return null;if(![0x2,0x3][_0x50e241(0x13a)](_0x495872['cacheContract'])||![_0x50e241(0x1af),_0x50e241(0x120)][_0x50e241(0x13a)](_0x287f64)||!/^\d+\.\d+\.\d+$/[_0x50e241(0x128)](_0x495872[_0x50e241(0x189)]||''))fail(_0x50e241(0x1a2),_0x50e241(0x1a9));_0x3ed6bc=fs[_0x50e241(0x145)](_0x3ed6bc);const _0x1cabb3=Object[_0x50e241(0x163)](Object[_0x50e241(0x199)](_0x495872['versions']||{})[_0x50e241(0x196)](([_0x1142c4],[_0x4744d1])=>_0x1142c4[_0x50e241(0x168)](_0x4744d1))),_0x155164=_0x495872[_0x50e241(0x121)],_0x3078ed={};_0x3078ed[_0x50e241(0x189)]=_0x495872[_0x50e241(0x189)],_0x3078ed[_0x50e241(0x16a)]=_0x1cabb3;const _0x2b0843={'version':_0x155164,'owner':_0x50e241(0x174),'epoch':'apt-index-cache-v'+_0x155164,'workspace':identity(_0x3ed6bc),'host':os['hostname']()+':'+process['platform']+':'+process[_0x50e241(0x19d)],'kind':_0x287f64,'profile':_0x3078ed},_0x58271d=sha(JSON['stringify'](_0x2b0843)),_0x29ed09=_0x155164===0x3?safePath(_0x3ed6bc,path[_0x50e241(0x11a)](_0x3ed6bc,'.agents/runtime/backends/'+_0x287f64+_0x50e241(0x186)+_0x58271d+_0x50e241(0x147))):null;let _0x39e28d=null;if(_0x29ed09&&!historical){try{_0x39e28d=JSON[_0x50e241(0x188)](fs[_0x50e241(0x112)](_0x29ed09));if(_0x39e28d[_0x50e241(0x189)]!==0x1||_0x39e28d[_0x50e241(0x148)]!==_0x58271d||!/^[a-f0-9-]{36}$/[_0x50e241(0x128)](_0x39e28d['active']||'')||_0x39e28d[_0x50e241(0x19e)]&&(!/^[a-f0-9-]{36}$/[_0x50e241(0x128)](_0x39e28d[_0x50e241(0x19e)]['instanceId']||'')||!/^[a-f0-9-]{36}$/[_0x50e241(0x128)](_0x39e28d['pending'][_0x50e241(0x172)]||'')))fail(_0x50e241(0x127),'Cache\x20selector\x20is\x20invalid');}catch(_0x4e5f9d){if(_0x4e5f9d[_0x50e241(0x198)]!=='ENOENT')throw _0x4e5f9d;}_0x6dad98||=pending&&_0x39e28d?.['pending']?_0x39e28d[_0x50e241(0x19e)][_0x50e241(0x169)]:_0x39e28d?.[_0x50e241(0x13f)]||_0x50e241(0x1ae);if(!/^[a-f0-9-]{36}$/[_0x50e241(0x128)](_0x6dad98))fail(_0x50e241(0x127),_0x50e241(0x14e));_0x2b0843[_0x50e241(0x169)]=_0x6dad98;}if(_0x155164===0x3&&historical){_0x6dad98||=_0x50e241(0x1ae);if(!/^[a-f0-9-]{36}$/[_0x50e241(0x128)](_0x6dad98))fail(_0x50e241(0x127),_0x50e241(0x14e));_0x2b0843[_0x50e241(0x169)]=_0x6dad98;}const _0x113aa4=sha(JSON[_0x50e241(0x113)](_0x2b0843)),_0x1d19c1=_0x113aa4['slice'](0x0,0x18),_0x252cc0=_0x50e241(0x195)+_0x287f64+'/caches/'+_0x1d19c1,_0x37e08a=_0x287f64===_0x50e241(0x1af)?'.codegraph-'+process[_0x50e241(0x15f)]+'-'+process['arch']+'-apt'+_0x155164+'-'+_0x1d19c1:_0x50e241(0x16e)+_0x495872[_0x50e241(0x189)]+'-'+process['platform']+'-'+process['arch']+_0x50e241(0x1a5)+_0x155164+'-'+_0x1d19c1,_0x189975={..._0x2b0843};_0x189975[_0x50e241(0x130)]=_0x113aa4,_0x189975[_0x50e241(0x13e)]=_0x252cc0,_0x189975['cacheRelative']=_0x37e08a;const _0x2ee7bd=_0x189975,_0x129e38=sha(JSON['stringify'](_0x2ee7bd)),_0x101631={..._0x2ee7bd};_0x101631[_0x50e241(0x16d)]=_0x129e38;const _0x46872d=_0x101631,_0x3aaaf1=path['join'](_0x3ed6bc,_0x252cc0),_0x4e7122=path[_0x50e241(0x11a)](_0x3ed6bc,_0x37e08a),_0x59f13a=path[_0x50e241(0x11a)](_0x4e7122,_0x287f64===_0x50e241(0x1af)?_0x50e241(0x126):_0x50e241(0x14d)),_0x57444b={..._0x495872[_0x50e241(0x178)]};_0x57444b['CODEGRAPH_DIR']=_0x37e08a;const _0x2a4553=_0x287f64===_0x50e241(0x1af)?_0x57444b:{..._0x495872[_0x50e241(0x178)],'CRG_DATA_DIR':_0x4e7122,'CRG_HOME':path[_0x50e241(0x11a)](_0x3aaaf1,'registry')},_0x2d037b={};_0x2d037b[_0x50e241(0x117)]=_0x3ed6bc,_0x2d037b['authorityId']=_0x113aa4,_0x2d037b[_0x50e241(0x16d)]=_0x129e38,_0x2d037b[_0x50e241(0x15c)]=_0x3aaaf1,_0x2d037b[_0x50e241(0x18c)]=_0x4e7122,_0x2d037b['database']=_0x59f13a,_0x2d037b['env']=_0x2a4553,_0x2d037b['marker']=_0x46872d,_0x2d037b['selectorFile']=_0x29ed09,_0x2d037b[_0x50e241(0x148)]=_0x58271d,_0x2d037b[_0x50e241(0x182)]=_0x39e28d;const _0x1703f9=_0x2d037b;if(_0x39e28d&&!historical)validateSelection(_0x1703f9,_0x495872,_0x3384c1);return _0x1703f9;}function validateSelection(_0x20ac65,_0x3df16c,_0x49b76d){const _0x5e9b1a=_0x395e51,{workspace:_0x1ae6e3,selector:_0x5f31c5}=_0x20ac65,_0x5ecf47=require(_0x5e9b1a(0x12a));if(_0x5f31c5[_0x5e9b1a(0x19e)]){const _0x5e2ae=_0x5ecf47[_0x5e9b1a(0x1a1)](_0x1ae6e3,_0x5f31c5['pending'],_0x49b76d);if(_0x5f31c5[_0x5e9b1a(0x19e)][_0x5e9b1a(0x169)]!==_0x5e2ae[_0x5e9b1a(0x160)]?.[_0x20ac65[_0x5e9b1a(0x161)][_0x5e9b1a(0x187)]])fail(_0x5e9b1a(0x127),'Pending\x20cache\x20differs\x20from\x20its\x20archived\x20allocation');}if(_0x5f31c5[_0x5e9b1a(0x13f)]==='00000000-0000-0000-0000-000000000000')return;if(_0x5f31c5['recovery']?.[_0x5e9b1a(0x172)]!==_0x5f31c5[_0x5e9b1a(0x13f)]||!/^[a-f0-9]{64}$/[_0x5e9b1a(0x128)](_0x5f31c5['publicationHash']||''))fail(_0x5e9b1a(0x127),'Selected\x20cache\x20has\x20no\x20verified\x20publication');_0x5ecf47['validateIndexArchive'](_0x1ae6e3,_0x5f31c5['recovery'],_0x49b76d);const _0x76f068={};_0x76f068[_0x5e9b1a(0x117)]=_0x1ae6e3,_0x76f068[_0x5e9b1a(0x187)]=_0x20ac65[_0x5e9b1a(0x161)][_0x5e9b1a(0x187)],_0x76f068[_0x5e9b1a(0x12e)]=_0x3df16c,_0x76f068[_0x5e9b1a(0x169)]=_0x5f31c5['active'],_0x76f068['historical']=!![];const _0x35a479=resolveManagedIndexCache(_0x76f068),_0x3b706b=safePath(_0x1ae6e3,path['join'](_0x35a479['stateDirectory'],_0x5e9b1a(0x18d))),_0x265240=fs[_0x5e9b1a(0x112)](_0x3b706b),_0x109796=JSON[_0x5e9b1a(0x188)](_0x265240),_0x104a2c=_0x109796[_0x5e9b1a(0x13c)],_0x17341e=_0x109796[_0x5e9b1a(0x19f)],_0x4283c4=require(_0x5e9b1a(0x10f))[_0x5e9b1a(0x16c)](_0x109796[_0x5e9b1a(0x180)]?.[_0x5e9b1a(0x185)],_0x49b76d||require(_0x5e9b1a(0x19c))['PRODUCTION_PUBLIC_KEY']);if(sha(_0x265240)!==_0x5f31c5[_0x5e9b1a(0x177)]||_0x109796['version']!==0x1||_0x109796[_0x5e9b1a(0x169)]!==_0x5f31c5[_0x5e9b1a(0x13f)]||_0x109796[_0x5e9b1a(0x130)]!==_0x35a479[_0x5e9b1a(0x130)]||_0x109796[_0x5e9b1a(0x16d)]!==_0x35a479[_0x5e9b1a(0x16d)]||_0x4283c4['version']!==_0x104a2c?.[_0x5e9b1a(0x180)]?.[_0x5e9b1a(0x189)]||_0x4283c4[_0x5e9b1a(0x134)]!==_0x104a2c?.['producer']?.[_0x5e9b1a(0x134)]||!_0x104a2c?.['caches']?.[_0x5e9b1a(0x1b2)](_0x4d063e=>_0x4d063e['kind']===_0x35a479[_0x5e9b1a(0x161)]['kind']&&JSON[_0x5e9b1a(0x113)](_0x4d063e[_0x5e9b1a(0x161)])===JSON['stringify'](_0x35a479[_0x5e9b1a(0x161)]))||_0x109796[_0x5e9b1a(0x124)]?.[_0x5e9b1a(0x194)]!==!![]||_0x109796[_0x5e9b1a(0x124)][_0x5e9b1a(0x187)]!==_0x35a479['marker'][_0x5e9b1a(0x187)]||_0x109796['probe'][_0x5e9b1a(0x189)]!==_0x3df16c['version']||_0x17341e?.[_0x5e9b1a(0x165)]!==_0x5e9b1a(0x12c)||_0x17341e[_0x5e9b1a(0x130)]!==_0x35a479[_0x5e9b1a(0x130)]||_0x17341e['descriptorHash']!==_0x35a479[_0x5e9b1a(0x16d)]||_0x17341e[_0x5e9b1a(0x125)]!==_0x35a479[_0x5e9b1a(0x125)]||_0x17341e['launchAttemptId']!==_0x104a2c[_0x5e9b1a(0x11b)]||[_0x5e9b1a(0x14a),_0x5e9b1a(0x190),_0x5e9b1a(0x170),_0x5e9b1a(0x184)][_0x5e9b1a(0x1b2)](_0x43491a=>(_0x17341e[_0x43491a]??null)!==(_0x104a2c[_0x43491a]??null))||!fs[_0x5e9b1a(0x11c)](safePath(_0x1ae6e3,_0x35a479[_0x5e9b1a(0x125)])))fail(_0x5e9b1a(0x127),_0x5e9b1a(0x1b4));validateManagedIndexCache(_0x35a479);const _0x2db439=safePath(_0x1ae6e3,path[_0x5e9b1a(0x11a)](_0x35a479[_0x5e9b1a(0x15c)],_0x5e9b1a(0x15d))),_0x5da0a3=JSON['parse'](fs[_0x5e9b1a(0x112)](_0x2db439));if(_0x5da0a3[_0x5e9b1a(0x165)]===_0x5e9b1a(0x12c)&&(_0x5da0a3[_0x5e9b1a(0x130)]!==_0x35a479[_0x5e9b1a(0x130)]||_0x5da0a3['descriptorHash']!==_0x35a479[_0x5e9b1a(0x16d)]||_0x5da0a3[_0x5e9b1a(0x125)]!==_0x35a479[_0x5e9b1a(0x125)]))fail(_0x5e9b1a(0x127),_0x5e9b1a(0x115));}function verifyMarker(_0x5e9a15,_0xe38816,_0x31132c){const _0x224f34=_0x395e51;safePath(_0x5e9a15[_0x224f34(0x117)],_0xe38816);const _0x583a28=safePath(_0x5e9a15[_0x224f34(0x117)],path[_0x224f34(0x11a)](_0xe38816,_0x31132c));try{const _0x4dfe5b=fs[_0x224f34(0x149)](_0x583a28);if(!_0x4dfe5b['isFile']()||!fs['readFileSync'](_0x583a28)['equals'](Buffer[_0x224f34(0x1a4)](JSON[_0x224f34(0x113)](_0x5e9a15[_0x224f34(0x161)]))))fail(_0x224f34(0x1a2),'Cache\x20authority\x20does\x20not\x20match\x20its\x20physical\x20path');}catch(_0x2e0ff3){if(_0x2e0ff3['code']==='ENOENT')fail(_0x224f34(0x1a2),_0x224f34(0x138));throw _0x2e0ff3;}}function createMarkedDirectory(_0x1fc8dc,_0x22b560,_0x5d17cf){const _0xd6350=_0x395e51;if(fs[_0xd6350(0x11c)](_0x22b560)){verifyMarker(_0x1fc8dc,_0x22b560,_0x5d17cf);return;}safePath(_0x1fc8dc['workspace'],path[_0xd6350(0x16f)](_0x22b560),!![]);try{fs['mkdirSync'](_0x22b560);}catch(_0x4647b3){if(_0x4647b3[_0xd6350(0x198)]===_0xd6350(0x1ac))fail(_0xd6350(0x1a2),_0xd6350(0x158));throw _0x4647b3;}safePath(_0x1fc8dc[_0xd6350(0x117)],_0x22b560);const _0x46162a=fs['lstatSync'](_0x22b560),_0x47739b=path[_0xd6350(0x11a)](_0x22b560,_0x5d17cf);let _0x3652b3=![];try{safePath(_0x1fc8dc[_0xd6350(0x117)],_0x47739b);const _0x5a58c5=fs[_0xd6350(0x149)](_0x22b560);if(!_0x5a58c5[_0xd6350(0x111)]()||_0x5a58c5[_0xd6350(0x1ab)]!==_0x46162a[_0xd6350(0x1ab)]||_0x5a58c5[_0xd6350(0x11d)]!==_0x46162a[_0xd6350(0x11d)])fail(_0xd6350(0x1a2),_0xd6350(0x122));preserveArchiveBytes(_0x47739b,JSON['stringify'](_0x1fc8dc[_0xd6350(0x161)])),verifyMarker(_0x1fc8dc,_0x22b560,_0x5d17cf),_0x3652b3=!![];}finally{if(!_0x3652b3)try{safePath(_0x1fc8dc[_0xd6350(0x117)],_0x22b560);const _0x2072eb=fs[_0xd6350(0x149)](_0x22b560);if(_0x2072eb[_0xd6350(0x1ab)]===_0x46162a[_0xd6350(0x1ab)]&&_0x2072eb[_0xd6350(0x11d)]===_0x46162a['ino']){if(fs['existsSync'](_0x47739b)&&fs[_0xd6350(0x112)](_0x47739b)['equals'](Buffer['from'](JSON['stringify'](_0x1fc8dc[_0xd6350(0x161)]))))fs['unlinkSync'](_0x47739b);fs[_0xd6350(0x12d)](_0x22b560);}}catch{}}}function validateManagedIndexCache(_0x1f88b2){const _0x1661ae=_0x395e51;assertLegacyCacheSafe(_0x1f88b2);if(_0x1f88b2[_0x1661ae(0x161)][_0x1661ae(0x187)]==='code-review-graph')projectSentinel(_0x1f88b2,!![]);verifyMarker(_0x1f88b2,_0x1f88b2[_0x1661ae(0x15c)],_0x1661ae(0x176)),verifyMarker(_0x1f88b2,_0x1f88b2[_0x1661ae(0x18c)],'.apt-managed.json');for(const _0x157386 of['users',_0x1661ae(0x191),'registry/registry.json','cache.lock',_0x1661ae(0x15d),_0x1661ae(0x123)])safePath(_0x1f88b2['workspace'],path['join'](_0x1f88b2[_0x1661ae(0x15c)],_0x157386));for(const _0x5032d8 of['',_0x1661ae(0x12f),'-shm',_0x1661ae(0x151)])safePath(_0x1f88b2[_0x1661ae(0x117)],_0x1f88b2['database']+_0x5032d8);}function openManagedIndexCache(_0x2ce3bc){const _0x2fe3da=_0x395e51;assertLegacyCacheSafe(_0x2ce3bc),assertCacheOutcome(_0x2ce3bc);const _0x54f93d=safePath(_0x2ce3bc['workspace'],path['dirname'](_0x2ce3bc[_0x2fe3da(0x15c)]),!![]),_0x33f0a3=safePath(_0x2ce3bc[_0x2fe3da(0x117)],path['join'](_0x54f93d,_0x2ce3bc[_0x2fe3da(0x130)][_0x2fe3da(0x16b)](0x0,0x18)+_0x2fe3da(0x159))),_0x5469fe=acquireRuntimeLock(_0x33f0a3,0x0,_0x2ce3bc[_0x2fe3da(0x161)][_0x2fe3da(0x12b)]);if(!_0x5469fe)fail(_0x2fe3da(0x150),_0x2fe3da(0x1aa));try{createMarkedDirectory(_0x2ce3bc,_0x2ce3bc[_0x2fe3da(0x15c)],_0x2fe3da(0x176));const _0x4bf4fc=safePath(_0x2ce3bc[_0x2fe3da(0x117)],path[_0x2fe3da(0x11a)](_0x2ce3bc[_0x2fe3da(0x15c)],_0x2fe3da(0x14f))),_0x52cc83=acquireRuntimeLock(_0x4bf4fc,0x0,_0x2ce3bc['marker']['host']);if(!_0x52cc83)fail(_0x2fe3da(0x150),'Selected\x20cache\x20is\x20being\x20maintained');try{createMarkedDirectory(_0x2ce3bc,_0x2ce3bc[_0x2fe3da(0x18c)],_0x2fe3da(0x1ad));if(_0x2ce3bc[_0x2fe3da(0x161)]['kind']===_0x2fe3da(0x120))safePath(_0x2ce3bc[_0x2fe3da(0x117)],projectSentinel(_0x2ce3bc),!![]);validateManagedIndexCache(_0x2ce3bc);}finally{_0x52cc83();}}finally{_0x5469fe();}}function _0x2de0(_0x77ba2d,_0x582e2c){_0x77ba2d=_0x77ba2d-0x10f;const _0x21ef65=_0x21ef();let _0x2de064=_0x21ef65[_0x77ba2d];if(_0x2de0['gZdNTL']===undefined){var _0x4eb709=function(_0x10254a){const _0x3286c7='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x21c318='',_0x26100f='';for(let _0x1a2c9e=0x0,_0x285851,_0x15f0c1,_0x3c4315=0x0;_0x15f0c1=_0x10254a['charAt'](_0x3c4315++);~_0x15f0c1&&(_0x285851=_0x1a2c9e%0x4?_0x285851*0x40+_0x15f0c1:_0x15f0c1,_0x1a2c9e++%0x4)?_0x21c318+=String['fromCharCode'](0xff&_0x285851>>(-0x2*_0x1a2c9e&0x6)):0x0){_0x15f0c1=_0x3286c7['indexOf'](_0x15f0c1);}for(let _0x12b87d=0x0,_0x15a49a=_0x21c318['length'];_0x12b87d<_0x15a49a;_0x12b87d++){_0x26100f+='%'+('00'+_0x21c318['charCodeAt'](_0x12b87d)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x26100f);};_0x2de0['FVsqQn']=_0x4eb709,_0x2de0['iWMMNC']={},_0x2de0['gZdNTL']=!![];}const _0x5d4ddd=_0x21ef65[0x0],_0x3adcf8=_0x77ba2d+_0x5d4ddd,_0x83a270=_0x2de0['iWMMNC'][_0x3adcf8];return!_0x83a270?(_0x2de064=_0x2de0['FVsqQn'](_0x2de064),_0x2de0['iWMMNC'][_0x3adcf8]=_0x2de064):_0x2de064=_0x83a270,_0x2de064;}function projectSentinel(_0x3f75ca,_0x6e564c=![]){const _0x3f4cd7=_0x395e51,_0x13d92e=safePath(_0x3f75ca[_0x3f4cd7(0x117)],path[_0x3f4cd7(0x11a)](_0x3f75ca[_0x3f4cd7(0x117)],'.code-review-graph'));try{if(!fs[_0x3f4cd7(0x149)](_0x13d92e)[_0x3f4cd7(0x111)]())fail('UNSAFE_INDEX','Review\x20project\x20sentinel\x20is\x20not\x20a\x20directory');}catch(_0x365cbe){if(_0x365cbe[_0x3f4cd7(0x198)]!==_0x3f4cd7(0x1b1))throw _0x365cbe;if(_0x6e564c)fail('UNSAFE_INDEX',_0x3f4cd7(0x154));}return _0x13d92e;}function assertCacheOutcome(_0x483e04,_0x5d1aca,_0xb7120a){const _0x2b8588=_0x395e51;for(const _0xeb9237 of[_0x2b8588(0x15d),_0x2b8588(0x123)]){const _0x4b02d3=safePath(_0x483e04[_0x2b8588(0x117)],path[_0x2b8588(0x11a)](_0x483e04[_0x2b8588(0x15c)],_0xeb9237));try{const _0x26d884=fs[_0x2b8588(0x112)](_0x4b02d3),_0x4bbec2=JSON[_0x2b8588(0x188)](_0x26d884),_0x5e4da4=_0x4bbec2['status']===_0x2b8588(0x1a7)||[_0x2b8588(0x17b),_0x2b8588(0x14c)][_0x2b8588(0x13a)](_0x4bbec2[_0x2b8588(0x198)]),_0xecbfc8=_0xeb9237==='receipt.json'?_0x4bbec2[_0x2b8588(0x165)]===_0x2b8588(0x17c):['recovering',_0x2b8588(0x164)][_0x2b8588(0x13a)](_0x4bbec2[_0x2b8588(0x165)]),_0x528561=_0xeb9237===_0x2b8588(0x123)?_0x5d1aca:_0xb7120a;if(_0x5e4da4||_0xecbfc8&&!(_0x528561&&_0x26d884['equals'](Buffer[_0x2b8588(0x1a4)](JSON[_0x2b8588(0x113)](_0x528561)))))fail(_0x2b8588(0x14c),'Selected\x20cache\x20has\x20an\x20unconfirmed\x20index\x20operation');}catch(_0x555eac){if(_0x555eac[_0x2b8588(0x198)]!==_0x2b8588(0x1b1))throw _0x555eac;}}}function assertLegacyCacheSafe(_0x3cfae3){const _0x475922=_0x395e51;if(_0x3cfae3['marker'][_0x475922(0x187)]===_0x475922(0x120))projectSentinel(_0x3cfae3);if(_0x3cfae3[_0x475922(0x161)][_0x475922(0x187)]===_0x475922(0x120))for(const _0x1ef002 of['',_0x475922(0x12f),'-shm',_0x475922(0x151)]){const _0x4f7664=safePath(_0x3cfae3['workspace'],path[_0x475922(0x11a)](_0x3cfae3[_0x475922(0x117)],_0x475922(0x171)+_0x1ef002));if(fs[_0x475922(0x11c)](_0x4f7664))fail(_0x475922(0x18a),_0x475922(0x156));}const _0x2fd171=safePath(_0x3cfae3[_0x475922(0x117)],path[_0x475922(0x11a)](_0x3cfae3['workspace'],_0x475922(0x167),_0x3cfae3[_0x475922(0x161)][_0x475922(0x187)],_0x475922(0x123)));try{const _0x10b093=JSON[_0x475922(0x188)](fs[_0x475922(0x112)](_0x2fd171));if(_0x10b093[_0x475922(0x165)]!==_0x475922(0x110))fail(_0x475922(0x14c),_0x475922(0x19a));}catch(_0x46ec8f){if(_0x46ec8f[_0x475922(0x198)]!==_0x475922(0x1b1))throw _0x46ec8f;}}function stageManagedIndexCache(_0x1995ca,_0x38a4b2,_0x202e03){const _0x4f930a=_0x395e51;if(!_0x1995ca[_0x4f930a(0x166)])fail(_0x4f930a(0x127),_0x4f930a(0x1a8));const _0x46c4ec=require(_0x4f930a(0x12a))['validateIndexArchive'](_0x1995ca[_0x4f930a(0x117)],_0x38a4b2,_0x202e03),_0x5afcf8=_0x46c4ec[_0x4f930a(0x160)]?.[_0x1995ca[_0x4f930a(0x161)][_0x4f930a(0x187)]];if(!/^[a-f0-9-]{36}$/[_0x4f930a(0x128)](_0x5afcf8||''))fail('INDEX_RECOVERY_CHANGED',_0x4f930a(0x15e));safePath(_0x1995ca[_0x4f930a(0x117)],path[_0x4f930a(0x16f)](_0x1995ca[_0x4f930a(0x166)]),!![]);const _0x4fd80e=acquireRuntimeLock(_0x1995ca[_0x4f930a(0x166)]+'.lock');if(!_0x4fd80e)fail(_0x4f930a(0x150),_0x4f930a(0x192));try{let _0x2c92f9;try{_0x2c92f9=JSON[_0x4f930a(0x188)](fs['readFileSync'](_0x1995ca['selectorFile']));}catch(_0x5693fa){if(_0x5693fa[_0x4f930a(0x198)]!==_0x4f930a(0x1b1))throw _0x5693fa;}if(_0x2c92f9?.[_0x4f930a(0x19e)]){if(_0x2c92f9[_0x4f930a(0x19e)]['recoveryId']===_0x38a4b2[_0x4f930a(0x172)]&&_0x2c92f9['pending'][_0x4f930a(0x162)]===_0x38a4b2[_0x4f930a(0x162)]){if(_0x2c92f9[_0x4f930a(0x19e)][_0x4f930a(0x169)]!==_0x5afcf8)fail(_0x4f930a(0x116),_0x4f930a(0x146));return;}const _0xbaafbd=path[_0x4f930a(0x1b3)](_0x1995ca[_0x4f930a(0x117)],_0x1995ca[_0x4f930a(0x166)])[_0x4f930a(0x139)]('\x5c','/'),_0x4f94ee=_0x46c4ec['files']['find'](_0x146154=>_0x146154[_0x4f930a(0x1b0)]===_0xbaafbd);if(!_0x4f94ee||_0x4f94ee['sha256']!==sha(fs[_0x4f930a(0x112)](_0x1995ca[_0x4f930a(0x166)])))fail('INDEX_RECOVERY_CHANGED',_0x4f930a(0x18e));require(_0x4f930a(0x12a))['validateIndexArchive'](_0x1995ca[_0x4f930a(0x117)],_0x2c92f9['pending'],_0x202e03);}const _0x55b705={};_0x55b705[_0x4f930a(0x169)]=_0x5afcf8,_0x55b705[_0x4f930a(0x172)]=_0x38a4b2[_0x4f930a(0x172)],_0x55b705[_0x4f930a(0x162)]=_0x38a4b2[_0x4f930a(0x162)];const _0x1aa0d9={'version':0x1,'contractId':_0x1995ca[_0x4f930a(0x148)],'active':_0x2c92f9?.[_0x4f930a(0x13f)]||_0x1995ca[_0x4f930a(0x161)][_0x4f930a(0x169)],..._0x2c92f9?.[_0x4f930a(0x133)]?{'recovery':_0x2c92f9[_0x4f930a(0x133)],'publicationHash':_0x2c92f9[_0x4f930a(0x177)]}:{}};_0x1aa0d9[_0x4f930a(0x19e)]=_0x55b705;const _0x5016ba=_0x1aa0d9;require('./index-store')[_0x4f930a(0x119)](_0x1995ca['selectorFile'],_0x5016ba);}finally{_0x4fd80e();}}function activateManagedIndexCache(_0x322b3e,_0x3766fe,_0x2fe21d){const _0x3ff36f=_0x395e51;if(!_0x322b3e[_0x3ff36f(0x166)]||!_0x322b3e[_0x3ff36f(0x182)]?.[_0x3ff36f(0x19e)]||_0x322b3e[_0x3ff36f(0x161)]['instanceId']!==_0x322b3e['selector'][_0x3ff36f(0x19e)][_0x3ff36f(0x169)])return;const _0x2cab87=require(_0x3ff36f(0x152))[_0x3ff36f(0x19b)](_0x322b3e[_0x3ff36f(0x117)],_0x2fe21d,_0x322b3e['marker']),_0x245e41=acquireRuntimeLock(_0x322b3e['selectorFile']+_0x3ff36f(0x173));if(!_0x245e41)fail('INDEX_BUSY',_0x3ff36f(0x192));try{safePath(_0x322b3e[_0x3ff36f(0x117)],_0x322b3e[_0x3ff36f(0x166)]);const _0x4cd2ee=JSON[_0x3ff36f(0x188)](fs[_0x3ff36f(0x112)](_0x322b3e[_0x3ff36f(0x166)]));if(JSON['stringify'](_0x4cd2ee)!==JSON[_0x3ff36f(0x113)](_0x322b3e['selector']))fail(_0x3ff36f(0x116),_0x3ff36f(0x11f));const _0x529ad3=_0x4cd2ee[_0x3ff36f(0x19e)]||_0x4cd2ee[_0x3ff36f(0x133)],_0x35282f=require(_0x3ff36f(0x12a))[_0x3ff36f(0x1a1)](_0x322b3e[_0x3ff36f(0x117)],_0x529ad3);if(_0x4cd2ee[_0x3ff36f(0x19e)][_0x3ff36f(0x169)]!==_0x35282f['instances']?.[_0x322b3e[_0x3ff36f(0x161)]['kind']])fail(_0x3ff36f(0x116),_0x3ff36f(0x175));validateManagedIndexCache(_0x322b3e),assertCacheOutcome(_0x322b3e);const _0x1bcace=JSON[_0x3ff36f(0x188)](fs['readFileSync'](safePath(_0x322b3e[_0x3ff36f(0x117)],path[_0x3ff36f(0x11a)](_0x322b3e[_0x3ff36f(0x15c)],_0x3ff36f(0x15d)))));if(_0x3766fe?.['functionalReady']!==!![]||_0x1bcace[_0x3ff36f(0x165)]!==_0x3ff36f(0x12c)||_0x1bcace['authorityId']!==_0x322b3e[_0x3ff36f(0x130)]||_0x1bcace[_0x3ff36f(0x16d)]!==_0x322b3e['descriptorHash']||_0x1bcace[_0x3ff36f(0x125)]!==_0x322b3e[_0x3ff36f(0x125)]||!fs[_0x3ff36f(0x11c)](_0x322b3e[_0x3ff36f(0x125)])||_0x1bcace[_0x3ff36f(0x155)]!==_0x2cab87[_0x3ff36f(0x11b)]||[_0x3ff36f(0x14a),_0x3ff36f(0x190),_0x3ff36f(0x170),_0x3ff36f(0x184)]['some'](_0x3e1874=>(_0x1bcace[_0x3e1874]??null)!==(_0x2cab87[_0x3e1874]??null)))fail(_0x3ff36f(0x14b),_0x3ff36f(0x118));require(_0x3ff36f(0x152))[_0x3ff36f(0x19b)](_0x322b3e['workspace'],_0x2fe21d,_0x322b3e[_0x3ff36f(0x161)]);const _0x3e916c={};_0x3e916c[_0x3ff36f(0x189)]=0x1,_0x3e916c[_0x3ff36f(0x169)]=_0x322b3e[_0x3ff36f(0x161)][_0x3ff36f(0x169)],_0x3e916c[_0x3ff36f(0x130)]=_0x322b3e[_0x3ff36f(0x130)],_0x3e916c[_0x3ff36f(0x16d)]=_0x322b3e['descriptorHash'],_0x3e916c[_0x3ff36f(0x13c)]=_0x2cab87,_0x3e916c[_0x3ff36f(0x180)]=_0x2cab87[_0x3ff36f(0x180)],_0x3e916c['receipt']=_0x1bcace,_0x3e916c[_0x3ff36f(0x124)]={},_0x3e916c[_0x3ff36f(0x124)][_0x3ff36f(0x194)]=!![],_0x3e916c[_0x3ff36f(0x124)]['kind']=_0x322b3e['marker']['kind'],_0x3e916c[_0x3ff36f(0x124)][_0x3ff36f(0x189)]=_0x322b3e[_0x3ff36f(0x161)][_0x3ff36f(0x12e)][_0x3ff36f(0x189)];const _0x1ccd9a=_0x3e916c,_0x37a5da=safePath(_0x322b3e['workspace'],path[_0x3ff36f(0x11a)](_0x322b3e['stateDirectory'],_0x3ff36f(0x18d)));let _0x4ff987;try{_0x4ff987=fs['readFileSync'](_0x37a5da);}catch(_0x301cbe){if(_0x301cbe[_0x3ff36f(0x198)]!=='ENOENT')throw _0x301cbe;}_0x4ff987?validateSelection({..._0x322b3e,'selector':{'version':0x1,'contractId':_0x322b3e[_0x3ff36f(0x148)],'active':_0x322b3e[_0x3ff36f(0x161)]['instanceId'],'recovery':_0x529ad3,'publicationHash':sha(_0x4ff987)}},{..._0x322b3e[_0x3ff36f(0x161)][_0x3ff36f(0x12e)],'cacheContract':0x3}):(_0x4ff987=Buffer[_0x3ff36f(0x1a4)](JSON[_0x3ff36f(0x113)](_0x1ccd9a)),preserveArchiveBytes(_0x37a5da,_0x4ff987));require(_0x3ff36f(0x152))[_0x3ff36f(0x19b)](_0x322b3e['workspace'],_0x2fe21d,_0x322b3e[_0x3ff36f(0x161)]);if(!_0x245e41['owned']()||!fs[_0x3ff36f(0x112)](_0x37a5da)[_0x3ff36f(0x13b)](_0x4ff987)||JSON[_0x3ff36f(0x113)](JSON['parse'](fs['readFileSync'](_0x322b3e[_0x3ff36f(0x166)])))!==JSON[_0x3ff36f(0x113)](_0x4cd2ee))fail(_0x3ff36f(0x116),_0x3ff36f(0x144));require('./index-store')[_0x3ff36f(0x119)](_0x322b3e['selectorFile'],{'version':0x1,'contractId':_0x322b3e[_0x3ff36f(0x148)],'active':_0x322b3e['marker'][_0x3ff36f(0x169)],'recovery':_0x529ad3,'publicationHash':sha(_0x4ff987)});}catch(_0xa84001){if(_0xa84001[_0x3ff36f(0x198)]===_0x3ff36f(0x1b1))fail('INDEX_PROBE_FAILED','Fresh\x20cache\x20build\x20is\x20missing');throw _0xa84001;}finally{_0x245e41();}}const _0x208ac8={};_0x208ac8[_0x395e51(0x17e)]=resolveManagedIndexCache,_0x208ac8['openManagedIndexCache']=openManagedIndexCache,_0x208ac8[_0x395e51(0x136)]=validateManagedIndexCache,_0x208ac8[_0x395e51(0x137)]=assertCacheOutcome,_0x208ac8['safePath']=safePath,_0x208ac8[_0x395e51(0x1a0)]=stageManagedIndexCache,_0x208ac8[_0x395e51(0x181)]=activateManagedIndexCache,module[_0x395e51(0x1a3)]=_0x208ac8;
|