pandora-cli-skills 1.1.134 → 1.1.136
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 +0 -4
- package/benchmarks/latest/core-bundle.json +49 -49
- package/benchmarks/latest/core-history.json +19 -19
- package/benchmarks/latest/core-report.json +29 -29
- package/benchmarks/locks/core.lock.json +27 -27
- package/cli/lib/agent_command_service.cjs +11 -2
- package/cli/lib/agent_contract_registry.cjs +6 -8
- package/cli/lib/bridge_command_service.cjs +87 -13
- package/cli/lib/capabilities_command_service.cjs +1 -1
- package/cli/lib/command_router.cjs +3 -2
- package/cli/lib/dashboard_fund_service.cjs +13 -3
- package/cli/lib/doctor_service.cjs +22 -1
- package/cli/lib/lifecycle_command_service.cjs +12 -1
- package/cli/lib/lp_command_service.cjs +1 -2
- package/cli/lib/mcp_server_service.cjs +1 -17
- package/cli/lib/mcp_tool_registry.cjs +47 -36
- package/cli/lib/mirror_deploy_guard_store.cjs +17 -6
- package/cli/lib/mirror_handlers/status.cjs +2 -2
- package/cli/lib/mirror_handlers/sync.cjs +2 -2
- package/cli/lib/mirror_hedge_daemon_service.cjs +19 -6
- package/cli/lib/mirror_hedge_service.cjs +1 -1
- package/cli/lib/mirror_manifest_store.cjs +22 -18
- package/cli/lib/mirror_service.cjs +7 -8
- package/cli/lib/mirror_sizing_service.cjs +1 -0
- package/cli/lib/mirror_state_store.cjs +0 -4
- package/cli/lib/mirror_surface_service.cjs +1 -1
- package/cli/lib/mirror_sync/execution.cjs +1 -1
- package/cli/lib/parsers/markets_mine_flags.cjs +5 -2
- package/cli/lib/parsers/polymarket_flags.cjs +0 -12
- package/cli/lib/polymarket_adapter.cjs +2 -3
- package/cli/lib/polymarket_command_service.cjs +7 -39
- package/cli/lib/polymarket_ops_service.cjs +51 -115
- package/cli/lib/polymarket_trade_adapter.cjs +43 -173
- package/cli/lib/recipe_runtime_service.cjs +28 -7
- package/cli/lib/setup_command_service.cjs +25 -0
- package/cli/lib/simulate_command_service.cjs +9 -1
- package/cli/lib/sports_command_service.cjs +12 -13
- package/cli/lib/sports_sync_service.cjs +15 -57
- package/cli/lib/stream_command_service.cjs +22 -11
- package/cli/pandora.cjs +2 -2
- package/docs/benchmarks/history.json +19 -19
- package/docs/proving-ground/README.md +106 -0
- package/docs/proving-ground/autoresearch/oracle-review-packet.md +324 -0
- package/docs/proving-ground/autoresearch/overnight-research-module.md +1275 -0
- package/docs/proving-ground/oracle-review-packet.md +324 -0
- package/docs/proving-ground/overnight-research-module.md +1275 -0
- package/docs/skills/capabilities.md +1 -1
- package/docs/skills/command-reference.md +5 -5
- package/docs/skills/mirror-operations.md +3 -3
- package/docs/skills/portfolio-closeout.md +1 -1
- package/docs/skills/setup-and-onboarding.md +1 -3
- package/package.json +10 -3
- package/proving-ground/README.md +122 -0
- package/proving-ground/lib/baton_common.cjs +261 -0
- package/proving-ground/lib/baton_worktree_manager.cjs +180 -0
- package/proving-ground/lib/minimax_client.cjs +349 -0
- package/proving-ground/lib/overnight_adapter.cjs +338 -0
- package/proving-ground/lib/overnight_audit_gate.cjs +270 -0
- package/proving-ground/lib/overnight_compiler.cjs +303 -0
- package/proving-ground/lib/overnight_engine.cjs +2761 -0
- package/proving-ground/lib/overnight_manifest.cjs +185 -0
- package/proving-ground/lib/overnight_objective.cjs +77 -0
- package/proving-ground/lib/overnight_patch_engine.cjs +362 -0
- package/proving-ground/lib/overnight_staged.cjs +790 -0
- package/proving-ground/lib/overnight_targets.cjs +436 -0
- package/proving-ground/lib/overnight_yaml.cjs +33 -0
- package/scripts/.env.example +0 -4
- package/scripts/run_overnight_engine.cjs +203 -0
- package/sdk/generated/command-descriptors.json +6 -16
- package/sdk/generated/contract-registry.json +73 -98
- package/sdk/generated/manifest.json +12 -9
- package/sdk/generated/mcp-tool-definitions.json +10 -20
- package/sdk/python/pandora_agent/generated/manifest.json +9 -7
- package/sdk/typescript/generated/manifest.json +9 -7
- package/cli/lib/polymarket_clob_client.cjs +0 -53
package/README.md
CHANGED
|
@@ -60,10 +60,6 @@ npx pandora setup --interactive --goal live-mirror
|
|
|
60
60
|
|
|
61
61
|
Use `setup --interactive` when you want Pandora to walk you through private key management, Polymarket initialization, optional hosting inputs, and provider setup. Use `setup` without `--interactive` when you want the manual `init-env` plus `doctor` flow instead.
|
|
62
62
|
|
|
63
|
-
### Polymarket V2 Migration
|
|
64
|
-
|
|
65
|
-
Polymarket upgrades its exchange on April 28, 2026 around 11:00 UTC. During that window, live CLOB trading can pause for about an hour and open Polymarket orders are cleared. Pandora live hedge/trade operators should use the V2 CLOB client, pUSD collateral, and fresh post-cutover position reads before resuming live execution.
|
|
66
|
-
|
|
67
63
|
## Start Here
|
|
68
64
|
|
|
69
65
|
If you want the main documentation map, use these jump points:
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
{
|
|
2
2
|
"schemaVersion": "1.0.0",
|
|
3
3
|
"suite": "core",
|
|
4
|
-
"generatedAt": "2026-04-
|
|
4
|
+
"generatedAt": "2026-04-29T21:37:23.833Z",
|
|
5
5
|
"package": {
|
|
6
6
|
"name": "pandora-cli-skills",
|
|
7
|
-
"version": "1.1.
|
|
7
|
+
"version": "1.1.136"
|
|
8
8
|
},
|
|
9
9
|
"assets": {
|
|
10
10
|
"reportPath": "benchmarks/latest/core-report.json",
|
|
11
11
|
"lockPath": "benchmarks/locks/core.lock.json",
|
|
12
12
|
"historyPath": "benchmarks/latest/core-history.json",
|
|
13
13
|
"docsHistoryPath": "docs/benchmarks/history.json",
|
|
14
|
-
"reportSha256": "
|
|
15
|
-
"lockSha256": "
|
|
14
|
+
"reportSha256": "2418e0131ea75d53473882d2fc420de9cfc784aa40742a47ff273a342e5f9f0a",
|
|
15
|
+
"lockSha256": "5153186403271c17ee57915ddb8b2f62af69b64d7a4bff920d12400349af6d34"
|
|
16
16
|
},
|
|
17
17
|
"latest": {
|
|
18
18
|
"summary": {
|
|
@@ -144,75 +144,75 @@
|
|
|
144
144
|
]
|
|
145
145
|
},
|
|
146
146
|
"runtime": {
|
|
147
|
-
"packageVersion": "1.1.
|
|
147
|
+
"packageVersion": "1.1.136"
|
|
148
148
|
},
|
|
149
149
|
"contractLock": {
|
|
150
|
-
"capabilitiesLocalHash": "
|
|
151
|
-
"capabilitiesRemoteTemplateHash": "
|
|
150
|
+
"capabilitiesLocalHash": "cb4a0fe53d4990ee6dd9a12b517e6c430cfd282586ab8a5a12387acc571b92ce",
|
|
151
|
+
"capabilitiesRemoteTemplateHash": "07a1885c2485ed6141e7de4d4402d7f77238425116794be71a88e8a498791173",
|
|
152
152
|
"commandDescriptorVersion": "1.4.3",
|
|
153
|
-
"documentationContentHash": "
|
|
154
|
-
"documentationRegistryHash": "
|
|
153
|
+
"documentationContentHash": "cb130209bc40f5bdb9fccbd55ad07b6ec1fefbc95ab0d11fe6d50ef8eb6fa566",
|
|
154
|
+
"documentationRegistryHash": "eebe2a201c559e44b45d1a780713f6b302f56726a03a4a57538fcf6762530826",
|
|
155
155
|
"generatedArtifactHashes": {
|
|
156
|
-
"generatedCommandDescriptors": "
|
|
157
|
-
"generatedContractRegistry": "
|
|
158
|
-
"generatedManifest": "
|
|
159
|
-
"generatedMcpToolDefinitions": "
|
|
160
|
-
"pyCommandDescriptors": "
|
|
161
|
-
"pyContractRegistry": "
|
|
162
|
-
"pyManifest": "
|
|
163
|
-
"pyMcpToolDefinitions": "
|
|
164
|
-
"tsCommandDescriptors": "
|
|
165
|
-
"tsContractRegistry": "
|
|
166
|
-
"tsManifest": "
|
|
167
|
-
"tsMcpToolDefinitions": "
|
|
156
|
+
"generatedCommandDescriptors": "66e35110c1ed373ef1889649fb929a96a7f25bc8c535e29817dd89ff14664402",
|
|
157
|
+
"generatedContractRegistry": "13ed168fc529ec9117259a4007a214e02d766b6e284fa06234ed575ebbd3794e",
|
|
158
|
+
"generatedManifest": "4baa151b836082d40b814bd7b0202c547c3515e0bdf0356ec8aeb5a51d47dc24",
|
|
159
|
+
"generatedMcpToolDefinitions": "6dc62098f1c71b3816d75115ab5e31734484d9bc19ecff0bce32e7ab50fc00d6",
|
|
160
|
+
"pyCommandDescriptors": "66e35110c1ed373ef1889649fb929a96a7f25bc8c535e29817dd89ff14664402",
|
|
161
|
+
"pyContractRegistry": "13ed168fc529ec9117259a4007a214e02d766b6e284fa06234ed575ebbd3794e",
|
|
162
|
+
"pyManifest": "1b732e58e27efe9a48496d178ad11ceefe0f33ce3fde16a74d37661b86a18dfa",
|
|
163
|
+
"pyMcpToolDefinitions": "6dc62098f1c71b3816d75115ab5e31734484d9bc19ecff0bce32e7ab50fc00d6",
|
|
164
|
+
"tsCommandDescriptors": "66e35110c1ed373ef1889649fb929a96a7f25bc8c535e29817dd89ff14664402",
|
|
165
|
+
"tsContractRegistry": "13ed168fc529ec9117259a4007a214e02d766b6e284fa06234ed575ebbd3794e",
|
|
166
|
+
"tsManifest": "d5eb87f8e0be19165039b063ba08b712b9c8333e09220f3109cbe08adc6122d1",
|
|
167
|
+
"tsMcpToolDefinitions": "6dc62098f1c71b3816d75115ab5e31734484d9bc19ecff0bce32e7ab50fc00d6"
|
|
168
168
|
},
|
|
169
169
|
"generatedManifestCommandDescriptorVersion": "1.4.3",
|
|
170
170
|
"generatedManifestPackageVersion": "0.1.0-alpha.21",
|
|
171
171
|
"generatedManifestRegistryDigest": {
|
|
172
172
|
"canonicalHash": "cce2ede8f658d43e0807f7f194e28fc356085e00fc70d99d27ecbd674be14a9f",
|
|
173
173
|
"commandDigestHash": "85f685455fdf85b757674a3086eb03354a628f22ada1a25afee0fd86b14b92c7",
|
|
174
|
-
"descriptorHash": "
|
|
175
|
-
"documentationHash": "
|
|
176
|
-
"fullDescriptorHash": "
|
|
174
|
+
"descriptorHash": "c02818f73bd310ef0cc2a3aae6d0d97627b7adb8d72e8bcc994e20d0bca205b8",
|
|
175
|
+
"documentationHash": "eebe2a201c559e44b45d1a780713f6b302f56726a03a4a57538fcf6762530826",
|
|
176
|
+
"fullDescriptorHash": "6514e5d14a7dec875f9ccd03901f826695ed8e1630501e28c12d9720881d9bee",
|
|
177
177
|
"namespaceHash": "cd39afc4f4e8b76473a4768c07d979c44e0421973786c54e12bb6d7888f5952a",
|
|
178
178
|
"policyProfilesHash": "9fb054a4f29be73c2ebf33f643bc17d904b2872dd8e7d564a690db828071a7ce",
|
|
179
179
|
"principalTemplatesHash": "525835bb3c4710fa326e662e8a961e74de1798f4fb1bccb2a00be557ed037740",
|
|
180
180
|
"routedTopLevelHash": "02e98ac94f1eadbeded065bef652f8a917f108a8a08726ad7163503cc1b3384d",
|
|
181
181
|
"topLevelHash": "04e58344eaec2c14dfa336b13eff952a584c7c5355d90775c3bc8336ab0752ee",
|
|
182
|
-
"trustDistributionHash": "
|
|
182
|
+
"trustDistributionHash": "08ef970ad67daa4d6562691806036f7c330c2f9644152303d6e33e8b445c4a14"
|
|
183
183
|
},
|
|
184
184
|
"generatedManifestVersion": "1.0.0",
|
|
185
185
|
"registryDigest": {
|
|
186
186
|
"canonicalHash": "cce2ede8f658d43e0807f7f194e28fc356085e00fc70d99d27ecbd674be14a9f",
|
|
187
187
|
"commandDigestHash": "85f685455fdf85b757674a3086eb03354a628f22ada1a25afee0fd86b14b92c7",
|
|
188
|
-
"descriptorHash": "
|
|
189
|
-
"documentationHash": "
|
|
190
|
-
"fullDescriptorHash": "
|
|
188
|
+
"descriptorHash": "c02818f73bd310ef0cc2a3aae6d0d97627b7adb8d72e8bcc994e20d0bca205b8",
|
|
189
|
+
"documentationHash": "eebe2a201c559e44b45d1a780713f6b302f56726a03a4a57538fcf6762530826",
|
|
190
|
+
"fullDescriptorHash": "6514e5d14a7dec875f9ccd03901f826695ed8e1630501e28c12d9720881d9bee",
|
|
191
191
|
"namespaceHash": "cd39afc4f4e8b76473a4768c07d979c44e0421973786c54e12bb6d7888f5952a",
|
|
192
192
|
"policyProfilesHash": "9fb054a4f29be73c2ebf33f643bc17d904b2872dd8e7d564a690db828071a7ce",
|
|
193
193
|
"principalTemplatesHash": "525835bb3c4710fa326e662e8a961e74de1798f4fb1bccb2a00be557ed037740",
|
|
194
194
|
"routedTopLevelHash": "02e98ac94f1eadbeded065bef652f8a917f108a8a08726ad7163503cc1b3384d",
|
|
195
195
|
"topLevelHash": "04e58344eaec2c14dfa336b13eff952a584c7c5355d90775c3bc8336ab0752ee",
|
|
196
|
-
"trustDistributionHash": "
|
|
196
|
+
"trustDistributionHash": "08ef970ad67daa4d6562691806036f7c330c2f9644152303d6e33e8b445c4a14"
|
|
197
197
|
},
|
|
198
|
-
"schemaHash": "
|
|
198
|
+
"schemaHash": "12cce4c803c08d1dcc47df3538651a6d570271eb971fece80b94c217c5ed30f7"
|
|
199
199
|
},
|
|
200
200
|
"contractLockMatchesExpected": true
|
|
201
201
|
},
|
|
202
202
|
"history": {
|
|
203
203
|
"schemaVersion": "1.0.0",
|
|
204
204
|
"suite": "core",
|
|
205
|
-
"generatedAt": "2026-04-
|
|
206
|
-
"latestVersion": "1.1.
|
|
207
|
-
"latestGeneratedAt": "2026-04-
|
|
205
|
+
"generatedAt": "2026-04-29T21:37:23.833Z",
|
|
206
|
+
"latestVersion": "1.1.136",
|
|
207
|
+
"latestGeneratedAt": "2026-04-29T21:37:23.833Z",
|
|
208
208
|
"entries": [
|
|
209
209
|
{
|
|
210
210
|
"schemaVersion": "1.0.0",
|
|
211
211
|
"suite": "core",
|
|
212
212
|
"packageName": "pandora-cli-skills",
|
|
213
|
-
"version": "1.1.
|
|
214
|
-
"packageVersion": "1.1.
|
|
215
|
-
"generatedAt": "2026-04-
|
|
213
|
+
"version": "1.1.136",
|
|
214
|
+
"packageVersion": "1.1.136",
|
|
215
|
+
"generatedAt": "2026-04-29T21:37:23.833Z",
|
|
216
216
|
"summary": {
|
|
217
217
|
"weightedScore": 100,
|
|
218
218
|
"overallPass": true,
|
|
@@ -229,19 +229,19 @@
|
|
|
229
229
|
"failedParityGroupCount": 0,
|
|
230
230
|
"contractLockMatchesExpected": true,
|
|
231
231
|
"parityFailedGroups": [],
|
|
232
|
-
"descriptorHash": "
|
|
233
|
-
"documentationContentHash": "
|
|
234
|
-
"reportSha256": "
|
|
235
|
-
"lockSha256": "
|
|
232
|
+
"descriptorHash": "c02818f73bd310ef0cc2a3aae6d0d97627b7adb8d72e8bcc994e20d0bca205b8",
|
|
233
|
+
"documentationContentHash": "cb130209bc40f5bdb9fccbd55ad07b6ec1fefbc95ab0d11fe6d50ef8eb6fa566",
|
|
234
|
+
"reportSha256": "2418e0131ea75d53473882d2fc420de9cfc784aa40742a47ff273a342e5f9f0a",
|
|
235
|
+
"lockSha256": "5153186403271c17ee57915ddb8b2f62af69b64d7a4bff920d12400349af6d34",
|
|
236
236
|
"lockSchemaVersion": "1.0.0"
|
|
237
237
|
},
|
|
238
238
|
{
|
|
239
239
|
"schemaVersion": "1.0.0",
|
|
240
240
|
"suite": "core",
|
|
241
241
|
"packageName": "pandora-cli-skills",
|
|
242
|
-
"version": "1.1.
|
|
243
|
-
"packageVersion": "1.1.
|
|
244
|
-
"generatedAt": "2026-04-
|
|
242
|
+
"version": "1.1.132",
|
|
243
|
+
"packageVersion": "1.1.132",
|
|
244
|
+
"generatedAt": "2026-04-09T20:49:09.765Z",
|
|
245
245
|
"summary": {
|
|
246
246
|
"weightedScore": 100,
|
|
247
247
|
"overallPass": true,
|
|
@@ -258,10 +258,10 @@
|
|
|
258
258
|
"failedParityGroupCount": 0,
|
|
259
259
|
"contractLockMatchesExpected": true,
|
|
260
260
|
"parityFailedGroups": [],
|
|
261
|
-
"descriptorHash": "
|
|
262
|
-
"documentationContentHash": "
|
|
263
|
-
"reportSha256": "
|
|
264
|
-
"lockSha256": "
|
|
261
|
+
"descriptorHash": "c02818f73bd310ef0cc2a3aae6d0d97627b7adb8d72e8bcc994e20d0bca205b8",
|
|
262
|
+
"documentationContentHash": "cb130209bc40f5bdb9fccbd55ad07b6ec1fefbc95ab0d11fe6d50ef8eb6fa566",
|
|
263
|
+
"reportSha256": "b603505ba2f2f491b3c36538347b2b1723c906c8edb0c4a7264eb103f7a905d6",
|
|
264
|
+
"lockSha256": "26abebd8e68a39bea94e19031619dd570ee9aa43af8cb8030dc1da079373a11a",
|
|
265
265
|
"lockSchemaVersion": "1.0.0"
|
|
266
266
|
},
|
|
267
267
|
{
|
|
@@ -347,8 +347,8 @@
|
|
|
347
347
|
"parityFailedGroups": [],
|
|
348
348
|
"descriptorHash": "664970d781e477a11a683bc265cbd7fc8b0cf9576b50da49ab301b773e38b47d",
|
|
349
349
|
"documentationContentHash": "cb130209bc40f5bdb9fccbd55ad07b6ec1fefbc95ab0d11fe6d50ef8eb6fa566",
|
|
350
|
-
"reportSha256": "
|
|
351
|
-
"lockSha256": "
|
|
350
|
+
"reportSha256": "3a19c9093823577e718eedcb3fbcb3623ecdfa6d4d5c6b378e1baf9017ad6225",
|
|
351
|
+
"lockSha256": "c99f3161e2cb35c8597af1eac16aa3d9fb2af4ea9b26960b1d47e8992e7865bb",
|
|
352
352
|
"lockSchemaVersion": "1.0.0"
|
|
353
353
|
},
|
|
354
354
|
{
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
{
|
|
2
2
|
"schemaVersion": "1.0.0",
|
|
3
3
|
"suite": "core",
|
|
4
|
-
"generatedAt": "2026-04-
|
|
5
|
-
"latestVersion": "1.1.
|
|
6
|
-
"latestGeneratedAt": "2026-04-
|
|
4
|
+
"generatedAt": "2026-04-29T21:37:23.833Z",
|
|
5
|
+
"latestVersion": "1.1.136",
|
|
6
|
+
"latestGeneratedAt": "2026-04-29T21:37:23.833Z",
|
|
7
7
|
"entries": [
|
|
8
8
|
{
|
|
9
9
|
"schemaVersion": "1.0.0",
|
|
10
10
|
"suite": "core",
|
|
11
11
|
"packageName": "pandora-cli-skills",
|
|
12
|
-
"version": "1.1.
|
|
13
|
-
"packageVersion": "1.1.
|
|
14
|
-
"generatedAt": "2026-04-
|
|
12
|
+
"version": "1.1.136",
|
|
13
|
+
"packageVersion": "1.1.136",
|
|
14
|
+
"generatedAt": "2026-04-29T21:37:23.833Z",
|
|
15
15
|
"summary": {
|
|
16
16
|
"weightedScore": 100,
|
|
17
17
|
"overallPass": true,
|
|
@@ -28,19 +28,19 @@
|
|
|
28
28
|
"failedParityGroupCount": 0,
|
|
29
29
|
"contractLockMatchesExpected": true,
|
|
30
30
|
"parityFailedGroups": [],
|
|
31
|
-
"descriptorHash": "
|
|
32
|
-
"documentationContentHash": "
|
|
33
|
-
"reportSha256": "
|
|
34
|
-
"lockSha256": "
|
|
31
|
+
"descriptorHash": "c02818f73bd310ef0cc2a3aae6d0d97627b7adb8d72e8bcc994e20d0bca205b8",
|
|
32
|
+
"documentationContentHash": "cb130209bc40f5bdb9fccbd55ad07b6ec1fefbc95ab0d11fe6d50ef8eb6fa566",
|
|
33
|
+
"reportSha256": "2418e0131ea75d53473882d2fc420de9cfc784aa40742a47ff273a342e5f9f0a",
|
|
34
|
+
"lockSha256": "5153186403271c17ee57915ddb8b2f62af69b64d7a4bff920d12400349af6d34",
|
|
35
35
|
"lockSchemaVersion": "1.0.0"
|
|
36
36
|
},
|
|
37
37
|
{
|
|
38
38
|
"schemaVersion": "1.0.0",
|
|
39
39
|
"suite": "core",
|
|
40
40
|
"packageName": "pandora-cli-skills",
|
|
41
|
-
"version": "1.1.
|
|
42
|
-
"packageVersion": "1.1.
|
|
43
|
-
"generatedAt": "2026-04-
|
|
41
|
+
"version": "1.1.132",
|
|
42
|
+
"packageVersion": "1.1.132",
|
|
43
|
+
"generatedAt": "2026-04-09T20:49:09.765Z",
|
|
44
44
|
"summary": {
|
|
45
45
|
"weightedScore": 100,
|
|
46
46
|
"overallPass": true,
|
|
@@ -57,10 +57,10 @@
|
|
|
57
57
|
"failedParityGroupCount": 0,
|
|
58
58
|
"contractLockMatchesExpected": true,
|
|
59
59
|
"parityFailedGroups": [],
|
|
60
|
-
"descriptorHash": "
|
|
61
|
-
"documentationContentHash": "
|
|
62
|
-
"reportSha256": "
|
|
63
|
-
"lockSha256": "
|
|
60
|
+
"descriptorHash": "c02818f73bd310ef0cc2a3aae6d0d97627b7adb8d72e8bcc994e20d0bca205b8",
|
|
61
|
+
"documentationContentHash": "cb130209bc40f5bdb9fccbd55ad07b6ec1fefbc95ab0d11fe6d50ef8eb6fa566",
|
|
62
|
+
"reportSha256": "b603505ba2f2f491b3c36538347b2b1723c906c8edb0c4a7264eb103f7a905d6",
|
|
63
|
+
"lockSha256": "26abebd8e68a39bea94e19031619dd570ee9aa43af8cb8030dc1da079373a11a",
|
|
64
64
|
"lockSchemaVersion": "1.0.0"
|
|
65
65
|
},
|
|
66
66
|
{
|
|
@@ -146,8 +146,8 @@
|
|
|
146
146
|
"parityFailedGroups": [],
|
|
147
147
|
"descriptorHash": "664970d781e477a11a683bc265cbd7fc8b0cf9576b50da49ab301b773e38b47d",
|
|
148
148
|
"documentationContentHash": "cb130209bc40f5bdb9fccbd55ad07b6ec1fefbc95ab0d11fe6d50ef8eb6fa566",
|
|
149
|
-
"reportSha256": "
|
|
150
|
-
"lockSha256": "
|
|
149
|
+
"reportSha256": "3a19c9093823577e718eedcb3fbcb3623ecdfa6d4d5c6b378e1baf9017ad6225",
|
|
150
|
+
"lockSha256": "c99f3161e2cb35c8597af1eac16aa3d9fb2af4ea9b26960b1d47e8992e7865bb",
|
|
151
151
|
"lockSchemaVersion": "1.0.0"
|
|
152
152
|
},
|
|
153
153
|
{
|
|
@@ -1,54 +1,54 @@
|
|
|
1
1
|
{
|
|
2
2
|
"contractLock": {
|
|
3
|
-
"capabilitiesLocalHash": "
|
|
4
|
-
"capabilitiesRemoteTemplateHash": "
|
|
3
|
+
"capabilitiesLocalHash": "cb4a0fe53d4990ee6dd9a12b517e6c430cfd282586ab8a5a12387acc571b92ce",
|
|
4
|
+
"capabilitiesRemoteTemplateHash": "07a1885c2485ed6141e7de4d4402d7f77238425116794be71a88e8a498791173",
|
|
5
5
|
"commandDescriptorVersion": "1.4.3",
|
|
6
|
-
"documentationContentHash": "
|
|
7
|
-
"documentationRegistryHash": "
|
|
6
|
+
"documentationContentHash": "cb130209bc40f5bdb9fccbd55ad07b6ec1fefbc95ab0d11fe6d50ef8eb6fa566",
|
|
7
|
+
"documentationRegistryHash": "eebe2a201c559e44b45d1a780713f6b302f56726a03a4a57538fcf6762530826",
|
|
8
8
|
"generatedArtifactHashes": {
|
|
9
|
-
"generatedCommandDescriptors": "
|
|
10
|
-
"generatedContractRegistry": "
|
|
11
|
-
"generatedManifest": "
|
|
12
|
-
"generatedMcpToolDefinitions": "
|
|
13
|
-
"pyCommandDescriptors": "
|
|
14
|
-
"pyContractRegistry": "
|
|
15
|
-
"pyManifest": "
|
|
16
|
-
"pyMcpToolDefinitions": "
|
|
17
|
-
"tsCommandDescriptors": "
|
|
18
|
-
"tsContractRegistry": "
|
|
19
|
-
"tsManifest": "
|
|
20
|
-
"tsMcpToolDefinitions": "
|
|
9
|
+
"generatedCommandDescriptors": "66e35110c1ed373ef1889649fb929a96a7f25bc8c535e29817dd89ff14664402",
|
|
10
|
+
"generatedContractRegistry": "13ed168fc529ec9117259a4007a214e02d766b6e284fa06234ed575ebbd3794e",
|
|
11
|
+
"generatedManifest": "4baa151b836082d40b814bd7b0202c547c3515e0bdf0356ec8aeb5a51d47dc24",
|
|
12
|
+
"generatedMcpToolDefinitions": "6dc62098f1c71b3816d75115ab5e31734484d9bc19ecff0bce32e7ab50fc00d6",
|
|
13
|
+
"pyCommandDescriptors": "66e35110c1ed373ef1889649fb929a96a7f25bc8c535e29817dd89ff14664402",
|
|
14
|
+
"pyContractRegistry": "13ed168fc529ec9117259a4007a214e02d766b6e284fa06234ed575ebbd3794e",
|
|
15
|
+
"pyManifest": "1b732e58e27efe9a48496d178ad11ceefe0f33ce3fde16a74d37661b86a18dfa",
|
|
16
|
+
"pyMcpToolDefinitions": "6dc62098f1c71b3816d75115ab5e31734484d9bc19ecff0bce32e7ab50fc00d6",
|
|
17
|
+
"tsCommandDescriptors": "66e35110c1ed373ef1889649fb929a96a7f25bc8c535e29817dd89ff14664402",
|
|
18
|
+
"tsContractRegistry": "13ed168fc529ec9117259a4007a214e02d766b6e284fa06234ed575ebbd3794e",
|
|
19
|
+
"tsManifest": "d5eb87f8e0be19165039b063ba08b712b9c8333e09220f3109cbe08adc6122d1",
|
|
20
|
+
"tsMcpToolDefinitions": "6dc62098f1c71b3816d75115ab5e31734484d9bc19ecff0bce32e7ab50fc00d6"
|
|
21
21
|
},
|
|
22
22
|
"generatedManifestCommandDescriptorVersion": "1.4.3",
|
|
23
23
|
"generatedManifestPackageVersion": "0.1.0-alpha.21",
|
|
24
24
|
"generatedManifestRegistryDigest": {
|
|
25
25
|
"canonicalHash": "cce2ede8f658d43e0807f7f194e28fc356085e00fc70d99d27ecbd674be14a9f",
|
|
26
26
|
"commandDigestHash": "85f685455fdf85b757674a3086eb03354a628f22ada1a25afee0fd86b14b92c7",
|
|
27
|
-
"descriptorHash": "
|
|
28
|
-
"documentationHash": "
|
|
29
|
-
"fullDescriptorHash": "
|
|
27
|
+
"descriptorHash": "c02818f73bd310ef0cc2a3aae6d0d97627b7adb8d72e8bcc994e20d0bca205b8",
|
|
28
|
+
"documentationHash": "eebe2a201c559e44b45d1a780713f6b302f56726a03a4a57538fcf6762530826",
|
|
29
|
+
"fullDescriptorHash": "6514e5d14a7dec875f9ccd03901f826695ed8e1630501e28c12d9720881d9bee",
|
|
30
30
|
"namespaceHash": "cd39afc4f4e8b76473a4768c07d979c44e0421973786c54e12bb6d7888f5952a",
|
|
31
31
|
"policyProfilesHash": "9fb054a4f29be73c2ebf33f643bc17d904b2872dd8e7d564a690db828071a7ce",
|
|
32
32
|
"principalTemplatesHash": "525835bb3c4710fa326e662e8a961e74de1798f4fb1bccb2a00be557ed037740",
|
|
33
33
|
"routedTopLevelHash": "02e98ac94f1eadbeded065bef652f8a917f108a8a08726ad7163503cc1b3384d",
|
|
34
34
|
"topLevelHash": "04e58344eaec2c14dfa336b13eff952a584c7c5355d90775c3bc8336ab0752ee",
|
|
35
|
-
"trustDistributionHash": "
|
|
35
|
+
"trustDistributionHash": "08ef970ad67daa4d6562691806036f7c330c2f9644152303d6e33e8b445c4a14"
|
|
36
36
|
},
|
|
37
37
|
"generatedManifestVersion": "1.0.0",
|
|
38
38
|
"registryDigest": {
|
|
39
39
|
"canonicalHash": "cce2ede8f658d43e0807f7f194e28fc356085e00fc70d99d27ecbd674be14a9f",
|
|
40
40
|
"commandDigestHash": "85f685455fdf85b757674a3086eb03354a628f22ada1a25afee0fd86b14b92c7",
|
|
41
|
-
"descriptorHash": "
|
|
42
|
-
"documentationHash": "
|
|
43
|
-
"fullDescriptorHash": "
|
|
41
|
+
"descriptorHash": "c02818f73bd310ef0cc2a3aae6d0d97627b7adb8d72e8bcc994e20d0bca205b8",
|
|
42
|
+
"documentationHash": "eebe2a201c559e44b45d1a780713f6b302f56726a03a4a57538fcf6762530826",
|
|
43
|
+
"fullDescriptorHash": "6514e5d14a7dec875f9ccd03901f826695ed8e1630501e28c12d9720881d9bee",
|
|
44
44
|
"namespaceHash": "cd39afc4f4e8b76473a4768c07d979c44e0421973786c54e12bb6d7888f5952a",
|
|
45
45
|
"policyProfilesHash": "9fb054a4f29be73c2ebf33f643bc17d904b2872dd8e7d564a690db828071a7ce",
|
|
46
46
|
"principalTemplatesHash": "525835bb3c4710fa326e662e8a961e74de1798f4fb1bccb2a00be557ed037740",
|
|
47
47
|
"routedTopLevelHash": "02e98ac94f1eadbeded065bef652f8a917f108a8a08726ad7163503cc1b3384d",
|
|
48
48
|
"topLevelHash": "04e58344eaec2c14dfa336b13eff952a584c7c5355d90775c3bc8336ab0752ee",
|
|
49
|
-
"trustDistributionHash": "
|
|
49
|
+
"trustDistributionHash": "08ef970ad67daa4d6562691806036f7c330c2f9644152303d6e33e8b445c4a14"
|
|
50
50
|
},
|
|
51
|
-
"schemaHash": "
|
|
51
|
+
"schemaHash": "12cce4c803c08d1dcc47df3538651a6d570271eb971fece80b94c217c5ed30f7"
|
|
52
52
|
},
|
|
53
53
|
"contractLockMatchesExpected": true,
|
|
54
54
|
"contractLockMismatches": [],
|
|
@@ -284,7 +284,7 @@
|
|
|
284
284
|
]
|
|
285
285
|
},
|
|
286
286
|
"publication": {
|
|
287
|
-
"contractLockHash": "
|
|
287
|
+
"contractLockHash": "f190801be42d3ca5b3358e8ff111171dd304a5aa6196e081ba91469fc0f7a881",
|
|
288
288
|
"contractLockStatus": "locked",
|
|
289
289
|
"deterministic": true,
|
|
290
290
|
"expectedScenarioCount": 19,
|
|
@@ -293,12 +293,12 @@
|
|
|
293
293
|
"minimumWeightedScore": 95,
|
|
294
294
|
"releaseGatePass": true,
|
|
295
295
|
"reportPath": "benchmarks/latest/core-report.json",
|
|
296
|
-
"scorecardHash": "
|
|
297
|
-
"suiteLockHash": "
|
|
296
|
+
"scorecardHash": "ac05411fc7b779e0c73fe6104b13245eafe13e55642795ec751d68a4ad56a63d",
|
|
297
|
+
"suiteLockHash": "5153186403271c17ee57915ddb8b2f62af69b64d7a4bff920d12400349af6d34",
|
|
298
298
|
"suiteLockPath": "benchmarks/locks/core.lock.json"
|
|
299
299
|
},
|
|
300
300
|
"runtime": {
|
|
301
|
-
"packageVersion": "1.1.
|
|
301
|
+
"packageVersion": "1.1.136"
|
|
302
302
|
},
|
|
303
303
|
"scenarios": [
|
|
304
304
|
{
|
|
@@ -1,61 +1,61 @@
|
|
|
1
1
|
{
|
|
2
2
|
"contractLock": {
|
|
3
|
-
"capabilitiesLocalHash": "
|
|
4
|
-
"capabilitiesRemoteTemplateHash": "
|
|
3
|
+
"capabilitiesLocalHash": "cb4a0fe53d4990ee6dd9a12b517e6c430cfd282586ab8a5a12387acc571b92ce",
|
|
4
|
+
"capabilitiesRemoteTemplateHash": "07a1885c2485ed6141e7de4d4402d7f77238425116794be71a88e8a498791173",
|
|
5
5
|
"commandDescriptorVersion": "1.4.3",
|
|
6
|
-
"documentationContentHash": "
|
|
7
|
-
"documentationRegistryHash": "
|
|
6
|
+
"documentationContentHash": "cb130209bc40f5bdb9fccbd55ad07b6ec1fefbc95ab0d11fe6d50ef8eb6fa566",
|
|
7
|
+
"documentationRegistryHash": "eebe2a201c559e44b45d1a780713f6b302f56726a03a4a57538fcf6762530826",
|
|
8
8
|
"generatedArtifactHashes": {
|
|
9
|
-
"generatedCommandDescriptors": "
|
|
10
|
-
"generatedContractRegistry": "
|
|
11
|
-
"generatedManifest": "
|
|
12
|
-
"generatedMcpToolDefinitions": "
|
|
13
|
-
"pyCommandDescriptors": "
|
|
14
|
-
"pyContractRegistry": "
|
|
15
|
-
"pyManifest": "
|
|
16
|
-
"pyMcpToolDefinitions": "
|
|
17
|
-
"tsCommandDescriptors": "
|
|
18
|
-
"tsContractRegistry": "
|
|
19
|
-
"tsManifest": "
|
|
20
|
-
"tsMcpToolDefinitions": "
|
|
9
|
+
"generatedCommandDescriptors": "66e35110c1ed373ef1889649fb929a96a7f25bc8c535e29817dd89ff14664402",
|
|
10
|
+
"generatedContractRegistry": "13ed168fc529ec9117259a4007a214e02d766b6e284fa06234ed575ebbd3794e",
|
|
11
|
+
"generatedManifest": "4baa151b836082d40b814bd7b0202c547c3515e0bdf0356ec8aeb5a51d47dc24",
|
|
12
|
+
"generatedMcpToolDefinitions": "6dc62098f1c71b3816d75115ab5e31734484d9bc19ecff0bce32e7ab50fc00d6",
|
|
13
|
+
"pyCommandDescriptors": "66e35110c1ed373ef1889649fb929a96a7f25bc8c535e29817dd89ff14664402",
|
|
14
|
+
"pyContractRegistry": "13ed168fc529ec9117259a4007a214e02d766b6e284fa06234ed575ebbd3794e",
|
|
15
|
+
"pyManifest": "1b732e58e27efe9a48496d178ad11ceefe0f33ce3fde16a74d37661b86a18dfa",
|
|
16
|
+
"pyMcpToolDefinitions": "6dc62098f1c71b3816d75115ab5e31734484d9bc19ecff0bce32e7ab50fc00d6",
|
|
17
|
+
"tsCommandDescriptors": "66e35110c1ed373ef1889649fb929a96a7f25bc8c535e29817dd89ff14664402",
|
|
18
|
+
"tsContractRegistry": "13ed168fc529ec9117259a4007a214e02d766b6e284fa06234ed575ebbd3794e",
|
|
19
|
+
"tsManifest": "d5eb87f8e0be19165039b063ba08b712b9c8333e09220f3109cbe08adc6122d1",
|
|
20
|
+
"tsMcpToolDefinitions": "6dc62098f1c71b3816d75115ab5e31734484d9bc19ecff0bce32e7ab50fc00d6"
|
|
21
21
|
},
|
|
22
22
|
"generatedManifestCommandDescriptorVersion": "1.4.3",
|
|
23
23
|
"generatedManifestPackageVersion": "0.1.0-alpha.21",
|
|
24
24
|
"generatedManifestRegistryDigest": {
|
|
25
25
|
"canonicalHash": "cce2ede8f658d43e0807f7f194e28fc356085e00fc70d99d27ecbd674be14a9f",
|
|
26
26
|
"commandDigestHash": "85f685455fdf85b757674a3086eb03354a628f22ada1a25afee0fd86b14b92c7",
|
|
27
|
-
"descriptorHash": "
|
|
28
|
-
"documentationHash": "
|
|
29
|
-
"fullDescriptorHash": "
|
|
27
|
+
"descriptorHash": "c02818f73bd310ef0cc2a3aae6d0d97627b7adb8d72e8bcc994e20d0bca205b8",
|
|
28
|
+
"documentationHash": "eebe2a201c559e44b45d1a780713f6b302f56726a03a4a57538fcf6762530826",
|
|
29
|
+
"fullDescriptorHash": "6514e5d14a7dec875f9ccd03901f826695ed8e1630501e28c12d9720881d9bee",
|
|
30
30
|
"namespaceHash": "cd39afc4f4e8b76473a4768c07d979c44e0421973786c54e12bb6d7888f5952a",
|
|
31
31
|
"policyProfilesHash": "9fb054a4f29be73c2ebf33f643bc17d904b2872dd8e7d564a690db828071a7ce",
|
|
32
32
|
"principalTemplatesHash": "525835bb3c4710fa326e662e8a961e74de1798f4fb1bccb2a00be557ed037740",
|
|
33
33
|
"routedTopLevelHash": "02e98ac94f1eadbeded065bef652f8a917f108a8a08726ad7163503cc1b3384d",
|
|
34
34
|
"topLevelHash": "04e58344eaec2c14dfa336b13eff952a584c7c5355d90775c3bc8336ab0752ee",
|
|
35
|
-
"trustDistributionHash": "
|
|
35
|
+
"trustDistributionHash": "08ef970ad67daa4d6562691806036f7c330c2f9644152303d6e33e8b445c4a14"
|
|
36
36
|
},
|
|
37
37
|
"generatedManifestVersion": "1.0.0",
|
|
38
38
|
"registryDigest": {
|
|
39
39
|
"canonicalHash": "cce2ede8f658d43e0807f7f194e28fc356085e00fc70d99d27ecbd674be14a9f",
|
|
40
40
|
"commandDigestHash": "85f685455fdf85b757674a3086eb03354a628f22ada1a25afee0fd86b14b92c7",
|
|
41
|
-
"descriptorHash": "
|
|
42
|
-
"documentationHash": "
|
|
43
|
-
"fullDescriptorHash": "
|
|
41
|
+
"descriptorHash": "c02818f73bd310ef0cc2a3aae6d0d97627b7adb8d72e8bcc994e20d0bca205b8",
|
|
42
|
+
"documentationHash": "eebe2a201c559e44b45d1a780713f6b302f56726a03a4a57538fcf6762530826",
|
|
43
|
+
"fullDescriptorHash": "6514e5d14a7dec875f9ccd03901f826695ed8e1630501e28c12d9720881d9bee",
|
|
44
44
|
"namespaceHash": "cd39afc4f4e8b76473a4768c07d979c44e0421973786c54e12bb6d7888f5952a",
|
|
45
45
|
"policyProfilesHash": "9fb054a4f29be73c2ebf33f643bc17d904b2872dd8e7d564a690db828071a7ce",
|
|
46
46
|
"principalTemplatesHash": "525835bb3c4710fa326e662e8a961e74de1798f4fb1bccb2a00be557ed037740",
|
|
47
47
|
"routedTopLevelHash": "02e98ac94f1eadbeded065bef652f8a917f108a8a08726ad7163503cc1b3384d",
|
|
48
48
|
"topLevelHash": "04e58344eaec2c14dfa336b13eff952a584c7c5355d90775c3bc8336ab0752ee",
|
|
49
|
-
"trustDistributionHash": "
|
|
49
|
+
"trustDistributionHash": "08ef970ad67daa4d6562691806036f7c330c2f9644152303d6e33e8b445c4a14"
|
|
50
50
|
},
|
|
51
|
-
"schemaHash": "
|
|
51
|
+
"schemaHash": "12cce4c803c08d1dcc47df3538651a6d570271eb971fece80b94c217c5ed30f7"
|
|
52
52
|
},
|
|
53
53
|
"publication": {
|
|
54
|
-
"contractLockHash": "
|
|
54
|
+
"contractLockHash": "f190801be42d3ca5b3358e8ff111171dd304a5aa6196e081ba91469fc0f7a881",
|
|
55
55
|
"deterministic": true,
|
|
56
56
|
"grade": "release-grade",
|
|
57
57
|
"kind": "benchmark-contract-lock",
|
|
58
|
-
"lockDocumentHash": "
|
|
58
|
+
"lockDocumentHash": "90642873b77e46b63ee83f3f080648f85b3da9428395dbbff1a465b6107b76e5",
|
|
59
59
|
"suiteLockPath": "benchmarks/locks/core.lock.json"
|
|
60
60
|
},
|
|
61
61
|
"schemaVersion": "1.0.0",
|
|
@@ -14,9 +14,18 @@ function requireDep(deps, name) {
|
|
|
14
14
|
|
|
15
15
|
function readFlagValue(args, index, flagName) {
|
|
16
16
|
const value = args[index + 1];
|
|
17
|
-
if (typeof value !== 'string' || value.startsWith('--')) {
|
|
18
|
-
const
|
|
17
|
+
if (typeof value !== 'string' || !String(value).trim() || value.startsWith('--')) {
|
|
18
|
+
const nextToken = typeof value === 'string' ? value : null;
|
|
19
|
+
const error = new Error(
|
|
20
|
+
nextToken && nextToken.startsWith('--')
|
|
21
|
+
? `${flagName} requires a value before ${nextToken}.`
|
|
22
|
+
: `${flagName} requires a value.`,
|
|
23
|
+
);
|
|
19
24
|
error.code = 'MISSING_FLAG_VALUE';
|
|
25
|
+
error.details = {
|
|
26
|
+
flag: flagName,
|
|
27
|
+
nextToken,
|
|
28
|
+
};
|
|
20
29
|
throw error;
|
|
21
30
|
}
|
|
22
31
|
return value;
|
|
@@ -819,14 +819,14 @@ const commandContracts = [
|
|
|
819
819
|
commandContract({
|
|
820
820
|
name: 'doctor',
|
|
821
821
|
summary: 'Run goal-aware environment and connectivity diagnostics without writing.',
|
|
822
|
-
usage: 'pandora [--output table|json] doctor [--goal <explore|deploy|paper-mirror|live-mirror|hosted-gateway>] [--dotenv-path <path>] [--skip-dotenv] [--check-usdc-code] [--check-polymarket] [--rpc-timeout-ms <ms>]',
|
|
822
|
+
usage: 'pandora [--output table|json] doctor [--goal <explore|deploy|paper-mirror|live-mirror|paper-hedge-daemon|live-hedge-daemon|hosted-gateway>] [--dotenv-path <path>] [--skip-dotenv] [--check-usdc-code] [--check-polymarket] [--rpc-timeout-ms <ms>]',
|
|
823
823
|
emits: ['doctor', 'doctor.help'],
|
|
824
824
|
dataSchema: '#/definitions/DoctorPayload',
|
|
825
825
|
}),
|
|
826
826
|
commandContract({
|
|
827
827
|
name: 'setup',
|
|
828
828
|
summary: 'Run the goal-first onboarding wizard, review redacted changes, then write env files and doctor checks.',
|
|
829
|
-
usage: 'pandora [--output table|json] setup [--interactive] [--plan] [--goal <explore|deploy|paper-mirror|live-mirror|hosted-gateway>] [--force] [--dotenv-path <path>] [--example <path>] [--check-usdc-code] [--check-polymarket] [--rpc-timeout-ms <ms>]',
|
|
829
|
+
usage: 'pandora [--output table|json] setup [--interactive] [--plan] [--goal <explore|deploy|paper-mirror|live-mirror|paper-hedge-daemon|live-hedge-daemon|hosted-gateway>] [--force] [--dotenv-path <path>] [--example <path>] [--check-usdc-code] [--check-polymarket] [--rpc-timeout-ms <ms>]',
|
|
830
830
|
emits: ['setup', 'setup.help'],
|
|
831
831
|
dataSchema: '#/definitions/SetupPayload',
|
|
832
832
|
agentWorkflow: {
|
|
@@ -5060,13 +5060,13 @@ const commandContracts = [
|
|
|
5060
5060
|
name: 'polymarket.preflight',
|
|
5061
5061
|
summary: 'Run strict Polymarket readiness and optional trade-context preflight checks.',
|
|
5062
5062
|
usage:
|
|
5063
|
-
'pandora [--output table|json] polymarket preflight [--condition-id <id>|--slug <slug>|--token-id <id>] [--token yes|no] [--amount-usdc <n>] [--
|
|
5063
|
+
'pandora [--output table|json] polymarket preflight [--condition-id <id>|--slug <slug>|--token-id <id>] [--token yes|no] [--amount-usdc <n>] [--side buy|sell] [--polymarket-host <url>] [--polymarket-mock-url <url>] [--timeout-ms <ms>] [--fork] [--fork-rpc-url <url>] [--fork-chain-id <id>] [--rpc-url <url>] [--private-key <hex>] [--funder <address>]',
|
|
5064
5064
|
emits: ['polymarket.preflight', 'polymarket.preflight.help', 'polymarket.help'],
|
|
5065
5065
|
dataSchema: '#/definitions/PolymarketPayload',
|
|
5066
5066
|
mcpExposed: true,
|
|
5067
5067
|
mcp: {
|
|
5068
5068
|
command: ['polymarket', 'preflight'],
|
|
5069
|
-
description: 'Run strict Polymarket readiness preflight, optionally with trade context. Add condition/slug, token or token-id, side, and amount-usdc when you need a concrete trade go/no-go gate
|
|
5069
|
+
description: 'Run strict Polymarket readiness preflight, optionally with trade context. Add condition/slug, token or token-id, side, and amount-usdc when you need a concrete trade go/no-go gate rather than wallet-only readiness.',
|
|
5070
5070
|
inputSchema: buildInputSchema({
|
|
5071
5071
|
flagProperties: {
|
|
5072
5072
|
'condition-id': stringSchema('Polymarket condition/market id for trade-context preflight.'),
|
|
@@ -5075,7 +5075,6 @@ const commandContracts = [
|
|
|
5075
5075
|
'token-id': stringSchema('Explicit token id for trade-context preflight.'),
|
|
5076
5076
|
side: enumSchema(['buy', 'sell'], 'Trade side for trade-context preflight.'),
|
|
5077
5077
|
'amount-usdc': numberSchema('Trade notional in USDC for trade-context preflight.', { minimum: 0 }),
|
|
5078
|
-
shares: numberSchema('Outcome-token shares for sell trade-context preflight.', { minimum: 0 }),
|
|
5079
5078
|
'polymarket-host': stringSchema('Polymarket host override for market-resolution checks.'),
|
|
5080
5079
|
'polymarket-mock-url': stringSchema('Polymarket mock host override for local/forked trade-context checks.'),
|
|
5081
5080
|
'timeout-ms': commonFlags.timeoutMs,
|
|
@@ -5225,13 +5224,13 @@ const commandContracts = [
|
|
|
5225
5224
|
name: 'polymarket.trade',
|
|
5226
5225
|
summary: 'Dry-run or execute a Polymarket trade.',
|
|
5227
5226
|
usage:
|
|
5228
|
-
'pandora [--output table|json] polymarket trade --condition-id <id>|--slug <slug>|--token-id <id> --token yes|no --amount-usdc <n> --dry-run|--execute [--side buy|sell] [--
|
|
5227
|
+
'pandora [--output table|json] polymarket trade --condition-id <id>|--slug <slug>|--token-id <id> --token yes|no --amount-usdc <n> --dry-run|--execute [--side buy|sell] [--polymarket-host <url>] [--polymarket-mock-url <url>] [--timeout-ms <ms>] [--fork] [--fork-rpc-url <url>] [--fork-chain-id <id>] [--rpc-url <url>] [--private-key <hex>] [--funder <address>]',
|
|
5229
5228
|
emits: ['polymarket.trade', 'polymarket.trade.help', 'polymarket.help'],
|
|
5230
5229
|
dataSchema: '#/definitions/PolymarketPayload',
|
|
5231
5230
|
mcpExposed: true,
|
|
5232
5231
|
mcp: {
|
|
5233
5232
|
command: ['polymarket', 'trade'],
|
|
5234
|
-
description: 'Dry-run or execute Polymarket trade.
|
|
5233
|
+
description: 'Dry-run or execute Polymarket trade.',
|
|
5235
5234
|
inputSchema: buildInputSchema({
|
|
5236
5235
|
includeIntent: true,
|
|
5237
5236
|
flagProperties: {
|
|
@@ -5240,7 +5239,6 @@ const commandContracts = [
|
|
|
5240
5239
|
'token-id': stringSchema('Polymarket token id.'),
|
|
5241
5240
|
token: enumSchema(['yes', 'no'], 'Token/outcome side.'),
|
|
5242
5241
|
'amount-usdc': numberSchema('Trade notional in USDC.', { exclusiveMinimum: 0 }),
|
|
5243
|
-
shares: numberSchema('Outcome-token shares for sell execution.', { exclusiveMinimum: 0 }),
|
|
5244
5242
|
'dry-run': booleanSchema('Run dry-run mode.'),
|
|
5245
5243
|
execute: booleanSchema('Execute live trade.'),
|
|
5246
5244
|
side: enumSchema(['buy', 'sell'], 'Order side.'),
|