apt-mcp-agent-setup 3.5.13 → 3.5.14
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/bin/cli.js +1 -1
- package/build-input.json +79 -55
- 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 +5 -0
- package/integrity-manifest.json +141 -130
- package/package.json +1 -1
- package/release-check.js +15 -6
- package/src/backends/browser-tools.js +1 -1
- package/src/backends/index-cache-authority.js +1 -0
- package/src/backends/index-command.js +1 -1
- package/src/backends/index-maintenance.js +1 -0
- package/src/backends/index-store.js +1 -1
- package/src/backends/profiles.js +1 -1
- package/src/core/admission-fence.js +1 -1
- package/src/core/aso-import.js +1 -1
- package/src/core/backend-lease-recovery.js +1 -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/host-adapters.js +1 -1
- package/src/core/interrupted-operation-audit.js +1 -0
- package/src/core/ipc-envelope.js +1 -1
- package/src/core/legacy-retirement-proof.js +1 -0
- 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 -0
- 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 -0
- 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 -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/runtime-authority.js +1 -1
- package/src/core/runtime-info.js +1 -1
- package/src/core/runtime-ownership.js +1 -1
- package/src/core/session.js +1 -1
- package/src/core/skill-companions.js +1 -1
- package/src/core/skill-names.js +1 -1
- package/src/core/storage-retry.js +1 -1
- package/src/core/tool-contracts.js +1 -1
- package/src/core/update-control.js +1 -1
- package/src/core/upgrade-runs.js +1 -1
- package/src/core/upgrade-stop.js +1 -1
- package/src/core/windows-job.js +1 -1
- package/src/core/windows-legacy-query.ps1 +277 -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/host-hooks.js +1 -1
- package/src/installer/index-recovery.js +1 -1
- package/src/installer/interrupted-operation-recovery.js +1 -0
- 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 -0
- 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,152 +1,163 @@
|
|
|
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": "e6bf1ef0ea9e4d409c630e4258613eda161c301e5722b30ac593b473af4394b3",
|
|
4
|
+
"build-input.json": "2e5983bf5aedd08fd1216d2a3dae053072bfb13e03a023f0bd7766299ed19361",
|
|
5
|
+
"bundle/core.enc": "46a8fd60c8bc95ed4d4d5d8758f92dc81e02c2ab1d22489fab1e18fd85c00f92",
|
|
6
|
+
"bundle/mcp-rules.enc": "39ae916cf64f6b03d7faa0706c7ba0ac2020ac374a858790bebbd78072d979ec",
|
|
7
|
+
"bundle/NOTICES.md": "bdfd17f526cef8ecf4710b1662aa3a5108ccf9f7cbb956153515512cdd79c3a9",
|
|
8
|
+
"bundle/skills-aso.enc": "7c52fa1c558f9c414598343cb00eeb428e6a09324777a935e8297f2c96c8ad17",
|
|
9
|
+
"bundle/skills-ba.enc": "bea787901426b407f41fb845a8c49a8fd480f54d644bbd07253ae63766dc36fb",
|
|
10
|
+
"bundle/skills-base.enc": "1a662c7667bcfd2c0066e78fdc9b854b1cadb9a40d342ab1240c78a7ce4e9764",
|
|
11
|
+
"bundle/skills-be.enc": "eb73f4686155ad722199ee6dd5d587c7aa3aafd29c0c3061c16e3a86e679dcde",
|
|
12
|
+
"bundle/skills-design.enc": "502fa7fd838bfe11fa03fdd46c731b6c58efa3e45391dd8f438ea619586c336b",
|
|
13
|
+
"bundle/skills-fe.enc": "3bb909774d97ca50f387b06db83995bcea6be377394571a1aad6e78c00614498",
|
|
14
|
+
"bundle/skills-marketing.enc": "2e98da032f1a1084ab5e730a1273be330881ee1a13b89d59322284a92a494bd2",
|
|
15
|
+
"bundle/skills-mobile.enc": "190aae641cda2d34ddb65405a5b18af05e785d460cf9c59b5c6f35f3ce2787f4",
|
|
16
|
+
"bundle/skills-pm.enc": "8caf2b58c54a004a4cfa750a02b98716f3d9d2f55b92d516ee037701d014e630",
|
|
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": "e41c917f07188ff4fc4e1219a3a28e5dae1d7ae52ab2871018987ebbe65c24a6",
|
|
22
22
|
"docs/upstream-manifest.json": "657a45ebba78fb44a1e2e66cb1b297b374bd21893d33a7818f095d880be10e12",
|
|
23
23
|
"LICENSE": "e9b3c5c1f9dc65f8591339e144dc7a1d1266886dc63c01edfeebd83a46315e36",
|
|
24
|
-
"package.json": "
|
|
24
|
+
"package.json": "dca9478e65a06f0026034b57f05a3a86cb6e53a863b02430a665483855c6512e",
|
|
25
25
|
"README.md": "e681838250dc65e858f3828aecb6d6d79172a8832f5a651523724a34e1bb74b9",
|
|
26
|
-
"release-check.js": "
|
|
26
|
+
"release-check.js": "fa47662eb83287aba48426012043af616f92399356e83d5c7a182401ffe985a2",
|
|
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": "e83f6eefb76110875f74e56d6c8a6b13519778c3dae49287e0cb5583999abc4a",
|
|
30
30
|
"src/backends/codegraph-1.6.0.json": "badef7be6b3a8e671d184436a777562af0417e5e1d53f61b459955c10199e36e",
|
|
31
|
-
"src/backends/index-
|
|
32
|
-
"src/backends/index-
|
|
31
|
+
"src/backends/index-cache-authority.js": "ceb5fb521f14138e52a1fec20413c43cdab8f3c31e840e6b048012f7649aee01",
|
|
32
|
+
"src/backends/index-command.js": "1b6bf5d16d6f4eaa71f9c716ad1c9bcf6fb890652ad9a381dc5612627e68b666",
|
|
33
|
+
"src/backends/index-maintenance.js": "0203043d5be564fa2053836953bcd4bcbb2634833ae70a008f486b1d8d884b54",
|
|
34
|
+
"src/backends/index-store.js": "d68e4b66ee8b643e23ae6f2922844cbc8526320fb56d83843dd444d249d25f7a",
|
|
33
35
|
"src/backends/memory-2026.8.31.json": "9cf00415f7d7c2beb27ef5358c5afb6c790abeffd9fcd17cbfa4244c7624a9e6",
|
|
34
|
-
"src/backends/profiles.js": "
|
|
36
|
+
"src/backends/profiles.js": "92e29c28c2cae779e685151dae503cacacf48a6b0ad4e10a39f853f2445864e8",
|
|
35
37
|
"src/backends/review_graph.py": "f3fa776de747ed777fae6d258786e307540c5116d66b24f1dea3774b96999294",
|
|
36
|
-
"src/core/admission-fence.js": "
|
|
37
|
-
"src/core/aso-import.js": "
|
|
38
|
-
"src/core/
|
|
39
|
-
"src/core/
|
|
40
|
-
"src/core/
|
|
41
|
-
"src/core/claude-
|
|
42
|
-
"src/core/claude-
|
|
43
|
-
"src/core/claude-
|
|
44
|
-
"src/core/claude-
|
|
45
|
-
"src/core/claude-
|
|
46
|
-
"src/core/
|
|
47
|
-
"src/core/codex-
|
|
48
|
-
"src/core/
|
|
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/
|
|
38
|
+
"src/core/admission-fence.js": "aac58c2bed6d19c3bbc2b97397e13f25a10e5a92c88bf6a0c157f64cc1f7d4b8",
|
|
39
|
+
"src/core/aso-import.js": "ace0ab4ea3d0fa5a9b46c49135d976d73cd388c4762fb329db3678fd3f4adf3a",
|
|
40
|
+
"src/core/backend-lease-recovery.js": "dcc3e32698050fe3464ab44012ec4e2426043ba57a9cd26d19f773a8bc8002a4",
|
|
41
|
+
"src/core/caller-context.js": "bfdae9144c3f5162d48d3dff1052722c57dc3f864f822639fd8ca16ea70b8a13",
|
|
42
|
+
"src/core/catalog.js": "68a2602e1da262f183e90b91d4a4f2a1c47b1f3030daf616500f33d4e337d388",
|
|
43
|
+
"src/core/claude-caller-authority.js": "db01be7dd907420af08beb655ded2eb2df5eb8e12a3ff41b2ceae38c90b79d81",
|
|
44
|
+
"src/core/claude-invocation.js": "b98bbd42144949d4a618db00bde56bcbc28d1fb14e3311d366615f047dfebcfe",
|
|
45
|
+
"src/core/claude-native.js": "42be951014d172cec54048cdc1f0656c95883c9dd94b2cc1e4aca588fc61d4e2",
|
|
46
|
+
"src/core/claude-plan.js": "cc46926cc2bd55cf35996be4c34d7c9583cc0e384dd96e968996ca7720feb601",
|
|
47
|
+
"src/core/claude-transcript-scan.js": "a55bfa39e9a4e4137cf7ecd61be594f861e98eaac5cc2761429eeb2ad79b4e99",
|
|
48
|
+
"src/core/claude-worker-transcript.js": "29f020dc12758c1417a351b0767a0000dacc7edc92a05a21478e4505a6dc159f",
|
|
49
|
+
"src/core/codex-host-metadata.js": "032ed4890b1d20fda154496e929f2905c9f9f907d65ce82b17e8d3df6862ae9e",
|
|
50
|
+
"src/core/codex-transcript-receipt.js": "b4edcffbd4206a01ee824328e554282786d8e1aafe8e956b717a7de4b2a3ea5e",
|
|
51
|
+
"src/core/connection-inspector.js": "32986c61bc0a577caf8b3681e323f944eb4e591e6acb17061db847b3ee8677ab",
|
|
52
|
+
"src/core/context-metrics.js": "565c2145b864b01c5c60941f8d7641920d1b37c30750243914eba4bd9504fdda",
|
|
53
|
+
"src/core/doctor.js": "2e4f661e10267d01542b0272325f708e775895fce0fe66aa362e44a386dea84e",
|
|
54
|
+
"src/core/draining-completion.js": "598f21ca7dfbeb0695c0ca81553f0c88195979c987b4a9504b718d77491c1203",
|
|
55
|
+
"src/core/execution.js": "0cc0e98514998c6a3a633fde74bd4a1c912d2bdf327d7f4e923f543b072763d8",
|
|
56
|
+
"src/core/git-context.js": "86282dc6c457792c00773b2e154561ddbd5abea02eae90ba244126999bb75a16",
|
|
57
|
+
"src/core/hook-bridge.js": "9b9d0f5c571d9848b78cdd3825a243a3d8dc275764cd85f10da0d1ab5ef3985d",
|
|
58
|
+
"src/core/host-adapters.js": "768d8d76a936d54f094c6c0613d77f21cac7dddaf09f2cd3c95416f126d6fc0e",
|
|
59
|
+
"src/core/interrupted-operation-audit.js": "c3e32e698bdfe805374396c78606b00f7a64c84961186a6dc39e03ccb37ba124",
|
|
60
|
+
"src/core/ipc-envelope.js": "bc9c12541b180ef6f5f076d7910f10e39c8a9e818bdc1ddf9f1b211fd01cc6d6",
|
|
61
|
+
"src/core/legacy-retirement-proof.js": "0aee96220514ea140f06ee2319d4a979190bb984b7377fdb15fcde4e42754ca6",
|
|
62
|
+
"src/core/memory-scope.js": "30bd9ea4ae775b21e1413c5d5ad8319086aa7e231292e9910f765b04074fb82e",
|
|
63
|
+
"src/core/memory-store.js": "96aa7cedc3abac74ccd584ed9e620ac153387c2d5187297eeac81aa01122f2fd",
|
|
64
|
+
"src/core/model-inventory.js": "e035cd5de5eeb10a345c1797000ddaeb856377e0bdf2224492dbb7e1c2d8ef92",
|
|
65
|
+
"src/core/model-routing.js": "4479bd8eda1824f218a0528e3a2375b63e186a9f9e41482049ef545cfa3f9e91",
|
|
66
|
+
"src/core/native-dispatch.js": "c8a9942e44bc30662a2b0b7fcdfa10af3fdd7c877b65cde879df23f9c3ac848d",
|
|
67
|
+
"src/core/native-receipt.js": "4e5f67b83bcbc2c540339375f3d082fafa6abf71e2c146f15eb83089a3b4adf3",
|
|
68
|
+
"src/core/node-version.js": "eebbd2d6a1e2e5c89d32e5600d5237c57a203761e0adb049dbc922bce6a6cb96",
|
|
69
|
+
"src/core/npm-cli.js": "15d1d934298abf8727168610a8be1857601761fad216de23c79ce49b1fa47c46",
|
|
70
|
+
"src/core/owned-command-child.js": "3a5739a23df44b5b432287a7bacfdf72386920d0f17fe009d2e7edcc17a5f134",
|
|
71
|
+
"src/core/owned-command.js": "88cabfa16a38aa561d894313b0565af3024f8f33ac21cdd4725c697e99c3745f",
|
|
72
|
+
"src/core/owned-lock.js": "5dd55ae0a11dfc558a5aacefbce9fe6551867fb2ccd8fe09bfb8a4e360de0e3e",
|
|
73
|
+
"src/core/owned-process.js": "0b6ac3b2429d0dba3f40419fc1d224429b828aebecd349dd30b3e57e60c09b69",
|
|
74
|
+
"src/core/pipeline-journal.js": "f0043ab0f7d24ff32e0398f9d535240a518642d0c9937b600f84f7a96f6e501b",
|
|
75
|
+
"src/core/presentations.js": "1f84a3d4d47da1a996697ba03bfb8ee3b4f79bfbdc2da29ed7d1e5b6fb810811",
|
|
76
|
+
"src/core/quality-artifacts.js": "9f3fd8f513b171be8e0fc5f50b75349e8ecae1a2ebb5b3cf22300abed0a7c81a",
|
|
77
|
+
"src/core/quality.js": "916c4449f6c1b8c8758e4a00744372c6527c87501d11a301fde7979da036eff9",
|
|
78
|
+
"src/core/read-command.js": "26fca25116027030b062c0b08463e55b2a0c8d5b6dc431488ce7314c1e4b0e0a",
|
|
79
|
+
"src/core/readonly-skill.js": "2ef58187fcad53376ec0057a73ee9de77bb5f9ee0ecf99067b59c0ae3fbf05e7",
|
|
80
|
+
"src/core/recovery-archive.js": "98ccd9e53a429b579ea9573545f66baf5924084f8b5215f9699f916cf477f856",
|
|
81
|
+
"src/core/resource-transaction.js": "f1a507cc28ce9cfdaef0ec8cc7023361497b301c0c6f068682126b684b74e1f7",
|
|
82
|
+
"src/core/run-checkpoint.js": "8b349f36d771fffe3f5d833481d1d5eaacbfeb0bb64e834125ad92f88d940a74",
|
|
83
|
+
"src/core/run-compatibility.js": "45b5a154ecd26493c5f7e3c71bc4f897393fdf5d0145b8e007b5e4d2b11b558b",
|
|
84
|
+
"src/core/runtime-authority.js": "097d6f7c877e4d36927f7398b8900ac50e4823b6087c3da9b9d185970e7f127d",
|
|
85
|
+
"src/core/runtime-info.js": "5ecfa8547315b6da1b29d8e3c9f547f1af679e64c5fd78db3ef13e3615c36309",
|
|
86
|
+
"src/core/runtime-ownership.js": "b06648a76cf8382fffb3364298ef089d041f6d348d737543b566670872346980",
|
|
87
|
+
"src/core/session.js": "26593fabb41265ed0c11d2098e01f41c5bc852359651c5df0637934c4c1c93a2",
|
|
88
|
+
"src/core/skill-companions.js": "67a9451ae5cd3ede6498a24fad26c89fc5dae929bbe23f23fa6dfb5f8cb79f8a",
|
|
89
|
+
"src/core/skill-names.js": "9cb43392023f8a2c4d2c34ab535b20a0c180b2f024edcb130473ee261b15486a",
|
|
90
|
+
"src/core/storage-retry.js": "d71863fa470ad6c5054f9a2d4088ec94e45ae0f89aa0b2f6d90000a865df1f92",
|
|
91
|
+
"src/core/tool-contracts.js": "1ee27b033ce6785ec8dac41630d1cc63a53d4c8458ad0b7f0dccdfdd54b7c0d5",
|
|
92
|
+
"src/core/update-control.js": "68860d2fe83fa89cc74e37419a5697a3455c23a6ebff3ad42627051c21cb3ee2",
|
|
93
|
+
"src/core/upgrade-runs.js": "4bec4b7b7a12e1d7420f948c8bc0a6b45723365812f953a14ab80b2d72fd1c32",
|
|
94
|
+
"src/core/upgrade-stop.js": "1dded45ff00ca6abc6fef32f395c6099612914bcef189e683b2fb6443c904413",
|
|
95
|
+
"src/core/windows-job.js": "972f13ea9ce41086397a340e13dbd4920b49eb359e385b6791aba72efdf9e439",
|
|
88
96
|
"src/core/windows-job.ps1": "dea12ccf8d3e488cb3cd2a23617d9c85cde269ffac79ee7c00480b56faf43469",
|
|
89
|
-
"src/core/
|
|
90
|
-
"src/core/workspace-
|
|
97
|
+
"src/core/windows-legacy-query.ps1": "ef584eccb2dbffa0e180d1008e9f78a615985c33f05ebac187dde5cc6757ea4e",
|
|
98
|
+
"src/core/workspace-generation.js": "e3c6d00f19dca07c494097c528c1e2d8064639a8c461d22c59f82f3cd687319b",
|
|
99
|
+
"src/core/workspace-path.js": "77dc576b91363a5da86feb5f38c477ac961124cdf654072e6c759ced9ff6a182",
|
|
91
100
|
"src/core/xlsx-reader.py": "00e260bcd4cec0672edf92b98f0636d1f42916d7e6f15c314a78e99e615c53cd",
|
|
92
|
-
"src/installer/bounded-command.js": "
|
|
93
|
-
"src/installer/candidate-preflight.js": "
|
|
94
|
-
"src/installer/connection-activation.js": "
|
|
95
|
-
"src/installer/connection-supervisor.js": "
|
|
101
|
+
"src/installer/bounded-command.js": "90ab3e0e40c75901a7b76e6c1028a7780c4f37adb1c03a0fc1f22ecb9ee38e44",
|
|
102
|
+
"src/installer/candidate-preflight.js": "bafcdc8465e92f6cedbce036fd4950082187cf312152431307fde1eb7f9809dc",
|
|
103
|
+
"src/installer/connection-activation.js": "5987599cdadb96f459be175eff85763d07def4afb0a4fdc5a8a562b230dcd9d0",
|
|
104
|
+
"src/installer/connection-supervisor.js": "dc107ceb3f8f79827e39b5bde87867b81e00e96b814b5b78a9afd7c42577791c",
|
|
96
105
|
"src/installer/context-legacy-hashes.json": "5d73a753c91714b549f6817282d374a72daad9a5d6501b8674a89ea346f40c86",
|
|
97
|
-
"src/installer/deployment-draft.js": "
|
|
98
|
-
"src/installer/gateway-context.js": "
|
|
99
|
-
"src/installer/gateway-migration.js": "
|
|
100
|
-
"src/installer/gateway-runtime.js": "
|
|
101
|
-
"src/installer/global-setup.js": "
|
|
102
|
-
"src/installer/hook-context-client.js": "
|
|
106
|
+
"src/installer/deployment-draft.js": "48c2df823f407d54616c3252db4b01b57360b5efa22dee1b2dfd71772bc950bf",
|
|
107
|
+
"src/installer/gateway-context.js": "4077fd897f38aca89232ea41e150d0c043378ad497b49171daa9ba030e92988e",
|
|
108
|
+
"src/installer/gateway-migration.js": "f2b07e06616e4fc646ff00ee5e809a69275ef4f4efaa3941c2266d903313ec52",
|
|
109
|
+
"src/installer/gateway-runtime.js": "dd8a9b52ae72b01b0a6d39ee5c9107ca67575ff1180aca56c9fb25537ff71b79",
|
|
110
|
+
"src/installer/global-setup.js": "f350607fae067c38cc9a0e05b694f189eb6ddf1636f0cb38d0e4b247458ed9d5",
|
|
111
|
+
"src/installer/hook-context-client.js": "8bb293c0c4b3aa76b12eb42827ea0fd5c8aeea516a9eb0b01d8186478f47fc0f",
|
|
103
112
|
"src/installer/hook-dispatcher.js": "ac38d78a350442317e0fd5dd37f9520eb544eb9d384b85b0e152cf0fe44da696",
|
|
104
|
-
"src/installer/host-hooks.js": "
|
|
105
|
-
"src/installer/index-recovery.js": "
|
|
106
|
-
"src/installer/
|
|
107
|
-
"src/installer/
|
|
108
|
-
"src/installer/
|
|
109
|
-
"src/installer/
|
|
110
|
-
"src/installer/
|
|
113
|
+
"src/installer/host-hooks.js": "abc19e81044e7333638fb757d324b3666fc31d79905800a92b9de84c9a741965",
|
|
114
|
+
"src/installer/index-recovery.js": "39cdcb18a37af763c8954f6a666f930540f3ef19fe13f76dfc6e85a9ae14db39",
|
|
115
|
+
"src/installer/interrupted-operation-recovery.js": "aa0582c1e17dce7553401c74d349484af11a57e04cc27343bab308d39791abfe",
|
|
116
|
+
"src/installer/legacy-registration.js": "bdece351010582004693bf7f8e14c74d0c9ccff6e0594df097cff6305a925d18",
|
|
117
|
+
"src/installer/managed-config.js": "410fac02601e629cf503e553f9b1db2dd94ce0532c411dd1095b8bb3aaad5dde",
|
|
118
|
+
"src/installer/migration-scope.js": "03dda6cafe326b93bab4225f93b6d36a8944239aa9254e9da5cbff20d0afb2b6",
|
|
119
|
+
"src/installer/platform-config.js": "58e2d42ca254b15f44d31e8c0b01d691b92a9b1c6d6865373ba5b61b693a71da",
|
|
120
|
+
"src/installer/prerequisites.js": "b575f5600515f7275fd748c3fbf925db814c575cf3f64c04f3137d5ef99870f2",
|
|
111
121
|
"src/installer/presentations-requirements.txt": "3059dc5056a5775042e0254112b45af774b12c8b5f09b301c15877f8c255236b",
|
|
112
|
-
"src/installer/presentations.js": "
|
|
113
|
-
"src/installer/project-outcome.js": "
|
|
114
|
-
"src/installer/project-setup.js": "
|
|
115
|
-
"src/installer/registration-closure.js": "
|
|
116
|
-
"src/installer/registration-plan.js": "
|
|
117
|
-
"src/installer/registration-receipt.js": "
|
|
118
|
-
"src/installer/registrations.js": "
|
|
119
|
-
"src/installer/runtime-activation.js": "
|
|
120
|
-
"src/installer/runtime-child.js": "
|
|
121
|
-
"src/installer/runtime-cleanup.js": "
|
|
122
|
+
"src/installer/presentations.js": "dab5d8903f65491cb0492aa6891dda94adc2e4e90bb5662829864572860bbe14",
|
|
123
|
+
"src/installer/project-outcome.js": "9c6d384716b949e82c230cf8f1dccd17673055d2545e145dda8b752c7b267793",
|
|
124
|
+
"src/installer/project-setup.js": "4aba54494e847f3c0b60c52bf6f694e5ad828c925e3c4485ba11371dc37ef2e0",
|
|
125
|
+
"src/installer/registration-closure.js": "ecbf3f40351ea6e01ddd2fda4cd5e0a4f7e97378b8b9aae8bbaf67a6970e3587",
|
|
126
|
+
"src/installer/registration-plan.js": "56dfc2aaa8ea5006d7aac1eff9d8f89b2c5fd25baf4b27878cb925456168a081",
|
|
127
|
+
"src/installer/registration-receipt.js": "25d01e7ebc59d41df32ac648a3799e825e7b8c880872b60ad7ac52487b2fa67d",
|
|
128
|
+
"src/installer/registrations.js": "0aa7c9c529571f2a2d21dbd1286d08fe5b30f88d9cf06f829d9a6c88b6eae7c1",
|
|
129
|
+
"src/installer/runtime-activation.js": "9827d5514dc5e9c8c4fb908ddd6a189bdcaf011128af1ec084c6b3bb645a9d4c",
|
|
130
|
+
"src/installer/runtime-child.js": "425a6992b2ce4778a1491efbd9c732435cdcedbd5fbafe62479887fa80df03d4",
|
|
131
|
+
"src/installer/runtime-cleanup.js": "0ef158f4b6a3d2ca5239c12c35c4c5615d3ef411a70d72e96fee85278838964b",
|
|
122
132
|
"src/installer/runtime-launcher.js": "8a7c3122084ea7b901141d8230815a155014a447aa538f0c9ae4d6d6116396f5",
|
|
123
|
-
"src/installer/runtime-lock.js": "
|
|
124
|
-
"src/installer/runtime-store.js": "
|
|
125
|
-
"src/installer/runtime-supervisor.js": "
|
|
126
|
-
"src/installer/setup-wizard.js": "
|
|
127
|
-
"src/installer/update-addons.js": "
|
|
128
|
-
"src/installer/update-cleanup.js": "
|
|
129
|
-
"src/installer/update-executor.js": "
|
|
130
|
-
"src/installer/update-
|
|
131
|
-
"src/installer/update-
|
|
132
|
-
"src/installer/update-
|
|
133
|
-
"src/installer/
|
|
134
|
-
"src/installer/workspace-
|
|
135
|
-
"src/installer/workspace-
|
|
136
|
-
"src/
|
|
137
|
-
"src/license/
|
|
138
|
-
"src/license/
|
|
139
|
-
"src/license/
|
|
140
|
-
"src/
|
|
141
|
-
"src/
|
|
142
|
-
"src/proxy/
|
|
143
|
-
"src/proxy/
|
|
144
|
-
"src/proxy/
|
|
145
|
-
"src/proxy/
|
|
146
|
-
"src/proxy/
|
|
147
|
-
"src/proxy/router.js": "
|
|
148
|
-
"src/proxy/
|
|
149
|
-
"src/proxy/
|
|
133
|
+
"src/installer/runtime-lock.js": "2148e2cd46eb68d5a346366af9696c9696ba782e9c9da62bf3eb947c8a5e8d5c",
|
|
134
|
+
"src/installer/runtime-store.js": "375aa7290f33d2e7ea13837db8278de0eb84ab59269134f92b9465ddad84f734",
|
|
135
|
+
"src/installer/runtime-supervisor.js": "b072fcb6ae3b03b2b56689293de2ba7cfa5aff04c78d9e88c514468cc00ab12f",
|
|
136
|
+
"src/installer/setup-wizard.js": "41b0af558168e392726616c603ce0fb4282b34bc68181d463986c913ae78a5ce",
|
|
137
|
+
"src/installer/update-addons.js": "12f6548db475d092ad2d3f48632a6b92684482f748657006702149864b8adfbb",
|
|
138
|
+
"src/installer/update-cleanup.js": "98c80ebfe2ef74706322cb3918d650d6b1eebcf378cf01d33add9418a7079928",
|
|
139
|
+
"src/installer/update-executor.js": "31cbe646df0ba8b72760b21860a8e5c1a18c6e0ed09ed5983eb2990fe02d4b1f",
|
|
140
|
+
"src/installer/update-history.js": "aa0e333933f6003f42c8717e8258b5e18d2ec24c4e3727b7db9ef69192053475",
|
|
141
|
+
"src/installer/update-registration.js": "377e0ed774d5a086923a0b81a27f8236789265c7d41526059111344d6e4202d5",
|
|
142
|
+
"src/installer/update-request.js": "b8284a96fd4ef4a3d6010007215724e5f495d8da31dc9de7472f507248305238",
|
|
143
|
+
"src/installer/update-scope.js": "2d59a9f8bfc43130be2cabfd5534bb826df34eebd828578ec073d6c7d6a52a8f",
|
|
144
|
+
"src/installer/workspace-registry.js": "d6f203eabff90b6d2dff3fe3558d9fe02f4f45b0b42bbb694a71572b8b7edf3e",
|
|
145
|
+
"src/installer/workspace-transaction.js": "770566b6a3b06b08fd62ef1a538ce6c3bdd80cc0873c8c1ee08517f38971a816",
|
|
146
|
+
"src/installer/workspace-update.js": "515caefe6ed7ee9742c8b1e46f654de06c5abe7a5d192bccc58aad8725ad8291",
|
|
147
|
+
"src/license/crypto.js": "10203f99a8063fda4f1009e3f3e8e4cb4731aafcc750386362d814321cedb819",
|
|
148
|
+
"src/license/fingerprint.js": "d6b1706bace3c49c5cf369e35b34bb97d4fdba9173eba08f7991f65f337aba31",
|
|
149
|
+
"src/license/terms.js": "48f1a556f56459c90bee86c04eb14fb7bb96003d8395a99d13c3e3ea57d329f8",
|
|
150
|
+
"src/license/verify.js": "060487827461f889dc54254336ed709a662aa2e0bde5c134f7f33bf1c781583e",
|
|
151
|
+
"src/presets/index.js": "11cf3c3fadcc65f1ff095c62b7a288c6ae73f34595986befa0c68d1f61578e98",
|
|
152
|
+
"src/proxy/backends.js": "dc5fef82611106793648f0635cf3858a3936c40beaf9fa23bdecd44bc9a69db9",
|
|
153
|
+
"src/proxy/browser-sessions.js": "35399e458bde4f5d90e1fc2ce49892c433107e9ebe80474d27be598ffd0f521b",
|
|
154
|
+
"src/proxy/core-tools.js": "99264442b719ae795dba8ead974f57563f4da5e683159b8a6667bea7aa12ca31",
|
|
155
|
+
"src/proxy/pipeline.js": "8eb6bc0abea3c565d8fc797d57d9e83e83effc0e42d50280c7549b32f02d578f",
|
|
156
|
+
"src/proxy/public-catalog.js": "21cee81587f44a3de8d938c9a9ca11383e9ca32471cc29b6ba7f460d92d15df8",
|
|
157
|
+
"src/proxy/router.config.js": "6bdbb7d6b8b9f12cf8f2f691a933b468157cdb9db48e612747aba89d35420b4c",
|
|
158
|
+
"src/proxy/router.js": "e789d20338b78b1e60b888a4b754ad1d47119d83742d77360e50a478f77bcf45",
|
|
159
|
+
"src/proxy/server.js": "707b385ecf32d5dd587c01642a6180a58323e175982a0820686afff5a90a9ba3",
|
|
160
|
+
"src/proxy/workspace-gateway.js": "c1f2b96fce30bfe2bac118e85892adc2bb3543e4fb5f4ffd9bc5e510dfa5ea72",
|
|
150
161
|
"src/templates/AGENTS.md": "a84d4d52746aa295bf6452bbb3d63271fe83c998a5385bcc3f8fbdcba8830b91",
|
|
151
162
|
"src/templates/apt-runtime.md": "b654be066588aedd6c7f59ee4351360ebb0d16131352f817674614965525d5d8",
|
|
152
163
|
"src/templates/CLAUDE.md": "a84d4d52746aa295bf6452bbb3d63271fe83c998a5385bcc3f8fbdcba8830b91",
|
|
@@ -163,5 +174,5 @@
|
|
|
163
174
|
"src/templates/windsurfrules.md": "a84d4d52746aa295bf6452bbb3d63271fe83c998a5385bcc3f8fbdcba8830b91",
|
|
164
175
|
"technical-sources-check.js": "10877f5214db1a7040d73d1047126e2ed62a2b06c06a9605fdfb7813564451dd"
|
|
165
176
|
},
|
|
166
|
-
"signature": "
|
|
177
|
+
"signature": "avlXCT-fgq5bErJOPdZ_cNyVGeh4C99c44bGyUO9siBbEahSODitHZoMMT_gEsoaZ6Re5W_-nbpRmQBIhvDJDA"
|
|
167
178
|
}
|
package/package.json
CHANGED
package/release-check.js
CHANGED
|
@@ -388,8 +388,18 @@ async function main() {
|
|
|
388
388
|
const realWorkspace = path.join(temp, 'real backend workspace');
|
|
389
389
|
fs.mkdirSync(realWorkspace);
|
|
390
390
|
fs.writeFileSync(path.join(realWorkspace, 'sample.py'), 'def callee():\n return 1\ndef caller():\n return callee()\n');
|
|
391
|
-
const indexCli = path.join(installed.path, 'src/backends/index-store.js');
|
|
392
|
-
const reportFile = path.join(realWorkspace, '.agents/runtime/backends/index-build-last.json');
|
|
391
|
+
const indexCli = path.join(installed.path, 'src/backends/index-store.js');
|
|
392
|
+
const reportFile = path.join(realWorkspace, '.agents/runtime/backends/index-build-last.json');
|
|
393
|
+
const backendPaths = kind => {
|
|
394
|
+
const report = JSON.parse(fs.readFileSync(reportFile, 'utf8'));
|
|
395
|
+
assert.equal(report.status, 'built');
|
|
396
|
+
const backend = report.backends.find(item => item.backend === kind);
|
|
397
|
+
assert.equal(backend?.functionalReady, true);
|
|
398
|
+
const contains = require(path.join(installed.path, 'src/core/workspace-path')).containsWorkspace;
|
|
399
|
+
assert.ok(contains(realWorkspace, backend.cache) && contains(realWorkspace, backend.database));
|
|
400
|
+
assert.equal(path.dirname(backend.database), backend.cache);
|
|
401
|
+
return backend;
|
|
402
|
+
};
|
|
393
403
|
for (let cycle = 0; cycle < 3; cycle++) {
|
|
394
404
|
if (cycle === 2) {
|
|
395
405
|
// Cross CodeGraph's 500-file tool visibility boundary on restart.
|
|
@@ -398,15 +408,14 @@ async function main() {
|
|
|
398
408
|
}
|
|
399
409
|
// Simulate the upstream two-minute stale-lock threshold in this fixture.
|
|
400
410
|
// Never age a lock unless its recorded PID is already confirmed dead.
|
|
401
|
-
const nativeLock = path.join(
|
|
402
|
-
if (
|
|
411
|
+
const nativeLock = cycle ? path.join(backendPaths('codegraph').cache, 'codegraph.lock') : null;
|
|
412
|
+
if (nativeLock && fs.existsSync(nativeLock)) {
|
|
403
413
|
const pid = Number(fs.readFileSync(nativeLock, 'utf8'));
|
|
404
414
|
assert.ok(Number.isSafeInteger(pid) && pid > 0);
|
|
405
415
|
assert.throws(() => process.kill(pid, 0), {code:'ESRCH'});
|
|
406
416
|
fs.utimesSync(nativeLock, new Date(0), new Date(0));
|
|
407
417
|
}
|
|
408
|
-
|
|
409
|
-
if (cycle === 1) fs.writeFileSync(path.join(reviewCache, 'graph.db'), 'package recovery fixture');
|
|
418
|
+
if (cycle === 1) fs.writeFileSync(backendPaths('code-review-graph').database, 'package recovery fixture');
|
|
410
419
|
execFileSync(process.execPath, [indexCli, realWorkspace], { windowsHide:true, stdio:'inherit', timeout:120000 });
|
|
411
420
|
const report = JSON.parse(fs.readFileSync(reportFile, 'utf8'));
|
|
412
421
|
assert.equal(report.status, 'built');
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function _0x222b(_0x59779b,_0x5df3d2){_0x59779b=_0x59779b-0x1b3;const _0x353275=_0x3532();let _0x222b99=_0x353275[_0x59779b];if(_0x222b['uFwjQz']===undefined){var _0xd7a66f=function(_0xe3bbfd){const _0x569970='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x18435f='',_0x5d23b1='';for(let _0x3e8255=0x0,_0x784e9c,_0x367e10,_0x462162=0x0;_0x367e10=_0xe3bbfd['charAt'](_0x462162++);~_0x367e10&&(_0x784e9c=_0x3e8255%0x4?_0x784e9c*0x40+_0x367e10:_0x367e10,_0x3e8255++%0x4)?_0x18435f+=String['fromCharCode'](0xff&_0x784e9c>>(-0x2*_0x3e8255&0x6)):0x0){_0x367e10=_0x569970['indexOf'](_0x367e10);}for(let _0x4b1277=0x0,_0x115fdf=_0x18435f['length'];_0x4b1277<_0x115fdf;_0x4b1277++){_0x5d23b1+='%'+('00'+_0x18435f['charCodeAt'](_0x4b1277)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x5d23b1);};_0x222b['IVKTcu']=_0xd7a66f,_0x222b['MORiKw']={},_0x222b['uFwjQz']=!![];}const _0x301685=_0x353275[0x0],_0x4922ed=_0x59779b+_0x301685,_0x16263d=_0x222b['MORiKw'][_0x4922ed];return!_0x16263d?(_0x222b99=_0x222b['IVKTcu'](_0x222b99),_0x222b['MORiKw'][_0x4922ed]=_0x222b99):_0x222b99=_0x16263d,_0x222b99;}const _0x193c19=_0x222b;(function(_0x5b0aeb,_0x4af76d){const _0x11a1a4=_0x222b,_0xff6bd7=_0x5b0aeb();while(!![]){try{const _0x542902=-parseInt(_0x11a1a4(0x1b3))/0x1*(-parseInt(_0x11a1a4(0x1c2))/0x2)+-parseInt(_0x11a1a4(0x1be))/0x3*(-parseInt(_0x11a1a4(0x1b6))/0x4)+parseInt(_0x11a1a4(0x1ca))/0x5+-parseInt(_0x11a1a4(0x1c7))/0x6*(parseInt(_0x11a1a4(0x1bb))/0x7)+-parseInt(_0x11a1a4(0x1c9))/0x8+parseInt(_0x11a1a4(0x1c3))/0x9*(-parseInt(_0x11a1a4(0x1c0))/0xa)+parseInt(_0x11a1a4(0x1b8))/0xb*(parseInt(_0x11a1a4(0x1b9))/0xc);if(_0x542902===_0x4af76d)break;else _0xff6bd7['push'](_0xff6bd7['shift']());}catch(_0x4821cb){_0xff6bd7['push'](_0xff6bd7['shift']());}}}(_0x3532,0x29b7d));const {tools}=require(_0x193c19(0x1b7)),_0x18435f={};_0x18435f['type']=_0x193c19(0x1bf),_0x18435f[_0x193c19(0x1c6)]=_0x193c19(0x1c1);const _0x5d23b1={};function _0x3532(){const _0x5a4f49=['otGXnda1CLn4txfJ','ndG3nZbcueTvDLy','v29YA2vYigLKzw50Axr5oYbKzwzHDwX0CYb0BYbJB29YzgLUyxrVCI4','ChjVCgvYDgLLCW','mtuZmJb3ze9YB04','lI9ICM93C2vYlxrVB2XZltaUmc44mI5QC29U','mJa5vxPMvuPh','mtK3mJq0tM12veHA','yxb0vgfZAW','mZvKvKvHDNq','CMvXDwLYzwq','zxHWB3j0CW','mti2qNvTzvzb','C3rYAw5N','mZe1mZG5men2zNrQAq','u3rHyMXLihrHC2SGAwrLBNrPDhK7ihjLDxnLigzVCIb0AgLZihrHC2SU','mMXoA1nWsa','oxLKt1vTzW','DhLWzq','Aw5WDxrty2HLBwe','zgvZy3jPChrPB24','mJyWnZqYCgHhC1j0','BwfW','mte3mZa0z29esgDj'];_0x3532=function(){return _0x5a4f49;};return _0x3532();}_0x5d23b1[_0x193c19(0x1c4)]=_0x193c19(0x1bf),_0x5d23b1['description']=_0x193c19(0x1b4),module[_0x193c19(0x1bd)]=tools[_0x193c19(0x1c8)](_0x3e8255=>({..._0x3e8255,'inputSchema':{..._0x3e8255[_0x193c19(0x1c5)],'properties':{..._0x3e8255[_0x193c19(0x1c5)][_0x193c19(0x1b5)],'aptTask':_0x18435f,'aptWorker':_0x5d23b1},'required':[..._0x3e8255[_0x193c19(0x1c5)][_0x193c19(0x1bc)]||[],_0x193c19(0x1ba)]}}));
|
|
@@ -0,0 +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 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const _0xe67155=_0x2dd7;(function(_0x55c1f9,_0x34cd98){const _0x49d3c7=_0x2dd7,_0x325e01=_0x55c1f9();while(!![]){try{const _0x34b814=-parseInt(_0x49d3c7(0xab))/0x1*(-parseInt(_0x49d3c7(0xc0))/0x2)+parseInt(_0x49d3c7(0xa5))/0x3*(parseInt(_0x49d3c7(0xb6))/0x4)+parseInt(_0x49d3c7(0xb5))/0x5*(parseInt(_0x49d3c7(0x9a))/0x6)+-parseInt(_0x49d3c7(0xa9))/0x7+parseInt(_0x49d3c7(0xc1))/0x8+parseInt(_0x49d3c7(0xb0))/0x9*(-parseInt(_0x49d3c7(0xc3))/0xa)+parseInt(_0x49d3c7(0xad))/0xb*(-parseInt(_0x49d3c7(0xbe))/0xc);if(_0x34b814===_0x34cd98)break;else _0x325e01['push'](_0x325e01['shift']());}catch(_0x295325){_0x325e01['push'](_0x325e01['shift']());}}}(_0x1ee0,0xb54b6));function _0x2dd7(_0x20db56,_0x1110da){_0x20db56=_0x20db56-0x9a;const _0x1ee011=_0x1ee0();let _0x2dd77e=_0x1ee011[_0x20db56];if(_0x2dd7['nQMXMX']===undefined){var _0x395551=function(_0x2d18ec){const _0x57fd39='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x39dfaa='',_0x38517d='';for(let _0x3f17a2=0x0,_0x102d8f,_0xe1cf45,_0x288f43=0x0;_0xe1cf45=_0x2d18ec['charAt'](_0x288f43++);~_0xe1cf45&&(_0x102d8f=_0x3f17a2%0x4?_0x102d8f*0x40+_0xe1cf45:_0xe1cf45,_0x3f17a2++%0x4)?_0x39dfaa+=String['fromCharCode'](0xff&_0x102d8f>>(-0x2*_0x3f17a2&0x6)):0x0){_0xe1cf45=_0x57fd39['indexOf'](_0xe1cf45);}for(let _0x2b0e60=0x0,_0x15da9c=_0x39dfaa['length'];_0x2b0e60<_0x15da9c;_0x2b0e60++){_0x38517d+='%'+('00'+_0x39dfaa['charCodeAt'](_0x2b0e60)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x38517d);};_0x2dd7['OmZShr']=_0x395551,_0x2dd7['qkeaCj']={},_0x2dd7['nQMXMX']=!![];}const _0x3151f4=_0x1ee011[0x0],_0x5c68a0=_0x20db56+_0x3151f4,_0x482869=_0x2dd7['qkeaCj'][_0x5c68a0];return!_0x482869?(_0x2dd77e=_0x2dd7['OmZShr'](_0x2dd77e),_0x2dd7['qkeaCj'][_0x5c68a0]=_0x2dd77e):_0x2dd77e=_0x482869,_0x2dd77e;}function _0x1ee0(){const _0x53b5dd=['nw5dt3bstW','nfD2DvDmvG','zxjYB3i','su5ervHFqLvtwq','DgLTzw91Da','su5ervHFu0LhtKfm','zMLSDgvY','AxntywzLsw50zwDLCG','su5ervHFt1vuq09nrv9vtKTot1Do','mtjlueTiCuO','BM93','mK52EurWyq','mJaYmda0og9PEhj6BG','DgvZDa','mtaXndiWs2Pds0fM','ntaYodC5oevfq1rArG','su5ervHFqLvjterFrKfjteve','AxnjBNrLz2vY','C2H1DgrVD25fCNjVCG','qvbux0Lorevyx1rjtuvpvvrFtvm','su5ervHFq09suLvqva','su5ervHFu1rpuf9vtKnptKzjuK1fra','zgLHz25VC3rPyW','yxnZAwDU','C3rKzxjY','y2f1C2u','mJm1odu5mxHtBLDywG','BwvZC2fNzq','CMvHC29U','CNvUsw5KzxHdB21Tyw5K','otKWoti5ogDovw9zwa','su5ervHFveLnru9vva','mtaZnJi3mvrHu0j1CW','Aw5KzxHuAw1LB3v0','mZCYotK3ou9XDwvNvq','qvbux0Lorevyx1rjtuvpvvrFtvmGBxvZDcbIzsbHihbVC2L0AxzLigLUDgvNzxiGyMvSB3CGmJe0nZq4mZy0oa','Aw5KzxGTy29TBwfUzc1JB21WBgv0zwq','mZy5r2jLAfz0','C3rHDhvZ','C2XPy2u','y29Kzq','C2LNBMfS'];_0x1ee0=function(){return _0x53b5dd;};return _0x1ee0();}const {runOwnedCommand}=require('../core/owned-command');function indexTimeout(_0xe1cf45=process.env){const _0x4f3e5d=_0x2dd7,_0x288f43=_0xe1cf45[_0x4f3e5d(0x9e)];if(_0x288f43===undefined||_0x288f43==='')return 0x1e*0x3c*0x3e8;const _0x2b0e60=Number(_0x288f43);if(!Number[_0x4f3e5d(0xbc)](_0x2b0e60)||_0x2b0e60<0x1||_0x2b0e60>0x7fffffff)throw new Error(_0x4f3e5d(0xae));return _0x2b0e60;}async function runIndexCommand(_0x15da9c,_0x267d5d,_0x84db9e={}){const _0x2c1b44=_0x2dd7,_0x59a967=Date[_0x2c1b44(0xbf)](),_0x5f384a=_0x84db9e['timeout']??indexTimeout(),_0x4b562d={..._0x84db9e};_0x4b562d[_0x2c1b44(0xb9)]=_0x5f384a,_0x4b562d[_0x2c1b44(0xa7)]=_0x2c1b44(0xaf);const _0x43e810=await runOwnedCommand(_0x15da9c,_0x267d5d,_0x4b562d),{stdout:_0x1295f2,stderr:_0xeef79}=_0x43e810,_0x59105d=_0x43e810[_0x2c1b44(0x9d)]||_0x43e810[_0x2c1b44(0xb7)]||(_0x43e810[_0x2c1b44(0xb1)]!==0x0?Object[_0x2c1b44(0xa2)](new Error('Index\x20command\x20exited\x20unsuccessfully'),{'code':_0x43e810['status'],'signal':_0x43e810[_0x2c1b44(0xb4)]}):null),_0x36cfd7=Date[_0x2c1b44(0xbf)](),_0x485b62=_0x43e810[_0x2c1b44(0xb7)]?.[_0x2c1b44(0xb3)]==='ETIMEDOUT',_0x49fec6={'executable':_0x15da9c,'args':_0x267d5d,'startedAt':new Date(_0x59a967)['toISOString'](),'endedAt':new Date(_0x36cfd7)['toISOString'](),'durationMs':_0x36cfd7-_0x59a967,'exitCode':_0x59105d?Number[_0x2c1b44(0x9c)](_0x59105d['code'])?_0x59105d[_0x2c1b44(0xb3)]:null:0x0,'signal':_0x43e810[_0x2c1b44(0xb4)]||null,'timedOut':_0x485b62,'shutdownEvidence':_0x43e810['shutdownEvidence'],'stopError':_0x43e810[_0x2c1b44(0x9d)]?.[_0x2c1b44(0xb3)]||null,'stdout':String(_0x1295f2||'')[_0x2c1b44(0xb2)](-0x3e80),'stderr':String(_0xeef79||'')['slice'](-0x3e80)},_0x2da2bb={};_0x2da2bb['stdout']=_0x1295f2,_0x2da2bb[_0x2c1b44(0xa3)]=_0xeef79,_0x2da2bb[_0x2c1b44(0xa1)]=_0x49fec6;if(!_0x59105d)return _0x2da2bb;const _0x1e9d94=[_0xeef79,_0x1295f2,_0x59105d[_0x2c1b44(0xa6)]][_0x2c1b44(0xbb)](Boolean)['join']('\x0a'),_0x13f6ec=_0x43e810['shutdownError']?_0x2c1b44(0xa0):_0x59105d['code']===_0x2c1b44(0xbd)||/\bINDEX_OUTCOME_UNKNOWN\b/[_0x2c1b44(0xc2)](_0x1e9d94)?_0x2c1b44(0xbd):/\bINDEX_STOP_UNCONFIRMED\b/['test'](_0x1e9d94)?_0x2c1b44(0xa0):_0x485b62?_0x2c1b44(0xaa):/database disk image is malformed|file is not a database|SQLITE_CORRUPT|SQLITE_NOTADB/i[_0x2c1b44(0xc2)](_0x1e9d94)?_0x2c1b44(0x9f):/\bINDEX_BUSY\b|database is locked|SQLITE_BUSY|locked by another process/i['test'](_0x1e9d94)?_0x2c1b44(0xb8):_0x59105d[_0x2c1b44(0xb4)]?_0x2c1b44(0xba):_0x2c1b44(0x9b),_0x29313f={};_0x29313f[_0x2c1b44(0xb3)]=_0x13f6ec,_0x29313f[_0x2c1b44(0xa1)]=_0x49fec6,_0x29313f[_0x2c1b44(0xa4)]=_0x59105d;throw Object[_0x2c1b44(0xa2)](new Error(_0x1e9d94[_0x2c1b44(0xb2)](-0x3e80)),_0x29313f);}const _0x102d8f={};_0x102d8f[_0xe67155(0xac)]=indexTimeout,_0x102d8f[_0xe67155(0xa8)]=runIndexCommand,module['exports']=_0x102d8f;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
'use strict';const _0x1b66bf=_0x4b91;(function(_0x2209e2,_0x85be05){const _0x5d3aa3=_0x4b91,_0x12a555=_0x2209e2();while(!![]){try{const _0x27812b=-parseInt(_0x5d3aa3(0x1a6))/0x1*(-parseInt(_0x5d3aa3(0x1a7))/0x2)+-parseInt(_0x5d3aa3(0x18c))/0x3*(-parseInt(_0x5d3aa3(0x1bc))/0x4)+-parseInt(_0x5d3aa3(0x162))/0x5+-parseInt(_0x5d3aa3(0x196))/0x6+parseInt(_0x5d3aa3(0x17e))/0x7+parseInt(_0x5d3aa3(0x1b7))/0x8*(parseInt(_0x5d3aa3(0x17d))/0x9)+parseInt(_0x5d3aa3(0x17c))/0xa*(-parseInt(_0x5d3aa3(0x19e))/0xb);if(_0x27812b===_0x85be05)break;else _0x12a555['push'](_0x12a555['shift']());}catch(_0x5169d3){_0x12a555['push'](_0x12a555['shift']());}}}(_0x2146,0x94d6f));const fs=require(_0x1b66bf(0x15a)),path=require(_0x1b66bf(0x19f)),crypto=require(_0x1b66bf(0x1b9)),{sameWorkspace}=require('../core/workspace-path'),{safePath}=require('./index-cache-authority'),contexts=new WeakMap(),fail=(_0x13dfb2,_0x266797)=>{const _0x5aadda=_0x1b66bf,_0x447285={};_0x447285['code']=_0x13dfb2;throw Object[_0x5aadda(0x18b)](Error(_0x266797),_0x447285);},sha=_0x48233f=>crypto[_0x1b66bf(0x183)](_0x1b66bf(0x1af))[_0x1b66bf(0x1ab)](_0x48233f)[_0x1b66bf(0x1a3)]('hex');function updateLock(_0xf4193c){const _0x1cfbc6=_0x1b66bf,_0x4d83cd=safePath(_0xf4193c,path[_0x1cfbc6(0x194)](_0xf4193c,_0x1cfbc6(0x164)));try{return JSON['parse'](fs['readFileSync'](_0x4d83cd));}catch(_0x7f8d3b){if(_0x7f8d3b[_0x1cfbc6(0x199)]===_0x1cfbc6(0x178))return null;throw _0x7f8d3b;}}function committedFence(_0x1ed456){const _0x52df42=_0x1b66bf,_0xfe980e=safePath(_0x1ed456,path[_0x52df42(0x194)](_0x1ed456,'.agents/runtime/admission.json'));let _0x4059f6;try{_0x4059f6=JSON[_0x52df42(0x192)](fs[_0x52df42(0x1aa)](_0xfe980e));}catch(_0x56cb98){if(_0x56cb98[_0x52df42(0x199)]===_0x52df42(0x178))fail(_0x52df42(0x1ac),'Committed\x20admission\x20fence\x20is\x20missing');throw _0x56cb98;}if(_0x4059f6['state']!=='open'||!Number[_0x52df42(0x1ba)](_0x4059f6[_0x52df42(0x193)])||_0x4059f6['epoch']<0x0)fail(_0x52df42(0x1ac),'Committed\x20admission\x20fence\x20is\x20not\x20open');return _0x4059f6;}function _0x4b91(_0x2a83e3,_0x553c4d){_0x2a83e3=_0x2a83e3-0x158;const _0x214632=_0x2146();let _0x4b918e=_0x214632[_0x2a83e3];if(_0x4b91['HKktSn']===undefined){var _0x3ef05c=function(_0x524bc8){const _0x4a4c74='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x37ebbe='',_0x162fbc='';for(let _0x527b35=0x0,_0x54e51c,_0x157d75,_0x13dfb2=0x0;_0x157d75=_0x524bc8['charAt'](_0x13dfb2++);~_0x157d75&&(_0x54e51c=_0x527b35%0x4?_0x54e51c*0x40+_0x157d75:_0x157d75,_0x527b35++%0x4)?_0x37ebbe+=String['fromCharCode'](0xff&_0x54e51c>>(-0x2*_0x527b35&0x6)):0x0){_0x157d75=_0x4a4c74['indexOf'](_0x157d75);}for(let _0x266797=0x0,_0x447285=_0x37ebbe['length'];_0x266797<_0x447285;_0x266797++){_0x162fbc+='%'+('00'+_0x37ebbe['charCodeAt'](_0x266797)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x162fbc);};_0x4b91['stXIWs']=_0x3ef05c,_0x4b91['TXRyVo']={},_0x4b91['HKktSn']=!![];}const _0x362a09=_0x214632[0x0],_0x337d5e=_0x2a83e3+_0x362a09,_0x2c4f4a=_0x4b91['TXRyVo'][_0x337d5e];return!_0x2c4f4a?(_0x4b918e=_0x4b91['stXIWs'](_0x4b918e),_0x4b91['TXRyVo'][_0x337d5e]=_0x4b918e):_0x4b918e=_0x2c4f4a,_0x4b918e;}function checkpoints(_0x9b867b){const _0x51cc2e=_0x1b66bf;return[_0x51cc2e(0x1ad),_0x51cc2e(0x189)][_0x51cc2e(0x16e)](_0x2fe486=>{const _0x211196=_0x51cc2e,_0x4a8ef0=safePath(_0x9b867b,path[_0x211196(0x194)](_0x9b867b,_0x211196(0x16b),_0x2fe486));try{const _0x5f5285=fs[_0x211196(0x1aa)](_0x4a8ef0),_0x12098e=JSON[_0x211196(0x192)](_0x5f5285);if(!_0x12098e['workspace']||!sameWorkspace(_0x12098e['workspace'],_0x9b867b))fail('FOREIGN_WORKSPACE_STATE','Index\x20checkpoint\x20belongs\x20to\x20another\x20workspace');const _0x5db07d={};return _0x5db07d['file']=_0x4a8ef0,_0x5db07d['value']=_0x12098e,[_0x5db07d];}catch(_0x2f5a6e){if(_0x2f5a6e['code']==='ENOENT')return[];throw _0x2f5a6e;}});}const unknown=_0x13b210=>_0x13b210['indexResult']?.[_0x1b66bf(0x167)]===_0x1b66bf(0x182)||['INDEX_OUTCOME_UNKNOWN',_0x1b66bf(0x168)][_0x1b66bf(0x190)](_0x13b210[_0x1b66bf(0x16a)]?.[_0x1b66bf(0x199)]),reserved=_0x65b976=>unknown(_0x65b976)||_0x65b976['indexResult']?.[_0x1b66bf(0x167)]===_0x1b66bf(0x18f)||_0x65b976['rebuildIndex']===!![]&&_0x65b976['indexPhase']===_0x1b66bf(0x17f)&&![_0x1b66bf(0x15c),_0x1b66bf(0x191)][_0x1b66bf(0x190)](_0x65b976[_0x1b66bf(0x16a)]?.[_0x1b66bf(0x167)]);function reservationApplies(_0x485d24,_0x22a2c3){const _0x1487fe=_0x1b66bf;if(!reserved(_0x22a2c3))return![];if(_0x22a2c3[_0x1487fe(0x16a)]||![_0x1487fe(0x1a8),_0x1487fe(0x1ae),_0x1487fe(0x15d)][_0x1487fe(0x190)](_0x22a2c3[_0x1487fe(0x167)])||_0x22a2c3[_0x1487fe(0x172)]!==![])return!![];const _0x2d43fb=require(_0x1487fe(0x19a))['readGeneration'](_0x485d24);if(!_0x2d43fb||!_0x2d43fb[_0x1487fe(0x160)]||!sameWorkspace(_0x2d43fb[_0x1487fe(0x160)],_0x485d24)||_0x2d43fb['transactionId']===_0x22a2c3[_0x1487fe(0x195)]||require(_0x1487fe(0x1b5))[_0x1487fe(0x181)](_0x485d24)[_0x1487fe(0x1b6)]!==_0x1487fe(0x177))return!![];if(sha(fs[_0x1487fe(0x1aa)](safePath(_0x485d24,path['join'](_0x485d24,'.agents/manifest.json'))))!==_0x2d43fb[_0x1487fe(0x18e)])return!![];return require('../core/runtime-authority')[_0x1487fe(0x1a9)](_0x485d24)[_0x1487fe(0x166)]!==!![];}function assertIndexAccess(_0x1cb462,_0x367aec){const _0x55f75c=_0x1b66bf;for(const _0x32173d of checkpoints(_0x1cb462)){if(unknown(_0x32173d[_0x55f75c(0x165)]))fail(_0x55f75c(0x188),_0x55f75c(0x17b));if(reservationApplies(_0x1cb462,_0x32173d[_0x55f75c(0x165)])){const _0x2ff225=_0x367aec&&contexts[_0x55f75c(0x15b)](_0x367aec);if(!_0x2ff225||_0x2ff225[_0x55f75c(0x16c)]!==_0x32173d[_0x55f75c(0x16c)])fail(_0x55f75c(0x184),_0x55f75c(0x1a2));validateRunner(_0x1cb462,_0x32173d,_0x2ff225);}}}function validateRunner(_0x10f9d1,_0x23b7e4,_0x52ae94){const _0x37f3b5=_0x1b66bf,_0x5cd8eb=_0x23b7e4[_0x37f3b5(0x165)],_0x24c253=_0x5cd8eb['indexResult']?.['execution'],_0x3effc7=require(_0x37f3b5(0x19a))[_0x37f3b5(0x1a0)](_0x10f9d1),_0x5b5fcf=committedFence(_0x10f9d1);if(_0x5cd8eb[_0x37f3b5(0x16a)]?.['status']!==_0x37f3b5(0x18f)||unknown(_0x5cd8eb)||!_0x24c253||JSON[_0x37f3b5(0x197)](_0x24c253)!==JSON['stringify'](_0x52ae94[_0x37f3b5(0x1bd)])||_0x5b5fcf[_0x37f3b5(0x193)]!==_0x24c253[_0x37f3b5(0x16f)]||!_0x3effc7||!Number[_0x37f3b5(0x1ba)](_0x3effc7[_0x37f3b5(0x171)])||_0x3effc7[_0x37f3b5(0x171)]<0x1||_0x5b5fcf[_0x37f3b5(0x171)]!=null&&_0x5b5fcf['generation']!==_0x3effc7[_0x37f3b5(0x171)]||!/^[a-f0-9]{64}$/[_0x37f3b5(0x1b3)](_0x3effc7[_0x37f3b5(0x19b)]||'')||!sameWorkspace(_0x3effc7[_0x37f3b5(0x160)],_0x10f9d1)||_0x5cd8eb[_0x37f3b5(0x1b4)]?.[_0x37f3b5(0x159)]!==_0x52ae94[_0x37f3b5(0x1b4)][_0x37f3b5(0x159)]||_0x5cd8eb[_0x37f3b5(0x1b4)]?.[_0x37f3b5(0x1a3)]!==_0x52ae94[_0x37f3b5(0x1b4)][_0x37f3b5(0x1a3)]||[_0x37f3b5(0x171),_0x37f3b5(0x18e),_0x37f3b5(0x19b)]['some'](_0x1b9f9f=>_0x5cd8eb[_0x1b9f9f]!==_0x3effc7[_0x1b9f9f])||_0x5cd8eb['transactionId']!==(_0x3effc7[_0x37f3b5(0x195)]??null)||[_0x37f3b5(0x171),_0x37f3b5(0x18e),'catalogHash'][_0x37f3b5(0x18a)](_0x4cd7a3=>_0x24c253[_0x4cd7a3]!==_0x3effc7[_0x4cd7a3])||_0x24c253[_0x37f3b5(0x195)]!==(_0x3effc7[_0x37f3b5(0x195)]??null)||_0x3effc7[_0x37f3b5(0x159)]!==_0x52ae94[_0x37f3b5(0x1b4)][_0x37f3b5(0x159)]||_0x3effc7[_0x37f3b5(0x1a3)]!==_0x52ae94[_0x37f3b5(0x1b4)][_0x37f3b5(0x1a3)]||sha(fs[_0x37f3b5(0x1aa)](safePath(_0x10f9d1,path[_0x37f3b5(0x194)](_0x10f9d1,'.agents/manifest.json'))))!==_0x3effc7[_0x37f3b5(0x18e)])fail(_0x37f3b5(0x1ac),_0x37f3b5(0x19c));const _0x3bcd68=require(_0x37f3b5(0x18d))['processIdentity'],_0x3e11f7=_0x3bcd68(process['pid']),_0x431038=_0x3bcd68(_0x24c253['launcherPid']),_0x2c7668=_0x3bcd68(_0x24c253[_0x37f3b5(0x198)]);if(!_0x3e11f7||_0x3e11f7[_0x37f3b5(0x16d)]!==_0x24c253['launcherPid']||!_0x431038||!_0x2c7668||_0x431038[_0x37f3b5(0x187)]!==_0x24c253['launcherProcessStart']||_0x431038[_0x37f3b5(0x16d)]!==_0x24c253[_0x37f3b5(0x198)]||_0x2c7668[_0x37f3b5(0x187)]!==_0x24c253['coordinatorProcessStart'])fail(_0x37f3b5(0x1ac),_0x37f3b5(0x170));const _0x280d69=updateLock(_0x10f9d1);if(!_0x280d69||_0x280d69[_0x37f3b5(0x19d)]!==_0x2c7668[_0x37f3b5(0x19d)]||_0x280d69[_0x37f3b5(0x158)]!==_0x2c7668['start']||_0x280d69['token']!==_0x24c253[_0x37f3b5(0x1b1)])fail(_0x37f3b5(0x1ac),_0x37f3b5(0x1bb));}function authenticateIndexRunner(_0xdf320){const _0x5a3309=_0x1b66bf;_0xdf320=fs['realpathSync'](_0xdf320);const _0x292869=checkpoints(_0xdf320);if(!_0x292869[_0x5a3309(0x18a)](_0x18fa9d=>reservationApplies(_0xdf320,_0x18fa9d['value'])))return null;if(_0x292869[_0x5a3309(0x18a)](_0x1d82d7=>unknown(_0x1d82d7[_0x5a3309(0x165)])))fail(_0x5a3309(0x188),_0x5a3309(0x17b));const _0x3c672a=_0x292869[_0x5a3309(0x1a1)](_0xb06098=>_0xb06098[_0x5a3309(0x165)][_0x5a3309(0x16a)]?.[_0x5a3309(0x167)]==='running'&&_0xb06098[_0x5a3309(0x165)][_0x5a3309(0x16a)][_0x5a3309(0x1bd)]);if(!_0x3c672a)fail('INDEX_RUNNER_UNAUTHORIZED',_0x5a3309(0x175));const _0x519961=path[_0x5a3309(0x179)](__dirname,_0x5a3309(0x173)),_0x370533=require('../installer/runtime-store')[_0x5a3309(0x161)](_0x519961,_0x3c672a[_0x5a3309(0x165)][_0x5a3309(0x1bf)]),_0x5c3456={};_0x5c3456[_0x5a3309(0x16c)]=_0x3c672a[_0x5a3309(0x16c)],_0x5c3456['target']=_0x370533,_0x5c3456[_0x5a3309(0x1bd)]=_0x3c672a[_0x5a3309(0x165)][_0x5a3309(0x16a)][_0x5a3309(0x1bd)];const _0x414bee=_0x5c3456;validateRunner(_0xdf320,_0x3c672a,_0x414bee);const _0x19c2ac=Object[_0x5a3309(0x1a4)]({});return contexts[_0x5a3309(0x186)](_0x19c2ac,_0x414bee),assertIndexAccess(_0xdf320,_0x19c2ac),_0x19c2ac;}function _0x2146(){const _0x1a13c6=['lMfNzw50CY9YDw50Aw1Ll3vWzgf0zs5SB2nR','DMfSDwu','Bxv0yxrPB25bBgXVD2vK','C3rHDhvZ','su5ervHFu1rpuf9vtKnptKzjuK1fra','CMfUzg9Tvvvjra','Aw5KzxHszxn1Bhq','lMfNzw50CY9YDw50Aw1L','zMLSzq','CgfYzw50ugLK','zMXHDe1HCa','zMvUy2vfCg9JAa','sw5KzxGGBgf1BMnOzxiGB3DUzxjZAgLWigLZig5VDcbJB25MAxjTzwq','z2vUzxjHDgLVBG','CMvZB3vYy2vZqxbWBgLLza','lI4VlI4','Dg9Rzw4','sw5KzxGGy29TBwfUzcbOyxmGBM8Gyxv0Ag9YAxPLzcbSyxvUy2G','sw5KzxGGBwfPBNrLBMfUy2uGCMvZzxj2yxrPB25ZignVBMzSAwn0','B3bLBG','ru5pru5u','CMvZB2X2zq','zNn5BMntEw5J','sw5KzxGGy29TBwfUzcbVDxrJB21LigLZihvUy29UzMLYBwvK','ndiWotC0mfretwLiCG','mtiWntGXmvbRwNH3wG','mZy3odKXm2jtzuvvwq','Cg9ZDc1Hy3rPDMf0Aw9U','B3bLBLn5BMm','CMvHzezLBMnL','Dw5RBM93BG','y3jLyxrLsgfZAa','su5ervHFqLvtwq','Dg9tDhjPBMC','C2v0','C3rHCNq','su5ervHFt1vuq09nrv9vtKTot1Do','Aw5KzxGTBwfPBNrLBMfUy2uUANnVBG','C29Tzq','yxnZAwDU','mJq2otngDxbVvuC','lI4Vy29Yzs9VD25Lzc1WCM9JzxnZ','CMvZB3vYy2veAwDLC3q','CNvUBMLUzW','Aw5JBhvKzxm','zMfPBgvK','CgfYC2u','zxbVy2G','AM9PBG','DhjHBNnHy3rPB25jza','mJiXotiWmLrxrhDIwq','C3rYAw5NAwz5','y29VCMrPBMf0B3jqAwq','y29Kzq','lI4Vy29Yzs93B3jRC3bHy2uTz2vUzxjHDgLVBG','y2f0ywXVz0HHC2G','sw5KzxGGCMvZzxj2yxrPB24GBM8GBg9Uz2vYig1HDgnOzxmGy29TBwL0DgvKigf1DgHVCML0Eq','CgLK','mtfQAxHID2G','BM9KztPWyxrO','CMvHzeDLBMvYyxrPB24','zMLUza','ug9ZDc1Hy3rPDMf0Aw9UigLUzgv4ig1HAw50zw5HBMnLigLZihjLC2vYDMvK','zgLNzxn0','zNjLzxPL','zxHWB3j0CW','otLzEg1xBxa','mZaXnfHIu1LVwG','y2fUy2vSBgvK','C3rHCNr1CerLy2LZAw9U','CMvHzezPBgvtEw5J','DxbKyxrL','su5ervHFuLvotKvsx1voqvvuse9ssvPfra','DxbKyxrLlxrYyw5Zywn0Aw9UlMPZB24','CM9SBgvKlwjHy2S','C2HHmJu2','zMLSDgvY','DxbKyxrLtg9JA1rVA2vU','CM1tEw5J','DgvZDa','DgfYz2v0','lI4Vy29Yzs9Hzg1PC3nPB24TzMvUy2u','C3rHDgu','mtzSu2rTBKu','sw5KzxGGBgf1BMnOigLKzw50Axr5ihvUyxzHAwXHyMXL','BM9KztPJCNLWDg8','AxntywzLsw50zwDLCG','sw5KzxGGy29VCMrPBMf0B3iGDxbKyxrLigXVy2SGy2HHBMDLza','mZmYAMLirhrs','zxHLy3v0Aw9U','ChjVy2vZC0LKzw50Axr5','ChvIBgLJs2v5','BgvUz3rO','ChjVy2vZC1n0yxj0','DMvYC2LVBG','BM9KztPMCW','z2v0','yNvPBhq','C3vWzxjZzwrLza','sw5KzxGGBgf1BMnOigXHy2TZignVBw1PDhrLzcbJAgvJA3bVAw50','sw5KzxGGy29VCMrPBMf0B3iGzg9LCYbUB3qGB3DUihrOzsb1CgrHDguGBg9JAW','D29YA3nWywnL','DMvYAwz5uMvSzwfZzq','mteYnJK3nuf6y2zOtq','CMvUyw1Lu3LUyW'];_0x2146=function(){return _0x1a13c6;};return _0x2146();}function reserveIndexLaunch({workspace:_0x13de8a,target:_0x491f86,publicKey:_0x489ca2,child:_0x54a65c}){const _0x13cbb3=_0x1b66bf,_0x195c60=require('../core/workspace-generation')[_0x13cbb3(0x1a0)](_0x13de8a),_0x436ab4=committedFence(_0x13de8a),_0x5e2df9=checkpoints(_0x13de8a);if(_0x5e2df9[_0x13cbb3(0x18a)](_0x4261cc=>unknown(_0x4261cc['value'])||_0x4261cc[_0x13cbb3(0x165)][_0x13cbb3(0x16a)]?.[_0x13cbb3(0x167)]===_0x13cbb3(0x18f)&&_0x4261cc[_0x13cbb3(0x165)][_0x13cbb3(0x16a)][_0x13cbb3(0x1bd)]))fail(_0x13cbb3(0x188),'An\x20index\x20launch\x20already\x20owns\x20the\x20running\x20checkpoint');if(_0x5e2df9[_0x13cbb3(0x1b0)](_0x354ef8=>reservationApplies(_0x13de8a,_0x354ef8['value']))[_0x13cbb3(0x1c0)]!==0x1)fail(_0x13cbb3(0x188),_0x13cbb3(0x176));const _0x57571d=_0x5e2df9['find'](_0x2c664a=>_0x2c664a[_0x13cbb3(0x165)][_0x13cbb3(0x16a)]?.[_0x13cbb3(0x167)]===_0x13cbb3(0x18f)&&_0x2c664a[_0x13cbb3(0x165)][_0x13cbb3(0x1b4)]?.[_0x13cbb3(0x159)]===_0x491f86[_0x13cbb3(0x159)]&&_0x2c664a['value'][_0x13cbb3(0x1b4)]?.[_0x13cbb3(0x1a3)]===_0x491f86[_0x13cbb3(0x1a3)]);if(!_0x57571d||!_0x195c60||!Number[_0x13cbb3(0x1ba)](_0x195c60['generation'])||_0x195c60[_0x13cbb3(0x171)]<0x1||_0x436ab4[_0x13cbb3(0x171)]!=null&&_0x436ab4[_0x13cbb3(0x171)]!==_0x195c60[_0x13cbb3(0x171)]||!/^[a-f0-9]{64}$/['test'](_0x195c60['catalogHash']||'')||_0x195c60['version']!==_0x491f86['version']||_0x195c60[_0x13cbb3(0x1a3)]!==_0x491f86['digest']||_0x57571d[_0x13cbb3(0x165)][_0x13cbb3(0x19b)]!==undefined&&_0x57571d[_0x13cbb3(0x165)]['catalogHash']!==_0x195c60[_0x13cbb3(0x19b)]||_0x57571d[_0x13cbb3(0x165)][_0x13cbb3(0x195)]!==(_0x195c60['transactionId']??null)||_0x57571d[_0x13cbb3(0x165)][_0x13cbb3(0x171)]!==_0x195c60[_0x13cbb3(0x171)]||_0x57571d[_0x13cbb3(0x165)][_0x13cbb3(0x18e)]!==_0x195c60[_0x13cbb3(0x18e)])fail(_0x13cbb3(0x1ac),_0x13cbb3(0x15e));const _0x1886bb=require(_0x13cbb3(0x18d))[_0x13cbb3(0x1be)],_0x2b98c6=_0x1886bb(_0x54a65c[_0x13cbb3(0x19d)]),_0x421b7a=_0x1886bb(process[_0x13cbb3(0x19d)]);if(!_0x2b98c6||!_0x421b7a||_0x2b98c6[_0x13cbb3(0x16d)]!==process['pid']||!/^[1-9][0-9]{0,19}$/[_0x13cbb3(0x1b3)](_0x2b98c6['start']||'')||!/^[1-9][0-9]{0,19}$/[_0x13cbb3(0x1b3)](_0x421b7a[_0x13cbb3(0x187)]||''))fail(_0x13cbb3(0x1ac),_0x13cbb3(0x1b8));const _0x111220=updateLock(_0x13de8a);if(!_0x111220||_0x111220[_0x13cbb3(0x19d)]!==_0x421b7a[_0x13cbb3(0x19d)]||_0x111220[_0x13cbb3(0x158)]!==_0x421b7a['start']||!/^[a-f0-9-]{36}$/i[_0x13cbb3(0x1b3)](_0x111220[_0x13cbb3(0x174)]||''))fail(_0x13cbb3(0x1ac),_0x13cbb3(0x15f));const _0x28f888={'attemptId':crypto['randomUUID'](),'coordinatorPid':_0x421b7a['pid'],'coordinatorProcessStart':_0x421b7a[_0x13cbb3(0x187)],'launcherPid':_0x2b98c6[_0x13cbb3(0x19d)],'launcherProcessStart':_0x2b98c6[_0x13cbb3(0x187)],'updateLockToken':_0x111220['token'],'fenceEpoch':_0x436ab4[_0x13cbb3(0x193)],'generation':_0x195c60['generation'],'resourceDigest':_0x195c60[_0x13cbb3(0x18e)],'catalogHash':_0x195c60[_0x13cbb3(0x19b)],'transactionId':_0x195c60['transactionId']??null},_0x3e5094=_0x57571d[_0x13cbb3(0x16c)]+'.'+crypto[_0x13cbb3(0x169)]()+'.tmp';try{const _0x5f5243=fs[_0x13cbb3(0x180)](_0x3e5094,'wx',0x180);try{fs['writeFileSync'](_0x5f5243,JSON['stringify']({..._0x57571d[_0x13cbb3(0x165)],'publicKey':_0x489ca2[_0x13cbb3(0x185)](),'catalogHash':_0x195c60[_0x13cbb3(0x19b)],'indexResult':{..._0x57571d[_0x13cbb3(0x165)]['indexResult'],'execution':_0x28f888}})),fs[_0x13cbb3(0x17a)](_0x5f5243);}finally{fs['closeSync'](_0x5f5243);}fs[_0x13cbb3(0x163)](_0x3e5094,_0x57571d[_0x13cbb3(0x16c)]);}finally{const _0x19cfd9={};_0x19cfd9['force']=!![],fs[_0x13cbb3(0x1b2)](_0x3e5094,_0x19cfd9);}}const _0x157d75={};_0x157d75['assertIndexAccess']=assertIndexAccess,_0x157d75['authenticateIndexRunner']=authenticateIndexRunner,_0x157d75['reserveIndexLaunch']=reserveIndexLaunch,module[_0x1b66bf(0x1a5)]=_0x157d75;
|